@gofynd/fdk-client-javascript 1.3.11-beta.7 → 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 +1032 -470
  163. package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
  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
@@ -7,9 +7,12 @@ export = ConfigurationApplicationModel;
7
7
  */
8
8
  /**
9
9
  * @typedef AppCurrencyResponse
10
+ * @property {string} [_id]
10
11
  * @property {string} [application] - Alphanumeric ID allotted to an application
11
12
  * (sales channel website) created within a business account
13
+ * @property {string} [created_at]
12
14
  * @property {DefaultCurrency} [default_currency]
15
+ * @property {string} [modified_at]
13
16
  * @property {Currency[]} [supported_currency]
14
17
  */
15
18
  /**
@@ -24,13 +27,13 @@ export = ConfigurationApplicationModel;
24
27
  * the features were configured
25
28
  * @property {HomePageFeature} [home_page]
26
29
  * @property {LandingPageFeature} [landing_page]
30
+ * @property {string} [modified_at] - ISO 8601 timestamp of last known
31
+ * modifications to the sales channel feature configuration
27
32
  * @property {OrderFeature} [order]
28
33
  * @property {PcrFeature} [pcr]
29
34
  * @property {ProductDetailFeature} [product_detail]
30
35
  * @property {QrFeature} [qr]
31
36
  * @property {RegistrationPageFeature} [registration_page]
32
- * @property {string} [updated_at] - ISO 8601 timestamp of last known
33
- * modifications to the sales channel feature configuration
34
37
  */
35
38
  /**
36
39
  * @typedef AppFeatureResponse
@@ -63,20 +66,22 @@ export = ConfigurationApplicationModel;
63
66
  * @property {SecureUrl} [logo]
64
67
  * @property {ApplicationMeta[]} [meta]
65
68
  * @property {SecureUrl} [mobile_logo]
69
+ * @property {string} [mode]
70
+ * @property {string} [modified_at] - ISO 8601 timestamp of sales channel updation
66
71
  * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
67
72
  * @property {string} [owner] - The unique identifier (24-digit Mongo Object ID)
68
73
  * of owner who owns the application
69
74
  * @property {ApplicationRedirections[]} [redirections]
75
+ * @property {string} [slug]
76
+ * @property {string} [status]
70
77
  * @property {string} [token] - Random generated fix length string for sales
71
78
  * channel. It is required and auto-generated.
72
- * @property {string} [updated_at] - ISO 8601 timestamp of sales channel updation
79
+ * @property {TokenSchema[]} [tokens]
73
80
  * @property {ApplicationWebsite} [website]
74
81
  */
75
82
  /**
76
83
  * @typedef ApplicationAboutResponse
77
84
  * @property {ApplicationInfo} [application_info]
78
- * @property {CompanyInfo} [company_info]
79
- * @property {OwnerInfo} [owner_info]
80
85
  */
81
86
  /**
82
87
  * @typedef ApplicationAuth
@@ -91,6 +96,7 @@ export = ConfigurationApplicationModel;
91
96
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
92
97
  * for the sales channel details
93
98
  * @property {SecureUrl} [banner]
99
+ * @property {number} [company_id]
94
100
  * @property {string} [description] - It gives a detailed information about the
95
101
  * sales channel. It is required.
96
102
  * @property {Domain} [domain]
@@ -99,27 +105,36 @@ export = ConfigurationApplicationModel;
99
105
  * @property {SecureUrl} [logo]
100
106
  * @property {SecureUrl} [mobile_logo]
101
107
  * @property {string} name - Name of the sales channel. It is required.
108
+ * @property {string} [slug]
102
109
  */
