@gofynd/fdk-client-javascript 1.4.7 → 1.4.8-beta.2

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 (110) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +16 -3
  4. package/sdk/application/Cart/CartApplicationClient.js +118 -13
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +121 -45
  6. package/sdk/application/Cart/CartApplicationModel.js +98 -26
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +45 -1
  8. package/sdk/application/Cart/CartApplicationValidator.js +26 -0
  9. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +4 -2
  10. package/sdk/application/Catalog/CatalogApplicationModel.js +4 -2
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +1 -1
  12. package/sdk/application/Content/ContentApplicationClient.js +5 -3
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -18
  14. package/sdk/application/Content/ContentApplicationModel.js +4 -20
  15. package/sdk/application/Content/ContentApplicationValidator.d.ts +10 -0
  16. package/sdk/application/Content/ContentApplicationValidator.js +4 -0
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +0 -27
  18. package/sdk/application/Lead/LeadApplicationClient.js +0 -167
  19. package/sdk/application/Lead/LeadApplicationModel.d.ts +1 -146
  20. package/sdk/application/Lead/LeadApplicationModel.js +0 -126
  21. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -25
  22. package/sdk/application/Lead/LeadApplicationValidator.js +0 -24
  23. package/sdk/application/Logistic/LogisticApplicationClient.js +1 -1
  24. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +2 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.js +2 -0
  26. package/sdk/application/Order/OrderApplicationModel.d.ts +2 -0
  27. package/sdk/application/Order/OrderApplicationModel.js +2 -0
  28. package/sdk/application/Payment/PaymentApplicationModel.d.ts +9 -2
  29. package/sdk/application/Payment/PaymentApplicationModel.js +5 -2
  30. package/sdk/application/Theme/ThemeApplicationModel.d.ts +2 -0
  31. package/sdk/application/Theme/ThemeApplicationModel.js +2 -0
  32. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -23
  33. package/sdk/partner/Lead/LeadPartnerClient.js +0 -157
  34. package/sdk/partner/Lead/LeadPartnerModel.d.ts +12 -581
  35. package/sdk/partner/Lead/LeadPartnerModel.js +14 -403
  36. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -2
  37. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -12
  38. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1 -1
  39. package/sdk/partner/Logistics/LogisticsPartnerModel.js +4 -4
  40. package/sdk/partner/Theme/ThemePartnerClient.d.ts +22 -0
  41. package/sdk/partner/Theme/ThemePartnerClient.js +162 -0
  42. package/sdk/partner/Theme/ThemePartnerModel.d.ts +119 -1
  43. package/sdk/partner/Theme/ThemePartnerModel.js +142 -0
  44. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  45. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  46. package/sdk/platform/Billing/BillingPlatformClient.d.ts +304 -43
  47. package/sdk/platform/Billing/BillingPlatformClient.js +2218 -118
  48. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1330 -282
  49. package/sdk/platform/Billing/BillingPlatformModel.js +1808 -590
  50. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +324 -16
  51. package/sdk/platform/Billing/BillingPlatformValidator.js +340 -12
  52. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +28 -5
  53. package/sdk/platform/Cart/CartPlatformApplicationClient.js +198 -5
  54. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +81 -1
  55. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +48 -0
  56. package/sdk/platform/Cart/CartPlatformModel.d.ts +214 -40
  57. package/sdk/platform/Cart/CartPlatformModel.js +164 -24
  58. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  59. package/sdk/platform/Catalog/CatalogPlatformClient.js +18 -2
  60. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
  61. package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
  62. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +28 -0
  63. package/sdk/platform/Catalog/CatalogPlatformValidator.js +12 -0
  64. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +1 -1
  65. package/sdk/platform/Content/ContentPlatformApplicationClient.js +18 -1
  66. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +25 -0
  67. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +10 -0
  68. package/sdk/platform/Content/ContentPlatformModel.d.ts +6 -4
  69. package/sdk/platform/Content/ContentPlatformModel.js +6 -4
  70. package/sdk/platform/Finance/FinancePlatformClient.d.ts +49 -28
  71. package/sdk/platform/Finance/FinancePlatformClient.js +181 -28
  72. package/sdk/platform/Finance/FinancePlatformModel.d.ts +350 -127
  73. package/sdk/platform/Finance/FinancePlatformModel.js +378 -108
  74. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +56 -43
  75. package/sdk/platform/Finance/FinancePlatformValidator.js +61 -42
  76. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +0 -47
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +0 -321
  78. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -46
  79. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +0 -48
  80. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -25
  81. package/sdk/platform/Lead/LeadPlatformClient.js +2 -167
  82. package/sdk/platform/Lead/LeadPlatformModel.d.ts +82 -204
  83. package/sdk/platform/Lead/LeadPlatformModel.js +98 -178
  84. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -25
  85. package/sdk/platform/Lead/LeadPlatformValidator.js +0 -24
  86. package/sdk/platform/Order/OrderPlatformModel.d.ts +108 -15
  87. package/sdk/platform/Order/OrderPlatformModel.js +47 -14
  88. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -0
  89. package/sdk/platform/Payment/PaymentPlatformModel.js +5 -0
  90. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -4
  91. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +12 -0
  92. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +82 -0
  93. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -1
  94. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +14 -0
  95. package/sdk/platform/Theme/ThemePlatformModel.d.ts +67 -1
  96. package/sdk/platform/Theme/ThemePlatformModel.js +78 -0
  97. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +0 -40
  98. package/sdk/platform/Webhook/WebhookPlatformClient.js +0 -307
  99. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +112 -164
  100. package/sdk/platform/Webhook/WebhookPlatformModel.js +118 -169
  101. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +9 -35
  102. package/sdk/platform/Webhook/WebhookPlatformValidator.js +8 -46
  103. package/sdk/public/Billing/BillingPublicClient.d.ts +24 -2
  104. package/sdk/public/Billing/BillingPublicClient.js +156 -3
  105. package/sdk/public/Billing/BillingPublicModel.d.ts +368 -26
  106. package/sdk/public/Billing/BillingPublicModel.js +317 -18
  107. package/sdk/public/Billing/BillingPublicValidator.d.ts +19 -3
  108. package/sdk/public/Billing/BillingPublicValidator.js +22 -3
  109. package/sdk/public/Webhook/WebhookPublicModel.d.ts +22 -22
  110. package/sdk/public/Webhook/WebhookPublicModel.js +22 -22
