@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1

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 (231) 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/FileStorage/FileStoragePartnerModel.d.ts +3 -15
  56. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
  57. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  58. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  59. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  60. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  61. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  62. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  67. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  68. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  69. package/sdk/partner/PartnerClient.d.ts +6 -0
  70. package/sdk/partner/PartnerClient.js +9 -0
  71. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  72. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  73. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  74. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  75. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  76. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  77. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  78. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  79. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  80. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  81. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  82. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  83. package/sdk/partner/index.d.ts +3 -0
  84. package/sdk/partner/index.js +6 -0
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  87. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  89. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  97. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  122. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  123. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  124. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  125. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  126. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  127. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3641 -1059
  128. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
  129. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
  130. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  131. package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
  133. package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
  134. package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
  135. package/sdk/platform/Content/ContentPlatformValidator.js +319 -0
  136. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  137. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  138. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  139. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  142. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  143. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +18 -19
  145. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
  146. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  147. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  148. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  149. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  150. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  151. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  157. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  163. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
  165. package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  167. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  168. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  169. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  170. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  171. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  172. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  173. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  174. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  175. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  176. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/PlatformApplicationClient.js +4 -4
  178. package/sdk/platform/PlatformClient.d.ts +4 -2
  179. package/sdk/platform/PlatformClient.js +8 -4
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  190. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  191. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  192. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  193. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  194. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  195. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  196. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  197. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  198. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  199. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  200. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  201. package/sdk/platform/User/UserPlatformModel.js +256 -5
  202. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  203. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  204. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  205. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  206. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  207. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  208. package/sdk/platform/index.d.ts +1 -1
  209. package/sdk/platform/index.js +2 -2
  210. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  211. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  212. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  213. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  214. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  215. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  216. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  217. package/sdk/public/Content/ContentPublicClient.js +114 -0
  218. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  219. package/sdk/public/Content/ContentPublicModel.js +60 -0
  220. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  221. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  222. package/sdk/public/PublicClient.d.ts +4 -0
  223. package/sdk/public/PublicClient.js +8 -0
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  225. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  227. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  230. package/sdk/public/index.d.ts +2 -0
  231. package/sdk/public/index.js +4 -0
@@ -109,7 +109,7 @@ export = FinancePlatformModel;
109
109
  * @property {number} [item_count]
110
110
  * @property {Object[]} [items]
111
111
  * @property {string} [message]
112
- * @property {Object} [page]
112
+ * @property {Page} [page]
113
113
  * @property {boolean} [show_mr]
114
114
  */
115
115
  /**
@@ -120,7 +120,7 @@ export = FinancePlatformModel;
120
120
  * @typedef CreditNoteDetails
121
121
  * @property {number} [available_cn_balance]
122
122
  * @property {number} [cn_amount]
123
- * @property {Object} [cn_details]
123
+ * @property {CnDetails} [cn_details]
124
124
  * @property {string} [cn_reference_number]
125
125
  * @property {string} [cn_status]
126
126
  * @property {string} [customer_mobile_number]
@@ -136,6 +136,12 @@ export = FinancePlatformModel;
136
136
  * @property {CreditNoteDetails} [data]
137
137
  * @property {boolean} [success]
138
138
  */
139
+ /**
140
+ * @typedef Currency
141
+ * @property {string} [code]
142
+ * @property {string} [name]
143
+ * @property {string} [symbol]
144
+ */
139
145
  /**
140
146
  * @typedef DeleteConfig
141
147
  * @property {string} [affiliate_id]
@@ -418,6 +424,23 @@ export = FinancePlatformModel;
418
424
  * @property {string[]} [invoice_type]
419
425
  * @property {string[]} [payment_status]
420
426
  */
427
+ /**
428
+ * @typedef InvoiceActivityLogError
429
+ * @property {string} [reason]
430
+ */
431
+ /**
432
+ * @typedef InvoiceActivityLogsResponse
433
+ * @property {InvoiceActivityLogsResponseData[]} [data]
434
+ */
435
+ /**
436
+ * @typedef InvoiceActivityLogsResponseData
437
+ * @property {boolean} [is_resolved]
438
+ * @property {number} [max_retry_attempts]
439
+ * @property {string} [performed_by]
440
+ * @property {string} [reason]
441
+ * @property {number} [retry_attempts]
442
+ * @property {string} [status]
443
+ */
421
444
  /**
422
445
  * @typedef InvoiceListingPayloadData
423
446
  * @property {string} [end_date]
@@ -442,6 +465,7 @@ export = FinancePlatformModel;
442
465
  * @typedef InvoiceListingResponseItems
443
466
  * @property {string} [amount]
444
467
  * @property {string} [company]
468
+ * @property {Currency} [currency]
445
469
  * @property {string} [due_date]
446
470
  * @property {string} [invoice_date]
447
471
  * @property {string} [invoice_id]
@@ -451,6 +475,17 @@ export = FinancePlatformModel;
451
475
  * @property {string} [period]
452
476
  * @property {string} [status]
453
477
  */
