@gofynd/fdk-client-javascript 1.3.3-beta.2 → 1.3.3
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 +4 -0
- package/sdk/application/Cart/CartApplicationModel.js +4 -0
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.js +6 -8
- package/sdk/common/AxiosHelper.js +2 -2
- package/sdk/platform/Cart/CartPlatformModel.d.ts +11 -2
- package/sdk/platform/Cart/CartPlatformModel.js +8 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +56 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +308 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +38 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +344 -66
- package/sdk/platform/Catalog/CatalogPlatformModel.js +247 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +26 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +152 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +14 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +22 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +24 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +121 -3
- package/sdk/platform/Order/OrderPlatformClient.js +211 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +16 -4
- package/sdk/platform/Order/OrderPlatformModel.js +513 -501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +6 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +6 -0
|
@@ -23,9 +23,9 @@ export = CatalogPlatformModel;
|
|
|
23
23
|
* @property {number} item_height
|
|
24
24
|
* @property {number} item_length
|
|
25
25
|
* @property {number} item_weight
|
|
26
|
-
* @property {
|
|
26
|
+
* @property {string} item_weight_unit_of_measure
|
|
27
27
|
* @property {number} item_width
|
|
28
|
-
* @property {
|
|
28
|
+
* @property {string} size
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
31
|
* @typedef AppCatalogConfiguration
|
|
@@ -124,8 +124,8 @@ export = CatalogPlatformModel;
|
|
|
124
124
|
*/
|
|
125
125
|
/**
|
|
126
126
|
* @typedef ApplicationItemSEO
|
|
127
|
-
* @property {
|
|
128
|
-
* @property {
|
|
127
|
+
* @property {string} [description] - The SEO description of the item
|
|
128
|
+
* @property {string} [title] - The SEO title of the item
|
|
129
129
|
*/
|
|
130
130
|
/**
|
|
131
131
|
* @typedef ApplicationProductListingResponse
|
|
@@ -359,7 +359,7 @@ export = CatalogPlatformModel;
|
|
|
359
359
|
* @property {Object[]} [failed_records]
|
|
360
360
|
* @property {string} [file_path]
|
|
361
361
|
* @property {boolean} [is_active] - Whether the item is active or not.
|
|
362
|
-
* @property {
|
|
362
|
+
* @property {string} [modified_by] - The user who last modified the item.
|
|
363
363
|
* @property {string} [modified_on] - The date and time when the item was last modified.
|
|
364
364
|
* @property {string} [stage]
|
|
365
365
|
* @property {number} [succeed]
|
|
@@ -776,6 +776,29 @@ export = CatalogPlatformModel;
|
|
|
776
776
|
* @property {string} type
|
|
777
777
|
* @property {string[]} [visible_facets_keys]
|
|
778
778
|
*/
|
|
779
|
+
/**
|
|
780
|
+
* @typedef CreateSearchConfigurationRequest
|
|
781
|
+
* @property {string} application_id - The application id where custom search
|
|
782
|
+
* configuration is set
|
|
783
|
+
* @property {number} company_id - The company id where custom search configuration is set
|
|
784
|
+
* @property {UserSerializer} [created_by] - The user who created the search
|
|
785
|
+
* configuration.
|
|
786
|
+
* @property {string} [created_on] - The date and time when the search
|
|
787
|
+
* configuration was created.
|
|
788
|
+
* @property {boolean} [is_proximity_enabled] - Flag indicating if proximity
|
|
789
|
+
* search is enabled for this attribute.
|
|
790
|
+
* @property {UserSerializer} [modified_by] - The user who modified the search
|
|
791
|
+
* configuration.
|
|
792
|
+
* @property {string} [modified_on] - The date and time when the search
|
|
793
|
+
* configuration was last modified.
|
|
794
|
+
* @property {number} [proximity] - Proximity distance configuration
|
|
795
|
+
* @property {SearchableAttribute[]} [searchable_attributes] - The searchable
|
|
796
|
+
* attributes defined on the application.
|
|
797
|
+
*/
|
|
798
|
+
/**
|
|
799
|
+
* @typedef CreateSearchConfigurationResponse
|
|
800
|
+
* @property {boolean} [success]
|
|
801
|
+
*/
|
|
779
802
|
/**
|
|
780
803
|
* @typedef CreateSearchKeyword
|
|
781
804
|
* @property {Object} [_custom_json]
|
|
@@ -815,6 +838,10 @@ export = CatalogPlatformModel;
|
|
|
815
838
|
* @typedef DeleteResponse
|
|
816
839
|
* @property {string} [message]
|
|
817
840
|
*/
|
|
841
|
+
/**
|
|
842
|
+
* @typedef DeleteSearchConfigurationResponse
|
|
843
|
+
* @property {boolean} [success]
|
|
844
|
+
*/
|
|
818
845
|
/**
|
|
819
846
|
* @typedef Department
|
|
820
847
|
* @property {Media2} [logo]
|
|
@@ -866,20 +893,20 @@ export = CatalogPlatformModel;
|
|
|
866
893
|
*/
|
|
867
894
|
/**
|
|
868
895
|
* @typedef DepartmentModel
|
|
869
|
-
* @property {
|
|
896
|
+
* @property {string} [_cls]
|
|
870
897
|
* @property {Object} [_custom_json]
|
|
871
|
-
* @property {
|
|
898
|
+
* @property {string} [_id]
|
|
872
899
|
* @property {UserDetail} [created_by] - User details of the creator of the document
|
|
873
900
|
* @property {string} created_on - Timestamp of the creation of the document
|
|
874
901
|
* @property {boolean} [is_active] - Whether the department is currently active
|
|
875
|
-
* @property {
|
|
902
|
+
* @property {string} logo - The URL of the department's logo
|
|
876
903
|
* @property {UserDetail} [modified_by] - User details of the last modifier of
|
|
877
904
|
* the document
|
|
878
905
|
* @property {string} modified_on - Timestamp of the last modification of the document
|
|
879
|
-
* @property {
|
|
906
|
+
* @property {string} name - The name of the department
|
|
880
907
|
* @property {number} priority_order - The priority order of the department
|
|
881
|
-
* @property {
|
|
882
|
-
* @property {
|
|
908
|
+
* @property {string} slug - The unique slug identifier for the department
|
|
909
|
+
* @property {string[]} [synonyms] - A list of synonyms for the department name
|
|
883
910
|
* @property {number} uid - The unique ID for the department
|
|
884
911
|
* @property {UserDetail} [verified_by] - User details of the verifier of the
|
|
885
912
|
* document, if applicable
|
|
@@ -1060,15 +1087,15 @@ export = CatalogPlatformModel;
|
|
|
1060
1087
|
* @property {GetAddressSerializer[]} [addresses]
|
|
1061
1088
|
* @property {string} [business_type]
|
|
1062
1089
|
* @property {string} [company_type]
|
|
1063
|
-
* @property {
|
|
1090
|
+
* @property {UserSerializer2} [created_by]
|
|
1064
1091
|
* @property {string} [created_on]
|
|
1065
|
-
* @property {
|
|
1092
|
+
* @property {UserSerializer2} [modified_by]
|
|
1066
1093
|
* @property {string} [modified_on]
|
|
1067
1094
|
* @property {string} [name]
|
|
1068
1095
|
* @property {string} [reject_reason]
|
|
1069
1096
|
* @property {string} [stage]
|
|
1070
1097
|
* @property {number} [uid]
|
|
1071
|
-
* @property {
|
|
1098
|
+
* @property {UserSerializer2} [verified_by]
|
|
1072
1099
|
* @property {string} [verified_on]
|
|
1073
1100
|
*/
|
|
1074
1101
|
/**
|
|
@@ -1084,12 +1111,12 @@ export = CatalogPlatformModel;
|
|
|
1084
1111
|
*/
|
|
1085
1112
|
/**
|
|
1086
1113
|
* @typedef GetDepartment
|
|
1087
|
-
* @property {
|
|
1114
|
+
* @property {UserSerializer1} [created_by]
|
|
1088
1115
|
* @property {string} [created_on]
|
|
1089
1116
|
* @property {boolean} [is_active]
|
|
1090
1117
|
* @property {string} [item_type]
|
|
1091
1118
|
* @property {string} [logo]
|
|
1092
|
-
* @property {
|
|
1119
|
+
* @property {UserSerializer1} [modified_by]
|
|
1093
1120
|
* @property {string} [modified_on]
|
|
1094
1121
|
* @property {string} [name]
|
|
1095
1122
|
* @property {number} [page_no]
|
|
@@ -1105,7 +1132,7 @@ export = CatalogPlatformModel;
|
|
|
1105
1132
|
* @property {BrandMeta1} [brand]
|
|
1106
1133
|
* @property {CompanyMeta1} [company]
|
|
1107
1134
|
* @property {string} [country_of_origin]
|
|
1108
|
-
* @property {
|
|
1135
|
+
* @property {UserSerializer1} [created_by]
|
|
1109
1136
|
* @property {DateMeta} [date_meta]
|
|
1110
1137
|
* @property {DimensionResponse1} [dimension]
|
|
1111
1138
|
* @property {string} [expiration_date]
|
|
@@ -1115,7 +1142,7 @@ export = CatalogPlatformModel;
|
|
|
1115
1142
|
* @property {boolean} [is_set]
|
|
1116
1143
|
* @property {number} [item_id]
|
|
1117
1144
|
* @property {ManufacturerResponse1} [manufacturer]
|
|
1118
|
-
* @property {
|
|
1145
|
+
* @property {UserSerializer1} [modified_by]
|
|
1119
1146
|
* @property {Object} [platforms]
|
|
1120
1147
|
* @property {PriceArticle} [price]
|
|
1121
1148
|
* @property {QuantitiesArticle} [quantities]
|
|
@@ -1145,14 +1172,14 @@ export = CatalogPlatformModel;
|
|
|
1145
1172
|
* @property {string} code
|
|
1146
1173
|
* @property {GetCompanySerializer} [company]
|
|
1147
1174
|
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
1148
|
-
* @property {
|
|
1175
|
+
* @property {UserSerializer3} [created_by]
|
|
1149
1176
|
* @property {string} [created_on]
|
|
1150
1177
|
* @property {string} display_name
|
|
1151
1178
|
* @property {Document[]} [documents]
|
|
1152
1179
|
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
1153
1180
|
* @property {LocationIntegrationType} [integration_type]
|
|
1154
1181
|
* @property {LocationManagerSerializer} [manager]
|
|
1155
|
-
* @property {
|
|
1182
|
+
* @property {UserSerializer3} [modified_by]
|
|
1156
1183
|
* @property {string} [modified_on]
|
|
1157
1184
|
* @property {string} name
|
|
1158
1185
|
* @property {string[]} [notification_emails]
|
|
@@ -1162,7 +1189,7 @@ export = CatalogPlatformModel;
|
|
|
1162
1189
|
* @property {string} [store_type]
|
|
1163
1190
|
* @property {LocationDayWiseSerializer[]} [timing]
|
|
1164
1191
|
* @property {number} [uid]
|
|
1165
|
-
* @property {
|
|
1192
|
+
* @property {UserSerializer3} [verified_by]
|
|
1166
1193
|
* @property {string} [verified_on]
|
|
1167
1194
|
* @property {Object} [warnings]
|
|
1168
1195
|
*/
|
|
@@ -1219,6 +1246,25 @@ export = CatalogPlatformModel;
|
|
|
1219
1246
|
* @property {number} [product_uid]
|
|
1220
1247
|
* @property {Size[]} [sizes]
|
|
1221
1248
|
*/
|
|
1249
|
+
/**
|
|
1250
|
+
* @typedef GetSearchConfigurationResponse
|
|
1251
|
+
* @property {string} application_id - The application id where custom search
|
|
1252
|
+
* configuration is set
|
|
1253
|
+
* @property {number} company_id - The company id where custom search configuration is set
|
|
1254
|
+
* @property {UserSerializer} [created_by] - The user who created the search
|
|
1255
|
+
* configuration.
|
|
1256
|
+
* @property {string} [created_on] - The date and time when the search
|
|
1257
|
+
* configuration was created.
|
|
1258
|
+
* @property {boolean} [is_proximity_enabled] - Flag indicating if proximity
|
|
1259
|
+
* search is enabled for this attribute.
|
|
1260
|
+
* @property {UserSerializer} [modified_by] - The user who modified the search
|
|
1261
|
+
* configuration.
|
|
1262
|
+
* @property {string} [modified_on] - The date and time when the search
|
|
1263
|
+
* configuration was last modified.
|
|
1264
|
+
* @property {number} [proximity] - Proximity distance configuration
|
|
1265
|
+
* @property {SearchableAttribute[]} [searchable_attributes] - The searchable
|
|
1266
|
+
* attributes defined on the application.
|
|
1267
|
+
*/
|
|
1222
1268
|
/**
|
|
1223
1269
|
* @typedef GetSearchWordsData
|
|
1224
1270
|
* @property {Object} [_custom_json]
|
|
@@ -1250,7 +1296,7 @@ export = CatalogPlatformModel;
|
|
|
1250
1296
|
/**
|
|
1251
1297
|
* @typedef GTIN
|
|
1252
1298
|
* @property {string} gtin_type
|
|
1253
|
-
* @property {
|
|
1299
|
+
* @property {string} gtin_value
|
|
1254
1300
|
* @property {boolean} [primary]
|
|
1255
1301
|
*/
|
|
1256
1302
|
/**
|
|
@@ -1446,7 +1492,7 @@ export = CatalogPlatformModel;
|
|
|
1446
1492
|
* @property {string[]} [notification_emails] - User email to get notification
|
|
1447
1493
|
* post completion of the job.
|
|
1448
1494
|
* @property {number} seller_id - This ID of the company.
|
|
1449
|
-
* @property {
|
|
1495
|
+
* @property {string} [status] - This tells you the current status of the export job.
|
|
1450
1496
|
* @property {string} task_id - This is the task id of the jobs that is used for search.
|
|
1451
1497
|
* @property {string} [type] - This is the file type of the export.
|
|
1452
1498
|
* @property {string} url - This is the url to download the export.
|
|
@@ -1634,7 +1680,7 @@ export = CatalogPlatformModel;
|
|
|
1634
1680
|
* @property {number} [price_transfer]
|
|
1635
1681
|
* @property {number} quantity
|
|
1636
1682
|
* @property {InventorySet} [set]
|
|
1637
|
-
* @property {
|
|
1683
|
+
* @property {string} size
|
|
1638
1684
|
* @property {string} store_code
|
|
1639
1685
|
*/
|
|
1640
1686
|
/**
|
|
@@ -1781,9 +1827,9 @@ export = CatalogPlatformModel;
|
|
|
1781
1827
|
*/
|
|
1782
1828
|
/**
|
|
1783
1829
|
* @typedef MetaFields
|
|
1784
|
-
* @property {
|
|
1830
|
+
* @property {string} key - The key of the metadata. Should be a non-empty
|
|
1785
1831
|
* string and length should not exceed 30 characters.
|
|
1786
|
-
* @property {
|
|
1832
|
+
* @property {string} value - The value of the metadata. Should be a non-empty
|
|
1787
1833
|
* string and length should not exceed 100 characters.
|
|
1788
1834
|
*/
|
|
1789
1835
|
/**
|
|
@@ -2093,7 +2139,7 @@ export = CatalogPlatformModel;
|
|
|
2093
2139
|
* @property {NetQuantity} [net_quantity]
|
|
2094
2140
|
* @property {number} [no_of_boxes]
|
|
2095
2141
|
* @property {string[]} [product_group_tag]
|
|
2096
|
-
* @property {
|
|
2142
|
+
* @property {ProductPublish1} [product_publish]
|
|
2097
2143
|
* @property {string} [requester]
|
|
2098
2144
|
* @property {ReturnConfig} return_config
|
|
2099
2145
|
* @property {string} [short_description]
|
|
@@ -2289,7 +2335,7 @@ export = CatalogPlatformModel;
|
|
|
2289
2335
|
* @property {string} [pending]
|
|
2290
2336
|
* @property {string} [primary_color]
|
|
2291
2337
|
* @property {string[]} [product_group_tag]
|
|
2292
|
-
* @property {
|
|
2338
|
+
* @property {ProductPublish} [product_publish]
|
|
2293
2339
|
* @property {ReturnConfigResponse} [return_config]
|
|
2294
2340
|
* @property {string} [short_description]
|
|
2295
2341
|
* @property {string} [size_guide]
|
|
@@ -2556,6 +2602,15 @@ export = CatalogPlatformModel;
|
|
|
2556
2602
|
* @property {number} [time]
|
|
2557
2603
|
* @property {string} [unit]
|
|
2558
2604
|
*/
|
|
2605
|
+
/**
|
|
2606
|
+
* @typedef SearchableAttribute
|
|
2607
|
+
* @property {string} key - The attribute key to search on. This key matches the
|
|
2608
|
+
* solr document key
|
|
2609
|
+
* @property {string} name - The name of key to search on. This is for
|
|
2610
|
+
* displaying purposes on platform
|
|
2611
|
+
* @property {number} priority - Order in which the searchable attribute should
|
|
2612
|
+
* kick in. Higher the priority, higher the weight considered while searching
|
|
2613
|
+
*/
|
|
2559
2614
|
/**
|
|
2560
2615
|
* @typedef SearchKeywordResult
|
|
2561
2616
|
* @property {Object} query
|
|
@@ -2578,8 +2633,8 @@ export = CatalogPlatformModel;
|
|
|
2578
2633
|
*/
|
|
2579
2634
|
/**
|
|
2580
2635
|
* @typedef SEOData
|
|
2581
|
-
* @property {
|
|
2582
|
-
* @property {
|
|
2636
|
+
* @property {string} [description]
|
|
2637
|
+
* @property {string} [title]
|
|
2583
2638
|
*/
|
|
2584
2639
|
/**
|
|
2585
2640
|
* @typedef SeoDetail
|
|
@@ -2766,7 +2821,7 @@ export = CatalogPlatformModel;
|
|
|
2766
2821
|
* @property {boolean} [is_visible]
|
|
2767
2822
|
* @property {CollectionImage} [logo]
|
|
2768
2823
|
* @property {Object} [meta]
|
|
2769
|
-
* @property {string} [modified_by]
|
|
2824
|
+
* @property {string} [modified_by] - User info.
|
|
2770
2825
|
* @property {string} [name]
|
|
2771
2826
|
* @property {number} [priority]
|
|
2772
2827
|
* @property {boolean} [published]
|
|
@@ -2783,6 +2838,29 @@ export = CatalogPlatformModel;
|
|
|
2783
2838
|
* @property {number[]} [items_not_updated]
|
|
2784
2839
|
* @property {string} [message]
|
|
2785
2840
|
*/
|
|
2841
|
+
/**
|
|
2842
|
+
* @typedef UpdateSearchConfigurationRequest
|
|
2843
|
+
* @property {string} application_id - The application id where custom search
|
|
2844
|
+
* configuration is set
|
|
2845
|
+
* @property {number} company_id - The company id where custom search configuration is set
|
|
2846
|
+
* @property {UserSerializer} [created_by] - The user who created the search
|
|
2847
|
+
* configuration.
|
|
2848
|
+
* @property {string} [created_on] - The date and time when the search
|
|
2849
|
+
* configuration was created.
|
|
2850
|
+
* @property {boolean} [is_proximity_enabled] - Flag indicating if proximity
|
|
2851
|
+
* search is enabled for this attribute.
|
|
2852
|
+
* @property {UserSerializer} [modified_by] - The user who modified the search
|
|
2853
|
+
* configuration.
|
|
2854
|
+
* @property {string} [modified_on] - The date and time when the search
|
|
2855
|
+
* configuration was last modified.
|
|
2856
|
+
* @property {number} [proximity] - Proximity distance configuration
|
|
2857
|
+
* @property {SearchableAttribute[]} [searchable_attributes] - The searchable
|
|
2858
|
+
* attributes defined on the application.
|
|
2859
|
+
*/
|
|
2860
|
+
/**
|
|
2861
|
+
* @typedef UpdateSearchConfigurationResponse
|
|
2862
|
+
* @property {boolean} [success]
|
|
2863
|
+
*/
|
|
2786
2864
|
/**
|
|
2787
2865
|
* @typedef UserCommon
|
|
2788
2866
|
* @property {number} [company_id]
|
|
@@ -2818,6 +2896,12 @@ export = CatalogPlatformModel;
|
|
|
2818
2896
|
*/
|
|
2819
2897
|
/**
|
|
2820
2898
|
* @typedef UserSerializer
|
|
2899
|
+
* @property {string} [contact] - The contact information of the user.
|
|
2900
|
+
* @property {string} [user_id] - The unique ID of the user.
|
|
2901
|
+
* @property {string} [username] - The username of the user.
|
|
2902
|
+
*/
|
|
2903
|
+
/**
|
|
2904
|
+
* @typedef UserSerializer1
|
|
2821
2905
|
* @property {string} [_id]
|
|
2822
2906
|
* @property {string} [contact]
|
|
2823
2907
|
* @property {string} [uid]
|
|
@@ -2825,13 +2909,13 @@ export = CatalogPlatformModel;
|
|
|
2825
2909
|
* @property {string} [username]
|
|
2826
2910
|
*/
|
|
2827
2911
|
/**
|
|
2828
|
-
* @typedef
|
|
2912
|
+
* @typedef UserSerializer2
|
|
2829
2913
|
* @property {string} [contact]
|
|
2830
2914
|
* @property {string} [user_id]
|
|
2831
2915
|
* @property {string} [username]
|
|
2832
2916
|
*/
|
|
2833
2917
|
/**
|
|
2834
|
-
* @typedef
|
|
2918
|
+
* @typedef UserSerializer3
|
|
2835
2919
|
* @property {string} [contact]
|
|
2836
2920
|
* @property {string} [user_id]
|
|
2837
2921
|
* @property {string} [username]
|
|
@@ -2931,7 +3015,7 @@ export = CatalogPlatformModel;
|
|
|
2931
3015
|
declare class CatalogPlatformModel {
|
|
2932
3016
|
}
|
|
2933
3017
|
declare namespace CatalogPlatformModel {
|
|
2934
|
-
export { Action, ActionPage, AllowSingleRequest, AllSizes, AppCatalogConfiguration, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMeta, ApplicationItemMOQ, ApplicationItemSEO, ApplicationProductListingResponse, ApplicationStoreJson, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutocompleteAction, AutoCompleteMedia, AutocompletePageAction, AutocompleteResult, BannerImage, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, BulkInventoryGetItems, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchKeyword, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, GetConfigMetadataResponse, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, GTIN, Guide, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HSNCodesResponse, HSNData, HSNDataInsertV2, HsnUpsert, Image, ImageUrls, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, InvSize, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, MOQData, NetQuantity, NetQuantityResponse, NextSchedule, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptInPostRequest, OptinStoreDetails, OwnerAppItemResponse, Page, PageResponse, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, PTErrorResponse, Quantities, QuantitiesArticle, Quantity, QuantityBase, RawProduct, RawProductListingResponse, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, SearchKeywordResult, SecondLevelChild, SellerPhoneNumber, SEOData, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Size, SizeDistribution, SizeGuideResponse, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplatesResponse, TemplatesValidationResponse, TemplateValidationData, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdatedResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, PageType };
|
|
3018
|
+
export { Action, ActionPage, AllowSingleRequest, AllSizes, AppCatalogConfiguration, AppConfiguration, AppConfigurationDetail, AppConfigurationsSort, ApplicationBrandJson, ApplicationCategoryJson, ApplicationDepartment, ApplicationDepartmentJson, ApplicationDepartmentListingResponse, ApplicationItemMeta, ApplicationItemMOQ, ApplicationItemSEO, ApplicationProductListingResponse, ApplicationStoreJson, ArticleAssignment, ArticleAssignment1, ArticleQuery, ArticleStoreResponse, AssignStore, AssignStoreArticle, AttributeDetailsGroup, AttributeMaster, AttributeMasterDetails, AttributeMasterFilter, AttributeMasterMandatoryDetails, AttributeMasterMeta, AttributeMasterSerializer, AttributeSchemaRange, AutocompleteAction, AutoCompleteMedia, AutocompletePageAction, AutocompleteResult, BannerImage, Brand, BrandItem, BrandListingResponse, BrandMeta, BrandMeta1, BulkAssetResponse, BulkHsnResponse, BulkHsnUpsert, BulkInventoryGet, BulkInventoryGetItems, BulkJob, BulkProductRequest, BulkResponse, CatalogInsightBrand, CatalogInsightItem, CatalogInsightResponse, CategoriesResponse, Category, CategoryCreateResponse, CategoryItems, CategoryListingResponse, CategoryMapping, CategoryMappingValues, CategoryRequestBody, CategoryResponse, CategoryUpdateResponse, Child, CollectionBadge, CollectionBanner, CollectionCreateResponse, CollectionDetailResponse, CollectionImage, CollectionItem, CollectionItemUpdate, CollectionListingFilter, CollectionListingFilterTag, CollectionListingFilterType, CollectionQuery, CollectionSchedule, CompanyBrandDetail, CompanyMeta, CompanyMeta1, CompanyOptIn, ConfigErrorResponse, ConfigSuccessResponse, ConfigurationBucketPoints, ConfigurationListing, ConfigurationListingFilter, ConfigurationListingFilterConfig, ConfigurationListingFilterValue, ConfigurationListingSort, ConfigurationListingSortConfig, ConfigurationProduct, ConfigurationProductConfig, ConfigurationProductSimilar, ConfigurationProductVariant, ConfigurationProductVariantConfig, CreateAutocompleteKeyword, CreateAutocompleteWordsResponse, CreateCollection, CreateSearchConfigurationRequest, CreateSearchConfigurationResponse, CreateSearchKeyword, CrossSellingData, CrossSellingResponse, CustomOrder, DateMeta, DefaultKeyRequest, DeleteResponse, DeleteSearchConfigurationResponse, Department, DepartmentCategoryTree, DepartmentCreateErrorResponse, DepartmentCreateResponse, DepartmentCreateUpdate, DepartmentErrorResponse, DepartmentIdentifier, DepartmentModel, DepartmentResponse, DepartmentsResponse, DimensionResponse, DimensionResponse1, Document, EntityConfiguration, ErrorResponse, FilerList, GenderDetail, GetAddressSerializer, GetAllSizes, GetAppCatalogConfiguration, GetAppCatalogEntityConfiguration, GetAutocompleteWordsData, GetAutocompleteWordsResponse, GetCatalogConfigurationDetailsProduct, GetCatalogConfigurationDetailsSchemaListing, GetCatalogConfigurationMetaData, GetCollectionDetailNest, GetCollectionItemsResponse, GetCollectionListingResponse, GetCollectionQueryOptionResponse, GetCompanySerializer, GetConfigMetadataResponse, GetConfigResponse, GetDepartment, GetInventories, GetInventoriesResponse, GetLocationSerializer, GetOptInPlatform, GetProductBundleCreateResponse, GetProductBundleListingResponse, GetProductBundleResponse, GetProducts, GetSearchConfigurationResponse, GetSearchWordsData, GetSearchWordsDetailResponse, GetSearchWordsResponse, GlobalValidation, GTIN, Guide, Hierarchy, HsnCode, HsnCodesListingResponseSchemaV2, HsnCodesObject, HSNCodesResponse, HSNData, HSNDataInsertV2, HsnUpsert, Image, ImageUrls, InventoryBulkRequest, InventoryConfig, InventoryCreateRequest, InventoryExportAdvanceOption, InventoryExportFilter, InventoryExportJob, InventoryExportJobListResponse, InventoryExportQuantityFilter, InventoryExportRequest, InventoryExportResponse, InventoryFailedReason, InventoryJobDetailResponse, InventoryJobFilters, InventoryJobPayload, InventoryPage, InventoryPayload, InventoryRequest, InventoryRequestSchemaV2, InventoryResponse, InventoryResponseItem, InventoryResponsePaginated, InventorySellerIdentifierResponsePaginated, InventorySellerResponse, InventorySet, InventoryStockResponse, InventoryUpdateResponse, InventoryValidationResponse, InvoiceCredSerializer, InvoiceDetailsSerializer, InvSize, ItemQuery, Items, LimitedProductData, ListSizeGuide, LocationDayWiseSerializer, LocationIntegrationType, LocationListSerializer, LocationManagerSerializer, LocationTimingSerializer, Logo, ManufacturerResponse, ManufacturerResponse1, Media, Media1, Media2, Meta, MetaDataListingFilterMetaResponse, MetaDataListingFilterResponse, MetaDataListingResponse, MetaDataListingSortMetaResponse, MetaDataListingSortResponse, MetaFields, MOQData, NetQuantity, NetQuantityResponse, NextSchedule, OptinCompanyBrandDetailsView, OptinCompanyDetail, OptinCompanyMetrics, OptInPostRequest, OptinStoreDetails, OwnerAppItemResponse, Page, PageResponse, PageResponseType, Price, Price1, PriceArticle, PriceMeta, ProdcutTemplateCategoriesResponse, Product, ProductAttributesResponse, ProductBrand, ProductBulkAssets, ProductBulkRequest, ProductBulkRequestList, ProductBundleItem, ProductBundleRequest, ProductBundleUpdateRequest, ProductConfigurationDownloads, ProductCreateUpdateSchemaV2, ProductDetail, ProductDetailAttribute, ProductDetailGroupedAttribute, ProductDownloadsResponse, ProductFilters, ProductFiltersKey, ProductFiltersValue, ProductListingDetail, ProductListingPrice, ProductListingResponse, ProductListingResponseV2, ProductPublish, ProductPublish1, ProductPublished, ProductReturnConfigSerializer, ProductSchemaV2, ProductSize, ProductSizeDeleteDataResponse, ProductSizeDeleteResponse, ProductSortOn, ProductTagsViewResponse, ProductTemplate, ProductTemplateDownloadsExport, ProductTemplateExportFilterRequest, ProductTemplateExportResponse, ProductVariants, ProductVariantsResponse, Properties, PTErrorResponse, Quantities, QuantitiesArticle, Quantity, QuantityBase, RawProduct, RawProductListingResponse, ReturnConfig, ReturnConfig1, ReturnConfig2, ReturnConfigResponse, SearchableAttribute, SearchKeywordResult, SecondLevelChild, SellerPhoneNumber, SEOData, SeoDetail, SetSize, SingleCategoryResponse, SingleProductResponse, Size, SizeDistribution, SizeGuideResponse, StoreAssignResponse, StoreDetail, StoreMeta, SuccessResponse, SuccessResponse1, TaxIdentifier, TaxSlab, TeaserTag, TemplateDetails, TemplatesResponse, TemplatesValidationResponse, TemplateValidationData, ThirdLevelChild, Trader, Trader1, Trader2, UpdateCollection, UpdatedResponse, UpdateSearchConfigurationRequest, UpdateSearchConfigurationResponse, UserCommon, UserDetail, UserDetail1, UserInfo, UserInfo1, UserSerializer, UserSerializer1, UserSerializer2, UserSerializer3, ValidateIdentifier, ValidateProduct, ValidateSizeGuide, VerifiedBy, WeightResponse, WeightResponse1, PageType };
|
|
2935
3019
|
}
|
|
2936
3020
|
/** @returns {Action} */
|
|
2937
3021
|
declare function Action(): Action;
|
|
@@ -2961,9 +3045,9 @@ type AllSizes = {
|
|
|
2961
3045
|
item_height: number;
|
|
2962
3046
|
item_length: number;
|
|
2963
3047
|
item_weight: number;
|
|
2964
|
-
item_weight_unit_of_measure:
|
|
3048
|
+
item_weight_unit_of_measure: string;
|
|
2965
3049
|
item_width: number;
|
|
2966
|
-
size:
|
|
3050
|
+
size: string;
|
|
2967
3051
|
};
|
|
2968
3052
|
/** @returns {AppCatalogConfiguration} */
|
|
2969
3053
|
declare function AppCatalogConfiguration(): AppCatalogConfiguration;
|
|
@@ -3107,11 +3191,11 @@ type ApplicationItemSEO = {
|
|
|
3107
3191
|
/**
|
|
3108
3192
|
* - The SEO description of the item
|
|
3109
3193
|
*/
|
|
3110
|
-
description?:
|
|
3194
|
+
description?: string;
|
|
3111
3195
|
/**
|
|
3112
3196
|
* - The SEO title of the item
|
|
3113
3197
|
*/
|
|
3114
|
-
title?:
|
|
3198
|
+
title?: string;
|
|
3115
3199
|
};
|
|
3116
3200
|
/** @returns {ApplicationProductListingResponse} */
|
|
3117
3201
|
declare function ApplicationProductListingResponse(): ApplicationProductListingResponse;
|
|
@@ -3392,7 +3476,7 @@ type BulkJob = {
|
|
|
3392
3476
|
/**
|
|
3393
3477
|
* - The user who last modified the item.
|
|
3394
3478
|
*/
|
|
3395
|
-
modified_by?:
|
|
3479
|
+
modified_by?: string;
|
|
3396
3480
|
/**
|
|
3397
3481
|
* - The date and time when the item was last modified.
|
|
3398
3482
|
*/
|
|
@@ -3996,6 +4080,58 @@ type CreateCollection = {
|
|
|
3996
4080
|
type: string;
|
|
3997
4081
|
visible_facets_keys?: string[];
|
|
3998
4082
|
};
|
|
4083
|
+
/** @returns {CreateSearchConfigurationRequest} */
|
|
4084
|
+
declare function CreateSearchConfigurationRequest(): CreateSearchConfigurationRequest;
|
|
4085
|
+
type CreateSearchConfigurationRequest = {
|
|
4086
|
+
/**
|
|
4087
|
+
* - The application id where custom search
|
|
4088
|
+
* configuration is set
|
|
4089
|
+
*/
|
|
4090
|
+
application_id: string;
|
|
4091
|
+
/**
|
|
4092
|
+
* - The company id where custom search configuration is set
|
|
4093
|
+
*/
|
|
4094
|
+
company_id: number;
|
|
4095
|
+
/**
|
|
4096
|
+
* - The user who created the search
|
|
4097
|
+
* configuration.
|
|
4098
|
+
*/
|
|
4099
|
+
created_by?: UserSerializer;
|
|
4100
|
+
/**
|
|
4101
|
+
* - The date and time when the search
|
|
4102
|
+
* configuration was created.
|
|
4103
|
+
*/
|
|
4104
|
+
created_on?: string;
|
|
4105
|
+
/**
|
|
4106
|
+
* - Flag indicating if proximity
|
|
4107
|
+
* search is enabled for this attribute.
|
|
4108
|
+
*/
|
|
4109
|
+
is_proximity_enabled?: boolean;
|
|
4110
|
+
/**
|
|
4111
|
+
* - The user who modified the search
|
|
4112
|
+
* configuration.
|
|
4113
|
+
*/
|
|
4114
|
+
modified_by?: UserSerializer;
|
|
4115
|
+
/**
|
|
4116
|
+
* - The date and time when the search
|
|
4117
|
+
* configuration was last modified.
|
|
4118
|
+
*/
|
|
4119
|
+
modified_on?: string;
|
|
4120
|
+
/**
|
|
4121
|
+
* - Proximity distance configuration
|
|
4122
|
+
*/
|
|
4123
|
+
proximity?: number;
|
|
4124
|
+
/**
|
|
4125
|
+
* - The searchable
|
|
4126
|
+
* attributes defined on the application.
|
|
4127
|
+
*/
|
|
4128
|
+
searchable_attributes?: SearchableAttribute[];
|
|
4129
|
+
};
|
|
4130
|
+
/** @returns {CreateSearchConfigurationResponse} */
|
|
4131
|
+
declare function CreateSearchConfigurationResponse(): CreateSearchConfigurationResponse;
|
|
4132
|
+
type CreateSearchConfigurationResponse = {
|
|
4133
|
+
success?: boolean;
|
|
4134
|
+
};
|
|
3999
4135
|
/** @returns {CreateSearchKeyword} */
|
|
4000
4136
|
declare function CreateSearchKeyword(): CreateSearchKeyword;
|
|
4001
4137
|
type CreateSearchKeyword = {
|
|
@@ -4042,6 +4178,11 @@ declare function DeleteResponse(): DeleteResponse;
|
|
|
4042
4178
|
type DeleteResponse = {
|
|
4043
4179
|
message?: string;
|
|
4044
4180
|
};
|
|
4181
|
+
/** @returns {DeleteSearchConfigurationResponse} */
|
|
4182
|
+
declare function DeleteSearchConfigurationResponse(): DeleteSearchConfigurationResponse;
|
|
4183
|
+
type DeleteSearchConfigurationResponse = {
|
|
4184
|
+
success?: boolean;
|
|
4185
|
+
};
|
|
4045
4186
|
/** @returns {Department} */
|
|
4046
4187
|
declare function Department(): Department;
|
|
4047
4188
|
type Department = {
|
|
@@ -4101,9 +4242,9 @@ type DepartmentIdentifier = {
|
|
|
4101
4242
|
/** @returns {DepartmentModel} */
|
|
4102
4243
|
declare function DepartmentModel(): DepartmentModel;
|
|
4103
4244
|
type DepartmentModel = {
|
|
4104
|
-
_cls?:
|
|
4245
|
+
_cls?: string;
|
|
4105
4246
|
_custom_json?: any;
|
|
4106
|
-
_id?:
|
|
4247
|
+
_id?: string;
|
|
4107
4248
|
/**
|
|
4108
4249
|
* - User details of the creator of the document
|
|
4109
4250
|
*/
|
|
@@ -4119,7 +4260,7 @@ type DepartmentModel = {
|
|
|
4119
4260
|
/**
|
|
4120
4261
|
* - The URL of the department's logo
|
|
4121
4262
|
*/
|
|
4122
|
-
logo:
|
|
4263
|
+
logo: string;
|
|
4123
4264
|
/**
|
|
4124
4265
|
* - User details of the last modifier of
|
|
4125
4266
|
* the document
|
|
@@ -4132,7 +4273,7 @@ type DepartmentModel = {
|
|
|
4132
4273
|
/**
|
|
4133
4274
|
* - The name of the department
|
|
4134
4275
|
*/
|
|
4135
|
-
name:
|
|
4276
|
+
name: string;
|
|
4136
4277
|
/**
|
|
4137
4278
|
* - The priority order of the department
|
|
4138
4279
|
*/
|
|
@@ -4140,11 +4281,11 @@ type DepartmentModel = {
|
|
|
4140
4281
|
/**
|
|
4141
4282
|
* - The unique slug identifier for the department
|
|
4142
4283
|
*/
|
|
4143
|
-
slug:
|
|
4284
|
+
slug: string;
|
|
4144
4285
|
/**
|
|
4145
4286
|
* - A list of synonyms for the department name
|
|
4146
4287
|
*/
|
|
4147
|
-
synonyms?:
|
|
4288
|
+
synonyms?: string[];
|
|
4148
4289
|
/**
|
|
4149
4290
|
* - The unique ID for the department
|
|
4150
4291
|
*/
|
|
@@ -4372,15 +4513,15 @@ type GetCompanySerializer = {
|
|
|
4372
4513
|
addresses?: GetAddressSerializer[];
|
|
4373
4514
|
business_type?: string;
|
|
4374
4515
|
company_type?: string;
|
|
4375
|
-
created_by?:
|
|
4516
|
+
created_by?: UserSerializer2;
|
|
4376
4517
|
created_on?: string;
|
|
4377
|
-
modified_by?:
|
|
4518
|
+
modified_by?: UserSerializer2;
|
|
4378
4519
|
modified_on?: string;
|
|
4379
4520
|
name?: string;
|
|
4380
4521
|
reject_reason?: string;
|
|
4381
4522
|
stage?: string;
|
|
4382
4523
|
uid?: number;
|
|
4383
|
-
verified_by?:
|
|
4524
|
+
verified_by?: UserSerializer2;
|
|
4384
4525
|
verified_on?: string;
|
|
4385
4526
|
};
|
|
4386
4527
|
/** @returns {GetConfigMetadataResponse} */
|
|
@@ -4399,12 +4540,12 @@ type GetConfigResponse = {
|
|
|
4399
4540
|
/** @returns {GetDepartment} */
|
|
4400
4541
|
declare function GetDepartment(): GetDepartment;
|
|
4401
4542
|
type GetDepartment = {
|
|
4402
|
-
created_by?:
|
|
4543
|
+
created_by?: UserSerializer1;
|
|
4403
4544
|
created_on?: string;
|
|
4404
4545
|
is_active?: boolean;
|
|
4405
4546
|
item_type?: string;
|
|
4406
4547
|
logo?: string;
|
|
4407
|
-
modified_by?:
|
|
4548
|
+
modified_by?: UserSerializer1;
|
|
4408
4549
|
modified_on?: string;
|
|
4409
4550
|
name?: string;
|
|
4410
4551
|
page_no?: number;
|
|
@@ -4421,7 +4562,7 @@ type GetInventories = {
|
|
|
4421
4562
|
brand?: BrandMeta1;
|
|
4422
4563
|
company?: CompanyMeta1;
|
|
4423
4564
|
country_of_origin?: string;
|
|
4424
|
-
created_by?:
|
|
4565
|
+
created_by?: UserSerializer1;
|
|
4425
4566
|
date_meta?: DateMeta;
|
|
4426
4567
|
dimension?: DimensionResponse1;
|
|
4427
4568
|
expiration_date?: string;
|
|
@@ -4431,7 +4572,7 @@ type GetInventories = {
|
|
|
4431
4572
|
is_set?: boolean;
|
|
4432
4573
|
item_id?: number;
|
|
4433
4574
|
manufacturer?: ManufacturerResponse1;
|
|
4434
|
-
modified_by?:
|
|
4575
|
+
modified_by?: UserSerializer1;
|
|
4435
4576
|
platforms?: any;
|
|
4436
4577
|
price?: PriceArticle;
|
|
4437
4578
|
quantities?: QuantitiesArticle;
|
|
@@ -4463,14 +4604,14 @@ type GetLocationSerializer = {
|
|
|
4463
4604
|
code: string;
|
|
4464
4605
|
company?: GetCompanySerializer;
|
|
4465
4606
|
contact_numbers?: SellerPhoneNumber[];
|
|
4466
|
-
created_by?:
|
|
4607
|
+
created_by?: UserSerializer3;
|
|
4467
4608
|
created_on?: string;
|
|
4468
4609
|
display_name: string;
|
|
4469
4610
|
documents?: Document[];
|
|
4470
4611
|
gst_credentials?: InvoiceDetailsSerializer;
|
|
4471
4612
|
integration_type?: LocationIntegrationType;
|
|
4472
4613
|
manager?: LocationManagerSerializer;
|
|
4473
|
-
modified_by?:
|
|
4614
|
+
modified_by?: UserSerializer3;
|
|
4474
4615
|
modified_on?: string;
|
|
4475
4616
|
name: string;
|
|
4476
4617
|
notification_emails?: string[];
|
|
@@ -4480,7 +4621,7 @@ type GetLocationSerializer = {
|
|
|
4480
4621
|
store_type?: string;
|
|
4481
4622
|
timing?: LocationDayWiseSerializer[];
|
|
4482
4623
|
uid?: number;
|
|
4483
|
-
verified_by?:
|
|
4624
|
+
verified_by?: UserSerializer3;
|
|
4484
4625
|
verified_on?: string;
|
|
4485
4626
|
warnings?: any;
|
|
4486
4627
|
};
|
|
@@ -4542,6 +4683,53 @@ type GetProducts = {
|
|
|
4542
4683
|
product_uid?: number;
|
|
4543
4684
|
sizes?: Size[];
|
|
4544
4685
|
};
|
|
4686
|
+
/** @returns {GetSearchConfigurationResponse} */
|
|
4687
|
+
declare function GetSearchConfigurationResponse(): GetSearchConfigurationResponse;
|
|
4688
|
+
type GetSearchConfigurationResponse = {
|
|
4689
|
+
/**
|
|
4690
|
+
* - The application id where custom search
|
|
4691
|
+
* configuration is set
|
|
4692
|
+
*/
|
|
4693
|
+
application_id: string;
|
|
4694
|
+
/**
|
|
4695
|
+
* - The company id where custom search configuration is set
|
|
4696
|
+
*/
|
|
4697
|
+
company_id: number;
|
|
4698
|
+
/**
|
|
4699
|
+
* - The user who created the search
|
|
4700
|
+
* configuration.
|
|
4701
|
+
*/
|
|
4702
|
+
created_by?: UserSerializer;
|
|
4703
|
+
/**
|
|
4704
|
+
* - The date and time when the search
|
|
4705
|
+
* configuration was created.
|
|
4706
|
+
*/
|
|
4707
|
+
created_on?: string;
|
|
4708
|
+
/**
|
|
4709
|
+
* - Flag indicating if proximity
|
|
4710
|
+
* search is enabled for this attribute.
|
|
4711
|
+
*/
|
|
4712
|
+
is_proximity_enabled?: boolean;
|
|
4713
|
+
/**
|
|
4714
|
+
* - The user who modified the search
|
|
4715
|
+
* configuration.
|
|
4716
|
+
*/
|
|
4717
|
+
modified_by?: UserSerializer;
|
|
4718
|
+
/**
|
|
4719
|
+
* - The date and time when the search
|
|
4720
|
+
* configuration was last modified.
|
|
4721
|
+
*/
|
|
4722
|
+
modified_on?: string;
|
|
4723
|
+
/**
|
|
4724
|
+
* - Proximity distance configuration
|
|
4725
|
+
*/
|
|
4726
|
+
proximity?: number;
|
|
4727
|
+
/**
|
|
4728
|
+
* - The searchable
|
|
4729
|
+
* attributes defined on the application.
|
|
4730
|
+
*/
|
|
4731
|
+
searchable_attributes?: SearchableAttribute[];
|
|
4732
|
+
};
|
|
4545
4733
|
/** @returns {GetSearchWordsData} */
|
|
4546
4734
|
declare function GetSearchWordsData(): GetSearchWordsData;
|
|
4547
4735
|
type GetSearchWordsData = {
|
|
@@ -4578,7 +4766,7 @@ type GlobalValidation = {
|
|
|
4578
4766
|
declare function GTIN(): GTIN;
|
|
4579
4767
|
type GTIN = {
|
|
4580
4768
|
gtin_type: string;
|
|
4581
|
-
gtin_value:
|
|
4769
|
+
gtin_value: string;
|
|
4582
4770
|
primary?: boolean;
|
|
4583
4771
|
};
|
|
4584
4772
|
/** @returns {Guide} */
|
|
@@ -5037,7 +5225,7 @@ type InventoryJobDetailResponse = {
|
|
|
5037
5225
|
/**
|
|
5038
5226
|
* - This tells you the current status of the export job.
|
|
5039
5227
|
*/
|
|
5040
|
-
status?:
|
|
5228
|
+
status?: string;
|
|
5041
5229
|
/**
|
|
5042
5230
|
* - This is the task id of the jobs that is used for search.
|
|
5043
5231
|
*/
|
|
@@ -5462,7 +5650,7 @@ type InvSize = {
|
|
|
5462
5650
|
price_transfer?: number;
|
|
5463
5651
|
quantity: number;
|
|
5464
5652
|
set?: InventorySet;
|
|
5465
|
-
size:
|
|
5653
|
+
size: string;
|
|
5466
5654
|
store_code: string;
|
|
5467
5655
|
};
|
|
5468
5656
|
/** @returns {ItemQuery} */
|
|
@@ -5653,12 +5841,12 @@ type MetaFields = {
|
|
|
5653
5841
|
* - The key of the metadata. Should be a non-empty
|
|
5654
5842
|
* string and length should not exceed 30 characters.
|
|
5655
5843
|
*/
|
|
5656
|
-
key:
|
|
5844
|
+
key: string;
|
|
5657
5845
|
/**
|
|
5658
5846
|
* - The value of the metadata. Should be a non-empty
|
|
5659
5847
|
* string and length should not exceed 100 characters.
|
|
5660
5848
|
*/
|
|
5661
|
-
value:
|
|
5849
|
+
value: string;
|
|
5662
5850
|
};
|
|
5663
5851
|
/** @returns {MOQData} */
|
|
5664
5852
|
declare function MOQData(): MOQData;
|
|
@@ -6035,7 +6223,7 @@ type ProductCreateUpdateSchemaV2 = {
|
|
|
6035
6223
|
net_quantity?: NetQuantity;
|
|
6036
6224
|
no_of_boxes?: number;
|
|
6037
6225
|
product_group_tag?: string[];
|
|
6038
|
-
product_publish?:
|
|
6226
|
+
product_publish?: ProductPublish1;
|
|
6039
6227
|
requester?: string;
|
|
6040
6228
|
return_config: ReturnConfig;
|
|
6041
6229
|
short_description?: string;
|
|
@@ -6250,7 +6438,7 @@ type ProductSchemaV2 = {
|
|
|
6250
6438
|
pending?: string;
|
|
6251
6439
|
primary_color?: string;
|
|
6252
6440
|
product_group_tag?: string[];
|
|
6253
|
-
product_publish?:
|
|
6441
|
+
product_publish?: ProductPublish;
|
|
6254
6442
|
return_config?: ReturnConfigResponse;
|
|
6255
6443
|
short_description?: string;
|
|
6256
6444
|
size_guide?: string;
|
|
@@ -6603,6 +6791,25 @@ type ReturnConfigResponse = {
|
|
|
6603
6791
|
time?: number;
|
|
6604
6792
|
unit?: string;
|
|
6605
6793
|
};
|
|
6794
|
+
/** @returns {SearchableAttribute} */
|
|
6795
|
+
declare function SearchableAttribute(): SearchableAttribute;
|
|
6796
|
+
type SearchableAttribute = {
|
|
6797
|
+
/**
|
|
6798
|
+
* - The attribute key to search on. This key matches the
|
|
6799
|
+
* solr document key
|
|
6800
|
+
*/
|
|
6801
|
+
key: string;
|
|
6802
|
+
/**
|
|
6803
|
+
* - The name of key to search on. This is for
|
|
6804
|
+
* displaying purposes on platform
|
|
6805
|
+
*/
|
|
6806
|
+
name: string;
|
|
6807
|
+
/**
|
|
6808
|
+
* - Order in which the searchable attribute should
|
|
6809
|
+
* kick in. Higher the priority, higher the weight considered while searching
|
|
6810
|
+
*/
|
|
6811
|
+
priority: number;
|
|
6812
|
+
};
|
|
6606
6813
|
/** @returns {SearchKeywordResult} */
|
|
6607
6814
|
declare function SearchKeywordResult(): SearchKeywordResult;
|
|
6608
6815
|
type SearchKeywordResult = {
|
|
@@ -6629,8 +6836,8 @@ type SellerPhoneNumber = {
|
|
|
6629
6836
|
/** @returns {SEOData} */
|
|
6630
6837
|
declare function SEOData(): SEOData;
|
|
6631
6838
|
type SEOData = {
|
|
6632
|
-
description?:
|
|
6633
|
-
title?:
|
|
6839
|
+
description?: string;
|
|
6840
|
+
title?: string;
|
|
6634
6841
|
};
|
|
6635
6842
|
/** @returns {SeoDetail} */
|
|
6636
6843
|
declare function SeoDetail(): SeoDetail;
|
|
@@ -6841,6 +7048,9 @@ type UpdateCollection = {
|
|
|
6841
7048
|
is_visible?: boolean;
|
|
6842
7049
|
logo?: CollectionImage;
|
|
6843
7050
|
meta?: any;
|
|
7051
|
+
/**
|
|
7052
|
+
* - User info.
|
|
7053
|
+
*/
|
|
6844
7054
|
modified_by?: string;
|
|
6845
7055
|
name?: string;
|
|
6846
7056
|
priority?: number;
|
|
@@ -6859,6 +7069,58 @@ type UpdatedResponse = {
|
|
|
6859
7069
|
items_not_updated?: number[];
|
|
6860
7070
|
message?: string;
|
|
6861
7071
|
};
|
|
7072
|
+
/** @returns {UpdateSearchConfigurationRequest} */
|
|
7073
|
+
declare function UpdateSearchConfigurationRequest(): UpdateSearchConfigurationRequest;
|
|
7074
|
+
type UpdateSearchConfigurationRequest = {
|
|
7075
|
+
/**
|
|
7076
|
+
* - The application id where custom search
|
|
7077
|
+
* configuration is set
|
|
7078
|
+
*/
|
|
7079
|
+
application_id: string;
|
|
7080
|
+
/**
|
|
7081
|
+
* - The company id where custom search configuration is set
|
|
7082
|
+
*/
|
|
7083
|
+
company_id: number;
|
|
7084
|
+
/**
|
|
7085
|
+
* - The user who created the search
|
|
7086
|
+
* configuration.
|
|
7087
|
+
*/
|
|
7088
|
+
created_by?: UserSerializer;
|
|
7089
|
+
/**
|
|
7090
|
+
* - The date and time when the search
|
|
7091
|
+
* configuration was created.
|
|
7092
|
+
*/
|
|
7093
|
+
created_on?: string;
|
|
7094
|
+
/**
|
|
7095
|
+
* - Flag indicating if proximity
|
|
7096
|
+
* search is enabled for this attribute.
|
|
7097
|
+
*/
|
|
7098
|
+
is_proximity_enabled?: boolean;
|
|
7099
|
+
/**
|
|
7100
|
+
* - The user who modified the search
|
|
7101
|
+
* configuration.
|
|
7102
|
+
*/
|
|
7103
|
+
modified_by?: UserSerializer;
|
|
7104
|
+
/**
|
|
7105
|
+
* - The date and time when the search
|
|
7106
|
+
* configuration was last modified.
|
|
7107
|
+
*/
|
|
7108
|
+
modified_on?: string;
|
|
7109
|
+
/**
|
|
7110
|
+
* - Proximity distance configuration
|
|
7111
|
+
*/
|
|
7112
|
+
proximity?: number;
|
|
7113
|
+
/**
|
|
7114
|
+
* - The searchable
|
|
7115
|
+
* attributes defined on the application.
|
|
7116
|
+
*/
|
|
7117
|
+
searchable_attributes?: SearchableAttribute[];
|
|
7118
|
+
};
|
|
7119
|
+
/** @returns {UpdateSearchConfigurationResponse} */
|
|
7120
|
+
declare function UpdateSearchConfigurationResponse(): UpdateSearchConfigurationResponse;
|
|
7121
|
+
type UpdateSearchConfigurationResponse = {
|
|
7122
|
+
success?: boolean;
|
|
7123
|
+
};
|
|
6862
7124
|
/** @returns {UserCommon} */
|
|
6863
7125
|
declare function UserCommon(): UserCommon;
|
|
6864
7126
|
type UserCommon = {
|
|
@@ -6924,16 +7186,25 @@ type UserInfo1 = {
|
|
|
6924
7186
|
/** @returns {UserSerializer} */
|
|
6925
7187
|
declare function UserSerializer(): UserSerializer;
|
|
6926
7188
|
type UserSerializer = {
|
|
6927
|
-
|
|
7189
|
+
/**
|
|
7190
|
+
* - The contact information of the user.
|
|
7191
|
+
*/
|
|
6928
7192
|
contact?: string;
|
|
6929
|
-
|
|
7193
|
+
/**
|
|
7194
|
+
* - The unique ID of the user.
|
|
7195
|
+
*/
|
|
6930
7196
|
user_id?: string;
|
|
7197
|
+
/**
|
|
7198
|
+
* - The username of the user.
|
|
7199
|
+
*/
|
|
6931
7200
|
username?: string;
|
|
6932
7201
|
};
|
|
6933
7202
|
/** @returns {UserSerializer1} */
|
|
6934
7203
|
declare function UserSerializer1(): UserSerializer1;
|
|
6935
7204
|
type UserSerializer1 = {
|
|
7205
|
+
_id?: string;
|
|
6936
7206
|
contact?: string;
|
|
7207
|
+
uid?: string;
|
|
6937
7208
|
user_id?: string;
|
|
6938
7209
|
username?: string;
|
|
6939
7210
|
};
|
|
@@ -6944,6 +7215,13 @@ type UserSerializer2 = {
|
|
|
6944
7215
|
user_id?: string;
|
|
6945
7216
|
username?: string;
|
|
6946
7217
|
};
|
|
7218
|
+
/** @returns {UserSerializer3} */
|
|
7219
|
+
declare function UserSerializer3(): UserSerializer3;
|
|
7220
|
+
type UserSerializer3 = {
|
|
7221
|
+
contact?: string;
|
|
7222
|
+
user_id?: string;
|
|
7223
|
+
username?: string;
|
|
7224
|
+
};
|
|
6947
7225
|
/** @returns {ValidateIdentifier} */
|
|
6948
7226
|
declare function ValidateIdentifier(): ValidateIdentifier;
|
|
6949
7227
|
type ValidateIdentifier = {
|