@gofynd/fdk-client-javascript 0.1.36 → 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 +313 -281
- package/documentation/application/CATALOG.md +458 -435
- package/documentation/application/FILESTORAGE.md +2 -0
- package/documentation/application/LEAD.md +18 -18
- package/documentation/application/LOGISTIC.md +424 -102
- package/documentation/application/ORDER.md +293 -293
- package/documentation/application/PAYMENT.md +278 -278
- package/documentation/application/POSCART.md +350 -318
- package/documentation/application/README.md +1 -1
- package/documentation/application/REWARDS.md +1 -0
- package/documentation/application/USER.md +19 -14
- package/documentation/platform/AUDITTRAIL.md +2 -2
- package/documentation/platform/CART.md +442 -439
- package/documentation/platform/CATALOG.md +2925 -2641
- package/documentation/platform/COMPANYPROFILE.md +228 -369
- 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 +1296 -1618
- 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 +6 -1
- package/sdk/application/ApplicationClient.d.ts +17 -16
- package/sdk/application/ApplicationClient.js +43 -17
- package/sdk/application/ApplicationConfig.d.ts +1 -0
- package/sdk/application/ApplicationConfig.js +4 -2
- package/sdk/application/ApplicationModels.d.ts +0 -827
- package/sdk/application/ApplicationModels.js +6 -10486
- 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/Logistic/LogisticApplicationClient.d.ts +53 -0
- package/sdk/application/{client → Logistic}/LogisticApplicationClient.js +64 -29
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +26 -0
- package/sdk/application/Logistic/LogisticApplicationModel.js +286 -0
- package/sdk/application/{models/LogisticValidator.d.ts → Logistic/LogisticApplicationValidator.d.ts} +2 -1
- package/sdk/application/{models/LogisticValidator.js → Logistic/LogisticApplicationValidator.js} +13 -7
- 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.d.ts +132 -123
- package/sdk/platform/{client → Catalog}/CatalogPlatformClient.js +354 -323
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +316 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4690 -0
- package/sdk/platform/{models/CatalogValidator.d.ts → Catalog/CatalogPlatformValidator.d.ts} +15 -14
- package/sdk/platform/{models/CatalogValidator.js → Catalog/CatalogPlatformValidator.js} +91 -84
- 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 +2884 -18377
- package/sdk/platform/PlatformApplicationClient.js +3750 -13814
- package/sdk/platform/PlatformClient.d.ts +2898 -2861
- package/sdk/platform/PlatformClient.js +3714 -3057
- 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/application/client/LogisticApplicationClient.d.ts +0 -42
- package/sdk/platform/PlatformApplicationModels.d.ts +0 -328
- package/sdk/platform/PlatformApplicationModels.js +0 -22522
- package/sdk/platform/PlatformModels.d.ts +0 -1470
- package/sdk/platform/PlatformModels.js +0 -20510
- 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 → 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 → 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
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
export = Catalog;
|
|
2
|
+
declare class Catalog {
|
|
3
|
+
constructor(config: any, applicationId: any);
|
|
4
|
+
config: any;
|
|
5
|
+
applicationId: any;
|
|
6
|
+
/**
|
|
7
|
+
* @param {Object} arg - Arg object.
|
|
8
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
9
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
10
|
+
* @param {CreateSearchKeyword} arg.body
|
|
11
|
+
* @summary: Update Search Keyword
|
|
12
|
+
* @description: Update Search Keyword by its id. On successful request, returns the updated collection
|
|
13
|
+
*/
|
|
14
|
+
updateSearchKeywords({ id, body }?: {
|
|
15
|
+
id: string;
|
|
16
|
+
body: CreateSearchKeyword;
|
|
17
|
+
}): Promise<any>;
|
|
18
|
+
/**
|
|
19
|
+
* @param {Object} arg - Arg object.
|
|
20
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
21
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
22
|
+
* @summary: Get a Search Keywords Details
|
|
23
|
+
* @description: Get the details of a words by its `id`. If successful, returns a Collection resource in the response body specified in `GetSearchWordsDetailResponseSchema`
|
|
24
|
+
*/
|
|
25
|
+
getSearchKeywords({ id }?: {
|
|
26
|
+
id: string;
|
|
27
|
+
}): Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* @param {Object} arg - Arg object.
|
|
30
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
31
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
32
|
+
* @summary: Delete a Search Keywords
|
|
33
|
+
* @description: Delete a keywords by it's id. Returns an object that tells whether the keywords was deleted successfully
|
|
34
|
+
*/
|
|
35
|
+
deleteSearchKeywords({ id }?: {
|
|
36
|
+
id: string;
|
|
37
|
+
}): Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
* @param {Object} arg - Arg object.
|
|
40
|
+
* @summary: List all Search Custom Keyword Listing
|
|
41
|
+
* @description: Custom Search Keyword allows you to map conditions with keywords to give you the ultimate results
|
|
42
|
+
*/
|
|
43
|
+
getAllSearchKeyword({}?: any): Promise<any>;
|
|
44
|
+
/**
|
|
45
|
+
* @param {Object} arg - Arg object.
|
|
46
|
+
* @param {CreateSearchKeyword} arg.body
|
|
47
|
+
* @summary: Add a Custom Search Keywords
|
|
48
|
+
* @description: Create a Custom Search Keywords. See `CreateSearchKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateSearchKeywordSchema`
|
|
49
|
+
*/
|
|
50
|
+
createCustomKeyword({ body }?: {
|
|
51
|
+
body: CreateSearchKeyword;
|
|
52
|
+
}): Promise<any>;
|
|
53
|
+
/**
|
|
54
|
+
* @param {Object} arg - Arg object.
|
|
55
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
56
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
57
|
+
* @param {CreateAutocompleteKeyword} arg.body
|
|
58
|
+
* @summary: Create & Update Autocomplete Keyword
|
|
59
|
+
* @description: Update a mapping by it's id. On successful request, returns the updated Keyword mapping
|
|
60
|
+
*/
|
|
61
|
+
updateAutocompleteKeyword({ id, body }?: {
|
|
62
|
+
id: string;
|
|
63
|
+
body: CreateAutocompleteKeyword;
|
|
64
|
+
}): Promise<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @param {Object} arg - Arg object.
|
|
67
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
68
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
69
|
+
* @summary: Get a Autocomplete Keywords Details
|
|
70
|
+
* @description: Get the details of a words by its `id`. If successful, returns a keywords resource in the response body specified in `GetAutocompleteWordsResponseSchema`
|
|
71
|
+
*/
|
|
72
|
+
getAutocompleteKeywordDetail({ id }?: {
|
|
73
|
+
id: string;
|
|
74
|
+
}): Promise<any>;
|
|
75
|
+
/**
|
|
76
|
+
* @param {Object} arg - Arg object.
|
|
77
|
+
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
78
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
79
|
+
* @summary: Delete a Autocomplete Keywords
|
|
80
|
+
* @description: Delete a keywords by it's id. Returns an object that tells whether the keywords was deleted successfully
|
|
81
|
+
*/
|
|
82
|
+
deleteAutocompleteKeyword({ id }?: {
|
|
83
|
+
id: string;
|
|
84
|
+
}): Promise<any>;
|
|
85
|
+
/**
|
|
86
|
+
* @param {Object} arg - Arg object.
|
|
87
|
+
* @summary: List all Autocomplete Keyword Listing
|
|
88
|
+
* @description: Custom Autocomplete Keyword allows you to map conditions with keywords to give you the ultimate results
|
|
89
|
+
*/
|
|
90
|
+
getAutocompleteConfig({}?: any): Promise<any>;
|
|
91
|
+
/**
|
|
92
|
+
* @param {Object} arg - Arg object.
|
|
93
|
+
* @param {CreateAutocompleteKeyword} arg.body
|
|
94
|
+
* @summary: Add a Custom Autocomplete Keywords
|
|
95
|
+
* @description: Create a Custom Autocomplete Keywords. See `CreateAutocompleteKeywordSchema` for the list of attributes needed to create a mapping and /collections/query-options for the available options to create a rule. On successful request, returns a paginated list of collections specified in `CreateAutocompleteKeywordSchema`
|
|
96
|
+
*/
|
|
97
|
+
createCustomAutocompleteRule({ body }?: {
|
|
98
|
+
body: CreateAutocompleteKeyword;
|
|
99
|
+
}): Promise<any>;
|
|
100
|
+
/**
|
|
101
|
+
* @param {Object} arg - Arg object.
|
|
102
|
+
* @param {string} arg.itemId - Product id for which the custom_meta is associated.
|
|
103
|
+
* @param {ApplicationItemMeta} arg.body
|
|
104
|
+
* @summary: Update a single custom meta.
|
|
105
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
106
|
+
*/
|
|
107
|
+
updateAppProduct({ itemId, body }?: {
|
|
108
|
+
itemId: string;
|
|
109
|
+
body: ApplicationItemMeta;
|
|
110
|
+
}): Promise<any>;
|
|
111
|
+
/**
|
|
112
|
+
* @param {Object} arg - Arg object.
|
|
113
|
+
* @param {string} arg.itemId - Product id for a particular product.
|
|
114
|
+
* @summary: Get company application product data.
|
|
115
|
+
* @description: Products are the core resource of an application. If successful, returns a Company Application Product resource in the response body depending upon filter sent.
|
|
116
|
+
*/
|
|
117
|
+
getAppProduct({ itemId }?: {
|
|
118
|
+
itemId: string;
|
|
119
|
+
}): Promise<any>;
|
|
120
|
+
/**
|
|
121
|
+
* @param {Object} arg - Arg object.
|
|
122
|
+
* @param {string} arg.configType - A `config_type` is an identifier that
|
|
123
|
+
* defines a specific type of configuration.
|
|
124
|
+
* @param {string} [arg.templateSlug] - Get configuration list filtered by
|
|
125
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
126
|
+
* @summary: Get configuration metadata details for catalog for admin panel
|
|
127
|
+
* @description: Get the configuraion metadata details for catalog.
|
|
128
|
+
*/
|
|
129
|
+
getConfigurationMetadata({ configType, templateSlug }?: {
|
|
130
|
+
configType: string;
|
|
131
|
+
templateSlug?: string;
|
|
132
|
+
}): Promise<any>;
|
|
133
|
+
/**
|
|
134
|
+
* @param {Object} arg - Arg object.
|
|
135
|
+
* @param {string} arg.configType - A `config_type` is an identifier that
|
|
136
|
+
* defines a specific type of configuration.
|
|
137
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
138
|
+
* given set of results.
|
|
139
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
140
|
+
* page. Default is 12.
|
|
141
|
+
* @param {string} [arg.search] - Get configuration list filtered by `search` string.
|
|
142
|
+
* @param {string} [arg.templateSlug] - Get configuration list filtered by
|
|
143
|
+
* `template_slug` string. This is for the details and comparision groups.
|
|
144
|
+
* @summary: Get the details of the application configured configurations of group config types.
|
|
145
|
+
* @description: Get the details of the application configured configurations of group config types.
|
|
146
|
+
*/
|
|
147
|
+
getGroupConfigurations({ configType, pageNo, pageSize, search, templateSlug, }?: {
|
|
148
|
+
configType: string;
|
|
149
|
+
pageNo?: number;
|
|
150
|
+
pageSize?: number;
|
|
151
|
+
search?: string;
|
|
152
|
+
templateSlug?: string;
|
|
153
|
+
}): Promise<any>;
|
|
154
|
+
/**
|
|
155
|
+
* @param {Object} arg - Arg object.
|
|
156
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
157
|
+
* for a particular group configuration type.
|
|
158
|
+
* @param {AppConfigurationDetail} arg.body
|
|
159
|
+
* @summary: Create configuration for Group config types.
|
|
160
|
+
* @description: Create configuration for Group config types.
|
|
161
|
+
*/
|
|
162
|
+
createGroupConfiguration({ configType, body }?: {
|
|
163
|
+
configType: string;
|
|
164
|
+
body: AppConfigurationDetail;
|
|
165
|
+
}): Promise<any>;
|
|
166
|
+
/**
|
|
167
|
+
* @param {Object} arg - Arg object.
|
|
168
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
169
|
+
* for a particular group configuration type.
|
|
170
|
+
* @param {string} arg.groupSlug - A `group_slug` is a unique identifier of
|
|
171
|
+
* a particular configuration.
|
|
172
|
+
* @param {AppConfigurationDetail} arg.body
|
|
173
|
+
* @summary: Update the group configurations for the application.
|
|
174
|
+
* @description: Update the group configurations for the application.
|
|
175
|
+
*/
|
|
176
|
+
updateGroupConfiguration({ configType, groupSlug, body }?: {
|
|
177
|
+
configType: string;
|
|
178
|
+
groupSlug: string;
|
|
179
|
+
body: AppConfigurationDetail;
|
|
180
|
+
}): Promise<any>;
|
|
181
|
+
/**
|
|
182
|
+
* @param {Object} arg - Arg object.
|
|
183
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
184
|
+
* for a particular group configuration type.
|
|
185
|
+
* @param {string} arg.groupSlug - A `group_slug` is a unique identifier of
|
|
186
|
+
* a particular configuration.
|
|
187
|
+
* @summary: Delete configuration of the product config type of the application.
|
|
188
|
+
* @description: Delete configuration of the product config type of the application.
|
|
189
|
+
*/
|
|
190
|
+
deleteGroupConfiguration({ configType, groupSlug }?: {
|
|
191
|
+
configType: string;
|
|
192
|
+
groupSlug: string;
|
|
193
|
+
}): Promise<any>;
|
|
194
|
+
/**
|
|
195
|
+
* @param {Object} arg - Arg object.
|
|
196
|
+
* @param {string} arg.configType - A `config_type` is an identifier that
|
|
197
|
+
* defines a specific type of configuration.
|
|
198
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
199
|
+
* given set of results.
|
|
200
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
201
|
+
* page. Default is 12.
|
|
202
|
+
* @param {string} [arg.search] - Get configuration list filtered by `search` string.
|
|
203
|
+
* @summary: Get the details of the application configured configurations of listing config types.
|
|
204
|
+
* @description: Get the details of the application configured configurations of listing config types.
|
|
205
|
+
*/
|
|
206
|
+
getListingConfigurations({ configType, pageNo, pageSize, search }?: {
|
|
207
|
+
configType: string;
|
|
208
|
+
pageNo?: number;
|
|
209
|
+
pageSize?: number;
|
|
210
|
+
search?: string;
|
|
211
|
+
}): Promise<any>;
|
|
212
|
+
/**
|
|
213
|
+
* @param {Object} arg - Arg object.
|
|
214
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
215
|
+
* for a particular listing configuration type.
|
|
216
|
+
* @param {AppConfigurationsSort} arg.body
|
|
217
|
+
* @summary: Add configuration for listings
|
|
218
|
+
* @description: Add configuration for listing.
|
|
219
|
+
*/
|
|
220
|
+
createListingConfiguration({ configType, body }?: {
|
|
221
|
+
configType: string;
|
|
222
|
+
body: AppConfigurationsSort;
|
|
223
|
+
}): Promise<any>;
|
|
224
|
+
/**
|
|
225
|
+
* @param {Object} arg - Arg object.
|
|
226
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
227
|
+
* for a particular listing configuration type.
|
|
228
|
+
* @param {string} arg.configId - A `config_id` is a unique identifier of a
|
|
229
|
+
* particular configuration.
|
|
230
|
+
* @param {AppConfigurationsSort} arg.body
|
|
231
|
+
* @summary: Update configuration for listings
|
|
232
|
+
* @description: Update configuration for listing.
|
|
233
|
+
*/
|
|
234
|
+
updateListingConfiguration({ configType, configId, body }?: {
|
|
235
|
+
configType: string;
|
|
236
|
+
configId: string;
|
|
237
|
+
body: AppConfigurationsSort;
|
|
238
|
+
}): Promise<any>;
|
|
239
|
+
/**
|
|
240
|
+
* @param {Object} arg - Arg object.
|
|
241
|
+
* @param {string} arg.configType - A `config_type` is a unique identifier
|
|
242
|
+
* for a particular listing configuration type.
|
|
243
|
+
* @param {string} arg.configId - A `config_id` is a unique identifier of a
|
|
244
|
+
* particular configuration.
|
|
245
|
+
* @summary: Delete configuration for listings
|
|
246
|
+
* @description: Delete configuration for listing.
|
|
247
|
+
*/
|
|
248
|
+
deleteListingConfiguration({ configType, configId }?: {
|
|
249
|
+
configType: string;
|
|
250
|
+
configId: string;
|
|
251
|
+
}): Promise<any>;
|
|
252
|
+
/**
|
|
253
|
+
* @param {Object} arg - Arg object.
|
|
254
|
+
* @param {AllowSingleRequest} arg.body
|
|
255
|
+
* @summary: Update allow single flag for filters of the application.
|
|
256
|
+
* @description: Update allow single flag for filters of the application.
|
|
257
|
+
*/
|
|
258
|
+
updateAllowSingle({ body }?: {
|
|
259
|
+
body: AllowSingleRequest;
|
|
260
|
+
}): Promise<any>;
|
|
261
|
+
/**
|
|
262
|
+
* @param {Object} arg - Arg object.
|
|
263
|
+
* @param {DefaultKeyRequest} arg.body
|
|
264
|
+
* @summary: Update the default sort key configuration for the application.
|
|
265
|
+
* @description: Update the default sort key configuration for the application.
|
|
266
|
+
*/
|
|
267
|
+
updateDefaultSort({ body }?: {
|
|
268
|
+
body: DefaultKeyRequest;
|
|
269
|
+
}): Promise<any>;
|
|
270
|
+
/**
|
|
271
|
+
* @param {Object} arg - Arg object.
|
|
272
|
+
* @summary: Get configuration meta details for catalog for admin panel
|
|
273
|
+
* @description: configuration meta details for catalog.
|
|
274
|
+
*/
|
|
275
|
+
getCatalogConfiguration({}?: any): Promise<any>;
|
|
276
|
+
/**
|
|
277
|
+
* @param {Object} arg - Arg object.
|
|
278
|
+
* @summary: Get configured details for catalog
|
|
279
|
+
* @description: configured details for catalog.
|
|
280
|
+
*/
|
|
281
|
+
getConfigurations({}?: any): Promise<any>;
|
|
282
|
+
/**
|
|
283
|
+
* @param {Object} arg - Arg object.
|
|
284
|
+
* @param {AppConfiguration} arg.body
|
|
285
|
+
* @summary: Add configuration for products & listings
|
|
286
|
+
* @description: Add configuration for products & listing.
|
|
287
|
+
*/
|
|
288
|
+
createConfigurationProductListing({ body }?: {
|
|
289
|
+
body: AppConfiguration;
|
|
290
|
+
}): Promise<any>;
|
|
291
|
+
/**
|
|
292
|
+
* @param {Object} arg - Arg object.
|
|
293
|
+
* @param {string} arg.type - Type can be brands, categories etc.
|
|
294
|
+
* @summary: Get configured details for catalog
|
|
295
|
+
* @description: configured details for catalog.
|
|
296
|
+
*/
|
|
297
|
+
getConfigurationByType({ type }?: {
|
|
298
|
+
type: string;
|
|
299
|
+
}): Promise<any>;
|
|
300
|
+
/**
|
|
301
|
+
* @param {Object} arg - Arg object.
|
|
302
|
+
* @param {string} arg.type - Type can be brands, categories etc.
|
|
303
|
+
* @param {AppConfiguration} arg.body
|
|
304
|
+
* @summary: Add configuration for categories and brands
|
|
305
|
+
* @description: Add configuration for categories & brands.
|
|
306
|
+
*/
|
|
307
|
+
createConfigurationByType({ type, body }?: {
|
|
308
|
+
type: string;
|
|
309
|
+
body: AppConfiguration;
|
|
310
|
+
}): Promise<any>;
|
|
311
|
+
/**
|
|
312
|
+
* @param {Object} arg - Arg object.
|
|
313
|
+
* @summary: Get query filters to configure a collection
|
|
314
|
+
* @description: Get query filters to configure a collection
|
|
315
|
+
*/
|
|
316
|
+
getQueryFilters({}?: any): Promise<any>;
|
|
317
|
+
/**
|
|
318
|
+
* @param {Object} arg - Arg object.
|
|
319
|
+
* @param {string} [arg.q] - Get collection list filtered by q string,
|
|
320
|
+
* @param {string} [arg.scheduleStatus] - Get collection list filtered by
|
|
321
|
+
* scheduled status,
|
|
322
|
+
* @param {string} [arg.type] - Type of the collections
|
|
323
|
+
* @param {string[]} [arg.tags] - Each response will contain next_id param,
|
|
324
|
+
* which should be sent back to make pagination work.
|
|
325
|
+
* @param {boolean} [arg.isActive] - Get collections filtered by active status.
|
|
326
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
327
|
+
* given set of results.
|
|
328
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
329
|
+
* page. Default is 12.
|
|
330
|
+
* @summary: List all the collections
|
|
331
|
+
* @description: A Collection allows you to organize your products into hierarchical groups. For example, a dress might be in the category _Clothing_, the individual product might also be in the collection _Summer_. On successful request, returns all the collections as specified in `CollectionListingSchema`
|
|
332
|
+
*/
|
|
333
|
+
getAllCollections({ q, scheduleStatus, type, tags, isActive, pageNo, pageSize, }?: {
|
|
334
|
+
q?: string;
|
|
335
|
+
scheduleStatus?: string;
|
|
336
|
+
type?: string;
|
|
337
|
+
tags?: string[];
|
|
338
|
+
isActive?: boolean;
|
|
339
|
+
pageNo?: number;
|
|
340
|
+
pageSize?: number;
|
|
341
|
+
}): Promise<any>;
|
|
342
|
+
/**
|
|
343
|
+
* @param {Object} arg - Arg object.
|
|
344
|
+
* @param {CreateCollection} arg.body
|
|
345
|
+
* @summary: Add a Collection
|
|
346
|
+
* @description: Create a collection. See `CreateCollectionRequestSchema` for the list of attributes needed to create a collection and collections/query-options for the available options to create a collection. On successful request, returns a paginated list of collections specified in `CollectionCreateResponse`
|
|
347
|
+
*/
|
|
348
|
+
createCollection({ body }?: {
|
|
349
|
+
body: CreateCollection;
|
|
350
|
+
}): Promise<any>;
|
|
351
|
+
/**
|
|
352
|
+
* @param {Object} arg - Arg object.
|
|
353
|
+
* @param {string} arg.slug - A `slug` is a human readable, URL friendly
|
|
354
|
+
* unique identifier of an object. Pass the `slug` of the collection which
|
|
355
|
+
* you want to retrieve.
|
|
356
|
+
* @summary: Get a particular collection
|
|
357
|
+
* @description: Get the details of a collection by its `slug`. If successful, returns a Collection resource in the response body specified in `CollectionDetailResponse`
|
|
358
|
+
*/
|
|
359
|
+
getCollectionDetail({ slug }?: {
|
|
360
|
+
slug: string;
|
|
361
|
+
}): Promise<any>;
|
|
362
|
+
/**
|
|
363
|
+
* @param {Object} arg - Arg object.
|
|
364
|
+
* @param {string} arg.id - A `id` is a unique identifier of a collection.
|
|
365
|
+
* @param {UpdateCollection} arg.body
|
|
366
|
+
* @summary: Update a collection
|
|
367
|
+
* @description: Update a collection by it's id. On successful request, returns the updated collection
|
|
368
|
+
*/
|
|
369
|
+
updateCollection({ id, body }?: {
|
|
370
|
+
id: string;
|
|
371
|
+
body: UpdateCollection;
|
|
372
|
+
}): Promise<any>;
|
|
373
|
+
/**
|
|
374
|
+
* @param {Object} arg - Arg object.
|
|
375
|
+
* @param {string} arg.id - A `id` is a unique identifier of a collection.
|
|
376
|
+
* @summary: Delete a Collection
|
|
377
|
+
* @description: Delete a collection by it's id. Returns an object that tells whether the collection was deleted successfully
|
|
378
|
+
*/
|
|
379
|
+
deleteCollection({ id }?: {
|
|
380
|
+
id: string;
|
|
381
|
+
}): Promise<any>;
|
|
382
|
+
/**
|
|
383
|
+
* @param {Object} arg - Arg object.
|
|
384
|
+
* @param {string} arg.id - A `id` is a unique identifier of a collection.
|
|
385
|
+
* @param {string} [arg.sortOn] - Each response will contain sort_on param,
|
|
386
|
+
* which should be sent back to make pagination work.
|
|
387
|
+
* @param {string} [arg.pageId] - Each response will contain next_id param,
|
|
388
|
+
* which should be sent back to make pagination work.
|
|
389
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
390
|
+
* page. Default is 12.
|
|
391
|
+
* @summary: Get the items for a collection
|
|
392
|
+
* @description: Get items from a collection specified by its `id`.
|
|
393
|
+
*/
|
|
394
|
+
getCollectionItems({ id, sortOn, pageId, pageSize }?: {
|
|
395
|
+
id: string;
|
|
396
|
+
sortOn?: string;
|
|
397
|
+
pageId?: string;
|
|
398
|
+
pageSize?: number;
|
|
399
|
+
}): Promise<any>;
|
|
400
|
+
/**
|
|
401
|
+
* @param {Object} arg - Arg object.
|
|
402
|
+
* @param {string} arg.id - A `id` is a unique identifier of a collection.
|
|
403
|
+
* @param {CollectionItemRequest} arg.body
|
|
404
|
+
* @summary: Add items to a collection
|
|
405
|
+
* @description: Adds items to a collection specified by its `id`. See `CollectionItemRequest` for the list of attributes needed to add items to an collection.
|
|
406
|
+
*/
|
|
407
|
+
addCollectionItems({ id, body }?: {
|
|
408
|
+
id: string;
|
|
409
|
+
body: CollectionItemRequest;
|
|
410
|
+
}): Promise<any>;
|
|
411
|
+
/**
|
|
412
|
+
* @param {Object} arg - Arg object.
|
|
413
|
+
* @param {string} [arg.brand] - Brand slug
|
|
414
|
+
* @summary: Analytics data of catalog and inventory.
|
|
415
|
+
* @description: Catalog Insights api returns the count of catalog related data like products, brands, departments and categories that have been made live as per configuration of the app.
|
|
416
|
+
*/
|
|
417
|
+
getCatalogInsights({ brand }?: {
|
|
418
|
+
brand?: string;
|
|
419
|
+
}): Promise<any>;
|
|
420
|
+
/**
|
|
421
|
+
* @param {Object} arg - Arg object.
|
|
422
|
+
* @param {number} arg.itemId - Item code of the product of which size is to be get.
|
|
423
|
+
* @param {string} arg.sizeIdentifier - Size Identifier (Seller Identifier
|
|
424
|
+
* or Primary Identifier) of which inventory is to get.
|
|
425
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
426
|
+
* given set of results
|
|
427
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
428
|
+
* page. Default is 12.
|
|
429
|
+
* @param {string} [arg.q] - Search with help of store code.
|
|
430
|
+
* @param {number[]} [arg.locationIds] - Search by store ids.
|
|
431
|
+
* @summary: Get Inventory for company
|
|
432
|
+
* @description: This API allows get Inventory data for particular company grouped by size and store.
|
|
433
|
+
*/
|
|
434
|
+
getDiscountedInventoryBySizeIdentifier({ itemId, sizeIdentifier, pageNo, pageSize, q, locationIds, }?: {
|
|
435
|
+
itemId: number;
|
|
436
|
+
sizeIdentifier: string;
|
|
437
|
+
pageNo?: number;
|
|
438
|
+
pageSize?: number;
|
|
439
|
+
q?: string;
|
|
440
|
+
locationIds?: number[];
|
|
441
|
+
}): Promise<any>;
|
|
442
|
+
/**
|
|
443
|
+
* @param {Object} arg - Arg object.
|
|
444
|
+
* @param {string} [arg.department] - The name of the department. Use this
|
|
445
|
+
* parameter to filter products by a particular department. See below the
|
|
446
|
+
* list of available departments. You can retrieve available departments
|
|
447
|
+
* from the **v1.0/departments/** API
|
|
448
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
449
|
+
* given set of results
|
|
450
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
451
|
+
* page. Default is 12.
|
|
452
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
453
|
+
* to search brands by brand name.
|
|
454
|
+
* @param {number[]} [arg.brandId] - Helps to sort the brands list on the
|
|
455
|
+
* basis of uid list.
|
|
456
|
+
* @summary: List all the brands
|
|
457
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
458
|
+
*/
|
|
459
|
+
getApplicationBrands({ department, pageNo, pageSize, q, brandId }?: {
|
|
460
|
+
department?: string;
|
|
461
|
+
pageNo?: number;
|
|
462
|
+
pageSize?: number;
|
|
463
|
+
q?: string;
|
|
464
|
+
brandId?: number[];
|
|
465
|
+
}): Promise<any>;
|
|
466
|
+
/**
|
|
467
|
+
* @param {Object} arg - Arg object.
|
|
468
|
+
* @param {string} arg.companyId - A `company_id` is a unique identifier for
|
|
469
|
+
* a particular seller account.
|
|
470
|
+
* @param {string} arg.applicationId - A `application_id` is a unique
|
|
471
|
+
* identifier for a particular sale channel.
|
|
472
|
+
* @param {string} [arg.department] - The name of the department. Use this
|
|
473
|
+
* parameter to filter products by a particular department. See below the
|
|
474
|
+
* list of available departments. You can retrieve available departments
|
|
475
|
+
* from the **v1.0/departments/** API
|
|
476
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
477
|
+
* page. Default is 12.
|
|
478
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
479
|
+
* to search brands by brand name.
|
|
480
|
+
* @param {number[]} [arg.brandId] - Helps to sort the brands list on the
|
|
481
|
+
* basis of uid list.
|
|
482
|
+
* @summary: List all the brands
|
|
483
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
484
|
+
*/
|
|
485
|
+
getApplicationBrandsPaginator({ companyId, applicationId, department, pageSize, q, brandId, }?: {
|
|
486
|
+
companyId: string;
|
|
487
|
+
applicationId: string;
|
|
488
|
+
department?: string;
|
|
489
|
+
pageSize?: number;
|
|
490
|
+
q?: string;
|
|
491
|
+
brandId?: number[];
|
|
492
|
+
}): Paginator;
|
|
493
|
+
/**
|
|
494
|
+
* @param {Object} arg - Arg object.
|
|
495
|
+
* @summary: List all the departments
|
|
496
|
+
* @description: Departments are a way to categorise similar products. A product can lie in multiple departments. For example, a skirt can below to the 'Women's Fashion' Department while a handbag can lie in 'Women's Accessories' Department. Use this API to list all the departments. If successful, returns the list of departments specified in `DepartmentResponse`
|
|
497
|
+
*/
|
|
498
|
+
getDepartments({}?: any): Promise<any>;
|
|
499
|
+
/**
|
|
500
|
+
* @param {Object} arg - Arg object.
|
|
501
|
+
* @param {string} [arg.department] - The name of the department. Use this
|
|
502
|
+
* parameter to filter products by a particular department. See below the
|
|
503
|
+
* list of available departments. You can retrieve available departments
|
|
504
|
+
* from the **v1.0/departments/** API
|
|
505
|
+
* @summary: List all the categories
|
|
506
|
+
* @description: List all the categories. You can optionally pass filter the brands by the department. If successful, returns a paginated list of brands specified in `CategoryListingResponse`
|
|
507
|
+
*/
|
|
508
|
+
getCategories({ department }?: {
|
|
509
|
+
department?: string;
|
|
510
|
+
}): Promise<any>;
|
|
511
|
+
/**
|
|
512
|
+
* @param {Object} arg - Arg object.
|
|
513
|
+
* @param {string} [arg.q] - The search query. This can be a partial or
|
|
514
|
+
* complete name of a either a product, brand or category
|
|
515
|
+
* @param {string} [arg.f] - The search filter parameters. All the parameter
|
|
516
|
+
* filtered from filter parameters will be passed in **f** parameter in
|
|
517
|
+
* this format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
518
|
+
* @param {string} [arg.c] - The search filter parameters for collection
|
|
519
|
+
* items. All the parameter filtered from filter parameters will be passed
|
|
520
|
+
* in **c** parameter in this format.
|
|
521
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
522
|
+
* @param {boolean} [arg.filters] - Pass `filters` parameter to fetch the
|
|
523
|
+
* filter details. This flag is used to fetch all filters
|
|
524
|
+
* @param {string} [arg.sortOn] - The order to sort the list of products on.
|
|
525
|
+
* The supported sort parameters are popularity, price, redemption and
|
|
526
|
+
* discount in either ascending or descending order. See the supported
|
|
527
|
+
* values below.
|
|
528
|
+
* @param {string} [arg.pageId] - Each response will contain **page_id**
|
|
529
|
+
* param, which should be sent back to make pagination work.
|
|
530
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
531
|
+
* page. Default is 12.
|
|
532
|
+
* @param {number} [arg.pageNo] - If page_type is number then pass it to
|
|
533
|
+
* fetch page items. Default is 1.
|
|
534
|
+
* @param {string} [arg.pageType] - For pagination type should be cursor or
|
|
535
|
+
* number. Default is cursor.
|
|
536
|
+
* @param {number[]} [arg.itemIds] - Item Ids of product
|
|
537
|
+
* @summary: List the products
|
|
538
|
+
* @description: List all the products associated with a brand, collection or category in a requested sort order. The API additionally supports arbitrary search queries that may refer the name of any product, brand, category or collection. If successful, returns a paginated list of products specified in `ApplicationProductListingResponse`
|
|
539
|
+
*/
|
|
540
|
+
getAppicationProducts({ q, f, c, filters, sortOn, pageId, pageSize, pageNo, pageType, itemIds, }?: {
|
|
541
|
+
q?: string;
|
|
542
|
+
f?: string;
|
|
543
|
+
c?: string;
|
|
544
|
+
filters?: boolean;
|
|
545
|
+
sortOn?: string;
|
|
546
|
+
pageId?: string;
|
|
547
|
+
pageSize?: number;
|
|
548
|
+
pageNo?: number;
|
|
549
|
+
pageType?: string;
|
|
550
|
+
itemIds?: number[];
|
|
551
|
+
}): Promise<any>;
|
|
552
|
+
/**
|
|
553
|
+
* @param {Object} arg - Arg object.
|
|
554
|
+
* @param {string} arg.companyId - A `company_id` is a unique identifier for
|
|
555
|
+
* a particular seller account.
|
|
556
|
+
* @param {string} arg.applicationId - A `application_id` is a unique
|
|
557
|
+
* identifier for a particular sale channel.
|
|
558
|
+
* @param {string} [arg.q] - The search query. This can be a partial or
|
|
559
|
+
* complete name of a either a product, brand or category
|
|
560
|
+
* @param {string} [arg.f] - The search filter parameters. All the parameter
|
|
561
|
+
* filtered from filter parameters will be passed in **f** parameter in
|
|
562
|
+
* this format. **?f=brand:voi-jeans||and:::category:t-shirts||shirts**
|
|
563
|
+
* @param {string} [arg.c] - The search filter parameters for collection
|
|
564
|
+
* items. All the parameter filtered from filter parameters will be passed
|
|
565
|
+
* in **c** parameter in this format.
|
|
566
|
+
* **?c=brand:in:voi-jeans|and:::category:nin:t-shirts|shirts**
|
|
567
|
+
* @param {boolean} [arg.filters] - Pass `filters` parameter to fetch the
|
|
568
|
+
* filter details. This flag is used to fetch all filters
|
|
569
|
+
* @param {string} [arg.sortOn] - The order to sort the list of products on.
|
|
570
|
+
* The supported sort parameters are popularity, price, redemption and
|
|
571
|
+
* discount in either ascending or descending order. See the supported
|
|
572
|
+
* values below.
|
|
573
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
574
|
+
* page. Default is 12.
|
|
575
|
+
* @param {number[]} [arg.itemIds] - Item Ids of product
|
|
576
|
+
* @summary: List the products
|
|
577
|
+
* @description: List all the products associated with a brand, collection or category in a requested sort order. The API additionally supports arbitrary search queries that may refer the name of any product, brand, category or collection. If successful, returns a paginated list of products specified in `ApplicationProductListingResponse`
|
|
578
|
+
*/
|
|
579
|
+
getAppicationProductsPaginator({ companyId, applicationId, q, f, c, filters, sortOn, pageSize, itemIds, }?: {
|
|
580
|
+
companyId: string;
|
|
581
|
+
applicationId: string;
|
|
582
|
+
q?: string;
|
|
583
|
+
f?: string;
|
|
584
|
+
c?: string;
|
|
585
|
+
filters?: boolean;
|
|
586
|
+
sortOn?: string;
|
|
587
|
+
pageSize?: number;
|
|
588
|
+
itemIds?: number[];
|
|
589
|
+
}): Paginator;
|
|
590
|
+
/**
|
|
591
|
+
* @param {Object} arg - Arg object.
|
|
592
|
+
* @param {string} arg.slug - The unique identifier of a product. i.e;
|
|
593
|
+
* `slug` of a product. You can retrieve these from the APIs that list
|
|
594
|
+
* products like **v1.0/products/**
|
|
595
|
+
* @summary: Get a product
|
|
596
|
+
* @description: Products are the core resource of an application. Products can be associated by categories, collections, brands and more. This API retrieves the product specified by the given **slug**. If successful, returns a Product resource in the response body specified in `ProductDetail`
|
|
597
|
+
*/
|
|
598
|
+
getProductDetailBySlug({ slug }?: {
|
|
599
|
+
slug: string;
|
|
600
|
+
}): Promise<any>;
|
|
601
|
+
/**
|
|
602
|
+
* @param {Object} arg - Arg object.
|
|
603
|
+
* @param {number[]} [arg.brandIds] - Get multiple products filtered by Brand Ids
|
|
604
|
+
* @param {number[]} [arg.categoryIds] - Get multiple products filtered by
|
|
605
|
+
* Category Ids
|
|
606
|
+
* @param {number[]} [arg.departmentIds] - Get multiple products filtered by
|
|
607
|
+
* Department Ids
|
|
608
|
+
* @param {string[]} [arg.tags] - Get multiple products filtered by tags
|
|
609
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
610
|
+
* given set of results
|
|
611
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
612
|
+
* page. Default is 10.
|
|
613
|
+
* @param {string} [arg.q] - Search with Item Code, Name, Slug or Identifier.
|
|
614
|
+
* @summary: Get applicationwise products
|
|
615
|
+
* @description: Products are the core resource of an application. Products can be associated by categories, collections, brands and more. If successful, returns a Product resource in the response body specified in `ApplicationProductListingResponseDatabasePowered`
|
|
616
|
+
*/
|
|
617
|
+
getAppProducts({ brandIds, categoryIds, departmentIds, tags, pageNo, pageSize, q, }?: {
|
|
618
|
+
brandIds?: number[];
|
|
619
|
+
categoryIds?: number[];
|
|
620
|
+
departmentIds?: number[];
|
|
621
|
+
tags?: string[];
|
|
622
|
+
pageNo?: number;
|
|
623
|
+
pageSize?: number;
|
|
624
|
+
q?: string;
|
|
625
|
+
}): Promise<any>;
|
|
626
|
+
/**
|
|
627
|
+
* @param {Object} arg - Arg object.
|
|
628
|
+
* @param {number[]} [arg.itemIds] - The Item Id of the product.
|
|
629
|
+
* @param {number[]} [arg.storeIds] - The Store Id of products to fetch inventory.
|
|
630
|
+
* @param {number[]} [arg.brandIds] - The Brand Id of products to fetch inventory.
|
|
631
|
+
* @param {string[]} [arg.sellerIdentifiers] - Unique seller_identifier of
|
|
632
|
+
* the product.
|
|
633
|
+
* @param {string} [arg.timestamp] - Timestamp in UTC format (2020-07-23T10:27:50Z)
|
|
634
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
635
|
+
* @param {string} [arg.pageId] - Page ID to retrieve next set of results.
|
|
636
|
+
* @summary: Get the stock of a product
|
|
637
|
+
* @description: Retrieve the available Inventory of the products. Use this API to get the Inventory status of products with the filters of timestamp, store_ids, brand_ids, item_id - Items - Pagination
|
|
638
|
+
*/
|
|
639
|
+
getAppInventory({ itemIds, storeIds, brandIds, sellerIdentifiers, timestamp, pageSize, pageId, }?: {
|
|
640
|
+
itemIds?: number[];
|
|
641
|
+
storeIds?: number[];
|
|
642
|
+
brandIds?: number[];
|
|
643
|
+
sellerIdentifiers?: string[];
|
|
644
|
+
timestamp?: string;
|
|
645
|
+
pageSize?: number;
|
|
646
|
+
pageId?: string;
|
|
647
|
+
}): Promise<any>;
|
|
648
|
+
/**
|
|
649
|
+
* @param {Object} arg - Arg object.
|
|
650
|
+
* @param {string} [arg.storeType] - Helps to sort the location list on the
|
|
651
|
+
* basis of location type.
|
|
652
|
+
* @param {number[]} [arg.uid] - Helps to sort the location list on the
|
|
653
|
+
* basis of uid list.
|
|
654
|
+
* @param {string} [arg.q] - Query that is to be searched.
|
|
655
|
+
* @param {string} [arg.stage] - To filter companies on basis of verified or
|
|
656
|
+
* unverified companies.
|
|
657
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
658
|
+
* given set of results
|
|
659
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
660
|
+
* page. Default is 20.
|
|
661
|
+
* @summary: Get list of locations
|
|
662
|
+
* @description: This API allows to view all the locations asscoiated to a application.
|
|
663
|
+
*/
|
|
664
|
+
getAppLocations({ storeType, uid, q, stage, pageNo, pageSize }?: {
|
|
665
|
+
storeType?: string;
|
|
666
|
+
uid?: number[];
|
|
667
|
+
q?: string;
|
|
668
|
+
stage?: string;
|
|
669
|
+
pageNo?: number;
|
|
670
|
+
pageSize?: number;
|
|
671
|
+
}): Promise<any>;
|
|
672
|
+
/**
|
|
673
|
+
* @param {Object} arg - Arg object.
|
|
674
|
+
* @param {string} arg.companyId - Id of the company whose locations are to fetched
|
|
675
|
+
* @param {string} arg.applicationId - Id of the application whose locations
|
|
676
|
+
* are to fetched
|
|
677
|
+
* @param {string} [arg.storeType] - Helps to sort the location list on the
|
|
678
|
+
* basis of location type.
|
|
679
|
+
* @param {number[]} [arg.uid] - Helps to sort the location list on the
|
|
680
|
+
* basis of uid list.
|
|
681
|
+
* @param {string} [arg.q] - Query that is to be searched.
|
|
682
|
+
* @param {string} [arg.stage] - To filter companies on basis of verified or
|
|
683
|
+
* unverified companies.
|
|
684
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
685
|
+
* page. Default is 20.
|
|
686
|
+
* @summary: Get list of locations
|
|
687
|
+
* @description: This API allows to view all the locations asscoiated to a application.
|
|
688
|
+
*/
|
|
689
|
+
getAppLocationsPaginator({ companyId, applicationId, storeType, uid, q, stage, pageSize, }?: {
|
|
690
|
+
companyId: string;
|
|
691
|
+
applicationId: string;
|
|
692
|
+
storeType?: string;
|
|
693
|
+
uid?: number[];
|
|
694
|
+
q?: string;
|
|
695
|
+
stage?: string;
|
|
696
|
+
pageSize?: number;
|
|
697
|
+
}): Paginator;
|
|
698
|
+
/**
|
|
699
|
+
* @param {Object} arg - Arg object.
|
|
700
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
701
|
+
* given set of results
|
|
702
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
703
|
+
* page. Default is 12.
|
|
704
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
705
|
+
* to search brands by brand name.
|
|
706
|
+
* @summary: List all the brands for the application
|
|
707
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
708
|
+
*/
|
|
709
|
+
getApplicationBrandListing({ pageNo, pageSize, q }?: {
|
|
710
|
+
pageNo?: number;
|
|
711
|
+
pageSize?: number;
|
|
712
|
+
q?: string;
|
|
713
|
+
}): Promise<any>;
|
|
714
|
+
/**
|
|
715
|
+
* @param {Object} arg - Arg object.
|
|
716
|
+
* @param {string} arg.companyId - A `company_id` is a unique identifier for
|
|
717
|
+
* a particular seller account.
|
|
718
|
+
* @param {string} arg.applicationId - A `application_id` is a unique
|
|
719
|
+
* identifier for a particular sale channel.
|
|
720
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
721
|
+
* page. Default is 12.
|
|
722
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
723
|
+
* to search brands by brand name.
|
|
724
|
+
* @summary: List all the brands for the application
|
|
725
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
726
|
+
*/
|
|
727
|
+
getApplicationBrandListingPaginator({ companyId, applicationId, pageSize, q, }?: {
|
|
728
|
+
companyId: string;
|
|
729
|
+
applicationId: string;
|
|
730
|
+
pageSize?: number;
|
|
731
|
+
q?: string;
|
|
732
|
+
}): Paginator;
|
|
733
|
+
/**
|
|
734
|
+
* @param {Object} arg - Arg object.
|
|
735
|
+
* @param {string} arg.brandUid - Brand id for which the custom_json is associated.
|
|
736
|
+
* @param {ApplicationBrandJson} arg.body
|
|
737
|
+
* @summary: Update a single custom json.
|
|
738
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
739
|
+
*/
|
|
740
|
+
updateAppBrand({ brandUid, body }?: {
|
|
741
|
+
brandUid: string;
|
|
742
|
+
body: ApplicationBrandJson;
|
|
743
|
+
}): Promise<any>;
|
|
744
|
+
/**
|
|
745
|
+
* @param {Object} arg - Arg object.
|
|
746
|
+
* @param {number} [arg.departmentId] - A `department_id` is a unique
|
|
747
|
+
* identifier for a particular department.
|
|
748
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
749
|
+
* given set of results
|
|
750
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
751
|
+
* page. Default is 12.
|
|
752
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
753
|
+
* to search brands by brand name.
|
|
754
|
+
* @summary: List all the brands for the application
|
|
755
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
756
|
+
*/
|
|
757
|
+
getApplicationCategoryListing({ departmentId, pageNo, pageSize, q }?: {
|
|
758
|
+
departmentId?: number;
|
|
759
|
+
pageNo?: number;
|
|
760
|
+
pageSize?: number;
|
|
761
|
+
q?: string;
|
|
762
|
+
}): Promise<any>;
|
|
763
|
+
/**
|
|
764
|
+
* @param {Object} arg - Arg object.
|
|
765
|
+
* @param {string} arg.companyId - A `company_id` is a unique identifier for
|
|
766
|
+
* a particular seller account.
|
|
767
|
+
* @param {string} arg.applicationId - A `application_id` is a unique
|
|
768
|
+
* identifier for a particular sale channel.
|
|
769
|
+
* @param {number} [arg.departmentId] - A `department_id` is a unique
|
|
770
|
+
* identifier for a particular department.
|
|
771
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
772
|
+
* page. Default is 12.
|
|
773
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
774
|
+
* to search brands by brand name.
|
|
775
|
+
* @summary: List all the brands for the application
|
|
776
|
+
* @description: A brand is the name under which a product is being sold. Use this API to list all the brands. You can pass optionally filter the brands by the department. If successful, returns a paginated list of brands specified in `BrandListingResponse`
|
|
777
|
+
*/
|
|
778
|
+
getApplicationCategoryListingPaginator({ companyId, applicationId, departmentId, pageSize, q, }?: {
|
|
779
|
+
companyId: string;
|
|
780
|
+
applicationId: string;
|
|
781
|
+
departmentId?: number;
|
|
782
|
+
pageSize?: number;
|
|
783
|
+
q?: string;
|
|
784
|
+
}): Paginator;
|
|
785
|
+
/**
|
|
786
|
+
* @param {Object} arg - Arg object.
|
|
787
|
+
* @param {string} arg.categoryUid - Category id for which the custom_json
|
|
788
|
+
* is associated.
|
|
789
|
+
* @param {ApplicationCategoryJson} arg.body
|
|
790
|
+
* @summary: Update a single custom json.
|
|
791
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
792
|
+
*/
|
|
793
|
+
updateAppCategory({ categoryUid, body }?: {
|
|
794
|
+
categoryUid: string;
|
|
795
|
+
body: ApplicationCategoryJson;
|
|
796
|
+
}): Promise<any>;
|
|
797
|
+
/**
|
|
798
|
+
* @param {Object} arg - Arg object.
|
|
799
|
+
* @param {number} [arg.pageNo] - The page number to navigate through the
|
|
800
|
+
* given set of results
|
|
801
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
802
|
+
* page. Default is 12.
|
|
803
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
804
|
+
* to search department by name.
|
|
805
|
+
* @summary: List all the departments for the application
|
|
806
|
+
* @description: Departments are a way to categorise similar products. A product can lie in multiple departments. For example, a skirt can below to the 'Women's Fashion' Department while a handbag can lie in 'Women's Accessories' Department. Use this API to list all the application departments. If successful, returns the list of departments specified in `ApplicationDepartmentListingResponse`
|
|
807
|
+
*/
|
|
808
|
+
getApplicationDepartmentListing({ pageNo, pageSize, q }?: {
|
|
809
|
+
pageNo?: number;
|
|
810
|
+
pageSize?: number;
|
|
811
|
+
q?: string;
|
|
812
|
+
}): Promise<any>;
|
|
813
|
+
/**
|
|
814
|
+
* @param {Object} arg - Arg object.
|
|
815
|
+
* @param {string} arg.companyId - A `company_id` is a unique identifier for
|
|
816
|
+
* a particular seller account.
|
|
817
|
+
* @param {string} arg.applicationId - A `application_id` is a unique
|
|
818
|
+
* identifier for a particular sale channel.
|
|
819
|
+
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
820
|
+
* page. Default is 12.
|
|
821
|
+
* @param {string} [arg.q] - Search query with brand name.Use this parameter
|
|
822
|
+
* to search department by name.
|
|
823
|
+
* @summary: List all the departments for the application
|
|
824
|
+
* @description: Departments are a way to categorise similar products. A product can lie in multiple departments. For example, a skirt can below to the 'Women's Fashion' Department while a handbag can lie in 'Women's Accessories' Department. Use this API to list all the application departments. If successful, returns the list of departments specified in `ApplicationDepartmentListingResponse`
|
|
825
|
+
*/
|
|
826
|
+
getApplicationDepartmentListingPaginator({ companyId, applicationId, pageSize, q, }?: {
|
|
827
|
+
companyId: string;
|
|
828
|
+
applicationId: string;
|
|
829
|
+
pageSize?: number;
|
|
830
|
+
q?: string;
|
|
831
|
+
}): Paginator;
|
|
832
|
+
/**
|
|
833
|
+
* @param {Object} arg - Arg object.
|
|
834
|
+
* @param {string} arg.departmentUid - Department id for which the
|
|
835
|
+
* custom_json is associated.
|
|
836
|
+
* @param {ApplicationDepartmentJson} arg.body
|
|
837
|
+
* @summary: Update a single custom json.
|
|
838
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
839
|
+
*/
|
|
840
|
+
updateAppDepartment({ departmentUid, body }?: {
|
|
841
|
+
departmentUid: string;
|
|
842
|
+
body: ApplicationDepartmentJson;
|
|
843
|
+
}): Promise<any>;
|
|
844
|
+
/**
|
|
845
|
+
* @param {Object} arg - Arg object.
|
|
846
|
+
* @param {string} arg.storeUid - Store id for which the custom_json is associated.
|
|
847
|
+
* @param {ApplicationStoreJson} arg.body
|
|
848
|
+
* @summary: Update a single custom json.
|
|
849
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
850
|
+
*/
|
|
851
|
+
updateAppLocation({ storeUid, body }?: {
|
|
852
|
+
storeUid: string;
|
|
853
|
+
body: ApplicationStoreJson;
|
|
854
|
+
}): Promise<any>;
|
|
855
|
+
}
|
|
856
|
+
import Paginator = require("../../common/Paginator");
|