@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
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as hookable from 'hookable';
|
|
2
|
-
import { FetchOptions, FetchResponse } from 'ofetch';
|
|
2
|
+
import { FetchOptions, ResponseType, FetchResponse } from 'ofetch';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Source: https://github.com/shopware/shopware/blob/trunk/src/Core/PlatformRequest.php#L16
|
|
@@ -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.
|
|
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
|
-
/**
|
|
346
|
-
|
|
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" | "
|
|
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";
|
|
@@ -696,7 +719,7 @@ type Schemas$1 = {
|
|
|
696
719
|
keywords?: string;
|
|
697
720
|
linkNewTab?: boolean;
|
|
698
721
|
/** @enum {string} */
|
|
699
|
-
linkType?: "
|
|
722
|
+
linkType?: "category" | "external" | "landing_page" | "product";
|
|
700
723
|
metaDescription?: string;
|
|
701
724
|
metaTitle?: string;
|
|
702
725
|
name: string;
|
|
@@ -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
|
|
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?:
|
|
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"]["
|
|
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"]["
|
|
1569
|
+
includes?: components$1["schemas"]["Includes"];
|
|
1574
1570
|
/** Number of items per result page */
|
|
1575
1571
|
limit?: number;
|
|
1576
1572
|
/** Search result page */
|
|
@@ -1732,7 +1728,6 @@ type Schemas$1 = {
|
|
|
1732
1728
|
readonly updatedAt?: string;
|
|
1733
1729
|
};
|
|
1734
1730
|
Customer: {
|
|
1735
|
-
accountType?: string;
|
|
1736
1731
|
active?: boolean;
|
|
1737
1732
|
activeBillingAddress: components$1["schemas"]["CustomerAddress"];
|
|
1738
1733
|
activeShippingAddress: components$1["schemas"]["CustomerAddress"];
|
|
@@ -1742,7 +1737,6 @@ type Schemas$1 = {
|
|
|
1742
1737
|
apiAlias: "customer";
|
|
1743
1738
|
birthday?: string;
|
|
1744
1739
|
campaignCode?: string;
|
|
1745
|
-
company?: string;
|
|
1746
1740
|
/** Format: date-time */
|
|
1747
1741
|
readonly createdAt?: string;
|
|
1748
1742
|
createdById?: string;
|
|
@@ -1809,8 +1803,28 @@ type Schemas$1 = {
|
|
|
1809
1803
|
/** Format: date-time */
|
|
1810
1804
|
readonly updatedAt?: string;
|
|
1811
1805
|
updatedById?: string;
|
|
1812
|
-
|
|
1813
|
-
|
|
1806
|
+
} & (
|
|
1807
|
+
| {
|
|
1808
|
+
/** @enum {string} */
|
|
1809
|
+
accountType: "private";
|
|
1810
|
+
}
|
|
1811
|
+
| {
|
|
1812
|
+
/** @enum {string} */
|
|
1813
|
+
accountType: "business";
|
|
1814
|
+
company: string;
|
|
1815
|
+
vatIds: [string, ...string[]];
|
|
1816
|
+
}
|
|
1817
|
+
| {
|
|
1818
|
+
/** @enum {string} */
|
|
1819
|
+
accountType: "private";
|
|
1820
|
+
}
|
|
1821
|
+
| {
|
|
1822
|
+
/** @enum {string} */
|
|
1823
|
+
accountType: "business";
|
|
1824
|
+
company: string;
|
|
1825
|
+
vatIds: [string, ...string[]];
|
|
1826
|
+
}
|
|
1827
|
+
);
|
|
1814
1828
|
CustomerAddress: {
|
|
1815
1829
|
additionalAddressLine1?: string;
|
|
1816
1830
|
additionalAddressLine2?: string;
|
|
@@ -1949,6 +1963,14 @@ type Schemas$1 = {
|
|
|
1949
1963
|
/** Format: date-time */
|
|
1950
1964
|
readonly updatedAt?: string;
|
|
1951
1965
|
};
|
|
1966
|
+
DiscountLineItemPayload: {
|
|
1967
|
+
/** Format: float */
|
|
1968
|
+
discountPrice?: number;
|
|
1969
|
+
/** @enum {string} */
|
|
1970
|
+
discountType?: "percentage" | "absolute";
|
|
1971
|
+
/** Format: float */
|
|
1972
|
+
discountValue?: number;
|
|
1973
|
+
};
|
|
1952
1974
|
Document: {
|
|
1953
1975
|
config: {
|
|
1954
1976
|
name: string;
|
|
@@ -2085,7 +2107,6 @@ type Schemas$1 = {
|
|
|
2085
2107
|
customFields?: GenericRecord$1;
|
|
2086
2108
|
id?: string;
|
|
2087
2109
|
name?: string;
|
|
2088
|
-
startAsBroadcast?: boolean;
|
|
2089
2110
|
/** Format: date-time */
|
|
2090
2111
|
readonly updatedAt?: string;
|
|
2091
2112
|
url?: string;
|
|
@@ -2163,42 +2184,69 @@ type Schemas$1 = {
|
|
|
2163
2184
|
/** Format: date-time */
|
|
2164
2185
|
readonly updatedAt?: string;
|
|
2165
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
|
+
};
|
|
2166
2208
|
DynamicPageClosedPayload: {
|
|
2167
2209
|
/**
|
|
2168
2210
|
* Whether all pages were closed
|
|
2169
2211
|
* @default false
|
|
2170
2212
|
*/
|
|
2171
2213
|
all?: boolean;
|
|
2172
|
-
/**
|
|
2173
|
-
* discriminator enum property added by openapi-typescript
|
|
2174
|
-
* @enum {string}
|
|
2175
|
-
*/
|
|
2176
|
-
name: "dynamicPage.closed";
|
|
2177
2214
|
/** The id of the page that was closed */
|
|
2178
2215
|
pageId?: string | null;
|
|
2179
2216
|
};
|
|
2180
|
-
|
|
2217
|
+
DynamicPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2218
|
+
name: string;
|
|
2219
|
+
payload: components$1["schemas"]["DynamicPageOpenedPayload"];
|
|
2220
|
+
} & {
|
|
2181
2221
|
/**
|
|
2182
2222
|
* discriminator enum property added by openapi-typescript
|
|
2183
2223
|
* @enum {string}
|
|
2184
2224
|
*/
|
|
2185
2225
|
name: "dynamicPage.opened";
|
|
2186
2226
|
};
|
|
2227
|
+
DynamicPageOpenedPayload: components$1["schemas"]["AbstractDynamicPageOpenedPayload"];
|
|
2187
2228
|
DynamicProductListingPageOpenedPayload: {
|
|
2188
2229
|
/** Current page position in the pagination */
|
|
2189
2230
|
page: number;
|
|
2190
2231
|
};
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
} &
|
|
2232
|
+
DynamicProductPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2233
|
+
name: string;
|
|
2234
|
+
payload: components$1["schemas"]["DynamicProductPageOpenedPayload"];
|
|
2235
|
+
} & {
|
|
2195
2236
|
/**
|
|
2196
2237
|
* discriminator enum property added by openapi-typescript
|
|
2197
2238
|
* @enum {string}
|
|
2198
2239
|
*/
|
|
2199
2240
|
name: "dynamicProductPage.opened";
|
|
2200
|
-
}
|
|
2201
|
-
|
|
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
|
+
} & {
|
|
2202
2250
|
/**
|
|
2203
2251
|
* discriminator enum property added by openapi-typescript
|
|
2204
2252
|
* @enum {string}
|
|
@@ -2211,6 +2259,7 @@ type Schemas$1 = {
|
|
|
2211
2259
|
| "remote.checkout.accepted"
|
|
2212
2260
|
| "remote.checkout.denied";
|
|
2213
2261
|
};
|
|
2262
|
+
EmptyPayload: Record<string, never>;
|
|
2214
2263
|
EntitySearchResult: {
|
|
2215
2264
|
/** Contains aggregated data. A simple example is the determination of the average price from a product search query. */
|
|
2216
2265
|
aggregations?: GenericRecord$1[];
|
|
@@ -2261,14 +2310,19 @@ type Schemas$1 = {
|
|
|
2261
2310
|
/** Format: date-time */
|
|
2262
2311
|
readonly updatedAt?: string;
|
|
2263
2312
|
};
|
|
2264
|
-
|
|
2265
|
-
|
|
2313
|
+
GuideHoveredInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2314
|
+
name: string;
|
|
2315
|
+
payload: components$1["schemas"]["GuideHoveredPayload"];
|
|
2316
|
+
} & {
|
|
2266
2317
|
/**
|
|
2267
2318
|
* discriminator enum property added by openapi-typescript
|
|
2268
2319
|
* @enum {string}
|
|
2269
2320
|
*/
|
|
2270
2321
|
name: "guide.hovered";
|
|
2271
2322
|
};
|
|
2323
|
+
GuideHoveredPayload: {
|
|
2324
|
+
hoveredElementId?: string | null;
|
|
2325
|
+
};
|
|
2272
2326
|
ImportExportFile: {
|
|
2273
2327
|
/** Format: date-time */
|
|
2274
2328
|
readonly createdAt?: string;
|
|
@@ -2290,7 +2344,7 @@ type Schemas$1 = {
|
|
|
2290
2344
|
/** Format: date-time */
|
|
2291
2345
|
readonly updatedAt?: string;
|
|
2292
2346
|
};
|
|
2293
|
-
|
|
2347
|
+
Includes: {
|
|
2294
2348
|
[key: string]: string[];
|
|
2295
2349
|
};
|
|
2296
2350
|
Integration: {
|
|
@@ -2305,6 +2359,13 @@ type Schemas$1 = {
|
|
|
2305
2359
|
appointmentName?: string;
|
|
2306
2360
|
/** The created Id for the attendee */
|
|
2307
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
|
+
};
|
|
2308
2369
|
/** The appointment id */
|
|
2309
2370
|
id?: string;
|
|
2310
2371
|
/** To see if it's a preview appointment */
|
|
@@ -2330,6 +2391,8 @@ type Schemas$1 = {
|
|
|
2330
2391
|
salesChannelId?: string;
|
|
2331
2392
|
/** The name of the current sales channel */
|
|
2332
2393
|
salesChannelName?: string;
|
|
2394
|
+
/** The video user id that attendee could use */
|
|
2395
|
+
videoUserId?: string | null;
|
|
2333
2396
|
};
|
|
2334
2397
|
LandingPage: {
|
|
2335
2398
|
active?: boolean;
|
|
@@ -2520,6 +2583,14 @@ type Schemas$1 = {
|
|
|
2520
2583
|
dataTimestamp?: string;
|
|
2521
2584
|
deliveryInformation: components$1["schemas"]["CartDeliveryInformation"];
|
|
2522
2585
|
description?: string;
|
|
2586
|
+
extensions?: {
|
|
2587
|
+
meta?: {
|
|
2588
|
+
attendees?: {
|
|
2589
|
+
id: string;
|
|
2590
|
+
name: string;
|
|
2591
|
+
}[];
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2523
2594
|
good?: boolean;
|
|
2524
2595
|
id: string;
|
|
2525
2596
|
label?: string;
|
|
@@ -2574,7 +2645,9 @@ type Schemas$1 = {
|
|
|
2574
2645
|
| "promotion"
|
|
2575
2646
|
| "discount"
|
|
2576
2647
|
| "container"
|
|
2577
|
-
| "quantity"
|
|
2648
|
+
| "quantity"
|
|
2649
|
+
| "dsr-line-item-discount"
|
|
2650
|
+
| "dsr-cart-discount";
|
|
2578
2651
|
ListPrice: {
|
|
2579
2652
|
/** @enum {string} */
|
|
2580
2653
|
apiAlias: "cart_list_price";
|
|
@@ -2633,6 +2706,23 @@ type Schemas$1 = {
|
|
|
2633
2706
|
/** Format: date-time */
|
|
2634
2707
|
readonly createdAt?: string;
|
|
2635
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
|
+
};
|
|
2636
2726
|
id?: string;
|
|
2637
2727
|
mailTemplateType?: components$1["schemas"]["MailTemplateType"];
|
|
2638
2728
|
media?: components$1["schemas"]["MailTemplateMedia"][];
|
|
@@ -2719,7 +2809,7 @@ type Schemas$1 = {
|
|
|
2719
2809
|
};
|
|
2720
2810
|
};
|
|
2721
2811
|
readonly fileExtension: string;
|
|
2722
|
-
|
|
2812
|
+
fileName: string;
|
|
2723
2813
|
/** Format: int64 */
|
|
2724
2814
|
readonly fileSize?: number;
|
|
2725
2815
|
/** Runtime field, cannot be used as part of the criteria. */
|
|
@@ -2731,7 +2821,7 @@ type Schemas$1 = {
|
|
|
2731
2821
|
/** Format: int64 */
|
|
2732
2822
|
width?: number;
|
|
2733
2823
|
};
|
|
2734
|
-
|
|
2824
|
+
mimeType?: string;
|
|
2735
2825
|
path: string;
|
|
2736
2826
|
private: boolean;
|
|
2737
2827
|
thumbnails?: components$1["schemas"]["MediaThumbnail"][];
|
|
@@ -2820,7 +2910,7 @@ type Schemas$1 = {
|
|
|
2820
2910
|
};
|
|
2821
2911
|
MultiNotFilter: {
|
|
2822
2912
|
/** @enum {string} */
|
|
2823
|
-
operator: "
|
|
2913
|
+
operator: "and" | "or" | "nor" | "nand";
|
|
2824
2914
|
queries: components$1["schemas"]["Filters"];
|
|
2825
2915
|
/** @enum {string} */
|
|
2826
2916
|
type: "multi" | "not";
|
|
@@ -2909,6 +2999,21 @@ type Schemas$1 = {
|
|
|
2909
2999
|
deliveries?: components$1["schemas"]["OrderDelivery"][];
|
|
2910
3000
|
documents: components$1["schemas"]["Document"][];
|
|
2911
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
|
+
};
|
|
2912
3017
|
returns?: {
|
|
2913
3018
|
data?: {
|
|
2914
3019
|
/** @example 7fff84525c6516919851a9005373f87e */
|
|
@@ -3538,12 +3643,17 @@ type Schemas$1 = {
|
|
|
3538
3643
|
/** Format: date-time */
|
|
3539
3644
|
readonly updatedAt?: string;
|
|
3540
3645
|
};
|
|
3541
|
-
|
|
3646
|
+
PageViewedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
3647
|
+
name: string;
|
|
3648
|
+
payload: components$1["schemas"]["PageViewedPayload"];
|
|
3649
|
+
} & {
|
|
3542
3650
|
/**
|
|
3543
3651
|
* discriminator enum property added by openapi-typescript
|
|
3544
3652
|
* @enum {string}
|
|
3545
3653
|
*/
|
|
3546
3654
|
name: "page.viewed";
|
|
3655
|
+
};
|
|
3656
|
+
PageViewedPayload: {
|
|
3547
3657
|
/** the id from the page which was viewed */
|
|
3548
3658
|
pageId: string;
|
|
3549
3659
|
pageNumber?: number | null;
|
|
@@ -3682,23 +3792,21 @@ type Schemas$1 = {
|
|
|
3682
3792
|
/** Format: date-time */
|
|
3683
3793
|
readonly updatedAt?: string;
|
|
3684
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
|
+
};
|
|
3685
3799
|
PresentationSlideData: {
|
|
3800
|
+
category?: components$1["schemas"]["Category"];
|
|
3686
3801
|
cmsPage?: components$1["schemas"]["CmsPage"];
|
|
3802
|
+
configurator?: components$1["schemas"]["PropertyGroup"][];
|
|
3687
3803
|
extensions?: {
|
|
3688
|
-
cmsPageRelation?: components$1["schemas"]["
|
|
3804
|
+
cmsPageRelation?: components$1["schemas"]["PresentationCmsPage"];
|
|
3689
3805
|
};
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
configurator?: components$1["schemas"]["PropertyGroup"][];
|
|
3693
|
-
product?: components$1["schemas"]["Product"];
|
|
3694
|
-
}
|
|
3695
|
-
| {
|
|
3696
|
-
category?: components$1["schemas"]["Category"];
|
|
3697
|
-
}
|
|
3698
|
-
| null
|
|
3699
|
-
);
|
|
3806
|
+
product?: components$1["schemas"]["Product"];
|
|
3807
|
+
};
|
|
3700
3808
|
PresentationStructure: {
|
|
3701
|
-
cmsPageResults
|
|
3809
|
+
cmsPageResults: {
|
|
3702
3810
|
cmsPage?: components$1["schemas"]["CmsPage"];
|
|
3703
3811
|
/** The presentation id */
|
|
3704
3812
|
resourceIdentifier?: string;
|
|
@@ -3708,15 +3816,15 @@ type Schemas$1 = {
|
|
|
3708
3816
|
*/
|
|
3709
3817
|
resourceType?: string;
|
|
3710
3818
|
}[];
|
|
3711
|
-
navigation
|
|
3819
|
+
navigation: {
|
|
3712
3820
|
/** The CMS page id */
|
|
3713
|
-
cmsPageId
|
|
3821
|
+
cmsPageId: string;
|
|
3714
3822
|
/** The presentation CMS page id */
|
|
3715
|
-
groupId
|
|
3823
|
+
groupId: string;
|
|
3716
3824
|
/** The slide name */
|
|
3717
|
-
groupName
|
|
3825
|
+
groupName: string;
|
|
3718
3826
|
/** The slide position */
|
|
3719
|
-
index
|
|
3827
|
+
index: number;
|
|
3720
3828
|
/** If the slide is an instant listing */
|
|
3721
3829
|
isInstantListing?: boolean;
|
|
3722
3830
|
/** @default [] */
|
|
@@ -3724,9 +3832,9 @@ type Schemas$1 = {
|
|
|
3724
3832
|
/** The number of picked products of the instant listing */
|
|
3725
3833
|
pickedProductsCount?: number;
|
|
3726
3834
|
/** The section id */
|
|
3727
|
-
sectionId
|
|
3835
|
+
sectionId: string;
|
|
3728
3836
|
/** The section name */
|
|
3729
|
-
sectionName
|
|
3837
|
+
sectionName: string | null;
|
|
3730
3838
|
}[];
|
|
3731
3839
|
};
|
|
3732
3840
|
Price: {
|
|
@@ -4032,6 +4140,20 @@ type Schemas$1 = {
|
|
|
4032
4140
|
/** Format: date-time */
|
|
4033
4141
|
readonly updatedAt?: string;
|
|
4034
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
|
+
};
|
|
4035
4157
|
ProductJsonApi: components$1["schemas"]["resource"] & {
|
|
4036
4158
|
active?: boolean;
|
|
4037
4159
|
readonly available?: boolean;
|
|
@@ -4541,16 +4663,16 @@ type Schemas$1 = {
|
|
|
4541
4663
|
weight?: number;
|
|
4542
4664
|
/** Format: float */
|
|
4543
4665
|
width?: number;
|
|
4544
|
-
} & {
|
|
4545
|
-
|
|
4546
|
-
group: string;
|
|
4547
|
-
option: string;
|
|
4548
|
-
translated: {
|
|
4666
|
+
} & components$1["schemas"]["DiscountLineItemPayload"] & {
|
|
4667
|
+
options: {
|
|
4549
4668
|
group: string;
|
|
4550
4669
|
option: string;
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4670
|
+
translated: {
|
|
4671
|
+
group: string;
|
|
4672
|
+
option: string;
|
|
4673
|
+
};
|
|
4674
|
+
}[];
|
|
4675
|
+
};
|
|
4554
4676
|
ProductKeywordDictionary: {
|
|
4555
4677
|
id?: string;
|
|
4556
4678
|
keyword: string;
|
|
@@ -4704,15 +4826,6 @@ type Schemas$1 = {
|
|
|
4704
4826
|
product?: components$1["schemas"]["Product"];
|
|
4705
4827
|
};
|
|
4706
4828
|
ProductPayload: {
|
|
4707
|
-
/**
|
|
4708
|
-
* discriminator enum property added by openapi-typescript
|
|
4709
|
-
* @enum {string}
|
|
4710
|
-
*/
|
|
4711
|
-
name:
|
|
4712
|
-
| "product.viewed"
|
|
4713
|
-
| "attendee.product.collection.liked"
|
|
4714
|
-
| "attendee.product.collection.disliked"
|
|
4715
|
-
| "attendee.product.collection.removed";
|
|
4716
4829
|
/** the id from the product which is used in the interaction */
|
|
4717
4830
|
productId: string;
|
|
4718
4831
|
};
|
|
@@ -5001,152 +5114,348 @@ type Schemas$1 = {
|
|
|
5001
5114
|
unitPrice: number;
|
|
5002
5115
|
};
|
|
5003
5116
|
stateId: string;
|
|
5004
|
-
stateMachineState: components$1["schemas"]["StateMachineState"];
|
|
5117
|
+
stateMachineState: components$1["schemas"]["StateMachineState"];
|
|
5118
|
+
/** Format: float */
|
|
5119
|
+
subtotalNet?: number;
|
|
5120
|
+
readonly taxStatus?: string;
|
|
5121
|
+
/** Format: float */
|
|
5122
|
+
totalDiscount?: number;
|
|
5123
|
+
transactions?: components$1["schemas"]["QuoteTransaction"][];
|
|
5124
|
+
/** Format: date-time */
|
|
5125
|
+
readonly updatedAt?: string;
|
|
5126
|
+
updatedById?: string;
|
|
5127
|
+
userId?: string;
|
|
5128
|
+
versionId?: string;
|
|
5129
|
+
};
|
|
5130
|
+
QuoteComment: {
|
|
5131
|
+
comment: string;
|
|
5132
|
+
/** Format: date-time */
|
|
5133
|
+
readonly createdAt?: string;
|
|
5134
|
+
createdById?: string;
|
|
5135
|
+
customer?: components$1["schemas"]["Customer"];
|
|
5136
|
+
customerId?: string;
|
|
5137
|
+
id: string;
|
|
5138
|
+
quoteId: string;
|
|
5139
|
+
quoteVersionId?: string;
|
|
5140
|
+
/** Format: date-time */
|
|
5141
|
+
seenAt?: string;
|
|
5142
|
+
stateId?: string;
|
|
5143
|
+
stateMachineState?: components$1["schemas"]["StateMachineState"];
|
|
5144
|
+
/** Format: date-time */
|
|
5145
|
+
readonly updatedAt?: string;
|
|
5146
|
+
versionId?: string;
|
|
5147
|
+
};
|
|
5148
|
+
QuoteDelivery: {
|
|
5149
|
+
/** Format: date-time */
|
|
5150
|
+
readonly createdAt?: string;
|
|
5151
|
+
customFields?: GenericRecord$1;
|
|
5152
|
+
id: string;
|
|
5153
|
+
positions?: components$1["schemas"]["QuoteDeliveryPosition"][];
|
|
5154
|
+
quoteId: string;
|
|
5155
|
+
quoteVersionId?: string;
|
|
5156
|
+
shippingCosts?: {
|
|
5157
|
+
calculatedTaxes?: GenericRecord$1;
|
|
5158
|
+
listPrice?: {
|
|
5159
|
+
/** Format: float */
|
|
5160
|
+
discount?: number;
|
|
5161
|
+
/** Format: float */
|
|
5162
|
+
percentage?: number;
|
|
5163
|
+
/** Format: float */
|
|
5164
|
+
price?: number;
|
|
5165
|
+
};
|
|
5166
|
+
/** Format: int64 */
|
|
5167
|
+
quantity: number;
|
|
5168
|
+
referencePrice?: GenericRecord$1;
|
|
5169
|
+
regulationPrice?: {
|
|
5170
|
+
/** Format: float */
|
|
5171
|
+
price?: number;
|
|
5172
|
+
};
|
|
5173
|
+
taxRules?: GenericRecord$1;
|
|
5174
|
+
/** Format: float */
|
|
5175
|
+
totalPrice: number;
|
|
5176
|
+
/** Format: float */
|
|
5177
|
+
unitPrice: number;
|
|
5178
|
+
};
|
|
5179
|
+
/** Format: date-time */
|
|
5180
|
+
shippingDateEarliest: string;
|
|
5181
|
+
/** Format: date-time */
|
|
5182
|
+
shippingDateLatest: string;
|
|
5183
|
+
shippingMethod?: components$1["schemas"]["ShippingMethod"];
|
|
5184
|
+
shippingMethodId: string;
|
|
5185
|
+
/** Format: date-time */
|
|
5186
|
+
readonly updatedAt?: string;
|
|
5187
|
+
versionId?: string;
|
|
5188
|
+
};
|
|
5189
|
+
QuoteDeliveryPosition: {
|
|
5190
|
+
/** Format: date-time */
|
|
5191
|
+
readonly createdAt?: string;
|
|
5192
|
+
customFields?: GenericRecord$1;
|
|
5193
|
+
id: string;
|
|
5194
|
+
price?: {
|
|
5195
|
+
calculatedTaxes?: GenericRecord$1;
|
|
5196
|
+
listPrice?: {
|
|
5197
|
+
/** Format: float */
|
|
5198
|
+
discount?: number;
|
|
5199
|
+
/** Format: float */
|
|
5200
|
+
percentage?: number;
|
|
5201
|
+
/** Format: float */
|
|
5202
|
+
price?: number;
|
|
5203
|
+
};
|
|
5204
|
+
/** Format: int64 */
|
|
5205
|
+
quantity: number;
|
|
5206
|
+
referencePrice?: GenericRecord$1;
|
|
5207
|
+
regulationPrice?: {
|
|
5208
|
+
/** Format: float */
|
|
5209
|
+
price?: number;
|
|
5210
|
+
};
|
|
5211
|
+
taxRules?: GenericRecord$1;
|
|
5212
|
+
/** Format: float */
|
|
5213
|
+
totalPrice: number;
|
|
5214
|
+
/** Format: float */
|
|
5215
|
+
unitPrice: number;
|
|
5216
|
+
};
|
|
5217
|
+
/** Format: int64 */
|
|
5218
|
+
quantity?: number;
|
|
5219
|
+
quoteDeliveryId: string;
|
|
5220
|
+
quoteDeliveryVersionId?: string;
|
|
5221
|
+
quoteLineItemId: string;
|
|
5222
|
+
quoteLineItemVersionId?: string;
|
|
5223
|
+
/** Format: float */
|
|
5224
|
+
totalPrice?: number;
|
|
5225
|
+
/** Format: float */
|
|
5226
|
+
unitPrice?: number;
|
|
5227
|
+
/** Format: date-time */
|
|
5228
|
+
readonly updatedAt?: string;
|
|
5229
|
+
versionId?: string;
|
|
5230
|
+
};
|
|
5231
|
+
QuoteDocument: {
|
|
5232
|
+
active?: boolean;
|
|
5233
|
+
config: GenericRecord$1;
|
|
5234
|
+
/** Format: date-time */
|
|
5235
|
+
readonly createdAt?: string;
|
|
5236
|
+
customFields?: GenericRecord$1;
|
|
5237
|
+
deepLinkCode: string;
|
|
5238
|
+
documentMediaFile?: components$1["schemas"]["Media"];
|
|
5239
|
+
documentMediaFileId?: string;
|
|
5240
|
+
documentNumber?: string;
|
|
5241
|
+
documentType?: components$1["schemas"]["DocumentType"];
|
|
5242
|
+
documentTypeId: string;
|
|
5243
|
+
fileType: string;
|
|
5244
|
+
id: string;
|
|
5245
|
+
quote?: components$1["schemas"]["Quote"];
|
|
5246
|
+
quoteId: string;
|
|
5247
|
+
quoteVersionId?: string;
|
|
5248
|
+
sent?: boolean;
|
|
5249
|
+
static?: boolean;
|
|
5250
|
+
/** Format: date-time */
|
|
5251
|
+
readonly updatedAt?: string;
|
|
5252
|
+
versionId?: string;
|
|
5253
|
+
};
|
|
5254
|
+
QuoteEmployee: {
|
|
5255
|
+
/** Format: date-time */
|
|
5256
|
+
readonly createdAt?: string;
|
|
5257
|
+
firstName: string;
|
|
5258
|
+
id?: string;
|
|
5259
|
+
lastName: string;
|
|
5260
|
+
/** Format: date-time */
|
|
5261
|
+
readonly updatedAt?: string;
|
|
5262
|
+
};
|
|
5263
|
+
QuoteJsonApi: components$1["schemas"]["resource"] & {
|
|
5264
|
+
/** Format: float */
|
|
5265
|
+
readonly amountNet?: number;
|
|
5266
|
+
/** Format: float */
|
|
5267
|
+
readonly amountTotal?: number;
|
|
5268
|
+
/** Format: date-time */
|
|
5269
|
+
readonly createdAt?: string;
|
|
5270
|
+
createdById?: string;
|
|
5271
|
+
currencyId: string;
|
|
5272
|
+
customerId: string;
|
|
5273
|
+
customFields?: GenericRecord$1;
|
|
5274
|
+
discount?: {
|
|
5275
|
+
type?: string;
|
|
5276
|
+
/** Format: float */
|
|
5277
|
+
value?: number;
|
|
5278
|
+
};
|
|
5279
|
+
/** Format: date-time */
|
|
5280
|
+
expirationDate?: string;
|
|
5281
|
+
id: 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;
|
|
5005
5448
|
/** Format: float */
|
|
5006
5449
|
subtotalNet?: number;
|
|
5007
5450
|
readonly taxStatus?: string;
|
|
5008
5451
|
/** Format: float */
|
|
5009
5452
|
totalDiscount?: number;
|
|
5010
|
-
transactions?: components$1["schemas"]["QuoteTransaction"][];
|
|
5011
5453
|
/** Format: date-time */
|
|
5012
5454
|
readonly updatedAt?: string;
|
|
5013
5455
|
updatedById?: string;
|
|
5014
5456
|
userId?: string;
|
|
5015
5457
|
versionId?: string;
|
|
5016
5458
|
};
|
|
5017
|
-
QuoteComment: {
|
|
5018
|
-
comment: string;
|
|
5019
|
-
/** Format: date-time */
|
|
5020
|
-
readonly createdAt?: string;
|
|
5021
|
-
createdById?: string;
|
|
5022
|
-
customer?: components$1["schemas"]["Customer"];
|
|
5023
|
-
customerId?: string;
|
|
5024
|
-
id: string;
|
|
5025
|
-
quoteId: string;
|
|
5026
|
-
quoteVersionId?: string;
|
|
5027
|
-
/** Format: date-time */
|
|
5028
|
-
seenAt?: string;
|
|
5029
|
-
stateId?: string;
|
|
5030
|
-
stateMachineState?: components$1["schemas"]["StateMachineState"];
|
|
5031
|
-
/** Format: date-time */
|
|
5032
|
-
readonly updatedAt?: string;
|
|
5033
|
-
versionId?: string;
|
|
5034
|
-
};
|
|
5035
|
-
QuoteDelivery: {
|
|
5036
|
-
/** Format: date-time */
|
|
5037
|
-
readonly createdAt?: string;
|
|
5038
|
-
customFields?: GenericRecord$1;
|
|
5039
|
-
id: string;
|
|
5040
|
-
positions?: components$1["schemas"]["QuoteDeliveryPosition"][];
|
|
5041
|
-
quoteId: string;
|
|
5042
|
-
quoteVersionId?: string;
|
|
5043
|
-
shippingCosts?: {
|
|
5044
|
-
calculatedTaxes?: GenericRecord$1;
|
|
5045
|
-
listPrice?: {
|
|
5046
|
-
/** Format: float */
|
|
5047
|
-
discount?: number;
|
|
5048
|
-
/** Format: float */
|
|
5049
|
-
percentage?: number;
|
|
5050
|
-
/** Format: float */
|
|
5051
|
-
price?: number;
|
|
5052
|
-
};
|
|
5053
|
-
/** Format: int64 */
|
|
5054
|
-
quantity: number;
|
|
5055
|
-
referencePrice?: GenericRecord$1;
|
|
5056
|
-
regulationPrice?: {
|
|
5057
|
-
/** Format: float */
|
|
5058
|
-
price?: number;
|
|
5059
|
-
};
|
|
5060
|
-
taxRules?: GenericRecord$1;
|
|
5061
|
-
/** Format: float */
|
|
5062
|
-
totalPrice: number;
|
|
5063
|
-
/** Format: float */
|
|
5064
|
-
unitPrice: number;
|
|
5065
|
-
};
|
|
5066
|
-
/** Format: date-time */
|
|
5067
|
-
shippingDateEarliest: string;
|
|
5068
|
-
/** Format: date-time */
|
|
5069
|
-
shippingDateLatest: string;
|
|
5070
|
-
shippingMethod?: components$1["schemas"]["ShippingMethod"];
|
|
5071
|
-
shippingMethodId: string;
|
|
5072
|
-
/** Format: date-time */
|
|
5073
|
-
readonly updatedAt?: string;
|
|
5074
|
-
versionId?: string;
|
|
5075
|
-
};
|
|
5076
|
-
QuoteDeliveryPosition: {
|
|
5077
|
-
/** Format: date-time */
|
|
5078
|
-
readonly createdAt?: string;
|
|
5079
|
-
customFields?: GenericRecord$1;
|
|
5080
|
-
id: string;
|
|
5081
|
-
price?: {
|
|
5082
|
-
calculatedTaxes?: GenericRecord$1;
|
|
5083
|
-
listPrice?: {
|
|
5084
|
-
/** Format: float */
|
|
5085
|
-
discount?: number;
|
|
5086
|
-
/** Format: float */
|
|
5087
|
-
percentage?: number;
|
|
5088
|
-
/** Format: float */
|
|
5089
|
-
price?: number;
|
|
5090
|
-
};
|
|
5091
|
-
/** Format: int64 */
|
|
5092
|
-
quantity: number;
|
|
5093
|
-
referencePrice?: GenericRecord$1;
|
|
5094
|
-
regulationPrice?: {
|
|
5095
|
-
/** Format: float */
|
|
5096
|
-
price?: number;
|
|
5097
|
-
};
|
|
5098
|
-
taxRules?: GenericRecord$1;
|
|
5099
|
-
/** Format: float */
|
|
5100
|
-
totalPrice: number;
|
|
5101
|
-
/** Format: float */
|
|
5102
|
-
unitPrice: number;
|
|
5103
|
-
};
|
|
5104
|
-
/** Format: int64 */
|
|
5105
|
-
quantity?: number;
|
|
5106
|
-
quoteDeliveryId: string;
|
|
5107
|
-
quoteDeliveryVersionId?: string;
|
|
5108
|
-
quoteLineItemId: string;
|
|
5109
|
-
quoteLineItemVersionId?: string;
|
|
5110
|
-
/** Format: float */
|
|
5111
|
-
totalPrice?: number;
|
|
5112
|
-
/** Format: float */
|
|
5113
|
-
unitPrice?: number;
|
|
5114
|
-
/** Format: date-time */
|
|
5115
|
-
readonly updatedAt?: string;
|
|
5116
|
-
versionId?: string;
|
|
5117
|
-
};
|
|
5118
|
-
QuoteDocument: {
|
|
5119
|
-
active?: boolean;
|
|
5120
|
-
config: GenericRecord$1;
|
|
5121
|
-
/** Format: date-time */
|
|
5122
|
-
readonly createdAt?: string;
|
|
5123
|
-
customFields?: GenericRecord$1;
|
|
5124
|
-
deepLinkCode: string;
|
|
5125
|
-
documentMediaFile?: components$1["schemas"]["Media"];
|
|
5126
|
-
documentMediaFileId?: string;
|
|
5127
|
-
documentNumber?: string;
|
|
5128
|
-
documentType?: components$1["schemas"]["DocumentType"];
|
|
5129
|
-
documentTypeId: string;
|
|
5130
|
-
fileType: string;
|
|
5131
|
-
id: string;
|
|
5132
|
-
quote?: components$1["schemas"]["Quote"];
|
|
5133
|
-
quoteId: string;
|
|
5134
|
-
quoteVersionId?: string;
|
|
5135
|
-
sent?: boolean;
|
|
5136
|
-
static?: boolean;
|
|
5137
|
-
/** Format: date-time */
|
|
5138
|
-
readonly updatedAt?: string;
|
|
5139
|
-
versionId?: string;
|
|
5140
|
-
};
|
|
5141
|
-
QuoteEmployee: {
|
|
5142
|
-
/** Format: date-time */
|
|
5143
|
-
readonly createdAt?: string;
|
|
5144
|
-
firstName: string;
|
|
5145
|
-
id?: string;
|
|
5146
|
-
lastName: string;
|
|
5147
|
-
/** Format: date-time */
|
|
5148
|
-
readonly updatedAt?: string;
|
|
5149
|
-
};
|
|
5150
5459
|
QuoteLineItem: {
|
|
5151
5460
|
children: components$1["schemas"]["QuoteLineItem"][];
|
|
5152
5461
|
cover?: components$1["schemas"]["Media"];
|
|
@@ -5154,6 +5463,7 @@ type Schemas$1 = {
|
|
|
5154
5463
|
/** Format: date-time */
|
|
5155
5464
|
readonly createdAt?: string;
|
|
5156
5465
|
customFields?: GenericRecord$1;
|
|
5466
|
+
deliveryPositions?: components$1["schemas"]["QuoteDeliveryPosition"][];
|
|
5157
5467
|
description?: string;
|
|
5158
5468
|
discount?: {
|
|
5159
5469
|
type?: string;
|
|
@@ -5262,6 +5572,21 @@ type Schemas$1 = {
|
|
|
5262
5572
|
customFields?: GenericRecord$1;
|
|
5263
5573
|
description?: string;
|
|
5264
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
|
+
};
|
|
5265
5590
|
warehouseGroup?: {
|
|
5266
5591
|
data?: {
|
|
5267
5592
|
/** @example 1768e3071b62161d415e0c24332055ed */
|
|
@@ -5494,15 +5819,20 @@ type Schemas$1 = {
|
|
|
5494
5819
|
/** Format: date-time */
|
|
5495
5820
|
readonly updatedAt?: string;
|
|
5496
5821
|
};
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5822
|
+
ScreenSharingToggledInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
5823
|
+
name: string;
|
|
5824
|
+
payload: components$1["schemas"]["ScreenSharingToggledPayload"];
|
|
5825
|
+
} & {
|
|
5500
5826
|
/**
|
|
5501
5827
|
* discriminator enum property added by openapi-typescript
|
|
5502
5828
|
* @enum {string}
|
|
5503
5829
|
*/
|
|
5504
5830
|
name: "screenSharing.toggled";
|
|
5505
5831
|
};
|
|
5832
|
+
ScreenSharingToggledPayload: {
|
|
5833
|
+
/** Whether the screen sharing is active or not */
|
|
5834
|
+
active: boolean;
|
|
5835
|
+
};
|
|
5506
5836
|
Script: {
|
|
5507
5837
|
/** Format: date-time */
|
|
5508
5838
|
readonly createdAt?: string;
|
|
@@ -5922,6 +6252,13 @@ type Schemas$1 = {
|
|
|
5922
6252
|
/** Format: date-time */
|
|
5923
6253
|
readonly updatedAt?: string;
|
|
5924
6254
|
};
|
|
6255
|
+
SpatialSceneGroup: {
|
|
6256
|
+
/** Format: date-time */
|
|
6257
|
+
readonly createdAt?: string;
|
|
6258
|
+
id?: string;
|
|
6259
|
+
/** Format: date-time */
|
|
6260
|
+
readonly updatedAt?: string;
|
|
6261
|
+
};
|
|
5925
6262
|
SpatialSceneLight: {
|
|
5926
6263
|
/** Format: date-time */
|
|
5927
6264
|
readonly createdAt?: string;
|
|
@@ -5929,6 +6266,13 @@ type Schemas$1 = {
|
|
|
5929
6266
|
/** Format: date-time */
|
|
5930
6267
|
readonly updatedAt?: string;
|
|
5931
6268
|
};
|
|
6269
|
+
SpatialSceneMaterial: {
|
|
6270
|
+
/** Format: date-time */
|
|
6271
|
+
readonly createdAt?: string;
|
|
6272
|
+
id?: string;
|
|
6273
|
+
/** Format: date-time */
|
|
6274
|
+
readonly updatedAt?: string;
|
|
6275
|
+
};
|
|
5932
6276
|
SpatialSceneObject: {
|
|
5933
6277
|
/** Format: date-time */
|
|
5934
6278
|
readonly createdAt?: string;
|
|
@@ -5936,6 +6280,13 @@ type Schemas$1 = {
|
|
|
5936
6280
|
/** Format: date-time */
|
|
5937
6281
|
readonly updatedAt?: string;
|
|
5938
6282
|
};
|
|
6283
|
+
SpatialScenePrimitive: {
|
|
6284
|
+
/** Format: date-time */
|
|
6285
|
+
readonly createdAt?: string;
|
|
6286
|
+
id?: string;
|
|
6287
|
+
/** Format: date-time */
|
|
6288
|
+
readonly updatedAt?: string;
|
|
6289
|
+
};
|
|
5939
6290
|
SsoProvider: {
|
|
5940
6291
|
/** Format: date-time */
|
|
5941
6292
|
readonly createdAt?: string;
|
|
@@ -6005,13 +6356,6 @@ type Schemas$1 = {
|
|
|
6005
6356
|
hoveredElementId?: string | null;
|
|
6006
6357
|
videoClientToken?: string | null;
|
|
6007
6358
|
};
|
|
6008
|
-
StateForMe: {
|
|
6009
|
-
attendeeName?: string | null;
|
|
6010
|
-
/** @default [] */
|
|
6011
|
-
extensions?: unknown[];
|
|
6012
|
-
/** @default null */
|
|
6013
|
-
guideCartPermissionsGranted?: boolean;
|
|
6014
|
-
};
|
|
6015
6359
|
StateMachine: {
|
|
6016
6360
|
/** Format: date-time */
|
|
6017
6361
|
readonly createdAt?: string;
|
|
@@ -6274,25 +6618,77 @@ type Schemas$1 = {
|
|
|
6274
6618
|
visibilityRuleId?: string;
|
|
6275
6619
|
};
|
|
6276
6620
|
SwagCmsExtensionsForm: {
|
|
6621
|
+
cmsSlot?: components$1["schemas"]["CmsSlot"];
|
|
6622
|
+
cmsSlotId?: string;
|
|
6623
|
+
cmsSlotVersionId?: string;
|
|
6277
6624
|
/** Format: date-time */
|
|
6278
6625
|
readonly createdAt?: string;
|
|
6279
|
-
|
|
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
|
+
};
|
|
6280
6643
|
/** Format: date-time */
|
|
6281
6644
|
readonly updatedAt?: string;
|
|
6282
6645
|
};
|
|
6283
6646
|
SwagCmsExtensionsFormGroup: {
|
|
6284
6647
|
/** Format: date-time */
|
|
6285
6648
|
readonly createdAt?: string;
|
|
6286
|
-
|
|
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
|
+
};
|
|
6287
6662
|
/** Format: date-time */
|
|
6288
6663
|
readonly updatedAt?: string;
|
|
6289
6664
|
};
|
|
6290
6665
|
SwagCmsExtensionsFormGroupField: {
|
|
6666
|
+
config?: GenericRecord$1;
|
|
6291
6667
|
/** Format: date-time */
|
|
6292
6668
|
readonly createdAt?: string;
|
|
6293
|
-
|
|
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;
|
|
6294
6688
|
/** Format: date-time */
|
|
6295
6689
|
readonly updatedAt?: string;
|
|
6690
|
+
/** Format: int64 */
|
|
6691
|
+
width: number;
|
|
6296
6692
|
};
|
|
6297
6693
|
SwagCmsExtensionsQuickview: {
|
|
6298
6694
|
active?: boolean;
|
|
@@ -7009,18 +7405,8 @@ type Schemas$1 = {
|
|
|
7009
7405
|
readonly updatedAt?: string;
|
|
7010
7406
|
};
|
|
7011
7407
|
SwagPaypalVaultToken: {
|
|
7012
|
-
// TODO: [OpenAPI][SwagPaypalVaultToken] - add SwagPaypalVaultToken definition to schema
|
|
7013
|
-
/** Format: date-time */
|
|
7014
|
-
createdAt: string;
|
|
7015
|
-
customer?: components$1["schemas"]["Customer"];
|
|
7016
|
-
customerId: string;
|
|
7017
7408
|
id?: string;
|
|
7018
|
-
identifier
|
|
7019
|
-
mainMapping?: components$1["schemas"]["SwagPaypalVaultTokenMapping"];
|
|
7020
|
-
paymentMethod?: components$1["schemas"]["PaymentMethod"];
|
|
7021
|
-
paymentMethodId: string;
|
|
7022
|
-
/** Format: date-time */
|
|
7023
|
-
updatedAt?: string;
|
|
7409
|
+
identifier?: string;
|
|
7024
7410
|
};
|
|
7025
7411
|
SwagPaypalVaultTokenMapping: {
|
|
7026
7412
|
/** Format: date-time */
|
|
@@ -7161,15 +7547,20 @@ type Schemas$1 = {
|
|
|
7161
7547
|
/** Format: date-time */
|
|
7162
7548
|
readonly updatedAt?: string;
|
|
7163
7549
|
};
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7550
|
+
ToggleBroadcastModeInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
7551
|
+
name: string;
|
|
7552
|
+
payload: components$1["schemas"]["ToggleBroadcastModePayload"];
|
|
7553
|
+
} & {
|
|
7167
7554
|
/**
|
|
7168
7555
|
* discriminator enum property added by openapi-typescript
|
|
7169
7556
|
* @enum {string}
|
|
7170
7557
|
*/
|
|
7171
7558
|
name: "broadcastMode.toggled";
|
|
7172
7559
|
};
|
|
7560
|
+
ToggleBroadcastModePayload: {
|
|
7561
|
+
/** Status if the mode is toggled to active or inactive */
|
|
7562
|
+
active: boolean;
|
|
7563
|
+
};
|
|
7173
7564
|
TotalCountMode: "none" | "exact" | "next-pages";
|
|
7174
7565
|
Unit: {
|
|
7175
7566
|
/** Format: date-time */
|
|
@@ -7221,6 +7612,16 @@ type Schemas$1 = {
|
|
|
7221
7612
|
/** Format: date-time */
|
|
7222
7613
|
readonly updatedAt?: string;
|
|
7223
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
|
+
};
|
|
7224
7625
|
ViewModeChangedPayload: {
|
|
7225
7626
|
/**
|
|
7226
7627
|
* The view mode of presentation
|
|
@@ -7228,11 +7629,6 @@ type Schemas$1 = {
|
|
|
7228
7629
|
* @enum {string}
|
|
7229
7630
|
*/
|
|
7230
7631
|
mode?: "onlyYou" | "presentation" | "videoGrid";
|
|
7231
|
-
/**
|
|
7232
|
-
* discriminator enum property added by openapi-typescript
|
|
7233
|
-
* @enum {string}
|
|
7234
|
-
*/
|
|
7235
|
-
name: "viewMode.changed";
|
|
7236
7632
|
};
|
|
7237
7633
|
Warehouse: {
|
|
7238
7634
|
/** Format: date-time */
|
|
@@ -7575,17 +7971,58 @@ type operations$1 = {
|
|
|
7575
7971
|
birthdayMonth?: number;
|
|
7576
7972
|
/** Birthday year */
|
|
7577
7973
|
birthdayYear?: number;
|
|
7578
|
-
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
7579
|
-
company?: string;
|
|
7580
7974
|
/** Customer first name. Value will be reused for shipping and billing address if not provided explicitly. */
|
|
7581
7975
|
firstName: string;
|
|
7582
7976
|
/** Customer last name. Value will be reused for shipping and billing address if not provided explicitly. */
|
|
7583
7977
|
lastName: string;
|
|
7584
7978
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7585
|
-
salutationId
|
|
7979
|
+
salutationId?: string;
|
|
7586
7980
|
/** (Academic) title of the customer */
|
|
7587
7981
|
title?: string;
|
|
7588
|
-
}
|
|
7982
|
+
} & (
|
|
7983
|
+
| {
|
|
7984
|
+
/**
|
|
7985
|
+
* Type of the customer account. Default value is 'private'.
|
|
7986
|
+
* @default private
|
|
7987
|
+
* @enum {string}
|
|
7988
|
+
*/
|
|
7989
|
+
accountType?: "private";
|
|
7990
|
+
company?: null;
|
|
7991
|
+
vatIds?: null;
|
|
7992
|
+
}
|
|
7993
|
+
| {
|
|
7994
|
+
/**
|
|
7995
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
7996
|
+
* @enum {string}
|
|
7997
|
+
*/
|
|
7998
|
+
accountType: "business";
|
|
7999
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
8000
|
+
company: string;
|
|
8001
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
8002
|
+
vatIds: [string, ...string[]];
|
|
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
|
+
}
|
|
8025
|
+
);
|
|
7589
8026
|
response: components$1["schemas"]["SuccessResponse"];
|
|
7590
8027
|
responseCode: 200;
|
|
7591
8028
|
};
|
|
@@ -7707,17 +8144,9 @@ type operations$1 = {
|
|
|
7707
8144
|
body: {
|
|
7708
8145
|
/** Flag indicating accepted data protection */
|
|
7709
8146
|
acceptedDataProtection: boolean;
|
|
7710
|
-
/**
|
|
7711
|
-
* Account type of the customer which can be either `private` or `business`.
|
|
7712
|
-
* @default private
|
|
7713
|
-
*/
|
|
7714
|
-
accountType?: string;
|
|
7715
8147
|
/** Field can be used to store an affiliate tracking code */
|
|
7716
8148
|
affiliateCode?: string;
|
|
7717
|
-
billingAddress:
|
|
7718
|
-
components$1["schemas"]["CustomerAddress"],
|
|
7719
|
-
"createdAt" | "id" | "customerId" | "firstName" | "lastName"
|
|
7720
|
-
>; // TODO: [OpenAPI][register] - omit id, createdAt, customerId, firstName, lastName while creating address (or better to reverse and pick required fields)
|
|
8149
|
+
billingAddress: components$1["schemas"]["CustomerAddress"];
|
|
7721
8150
|
/** Birthday day */
|
|
7722
8151
|
birthdayDay?: number;
|
|
7723
8152
|
/** Birthday month */
|
|
@@ -7740,13 +8169,56 @@ type operations$1 = {
|
|
|
7740
8169
|
/** Password for the customer. Required, unless `guest` is `true` */
|
|
7741
8170
|
password: string;
|
|
7742
8171
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7743
|
-
salutationId
|
|
8172
|
+
salutationId?: string;
|
|
7744
8173
|
shippingAddress?: components$1["schemas"]["CustomerAddress"];
|
|
7745
8174
|
/** URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel. */
|
|
7746
8175
|
storefrontUrl: string;
|
|
7747
8176
|
/** (Academic) title of the customer */
|
|
7748
8177
|
title?: string;
|
|
7749
|
-
}
|
|
8178
|
+
} & (
|
|
8179
|
+
| {
|
|
8180
|
+
/**
|
|
8181
|
+
* Type of the customer account. Default value is 'private'.
|
|
8182
|
+
* @default private
|
|
8183
|
+
* @enum {string}
|
|
8184
|
+
*/
|
|
8185
|
+
accountType?: "private";
|
|
8186
|
+
company?: null;
|
|
8187
|
+
vatIds?: null;
|
|
8188
|
+
}
|
|
8189
|
+
| {
|
|
8190
|
+
/**
|
|
8191
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
8192
|
+
* @enum {string}
|
|
8193
|
+
*/
|
|
8194
|
+
accountType: "business";
|
|
8195
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
8196
|
+
company: string;
|
|
8197
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
8198
|
+
vatIds: [string, ...string[]];
|
|
8199
|
+
}
|
|
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
|
+
);
|
|
7750
8222
|
response: components$1["schemas"]["Customer"];
|
|
7751
8223
|
responseCode: 200;
|
|
7752
8224
|
};
|
|
@@ -7762,158 +8234,6 @@ type operations$1 = {
|
|
|
7762
8234
|
response: never;
|
|
7763
8235
|
responseCode: 200;
|
|
7764
8236
|
};
|
|
7765
|
-
"createShoppingList post /account/shopping-list": {
|
|
7766
|
-
contentType?: "application/json";
|
|
7767
|
-
accept?: "application/json";
|
|
7768
|
-
body: {
|
|
7769
|
-
lineItems?: {
|
|
7770
|
-
[key: string]: {
|
|
7771
|
-
/** Product id */
|
|
7772
|
-
id: string;
|
|
7773
|
-
/** Quantity of the product */
|
|
7774
|
-
quantity: number;
|
|
7775
|
-
};
|
|
7776
|
-
};
|
|
7777
|
-
/** Shopping list name */
|
|
7778
|
-
name: string;
|
|
7779
|
-
};
|
|
7780
|
-
response: never;
|
|
7781
|
-
responseCode: 204;
|
|
7782
|
-
};
|
|
7783
|
-
"removeShoppingLists delete /account/shopping-list": {
|
|
7784
|
-
contentType?: "application/json";
|
|
7785
|
-
accept?: "application/json";
|
|
7786
|
-
body: {
|
|
7787
|
-
/** Shopping list ids */
|
|
7788
|
-
ids: string[];
|
|
7789
|
-
};
|
|
7790
|
-
response: never;
|
|
7791
|
-
responseCode: 204;
|
|
7792
|
-
};
|
|
7793
|
-
"readShoppingList post /account/shopping-list/{id}": {
|
|
7794
|
-
contentType?: "application/json";
|
|
7795
|
-
accept?: "application/json";
|
|
7796
|
-
pathParams: {
|
|
7797
|
-
/** Identifier of the shopping list to be fetched */
|
|
7798
|
-
id: string;
|
|
7799
|
-
};
|
|
7800
|
-
response: components$1["schemas"]["B2bComponentsShoppingList"];
|
|
7801
|
-
responseCode: 200;
|
|
7802
|
-
};
|
|
7803
|
-
"updateShoppingList patch /account/shopping-list/{id}/change-name": {
|
|
7804
|
-
contentType?: "application/json";
|
|
7805
|
-
accept?: "application/json";
|
|
7806
|
-
pathParams: {
|
|
7807
|
-
/** Identifier of the shopping list to be fetched */
|
|
7808
|
-
id: string;
|
|
7809
|
-
};
|
|
7810
|
-
body: {
|
|
7811
|
-
/** Shopping list name */
|
|
7812
|
-
name: string;
|
|
7813
|
-
};
|
|
7814
|
-
response: never;
|
|
7815
|
-
responseCode: 204;
|
|
7816
|
-
};
|
|
7817
|
-
"duplicateShoppingList post /account/shopping-list/{id}/duplicate": {
|
|
7818
|
-
contentType?: "application/json";
|
|
7819
|
-
accept?: "application/json";
|
|
7820
|
-
pathParams: {
|
|
7821
|
-
/** Identifier of the shopping list to be fetched */
|
|
7822
|
-
id: string;
|
|
7823
|
-
};
|
|
7824
|
-
body: {
|
|
7825
|
-
/** Shopping list name */
|
|
7826
|
-
name: string;
|
|
7827
|
-
};
|
|
7828
|
-
response: {
|
|
7829
|
-
/** The generated id of the duplicated shopping list */
|
|
7830
|
-
id?: string;
|
|
7831
|
-
};
|
|
7832
|
-
responseCode: 200;
|
|
7833
|
-
};
|
|
7834
|
-
"summaryShoppingList get /account/shopping-list/{id}/summary": {
|
|
7835
|
-
contentType?: "application/json";
|
|
7836
|
-
accept?: "application/json";
|
|
7837
|
-
pathParams: {
|
|
7838
|
-
/** Identifier of the shopping list to be fetched */
|
|
7839
|
-
id: string;
|
|
7840
|
-
};
|
|
7841
|
-
response: {
|
|
7842
|
-
price?: {
|
|
7843
|
-
/**
|
|
7844
|
-
* Format: float
|
|
7845
|
-
* Net price of the cart
|
|
7846
|
-
*/
|
|
7847
|
-
netPrice?: number;
|
|
7848
|
-
/**
|
|
7849
|
-
* Format: float
|
|
7850
|
-
* Price for all line items in the cart
|
|
7851
|
-
*/
|
|
7852
|
-
positionPrice?: number;
|
|
7853
|
-
/** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
|
|
7854
|
-
taxStatus?: string;
|
|
7855
|
-
/**
|
|
7856
|
-
* Format: float
|
|
7857
|
-
* Total price of the cart, including shipping costs, discounts and taxes
|
|
7858
|
-
*/
|
|
7859
|
-
totalPrice?: number;
|
|
7860
|
-
};
|
|
7861
|
-
};
|
|
7862
|
-
responseCode: 200;
|
|
7863
|
-
};
|
|
7864
|
-
"addLineItems post /account/shopping-list/line-item/{id}/add": {
|
|
7865
|
-
contentType?: "application/json";
|
|
7866
|
-
accept?: "application/json";
|
|
7867
|
-
pathParams: {
|
|
7868
|
-
/** Identifier of the shopping list to be fetched */
|
|
7869
|
-
id: string;
|
|
7870
|
-
};
|
|
7871
|
-
body: {
|
|
7872
|
-
lineItems: {
|
|
7873
|
-
[key: string]: {
|
|
7874
|
-
/** Product id */
|
|
7875
|
-
id: string;
|
|
7876
|
-
/** Quantity of the product */
|
|
7877
|
-
quantity: number;
|
|
7878
|
-
};
|
|
7879
|
-
};
|
|
7880
|
-
};
|
|
7881
|
-
response: never;
|
|
7882
|
-
responseCode: 204;
|
|
7883
|
-
};
|
|
7884
|
-
"updateLineItems patch /account/shopping-list/line-item/{id}/change-quantity": {
|
|
7885
|
-
contentType?: "application/json";
|
|
7886
|
-
accept?: "application/json";
|
|
7887
|
-
pathParams: {
|
|
7888
|
-
/** Identifier of the shopping list line item to be fetched */
|
|
7889
|
-
id: string;
|
|
7890
|
-
};
|
|
7891
|
-
body: {
|
|
7892
|
-
/** new line item quantity */
|
|
7893
|
-
quantity: number;
|
|
7894
|
-
};
|
|
7895
|
-
response: never;
|
|
7896
|
-
responseCode: 204;
|
|
7897
|
-
};
|
|
7898
|
-
"removeLineItems delete /account/shopping-list/line-item/remove": {
|
|
7899
|
-
contentType?: "application/json";
|
|
7900
|
-
accept?: "application/json";
|
|
7901
|
-
body: {
|
|
7902
|
-
/** Line items ids */
|
|
7903
|
-
ids: string[];
|
|
7904
|
-
};
|
|
7905
|
-
response: never;
|
|
7906
|
-
responseCode: 204;
|
|
7907
|
-
};
|
|
7908
|
-
"readShoppingLists post /account/shopping-lists": {
|
|
7909
|
-
contentType?: "application/json";
|
|
7910
|
-
accept?: "application/json";
|
|
7911
|
-
body?: components$1["schemas"]["Criteria"];
|
|
7912
|
-
response: {
|
|
7913
|
-
elements?: components$1["schemas"]["B2bComponentsShoppingList"][];
|
|
7914
|
-
} & components$1["schemas"]["EntitySearchResult"];
|
|
7915
|
-
responseCode: 200;
|
|
7916
|
-
};
|
|
7917
8237
|
"generateJWTAppSystemAppServer post /app-system/{name}/generate-token": {
|
|
7918
8238
|
contentType?: "application/json";
|
|
7919
8239
|
accept?: "application/json";
|
|
@@ -8144,11 +8464,16 @@ type operations$1 = {
|
|
|
8144
8464
|
"sw-language-id"?: string;
|
|
8145
8465
|
};
|
|
8146
8466
|
body: {
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8467
|
+
items: [
|
|
8468
|
+
{
|
|
8469
|
+
id: string;
|
|
8470
|
+
quantity: number;
|
|
8471
|
+
},
|
|
8472
|
+
...{
|
|
8473
|
+
id: string;
|
|
8474
|
+
quantity: number;
|
|
8475
|
+
}[],
|
|
8476
|
+
];
|
|
8152
8477
|
};
|
|
8153
8478
|
response: components$1["schemas"]["Cart"];
|
|
8154
8479
|
responseCode: 200;
|
|
@@ -8258,7 +8583,7 @@ type operations$1 = {
|
|
|
8258
8583
|
/** Phone. This field may be required depending on the system settings. */
|
|
8259
8584
|
phone?: string;
|
|
8260
8585
|
/** Identifier of the salutation. Use `/api/salutation` endpoint to fetch possible values. */
|
|
8261
|
-
salutationId
|
|
8586
|
+
salutationId?: string;
|
|
8262
8587
|
/** Identifier of the cms element */
|
|
8263
8588
|
slotId?: string;
|
|
8264
8589
|
/** The subject of the contact form. */
|
|
@@ -8422,7 +8747,7 @@ type operations$1 = {
|
|
|
8422
8747
|
* The status you respond to
|
|
8423
8748
|
* @enum {string}
|
|
8424
8749
|
*/
|
|
8425
|
-
|
|
8750
|
+
answer?: "accepted" | "maybe" | "declined";
|
|
8426
8751
|
/** The token will be attached to the invitation response link in the invitation mail */
|
|
8427
8752
|
token: string;
|
|
8428
8753
|
};
|
|
@@ -8647,7 +8972,16 @@ type operations$1 = {
|
|
|
8647
8972
|
response: components$1["schemas"]["CmsPage"];
|
|
8648
8973
|
responseCode: 200;
|
|
8649
8974
|
};
|
|
8650
|
-
"readEmployees
|
|
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": {
|
|
8651
8985
|
contentType?: "application/json";
|
|
8652
8986
|
accept?: "application/json";
|
|
8653
8987
|
body?: components$1["schemas"]["Criteria"];
|
|
@@ -8656,6 +8990,16 @@ type operations$1 = {
|
|
|
8656
8990
|
} & components$1["schemas"]["EntitySearchResult"];
|
|
8657
8991
|
responseCode: 200;
|
|
8658
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
|
+
};
|
|
8659
9003
|
"readEmployee post /employee/{id}": {
|
|
8660
9004
|
contentType?: "application/json";
|
|
8661
9005
|
accept?: "application/json";
|
|
@@ -8704,6 +9048,8 @@ type operations$1 = {
|
|
|
8704
9048
|
email: string;
|
|
8705
9049
|
/** First name of the new employee */
|
|
8706
9050
|
firstName: string;
|
|
9051
|
+
/** Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee. */
|
|
9052
|
+
languageId: string;
|
|
8707
9053
|
/** Last name of the new employee */
|
|
8708
9054
|
lastName: string;
|
|
8709
9055
|
/** Id of the role of the new employee */
|
|
@@ -9005,6 +9351,38 @@ type operations$1 = {
|
|
|
9005
9351
|
response: components$1["schemas"]["PendingOrder"];
|
|
9006
9352
|
responseCode: 200;
|
|
9007
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
|
+
};
|
|
9008
9386
|
"readProduct post /product": {
|
|
9009
9387
|
contentType?: "application/json";
|
|
9010
9388
|
accept?: "application/json";
|
|
@@ -9014,7 +9392,7 @@ type operations$1 = {
|
|
|
9014
9392
|
};
|
|
9015
9393
|
body?: components$1["schemas"]["Criteria"];
|
|
9016
9394
|
response: {
|
|
9017
|
-
elements: components$1["schemas"]["Product"][];
|
|
9395
|
+
elements: components$1["schemas"]["Product"][];
|
|
9018
9396
|
} & components$1["schemas"]["EntitySearchResult"];
|
|
9019
9397
|
responseCode: 200;
|
|
9020
9398
|
};
|
|
@@ -9352,18 +9730,6 @@ type operations$1 = {
|
|
|
9352
9730
|
response: never;
|
|
9353
9731
|
responseCode: 204;
|
|
9354
9732
|
};
|
|
9355
|
-
"readPermissions get /role/permissions": {
|
|
9356
|
-
contentType?: "application/json";
|
|
9357
|
-
accept?: "application/json";
|
|
9358
|
-
response: {
|
|
9359
|
-
elements?: {
|
|
9360
|
-
permissionDependencies?: string[];
|
|
9361
|
-
permissionGroupName?: string;
|
|
9362
|
-
permissionName?: string;
|
|
9363
|
-
}[];
|
|
9364
|
-
} & components$1["schemas"]["EntitySearchResult"];
|
|
9365
|
-
responseCode: 200;
|
|
9366
|
-
};
|
|
9367
9733
|
"readSalutation post /salutation": {
|
|
9368
9734
|
contentType?: "application/json";
|
|
9369
9735
|
accept?: "application/json";
|
|
@@ -9505,11 +9871,168 @@ type operations$1 = {
|
|
|
9505
9871
|
body?: components$1["schemas"]["Criteria"];
|
|
9506
9872
|
response: {
|
|
9507
9873
|
/** aggregation result */
|
|
9508
|
-
aggregations?:
|
|
9509
|
-
elements: components$1["schemas"]["ShippingMethod"][];
|
|
9874
|
+
aggregations?: GenericRecord$1;
|
|
9875
|
+
elements: components$1["schemas"]["ShippingMethod"][];
|
|
9510
9876
|
/** Total amount */
|
|
9511
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;
|
|
9512
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[];
|
|
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"];
|
|
9513
10036
|
responseCode: 200;
|
|
9514
10037
|
};
|
|
9515
10038
|
"addShoppingListsToCart post /shopping-lists/add-to-cart": {
|
|
@@ -9599,6 +10122,7 @@ type RequestParameters<CURRENT_OPERATION> = SimpleUnionOmit$1<CURRENT_OPERATION,
|
|
|
9599
10122
|
type InvokeParameters<CURRENT_OPERATION> = RequestParameters<CURRENT_OPERATION> & {
|
|
9600
10123
|
fetchOptions?: Pick<FetchOptions<"json">, "cache" | "duplex" | "keepalive" | "priority" | "redirect" | "retry" | "retryDelay" | "retryStatusCodes" | "signal" | "timeout">;
|
|
9601
10124
|
};
|
|
10125
|
+
type GlobalFetchOptions = Pick<FetchOptions<ResponseType>, "retry" | "retryDelay" | "retryStatusCodes" | "timeout">;
|
|
9602
10126
|
type ApiClientHooks = {
|
|
9603
10127
|
onContextChanged: (newContextToken: string) => void;
|
|
9604
10128
|
onResponseError: (response: FetchResponse<ResponseType>) => void;
|
|
@@ -9610,6 +10134,7 @@ declare function createAPIClient<OPERATIONS extends Record<string, any> = operat
|
|
|
9610
10134
|
accessToken?: string;
|
|
9611
10135
|
contextToken?: string;
|
|
9612
10136
|
defaultHeaders?: ClientHeaders;
|
|
10137
|
+
fetchOptions?: GlobalFetchOptions;
|
|
9613
10138
|
}): {
|
|
9614
10139
|
invoke: <INVOKE_PATH extends PATHS, OPERATION_NAME extends string = INVOKE_PATH extends `${infer R}` ? R extends string ? R : never : never, CURRENT_OPERATION extends OPERATIONS[OPERATION_NAME] = OPERATION_NAME extends keyof OPERATIONS ? OPERATIONS[OPERATION_NAME] : never>(pathParam: OPERATION_NAME extends keyof OPERATIONS ? OPERATION_NAME : never, ...params: SimpleUnionOmit$1<CURRENT_OPERATION, "response" | "responseCode"> extends {
|
|
9615
10140
|
body: unknown;
|
|
@@ -20436,7 +20961,7 @@ type Schemas = {
|
|
|
20436
20961
|
};
|
|
20437
20962
|
MultiNotFilter: {
|
|
20438
20963
|
/** @enum {string} */
|
|
20439
|
-
operator: "AND" | "
|
|
20964
|
+
operator: "AND" | "OR" | "and" | "or";
|
|
20440
20965
|
queries: components["schemas"]["Filters"];
|
|
20441
20966
|
/** @enum {string} */
|
|
20442
20967
|
type: "multi" | "not";
|
|
@@ -100188,9 +100713,10 @@ declare function createAdminAPIClient<OPERATIONS extends Record<string, any> = o
|
|
|
100188
100713
|
* If you pass `credentials` object, it will be used to authenticate the client whenever session expires.
|
|
100189
100714
|
* You don't need to manually invoke `/token` endpoint first.
|
|
100190
100715
|
*/
|
|
100191
|
-
credentials?: OPERATIONS["token"]["body"];
|
|
100716
|
+
credentials?: OPERATIONS["token post /oauth/token"]["body"];
|
|
100192
100717
|
sessionData?: AdminSessionData;
|
|
100193
100718
|
defaultHeaders?: ClientHeaders;
|
|
100719
|
+
fetchOptions?: GlobalFetchOptions;
|
|
100194
100720
|
}): {
|
|
100195
100721
|
invoke: <INVOKE_PATH extends PATHS, OPERATION_NAME extends string = INVOKE_PATH extends `${infer R}` ? R extends string ? R : never : never, CURRENT_OPERATION extends OPERATIONS[OPERATION_NAME] = OPERATION_NAME extends keyof OPERATIONS ? OPERATIONS[OPERATION_NAME] : never>(pathParam: OPERATION_NAME extends keyof OPERATIONS ? OPERATION_NAME : never, ...params: SimpleUnionOmit<CURRENT_OPERATION, "response" | "responseCode"> extends {
|
|
100196
100722
|
body: unknown;
|