@@ -5,23 +5,23 @@ export = FinancePlatformValidator;
5
5
  */
6
6
  /**
7
7
  * @typedef CreateSellerCreditNoteConfigParam
8
- * @property {FinancePlatformModel.CreateSellerCreditNoteConfigRequest} body
8
+ * @property {FinancePlatformModel.CreateSellerCreditNoteConfigReq} body
9
9
  */
10
10
  /**
11
11
  * @typedef CreditNoteDetailsParam
12
- * @property {FinancePlatformModel.CreditNoteDetailsRequest} body
12
+ * @property {FinancePlatformModel.CreditNoteDetailsReq} body
13
13
  */
14
14
  /**
15
15
  * @typedef CreditlineDataplatformParam
16
- * @property {FinancePlatformModel.CreditlineDataPlatformRequest} body
16
+ * @property {FinancePlatformModel.CreditlineDataPlatformReq} body
17
17
  */
18
18
  /**
19
19
  * @typedef DeleteConfigParam
20
- * @property {FinancePlatformModel.DeleteConfigRequest} body
20
+ * @property {FinancePlatformModel.DeleteConfigReq} body
21
21
  */
22
22
  /**
23
23
  * @typedef DownloadCreditDebitNoteParam
24
- * @property {FinancePlatformModel.DownloadCreditDebitNoteRequest} body
24
+ * @property {FinancePlatformModel.DownloadCreditDebitNoteReq} body
25
25
  */
26
26
  /**
27
27
  * @typedef DownloadReportParam
@@ -29,15 +29,15 @@ export = FinancePlatformValidator;
29
29
  */
30
30
  /**
31
31
  * @typedef DownloadReportCustomerCnParam
32
- * @property {FinancePlatformModel.DownloadReportCustomerCnRequest} body
32
+ * @property {FinancePlatformModel.DownloadReportCustomerCnReq} body
33
33
  */
34
34
  /**
35
35
  * @typedef GenerateReportParam
36
- * @property {FinancePlatformModel.GenerateReportRequest} body
36
+ * @property {FinancePlatformModel.GenerateReportReq} body
37
37
  */
38
38
  /**
39
39
  * @typedef GenerateReportCustomerCnParam
40
- * @property {FinancePlatformModel.GenerateReportCustomerCnRequest} body
40
+ * @property {FinancePlatformModel.GenerateReportCustomerCnReq} body
41
41
  */
42
42
  /**
43
43
  * @typedef GetAffiliateParam
@@ -45,27 +45,27 @@ export = FinancePlatformValidator;
45
45
  */
46
46
  /**
47
47
  * @typedef GetCnConfigParam
48
- * @property {FinancePlatformModel.GetCnConfigRequest} body
48
+ * @property {FinancePlatformModel.GetCnConfigReq} body
49
49
  */
50
50
  /**
51
51
  * @typedef GetCustomerCreditBalanceParam
52
- * @property {FinancePlatformModel.GetCustomerCreditBalanceRequest} body
52
+ * @property {FinancePlatformModel.GetCustomerCreditBalanceReq} body
53
53
  */
