@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.8

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.
Files changed (229) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  56. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  58. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  59. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  60. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  67. package/sdk/partner/PartnerClient.d.ts +6 -0
  68. package/sdk/partner/PartnerClient.js +9 -0
  69. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  70. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  71. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  72. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  73. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  74. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  75. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  76. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  77. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  78. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  79. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  80. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  81. package/sdk/partner/index.d.ts +3 -0
  82. package/sdk/partner/index.js +6 -0
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  85. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  86. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  87. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  88. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  89. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  90. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  91. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  92. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  93. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  94. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  95. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  100. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  101. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  102. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  103. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  104. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  105. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  106. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  110. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  111. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  112. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  113. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  118. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  119. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  120. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  121. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  122. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  123. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  124. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  125. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
  126. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
  127. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
  128. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  129. package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
  130. package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
  131. package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
  132. package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
  133. package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  145. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  147. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  150. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  151. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  152. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  153. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  154. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  155. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  160. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  161. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  162. package/sdk/platform/Order/OrderPlatformModel.d.ts +1030 -468
  163. package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
  164. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  165. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  166. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  167. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  168. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  169. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  170. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  171. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  172. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  173. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  174. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  175. package/sdk/platform/PlatformApplicationClient.js +4 -4
  176. package/sdk/platform/PlatformClient.d.ts +4 -2
  177. package/sdk/platform/PlatformClient.js +8 -4
  178. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  179. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  188. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  189. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  190. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  191. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  192. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  193. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  194. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  195. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  196. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  197. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  198. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  199. package/sdk/platform/User/UserPlatformModel.js +256 -5
  200. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  201. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  202. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  203. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  204. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  205. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  206. package/sdk/platform/index.d.ts +1 -1
  207. package/sdk/platform/index.js +2 -2
  208. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  209. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  210. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  211. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  212. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  213. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  214. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  215. package/sdk/public/Content/ContentPublicClient.js +114 -0
  216. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  217. package/sdk/public/Content/ContentPublicModel.js +60 -0
  218. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  219. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  220. package/sdk/public/PublicClient.d.ts +4 -0
  221. package/sdk/public/PublicClient.js +8 -0
  222. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  223. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  224. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  225. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  226. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  227. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  228. package/sdk/public/index.d.ts +2 -0
  229. package/sdk/public/index.js +4 -0
@@ -6,12 +6,14 @@ export = CompanyProfilePlatformModel;
6
6
  * @property {string} [address2]
7
7
  * @property {string} [city]
8
8
  * @property {string} [country]
9
- * @property {string} [country_code]
9
+ * @property {string} country_code
10
10
  * @property {string} [landmark]
11
11
  * @property {number} latitude
12
12
  * @property {number} longitude
13
13
  * @property {number} [pincode]
14
+ * @property {string} [sector]
14
15
  * @property {string} [state]
16
+ * @property {string} [state_code]
15
17
  */
16
18
  /**
17
19
  * @typedef AverageOrderProcessingTime
@@ -29,8 +31,10 @@ export = CompanyProfilePlatformModel;
29
31
  */
30
32
  /**
31
33
  * @typedef BusinessCountryInfo
32
- * @property {string} [country]
33
- * @property {string} [country_code]
34
+ * @property {string} country
35
+ * @property {string} country_code
36
+ * @property {CountryCurrencyInfo} currency
37
+ * @property {string} timezone
34
38
  */
35
39
  /**
36
40
  * @typedef BusinessDetails
@@ -110,6 +114,12 @@ export = CompanyProfilePlatformModel;
110
114
  * @property {string[]} [emails]
111
115
  * @property {SellerPhoneNumber[]} [phone]
112
116
  */
117
+ /**
118
+ * @typedef CountryCurrencyInfo
119
+ * @property {string} code
120
+ * @property {string} name
121
+ * @property {string} symbol
122
+ */
113
123
  /**
114
124
  * @typedef CreateUpdateAddressSerializer
115
125
  * @property {string} address_type
@@ -169,7 +179,9 @@ export = CompanyProfilePlatformModel;
169
179
  * @property {number} latitude
170
180
  * @property {number} longitude
171
181
  * @property {number} [pincode]
182
+ * @property {string} [sector]
172
183
  * @property {string} [state]
184
+ * @property {string} [state_code]
173
185
  */
