/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { "/b2c-organization-info/{organization_slug}/": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Get the list of B2C Commerce instances connected to a specified organization. This allows you to track the integrations between your Managed Runtime targets (environments) and Commerce Cloud. */ get: operations["cc_b2c_organization_info_retrieve"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/projects/{project_slug}/b2c-target-info/{target_slug}/": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description Get the B2C Commerce instance and sites connected to a specified target (environment). This allows you to track the integrations between your Managed Runtime targets and Commerce Cloud. */ get: operations["cc_b2c_target_info_retrieve"]; /** @description Create B2C information for a target. */ put: operations["cc_b2c_target_info_update"]; post?: never; delete?: never; options?: never; head?: never; /** @description Edit a specified target's (environment's) connection to a B2C Commerce instance. If you pass in a list of site IDs, that list replaces the existing sites connected to the target. */ patch: operations["cc_b2c_target_info_partial_update"]; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { APIB2COrgInfo: { /** @description Specifies whether the organization is a B2C customer account. Returns true if the organization is a B2C customer account. Returns false if the organization isn't a B2C customer account. */ is_b2c_customer: boolean; instances: string[]; }; APIB2CTargetInfo: { /** @description ID of the B2C Commerce instance associated with the target */ instance_id: string; sites?: string[] | null; }; PatchedAPIB2CTargetInfo: { /** @description ID of the B2C Commerce instance associated with the target */ instance_id?: string; sites?: string[] | null; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export interface operations { cc_b2c_organization_info_retrieve: { parameters: { query?: never; header?: never; path: { /** @description The organization identifier. */ organization_slug: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["APIB2COrgInfo"]; }; }; }; }; cc_b2c_target_info_retrieve: { parameters: { query?: never; header?: never; path: { /** @description The project identifier. */ project_slug: string; /** @description The target identifier. */ target_slug: string; }; cookie?: never; }; requestBody?: never; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["APIB2CTargetInfo"]; }; }; }; }; cc_b2c_target_info_update: { parameters: { query?: never; header?: never; path: { /** @description The project identifier. */ project_slug: string; /** @description The target identifier. */ target_slug: string; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["APIB2CTargetInfo"]; "application/x-www-form-urlencoded": components["schemas"]["APIB2CTargetInfo"]; "multipart/form-data": components["schemas"]["APIB2CTargetInfo"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["APIB2CTargetInfo"]; }; }; }; }; cc_b2c_target_info_partial_update: { parameters: { query?: never; header?: never; path: { /** @description The project identifier. */ project_slug: string; /** @description The target identifier. */ target_slug: string; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["PatchedAPIB2CTargetInfo"]; "application/x-www-form-urlencoded": components["schemas"]["PatchedAPIB2CTargetInfo"]; "multipart/form-data": components["schemas"]["PatchedAPIB2CTargetInfo"]; }; }; responses: { 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["APIB2CTargetInfo"]; }; }; }; }; }