@gofynd/fdk-client-javascript 1.4.8-beta.2 → 1.4.8
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 +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1206 -281
- package/sdk/application/Content/ContentApplicationModel.js +342 -276
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1401 -324
- package/sdk/application/Order/OrderApplicationModel.js +392 -316
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +75 -8
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +59 -7
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +2 -2
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
- package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
- package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +20 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +60 -17
- package/sdk/platform/Content/ContentPlatformModel.js +30 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
- package/sdk/platform/Finance/FinancePlatformClient.js +30 -30
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1601 -348
- package/sdk/platform/Finance/FinancePlatformModel.js +488 -352
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +631 -39
- package/sdk/platform/Order/OrderPlatformModel.js +367 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +139 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +98 -21
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -20
- package/sdk/platform/User/UserPlatformModel.js +9 -11
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +54 -33
- package/sdk/platform/Webhook/WebhookPlatformModel.js +33 -33
- package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
- package/sdk/public/Billing/BillingPublicClient.js +80 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
- package/sdk/public/Billing/BillingPublicModel.js +252 -87
- package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
- package/sdk/public/Billing/BillingPublicValidator.js +12 -0
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
export = UserApplicationValidator;
|
|
2
2
|
/**
|
|
3
3
|
* @typedef AddEmailParam
|
|
4
|
-
* @property {string} [platform] - ID of the application
|
|
4
|
+
* @property {string} [platform] - ID of the application.
|
|
5
5
|
* @property {UserApplicationModel.EditEmailRequestSchema} body
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* @typedef AddMobileNumberParam
|
|
9
|
-
* @property {string} [platform] - ID of the application
|
|
9
|
+
* @property {string} [platform] - ID of the application.
|
|
10
10
|
* @property {UserApplicationModel.EditMobileRequestSchema} body
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* @typedef DeleteEmailParam
|
|
14
|
-
* @property {string} [platform] - ID of the application
|
|
15
|
-
* @property {boolean} active -
|
|
16
|
-
*
|
|
17
|
-
* @property {boolean} primary -
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* @property {string} email - The email ID to delete
|
|
14
|
+
* @property {string} [platform] - ID of the application.
|
|
15
|
+
* @property {boolean} active - Boolean value to check if email id is active 1.
|
|
16
|
+
* True - email id is active 2.False - email id is inactive.
|
|
17
|
+
* @property {boolean} primary - Boolean value to check if email id is primary
|
|
18
|
+
* (main email id) 1. True - email id is primary 2.False - email id is not primary.
|
|
19
|
+
* @property {boolean} verified - Boolean value to check if email id is verified
|
|
20
|
+
* 1. True - email id is verified 2.False - email id is not verified yet.
|
|
21
|
+
* @property {string} email - The email id to delete.
|
|
23
22
|
*/
|
|
24
23
|
/**
|
|
25
24
|
* @typedef DeleteMobileNumberParam
|
|
26
|
-
* @property {string} [platform] - ID of the application
|
|
25
|
+
* @property {string} [platform] - ID of the application.
|
|
27
26
|
* @property {boolean} active - This is a boolean value to check if mobile
|
|
28
|
-
* number is active 1.True -
|
|
27
|
+
* number is active 1.True - number is active 2. False - number is inactive.
|
|
29
28
|
* @property {boolean} primary - This is a boolean value to check if mobile
|
|
30
|
-
* number is primary number (main number) 1. True -
|
|
31
|
-
* -
|
|
29
|
+
* number is primary number (main number) 1. True - number is primary 2. False
|
|
30
|
+
* - number is not primary.
|
|
32
31
|
* @property {boolean} verified - This is a boolean value to check if mobile
|
|
33
|
-
* number is verified 1. True -
|
|
34
|
-
*
|
|
35
|
-
* @property {string}
|
|
32
|
+
* number is verified 1. True - number is verified 2.False - number is not
|
|
33
|
+
* verified yet.
|
|
34
|
+
* @property {string} countryCode - Country code of the phone number, e.g. 91.
|
|
35
|
+
* @property {string} phone - Phone number.
|
|
36
36
|
*/
|
|
37
37
|
/**
|
|
38
38
|
* @typedef DeleteUserParam
|
|
@@ -46,7 +46,7 @@ export = UserApplicationValidator;
|
|
|
46
46
|
/** @typedef GetLoggedInUserParam */
|
|
47
47
|
/**
|
|
48
48
|
* @typedef GetPlatformConfigParam
|
|
49
|
-
* @property {string} [name] - Name of the application, e.g. Fynd
|
|
49
|
+
* @property {string} [name] - Name of the application, e.g. Fynd.
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
52
52
|
* @typedef GetUserAttributesParam
|
|
@@ -55,7 +55,7 @@ export = UserApplicationValidator;
|
|
|
55
55
|
/** @typedef HasPasswordParam */
|
|
56
56
|
/**
|
|
57
57
|
* @typedef LoginWithAppleIOSParam
|
|
58
|
-
* @property {string} [platform] - ID of the application
|
|
58
|
+
* @property {string} [platform] - ID of the application.
|
|
59
59
|
* @property {UserApplicationModel.OAuthRequestAppleSchema} body
|
|
60
60
|
*/
|
|
61
61
|
/**
|
|
@@ -64,27 +64,27 @@ export = UserApplicationValidator;
|
|
|
64
64
|
*/
|
|
65
65
|
/**
|
|
66
66
|
* @typedef LoginWithFacebookParam
|
|
67
|
-
* @property {string} [platform] - ID of the application
|
|
67
|
+
* @property {string} [platform] - ID of the application.
|
|
68
68
|
* @property {UserApplicationModel.OAuthRequestSchema} body
|
|
69
69
|
*/
|
|
70
70
|
/**
|
|
71
71
|
* @typedef LoginWithGoogleParam
|
|
72
|
-
* @property {string} [platform] - ID of the application
|
|
72
|
+
* @property {string} [platform] - ID of the application.
|
|
73
73
|
* @property {UserApplicationModel.OAuthRequestSchema} body
|
|
74
74
|
*/
|
|
75
75
|
/**
|
|
76
76
|
* @typedef LoginWithGoogleAndroidParam
|
|
77
|
-
* @property {string} [platform] - ID of the application
|
|
77
|
+
* @property {string} [platform] - ID of the application.
|
|
78
78
|
* @property {UserApplicationModel.OAuthRequestSchema} body
|
|
79
79
|
*/
|
|
80
80
|
/**
|
|
81
81
|
* @typedef LoginWithGoogleIOSParam
|
|
82
|
-
* @property {string} [platform] - ID of the application
|
|
82
|
+
* @property {string} [platform] - ID of the application.
|
|
83
83
|
* @property {UserApplicationModel.OAuthRequestSchema} body
|
|
84
84
|
*/
|
|
85
85
|
/**
|
|
86
86
|
* @typedef LoginWithOTPParam
|
|
87
|
-
* @property {string} [platform] - ID of the application
|
|
87
|
+
* @property {string} [platform] - ID of the application.
|
|
88
88
|
* @property {UserApplicationModel.SendOtpRequestSchema} body
|
|
89
89
|
*/
|
|
90
90
|
/**
|
|
@@ -94,7 +94,7 @@ export = UserApplicationValidator;
|
|
|
94
94
|
/** @typedef LogoutParam */
|
|
95
95
|
/**
|
|
96
96
|
* @typedef RegisterWithFormParam
|
|
97
|
-
* @property {string} [platform] - ID of the application
|
|
97
|
+
* @property {string} [platform] - ID of the application.
|
|
98
98
|
* @property {UserApplicationModel.FormRegisterRequestSchema} body
|
|
99
99
|
*/
|
|
100
100
|
/**
|
|
@@ -103,32 +103,32 @@ export = UserApplicationValidator;
|
|
|
103
103
|
*/
|
|
104
104
|
/**
|
|
105
105
|
* @typedef SendForgotOTPOnEmailParam
|
|
106
|
-
* @property {string} [platform] - ID of the application
|
|
106
|
+
* @property {string} [platform] - ID of the application.
|
|
107
107
|
* @property {UserApplicationModel.SendEmailForgotOtpRequestSchema} body
|
|
108
108
|
*/
|
|
109
109
|
/**
|
|
110
110
|
* @typedef SendForgotOTPOnMobileParam
|
|
111
|
-
* @property {string} [platform] - ID of the application
|
|
111
|
+
* @property {string} [platform] - ID of the application.
|
|
112
112
|
* @property {UserApplicationModel.SendMobileForgotOtpRequestSchema} body
|
|
113
113
|
*/
|
|
114
114
|
/**
|
|
115
115
|
* @typedef SendOTPOnEmailParam
|
|
116
|
-
* @property {string} [platform] - ID of the application
|
|
116
|
+
* @property {string} [platform] - ID of the application.
|
|
117
117
|
* @property {UserApplicationModel.SendEmailOtpRequestSchema} body
|
|
118
118
|
*/
|
|
119
119
|
/**
|
|
120
120
|
* @typedef SendOTPOnMobileParam
|
|
121
|
-
* @property {string} [platform] - ID of the application
|
|
121
|
+
* @property {string} [platform] - ID of the application.
|
|
122
122
|
* @property {UserApplicationModel.SendMobileOtpRequestSchema} body
|
|
123
123
|
*/
|
|
124
124
|
/**
|
|
125
125
|
* @typedef SendResetPasswordEmailParam
|
|
126
|
-
* @property {string} [platform] - ID of the application
|
|
126
|
+
* @property {string} [platform] - ID of the application.
|
|
127
127
|
* @property {UserApplicationModel.SendResetPasswordEmailRequestSchema} body
|
|
128
128
|
*/
|
|
129
129
|
/**
|
|
130
130
|
* @typedef SendResetPasswordMobileParam
|
|
131
|
-
* @property {string} [platform] - ID of the application
|
|
131
|
+
* @property {string} [platform] - ID of the application.
|
|
132
132
|
* @property {UserApplicationModel.SendResetPasswordMobileRequestSchema} body
|
|
133
133
|
*/
|
|
134
134
|
/**
|
|
@@ -137,12 +137,12 @@ export = UserApplicationValidator;
|
|
|
137
137
|
*/
|
|
138
138
|
/**
|
|
139
139
|
* @typedef SendVerificationLinkToEmailParam
|
|
140
|
-
* @property {string} [platform] - ID of the application
|
|
140
|
+
* @property {string} [platform] - ID of the application.
|
|
141
141
|
* @property {UserApplicationModel.EditEmailRequestSchema} body
|
|
142
142
|
*/
|
|
143
143
|
/**
|
|
144
144
|
* @typedef SendVerificationLinkToMobileParam
|
|
145
|
-
* @property {string} [platform] - ID of the application
|
|
145
|
+
* @property {string} [platform] - ID of the application.
|
|
146
146
|
* @property {UserApplicationModel.SendVerificationLinkMobileRequestSchema} body
|
|
147
147
|
*/
|
|
148
148
|
/**
|
|
@@ -159,7 +159,7 @@ export = UserApplicationValidator;
|
|
|
159
159
|
*/
|
|
160
160
|
/**
|
|
161
161
|
* @typedef UpdateProfileParam
|
|
162
|
-
* @property {string} [platform] - ID of the application
|
|
162
|
+
* @property {string} [platform] - ID of the application.
|
|
163
163
|
* @property {UserApplicationModel.EditProfileRequestSchema} body
|
|
164
164
|
*/
|
|
165
165
|
/**
|
|
@@ -168,7 +168,7 @@ export = UserApplicationValidator;
|
|
|
168
168
|
*/
|
|
169
169
|
/**
|
|
170
170
|
* @typedef UserExistsParam
|
|
171
|
-
* @property {string} q - Email id or phone number of user
|
|
171
|
+
* @property {string} q - Email id or phone number of user.
|
|
172
172
|
*/
|
|
173
173
|
/**
|
|
174
174
|
* @typedef VerifyEmailParam
|
|
@@ -176,12 +176,12 @@ export = UserApplicationValidator;
|
|
|
176
176
|
*/
|
|
177
177
|
/**
|
|
178
178
|
* @typedef VerifyEmailForgotOTPParam
|
|
179
|
-
* @property {string} [platform] - ID of the application
|
|
179
|
+
* @property {string} [platform] - ID of the application.
|
|
180
180
|
* @property {UserApplicationModel.VerifyEmailForgotOtpRequestSchema} body
|
|
181
181
|
*/
|
|
182
182
|
/**
|
|
183
183
|
* @typedef VerifyEmailOTPParam
|
|
184
|
-
* @property {string} [platform] - ID of the application
|
|
184
|
+
* @property {string} [platform] - ID of the application.
|
|
185
185
|
* @property {UserApplicationModel.VerifyEmailOtpRequestSchema} body
|
|
186
186
|
*/
|
|
187
187
|
/**
|
|
@@ -190,12 +190,12 @@ export = UserApplicationValidator;
|
|
|
190
190
|
*/
|
|
191
191
|
/**
|
|
192
192
|
* @typedef VerifyMobileForgotOTPParam
|
|
193
|
-
* @property {string} [platform] - ID of the application
|
|
193
|
+
* @property {string} [platform] - ID of the application.
|
|
194
194
|
* @property {UserApplicationModel.VerifyMobileForgotOtpRequestSchema} body
|
|
195
195
|
*/
|
|
196
196
|
/**
|
|
197
197
|
* @typedef VerifyMobileOTPParam
|
|
198
|
-
* @property {string} [platform] - ID of the application
|
|
198
|
+
* @property {string} [platform] - ID of the application.
|
|
199
199
|
* @property {UserApplicationModel.VerifyOtpRequestSchema} body
|
|
200
200
|
*/
|
|
201
201
|
declare class UserApplicationValidator {
|
|
@@ -291,71 +291,71 @@ declare namespace UserApplicationValidator {
|
|
|
291
291
|
}
|
|
292
292
|
type AddEmailParam = {
|
|
293
293
|
/**
|
|
294
|
-
* - ID of the application
|
|
294
|
+
* - ID of the application.
|
|
295
295
|
*/
|
|
296
296
|
platform?: string;
|
|
297
297
|
body: UserApplicationModel.EditEmailRequestSchema;
|
|
298
298
|
};
|
|
299
299
|
type AddMobileNumberParam = {
|
|
300
300
|
/**
|
|
301
|
-
* - ID of the application
|
|
301
|
+
* - ID of the application.
|
|
302
302
|
*/
|
|
303
303
|
platform?: string;
|
|
304
304
|
body: UserApplicationModel.EditMobileRequestSchema;
|
|
305
305
|
};
|
|
306
306
|
type DeleteEmailParam = {
|
|
307
307
|
/**
|
|
308
|
-
* - ID of the application
|
|
308
|
+
* - ID of the application.
|
|
309
309
|
*/
|
|
310
310
|
platform?: string;
|
|
311
311
|
/**
|
|
312
|
-
* -
|
|
313
|
-
*
|
|
312
|
+
* - Boolean value to check if email id is active 1.
|
|
313
|
+
* True - email id is active 2.False - email id is inactive.
|
|
314
314
|
*/
|
|
315
315
|
active: boolean;
|
|
316
316
|
/**
|
|
317
|
-
* -
|
|
318
|
-
*
|
|
319
|
-
* not primary
|
|
317
|
+
* - Boolean value to check if email id is primary
|
|
318
|
+
* (main email id) 1. True - email id is primary 2.False - email id is not primary.
|
|
320
319
|
*/
|
|
321
320
|
primary: boolean;
|
|
322
321
|
/**
|
|
323
|
-
* -
|
|
324
|
-
*
|
|
322
|
+
* - Boolean value to check if email id is verified
|
|
323
|
+
* 1. True - email id is verified 2.False - email id is not verified yet.
|
|
325
324
|
*/
|
|
326
325
|
verified: boolean;
|
|
327
326
|
/**
|
|
328
|
-
* - The email
|
|
327
|
+
* - The email id to delete.
|
|
329
328
|
*/
|
|
330
329
|
email: string;
|
|
331
330
|
};
|
|
332
331
|
type DeleteMobileNumberParam = {
|
|
333
332
|
/**
|
|
334
|
-
* - ID of the application
|
|
333
|
+
* - ID of the application.
|
|
335
334
|
*/
|
|
336
335
|
platform?: string;
|
|
337
336
|
/**
|
|
338
337
|
* - This is a boolean value to check if mobile
|
|
339
|
-
* number is active 1.True -
|
|
338
|
+
* number is active 1.True - number is active 2. False - number is inactive.
|
|
340
339
|
*/
|
|
341
340
|
active: boolean;
|
|
342
341
|
/**
|
|
343
342
|
* - This is a boolean value to check if mobile
|
|
344
|
-
* number is primary number (main number) 1. True -
|
|
345
|
-
* -
|
|
343
|
+
* number is primary number (main number) 1. True - number is primary 2. False
|
|
344
|
+
* - number is not primary.
|
|
346
345
|
*/
|
|
347
346
|
primary: boolean;
|
|
348
347
|
/**
|
|
349
348
|
* - This is a boolean value to check if mobile
|
|
350
|
-
* number is verified 1. True -
|
|
349
|
+
* number is verified 1. True - number is verified 2.False - number is not
|
|
350
|
+
* verified yet.
|
|
351
351
|
*/
|
|
352
352
|
verified: boolean;
|
|
353
353
|
/**
|
|
354
|
-
* - Country code of the phone number, e.g. 91
|
|
354
|
+
* - Country code of the phone number, e.g. 91.
|
|
355
355
|
*/
|
|
356
356
|
countryCode: string;
|
|
357
357
|
/**
|
|
358
|
-
* - Phone number
|
|
358
|
+
* - Phone number.
|
|
359
359
|
*/
|
|
360
360
|
phone: string;
|
|
361
361
|
};
|
|
@@ -367,7 +367,7 @@ type ForgotPasswordParam = {
|
|
|
367
367
|
};
|
|
368
368
|
type GetPlatformConfigParam = {
|
|
369
369
|
/**
|
|
370
|
-
* - Name of the application, e.g. Fynd
|
|
370
|
+
* - Name of the application, e.g. Fynd.
|
|
371
371
|
*/
|
|
372
372
|
name?: string;
|
|
373
373
|
};
|
|
@@ -379,7 +379,7 @@ type GetUserAttributesParam = {
|
|
|
379
379
|
};
|
|
380
380
|
type LoginWithAppleIOSParam = {
|
|
381
381
|
/**
|
|
382
|
-
* - ID of the application
|
|
382
|
+
* - ID of the application.
|
|
383
383
|
*/
|
|
384
384
|
platform?: string;
|
|
385
385
|
body: UserApplicationModel.OAuthRequestAppleSchema;
|
|
@@ -389,35 +389,35 @@ type LoginWithEmailAndPasswordParam = {
|
|
|
389
389
|
};
|
|
390
390
|
type LoginWithFacebookParam = {
|
|
391
391
|
/**
|
|
392
|
-
* - ID of the application
|
|
392
|
+
* - ID of the application.
|
|
393
393
|
*/
|
|
394
394
|
platform?: string;
|
|
395
395
|
body: UserApplicationModel.OAuthRequestSchema;
|
|
396
396
|
};
|
|
397
397
|
type LoginWithGoogleParam = {
|
|
398
398
|
/**
|
|
399
|
-
* - ID of the application
|
|
399
|
+
* - ID of the application.
|
|
400
400
|
*/
|
|
401
401
|
platform?: string;
|
|
402
402
|
body: UserApplicationModel.OAuthRequestSchema;
|
|
403
403
|
};
|
|
404
404
|
type LoginWithGoogleAndroidParam = {
|
|
405
405
|
/**
|
|
406
|
-
* - ID of the application
|
|
406
|
+
* - ID of the application.
|
|
407
407
|
*/
|
|
408
408
|
platform?: string;
|
|
409
409
|
body: UserApplicationModel.OAuthRequestSchema;
|
|
410
410
|
};
|
|
411
411
|
type LoginWithGoogleIOSParam = {
|
|
412
412
|
/**
|
|
413
|
-
* - ID of the application
|
|
413
|
+
* - ID of the application.
|
|
414
414
|
*/
|
|
415
415
|
platform?: string;
|
|
416
416
|
body: UserApplicationModel.OAuthRequestSchema;
|
|
417
417
|
};
|
|
418
418
|
type LoginWithOTPParam = {
|
|
419
419
|
/**
|
|
420
|
-
* - ID of the application
|
|
420
|
+
* - ID of the application.
|
|
421
421
|
*/
|
|
422
422
|
platform?: string;
|
|
423
423
|
body: UserApplicationModel.SendOtpRequestSchema;
|
|
@@ -427,7 +427,7 @@ type LoginWithTokenParam = {
|
|
|
427
427
|
};
|
|
428
428
|
type RegisterWithFormParam = {
|
|
429
429
|
/**
|
|
430
|
-
* - ID of the application
|
|
430
|
+
* - ID of the application.
|
|
431
431
|
*/
|
|
432
432
|
platform?: string;
|
|
433
433
|
body: UserApplicationModel.FormRegisterRequestSchema;
|
|
@@ -437,42 +437,42 @@ type ResetForgotPasswordParam = {
|
|
|
437
437
|
};
|
|
438
438
|
type SendForgotOTPOnEmailParam = {
|
|
439
439
|
/**
|
|
440
|
-
* - ID of the application
|
|
440
|
+
* - ID of the application.
|
|
441
441
|
*/
|
|
442
442
|
platform?: string;
|
|
443
443
|
body: UserApplicationModel.SendEmailForgotOtpRequestSchema;
|
|
444
444
|
};
|
|
445
445
|
type SendForgotOTPOnMobileParam = {
|
|
446
446
|
/**
|
|
447
|
-
* - ID of the application
|
|
447
|
+
* - ID of the application.
|
|
448
448
|
*/
|
|
449
449
|
platform?: string;
|
|
450
450
|
body: UserApplicationModel.SendMobileForgotOtpRequestSchema;
|
|
451
451
|
};
|
|
452
452
|
type SendOTPOnEmailParam = {
|
|
453
453
|
/**
|
|
454
|
-
* - ID of the application
|
|
454
|
+
* - ID of the application.
|
|
455
455
|
*/
|
|
456
456
|
platform?: string;
|
|
457
457
|
body: UserApplicationModel.SendEmailOtpRequestSchema;
|
|
458
458
|
};
|
|
459
459
|
type SendOTPOnMobileParam = {
|
|
460
460
|
/**
|
|
461
|
-
* - ID of the application
|
|
461
|
+
* - ID of the application.
|
|
462
462
|
*/
|
|
463
463
|
platform?: string;
|
|
464
464
|
body: UserApplicationModel.SendMobileOtpRequestSchema;
|
|
465
465
|
};
|
|
466
466
|
type SendResetPasswordEmailParam = {
|
|
467
467
|
/**
|
|
468
|
-
* - ID of the application
|
|
468
|
+
* - ID of the application.
|
|
469
469
|
*/
|
|
470
470
|
platform?: string;
|
|
471
471
|
body: UserApplicationModel.SendResetPasswordEmailRequestSchema;
|
|
472
472
|
};
|
|
473
473
|
type SendResetPasswordMobileParam = {
|
|
474
474
|
/**
|
|
475
|
-
* - ID of the application
|
|
475
|
+
* - ID of the application.
|
|
476
476
|
*/
|
|
477
477
|
platform?: string;
|
|
478
478
|
body: UserApplicationModel.SendResetPasswordMobileRequestSchema;
|
|
@@ -482,14 +482,14 @@ type SendResetTokenParam = {
|
|
|
482
482
|
};
|
|
483
483
|
type SendVerificationLinkToEmailParam = {
|
|
484
484
|
/**
|
|
485
|
-
* - ID of the application
|
|
485
|
+
* - ID of the application.
|
|
486
486
|
*/
|
|
487
487
|
platform?: string;
|
|
488
488
|
body: UserApplicationModel.EditEmailRequestSchema;
|
|
489
489
|
};
|
|
490
490
|
type SendVerificationLinkToMobileParam = {
|
|
491
491
|
/**
|
|
492
|
-
* - ID of the application
|
|
492
|
+
* - ID of the application.
|
|
493
493
|
*/
|
|
494
494
|
platform?: string;
|
|
495
495
|
body: UserApplicationModel.SendVerificationLinkMobileRequestSchema;
|
|
@@ -505,7 +505,7 @@ type UpdatePasswordParam = {
|
|
|
505
505
|
};
|
|
506
506
|
type UpdateProfileParam = {
|
|
507
507
|
/**
|
|
508
|
-
* - ID of the application
|
|
508
|
+
* - ID of the application.
|
|
509
509
|
*/
|
|
510
510
|
platform?: string;
|
|
511
511
|
body: UserApplicationModel.EditProfileRequestSchema;
|
|
@@ -515,7 +515,7 @@ type UpdateUserAttributesParam = {
|
|
|
515
515
|
};
|
|
516
516
|
type UserExistsParam = {
|
|
517
517
|
/**
|
|
518
|
-
* - Email id or phone number of user
|
|
518
|
+
* - Email id or phone number of user.
|
|
519
519
|
*/
|
|
520
520
|
q: string;
|
|
521
521
|
};
|
|
@@ -524,14 +524,14 @@ type VerifyEmailParam = {
|
|
|
524
524
|
};
|
|
525
525
|
type VerifyEmailForgotOTPParam = {
|
|
526
526
|
/**
|
|
527
|
-
* - ID of the application
|
|
527
|
+
* - ID of the application.
|
|
528
528
|
*/
|
|
529
529
|
platform?: string;
|
|
530
530
|
body: UserApplicationModel.VerifyEmailForgotOtpRequestSchema;
|
|
531
531
|
};
|
|
532
532
|
type VerifyEmailOTPParam = {
|
|
533
533
|
/**
|
|
534
|
-
* - ID of the application
|
|
534
|
+
* - ID of the application.
|
|
535
535
|
*/
|
|
536
536
|
platform?: string;
|
|
537
537
|
body: UserApplicationModel.VerifyEmailOtpRequestSchema;
|
|
@@ -541,14 +541,14 @@ type VerifyMobileParam = {
|
|
|
541
541
|
};
|
|
542
542
|
type VerifyMobileForgotOTPParam = {
|
|
543
543
|
/**
|
|
544
|
-
* - ID of the application
|
|
544
|
+
* - ID of the application.
|
|
545
545
|
*/
|
|
546
546
|
platform?: string;
|
|
547
547
|
body: UserApplicationModel.VerifyMobileForgotOtpRequestSchema;
|
|
548
548
|
};
|
|
549
549
|
type VerifyMobileOTPParam = {
|
|
550
550
|
/**
|
|
551
|
-
* - ID of the application
|
|
551
|
+
* - ID of the application.
|
|
552
552
|
*/
|
|
553
553
|
platform?: string;
|
|
554
554
|
body: UserApplicationModel.VerifyOtpRequestSchema;
|