174
186
  /**
175
187
  * @typedef GetBrandResponseSerializer
@@ -239,6 +251,7 @@ export = CompanyProfilePlatformModel;
239
251
  * @typedef GetLocationSerializer
240
252
  * @property {Object} [_custom_json]
241
253
  * @property {GetAddressSerializer} address
254
+ * @property {boolean} [auto_assign_courier_partner]
242
255
  * @property {boolean} [auto_invoice]
243
256
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
244
257
  * @property {boolean} [bulk_shipment]
@@ -314,6 +327,7 @@ export = CompanyProfilePlatformModel;
314
327
  * @typedef LocationSerializer
315
328
  * @property {Object} [_custom_json]
316
329
  * @property {AddressSerializer} address
330
+ * @property {boolean} [auto_assign_courier_partner]
317
331
  * @property {boolean} [auto_invoice]
318
332
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
319
333
  * @property {boolean} [bulk_shipment]
@@ -324,7 +338,7 @@ export = CompanyProfilePlatformModel;
324
338
  * @property {boolean} [default_order_acceptance_timing] - Flag to set
325
339
  * order_acceptance_timing as default timing
326
340
  * @property {string} display_name
327
- * @property {Document[]} [documents]
341
+ * @property {Document[]} documents
328
342
  * @property {InvoiceDetailsSerializer} [gst_credentials]
329
343
  * @property {HolidaySchemaSerializer[]} [holiday]
330
344
  * @property {LocationManagerSerializer} [manager]
@@ -416,7 +430,7 @@ export = CompanyProfilePlatformModel;
416
430
  declare class CompanyProfilePlatformModel {
417
431
  }
418
432
  declare namespace CompanyProfilePlatformModel {
419
- export { AddressSerializer, AverageOrderProcessingTime, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, StoreTagsResponseSchema, UpdateCompany, UserSerializer, Website };
433
+ export { AddressSerializer, AverageOrderProcessingTime, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CountryCurrencyInfo, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, StoreTagsResponseSchema, UpdateCompany, UserSerializer, Website };
420
434
  }
421
435
  /** @returns {AddressSerializer} */
422
436
  declare function AddressSerializer(): AddressSerializer;
@@ -426,12 +440,14 @@ type AddressSerializer = {
426
440
  address2?: string;
427
441
  city?: string;
428
442
  country?: string;
429
- country_code?: string;
443
+ country_code: string;
430
444
  landmark?: string;
431
445
  latitude: number;
432
446
  longitude: number;
433
447
  pincode?: number;
448
+ sector?: string;
434
449
  state?: string;
450
+ state_code?: string;
435
451
  };
436
452
  /** @returns {AverageOrderProcessingTime} */
437
453
  declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