478
+ /**
479
+ * @typedef InvoicePaymentDetailsResponse
480
+ * @property {InvoicePaymentDetailsResponseData} [data]
481
+ * @property {boolean} [payment_details_visible]
482
+ * @property {boolean} [success]
483
+ */
484
+ /**
485
+ * @typedef InvoicePaymentDetailsResponseData
486
+ * @property {Object[]} [failed_attempts_details]
487
+ * @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details]
488
+ */
454
489
  /**
455
490
  * @typedef InvoicePdfPayloadData
456
491
  * @property {string[]} [invoice_number]
@@ -526,6 +561,17 @@ export = FinancePlatformModel;
526
561
  * @property {number} [size]
527
562
  * @property {string} type
528
563
  */
564
+ /**
565
+ * @typedef PaidInvoicePaymentDetail
566
+ * @property {number} [amount]
567
+ * @property {string} [date_of_payment]
568
+ * @property {PaymentDetail[]} [payment_details]
569
+ */
570
+ /**
571
+ * @typedef PaymentDetail
572
+ * @property {string} [display_name]
573
+ * @property {string} [value]
574
+ */
529
575
  /**
530
576
  * @typedef PaymentProcessPayload
531
577
  * @property {string} [amount]
@@ -578,6 +624,27 @@ export = FinancePlatformModel;
578
624
  * @property {string} [name]
579
625
  * @property {string} [report_type]
580
626
  */
627
+ /**
628
+ * @typedef UnlockCreditNoteRequest
629
+ * @property {UnlockCreditNoteRequestData} [data]
630
+ */
631
+ /**
632
+ * @typedef UnlockCreditNoteRequestData
633
+ * @property {string} [description]
634
+ * @property {string[]} [locked_credit_notes]
635
+ * @property {string} [seller_id]
636
+ * @property {string} [unlock_reason]
637
+ */
638
+ /**
639
+ * @typedef UnlockCreditNoteResponse
640
+ * @property {UnlockCreditNoteResponseData} [data]
641
+ * @property {boolean} [success]
642
+ */
643
+ /**
644
+ * @typedef UnlockCreditNoteResponseData
645
+ * @property {boolean} [is_cn_unlocked]
646
+ * @property {string} [status]
647
+ */
581
648
  /**
582
649
  * @typedef UnpaidInvoiceDataItems
583
650
  * @property {string} [currency]
@@ -587,7 +654,7 @@ export = FinancePlatformModel;
587
654
  declare class FinancePlatformModel {
588
655
  }
589
656
  declare namespace FinancePlatformModel {
590
- export { ChannelDisplayName, ChannelDisplayNameResponse, CnDetails, CnDownloadReport, CnGenerateReport, CnGenerateReportFilters, CnGenerateReportItems, CnReferenceNumber, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, CreditNoteConfigNotificationEvents, CreditNoteDetails, CreditNoteDetailsRequest, CreditNoteDetailsResponse, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportCustomerCnRequest, DownloadReportCustomerCnResponse, DownloadReportItems, DownloadReportList, DownloadReportResponseData, Error, GenerateReportCustomerCnRequest, GenerateReportCustomerCnResponse, GenerateReportCustomerCnResponseData, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetCnConfigRequest, GetCnConfigResponse, GetCnConfigResponseData, GetCnConfigResponseMeta, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponse, GetCustomerCreditBalanceResponseData, GetEngineData, GetEngineRequest, GetEngineResponse, GetPdfUrlViewRequest, GetPdfUrlViewResponse, GetPdfUrlViewResponseData, GetReason, GetReasonRequest, GetReasonResponse, GetReportingFilters, GetReportingFiltersResponse, GetReportingNestedFilters, GetReportListData, GetReportListRequest, GetReportListResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponse, IsCnRefundMethodResponseData, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, ReasonItem, RedemptionDetails, ReportItem, UnpaidInvoiceDataItems };
657
+ export { ChannelDisplayName, ChannelDisplayNameResponse, CnDetails, CnDownloadReport, CnGenerateReport, CnGenerateReportFilters, CnGenerateReportItems, CnReferenceNumber, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, CreditNoteConfigNotificationEvents, CreditNoteDetails, CreditNoteDetailsRequest, CreditNoteDetailsResponse, Currency, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportCustomerCnRequest, DownloadReportCustomerCnResponse, DownloadReportItems, DownloadReportList, DownloadReportResponseData, Error, GenerateReportCustomerCnRequest, GenerateReportCustomerCnResponse, GenerateReportCustomerCnResponseData, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetCnConfigRequest, GetCnConfigResponse, GetCnConfigResponseData, GetCnConfigResponseMeta, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponse, GetCustomerCreditBalanceResponseData, GetEngineData, GetEngineRequest, GetEngineResponse, GetPdfUrlViewRequest, GetPdfUrlViewResponse, GetPdfUrlViewResponseData, GetReason, GetReasonRequest, GetReasonResponse, GetReportingFilters, GetReportingFiltersResponse, GetReportingNestedFilters, GetReportListData, GetReportListRequest, GetReportListResponse, InoviceListingPayloadDataFilters, InvoiceActivityLogError, InvoiceActivityLogsResponse, InvoiceActivityLogsResponseData, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePaymentDetailsResponse, InvoicePaymentDetailsResponseData, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponse, IsCnRefundMethodResponseData, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaidInvoicePaymentDetail, PaymentDetail, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, ReasonItem, RedemptionDetails, ReportItem, UnlockCreditNoteRequest, UnlockCreditNoteRequestData, UnlockCreditNoteResponse, UnlockCreditNoteResponseData, UnpaidInvoiceDataItems };
591
658
  }
592
659
  /** @returns {ChannelDisplayName} */
