@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.4
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 +1742 -1726
- package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
- package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
- package/sdk/application/Content/ContentApplicationModel.js +757 -757
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
- package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
- package/sdk/application/Order/OrderApplicationModel.d.ts +852 -846
- package/sdk/application/Order/OrderApplicationModel.js +828 -822
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2176 -2145
- package/sdk/application/Payment/PaymentApplicationModel.js +1474 -1453
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
- package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
- package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
- package/sdk/application/User/UserApplicationClient.d.ts +2 -2
- package/sdk/application/User/UserApplicationClient.js +4 -7
- package/sdk/application/User/UserApplicationModel.d.ts +769 -764
- package/sdk/application/User/UserApplicationModel.js +731 -741
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
- package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
- package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
- package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
- package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
- package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +26 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +182 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +70 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +44 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -980
- package/sdk/platform/Catalog/CatalogPlatformModel.js +977 -933
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1842 -1825
- package/sdk/platform/Content/ContentPlatformModel.js +1868 -1848
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
- package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +7 -4
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +882 -869
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +894 -878
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
- package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
- package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5192 -5176
- package/sdk/platform/Order/OrderPlatformModel.js +4752 -4736
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2693 -2657
- package/sdk/platform/Payment/PaymentPlatformModel.js +1842 -1819
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +7 -6
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +11 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1674 -1539
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1663 -1534
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.js +19 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +13 -3
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
- package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
- package/sdk/platform/User/UserPlatformModel.d.ts +823 -753
- package/sdk/platform/User/UserPlatformModel.js +731 -661
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
- package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
- package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
- package/sdk/public/Billing/BillingPublicModel.js +51 -51
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
- package/sdk/public/Content/ContentPublicModel.js +28 -28
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
- package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
|
@@ -9,12 +9,8 @@ export = CatalogPlatformModel;
|
|
|
9
9
|
* @typedef ActionPage
|
|
10
10
|
* @property {Object} [params]
|
|
11
11
|
* @property {Object} [query]
|
|
12
|
-
* @property {PageType} type
|
|
13
12
|
* @property {string} [url]
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @typedef AllowSingleRequest
|
|
17
|
-
* @property {boolean} allow_single
|
|
13
|
+
* @property {PageType} type
|
|
18
14
|
*/
|
|
19
15
|
/**
|
|
20
16
|
* @typedef AllSizes
|
|
@@ -27,6 +23,10 @@ export = CatalogPlatformModel;
|
|
|
27
23
|
* @property {number} item_width
|
|
28
24
|
* @property {string} size
|
|
29
25
|
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef AllowSingleRequest
|
|
28
|
+
* @property {boolean} allow_single
|
|
29
|
+
*/
|
|
30
30
|
/**
|
|
31
31
|
* @typedef AppCatalogConfiguration
|
|
32
32
|
* @property {string} app_id
|
|
@@ -117,6 +117,13 @@ export = CatalogPlatformModel;
|
|
|
117
117
|
* @property {ApplicationDepartment[]} [items]
|
|
118
118
|
* @property {Page} page
|
|
119
119
|
*/
|
|
120
|
+
/**
|
|
121
|
+
* @typedef ApplicationItemMOQ
|
|
122
|
+
* @property {number} [increment_unit] - The minimum quantity increment in which
|
|
123
|
+
* the item can be purchased.
|
|
124
|
+
* @property {number} [maximum] - The maximum quantity allowed for purchase.
|
|
125
|
+
* @property {number} [minimum] - The minimum quantity required for purchase.
|
|
126
|
+
*/
|
|
120
127
|
/**
|
|
121
128
|
* @typedef ApplicationItemMeta
|
|
122
129
|
* @property {Object} [_custom_json] - Custom JSON data for the item
|
|
@@ -131,38 +138,11 @@ export = CatalogPlatformModel;
|
|
|
131
138
|
* @property {SizePromotionThreshold} [size_promotion_threshold] - Size level
|
|
132
139
|
* promotion limitation information for item
|
|
133
140
|
*/
|
|
134
|
-
/**
|
|
135
|
-
* @typedef ApplicationItemMOQ
|
|
136
|
-
* @property {number} [increment_unit] - The minimum quantity increment in which
|
|
137
|
-
* the item can be purchased.
|
|
138
|
-
* @property {number} [maximum] - The maximum quantity allowed for purchase.
|
|
139
|
-
* @property {number} [minimum] - The minimum quantity required for purchase.
|
|
140
|
-
*/
|
|
141
141
|
/**
|
|
142
142
|
* @typedef ApplicationItemSEO
|
|
143
143
|
* @property {string} [description] - The SEO description of the item
|
|
144
144
|
* @property {string} [title] - The SEO title of the item
|
|
145
145
|
*/
|
|
146
|
-
/**
|
|
147
|
-
* @typedef ApplicationItemSeoAction
|
|
148
|
-
* @property {Object} [page]
|
|
149
|
-
* @property {string} [type]
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* @typedef ApplicationItemSeoBreadcrumbs
|
|
153
|
-
* @property {ApplicationItemSeoAction[]} [action]
|
|
154
|
-
* @property {string} [url]
|
|
155
|
-
*/
|
|
156
|
-
/**
|
|
157
|
-
* @typedef ApplicationItemSeoMetaTagItem
|
|
158
|
-
* @property {string} [key]
|
|
159
|
-
* @property {string} [value]
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* @typedef ApplicationItemSeoMetaTags
|
|
163
|
-
* @property {ApplicationItemSeoMetaTagItem[]} [items]
|
|
164
|
-
* @property {string} [title]
|
|
165
|
-
*/
|
|
166
146
|
/**
|
|
167
147
|
* @typedef ApplicationProductListingResponse
|
|
168
148
|
* @property {ProductFilters[]} [filters]
|
|
@@ -295,17 +275,17 @@ export = CatalogPlatformModel;
|
|
|
295
275
|
* @property {number} [max]
|
|
296
276
|
* @property {number} [min]
|
|
297
277
|
*/
|
|
298
|
-
/**
|
|
299
|
-
* @typedef AutocompleteAction
|
|
300
|
-
* @property {AutocompletePageAction} [page]
|
|
301
|
-
* @property {string} [type]
|
|
302
|
-
*/
|
|
303
278
|
/**
|
|
304
279
|
* @typedef AutoCompleteMedia
|
|
305
280
|
* @property {string} [aspect_ratio]
|
|
306
281
|
* @property {string} [type]
|
|
307
282
|
* @property {string} [url]
|
|
308
283
|
*/
|
|
284
|
+
/**
|
|
285
|
+
* @typedef AutocompleteAction
|
|
286
|
+
* @property {AutocompletePageAction} [page]
|
|
287
|
+
* @property {string} [type]
|
|
288
|
+
*/
|
|
309
289
|
/**
|
|
310
290
|
* @typedef AutocompletePageAction
|
|
311
291
|
* @property {Object} [params]
|
|
@@ -579,6 +559,7 @@ export = CatalogPlatformModel;
|
|
|
579
559
|
*/
|
|
580
560
|
/**
|
|
581
561
|
* @typedef CollectionCreateResponse
|
|
562
|
+
* @property {string} [uid]
|
|
582
563
|
* @property {Object} [_schedule]
|
|
583
564
|
* @property {boolean} [allow_facets]
|
|
584
565
|
* @property {boolean} [allow_sort]
|
|
@@ -597,7 +578,6 @@ export = CatalogPlatformModel;
|
|
|
597
578
|
* @property {string} [sort_on]
|
|
598
579
|
* @property {string[]} [tag]
|
|
599
580
|
* @property {string} [type]
|
|
600
|
-
* @property {string} [uid]
|
|
601
581
|
* @property {string[]} [visible_facets_keys]
|
|
602
582
|
*/
|
|
603
583
|
/**
|
|
@@ -633,12 +613,6 @@ export = CatalogPlatformModel;
|
|
|
633
613
|
* @property {number} item_id
|
|
634
614
|
* @property {number} [priority]
|
|
635
615
|
*/
|
|
636
|
-
/**
|
|
637
|
-
* @typedef CollectionItemSchemaV2
|
|
638
|
-
* @property {string} action
|
|
639
|
-
* @property {number} item_id
|
|
640
|
-
* @property {number} [priority]
|
|
641
|
-
*/
|
|
642
616
|
/**
|
|
643
617
|
* @typedef CollectionItemUpdate
|
|
644
618
|
* @property {boolean} [allow_facets]
|
|
@@ -648,15 +622,6 @@ export = CatalogPlatformModel;
|
|
|
648
622
|
* @property {string} [type]
|
|
649
623
|
* @property {string[]} [visible_facets_keys]
|
|
650
624
|
*/
|
|
651
|
-
/**
|
|
652
|
-
* @typedef CollectionItemUpdateSchemaV2
|
|
653
|
-
* @property {boolean} [allow_facets]
|
|
654
|
-
* @property {boolean} [allow_sort]
|
|
655
|
-
* @property {CollectionItemSchemaV2[]} [items]
|
|
656
|
-
* @property {CollectionQuerySchemaV2[]} [query]
|
|
657
|
-
* @property {string} type
|
|
658
|
-
* @property {string[]} [visible_facets_keys]
|
|
659
|
-
*/
|
|
660
625
|
/**
|
|
661
626
|
* @typedef CollectionListingFilter
|
|
662
627
|
* @property {CollectionListingFilterTag[]} [tags]
|
|
@@ -681,13 +646,6 @@ export = CatalogPlatformModel;
|
|
|
681
646
|
* collection query
|
|
682
647
|
* @property {Object[]} value - The value of the attribute of the collection query
|
|
683
648
|
*/
|
|
684
|
-
/**
|
|
685
|
-
* @typedef CollectionQuerySchemaV2
|
|
686
|
-
* @property {string} attribute - The attribute of the collection query
|
|
687
|
-
* @property {string} op - The operation to be performed on the attribute of the
|
|
688
|
-
* collection query
|
|
689
|
-
* @property {Object[]} value - The value of the attribute of the collection query
|
|
690
|
-
*/
|
|
691
649
|
/**
|
|
692
650
|
* @typedef CollectionSchedule
|
|
693
651
|
* @property {string} [cron]
|
|
@@ -696,10 +654,6 @@ export = CatalogPlatformModel;
|
|
|
696
654
|
* @property {NextSchedule[]} [next_schedule]
|
|
697
655
|
* @property {string} [start]
|
|
698
656
|
*/
|
|
699
|
-
/**
|
|
700
|
-
* @typedef CommonResponseSchemaCollection
|
|
701
|
-
* @property {string} [message]
|
|
702
|
-
*/
|
|
703
657
|
/**
|
|
704
658
|
* @typedef CompanyBrandDetail
|
|
705
659
|
* @property {number} [brand_id]
|
|
@@ -862,11 +816,6 @@ export = CatalogPlatformModel;
|
|
|
862
816
|
* @property {string} type
|
|
863
817
|
* @property {string[]} [visible_facets_keys]
|
|
864
818
|
*/
|
|
865
|
-
/**
|
|
866
|
-
* @typedef CreatedBy
|
|
867
|
-
* @property {string} [user_id]
|
|
868
|
-
* @property {string} [username]
|
|
869
|
-
*/
|
|
870
819
|
/**
|
|
871
820
|
* @typedef CreateSearchConfigurationRequest
|
|
872
821
|
* @property {string} application_id - The application id where custom search
|
|
@@ -1071,6 +1020,82 @@ export = CatalogPlatformModel;
|
|
|
1071
1020
|
* @property {string} [display]
|
|
1072
1021
|
* @property {string} [value]
|
|
1073
1022
|
*/
|
|
1023
|
+
/**
|
|
1024
|
+
* @typedef RawProduct
|
|
1025
|
+
* @property {Object} [_custom_json]
|
|
1026
|
+
* @property {number[]} [all_company_ids]
|
|
1027
|
+
* @property {string[]} [all_identifiers]
|
|
1028
|
+
* @property {Object[]} [all_sizes]
|
|
1029
|
+
* @property {Object} [attributes]
|
|
1030
|
+
* @property {Brand} [brand]
|
|
1031
|
+
* @property {number} [brand_uid]
|
|
1032
|
+
* @property {Object} [category]
|
|
1033
|
+
* @property {string} [category_slug]
|
|
1034
|
+
* @property {number} [category_uid]
|
|
1035
|
+
* @property {string} [color]
|
|
1036
|
+
* @property {number} [company_id]
|
|
1037
|
+
* @property {string} [country_of_origin]
|
|
1038
|
+
* @property {Object} [created_by]
|
|
1039
|
+
* @property {string} [created_on]
|
|
1040
|
+
* @property {string} [currency]
|
|
1041
|
+
* @property {Object} [custom_order]
|
|
1042
|
+
* @property {number[]} [departments]
|
|
1043
|
+
* @property {string} [description]
|
|
1044
|
+
* @property {string[]} [highlights]
|
|
1045
|
+
* @property {string} [hsn_code]
|
|
1046
|
+
* @property {string} [id]
|
|
1047
|
+
* @property {string} [image_nature]
|
|
1048
|
+
* @property {string[]} [images]
|
|
1049
|
+
* @property {boolean} [is_active]
|
|
1050
|
+
* @property {boolean} [is_dependent]
|
|
1051
|
+
* @property {boolean} [is_expirable]
|
|
1052
|
+
* @property {boolean} [is_image_less_product]
|
|
1053
|
+
* @property {boolean} [is_physical]
|
|
1054
|
+
* @property {boolean} [is_set]
|
|
1055
|
+
* @property {string} [item_code]
|
|
1056
|
+
* @property {string} [item_type]
|
|
1057
|
+
* @property {string[]} [l3_mapping]
|
|
1058
|
+
* @property {Media[]} [media]
|
|
1059
|
+
* @property {Object} [modified_by]
|
|
1060
|
+
* @property {string} [modified_on]
|
|
1061
|
+
* @property {Object} [moq]
|
|
1062
|
+
* @property {boolean} [multi_size]
|
|
1063
|
+
* @property {string} [name]
|
|
1064
|
+
* @property {NetQuantityResponse} [net_quantity]
|
|
1065
|
+
* @property {number} [no_of_boxes]
|
|
1066
|
+
* @property {string} [pending]
|
|
1067
|
+
* @property {string} [primary_color]
|
|
1068
|
+
* @property {string[]} [product_group_tag]
|
|
1069
|
+
* @property {ProductPublished} [product_publish]
|
|
1070
|
+
* @property {ReturnConfigResponse} [return_config]
|
|
1071
|
+
* @property {string} [short_description]
|
|
1072
|
+
* @property {string} [size_guide]
|
|
1073
|
+
* @property {Object[]} [sizes]
|
|
1074
|
+
* @property {string} [slug]
|
|
1075
|
+
* @property {string} [stage]
|
|
1076
|
+
* @property {string[]} [tags]
|
|
1077
|
+
* @property {Object} [tax_identifier]
|
|
1078
|
+
* @property {Object} [teaser_tag]
|
|
1079
|
+
* @property {string} [template_tag]
|
|
1080
|
+
* @property {Trader[]} [trader]
|
|
1081
|
+
* @property {number} [uid]
|
|
1082
|
+
* @property {Object} [variant_group]
|
|
1083
|
+
* @property {Object} [variant_media]
|
|
1084
|
+
* @property {Object} [variants]
|
|
1085
|
+
* @property {VerifiedBy} [verified_by]
|
|
1086
|
+
* @property {string} [verified_on]
|
|
1087
|
+
*/
|
|
1088
|
+
/**
|
|
1089
|
+
* @typedef RawProductListingResponse
|
|
1090
|
+
* @property {RawProduct[]} [items]
|
|
1091
|
+
* @property {Page} [page]
|
|
1092
|
+
*/
|
|
1093
|
+
/**
|
|
1094
|
+
* @typedef GTIN
|
|
1095
|
+
* @property {string} gtin_type
|
|
1096
|
+
* @property {string} gtin_value
|
|
1097
|
+
* @property {boolean} [primary]
|
|
1098
|
+
*/
|
|
1074
1099
|
/**
|
|
1075
1100
|
* @typedef GenderDetail
|
|
1076
1101
|
* @property {string[]} [departments]
|
|
@@ -1088,9 +1113,9 @@ export = CatalogPlatformModel;
|
|
|
1088
1113
|
*/
|
|
1089
1114
|
/**
|
|
1090
1115
|
* @typedef GetAddressSerializer
|
|
1091
|
-
* @property {string} [address_type]
|
|
1092
1116
|
* @property {string} [address1]
|
|
1093
1117
|
* @property {string} [address2]
|
|
1118
|
+
* @property {string} [address_type]
|
|
1094
1119
|
* @property {string} [city]
|
|
1095
1120
|
* @property {string} [country]
|
|
1096
1121
|
* @property {string} [country_code]
|
|
@@ -1100,11 +1125,6 @@ export = CatalogPlatformModel;
|
|
|
1100
1125
|
* @property {number} [pincode]
|
|
1101
1126
|
* @property {string} [state]
|
|
1102
1127
|
*/
|
|
1103
|
-
/**
|
|
1104
|
-
* @typedef GetAllMarketplaces
|
|
1105
|
-
* @property {Marketplaces[]} [items]
|
|
1106
|
-
* @property {Page} [page]
|
|
1107
|
-
*/
|
|
1108
1128
|
/**
|
|
1109
1129
|
* @typedef GetAllSizes
|
|
1110
1130
|
* @property {AllSizes[]} [all_sizes]
|
|
@@ -1172,34 +1192,6 @@ export = CatalogPlatformModel;
|
|
|
1172
1192
|
* @property {string} [uid]
|
|
1173
1193
|
* @property {string[]} [visible_facets_keys]
|
|
1174
1194
|
*/
|
|
1175
|
-
/**
|
|
1176
|
-
* @typedef GetCollectionDetailResponse
|
|
1177
|
-
* @property {Object} [_custom_json]
|
|
1178
|
-
* @property {Object} [_locale_language]
|
|
1179
|
-
* @property {CollectionSchedule} [_schedule]
|
|
1180
|
-
* @property {Object} [action]
|
|
1181
|
-
* @property {boolean} [allow_facets]
|
|
1182
|
-
* @property {boolean} [allow_sort]
|
|
1183
|
-
* @property {string} [app_id]
|
|
1184
|
-
* @property {CollectionBadge} [badge]
|
|
1185
|
-
* @property {ImageUrls} [banners]
|
|
1186
|
-
* @property {string} [description]
|
|
1187
|
-
* @property {boolean} [is_active]
|
|
1188
|
-
* @property {boolean} [is_visible]
|
|
1189
|
-
* @property {Media} [logo]
|
|
1190
|
-
* @property {Object} [meta]
|
|
1191
|
-
* @property {string} [name]
|
|
1192
|
-
* @property {number} [priority]
|
|
1193
|
-
* @property {boolean} [published]
|
|
1194
|
-
* @property {CollectionQuery[]} [query]
|
|
1195
|
-
* @property {SeoDetail} [seo]
|
|
1196
|
-
* @property {string} [slug]
|
|
1197
|
-
* @property {string} [sort_on]
|
|
1198
|
-
* @property {string[]} [tags]
|
|
1199
|
-
* @property {string} [type]
|
|
1200
|
-
* @property {string} [uid]
|
|
1201
|
-
* @property {string[]} [visible_facets_keys]
|
|
1202
|
-
*/
|
|
1203
1195
|
/**
|
|
1204
1196
|
* @typedef GetCollectionItemsResponse
|
|
1205
1197
|
* @property {ProductFilters[]} [filters]
|
|
@@ -1207,11 +1199,6 @@ export = CatalogPlatformModel;
|
|
|
1207
1199
|
* @property {Page} [page]
|
|
1208
1200
|
* @property {ProductSortOn[]} [sort_on]
|
|
1209
1201
|
*/
|
|
1210
|
-
/**
|
|
1211
|
-
* @typedef GetCollectionItemsResponseSchemaV2
|
|
1212
|
-
* @property {ProductDetailV2[]} [items]
|
|
1213
|
-
* @property {Page1} [page]
|
|
1214
|
-
*/
|
|
1215
1202
|
/**
|
|
1216
1203
|
* @typedef GetCollectionListingResponse
|
|
1217
1204
|
* @property {CollectionListingFilter} [filters]
|
|
@@ -1390,43 +1377,134 @@ export = CatalogPlatformModel;
|
|
|
1390
1377
|
* @property {Size[]} [sizes]
|
|
1391
1378
|
*/
|
|
1392
1379
|
/**
|
|
1393
|
-
* @typedef
|
|
1394
|
-
* @property {ProductFilters[]} [filters]
|
|
1395
|
-
* @property {Object} operators
|
|
1396
|
-
* @property {ProductSortOn[]} [sort_on]
|
|
1397
|
-
*/
|
|
1398
|
-
/**
|
|
1399
|
-
* @typedef GetSearchConfigurationResponse
|
|
1400
|
-
* @property {string} application_id - The application id where custom search
|
|
1401
|
-
* configuration is set
|
|
1402
|
-
* @property {number} company_id - The company id where custom search configuration is set
|
|
1403
|
-
* @property {UserSerializer} [created_by] - The user who created the search
|
|
1404
|
-
* configuration.
|
|
1405
|
-
* @property {string} [created_on] - The date and time when the search
|
|
1406
|
-
* configuration was created.
|
|
1407
|
-
* @property {boolean} [is_proximity_enabled] - Flag indicating if proximity
|
|
1408
|
-
* search is enabled for this attribute.
|
|
1409
|
-
* @property {UserSerializer} [modified_by] - The user who modified the search
|
|
1410
|
-
* configuration.
|
|
1411
|
-
* @property {string} [modified_on] - The date and time when the search
|
|
1412
|
-
* configuration was last modified.
|
|
1413
|
-
* @property {number} [proximity] - Proximity distance configuration
|
|
1414
|
-
* @property {SearchableAttribute[]} [searchable_attributes] - The searchable
|
|
1415
|
-
* attributes defined on the application.
|
|
1416
|
-
*/
|
|
1417
|
-
/**
|
|
1418
|
-
* @typedef GetSearchWordsData
|
|
1380
|
+
* @typedef GetCollectionDetailResponse
|
|
1419
1381
|
* @property {Object} [_custom_json]
|
|
1382
|
+
* @property {Object} [_locale_language]
|
|
1383
|
+
* @property {CollectionSchedule} [_schedule]
|
|
1384
|
+
* @property {Object} [action]
|
|
1385
|
+
* @property {boolean} [allow_facets]
|
|
1386
|
+
* @property {boolean} [allow_sort]
|
|
1420
1387
|
* @property {string} [app_id]
|
|
1388
|
+
* @property {CollectionBadge} [badge]
|
|
1389
|
+
* @property {ImageUrls} [banners]
|
|
1390
|
+
* @property {string} [description]
|
|
1421
1391
|
* @property {boolean} [is_active]
|
|
1422
|
-
* @property {
|
|
1392
|
+
* @property {boolean} [is_visible]
|
|
1393
|
+
* @property {Media} [logo]
|
|
1394
|
+
* @property {Object} [meta]
|
|
1395
|
+
* @property {string} [name]
|
|
1396
|
+
* @property {number} [priority]
|
|
1397
|
+
* @property {boolean} [published]
|
|
1398
|
+
* @property {CollectionQuery[]} [query]
|
|
1399
|
+
* @property {SeoDetail} [seo]
|
|
1400
|
+
* @property {string} [slug]
|
|
1401
|
+
* @property {string} [sort_on]
|
|
1402
|
+
* @property {string[]} [tags]
|
|
1403
|
+
* @property {string} [type]
|
|
1423
1404
|
* @property {string} [uid]
|
|
1424
|
-
* @property {string[]} [
|
|
1405
|
+
* @property {string[]} [visible_facets_keys]
|
|
1425
1406
|
*/
|
|
1426
1407
|
/**
|
|
1427
|
-
* @typedef
|
|
1428
|
-
* @property {
|
|
1429
|
-
|
|
1408
|
+
* @typedef CommonResponseSchemaCollection
|
|
1409
|
+
* @property {string} [message]
|
|
1410
|
+
*/
|
|
1411
|
+
/**
|
|
1412
|
+
* @typedef GetQueryFiltersKeysResponse
|
|
1413
|
+
* @property {ProductFiltersKeysOnly[]} [filters]
|
|
1414
|
+
* @property {Object} operators
|
|
1415
|
+
* @property {ProductSortOn[]} [sort_on]
|
|
1416
|
+
*/
|
|
1417
|
+
/**
|
|
1418
|
+
* @typedef GetQueryFiltersResponse
|
|
1419
|
+
* @property {ProductFilters[]} [filters]
|
|
1420
|
+
* @property {Object} operators
|
|
1421
|
+
* @property {ProductSortOn[]} [sort_on]
|
|
1422
|
+
*/
|
|
1423
|
+
/**
|
|
1424
|
+
* @typedef GetCollectionItemsResponseSchemaV2
|
|
1425
|
+
* @property {ProductDetailV2[]} [items]
|
|
1426
|
+
* @property {Page1} [page]
|
|
1427
|
+
*/
|
|
1428
|
+
/**
|
|
1429
|
+
* @typedef Page1
|
|
1430
|
+
* @property {boolean} [ca]
|
|
1431
|
+
* @property {string} [department]
|
|
1432
|
+
* @property {number} [page_no]
|
|
1433
|
+
* @property {number} [page_size]
|
|
1434
|
+
* @property {string} [q]
|
|
1435
|
+
* @property {string} [sort]
|
|
1436
|
+
* @property {string} [sort_on]
|
|
1437
|
+
* @property {string} [type]
|
|
1438
|
+
* @property {string} [variant]
|
|
1439
|
+
*/
|
|
1440
|
+
/**
|
|
1441
|
+
* @typedef CollectionItemSchemaV2
|
|
1442
|
+
* @property {string} action
|
|
1443
|
+
* @property {number} item_id
|
|
1444
|
+
* @property {number} [priority]
|
|
1445
|
+
*/
|
|
1446
|
+
/**
|
|
1447
|
+
* @typedef CollectionItemUpdateSchemaV2
|
|
1448
|
+
* @property {boolean} [allow_facets]
|
|
1449
|
+
* @property {boolean} [allow_sort]
|
|
1450
|
+
* @property {CollectionItemSchemaV2[]} [items]
|
|
1451
|
+
* @property {CollectionQuerySchemaV2[]} [query]
|
|
1452
|
+
* @property {string} type
|
|
1453
|
+
* @property {string[]} [visible_facets_keys]
|
|
1454
|
+
*/
|
|
1455
|
+
/**
|
|
1456
|
+
* @typedef CollectionQuerySchemaV2
|
|
1457
|
+
* @property {string} attribute - The attribute of the collection query
|
|
1458
|
+
* @property {string} op - The operation to be performed on the attribute of the
|
|
1459
|
+
* collection query
|
|
1460
|
+
* @property {Object[]} value - The value of the attribute of the collection query
|
|
1461
|
+
*/
|
|
1462
|
+
/**
|
|
1463
|
+
* @typedef ProductDetailV2
|
|
1464
|
+
* @property {ProductBrand} [brand]
|
|
1465
|
+
* @property {boolean} [is_excluded]
|
|
1466
|
+
* @property {boolean} [is_pinned]
|
|
1467
|
+
* @property {string} [item_code]
|
|
1468
|
+
* @property {string} [item_type]
|
|
1469
|
+
* @property {Media[]} [medias]
|
|
1470
|
+
* @property {string} [name]
|
|
1471
|
+
* @property {number} [priority]
|
|
1472
|
+
* @property {string} [short_description]
|
|
1473
|
+
* @property {string} slug
|
|
1474
|
+
* @property {number} [uid]
|
|
1475
|
+
*/
|
|
1476
|
+
/**
|
|
1477
|
+
* @typedef GetSearchConfigurationResponse
|
|
1478
|
+
* @property {string} application_id - The application id where custom search
|
|
1479
|
+
* configuration is set
|
|
1480
|
+
* @property {number} company_id - The company id where custom search configuration is set
|
|
1481
|
+
* @property {UserSerializer} [created_by] - The user who created the search
|
|
1482
|
+
* configuration.
|
|
1483
|
+
* @property {string} [created_on] - The date and time when the search
|
|
1484
|
+
* configuration was created.
|
|
1485
|
+
* @property {boolean} [is_proximity_enabled] - Flag indicating if proximity
|
|
1486
|
+
* search is enabled for this attribute.
|
|
1487
|
+
* @property {UserSerializer} [modified_by] - The user who modified the search
|
|
1488
|
+
* configuration.
|
|
1489
|
+
* @property {string} [modified_on] - The date and time when the search
|
|
1490
|
+
* configuration was last modified.
|
|
1491
|
+
* @property {number} [proximity] - Proximity distance configuration
|
|
1492
|
+
* @property {SearchableAttribute[]} [searchable_attributes] - The searchable
|
|
1493
|
+
* attributes defined on the application.
|
|
1494
|
+
*/
|
|
1495
|
+
/**
|
|
1496
|
+
* @typedef GetSearchWordsData
|
|
1497
|
+
* @property {Object} [_custom_json]
|
|
1498
|
+
* @property {string} [app_id]
|
|
1499
|
+
* @property {boolean} [is_active]
|
|
1500
|
+
* @property {Object} [result]
|
|
1501
|
+
* @property {string} [uid]
|
|
1502
|
+
* @property {string[]} [words]
|
|
1503
|
+
*/
|
|
1504
|
+
/**
|
|
1505
|
+
* @typedef GetSearchWordsDetailResponse
|
|
1506
|
+
* @property {GetSearchWordsData} [items]
|
|
1507
|
+
* @property {Page} [page]
|
|
1430
1508
|
*/
|
|
1431
1509
|
/**
|
|
1432
1510
|
* @typedef GetSearchWordsResponse
|
|
@@ -1442,16 +1520,34 @@ export = CatalogPlatformModel;
|
|
|
1442
1520
|
* @property {string} [title]
|
|
1443
1521
|
* @property {string} [type]
|
|
1444
1522
|
*/
|
|
1445
|
-
/**
|
|
1446
|
-
* @typedef GTIN
|
|
1447
|
-
* @property {string} gtin_type
|
|
1448
|
-
* @property {string} gtin_value
|
|
1449
|
-
* @property {boolean} [primary]
|
|
1450
|
-
*/
|
|
1451
1523
|
/**
|
|
1452
1524
|
* @typedef Guide
|
|
1453
1525
|
* @property {Meta} [meta]
|
|
1454
1526
|
*/
|
|
1527
|
+
/**
|
|
1528
|
+
* @typedef HSNCodesResponse
|
|
1529
|
+
* @property {HSNData} [data]
|
|
1530
|
+
* @property {string} [message]
|
|
1531
|
+
*/
|
|
1532
|
+
/**
|
|
1533
|
+
* @typedef HSNData
|
|
1534
|
+
* @property {string[]} [country_of_origin]
|
|
1535
|
+
* @property {string[]} [hsn_code]
|
|
1536
|
+
*/
|
|
1537
|
+
/**
|
|
1538
|
+
* @typedef HSNDataInsertV2
|
|
1539
|
+
* @property {string} country_code - Country code.
|
|
1540
|
+
* @property {Object} [created_by] - Details of the user who created the HSN data.
|
|
1541
|
+
* @property {string} [created_on] - Date and time when the HSN data was created.
|
|
1542
|
+
* @property {string} description - Description of the HSN data.
|
|
1543
|
+
* @property {string} hsn_code - HSN code.
|
|
1544
|
+
* @property {string} [hsn_code_id] - Unique identifier of the HSN code.
|
|
1545
|
+
* @property {Object} [modified_by] - Details of the user who last modified the HSN data.
|
|
1546
|
+
* @property {string} [modified_on] - Date and time when the HSN data was last modified.
|
|
1547
|
+
* @property {string} reporting_hsn - HSN code.
|
|
1548
|
+
* @property {TaxSlab[]} taxes - List of tax slabs.
|
|
1549
|
+
* @property {string} type - Type of HSN data (goods or services).
|
|
1550
|
+
*/
|
|
1455
1551
|
/**
|
|
1456
1552
|
* @typedef Hierarchy
|
|
1457
1553
|
* @property {number} department - It is the unique identifier of the department
|
|
@@ -1478,47 +1574,23 @@ export = CatalogPlatformModel;
|
|
|
1478
1574
|
* @property {string} [id] - The identifier of the HSN code.
|
|
1479
1575
|
* @property {string} [modified_on] - The date and time when the HSN code was
|
|
1480
1576
|
* last modified.
|
|
1481
|
-
* @property {boolean} [tax_on_esp] - Flag indicating whether tax is applicable on ESP.
|
|
1482
|
-
* @property {boolean} [tax_on_mrp] - Flag indicating whether tax is applicable on MRP.
|
|
1483
1577
|
* @property {number} [tax1] - The first tax rate.
|
|
1484
1578
|
* @property {number} [tax2] - The second tax rate.
|
|
1579
|
+
* @property {boolean} [tax_on_esp] - Flag indicating whether tax is applicable on ESP.
|
|
1580
|
+
* @property {boolean} [tax_on_mrp] - Flag indicating whether tax is applicable on MRP.
|
|
1485
1581
|
* @property {number} [threshold1] - The threshold for the first tax rate.
|
|
1486
1582
|
* @property {number} [threshold2] - The threshold for the second tax rate.
|
|
1487
1583
|
*/
|
|
1488
|
-
/**
|
|
1489
|
-
* @typedef HSNCodesResponse
|
|
1490
|
-
* @property {HSNData} [data]
|
|
1491
|
-
* @property {string} [message]
|
|
1492
|
-
*/
|
|
1493
|
-
/**
|
|
1494
|
-
* @typedef HSNData
|
|
1495
|
-
* @property {string[]} [country_of_origin]
|
|
1496
|
-
* @property {string[]} [hsn_code]
|
|
1497
|
-
*/
|
|
1498
|
-
/**
|
|
1499
|
-
* @typedef HSNDataInsertV2
|
|
1500
|
-
* @property {string} country_code - Country code.
|
|
1501
|
-
* @property {Object} [created_by] - Details of the user who created the HSN data.
|
|
1502
|
-
* @property {string} [created_on] - Date and time when the HSN data was created.
|
|
1503
|
-
* @property {string} description - Description of the HSN data.
|
|
1504
|
-
* @property {string} hsn_code - HSN code.
|
|
1505
|
-
* @property {string} [hsn_code_id] - Unique identifier of the HSN code.
|
|
1506
|
-
* @property {Object} [modified_by] - Details of the user who last modified the HSN data.
|
|
1507
|
-
* @property {string} [modified_on] - Date and time when the HSN data was last modified.
|
|
1508
|
-
* @property {string} reporting_hsn - HSN code.
|
|
1509
|
-
* @property {TaxSlab[]} taxes - List of tax slabs.
|
|
1510
|
-
* @property {string} type - Type of HSN data (goods or services).
|
|
1511
|
-
*/
|
|
1512
1584
|
/**
|
|
1513
1585
|
* @typedef HsnUpsert
|
|
1514
1586
|
* @property {number} company_id - The ID of the company.
|
|
1515
1587
|
* @property {string} hs2_code - The HS2 code.
|
|
1516
1588
|
* @property {string} hsn_code - The HSN code.
|
|
1517
1589
|
* @property {boolean} [is_active] - Flag indicating whether the entry is active.
|
|
1518
|
-
* @property {boolean} [tax_on_esp] - Flag indicating whether tax is applicable on ESP.
|
|
1519
|
-
* @property {boolean} tax_on_mrp - Flag indicating whether tax is applicable on MRP.
|
|
1520
1590
|
* @property {number} tax1 - The first tax rate.
|
|
1521
1591
|
* @property {number} [tax2] - The second tax rate.
|
|
1592
|
+
* @property {boolean} [tax_on_esp] - Flag indicating whether tax is applicable on ESP.
|
|
1593
|
+
* @property {boolean} tax_on_mrp - Flag indicating whether tax is applicable on MRP.
|
|
1522
1594
|
* @property {number} threshold1 - The threshold for the first tax rate.
|
|
1523
1595
|
* @property {number} [threshold2] - The threshold for the second tax rate.
|
|
1524
1596
|
* @property {number} [uid] - The unique identifier.
|
|
@@ -1535,6 +1607,28 @@ export = CatalogPlatformModel;
|
|
|
1535
1607
|
* @property {BannerImage} [landscape]
|
|
1536
1608
|
* @property {BannerImage} [portrait]
|
|
1537
1609
|
*/
|
|
1610
|
+
/**
|
|
1611
|
+
* @typedef InvSize
|
|
1612
|
+
* @property {string} currency - The currency used for the item price.
|
|
1613
|
+
* @property {string} [expiration_date]
|
|
1614
|
+
* @property {GTIN[]} identifiers
|
|
1615
|
+
* @property {boolean} [is_set]
|
|
1616
|
+
* @property {string} [item_dimensions_unit_of_measure] - The unit of measure
|
|
1617
|
+
* for the item dimensions.
|
|
1618
|
+
* @property {number} [item_height] - The height of the item.
|
|
1619
|
+
* @property {number} [item_length] - The length of the item.
|
|
1620
|
+
* @property {number} [item_weight] - The weight of the item.
|
|
1621
|
+
* @property {string} [item_weight_unit_of_measure] - The unit of measure for
|
|
1622
|
+
* the item weight.
|
|
1623
|
+
* @property {number} [item_width] - The width of the item.
|
|
1624
|
+
* @property {number} [price]
|
|
1625
|
+
* @property {number} price_effective
|
|
1626
|
+
* @property {number} [price_transfer]
|
|
1627
|
+
* @property {number} quantity
|
|
1628
|
+
* @property {InventorySet} [set]
|
|
1629
|
+
* @property {string} size
|
|
1630
|
+
* @property {string} store_code
|
|
1631
|
+
*/
|
|
1538
1632
|
/**
|
|
1539
1633
|
* @typedef InventoryBulkRequest
|
|
1540
1634
|
* @property {string} batch_id
|
|
@@ -1810,28 +1904,6 @@ export = CatalogPlatformModel;
|
|
|
1810
1904
|
* @property {InvoiceCredSerializer} [e_invoice]
|
|
1811
1905
|
* @property {InvoiceCredSerializer} [e_waybill]
|
|
1812
1906
|
*/
|
|
1813
|
-
/**
|
|
1814
|
-
* @typedef InvSize
|
|
1815
|
-
* @property {string} currency - The currency used for the item price.
|
|
1816
|
-
* @property {string} [expiration_date]
|
|
1817
|
-
* @property {GTIN[]} identifiers
|
|
1818
|
-
* @property {boolean} [is_set]
|
|
1819
|
-
* @property {string} [item_dimensions_unit_of_measure] - The unit of measure
|
|
1820
|
-
* for the item dimensions.
|
|
1821
|
-
* @property {number} [item_height] - The height of the item.
|
|
1822
|
-
* @property {number} [item_length] - The length of the item.
|
|
1823
|
-
* @property {number} [item_weight] - The weight of the item.
|
|
1824
|
-
* @property {string} [item_weight_unit_of_measure] - The unit of measure for
|
|
1825
|
-
* the item weight.
|
|
1826
|
-
* @property {number} [item_width] - The width of the item.
|
|
1827
|
-
* @property {number} [price]
|
|
1828
|
-
* @property {number} price_effective
|
|
1829
|
-
* @property {number} [price_transfer]
|
|
1830
|
-
* @property {number} quantity
|
|
1831
|
-
* @property {InventorySet} [set]
|
|
1832
|
-
* @property {string} size
|
|
1833
|
-
* @property {string} store_code
|
|
1834
|
-
*/
|
|
1835
1907
|
/**
|
|
1836
1908
|
* @typedef ItemQuery
|
|
1837
1909
|
* @property {number} [brand_uid]
|
|
@@ -1913,6 +1985,12 @@ export = CatalogPlatformModel;
|
|
|
1913
1985
|
* @property {string} [secure_url]
|
|
1914
1986
|
* @property {string} [url]
|
|
1915
1987
|
*/
|
|
1988
|
+
/**
|
|
1989
|
+
* @typedef MOQData
|
|
1990
|
+
* @property {number} [increment_unit]
|
|
1991
|
+
* @property {number} [maximum]
|
|
1992
|
+
* @property {number} [minimum]
|
|
1993
|
+
*/
|
|
1916
1994
|
/**
|
|
1917
1995
|
* @typedef ManufacturerResponse
|
|
1918
1996
|
* @property {string} address - The address of the manufacturer.
|
|
@@ -1925,21 +2003,6 @@ export = CatalogPlatformModel;
|
|
|
1925
2003
|
* @property {boolean} [is_default]
|
|
1926
2004
|
* @property {string} [name]
|
|
1927
2005
|
*/
|
|
1928
|
-
/**
|
|
1929
|
-
* @typedef Marketplaces
|
|
1930
|
-
* @property {string} [_id]
|
|
1931
|
-
* @property {string} [app_id]
|
|
1932
|
-
* @property {number[]} [brand_ids]
|
|
1933
|
-
* @property {number} [company_id]
|
|
1934
|
-
* @property {CreatedBy} [created_by]
|
|
1935
|
-
* @property {Object} [created_on]
|
|
1936
|
-
* @property {boolean} [enabled]
|
|
1937
|
-
* @property {CreatedBy} [modified_by]
|
|
1938
|
-
* @property {Object} [modified_on]
|
|
1939
|
-
* @property {string} [opt_level]
|
|
1940
|
-
* @property {string} [platforms]
|
|
1941
|
-
* @property {number[]} [store_ids]
|
|
1942
|
-
*/
|
|
1943
2006
|
/**
|
|
1944
2007
|
* @typedef Media
|
|
1945
2008
|
* @property {Object} [meta]
|
|
@@ -1996,17 +2059,6 @@ export = CatalogPlatformModel;
|
|
|
1996
2059
|
* @property {string} value - The value of the metadata. Should be a non-empty
|
|
1997
2060
|
* string and length should not exceed 100 characters.
|
|
1998
2061
|
*/
|
|
1999
|
-
/**
|
|
2000
|
-
* @typedef Metatags
|
|
2001
|
-
* @property {ApplicationItemSeoMetaTags[]} [items]
|
|
2002
|
-
* @property {string} [title]
|
|
2003
|
-
*/
|
|
2004
|
-
/**
|
|
2005
|
-
* @typedef MOQData
|
|
2006
|
-
* @property {number} [increment_unit]
|
|
2007
|
-
* @property {number} [maximum]
|
|
2008
|
-
* @property {number} [minimum]
|
|
2009
|
-
*/
|
|
2010
2062
|
/**
|
|
2011
2063
|
* @typedef NetQuantity
|
|
2012
2064
|
* @property {string} [unit] - The unit of measurement used for the net quantity
|
|
@@ -2023,6 +2075,15 @@ export = CatalogPlatformModel;
|
|
|
2023
2075
|
* @property {string} [end]
|
|
2024
2076
|
* @property {string} [start]
|
|
2025
2077
|
*/
|
|
2078
|
+
/**
|
|
2079
|
+
* @typedef OptInPostRequest
|
|
2080
|
+
* @property {number[]} [brand_ids]
|
|
2081
|
+
* @property {number} [company_id]
|
|
2082
|
+
* @property {boolean} [enabled]
|
|
2083
|
+
* @property {string} opt_level
|
|
2084
|
+
* @property {string} [platform]
|
|
2085
|
+
* @property {number[]} [store_ids]
|
|
2086
|
+
*/
|
|
2026
2087
|
/**
|
|
2027
2088
|
* @typedef OptinCompanyBrandDetailsView
|
|
2028
2089
|
* @property {CompanyBrandDetail[]} [items]
|
|
@@ -2041,15 +2102,6 @@ export = CatalogPlatformModel;
|
|
|
2041
2102
|
* @property {string} [company]
|
|
2042
2103
|
* @property {number} [store]
|
|
2043
2104
|
*/
|
|
2044
|
-
/**
|
|
2045
|
-
* @typedef OptInPostRequest
|
|
2046
|
-
* @property {number[]} [brand_ids]
|
|
2047
|
-
* @property {number} [company_id]
|
|
2048
|
-
* @property {boolean} [enabled]
|
|
2049
|
-
* @property {string} opt_level
|
|
2050
|
-
* @property {string} [platform]
|
|
2051
|
-
* @property {number[]} [store_ids]
|
|
2052
|
-
*/
|
|
2053
2105
|
/**
|
|
2054
2106
|
* @typedef OptinStoreDetails
|
|
2055
2107
|
* @property {StoreDetail[]} [items]
|
|
@@ -2064,26 +2116,22 @@ export = CatalogPlatformModel;
|
|
|
2064
2116
|
* @property {SEOData} [seo]
|
|
2065
2117
|
*/
|
|
2066
2118
|
/**
|
|
2067
|
-
* @typedef
|
|
2068
|
-
* @property {
|
|
2069
|
-
* @property {
|
|
2070
|
-
* @property {
|
|
2119
|
+
* @typedef PTErrorResponse
|
|
2120
|
+
* @property {string} [code]
|
|
2121
|
+
* @property {Object} [errors]
|
|
2122
|
+
* @property {string} [message]
|
|
2123
|
+
* @property {Object} [meta]
|
|
2124
|
+
* @property {number} [status]
|
|
2125
|
+
*/
|
|
2126
|
+
/**
|
|
2127
|
+
* @typedef Page
|
|
2071
2128
|
* @property {number} [item_total]
|
|
2072
2129
|
* @property {string} [next_id]
|
|
2073
|
-
* @property {
|
|
2130
|
+
* @property {boolean} [has_previous]
|
|
2131
|
+
* @property {boolean} [has_next]
|
|
2132
|
+
* @property {number} [current]
|
|
2074
2133
|
* @property {string} type
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* @typedef Page1
|
|
2078
|
-
* @property {boolean} [ca]
|
|
2079
|
-
* @property {string} [department]
|
|
2080
|
-
* @property {number} [page_no]
|
|
2081
|
-
* @property {number} [page_size]
|
|
2082
|
-
* @property {string} [q]
|
|
2083
|
-
* @property {string} [sort]
|
|
2084
|
-
* @property {string} [sort_on]
|
|
2085
|
-
* @property {string} [type]
|
|
2086
|
-
* @property {string} [variant]
|
|
2134
|
+
* @property {number} [size]
|
|
2087
2135
|
*/
|
|
2088
2136
|
/**
|
|
2089
2137
|
* @typedef PageResponse
|
|
@@ -2383,20 +2431,6 @@ export = CatalogPlatformModel;
|
|
|
2383
2431
|
* @property {ProductDetailAttribute[]} [details]
|
|
2384
2432
|
* @property {string} [title]
|
|
2385
2433
|
*/
|
|
2386
|
-
/**
|
|
2387
|
-
* @typedef ProductDetailV2
|
|
2388
|
-
* @property {ProductBrand} [brand]
|
|
2389
|
-
* @property {boolean} [is_excluded]
|
|
2390
|
-
* @property {boolean} [is_pinned]
|
|
2391
|
-
* @property {string} [item_code]
|
|
2392
|
-
* @property {string} [item_type]
|
|
2393
|
-
* @property {Media[]} [medias]
|
|
2394
|
-
* @property {string} [name]
|
|
2395
|
-
* @property {number} [priority]
|
|
2396
|
-
* @property {string} [short_description]
|
|
2397
|
-
* @property {string} slug
|
|
2398
|
-
* @property {number} [uid]
|
|
2399
|
-
*/
|
|
2400
2434
|
/**
|
|
2401
2435
|
* @typedef ProductDownloadsResponse
|
|
2402
2436
|
* @property {ProductTemplateExportResponse[]} [items] - The items of the job.
|
|
@@ -2406,6 +2440,15 @@ export = CatalogPlatformModel;
|
|
|
2406
2440
|
* @property {ProductFiltersKey} key
|
|
2407
2441
|
* @property {ProductFiltersValue[]} values
|
|
2408
2442
|
*/
|
|
2443
|
+
/**
|
|
2444
|
+
* @typedef GetQueryFiltersValuesResponse
|
|
2445
|
+
* @property {ProductFiltersValue[]} values
|
|
2446
|
+
* @property {Page} page
|
|
2447
|
+
*/
|
|
2448
|
+
/**
|
|
2449
|
+
* @typedef ProductFiltersKeysOnly
|
|
2450
|
+
* @property {ProductFiltersKey} key
|
|
2451
|
+
*/
|
|
2409
2452
|
/**
|
|
2410
2453
|
* @typedef ProductFiltersKey
|
|
2411
2454
|
* @property {string} display
|
|
@@ -2488,17 +2531,17 @@ export = CatalogPlatformModel;
|
|
|
2488
2531
|
* @property {boolean} [is_set]
|
|
2489
2532
|
* @property {number} [product_online_date]
|
|
2490
2533
|
*/
|
|
2534
|
+
/**
|
|
2535
|
+
* @typedef ProductReturnConfigSerializer
|
|
2536
|
+
* @property {boolean} [on_same_store]
|
|
2537
|
+
* @property {number} [store_uid]
|
|
2538
|
+
*/
|
|
2491
2539
|
/**
|
|
2492
2540
|
* @typedef ProductReturnConfigBaseSerializer
|
|
2493
2541
|
* @property {boolean} returnable - Boolean Flag for item returnable
|
|
2494
2542
|
* @property {number} time - Valid return time for an item
|
|
2495
2543
|
* @property {string} unit - Unit of return config days|hours
|
|
2496
2544
|
*/
|
|
2497
|
-
/**
|
|
2498
|
-
* @typedef ProductReturnConfigSerializer
|
|
2499
|
-
* @property {boolean} [on_same_store]
|
|
2500
|
-
* @property {number} [store_uid]
|
|
2501
|
-
*/
|
|
2502
2545
|
/**
|
|
2503
2546
|
* @typedef ProductSchemaV2
|
|
2504
2547
|
* @property {Object} [_custom_json]
|
|
@@ -2687,14 +2730,6 @@ export = CatalogPlatformModel;
|
|
|
2687
2730
|
* @property {Object} [trader_type]
|
|
2688
2731
|
* @property {Object} [variants]
|
|
2689
2732
|
*/
|
|
2690
|
-
/**
|
|
2691
|
-
* @typedef PTErrorResponse
|
|
2692
|
-
* @property {string} [code]
|
|
2693
|
-
* @property {Object} [errors]
|
|
2694
|
-
* @property {string} [message]
|
|
2695
|
-
* @property {Object} [meta]
|
|
2696
|
-
* @property {number} [status]
|
|
2697
|
-
*/
|
|
2698
2733
|
/**
|
|
2699
2734
|
* @typedef Quantities
|
|
2700
2735
|
* @property {QuantityBase} [damaged]
|
|
@@ -2718,76 +2753,6 @@ export = CatalogPlatformModel;
|
|
|
2718
2753
|
* @property {number} [count]
|
|
2719
2754
|
* @property {string} [updated_at]
|
|
2720
2755
|
*/
|
|
2721
|
-
/**
|
|
2722
|
-
* @typedef RawProduct
|
|
2723
|
-
* @property {Object} [_custom_json]
|
|
2724
|
-
* @property {number[]} [all_company_ids]
|
|
2725
|
-
* @property {string[]} [all_identifiers]
|
|
2726
|
-
* @property {Object[]} [all_sizes]
|
|
2727
|
-
* @property {Object} [attributes]
|
|
2728
|
-
* @property {Brand} [brand]
|
|
2729
|
-
* @property {number} [brand_uid]
|
|
2730
|
-
* @property {Object} [category]
|
|
2731
|
-
* @property {string} [category_slug]
|
|
2732
|
-
* @property {number} [category_uid]
|
|
2733
|
-
* @property {string} [color]
|
|
2734
|
-
* @property {number} [company_id]
|
|
2735
|
-
* @property {string} [country_of_origin]
|
|
2736
|
-
* @property {Object} [created_by]
|
|
2737
|
-
* @property {string} [created_on]
|
|
2738
|
-
* @property {string} [currency]
|
|
2739
|
-
* @property {Object} [custom_order]
|
|
2740
|
-
* @property {number[]} [departments]
|
|
2741
|
-
* @property {string} [description]
|
|
2742
|
-
* @property {string[]} [highlights]
|
|
2743
|
-
* @property {string} [hsn_code]
|
|
2744
|
-
* @property {string} [id]
|
|
2745
|
-
* @property {string} [image_nature]
|
|
2746
|
-
* @property {string[]} [images]
|
|
2747
|
-
* @property {boolean} [is_active]
|
|
2748
|
-
* @property {boolean} [is_dependent]
|
|
2749
|
-
* @property {boolean} [is_expirable]
|
|
2750
|
-
* @property {boolean} [is_image_less_product]
|
|
2751
|
-
* @property {boolean} [is_physical]
|
|
2752
|
-
* @property {boolean} [is_set]
|
|
2753
|
-
* @property {string} [item_code]
|
|
2754
|
-
* @property {string} [item_type]
|
|
2755
|
-
* @property {string[]} [l3_mapping]
|
|
2756
|
-
* @property {Media[]} [media]
|
|
2757
|
-
* @property {Object} [modified_by]
|
|
2758
|
-
* @property {string} [modified_on]
|
|
2759
|
-
* @property {Object} [moq]
|
|
2760
|
-
* @property {boolean} [multi_size]
|
|
2761
|
-
* @property {string} [name]
|
|
2762
|
-
* @property {NetQuantityResponse} [net_quantity]
|
|
2763
|
-
* @property {number} [no_of_boxes]
|
|
2764
|
-
* @property {string} [pending]
|
|
2765
|
-
* @property {string} [primary_color]
|
|
2766
|
-
* @property {string[]} [product_group_tag]
|
|
2767
|
-
* @property {ProductPublished} [product_publish]
|
|
2768
|
-
* @property {ReturnConfigResponse} [return_config]
|
|
2769
|
-
* @property {string} [short_description]
|
|
2770
|
-
* @property {string} [size_guide]
|
|
2771
|
-
* @property {Object[]} [sizes]
|
|
2772
|
-
* @property {string} [slug]
|
|
2773
|
-
* @property {string} [stage]
|
|
2774
|
-
* @property {string[]} [tags]
|
|
2775
|
-
* @property {Object} [tax_identifier]
|
|
2776
|
-
* @property {Object} [teaser_tag]
|
|
2777
|
-
* @property {string} [template_tag]
|
|
2778
|
-
* @property {Trader[]} [trader]
|
|
2779
|
-
* @property {number} [uid]
|
|
2780
|
-
* @property {Object} [variant_group]
|
|
2781
|
-
* @property {Object} [variant_media]
|
|
2782
|
-
* @property {Object} [variants]
|
|
2783
|
-
* @property {VerifiedBy} [verified_by]
|
|
2784
|
-
* @property {string} [verified_on]
|
|
2785
|
-
*/
|
|
2786
|
-
/**
|
|
2787
|
-
* @typedef RawProductListingResponse
|
|
2788
|
-
* @property {RawProduct[]} [items]
|
|
2789
|
-
* @property {Page} [page]
|
|
2790
|
-
*/
|
|
2791
2756
|
/**
|
|
2792
2757
|
* @typedef ReturnConfig
|
|
2793
2758
|
* @property {boolean} returnable
|
|
@@ -2812,6 +2777,55 @@ export = CatalogPlatformModel;
|
|
|
2812
2777
|
* @property {number} [time]
|
|
2813
2778
|
* @property {string} [unit]
|
|
2814
2779
|
*/
|
|
2780
|
+
/**
|
|
2781
|
+
* @typedef Sitemap
|
|
2782
|
+
* @property {number} [priority]
|
|
2783
|
+
* @property {string} [frequency]
|
|
2784
|
+
*/
|
|
2785
|
+
/**
|
|
2786
|
+
* @typedef ApplicationItemSeoAction
|
|
2787
|
+
* @property {Object} [page]
|
|
2788
|
+
* @property {string} [type]
|
|
2789
|
+
*/
|
|
2790
|
+
/**
|
|
2791
|
+
* @typedef ApplicationItemSeoBreadcrumbs
|
|
2792
|
+
* @property {string} [url]
|
|
2793
|
+
* @property {ApplicationItemSeoAction[]} [action]
|
|
2794
|
+
*/
|
|
2795
|
+
/**
|
|
2796
|
+
* @typedef ApplicationItemSeoMetaTagItem
|
|
2797
|
+
* @property {string} [key]
|
|
2798
|
+
* @property {string} [value]
|
|
2799
|
+
*/
|
|
2800
|
+
/**
|
|
2801
|
+
* @typedef ApplicationItemSeoMetaTags
|
|
2802
|
+
* @property {string} [title]
|
|
2803
|
+
* @property {ApplicationItemSeoMetaTagItem[]} [items]
|
|
2804
|
+
*/
|
|
2805
|
+
/**
|
|
2806
|
+
* @typedef Metatags
|
|
2807
|
+
* @property {string} [title]
|
|
2808
|
+
* @property {ApplicationItemSeoMetaTags[]} [items]
|
|
2809
|
+
*/
|
|
2810
|
+
/**
|
|
2811
|
+
* @typedef SizePromotionThreshold
|
|
2812
|
+
* @property {string} [threshold_type]
|
|
2813
|
+
* @property {number} [threshold_value]
|
|
2814
|
+
*/
|
|
2815
|
+
/**
|
|
2816
|
+
* @typedef SEOData
|
|
2817
|
+
* @property {string} [description]
|
|
2818
|
+
* @property {string} [title]
|
|
2819
|
+
* @property {Sitemap} [sitemap]
|
|
2820
|
+
* @property {ApplicationItemSeoBreadcrumbs[]} [breadcrumbs]
|
|
2821
|
+
* @property {Metatags[]} [meta_tags]
|
|
2822
|
+
* @property {string} [canonical_url]
|
|
2823
|
+
*/
|
|
2824
|
+
/**
|
|
2825
|
+
* @typedef SearchKeywordResult
|
|
2826
|
+
* @property {Object} query
|
|
2827
|
+
* @property {string} sort_on
|
|
2828
|
+
*/
|
|
2815
2829
|
/**
|
|
2816
2830
|
* @typedef SearchableAttribute
|
|
2817
2831
|
* @property {string} key - The attribute key to search on. This key matches the
|
|
@@ -2821,11 +2835,6 @@ export = CatalogPlatformModel;
|
|
|
2821
2835
|
* @property {number} priority - Order in which the searchable attribute should
|
|
2822
2836
|
* kick in. Higher the priority, higher the weight considered while searching
|
|
2823
2837
|
*/
|
|
2824
|
-
/**
|
|
2825
|
-
* @typedef SearchKeywordResult
|
|
2826
|
-
* @property {Object} query
|
|
2827
|
-
* @property {string} sort_on
|
|
2828
|
-
*/
|
|
2829
2838
|
/**
|
|
2830
2839
|
* @typedef SecondLevelChild
|
|
2831
2840
|
* @property {Object} [_custom_json]
|
|
@@ -2842,22 +2851,13 @@ export = CatalogPlatformModel;
|
|
|
2842
2851
|
* @property {string} number
|
|
2843
2852
|
*/
|
|
2844
2853
|
/**
|
|
2845
|
-
* @typedef
|
|
2846
|
-
* @property {ApplicationItemSeoBreadcrumbs[]} [breadcrumbs]
|
|
2847
|
-
* @property {string} [canonical_url]
|
|
2854
|
+
* @typedef SeoDetail
|
|
2848
2855
|
* @property {string} [description]
|
|
2849
|
-
* @property {Metatags[]} [meta_tags]
|
|
2850
|
-
* @property {Sitemap} [sitemap]
|
|
2851
2856
|
* @property {string} [title]
|
|
2852
|
-
|
|
2853
|
-
/**
|
|
2854
|
-
* @typedef SeoDetail
|
|
2857
|
+
* @property {Object} [sitemap]
|
|
2855
2858
|
* @property {ApplicationItemSeoBreadcrumbs[]} [breadcrumbs]
|
|
2856
|
-
* @property {string} [canonical_url]
|
|
2857
|
-
* @property {string} [description]
|
|
2858
2859
|
* @property {Metatags[]} [meta_tags]
|
|
2859
|
-
* @property {
|
|
2860
|
-
* @property {string} [title]
|
|
2860
|
+
* @property {string} [canonical_url]
|
|
2861
2861
|
*/
|
|
2862
2862
|
/**
|
|
2863
2863
|
* @typedef SetSize
|
|
@@ -2872,11 +2872,6 @@ export = CatalogPlatformModel;
|
|
|
2872
2872
|
* @typedef SingleProductResponse
|
|
2873
2873
|
* @property {ProductSchemaV2} [data]
|
|
2874
2874
|
*/
|
|
2875
|
-
/**
|
|
2876
|
-
* @typedef Sitemap
|
|
2877
|
-
* @property {string} [frequency]
|
|
2878
|
-
* @property {number} [priority]
|
|
2879
|
-
*/
|
|
2880
2875
|
/**
|
|
2881
2876
|
* @typedef Size
|
|
2882
2877
|
* @property {string} [display]
|
|
@@ -2904,11 +2899,6 @@ export = CatalogPlatformModel;
|
|
|
2904
2899
|
* @property {string} [tag]
|
|
2905
2900
|
* @property {string} [title]
|
|
2906
2901
|
*/
|
|
2907
|
-
/**
|
|
2908
|
-
* @typedef SizePromotionThreshold
|
|
2909
|
-
* @property {string} [threshold_type]
|
|
2910
|
-
* @property {number} [threshold_value]
|
|
2911
|
-
*/
|
|
2912
2902
|
/**
|
|
2913
2903
|
* @typedef StoreAssignResponse
|
|
2914
2904
|
* @property {string} [_id]
|
|
@@ -2992,6 +2982,11 @@ export = CatalogPlatformModel;
|
|
|
2992
2982
|
* @property {string} slug
|
|
2993
2983
|
* @property {string} [tag]
|
|
2994
2984
|
*/
|
|
2985
|
+
/**
|
|
2986
|
+
* @typedef TemplateValidationData
|
|
2987
|
+
* @property {GlobalValidation} [global_validation]
|
|
2988
|
+
* @property {Object} [template_validation]
|
|
2989
|
+
*/
|
|
2995
2990
|
/**
|
|
2996
2991
|
* @typedef TemplatesResponse
|
|
2997
2992
|
* @property {ProductTemplate} [items]
|
|
@@ -3002,11 +2997,6 @@ export = CatalogPlatformModel;
|
|
|
3002
2997
|
* @property {TemplateValidationData} [data]
|
|
3003
2998
|
* @property {TemplateDetails} [template_details]
|
|
3004
2999
|
*/
|
|
3005
|
-
/**
|
|
3006
|
-
* @typedef TemplateValidationData
|
|
3007
|
-
* @property {GlobalValidation} [global_validation]
|
|
3008
|
-
* @property {Object} [template_validation]
|
|
3009
|
-
*/
|
|
3010
3000
|
/**
|
|
3011
3001
|
* @typedef ThirdLevelChild
|
|
3012
3002
|
* @property {Object} [_custom_json]
|
|
@@ -3061,32 +3051,6 @@ export = CatalogPlatformModel;
|
|
|
3061
3051
|
* @property {string} [type]
|
|
3062
3052
|
* @property {string[]} [visible_facets_keys]
|
|
3063
3053
|
*/
|
|
3064
|
-
/**
|
|
3065
|
-
* @typedef UpdatedResponse
|
|
3066
|
-
* @property {number[]} [items_not_updated]
|
|
3067
|
-
* @property {string} [message]
|
|
3068
|
-
*/
|
|
3069
|
-
/**
|
|
3070
|
-
* @typedef UpdateMarketplaceOptinRequest
|
|
3071
|
-
* @property {number[]} [brand_ids]
|
|
3072
|
-
* @property {number} [company_id]
|
|
3073
|
-
* @property {boolean} [enabled]
|
|
3074
|
-
* @property {string} [opt_level]
|
|
3075
|
-
* @property {string} [platform]
|
|
3076
|
-
* @property {number[]} [store_ids]
|
|
3077
|
-
*/
|
|
3078
|
-
/**
|
|
3079
|
-
* @typedef UpdateMarketplaceOptinResponse
|
|
3080
|
-
* @property {string} [app_id]
|
|
3081
|
-
* @property {number[]} [brand_ids]
|
|
3082
|
-
* @property {number} [company_id]
|
|
3083
|
-
* @property {CreatedBy} [created_by]
|
|
3084
|
-
* @property {boolean} [enabled]
|
|
3085
|
-
* @property {CreatedBy} [modified_by]
|
|
3086
|
-
* @property {string} [opt_level]
|
|
3087
|
-
* @property {string} [platform]
|
|
3088
|
-
* @property {number[]} [store_ids]
|
|
3089
|
-
*/
|
|
3090
3054
|
/**
|
|
3091
3055
|
* @typedef UpdateSearchConfigurationRequest
|
|
3092
3056
|
* @property {string} application_id - The application id where custom search
|
|
@@ -3111,10 +3075,15 @@ export = CatalogPlatformModel;
|
|
|
3111
3075
|
* @property {boolean} [success]
|
|
3112
3076
|
*/
|
|
3113
3077
|
/**
|
|
3114
|
-
* @typedef
|
|
3115
|
-
* @property {number} [
|
|
3116
|
-
* @property {string} [
|
|
3117
|
-
|
|
3078
|
+
* @typedef UpdatedResponse
|
|
3079
|
+
* @property {number[]} [items_not_updated]
|
|
3080
|
+
* @property {string} [message]
|
|
3081
|
+
*/
|
|
3082
|
+
/**
|
|
3083
|
+
* @typedef UserCommon
|
|
3084
|
+
* @property {number} [company_id]
|
|
3085
|
+
* @property {string} [user_id]
|
|
3086
|
+
* @property {string} [username]
|
|
3118
3087
|
*/
|
|
3119
3088
|
/**
|
|
3120
3089
|
* @typedef UserDetail
|
|
@@ -3213,6 +3182,52 @@ export = CatalogPlatformModel;
|
|
|
3213
3182
|
* @property {number} [shipping]
|
|
3214
3183
|
* @property {string} [unit]
|
|
3215
3184
|
*/
|
|
3185
|
+
/**
|
|
3186
|
+
* @typedef CreatedBy
|
|
3187
|
+
* @property {string} [username]
|
|
3188
|
+
* @property {string} [user_id]
|
|
3189
|
+
*/
|
|
3190
|
+
/**
|
|
3191
|
+
* @typedef Marketplaces
|
|
3192
|
+
* @property {number[]} [brand_ids]
|
|
3193
|
+
* @property {string} [app_id]
|
|
3194
|
+
* @property {boolean} [enabled]
|
|
3195
|
+
* @property {CreatedBy} [created_by]
|
|
3196
|
+
* @property {Object} [created_on]
|
|
3197
|
+
* @property {string} [opt_level]
|
|
3198
|
+
* @property {number} [company_id]
|
|
3199
|
+
* @property {CreatedBy} [modified_by]
|
|
3200
|
+
* @property {number[]} [store_ids]
|
|
3201
|
+
* @property {Object} [modified_on]
|
|
3202
|
+
* @property {string} [platforms]
|
|
3203
|
+
* @property {string} [_id]
|
|
3204
|
+
*/
|
|
3205
|
+
/**
|
|
3206
|
+
* @typedef GetAllMarketplaces
|
|
3207
|
+
* @property {Marketplaces[]} [items]
|
|
3208
|
+
* @property {Page} [page]
|
|
3209
|
+
*/
|
|
3210
|
+
/**
|
|
3211
|
+
* @typedef UpdateMarketplaceOptinRequest
|
|
3212
|
+
* @property {number[]} [brand_ids]
|
|
3213
|
+
* @property {number} [company_id]
|
|
3214
|
+
* @property {boolean} [enabled]
|
|
3215
|
+
* @property {string} [opt_level]
|
|
3216
|
+
* @property {string} [platform]
|
|
3217
|
+
* @property {number[]} [store_ids]
|
|
3218
|
+
*/
|
|
3219
|
+
/**
|
|
3220
|
+
* @typedef UpdateMarketplaceOptinResponse
|
|
3221
|
+
* @property {number[]} [brand_ids]
|
|
3222
|
+
* @property {number} [company_id]
|
|
3223
|
+
* @property {string} [app_id]
|
|
3224
|
+
* @property {boolean} [enabled]
|
|
3225
|
+
* @property {string} [opt_level]
|
|
3226
|
+
* @property {string} [platform]
|
|
3227
|
+
* @property {number[]} [store_ids]
|
|
3228
|
+
* @property {CreatedBy} [created_by]
|
|
3229
|
+
* @property {CreatedBy} [modified_by]
|
|
3230
|
+
*/
|
|
3216
3231
|
/**
|
|
3217
3232
|
* @typedef {| "about-us"
|
|
3218
3233
|
* | "addresses"
|
|
@@ -3264,7 +3279,7 @@ export = CatalogPlatformModel;
|
|
|
3264
3279
|
declare class CatalogPlatformModel {
|
|
3265
3280
|
}
|
|
3266
3281
|
declare namespace CatalogPlatformModel {
|
|
3267
|
-
export { Action, ActionPage,
|
|
3282
|
+
export { Action, ActionPage, AllSizes, AllowSingleRequest, AppCatalogConfiguration, AppCategoryReturnConfig, AppCategoryReturnConfigResponse, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMOQ, ApplicationItemMeta, ApplicationItemSEO, ApplicationProductListingResponse, ApplicationStoreJson, AppReturnConfigResponse, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutoCompleteMedia, AutocompleteAction, 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, RawProduct, RawProductListingResponse, GTIN, 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, GetCollectionDetailResponse, CommonResponseSchemaCollection, GetQueryFiltersKeysResponse, GetQueryFiltersResponse, GetCollectionItemsResponseSchemaV2, Page1, CollectionItemSchemaV2, CollectionItemUpdateSchemaV2, CollectionQuerySchemaV2, ProductDetailV2, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, Guide, HSNCodesResponse, HSNData, HSNDataInsertV2, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HsnUpsert, Image, ImageUrls, InvSize, 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, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, MOQData, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, NetQuantity, NetQuantityResponse, NextSchedule, OptInPostRequest, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptinStoreDetails, OwnerAppItemResponse, PTErrorResponse, 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, GetQueryFiltersValuesResponse, ProductFiltersKeysOnly, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductReturnConfigBaseSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, Quantities, QuantitiesArticle, Quantity, QuantityBase, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, Sitemap, ApplicationItemSeoAction, ApplicationItemSeoBreadcrumbs, ApplicationItemSeoMetaTagItem, ApplicationItemSeoMetaTags, Metatags, SizePromotionThreshold, SEOData, SearchKeywordResult, SearchableAttribute, SecondLevelChild, SellerPhoneNumber, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Size, SizeDistribution, SizeGuideResponse, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplateValidationData, TemplatesResponse, TemplatesValidationResponse, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse, UpdatedResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, CreatedBy, Marketplaces, GetAllMarketplaces, UpdateMarketplaceOptinRequest, UpdateMarketplaceOptinResponse, PageType };
|
|
3268
3283
|
}
|
|
3269
3284
|
/** @returns {Action} */
|
|
3270
3285
|
declare function Action(): Action;
|
|
@@ -3278,13 +3293,8 @@ declare function ActionPage(): ActionPage;
|
|
|
3278
3293
|
type ActionPage = {
|
|
3279
3294
|
params?: any;
|
|
3280
3295
|
query?: any;
|
|
3281
|
-
type: PageType;
|
|
3282
3296
|
url?: string;
|
|
3283
|
-
|
|
3284
|
-
/** @returns {AllowSingleRequest} */
|
|
3285
|
-
declare function AllowSingleRequest(): AllowSingleRequest;
|
|
3286
|
-
type AllowSingleRequest = {
|
|
3287
|
-
allow_single: boolean;
|
|
3297
|
+
type: PageType;
|
|
3288
3298
|
};
|
|
3289
3299
|
/** @returns {AllSizes} */
|
|
3290
3300
|
declare function AllSizes(): AllSizes;
|
|
@@ -3298,6 +3308,11 @@ type AllSizes = {
|
|
|
3298
3308
|
item_width: number;
|
|
3299
3309
|
size: string;
|
|
3300
3310
|
};
|
|
3311
|
+
/** @returns {AllowSingleRequest} */
|
|
3312
|
+
declare function AllowSingleRequest(): AllowSingleRequest;
|
|
3313
|
+
type AllowSingleRequest = {
|
|
3314
|
+
allow_single: boolean;
|
|
3315
|
+
};
|
|
3301
3316
|
/** @returns {AppCatalogConfiguration} */
|
|
3302
3317
|
declare function AppCatalogConfiguration(): AppCatalogConfiguration;
|
|
3303
3318
|
type AppCatalogConfiguration = {
|
|
@@ -3414,6 +3429,23 @@ type ApplicationDepartmentListingResponse = {
|
|
|
3414
3429
|
items?: ApplicationDepartment[];
|
|
3415
3430
|
page: Page;
|
|
3416
3431
|
};
|
|
3432
|
+
/** @returns {ApplicationItemMOQ} */
|
|
3433
|
+
declare function ApplicationItemMOQ(): ApplicationItemMOQ;
|
|
3434
|
+
type ApplicationItemMOQ = {
|
|
3435
|
+
/**
|
|
3436
|
+
* - The minimum quantity increment in which
|
|
3437
|
+
* the item can be purchased.
|
|
3438
|
+
*/
|
|
3439
|
+
increment_unit?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* - The maximum quantity allowed for purchase.
|
|
3442
|
+
*/
|
|
3443
|
+
maximum?: number;
|
|
3444
|
+
/**
|
|
3445
|
+
* - The minimum quantity required for purchase.
|
|
3446
|
+
*/
|
|
3447
|
+
minimum?: number;
|
|
3448
|
+
};
|
|
3417
3449
|
/** @returns {ApplicationItemMeta} */
|
|
3418
3450
|
declare function ApplicationItemMeta(): ApplicationItemMeta;
|
|
3419
3451
|
type ApplicationItemMeta = {
|
|
@@ -3453,23 +3485,6 @@ type ApplicationItemMeta = {
|
|
|
3453
3485
|
*/
|
|
3454
3486
|
size_promotion_threshold?: SizePromotionThreshold;
|
|
3455
3487
|
};
|
|
3456
|
-
/** @returns {ApplicationItemMOQ} */
|
|
3457
|
-
declare function ApplicationItemMOQ(): ApplicationItemMOQ;
|
|
3458
|
-
type ApplicationItemMOQ = {
|
|
3459
|
-
/**
|
|
3460
|
-
* - The minimum quantity increment in which
|
|
3461
|
-
* the item can be purchased.
|
|
3462
|
-
*/
|
|
3463
|
-
increment_unit?: number;
|
|
3464
|
-
/**
|
|
3465
|
-
* - The maximum quantity allowed for purchase.
|
|
3466
|
-
*/
|
|
3467
|
-
maximum?: number;
|
|
3468
|
-
/**
|
|
3469
|
-
* - The minimum quantity required for purchase.
|
|
3470
|
-
*/
|
|
3471
|
-
minimum?: number;
|
|
3472
|
-
};
|
|
3473
3488
|
/** @returns {ApplicationItemSEO} */
|
|
3474
3489
|
declare function ApplicationItemSEO(): ApplicationItemSEO;
|
|
3475
3490
|
type ApplicationItemSEO = {
|
|
@@ -3482,30 +3497,6 @@ type ApplicationItemSEO = {
|
|
|
3482
3497
|
*/
|
|
3483
3498
|
title?: string;
|
|
3484
3499
|
};
|
|
3485
|
-
/** @returns {ApplicationItemSeoAction} */
|
|
3486
|
-
declare function ApplicationItemSeoAction(): ApplicationItemSeoAction;
|
|
3487
|
-
type ApplicationItemSeoAction = {
|
|
3488
|
-
page?: any;
|
|
3489
|
-
type?: string;
|
|
3490
|
-
};
|
|
3491
|
-
/** @returns {ApplicationItemSeoBreadcrumbs} */
|
|
3492
|
-
declare function ApplicationItemSeoBreadcrumbs(): ApplicationItemSeoBreadcrumbs;
|
|
3493
|
-
type ApplicationItemSeoBreadcrumbs = {
|
|
3494
|
-
action?: ApplicationItemSeoAction[];
|
|
3495
|
-
url?: string;
|
|
3496
|
-
};
|
|
3497
|
-
/** @returns {ApplicationItemSeoMetaTagItem} */
|
|
3498
|
-
declare function ApplicationItemSeoMetaTagItem(): ApplicationItemSeoMetaTagItem;
|
|
3499
|
-
type ApplicationItemSeoMetaTagItem = {
|
|
3500
|
-
key?: string;
|
|
3501
|
-
value?: string;
|
|
3502
|
-
};
|
|
3503
|
-
/** @returns {ApplicationItemSeoMetaTags} */
|
|
3504
|
-
declare function ApplicationItemSeoMetaTags(): ApplicationItemSeoMetaTags;
|
|
3505
|
-
type ApplicationItemSeoMetaTags = {
|
|
3506
|
-
items?: ApplicationItemSeoMetaTagItem[];
|
|
3507
|
-
title?: string;
|
|
3508
|
-
};
|
|
3509
3500
|
/** @returns {ApplicationProductListingResponse} */
|
|
3510
3501
|
declare function ApplicationProductListingResponse(): ApplicationProductListingResponse;
|
|
3511
3502
|
type ApplicationProductListingResponse = {
|
|
@@ -3676,12 +3667,6 @@ type AttributeSchemaRange = {
|
|
|
3676
3667
|
max?: number;
|
|
3677
3668
|
min?: number;
|
|
3678
3669
|
};
|
|
3679
|
-
/** @returns {AutocompleteAction} */
|
|
3680
|
-
declare function AutocompleteAction(): AutocompleteAction;
|
|
3681
|
-
type AutocompleteAction = {
|
|
3682
|
-
page?: AutocompletePageAction;
|
|
3683
|
-
type?: string;
|
|
3684
|
-
};
|
|
3685
3670
|
/** @returns {AutoCompleteMedia} */
|
|
3686
3671
|
declare function AutoCompleteMedia(): AutoCompleteMedia;
|
|
3687
3672
|
type AutoCompleteMedia = {
|
|
@@ -3689,6 +3674,12 @@ type AutoCompleteMedia = {
|
|
|
3689
3674
|
type?: string;
|
|
3690
3675
|
url?: string;
|
|
3691
3676
|
};
|
|
3677
|
+
/** @returns {AutocompleteAction} */
|
|
3678
|
+
declare function AutocompleteAction(): AutocompleteAction;
|
|
3679
|
+
type AutocompleteAction = {
|
|
3680
|
+
page?: AutocompletePageAction;
|
|
3681
|
+
type?: string;
|
|
3682
|
+
};
|
|
3692
3683
|
/** @returns {AutocompletePageAction} */
|
|
3693
3684
|
declare function AutocompletePageAction(): AutocompletePageAction;
|
|
3694
3685
|
type AutocompletePageAction = {
|
|
@@ -4150,6 +4141,7 @@ type CollectionBanner = {
|
|
|
4150
4141
|
/** @returns {CollectionCreateResponse} */
|
|
4151
4142
|
declare function CollectionCreateResponse(): CollectionCreateResponse;
|
|
4152
4143
|
type CollectionCreateResponse = {
|
|
4144
|
+
uid?: string;
|
|
4153
4145
|
_schedule?: any;
|
|
4154
4146
|
allow_facets?: boolean;
|
|
4155
4147
|
allow_sort?: boolean;
|
|
@@ -4168,7 +4160,6 @@ type CollectionCreateResponse = {
|
|
|
4168
4160
|
sort_on?: string;
|
|
4169
4161
|
tag?: string[];
|
|
4170
4162
|
type?: string;
|
|
4171
|
-
uid?: string;
|
|
4172
4163
|
visible_facets_keys?: string[];
|
|
4173
4164
|
};
|
|
4174
4165
|
/** @returns {CollectionDetailResponse} */
|
|
@@ -4207,13 +4198,6 @@ type CollectionItem = {
|
|
|
4207
4198
|
item_id: number;
|
|
4208
4199
|
priority?: number;
|
|
4209
4200
|
};
|
|
4210
|
-
/** @returns {CollectionItemSchemaV2} */
|
|
4211
|
-
declare function CollectionItemSchemaV2(): CollectionItemSchemaV2;
|
|
4212
|
-
type CollectionItemSchemaV2 = {
|
|
4213
|
-
action: string;
|
|
4214
|
-
item_id: number;
|
|
4215
|
-
priority?: number;
|
|
4216
|
-
};
|
|
4217
4201
|
/** @returns {CollectionItemUpdate} */
|
|
4218
4202
|
declare function CollectionItemUpdate(): CollectionItemUpdate;
|
|
4219
4203
|
type CollectionItemUpdate = {
|
|
@@ -4224,16 +4208,6 @@ type CollectionItemUpdate = {
|
|
|
4224
4208
|
type?: string;
|
|
4225
4209
|
visible_facets_keys?: string[];
|
|
4226
4210
|
};
|
|
4227
|
-
/** @returns {CollectionItemUpdateSchemaV2} */
|
|
4228
|
-
declare function CollectionItemUpdateSchemaV2(): CollectionItemUpdateSchemaV2;
|
|
4229
|
-
type CollectionItemUpdateSchemaV2 = {
|
|
4230
|
-
allow_facets?: boolean;
|
|
4231
|
-
allow_sort?: boolean;
|
|
4232
|
-
items?: CollectionItemSchemaV2[];
|
|
4233
|
-
query?: CollectionQuerySchemaV2[];
|
|
4234
|
-
type: string;
|
|
4235
|
-
visible_facets_keys?: string[];
|
|
4236
|
-
};
|
|
4237
4211
|
/** @returns {CollectionListingFilter} */
|
|
4238
4212
|
declare function CollectionListingFilter(): CollectionListingFilter;
|
|
4239
4213
|
type CollectionListingFilter = {
|
|
@@ -4271,23 +4245,6 @@ type CollectionQuery = {
|
|
|
4271
4245
|
*/
|
|
4272
4246
|
value: any[];
|
|
4273
4247
|
};
|
|
4274
|
-
/** @returns {CollectionQuerySchemaV2} */
|
|
4275
|
-
declare function CollectionQuerySchemaV2(): CollectionQuerySchemaV2;
|
|
4276
|
-
type CollectionQuerySchemaV2 = {
|
|
4277
|
-
/**
|
|
4278
|
-
* - The attribute of the collection query
|
|
4279
|
-
*/
|
|
4280
|
-
attribute: string;
|
|
4281
|
-
/**
|
|
4282
|
-
* - The operation to be performed on the attribute of the
|
|
4283
|
-
* collection query
|
|
4284
|
-
*/
|
|
4285
|
-
op: string;
|
|
4286
|
-
/**
|
|
4287
|
-
* - The value of the attribute of the collection query
|
|
4288
|
-
*/
|
|
4289
|
-
value: any[];
|
|
4290
|
-
};
|
|
4291
4248
|
/** @returns {CollectionSchedule} */
|
|
4292
4249
|
declare function CollectionSchedule(): CollectionSchedule;
|
|
4293
4250
|
type CollectionSchedule = {
|
|
@@ -4297,11 +4254,6 @@ type CollectionSchedule = {
|
|
|
4297
4254
|
next_schedule?: NextSchedule[];
|
|
4298
4255
|
start?: string;
|
|
4299
4256
|
};
|
|
4300
|
-
/** @returns {CommonResponseSchemaCollection} */
|
|
4301
|
-
declare function CommonResponseSchemaCollection(): CommonResponseSchemaCollection;
|
|
4302
|
-
type CommonResponseSchemaCollection = {
|
|
4303
|
-
message?: string;
|
|
4304
|
-
};
|
|
4305
4257
|
/** @returns {CompanyBrandDetail} */
|
|
4306
4258
|
declare function CompanyBrandDetail(): CompanyBrandDetail;
|
|
4307
4259
|
type CompanyBrandDetail = {
|
|
@@ -4485,12 +4437,6 @@ type CreateCollection = {
|
|
|
4485
4437
|
type: string;
|
|
4486
4438
|
visible_facets_keys?: string[];
|
|
4487
4439
|
};
|
|
4488
|
-
/** @returns {CreatedBy} */
|
|
4489
|
-
declare function CreatedBy(): CreatedBy;
|
|
4490
|
-
type CreatedBy = {
|
|
4491
|
-
user_id?: string;
|
|
4492
|
-
username?: string;
|
|
4493
|
-
};
|
|
4494
4440
|
/** @returns {CreateSearchConfigurationRequest} */
|
|
4495
4441
|
declare function CreateSearchConfigurationRequest(): CreateSearchConfigurationRequest;
|
|
4496
4442
|
type CreateSearchConfigurationRequest = {
|
|
@@ -4822,28 +4768,107 @@ type FilerList = {
|
|
|
4822
4768
|
display?: string;
|
|
4823
4769
|
value?: string;
|
|
4824
4770
|
};
|
|
4825
|
-
/** @returns {
|
|
4826
|
-
declare function
|
|
4827
|
-
type
|
|
4828
|
-
|
|
4771
|
+
/** @returns {RawProduct} */
|
|
4772
|
+
declare function RawProduct(): RawProduct;
|
|
4773
|
+
type RawProduct = {
|
|
4774
|
+
_custom_json?: any;
|
|
4775
|
+
all_company_ids?: number[];
|
|
4776
|
+
all_identifiers?: string[];
|
|
4777
|
+
all_sizes?: any[];
|
|
4778
|
+
attributes?: any;
|
|
4779
|
+
brand?: Brand;
|
|
4780
|
+
brand_uid?: number;
|
|
4781
|
+
category?: any;
|
|
4782
|
+
category_slug?: string;
|
|
4783
|
+
category_uid?: number;
|
|
4784
|
+
color?: string;
|
|
4785
|
+
company_id?: number;
|
|
4786
|
+
country_of_origin?: string;
|
|
4787
|
+
created_by?: any;
|
|
4788
|
+
created_on?: string;
|
|
4789
|
+
currency?: string;
|
|
4790
|
+
custom_order?: any;
|
|
4791
|
+
departments?: number[];
|
|
4829
4792
|
description?: string;
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
filters?: AttributeMasterFilter;
|
|
4793
|
+
highlights?: string[];
|
|
4794
|
+
hsn_code?: string;
|
|
4833
4795
|
id?: string;
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4796
|
+
image_nature?: string;
|
|
4797
|
+
images?: string[];
|
|
4798
|
+
is_active?: boolean;
|
|
4799
|
+
is_dependent?: boolean;
|
|
4800
|
+
is_expirable?: boolean;
|
|
4801
|
+
is_image_less_product?: boolean;
|
|
4802
|
+
is_physical?: boolean;
|
|
4803
|
+
is_set?: boolean;
|
|
4804
|
+
item_code?: string;
|
|
4805
|
+
item_type?: string;
|
|
4806
|
+
l3_mapping?: string[];
|
|
4807
|
+
media?: Media[];
|
|
4808
|
+
modified_by?: any;
|
|
4809
|
+
modified_on?: string;
|
|
4810
|
+
moq?: any;
|
|
4811
|
+
multi_size?: boolean;
|
|
4837
4812
|
name?: string;
|
|
4838
|
-
|
|
4813
|
+
net_quantity?: NetQuantityResponse;
|
|
4814
|
+
no_of_boxes?: number;
|
|
4815
|
+
pending?: string;
|
|
4816
|
+
primary_color?: string;
|
|
4817
|
+
product_group_tag?: string[];
|
|
4818
|
+
product_publish?: ProductPublished;
|
|
4819
|
+
return_config?: ReturnConfigResponse;
|
|
4820
|
+
short_description?: string;
|
|
4821
|
+
size_guide?: string;
|
|
4822
|
+
sizes?: any[];
|
|
4823
|
+
slug?: string;
|
|
4824
|
+
stage?: string;
|
|
4825
|
+
tags?: string[];
|
|
4826
|
+
tax_identifier?: any;
|
|
4827
|
+
teaser_tag?: any;
|
|
4828
|
+
template_tag?: string;
|
|
4829
|
+
trader?: Trader[];
|
|
4830
|
+
uid?: number;
|
|
4831
|
+
variant_group?: any;
|
|
4832
|
+
variant_media?: any;
|
|
4833
|
+
variants?: any;
|
|
4834
|
+
verified_by?: VerifiedBy;
|
|
4835
|
+
verified_on?: string;
|
|
4836
|
+
};
|
|
4837
|
+
/** @returns {RawProductListingResponse} */
|
|
4838
|
+
declare function RawProductListingResponse(): RawProductListingResponse;
|
|
4839
|
+
type RawProductListingResponse = {
|
|
4840
|
+
items?: RawProduct[];
|
|
4841
|
+
page?: Page;
|
|
4842
|
+
};
|
|
4843
|
+
/** @returns {GTIN} */
|
|
4844
|
+
declare function GTIN(): GTIN;
|
|
4845
|
+
type GTIN = {
|
|
4846
|
+
gtin_type: string;
|
|
4847
|
+
gtin_value: string;
|
|
4848
|
+
primary?: boolean;
|
|
4849
|
+
};
|
|
4850
|
+
/** @returns {GenderDetail} */
|
|
4851
|
+
declare function GenderDetail(): GenderDetail;
|
|
4852
|
+
type GenderDetail = {
|
|
4853
|
+
departments?: string[];
|
|
4854
|
+
description?: string;
|
|
4855
|
+
details?: AttributeMasterDetails;
|
|
4856
|
+
enabled_for_end_consumer?: boolean;
|
|
4857
|
+
filters?: AttributeMasterFilter;
|
|
4858
|
+
id?: string;
|
|
4859
|
+
is_nested?: boolean;
|
|
4860
|
+
logo?: string;
|
|
4861
|
+
meta?: AttributeMasterMeta;
|
|
4862
|
+
name?: string;
|
|
4863
|
+
schema?: AttributeMaster;
|
|
4839
4864
|
slug?: string;
|
|
4840
4865
|
};
|
|
4841
4866
|
/** @returns {GetAddressSerializer} */
|
|
4842
4867
|
declare function GetAddressSerializer(): GetAddressSerializer;
|
|
4843
4868
|
type GetAddressSerializer = {
|
|
4844
|
-
address_type?: string;
|
|
4845
4869
|
address1?: string;
|
|
4846
4870
|
address2?: string;
|
|
4871
|
+
address_type?: string;
|
|
4847
4872
|
city?: string;
|
|
4848
4873
|
country?: string;
|
|
4849
4874
|
country_code?: string;
|
|
@@ -4853,12 +4878,6 @@ type GetAddressSerializer = {
|
|
|
4853
4878
|
pincode?: number;
|
|
4854
4879
|
state?: string;
|
|
4855
4880
|
};
|
|
4856
|
-
/** @returns {GetAllMarketplaces} */
|
|
4857
|
-
declare function GetAllMarketplaces(): GetAllMarketplaces;
|
|
4858
|
-
type GetAllMarketplaces = {
|
|
4859
|
-
items?: Marketplaces[];
|
|
4860
|
-
page?: Page;
|
|
4861
|
-
};
|
|
4862
4881
|
/** @returns {GetAllSizes} */
|
|
4863
4882
|
declare function GetAllSizes(): GetAllSizes;
|
|
4864
4883
|
type GetAllSizes = {
|
|
@@ -4935,35 +4954,6 @@ type GetCollectionDetailNest = {
|
|
|
4935
4954
|
uid?: string;
|
|
4936
4955
|
visible_facets_keys?: string[];
|
|
4937
4956
|
};
|
|
4938
|
-
/** @returns {GetCollectionDetailResponse} */
|
|
4939
|
-
declare function GetCollectionDetailResponse(): GetCollectionDetailResponse;
|
|
4940
|
-
type GetCollectionDetailResponse = {
|
|
4941
|
-
_custom_json?: any;
|
|
4942
|
-
_locale_language?: any;
|
|
4943
|
-
_schedule?: CollectionSchedule;
|
|
4944
|
-
action?: any;
|
|
4945
|
-
allow_facets?: boolean;
|
|
4946
|
-
allow_sort?: boolean;
|
|
4947
|
-
app_id?: string;
|
|
4948
|
-
badge?: CollectionBadge;
|
|
4949
|
-
banners?: ImageUrls;
|
|
4950
|
-
description?: string;
|
|
4951
|
-
is_active?: boolean;
|
|
4952
|
-
is_visible?: boolean;
|
|
4953
|
-
logo?: Media;
|
|
4954
|
-
meta?: any;
|
|
4955
|
-
name?: string;
|
|
4956
|
-
priority?: number;
|
|
4957
|
-
published?: boolean;
|
|
4958
|
-
query?: CollectionQuery[];
|
|
4959
|
-
seo?: SeoDetail;
|
|
4960
|
-
slug?: string;
|
|
4961
|
-
sort_on?: string;
|
|
4962
|
-
tags?: string[];
|
|
4963
|
-
type?: string;
|
|
4964
|
-
uid?: string;
|
|
4965
|
-
visible_facets_keys?: string[];
|
|
4966
|
-
};
|
|
4967
4957
|
/** @returns {GetCollectionItemsResponse} */
|
|
4968
4958
|
declare function GetCollectionItemsResponse(): GetCollectionItemsResponse;
|
|
4969
4959
|
type GetCollectionItemsResponse = {
|
|
@@ -4972,12 +4962,6 @@ type GetCollectionItemsResponse = {
|
|
|
4972
4962
|
page?: Page;
|
|
4973
4963
|
sort_on?: ProductSortOn[];
|
|
4974
4964
|
};
|
|
4975
|
-
/** @returns {GetCollectionItemsResponseSchemaV2} */
|
|
4976
|
-
declare function GetCollectionItemsResponseSchemaV2(): GetCollectionItemsResponseSchemaV2;
|
|
4977
|
-
type GetCollectionItemsResponseSchemaV2 = {
|
|
4978
|
-
items?: ProductDetailV2[];
|
|
4979
|
-
page?: Page1;
|
|
4980
|
-
};
|
|
4981
4965
|
/** @returns {GetCollectionListingResponse} */
|
|
4982
4966
|
declare function GetCollectionListingResponse(): GetCollectionListingResponse;
|
|
4983
4967
|
type GetCollectionListingResponse = {
|
|
@@ -5169,6 +5153,47 @@ type GetProducts = {
|
|
|
5169
5153
|
product_uid?: number;
|
|
5170
5154
|
sizes?: Size[];
|
|
5171
5155
|
};
|
|
5156
|
+
/** @returns {GetCollectionDetailResponse} */
|
|
5157
|
+
declare function GetCollectionDetailResponse(): GetCollectionDetailResponse;
|
|
5158
|
+
type GetCollectionDetailResponse = {
|
|
5159
|
+
_custom_json?: any;
|
|
5160
|
+
_locale_language?: any;
|
|
5161
|
+
_schedule?: CollectionSchedule;
|
|
5162
|
+
action?: any;
|
|
5163
|
+
allow_facets?: boolean;
|
|
5164
|
+
allow_sort?: boolean;
|
|
5165
|
+
app_id?: string;
|
|
5166
|
+
badge?: CollectionBadge;
|
|
5167
|
+
banners?: ImageUrls;
|
|
5168
|
+
description?: string;
|
|
5169
|
+
is_active?: boolean;
|
|
5170
|
+
is_visible?: boolean;
|
|
5171
|
+
logo?: Media;
|
|
5172
|
+
meta?: any;
|
|
5173
|
+
name?: string;
|
|
5174
|
+
priority?: number;
|
|
5175
|
+
published?: boolean;
|
|
5176
|
+
query?: CollectionQuery[];
|
|
5177
|
+
seo?: SeoDetail;
|
|
5178
|
+
slug?: string;
|
|
5179
|
+
sort_on?: string;
|
|
5180
|
+
tags?: string[];
|
|
5181
|
+
type?: string;
|
|
5182
|
+
uid?: string;
|
|
5183
|
+
visible_facets_keys?: string[];
|
|
5184
|
+
};
|
|
5185
|
+
/** @returns {CommonResponseSchemaCollection} */
|
|
5186
|
+
declare function CommonResponseSchemaCollection(): CommonResponseSchemaCollection;
|
|
5187
|
+
type CommonResponseSchemaCollection = {
|
|
5188
|
+
message?: string;
|
|
5189
|
+
};
|
|
5190
|
+
/** @returns {GetQueryFiltersKeysResponse} */
|
|
5191
|
+
declare function GetQueryFiltersKeysResponse(): GetQueryFiltersKeysResponse;
|
|
5192
|
+
type GetQueryFiltersKeysResponse = {
|
|
5193
|
+
filters?: ProductFiltersKeysOnly[];
|
|
5194
|
+
operators: any;
|
|
5195
|
+
sort_on?: ProductSortOn[];
|
|
5196
|
+
};
|
|
5172
5197
|
/** @returns {GetQueryFiltersResponse} */
|
|
5173
5198
|
declare function GetQueryFiltersResponse(): GetQueryFiltersResponse;
|
|
5174
5199
|
type GetQueryFiltersResponse = {
|
|
@@ -5176,6 +5201,74 @@ type GetQueryFiltersResponse = {
|
|
|
5176
5201
|
operators: any;
|
|
5177
5202
|
sort_on?: ProductSortOn[];
|
|
5178
5203
|
};
|
|
5204
|
+
/** @returns {GetCollectionItemsResponseSchemaV2} */
|
|
5205
|
+
declare function GetCollectionItemsResponseSchemaV2(): GetCollectionItemsResponseSchemaV2;
|
|
5206
|
+
type GetCollectionItemsResponseSchemaV2 = {
|
|
5207
|
+
items?: ProductDetailV2[];
|
|
5208
|
+
page?: Page1;
|
|
5209
|
+
};
|
|
5210
|
+
/** @returns {Page1} */
|
|
5211
|
+
declare function Page1(): Page1;
|
|
5212
|
+
type Page1 = {
|
|
5213
|
+
ca?: boolean;
|
|
5214
|
+
department?: string;
|
|
5215
|
+
page_no?: number;
|
|
5216
|
+
page_size?: number;
|
|
5217
|
+
q?: string;
|
|
5218
|
+
sort?: string;
|
|
5219
|
+
sort_on?: string;
|
|
5220
|
+
type?: string;
|
|
5221
|
+
variant?: string;
|
|
5222
|
+
};
|
|
5223
|
+
/** @returns {CollectionItemSchemaV2} */
|
|
5224
|
+
declare function CollectionItemSchemaV2(): CollectionItemSchemaV2;
|
|
5225
|
+
type CollectionItemSchemaV2 = {
|
|
5226
|
+
action: string;
|
|
5227
|
+
item_id: number;
|
|
5228
|
+
priority?: number;
|
|
5229
|
+
};
|
|
5230
|
+
/** @returns {CollectionItemUpdateSchemaV2} */
|
|
5231
|
+
declare function CollectionItemUpdateSchemaV2(): CollectionItemUpdateSchemaV2;
|
|
5232
|
+
type CollectionItemUpdateSchemaV2 = {
|
|
5233
|
+
allow_facets?: boolean;
|
|
5234
|
+
allow_sort?: boolean;
|
|
5235
|
+
items?: CollectionItemSchemaV2[];
|
|
5236
|
+
query?: CollectionQuerySchemaV2[];
|
|
5237
|
+
type: string;
|
|
5238
|
+
visible_facets_keys?: string[];
|
|
5239
|
+
};
|
|
5240
|
+
/** @returns {CollectionQuerySchemaV2} */
|
|
5241
|
+
declare function CollectionQuerySchemaV2(): CollectionQuerySchemaV2;
|
|
5242
|
+
type CollectionQuerySchemaV2 = {
|
|
5243
|
+
/**
|
|
5244
|
+
* - The attribute of the collection query
|
|
5245
|
+
*/
|
|
5246
|
+
attribute: string;
|
|
5247
|
+
/**
|
|
5248
|
+
* - The operation to be performed on the attribute of the
|
|
5249
|
+
* collection query
|
|
5250
|
+
*/
|
|
5251
|
+
op: string;
|
|
5252
|
+
/**
|
|
5253
|
+
* - The value of the attribute of the collection query
|
|
5254
|
+
*/
|
|
5255
|
+
value: any[];
|
|
5256
|
+
};
|
|
5257
|
+
/** @returns {ProductDetailV2} */
|
|
5258
|
+
declare function ProductDetailV2(): ProductDetailV2;
|
|
5259
|
+
type ProductDetailV2 = {
|
|
5260
|
+
brand?: ProductBrand;
|
|
5261
|
+
is_excluded?: boolean;
|
|
5262
|
+
is_pinned?: boolean;
|
|
5263
|
+
item_code?: string;
|
|
5264
|
+
item_type?: string;
|
|
5265
|
+
medias?: Media[];
|
|
5266
|
+
name?: string;
|
|
5267
|
+
priority?: number;
|
|
5268
|
+
short_description?: string;
|
|
5269
|
+
slug: string;
|
|
5270
|
+
uid?: number;
|
|
5271
|
+
};
|
|
5179
5272
|
/** @returns {GetSearchConfigurationResponse} */
|
|
5180
5273
|
declare function GetSearchConfigurationResponse(): GetSearchConfigurationResponse;
|
|
5181
5274
|
type GetSearchConfigurationResponse = {
|
|
@@ -5255,18 +5348,71 @@ type GlobalValidation = {
|
|
|
5255
5348
|
title?: string;
|
|
5256
5349
|
type?: string;
|
|
5257
5350
|
};
|
|
5258
|
-
/** @returns {GTIN} */
|
|
5259
|
-
declare function GTIN(): GTIN;
|
|
5260
|
-
type GTIN = {
|
|
5261
|
-
gtin_type: string;
|
|
5262
|
-
gtin_value: string;
|
|
5263
|
-
primary?: boolean;
|
|
5264
|
-
};
|
|
5265
5351
|
/** @returns {Guide} */
|
|
5266
5352
|
declare function Guide(): Guide;
|
|
5267
5353
|
type Guide = {
|
|
5268
5354
|
meta?: Meta;
|
|
5269
5355
|
};
|
|
5356
|
+
/** @returns {HSNCodesResponse} */
|
|
5357
|
+
declare function HSNCodesResponse(): HSNCodesResponse;
|
|
5358
|
+
type HSNCodesResponse = {
|
|
5359
|
+
data?: HSNData;
|
|
5360
|
+
message?: string;
|
|
5361
|
+
};
|
|
5362
|
+
/** @returns {HSNData} */
|
|
5363
|
+
declare function HSNData(): HSNData;
|
|
5364
|
+
type HSNData = {
|
|
5365
|
+
country_of_origin?: string[];
|
|
5366
|
+
hsn_code?: string[];
|
|
5367
|
+
};
|
|
5368
|
+
/** @returns {HSNDataInsertV2} */
|
|
5369
|
+
declare function HSNDataInsertV2(): HSNDataInsertV2;
|
|
5370
|
+
type HSNDataInsertV2 = {
|
|
5371
|
+
/**
|
|
5372
|
+
* - Country code.
|
|
5373
|
+
*/
|
|
5374
|
+
country_code: string;
|
|
5375
|
+
/**
|
|
5376
|
+
* - Details of the user who created the HSN data.
|
|
5377
|
+
*/
|
|
5378
|
+
created_by?: any;
|
|
5379
|
+
/**
|
|
5380
|
+
* - Date and time when the HSN data was created.
|
|
5381
|
+
*/
|
|
5382
|
+
created_on?: string;
|
|
5383
|
+
/**
|
|
5384
|
+
* - Description of the HSN data.
|
|
5385
|
+
*/
|
|
5386
|
+
description: string;
|
|
5387
|
+
/**
|
|
5388
|
+
* - HSN code.
|
|
5389
|
+
*/
|
|
5390
|
+
hsn_code: string;
|
|
5391
|
+
/**
|
|
5392
|
+
* - Unique identifier of the HSN code.
|
|
5393
|
+
*/
|
|
5394
|
+
hsn_code_id?: string;
|
|
5395
|
+
/**
|
|
5396
|
+
* - Details of the user who last modified the HSN data.
|
|
5397
|
+
*/
|
|
5398
|
+
modified_by?: any;
|
|
5399
|
+
/**
|
|
5400
|
+
* - Date and time when the HSN data was last modified.
|
|
5401
|
+
*/
|
|
5402
|
+
modified_on?: string;
|
|
5403
|
+
/**
|
|
5404
|
+
* - HSN code.
|
|
5405
|
+
*/
|
|
5406
|
+
reporting_hsn: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* - List of tax slabs.
|
|
5409
|
+
*/
|
|
5410
|
+
taxes: TaxSlab[];
|
|
5411
|
+
/**
|
|
5412
|
+
* - Type of HSN data (goods or services).
|
|
5413
|
+
*/
|
|
5414
|
+
type: string;
|
|
5415
|
+
};
|
|
5270
5416
|
/** @returns {Hierarchy} */
|
|
5271
5417
|
declare function Hierarchy(): Hierarchy;
|
|
5272
5418
|
type Hierarchy = {
|
|
@@ -5324,14 +5470,6 @@ type HsnCodesObject = {
|
|
|
5324
5470
|
* last modified.
|
|
5325
5471
|
*/
|
|
5326
5472
|
modified_on?: string;
|
|
5327
|
-
/**
|
|
5328
|
-
* - Flag indicating whether tax is applicable on ESP.
|
|
5329
|
-
*/
|
|
5330
|
-
tax_on_esp?: boolean;
|
|
5331
|
-
/**
|
|
5332
|
-
* - Flag indicating whether tax is applicable on MRP.
|
|
5333
|
-
*/
|
|
5334
|
-
tax_on_mrp?: boolean;
|
|
5335
5473
|
/**
|
|
5336
5474
|
* - The first tax rate.
|
|
5337
5475
|
*/
|
|
@@ -5341,73 +5479,21 @@ type HsnCodesObject = {
|
|
|
5341
5479
|
*/
|
|
5342
5480
|
tax2?: number;
|
|
5343
5481
|
/**
|
|
5344
|
-
* -
|
|
5345
|
-
*/
|
|
5346
|
-
threshold1?: number;
|
|
5347
|
-
/**
|
|
5348
|
-
* - The threshold for the second tax rate.
|
|
5349
|
-
*/
|
|
5350
|
-
threshold2?: number;
|
|
5351
|
-
};
|
|
5352
|
-
/** @returns {HSNCodesResponse} */
|
|
5353
|
-
declare function HSNCodesResponse(): HSNCodesResponse;
|
|
5354
|
-
type HSNCodesResponse = {
|
|
5355
|
-
data?: HSNData;
|
|
5356
|
-
message?: string;
|
|
5357
|
-
};
|
|
5358
|
-
/** @returns {HSNData} */
|
|
5359
|
-
declare function HSNData(): HSNData;
|
|
5360
|
-
type HSNData = {
|
|
5361
|
-
country_of_origin?: string[];
|
|
5362
|
-
hsn_code?: string[];
|
|
5363
|
-
};
|
|
5364
|
-
/** @returns {HSNDataInsertV2} */
|
|
5365
|
-
declare function HSNDataInsertV2(): HSNDataInsertV2;
|
|
5366
|
-
type HSNDataInsertV2 = {
|
|
5367
|
-
/**
|
|
5368
|
-
* - Country code.
|
|
5369
|
-
*/
|
|
5370
|
-
country_code: string;
|
|
5371
|
-
/**
|
|
5372
|
-
* - Details of the user who created the HSN data.
|
|
5373
|
-
*/
|
|
5374
|
-
created_by?: any;
|
|
5375
|
-
/**
|
|
5376
|
-
* - Date and time when the HSN data was created.
|
|
5377
|
-
*/
|
|
5378
|
-
created_on?: string;
|
|
5379
|
-
/**
|
|
5380
|
-
* - Description of the HSN data.
|
|
5381
|
-
*/
|
|
5382
|
-
description: string;
|
|
5383
|
-
/**
|
|
5384
|
-
* - HSN code.
|
|
5385
|
-
*/
|
|
5386
|
-
hsn_code: string;
|
|
5387
|
-
/**
|
|
5388
|
-
* - Unique identifier of the HSN code.
|
|
5389
|
-
*/
|
|
5390
|
-
hsn_code_id?: string;
|
|
5391
|
-
/**
|
|
5392
|
-
* - Details of the user who last modified the HSN data.
|
|
5393
|
-
*/
|
|
5394
|
-
modified_by?: any;
|
|
5395
|
-
/**
|
|
5396
|
-
* - Date and time when the HSN data was last modified.
|
|
5482
|
+
* - Flag indicating whether tax is applicable on ESP.
|
|
5397
5483
|
*/
|
|
5398
|
-
|
|
5484
|
+
tax_on_esp?: boolean;
|
|
5399
5485
|
/**
|
|
5400
|
-
* -
|
|
5486
|
+
* - Flag indicating whether tax is applicable on MRP.
|
|
5401
5487
|
*/
|
|
5402
|
-
|
|
5488
|
+
tax_on_mrp?: boolean;
|
|
5403
5489
|
/**
|
|
5404
|
-
* -
|
|
5490
|
+
* - The threshold for the first tax rate.
|
|
5405
5491
|
*/
|
|
5406
|
-
|
|
5492
|
+
threshold1?: number;
|
|
5407
5493
|
/**
|
|
5408
|
-
* -
|
|
5494
|
+
* - The threshold for the second tax rate.
|
|
5409
5495
|
*/
|
|
5410
|
-
|
|
5496
|
+
threshold2?: number;
|
|
5411
5497
|
};
|
|
5412
5498
|
/** @returns {HsnUpsert} */
|
|
5413
5499
|
declare function HsnUpsert(): HsnUpsert;
|
|
@@ -5428,14 +5514,6 @@ type HsnUpsert = {
|
|
|
5428
5514
|
* - Flag indicating whether the entry is active.
|
|
5429
5515
|
*/
|
|
5430
5516
|
is_active?: boolean;
|
|
5431
|
-
/**
|
|
5432
|
-
* - Flag indicating whether tax is applicable on ESP.
|
|
5433
|
-
*/
|
|
5434
|
-
tax_on_esp?: boolean;
|
|
5435
|
-
/**
|
|
5436
|
-
* - Flag indicating whether tax is applicable on MRP.
|
|
5437
|
-
*/
|
|
5438
|
-
tax_on_mrp: boolean;
|
|
5439
5517
|
/**
|
|
5440
5518
|
* - The first tax rate.
|
|
5441
5519
|
*/
|
|
@@ -5444,6 +5522,14 @@ type HsnUpsert = {
|
|
|
5444
5522
|
* - The second tax rate.
|
|
5445
5523
|
*/
|
|
5446
5524
|
tax2?: number;
|
|
5525
|
+
/**
|
|
5526
|
+
* - Flag indicating whether tax is applicable on ESP.
|
|
5527
|
+
*/
|
|
5528
|
+
tax_on_esp?: boolean;
|
|
5529
|
+
/**
|
|
5530
|
+
* - Flag indicating whether tax is applicable on MRP.
|
|
5531
|
+
*/
|
|
5532
|
+
tax_on_mrp: boolean;
|
|
5447
5533
|
/**
|
|
5448
5534
|
* - The threshold for the first tax rate.
|
|
5449
5535
|
*/
|
|
@@ -5471,6 +5557,50 @@ type ImageUrls = {
|
|
|
5471
5557
|
landscape?: BannerImage;
|
|
5472
5558
|
portrait?: BannerImage;
|
|
5473
5559
|
};
|
|
5560
|
+
/** @returns {InvSize} */
|
|
5561
|
+
declare function InvSize(): InvSize;
|
|
5562
|
+
type InvSize = {
|
|
5563
|
+
/**
|
|
5564
|
+
* - The currency used for the item price.
|
|
5565
|
+
*/
|
|
5566
|
+
currency: string;
|
|
5567
|
+
expiration_date?: string;
|
|
5568
|
+
identifiers: GTIN[];
|
|
5569
|
+
is_set?: boolean;
|
|
5570
|
+
/**
|
|
5571
|
+
* - The unit of measure
|
|
5572
|
+
* for the item dimensions.
|
|
5573
|
+
*/
|
|
5574
|
+
item_dimensions_unit_of_measure?: string;
|
|
5575
|
+
/**
|
|
5576
|
+
* - The height of the item.
|
|
5577
|
+
*/
|
|
5578
|
+
item_height?: number;
|
|
5579
|
+
/**
|
|
5580
|
+
* - The length of the item.
|
|
5581
|
+
*/
|
|
5582
|
+
item_length?: number;
|
|
5583
|
+
/**
|
|
5584
|
+
* - The weight of the item.
|
|
5585
|
+
*/
|
|
5586
|
+
item_weight?: number;
|
|
5587
|
+
/**
|
|
5588
|
+
* - The unit of measure for
|
|
5589
|
+
* the item weight.
|
|
5590
|
+
*/
|
|
5591
|
+
item_weight_unit_of_measure?: string;
|
|
5592
|
+
/**
|
|
5593
|
+
* - The width of the item.
|
|
5594
|
+
*/
|
|
5595
|
+
item_width?: number;
|
|
5596
|
+
price?: number;
|
|
5597
|
+
price_effective: number;
|
|
5598
|
+
price_transfer?: number;
|
|
5599
|
+
quantity: number;
|
|
5600
|
+
set?: InventorySet;
|
|
5601
|
+
size: string;
|
|
5602
|
+
store_code: string;
|
|
5603
|
+
};
|
|
5474
5604
|
/** @returns {InventoryBulkRequest} */
|
|
5475
5605
|
declare function InventoryBulkRequest(): InventoryBulkRequest;
|
|
5476
5606
|
type InventoryBulkRequest = {
|
|
@@ -6084,67 +6214,23 @@ type InventoryUpdateResponse = {
|
|
|
6084
6214
|
message: string;
|
|
6085
6215
|
};
|
|
6086
6216
|
/** @returns {InventoryValidationResponse} */
|
|
6087
|
-
declare function InventoryValidationResponse(): InventoryValidationResponse;
|
|
6088
|
-
type InventoryValidationResponse = {
|
|
6089
|
-
data?: any;
|
|
6090
|
-
message?: string;
|
|
6091
|
-
};
|
|
6092
|
-
/** @returns {InvoiceCredSerializer} */
|
|
6093
|
-
declare function InvoiceCredSerializer(): InvoiceCredSerializer;
|
|
6094
|
-
type InvoiceCredSerializer = {
|
|
6095
|
-
enabled?: boolean;
|
|
6096
|
-
password?: string;
|
|
6097
|
-
username?: string;
|
|
6098
|
-
};
|
|
6099
|
-
/** @returns {InvoiceDetailsSerializer} */
|
|
6100
|
-
declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
|
|
6101
|
-
type InvoiceDetailsSerializer = {
|
|
6102
|
-
e_invoice?: InvoiceCredSerializer;
|
|
6103
|
-
e_waybill?: InvoiceCredSerializer;
|
|
6104
|
-
};
|
|
6105
|
-
/** @returns {InvSize} */
|
|
6106
|
-
declare function InvSize(): InvSize;
|
|
6107
|
-
type InvSize = {
|
|
6108
|
-
/**
|
|
6109
|
-
* - The currency used for the item price.
|
|
6110
|
-
*/
|
|
6111
|
-
currency: string;
|
|
6112
|
-
expiration_date?: string;
|
|
6113
|
-
identifiers: GTIN[];
|
|
6114
|
-
is_set?: boolean;
|
|
6115
|
-
/**
|
|
6116
|
-
* - The unit of measure
|
|
6117
|
-
* for the item dimensions.
|
|
6118
|
-
*/
|
|
6119
|
-
item_dimensions_unit_of_measure?: string;
|
|
6120
|
-
/**
|
|
6121
|
-
* - The height of the item.
|
|
6122
|
-
*/
|
|
6123
|
-
item_height?: number;
|
|
6124
|
-
/**
|
|
6125
|
-
* - The length of the item.
|
|
6126
|
-
*/
|
|
6127
|
-
item_length?: number;
|
|
6128
|
-
/**
|
|
6129
|
-
* - The weight of the item.
|
|
6130
|
-
*/
|
|
6131
|
-
item_weight?: number;
|
|
6132
|
-
/**
|
|
6133
|
-
* - The unit of measure for
|
|
6134
|
-
* the item weight.
|
|
6135
|
-
*/
|
|
6136
|
-
item_weight_unit_of_measure?: string;
|
|
6137
|
-
/**
|
|
6138
|
-
* - The width of the item.
|
|
6139
|
-
*/
|
|
6140
|
-
item_width?: number;
|
|
6141
|
-
price?: number;
|
|
6142
|
-
price_effective: number;
|
|
6143
|
-
price_transfer?: number;
|
|
6144
|
-
quantity: number;
|
|
6145
|
-
set?: InventorySet;
|
|
6146
|
-
size: string;
|
|
6147
|
-
store_code: string;
|
|
6217
|
+
declare function InventoryValidationResponse(): InventoryValidationResponse;
|
|
6218
|
+
type InventoryValidationResponse = {
|
|
6219
|
+
data?: any;
|
|
6220
|
+
message?: string;
|
|
6221
|
+
};
|
|
6222
|
+
/** @returns {InvoiceCredSerializer} */
|
|
6223
|
+
declare function InvoiceCredSerializer(): InvoiceCredSerializer;
|
|
6224
|
+
type InvoiceCredSerializer = {
|
|
6225
|
+
enabled?: boolean;
|
|
6226
|
+
password?: string;
|
|
6227
|
+
username?: string;
|
|
6228
|
+
};
|
|
6229
|
+
/** @returns {InvoiceDetailsSerializer} */
|
|
6230
|
+
declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
|
|
6231
|
+
type InvoiceDetailsSerializer = {
|
|
6232
|
+
e_invoice?: InvoiceCredSerializer;
|
|
6233
|
+
e_waybill?: InvoiceCredSerializer;
|
|
6148
6234
|
};
|
|
6149
6235
|
/** @returns {ItemQuery} */
|
|
6150
6236
|
declare function ItemQuery(): ItemQuery;
|
|
@@ -6237,6 +6323,13 @@ type Logo = {
|
|
|
6237
6323
|
secure_url?: string;
|
|
6238
6324
|
url?: string;
|
|
6239
6325
|
};
|
|
6326
|
+
/** @returns {MOQData} */
|
|
6327
|
+
declare function MOQData(): MOQData;
|
|
6328
|
+
type MOQData = {
|
|
6329
|
+
increment_unit?: number;
|
|
6330
|
+
maximum?: number;
|
|
6331
|
+
minimum?: number;
|
|
6332
|
+
};
|
|
6240
6333
|
/** @returns {ManufacturerResponse} */
|
|
6241
6334
|
declare function ManufacturerResponse(): ManufacturerResponse;
|
|
6242
6335
|
type ManufacturerResponse = {
|
|
@@ -6260,22 +6353,6 @@ type ManufacturerResponse1 = {
|
|
|
6260
6353
|
is_default?: boolean;
|
|
6261
6354
|
name?: string;
|
|
6262
6355
|
};
|
|
6263
|
-
/** @returns {Marketplaces} */
|
|
6264
|
-
declare function Marketplaces(): Marketplaces;
|
|
6265
|
-
type Marketplaces = {
|
|
6266
|
-
_id?: string;
|
|
6267
|
-
app_id?: string;
|
|
6268
|
-
brand_ids?: number[];
|
|
6269
|
-
company_id?: number;
|
|
6270
|
-
created_by?: CreatedBy;
|
|
6271
|
-
created_on?: any;
|
|
6272
|
-
enabled?: boolean;
|
|
6273
|
-
modified_by?: CreatedBy;
|
|
6274
|
-
modified_on?: any;
|
|
6275
|
-
opt_level?: string;
|
|
6276
|
-
platforms?: string;
|
|
6277
|
-
store_ids?: number[];
|
|
6278
|
-
};
|
|
6279
6356
|
/** @returns {Media} */
|
|
6280
6357
|
declare function Media(): Media;
|
|
6281
6358
|
type Media = {
|
|
@@ -6357,19 +6434,6 @@ type MetaFields = {
|
|
|
6357
6434
|
*/
|
|
6358
6435
|
value: string;
|
|
6359
6436
|
};
|
|
6360
|
-
/** @returns {Metatags} */
|
|
6361
|
-
declare function Metatags(): Metatags;
|
|
6362
|
-
type Metatags = {
|
|
6363
|
-
items?: ApplicationItemSeoMetaTags[];
|
|
6364
|
-
title?: string;
|
|
6365
|
-
};
|
|
6366
|
-
/** @returns {MOQData} */
|
|
6367
|
-
declare function MOQData(): MOQData;
|
|
6368
|
-
type MOQData = {
|
|
6369
|
-
increment_unit?: number;
|
|
6370
|
-
maximum?: number;
|
|
6371
|
-
minimum?: number;
|
|
6372
|
-
};
|
|
6373
6437
|
/** @returns {NetQuantity} */
|
|
6374
6438
|
declare function NetQuantity(): NetQuantity;
|
|
6375
6439
|
type NetQuantity = {
|
|
@@ -6395,6 +6459,16 @@ type NextSchedule = {
|
|
|
6395
6459
|
end?: string;
|
|
6396
6460
|
start?: string;
|
|
6397
6461
|
};
|
|
6462
|
+
/** @returns {OptInPostRequest} */
|
|
6463
|
+
declare function OptInPostRequest(): OptInPostRequest;
|
|
6464
|
+
type OptInPostRequest = {
|
|
6465
|
+
brand_ids?: number[];
|
|
6466
|
+
company_id?: number;
|
|
6467
|
+
enabled?: boolean;
|
|
6468
|
+
opt_level: string;
|
|
6469
|
+
platform?: string;
|
|
6470
|
+
store_ids?: number[];
|
|
6471
|
+
};
|
|
6398
6472
|
/** @returns {OptinCompanyBrandDetailsView} */
|
|
6399
6473
|
declare function OptinCompanyBrandDetailsView(): OptinCompanyBrandDetailsView;
|
|
6400
6474
|
type OptinCompanyBrandDetailsView = {
|
|
@@ -6416,16 +6490,6 @@ type OptinCompanyMetrics = {
|
|
|
6416
6490
|
company?: string;
|
|
6417
6491
|
store?: number;
|
|
6418
6492
|
};
|
|
6419
|
-
/** @returns {OptInPostRequest} */
|
|
6420
|
-
declare function OptInPostRequest(): OptInPostRequest;
|
|
6421
|
-
type OptInPostRequest = {
|
|
6422
|
-
brand_ids?: number[];
|
|
6423
|
-
company_id?: number;
|
|
6424
|
-
enabled?: boolean;
|
|
6425
|
-
opt_level: string;
|
|
6426
|
-
platform?: string;
|
|
6427
|
-
store_ids?: number[];
|
|
6428
|
-
};
|
|
6429
6493
|
/** @returns {OptinStoreDetails} */
|
|
6430
6494
|
declare function OptinStoreDetails(): OptinStoreDetails;
|
|
6431
6495
|
type OptinStoreDetails = {
|
|
@@ -6441,29 +6505,25 @@ type OwnerAppItemResponse = {
|
|
|
6441
6505
|
moq?: MOQData;
|
|
6442
6506
|
seo?: SEOData;
|
|
6443
6507
|
};
|
|
6508
|
+
/** @returns {PTErrorResponse} */
|
|
6509
|
+
declare function PTErrorResponse(): PTErrorResponse;
|
|
6510
|
+
type PTErrorResponse = {
|
|
6511
|
+
code?: string;
|
|
6512
|
+
errors?: any;
|
|
6513
|
+
message?: string;
|
|
6514
|
+
meta?: any;
|
|
6515
|
+
status?: number;
|
|
6516
|
+
};
|
|
6444
6517
|
/** @returns {Page} */
|
|
6445
6518
|
declare function Page(): Page;
|
|
6446
6519
|
type Page = {
|
|
6447
|
-
current?: number;
|
|
6448
|
-
has_next?: boolean;
|
|
6449
|
-
has_previous?: boolean;
|
|
6450
6520
|
item_total?: number;
|
|
6451
6521
|
next_id?: string;
|
|
6452
|
-
|
|
6522
|
+
has_previous?: boolean;
|
|
6523
|
+
has_next?: boolean;
|
|
6524
|
+
current?: number;
|
|
6453
6525
|
type: string;
|
|
6454
|
-
|
|
6455
|
-
/** @returns {Page1} */
|
|
6456
|
-
declare function Page1(): Page1;
|
|
6457
|
-
type Page1 = {
|
|
6458
|
-
ca?: boolean;
|
|
6459
|
-
department?: string;
|
|
6460
|
-
page_no?: number;
|
|
6461
|
-
page_size?: number;
|
|
6462
|
-
q?: string;
|
|
6463
|
-
sort?: string;
|
|
6464
|
-
sort_on?: string;
|
|
6465
|
-
type?: string;
|
|
6466
|
-
variant?: string;
|
|
6526
|
+
size?: number;
|
|
6467
6527
|
};
|
|
6468
6528
|
/** @returns {PageResponse} */
|
|
6469
6529
|
declare function PageResponse(): PageResponse;
|
|
@@ -6818,21 +6878,6 @@ type ProductDetailGroupedAttribute = {
|
|
|
6818
6878
|
details?: ProductDetailAttribute[];
|
|
6819
6879
|
title?: string;
|
|
6820
6880
|
};
|
|
6821
|
-
/** @returns {ProductDetailV2} */
|
|
6822
|
-
declare function ProductDetailV2(): ProductDetailV2;
|
|
6823
|
-
type ProductDetailV2 = {
|
|
6824
|
-
brand?: ProductBrand;
|
|
6825
|
-
is_excluded?: boolean;
|
|
6826
|
-
is_pinned?: boolean;
|
|
6827
|
-
item_code?: string;
|
|
6828
|
-
item_type?: string;
|
|
6829
|
-
medias?: Media[];
|
|
6830
|
-
name?: string;
|
|
6831
|
-
priority?: number;
|
|
6832
|
-
short_description?: string;
|
|
6833
|
-
slug: string;
|
|
6834
|
-
uid?: number;
|
|
6835
|
-
};
|
|
6836
6881
|
/** @returns {ProductDownloadsResponse} */
|
|
6837
6882
|
declare function ProductDownloadsResponse(): ProductDownloadsResponse;
|
|
6838
6883
|
type ProductDownloadsResponse = {
|
|
@@ -6847,6 +6892,17 @@ type ProductFilters = {
|
|
|
6847
6892
|
key: ProductFiltersKey;
|
|
6848
6893
|
values: ProductFiltersValue[];
|
|
6849
6894
|
};
|
|
6895
|
+
/** @returns {GetQueryFiltersValuesResponse} */
|
|
6896
|
+
declare function GetQueryFiltersValuesResponse(): GetQueryFiltersValuesResponse;
|
|
6897
|
+
type GetQueryFiltersValuesResponse = {
|
|
6898
|
+
values: ProductFiltersValue[];
|
|
6899
|
+
page: Page;
|
|
6900
|
+
};
|
|
6901
|
+
/** @returns {ProductFiltersKeysOnly} */
|
|
6902
|
+
declare function ProductFiltersKeysOnly(): ProductFiltersKeysOnly;
|
|
6903
|
+
type ProductFiltersKeysOnly = {
|
|
6904
|
+
key: ProductFiltersKey;
|
|
6905
|
+
};
|
|
6850
6906
|
/** @returns {ProductFiltersKey} */
|
|
6851
6907
|
declare function ProductFiltersKey(): ProductFiltersKey;
|
|
6852
6908
|
type ProductFiltersKey = {
|
|
@@ -6938,6 +6994,12 @@ type ProductPublished = {
|
|
|
6938
6994
|
is_set?: boolean;
|
|
6939
6995
|
product_online_date?: number;
|
|
6940
6996
|
};
|
|
6997
|
+
/** @returns {ProductReturnConfigSerializer} */
|
|
6998
|
+
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
6999
|
+
type ProductReturnConfigSerializer = {
|
|
7000
|
+
on_same_store?: boolean;
|
|
7001
|
+
store_uid?: number;
|
|
7002
|
+
};
|
|
6941
7003
|
/** @returns {ProductReturnConfigBaseSerializer} */
|
|
6942
7004
|
declare function ProductReturnConfigBaseSerializer(): ProductReturnConfigBaseSerializer;
|
|
6943
7005
|
type ProductReturnConfigBaseSerializer = {
|
|
@@ -6954,12 +7016,6 @@ type ProductReturnConfigBaseSerializer = {
|
|
|
6954
7016
|
*/
|
|
6955
7017
|
unit: string;
|
|
6956
7018
|
};
|
|
6957
|
-
/** @returns {ProductReturnConfigSerializer} */
|
|
6958
|
-
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
6959
|
-
type ProductReturnConfigSerializer = {
|
|
6960
|
-
on_same_store?: boolean;
|
|
6961
|
-
store_uid?: number;
|
|
6962
|
-
};
|
|
6963
7019
|
/** @returns {ProductSchemaV2} */
|
|
6964
7020
|
declare function ProductSchemaV2(): ProductSchemaV2;
|
|
6965
7021
|
type ProductSchemaV2 = {
|
|
@@ -7186,142 +7242,61 @@ type ProductVariantsResponse = {
|
|
|
7186
7242
|
declare function Properties(): Properties;
|
|
7187
7243
|
type Properties = {
|
|
7188
7244
|
brand_uid?: any;
|
|
7189
|
-
category_slug?: any;
|
|
7190
|
-
command?: any;
|
|
7191
|
-
country_of_origin?: any;
|
|
7192
|
-
currency?: any;
|
|
7193
|
-
custom_order?: any;
|
|
7194
|
-
description?: any;
|
|
7195
|
-
highlights?: any;
|
|
7196
|
-
hsn_code?: any;
|
|
7197
|
-
is_active?: any;
|
|
7198
|
-
is_dependent?: any;
|
|
7199
|
-
item_code?: any;
|
|
7200
|
-
item_type?: any;
|
|
7201
|
-
media?: any;
|
|
7202
|
-
multi_size?: any;
|
|
7203
|
-
name?: any;
|
|
7204
|
-
no_of_boxes?: any;
|
|
7205
|
-
product_group_tag?: any;
|
|
7206
|
-
product_publish?: any;
|
|
7207
|
-
return_config?: any;
|
|
7208
|
-
short_description?: any;
|
|
7209
|
-
size_guide?: any;
|
|
7210
|
-
sizes?: any;
|
|
7211
|
-
slug?: any;
|
|
7212
|
-
tags?: any;
|
|
7213
|
-
teaser_tag?: any;
|
|
7214
|
-
trader?: any;
|
|
7215
|
-
trader_type?: any;
|
|
7216
|
-
variants?: any;
|
|
7217
|
-
};
|
|
7218
|
-
/** @returns {PTErrorResponse} */
|
|
7219
|
-
declare function PTErrorResponse(): PTErrorResponse;
|
|
7220
|
-
type PTErrorResponse = {
|
|
7221
|
-
code?: string;
|
|
7222
|
-
errors?: any;
|
|
7223
|
-
message?: string;
|
|
7224
|
-
meta?: any;
|
|
7225
|
-
status?: number;
|
|
7226
|
-
};
|
|
7227
|
-
/** @returns {Quantities} */
|
|
7228
|
-
declare function Quantities(): Quantities;
|
|
7229
|
-
type Quantities = {
|
|
7230
|
-
damaged?: QuantityBase;
|
|
7231
|
-
not_available?: QuantityBase;
|
|
7232
|
-
order_committed?: QuantityBase;
|
|
7233
|
-
sellable?: QuantityBase;
|
|
7234
|
-
};
|
|
7235
|
-
/** @returns {QuantitiesArticle} */
|
|
7236
|
-
declare function QuantitiesArticle(): QuantitiesArticle;
|
|
7237
|
-
type QuantitiesArticle = {
|
|
7238
|
-
damaged?: Quantity;
|
|
7239
|
-
not_available?: Quantity;
|
|
7240
|
-
order_committed?: Quantity;
|
|
7241
|
-
sellable?: Quantity;
|
|
7242
|
-
};
|
|
7243
|
-
/** @returns {Quantity} */
|
|
7244
|
-
declare function Quantity(): Quantity;
|
|
7245
|
-
type Quantity = {
|
|
7246
|
-
count?: number;
|
|
7247
|
-
};
|
|
7248
|
-
/** @returns {QuantityBase} */
|
|
7249
|
-
declare function QuantityBase(): QuantityBase;
|
|
7250
|
-
type QuantityBase = {
|
|
7251
|
-
count?: number;
|
|
7252
|
-
updated_at?: string;
|
|
7253
|
-
};
|
|
7254
|
-
/** @returns {RawProduct} */
|
|
7255
|
-
declare function RawProduct(): RawProduct;
|
|
7256
|
-
type RawProduct = {
|
|
7257
|
-
_custom_json?: any;
|
|
7258
|
-
all_company_ids?: number[];
|
|
7259
|
-
all_identifiers?: string[];
|
|
7260
|
-
all_sizes?: any[];
|
|
7261
|
-
attributes?: any;
|
|
7262
|
-
brand?: Brand;
|
|
7263
|
-
brand_uid?: number;
|
|
7264
|
-
category?: any;
|
|
7265
|
-
category_slug?: string;
|
|
7266
|
-
category_uid?: number;
|
|
7267
|
-
color?: string;
|
|
7268
|
-
company_id?: number;
|
|
7269
|
-
country_of_origin?: string;
|
|
7270
|
-
created_by?: any;
|
|
7271
|
-
created_on?: string;
|
|
7272
|
-
currency?: string;
|
|
7273
|
-
custom_order?: any;
|
|
7274
|
-
departments?: number[];
|
|
7275
|
-
description?: string;
|
|
7276
|
-
highlights?: string[];
|
|
7277
|
-
hsn_code?: string;
|
|
7278
|
-
id?: string;
|
|
7279
|
-
image_nature?: string;
|
|
7280
|
-
images?: string[];
|
|
7281
|
-
is_active?: boolean;
|
|
7282
|
-
is_dependent?: boolean;
|
|
7283
|
-
is_expirable?: boolean;
|
|
7284
|
-
is_image_less_product?: boolean;
|
|
7285
|
-
is_physical?: boolean;
|
|
7286
|
-
is_set?: boolean;
|
|
7287
|
-
item_code?: string;
|
|
7288
|
-
item_type?: string;
|
|
7289
|
-
l3_mapping?: string[];
|
|
7290
|
-
media?: Media[];
|
|
7291
|
-
modified_by?: any;
|
|
7292
|
-
modified_on?: string;
|
|
7293
|
-
moq?: any;
|
|
7294
|
-
multi_size?: boolean;
|
|
7295
|
-
name?: string;
|
|
7296
|
-
net_quantity?: NetQuantityResponse;
|
|
7297
|
-
no_of_boxes?: number;
|
|
7298
|
-
pending?: string;
|
|
7299
|
-
primary_color?: string;
|
|
7300
|
-
product_group_tag?: string[];
|
|
7301
|
-
product_publish?: ProductPublished;
|
|
7302
|
-
return_config?: ReturnConfigResponse;
|
|
7303
|
-
short_description?: string;
|
|
7304
|
-
size_guide?: string;
|
|
7305
|
-
sizes?: any[];
|
|
7306
|
-
slug?: string;
|
|
7307
|
-
stage?: string;
|
|
7308
|
-
tags?: string[];
|
|
7309
|
-
tax_identifier?: any;
|
|
7245
|
+
category_slug?: any;
|
|
7246
|
+
command?: any;
|
|
7247
|
+
country_of_origin?: any;
|
|
7248
|
+
currency?: any;
|
|
7249
|
+
custom_order?: any;
|
|
7250
|
+
description?: any;
|
|
7251
|
+
highlights?: any;
|
|
7252
|
+
hsn_code?: any;
|
|
7253
|
+
is_active?: any;
|
|
7254
|
+
is_dependent?: any;
|
|
7255
|
+
item_code?: any;
|
|
7256
|
+
item_type?: any;
|
|
7257
|
+
media?: any;
|
|
7258
|
+
multi_size?: any;
|
|
7259
|
+
name?: any;
|
|
7260
|
+
no_of_boxes?: any;
|
|
7261
|
+
product_group_tag?: any;
|
|
7262
|
+
product_publish?: any;
|
|
7263
|
+
return_config?: any;
|
|
7264
|
+
short_description?: any;
|
|
7265
|
+
size_guide?: any;
|
|
7266
|
+
sizes?: any;
|
|
7267
|
+
slug?: any;
|
|
7268
|
+
tags?: any;
|
|
7310
7269
|
teaser_tag?: any;
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
uid?: number;
|
|
7314
|
-
variant_group?: any;
|
|
7315
|
-
variant_media?: any;
|
|
7270
|
+
trader?: any;
|
|
7271
|
+
trader_type?: any;
|
|
7316
7272
|
variants?: any;
|
|
7317
|
-
verified_by?: VerifiedBy;
|
|
7318
|
-
verified_on?: string;
|
|
7319
7273
|
};
|
|
7320
|
-
/** @returns {
|
|
7321
|
-
declare function
|
|
7322
|
-
type
|
|
7323
|
-
|
|
7324
|
-
|
|
7274
|
+
/** @returns {Quantities} */
|
|
7275
|
+
declare function Quantities(): Quantities;
|
|
7276
|
+
type Quantities = {
|
|
7277
|
+
damaged?: QuantityBase;
|
|
7278
|
+
not_available?: QuantityBase;
|
|
7279
|
+
order_committed?: QuantityBase;
|
|
7280
|
+
sellable?: QuantityBase;
|
|
7281
|
+
};
|
|
7282
|
+
/** @returns {QuantitiesArticle} */
|
|
7283
|
+
declare function QuantitiesArticle(): QuantitiesArticle;
|
|
7284
|
+
type QuantitiesArticle = {
|
|
7285
|
+
damaged?: Quantity;
|
|
7286
|
+
not_available?: Quantity;
|
|
7287
|
+
order_committed?: Quantity;
|
|
7288
|
+
sellable?: Quantity;
|
|
7289
|
+
};
|
|
7290
|
+
/** @returns {Quantity} */
|
|
7291
|
+
declare function Quantity(): Quantity;
|
|
7292
|
+
type Quantity = {
|
|
7293
|
+
count?: number;
|
|
7294
|
+
};
|
|
7295
|
+
/** @returns {QuantityBase} */
|
|
7296
|
+
declare function QuantityBase(): QuantityBase;
|
|
7297
|
+
type QuantityBase = {
|
|
7298
|
+
count?: number;
|
|
7299
|
+
updated_at?: string;
|
|
7325
7300
|
};
|
|
7326
7301
|
/** @returns {ReturnConfig} */
|
|
7327
7302
|
declare function ReturnConfig(): ReturnConfig;
|
|
@@ -7360,6 +7335,64 @@ type ReturnConfigResponse = {
|
|
|
7360
7335
|
time?: number;
|
|
7361
7336
|
unit?: string;
|
|
7362
7337
|
};
|
|
7338
|
+
/** @returns {Sitemap} */
|
|
7339
|
+
declare function Sitemap(): Sitemap;
|
|
7340
|
+
type Sitemap = {
|
|
7341
|
+
priority?: number;
|
|
7342
|
+
frequency?: string;
|
|
7343
|
+
};
|
|
7344
|
+
/** @returns {ApplicationItemSeoAction} */
|
|
7345
|
+
declare function ApplicationItemSeoAction(): ApplicationItemSeoAction;
|
|
7346
|
+
type ApplicationItemSeoAction = {
|
|
7347
|
+
page?: any;
|
|
7348
|
+
type?: string;
|
|
7349
|
+
};
|
|
7350
|
+
/** @returns {ApplicationItemSeoBreadcrumbs} */
|
|
7351
|
+
declare function ApplicationItemSeoBreadcrumbs(): ApplicationItemSeoBreadcrumbs;
|
|
7352
|
+
type ApplicationItemSeoBreadcrumbs = {
|
|
7353
|
+
url?: string;
|
|
7354
|
+
action?: ApplicationItemSeoAction[];
|
|
7355
|
+
};
|
|
7356
|
+
/** @returns {ApplicationItemSeoMetaTagItem} */
|
|
7357
|
+
declare function ApplicationItemSeoMetaTagItem(): ApplicationItemSeoMetaTagItem;
|
|
7358
|
+
type ApplicationItemSeoMetaTagItem = {
|
|
7359
|
+
key?: string;
|
|
7360
|
+
value?: string;
|
|
7361
|
+
};
|
|
7362
|
+
/** @returns {ApplicationItemSeoMetaTags} */
|
|
7363
|
+
declare function ApplicationItemSeoMetaTags(): ApplicationItemSeoMetaTags;
|
|
7364
|
+
type ApplicationItemSeoMetaTags = {
|
|
7365
|
+
title?: string;
|
|
7366
|
+
items?: ApplicationItemSeoMetaTagItem[];
|
|
7367
|
+
};
|
|
7368
|
+
/** @returns {Metatags} */
|
|
7369
|
+
declare function Metatags(): Metatags;
|
|
7370
|
+
type Metatags = {
|
|
7371
|
+
title?: string;
|
|
7372
|
+
items?: ApplicationItemSeoMetaTags[];
|
|
7373
|
+
};
|
|
7374
|
+
/** @returns {SizePromotionThreshold} */
|
|
7375
|
+
declare function SizePromotionThreshold(): SizePromotionThreshold;
|
|
7376
|
+
type SizePromotionThreshold = {
|
|
7377
|
+
threshold_type?: string;
|
|
7378
|
+
threshold_value?: number;
|
|
7379
|
+
};
|
|
7380
|
+
/** @returns {SEOData} */
|
|
7381
|
+
declare function SEOData(): SEOData;
|
|
7382
|
+
type SEOData = {
|
|
7383
|
+
description?: string;
|
|
7384
|
+
title?: string;
|
|
7385
|
+
sitemap?: Sitemap;
|
|
7386
|
+
breadcrumbs?: ApplicationItemSeoBreadcrumbs[];
|
|
7387
|
+
meta_tags?: Metatags[];
|
|
7388
|
+
canonical_url?: string;
|
|
7389
|
+
};
|
|
7390
|
+
/** @returns {SearchKeywordResult} */
|
|
7391
|
+
declare function SearchKeywordResult(): SearchKeywordResult;
|
|
7392
|
+
type SearchKeywordResult = {
|
|
7393
|
+
query: any;
|
|
7394
|
+
sort_on: string;
|
|
7395
|
+
};
|
|
7363
7396
|
/** @returns {SearchableAttribute} */
|
|
7364
7397
|
declare function SearchableAttribute(): SearchableAttribute;
|
|
7365
7398
|
type SearchableAttribute = {
|
|
@@ -7379,12 +7412,6 @@ type SearchableAttribute = {
|
|
|
7379
7412
|
*/
|
|
7380
7413
|
priority: number;
|
|
7381
7414
|
};
|
|
7382
|
-
/** @returns {SearchKeywordResult} */
|
|
7383
|
-
declare function SearchKeywordResult(): SearchKeywordResult;
|
|
7384
|
-
type SearchKeywordResult = {
|
|
7385
|
-
query: any;
|
|
7386
|
-
sort_on: string;
|
|
7387
|
-
};
|
|
7388
7415
|
/** @returns {SecondLevelChild} */
|
|
7389
7416
|
declare function SecondLevelChild(): SecondLevelChild;
|
|
7390
7417
|
type SecondLevelChild = {
|
|
@@ -7402,25 +7429,15 @@ type SellerPhoneNumber = {
|
|
|
7402
7429
|
country_code: number;
|
|
7403
7430
|
number: string;
|
|
7404
7431
|
};
|
|
7405
|
-
/** @returns {SEOData} */
|
|
7406
|
-
declare function SEOData(): SEOData;
|
|
7407
|
-
type SEOData = {
|
|
7408
|
-
breadcrumbs?: ApplicationItemSeoBreadcrumbs[];
|
|
7409
|
-
canonical_url?: string;
|
|
7410
|
-
description?: string;
|
|
7411
|
-
meta_tags?: Metatags[];
|
|
7412
|
-
sitemap?: Sitemap;
|
|
7413
|
-
title?: string;
|
|
7414
|
-
};
|
|
7415
7432
|
/** @returns {SeoDetail} */
|
|
7416
7433
|
declare function SeoDetail(): SeoDetail;
|
|
7417
7434
|
type SeoDetail = {
|
|
7418
|
-
breadcrumbs?: ApplicationItemSeoBreadcrumbs[];
|
|
7419
|
-
canonical_url?: string;
|
|
7420
7435
|
description?: string;
|
|
7421
|
-
meta_tags?: Metatags[];
|
|
7422
|
-
sitemap?: any;
|
|
7423
7436
|
title?: string;
|
|
7437
|
+
sitemap?: any;
|
|
7438
|
+
breadcrumbs?: ApplicationItemSeoBreadcrumbs[];
|
|
7439
|
+
meta_tags?: Metatags[];
|
|
7440
|
+
canonical_url?: string;
|
|
7424
7441
|
};
|
|
7425
7442
|
/** @returns {SetSize} */
|
|
7426
7443
|
declare function SetSize(): SetSize;
|
|
@@ -7438,12 +7455,6 @@ declare function SingleProductResponse(): SingleProductResponse;
|
|
|
7438
7455
|
type SingleProductResponse = {
|
|
7439
7456
|
data?: ProductSchemaV2;
|
|
7440
7457
|
};
|
|
7441
|
-
/** @returns {Sitemap} */
|
|
7442
|
-
declare function Sitemap(): Sitemap;
|
|
7443
|
-
type Sitemap = {
|
|
7444
|
-
frequency?: string;
|
|
7445
|
-
priority?: number;
|
|
7446
|
-
};
|
|
7447
7458
|
/** @returns {Size} */
|
|
7448
7459
|
declare function Size(): Size;
|
|
7449
7460
|
type Size = {
|
|
@@ -7474,12 +7485,6 @@ type SizeGuideResponse = {
|
|
|
7474
7485
|
tag?: string;
|
|
7475
7486
|
title?: string;
|
|
7476
7487
|
};
|
|
7477
|
-
/** @returns {SizePromotionThreshold} */
|
|
7478
|
-
declare function SizePromotionThreshold(): SizePromotionThreshold;
|
|
7479
|
-
type SizePromotionThreshold = {
|
|
7480
|
-
threshold_type?: string;
|
|
7481
|
-
threshold_value?: number;
|
|
7482
|
-
};
|
|
7483
7488
|
/** @returns {StoreAssignResponse} */
|
|
7484
7489
|
declare function StoreAssignResponse(): StoreAssignResponse;
|
|
7485
7490
|
type StoreAssignResponse = {
|
|
@@ -7572,6 +7577,12 @@ type TemplateDetails = {
|
|
|
7572
7577
|
slug: string;
|
|
7573
7578
|
tag?: string;
|
|
7574
7579
|
};
|
|
7580
|
+
/** @returns {TemplateValidationData} */
|
|
7581
|
+
declare function TemplateValidationData(): TemplateValidationData;
|
|
7582
|
+
type TemplateValidationData = {
|
|
7583
|
+
global_validation?: GlobalValidation;
|
|
7584
|
+
template_validation?: any;
|
|
7585
|
+
};
|
|
7575
7586
|
/** @returns {TemplatesResponse} */
|
|
7576
7587
|
declare function TemplatesResponse(): TemplatesResponse;
|
|
7577
7588
|
type TemplatesResponse = {
|
|
@@ -7584,12 +7595,6 @@ type TemplatesValidationResponse = {
|
|
|
7584
7595
|
data?: TemplateValidationData;
|
|
7585
7596
|
template_details?: TemplateDetails;
|
|
7586
7597
|
};
|
|
7587
|
-
/** @returns {TemplateValidationData} */
|
|
7588
|
-
declare function TemplateValidationData(): TemplateValidationData;
|
|
7589
|
-
type TemplateValidationData = {
|
|
7590
|
-
global_validation?: GlobalValidation;
|
|
7591
|
-
template_validation?: any;
|
|
7592
|
-
};
|
|
7593
7598
|
/** @returns {ThirdLevelChild} */
|
|
7594
7599
|
declare function ThirdLevelChild(): ThirdLevelChild;
|
|
7595
7600
|
type ThirdLevelChild = {
|
|
@@ -7652,35 +7657,6 @@ type UpdateCollection = {
|
|
|
7652
7657
|
type?: string;
|
|
7653
7658
|
visible_facets_keys?: string[];
|
|
7654
7659
|
};
|
|
7655
|
-
/** @returns {UpdatedResponse} */
|
|
7656
|
-
declare function UpdatedResponse(): UpdatedResponse;
|
|
7657
|
-
type UpdatedResponse = {
|
|
7658
|
-
items_not_updated?: number[];
|
|
7659
|
-
message?: string;
|
|
7660
|
-
};
|
|
7661
|
-
/** @returns {UpdateMarketplaceOptinRequest} */
|
|
7662
|
-
declare function UpdateMarketplaceOptinRequest(): UpdateMarketplaceOptinRequest;
|
|
7663
|
-
type UpdateMarketplaceOptinRequest = {
|
|
7664
|
-
brand_ids?: number[];
|
|
7665
|
-
company_id?: number;
|
|
7666
|
-
enabled?: boolean;
|
|
7667
|
-
opt_level?: string;
|
|
7668
|
-
platform?: string;
|
|
7669
|
-
store_ids?: number[];
|
|
7670
|
-
};
|
|
7671
|
-
/** @returns {UpdateMarketplaceOptinResponse} */
|
|
7672
|
-
declare function UpdateMarketplaceOptinResponse(): UpdateMarketplaceOptinResponse;
|
|
7673
|
-
type UpdateMarketplaceOptinResponse = {
|
|
7674
|
-
app_id?: string;
|
|
7675
|
-
brand_ids?: number[];
|
|
7676
|
-
company_id?: number;
|
|
7677
|
-
created_by?: CreatedBy;
|
|
7678
|
-
enabled?: boolean;
|
|
7679
|
-
modified_by?: CreatedBy;
|
|
7680
|
-
opt_level?: string;
|
|
7681
|
-
platform?: string;
|
|
7682
|
-
store_ids?: number[];
|
|
7683
|
-
};
|
|
7684
7660
|
/** @returns {UpdateSearchConfigurationRequest} */
|
|
7685
7661
|
declare function UpdateSearchConfigurationRequest(): UpdateSearchConfigurationRequest;
|
|
7686
7662
|
type UpdateSearchConfigurationRequest = {
|
|
@@ -7733,6 +7709,12 @@ declare function UpdateSearchConfigurationResponse(): UpdateSearchConfigurationR
|
|
|
7733
7709
|
type UpdateSearchConfigurationResponse = {
|
|
7734
7710
|
success?: boolean;
|
|
7735
7711
|
};
|
|
7712
|
+
/** @returns {UpdatedResponse} */
|
|
7713
|
+
declare function UpdatedResponse(): UpdatedResponse;
|
|
7714
|
+
type UpdatedResponse = {
|
|
7715
|
+
items_not_updated?: number[];
|
|
7716
|
+
message?: string;
|
|
7717
|
+
};
|
|
7736
7718
|
/** @returns {UserCommon} */
|
|
7737
7719
|
declare function UserCommon(): UserCommon;
|
|
7738
7720
|
type UserCommon = {
|
|
@@ -7893,6 +7875,57 @@ type WeightResponse1 = {
|
|
|
7893
7875
|
shipping?: number;
|
|
7894
7876
|
unit?: string;
|
|
7895
7877
|
};
|
|
7878
|
+
/** @returns {CreatedBy} */
|
|
7879
|
+
declare function CreatedBy(): CreatedBy;
|
|
7880
|
+
type CreatedBy = {
|
|
7881
|
+
username?: string;
|
|
7882
|
+
user_id?: string;
|
|
7883
|
+
};
|
|
7884
|
+
/** @returns {Marketplaces} */
|
|
7885
|
+
declare function Marketplaces(): Marketplaces;
|
|
7886
|
+
type Marketplaces = {
|
|
7887
|
+
brand_ids?: number[];
|
|
7888
|
+
app_id?: string;
|
|
7889
|
+
enabled?: boolean;
|
|
7890
|
+
created_by?: CreatedBy;
|
|
7891
|
+
created_on?: any;
|
|
7892
|
+
opt_level?: string;
|
|
7893
|
+
company_id?: number;
|
|
7894
|
+
modified_by?: CreatedBy;
|
|
7895
|
+
store_ids?: number[];
|
|
7896
|
+
modified_on?: any;
|
|
7897
|
+
platforms?: string;
|
|
7898
|
+
_id?: string;
|
|
7899
|
+
};
|
|
7900
|
+
/** @returns {GetAllMarketplaces} */
|
|
7901
|
+
declare function GetAllMarketplaces(): GetAllMarketplaces;
|
|
7902
|
+
type GetAllMarketplaces = {
|
|
7903
|
+
items?: Marketplaces[];
|
|
7904
|
+
page?: Page;
|
|
7905
|
+
};
|
|
7906
|
+
/** @returns {UpdateMarketplaceOptinRequest} */
|
|
7907
|
+
declare function UpdateMarketplaceOptinRequest(): UpdateMarketplaceOptinRequest;
|
|
7908
|
+
type UpdateMarketplaceOptinRequest = {
|
|
7909
|
+
brand_ids?: number[];
|
|
7910
|
+
company_id?: number;
|
|
7911
|
+
enabled?: boolean;
|
|
7912
|
+
opt_level?: string;
|
|
7913
|
+
platform?: string;
|
|
7914
|
+
store_ids?: number[];
|
|
7915
|
+
};
|
|
7916
|
+
/** @returns {UpdateMarketplaceOptinResponse} */
|
|
7917
|
+
declare function UpdateMarketplaceOptinResponse(): UpdateMarketplaceOptinResponse;
|
|
7918
|
+
type UpdateMarketplaceOptinResponse = {
|
|
7919
|
+
brand_ids?: number[];
|
|
7920
|
+
company_id?: number;
|
|
7921
|
+
app_id?: string;
|
|
7922
|
+
enabled?: boolean;
|
|
7923
|
+
opt_level?: string;
|
|
7924
|
+
platform?: string;
|
|
7925
|
+
store_ids?: number[];
|
|
7926
|
+
created_by?: CreatedBy;
|
|
7927
|
+
modified_by?: CreatedBy;
|
|
7928
|
+
};
|
|
7896
7929
|
/**
|
|
7897
7930
|
* Enum: PageType Used By: Catalog
|
|
7898
7931
|
*
|