@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  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 +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,261 +1,182 @@
1
1
  const Joi = require("joi");
2
2
 
3
3
  /**
4
- * @typedef BadRequestData
5
- * @property {string} [message]
6
- */
7
-
8
- /**
9
- * @typedef BadRequestObject
10
- * @property {string} message
11
- */
12
-
13
- /**
14
- * @typedef BadRequestObjectGet
15
- * @property {BadRequestData} [data]
16
- * @property {string} [error]
17
- * @property {string} [message]
18
- */
19
-
20
- /**
21
- * @typedef BulkDiscount
22
- * @property {number} company_id
23
- * @property {DiscountItems[]} items
24
- */
25
-
26
- /**
27
- * @typedef CancelJobResponse
28
- * @property {boolean} success
4
+ * @typedef ValidityObject
5
+ * @property {string} start
6
+ * @property {string} end
29
7
  */
30
8
 
31
9
  /**
32
10
  * @typedef CreateUpdateDiscount
33
- * @property {string[]} app_ids
34
- * @property {number[]} [brand_ids]
11
+ * @property {string} name
35
12
  * @property {number} company_id
36
- * @property {string} discount_level
37
- * @property {DiscountMeta} [discount_meta]
38
- * @property {string} discount_type
39
- * @property {string[]} [extension_ids]
40
- * @property {string} [file_path]
41
13
  * @property {boolean} is_active
14
+ * @property {string[]} app_ids
15
+ * @property {string[]} extension_ids
42
16
  * @property {string} job_type
43
- * @property {string} name
44
- * @property {number[]} [store_ids]
45
- * @property {ValidityObject} validity
17
+ * @property {string} discount_type
18
+ * @property {string} discount_level
46
19
  * @property {number} [value]
20
+ * @property {string} [file_path]
21
+ * @property {number[]} [brand_ids]
22
+ * @property {number[]} [store_ids]
47
23
  * @property {string[]} [zone_ids]
24
+ * @property {ValidityObject} validity
25
+ * @property {DiscountMeta} [discount_meta]
48
26
  */
49
27
 
50
28
  /**
51
- * @typedef DiscountItems
52
- * @property {string} [brand_name]
53
- * @property {DiscountMeta} [discount_meta]
54
- * @property {string} discount_type
55
- * @property {string} [item_code]
56
- * @property {string} [seller_identifier]
57
- * @property {number} value
29
+ * @typedef DiscountMeta
30
+ * @property {boolean} timer - Determines whether the discount countdown is
31
+ * visible or not.
32
+ * @property {number} [hours] - The time in hours before the discount ends when
33
+ * the countdown timer should start.
34
+ * @property {number} [minutes] - The time in minutes before the discount ends
35
+ * when the countdown timer should start.
58
36
  */
59
37
 
60
38
  /**
61
39
  * @typedef DiscountJob
62
40
  * @property {string} _id
63
- * @property {string[]} [app_ids]
64
- * @property {number[]} [brand_ids]
41
+ * @property {string} name
65
42
  * @property {number} company_id
66
- * @property {UserDetails} created_by
67
- * @property {string} created_on
68
- * @property {string} [discount_level]
69
- * @property {DiscountMeta} [discount_meta]
70
- * @property {string} [discount_type]
71
- * @property {string} [file_path]
72
43
  * @property {boolean} is_active
44
+ * @property {string[]} [app_ids]
73
45
  * @property {string} [job_type]
74
- * @property {Object} [meta]
75
- * @property {UserDetails} modified_by
76
- * @property {string} modified_on
77
- * @property {string} name
46
+ * @property {string} [discount_type]
47
+ * @property {string} [discount_level]
48
+ * @property {number} [value]
49
+ * @property {string} [file_path]
50
+ * @property {number[]} [brand_ids]
78
51
  * @property {number[]} [store_ids]
52
+ * @property {DiscountMeta} [discount_meta]
79
53
  * @property {ValidityObject} validity
80
- * @property {number} [value]
81
- * @property {string[]} [zone_ids]
54
+ * @property {string} created_on
55
+ * @property {string} modified_on
56
+ * @property {UserDetails} created_by
57
+ * @property {UserDetails} modified_by
58
+ * @property {Object} [meta]
82
59
  */
83
60
 
