@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.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 +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1030 -468
- package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -26,10 +26,44 @@ export = UserPlatformModel;
|
|
|
26
26
|
* @property {boolean} [success]
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
|
-
* @typedef
|
|
29
|
+
* @typedef Conditions
|
|
30
|
+
* @property {string} [key]
|
|
31
|
+
* @property {string} [type]
|
|
32
|
+
* @property {string} [user_attribute_definition_id]
|
|
33
|
+
* @property {string} [value]
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* @typedef ConditionsSchema
|
|
37
|
+
* @property {string} [type]
|
|
38
|
+
* @property {string} [user_attribute_definition_id]
|
|
39
|
+
* @property {string} [value]
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* @typedef CreateUserAttributeDefinition
|
|
43
|
+
* @property {boolean} [customer_editable]
|
|
44
|
+
* @property {string} [default_value]
|
|
45
|
+
* @property {string} [description]
|
|
46
|
+
* @property {boolean} [encrypted]
|
|
47
|
+
* @property {boolean} [multi_value]
|
|
48
|
+
* @property {string} [name]
|
|
49
|
+
* @property {number} [pin_order]
|
|
50
|
+
* @property {boolean} [pinned]
|
|
51
|
+
* @property {string} [slug]
|
|
52
|
+
* @property {string} [type]
|
|
53
|
+
* @property {Object[]} [validations]
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* @typedef CreateUserAttributeRequest
|
|
57
|
+
* @property {Object} [attribute]
|
|
58
|
+
* @property {boolean} [customer_overriden]
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef CreateUserGroup
|
|
62
|
+
* @property {ConditionsSchema[]} [conditions]
|
|
30
63
|
* @property {string} description
|
|
31
|
-
* @property {string} file_url
|
|
64
|
+
* @property {string} [file_url]
|
|
32
65
|
* @property {string} name
|
|
66
|
+
* @property {string} [type]
|
|
33
67
|
*/
|
|
34
68
|
/**
|
|
35
69
|
* @typedef CreateUserRequestSchema
|
|
@@ -239,6 +273,10 @@ export = UserPlatformModel;
|
|
|
239
273
|
* @property {Facebook} [facebook]
|
|
240
274
|
* @property {Google} [google]
|
|
241
275
|
*/
|
|
276
|
+
/**
|
|
277
|
+
* @typedef SuccessMessageResponse
|
|
278
|
+
* @property {string} [success]
|
|
279
|
+
*/
|
|
242
280
|
/**
|
|
243
281
|
* @typedef UnDeleteUserRequestSchema
|
|
244
282
|
* @property {string} [reason]
|
|
@@ -251,9 +289,11 @@ export = UserPlatformModel;
|
|
|
251
289
|
*/
|
|
252
290
|
/**
|
|
253
291
|
* @typedef UpdateUserGroupSchema
|
|
292
|
+
* @property {ConditionsSchema[]} [conditions]
|
|
254
293
|
* @property {string} [description]
|
|
255
294
|
* @property {string} [file_url]
|
|
256
295
|
* @property {string} [name]
|
|
296
|
+
* @property {string} [type]
|
|
257
297
|
*/
|
|
258
298
|
/**
|
|
259
299
|
* @typedef UpdateUserRequestSchema
|
|
@@ -265,6 +305,62 @@ export = UserPlatformModel;
|
|
|
265
305
|
* @property {Object} [meta]
|
|
266
306
|
* @property {UserPhoneNumbers[]} [phone_numbers]
|
|
267
307
|
*/
|
|
308
|
+
/**
|
|
309
|
+
* @typedef UserAttributeDefinition
|
|
310
|
+
* @property {number} [__v] - The version number of the attribute.
|
|
311
|
+
* @property {string} [_id] - The unique identifier for the attribute definition.
|
|
312
|
+
* @property {string} [application_id] - The application ID.
|
|
313
|
+
* @property {string} [created_at] - The creation date of the attribute.
|
|
314
|
+
* @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
|
|
315
|
+
* @property {string} [description] - The description of the attribute.
|
|
316
|
+
* @property {boolean} [encrypted] - Whether the attribute is encrypted.
|
|
317
|
+
* @property {boolean} [is_locked] - Whether the attribute is locked.
|
|
318
|
+
* @property {string} [modified_at] - The modification date of the attribute.
|
|
319
|
+
* @property {boolean} [multi_value] - Whether the attribute supports multiple values.
|
|
320
|
+
* @property {string} [name] - The attribute name.
|
|
321
|
+
* @property {number} [pin_order] - The order in which the attribute is pinned.
|
|
322
|
+
* @property {boolean} [pinned] - Whether the attribute is pinned.
|
|
323
|
+
* @property {string} [slug] - The attribute key.
|
|
324
|
+
* @property {string} [type] - The attribute type.
|
|
325
|
+
* @property {Object[]} [validations]
|
|
326
|
+
*/
|
|
327
|
+
/**
|
|
328
|
+
* @typedef UserAttributeDefinitionResponse
|
|
329
|
+
* @property {string} [_id] - The unique identifier for the attribute definition.
|
|
330
|
+
* @property {string} [application_id] - The application ID.
|
|
331
|
+
* @property {string} [created_at] - The creation date of the attribute definition.
|
|
332
|
+
* @property {string} [created_by] - The user who created the attribute.
|
|
333
|
+
* @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
|
|
334
|
+
* @property {string} [description] - The description of the attribute.
|
|
335
|
+
* @property {boolean} [encrypted] - Whether the attribute is encrypted.
|
|
336
|
+
* @property {boolean} [is_locked] - Whether the attribute is locked.
|
|
337
|
+
* @property {string} [modified_at] - The last modification date of the
|
|
338
|
+
* attribute definition.
|
|
339
|
+
* @property {boolean} [multi_value] - Whether the attribute supports multiple values.
|
|
340
|
+
* @property {string} [name] - The attribute name.
|
|
341
|
+
* @property {number} [pin_order] - The order in which the attribute is pinned.
|
|
342
|
+
* @property {boolean} [pinned] - Whether the attribute is pinned.
|
|
343
|
+
* @property {string} [slug] - The attribute key.
|
|
344
|
+
* @property {string} [type] - The attribute type.
|
|
345
|
+
* @property {string} [updated_by] - The user who last updated the attribute.
|
|
346
|
+
* @property {UserAttributeDefinitionValidation[]} [validations]
|
|
347
|
+
*/
|
|
348
|
+
/**
|
|
349
|
+
* @typedef UserAttributeDefinitionValidation
|
|
350
|
+
* @property {string} [type] - The type of validation.
|
|
351
|
+
* @property {Object} [value] - The validation value.
|
|
352
|
+
*/
|
|
353
|
+
/**
|
|
354
|
+
* @typedef UserAttributeResponse
|
|
355
|
+
* @property {string} [_id] - The unique identifier for the attribute definition.
|
|
356
|
+
* @property {string} [application_id] - The application ID.
|
|
357
|
+
* @property {Object} [attribute]
|
|
358
|
+
* @property {boolean} [customer_overriden] - Whether the attribute is customer-editable.
|
|
359
|
+
* @property {string} [name] - The name of user attribute definition.
|
|
360
|
+
* @property {string} [type] - The attribute type.
|
|
361
|
+
* @property {string} [updated_by]
|
|
362
|
+
* @property {string} [user_id] - The unique identifier for the user.
|
|
363
|
+
*/
|
|
268
364
|
/**
|
|
269
365
|
* @typedef UserEmails
|
|
270
366
|
* @property {boolean} [active]
|
|
@@ -282,12 +378,16 @@ export = UserPlatformModel;
|
|
|
282
378
|
* @property {number} [__v]
|
|
283
379
|
* @property {string} [_id]
|
|
284
380
|
* @property {string} [application_id]
|
|
381
|
+
* @property {Conditions[]} [conditions]
|
|
285
382
|
* @property {string} [created_at]
|
|
286
383
|
* @property {string} [description]
|
|
384
|
+
* @property {UserResponseErrorSchema} [error]
|
|
287
385
|
* @property {string} [file_url]
|
|
386
|
+
* @property {boolean} [is_active]
|
|
288
387
|
* @property {string} [modified_at]
|
|
289
388
|
* @property {string} [name]
|
|
290
389
|
* @property {string} [status]
|
|
390
|
+
* @property {string} [type]
|
|
291
391
|
* @property {number} [uid]
|
|
292
392
|
*/
|
|
293
393
|
/**
|
|
@@ -305,6 +405,11 @@ export = UserPlatformModel;
|
|
|
305
405
|
* @property {boolean} [primary]
|
|
306
406
|
* @property {boolean} [verified]
|
|
307
407
|
*/
|
|
408
|
+
/**
|
|
409
|
+
* @typedef UserResponseErrorSchema
|
|
410
|
+
* @property {number} [count]
|
|
411
|
+
* @property {string} [file_url]
|
|
412
|
+
*/
|
|
308
413
|
/**
|
|
309
414
|
* @typedef UserSchema
|
|
310
415
|
* @property {string} [_id]
|
|
@@ -332,7 +437,7 @@ export = UserPlatformModel;
|
|
|
332
437
|
declare class UserPlatformModel {
|
|
333
438
|
}
|
|
334
439
|
declare namespace UserPlatformModel {
|
|
335
|
-
export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, BlockUserRequestSchema, BlockUserSuccess,
|
|
440
|
+
export { Accountkit, ArchiveUserRequestSchema, ArchiveUserSuccess, AuthenticationApiErrorSchema, BlockUserRequestSchema, BlockUserSuccess, Conditions, ConditionsSchema, CreateUserAttributeDefinition, CreateUserAttributeRequest, CreateUserGroup, CreateUserRequestSchema, CreateUserResponseSchema, CreateUserSessionRequestSchema, CreateUserSessionResponseSchema, CustomerListResponseSchema, DeleteAccountConsent, DeleteAccountReasons, Email, Facebook, FlashCard, Google, Login, LookAndFeel, MetaSchema, PaginationSchema, PartialUserGroupUpdateSchema, PhoneNumber, PlatformEmail, PlatformMobile, PlatformSchema, RegisterRequiredFields, RegisterRequiredFieldsEmail, RegisterRequiredFieldsMobile, RequiredFields, SessionDeleteResponseSchema, SessionExpiry, SessionListResponseInfo, SessionListResponseSchema, SessionsDeleteResponseSchema, Social, SocialTokens, SuccessMessageResponse, UnDeleteUserRequestSchema, UnDeleteUserSuccess, UpdateUserGroupSchema, UpdateUserRequestSchema, UserAttributeDefinition, UserAttributeDefinitionResponse, UserAttributeDefinitionValidation, UserAttributeResponse, UserEmails, UserGroupListResponseSchema, UserGroupResponseSchema, UserGroupUpdateData, UserPhoneNumbers, UserResponseErrorSchema, UserSchema, UserSearchResponseSchema };
|
|
336
441
|
}
|
|
337
442
|
/** @returns {Accountkit} */
|
|
338
443
|
declare function Accountkit(): Accountkit;
|
|
@@ -366,12 +471,50 @@ declare function BlockUserSuccess(): BlockUserSuccess;
|
|
|
366
471
|
type BlockUserSuccess = {
|
|
367
472
|
success?: boolean;
|
|
368
473
|
};
|
|
369
|
-
/** @returns {
|
|
370
|
-
declare function
|
|
371
|
-
type
|
|
474
|
+
/** @returns {Conditions} */
|
|
475
|
+
declare function Conditions(): Conditions;
|
|
476
|
+
type Conditions = {
|
|
477
|
+
key?: string;
|
|
478
|
+
type?: string;
|
|
479
|
+
user_attribute_definition_id?: string;
|
|
480
|
+
value?: string;
|
|
481
|
+
};
|
|
482
|
+
/** @returns {ConditionsSchema} */
|
|
483
|
+
declare function ConditionsSchema(): ConditionsSchema;
|
|
484
|
+
type ConditionsSchema = {
|
|
485
|
+
type?: string;
|
|
486
|
+
user_attribute_definition_id?: string;
|
|
487
|
+
value?: string;
|
|
488
|
+
};
|
|
489
|
+
/** @returns {CreateUserAttributeDefinition} */
|
|
490
|
+
declare function CreateUserAttributeDefinition(): CreateUserAttributeDefinition;
|
|
491
|
+
type CreateUserAttributeDefinition = {
|
|
492
|
+
customer_editable?: boolean;
|
|
493
|
+
default_value?: string;
|
|
494
|
+
description?: string;
|
|
495
|
+
encrypted?: boolean;
|
|
496
|
+
multi_value?: boolean;
|
|
497
|
+
name?: string;
|
|
498
|
+
pin_order?: number;
|
|
499
|
+
pinned?: boolean;
|
|
500
|
+
slug?: string;
|
|
501
|
+
type?: string;
|
|
502
|
+
validations?: any[];
|
|
503
|
+
};
|
|
504
|
+
/** @returns {CreateUserAttributeRequest} */
|
|
505
|
+
declare function CreateUserAttributeRequest(): CreateUserAttributeRequest;
|
|
506
|
+
type CreateUserAttributeRequest = {
|
|
507
|
+
attribute?: any;
|
|
508
|
+
customer_overriden?: boolean;
|
|
509
|
+
};
|
|
510
|
+
/** @returns {CreateUserGroup} */
|
|
511
|
+
declare function CreateUserGroup(): CreateUserGroup;
|
|
512
|
+
type CreateUserGroup = {
|
|
513
|
+
conditions?: ConditionsSchema[];
|
|
372
514
|
description: string;
|
|
373
|
-
file_url
|
|
515
|
+
file_url?: string;
|
|
374
516
|
name: string;
|
|
517
|
+
type?: string;
|
|
375
518
|
};
|
|
376
519
|
/** @returns {CreateUserRequestSchema} */
|
|
377
520
|
declare function CreateUserRequestSchema(): CreateUserRequestSchema;
|
|
@@ -621,6 +764,11 @@ type SocialTokens = {
|
|
|
621
764
|
facebook?: Facebook;
|
|
622
765
|
google?: Google;
|
|
623
766
|
};
|
|
767
|
+
/** @returns {SuccessMessageResponse} */
|
|
768
|
+
declare function SuccessMessageResponse(): SuccessMessageResponse;
|
|
769
|
+
type SuccessMessageResponse = {
|
|
770
|
+
success?: string;
|
|
771
|
+
};
|
|
624
772
|
/** @returns {UnDeleteUserRequestSchema} */
|
|
625
773
|
declare function UnDeleteUserRequestSchema(): UnDeleteUserRequestSchema;
|
|
626
774
|
type UnDeleteUserRequestSchema = {
|
|
@@ -636,9 +784,11 @@ type UnDeleteUserSuccess = {
|
|
|
636
784
|
/** @returns {UpdateUserGroupSchema} */
|
|
637
785
|
declare function UpdateUserGroupSchema(): UpdateUserGroupSchema;
|
|
638
786
|
type UpdateUserGroupSchema = {
|
|
787
|
+
conditions?: ConditionsSchema[];
|
|
639
788
|
description?: string;
|
|
640
789
|
file_url?: string;
|
|
641
790
|
name?: string;
|
|
791
|
+
type?: string;
|
|
642
792
|
};
|
|
643
793
|
/** @returns {UpdateUserRequestSchema} */
|
|
644
794
|
declare function UpdateUserRequestSchema(): UpdateUserRequestSchema;
|
|
@@ -651,6 +801,183 @@ type UpdateUserRequestSchema = {
|
|
|
651
801
|
meta?: any;
|
|
652
802
|
phone_numbers?: UserPhoneNumbers[];
|
|
653
803
|
};
|
|
804
|
+
/** @returns {UserAttributeDefinition} */
|
|
805
|
+
declare function UserAttributeDefinition(): UserAttributeDefinition;
|
|
806
|
+
type UserAttributeDefinition = {
|
|
807
|
+
/**
|
|
808
|
+
* - The version number of the attribute.
|
|
809
|
+
*/
|
|
810
|
+
__v?: number;
|
|
811
|
+
/**
|
|
812
|
+
* - The unique identifier for the attribute definition.
|
|
813
|
+
*/
|
|
814
|
+
_id?: string;
|
|
815
|
+
/**
|
|
816
|
+
* - The application ID.
|
|
817
|
+
*/
|
|
818
|
+
application_id?: string;
|
|
819
|
+
/**
|
|
820
|
+
* - The creation date of the attribute.
|
|
821
|
+
*/
|
|
822
|
+
created_at?: string;
|
|
823
|
+
/**
|
|
824
|
+
* - Whether the attribute is customer-editable.
|
|
825
|
+
*/
|
|
826
|
+
customer_editable?: boolean;
|
|
827
|
+
/**
|
|
828
|
+
* - The description of the attribute.
|
|
829
|
+
*/
|
|
830
|
+
description?: string;
|
|
831
|
+
/**
|
|
832
|
+
* - Whether the attribute is encrypted.
|
|
833
|
+
*/
|
|
834
|
+
encrypted?: boolean;
|
|
835
|
+
/**
|
|
836
|
+
* - Whether the attribute is locked.
|
|
837
|
+
*/
|
|
838
|
+
is_locked?: boolean;
|
|
839
|
+
/**
|
|
840
|
+
* - The modification date of the attribute.
|
|
841
|
+
*/
|
|
842
|
+
modified_at?: string;
|
|
843
|
+
/**
|
|
844
|
+
* - Whether the attribute supports multiple values.
|
|
845
|
+
*/
|
|
846
|
+
multi_value?: boolean;
|
|
847
|
+
/**
|
|
848
|
+
* - The attribute name.
|
|
849
|
+
*/
|
|
850
|
+
name?: string;
|
|
851
|
+
/**
|
|
852
|
+
* - The order in which the attribute is pinned.
|
|
853
|
+
*/
|
|
854
|
+
pin_order?: number;
|
|
855
|
+
/**
|
|
856
|
+
* - Whether the attribute is pinned.
|
|
857
|
+
*/
|
|
858
|
+
pinned?: boolean;
|
|
859
|
+
/**
|
|
860
|
+
* - The attribute key.
|
|
861
|
+
*/
|
|
862
|
+
slug?: string;
|
|
863
|
+
/**
|
|
864
|
+
* - The attribute type.
|
|
865
|
+
*/
|
|
866
|
+
type?: string;
|
|
867
|
+
validations?: any[];
|
|
868
|
+
};
|
|
869
|
+
/** @returns {UserAttributeDefinitionResponse} */
|
|
870
|
+
declare function UserAttributeDefinitionResponse(): UserAttributeDefinitionResponse;
|
|
871
|
+
type UserAttributeDefinitionResponse = {
|
|
872
|
+
/**
|
|
873
|
+
* - The unique identifier for the attribute definition.
|
|
874
|
+
*/
|
|
875
|
+
_id?: string;
|
|
876
|
+
/**
|
|
877
|
+
* - The application ID.
|
|
878
|
+
*/
|
|
879
|
+
application_id?: string;
|
|
880
|
+
/**
|
|
881
|
+
* - The creation date of the attribute definition.
|
|
882
|
+
*/
|
|
883
|
+
created_at?: string;
|
|
884
|
+
/**
|
|
885
|
+
* - The user who created the attribute.
|
|
886
|
+
*/
|
|
887
|
+
created_by?: string;
|
|
888
|
+
/**
|
|
889
|
+
* - Whether the attribute is customer-editable.
|
|
890
|
+
*/
|
|
891
|
+
customer_editable?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* - The description of the attribute.
|
|
894
|
+
*/
|
|
895
|
+
description?: string;
|
|
896
|
+
/**
|
|
897
|
+
* - Whether the attribute is encrypted.
|
|
898
|
+
*/
|
|
899
|
+
encrypted?: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* - Whether the attribute is locked.
|
|
902
|
+
*/
|
|
903
|
+
is_locked?: boolean;
|
|
904
|
+
/**
|
|
905
|
+
* - The last modification date of the
|
|
906
|
+
* attribute definition.
|
|
907
|
+
*/
|
|
908
|
+
modified_at?: string;
|
|
909
|
+
/**
|
|
910
|
+
* - Whether the attribute supports multiple values.
|
|
911
|
+
*/
|
|
912
|
+
multi_value?: boolean;
|
|
913
|
+
/**
|
|
914
|
+
* - The attribute name.
|
|
915
|
+
*/
|
|
916
|
+
name?: string;
|
|
917
|
+
/**
|
|
918
|
+
* - The order in which the attribute is pinned.
|
|
919
|
+
*/
|
|
920
|
+
pin_order?: number;
|
|
921
|
+
/**
|
|
922
|
+
* - Whether the attribute is pinned.
|
|
923
|
+
*/
|
|
924
|
+
pinned?: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* - The attribute key.
|
|
927
|
+
*/
|
|
928
|
+
slug?: string;
|
|
929
|
+
/**
|
|
930
|
+
* - The attribute type.
|
|
931
|
+
*/
|
|
932
|
+
type?: string;
|
|
933
|
+
/**
|
|
934
|
+
* - The user who last updated the attribute.
|
|
935
|
+
*/
|
|
936
|
+
updated_by?: string;
|
|
937
|
+
validations?: UserAttributeDefinitionValidation[];
|
|
938
|
+
};
|
|
939
|
+
/** @returns {UserAttributeDefinitionValidation} */
|
|
940
|
+
declare function UserAttributeDefinitionValidation(): UserAttributeDefinitionValidation;
|
|
941
|
+
type UserAttributeDefinitionValidation = {
|
|
942
|
+
/**
|
|
943
|
+
* - The type of validation.
|
|
944
|
+
*/
|
|
945
|
+
type?: string;
|
|
946
|
+
/**
|
|
947
|
+
* - The validation value.
|
|
948
|
+
*/
|
|
949
|
+
value?: any;
|
|
950
|
+
};
|
|
951
|
+
/** @returns {UserAttributeResponse} */
|
|
952
|
+
declare function UserAttributeResponse(): UserAttributeResponse;
|
|
953
|
+
type UserAttributeResponse = {
|
|
954
|
+
/**
|
|
955
|
+
* - The unique identifier for the attribute definition.
|
|
956
|
+
*/
|
|
957
|
+
_id?: string;
|
|
958
|
+
/**
|
|
959
|
+
* - The application ID.
|
|
960
|
+
*/
|
|
961
|
+
application_id?: string;
|
|
962
|
+
attribute?: any;
|
|
963
|
+
/**
|
|
964
|
+
* - Whether the attribute is customer-editable.
|
|
965
|
+
*/
|
|
966
|
+
customer_overriden?: boolean;
|
|
967
|
+
/**
|
|
968
|
+
* - The name of user attribute definition.
|
|
969
|
+
*/
|
|
970
|
+
name?: string;
|
|
971
|
+
/**
|
|
972
|
+
* - The attribute type.
|
|
973
|
+
*/
|
|
974
|
+
type?: string;
|
|
975
|
+
updated_by?: string;
|
|
976
|
+
/**
|
|
977
|
+
* - The unique identifier for the user.
|
|
978
|
+
*/
|
|
979
|
+
user_id?: string;
|
|
980
|
+
};
|
|
654
981
|
/** @returns {UserEmails} */
|
|
655
982
|
declare function UserEmails(): UserEmails;
|
|
656
983
|
type UserEmails = {
|
|
@@ -671,12 +998,16 @@ type UserGroupResponseSchema = {
|
|
|
671
998
|
__v?: number;
|
|
672
999
|
_id?: string;
|
|
673
1000
|
application_id?: string;
|
|
1001
|
+
conditions?: Conditions[];
|
|
674
1002
|
created_at?: string;
|
|
675
1003
|
description?: string;
|
|
1004
|
+
error?: UserResponseErrorSchema;
|
|
676
1005
|
file_url?: string;
|
|
1006
|
+
is_active?: boolean;
|
|
677
1007
|
modified_at?: string;
|
|
678
1008
|
name?: string;
|
|
679
1009
|
status?: string;
|
|
1010
|
+
type?: string;
|
|
680
1011
|
uid?: number;
|
|
681
1012
|
};
|
|
682
1013
|
/** @returns {UserGroupUpdateData} */
|
|
@@ -705,6 +1036,12 @@ type UserPhoneNumbers = {
|
|
|
705
1036
|
primary?: boolean;
|
|
706
1037
|
verified?: boolean;
|
|
707
1038
|
};
|
|
1039
|
+
/** @returns {UserResponseErrorSchema} */
|
|
1040
|
+
declare function UserResponseErrorSchema(): UserResponseErrorSchema;
|
|
1041
|
+
type UserResponseErrorSchema = {
|
|
1042
|
+
count?: number;
|
|
1043
|
+
file_url?: string;
|
|
1044
|
+
};
|
|
708
1045
|
/** @returns {UserSchema} */
|
|
709
1046
|
declare function UserSchema(): UserSchema;
|
|
710
1047
|
type UserSchema = {
|