@@ -453,8 +469,10 @@ type BulkLocationSerializer = {
453
469
  /** @returns {BusinessCountryInfo} */
454
470
  declare function BusinessCountryInfo(): BusinessCountryInfo;
455
471
  type BusinessCountryInfo = {
456
- country?: string;
457
- country_code?: string;
472
+ country: string;
473
+ country_code: string;
474
+ currency: CountryCurrencyInfo;
475
+ timezone: string;
458
476
  };
459
477
  /** @returns {BusinessDetails} */
460
478
  declare function BusinessDetails(): BusinessDetails;
@@ -544,6 +562,13 @@ type ContactDetails = {
544
562
  emails?: string[];
545
563
  phone?: SellerPhoneNumber[];
546
564
  };
565
+ /** @returns {CountryCurrencyInfo} */
566
+ declare function CountryCurrencyInfo(): CountryCurrencyInfo;
567
+ type CountryCurrencyInfo = {
568
+ code: string;
569
+ name: string;
570
+ symbol: string;
571
+ };
547
572
  /** @returns {CreateUpdateAddressSerializer} */
548
573
  declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
549
574
  type CreateUpdateAddressSerializer = {
@@ -609,7 +634,9 @@ type GetAddressSerializer = {
609
634
  latitude: number;
610
635
  longitude: number;
611
636
  pincode?: number;
637
+ sector?: string;
612
638
  state?: string;
639
+ state_code?: string;
613
640
  };
614
641
  /** @returns {GetBrandResponseSerializer} */
615
642
  declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
@@ -683,6 +710,7 @@ declare function GetLocationSerializer(): GetLocationSerializer;
683
710
  type GetLocationSerializer = {
684
711
  _custom_json?: any;
685
712
  address: GetAddressSerializer;
713
+ auto_assign_courier_partner?: boolean;
686
714
  auto_invoice?: boolean;
687
715
  avg_order_processing_time?: AverageOrderProcessingTime;
688
716
  bulk_shipment?: boolean;
@@ -766,6 +794,7 @@ declare function LocationSerializer(): LocationSerializer;
766
794
  type LocationSerializer = {
767
795
  _custom_json?: any;
768
796
  address: AddressSerializer;
797
+ auto_assign_courier_partner?: boolean;
769
798
  auto_invoice?: boolean;
770
799
  avg_order_processing_time?: AverageOrderProcessingTime;
771
800
  bulk_shipment?: boolean;
@@ -779,7 +808,7 @@ type LocationSerializer = {
779
808
  */
780
809
  default_order_acceptance_timing?: boolean;
781
810
  display_name: string;
782
- documents?: Document[];
811
+ documents: Document[];
783
812
  gst_credentials?: InvoiceDetailsSerializer;
784
813
  holiday?: HolidaySchemaSerializer[];
785
814
  manager?: LocationManagerSerializer;
@@ -7,12 +7,14 @@ const Joi = require("joi");
7
7
  * @property {string} [address2]
8
8
  * @property {string} [city]
9
9
  * @property {string} [country]
10
- * @property {string} [country_code]
10
+ * @property {string} country_code
11
11
  * @property {string} [landmark]
12
12
  * @property {number} latitude
13
13
  * @property {number} longitude
14
14
  * @property {number} [pincode]
15
+ * @property {string} [sector]
15
16
  * @property {string} [state]
17
+ * @property {string} [state_code]
16
18
  */
17
19
 
18
20
  /**
@@ -34,8 +36,10 @@ const Joi = require("joi");
34
36
 
35
37
  /**
36
38
  * @typedef BusinessCountryInfo
37
- * @property {string} [country]
38
- * @property {string} [country_code]
39
+ * @property {string} country
40
+ * @property {string} country_code
41
+ * @property {CountryCurrencyInfo} currency
42
+ * @property {string} timezone
39
43
  */
40
44
 
41
45
  /**
@@ -126,6 +130,13 @@ const Joi = require("joi");
126
130
  * @property {SellerPhoneNumber[]} [phone]
127
131
  */
128
132
 
133
+ /**
134
+ * @typedef CountryCurrencyInfo
135
+ * @property {string} code
136
+ * @property {string} name
137
+ * @property {string} symbol
138
+ */
139
+
129
140
  /**
130
141
  * @typedef CreateUpdateAddressSerializer
131
142
  * @property {string} address_type
@@ -190,7 +201,9 @@ const Joi = require("joi");
190
201
  * @property {number} latitude
191
202
  * @property {number} longitude
192
203
  * @property {number} [pincode]
204
+ * @property {string} [sector]
193
205
  * @property {string} [state]
206
+ * @property {string} [state_code]
194
207
  */
195
208
 
196
209
  /**
@@ -264,6 +277,7 @@ const Joi = require("joi");
264
277
  * @typedef GetLocationSerializer
265
278
  * @property {Object} [_custom_json]
266
279
  * @property {GetAddressSerializer} address
280
+ * @property {boolean} [auto_assign_courier_partner]
267
281
  * @property {boolean} [auto_invoice]
268
282
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
269
283
  * @property {boolean} [bulk_shipment]
@@ -347,6 +361,7 @@ const Joi = require("joi");
347
361
  * @typedef LocationSerializer
348
362
  * @property {Object} [_custom_json]
349
363
  * @property {AddressSerializer} address
364
+ * @property {boolean} [auto_assign_courier_partner]
350
365
  * @property {boolean} [auto_invoice]
351
366
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
352
367
  * @property {boolean} [bulk_shipment]
@@ -357,7 +372,7 @@ const Joi = require("joi");
357
372
  * @property {boolean} [default_order_acceptance_timing] - Flag to set
358
373
  * order_acceptance_timing as default timing
359
374
  * @property {string} display_name
360
- * @property {Document[]} [documents]
375
+ * @property {Document[]} documents
361
376
  * @property {InvoiceDetailsSerializer} [gst_credentials]
362
377
  * @property {HolidaySchemaSerializer[]} [holiday]
363
378
  * @property {LocationManagerSerializer} [manager]
@@ -466,12 +481,14 @@ class CompanyProfilePlatformModel {
466
481
  address2: Joi.string().allow(""),
467
482
  city: Joi.string().allow(""),
468
483
  country: Joi.string().allow(""),
469
- country_code: Joi.string().allow(""),
484
+ country_code: Joi.string().allow("").required(),
470
485
  landmark: Joi.string().allow(""),
471
486
  latitude: Joi.number().required(),
472
487
  longitude: Joi.number().required(),
473
488
  pincode: Joi.number(),
489
+ sector: Joi.string().allow(""),
474
490
  state: Joi.string().allow(""),
491
+ state_code: Joi.string().allow(""),
475
492
  });
476
493
  }
477
494
 
@@ -501,8 +518,10 @@ class CompanyProfilePlatformModel {
501
518
  /** @returns {BusinessCountryInfo} */
502
519
  static BusinessCountryInfo() {
503
520
  return Joi.object({
504
- country: Joi.string().allow(""),
505
- country_code: Joi.string().allow(""),
521
+ country: Joi.string().allow("").required(),
522
+ country_code: Joi.string().allow("").required(),
523
+ currency: CompanyProfilePlatformModel.CountryCurrencyInfo().required(),
524
+ timezone: Joi.string().allow("").required(),
506
525
  });
507
526
  }
508
527
 
@@ -620,6 +639,15 @@ class CompanyProfilePlatformModel {
620
639
  });
621
640
  }
622
641
 
642
+ /** @returns {CountryCurrencyInfo} */
643
+ static CountryCurrencyInfo() {
644
+ return Joi.object({
645
+ code: Joi.string().allow("").required(),
646
+ name: Joi.string().allow("").required(),
647
+ symbol: Joi.string().allow("").required(),
648
+ });
649
+ }
650
+
623
651
  /** @returns {CreateUpdateAddressSerializer} */
624
652
  static CreateUpdateAddressSerializer() {
625
653
  return Joi.object({
@@ -695,7 +723,9 @@ class CompanyProfilePlatformModel {
695
723
  latitude: Joi.number().required(),
696
724
  longitude: Joi.number().required(),
697
725
  pincode: Joi.number(),
726
+ sector: Joi.string().allow(""),
698
727
  state: Joi.string().allow(""),
728
+ state_code: Joi.string().allow(""),
699
729
  });
700
730
  }
701
731
 
@@ -783,6 +813,7 @@ class CompanyProfilePlatformModel {
783
813
  return Joi.object({
784
814
  _custom_json: Joi.any(),
785
815
  address: CompanyProfilePlatformModel.GetAddressSerializer().required(),
816
+ auto_assign_courier_partner: Joi.boolean(),
786
817
  auto_invoice: Joi.boolean(),
787
818
  avg_order_processing_time: CompanyProfilePlatformModel.AverageOrderProcessingTime(),
788
819
  bulk_shipment: Joi.boolean(),
@@ -892,6 +923,7 @@ class CompanyProfilePlatformModel {
892
923
  return Joi.object({
893
924
  _custom_json: Joi.any(),
894
925
  address: CompanyProfilePlatformModel.AddressSerializer().required(),
926
+ auto_assign_courier_partner: Joi.boolean(),
895
927
  auto_invoice: Joi.boolean(),
896
928
  avg_order_processing_time: CompanyProfilePlatformModel.AverageOrderProcessingTime(),
897
929
  bulk_shipment: Joi.boolean(),
@@ -903,7 +935,9 @@ class CompanyProfilePlatformModel {
903
935
  credit_note: Joi.boolean(),
904
936
  default_order_acceptance_timing: Joi.boolean(),
905
937
  display_name: Joi.string().allow("").required(),
906
- documents: Joi.array().items(CompanyProfilePlatformModel.Document()),
938
+ documents: Joi.array()
939
+ .items(CompanyProfilePlatformModel.Document())
940
+ .required(),
907
941
  gst_credentials: CompanyProfilePlatformModel.InvoiceDetailsSerializer(),
908
942
  holiday: Joi.array().items(
909
943
  CompanyProfilePlatformModel.HolidaySchemaSerializer()
@@ -51,6 +51,10 @@ export = CompanyProfilePlatformValidator;
51
51
  * @property {number} [pageSize] - Number of items to retrieve in each page.
52
52
  * Default is 10.
53
53
  * @property {number[]} [locationIds] - Helps to filter stores on the basis of uids.
54
+ * @property {string[]} [types] - Helps to get the location list on the basis of
55
+ * multiple location type.
56
+ * @property {string[]} [tags] - Helps to get the location list on the basis of
57
+ * multiple location tag.
54
58
  */
55
59
  /**
56
60
  * @typedef UpdateCompanyParam
@@ -170,6 +174,16 @@ type GetLocationsParam = {
170
174
  * - Helps to filter stores on the basis of uids.
171
175
  */
172
176
  locationIds?: number[];
177
+ /**
178
+ * - Helps to get the location list on the basis of
179
+ * multiple location type.
180
+ */
181
+ types?: string[];
182
+ /**
183
+ * - Helps to get the location list on the basis of
184
+ * multiple location tag.
185
+ */
186
+ tags?: string[];
173
187
  };
174
188
  type UpdateCompanyParam = {
175
189
  body: CompanyProfilePlatformModel.UpdateCompany;
@@ -65,6 +65,10 @@ const CompanyProfilePlatformModel = require("./CompanyProfilePlatformModel");
65
65
  * @property {number} [pageSize] - Number of items to retrieve in each page.
66
66
  * Default is 10.
67
67
  * @property {number[]} [locationIds] - Helps to filter stores on the basis of uids.
68
+ * @property {string[]} [types] - Helps to get the location list on the basis of
69
+ * multiple location type.
70
+ * @property {string[]} [tags] - Helps to get the location list on the basis of
71
+ * multiple location tag.
68
72
  */
69
73
 
70
74
  /**
@@ -162,6 +166,8 @@ class CompanyProfilePlatformValidator {
162
166
  pageNo: Joi.number(),
163
167
  pageSize: Joi.number(),
164
168
  locationIds: Joi.array().items(Joi.number()),
169
+ types: Joi.array().items(Joi.string().allow("")),
170
+ tags: Joi.array().items(Joi.string().allow("")),
165
171
  }).required();
166
172
  }
167
173
 
@@ -63,7 +63,7 @@ declare class Configuration {
63
63
  getAppCompanies({ uid, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetAppCompaniesParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.CompaniesResponse>;
64
64
  /**
65
65
  * @param {Object} arg - Arg object.
66
- * @param {string} arg.companyId - Numeric ID allotted to a business account
66
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
67
67
  * on Fynd Platform
68
68
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
69
69
  * application (sales channel website) created within a business account
@@ -75,7 +75,7 @@ declare class Configuration {
75
75
  * @description: Fetch info of all the companies (e.g. name, uid, and company type) whose inventory is fetched into the current sales channel application
76
76
  */
77
77
  getAppCompaniesPaginator({ companyId, applicationId, uid, pageSize }?: {
78
- companyId: string;
78
+ companyId: number;
79
79
  applicationId: string;
80
80
  uid?: number;
81
81
  pageSize?: number;
@@ -133,7 +133,7 @@ declare class Configuration {
133
133
  getAppStores({ pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetAppStoresParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.StoresResponse>;
134
134
  /**
135
135
  * @param {Object} arg - Arg object.
136
- * @param {string} arg.companyId - Numeric ID allotted to a business account
136
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
137
137
  * on Fynd Platform
138
138
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
139
139
  * application (sales channel website) created within a business account
@@ -144,7 +144,7 @@ declare class Configuration {
144
144
  * @description: Fetch info of all the companies (e.g. uid, name, display name, store type, store code and company id) whose inventory is fetched into the current sales channel application
145
145
  */
146
146
  getAppStoresPaginator({ companyId, applicationId, pageSize }?: {
147
- companyId: string;
147
+ companyId: number;
148
148
  applicationId: string;
149
149
  pageSize?: number;
150
150
  }): Paginator<ConfigurationPlatformModel.StoresResponse>;
@@ -262,7 +262,7 @@ declare class Configuration {
262
262
  getOrderingStoresByFilter({ body, pageNo, pageSize, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetOrderingStoresByFilterParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OrderingStores>;
263
263
  /**
264
264
  * @param {Object} arg - Arg object.
265
- * @param {string} arg.companyId - Numeric ID allotted to a business account
265
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
266
266
  * on Fynd Platform
267
267
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
268
268
  * application (sales channel website) created within a business account
@@ -274,7 +274,7 @@ declare class Configuration {
274
274
  * @description: Use this API to use filters and retrieve the details of the deployment stores (the selling locations where the application will be utilised for placing orders).
275
275
  */
276
276
  getOrderingStoresByFilterPaginator({ companyId, applicationId, pageSize, body, }?: {
277
- companyId: string;
277
+ companyId: number;
278
278
  applicationId: string;
279
279
  pageSize?: number;
280
280
  body: ConfigurationPlatformModel.FilterOrderingStoreRequest;
@@ -307,7 +307,7 @@ declare class Configuration {
307
307
  getStaffOrderingStores({ pageNo, pageSize, q, requestHeaders }?: ConfigurationPlatformApplicationValidator.GetStaffOrderingStoresParam, { responseHeaders }?: object): Promise<ConfigurationPlatformModel.OrderingStoresResponse>;
308
308
  /**
309
309
  * @param {Object} arg - Arg object.
310
- * @param {string} arg.companyId - Numeric ID allotted to a business account
310
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
311
311
  * on Fynd Platform
312
312
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
313
313
  * application (sales channel website) created within a business account
@@ -319,7 +319,7 @@ declare class Configuration {
319
319
  * @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
320
320
  */
321
321
  getStaffOrderingStoresPaginator({ companyId, applicationId, pageSize, q, }?: {
322
- companyId: string;
322
+ companyId: number;
323
323
  applicationId: string;
324
324
  pageSize?: number;
325
325
  q?: string;
@@ -416,7 +416,7 @@ class Configuration {
416
416
 
417
417
  /**
418
418
  * @param {Object} arg - Arg object.
419
- * @param {string} arg.companyId - Numeric ID allotted to a business account
419
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
420
420
  * on Fynd Platform
421
421
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
422
422
  * application (sales channel website) created within a business account
@@ -771,7 +771,7 @@ class Configuration {
771
771
 
772
772
  /**
773
773
  * @param {Object} arg - Arg object.
774
- * @param {string} arg.companyId - Numeric ID allotted to a business account
774
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
775
775
  * on Fynd Platform
776
776
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
777
777
  * application (sales channel website) created within a business account
@@ -1524,7 +1524,7 @@ class Configuration {
1524
1524
 
1525
1525
  /**
1526
1526
  * @param {Object} arg - Arg object.
1527
- * @param {string} arg.companyId - Numeric ID allotted to a business account
1527
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
1528
1528
  * on Fynd Platform
1529
1529
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
1530
1530
  * application (sales channel website) created within a business account
@@ -1736,7 +1736,7 @@ class Configuration {
1736
1736
 
1737
1737
  /**
1738
1738
  * @param {Object} arg - Arg object.
1739
- * @param {string} arg.companyId - Numeric ID allotted to a business account
1739
+ * @param {number} arg.companyId - Numeric ID allotted to a business account
1740
1740
  * on Fynd Platform
1741
1741
  * @param {string} arg.applicationId - Alphanumeric ID allotted to an
1742
1742
  * application (sales channel website) created within a business account