84
61
  /**
85
- * @typedef DiscountMeta
86
- * @property {number} [hours] - The time in hours before the discount ends when
87
- * the countdown timer should start.
88
- * @property {number} [minutes] - The time in minutes before the discount ends
89
- * when the countdown timer should start.
90
- * @property {boolean} timer - Determines whether the discount countdown is
91
- * visible or not.
62
+ * @typedef ListOrCalender
63
+ * @property {DiscountJob[]} items
64
+ * @property {Page} page
92
65
  */
93
66
 
94
67
  /**
95
- * @typedef DownloadFileJob
96
- * @property {number[]} [brand_ids]
97
- * @property {number[]} [store_ids]
68
+ * @typedef DiscountItems
69
+ * @property {string} [item_code]
70
+ * @property {number} [brand_uid]
71
+ * @property {string} [seller_identifier]
72
+ * @property {string} discount_type
73
+ * @property {number} value
74
+ * @property {DiscountMeta} [discount_meta]
98
75
  */
99
76
 
100
77
  /**
101
- * @typedef FileJobBody
102
- * @property {string[]} [app_ids]
103
- * @property {number[]} [brand_ids]
104
- * @property {number} [company_id]
105
- * @property {UserDetails} [created_by]
106
- * @property {string} [created_on]
107
- * @property {string} [discount_level]
108
- * @property {DiscountMeta} [discount_meta]
109
- * @property {string} [discount_type]
110
- * @property {string[]} [extension_ids]
111
- * @property {string} [file_path]
112
- * @property {boolean} [is_active]
113
- * @property {string} [job_type]
114
- * @property {Object} [meta]
115
- * @property {UserDetails} [modified_by]
116
- * @property {string} [modified_on]
117
- * @property {string} [name]
118
- * @property {number[]} [store_ids]
119
- * @property {ValidityObject} [validity]
120
- * @property {number} [value]
121
- * @property {string[]} [zone_ids]
78
+ * @typedef BulkDiscount
79
+ * @property {number} company_id
80
+ * @property {DiscountItems[]} items
81
+ */
82
+
83
+ /**
84
+ * @typedef FileJobResponse
85
+ * @property {string} stage
86
+ * @property {number} total
87
+ * @property {number} failed
88
+ * @property {number} company_id
89
+ * @property {Object} [body]
90
+ * @property {string} type
91
+ * @property {string} file_type
92
+ * @property {string} _id - A unique identifier to distinguish and identify a job.
93
+ * @property {string} file_path
122
94
  */
123
95
 
124
96
  /**
125
97
  * @typedef FileJobRequest
98
+ * @property {string} name
99
+ * @property {boolean} is_active
126
100
  * @property {string[]} [app_ids]
127
- * @property {number[]} [brand_ids]
128
- * @property {number} company_id
129
- * @property {string} [discount_level]
101
+ * @property {string} [job_type]
130
102
  * @property {string} [discount_type]
103
+ * @property {string} [discount_level]
131
104
  * @property {string} [file_path]
132
- * @property {boolean} is_active
133
- * @property {string} [job_type]
134
- * @property {Object} [meta]
135
- * @property {string} name
105
+ * @property {number[]} [brand_ids]
136
106
  * @property {number[]} [store_ids]
137
107
  * @property {ValidityObject} validity
108
+ * @property {Object} [meta]
138
109
  */
139
110
 
140
111
  /**
141
- * @typedef FileJobResponse
142
- * @property {string} _id - A unique identifier to distinguish and identify a job.
143
- * @property {FileJobBody} [body]
144
- * @property {number} company_id
145
- * @property {UserDetails} [created_by]
146
- * @property {string} [created_on]
147
- * @property {string[]} [extension_ids]
148
- * @property {number} failed
149
- * @property {string} [file_path]
150
- * @property {string} [file_type]
151
- * @property {string} [modified_on]
152
- * @property {number} [progress]
153
- * @property {string} stage
154
- * @property {number} total
155
- * @property {string} type
156
- * @property {string[]} [zone_ids]
112
+ * @typedef DownloadFileJob
113
+ * @property {number[]} [brand_ids]
114
+ * @property {number[]} [store_ids]
157
115
  */
158
116
 
159
117
  /**
160
- * @typedef ListOrCalender
161
- * @property {DiscountJob[]} items
162
- * @property {Page} page
118
+ * @typedef CancelJobResponse
119
+ * @property {boolean} success
163
120
  */
164
121
 
