@gofynd/fdk-client-javascript 0.1.37 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/application.d.ts +2 -1
- package/application.js +2 -1
- package/documentation/application/CART.md +315 -289
- package/documentation/application/CATALOG.md +427 -404
- package/documentation/application/FILESTORAGE.md +2 -0
- package/documentation/application/LEAD.md +18 -18
- package/documentation/application/LOGISTIC.md +45 -45
- package/documentation/application/ORDER.md +287 -287
- package/documentation/application/PAYMENT.md +278 -278
- package/documentation/application/POSCART.md +318 -292
- package/documentation/application/REWARDS.md +1 -0
- package/documentation/application/USER.md +19 -14
- package/documentation/platform/CART.md +465 -462
- package/documentation/platform/CATALOG.md +2691 -2624
- package/documentation/platform/COMPANYPROFILE.md +186 -348
- package/documentation/platform/DISCOUNT.md +86 -0
- package/documentation/platform/FILESTORAGE.md +2 -0
- package/documentation/platform/LEAD.md +60 -60
- package/documentation/platform/ORDER.md +1299 -1621
- package/documentation/platform/PAYMENT.md +89 -89
- package/documentation/platform/REWARDS.md +145 -0
- package/documentation/platform/USER.md +24 -14
- package/index.d.ts +4 -1
- package/index.js +6 -3
- package/package.json +9 -9
- package/platform.d.ts +2 -1
- package/platform.js +3 -2
- package/public.d.ts +1 -0
- package/public.js +3 -2
- package/sdk/application/ApplicationAPIClient.js +3 -1
- package/sdk/application/ApplicationClient.d.ts +16 -16
- package/sdk/application/ApplicationClient.js +32 -16
- package/sdk/application/ApplicationConfig.js +3 -2
- package/sdk/application/ApplicationModels.d.ts +0 -832
- package/sdk/application/ApplicationModels.js +3 -10574
- package/sdk/application/{client → Cart}/CartApplicationClient.d.ts +9 -3
- package/sdk/application/{client → Cart}/CartApplicationClient.js +14 -8
- package/sdk/application/Cart/CartApplicationModel.d.ts +81 -0
- package/sdk/application/Cart/CartApplicationModel.js +1136 -0
- package/sdk/application/{models/CartValidator.js → Cart/CartApplicationValidator.js} +16 -12
- package/sdk/application/{client → Catalog}/CatalogApplicationClient.d.ts +8 -5
- package/sdk/application/{client → Catalog}/CatalogApplicationClient.js +11 -8
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +117 -0
- package/sdk/application/Catalog/CatalogApplicationModel.js +1606 -0
- package/sdk/application/{models/CatalogValidator.js → Catalog/CatalogApplicationValidator.js} +3 -1
- package/sdk/application/{client → Common}/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +20 -0
- package/sdk/application/Common/CommonApplicationModel.js +228 -0
- package/sdk/{platform/models/CommonValidator.js → application/Common/CommonApplicationValidator.js} +2 -1
- package/sdk/application/{client → Communication}/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +15 -0
- package/sdk/application/Communication/CommunicationApplicationModel.js +144 -0
- package/sdk/application/{models/CommunicationValidator.js → Communication/CommunicationApplicationValidator.js} +4 -3
- package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.js +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +111 -0
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1182 -0
- package/sdk/application/{models/ConfigurationValidator.js → Configuration/ConfigurationApplicationValidator.js} +3 -2
- package/sdk/application/{client → Content}/ContentApplicationClient.js +2 -2
- package/sdk/application/Content/ContentApplicationModel.d.ts +105 -0
- package/sdk/application/Content/ContentApplicationModel.js +1349 -0
- package/sdk/application/{models/ContentValidator.js → Content/ContentApplicationValidator.js} +2 -1
- package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.js +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +21 -0
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +244 -0
- package/sdk/application/{models/FileStorageValidator.js → FileStorage/FileStorageApplicationValidator.js} +5 -4
- package/sdk/application/{client → Lead}/LeadApplicationClient.js +2 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +55 -0
- package/sdk/application/Lead/LeadApplicationModel.js +690 -0
- package/sdk/application/{models/LeadValidator.js → Lead/LeadApplicationValidator.js} +5 -4
- package/sdk/application/{client → Logistic}/LogisticApplicationClient.js +2 -2
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +26 -0
- package/sdk/application/Logistic/LogisticApplicationModel.js +286 -0
- package/sdk/application/{models/LogisticValidator.js → Logistic/LogisticApplicationValidator.js} +4 -3
- package/sdk/application/{client → Order}/OrderApplicationClient.js +2 -2
- package/sdk/application/Order/OrderApplicationModel.d.ts +67 -0
- package/sdk/application/Order/OrderApplicationModel.js +872 -0
- package/sdk/application/{models/OrderValidator.js → Order/OrderApplicationValidator.js} +4 -3
- package/sdk/application/{client → Payment}/PaymentApplicationClient.js +2 -2
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +96 -0
- package/sdk/application/Payment/PaymentApplicationModel.js +1318 -0
- package/sdk/application/{models/PaymentValidator.js → Payment/PaymentApplicationValidator.js} +24 -23
- package/sdk/application/{client → PosCart}/PosCartApplicationClient.d.ts +9 -3
- package/sdk/application/{client → PosCart}/PosCartApplicationClient.js +14 -8
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +79 -0
- package/sdk/application/PosCart/PosCartApplicationModel.js +1132 -0
- package/sdk/application/{models/PosCartValidator.js → PosCart/PosCartApplicationValidator.js} +17 -13
- package/sdk/application/{client → Rewards}/RewardsApplicationClient.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +23 -0
- package/sdk/application/Rewards/RewardsApplicationModel.js +276 -0
- package/sdk/application/{models/RewardsValidator.js → Rewards/RewardsApplicationValidator.js} +5 -4
- package/sdk/application/{client → Share}/ShareApplicationClient.js +2 -2
- package/sdk/application/Share/ShareApplicationModel.d.ts +16 -0
- package/sdk/application/Share/ShareApplicationModel.js +178 -0
- package/sdk/application/{models/ShareValidator.js → Share/ShareApplicationValidator.js} +3 -2
- package/sdk/application/{client → Theme}/ThemeApplicationClient.js +2 -2
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +49 -0
- package/sdk/application/Theme/ThemeApplicationModel.js +486 -0
- package/sdk/application/{models/ThemeValidator.js → Theme/ThemeApplicationValidator.js} +2 -1
- package/sdk/application/{client → User}/UserApplicationClient.js +2 -2
- package/sdk/application/User/UserApplicationModel.d.ts +95 -0
- package/sdk/application/User/UserApplicationModel.js +998 -0
- package/sdk/application/{models/UserValidator.js → User/UserApplicationValidator.js} +30 -29
- package/sdk/application/index.d.ts +18 -0
- package/sdk/application/index.js +33 -0
- package/sdk/common/AxiosHelper.js +23 -10
- package/sdk/common/Logger.d.ts +2 -0
- package/sdk/common/Logger.js +6 -0
- package/sdk/common/curlHelper.d.ts +2 -0
- package/sdk/common/curlHelper.js +95 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +101 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +285 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +11 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +56 -0
- package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.js +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +23 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +252 -0
- package/sdk/platform/{models/AnalyticsValidator.js → Analytics/AnalyticsPlatformValidator.js} +5 -4
- package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +18 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +144 -0
- package/sdk/platform/{models/AuditTrailValidator.js → AuditTrail/AuditTrailPlatformValidator.js} +3 -2
- package/sdk/platform/{client → Billing}/BillingPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +65 -0
- package/sdk/platform/Billing/BillingPlatformModel.js +906 -0
- package/sdk/platform/{models/BillingValidator.js → Billing/BillingPlatformValidator.js} +6 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +293 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +755 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +20 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +138 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +104 -0
- package/sdk/platform/Cart/CartPlatformModel.js +1516 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +856 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2136 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +56 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +389 -0
- package/sdk/platform/{client → Catalog}/CatalogPlatformClient.js +338 -338
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +316 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4690 -0
- package/sdk/platform/{models/CatalogValidator.js → Catalog/CatalogPlatformValidator.js} +89 -88
- package/sdk/platform/{client → Common}/CommonPlatformClient.js +2 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +20 -0
- package/sdk/platform/Common/CommonPlatformModel.js +228 -0
- package/sdk/{application/models/CommonValidator.js → platform/Common/CommonPlatformValidator.js} +2 -1
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +611 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1656 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +43 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +277 -0
- package/sdk/platform/{client → Communication}/CommunicationPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +102 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1312 -0
- package/sdk/platform/{models/CommunicationValidator.js → Communication/CommunicationPlatformValidator.js} +2 -1
- package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.d.ts +0 -9
- package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.js +2 -33
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +44 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +706 -0
- package/sdk/platform/{models/CompanyProfileValidator.d.ts → CompanyProfile/CompanyProfilePlatformValidator.d.ts} +0 -1
- package/sdk/platform/{models/CompanyProfileValidator.js → CompanyProfile/CompanyProfilePlatformValidator.js} +9 -14
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +309 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +940 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +31 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +164 -0
- package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.js +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +185 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2072 -0
- package/sdk/platform/{models/ConfigurationValidator.js → Configuration/ConfigurationPlatformValidator.js} +9 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +781 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2208 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +71 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +422 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +105 -0
- package/sdk/platform/Content/ContentPlatformModel.js +1349 -0
- package/sdk/platform/{client → Discount}/DiscountPlatformClient.d.ts +11 -0
- package/sdk/platform/{client → Discount}/DiscountPlatformClient.js +35 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +15 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +176 -0
- package/sdk/platform/{models/DiscountValidator.d.ts → Discount/DiscountPlatformValidator.d.ts} +1 -0
- package/sdk/platform/{models/DiscountValidator.js → Discount/DiscountPlatformValidator.js} +13 -5
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +114 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +247 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +38 -0
- package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +21 -0
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +244 -0
- package/sdk/platform/{models/FileStorageValidator.js → FileStorage/FileStoragePlatformValidator.js} +6 -5
- package/sdk/platform/{client → Inventory}/InventoryPlatformClient.js +2 -2
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +62 -0
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1178 -0
- package/sdk/platform/{models/InventoryValidator.js → Inventory/InventoryPlatformValidator.js} +5 -4
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +138 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +397 -0
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +16 -0
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +90 -0
- package/sdk/platform/{client → Lead}/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +55 -0
- package/sdk/platform/Lead/LeadPlatformModel.js +690 -0
- package/sdk/platform/{models/LeadValidator.js → Lead/LeadPlatformValidator.js} +7 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +59 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +152 -0
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +6 -0
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +37 -0
- package/sdk/platform/{client → Order}/OrderPlatformClient.d.ts +9 -49
- package/sdk/platform/{client → Order}/OrderPlatformClient.js +18 -130
- package/sdk/platform/Order/OrderPlatformModel.d.ts +215 -0
- package/sdk/platform/Order/OrderPlatformModel.js +3530 -0
- package/sdk/platform/{models/OrderValidator.d.ts → Order/OrderPlatformValidator.d.ts} +0 -2
- package/sdk/platform/{models/OrderValidator.js → Order/OrderPlatformValidator.js} +22 -44
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +30 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +20 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +7 -0
- package/sdk/platform/Partner/PartnerPlatformModel.js +54 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +108 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +333 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +14 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +73 -0
- package/sdk/platform/{client → Payment}/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +44 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +552 -0
- package/sdk/platform/{models/PaymentValidator.js → Payment/PaymentPlatformValidator.js} +6 -5
- package/sdk/platform/PlatformAPIClient.js +2 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +2979 -18615
- package/sdk/platform/PlatformApplicationClient.js +3811 -13957
- package/sdk/platform/PlatformClient.d.ts +2982 -3013
- package/sdk/platform/PlatformClient.js +3806 -3231
- package/sdk/platform/PlatformConfig.js +2 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +150 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +428 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +16 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +24 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.js +294 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +72 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.js +182 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +35 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +15 -0
- package/sdk/platform/Share/SharePlatformModel.js +170 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +238 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +704 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +155 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +49 -0
- package/sdk/platform/Theme/ThemePlatformModel.js +486 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +121 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +361 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +79 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +95 -0
- package/sdk/platform/User/UserPlatformModel.js +998 -0
- package/sdk/platform/{client → Webhook}/WebhookPlatformClient.js +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +17 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +208 -0
- package/sdk/platform/{models/WebhookValidator.js → Webhook/WebhookPlatformValidator.js} +4 -3
- package/sdk/platform/index.d.ts +24 -0
- package/sdk/platform/index.js +45 -0
- package/sdk/public/{client → Configuration}/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +20 -0
- package/sdk/public/Configuration/ConfigurationPublicModel.js +230 -0
- package/sdk/public/{models/ConfigurationValidator.js → Configuration/ConfigurationPublicValidator.js} +1 -1
- package/sdk/public/{client → Inventory}/InventoryPublicClient.js +1 -1
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +22 -0
- package/sdk/public/Inventory/InventoryPublicModel.js +334 -0
- package/sdk/public/{models/InventoryValidator.js → Inventory/InventoryPublicValidator.js} +2 -2
- package/sdk/public/PublicClient.d.ts +3 -3
- package/sdk/public/PublicClient.js +8 -3
- package/sdk/public/{client → Webhook}/WebhookPublicClient.js +1 -1
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +17 -0
- package/sdk/public/Webhook/WebhookPublicModel.js +208 -0
- package/sdk/public/{models/WebhookValidator.js → Webhook/WebhookPublicValidator.js} +2 -2
- package/sdk/public/index.d.ts +5 -0
- package/sdk/public/index.js +7 -0
- package/sdk/platform/PlatformApplicationModels.d.ts +0 -328
- package/sdk/platform/PlatformApplicationModels.js +0 -22658
- package/sdk/platform/PlatformModels.d.ts +0 -1477
- package/sdk/platform/PlatformModels.js +0 -20646
- package/sdk/platform/models/CartValidator.d.ts +0 -0
- package/sdk/platform/models/CartValidator.js +0 -0
- package/sdk/platform/models/ContentValidator.d.ts +0 -0
- package/sdk/platform/models/ContentValidator.js +0 -0
- package/sdk/platform/models/PartnerValidator.d.ts +0 -0
- package/sdk/platform/models/PartnerValidator.js +0 -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/public/PublicModels.d.ts +0 -50
- package/sdk/public/PublicModels.js +0 -712
- package/sdk/application/{models/CartValidator.d.ts → Cart/CartApplicationValidator.d.ts} +0 -0
- package/sdk/application/{models/CatalogValidator.d.ts → Catalog/CatalogApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Common}/CommonApplicationClient.d.ts +0 -0
- package/sdk/application/{models/CommonValidator.d.ts → Common/CommonApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Communication}/CommunicationApplicationClient.d.ts +0 -0
- package/sdk/application/{models/CommunicationValidator.d.ts → Communication/CommunicationApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.d.ts +0 -0
- package/sdk/application/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Content}/ContentApplicationClient.d.ts +0 -0
- package/sdk/application/{models/ContentValidator.d.ts → Content/ContentApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.d.ts +0 -0
- package/sdk/application/{models/FileStorageValidator.d.ts → FileStorage/FileStorageApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Lead}/LeadApplicationClient.d.ts +0 -0
- package/sdk/application/{models/LeadValidator.d.ts → Lead/LeadApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Logistic}/LogisticApplicationClient.d.ts +0 -0
- package/sdk/application/{models/LogisticValidator.d.ts → Logistic/LogisticApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Order}/OrderApplicationClient.d.ts +0 -0
- package/sdk/application/{models/OrderValidator.d.ts → Order/OrderApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Payment}/PaymentApplicationClient.d.ts +0 -0
- package/sdk/application/{models/PaymentValidator.d.ts → Payment/PaymentApplicationValidator.d.ts} +0 -0
- package/sdk/application/{models/PosCartValidator.d.ts → PosCart/PosCartApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Rewards}/RewardsApplicationClient.d.ts +0 -0
- package/sdk/application/{models/RewardsValidator.d.ts → Rewards/RewardsApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Share}/ShareApplicationClient.d.ts +0 -0
- package/sdk/application/{models/ShareValidator.d.ts → Share/ShareApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → Theme}/ThemeApplicationClient.d.ts +0 -0
- package/sdk/application/{models/ThemeValidator.d.ts → Theme/ThemeApplicationValidator.d.ts} +0 -0
- package/sdk/application/{client → User}/UserApplicationClient.d.ts +0 -0
- package/sdk/application/{models/UserValidator.d.ts → User/UserApplicationValidator.d.ts} +0 -0
- package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.d.ts +0 -0
- package/sdk/platform/{models/AnalyticsValidator.d.ts → Analytics/AnalyticsPlatformValidator.d.ts} +0 -0
- package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.d.ts +0 -0
- package/sdk/platform/{models/AuditTrailValidator.d.ts → AuditTrail/AuditTrailPlatformValidator.d.ts} +0 -0
- package/sdk/platform/{client → Billing}/BillingPlatformClient.d.ts +0 -0
- package/sdk/platform/{models/BillingValidator.d.ts → Billing/BillingPlatformValidator.d.ts} +0 -0
- package/sdk/platform/{client → Catalog}/CatalogPlatformClient.d.ts +126 -126
- package/sdk/platform/{models/CatalogValidator.d.ts → Catalog/CatalogPlatformValidator.d.ts} +15 -15
- /package/sdk/platform/{client → Common}/CommonPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/CommonValidator.d.ts → Common/CommonPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Communication}/CommunicationPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/CommunicationValidator.d.ts → Communication/CommunicationPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/FileStorageValidator.d.ts → FileStorage/FileStoragePlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Inventory}/InventoryPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/InventoryValidator.d.ts → Inventory/InventoryPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Lead}/LeadPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/LeadValidator.d.ts → Lead/LeadPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Payment}/PaymentPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/PaymentValidator.d.ts → Payment/PaymentPlatformValidator.d.ts} +0 -0
- /package/sdk/platform/{client → Webhook}/WebhookPlatformClient.d.ts +0 -0
- /package/sdk/platform/{models/WebhookValidator.d.ts → Webhook/WebhookPlatformValidator.d.ts} +0 -0
- /package/sdk/public/{client → Configuration}/ConfigurationPublicClient.d.ts +0 -0
- /package/sdk/public/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPublicValidator.d.ts} +0 -0
- /package/sdk/public/{client → Inventory}/InventoryPublicClient.d.ts +0 -0
- /package/sdk/public/{models/InventoryValidator.d.ts → Inventory/InventoryPublicValidator.d.ts} +0 -0
- /package/sdk/public/{client → Webhook}/WebhookPublicClient.d.ts +0 -0
- /package/sdk/public/{models/WebhookValidator.d.ts → Webhook/WebhookPublicValidator.d.ts} +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/sdk/application/{models/LogisticValidator.d.ts → Logistic/LogisticApplicationValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/sdk/application/{models/PaymentValidator.d.ts → Payment/PaymentApplicationValidator.d.ts}
RENAMED
|
File without changes
|
package/sdk/application/{models/PosCartValidator.d.ts → PosCart/PosCartApplicationValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
package/sdk/application/{models/RewardsValidator.d.ts → Rewards/RewardsApplicationValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/sdk/platform/{models/AnalyticsValidator.d.ts → Analytics/AnalyticsPlatformValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
package/sdk/platform/{models/AuditTrailValidator.d.ts → AuditTrail/AuditTrailPlatformValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,15 +2,6 @@ export = Catalog;
|
|
|
2
2
|
declare class Catalog {
|
|
3
3
|
constructor(config: any);
|
|
4
4
|
config: any;
|
|
5
|
-
/**
|
|
6
|
-
* @param {Object} arg - Arg object.
|
|
7
|
-
* @param {ProductBundleRequest} arg.body
|
|
8
|
-
* @summary: Create Product Bundle
|
|
9
|
-
* @description: Create Product Bundle. See `ProductBundleRequest` for the request body parameter need to create a product bundle. On successful request, returns in `ProductBundleRequest` with id
|
|
10
|
-
*/
|
|
11
|
-
createProductBundle({ body }?: {
|
|
12
|
-
body: ProductBundleRequest;
|
|
13
|
-
}): Promise<any>;
|
|
14
5
|
/**
|
|
15
6
|
* @param {Object} arg - Arg object.
|
|
16
7
|
* @param {string} [arg.q] - A search string that is searched with product
|
|
@@ -23,6 +14,15 @@ declare class Catalog {
|
|
|
23
14
|
q?: string;
|
|
24
15
|
slug?: string[];
|
|
25
16
|
}): Promise<any>;
|
|
17
|
+
/**
|
|
18
|
+
* @param {Object} arg - Arg object.
|
|
19
|
+
* @param {ProductBundleRequest} arg.body
|
|
20
|
+
* @summary: Create Product Bundle
|
|
21
|
+
* @description: Create Product Bundle. See `ProductBundleRequest` for the request body parameter need to create a product bundle. On successful request, returns in `ProductBundleRequest` with id
|
|
22
|
+
*/
|
|
23
|
+
createProductBundle({ body }?: {
|
|
24
|
+
body: ProductBundleRequest;
|
|
25
|
+
}): Promise<any>;
|
|
26
26
|
/**
|
|
27
27
|
* @param {Object} arg - Arg object.
|
|
28
28
|
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
@@ -45,15 +45,6 @@ declare class Catalog {
|
|
|
45
45
|
getProductBundleDetail({ id }?: {
|
|
46
46
|
id: string;
|
|
47
47
|
}): Promise<any>;
|
|
48
|
-
/**
|
|
49
|
-
* @param {Object} arg - Arg object.
|
|
50
|
-
* @param {ValidateSizeGuide} arg.body
|
|
51
|
-
* @summary: Create a size guide.
|
|
52
|
-
* @description: This API allows to create a size guide associated to a brand.
|
|
53
|
-
*/
|
|
54
|
-
createSizeGuide({ body }?: {
|
|
55
|
-
body: ValidateSizeGuide;
|
|
56
|
-
}): Promise<any>;
|
|
57
48
|
/**
|
|
58
49
|
* @param {Object} arg - Arg object.
|
|
59
50
|
* @param {boolean} [arg.active] - Filter size guide on basis of active, in-active
|
|
@@ -73,6 +64,15 @@ declare class Catalog {
|
|
|
73
64
|
pageNo?: number;
|
|
74
65
|
pageSize?: number;
|
|
75
66
|
}): Promise<any>;
|
|
67
|
+
/**
|
|
68
|
+
* @param {Object} arg - Arg object.
|
|
69
|
+
* @param {ValidateSizeGuide} arg.body
|
|
70
|
+
* @summary: Create a size guide.
|
|
71
|
+
* @description: This API allows to create a size guide associated to a brand.
|
|
72
|
+
*/
|
|
73
|
+
createSizeGuide({ body }?: {
|
|
74
|
+
body: ValidateSizeGuide;
|
|
75
|
+
}): Promise<any>;
|
|
76
76
|
/**
|
|
77
77
|
* @param {Object} arg - Arg object.
|
|
78
78
|
* @param {string} arg.id - Mongo id of the size guide to be edited
|
|
@@ -189,15 +189,6 @@ declare class Catalog {
|
|
|
189
189
|
departments: string;
|
|
190
190
|
itemType: string;
|
|
191
191
|
}): Promise<any>;
|
|
192
|
-
/**
|
|
193
|
-
* @param {Object} arg - Arg object.
|
|
194
|
-
* @param {DepartmentCreateUpdate} arg.body
|
|
195
|
-
* @summary: Create the department.
|
|
196
|
-
* @description: Create departments using the API.
|
|
197
|
-
*/
|
|
198
|
-
createDepartments({ body }?: {
|
|
199
|
-
body: DepartmentCreateUpdate;
|
|
200
|
-
}): Promise<any>;
|
|
201
192
|
/**
|
|
202
193
|
* @param {Object} arg - Arg object.
|
|
203
194
|
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
@@ -219,6 +210,15 @@ declare class Catalog {
|
|
|
219
210
|
search?: string;
|
|
220
211
|
isActive?: boolean;
|
|
221
212
|
}): Promise<any>;
|
|
213
|
+
/**
|
|
214
|
+
* @param {Object} arg - Arg object.
|
|
215
|
+
* @param {DepartmentCreateUpdate} arg.body
|
|
216
|
+
* @summary: Create the department.
|
|
217
|
+
* @description: Create departments using the API.
|
|
218
|
+
*/
|
|
219
|
+
createDepartments({ body }?: {
|
|
220
|
+
body: DepartmentCreateUpdate;
|
|
221
|
+
}): Promise<any>;
|
|
222
222
|
/**
|
|
223
223
|
* @param {Object} arg - Arg object.
|
|
224
224
|
* @param {string} arg.uid - A `uid` is a unique identifier of a department.
|
|
@@ -310,15 +310,6 @@ declare class Catalog {
|
|
|
310
310
|
listTemplateBrandTypeValues({ filter }?: {
|
|
311
311
|
filter: string;
|
|
312
312
|
}): Promise<any>;
|
|
313
|
-
/**
|
|
314
|
-
* @param {Object} arg - Arg object.
|
|
315
|
-
* @param {CategoryRequestBody} arg.body
|
|
316
|
-
* @summary: Create product categories
|
|
317
|
-
* @description: This API lets user create product categories
|
|
318
|
-
*/
|
|
319
|
-
createCategories({ body }?: {
|
|
320
|
-
body: CategoryRequestBody;
|
|
321
|
-
}): Promise<any>;
|
|
322
313
|
/**
|
|
323
314
|
* @param {Object} arg - Arg object.
|
|
324
315
|
* @param {string} [arg.level] - Get category for multiple levels
|
|
@@ -338,6 +329,15 @@ declare class Catalog {
|
|
|
338
329
|
pageNo?: number;
|
|
339
330
|
pageSize?: number;
|
|
340
331
|
}): Promise<any>;
|
|
332
|
+
/**
|
|
333
|
+
* @param {Object} arg - Arg object.
|
|
334
|
+
* @param {CategoryRequestBody} arg.body
|
|
335
|
+
* @summary: Create product categories
|
|
336
|
+
* @description: This API lets user create product categories
|
|
337
|
+
*/
|
|
338
|
+
createCategories({ body }?: {
|
|
339
|
+
body: CategoryRequestBody;
|
|
340
|
+
}): Promise<any>;
|
|
341
341
|
/**
|
|
342
342
|
* @param {Object} arg - Arg object.
|
|
343
343
|
* @param {string} arg.uid - Category unique id
|
|
@@ -358,15 +358,6 @@ declare class Catalog {
|
|
|
358
358
|
getCategoryData({ uid }?: {
|
|
359
359
|
uid: string;
|
|
360
360
|
}): Promise<any>;
|
|
361
|
-
/**
|
|
362
|
-
* @param {Object} arg - Arg object.
|
|
363
|
-
* @param {ProductCreateUpdateSchemaV2} arg.body
|
|
364
|
-
* @summary: Create a product.
|
|
365
|
-
* @description: This API allows to create product.
|
|
366
|
-
*/
|
|
367
|
-
createProduct({ body }?: {
|
|
368
|
-
body: ProductCreateUpdateSchemaV2;
|
|
369
|
-
}): Promise<any>;
|
|
370
361
|
/**
|
|
371
362
|
* @param {Object} arg - Arg object.
|
|
372
363
|
* @param {number[]} [arg.brandIds] - Get multiple products filtered by Brand Ids
|
|
@@ -396,6 +387,15 @@ declare class Catalog {
|
|
|
396
387
|
pageNo?: number;
|
|
397
388
|
pageSize?: number;
|
|
398
389
|
}): Promise<any>;
|
|
390
|
+
/**
|
|
391
|
+
* @param {Object} arg - Arg object.
|
|
392
|
+
* @param {ProductCreateUpdateSchemaV2} arg.body
|
|
393
|
+
* @summary: Create a product.
|
|
394
|
+
* @description: This API allows to create product.
|
|
395
|
+
*/
|
|
396
|
+
createProduct({ body }?: {
|
|
397
|
+
body: ProductCreateUpdateSchemaV2;
|
|
398
|
+
}): Promise<any>;
|
|
399
399
|
/**
|
|
400
400
|
* @param {Object} arg - Arg object.
|
|
401
401
|
* @param {number} arg.itemId - Get list of variants of item Id
|
|
@@ -425,15 +425,6 @@ declare class Catalog {
|
|
|
425
425
|
category: string;
|
|
426
426
|
filter?: boolean;
|
|
427
427
|
}): Promise<any>;
|
|
428
|
-
/**
|
|
429
|
-
* @param {Object} arg - Arg object.
|
|
430
|
-
* @param {number} arg.itemId - Id of the product to be updated.
|
|
431
|
-
* @summary: Delete a product.
|
|
432
|
-
* @description: This API allows to delete product.
|
|
433
|
-
*/
|
|
434
|
-
deleteProduct({ itemId }?: {
|
|
435
|
-
itemId: number;
|
|
436
|
-
}): Promise<any>;
|
|
437
428
|
/**
|
|
438
429
|
* @param {Object} arg - Arg object.
|
|
439
430
|
* @param {number} arg.itemId - Id of the product to be updated.
|
|
@@ -458,6 +449,15 @@ declare class Catalog {
|
|
|
458
449
|
brandUid?: number;
|
|
459
450
|
itemCode?: string;
|
|
460
451
|
}): Promise<any>;
|
|
452
|
+
/**
|
|
453
|
+
* @param {Object} arg - Arg object.
|
|
454
|
+
* @param {number} arg.itemId - Id of the product to be updated.
|
|
455
|
+
* @summary: Delete a product.
|
|
456
|
+
* @description: This API allows to delete product.
|
|
457
|
+
*/
|
|
458
|
+
deleteProduct({ itemId }?: {
|
|
459
|
+
itemId: number;
|
|
460
|
+
}): Promise<any>;
|
|
461
461
|
/**
|
|
462
462
|
* @param {Object} arg - Arg object.
|
|
463
463
|
* @param {number} arg.itemId - Id of the product to be updated.
|
|
@@ -488,15 +488,6 @@ declare class Catalog {
|
|
|
488
488
|
brandUid?: number;
|
|
489
489
|
uid?: number;
|
|
490
490
|
}): Promise<any>;
|
|
491
|
-
/**
|
|
492
|
-
* @param {Object} arg - Arg object.
|
|
493
|
-
* @param {BulkJob} arg.body
|
|
494
|
-
* @summary: Create a Bulk product to upload job.
|
|
495
|
-
* @description: This API helps to create a bulk products upload job.
|
|
496
|
-
*/
|
|
497
|
-
createBulkProductUploadJob({ body }?: {
|
|
498
|
-
body: BulkJob;
|
|
499
|
-
}): Promise<any>;
|
|
500
491
|
/**
|
|
501
492
|
* @param {Object} arg - Arg object.
|
|
502
493
|
* @param {string} [arg.search] - Search string to filter the results by batch id
|
|
@@ -512,6 +503,15 @@ declare class Catalog {
|
|
|
512
503
|
pageNo?: number;
|
|
513
504
|
pageSize?: number;
|
|
514
505
|
}): Promise<any>;
|
|
506
|
+
/**
|
|
507
|
+
* @param {Object} arg - Arg object.
|
|
508
|
+
* @param {BulkJob} arg.body
|
|
509
|
+
* @summary: Create a Bulk product to upload job.
|
|
510
|
+
* @description: This API helps to create a bulk products upload job.
|
|
511
|
+
*/
|
|
512
|
+
createBulkProductUploadJob({ body }?: {
|
|
513
|
+
body: BulkJob;
|
|
514
|
+
}): Promise<any>;
|
|
515
515
|
/**
|
|
516
516
|
* @param {Object} arg - Arg object.
|
|
517
517
|
* @param {string} arg.department - Department of the product to be uploaded.
|
|
@@ -526,6 +526,15 @@ declare class Catalog {
|
|
|
526
526
|
productType: string;
|
|
527
527
|
body: BulkJob;
|
|
528
528
|
}): Promise<any>;
|
|
529
|
+
/**
|
|
530
|
+
* @param {Object} arg - Arg object.
|
|
531
|
+
* @param {number} arg.batchId - Batch Id of the bulk product job to be deleted.
|
|
532
|
+
* @summary: Delete Bulk product job.
|
|
533
|
+
* @description: This API allows to delete bulk product job associated with company.
|
|
534
|
+
*/
|
|
535
|
+
deleteProductBulkJob({ batchId }?: {
|
|
536
|
+
batchId: number;
|
|
537
|
+
}): Promise<any>;
|
|
529
538
|
/**
|
|
530
539
|
* @param {Object} arg - Arg object.
|
|
531
540
|
* @param {string} arg.batchId - Batch Id in which assets to be uploaded.
|
|
@@ -537,30 +546,12 @@ declare class Catalog {
|
|
|
537
546
|
batchId: string;
|
|
538
547
|
body: BulkProductRequest;
|
|
539
548
|
}): Promise<any>;
|
|
540
|
-
/**
|
|
541
|
-
* @param {Object} arg - Arg object.
|
|
542
|
-
* @param {number} arg.batchId - Batch Id of the bulk product job to be deleted.
|
|
543
|
-
* @summary: Delete Bulk product job.
|
|
544
|
-
* @description: This API allows to delete bulk product job associated with company.
|
|
545
|
-
*/
|
|
546
|
-
deleteProductBulkJob({ batchId }?: {
|
|
547
|
-
batchId: number;
|
|
548
|
-
}): Promise<any>;
|
|
549
549
|
/**
|
|
550
550
|
* @param {Object} arg - Arg object.
|
|
551
551
|
* @summary: Get a list of all tags associated with company.
|
|
552
552
|
* @description: This API helps to get tags data associated to a particular company.
|
|
553
553
|
*/
|
|
554
554
|
getProductTags({}?: any): Promise<any>;
|
|
555
|
-
/**
|
|
556
|
-
* @param {Object} arg - Arg object.
|
|
557
|
-
* @param {ProductBulkAssets} arg.body
|
|
558
|
-
* @summary: Create a Bulk asset upload Job.
|
|
559
|
-
* @description: This API helps to create a bulk asset upload job.
|
|
560
|
-
*/
|
|
561
|
-
createProductAssetsInBulk({ body }?: {
|
|
562
|
-
body: ProductBulkAssets;
|
|
563
|
-
}): Promise<any>;
|
|
564
555
|
/**
|
|
565
556
|
* @param {Object} arg - Arg object.
|
|
566
557
|
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
@@ -574,6 +565,15 @@ declare class Catalog {
|
|
|
574
565
|
pageNo?: number;
|
|
575
566
|
pageSize?: number;
|
|
576
567
|
}): Promise<any>;
|
|
568
|
+
/**
|
|
569
|
+
* @param {Object} arg - Arg object.
|
|
570
|
+
* @param {ProductBulkAssets} arg.body
|
|
571
|
+
* @summary: Create a Bulk asset upload Job.
|
|
572
|
+
* @description: This API helps to create a bulk asset upload job.
|
|
573
|
+
*/
|
|
574
|
+
createProductAssetsInBulk({ body }?: {
|
|
575
|
+
body: ProductBulkAssets;
|
|
576
|
+
}): Promise<any>;
|
|
577
577
|
/**
|
|
578
578
|
* @param {Object} arg - Arg object.
|
|
579
579
|
* @param {number} arg.itemId - Item Id of the product associated with size
|
|
@@ -586,19 +586,6 @@ declare class Catalog {
|
|
|
586
586
|
itemId: number;
|
|
587
587
|
size: string;
|
|
588
588
|
}): Promise<any>;
|
|
589
|
-
/**
|
|
590
|
-
* @param {Object} arg - Arg object.
|
|
591
|
-
* @param {number} arg.itemId - Item code of the product of which size is to be get.
|
|
592
|
-
* @param {string} arg.size - Size in which inventory is to be added.
|
|
593
|
-
* @param {InventoryRequest} arg.body
|
|
594
|
-
* @summary: Add Inventory for particular size and store.
|
|
595
|
-
* @description: This API allows add Inventory for particular size and store.
|
|
596
|
-
*/
|
|
597
|
-
addInventory({ itemId, size, body }?: {
|
|
598
|
-
itemId: number;
|
|
599
|
-
size: string;
|
|
600
|
-
body: InventoryRequest;
|
|
601
|
-
}): Promise<any>;
|
|
602
589
|
/**
|
|
603
590
|
* @param {Object} arg - Arg object.
|
|
604
591
|
* @param {string} arg.itemId - Item code of the product of which size is to be get.
|
|
@@ -620,6 +607,19 @@ declare class Catalog {
|
|
|
620
607
|
q?: string;
|
|
621
608
|
sellable?: boolean;
|
|
622
609
|
}): Promise<any>;
|
|
610
|
+
/**
|
|
611
|
+
* @param {Object} arg - Arg object.
|
|
612
|
+
* @param {number} arg.itemId - Item code of the product of which size is to be get.
|
|
613
|
+
* @param {string} arg.size - Size in which inventory is to be added.
|
|
614
|
+
* @param {InventoryRequest} arg.body
|
|
615
|
+
* @summary: Add Inventory for particular size and store.
|
|
616
|
+
* @description: This API allows add Inventory for particular size and store.
|
|
617
|
+
*/
|
|
618
|
+
addInventory({ itemId, size, body }?: {
|
|
619
|
+
itemId: number;
|
|
620
|
+
size: string;
|
|
621
|
+
body: InventoryRequest;
|
|
622
|
+
}): Promise<any>;
|
|
623
623
|
/**
|
|
624
624
|
* @param {Object} arg - Arg object.
|
|
625
625
|
* @param {string} arg.itemId - Item code of the product of which size is to be get.
|
|
@@ -683,15 +683,6 @@ declare class Catalog {
|
|
|
683
683
|
itemId: number;
|
|
684
684
|
locationId: number;
|
|
685
685
|
}): Promise<any>;
|
|
686
|
-
/**
|
|
687
|
-
* @param {Object} arg - Arg object.
|
|
688
|
-
* @param {BulkJob} arg.body
|
|
689
|
-
* @summary: Create a Bulk Inventory upload Job.
|
|
690
|
-
* @description: This API helps to create a bulk Inventory upload job.
|
|
691
|
-
*/
|
|
692
|
-
createBulkInventoryJob({ body }?: {
|
|
693
|
-
body: BulkJob;
|
|
694
|
-
}): Promise<any>;
|
|
695
686
|
/**
|
|
696
687
|
* @param {Object} arg - Arg object.
|
|
697
688
|
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
@@ -707,14 +698,12 @@ declare class Catalog {
|
|
|
707
698
|
}): Promise<any>;
|
|
708
699
|
/**
|
|
709
700
|
* @param {Object} arg - Arg object.
|
|
710
|
-
* @param {
|
|
711
|
-
* @
|
|
712
|
-
* @
|
|
713
|
-
* @description: This API helps to create products in bulk push to kafka for approval/creation.
|
|
701
|
+
* @param {BulkJob} arg.body
|
|
702
|
+
* @summary: Create a Bulk Inventory upload Job.
|
|
703
|
+
* @description: This API helps to create a bulk Inventory upload job.
|
|
714
704
|
*/
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
body: InventoryBulkRequest;
|
|
705
|
+
createBulkInventoryJob({ body }?: {
|
|
706
|
+
body: BulkJob;
|
|
718
707
|
}): Promise<any>;
|
|
719
708
|
/**
|
|
720
709
|
* @param {Object} arg - Arg object.
|
|
@@ -727,12 +716,14 @@ declare class Catalog {
|
|
|
727
716
|
}): Promise<any>;
|
|
728
717
|
/**
|
|
729
718
|
* @param {Object} arg - Arg object.
|
|
730
|
-
* @param {
|
|
731
|
-
* @
|
|
732
|
-
* @
|
|
719
|
+
* @param {string} arg.batchId - Batch Id of the bulk create job.
|
|
720
|
+
* @param {InventoryBulkRequest} arg.body
|
|
721
|
+
* @summary: Create products in bulk associated with given batch Id.
|
|
722
|
+
* @description: This API helps to create products in bulk push to kafka for approval/creation.
|
|
733
723
|
*/
|
|
734
|
-
|
|
735
|
-
|
|
724
|
+
createBulkInventory({ batchId, body }?: {
|
|
725
|
+
batchId: string;
|
|
726
|
+
body: InventoryBulkRequest;
|
|
736
727
|
}): Promise<any>;
|
|
737
728
|
/**
|
|
738
729
|
* @param {Object} arg - Arg object.
|
|
@@ -740,6 +731,15 @@ declare class Catalog {
|
|
|
740
731
|
* @description: This API helps to get Inventory export history.
|
|
741
732
|
*/
|
|
742
733
|
getInventoryExport({}?: any): Promise<any>;
|
|
734
|
+
/**
|
|
735
|
+
* @param {Object} arg - Arg object.
|
|
736
|
+
* @param {InventoryExportRequest} arg.body
|
|
737
|
+
* @summary: Create a Inventory export Job.
|
|
738
|
+
* @description: This API helps to create a Inventory export job.
|
|
739
|
+
*/
|
|
740
|
+
createInventoryExportJob({ body }?: {
|
|
741
|
+
body: InventoryExportRequest;
|
|
742
|
+
}): Promise<any>;
|
|
743
743
|
/**
|
|
744
744
|
* @param {Object} arg - Arg object.
|
|
745
745
|
* @param {string} [arg.filterType] - Filter type from any one of ['brand',
|
|
@@ -759,7 +759,7 @@ declare class Catalog {
|
|
|
759
759
|
* @summary: Add Inventory for particular size and store.
|
|
760
760
|
* @description: This API allows add Inventory for particular size and store.
|
|
761
761
|
*/
|
|
762
|
-
|
|
762
|
+
deleteRealtimeInventory({ itemId, sellerIdentifier, body }?: {
|
|
763
763
|
itemId: number;
|
|
764
764
|
sellerIdentifier: string;
|
|
765
765
|
body: InventoryRequestSchemaV2;
|
|
@@ -773,7 +773,7 @@ declare class Catalog {
|
|
|
773
773
|
* @summary: Add Inventory for particular size and store.
|
|
774
774
|
* @description: This API allows add Inventory for particular size and store.
|
|
775
775
|
*/
|
|
776
|
-
|
|
776
|
+
updateRealtimeInventory({ itemId, sellerIdentifier, body }?: {
|
|
777
777
|
itemId: number;
|
|
778
778
|
sellerIdentifier: string;
|
|
779
779
|
body: InventoryRequestSchemaV2;
|
|
@@ -787,15 +787,6 @@ declare class Catalog {
|
|
|
787
787
|
updateInventories({ body }?: {
|
|
788
788
|
body: InventoryRequestSchemaV2;
|
|
789
789
|
}): Promise<any>;
|
|
790
|
-
/**
|
|
791
|
-
* @param {Object} arg - Arg object.
|
|
792
|
-
* @param {HsnUpsert} arg.body
|
|
793
|
-
* @summary: Create Hsn Code.
|
|
794
|
-
* @description: Create Hsn Code.
|
|
795
|
-
*/
|
|
796
|
-
createHsnCode({ body }?: {
|
|
797
|
-
body: HsnUpsert;
|
|
798
|
-
}): Promise<any>;
|
|
799
790
|
/**
|
|
800
791
|
* @param {Object} arg - Arg object.
|
|
801
792
|
* @param {number} [arg.pageNo] - Page no
|
|
@@ -809,6 +800,15 @@ declare class Catalog {
|
|
|
809
800
|
pageSize?: number;
|
|
810
801
|
q?: string;
|
|
811
802
|
}): Promise<any>;
|
|
803
|
+
/**
|
|
804
|
+
* @param {Object} arg - Arg object.
|
|
805
|
+
* @param {HsnUpsert} arg.body
|
|
806
|
+
* @summary: Create Hsn Code.
|
|
807
|
+
* @description: Create Hsn Code.
|
|
808
|
+
*/
|
|
809
|
+
createHsnCode({ body }?: {
|
|
810
|
+
body: HsnUpsert;
|
|
811
|
+
}): Promise<any>;
|
|
812
812
|
/**
|
|
813
813
|
* @param {Object} arg - Arg object.
|
|
814
814
|
* @param {string} arg.id - Unique id
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export = CatalogValidator;
|
|
2
2
|
declare class CatalogValidator {
|
|
3
|
-
static createProductBundle(): any;
|
|
4
3
|
static getProductBundle(): any;
|
|
4
|
+
static createProductBundle(): any;
|
|
5
5
|
static updateProductBundle(): any;
|
|
6
6
|
static getProductBundleDetail(): any;
|
|
7
|
-
static createSizeGuide(): any;
|
|
8
7
|
static getSizeGuides(): any;
|
|
8
|
+
static createSizeGuide(): any;
|
|
9
9
|
static updateSizeGuide(): any;
|
|
10
10
|
static getSizeGuide(): any;
|
|
11
11
|
static getSellerInsights(): any;
|
|
@@ -17,8 +17,8 @@ declare class CatalogValidator {
|
|
|
17
17
|
static getStoreDetail(): any;
|
|
18
18
|
static getGenderAttribute(): any;
|
|
19
19
|
static listProductTemplateCategories(): any;
|
|
20
|
-
static createDepartments(): any;
|
|
21
20
|
static listDepartmentsData(): any;
|
|
21
|
+
static createDepartments(): any;
|
|
22
22
|
static updateDepartment(): any;
|
|
23
23
|
static getDepartmentData(): any;
|
|
24
24
|
static listProductTemplate(): any;
|
|
@@ -29,46 +29,46 @@ declare class CatalogValidator {
|
|
|
29
29
|
static listHSNCodes(): any;
|
|
30
30
|
static listProductTemplateExportDetails(): any;
|
|
31
31
|
static listTemplateBrandTypeValues(): any;
|
|
32
|
-
static createCategories(): any;
|
|
33
32
|
static listCategories(): any;
|
|
33
|
+
static createCategories(): any;
|
|
34
34
|
static updateCategory(): any;
|
|
35
35
|
static getCategoryData(): any;
|
|
36
|
-
static createProduct(): any;
|
|
37
36
|
static getProducts(): any;
|
|
37
|
+
static createProduct(): any;
|
|
38
38
|
static getVariantsOfProducts(): any;
|
|
39
39
|
static getProductAttributes(): any;
|
|
40
|
-
static deleteProduct(): any;
|
|
41
40
|
static editProduct(): any;
|
|
42
41
|
static getProduct(): any;
|
|
42
|
+
static deleteProduct(): any;
|
|
43
43
|
static allSizes(): any;
|
|
44
44
|
static getProductValidation(): any;
|
|
45
45
|
static getProductSize(): any;
|
|
46
|
-
static createBulkProductUploadJob(): any;
|
|
47
46
|
static getProductBulkUploadHistory(): any;
|
|
47
|
+
static createBulkProductUploadJob(): any;
|
|
48
48
|
static uploadBulkProducts(): any;
|
|
49
|
-
static createProductsInBulk(): any;
|
|
50
49
|
static deleteProductBulkJob(): any;
|
|
50
|
+
static createProductsInBulk(): any;
|
|
51
51
|
static getProductTags(): any;
|
|
52
|
-
static createProductAssetsInBulk(): any;
|
|
53
52
|
static getProductAssetsInBulk(): any;
|
|
53
|
+
static createProductAssetsInBulk(): any;
|
|
54
54
|
static deleteSize(): any;
|
|
55
|
-
static addInventory(): any;
|
|
56
55
|
static getInventoryBySize(): any;
|
|
56
|
+
static addInventory(): any;
|
|
57
57
|
static getInventoryBySizeIdentifier(): any;
|
|
58
58
|
static getInventories(): any;
|
|
59
59
|
static deleteInventory(): any;
|
|
60
|
-
static createBulkInventoryJob(): any;
|
|
61
60
|
static getInventoryBulkUploadHistory(): any;
|
|
62
|
-
static
|
|
61
|
+
static createBulkInventoryJob(): any;
|
|
63
62
|
static deleteBulkInventoryJob(): any;
|
|
64
|
-
static
|
|
63
|
+
static createBulkInventory(): any;
|
|
65
64
|
static getInventoryExport(): any;
|
|
65
|
+
static createInventoryExportJob(): any;
|
|
66
66
|
static exportInventoryConfig(): any;
|
|
67
|
-
static updateRealtimeInventory(): any;
|
|
68
67
|
static deleteRealtimeInventory(): any;
|
|
68
|
+
static updateRealtimeInventory(): any;
|
|
69
69
|
static updateInventories(): any;
|
|
70
|
-
static createHsnCode(): any;
|
|
71
70
|
static getAllHsnCodes(): any;
|
|
71
|
+
static createHsnCode(): any;
|
|
72
72
|
static updateHsnCode(): any;
|
|
73
73
|
static getHsnCode(): any;
|
|
74
74
|
static bulkHsnCode(): any;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/sdk/platform/{models/InventoryValidator.d.ts → Inventory/InventoryPlatformValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/sdk/platform/{models/PaymentValidator.d.ts → Payment/PaymentPlatformValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
/package/sdk/platform/{models/WebhookValidator.d.ts → Webhook/WebhookPlatformValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/sdk/public/{models/InventoryValidator.d.ts → Inventory/InventoryPublicValidator.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|