@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -3
  3. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  4. package/sdk/application/ApplicationAPIClient.js +0 -1
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
  6. package/sdk/application/Cart/CartApplicationClient.js +25 -25
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
  16. package/sdk/application/Content/ContentApplicationClient.js +10 -10
  17. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  18. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  19. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +7 -7
  23. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  24. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  25. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
  26. package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
  27. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
  28. package/sdk/application/Order/OrderApplicationClient.js +12 -12
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
  30. package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
  31. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  32. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  33. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  34. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  35. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +27 -27
  36. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  37. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
  38. package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
  39. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  40. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  41. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  42. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  44. package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  46. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  47. package/sdk/application/User/UserApplicationClient.d.ts +28 -28
  48. package/sdk/application/User/UserApplicationClient.js +28 -28
  49. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  50. package/sdk/application/User/UserApplicationModel.js +17 -13
  51. package/sdk/common/AxiosHelper.d.ts +1 -1
  52. package/sdk/common/AxiosHelper.js +38 -17
  53. package/sdk/common/Clickstream.js +22 -16
  54. package/sdk/common/curlHelper.js +1 -3
  55. package/sdk/common/utils.d.ts +15 -0
  56. package/sdk/common/utils.js +30 -0
  57. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
  58. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  59. package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
  60. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  63. package/sdk/partner/OAuthClient.d.ts +3 -3
  64. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  65. package/sdk/partner/PartnerAPIClient.js +0 -1
  66. package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
  67. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  68. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  69. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  72. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
  73. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
  74. package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
  75. package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
  76. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
  77. package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
  78. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
  79. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
  80. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
  81. package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
  82. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  83. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  84. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  85. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  86. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
  87. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
  88. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  89. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  90. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  91. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  92. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
  93. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
  94. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  95. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  96. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
  97. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
  98. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
  99. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
  100. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
  101. package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
  102. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
  103. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  104. package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
  105. package/sdk/platform/Content/ContentPlatformClient.js +9 -9
  106. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  107. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  108. package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
  109. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  110. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
  111. package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
  112. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
  113. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
  114. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  115. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
  116. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  117. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
  118. package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
  119. package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
  120. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
  121. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
  122. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  123. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  124. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  125. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  126. package/sdk/platform/OAuthClient.d.ts +3 -3
  127. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
  128. package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
  129. package/sdk/platform/Order/OrderPlatformClient.d.ts +41 -41
  130. package/sdk/platform/Order/OrderPlatformClient.js +41 -41
  131. package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
  132. package/sdk/platform/Order/OrderPlatformModel.js +8 -2
  133. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  134. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
  135. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
  136. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
  137. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
  138. package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
  139. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  140. package/sdk/platform/PlatformAPIClient.js +0 -1
  141. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
  142. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  143. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
  144. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
  145. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
  146. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
  147. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  148. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  149. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  150. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  151. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  152. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  153. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
  154. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
  155. package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
  156. package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
  157. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  158. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  159. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
  160. package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
  161. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  162. package/sdk/platform/User/UserPlatformModel.js +21 -13
  163. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
  164. package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
  165. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  166. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  167. package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
  168. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  169. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  170. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  171. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
  172. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  173. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  174. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  175. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  176. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  177. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  178. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  179. package/sdk/public/PublicAPIClient.d.ts +1 -1
  180. package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
  181. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
@@ -9,7 +9,7 @@ const FileStoragePlatformModel = require("./FileStoragePlatformModel");
9
9
  const { Logger } = require("./../../common/Logger");
10
10
  const Joi = require("joi");
11
11
 
12
- const axios = require("axios");
12
+ const { fdkAxios } = require("../../common/AxiosHelper.js");
13
13
 
