@gofynd/fdk-client-javascript 1.4.15-beta.13 → 1.4.15-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9571 -2674
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5081 -2019
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -7,8 +7,19 @@ export = UserPlatformApplicationValidator;
|
|
|
7
7
|
* @typedef BlockOrUnblockUsersParam
|
|
8
8
|
* @property {UserPlatformModel.BlockUserRequestSchema} body
|
|
9
9
|
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef BulkImportStoreFrontUsersParam
|
|
12
|
+
* @property {UserPlatformModel.CreateStoreFrontUsersPayload} body
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @typedef CreateBulkExportUsersParam
|
|
16
|
+
* @property {UserPlatformModel.BulkUserExportSchema} body
|
|
17
|
+
*/
|
|
10
18
|
/**
|
|
11
19
|
* @typedef CreateUserParam
|
|
20
|
+
* @property {boolean} [verified] - Controls whether newly created emails and
|
|
21
|
+
* phone numbers are marked as verified. Pass verified=false to keep them
|
|
22
|
+
* unverified. When omitted, they are auto-marked verified.
|
|
12
23
|
* @property {UserPlatformModel.CreateUserRequestSchema} body
|
|
13
24
|
*/
|
|
14
25
|
/**
|
|
@@ -44,10 +55,43 @@ export = UserPlatformApplicationValidator;
|
|
|
44
55
|
* @property {string} attributeDefId - The unique identifier of the attribute
|
|
45
56
|
* definition to delete.
|
|
46
57
|
*/
|
|
58
|
+
/**
|
|
59
|
+
* @typedef DeleteUserAttributesInBulkParam
|
|
60
|
+
* @property {string} userId - The unique identifier of the user to update.
|
|
61
|
+
* @property {UserPlatformModel.DeleteBulkUserAttribute} body
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* @typedef DeleteUserGroupParam
|
|
65
|
+
* @property {string} groupId - Unique ID allotted to a User Group
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* @typedef FilterUsersByAttributesParam
|
|
69
|
+
* @property {UserPlatformModel.UserAttributeFilter} body
|
|
70
|
+
*/
|
|
47
71
|
/**
|
|
48
72
|
* @typedef GetActiveSessionsParam
|
|
49
73
|
* @property {string} id - ID of a customer.
|
|
50
74
|
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef GetBulkExportUsersListParam
|
|
77
|
+
* @property {string} [pageNo] - Page number for pagination result
|
|
78
|
+
* @property {string} [pageSize] - Page size for pagination result
|
|
79
|
+
* @property {string} [fileFormat] - Filter data based on file format eg csv or xlsx
|
|
80
|
+
* @property {string} [search] - The search queries based on job name.
|
|
81
|
+
* @property {string} [startDate] - Start date
|
|
82
|
+
* @property {string} [endDate] - End date
|
|
83
|
+
* @property {string} [status] - Status of the Import Documents
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* @typedef GetBulkImportUsersListParam
|
|
87
|
+
* @property {string} [pageNo] - Page number for pagination result
|
|
88
|
+
* @property {string} [pageSize] - Page size for pagination result
|
|
89
|
+
* @property {string} [search] - The search queries based on job name.
|
|
90
|
+
* @property {string} [startDate] - Start date
|
|
91
|
+
* @property {string} [endDate] - End date
|
|
92
|
+
* @property {string} [status] - Status of the Import Documents
|
|
93
|
+
* @property {string} [fileFormat] - Filter data based on file format eg csv or xlsx
|
|
94
|
+
*/
|
|
51
95
|
/**
|
|
52
96
|
* @typedef GetCustomersParam
|
|
53
97
|
* @property {string} [q] - The search query. Mobile number or email ID of a customer.
|
|
@@ -109,6 +153,15 @@ export = UserPlatformApplicationValidator;
|
|
|
109
153
|
* @property {string} [status] - To get User Groups with given status
|
|
110
154
|
* @property {number} [groupUid] - To get User Groups with given uid
|
|
111
155
|
*/
|
|
156
|
+
/**
|
|
157
|
+
* @typedef GetUserTimelineParam
|
|
158
|
+
* @property {string} userId - User ID
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* @typedef GetUsersJobByJobIdParam
|
|
162
|
+
* @property {string} jobId - The unique identifier of the job. This is used to
|
|
163
|
+
* fetch the details of the specific job.
|
|
164
|
+
*/
|
|
112
165
|
/**
|
|
113
166
|
* @typedef SearchUsersParam
|
|
114
167
|
* @property {string} [q] - The search query. Mobile number or email ID of a customer.
|
|
@@ -133,7 +186,7 @@ export = UserPlatformApplicationValidator;
|
|
|
133
186
|
* @property {string} attributeDefId - The unique identifier of the attribute
|
|
134
187
|
* definition to update.
|
|
135
188
|
* @property {string} userId - The unique identifier of the user to update.
|
|
136
|
-
* @property {UserPlatformModel.
|
|
189
|
+
* @property {UserPlatformModel.CreateUserAttribute} body
|
|
137
190
|
*/
|
|
138
191
|
/**
|
|
139
192
|
* @typedef UpdateUserAttributeDefinitionParam
|
|
@@ -141,6 +194,11 @@ export = UserPlatformApplicationValidator;
|
|
|
141
194
|
* definition to update.
|
|
142
195
|
* @property {UserPlatformModel.CreateUserAttributeDefinition} body
|
|
143
196
|
*/
|
|
197
|
+
/**
|
|
198
|
+
* @typedef UpdateUserAttributesParam
|
|
199
|
+
* @property {string} userId - The unique identifier of the user.
|
|
200
|
+
* @property {UserPlatformModel.CreateBulkUserAttribute} body
|
|
201
|
+
*/
|
|
144
202
|
/**
|
|
145
203
|
* @typedef UpdateUserGroupParam
|
|
146
204
|
* @property {string} groupId - Numeric ID allotted to a User Group
|
|
@@ -156,6 +214,10 @@ declare class UserPlatformApplicationValidator {
|
|
|
156
214
|
static archiveUser(): ArchiveUserParam;
|
|
157
215
|
/** @returns {BlockOrUnblockUsersParam} */
|
|
158
216
|
static blockOrUnblockUsers(): BlockOrUnblockUsersParam;
|
|
217
|
+
/** @returns {BulkImportStoreFrontUsersParam} */
|
|
218
|
+
static bulkImportStoreFrontUsers(): BulkImportStoreFrontUsersParam;
|
|
219
|
+
/** @returns {CreateBulkExportUsersParam} */
|
|
220
|
+
static createBulkExportUsers(): CreateBulkExportUsersParam;
|
|
159
221
|
/** @returns {CreateUserParam} */
|
|
160
222
|
static createUser(): CreateUserParam;
|
|
161
223
|
/** @returns {CreateUserAttributeDefinitionParam} */
|
|
@@ -172,8 +234,18 @@ declare class UserPlatformApplicationValidator {
|
|
|
172
234
|
static deleteUserAttribute(): DeleteUserAttributeParam;
|
|
173
235
|
/** @returns {DeleteUserAttributeDefinitionByIdParam} */
|
|
174
236
|
static deleteUserAttributeDefinitionById(): DeleteUserAttributeDefinitionByIdParam;
|
|
237
|
+
/** @returns {DeleteUserAttributesInBulkParam} */
|
|
238
|
+
static deleteUserAttributesInBulk(): DeleteUserAttributesInBulkParam;
|
|
239
|
+
/** @returns {DeleteUserGroupParam} */
|
|
240
|
+
static deleteUserGroup(): DeleteUserGroupParam;
|
|
241
|
+
/** @returns {FilterUsersByAttributesParam} */
|
|
242
|
+
static filterUsersByAttributes(): FilterUsersByAttributesParam;
|
|
175
243
|
/** @returns {GetActiveSessionsParam} */
|
|
176
244
|
static getActiveSessions(): GetActiveSessionsParam;
|
|
245
|
+
/** @returns {GetBulkExportUsersListParam} */
|
|
246
|
+
static getBulkExportUsersList(): GetBulkExportUsersListParam;
|
|
247
|
+
/** @returns {GetBulkImportUsersListParam} */
|
|
248
|
+
static getBulkImportUsersList(): GetBulkImportUsersListParam;
|
|
177
249
|
/** @returns {GetCustomersParam} */
|
|
178
250
|
static getCustomers(): GetCustomersParam;
|
|
179
251
|
/** @returns {GetPlatformConfigParam} */
|
|
@@ -192,6 +264,10 @@ declare class UserPlatformApplicationValidator {
|
|
|
192
264
|
static getUserGroupById(): GetUserGroupByIdParam;
|
|
193
265
|
/** @returns {GetUserGroupsParam} */
|
|
194
266
|
static getUserGroups(): GetUserGroupsParam;
|
|
267
|
+
/** @returns {GetUserTimelineParam} */
|
|
268
|
+
static getUserTimeline(): GetUserTimelineParam;
|
|
269
|
+
/** @returns {GetUsersJobByJobIdParam} */
|
|
270
|
+
static getUsersJobByJobId(): GetUsersJobByJobIdParam;
|
|
195
271
|
/** @returns {SearchUsersParam} */
|
|
196
272
|
static searchUsers(): SearchUsersParam;
|
|
197
273
|
/** @returns {UnDeleteUserParam} */
|
|
@@ -204,13 +280,15 @@ declare class UserPlatformApplicationValidator {
|
|
|
204
280
|
static updateUserAttribute(): UpdateUserAttributeParam;
|
|
205
281
|
/** @returns {UpdateUserAttributeDefinitionParam} */
|
|
206
282
|
static updateUserAttributeDefinition(): UpdateUserAttributeDefinitionParam;
|
|
283
|
+
/** @returns {UpdateUserAttributesParam} */
|
|
284
|
+
static updateUserAttributes(): UpdateUserAttributesParam;
|
|
207
285
|
/** @returns {UpdateUserGroupParam} */
|
|
208
286
|
static updateUserGroup(): UpdateUserGroupParam;
|
|
209
287
|
/** @returns {UpdateUserGroupPartiallyParam} */
|
|
210
288
|
static updateUserGroupPartially(): UpdateUserGroupPartiallyParam;
|
|
211
289
|
}
|
|
212
290
|
declare namespace UserPlatformApplicationValidator {
|
|
213
|
-
export { ArchiveUserParam, BlockOrUnblockUsersParam, CreateUserParam, CreateUserAttributeDefinitionParam, CreateUserGroupParam, CreateUserSessionParam, DeleteActiveSessionsParam, DeleteSessionParam, DeleteUserAttributeParam, DeleteUserAttributeDefinitionByIdParam, GetActiveSessionsParam, GetCustomersParam, GetPlatformConfigParam, GetUserAttributeParam, GetUserAttributeByIdParam, GetUserAttributeDefinitionByIdParam, GetUserAttributeDefinitionsParam, GetUserAttributesForUserParam, GetUserGroupByIdParam, GetUserGroupsParam, SearchUsersParam, UnDeleteUserParam, UpdatePlatformConfigParam, UpdateUserParam, UpdateUserAttributeParam, UpdateUserAttributeDefinitionParam, UpdateUserGroupParam, UpdateUserGroupPartiallyParam };
|
|
291
|
+
export { ArchiveUserParam, BlockOrUnblockUsersParam, BulkImportStoreFrontUsersParam, CreateBulkExportUsersParam, CreateUserParam, CreateUserAttributeDefinitionParam, CreateUserGroupParam, CreateUserSessionParam, DeleteActiveSessionsParam, DeleteSessionParam, DeleteUserAttributeParam, DeleteUserAttributeDefinitionByIdParam, DeleteUserAttributesInBulkParam, DeleteUserGroupParam, FilterUsersByAttributesParam, GetActiveSessionsParam, GetBulkExportUsersListParam, GetBulkImportUsersListParam, GetCustomersParam, GetPlatformConfigParam, GetUserAttributeParam, GetUserAttributeByIdParam, GetUserAttributeDefinitionByIdParam, GetUserAttributeDefinitionsParam, GetUserAttributesForUserParam, GetUserGroupByIdParam, GetUserGroupsParam, GetUserTimelineParam, GetUsersJobByJobIdParam, SearchUsersParam, UnDeleteUserParam, UpdatePlatformConfigParam, UpdateUserParam, UpdateUserAttributeParam, UpdateUserAttributeDefinitionParam, UpdateUserAttributesParam, UpdateUserGroupParam, UpdateUserGroupPartiallyParam };
|
|
214
292
|
}
|
|
215
293
|
type ArchiveUserParam = {
|
|
216
294
|
body: UserPlatformModel.ArchiveUserRequestSchema;
|
|
@@ -218,7 +296,19 @@ type ArchiveUserParam = {
|
|
|
218
296
|
type BlockOrUnblockUsersParam = {
|
|
219
297
|
body: UserPlatformModel.BlockUserRequestSchema;
|
|
220
298
|
};
|
|
299
|
+
type BulkImportStoreFrontUsersParam = {
|
|
300
|
+
body: UserPlatformModel.CreateStoreFrontUsersPayload;
|
|
301
|
+
};
|
|
302
|
+
type CreateBulkExportUsersParam = {
|
|
303
|
+
body: UserPlatformModel.BulkUserExportSchema;
|
|
304
|
+
};
|
|
221
305
|
type CreateUserParam = {
|
|
306
|
+
/**
|
|
307
|
+
* - Controls whether newly created emails and
|
|
308
|
+
* phone numbers are marked as verified. Pass verified=false to keep them
|
|
309
|
+
* unverified. When omitted, they are auto-marked verified.
|
|
310
|
+
*/
|
|
311
|
+
verified?: boolean;
|
|
222
312
|
body: UserPlatformModel.CreateUserRequestSchema;
|
|
223
313
|
};
|
|
224
314
|
type CreateUserAttributeDefinitionParam = {
|
|
@@ -271,12 +361,88 @@ type DeleteUserAttributeDefinitionByIdParam = {
|
|
|
271
361
|
*/
|
|
272
362
|
attributeDefId: string;
|
|
273
363
|
};
|
|
364
|
+
type DeleteUserAttributesInBulkParam = {
|
|
365
|
+
/**
|
|
366
|
+
* - The unique identifier of the user to update.
|
|
367
|
+
*/
|
|
368
|
+
userId: string;
|
|
369
|
+
body: UserPlatformModel.DeleteBulkUserAttribute;
|
|
370
|
+
};
|
|
371
|
+
type DeleteUserGroupParam = {
|
|
372
|
+
/**
|
|
373
|
+
* - Unique ID allotted to a User Group
|
|
374
|
+
*/
|
|
375
|
+
groupId: string;
|
|
376
|
+
};
|
|
377
|
+
type FilterUsersByAttributesParam = {
|
|
378
|
+
body: UserPlatformModel.UserAttributeFilter;
|
|
379
|
+
};
|
|
274
380
|
type GetActiveSessionsParam = {
|
|
275
381
|
/**
|
|
276
382
|
* - ID of a customer.
|
|
277
383
|
*/
|
|
278
384
|
id: string;
|
|
279
385
|
};
|
|
386
|
+
type GetBulkExportUsersListParam = {
|
|
387
|
+
/**
|
|
388
|
+
* - Page number for pagination result
|
|
389
|
+
*/
|
|
390
|
+
pageNo?: string;
|
|
391
|
+
/**
|
|
392
|
+
* - Page size for pagination result
|
|
393
|
+
*/
|
|
394
|
+
pageSize?: string;
|
|
395
|
+
/**
|
|
396
|
+
* - Filter data based on file format eg csv or xlsx
|
|
397
|
+
*/
|
|
398
|
+
fileFormat?: string;
|
|
399
|
+
/**
|
|
400
|
+
* - The search queries based on job name.
|
|
401
|
+
*/
|
|
402
|
+
search?: string;
|
|
403
|
+
/**
|
|
404
|
+
* - Start date
|
|
405
|
+
*/
|
|
406
|
+
startDate?: string;
|
|
407
|
+
/**
|
|
408
|
+
* - End date
|
|
409
|
+
*/
|
|
410
|
+
endDate?: string;
|
|
411
|
+
/**
|
|
412
|
+
* - Status of the Import Documents
|
|
413
|
+
*/
|
|
414
|
+
status?: string;
|
|
415
|
+
};
|
|
416
|
+
type GetBulkImportUsersListParam = {
|
|
417
|
+
/**
|
|
418
|
+
* - Page number for pagination result
|
|
419
|
+
*/
|
|
420
|
+
pageNo?: string;
|
|
421
|
+
/**
|
|
422
|
+
* - Page size for pagination result
|
|
423
|
+
*/
|
|
424
|
+
pageSize?: string;
|
|
425
|
+
/**
|
|
426
|
+
* - The search queries based on job name.
|
|
427
|
+
*/
|
|
428
|
+
search?: string;
|
|
429
|
+
/**
|
|
430
|
+
* - Start date
|
|
431
|
+
*/
|
|
432
|
+
startDate?: string;
|
|
433
|
+
/**
|
|
434
|
+
* - End date
|
|
435
|
+
*/
|
|
436
|
+
endDate?: string;
|
|
437
|
+
/**
|
|
438
|
+
* - Status of the Import Documents
|
|
439
|
+
*/
|
|
440
|
+
status?: string;
|
|
441
|
+
/**
|
|
442
|
+
* - Filter data based on file format eg csv or xlsx
|
|
443
|
+
*/
|
|
444
|
+
fileFormat?: string;
|
|
445
|
+
};
|
|
280
446
|
type GetCustomersParam = {
|
|
281
447
|
/**
|
|
282
448
|
* - The search query. Mobile number or email ID of a customer.
|
|
@@ -413,6 +579,19 @@ type GetUserGroupsParam = {
|
|
|
413
579
|
*/
|
|
414
580
|
groupUid?: number;
|
|
415
581
|
};
|
|
582
|
+
type GetUserTimelineParam = {
|
|
583
|
+
/**
|
|
584
|
+
* - User ID
|
|
585
|
+
*/
|
|
586
|
+
userId: string;
|
|
587
|
+
};
|
|
588
|
+
type GetUsersJobByJobIdParam = {
|
|
589
|
+
/**
|
|
590
|
+
* - The unique identifier of the job. This is used to
|
|
591
|
+
* fetch the details of the specific job.
|
|
592
|
+
*/
|
|
593
|
+
jobId: string;
|
|
594
|
+
};
|
|
416
595
|
type SearchUsersParam = {
|
|
417
596
|
/**
|
|
418
597
|
* - The search query. Mobile number or email ID of a customer.
|
|
@@ -447,7 +626,7 @@ type UpdateUserAttributeParam = {
|
|
|
447
626
|
* - The unique identifier of the user to update.
|
|
448
627
|
*/
|
|
449
628
|
userId: string;
|
|
450
|
-
body: UserPlatformModel.
|
|
629
|
+
body: UserPlatformModel.CreateUserAttribute;
|
|
451
630
|
};
|
|
452
631
|
type UpdateUserAttributeDefinitionParam = {
|
|
453
632
|
/**
|
|
@@ -457,6 +636,13 @@ type UpdateUserAttributeDefinitionParam = {
|
|
|
457
636
|
attributeDefId: string;
|
|
458
637
|
body: UserPlatformModel.CreateUserAttributeDefinition;
|
|
459
638
|
};
|
|
639
|
+
type UpdateUserAttributesParam = {
|
|
640
|
+
/**
|
|
641
|
+
* - The unique identifier of the user.
|
|
642
|
+
*/
|
|
643
|
+
userId: string;
|
|
644
|
+
body: UserPlatformModel.CreateBulkUserAttribute;
|
|
645
|
+
};
|
|
460
646
|
type UpdateUserGroupParam = {
|
|
461
647
|
/**
|
|
462
648
|
* - Numeric ID allotted to a User Group
|
|
@@ -12,8 +12,21 @@ const UserPlatformModel = require("./UserPlatformModel");
|
|
|
12
12
|
* @property {UserPlatformModel.BlockUserRequestSchema} body
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @typedef BulkImportStoreFrontUsersParam
|
|
17
|
+
* @property {UserPlatformModel.CreateStoreFrontUsersPayload} body
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @typedef CreateBulkExportUsersParam
|
|
22
|
+
* @property {UserPlatformModel.BulkUserExportSchema} body
|
|
23
|
+
*/
|
|
24
|
+
|
|
15
25
|
/**
|
|
16
26
|
* @typedef CreateUserParam
|
|
27
|
+
* @property {boolean} [verified] - Controls whether newly created emails and
|
|
28
|
+
* phone numbers are marked as verified. Pass verified=false to keep them
|
|
29
|
+
* unverified. When omitted, they are auto-marked verified.
|
|
17
30
|
* @property {UserPlatformModel.CreateUserRequestSchema} body
|
|
18
31
|
*/
|
|
19
32
|
|
|
@@ -57,11 +70,49 @@ const UserPlatformModel = require("./UserPlatformModel");
|
|
|
57
70
|
* definition to delete.
|
|
58
71
|
*/
|
|
59
72
|
|
|
73
|
+
/**
|
|
74
|
+
* @typedef DeleteUserAttributesInBulkParam
|
|
75
|
+
* @property {string} userId - The unique identifier of the user to update.
|
|
76
|
+
* @property {UserPlatformModel.DeleteBulkUserAttribute} body
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @typedef DeleteUserGroupParam
|
|
81
|
+
* @property {string} groupId - Unique ID allotted to a User Group
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @typedef FilterUsersByAttributesParam
|
|
86
|
+
* @property {UserPlatformModel.UserAttributeFilter} body
|
|
87
|
+
*/
|
|
88
|
+
|
|
60
89
|
/**
|
|
61
90
|
* @typedef GetActiveSessionsParam
|
|
62
91
|
* @property {string} id - ID of a customer.
|
|
63
92
|
*/
|
|
64
93
|
|
|
94
|
+
/**
|
|
95
|
+
* @typedef GetBulkExportUsersListParam
|
|
96
|
+
* @property {string} [pageNo] - Page number for pagination result
|
|
97
|
+
* @property {string} [pageSize] - Page size for pagination result
|
|
98
|
+
* @property {string} [fileFormat] - Filter data based on file format eg csv or xlsx
|
|
99
|
+
* @property {string} [search] - The search queries based on job name.
|
|
100
|
+
* @property {string} [startDate] - Start date
|
|
101
|
+
* @property {string} [endDate] - End date
|
|
102
|
+
* @property {string} [status] - Status of the Import Documents
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @typedef GetBulkImportUsersListParam
|
|
107
|
+
* @property {string} [pageNo] - Page number for pagination result
|
|
108
|
+
* @property {string} [pageSize] - Page size for pagination result
|
|
109
|
+
* @property {string} [search] - The search queries based on job name.
|
|
110
|
+
* @property {string} [startDate] - Start date
|
|
111
|
+
* @property {string} [endDate] - End date
|
|
112
|
+
* @property {string} [status] - Status of the Import Documents
|
|
113
|
+
* @property {string} [fileFormat] - Filter data based on file format eg csv or xlsx
|
|
114
|
+
*/
|
|
115
|
+
|
|
65
116
|
/**
|
|
66
117
|
* @typedef GetCustomersParam
|
|
67
118
|
* @property {string} [q] - The search query. Mobile number or email ID of a customer.
|
|
@@ -132,6 +183,17 @@ const UserPlatformModel = require("./UserPlatformModel");
|
|
|
132
183
|
* @property {number} [groupUid] - To get User Groups with given uid
|
|
133
184
|
*/
|
|
134
185
|
|
|
186
|
+
/**
|
|
187
|
+
* @typedef GetUserTimelineParam
|
|
188
|
+
* @property {string} userId - User ID
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @typedef GetUsersJobByJobIdParam
|
|
193
|
+
* @property {string} jobId - The unique identifier of the job. This is used to
|
|
194
|
+
* fetch the details of the specific job.
|
|
195
|
+
*/
|
|
196
|
+
|
|
135
197
|
/**
|
|
136
198
|
* @typedef SearchUsersParam
|
|
137
199
|
* @property {string} [q] - The search query. Mobile number or email ID of a customer.
|
|
@@ -160,7 +222,7 @@ const UserPlatformModel = require("./UserPlatformModel");
|
|
|
160
222
|
* @property {string} attributeDefId - The unique identifier of the attribute
|
|
161
223
|
* definition to update.
|
|
162
224
|
* @property {string} userId - The unique identifier of the user to update.
|
|
163
|
-
* @property {UserPlatformModel.
|
|
225
|
+
* @property {UserPlatformModel.CreateUserAttribute} body
|
|
164
226
|
*/
|
|
165
227
|
|
|
166
228
|
/**
|
|
@@ -170,6 +232,12 @@ const UserPlatformModel = require("./UserPlatformModel");
|
|
|
170
232
|
* @property {UserPlatformModel.CreateUserAttributeDefinition} body
|
|
171
233
|
*/
|
|
172
234
|
|
|
235
|
+
/**
|
|
236
|
+
* @typedef UpdateUserAttributesParam
|
|
237
|
+
* @property {string} userId - The unique identifier of the user.
|
|
238
|
+
* @property {UserPlatformModel.CreateBulkUserAttribute} body
|
|
239
|
+
*/
|
|
240
|
+
|
|
173
241
|
/**
|
|
174
242
|
* @typedef UpdateUserGroupParam
|
|
175
243
|
* @property {string} groupId - Numeric ID allotted to a User Group
|
|
@@ -197,9 +265,24 @@ class UserPlatformApplicationValidator {
|
|
|
197
265
|
}).required();
|
|
198
266
|
}
|
|
199
267
|
|
|
268
|
+
/** @returns {BulkImportStoreFrontUsersParam} */
|
|
269
|
+
static bulkImportStoreFrontUsers() {
|
|
270
|
+
return Joi.object({
|
|
271
|
+
body: UserPlatformModel.CreateStoreFrontUsersPayload().required(),
|
|
272
|
+
}).required();
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** @returns {CreateBulkExportUsersParam} */
|
|
276
|
+
static createBulkExportUsers() {
|
|
277
|
+
return Joi.object({
|
|
278
|
+
body: UserPlatformModel.BulkUserExportSchema().required(),
|
|
279
|
+
}).required();
|
|
280
|
+
}
|
|
281
|
+
|
|
200
282
|
/** @returns {CreateUserParam} */
|
|
201
283
|
static createUser() {
|
|
202
284
|
return Joi.object({
|
|
285
|
+
verified: Joi.boolean(),
|
|
203
286
|
body: UserPlatformModel.CreateUserRequestSchema().required(),
|
|
204
287
|
}).required();
|
|
205
288
|
}
|
|
@@ -257,6 +340,29 @@ class UserPlatformApplicationValidator {
|
|
|
257
340
|
}).required();
|
|
258
341
|
}
|
|
259
342
|
|
|
343
|
+
/** @returns {DeleteUserAttributesInBulkParam} */
|
|
344
|
+
static deleteUserAttributesInBulk() {
|
|
345
|
+
return Joi.object({
|
|
346
|
+
userId: Joi.string().allow("").required(),
|
|
347
|
+
|
|
348
|
+
body: UserPlatformModel.DeleteBulkUserAttribute().required(),
|
|
349
|
+
}).required();
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/** @returns {DeleteUserGroupParam} */
|
|
353
|
+
static deleteUserGroup() {
|
|
354
|
+
return Joi.object({
|
|
355
|
+
groupId: Joi.string().allow("").required(),
|
|
356
|
+
}).required();
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/** @returns {FilterUsersByAttributesParam} */
|
|
360
|
+
static filterUsersByAttributes() {
|
|
361
|
+
return Joi.object({
|
|
362
|
+
body: UserPlatformModel.UserAttributeFilter().required(),
|
|
363
|
+
}).required();
|
|
364
|
+
}
|
|
365
|
+
|
|
260
366
|
/** @returns {GetActiveSessionsParam} */
|
|
261
367
|
static getActiveSessions() {
|
|
262
368
|
return Joi.object({
|
|
@@ -264,6 +370,32 @@ class UserPlatformApplicationValidator {
|
|
|
264
370
|
}).required();
|
|
265
371
|
}
|
|
266
372
|
|
|
373
|
+
/** @returns {GetBulkExportUsersListParam} */
|
|
374
|
+
static getBulkExportUsersList() {
|
|
375
|
+
return Joi.object({
|
|
376
|
+
pageNo: Joi.string().allow(""),
|
|
377
|
+
pageSize: Joi.string().allow(""),
|
|
378
|
+
fileFormat: Joi.string().allow(""),
|
|
379
|
+
search: Joi.string().allow(""),
|
|
380
|
+
startDate: Joi.string().allow(""),
|
|
381
|
+
endDate: Joi.string().allow(""),
|
|
382
|
+
status: Joi.string().allow(""),
|
|
383
|
+
}).required();
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/** @returns {GetBulkImportUsersListParam} */
|
|
387
|
+
static getBulkImportUsersList() {
|
|
388
|
+
return Joi.object({
|
|
389
|
+
pageNo: Joi.string().allow(""),
|
|
390
|
+
pageSize: Joi.string().allow(""),
|
|
391
|
+
search: Joi.string().allow(""),
|
|
392
|
+
startDate: Joi.string().allow(""),
|
|
393
|
+
endDate: Joi.string().allow(""),
|
|
394
|
+
status: Joi.string().allow(""),
|
|
395
|
+
fileFormat: Joi.string().allow(""),
|
|
396
|
+
}).required();
|
|
397
|
+
}
|
|
398
|
+
|
|
267
399
|
/** @returns {GetCustomersParam} */
|
|
268
400
|
static getCustomers() {
|
|
269
401
|
return Joi.object({
|
|
@@ -312,7 +444,6 @@ class UserPlatformApplicationValidator {
|
|
|
312
444
|
pinOrder: Joi.number(),
|
|
313
445
|
isLocked: Joi.boolean(),
|
|
314
446
|
name: Joi.string().allow(""),
|
|
315
|
-
|
|
316
447
|
pageSize: Joi.number(),
|
|
317
448
|
pageNo: Joi.number(),
|
|
318
449
|
}).required();
|
|
@@ -347,6 +478,20 @@ class UserPlatformApplicationValidator {
|
|
|
347
478
|
}).required();
|
|
348
479
|
}
|
|
349
480
|
|
|
481
|
+
/** @returns {GetUserTimelineParam} */
|
|
482
|
+
static getUserTimeline() {
|
|
483
|
+
return Joi.object({
|
|
484
|
+
userId: Joi.string().allow("").required(),
|
|
485
|
+
}).required();
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/** @returns {GetUsersJobByJobIdParam} */
|
|
489
|
+
static getUsersJobByJobId() {
|
|
490
|
+
return Joi.object({
|
|
491
|
+
jobId: Joi.string().allow("").required(),
|
|
492
|
+
}).required();
|
|
493
|
+
}
|
|
494
|
+
|
|
350
495
|
/** @returns {SearchUsersParam} */
|
|
351
496
|
static searchUsers() {
|
|
352
497
|
return Joi.object({
|
|
@@ -383,7 +528,7 @@ class UserPlatformApplicationValidator {
|
|
|
383
528
|
attributeDefId: Joi.string().allow("").required(),
|
|
384
529
|
userId: Joi.string().allow("").required(),
|
|
385
530
|
|
|
386
|
-
body: UserPlatformModel.
|
|
531
|
+
body: UserPlatformModel.CreateUserAttribute().required(),
|
|
387
532
|
}).required();
|
|
388
533
|
}
|
|
389
534
|
|
|
@@ -396,6 +541,15 @@ class UserPlatformApplicationValidator {
|
|
|
396
541
|
}).required();
|
|
397
542
|
}
|
|
398
543
|
|
|
544
|
+
/** @returns {UpdateUserAttributesParam} */
|
|
545
|
+
static updateUserAttributes() {
|
|
546
|
+
return Joi.object({
|
|
547
|
+
userId: Joi.string().allow("").required(),
|
|
548
|
+
|
|
549
|
+
body: UserPlatformModel.CreateBulkUserAttribute().required(),
|
|
550
|
+
}).required();
|
|
551
|
+
}
|
|
552
|
+
|
|
399
553
|
/** @returns {UpdateUserGroupParam} */
|
|
400
554
|
static updateUserGroup() {
|
|
401
555
|
return Joi.object({
|