@gofynd/fdk-client-javascript 1.3.5 → 1.3.6-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationModel.d.ts +33 -3
- package/sdk/application/Cart/CartApplicationModel.js +38 -2
- package/sdk/common/BaseOAuthClient.js +1 -1
- package/sdk/partner/OAuthClient.d.ts +5 -4
- package/sdk/partner/OAuthClient.js +78 -9
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +86 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +533 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +54 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +74 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +212 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +166 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -6
- package/sdk/platform/Order/OrderPlatformModel.js +8 -6
|
@@ -4,6 +4,14 @@ export = CatalogPlatformApplicationValidator;
|
|
|
4
4
|
* @property {string} id - A `id` is a unique identifier of a collection.
|
|
5
5
|
* @property {CatalogPlatformModel.CollectionItemUpdate} body
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* @typedef CreateAppCategoryReturnConfigurationParam
|
|
9
|
+
* @property {CatalogPlatformModel.BaseAppCategoryReturnConfig} body
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @typedef CreateAppReturnConfigurationParam
|
|
13
|
+
* @property {CatalogPlatformModel.CreateUpdateAppReturnConfig} body
|
|
14
|
+
*/
|
|
7
15
|
/**
|
|
8
16
|
* @typedef CreateCollectionParam
|
|
9
17
|
* @property {CatalogPlatformModel.CreateCollection} body
|
|
@@ -41,6 +49,10 @@ export = CatalogPlatformApplicationValidator;
|
|
|
41
49
|
* @typedef CreateSearchConfigurationParam
|
|
42
50
|
* @property {CatalogPlatformModel.CreateSearchConfigurationRequest} body
|
|
43
51
|
*/
|
|
52
|
+
/**
|
|
53
|
+
* @typedef DeleteAppCategoryReturnConfigurationParam
|
|
54
|
+
* @property {CatalogPlatformModel.DeleteAppCategoryReturnConfig} body
|
|
55
|
+
*/
|
|
44
56
|
/**
|
|
45
57
|
* @typedef DeleteAutocompleteKeywordParam
|
|
46
58
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
@@ -84,6 +96,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
84
96
|
* Default is 12.
|
|
85
97
|
*/
|
|
86
98
|
/** @typedef GetAllSearchKeywordParam */
|
|
99
|
+
/** @typedef GetAppCategoryReturnConfigParam */
|
|
87
100
|
/**
|
|
88
101
|
* @typedef GetAppInventoryParam
|
|
89
102
|
* @property {number[]} [itemIds] - The Item Id of the product.
|
|
@@ -124,6 +137,7 @@ export = CatalogPlatformApplicationValidator;
|
|
|
124
137
|
* Default is 10.
|
|
125
138
|
* @property {string} [q] - Search with Item Code, Name, Slug or Identifier.
|
|
126
139
|
*/
|
|
140
|
+
/** @typedef GetAppReturnConfigurationParam */
|
|
127
141
|
/**
|
|
128
142
|
* @typedef GetAppicationProductsParam
|
|
129
143
|
* @property {string} [q] - The search query. This can be a partial or complete
|
|
@@ -304,6 +318,10 @@ export = CatalogPlatformApplicationValidator;
|
|
|
304
318
|
* @property {string} categoryUid - Category id for which the custom_json is associated.
|
|
305
319
|
* @property {CatalogPlatformModel.ApplicationCategoryJson} body
|
|
306
320
|
*/
|
|
321
|
+
/**
|
|
322
|
+
* @typedef UpdateAppCategoryReturnConfigurationParam
|
|
323
|
+
* @property {CatalogPlatformModel.BaseAppCategoryReturnConfig} body
|
|
324
|
+
*/
|
|
307
325
|
/**
|
|
308
326
|
* @typedef UpdateAppDepartmentParam
|
|
309
327
|
* @property {string} departmentUid - Department id for which the custom_json is
|
|
@@ -320,6 +338,10 @@ export = CatalogPlatformApplicationValidator;
|
|
|
320
338
|
* @property {string} itemId - Product id for which the custom_meta is associated.
|
|
321
339
|
* @property {CatalogPlatformModel.ApplicationItemMeta} body
|
|
322
340
|
*/
|
|
341
|
+
/**
|
|
342
|
+
* @typedef UpdateAppReturnConfigurationParam
|
|
343
|
+
* @property {CatalogPlatformModel.CreateUpdateAppReturnConfig} body
|
|
344
|
+
*/
|
|
323
345
|
/**
|
|
324
346
|
* @typedef UpdateAutocompleteKeywordParam
|
|
325
347
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
@@ -364,6 +386,10 @@ export = CatalogPlatformApplicationValidator;
|
|
|
364
386
|
declare class CatalogPlatformApplicationValidator {
|
|
365
387
|
/** @returns {AddCollectionItemsParam} */
|
|
366
388
|
static addCollectionItems(): AddCollectionItemsParam;
|
|
389
|
+
/** @returns {CreateAppCategoryReturnConfigurationParam} */
|
|
390
|
+
static createAppCategoryReturnConfiguration(): CreateAppCategoryReturnConfigurationParam;
|
|
391
|
+
/** @returns {CreateAppReturnConfigurationParam} */
|
|
392
|
+
static createAppReturnConfiguration(): CreateAppReturnConfigurationParam;
|
|
367
393
|
/** @returns {CreateCollectionParam} */
|
|
368
394
|
static createCollection(): CreateCollectionParam;
|
|
369
395
|
/** @returns {CreateConfigurationByTypeParam} */
|
|
@@ -380,6 +406,8 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
380
406
|
static createListingConfiguration(): CreateListingConfigurationParam;
|
|
381
407
|
/** @returns {CreateSearchConfigurationParam} */
|
|
382
408
|
static createSearchConfiguration(): CreateSearchConfigurationParam;
|
|
409
|
+
/** @returns {DeleteAppCategoryReturnConfigurationParam} */
|
|
410
|
+
static deleteAppCategoryReturnConfiguration(): DeleteAppCategoryReturnConfigurationParam;
|
|
383
411
|
/** @returns {DeleteAutocompleteKeywordParam} */
|
|
384
412
|
static deleteAutocompleteKeyword(): DeleteAutocompleteKeywordParam;
|
|
385
413
|
/** @returns {DeleteCollectionParam} */
|
|
@@ -396,6 +424,8 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
396
424
|
static getAllCollections(): GetAllCollectionsParam;
|
|
397
425
|
/** @returns {GetAllSearchKeywordParam} */
|
|
398
426
|
static getAllSearchKeyword(): any;
|
|
427
|
+
/** @returns {GetAppCategoryReturnConfigParam} */
|
|
428
|
+
static getAppCategoryReturnConfig(): any;
|
|
399
429
|
/** @returns {GetAppInventoryParam} */
|
|
400
430
|
static getAppInventory(): GetAppInventoryParam;
|
|
401
431
|
/** @returns {GetAppLocationsParam} */
|
|
@@ -404,6 +434,8 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
404
434
|
static getAppProduct(): GetAppProductParam;
|
|
405
435
|
/** @returns {GetAppProductsParam} */
|
|
406
436
|
static getAppProducts(): GetAppProductsParam;
|
|
437
|
+
/** @returns {GetAppReturnConfigurationParam} */
|
|
438
|
+
static getAppReturnConfiguration(): any;
|
|
407
439
|
/** @returns {GetAppicationProductsParam} */
|
|
408
440
|
static getAppicationProducts(): GetAppicationProductsParam;
|
|
409
441
|
/** @returns {GetApplicationBrandListingParam} */
|
|
@@ -456,12 +488,16 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
456
488
|
static updateAppBrand(): UpdateAppBrandParam;
|
|
457
489
|
/** @returns {UpdateAppCategoryParam} */
|
|
458
490
|
static updateAppCategory(): UpdateAppCategoryParam;
|
|
491
|
+
/** @returns {UpdateAppCategoryReturnConfigurationParam} */
|
|
492
|
+
static updateAppCategoryReturnConfiguration(): UpdateAppCategoryReturnConfigurationParam;
|
|
459
493
|
/** @returns {UpdateAppDepartmentParam} */
|
|
460
494
|
static updateAppDepartment(): UpdateAppDepartmentParam;
|
|
461
495
|
/** @returns {UpdateAppLocationParam} */
|
|
462
496
|
static updateAppLocation(): UpdateAppLocationParam;
|
|
463
497
|
/** @returns {UpdateAppProductParam} */
|
|
464
498
|
static updateAppProduct(): UpdateAppProductParam;
|
|
499
|
+
/** @returns {UpdateAppReturnConfigurationParam} */
|
|
500
|
+
static updateAppReturnConfiguration(): UpdateAppReturnConfigurationParam;
|
|
465
501
|
/** @returns {UpdateAutocompleteKeywordParam} */
|
|
466
502
|
static updateAutocompleteKeyword(): UpdateAutocompleteKeywordParam;
|
|
467
503
|
/** @returns {UpdateCollectionParam} */
|
|
@@ -478,7 +514,7 @@ declare class CatalogPlatformApplicationValidator {
|
|
|
478
514
|
static updateSearchKeywords(): UpdateSearchKeywordsParam;
|
|
479
515
|
}
|
|
480
516
|
declare namespace CatalogPlatformApplicationValidator {
|
|
481
|
-
export { AddCollectionItemsParam, CreateCollectionParam, CreateConfigurationByTypeParam, CreateConfigurationProductListingParam, CreateCustomAutocompleteRuleParam, CreateCustomKeywordParam, CreateGroupConfigurationParam, CreateListingConfigurationParam, CreateSearchConfigurationParam, DeleteAutocompleteKeywordParam, DeleteCollectionParam, DeleteGroupConfigurationParam, DeleteListingConfigurationParam, DeleteSearchConfigurationParam, DeleteSearchKeywordsParam, GetAllCollectionsParam, GetAllSearchKeywordParam, GetAppInventoryParam, GetAppLocationsParam, GetAppProductParam, GetAppProductsParam, GetAppicationProductsParam, GetApplicationBrandListingParam, GetApplicationBrandsParam, GetApplicationCategoryListingParam, GetApplicationDepartmentListingParam, GetAutocompleteConfigParam, GetAutocompleteKeywordDetailParam, GetCatalogConfigurationParam, GetCatalogInsightsParam, GetCategoriesParam, GetCollectionDetailParam, GetCollectionItemsParam, GetConfigurationByTypeParam, GetConfigurationMetadataParam, GetConfigurationsParam, GetDepartmentsParam, GetDiscountedInventoryBySizeIdentifierParam, GetGroupConfigurationsParam, GetListingConfigurationsParam, GetProductDetailBySlugParam, GetQueryFiltersParam, GetSearchConfigurationParam, GetSearchKeywordsParam, UpdateAllowSingleParam, UpdateAppBrandParam, UpdateAppCategoryParam, UpdateAppDepartmentParam, UpdateAppLocationParam, UpdateAppProductParam, UpdateAutocompleteKeywordParam, UpdateCollectionParam, UpdateDefaultSortParam, UpdateGroupConfigurationParam, UpdateListingConfigurationParam, UpdateSearchConfigurationParam, UpdateSearchKeywordsParam };
|
|
517
|
+
export { AddCollectionItemsParam, CreateAppCategoryReturnConfigurationParam, CreateAppReturnConfigurationParam, CreateCollectionParam, CreateConfigurationByTypeParam, CreateConfigurationProductListingParam, CreateCustomAutocompleteRuleParam, CreateCustomKeywordParam, CreateGroupConfigurationParam, CreateListingConfigurationParam, CreateSearchConfigurationParam, DeleteAppCategoryReturnConfigurationParam, DeleteAutocompleteKeywordParam, DeleteCollectionParam, DeleteGroupConfigurationParam, DeleteListingConfigurationParam, DeleteSearchConfigurationParam, DeleteSearchKeywordsParam, GetAllCollectionsParam, GetAllSearchKeywordParam, GetAppCategoryReturnConfigParam, GetAppInventoryParam, GetAppLocationsParam, GetAppProductParam, GetAppProductsParam, GetAppReturnConfigurationParam, GetAppicationProductsParam, GetApplicationBrandListingParam, GetApplicationBrandsParam, GetApplicationCategoryListingParam, GetApplicationDepartmentListingParam, GetAutocompleteConfigParam, GetAutocompleteKeywordDetailParam, GetCatalogConfigurationParam, GetCatalogInsightsParam, GetCategoriesParam, GetCollectionDetailParam, GetCollectionItemsParam, GetConfigurationByTypeParam, GetConfigurationMetadataParam, GetConfigurationsParam, GetDepartmentsParam, GetDiscountedInventoryBySizeIdentifierParam, GetGroupConfigurationsParam, GetListingConfigurationsParam, GetProductDetailBySlugParam, GetQueryFiltersParam, GetSearchConfigurationParam, GetSearchKeywordsParam, UpdateAllowSingleParam, UpdateAppBrandParam, UpdateAppCategoryParam, UpdateAppCategoryReturnConfigurationParam, UpdateAppDepartmentParam, UpdateAppLocationParam, UpdateAppProductParam, UpdateAppReturnConfigurationParam, UpdateAutocompleteKeywordParam, UpdateCollectionParam, UpdateDefaultSortParam, UpdateGroupConfigurationParam, UpdateListingConfigurationParam, UpdateSearchConfigurationParam, UpdateSearchKeywordsParam };
|
|
482
518
|
}
|
|
483
519
|
type AddCollectionItemsParam = {
|
|
484
520
|
/**
|
|
@@ -487,6 +523,12 @@ type AddCollectionItemsParam = {
|
|
|
487
523
|
id: string;
|
|
488
524
|
body: CatalogPlatformModel.CollectionItemUpdate;
|
|
489
525
|
};
|
|
526
|
+
type CreateAppCategoryReturnConfigurationParam = {
|
|
527
|
+
body: CatalogPlatformModel.BaseAppCategoryReturnConfig;
|
|
528
|
+
};
|
|
529
|
+
type CreateAppReturnConfigurationParam = {
|
|
530
|
+
body: CatalogPlatformModel.CreateUpdateAppReturnConfig;
|
|
531
|
+
};
|
|
490
532
|
type CreateCollectionParam = {
|
|
491
533
|
body: CatalogPlatformModel.CreateCollection;
|
|
492
534
|
};
|
|
@@ -525,6 +567,9 @@ type CreateListingConfigurationParam = {
|
|
|
525
567
|
type CreateSearchConfigurationParam = {
|
|
526
568
|
body: CatalogPlatformModel.CreateSearchConfigurationRequest;
|
|
527
569
|
};
|
|
570
|
+
type DeleteAppCategoryReturnConfigurationParam = {
|
|
571
|
+
body: CatalogPlatformModel.DeleteAppCategoryReturnConfig;
|
|
572
|
+
};
|
|
528
573
|
type DeleteAutocompleteKeywordParam = {
|
|
529
574
|
/**
|
|
530
575
|
* - A `id` is a unique identifier for a particular
|
|
@@ -1026,6 +1071,9 @@ type UpdateAppCategoryParam = {
|
|
|
1026
1071
|
categoryUid: string;
|
|
1027
1072
|
body: CatalogPlatformModel.ApplicationCategoryJson;
|
|
1028
1073
|
};
|
|
1074
|
+
type UpdateAppCategoryReturnConfigurationParam = {
|
|
1075
|
+
body: CatalogPlatformModel.BaseAppCategoryReturnConfig;
|
|
1076
|
+
};
|
|
1029
1077
|
type UpdateAppDepartmentParam = {
|
|
1030
1078
|
/**
|
|
1031
1079
|
* - Department id for which the custom_json is
|
|
@@ -1048,6 +1096,9 @@ type UpdateAppProductParam = {
|
|
|
1048
1096
|
itemId: string;
|
|
1049
1097
|
body: CatalogPlatformModel.ApplicationItemMeta;
|
|
1050
1098
|
};
|
|
1099
|
+
type UpdateAppReturnConfigurationParam = {
|
|
1100
|
+
body: CatalogPlatformModel.CreateUpdateAppReturnConfig;
|
|
1101
|
+
};
|
|
1051
1102
|
type UpdateAutocompleteKeywordParam = {
|
|
1052
1103
|
/**
|
|
1053
1104
|
* - A `id` is a unique identifier for a particular
|
|
@@ -1105,6 +1156,8 @@ type UpdateSearchKeywordsParam = {
|
|
|
1105
1156
|
};
|
|
1106
1157
|
type DeleteSearchConfigurationParam = any;
|
|
1107
1158
|
type GetAllSearchKeywordParam = any;
|
|
1159
|
+
type GetAppCategoryReturnConfigParam = any;
|
|
1160
|
+
type GetAppReturnConfigurationParam = any;
|
|
1108
1161
|
type GetAutocompleteConfigParam = any;
|
|
1109
1162
|
type GetCatalogConfigurationParam = any;
|
|
1110
1163
|
type GetConfigurationsParam = any;
|
|
@@ -8,6 +8,16 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
8
8
|
* @property {CatalogPlatformModel.CollectionItemUpdate} body
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @typedef CreateAppCategoryReturnConfigurationParam
|
|
13
|
+
* @property {CatalogPlatformModel.BaseAppCategoryReturnConfig} body
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @typedef CreateAppReturnConfigurationParam
|
|
18
|
+
* @property {CatalogPlatformModel.CreateUpdateAppReturnConfig} body
|
|
19
|
+
*/
|
|
20
|
+
|
|
11
21
|
/**
|
|
12
22
|
* @typedef CreateCollectionParam
|
|
13
23
|
* @property {CatalogPlatformModel.CreateCollection} body
|
|
@@ -53,6 +63,11 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
53
63
|
* @property {CatalogPlatformModel.CreateSearchConfigurationRequest} body
|
|
54
64
|
*/
|
|
55
65
|
|
|
66
|
+
/**
|
|
67
|
+
* @typedef DeleteAppCategoryReturnConfigurationParam
|
|
68
|
+
* @property {CatalogPlatformModel.DeleteAppCategoryReturnConfig} body
|
|
69
|
+
*/
|
|
70
|
+
|
|
56
71
|
/**
|
|
57
72
|
* @typedef DeleteAutocompleteKeywordParam
|
|
58
73
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
@@ -104,6 +119,8 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
104
119
|
|
|
105
120
|
/** @typedef GetAllSearchKeywordParam */
|
|
106
121
|
|
|
122
|
+
/** @typedef GetAppCategoryReturnConfigParam */
|
|
123
|
+
|
|
107
124
|
/**
|
|
108
125
|
* @typedef GetAppInventoryParam
|
|
109
126
|
* @property {number[]} [itemIds] - The Item Id of the product.
|
|
@@ -148,6 +165,8 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
148
165
|
* @property {string} [q] - Search with Item Code, Name, Slug or Identifier.
|
|
149
166
|
*/
|
|
150
167
|
|
|
168
|
+
/** @typedef GetAppReturnConfigurationParam */
|
|
169
|
+
|
|
151
170
|
/**
|
|
152
171
|
* @typedef GetAppicationProductsParam
|
|
153
172
|
* @property {string} [q] - The search query. This can be a partial or complete
|
|
@@ -354,6 +373,11 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
354
373
|
* @property {CatalogPlatformModel.ApplicationCategoryJson} body
|
|
355
374
|
*/
|
|
356
375
|
|
|
376
|
+
/**
|
|
377
|
+
* @typedef UpdateAppCategoryReturnConfigurationParam
|
|
378
|
+
* @property {CatalogPlatformModel.BaseAppCategoryReturnConfig} body
|
|
379
|
+
*/
|
|
380
|
+
|
|
357
381
|
/**
|
|
358
382
|
* @typedef UpdateAppDepartmentParam
|
|
359
383
|
* @property {string} departmentUid - Department id for which the custom_json is
|
|
@@ -373,6 +397,11 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
373
397
|
* @property {CatalogPlatformModel.ApplicationItemMeta} body
|
|
374
398
|
*/
|
|
375
399
|
|
|
400
|
+
/**
|
|
401
|
+
* @typedef UpdateAppReturnConfigurationParam
|
|
402
|
+
* @property {CatalogPlatformModel.CreateUpdateAppReturnConfig} body
|
|
403
|
+
*/
|
|
404
|
+
|
|
376
405
|
/**
|
|
377
406
|
* @typedef UpdateAutocompleteKeywordParam
|
|
378
407
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
@@ -430,6 +459,20 @@ class CatalogPlatformApplicationValidator {
|
|
|
430
459
|
}).required();
|
|
431
460
|
}
|
|
432
461
|
|
|
462
|
+
/** @returns {CreateAppCategoryReturnConfigurationParam} */
|
|
463
|
+
static createAppCategoryReturnConfiguration() {
|
|
464
|
+
return Joi.object({
|
|
465
|
+
body: CatalogPlatformModel.BaseAppCategoryReturnConfig().required(),
|
|
466
|
+
}).required();
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/** @returns {CreateAppReturnConfigurationParam} */
|
|
470
|
+
static createAppReturnConfiguration() {
|
|
471
|
+
return Joi.object({
|
|
472
|
+
body: CatalogPlatformModel.CreateUpdateAppReturnConfig().required(),
|
|
473
|
+
}).required();
|
|
474
|
+
}
|
|
475
|
+
|
|
433
476
|
/** @returns {CreateCollectionParam} */
|
|
434
477
|
static createCollection() {
|
|
435
478
|
return Joi.object({
|
|
@@ -489,6 +532,13 @@ class CatalogPlatformApplicationValidator {
|
|
|
489
532
|
}).required();
|
|
490
533
|
}
|
|
491
534
|
|
|
535
|
+
/** @returns {DeleteAppCategoryReturnConfigurationParam} */
|
|
536
|
+
static deleteAppCategoryReturnConfiguration() {
|
|
537
|
+
return Joi.object({
|
|
538
|
+
body: CatalogPlatformModel.DeleteAppCategoryReturnConfig().required(),
|
|
539
|
+
}).required();
|
|
540
|
+
}
|
|
541
|
+
|
|
492
542
|
/** @returns {DeleteAutocompleteKeywordParam} */
|
|
493
543
|
static deleteAutocompleteKeyword() {
|
|
494
544
|
return Joi.object({
|
|
@@ -549,6 +599,11 @@ class CatalogPlatformApplicationValidator {
|
|
|
549
599
|
return Joi.object({}).required();
|
|
550
600
|
}
|
|
551
601
|
|
|
602
|
+
/** @returns {GetAppCategoryReturnConfigParam} */
|
|
603
|
+
static getAppCategoryReturnConfig() {
|
|
604
|
+
return Joi.object({}).required();
|
|
605
|
+
}
|
|
606
|
+
|
|
552
607
|
/** @returns {GetAppInventoryParam} */
|
|
553
608
|
static getAppInventory() {
|
|
554
609
|
return Joi.object({
|
|
@@ -595,6 +650,11 @@ class CatalogPlatformApplicationValidator {
|
|
|
595
650
|
}).required();
|
|
596
651
|
}
|
|
597
652
|
|
|
653
|
+
/** @returns {GetAppReturnConfigurationParam} */
|
|
654
|
+
static getAppReturnConfiguration() {
|
|
655
|
+
return Joi.object({}).required();
|
|
656
|
+
}
|
|
657
|
+
|
|
598
658
|
/** @returns {GetAppicationProductsParam} */
|
|
599
659
|
static getAppicationProducts() {
|
|
600
660
|
return Joi.object({
|
|
@@ -804,6 +864,13 @@ class CatalogPlatformApplicationValidator {
|
|
|
804
864
|
}).required();
|
|
805
865
|
}
|
|
806
866
|
|
|
867
|
+
/** @returns {UpdateAppCategoryReturnConfigurationParam} */
|
|
868
|
+
static updateAppCategoryReturnConfiguration() {
|
|
869
|
+
return Joi.object({
|
|
870
|
+
body: CatalogPlatformModel.BaseAppCategoryReturnConfig().required(),
|
|
871
|
+
}).required();
|
|
872
|
+
}
|
|
873
|
+
|
|
807
874
|
/** @returns {UpdateAppDepartmentParam} */
|
|
808
875
|
static updateAppDepartment() {
|
|
809
876
|
return Joi.object({
|
|
@@ -828,6 +895,13 @@ class CatalogPlatformApplicationValidator {
|
|
|
828
895
|
}).required();
|
|
829
896
|
}
|
|
830
897
|
|
|
898
|
+
/** @returns {UpdateAppReturnConfigurationParam} */
|
|
899
|
+
static updateAppReturnConfiguration() {
|
|
900
|
+
return Joi.object({
|
|
901
|
+
body: CatalogPlatformModel.CreateUpdateAppReturnConfig().required(),
|
|
902
|
+
}).required();
|
|
903
|
+
}
|
|
904
|
+
|
|
831
905
|
/** @returns {UpdateAutocompleteKeywordParam} */
|
|
832
906
|
static updateAutocompleteKeyword() {
|
|
833
907
|
return Joi.object({
|
|
@@ -41,6 +41,20 @@ export = CatalogPlatformModel;
|
|
|
41
41
|
* @property {ConfigurationProduct} [product]
|
|
42
42
|
* @property {string} [type]
|
|
43
43
|
*/
|
|
44
|
+
/**
|
|
45
|
+
* @typedef AppCategoryReturnConfig
|
|
46
|
+
* @property {number} category_id - Unique identifier for L3 category
|
|
47
|
+
* @property {ProductReturnConfigBaseSerializer} return_config - Return
|
|
48
|
+
* configuration details
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* @typedef AppCategoryReturnConfigResponse
|
|
52
|
+
* @property {string} [app_id] - Channel identifier
|
|
53
|
+
* @property {number} [category_id] - Unique identifer of L3 category
|
|
54
|
+
* @property {string} [logo]
|
|
55
|
+
* @property {string} [name] - Name of L3 category
|
|
56
|
+
* @property {ProductReturnConfigBaseSerializer} [return_config]
|
|
57
|
+
*/
|
|
44
58
|
/**
|
|
45
59
|
* @typedef AppConfiguration
|
|
46
60
|
* @property {string} app_id
|
|
@@ -161,6 +175,18 @@ export = CatalogPlatformModel;
|
|
|
161
175
|
* @typedef ApplicationStoreJson
|
|
162
176
|
* @property {Object} _custom_json
|
|
163
177
|
*/
|
|
178
|
+
/**
|
|
179
|
+
* @typedef AppReturnConfigResponse
|
|
180
|
+
* @property {string} [app_id] - Channel identifier
|
|
181
|
+
* @property {number} [category_count] - Count of L3 category return config set
|
|
182
|
+
* for application
|
|
183
|
+
* @property {number} [company_id] - Unique identifer of company
|
|
184
|
+
* @property {Object} [created_by] - User details
|
|
185
|
+
* @property {Object} [modified_by] - User details
|
|
186
|
+
* @property {string} [modified_on] - Modification date
|
|
187
|
+
* @property {string} [return_config_level] - Configuration level of return
|
|
188
|
+
* window category|product|no-return
|
|
189
|
+
*/
|
|
164
190
|
/**
|
|
165
191
|
* @typedef ArticleAssignment
|
|
166
192
|
* @property {string} [level]
|
|
@@ -300,6 +326,17 @@ export = CatalogPlatformModel;
|
|
|
300
326
|
* @property {string} [type]
|
|
301
327
|
* @property {string} [url]
|
|
302
328
|
*/
|
|
329
|
+
/**
|
|
330
|
+
* @typedef BaseAppCategoryReturnConfig
|
|
331
|
+
* @property {string} app_id - Channel identifier
|
|
332
|
+
* @property {number} company_id - Unique identifer of company
|
|
333
|
+
* @property {AppCategoryReturnConfig[]} data - Category level return config details
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* @typedef BaseAppCategoryReturnConfigResponse
|
|
337
|
+
* @property {AppCategoryReturnConfigResponse[]} [data]
|
|
338
|
+
* @property {PageResponse} [page]
|
|
339
|
+
*/
|
|
303
340
|
/**
|
|
304
341
|
* @typedef Brand
|
|
305
342
|
* @property {Logo} [logo]
|
|
@@ -829,6 +866,13 @@ export = CatalogPlatformModel;
|
|
|
829
866
|
* @property {SearchKeywordResult} result
|
|
830
867
|
* @property {string[]} [words]
|
|
831
868
|
*/
|
|
869
|
+
/**
|
|
870
|
+
* @typedef CreateUpdateAppReturnConfig
|
|
871
|
+
* @property {string} app_id - Channel identifier
|
|
872
|
+
* @property {number} company_id - Unique identifer of company
|
|
873
|
+
* @property {string} return_config_level - Return configurtion Level
|
|
874
|
+
* category|product|no-return
|
|
875
|
+
*/
|
|
832
876
|
/**
|
|
833
877
|
* @typedef CrossSellingData
|
|
834
878
|
* @property {number} [articles]
|
|
@@ -856,6 +900,12 @@ export = CatalogPlatformModel;
|
|
|
856
900
|
* @typedef DefaultKeyRequest
|
|
857
901
|
* @property {string} default_key
|
|
858
902
|
*/
|
|
903
|
+
/**
|
|
904
|
+
* @typedef DeleteAppCategoryReturnConfig
|
|
905
|
+
* @property {string} app_id - Channel identifier
|
|
906
|
+
* @property {number[]} category_ids - List of category_ids to be deleted.
|
|
907
|
+
* @property {number} company_id - Unique identifer of company
|
|
908
|
+
*/
|
|
859
909
|
/**
|
|
860
910
|
* @typedef DeleteResponse
|
|
861
911
|
* @property {string} [message]
|
|
@@ -1941,6 +1991,15 @@ export = CatalogPlatformModel;
|
|
|
1941
1991
|
* the filter.
|
|
1942
1992
|
* @property {number} [size] - It is the size of each page.
|
|
1943
1993
|
*/
|
|
1994
|
+
/**
|
|
1995
|
+
* @typedef PageResponse1
|
|
1996
|
+
* @property {number} [current]
|
|
1997
|
+
* @property {boolean} [has_next]
|
|
1998
|
+
* @property {boolean} [has_previous]
|
|
1999
|
+
* @property {number} [item_total]
|
|
2000
|
+
* @property {number} [size]
|
|
2001
|
+
* @property {string} [type]
|
|
2002
|
+
*/
|
|
1944
2003
|
/**
|
|
1945
2004
|
* @typedef PageResponseType
|
|
1946
2005
|
* @property {number} current
|
|
@@ -2311,6 +2370,12 @@ export = CatalogPlatformModel;
|
|
|
2311
2370
|
* @property {boolean} [is_set]
|
|
2312
2371
|
* @property {number} [product_online_date]
|
|
2313
2372
|
*/
|
|
2373
|
+
/**
|
|
2374
|
+
* @typedef ProductReturnConfigBaseSerializer
|
|
2375
|
+
* @property {boolean} returnable - Boolean Flag for item returnable
|
|
2376
|
+
* @property {number} time - Valid return time for an item
|
|
2377
|
+
* @property {string} unit - Unit of return config days|hours
|
|
2378
|
+
*/
|
|
2314
2379
|
/**
|
|
2315
2380
|
* @typedef ProductReturnConfigSerializer
|
|
2316
2381
|
* @property {boolean} [on_same_store]
|
|
@@ -3058,7 +3123,7 @@ export = CatalogPlatformModel;
|
|
|
3058
3123
|
declare class CatalogPlatformModel {
|
|
3059
3124
|
}
|
|
3060
3125
|
declare namespace CatalogPlatformModel {
|
|
3061
|
-
export { Action, ActionPage, AllowSingleRequest, AllSizes, AppCatalogConfiguration, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMeta, ApplicationItemMOQ, ApplicationItemSEO, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, ApplicationProductListingResponse, ApplicationStoreJson, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutocompleteAction, AutoCompleteMedia, AutocompletePageAction, AutocompleteResult, BannerImage, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, BulkInventoryGetItems, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchConfigurationRequest, CreateSearchConfigurationResponse, CreateSearchKeyword, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteResponse, DeleteSearchConfigurationResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, GetConfigMetadataResponse, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, GTIN, Guide, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HSNCodesResponse, HSNData, HSNDataInsertV2, HsnUpsert, Image, ImageUrls, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, InvSize, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, Metatags, MOQData, NetQuantity, NetQuantityResponse, NextSchedule, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptInPostRequest, OptinStoreDetails, OwnerAppItemResponse, Page, PageResponse, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, PTErrorResponse, Quantities, QuantitiesArticle, Quantity, QuantityBase, RawProduct, RawProductListingResponse, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, SearchableAttribute, SearchKeywordResult, SecondLevelChild, SellerPhoneNumber, SEOData, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Sitemap, Size, SizeDistribution, SizeGuideResponse, SizePromotionThreshold, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplatesResponse, TemplatesValidationResponse, TemplateValidationData, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdatedResponse, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, PageType };
|
|
3126
|
+
export { Action, ActionPage, AllowSingleRequest, AllSizes, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponse, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMeta, ApplicationItemMOQ, ApplicationItemSEO, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, ApplicationProductListingResponse, ApplicationStoreJson, AppReturnConfigResponse, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutocompleteAction, AutoCompleteMedia, AutocompletePageAction, AutocompleteResult, BannerImage, BaseAppCategoryReturnConfig, BaseAppCategoryReturnConfigResponse, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, BulkInventoryGetItems, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchConfigurationRequest, CreateSearchConfigurationResponse, CreateSearchKeyword, CreateUpdateAppReturnConfig, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteAppCategoryReturnConfig, DeleteResponse, DeleteSearchConfigurationResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, GetConfigMetadataResponse, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, GTIN, Guide, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HSNCodesResponse, HSNData, HSNDataInsertV2, HsnUpsert, Image, ImageUrls, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, InvSize, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, Metatags, MOQData, NetQuantity, NetQuantityResponse, NextSchedule, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptInPostRequest, OptinStoreDetails, OwnerAppItemResponse, Page, PageResponse, PageResponse1, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigBaseSerializer, ProductReturnConfigSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, PTErrorResponse, Quantities, QuantitiesArticle, Quantity, QuantityBase, RawProduct, RawProductListingResponse, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, SearchableAttribute, SearchKeywordResult, SecondLevelChild, SellerPhoneNumber, SEOData, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Sitemap, Size, SizeDistribution, SizeGuideResponse, SizePromotionThreshold, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplatesResponse, TemplatesValidationResponse, TemplateValidationData, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdatedResponse, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, PageType };
|
|
3062
3127
|
}
|
|
3063
3128
|
/** @returns {Action} */
|
|
3064
3129
|
declare function Action(): Action;
|
|
@@ -3107,6 +3172,37 @@ type AppCatalogConfiguration = {
|
|
|
3107
3172
|
product?: ConfigurationProduct;
|
|
3108
3173
|
type?: string;
|
|
3109
3174
|
};
|
|
3175
|
+
/** @returns {AppCategoryReturnConfig} */
|
|
3176
|
+
declare function AppCategoryReturnConfig(): AppCategoryReturnConfig;
|
|
3177
|
+
type AppCategoryReturnConfig = {
|
|
3178
|
+
/**
|
|
3179
|
+
* - Unique identifier for L3 category
|
|
3180
|
+
*/
|
|
3181
|
+
category_id: number;
|
|
3182
|
+
/**
|
|
3183
|
+
* - Return
|
|
3184
|
+
* configuration details
|
|
3185
|
+
*/
|
|
3186
|
+
return_config: ProductReturnConfigBaseSerializer;
|
|
3187
|
+
};
|
|
3188
|
+
/** @returns {AppCategoryReturnConfigResponse} */
|
|
3189
|
+
declare function AppCategoryReturnConfigResponse(): AppCategoryReturnConfigResponse;
|
|
3190
|
+
type AppCategoryReturnConfigResponse = {
|
|
3191
|
+
/**
|
|
3192
|
+
* - Channel identifier
|
|
3193
|
+
*/
|
|
3194
|
+
app_id?: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* - Unique identifer of L3 category
|
|
3197
|
+
*/
|
|
3198
|
+
category_id?: number;
|
|
3199
|
+
logo?: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* - Name of L3 category
|
|
3202
|
+
*/
|
|
3203
|
+
name?: string;
|
|
3204
|
+
return_config?: ProductReturnConfigBaseSerializer;
|
|
3205
|
+
};
|
|
3110
3206
|
/** @returns {AppConfiguration} */
|
|
3111
3207
|
declare function AppConfiguration(): AppConfiguration;
|
|
3112
3208
|
type AppConfiguration = {
|
|
@@ -3283,6 +3379,40 @@ declare function ApplicationStoreJson(): ApplicationStoreJson;
|
|
|
3283
3379
|
type ApplicationStoreJson = {
|
|
3284
3380
|
_custom_json: any;
|
|
3285
3381
|
};
|
|
3382
|
+
/** @returns {AppReturnConfigResponse} */
|
|
3383
|
+
declare function AppReturnConfigResponse(): AppReturnConfigResponse;
|
|
3384
|
+
type AppReturnConfigResponse = {
|
|
3385
|
+
/**
|
|
3386
|
+
* - Channel identifier
|
|
3387
|
+
*/
|
|
3388
|
+
app_id?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* - Count of L3 category return config set
|
|
3391
|
+
* for application
|
|
3392
|
+
*/
|
|
3393
|
+
category_count?: number;
|
|
3394
|
+
/**
|
|
3395
|
+
* - Unique identifer of company
|
|
3396
|
+
*/
|
|
3397
|
+
company_id?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* - User details
|
|
3400
|
+
*/
|
|
3401
|
+
created_by?: any;
|
|
3402
|
+
/**
|
|
3403
|
+
* - User details
|
|
3404
|
+
*/
|
|
3405
|
+
modified_by?: any;
|
|
3406
|
+
/**
|
|
3407
|
+
* - Modification date
|
|
3408
|
+
*/
|
|
3409
|
+
modified_on?: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* - Configuration level of return
|
|
3412
|
+
* window category|product|no-return
|
|
3413
|
+
*/
|
|
3414
|
+
return_config_level?: string;
|
|
3415
|
+
};
|
|
3286
3416
|
/** @returns {ArticleAssignment} */
|
|
3287
3417
|
declare function ArticleAssignment(): ArticleAssignment;
|
|
3288
3418
|
type ArticleAssignment = {
|
|
@@ -3441,6 +3571,28 @@ type BannerImage = {
|
|
|
3441
3571
|
type?: string;
|
|
3442
3572
|
url?: string;
|
|
3443
3573
|
};
|
|
3574
|
+
/** @returns {BaseAppCategoryReturnConfig} */
|
|
3575
|
+
declare function BaseAppCategoryReturnConfig(): BaseAppCategoryReturnConfig;
|
|
3576
|
+
type BaseAppCategoryReturnConfig = {
|
|
3577
|
+
/**
|
|
3578
|
+
* - Channel identifier
|
|
3579
|
+
*/
|
|
3580
|
+
app_id: string;
|
|
3581
|
+
/**
|
|
3582
|
+
* - Unique identifer of company
|
|
3583
|
+
*/
|
|
3584
|
+
company_id: number;
|
|
3585
|
+
/**
|
|
3586
|
+
* - Category level return config details
|
|
3587
|
+
*/
|
|
3588
|
+
data: AppCategoryReturnConfig[];
|
|
3589
|
+
};
|
|
3590
|
+
/** @returns {BaseAppCategoryReturnConfigResponse} */
|
|
3591
|
+
declare function BaseAppCategoryReturnConfigResponse(): BaseAppCategoryReturnConfigResponse;
|
|
3592
|
+
type BaseAppCategoryReturnConfigResponse = {
|
|
3593
|
+
data?: AppCategoryReturnConfigResponse[];
|
|
3594
|
+
page?: PageResponse;
|
|
3595
|
+
};
|
|
3444
3596
|
/** @returns {Brand} */
|
|
3445
3597
|
declare function Brand(): Brand;
|
|
3446
3598
|
type Brand = {
|
|
@@ -4213,6 +4365,23 @@ type CreateSearchKeyword = {
|
|
|
4213
4365
|
result: SearchKeywordResult;
|
|
4214
4366
|
words?: string[];
|
|
4215
4367
|
};
|
|
4368
|
+
/** @returns {CreateUpdateAppReturnConfig} */
|
|
4369
|
+
declare function CreateUpdateAppReturnConfig(): CreateUpdateAppReturnConfig;
|
|
4370
|
+
type CreateUpdateAppReturnConfig = {
|
|
4371
|
+
/**
|
|
4372
|
+
* - Channel identifier
|
|
4373
|
+
*/
|
|
4374
|
+
app_id: string;
|
|
4375
|
+
/**
|
|
4376
|
+
* - Unique identifer of company
|
|
4377
|
+
*/
|
|
4378
|
+
company_id: number;
|
|
4379
|
+
/**
|
|
4380
|
+
* - Return configurtion Level
|
|
4381
|
+
* category|product|no-return
|
|
4382
|
+
*/
|
|
4383
|
+
return_config_level: string;
|
|
4384
|
+
};
|
|
4216
4385
|
/** @returns {CrossSellingData} */
|
|
4217
4386
|
declare function CrossSellingData(): CrossSellingData;
|
|
4218
4387
|
type CrossSellingData = {
|
|
@@ -4245,6 +4414,22 @@ declare function DefaultKeyRequest(): DefaultKeyRequest;
|
|
|
4245
4414
|
type DefaultKeyRequest = {
|
|
4246
4415
|
default_key: string;
|
|
4247
4416
|
};
|
|
4417
|
+
/** @returns {DeleteAppCategoryReturnConfig} */
|
|
4418
|
+
declare function DeleteAppCategoryReturnConfig(): DeleteAppCategoryReturnConfig;
|
|
4419
|
+
type DeleteAppCategoryReturnConfig = {
|
|
4420
|
+
/**
|
|
4421
|
+
* - Channel identifier
|
|
4422
|
+
*/
|
|
4423
|
+
app_id: string;
|
|
4424
|
+
/**
|
|
4425
|
+
* - List of category_ids to be deleted.
|
|
4426
|
+
*/
|
|
4427
|
+
category_ids: number[];
|
|
4428
|
+
/**
|
|
4429
|
+
* - Unique identifer of company
|
|
4430
|
+
*/
|
|
4431
|
+
company_id: number;
|
|
4432
|
+
};
|
|
4248
4433
|
/** @returns {DeleteResponse} */
|
|
4249
4434
|
declare function DeleteResponse(): DeleteResponse;
|
|
4250
4435
|
type DeleteResponse = {
|
|
@@ -6041,6 +6226,16 @@ type PageResponse = {
|
|
|
6041
6226
|
*/
|
|
6042
6227
|
size?: number;
|
|
6043
6228
|
};
|
|
6229
|
+
/** @returns {PageResponse1} */
|
|
6230
|
+
declare function PageResponse1(): PageResponse1;
|
|
6231
|
+
type PageResponse1 = {
|
|
6232
|
+
current?: number;
|
|
6233
|
+
has_next?: boolean;
|
|
6234
|
+
has_previous?: boolean;
|
|
6235
|
+
item_total?: number;
|
|
6236
|
+
size?: number;
|
|
6237
|
+
type?: string;
|
|
6238
|
+
};
|
|
6044
6239
|
/** @returns {PageResponseType} */
|
|
6045
6240
|
declare function PageResponseType(): PageResponseType;
|
|
6046
6241
|
type PageResponseType = {
|
|
@@ -6463,6 +6658,22 @@ type ProductPublished = {
|
|
|
6463
6658
|
is_set?: boolean;
|
|
6464
6659
|
product_online_date?: number;
|
|
6465
6660
|
};
|
|
6661
|
+
/** @returns {ProductReturnConfigBaseSerializer} */
|
|
6662
|
+
declare function ProductReturnConfigBaseSerializer(): ProductReturnConfigBaseSerializer;
|
|
6663
|
+
type ProductReturnConfigBaseSerializer = {
|
|
6664
|
+
/**
|
|
6665
|
+
* - Boolean Flag for item returnable
|
|
6666
|
+
*/
|
|
6667
|
+
returnable: boolean;
|
|
6668
|
+
/**
|
|
6669
|
+
* - Valid return time for an item
|
|
6670
|
+
*/
|
|
6671
|
+
time: number;
|
|
6672
|
+
/**
|
|
6673
|
+
* - Unit of return config days|hours
|
|
6674
|
+
*/
|
|
6675
|
+
unit: string;
|
|
6676
|
+
};
|
|
6466
6677
|
/** @returns {ProductReturnConfigSerializer} */
|
|
6467
6678
|
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
6468
6679
|
type ProductReturnConfigSerializer = {
|