@gofynd/fdk-client-javascript 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/package.json +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -1
- package/sdk/application/Catalog/CatalogApplicationClient.js +11 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.js +2 -0
- package/sdk/application/Content/ContentApplicationModel.js +0 -4
- package/sdk/application/Lead/LeadApplicationModel.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +0 -15
- package/sdk/application/Order/OrderApplicationClient.js +0 -68
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -17
- package/sdk/application/Order/OrderApplicationModel.js +0 -111
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -1
- package/sdk/application/Order/OrderApplicationValidator.js +0 -7
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/common/Constant.d.ts +0 -18
- package/sdk/common/Constant.js +0 -22
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +29 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +181 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformModel.js +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +5 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +0 -183
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +0 -417
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +0 -10
- package/sdk/platform/Communication/CommunicationPlatformClient.js +0 -26
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +4 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -22
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +0 -56
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +12 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +62 -2
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Content/ContentPlatformModel.js +0 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +1 -1
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +1 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +15 -0
- package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +1 -1
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -47
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -201
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -3
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -26
- package/sdk/platform/Order/OrderPlatformClient.d.ts +51 -183
- package/sdk/platform/Order/OrderPlatformClient.js +243 -931
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4 -20
- package/sdk/platform/Order/OrderPlatformModel.js +38 -182
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +3 -12
- package/sdk/platform/Order/OrderPlatformValidator.js +19 -95
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +24 -10
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +111 -44
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +2 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +13 -5
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +12 -0
- package/sdk/platform/PlatformApplicationClient.d.ts +12 -41
- package/sdk/platform/PlatformApplicationClient.js +13 -45
- package/sdk/platform/PlatformClient.d.ts +90 -264
- package/sdk/platform/PlatformClient.js +110 -316
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +11 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.js +61 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +11 -0
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +0 -109
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +0 -558
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +0 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +0 -56
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +0 -88
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +0 -361
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +0 -23
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +0 -169
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.d.ts +0 -7
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +0 -38
|
@@ -107,21 +107,6 @@ declare class Communication {
|
|
|
107
107
|
pageSize?: number;
|
|
108
108
|
sort?: any;
|
|
109
109
|
}): Promise<Audiences>;
|
|
110
|
-
/**
|
|
111
|
-
* @param {Object} arg - Arg object.
|
|
112
|
-
* @param {string} arg.companyId - Company id
|
|
113
|
-
* @param {string} arg.applicationId - Application id
|
|
114
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
115
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
116
|
-
* @summary: Get audiences
|
|
117
|
-
* @description: Get audiences
|
|
118
|
-
*/
|
|
119
|
-
getAudiencesPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
120
|
-
companyId: string;
|
|
121
|
-
applicationId: string;
|
|
122
|
-
pageSize?: number;
|
|
123
|
-
sort?: any;
|
|
124
|
-
}): Paginator;
|
|
125
110
|
/**
|
|
126
111
|
* @param {Object} arg - Arg object.
|
|
127
112
|
* @param {BigqueryHeadersReq} arg.body
|
|
@@ -156,21 +141,6 @@ declare class Communication {
|
|
|
156
141
|
pageSize?: number;
|
|
157
142
|
sort?: any;
|
|
158
143
|
}): Promise<Campaigns>;
|
|
159
|
-
/**
|
|
160
|
-
* @param {Object} arg - Arg object.
|
|
161
|
-
* @param {string} arg.companyId - Company id
|
|
162
|
-
* @param {string} arg.applicationId - Application id
|
|
163
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
164
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
165
|
-
* @summary: Get campaigns
|
|
166
|
-
* @description: Get campaigns
|
|
167
|
-
*/
|
|
168
|
-
getCampaignsPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
169
|
-
companyId: string;
|
|
170
|
-
applicationId: string;
|
|
171
|
-
pageSize?: number;
|
|
172
|
-
sort?: any;
|
|
173
|
-
}): Paginator;
|
|
174
144
|
/**
|
|
175
145
|
* @param {Object} arg - Arg object.
|
|
176
146
|
* @param {string} [arg.pageId] - Current page no
|
|
@@ -187,23 +157,6 @@ declare class Communication {
|
|
|
187
157
|
sort?: any;
|
|
188
158
|
query?: any;
|
|
189
159
|
}): Promise<Logs>;
|
|
190
|
-
/**
|
|
191
|
-
* @param {Object} arg - Arg object.
|
|
192
|
-
* @param {string} arg.companyId - Company id
|
|
193
|
-
* @param {string} arg.applicationId - Application id
|
|
194
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
195
|
-
* @param {Object} [arg.sort] - To sort based on _id
|
|
196
|
-
* @param {Object} [arg.query] -
|
|
197
|
-
* @summary: Get communication logs
|
|
198
|
-
* @description: Get communication logs
|
|
199
|
-
*/
|
|
200
|
-
getCommunicationLogsPaginator({ companyId, applicationId, pageSize, sort, query, }?: {
|
|
201
|
-
companyId: string;
|
|
202
|
-
applicationId: string;
|
|
203
|
-
pageSize?: number;
|
|
204
|
-
sort?: any;
|
|
205
|
-
query?: any;
|
|
206
|
-
}): Paginator;
|
|
207
160
|
/**
|
|
208
161
|
* @param {Object} arg - Arg object.
|
|
209
162
|
* @param {string} arg.id - Email provider id
|
|
@@ -228,21 +181,6 @@ declare class Communication {
|
|
|
228
181
|
pageSize?: number;
|
|
229
182
|
sort?: any;
|
|
230
183
|
}): Promise<EmailProviders>;
|
|
231
|
-
/**
|
|
232
|
-
* @param {Object} arg - Arg object.
|
|
233
|
-
* @param {string} arg.companyId - Company id
|
|
234
|
-
* @param {string} arg.applicationId - Application id
|
|
235
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
236
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
237
|
-
* @summary: Get email providers
|
|
238
|
-
* @description: Get email providers
|
|
239
|
-
*/
|
|
240
|
-
getEmailProvidersPaginator({ companyId, applicationId, pageSize, sort, }?: {
|
|
241
|
-
companyId: string;
|
|
242
|
-
applicationId: string;
|
|
243
|
-
pageSize?: number;
|
|
244
|
-
sort?: any;
|
|
245
|
-
}): Paginator;
|
|
246
184
|
/**
|
|
247
185
|
* @param {Object} arg - Arg object.
|
|
248
186
|
* @param {string} arg.id - Email template id
|
|
@@ -267,21 +205,6 @@ declare class Communication {
|
|
|
267
205
|
pageSize?: number;
|
|
268
206
|
sort?: any;
|
|
269
207
|
}): Promise<EmailTemplates>;
|
|
270
|
-
/**
|
|
271
|
-
* @param {Object} arg - Arg object.
|
|
272
|
-
* @param {string} arg.companyId - Company id
|
|
273
|
-
* @param {string} arg.applicationId - Application id
|
|
274
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
275
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
276
|
-
* @summary: Get email templates
|
|
277
|
-
* @description: Get email templates
|
|
278
|
-
*/
|
|
279
|
-
getEmailTemplatesPaginator({ companyId, applicationId, pageSize, sort, }?: {
|
|
280
|
-
companyId: string;
|
|
281
|
-
applicationId: string;
|
|
282
|
-
pageSize?: number;
|
|
283
|
-
sort?: any;
|
|
284
|
-
}): Paginator;
|
|
285
208
|
/**
|
|
286
209
|
* @param {Object} arg - Arg object.
|
|
287
210
|
* @param {number} [arg.pageNo] - Current page no
|
|
@@ -296,21 +219,6 @@ declare class Communication {
|
|
|
296
219
|
pageSize?: number;
|
|
297
220
|
populate?: string;
|
|
298
221
|
}): Promise<EventSubscriptions>;
|
|
299
|
-
/**
|
|
300
|
-
* @param {Object} arg - Arg object.
|
|
301
|
-
* @param {string} arg.companyId - Company id
|
|
302
|
-
* @param {string} arg.applicationId - Application id
|
|
303
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
304
|
-
* @param {string} [arg.populate] - Populate fields
|
|
305
|
-
* @summary: Get event subscriptions
|
|
306
|
-
* @description: Get event subscriptions
|
|
307
|
-
*/
|
|
308
|
-
getEventSubscriptionsPaginator({ companyId, applicationId, pageSize, populate, }?: {
|
|
309
|
-
companyId: string;
|
|
310
|
-
applicationId: string;
|
|
311
|
-
pageSize?: number;
|
|
312
|
-
populate?: string;
|
|
313
|
-
}): Paginator;
|
|
314
222
|
/**
|
|
315
223
|
* @param {Object} arg - Arg object.
|
|
316
224
|
* @param {number} [arg.pageNo] - Current page no
|
|
@@ -325,21 +233,6 @@ declare class Communication {
|
|
|
325
233
|
pageSize?: number;
|
|
326
234
|
sort?: any;
|
|
327
235
|
}): Promise<JobLogs>;
|
|
328
|
-
/**
|
|
329
|
-
* @param {Object} arg - Arg object.
|
|
330
|
-
* @param {string} arg.companyId - Company id
|
|
331
|
-
* @param {string} arg.applicationId - Application id
|
|
332
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
333
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
334
|
-
* @summary: Get job logs
|
|
335
|
-
* @description: Get job logs
|
|
336
|
-
*/
|
|
337
|
-
getJobLogsPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
338
|
-
companyId: string;
|
|
339
|
-
applicationId: string;
|
|
340
|
-
pageSize?: number;
|
|
341
|
-
sort?: any;
|
|
342
|
-
}): Paginator;
|
|
343
236
|
/**
|
|
344
237
|
* @param {Object} arg - Arg object.
|
|
345
238
|
* @param {number} [arg.pageNo] - Current page no
|
|
@@ -354,21 +247,6 @@ declare class Communication {
|
|
|
354
247
|
pageSize?: number;
|
|
355
248
|
sort?: any;
|
|
356
249
|
}): Promise<Jobs>;
|
|
357
|
-
/**
|
|
358
|
-
* @param {Object} arg - Arg object.
|
|
359
|
-
* @param {string} arg.companyId - Company id
|
|
360
|
-
* @param {string} arg.applicationId - Application id
|
|
361
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
362
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
363
|
-
* @summary: Get jobs
|
|
364
|
-
* @description: Get jobs
|
|
365
|
-
*/
|
|
366
|
-
getJobsPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
367
|
-
companyId: string;
|
|
368
|
-
applicationId: string;
|
|
369
|
-
pageSize?: number;
|
|
370
|
-
sort?: any;
|
|
371
|
-
}): Paginator;
|
|
372
250
|
/**
|
|
373
251
|
* @param {Object} arg - Arg object.
|
|
374
252
|
* @param {GetNRecordsCsvReq} arg.body
|
|
@@ -403,21 +281,6 @@ declare class Communication {
|
|
|
403
281
|
pageSize?: number;
|
|
404
282
|
sort?: any;
|
|
405
283
|
}): Promise<SmsProviders>;
|
|
406
|
-
/**
|
|
407
|
-
* @param {Object} arg - Arg object.
|
|
408
|
-
* @param {string} arg.companyId - Company id
|
|
409
|
-
* @param {string} arg.applicationId - Application id
|
|
410
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
411
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
412
|
-
* @summary: Get sms providers
|
|
413
|
-
* @description: Get sms providers
|
|
414
|
-
*/
|
|
415
|
-
getSmsProvidersPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
416
|
-
companyId: string;
|
|
417
|
-
applicationId: string;
|
|
418
|
-
pageSize?: number;
|
|
419
|
-
sort?: any;
|
|
420
|
-
}): Paginator;
|
|
421
284
|
/**
|
|
422
285
|
* @param {Object} arg - Arg object.
|
|
423
286
|
* @param {string} arg.id - Sms template id
|
|
@@ -442,21 +305,6 @@ declare class Communication {
|
|
|
442
305
|
pageSize?: number;
|
|
443
306
|
sort?: any;
|
|
444
307
|
}): Promise<SmsTemplates>;
|
|
445
|
-
/**
|
|
446
|
-
* @param {Object} arg - Arg object.
|
|
447
|
-
* @param {string} arg.companyId - Company id
|
|
448
|
-
* @param {string} arg.applicationId - Application id
|
|
449
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
450
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
451
|
-
* @summary: Get sms templates
|
|
452
|
-
* @description: Get sms templates
|
|
453
|
-
*/
|
|
454
|
-
getSmsTemplatesPaginator({ companyId, applicationId, pageSize, sort }?: {
|
|
455
|
-
companyId: string;
|
|
456
|
-
applicationId: string;
|
|
457
|
-
pageSize?: number;
|
|
458
|
-
sort?: any;
|
|
459
|
-
}): Paginator;
|
|
460
308
|
/**
|
|
461
309
|
* @param {Object} arg - Arg object.
|
|
462
310
|
* @param {string} arg.id - Campaign id
|
|
@@ -481,21 +329,6 @@ declare class Communication {
|
|
|
481
329
|
pageSize?: number;
|
|
482
330
|
sort?: any;
|
|
483
331
|
}): Promise<SystemEmailTemplates>;
|
|
484
|
-
/**
|
|
485
|
-
* @param {Object} arg - Arg object.
|
|
486
|
-
* @param {string} arg.companyId - Company id
|
|
487
|
-
* @param {string} arg.applicationId - Application id
|
|
488
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
489
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
490
|
-
* @summary: Get system email templates
|
|
491
|
-
* @description: Get system email templates
|
|
492
|
-
*/
|
|
493
|
-
getSystemEmailTemplatesPaginator({ companyId, applicationId, pageSize, sort, }?: {
|
|
494
|
-
companyId: string;
|
|
495
|
-
applicationId: string;
|
|
496
|
-
pageSize?: number;
|
|
497
|
-
sort?: any;
|
|
498
|
-
}): Paginator;
|
|
499
332
|
/**
|
|
500
333
|
* @param {Object} arg - Arg object.
|
|
501
334
|
* @param {number} [arg.pageNo] - Current page no
|
|
@@ -510,21 +343,6 @@ declare class Communication {
|
|
|
510
343
|
pageSize?: number;
|
|
511
344
|
sort?: any;
|
|
512
345
|
}): Promise<SystemSmsTemplates>;
|
|
513
|
-
/**
|
|
514
|
-
* @param {Object} arg - Arg object.
|
|
515
|
-
* @param {string} arg.companyId - Company id
|
|
516
|
-
* @param {string} arg.applicationId - Application id
|
|
517
|
-
* @param {number} [arg.pageSize] - Current request items count
|
|
518
|
-
* @param {Object} [arg.sort] - To sort based on created_at
|
|
519
|
-
* @summary: Get system sms templates
|
|
520
|
-
* @description: Get system sms templates
|
|
521
|
-
*/
|
|
522
|
-
getSystemSystemTemplatesPaginator({ companyId, applicationId, pageSize, sort, }?: {
|
|
523
|
-
companyId: string;
|
|
524
|
-
applicationId: string;
|
|
525
|
-
pageSize?: number;
|
|
526
|
-
sort?: any;
|
|
527
|
-
}): Paginator;
|
|
528
346
|
/**
|
|
529
347
|
* @param {Object} arg - Arg object.
|
|
530
348
|
* @param {EngineRequest} arg.body
|
|
@@ -648,4 +466,3 @@ declare class Communication {
|
|
|
648
466
|
body: VerifyOtpCommsReq;
|
|
649
467
|
}): Promise<VerifyOtpCommsSuccessRes>;
|
|
650
468
|
}
|
|
651
|
-
import Paginator = require("../../common/Paginator");
|