593
660
  declare function ChannelDisplayName(): ChannelDisplayName;
@@ -713,7 +780,7 @@ type CreditlineDataPlatformResponse = {
713
780
  item_count?: number;
714
781
  items?: any[];
715
782
  message?: string;
716
- page?: any;
783
+ page?: Page;
717
784
  show_mr?: boolean;
718
785
  };
719
786
  /** @returns {CreditNoteConfigNotificationEvents} */
@@ -726,7 +793,7 @@ declare function CreditNoteDetails(): CreditNoteDetails;
726
793
  type CreditNoteDetails = {
727
794
  available_cn_balance?: number;
728
795
  cn_amount?: number;
729
- cn_details?: any;
796
+ cn_details?: CnDetails;
730
797
  cn_reference_number?: string;
731
798
  cn_status?: string;
732
799
  customer_mobile_number?: string;
@@ -744,6 +811,13 @@ type CreditNoteDetailsResponse = {
744
811
  data?: CreditNoteDetails;
745
812
  success?: boolean;
746
813
  };
814
+ /** @returns {Currency} */
815
+ declare function Currency(): Currency;
816
+ type Currency = {
817
+ code?: string;
818
+ name?: string;
819
+ symbol?: string;
820
+ };
747
821
  /** @returns {DeleteConfig} */
748
822
  declare function DeleteConfig(): DeleteConfig;
749
823
  type DeleteConfig = {
@@ -1074,6 +1148,26 @@ type InoviceListingPayloadDataFilters = {
1074
1148
  invoice_type?: string[];
1075
1149
  payment_status?: string[];
1076
1150
  };
1151
+ /** @returns {InvoiceActivityLogError} */
1152
+ declare function InvoiceActivityLogError(): InvoiceActivityLogError;
1153
+ type InvoiceActivityLogError = {
1154
+ reason?: string;
1155
+ };
1156
+ /** @returns {InvoiceActivityLogsResponse} */
1157
+ declare function InvoiceActivityLogsResponse(): InvoiceActivityLogsResponse;
1158
+ type InvoiceActivityLogsResponse = {
1159
+ data?: InvoiceActivityLogsResponseData[];
1160
+ };
1161
+ /** @returns {InvoiceActivityLogsResponseData} */
1162
+ declare function InvoiceActivityLogsResponseData(): InvoiceActivityLogsResponseData;
1163
+ type InvoiceActivityLogsResponseData = {
1164
+ is_resolved?: boolean;
1165
+ max_retry_attempts?: number;
1166
+ performed_by?: string;
1167
+ reason?: string;
1168
+ retry_attempts?: number;
1169
+ status?: string;
1170
+ };
1077
1171
  /** @returns {InvoiceListingPayloadData} */
1078
1172
  declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
1079
1173
  type InvoiceListingPayloadData = {
@@ -1102,6 +1196,7 @@ declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
1102
1196
  type InvoiceListingResponseItems = {
1103
1197
  amount?: string;
1104
1198
  company?: string;
1199
+ currency?: Currency;
1105
1200
  due_date?: string;
1106
1201
  invoice_date?: string;
1107
1202
  invoice_id?: string;
@@ -1111,6 +1206,19 @@ type InvoiceListingResponseItems = {
1111
1206
  period?: string;
1112
1207
  status?: string;
1113
1208
  };
1209
+ /** @returns {InvoicePaymentDetailsResponse} */
1210
+ declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
1211
+ type InvoicePaymentDetailsResponse = {
1212
+ data?: InvoicePaymentDetailsResponseData;
1213
+ payment_details_visible?: boolean;
1214
+ success?: boolean;
1215
+ };
1216
+ /** @returns {InvoicePaymentDetailsResponseData} */
1217
+ declare function InvoicePaymentDetailsResponseData(): InvoicePaymentDetailsResponseData;
1218
+ type InvoicePaymentDetailsResponseData = {
1219
+ failed_attempts_details?: any[];
1220
+ paid_invoice_payment_details?: PaidInvoicePaymentDetail[];
1221
+ };
1114
1222
  /** @returns {InvoicePdfPayloadData} */
1115
1223
  declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
1116
1224
  type InvoicePdfPayloadData = {
@@ -1201,6 +1309,19 @@ type Page = {
1201
1309
  size?: number;
1202
1310
  type: string;
1203
1311
  };
1312
+ /** @returns {PaidInvoicePaymentDetail} */
1313
+ declare function PaidInvoicePaymentDetail(): PaidInvoicePaymentDetail;
1314
+ type PaidInvoicePaymentDetail = {
1315
+ amount?: number;
1316
+ date_of_payment?: string;
1317
+ payment_details?: PaymentDetail[];
1318
+ };
1319
+ /** @returns {PaymentDetail} */
1320
+ declare function PaymentDetail(): PaymentDetail;
1321
+ type PaymentDetail = {
1322
+ display_name?: string;
1323
+ value?: string;
1324
+ };
1204
1325
  /** @returns {PaymentProcessPayload} */
1205
1326
  declare function PaymentProcessPayload(): PaymentProcessPayload;
1206
1327
  type PaymentProcessPayload = {
@@ -1259,6 +1380,31 @@ type ReportItem = {
1259
1380
  name?: string;
1260
1381
  report_type?: string;
1261
1382
  };
1383
+ /** @returns {UnlockCreditNoteRequest} */
1384
+ declare function UnlockCreditNoteRequest(): UnlockCreditNoteRequest;
1385
+ type UnlockCreditNoteRequest = {
1386
+ data?: UnlockCreditNoteRequestData;
1387
+ };
1388
+ /** @returns {UnlockCreditNoteRequestData} */
1389
+ declare function UnlockCreditNoteRequestData(): UnlockCreditNoteRequestData;
1390
+ type UnlockCreditNoteRequestData = {
1391
+ description?: string;
1392
+ locked_credit_notes?: string[];
1393
+ seller_id?: string;
1394
+ unlock_reason?: string;
1395
+ };
1396
+ /** @returns {UnlockCreditNoteResponse} */
1397
+ declare function UnlockCreditNoteResponse(): UnlockCreditNoteResponse;
1398
+ type UnlockCreditNoteResponse = {
1399
+ data?: UnlockCreditNoteResponseData;
1400
+ success?: boolean;
1401
+ };
1402
+ /** @returns {UnlockCreditNoteResponseData} */
1403
+ declare function UnlockCreditNoteResponseData(): UnlockCreditNoteResponseData;
1404
+ type UnlockCreditNoteResponseData = {
1405
+ is_cn_unlocked?: boolean;
1406
+ status?: string;
1407
+ };
1262
1408
  /** @returns {UnpaidInvoiceDataItems} */
1263
1409
  declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
1264
1410
  type UnpaidInvoiceDataItems = {
@@ -123,7 +123,7 @@ const Joi = require("joi");
123
123
  * @property {number} [item_count]
124
124
  * @property {Object[]} [items]
125
125
  * @property {string} [message]
126
- * @property {Object} [page]
126
+ * @property {Page} [page]
127
127
  * @property {boolean} [show_mr]
128
128
  */
129
129
 
@@ -136,7 +136,7 @@ const Joi = require("joi");
136
136
  * @typedef CreditNoteDetails
137
137
  * @property {number} [available_cn_balance]
138
138
  * @property {number} [cn_amount]
139
- * @property {Object} [cn_details]
139
+ * @property {CnDetails} [cn_details]
140
140
  * @property {string} [cn_reference_number]
141
141
  * @property {string} [cn_status]
142
142
  * @property {string} [customer_mobile_number]
@@ -155,6 +155,13 @@ const Joi = require("joi");
155
155
  * @property {boolean} [success]
156
156
  */
157
157
 
158
+ /**
159
+ * @typedef Currency
160
+ * @property {string} [code]
161
+ * @property {string} [name]
162
+ * @property {string} [symbol]
163
+ */
164
+
158
165
  /**
159
166
  * @typedef DeleteConfig
160
167
  * @property {string} [affiliate_id]
@@ -485,6 +492,26 @@ const Joi = require("joi");
485
492
  * @property {string[]} [payment_status]
486
493
  */
487
494
 
495
+ /**
496
+ * @typedef InvoiceActivityLogError
497
+ * @property {string} [reason]
498
+ */
499
+
500
+ /**
501
+ * @typedef InvoiceActivityLogsResponse
502
+ * @property {InvoiceActivityLogsResponseData[]} [data]
503
+ */
504
+
505
+ /**
506
+ * @typedef InvoiceActivityLogsResponseData
507
+ * @property {boolean} [is_resolved]
508
+ * @property {number} [max_retry_attempts]
509
+ * @property {string} [performed_by]
510
+ * @property {string} [reason]
511
+ * @property {number} [retry_attempts]
512
+ * @property {string} [status]
513
+ */
514
+
488
515
  /**
489
516
  * @typedef InvoiceListingPayloadData
490
517
  * @property {string} [end_date]
@@ -512,6 +539,7 @@ const Joi = require("joi");
512
539
  * @typedef InvoiceListingResponseItems
513
540
  * @property {string} [amount]
514
541
  * @property {string} [company]
542
+ * @property {Currency} [currency]
515
543
  * @property {string} [due_date]
516
544
  * @property {string} [invoice_date]
517
545
  * @property {string} [invoice_id]
@@ -522,6 +550,19 @@ const Joi = require("joi");
522
550
  * @property {string} [status]
523
551
  */
524
552
 
553
+ /**
554
+ * @typedef InvoicePaymentDetailsResponse
555
+ * @property {InvoicePaymentDetailsResponseData} [data]
556
+ * @property {boolean} [payment_details_visible]
557
+ * @property {boolean} [success]
558
+ */
559
+
560
+ /**
561
+ * @typedef InvoicePaymentDetailsResponseData
562
+ * @property {Object[]} [failed_attempts_details]
563
+ * @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details]
564
+ */
565
+
525
566
  /**
526
567
  * @typedef InvoicePdfPayloadData
527
568
  * @property {string[]} [invoice_number]
@@ -612,6 +653,19 @@ const Joi = require("joi");
612
653
  * @property {string} type
613
654
  */
614
655
 
656
+ /**
657
+ * @typedef PaidInvoicePaymentDetail
658
+ * @property {number} [amount]
659
+ * @property {string} [date_of_payment]
660
+ * @property {PaymentDetail[]} [payment_details]
661
+ */
662
+
663
+ /**
664
+ * @typedef PaymentDetail
665
+ * @property {string} [display_name]
666
+ * @property {string} [value]
667
+ */
668
+
615
669
  /**
616
670
  * @typedef PaymentProcessPayload
617
671
  * @property {string} [amount]
@@ -670,6 +724,31 @@ const Joi = require("joi");
670
724
  * @property {string} [report_type]
671
725
  */
672
726
 
727
+ /**
728
+ * @typedef UnlockCreditNoteRequest
729
+ * @property {UnlockCreditNoteRequestData} [data]
730
+ */
731
+
732
+ /**
733
+ * @typedef UnlockCreditNoteRequestData
734
+ * @property {string} [description]
735
+ * @property {string[]} [locked_credit_notes]
736
+ * @property {string} [seller_id]
737
+ * @property {string} [unlock_reason]
738
+ */
739
+
740
+ /**
741
+ * @typedef UnlockCreditNoteResponse
742
+ * @property {UnlockCreditNoteResponseData} [data]
743
+ * @property {boolean} [success]
744
+ */
745
+
746
+ /**
747
+ * @typedef UnlockCreditNoteResponseData
748
+ * @property {boolean} [is_cn_unlocked]
749
+ * @property {string} [status]
750
+ */
751
+
673
752
  /**
674
753
  * @typedef UnpaidInvoiceDataItems
675
754
  * @property {string} [currency]
@@ -828,7 +907,7 @@ class FinancePlatformModel {
828
907
  item_count: Joi.number(),
829
908
  items: Joi.array().items(Joi.any()),
830
909
  message: Joi.string().allow(""),
831
- page: Joi.any(),
910
+ page: FinancePlatformModel.Page(),
832
911
  show_mr: Joi.boolean(),
833
912
  });
834
913
  }
@@ -845,7 +924,7 @@ class FinancePlatformModel {
845
924
  return Joi.object({
846
925
  available_cn_balance: Joi.number(),
847
926
  cn_amount: Joi.number(),
848
- cn_details: Joi.any(),
927
+ cn_details: FinancePlatformModel.CnDetails(),
849
928
  cn_reference_number: Joi.string().allow(""),
850
929
  cn_status: Joi.string().allow(""),
851
930
  customer_mobile_number: Joi.string().allow(""),
@@ -871,6 +950,15 @@ class FinancePlatformModel {
871
950
  });
872
951
  }
873
952
 
953
+ /** @returns {Currency} */
954
+ static Currency() {
955
+ return Joi.object({
956
+ code: Joi.string().allow(""),
957
+ name: Joi.string().allow(""),
958
+ symbol: Joi.string().allow(""),
959
+ });
960
+ }
961
+
874
962
  /** @returns {DeleteConfig} */
875
963
  static DeleteConfig() {
876
964
  return Joi.object({
@@ -1303,6 +1391,34 @@ class FinancePlatformModel {
1303
1391
  });
1304
1392
  }
1305
1393
 
1394
+ /** @returns {InvoiceActivityLogError} */
1395
+ static InvoiceActivityLogError() {
1396
+ return Joi.object({
1397
+ reason: Joi.string().allow(""),
1398
+ });
1399
+ }
1400
+
1401
+ /** @returns {InvoiceActivityLogsResponse} */
1402
+ static InvoiceActivityLogsResponse() {
1403
+ return Joi.object({
1404
+ data: Joi.array().items(
1405
+ FinancePlatformModel.InvoiceActivityLogsResponseData()
1406
+ ),
1407
+ });
1408
+ }
1409
+
1410
+ /** @returns {InvoiceActivityLogsResponseData} */
1411
+ static InvoiceActivityLogsResponseData() {
1412
+ return Joi.object({
1413
+ is_resolved: Joi.boolean(),
1414
+ max_retry_attempts: Joi.number(),
1415
+ performed_by: Joi.string().allow(""),
1416
+ reason: Joi.string().allow(""),
1417
+ retry_attempts: Joi.number(),
1418
+ status: Joi.string().allow(""),
1419
+ });
1420
+ }
1421
+
1306
1422
  /** @returns {InvoiceListingPayloadData} */
1307
1423
  static InvoiceListingPayloadData() {
1308
1424
  return Joi.object({
@@ -1339,6 +1455,7 @@ class FinancePlatformModel {
1339
1455
  return Joi.object({
1340
1456
  amount: Joi.string().allow(""),
1341
1457
  company: Joi.string().allow(""),
1458
+ currency: FinancePlatformModel.Currency(),
1342
1459
  due_date: Joi.string().allow(""),
1343
1460
  invoice_date: Joi.string().allow(""),
1344
1461
  invoice_id: Joi.string().allow(""),
@@ -1350,6 +1467,25 @@ class FinancePlatformModel {
1350
1467
  });
1351
1468
  }
1352
1469
 
1470
+ /** @returns {InvoicePaymentDetailsResponse} */
1471
+ static InvoicePaymentDetailsResponse() {
1472
+ return Joi.object({
1473
+ data: FinancePlatformModel.InvoicePaymentDetailsResponseData(),
1474
+ payment_details_visible: Joi.boolean(),
1475
+ success: Joi.boolean(),
1476
+ });
1477
+ }
1478
+
1479
+ /** @returns {InvoicePaymentDetailsResponseData} */
1480
+ static InvoicePaymentDetailsResponseData() {
1481
+ return Joi.object({
1482
+ failed_attempts_details: Joi.array().items(Joi.any()),
1483
+ paid_invoice_payment_details: Joi.array().items(
1484
+ FinancePlatformModel.PaidInvoicePaymentDetail()
1485
+ ),
1486
+ });
1487
+ }
1488
+
1353
1489
  /** @returns {InvoicePdfPayloadData} */
1354
1490
  static InvoicePdfPayloadData() {
1355
1491
  return Joi.object({
@@ -1474,6 +1610,23 @@ class FinancePlatformModel {
1474
1610
  });
1475
1611
  }
1476
1612
 
1613
+ /** @returns {PaidInvoicePaymentDetail} */
1614
+ static PaidInvoicePaymentDetail() {
1615
+ return Joi.object({
1616
+ amount: Joi.number(),
1617
+ date_of_payment: Joi.string().allow(""),
1618
+ payment_details: Joi.array().items(FinancePlatformModel.PaymentDetail()),
1619
+ });
1620
+ }
1621
+
1622
+ /** @returns {PaymentDetail} */
1623
+ static PaymentDetail() {
1624
+ return Joi.object({
1625
+ display_name: Joi.string().allow(""),
1626
+ value: Joi.string().allow(""),
1627
+ });
1628
+ }
1629
+
1477
1630
  /** @returns {PaymentProcessPayload} */
1478
1631
  static PaymentProcessPayload() {
1479
1632
  return Joi.object({
@@ -1544,6 +1697,39 @@ class FinancePlatformModel {
1544
1697
  });
1545
1698
  }
1546
1699
 
1700
+ /** @returns {UnlockCreditNoteRequest} */
1701
+ static UnlockCreditNoteRequest() {
1702
+ return Joi.object({
1703
+ data: FinancePlatformModel.UnlockCreditNoteRequestData(),
1704
+ });
1705
+ }
1706
+
1707
+ /** @returns {UnlockCreditNoteRequestData} */
1708
+ static UnlockCreditNoteRequestData() {
1709
+ return Joi.object({
1710
+ description: Joi.string().allow(""),
1711
+ locked_credit_notes: Joi.array().items(Joi.string().allow("")),
1712
+ seller_id: Joi.string().allow(""),
1713
+ unlock_reason: Joi.string().allow(""),
1714
+ });
1715
+ }
1716
+
1717
+ /** @returns {UnlockCreditNoteResponse} */
1718
+ static UnlockCreditNoteResponse() {
1719
+ return Joi.object({
1720
+ data: FinancePlatformModel.UnlockCreditNoteResponseData(),
1721
+ success: Joi.boolean(),
1722
+ });
1723
+ }
1724
+
1725
+ /** @returns {UnlockCreditNoteResponseData} */
1726
+ static UnlockCreditNoteResponseData() {
1727
+ return Joi.object({
1728
+ is_cn_unlocked: Joi.boolean(),
1729
+ status: Joi.string().allow(""),
1730
+ });
1731
+ }
1732
+
1547
1733
  /** @returns {UnpaidInvoiceDataItems} */
1548
1734
  static UnpaidInvoiceDataItems() {
1549
1735
  return Joi.object({
@@ -72,6 +72,11 @@ export = FinancePlatformValidator;
72
72
  * @property {string} filterKey - Filter type.
73
73
  * @property {string} [affiliateId] - Affiliate id.
74
74
  */
75
+ /**
76
+ * @typedef InvoiceActivityLogsParam
77
+ * @property {string} invoiceNumber - Invoice Number for which the data will be
78
+ * returned. Invoice_number is required.
79
+ */
75
80
  /**
76
81
  * @typedef InvoiceListingParam
77
82
  * @property {FinancePlatformModel.InvoiceListingRequest} body
@@ -80,6 +85,11 @@ export = FinancePlatformValidator;
80
85
  * @typedef InvoicePDFParam
81
86
  * @property {FinancePlatformModel.InvoicePdfRequest} body
82
87
  */
88
+ /**
89
+ * @typedef InvoicePaymentDetailsParam
90
+ * @property {string} invoiceNumber - Invoice Number for which the data will be
91
+ * returned.Invoice_Number is required.
92
+ */
83
93
  /**
84
94
  * @typedef InvoiceTypeParam
85
95
  * @property {FinancePlatformModel.InvoiceTypeRequest} body
@@ -96,6 +106,10 @@ export = FinancePlatformValidator;
96
106
  * @typedef PaymentProcessParam
97
107
  * @property {FinancePlatformModel.PaymentProcessRequest} body
98
108
  */
109
+ /**
110
+ * @typedef UnlockCreditNoteParam
111
+ * @property {FinancePlatformModel.UnlockCreditNoteRequest} body
112
+ */
99
113
  declare class FinancePlatformValidator {
100
114
  /** @returns {ChannelDisplayNameParam} */
101
115
  static channelDisplayName(): ChannelDisplayNameParam;
@@ -133,10 +147,14 @@ declare class FinancePlatformValidator {
133
147
  static getReportList(): GetReportListParam;
134
148
  /** @returns {GetReportingFiltersParam} */
135
149
  static getReportingFilters(): GetReportingFiltersParam;
150
+ /** @returns {InvoiceActivityLogsParam} */
151
+ static invoiceActivityLogs(): InvoiceActivityLogsParam;
136
152
  /** @returns {InvoiceListingParam} */
137
153
  static invoiceListing(): InvoiceListingParam;
138
154
  /** @returns {InvoicePDFParam} */
139
155
  static invoicePDF(): InvoicePDFParam;
156
+ /** @returns {InvoicePaymentDetailsParam} */
157
+ static invoicePaymentDetails(): InvoicePaymentDetailsParam;
140
158
  /** @returns {InvoiceTypeParam} */
141
159
  static invoiceType(): InvoiceTypeParam;
142
160
  /** @returns {IsCnRefundMethodParam} */
@@ -145,9 +163,11 @@ declare class FinancePlatformValidator {
145
163
  static isCreditlinePlatform(): IsCreditlinePlatformParam;
146
164
  /** @returns {PaymentProcessParam} */
147
165
  static paymentProcess(): PaymentProcessParam;
166
+ /** @returns {UnlockCreditNoteParam} */
167
+ static unlockCreditNote(): UnlockCreditNoteParam;
148
168
  }
149
169
  declare namespace FinancePlatformValidator {
150
- export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceListingParam, InvoicePDFParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, PaymentProcessParam };
170
+ export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceActivityLogsParam, InvoiceListingParam, InvoicePDFParam, InvoicePaymentDetailsParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, PaymentProcessParam, UnlockCreditNoteParam };
151
171
  }
152
172
  type ChannelDisplayNameParam = {
153
173
  /**
@@ -213,12 +233,26 @@ type GetReportingFiltersParam = {
213
233
  */
214
234
  affiliateId?: string;
215
235
  };
236
+ type InvoiceActivityLogsParam = {
237
+ /**
238
+ * - Invoice Number for which the data will be
239
+ * returned. Invoice_number is required.
240
+ */
241
+ invoiceNumber: string;
242
+ };
216
243
  type InvoiceListingParam = {
217
244
  body: FinancePlatformModel.InvoiceListingRequest;
218
245
  };
219
246
  type InvoicePDFParam = {
220
247
  body: FinancePlatformModel.InvoicePdfRequest;
221
248
  };
249
+ type InvoicePaymentDetailsParam = {
250
+ /**
251
+ * - Invoice Number for which the data will be
252
+ * returned.Invoice_Number is required.
253
+ */
254
+ invoiceNumber: string;
255
+ };
222
256
  type InvoiceTypeParam = {
223
257
  body: FinancePlatformModel.InvoiceTypeRequest;
224
258
  };
@@ -231,4 +265,7 @@ type IsCreditlinePlatformParam = {
231
265
  type PaymentProcessParam = {
232
266
  body: FinancePlatformModel.PaymentProcessRequest;
233
267
  };
268
+ type UnlockCreditNoteParam = {
269
+ body: FinancePlatformModel.UnlockCreditNoteRequest;
270
+ };
234
271
  import FinancePlatformModel = require("./FinancePlatformModel");