@shopware/api-client 1.1.2 → 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/README.md +2 -2
- package/api-types/adminApiTypes.d.ts +1 -1
- package/api-types/storeApiSchema.json +1372 -377
- package/api-types/storeApiSchema.overrides.json +346 -0
- package/api-types/storeApiTypes.d.ts +916 -393
- package/api-types/storeApiTypes.overrides.ts +2 -117
- package/dist/index.cjs +7 -5
- package/dist/index.d.cts +1022 -496
- package/dist/index.d.mts +1022 -496
- package/dist/index.d.ts +1022 -496
- package/dist/index.mjs +7 -5
- package/package.json +8 -7
|
@@ -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.
|
|
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
|
-
/**
|
|
318
|
-
|
|
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" | "
|
|
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";
|
|
@@ -668,7 +691,7 @@ export type Schemas = {
|
|
|
668
691
|
keywords?: string;
|
|
669
692
|
linkNewTab?: boolean;
|
|
670
693
|
/** @enum {string} */
|
|
671
|
-
linkType?: "
|
|
694
|
+
linkType?: "category" | "external" | "landing_page" | "product";
|
|
672
695
|
metaDescription?: string;
|
|
673
696
|
metaTitle?: string;
|
|
674
697
|
name: string;
|
|
@@ -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
|
|
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?:
|
|
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"]["
|
|
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"]["
|
|
1541
|
+
includes?: components["schemas"]["Includes"];
|
|
1546
1542
|
/** Number of items per result page */
|
|
1547
1543
|
limit?: number;
|
|
1548
1544
|
/** Search result page */
|
|
@@ -1704,7 +1700,6 @@ export type Schemas = {
|
|
|
1704
1700
|
readonly updatedAt?: string;
|
|
1705
1701
|
};
|
|
1706
1702
|
Customer: {
|
|
1707
|
-
accountType?: string;
|
|
1708
1703
|
active?: boolean;
|
|
1709
1704
|
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
1710
1705
|
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
@@ -1714,7 +1709,6 @@ export type Schemas = {
|
|
|
1714
1709
|
apiAlias: "customer";
|
|
1715
1710
|
birthday?: string;
|
|
1716
1711
|
campaignCode?: string;
|
|
1717
|
-
company?: string;
|
|
1718
1712
|
/** Format: date-time */
|
|
1719
1713
|
readonly createdAt?: string;
|
|
1720
1714
|
createdById?: string;
|
|
@@ -1781,8 +1775,28 @@ export type Schemas = {
|
|
|
1781
1775
|
/** Format: date-time */
|
|
1782
1776
|
readonly updatedAt?: string;
|
|
1783
1777
|
updatedById?: string;
|
|
1784
|
-
|
|
1785
|
-
|
|
1778
|
+
} & (
|
|
1779
|
+
| {
|
|
1780
|
+
/** @enum {string} */
|
|
1781
|
+
accountType: "private";
|
|
1782
|
+
}
|
|
1783
|
+
| {
|
|
1784
|
+
/** @enum {string} */
|
|
1785
|
+
accountType: "business";
|
|
1786
|
+
company: string;
|
|
1787
|
+
vatIds: [string, ...string[]];
|
|
1788
|
+
}
|
|
1789
|
+
| {
|
|
1790
|
+
/** @enum {string} */
|
|
1791
|
+
accountType: "private";
|
|
1792
|
+
}
|
|
1793
|
+
| {
|
|
1794
|
+
/** @enum {string} */
|
|
1795
|
+
accountType: "business";
|
|
1796
|
+
company: string;
|
|
1797
|
+
vatIds: [string, ...string[]];
|
|
1798
|
+
}
|
|
1799
|
+
);
|
|
1786
1800
|
CustomerAddress: {
|
|
1787
1801
|
additionalAddressLine1?: string;
|
|
1788
1802
|
additionalAddressLine2?: string;
|
|
@@ -1921,6 +1935,14 @@ export type Schemas = {
|
|
|
1921
1935
|
/** Format: date-time */
|
|
1922
1936
|
readonly updatedAt?: string;
|
|
1923
1937
|
};
|
|
1938
|
+
DiscountLineItemPayload: {
|
|
1939
|
+
/** Format: float */
|
|
1940
|
+
discountPrice?: number;
|
|
1941
|
+
/** @enum {string} */
|
|
1942
|
+
discountType?: "percentage" | "absolute";
|
|
1943
|
+
/** Format: float */
|
|
1944
|
+
discountValue?: number;
|
|
1945
|
+
};
|
|
1924
1946
|
Document: {
|
|
1925
1947
|
config: {
|
|
1926
1948
|
name: string;
|
|
@@ -2057,7 +2079,6 @@ export type Schemas = {
|
|
|
2057
2079
|
customFields?: GenericRecord;
|
|
2058
2080
|
id?: string;
|
|
2059
2081
|
name?: string;
|
|
2060
|
-
startAsBroadcast?: boolean;
|
|
2061
2082
|
/** Format: date-time */
|
|
2062
2083
|
readonly updatedAt?: string;
|
|
2063
2084
|
url?: string;
|
|
@@ -2135,42 +2156,69 @@ export type Schemas = {
|
|
|
2135
2156
|
/** Format: date-time */
|
|
2136
2157
|
readonly updatedAt?: string;
|
|
2137
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
|
+
};
|
|
2138
2180
|
DynamicPageClosedPayload: {
|
|
2139
2181
|
/**
|
|
2140
2182
|
* Whether all pages were closed
|
|
2141
2183
|
* @default false
|
|
2142
2184
|
*/
|
|
2143
2185
|
all?: boolean;
|
|
2144
|
-
/**
|
|
2145
|
-
* discriminator enum property added by openapi-typescript
|
|
2146
|
-
* @enum {string}
|
|
2147
|
-
*/
|
|
2148
|
-
name: "dynamicPage.closed";
|
|
2149
2186
|
/** The id of the page that was closed */
|
|
2150
2187
|
pageId?: string | null;
|
|
2151
2188
|
};
|
|
2152
|
-
|
|
2189
|
+
DynamicPageOpenedInteraction: components["schemas"]["BaseInteraction"] & {
|
|
2190
|
+
name: string;
|
|
2191
|
+
payload: components["schemas"]["DynamicPageOpenedPayload"];
|
|
2192
|
+
} & {
|
|
2153
2193
|
/**
|
|
2154
2194
|
* discriminator enum property added by openapi-typescript
|
|
2155
2195
|
* @enum {string}
|
|
2156
2196
|
*/
|
|
2157
2197
|
name: "dynamicPage.opened";
|
|
2158
2198
|
};
|
|
2199
|
+
DynamicPageOpenedPayload: components["schemas"]["AbstractDynamicPageOpenedPayload"];
|
|
2159
2200
|
DynamicProductListingPageOpenedPayload: {
|
|
2160
2201
|
/** Current page position in the pagination */
|
|
2161
2202
|
page: number;
|
|
2162
2203
|
};
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
} &
|
|
2204
|
+
DynamicProductPageOpenedInteraction: components["schemas"]["BaseInteraction"] & {
|
|
2205
|
+
name: string;
|
|
2206
|
+
payload: components["schemas"]["DynamicProductPageOpenedPayload"];
|
|
2207
|
+
} & {
|
|
2167
2208
|
/**
|
|
2168
2209
|
* discriminator enum property added by openapi-typescript
|
|
2169
2210
|
* @enum {string}
|
|
2170
2211
|
*/
|
|
2171
2212
|
name: "dynamicProductPage.opened";
|
|
2172
|
-
}
|
|
2173
|
-
|
|
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
|
+
} & {
|
|
2174
2222
|
/**
|
|
2175
2223
|
* discriminator enum property added by openapi-typescript
|
|
2176
2224
|
* @enum {string}
|
|
@@ -2183,6 +2231,7 @@ export type Schemas = {
|
|
|
2183
2231
|
| "remote.checkout.accepted"
|
|
2184
2232
|
| "remote.checkout.denied";
|
|
2185
2233
|
};
|
|
2234
|
+
EmptyPayload: Record<string, never>;
|
|
2186
2235
|
EntitySearchResult: {
|
|
2187
2236
|
/** Contains aggregated data. A simple example is the determination of the average price from a product search query. */
|
|
2188
2237
|
aggregations?: GenericRecord[];
|
|
@@ -2233,14 +2282,19 @@ export type Schemas = {
|
|
|
2233
2282
|
/** Format: date-time */
|
|
2234
2283
|
readonly updatedAt?: string;
|
|
2235
2284
|
};
|
|
2236
|
-
|
|
2237
|
-
|
|
2285
|
+
GuideHoveredInteraction: components["schemas"]["BaseInteraction"] & {
|
|
2286
|
+
name: string;
|
|
2287
|
+
payload: components["schemas"]["GuideHoveredPayload"];
|
|
2288
|
+
} & {
|
|
2238
2289
|
/**
|
|
2239
2290
|
* discriminator enum property added by openapi-typescript
|
|
2240
2291
|
* @enum {string}
|
|
2241
2292
|
*/
|
|
2242
2293
|
name: "guide.hovered";
|
|
2243
2294
|
};
|
|
2295
|
+
GuideHoveredPayload: {
|
|
2296
|
+
hoveredElementId?: string | null;
|
|
2297
|
+
};
|
|
2244
2298
|
ImportExportFile: {
|
|
2245
2299
|
/** Format: date-time */
|
|
2246
2300
|
readonly createdAt?: string;
|
|
@@ -2262,7 +2316,7 @@ export type Schemas = {
|
|
|
2262
2316
|
/** Format: date-time */
|
|
2263
2317
|
readonly updatedAt?: string;
|
|
2264
2318
|
};
|
|
2265
|
-
|
|
2319
|
+
Includes: {
|
|
2266
2320
|
[key: string]: string[];
|
|
2267
2321
|
};
|
|
2268
2322
|
Integration: {
|
|
@@ -2277,6 +2331,13 @@ export type Schemas = {
|
|
|
2277
2331
|
appointmentName?: string;
|
|
2278
2332
|
/** The created Id for the attendee */
|
|
2279
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
|
+
};
|
|
2280
2341
|
/** The appointment id */
|
|
2281
2342
|
id?: string;
|
|
2282
2343
|
/** To see if it's a preview appointment */
|
|
@@ -2302,6 +2363,8 @@ export type Schemas = {
|
|
|
2302
2363
|
salesChannelId?: string;
|
|
2303
2364
|
/** The name of the current sales channel */
|
|
2304
2365
|
salesChannelName?: string;
|
|
2366
|
+
/** The video user id that attendee could use */
|
|
2367
|
+
videoUserId?: string | null;
|
|
2305
2368
|
};
|
|
2306
2369
|
LandingPage: {
|
|
2307
2370
|
active?: boolean;
|
|
@@ -2492,6 +2555,14 @@ export type Schemas = {
|
|
|
2492
2555
|
dataTimestamp?: string;
|
|
2493
2556
|
deliveryInformation: components["schemas"]["CartDeliveryInformation"];
|
|
2494
2557
|
description?: string;
|
|
2558
|
+
extensions?: {
|
|
2559
|
+
meta?: {
|
|
2560
|
+
attendees?: {
|
|
2561
|
+
id: string;
|
|
2562
|
+
name: string;
|
|
2563
|
+
}[];
|
|
2564
|
+
};
|
|
2565
|
+
};
|
|
2495
2566
|
good?: boolean;
|
|
2496
2567
|
id: string;
|
|
2497
2568
|
label?: string;
|
|
@@ -2546,7 +2617,9 @@ export type Schemas = {
|
|
|
2546
2617
|
| "promotion"
|
|
2547
2618
|
| "discount"
|
|
2548
2619
|
| "container"
|
|
2549
|
-
| "quantity"
|
|
2620
|
+
| "quantity"
|
|
2621
|
+
| "dsr-line-item-discount"
|
|
2622
|
+
| "dsr-cart-discount";
|
|
2550
2623
|
ListPrice: {
|
|
2551
2624
|
/** @enum {string} */
|
|
2552
2625
|
apiAlias: "cart_list_price";
|
|
@@ -2605,6 +2678,23 @@ export type Schemas = {
|
|
|
2605
2678
|
/** Format: date-time */
|
|
2606
2679
|
readonly createdAt?: string;
|
|
2607
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
|
+
};
|
|
2608
2698
|
id?: string;
|
|
2609
2699
|
mailTemplateType?: components["schemas"]["MailTemplateType"];
|
|
2610
2700
|
media?: components["schemas"]["MailTemplateMedia"][];
|
|
@@ -2691,7 +2781,7 @@ export type Schemas = {
|
|
|
2691
2781
|
};
|
|
2692
2782
|
};
|
|
2693
2783
|
readonly fileExtension: string;
|
|
2694
|
-
|
|
2784
|
+
fileName: string;
|
|
2695
2785
|
/** Format: int64 */
|
|
2696
2786
|
readonly fileSize?: number;
|
|
2697
2787
|
/** Runtime field, cannot be used as part of the criteria. */
|
|
@@ -2703,7 +2793,7 @@ export type Schemas = {
|
|
|
2703
2793
|
/** Format: int64 */
|
|
2704
2794
|
width?: number;
|
|
2705
2795
|
};
|
|
2706
|
-
|
|
2796
|
+
mimeType?: string;
|
|
2707
2797
|
path: string;
|
|
2708
2798
|
private: boolean;
|
|
2709
2799
|
thumbnails?: components["schemas"]["MediaThumbnail"][];
|
|
@@ -2792,7 +2882,7 @@ export type Schemas = {
|
|
|
2792
2882
|
};
|
|
2793
2883
|
MultiNotFilter: {
|
|
2794
2884
|
/** @enum {string} */
|
|
2795
|
-
operator: "
|
|
2885
|
+
operator: "and" | "or" | "nor" | "nand";
|
|
2796
2886
|
queries: components["schemas"]["Filters"];
|
|
2797
2887
|
/** @enum {string} */
|
|
2798
2888
|
type: "multi" | "not";
|
|
@@ -2881,6 +2971,21 @@ export type Schemas = {
|
|
|
2881
2971
|
deliveries?: components["schemas"]["OrderDelivery"][];
|
|
2882
2972
|
documents: components["schemas"]["Document"][];
|
|
2883
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
|
+
};
|
|
2884
2989
|
returns?: {
|
|
2885
2990
|
data?: {
|
|
2886
2991
|
/** @example 7fff84525c6516919851a9005373f87e */
|
|
@@ -3510,12 +3615,17 @@ export type Schemas = {
|
|
|
3510
3615
|
/** Format: date-time */
|
|
3511
3616
|
readonly updatedAt?: string;
|
|
3512
3617
|
};
|
|
3513
|
-
|
|
3618
|
+
PageViewedInteraction: components["schemas"]["BaseInteraction"] & {
|
|
3619
|
+
name: string;
|
|
3620
|
+
payload: components["schemas"]["PageViewedPayload"];
|
|
3621
|
+
} & {
|
|
3514
3622
|
/**
|
|
3515
3623
|
* discriminator enum property added by openapi-typescript
|
|
3516
3624
|
* @enum {string}
|
|
3517
3625
|
*/
|
|
3518
3626
|
name: "page.viewed";
|
|
3627
|
+
};
|
|
3628
|
+
PageViewedPayload: {
|
|
3519
3629
|
/** the id from the page which was viewed */
|
|
3520
3630
|
pageId: string;
|
|
3521
3631
|
pageNumber?: number | null;
|
|
@@ -3654,23 +3764,21 @@ export type Schemas = {
|
|
|
3654
3764
|
/** Format: date-time */
|
|
3655
3765
|
readonly updatedAt?: string;
|
|
3656
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
|
+
};
|
|
3657
3771
|
PresentationSlideData: {
|
|
3772
|
+
category?: components["schemas"]["Category"];
|
|
3658
3773
|
cmsPage?: components["schemas"]["CmsPage"];
|
|
3774
|
+
configurator?: components["schemas"]["PropertyGroup"][];
|
|
3659
3775
|
extensions?: {
|
|
3660
|
-
cmsPageRelation?: components["schemas"]["
|
|
3776
|
+
cmsPageRelation?: components["schemas"]["PresentationCmsPage"];
|
|
3661
3777
|
};
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
configurator?: components["schemas"]["PropertyGroup"][];
|
|
3665
|
-
product?: components["schemas"]["Product"];
|
|
3666
|
-
}
|
|
3667
|
-
| {
|
|
3668
|
-
category?: components["schemas"]["Category"];
|
|
3669
|
-
}
|
|
3670
|
-
| null
|
|
3671
|
-
);
|
|
3778
|
+
product?: components["schemas"]["Product"];
|
|
3779
|
+
};
|
|
3672
3780
|
PresentationStructure: {
|
|
3673
|
-
cmsPageResults
|
|
3781
|
+
cmsPageResults: {
|
|
3674
3782
|
cmsPage?: components["schemas"]["CmsPage"];
|
|
3675
3783
|
/** The presentation id */
|
|
3676
3784
|
resourceIdentifier?: string;
|
|
@@ -3680,15 +3788,15 @@ export type Schemas = {
|
|
|
3680
3788
|
*/
|
|
3681
3789
|
resourceType?: string;
|
|
3682
3790
|
}[];
|
|
3683
|
-
navigation
|
|
3791
|
+
navigation: {
|
|
3684
3792
|
/** The CMS page id */
|
|
3685
|
-
cmsPageId
|
|
3793
|
+
cmsPageId: string;
|
|
3686
3794
|
/** The presentation CMS page id */
|
|
3687
|
-
groupId
|
|
3795
|
+
groupId: string;
|
|
3688
3796
|
/** The slide name */
|
|
3689
|
-
groupName
|
|
3797
|
+
groupName: string;
|
|
3690
3798
|
/** The slide position */
|
|
3691
|
-
index
|
|
3799
|
+
index: number;
|
|
3692
3800
|
/** If the slide is an instant listing */
|
|
3693
3801
|
isInstantListing?: boolean;
|
|
3694
3802
|
/** @default [] */
|
|
@@ -3696,9 +3804,9 @@ export type Schemas = {
|
|
|
3696
3804
|
/** The number of picked products of the instant listing */
|
|
3697
3805
|
pickedProductsCount?: number;
|
|
3698
3806
|
/** The section id */
|
|
3699
|
-
sectionId
|
|
3807
|
+
sectionId: string;
|
|
3700
3808
|
/** The section name */
|
|
3701
|
-
sectionName
|
|
3809
|
+
sectionName: string | null;
|
|
3702
3810
|
}[];
|
|
3703
3811
|
};
|
|
3704
3812
|
Price: {
|
|
@@ -4004,6 +4112,20 @@ export type Schemas = {
|
|
|
4004
4112
|
/** Format: date-time */
|
|
4005
4113
|
readonly updatedAt?: string;
|
|
4006
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
|
+
};
|
|
4007
4129
|
ProductJsonApi: components["schemas"]["resource"] & {
|
|
4008
4130
|
active?: boolean;
|
|
4009
4131
|
readonly available?: boolean;
|
|
@@ -4513,16 +4635,16 @@ export type Schemas = {
|
|
|
4513
4635
|
weight?: number;
|
|
4514
4636
|
/** Format: float */
|
|
4515
4637
|
width?: number;
|
|
4516
|
-
} & {
|
|
4517
|
-
|
|
4518
|
-
group: string;
|
|
4519
|
-
option: string;
|
|
4520
|
-
translated: {
|
|
4638
|
+
} & components["schemas"]["DiscountLineItemPayload"] & {
|
|
4639
|
+
options: {
|
|
4521
4640
|
group: string;
|
|
4522
4641
|
option: string;
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4642
|
+
translated: {
|
|
4643
|
+
group: string;
|
|
4644
|
+
option: string;
|
|
4645
|
+
};
|
|
4646
|
+
}[];
|
|
4647
|
+
};
|
|
4526
4648
|
ProductKeywordDictionary: {
|
|
4527
4649
|
id?: string;
|
|
4528
4650
|
keyword: string;
|
|
@@ -4676,15 +4798,6 @@ export type Schemas = {
|
|
|
4676
4798
|
product?: components["schemas"]["Product"];
|
|
4677
4799
|
};
|
|
4678
4800
|
ProductPayload: {
|
|
4679
|
-
/**
|
|
4680
|
-
* discriminator enum property added by openapi-typescript
|
|
4681
|
-
* @enum {string}
|
|
4682
|
-
*/
|
|
4683
|
-
name:
|
|
4684
|
-
| "product.viewed"
|
|
4685
|
-
| "attendee.product.collection.liked"
|
|
4686
|
-
| "attendee.product.collection.disliked"
|
|
4687
|
-
| "attendee.product.collection.removed";
|
|
4688
4801
|
/** the id from the product which is used in the interaction */
|
|
4689
4802
|
productId: string;
|
|
4690
4803
|
};
|
|
@@ -5119,43 +5232,240 @@ export type Schemas = {
|
|
|
5119
5232
|
/** Format: date-time */
|
|
5120
5233
|
readonly updatedAt?: string;
|
|
5121
5234
|
};
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5235
|
+
QuoteJsonApi: components["schemas"]["resource"] & {
|
|
5236
|
+
/** Format: float */
|
|
5237
|
+
readonly amountNet?: number;
|
|
5238
|
+
/** Format: float */
|
|
5239
|
+
readonly amountTotal?: number;
|
|
5126
5240
|
/** Format: date-time */
|
|
5127
5241
|
readonly createdAt?: string;
|
|
5242
|
+
createdById?: string;
|
|
5243
|
+
currencyId: string;
|
|
5244
|
+
customerId: string;
|
|
5128
5245
|
customFields?: GenericRecord;
|
|
5129
|
-
description?: string;
|
|
5130
5246
|
discount?: {
|
|
5131
5247
|
type?: string;
|
|
5132
|
-
/** Format:
|
|
5248
|
+
/** Format: float */
|
|
5133
5249
|
value?: number;
|
|
5134
5250
|
};
|
|
5135
|
-
|
|
5251
|
+
/** Format: date-time */
|
|
5252
|
+
expirationDate?: string;
|
|
5136
5253
|
id: string;
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
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 */
|
|
5159
5469
|
totalPrice?: number;
|
|
5160
5470
|
type?: string;
|
|
5161
5471
|
/** Format: float */
|
|
@@ -5234,6 +5544,21 @@ export type Schemas = {
|
|
|
5234
5544
|
customFields?: GenericRecord;
|
|
5235
5545
|
description?: string;
|
|
5236
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
|
+
};
|
|
5237
5562
|
warehouseGroup?: {
|
|
5238
5563
|
data?: {
|
|
5239
5564
|
/** @example 1768e3071b62161d415e0c24332055ed */
|
|
@@ -5466,15 +5791,20 @@ export type Schemas = {
|
|
|
5466
5791
|
/** Format: date-time */
|
|
5467
5792
|
readonly updatedAt?: string;
|
|
5468
5793
|
};
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5794
|
+
ScreenSharingToggledInteraction: components["schemas"]["BaseInteraction"] & {
|
|
5795
|
+
name: string;
|
|
5796
|
+
payload: components["schemas"]["ScreenSharingToggledPayload"];
|
|
5797
|
+
} & {
|
|
5472
5798
|
/**
|
|
5473
5799
|
* discriminator enum property added by openapi-typescript
|
|
5474
5800
|
* @enum {string}
|
|
5475
5801
|
*/
|
|
5476
5802
|
name: "screenSharing.toggled";
|
|
5477
5803
|
};
|
|
5804
|
+
ScreenSharingToggledPayload: {
|
|
5805
|
+
/** Whether the screen sharing is active or not */
|
|
5806
|
+
active: boolean;
|
|
5807
|
+
};
|
|
5478
5808
|
Script: {
|
|
5479
5809
|
/** Format: date-time */
|
|
5480
5810
|
readonly createdAt?: string;
|
|
@@ -5894,6 +6224,13 @@ export type Schemas = {
|
|
|
5894
6224
|
/** Format: date-time */
|
|
5895
6225
|
readonly updatedAt?: string;
|
|
5896
6226
|
};
|
|
6227
|
+
SpatialSceneGroup: {
|
|
6228
|
+
/** Format: date-time */
|
|
6229
|
+
readonly createdAt?: string;
|
|
6230
|
+
id?: string;
|
|
6231
|
+
/** Format: date-time */
|
|
6232
|
+
readonly updatedAt?: string;
|
|
6233
|
+
};
|
|
5897
6234
|
SpatialSceneLight: {
|
|
5898
6235
|
/** Format: date-time */
|
|
5899
6236
|
readonly createdAt?: string;
|
|
@@ -5901,6 +6238,13 @@ export type Schemas = {
|
|
|
5901
6238
|
/** Format: date-time */
|
|
5902
6239
|
readonly updatedAt?: string;
|
|
5903
6240
|
};
|
|
6241
|
+
SpatialSceneMaterial: {
|
|
6242
|
+
/** Format: date-time */
|
|
6243
|
+
readonly createdAt?: string;
|
|
6244
|
+
id?: string;
|
|
6245
|
+
/** Format: date-time */
|
|
6246
|
+
readonly updatedAt?: string;
|
|
6247
|
+
};
|
|
5904
6248
|
SpatialSceneObject: {
|
|
5905
6249
|
/** Format: date-time */
|
|
5906
6250
|
readonly createdAt?: string;
|
|
@@ -5908,6 +6252,13 @@ export type Schemas = {
|
|
|
5908
6252
|
/** Format: date-time */
|
|
5909
6253
|
readonly updatedAt?: string;
|
|
5910
6254
|
};
|
|
6255
|
+
SpatialScenePrimitive: {
|
|
6256
|
+
/** Format: date-time */
|
|
6257
|
+
readonly createdAt?: string;
|
|
6258
|
+
id?: string;
|
|
6259
|
+
/** Format: date-time */
|
|
6260
|
+
readonly updatedAt?: string;
|
|
6261
|
+
};
|
|
5911
6262
|
SsoProvider: {
|
|
5912
6263
|
/** Format: date-time */
|
|
5913
6264
|
readonly createdAt?: string;
|
|
@@ -5977,13 +6328,6 @@ export type Schemas = {
|
|
|
5977
6328
|
hoveredElementId?: string | null;
|
|
5978
6329
|
videoClientToken?: string | null;
|
|
5979
6330
|
};
|
|
5980
|
-
StateForMe: {
|
|
5981
|
-
attendeeName?: string | null;
|
|
5982
|
-
/** @default [] */
|
|
5983
|
-
extensions?: unknown[];
|
|
5984
|
-
/** @default null */
|
|
5985
|
-
guideCartPermissionsGranted?: boolean;
|
|
5986
|
-
};
|
|
5987
6331
|
StateMachine: {
|
|
5988
6332
|
/** Format: date-time */
|
|
5989
6333
|
readonly createdAt?: string;
|
|
@@ -6246,25 +6590,77 @@ export type Schemas = {
|
|
|
6246
6590
|
visibilityRuleId?: string;
|
|
6247
6591
|
};
|
|
6248
6592
|
SwagCmsExtensionsForm: {
|
|
6593
|
+
cmsSlot?: components["schemas"]["CmsSlot"];
|
|
6594
|
+
cmsSlotId?: string;
|
|
6595
|
+
cmsSlotVersionId?: string;
|
|
6249
6596
|
/** Format: date-time */
|
|
6250
6597
|
readonly createdAt?: string;
|
|
6251
|
-
|
|
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
|
+
};
|
|
6252
6615
|
/** Format: date-time */
|
|
6253
6616
|
readonly updatedAt?: string;
|
|
6254
6617
|
};
|
|
6255
6618
|
SwagCmsExtensionsFormGroup: {
|
|
6256
6619
|
/** Format: date-time */
|
|
6257
6620
|
readonly createdAt?: string;
|
|
6258
|
-
|
|
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
|
+
};
|
|
6259
6634
|
/** Format: date-time */
|
|
6260
6635
|
readonly updatedAt?: string;
|
|
6261
6636
|
};
|
|
6262
6637
|
SwagCmsExtensionsFormGroupField: {
|
|
6638
|
+
config?: GenericRecord;
|
|
6263
6639
|
/** Format: date-time */
|
|
6264
6640
|
readonly createdAt?: string;
|
|
6265
|
-
|
|
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;
|
|
6266
6660
|
/** Format: date-time */
|
|
6267
6661
|
readonly updatedAt?: string;
|
|
6662
|
+
/** Format: int64 */
|
|
6663
|
+
width: number;
|
|
6268
6664
|
};
|
|
6269
6665
|
SwagCmsExtensionsQuickview: {
|
|
6270
6666
|
active?: boolean;
|
|
@@ -6981,18 +7377,8 @@ export type Schemas = {
|
|
|
6981
7377
|
readonly updatedAt?: string;
|
|
6982
7378
|
};
|
|
6983
7379
|
SwagPaypalVaultToken: {
|
|
6984
|
-
// TODO: [OpenAPI][SwagPaypalVaultToken] - add SwagPaypalVaultToken definition to schema
|
|
6985
|
-
/** Format: date-time */
|
|
6986
|
-
createdAt: string;
|
|
6987
|
-
customer?: components["schemas"]["Customer"];
|
|
6988
|
-
customerId: string;
|
|
6989
7380
|
id?: string;
|
|
6990
|
-
identifier
|
|
6991
|
-
mainMapping?: components["schemas"]["SwagPaypalVaultTokenMapping"];
|
|
6992
|
-
paymentMethod?: components["schemas"]["PaymentMethod"];
|
|
6993
|
-
paymentMethodId: string;
|
|
6994
|
-
/** Format: date-time */
|
|
6995
|
-
updatedAt?: string;
|
|
7381
|
+
identifier?: string;
|
|
6996
7382
|
};
|
|
6997
7383
|
SwagPaypalVaultTokenMapping: {
|
|
6998
7384
|
/** Format: date-time */
|
|
@@ -7133,15 +7519,20 @@ export type Schemas = {
|
|
|
7133
7519
|
/** Format: date-time */
|
|
7134
7520
|
readonly updatedAt?: string;
|
|
7135
7521
|
};
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7522
|
+
ToggleBroadcastModeInteraction: components["schemas"]["BaseInteraction"] & {
|
|
7523
|
+
name: string;
|
|
7524
|
+
payload: components["schemas"]["ToggleBroadcastModePayload"];
|
|
7525
|
+
} & {
|
|
7139
7526
|
/**
|
|
7140
7527
|
* discriminator enum property added by openapi-typescript
|
|
7141
7528
|
* @enum {string}
|
|
7142
7529
|
*/
|
|
7143
7530
|
name: "broadcastMode.toggled";
|
|
7144
7531
|
};
|
|
7532
|
+
ToggleBroadcastModePayload: {
|
|
7533
|
+
/** Status if the mode is toggled to active or inactive */
|
|
7534
|
+
active: boolean;
|
|
7535
|
+
};
|
|
7145
7536
|
TotalCountMode: "none" | "exact" | "next-pages";
|
|
7146
7537
|
Unit: {
|
|
7147
7538
|
/** Format: date-time */
|
|
@@ -7193,6 +7584,16 @@ export type Schemas = {
|
|
|
7193
7584
|
/** Format: date-time */
|
|
7194
7585
|
readonly updatedAt?: string;
|
|
7195
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
|
+
};
|
|
7196
7597
|
ViewModeChangedPayload: {
|
|
7197
7598
|
/**
|
|
7198
7599
|
* The view mode of presentation
|
|
@@ -7200,11 +7601,6 @@ export type Schemas = {
|
|
|
7200
7601
|
* @enum {string}
|
|
7201
7602
|
*/
|
|
7202
7603
|
mode?: "onlyYou" | "presentation" | "videoGrid";
|
|
7203
|
-
/**
|
|
7204
|
-
* discriminator enum property added by openapi-typescript
|
|
7205
|
-
* @enum {string}
|
|
7206
|
-
*/
|
|
7207
|
-
name: "viewMode.changed";
|
|
7208
7604
|
};
|
|
7209
7605
|
Warehouse: {
|
|
7210
7606
|
/** Format: date-time */
|
|
@@ -7547,17 +7943,58 @@ export type operations = {
|
|
|
7547
7943
|
birthdayMonth?: number;
|
|
7548
7944
|
/** Birthday year */
|
|
7549
7945
|
birthdayYear?: number;
|
|
7550
|
-
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
7551
|
-
company?: string;
|
|
7552
7946
|
/** Customer first name. Value will be reused for shipping and billing address if not provided explicitly. */
|
|
7553
7947
|
firstName: string;
|
|
7554
7948
|
/** Customer last name. Value will be reused for shipping and billing address if not provided explicitly. */
|
|
7555
7949
|
lastName: string;
|
|
7556
7950
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7557
|
-
salutationId
|
|
7951
|
+
salutationId?: string;
|
|
7558
7952
|
/** (Academic) title of the customer */
|
|
7559
7953
|
title?: string;
|
|
7560
|
-
}
|
|
7954
|
+
} & (
|
|
7955
|
+
| {
|
|
7956
|
+
/**
|
|
7957
|
+
* Type of the customer account. Default value is 'private'.
|
|
7958
|
+
* @default private
|
|
7959
|
+
* @enum {string}
|
|
7960
|
+
*/
|
|
7961
|
+
accountType?: "private";
|
|
7962
|
+
company?: null;
|
|
7963
|
+
vatIds?: null;
|
|
7964
|
+
}
|
|
7965
|
+
| {
|
|
7966
|
+
/**
|
|
7967
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
7968
|
+
* @enum {string}
|
|
7969
|
+
*/
|
|
7970
|
+
accountType: "business";
|
|
7971
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
7972
|
+
company: string;
|
|
7973
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
7974
|
+
vatIds: [string, ...string[]];
|
|
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
|
+
}
|
|
7997
|
+
);
|
|
7561
7998
|
response: components["schemas"]["SuccessResponse"];
|
|
7562
7999
|
responseCode: 200;
|
|
7563
8000
|
};
|
|
@@ -7679,17 +8116,9 @@ export type operations = {
|
|
|
7679
8116
|
body: {
|
|
7680
8117
|
/** Flag indicating accepted data protection */
|
|
7681
8118
|
acceptedDataProtection: boolean;
|
|
7682
|
-
/**
|
|
7683
|
-
* Account type of the customer which can be either `private` or `business`.
|
|
7684
|
-
* @default private
|
|
7685
|
-
*/
|
|
7686
|
-
accountType?: string;
|
|
7687
8119
|
/** Field can be used to store an affiliate tracking code */
|
|
7688
8120
|
affiliateCode?: string;
|
|
7689
|
-
billingAddress:
|
|
7690
|
-
components["schemas"]["CustomerAddress"],
|
|
7691
|
-
"createdAt" | "id" | "customerId" | "firstName" | "lastName"
|
|
7692
|
-
>; // TODO: [OpenAPI][register] - omit id, createdAt, customerId, firstName, lastName while creating address (or better to reverse and pick required fields)
|
|
8121
|
+
billingAddress: components["schemas"]["CustomerAddress"];
|
|
7693
8122
|
/** Birthday day */
|
|
7694
8123
|
birthdayDay?: number;
|
|
7695
8124
|
/** Birthday month */
|
|
@@ -7712,178 +8141,69 @@ export type operations = {
|
|
|
7712
8141
|
/** Password for the customer. Required, unless `guest` is `true` */
|
|
7713
8142
|
password: string;
|
|
7714
8143
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7715
|
-
salutationId
|
|
8144
|
+
salutationId?: string;
|
|
7716
8145
|
shippingAddress?: components["schemas"]["CustomerAddress"];
|
|
7717
8146
|
/** URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel. */
|
|
7718
8147
|
storefrontUrl: string;
|
|
7719
8148
|
/** (Academic) title of the customer */
|
|
7720
8149
|
title?: string;
|
|
7721
|
-
}
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
contentType?: "application/json";
|
|
7767
|
-
accept?: "application/json";
|
|
7768
|
-
pathParams: {
|
|
7769
|
-
/** Identifier of the shopping list to be fetched */
|
|
7770
|
-
id: string;
|
|
7771
|
-
};
|
|
7772
|
-
response: components["schemas"]["B2bComponentsShoppingList"];
|
|
7773
|
-
responseCode: 200;
|
|
7774
|
-
};
|
|
7775
|
-
"updateShoppingList patch /account/shopping-list/{id}/change-name": {
|
|
7776
|
-
contentType?: "application/json";
|
|
7777
|
-
accept?: "application/json";
|
|
7778
|
-
pathParams: {
|
|
7779
|
-
/** Identifier of the shopping list to be fetched */
|
|
7780
|
-
id: string;
|
|
7781
|
-
};
|
|
7782
|
-
body: {
|
|
7783
|
-
/** Shopping list name */
|
|
7784
|
-
name: string;
|
|
7785
|
-
};
|
|
7786
|
-
response: never;
|
|
7787
|
-
responseCode: 204;
|
|
7788
|
-
};
|
|
7789
|
-
"duplicateShoppingList post /account/shopping-list/{id}/duplicate": {
|
|
7790
|
-
contentType?: "application/json";
|
|
7791
|
-
accept?: "application/json";
|
|
7792
|
-
pathParams: {
|
|
7793
|
-
/** Identifier of the shopping list to be fetched */
|
|
7794
|
-
id: string;
|
|
7795
|
-
};
|
|
7796
|
-
body: {
|
|
7797
|
-
/** Shopping list name */
|
|
7798
|
-
name: string;
|
|
7799
|
-
};
|
|
7800
|
-
response: {
|
|
7801
|
-
/** The generated id of the duplicated shopping list */
|
|
7802
|
-
id?: string;
|
|
7803
|
-
};
|
|
7804
|
-
responseCode: 200;
|
|
7805
|
-
};
|
|
7806
|
-
"summaryShoppingList get /account/shopping-list/{id}/summary": {
|
|
7807
|
-
contentType?: "application/json";
|
|
7808
|
-
accept?: "application/json";
|
|
7809
|
-
pathParams: {
|
|
7810
|
-
/** Identifier of the shopping list to be fetched */
|
|
7811
|
-
id: string;
|
|
7812
|
-
};
|
|
7813
|
-
response: {
|
|
7814
|
-
price?: {
|
|
7815
|
-
/**
|
|
7816
|
-
* Format: float
|
|
7817
|
-
* Net price of the cart
|
|
7818
|
-
*/
|
|
7819
|
-
netPrice?: number;
|
|
7820
|
-
/**
|
|
7821
|
-
* Format: float
|
|
7822
|
-
* Price for all line items in the cart
|
|
7823
|
-
*/
|
|
7824
|
-
positionPrice?: number;
|
|
7825
|
-
/** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
|
|
7826
|
-
taxStatus?: string;
|
|
7827
|
-
/**
|
|
7828
|
-
* Format: float
|
|
7829
|
-
* Total price of the cart, including shipping costs, discounts and taxes
|
|
7830
|
-
*/
|
|
7831
|
-
totalPrice?: number;
|
|
7832
|
-
};
|
|
7833
|
-
};
|
|
8150
|
+
} & (
|
|
8151
|
+
| {
|
|
8152
|
+
/**
|
|
8153
|
+
* Type of the customer account. Default value is 'private'.
|
|
8154
|
+
* @default private
|
|
8155
|
+
* @enum {string}
|
|
8156
|
+
*/
|
|
8157
|
+
accountType?: "private";
|
|
8158
|
+
company?: null;
|
|
8159
|
+
vatIds?: null;
|
|
8160
|
+
}
|
|
8161
|
+
| {
|
|
8162
|
+
/**
|
|
8163
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
8164
|
+
* @enum {string}
|
|
8165
|
+
*/
|
|
8166
|
+
accountType: "business";
|
|
8167
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
8168
|
+
company: string;
|
|
8169
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
8170
|
+
vatIds: [string, ...string[]];
|
|
8171
|
+
}
|
|
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"];
|
|
7834
8195
|
responseCode: 200;
|
|
7835
8196
|
};
|
|
7836
|
-
"
|
|
7837
|
-
contentType?: "application/json";
|
|
7838
|
-
accept?: "application/json";
|
|
7839
|
-
pathParams: {
|
|
7840
|
-
/** Identifier of the shopping list to be fetched */
|
|
7841
|
-
id: string;
|
|
7842
|
-
};
|
|
7843
|
-
body: {
|
|
7844
|
-
lineItems: {
|
|
7845
|
-
[key: string]: {
|
|
7846
|
-
/** Product id */
|
|
7847
|
-
id: string;
|
|
7848
|
-
/** Quantity of the product */
|
|
7849
|
-
quantity: number;
|
|
7850
|
-
};
|
|
7851
|
-
};
|
|
7852
|
-
};
|
|
7853
|
-
response: never;
|
|
7854
|
-
responseCode: 204;
|
|
7855
|
-
};
|
|
7856
|
-
"updateLineItems patch /account/shopping-list/line-item/{id}/change-quantity": {
|
|
7857
|
-
contentType?: "application/json";
|
|
7858
|
-
accept?: "application/json";
|
|
7859
|
-
pathParams: {
|
|
7860
|
-
/** Identifier of the shopping list line item to be fetched */
|
|
7861
|
-
id: string;
|
|
7862
|
-
};
|
|
7863
|
-
body: {
|
|
7864
|
-
/** new line item quantity */
|
|
7865
|
-
quantity: number;
|
|
7866
|
-
};
|
|
7867
|
-
response: never;
|
|
7868
|
-
responseCode: 204;
|
|
7869
|
-
};
|
|
7870
|
-
"removeLineItems delete /account/shopping-list/line-item/remove": {
|
|
8197
|
+
"registerConfirm post /account/register-confirm": {
|
|
7871
8198
|
contentType?: "application/json";
|
|
7872
8199
|
accept?: "application/json";
|
|
7873
8200
|
body: {
|
|
7874
|
-
/**
|
|
7875
|
-
|
|
8201
|
+
/** Email hash from the email received */
|
|
8202
|
+
em: string;
|
|
8203
|
+
/** Hash from the email received */
|
|
8204
|
+
hash: string;
|
|
7876
8205
|
};
|
|
7877
8206
|
response: never;
|
|
7878
|
-
responseCode: 204;
|
|
7879
|
-
};
|
|
7880
|
-
"readShoppingLists post /account/shopping-lists": {
|
|
7881
|
-
contentType?: "application/json";
|
|
7882
|
-
accept?: "application/json";
|
|
7883
|
-
body?: components["schemas"]["Criteria"];
|
|
7884
|
-
response: {
|
|
7885
|
-
elements?: components["schemas"]["B2bComponentsShoppingList"][];
|
|
7886
|
-
} & components["schemas"]["EntitySearchResult"];
|
|
7887
8207
|
responseCode: 200;
|
|
7888
8208
|
};
|
|
7889
8209
|
"generateJWTAppSystemAppServer post /app-system/{name}/generate-token": {
|
|
@@ -8116,11 +8436,16 @@ export type operations = {
|
|
|
8116
8436
|
"sw-language-id"?: string;
|
|
8117
8437
|
};
|
|
8118
8438
|
body: {
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8439
|
+
items: [
|
|
8440
|
+
{
|
|
8441
|
+
id: string;
|
|
8442
|
+
quantity: number;
|
|
8443
|
+
},
|
|
8444
|
+
...{
|
|
8445
|
+
id: string;
|
|
8446
|
+
quantity: number;
|
|
8447
|
+
}[],
|
|
8448
|
+
];
|
|
8124
8449
|
};
|
|
8125
8450
|
response: components["schemas"]["Cart"];
|
|
8126
8451
|
responseCode: 200;
|
|
@@ -8230,7 +8555,7 @@ export type operations = {
|
|
|
8230
8555
|
/** Phone. This field may be required depending on the system settings. */
|
|
8231
8556
|
phone?: string;
|
|
8232
8557
|
/** Identifier of the salutation. Use `/api/salutation` endpoint to fetch possible values. */
|
|
8233
|
-
salutationId
|
|
8558
|
+
salutationId?: string;
|
|
8234
8559
|
/** Identifier of the cms element */
|
|
8235
8560
|
slotId?: string;
|
|
8236
8561
|
/** The subject of the contact form. */
|
|
@@ -8394,7 +8719,7 @@ export type operations = {
|
|
|
8394
8719
|
* The status you respond to
|
|
8395
8720
|
* @enum {string}
|
|
8396
8721
|
*/
|
|
8397
|
-
|
|
8722
|
+
answer?: "accepted" | "maybe" | "declined";
|
|
8398
8723
|
/** The token will be attached to the invitation response link in the invitation mail */
|
|
8399
8724
|
token: string;
|
|
8400
8725
|
};
|
|
@@ -8619,7 +8944,16 @@ export type operations = {
|
|
|
8619
8944
|
response: components["schemas"]["CmsPage"];
|
|
8620
8945
|
responseCode: 200;
|
|
8621
8946
|
};
|
|
8622
|
-
"readEmployees
|
|
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": {
|
|
8623
8957
|
contentType?: "application/json";
|
|
8624
8958
|
accept?: "application/json";
|
|
8625
8959
|
body?: components["schemas"]["Criteria"];
|
|
@@ -8628,6 +8962,16 @@ export type operations = {
|
|
|
8628
8962
|
} & components["schemas"]["EntitySearchResult"];
|
|
8629
8963
|
responseCode: 200;
|
|
8630
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
|
+
};
|
|
8631
8975
|
"readEmployee post /employee/{id}": {
|
|
8632
8976
|
contentType?: "application/json";
|
|
8633
8977
|
accept?: "application/json";
|
|
@@ -8676,6 +9020,8 @@ export type operations = {
|
|
|
8676
9020
|
email: string;
|
|
8677
9021
|
/** First name of the new employee */
|
|
8678
9022
|
firstName: string;
|
|
9023
|
+
/** Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee. */
|
|
9024
|
+
languageId: string;
|
|
8679
9025
|
/** Last name of the new employee */
|
|
8680
9026
|
lastName: string;
|
|
8681
9027
|
/** Id of the role of the new employee */
|
|
@@ -8977,6 +9323,38 @@ export type operations = {
|
|
|
8977
9323
|
response: components["schemas"]["PendingOrder"];
|
|
8978
9324
|
responseCode: 200;
|
|
8979
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
|
+
};
|
|
8980
9358
|
"readProduct post /product": {
|
|
8981
9359
|
contentType?: "application/json";
|
|
8982
9360
|
accept?: "application/json";
|
|
@@ -8986,7 +9364,7 @@ export type operations = {
|
|
|
8986
9364
|
};
|
|
8987
9365
|
body?: components["schemas"]["Criteria"];
|
|
8988
9366
|
response: {
|
|
8989
|
-
elements: components["schemas"]["Product"][];
|
|
9367
|
+
elements: components["schemas"]["Product"][];
|
|
8990
9368
|
} & components["schemas"]["EntitySearchResult"];
|
|
8991
9369
|
responseCode: 200;
|
|
8992
9370
|
};
|
|
@@ -9324,18 +9702,6 @@ export type operations = {
|
|
|
9324
9702
|
response: never;
|
|
9325
9703
|
responseCode: 204;
|
|
9326
9704
|
};
|
|
9327
|
-
"readPermissions get /role/permissions": {
|
|
9328
|
-
contentType?: "application/json";
|
|
9329
|
-
accept?: "application/json";
|
|
9330
|
-
response: {
|
|
9331
|
-
elements?: {
|
|
9332
|
-
permissionDependencies?: string[];
|
|
9333
|
-
permissionGroupName?: string;
|
|
9334
|
-
permissionName?: string;
|
|
9335
|
-
}[];
|
|
9336
|
-
} & components["schemas"]["EntitySearchResult"];
|
|
9337
|
-
responseCode: 200;
|
|
9338
|
-
};
|
|
9339
9705
|
"readSalutation post /salutation": {
|
|
9340
9706
|
contentType?: "application/json";
|
|
9341
9707
|
accept?: "application/json";
|
|
@@ -9477,11 +9843,168 @@ export type operations = {
|
|
|
9477
9843
|
body?: components["schemas"]["Criteria"];
|
|
9478
9844
|
response: {
|
|
9479
9845
|
/** aggregation result */
|
|
9480
|
-
aggregations?:
|
|
9481
|
-
elements: components["schemas"]["ShippingMethod"][];
|
|
9846
|
+
aggregations?: GenericRecord;
|
|
9847
|
+
elements: components["schemas"]["ShippingMethod"][];
|
|
9482
9848
|
/** Total amount */
|
|
9483
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[];
|
|
9484
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"];
|
|
9485
10008
|
responseCode: 200;
|
|
9486
10009
|
};
|
|
9487
10010
|
"addShoppingListsToCart post /shopping-lists/add-to-cart": {
|