14
14
  class FileStorage {
15
15
  constructor(config) {
@@ -22,7 +22,7 @@ class FileStorage {
22
22
  * @param {import("../PlatformAPIClient").Options} - Options
23
23
  * @returns {Promise<Object>} - Success response
24
24
  * @name browse
25
- * @summary: Browse files.
25
+ * @summary: Browse files
26
26
  * @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browse/).
27
27
  */
28
28
  async browse(
@@ -105,7 +105,7 @@ class FileStorage {
105
105
  * @param {import("../PlatformAPIClient").Options} - Options
106
106
  * @returns {Promise<FileStoragePlatformModel.CompleteResponse>} - Success response
107
107
  * @name completeUpload
108
- * @summary: Complete file upload.
108
+ * @summary: Complete file upload
109
109
  * @description: Starts the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/completeUpload/).
110
110
  */
111
111
  async completeUpload(
@@ -188,7 +188,7 @@ class FileStorage {
188
188
  * @param {import("../PlatformAPIClient").Options} - Options
189
189
  * @returns {Promise<Object>} - Success response
190
190
  * @name copyFiles
191
- * @summary: Copy files.
191
+ * @summary: Copy files
192
192
  * @description: Duplicate files to another location. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/copyFiles/).
193
193
  */
194
194
  async copyFiles(
@@ -268,7 +268,7 @@ class FileStorage {
268
268
  * @param {import("../PlatformAPIClient").Options} - Options
269
269
  * @returns {Promise<FileStoragePlatformModel.SignUrlResponse>} - Success response
270
270
  * @name getSignUrls
271
- * @summary: Get signed URLs.
271
+ * @summary: Get signed URLs
272
272
  * @description: Retrieve signed URLs for file access. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getSignUrls/).
273
273
  */
274
274
  async getSignUrls(
@@ -345,9 +345,9 @@ class FileStorage {
345
345
  * @param {FileStoragePlatformValidator.ProxyParam} arg - Arg object
346
346
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
347
347
  * @param {import("../PlatformAPIClient").Options} - Options
348
- * @returns {Promise<string>} - Success response
348
+ * @returns {Promise<FileStoragePlatformModel.ProxyResponse>} - Success response
349
349
  * @name proxy
350
- * @summary: Proxy file access.
350
+ * @summary: Proxy file access
351
351
  * @description: Access files through a proxy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/proxy/).
352
352
  */
353
353
  async proxy(
@@ -398,9 +398,12 @@ class FileStorage {
398
398
  responseData = response[0];
399
399
  }
400
400
 
401
- const { error: res_error } = Joi.string()
402
- .allow("")
403
- .validate(responseData, { abortEarly: false, allowUnknown: true });
401
+ const {
402
+ error: res_error,
403
+ } = FileStoragePlatformModel.ProxyResponse().validate(responseData, {
404
+ abortEarly: false,
405
+ allowUnknown: true,
406
+ });
404
407
 
405
408
  if (res_error) {
406
409
  if (this.config.options.strictResponseCheck === true) {
@@ -422,7 +425,7 @@ class FileStorage {
422
425
  * @param {import("../PlatformAPIClient").Options} - Options
423
426
  * @returns {Promise<FileStoragePlatformModel.StartResponse>} - Success response
424
427
  * @name startUpload
425
- * @summary: Start file upload.
428
+ * @summary: Start file upload
426
429
  * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/startUpload/).
427
430
  */
428
431
  async startUpload(
@@ -528,10 +531,16 @@ FileStorage.prototype.upload = function ({
528
531
  },
529
532
  });
530
533
  if (dataObj.upload && dataObj.upload.url) {
531
- await axios.put(dataObj.upload.url, data, {
534
+ let rawRequest = {
535
+ method: "PUT",
536
+ url: dataObj.upload.url,
537
+ data: data,
538
+ headers: {
539
+ "Content-Type": content_type,
540
+ },
532
541
  withCredentials: false,
533
- headers: { "Content-Type": content_type },
534
- });
542
+ };
543
+ await fdkAxios.request(rawRequest);
535
544
  } else {
536
545
  reject({ message: "Failed to upload file" });
537
546
  }
@@ -1,4 +1,9 @@
1
1
  export = FileStoragePlatformModel;
2
+ /**
3
+ * @typedef ProxyResponse
4
+ * @property {Object} [data]
5
+ * @property {Object} [support]
6
+ */
2
7
  /**
3
8
  * @typedef FailedResponse
4
9
  * @property {string} message
@@ -556,8 +561,14 @@ export = FileStoragePlatformModel;
556
561
  declare class FileStoragePlatformModel {
557
562
  }
558
563
  declare namespace FileStoragePlatformModel {
559
- export { FailedResponse, CDN, Upload, StartResponse, Params, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse, SignUrlRequest, InvoiceTypesDataResponse, InvoiceTypesResponse, ConversionRate, DeliveryPartnerDetail, Image, PaymentData, InvoiceDetail, CompanyDetail, StoreDetail, CustomerBillingDetail, CustomerShippingDetail, ReturnDetail, Brand, Cgst, Sgst, Igst, Tax, ItemsProductTable, ProductTable, Taxes, TaxTable, RegisteredCompanyDetail, Kwargs, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, KwargsUpiQrcode, UpiQrcodeGenerator, DigitalsignatureGenerator, KwargsAwbNumber, AwbNumberLabelBarcodeGenerator, AwbNumberBarcodeGenerator, MetaProperty, Meta, DummyTemplateDataPayload, DummyTemplateData, DummyTemplateDataItems, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PdfDefaultTemplateSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
564
+ export { ProxyResponse, FailedResponse, CDN, Upload, StartResponse, Params, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse, SignUrlRequest, InvoiceTypesDataResponse, InvoiceTypesResponse, ConversionRate, DeliveryPartnerDetail, Image, PaymentData, InvoiceDetail, CompanyDetail, StoreDetail, CustomerBillingDetail, CustomerShippingDetail, ReturnDetail, Brand, Cgst, Sgst, Igst, Tax, ItemsProductTable, ProductTable, Taxes, TaxTable, RegisteredCompanyDetail, Kwargs, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, KwargsUpiQrcode, UpiQrcodeGenerator, DigitalsignatureGenerator, KwargsAwbNumber, AwbNumberLabelBarcodeGenerator, AwbNumberBarcodeGenerator, MetaProperty, Meta, DummyTemplateDataPayload, DummyTemplateData, DummyTemplateDataItems, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PdfDefaultTemplateSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
560
565
  }
566
+ /** @returns {ProxyResponse} */
567
+ declare function ProxyResponse(): ProxyResponse;
568
+ type ProxyResponse = {
569
+ data?: any;
570
+ support?: any;
571
+ };
561
572
  /** @returns {FailedResponse} */
562
573
  declare function FailedResponse(): FailedResponse;
563
574
  type FailedResponse = {
@@ -1,5 +1,11 @@
1
1
  const Joi = require("joi");
2
2
 
3
+ /**
4
+ * @typedef ProxyResponse
5
+ * @property {Object} [data]
6
+ * @property {Object} [support]
7
+ */
8
+
3
9
  /**
4
10
  * @typedef FailedResponse
5
11
  * @property {string} message
@@ -621,6 +627,14 @@ const Joi = require("joi");
621
627
  */
622
628
 
623
629
  class FileStoragePlatformModel {
630
+ /** @returns {ProxyResponse} */
631
+ static ProxyResponse() {
632
+ return Joi.object({
633
+ data: Joi.object().pattern(/\S/, Joi.any()),
634
+ support: Joi.object().pattern(/\S/, Joi.any()),
635
+ });
636
+ }
637
+
624
638
  /** @returns {FailedResponse} */
625
639
  static FailedResponse() {
626
640
  return Joi.object({
@@ -9,7 +9,7 @@ declare class Finance {
9
9
  * @returns {Promise<FinancePlatformModel.ChannelDisplayNameResponse>} -
10
10
  * Success response
11
11
  * @name channelDisplayName
12
- * @summary: Get channel display name.
12
+ * @summary: Get channel display name
13
13
  * @description: Retrieve the display name for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/channelDisplayName/).
14
14
  */
15
15
  channelDisplayName({ filterKey, requestHeaders }?: FinancePlatformValidator.ChannelDisplayNameParam, { responseHeaders }?: object): Promise<FinancePlatformModel.ChannelDisplayNameResponse>;
@@ -23,7 +23,7 @@ declare class Finance {
23
23
  * - Success response
24
24
  *
25
25
  * @name createSellerCreditNoteConfig
26
- * @summary: Create seller credit note config.
26
+ * @summary: Create seller credit note config
27
27
  * @description: Set up configuration for seller credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/createSellerCreditNoteConfig/).
28
28
  */
29
29
  createSellerCreditNoteConfig({ body, requestHeaders }?: FinancePlatformValidator.CreateSellerCreditNoteConfigParam, { responseHeaders }?: object): Promise<FinancePlatformModel.CreateSellerCreditNoteConfigResponse>;
@@ -34,7 +34,7 @@ declare class Finance {
34
34
  * @returns {Promise<FinancePlatformModel.CreditNoteDetailsResponse>} -
35
35
  * Success response
36
36
  * @name creditNoteDetails
37
- * @summary: Get credit note details.
37
+ * @summary: Get credit note details
38
38
  * @description: Retrieve detailed information about a credit note. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/creditNoteDetails/).
39
39
  */
40
40
  creditNoteDetails({ body, requestHeaders }?: FinancePlatformValidator.CreditNoteDetailsParam, { responseHeaders }?: object): Promise<FinancePlatformModel.CreditNoteDetailsResponse>;
@@ -46,7 +46,7 @@ declare class Finance {
46
46
  * - Success response
47
47
  *
48
48
  * @name creditlineDataplatform
49
- * @summary: Access credit line data platform.
49
+ * @summary: Access credit line data platform
50
50
  * @description: Connect to the credit line data platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/creditlineDataplatform/).
51
51
  */
52
52
  creditlineDataplatform({ body, requestHeaders }?: FinancePlatformValidator.CreditlineDataplatformParam, { responseHeaders }?: object): Promise<FinancePlatformModel.CreditlineDataPlatformResponse>;
@@ -56,7 +56,7 @@ declare class Finance {
56
56
  * @param {import("../PlatformAPIClient").Options} - Options
57
57
  * @returns {Promise<FinancePlatformModel.DeleteConfigResponse>} - Success response
58
58
  * @name deleteConfig
59
- * @summary: Deletes credit note config.
59
+ * @summary: Deletes credit note config
60
60
  * @description: Deletes credit note config. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/deleteConfig/).
61
61
  */
62
62
  deleteConfig({ body, requestHeaders }?: FinancePlatformValidator.DeleteConfigParam, { responseHeaders }?: object): Promise<FinancePlatformModel.DeleteConfigResponse>;
@@ -68,7 +68,7 @@ declare class Finance {
68
68
  * - Success response
69
69
  *
70
70
  * @name downloadCreditDebitNote
71
- * @summary: Download credit/debit note.
71
+ * @summary: Download credit/debit note
72
72
  * @description: Retrieve and save credit/debit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadCreditDebitNote/).
73
73
  */
74
74
  downloadCreditDebitNote({ body, requestHeaders }?: FinancePlatformValidator.DownloadCreditDebitNoteParam, { responseHeaders }?: object): Promise<FinancePlatformModel.DownloadCreditDebitNoteResponse>;
@@ -78,7 +78,7 @@ declare class Finance {
78
78
  * @param {import("../PlatformAPIClient").Options} - Options
79
79
  * @returns {Promise<FinancePlatformModel.DownloadReportList>} - Success response
80
80
  * @name downloadReport
81
- * @summary: Download financial report.
81
+ * @summary: Download financial report
82
82
  * @description: Retrieve and save a financial report. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadReport/).
83
83
  */
84
84
  downloadReport({ body, requestHeaders }?: FinancePlatformValidator.DownloadReportParam, { responseHeaders }?: object): Promise<FinancePlatformModel.DownloadReportList>;
@@ -90,7 +90,7 @@ declare class Finance {
90
90
  * - Success response
91
91
  *
92
92
  * @name downloadReportCustomerCn
93
- * @summary: Download customer credit note report.
93
+ * @summary: Download customer credit note report
94
94
  * @description: Retrieve and save a report for customer credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadReportCustomerCn/).
95
95
  */
96
96
  downloadReportCustomerCn({ body, requestHeaders }?: FinancePlatformValidator.DownloadReportCustomerCnParam, { responseHeaders }?: object): Promise<FinancePlatformModel.DownloadReportCustomerCnResponse>;
@@ -100,7 +100,7 @@ declare class Finance {
100
100
  * @param {import("../PlatformAPIClient").Options} - Options
101
101
  * @returns {Promise<FinancePlatformModel.GenerateReportJson>} - Success response
102
102
  * @name generateReport
103
- * @summary: Generate financial report.
103
+ * @summary: Generate financial report
104
104
  * @description: Create a financial report with relevant data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/generateReport/).
105
105
  */
106
106
  generateReport({ body, requestHeaders }?: FinancePlatformValidator.GenerateReportParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GenerateReportJson>;
@@ -112,7 +112,7 @@ declare class Finance {
112
112
  * - Success response
113
113
  *
114
114
  * @name generateReportCustomerCn
115
- * @summary: Generate customer credit note report.
115
+ * @summary: Generate customer credit note report
116
116
  * @description: Create a report specifically for customer credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/generateReportCustomerCn/).
117
117
  */
118
118
  generateReportCustomerCn({ body, requestHeaders }?: FinancePlatformValidator.GenerateReportCustomerCnParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GenerateReportCustomerCnResponse>;
@@ -122,7 +122,7 @@ declare class Finance {
122
122
  * @param {import("../PlatformAPIClient").Options} - Options
123
123
  * @returns {Promise<FinancePlatformModel.GetAffiliateResponse>} - Success response
124
124
  * @name getAffiliate
125
- * @summary: Get affiliate details.
125
+ * @summary: Get affiliate details
126
126
  * @description: Retrieve information about an affiliate. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getAffiliate/).
127
127
  */
128
128
  getAffiliate({ body, requestHeaders }?: FinancePlatformValidator.GetAffiliateParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetAffiliateResponse>;
@@ -132,7 +132,7 @@ declare class Finance {
132
132
  * @param {import("../PlatformAPIClient").Options} - Options
133
133
  * @returns {Promise<FinancePlatformModel.GetCnConfigResponse>} - Success response
134
134
  * @name getCnConfig
135
- * @summary: Get credit note configuration.
135
+ * @summary: Get credit note configuration
136
136
  * @description: Retrieve configuration settings for credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getCnConfig/).
137
137
  */
138
138
  getCnConfig({ body, requestHeaders }?: FinancePlatformValidator.GetCnConfigParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetCnConfigResponse>;
@@ -144,7 +144,7 @@ declare class Finance {
144
144
  * - Success response
145
145
  *
146
146
  * @name getCustomerCreditBalance
147
- * @summary: Get customer credit balance.
147
+ * @summary: Get customer credit balance
148
148
  * @description: Retrieve the credit balance of a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getCustomerCreditBalance/).
149
149
  */
150
150
  getCustomerCreditBalance({ body, requestHeaders }?: FinancePlatformValidator.GetCustomerCreditBalanceParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetCustomerCreditBalanceResponse>;
@@ -154,7 +154,7 @@ declare class Finance {
154
154
  * @param {import("../PlatformAPIClient").Options} - Options
155
155
  * @returns {Promise<FinancePlatformModel.GetEngineResponse>} - Success response
156
156
  * @name getData
157
- * @summary: Get financial data.
157
+ * @summary: Get financial data
158
158
  * @description: Retrieve financial data for analysis. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getData/).
159
159
  */
160
160
  getData({ body, requestHeaders }?: FinancePlatformValidator.GetDataParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetEngineResponse>;
@@ -164,7 +164,7 @@ declare class Finance {
164
164
  * @param {import("../PlatformAPIClient").Options} - Options
165
165
  * @returns {Promise<FinancePlatformModel.GetPdfUrlViewResponse>} - Success response
166
166
  * @name getPdfUrlView
167
- * @summary: Get PDF URL view.
167
+ * @summary: Get PDF URL view
168
168
  * @description: Retrieve a URL to view a PDF document. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getPdfUrlView/).
169
169
  */
170
170
  getPdfUrlView({ body, requestHeaders }?: FinancePlatformValidator.GetPdfUrlViewParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetPdfUrlViewResponse>;
@@ -174,7 +174,7 @@ declare class Finance {
174
174
  * @param {import("../PlatformAPIClient").Options} - Options
175
175
  * @returns {Promise<FinancePlatformModel.GetReasonResponse>} - Success response
176
176
  * @name getReason
177
- * @summary: Get transaction reason.
177
+ * @summary: Get transaction reason
178
178
  * @description: Retrieve the reason behind a transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReason/).
179
179
  */
180
180
  getReason({ body, requestHeaders }?: FinancePlatformValidator.GetReasonParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetReasonResponse>;
@@ -184,7 +184,7 @@ declare class Finance {
184
184
  * @param {import("../PlatformAPIClient").Options} - Options
185
185
  * @returns {Promise<FinancePlatformModel.GetReportListResponse>} - Success response
186
186
  * @name getReportList
187
- * @summary: Get report list.
187
+ * @summary: Get report list
188
188
  * @description: Retrieve a list of available financial reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReportList/).
189
189
  */
190
190
  getReportList({ body, requestHeaders }?: FinancePlatformValidator.GetReportListParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetReportListResponse>;
@@ -195,7 +195,7 @@ declare class Finance {
195
195
  * @returns {Promise<FinancePlatformModel.GetReportingFiltersResponse>} -
196
196
  * Success response
197
197
  * @name getReportingFilters
198
- * @summary: Get reporting filters.
198
+ * @summary: Get reporting filters
199
199
  * @description: Retrieve available filters for financial reporting. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReportingFilters/).
200
200
  */
201
201
  getReportingFilters({ filterKey, affiliateId, requestHeaders }?: FinancePlatformValidator.GetReportingFiltersParam, { responseHeaders }?: object): Promise<FinancePlatformModel.GetReportingFiltersResponse>;
@@ -206,7 +206,7 @@ declare class Finance {
206
206
  * @returns {Promise<FinancePlatformModel.InvoiceActivityLogsResponse>} -
207
207
  * Success response
208
208
  * @name invoiceActivityLogs
209
- * @summary: Display activity log details of an invoice.
209
+ * @summary: Display activity log details of an invoice
210
210
  * @description: Display activity log details of invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceActivityLogs/).
211
211
  */
212
212
  invoiceActivityLogs({ invoiceNumber, requestHeaders }?: FinancePlatformValidator.InvoiceActivityLogsParam, { responseHeaders }?: object): Promise<FinancePlatformModel.InvoiceActivityLogsResponse>;
@@ -216,7 +216,7 @@ declare class Finance {
216
216
  * @param {import("../PlatformAPIClient").Options} - Options
217
217
  * @returns {Promise<FinancePlatformModel.InvoiceListingResponse>} - Success response
218
218
  * @name invoiceListing
219
- * @summary: Gives list of invoices.
219
+ * @summary: Gives list of invoices
220
220
  * @description: Gives list of invoices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceListing/).
221
221
  */
222
222
  invoiceListing({ body, requestHeaders }?: FinancePlatformValidator.InvoiceListingParam, { responseHeaders }?: object): Promise<FinancePlatformModel.InvoiceListingResponse>;
@@ -226,7 +226,7 @@ declare class Finance {
226
226
  * @param {import("../PlatformAPIClient").Options} - Options
227
227
  * @returns {Promise<FinancePlatformModel.InvoicePdfResponse>} - Success response
228
228
  * @name invoicePDF
229
- * @summary: Get invoice PDF.
229
+ * @summary: Get invoice PDF
230
230
  * @description: Retrieve the PDF version of an invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoicePDF/).
231
231
  */
232
232
  invoicePDF({ body, requestHeaders }?: FinancePlatformValidator.InvoicePDFParam, { responseHeaders }?: object): Promise<FinancePlatformModel.InvoicePdfResponse>;
@@ -237,7 +237,7 @@ declare class Finance {
237
237
  * @returns {Promise<FinancePlatformModel.InvoicePaymentDetailsResponse>} -
238
238
  * Success response
239
239
  * @name invoicePaymentDetails
240
- * @summary: Display payment details of an invoice.
240
+ * @summary: Display payment details of an invoice
241
241
  * @description: Display payment details of invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoicePaymentDetails/).
242
242
  */
243
243
  invoicePaymentDetails({ invoiceNumber, requestHeaders }?: FinancePlatformValidator.InvoicePaymentDetailsParam, { responseHeaders }?: object): Promise<FinancePlatformModel.InvoicePaymentDetailsResponse>;
@@ -247,7 +247,7 @@ declare class Finance {
247
247
  * @param {import("../PlatformAPIClient").Options} - Options
248
248
  * @returns {Promise<FinancePlatformModel.InvoiceTypeResponse>} - Success response
249
249
  * @name invoiceType
250
- * @summary: Get invoice types.
250
+ * @summary: Get invoice types
251
251
  * @description: Retrieve a list of available invoice types. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceType/).
252
252
  */
253
253
  invoiceType({ body, requestHeaders }?: FinancePlatformValidator.InvoiceTypeParam, { responseHeaders }?: object): Promise<FinancePlatformModel.InvoiceTypeResponse>;
@@ -258,7 +258,7 @@ declare class Finance {
258
258
  * @returns {Promise<FinancePlatformModel.IsCnRefundMethodResponse>} -
259
259
  * Success response
260
260
  * @name isCnRefundMethod
261
- * @summary: Check CN refund method.
261
+ * @summary: Check CN refund method
262
262
  * @description: Verify the refund method for credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/isCnRefundMethod/).
263
263
  */
264
264
  isCnRefundMethod({ body, requestHeaders }?: FinancePlatformValidator.IsCnRefundMethodParam, { responseHeaders }?: object): Promise<FinancePlatformModel.IsCnRefundMethodResponse>;
@@ -269,7 +269,7 @@ declare class Finance {
269
269
  * @returns {Promise<FinancePlatformModel.IsCreditlinePlatformResponse>} -
270
270
  * Success response
271
271
  * @name isCreditlinePlatform
272
- * @summary: Check credit line platform status.
272
+ * @summary: Check credit line platform status
273
273
  * @description: Determine if the credit line platform is operational. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/isCreditlinePlatform/).
274
274
  */
275
275
  isCreditlinePlatform({ body, requestHeaders }?: FinancePlatformValidator.IsCreditlinePlatformParam, { responseHeaders }?: object): Promise<FinancePlatformModel.IsCreditlinePlatformResponse>;
@@ -279,7 +279,7 @@ declare class Finance {
279
279
  * @param {import("../PlatformAPIClient").Options} - Options
280
280
  * @returns {Promise<FinancePlatformModel.PaymentProcessResponse>} - Success response
281
281
  * @name paymentProcess
282
- * @summary: Process payments.
282
+ * @summary: Process payments
283
283
  * @description: Initiate and manage payment processes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/paymentProcess/).
284
284
  */
285
285
  paymentProcess({ body, requestHeaders }?: FinancePlatformValidator.PaymentProcessParam, { responseHeaders }?: object): Promise<FinancePlatformModel.PaymentProcessResponse>;
@@ -290,7 +290,7 @@ declare class Finance {
290
290
  * @returns {Promise<FinancePlatformModel.UnlockCreditNoteResponse>} -
291
291
  * Success response
292
292
  * @name unlockCreditNote
293
- * @summary: Unlocks credit notes.
293
+ * @summary: Unlocks credit notes
294
294
  * @description: Used to unlock all request credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/unlockCreditNote/).
295
295
  */
296
296
  unlockCreditNote({ body, requestHeaders }?: FinancePlatformValidator.UnlockCreditNoteParam, { responseHeaders }?: object): Promise<FinancePlatformModel.UnlockCreditNoteResponse>;
@@ -21,7 +21,7 @@ class Finance {
21
21
  * @returns {Promise<FinancePlatformModel.ChannelDisplayNameResponse>} -
22
22
  * Success response
23
23
  * @name channelDisplayName
24
- * @summary: Get channel display name.
24
+ * @summary: Get channel display name
25
25
  * @description: Retrieve the display name for a channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/channelDisplayName/).
26
26
  */
27
27
  async channelDisplayName(
@@ -105,7 +105,7 @@ class Finance {
105
105
  * - Success response
106
106
  *
107
107
  * @name createSellerCreditNoteConfig
108
- * @summary: Create seller credit note config.
108
+ * @summary: Create seller credit note config
109
109
  * @description: Set up configuration for seller credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/createSellerCreditNoteConfig/).
110
110
  */
111
111
  async createSellerCreditNoteConfig(
@@ -187,7 +187,7 @@ class Finance {
187
187
  * @returns {Promise<FinancePlatformModel.CreditNoteDetailsResponse>} -
188
188
  * Success response
189
189
  * @name creditNoteDetails
190
- * @summary: Get credit note details.
190
+ * @summary: Get credit note details
191
191
  * @description: Retrieve detailed information about a credit note. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/creditNoteDetails/).
192
192
  */
193
193
  async creditNoteDetails(
@@ -268,7 +268,7 @@ class Finance {
268
268
  * - Success response
269
269
  *
270
270
  * @name creditlineDataplatform
271
- * @summary: Access credit line data platform.
271
+ * @summary: Access credit line data platform
272
272
  * @description: Connect to the credit line data platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/creditlineDataplatform/).
273
273
  */
274
274
  async creditlineDataplatform(
@@ -349,7 +349,7 @@ class Finance {
349
349
  * @param {import("../PlatformAPIClient").Options} - Options
350
350
  * @returns {Promise<FinancePlatformModel.DeleteConfigResponse>} - Success response
351
351
  * @name deleteConfig
352
- * @summary: Deletes credit note config.
352
+ * @summary: Deletes credit note config
353
353
  * @description: Deletes credit note config. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/deleteConfig/).
354
354
  */
355
355
  async deleteConfig(
@@ -430,7 +430,7 @@ class Finance {
430
430
  * - Success response
431
431
  *
432
432
  * @name downloadCreditDebitNote
433
- * @summary: Download credit/debit note.
433
+ * @summary: Download credit/debit note
434
434
  * @description: Retrieve and save credit/debit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadCreditDebitNote/).
435
435
  */
436
436
  async downloadCreditDebitNote(
@@ -511,7 +511,7 @@ class Finance {
511
511
  * @param {import("../PlatformAPIClient").Options} - Options
512
512
  * @returns {Promise<FinancePlatformModel.DownloadReportList>} - Success response
513
513
  * @name downloadReport
514
- * @summary: Download financial report.
514
+ * @summary: Download financial report
515
515
  * @description: Retrieve and save a financial report. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadReport/).
516
516
  */
517
517
  async downloadReport(
@@ -592,7 +592,7 @@ class Finance {
592
592
  * - Success response
593
593
  *
594
594
  * @name downloadReportCustomerCn
595
- * @summary: Download customer credit note report.
595
+ * @summary: Download customer credit note report
596
596
  * @description: Retrieve and save a report for customer credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/downloadReportCustomerCn/).
597
597
  */
598
598
  async downloadReportCustomerCn(
@@ -673,7 +673,7 @@ class Finance {
673
673
  * @param {import("../PlatformAPIClient").Options} - Options
674
674
  * @returns {Promise<FinancePlatformModel.GenerateReportJson>} - Success response
675
675
  * @name generateReport
676
- * @summary: Generate financial report.
676
+ * @summary: Generate financial report
677
677
  * @description: Create a financial report with relevant data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/generateReport/).
678
678
  */
679
679
  async generateReport(
@@ -754,7 +754,7 @@ class Finance {
754
754
  * - Success response
755
755
  *
756
756
  * @name generateReportCustomerCn
757
- * @summary: Generate customer credit note report.
757
+ * @summary: Generate customer credit note report
758
758
  * @description: Create a report specifically for customer credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/generateReportCustomerCn/).
759
759
  */
760
760
  async generateReportCustomerCn(
@@ -835,7 +835,7 @@ class Finance {
835
835
  * @param {import("../PlatformAPIClient").Options} - Options
836
836
  * @returns {Promise<FinancePlatformModel.GetAffiliateResponse>} - Success response
837
837
  * @name getAffiliate
838
- * @summary: Get affiliate details.
838
+ * @summary: Get affiliate details
839
839
  * @description: Retrieve information about an affiliate. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getAffiliate/).
840
840
  */
841
841
  async getAffiliate(
@@ -914,7 +914,7 @@ class Finance {
914
914
  * @param {import("../PlatformAPIClient").Options} - Options
915
915
  * @returns {Promise<FinancePlatformModel.GetCnConfigResponse>} - Success response
916
916
  * @name getCnConfig
917
- * @summary: Get credit note configuration.
917
+ * @summary: Get credit note configuration
918
918
  * @description: Retrieve configuration settings for credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getCnConfig/).
919
919
  */
920
920
  async getCnConfig(
@@ -993,7 +993,7 @@ class Finance {
993
993
  * - Success response
994
994
  *
995
995
  * @name getCustomerCreditBalance
996
- * @summary: Get customer credit balance.
996
+ * @summary: Get customer credit balance
997
997
  * @description: Retrieve the credit balance of a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getCustomerCreditBalance/).
998
998
  */
999
999
  async getCustomerCreditBalance(
@@ -1074,7 +1074,7 @@ class Finance {
1074
1074
  * @param {import("../PlatformAPIClient").Options} - Options
1075
1075
  * @returns {Promise<FinancePlatformModel.GetEngineResponse>} - Success response
1076
1076
  * @name getData
1077
- * @summary: Get financial data.
1077
+ * @summary: Get financial data
1078
1078
  * @description: Retrieve financial data for analysis. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getData/).
1079
1079
  */
1080
1080
  async getData(
@@ -1151,7 +1151,7 @@ class Finance {
1151
1151
  * @param {import("../PlatformAPIClient").Options} - Options
1152
1152
  * @returns {Promise<FinancePlatformModel.GetPdfUrlViewResponse>} - Success response
1153
1153
  * @name getPdfUrlView
1154
- * @summary: Get PDF URL view.
1154
+ * @summary: Get PDF URL view
1155
1155
  * @description: Retrieve a URL to view a PDF document. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getPdfUrlView/).
1156
1156
  */
1157
1157
  async getPdfUrlView(
@@ -1230,7 +1230,7 @@ class Finance {
1230
1230
  * @param {import("../PlatformAPIClient").Options} - Options
1231
1231
  * @returns {Promise<FinancePlatformModel.GetReasonResponse>} - Success response
1232
1232
  * @name getReason
1233
- * @summary: Get transaction reason.
1233
+ * @summary: Get transaction reason
1234
1234
  * @description: Retrieve the reason behind a transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReason/).
1235
1235
  */
1236
1236
  async getReason(
@@ -1307,7 +1307,7 @@ class Finance {
1307
1307
  * @param {import("../PlatformAPIClient").Options} - Options
1308
1308
  * @returns {Promise<FinancePlatformModel.GetReportListResponse>} - Success response
1309
1309
  * @name getReportList
1310
- * @summary: Get report list.
1310
+ * @summary: Get report list
1311
1311
  * @description: Retrieve a list of available financial reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReportList/).
1312
1312
  */
1313
1313
  async getReportList(
@@ -1387,7 +1387,7 @@ class Finance {
1387
1387
  * @returns {Promise<FinancePlatformModel.GetReportingFiltersResponse>} -
1388
1388
  * Success response
1389
1389
  * @name getReportingFilters
1390
- * @summary: Get reporting filters.
1390
+ * @summary: Get reporting filters
1391
1391
  * @description: Retrieve available filters for financial reporting. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/getReportingFilters/).
1392
1392
  */
1393
1393
  async getReportingFilters(
@@ -1471,7 +1471,7 @@ class Finance {
1471
1471
  * @returns {Promise<FinancePlatformModel.InvoiceActivityLogsResponse>} -
1472
1472
  * Success response
1473
1473
  * @name invoiceActivityLogs
1474
- * @summary: Display activity log details of an invoice.
1474
+ * @summary: Display activity log details of an invoice
1475
1475
  * @description: Display activity log details of invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceActivityLogs/).
1476
1476
  */
1477
1477
  async invoiceActivityLogs(
@@ -1550,7 +1550,7 @@ class Finance {
1550
1550
  * @param {import("../PlatformAPIClient").Options} - Options
1551
1551
  * @returns {Promise<FinancePlatformModel.InvoiceListingResponse>} - Success response
1552
1552
  * @name invoiceListing
1553
- * @summary: Gives list of invoices.
1553
+ * @summary: Gives list of invoices
1554
1554
  * @description: Gives list of invoices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceListing/).
1555
1555
  */
1556
1556
  async invoiceListing(
@@ -1629,7 +1629,7 @@ class Finance {
1629
1629
  * @param {import("../PlatformAPIClient").Options} - Options
1630
1630
  * @returns {Promise<FinancePlatformModel.InvoicePdfResponse>} - Success response
1631
1631
  * @name invoicePDF
1632
- * @summary: Get invoice PDF.
1632
+ * @summary: Get invoice PDF
1633
1633
  * @description: Retrieve the PDF version of an invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoicePDF/).
1634
1634
  */
1635
1635
  async invoicePDF(
@@ -1707,7 +1707,7 @@ class Finance {
1707
1707
  * @returns {Promise<FinancePlatformModel.InvoicePaymentDetailsResponse>} -
1708
1708
  * Success response
1709
1709
  * @name invoicePaymentDetails
1710
- * @summary: Display payment details of an invoice.
1710
+ * @summary: Display payment details of an invoice
1711
1711
  * @description: Display payment details of invoice. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoicePaymentDetails/).
1712
1712
  */
1713
1713
  async invoicePaymentDetails(
@@ -1786,7 +1786,7 @@ class Finance {
1786
1786
  * @param {import("../PlatformAPIClient").Options} - Options
1787
1787
  * @returns {Promise<FinancePlatformModel.InvoiceTypeResponse>} - Success response
1788
1788
  * @name invoiceType
1789
- * @summary: Get invoice types.
1789
+ * @summary: Get invoice types
1790
1790
  * @description: Retrieve a list of available invoice types. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/invoiceType/).
1791
1791
  */
1792
1792
  async invoiceType(
@@ -1864,7 +1864,7 @@ class Finance {
1864
1864
  * @returns {Promise<FinancePlatformModel.IsCnRefundMethodResponse>} -
1865
1865
  * Success response
1866
1866
  * @name isCnRefundMethod
1867
- * @summary: Check CN refund method.
1867
+ * @summary: Check CN refund method
1868
1868
  * @description: Verify the refund method for credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/isCnRefundMethod/).
1869
1869
  */
1870
1870
  async isCnRefundMethod(
@@ -1944,7 +1944,7 @@ class Finance {
1944
1944
  * @returns {Promise<FinancePlatformModel.IsCreditlinePlatformResponse>} -
1945
1945
  * Success response
1946
1946
  * @name isCreditlinePlatform
1947
- * @summary: Check credit line platform status.
1947
+ * @summary: Check credit line platform status
1948
1948
  * @description: Determine if the credit line platform is operational. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/isCreditlinePlatform/).
1949
1949
  */
1950
1950
  async isCreditlinePlatform(
@@ -2023,7 +2023,7 @@ class Finance {
2023
2023
  * @param {import("../PlatformAPIClient").Options} - Options
2024
2024
  * @returns {Promise<FinancePlatformModel.PaymentProcessResponse>} - Success response
2025
2025
  * @name paymentProcess
2026
- * @summary: Process payments.
2026
+ * @summary: Process payments
2027
2027
  * @description: Initiate and manage payment processes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/paymentProcess/).
2028
2028
  */
2029
2029
  async paymentProcess(
@@ -2103,7 +2103,7 @@ class Finance {
2103
2103
  * @returns {Promise<FinancePlatformModel.UnlockCreditNoteResponse>} -
2104
2104
  * Success response
2105
2105
  * @name unlockCreditNote
2106
- * @summary: Unlocks credit notes.
2106
+ * @summary: Unlocks credit notes
2107
2107
  * @description: Used to unlock all request credit notes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/finance/unlockCreditNote/).
2108
2108
  */
2109
2109
  async unlockCreditNote(