@gofynd/fdk-client-javascript 2.0.2 → 3.0.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 +1 -1
- package/package.json +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +4 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
- package/sdk/partner/Theme/ThemePartnerClient.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +227 -35
- package/sdk/platform/Catalog/CatalogPlatformModel.js +110 -23
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +6 -8
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +5 -7
- package/sdk/platform/Common/CommonPlatformModel.d.ts +10 -16
- package/sdk/platform/Common/CommonPlatformModel.js +5 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +62 -99
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +30 -50
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +9 -6
- package/sdk/platform/Content/ContentPlatformClient.d.ts +5 -5
- package/sdk/platform/Content/ContentPlatformClient.js +14 -9
- package/sdk/platform/Content/ContentPlatformModel.d.ts +22 -17
- package/sdk/platform/Content/ContentPlatformModel.js +19 -17
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +2 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +2 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1 -1
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +1 -1
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +4 -1
- package/sdk/public/Catalog/CatalogPublicModel.js +1 -1
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +6 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +3 -6
- package/sdk/public/Content/ContentPublicModel.d.ts +4 -8
- package/sdk/public/Content/ContentPublicModel.js +2 -4
|
@@ -40,8 +40,7 @@ export = ConfigurationPlatformModel;
|
|
|
40
40
|
* or not for sales channel inventory
|
|
41
41
|
* @property {CommunicationConfig} [communication]
|
|
42
42
|
* @property {string[]} [platforms]
|
|
43
|
-
* @property {string} [_id] - The unique identifier
|
|
44
|
-
* of the sales channel inventory
|
|
43
|
+
* @property {string} [_id] - The unique identifier of the sales channel inventory
|
|
45
44
|
* @property {LoyaltyPointsConfig} [loyalty_points]
|
|
46
45
|
* @property {string} [app] - Current sales channel ID
|
|
47
46
|
* @property {string} [created_at] - ISO 8601 timestamp of sales channel
|
|
@@ -366,8 +365,7 @@ export = ConfigurationPlatformModel;
|
|
|
366
365
|
/**
|
|
367
366
|
* @typedef MobileAppConfiguration
|
|
368
367
|
* @property {boolean} [is_active] - Indicates the availability of the mobile build
|
|
369
|
-
* @property {string} [_id] - The unique identifier
|
|
370
|
-
* for mobile application configuration
|
|
368
|
+
* @property {string} [_id] - The unique identifier for mobile application configuration
|
|
371
369
|
* @property {string} [app_name] - Name of the mobile app
|
|
372
370
|
* @property {LandingImage} [landing_image]
|
|
373
371
|
* @property {SplashImage} [splash_image]
|
|
@@ -407,7 +405,7 @@ export = ConfigurationPlatformModel;
|
|
|
407
405
|
*/
|
|
408
406
|
/**
|
|
409
407
|
* @typedef BuildVersion
|
|
410
|
-
* @property {string} [_id] -
|
|
408
|
+
* @property {string} [_id] - Primary Identifier of the build version.
|
|
411
409
|
* @property {string} [application] - Application ID of the sales channel
|
|
412
410
|
* @property {string} [platform_type] - Device platform for which the mobile app
|
|
413
411
|
* was built, e.g. android, ios.
|
|
@@ -425,8 +423,8 @@ export = ConfigurationPlatformModel;
|
|
|
425
423
|
*/
|
|
426
424
|
/**
|
|
427
425
|
* @typedef AppSupportedCurrency
|
|
428
|
-
* @property {string} [_id] - The unique identifier
|
|
429
|
-
*
|
|
426
|
+
* @property {string} [_id] - The unique identifier of the currency
|
|
427
|
+
* configuration supported by the application
|
|
430
428
|
* @property {string[]} [supported_currency]
|
|
431
429
|
* @property {string} [application] - Alphanumeric ID allotted to an application
|
|
432
430
|
* (sales channel website) created within a business account.
|
|
@@ -438,16 +436,14 @@ export = ConfigurationPlatformModel;
|
|
|
438
436
|
*/
|
|
439
437
|
/**
|
|
440
438
|
* @typedef DefaultCurrency
|
|
441
|
-
* @property {string} [ref] - The unique identifier
|
|
442
|
-
* of the default currency
|
|
439
|
+
* @property {string} [ref] - The unique identifier of the default currency
|
|
443
440
|
* @property {string} [code] - 3-character code of the default currency, e.g.
|
|
444
441
|
* INR, EUR, USD
|
|
445
442
|
*/
|
|
446
443
|
/**
|
|
447
444
|
* @typedef DomainAdd
|
|
448
445
|
* @property {string} [name] - Full domain name, e.g. uniket.hostx0.de
|
|
449
|
-
* @property {string} [_id] - The unique identifier
|
|
450
|
-
* of the domain
|
|
446
|
+
* @property {string} [_id] - The unique identifier of the domain
|
|
451
447
|
* @property {boolean} [verified] - Domain is verified or not (indicates if A
|
|
452
448
|
* records and TXT records are correct)
|
|
453
449
|
* @property {boolean} [is_primary] - Domain is primary or not (indicates if the
|
|
@@ -465,8 +461,7 @@ export = ConfigurationPlatformModel;
|
|
|
465
461
|
/**
|
|
466
462
|
* @typedef Domain
|
|
467
463
|
* @property {string} [name] - Full domain name, e.g. newton.com
|
|
468
|
-
* @property {string} [_id] - The unique identifier
|
|
469
|
-
* of the sales channel domain
|
|
464
|
+
* @property {string} [_id] - The unique identifier of the sales channel domain
|
|
470
465
|
* @property {boolean} [verified] - Domain is verified or not. TXT and A records
|
|
471
466
|
* should propagate correctly.
|
|
472
467
|
* @property {boolean} [is_primary] - Domain is primary or not. Primary domain
|
|
@@ -482,8 +477,7 @@ export = ConfigurationPlatformModel;
|
|
|
482
477
|
/**
|
|
483
478
|
* @typedef UpdateDomain
|
|
484
479
|
* @property {string} [name] - Full domain name, e.g. zenz.com
|
|
485
|
-
* @property {string} [_id] - The unique identifier
|
|
486
|
-
* of the domain
|
|
480
|
+
* @property {string} [_id] - The unique identifier of the domain
|
|
487
481
|
* @property {boolean} [verified] - Domain is verified or not (indicates if A
|
|
488
482
|
* records and TXT records are correct)
|
|
489
483
|
* @property {boolean} [is_primary] - Domain is primary or not (indicates if the
|
|
@@ -571,8 +565,8 @@ export = ConfigurationPlatformModel;
|
|
|
571
565
|
*/
|
|
572
566
|
/**
|
|
573
567
|
* @typedef AppInventoryStores
|
|
574
|
-
* @property {string} [_id] - The unique identifier of the store
|
|
575
|
-
*
|
|
568
|
+
* @property {string} [_id] - The unique identifier of the store in the sales
|
|
569
|
+
* channel inventory
|
|
576
570
|
* @property {string} [modified_on] - ISO 8601 timestamp of last known updation
|
|
577
571
|
* to the stores in sales channel inventory
|
|
578
572
|
* @property {number} [uid] - Sales channel inventory store UID
|
|
@@ -603,8 +597,7 @@ export = ConfigurationPlatformModel;
|
|
|
603
597
|
* @property {string} [type] - Permitted values are 'hard' and 'soft'. For hard
|
|
604
598
|
* type delivery, store selection is compulsory. For soft type, delivery store
|
|
605
599
|
* selection is optional.
|
|
606
|
-
* @property {string} [_id] - The unique identifier
|
|
607
|
-
* of the ordering stores
|
|
600
|
+
* @property {string} [_id] - The unique identifier of the ordering stores
|
|
608
601
|
* @property {string} [app] - Alphanumeric ID allotted to an application (sales
|
|
609
602
|
* channel website) created within a business account
|
|
610
603
|
* @property {number} [__v]
|
|
@@ -630,8 +623,7 @@ export = ConfigurationPlatformModel;
|
|
|
630
623
|
* @typedef OtherSellerApplication
|
|
631
624
|
* @property {string} [name] - Name of the other seller's sales channel
|
|
632
625
|
* @property {string} [description] - Basic details about the other seller's sales channel
|
|
633
|
-
* @property {string} [_id] - The unique identifier
|
|
634
|
-
* of the other seller's sales channel
|
|
626
|
+
* @property {string} [_id] - The unique identifier of the other seller's sales channel
|
|
635
627
|
* @property {string} [domain] - Domain URL of the other seller's sales channel
|
|
636
628
|
* @property {OtherSellerCompany} [company]
|
|
637
629
|
* @property {string} [opt_type] - Inventory opted by the other seller's sales
|
|
@@ -646,8 +638,7 @@ export = ConfigurationPlatformModel;
|
|
|
646
638
|
* @typedef OptedApplicationResponseSchema
|
|
647
639
|
* @property {string} [name] - Name of the other seller's sales channel
|
|
648
640
|
* @property {string} [description] - Basic details about the other seller's sales channel
|
|
649
|
-
* @property {string} [_id] - The unique identifier
|
|
650
|
-
* of the other seller's sales channel
|
|
641
|
+
* @property {string} [_id] - The unique identifier of the other seller's sales channel
|
|
651
642
|
* @property {string} [domain] - Domain URL of the other seller's sales channel
|
|
652
643
|
* @property {OptedCompany} [company]
|
|
653
644
|
* @property {OptedInventory} [opted_inventory]
|
|
@@ -696,8 +687,7 @@ export = ConfigurationPlatformModel;
|
|
|
696
687
|
/**
|
|
697
688
|
* @typedef TokenResponseSchema
|
|
698
689
|
* @property {Tokens} [tokens]
|
|
699
|
-
* @property {string} [_id] - The unique identifier
|
|
700
|
-
* of the token
|
|
690
|
+
* @property {string} [_id] - The unique identifier of the token
|
|
701
691
|
* @property {string} [application] - Alphanumeric ID allotted to the current
|
|
702
692
|
* application created within the current business account
|
|
703
693
|
* @property {string} [created_at] - ISO 8601 timestamp of token creation
|
|
@@ -905,8 +895,7 @@ export = ConfigurationPlatformModel;
|
|
|
905
895
|
* @property {OrderFeature} [order]
|
|
906
896
|
* @property {BuyboxFeature} [buybox]
|
|
907
897
|
* @property {DeliveryStrategy} [delivery_strategy]
|
|
908
|
-
* @property {string} [_id] - The unique identifier
|
|
909
|
-
* for the sales channel features
|
|
898
|
+
* @property {string} [_id] - The unique identifier for the sales channel features
|
|
910
899
|
* @property {string} [app] - Application ID of the sales channel
|
|
911
900
|
* @property {string} [created_at] - ISO 8601 timestamp showing the date when
|
|
912
901
|
* the features were configured
|
|
@@ -1018,8 +1007,8 @@ export = ConfigurationPlatformModel;
|
|
|
1018
1007
|
*/
|
|
1019
1008
|
/**
|
|
1020
1009
|
* @typedef Currency
|
|
1021
|
-
* @property {string} [_id] - The unique identifier
|
|
1022
|
-
*
|
|
1010
|
+
* @property {string} [_id] - The unique identifier of the current sales channel
|
|
1011
|
+
* supported currency
|
|
1023
1012
|
* @property {boolean} [is_active] - Shows currency is enabled or not in current
|
|
1024
1013
|
* sales channel
|
|
1025
1014
|
* @property {string} [name] - Name of the currency, e.g Indian Rupee
|
|
@@ -1081,11 +1070,9 @@ export = ConfigurationPlatformModel;
|
|
|
1081
1070
|
* @property {boolean} [is_internal] - Indicates whether a sales channel is
|
|
1082
1071
|
* internal or not
|
|
1083
1072
|
* @property {boolean} [is_active] - Indicates sales channel is active or not active
|
|
1084
|
-
* @property {string} [_id] - The unique identifier
|
|
1085
|
-
* of the sales channel
|
|
1073
|
+
* @property {string} [_id] - The unique identifier of the sales channel
|
|
1086
1074
|
* @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
|
|
1087
|
-
* @property {string} [owner] - The unique identifier
|
|
1088
|
-
* of owner who owns the application
|
|
1075
|
+
* @property {string} [owner] - The unique identifier of owner who owns the application
|
|
1089
1076
|
* @property {number} [company_id] - Numeric ID allotted to a business account
|
|
1090
1077
|
* where the sales channel exists
|
|
1091
1078
|
* @property {string} [token] - Random generated fix length string for sales
|
|
@@ -1122,11 +1109,9 @@ export = ConfigurationPlatformModel;
|
|
|
1122
1109
|
* @property {boolean} [is_internal] - Indicates whether a sales channel is
|
|
1123
1110
|
* internal or not
|
|
1124
1111
|
* @property {boolean} [is_active] - Indicates sales channel is active or not active
|
|
1125
|
-
* @property {string} [_id] - The unique identifier
|
|
1126
|
-
* of the sales channel
|
|
1112
|
+
* @property {string} [_id] - The unique identifier of the sales channel
|
|
1127
1113
|
* @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
|
|
1128
|
-
* @property {string} [owner] - The unique identifier
|
|
1129
|
-
* of owner who owns the application
|
|
1114
|
+
* @property {string} [owner] - The unique identifier of owner who owns the application
|
|
1130
1115
|
* @property {number} [company_id] - Numeric ID allotted to a business account
|
|
1131
1116
|
* where the sales channel exists
|
|
1132
1117
|
* @property {string} [token] - Random generated fix length string for sales
|
|
@@ -1185,8 +1170,7 @@ export = ConfigurationPlatformModel;
|
|
|
1185
1170
|
* @property {Links[]} [links]
|
|
1186
1171
|
* @property {string} [copyright_text] - Copyright statement usually seen at the
|
|
1187
1172
|
* site's footer
|
|
1188
|
-
* @property {string} [_id] - Unique identifier
|
|
1189
|
-
* the application information
|
|
1173
|
+
* @property {string} [_id] - Unique identifier of the application information
|
|
1190
1174
|
* @property {BusinessHighlights[]} [business_highlights]
|
|
1191
1175
|
* @property {string} [application] - Alphanumeric ID allotted to a sales
|
|
1192
1176
|
* channel application created within a business account
|
|
@@ -1305,8 +1289,7 @@ export = ConfigurationPlatformModel;
|
|
|
1305
1289
|
*/
|
|
1306
1290
|
/**
|
|
1307
1291
|
* @typedef BusinessHighlights
|
|
1308
|
-
* @property {string} [_id] - Unique identifier
|
|
1309
|
-
* the related business
|
|
1292
|
+
* @property {string} [_id] - Unique identifier of the related business
|
|
1310
1293
|
* @property {string} [title] - Title of the business highlight, e.g. Superfast Delivery
|
|
1311
1294
|
* @property {string} [icon] - Hosted URL of icon image representing the
|
|
1312
1295
|
* business highlight
|
|
@@ -1323,8 +1306,7 @@ export = ConfigurationPlatformModel;
|
|
|
1323
1306
|
* @property {SecureUrl} [banner]
|
|
1324
1307
|
* @property {Domain} [domain]
|
|
1325
1308
|
* @property {Domain[]} [domains]
|
|
1326
|
-
* @property {string} [_id] - The unique identifier
|
|
1327
|
-
* for the sales channel details
|
|
1309
|
+
* @property {string} [_id] - The unique identifier for the sales channel details
|
|
1328
1310
|
* @property {string} [slug]
|
|
1329
1311
|
* @property {number} [company_id]
|
|
1330
1312
|
*/
|
|
@@ -1334,8 +1316,8 @@ export = ConfigurationPlatformModel;
|
|
|
1334
1316
|
*/
|
|
1335
1317
|
/**
|
|
1336
1318
|
* @typedef AppCurrencyResponseSchema
|
|
1337
|
-
* @property {string} [_id] - The unique identifier
|
|
1338
|
-
*
|
|
1319
|
+
* @property {string} [_id] - The unique identifier of the currency
|
|
1320
|
+
* configuration supported by the application
|
|
1339
1321
|
* @property {string} [application] - Alphanumeric ID allotted to an application
|
|
1340
1322
|
* (sales channel website) created within a business account
|
|
1341
1323
|
* @property {DefaultCurrency} [default_currency]
|
|
@@ -1366,8 +1348,7 @@ export = ConfigurationPlatformModel;
|
|
|
1366
1348
|
/**
|
|
1367
1349
|
* @typedef OrderingStore
|
|
1368
1350
|
* @property {OptedStoreAddress} [address]
|
|
1369
|
-
* @property {string} [_id] - The unique identifier
|
|
1370
|
-
* of the ordering store
|
|
1351
|
+
* @property {string} [_id] - The unique identifier of the ordering store
|
|
1371
1352
|
* @property {number} [uid] - Ordering store UID
|
|
1372
1353
|
* @property {string} [name] - Store name of the ordering store
|
|
1373
1354
|
* @property {string} [display_name] - Display name of the ordering store
|
|
@@ -1386,8 +1367,7 @@ export = ConfigurationPlatformModel;
|
|
|
1386
1367
|
* @property {boolean} [enabled] - Allow ordering stores for current sales channel
|
|
1387
1368
|
* @property {string} [type] - For hard type delivery, store selection is
|
|
1388
1369
|
* compulsory. For soft type, delivery store selection is optional.
|
|
1389
|
-
* @property {string} [_id] - The unique identifier
|
|
1390
|
-
* of the ordering store
|
|
1370
|
+
* @property {string} [_id] - The unique identifier of the ordering store
|
|
1391
1371
|
* @property {string} [app] - Alphanumeric ID allotted to an application (sales
|
|
1392
1372
|
* channel website) created within a business account
|
|
1393
1373
|
* @property {number} [__v] - Version key for tracking ordering stores. Default
|
|
@@ -1400,7 +1380,7 @@ export = ConfigurationPlatformModel;
|
|
|
1400
1380
|
*/
|
|
1401
1381
|
/**
|
|
1402
1382
|
* @typedef ValidationErrors
|
|
1403
|
-
* @property {ValidationError[]} errors
|
|
1383
|
+
* @property {ValidationError[]} errors - A list of validation errors in the request.
|
|
1404
1384
|
*/
|
|
1405
1385
|
/**
|
|
1406
1386
|
* @typedef ValidationError
|
|
@@ -1502,8 +1482,7 @@ type ApplicationInventory = {
|
|
|
1502
1482
|
communication?: CommunicationConfig;
|
|
1503
1483
|
platforms?: string[];
|
|
1504
1484
|
/**
|
|
1505
|
-
* - The unique identifier
|
|
1506
|
-
* of the sales channel inventory
|
|
1485
|
+
* - The unique identifier of the sales channel inventory
|
|
1507
1486
|
*/
|
|
1508
1487
|
_id?: string;
|
|
1509
1488
|
loyalty_points?: LoyaltyPointsConfig;
|
|
@@ -2119,8 +2098,7 @@ type MobileAppConfiguration = {
|
|
|
2119
2098
|
*/
|
|
2120
2099
|
is_active?: boolean;
|
|
2121
2100
|
/**
|
|
2122
|
-
* - The unique identifier
|
|
2123
|
-
* for mobile application configuration
|
|
2101
|
+
* - The unique identifier for mobile application configuration
|
|
2124
2102
|
*/
|
|
2125
2103
|
_id?: string;
|
|
2126
2104
|
/**
|
|
@@ -2210,7 +2188,7 @@ type BuildVersionHistory = {
|
|
|
2210
2188
|
declare function BuildVersion(): BuildVersion;
|
|
2211
2189
|
type BuildVersion = {
|
|
2212
2190
|
/**
|
|
2213
|
-
* -
|
|
2191
|
+
* - Primary Identifier of the build version.
|
|
2214
2192
|
*/
|
|
2215
2193
|
_id?: string;
|
|
2216
2194
|
/**
|
|
@@ -2256,8 +2234,8 @@ type BuildVersion = {
|
|
|
2256
2234
|
declare function AppSupportedCurrency(): AppSupportedCurrency;
|
|
2257
2235
|
type AppSupportedCurrency = {
|
|
2258
2236
|
/**
|
|
2259
|
-
* - The unique identifier
|
|
2260
|
-
*
|
|
2237
|
+
* - The unique identifier of the currency
|
|
2238
|
+
* configuration supported by the application
|
|
2261
2239
|
*/
|
|
2262
2240
|
_id?: string;
|
|
2263
2241
|
supported_currency?: string[];
|
|
@@ -2282,8 +2260,7 @@ type AppSupportedCurrency = {
|
|
|
2282
2260
|
declare function DefaultCurrency(): DefaultCurrency;
|
|
2283
2261
|
type DefaultCurrency = {
|
|
2284
2262
|
/**
|
|
2285
|
-
* - The unique identifier
|
|
2286
|
-
* of the default currency
|
|
2263
|
+
* - The unique identifier of the default currency
|
|
2287
2264
|
*/
|
|
2288
2265
|
ref?: string;
|
|
2289
2266
|
/**
|
|
@@ -2300,8 +2277,7 @@ type DomainAdd = {
|
|
|
2300
2277
|
*/
|
|
2301
2278
|
name?: string;
|
|
2302
2279
|
/**
|
|
2303
|
-
* - The unique identifier
|
|
2304
|
-
* of the domain
|
|
2280
|
+
* - The unique identifier of the domain
|
|
2305
2281
|
*/
|
|
2306
2282
|
_id?: string;
|
|
2307
2283
|
/**
|
|
@@ -2339,8 +2315,7 @@ type Domain = {
|
|
|
2339
2315
|
*/
|
|
2340
2316
|
name?: string;
|
|
2341
2317
|
/**
|
|
2342
|
-
* - The unique identifier
|
|
2343
|
-
* of the sales channel domain
|
|
2318
|
+
* - The unique identifier of the sales channel domain
|
|
2344
2319
|
*/
|
|
2345
2320
|
_id?: string;
|
|
2346
2321
|
/**
|
|
@@ -2376,8 +2351,7 @@ type UpdateDomain = {
|
|
|
2376
2351
|
*/
|
|
2377
2352
|
name?: string;
|
|
2378
2353
|
/**
|
|
2379
|
-
* - The unique identifier
|
|
2380
|
-
* of the domain
|
|
2354
|
+
* - The unique identifier of the domain
|
|
2381
2355
|
*/
|
|
2382
2356
|
_id?: string;
|
|
2383
2357
|
/**
|
|
@@ -2560,8 +2534,8 @@ type StoresResponseSchema = {
|
|
|
2560
2534
|
declare function AppInventoryStores(): AppInventoryStores;
|
|
2561
2535
|
type AppInventoryStores = {
|
|
2562
2536
|
/**
|
|
2563
|
-
* - The unique identifier of the store
|
|
2564
|
-
*
|
|
2537
|
+
* - The unique identifier of the store in the sales
|
|
2538
|
+
* channel inventory
|
|
2565
2539
|
*/
|
|
2566
2540
|
_id?: string;
|
|
2567
2541
|
/**
|
|
@@ -2633,8 +2607,7 @@ type DeploymentMeta = {
|
|
|
2633
2607
|
*/
|
|
2634
2608
|
type?: string;
|
|
2635
2609
|
/**
|
|
2636
|
-
* - The unique identifier
|
|
2637
|
-
* of the ordering stores
|
|
2610
|
+
* - The unique identifier of the ordering stores
|
|
2638
2611
|
*/
|
|
2639
2612
|
_id?: string;
|
|
2640
2613
|
/**
|
|
@@ -2686,8 +2659,7 @@ type OtherSellerApplication = {
|
|
|
2686
2659
|
*/
|
|
2687
2660
|
description?: string;
|
|
2688
2661
|
/**
|
|
2689
|
-
* - The unique identifier
|
|
2690
|
-
* of the other seller's sales channel
|
|
2662
|
+
* - The unique identifier of the other seller's sales channel
|
|
2691
2663
|
*/
|
|
2692
2664
|
_id?: string;
|
|
2693
2665
|
/**
|
|
@@ -2719,8 +2691,7 @@ type OptedApplicationResponseSchema = {
|
|
|
2719
2691
|
*/
|
|
2720
2692
|
description?: string;
|
|
2721
2693
|
/**
|
|
2722
|
-
* - The unique identifier
|
|
2723
|
-
* of the other seller's sales channel
|
|
2694
|
+
* - The unique identifier of the other seller's sales channel
|
|
2724
2695
|
*/
|
|
2725
2696
|
_id?: string;
|
|
2726
2697
|
/**
|
|
@@ -2826,8 +2797,7 @@ declare function TokenResponseSchema(): TokenResponseSchema;
|
|
|
2826
2797
|
type TokenResponseSchema = {
|
|
2827
2798
|
tokens?: Tokens;
|
|
2828
2799
|
/**
|
|
2829
|
-
* - The unique identifier
|
|
2830
|
-
* of the token
|
|
2800
|
+
* - The unique identifier of the token
|
|
2831
2801
|
*/
|
|
2832
2802
|
_id?: string;
|
|
2833
2803
|
/**
|
|
@@ -3215,8 +3185,7 @@ type AppFeature = {
|
|
|
3215
3185
|
buybox?: BuyboxFeature;
|
|
3216
3186
|
delivery_strategy?: DeliveryStrategy;
|
|
3217
3187
|
/**
|
|
3218
|
-
* - The unique identifier
|
|
3219
|
-
* for the sales channel features
|
|
3188
|
+
* - The unique identifier for the sales channel features
|
|
3220
3189
|
*/
|
|
3221
3190
|
_id?: string;
|
|
3222
3191
|
/**
|
|
@@ -3429,8 +3398,8 @@ type AppFeatureResponseSchema = {
|
|
|
3429
3398
|
declare function Currency(): Currency;
|
|
3430
3399
|
type Currency = {
|
|
3431
3400
|
/**
|
|
3432
|
-
* - The unique identifier
|
|
3433
|
-
*
|
|
3401
|
+
* - The unique identifier of the current sales channel
|
|
3402
|
+
* supported currency
|
|
3434
3403
|
*/
|
|
3435
3404
|
_id?: string;
|
|
3436
3405
|
/**
|
|
@@ -3565,8 +3534,7 @@ type Application = {
|
|
|
3565
3534
|
*/
|
|
3566
3535
|
is_active?: boolean;
|
|
3567
3536
|
/**
|
|
3568
|
-
* - The unique identifier
|
|
3569
|
-
* of the sales channel
|
|
3537
|
+
* - The unique identifier of the sales channel
|
|
3570
3538
|
*/
|
|
3571
3539
|
_id?: string;
|
|
3572
3540
|
/**
|
|
@@ -3574,8 +3542,7 @@ type Application = {
|
|
|
3574
3542
|
*/
|
|
3575
3543
|
name?: string;
|
|
3576
3544
|
/**
|
|
3577
|
-
* - The unique identifier
|
|
3578
|
-
* of owner who owns the application
|
|
3545
|
+
* - The unique identifier of owner who owns the application
|
|
3579
3546
|
*/
|
|
3580
3547
|
owner?: string;
|
|
3581
3548
|
/**
|
|
@@ -3649,8 +3616,7 @@ type ApplicationById = {
|
|
|
3649
3616
|
*/
|
|
3650
3617
|
is_active?: boolean;
|
|
3651
3618
|
/**
|
|
3652
|
-
* - The unique identifier
|
|
3653
|
-
* of the sales channel
|
|
3619
|
+
* - The unique identifier of the sales channel
|
|
3654
3620
|
*/
|
|
3655
3621
|
_id?: string;
|
|
3656
3622
|
/**
|
|
@@ -3658,8 +3624,7 @@ type ApplicationById = {
|
|
|
3658
3624
|
*/
|
|
3659
3625
|
name?: string;
|
|
3660
3626
|
/**
|
|
3661
|
-
* - The unique identifier
|
|
3662
|
-
* of owner who owns the application
|
|
3627
|
+
* - The unique identifier of owner who owns the application
|
|
3663
3628
|
*/
|
|
3664
3629
|
owner?: string;
|
|
3665
3630
|
/**
|
|
@@ -3783,8 +3748,7 @@ type ApplicationInformation = {
|
|
|
3783
3748
|
*/
|
|
3784
3749
|
copyright_text?: string;
|
|
3785
3750
|
/**
|
|
3786
|
-
* - Unique identifier
|
|
3787
|
-
* the application information
|
|
3751
|
+
* - Unique identifier of the application information
|
|
3788
3752
|
*/
|
|
3789
3753
|
_id?: string;
|
|
3790
3754
|
business_highlights?: BusinessHighlights[];
|
|
@@ -4059,8 +4023,7 @@ type Links = {
|
|
|
4059
4023
|
declare function BusinessHighlights(): BusinessHighlights;
|
|
4060
4024
|
type BusinessHighlights = {
|
|
4061
4025
|
/**
|
|
4062
|
-
* - Unique identifier
|
|
4063
|
-
* the related business
|
|
4026
|
+
* - Unique identifier of the related business
|
|
4064
4027
|
*/
|
|
4065
4028
|
_id?: string;
|
|
4066
4029
|
/**
|
|
@@ -4096,8 +4059,7 @@ type ApplicationDetail = {
|
|
|
4096
4059
|
domain?: Domain;
|
|
4097
4060
|
domains?: Domain[];
|
|
4098
4061
|
/**
|
|
4099
|
-
* - The unique identifier
|
|
4100
|
-
* for the sales channel details
|
|
4062
|
+
* - The unique identifier for the sales channel details
|
|
4101
4063
|
*/
|
|
4102
4064
|
_id?: string;
|
|
4103
4065
|
slug?: string;
|
|
@@ -4112,8 +4074,8 @@ type CurrenciesResponseSchema = {
|
|
|
4112
4074
|
declare function AppCurrencyResponseSchema(): AppCurrencyResponseSchema;
|
|
4113
4075
|
type AppCurrencyResponseSchema = {
|
|
4114
4076
|
/**
|
|
4115
|
-
* - The unique identifier
|
|
4116
|
-
*
|
|
4077
|
+
* - The unique identifier of the currency
|
|
4078
|
+
* configuration supported by the application
|
|
4117
4079
|
*/
|
|
4118
4080
|
_id?: string;
|
|
4119
4081
|
/**
|
|
@@ -4189,8 +4151,7 @@ declare function OrderingStore(): OrderingStore;
|
|
|
4189
4151
|
type OrderingStore = {
|
|
4190
4152
|
address?: OptedStoreAddress;
|
|
4191
4153
|
/**
|
|
4192
|
-
* - The unique identifier
|
|
4193
|
-
* of the ordering store
|
|
4154
|
+
* - The unique identifier of the ordering store
|
|
4194
4155
|
*/
|
|
4195
4156
|
_id?: string;
|
|
4196
4157
|
/**
|
|
@@ -4243,8 +4204,7 @@ type OrderingStores = {
|
|
|
4243
4204
|
*/
|
|
4244
4205
|
type?: string;
|
|
4245
4206
|
/**
|
|
4246
|
-
* - The unique identifier
|
|
4247
|
-
* of the ordering store
|
|
4207
|
+
* - The unique identifier of the ordering store
|
|
4248
4208
|
*/
|
|
4249
4209
|
_id?: string;
|
|
4250
4210
|
/**
|
|
@@ -4267,6 +4227,9 @@ type OrderingStoresResponseSchema = {
|
|
|
4267
4227
|
/** @returns {ValidationErrors} */
|
|
4268
4228
|
declare function ValidationErrors(): ValidationErrors;
|
|
4269
4229
|
type ValidationErrors = {
|
|
4230
|
+
/**
|
|
4231
|
+
* - A list of validation errors in the request.
|
|
4232
|
+
*/
|
|
4270
4233
|
errors: ValidationError[];
|
|
4271
4234
|
};
|
|
4272
4235
|
/** @returns {ValidationError} */
|