@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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +16 -3
- package/sdk/application/Cart/CartApplicationClient.js +118 -13
- package/sdk/application/Cart/CartApplicationModel.d.ts +121 -45
- package/sdk/application/Cart/CartApplicationModel.js +98 -26
- package/sdk/application/Cart/CartApplicationValidator.d.ts +45 -1
- package/sdk/application/Cart/CartApplicationValidator.js +26 -0
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +4 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +4 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.js +5 -3
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -18
- package/sdk/application/Content/ContentApplicationModel.js +4 -20
- package/sdk/application/Content/ContentApplicationValidator.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationValidator.js +4 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +0 -27
- package/sdk/application/Lead/LeadApplicationClient.js +0 -167
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1 -146
- package/sdk/application/Lead/LeadApplicationModel.js +0 -126
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -25
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +2 -0
- package/sdk/application/Logistic/LogisticApplicationModel.js +2 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +2 -0
- package/sdk/application/Order/OrderApplicationModel.js +2 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +9 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +5 -2
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +2 -0
- package/sdk/application/Theme/ThemeApplicationModel.js +2 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -23
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -157
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +12 -581
- package/sdk/partner/Lead/LeadPartnerModel.js +14 -403
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -2
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -12
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +162 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +119 -1
- package/sdk/partner/Theme/ThemePartnerModel.js +142 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +304 -43
- package/sdk/platform/Billing/BillingPlatformClient.js +2218 -118
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1330 -282
- package/sdk/platform/Billing/BillingPlatformModel.js +1808 -590
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +324 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +340 -12
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +28 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +198 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +81 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +48 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +214 -40
- package/sdk/platform/Cart/CartPlatformModel.js +164 -24
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +18 -2
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +28 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +12 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +18 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +25 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +10 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +6 -4
- package/sdk/platform/Content/ContentPlatformModel.js +6 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +49 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +181 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +350 -127
- package/sdk/platform/Finance/FinancePlatformModel.js +378 -108
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +56 -43
- package/sdk/platform/Finance/FinancePlatformValidator.js +61 -42
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +0 -47
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +0 -321
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -46
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +0 -48
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -25
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -167
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +82 -204
- package/sdk/platform/Lead/LeadPlatformModel.js +98 -178
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -25
- package/sdk/platform/Lead/LeadPlatformValidator.js +0 -24
- package/sdk/platform/Order/OrderPlatformModel.d.ts +108 -15
- package/sdk/platform/Order/OrderPlatformModel.js +47 -14
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +5 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +12 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +82 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -1
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +14 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +67 -1
- package/sdk/platform/Theme/ThemePlatformModel.js +78 -0
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +0 -40
- package/sdk/platform/Webhook/WebhookPlatformClient.js +0 -307
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +112 -164
- package/sdk/platform/Webhook/WebhookPlatformModel.js +118 -169
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +9 -35
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +8 -46
- package/sdk/public/Billing/BillingPublicClient.d.ts +24 -2
- package/sdk/public/Billing/BillingPublicClient.js +156 -3
- package/sdk/public/Billing/BillingPublicModel.d.ts +368 -26
- package/sdk/public/Billing/BillingPublicModel.js +317 -18
- package/sdk/public/Billing/BillingPublicValidator.d.ts +19 -3
- package/sdk/public/Billing/BillingPublicValidator.js +22 -3
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +22 -22
- 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.
|
|
8
|
+
* @property {FinancePlatformModel.CreateSellerCreditNoteConfigReq} body
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* @typedef CreditNoteDetailsParam
|
|
12
|
-
* @property {FinancePlatformModel.
|
|
12
|
+
* @property {FinancePlatformModel.CreditNoteDetailsReq} body
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* @typedef CreditlineDataplatformParam
|
|
16
|
-
* @property {FinancePlatformModel.
|
|
16
|
+
* @property {FinancePlatformModel.CreditlineDataPlatformReq} body
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* @typedef DeleteConfigParam
|
|
20
|
-
* @property {FinancePlatformModel.
|
|
20
|
+
* @property {FinancePlatformModel.DeleteConfigReq} body
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* @typedef DownloadCreditDebitNoteParam
|
|
24
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
32
|
+
* @property {FinancePlatformModel.DownloadReportCustomerCnReq} body
|
|
33
33
|
*/
|
|
34
34
|
/**
|
|
35
35
|
* @typedef GenerateReportParam
|
|
36
|
-
* @property {FinancePlatformModel.
|
|
36
|
+
* @property {FinancePlatformModel.GenerateReportReq} body
|
|
37
37
|
*/
|
|
38
38
|
/**
|
|
39
39
|
* @typedef GenerateReportCustomerCnParam
|
|
40
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
48
|
+
* @property {FinancePlatformModel.GetCnConfigReq} body
|
|
49
49
|
*/
|
|
50
50
|
/**
|
|
51
51
|
* @typedef GetCustomerCreditBalanceParam
|
|
52
|
-
* @property {FinancePlatformModel.
|
|
52
|
+
* @property {FinancePlatformModel.GetCustomerCreditBalanceReq} body
|
|
53
53
|
*/
|
|
54
54
|
/**
|
|
55
55
|
* @typedef GetDataParam
|
|
56
|
-
* @property {FinancePlatformModel.
|
|
56
|
+
* @property {FinancePlatformModel.GetEngineReq} body
|
|
57
57
|
*/
|
|
58
58
|
/**
|
|
59
59
|
* @typedef GetPdfUrlViewParam
|
|
60
|
-
* @property {FinancePlatformModel.
|
|
60
|
+
* @property {FinancePlatformModel.GetPdfUrlViewReq} body
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
63
|
* @typedef GetReasonParam
|
|
64
|
-
* @property {FinancePlatformModel.
|
|
64
|
+
* @property {FinancePlatformModel.GetReasonReq} body
|
|
65
65
|
*/
|
|
66
66
|
/**
|
|
67
67
|
* @typedef GetReportListParam
|
|
68
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
82
|
+
* @property {FinancePlatformModel.InvoiceListingReq} body
|
|
83
83
|
*/
|
|
84
84
|
/**
|
|
85
85
|
* @typedef InvoicePDFParam
|
|
86
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
99
|
+
* @property {FinancePlatformModel.InvoiceTypeReq} body
|
|
96
100
|
*/
|
|
97
101
|
/**
|
|
98
102
|
* @typedef IsCnRefundMethodParam
|
|
99
|
-
* @property {FinancePlatformModel.
|
|
103
|
+
* @property {FinancePlatformModel.IsCnRefundMethodReq} body
|
|
100
104
|
*/
|
|
101
105
|
/**
|
|
102
106
|
* @typedef IsCreditlinePlatformParam
|
|
103
|
-
* @property {FinancePlatformModel.
|
|
107
|
+
* @property {FinancePlatformModel.IsCreditlinePlatformReq} body
|
|
104
108
|
*/
|
|
109
|
+
/** @typedef OrderFreezeParam */
|
|
105
110
|
/**
|
|
106
111
|
* @typedef PaymentProcessParam
|
|
107
|
-
* @property {FinancePlatformModel.
|
|
112
|
+
* @property {FinancePlatformModel.PaymentProcessReq} body
|
|
108
113
|
*/
|
|
109
114
|
/**
|
|
110
115
|
* @typedef UnlockCreditNoteParam
|
|
111
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
188
|
+
body: FinancePlatformModel.CreateSellerCreditNoteConfigReq;
|
|
180
189
|
};
|
|
181
190
|
type CreditNoteDetailsParam = {
|
|
182
|
-
body: FinancePlatformModel.
|
|
191
|
+
body: FinancePlatformModel.CreditNoteDetailsReq;
|
|
183
192
|
};
|
|
184
193
|
type CreditlineDataplatformParam = {
|
|
185
|
-
body: FinancePlatformModel.
|
|
194
|
+
body: FinancePlatformModel.CreditlineDataPlatformReq;
|
|
186
195
|
};
|
|
187
196
|
type DeleteConfigParam = {
|
|
188
|
-
body: FinancePlatformModel.
|
|
197
|
+
body: FinancePlatformModel.DeleteConfigReq;
|
|
189
198
|
};
|
|
190
199
|
type DownloadCreditDebitNoteParam = {
|
|
191
|
-
body: FinancePlatformModel.
|
|
200
|
+
body: FinancePlatformModel.DownloadCreditDebitNoteReq;
|
|
192
201
|
};
|
|
193
202
|
type DownloadReportParam = {
|
|
194
203
|
body: FinancePlatformModel.DownloadReport;
|
|
195
204
|
};
|
|
196
205
|
type DownloadReportCustomerCnParam = {
|
|
197
|
-
body: FinancePlatformModel.
|
|
206
|
+
body: FinancePlatformModel.DownloadReportCustomerCnReq;
|
|
198
207
|
};
|
|
199
208
|
type GenerateReportParam = {
|
|
200
|
-
body: FinancePlatformModel.
|
|
209
|
+
body: FinancePlatformModel.GenerateReportReq;
|
|
201
210
|
};
|
|
202
211
|
type GenerateReportCustomerCnParam = {
|
|
203
|
-
body: FinancePlatformModel.
|
|
212
|
+
body: FinancePlatformModel.GenerateReportCustomerCnReq;
|
|
204
213
|
};
|
|
205
214
|
type GetAffiliateParam = {
|
|
206
215
|
body: FinancePlatformModel.GetAffiliate;
|
|
207
216
|
};
|
|
208
217
|
type GetCnConfigParam = {
|
|
209
|
-
body: FinancePlatformModel.
|
|
218
|
+
body: FinancePlatformModel.GetCnConfigReq;
|
|
210
219
|
};
|
|
211
220
|
type GetCustomerCreditBalanceParam = {
|
|
212
|
-
body: FinancePlatformModel.
|
|
221
|
+
body: FinancePlatformModel.GetCustomerCreditBalanceReq;
|
|
213
222
|
};
|
|
214
223
|
type GetDataParam = {
|
|
215
|
-
body: FinancePlatformModel.
|
|
224
|
+
body: FinancePlatformModel.GetEngineReq;
|
|
216
225
|
};
|
|
217
226
|
type GetPdfUrlViewParam = {
|
|
218
|
-
body: FinancePlatformModel.
|
|
227
|
+
body: FinancePlatformModel.GetPdfUrlViewReq;
|
|
219
228
|
};
|
|
220
229
|
type GetReasonParam = {
|
|
221
|
-
body: FinancePlatformModel.
|
|
230
|
+
body: FinancePlatformModel.GetReasonReq;
|
|
222
231
|
};
|
|
223
232
|
type GetReportListParam = {
|
|
224
|
-
body: FinancePlatformModel.
|
|
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.
|
|
253
|
+
body: FinancePlatformModel.InvoiceListingReq;
|
|
245
254
|
};
|
|
246
255
|
type InvoicePDFParam = {
|
|
247
|
-
body: FinancePlatformModel.
|
|
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.
|
|
269
|
+
body: FinancePlatformModel.InvoiceTypeReq;
|
|
258
270
|
};
|
|
259
271
|
type IsCnRefundMethodParam = {
|
|
260
|
-
body: FinancePlatformModel.
|
|
272
|
+
body: FinancePlatformModel.IsCnRefundMethodReq;
|
|
261
273
|
};
|
|
262
274
|
type IsCreditlinePlatformParam = {
|
|
263
|
-
body: FinancePlatformModel.
|
|
275
|
+
body: FinancePlatformModel.IsCreditlinePlatformReq;
|
|
264
276
|
};
|
|
265
277
|
type PaymentProcessParam = {
|
|
266
|
-
body: FinancePlatformModel.
|
|
278
|
+
body: FinancePlatformModel.PaymentProcessReq;
|
|
267
279
|
};
|
|
268
280
|
type UnlockCreditNoteParam = {
|
|
269
|
-
body: FinancePlatformModel.
|
|
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.
|
|
12
|
+
* @property {FinancePlatformModel.CreateSellerCreditNoteConfigReq} body
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @typedef CreditNoteDetailsParam
|
|
17
|
-
* @property {FinancePlatformModel.
|
|
17
|
+
* @property {FinancePlatformModel.CreditNoteDetailsReq} body
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @typedef CreditlineDataplatformParam
|
|
22
|
-
* @property {FinancePlatformModel.
|
|
22
|
+
* @property {FinancePlatformModel.CreditlineDataPlatformReq} body
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @typedef DeleteConfigParam
|
|
27
|
-
* @property {FinancePlatformModel.
|
|
27
|
+
* @property {FinancePlatformModel.DeleteConfigReq} body
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* @typedef DownloadCreditDebitNoteParam
|
|
32
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
42
|
+
* @property {FinancePlatformModel.DownloadReportCustomerCnReq} body
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* @typedef GenerateReportParam
|
|
47
|
-
* @property {FinancePlatformModel.
|
|
47
|
+
* @property {FinancePlatformModel.GenerateReportReq} body
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* @typedef GenerateReportCustomerCnParam
|
|
52
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
62
|
+
* @property {FinancePlatformModel.GetCnConfigReq} body
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* @typedef GetCustomerCreditBalanceParam
|
|
67
|
-
* @property {FinancePlatformModel.
|
|
67
|
+
* @property {FinancePlatformModel.GetCustomerCreditBalanceReq} body
|
|
68
68
|
*/
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @typedef GetDataParam
|
|
72
|
-
* @property {FinancePlatformModel.
|
|
72
|
+
* @property {FinancePlatformModel.GetEngineReq} body
|
|
73
73
|
*/
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @typedef GetPdfUrlViewParam
|
|
77
|
-
* @property {FinancePlatformModel.
|
|
77
|
+
* @property {FinancePlatformModel.GetPdfUrlViewReq} body
|
|
78
78
|
*/
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* @typedef GetReasonParam
|
|
82
|
-
* @property {FinancePlatformModel.
|
|
82
|
+
* @property {FinancePlatformModel.GetReasonReq} body
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* @typedef GetReportListParam
|
|
87
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
104
|
+
* @property {FinancePlatformModel.InvoiceListingReq} body
|
|
105
105
|
*/
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* @typedef InvoicePDFParam
|
|
109
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
125
|
+
* @property {FinancePlatformModel.InvoiceTypeReq} body
|
|
121
126
|
*/
|
|
122
127
|
|
|
123
128
|
/**
|
|
124
129
|
* @typedef IsCnRefundMethodParam
|
|
125
|
-
* @property {FinancePlatformModel.
|
|
130
|
+
* @property {FinancePlatformModel.IsCnRefundMethodReq} body
|
|
126
131
|
*/
|
|
127
132
|
|
|
128
133
|
/**
|
|
129
134
|
* @typedef IsCreditlinePlatformParam
|
|
130
|
-
* @property {FinancePlatformModel.
|
|
135
|
+
* @property {FinancePlatformModel.IsCreditlinePlatformReq} body
|
|
131
136
|
*/
|
|
132
137
|
|
|
138
|
+
/** @typedef OrderFreezeParam */
|
|
139
|
+
|
|
133
140
|
/**
|
|
134
141
|
* @typedef PaymentProcessParam
|
|
135
|
-
* @property {FinancePlatformModel.
|
|
142
|
+
* @property {FinancePlatformModel.PaymentProcessReq} body
|
|
136
143
|
*/
|
|
137
144
|
|
|
138
145
|
/**
|
|
139
146
|
* @typedef UnlockCreditNoteParam
|
|
140
|
-
* @property {FinancePlatformModel.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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");
|