@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,16 +1,16 @@
|
|
|
1
1
|
export = CompanyProfileValidator;
|
|
2
2
|
declare class CompanyProfileValidator {
|
|
3
3
|
static cbsOnboardGet(): any;
|
|
4
|
-
static updateCompany(): any;
|
|
5
|
-
static getCompanyMetrics(): any;
|
|
6
|
-
static getBrand(): any;
|
|
7
|
-
static editBrand(): any;
|
|
8
4
|
static createBrand(): any;
|
|
9
|
-
static getBrands(): any;
|
|
10
5
|
static createCompanyBrandMapping(): any;
|
|
11
|
-
static getLocations(): any;
|
|
12
6
|
static createLocation(): any;
|
|
7
|
+
static createLocationBulk(): any;
|
|
8
|
+
static editBrand(): any;
|
|
9
|
+
static getBrand(): any;
|
|
10
|
+
static getBrands(): any;
|
|
11
|
+
static getCompanyMetrics(): any;
|
|
13
12
|
static getLocationDetail(): any;
|
|
13
|
+
static getLocations(): any;
|
|
14
|
+
static updateCompany(): any;
|
|
14
15
|
static updateLocation(): any;
|
|
15
|
-
static createLocationBulk(): any;
|
|
16
16
|
}
|
|
@@ -6,19 +6,27 @@ class CompanyProfileValidator {
|
|
|
6
6
|
return Joi.object({}).required();
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
static
|
|
9
|
+
static createBrand() {
|
|
10
10
|
return Joi.object({
|
|
11
|
-
body: CompanyProfileModel.
|
|
11
|
+
body: CompanyProfileModel.CreateUpdateBrandRequestSerializer().required(),
|
|
12
12
|
}).required();
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
static
|
|
16
|
-
return Joi.object({
|
|
15
|
+
static createCompanyBrandMapping() {
|
|
16
|
+
return Joi.object({
|
|
17
|
+
body: CompanyProfileModel.CompanyBrandPostRequestSerializer().required(),
|
|
18
|
+
}).required();
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
static
|
|
21
|
+
static createLocation() {
|
|
20
22
|
return Joi.object({
|
|
21
|
-
|
|
23
|
+
body: CompanyProfileModel.LocationSerializer().required(),
|
|
24
|
+
}).required();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
static createLocationBulk() {
|
|
28
|
+
return Joi.object({
|
|
29
|
+
body: CompanyProfileModel.BulkLocationSerializer().required(),
|
|
22
30
|
}).required();
|
|
23
31
|
}
|
|
24
32
|
|
|
@@ -29,9 +37,9 @@ class CompanyProfileValidator {
|
|
|
29
37
|
}).required();
|
|
30
38
|
}
|
|
31
39
|
|
|
32
|
-
static
|
|
40
|
+
static getBrand() {
|
|
33
41
|
return Joi.object({
|
|
34
|
-
|
|
42
|
+
brandId: Joi.string().allow("").required(),
|
|
35
43
|
}).required();
|
|
36
44
|
}
|
|
37
45
|
|
|
@@ -43,9 +51,13 @@ class CompanyProfileValidator {
|
|
|
43
51
|
}).required();
|
|
44
52
|
}
|
|
45
53
|
|
|
46
|
-
static
|
|
54
|
+
static getCompanyMetrics() {
|
|
55
|
+
return Joi.object({}).required();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static getLocationDetail() {
|
|
47
59
|
return Joi.object({
|
|
48
|
-
|
|
60
|
+
locationId: Joi.string().allow("").required(),
|
|
49
61
|
}).required();
|
|
50
62
|
}
|
|
51
63
|
|
|
@@ -60,15 +72,9 @@ class CompanyProfileValidator {
|
|
|
60
72
|
}).required();
|
|
61
73
|
}
|
|
62
74
|
|
|
63
|
-
static
|
|
64
|
-
return Joi.object({
|
|
65
|
-
body: CompanyProfileModel.LocationSerializer().required(),
|
|
66
|
-
}).required();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
static getLocationDetail() {
|
|
75
|
+
static updateCompany() {
|
|
70
76
|
return Joi.object({
|
|
71
|
-
|
|
77
|
+
body: CompanyProfileModel.UpdateCompany().required(),
|
|
72
78
|
}).required();
|
|
73
79
|
}
|
|
74
80
|
|
|
@@ -78,11 +84,5 @@ class CompanyProfileValidator {
|
|
|
78
84
|
body: CompanyProfileModel.LocationSerializer().required(),
|
|
79
85
|
}).required();
|
|
80
86
|
}
|
|
81
|
-
|
|
82
|
-
static createLocationBulk() {
|
|
83
|
-
return Joi.object({
|
|
84
|
-
body: CompanyProfileModel.BulkLocationSerializer().required(),
|
|
85
|
-
}).required();
|
|
86
|
-
}
|
|
87
87
|
}
|
|
88
88
|
module.exports = CompanyProfileValidator;
|
|
@@ -5,98 +5,44 @@ declare class Configuration {
|
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
7
|
* @param {Object} arg - Arg object.
|
|
8
|
-
* @param {
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
11
|
-
|
|
12
|
-
getBuildConfig({ platformType }?: {
|
|
13
|
-
platformType: string;
|
|
14
|
-
}): Promise<any>;
|
|
15
|
-
/**
|
|
16
|
-
* @param {Object} arg - Arg object.
|
|
17
|
-
* @param {string} arg.platformType - Current platform name
|
|
18
|
-
* @param {MobileAppConfigRequest} arg.body
|
|
19
|
-
* @summary: Update build config for next build
|
|
20
|
-
* @description: Update build config for next build
|
|
21
|
-
*/
|
|
22
|
-
updateBuildConfig({ platformType, body }?: {
|
|
23
|
-
platformType: string;
|
|
24
|
-
body: MobileAppConfigRequest;
|
|
25
|
-
}): Promise<any>;
|
|
26
|
-
/**
|
|
27
|
-
* @param {Object} arg - Arg object.
|
|
28
|
-
* @param {string} arg.platformType - Current platform name
|
|
29
|
-
* @summary: Get previous build versions
|
|
30
|
-
* @description: Get previous build versions
|
|
31
|
-
*/
|
|
32
|
-
getPreviousVersions({ platformType }?: {
|
|
33
|
-
platformType: string;
|
|
34
|
-
}): Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* @param {Object} arg - Arg object.
|
|
37
|
-
* @summary: Get features of application
|
|
38
|
-
* @description: Get features of application
|
|
39
|
-
*/
|
|
40
|
-
getAppFeatures({}?: any): Promise<any>;
|
|
41
|
-
/**
|
|
42
|
-
* @param {Object} arg - Arg object.
|
|
43
|
-
* @param {AppFeatureRequest} arg.body
|
|
44
|
-
* @summary: Update features of application
|
|
45
|
-
* @description: Update features of application
|
|
46
|
-
*/
|
|
47
|
-
updateAppFeatures({ body }?: {
|
|
48
|
-
body: AppFeatureRequest;
|
|
49
|
-
}): Promise<any>;
|
|
50
|
-
/**
|
|
51
|
-
* @param {Object} arg - Arg object.
|
|
52
|
-
* @summary: Get basic application details
|
|
53
|
-
* @description: Get basic application details like name
|
|
54
|
-
*/
|
|
55
|
-
getAppBasicDetails({}?: any): Promise<any>;
|
|
56
|
-
/**
|
|
57
|
-
* @param {Object} arg - Arg object.
|
|
58
|
-
* @param {ApplicationDetail} arg.body
|
|
59
|
-
* @summary: Add or update application's basic details
|
|
60
|
-
* @description: Add or update application's basic details
|
|
61
|
-
*/
|
|
62
|
-
updateAppBasicDetails({ body }?: {
|
|
63
|
-
body: ApplicationDetail;
|
|
64
|
-
}): Promise<any>;
|
|
65
|
-
/**
|
|
66
|
-
* @param {Object} arg - Arg object.
|
|
67
|
-
* @summary: Get application information
|
|
68
|
-
* @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
|
|
8
|
+
* @param {DomainAddRequest} arg.body
|
|
9
|
+
* @returns {Promise<Domain>} - Success response
|
|
10
|
+
* @summary: Add new domain to application
|
|
11
|
+
* @description: Add new domain to application.
|
|
69
12
|
*/
|
|
70
|
-
|
|
13
|
+
addDomain({ body }?: {
|
|
14
|
+
body: DomainAddRequest;
|
|
15
|
+
}): Promise<Domain>;
|
|
71
16
|
/**
|
|
72
17
|
* @param {Object} arg - Arg object.
|
|
73
|
-
* @param {
|
|
74
|
-
* @
|
|
75
|
-
* @
|
|
18
|
+
* @param {UpdateDomainTypeRequest} arg.body
|
|
19
|
+
* @returns {Promise<DomainsResponse>} - Success response
|
|
20
|
+
* @summary: Change domain type
|
|
21
|
+
* @description: Change a domain to Primary or Shortlink domain
|
|
76
22
|
*/
|
|
77
|
-
|
|
78
|
-
body:
|
|
79
|
-
}): Promise<
|
|
23
|
+
changeDomainType({ body }?: {
|
|
24
|
+
body: UpdateDomainTypeRequest;
|
|
25
|
+
}): Promise<DomainsResponse>;
|
|
80
26
|
/**
|
|
81
27
|
* @param {Object} arg - Arg object.
|
|
28
|
+
* @returns {Promise<TokenResponse>} - Success response
|
|
82
29
|
* @summary: Get social tokens
|
|
83
30
|
* @description: Get social tokens.
|
|
84
31
|
*/
|
|
85
|
-
getAppApiTokens({}?: any): Promise<
|
|
32
|
+
getAppApiTokens({}?: any): Promise<TokenResponse>;
|
|
86
33
|
/**
|
|
87
34
|
* @param {Object} arg - Arg object.
|
|
88
|
-
* @
|
|
89
|
-
* @summary:
|
|
90
|
-
* @description:
|
|
35
|
+
* @returns {Promise<ApplicationDetail>} - Success response
|
|
36
|
+
* @summary: Get basic application details
|
|
37
|
+
* @description: Get basic application details like name
|
|
91
38
|
*/
|
|
92
|
-
|
|
93
|
-
body: TokenResponse;
|
|
94
|
-
}): Promise<any>;
|
|
39
|
+
getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
|
|
95
40
|
/**
|
|
96
41
|
* @param {Object} arg - Arg object.
|
|
97
42
|
* @param {number} [arg.uid] - Uid of companies to be fetched
|
|
98
43
|
* @param {number} [arg.pageNo] - Current page no
|
|
99
44
|
* @param {number} [arg.pageSize] - Current request items count
|
|
45
|
+
* @returns {Promise<CompaniesResponse>} - Success response
|
|
100
46
|
* @summary: Application inventory enabled companies
|
|
101
47
|
* @description: Application inventory enabled companies.
|
|
102
48
|
*/
|
|
@@ -104,7 +50,7 @@ declare class Configuration {
|
|
|
104
50
|
uid?: number;
|
|
105
51
|
pageNo?: number;
|
|
106
52
|
pageSize?: number;
|
|
107
|
-
}): Promise<
|
|
53
|
+
}): Promise<CompaniesResponse>;
|
|
108
54
|
/**
|
|
109
55
|
* @param {Object} arg - Arg object.
|
|
110
56
|
* @param {string} arg.companyId - Current company id
|
|
@@ -120,17 +66,39 @@ declare class Configuration {
|
|
|
120
66
|
uid?: number;
|
|
121
67
|
pageSize?: number;
|
|
122
68
|
}): Paginator;
|
|
69
|
+
/**
|
|
70
|
+
* @param {Object} arg - Arg object.
|
|
71
|
+
* @returns {Promise<ApplicationInformation>} - Success response
|
|
72
|
+
* @summary: Get application information
|
|
73
|
+
* @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
|
|
74
|
+
*/
|
|
75
|
+
getAppContactInfo({}?: any): Promise<ApplicationInformation>;
|
|
76
|
+
/**
|
|
77
|
+
* @param {Object} arg - Arg object.
|
|
78
|
+
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
79
|
+
* @summary: Get application enabled currency list
|
|
80
|
+
* @description: Get application enabled currency list
|
|
81
|
+
*/
|
|
82
|
+
getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
|
|
83
|
+
/**
|
|
84
|
+
* @param {Object} arg - Arg object.
|
|
85
|
+
* @returns {Promise<AppFeatureResponse>} - Success response
|
|
86
|
+
* @summary: Get features of application
|
|
87
|
+
* @description: Get features of application
|
|
88
|
+
*/
|
|
89
|
+
getAppFeatures({}?: any): Promise<AppFeatureResponse>;
|
|
123
90
|
/**
|
|
124
91
|
* @param {Object} arg - Arg object.
|
|
125
92
|
* @param {number} [arg.pageNo] - Current page no
|
|
126
93
|
* @param {number} [arg.pageSize] - Current request items count
|
|
94
|
+
* @returns {Promise<StoresResponse>} - Success response
|
|
127
95
|
* @summary: Application inventory enabled stores
|
|
128
96
|
* @description: Application inventory enabled stores.
|
|
129
97
|
*/
|
|
130
98
|
getAppStores({ pageNo, pageSize }?: {
|
|
131
99
|
pageNo?: number;
|
|
132
100
|
pageSize?: number;
|
|
133
|
-
}): Promise<
|
|
101
|
+
}): Promise<StoresResponse>;
|
|
134
102
|
/**
|
|
135
103
|
* @param {Object} arg - Arg object.
|
|
136
104
|
* @param {string} arg.companyId - Current company id
|
|
@@ -146,54 +114,58 @@ declare class Configuration {
|
|
|
146
114
|
}): Paginator;
|
|
147
115
|
/**
|
|
148
116
|
* @param {Object} arg - Arg object.
|
|
149
|
-
* @
|
|
150
|
-
* @
|
|
117
|
+
* @returns {Promise<AppCurrencyResponse>} - Success response
|
|
118
|
+
* @summary: Get currencies enabled in the application
|
|
119
|
+
* @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.
|
|
151
120
|
*/
|
|
152
|
-
|
|
121
|
+
getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
|
|
153
122
|
/**
|
|
154
123
|
* @param {Object} arg - Arg object.
|
|
155
|
-
* @
|
|
156
|
-
* @summary:
|
|
157
|
-
* @description:
|
|
124
|
+
* @returns {Promise<Application>} - Success response
|
|
125
|
+
* @summary: Get application data from id
|
|
126
|
+
* @description: Get application data from id
|
|
158
127
|
*/
|
|
159
|
-
|
|
160
|
-
body: ApplicationInventory;
|
|
161
|
-
}): Promise<any>;
|
|
128
|
+
getApplicationById({}?: any): Promise<Application>;
|
|
162
129
|
/**
|
|
163
130
|
* @param {Object} arg - Arg object.
|
|
164
|
-
* @param {
|
|
165
|
-
* @
|
|
166
|
-
* @
|
|
131
|
+
* @param {string} arg.platformType - Current platform name
|
|
132
|
+
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
133
|
+
* @summary: Get latest build config
|
|
134
|
+
* @description: Get latest build config
|
|
167
135
|
*/
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}): Promise<
|
|
136
|
+
getBuildConfig({ platformType }?: {
|
|
137
|
+
platformType: string;
|
|
138
|
+
}): Promise<MobileAppConfiguration>;
|
|
171
139
|
/**
|
|
172
140
|
* @param {Object} arg - Arg object.
|
|
173
|
-
* @
|
|
174
|
-
* @
|
|
141
|
+
* @param {DomainStatusRequest} arg.body
|
|
142
|
+
* @returns {Promise<DomainStatusResponse>} - Success response
|
|
143
|
+
* @summary: Get domain connected status.
|
|
144
|
+
* @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
|
|
175
145
|
*/
|
|
176
|
-
|
|
146
|
+
getDomainStatus({ body }?: {
|
|
147
|
+
body: DomainStatusRequest;
|
|
148
|
+
}): Promise<DomainStatusResponse>;
|
|
177
149
|
/**
|
|
178
150
|
* @param {Object} arg - Arg object.
|
|
179
|
-
* @
|
|
180
|
-
* @summary:
|
|
181
|
-
* @description:
|
|
151
|
+
* @returns {Promise<DomainsResponse>} - Success response
|
|
152
|
+
* @summary: Get attached domain list
|
|
153
|
+
* @description: Get attached domain list.
|
|
182
154
|
*/
|
|
183
|
-
|
|
184
|
-
body: AppSupportedCurrency;
|
|
185
|
-
}): Promise<any>;
|
|
155
|
+
getDomains({}?: any): Promise<DomainsResponse>;
|
|
186
156
|
/**
|
|
187
157
|
* @param {Object} arg - Arg object.
|
|
188
|
-
* @
|
|
189
|
-
* @
|
|
158
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
159
|
+
* @summary: Get application configuration
|
|
160
|
+
* @description: Get application configuration for various features and data
|
|
190
161
|
*/
|
|
191
|
-
|
|
162
|
+
getInventoryConfig({}?: any): Promise<ApplicationInventory>;
|
|
192
163
|
/**
|
|
193
164
|
* @param {Object} arg - Arg object.
|
|
194
165
|
* @param {number} [arg.pageNo] - Current page no
|
|
195
166
|
* @param {number} [arg.pageSize] - Current request items count
|
|
196
167
|
* @param {FilterOrderingStoreRequest} arg.body
|
|
168
|
+
* @returns {Promise<OrderingStores>} - Success response
|
|
197
169
|
* @summary: Get ordering store by filter
|
|
198
170
|
* @description: Get ordering store by filter
|
|
199
171
|
*/
|
|
@@ -201,7 +173,7 @@ declare class Configuration {
|
|
|
201
173
|
pageNo?: number;
|
|
202
174
|
pageSize?: number;
|
|
203
175
|
body: FilterOrderingStoreRequest;
|
|
204
|
-
}): Promise<
|
|
176
|
+
}): Promise<OrderingStores>;
|
|
205
177
|
/**
|
|
206
178
|
* @param {Object} arg - Arg object.
|
|
207
179
|
* @param {string} arg.companyId - Current company id
|
|
@@ -219,13 +191,14 @@ declare class Configuration {
|
|
|
219
191
|
}): Paginator;
|
|
220
192
|
/**
|
|
221
193
|
* @param {Object} arg - Arg object.
|
|
222
|
-
* @param {
|
|
223
|
-
* @
|
|
224
|
-
* @
|
|
194
|
+
* @param {string} arg.platformType - Current platform name
|
|
195
|
+
* @returns {Promise<BuildVersionHistory>} - Success response
|
|
196
|
+
* @summary: Get previous build versions
|
|
197
|
+
* @description: Get previous build versions
|
|
225
198
|
*/
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}): Promise<
|
|
199
|
+
getPreviousVersions({ platformType }?: {
|
|
200
|
+
platformType: string;
|
|
201
|
+
}): Promise<BuildVersionHistory>;
|
|
229
202
|
/**
|
|
230
203
|
* @param {Object} arg - Arg object.
|
|
231
204
|
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
@@ -233,6 +206,7 @@ declare class Configuration {
|
|
|
233
206
|
* @param {number} [arg.pageSize] - The number of items to retrieve in each
|
|
234
207
|
* page. Default value is 10.
|
|
235
208
|
* @param {string} [arg.q] - Store code or name of the ordering store.
|
|
209
|
+
* @returns {Promise<OrderingStoresResponse>} - Success response
|
|
236
210
|
* @summary: Get deployment stores
|
|
237
211
|
* @description: Use this API to retrieve the details of all stores access given to the staff member (the selling locations where the application will be utilized for placing orders).
|
|
238
212
|
*/
|
|
@@ -240,7 +214,7 @@ declare class Configuration {
|
|
|
240
214
|
pageNo?: number;
|
|
241
215
|
pageSize?: number;
|
|
242
216
|
q?: string;
|
|
243
|
-
}): Promise<
|
|
217
|
+
}): Promise<OrderingStoresResponse>;
|
|
244
218
|
/**
|
|
245
219
|
* @param {Object} arg - Arg object.
|
|
246
220
|
* @param {string} arg.companyId - Current company id
|
|
@@ -259,51 +233,115 @@ declare class Configuration {
|
|
|
259
233
|
}): Paginator;
|
|
260
234
|
/**
|
|
261
235
|
* @param {Object} arg - Arg object.
|
|
262
|
-
* @
|
|
263
|
-
* @
|
|
236
|
+
* @param {AppFeatureRequest} arg.body
|
|
237
|
+
* @returns {Promise<AppFeature>} - Success response
|
|
238
|
+
* @summary: Update features of application
|
|
239
|
+
* @description: Update features of application
|
|
264
240
|
*/
|
|
265
|
-
|
|
241
|
+
modifyAppFeatures({ body }?: {
|
|
242
|
+
body: AppFeatureRequest;
|
|
243
|
+
}): Promise<AppFeature>;
|
|
266
244
|
/**
|
|
267
245
|
* @param {Object} arg - Arg object.
|
|
268
|
-
* @param {
|
|
269
|
-
* @
|
|
270
|
-
* @
|
|
246
|
+
* @param {AppInventoryPartialUpdate} arg.body
|
|
247
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
248
|
+
* @summary: Partially update application configuration
|
|
249
|
+
* @description: Partially update application configuration for various features and data
|
|
271
250
|
*/
|
|
272
|
-
|
|
273
|
-
body:
|
|
274
|
-
}): Promise<
|
|
251
|
+
partiallyUpdateInventoryConfig({ body }?: {
|
|
252
|
+
body: AppInventoryPartialUpdate;
|
|
253
|
+
}): Promise<ApplicationInventory>;
|
|
275
254
|
/**
|
|
276
255
|
* @param {Object} arg - Arg object.
|
|
277
256
|
* @param {string} arg.id - Domain _id
|
|
257
|
+
* @returns {Promise<SuccessMessageResponse>} - Success response
|
|
278
258
|
* @summary: Remove attached domain
|
|
279
259
|
* @description: Remove attached domain.
|
|
280
260
|
*/
|
|
281
261
|
removeDomainById({ id }?: {
|
|
282
262
|
id: string;
|
|
283
|
-
}): Promise<
|
|
263
|
+
}): Promise<SuccessMessageResponse>;
|
|
284
264
|
/**
|
|
285
265
|
* @param {Object} arg - Arg object.
|
|
286
|
-
* @param {
|
|
287
|
-
* @
|
|
288
|
-
* @
|
|
266
|
+
* @param {TokenResponse} arg.body
|
|
267
|
+
* @returns {Promise<TokenResponse>} - Success response
|
|
268
|
+
* @summary: Add social tokens
|
|
269
|
+
* @description: Add social tokens.
|
|
289
270
|
*/
|
|
290
|
-
|
|
291
|
-
body:
|
|
292
|
-
}): Promise<
|
|
271
|
+
updateAppApiTokens({ body }?: {
|
|
272
|
+
body: TokenResponse;
|
|
273
|
+
}): Promise<TokenResponse>;
|
|
293
274
|
/**
|
|
294
275
|
* @param {Object} arg - Arg object.
|
|
295
|
-
* @param {
|
|
296
|
-
* @
|
|
297
|
-
* @
|
|
276
|
+
* @param {ApplicationDetail} arg.body
|
|
277
|
+
* @returns {Promise<ApplicationDetail>} - Success response
|
|
278
|
+
* @summary: Add or update application's basic details
|
|
279
|
+
* @description: Add or update application's basic details
|
|
298
280
|
*/
|
|
299
|
-
|
|
300
|
-
body:
|
|
301
|
-
}): Promise<
|
|
281
|
+
updateAppBasicDetails({ body }?: {
|
|
282
|
+
body: ApplicationDetail;
|
|
283
|
+
}): Promise<ApplicationDetail>;
|
|
302
284
|
/**
|
|
303
285
|
* @param {Object} arg - Arg object.
|
|
304
|
-
* @
|
|
305
|
-
* @
|
|
286
|
+
* @param {ApplicationInformation} arg.body
|
|
287
|
+
* @returns {Promise<ApplicationInformation>} - Success response
|
|
288
|
+
* @summary: Get application information
|
|
289
|
+
* @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
|
|
290
|
+
*/
|
|
291
|
+
updateAppContactInfo({ body }?: {
|
|
292
|
+
body: ApplicationInformation;
|
|
293
|
+
}): Promise<ApplicationInformation>;
|
|
294
|
+
/**
|
|
295
|
+
* @param {Object} arg - Arg object.
|
|
296
|
+
* @param {AppSupportedCurrency} arg.body
|
|
297
|
+
* @returns {Promise<AppSupportedCurrency>} - Success response
|
|
298
|
+
* @summary: Add initial application supported currency
|
|
299
|
+
* @description: Add initial application supported currency for various features and data. Default INR will be enabled.
|
|
300
|
+
*/
|
|
301
|
+
updateAppCurrencyConfig({ body }?: {
|
|
302
|
+
body: AppSupportedCurrency;
|
|
303
|
+
}): Promise<AppSupportedCurrency>;
|
|
304
|
+
/**
|
|
305
|
+
* @param {Object} arg - Arg object.
|
|
306
|
+
* @param {AppFeatureRequest} arg.body
|
|
307
|
+
* @returns {Promise<AppFeature>} - Success response
|
|
308
|
+
* @summary: Update features of application
|
|
309
|
+
* @description: Update features of application
|
|
306
310
|
*/
|
|
307
|
-
|
|
311
|
+
updateAppFeatures({ body }?: {
|
|
312
|
+
body: AppFeatureRequest;
|
|
313
|
+
}): Promise<AppFeature>;
|
|
314
|
+
/**
|
|
315
|
+
* @param {Object} arg - Arg object.
|
|
316
|
+
* @param {string} arg.platformType - Current platform name
|
|
317
|
+
* @param {MobileAppConfigRequest} arg.body
|
|
318
|
+
* @returns {Promise<MobileAppConfiguration>} - Success response
|
|
319
|
+
* @summary: Update build config for next build
|
|
320
|
+
* @description: Update build config for next build
|
|
321
|
+
*/
|
|
322
|
+
updateBuildConfig({ platformType, body }?: {
|
|
323
|
+
platformType: string;
|
|
324
|
+
body: MobileAppConfigRequest;
|
|
325
|
+
}): Promise<MobileAppConfiguration>;
|
|
326
|
+
/**
|
|
327
|
+
* @param {Object} arg - Arg object.
|
|
328
|
+
* @param {ApplicationInventory} arg.body
|
|
329
|
+
* @returns {Promise<ApplicationInventory>} - Success response
|
|
330
|
+
* @summary: Update application configuration
|
|
331
|
+
* @description: Update application configuration for various features and data
|
|
332
|
+
*/
|
|
333
|
+
updateInventoryConfig({ body }?: {
|
|
334
|
+
body: ApplicationInventory;
|
|
335
|
+
}): Promise<ApplicationInventory>;
|
|
336
|
+
/**
|
|
337
|
+
* @param {Object} arg - Arg object.
|
|
338
|
+
* @param {OrderingStoreConfig} arg.body
|
|
339
|
+
* @returns {Promise<DeploymentMeta>} - Success response
|
|
340
|
+
* @summary: Add/Update ordering store config
|
|
341
|
+
* @description: Add/Update ordering store config.
|
|
342
|
+
*/
|
|
343
|
+
updateOrderingStoreConfig({ body }?: {
|
|
344
|
+
body: OrderingStoreConfig;
|
|
345
|
+
}): Promise<DeploymentMeta>;
|
|
308
346
|
}
|
|
309
347
|
import Paginator = require("../../common/Paginator");
|