54
54
  /**
55
55
  * @typedef GetDataParam
56
- * @property {FinancePlatformModel.GetEngineRequest} body
56
+ * @property {FinancePlatformModel.GetEngineReq} body
57
57
  */
58
58
  /**
59
59
  * @typedef GetPdfUrlViewParam
60
- * @property {FinancePlatformModel.GetPdfUrlViewRequest} body
60
+ * @property {FinancePlatformModel.GetPdfUrlViewReq} body
61
61
  */
62
62
  /**
63
63
  * @typedef GetReasonParam
64
- * @property {FinancePlatformModel.GetReasonRequest} body
64
+ * @property {FinancePlatformModel.GetReasonReq} body
65
65
  */
66
66
  /**
67
67
  * @typedef GetReportListParam
68
- * @property {FinancePlatformModel.GetReportListRequest} body
68
+ * @property {FinancePlatformModel.GetReportListReq} body
69
69
  */
70
70
  /**
71
71
  * @typedef GetReportingFiltersParam
@@ -79,36 +79,41 @@ export = FinancePlatformValidator;
79
79
  */
80
80
  /**
81
81
  * @typedef InvoiceListingParam
82
- * @property {FinancePlatformModel.InvoiceListingRequest} body
82
+ * @property {FinancePlatformModel.InvoiceListingReq} body
83
83
  */
84
84
  /**
85
85
  * @typedef InvoicePDFParam
86
- * @property {FinancePlatformModel.InvoicePdfRequest} body
86
+ * @property {FinancePlatformModel.InvoicePdfReq} body
87
87
  */
88
88
  /**
89
89
  * @typedef InvoicePaymentDetailsParam
90
90
  * @property {string} invoiceNumber - Invoice Number for which the data will be
91
91
  * returned.Invoice_Number is required.
92
92
  */
93
+ /**
94
+ * @typedef InvoicePaymentOptionsParam
95
+ * @property {FinancePlatformModel.InvoicePaymentOptionsReq} body
96
+ */
93
97
  /**
94
98
  * @typedef InvoiceTypeParam
95
- * @property {FinancePlatformModel.InvoiceTypeRequest} body
99
+ * @property {FinancePlatformModel.InvoiceTypeReq} body
96
100
  */
97
101
  /**
98
102
  * @typedef IsCnRefundMethodParam
99
- * @property {FinancePlatformModel.IsCnRefundMethodRequest} body
103
+ * @property {FinancePlatformModel.IsCnRefundMethodReq} body
100
104
  */
101
105
  /**
102
106
  * @typedef IsCreditlinePlatformParam
103
- * @property {FinancePlatformModel.IsCreditlinePlatformRequest} body
107
+ * @property {FinancePlatformModel.IsCreditlinePlatformReq} body
104
108
  */
109
+ /** @typedef OrderFreezeParam */
105
110
  /**
106
111
  * @typedef PaymentProcessParam
107
- * @property {FinancePlatformModel.PaymentProcessRequest} body
112
+ * @property {FinancePlatformModel.PaymentProcessReq} body
108
113
  */
109
114
  /**
110
115
  * @typedef UnlockCreditNoteParam
111
- * @property {FinancePlatformModel.UnlockCreditNoteRequest} body
116
+ * @property {FinancePlatformModel.UnlockCreditNoteReq} body
112
117
  */
113
118
  declare class FinancePlatformValidator {
114
119
  /** @returns {ChannelDisplayNameParam} */
@@ -155,19 +160,23 @@ declare class FinancePlatformValidator {
155
160
  static invoicePDF(): InvoicePDFParam;
156
161
  /** @returns {InvoicePaymentDetailsParam} */
157
162
  static invoicePaymentDetails(): InvoicePaymentDetailsParam;
163
+ /** @returns {InvoicePaymentOptionsParam} */
164
+ static invoicePaymentOptions(): InvoicePaymentOptionsParam;
158
165
  /** @returns {InvoiceTypeParam} */
159
166
  static invoiceType(): InvoiceTypeParam;
160
167
  /** @returns {IsCnRefundMethodParam} */
161
168
  static isCnRefundMethod(): IsCnRefundMethodParam;
162
169
  /** @returns {IsCreditlinePlatformParam} */
163
170
  static isCreditlinePlatform(): IsCreditlinePlatformParam;
171
+ /** @returns {OrderFreezeParam} */
172
+ static orderFreeze(): any;
164
173
  /** @returns {PaymentProcessParam} */
165
174
  static paymentProcess(): PaymentProcessParam;
166
175
  /** @returns {UnlockCreditNoteParam} */
167
176
  static unlockCreditNote(): UnlockCreditNoteParam;
168
177
  }
169
178
  declare namespace FinancePlatformValidator {
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 };
179
+ export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceActivityLogsParam, InvoiceListingParam, InvoicePDFParam, InvoicePaymentDetailsParam, InvoicePaymentOptionsParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, OrderFreezeParam, PaymentProcessParam, UnlockCreditNoteParam };
171
180
  }
