@shopware/api-client 1.2.0 → 1.3.0
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 +43 -2
- package/api-types/storeApiSchema.b2b.overrides.json +33 -0
- package/api-types/storeApiSchema.json +7546 -2693
- package/api-types/storeApiSchema.overrides.json +156 -1
- package/api-types/storeApiTypes.d.ts +2335 -361
- package/api-types/storeApiTypes.overrides.ts +1 -67
- package/dist/index.cjs +57 -32
- package/dist/index.d.cts +2488 -499
- package/dist/index.d.mts +2488 -499
- package/dist/index.d.ts +2488 -499
- package/dist/index.mjs +57 -32
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as hookable from 'hookable';
|
|
2
|
-
import { FetchOptions, ResponseType, FetchResponse } from 'ofetch';
|
|
2
|
+
import { FetchOptions, ResponseType, FetchResponse, FetchContext } 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.10.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[];
|
|
@@ -516,6 +521,8 @@ type Schemas$1 = {
|
|
|
516
521
|
/** Format: date-time */
|
|
517
522
|
readonly createdAt?: string;
|
|
518
523
|
customFields?: GenericRecord$1;
|
|
524
|
+
/** Runtime field, cannot be used as part of the criteria. */
|
|
525
|
+
default?: boolean;
|
|
519
526
|
id: string;
|
|
520
527
|
name: string;
|
|
521
528
|
permissions?: GenericRecord$1[];
|
|
@@ -658,6 +665,7 @@ type Schemas$1 = {
|
|
|
658
665
|
languageId: string;
|
|
659
666
|
lastName: string;
|
|
660
667
|
role?: components$1["schemas"]["B2bComponentsRole"];
|
|
668
|
+
status?: string;
|
|
661
669
|
/** Format: date-time */
|
|
662
670
|
readonly updatedAt?: string;
|
|
663
671
|
};
|
|
@@ -680,6 +688,24 @@ type Schemas$1 = {
|
|
|
680
688
|
/** Format: date-time */
|
|
681
689
|
readonly updatedAt?: string;
|
|
682
690
|
};
|
|
691
|
+
BaseInteraction: {
|
|
692
|
+
/**
|
|
693
|
+
* The time in seconds how long the interaction should be stored in the database
|
|
694
|
+
* @default -1
|
|
695
|
+
*/
|
|
696
|
+
lifeTimeInSeconds?: number;
|
|
697
|
+
/**
|
|
698
|
+
* The time when the interaction was triggered
|
|
699
|
+
* @default now
|
|
700
|
+
*/
|
|
701
|
+
triggeredAt?: string;
|
|
702
|
+
};
|
|
703
|
+
BasePresentationSlideData: {
|
|
704
|
+
cmsPage?: components$1["schemas"]["CmsPage"];
|
|
705
|
+
extensions?: {
|
|
706
|
+
cmsPageRelation?: components$1["schemas"]["PresentationCmsPage"];
|
|
707
|
+
};
|
|
708
|
+
};
|
|
683
709
|
Breadcrumb: {
|
|
684
710
|
/** @enum {string} */
|
|
685
711
|
apiAlias: "breadcrumb";
|
|
@@ -707,11 +733,7 @@ type Schemas$1 = {
|
|
|
707
733
|
/** @enum {string} */
|
|
708
734
|
type: "page" | "link" | "folder";
|
|
709
735
|
};
|
|
710
|
-
BreadcrumbCollection:
|
|
711
|
-
/** @enum {string} */
|
|
712
|
-
apiAlias: "breadcrumb_collection";
|
|
713
|
-
breadcrumbs: components$1["schemas"]["Breadcrumb"][];
|
|
714
|
-
};
|
|
736
|
+
BreadcrumbCollection: components$1["schemas"]["Breadcrumb"][];
|
|
715
737
|
CalculatedPrice: {
|
|
716
738
|
/** @enum {string} */
|
|
717
739
|
apiAlias: "calculated_price";
|
|
@@ -844,7 +866,7 @@ type Schemas$1 = {
|
|
|
844
866
|
messageKey: string;
|
|
845
867
|
};
|
|
846
868
|
CartItems: {
|
|
847
|
-
items
|
|
869
|
+
items: components$1["schemas"]["LineItem"][];
|
|
848
870
|
};
|
|
849
871
|
CartListPrice: {
|
|
850
872
|
/** @enum {string} */
|
|
@@ -1125,7 +1147,6 @@ type Schemas$1 = {
|
|
|
1125
1147
|
ClientPresentationStateResponse: {
|
|
1126
1148
|
stateForAll?: components$1["schemas"]["StateForAll"];
|
|
1127
1149
|
stateForClients?: components$1["schemas"]["StateForClients"];
|
|
1128
|
-
stateForMe?: components$1["schemas"]["StateForMe"];
|
|
1129
1150
|
};
|
|
1130
1151
|
CmsBlock: {
|
|
1131
1152
|
/** @enum {string} */
|
|
@@ -1285,22 +1306,12 @@ type Schemas$1 = {
|
|
|
1285
1306
|
};
|
|
1286
1307
|
id?: string;
|
|
1287
1308
|
mobileBehavior?: string;
|
|
1309
|
+
name?: string;
|
|
1288
1310
|
page?: components$1["schemas"]["CmsPage"];
|
|
1289
1311
|
pageId: string;
|
|
1290
1312
|
/** Format: int64 */
|
|
1291
1313
|
position: number;
|
|
1292
1314
|
sizingMode?: string;
|
|
1293
|
-
translated: {
|
|
1294
|
-
backgroundColor: string;
|
|
1295
|
-
backgroundMediaId: string;
|
|
1296
|
-
backgroundMediaMode: string;
|
|
1297
|
-
cmsPageVersionId: string;
|
|
1298
|
-
cssClass: string;
|
|
1299
|
-
mobileBehavior: string;
|
|
1300
|
-
pageId: string;
|
|
1301
|
-
sizingMode: string;
|
|
1302
|
-
type: string;
|
|
1303
|
-
};
|
|
1304
1315
|
/** @enum {string} */
|
|
1305
1316
|
type: "default" | "sidebar";
|
|
1306
1317
|
/** Format: date-time */
|
|
@@ -1319,7 +1330,26 @@ type Schemas$1 = {
|
|
|
1319
1330
|
cmsBlockVersionId?: string;
|
|
1320
1331
|
/** Format: date-time */
|
|
1321
1332
|
readonly createdAt?: string;
|
|
1322
|
-
customFields?:
|
|
1333
|
+
customFields?: {
|
|
1334
|
+
_uniqueIdentifier?: string;
|
|
1335
|
+
};
|
|
1336
|
+
extensions?: {
|
|
1337
|
+
swagCmsExtensionsForm?: {
|
|
1338
|
+
data?: {
|
|
1339
|
+
/** @example 0654ad514da002e9d77fa24ee33acd95 */
|
|
1340
|
+
id?: string;
|
|
1341
|
+
/** @example swag_cms_extensions_form */
|
|
1342
|
+
type?: string;
|
|
1343
|
+
};
|
|
1344
|
+
links?: {
|
|
1345
|
+
/**
|
|
1346
|
+
* Format: uri-reference
|
|
1347
|
+
* @example /cms-slot/ac5ca6960137c6b8a97c90c11b71d4bb/swagCmsExtensionsForm
|
|
1348
|
+
*/
|
|
1349
|
+
related?: string;
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1323
1353
|
fieldConfig?: GenericRecord$1;
|
|
1324
1354
|
id: string;
|
|
1325
1355
|
locked?: boolean;
|
|
@@ -1327,6 +1357,11 @@ type Schemas$1 = {
|
|
|
1327
1357
|
translated: {
|
|
1328
1358
|
blockId: string;
|
|
1329
1359
|
cmsBlockVersionId: string;
|
|
1360
|
+
config?: {
|
|
1361
|
+
content?: {
|
|
1362
|
+
value?: string;
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1330
1365
|
slot: string;
|
|
1331
1366
|
type: string;
|
|
1332
1367
|
versionId: string;
|
|
@@ -1507,55 +1542,9 @@ type Schemas$1 = {
|
|
|
1507
1542
|
/** The subject of the appointment */
|
|
1508
1543
|
subject: string;
|
|
1509
1544
|
};
|
|
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
|
-
};
|
|
1545
|
+
CreateInteractionRequestBody: components$1["schemas"]["DynamicInteractionBody"];
|
|
1556
1546
|
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) */
|
|
1547
|
+
aggregations?: components$1["schemas"]["Aggregation"][];
|
|
1559
1548
|
associations?: components$1["schemas"]["Association"];
|
|
1560
1549
|
/** Fields which should be returned in the search result. */
|
|
1561
1550
|
fields?: string[];
|
|
@@ -1570,7 +1559,7 @@ type Schemas$1 = {
|
|
|
1570
1559
|
grouping?: string[];
|
|
1571
1560
|
/** List of ids to search for */
|
|
1572
1561
|
ids?: string[];
|
|
1573
|
-
includes?: components$1["schemas"]["
|
|
1562
|
+
includes?: components$1["schemas"]["Includes"];
|
|
1574
1563
|
/** Number of items per result page */
|
|
1575
1564
|
limit?: number;
|
|
1576
1565
|
/** Search result page */
|
|
@@ -1818,6 +1807,16 @@ type Schemas$1 = {
|
|
|
1818
1807
|
company: string;
|
|
1819
1808
|
vatIds: [string, ...string[]];
|
|
1820
1809
|
}
|
|
1810
|
+
| {
|
|
1811
|
+
/** @enum {string} */
|
|
1812
|
+
accountType: "private";
|
|
1813
|
+
}
|
|
1814
|
+
| {
|
|
1815
|
+
/** @enum {string} */
|
|
1816
|
+
accountType: "business";
|
|
1817
|
+
company: string;
|
|
1818
|
+
vatIds: [string, ...string[]];
|
|
1819
|
+
}
|
|
1821
1820
|
);
|
|
1822
1821
|
CustomerAddress: {
|
|
1823
1822
|
additionalAddressLine1?: string;
|
|
@@ -1957,6 +1956,14 @@ type Schemas$1 = {
|
|
|
1957
1956
|
/** Format: date-time */
|
|
1958
1957
|
readonly updatedAt?: string;
|
|
1959
1958
|
};
|
|
1959
|
+
DiscountLineItemPayload: {
|
|
1960
|
+
/** Format: float */
|
|
1961
|
+
discountPrice?: number;
|
|
1962
|
+
/** @enum {string} */
|
|
1963
|
+
discountType?: "percentage" | "absolute";
|
|
1964
|
+
/** Format: float */
|
|
1965
|
+
discountValue?: number;
|
|
1966
|
+
};
|
|
1960
1967
|
Document: {
|
|
1961
1968
|
config: {
|
|
1962
1969
|
name: string;
|
|
@@ -1967,6 +1974,8 @@ type Schemas$1 = {
|
|
|
1967
1974
|
customFields?: GenericRecord$1;
|
|
1968
1975
|
deepLinkCode: string;
|
|
1969
1976
|
dependentDocuments?: components$1["schemas"]["Document"][];
|
|
1977
|
+
documentA11yMediaFile?: components$1["schemas"]["Media"];
|
|
1978
|
+
documentA11yMediaFileId?: string;
|
|
1970
1979
|
documentMediaFile?: components$1["schemas"]["Media"];
|
|
1971
1980
|
documentMediaFileId?: string;
|
|
1972
1981
|
documentNumber?: string;
|
|
@@ -2093,7 +2102,6 @@ type Schemas$1 = {
|
|
|
2093
2102
|
customFields?: GenericRecord$1;
|
|
2094
2103
|
id?: string;
|
|
2095
2104
|
name?: string;
|
|
2096
|
-
startAsBroadcast?: boolean;
|
|
2097
2105
|
/** Format: date-time */
|
|
2098
2106
|
readonly updatedAt?: string;
|
|
2099
2107
|
url?: string;
|
|
@@ -2107,6 +2115,24 @@ type Schemas$1 = {
|
|
|
2107
2115
|
/** Format: date-time */
|
|
2108
2116
|
readonly updatedAt?: string;
|
|
2109
2117
|
};
|
|
2118
|
+
DsrCmsSlide: {
|
|
2119
|
+
cmsSection?: components$1["schemas"]["CmsSection"];
|
|
2120
|
+
cmsSectionId: string;
|
|
2121
|
+
cmsSectionVersionId?: string;
|
|
2122
|
+
/** Format: date-time */
|
|
2123
|
+
readonly createdAt?: string;
|
|
2124
|
+
id: string;
|
|
2125
|
+
slideName: string;
|
|
2126
|
+
translated: {
|
|
2127
|
+
cmsSectionId: string;
|
|
2128
|
+
cmsSectionVersionId: string;
|
|
2129
|
+
slideName: string;
|
|
2130
|
+
versionId: string;
|
|
2131
|
+
};
|
|
2132
|
+
/** Format: date-time */
|
|
2133
|
+
readonly updatedAt?: string;
|
|
2134
|
+
versionId?: string;
|
|
2135
|
+
};
|
|
2110
2136
|
DsrInteraction: {
|
|
2111
2137
|
/** Format: date-time */
|
|
2112
2138
|
readonly createdAt?: string;
|
|
@@ -2171,42 +2197,69 @@ type Schemas$1 = {
|
|
|
2171
2197
|
/** Format: date-time */
|
|
2172
2198
|
readonly updatedAt?: string;
|
|
2173
2199
|
};
|
|
2200
|
+
DynamicInteractionBody:
|
|
2201
|
+
| components$1["schemas"]["EmptyInteraction"]
|
|
2202
|
+
| components$1["schemas"]["ProductInteraction"]
|
|
2203
|
+
| components$1["schemas"]["DynamicPageOpenedInteraction"]
|
|
2204
|
+
| components$1["schemas"]["DynamicPageClosedInteraction"]
|
|
2205
|
+
| components$1["schemas"]["DynamicProductPageOpenedInteraction"]
|
|
2206
|
+
| components$1["schemas"]["PageViewedInteraction"]
|
|
2207
|
+
| components$1["schemas"]["GuideHoveredInteraction"]
|
|
2208
|
+
| components$1["schemas"]["ToggleBroadcastModeInteraction"]
|
|
2209
|
+
| components$1["schemas"]["ViewModeChangedInteraction"]
|
|
2210
|
+
| components$1["schemas"]["ScreenSharingToggledInteraction"];
|
|
2211
|
+
DynamicPageClosedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2212
|
+
name: string;
|
|
2213
|
+
payload: components$1["schemas"]["DynamicPageClosedPayload"];
|
|
2214
|
+
} & {
|
|
2215
|
+
/**
|
|
2216
|
+
* discriminator enum property added by openapi-typescript
|
|
2217
|
+
* @enum {string}
|
|
2218
|
+
*/
|
|
2219
|
+
name: "dynamicPage.closed";
|
|
2220
|
+
};
|
|
2174
2221
|
DynamicPageClosedPayload: {
|
|
2175
2222
|
/**
|
|
2176
2223
|
* Whether all pages were closed
|
|
2177
2224
|
* @default false
|
|
2178
2225
|
*/
|
|
2179
2226
|
all?: boolean;
|
|
2180
|
-
/**
|
|
2181
|
-
* discriminator enum property added by openapi-typescript
|
|
2182
|
-
* @enum {string}
|
|
2183
|
-
*/
|
|
2184
|
-
name: "dynamicPage.closed";
|
|
2185
2227
|
/** The id of the page that was closed */
|
|
2186
2228
|
pageId?: string | null;
|
|
2187
2229
|
};
|
|
2188
|
-
|
|
2230
|
+
DynamicPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2231
|
+
name: string;
|
|
2232
|
+
payload: components$1["schemas"]["DynamicPageOpenedPayload"];
|
|
2233
|
+
} & {
|
|
2189
2234
|
/**
|
|
2190
2235
|
* discriminator enum property added by openapi-typescript
|
|
2191
2236
|
* @enum {string}
|
|
2192
2237
|
*/
|
|
2193
2238
|
name: "dynamicPage.opened";
|
|
2194
2239
|
};
|
|
2240
|
+
DynamicPageOpenedPayload: components$1["schemas"]["AbstractDynamicPageOpenedPayload"];
|
|
2195
2241
|
DynamicProductListingPageOpenedPayload: {
|
|
2196
2242
|
/** Current page position in the pagination */
|
|
2197
2243
|
page: number;
|
|
2198
2244
|
};
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
} &
|
|
2245
|
+
DynamicProductPageOpenedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2246
|
+
name: string;
|
|
2247
|
+
payload: components$1["schemas"]["DynamicProductPageOpenedPayload"];
|
|
2248
|
+
} & {
|
|
2203
2249
|
/**
|
|
2204
2250
|
* discriminator enum property added by openapi-typescript
|
|
2205
2251
|
* @enum {string}
|
|
2206
2252
|
*/
|
|
2207
2253
|
name: "dynamicProductPage.opened";
|
|
2208
|
-
}
|
|
2209
|
-
|
|
2254
|
+
};
|
|
2255
|
+
DynamicProductPageOpenedPayload: {
|
|
2256
|
+
/** the id from the product which is shown on the dynamic page */
|
|
2257
|
+
productId: string;
|
|
2258
|
+
} & components$1["schemas"]["AbstractDynamicPageOpenedPayload"];
|
|
2259
|
+
EmptyInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2260
|
+
name: string;
|
|
2261
|
+
payload: GenericRecord$1;
|
|
2262
|
+
} & {
|
|
2210
2263
|
/**
|
|
2211
2264
|
* discriminator enum property added by openapi-typescript
|
|
2212
2265
|
* @enum {string}
|
|
@@ -2219,6 +2272,7 @@ type Schemas$1 = {
|
|
|
2219
2272
|
| "remote.checkout.accepted"
|
|
2220
2273
|
| "remote.checkout.denied";
|
|
2221
2274
|
};
|
|
2275
|
+
EmptyPayload: Record<string, never>;
|
|
2222
2276
|
EntitySearchResult: {
|
|
2223
2277
|
/** Contains aggregated data. A simple example is the determination of the average price from a product search query. */
|
|
2224
2278
|
aggregations?: GenericRecord$1[];
|
|
@@ -2269,14 +2323,19 @@ type Schemas$1 = {
|
|
|
2269
2323
|
/** Format: date-time */
|
|
2270
2324
|
readonly updatedAt?: string;
|
|
2271
2325
|
};
|
|
2272
|
-
|
|
2273
|
-
|
|
2326
|
+
GuideHoveredInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
2327
|
+
name: string;
|
|
2328
|
+
payload: components$1["schemas"]["GuideHoveredPayload"];
|
|
2329
|
+
} & {
|
|
2274
2330
|
/**
|
|
2275
2331
|
* discriminator enum property added by openapi-typescript
|
|
2276
2332
|
* @enum {string}
|
|
2277
2333
|
*/
|
|
2278
2334
|
name: "guide.hovered";
|
|
2279
2335
|
};
|
|
2336
|
+
GuideHoveredPayload: {
|
|
2337
|
+
hoveredElementId?: string | null;
|
|
2338
|
+
};
|
|
2280
2339
|
ImportExportFile: {
|
|
2281
2340
|
/** Format: date-time */
|
|
2282
2341
|
readonly createdAt?: string;
|
|
@@ -2298,7 +2357,7 @@ type Schemas$1 = {
|
|
|
2298
2357
|
/** Format: date-time */
|
|
2299
2358
|
readonly updatedAt?: string;
|
|
2300
2359
|
};
|
|
2301
|
-
|
|
2360
|
+
Includes: {
|
|
2302
2361
|
[key: string]: string[];
|
|
2303
2362
|
};
|
|
2304
2363
|
Integration: {
|
|
@@ -2313,6 +2372,13 @@ type Schemas$1 = {
|
|
|
2313
2372
|
appointmentName?: string;
|
|
2314
2373
|
/** The created Id for the attendee */
|
|
2315
2374
|
attendeeId?: string;
|
|
2375
|
+
/** The name of the attendee */
|
|
2376
|
+
attendeeName?: string | null;
|
|
2377
|
+
/** The b2b features that available for the appointment */
|
|
2378
|
+
b2bFeatures?: {
|
|
2379
|
+
/** To know if the quote management is enabled for current customer */
|
|
2380
|
+
quoteManagement?: boolean;
|
|
2381
|
+
};
|
|
2316
2382
|
/** The appointment id */
|
|
2317
2383
|
id?: string;
|
|
2318
2384
|
/** To see if it's a preview appointment */
|
|
@@ -2338,6 +2404,8 @@ type Schemas$1 = {
|
|
|
2338
2404
|
salesChannelId?: string;
|
|
2339
2405
|
/** The name of the current sales channel */
|
|
2340
2406
|
salesChannelName?: string;
|
|
2407
|
+
/** The video user id that attendee could use */
|
|
2408
|
+
videoUserId?: string | null;
|
|
2341
2409
|
};
|
|
2342
2410
|
LandingPage: {
|
|
2343
2411
|
active?: boolean;
|
|
@@ -2528,6 +2596,14 @@ type Schemas$1 = {
|
|
|
2528
2596
|
dataTimestamp?: string;
|
|
2529
2597
|
deliveryInformation: components$1["schemas"]["CartDeliveryInformation"];
|
|
2530
2598
|
description?: string;
|
|
2599
|
+
extensions?: {
|
|
2600
|
+
meta?: {
|
|
2601
|
+
attendees?: {
|
|
2602
|
+
id: string;
|
|
2603
|
+
name: string;
|
|
2604
|
+
}[];
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2531
2607
|
good?: boolean;
|
|
2532
2608
|
id: string;
|
|
2533
2609
|
label?: string;
|
|
@@ -2582,7 +2658,9 @@ type Schemas$1 = {
|
|
|
2582
2658
|
| "promotion"
|
|
2583
2659
|
| "discount"
|
|
2584
2660
|
| "container"
|
|
2585
|
-
| "quantity"
|
|
2661
|
+
| "quantity"
|
|
2662
|
+
| "dsr-line-item-discount"
|
|
2663
|
+
| "dsr-cart-discount";
|
|
2586
2664
|
ListPrice: {
|
|
2587
2665
|
/** @enum {string} */
|
|
2588
2666
|
apiAlias: "cart_list_price";
|
|
@@ -2641,6 +2719,23 @@ type Schemas$1 = {
|
|
|
2641
2719
|
/** Format: date-time */
|
|
2642
2720
|
readonly createdAt?: string;
|
|
2643
2721
|
customFields?: GenericRecord$1;
|
|
2722
|
+
extensions?: {
|
|
2723
|
+
swagCmsExtensionsForms?: {
|
|
2724
|
+
data?: {
|
|
2725
|
+
/** @example a08561237fe1e2a012502c820a08405d */
|
|
2726
|
+
id?: string;
|
|
2727
|
+
/** @example swag_cms_extensions_form */
|
|
2728
|
+
type?: string;
|
|
2729
|
+
}[];
|
|
2730
|
+
links?: {
|
|
2731
|
+
/**
|
|
2732
|
+
* Format: uri-reference
|
|
2733
|
+
* @example /mail-template/901aa1bf1715ad482f037eaa8b9cdc3a/swagCmsExtensionsForms
|
|
2734
|
+
*/
|
|
2735
|
+
related?: string;
|
|
2736
|
+
};
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2644
2739
|
id?: string;
|
|
2645
2740
|
mailTemplateType?: components$1["schemas"]["MailTemplateType"];
|
|
2646
2741
|
media?: components$1["schemas"]["MailTemplateMedia"][];
|
|
@@ -2727,7 +2822,7 @@ type Schemas$1 = {
|
|
|
2727
2822
|
};
|
|
2728
2823
|
};
|
|
2729
2824
|
readonly fileExtension: string;
|
|
2730
|
-
|
|
2825
|
+
fileName: string;
|
|
2731
2826
|
/** Format: int64 */
|
|
2732
2827
|
readonly fileSize?: number;
|
|
2733
2828
|
/** Runtime field, cannot be used as part of the criteria. */
|
|
@@ -2739,7 +2834,7 @@ type Schemas$1 = {
|
|
|
2739
2834
|
/** Format: int64 */
|
|
2740
2835
|
width?: number;
|
|
2741
2836
|
};
|
|
2742
|
-
|
|
2837
|
+
mimeType?: string;
|
|
2743
2838
|
path: string;
|
|
2744
2839
|
private: boolean;
|
|
2745
2840
|
thumbnails?: components$1["schemas"]["MediaThumbnail"][];
|
|
@@ -2828,7 +2923,7 @@ type Schemas$1 = {
|
|
|
2828
2923
|
};
|
|
2829
2924
|
MultiNotFilter: {
|
|
2830
2925
|
/** @enum {string} */
|
|
2831
|
-
operator: "
|
|
2926
|
+
operator: "and" | "or" | "nor" | "nand";
|
|
2832
2927
|
queries: components$1["schemas"]["Filters"];
|
|
2833
2928
|
/** @enum {string} */
|
|
2834
2929
|
type: "multi" | "not";
|
|
@@ -2917,6 +3012,36 @@ type Schemas$1 = {
|
|
|
2917
3012
|
deliveries?: components$1["schemas"]["OrderDelivery"][];
|
|
2918
3013
|
documents: components$1["schemas"]["Document"][];
|
|
2919
3014
|
extensions?: {
|
|
3015
|
+
orderEmployee?: {
|
|
3016
|
+
data?: {
|
|
3017
|
+
/** @example 5ea451c08a87db806089c4031601c29a */
|
|
3018
|
+
id?: string;
|
|
3019
|
+
/** @example b2b_order_employee */
|
|
3020
|
+
type?: string;
|
|
3021
|
+
}[];
|
|
3022
|
+
links?: {
|
|
3023
|
+
/**
|
|
3024
|
+
* Format: uri-reference
|
|
3025
|
+
* @example /order/a240fa27925a635b08dc28c9e4f9216d/orderEmployee
|
|
3026
|
+
*/
|
|
3027
|
+
related?: string;
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
quote?: {
|
|
3031
|
+
data?: {
|
|
3032
|
+
/** @example 7a674c327bfa07f7c1204fb38ca6ef3b */
|
|
3033
|
+
id?: string;
|
|
3034
|
+
/** @example quote */
|
|
3035
|
+
type?: string;
|
|
3036
|
+
};
|
|
3037
|
+
links?: {
|
|
3038
|
+
/**
|
|
3039
|
+
* Format: uri-reference
|
|
3040
|
+
* @example /order/a240fa27925a635b08dc28c9e4f9216d/quote
|
|
3041
|
+
*/
|
|
3042
|
+
related?: string;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
2920
3045
|
returns?: {
|
|
2921
3046
|
data?: {
|
|
2922
3047
|
/** @example 7fff84525c6516919851a9005373f87e */
|
|
@@ -3546,12 +3671,17 @@ type Schemas$1 = {
|
|
|
3546
3671
|
/** Format: date-time */
|
|
3547
3672
|
readonly updatedAt?: string;
|
|
3548
3673
|
};
|
|
3549
|
-
|
|
3674
|
+
PageViewedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
3675
|
+
name: string;
|
|
3676
|
+
payload: components$1["schemas"]["PageViewedPayload"];
|
|
3677
|
+
} & {
|
|
3550
3678
|
/**
|
|
3551
3679
|
* discriminator enum property added by openapi-typescript
|
|
3552
3680
|
* @enum {string}
|
|
3553
3681
|
*/
|
|
3554
3682
|
name: "page.viewed";
|
|
3683
|
+
};
|
|
3684
|
+
PageViewedPayload: {
|
|
3555
3685
|
/** the id from the page which was viewed */
|
|
3556
3686
|
pageId: string;
|
|
3557
3687
|
pageNumber?: number | null;
|
|
@@ -3690,23 +3820,21 @@ type Schemas$1 = {
|
|
|
3690
3820
|
/** Format: date-time */
|
|
3691
3821
|
readonly updatedAt?: string;
|
|
3692
3822
|
};
|
|
3823
|
+
PresentationCmsPage: components$1["schemas"]["DsrPresentationCmsPage"] & {
|
|
3824
|
+
/** The product id is assigned to presentation if it's product listing or instant listing */
|
|
3825
|
+
pickedProductIds?: string[] | null;
|
|
3826
|
+
};
|
|
3693
3827
|
PresentationSlideData: {
|
|
3828
|
+
category?: components$1["schemas"]["Category"];
|
|
3694
3829
|
cmsPage?: components$1["schemas"]["CmsPage"];
|
|
3830
|
+
configurator?: components$1["schemas"]["PropertyGroup"][];
|
|
3695
3831
|
extensions?: {
|
|
3696
|
-
cmsPageRelation?: components$1["schemas"]["
|
|
3832
|
+
cmsPageRelation?: components$1["schemas"]["PresentationCmsPage"];
|
|
3697
3833
|
};
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
configurator?: components$1["schemas"]["PropertyGroup"][];
|
|
3701
|
-
product?: components$1["schemas"]["Product"];
|
|
3702
|
-
}
|
|
3703
|
-
| {
|
|
3704
|
-
category?: components$1["schemas"]["Category"];
|
|
3705
|
-
}
|
|
3706
|
-
| null
|
|
3707
|
-
);
|
|
3834
|
+
product?: components$1["schemas"]["Product"];
|
|
3835
|
+
};
|
|
3708
3836
|
PresentationStructure: {
|
|
3709
|
-
cmsPageResults
|
|
3837
|
+
cmsPageResults: {
|
|
3710
3838
|
cmsPage?: components$1["schemas"]["CmsPage"];
|
|
3711
3839
|
/** The presentation id */
|
|
3712
3840
|
resourceIdentifier?: string;
|
|
@@ -3716,15 +3844,15 @@ type Schemas$1 = {
|
|
|
3716
3844
|
*/
|
|
3717
3845
|
resourceType?: string;
|
|
3718
3846
|
}[];
|
|
3719
|
-
navigation
|
|
3847
|
+
navigation: {
|
|
3720
3848
|
/** The CMS page id */
|
|
3721
|
-
cmsPageId
|
|
3849
|
+
cmsPageId: string;
|
|
3722
3850
|
/** The presentation CMS page id */
|
|
3723
|
-
groupId
|
|
3851
|
+
groupId: string;
|
|
3724
3852
|
/** The slide name */
|
|
3725
|
-
groupName
|
|
3853
|
+
groupName: string;
|
|
3726
3854
|
/** The slide position */
|
|
3727
|
-
index
|
|
3855
|
+
index: number;
|
|
3728
3856
|
/** If the slide is an instant listing */
|
|
3729
3857
|
isInstantListing?: boolean;
|
|
3730
3858
|
/** @default [] */
|
|
@@ -3732,9 +3860,9 @@ type Schemas$1 = {
|
|
|
3732
3860
|
/** The number of picked products of the instant listing */
|
|
3733
3861
|
pickedProductsCount?: number;
|
|
3734
3862
|
/** The section id */
|
|
3735
|
-
sectionId
|
|
3863
|
+
sectionId: string;
|
|
3736
3864
|
/** The section name */
|
|
3737
|
-
sectionName
|
|
3865
|
+
sectionName: string | null;
|
|
3738
3866
|
}[];
|
|
3739
3867
|
};
|
|
3740
3868
|
Price: {
|
|
@@ -4040,12 +4168,26 @@ type Schemas$1 = {
|
|
|
4040
4168
|
/** Format: date-time */
|
|
4041
4169
|
readonly updatedAt?: string;
|
|
4042
4170
|
};
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4171
|
+
ProductInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
4172
|
+
name: string;
|
|
4173
|
+
payload: components$1["schemas"]["ProductPayload"];
|
|
4174
|
+
} & {
|
|
4175
|
+
/**
|
|
4176
|
+
* discriminator enum property added by openapi-typescript
|
|
4177
|
+
* @enum {string}
|
|
4178
|
+
*/
|
|
4179
|
+
name:
|
|
4180
|
+
| "product.viewed"
|
|
4181
|
+
| "attendee.product.collection.liked"
|
|
4182
|
+
| "attendee.product.collection.disliked"
|
|
4183
|
+
| "attendee.product.collection.removed";
|
|
4184
|
+
};
|
|
4185
|
+
ProductJsonApi: components$1["schemas"]["resource"] & {
|
|
4186
|
+
active?: boolean;
|
|
4187
|
+
readonly available?: boolean;
|
|
4188
|
+
/** Format: int64 */
|
|
4189
|
+
readonly availableStock?: number;
|
|
4190
|
+
calculatedCheapestPrice?: GenericRecord$1;
|
|
4049
4191
|
/**
|
|
4050
4192
|
* Format: int64
|
|
4051
4193
|
* Runtime field, cannot be used as part of the criteria.
|
|
@@ -4549,16 +4691,16 @@ type Schemas$1 = {
|
|
|
4549
4691
|
weight?: number;
|
|
4550
4692
|
/** Format: float */
|
|
4551
4693
|
width?: number;
|
|
4552
|
-
} & {
|
|
4553
|
-
|
|
4554
|
-
group: string;
|
|
4555
|
-
option: string;
|
|
4556
|
-
translated: {
|
|
4694
|
+
} & components$1["schemas"]["DiscountLineItemPayload"] & {
|
|
4695
|
+
options: {
|
|
4557
4696
|
group: string;
|
|
4558
4697
|
option: string;
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4698
|
+
translated: {
|
|
4699
|
+
group: string;
|
|
4700
|
+
option: string;
|
|
4701
|
+
};
|
|
4702
|
+
}[];
|
|
4703
|
+
};
|
|
4562
4704
|
ProductKeywordDictionary: {
|
|
4563
4705
|
id?: string;
|
|
4564
4706
|
keyword: string;
|
|
@@ -4712,15 +4854,6 @@ type Schemas$1 = {
|
|
|
4712
4854
|
product?: components$1["schemas"]["Product"];
|
|
4713
4855
|
};
|
|
4714
4856
|
ProductPayload: {
|
|
4715
|
-
/**
|
|
4716
|
-
* discriminator enum property added by openapi-typescript
|
|
4717
|
-
* @enum {string}
|
|
4718
|
-
*/
|
|
4719
|
-
name:
|
|
4720
|
-
| "product.viewed"
|
|
4721
|
-
| "attendee.product.collection.liked"
|
|
4722
|
-
| "attendee.product.collection.disliked"
|
|
4723
|
-
| "attendee.product.collection.removed";
|
|
4724
4857
|
/** the id from the product which is used in the interaction */
|
|
4725
4858
|
productId: string;
|
|
4726
4859
|
};
|
|
@@ -5155,6 +5288,202 @@ type Schemas$1 = {
|
|
|
5155
5288
|
/** Format: date-time */
|
|
5156
5289
|
readonly updatedAt?: string;
|
|
5157
5290
|
};
|
|
5291
|
+
QuoteJsonApi: components$1["schemas"]["resource"] & {
|
|
5292
|
+
/** Format: float */
|
|
5293
|
+
readonly amountNet?: number;
|
|
5294
|
+
/** Format: float */
|
|
5295
|
+
readonly amountTotal?: number;
|
|
5296
|
+
/** Format: date-time */
|
|
5297
|
+
readonly createdAt?: string;
|
|
5298
|
+
createdById?: string;
|
|
5299
|
+
currencyId: string;
|
|
5300
|
+
customerId: string;
|
|
5301
|
+
customFields?: GenericRecord$1;
|
|
5302
|
+
discount?: {
|
|
5303
|
+
type?: string;
|
|
5304
|
+
/** Format: float */
|
|
5305
|
+
value?: number;
|
|
5306
|
+
};
|
|
5307
|
+
/** Format: date-time */
|
|
5308
|
+
expirationDate?: string;
|
|
5309
|
+
id: string;
|
|
5310
|
+
languageId: string;
|
|
5311
|
+
orderId?: string;
|
|
5312
|
+
orderVersionId?: string;
|
|
5313
|
+
price?: {
|
|
5314
|
+
calculatedTaxes?: GenericRecord$1;
|
|
5315
|
+
/** Format: float */
|
|
5316
|
+
netPrice: number;
|
|
5317
|
+
/** Format: float */
|
|
5318
|
+
positionPrice: number;
|
|
5319
|
+
/** Format: float */
|
|
5320
|
+
rawTotal: number;
|
|
5321
|
+
taxRules?: GenericRecord$1;
|
|
5322
|
+
taxStatus: string;
|
|
5323
|
+
/** Format: float */
|
|
5324
|
+
totalPrice: number;
|
|
5325
|
+
};
|
|
5326
|
+
quoteNumber?: string;
|
|
5327
|
+
relationships?: {
|
|
5328
|
+
comments?: {
|
|
5329
|
+
data?: {
|
|
5330
|
+
/** @example a5d491060952aa8ad5fdee071be752de */
|
|
5331
|
+
id?: string;
|
|
5332
|
+
/** @example quote_comment */
|
|
5333
|
+
type?: string;
|
|
5334
|
+
}[];
|
|
5335
|
+
links?: {
|
|
5336
|
+
/**
|
|
5337
|
+
* Format: uri-reference
|
|
5338
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/comments
|
|
5339
|
+
*/
|
|
5340
|
+
related?: string;
|
|
5341
|
+
};
|
|
5342
|
+
};
|
|
5343
|
+
currency?: {
|
|
5344
|
+
data?: {
|
|
5345
|
+
/** @example 1af0389838508d7016a9841eb6273962 */
|
|
5346
|
+
id?: string;
|
|
5347
|
+
/** @example currency */
|
|
5348
|
+
type?: string;
|
|
5349
|
+
};
|
|
5350
|
+
links?: {
|
|
5351
|
+
/**
|
|
5352
|
+
* Format: uri-reference
|
|
5353
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/currency
|
|
5354
|
+
*/
|
|
5355
|
+
related?: string;
|
|
5356
|
+
};
|
|
5357
|
+
};
|
|
5358
|
+
deliveries?: {
|
|
5359
|
+
data?: {
|
|
5360
|
+
/** @example 6fc31b6b9cd717cc0dcb81152308f8af */
|
|
5361
|
+
id?: string;
|
|
5362
|
+
/** @example quote_delivery */
|
|
5363
|
+
type?: string;
|
|
5364
|
+
}[];
|
|
5365
|
+
links?: {
|
|
5366
|
+
/**
|
|
5367
|
+
* Format: uri-reference
|
|
5368
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/deliveries
|
|
5369
|
+
*/
|
|
5370
|
+
related?: string;
|
|
5371
|
+
};
|
|
5372
|
+
};
|
|
5373
|
+
documents?: {
|
|
5374
|
+
data?: {
|
|
5375
|
+
/** @example 21f64da1e5792c8295b964d159a14491 */
|
|
5376
|
+
id?: string;
|
|
5377
|
+
/** @example quote_document */
|
|
5378
|
+
type?: string;
|
|
5379
|
+
}[];
|
|
5380
|
+
links?: {
|
|
5381
|
+
/**
|
|
5382
|
+
* Format: uri-reference
|
|
5383
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/documents
|
|
5384
|
+
*/
|
|
5385
|
+
related?: string;
|
|
5386
|
+
};
|
|
5387
|
+
};
|
|
5388
|
+
language?: {
|
|
5389
|
+
data?: {
|
|
5390
|
+
/** @example 8512ae7d57b1396273f76fe6ed341a23 */
|
|
5391
|
+
id?: string;
|
|
5392
|
+
/** @example language */
|
|
5393
|
+
type?: string;
|
|
5394
|
+
};
|
|
5395
|
+
links?: {
|
|
5396
|
+
/**
|
|
5397
|
+
* Format: uri-reference
|
|
5398
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/language
|
|
5399
|
+
*/
|
|
5400
|
+
related?: string;
|
|
5401
|
+
};
|
|
5402
|
+
};
|
|
5403
|
+
lineItems?: {
|
|
5404
|
+
data?: {
|
|
5405
|
+
/** @example a042af1aa9f3853fe3cd7dabc065568f */
|
|
5406
|
+
id?: string;
|
|
5407
|
+
/** @example quote_line_item */
|
|
5408
|
+
type?: string;
|
|
5409
|
+
}[];
|
|
5410
|
+
links?: {
|
|
5411
|
+
/**
|
|
5412
|
+
* Format: uri-reference
|
|
5413
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/lineItems
|
|
5414
|
+
*/
|
|
5415
|
+
related?: string;
|
|
5416
|
+
};
|
|
5417
|
+
};
|
|
5418
|
+
stateMachineState?: {
|
|
5419
|
+
data?: {
|
|
5420
|
+
/** @example 1ab22d393154f21e3be76aca3ec3ee31 */
|
|
5421
|
+
id?: string;
|
|
5422
|
+
/** @example state_machine_state */
|
|
5423
|
+
type?: string;
|
|
5424
|
+
};
|
|
5425
|
+
links?: {
|
|
5426
|
+
/**
|
|
5427
|
+
* Format: uri-reference
|
|
5428
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/stateMachineState
|
|
5429
|
+
*/
|
|
5430
|
+
related?: string;
|
|
5431
|
+
};
|
|
5432
|
+
};
|
|
5433
|
+
transactions?: {
|
|
5434
|
+
data?: {
|
|
5435
|
+
/** @example c15b977dd99332ca8623fbdfb86827e8 */
|
|
5436
|
+
id?: string;
|
|
5437
|
+
/** @example quote_transaction */
|
|
5438
|
+
type?: string;
|
|
5439
|
+
}[];
|
|
5440
|
+
links?: {
|
|
5441
|
+
/**
|
|
5442
|
+
* Format: uri-reference
|
|
5443
|
+
* @example /quote/c48e929b2b1eabba2ba036884433345e/transactions
|
|
5444
|
+
*/
|
|
5445
|
+
related?: string;
|
|
5446
|
+
};
|
|
5447
|
+
};
|
|
5448
|
+
};
|
|
5449
|
+
salesChannelId: string;
|
|
5450
|
+
/** Format: date-time */
|
|
5451
|
+
sentAt?: string;
|
|
5452
|
+
shippingCosts?: {
|
|
5453
|
+
calculatedTaxes?: GenericRecord$1;
|
|
5454
|
+
listPrice?: {
|
|
5455
|
+
/** Format: float */
|
|
5456
|
+
discount?: number;
|
|
5457
|
+
/** Format: float */
|
|
5458
|
+
percentage?: number;
|
|
5459
|
+
/** Format: float */
|
|
5460
|
+
price?: number;
|
|
5461
|
+
};
|
|
5462
|
+
/** Format: int64 */
|
|
5463
|
+
quantity: number;
|
|
5464
|
+
referencePrice?: GenericRecord$1;
|
|
5465
|
+
regulationPrice?: {
|
|
5466
|
+
/** Format: float */
|
|
5467
|
+
price?: number;
|
|
5468
|
+
};
|
|
5469
|
+
taxRules?: GenericRecord$1;
|
|
5470
|
+
/** Format: float */
|
|
5471
|
+
totalPrice: number;
|
|
5472
|
+
/** Format: float */
|
|
5473
|
+
unitPrice: number;
|
|
5474
|
+
};
|
|
5475
|
+
stateId: string;
|
|
5476
|
+
/** Format: float */
|
|
5477
|
+
subtotalNet?: number;
|
|
5478
|
+
readonly taxStatus?: string;
|
|
5479
|
+
/** Format: float */
|
|
5480
|
+
totalDiscount?: number;
|
|
5481
|
+
/** Format: date-time */
|
|
5482
|
+
readonly updatedAt?: string;
|
|
5483
|
+
updatedById?: string;
|
|
5484
|
+
userId?: string;
|
|
5485
|
+
versionId?: string;
|
|
5486
|
+
};
|
|
5158
5487
|
QuoteLineItem: {
|
|
5159
5488
|
children: components$1["schemas"]["QuoteLineItem"][];
|
|
5160
5489
|
cover?: components$1["schemas"]["Media"];
|
|
@@ -5162,6 +5491,7 @@ type Schemas$1 = {
|
|
|
5162
5491
|
/** Format: date-time */
|
|
5163
5492
|
readonly createdAt?: string;
|
|
5164
5493
|
customFields?: GenericRecord$1;
|
|
5494
|
+
deliveryPositions?: components$1["schemas"]["QuoteDeliveryPosition"][];
|
|
5165
5495
|
description?: string;
|
|
5166
5496
|
discount?: {
|
|
5167
5497
|
type?: string;
|
|
@@ -5270,6 +5600,21 @@ type Schemas$1 = {
|
|
|
5270
5600
|
customFields?: GenericRecord$1;
|
|
5271
5601
|
description?: string;
|
|
5272
5602
|
extensions?: {
|
|
5603
|
+
swagCmsExtensionsBlockRules?: {
|
|
5604
|
+
data?: {
|
|
5605
|
+
/** @example ce0b9f43f8947576ee10c93d4d69a4c4 */
|
|
5606
|
+
id?: string;
|
|
5607
|
+
/** @example swag_cms_extensions_block_rule */
|
|
5608
|
+
type?: string;
|
|
5609
|
+
}[];
|
|
5610
|
+
links?: {
|
|
5611
|
+
/**
|
|
5612
|
+
* Format: uri-reference
|
|
5613
|
+
* @example /rule/ab7a485ebe75b6dd7243ad719f23c7de/swagCmsExtensionsBlockRules
|
|
5614
|
+
*/
|
|
5615
|
+
related?: string;
|
|
5616
|
+
};
|
|
5617
|
+
};
|
|
5273
5618
|
warehouseGroup?: {
|
|
5274
5619
|
data?: {
|
|
5275
5620
|
/** @example 1768e3071b62161d415e0c24332055ed */
|
|
@@ -5421,6 +5766,10 @@ type Schemas$1 = {
|
|
|
5421
5766
|
displayGross?: boolean;
|
|
5422
5767
|
name?: string;
|
|
5423
5768
|
};
|
|
5769
|
+
languageInfo: {
|
|
5770
|
+
localeCode: string;
|
|
5771
|
+
name: string;
|
|
5772
|
+
};
|
|
5424
5773
|
paymentMethod?: components$1["schemas"]["PaymentMethod"];
|
|
5425
5774
|
salesChannel: components$1["schemas"]["SalesChannel"];
|
|
5426
5775
|
shippingLocation?: {
|
|
@@ -5502,15 +5851,20 @@ type Schemas$1 = {
|
|
|
5502
5851
|
/** Format: date-time */
|
|
5503
5852
|
readonly updatedAt?: string;
|
|
5504
5853
|
};
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5854
|
+
ScreenSharingToggledInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
5855
|
+
name: string;
|
|
5856
|
+
payload: components$1["schemas"]["ScreenSharingToggledPayload"];
|
|
5857
|
+
} & {
|
|
5508
5858
|
/**
|
|
5509
5859
|
* discriminator enum property added by openapi-typescript
|
|
5510
5860
|
* @enum {string}
|
|
5511
5861
|
*/
|
|
5512
5862
|
name: "screenSharing.toggled";
|
|
5513
5863
|
};
|
|
5864
|
+
ScreenSharingToggledPayload: {
|
|
5865
|
+
/** Whether the screen sharing is active or not */
|
|
5866
|
+
active: boolean;
|
|
5867
|
+
};
|
|
5514
5868
|
Script: {
|
|
5515
5869
|
/** Format: date-time */
|
|
5516
5870
|
readonly createdAt?: string;
|
|
@@ -5930,6 +6284,13 @@ type Schemas$1 = {
|
|
|
5930
6284
|
/** Format: date-time */
|
|
5931
6285
|
readonly updatedAt?: string;
|
|
5932
6286
|
};
|
|
6287
|
+
SpatialSceneGroup: {
|
|
6288
|
+
/** Format: date-time */
|
|
6289
|
+
readonly createdAt?: string;
|
|
6290
|
+
id?: string;
|
|
6291
|
+
/** Format: date-time */
|
|
6292
|
+
readonly updatedAt?: string;
|
|
6293
|
+
};
|
|
5933
6294
|
SpatialSceneLight: {
|
|
5934
6295
|
/** Format: date-time */
|
|
5935
6296
|
readonly createdAt?: string;
|
|
@@ -5937,6 +6298,13 @@ type Schemas$1 = {
|
|
|
5937
6298
|
/** Format: date-time */
|
|
5938
6299
|
readonly updatedAt?: string;
|
|
5939
6300
|
};
|
|
6301
|
+
SpatialSceneMaterial: {
|
|
6302
|
+
/** Format: date-time */
|
|
6303
|
+
readonly createdAt?: string;
|
|
6304
|
+
id?: string;
|
|
6305
|
+
/** Format: date-time */
|
|
6306
|
+
readonly updatedAt?: string;
|
|
6307
|
+
};
|
|
5940
6308
|
SpatialSceneObject: {
|
|
5941
6309
|
/** Format: date-time */
|
|
5942
6310
|
readonly createdAt?: string;
|
|
@@ -5944,6 +6312,13 @@ type Schemas$1 = {
|
|
|
5944
6312
|
/** Format: date-time */
|
|
5945
6313
|
readonly updatedAt?: string;
|
|
5946
6314
|
};
|
|
6315
|
+
SpatialScenePrimitive: {
|
|
6316
|
+
/** Format: date-time */
|
|
6317
|
+
readonly createdAt?: string;
|
|
6318
|
+
id?: string;
|
|
6319
|
+
/** Format: date-time */
|
|
6320
|
+
readonly updatedAt?: string;
|
|
6321
|
+
};
|
|
5947
6322
|
SsoProvider: {
|
|
5948
6323
|
/** Format: date-time */
|
|
5949
6324
|
readonly createdAt?: string;
|
|
@@ -6013,13 +6388,6 @@ type Schemas$1 = {
|
|
|
6013
6388
|
hoveredElementId?: string | null;
|
|
6014
6389
|
videoClientToken?: string | null;
|
|
6015
6390
|
};
|
|
6016
|
-
StateForMe: {
|
|
6017
|
-
attendeeName?: string | null;
|
|
6018
|
-
/** @default [] */
|
|
6019
|
-
extensions?: unknown[];
|
|
6020
|
-
/** @default null */
|
|
6021
|
-
guideCartPermissionsGranted?: boolean;
|
|
6022
|
-
};
|
|
6023
6391
|
StateMachine: {
|
|
6024
6392
|
/** Format: date-time */
|
|
6025
6393
|
readonly createdAt?: string;
|
|
@@ -6282,25 +6650,77 @@ type Schemas$1 = {
|
|
|
6282
6650
|
visibilityRuleId?: string;
|
|
6283
6651
|
};
|
|
6284
6652
|
SwagCmsExtensionsForm: {
|
|
6653
|
+
cmsSlot?: components$1["schemas"]["CmsSlot"];
|
|
6654
|
+
cmsSlotId?: string;
|
|
6655
|
+
cmsSlotVersionId?: string;
|
|
6285
6656
|
/** Format: date-time */
|
|
6286
6657
|
readonly createdAt?: string;
|
|
6287
|
-
|
|
6658
|
+
groups?: components$1["schemas"]["SwagCmsExtensionsFormGroup"][];
|
|
6659
|
+
id: string;
|
|
6660
|
+
isTemplate?: boolean;
|
|
6661
|
+
mailTemplate?: components$1["schemas"]["MailTemplate"];
|
|
6662
|
+
mailTemplateId: string;
|
|
6663
|
+
receivers?: GenericRecord$1;
|
|
6664
|
+
successMessage?: string;
|
|
6665
|
+
technicalName: string;
|
|
6666
|
+
title?: string;
|
|
6667
|
+
translated: {
|
|
6668
|
+
cmsSlotId: string;
|
|
6669
|
+
cmsSlotVersionId: string;
|
|
6670
|
+
mailTemplateId: string;
|
|
6671
|
+
successMessage: string;
|
|
6672
|
+
technicalName: string;
|
|
6673
|
+
title: string;
|
|
6674
|
+
};
|
|
6288
6675
|
/** Format: date-time */
|
|
6289
6676
|
readonly updatedAt?: string;
|
|
6290
6677
|
};
|
|
6291
6678
|
SwagCmsExtensionsFormGroup: {
|
|
6292
6679
|
/** Format: date-time */
|
|
6293
6680
|
readonly createdAt?: string;
|
|
6294
|
-
|
|
6681
|
+
fields?: components$1["schemas"]["SwagCmsExtensionsFormGroupField"][];
|
|
6682
|
+
form?: components$1["schemas"]["SwagCmsExtensionsForm"];
|
|
6683
|
+
formId?: string;
|
|
6684
|
+
id: string;
|
|
6685
|
+
/** Format: int64 */
|
|
6686
|
+
position: number;
|
|
6687
|
+
technicalName: string;
|
|
6688
|
+
title?: string;
|
|
6689
|
+
translated: {
|
|
6690
|
+
formId: string;
|
|
6691
|
+
technicalName: string;
|
|
6692
|
+
title: string;
|
|
6693
|
+
};
|
|
6295
6694
|
/** Format: date-time */
|
|
6296
6695
|
readonly updatedAt?: string;
|
|
6297
6696
|
};
|
|
6298
6697
|
SwagCmsExtensionsFormGroupField: {
|
|
6698
|
+
config?: GenericRecord$1;
|
|
6299
6699
|
/** Format: date-time */
|
|
6300
6700
|
readonly createdAt?: string;
|
|
6301
|
-
|
|
6701
|
+
errorMessage?: string;
|
|
6702
|
+
group?: components$1["schemas"]["SwagCmsExtensionsFormGroup"];
|
|
6703
|
+
groupId?: string;
|
|
6704
|
+
id: string;
|
|
6705
|
+
label: string;
|
|
6706
|
+
placeholder?: string;
|
|
6707
|
+
/** Format: int64 */
|
|
6708
|
+
position: number;
|
|
6709
|
+
required?: boolean;
|
|
6710
|
+
technicalName: string;
|
|
6711
|
+
translated: {
|
|
6712
|
+
errorMessage: string;
|
|
6713
|
+
groupId: string;
|
|
6714
|
+
label: string;
|
|
6715
|
+
placeholder: string;
|
|
6716
|
+
technicalName: string;
|
|
6717
|
+
type: string;
|
|
6718
|
+
};
|
|
6719
|
+
type: string;
|
|
6302
6720
|
/** Format: date-time */
|
|
6303
6721
|
readonly updatedAt?: string;
|
|
6722
|
+
/** Format: int64 */
|
|
6723
|
+
width: number;
|
|
6304
6724
|
};
|
|
6305
6725
|
SwagCmsExtensionsQuickview: {
|
|
6306
6726
|
active?: boolean;
|
|
@@ -7017,18 +7437,8 @@ type Schemas$1 = {
|
|
|
7017
7437
|
readonly updatedAt?: string;
|
|
7018
7438
|
};
|
|
7019
7439
|
SwagPaypalVaultToken: {
|
|
7020
|
-
// TODO: [OpenAPI][SwagPaypalVaultToken] - add SwagPaypalVaultToken definition to schema
|
|
7021
|
-
/** Format: date-time */
|
|
7022
|
-
createdAt: string;
|
|
7023
|
-
customer?: components$1["schemas"]["Customer"];
|
|
7024
|
-
customerId: string;
|
|
7025
7440
|
id?: string;
|
|
7026
|
-
identifier
|
|
7027
|
-
mainMapping?: components$1["schemas"]["SwagPaypalVaultTokenMapping"];
|
|
7028
|
-
paymentMethod?: components$1["schemas"]["PaymentMethod"];
|
|
7029
|
-
paymentMethodId: string;
|
|
7030
|
-
/** Format: date-time */
|
|
7031
|
-
updatedAt?: string;
|
|
7441
|
+
identifier?: string;
|
|
7032
7442
|
};
|
|
7033
7443
|
SwagPaypalVaultTokenMapping: {
|
|
7034
7444
|
/** Format: date-time */
|
|
@@ -7169,15 +7579,20 @@ type Schemas$1 = {
|
|
|
7169
7579
|
/** Format: date-time */
|
|
7170
7580
|
readonly updatedAt?: string;
|
|
7171
7581
|
};
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7582
|
+
ToggleBroadcastModeInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
7583
|
+
name: string;
|
|
7584
|
+
payload: components$1["schemas"]["ToggleBroadcastModePayload"];
|
|
7585
|
+
} & {
|
|
7175
7586
|
/**
|
|
7176
7587
|
* discriminator enum property added by openapi-typescript
|
|
7177
7588
|
* @enum {string}
|
|
7178
7589
|
*/
|
|
7179
7590
|
name: "broadcastMode.toggled";
|
|
7180
7591
|
};
|
|
7592
|
+
ToggleBroadcastModePayload: {
|
|
7593
|
+
/** Status if the mode is toggled to active or inactive */
|
|
7594
|
+
active: boolean;
|
|
7595
|
+
};
|
|
7181
7596
|
TotalCountMode: "none" | "exact" | "next-pages";
|
|
7182
7597
|
Unit: {
|
|
7183
7598
|
/** Format: date-time */
|
|
@@ -7229,6 +7644,16 @@ type Schemas$1 = {
|
|
|
7229
7644
|
/** Format: date-time */
|
|
7230
7645
|
readonly updatedAt?: string;
|
|
7231
7646
|
};
|
|
7647
|
+
ViewModeChangedInteraction: components$1["schemas"]["BaseInteraction"] & {
|
|
7648
|
+
name: string;
|
|
7649
|
+
payload: components$1["schemas"]["ViewModeChangedPayload"];
|
|
7650
|
+
} & {
|
|
7651
|
+
/**
|
|
7652
|
+
* discriminator enum property added by openapi-typescript
|
|
7653
|
+
* @enum {string}
|
|
7654
|
+
*/
|
|
7655
|
+
name: "viewMode.changed";
|
|
7656
|
+
};
|
|
7232
7657
|
ViewModeChangedPayload: {
|
|
7233
7658
|
/**
|
|
7234
7659
|
* The view mode of presentation
|
|
@@ -7236,11 +7661,6 @@ type Schemas$1 = {
|
|
|
7236
7661
|
* @enum {string}
|
|
7237
7662
|
*/
|
|
7238
7663
|
mode?: "onlyYou" | "presentation" | "videoGrid";
|
|
7239
|
-
/**
|
|
7240
|
-
* discriminator enum property added by openapi-typescript
|
|
7241
|
-
* @enum {string}
|
|
7242
|
-
*/
|
|
7243
|
-
name: "viewMode.changed";
|
|
7244
7664
|
};
|
|
7245
7665
|
Warehouse: {
|
|
7246
7666
|
/** Format: date-time */
|
|
@@ -7396,154 +7816,1538 @@ type Schemas$1 = {
|
|
|
7396
7816
|
components$1["schemas"]["pagination"];
|
|
7397
7817
|
meta?: components$1["schemas"]["meta"];
|
|
7398
7818
|
};
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
callbacks?: GenericRecord$1;
|
|
7411
|
-
examples?: GenericRecord$1;
|
|
7412
|
-
headers?: GenericRecord$1;
|
|
7413
|
-
links?: GenericRecord$1;
|
|
7414
|
-
parameters?: GenericRecord$1;
|
|
7415
|
-
pathItems?: GenericRecord$1;
|
|
7416
|
-
requestBodies?: GenericRecord$1;
|
|
7417
|
-
responses?: GenericRecord$1;
|
|
7418
|
-
schemas?: GenericRecord$1;
|
|
7419
|
-
securitySchemes?: GenericRecord$1;
|
|
7420
|
-
};
|
|
7421
|
-
externalDocs?: {
|
|
7422
|
-
description?: string;
|
|
7423
|
-
/** Format: uri */
|
|
7424
|
-
url: string;
|
|
7425
|
-
};
|
|
7426
|
-
info: {
|
|
7427
|
-
contact?: {
|
|
7428
|
-
/** Format: email */
|
|
7429
|
-
email?: string;
|
|
7430
|
-
name?: string;
|
|
7431
|
-
/** Format: uri */
|
|
7432
|
-
url?: string;
|
|
7433
|
-
};
|
|
7434
|
-
description?: string;
|
|
7435
|
-
license?: {
|
|
7436
|
-
identifier?: string;
|
|
7437
|
-
name: string;
|
|
7438
|
-
/** Format: uri */
|
|
7439
|
-
url?: string;
|
|
7440
|
-
};
|
|
7441
|
-
summary?: string;
|
|
7442
|
-
/** Format: uri */
|
|
7443
|
-
termsOfService?: string;
|
|
7444
|
-
title: string;
|
|
7445
|
-
version: string;
|
|
7446
|
-
};
|
|
7447
|
-
jsonSchemaDialect?: string;
|
|
7448
|
-
openapi: string;
|
|
7449
|
-
paths?: GenericRecord$1;
|
|
7450
|
-
security?: GenericRecord$1[];
|
|
7451
|
-
servers?: {
|
|
7452
|
-
url: string;
|
|
7453
|
-
}[];
|
|
7454
|
-
tags?: {
|
|
7455
|
-
description?: string;
|
|
7456
|
-
externalDocs?: {
|
|
7457
|
-
description?: string;
|
|
7458
|
-
/** Format: uri */
|
|
7459
|
-
url: string;
|
|
7460
|
-
};
|
|
7461
|
-
name: string;
|
|
7462
|
-
}[];
|
|
7463
|
-
webhooks?: GenericRecord$1;
|
|
7464
|
-
};
|
|
7465
|
-
responseCode: 200;
|
|
7819
|
+
swag_paypal_v1_capture: {
|
|
7820
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
7821
|
+
create_time: string;
|
|
7822
|
+
id: string;
|
|
7823
|
+
is_final_capture: boolean;
|
|
7824
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
7825
|
+
parent_payment: string;
|
|
7826
|
+
reason_code: string;
|
|
7827
|
+
state: string;
|
|
7828
|
+
transaction_fee: components$1["schemas"]["swag_paypal_v1_capture_transaction_fee"];
|
|
7829
|
+
update_time: string;
|
|
7466
7830
|
};
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7831
|
+
swag_paypal_v1_capture_transaction_fee: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
7832
|
+
swag_paypal_v1_client_token: {
|
|
7833
|
+
client_token: string;
|
|
7834
|
+
/**
|
|
7835
|
+
* Format: date-time
|
|
7836
|
+
* Calculated expiration date
|
|
7837
|
+
*/
|
|
7838
|
+
expire_date_time: string;
|
|
7839
|
+
/** The lifetime of the access token, in seconds. */
|
|
7840
|
+
expires_in: number;
|
|
7477
7841
|
};
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7842
|
+
swag_paypal_v1_common_address: {
|
|
7843
|
+
city: string;
|
|
7844
|
+
country_code: string;
|
|
7845
|
+
line1: string;
|
|
7846
|
+
line2: string | null;
|
|
7847
|
+
phone: string | null;
|
|
7848
|
+
postal_code: string;
|
|
7849
|
+
state: string | null;
|
|
7850
|
+
};
|
|
7851
|
+
swag_paypal_v1_common_amount: {
|
|
7852
|
+
currency: string;
|
|
7853
|
+
details: components$1["schemas"]["swag_paypal_v1_common_details"];
|
|
7854
|
+
total: string;
|
|
7855
|
+
};
|
|
7856
|
+
swag_paypal_v1_common_details: {
|
|
7857
|
+
discount: string;
|
|
7858
|
+
handling_fee: string;
|
|
7859
|
+
insurance: string;
|
|
7860
|
+
shipping: string;
|
|
7861
|
+
shipping_discount: string;
|
|
7862
|
+
subtotal: string;
|
|
7863
|
+
tax: string;
|
|
7864
|
+
};
|
|
7865
|
+
swag_paypal_v1_common_link: {
|
|
7866
|
+
enc_type: string | null;
|
|
7867
|
+
href: string;
|
|
7868
|
+
method: string;
|
|
7869
|
+
rel: string;
|
|
7870
|
+
};
|
|
7871
|
+
swag_paypal_v1_common_money: {
|
|
7872
|
+
currency_code: string;
|
|
7873
|
+
value: string;
|
|
7485
7874
|
};
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
pathParams: {
|
|
7490
|
-
/** ID of the address to be deleted. */
|
|
7491
|
-
addressId: string;
|
|
7492
|
-
};
|
|
7493
|
-
response: never;
|
|
7494
|
-
responseCode: 204;
|
|
7875
|
+
swag_paypal_v1_common_value: {
|
|
7876
|
+
currency: string;
|
|
7877
|
+
value: string;
|
|
7495
7878
|
};
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
pathParams: {
|
|
7500
|
-
/** Address ID */
|
|
7501
|
-
addressId: string;
|
|
7502
|
-
};
|
|
7503
|
-
body: components$1["schemas"]["CustomerAddressBody"];
|
|
7504
|
-
response: components$1["schemas"]["CustomerAddress"] &
|
|
7505
|
-
components$1["schemas"]["CustomerAddressRead"];
|
|
7506
|
-
responseCode: 200;
|
|
7879
|
+
swag_paypal_v1_create_webhooks: {
|
|
7880
|
+
event_types: components$1["schemas"]["swag_paypal_v1_create_webhooks_event_type"][];
|
|
7881
|
+
url: string;
|
|
7507
7882
|
};
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
accept?: "application/json";
|
|
7511
|
-
pathParams: {
|
|
7512
|
-
/** Address ID */
|
|
7513
|
-
addressId: string;
|
|
7514
|
-
};
|
|
7515
|
-
response: never;
|
|
7516
|
-
responseCode: 200;
|
|
7883
|
+
swag_paypal_v1_create_webhooks_event_type: {
|
|
7884
|
+
name: string;
|
|
7517
7885
|
};
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
pathParams: {
|
|
7522
|
-
/** Address ID */
|
|
7523
|
-
addressId: string;
|
|
7524
|
-
};
|
|
7525
|
-
response: never;
|
|
7526
|
-
responseCode: 200;
|
|
7886
|
+
swag_paypal_v1_disputes: {
|
|
7887
|
+
items: components$1["schemas"]["swag_paypal_v1_disputes_item"][] | null;
|
|
7888
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
7527
7889
|
};
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
accept?: "application/json";
|
|
7531
|
-
body: {
|
|
7532
|
-
/** New email address. Has to be unique amongst all customers */
|
|
7533
|
-
email: string;
|
|
7534
|
-
/** Confirmation of the new email address. */
|
|
7535
|
-
emailConfirmation: string;
|
|
7536
|
-
/** Customer's current password */
|
|
7537
|
-
password: string;
|
|
7538
|
-
};
|
|
7539
|
-
response: components$1["schemas"]["SuccessResponse"];
|
|
7540
|
-
responseCode: 200;
|
|
7890
|
+
swag_paypal_v1_disputes_common_buyer: {
|
|
7891
|
+
name: string;
|
|
7541
7892
|
};
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7893
|
+
swag_paypal_v1_disputes_common_item: {
|
|
7894
|
+
dispute_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
7895
|
+
item_description: string;
|
|
7896
|
+
item_id: string;
|
|
7897
|
+
item_quantity: string;
|
|
7898
|
+
notes: string;
|
|
7899
|
+
partner_transaction_id: string;
|
|
7900
|
+
reason: string;
|
|
7901
|
+
};
|
|
7902
|
+
swag_paypal_v1_disputes_common_product_details: {
|
|
7903
|
+
product_received: string;
|
|
7904
|
+
product_received_time: string;
|
|
7905
|
+
purchase_url: string;
|
|
7906
|
+
return_details: components$1["schemas"]["swag_paypal_v1_disputes_common_return_details"];
|
|
7907
|
+
sub_reasons: components$1["schemas"]["swag_paypal_v1_disputes_common_sub_reason"][];
|
|
7908
|
+
};
|
|
7909
|
+
swag_paypal_v1_disputes_common_return_details: {
|
|
7910
|
+
mode: string;
|
|
7911
|
+
receipt: boolean;
|
|
7912
|
+
return_confirmation_number: string;
|
|
7913
|
+
return_time: string;
|
|
7914
|
+
returned: boolean;
|
|
7915
|
+
};
|
|
7916
|
+
swag_paypal_v1_disputes_common_seller: {
|
|
7917
|
+
email: string;
|
|
7918
|
+
merchant_id: string;
|
|
7919
|
+
name: string;
|
|
7920
|
+
};
|
|
7921
|
+
swag_paypal_v1_disputes_common_service_details: {
|
|
7922
|
+
description: string;
|
|
7923
|
+
note: string;
|
|
7924
|
+
purchase_url: string;
|
|
7925
|
+
service_started: string;
|
|
7926
|
+
sub_reasons: components$1["schemas"]["swag_paypal_v1_disputes_common_sub_reason"][];
|
|
7927
|
+
};
|
|
7928
|
+
swag_paypal_v1_disputes_common_sub_reason: {
|
|
7929
|
+
sub_reason: string;
|
|
7930
|
+
};
|
|
7931
|
+
swag_paypal_v1_disputes_common_transaction: {
|
|
7932
|
+
buyer: components$1["schemas"]["swag_paypal_v1_disputes_common_buyer"];
|
|
7933
|
+
buyer_transaction_id: string;
|
|
7934
|
+
create_time: string;
|
|
7935
|
+
custom: string;
|
|
7936
|
+
gross_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
7937
|
+
invoice_number: string;
|
|
7938
|
+
items: components$1["schemas"]["swag_paypal_v1_disputes_common_item"][];
|
|
7939
|
+
reference_id: string;
|
|
7940
|
+
seller: components$1["schemas"]["swag_paypal_v1_disputes_common_seller"];
|
|
7941
|
+
seller_transaction_id: string;
|
|
7942
|
+
transaction_status: string;
|
|
7943
|
+
};
|
|
7944
|
+
swag_paypal_v1_disputes_item: {
|
|
7945
|
+
adjudications: components$1["schemas"]["swag_paypal_v1_disputes_item_adjudication"][];
|
|
7946
|
+
buyer_response_due_date: string | null;
|
|
7947
|
+
communication_details:
|
|
7948
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_communication_details"]
|
|
7949
|
+
| null;
|
|
7950
|
+
create_time: string;
|
|
7951
|
+
dispute_amount: components$1["schemas"]["swag_paypal_v1_disputes_item_dispute_amount"];
|
|
7952
|
+
dispute_channel: string | null;
|
|
7953
|
+
dispute_id: string;
|
|
7954
|
+
dispute_life_cycle_stage: string;
|
|
7955
|
+
dispute_outcome:
|
|
7956
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_dispute_outcome"]
|
|
7957
|
+
| null;
|
|
7958
|
+
/** @enum {string|null} */
|
|
7959
|
+
dispute_state:
|
|
7960
|
+
| "REQUIRED_ACTION"
|
|
7961
|
+
| "REQUIRED_OTHER_PARTY_ACTION"
|
|
7962
|
+
| "UNDER_PAYPAL_REVIEW"
|
|
7963
|
+
| "RESOLVED"
|
|
7964
|
+
| "OPEN_INQUIRIES"
|
|
7965
|
+
| "APPEALABLE"
|
|
7966
|
+
| null;
|
|
7967
|
+
disputed_transactions:
|
|
7968
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_disputed_transaction"][]
|
|
7969
|
+
| null;
|
|
7970
|
+
evidences:
|
|
7971
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_evidence"][]
|
|
7972
|
+
| null;
|
|
7973
|
+
extensions: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions"];
|
|
7974
|
+
external_reason_code: string | null;
|
|
7975
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
7976
|
+
messages:
|
|
7977
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_message"][]
|
|
7978
|
+
| null;
|
|
7979
|
+
money_movements: components$1["schemas"]["swag_paypal_v1_disputes_item_money_movement"][];
|
|
7980
|
+
offer: components$1["schemas"]["swag_paypal_v1_disputes_item_offer"] | null;
|
|
7981
|
+
partner_actions:
|
|
7982
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_partner_action"][]
|
|
7983
|
+
| null;
|
|
7984
|
+
reason: string;
|
|
7985
|
+
refund_details:
|
|
7986
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_refund_details"]
|
|
7987
|
+
| null;
|
|
7988
|
+
seller_response_due_date: string | null;
|
|
7989
|
+
status: string;
|
|
7990
|
+
supporting_info:
|
|
7991
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_supporting_info"][]
|
|
7992
|
+
| null;
|
|
7993
|
+
update_time: string;
|
|
7994
|
+
};
|
|
7995
|
+
swag_paypal_v1_disputes_item_adjudication: {
|
|
7996
|
+
adjudication_time: string;
|
|
7997
|
+
dispute_life_cycle_stage: string;
|
|
7998
|
+
reason: string;
|
|
7999
|
+
type: string;
|
|
8000
|
+
};
|
|
8001
|
+
swag_paypal_v1_disputes_item_communication_details: {
|
|
8002
|
+
email: string;
|
|
8003
|
+
note: string;
|
|
8004
|
+
time_posted: string;
|
|
8005
|
+
};
|
|
8006
|
+
swag_paypal_v1_disputes_item_dispute_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8007
|
+
swag_paypal_v1_disputes_item_dispute_outcome: {
|
|
8008
|
+
amount_refunded: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8009
|
+
outcome_code: string;
|
|
8010
|
+
};
|
|
8011
|
+
swag_paypal_v1_disputes_item_disputed_transaction: components$1["schemas"]["swag_paypal_v1_disputes_common_transaction"] & {
|
|
8012
|
+
seller_protection_eligible: boolean;
|
|
8013
|
+
};
|
|
8014
|
+
swag_paypal_v1_disputes_item_evidence: {
|
|
8015
|
+
documents: components$1["schemas"]["swag_paypal_v1_disputes_item_evidence_document"][];
|
|
8016
|
+
evidence_info: components$1["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info"];
|
|
8017
|
+
evidence_type: string;
|
|
8018
|
+
item_id: string;
|
|
8019
|
+
notes: string;
|
|
8020
|
+
};
|
|
8021
|
+
swag_paypal_v1_disputes_item_evidence_document: {
|
|
8022
|
+
name: string;
|
|
8023
|
+
};
|
|
8024
|
+
swag_paypal_v1_disputes_item_evidence_evidence_info: {
|
|
8025
|
+
refund_ids: components$1["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info_refund_id"][];
|
|
8026
|
+
tracking_info: components$1["schemas"]["swag_paypal_v1_disputes_item_evidence_evidence_info_tracking_info"][];
|
|
8027
|
+
};
|
|
8028
|
+
swag_paypal_v1_disputes_item_evidence_evidence_info_refund_id: {
|
|
8029
|
+
refund_id: string;
|
|
8030
|
+
};
|
|
8031
|
+
swag_paypal_v1_disputes_item_evidence_evidence_info_tracking_info: {
|
|
8032
|
+
carrier_name: string;
|
|
8033
|
+
carrier_name_other: string;
|
|
8034
|
+
tracking_number: string;
|
|
8035
|
+
tracking_url: string;
|
|
8036
|
+
};
|
|
8037
|
+
swag_paypal_v1_disputes_item_extensions: {
|
|
8038
|
+
billing_dispute_properties: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties"];
|
|
8039
|
+
buyer_contacted_channel: string;
|
|
8040
|
+
buyer_contacted_time: string;
|
|
8041
|
+
merchandize_dispute_properties: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_merchandize_dispute_properties"];
|
|
8042
|
+
merchant_contacted: boolean;
|
|
8043
|
+
merchant_contacted_mode: string;
|
|
8044
|
+
merchant_contacted_outcome: string;
|
|
8045
|
+
merchant_contacted_time: string;
|
|
8046
|
+
};
|
|
8047
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties: {
|
|
8048
|
+
canceled_recurring_billing: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing"];
|
|
8049
|
+
credit_not_processed: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed"];
|
|
8050
|
+
duplicate_transaction: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction"];
|
|
8051
|
+
incorrect_transaction_amount: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount"];
|
|
8052
|
+
payment_by_other_means: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means"];
|
|
8053
|
+
};
|
|
8054
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_canceled_recurring_billing: {
|
|
8055
|
+
cancellation_details: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
|
|
8056
|
+
expected_refund: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8057
|
+
};
|
|
8058
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details: {
|
|
8059
|
+
merchant_agreed_refund: boolean;
|
|
8060
|
+
merchant_agreed_refund_time: string;
|
|
8061
|
+
};
|
|
8062
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details: {
|
|
8063
|
+
cancellation_date: string;
|
|
8064
|
+
cancellation_mode: string;
|
|
8065
|
+
cancellation_number: string;
|
|
8066
|
+
cancelled: boolean;
|
|
8067
|
+
};
|
|
8068
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_credit_not_processed: {
|
|
8069
|
+
agreed_refund_details: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_agreed_refund_details"];
|
|
8070
|
+
cancellation_details: components$1["schemas"]["swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_common_cancellation_details"];
|
|
8071
|
+
expected_refund: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8072
|
+
issue_type: string;
|
|
8073
|
+
product_details: components$1["schemas"]["swag_paypal_v1_disputes_common_product_details"];
|
|
8074
|
+
service_details: components$1["schemas"]["swag_paypal_v1_disputes_common_service_details"];
|
|
8075
|
+
};
|
|
8076
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_duplicate_transaction: {
|
|
8077
|
+
original_transaction: components$1["schemas"]["swag_paypal_v1_disputes_common_transaction"];
|
|
8078
|
+
received_duplicate: boolean;
|
|
8079
|
+
};
|
|
8080
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_incorrect_transaction_amount: {
|
|
8081
|
+
correct_transaction_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8082
|
+
correct_transaction_time: string;
|
|
8083
|
+
};
|
|
8084
|
+
swag_paypal_v1_disputes_item_extensions_billing_dispute_properties_payment_by_other_means: {
|
|
8085
|
+
charge_different_from_original: boolean;
|
|
8086
|
+
payment_instrument_suffix: string;
|
|
8087
|
+
payment_method: string;
|
|
8088
|
+
received_duplicate: boolean;
|
|
8089
|
+
};
|
|
8090
|
+
swag_paypal_v1_disputes_item_extensions_merchandize_dispute_properties: {
|
|
8091
|
+
issue_type: string;
|
|
8092
|
+
product_details: components$1["schemas"]["swag_paypal_v1_disputes_common_product_details"];
|
|
8093
|
+
service_details: components$1["schemas"]["swag_paypal_v1_disputes_common_service_details"];
|
|
8094
|
+
};
|
|
8095
|
+
swag_paypal_v1_disputes_item_message: {
|
|
8096
|
+
content: string;
|
|
8097
|
+
posted_by: string;
|
|
8098
|
+
time_posted: string;
|
|
8099
|
+
};
|
|
8100
|
+
swag_paypal_v1_disputes_item_money_movement: {
|
|
8101
|
+
affected_party: string;
|
|
8102
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8103
|
+
initiated_time: string;
|
|
8104
|
+
reason: string;
|
|
8105
|
+
type: string;
|
|
8106
|
+
};
|
|
8107
|
+
swag_paypal_v1_disputes_item_offer: {
|
|
8108
|
+
buyer_requested_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8109
|
+
history:
|
|
8110
|
+
| components$1["schemas"]["swag_paypal_v1_disputes_item_offer_history"][]
|
|
8111
|
+
| null;
|
|
8112
|
+
offer_type: string;
|
|
8113
|
+
seller_offered_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8114
|
+
};
|
|
8115
|
+
swag_paypal_v1_disputes_item_offer_history: {
|
|
8116
|
+
actor: string;
|
|
8117
|
+
event_type: string;
|
|
8118
|
+
offer_time: string;
|
|
8119
|
+
offer_type: string;
|
|
8120
|
+
};
|
|
8121
|
+
swag_paypal_v1_disputes_item_partner_action: {
|
|
8122
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8123
|
+
create_time: string;
|
|
8124
|
+
due_time: string;
|
|
8125
|
+
id: string;
|
|
8126
|
+
name: string;
|
|
8127
|
+
status: string;
|
|
8128
|
+
update_time: string;
|
|
8129
|
+
};
|
|
8130
|
+
swag_paypal_v1_disputes_item_refund_details: {
|
|
8131
|
+
allowed_refund_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8132
|
+
};
|
|
8133
|
+
swag_paypal_v1_disputes_item_supporting_info: {
|
|
8134
|
+
notes: string;
|
|
8135
|
+
provided_time: string;
|
|
8136
|
+
source: string;
|
|
8137
|
+
};
|
|
8138
|
+
swag_paypal_v1_do_void: {
|
|
8139
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8140
|
+
create_time: string;
|
|
8141
|
+
id: string;
|
|
8142
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8143
|
+
parent_payment: string;
|
|
8144
|
+
state: string;
|
|
8145
|
+
update_time: string;
|
|
8146
|
+
};
|
|
8147
|
+
swag_paypal_v1_merchant_integrations: {
|
|
8148
|
+
capabilities:
|
|
8149
|
+
| components$1["schemas"]["swag_paypal_v1_merchant_integrations_capability"][]
|
|
8150
|
+
| null;
|
|
8151
|
+
granted_permissions: string[];
|
|
8152
|
+
legal_name: string;
|
|
8153
|
+
merchant_id: string;
|
|
8154
|
+
oauth_integrations: components$1["schemas"]["swag_paypal_v1_merchant_integrations_oauth_integration"][];
|
|
8155
|
+
payments_receivable: boolean;
|
|
8156
|
+
primary_email: string;
|
|
8157
|
+
primary_email_confirmed: boolean;
|
|
8158
|
+
products: components$1["schemas"]["swag_paypal_v1_merchant_integrations_product"][];
|
|
8159
|
+
tracking_id: string;
|
|
8160
|
+
};
|
|
8161
|
+
swag_paypal_v1_merchant_integrations_capability: {
|
|
8162
|
+
name: string;
|
|
8163
|
+
status: string;
|
|
8164
|
+
};
|
|
8165
|
+
swag_paypal_v1_merchant_integrations_oauth_integration: {
|
|
8166
|
+
integration_method?: string;
|
|
8167
|
+
integration_type?: string;
|
|
8168
|
+
oauth_third_party?: components$1["schemas"]["swag_paypal_v1_merchant_integrations_oauth_integration_oauth_third_party"][];
|
|
8169
|
+
status?: string;
|
|
8170
|
+
};
|
|
8171
|
+
swag_paypal_v1_merchant_integrations_oauth_integration_oauth_third_party: {
|
|
8172
|
+
access_token?: string;
|
|
8173
|
+
merchant_client_id?: string;
|
|
8174
|
+
partner_client_id?: string;
|
|
8175
|
+
refresh_token?: string;
|
|
8176
|
+
scopes: string[];
|
|
8177
|
+
};
|
|
8178
|
+
swag_paypal_v1_merchant_integrations_product: {
|
|
8179
|
+
capabilities?: string[];
|
|
8180
|
+
name: string;
|
|
8181
|
+
vetting_status?: string;
|
|
8182
|
+
};
|
|
8183
|
+
swag_paypal_v1_oauth_credentials: {
|
|
8184
|
+
restId: string;
|
|
8185
|
+
restSecret: string;
|
|
8186
|
+
url: string;
|
|
8187
|
+
};
|
|
8188
|
+
swag_paypal_v1_patch: {
|
|
8189
|
+
/** @enum {string} */
|
|
8190
|
+
op: "add" | "replace";
|
|
8191
|
+
path: string;
|
|
8192
|
+
value: string | Record<string, never>[];
|
|
8193
|
+
};
|
|
8194
|
+
swag_paypal_v1_payment: {
|
|
8195
|
+
application_context: components$1["schemas"]["swag_paypal_v1_payment_application_context"];
|
|
8196
|
+
cart: string;
|
|
8197
|
+
create_time: string;
|
|
8198
|
+
id: string;
|
|
8199
|
+
/**
|
|
8200
|
+
* @default sale
|
|
8201
|
+
* @enum {string}
|
|
8202
|
+
*/
|
|
8203
|
+
intent?: "sale" | "authorize" | "order";
|
|
8204
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8205
|
+
payer: components$1["schemas"]["swag_paypal_v1_payment_payer"];
|
|
8206
|
+
payment_instruction:
|
|
8207
|
+
| components$1["schemas"]["swag_paypal_v1_payment_payment_instruction"]
|
|
8208
|
+
| null;
|
|
8209
|
+
redirect_urls: components$1["schemas"]["swag_paypal_v1_payment_redirect_urls"];
|
|
8210
|
+
state: string;
|
|
8211
|
+
transactions: components$1["schemas"]["swag_paypal_v1_payment_transaction"][];
|
|
8212
|
+
update_time: string;
|
|
8213
|
+
};
|
|
8214
|
+
swag_paypal_v1_payment_application_context: {
|
|
8215
|
+
brand_name: string;
|
|
8216
|
+
/** @enum {string} */
|
|
8217
|
+
landing_page: "Login" | "Billing";
|
|
8218
|
+
locale: string;
|
|
8219
|
+
/** @default SET_PROVIDED_ADDRESS */
|
|
8220
|
+
shipping_preference?: string;
|
|
8221
|
+
/** @default commit */
|
|
8222
|
+
user_action?: string;
|
|
8223
|
+
};
|
|
8224
|
+
swag_paypal_v1_payment_payer: {
|
|
8225
|
+
external_selected_funding_instrument_type: string;
|
|
8226
|
+
payer_info: components$1["schemas"]["swag_paypal_v1_payment_payer_payer_info"];
|
|
8227
|
+
payment_method: string;
|
|
8228
|
+
status: string;
|
|
8229
|
+
};
|
|
8230
|
+
swag_paypal_v1_payment_payer_execute_payer_info: {
|
|
8231
|
+
payer_id: string;
|
|
8232
|
+
};
|
|
8233
|
+
swag_paypal_v1_payment_payer_payer_info: components$1["schemas"]["swag_paypal_v1_payment_payer_execute_payer_info"] & {
|
|
8234
|
+
billing_address:
|
|
8235
|
+
| components$1["schemas"]["swag_paypal_v1_common_address"]
|
|
8236
|
+
| null;
|
|
8237
|
+
country_code: string;
|
|
8238
|
+
email: string;
|
|
8239
|
+
first_name: string;
|
|
8240
|
+
last_name: string;
|
|
8241
|
+
phone: string;
|
|
8242
|
+
shipping_address: components$1["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_address"];
|
|
8243
|
+
};
|
|
8244
|
+
swag_paypal_v1_payment_payment_instruction: {
|
|
8245
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8246
|
+
instruction_type: string;
|
|
8247
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8248
|
+
payment_due_date: string;
|
|
8249
|
+
recipient_banking_instruction: components$1["schemas"]["swag_paypal_v1_payment_payment_instruction_recipient_banking_instruction"];
|
|
8250
|
+
reference_number: string;
|
|
8251
|
+
};
|
|
8252
|
+
swag_paypal_v1_payment_payment_instruction_recipient_banking_instruction: {
|
|
8253
|
+
account_holder_name: string;
|
|
8254
|
+
bank_identifier_code: string;
|
|
8255
|
+
bank_name: string;
|
|
8256
|
+
international_bank_account_number: string;
|
|
8257
|
+
};
|
|
8258
|
+
swag_paypal_v1_payment_redirect_urls: {
|
|
8259
|
+
cancel_url: string;
|
|
8260
|
+
return_url: string;
|
|
8261
|
+
};
|
|
8262
|
+
swag_paypal_v1_payment_transaction: {
|
|
8263
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8264
|
+
custom: string;
|
|
8265
|
+
description: string;
|
|
8266
|
+
invoice_number: string | null;
|
|
8267
|
+
item_list:
|
|
8268
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_item_list"]
|
|
8269
|
+
| null;
|
|
8270
|
+
payee: components$1["schemas"]["swag_paypal_v1_payment_transaction_payee"];
|
|
8271
|
+
related_resources: components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource"][];
|
|
8272
|
+
soft_descriptor: string;
|
|
8273
|
+
};
|
|
8274
|
+
swag_paypal_v1_payment_transaction_item_list: {
|
|
8275
|
+
items: components$1["schemas"]["swag_paypal_v1_payment_transaction_item_list_item"][];
|
|
8276
|
+
shipping_address: components$1["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_address"];
|
|
8277
|
+
shipping_options: components$1["schemas"]["swag_paypal_v1_payment_transaction_item_list_shipping_option"][];
|
|
8278
|
+
shipping_phone_number: string;
|
|
8279
|
+
};
|
|
8280
|
+
swag_paypal_v1_payment_transaction_item_list_item: {
|
|
8281
|
+
currency: string;
|
|
8282
|
+
name: string;
|
|
8283
|
+
price: string;
|
|
8284
|
+
quantity: number;
|
|
8285
|
+
sku: string | null;
|
|
8286
|
+
tax: string;
|
|
8287
|
+
};
|
|
8288
|
+
swag_paypal_v1_payment_transaction_item_list_shipping_address: components$1["schemas"]["swag_paypal_v1_common_address"] & {
|
|
8289
|
+
recipient_name: string;
|
|
8290
|
+
};
|
|
8291
|
+
swag_paypal_v1_payment_transaction_item_list_shipping_option: unknown;
|
|
8292
|
+
swag_paypal_v1_payment_transaction_payee: {
|
|
8293
|
+
email: string;
|
|
8294
|
+
merchant_id: string;
|
|
8295
|
+
};
|
|
8296
|
+
swag_paypal_v1_payment_transaction_related_resource: {
|
|
8297
|
+
authorization:
|
|
8298
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource_authorization"]
|
|
8299
|
+
| null;
|
|
8300
|
+
capture:
|
|
8301
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource_capture"]
|
|
8302
|
+
| null;
|
|
8303
|
+
order:
|
|
8304
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource_order"]
|
|
8305
|
+
| null;
|
|
8306
|
+
refund:
|
|
8307
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource_refund"]
|
|
8308
|
+
| null;
|
|
8309
|
+
sale:
|
|
8310
|
+
| components$1["schemas"]["swag_paypal_v1_payment_transaction_related_resource_sale"]
|
|
8311
|
+
| null;
|
|
8312
|
+
};
|
|
8313
|
+
swag_paypal_v1_payment_transaction_related_resource_authorization: {
|
|
8314
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8315
|
+
create_time: string;
|
|
8316
|
+
id: string;
|
|
8317
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8318
|
+
parent_payment: string;
|
|
8319
|
+
payment_mode: string;
|
|
8320
|
+
protection_eligibility: string;
|
|
8321
|
+
protection_eligibility_type: string;
|
|
8322
|
+
reason_code: string;
|
|
8323
|
+
receipt_id: string;
|
|
8324
|
+
state: string;
|
|
8325
|
+
update_time: string;
|
|
8326
|
+
valid_until: string;
|
|
8327
|
+
};
|
|
8328
|
+
swag_paypal_v1_payment_transaction_related_resource_capture: {
|
|
8329
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8330
|
+
create_time: string;
|
|
8331
|
+
custom: string;
|
|
8332
|
+
id: string;
|
|
8333
|
+
invoice_number: string;
|
|
8334
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8335
|
+
parent_payment: string;
|
|
8336
|
+
payment_mode: string;
|
|
8337
|
+
protection_eligibility: string;
|
|
8338
|
+
protection_eligibility_type: string;
|
|
8339
|
+
receipt_id: string;
|
|
8340
|
+
state: string;
|
|
8341
|
+
transaction_fee: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8342
|
+
update_time: string;
|
|
8343
|
+
};
|
|
8344
|
+
swag_paypal_v1_payment_transaction_related_resource_order: {
|
|
8345
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8346
|
+
create_time: string;
|
|
8347
|
+
id: string;
|
|
8348
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8349
|
+
parent_payment: string;
|
|
8350
|
+
payment_mode: string;
|
|
8351
|
+
protection_eligibility: string;
|
|
8352
|
+
protection_eligibility_type: string;
|
|
8353
|
+
reason_code: string;
|
|
8354
|
+
receipt_id: string;
|
|
8355
|
+
state: string;
|
|
8356
|
+
update_time: string;
|
|
8357
|
+
};
|
|
8358
|
+
swag_paypal_v1_payment_transaction_related_resource_refund: {
|
|
8359
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8360
|
+
capture_id: string;
|
|
8361
|
+
create_time: string;
|
|
8362
|
+
id: string;
|
|
8363
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8364
|
+
parent_payment: string;
|
|
8365
|
+
payment_mode: string;
|
|
8366
|
+
protection_eligibility: string;
|
|
8367
|
+
protection_eligibility_type: string;
|
|
8368
|
+
receipt_id: string;
|
|
8369
|
+
sale_id: string;
|
|
8370
|
+
state: string;
|
|
8371
|
+
update_time: string;
|
|
8372
|
+
};
|
|
8373
|
+
swag_paypal_v1_payment_transaction_related_resource_sale: {
|
|
8374
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8375
|
+
create_time: string;
|
|
8376
|
+
id: string;
|
|
8377
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8378
|
+
parent_payment: string;
|
|
8379
|
+
payment_mode: string;
|
|
8380
|
+
protection_eligibility: string;
|
|
8381
|
+
protection_eligibility_type: string;
|
|
8382
|
+
receipt_id: string;
|
|
8383
|
+
state: string;
|
|
8384
|
+
transaction_fee: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8385
|
+
update_time: string;
|
|
8386
|
+
};
|
|
8387
|
+
swag_paypal_v1_plan: {
|
|
8388
|
+
billing_cycles: components$1["schemas"]["swag_paypal_v1_plan_billing_cycle"][];
|
|
8389
|
+
description: string | null;
|
|
8390
|
+
name: string;
|
|
8391
|
+
payment_preferences: components$1["schemas"]["swag_paypal_v1_plan_payment_preferences"];
|
|
8392
|
+
product_id: string;
|
|
8393
|
+
status: string;
|
|
8394
|
+
taxes: components$1["schemas"]["swag_paypal_v1_plan_taxes"];
|
|
8395
|
+
};
|
|
8396
|
+
swag_paypal_v1_plan_billing_cycle: {
|
|
8397
|
+
frequency: components$1["schemas"]["swag_paypal_v1_plan_billing_cycle_frequency"];
|
|
8398
|
+
pricing_scheme: components$1["schemas"]["swag_paypal_v1_plan_billing_cycle_pricing_scheme"];
|
|
8399
|
+
sequence: number;
|
|
8400
|
+
tenure_type: string;
|
|
8401
|
+
total_cycles: number;
|
|
8402
|
+
};
|
|
8403
|
+
swag_paypal_v1_plan_billing_cycle_frequency: {
|
|
8404
|
+
interval_count: number;
|
|
8405
|
+
interval_unit: string;
|
|
8406
|
+
};
|
|
8407
|
+
swag_paypal_v1_plan_billing_cycle_pricing_scheme: {
|
|
8408
|
+
fixed_price: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8409
|
+
};
|
|
8410
|
+
swag_paypal_v1_plan_payment_preferences: {
|
|
8411
|
+
auto_bill_outstanding: boolean;
|
|
8412
|
+
payment_failure_threshold: number;
|
|
8413
|
+
};
|
|
8414
|
+
swag_paypal_v1_plan_taxes: {
|
|
8415
|
+
inclusive: boolean;
|
|
8416
|
+
percentage: string;
|
|
8417
|
+
};
|
|
8418
|
+
swag_paypal_v1_product: {
|
|
8419
|
+
description: string;
|
|
8420
|
+
name: string;
|
|
8421
|
+
type: string;
|
|
8422
|
+
};
|
|
8423
|
+
swag_paypal_v1_refund: {
|
|
8424
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8425
|
+
capture_id: string;
|
|
8426
|
+
create_time: string;
|
|
8427
|
+
description: string;
|
|
8428
|
+
id: string;
|
|
8429
|
+
invoice_number: string;
|
|
8430
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8431
|
+
parent_payment: string;
|
|
8432
|
+
reason: string;
|
|
8433
|
+
refund_from_received_amount: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8434
|
+
refund_from_transaction_fee: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8435
|
+
sale_id: string;
|
|
8436
|
+
state: string;
|
|
8437
|
+
total_refunded_amount: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8438
|
+
update_time: string;
|
|
8439
|
+
};
|
|
8440
|
+
swag_paypal_v1_shipping: {
|
|
8441
|
+
trackers: components$1["schemas"]["swag_paypal_v1_shipping_tracker"][];
|
|
8442
|
+
};
|
|
8443
|
+
swag_paypal_v1_shipping_tracker: {
|
|
8444
|
+
carrier: string;
|
|
8445
|
+
notify_buyer: boolean;
|
|
8446
|
+
/** Pattern: '2022-08-15' */
|
|
8447
|
+
shipment_date: string;
|
|
8448
|
+
status: string;
|
|
8449
|
+
tracking_number: string;
|
|
8450
|
+
transaction_id: string;
|
|
8451
|
+
};
|
|
8452
|
+
swag_paypal_v1_subscription: {
|
|
8453
|
+
application_context: components$1["schemas"]["swag_paypal_v1_subscription_application_context"];
|
|
8454
|
+
billing_info:
|
|
8455
|
+
| components$1["schemas"]["swag_paypal_v1_subscription_billing_info"]
|
|
8456
|
+
| null;
|
|
8457
|
+
create_time: string;
|
|
8458
|
+
id: string;
|
|
8459
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8460
|
+
plan_id: string;
|
|
8461
|
+
quantity: string;
|
|
8462
|
+
shipping_amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8463
|
+
start_time: string;
|
|
8464
|
+
status: string;
|
|
8465
|
+
status_update_time: string;
|
|
8466
|
+
subscriber: components$1["schemas"]["swag_paypal_v1_subscription_subscriber"];
|
|
8467
|
+
update_time: string;
|
|
8468
|
+
};
|
|
8469
|
+
swag_paypal_v1_subscription_application_context: {
|
|
8470
|
+
brand_name: string;
|
|
8471
|
+
cancel_url: string;
|
|
8472
|
+
locale: string;
|
|
8473
|
+
return_url: string;
|
|
8474
|
+
/** @default SET_PROVIDED_ADDRESS */
|
|
8475
|
+
shipping_preference?: string;
|
|
8476
|
+
/** @default SUBSCRIBE_NOW */
|
|
8477
|
+
user_action?: string;
|
|
8478
|
+
};
|
|
8479
|
+
swag_paypal_v1_subscription_billing_info: {
|
|
8480
|
+
cycle_executions: components$1["schemas"]["swag_paypal_v1_subscription_billing_info_cycle_execution"][];
|
|
8481
|
+
failed_payments_count: number;
|
|
8482
|
+
last_payment: components$1["schemas"]["swag_paypal_v1_subscription_billing_info_last_payment"];
|
|
8483
|
+
next_billing_time: string | null;
|
|
8484
|
+
outstanding_balance: components$1["schemas"]["swag_paypal_v1_subscription_billing_info_outstanding_balance"];
|
|
8485
|
+
};
|
|
8486
|
+
swag_paypal_v1_subscription_billing_info_cycle_execution: {
|
|
8487
|
+
cycles_completed: number;
|
|
8488
|
+
cycles_remaining: number;
|
|
8489
|
+
sequence: number;
|
|
8490
|
+
tenure_type: string;
|
|
8491
|
+
total_cycles: number;
|
|
8492
|
+
};
|
|
8493
|
+
swag_paypal_v1_subscription_billing_info_last_payment: {
|
|
8494
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8495
|
+
time: string;
|
|
8496
|
+
};
|
|
8497
|
+
swag_paypal_v1_subscription_billing_info_outstanding_balance: components$1["schemas"]["swag_paypal_v1_common_money"];
|
|
8498
|
+
swag_paypal_v1_subscription_subscriber: {
|
|
8499
|
+
email_address: string;
|
|
8500
|
+
name: components$1["schemas"]["swag_paypal_v1_subscription_subscriber_name"];
|
|
8501
|
+
payer_id: string;
|
|
8502
|
+
shipping_address:
|
|
8503
|
+
| components$1["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address"]
|
|
8504
|
+
| null;
|
|
8505
|
+
};
|
|
8506
|
+
swag_paypal_v1_subscription_subscriber_name: {
|
|
8507
|
+
given_name: string;
|
|
8508
|
+
surname: string;
|
|
8509
|
+
};
|
|
8510
|
+
swag_paypal_v1_subscription_subscriber_shipping_address: {
|
|
8511
|
+
address:
|
|
8512
|
+
| components$1["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address_address"]
|
|
8513
|
+
| null;
|
|
8514
|
+
name:
|
|
8515
|
+
| components$1["schemas"]["swag_paypal_v1_subscription_subscriber_shipping_address_name"]
|
|
8516
|
+
| null;
|
|
8517
|
+
};
|
|
8518
|
+
swag_paypal_v1_subscription_subscriber_shipping_address_address: {
|
|
8519
|
+
address_line_1: string | null;
|
|
8520
|
+
address_line_2: string | null;
|
|
8521
|
+
admin_area_1: string | null;
|
|
8522
|
+
admin_area_2: string | null;
|
|
8523
|
+
country_code: string;
|
|
8524
|
+
postal_code: string | null;
|
|
8525
|
+
};
|
|
8526
|
+
swag_paypal_v1_subscription_subscriber_shipping_address_name: {
|
|
8527
|
+
full_name: string;
|
|
8528
|
+
};
|
|
8529
|
+
swag_paypal_v1_token: {
|
|
8530
|
+
/** The access token issued by PayPal. After the access token
|
|
8531
|
+
* expires (see $expiresIn), you must request a new access token. */
|
|
8532
|
+
access_token: string;
|
|
8533
|
+
app_id: string;
|
|
8534
|
+
/**
|
|
8535
|
+
* Format: date-time
|
|
8536
|
+
* Calculated expiration date
|
|
8537
|
+
*/
|
|
8538
|
+
expire_date_time: string;
|
|
8539
|
+
/** The lifetime of the access token, in seconds. */
|
|
8540
|
+
expires_in: number;
|
|
8541
|
+
id_token: string | null;
|
|
8542
|
+
nonce: string;
|
|
8543
|
+
/** Scopes expressed in the form of resource URL endpoints. The value of the scope parameter
|
|
8544
|
+
* is expressed as a list of space-delimited, case-sensitive strings. */
|
|
8545
|
+
scope: string;
|
|
8546
|
+
/** The type of the token issued as described in OAuth2.0 RFC6749,
|
|
8547
|
+
* Section 7.1. Value is case insensitive. */
|
|
8548
|
+
token_type: string;
|
|
8549
|
+
};
|
|
8550
|
+
swag_paypal_v1_webhook: {
|
|
8551
|
+
create_time: string;
|
|
8552
|
+
event_type: string;
|
|
8553
|
+
event_version: string;
|
|
8554
|
+
id: string;
|
|
8555
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8556
|
+
resource:
|
|
8557
|
+
| (
|
|
8558
|
+
| components$1["schemas"]["swag_paypal_v3_payment_token"]
|
|
8559
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_authorization"]
|
|
8560
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture"]
|
|
8561
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund"]
|
|
8562
|
+
| components$1["schemas"]["swag_paypal_v1_webhook_resource"]
|
|
8563
|
+
| components$1["schemas"]["swag_paypal_v1_subscription"]
|
|
8564
|
+
)
|
|
8565
|
+
| null;
|
|
8566
|
+
resource_type: string;
|
|
8567
|
+
resource_version: string;
|
|
8568
|
+
summary: string;
|
|
8569
|
+
};
|
|
8570
|
+
swag_paypal_v1_webhook_resource: {
|
|
8571
|
+
amount: components$1["schemas"]["swag_paypal_v1_common_amount"];
|
|
8572
|
+
billing_agreement_id: string | null;
|
|
8573
|
+
clearing_time: string;
|
|
8574
|
+
create_time: string;
|
|
8575
|
+
id: string;
|
|
8576
|
+
invoice_number: string;
|
|
8577
|
+
links: components$1["schemas"]["swag_paypal_v1_common_link"][];
|
|
8578
|
+
merchant_id: string | null;
|
|
8579
|
+
parent_payment: string | null;
|
|
8580
|
+
payment_mode: string;
|
|
8581
|
+
protection_eligibility: string;
|
|
8582
|
+
protection_eligibility_type: string;
|
|
8583
|
+
refund_reason_code: string | null;
|
|
8584
|
+
sale_id: string | null;
|
|
8585
|
+
state: string;
|
|
8586
|
+
transaction_fee: components$1["schemas"]["swag_paypal_v1_common_value"];
|
|
8587
|
+
update_time: string;
|
|
8588
|
+
};
|
|
8589
|
+
swag_paypal_v2_common_address: {
|
|
8590
|
+
/** The first line of the address. For example, number or street. For example, 173 Drury Lane.
|
|
8591
|
+
* Required for data entry and compliance and risk checks. Must contain the full address. */
|
|
8592
|
+
address_line_1: string | null;
|
|
8593
|
+
/** The second line of the address. For example, suite or apartment number. */
|
|
8594
|
+
address_line_2: string | null;
|
|
8595
|
+
/** The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision.
|
|
8596
|
+
* Format for postal delivery. For example, CA and not California. */
|
|
8597
|
+
admin_area_1: string | null;
|
|
8598
|
+
/** A city, town, or village. Smaller than $adminArea1 */
|
|
8599
|
+
admin_area_2: string | null;
|
|
8600
|
+
country_code: string;
|
|
8601
|
+
postal_code: string | null;
|
|
8602
|
+
};
|
|
8603
|
+
swag_paypal_v2_common_link: {
|
|
8604
|
+
enc_type: string | null;
|
|
8605
|
+
href: string;
|
|
8606
|
+
method: string;
|
|
8607
|
+
rel: string;
|
|
8608
|
+
};
|
|
8609
|
+
swag_paypal_v2_common_money: {
|
|
8610
|
+
currency_code: string;
|
|
8611
|
+
value: string;
|
|
8612
|
+
};
|
|
8613
|
+
swag_paypal_v2_common_name: {
|
|
8614
|
+
given_name: string;
|
|
8615
|
+
surname: string;
|
|
8616
|
+
};
|
|
8617
|
+
swag_paypal_v2_common_phone_number: {
|
|
8618
|
+
country_code: string;
|
|
8619
|
+
national_number: string;
|
|
8620
|
+
};
|
|
8621
|
+
swag_paypal_v2_order: {
|
|
8622
|
+
application_context: components$1["schemas"]["swag_paypal_v2_order_application_context"];
|
|
8623
|
+
create_time: string;
|
|
8624
|
+
id: string;
|
|
8625
|
+
intent: string;
|
|
8626
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
8627
|
+
payer: components$1["schemas"]["swag_paypal_v2_order_payer"];
|
|
8628
|
+
payment_source:
|
|
8629
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source"]
|
|
8630
|
+
| null;
|
|
8631
|
+
processing_instruction: string;
|
|
8632
|
+
purchase_units:
|
|
8633
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit"][]
|
|
8634
|
+
| null;
|
|
8635
|
+
status: string;
|
|
8636
|
+
update_time: string;
|
|
8637
|
+
};
|
|
8638
|
+
swag_paypal_v2_order_application_context: {
|
|
8639
|
+
brand_name: string;
|
|
8640
|
+
cancel_url: string;
|
|
8641
|
+
/**
|
|
8642
|
+
* @default NO_PREFERENCE
|
|
8643
|
+
* @enum {string}
|
|
8644
|
+
*/
|
|
8645
|
+
landing_page?: "LOGIN" | "BILLING" | "NO_PREFERENCE";
|
|
8646
|
+
return_url: string;
|
|
8647
|
+
/**
|
|
8648
|
+
* @default SET_PROVIDED_ADDRESS
|
|
8649
|
+
* @enum {string}
|
|
8650
|
+
*/
|
|
8651
|
+
shipping_preference?:
|
|
8652
|
+
| "SET_PROVIDED_ADDRESS"
|
|
8653
|
+
| "NO_SHIPPING"
|
|
8654
|
+
| "GET_FROM_FILE";
|
|
8655
|
+
/**
|
|
8656
|
+
* @default PAY_NOW
|
|
8657
|
+
* @enum {string}
|
|
8658
|
+
*/
|
|
8659
|
+
user_action?: "CONTINUE" | "PAY_NOW";
|
|
8660
|
+
};
|
|
8661
|
+
swag_paypal_v2_order_payer: {
|
|
8662
|
+
address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
8663
|
+
email_address: string;
|
|
8664
|
+
name: components$1["schemas"]["swag_paypal_v2_common_name"];
|
|
8665
|
+
payer_id: string;
|
|
8666
|
+
phone:
|
|
8667
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_phone"]
|
|
8668
|
+
| null;
|
|
8669
|
+
};
|
|
8670
|
+
swag_paypal_v2_order_payment_source: {
|
|
8671
|
+
apple_pay: components$1["schemas"]["swag_paypal_v2_order_payment_source_apple_pay"];
|
|
8672
|
+
bancontact:
|
|
8673
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_bancontact"]
|
|
8674
|
+
| null;
|
|
8675
|
+
blik:
|
|
8676
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_blik"]
|
|
8677
|
+
| null;
|
|
8678
|
+
boletobancario:
|
|
8679
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_boletobancario"]
|
|
8680
|
+
| null;
|
|
8681
|
+
card:
|
|
8682
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card"]
|
|
8683
|
+
| null;
|
|
8684
|
+
eps:
|
|
8685
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_eps"]
|
|
8686
|
+
| null;
|
|
8687
|
+
giropay:
|
|
8688
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_giropay"]
|
|
8689
|
+
| null;
|
|
8690
|
+
google_pay:
|
|
8691
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_google_pay"]
|
|
8692
|
+
| null;
|
|
8693
|
+
ideal:
|
|
8694
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_ideal"]
|
|
8695
|
+
| null;
|
|
8696
|
+
multibanco:
|
|
8697
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_multibanco"]
|
|
8698
|
+
| null;
|
|
8699
|
+
my_bank:
|
|
8700
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_my_bank"]
|
|
8701
|
+
| null;
|
|
8702
|
+
oxxo:
|
|
8703
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_oxxo"]
|
|
8704
|
+
| null;
|
|
8705
|
+
p24:
|
|
8706
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_p24"]
|
|
8707
|
+
| null;
|
|
8708
|
+
pay_upon_invoice:
|
|
8709
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_pay_upon_invoice"]
|
|
8710
|
+
| null;
|
|
8711
|
+
paypal:
|
|
8712
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_paypal"]
|
|
8713
|
+
| null;
|
|
8714
|
+
sofort:
|
|
8715
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_sofort"]
|
|
8716
|
+
| null;
|
|
8717
|
+
token:
|
|
8718
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_token"]
|
|
8719
|
+
| null;
|
|
8720
|
+
trustly:
|
|
8721
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_trustly"]
|
|
8722
|
+
| null;
|
|
8723
|
+
venmo:
|
|
8724
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_venmo"]
|
|
8725
|
+
| null;
|
|
8726
|
+
};
|
|
8727
|
+
swag_paypal_v2_order_payment_source_apple_pay: {
|
|
8728
|
+
attributes:
|
|
8729
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
|
|
8730
|
+
| null;
|
|
8731
|
+
card:
|
|
8732
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card"]
|
|
8733
|
+
| null;
|
|
8734
|
+
country_code: string;
|
|
8735
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8736
|
+
name: string;
|
|
8737
|
+
};
|
|
8738
|
+
swag_paypal_v2_order_payment_source_bancontact: {
|
|
8739
|
+
country_code: string;
|
|
8740
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8741
|
+
name: string;
|
|
8742
|
+
};
|
|
8743
|
+
swag_paypal_v2_order_payment_source_blik: {
|
|
8744
|
+
country_code: string;
|
|
8745
|
+
email: string;
|
|
8746
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8747
|
+
name: string;
|
|
8748
|
+
};
|
|
8749
|
+
swag_paypal_v2_order_payment_source_boletobancario: {
|
|
8750
|
+
billing_address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
8751
|
+
country_code: string;
|
|
8752
|
+
email: string;
|
|
8753
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8754
|
+
expiry_date: string;
|
|
8755
|
+
name: string;
|
|
8756
|
+
tax_info: components$1["schemas"]["swag_paypal_v2_order_payment_source_boletobancario_tax_info"];
|
|
8757
|
+
};
|
|
8758
|
+
swag_paypal_v2_order_payment_source_boletobancario_tax_info: {
|
|
8759
|
+
tax_id: string;
|
|
8760
|
+
tax_id_type: string;
|
|
8761
|
+
};
|
|
8762
|
+
swag_paypal_v2_order_payment_source_card: {
|
|
8763
|
+
attributes:
|
|
8764
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
|
|
8765
|
+
| null;
|
|
8766
|
+
authentication_result:
|
|
8767
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card_authentication_result"]
|
|
8768
|
+
| null;
|
|
8769
|
+
billing_address:
|
|
8770
|
+
| components$1["schemas"]["swag_paypal_v2_common_address"]
|
|
8771
|
+
| null;
|
|
8772
|
+
brand: string;
|
|
8773
|
+
country_code: string;
|
|
8774
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8775
|
+
last_digits: string;
|
|
8776
|
+
name: string;
|
|
8777
|
+
stored_credential:
|
|
8778
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card_stored_credential"]
|
|
8779
|
+
| null;
|
|
8780
|
+
type: string;
|
|
8781
|
+
vault_id: string;
|
|
8782
|
+
};
|
|
8783
|
+
swag_paypal_v2_order_payment_source_card_authentication_result: {
|
|
8784
|
+
liability_shift: string;
|
|
8785
|
+
three_d_secure:
|
|
8786
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card_authentication_result_3d_secure"]
|
|
8787
|
+
| null;
|
|
8788
|
+
};
|
|
8789
|
+
swag_paypal_v2_order_payment_source_card_authentication_result_3d_secure: {
|
|
8790
|
+
authentication_status: string;
|
|
8791
|
+
enrollment_status: string;
|
|
8792
|
+
};
|
|
8793
|
+
swag_paypal_v2_order_payment_source_card_stored_credential: {
|
|
8794
|
+
/** @enum {string} */
|
|
8795
|
+
payment_initiator: "MERCHANT" | "CUSTOMER";
|
|
8796
|
+
/** @enum {string} */
|
|
8797
|
+
payment_type: "RECURRING" | "ONE_TIME" | "UNSCHEDULED";
|
|
8798
|
+
previous_network_transaction_reference: string;
|
|
8799
|
+
/** @enum {string} */
|
|
8800
|
+
usage: "DERIVED" | "FIRST" | "SUBSEQUENT";
|
|
8801
|
+
};
|
|
8802
|
+
swag_paypal_v2_order_payment_source_common_attributes: {
|
|
8803
|
+
customer: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"];
|
|
8804
|
+
vault: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_vault"];
|
|
8805
|
+
verification: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_verification"];
|
|
8806
|
+
};
|
|
8807
|
+
swag_paypal_v2_order_payment_source_common_attributes_customer: {
|
|
8808
|
+
id: string;
|
|
8809
|
+
};
|
|
8810
|
+
swag_paypal_v2_order_payment_source_common_attributes_vault: {
|
|
8811
|
+
confirm_payment_token: string;
|
|
8812
|
+
customer:
|
|
8813
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"]
|
|
8814
|
+
| null;
|
|
8815
|
+
id: string | null;
|
|
8816
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
8817
|
+
permit_multiple_payment_tokens: boolean;
|
|
8818
|
+
status: string;
|
|
8819
|
+
store_in_vault: string;
|
|
8820
|
+
usage_type: string;
|
|
8821
|
+
};
|
|
8822
|
+
swag_paypal_v2_order_payment_source_common_attributes_verification: {
|
|
8823
|
+
method: string;
|
|
8824
|
+
};
|
|
8825
|
+
swag_paypal_v2_order_payment_source_common_experience_context: {
|
|
8826
|
+
brand_name: string;
|
|
8827
|
+
cancel_url: string;
|
|
8828
|
+
/** Only: PUI */
|
|
8829
|
+
customer_service_instructions: string[];
|
|
8830
|
+
/**
|
|
8831
|
+
* @default NO_PREFERENCE
|
|
8832
|
+
* @enum {string}
|
|
8833
|
+
*/
|
|
8834
|
+
landing_page?: "LOGIN" | "GUEST_CHECKOUT" | "NO_PREFERENCE";
|
|
8835
|
+
locale: string;
|
|
8836
|
+
logo_url: string;
|
|
8837
|
+
/**
|
|
8838
|
+
* Only: PayPal Wallet
|
|
8839
|
+
* @enum {string}
|
|
8840
|
+
*/
|
|
8841
|
+
payment_method_preference: "UNRESTRICTED" | "IMMEDIATE_PAYMENT_REQUIRED";
|
|
8842
|
+
return_url: string;
|
|
8843
|
+
/**
|
|
8844
|
+
* @default SET_PROVIDED_ADDRESS
|
|
8845
|
+
* @enum {string}
|
|
8846
|
+
*/
|
|
8847
|
+
shipping_preference?:
|
|
8848
|
+
| "SET_PROVIDED_ADDRESS"
|
|
8849
|
+
| "NO_SHIPPING"
|
|
8850
|
+
| "GET_FROM_FILE";
|
|
8851
|
+
/**
|
|
8852
|
+
* @default PAY_NOW
|
|
8853
|
+
* @enum {string}
|
|
8854
|
+
*/
|
|
8855
|
+
user_action?: "CONTINUE" | "PAY_NOW";
|
|
8856
|
+
};
|
|
8857
|
+
swag_paypal_v2_order_payment_source_common_phone: {
|
|
8858
|
+
phone_number: components$1["schemas"]["swag_paypal_v2_common_phone_number"];
|
|
8859
|
+
phone_type: string;
|
|
8860
|
+
};
|
|
8861
|
+
swag_paypal_v2_order_payment_source_eps: {
|
|
8862
|
+
country_code: string;
|
|
8863
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8864
|
+
name: string;
|
|
8865
|
+
};
|
|
8866
|
+
swag_paypal_v2_order_payment_source_giropay: {
|
|
8867
|
+
country_code: string;
|
|
8868
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8869
|
+
name: string;
|
|
8870
|
+
};
|
|
8871
|
+
swag_paypal_v2_order_payment_source_google_pay: {
|
|
8872
|
+
attributes:
|
|
8873
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
|
|
8874
|
+
| null;
|
|
8875
|
+
card:
|
|
8876
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_card"]
|
|
8877
|
+
| null;
|
|
8878
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8879
|
+
};
|
|
8880
|
+
swag_paypal_v2_order_payment_source_ideal: {
|
|
8881
|
+
country_code: string;
|
|
8882
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8883
|
+
name: string;
|
|
8884
|
+
};
|
|
8885
|
+
swag_paypal_v2_order_payment_source_multibanco: {
|
|
8886
|
+
country_code: string;
|
|
8887
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8888
|
+
name: string;
|
|
8889
|
+
};
|
|
8890
|
+
swag_paypal_v2_order_payment_source_my_bank: {
|
|
8891
|
+
country_code: string;
|
|
8892
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8893
|
+
name: string;
|
|
8894
|
+
};
|
|
8895
|
+
swag_paypal_v2_order_payment_source_oxxo: {
|
|
8896
|
+
country_code: string;
|
|
8897
|
+
email: string;
|
|
8898
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8899
|
+
name: string;
|
|
8900
|
+
};
|
|
8901
|
+
swag_paypal_v2_order_payment_source_p24: {
|
|
8902
|
+
country_code: string;
|
|
8903
|
+
email: string;
|
|
8904
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8905
|
+
name: string;
|
|
8906
|
+
};
|
|
8907
|
+
swag_paypal_v2_order_payment_source_pay_upon_invoice: {
|
|
8908
|
+
billing_address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
8909
|
+
birth_date: string;
|
|
8910
|
+
deposit_bank_details: components$1["schemas"]["swag_paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details"];
|
|
8911
|
+
email: string;
|
|
8912
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8913
|
+
name: components$1["schemas"]["swag_paypal_v2_common_name"];
|
|
8914
|
+
payment_reference: string;
|
|
8915
|
+
phone: components$1["schemas"]["swag_paypal_v2_common_phone_number"];
|
|
8916
|
+
};
|
|
8917
|
+
swag_paypal_v2_order_payment_source_pay_upon_invoice_deposit_bank_details: {
|
|
8918
|
+
account_holder_name: string;
|
|
8919
|
+
bank_name: string;
|
|
8920
|
+
bic: string;
|
|
8921
|
+
iban: string;
|
|
8922
|
+
};
|
|
8923
|
+
swag_paypal_v2_order_payment_source_paypal: {
|
|
8924
|
+
account_id: string;
|
|
8925
|
+
address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
8926
|
+
attributes:
|
|
8927
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
|
|
8928
|
+
| null;
|
|
8929
|
+
billing_agreement_id: string;
|
|
8930
|
+
birth_date: string;
|
|
8931
|
+
email_address: string;
|
|
8932
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8933
|
+
name: components$1["schemas"]["swag_paypal_v2_common_name"];
|
|
8934
|
+
phone_number:
|
|
8935
|
+
| components$1["schemas"]["swag_paypal_v2_common_phone_number"]
|
|
8936
|
+
| null;
|
|
8937
|
+
phone_type: string;
|
|
8938
|
+
vault_id: string;
|
|
8939
|
+
};
|
|
8940
|
+
swag_paypal_v2_order_payment_source_sofort: {
|
|
8941
|
+
country_code: string;
|
|
8942
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8943
|
+
name: string;
|
|
8944
|
+
};
|
|
8945
|
+
swag_paypal_v2_order_payment_source_token: {
|
|
8946
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8947
|
+
id: string;
|
|
8948
|
+
stored_payment_source: components$1["schemas"]["swag_paypal_v2_order_payment_source_token_stored_payment_source"];
|
|
8949
|
+
type: string;
|
|
8950
|
+
};
|
|
8951
|
+
swag_paypal_v2_order_payment_source_token_stored_payment_source: {
|
|
8952
|
+
payment_initiator: string;
|
|
8953
|
+
payment_type: string;
|
|
8954
|
+
usage: string;
|
|
8955
|
+
};
|
|
8956
|
+
swag_paypal_v2_order_payment_source_trustly: {
|
|
8957
|
+
country_code: string;
|
|
8958
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8959
|
+
name: string;
|
|
8960
|
+
};
|
|
8961
|
+
swag_paypal_v2_order_payment_source_venmo: {
|
|
8962
|
+
account_id: string;
|
|
8963
|
+
address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
8964
|
+
attributes:
|
|
8965
|
+
| components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes"]
|
|
8966
|
+
| null;
|
|
8967
|
+
email_address: string;
|
|
8968
|
+
experience_context: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_experience_context"];
|
|
8969
|
+
name: components$1["schemas"]["swag_paypal_v2_common_name"];
|
|
8970
|
+
phone_number:
|
|
8971
|
+
| components$1["schemas"]["swag_paypal_v2_common_phone_number"]
|
|
8972
|
+
| null;
|
|
8973
|
+
user_name: string;
|
|
8974
|
+
vault_id: string;
|
|
8975
|
+
};
|
|
8976
|
+
swag_paypal_v2_order_purchase_unit: {
|
|
8977
|
+
amount: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_amount"];
|
|
8978
|
+
custom_id: string | null;
|
|
8979
|
+
description: string;
|
|
8980
|
+
invoice_id: string | null;
|
|
8981
|
+
items:
|
|
8982
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_item"][]
|
|
8983
|
+
| null;
|
|
8984
|
+
payee: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payee"];
|
|
8985
|
+
payments:
|
|
8986
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments"]
|
|
8987
|
+
| null;
|
|
8988
|
+
reference_id: string;
|
|
8989
|
+
shipping: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_shipping"];
|
|
8990
|
+
};
|
|
8991
|
+
swag_paypal_v2_order_purchase_unit_amount: components$1["schemas"]["swag_paypal_v2_common_money"] & {
|
|
8992
|
+
breakdown:
|
|
8993
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_amount_breakdown"]
|
|
8994
|
+
| null;
|
|
8995
|
+
};
|
|
8996
|
+
swag_paypal_v2_order_purchase_unit_amount_breakdown: {
|
|
8997
|
+
discount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
8998
|
+
handling: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
8999
|
+
insurance: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9000
|
+
item_total: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9001
|
+
shipping: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9002
|
+
shipping_discount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9003
|
+
tax_total: components$1["schemas"]["swag_paypal_v2_common_money"] | null;
|
|
9004
|
+
};
|
|
9005
|
+
swag_paypal_v2_order_purchase_unit_item: {
|
|
9006
|
+
/** @enum {string} */
|
|
9007
|
+
category: "PHYSICAL_GOODS" | "DIGITAL_GOODS" | "DONATION";
|
|
9008
|
+
name: string;
|
|
9009
|
+
quantity: number;
|
|
9010
|
+
sku: string | null;
|
|
9011
|
+
tax: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9012
|
+
tax_rate: string | number | Record<string, never>;
|
|
9013
|
+
unit_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9014
|
+
};
|
|
9015
|
+
swag_paypal_v2_order_purchase_unit_payee: {
|
|
9016
|
+
display_data: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payee_display_data"];
|
|
9017
|
+
email_address: string;
|
|
9018
|
+
merchant_id: string;
|
|
9019
|
+
};
|
|
9020
|
+
swag_paypal_v2_order_purchase_unit_payee_display_data: {
|
|
9021
|
+
brand_name: string;
|
|
9022
|
+
};
|
|
9023
|
+
swag_paypal_v2_order_purchase_unit_payments: {
|
|
9024
|
+
authorizations:
|
|
9025
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_authorization"][]
|
|
9026
|
+
| null;
|
|
9027
|
+
captures:
|
|
9028
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture"][]
|
|
9029
|
+
| null;
|
|
9030
|
+
refunds:
|
|
9031
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund"][]
|
|
9032
|
+
| null;
|
|
9033
|
+
};
|
|
9034
|
+
swag_paypal_v2_order_purchase_unit_payments_authorization: {
|
|
9035
|
+
amount: components$1["schemas"]["swag_paypal_v2_common_money"] | null;
|
|
9036
|
+
create_time: string;
|
|
9037
|
+
custom_id: string | null;
|
|
9038
|
+
expiration_time: string;
|
|
9039
|
+
id: string;
|
|
9040
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9041
|
+
seller_protection: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_common_seller_protection"];
|
|
9042
|
+
status: string;
|
|
9043
|
+
update_time: string;
|
|
9044
|
+
};
|
|
9045
|
+
swag_paypal_v2_order_purchase_unit_payments_authorization_seller_protection: {
|
|
9046
|
+
dispute_categories: string[];
|
|
9047
|
+
status: string;
|
|
9048
|
+
};
|
|
9049
|
+
swag_paypal_v2_order_purchase_unit_payments_capture: {
|
|
9050
|
+
amount: components$1["schemas"]["swag_paypal_v2_common_money"] | null;
|
|
9051
|
+
create_time: string;
|
|
9052
|
+
custom_id: string | null;
|
|
9053
|
+
disbursement_mode: string;
|
|
9054
|
+
final_capture: boolean;
|
|
9055
|
+
id: string;
|
|
9056
|
+
invoice_id: string | null;
|
|
9057
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9058
|
+
note_to_payer: string | null;
|
|
9059
|
+
processor_response: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture_processor_response"];
|
|
9060
|
+
seller_protection: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_common_seller_protection"];
|
|
9061
|
+
seller_receivable_breakdown: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown"];
|
|
9062
|
+
status: string;
|
|
9063
|
+
update_time: string;
|
|
9064
|
+
};
|
|
9065
|
+
swag_paypal_v2_order_purchase_unit_payments_capture_processor_response: {
|
|
9066
|
+
avs_code: string | null;
|
|
9067
|
+
cvv_code: string | null;
|
|
9068
|
+
response_code: string | null;
|
|
9069
|
+
};
|
|
9070
|
+
swag_paypal_v2_order_purchase_unit_payments_capture_seller_receivable_breakdown: {
|
|
9071
|
+
gross_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9072
|
+
net_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9073
|
+
paypal_fee: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9074
|
+
};
|
|
9075
|
+
swag_paypal_v2_order_purchase_unit_payments_common_seller_protection: {
|
|
9076
|
+
dispute_categories: string[];
|
|
9077
|
+
status: string;
|
|
9078
|
+
};
|
|
9079
|
+
swag_paypal_v2_order_purchase_unit_payments_refund: {
|
|
9080
|
+
amount: components$1["schemas"]["swag_paypal_v2_common_money"] | null;
|
|
9081
|
+
create_time: string;
|
|
9082
|
+
custom_id: string | null;
|
|
9083
|
+
id: string;
|
|
9084
|
+
invoice_id: string | null;
|
|
9085
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9086
|
+
note_to_payer: string | null;
|
|
9087
|
+
seller_payable_breakdown: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown"];
|
|
9088
|
+
status: string;
|
|
9089
|
+
update_time: string;
|
|
9090
|
+
};
|
|
9091
|
+
swag_paypal_v2_order_purchase_unit_payments_refund_seller_payable_breakdown: {
|
|
9092
|
+
gross_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9093
|
+
net_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9094
|
+
paypal_fee: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9095
|
+
total_refunded_amount: components$1["schemas"]["swag_paypal_v2_common_money"];
|
|
9096
|
+
};
|
|
9097
|
+
swag_paypal_v2_order_purchase_unit_shipping: {
|
|
9098
|
+
address: components$1["schemas"]["swag_paypal_v2_common_address"];
|
|
9099
|
+
name: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_name"];
|
|
9100
|
+
trackers:
|
|
9101
|
+
| components$1["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_tracker"][]
|
|
9102
|
+
| null;
|
|
9103
|
+
};
|
|
9104
|
+
swag_paypal_v2_order_purchase_unit_shipping_name: {
|
|
9105
|
+
full_name: string;
|
|
9106
|
+
};
|
|
9107
|
+
swag_paypal_v2_order_purchase_unit_shipping_tracker: {
|
|
9108
|
+
id: string;
|
|
9109
|
+
items: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_item"][];
|
|
9110
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9111
|
+
notify_payer: boolean;
|
|
9112
|
+
status: string;
|
|
9113
|
+
};
|
|
9114
|
+
swag_paypal_v2_order_purchase_unit_shipping_tracker_item: {
|
|
9115
|
+
image_url: string | null;
|
|
9116
|
+
name: string;
|
|
9117
|
+
quantity: number;
|
|
9118
|
+
sku: string | null;
|
|
9119
|
+
url: string | null;
|
|
9120
|
+
};
|
|
9121
|
+
swag_paypal_v2_order_tracker: {
|
|
9122
|
+
capture_id: string;
|
|
9123
|
+
carrier: string;
|
|
9124
|
+
carrier_name_other: string | null;
|
|
9125
|
+
items: components$1["schemas"]["swag_paypal_v2_order_purchase_unit_shipping_tracker_item"][];
|
|
9126
|
+
/** @default false */
|
|
9127
|
+
notify_payer?: boolean;
|
|
9128
|
+
tracking_number: string;
|
|
9129
|
+
};
|
|
9130
|
+
swag_paypal_v2_patch: {
|
|
9131
|
+
from: string;
|
|
9132
|
+
op: string;
|
|
9133
|
+
path: string;
|
|
9134
|
+
value:
|
|
9135
|
+
| (
|
|
9136
|
+
| number
|
|
9137
|
+
| Record<string, never>
|
|
9138
|
+
| string
|
|
9139
|
+
| boolean
|
|
9140
|
+
| Record<string, never>[]
|
|
9141
|
+
)
|
|
9142
|
+
| null;
|
|
9143
|
+
};
|
|
9144
|
+
swag_paypal_v2_referral: {
|
|
9145
|
+
business_entity: components$1["schemas"]["swag_paypal_v2_referral_business_entity"];
|
|
9146
|
+
capabilities: string[];
|
|
9147
|
+
legal_consents: components$1["schemas"]["swag_paypal_v2_referral_legal_consent"][];
|
|
9148
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9149
|
+
operations: components$1["schemas"]["swag_paypal_v2_referral_operation"][];
|
|
9150
|
+
partner_config_override: components$1["schemas"]["swag_paypal_v2_referral_partner_config_override"];
|
|
9151
|
+
preferred_language_code: string;
|
|
9152
|
+
products: string[];
|
|
9153
|
+
tracking_id: string;
|
|
9154
|
+
};
|
|
9155
|
+
swag_paypal_v2_referral_business_entity: {
|
|
9156
|
+
addresses: components$1["schemas"]["swag_paypal_v2_referral_business_entity_address"][];
|
|
9157
|
+
};
|
|
9158
|
+
swag_paypal_v2_referral_business_entity_address: {
|
|
9159
|
+
country_code: string;
|
|
9160
|
+
/** @default WORK */
|
|
9161
|
+
type?: string;
|
|
9162
|
+
};
|
|
9163
|
+
swag_paypal_v2_referral_legal_consent: {
|
|
9164
|
+
granted: boolean;
|
|
9165
|
+
/** @default SHARE_DATA_CONSENT */
|
|
9166
|
+
type?: string;
|
|
9167
|
+
};
|
|
9168
|
+
swag_paypal_v2_referral_operation: {
|
|
9169
|
+
api_integration_preference: components$1["schemas"]["swag_paypal_v2_referral_operation_integration_preference"];
|
|
9170
|
+
/** @default API_INTEGRATION */
|
|
9171
|
+
operation?: string;
|
|
9172
|
+
};
|
|
9173
|
+
swag_paypal_v2_referral_operation_integration_preference: {
|
|
9174
|
+
rest_api_integration: components$1["schemas"]["swag_paypal_v2_referral_operation_integration_preference_integration"];
|
|
9175
|
+
};
|
|
9176
|
+
swag_paypal_v2_referral_operation_integration_preference_integration: {
|
|
9177
|
+
/** @default PAYPAL */
|
|
9178
|
+
integration_method?: string;
|
|
9179
|
+
/** @default THIRD_PARTY */
|
|
9180
|
+
integration_type?: string;
|
|
9181
|
+
third_party_details: components$1["schemas"]["swag_paypal_v2_referral_operation_integration_preference_integration_third_party_details"];
|
|
9182
|
+
};
|
|
9183
|
+
swag_paypal_v2_referral_operation_integration_preference_integration_third_party_details: {
|
|
9184
|
+
features: string[];
|
|
9185
|
+
};
|
|
9186
|
+
swag_paypal_v2_referral_partner_config_override: {
|
|
9187
|
+
partner_logo_url: string;
|
|
9188
|
+
return_url: string;
|
|
9189
|
+
};
|
|
9190
|
+
swag_paypal_v3_payment_token: {
|
|
9191
|
+
customer: components$1["schemas"]["swag_paypal_v2_order_payment_source_common_attributes_customer"];
|
|
9192
|
+
id: string;
|
|
9193
|
+
links: components$1["schemas"]["swag_paypal_v2_common_link"][];
|
|
9194
|
+
metadata:
|
|
9195
|
+
| components$1["schemas"]["swag_paypal_v3_payment_token_metadata"]
|
|
9196
|
+
| null;
|
|
9197
|
+
payment_source: components$1["schemas"]["swag_paypal_v2_order_payment_source"];
|
|
9198
|
+
status: string;
|
|
9199
|
+
};
|
|
9200
|
+
swag_paypal_v3_payment_token_metadata: {
|
|
9201
|
+
order_id: string;
|
|
9202
|
+
};
|
|
9203
|
+
};
|
|
9204
|
+
type operations$1 = {
|
|
9205
|
+
"api-info get /_info/openapi3.json": {
|
|
9206
|
+
contentType?: "application/json";
|
|
9207
|
+
accept?: "application/json";
|
|
9208
|
+
query?: {
|
|
9209
|
+
/** Type of the api */
|
|
9210
|
+
type?: "jsonapi" | "json";
|
|
9211
|
+
};
|
|
9212
|
+
response: {
|
|
9213
|
+
components?: {
|
|
9214
|
+
callbacks?: GenericRecord$1;
|
|
9215
|
+
examples?: GenericRecord$1;
|
|
9216
|
+
headers?: GenericRecord$1;
|
|
9217
|
+
links?: GenericRecord$1;
|
|
9218
|
+
parameters?: GenericRecord$1;
|
|
9219
|
+
pathItems?: GenericRecord$1;
|
|
9220
|
+
requestBodies?: GenericRecord$1;
|
|
9221
|
+
responses?: GenericRecord$1;
|
|
9222
|
+
schemas?: GenericRecord$1;
|
|
9223
|
+
securitySchemes?: GenericRecord$1;
|
|
9224
|
+
};
|
|
9225
|
+
externalDocs?: {
|
|
9226
|
+
description?: string;
|
|
9227
|
+
/** Format: uri */
|
|
9228
|
+
url: string;
|
|
9229
|
+
};
|
|
9230
|
+
info: {
|
|
9231
|
+
contact?: {
|
|
9232
|
+
/** Format: email */
|
|
9233
|
+
email?: string;
|
|
9234
|
+
name?: string;
|
|
9235
|
+
/** Format: uri */
|
|
9236
|
+
url?: string;
|
|
9237
|
+
};
|
|
9238
|
+
description?: string;
|
|
9239
|
+
license?: {
|
|
9240
|
+
identifier?: string;
|
|
9241
|
+
name: string;
|
|
9242
|
+
/** Format: uri */
|
|
9243
|
+
url?: string;
|
|
9244
|
+
};
|
|
9245
|
+
summary?: string;
|
|
9246
|
+
/** Format: uri */
|
|
9247
|
+
termsOfService?: string;
|
|
9248
|
+
title: string;
|
|
9249
|
+
version: string;
|
|
9250
|
+
};
|
|
9251
|
+
jsonSchemaDialect?: string;
|
|
9252
|
+
openapi: string;
|
|
9253
|
+
paths?: GenericRecord$1;
|
|
9254
|
+
security?: GenericRecord$1[];
|
|
9255
|
+
servers?: {
|
|
9256
|
+
url: string;
|
|
9257
|
+
}[];
|
|
9258
|
+
tags?: {
|
|
9259
|
+
description?: string;
|
|
9260
|
+
externalDocs?: {
|
|
9261
|
+
description?: string;
|
|
9262
|
+
/** Format: uri */
|
|
9263
|
+
url: string;
|
|
9264
|
+
};
|
|
9265
|
+
name: string;
|
|
9266
|
+
}[];
|
|
9267
|
+
webhooks?: GenericRecord$1;
|
|
9268
|
+
};
|
|
9269
|
+
responseCode: 200;
|
|
9270
|
+
};
|
|
9271
|
+
"getRoutes get /_info/routes": {
|
|
9272
|
+
contentType?: "application/json";
|
|
9273
|
+
accept?: "application/json";
|
|
9274
|
+
response: {
|
|
9275
|
+
endpoints: {
|
|
9276
|
+
methods: string[];
|
|
9277
|
+
path: string;
|
|
9278
|
+
}[];
|
|
9279
|
+
};
|
|
9280
|
+
responseCode: 200;
|
|
9281
|
+
};
|
|
9282
|
+
"createCustomerAddress post /account/address": {
|
|
9283
|
+
contentType?: "application/json";
|
|
9284
|
+
accept?: "application/json";
|
|
9285
|
+
body: components$1["schemas"]["CustomerAddressBody"];
|
|
9286
|
+
response: components$1["schemas"]["CustomerAddress"] &
|
|
9287
|
+
components$1["schemas"]["CustomerAddressRead"];
|
|
9288
|
+
responseCode: 200;
|
|
9289
|
+
};
|
|
9290
|
+
"deleteCustomerAddress delete /account/address/{addressId}": {
|
|
9291
|
+
contentType?: "application/json";
|
|
9292
|
+
accept?: "application/json";
|
|
9293
|
+
pathParams: {
|
|
9294
|
+
/** ID of the address to be deleted. */
|
|
9295
|
+
addressId: string;
|
|
9296
|
+
};
|
|
9297
|
+
response: never;
|
|
9298
|
+
responseCode: 204;
|
|
9299
|
+
};
|
|
9300
|
+
"updateCustomerAddress patch /account/address/{addressId}": {
|
|
9301
|
+
contentType?: "application/json";
|
|
9302
|
+
accept?: "application/json";
|
|
9303
|
+
pathParams: {
|
|
9304
|
+
/** Address ID */
|
|
9305
|
+
addressId: string;
|
|
9306
|
+
};
|
|
9307
|
+
body: components$1["schemas"]["CustomerAddressBody"];
|
|
9308
|
+
response: components$1["schemas"]["CustomerAddress"] &
|
|
9309
|
+
components$1["schemas"]["CustomerAddressRead"];
|
|
9310
|
+
responseCode: 200;
|
|
9311
|
+
};
|
|
9312
|
+
"defaultBillingAddress patch /account/address/default-billing/{addressId}": {
|
|
9313
|
+
contentType?: "application/json";
|
|
9314
|
+
accept?: "application/json";
|
|
9315
|
+
pathParams: {
|
|
9316
|
+
/** Address ID */
|
|
9317
|
+
addressId: string;
|
|
9318
|
+
};
|
|
9319
|
+
response: never;
|
|
9320
|
+
responseCode: 200;
|
|
9321
|
+
};
|
|
9322
|
+
"defaultShippingAddress patch /account/address/default-shipping/{addressId}": {
|
|
9323
|
+
contentType?: "application/json";
|
|
9324
|
+
accept?: "application/json";
|
|
9325
|
+
pathParams: {
|
|
9326
|
+
/** Address ID */
|
|
9327
|
+
addressId: string;
|
|
9328
|
+
};
|
|
9329
|
+
response: never;
|
|
9330
|
+
responseCode: 200;
|
|
9331
|
+
};
|
|
9332
|
+
"changeEmail post /account/change-email": {
|
|
9333
|
+
contentType?: "application/json";
|
|
9334
|
+
accept?: "application/json";
|
|
9335
|
+
body: {
|
|
9336
|
+
/** New email address. Has to be unique amongst all customers */
|
|
9337
|
+
email: string;
|
|
9338
|
+
/** Confirmation of the new email address. */
|
|
9339
|
+
emailConfirmation: string;
|
|
9340
|
+
/** Customer's current password */
|
|
9341
|
+
password: string;
|
|
9342
|
+
};
|
|
9343
|
+
response: components$1["schemas"]["SuccessResponse"];
|
|
9344
|
+
responseCode: 200;
|
|
9345
|
+
};
|
|
9346
|
+
"changeLanguage post /account/change-language": {
|
|
9347
|
+
contentType?: "application/json";
|
|
9348
|
+
accept?: "application/json";
|
|
9349
|
+
body: {
|
|
9350
|
+
/** New languageId */
|
|
7547
9351
|
language?: string;
|
|
7548
9352
|
};
|
|
7549
9353
|
response: components$1["schemas"]["SuccessResponse"];
|
|
@@ -7588,7 +9392,7 @@ type operations$1 = {
|
|
|
7588
9392
|
/** Customer last name. Value will be reused for shipping and billing address if not provided explicitly. */
|
|
7589
9393
|
lastName: string;
|
|
7590
9394
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7591
|
-
salutationId
|
|
9395
|
+
salutationId?: string;
|
|
7592
9396
|
/** (Academic) title of the customer */
|
|
7593
9397
|
title?: string;
|
|
7594
9398
|
} & (
|
|
@@ -7613,6 +9417,27 @@ type operations$1 = {
|
|
|
7613
9417
|
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
7614
9418
|
vatIds: [string, ...string[]];
|
|
7615
9419
|
}
|
|
9420
|
+
| {
|
|
9421
|
+
/**
|
|
9422
|
+
* Type of the customer account. Default value is 'private'.
|
|
9423
|
+
* @default private
|
|
9424
|
+
* @enum {string}
|
|
9425
|
+
*/
|
|
9426
|
+
accountType?: "private";
|
|
9427
|
+
company?: null;
|
|
9428
|
+
vatIds?: null;
|
|
9429
|
+
}
|
|
9430
|
+
| {
|
|
9431
|
+
/**
|
|
9432
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
9433
|
+
* @enum {string}
|
|
9434
|
+
*/
|
|
9435
|
+
accountType: "business";
|
|
9436
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
9437
|
+
company: string;
|
|
9438
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
9439
|
+
vatIds: [string, ...string[]];
|
|
9440
|
+
}
|
|
7616
9441
|
);
|
|
7617
9442
|
response: components$1["schemas"]["SuccessResponse"];
|
|
7618
9443
|
responseCode: 200;
|
|
@@ -7760,7 +9585,7 @@ type operations$1 = {
|
|
|
7760
9585
|
/** Password for the customer. Required, unless `guest` is `true` */
|
|
7761
9586
|
password: string;
|
|
7762
9587
|
/** Id of the salutation for the customer account. Fetch options using `salutation` endpoint. */
|
|
7763
|
-
salutationId
|
|
9588
|
+
salutationId?: string;
|
|
7764
9589
|
shippingAddress?: components$1["schemas"]["CustomerAddress"];
|
|
7765
9590
|
/** URL of the storefront for that registration. Used in confirmation emails. Has to be one of the configured domains of the sales channel. */
|
|
7766
9591
|
storefrontUrl: string;
|
|
@@ -7788,6 +9613,27 @@ type operations$1 = {
|
|
|
7788
9613
|
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
7789
9614
|
vatIds: [string, ...string[]];
|
|
7790
9615
|
}
|
|
9616
|
+
| {
|
|
9617
|
+
/**
|
|
9618
|
+
* Type of the customer account. Default value is 'private'.
|
|
9619
|
+
* @default private
|
|
9620
|
+
* @enum {string}
|
|
9621
|
+
*/
|
|
9622
|
+
accountType?: "private";
|
|
9623
|
+
company?: null;
|
|
9624
|
+
vatIds?: null;
|
|
9625
|
+
}
|
|
9626
|
+
| {
|
|
9627
|
+
/**
|
|
9628
|
+
* Type of the customer account. Can be `private` or `business`.
|
|
9629
|
+
* @enum {string}
|
|
9630
|
+
*/
|
|
9631
|
+
accountType: "business";
|
|
9632
|
+
/** Company of the customer. Only required when `accountType` is `business`. */
|
|
9633
|
+
company: string;
|
|
9634
|
+
/** VAT IDs of the customer's company. Only valid when `accountType` is `business`. */
|
|
9635
|
+
vatIds: [string, ...string[]];
|
|
9636
|
+
}
|
|
7791
9637
|
);
|
|
7792
9638
|
response: components$1["schemas"]["Customer"];
|
|
7793
9639
|
responseCode: 200;
|
|
@@ -7804,158 +9650,6 @@ type operations$1 = {
|
|
|
7804
9650
|
response: never;
|
|
7805
9651
|
responseCode: 200;
|
|
7806
9652
|
};
|
|
7807
|
-
"createShoppingList post /account/shopping-list": {
|
|
7808
|
-
contentType?: "application/json";
|
|
7809
|
-
accept?: "application/json";
|
|
7810
|
-
body: {
|
|
7811
|
-
lineItems?: {
|
|
7812
|
-
[key: string]: {
|
|
7813
|
-
/** Product id */
|
|
7814
|
-
id: string;
|
|
7815
|
-
/** Quantity of the product */
|
|
7816
|
-
quantity: number;
|
|
7817
|
-
};
|
|
7818
|
-
};
|
|
7819
|
-
/** Shopping list name */
|
|
7820
|
-
name: string;
|
|
7821
|
-
};
|
|
7822
|
-
response: never;
|
|
7823
|
-
responseCode: 204;
|
|
7824
|
-
};
|
|
7825
|
-
"removeShoppingLists delete /account/shopping-list": {
|
|
7826
|
-
contentType?: "application/json";
|
|
7827
|
-
accept?: "application/json";
|
|
7828
|
-
body: {
|
|
7829
|
-
/** Shopping list ids */
|
|
7830
|
-
ids: string[];
|
|
7831
|
-
};
|
|
7832
|
-
response: never;
|
|
7833
|
-
responseCode: 204;
|
|
7834
|
-
};
|
|
7835
|
-
"readShoppingList post /account/shopping-list/{id}": {
|
|
7836
|
-
contentType?: "application/json";
|
|
7837
|
-
accept?: "application/json";
|
|
7838
|
-
pathParams: {
|
|
7839
|
-
/** Identifier of the shopping list to be fetched */
|
|
7840
|
-
id: string;
|
|
7841
|
-
};
|
|
7842
|
-
response: components$1["schemas"]["B2bComponentsShoppingList"];
|
|
7843
|
-
responseCode: 200;
|
|
7844
|
-
};
|
|
7845
|
-
"updateShoppingList patch /account/shopping-list/{id}/change-name": {
|
|
7846
|
-
contentType?: "application/json";
|
|
7847
|
-
accept?: "application/json";
|
|
7848
|
-
pathParams: {
|
|
7849
|
-
/** Identifier of the shopping list to be fetched */
|
|
7850
|
-
id: string;
|
|
7851
|
-
};
|
|
7852
|
-
body: {
|
|
7853
|
-
/** Shopping list name */
|
|
7854
|
-
name: string;
|
|
7855
|
-
};
|
|
7856
|
-
response: never;
|
|
7857
|
-
responseCode: 204;
|
|
7858
|
-
};
|
|
7859
|
-
"duplicateShoppingList post /account/shopping-list/{id}/duplicate": {
|
|
7860
|
-
contentType?: "application/json";
|
|
7861
|
-
accept?: "application/json";
|
|
7862
|
-
pathParams: {
|
|
7863
|
-
/** Identifier of the shopping list to be fetched */
|
|
7864
|
-
id: string;
|
|
7865
|
-
};
|
|
7866
|
-
body: {
|
|
7867
|
-
/** Shopping list name */
|
|
7868
|
-
name: string;
|
|
7869
|
-
};
|
|
7870
|
-
response: {
|
|
7871
|
-
/** The generated id of the duplicated shopping list */
|
|
7872
|
-
id?: string;
|
|
7873
|
-
};
|
|
7874
|
-
responseCode: 200;
|
|
7875
|
-
};
|
|
7876
|
-
"summaryShoppingList get /account/shopping-list/{id}/summary": {
|
|
7877
|
-
contentType?: "application/json";
|
|
7878
|
-
accept?: "application/json";
|
|
7879
|
-
pathParams: {
|
|
7880
|
-
/** Identifier of the shopping list to be fetched */
|
|
7881
|
-
id: string;
|
|
7882
|
-
};
|
|
7883
|
-
response: {
|
|
7884
|
-
price?: {
|
|
7885
|
-
/**
|
|
7886
|
-
* Format: float
|
|
7887
|
-
* Net price of the cart
|
|
7888
|
-
*/
|
|
7889
|
-
netPrice?: number;
|
|
7890
|
-
/**
|
|
7891
|
-
* Format: float
|
|
7892
|
-
* Price for all line items in the cart
|
|
7893
|
-
*/
|
|
7894
|
-
positionPrice?: number;
|
|
7895
|
-
/** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
|
|
7896
|
-
taxStatus?: string;
|
|
7897
|
-
/**
|
|
7898
|
-
* Format: float
|
|
7899
|
-
* Total price of the cart, including shipping costs, discounts and taxes
|
|
7900
|
-
*/
|
|
7901
|
-
totalPrice?: number;
|
|
7902
|
-
};
|
|
7903
|
-
};
|
|
7904
|
-
responseCode: 200;
|
|
7905
|
-
};
|
|
7906
|
-
"addLineItems post /account/shopping-list/line-item/{id}/add": {
|
|
7907
|
-
contentType?: "application/json";
|
|
7908
|
-
accept?: "application/json";
|
|
7909
|
-
pathParams: {
|
|
7910
|
-
/** Identifier of the shopping list to be fetched */
|
|
7911
|
-
id: string;
|
|
7912
|
-
};
|
|
7913
|
-
body: {
|
|
7914
|
-
lineItems: {
|
|
7915
|
-
[key: string]: {
|
|
7916
|
-
/** Product id */
|
|
7917
|
-
id: string;
|
|
7918
|
-
/** Quantity of the product */
|
|
7919
|
-
quantity: number;
|
|
7920
|
-
};
|
|
7921
|
-
};
|
|
7922
|
-
};
|
|
7923
|
-
response: never;
|
|
7924
|
-
responseCode: 204;
|
|
7925
|
-
};
|
|
7926
|
-
"updateLineItems patch /account/shopping-list/line-item/{id}/change-quantity": {
|
|
7927
|
-
contentType?: "application/json";
|
|
7928
|
-
accept?: "application/json";
|
|
7929
|
-
pathParams: {
|
|
7930
|
-
/** Identifier of the shopping list line item to be fetched */
|
|
7931
|
-
id: string;
|
|
7932
|
-
};
|
|
7933
|
-
body: {
|
|
7934
|
-
/** new line item quantity */
|
|
7935
|
-
quantity: number;
|
|
7936
|
-
};
|
|
7937
|
-
response: never;
|
|
7938
|
-
responseCode: 204;
|
|
7939
|
-
};
|
|
7940
|
-
"removeLineItems delete /account/shopping-list/line-item/remove": {
|
|
7941
|
-
contentType?: "application/json";
|
|
7942
|
-
accept?: "application/json";
|
|
7943
|
-
body: {
|
|
7944
|
-
/** Line items ids */
|
|
7945
|
-
ids: string[];
|
|
7946
|
-
};
|
|
7947
|
-
response: never;
|
|
7948
|
-
responseCode: 204;
|
|
7949
|
-
};
|
|
7950
|
-
"readShoppingLists post /account/shopping-lists": {
|
|
7951
|
-
contentType?: "application/json";
|
|
7952
|
-
accept?: "application/json";
|
|
7953
|
-
body?: components$1["schemas"]["Criteria"];
|
|
7954
|
-
response: {
|
|
7955
|
-
elements?: components$1["schemas"]["B2bComponentsShoppingList"][];
|
|
7956
|
-
} & components$1["schemas"]["EntitySearchResult"];
|
|
7957
|
-
responseCode: 200;
|
|
7958
|
-
};
|
|
7959
9653
|
"generateJWTAppSystemAppServer post /app-system/{name}/generate-token": {
|
|
7960
9654
|
contentType?: "application/json";
|
|
7961
9655
|
accept?: "application/json";
|
|
@@ -8186,11 +9880,16 @@ type operations$1 = {
|
|
|
8186
9880
|
"sw-language-id"?: string;
|
|
8187
9881
|
};
|
|
8188
9882
|
body: {
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
9883
|
+
items: [
|
|
9884
|
+
{
|
|
9885
|
+
id: string;
|
|
9886
|
+
quantity: number;
|
|
9887
|
+
},
|
|
9888
|
+
...{
|
|
9889
|
+
id: string;
|
|
9890
|
+
quantity: number;
|
|
9891
|
+
}[],
|
|
9892
|
+
];
|
|
8194
9893
|
};
|
|
8195
9894
|
response: components$1["schemas"]["Cart"];
|
|
8196
9895
|
responseCode: 200;
|
|
@@ -8300,7 +9999,7 @@ type operations$1 = {
|
|
|
8300
9999
|
/** Phone. This field may be required depending on the system settings. */
|
|
8301
10000
|
phone?: string;
|
|
8302
10001
|
/** Identifier of the salutation. Use `/api/salutation` endpoint to fetch possible values. */
|
|
8303
|
-
salutationId
|
|
10002
|
+
salutationId?: string;
|
|
8304
10003
|
/** Identifier of the cms element */
|
|
8305
10004
|
slotId?: string;
|
|
8306
10005
|
/** The subject of the contact form. */
|
|
@@ -8464,7 +10163,7 @@ type operations$1 = {
|
|
|
8464
10163
|
* The status you respond to
|
|
8465
10164
|
* @enum {string}
|
|
8466
10165
|
*/
|
|
8467
|
-
|
|
10166
|
+
answer?: "accepted" | "maybe" | "declined";
|
|
8468
10167
|
/** The token will be attached to the invitation response link in the invitation mail */
|
|
8469
10168
|
token: string;
|
|
8470
10169
|
};
|
|
@@ -8689,7 +10388,16 @@ type operations$1 = {
|
|
|
8689
10388
|
response: components$1["schemas"]["CmsPage"];
|
|
8690
10389
|
responseCode: 200;
|
|
8691
10390
|
};
|
|
8692
|
-
"readEmployees
|
|
10391
|
+
"readEmployees get /employee": {
|
|
10392
|
+
contentType?: "application/json";
|
|
10393
|
+
accept?: "application/json";
|
|
10394
|
+
body?: components$1["schemas"]["Criteria"];
|
|
10395
|
+
response: {
|
|
10396
|
+
elements?: components$1["schemas"]["B2bEmployee"][];
|
|
10397
|
+
} & components$1["schemas"]["EntitySearchResult"];
|
|
10398
|
+
responseCode: 200;
|
|
10399
|
+
};
|
|
10400
|
+
"readEmployeesPOST post /employee": {
|
|
8693
10401
|
contentType?: "application/json";
|
|
8694
10402
|
accept?: "application/json";
|
|
8695
10403
|
body?: components$1["schemas"]["Criteria"];
|
|
@@ -8698,7 +10406,7 @@ type operations$1 = {
|
|
|
8698
10406
|
} & components$1["schemas"]["EntitySearchResult"];
|
|
8699
10407
|
responseCode: 200;
|
|
8700
10408
|
};
|
|
8701
|
-
"readEmployee
|
|
10409
|
+
"readEmployee get /employee/{id}": {
|
|
8702
10410
|
contentType?: "application/json";
|
|
8703
10411
|
accept?: "application/json";
|
|
8704
10412
|
pathParams: {
|
|
@@ -8746,6 +10454,8 @@ type operations$1 = {
|
|
|
8746
10454
|
email: string;
|
|
8747
10455
|
/** First name of the new employee */
|
|
8748
10456
|
firstName: string;
|
|
10457
|
+
/** Identifier of the [language](#/System%20%26%20Context/readLanguages) to be set for the new employee. */
|
|
10458
|
+
languageId: string;
|
|
8749
10459
|
/** Last name of the new employee */
|
|
8750
10460
|
lastName: string;
|
|
8751
10461
|
/** Id of the role of the new employee */
|
|
@@ -8985,6 +10695,79 @@ type operations$1 = {
|
|
|
8985
10695
|
};
|
|
8986
10696
|
responseCode: 200;
|
|
8987
10697
|
};
|
|
10698
|
+
"createPayPalOrder post /paypal/create-order": {
|
|
10699
|
+
contentType?: "application/json";
|
|
10700
|
+
accept?: "application/json";
|
|
10701
|
+
body: {
|
|
10702
|
+
/** Use an existing order id to create PayPal order */
|
|
10703
|
+
orderId?: string;
|
|
10704
|
+
/**
|
|
10705
|
+
* Use an existing order id to create PayPal order
|
|
10706
|
+
* @default ppcp
|
|
10707
|
+
*/
|
|
10708
|
+
product?: string;
|
|
10709
|
+
};
|
|
10710
|
+
response: {
|
|
10711
|
+
token?: string;
|
|
10712
|
+
};
|
|
10713
|
+
responseCode: 200;
|
|
10714
|
+
};
|
|
10715
|
+
"createPayPalExpressOrder post /paypal/express/create-order": {
|
|
10716
|
+
contentType?: "application/json";
|
|
10717
|
+
accept?: "application/json";
|
|
10718
|
+
response: never;
|
|
10719
|
+
responseCode: 200;
|
|
10720
|
+
};
|
|
10721
|
+
"preparePayPalExpressCheckout post /paypal/express/prepare-checkout": {
|
|
10722
|
+
contentType?: "application/json";
|
|
10723
|
+
accept?: "application/json";
|
|
10724
|
+
body: {
|
|
10725
|
+
/** ID of the paypal order */
|
|
10726
|
+
token?: string;
|
|
10727
|
+
};
|
|
10728
|
+
response: {
|
|
10729
|
+
redirectUrl?: string;
|
|
10730
|
+
};
|
|
10731
|
+
responseCode: 200;
|
|
10732
|
+
};
|
|
10733
|
+
"setPaymentMethodEligibility post /paypal/payment-method-eligibility": {
|
|
10734
|
+
contentType?: "application/json";
|
|
10735
|
+
accept?: "application/json";
|
|
10736
|
+
body: {
|
|
10737
|
+
/** List of PayPal payment method identifiers according to constant REMOVABLE_PAYMENT_HANDLERS */
|
|
10738
|
+
paymentMethods?: string[];
|
|
10739
|
+
};
|
|
10740
|
+
response: never;
|
|
10741
|
+
responseCode: 204;
|
|
10742
|
+
};
|
|
10743
|
+
"getPUIPaymentInstructions get /paypal/pui/payment-instructions/{transactionId}": {
|
|
10744
|
+
contentType?: "application/json";
|
|
10745
|
+
accept?: "application/json";
|
|
10746
|
+
pathParams: {
|
|
10747
|
+
/** Identifier of the order transaction to be fetched */
|
|
10748
|
+
transactionId: string;
|
|
10749
|
+
};
|
|
10750
|
+
response: never;
|
|
10751
|
+
responseCode: 200;
|
|
10752
|
+
};
|
|
10753
|
+
"getPayPalCustomerVaultToken get /paypal/vault-token": {
|
|
10754
|
+
contentType?: "application/json";
|
|
10755
|
+
accept?: "application/json";
|
|
10756
|
+
response: {
|
|
10757
|
+
token?: string;
|
|
10758
|
+
};
|
|
10759
|
+
responseCode: 200;
|
|
10760
|
+
};
|
|
10761
|
+
"paypalVaultClear post /paypal/vault/clear": {
|
|
10762
|
+
contentType?: "application/json";
|
|
10763
|
+
accept?: "application/json";
|
|
10764
|
+
body: {
|
|
10765
|
+
/** @enum {string} */
|
|
10766
|
+
type?: "cancel" | "browser" | "error";
|
|
10767
|
+
};
|
|
10768
|
+
response: never;
|
|
10769
|
+
responseCode: 204;
|
|
10770
|
+
};
|
|
8988
10771
|
"fetchPendingOrder post /pending-order/{id}": {
|
|
8989
10772
|
contentType?: "application/json";
|
|
8990
10773
|
accept?: "application/json";
|
|
@@ -9047,6 +10830,38 @@ type operations$1 = {
|
|
|
9047
10830
|
response: components$1["schemas"]["PendingOrder"];
|
|
9048
10831
|
responseCode: 200;
|
|
9049
10832
|
};
|
|
10833
|
+
"readPermissions get /permission": {
|
|
10834
|
+
contentType?: "application/json";
|
|
10835
|
+
accept?: "application/json";
|
|
10836
|
+
response: {
|
|
10837
|
+
elements?: {
|
|
10838
|
+
permissionDependencies?: string[];
|
|
10839
|
+
permissionGroupName?: string;
|
|
10840
|
+
permissionName?: string;
|
|
10841
|
+
}[];
|
|
10842
|
+
} & components$1["schemas"]["EntitySearchResult"];
|
|
10843
|
+
responseCode: 200;
|
|
10844
|
+
};
|
|
10845
|
+
"addPermission post /permission": {
|
|
10846
|
+
contentType?: "application/json";
|
|
10847
|
+
accept?: "application/json";
|
|
10848
|
+
body: {
|
|
10849
|
+
/** Optional dependencies for the new permission */
|
|
10850
|
+
dependencies?: string[];
|
|
10851
|
+
/** Group of the new permission */
|
|
10852
|
+
group?: string;
|
|
10853
|
+
/** Name of the new permission */
|
|
10854
|
+
name?: string;
|
|
10855
|
+
};
|
|
10856
|
+
response: {
|
|
10857
|
+
elements?: {
|
|
10858
|
+
permissionDependencies?: string[];
|
|
10859
|
+
permissionGroupName?: string;
|
|
10860
|
+
permissionName?: string;
|
|
10861
|
+
}[];
|
|
10862
|
+
} & components$1["schemas"]["EntitySearchResult"];
|
|
10863
|
+
responseCode: 200;
|
|
10864
|
+
};
|
|
9050
10865
|
"readProduct post /product": {
|
|
9051
10866
|
contentType?: "application/json";
|
|
9052
10867
|
accept?: "application/json";
|
|
@@ -9056,7 +10871,7 @@ type operations$1 = {
|
|
|
9056
10871
|
};
|
|
9057
10872
|
body?: components$1["schemas"]["Criteria"];
|
|
9058
10873
|
response: {
|
|
9059
|
-
elements: components$1["schemas"]["Product"][];
|
|
10874
|
+
elements: components$1["schemas"]["Product"][];
|
|
9060
10875
|
} & components$1["schemas"]["EntitySearchResult"];
|
|
9061
10876
|
responseCode: 200;
|
|
9062
10877
|
};
|
|
@@ -9259,6 +11074,20 @@ type operations$1 = {
|
|
|
9259
11074
|
response: never;
|
|
9260
11075
|
responseCode: 204;
|
|
9261
11076
|
};
|
|
11077
|
+
"sendMessageInQuote post /quote/{id}/send-message": {
|
|
11078
|
+
contentType?: "application/json";
|
|
11079
|
+
accept?: "application/json";
|
|
11080
|
+
pathParams: {
|
|
11081
|
+
/** Identifier of the quote to be reinvited */
|
|
11082
|
+
id: string;
|
|
11083
|
+
};
|
|
11084
|
+
body?: {
|
|
11085
|
+
/** Message content */
|
|
11086
|
+
comment?: string;
|
|
11087
|
+
};
|
|
11088
|
+
response: never;
|
|
11089
|
+
responseCode: 204;
|
|
11090
|
+
};
|
|
9262
11091
|
"readQuote post /quote/detail/{id}": {
|
|
9263
11092
|
contentType?: "application/json";
|
|
9264
11093
|
accept?: "application/json";
|
|
@@ -9394,18 +11223,6 @@ type operations$1 = {
|
|
|
9394
11223
|
response: never;
|
|
9395
11224
|
responseCode: 204;
|
|
9396
11225
|
};
|
|
9397
|
-
"readPermissions get /role/permissions": {
|
|
9398
|
-
contentType?: "application/json";
|
|
9399
|
-
accept?: "application/json";
|
|
9400
|
-
response: {
|
|
9401
|
-
elements?: {
|
|
9402
|
-
permissionDependencies?: string[];
|
|
9403
|
-
permissionGroupName?: string;
|
|
9404
|
-
permissionName?: string;
|
|
9405
|
-
}[];
|
|
9406
|
-
} & components$1["schemas"]["EntitySearchResult"];
|
|
9407
|
-
responseCode: 200;
|
|
9408
|
-
};
|
|
9409
11226
|
"readSalutation post /salutation": {
|
|
9410
11227
|
contentType?: "application/json";
|
|
9411
11228
|
accept?: "application/json";
|
|
@@ -9547,13 +11364,170 @@ type operations$1 = {
|
|
|
9547
11364
|
body?: components$1["schemas"]["Criteria"];
|
|
9548
11365
|
response: {
|
|
9549
11366
|
/** aggregation result */
|
|
9550
|
-
aggregations?:
|
|
9551
|
-
elements: components$1["schemas"]["ShippingMethod"][];
|
|
11367
|
+
aggregations?: GenericRecord$1;
|
|
11368
|
+
elements: components$1["schemas"]["ShippingMethod"][];
|
|
9552
11369
|
/** Total amount */
|
|
9553
11370
|
total?: number;
|
|
11371
|
+
} & components$1["schemas"]["EntitySearchResult"];
|
|
11372
|
+
responseCode: 200;
|
|
11373
|
+
};
|
|
11374
|
+
"createShoppingList post /shopping-list": {
|
|
11375
|
+
contentType?: "application/json";
|
|
11376
|
+
accept?: "application/json";
|
|
11377
|
+
body: {
|
|
11378
|
+
lineItems?: {
|
|
11379
|
+
[key: string]: {
|
|
11380
|
+
/** Product id */
|
|
11381
|
+
id: string;
|
|
11382
|
+
/** Quantity of the product */
|
|
11383
|
+
quantity: number;
|
|
11384
|
+
};
|
|
11385
|
+
};
|
|
11386
|
+
/** Shopping list name */
|
|
11387
|
+
name: string;
|
|
11388
|
+
};
|
|
11389
|
+
response: never;
|
|
11390
|
+
responseCode: 204;
|
|
11391
|
+
};
|
|
11392
|
+
"removeShoppingLists delete /shopping-list": {
|
|
11393
|
+
contentType?: "application/json";
|
|
11394
|
+
accept?: "application/json";
|
|
11395
|
+
body: {
|
|
11396
|
+
/** Shopping list ids */
|
|
11397
|
+
ids: string[];
|
|
11398
|
+
};
|
|
11399
|
+
response: never;
|
|
11400
|
+
responseCode: 204;
|
|
11401
|
+
};
|
|
11402
|
+
"readShoppingList post /shopping-list/{id}": {
|
|
11403
|
+
contentType?: "application/json";
|
|
11404
|
+
accept?: "application/json";
|
|
11405
|
+
pathParams: {
|
|
11406
|
+
/** Identifier of the shopping list to be fetched */
|
|
11407
|
+
id: string;
|
|
11408
|
+
};
|
|
11409
|
+
body?: components$1["schemas"]["Criteria"];
|
|
11410
|
+
response: components$1["schemas"]["B2bComponentsShoppingList"];
|
|
11411
|
+
responseCode: 200;
|
|
11412
|
+
};
|
|
11413
|
+
"addLineItems post /shopping-list/{id}/add": {
|
|
11414
|
+
contentType?: "application/json";
|
|
11415
|
+
accept?: "application/json";
|
|
11416
|
+
pathParams: {
|
|
11417
|
+
/** Identifier of the shopping list to be fetched */
|
|
11418
|
+
id: string;
|
|
11419
|
+
};
|
|
11420
|
+
body?: {
|
|
11421
|
+
lineItems: {
|
|
11422
|
+
[key: string]: {
|
|
11423
|
+
/** Product id */
|
|
11424
|
+
id: string;
|
|
11425
|
+
/** Quantity of the product */
|
|
11426
|
+
quantity: number;
|
|
11427
|
+
};
|
|
11428
|
+
};
|
|
11429
|
+
};
|
|
11430
|
+
response: never;
|
|
11431
|
+
responseCode: 204;
|
|
11432
|
+
};
|
|
11433
|
+
"updateShoppingList patch /shopping-list/{id}/change-name": {
|
|
11434
|
+
contentType?: "application/json";
|
|
11435
|
+
accept?: "application/json";
|
|
11436
|
+
pathParams: {
|
|
11437
|
+
/** Identifier of the shopping list to be fetched */
|
|
11438
|
+
id: string;
|
|
11439
|
+
};
|
|
11440
|
+
body: {
|
|
11441
|
+
/** Shopping list name */
|
|
11442
|
+
name: string;
|
|
11443
|
+
};
|
|
11444
|
+
response: never;
|
|
11445
|
+
responseCode: 204;
|
|
11446
|
+
};
|
|
11447
|
+
"duplicateShoppingList post /shopping-list/{id}/duplicate": {
|
|
11448
|
+
contentType?: "application/json";
|
|
11449
|
+
accept?: "application/json";
|
|
11450
|
+
pathParams: {
|
|
11451
|
+
/** Identifier of the shopping list to be fetched */
|
|
11452
|
+
id: string;
|
|
11453
|
+
};
|
|
11454
|
+
body: {
|
|
11455
|
+
/** Shopping list name */
|
|
11456
|
+
name: string;
|
|
11457
|
+
};
|
|
11458
|
+
response: {
|
|
11459
|
+
/** The generated id of the duplicated shopping list */
|
|
11460
|
+
id?: string;
|
|
9554
11461
|
};
|
|
9555
11462
|
responseCode: 200;
|
|
9556
11463
|
};
|
|
11464
|
+
"summaryShoppingList get /shopping-list/{id}/summary": {
|
|
11465
|
+
contentType?: "application/json";
|
|
11466
|
+
accept?: "application/json";
|
|
11467
|
+
pathParams: {
|
|
11468
|
+
/** Identifier of the shopping list to be fetched */
|
|
11469
|
+
id: string;
|
|
11470
|
+
};
|
|
11471
|
+
response: {
|
|
11472
|
+
price?: {
|
|
11473
|
+
/**
|
|
11474
|
+
* Format: float
|
|
11475
|
+
* Net price of the cart
|
|
11476
|
+
*/
|
|
11477
|
+
netPrice?: number;
|
|
11478
|
+
/**
|
|
11479
|
+
* Format: float
|
|
11480
|
+
* Price for all line items in the cart
|
|
11481
|
+
*/
|
|
11482
|
+
positionPrice?: number;
|
|
11483
|
+
/** Tax calculation for the cart. One of `gross`, `net` or `tax-free` */
|
|
11484
|
+
taxStatus?: string;
|
|
11485
|
+
/**
|
|
11486
|
+
* Format: float
|
|
11487
|
+
* Total price of the cart, including shipping costs, discounts and taxes
|
|
11488
|
+
*/
|
|
11489
|
+
totalPrice?: number;
|
|
11490
|
+
};
|
|
11491
|
+
};
|
|
11492
|
+
responseCode: 200;
|
|
11493
|
+
};
|
|
11494
|
+
"updateLineItems post /shopping-list/line-item/{id}/change-quantity": {
|
|
11495
|
+
contentType?: "application/json";
|
|
11496
|
+
accept?: "application/json";
|
|
11497
|
+
pathParams: {
|
|
11498
|
+
/** Identifier of the shopping list line item to be fetched */
|
|
11499
|
+
id: string;
|
|
11500
|
+
};
|
|
11501
|
+
body: {
|
|
11502
|
+
/** new line item quantity */
|
|
11503
|
+
quantity: number;
|
|
11504
|
+
};
|
|
11505
|
+
response: never;
|
|
11506
|
+
responseCode: 204;
|
|
11507
|
+
};
|
|
11508
|
+
"removeLineItems post /shopping-list/line-item/remove": {
|
|
11509
|
+
contentType?: "application/json";
|
|
11510
|
+
accept?: "application/json";
|
|
11511
|
+
body: {
|
|
11512
|
+
/** Line items ids */
|
|
11513
|
+
ids?: string[];
|
|
11514
|
+
/** List id */
|
|
11515
|
+
listId?: string;
|
|
11516
|
+
/** Product ids */
|
|
11517
|
+
productIds?: string[];
|
|
11518
|
+
};
|
|
11519
|
+
response: never;
|
|
11520
|
+
responseCode: 204;
|
|
11521
|
+
};
|
|
11522
|
+
"readShoppingLists post /shopping-lists": {
|
|
11523
|
+
contentType?: "application/json";
|
|
11524
|
+
accept?: "application/json";
|
|
11525
|
+
body?: components$1["schemas"]["Criteria"];
|
|
11526
|
+
response: {
|
|
11527
|
+
elements?: components$1["schemas"]["B2bComponentsShoppingList"][];
|
|
11528
|
+
} & components$1["schemas"]["EntitySearchResult"];
|
|
11529
|
+
responseCode: 200;
|
|
11530
|
+
};
|
|
9557
11531
|
"addShoppingListsToCart post /shopping-lists/add-to-cart": {
|
|
9558
11532
|
contentType?: "application/json";
|
|
9559
11533
|
accept?: "application/json";
|
|
@@ -9647,6 +11621,7 @@ type ApiClientHooks = {
|
|
|
9647
11621
|
onResponseError: (response: FetchResponse<ResponseType>) => void;
|
|
9648
11622
|
onSuccessResponse: <T>(response: FetchResponse<T>) => void;
|
|
9649
11623
|
onDefaultHeaderChanged: <T>(headerName: string, value?: T) => void;
|
|
11624
|
+
onRequest: (context: FetchContext) => void;
|
|
9650
11625
|
};
|
|
9651
11626
|
declare function createAPIClient<OPERATIONS extends Record<string, any> = operations$1, PATHS extends string | number | symbol = keyof OPERATIONS>(params: {
|
|
9652
11627
|
baseURL?: string;
|
|
@@ -9671,6 +11646,20 @@ declare function createAPIClient<OPERATIONS extends Record<string, any> = operat
|
|
|
9671
11646
|
hook: <NameT extends hookable.HookKeys<ApiClientHooks>>(name: NameT, function_: ApiClientHooks[NameT] extends hookable.HookCallback ? ApiClientHooks[NameT] : never, options?: {
|
|
9672
11647
|
allowDeprecated?: boolean;
|
|
9673
11648
|
}) => () => void;
|
|
11649
|
+
/**
|
|
11650
|
+
* Update the base configuration for API client
|
|
11651
|
+
*/
|
|
11652
|
+
updateBaseConfig: (config: {
|
|
11653
|
+
baseURL?: string;
|
|
11654
|
+
accessToken?: string;
|
|
11655
|
+
}) => void;
|
|
11656
|
+
/**
|
|
11657
|
+
* Get the current base configuration
|
|
11658
|
+
*/
|
|
11659
|
+
getBaseConfig: () => {
|
|
11660
|
+
baseURL: string | undefined;
|
|
11661
|
+
accessToken: string | undefined;
|
|
11662
|
+
};
|
|
9674
11663
|
};
|
|
9675
11664
|
|
|
9676
11665
|
/**
|