103
110
  /**
104
111
  * @typedef ApplicationInfo
105
112
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
106
113
  * of application information
107
114
  * @property {SecureUrl} [banner]
115
+ * @property {CompanyInfo} [company_info]
108
116
  * @property {ApplicationCors} [cors]
109
117
  * @property {string} [created_at] - ISO 8601 timestamp of sales channel
110
118
  * information creation
111
119
  * @property {string} [description] - It contains details information about the
112
120
  * sales channel
113
121
  * @property {Domain} [domain]
122
+ * @property {Domain[]} [domains]
123
+ * @property {SecureUrl} [favicon]
114
124
  * @property {boolean} [is_active] - Indicates whether sales channel is active
115
125
  * or not active
116
126
  * @property {SecureUrl} [logo]
117
- * @property {ApplicationMeta} [meta]
127
+ * @property {ApplicationMeta[]} [meta]
128
+ * @property {SecureUrl} [mobile_logo]
129
+ * @property {string} [mode]
118
130
  * @property {string} [name] - Name of the sales channel, e.g. Zenz Fashion
131
+ * @property {OwnerInfo} [owner_info]
119
132
  * @property {string} [secret] - Random generated fix length string for sales
120
133
  * channel. It is required and auto-generated.
134
+ * @property {string} [slug]
121
135
  * @property {string} [token] - Random generated fix length string for sales
122
136
  * channel. It is required and auto-generated.
137
+ * @property {TokenSchema[]} [tokens]
123
138
  * @property {ApplicationWebsite} [website]
124
139
  */
125
140
  /**
@@ -130,16 +145,16 @@ export = ConfigurationApplicationModel;
130
145
  * @property {InformationAddress} [address]
131
146
  * @property {string} [application] - Alphanumeric ID allotted to a sales
132
147
  * channel application created within a business account
133
- * @property {BusinessHighlights} [business_highlights]
148
+ * @property {BusinessHighlights[]} [business_highlights]
134
149
  * @property {string} [copyright_text] - Copyright statement usually seen at the
135
150
  * site's footer
136
151
  * @property {string} [created_at] - ISO 8601 timestamp of creation of the
137
152
  * application information
138
- * @property {Links} [links]
153
+ * @property {Links[]} [links]
154
+ * @property {string} [modified_at] - ISO 8601 timestamp of updation of the
155
+ * application information
139
156
  * @property {SocialLinks} [social_links]
140
157
  * @property {InformationSupport} [support]
141
- * @property {string} [updated_at] - ISO 8601 timestamp of updation of the
142
- * application information
143
158
  */
144
159
  /**
145
160
  * @typedef ApplicationMeta
@@ -195,8 +210,8 @@ export = ConfigurationApplicationModel;
195
210
  * @property {string} [application] - Alphanumeric ID allotted to the current
196
211
  * application created within the current business account
197
212
  * @property {string} [created_at] - ISO 8601 timestamp of token creation
213
+ * @property {string} [modified_at] - ISO 8601 timestamp of token updation
198
214
  * @property {Tokens} [tokens]
199
- * @property {string} [updated_at] - ISO 8601 timestamp of token updation
200
215
  */
201
216
  /**
202
217
  * @typedef BlogLink
@@ -232,6 +247,8 @@ export = ConfigurationApplicationModel;
232
247
  * @property {CurrencyFeature} [currency]
233
248
  * @property {DeploymentStoreSelectionFeature} [deployment_store_selection]
234
249
  * @property {FeedbackFeature} [feedback]
250
+ * @property {InternationalShipping} [international_shipping]
251
+ * @property {ListingPageFeature} [listing_page]
235
252
  * @property {ListingPriceFeature} [listing_price]
236
253
  * @property {RevenueEngineFeature} [revenue_engine]
237
254
  * @property {RewardPointsConfig} [reward_points]
@@ -294,6 +311,8 @@ export = ConfigurationApplicationModel;
294
311
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
295
312
  * of the current sales channel supported currency
296
313
  * @property {string} [code] - 3-character currency code, e.g. INR, USD, EUR.
314
+ * @property {string} [country_code]
315
+ * @property {string} [country_name]
297
316
  * @property {string} [created_at] - ISO 8601 timestamp of sales channel support
298
317
  * currency creation
299
318
  * @property {number} [decimal_digits] - Acceptable decimal limits for a given
@@ -301,10 +320,10 @@ export = ConfigurationApplicationModel;
301
320
  * value of a currency.
302
321
  * @property {boolean} [is_active] - Shows currency is enabled or not in current
303
322
  * sales channel
323
+ * @property {string} [modified_at] - ISO 8601 timestamp of sales channel
324
+ * support currency updation
304
325
  * @property {string} [name] - Name of the currency, e.g Indian Rupee
305
326
  * @property {string} [symbol] - Unique symbol for identifying the currency, e.g. ₹
306
- * @property {string} [updated_at] - ISO 8601 timestamp of sales channel support
307
- * currency updation
308
327
  */
