@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
- package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
- package/sdk/platform/User/UserPlatformModel.js +204 -65
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = UserPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef SuccessMessageResponse
|
|
4
4
|
* @property {string} [success]
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
@@ -23,7 +23,7 @@ export = UserPlatformModel;
|
|
|
23
23
|
* @property {number} [__v] - The version number of the attribute.
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
|
-
* @typedef
|
|
26
|
+
* @typedef UserAttributeDefinitionResponse
|
|
27
27
|
* @property {string} [_id] - The unique identifier for the attribute definition.
|
|
28
28
|
* @property {string} [name] - The attribute name.
|
|
29
29
|
* @property {string} [slug] - The attribute key.
|
|
@@ -49,50 +49,57 @@ export = UserPlatformModel;
|
|
|
49
49
|
* @property {Object} [value] - The validation value.
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
52
|
-
* @typedef
|
|
52
|
+
* @typedef UserAttributeResponse
|
|
53
53
|
* @property {string} [_id] - The unique identifier for the attribute definition.
|
|
54
54
|
* @property {string} [name] - The name of user attribute definition.
|
|
55
55
|
* @property {string} [user_id] - The unique identifier for the user.
|
|
56
56
|
* @property {string} [application_id] - The application ID.
|
|
57
57
|
* @property {string} [type] - The attribute type.
|
|
58
|
-
* @property {boolean} [
|
|
58
|
+
* @property {boolean} [customer_overriden] - Whether the attribute is customer-editable.
|
|
59
59
|
* @property {Object} [attribute]
|
|
60
60
|
* @property {string} [updated_by]
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
|
-
* @typedef
|
|
64
|
-
* @property {boolean} [
|
|
63
|
+
* @typedef CreateUserAttributeRequest
|
|
64
|
+
* @property {boolean} [customer_overriden]
|
|
65
65
|
* @property {Object} [attribute]
|
|
66
66
|
*/
|
|
67
67
|
/**
|
|
68
68
|
* @typedef CreateUserAttributeDefinition
|
|
69
|
-
* @property {string} [name]
|
|
70
|
-
* @property {string} [slug]
|
|
71
|
-
* @property {string} [description]
|
|
72
|
-
* @property {string} [type]
|
|
73
|
-
* @property {boolean} [multi_value]
|
|
74
|
-
*
|
|
75
|
-
* @property {boolean} [
|
|
76
|
-
*
|
|
77
|
-
* @property {
|
|
78
|
-
*
|
|
79
|
-
* @property {
|
|
69
|
+
* @property {string} [name] - The name of user attribute definition.
|
|
70
|
+
* @property {string} [slug] - The unique identifier of user attribute definition.
|
|
71
|
+
* @property {string} [description] - The description for the user attribute definition.
|
|
72
|
+
* @property {string} [type] - The attribute type for the user attribute definition.
|
|
73
|
+
* @property {boolean} [multi_value] - Identifier to specify if attribute will
|
|
74
|
+
* have multiple values or not.
|
|
75
|
+
* @property {boolean} [customer_editable] - Identifier to specify if attribute
|
|
76
|
+
* can be edited by the customer.
|
|
77
|
+
* @property {boolean} [encrypted] - Identifier to specify if attribute will be
|
|
78
|
+
* stored in encrypted format.
|
|
79
|
+
* @property {boolean} [pinned] - Identifier to specify if the definition is
|
|
80
|
+
* pinned or not.
|
|
81
|
+
* @property {number} [pin_order] - Pin order of the Attribute Definition.
|
|
82
|
+
* @property {Object} [default_value] - The default value for the User Attribute
|
|
83
|
+
* Definition. Data type of the default value depends on the type of the
|
|
84
|
+
* attribute definition type defined.
|
|
85
|
+
* @property {Object[]} [validations] - The custom validations that have been
|
|
86
|
+
* set for this customer definition.
|
|
80
87
|
*/
|
|
81
88
|
/**
|
|
82
89
|
* @typedef BlockUserRequestSchema
|
|
83
|
-
* @property {boolean}
|
|
84
|
-
* @property {string[]}
|
|
85
|
-
* @property {string}
|
|
90
|
+
* @property {boolean} status
|
|
91
|
+
* @property {string[]} user_id
|
|
92
|
+
* @property {string} reason
|
|
86
93
|
*/
|
|
87
94
|
/**
|
|
88
95
|
* @typedef ArchiveUserRequestSchema
|
|
89
|
-
* @property {string}
|
|
96
|
+
* @property {string} user_id
|
|
90
97
|
*/
|
|
91
98
|
/**
|
|
92
99
|
* @typedef UnDeleteUserRequestSchema
|
|
93
|
-
* @property {string}
|
|
94
|
-
* @property {string}
|
|
95
|
-
* @property {string}
|
|
100
|
+
* @property {string} user_id
|
|
101
|
+
* @property {string} reason
|
|
102
|
+
* @property {string} reason_id
|
|
96
103
|
*/
|
|
97
104
|
/**
|
|
98
105
|
* @typedef BlockUserSuccess
|
|
@@ -160,7 +167,7 @@ export = UserPlatformModel;
|
|
|
160
167
|
* @typedef Conditions
|
|
161
168
|
* @property {string} [user_attribute_definition_id]
|
|
162
169
|
* @property {string} [type]
|
|
163
|
-
* @property {
|
|
170
|
+
* @property {Object} [value]
|
|
164
171
|
* @property {string} [key]
|
|
165
172
|
*/
|
|
166
173
|
/**
|
|
@@ -171,6 +178,7 @@ export = UserPlatformModel;
|
|
|
171
178
|
/**
|
|
172
179
|
* @typedef UserGroupResponseSchema
|
|
173
180
|
* @property {Conditions[]} [conditions]
|
|
181
|
+
* @property {string[]} [blacklisted_users]
|
|
174
182
|
* @property {UserResponseErrorSchema} [error]
|
|
175
183
|
* @property {string} [name]
|
|
176
184
|
* @property {string} [description]
|
|
@@ -194,7 +202,7 @@ export = UserPlatformModel;
|
|
|
194
202
|
* @typedef ConditionsSchema
|
|
195
203
|
* @property {string} [user_attribute_definition_id]
|
|
196
204
|
* @property {string} [type]
|
|
197
|
-
* @property {
|
|
205
|
+
* @property {Object} [value]
|
|
198
206
|
*/
|
|
199
207
|
/**
|
|
200
208
|
* @typedef CreateUserGroup
|
|
@@ -203,6 +211,7 @@ export = UserPlatformModel;
|
|
|
203
211
|
* @property {string} name
|
|
204
212
|
* @property {string} description
|
|
205
213
|
* @property {string} [file_url]
|
|
214
|
+
* @property {string[]} [blacklisted_users]
|
|
206
215
|
*/
|
|
207
216
|
/**
|
|
208
217
|
* @typedef CreateUserRequestSchema
|
|
@@ -211,7 +220,7 @@ export = UserPlatformModel;
|
|
|
211
220
|
* @property {string} [first_name]
|
|
212
221
|
* @property {string} [last_name]
|
|
213
222
|
* @property {string} [gender]
|
|
214
|
-
* @property {string}
|
|
223
|
+
* @property {string} username
|
|
215
224
|
* @property {Object} [meta]
|
|
216
225
|
* @property {string} [external_id]
|
|
217
226
|
* @property {string} [rr_id]
|
|
@@ -222,8 +231,9 @@ export = UserPlatformModel;
|
|
|
222
231
|
*/
|
|
223
232
|
/**
|
|
224
233
|
* @typedef CreateUserSessionRequestSchema
|
|
225
|
-
* @property {string}
|
|
226
|
-
* @property {string}
|
|
234
|
+
* @property {string} domain
|
|
235
|
+
* @property {string} user_id
|
|
236
|
+
* @property {number} [max_age]
|
|
227
237
|
*/
|
|
228
238
|
/**
|
|
229
239
|
* @typedef CreateUserSessionResponseSchema
|
|
@@ -241,6 +251,8 @@ export = UserPlatformModel;
|
|
|
241
251
|
* @property {boolean} [active]
|
|
242
252
|
* @property {boolean} [forgot_password]
|
|
243
253
|
* @property {Login} [login]
|
|
254
|
+
* @property {AccountLockout} [account_lockout]
|
|
255
|
+
* @property {PasswordSettings} [password_settings]
|
|
244
256
|
* @property {boolean} [skip_captcha]
|
|
245
257
|
* @property {string} [name]
|
|
246
258
|
* @property {MetaSchema} [meta]
|
|
@@ -267,10 +279,40 @@ export = UserPlatformModel;
|
|
|
267
279
|
* @property {string} [card_position]
|
|
268
280
|
* @property {string} [background_color]
|
|
269
281
|
*/
|
|
282
|
+
/**
|
|
283
|
+
* @typedef PasswordConfigs
|
|
284
|
+
* @property {number} [length]
|
|
285
|
+
* @property {boolean} [require_special_character]
|
|
286
|
+
* @property {boolean} [require_number]
|
|
287
|
+
* @property {boolean} [require_capital_character]
|
|
288
|
+
*/
|
|
289
|
+
/**
|
|
290
|
+
* @typedef PasswordHistory
|
|
291
|
+
* @property {boolean} [required]
|
|
292
|
+
* @property {number} [count]
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* @typedef PasswordExpiry
|
|
296
|
+
* @property {boolean} [required]
|
|
297
|
+
* @property {number} [duration]
|
|
298
|
+
*/
|
|
299
|
+
/**
|
|
300
|
+
* @typedef PasswordSettings
|
|
301
|
+
* @property {PasswordConfigs} [configs]
|
|
302
|
+
* @property {PasswordHistory} [history]
|
|
303
|
+
* @property {PasswordExpiry} [expiry]
|
|
304
|
+
*/
|
|
305
|
+
/**
|
|
306
|
+
* @typedef AccountLockout
|
|
307
|
+
* @property {boolean} [enable]
|
|
308
|
+
* @property {number} [attempts]
|
|
309
|
+
* @property {number} [duration]
|
|
310
|
+
*/
|
|
270
311
|
/**
|
|
271
312
|
* @typedef Login
|
|
272
313
|
* @property {boolean} [password]
|
|
273
314
|
* @property {boolean} [otp]
|
|
315
|
+
* @property {string} [via]
|
|
274
316
|
*/
|
|
275
317
|
/**
|
|
276
318
|
* @typedef MetaSchema
|
|
@@ -283,10 +325,15 @@ export = UserPlatformModel;
|
|
|
283
325
|
* @property {boolean} [google]
|
|
284
326
|
* @property {boolean} [apple]
|
|
285
327
|
*/
|
|
328
|
+
/**
|
|
329
|
+
* @typedef PlatformPassword
|
|
330
|
+
* @property {boolean} [is_required]
|
|
331
|
+
*/
|
|
286
332
|
/**
|
|
287
333
|
* @typedef RequiredFields
|
|
288
334
|
* @property {PlatformEmail} [email]
|
|
289
335
|
* @property {PlatformMobile} [mobile]
|
|
336
|
+
* @property {PlatformPassword} [password]
|
|
290
337
|
*/
|
|
291
338
|
/**
|
|
292
339
|
* @typedef PlatformEmail
|
|
@@ -302,6 +349,7 @@ export = UserPlatformModel;
|
|
|
302
349
|
* @typedef RegisterRequiredFields
|
|
303
350
|
* @property {RegisterRequiredFieldsEmail} [email]
|
|
304
351
|
* @property {RegisterRequiredFieldsMobile} [mobile]
|
|
352
|
+
* @property {PlatformPassword} [password]
|
|
305
353
|
*/
|
|
306
354
|
/**
|
|
307
355
|
* @typedef RegisterRequiredFieldsEmail
|
|
@@ -322,7 +370,7 @@ export = UserPlatformModel;
|
|
|
322
370
|
/**
|
|
323
371
|
* @typedef SocialTokens
|
|
324
372
|
* @property {Facebook} [facebook]
|
|
325
|
-
* @property {Accountkit} [
|
|
373
|
+
* @property {Accountkit} [accountkit]
|
|
326
374
|
* @property {Google} [google]
|
|
327
375
|
*/
|
|
328
376
|
/**
|
|
@@ -377,6 +425,10 @@ export = UserPlatformModel;
|
|
|
377
425
|
* @property {UserGroupUpdateData[]} [user_data] - Required property when passed
|
|
378
426
|
* type json. Array of user data. Must have `action` field and one of
|
|
379
427
|
* `phone_number`, `email` or `user_id` field in object
|
|
428
|
+
* @property {string[]} [whitelisted_users] - List of user ids to be whitelisted
|
|
429
|
+
* from user group
|
|
430
|
+
* @property {string[]} [blacklisted_users] - List of user ids to be blacklisted
|
|
431
|
+
* from user group
|
|
380
432
|
*/
|
|
381
433
|
/**
|
|
382
434
|
* @typedef UserGroupUpdateData
|
|
@@ -411,10 +463,17 @@ export = UserPlatformModel;
|
|
|
411
463
|
* @property {string} [phone]
|
|
412
464
|
* @property {string} [country_code]
|
|
413
465
|
*/
|
|
466
|
+
/**
|
|
467
|
+
* @typedef UserPasswordHistory
|
|
468
|
+
* @property {string} [salt]
|
|
469
|
+
* @property {string} [hash]
|
|
470
|
+
*/
|
|
414
471
|
/**
|
|
415
472
|
* @typedef UserSchema
|
|
416
473
|
* @property {string} [application_id]
|
|
417
474
|
* @property {string} [user_id]
|
|
475
|
+
* @property {string} [password_last_modified]
|
|
476
|
+
* @property {UserPasswordHistory[]} [password_history]
|
|
418
477
|
* @property {string} [first_name]
|
|
419
478
|
* @property {Object} [meta]
|
|
420
479
|
* @property {string} [last_name]
|
|
@@ -473,11 +532,11 @@ export = UserPlatformModel;
|
|
|
473
532
|
declare class UserPlatformModel {
|
|
474
533
|
}
|
|
475
534
|
declare namespace UserPlatformModel {
|
|
476
|
-
export {
|
|
535
|
+
export { SuccessMessageResponse, UserAttributeDefinition, UserAttributeDefinitionResponse, UserAttributeDefinitionValidation, UserAttributeResponse, CreateUserAttributeRequest, CreateUserAttributeDefinition, BlockUserRequestSchema, ArchiveUserRequestSchema, UnDeleteUserRequestSchema, BlockUserSuccess, ArchiveUserSuccess, UnDeleteUserSuccess, UserSearchResponseSchema, CustomerListResponseSchema, PaginationSchema, SessionListResponseSchema, SessionDeleteResponseSchema, SessionsDeleteResponseSchema, APIError, SessionListResponseInfo, Conditions, UserResponseErrorSchema, UserGroupResponseSchema, UserGroupListResponseSchema, ConditionsSchema, CreateUserGroup, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, PlatformSchema, LookAndFeel, PasswordConfigs, PasswordHistory, PasswordExpiry, PasswordSettings, AccountLockout, Login, MetaSchema, Social, PlatformPassword, RequiredFields, PlatformEmail, PlatformMobile, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, FlashCard, SocialTokens, DeleteAccountReasons, DeleteAccountConsent, Facebook, Accountkit, Google, SessionExpiry, UpdateUserGroupSchema, PartialUserGroupUpdateSchema, UserGroupUpdateData, UpdateUserRequestSchema, UserEmails, UserPhoneNumbers, UserPasswordHistory, UserSchema, UserSearchSchema, PhoneNumber, Email };
|
|
477
536
|
}
|
|
478
|
-
/** @returns {
|
|
479
|
-
declare function
|
|
480
|
-
type
|
|
537
|
+
/** @returns {SuccessMessageResponse} */
|
|
538
|
+
declare function SuccessMessageResponse(): SuccessMessageResponse;
|
|
539
|
+
type SuccessMessageResponse = {
|
|
481
540
|
success?: string;
|
|
482
541
|
};
|
|
483
542
|
/** @returns {UserAttributeDefinition} */
|
|
@@ -545,9 +604,9 @@ type UserAttributeDefinition = {
|
|
|
545
604
|
*/
|
|
546
605
|
__v?: number;
|
|
547
606
|
};
|
|
548
|
-
/** @returns {
|
|
549
|
-
declare function
|
|
550
|
-
type
|
|
607
|
+
/** @returns {UserAttributeDefinitionResponse} */
|
|
608
|
+
declare function UserAttributeDefinitionResponse(): UserAttributeDefinitionResponse;
|
|
609
|
+
type UserAttributeDefinitionResponse = {
|
|
551
610
|
/**
|
|
552
611
|
* - The unique identifier for the attribute definition.
|
|
553
612
|
*/
|
|
@@ -627,9 +686,9 @@ type UserAttributeDefinitionValidation = {
|
|
|
627
686
|
*/
|
|
628
687
|
value?: any;
|
|
629
688
|
};
|
|
630
|
-
/** @returns {
|
|
631
|
-
declare function
|
|
632
|
-
type
|
|
689
|
+
/** @returns {UserAttributeResponse} */
|
|
690
|
+
declare function UserAttributeResponse(): UserAttributeResponse;
|
|
691
|
+
type UserAttributeResponse = {
|
|
633
692
|
/**
|
|
634
693
|
* - The unique identifier for the attribute definition.
|
|
635
694
|
*/
|
|
@@ -653,49 +712,89 @@ type UserAttribute = {
|
|
|
653
712
|
/**
|
|
654
713
|
* - Whether the attribute is customer-editable.
|
|
655
714
|
*/
|
|
656
|
-
|
|
715
|
+
customer_overriden?: boolean;
|
|
657
716
|
attribute?: any;
|
|
658
717
|
updated_by?: string;
|
|
659
718
|
};
|
|
660
|
-
/** @returns {
|
|
661
|
-
declare function
|
|
662
|
-
type
|
|
663
|
-
|
|
719
|
+
/** @returns {CreateUserAttributeRequest} */
|
|
720
|
+
declare function CreateUserAttributeRequest(): CreateUserAttributeRequest;
|
|
721
|
+
type CreateUserAttributeRequest = {
|
|
722
|
+
customer_overriden?: boolean;
|
|
664
723
|
attribute?: any;
|
|
665
724
|
};
|
|
666
725
|
/** @returns {CreateUserAttributeDefinition} */
|
|
667
726
|
declare function CreateUserAttributeDefinition(): CreateUserAttributeDefinition;
|
|
668
727
|
type CreateUserAttributeDefinition = {
|
|
728
|
+
/**
|
|
729
|
+
* - The name of user attribute definition.
|
|
730
|
+
*/
|
|
669
731
|
name?: string;
|
|
732
|
+
/**
|
|
733
|
+
* - The unique identifier of user attribute definition.
|
|
734
|
+
*/
|
|
670
735
|
slug?: string;
|
|
736
|
+
/**
|
|
737
|
+
* - The description for the user attribute definition.
|
|
738
|
+
*/
|
|
671
739
|
description?: string;
|
|
740
|
+
/**
|
|
741
|
+
* - The attribute type for the user attribute definition.
|
|
742
|
+
*/
|
|
672
743
|
type?: string;
|
|
744
|
+
/**
|
|
745
|
+
* - Identifier to specify if attribute will
|
|
746
|
+
* have multiple values or not.
|
|
747
|
+
*/
|
|
673
748
|
multi_value?: boolean;
|
|
749
|
+
/**
|
|
750
|
+
* - Identifier to specify if attribute
|
|
751
|
+
* can be edited by the customer.
|
|
752
|
+
*/
|
|
674
753
|
customer_editable?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* - Identifier to specify if attribute will be
|
|
756
|
+
* stored in encrypted format.
|
|
757
|
+
*/
|
|
675
758
|
encrypted?: boolean;
|
|
759
|
+
/**
|
|
760
|
+
* - Identifier to specify if the definition is
|
|
761
|
+
* pinned or not.
|
|
762
|
+
*/
|
|
676
763
|
pinned?: boolean;
|
|
764
|
+
/**
|
|
765
|
+
* - Pin order of the Attribute Definition.
|
|
766
|
+
*/
|
|
677
767
|
pin_order?: number;
|
|
678
|
-
|
|
768
|
+
/**
|
|
769
|
+
* - The default value for the User Attribute
|
|
770
|
+
* Definition. Data type of the default value depends on the type of the
|
|
771
|
+
* attribute definition type defined.
|
|
772
|
+
*/
|
|
773
|
+
default_value?: any;
|
|
774
|
+
/**
|
|
775
|
+
* - The custom validations that have been
|
|
776
|
+
* set for this customer definition.
|
|
777
|
+
*/
|
|
679
778
|
validations?: any[];
|
|
680
779
|
};
|
|
681
780
|
/** @returns {BlockUserRequestSchema} */
|
|
682
781
|
declare function BlockUserRequestSchema(): BlockUserRequestSchema;
|
|
683
782
|
type BlockUserRequestSchema = {
|
|
684
|
-
status
|
|
685
|
-
user_id
|
|
686
|
-
reason
|
|
783
|
+
status: boolean;
|
|
784
|
+
user_id: string[];
|
|
785
|
+
reason: string;
|
|
687
786
|
};
|
|
688
787
|
/** @returns {ArchiveUserRequestSchema} */
|
|
689
788
|
declare function ArchiveUserRequestSchema(): ArchiveUserRequestSchema;
|
|
690
789
|
type ArchiveUserRequestSchema = {
|
|
691
|
-
user_id
|
|
790
|
+
user_id: string;
|
|
692
791
|
};
|
|
693
792
|
/** @returns {UnDeleteUserRequestSchema} */
|
|
694
793
|
declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
|
|
695
794
|
type UnDeleteUserRequestSchema = {
|
|
696
|
-
user_id
|
|
697
|
-
reason
|
|
698
|
-
reason_id
|
|
795
|
+
user_id: string;
|
|
796
|
+
reason: string;
|
|
797
|
+
reason_id: string;
|
|
699
798
|
};
|
|
700
799
|
/** @returns {BlockUserSuccess} */
|
|
701
800
|
declare function BlockUserSuccess(): BlockUserSuccess;
|
|
@@ -778,7 +877,7 @@ declare function Conditions(): Conditions;
|
|
|
778
877
|
type Conditions = {
|
|
779
878
|
user_attribute_definition_id?: string;
|
|
780
879
|
type?: string;
|
|
781
|
-
value?:
|
|
880
|
+
value?: any;
|
|
782
881
|
key?: string;
|
|
783
882
|
};
|
|
784
883
|
/** @returns {UserResponseErrorSchema} */
|
|
@@ -791,6 +890,7 @@ type UserResponseErrorSchema = {
|
|
|
791
890
|
declare function UserGroupResponseSchema(): UserGroupResponseSchema;
|
|
792
891
|
type UserGroupResponseSchema = {
|
|
793
892
|
conditions?: Conditions[];
|
|
893
|
+
blacklisted_users?: string[];
|
|
794
894
|
error?: UserResponseErrorSchema;
|
|
795
895
|
name?: string;
|
|
796
896
|
description?: string;
|
|
@@ -816,7 +916,7 @@ declare function ConditionsSchema(): ConditionsSchema;
|
|
|
816
916
|
type ConditionsSchema = {
|
|
817
917
|
user_attribute_definition_id?: string;
|
|
818
918
|
type?: string;
|
|
819
|
-
value?:
|
|
919
|
+
value?: any;
|
|
820
920
|
};
|
|
821
921
|
/** @returns {CreateUserGroup} */
|
|
822
922
|
declare function CreateUserGroup(): CreateUserGroup;
|
|
@@ -826,6 +926,7 @@ type CreateUserGroup = {
|
|
|
826
926
|
name: string;
|
|
827
927
|
description: string;
|
|
828
928
|
file_url?: string;
|
|
929
|
+
blacklisted_users?: string[];
|
|
829
930
|
};
|
|
830
931
|
/** @returns {CreateUserRequestSchema} */
|
|
831
932
|
declare function CreateUserRequestSchema(): CreateUserRequestSchema;
|
|
@@ -835,7 +936,7 @@ type CreateUserRequestSchema = {
|
|
|
835
936
|
first_name?: string;
|
|
836
937
|
last_name?: string;
|
|
837
938
|
gender?: string;
|
|
838
|
-
username
|
|
939
|
+
username: string;
|
|
839
940
|
meta?: any;
|
|
840
941
|
external_id?: string;
|
|
841
942
|
rr_id?: string;
|
|
@@ -848,8 +949,9 @@ type CreateUserResponseSchema = {
|
|
|
848
949
|
/** @returns {CreateUserSessionRequestSchema} */
|
|
849
950
|
declare function CreateUserSessionRequestSchema(): CreateUserSessionRequestSchema;
|
|
850
951
|
type CreateUserSessionRequestSchema = {
|
|
851
|
-
domain
|
|
852
|
-
user_id
|
|
952
|
+
domain: string;
|
|
953
|
+
user_id: string;
|
|
954
|
+
max_age?: number;
|
|
853
955
|
};
|
|
854
956
|
/** @returns {CreateUserSessionResponseSchema} */
|
|
855
957
|
declare function CreateUserSessionResponseSchema(): CreateUserSessionResponseSchema;
|
|
@@ -869,6 +971,8 @@ type PlatformSchema = {
|
|
|
869
971
|
active?: boolean;
|
|
870
972
|
forgot_password?: boolean;
|
|
871
973
|
login?: Login;
|
|
974
|
+
account_lockout?: AccountLockout;
|
|
975
|
+
password_settings?: PasswordSettings;
|
|
872
976
|
skip_captcha?: boolean;
|
|
873
977
|
name?: string;
|
|
874
978
|
meta?: MetaSchema;
|
|
@@ -896,11 +1000,46 @@ type LookAndFeel = {
|
|
|
896
1000
|
card_position?: string;
|
|
897
1001
|
background_color?: string;
|
|
898
1002
|
};
|
|
1003
|
+
/** @returns {PasswordConfigs} */
|
|
1004
|
+
declare function PasswordConfigs(): PasswordConfigs;
|
|
1005
|
+
type PasswordConfigs = {
|
|
1006
|
+
length?: number;
|
|
1007
|
+
require_special_character?: boolean;
|
|
1008
|
+
require_number?: boolean;
|
|
1009
|
+
require_capital_character?: boolean;
|
|
1010
|
+
};
|
|
1011
|
+
/** @returns {PasswordHistory} */
|
|
1012
|
+
declare function PasswordHistory(): PasswordHistory;
|
|
1013
|
+
type PasswordHistory = {
|
|
1014
|
+
required?: boolean;
|
|
1015
|
+
count?: number;
|
|
1016
|
+
};
|
|
1017
|
+
/** @returns {PasswordExpiry} */
|
|
1018
|
+
declare function PasswordExpiry(): PasswordExpiry;
|
|
1019
|
+
type PasswordExpiry = {
|
|
1020
|
+
required?: boolean;
|
|
1021
|
+
duration?: number;
|
|
1022
|
+
};
|
|
1023
|
+
/** @returns {PasswordSettings} */
|
|
1024
|
+
declare function PasswordSettings(): PasswordSettings;
|
|
1025
|
+
type PasswordSettings = {
|
|
1026
|
+
configs?: PasswordConfigs;
|
|
1027
|
+
history?: PasswordHistory;
|
|
1028
|
+
expiry?: PasswordExpiry;
|
|
1029
|
+
};
|
|
1030
|
+
/** @returns {AccountLockout} */
|
|
1031
|
+
declare function AccountLockout(): AccountLockout;
|
|
1032
|
+
type AccountLockout = {
|
|
1033
|
+
enable?: boolean;
|
|
1034
|
+
attempts?: number;
|
|
1035
|
+
duration?: number;
|
|
1036
|
+
};
|
|
899
1037
|
/** @returns {Login} */
|
|
900
1038
|
declare function Login(): Login;
|
|
901
1039
|
type Login = {
|
|
902
1040
|
password?: boolean;
|
|
903
1041
|
otp?: boolean;
|
|
1042
|
+
via?: string;
|
|
904
1043
|
};
|
|
905
1044
|
/** @returns {MetaSchema} */
|
|
906
1045
|
declare function MetaSchema(): MetaSchema;
|
|
@@ -915,11 +1054,17 @@ type Social = {
|
|
|
915
1054
|
google?: boolean;
|
|
916
1055
|
apple?: boolean;
|
|
917
1056
|
};
|
|
1057
|
+
/** @returns {PlatformPassword} */
|
|
1058
|
+
declare function PlatformPassword(): PlatformPassword;
|
|
1059
|
+
type PlatformPassword = {
|
|
1060
|
+
is_required?: boolean;
|
|
1061
|
+
};
|
|
918
1062
|
/** @returns {RequiredFields} */
|
|
919
1063
|
declare function RequiredFields(): RequiredFields;
|
|
920
1064
|
type RequiredFields = {
|
|
921
1065
|
email?: PlatformEmail;
|
|
922
1066
|
mobile?: PlatformMobile;
|
|
1067
|
+
password?: PlatformPassword;
|
|
923
1068
|
};
|
|
924
1069
|
/** @returns {PlatformEmail} */
|
|
925
1070
|
declare function PlatformEmail(): PlatformEmail;
|
|
@@ -938,6 +1083,7 @@ declare function RegisterRequiredFields(): RegisterRequiredFields;
|
|
|
938
1083
|
type RegisterRequiredFields = {
|
|
939
1084
|
email?: RegisterRequiredFieldsEmail;
|
|
940
1085
|
mobile?: RegisterRequiredFieldsMobile;
|
|
1086
|
+
password?: PlatformPassword;
|
|
941
1087
|
};
|
|
942
1088
|
/** @returns {RegisterRequiredFieldsEmail} */
|
|
943
1089
|
declare function RegisterRequiredFieldsEmail(): RegisterRequiredFieldsEmail;
|
|
@@ -962,7 +1108,7 @@ type FlashCard = {
|
|
|
962
1108
|
declare function SocialTokens(): SocialTokens;
|
|
963
1109
|
type SocialTokens = {
|
|
964
1110
|
facebook?: Facebook;
|
|
965
|
-
|
|
1111
|
+
accountkit?: Accountkit;
|
|
966
1112
|
google?: Google;
|
|
967
1113
|
};
|
|
968
1114
|
/** @returns {DeleteAccountReasons} */
|
|
@@ -1034,6 +1180,16 @@ type PartialUserGroupUpdateSchema = {
|
|
|
1034
1180
|
* `phone_number`, `email` or `user_id` field in object
|
|
1035
1181
|
*/
|
|
1036
1182
|
user_data?: UserGroupUpdateData[];
|
|
1183
|
+
/**
|
|
1184
|
+
* - List of user ids to be whitelisted
|
|
1185
|
+
* from user group
|
|
1186
|
+
*/
|
|
1187
|
+
whitelisted_users?: string[];
|
|
1188
|
+
/**
|
|
1189
|
+
* - List of user ids to be blacklisted
|
|
1190
|
+
* from user group
|
|
1191
|
+
*/
|
|
1192
|
+
blacklisted_users?: string[];
|
|
1037
1193
|
};
|
|
1038
1194
|
/** @returns {UserGroupUpdateData} */
|
|
1039
1195
|
declare function UserGroupUpdateData(): UserGroupUpdateData;
|
|
@@ -1081,11 +1237,19 @@ type UserPhoneNumbers = {
|
|
|
1081
1237
|
phone?: string;
|
|
1082
1238
|
country_code?: string;
|
|
1083
1239
|
};
|
|
1240
|
+
/** @returns {UserPasswordHistory} */
|
|
1241
|
+
declare function UserPasswordHistory(): UserPasswordHistory;
|
|
1242
|
+
type UserPasswordHistory = {
|
|
1243
|
+
salt?: string;
|
|
1244
|
+
hash?: string;
|
|
1245
|
+
};
|
|
1084
1246
|
/** @returns {UserSchema} */
|
|
1085
1247
|
declare function UserSchema(): UserSchema;
|
|
1086
1248
|
type UserSchema = {
|
|
1087
1249
|
application_id?: string;
|
|
1088
1250
|
user_id?: string;
|
|
1251
|
+
password_last_modified?: string;
|
|
1252
|
+
password_history?: UserPasswordHistory[];
|
|
1089
1253
|
first_name?: string;
|
|
1090
1254
|
meta?: any;
|
|
1091
1255
|
last_name?: string;
|