@gofynd/fdk-client-javascript 1.0.1 → 1.0.3
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/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +562 -1270
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +15266 -17619
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3509 -4121
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3750 -5636
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +1058 -547
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +76 -36
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +581 -213
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
- package/sdk/application/Content/ContentApplicationModel.js +468 -875
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +230 -96
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
- package/sdk/application/Order/OrderApplicationClient.js +448 -215
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +357 -661
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
- package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +221 -96
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +1201 -543
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
- package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
- package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
- package/sdk/platform/Common/CommonPlatformClient.js +80 -37
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
- package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
- package/sdk/platform/Content/ContentPlatformModel.js +486 -867
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
- package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
- package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
- package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
- package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
- package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
- package/sdk/platform/PlatformApplicationClient.js +1584 -13691
- package/sdk/platform/PlatformClient.d.ts +7918 -7666
- package/sdk/platform/PlatformClient.js +8701 -9926
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
- package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
- package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
- package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -1,143 +1,98 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
3
|
class CommunicationModel {
|
|
4
|
-
static
|
|
4
|
+
static BadRequestSchema() {
|
|
5
5
|
return Joi.object({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
action: Joi.string().allow(""),
|
|
9
|
-
|
|
10
|
-
channel: Joi.string().allow(""),
|
|
6
|
+
message: Joi.string().allow(""),
|
|
7
|
+
status: Joi.string().allow(""),
|
|
11
8
|
});
|
|
12
9
|
}
|
|
13
|
-
|
|
14
|
-
static CommunicationConsentRes() {
|
|
10
|
+
static CommunicationConsent() {
|
|
15
11
|
return Joi.object({
|
|
16
12
|
app_id: Joi.string().allow(""),
|
|
17
|
-
|
|
18
|
-
user_id: Joi.string().allow(""),
|
|
19
|
-
|
|
20
13
|
channels: CommunicationModel.CommunicationConsentChannels(),
|
|
14
|
+
user_id: Joi.string().allow(""),
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
static CommunicationConsentChannels() {
|
|
18
|
+
return Joi.object({
|
|
19
|
+
email: CommunicationModel.CommunicationConsentChannelsEmail(),
|
|
20
|
+
sms: CommunicationModel.CommunicationConsentChannelsSms(),
|
|
21
|
+
whatsapp: CommunicationModel.CommunicationConsentChannelsWhatsapp(),
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
|
|
24
24
|
static CommunicationConsentChannelsEmail() {
|
|
25
25
|
return Joi.object({
|
|
26
|
-
response: Joi.string().allow(""),
|
|
27
|
-
|
|
28
26
|
display_name: Joi.string().allow(""),
|
|
27
|
+
response: Joi.string().allow(""),
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
|
-
|
|
32
30
|
static CommunicationConsentChannelsSms() {
|
|
33
31
|
return Joi.object({
|
|
34
|
-
response: Joi.string().allow(""),
|
|
35
|
-
|
|
36
32
|
display_name: Joi.string().allow(""),
|
|
33
|
+
response: Joi.string().allow(""),
|
|
37
34
|
});
|
|
38
35
|
}
|
|
39
|
-
|
|
40
36
|
static CommunicationConsentChannelsWhatsapp() {
|
|
41
37
|
return Joi.object({
|
|
42
|
-
response: Joi.string().allow(""),
|
|
43
|
-
|
|
44
|
-
display_name: Joi.string().allow(""),
|
|
45
|
-
|
|
46
38
|
country_code: Joi.string().allow(""),
|
|
47
|
-
|
|
39
|
+
display_name: Joi.string().allow(""),
|
|
48
40
|
phone_number: Joi.string().allow(""),
|
|
41
|
+
response: Joi.string().allow(""),
|
|
49
42
|
});
|
|
50
43
|
}
|
|
51
|
-
|
|
52
|
-
static CommunicationConsentChannels() {
|
|
44
|
+
static CommunicationConsentReq() {
|
|
53
45
|
return Joi.object({
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
whatsapp: CommunicationModel.CommunicationConsentChannelsWhatsapp(),
|
|
46
|
+
action: Joi.string().allow(""),
|
|
47
|
+
channel: Joi.string().allow(""),
|
|
48
|
+
response: Joi.string().allow(""),
|
|
59
49
|
});
|
|
60
50
|
}
|
|
61
|
-
|
|
62
|
-
static CommunicationConsent() {
|
|
51
|
+
static CommunicationConsentRes() {
|
|
63
52
|
return Joi.object({
|
|
64
53
|
app_id: Joi.string().allow(""),
|
|
65
|
-
|
|
66
|
-
user_id: Joi.string().allow(""),
|
|
67
|
-
|
|
68
54
|
channels: CommunicationModel.CommunicationConsentChannels(),
|
|
55
|
+
user_id: Joi.string().allow(""),
|
|
69
56
|
});
|
|
70
57
|
}
|
|
71
|
-
|
|
72
|
-
static BadRequestSchema() {
|
|
58
|
+
static NotFound() {
|
|
73
59
|
return Joi.object({
|
|
74
|
-
status: Joi.string().allow(""),
|
|
75
|
-
|
|
76
60
|
message: Joi.string().allow(""),
|
|
77
61
|
});
|
|
78
62
|
}
|
|
79
|
-
|
|
80
|
-
static NotFound() {
|
|
63
|
+
static Page() {
|
|
81
64
|
return Joi.object({
|
|
82
|
-
|
|
65
|
+
current: Joi.number(),
|
|
66
|
+
has_next: Joi.boolean(),
|
|
67
|
+
has_previous: Joi.boolean(),
|
|
68
|
+
item_total: Joi.number(),
|
|
69
|
+
next_id: Joi.string().allow(""),
|
|
70
|
+
size: Joi.number(),
|
|
71
|
+
type: Joi.string().allow("").required(),
|
|
83
72
|
});
|
|
84
73
|
}
|
|
85
|
-
|
|
86
74
|
static PushtokenReq() {
|
|
87
75
|
return Joi.object({
|
|
88
76
|
action: Joi.string().allow(""),
|
|
89
|
-
|
|
90
77
|
bundle_identifier: Joi.string().allow(""),
|
|
91
|
-
|
|
92
78
|
push_token: Joi.string().allow(""),
|
|
93
|
-
|
|
94
|
-
unique_device_id: Joi.string().allow(""),
|
|
95
|
-
|
|
96
79
|
type: Joi.string().allow(""),
|
|
80
|
+
unique_device_id: Joi.string().allow(""),
|
|
97
81
|
});
|
|
98
82
|
}
|
|
99
|
-
|
|
100
83
|
static PushtokenRes() {
|
|
101
84
|
return Joi.object({
|
|
102
85
|
_id: Joi.string().allow(""),
|
|
103
|
-
|
|
86
|
+
application_id: Joi.string().allow(""),
|
|
104
87
|
bundle_identifier: Joi.string().allow(""),
|
|
105
|
-
|
|
88
|
+
created_at: Joi.string().allow(""),
|
|
89
|
+
expired_at: Joi.string().allow(""),
|
|
90
|
+
platform: Joi.string().allow(""),
|
|
106
91
|
push_token: Joi.string().allow(""),
|
|
107
|
-
|
|
108
|
-
unique_device_id: Joi.string().allow(""),
|
|
109
|
-
|
|
110
92
|
type: Joi.string().allow(""),
|
|
111
|
-
|
|
112
|
-
platform: Joi.string().allow(""),
|
|
113
|
-
|
|
114
|
-
application_id: Joi.string().allow(""),
|
|
115
|
-
|
|
116
|
-
user_id: Joi.string().allow(""),
|
|
117
|
-
|
|
118
|
-
created_at: Joi.string().allow(""),
|
|
119
|
-
|
|
93
|
+
unique_device_id: Joi.string().allow(""),
|
|
120
94
|
updated_at: Joi.string().allow(""),
|
|
121
|
-
|
|
122
|
-
expired_at: Joi.string().allow(""),
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
static Page() {
|
|
127
|
-
return Joi.object({
|
|
128
|
-
item_total: Joi.number(),
|
|
129
|
-
|
|
130
|
-
next_id: Joi.string().allow(""),
|
|
131
|
-
|
|
132
|
-
has_previous: Joi.boolean(),
|
|
133
|
-
|
|
134
|
-
has_next: Joi.boolean(),
|
|
135
|
-
|
|
136
|
-
current: Joi.number(),
|
|
137
|
-
|
|
138
|
-
type: Joi.string().allow("").required(),
|
|
139
|
-
|
|
140
|
-
size: Joi.number(),
|
|
95
|
+
user_id: Joi.string().allow(""),
|
|
141
96
|
});
|
|
142
97
|
}
|
|
143
98
|
}
|
|
@@ -6,15 +6,15 @@ class CommunicationValidator {
|
|
|
6
6
|
return Joi.object({});
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
static
|
|
9
|
+
static upsertAppPushtoken() {
|
|
10
10
|
return Joi.object({
|
|
11
|
-
body: CommunicationModel.
|
|
11
|
+
body: CommunicationModel.PushtokenReq().required(),
|
|
12
12
|
}).required();
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static
|
|
15
|
+
static upsertCommunicationConsent() {
|
|
16
16
|
return Joi.object({
|
|
17
|
-
body: CommunicationModel.
|
|
17
|
+
body: CommunicationModel.CommunicationConsentReq().required(),
|
|
18
18
|
}).required();
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -3,98 +3,102 @@ declare class Configuration {
|
|
|
3
3
|
constructor(_conf: any);
|
|
4
4
|
_conf: any;
|
|
5
5
|
_relativeUrls: {
|
|
6
|
+
getAppCurrencies: string;
|
|
7
|
+
getAppStaffList: string;
|
|
8
|
+
getAppStaffs: string;
|
|
6
9
|
getApplication: string;
|
|
7
|
-
getOwnerInfo: string;
|
|
8
10
|
getBasicDetails: string;
|
|
9
|
-
getIntegrationTokens: string;
|
|
10
|
-
getOrderingStores: string;
|
|
11
|
-
getStoreDetailById: string;
|
|
12
|
-
getFeatures: string;
|
|
13
11
|
getContactInfo: string;
|
|
14
12
|
getCurrencies: string;
|
|
15
13
|
getCurrencyById: string;
|
|
16
|
-
|
|
14
|
+
getFeatures: string;
|
|
15
|
+
getIntegrationTokens: string;
|
|
17
16
|
getLanguages: string;
|
|
18
17
|
getOrderingStoreCookie: string;
|
|
18
|
+
getOrderingStores: string;
|
|
19
|
+
getOwnerInfo: string;
|
|
20
|
+
getStoreDetailById: string;
|
|
19
21
|
removeOrderingStoreCookie: string;
|
|
20
|
-
getAppStaffList: string;
|
|
21
|
-
getAppStaffs: string;
|
|
22
22
|
};
|
|
23
23
|
_urls: {};
|
|
24
24
|
updateUrls(urls: any): void;
|
|
25
25
|
/**
|
|
26
26
|
* @param {Object} arg - Arg object.
|
|
27
|
-
* @returns {Promise<
|
|
28
|
-
* @summary: Get
|
|
29
|
-
* @description: Use this API to get
|
|
30
|
-
*/
|
|
31
|
-
getApplication({}?: any): Promise<Application>;
|
|
32
|
-
/**
|
|
33
|
-
* @param {Object} arg - Arg object.
|
|
34
|
-
* @returns {Promise<ApplicationAboutResponse>} - Success response
|
|
35
|
-
* @summary: Get application, owner and seller information
|
|
36
|
-
* @description: Use this API to get the current application details which includes channel name, description, banner, logo, favicon, domain details, etc. This API also retrieves the seller and owner information such as address, email address, and phone number.
|
|
37
|
-
*/
|
|
38
|
-
getOwnerInfo({}?: any): Promise<ApplicationAboutResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* @param {Object} arg - Arg object.
|
|
41
|
-
* @returns {Promise<ApplicationDetail>} - Success response
|
|
42
|
-
* @summary: Get basic application details
|
|
43
|
-
* @description: Use this API to retrieve only the basic details of the application which includes channel name, description, banner, logo, favicon, domain details, etc.
|
|
44
|
-
*/
|
|
45
|
-
getBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
46
|
-
/**
|
|
47
|
-
* @param {Object} arg - Arg object.
|
|
48
|
-
* @returns {Promise<AppTokenResponse>} - Success response
|
|
49
|
-
* @summary: Get integration tokens
|
|
50
|
-
* @description: Use this API to retrieve the tokens used while integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map and Facebook. **Note** - Token values are encrypted with AES encryption using a secret key. Kindly reach out to the developers for obtaining the secret key.
|
|
27
|
+
* @returns {Promise<AppCurrencyResponse>} - Success response
|
|
28
|
+
* @summary: Get currencies enabled in the application
|
|
29
|
+
* @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
|
|
51
30
|
*/
|
|
52
|
-
|
|
31
|
+
getAppCurrencies({}?: any): Promise<AppCurrencyResponse>;
|
|
53
32
|
/**
|
|
54
33
|
* @param {Object} arg - Arg object.
|
|
55
|
-
* @param {number} [arg.pageNo] -
|
|
56
|
-
*
|
|
57
|
-
* @param {
|
|
58
|
-
*
|
|
59
|
-
* @param {
|
|
60
|
-
*
|
|
61
|
-
* @
|
|
62
|
-
*
|
|
34
|
+
* @param {number} [arg.pageNo] -
|
|
35
|
+
* @param {number} [arg.pageSize] -
|
|
36
|
+
* @param {boolean} [arg.orderIncent] - This is a boolean value. Select
|
|
37
|
+
* `true` to retrieve the staff members eligible for getting incentives on orders.
|
|
38
|
+
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
39
|
+
* retrieving staff members working at a particular ordering store.
|
|
40
|
+
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
41
|
+
* the details of a particular staff member.
|
|
42
|
+
* @returns {Promise<AppStaffListResponse>} - Success response
|
|
43
|
+
* @summary: Get a list of staff.
|
|
44
|
+
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
63
45
|
*/
|
|
64
|
-
|
|
46
|
+
getAppStaffList({ pageNo, pageSize, orderIncent, orderingStore, user, }?: {
|
|
65
47
|
pageNo?: number;
|
|
66
48
|
pageSize?: number;
|
|
67
|
-
|
|
68
|
-
|
|
49
|
+
orderIncent?: boolean;
|
|
50
|
+
orderingStore?: number;
|
|
51
|
+
user?: string;
|
|
52
|
+
}): Promise<AppStaffListResponse>;
|
|
69
53
|
/**
|
|
70
54
|
* @param {Object} arg - Arg object.
|
|
71
|
-
* @param {number} [arg.pageSize] -
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @
|
|
75
|
-
*
|
|
55
|
+
* @param {number} [arg.pageSize] -
|
|
56
|
+
* @param {boolean} [arg.orderIncent] - This is a boolean value. Select
|
|
57
|
+
* `true` to retrieve the staff members eligible for getting incentives on orders.
|
|
58
|
+
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
59
|
+
* retrieving staff members working at a particular ordering store.
|
|
60
|
+
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
61
|
+
* the details of a particular staff member.
|
|
62
|
+
* @summary: Get a list of staff.
|
|
63
|
+
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
76
64
|
*/
|
|
77
|
-
|
|
65
|
+
getAppStaffListPaginator({ pageSize, orderIncent, orderingStore, user, }?: {
|
|
78
66
|
pageSize?: number;
|
|
79
|
-
|
|
67
|
+
orderIncent?: boolean;
|
|
68
|
+
orderingStore?: number;
|
|
69
|
+
user?: string;
|
|
80
70
|
}): Paginator;
|
|
81
71
|
/**
|
|
82
72
|
* @param {Object} arg - Arg object.
|
|
83
|
-
* @param {
|
|
84
|
-
*
|
|
85
|
-
* @
|
|
86
|
-
*
|
|
73
|
+
* @param {boolean} [arg.orderIncent] - This is a boolean value. Select
|
|
74
|
+
* `true` to retrieve the staff members eligible for getting incentives on orders.
|
|
75
|
+
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
76
|
+
* retrieving staff members working at a particular ordering store.
|
|
77
|
+
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
78
|
+
* the details of a particular staff member.
|
|
79
|
+
* @returns {Promise<AppStaffResponse>} - Success response
|
|
80
|
+
* @summary: Get a list of staff.
|
|
81
|
+
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
87
82
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
83
|
+
getAppStaffs({ orderIncent, orderingStore, user }?: {
|
|
84
|
+
orderIncent?: boolean;
|
|
85
|
+
orderingStore?: number;
|
|
86
|
+
user?: string;
|
|
87
|
+
}): Promise<AppStaffResponse>;
|
|
91
88
|
/**
|
|
92
89
|
* @param {Object} arg - Arg object.
|
|
93
|
-
* @returns {Promise<
|
|
94
|
-
* @summary: Get
|
|
95
|
-
* @description: Use this API to
|
|
90
|
+
* @returns {Promise<Application>} - Success response
|
|
91
|
+
* @summary: Get current application details
|
|
92
|
+
* @description: Use this API to get the current application details which includes configurations that indicate the status of the website, domain, ID, tokens, images, etc.
|
|
96
93
|
*/
|
|
97
|
-
|
|
94
|
+
getApplication({}?: any): Promise<Application>;
|
|
95
|
+
/**
|
|
96
|
+
* @param {Object} arg - Arg object.
|
|
97
|
+
* @returns {Promise<ApplicationDetail>} - Success response
|
|
98
|
+
* @summary: Get basic application details
|
|
99
|
+
* @description: Use this API to retrieve only the basic details of the application which includes channel name, description, banner, logo, favicon, domain details, etc.
|
|
100
|
+
*/
|
|
101
|
+
getBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
98
102
|
/**
|
|
99
103
|
* @param {Object} arg - Arg object.
|
|
100
104
|
* @returns {Promise<ApplicationInformation>} - Success response
|
|
@@ -121,11 +125,18 @@ declare class Configuration {
|
|
|
121
125
|
}): Promise<Currency>;
|
|
122
126
|
/**
|
|
123
127
|
* @param {Object} arg - Arg object.
|
|
124
|
-
* @returns {Promise<
|
|
125
|
-
* @summary: Get
|
|
126
|
-
* @description: Use this API to
|
|
128
|
+
* @returns {Promise<AppFeatureResponse>} - Success response
|
|
129
|
+
* @summary: Get features of application
|
|
130
|
+
* @description: Use this API to retrieve the configuration of features such as product detail, landing page, options in the login/registration screen, communication opt-in, cart options and many more.
|
|
127
131
|
*/
|
|
128
|
-
|
|
132
|
+
getFeatures({}?: any): Promise<AppFeatureResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* @param {Object} arg - Arg object.
|
|
135
|
+
* @returns {Promise<AppTokenResponse>} - Success response
|
|
136
|
+
* @summary: Get integration tokens
|
|
137
|
+
* @description: Use this API to retrieve the tokens used while integrating Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map and Facebook. **Note** - Token values are encrypted with AES encryption using a secret key. Kindly reach out to the developers for obtaining the secret key.
|
|
138
|
+
*/
|
|
139
|
+
getIntegrationTokens({}?: any): Promise<AppTokenResponse>;
|
|
129
140
|
/**
|
|
130
141
|
* @param {Object} arg - Arg object.
|
|
131
142
|
* @returns {Promise<LanguageResponse>} - Success response
|
|
@@ -145,66 +156,55 @@ declare class Configuration {
|
|
|
145
156
|
}): Promise<SuccessMessageResponse>;
|
|
146
157
|
/**
|
|
147
158
|
* @param {Object} arg - Arg object.
|
|
148
|
-
* @
|
|
149
|
-
*
|
|
150
|
-
* @
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
* @
|
|
155
|
-
* @
|
|
156
|
-
* @param {number} [arg.pageSize] -
|
|
157
|
-
* @param {boolean} [arg.orderIncent] - This is a boolean value. Select
|
|
158
|
-
* `true` to retrieve the staff members eligible for getting incentives on orders.
|
|
159
|
-
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
160
|
-
* retrieving staff members working at a particular ordering store.
|
|
161
|
-
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
162
|
-
* the details of a particular staff member.
|
|
163
|
-
* @returns {Promise<AppStaffListResponse>} - Success response
|
|
164
|
-
* @summary: Get a list of staff.
|
|
165
|
-
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
159
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
160
|
+
* given set of results. Default value is 1.
|
|
161
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
162
|
+
* page. Default value is 10.
|
|
163
|
+
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
164
|
+
* @returns {Promise<OrderingStores>} - Success response
|
|
165
|
+
* @summary: Get deployment stores
|
|
166
|
+
* @description: Use this API to retrieve the details of all the deployment stores (the selling locations where the application will be utilized for placing orders).
|
|
166
167
|
*/
|
|
167
|
-
|
|
168
|
+
getOrderingStores({ pageNo, pageSize, q }?: {
|
|
168
169
|
pageNo?: number;
|
|
169
170
|
pageSize?: number;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
user?: string;
|
|
173
|
-
}): Promise<AppStaffListResponse>;
|
|
171
|
+
q?: string;
|
|
172
|
+
}): Promise<OrderingStores>;
|
|
174
173
|
/**
|
|
175
174
|
* @param {Object} arg - Arg object.
|
|
176
|
-
* @param {number} [arg.pageSize] -
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* @
|
|
180
|
-
*
|
|
181
|
-
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
182
|
-
* the details of a particular staff member.
|
|
183
|
-
* @summary: Get a list of staff.
|
|
184
|
-
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
175
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
176
|
+
* page. Default value is 10.
|
|
177
|
+
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
178
|
+
* @summary: Get deployment stores
|
|
179
|
+
* @description: Use this API to retrieve the details of all the deployment stores (the selling locations where the application will be utilized for placing orders).
|
|
185
180
|
*/
|
|
186
|
-
|
|
181
|
+
getOrderingStoresPaginator({ pageSize, q }?: {
|
|
187
182
|
pageSize?: number;
|
|
188
|
-
|
|
189
|
-
orderingStore?: number;
|
|
190
|
-
user?: string;
|
|
183
|
+
q?: string;
|
|
191
184
|
}): Paginator;
|
|
192
185
|
/**
|
|
193
186
|
* @param {Object} arg - Arg object.
|
|
194
|
-
* @
|
|
195
|
-
*
|
|
196
|
-
* @
|
|
197
|
-
* retrieving staff members working at a particular ordering store.
|
|
198
|
-
* @param {string} [arg.user] - Mongo ID of the staff. Helps in retrieving
|
|
199
|
-
* the details of a particular staff member.
|
|
200
|
-
* @returns {Promise<AppStaffResponse>} - Success response
|
|
201
|
-
* @summary: Get a list of staff.
|
|
202
|
-
* @description: Use this API to get a list of staff including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the application.
|
|
187
|
+
* @returns {Promise<ApplicationAboutResponse>} - Success response
|
|
188
|
+
* @summary: Get application, owner and seller information
|
|
189
|
+
* @description: Use this API to get the current application details which includes channel name, description, banner, logo, favicon, domain details, etc. This API also retrieves the seller and owner information such as address, email address, and phone number.
|
|
203
190
|
*/
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
191
|
+
getOwnerInfo({}?: any): Promise<ApplicationAboutResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* @param {Object} arg - Arg object.
|
|
194
|
+
* @param {number} arg.storeId - Store uid
|
|
195
|
+
* @returns {Promise<OrderingStore>} - Success response
|
|
196
|
+
* @summary: Get ordering store details
|
|
197
|
+
* @description: Use this API to retrieve the details of given stores uid (the selling locations where the application will be utilized for placing orders).
|
|
198
|
+
*/
|
|
199
|
+
getStoreDetailById({ storeId }?: {
|
|
200
|
+
storeId: number;
|
|
201
|
+
}): Promise<OrderingStore>;
|
|
202
|
+
/**
|
|
203
|
+
* @param {Object} arg - Arg object.
|
|
204
|
+
* @returns {Promise<SuccessMessageResponse>} - Success response
|
|
205
|
+
* @summary: Unset the Ordering Store signed cookie.
|
|
206
|
+
* @description: Use this API to unset the Ordering Store cookie upon changing the sales channel, by its domain URL, in the Universal Fynd Store app.
|
|
207
|
+
*/
|
|
208
|
+
removeOrderingStoreCookie({}?: any): Promise<SuccessMessageResponse>;
|
|
209
209
|
}
|
|
210
210
|
import Paginator = require("../../common/Paginator");
|