172
181
  type ChannelDisplayNameParam = {
173
182
  /**
@@ -176,52 +185,52 @@ type ChannelDisplayNameParam = {
176
185
  filterKey: string;
177
186
  };
178
187
  type CreateSellerCreditNoteConfigParam = {
179
- body: FinancePlatformModel.CreateSellerCreditNoteConfigRequest;
188
+ body: FinancePlatformModel.CreateSellerCreditNoteConfigReq;
180
189
  };
181
190
  type CreditNoteDetailsParam = {
182
- body: FinancePlatformModel.CreditNoteDetailsRequest;
191
+ body: FinancePlatformModel.CreditNoteDetailsReq;
183
192
  };
184
193
  type CreditlineDataplatformParam = {
185
- body: FinancePlatformModel.CreditlineDataPlatformRequest;
194
+ body: FinancePlatformModel.CreditlineDataPlatformReq;
186
195
  };
187
196
  type DeleteConfigParam = {
188
- body: FinancePlatformModel.DeleteConfigRequest;
197
+ body: FinancePlatformModel.DeleteConfigReq;
189
198
  };
190
199
  type DownloadCreditDebitNoteParam = {
191
- body: FinancePlatformModel.DownloadCreditDebitNoteRequest;
200
+ body: FinancePlatformModel.DownloadCreditDebitNoteReq;
192
201
  };
193
202
  type DownloadReportParam = {
194
203
  body: FinancePlatformModel.DownloadReport;
195
204
  };
196
205
  type DownloadReportCustomerCnParam = {
197
- body: FinancePlatformModel.DownloadReportCustomerCnRequest;
206
+ body: FinancePlatformModel.DownloadReportCustomerCnReq;
198
207
  };
199
208
  type GenerateReportParam = {
200
- body: FinancePlatformModel.GenerateReportRequest;
209
+ body: FinancePlatformModel.GenerateReportReq;
201
210
  };
202
211
  type GenerateReportCustomerCnParam = {
203
- body: FinancePlatformModel.GenerateReportCustomerCnRequest;
212
+ body: FinancePlatformModel.GenerateReportCustomerCnReq;
204
213
  };
205
214
  type GetAffiliateParam = {
206
215
  body: FinancePlatformModel.GetAffiliate;
207
216
  };
208
217
  type GetCnConfigParam = {
209
- body: FinancePlatformModel.GetCnConfigRequest;
218
+ body: FinancePlatformModel.GetCnConfigReq;
210
219
  };
211
220
  type GetCustomerCreditBalanceParam = {
212
- body: FinancePlatformModel.GetCustomerCreditBalanceRequest;
221
+ body: FinancePlatformModel.GetCustomerCreditBalanceReq;
213
222
  };
214
223
  type GetDataParam = {
215
- body: FinancePlatformModel.GetEngineRequest;
224
+ body: FinancePlatformModel.GetEngineReq;
216
225
  };
217
226
  type GetPdfUrlViewParam = {
218
- body: FinancePlatformModel.GetPdfUrlViewRequest;
227
+ body: FinancePlatformModel.GetPdfUrlViewReq;
219
228
  };
220
229
  type GetReasonParam = {
221
- body: FinancePlatformModel.GetReasonRequest;
230
+ body: FinancePlatformModel.GetReasonReq;
222
231
  };
223
232
  type GetReportListParam = {
224
- body: FinancePlatformModel.GetReportListRequest;
233
+ body: FinancePlatformModel.GetReportListReq;
225
234
  };
226
235
  type GetReportingFiltersParam = {
227
236
  /**
@@ -241,10 +250,10 @@ type InvoiceActivityLogsParam = {
241
250
  invoiceNumber: string;
242
251
  };
243
252
  type InvoiceListingParam = {
244
- body: FinancePlatformModel.InvoiceListingRequest;
253
+ body: FinancePlatformModel.InvoiceListingReq;
245
254
  };
246
255
  type InvoicePDFParam = {
247
- body: FinancePlatformModel.InvoicePdfRequest;
256
+ body: FinancePlatformModel.InvoicePdfReq;
248
257
  };
249
258
  type InvoicePaymentDetailsParam = {
250
259
  /**
@@ -253,19 +262,23 @@ type InvoicePaymentDetailsParam = {
253
262
  */
254
263
  invoiceNumber: string;
255
264
  };
265
+ type InvoicePaymentOptionsParam = {
266
+ body: FinancePlatformModel.InvoicePaymentOptionsReq;
267
+ };
256
268
  type InvoiceTypeParam = {
257
- body: FinancePlatformModel.InvoiceTypeRequest;
269
+ body: FinancePlatformModel.InvoiceTypeReq;
258
270
  };
