@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.
package/dist/index.d.mts CHANGED
@@ -30,7 +30,7 @@ type ClientHeadersProxy = ClientHeaders & {
30
30
  * This file is auto-generated. Do not make direct changes to the file.
31
31
  * Instead override it in your shopware.d.ts file.
32
32
  *
33
- * Shopware API version: 6.6.6.0
33
+ * Shopware API version: 6.6.8.0
34
34
  *
35
35
  */
36
36
  type GenericRecord$1 =
@@ -145,6 +145,18 @@ type Schemas$1 = {
145
145
  /** Format: date-time */
146
146
  readonly updatedAt?: string;
147
147
  };
148
+ Aggregation:
149
+ | components$1["schemas"]["AggregationMetrics"]
150
+ | (components$1["schemas"]["AggregationEntity"] &
151
+ components$1["schemas"]["SubAggregations"])
152
+ | (components$1["schemas"]["AggregationFilter"] &
153
+ components$1["schemas"]["SubAggregations"])
154
+ | (components$1["schemas"]["AggregationTerms"] &
155
+ components$1["schemas"]["SubAggregations"])
156
+ | (components$1["schemas"]["AggregationHistogram"] &
157
+ components$1["schemas"]["SubAggregations"])
158
+ | (components$1["schemas"]["AggregationRange"] &
159
+ components$1["schemas"]["SubAggregations"]);
148
160
  AggregationEntity: {
149
161
  /** The entity definition e.g "product_manufacturer". */
150
162
  definition: string;
@@ -234,19 +246,6 @@ type Schemas$1 = {
234
246
  */
235
247
  type: "terms";
236
248
  };
237
- Aggregations: (
238
- | components$1["schemas"]["AggregationMetrics"]
239
- | (components$1["schemas"]["AggregationEntity"] &
240
- components$1["schemas"]["SubAggregations"])
241
- | (components$1["schemas"]["AggregationFilter"] &
242
- components$1["schemas"]["SubAggregations"])
243
- | (components$1["schemas"]["AggregationTerms"] &
244
- components$1["schemas"]["SubAggregations"])
245
- | (components$1["schemas"]["AggregationHistogram"] &
246
- components$1["schemas"]["SubAggregations"])
247
- | (components$1["schemas"]["AggregationRange"] &
248
- components$1["schemas"]["SubAggregations"])
249
- )[];
250
249
  App: {
251
250
  /** Format: date-time */
252
251
  readonly createdAt?: string;
@@ -342,15 +341,18 @@ type Schemas$1 = {
342
341
  * @default false
343
342
  */
344
343
  canSendRequestEmail?: boolean;
345
- /** The mode of the interaction */
346
- mode?: string;
344
+ /**
345
+ * The mode of the interaction
346
+ * @enum {string}
347
+ */
348
+ mode?: "guided" | "self";
347
349
  /** The name of the sales channel */
348
350
  salesChannelName?: string;
349
351
  /**
350
352
  * The video and audio settings
351
353
  * @enum {string}
352
354
  */
353
- videoAudioSettings?: "none" | "both" | "audio_only";
355
+ videoAudioSettings?: "none" | "both" | "audio-only";
354
356
  };
355
357
  ApprovalRule: {
356
358
  active?: boolean;
@@ -368,6 +370,9 @@ type Schemas$1 = {
368
370
  Association: {
369
371
  [key: string]: components$1["schemas"]["Association"];
370
372
  };
373
+ Associations: {
374
+ [key: string]: components$1["schemas"]["Criteria"];
375
+ };
371
376
  AttendeeProductCollectionLastSeenResponse: {
372
377
  collection?: {
373
378
  lastSeen?: string[];
@@ -680,6 +685,24 @@ type Schemas$1 = {
680
685
  /** Format: date-time */
681
686
  readonly updatedAt?: string;
682
687
  };
688
+ BaseInteraction: {
689
+ /**
690
+ * The time in seconds how long the interaction should be stored in the database
691
+ * @default -1
692
+ */
693
+ lifeTimeInSeconds?: number;
694
+ /**
695
+ * The time when the interaction was triggered
696
+ * @default now
697
+ */
698
+ triggeredAt?: string;
699
+ };
700
+ BasePresentationSlideData: {
701
+ cmsPage?: components$1["schemas"]["CmsPage"];
702
+ extensions?: {
703
+ cmsPageRelation?: components$1["schemas"]["PresentationCmsPage"];
704
+ };
705
+ };
683
706
  Breadcrumb: {
684
707
  /** @enum {string} */
685
708
  apiAlias: "breadcrumb";
@@ -707,11 +730,7 @@ type Schemas$1 = {
707
730
  /** @enum {string} */
708
731
  type: "page" | "link" | "folder";
709
732
  };
710
- BreadcrumbCollection: {
711
- /** @enum {string} */
712
- apiAlias: "breadcrumb_collection";
713
- breadcrumbs: components$1["schemas"]["Breadcrumb"][];
714
- };
733
+ BreadcrumbCollection: components$1["schemas"]["Breadcrumb"][];
715
734
  CalculatedPrice: {
716
735
  /** @enum {string} */
717
736
  apiAlias: "calculated_price";
@@ -844,7 +863,7 @@ type Schemas$1 = {
844
863
  messageKey: string;
845
864
  };
846
865
  CartItems: {
847
- items?: components$1["schemas"]["LineItem"][];
866
+ items: components$1["schemas"]["LineItem"][];
848
867
  };
849
868
  CartListPrice: {
850
869
  /** @enum {string} */
@@ -1125,7 +1144,6 @@ type Schemas$1 = {
1125
1144
  ClientPresentationStateResponse: {
1126
1145
  stateForAll?: components$1["schemas"]["StateForAll"];
1127
1146
  stateForClients?: components$1["schemas"]["StateForClients"];
1128
- stateForMe?: components$1["schemas"]["StateForMe"];
1129
1147
  };
1130
1148
  CmsBlock: {
1131
1149
  /** @enum {string} */
@@ -1319,7 +1337,26 @@ type Schemas$1 = {
1319
1337
  cmsBlockVersionId?: string;
1320
1338
  /** Format: date-time */
1321
1339
  readonly createdAt?: string;
1322
- customFields?: GenericRecord$1;
1340
+ customFields?: {
1341
+ _uniqueIdentifier?: string;
1342
+ };
1343
+ extensions?: {
1344
+ swagCmsExtensionsForm?: {
1345
+ data?: {
1346
+ /** @example 0654ad514da002e9d77fa24ee33acd95 */
1347
+ id?: string;
1348
+ /** @example swag_cms_extensions_form */
1349
+ type?: string;
1350
+ };
1351
+ links?: {
1352
+ /**
1353
+ * Format: uri-reference
1354
+ * @example /cms-slot/ac5ca6960137c6b8a97c90c11b71d4bb/swagCmsExtensionsForm
1355
+ */
1356
+ related?: string;
1357
+ };
1358
+ };
1359
+ };
1323
1360
  fieldConfig?: GenericRecord$1;
1324
1361
  id: string;
1325
1362
  locked?: boolean;
@@ -1327,6 +1364,11 @@ type Schemas$1 = {
1327
1364
  translated: {
1328
1365
  blockId: string;
1329
1366
  cmsBlockVersionId: string;
1367
+ config?: {
1368
+ content?: {
1369
+ value?: string;
1370
+ };
1371
+ };
1330
1372
  slot: string;
1331
1373
  type: string;
1332
1374
  versionId: string;
@@ -1507,55 +1549,9 @@ type Schemas$1 = {
1507
1549
  /** The subject of the appointment */
1508
1550
  subject: string;
1509
1551
  };
1510
- CreateInteractionRequestBody: {
1511
- /**
1512
- * The time in seconds how long the interaction should be stored in the database
1513
- * @default -1
1514
- */
1515
- lifeTimeInSeconds?: number;
1516
- /**
1517
- * the name of the interaction
1518
- * @enum {string}
1519
- */
1520
- name:
1521
- | "keep.alive"
1522
- | "product.viewed"
1523
- | "quickview.opened"
1524
- | "quickview.closed"
1525
- | "dynamicPage.opened"
1526
- | "dynamicProductPage.opened"
1527
- | "dynamicPage.closed"
1528
- | "page.viewed"
1529
- | "guide.hovered"
1530
- | "attendee.product.collection.liked"
1531
- | "attendee.product.collection.disliked"
1532
- | "attendee.product.collection.removed"
1533
- | "attendee.leave"
1534
- | "remote.checkout.accepted"
1535
- | "remote.checkout.denied"
1536
- | "broadcastMode.toggled"
1537
- | "viewMode.changed"
1538
- | "screenSharing.toggled";
1539
- payload:
1540
- | components$1["schemas"]["EmptyPayload"]
1541
- | components$1["schemas"]["ProductPayload"]
1542
- | components$1["schemas"]["DynamicPageOpenedPayload"]
1543
- | components$1["schemas"]["DynamicProductPageOpenedPayload"]
1544
- | components$1["schemas"]["DynamicPageClosedPayload"]
1545
- | components$1["schemas"]["PageViewedPayload"]
1546
- | components$1["schemas"]["GuideHoveredPayload"]
1547
- | components$1["schemas"]["ToggleBroadcastModePayload"]
1548
- | components$1["schemas"]["ViewModeChangedPayload"]
1549
- | components$1["schemas"]["ScreenSharingToggledPayload"];
1550
- /**
1551
- * The time when the interaction was triggered
1552
- * @default now
1553
- */
1554
- triggeredAt?: string;
1555
- };
1552
+ CreateInteractionRequestBody: components$1["schemas"]["DynamicInteractionBody"];
1556
1553
  Criteria: {
1557
- aggregations?: components$1["schemas"]["Aggregations"];
1558
- /** Associations to include. For more information, see [Search Queries > Associations](https://shopware.stoplight.io/docs/store-api/cf710bf73d0cd-search-queries#associations) */
1554
+ aggregations?: components$1["schemas"]["Aggregation"][];
1559
1555
  associations?: components$1["schemas"]["Association"];
1560
1556
  /** Fields which should be returned in the search result. */
1561
1557
  fields?: string[];
@@ -1570,7 +1566,7 @@ type Schemas$1 = {
1570
1566
  grouping?: string[];
1571
1567
  /** List of ids to search for */
1572
1568
  ids?: string[];
1573
- includes?: components$1["schemas"]["Include"];
1569
+ includes?: components$1["schemas"]["Includes"];
1574
1570
  /** Number of items per result page */
1575
1571
  limit?: number;
1576
1572
  /** Search result page */
@@ -1818,6 +1814,16 @@ type Schemas$1 = {
1818
1814
  company: string;
1819
1815
  vatIds: [string, ...string[]];
1820
1816
  }
1817
+ | {
1818
+ /** @enum {string} */
1819
+ accountType: "private";
1820
+ }
1821
+ | {
1822
+ /** @enum {string} */
1823
+ accountType: "business";
1824
+ company: string;
1825
+ vatIds: [string, ...string[]];
1826
+ }
1821
1827
  );
1822
1828
  CustomerAddress: {
1823
1829
  additionalAddressLine1?: string;
@@ -1957,6 +1963,14 @@ type Schemas$1 = {
1957
1963
  /** Format: date-time */
1958
1964
  readonly updatedAt?: string;
1959
1965
  };
1966
+ DiscountLineItemPayload: {
1967
+ /** Format: float */
1968
+ discountPrice?: number;
1969
+ /** @enum {string} */
1970
+ discountType?: "percentage" | "absolute";
1971
+ /** Format: float */
1972
+ discountValue?: number;
1973
+ };
1960
1974
  Document: {
1961
1975
  config: {
1962
1976
  name: string;
@@ -2093,7 +2107,6 @@ type Schemas$1 = {
2093
2107
  customFields?: GenericRecord$1;
2094
2108
  id?: string;
2095
2109
  name?: string;
2096
- startAsBroadcast?: boolean;
2097
2110
  /** Format: date-time */
2098
2111
  readonly updatedAt?: string;
2099
2112
  url?: string;
@@ -2171,42 +2184,69 @@ type Schemas$1 = {
2171
2184
  /** Format: date-time */
2172
2185
  readonly updatedAt?: string;
2173
2186
  };
2187
+ DynamicInteractionBody:
2188
+ | components$1["schemas"]["EmptyInteraction"]
2189
+ | components$1["schemas"]["ProductInteraction"]
2190
+ | components$1["schemas"]["DynamicPageOpenedInteraction"]
2191
+ | components$1["schemas"]["DynamicPageClosedInteraction"]
2192
+ | components$1["schemas"]["DynamicProductPageOpenedInteraction"]
2193
+ | components$1["schemas"]["PageViewedInteraction"]
2194
+ | components$1["schemas"]["GuideHoveredInteraction"]
2195
+ | components$1["schemas"]["ToggleBroadcastModeInteraction"]
2196
+ | components$1["schemas"]["ViewModeChangedInteraction"]
2197
+ | components$1["schemas"]["ScreenSharingToggledInteraction"];
2198
+ DynamicPageClosedInteraction: components$1["schemas"]["BaseInteraction"] & {
2199
+ name: string;
2200
+ payload: components$1["schemas"]["DynamicPageClosedPayload"];
2201
+ } & {
2202
+ /**
2203
+ * discriminator enum property added by openapi-typescript
2204
+ * @enum {string}
2205
+ */
2206
+ name: "dynamicPage.closed";
2207
+ };
2174
2208
  DynamicPageClosedPayload: {
2175
2209
  /**
2176
2210
  * Whether all pages were closed
2177
2211
  * @default false
2178
2212
  */
2179
2213
  all?: boolean;
2180
- /**
2181
- * discriminator enum property added by openapi-typescript
2182
- * @enum {string}
2183
- */
2184
- name: "dynamicPage.closed";
2185
2214
  /** The id of the page that was closed */
2186
2215
  pageId?: string | null;
2187
2216
  };
2188
- DynamicPageOpenedPayload: components$1["schemas"]["AbstractDynamicPageOpenedPayload"] & {
2217
+ DynamicPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
2218
+ name: string;
2219
+ payload: components$1["schemas"]["DynamicPageOpenedPayload"];
2220
+ } & {
2189
2221
  /**
2190
2222
  * discriminator enum property added by openapi-typescript
2191
2223
  * @enum {string}
2192
2224
  */
2193
2225
  name: "dynamicPage.opened";
2194
2226
  };
2227
+ DynamicPageOpenedPayload: components$1["schemas"]["AbstractDynamicPageOpenedPayload"];
2195
2228
  DynamicProductListingPageOpenedPayload: {
2196
2229
  /** Current page position in the pagination */
2197
2230
  page: number;
2198
2231
  };
2199
- DynamicProductPageOpenedPayload: {
2200
- /** the id from the product which is shown on the dynamic page */
2201
- productId: string;
2202
- } & (components$1["schemas"]["AbstractDynamicPageOpenedPayload"] & {
2232
+ DynamicProductPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
2233
+ name: string;
2234
+ payload: components$1["schemas"]["DynamicProductPageOpenedPayload"];
2235
+ } & {
2203
2236
  /**
2204
2237
  * discriminator enum property added by openapi-typescript
2205
2238
  * @enum {string}
2206
2239
  */
2207
2240
  name: "dynamicProductPage.opened";
2208
- });
2209
- EmptyPayload: {
2241
+ };
2242
+ DynamicProductPageOpenedPayload: {
2243
+ /** the id from the product which is shown on the dynamic page */
2244
+ productId: string;
2245
+ } & components$1["schemas"]["AbstractDynamicPageOpenedPayload"];
2246
+ EmptyInteraction: components$1["schemas"]["BaseInteraction"] & {
2247
+ name: string;
2248
+ payload: GenericRecord$1;
2249
+ } & {
2210
2250
  /**
2211
2251
  * discriminator enum property added by openapi-typescript
2212
2252
  * @enum {string}
@@ -2219,6 +2259,7 @@ type Schemas$1 = {
2219
2259
  | "remote.checkout.accepted"
2220
2260
  | "remote.checkout.denied";
2221
2261
  };
2262
+ EmptyPayload: Record<string, never>;
2222
2263
  EntitySearchResult: {
2223
2264
  /** Contains aggregated data. A simple example is the determination of the average price from a product search query. */
2224
2265
  aggregations?: GenericRecord$1[];
@@ -2269,14 +2310,19 @@ type Schemas$1 = {
2269
2310
  /** Format: date-time */
2270
2311
  readonly updatedAt?: string;
2271
2312
  };
2272
- GuideHoveredPayload: {
2273
- hoveredElementId?: string | null;
2313
+ GuideHoveredInteraction: components$1["schemas"]["BaseInteraction"] & {
2314
+ name: string;
2315
+ payload: components$1["schemas"]["GuideHoveredPayload"];
2316
+ } & {
2274
2317
  /**
2275
2318
  * discriminator enum property added by openapi-typescript
2276
2319
  * @enum {string}
2277
2320
  */
2278
2321
  name: "guide.hovered";
2279
2322
  };
2323
+ GuideHoveredPayload: {
2324
+ hoveredElementId?: string | null;
2325
+ };
2280
2326
  ImportExportFile: {
2281
2327
  /** Format: date-time */
2282
2328
  readonly createdAt?: string;
@@ -2298,7 +2344,7 @@ type Schemas$1 = {
2298
2344
  /** Format: date-time */
2299
2345
  readonly updatedAt?: string;
2300
2346
  };
2301
- Include: {
2347
+ Includes: {
2302
2348
  [key: string]: string[];
2303
2349
  };
2304
2350
  Integration: {
@@ -2313,6 +2359,13 @@ type Schemas$1 = {
2313
2359
  appointmentName?: string;
2314
2360
  /** The created Id for the attendee */
2315
2361
  attendeeId?: string;
2362
+ /** The name of the attendee */
2363
+ attendeeName?: string | null;
2364
+ /** The b2b features that available for the appointment */
2365
+ b2bFeatures?: {
2366
+ /** To know if the quote management is enabled for current customer */
2367
+ quoteManagement?: boolean;
2368
+ };
2316
2369
  /** The appointment id */
2317
2370
  id?: string;
2318
2371
  /** To see if it's a preview appointment */
@@ -2338,6 +2391,8 @@ type Schemas$1 = {
2338
2391
  salesChannelId?: string;
2339
2392
  /** The name of the current sales channel */
2340
2393
  salesChannelName?: string;
2394
+ /** The video user id that attendee could use */
2395
+ videoUserId?: string | null;
2341
2396
  };
2342
2397
  LandingPage: {
2343
2398
  active?: boolean;
@@ -2528,6 +2583,14 @@ type Schemas$1 = {
2528
2583
  dataTimestamp?: string;
2529
2584
  deliveryInformation: components$1["schemas"]["CartDeliveryInformation"];
2530
2585
  description?: string;
2586
+ extensions?: {
2587
+ meta?: {
2588
+ attendees?: {
2589
+ id: string;
2590
+ name: string;
2591
+ }[];
2592
+ };
2593
+ };
2531
2594
  good?: boolean;
2532
2595
  id: string;
2533
2596
  label?: string;
@@ -2582,7 +2645,9 @@ type Schemas$1 = {
2582
2645
  | "promotion"
2583
2646
  | "discount"
2584
2647
  | "container"
2585
- | "quantity";
2648
+ | "quantity"
2649
+ | "dsr-line-item-discount"
2650
+ | "dsr-cart-discount";
2586
2651
  ListPrice: {
2587
2652
  /** @enum {string} */
2588
2653
  apiAlias: "cart_list_price";
@@ -2641,6 +2706,23 @@ type Schemas$1 = {
2641
2706
  /** Format: date-time */
2642
2707
  readonly createdAt?: string;
2643
2708
  customFields?: GenericRecord$1;
2709
+ extensions?: {
2710
+ swagCmsExtensionsForms?: {
2711
+ data?: {
2712
+ /** @example a08561237fe1e2a012502c820a08405d */
2713
+ id?: string;
2714
+ /** @example swag_cms_extensions_form */
2715
+ type?: string;
2716
+ }[];
2717
+ links?: {
2718
+ /**
2719
+ * Format: uri-reference
2720
+ * @example /mail-template/901aa1bf1715ad482f037eaa8b9cdc3a/swagCmsExtensionsForms
2721
+ */
2722
+ related?: string;
2723
+ };
2724
+ };
2725
+ };
2644
2726
  id?: string;
2645
2727
  mailTemplateType?: components$1["schemas"]["MailTemplateType"];
2646
2728
  media?: components$1["schemas"]["MailTemplateMedia"][];
@@ -2727,7 +2809,7 @@ type Schemas$1 = {
2727
2809
  };
2728
2810
  };
2729
2811
  readonly fileExtension: string;
2730
- readonly fileName: string;
2812
+ fileName: string;
2731
2813
  /** Format: int64 */
2732
2814
  readonly fileSize?: number;
2733
2815
  /** Runtime field, cannot be used as part of the criteria. */
@@ -2739,7 +2821,7 @@ type Schemas$1 = {
2739
2821
  /** Format: int64 */
2740
2822
  width?: number;
2741
2823
  };
2742
- readonly mimeType?: string;
2824
+ mimeType?: string;
2743
2825
  path: string;
2744
2826
  private: boolean;
2745
2827
  thumbnails?: components$1["schemas"]["MediaThumbnail"][];
@@ -2828,7 +2910,7 @@ type Schemas$1 = {
2828
2910
  };
2829
2911
  MultiNotFilter: {
2830
2912
  /** @enum {string} */
2831
- operator: "AND" | "and" | "OR" | "or";
2913
+ operator: "and" | "or" | "nor" | "nand";
2832
2914
  queries: components$1["schemas"]["Filters"];
2833
2915
  /** @enum {string} */
2834
2916
  type: "multi" | "not";
@@ -2917,6 +2999,21 @@ type Schemas$1 = {
2917
2999
  deliveries?: components$1["schemas"]["OrderDelivery"][];
2918
3000
  documents: components$1["schemas"]["Document"][];
2919
3001
  extensions?: {
3002
+ quote?: {
3003
+ data?: {
3004
+ /** @example 7a674c327bfa07f7c1204fb38ca6ef3b */
3005
+ id?: string;
3006
+ /** @example quote */
3007
+ type?: string;
3008
+ };
3009
+ links?: {
3010
+ /**
3011
+ * Format: uri-reference
3012
+ * @example /order/a240fa27925a635b08dc28c9e4f9216d/quote
3013
+ */
3014
+ related?: string;
3015
+ };
3016
+ };
2920
3017
  returns?: {
2921
3018
  data?: {
2922
3019
  /** @example 7fff84525c6516919851a9005373f87e */
@@ -3546,12 +3643,17 @@ type Schemas$1 = {
3546
3643
  /** Format: date-time */
3547
3644
  readonly updatedAt?: string;
3548
3645
  };
3549
- PageViewedPayload: {
3646
+ PageViewedInteraction: components$1["schemas"]["BaseInteraction"] & {
3647
+ name: string;
3648
+ payload: components$1["schemas"]["PageViewedPayload"];
3649
+ } & {
3550
3650
  /**
3551
3651
  * discriminator enum property added by openapi-typescript
3552
3652
  * @enum {string}
3553
3653
  */
3554
3654
  name: "page.viewed";
3655
+ };
3656
+ PageViewedPayload: {
3555
3657
  /** the id from the page which was viewed */
3556
3658
  pageId: string;
3557
3659
  pageNumber?: number | null;
@@ -3690,23 +3792,21 @@ type Schemas$1 = {
3690
3792
  /** Format: date-time */
3691
3793
  readonly updatedAt?: string;
3692
3794
  };
3795
+ PresentationCmsPage: components$1["schemas"]["DsrPresentationCmsPage"] & {
3796
+ /** The product id is assigned to presentation if it's product listing or instant listing */
3797
+ pickedProductIds?: string[] | null;
3798
+ };
3693
3799
  PresentationSlideData: {
3800
+ category?: components$1["schemas"]["Category"];
3694
3801
  cmsPage?: components$1["schemas"]["CmsPage"];
3802
+ configurator?: components$1["schemas"]["PropertyGroup"][];
3695
3803
  extensions?: {
3696
- cmsPageRelation?: components$1["schemas"]["DsrPresentationCmsPage"];
3804
+ cmsPageRelation?: components$1["schemas"]["PresentationCmsPage"];
3697
3805
  };
3698
- } & (
3699
- | {
3700
- configurator?: components$1["schemas"]["PropertyGroup"][];
3701
- product?: components$1["schemas"]["Product"];
3702
- }
3703
- | {
3704
- category?: components$1["schemas"]["Category"];
3705
- }
3706
- | null
3707
- );
3806
+ product?: components$1["schemas"]["Product"];
3807
+ };
3708
3808
  PresentationStructure: {
3709
- cmsPageResults?: {
3809
+ cmsPageResults: {
3710
3810
  cmsPage?: components$1["schemas"]["CmsPage"];
3711
3811
  /** The presentation id */
3712
3812
  resourceIdentifier?: string;
@@ -3716,15 +3816,15 @@ type Schemas$1 = {
3716
3816
  */
3717
3817
  resourceType?: string;
3718
3818
  }[];
3719
- navigation?: {
3819
+ navigation: {
3720
3820
  /** The CMS page id */
3721
- cmsPageId?: string;
3821
+ cmsPageId: string;
3722
3822
  /** The presentation CMS page id */
3723
- groupId?: string;
3823
+ groupId: string;
3724
3824
  /** The slide name */
3725
- groupName?: string;
3825
+ groupName: string;
3726
3826
  /** The slide position */
3727
- index?: number;
3827
+ index: number;
3728
3828
  /** If the slide is an instant listing */
3729
3829
  isInstantListing?: boolean;
3730
3830
  /** @default [] */
@@ -3732,9 +3832,9 @@ type Schemas$1 = {
3732
3832
  /** The number of picked products of the instant listing */
3733
3833
  pickedProductsCount?: number;
3734
3834
  /** The section id */
3735
- sectionId?: string;
3835
+ sectionId: string;
3736
3836
  /** The section name */
3737
- sectionName?: string | null;
3837
+ sectionName: string | null;
3738
3838
  }[];
3739
3839
  };
3740
3840
  Price: {
@@ -4040,6 +4140,20 @@ type Schemas$1 = {
4040
4140
  /** Format: date-time */
4041
4141
  readonly updatedAt?: string;
4042
4142
  };
4143
+ ProductInteraction: components$1["schemas"]["BaseInteraction"] & {
4144
+ name: string;
4145
+ payload: components$1["schemas"]["ProductPayload"];
4146
+ } & {
4147
+ /**
4148
+ * discriminator enum property added by openapi-typescript
4149
+ * @enum {string}
4150
+ */
4151
+ name:
4152
+ | "product.viewed"
4153
+ | "attendee.product.collection.liked"
4154
+ | "attendee.product.collection.disliked"
4155
+ | "attendee.product.collection.removed";
4156
+ };
4043
4157
  ProductJsonApi: components$1["schemas"]["resource"] & {
4044
4158
  active?: boolean;
4045
4159
  readonly available?: boolean;
@@ -4549,16 +4663,16 @@ type Schemas$1 = {
4549
4663
  weight?: number;
4550
4664
  /** Format: float */
4551
4665
  width?: number;
4552
- } & {
4553
- options: {
4554
- group: string;
4555
- option: string;
4556
- translated: {
4666
+ } & components$1["schemas"]["DiscountLineItemPayload"] & {
4667
+ options: {
4557
4668
  group: string;
4558
4669
  option: string;
4559
- };
4560
- }[];
4561
- };
4670
+ translated: {
4671
+ group: string;
4672
+ option: string;
4673
+ };
4674
+ }[];
4675
+ };
4562
4676
  ProductKeywordDictionary: {
4563
4677
  id?: string;
4564
4678
  keyword: string;
@@ -4712,15 +4826,6 @@ type Schemas$1 = {
4712
4826
  product?: components$1["schemas"]["Product"];
4713
4827
  };
4714
4828
  ProductPayload: {
4715
- /**
4716
- * discriminator enum property added by openapi-typescript
4717
- * @enum {string}
4718
- */
4719
- name:
4720
- | "product.viewed"
4721
- | "attendee.product.collection.liked"
4722
- | "attendee.product.collection.disliked"
4723
- | "attendee.product.collection.removed";
4724
4829
  /** the id from the product which is used in the interaction */
4725
4830
  productId: string;
4726
4831
  };
@@ -5155,25 +5260,222 @@ type Schemas$1 = {
5155
5260
  /** Format: date-time */
5156
5261
  readonly updatedAt?: string;
5157
5262
  };
5158
- QuoteLineItem: {
5159
- children: components$1["schemas"]["QuoteLineItem"][];
5160
- cover?: components$1["schemas"]["Media"];
5161
- coverId?: string;
5263
+ QuoteJsonApi: components$1["schemas"]["resource"] & {
5264
+ /** Format: float */
5265
+ readonly amountNet?: number;
5266
+ /** Format: float */
5267
+ readonly amountTotal?: number;
5162
5268
  /** Format: date-time */
5163
5269
  readonly createdAt?: string;
5270
+ createdById?: string;
5271
+ currencyId: string;
5272
+ customerId: string;
5164
5273
  customFields?: GenericRecord$1;
5165
- description?: string;
5166
5274
  discount?: {
5167
5275
  type?: string;
5168
- /** Format: int64 */
5276
+ /** Format: float */
5169
5277
  value?: number;
5170
5278
  };
5171
- good?: boolean;
5279
+ /** Format: date-time */
5280
+ expirationDate?: string;
5172
5281
  id: string;
5173
- identifier: string;
5174
- label: string;
5175
- parent?: components$1["schemas"]["QuoteLineItem"];
5176
- parentId?: string;
5282
+ languageId: string;
5283
+ orderId?: string;
5284
+ orderVersionId?: string;
5285
+ price?: {
5286
+ calculatedTaxes?: GenericRecord$1;
5287
+ /** Format: float */
5288
+ netPrice: number;
5289
+ /** Format: float */
5290
+ positionPrice: number;
5291
+ /** Format: float */
5292
+ rawTotal: number;
5293
+ taxRules?: GenericRecord$1;
5294
+ taxStatus: string;
5295
+ /** Format: float */
5296
+ totalPrice: number;
5297
+ };
5298
+ quoteNumber?: string;
5299
+ relationships?: {
5300
+ comments?: {
5301
+ data?: {
5302
+ /** @example a5d491060952aa8ad5fdee071be752de */
5303
+ id?: string;
5304
+ /** @example quote_comment */
5305
+ type?: string;
5306
+ }[];
5307
+ links?: {
5308
+ /**
5309
+ * Format: uri-reference
5310
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/comments
5311
+ */
5312
+ related?: string;
5313
+ };
5314
+ };
5315
+ currency?: {
5316
+ data?: {
5317
+ /** @example 1af0389838508d7016a9841eb6273962 */
5318
+ id?: string;
5319
+ /** @example currency */
5320
+ type?: string;
5321
+ };
5322
+ links?: {
5323
+ /**
5324
+ * Format: uri-reference
5325
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/currency
5326
+ */
5327
+ related?: string;
5328
+ };
5329
+ };
5330
+ deliveries?: {
5331
+ data?: {
5332
+ /** @example 6fc31b6b9cd717cc0dcb81152308f8af */
5333
+ id?: string;
5334
+ /** @example quote_delivery */
5335
+ type?: string;
5336
+ }[];
5337
+ links?: {
5338
+ /**
5339
+ * Format: uri-reference
5340
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/deliveries
5341
+ */
5342
+ related?: string;
5343
+ };
5344
+ };
5345
+ documents?: {
5346
+ data?: {
5347
+ /** @example 21f64da1e5792c8295b964d159a14491 */
5348
+ id?: string;
5349
+ /** @example quote_document */
5350
+ type?: string;
5351
+ }[];
5352
+ links?: {
5353
+ /**
5354
+ * Format: uri-reference
5355
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/documents
5356
+ */
5357
+ related?: string;
5358
+ };
5359
+ };
5360
+ language?: {
5361
+ data?: {
5362
+ /** @example 8512ae7d57b1396273f76fe6ed341a23 */
5363
+ id?: string;
5364
+ /** @example language */
5365
+ type?: string;
5366
+ };
5367
+ links?: {
5368
+ /**
5369
+ * Format: uri-reference
5370
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/language
5371
+ */
5372
+ related?: string;
5373
+ };
5374
+ };
5375
+ lineItems?: {
5376
+ data?: {
5377
+ /** @example a042af1aa9f3853fe3cd7dabc065568f */
5378
+ id?: string;
5379
+ /** @example quote_line_item */
5380
+ type?: string;
5381
+ }[];
5382
+ links?: {
5383
+ /**
5384
+ * Format: uri-reference
5385
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/lineItems
5386
+ */
5387
+ related?: string;
5388
+ };
5389
+ };
5390
+ stateMachineState?: {
5391
+ data?: {
5392
+ /** @example 1ab22d393154f21e3be76aca3ec3ee31 */
5393
+ id?: string;
5394
+ /** @example state_machine_state */
5395
+ type?: string;
5396
+ };
5397
+ links?: {
5398
+ /**
5399
+ * Format: uri-reference
5400
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/stateMachineState
5401
+ */
5402
+ related?: string;
5403
+ };
5404
+ };
5405
+ transactions?: {
5406
+ data?: {
5407
+ /** @example c15b977dd99332ca8623fbdfb86827e8 */
5408
+ id?: string;
5409
+ /** @example quote_transaction */
5410
+ type?: string;
5411
+ }[];
5412
+ links?: {
5413
+ /**
5414
+ * Format: uri-reference
5415
+ * @example /quote/c48e929b2b1eabba2ba036884433345e/transactions
5416
+ */
5417
+ related?: string;
5418
+ };
5419
+ };
5420
+ };
5421
+ salesChannelId: string;
5422
+ /** Format: date-time */
5423
+ sentAt?: string;
5424
+ shippingCosts?: {
5425
+ calculatedTaxes?: GenericRecord$1;
5426
+ listPrice?: {
5427
+ /** Format: float */
5428
+ discount?: number;
5429
+ /** Format: float */
5430
+ percentage?: number;
5431
+ /** Format: float */
5432
+ price?: number;
5433
+ };
5434
+ /** Format: int64 */
5435
+ quantity: number;
5436
+ referencePrice?: GenericRecord$1;
5437
+ regulationPrice?: {
5438
+ /** Format: float */
5439
+ price?: number;
5440
+ };
5441
+ taxRules?: GenericRecord$1;
5442
+ /** Format: float */
5443
+ totalPrice: number;
5444
+ /** Format: float */
5445
+ unitPrice: number;
5446
+ };
5447
+ stateId: string;
5448
+ /** Format: float */
5449
+ subtotalNet?: number;
5450
+ readonly taxStatus?: string;
5451
+ /** Format: float */
5452
+ totalDiscount?: number;
5453
+ /** Format: date-time */
5454
+ readonly updatedAt?: string;
5455
+ updatedById?: string;
5456
+ userId?: string;
5457
+ versionId?: string;
5458
+ };
5459
+ QuoteLineItem: {
5460
+ children: components$1["schemas"]["QuoteLineItem"][];
5461
+ cover?: components$1["schemas"]["Media"];
5462
+ coverId?: string;
5463
+ /** Format: date-time */
5464
+ readonly createdAt?: string;
5465
+ customFields?: GenericRecord$1;
5466
+ deliveryPositions?: components$1["schemas"]["QuoteDeliveryPosition"][];
5467
+ description?: string;
5468
+ discount?: {
5469
+ type?: string;
5470
+ /** Format: int64 */
5471
+ value?: number;
5472
+ };
5473
+ good?: boolean;
5474
+ id: string;
5475
+ identifier: string;
5476
+ label: string;
5477
+ parent?: components$1["schemas"]["QuoteLineItem"];
5478
+ parentId?: string;
5177
5479
  parentVersionId?: string;
5178
5480
  payload?: GenericRecord$1;
5179
5481
  /** Format: int64 */
@@ -5270,6 +5572,21 @@ type Schemas$1 = {
5270
5572
  customFields?: GenericRecord$1;
5271
5573
  description?: string;
5272
5574
  extensions?: {
5575
+ swagCmsExtensionsBlockRules?: {
5576
+ data?: {
5577
+ /** @example ce0b9f43f8947576ee10c93d4d69a4c4 */
5578
+ id?: string;
5579
+ /** @example swag_cms_extensions_block_rule */
5580
+ type?: string;
5581
+ }[];
5582
+ links?: {
5583
+ /**
5584
+ * Format: uri-reference
5585
+ * @example /rule/ab7a485ebe75b6dd7243ad719f23c7de/swagCmsExtensionsBlockRules
5586
+ */
5587
+ related?: string;
5588
+ };
5589
+ };
5273
5590
  warehouseGroup?: {
5274
5591
  data?: {
5275
5592
  /** @example 1768e3071b62161d415e0c24332055ed */
@@ -5502,15 +5819,20 @@ type Schemas$1 = {
5502
5819
  /** Format: date-time */
5503
5820
  readonly updatedAt?: string;
5504
5821
  };
5505
- ScreenSharingToggledPayload: {
5506
- /** Whether the screen sharing is active or not */
5507
- active: boolean;
5822
+ ScreenSharingToggledInteraction: components$1["schemas"]["BaseInteraction"] & {
5823
+ name: string;
5824
+ payload: components$1["schemas"]["ScreenSharingToggledPayload"];
5825
+ } & {
5508
5826
  /**
5509
5827
  * discriminator enum property added by openapi-typescript
5510
5828
  * @enum {string}
5511
5829
  */
5512
5830
  name: "screenSharing.toggled";
5513
5831
  };
5832
+ ScreenSharingToggledPayload: {
5833
+ /** Whether the screen sharing is active or not */
5834
+ active: boolean;
5835
+ };
5514
5836
  Script: {
5515
5837
  /** Format: date-time */
5516
5838
  readonly createdAt?: string;
@@ -5930,6 +6252,13 @@ type Schemas$1 = {
5930
6252
  /** Format: date-time */
5931
6253
  readonly updatedAt?: string;
5932
6254
  };
6255
+ SpatialSceneGroup: {
6256
+ /** Format: date-time */
6257
+ readonly createdAt?: string;
6258
+ id?: string;
6259
+ /** Format: date-time */
6260
+ readonly updatedAt?: string;
6261
+ };
5933
6262
  SpatialSceneLight: {
5934
6263
  /** Format: date-time */
5935
6264
  readonly createdAt?: string;
@@ -5937,6 +6266,13 @@ type Schemas$1 = {
5937
6266
  /** Format: date-time */
5938
6267
  readonly updatedAt?: string;
5939
6268
  };
6269
+ SpatialSceneMaterial: {
6270
+ /** Format: date-time */
6271
+ readonly createdAt?: string;
6272
+ id?: string;
6273
+ /** Format: date-time */
6274
+ readonly updatedAt?: string;
6275
+ };
5940
6276
  SpatialSceneObject: {
5941
6277
  /** Format: date-time */
5942
6278
  readonly createdAt?: string;
@@ -5944,6 +6280,13 @@ type Schemas$1 = {
5944
6280
  /** Format: date-time */
5945
6281
  readonly updatedAt?: string;
5946
6282
  };
6283
+ SpatialScenePrimitive: {
6284
+ /** Format: date-time */
6285
+ readonly createdAt?: string;
6286
+ id?: string;
6287
+ /** Format: date-time */
6288
+ readonly updatedAt?: string;
6289
+ };
5947
6290
  SsoProvider: {
5948
6291
  /** Format: date-time */
5949
6292
  readonly createdAt?: string;
@@ -6013,13 +6356,6 @@ type Schemas$1 = {
6013
6356
  hoveredElementId?: string | null;
6014
6357
  videoClientToken?: string | null;
6015
6358
  };
6016
- StateForMe: {
6017
- attendeeName?: string | null;
6018
- /** @default [] */
6019
- extensions?: unknown[];
6020
- /** @default null */
6021
- guideCartPermissionsGranted?: boolean;
6022
- };
6023
6359
  StateMachine: {
6024
6360
  /** Format: date-time */
6025
6361
  readonly createdAt?: string;
@@ -6282,25 +6618,77 @@ type Schemas$1 = {
6282
6618
  visibilityRuleId?: string;
6283
6619
  };
6284
6620
  SwagCmsExtensionsForm: {
6621
+ cmsSlot?: components$1["schemas"]["CmsSlot"];
6622
+ cmsSlotId?: string;
6623
+ cmsSlotVersionId?: string;
6285
6624
  /** Format: date-time */
6286
6625
  readonly createdAt?: string;
6287
- id?: string;
6626
+ groups?: components$1["schemas"]["SwagCmsExtensionsFormGroup"][];
6627
+ id: string;
6628
+ isTemplate?: boolean;
6629
+ mailTemplate?: components$1["schemas"]["MailTemplate"];
6630
+ mailTemplateId: string;
6631
+ receivers?: GenericRecord$1;
6632
+ successMessage?: string;
6633
+ technicalName: string;
6634
+ title?: string;
6635
+ translated: {
6636
+ cmsSlotId: string;
6637
+ cmsSlotVersionId: string;
6638
+ mailTemplateId: string;
6639
+ successMessage: string;
6640
+ technicalName: string;
6641
+ title: string;
6642
+ };
6288
6643
  /** Format: date-time */
6289
6644
  readonly updatedAt?: string;
6290
6645
  };
6291
6646
  SwagCmsExtensionsFormGroup: {
6292
6647
  /** Format: date-time */
6293
6648
  readonly createdAt?: string;
6294
- id?: string;
6649
+ fields?: components$1["schemas"]["SwagCmsExtensionsFormGroupField"][];
6650
+ form?: components$1["schemas"]["SwagCmsExtensionsForm"];
6651
+ formId?: string;
6652
+ id: string;
6653
+ /** Format: int64 */
6654
+ position: number;
6655
+ technicalName: string;
6656
+ title?: string;
6657
+ translated: {
6658
+ formId: string;
6659
+ technicalName: string;
6660
+ title: string;
6661
+ };
6295
6662
  /** Format: date-time */
6296
6663
  readonly updatedAt?: string;
6297
6664
  };
6298
6665
  SwagCmsExtensionsFormGroupField: {
6666
+ config?: GenericRecord$1;
6299
6667
  /** Format: date-time */
6300
6668
  readonly createdAt?: string;
6301
- id?: string;
6669
+ errorMessage?: string;
6670
+ group?: components$1["schemas"]["SwagCmsExtensionsFormGroup"];
6671
+ groupId?: string;
6672
+ id: string;
6673
+ label: string;
6674
+ placeholder?: string;
6675
+ /** Format: int64 */
6676
+ position: number;
6677
+ required?: boolean;
6678
+ technicalName: string;
6679
+ translated: {
6680
+ errorMessage: string;
6681
+ groupId: string;
6682
+ label: string;
6683
+ placeholder: string;
6684
+ technicalName: string;
6685
+ type: string;
6686
+ };
6687
+ type: string;
6302
6688
  /** Format: date-time */
6303
6689
  readonly updatedAt?: string;
6690
+ /** Format: int64 */
6691
+ width: number;
6304
6692
  };
6305
6693
  SwagCmsExtensionsQuickview: {
6306
6694
  active?: boolean;
@@ -7017,18 +7405,8 @@ type Schemas$1 = {
7017
7405
  readonly updatedAt?: string;
7018
7406
  };
7019
7407
  SwagPaypalVaultToken: {
7020
- // TODO: [OpenAPI][SwagPaypalVaultToken] - add SwagPaypalVaultToken definition to schema
7021
- /** Format: date-time */
7022
- createdAt: string;
7023
- customer?: components$1["schemas"]["Customer"];
7024
- customerId: string;
7025
7408
  id?: string;
7026
- identifier: string;
7027
- mainMapping?: components$1["schemas"]["SwagPaypalVaultTokenMapping"];
7028
- paymentMethod?: components$1["schemas"]["PaymentMethod"];
7029
- paymentMethodId: string;
7030
- /** Format: date-time */
7031
- updatedAt?: string;
7409
+ identifier?: string;
7032
7410
  };
7033
7411
  SwagPaypalVaultTokenMapping: {
7034
7412
  /** Format: date-time */
@@ -7169,15 +7547,20 @@ type Schemas$1 = {
7169
7547
  /** Format: date-time */
7170
7548
  readonly updatedAt?: string;
7171
7549
  };
7172
- ToggleBroadcastModePayload: {
7173
- /** Status if the mode is toggled to active or inactive */
7174
- active: boolean;
7550
+ ToggleBroadcastModeInteraction: components$1["schemas"]["BaseInteraction"] & {
7551
+ name: string;
7552
+ payload: components$1["schemas"]["ToggleBroadcastModePayload"];
7553
+ } & {
7175
7554
  /**
7176
7555
  * discriminator enum property added by openapi-typescript
7177
7556
  * @enum {string}
7178
7557
  */
7179
7558
  name: "broadcastMode.toggled";
7180
7559
  };
7560
+ ToggleBroadcastModePayload: {
7561
+ /** Status if the mode is toggled to active or inactive */
7562
+ active: boolean;
7563
+ };
7181
7564
  TotalCountMode: "none" | "exact" | "next-pages";
7182
7565
  Unit: {
7183
7566
  /** Format: date-time */
@@ -7229,6 +7612,16 @@ type Schemas$1 = {
7229
7612
  /** Format: date-time */
7230
7613
  readonly updatedAt?: string;
7231
7614
  };
7615
+ ViewModeChangedInteraction: components$1["schemas"]["BaseInteraction"] & {
7616
+ name: string;
7617
+ payload: components$1["schemas"]["ViewModeChangedPayload"];
7618
+ } & {
7619
+ /**
7620
+ * discriminator enum property added by openapi-typescript
7621
+ * @enum {string}
7622
+ */
7623
+ name: "viewMode.changed";
7624
+ };
7232
7625
  ViewModeChangedPayload: {
7233
7626
  /**
7234
7627
  * The view mode of presentation
@@ -7236,11 +7629,6 @@ type Schemas$1 = {
7236
7629
  * @enum {string}
7237
7630
  */
7238
7631
  mode?: "onlyYou" | "presentation" | "videoGrid";
7239
- /**
7240
- * discriminator enum property added by openapi-typescript
7241
- * @enum {string}
7242
- */
7243
- name: "viewMode.changed";
7244
7632
  };
7245
7633
  Warehouse: {
7246
7634
  /** Format: date-time */
@@ -7588,7 +7976,7 @@ type operations$1 = {
7588
7976
  /** Customer last name. Value will be reused for shipping and billing address if not provided explicitly. */
7589
7977
  lastName: string;
7590
7978
  /** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
7591
- salutationId: string;
7979
+ salutationId?: string;
7592
7980
  /** (Academic) title of the customer */
7593
7981
  title?: string;
7594
7982
  } & (
@@ -7613,6 +8001,27 @@ type operations$1 = {
7613
8001
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
7614
8002
  vatIds: [string, ...string[]];
7615
8003
  }
8004
+ | {
8005
+ /**
8006
+ * Type of the customer account. Default value is 'private'.
8007
+ * @default private
8008
+ * @enum {string}
8009
+ */
8010
+ accountType?: "private";
8011
+ company?: null;
8012
+ vatIds?: null;
8013
+ }
8014
+ | {
8015
+ /**
8016
+ * Type of the customer account. Can be `private` or `business`.
8017
+ * @enum {string}
8018
+ */
8019
+ accountType: "business";
8020
+ /** Company of the customer. Only required when `accountType` is `business`. */
8021
+ company: string;
8022
+ /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
8023
+ vatIds: [string, ...string[]];
8024
+ }
7616
8025
  );
7617
8026
  response: components$1["schemas"]["SuccessResponse"];
7618
8027
  responseCode: 200;
@@ -7760,7 +8169,7 @@ type operations$1 = {
7760
8169
  /** Password for the customer. Required, unless `guest` is `true` */
7761
8170
  password: string;
7762
8171
  /** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
7763
- salutationId: string;
8172
+ salutationId?: string;
7764
8173
  shippingAddress?: components$1["schemas"]["CustomerAddress"];
7765
8174
  /** URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel. */
7766
8175
  storefrontUrl: string;
@@ -7788,172 +8197,41 @@ type operations$1 = {
7788
8197
  /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
7789
8198
  vatIds: [string, ...string[]];
7790
8199
  }
7791
- );
7792
- response: components$1["schemas"]["Customer"];
7793
- responseCode: 200;
7794
- };
7795
- "registerConfirm post /account/register-confirm": {
7796
- contentType?: "application/json";
7797
- accept?: "application/json";
7798
- body: {
7799
- /** Email hash from the email received */
7800
- em: string;
7801
- /** Hash from the email received */
7802
- hash: string;
7803
- };
7804
- response: never;
7805
- responseCode: 200;
7806
- };
7807
- "createShoppingList post /account/shopping-list": {
7808
- contentType?: "application/json";
7809
- accept?: "application/json";
7810
- body: {
7811
- lineItems?: {
7812
- [key: string]: {
7813
- /** Product id */
7814
- id: string;
7815
- /** Quantity of the product */
7816
- quantity: number;
7817
- };
7818
- };
7819
- /** Shopping list name */
7820
- name: string;
7821
- };
7822
- response: never;
7823
- responseCode: 204;
7824
- };
7825
- "removeShoppingLists delete /account/shopping-list": {
7826
- contentType?: "application/json";
7827
- accept?: "application/json";
7828
- body: {
7829
- /** Shopping list ids */
7830
- ids: string[];
7831
- };
7832
- response: never;
7833
- responseCode: 204;
7834
- };
7835
- "readShoppingList post /account/shopping-list/{id}": {
7836
- contentType?: "application/json";
7837
- accept?: "application/json";
7838
- pathParams: {
7839
- /** Identifier of the shopping list to be fetched */
7840
- id: string;
7841
- };
7842
- response: components$1["schemas"]["B2bComponentsShoppingList"];
7843
- responseCode: 200;
7844
- };
7845
- "updateShoppingList patch /account/shopping-list/{id}/change-name": {
7846
- contentType?: "application/json";
7847
- accept?: "application/json";
7848
- pathParams: {
7849
- /** Identifier of the shopping list to be fetched */
7850
- id: string;
7851
- };
7852
- body: {
7853
- /** Shopping list name */
7854
- name: string;
7855
- };
7856
- response: never;
7857
- responseCode: 204;
7858
- };
7859
- "duplicateShoppingList post /account/shopping-list/{id}/duplicate": {
7860
- contentType?: "application/json";
7861
- accept?: "application/json";
7862
- pathParams: {
7863
- /** Identifier of the shopping list to be fetched */
7864
- id: string;
7865
- };
7866
- body: {
7867
- /** Shopping list name */
7868
- name: string;
7869
- };
7870
- response: {
7871
- /** The generated id of the duplicated shopping list */
7872
- id?: string;
7873
- };
7874
- responseCode: 200;
7875
- };
7876
- "summaryShoppingList get /account/shopping-list/{id}/summary": {
7877
- contentType?: "application/json";
7878
- accept?: "application/json";
7879
- pathParams: {
7880
- /** Identifier of the shopping list to be fetched */
7881
- id: string;
7882
- };
7883
- response: {
7884
- price?: {
7885
- /**
7886
- * Format: float
7887
- * Net price of the cart
7888
- */
7889
- netPrice?: number;
7890
- /**
7891
- * Format: float
7892
- * Price for all line items in the cart
7893
- */
7894
- positionPrice?: number;
7895
- /** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
7896
- taxStatus?: string;
7897
- /**
7898
- * Format: float
7899
- * Total price of the cart, including shipping costs, discounts and taxes
7900
- */
7901
- totalPrice?: number;
7902
- };
7903
- };
8200
+ | {
8201
+ /**
8202
+ * Type of the customer account. Default value is 'private'.
8203
+ * @default private
8204
+ * @enum {string}
8205
+ */
8206
+ accountType?: "private";
8207
+ company?: null;
8208
+ vatIds?: null;
8209
+ }
8210
+ | {
8211
+ /**
8212
+ * Type of the customer account. Can be `private` or `business`.
8213
+ * @enum {string}
8214
+ */
8215
+ accountType: "business";
8216
+ /** Company of the customer. Only required when `accountType` is `business`. */
8217
+ company: string;
8218
+ /** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
8219
+ vatIds: [string, ...string[]];
8220
+ }
8221
+ );
8222
+ response: components$1["schemas"]["Customer"];
7904
8223
  responseCode: 200;
7905
8224
  };
7906
- "addLineItems post /account/shopping-list/line-item/{id}/add": {
7907
- contentType?: "application/json";
7908
- accept?: "application/json";
7909
- pathParams: {
7910
- /** Identifier of the shopping list to be fetched */
7911
- id: string;
7912
- };
7913
- body: {
7914
- lineItems: {
7915
- [key: string]: {
7916
- /** Product id */
7917
- id: string;
7918
- /** Quantity of the product */
7919
- quantity: number;
7920
- };
7921
- };
7922
- };
7923
- response: never;
7924
- responseCode: 204;
7925
- };
7926
- "updateLineItems patch /account/shopping-list/line-item/{id}/change-quantity": {
7927
- contentType?: "application/json";
7928
- accept?: "application/json";
7929
- pathParams: {
7930
- /** Identifier of the shopping list line item to be fetched */
7931
- id: string;
7932
- };
7933
- body: {
7934
- /** new line item quantity */
7935
- quantity: number;
7936
- };
7937
- response: never;
7938
- responseCode: 204;
7939
- };
7940
- "removeLineItems delete /account/shopping-list/line-item/remove": {
8225
+ "registerConfirm post /account/register-confirm": {
7941
8226
  contentType?: "application/json";
7942
8227
  accept?: "application/json";
7943
8228
  body: {
7944
- /** Line items ids */
7945
- ids: string[];
8229
+ /** Email hash from the email received */
8230
+ em: string;
8231
+ /** Hash from the email received */
8232
+ hash: string;
7946
8233
  };
7947
8234
  response: never;
7948
- responseCode: 204;
7949
- };
7950
- "readShoppingLists post /account/shopping-lists": {
7951
- contentType?: "application/json";
7952
- accept?: "application/json";
7953
- body?: components$1["schemas"]["Criteria"];
7954
- response: {
7955
- elements?: components$1["schemas"]["B2bComponentsShoppingList"][];
7956
- } & components$1["schemas"]["EntitySearchResult"];
7957
8235
  responseCode: 200;
7958
8236
  };
7959
8237
  "generateJWTAppSystemAppServer post /app-system/{name}/generate-token": {
@@ -8186,11 +8464,16 @@ type operations$1 = {
8186
8464
  "sw-language-id"?: string;
8187
8465
  };
8188
8466
  body: {
8189
- // TODO: [OpenAPI][updateLineItem] - add proper request body type with required fields
8190
- items: Array<{
8191
- id: string;
8192
- quantity: number;
8193
- }>;
8467
+ items: [
8468
+ {
8469
+ id: string;
8470
+ quantity: number;
8471
+ },
8472
+ ...{
8473
+ id: string;
8474
+ quantity: number;
8475
+ }[],
8476
+ ];
8194
8477
  };
8195
8478
  response: components$1["schemas"]["Cart"];
8196
8479
  responseCode: 200;
@@ -8300,7 +8583,7 @@ type operations$1 = {
8300
8583
  /** Phone. This field may be required depending on the system settings. */
8301
8584
  phone?: string;
8302
8585
  /** Identifier of the salutation. Use `/api/salutation` endpoint to fetch possible values. */
8303
- salutationId: string;
8586
+ salutationId?: string;
8304
8587
  /** Identifier of the cms element */
8305
8588
  slotId?: string;
8306
8589
  /** The subject of the contact form. */
@@ -8464,7 +8747,7 @@ type operations$1 = {
8464
8747
  * The status you respond to
8465
8748
  * @enum {string}
8466
8749
  */
8467
- invitationStatus?: "accepted" | "maybe" | "declined";
8750
+ answer?: "accepted" | "maybe" | "declined";
8468
8751
  /** The token will be attached to the invitation response link in the invitation mail */
8469
8752
  token: string;
8470
8753
  };
@@ -8689,7 +8972,16 @@ type operations$1 = {
8689
8972
  response: components$1["schemas"]["CmsPage"];
8690
8973
  responseCode: 200;
8691
8974
  };
8692
- "readEmployees post /employee": {
8975
+ "readEmployees get /employee": {
8976
+ contentType?: "application/json";
8977
+ accept?: "application/json";
8978
+ body?: components$1["schemas"]["Criteria"];
8979
+ response: {
8980
+ elements?: components$1["schemas"]["B2bEmployee"][];
8981
+ } & components$1["schemas"]["EntitySearchResult"];
8982
+ responseCode: 200;
8983
+ };
8984
+ "readEmployeesPOST post /employee": {
8693
8985
  contentType?: "application/json";
8694
8986
  accept?: "application/json";
8695
8987
  body?: components$1["schemas"]["Criteria"];
@@ -8698,6 +8990,16 @@ type operations$1 = {
8698
8990
  } & components$1["schemas"]["EntitySearchResult"];
8699
8991
  responseCode: 200;
8700
8992
  };
8993
+ "readB2bEmployee get /employee/{id}": {
8994
+ contentType?: "application/json";
8995
+ accept?: "application/json";
8996
+ pathParams: {
8997
+ /** Identifier of the employee to be read */
8998
+ id: string;
8999
+ };
9000
+ response: components$1["schemas"]["B2bEmployee"];
9001
+ responseCode: 200;
9002
+ };
8701
9003
  "readEmployee post /employee/{id}": {
8702
9004
  contentType?: "application/json";
8703
9005
  accept?: "application/json";
@@ -8746,6 +9048,8 @@ type operations$1 = {
8746
9048
  email: string;
8747
9049
  /** First name of the new employee */
8748
9050
  firstName: string;
9051
+ /** Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee. */
9052
+ languageId: string;
8749
9053
  /** Last name of the new employee */
8750
9054
  lastName: string;
8751
9055
  /** Id of the role of the new employee */
@@ -9047,6 +9351,38 @@ type operations$1 = {
9047
9351
  response: components$1["schemas"]["PendingOrder"];
9048
9352
  responseCode: 200;
9049
9353
  };
9354
+ "readPermissions get /permission": {
9355
+ contentType?: "application/json";
9356
+ accept?: "application/json";
9357
+ response: {
9358
+ elements?: {
9359
+ permissionDependencies?: string[];
9360
+ permissionGroupName?: string;
9361
+ permissionName?: string;
9362
+ }[];
9363
+ } & components$1["schemas"]["EntitySearchResult"];
9364
+ responseCode: 200;
9365
+ };
9366
+ "addPermission post /permission": {
9367
+ contentType?: "application/json";
9368
+ accept?: "application/json";
9369
+ body: {
9370
+ /** Optional dependencies for the new permission */
9371
+ dependencies?: string[];
9372
+ /** Group of the new permission */
9373
+ group?: string;
9374
+ /** Name of the new permission */
9375
+ name?: string;
9376
+ };
9377
+ response: {
9378
+ elements?: {
9379
+ permissionDependencies?: string[];
9380
+ permissionGroupName?: string;
9381
+ permissionName?: string;
9382
+ }[];
9383
+ } & components$1["schemas"]["EntitySearchResult"];
9384
+ responseCode: 200;
9385
+ };
9050
9386
  "readProduct post /product": {
9051
9387
  contentType?: "application/json";
9052
9388
  accept?: "application/json";
@@ -9056,7 +9392,7 @@ type operations$1 = {
9056
9392
  };
9057
9393
  body?: components$1["schemas"]["Criteria"];
9058
9394
  response: {
9059
- elements: components$1["schemas"]["Product"][]; // TODO: [OpenAPI][readProduct]: add elements property as required
9395
+ elements: components$1["schemas"]["Product"][];
9060
9396
  } & components$1["schemas"]["EntitySearchResult"];
9061
9397
  responseCode: 200;
9062
9398
  };
@@ -9394,18 +9730,6 @@ type operations$1 = {
9394
9730
  response: never;
9395
9731
  responseCode: 204;
9396
9732
  };
9397
- "readPermissions get /role/permissions": {
9398
- contentType?: "application/json";
9399
- accept?: "application/json";
9400
- response: {
9401
- elements?: {
9402
- permissionDependencies?: string[];
9403
- permissionGroupName?: string;
9404
- permissionName?: string;
9405
- }[];
9406
- } & components$1["schemas"]["EntitySearchResult"];
9407
- responseCode: 200;
9408
- };
9409
9733
  "readSalutation post /salutation": {
9410
9734
  contentType?: "application/json";
9411
9735
  accept?: "application/json";
@@ -9547,11 +9871,168 @@ type operations$1 = {
9547
9871
  body?: components$1["schemas"]["Criteria"];
9548
9872
  response: {
9549
9873
  /** aggregation result */
9550
- aggregations?: Record<string, never>;
9551
- elements: components$1["schemas"]["ShippingMethod"][]; // TODO: [OpenAPI][readShippingMethod]: response should be `EntitySearchResult` and elements should be required
9874
+ aggregations?: GenericRecord$1;
9875
+ elements: components$1["schemas"]["ShippingMethod"][];
9552
9876
  /** Total amount */
9553
9877
  total?: number;
9878
+ } & components$1["schemas"]["EntitySearchResult"];
9879
+ responseCode: 200;
9880
+ };
9881
+ "createShoppingList post /shopping-list": {
9882
+ contentType?: "application/json";
9883
+ accept?: "application/json";
9884
+ body: {
9885
+ lineItems?: {
9886
+ [key: string]: {
9887
+ /** Product id */
9888
+ id: string;
9889
+ /** Quantity of the product */
9890
+ quantity: number;
9891
+ };
9892
+ };
9893
+ /** Shopping list name */
9894
+ name: string;
9895
+ };
9896
+ response: never;
9897
+ responseCode: 204;
9898
+ };
9899
+ "removeShoppingLists delete /shopping-list": {
9900
+ contentType?: "application/json";
9901
+ accept?: "application/json";
9902
+ body: {
9903
+ /** Shopping list ids */
9904
+ ids: string[];
9905
+ };
9906
+ response: never;
9907
+ responseCode: 204;
9908
+ };
9909
+ "readShoppingList post /shopping-list/{id}": {
9910
+ contentType?: "application/json";
9911
+ accept?: "application/json";
9912
+ pathParams: {
9913
+ /** Identifier of the shopping list to be fetched */
9914
+ id: string;
9915
+ };
9916
+ body?: components$1["schemas"]["Criteria"];
9917
+ response: components$1["schemas"]["B2bComponentsShoppingList"];
9918
+ responseCode: 200;
9919
+ };
9920
+ "addLineItems post /shopping-list/{id}/add": {
9921
+ contentType?: "application/json";
9922
+ accept?: "application/json";
9923
+ pathParams: {
9924
+ /** Identifier of the shopping list to be fetched */
9925
+ id: string;
9926
+ };
9927
+ body?: {
9928
+ lineItems: {
9929
+ [key: string]: {
9930
+ /** Product id */
9931
+ id: string;
9932
+ /** Quantity of the product */
9933
+ quantity: number;
9934
+ };
9935
+ };
9936
+ };
9937
+ response: never;
9938
+ responseCode: 204;
9939
+ };
9940
+ "updateShoppingList patch /shopping-list/{id}/change-name": {
9941
+ contentType?: "application/json";
9942
+ accept?: "application/json";
9943
+ pathParams: {
9944
+ /** Identifier of the shopping list to be fetched */
9945
+ id: string;
9946
+ };
9947
+ body: {
9948
+ /** Shopping list name */
9949
+ name: string;
9950
+ };
9951
+ response: never;
9952
+ responseCode: 204;
9953
+ };
9954
+ "duplicateShoppingList post /shopping-list/{id}/duplicate": {
9955
+ contentType?: "application/json";
9956
+ accept?: "application/json";
9957
+ pathParams: {
9958
+ /** Identifier of the shopping list to be fetched */
9959
+ id: string;
9960
+ };
9961
+ body: {
9962
+ /** Shopping list name */
9963
+ name: string;
9964
+ };
9965
+ response: {
9966
+ /** The generated id of the duplicated shopping list */
9967
+ id?: string;
9968
+ };
9969
+ responseCode: 200;
9970
+ };
9971
+ "summaryShoppingList get /shopping-list/{id}/summary": {
9972
+ contentType?: "application/json";
9973
+ accept?: "application/json";
9974
+ pathParams: {
9975
+ /** Identifier of the shopping list to be fetched */
9976
+ id: string;
9977
+ };
9978
+ response: {
9979
+ price?: {
9980
+ /**
9981
+ * Format: float
9982
+ * Net price of the cart
9983
+ */
9984
+ netPrice?: number;
9985
+ /**
9986
+ * Format: float
9987
+ * Price for all line items in the cart
9988
+ */
9989
+ positionPrice?: number;
9990
+ /** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
9991
+ taxStatus?: string;
9992
+ /**
9993
+ * Format: float
9994
+ * Total price of the cart, including shipping costs, discounts and taxes
9995
+ */
9996
+ totalPrice?: number;
9997
+ };
9998
+ };
9999
+ responseCode: 200;
10000
+ };
10001
+ "updateLineItems post /shopping-list/line-item/{id}/change-quantity": {
10002
+ contentType?: "application/json";
10003
+ accept?: "application/json";
10004
+ pathParams: {
10005
+ /** Identifier of the shopping list line item to be fetched */
10006
+ id: string;
10007
+ };
10008
+ body: {
10009
+ /** new line item quantity */
10010
+ quantity: number;
10011
+ };
10012
+ response: never;
10013
+ responseCode: 204;
10014
+ };
10015
+ "removeLineItems post /shopping-list/line-item/remove": {
10016
+ contentType?: "application/json";
10017
+ accept?: "application/json";
10018
+ body: {
10019
+ /** Line items ids */
10020
+ ids?: string[];
10021
+ /** List id */
10022
+ listId?: string;
10023
+ /** Product ids */
10024
+ productIds?: string[];
9554
10025
  };
10026
+ response: never;
10027
+ responseCode: 204;
10028
+ };
10029
+ "readShoppingLists post /shopping-lists": {
10030
+ contentType?: "application/json";
10031
+ accept?: "application/json";
10032
+ body?: components$1["schemas"]["Criteria"];
10033
+ response: {
10034
+ elements?: components$1["schemas"]["B2bComponentsShoppingList"][];
10035
+ } & components$1["schemas"]["EntitySearchResult"];
9555
10036
  responseCode: 200;
9556
10037
  };
9557
10038
  "addShoppingListsToCart post /shopping-lists/add-to-cart": {