309
328
  /**
310
329
  * @typedef CurrencyFeature
@@ -421,10 +440,15 @@ export = ConfigurationApplicationModel;
421
440
  * @property {string[]} [address_line] - Contact address of the sales channel
422
441
  * @property {string} [city] - Name of the city, e.g. Mumbai
423
442
  * @property {string} [country] - Name of the country, e.g. India
424
- * @property {string} [loc] - Co-ordinates of the location
425
- * @property {InformationPhone} [phone]
443
+ * @property {InformationLoc} [loc]
444
+ * @property {InformationPhone[]} [phone]
426
445
  * @property {number} [pincode] - 6-digit PIN Code of the city, e.g. 400001
427
446
  */
447
+ /**
448
+ * @typedef InformationLoc
449
+ * @property {number[]} [coordinates] - 10-digit mobile number
450
+ * @property {string} [type] - Country code for contact number, e.g. +91 (for India)
451
+ */
428
452
  /**
429
453
  * @typedef InformationPhone
430
454
  * @property {string} [code] - Country code for contact number, e.g. +91 (for India)
@@ -432,16 +456,35 @@ export = ConfigurationApplicationModel;
432
456
  */
433
457
  /**
434
458
  * @typedef InformationSupport
435
- * @property {string[]} [email]
436
- * @property {string[]} [phone]
459
+ * @property {InformationSupportEmail[]} [email]
460
+ * @property {InformationSupportPhone[]} [phone]
437
461
  * @property {string} [timing] - Working hours of support team, e.g. 9 AM to 9 PM
438
462
  */
463
+ /**
464
+ * @typedef InformationSupportEmail
465
+ * @property {string} [key]
466
+ * @property {string} [value] - Value of email.
467
+ */
468
+ /**
469
+ * @typedef InformationSupportPhone
470
+ * @property {string} [code] - Country code for contact number, e.g. +91 (for India)
471
+ * @property {string} [key]
472
+ * @property {string} [number] - 10-digit mobile number
473
+ */
439
474
  /**
440
475
  * @typedef InstagramLink
441
476
  * @property {string} [icon] - Hosted URL of social icon image shown on the website
442
477
  * @property {string} [link] - Web URL of brand's Instagram page
443
478
  * @property {string} [title] - Name of the social media platform, e.g. Instagram
444
479
  */
480
+ /**
481
+ * @typedef InternationalShipping
482
+ * @property {boolean} [enabled] - International shipping is enabled or not.
483
+ */
484
+ /**
485
+ * @typedef InvalidPayloadRequest
486
+ * @property {string} [message] - Error message when request body payload is improper
487
+ */
445
488
  /**
446
489
  * @typedef Ios
447
490
  * @property {string} [api_key] - Firebase secret credential API key for IOS
@@ -480,6 +523,10 @@ export = ConfigurationApplicationModel;
480
523
  * @property {string} [link] - Web URL for redirecting to a related page
481
524
  * @property {string} [title] - Name of the related page or link
482
525
  */
526
+ /**
527
+ * @typedef ListingPageFeature
528
+ * @property {string} [sort_on]
529
+ */
483
530
  /**
484
531
  * @typedef ListingPriceFeature
485
532
  * @property {string} [sort] - Sorting of listing price with min or max value.
@@ -686,6 +733,12 @@ export = ConfigurationApplicationModel;
686
733
  * @property {Safetynet} [safetynet]
687
734
  * @property {Segment} [segment]
688
735
  */
