@gofynd/fdk-client-javascript 1.4.15-beta.6 → 1.4.16-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
- package/sdk/application/Cart/CartApplicationClient.js +130 -27
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
- package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +19 -30
- package/sdk/application/Content/ContentApplicationClient.js +40 -60
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +126 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
- package/sdk/application/Logistic/LogisticApplicationClient.js +118 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
- package/sdk/application/Order/OrderApplicationClient.js +62 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +65 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5039 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1976 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6941 -2203
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1687
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +416 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
- package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +48 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +134 -43
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +38 -44
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +56 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +895 -8
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -205,12 +205,12 @@ declare class User {
|
|
|
205
205
|
/**
|
|
206
206
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
207
207
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
208
|
-
* @returns {Promise<
|
|
208
|
+
* @returns {Promise<SendOtp>} - Success response
|
|
209
209
|
* @name loginWithOTP
|
|
210
210
|
* @summary: Login with Mobile OTP
|
|
211
211
|
* @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
|
|
212
212
|
*/
|
|
213
|
-
loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
213
|
+
loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtp>;
|
|
214
214
|
/**
|
|
215
215
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
216
216
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -259,12 +259,12 @@ declare class User {
|
|
|
259
259
|
/**
|
|
260
260
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
261
261
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
262
|
-
* @returns {Promise<
|
|
262
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
263
263
|
* @name sendForgotOTPOnMobile
|
|
264
264
|
* @summary: Send mobile OTP for forgot-password
|
|
265
265
|
* @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
|
|
266
266
|
*/
|
|
267
|
-
sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
267
|
+
sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
|
|
268
268
|
/**
|
|
269
269
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
270
270
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -277,12 +277,12 @@ declare class User {
|
|
|
277
277
|
/**
|
|
278
278
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
279
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
280
|
-
* @returns {Promise<
|
|
280
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
281
281
|
* @name sendOTPOnMobile
|
|
282
282
|
* @summary: Send OTP on Mobile
|
|
283
283
|
* @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
|
|
284
284
|
*/
|
|
285
|
-
sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
285
|
+
sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
|
|
286
286
|
/**
|
|
287
287
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
288
288
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -351,7 +351,7 @@ declare class User {
|
|
|
351
351
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
352
352
|
* @returns {Promise<VerifyEmailSuccess>} - Success response
|
|
353
353
|
* @name updatePassword
|
|
354
|
-
* @summary: Update
|
|
354
|
+
* @summary: Update password
|
|
355
355
|
* @description: Allow user to change their password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
|
|
356
356
|
*/
|
|
357
357
|
updatePassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailSuccess>;
|
|
@@ -376,12 +376,12 @@ declare class User {
|
|
|
376
376
|
/**
|
|
377
377
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
378
378
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
379
|
-
* @returns {Promise<
|
|
379
|
+
* @returns {Promise<UserExistsDetails>} - Success response
|
|
380
380
|
* @name userExists
|
|
381
381
|
* @summary: Chcek User Existence
|
|
382
382
|
* @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/userExists/).
|
|
383
383
|
*/
|
|
384
|
-
userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
384
|
+
userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserExistsDetails>;
|
|
385
385
|
/**
|
|
386
386
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
387
387
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -432,7 +432,7 @@ declare class User {
|
|
|
432
432
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
433
433
|
* @returns {Promise<VerifyOtpSuccess>} - Success response
|
|
434
434
|
* @name verifyMobileOTP
|
|
435
|
-
* @summary: Verify
|
|
435
|
+
* @summary: Verify mobile OTP
|
|
436
436
|
* @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
|
|
437
437
|
*/
|
|
438
438
|
verifyMobileOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyOtpSuccess>;
|
|
@@ -953,7 +953,7 @@ class User {
|
|
|
953
953
|
/**
|
|
954
954
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
955
955
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
956
|
-
* @returns {Promise<
|
|
956
|
+
* @returns {Promise<SendOtp>} - Success response
|
|
957
957
|
* @name loginWithOTP
|
|
958
958
|
* @summary: Login with Mobile OTP
|
|
959
959
|
* @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
|
|
@@ -1226,7 +1226,7 @@ class User {
|
|
|
1226
1226
|
/**
|
|
1227
1227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1228
1228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1229
|
-
* @returns {Promise<
|
|
1229
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
1230
1230
|
* @name sendForgotOTPOnMobile
|
|
1231
1231
|
* @summary: Send mobile OTP for forgot-password
|
|
1232
1232
|
* @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendForgotOTPOnMobile/).
|
|
@@ -1318,7 +1318,7 @@ class User {
|
|
|
1318
1318
|
/**
|
|
1319
1319
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1320
1320
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1321
|
-
* @returns {Promise<
|
|
1321
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
1322
1322
|
* @name sendOTPOnMobile
|
|
1323
1323
|
* @summary: Send OTP on Mobile
|
|
1324
1324
|
* @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
|
|
@@ -1685,7 +1685,7 @@ class User {
|
|
|
1685
1685
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1686
1686
|
* @returns {Promise<VerifyEmailSuccess>} - Success response
|
|
1687
1687
|
* @name updatePassword
|
|
1688
|
-
* @summary: Update
|
|
1688
|
+
* @summary: Update password
|
|
1689
1689
|
* @description: Allow user to change their password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
|
|
1690
1690
|
*/
|
|
1691
1691
|
async updatePassword(
|
|
@@ -1819,7 +1819,7 @@ class User {
|
|
|
1819
1819
|
/**
|
|
1820
1820
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1821
1821
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1822
|
-
* @returns {Promise<
|
|
1822
|
+
* @returns {Promise<UserExistsDetails>} - Success response
|
|
1823
1823
|
* @name userExists
|
|
1824
1824
|
* @summary: Chcek User Existence
|
|
1825
1825
|
* @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/userExists/).
|
|
@@ -2102,7 +2102,7 @@ class User {
|
|
|
2102
2102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2103
2103
|
* @returns {Promise<VerifyOtpSuccess>} - Success response
|
|
2104
2104
|
* @name verifyMobileOTP
|
|
2105
|
-
* @summary: Verify
|
|
2105
|
+
* @summary: Verify mobile OTP
|
|
2106
2106
|
* @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
|
|
2107
2107
|
*/
|
|
2108
2108
|
async verifyMobileOTP(
|
|
@@ -10,10 +10,10 @@ declare class Webhook {
|
|
|
10
10
|
/**
|
|
11
11
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
12
12
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
13
|
-
* @returns {Promise<
|
|
13
|
+
* @returns {Promise<ClickEventDetails>} - Success response
|
|
14
14
|
* @name saveClickEvent
|
|
15
|
-
* @summary:
|
|
16
|
-
* @description: Send click events from sales channels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/webhook/saveClickEvent/).
|
|
15
|
+
* @summary: Capture and save click events from various sales channels
|
|
16
|
+
* @description: Send click events from various sales channels to enable insightful data collection and analysis. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/webhook/saveClickEvent/).
|
|
17
17
|
*/
|
|
18
|
-
saveClickEvent({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
18
|
+
saveClickEvent({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ClickEventDetails>;
|
|
19
19
|
}
|
|
@@ -33,10 +33,10 @@ class Webhook {
|
|
|
33
33
|
/**
|
|
34
34
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
35
35
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
36
|
-
* @returns {Promise<
|
|
36
|
+
* @returns {Promise<ClickEventDetails>} - Success response
|
|
37
37
|
* @name saveClickEvent
|
|
38
|
-
* @summary:
|
|
39
|
-
* @description: Send click events from sales channels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/webhook/saveClickEvent/).
|
|
38
|
+
* @summary: Capture and save click events from various sales channels
|
|
39
|
+
* @description: Send click events from various sales channels to enable insightful data collection and analysis. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/webhook/saveClickEvent/).
|
|
40
40
|
*/
|
|
41
41
|
async saveClickEvent(
|
|
42
42
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3,12 +3,32 @@ declare class FileStorage {
|
|
|
3
3
|
constructor(config: any);
|
|
4
4
|
config: any;
|
|
5
5
|
/**
|
|
6
|
-
* @param {FileStoragePartnerValidator.
|
|
6
|
+
* @param {FileStoragePartnerValidator.GetAllNamespaceDetailsParam} arg - Arg object.
|
|
7
7
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
8
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
9
|
-
* @returns {Promise<FileStoragePartnerModel.
|
|
10
|
-
* @name
|
|
11
|
-
* @summary:
|
|
9
|
+
* @returns {Promise<FileStoragePartnerModel.AllNamespaceDetails>} - Success response
|
|
10
|
+
* @name getAllNamespaceDetails
|
|
11
|
+
* @summary: Get details of all namespaces
|
|
12
|
+
* @description: Retrieve information about all available namespaces - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/getAllNamespaceDetails/).
|
|
13
|
+
*/
|
|
14
|
+
getAllNamespaceDetails({ requestHeaders }?: FileStoragePartnerValidator.GetAllNamespaceDetailsParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.AllNamespaceDetails>;
|
|
15
|
+
/**
|
|
16
|
+
* @param {FileStoragePartnerValidator.GetNamespaceDetailParam} arg - Arg object.
|
|
17
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
18
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
19
|
+
* @returns {Promise<FileStoragePartnerModel.NamespaceDetails>} - Success response
|
|
20
|
+
* @name getNamespaceDetail
|
|
21
|
+
* @summary: Get details of a namespace
|
|
22
|
+
* @description: Retrieve information about a specific namespace - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/getNamespaceDetail/).
|
|
23
|
+
*/
|
|
24
|
+
getNamespaceDetail({ namespace, requestHeaders }?: FileStoragePartnerValidator.GetNamespaceDetailParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.NamespaceDetails>;
|
|
25
|
+
/**
|
|
26
|
+
* @param {FileStoragePartnerValidator.CompleteUploadParam} arg - Arg object.
|
|
27
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
28
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
29
|
+
* @returns {Promise<FileStoragePartnerModel.FileUploadComplete>} - Success response
|
|
30
|
+
* @name completeUpload
|
|
31
|
+
* @summary: This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process.
|
|
12
32
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
13
33
|
*
|
|
14
34
|
* It has three Major Steps:
|
|
@@ -27,16 +47,16 @@ declare class FileStorage {
|
|
|
27
47
|
* ### Complete
|
|
28
48
|
* After successfully upload, call `completeUpload` api to complete the upload process.
|
|
29
49
|
* This operation will return the url for the uploaded file.
|
|
30
|
-
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/
|
|
50
|
+
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/completeUpload/).
|
|
31
51
|
*/
|
|
32
|
-
|
|
52
|
+
completeUpload({ namespace, body, requestHeaders }?: FileStoragePartnerValidator.CompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.FileUploadComplete>;
|
|
33
53
|
/**
|
|
34
|
-
* @param {FileStoragePartnerValidator.
|
|
54
|
+
* @param {FileStoragePartnerValidator.StartUploadParam} arg - Arg object.
|
|
35
55
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
36
56
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
37
|
-
* @returns {Promise<FileStoragePartnerModel.
|
|
38
|
-
* @name
|
|
39
|
-
* @summary: This
|
|
57
|
+
* @returns {Promise<FileStoragePartnerModel.FileUpload>} - Success response
|
|
58
|
+
* @name startUpload
|
|
59
|
+
* @summary: This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob.
|
|
40
60
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
41
61
|
*
|
|
42
62
|
* It has three Major Steps:
|
|
@@ -55,9 +75,9 @@ declare class FileStorage {
|
|
|
55
75
|
* ### Complete
|
|
56
76
|
* After successfully upload, call `completeUpload` api to complete the upload process.
|
|
57
77
|
* This operation will return the url for the uploaded file.
|
|
58
|
-
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/
|
|
78
|
+
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/startUpload/).
|
|
59
79
|
*/
|
|
60
|
-
|
|
80
|
+
startUpload({ namespace, body, requestHeaders }?: FileStoragePartnerValidator.StartUploadParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.FileUpload>;
|
|
61
81
|
/**
|
|
62
82
|
* @param {FileStoragePartnerValidator.BrowseParam} arg - Arg object.
|
|
63
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -68,5 +88,59 @@ declare class FileStorage {
|
|
|
68
88
|
* @description: Browse Files - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/browse/).
|
|
69
89
|
*/
|
|
70
90
|
browse({ namespace, applicationId, companyId, page, limit, requestHeaders }?: FileStoragePartnerValidator.BrowseParam, { responseHeaders }?: object): Promise<any>;
|
|
91
|
+
/**
|
|
92
|
+
* @param {FileStoragePartnerValidator.BrowseFilesParam} arg - Arg object.
|
|
93
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
95
|
+
* @returns {Promise<Object>} - Success response
|
|
96
|
+
* @name browseFiles
|
|
97
|
+
* @summary: Browse Files
|
|
98
|
+
* @description: Browse Files - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/browseFiles/).
|
|
99
|
+
*/
|
|
100
|
+
browseFiles({ namespace, page, limit, requestHeaders }?: FileStoragePartnerValidator.BrowseFilesParam, { responseHeaders }?: object): Promise<any>;
|
|
101
|
+
/**
|
|
102
|
+
* @param {FileStoragePartnerValidator.OrganizationLevelFetchProxyParam} arg
|
|
103
|
+
* - Arg object.
|
|
104
|
+
*
|
|
105
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
106
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
107
|
+
* @returns {Promise<FileStoragePartnerModel.FetchProxyDetails>} - Success response
|
|
108
|
+
* @name organizationLevelFetchProxy
|
|
109
|
+
* @summary: Proxy
|
|
110
|
+
* @description: Proxy - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/organizationLevelFetchProxy/).
|
|
111
|
+
*/
|
|
112
|
+
organizationLevelFetchProxy({ applicationId, companyId, url, requestHeaders }?: FileStoragePartnerValidator.OrganizationLevelFetchProxyParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.FetchProxyDetails>;
|
|
113
|
+
/**
|
|
114
|
+
* @param {FileStoragePartnerValidator.SaveOrganizationLevelProxyParam} arg
|
|
115
|
+
* - Arg object.
|
|
116
|
+
*
|
|
117
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
118
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
119
|
+
* @returns {Promise<FileStoragePartnerModel.SaveProxy>} - Success response
|
|
120
|
+
* @name saveOrganizationLevelProxy
|
|
121
|
+
* @summary: Proxy
|
|
122
|
+
* @description: Proxy - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/saveOrganizationLevelProxy/).
|
|
123
|
+
*/
|
|
124
|
+
saveOrganizationLevelProxy({ applicationId, companyId, body, requestHeaders }?: FileStoragePartnerValidator.SaveOrganizationLevelProxyParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.SaveProxy>;
|
|
125
|
+
/**
|
|
126
|
+
* @param {FileStoragePartnerValidator.FetchProxyParam} arg - Arg object.
|
|
127
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
128
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
129
|
+
* @returns {Promise<FileStoragePartnerModel.FetchProxyDetails>} - Success response
|
|
130
|
+
* @name fetchProxy
|
|
131
|
+
* @summary: Proxy
|
|
132
|
+
* @description: Proxy - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/fetchProxy/).
|
|
133
|
+
*/
|
|
134
|
+
fetchProxy({ url, requestHeaders }?: FileStoragePartnerValidator.FetchProxyParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.FetchProxyDetails>;
|
|
135
|
+
/**
|
|
136
|
+
* @param {FileStoragePartnerValidator.SaveProxyDetailsParam} arg - Arg object.
|
|
137
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
138
|
+
* @param {import("../PartnerAPIClient").Options} - Options
|
|
139
|
+
* @returns {Promise<FileStoragePartnerModel.SaveProxy>} - Success response
|
|
140
|
+
* @name saveProxyDetails
|
|
141
|
+
* @summary: Proxy
|
|
142
|
+
* @description: Proxy - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/filestorage/saveProxyDetails/).
|
|
143
|
+
*/
|
|
144
|
+
saveProxyDetails({ body, requestHeaders }?: FileStoragePartnerValidator.SaveProxyDetailsParam, { responseHeaders }?: object): Promise<FileStoragePartnerModel.SaveProxy>;
|
|
71
145
|
}
|
|
72
146
|
import FileStoragePartnerModel = require("./FileStoragePartnerModel");
|