259
271
  type IsCnRefundMethodParam = {
260
- body: FinancePlatformModel.IsCnRefundMethodRequest;
272
+ body: FinancePlatformModel.IsCnRefundMethodReq;
261
273
  };
262
274
  type IsCreditlinePlatformParam = {
263
- body: FinancePlatformModel.IsCreditlinePlatformRequest;
275
+ body: FinancePlatformModel.IsCreditlinePlatformReq;
264
276
  };
265
277
  type PaymentProcessParam = {
266
- body: FinancePlatformModel.PaymentProcessRequest;
278
+ body: FinancePlatformModel.PaymentProcessReq;
267
279
  };
268
280
  type UnlockCreditNoteParam = {
269
- body: FinancePlatformModel.UnlockCreditNoteRequest;
281
+ body: FinancePlatformModel.UnlockCreditNoteReq;
270
282
  };
283
+ type OrderFreezeParam = any;
271
284
  import FinancePlatformModel = require("./FinancePlatformModel");
@@ -9,27 +9,27 @@ const FinancePlatformModel = require("./FinancePlatformModel");
9
9
 
10
10
  /**
11
11
  * @typedef CreateSellerCreditNoteConfigParam
12
- * @property {FinancePlatformModel.CreateSellerCreditNoteConfigRequest} body
12
+ * @property {FinancePlatformModel.CreateSellerCreditNoteConfigReq} body
13
13
  */
14
14
 
15
15
  /**
16
16
  * @typedef CreditNoteDetailsParam
17
- * @property {FinancePlatformModel.CreditNoteDetailsRequest} body
17
+ * @property {FinancePlatformModel.CreditNoteDetailsReq} body
18
18
  */
19
19
 
20
20
  /**
21
21
  * @typedef CreditlineDataplatformParam
22
- * @property {FinancePlatformModel.CreditlineDataPlatformRequest} body
22
+ * @property {FinancePlatformModel.CreditlineDataPlatformReq} body
23
23
  */
24
24
 
25
25
  /**
26
26
  * @typedef DeleteConfigParam
27
- * @property {FinancePlatformModel.DeleteConfigRequest} body
27
+ * @property {FinancePlatformModel.DeleteConfigReq} body
28
28
  */
29
29
 
30
30
  /**
31
31
  * @typedef DownloadCreditDebitNoteParam
32
- * @property {FinancePlatformModel.DownloadCreditDebitNoteRequest} body
32
+ * @property {FinancePlatformModel.DownloadCreditDebitNoteReq} body
33
33
  */
34
34
 
35
35
  /**
@@ -39,17 +39,17 @@ const FinancePlatformModel = require("./FinancePlatformModel");
39
39
 
40
40
  /**
41
41
  * @typedef DownloadReportCustomerCnParam
42
- * @property {FinancePlatformModel.DownloadReportCustomerCnRequest} body
42
+ * @property {FinancePlatformModel.DownloadReportCustomerCnReq} body
43
43
  */
44
44
 
45
45
  /**
46
46
  * @typedef GenerateReportParam
47
- * @property {FinancePlatformModel.GenerateReportRequest} body
47
+ * @property {FinancePlatformModel.GenerateReportReq} body
48
48
  */
49
49
 
50
50
  /**
51
51
  * @typedef GenerateReportCustomerCnParam
52
- * @property {FinancePlatformModel.GenerateReportCustomerCnRequest} body
52
+ * @property {FinancePlatformModel.GenerateReportCustomerCnReq} body
53
53
  */
54
54
 
55
55
  /**
@@ -59,32 +59,32 @@ const FinancePlatformModel = require("./FinancePlatformModel");
59
59
 
60
60
  /**
61
61
  * @typedef GetCnConfigParam
62
- * @property {FinancePlatformModel.GetCnConfigRequest} body
62
+ * @property {FinancePlatformModel.GetCnConfigReq} body
63
63
  */
64
64
 
65
65
  /**
66
66
  * @typedef GetCustomerCreditBalanceParam
67
- * @property {FinancePlatformModel.GetCustomerCreditBalanceRequest} body
67
+ * @property {FinancePlatformModel.GetCustomerCreditBalanceReq} body
68
68
  */
69
69
 
70
70
  /**
71
71
  * @typedef GetDataParam
72
- * @property {FinancePlatformModel.GetEngineRequest} body
72
+ * @property {FinancePlatformModel.GetEngineReq} body
73
73
  */
74
74
 
75
75
  /**
76
76
  * @typedef GetPdfUrlViewParam
77
- * @property {FinancePlatformModel.GetPdfUrlViewRequest} body
77
+ * @property {FinancePlatformModel.GetPdfUrlViewReq} body
78
78
  */
79
79
 