736
+ /**
737
+ * @typedef TokenSchema
738
+ * @property {string} [created_at] - ISO 8601 timestamp of when token created
739
+ * @property {Object} [created_by]
740
+ * @property {string} [token]
741
+ */
689
742
  /**
690
743
  * @typedef TwitterLink
691
744
  * @property {string} [icon] - Hosted URL of social icon image shown on the website
@@ -730,7 +783,7 @@ export = ConfigurationApplicationModel;
730
783
  declare class ConfigurationApplicationModel {
731
784
  }
732
785
  declare namespace ConfigurationApplicationModel {
733
- export { Android, AppCurrencyResponse, AppFeature, AppFeatureResponse, Application, ApplicationAboutResponse, ApplicationAuth, ApplicationCors, ApplicationDetail, ApplicationInfo, ApplicationInformation, ApplicationMeta, ApplicationRedirections, ApplicationWebsite, AppStaff, AppStaffListResponse, AppStaffResponse, AppTokenResponse, BlogLink, BusinessHighlights, CartFeature, CommonFeature, CommunicationOptinDialogFeature, CompanyAboutAddress, CompanyInfo, CompareProductsFeature, Credentials, Credit, CurrenciesResponse, Currency, CurrencyFeature, Debit, DefaultCurrency, DeploymentStoreSelectionFeature, Domain, FacebookLink, FeedbackFeature, Firebase, Freshchat, FreshchatCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, GooglePlusLink, Gtm, GtmCredentials, HomePageFeature, InformationAddress, InformationPhone, InformationSupport, InstagramLink, Ios, LandingPageFeature, LanguageResponse, LaunchPage, LinkedInLink, Links, ListingPriceFeature, Moengage, MoengageCredentials, NotFound, OptedStoreAddress, OrderFeature, OrderingStore, OrderingStores, OrderingStoreSelect, OrderingStoreSelectRequest, OwnerInfo, Page, PcrFeature, PinterestLink, ProductDetailFeature, QrFeature, RegistrationPageFeature, RevenueEngineFeature, RewardPointsConfig, Safetynet, SafetynetCredentials, SecureUrl, Segment, SegmentCredentials, SocialLinks, StoreLatLong, SuccessMessageResponse, SupportedLanguage, Tokens, TwitterLink, UnhandledError, UserEmail, UserPhoneNumber, VimeoLink, YoutubeLink };
786
+ export { Android, AppCurrencyResponse, AppFeature, AppFeatureResponse, Application, ApplicationAboutResponse, ApplicationAuth, ApplicationCors, ApplicationDetail, ApplicationInfo, ApplicationInformation, ApplicationMeta, ApplicationRedirections, ApplicationWebsite, AppStaff, AppStaffListResponse, AppStaffResponse, AppTokenResponse, BlogLink, BusinessHighlights, CartFeature, CommonFeature, CommunicationOptinDialogFeature, CompanyAboutAddress, CompanyInfo, CompareProductsFeature, Credentials, Credit, CurrenciesResponse, Currency, CurrencyFeature, Debit, DefaultCurrency, DeploymentStoreSelectionFeature, Domain, FacebookLink, FeedbackFeature, Firebase, Freshchat, FreshchatCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, GooglePlusLink, Gtm, GtmCredentials, HomePageFeature, InformationAddress, InformationLoc, InformationPhone, InformationSupport, InformationSupportEmail, InformationSupportPhone, InstagramLink, InternationalShipping, InvalidPayloadRequest, Ios, LandingPageFeature, LanguageResponse, LaunchPage, LinkedInLink, Links, ListingPageFeature, ListingPriceFeature, Moengage, MoengageCredentials, NotFound, OptedStoreAddress, OrderFeature, OrderingStore, OrderingStores, OrderingStoreSelect, OrderingStoreSelectRequest, OwnerInfo, Page, PcrFeature, PinterestLink, ProductDetailFeature, QrFeature, RegistrationPageFeature, RevenueEngineFeature, RewardPointsConfig, Safetynet, SafetynetCredentials, SecureUrl, Segment, SegmentCredentials, SocialLinks, StoreLatLong, SuccessMessageResponse, SupportedLanguage, Tokens, TokenSchema, TwitterLink, UnhandledError, UserEmail, UserPhoneNumber, VimeoLink, YoutubeLink };
734
787
  }
735
788
  /** @returns {Android} */
736
789
  declare function Android(): Android;