165
122
  /**
166
123
  * @typedef Page
167
- * @property {number} [current]
168
- * @property {boolean} [has_next]
169
- * @property {boolean} [has_previous]
170
124
  * @property {number} [item_total]
171
125
  * @property {string} [next_id]
172
- * @property {number} [size]
126
+ * @property {boolean} [has_previous]
127
+ * @property {boolean} [has_next]
128
+ * @property {number} [current]
173
129
  * @property {string} type
130
+ * @property {number} [size]
174
131
  */
175
132
 
176
133
  /**
177
134
  * @typedef UserDetails
178
- * @property {string} user_id
179
135
  * @property {string} username
136
+ * @property {string} user_id
180
137
  */
181
138
 
182
139
  /**
183
- * @typedef ValidityObject
184
- * @property {string} end
185
- * @property {string} start
140
+ * @typedef BadRequestObject
141
+ * @property {string} message
186
142
  */
187
143
 
188
144
  class DiscountPlatformModel {
189
- /** @returns {BadRequestData} */
190
- static BadRequestData() {
191
- return Joi.object({
192
- message: Joi.string().allow(""),
193
- });
194
- }
195
-
196
- /** @returns {BadRequestObject} */
197
- static BadRequestObject() {
198
- return Joi.object({
199
- message: Joi.string().allow("").required(),
200
- });
201
- }
202
-
203
- /** @returns {BadRequestObjectGet} */
204
- static BadRequestObjectGet() {
205
- return Joi.object({
206
- data: DiscountPlatformModel.BadRequestData(),
207
- error: Joi.string().allow(""),
208
- message: Joi.string().allow(""),
209
- });
210
- }
211
-
212
- /** @returns {BulkDiscount} */
213
- static BulkDiscount() {
214
- return Joi.object({
215
- company_id: Joi.number().required(),
216
- items: Joi.array()
217
- .items(DiscountPlatformModel.DiscountItems())
218
- .required(),
219
- });
220
- }
221
-
222
- /** @returns {CancelJobResponse} */
223
- static CancelJobResponse() {
145
+ /** @returns {ValidityObject} */
146
+ static ValidityObject() {
224
147
  return Joi.object({
225
- success: Joi.boolean().required(),
148
+ start: Joi.string().allow("").required(),
149
+ end: Joi.string().allow("").required(),
226
150
  });
227
151
  }
228
152
 
229
153
  /** @returns {CreateUpdateDiscount} */
230
154
  static CreateUpdateDiscount() {
231
155
  return Joi.object({
232
- app_ids: Joi.array().items(Joi.string().allow("")).required(),
233
- brand_ids: Joi.array().items(Joi.number()),
156
+ name: Joi.string().allow("").required(),
234
157
  company_id: Joi.number().required(),
235
- discount_level: Joi.string().allow("").required(),
236
- discount_meta: DiscountPlatformModel.DiscountMeta(),
237
- discount_type: Joi.string().allow("").required(),
238
- extension_ids: Joi.array().items(Joi.string().allow("")),
239
- file_path: Joi.string().allow(""),
240
158
  is_active: Joi.boolean().required(),
159
+ app_ids: Joi.array().items(Joi.string().allow("")).required(),
160
+ extension_ids: Joi.array().items(Joi.string().allow("")).required(),
241
161
  job_type: Joi.string().allow("").required(),
242
- name: Joi.string().allow("").required(),
243
- store_ids: Joi.array().items(Joi.number()),
244
- validity: DiscountPlatformModel.ValidityObject().required(),
162
+ discount_type: Joi.string().allow("").required(),
163
+ discount_level: Joi.string().allow("").required(),
245
164
  value: Joi.number(),
165
+ file_path: Joi.string().allow(""),
166
+ brand_ids: Joi.array().items(Joi.number()),
167
+ store_ids: Joi.array().items(Joi.number()),
246
168
  zone_ids: Joi.array().items(Joi.string().allow("")),
169
+ validity: DiscountPlatformModel.ValidityObject().required(),
170
+ discount_meta: DiscountPlatformModel.DiscountMeta(),
247
171
  });
248
172
  }
249
173
 
250
- /** @returns {DiscountItems} */
251
- static DiscountItems() {
174
+ /** @returns {DiscountMeta} */
175
+ static DiscountMeta() {
252
176
  return Joi.object({
253
- brand_name: Joi.string().allow(""),
254
- discount_meta: DiscountPlatformModel.DiscountMeta(),
255
- discount_type: Joi.string().allow("").required(),
256
- item_code: Joi.string().allow(""),
257
- seller_identifier: Joi.string().allow(""),
258
- value: Joi.number().required(),
177
+ timer: Joi.boolean().required(),
178
+ hours: Joi.number(),
179
+ minutes: Joi.number(),
259
180
  });
260
181
  }
261
182
 
@@ -263,144 +184,129 @@ class DiscountPlatformModel {
263
184
  static DiscountJob() {
264
185
  return Joi.object({
265
186
  _id: Joi.string().allow("").required(),
266
- app_ids: Joi.array().items(Joi.string().allow("")),
267
- brand_ids: Joi.array().items(Joi.number()),
187
+ name: Joi.string().allow("").required(),
268
188
  company_id: Joi.number().required(),
269
- created_by: DiscountPlatformModel.UserDetails().required(),
270
- created_on: Joi.string().allow("").required(),
271
- discount_level: Joi.string().allow(""),
272
- discount_meta: DiscountPlatformModel.DiscountMeta(),
273
- discount_type: Joi.string().allow(""),
274
- file_path: Joi.string().allow(""),
275
189
  is_active: Joi.boolean().required(),
190
+ app_ids: Joi.array().items(Joi.string().allow("")),
276
191
  job_type: Joi.string().allow(""),
277
- meta: Joi.any(),
278
- modified_by: DiscountPlatformModel.UserDetails().required(),
279
- modified_on: Joi.string().allow("").required(),
280
- name: Joi.string().allow("").required(),
192
+ discount_type: Joi.string().allow(""),
193
+ discount_level: Joi.string().allow(""),
194
+ value: Joi.number(),
195
+ file_path: Joi.string().allow(""),
196
+ brand_ids: Joi.array().items(Joi.number()),
281
197
  store_ids: Joi.array().items(Joi.number()),
198
+ discount_meta: DiscountPlatformModel.DiscountMeta(),
282
199
  validity: DiscountPlatformModel.ValidityObject().required(),
283
- value: Joi.number(),
284
- zone_ids: Joi.array().items(Joi.string().allow("")),
200
+ created_on: Joi.string().allow("").required(),
201
+ modified_on: Joi.string().allow("").required(),
202
+ created_by: DiscountPlatformModel.UserDetails().required(),
203
+ modified_by: DiscountPlatformModel.UserDetails().required(),
204
+ meta: Joi.any(),
285
205
  });
286
206
  }
287
207
 
288
- /** @returns {DiscountMeta} */
289
- static DiscountMeta() {
208
+ /** @returns {ListOrCalender} */
209
+ static ListOrCalender() {
290
210
  return Joi.object({
291
- hours: Joi.number(),
292
- minutes: Joi.number(),
293
- timer: Joi.boolean().required(),
211
+ items: Joi.array().items(DiscountPlatformModel.DiscountJob()).required(),
212
+ page: DiscountPlatformModel.Page().required(),
294
213
  });
295
214
  }
296
215
 
297
- /** @returns {DownloadFileJob} */
298
- static DownloadFileJob() {
216
+ /** @returns {DiscountItems} */
217
+ static DiscountItems() {
299
218
  return Joi.object({
300
- brand_ids: Joi.array().items(Joi.number()),
301
- store_ids: Joi.array().items(Joi.number()),
219
+ item_code: Joi.string().allow(""),
220
+ brand_uid: Joi.number(),
221
+ seller_identifier: Joi.string().allow(""),
222
+ discount_type: Joi.string().allow("").required(),
223
+ value: Joi.number().required(),
224
+ discount_meta: DiscountPlatformModel.DiscountMeta(),
302
225
  });
303
226
  }
304
227
 
305
- /** @returns {FileJobBody} */
306
- static FileJobBody() {
228
+ /** @returns {BulkDiscount} */
229
+ static BulkDiscount() {
307
230
  return Joi.object({
308
- app_ids: Joi.array().items(Joi.string().allow("")),
309
- brand_ids: Joi.array().items(Joi.number()),
310
- company_id: Joi.number(),
311
- created_by: DiscountPlatformModel.UserDetails(),
312
- created_on: Joi.string().allow(""),
313
- discount_level: Joi.string().allow(""),
314
- discount_meta: DiscountPlatformModel.DiscountMeta(),
315
- discount_type: Joi.string().allow(""),
316
- extension_ids: Joi.array().items(Joi.string().allow("")),
317
- file_path: Joi.string().allow(""),
318
- is_active: Joi.boolean(),
319
- job_type: Joi.string().allow(""),
320
- meta: Joi.any(),
321
- modified_by: DiscountPlatformModel.UserDetails(),
322
- modified_on: Joi.string().allow(""),
323
- name: Joi.string().allow(""),
324
- store_ids: Joi.array().items(Joi.number()),
325
- validity: DiscountPlatformModel.ValidityObject(),
326
- value: Joi.number(),
327
- zone_ids: Joi.array().items(Joi.string().allow("")),
231
+ company_id: Joi.number().required(),
232
+ items: Joi.array()
233
+ .items(DiscountPlatformModel.DiscountItems())
234
+ .required(),
235
+ });
236
+ }
237
+
238
+ /** @returns {FileJobResponse} */
239
+ static FileJobResponse() {
240
+ return Joi.object({
241
+ stage: Joi.string().allow("").required(),
242
+ total: Joi.number().required(),
243
+ failed: Joi.number().required(),
244
+ company_id: Joi.number().required(),
245
+ body: Joi.any(),
246
+ type: Joi.string().allow("").required(),
247
+ file_type: Joi.string().allow("").required(),
248
+ _id: Joi.string().allow("").required(),
249
+ file_path: Joi.string().allow("").required(),
328
250
  });
329
251
  }
330
252
 
331
253
  /** @returns {FileJobRequest} */
332
254
  static FileJobRequest() {
333
255
  return Joi.object({
256
+ name: Joi.string().allow("").required(),
257
+ is_active: Joi.boolean().required(),
334
258
  app_ids: Joi.array().items(Joi.string().allow("")),
335
- brand_ids: Joi.array().items(Joi.number()),
336
- company_id: Joi.number().required(),
337
- discount_level: Joi.string().allow(""),
259
+ job_type: Joi.string().allow(""),
338
260
  discount_type: Joi.string().allow(""),
261
+ discount_level: Joi.string().allow(""),
339
262
  file_path: Joi.string().allow(""),
340
- is_active: Joi.boolean().required(),
341
- job_type: Joi.string().allow(""),
342
- meta: Joi.any(),
343
- name: Joi.string().allow("").required(),
263
+ brand_ids: Joi.array().items(Joi.number()),
344
264
  store_ids: Joi.array().items(Joi.number()),
345
265
  validity: DiscountPlatformModel.ValidityObject().required(),
266
+ meta: Joi.any(),
346
267
  });
347
268
  }
348
269
 
349
- /** @returns {FileJobResponse} */
350
- static FileJobResponse() {
270
+ /** @returns {DownloadFileJob} */
271
+ static DownloadFileJob() {
351
272
  return Joi.object({
352
- _id: Joi.string().allow("").required(),
353
- body: DiscountPlatformModel.FileJobBody(),
354
- company_id: Joi.number().required(),
355
- created_by: DiscountPlatformModel.UserDetails(),
356
- created_on: Joi.string().allow(""),
357
- extension_ids: Joi.array().items(Joi.string().allow("")),
358
- failed: Joi.number().required(),
359
- file_path: Joi.string().allow(""),
360
- file_type: Joi.string().allow(""),
361
- modified_on: Joi.string().allow(""),
362
- progress: Joi.number(),
363
- stage: Joi.string().allow("").required(),
364
- total: Joi.number().required(),
365
- type: Joi.string().allow("").required(),
366
- zone_ids: Joi.array().items(Joi.string().allow("")),
273
+ brand_ids: Joi.array().items(Joi.number()),
274
+ store_ids: Joi.array().items(Joi.number()),
367
275
  });
368
276
  }
369
277
 
370
- /** @returns {ListOrCalender} */
371
- static ListOrCalender() {
278
+ /** @returns {CancelJobResponse} */
279
+ static CancelJobResponse() {
372
280
  return Joi.object({
373
- items: Joi.array().items(DiscountPlatformModel.DiscountJob()).required(),
374
- page: DiscountPlatformModel.Page().required(),
281
+ success: Joi.boolean().required(),
375
282
  });
376
283
  }
377
284
 
378
285
  /** @returns {Page} */
379
286
  static Page() {
380
287
  return Joi.object({
381
- current: Joi.number(),
382
- has_next: Joi.boolean(),
383
- has_previous: Joi.boolean(),
384
288
  item_total: Joi.number(),
385
289
  next_id: Joi.string().allow(""),
386
- size: Joi.number(),
290
+ has_previous: Joi.boolean(),
291
+ has_next: Joi.boolean(),
292
+ current: Joi.number(),
387
293
  type: Joi.string().allow("").required(),
294
+ size: Joi.number(),
388
295
  });
389
296
  }
390
297
 
391
298
  /** @returns {UserDetails} */
392
299
  static UserDetails() {
393
300
  return Joi.object({
394
- user_id: Joi.string().allow("").required(),
395
301
  username: Joi.string().allow("").required(),
302
+ user_id: Joi.string().allow("").required(),
396
303
  });
397
304
  }
398
305
 
399
- /** @returns {ValidityObject} */
400
- static ValidityObject() {
306
+ /** @returns {BadRequestObject} */
307
+ static BadRequestObject() {
401
308
  return Joi.object({
402
- end: Joi.string().allow("").required(),
403
- start: Joi.string().allow("").required(),
309
+ message: Joi.string().allow("").required(),
404
310
  });
405
311
  }
406
312
  }
@@ -82,17 +82,7 @@ declare class FileStorage {
82
82
  * @summary: Browse Files
83
83
  * @description: Browse Files - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appbrowse/).
84
84
  */
85
- appbrowse({ namespace, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.AppbrowseParam, { responseHeaders }?: object): Promise<any>;
86
- /**
87
- * @param {FileStoragePlatformApplicationValidator.BrowsefilesParam} arg - Arg object
88
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
89
- * @param {import("../PlatformAPIClient").Options} - Options
90
- * @returns {Promise<Object>} - Success response
91
- * @name browsefiles
92
- * @summary: Browse Files
93
- * @description: Browse Files - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browsefiles/).
94
- */
95
- browsefiles({ namespace, body, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.BrowsefilesParam, { responseHeaders }?: object): Promise<any>;
85
+ appbrowse({ namespace, page, limit, requestHeaders }?: FileStoragePlatformApplicationValidator.AppbrowseParam, { responseHeaders }?: object): Promise<any>;
96
86
  /**
97
87
  * @param {FileStoragePlatformApplicationValidator.GeneratePaymentReceiptParam} arg
98
88
  * - Arg object
@@ -116,7 +106,7 @@ declare class FileStorage {
116
106
  * @summary: Get html template for sales channel
117
107
  * @description: Get default html template for invoice or label - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultHtmlTemplate/).
118
108
  */
119
- getDefaultHtmlTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSuccess>;
109
+ getDefaultHtmlTemplate({ pdfTypeId, format, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSuccess>;
120
110
  /**
121
111
  * @param {FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam} arg
122
112
  * - Arg object
@@ -129,7 +119,7 @@ declare class FileStorage {
129
119
  * @summary: Get Dummy pdf data for invoice or label
130
120
  * @description: Get Dummy pdf data for invoice or label - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfData/).
131
121
  */
132
- getDefaultPdfData({ pdfTypeId, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.DummyTemplateDataItems>;
122
+ getDefaultPdfData({ pdfTypeId, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.DummyTemplateDataItems>;
133
123
  /**
134
124
  * @param {FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam} arg
135
125
  * - Arg object
@@ -142,7 +132,7 @@ declare class FileStorage {
142
132
  * @summary: Default html template
143
133
  * @description: Get default html template data for invoice or label - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfTemplate/).
144
134
  */
145
- getDefaultPdfTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>;
135
+ getDefaultPdfTemplate({ pdfTypeId, format, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>;
146
136
  /**
147
137
  * @param {FileStoragePlatformApplicationValidator.GetPdfTypesParam} arg - Arg object
148
138
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -151,9 +141,9 @@ declare class FileStorage {
151
141
  * Success response
152
142
  * @name getPdfTypes
153
143
  * @summary: Get all the supported invoice pdf types
154
- * @description: Get all the supported invoice pdf types such as Invoice, Label, Delivery challan - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfTypes/).
144
+ * @description: Get all the supported invoice pdf types such as Invoice, Label, Deliver challan - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfTypes/).
155
145
  */
156
- getPdfTypes({ countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetPdfTypesParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.InvoiceTypesResponse>;
146
+ getPdfTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<FileStoragePlatformModel.InvoiceTypesResponse>;
157
147
  /**
158
148
  * @param {FileStoragePlatformApplicationValidator.SaveHtmlTemplateParam} arg
159
149
  * - Arg object