@gofynd/fdk-client-javascript 0.1.35
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/.github/workflows/on_create_release.yml +23 -0
- package/.github/workflows/on_merge_main.yml +38 -0
- package/.github/workflows/on_pull_request.yml +35 -0
- package/.prettierrc +5 -0
- package/LICENSE +21 -0
- package/README.md +118 -0
- package/application.d.ts +3 -0
- package/application.js +6 -0
- package/common.d.ts +4 -0
- package/common.js +9 -0
- package/documentation/application/CART.md +7290 -0
- package/documentation/application/CATALOG.md +9570 -0
- package/documentation/application/COMMON.md +448 -0
- package/documentation/application/COMMUNICATION.md +463 -0
- package/documentation/application/CONFIGURATION.md +2902 -0
- package/documentation/application/CONTENT.md +3350 -0
- package/documentation/application/FILESTORAGE.md +491 -0
- package/documentation/application/LEAD.md +1891 -0
- package/documentation/application/LOGISTIC.md +439 -0
- package/documentation/application/ORDER.md +3428 -0
- package/documentation/application/PAYMENT.md +5035 -0
- package/documentation/application/POSCART.md +7889 -0
- package/documentation/application/README.md +21 -0
- package/documentation/application/REWARDS.md +714 -0
- package/documentation/application/SHARE.md +729 -0
- package/documentation/application/THEME.md +5796 -0
- package/documentation/application/USER.md +4326 -0
- package/documentation/platform/ANALYTICS.md +1150 -0
- package/documentation/platform/AUDITTRAIL.md +572 -0
- package/documentation/platform/BILLING.md +2396 -0
- package/documentation/platform/CART.md +5539 -0
- package/documentation/platform/CATALOG.md +21624 -0
- package/documentation/platform/COMMON.md +448 -0
- package/documentation/platform/COMMUNICATION.md +5714 -0
- package/documentation/platform/COMPANYPROFILE.md +2141 -0
- package/documentation/platform/CONFIGURATION.md +7335 -0
- package/documentation/platform/CONTENT.md +8989 -0
- package/documentation/platform/DISCOUNT.md +773 -0
- package/documentation/platform/FILESTORAGE.md +994 -0
- package/documentation/platform/INVENTORY.md +1775 -0
- package/documentation/platform/LEAD.md +4736 -0
- package/documentation/platform/ORDER.md +3764 -0
- package/documentation/platform/PARTNER.md +216 -0
- package/documentation/platform/PAYMENT.md +3444 -0
- package/documentation/platform/README.md +27 -0
- package/documentation/platform/REWARDS.md +871 -0
- package/documentation/platform/SHARE.md +602 -0
- package/documentation/platform/THEME.md +35725 -0
- package/documentation/platform/USER.md +2305 -0
- package/documentation/platform/WEBHOOK.md +587 -0
- package/documentation/public/CONFIGURATION.md +448 -0
- package/documentation/public/INVENTORY.md +686 -0
- package/documentation/public/WEBHOOK.md +348 -0
- package/index.d.ts +10 -0
- package/index.js +18 -0
- package/jest.config.d.ts +4 -0
- package/jest.config.js +6 -0
- package/package.json +35 -0
- package/platform.d.ts +3 -0
- package/platform.js +6 -0
- package/public.d.ts +3 -0
- package/public.js +6 -0
- package/sdk/application/ApplicationAPIClient.d.ts +11 -0
- package/sdk/application/ApplicationAPIClient.js +44 -0
- package/sdk/application/ApplicationClient.d.ts +40 -0
- package/sdk/application/ApplicationClient.js +84 -0
- package/sdk/application/ApplicationConfig.d.ts +19 -0
- package/sdk/application/ApplicationConfig.js +55 -0
- package/sdk/application/ApplicationModels.d.ts +826 -0
- package/sdk/application/ApplicationModels.js +10474 -0
- package/sdk/application/client/CartApplicationClient.d.ts +432 -0
- package/sdk/application/client/CartApplicationClient.js +1066 -0
- package/sdk/application/client/CatalogApplicationClient.d.ts +694 -0
- package/sdk/application/client/CatalogApplicationClient.js +1629 -0
- package/sdk/application/client/CommonApplicationClient.d.ts +38 -0
- package/sdk/application/client/CommonApplicationClient.js +105 -0
- package/sdk/application/client/CommunicationApplicationClient.d.ts +39 -0
- package/sdk/application/client/CommunicationApplicationClient.js +131 -0
- package/sdk/application/client/ConfigurationApplicationClient.d.ts +210 -0
- package/sdk/application/client/ConfigurationApplicationClient.js +649 -0
- package/sdk/application/client/ContentApplicationClient.d.ts +256 -0
- package/sdk/application/client/ContentApplicationClient.js +785 -0
- package/sdk/application/client/FileStorageApplicationClient.d.ts +88 -0
- package/sdk/application/client/FileStorageApplicationClient.js +214 -0
- package/sdk/application/client/LeadApplicationClient.d.ts +90 -0
- package/sdk/application/client/LeadApplicationClient.js +264 -0
- package/sdk/application/client/LogisticApplicationClient.d.ts +42 -0
- package/sdk/application/client/LogisticApplicationClient.js +128 -0
- package/sdk/application/client/OrderApplicationClient.d.ts +190 -0
- package/sdk/application/client/OrderApplicationClient.js +479 -0
- package/sdk/application/client/PaymentApplicationClient.d.ts +454 -0
- package/sdk/application/client/PaymentApplicationClient.js +1378 -0
- package/sdk/application/client/PosCartApplicationClient.d.ts +449 -0
- package/sdk/application/client/PosCartApplicationClient.js +1123 -0
- package/sdk/application/client/RewardsApplicationClient.d.ts +93 -0
- package/sdk/application/client/RewardsApplicationClient.js +293 -0
- package/sdk/application/client/ShareApplicationClient.d.ts +87 -0
- package/sdk/application/client/ShareApplicationClient.js +268 -0
- package/sdk/application/client/ThemeApplicationClient.d.ts +52 -0
- package/sdk/application/client/ThemeApplicationClient.js +161 -0
- package/sdk/application/client/UserApplicationClient.d.ts +446 -0
- package/sdk/application/client/UserApplicationClient.js +1275 -0
- package/sdk/application/constructUrl.d.ts +5 -0
- package/sdk/application/constructUrl.js +13 -0
- package/sdk/application/index.d.ts +2 -0
- package/sdk/application/index.js +4 -0
- package/sdk/application/models/CartValidator.d.ts +29 -0
- package/sdk/application/models/CartValidator.js +223 -0
- package/sdk/application/models/CatalogValidator.d.ts +33 -0
- package/sdk/application/models/CatalogValidator.js +233 -0
- package/sdk/application/models/CommonValidator.d.ts +5 -0
- package/sdk/application/models/CommonValidator.js +18 -0
- package/sdk/application/models/CommunicationValidator.d.ts +6 -0
- package/sdk/application/models/CommunicationValidator.js +20 -0
- package/sdk/application/models/ConfigurationValidator.d.ts +19 -0
- package/sdk/application/models/ConfigurationValidator.js +88 -0
- package/sdk/application/models/ContentValidator.d.ts +22 -0
- package/sdk/application/models/ContentValidator.js +106 -0
- package/sdk/application/models/FileStorageValidator.d.ts +6 -0
- package/sdk/application/models/FileStorageValidator.js +24 -0
- package/sdk/application/models/LeadValidator.d.ts +10 -0
- package/sdk/application/models/LeadValidator.js +48 -0
- package/sdk/application/models/LogisticValidator.d.ts +6 -0
- package/sdk/application/models/LogisticValidator.js +22 -0
- package/sdk/application/models/OrderValidator.d.ts +15 -0
- package/sdk/application/models/OrderValidator.js +87 -0
- package/sdk/application/models/PaymentValidator.d.ts +40 -0
- package/sdk/application/models/PaymentValidator.js +235 -0
- package/sdk/application/models/PosCartValidator.d.ts +30 -0
- package/sdk/application/models/PosCartValidator.js +232 -0
- package/sdk/application/models/RewardsValidator.d.ts +10 -0
- package/sdk/application/models/RewardsValidator.js +43 -0
- package/sdk/application/models/ShareValidator.d.ts +10 -0
- package/sdk/application/models/ShareValidator.js +44 -0
- package/sdk/application/models/ThemeValidator.d.ts +7 -0
- package/sdk/application/models/ThemeValidator.js +27 -0
- package/sdk/application/models/UserValidator.d.ts +38 -0
- package/sdk/application/models/UserValidator.js +233 -0
- package/sdk/common/AxiosHelper.d.ts +1 -0
- package/sdk/common/AxiosHelper.js +141 -0
- package/sdk/common/Constant.d.ts +294 -0
- package/sdk/common/Constant.js +332 -0
- package/sdk/common/FDKError.d.ts +26 -0
- package/sdk/common/FDKError.js +51 -0
- package/sdk/common/Logger.d.ts +2 -0
- package/sdk/common/Logger.js +85 -0
- package/sdk/common/Paginator.d.ts +16 -0
- package/sdk/common/Paginator.js +26 -0
- package/sdk/common/RequestSigner.d.ts +1 -0
- package/sdk/common/RequestSigner.js +306 -0
- package/sdk/common/Utility.d.ts +9 -0
- package/sdk/common/Utility.js +86 -0
- package/sdk/common/utils.d.ts +14 -0
- package/sdk/common/utils.js +165 -0
- package/sdk/platform/OAuthClient.d.ts +26 -0
- package/sdk/platform/OAuthClient.js +221 -0
- package/sdk/platform/PlatformAPIClient.d.ts +12 -0
- package/sdk/platform/PlatformAPIClient.js +43 -0
- package/sdk/platform/PlatformApplicationClient.d.ts +24398 -0
- package/sdk/platform/PlatformApplicationClient.js +23185 -0
- package/sdk/platform/PlatformApplicationModels.d.ts +333 -0
- package/sdk/platform/PlatformApplicationModels.js +21262 -0
- package/sdk/platform/PlatformClient.d.ts +9535 -0
- package/sdk/platform/PlatformClient.js +12336 -0
- package/sdk/platform/PlatformConfig.d.ts +29 -0
- package/sdk/platform/PlatformConfig.js +36 -0
- package/sdk/platform/PlatformModels.d.ts +1396 -0
- package/sdk/platform/PlatformModels.js +19222 -0
- package/sdk/platform/client/AnalyticsPlatformClient.d.ts +84 -0
- package/sdk/platform/client/AnalyticsPlatformClient.js +215 -0
- package/sdk/platform/client/AuditTrailPlatformClient.d.ts +38 -0
- package/sdk/platform/client/AuditTrailPlatformClient.js +133 -0
- package/sdk/platform/client/BillingPlatformClient.d.ts +109 -0
- package/sdk/platform/client/BillingPlatformClient.js +381 -0
- package/sdk/platform/client/CatalogPlatformClient.d.ts +806 -0
- package/sdk/platform/client/CatalogPlatformClient.js +2462 -0
- package/sdk/platform/client/CommonPlatformClient.d.ts +30 -0
- package/sdk/platform/client/CommonPlatformClient.js +84 -0
- package/sdk/platform/client/CommunicationPlatformClient.d.ts +26 -0
- package/sdk/platform/client/CommunicationPlatformClient.js +72 -0
- package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +182 -0
- package/sdk/platform/client/CompanyProfilePlatformClient.js +540 -0
- package/sdk/platform/client/ConfigurationPlatformClient.d.ts +277 -0
- package/sdk/platform/client/ConfigurationPlatformClient.js +806 -0
- package/sdk/platform/client/DiscountPlatformClient.d.ts +118 -0
- package/sdk/platform/client/DiscountPlatformClient.js +364 -0
- package/sdk/platform/client/FileStoragePlatformClient.d.ts +111 -0
- package/sdk/platform/client/FileStoragePlatformClient.js +268 -0
- package/sdk/platform/client/InventoryPlatformClient.d.ts +125 -0
- package/sdk/platform/client/InventoryPlatformClient.js +409 -0
- package/sdk/platform/client/LeadPlatformClient.d.ts +150 -0
- package/sdk/platform/client/LeadPlatformClient.js +439 -0
- package/sdk/platform/client/OrderPlatformClient.d.ts +190 -0
- package/sdk/platform/client/OrderPlatformClient.js +521 -0
- package/sdk/platform/client/PaymentPlatformClient.d.ts +98 -0
- package/sdk/platform/client/PaymentPlatformClient.js +331 -0
- package/sdk/platform/client/WebhookPlatformClient.d.ts +64 -0
- package/sdk/platform/client/WebhookPlatformClient.js +207 -0
- package/sdk/platform/index.d.ts +2 -0
- package/sdk/platform/index.js +4 -0
- package/sdk/platform/models/AnalyticsValidator.d.ts +7 -0
- package/sdk/platform/models/AnalyticsValidator.js +36 -0
- package/sdk/platform/models/AuditTrailValidator.d.ts +7 -0
- package/sdk/platform/models/AuditTrailValidator.js +26 -0
- package/sdk/platform/models/BillingValidator.d.ts +15 -0
- package/sdk/platform/models/BillingValidator.js +72 -0
- package/sdk/platform/models/CartValidator.d.ts +0 -0
- package/sdk/platform/models/CartValidator.js +0 -0
- package/sdk/platform/models/CatalogValidator.d.ts +74 -0
- package/sdk/platform/models/CatalogValidator.js +484 -0
- package/sdk/platform/models/CommonValidator.d.ts +5 -0
- package/sdk/platform/models/CommonValidator.js +18 -0
- package/sdk/platform/models/CommunicationValidator.d.ts +4 -0
- package/sdk/platform/models/CommunicationValidator.js +11 -0
- package/sdk/platform/models/CompanyProfileValidator.d.ts +17 -0
- package/sdk/platform/models/CompanyProfileValidator.js +93 -0
- package/sdk/platform/models/ConfigurationValidator.d.ts +21 -0
- package/sdk/platform/models/ConfigurationValidator.js +134 -0
- package/sdk/platform/models/ContentValidator.d.ts +0 -0
- package/sdk/platform/models/ContentValidator.js +0 -0
- package/sdk/platform/models/DiscountValidator.d.ts +13 -0
- package/sdk/platform/models/DiscountValidator.js +75 -0
- package/sdk/platform/models/FileStorageValidator.d.ts +9 -0
- package/sdk/platform/models/FileStorageValidator.js +44 -0
- package/sdk/platform/models/InventoryValidator.d.ts +15 -0
- package/sdk/platform/models/InventoryValidator.js +81 -0
- package/sdk/platform/models/LeadValidator.d.ts +14 -0
- package/sdk/platform/models/LeadValidator.js +78 -0
- package/sdk/platform/models/OrderValidator.d.ts +14 -0
- package/sdk/platform/models/OrderValidator.js +110 -0
- package/sdk/platform/models/PartnerValidator.d.ts +0 -0
- package/sdk/platform/models/PartnerValidator.js +0 -0
- package/sdk/platform/models/PaymentValidator.d.ts +13 -0
- package/sdk/platform/models/PaymentValidator.js +65 -0
- package/sdk/platform/models/RewardsValidator.d.ts +0 -0
- package/sdk/platform/models/RewardsValidator.js +0 -0
- package/sdk/platform/models/ShareValidator.d.ts +0 -0
- package/sdk/platform/models/ShareValidator.js +0 -0
- package/sdk/platform/models/ThemeValidator.d.ts +0 -0
- package/sdk/platform/models/ThemeValidator.js +0 -0
- package/sdk/platform/models/UserValidator.d.ts +0 -0
- package/sdk/platform/models/UserValidator.js +0 -0
- package/sdk/platform/models/WebhookValidator.d.ts +9 -0
- package/sdk/platform/models/WebhookValidator.js +42 -0
- package/sdk/public/PublicAPIClient.d.ts +11 -0
- package/sdk/public/PublicAPIClient.js +38 -0
- package/sdk/public/PublicClient.d.ts +12 -0
- package/sdk/public/PublicClient.js +24 -0
- package/sdk/public/PublicConfig.d.ts +10 -0
- package/sdk/public/PublicConfig.js +12 -0
- package/sdk/public/PublicModels.d.ts +50 -0
- package/sdk/public/PublicModels.js +712 -0
- package/sdk/public/client/ConfigurationPublicClient.d.ts +38 -0
- package/sdk/public/client/ConfigurationPublicClient.js +102 -0
- package/sdk/public/client/InventoryPublicClient.d.ts +81 -0
- package/sdk/public/client/InventoryPublicClient.js +239 -0
- package/sdk/public/client/WebhookPublicClient.d.ts +28 -0
- package/sdk/public/client/WebhookPublicClient.js +92 -0
- package/sdk/public/constructUrl.d.ts +5 -0
- package/sdk/public/constructUrl.js +13 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
- package/sdk/public/models/ConfigurationValidator.d.ts +5 -0
- package/sdk/public/models/ConfigurationValidator.js +18 -0
- package/sdk/public/models/InventoryValidator.d.ts +9 -0
- package/sdk/public/models/InventoryValidator.js +43 -0
- package/sdk/public/models/WebhookValidator.d.ts +5 -0
- package/sdk/public/models/WebhookValidator.js +14 -0
- package/tests/application/catalog.spec.js +47 -0
- package/tests/common/action-url.spec.js +35 -0
- package/tests/common/schema/action-url.json +163 -0
- package/tests/common/schema/url-action.json +667 -0
- package/tests/common/url-action.spec.js +48 -0
- package/tests/helpers/cookie.helper.js +31 -0
- package/tests/helpers/oauth.helper.js +43 -0
- package/tests/platform/catalog.spec.js +49 -0
- package/tests/public/location.spec.js +39 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const Joi = require("joi");
|
|
2
|
+
const Validator = require("../PlatformModels");
|
|
3
|
+
class BillingValidator {
|
|
4
|
+
static checkCouponValidity() {
|
|
5
|
+
return Joi.object({
|
|
6
|
+
plan: Joi.string().allow("").required(),
|
|
7
|
+
couponCode: Joi.string().allow("").required(),
|
|
8
|
+
}).required();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static createSubscriptionCharge() {
|
|
12
|
+
return Joi.object({
|
|
13
|
+
extensionId: Joi.string().allow("").required(),
|
|
14
|
+
body: Validator.CreateSubscriptionCharge().required(),
|
|
15
|
+
}).required();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static getSubscriptionCharge() {
|
|
19
|
+
return Joi.object({
|
|
20
|
+
extensionId: Joi.string().allow("").required(),
|
|
21
|
+
subscriptionId: Joi.string().allow("").required(),
|
|
22
|
+
}).required();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static cancelSubscriptionCharge() {
|
|
26
|
+
return Joi.object({
|
|
27
|
+
extensionId: Joi.string().allow("").required(),
|
|
28
|
+
subscriptionId: Joi.string().allow("").required(),
|
|
29
|
+
}).required();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static getInvoices() {
|
|
33
|
+
return Joi.object({}).required();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
static getInvoiceById() {
|
|
37
|
+
return Joi.object({
|
|
38
|
+
invoiceId: Joi.string().allow("").required(),
|
|
39
|
+
}).required();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static getCustomerDetail() {
|
|
43
|
+
return Joi.object({}).required();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static upsertCustomerDetail() {
|
|
47
|
+
return Joi.object({
|
|
48
|
+
body: Validator.SubscriptionCustomerCreate().required(),
|
|
49
|
+
}).required();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static getSubscription() {
|
|
53
|
+
return Joi.object({}).required();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static getFeatureLimitConfig() {
|
|
57
|
+
return Joi.object({}).required();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static activateSubscriptionPlan() {
|
|
61
|
+
return Joi.object({
|
|
62
|
+
body: Validator.SubscriptionActivateReq().required(),
|
|
63
|
+
}).required();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static cancelSubscriptionPlan() {
|
|
67
|
+
return Joi.object({
|
|
68
|
+
body: Validator.CancelSubscriptionReq().required(),
|
|
69
|
+
}).required();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
module.exports = BillingValidator;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export = CatalogValidator;
|
|
2
|
+
declare class CatalogValidator {
|
|
3
|
+
static getProductBundle(): any;
|
|
4
|
+
static createProductBundle(): any;
|
|
5
|
+
static getProductBundleDetail(): any;
|
|
6
|
+
static updateProductBundle(): any;
|
|
7
|
+
static getSizeGuides(): any;
|
|
8
|
+
static createSizeGuide(): any;
|
|
9
|
+
static getSizeGuide(): any;
|
|
10
|
+
static updateSizeGuide(): any;
|
|
11
|
+
static getSellerInsights(): any;
|
|
12
|
+
static createMarketplaceOptin(): any;
|
|
13
|
+
static getMarketplaceOptinDetail(): any;
|
|
14
|
+
static getCompanyDetail(): any;
|
|
15
|
+
static getCompanyBrandDetail(): any;
|
|
16
|
+
static getCompanyMetrics(): any;
|
|
17
|
+
static getStoreDetail(): any;
|
|
18
|
+
static getGenderAttribute(): any;
|
|
19
|
+
static listProductTemplateCategories(): any;
|
|
20
|
+
static listDepartmentsData(): any;
|
|
21
|
+
static createDepartments(): any;
|
|
22
|
+
static getDepartmentData(): any;
|
|
23
|
+
static updateDepartment(): any;
|
|
24
|
+
static listProductTemplate(): any;
|
|
25
|
+
static validateProductTemplate(): any;
|
|
26
|
+
static downloadProductTemplateViews(): any;
|
|
27
|
+
static downloadProductTemplateView(): any;
|
|
28
|
+
static validateProductTemplateSchema(): any;
|
|
29
|
+
static listHSNCodes(): any;
|
|
30
|
+
static listProductTemplateExportDetails(): any;
|
|
31
|
+
static listTemplateBrandTypeValues(): any;
|
|
32
|
+
static listCategories(): any;
|
|
33
|
+
static createCategories(): any;
|
|
34
|
+
static getCategoryData(): any;
|
|
35
|
+
static updateCategory(): any;
|
|
36
|
+
static getProducts(): any;
|
|
37
|
+
static createProduct(): any;
|
|
38
|
+
static getProductAttributes(): any;
|
|
39
|
+
static getProduct(): any;
|
|
40
|
+
static editProduct(): any;
|
|
41
|
+
static deleteProduct(): any;
|
|
42
|
+
static getProductValidation(): any;
|
|
43
|
+
static getProductSize(): any;
|
|
44
|
+
static getProductBulkUploadHistory(): any;
|
|
45
|
+
static createBulkProductUploadJob(): any;
|
|
46
|
+
static deleteProductBulkJob(): any;
|
|
47
|
+
static createProductsInBulk(): any;
|
|
48
|
+
static getProductTags(): any;
|
|
49
|
+
static getProductAssetsInBulk(): any;
|
|
50
|
+
static createProductAssetsInBulk(): any;
|
|
51
|
+
static deleteSize(): any;
|
|
52
|
+
static getInventoryBySize(): any;
|
|
53
|
+
static addInventory(): any;
|
|
54
|
+
static getInventoryBySizeIdentifier(): any;
|
|
55
|
+
static deleteInventory(): any;
|
|
56
|
+
static getInventoryBulkUploadHistory(): any;
|
|
57
|
+
static createBulkInventoryJob(): any;
|
|
58
|
+
static deleteBulkInventoryJob(): any;
|
|
59
|
+
static createBulkInventory(): any;
|
|
60
|
+
static getInventoryExport(): any;
|
|
61
|
+
static createInventoryExportJob(): any;
|
|
62
|
+
static exportInventoryConfig(): any;
|
|
63
|
+
static deleteRealtimeInventory(): any;
|
|
64
|
+
static updateRealtimeInventory(): any;
|
|
65
|
+
static updateInventories(): any;
|
|
66
|
+
static getAllHsnCodes(): any;
|
|
67
|
+
static createHsnCode(): any;
|
|
68
|
+
static getHsnCode(): any;
|
|
69
|
+
static updateHsnCode(): any;
|
|
70
|
+
static bulkHsnCode(): any;
|
|
71
|
+
static getAllProductHsnCodes(): any;
|
|
72
|
+
static getSingleProductHSNCode(): any;
|
|
73
|
+
static getOptimalLocations(): any;
|
|
74
|
+
}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
const Joi = require("joi");
|
|
2
|
+
const Validator = require("../PlatformModels");
|
|
3
|
+
class CatalogValidator {
|
|
4
|
+
static getProductBundle() {
|
|
5
|
+
return Joi.object({
|
|
6
|
+
q: Joi.string().allow(""),
|
|
7
|
+
slug: Joi.array().items(Joi.string().allow("")),
|
|
8
|
+
}).required();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static createProductBundle() {
|
|
12
|
+
return Joi.object({
|
|
13
|
+
body: Validator.ProductBundleRequest().required(),
|
|
14
|
+
}).required();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static getProductBundleDetail() {
|
|
18
|
+
return Joi.object({
|
|
19
|
+
id: Joi.string().allow("").required(),
|
|
20
|
+
}).required();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static updateProductBundle() {
|
|
24
|
+
return Joi.object({
|
|
25
|
+
id: Joi.string().allow("").required(),
|
|
26
|
+
body: Validator.ProductBundleUpdateRequest().required(),
|
|
27
|
+
}).required();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static getSizeGuides() {
|
|
31
|
+
return Joi.object({
|
|
32
|
+
active: Joi.boolean(),
|
|
33
|
+
q: Joi.string().allow(""),
|
|
34
|
+
tag: Joi.string().allow(""),
|
|
35
|
+
pageNo: Joi.number(),
|
|
36
|
+
pageSize: Joi.number(),
|
|
37
|
+
}).required();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static createSizeGuide() {
|
|
41
|
+
return Joi.object({
|
|
42
|
+
body: Validator.ValidateSizeGuide().required(),
|
|
43
|
+
}).required();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static getSizeGuide() {
|
|
47
|
+
return Joi.object({
|
|
48
|
+
id: Joi.string().allow("").required(),
|
|
49
|
+
}).required();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static updateSizeGuide() {
|
|
53
|
+
return Joi.object({
|
|
54
|
+
id: Joi.string().allow("").required(),
|
|
55
|
+
body: Validator.ValidateSizeGuide().required(),
|
|
56
|
+
}).required();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static getSellerInsights() {
|
|
60
|
+
return Joi.object({
|
|
61
|
+
sellerAppId: Joi.string().allow("").required(),
|
|
62
|
+
}).required();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static createMarketplaceOptin() {
|
|
66
|
+
return Joi.object({
|
|
67
|
+
marketplace: Joi.string().allow("").required(),
|
|
68
|
+
body: Validator.OptInPostRequest().required(),
|
|
69
|
+
}).required();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static getMarketplaceOptinDetail() {
|
|
73
|
+
return Joi.object({}).required();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static getCompanyDetail() {
|
|
77
|
+
return Joi.object({}).required();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static getCompanyBrandDetail() {
|
|
81
|
+
return Joi.object({
|
|
82
|
+
isActive: Joi.boolean(),
|
|
83
|
+
q: Joi.boolean(),
|
|
84
|
+
pageNo: Joi.number(),
|
|
85
|
+
pageSize: Joi.number(),
|
|
86
|
+
marketplace: Joi.string().allow(""),
|
|
87
|
+
}).required();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
static getCompanyMetrics() {
|
|
91
|
+
return Joi.object({}).required();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static getStoreDetail() {
|
|
95
|
+
return Joi.object({
|
|
96
|
+
q: Joi.string().allow(""),
|
|
97
|
+
pageNo: Joi.number(),
|
|
98
|
+
pageSize: Joi.number(),
|
|
99
|
+
}).required();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
static getGenderAttribute() {
|
|
103
|
+
return Joi.object({
|
|
104
|
+
attributeSlug: Joi.string().allow("").required(),
|
|
105
|
+
}).required();
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
static listProductTemplateCategories() {
|
|
109
|
+
return Joi.object({
|
|
110
|
+
departments: Joi.string().allow("").required(),
|
|
111
|
+
itemType: Joi.string().allow("").required(),
|
|
112
|
+
}).required();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static listDepartmentsData() {
|
|
116
|
+
return Joi.object({
|
|
117
|
+
pageNo: Joi.number(),
|
|
118
|
+
pageSize: Joi.number(),
|
|
119
|
+
name: Joi.string().allow(""),
|
|
120
|
+
search: Joi.string().allow(""),
|
|
121
|
+
isActive: Joi.boolean(),
|
|
122
|
+
}).required();
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
static createDepartments() {
|
|
126
|
+
return Joi.object({
|
|
127
|
+
body: Validator.DepartmentCreateUpdate().required(),
|
|
128
|
+
}).required();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
static getDepartmentData() {
|
|
132
|
+
return Joi.object({
|
|
133
|
+
uid: Joi.string().allow("").required(),
|
|
134
|
+
}).required();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static updateDepartment() {
|
|
138
|
+
return Joi.object({
|
|
139
|
+
uid: Joi.string().allow("").required(),
|
|
140
|
+
body: Validator.DepartmentCreateUpdate().required(),
|
|
141
|
+
}).required();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static listProductTemplate() {
|
|
145
|
+
return Joi.object({
|
|
146
|
+
department: Joi.string().allow("").required(),
|
|
147
|
+
}).required();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static validateProductTemplate() {
|
|
151
|
+
return Joi.object({
|
|
152
|
+
slug: Joi.string().allow("").required(),
|
|
153
|
+
}).required();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static downloadProductTemplateViews() {
|
|
157
|
+
return Joi.object({
|
|
158
|
+
slug: Joi.string().allow("").required(),
|
|
159
|
+
}).required();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
static downloadProductTemplateView() {
|
|
163
|
+
return Joi.object({
|
|
164
|
+
itemType: Joi.string().allow("").required(),
|
|
165
|
+
}).required();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
static validateProductTemplateSchema() {
|
|
169
|
+
return Joi.object({
|
|
170
|
+
itemType: Joi.string().allow("").required(),
|
|
171
|
+
}).required();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
static listHSNCodes() {
|
|
175
|
+
return Joi.object({}).required();
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
static listProductTemplateExportDetails() {
|
|
179
|
+
return Joi.object({}).required();
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
static listTemplateBrandTypeValues() {
|
|
183
|
+
return Joi.object({
|
|
184
|
+
filter: Joi.string().allow("").required(),
|
|
185
|
+
}).required();
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
static listCategories() {
|
|
189
|
+
return Joi.object({
|
|
190
|
+
level: Joi.string().allow(""),
|
|
191
|
+
departments: Joi.string().allow(""),
|
|
192
|
+
q: Joi.string().allow(""),
|
|
193
|
+
pageNo: Joi.number(),
|
|
194
|
+
pageSize: Joi.number(),
|
|
195
|
+
}).required();
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
static createCategories() {
|
|
199
|
+
return Joi.object({
|
|
200
|
+
body: Validator.CategoryRequestBody().required(),
|
|
201
|
+
}).required();
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
static getCategoryData() {
|
|
205
|
+
return Joi.object({
|
|
206
|
+
uid: Joi.string().allow("").required(),
|
|
207
|
+
}).required();
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static updateCategory() {
|
|
211
|
+
return Joi.object({
|
|
212
|
+
uid: Joi.string().allow("").required(),
|
|
213
|
+
body: Validator.CategoryRequestBody().required(),
|
|
214
|
+
}).required();
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
static getProducts() {
|
|
218
|
+
return Joi.object({
|
|
219
|
+
brandIds: Joi.array().items(Joi.number()),
|
|
220
|
+
categoryIds: Joi.array().items(Joi.number()),
|
|
221
|
+
itemIds: Joi.array().items(Joi.number()),
|
|
222
|
+
departmentIds: Joi.array().items(Joi.number()),
|
|
223
|
+
itemCode: Joi.array().items(Joi.string().allow("")),
|
|
224
|
+
q: Joi.string().allow(""),
|
|
225
|
+
tags: Joi.array().items(Joi.string().allow("")),
|
|
226
|
+
pageNo: Joi.number(),
|
|
227
|
+
pageSize: Joi.number(),
|
|
228
|
+
}).required();
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
static createProduct() {
|
|
232
|
+
return Joi.object({
|
|
233
|
+
body: Validator.ProductCreateUpdate().required(),
|
|
234
|
+
}).required();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
static getProductAttributes() {
|
|
238
|
+
return Joi.object({
|
|
239
|
+
category: Joi.string().allow("").required(),
|
|
240
|
+
filter: Joi.boolean(),
|
|
241
|
+
}).required();
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
static getProduct() {
|
|
245
|
+
return Joi.object({
|
|
246
|
+
itemCode: Joi.string().allow(""),
|
|
247
|
+
itemId: Joi.number().required(),
|
|
248
|
+
brandUid: Joi.number(),
|
|
249
|
+
}).required();
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
static editProduct() {
|
|
253
|
+
return Joi.object({
|
|
254
|
+
itemId: Joi.number().required(),
|
|
255
|
+
body: Validator.ProductCreateUpdate().required(),
|
|
256
|
+
}).required();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
static deleteProduct() {
|
|
260
|
+
return Joi.object({
|
|
261
|
+
itemId: Joi.number().required(),
|
|
262
|
+
}).required();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
static getProductValidation() {
|
|
266
|
+
return Joi.object({}).required();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
static getProductSize() {
|
|
270
|
+
return Joi.object({
|
|
271
|
+
itemCode: Joi.string().allow(""),
|
|
272
|
+
itemId: Joi.number().required(),
|
|
273
|
+
brandUid: Joi.number(),
|
|
274
|
+
uid: Joi.number(),
|
|
275
|
+
}).required();
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static getProductBulkUploadHistory() {
|
|
279
|
+
return Joi.object({
|
|
280
|
+
pageNo: Joi.number(),
|
|
281
|
+
pageSize: Joi.number(),
|
|
282
|
+
}).required();
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static createBulkProductUploadJob() {
|
|
286
|
+
return Joi.object({
|
|
287
|
+
body: Validator.BulkJob().required(),
|
|
288
|
+
}).required();
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
static deleteProductBulkJob() {
|
|
292
|
+
return Joi.object({
|
|
293
|
+
batchId: Joi.number().required(),
|
|
294
|
+
}).required();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
static createProductsInBulk() {
|
|
298
|
+
return Joi.object({
|
|
299
|
+
batchId: Joi.string().allow("").required(),
|
|
300
|
+
body: Validator.BulkProductRequest().required(),
|
|
301
|
+
}).required();
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
static getProductTags() {
|
|
305
|
+
return Joi.object({}).required();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
static getProductAssetsInBulk() {
|
|
309
|
+
return Joi.object({
|
|
310
|
+
pageNo: Joi.number(),
|
|
311
|
+
pageSize: Joi.number(),
|
|
312
|
+
}).required();
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
static createProductAssetsInBulk() {
|
|
316
|
+
return Joi.object({
|
|
317
|
+
body: Validator.ProductBulkAssets().required(),
|
|
318
|
+
}).required();
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
static deleteSize() {
|
|
322
|
+
return Joi.object({
|
|
323
|
+
itemId: Joi.number().required(),
|
|
324
|
+
size: Joi.number().required(),
|
|
325
|
+
}).required();
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
static getInventoryBySize() {
|
|
329
|
+
return Joi.object({
|
|
330
|
+
itemId: Joi.string().allow("").required(),
|
|
331
|
+
size: Joi.string().allow("").required(),
|
|
332
|
+
pageNo: Joi.number(),
|
|
333
|
+
pageSize: Joi.number(),
|
|
334
|
+
q: Joi.string().allow(""),
|
|
335
|
+
sellable: Joi.boolean(),
|
|
336
|
+
}).required();
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
static addInventory() {
|
|
340
|
+
return Joi.object({
|
|
341
|
+
itemId: Joi.number().required(),
|
|
342
|
+
size: Joi.string().allow("").required(),
|
|
343
|
+
body: Validator.InventoryRequest().required(),
|
|
344
|
+
}).required();
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
static getInventoryBySizeIdentifier() {
|
|
348
|
+
return Joi.object({
|
|
349
|
+
itemId: Joi.string().allow("").required(),
|
|
350
|
+
sizeIdentifier: Joi.string().allow("").required(),
|
|
351
|
+
pageNo: Joi.number(),
|
|
352
|
+
pageSize: Joi.number(),
|
|
353
|
+
q: Joi.string().allow(""),
|
|
354
|
+
locationIds: Joi.array().items(Joi.number()),
|
|
355
|
+
}).required();
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
static deleteInventory() {
|
|
359
|
+
return Joi.object({
|
|
360
|
+
size: Joi.string().allow("").required(),
|
|
361
|
+
itemId: Joi.number().required(),
|
|
362
|
+
locationId: Joi.number().required(),
|
|
363
|
+
}).required();
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
static getInventoryBulkUploadHistory() {
|
|
367
|
+
return Joi.object({
|
|
368
|
+
pageNo: Joi.number(),
|
|
369
|
+
pageSize: Joi.number(),
|
|
370
|
+
}).required();
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
static createBulkInventoryJob() {
|
|
374
|
+
return Joi.object({
|
|
375
|
+
body: Validator.BulkJob().required(),
|
|
376
|
+
}).required();
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
static deleteBulkInventoryJob() {
|
|
380
|
+
return Joi.object({
|
|
381
|
+
batchId: Joi.string().allow("").required(),
|
|
382
|
+
}).required();
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
static createBulkInventory() {
|
|
386
|
+
return Joi.object({
|
|
387
|
+
batchId: Joi.string().allow("").required(),
|
|
388
|
+
body: Validator.InventoryBulkRequest().required(),
|
|
389
|
+
}).required();
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
static getInventoryExport() {
|
|
393
|
+
return Joi.object({}).required();
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
static createInventoryExportJob() {
|
|
397
|
+
return Joi.object({
|
|
398
|
+
body: Validator.InventoryExportRequest().required(),
|
|
399
|
+
}).required();
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
static exportInventoryConfig() {
|
|
403
|
+
return Joi.object({
|
|
404
|
+
filterType: Joi.string().allow(""),
|
|
405
|
+
}).required();
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
static deleteRealtimeInventory() {
|
|
409
|
+
return Joi.object({
|
|
410
|
+
itemId: Joi.number().required(),
|
|
411
|
+
sellerIdentifier: Joi.string().allow("").required(),
|
|
412
|
+
body: Validator.InventoryRequestSchemaV2().required(),
|
|
413
|
+
}).required();
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
static updateRealtimeInventory() {
|
|
417
|
+
return Joi.object({
|
|
418
|
+
itemId: Joi.number().required(),
|
|
419
|
+
sellerIdentifier: Joi.string().allow("").required(),
|
|
420
|
+
body: Validator.InventoryRequestSchemaV2().required(),
|
|
421
|
+
}).required();
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
static updateInventories() {
|
|
425
|
+
return Joi.object({
|
|
426
|
+
body: Validator.InventoryRequestSchemaV2().required(),
|
|
427
|
+
}).required();
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
static getAllHsnCodes() {
|
|
431
|
+
return Joi.object({
|
|
432
|
+
pageNo: Joi.number(),
|
|
433
|
+
pageSize: Joi.number(),
|
|
434
|
+
q: Joi.string().allow(""),
|
|
435
|
+
}).required();
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
static createHsnCode() {
|
|
439
|
+
return Joi.object({
|
|
440
|
+
body: Validator.HsnUpsert().required(),
|
|
441
|
+
}).required();
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
static getHsnCode() {
|
|
445
|
+
return Joi.object({
|
|
446
|
+
id: Joi.string().allow("").required(),
|
|
447
|
+
}).required();
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
static updateHsnCode() {
|
|
451
|
+
return Joi.object({
|
|
452
|
+
id: Joi.string().allow("").required(),
|
|
453
|
+
body: Validator.HsnUpsert().required(),
|
|
454
|
+
}).required();
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
static bulkHsnCode() {
|
|
458
|
+
return Joi.object({
|
|
459
|
+
body: Validator.BulkHsnUpsert().required(),
|
|
460
|
+
}).required();
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
static getAllProductHsnCodes() {
|
|
464
|
+
return Joi.object({
|
|
465
|
+
pageNo: Joi.number(),
|
|
466
|
+
pageSize: Joi.number(),
|
|
467
|
+
q: Joi.string().allow(""),
|
|
468
|
+
type: Joi.string().allow(""),
|
|
469
|
+
}).required();
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
static getSingleProductHSNCode() {
|
|
473
|
+
return Joi.object({
|
|
474
|
+
reportingHsn: Joi.string().allow("").required(),
|
|
475
|
+
}).required();
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
static getOptimalLocations() {
|
|
479
|
+
return Joi.object({
|
|
480
|
+
body: Validator.AssignStore().required(),
|
|
481
|
+
}).required();
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
module.exports = CatalogValidator;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const Joi = require("joi");
|
|
2
|
+
const Validator = require("../PlatformModels");
|
|
3
|
+
class CommonValidator {
|
|
4
|
+
static searchApplication() {
|
|
5
|
+
return Joi.object({
|
|
6
|
+
authorization: Joi.string().allow(""),
|
|
7
|
+
query: Joi.string().allow(""),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static getLocations() {
|
|
12
|
+
return Joi.object({
|
|
13
|
+
locationType: Joi.string().allow(""),
|
|
14
|
+
id: Joi.string().allow(""),
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
module.exports = CommonValidator;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const Joi = require("joi");
|
|
2
|
+
const Validator = require("../PlatformModels");
|
|
3
|
+
class CommunicationValidator {
|
|
4
|
+
static getSystemNotifications() {
|
|
5
|
+
return Joi.object({
|
|
6
|
+
pageNo: Joi.number(),
|
|
7
|
+
pageSize: Joi.number(),
|
|
8
|
+
}).required();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
module.exports = CommunicationValidator;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export = CompanyProfileValidator;
|
|
2
|
+
declare class CompanyProfileValidator {
|
|
3
|
+
static cbsOnboardGet(): any;
|
|
4
|
+
static updateCompany(): any;
|
|
5
|
+
static getCompanyMetrics(): any;
|
|
6
|
+
static getBrand(): any;
|
|
7
|
+
static editBrand(): any;
|
|
8
|
+
static createBrand(): any;
|
|
9
|
+
static getBrands(): any;
|
|
10
|
+
static createCompanyBrandMapping(): any;
|
|
11
|
+
static getLocations(): any;
|
|
12
|
+
static createLocation(): any;
|
|
13
|
+
static getLocationDetail(): any;
|
|
14
|
+
static updateLocation(): any;
|
|
15
|
+
static createLocationBulk(): any;
|
|
16
|
+
static getOptimalLocations(): any;
|
|
17
|
+
}
|