@@ -748,12 +801,15 @@ type Android = {
748
801
  /** @returns {AppCurrencyResponse} */
749
802
  declare function AppCurrencyResponse(): AppCurrencyResponse;
750
803
  type AppCurrencyResponse = {
804
+ _id?: string;
751
805
  /**
752
806
  * - Alphanumeric ID allotted to an application
753
807
  * (sales channel website) created within a business account
754
808
  */
755
809
  application?: string;
810
+ created_at?: string;
756
811
  default_currency?: DefaultCurrency;
812
+ modified_at?: string;
757
813
  supported_currency?: Currency[];
758
814
  };
759
815
  /** @returns {AppFeature} */
@@ -781,16 +837,16 @@ type AppFeature = {
781
837
  created_at?: string;
782
838
  home_page?: HomePageFeature;
783
839
  landing_page?: LandingPageFeature;
840
+ /**
841
+ * - ISO 8601 timestamp of last known
842
+ * modifications to the sales channel feature configuration
843
+ */
844
+ modified_at?: string;
784
845
  order?: OrderFeature;
785
846
  pcr?: PcrFeature;
786
847
  product_detail?: ProductDetailFeature;
787
848
  qr?: QrFeature;
788
849
  registration_page?: RegistrationPageFeature;
789
- /**
790
- * - ISO 8601 timestamp of last known
791
- * modifications to the sales channel feature configuration
792
- */
793
- updated_at?: string;
794
850
  };
795
851
  /** @returns {AppFeatureResponse} */
796
852
  declare function AppFeatureResponse(): AppFeatureResponse;
@@ -855,6 +911,11 @@ type Application = {
855
911
  logo?: SecureUrl;
856
912
  meta?: ApplicationMeta[];
857
913
  mobile_logo?: SecureUrl;
914
+ mode?: string;
915
+ /**
916
+ * - ISO 8601 timestamp of sales channel updation
917
+ */
918
+ modified_at?: string;
858
919
  /**
859
920
  * - Name of the sales channel, e.g. Zenz Fashion
860
921
  */
@@ -865,23 +926,20 @@ type Application = {
865
926
  */
866
927
  owner?: string;
867
928
  redirections?: ApplicationRedirections[];
929
+ slug?: string;
930
+ status?: string;
868
931
  /**
869
932
  * - Random generated fix length string for sales
870
933
  * channel. It is required and auto-generated.
871
934
  */
872
935
  token?: string;
873
- /**
874
- * - ISO 8601 timestamp of sales channel updation
875
- */
876
- updated_at?: string;
936
+ tokens?: TokenSchema[];
877
937
  website?: ApplicationWebsite;
878
938
  };
879
939
  /** @returns {ApplicationAboutResponse} */
880
940
  declare function ApplicationAboutResponse(): ApplicationAboutResponse;
881
941
  type ApplicationAboutResponse = {
882
942
  application_info?: ApplicationInfo;
883
- company_info?: CompanyInfo;
884
- owner_info?: OwnerInfo;
885
943
  };
886
944
  /** @returns {ApplicationAuth} */
887
945
  declare function ApplicationAuth(): ApplicationAuth;
@@ -905,6 +963,7 @@ type ApplicationDetail = {
905
963
  */
906
964
  _id?: string;
907
965
  banner?: SecureUrl;
966
+ company_id?: number;
908
967
  /**
909
968
  * - It gives a detailed information about the
910
969
  * sales channel. It is required.
@@ -919,6 +978,7 @@ type ApplicationDetail = {
919
978
  * - Name of the sales channel. It is required.
920
979
  */
921
980
  name: string;
981
+ slug?: string;
922
982
  };
923
983
  /** @returns {ApplicationInfo} */
924
984
  declare function ApplicationInfo(): ApplicationInfo;
@@ -929,6 +989,7 @@ type ApplicationInfo = {
929
989
  */
930
990
  _id?: string;
931
991
  banner?: SecureUrl;
992
+ company_info?: CompanyInfo;
932
993
  cors?: ApplicationCors;
933
994
  /**
934
995
  * - ISO 8601 timestamp of sales channel
@@ -941,27 +1002,34 @@ type ApplicationInfo = {
941
1002
  */
942
1003
  description?: string;
943
1004
  domain?: Domain;
1005
+ domains?: Domain[];
1006
+ favicon?: SecureUrl;
944
1007
  /**
945
1008
  * - Indicates whether sales channel is active
946
1009
  * or not active
947
1010
  */
948
1011
  is_active?: boolean;
949
1012
  logo?: SecureUrl;
950
- meta?: ApplicationMeta;
1013
+ meta?: ApplicationMeta[];
1014
+ mobile_logo?: SecureUrl;
1015
+ mode?: string;
951
1016
  /**
952
1017
  * - Name of the sales channel, e.g. Zenz Fashion
953
1018
  */
954
1019
  name?: string;
1020
+ owner_info?: OwnerInfo;
955
1021
  /**
956
1022
  * - Random generated fix length string for sales
957
1023
  * channel. It is required and auto-generated.
958
1024
  */
959
1025
  secret?: string;
1026
+ slug?: string;
960
1027
  /**
961
1028
  * - Random generated fix length string for sales
962
1029
  * channel. It is required and auto-generated.
963
1030
  */
964
1031
  token?: string;
1032
+ tokens?: TokenSchema[];
965
1033
  website?: ApplicationWebsite;
966
1034
  };
967
1035
  /** @returns {ApplicationInformation} */
@@ -982,7 +1050,7 @@ type ApplicationInformation = {
982
1050
  * channel application created within a business account
983
1051
  */
984
1052
  application?: string;
985
- business_highlights?: BusinessHighlights;
1053
+ business_highlights?: BusinessHighlights[];
986
1054
  /**
987
1055
  * - Copyright statement usually seen at the
988
1056
  * site's footer
@@ -993,14 +1061,14 @@ type ApplicationInformation = {
993
1061
  * application information
994
1062
  */
995
1063
  created_at?: string;
996
- links?: Links;
997
- social_links?: SocialLinks;
998
- support?: InformationSupport;
1064
+ links?: Links[];
999
1065
  /**
1000
1066
  * - ISO 8601 timestamp of updation of the
1001
1067
  * application information
1002
1068
  */
1003
- updated_at?: string;
1069
+ modified_at?: string;
1070
+ social_links?: SocialLinks;
1071
+ support?: InformationSupport;
1004
1072
  };
1005
1073
  /** @returns {ApplicationMeta} */
1006
1074
  declare function ApplicationMeta(): ApplicationMeta;
@@ -1123,11 +1191,11 @@ type AppTokenResponse = {
1123
1191
  * - ISO 8601 timestamp of token creation
1124
1192
  */
1125
1193
  created_at?: string;
1126
- tokens?: Tokens;
1127
1194
  /**
1128
1195
  * - ISO 8601 timestamp of token updation
1129
1196
  */
1130
- updated_at?: string;
1197
+ modified_at?: string;
1198
+ tokens?: Tokens;
1131
1199
  };
1132
1200
  /** @returns {BlogLink} */
1133
1201
  declare function BlogLink(): BlogLink;
@@ -1203,6 +1271,8 @@ type CommonFeature = {
1203
1271
  currency?: CurrencyFeature;
1204
1272
  deployment_store_selection?: DeploymentStoreSelectionFeature;
1205
1273
  feedback?: FeedbackFeature;
1274
+ international_shipping?: InternationalShipping;
1275
+ listing_page?: ListingPageFeature;
1206
1276
  listing_price?: ListingPriceFeature;
1207
1277
  revenue_engine?: RevenueEngineFeature;
1208
1278
  reward_points?: RewardPointsConfig;
@@ -1336,6 +1406,8 @@ type Currency = {
1336
1406
  * - 3-character currency code, e.g. INR, USD, EUR.
1337
1407
  */
1338
1408
  code?: string;
1409
+ country_code?: string;
1410
+ country_name?: string;
1339
1411
  /**
1340
1412
  * - ISO 8601 timestamp of sales channel support
1341
1413
  * currency creation
@@ -1352,6 +1424,11 @@ type Currency = {
1352
1424
  * sales channel
1353
1425
  */
1354
1426
  is_active?: boolean;
1427
+ /**
1428
+ * - ISO 8601 timestamp of sales channel
1429
+ * support currency updation
1430
+ */
1431
+ modified_at?: string;
1355
1432
  /**
1356
1433
  * - Name of the currency, e.g Indian Rupee
1357
1434
  */
@@ -1360,11 +1437,6 @@ type Currency = {
1360
1437
  * - Unique symbol for identifying the currency, e.g. ₹
1361
1438
  */
1362
1439
  symbol?: string;
1363
- /**
1364
- * - ISO 8601 timestamp of sales channel support
1365
- * currency updation
1366
- */
1367
- updated_at?: string;
1368
1440
  };
1369
1441
  /** @returns {CurrencyFeature} */
1370
1442
  declare function CurrencyFeature(): CurrencyFeature;
@@ -1605,16 +1677,25 @@ type InformationAddress = {
1605
1677
  * - Name of the country, e.g. India
1606
1678
  */
1607
1679
  country?: string;
1608
- /**
1609
- * - Co-ordinates of the location
1610
- */
1611
- loc?: string;
1612
- phone?: InformationPhone;
1680
+ loc?: InformationLoc;
1681
+ phone?: InformationPhone[];
1613
1682
  /**
1614
1683
  * - 6-digit PIN Code of the city, e.g. 400001
1615
1684
  */
1616
1685
  pincode?: number;
1617
1686
  };
1687
+ /** @returns {InformationLoc} */
1688
+ declare function InformationLoc(): InformationLoc;
1689
+ type InformationLoc = {
1690
+ /**
1691
+ * - 10-digit mobile number
1692
+ */
1693
+ coordinates?: number[];
1694
+ /**
1695
+ * - Country code for contact number, e.g. +91 (for India)
1696
+ */
1697
+ type?: string;
1698
+ };
1618
1699
  /** @returns {InformationPhone} */
1619
1700
  declare function InformationPhone(): InformationPhone;
1620
1701
  type InformationPhone = {
@@ -1630,13 +1711,35 @@ type InformationPhone = {
1630
1711
  /** @returns {InformationSupport} */
1631
1712
  declare function InformationSupport(): InformationSupport;
1632
1713
  type InformationSupport = {
1633
- email?: string[];
1634
- phone?: string[];
1714
+ email?: InformationSupportEmail[];
1715
+ phone?: InformationSupportPhone[];
1635
1716
  /**
1636
1717
  * - Working hours of support team, e.g. 9 AM to 9 PM
1637
1718
  */
1638
1719
  timing?: string;
1639
1720
  };
1721
+ /** @returns {InformationSupportEmail} */
1722
+ declare function InformationSupportEmail(): InformationSupportEmail;
1723
+ type InformationSupportEmail = {
1724
+ key?: string;
1725
+ /**
1726
+ * - Value of email.
1727
+ */
1728
+ value?: string;
1729
+ };
1730
+ /** @returns {InformationSupportPhone} */
1731
+ declare function InformationSupportPhone(): InformationSupportPhone;
1732
+ type InformationSupportPhone = {
1733
+ /**
1734
+ * - Country code for contact number, e.g. +91 (for India)
1735
+ */
1736
+ code?: string;
1737
+ key?: string;
1738
+ /**
1739
+ * - 10-digit mobile number
1740
+ */
1741
+ number?: string;
1742
+ };
1640
1743
  /** @returns {InstagramLink} */
1641
1744
  declare function InstagramLink(): InstagramLink;
1642
1745
  type InstagramLink = {
@@ -1653,6 +1756,22 @@ type InstagramLink = {
1653
1756
  */
1654
1757
  title?: string;
1655
1758
  };
1759
+ /** @returns {InternationalShipping} */
1760
+ declare function InternationalShipping(): InternationalShipping;
1761
+ type InternationalShipping = {
1762
+ /**
1763
+ * - International shipping is enabled or not.
1764
+ */
1765
+ enabled?: boolean;
1766
+ };
1767
+ /** @returns {InvalidPayloadRequest} */
1768
+ declare function InvalidPayloadRequest(): InvalidPayloadRequest;
1769
+ type InvalidPayloadRequest = {
1770
+ /**
1771
+ * - Error message when request body payload is improper
1772
+ */
1773
+ message?: string;
1774
+ };
1656
1775
  /** @returns {Ios} */
1657
1776
  declare function Ios(): Ios;
1658
1777
  type Ios = {
@@ -1739,6 +1858,11 @@ type Links = {
1739
1858
  */
1740
1859
  title?: string;
1741
1860
  };
1861
+ /** @returns {ListingPageFeature} */
1862
+ declare function ListingPageFeature(): ListingPageFeature;
1863
+ type ListingPageFeature = {
1864
+ sort_on?: string;
1865
+ };
1742
1866
  /** @returns {ListingPriceFeature} */
1743
1867
  declare function ListingPriceFeature(): ListingPriceFeature;
1744
1868
  type ListingPriceFeature = {
@@ -2133,6 +2257,16 @@ type Tokens = {
2133
2257
  safetynet?: Safetynet;
2134
2258
  segment?: Segment;
2135
2259
  };
2260
+ /** @returns {TokenSchema} */
2261
+ declare function TokenSchema(): TokenSchema;
2262
+ type TokenSchema = {
2263
+ /**
2264
+ * - ISO 8601 timestamp of when token created
2265
+ */
2266
+ created_at?: string;
2267
+ created_by?: any;
2268
+ token?: string;
2269
+ };
2136
2270
  /** @returns {TwitterLink} */
2137
2271
  declare function TwitterLink(): TwitterLink;
2138
2272
  type TwitterLink = {