80
80
  /**
81
81
  * @typedef GetReasonParam
82
- * @property {FinancePlatformModel.GetReasonRequest} body
82
+ * @property {FinancePlatformModel.GetReasonReq} body
83
83
  */
84
84
 
85
85
  /**
86
86
  * @typedef GetReportListParam
87
- * @property {FinancePlatformModel.GetReportListRequest} body
87
+ * @property {FinancePlatformModel.GetReportListReq} body
88
88
  */
89
89
 
90
90
  /**
@@ -101,12 +101,12 @@ const FinancePlatformModel = require("./FinancePlatformModel");
101
101
 
102
102
  /**
103
103
  * @typedef InvoiceListingParam
104
- * @property {FinancePlatformModel.InvoiceListingRequest} body
104
+ * @property {FinancePlatformModel.InvoiceListingReq} body
105
105
  */
106
106
 
107
107
  /**
108
108
  * @typedef InvoicePDFParam
109
- * @property {FinancePlatformModel.InvoicePdfRequest} body
109
+ * @property {FinancePlatformModel.InvoicePdfReq} body
110
110
  */
111
111
 
112
112
  /**
@@ -115,29 +115,36 @@ const FinancePlatformModel = require("./FinancePlatformModel");
115
115
  * returned.Invoice_Number is required.
116
116
  */
117
117
 
118
+ /**
119
+ * @typedef InvoicePaymentOptionsParam
120
+ * @property {FinancePlatformModel.InvoicePaymentOptionsReq} body
121
+ */
122
+
118
123
  /**
119
124
  * @typedef InvoiceTypeParam
120
- * @property {FinancePlatformModel.InvoiceTypeRequest} body
125
+ * @property {FinancePlatformModel.InvoiceTypeReq} body
121
126
  */
122
127
 
123
128
  /**
124
129
  * @typedef IsCnRefundMethodParam
125
- * @property {FinancePlatformModel.IsCnRefundMethodRequest} body
130
+ * @property {FinancePlatformModel.IsCnRefundMethodReq} body
126
131
  */
127
132
 
128
133
  /**
129
134
  * @typedef IsCreditlinePlatformParam
130
- * @property {FinancePlatformModel.IsCreditlinePlatformRequest} body
135
+ * @property {FinancePlatformModel.IsCreditlinePlatformReq} body
131
136
  */
132
137
 
138
+ /** @typedef OrderFreezeParam */
139
+
133
140
  /**
134
141
  * @typedef PaymentProcessParam
135
- * @property {FinancePlatformModel.PaymentProcessRequest} body
142
+ * @property {FinancePlatformModel.PaymentProcessReq} body
136
143
  */
137
144
 
138
145
  /**
139
146
  * @typedef UnlockCreditNoteParam
140
- * @property {FinancePlatformModel.UnlockCreditNoteRequest} body
147
+ * @property {FinancePlatformModel.UnlockCreditNoteReq} body
141
148
  */
142
149
 
