@shopware/api-client 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * This file is auto-generated. Do not make direct changes to the file.
3
3
  * Instead override it in your shopware.d.ts file.
4
4
  *
5
- * Shopware API version: 6.6.6.0
5
+ * Shopware API version: 6.6.8.0
6
6
  *
7
7
  */
8
8
  type GenericRecord =
@@ -117,6 +117,18 @@ export type Schemas = {
117
117
  /** Format: date-time */
118
118
  readonly updatedAt?: string;
119
119
  };
120
+ Aggregation:
121
+ | components["schemas"]["AggregationMetrics"]
122
+ | (components["schemas"]["AggregationEntity"] &
123
+ components["schemas"]["SubAggregations"])
124
+ | (components["schemas"]["AggregationFilter"] &
125
+ components["schemas"]["SubAggregations"])
126
+ | (components["schemas"]["AggregationTerms"] &
127
+ components["schemas"]["SubAggregations"])
128
+ | (components["schemas"]["AggregationHistogram"] &
129
+ components["schemas"]["SubAggregations"])
130
+ | (components["schemas"]["AggregationRange"] &
131
+ components["schemas"]["SubAggregations"]);
120
132
  AggregationEntity: {
121
133
  /** The entity definition e.g "product_manufacturer". */
122
134
  definition: string;
@@ -206,19 +218,6 @@ export type Schemas = {
206
218
  */
207
219
  type: "terms";
208
220
  };
209
- Aggregations: (
210
- | components["schemas"]["AggregationMetrics"]
211
- | (components["schemas"]["AggregationEntity"] &
212
- components["schemas"]["SubAggregations"])
213
- | (components["schemas"]["AggregationFilter"] &
214
- components["schemas"]["SubAggregations"])
215
- | (components["schemas"]["AggregationTerms"] &
216
- components["schemas"]["SubAggregations"])
217
- | (components["schemas"]["AggregationHistogram"] &
218
- components["schemas"]["SubAggregations"])
219
- | (components["schemas"]["AggregationRange"] &
220
- components["schemas"]["SubAggregations"])
221
- )[];
222
221
  App: {
223
222
  /** Format: date-time */
224
223
  readonly createdAt?: string;
@@ -314,15 +313,18 @@ export type Schemas = {
314
313
  * @default false
315
314
  */
316
315
  canSendRequestEmail?: boolean;
317
- /** The mode of the interaction */
318
- mode?: string;
316
+ /**
317
+ * The mode of the interaction
318
+ * @enum {string}
319
+ */
320
+ mode?: "guided" | "self";
319
321
  /** The name of the sales channel */
320
322
  salesChannelName?: string;
321
323
  /**
322
324
  * The video and audio settings
323
325
  * @enum {string}
324
326
  */
325
- videoAudioSettings?: "none" | "both" | "audio_only";
327
+ videoAudioSettings?: "none" | "both" | "audio-only";
326
328
  };
327
329
  ApprovalRule: {
328
330
  active?: boolean;
@@ -340,6 +342,9 @@ export type Schemas = {
340
342
  Association: {
341
343
  [key: string]: components["schemas"]["Association"];
342
344
  };
345
+ Associations: {
346
+ [key: string]: components["schemas"]["Criteria"];
347
+ };
343
348
  AttendeeProductCollectionLastSeenResponse: {
344
349
  collection?: {
345
350
  lastSeen?: string[];
@@ -652,6 +657,24 @@ export type Schemas = {
652
657
  /** Format: date-time */
653
658
  readonly updatedAt?: string;
654
659
  };
660
+ BaseInteraction: {
661
+ /**
662
+ * The time in seconds how long the interaction should be stored in the database
663
+ * @default -1
664
+ */
665
+ lifeTimeInSeconds?: number;
666
+ /**
667
+ * The time when the interaction was triggered
668
+ * @default now
669
+ */
670
+ triggeredAt?: string;
671
+ };
672
+ BasePresentationSlideData: {
673
+ cmsPage?: components["schemas"]["CmsPage"];
674
+ extensions?: {
675
+ cmsPageRelation?: components["schemas"]["PresentationCmsPage"];
676
+ };
677
+ };
655
678
  Breadcrumb: {
656
679
  /** @enum {string} */
657
680
  apiAlias: "breadcrumb";
@@ -679,11 +702,7 @@ export type Schemas = {
679
702
  /** @enum {string} */
680
703
  type: "page" | "link" | "folder";
681
704
  };
682
- BreadcrumbCollection: {
683
- /** @enum {string} */
684
- apiAlias: "breadcrumb_collection";
685
- breadcrumbs: components["schemas"]["Breadcrumb"][];
686
- };
705
+ BreadcrumbCollection: components["schemas"]["Breadcrumb"][];
687
706
  CalculatedPrice: {
688
707
  /** @enum {string} */
689
708
  apiAlias: "calculated_price";
@@ -816,7 +835,7 @@ export type Schemas = {
816
835
  messageKey: string;
817
836
  };
818
837
  CartItems: {
819
- items?: components["schemas"]["LineItem"][];
838
+ items: components["schemas"]["LineItem"][];
820
839
  };
821
840
  CartListPrice: {
822
841
  /** @enum {string} */
@@ -1097,7 +1116,6 @@ export type Schemas = {
1097
1116
  ClientPresentationStateResponse: {
1098
1117
  stateForAll?: components["schemas"]["StateForAll"];
1099
1118
  stateForClients?: components["schemas"]["StateForClients"];
1100
- stateForMe?: components["schemas"]["StateForMe"];
1101
1119
  };
1102
1120
  CmsBlock: {
1103
1121
  /** @enum {string} */
@@ -1291,7 +1309,26 @@ export type Schemas = {
1291
1309
  cmsBlockVersionId?: string;
1292
1310
  /** Format: date-time */
1293
1311
  readonly createdAt?: string;
1294
- customFields?: GenericRecord;
1312
+ customFields?: {
1313
+ _uniqueIdentifier?: string;
1314
+ };
1315
+ extensions?: {
1316
+ swagCmsExtensionsForm?: {
1317
+ data?: {
1318
+ /** @example 0654ad514da002e9d77fa24ee33acd95 */
1319
+ id?: string;
1320
+ /** @example swag_cms_extensions_form */
1321
+ type?: string;
1322
+ };
1323
+ links?: {
1324
+ /**
1325
+ * Format: uri-reference
1326
+ * @example /cms-slot/ac5ca6960137c6b8a97c90c11b71d4bb/swagCmsExtensionsForm
1327
+ */
1328
+ related?: string;
1329
+ };
1330
+ };
1331
+ };
1295
1332
  fieldConfig?: GenericRecord;
1296
1333
  id: string;
1297
1334
  locked?: boolean;
@@ -1299,6 +1336,11 @@ export type Schemas = {
1299
1336
  translated: {
1300
1337
  blockId: string;
1301
1338
  cmsBlockVersionId: string;
1339
+ config?: {
1340
+ content?: {
1341
+ value?: string;
1342
+ };
1343
+ };
1302
1344
  slot: string;
1303
1345
  type: string;
1304
1346
  versionId: string;
@@ -1479,55 +1521,9 @@ export type Schemas = {
1479
1521
  /** The subject of the appointment */
1480
1522
  subject: string;
1481
1523
  };
1482
- CreateInteractionRequestBody: {
1483
- /**
1484
- * The time in seconds how long the interaction should be stored in the database
1485
- * @default -1
1486
- */
1487
- lifeTimeInSeconds?: number;
1488
- /**
1489
- * the name of the interaction
1490
- * @enum {string}
1491
- */
1492
- name:
1493
- | "keep.alive"
1494
- | "product.viewed"
1495
- | "quickview.opened"
1496
- | "quickview.closed"
1497
- | "dynamicPage.opened"
1498
- | "dynamicProductPage.opened"
1499
- | "dynamicPage.closed"
1500
- | "page.viewed"
1501
- | "guide.hovered"
1502
- | "attendee.product.collection.liked"
1503
- | "attendee.product.collection.disliked"
1504
- | "attendee.product.collection.removed"
1505
- | "attendee.leave"
1506
- | "remote.checkout.accepted"
1507
- | "remote.checkout.denied"
1508
- | "broadcastMode.toggled"
1509
- | "viewMode.changed"
1510
- | "screenSharing.toggled";
1511
- payload:
1512
- | components["schemas"]["EmptyPayload"]
1513
- | components["schemas"]["ProductPayload"]
1514
- | components["schemas"]["DynamicPageOpenedPayload"]
1515
- | components["schemas"]["DynamicProductPageOpenedPayload"]
1516
- | components["schemas"]["DynamicPageClosedPayload"]
1517
- | components["schemas"]["PageViewedPayload"]
1518
- | components["schemas"]["GuideHoveredPayload"]
1519
- | components["schemas"]["ToggleBroadcastModePayload"]
1520
- | components["schemas"]["ViewModeChangedPayload"]
1521
- | components["schemas"]["ScreenSharingToggledPayload"];
1522
- /**
1523
- * The time when the interaction was triggered
1524
- * @default now
1525
- */
1526
- triggeredAt?: string;
1527
- };
1524
+ CreateInteractionRequestBody: components["schemas"]["DynamicInteractionBody"];
1528
1525
  Criteria: {
1529
- aggregations?: components["schemas"]["Aggregations"];
1530
- /** Associations to include. For more information, see [Search Queries > Associations](https://shopware.stoplight.io/docs/store-api/cf710bf73d0cd-search-queries#associations) */
1526
+ aggregations?: components["schemas"]["Aggregation"][];
1531
1527
  associations?: components["schemas"]["Association"];
1532
1528
  /** Fields which should be returned in the search result. */
1533
1529
  fields?: string[];
@@ -1542,7 +1538,7 @@ export type Schemas = {
1542
1538
  grouping?: string[];
1543
1539
  /** List of ids to search for */
1544
1540
  ids?: string[];
1545
- includes?: components["schemas"]["Include"];
1541
+ includes?: components["schemas"]["Includes"];
1546
1542
  /** Number of items per result page */
1547
1543
  limit?: number;
1548
1544
  /** Search result page */
@@ -1790,6 +1786,16 @@ export type Schemas = {
1790
1786
  company: string;
1791
1787
  vatIds: [string, ...string[]];
1792
1788
  }
1789
+ | {
1790
+ /** @enum {string} */
1791
+ accountType: "private";
1792
+ }
1793
+ | {
1794
+ /** @enum {string} */
1795
+ accountType: "business";
1796
+ company: string;
1797
+ vatIds: [string, ...string[]];
1798
+ }
1793
1799
  );
1794
1800
  CustomerAddress: {
1795
1801
  additionalAddressLine1?: string;
@@ -1929,6 +1935,14 @@ export type Schemas = {
1929
1935
  /** Format: date-time */
1930
1936
  readonly updatedAt?: string;
1931
1937
  };
1938
+ DiscountLineItemPayload: {
1939
+ /** Format: float */
1940
+ discountPrice?: number;
1941
+ /** @enum {string} */
1942
+ discountType?: "percentage" | "absolute";
1943
+ /** Format: float */
1944
+ discountValue?: number;
1945
+ };
1932
1946
  Document: {
1933
1947
  config: {
1934
1948
  name: string;
@@ -2065,7 +2079,6 @@ export type Schemas = {
2065
2079
  customFields?: GenericRecord;
2066
2080
  id?: string;
2067
2081
  name?: string;
2068
- startAsBroadcast?: boolean;
2069
2082
  /** Format: date-time */
2070
2083
  readonly updatedAt?: string;
2071
2084
  url?: string;
@@ -2143,42 +2156,69 @@ export type Schemas = {
2143
2156
  /** Format: date-time */
2144
2157
  readonly updatedAt?: string;
2145
2158
  };
2159
+ DynamicInteractionBody:
2160
+ | components["schemas"]["EmptyInteraction"]
2161
+ | components["schemas"]["ProductInteraction"]
2162
+ | components["schemas"]["DynamicPageOpenedInteraction"]
2163
+ | components["schemas"]["DynamicPageClosedInteraction"]
2164
+ | components["schemas"]["DynamicProductPageOpenedInteraction"]
2165
+ | components["schemas"]["PageViewedInteraction"]
2166
+ | components["schemas"]["GuideHoveredInteraction"]
2167
+ | components["schemas"]["ToggleBroadcastModeInteraction"]
2168
+ | components["schemas"]["ViewModeChangedInteraction"]
2169
+ | components["schemas"]["ScreenSharingToggledInteraction"];
2170
+ DynamicPageClosedInteraction: components["schemas"]["BaseInteraction"] & {
2171
+ name: string;
2172
+ payload: components["schemas"]["DynamicPageClosedPayload"];
2173
+ } & {
2174
+ /**
2175
+ * discriminator enum property added by openapi-typescript
2176
+ * @enum {string}
2177
+ */
2178
+ name: "dynamicPage.closed";
2179
+ };
2146
2180
  DynamicPageClosedPayload: {
2147
2181
  /**
2148
2182
  * Whether all pages were closed
2149
2183
  * @default false
2150
2184
  */
2151
2185
  all?: boolean;
2152
- /**
2153
- * discriminator enum property added by openapi-typescript
2154
- * @enum {string}
2155
- */
2156
- name: "dynamicPage.closed";
2157
2186
  /** The id of the page that was closed */
2158
2187
  pageId?: string | null;
2159
2188
  };
2160
- DynamicPageOpenedPayload: components["schemas"]["AbstractDynamicPageOpenedPayload"] & {
2189
+ DynamicPageOpenedInteraction: components["schemas"]["BaseInteraction"] & {
2190
+ name: string;
2191
+ payload: components["schemas"]["DynamicPageOpenedPayload"];
2192
+ } & {
2161
2193
  /**
2162
2194
  * discriminator enum property added by openapi-typescript
2163
2195
  * @enum {string}
2164
2196
  */
2165
2197
  name: "dynamicPage.opened";
2166
2198
  };
2199
+ DynamicPageOpenedPayload: components["schemas"]["AbstractDynamicPageOpenedPayload"];
2167
2200
  DynamicProductListingPageOpenedPayload: {
2168
2201
  /** Current page position in the pagination */
2169
2202
  page: number;
2170
2203
  };
2171
- DynamicProductPageOpenedPayload: {
2172
- /** the id from the product which is shown on the dynamic page */
2173
- productId: string;
2174
- } & (components["schemas"]["AbstractDynamicPageOpenedPayload"] & {
2204
+ DynamicProductPageOpenedInteraction: components["schemas"]["BaseInteraction"] & {
2205
+ name: string;
2206
+ payload: components["schemas"]["DynamicProductPageOpenedPayload"];
2207
+ } & {
2175
2208
  /**
2176
2209
  * discriminator enum property added by openapi-typescript
2177
2210
  * @enum {string}
2178
2211
  */
2179
2212
  name: "dynamicProductPage.opened";
2180
- });
2181
- EmptyPayload: {
2213
+ };
2214
+ DynamicProductPageOpenedPayload: {
2215
+ /** the id from the product which is shown on the dynamic page */
2216
+ productId: string;
2217
+ } & components["schemas"]["AbstractDynamicPageOpenedPayload"];
2218
+ EmptyInteraction: components["schemas"]["BaseInteraction"] & {
2219
+ name: string;
2220
+ payload: GenericRecord;
2221
+ } & {
2182
2222
  /**
2183
2223
  * discriminator enum property added by openapi-typescript
2184
2224
  * @enum {string}
@@ -2191,6 +2231,7 @@ export type Schemas = {
2191
2231
  | "remote.checkout.accepted"
2192
2232
  | "remote.checkout.denied";
2193
2233
  };
2234
+ EmptyPayload: Record<string, never>;
2194
2235
  EntitySearchResult: {
2195
2236
  /** Contains aggregated data. A simple example is the determination of the average price from a product search query. */
2196
2237
  aggregations?: GenericRecord[];
@@ -2241,14 +2282,19 @@ export type Schemas = {
2241
2282
  /** Format: date-time */
2242
2283
  readonly updatedAt?: string;
2243
2284
  };
2244
- GuideHoveredPayload: {
2245
- hoveredElementId?: string | null;
2285
+ GuideHoveredInteraction: components["schemas"]["BaseInteraction"] & {
2286
+ name: string;
2287
+ payload: components["schemas"]["GuideHoveredPayload"];
2288
+ } & {
2246
2289
  /**
2247
2290
  * discriminator enum property added by openapi-typescript
2248
2291
  * @enum {string}
2249
2292
  */
2250
2293
  name: "guide.hovered";
2251
2294
  };
2295
+ GuideHoveredPayload: {
2296
+ hoveredElementId?: string | null;
2297
+ };
2252
2298
  ImportExportFile: {
2253
2299
  /** Format: date-time */
2254
2300
  readonly createdAt?: string;
@@ -2270,7 +2316,7 @@ export type Schemas = {
2270
2316
  /** Format: date-time */
2271
2317
  readonly updatedAt?: string;
2272
2318
  };
2273
- Include: {
2319
+ Includes: {
2274
2320
  [key: string]: string[];
2275
2321
  };
2276
2322
  Integration: {
@@ -2285,6 +2331,13 @@ export type Schemas = {
2285
2331
  appointmentName?: string;
2286
2332
  /** The created Id for the attendee */
2287
2333
  attendeeId?: string;
2334
+ /** The name of the attendee */
2335
+ attendeeName?: string | null;
2336
+ /** The b2b features that available for the appointment */
2337
+ b2bFeatures?: {
2338
+ /** To know if the quote management is enabled for current customer */
2339
+ quoteManagement?: boolean;
2340
+ };
2288
2341
  /** The appointment id */
2289
2342
  id?: string;
2290
2343
  /** To see if it's a preview appointment */
@@ -2310,6 +2363,8 @@ export type Schemas = {
2310
2363
  salesChannelId?: string;
2311
2364
  /** The name of the current sales channel */
2312
2365
  salesChannelName?: string;
2366
+ /** The video user id that attendee could use */
2367
+ videoUserId?: string | null;
2313
2368
  };
2314
2369
  LandingPage: {
2315
2370
  active?: boolean;
@@ -2500,6 +2555,14 @@ export type Schemas = {
2500
2555
  dataTimestamp?: string;
2501
2556
  deliveryInformation: components["schemas"]["CartDeliveryInformation"];
2502
2557
  description?: string;
2558
+ extensions?: {
2559
+ meta?: {
2560
+ attendees?: {
2561
+ id: string;
2562
+ name: string;
2563
+ }[];
2564
+ };
2565
+ };
2503
2566
  good?: boolean;
2504
2567
  id: string;
2505
2568
  label?: string;
@@ -2554,7 +2617,9 @@ export type Schemas = {
2554
2617
  | "promotion"
2555
2618
  | "discount"
2556
2619
  | "container"
2557
- | "quantity";
2620
+ | "quantity"
2621
+ | "dsr-line-item-discount"
2622
+ | "dsr-cart-discount";
2558
2623
  ListPrice: {
2559
2624
  /** @enum {string} */
2560
2625
  apiAlias: "cart_list_price";
@@ -2613,6 +2678,23 @@ export type Schemas = {
2613
2678
  /** Format: date-time */
2614
2679
  readonly createdAt?: string;
2615
2680
  customFields?: GenericRecord;
2681
+ extensions?: {
2682
+ swagCmsExtensionsForms?: {
2683
+ data?: {
2684
+ /** @example a08561237fe1e2a012502c820a08405d */
2685
+ id?: string;
2686
+ /** @example swag_cms_extensions_form */
2687
+ type?: string;
2688
+ }[];
2689
+ links?: {
2690
+ /**
2691
+ * Format: uri-reference
2692
+ * @example /mail-template/901aa1bf1715ad482f037eaa8b9cdc3a/swagCmsExtensionsForms
2693
+ */
2694
+ related?: string;
2695
+ };
2696
+ };
2697
+ };
2616
2698
  id?: string;
2617
2699
  mailTemplateType?: components["schemas"]["MailTemplateType"];
2618
2700
  media?: components["schemas"]["MailTemplateMedia"][];
@@ -2699,7 +2781,7 @@ export type Schemas = {
2699
2781
  };
2700
2782
  };
2701
2783
  readonly fileExtension: string;
2702
- readonly fileName: string;
2784
+ fileName: string;
2703
2785
  /** Format: int64 */
2704
2786
  readonly fileSize?: number;
2705
2787
  /** Runtime field, cannot be used as part of the criteria. */
@@ -2711,7 +2793,7 @@ export type Schemas = {
2711
2793
  /** Format: int64 */
2712
2794
  width?: number;
2713
2795
  };
2714
- readonly mimeType?: string;
2796
+ mimeType?: string;
2715
2797
  path: string;
2716
2798
  private: boolean;
2717
2799
  thumbnails?: components["schemas"]["MediaThumbnail"][];
@@ -2800,7 +2882,7 @@ export type Schemas = {
2800
2882
  };
2801
2883
  MultiNotFilter: {
2802
2884
  /** @enum {string} */
2803
- operator: "AND" | "and" | "OR" | "or";
2885
+ operator: "and" | "or" | "nor" | "nand";
2804
2886
  queries: components["schemas"]["Filters"];
2805
2887
  /** @enum {string} */
2806
2888
  type: "multi" | "not";
@@ -2889,6 +2971,21 @@ export type Schemas = {
2889
2971
  deliveries?: components["schemas"]["OrderDelivery"][];
2890
2972
  documents: components["schemas"]["Document"][];
2891
2973
  extensions?: {
2974
+ quote?: {
2975
+ data?: {
2976
+ /** @example 7a674c327bfa07f7c1204fb38ca6ef3b */
2977
+ id?: string;
2978
+ /** @example quote */
2979
+ type?: string;
2980
+ };
2981
+ links?: {
2982
+ /**
2983
+ * Format: uri-reference
2984
+ * @example /order/a240fa27925a635b08dc28c9e4f9216d/quote
2985
+ */
2986
+ related?: string;
2987
+ };
2988
+ };
2892
2989
  returns?: {
2893
2990
  data?: {
2894
2991
  /** @example 7fff84525c6516919851a9005373f87e */
@@ -3518,12 +3615,17 @@ export type Schemas = {
3518
3615
  /** Format: date-time */
3519
3616
  readonly updatedAt?: string;
3520
3617
  };
3521
- PageViewedPayload: {
3618
+ PageViewedInteraction: components["schemas"]["BaseInteraction"] & {
3619
+ name: string;
3620
+ payload: components["schemas"]["PageViewedPayload"];
3621
+ } & {
3522
3622
  /**
3523
3623
  * discriminator enum property added by openapi-typescript
3524
3624
  * @enum {string}
3525
3625
  */
3526
3626
  name: "page.viewed";
3627
+ };
3628
+ PageViewedPayload: {
3527
3629
  /** the id from the page which was viewed */
3528
3630
  pageId: string;
3529
3631
  pageNumber?: number | null;
@@ -3662,23 +3764,21 @@ export type Schemas = {
3662
3764
  /** Format: date-time */
3663
3765
  readonly updatedAt?: string;
3664
3766
  };
3767
+ PresentationCmsPage: components["schemas"]["DsrPresentationCmsPage"] & {
3768
+ /** The product id is assigned to presentation if it's product listing or instant listing */
3769
+ pickedProductIds?: string[] | null;
3770
+ };
3665
3771
  PresentationSlideData: {
3772
+ category?: components["schemas"]["Category"];
3666
3773
  cmsPage?: components["schemas"]["CmsPage"];
3774
+ configurator?: components["schemas"]["PropertyGroup"][];
3667
3775
  extensions?: {
3668
- cmsPageRelation?: components["schemas"]["DsrPresentationCmsPage"];
3776
+ cmsPageRelation?: components["schemas"]["PresentationCmsPage"];
3669
3777
  };
3670
- } & (
3671
- | {
3672
- configurator?: components["schemas"]["PropertyGroup"][];
3673
- product?: components["schemas"]["Product"];
3674
- }
3675
- | {
3676
- category?: components["schemas"]["Category"];
3677
- }
3678
- | null
3679
- );
3778
+ product?: components["schemas"]["Product"];
3779
+ };
3680
3780
  PresentationStructure: {
3681
- cmsPageResults?: {
3781
+ cmsPageResults: {
3682
3782
  cmsPage?: components["schemas"]["CmsPage"];
3683
3783
  /** The presentation id */
3684
3784
  resourceIdentifier?: string;
@@ -3688,15 +3788,15 @@ export type Schemas = {
3688
3788
  */
3689
3789
  resourceType?: string;
3690
3790
  }[];
3691
- navigation?: {
3791
+ navigation: {
3692
3792
  /** The CMS page id */
3693
- cmsPageId?: string;
3793
+ cmsPageId: string;
3694
3794
  /** The presentation CMS page id */
3695
- groupId?: string;
3795
+ groupId: string;
3696
3796
  /** The slide name */
3697
- groupName?: string;
3797
+ groupName: string;
3698
3798
  /** The slide position */
3699
- index?: number;
3799
+ index: number;
3700
3800
  /** If the slide is an instant listing */
3701
3801
  isInstantListing?: boolean;
3702
3802
  /** @default [] */
@@ -3704,9 +3804,9 @@ export type Schemas = {
3704
3804
  /** The number of picked products of the instant listing */
3705
3805
  pickedProductsCount?: number;
3706
3806
  /** The section id */
3707
- sectionId?: string;
3807
+ sectionId: string;
3708
3808
  /** The section name */
3709
- sectionName?: string | null;
3809
+ sectionName: string | null;
3710
3810
  }[];
3711
3811
  };
3712
3812
  Price: {
@@ -4012,6 +4112,20 @@ export type Schemas = {
4012
4112
  /** Format: date-time */
4013
4113
  readonly updatedAt?: string;
4014
4114
  };
4115
+ ProductInteraction: components["schemas"]["BaseInteraction"] & {
4116
+ name: string;
4117
+ payload: components["schemas"]["ProductPayload"];
4118
+ } & {
4119
+ /**
4120
+ * discriminator enum property added by openapi-typescript
4121
+ * @enum {string}
4122
+ */
4123
+ name:
4124
+ | "product.viewed"
4125
+ | "attendee.product.collection.liked"
4126
+ | "attendee.product.collection.disliked"
4127
+ | "attendee.product.collection.removed";
4128
+ };
4015
4129
  ProductJsonApi: components["schemas"]["resource"] & {
4016
4130
  active?: boolean;
4017
4131
  readonly available?: boolean;
@@ -4521,16 +4635,16 @@ export type Schemas = {
4521
4635
  weight?: number;
4522
4636
  /** Format: float */
4523
4637
  width?: number;
4524
- } & {
4525
- options: {
4526
- group: string;
4527
- option: string;
4528
- translated: {
4638
+ } & components["schemas"]["DiscountLineItemPayload"] & {
4639
+ options: {
4529
4640
  group: string;
4530
4641
  option: string;
4531
- };
4532
- }[];
4533
- };
4642
+ translated: {
4643
+ group: string;
4644
+ option: string;
4645
+ };
4646
+ }[];
4647
+ };
4534
4648
  ProductKeywordDictionary: {
4535
4649
  id?: string;
4536
4650
  keyword: string;
@@ -4684,15 +4798,6 @@ export type Schemas = {
4684
4798
  product?: components["schemas"]["Product"];
4685
4799
  };
4686
4800
  ProductPayload: {
4687
- /**
4688
- * discriminator enum property added by openapi-typescript
4689
- * @enum {string}
4690
- */
4691
- name:
4692
- | "product.viewed"
4693
- | "attendee.product.collection.liked"
4694
- | "attendee.product.collection.disliked"
4695
- | "attendee.product.collection.removed";
4696
4801
  /** the id from the product which is used in the interaction */
4697
4802
  productId: string;
4698
4803
  };
@@ -5127,52 +5232,249 @@ export type Schemas = {
5127
5232
  /** Format: date-time */
5128
5233
  readonly updatedAt?: string;
5129
5234
  };
5130
- QuoteLineItem: {
5131
- children: components["schemas"]["QuoteLineItem"][];
5132
- cover?: components["schemas"]["Media"];
5133
- coverId?: string;
5235
+ QuoteJsonApi: components["schemas"]["resource"] & {
5236
+ /** Format: float */
5237
+ readonly amountNet?: number;
5238
+ /** Format: float */
5239
+ readonly amountTotal?: number;
5134
5240
  /** Format: date-time */
5135
5241
  readonly createdAt?: string;
5242
+ createdById?: string;
5243
+ currencyId: string;
5244
+ customerId: string;
5136
5245
  customFields?: GenericRecord;
5137
- description?: string;
5138
5246
  discount?: {
5139
5247
  type?: string;
5140
- /** Format: int64 */
5248
+ /** Format: float */
5141
5249
  value?: number;
5142
5250
  };
5143
- good?: boolean;
5144
- id: string;
5145
- identifier: string;
5146
- label: string;
5147
- parent?: components["schemas"]["QuoteLineItem"];
5148
- parentId?: string;
5149
- parentVersionId?: string;
5150
- payload?: GenericRecord;
5151
- /** Format: int64 */
5152
- position: number;
5153
- priceDefinition?: GenericRecord;
5154
- productId?: string;
5155
- productPrice?: components["schemas"]["Price"][];
5156
- productVersionId?: string;
5157
- purchasePrice?: components["schemas"]["Price"][];
5158
- /** Format: int64 */
5159
- quantity: number;
5160
- quoteId: string;
5161
- quoteVersionId?: string;
5162
- referencedId?: string;
5163
- removable?: boolean;
5164
- stackable?: boolean;
5165
- states: string[];
5166
- /** Format: float */
5167
- totalPrice?: number;
5168
- type?: string;
5169
- /** Format: float */
5170
- unitPrice?: number;
5171
5251
  /** Format: date-time */
5172
- readonly updatedAt?: string;
5173
- versionId?: string;
5174
- };
5175
- QuoteTransaction: {
5252
+ expirationDate?: string;
5253
+ id: string;
5254
+ languageId: string;
5255
+ orderId?: string;
5256
+ orderVersionId?: string;
5257
+ price?: {
5258
+ calculatedTaxes?: GenericRecord;
5259
+ /** Format: float */
5260
+ netPrice: number;
5261
+ /** Format: float */
5262
+ positionPrice: number;
5263
+ /** Format: float */
5264
+ rawTotal: number;
5265
+ taxRules?: GenericRecord;
5266
+ taxStatus: string;
5267
+ /** Format: float */
5268
+ totalPrice: number;
5269
+ };
5270
+ quoteNumber?: string;
5271
+ relationships?: {
5272
+ comments?: {
5273
+ data?: {
5274
+ /** @example a5d491060952aa8ad5fdee071be752de */
5275
+ id?: string;
5276
+ /** @example quote_comment */
5277
+ type?: string;
5278
+ }[];
5279
+ links?: {
5280
+ /**
5281
+ * Format: uri-reference
5282
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/comments
5283
+ */
5284
+ related?: string;
5285
+ };
5286
+ };
5287
+ currency?: {
5288
+ data?: {
5289
+ /** @example 1af0389838508d7016a9841eb6273962 */
5290
+ id?: string;
5291
+ /** @example currency */
5292
+ type?: string;
5293
+ };
5294
+ links?: {
5295
+ /**
5296
+ * Format: uri-reference
5297
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/currency
5298
+ */
5299
+ related?: string;
5300
+ };
5301
+ };
5302
+ deliveries?: {
5303
+ data?: {
5304
+ /** @example 6fc31b6b9cd717cc0dcb81152308f8af */
5305
+ id?: string;
5306
+ /** @example quote_delivery */
5307
+ type?: string;
5308
+ }[];
5309
+ links?: {
5310
+ /**
5311
+ * Format: uri-reference
5312
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/deliveries
5313
+ */
5314
+ related?: string;
5315
+ };
5316
+ };
5317
+ documents?: {
5318
+ data?: {
5319
+ /** @example 21f64da1e5792c8295b964d159a14491 */
5320
+ id?: string;
5321
+ /** @example quote_document */
5322
+ type?: string;
5323
+ }[];
5324
+ links?: {
5325
+ /**
5326
+ * Format: uri-reference
5327
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/documents
5328
+ */
5329
+ related?: string;
5330
+ };
5331
+ };
5332
+ language?: {
5333
+ data?: {
5334
+ /** @example 8512ae7d57b1396273f76fe6ed341a23 */
5335
+ id?: string;
5336
+ /** @example language */
5337
+ type?: string;
5338
+ };
5339
+ links?: {
5340
+ /**
5341
+ * Format: uri-reference
5342
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/language
5343
+ */
5344
+ related?: string;
5345
+ };
5346
+ };
5347
+ lineItems?: {
5348
+ data?: {
5349
+ /** @example a042af1aa9f3853fe3cd7dabc065568f */
5350
+ id?: string;
5351
+ /** @example quote_line_item */
5352
+ type?: string;
5353
+ }[];
5354
+ links?: {
5355
+ /**
5356
+ * Format: uri-reference
5357
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/lineItems
5358
+ */
5359
+ related?: string;
5360
+ };
5361
+ };
5362
+ stateMachineState?: {
5363
+ data?: {
5364
+ /** @example 1ab22d393154f21e3be76aca3ec3ee31 */
5365
+ id?: string;
5366
+ /** @example state_machine_state */
5367
+ type?: string;
5368
+ };
5369
+ links?: {
5370
+ /**
5371
+ * Format: uri-reference
5372
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/stateMachineState
5373
+ */
5374
+ related?: string;
5375
+ };
5376
+ };
5377
+ transactions?: {
5378
+ data?: {
5379
+ /** @example c15b977dd99332ca8623fbdfb86827e8 */
5380
+ id?: string;
5381
+ /** @example quote_transaction */
5382
+ type?: string;
5383
+ }[];
5384
+ links?: {
5385
+ /**
5386
+ * Format: uri-reference
5387
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/transactions
5388
+ */
5389
+ related?: string;
5390
+ };
5391
+ };
5392
+ };
5393
+ salesChannelId: string;
5394
+ /** Format: date-time */
5395
+ sentAt?: string;
5396
+ shippingCosts?: {
5397
+ calculatedTaxes?: GenericRecord;
5398
+ listPrice?: {
5399
+ /** Format: float */
5400
+ discount?: number;
5401
+ /** Format: float */
5402
+ percentage?: number;
5403
+ /** Format: float */
5404
+ price?: number;
5405
+ };
5406
+ /** Format: int64 */
5407
+ quantity: number;
5408
+ referencePrice?: GenericRecord;
5409
+ regulationPrice?: {
5410
+ /** Format: float */
5411
+ price?: number;
5412
+ };
5413
+ taxRules?: GenericRecord;
5414
+ /** Format: float */
5415
+ totalPrice: number;
5416
+ /** Format: float */
5417
+ unitPrice: number;
5418
+ };
5419
+ stateId: string;
5420
+ /** Format: float */
5421
+ subtotalNet?: number;
5422
+ readonly taxStatus?: string;
5423
+ /** Format: float */
5424
+ totalDiscount?: number;
5425
+ /** Format: date-time */
5426
+ readonly updatedAt?: string;
5427
+ updatedById?: string;
5428
+ userId?: string;
5429
+ versionId?: string;
5430
+ };
5431
+ QuoteLineItem: {
5432
+ children: components["schemas"]["QuoteLineItem"][];
5433
+ cover?: components["schemas"]["Media"];
5434
+ coverId?: string;
5435
+ /** Format: date-time */
5436
+ readonly createdAt?: string;
5437
+ customFields?: GenericRecord;
5438
+ deliveryPositions?: components["schemas"]["QuoteDeliveryPosition"][];
5439
+ description?: string;
5440
+ discount?: {
5441
+ type?: string;
5442
+ /** Format: int64 */
5443
+ value?: number;
5444
+ };
5445
+ good?: boolean;
5446
+ id: string;
5447
+ identifier: string;
5448
+ label: string;
5449
+ parent?: components["schemas"]["QuoteLineItem"];
5450
+ parentId?: string;
5451
+ parentVersionId?: string;
5452
+ payload?: GenericRecord;
5453
+ /** Format: int64 */
5454
+ position: number;
5455
+ priceDefinition?: GenericRecord;
5456
+ productId?: string;
5457
+ productPrice?: components["schemas"]["Price"][];
5458
+ productVersionId?: string;
5459
+ purchasePrice?: components["schemas"]["Price"][];
5460
+ /** Format: int64 */
5461
+ quantity: number;
5462
+ quoteId: string;
5463
+ quoteVersionId?: string;
5464
+ referencedId?: string;
5465
+ removable?: boolean;
5466
+ stackable?: boolean;
5467
+ states: string[];
5468
+ /** Format: float */
5469
+ totalPrice?: number;
5470
+ type?: string;
5471
+ /** Format: float */
5472
+ unitPrice?: number;
5473
+ /** Format: date-time */
5474
+ readonly updatedAt?: string;
5475
+ versionId?: string;
5476
+ };
5477
+ QuoteTransaction: {
5176
5478
  amount: {
5177
5479
  calculatedTaxes?: GenericRecord;
5178
5480
  listPrice?: {
@@ -5242,6 +5544,21 @@ export type Schemas = {
5242
5544
  customFields?: GenericRecord;
5243
5545
  description?: string;
5244
5546
  extensions?: {
5547
+ swagCmsExtensionsBlockRules?: {
5548
+ data?: {
5549
+ /** @example ce0b9f43f8947576ee10c93d4d69a4c4 */
5550
+ id?: string;
5551
+ /** @example swag_cms_extensions_block_rule */
5552
+ type?: string;
5553
+ }[];
5554
+ links?: {
5555
+ /**
5556
+ * Format: uri-reference
5557
+ * @example /rule/ab7a485ebe75b6dd7243ad719f23c7de/swagCmsExtensionsBlockRules
5558
+ */
5559
+ related?: string;
5560
+ };
5561
+ };
5245
5562
  warehouseGroup?: {
5246
5563
  data?: {
5247
5564
  /** @example 1768e3071b62161d415e0c24332055ed */
@@ -5474,15 +5791,20 @@ export type Schemas = {
5474
5791
  /** Format: date-time */
5475
5792
  readonly updatedAt?: string;
5476
5793
  };
5477
- ScreenSharingToggledPayload: {
5478
- /** Whether the screen sharing is active or not */
5479
- active: boolean;
5794
+ ScreenSharingToggledInteraction: components["schemas"]["BaseInteraction"] & {
5795
+ name: string;
5796
+ payload: components["schemas"]["ScreenSharingToggledPayload"];
5797
+ } & {
5480
5798
  /**
5481
5799
  * discriminator enum property added by openapi-typescript
5482
5800
  * @enum {string}
5483
5801
  */
5484
5802
  name: "screenSharing.toggled";
5485
5803
  };
5804
+ ScreenSharingToggledPayload: {
5805
+ /** Whether the screen sharing is active or not */
5806
+ active: boolean;
5807
+ };
5486
5808
  Script: {
5487
5809
  /** Format: date-time */
5488
5810
  readonly createdAt?: string;
@@ -5902,6 +6224,13 @@ export type Schemas = {
5902
6224
  /** Format: date-time */
5903
6225
  readonly updatedAt?: string;
5904
6226
  };
6227
+ SpatialSceneGroup: {
6228
+ /** Format: date-time */
6229
+ readonly createdAt?: string;
6230
+ id?: string;
6231
+ /** Format: date-time */
6232
+ readonly updatedAt?: string;
6233
+ };
5905
6234
  SpatialSceneLight: {
5906
6235
  /** Format: date-time */
5907
6236
  readonly createdAt?: string;
@@ -5909,6 +6238,13 @@ export type Schemas = {
5909
6238
  /** Format: date-time */
5910
6239
  readonly updatedAt?: string;
5911
6240
  };
6241
+ SpatialSceneMaterial: {
6242
+ /** Format: date-time */
6243
+ readonly createdAt?: string;
6244
+ id?: string;
6245
+ /** Format: date-time */
6246
+ readonly updatedAt?: string;
6247
+ };
5912
6248
  SpatialSceneObject: {
5913
6249
  /** Format: date-time */
5914
6250
  readonly createdAt?: string;
@@ -5916,6 +6252,13 @@ export type Schemas = {
5916
6252
  /** Format: date-time */
5917
6253
  readonly updatedAt?: string;
5918
6254
  };
6255
+ SpatialScenePrimitive: {
6256
+ /** Format: date-time */
6257
+ readonly createdAt?: string;
6258
+ id?: string;
6259
+ /** Format: date-time */
6260
+ readonly updatedAt?: string;
6261
+ };
5919
6262
  SsoProvider: {
5920
6263
  /** Format: date-time */
5921
6264
  readonly createdAt?: string;
@@ -5985,13 +6328,6 @@ export type Schemas = {
5985
6328
  hoveredElementId?: string | null;
5986
6329
  videoClientToken?: string | null;
5987
6330
  };
5988
- StateForMe: {
5989
- attendeeName?: string | null;
5990
- /** @default [] */
5991
- extensions?: unknown[];
5992
- /** @default null */
5993
- guideCartPermissionsGranted?: boolean;
5994
- };
5995
6331
  StateMachine: {
5996
6332
  /** Format: date-time */
5997
6333
  readonly createdAt?: string;
@@ -6254,25 +6590,77 @@ export type Schemas = {
6254
6590
  visibilityRuleId?: string;
6255
6591
  };
6256
6592
  SwagCmsExtensionsForm: {
6593
+ cmsSlot?: components["schemas"]["CmsSlot"];
6594
+ cmsSlotId?: string;
6595
+ cmsSlotVersionId?: string;
6257
6596
  /** Format: date-time */
6258
6597
  readonly createdAt?: string;
6259
- id?: string;
6598
+ groups?: components["schemas"]["SwagCmsExtensionsFormGroup"][];
6599
+ id: string;
6600
+ isTemplate?: boolean;
6601
+ mailTemplate?: components["schemas"]["MailTemplate"];
6602
+ mailTemplateId: string;
6603
+ receivers?: GenericRecord;
6604
+ successMessage?: string;
6605
+ technicalName: string;
6606
+ title?: string;
6607
+ translated: {
6608
+ cmsSlotId: string;
6609
+ cmsSlotVersionId: string;
6610
+ mailTemplateId: string;
6611
+ successMessage: string;
6612
+ technicalName: string;
6613
+ title: string;
6614
+ };
6260
6615
  /** Format: date-time */
6261
6616
  readonly updatedAt?: string;
6262
6617
  };
6263
6618
  SwagCmsExtensionsFormGroup: {
6264
6619
  /** Format: date-time */
6265
6620
  readonly createdAt?: string;
6266
- id?: string;
6621
+ fields?: components["schemas"]["SwagCmsExtensionsFormGroupField"][];
6622
+ form?: components["schemas"]["SwagCmsExtensionsForm"];
6623
+ formId?: string;
6624
+ id: string;
6625
+ /** Format: int64 */
6626
+ position: number;
6627
+ technicalName: string;
6628
+ title?: string;
6629
+ translated: {
6630
+ formId: string;
6631
+ technicalName: string;
6632
+ title: string;
6633
+ };
6267
6634
  /** Format: date-time */
6268
6635
  readonly updatedAt?: string;
6269
6636
  };
6270
6637
  SwagCmsExtensionsFormGroupField: {
6638
+ config?: GenericRecord;
6271
6639
  /** Format: date-time */
6272
6640
  readonly createdAt?: string;
6273
- id?: string;
6641
+ errorMessage?: string;
6642
+ group?: components["schemas"]["SwagCmsExtensionsFormGroup"];
6643
+ groupId?: string;
6644
+ id: string;
6645
+ label: string;
6646
+ placeholder?: string;
6647
+ /** Format: int64 */
6648
+ position: number;
6649
+ required?: boolean;
6650
+ technicalName: string;
6651
+ translated: {
6652
+ errorMessage: string;
6653
+ groupId: string;
6654
+ label: string;
6655
+ placeholder: string;
6656
+ technicalName: string;
6657
+ type: string;
6658
+ };
6659
+ type: string;
6274
6660
  /** Format: date-time */
6275
6661
  readonly updatedAt?: string;
6662
+ /** Format: int64 */
6663
+ width: number;
6276
6664
  };
6277
6665
  SwagCmsExtensionsQuickview: {
6278
6666
  active?: boolean;
@@ -6989,18 +7377,8 @@ export type Schemas = {
6989
7377
  readonly updatedAt?: string;
6990
7378
  };
6991
7379
  SwagPaypalVaultToken: {
6992
- // TODO: [OpenAPI][SwagPaypalVaultToken] - add SwagPaypalVaultToken definition to schema
6993
- /** Format: date-time */
6994
- createdAt: string;
6995
- customer?: components["schemas"]["Customer"];
6996
- customerId: string;
6997
7380
  id?: string;
6998
- identifier: string;
6999
- mainMapping?: components["schemas"]["SwagPaypalVaultTokenMapping"];
7000
- paymentMethod?: components["schemas"]["PaymentMethod"];
7001
- paymentMethodId: string;
7002
- /** Format: date-time */
7003
- updatedAt?: string;
7381
+ identifier?: string;
7004
7382
  };
7005
7383
  SwagPaypalVaultTokenMapping: {
7006
7384
  /** Format: date-time */
@@ -7141,15 +7519,20 @@ export type Schemas = {
7141
7519
  /** Format: date-time */
7142
7520
  readonly updatedAt?: string;
7143
7521
  };
7144
- ToggleBroadcastModePayload: {
7145
- /** Status if the mode is toggled to active or inactive */
7146
- active: boolean;
7522
+ ToggleBroadcastModeInteraction: components["schemas"]["BaseInteraction"] & {
7523
+ name: string;
7524
+ payload: components["schemas"]["ToggleBroadcastModePayload"];
7525
+ } & {
7147
7526
  /**
7148
7527
  * discriminator enum property added by openapi-typescript
7149
7528
  * @enum {string}
7150
7529
  */
7151
7530
  name: "broadcastMode.toggled";
7152
7531
  };
7532
+ ToggleBroadcastModePayload: {
7533
+ /** Status if the mode is toggled to active or inactive */
7534
+ active: boolean;
7535
+ };
7153
7536
  TotalCountMode: "none" | "exact" | "next-pages";
7154
7537
  Unit: {
7155
7538
  /** Format: date-time */
@@ -7201,6 +7584,16 @@ export type Schemas = {
7201
7584
  /** Format: date-time */
7202
7585
  readonly updatedAt?: string;
7203
7586
  };
7587
+ ViewModeChangedInteraction: components["schemas"]["BaseInteraction"] & {
7588
+ name: string;
7589
+ payload: components["schemas"]["ViewModeChangedPayload"];
7590
+ } & {
7591
+ /**
7592
+ * discriminator enum property added by openapi-typescript
7593
+ * @enum {string}
7594
+ */
7595
+ name: "viewMode.changed";
7596
+ };
7204
7597
  ViewModeChangedPayload: {
7205
7598
  /**
7206
7599
  * The view mode of presentation
@@ -7208,11 +7601,6 @@ export type Schemas = {
7208
7601
  * @enum {string}
7209
7602
  */
7210
7603
  mode?: "onlyYou" | "presentation" | "videoGrid";
7211
- /**
7212
- * discriminator enum property added by openapi-typescript
7213
- * @enum {string}
7214
- */
7215
- name: "viewMode.changed";
7216
7604
  };
7217
7605
  Warehouse: {
7218
7606
  /** Format: date-time */
@@ -7560,7 +7948,7 @@ export type operations = {
7560
7948
  /** Customer last name. Value will be reused for shipping and billing address if not provided explicitly. */
7561
7949
  lastName: string;
7562
7950
  /** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
7563
- salutationId: string;
7951
+ salutationId?: string;
7564
7952
  /** (Academic) title of the customer */
7565
7953
  title?: string;
7566
7954
  } & (
@@ -7585,6 +7973,27 @@ export type operations = {
7585
7973
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
7586
7974
  vatIds: [string, ...string[]];
7587
7975
  }
7976
+ | {
7977
+ /**
7978
+ * Type of the customer account. Default value is 'private'.
7979
+ * @default private
7980
+ * @enum {string}
7981
+ */
7982
+ accountType?: "private";
7983
+ company?: null;
7984
+ vatIds?: null;
7985
+ }
7986
+ | {
7987
+ /**
7988
+ * Type of the customer account. Can be `private` or `business`.
7989
+ * @enum {string}
7990
+ */
7991
+ accountType: "business";
7992
+ /** Company of the customer. Only required when `accountType` is `business`. */
7993
+ company: string;
7994
+ /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
7995
+ vatIds: [string, ...string[]];
7996
+ }
7588
7997
  );
7589
7998
  response: components["schemas"]["SuccessResponse"];
7590
7999
  responseCode: 200;
@@ -7732,7 +8141,7 @@ export type operations = {
7732
8141
  /** Password for the customer. Required, unless `guest` is `true` */
7733
8142
  password: string;
7734
8143
  /** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
7735
- salutationId: string;
8144
+ salutationId?: string;
7736
8145
  shippingAddress?: components["schemas"]["CustomerAddress"];
7737
8146
  /** URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel. */
7738
8147
  storefrontUrl: string;
@@ -7760,172 +8169,41 @@ export type operations = {
7760
8169
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
7761
8170
  vatIds: [string, ...string[]];
7762
8171
  }
7763
- );
7764
- response: components["schemas"]["Customer"];
7765
- responseCode: 200;
7766
- };
7767
- "registerConfirm post /account/register-confirm": {
7768
- contentType?: "application/json";
7769
- accept?: "application/json";
7770
- body: {
7771
- /** Email hash from the email received */
7772
- em: string;
7773
- /** Hash from the email received */
7774
- hash: string;
7775
- };
7776
- response: never;
7777
- responseCode: 200;
7778
- };
7779
- "createShoppingList post /account/shopping-list": {
7780
- contentType?: "application/json";
7781
- accept?: "application/json";
7782
- body: {
7783
- lineItems?: {
7784
- [key: string]: {
7785
- /** Product id */
7786
- id: string;
7787
- /** Quantity of the product */
7788
- quantity: number;
7789
- };
7790
- };
7791
- /** Shopping list name */
7792
- name: string;
7793
- };
7794
- response: never;
7795
- responseCode: 204;
7796
- };
7797
- "removeShoppingLists delete /account/shopping-list": {
7798
- contentType?: "application/json";
7799
- accept?: "application/json";
7800
- body: {
7801
- /** Shopping list ids */
7802
- ids: string[];
7803
- };
7804
- response: never;
7805
- responseCode: 204;
7806
- };
7807
- "readShoppingList post /account/shopping-list/{id}": {
7808
- contentType?: "application/json";
7809
- accept?: "application/json";
7810
- pathParams: {
7811
- /** Identifier of the shopping list to be fetched */
7812
- id: string;
7813
- };
7814
- response: components["schemas"]["B2bComponentsShoppingList"];
7815
- responseCode: 200;
7816
- };
7817
- "updateShoppingList patch /account/shopping-list/{id}/change-name": {
7818
- contentType?: "application/json";
7819
- accept?: "application/json";
7820
- pathParams: {
7821
- /** Identifier of the shopping list to be fetched */
7822
- id: string;
7823
- };
7824
- body: {
7825
- /** Shopping list name */
7826
- name: string;
7827
- };
7828
- response: never;
7829
- responseCode: 204;
7830
- };
7831
- "duplicateShoppingList post /account/shopping-list/{id}/duplicate": {
7832
- contentType?: "application/json";
7833
- accept?: "application/json";
7834
- pathParams: {
7835
- /** Identifier of the shopping list to be fetched */
7836
- id: string;
7837
- };
7838
- body: {
7839
- /** Shopping list name */
7840
- name: string;
7841
- };
7842
- response: {
7843
- /** The generated id of the duplicated shopping list */
7844
- id?: string;
7845
- };
7846
- responseCode: 200;
7847
- };
7848
- "summaryShoppingList get /account/shopping-list/{id}/summary": {
7849
- contentType?: "application/json";
7850
- accept?: "application/json";
7851
- pathParams: {
7852
- /** Identifier of the shopping list to be fetched */
7853
- id: string;
7854
- };
7855
- response: {
7856
- price?: {
7857
- /**
7858
- * Format: float
7859
- * Net price of the cart
7860
- */
7861
- netPrice?: number;
7862
- /**
7863
- * Format: float
7864
- * Price for all line items in the cart
7865
- */
7866
- positionPrice?: number;
7867
- /** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
7868
- taxStatus?: string;
7869
- /**
7870
- * Format: float
7871
- * Total price of the cart, including shipping costs, discounts and taxes
7872
- */
7873
- totalPrice?: number;
7874
- };
7875
- };
8172
+ | {
8173
+ /**
8174
+ * Type of the customer account. Default value is 'private'.
8175
+ * @default private
8176
+ * @enum {string}
8177
+ */
8178
+ accountType?: "private";
8179
+ company?: null;
8180
+ vatIds?: null;
8181
+ }
8182
+ | {
8183
+ /**
8184
+ * Type of the customer account. Can be `private` or `business`.
8185
+ * @enum {string}
8186
+ */
8187
+ accountType: "business";
8188
+ /** Company of the customer. Only required when `accountType` is `business`. */
8189
+ company: string;
8190
+ /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
8191
+ vatIds: [string, ...string[]];
8192
+ }
8193
+ );
8194
+ response: components["schemas"]["Customer"];
7876
8195
  responseCode: 200;
7877
8196
  };
7878
- "addLineItems post /account/shopping-list/line-item/{id}/add": {
7879
- contentType?: "application/json";
7880
- accept?: "application/json";
7881
- pathParams: {
7882
- /** Identifier of the shopping list to be fetched */
7883
- id: string;
7884
- };
7885
- body: {
7886
- lineItems: {
7887
- [key: string]: {
7888
- /** Product id */
7889
- id: string;
7890
- /** Quantity of the product */
7891
- quantity: number;
7892
- };
7893
- };
7894
- };
7895
- response: never;
7896
- responseCode: 204;
7897
- };
7898
- "updateLineItems patch /account/shopping-list/line-item/{id}/change-quantity": {
7899
- contentType?: "application/json";
7900
- accept?: "application/json";
7901
- pathParams: {
7902
- /** Identifier of the shopping list line item to be fetched */
7903
- id: string;
7904
- };
7905
- body: {
7906
- /** new line item quantity */
7907
- quantity: number;
7908
- };
7909
- response: never;
7910
- responseCode: 204;
7911
- };
7912
- "removeLineItems delete /account/shopping-list/line-item/remove": {
8197
+ "registerConfirm post /account/register-confirm": {
7913
8198
  contentType?: "application/json";
7914
8199
  accept?: "application/json";
7915
8200
  body: {
7916
- /** Line items ids */
7917
- ids: string[];
8201
+ /** Email hash from the email received */
8202
+ em: string;
8203
+ /** Hash from the email received */
8204
+ hash: string;
7918
8205
  };
7919
8206
  response: never;
7920
- responseCode: 204;
7921
- };
7922
- "readShoppingLists post /account/shopping-lists": {
7923
- contentType?: "application/json";
7924
- accept?: "application/json";
7925
- body?: components["schemas"]["Criteria"];
7926
- response: {
7927
- elements?: components["schemas"]["B2bComponentsShoppingList"][];
7928
- } & components["schemas"]["EntitySearchResult"];
7929
8207
  responseCode: 200;
7930
8208
  };
7931
8209
  "generateJWTAppSystemAppServer post /app-system/{name}/generate-token": {
@@ -8158,11 +8436,16 @@ export type operations = {
8158
8436
  "sw-language-id"?: string;
8159
8437
  };
8160
8438
  body: {
8161
- // TODO: [OpenAPI][updateLineItem] - add proper request body type with required fields
8162
- items: Array<{
8163
- id: string;
8164
- quantity: number;
8165
- }>;
8439
+ items: [
8440
+ {
8441
+ id: string;
8442
+ quantity: number;
8443
+ },
8444
+ ...{
8445
+ id: string;
8446
+ quantity: number;
8447
+ }[],
8448
+ ];
8166
8449
  };
8167
8450
  response: components["schemas"]["Cart"];
8168
8451
  responseCode: 200;
@@ -8272,7 +8555,7 @@ export type operations = {
8272
8555
  /** Phone. This field may be required depending on the system settings. */
8273
8556
  phone?: string;
8274
8557
  /** Identifier of the salutation. Use `/api/salutation` endpoint to fetch possible values. */
8275
- salutationId: string;
8558
+ salutationId?: string;
8276
8559
  /** Identifier of the cms element */
8277
8560
  slotId?: string;
8278
8561
  /** The subject of the contact form. */
@@ -8436,7 +8719,7 @@ export type operations = {
8436
8719
  * The status you respond to
8437
8720
  * @enum {string}
8438
8721
  */
8439
- invitationStatus?: "accepted" | "maybe" | "declined";
8722
+ answer?: "accepted" | "maybe" | "declined";
8440
8723
  /** The token will be attached to the invitation response link in the invitation mail */
8441
8724
  token: string;
8442
8725
  };
@@ -8661,7 +8944,16 @@ export type operations = {
8661
8944
  response: components["schemas"]["CmsPage"];
8662
8945
  responseCode: 200;
8663
8946
  };
8664
- "readEmployees post /employee": {
8947
+ "readEmployees get /employee": {
8948
+ contentType?: "application/json";
8949
+ accept?: "application/json";
8950
+ body?: components["schemas"]["Criteria"];
8951
+ response: {
8952
+ elements?: components["schemas"]["B2bEmployee"][];
8953
+ } & components["schemas"]["EntitySearchResult"];
8954
+ responseCode: 200;
8955
+ };
8956
+ "readEmployeesPOST post /employee": {
8665
8957
  contentType?: "application/json";
8666
8958
  accept?: "application/json";
8667
8959
  body?: components["schemas"]["Criteria"];
@@ -8670,6 +8962,16 @@ export type operations = {
8670
8962
  } & components["schemas"]["EntitySearchResult"];
8671
8963
  responseCode: 200;
8672
8964
  };
8965
+ "readB2bEmployee get /employee/{id}": {
8966
+ contentType?: "application/json";
8967
+ accept?: "application/json";
8968
+ pathParams: {
8969
+ /** Identifier of the employee to be read */
8970
+ id: string;
8971
+ };
8972
+ response: components["schemas"]["B2bEmployee"];
8973
+ responseCode: 200;
8974
+ };
8673
8975
  "readEmployee post /employee/{id}": {
8674
8976
  contentType?: "application/json";
8675
8977
  accept?: "application/json";
@@ -8718,6 +9020,8 @@ export type operations = {
8718
9020
  email: string;
8719
9021
  /** First name of the new employee */
8720
9022
  firstName: string;
9023
+ /** Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee. */
9024
+ languageId: string;
8721
9025
  /** Last name of the new employee */
8722
9026
  lastName: string;
8723
9027
  /** Id of the role of the new employee */
@@ -9019,6 +9323,38 @@ export type operations = {
9019
9323
  response: components["schemas"]["PendingOrder"];
9020
9324
  responseCode: 200;
9021
9325
  };
9326
+ "readPermissions get /permission": {
9327
+ contentType?: "application/json";
9328
+ accept?: "application/json";
9329
+ response: {
9330
+ elements?: {
9331
+ permissionDependencies?: string[];
9332
+ permissionGroupName?: string;
9333
+ permissionName?: string;
9334
+ }[];
9335
+ } & components["schemas"]["EntitySearchResult"];
9336
+ responseCode: 200;
9337
+ };
9338
+ "addPermission post /permission": {
9339
+ contentType?: "application/json";
9340
+ accept?: "application/json";
9341
+ body: {
9342
+ /** Optional dependencies for the new permission */
9343
+ dependencies?: string[];
9344
+ /** Group of the new permission */
9345
+ group?: string;
9346
+ /** Name of the new permission */
9347
+ name?: string;
9348
+ };
9349
+ response: {
9350
+ elements?: {
9351
+ permissionDependencies?: string[];
9352
+ permissionGroupName?: string;
9353
+ permissionName?: string;
9354
+ }[];
9355
+ } & components["schemas"]["EntitySearchResult"];
9356
+ responseCode: 200;
9357
+ };
9022
9358
  "readProduct post /product": {
9023
9359
  contentType?: "application/json";
9024
9360
  accept?: "application/json";
@@ -9028,7 +9364,7 @@ export type operations = {
9028
9364
  };
9029
9365
  body?: components["schemas"]["Criteria"];
9030
9366
  response: {
9031
- elements: components["schemas"]["Product"][]; // TODO: [OpenAPI][readProduct]: add elements property as required
9367
+ elements: components["schemas"]["Product"][];
9032
9368
  } & components["schemas"]["EntitySearchResult"];
9033
9369
  responseCode: 200;
9034
9370
  };
@@ -9366,18 +9702,6 @@ export type operations = {
9366
9702
  response: never;
9367
9703
  responseCode: 204;
9368
9704
  };
9369
- "readPermissions get /role/permissions": {
9370
- contentType?: "application/json";
9371
- accept?: "application/json";
9372
- response: {
9373
- elements?: {
9374
- permissionDependencies?: string[];
9375
- permissionGroupName?: string;
9376
- permissionName?: string;
9377
- }[];
9378
- } & components["schemas"]["EntitySearchResult"];
9379
- responseCode: 200;
9380
- };
9381
9705
  "readSalutation post /salutation": {
9382
9706
  contentType?: "application/json";
9383
9707
  accept?: "application/json";
@@ -9519,11 +9843,168 @@ export type operations = {
9519
9843
  body?: components["schemas"]["Criteria"];
9520
9844
  response: {
9521
9845
  /** aggregation result */
9522
- aggregations?: Record<string, never>;
9523
- elements: components["schemas"]["ShippingMethod"][]; // TODO: [OpenAPI][readShippingMethod]: response should be `EntitySearchResult` and elements should be required
9846
+ aggregations?: GenericRecord;
9847
+ elements: components["schemas"]["ShippingMethod"][];
9524
9848
  /** Total amount */
9525
9849
  total?: number;
9850
+ } & components["schemas"]["EntitySearchResult"];
9851
+ responseCode: 200;
9852
+ };
9853
+ "createShoppingList post /shopping-list": {
9854
+ contentType?: "application/json";
9855
+ accept?: "application/json";
9856
+ body: {
9857
+ lineItems?: {
9858
+ [key: string]: {
9859
+ /** Product id */
9860
+ id: string;
9861
+ /** Quantity of the product */
9862
+ quantity: number;
9863
+ };
9864
+ };
9865
+ /** Shopping list name */
9866
+ name: string;
9867
+ };
9868
+ response: never;
9869
+ responseCode: 204;
9870
+ };
9871
+ "removeShoppingLists delete /shopping-list": {
9872
+ contentType?: "application/json";
9873
+ accept?: "application/json";
9874
+ body: {
9875
+ /** Shopping list ids */
9876
+ ids: string[];
9877
+ };
9878
+ response: never;
9879
+ responseCode: 204;
9880
+ };
9881
+ "readShoppingList post /shopping-list/{id}": {
9882
+ contentType?: "application/json";
9883
+ accept?: "application/json";
9884
+ pathParams: {
9885
+ /** Identifier of the shopping list to be fetched */
9886
+ id: string;
9887
+ };
9888
+ body?: components["schemas"]["Criteria"];
9889
+ response: components["schemas"]["B2bComponentsShoppingList"];
9890
+ responseCode: 200;
9891
+ };
9892
+ "addLineItems post /shopping-list/{id}/add": {
9893
+ contentType?: "application/json";
9894
+ accept?: "application/json";
9895
+ pathParams: {
9896
+ /** Identifier of the shopping list to be fetched */
9897
+ id: string;
9898
+ };
9899
+ body?: {
9900
+ lineItems: {
9901
+ [key: string]: {
9902
+ /** Product id */
9903
+ id: string;
9904
+ /** Quantity of the product */
9905
+ quantity: number;
9906
+ };
9907
+ };
9908
+ };
9909
+ response: never;
9910
+ responseCode: 204;
9911
+ };
9912
+ "updateShoppingList patch /shopping-list/{id}/change-name": {
9913
+ contentType?: "application/json";
9914
+ accept?: "application/json";
9915
+ pathParams: {
9916
+ /** Identifier of the shopping list to be fetched */
9917
+ id: string;
9918
+ };
9919
+ body: {
9920
+ /** Shopping list name */
9921
+ name: string;
9922
+ };
9923
+ response: never;
9924
+ responseCode: 204;
9925
+ };
9926
+ "duplicateShoppingList post /shopping-list/{id}/duplicate": {
9927
+ contentType?: "application/json";
9928
+ accept?: "application/json";
9929
+ pathParams: {
9930
+ /** Identifier of the shopping list to be fetched */
9931
+ id: string;
9932
+ };
9933
+ body: {
9934
+ /** Shopping list name */
9935
+ name: string;
9936
+ };
9937
+ response: {
9938
+ /** The generated id of the duplicated shopping list */
9939
+ id?: string;
9940
+ };
9941
+ responseCode: 200;
9942
+ };
9943
+ "summaryShoppingList get /shopping-list/{id}/summary": {
9944
+ contentType?: "application/json";
9945
+ accept?: "application/json";
9946
+ pathParams: {
9947
+ /** Identifier of the shopping list to be fetched */
9948
+ id: string;
9949
+ };
9950
+ response: {
9951
+ price?: {
9952
+ /**
9953
+ * Format: float
9954
+ * Net price of the cart
9955
+ */
9956
+ netPrice?: number;
9957
+ /**
9958
+ * Format: float
9959
+ * Price for all line items in the cart
9960
+ */
9961
+ positionPrice?: number;
9962
+ /** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
9963
+ taxStatus?: string;
9964
+ /**
9965
+ * Format: float
9966
+ * Total price of the cart, including shipping costs, discounts and taxes
9967
+ */
9968
+ totalPrice?: number;
9969
+ };
9970
+ };
9971
+ responseCode: 200;
9972
+ };
9973
+ "updateLineItems post /shopping-list/line-item/{id}/change-quantity": {
9974
+ contentType?: "application/json";
9975
+ accept?: "application/json";
9976
+ pathParams: {
9977
+ /** Identifier of the shopping list line item to be fetched */
9978
+ id: string;
9979
+ };
9980
+ body: {
9981
+ /** new line item quantity */
9982
+ quantity: number;
9983
+ };
9984
+ response: never;
9985
+ responseCode: 204;
9986
+ };
9987
+ "removeLineItems post /shopping-list/line-item/remove": {
9988
+ contentType?: "application/json";
9989
+ accept?: "application/json";
9990
+ body: {
9991
+ /** Line items ids */
9992
+ ids?: string[];
9993
+ /** List id */
9994
+ listId?: string;
9995
+ /** Product ids */
9996
+ productIds?: string[];
9526
9997
  };
9998
+ response: never;
9999
+ responseCode: 204;
10000
+ };
10001
+ "readShoppingLists post /shopping-lists": {
10002
+ contentType?: "application/json";
10003
+ accept?: "application/json";
10004
+ body?: components["schemas"]["Criteria"];
10005
+ response: {
10006
+ elements?: components["schemas"]["B2bComponentsShoppingList"][];
10007
+ } & components["schemas"]["EntitySearchResult"];
9527
10008
  responseCode: 200;
9528
10009
  };
9529
10010
  "addShoppingListsToCart post /shopping-lists/add-to-cart": {