@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -43,228 +43,258 @@ declare class User {
|
|
|
43
43
|
updateUrls(urls: any): void;
|
|
44
44
|
/**
|
|
45
45
|
* @param {UserApplicationValidator.AddEmailParam} arg - Arg object.
|
|
46
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
47
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
47
48
|
* @returns {Promise<UserApplicationModel.VerifyEmailOTPSuccess>} - Success response
|
|
48
49
|
* @name addEmail
|
|
49
50
|
* @summary: Add email to profile
|
|
50
51
|
* @description: Use this API to add a new email address to a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addEmail/).
|
|
51
52
|
*/
|
|
52
|
-
addEmail({ body, platform }?: UserApplicationValidator.AddEmailParam, {
|
|
53
|
+
addEmail({ body, platform, requestHeaders }?: UserApplicationValidator.AddEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyEmailOTPSuccess>;
|
|
53
54
|
/**
|
|
54
55
|
* @param {UserApplicationValidator.AddMobileNumberParam} arg - Arg object.
|
|
56
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
55
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
56
58
|
* @returns {Promise<UserApplicationModel.VerifyMobileOTPSuccess>} - Success response
|
|
57
59
|
* @name addMobileNumber
|
|
58
60
|
* @summary: Add mobile number to profile
|
|
59
61
|
* @description: Use this API to add a new mobile number to a profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/addMobileNumber/).
|
|
60
62
|
*/
|
|
61
|
-
addMobileNumber({ body, platform }?: UserApplicationValidator.AddMobileNumberParam, {
|
|
63
|
+
addMobileNumber({ body, platform, requestHeaders }?: UserApplicationValidator.AddMobileNumberParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyMobileOTPSuccess>;
|
|
62
64
|
/**
|
|
63
65
|
* @param {UserApplicationValidator.DeleteEmailParam} arg - Arg object.
|
|
66
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
64
67
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
65
68
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
66
69
|
* @name deleteEmail
|
|
67
70
|
* @summary: Delete email from profile
|
|
68
71
|
* @description: Use this API to delete an email address from a profile - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteEmail/).
|
|
69
72
|
*/
|
|
70
|
-
deleteEmail({ active, primary, verified, email, platform }?: UserApplicationValidator.DeleteEmailParam, {
|
|
73
|
+
deleteEmail({ active, primary, verified, email, platform, requestHeaders }?: UserApplicationValidator.DeleteEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
71
74
|
/**
|
|
72
75
|
* @param {UserApplicationValidator.DeleteMobileNumberParam} arg - Arg object.
|
|
76
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
73
77
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
74
78
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
75
79
|
* @name deleteMobileNumber
|
|
76
80
|
* @summary: Delete mobile number from profile
|
|
77
81
|
* @description: Use this API to delete a mobile number from a profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteMobileNumber/).
|
|
78
82
|
*/
|
|
79
|
-
deleteMobileNumber({ active, primary, verified, countryCode, phone, platform }?: UserApplicationValidator.DeleteMobileNumberParam, {
|
|
83
|
+
deleteMobileNumber({ active, primary, verified, countryCode, phone, platform, requestHeaders, }?: UserApplicationValidator.DeleteMobileNumberParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
80
84
|
/**
|
|
81
85
|
* @param {UserApplicationValidator.DeleteUserParam} arg - Arg object.
|
|
86
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
82
87
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
83
88
|
* @returns {Promise<UserApplicationModel.DeleteUserSuccess>} - Success response
|
|
84
89
|
* @name deleteUser
|
|
85
90
|
* @summary: verify otp and delete user
|
|
86
91
|
* @description: verify otp and delete user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/deleteUser/).
|
|
87
92
|
*/
|
|
88
|
-
deleteUser({ body }?: UserApplicationValidator.DeleteUserParam, {
|
|
93
|
+
deleteUser({ body, requestHeaders }?: UserApplicationValidator.DeleteUserParam, { responseHeaders }?: object): Promise<UserApplicationModel.DeleteUserSuccess>;
|
|
89
94
|
/**
|
|
90
95
|
* @param {UserApplicationValidator.ForgotPasswordParam} arg - Arg object.
|
|
96
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
91
97
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
92
98
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
93
99
|
* @name forgotPassword
|
|
94
100
|
* @summary: Forgot Password
|
|
95
101
|
* @description: Use this API to reset a password using the code sent on email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/forgotPassword/).
|
|
96
102
|
*/
|
|
97
|
-
forgotPassword({ body }?: UserApplicationValidator.ForgotPasswordParam, {
|
|
103
|
+
forgotPassword({ body, requestHeaders }?: UserApplicationValidator.ForgotPasswordParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
98
104
|
/**
|
|
105
|
+
* @param {UserApplicationValidator.GetListOfActiveSessionsParam} arg - Arg object.
|
|
106
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
107
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
100
108
|
* @returns {Promise<UserApplicationModel.SessionListSuccess>} - Success response
|
|
101
109
|
* @name getListOfActiveSessions
|
|
102
110
|
* @summary: Get list of sessions
|
|
103
111
|
* @description: Use this API to retrieve all active sessions of a user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getListOfActiveSessions/).
|
|
104
112
|
*/
|
|
105
|
-
getListOfActiveSessions({
|
|
113
|
+
getListOfActiveSessions({ requestHeaders }?: any, { responseHeaders }?: object): Promise<UserApplicationModel.SessionListSuccess>;
|
|
106
114
|
/**
|
|
115
|
+
* @param {UserApplicationValidator.GetLoggedInUserParam} arg - Arg object.
|
|
116
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
107
117
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
108
118
|
* @returns {Promise<UserApplicationModel.UserObjectSchema>} - Success response
|
|
109
119
|
* @name getLoggedInUser
|
|
110
120
|
* @summary: Get logged in user
|
|
111
121
|
* @description: Use this API to get the details of a logged in user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getLoggedInUser/).
|
|
112
122
|
*/
|
|
113
|
-
getLoggedInUser({
|
|
123
|
+
getLoggedInUser({ requestHeaders }?: any, { responseHeaders }?: object): Promise<UserApplicationModel.UserObjectSchema>;
|
|
114
124
|
/**
|
|
115
125
|
* @param {UserApplicationValidator.GetPlatformConfigParam} arg - Arg object.
|
|
126
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
116
127
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
117
128
|
* @returns {Promise<UserApplicationModel.PlatformSchema>} - Success response
|
|
118
129
|
* @name getPlatformConfig
|
|
119
130
|
* @summary: Get platform configurations
|
|
120
131
|
* @description: Use this API to get all the platform configurations such as mobile image, desktop image, social logins, and all other text. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/getPlatformConfig/).
|
|
121
132
|
*/
|
|
122
|
-
getPlatformConfig({ name }?: UserApplicationValidator.GetPlatformConfigParam, {
|
|
133
|
+
getPlatformConfig({ name, requestHeaders }?: UserApplicationValidator.GetPlatformConfigParam, { responseHeaders }?: object): Promise<UserApplicationModel.PlatformSchema>;
|
|
123
134
|
/**
|
|
135
|
+
* @param {UserApplicationValidator.HasPasswordParam} arg - Arg object.
|
|
136
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
124
137
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
125
138
|
* @returns {Promise<UserApplicationModel.HasPasswordSuccess>} - Success response
|
|
126
139
|
* @name hasPassword
|
|
127
140
|
* @summary: Check password
|
|
128
141
|
* @description: Use this API to check if user has created a password for login. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/hasPassword/).
|
|
129
142
|
*/
|
|
130
|
-
hasPassword({
|
|
143
|
+
hasPassword({ requestHeaders }?: any, { responseHeaders }?: object): Promise<UserApplicationModel.HasPasswordSuccess>;
|
|
131
144
|
/**
|
|
132
145
|
* @param {UserApplicationValidator.LoginWithAppleIOSParam} arg - Arg object.
|
|
146
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
133
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
134
148
|
* @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
|
|
135
149
|
* @name loginWithAppleIOS
|
|
136
150
|
* @summary: Login or Register using Apple on iOS
|
|
137
151
|
* @description: Use this API to login or register in iOS app using Apple Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithAppleIOS/).
|
|
138
152
|
*/
|
|
139
|
-
loginWithAppleIOS({ body, platform }?: UserApplicationValidator.LoginWithAppleIOSParam, {
|
|
153
|
+
loginWithAppleIOS({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithAppleIOSParam, { responseHeaders }?: object): Promise<UserApplicationModel.AuthSuccess>;
|
|
140
154
|
/**
|
|
141
155
|
* @param {UserApplicationValidator.LoginWithEmailAndPasswordParam} arg - Arg object.
|
|
156
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
142
157
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
143
158
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
144
159
|
* @name loginWithEmailAndPassword
|
|
145
160
|
* @summary: Login or Register with password
|
|
146
161
|
* @description: Use this API to login or register using an email address and password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithEmailAndPassword/).
|
|
147
162
|
*/
|
|
148
|
-
loginWithEmailAndPassword({ body }?: UserApplicationValidator.LoginWithEmailAndPasswordParam, {
|
|
163
|
+
loginWithEmailAndPassword({ body, requestHeaders }?: UserApplicationValidator.LoginWithEmailAndPasswordParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
149
164
|
/**
|
|
150
165
|
* @param {UserApplicationValidator.LoginWithFacebookParam} arg - Arg object.
|
|
166
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
151
167
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
152
168
|
* @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
|
|
153
169
|
* @name loginWithFacebook
|
|
154
170
|
* @summary: Login or Register using Facebook
|
|
155
171
|
* @description: Use this API to login or register using Facebook credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithFacebook/).
|
|
156
172
|
*/
|
|
157
|
-
loginWithFacebook({ body, platform }?: UserApplicationValidator.LoginWithFacebookParam, {
|
|
173
|
+
loginWithFacebook({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithFacebookParam, { responseHeaders }?: object): Promise<UserApplicationModel.AuthSuccess>;
|
|
158
174
|
/**
|
|
159
175
|
* @param {UserApplicationValidator.LoginWithGoogleParam} arg - Arg object.
|
|
176
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
160
177
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
161
178
|
* @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
|
|
162
179
|
* @name loginWithGoogle
|
|
163
180
|
* @summary: Login or Register using Google
|
|
164
181
|
* @description: Use this API to login or register using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogle/).
|
|
165
182
|
*/
|
|
166
|
-
loginWithGoogle({ body, platform }?: UserApplicationValidator.LoginWithGoogleParam, {
|
|
183
|
+
loginWithGoogle({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithGoogleParam, { responseHeaders }?: object): Promise<UserApplicationModel.AuthSuccess>;
|
|
167
184
|
/**
|
|
168
185
|
* @param {UserApplicationValidator.LoginWithGoogleAndroidParam} arg - Arg object.
|
|
186
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
169
187
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
170
188
|
* @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
|
|
171
189
|
* @name loginWithGoogleAndroid
|
|
172
190
|
* @summary: Login or Register using Google on Android
|
|
173
191
|
* @description: Use this API to login or register in Android app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleAndroid/).
|
|
174
192
|
*/
|
|
175
|
-
loginWithGoogleAndroid({ body, platform }?: UserApplicationValidator.LoginWithGoogleAndroidParam, {
|
|
193
|
+
loginWithGoogleAndroid({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithGoogleAndroidParam, { responseHeaders }?: object): Promise<UserApplicationModel.AuthSuccess>;
|
|
176
194
|
/**
|
|
177
195
|
* @param {UserApplicationValidator.LoginWithGoogleIOSParam} arg - Arg object.
|
|
196
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
178
197
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
179
198
|
* @returns {Promise<UserApplicationModel.AuthSuccess>} - Success response
|
|
180
199
|
* @name loginWithGoogleIOS
|
|
181
200
|
* @summary: Login or Register using Google on iOS
|
|
182
201
|
* @description: Use this API to login or register in iOS app using Google Account credentials. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithGoogleIOS/).
|
|
183
202
|
*/
|
|
184
|
-
loginWithGoogleIOS({ body, platform }?: UserApplicationValidator.LoginWithGoogleIOSParam, {
|
|
203
|
+
loginWithGoogleIOS({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithGoogleIOSParam, { responseHeaders }?: object): Promise<UserApplicationModel.AuthSuccess>;
|
|
185
204
|
/**
|
|
186
205
|
* @param {UserApplicationValidator.LoginWithOTPParam} arg - Arg object.
|
|
206
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
187
207
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
188
208
|
* @returns {Promise<UserApplicationModel.SendOtpResponse>} - Success response
|
|
189
209
|
* @name loginWithOTP
|
|
190
210
|
* @summary: Login or Register with OTP
|
|
191
211
|
* @description: Use this API to login or register with a One-time Password (OTP) sent via Email or SMS. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithOTP/).
|
|
192
212
|
*/
|
|
193
|
-
loginWithOTP({ body, platform }?: UserApplicationValidator.LoginWithOTPParam, {
|
|
213
|
+
loginWithOTP({ body, platform, requestHeaders }?: UserApplicationValidator.LoginWithOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendOtpResponse>;
|
|
194
214
|
/**
|
|
195
215
|
* @param {UserApplicationValidator.LoginWithTokenParam} arg - Arg object.
|
|
216
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
196
217
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
197
218
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
198
219
|
* @name loginWithToken
|
|
199
220
|
* @summary: Login or Register with token
|
|
200
221
|
* @description: Use this API to login or register using a token for authentication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/loginWithToken/).
|
|
201
222
|
*/
|
|
202
|
-
loginWithToken({ body }?: UserApplicationValidator.LoginWithTokenParam, {
|
|
223
|
+
loginWithToken({ body, requestHeaders }?: UserApplicationValidator.LoginWithTokenParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
203
224
|
/**
|
|
225
|
+
* @param {UserApplicationValidator.LogoutParam} arg - Arg object.
|
|
226
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
204
227
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
205
228
|
* @returns {Promise<UserApplicationModel.LogoutSuccess>} - Success response
|
|
206
229
|
* @name logout
|
|
207
230
|
* @summary: Logs out currently logged in user
|
|
208
231
|
* @description: Use this API to check to logout a user from the app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/logout/).
|
|
209
232
|
*/
|
|
210
|
-
logout({
|
|
233
|
+
logout({ requestHeaders }?: any, { responseHeaders }?: object): Promise<UserApplicationModel.LogoutSuccess>;
|
|
211
234
|
/**
|
|
212
235
|
* @param {UserApplicationValidator.RegisterWithFormParam} arg - Arg object.
|
|
236
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
213
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
214
238
|
* @returns {Promise<UserApplicationModel.RegisterFormSuccess>} - Success response
|
|
215
239
|
* @name registerWithForm
|
|
216
240
|
* @summary: Registration using a form
|
|
217
241
|
* @description: Use this API to perform user registration by sending form data in the request body. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/registerWithForm/).
|
|
218
242
|
*/
|
|
219
|
-
registerWithForm({ body, platform }?: UserApplicationValidator.RegisterWithFormParam, {
|
|
243
|
+
registerWithForm({ body, platform, requestHeaders }?: UserApplicationValidator.RegisterWithFormParam, { responseHeaders }?: object): Promise<UserApplicationModel.RegisterFormSuccess>;
|
|
220
244
|
/**
|
|
221
245
|
* @param {UserApplicationValidator.SendOTPOnEmailParam} arg - Arg object.
|
|
246
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
222
247
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
223
248
|
* @returns {Promise<UserApplicationModel.EmailOtpSuccess>} - Success response
|
|
224
249
|
* @name sendOTPOnEmail
|
|
225
250
|
* @summary: Send OTP on email
|
|
226
251
|
* @description: Use this API to send an OTP to an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnEmail/).
|
|
227
252
|
*/
|
|
228
|
-
sendOTPOnEmail({ body, platform }?: UserApplicationValidator.SendOTPOnEmailParam, {
|
|
253
|
+
sendOTPOnEmail({ body, platform, requestHeaders }?: UserApplicationValidator.SendOTPOnEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.EmailOtpSuccess>;
|
|
229
254
|
/**
|
|
230
255
|
* @param {UserApplicationValidator.SendOTPOnMobileParam} arg - Arg object.
|
|
256
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
231
257
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
232
258
|
* @returns {Promise<UserApplicationModel.OtpSuccess>} - Success response
|
|
233
259
|
* @name sendOTPOnMobile
|
|
234
260
|
* @summary: Send OTP on mobile
|
|
235
261
|
* @description: Use this API to send an OTP to a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendOTPOnMobile/).
|
|
236
262
|
*/
|
|
237
|
-
sendOTPOnMobile({ body, platform }?: UserApplicationValidator.SendOTPOnMobileParam, {
|
|
263
|
+
sendOTPOnMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendOTPOnMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.OtpSuccess>;
|
|
238
264
|
/**
|
|
239
265
|
* @param {UserApplicationValidator.SendResetPasswordEmailParam} arg - Arg object.
|
|
266
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
240
267
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
241
268
|
* @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
|
|
242
269
|
* @name sendResetPasswordEmail
|
|
243
270
|
* @summary: Reset Password
|
|
244
271
|
* @description: Use this API to reset a password using the link sent on email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordEmail/).
|
|
245
272
|
*/
|
|
246
|
-
sendResetPasswordEmail({ body, platform }?: UserApplicationValidator.SendResetPasswordEmailParam, {
|
|
273
|
+
sendResetPasswordEmail({ body, platform, requestHeaders }?: UserApplicationValidator.SendResetPasswordEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.ResetPasswordSuccess>;
|
|
247
274
|
/**
|
|
248
275
|
* @param {UserApplicationValidator.SendResetPasswordMobileParam} arg - Arg object.
|
|
276
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
249
277
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
250
278
|
* @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
|
|
251
279
|
* @name sendResetPasswordMobile
|
|
252
280
|
* @summary: Reset Password
|
|
253
281
|
* @description: Use this API to reset a password using the link sent on mobile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetPasswordMobile/).
|
|
254
282
|
*/
|
|
255
|
-
sendResetPasswordMobile({ body, platform }?: UserApplicationValidator.SendResetPasswordMobileParam, {
|
|
283
|
+
sendResetPasswordMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendResetPasswordMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.ResetPasswordSuccess>;
|
|
256
284
|
/**
|
|
257
285
|
* @param {UserApplicationValidator.SendResetTokenParam} arg - Arg object.
|
|
286
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
258
287
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
259
288
|
* @returns {Promise<UserApplicationModel.ResetPasswordSuccess>} - Success response
|
|
260
289
|
* @name sendResetToken
|
|
261
290
|
* @summary: Reset Password using token
|
|
262
291
|
* @description: Use this API to send code to reset password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendResetToken/).
|
|
263
292
|
*/
|
|
264
|
-
sendResetToken({ body }?: UserApplicationValidator.SendResetTokenParam, {
|
|
293
|
+
sendResetToken({ body, requestHeaders }?: UserApplicationValidator.SendResetTokenParam, { responseHeaders }?: object): Promise<UserApplicationModel.ResetPasswordSuccess>;
|
|
265
294
|
/**
|
|
266
295
|
* @param {UserApplicationValidator.SendVerificationLinkToEmailParam} arg -
|
|
267
296
|
* Arg object.
|
|
297
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
268
298
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
269
299
|
* @returns {Promise<UserApplicationModel.SendEmailVerifyLinkSuccess>} -
|
|
270
300
|
* Success response
|
|
@@ -272,11 +302,12 @@ declare class User {
|
|
|
272
302
|
* @summary: Send verification link to email
|
|
273
303
|
* @description: Use this API to send verification link to an email address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToEmail/).
|
|
274
304
|
*/
|
|
275
|
-
sendVerificationLinkToEmail({ body, platform }?: UserApplicationValidator.SendVerificationLinkToEmailParam, {
|
|
305
|
+
sendVerificationLinkToEmail({ body, platform, requestHeaders }?: UserApplicationValidator.SendVerificationLinkToEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendEmailVerifyLinkSuccess>;
|
|
276
306
|
/**
|
|
277
307
|
* @param {UserApplicationValidator.SendVerificationLinkToMobileParam} arg
|
|
278
308
|
* - Arg object.
|
|
279
309
|
*
|
|
310
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
280
311
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
281
312
|
* @returns {Promise<UserApplicationModel.SendMobileVerifyLinkSuccess>} -
|
|
282
313
|
* Success response
|
|
@@ -284,79 +315,87 @@ declare class User {
|
|
|
284
315
|
* @summary: Send verification link to mobile
|
|
285
316
|
* @description: Use this API to send a verification link to a mobile number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/sendVerificationLinkToMobile/).
|
|
286
317
|
*/
|
|
287
|
-
sendVerificationLinkToMobile({ body, platform }?: UserApplicationValidator.SendVerificationLinkToMobileParam, {
|
|
318
|
+
sendVerificationLinkToMobile({ body, platform, requestHeaders }?: UserApplicationValidator.SendVerificationLinkToMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.SendMobileVerifyLinkSuccess>;
|
|
288
319
|
/**
|
|
289
320
|
* @param {UserApplicationValidator.SetEmailAsPrimaryParam} arg - Arg object.
|
|
321
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
290
322
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
291
323
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
292
324
|
* @name setEmailAsPrimary
|
|
293
325
|
* @summary: Set email as primary
|
|
294
326
|
* @description: Use this API to set an email address as primary. Primary email ID is a email address used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setEmailAsPrimary/).
|
|
295
327
|
*/
|
|
296
|
-
setEmailAsPrimary({ body }?: UserApplicationValidator.SetEmailAsPrimaryParam, {
|
|
328
|
+
setEmailAsPrimary({ body, requestHeaders }?: UserApplicationValidator.SetEmailAsPrimaryParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
297
329
|
/**
|
|
298
330
|
* @param {UserApplicationValidator.SetMobileNumberAsPrimaryParam} arg - Arg object.
|
|
331
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
299
332
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
300
333
|
* @returns {Promise<UserApplicationModel.LoginSuccess>} - Success response
|
|
301
334
|
* @name setMobileNumberAsPrimary
|
|
302
335
|
* @summary: Set mobile as primary
|
|
303
336
|
* @description: Use this API to set a mobile number as primary. Primary number is a verified number used for all future communications. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/setMobileNumberAsPrimary/).
|
|
304
337
|
*/
|
|
305
|
-
setMobileNumberAsPrimary({ body }?: UserApplicationValidator.SetMobileNumberAsPrimaryParam, {
|
|
338
|
+
setMobileNumberAsPrimary({ body, requestHeaders }?: UserApplicationValidator.SetMobileNumberAsPrimaryParam, { responseHeaders }?: object): Promise<UserApplicationModel.LoginSuccess>;
|
|
306
339
|
/**
|
|
307
340
|
* @param {UserApplicationValidator.UpdatePasswordParam} arg - Arg object.
|
|
341
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
308
342
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
309
343
|
* @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
|
|
310
344
|
* @name updatePassword
|
|
311
345
|
* @summary: Update user password
|
|
312
346
|
* @description: Use this API to update the password. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updatePassword/).
|
|
313
347
|
*/
|
|
314
|
-
updatePassword({ body }?: UserApplicationValidator.UpdatePasswordParam, {
|
|
348
|
+
updatePassword({ body, requestHeaders }?: UserApplicationValidator.UpdatePasswordParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyEmailSuccess>;
|
|
315
349
|
/**
|
|
316
350
|
* @param {UserApplicationValidator.UpdateProfileParam} arg - Arg object.
|
|
351
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
317
352
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
318
353
|
* @returns {Promise<UserApplicationModel.ProfileEditSuccess>} - Success response
|
|
319
354
|
* @name updateProfile
|
|
320
355
|
* @summary: Edit Profile Details
|
|
321
356
|
* @description: Use this API to update details in the user profile. Details can be first name, last name, gender, email, phone number, or profile picture. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/updateProfile/).
|
|
322
357
|
*/
|
|
323
|
-
updateProfile({ body, platform }?: UserApplicationValidator.UpdateProfileParam, {
|
|
358
|
+
updateProfile({ body, platform, requestHeaders }?: UserApplicationValidator.UpdateProfileParam, { responseHeaders }?: object): Promise<UserApplicationModel.ProfileEditSuccess>;
|
|
324
359
|
/**
|
|
325
360
|
* @param {UserApplicationValidator.VerifyEmailParam} arg - Arg object.
|
|
361
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
326
362
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
327
363
|
* @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
|
|
328
364
|
* @name verifyEmail
|
|
329
365
|
* @summary: Verify email
|
|
330
366
|
* @description: Use this API to send a verification code to verify an email. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmail/).
|
|
331
367
|
*/
|
|
332
|
-
verifyEmail({ body }?: UserApplicationValidator.VerifyEmailParam, {
|
|
368
|
+
verifyEmail({ body, requestHeaders }?: UserApplicationValidator.VerifyEmailParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyEmailSuccess>;
|
|
333
369
|
/**
|
|
334
370
|
* @param {UserApplicationValidator.VerifyEmailOTPParam} arg - Arg object.
|
|
371
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
335
372
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
336
373
|
* @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
|
|
337
374
|
* @name verifyEmailOTP
|
|
338
375
|
* @summary: Verify OTP on email
|
|
339
376
|
* @description: Use this API to verify the OTP received on an email ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyEmailOTP/).
|
|
340
377
|
*/
|
|
341
|
-
verifyEmailOTP({ body, platform }?: UserApplicationValidator.VerifyEmailOTPParam, {
|
|
378
|
+
verifyEmailOTP({ body, platform, requestHeaders }?: UserApplicationValidator.VerifyEmailOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyOtpSuccess>;
|
|
342
379
|
/**
|
|
343
380
|
* @param {UserApplicationValidator.VerifyMobileParam} arg - Arg object.
|
|
381
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
344
382
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
345
383
|
* @returns {Promise<UserApplicationModel.VerifyEmailSuccess>} - Success response
|
|
346
384
|
* @name verifyMobile
|
|
347
385
|
* @summary: Verify mobile
|
|
348
386
|
* @description: Use this API to send a verification code to verify a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobile/).
|
|
349
387
|
*/
|
|
350
|
-
verifyMobile({ body }?: UserApplicationValidator.VerifyMobileParam, {
|
|
388
|
+
verifyMobile({ body, requestHeaders }?: UserApplicationValidator.VerifyMobileParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyEmailSuccess>;
|
|
351
389
|
/**
|
|
352
390
|
* @param {UserApplicationValidator.VerifyMobileOTPParam} arg - Arg object.
|
|
391
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
353
392
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
354
393
|
* @returns {Promise<UserApplicationModel.VerifyOtpSuccess>} - Success response
|
|
355
394
|
* @name verifyMobileOTP
|
|
356
395
|
* @summary: Verify OTP on mobile
|
|
357
396
|
* @description: Use this API to verify the OTP received on a mobile number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/user/verifyMobileOTP/).
|
|
358
397
|
*/
|
|
359
|
-
verifyMobileOTP({ body, platform }?: UserApplicationValidator.VerifyMobileOTPParam, {
|
|
398
|
+
verifyMobileOTP({ body, platform, requestHeaders }?: UserApplicationValidator.VerifyMobileOTPParam, { responseHeaders }?: object): Promise<UserApplicationModel.VerifyOtpSuccess>;
|
|
360
399
|
}
|
|
361
400
|
import UserApplicationValidator = require("./UserApplicationValidator");
|
|
362
401
|
import UserApplicationModel = require("./UserApplicationModel");
|