@gofynd/fdk-client-javascript 1.4.15-beta.13 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- 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 +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- 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
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -9,6 +9,7 @@ declare class User {
|
|
|
9
9
|
deleteMobileNumber: string;
|
|
10
10
|
deleteUser: string;
|
|
11
11
|
forgotPassword: string;
|
|
12
|
+
getAttributesDefinition: string;
|
|
12
13
|
getListOfActiveSessions: string;
|
|
13
14
|
getLoggedInUser: string;
|
|
14
15
|
getPlatformConfig: string;
|
|
@@ -27,8 +28,10 @@ declare class User {
|
|
|
27
28
|
resetForgotPassword: string;
|
|
28
29
|
sendForgotOTPOnEmail: string;
|
|
29
30
|
sendForgotOTPOnMobile: string;
|
|
31
|
+
sendOTPForUpdate: string;
|
|
30
32
|
sendOTPOnEmail: string;
|
|
31
33
|
sendOTPOnMobile: string;
|
|
34
|
+
sendOTPOnPrimary: string;
|
|
32
35
|
sendResetPasswordEmail: string;
|
|
33
36
|
sendResetPasswordMobile: string;
|
|
34
37
|
sendResetToken: string;
|
|
@@ -46,6 +49,8 @@ declare class User {
|
|
|
46
49
|
verifyMobile: string;
|
|
47
50
|
verifyMobileForgotOTP: string;
|
|
48
51
|
verifyMobileOTP: string;
|
|
52
|
+
verifyOTPForUpdate: string;
|
|
53
|
+
verifyOTPonPrimary: string;
|
|
49
54
|
};
|
|
50
55
|
_urls: {};
|
|
51
56
|
updateUrls(urls: any): void;
|
|
@@ -55,7 +60,7 @@ declare class User {
|
|
|
55
60
|
* @returns {Promise<VerifyEmailOTPSuccess>} - Success response
|
|
56
61
|
* @name addEmail
|
|
57
62
|
* @summary: Add Email to Profile
|
|
58
|
-
* @description: Add a new email address to the user's profile. - Check out [method documentation](https://
|
|
63
|
+
* @description: Add a new email address to the user's profile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/addEmail/).
|
|
59
64
|
*/
|
|
60
65
|
addEmail({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailOTPSuccess>;
|
|
61
66
|
/**
|
|
@@ -64,7 +69,7 @@ declare class User {
|
|
|
64
69
|
* @returns {Promise<VerifyMobileOTPSuccess>} - Success response
|
|
65
70
|
* @name addMobileNumber
|
|
66
71
|
* @summary: Add Mobile Number to Profile
|
|
67
|
-
* @description: Add a new mobile number to the user's profile. - Check out [method documentation](https://
|
|
72
|
+
* @description: Add a new mobile number to the user's profile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/addMobileNumber/).
|
|
68
73
|
*/
|
|
69
74
|
addMobileNumber({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyMobileOTPSuccess>;
|
|
70
75
|
/**
|
|
@@ -73,7 +78,7 @@ declare class User {
|
|
|
73
78
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
74
79
|
* @name deleteEmail
|
|
75
80
|
* @summary: Delete Email From Profile
|
|
76
|
-
* @description: Delete email from profile. - Check out [method documentation](https://
|
|
81
|
+
* @description: Delete email from profile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/deleteEmail/).
|
|
77
82
|
*/
|
|
78
83
|
deleteEmail({ active, primary, verified, email, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
79
84
|
/**
|
|
@@ -82,7 +87,7 @@ declare class User {
|
|
|
82
87
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
83
88
|
* @name deleteMobileNumber
|
|
84
89
|
* @summary: Delete Mobile Number From Profile
|
|
85
|
-
* @description: Delete mobile number from profile. - Check out [method documentation](https://
|
|
90
|
+
* @description: Delete mobile number from profile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/deleteMobileNumber/).
|
|
86
91
|
*/
|
|
87
92
|
deleteMobileNumber({ active, primary, verified, countryCode, phone, platform, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
88
93
|
/**
|
|
@@ -91,7 +96,7 @@ declare class User {
|
|
|
91
96
|
* @returns {Promise<DeleteUserSuccess>} - Success response
|
|
92
97
|
* @name deleteUser
|
|
93
98
|
* @summary: Verify OTP and Delete User
|
|
94
|
-
* @description: Verify OTP sent to mobile/email and delete the user's account. - Check out [method documentation](https://
|
|
99
|
+
* @description: Verify OTP sent to mobile/email and delete the user's account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/deleteUser/).
|
|
95
100
|
*/
|
|
96
101
|
deleteUser({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteUserSuccess>;
|
|
97
102
|
/**
|
|
@@ -100,16 +105,25 @@ declare class User {
|
|
|
100
105
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
101
106
|
* @name forgotPassword
|
|
102
107
|
* @summary: Reset Password via Code and login
|
|
103
|
-
* @description: Reset a password using the code sent on email or sms the login. - Check out [method documentation](https://
|
|
108
|
+
* @description: Reset a password using the code sent on email or sms the login. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/forgotPassword/).
|
|
104
109
|
*/
|
|
105
110
|
forgotPassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
111
|
+
/**
|
|
112
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
113
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
114
|
+
* @returns {Promise<Object>} - Success response
|
|
115
|
+
* @name getAttributesDefinition
|
|
116
|
+
* @summary: Get User Attribute Definitions
|
|
117
|
+
* @description: Retrieve user attribute definitions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/getAttributesDefinition/).
|
|
118
|
+
*/
|
|
119
|
+
getAttributesDefinition({ excludingIds, slug, type, customerEditable, encrypted, pinned, pinOrder, isLocked, name, registrationEnabled, registrationType, pageSize, pageNo, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<any>;
|
|
106
120
|
/**
|
|
107
121
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
108
122
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
109
123
|
* @returns {Promise<SessionListSuccess>} - Success response
|
|
110
124
|
* @name getListOfActiveSessions
|
|
111
125
|
* @summary: Get List OF Active Sessions
|
|
112
|
-
* @description: Retrieve all active sessions of a user. - Check out [method documentation](https://
|
|
126
|
+
* @description: Retrieve all active sessions of a user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/getListOfActiveSessions/).
|
|
113
127
|
*/
|
|
114
128
|
getListOfActiveSessions({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SessionListSuccess>;
|
|
115
129
|
/**
|
|
@@ -118,7 +132,7 @@ declare class User {
|
|
|
118
132
|
* @returns {Promise<UserObjectSchema>} - Success response
|
|
119
133
|
* @name getLoggedInUser
|
|
120
134
|
* @summary: Get Logged in User
|
|
121
|
-
* @description: Retrieve information about the currently logged-in user. - Check out [method documentation](https://
|
|
135
|
+
* @description: Retrieve information about the currently logged-in user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/getLoggedInUser/).
|
|
122
136
|
*/
|
|
123
137
|
getLoggedInUser({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserObjectSchema>;
|
|
124
138
|
/**
|
|
@@ -127,7 +141,7 @@ declare class User {
|
|
|
127
141
|
* @returns {Promise<PlatformSchema>} - Success response
|
|
128
142
|
* @name getPlatformConfig
|
|
129
143
|
* @summary: Get Platform Configuration
|
|
130
|
-
* @description: Retrieve platform sales channel authentication configuration. - Check out [method documentation](https://
|
|
144
|
+
* @description: Retrieve platform sales channel authentication configuration. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/getPlatformConfig/).
|
|
131
145
|
*/
|
|
132
146
|
getPlatformConfig({ name, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PlatformSchema>;
|
|
133
147
|
/**
|
|
@@ -136,7 +150,7 @@ declare class User {
|
|
|
136
150
|
* @returns {Promise<UserAttributes>} - Success response
|
|
137
151
|
* @name getUserAttributes
|
|
138
152
|
* @summary: Get User Attributes
|
|
139
|
-
* @description: Get the list of user attributes. - Check out [method documentation](https://
|
|
153
|
+
* @description: Get the list of user attributes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/getUserAttributes/).
|
|
140
154
|
*/
|
|
141
155
|
getUserAttributes({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserAttributes>;
|
|
142
156
|
/**
|
|
@@ -145,7 +159,7 @@ declare class User {
|
|
|
145
159
|
* @returns {Promise<HasPasswordSuccess>} - Success response
|
|
146
160
|
* @name hasPassword
|
|
147
161
|
* @summary: Check Password Existence
|
|
148
|
-
* @description: Check if user has set an account password. - Check out [method documentation](https://
|
|
162
|
+
* @description: Check if user has set an account password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/hasPassword/).
|
|
149
163
|
*/
|
|
150
164
|
hasPassword({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<HasPasswordSuccess>;
|
|
151
165
|
/**
|
|
@@ -154,7 +168,7 @@ declare class User {
|
|
|
154
168
|
* @returns {Promise<AuthSuccess>} - Success response
|
|
155
169
|
* @name loginWithAppleIOS
|
|
156
170
|
* @summary: iOS Login with Apple
|
|
157
|
-
* @description: Enable ios users to log in to the system using their apple id. - Check out [method documentation](https://
|
|
171
|
+
* @description: Enable ios users to log in to the system using their apple id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithAppleIOS/).
|
|
158
172
|
*/
|
|
159
173
|
loginWithAppleIOS({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AuthSuccess>;
|
|
160
174
|
/**
|
|
@@ -163,7 +177,7 @@ declare class User {
|
|
|
163
177
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
164
178
|
* @name loginWithEmailAndPassword
|
|
165
179
|
* @summary: Email and Password Login
|
|
166
|
-
* @description: Allow login using an email and password combination. - Check out [method documentation](https://
|
|
180
|
+
* @description: Allow login using an email and password combination. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithEmailAndPassword/).
|
|
167
181
|
*/
|
|
168
182
|
loginWithEmailAndPassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
169
183
|
/**
|
|
@@ -172,7 +186,7 @@ declare class User {
|
|
|
172
186
|
* @returns {Promise<AuthSuccess>} - Success response
|
|
173
187
|
* @name loginWithFacebook
|
|
174
188
|
* @summary: Login with Facebook
|
|
175
|
-
* @description: Enable users to log in to the system using their facebook accounts. - Check out [method documentation](https://
|
|
189
|
+
* @description: Enable users to log in to the system using their facebook accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithFacebook/).
|
|
176
190
|
*/
|
|
177
191
|
loginWithFacebook({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AuthSuccess>;
|
|
178
192
|
/**
|
|
@@ -181,7 +195,7 @@ declare class User {
|
|
|
181
195
|
* @returns {Promise<AuthSuccess>} - Success response
|
|
182
196
|
* @name loginWithGoogle
|
|
183
197
|
* @summary: Login with Google
|
|
184
|
-
* @description: Enable website users to log in to the system using their google accounts. - Check out [method documentation](https://
|
|
198
|
+
* @description: Enable website users to log in to the system using their google accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithGoogle/).
|
|
185
199
|
*/
|
|
186
200
|
loginWithGoogle({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AuthSuccess>;
|
|
187
201
|
/**
|
|
@@ -190,7 +204,7 @@ declare class User {
|
|
|
190
204
|
* @returns {Promise<AuthSuccess>} - Success response
|
|
191
205
|
* @name loginWithGoogleAndroid
|
|
192
206
|
* @summary: Android Login with Google
|
|
193
|
-
* @description: Enable android users to log in to the system using their facebook accounts. - Check out [method documentation](https://
|
|
207
|
+
* @description: Enable android users to log in to the system using their facebook accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithGoogleAndroid/).
|
|
194
208
|
*/
|
|
195
209
|
loginWithGoogleAndroid({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AuthSuccess>;
|
|
196
210
|
/**
|
|
@@ -199,25 +213,25 @@ declare class User {
|
|
|
199
213
|
* @returns {Promise<AuthSuccess>} - Success response
|
|
200
214
|
* @name loginWithGoogleIOS
|
|
201
215
|
* @summary: iOS Login with Google
|
|
202
|
-
* @description: Enable ios users to log in to the system using their facebook accounts. - Check out [method documentation](https://
|
|
216
|
+
* @description: Enable ios users to log in to the system using their facebook accounts. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithGoogleIOS/).
|
|
203
217
|
*/
|
|
204
218
|
loginWithGoogleIOS({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AuthSuccess>;
|
|
205
219
|
/**
|
|
206
220
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
207
221
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
208
|
-
* @returns {Promise<
|
|
222
|
+
* @returns {Promise<SendOtp>} - Success response
|
|
209
223
|
* @name loginWithOTP
|
|
210
224
|
* @summary: Login with Mobile OTP
|
|
211
|
-
* @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://
|
|
225
|
+
* @description: Allow users to log in using a one-time password sent to their mobile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithOTP/).
|
|
212
226
|
*/
|
|
213
|
-
loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
227
|
+
loginWithOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtp>;
|
|
214
228
|
/**
|
|
215
229
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
216
230
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
217
231
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
218
232
|
* @name loginWithToken
|
|
219
233
|
* @summary: Login with Token
|
|
220
|
-
* @description: Login user using a token for authentication. - Check out [method documentation](https://
|
|
234
|
+
* @description: Login user using a token for authentication. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/loginWithToken/).
|
|
221
235
|
*/
|
|
222
236
|
loginWithToken({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
223
237
|
/**
|
|
@@ -226,7 +240,7 @@ declare class User {
|
|
|
226
240
|
* @returns {Promise<LogoutSuccess>} - Success response
|
|
227
241
|
* @name logout
|
|
228
242
|
* @summary: Logout Current User
|
|
229
|
-
* @description: Logout currently logged-in user. - Check out [method documentation](https://
|
|
243
|
+
* @description: Logout currently logged-in user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/logout/).
|
|
230
244
|
*/
|
|
231
245
|
logout({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LogoutSuccess>;
|
|
232
246
|
/**
|
|
@@ -235,7 +249,7 @@ declare class User {
|
|
|
235
249
|
* @returns {Promise<RegisterFormSuccess>} - Success response
|
|
236
250
|
* @name registerWithForm
|
|
237
251
|
* @summary: Register User with Form
|
|
238
|
-
* @description: Enable new users to register using a form. - Check out [method documentation](https://
|
|
252
|
+
* @description: Enable new users to register using a form. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/registerWithForm/).
|
|
239
253
|
*/
|
|
240
254
|
registerWithForm({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RegisterFormSuccess>;
|
|
241
255
|
/**
|
|
@@ -244,7 +258,7 @@ declare class User {
|
|
|
244
258
|
* @returns {Promise<ResetForgotPasswordSuccess>} - Success response
|
|
245
259
|
* @name resetForgotPassword
|
|
246
260
|
* @summary: Reset Password via Code
|
|
247
|
-
* @description: Reset a password using the code sent on email or sms. - Check out [method documentation](https://
|
|
261
|
+
* @description: Reset a password using the code sent on email or sms. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/resetForgotPassword/).
|
|
248
262
|
*/
|
|
249
263
|
resetForgotPassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResetForgotPasswordSuccess>;
|
|
250
264
|
/**
|
|
@@ -253,43 +267,61 @@ declare class User {
|
|
|
253
267
|
* @returns {Promise<EmailOtpSuccess>} - Success response
|
|
254
268
|
* @name sendForgotOTPOnEmail
|
|
255
269
|
* @summary: Send Email OTP for Forgot Password
|
|
256
|
-
* @description: Send a one-time password to the user's email for verification when resetting a forgotten password. - Check out [method documentation](https://
|
|
270
|
+
* @description: Send a one-time password to the user's email for verification when resetting a forgotten password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendForgotOTPOnEmail/).
|
|
257
271
|
*/
|
|
258
272
|
sendForgotOTPOnEmail({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EmailOtpSuccess>;
|
|
259
273
|
/**
|
|
260
274
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
261
275
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
262
|
-
* @returns {Promise<
|
|
276
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
263
277
|
* @name sendForgotOTPOnMobile
|
|
264
278
|
* @summary: Send mobile OTP for forgot-password
|
|
265
|
-
* @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://
|
|
279
|
+
* @description: Send a one-time password to the user's mobile for verification when resetting a forgotten password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendForgotOTPOnMobile/).
|
|
266
280
|
*/
|
|
267
|
-
sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
281
|
+
sendForgotOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
|
|
282
|
+
/**
|
|
283
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
284
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
285
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
286
|
+
* @name sendOTPForUpdate
|
|
287
|
+
* @summary: Send OTP to update Mobile or Email
|
|
288
|
+
* @description: Send OTP to mobile number or email. User needs to use sendOTPOnPrimary and verifyOTPonPrimary before using this method to update details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendOTPForUpdate/).
|
|
289
|
+
*/
|
|
290
|
+
sendOTPForUpdate({ entity, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SendOtpSuccess>;
|
|
268
291
|
/**
|
|
269
292
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
270
293
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
271
294
|
* @returns {Promise<EmailOtpSuccess>} - Success response
|
|
272
295
|
* @name sendOTPOnEmail
|
|
273
296
|
* @summary: Send OTP on Email
|
|
274
|
-
* @description: Send a one-time password to the user's email for verification. - Check out [method documentation](https://
|
|
297
|
+
* @description: Send a one-time password to the user's email for verification. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendOTPOnEmail/).
|
|
275
298
|
*/
|
|
276
299
|
sendOTPOnEmail({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EmailOtpSuccess>;
|
|
277
300
|
/**
|
|
278
301
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
302
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
280
|
-
* @returns {Promise<
|
|
303
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
281
304
|
* @name sendOTPOnMobile
|
|
282
305
|
* @summary: Send OTP on Mobile
|
|
283
|
-
* @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://
|
|
306
|
+
* @description: Send a one-time password to the user's mobile for verification. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendOTPOnMobile/).
|
|
284
307
|
*/
|
|
285
|
-
sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
308
|
+
sendOTPOnMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendOtpSuccess>;
|
|
309
|
+
/**
|
|
310
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
311
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
312
|
+
* @returns {Promise<SendOtpSuccess>} - Success response
|
|
313
|
+
* @name sendOTPOnPrimary
|
|
314
|
+
* @summary: Send OTP to Primary Mobile or Email
|
|
315
|
+
* @description: Send OTP to primary mobile number or email to verify primary details. Use this to update Email or Mobile, other APIs will be deprecated. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendOTPOnPrimary/).
|
|
316
|
+
*/
|
|
317
|
+
sendOTPOnPrimary({ entity, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SendOtpSuccess>;
|
|
286
318
|
/**
|
|
287
319
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
288
320
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
289
321
|
* @returns {Promise<ResetPasswordSuccess>} - Success response
|
|
290
322
|
* @name sendResetPasswordEmail
|
|
291
323
|
* @summary: Reset Password via Email
|
|
292
|
-
* @description: Send a password reset link to the user's email. - Check out [method documentation](https://
|
|
324
|
+
* @description: Send a password reset link to the user's email. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendResetPasswordEmail/).
|
|
293
325
|
*/
|
|
294
326
|
sendResetPasswordEmail({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResetPasswordSuccess>;
|
|
295
327
|
/**
|
|
@@ -298,7 +330,7 @@ declare class User {
|
|
|
298
330
|
* @returns {Promise<any>} - Success response
|
|
299
331
|
* @name sendResetPasswordMobile
|
|
300
332
|
* @summary: Reset Password via Mobile
|
|
301
|
-
* @description: Send a password reset link to the user's mobile. - Check out [method documentation](https://
|
|
333
|
+
* @description: Send a password reset link to the user's mobile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendResetPasswordMobile/).
|
|
302
334
|
*/
|
|
303
335
|
sendResetPasswordMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<any>;
|
|
304
336
|
/**
|
|
@@ -307,7 +339,7 @@ declare class User {
|
|
|
307
339
|
* @returns {Promise<ResetPasswordSuccess>} - Success response
|
|
308
340
|
* @name sendResetToken
|
|
309
341
|
* @summary: Validate Password Reset Code
|
|
310
|
-
* @description: Validate password reset link code. - Check out [method documentation](https://
|
|
342
|
+
* @description: Validate password reset link code. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendResetToken/).
|
|
311
343
|
*/
|
|
312
344
|
sendResetToken({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResetPasswordSuccess>;
|
|
313
345
|
/**
|
|
@@ -316,7 +348,7 @@ declare class User {
|
|
|
316
348
|
* @returns {Promise<SendEmailVerifyLinkSuccess>} - Success response
|
|
317
349
|
* @name sendVerificationLinkToEmail
|
|
318
350
|
* @summary: Send Verification Link to Email
|
|
319
|
-
* @description: Send a verification link to a newly added email address. - Check out [method documentation](https://
|
|
351
|
+
* @description: Send a verification link to a newly added email address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendVerificationLinkToEmail/).
|
|
320
352
|
*/
|
|
321
353
|
sendVerificationLinkToEmail({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendEmailVerifyLinkSuccess>;
|
|
322
354
|
/**
|
|
@@ -325,7 +357,7 @@ declare class User {
|
|
|
325
357
|
* @returns {Promise<SendMobileVerifyLinkSuccess>} - Success response
|
|
326
358
|
* @name sendVerificationLinkToMobile
|
|
327
359
|
* @summary: Send Verification Link to Mobile
|
|
328
|
-
* @description: Send a verification link to a newly added mobile number. - Check out [method documentation](https://
|
|
360
|
+
* @description: Send a verification link to a newly added mobile number. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/sendVerificationLinkToMobile/).
|
|
329
361
|
*/
|
|
330
362
|
sendVerificationLinkToMobile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SendMobileVerifyLinkSuccess>;
|
|
331
363
|
/**
|
|
@@ -334,7 +366,7 @@ declare class User {
|
|
|
334
366
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
335
367
|
* @name setEmailAsPrimary
|
|
336
368
|
* @summary: Set Email as Primary
|
|
337
|
-
* @description: Set an email address as the primary contact for the user. - Check out [method documentation](https://
|
|
369
|
+
* @description: Set an email address as the primary contact for the user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/setEmailAsPrimary/).
|
|
338
370
|
*/
|
|
339
371
|
setEmailAsPrimary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
340
372
|
/**
|
|
@@ -343,7 +375,7 @@ declare class User {
|
|
|
343
375
|
* @returns {Promise<LoginSuccess>} - Success response
|
|
344
376
|
* @name setMobileNumberAsPrimary
|
|
345
377
|
* @summary: Set Mobile as Primary
|
|
346
|
-
* @description: Set a mobile number as the primary contact for the user. - Check out [method documentation](https://
|
|
378
|
+
* @description: Set a mobile number as the primary contact for the user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/setMobileNumberAsPrimary/).
|
|
347
379
|
*/
|
|
348
380
|
setMobileNumberAsPrimary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LoginSuccess>;
|
|
349
381
|
/**
|
|
@@ -351,8 +383,8 @@ declare class User {
|
|
|
351
383
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
352
384
|
* @returns {Promise<VerifyEmailSuccess>} - Success response
|
|
353
385
|
* @name updatePassword
|
|
354
|
-
* @summary: Update
|
|
355
|
-
* @description: Allow user to change their password. - Check out [method documentation](https://
|
|
386
|
+
* @summary: Update password
|
|
387
|
+
* @description: Allow user to change their password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/updatePassword/).
|
|
356
388
|
*/
|
|
357
389
|
updatePassword({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailSuccess>;
|
|
358
390
|
/**
|
|
@@ -361,7 +393,7 @@ declare class User {
|
|
|
361
393
|
* @returns {Promise<ProfileEditSuccess>} - Success response
|
|
362
394
|
* @name updateProfile
|
|
363
395
|
* @summary: Edit User Profile Details
|
|
364
|
-
* @description: Allow users to modify and update their profile details. - Check out [method documentation](https://
|
|
396
|
+
* @description: Allow users to modify and update their profile details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/updateProfile/).
|
|
365
397
|
*/
|
|
366
398
|
updateProfile({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ProfileEditSuccess>;
|
|
367
399
|
/**
|
|
@@ -370,25 +402,25 @@ declare class User {
|
|
|
370
402
|
* @returns {Promise<UserAttributes>} - Success response
|
|
371
403
|
* @name updateUserAttributes
|
|
372
404
|
* @summary: Update User Attributes
|
|
373
|
-
* @description: Update user attributes. - Check out [method documentation](https://
|
|
405
|
+
* @description: Update user attributes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/updateUserAttributes/).
|
|
374
406
|
*/
|
|
375
407
|
updateUserAttributes({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserAttributes>;
|
|
376
408
|
/**
|
|
377
409
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
378
410
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
379
|
-
* @returns {Promise<
|
|
411
|
+
* @returns {Promise<UserExistsDetails>} - Success response
|
|
380
412
|
* @name userExists
|
|
381
413
|
* @summary: Chcek User Existence
|
|
382
|
-
* @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://
|
|
414
|
+
* @description: Check whether user is already registered or not to the sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/userExists/).
|
|
383
415
|
*/
|
|
384
|
-
userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
416
|
+
userExists({ q, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UserExistsDetails>;
|
|
385
417
|
/**
|
|
386
418
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
387
419
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
388
420
|
* @returns {Promise<VerifyEmailSuccess>} - Success response
|
|
389
421
|
* @name verifyEmail
|
|
390
422
|
* @summary: Verify Email with Code
|
|
391
|
-
* @description: Verify user email with a code sent within a link sent to their email. - Check out [method documentation](https://
|
|
423
|
+
* @description: Verify user email with a code sent within a link sent to their email. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyEmail/).
|
|
392
424
|
*/
|
|
393
425
|
verifyEmail({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailSuccess>;
|
|
394
426
|
/**
|
|
@@ -397,7 +429,7 @@ declare class User {
|
|
|
397
429
|
* @returns {Promise<VerifyForgotOtpSuccess>} - Success response
|
|
398
430
|
* @name verifyEmailForgotOTP
|
|
399
431
|
* @summary: Verify Email OTP for Forgot Password
|
|
400
|
-
* @description: Verify one-time password sent to user's email for resetting a forgotten password. - Check out [method documentation](https://
|
|
432
|
+
* @description: Verify one-time password sent to user's email for resetting a forgotten password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyEmailForgotOTP/).
|
|
401
433
|
*/
|
|
402
434
|
verifyEmailForgotOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyForgotOtpSuccess>;
|
|
403
435
|
/**
|
|
@@ -406,7 +438,7 @@ declare class User {
|
|
|
406
438
|
* @returns {Promise<VerifyOtpSuccess>} - Success response
|
|
407
439
|
* @name verifyEmailOTP
|
|
408
440
|
* @summary: Verify Email OTP
|
|
409
|
-
* @description: Verify one-time password sent to user's email. - Check out [method documentation](https://
|
|
441
|
+
* @description: Verify one-time password sent to user's email. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyEmailOTP/).
|
|
410
442
|
*/
|
|
411
443
|
verifyEmailOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyOtpSuccess>;
|
|
412
444
|
/**
|
|
@@ -415,7 +447,7 @@ declare class User {
|
|
|
415
447
|
* @returns {Promise<VerifyEmailSuccess>} - Success response
|
|
416
448
|
* @name verifyMobile
|
|
417
449
|
* @summary: Verify Mobile with Code
|
|
418
|
-
* @description: Verify user mobile with a code sent within a link sent to their mobile. - Check out [method documentation](https://
|
|
450
|
+
* @description: Verify user mobile with a code sent within a link sent to their mobile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyMobile/).
|
|
419
451
|
*/
|
|
420
452
|
verifyMobile({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyEmailSuccess>;
|
|
421
453
|
/**
|
|
@@ -424,7 +456,7 @@ declare class User {
|
|
|
424
456
|
* @returns {Promise<VerifyForgotOtpSuccess>} - Success response
|
|
425
457
|
* @name verifyMobileForgotOTP
|
|
426
458
|
* @summary: Verify Mobile OTP for Forgot Password
|
|
427
|
-
* @description: Verify one-time password sent to user's mobile for resetting a forgotten password. - Check out [method documentation](https://
|
|
459
|
+
* @description: Verify one-time password sent to user's mobile for resetting a forgotten password. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyMobileForgotOTP/).
|
|
428
460
|
*/
|
|
429
461
|
verifyMobileForgotOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyForgotOtpSuccess>;
|
|
430
462
|
/**
|
|
@@ -432,8 +464,26 @@ declare class User {
|
|
|
432
464
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
433
465
|
* @returns {Promise<VerifyOtpSuccess>} - Success response
|
|
434
466
|
* @name verifyMobileOTP
|
|
435
|
-
* @summary: Verify
|
|
436
|
-
* @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://
|
|
467
|
+
* @summary: Verify mobile OTP
|
|
468
|
+
* @description: Verify one-time password sent to user's mobile. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyMobileOTP/).
|
|
437
469
|
*/
|
|
438
470
|
verifyMobileOTP({ body, platform, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<VerifyOtpSuccess>;
|
|
471
|
+
/**
|
|
472
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
473
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
474
|
+
* @returns {Promise<VerifyOtpSuccess>} - Success response
|
|
475
|
+
* @name verifyOTPForUpdate
|
|
476
|
+
* @summary: Verify OTP sent to Mobile or Email to update primary details.
|
|
477
|
+
* @description: Verify OTP sent to Mobile number or Email to update primary details. User needs to use sendOTPOnPrimary, verifyOTPonPrimary and sendOTPForUpdate before using this method to verify update details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyOTPForUpdate/).
|
|
478
|
+
*/
|
|
479
|
+
verifyOTPForUpdate({ entity, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<VerifyOtpSuccess>;
|
|
480
|
+
/**
|
|
481
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
482
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
483
|
+
* @returns {Promise<VerifyPrimaryOTPSuccess>} - Success response
|
|
484
|
+
* @name verifyOTPonPrimary
|
|
485
|
+
* @summary: Verify OTP sent to Primary Mobile or Email
|
|
486
|
+
* @description: Verify OTP sent to primary mobile number or email to verify primary details. User needs to use sendOTPOnPrimary before verifying OTP. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/user/verifyOTPonPrimary/).
|
|
487
|
+
*/
|
|
488
|
+
verifyOTPonPrimary({ entity, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<VerifyPrimaryOTPSuccess>;
|
|
439
489
|
}
|