143
150
  class FinancePlatformValidator {
@@ -151,35 +158,35 @@ class FinancePlatformValidator {
151
158
  /** @returns {CreateSellerCreditNoteConfigParam} */
152
159
  static createSellerCreditNoteConfig() {
153
160
  return Joi.object({
154
- body: FinancePlatformModel.CreateSellerCreditNoteConfigRequest().required(),
161
+ body: FinancePlatformModel.CreateSellerCreditNoteConfigReq().required(),
155
162
  }).required();
156
163
  }
157
164
 
158
165
  /** @returns {CreditNoteDetailsParam} */
159
166
  static creditNoteDetails() {
160
167
  return Joi.object({
161
- body: FinancePlatformModel.CreditNoteDetailsRequest().required(),
168
+ body: FinancePlatformModel.CreditNoteDetailsReq().required(),
162
169
  }).required();
163
170
  }
164
171
 
165
172
  /** @returns {CreditlineDataplatformParam} */
166
173
  static creditlineDataplatform() {
167
174
  return Joi.object({
168
- body: FinancePlatformModel.CreditlineDataPlatformRequest().required(),
175
+ body: FinancePlatformModel.CreditlineDataPlatformReq().required(),
169
176
  }).required();
170
177
  }
171
178
 
172
179
  /** @returns {DeleteConfigParam} */
173
180
  static deleteConfig() {
174
181
  return Joi.object({
175
- body: FinancePlatformModel.DeleteConfigRequest().required(),
182
+ body: FinancePlatformModel.DeleteConfigReq().required(),
176
183
  }).required();
177
184
  }
178
185
 
179
186
  /** @returns {DownloadCreditDebitNoteParam} */
180
187
  static downloadCreditDebitNote() {
181
188
  return Joi.object({
182
- body: FinancePlatformModel.DownloadCreditDebitNoteRequest().required(),
189
+ body: FinancePlatformModel.DownloadCreditDebitNoteReq().required(),
183
190
  }).required();
184
191
  }
185
192
 
@@ -193,21 +200,21 @@ class FinancePlatformValidator {
193
200
  /** @returns {DownloadReportCustomerCnParam} */
194
201
  static downloadReportCustomerCn() {
195
202
  return Joi.object({
196
- body: FinancePlatformModel.DownloadReportCustomerCnRequest().required(),
203
+ body: FinancePlatformModel.DownloadReportCustomerCnReq().required(),
197
204
  }).required();
198
205
  }
199
206
 
200
207
  /** @returns {GenerateReportParam} */
201
208
  static generateReport() {
202
209
  return Joi.object({
203
- body: FinancePlatformModel.GenerateReportRequest().required(),
210
+ body: FinancePlatformModel.GenerateReportReq().required(),
204
211
  }).required();
205
212
  }
206
213
 
207
214
  /** @returns {GenerateReportCustomerCnParam} */
208
215
  static generateReportCustomerCn() {
209
216
  return Joi.object({
210
- body: FinancePlatformModel.GenerateReportCustomerCnRequest().required(),
217
+ body: FinancePlatformModel.GenerateReportCustomerCnReq().required(),
211
218
  }).required();
212
219
  }
213
220
 
@@ -221,42 +228,42 @@ class FinancePlatformValidator {
221
228
  /** @returns {GetCnConfigParam} */
222
229
  static getCnConfig() {
223
230
  return Joi.object({
224
- body: FinancePlatformModel.GetCnConfigRequest().required(),
231
+ body: FinancePlatformModel.GetCnConfigReq().required(),
225
232
  }).required();
226
233
  }
227
234
 
228
235
  /** @returns {GetCustomerCreditBalanceParam} */
229
236
  static getCustomerCreditBalance() {
230
237
  return Joi.object({
231
- body: FinancePlatformModel.GetCustomerCreditBalanceRequest().required(),
238
+ body: FinancePlatformModel.GetCustomerCreditBalanceReq().required(),
232
239
  }).required();
233
240
  }
234
241
 
235
242
  /** @returns {GetDataParam} */
236
243
  static getData() {
237
244
  return Joi.object({
238
- body: FinancePlatformModel.GetEngineRequest().required(),
245
+ body: FinancePlatformModel.GetEngineReq().required(),
239
246
  }).required();
240
247
  }
241
248
 
242
249
  /** @returns {GetPdfUrlViewParam} */
243
250
  static getPdfUrlView() {
244
251
  return Joi.object({
245
- body: FinancePlatformModel.GetPdfUrlViewRequest().required(),
252
+ body: FinancePlatformModel.GetPdfUrlViewReq().required(),
246
253
  }).required();
247
254
  }
248
255
 
249
256
  /** @returns {GetReasonParam} */
250
257
  static getReason() {
251
258
  return Joi.object({
252
- body: FinancePlatformModel.GetReasonRequest().required(),
259
+ body: FinancePlatformModel.GetReasonReq().required(),
253
260
  }).required();
254
261
  }
255
262
 
256
263
  /** @returns {GetReportListParam} */
257
264
  static getReportList() {
258
265
  return Joi.object({
259
- body: FinancePlatformModel.GetReportListRequest().required(),
266
+ body: FinancePlatformModel.GetReportListReq().required(),
260
267
  }).required();
261
268
  }
262
269
 
@@ -278,14 +285,14 @@ class FinancePlatformValidator {
278
285
  /** @returns {InvoiceListingParam} */
279
286
  static invoiceListing() {
280
287
  return Joi.object({
281
- body: FinancePlatformModel.InvoiceListingRequest().required(),
288
+ body: FinancePlatformModel.InvoiceListingReq().required(),
282
289
  }).required();
283
290
  }
284
291
 
285
292
  /** @returns {InvoicePDFParam} */
286
293
  static invoicePDF() {
287
294
  return Joi.object({
288
- body: FinancePlatformModel.InvoicePdfRequest().required(),
295
+ body: FinancePlatformModel.InvoicePdfReq().required(),
289
296
  }).required();
290
297
  }
291
298
 
@@ -296,38 +303,50 @@ class FinancePlatformValidator {
296
303
  }).required();
297
304
  }
298
305
 
306
+ /** @returns {InvoicePaymentOptionsParam} */
307
+ static invoicePaymentOptions() {
308
+ return Joi.object({
309
+ body: FinancePlatformModel.InvoicePaymentOptionsReq().required(),
310
+ }).required();
311
+ }
312
+
299
313
  /** @returns {InvoiceTypeParam} */
300
314
  static invoiceType() {
301
315
  return Joi.object({
302
- body: FinancePlatformModel.InvoiceTypeRequest().required(),
316
+ body: FinancePlatformModel.InvoiceTypeReq().required(),
303
317
  }).required();
304
318
  }
305
319
 
306
320
  /** @returns {IsCnRefundMethodParam} */
307
321
  static isCnRefundMethod() {
308
322
  return Joi.object({
309
- body: FinancePlatformModel.IsCnRefundMethodRequest().required(),
323
+ body: FinancePlatformModel.IsCnRefundMethodReq().required(),
310
324
  }).required();
311
325
  }
312
326
 
313
327
  /** @returns {IsCreditlinePlatformParam} */
314
328
  static isCreditlinePlatform() {
315
329
  return Joi.object({
316
- body: FinancePlatformModel.IsCreditlinePlatformRequest().required(),
330
+ body: FinancePlatformModel.IsCreditlinePlatformReq().required(),
317
331
  }).required();
318
332
  }
319
333
 
334
+ /** @returns {OrderFreezeParam} */
335
+ static orderFreeze() {
336
+ return Joi.object({}).required();
337
+ }
338
+
320
339
  /** @returns {PaymentProcessParam} */
321
340
  static paymentProcess() {
322
341
  return Joi.object({
323
- body: FinancePlatformModel.PaymentProcessRequest().required(),
342
+ body: FinancePlatformModel.PaymentProcessReq().required(),
324
343
  }).required();
325
344
  }
326
345
 
327
346
  /** @returns {UnlockCreditNoteParam} */
328
347
  static unlockCreditNote() {
329
348
  return Joi.object({
330
- body: FinancePlatformModel.UnlockCreditNoteRequest().required(),
349
+ body: FinancePlatformModel.UnlockCreditNoteReq().required(),
331
350
  }).required();
332
351
  }
333
352
  }
@@ -3,16 +3,6 @@ declare class Lead {
3
3
  constructor(config: any, applicationId: any);
4
4
  config: any;
5
5
  applicationId: any;
6
- /**
7
- * @param {LeadPlatformApplicationValidator.CloseVideoRoomParam} arg - Arg object
8
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
9
- * @param {import("../PlatformAPIClient").Options} - Options
10
- * @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
11
- * @name closeVideoRoom
12
- * @summary: Close video room
13
- * @description: Terminate and close an active video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/closeVideoRoom/).
14
- */
15
- closeVideoRoom({ uniqueName, requestHeaders }?: LeadPlatformApplicationValidator.CloseVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CloseVideoRoomResponse>;
16
6
  /**
17
7
  * @param {LeadPlatformApplicationValidator.CreateCustomFormParam} arg - Arg object
18
8
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -113,43 +103,6 @@ declare class Lead {
113
103
  * @description: Gets the list of Application level Tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTickets/).
114
104
  */
115
105
  getNewTickets({ items, filters, q, status, priority, category, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTicketsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketList>;
116
- /**
117
- * @param {LeadPlatformApplicationValidator.GetNewTokenForVideoRoomParam} arg
118
- * - Arg object
119
- *
120
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
121
- * @param {import("../PlatformAPIClient").Options} - Options
122
- * @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
123
- * Success response
124
- * @name getNewTokenForVideoRoom
125
- * @summary: Get video Room Token
126
- * @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTokenForVideoRoom/).
127
- */
128
- getNewTokenForVideoRoom({ uniqueName, requestHeaders }?: LeadPlatformApplicationValidator.GetNewTokenForVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>;
129
- /**
130
- * @param {LeadPlatformApplicationValidator.GetNewVideoParticipantsParam} arg
131
- * - Arg object
132
- *
133
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
134
- * @param {import("../PlatformAPIClient").Options} - Options
135
- * @returns {Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>}
136
- * - Success response
137
- *
138
- * @name getNewVideoParticipants
139
- * @summary: List video Room Participants
140
- * @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewVideoParticipants/).
141
- */
142
- getNewVideoParticipants({ uniqueName, requestHeaders }?: LeadPlatformApplicationValidator.GetNewVideoParticipantsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>;
143
- /**
144
- * @param {LeadPlatformApplicationValidator.OpenVideoRoomParam} arg - Arg object
145
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
146
- * @param {import("../PlatformAPIClient").Options} - Options
147
- * @returns {Promise<LeadPlatformModel.CreateVideoRoomResponse>} - Success response
148
- * @name openVideoRoom
149
- * @summary: Open video room
150
- * @description: Initiate and open a video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/openVideoRoom/).
151
- */
152
- openVideoRoom({ body, requestHeaders }?: LeadPlatformApplicationValidator.OpenVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.CreateVideoRoomResponse>;
153
106
  }
154
107
  import LeadPlatformApplicationValidator = require("./LeadPlatformApplicationValidator");
155
108
  import LeadPlatformModel = require("./LeadPlatformModel");