@gofynd/fdk-client-javascript 1.1.6 → 1.2.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 +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,44 +1,831 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
export = CompanyProfilePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddressSerializer
|
|
4
|
+
* @property {string} [address_type]
|
|
5
|
+
* @property {string} [address1]
|
|
6
|
+
* @property {string} [address2]
|
|
7
|
+
* @property {string} [city]
|
|
8
|
+
* @property {string} [country]
|
|
9
|
+
* @property {string} [country_code]
|
|
10
|
+
* @property {string} [landmark]
|
|
11
|
+
* @property {number} latitude
|
|
12
|
+
* @property {number} longitude
|
|
13
|
+
* @property {number} [pincode]
|
|
14
|
+
* @property {string} [state]
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef BrandBannerSerializer
|
|
18
|
+
* @property {string} landscape
|
|
19
|
+
* @property {string} portrait
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* @typedef BulkLocationSerializer
|
|
23
|
+
* @property {LocationSerializer[]} [data]
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* @typedef BusinessCountryInfo
|
|
27
|
+
* @property {string} [country]
|
|
28
|
+
* @property {string} [country_code]
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef BusinessDetails
|
|
32
|
+
* @property {Website} [website]
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef CompanyBrandListSerializer
|
|
36
|
+
* @property {CompanyBrandSerializer[]} [items]
|
|
37
|
+
* @property {Page} [page]
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @typedef CompanyBrandPostRequestSerializer
|
|
41
|
+
* @property {number[]} brands
|
|
42
|
+
* @property {number} company
|
|
43
|
+
* @property {number} [uid]
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* @typedef CompanyBrandSerializer
|
|
47
|
+
* @property {GetBrandResponseSerializer} [brand]
|
|
48
|
+
* @property {CompanySerializer} [company]
|
|
49
|
+
* @property {UserSerializer} [created_by]
|
|
50
|
+
* @property {string} [created_on]
|
|
51
|
+
* @property {UserSerializer} [modified_by]
|
|
52
|
+
* @property {string} [modified_on]
|
|
53
|
+
* @property {string} [reject_reason]
|
|
54
|
+
* @property {string} [stage]
|
|
55
|
+
* @property {number} [uid]
|
|
56
|
+
* @property {UserSerializer} [verified_by]
|
|
57
|
+
* @property {string} [verified_on]
|
|
58
|
+
* @property {Object} [warnings]
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef CompanyDetails
|
|
62
|
+
* @property {CompanySocialAccounts[]} [socials]
|
|
63
|
+
* @property {string} [website_url]
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* @typedef CompanySerializer
|
|
67
|
+
* @property {Object} [_custom_json]
|
|
68
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
69
|
+
* @property {BusinessCountryInfo} [business_country_info]
|
|
70
|
+
* @property {string} business_type
|
|
71
|
+
* @property {string} company_type
|
|
72
|
+
* @property {UserSerializer} [created_by]
|
|
73
|
+
* @property {string} [created_on]
|
|
74
|
+
* @property {CompanyDetails} [details]
|
|
75
|
+
* @property {string[]} [market_channels]
|
|
76
|
+
* @property {UserSerializer} [modified_by]
|
|
77
|
+
* @property {string} [modified_on]
|
|
78
|
+
* @property {string} [name]
|
|
79
|
+
* @property {string[]} [notification_emails]
|
|
80
|
+
* @property {string} [reject_reason]
|
|
81
|
+
* @property {string} [stage]
|
|
82
|
+
* @property {number} [uid]
|
|
83
|
+
* @property {UserSerializer} [verified_by]
|
|
84
|
+
* @property {string} [verified_on]
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* @typedef CompanySocialAccounts
|
|
88
|
+
* @property {string} name
|
|
89
|
+
* @property {string} url
|
|
90
|
+
*/
|
|
91
|
+
/**
|
|
92
|
+
* @typedef CompanyTaxesSerializer
|
|
93
|
+
* @property {string} [effective_date]
|
|
94
|
+
* @property {boolean} [enable]
|
|
95
|
+
* @property {number} [rate]
|
|
96
|
+
*/
|
|
97
|
+
/**
|
|
98
|
+
* @typedef CompanyTaxesSerializer1
|
|
99
|
+
* @property {string} [effective_date]
|
|
100
|
+
* @property {boolean} [enable]
|
|
101
|
+
* @property {number} [rate]
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* @typedef ContactDetails
|
|
105
|
+
* @property {string[]} [emails]
|
|
106
|
+
* @property {SellerPhoneNumber[]} [phone]
|
|
107
|
+
*/
|
|
108
|
+
/**
|
|
109
|
+
* @typedef CreateUpdateAddressSerializer
|
|
110
|
+
* @property {string} address_type
|
|
111
|
+
* @property {string} address1
|
|
112
|
+
* @property {string} [address2]
|
|
113
|
+
* @property {string} city
|
|
114
|
+
* @property {string} country
|
|
115
|
+
* @property {string} [country_code]
|
|
116
|
+
* @property {string} [landmark]
|
|
117
|
+
* @property {number} latitude
|
|
118
|
+
* @property {number} longitude
|
|
119
|
+
* @property {number} pincode
|
|
120
|
+
* @property {string} state
|
|
121
|
+
*/
|
|
122
|
+
/**
|
|
123
|
+
* @typedef CreateUpdateBrandRequestSerializer
|
|
124
|
+
* @property {Object} [_custom_json]
|
|
125
|
+
* @property {Object} [_locale_language]
|
|
126
|
+
* @property {BrandBannerSerializer} banner
|
|
127
|
+
* @property {string} [brand_tier]
|
|
128
|
+
* @property {number} [company_id]
|
|
129
|
+
* @property {string} [description]
|
|
130
|
+
* @property {string} logo
|
|
131
|
+
* @property {string} name
|
|
132
|
+
* @property {string[]} [synonyms]
|
|
133
|
+
* @property {number} [uid]
|
|
134
|
+
*/
|
|
135
|
+
/**
|
|
136
|
+
* @typedef Document
|
|
137
|
+
* @property {string} [legal_name]
|
|
138
|
+
* @property {string} type
|
|
139
|
+
* @property {string} [url]
|
|
140
|
+
* @property {string} value
|
|
141
|
+
* @property {boolean} [verified]
|
|
142
|
+
*/
|
|
143
|
+
/**
|
|
144
|
+
* @typedef DocumentsObj
|
|
145
|
+
* @property {number} [pending]
|
|
146
|
+
* @property {number} [verified]
|
|
147
|
+
*/
|
|
148
|
+
/**
|
|
149
|
+
* @typedef ErrorResponse
|
|
150
|
+
* @property {string} [code]
|
|
151
|
+
* @property {string} [message]
|
|
152
|
+
* @property {Object} [meta]
|
|
153
|
+
* @property {number} [status]
|
|
154
|
+
*/
|
|
155
|
+
/**
|
|
156
|
+
* @typedef GetAddressSerializer
|
|
157
|
+
* @property {string} [address_type]
|
|
158
|
+
* @property {string} [address1]
|
|
159
|
+
* @property {string} [address2]
|
|
160
|
+
* @property {string} [city]
|
|
161
|
+
* @property {string} [country]
|
|
162
|
+
* @property {string} [country_code]
|
|
163
|
+
* @property {string} [landmark]
|
|
164
|
+
* @property {number} latitude
|
|
165
|
+
* @property {number} longitude
|
|
166
|
+
* @property {number} [pincode]
|
|
167
|
+
* @property {string} [state]
|
|
168
|
+
*/
|
|
169
|
+
/**
|
|
170
|
+
* @typedef GetBrandResponseSerializer
|
|
171
|
+
* @property {Object} [_custom_json]
|
|
172
|
+
* @property {Object} [_locale_language]
|
|
173
|
+
* @property {BrandBannerSerializer} [banner]
|
|
174
|
+
* @property {UserSerializer} [created_by]
|
|
175
|
+
* @property {string} [created_on]
|
|
176
|
+
* @property {string} [description]
|
|
177
|
+
* @property {string} [logo]
|
|
178
|
+
* @property {string} [mode]
|
|
179
|
+
* @property {UserSerializer} [modified_by]
|
|
180
|
+
* @property {string} [modified_on]
|
|
181
|
+
* @property {string} name
|
|
182
|
+
* @property {string} [reject_reason]
|
|
183
|
+
* @property {string} [slug_key]
|
|
184
|
+
* @property {string} [stage]
|
|
185
|
+
* @property {string[]} [synonyms]
|
|
186
|
+
* @property {number} [uid]
|
|
187
|
+
* @property {UserSerializer} [verified_by]
|
|
188
|
+
* @property {string} [verified_on]
|
|
189
|
+
* @property {Object} [warnings]
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* @typedef GetCompanyProfileSerializerResponse
|
|
193
|
+
* @property {Object} [_custom_json]
|
|
194
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
195
|
+
* @property {BusinessCountryInfo} [business_country_info]
|
|
196
|
+
* @property {BusinessDetails} [business_details]
|
|
197
|
+
* @property {string} [business_info]
|
|
198
|
+
* @property {string} [business_type]
|
|
199
|
+
* @property {string} company_type
|
|
200
|
+
* @property {ContactDetails} [contact_details]
|
|
201
|
+
* @property {UserSerializer} [created_by]
|
|
202
|
+
* @property {string} [created_on]
|
|
203
|
+
* @property {Document[]} [documents]
|
|
204
|
+
* @property {boolean} [franchise_enabled]
|
|
205
|
+
* @property {string} [mode]
|
|
206
|
+
* @property {UserSerializer} [modified_by]
|
|
207
|
+
* @property {string} [modified_on]
|
|
208
|
+
* @property {string} [name]
|
|
209
|
+
* @property {string[]} [notification_emails]
|
|
210
|
+
* @property {string} [stage]
|
|
211
|
+
* @property {CompanyTaxesSerializer[]} [taxes]
|
|
212
|
+
* @property {number} uid
|
|
213
|
+
* @property {UserSerializer} [verified_by]
|
|
214
|
+
* @property {string} [verified_on]
|
|
215
|
+
* @property {Object} [warnings]
|
|
216
|
+
*/
|
|
217
|
+
/**
|
|
218
|
+
* @typedef GetCompanySerializer
|
|
219
|
+
* @property {GetAddressSerializer[]} [addresses]
|
|
220
|
+
* @property {string} [business_type]
|
|
221
|
+
* @property {string} [company_type]
|
|
222
|
+
* @property {UserSerializer} [created_by]
|
|
223
|
+
* @property {string} [created_on]
|
|
224
|
+
* @property {UserSerializer} [modified_by]
|
|
225
|
+
* @property {string} [modified_on]
|
|
226
|
+
* @property {string} [name]
|
|
227
|
+
* @property {string} [reject_reason]
|
|
228
|
+
* @property {string} [stage]
|
|
229
|
+
* @property {number} [uid]
|
|
230
|
+
* @property {UserSerializer} [verified_by]
|
|
231
|
+
* @property {string} [verified_on]
|
|
232
|
+
*/
|
|
233
|
+
/**
|
|
234
|
+
* @typedef GetLocationSerializer
|
|
235
|
+
* @property {Object} [_custom_json]
|
|
236
|
+
* @property {GetAddressSerializer} address
|
|
237
|
+
* @property {boolean} [auto_invoice]
|
|
238
|
+
* @property {string} code
|
|
239
|
+
* @property {GetCompanySerializer} [company]
|
|
240
|
+
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
241
|
+
* @property {UserSerializer} [created_by]
|
|
242
|
+
* @property {string} [created_on]
|
|
243
|
+
* @property {boolean} [credit_note]
|
|
244
|
+
* @property {string} display_name
|
|
245
|
+
* @property {Document[]} [documents]
|
|
246
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
247
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
248
|
+
* @property {LocationManagerSerializer} [manager]
|
|
249
|
+
* @property {UserSerializer} [modified_by]
|
|
250
|
+
* @property {string} [modified_on]
|
|
251
|
+
* @property {string} name
|
|
252
|
+
* @property {string[]} [notification_emails]
|
|
253
|
+
* @property {string} [phone_number]
|
|
254
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
255
|
+
* @property {string} [stage]
|
|
256
|
+
* @property {string} [store_type]
|
|
257
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
258
|
+
* @property {number} [uid]
|
|
259
|
+
* @property {UserSerializer} [verified_by]
|
|
260
|
+
* @property {string} [verified_on]
|
|
261
|
+
* @property {Object} [warnings]
|
|
262
|
+
*/
|
|
263
|
+
/**
|
|
264
|
+
* @typedef HolidayDateSerializer
|
|
265
|
+
* @property {string} end_date
|
|
266
|
+
* @property {string} start_date
|
|
267
|
+
*/
|
|
268
|
+
/**
|
|
269
|
+
* @typedef HolidaySchemaSerializer
|
|
270
|
+
* @property {HolidayDateSerializer} date
|
|
271
|
+
* @property {string} holiday_type
|
|
272
|
+
* @property {string} title
|
|
273
|
+
*/
|
|
274
|
+
/**
|
|
275
|
+
* @typedef InvoiceCredSerializer
|
|
276
|
+
* @property {boolean} [enabled]
|
|
277
|
+
* @property {string} [password]
|
|
278
|
+
* @property {string} [username]
|
|
279
|
+
*/
|
|
280
|
+
/**
|
|
281
|
+
* @typedef InvoiceDetailsSerializer
|
|
282
|
+
* @property {InvoiceCredSerializer} [e_invoice]
|
|
283
|
+
* @property {InvoiceCredSerializer} [e_waybill]
|
|
284
|
+
*/
|
|
285
|
+
/**
|
|
286
|
+
* @typedef LocationDayWiseSerializer
|
|
287
|
+
* @property {LocationTimingSerializer} [closing]
|
|
288
|
+
* @property {boolean} open
|
|
289
|
+
* @property {LocationTimingSerializer} [opening]
|
|
290
|
+
* @property {string} weekday
|
|
291
|
+
*/
|
|
292
|
+
/**
|
|
293
|
+
* @typedef LocationListSerializer
|
|
294
|
+
* @property {GetLocationSerializer[]} [items]
|
|
295
|
+
* @property {Page} [page]
|
|
296
|
+
*/
|
|
297
|
+
/**
|
|
298
|
+
* @typedef LocationManagerSerializer
|
|
299
|
+
* @property {string} [email]
|
|
300
|
+
* @property {SellerPhoneNumber} mobile_no
|
|
301
|
+
* @property {string} [name]
|
|
302
|
+
*/
|
|
303
|
+
/**
|
|
304
|
+
* @typedef LocationSerializer
|
|
305
|
+
* @property {Object} [_custom_json]
|
|
306
|
+
* @property {AddressSerializer} address
|
|
307
|
+
* @property {boolean} [auto_invoice]
|
|
308
|
+
* @property {string} code
|
|
309
|
+
* @property {number} company
|
|
310
|
+
* @property {SellerPhoneNumber[]} [contact_numbers]
|
|
311
|
+
* @property {boolean} [credit_note]
|
|
312
|
+
* @property {string} display_name
|
|
313
|
+
* @property {Document[]} [documents]
|
|
314
|
+
* @property {InvoiceDetailsSerializer} [gst_credentials]
|
|
315
|
+
* @property {HolidaySchemaSerializer[]} [holiday]
|
|
316
|
+
* @property {LocationManagerSerializer} [manager]
|
|
317
|
+
* @property {string} name
|
|
318
|
+
* @property {string[]} [notification_emails]
|
|
319
|
+
* @property {ProductReturnConfigSerializer} [product_return_config]
|
|
320
|
+
* @property {string} [stage]
|
|
321
|
+
* @property {string} [store_type]
|
|
322
|
+
* @property {LocationDayWiseSerializer[]} [timing]
|
|
323
|
+
* @property {number} [uid]
|
|
324
|
+
* @property {Object} [warnings]
|
|
325
|
+
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef LocationTimingSerializer
|
|
328
|
+
* @property {number} hour
|
|
329
|
+
* @property {number} minute
|
|
330
|
+
*/
|
|
331
|
+
/**
|
|
332
|
+
* @typedef MetricsSerializer
|
|
333
|
+
* @property {DocumentsObj} [brand]
|
|
334
|
+
* @property {DocumentsObj} [company_documents]
|
|
335
|
+
* @property {DocumentsObj} [product]
|
|
336
|
+
* @property {string} [stage]
|
|
337
|
+
* @property {DocumentsObj} [store]
|
|
338
|
+
* @property {DocumentsObj} [store_documents]
|
|
339
|
+
* @property {number} [uid]
|
|
340
|
+
*/
|
|
341
|
+
/**
|
|
342
|
+
* @typedef Page
|
|
343
|
+
* @property {number} [current]
|
|
344
|
+
* @property {boolean} [has_next]
|
|
345
|
+
* @property {boolean} [has_previous]
|
|
346
|
+
* @property {number} [item_total]
|
|
347
|
+
* @property {string} [next_id]
|
|
348
|
+
* @property {number} [size]
|
|
349
|
+
* @property {string} type
|
|
350
|
+
*/
|
|
351
|
+
/**
|
|
352
|
+
* @typedef ProductReturnConfigSerializer
|
|
353
|
+
* @property {boolean} [on_same_store]
|
|
354
|
+
* @property {number} [store_uid]
|
|
355
|
+
*/
|
|
356
|
+
/**
|
|
357
|
+
* @typedef ProfileSuccessResponse
|
|
358
|
+
* @property {string} [message]
|
|
359
|
+
* @property {boolean} [success]
|
|
360
|
+
* @property {number} [uid]
|
|
361
|
+
*/
|
|
362
|
+
/**
|
|
363
|
+
* @typedef SellerPhoneNumber
|
|
364
|
+
* @property {number} country_code
|
|
365
|
+
* @property {string} number
|
|
366
|
+
*/
|
|
367
|
+
/**
|
|
368
|
+
* @typedef UpdateCompany
|
|
369
|
+
* @property {Object} [_custom_json]
|
|
370
|
+
* @property {CreateUpdateAddressSerializer[]} [addresses]
|
|
371
|
+
* @property {BusinessDetails} [business_details]
|
|
372
|
+
* @property {string} [business_info]
|
|
373
|
+
* @property {string} [business_type]
|
|
374
|
+
* @property {string} [company_type]
|
|
375
|
+
* @property {ContactDetails} [contact_details]
|
|
376
|
+
* @property {Document[]} [documents]
|
|
377
|
+
* @property {boolean} [franchise_enabled]
|
|
378
|
+
* @property {string} [name]
|
|
379
|
+
* @property {string[]} [notification_emails]
|
|
380
|
+
* @property {string} [reject_reason]
|
|
381
|
+
* @property {CompanyTaxesSerializer1[]} [taxes]
|
|
382
|
+
* @property {Object} [warnings]
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* @typedef UserSerializer
|
|
386
|
+
* @property {string} [contact]
|
|
387
|
+
* @property {string} [user_id]
|
|
388
|
+
* @property {string} [username]
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* @typedef Website
|
|
392
|
+
* @property {string} [url]
|
|
393
|
+
*/
|
|
394
|
+
declare class CompanyProfilePlatformModel {
|
|
44
395
|
}
|
|
396
|
+
declare namespace CompanyProfilePlatformModel {
|
|
397
|
+
export { AddressSerializer, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, UpdateCompany, UserSerializer, Website };
|
|
398
|
+
}
|
|
399
|
+
/** @returns {AddressSerializer} */
|
|
400
|
+
declare function AddressSerializer(): AddressSerializer;
|
|
401
|
+
type AddressSerializer = {
|
|
402
|
+
address_type?: string;
|
|
403
|
+
address1?: string;
|
|
404
|
+
address2?: string;
|
|
405
|
+
city?: string;
|
|
406
|
+
country?: string;
|
|
407
|
+
country_code?: string;
|
|
408
|
+
landmark?: string;
|
|
409
|
+
latitude: number;
|
|
410
|
+
longitude: number;
|
|
411
|
+
pincode?: number;
|
|
412
|
+
state?: string;
|
|
413
|
+
};
|
|
414
|
+
/** @returns {BrandBannerSerializer} */
|
|
415
|
+
declare function BrandBannerSerializer(): BrandBannerSerializer;
|
|
416
|
+
type BrandBannerSerializer = {
|
|
417
|
+
landscape: string;
|
|
418
|
+
portrait: string;
|
|
419
|
+
};
|
|
420
|
+
/** @returns {BulkLocationSerializer} */
|
|
421
|
+
declare function BulkLocationSerializer(): BulkLocationSerializer;
|
|
422
|
+
type BulkLocationSerializer = {
|
|
423
|
+
data?: LocationSerializer[];
|
|
424
|
+
};
|
|
425
|
+
/** @returns {BusinessCountryInfo} */
|
|
426
|
+
declare function BusinessCountryInfo(): BusinessCountryInfo;
|
|
427
|
+
type BusinessCountryInfo = {
|
|
428
|
+
country?: string;
|
|
429
|
+
country_code?: string;
|
|
430
|
+
};
|
|
431
|
+
/** @returns {BusinessDetails} */
|
|
432
|
+
declare function BusinessDetails(): BusinessDetails;
|
|
433
|
+
type BusinessDetails = {
|
|
434
|
+
website?: Website;
|
|
435
|
+
};
|
|
436
|
+
/** @returns {CompanyBrandListSerializer} */
|
|
437
|
+
declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
|
|
438
|
+
type CompanyBrandListSerializer = {
|
|
439
|
+
items?: CompanyBrandSerializer[];
|
|
440
|
+
page?: Page;
|
|
441
|
+
};
|
|
442
|
+
/** @returns {CompanyBrandPostRequestSerializer} */
|
|
443
|
+
declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
|
|
444
|
+
type CompanyBrandPostRequestSerializer = {
|
|
445
|
+
brands: number[];
|
|
446
|
+
company: number;
|
|
447
|
+
uid?: number;
|
|
448
|
+
};
|
|
449
|
+
/** @returns {CompanyBrandSerializer} */
|
|
450
|
+
declare function CompanyBrandSerializer(): CompanyBrandSerializer;
|
|
451
|
+
type CompanyBrandSerializer = {
|
|
452
|
+
brand?: GetBrandResponseSerializer;
|
|
453
|
+
company?: CompanySerializer;
|
|
454
|
+
created_by?: UserSerializer;
|
|
455
|
+
created_on?: string;
|
|
456
|
+
modified_by?: UserSerializer;
|
|
457
|
+
modified_on?: string;
|
|
458
|
+
reject_reason?: string;
|
|
459
|
+
stage?: string;
|
|
460
|
+
uid?: number;
|
|
461
|
+
verified_by?: UserSerializer;
|
|
462
|
+
verified_on?: string;
|
|
463
|
+
warnings?: any;
|
|
464
|
+
};
|
|
465
|
+
/** @returns {CompanyDetails} */
|
|
466
|
+
declare function CompanyDetails(): CompanyDetails;
|
|
467
|
+
type CompanyDetails = {
|
|
468
|
+
socials?: CompanySocialAccounts[];
|
|
469
|
+
website_url?: string;
|
|
470
|
+
};
|
|
471
|
+
/** @returns {CompanySerializer} */
|
|
472
|
+
declare function CompanySerializer(): CompanySerializer;
|
|
473
|
+
type CompanySerializer = {
|
|
474
|
+
_custom_json?: any;
|
|
475
|
+
addresses?: GetAddressSerializer[];
|
|
476
|
+
business_country_info?: BusinessCountryInfo;
|
|
477
|
+
business_type: string;
|
|
478
|
+
company_type: string;
|
|
479
|
+
created_by?: UserSerializer;
|
|
480
|
+
created_on?: string;
|
|
481
|
+
details?: CompanyDetails;
|
|
482
|
+
market_channels?: string[];
|
|
483
|
+
modified_by?: UserSerializer;
|
|
484
|
+
modified_on?: string;
|
|
485
|
+
name?: string;
|
|
486
|
+
notification_emails?: string[];
|
|
487
|
+
reject_reason?: string;
|
|
488
|
+
stage?: string;
|
|
489
|
+
uid?: number;
|
|
490
|
+
verified_by?: UserSerializer;
|
|
491
|
+
verified_on?: string;
|
|
492
|
+
};
|
|
493
|
+
/** @returns {CompanySocialAccounts} */
|
|
494
|
+
declare function CompanySocialAccounts(): CompanySocialAccounts;
|
|
495
|
+
type CompanySocialAccounts = {
|
|
496
|
+
name: string;
|
|
497
|
+
url: string;
|
|
498
|
+
};
|
|
499
|
+
/** @returns {CompanyTaxesSerializer} */
|
|
500
|
+
declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
|
|
501
|
+
type CompanyTaxesSerializer = {
|
|
502
|
+
effective_date?: string;
|
|
503
|
+
enable?: boolean;
|
|
504
|
+
rate?: number;
|
|
505
|
+
};
|
|
506
|
+
/** @returns {CompanyTaxesSerializer1} */
|
|
507
|
+
declare function CompanyTaxesSerializer1(): CompanyTaxesSerializer1;
|
|
508
|
+
type CompanyTaxesSerializer1 = {
|
|
509
|
+
effective_date?: string;
|
|
510
|
+
enable?: boolean;
|
|
511
|
+
rate?: number;
|
|
512
|
+
};
|
|
513
|
+
/** @returns {ContactDetails} */
|
|
514
|
+
declare function ContactDetails(): ContactDetails;
|
|
515
|
+
type ContactDetails = {
|
|
516
|
+
emails?: string[];
|
|
517
|
+
phone?: SellerPhoneNumber[];
|
|
518
|
+
};
|
|
519
|
+
/** @returns {CreateUpdateAddressSerializer} */
|
|
520
|
+
declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
|
|
521
|
+
type CreateUpdateAddressSerializer = {
|
|
522
|
+
address_type: string;
|
|
523
|
+
address1: string;
|
|
524
|
+
address2?: string;
|
|
525
|
+
city: string;
|
|
526
|
+
country: string;
|
|
527
|
+
country_code?: string;
|
|
528
|
+
landmark?: string;
|
|
529
|
+
latitude: number;
|
|
530
|
+
longitude: number;
|
|
531
|
+
pincode: number;
|
|
532
|
+
state: string;
|
|
533
|
+
};
|
|
534
|
+
/** @returns {CreateUpdateBrandRequestSerializer} */
|
|
535
|
+
declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
|
|
536
|
+
type CreateUpdateBrandRequestSerializer = {
|
|
537
|
+
_custom_json?: any;
|
|
538
|
+
_locale_language?: any;
|
|
539
|
+
banner: BrandBannerSerializer;
|
|
540
|
+
brand_tier?: string;
|
|
541
|
+
company_id?: number;
|
|
542
|
+
description?: string;
|
|
543
|
+
logo: string;
|
|
544
|
+
name: string;
|
|
545
|
+
synonyms?: string[];
|
|
546
|
+
uid?: number;
|
|
547
|
+
};
|
|
548
|
+
/** @returns {Document} */
|
|
549
|
+
declare function Document(): Document;
|
|
550
|
+
type Document = {
|
|
551
|
+
legal_name?: string;
|
|
552
|
+
type: string;
|
|
553
|
+
url?: string;
|
|
554
|
+
value: string;
|
|
555
|
+
verified?: boolean;
|
|
556
|
+
};
|
|
557
|
+
/** @returns {DocumentsObj} */
|
|
558
|
+
declare function DocumentsObj(): DocumentsObj;
|
|
559
|
+
type DocumentsObj = {
|
|
560
|
+
pending?: number;
|
|
561
|
+
verified?: number;
|
|
562
|
+
};
|
|
563
|
+
/** @returns {ErrorResponse} */
|
|
564
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
565
|
+
type ErrorResponse = {
|
|
566
|
+
code?: string;
|
|
567
|
+
message?: string;
|
|
568
|
+
meta?: any;
|
|
569
|
+
status?: number;
|
|
570
|
+
};
|
|
571
|
+
/** @returns {GetAddressSerializer} */
|
|
572
|
+
declare function GetAddressSerializer(): GetAddressSerializer;
|
|
573
|
+
type GetAddressSerializer = {
|
|
574
|
+
address_type?: string;
|
|
575
|
+
address1?: string;
|
|
576
|
+
address2?: string;
|
|
577
|
+
city?: string;
|
|
578
|
+
country?: string;
|
|
579
|
+
country_code?: string;
|
|
580
|
+
landmark?: string;
|
|
581
|
+
latitude: number;
|
|
582
|
+
longitude: number;
|
|
583
|
+
pincode?: number;
|
|
584
|
+
state?: string;
|
|
585
|
+
};
|
|
586
|
+
/** @returns {GetBrandResponseSerializer} */
|
|
587
|
+
declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
|
|
588
|
+
type GetBrandResponseSerializer = {
|
|
589
|
+
_custom_json?: any;
|
|
590
|
+
_locale_language?: any;
|
|
591
|
+
banner?: BrandBannerSerializer;
|
|
592
|
+
created_by?: UserSerializer;
|
|
593
|
+
created_on?: string;
|
|
594
|
+
description?: string;
|
|
595
|
+
logo?: string;
|
|
596
|
+
mode?: string;
|
|
597
|
+
modified_by?: UserSerializer;
|
|
598
|
+
modified_on?: string;
|
|
599
|
+
name: string;
|
|
600
|
+
reject_reason?: string;
|
|
601
|
+
slug_key?: string;
|
|
602
|
+
stage?: string;
|
|
603
|
+
synonyms?: string[];
|
|
604
|
+
uid?: number;
|
|
605
|
+
verified_by?: UserSerializer;
|
|
606
|
+
verified_on?: string;
|
|
607
|
+
warnings?: any;
|
|
608
|
+
};
|
|
609
|
+
/** @returns {GetCompanyProfileSerializerResponse} */
|
|
610
|
+
declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
|
|
611
|
+
type GetCompanyProfileSerializerResponse = {
|
|
612
|
+
_custom_json?: any;
|
|
613
|
+
addresses?: GetAddressSerializer[];
|
|
614
|
+
business_country_info?: BusinessCountryInfo;
|
|
615
|
+
business_details?: BusinessDetails;
|
|
616
|
+
business_info?: string;
|
|
617
|
+
business_type?: string;
|
|
618
|
+
company_type: string;
|
|
619
|
+
contact_details?: ContactDetails;
|
|
620
|
+
created_by?: UserSerializer;
|
|
621
|
+
created_on?: string;
|
|
622
|
+
documents?: Document[];
|
|
623
|
+
franchise_enabled?: boolean;
|
|
624
|
+
mode?: string;
|
|
625
|
+
modified_by?: UserSerializer;
|
|
626
|
+
modified_on?: string;
|
|
627
|
+
name?: string;
|
|
628
|
+
notification_emails?: string[];
|
|
629
|
+
stage?: string;
|
|
630
|
+
taxes?: CompanyTaxesSerializer[];
|
|
631
|
+
uid: number;
|
|
632
|
+
verified_by?: UserSerializer;
|
|
633
|
+
verified_on?: string;
|
|
634
|
+
warnings?: any;
|
|
635
|
+
};
|
|
636
|
+
/** @returns {GetCompanySerializer} */
|
|
637
|
+
declare function GetCompanySerializer(): GetCompanySerializer;
|
|
638
|
+
type GetCompanySerializer = {
|
|
639
|
+
addresses?: GetAddressSerializer[];
|
|
640
|
+
business_type?: string;
|
|
641
|
+
company_type?: string;
|
|
642
|
+
created_by?: UserSerializer;
|
|
643
|
+
created_on?: string;
|
|
644
|
+
modified_by?: UserSerializer;
|
|
645
|
+
modified_on?: string;
|
|
646
|
+
name?: string;
|
|
647
|
+
reject_reason?: string;
|
|
648
|
+
stage?: string;
|
|
649
|
+
uid?: number;
|
|
650
|
+
verified_by?: UserSerializer;
|
|
651
|
+
verified_on?: string;
|
|
652
|
+
};
|
|
653
|
+
/** @returns {GetLocationSerializer} */
|
|
654
|
+
declare function GetLocationSerializer(): GetLocationSerializer;
|
|
655
|
+
type GetLocationSerializer = {
|
|
656
|
+
_custom_json?: any;
|
|
657
|
+
address: GetAddressSerializer;
|
|
658
|
+
auto_invoice?: boolean;
|
|
659
|
+
code: string;
|
|
660
|
+
company?: GetCompanySerializer;
|
|
661
|
+
contact_numbers?: SellerPhoneNumber[];
|
|
662
|
+
created_by?: UserSerializer;
|
|
663
|
+
created_on?: string;
|
|
664
|
+
credit_note?: boolean;
|
|
665
|
+
display_name: string;
|
|
666
|
+
documents?: Document[];
|
|
667
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
668
|
+
holiday?: HolidaySchemaSerializer[];
|
|
669
|
+
manager?: LocationManagerSerializer;
|
|
670
|
+
modified_by?: UserSerializer;
|
|
671
|
+
modified_on?: string;
|
|
672
|
+
name: string;
|
|
673
|
+
notification_emails?: string[];
|
|
674
|
+
phone_number?: string;
|
|
675
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
676
|
+
stage?: string;
|
|
677
|
+
store_type?: string;
|
|
678
|
+
timing?: LocationDayWiseSerializer[];
|
|
679
|
+
uid?: number;
|
|
680
|
+
verified_by?: UserSerializer;
|
|
681
|
+
verified_on?: string;
|
|
682
|
+
warnings?: any;
|
|
683
|
+
};
|
|
684
|
+
/** @returns {HolidayDateSerializer} */
|
|
685
|
+
declare function HolidayDateSerializer(): HolidayDateSerializer;
|
|
686
|
+
type HolidayDateSerializer = {
|
|
687
|
+
end_date: string;
|
|
688
|
+
start_date: string;
|
|
689
|
+
};
|
|
690
|
+
/** @returns {HolidaySchemaSerializer} */
|
|
691
|
+
declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
|
|
692
|
+
type HolidaySchemaSerializer = {
|
|
693
|
+
date: HolidayDateSerializer;
|
|
694
|
+
holiday_type: string;
|
|
695
|
+
title: string;
|
|
696
|
+
};
|
|
697
|
+
/** @returns {InvoiceCredSerializer} */
|
|
698
|
+
declare function InvoiceCredSerializer(): InvoiceCredSerializer;
|
|
699
|
+
type InvoiceCredSerializer = {
|
|
700
|
+
enabled?: boolean;
|
|
701
|
+
password?: string;
|
|
702
|
+
username?: string;
|
|
703
|
+
};
|
|
704
|
+
/** @returns {InvoiceDetailsSerializer} */
|
|
705
|
+
declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
|
|
706
|
+
type InvoiceDetailsSerializer = {
|
|
707
|
+
e_invoice?: InvoiceCredSerializer;
|
|
708
|
+
e_waybill?: InvoiceCredSerializer;
|
|
709
|
+
};
|
|
710
|
+
/** @returns {LocationDayWiseSerializer} */
|
|
711
|
+
declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
|
|
712
|
+
type LocationDayWiseSerializer = {
|
|
713
|
+
closing?: LocationTimingSerializer;
|
|
714
|
+
open: boolean;
|
|
715
|
+
opening?: LocationTimingSerializer;
|
|
716
|
+
weekday: string;
|
|
717
|
+
};
|
|
718
|
+
/** @returns {LocationListSerializer} */
|
|
719
|
+
declare function LocationListSerializer(): LocationListSerializer;
|
|
720
|
+
type LocationListSerializer = {
|
|
721
|
+
items?: GetLocationSerializer[];
|
|
722
|
+
page?: Page;
|
|
723
|
+
};
|
|
724
|
+
/** @returns {LocationManagerSerializer} */
|
|
725
|
+
declare function LocationManagerSerializer(): LocationManagerSerializer;
|
|
726
|
+
type LocationManagerSerializer = {
|
|
727
|
+
email?: string;
|
|
728
|
+
mobile_no: SellerPhoneNumber;
|
|
729
|
+
name?: string;
|
|
730
|
+
};
|
|
731
|
+
/** @returns {LocationSerializer} */
|
|
732
|
+
declare function LocationSerializer(): LocationSerializer;
|
|
733
|
+
type LocationSerializer = {
|
|
734
|
+
_custom_json?: any;
|
|
735
|
+
address: AddressSerializer;
|
|
736
|
+
auto_invoice?: boolean;
|
|
737
|
+
code: string;
|
|
738
|
+
company: number;
|
|
739
|
+
contact_numbers?: SellerPhoneNumber[];
|
|
740
|
+
credit_note?: boolean;
|
|
741
|
+
display_name: string;
|
|
742
|
+
documents?: Document[];
|
|
743
|
+
gst_credentials?: InvoiceDetailsSerializer;
|
|
744
|
+
holiday?: HolidaySchemaSerializer[];
|
|
745
|
+
manager?: LocationManagerSerializer;
|
|
746
|
+
name: string;
|
|
747
|
+
notification_emails?: string[];
|
|
748
|
+
product_return_config?: ProductReturnConfigSerializer;
|
|
749
|
+
stage?: string;
|
|
750
|
+
store_type?: string;
|
|
751
|
+
timing?: LocationDayWiseSerializer[];
|
|
752
|
+
uid?: number;
|
|
753
|
+
warnings?: any;
|
|
754
|
+
};
|
|
755
|
+
/** @returns {LocationTimingSerializer} */
|
|
756
|
+
declare function LocationTimingSerializer(): LocationTimingSerializer;
|
|
757
|
+
type LocationTimingSerializer = {
|
|
758
|
+
hour: number;
|
|
759
|
+
minute: number;
|
|
760
|
+
};
|
|
761
|
+
/** @returns {MetricsSerializer} */
|
|
762
|
+
declare function MetricsSerializer(): MetricsSerializer;
|
|
763
|
+
type MetricsSerializer = {
|
|
764
|
+
brand?: DocumentsObj;
|
|
765
|
+
company_documents?: DocumentsObj;
|
|
766
|
+
product?: DocumentsObj;
|
|
767
|
+
stage?: string;
|
|
768
|
+
store?: DocumentsObj;
|
|
769
|
+
store_documents?: DocumentsObj;
|
|
770
|
+
uid?: number;
|
|
771
|
+
};
|
|
772
|
+
/** @returns {Page} */
|
|
773
|
+
declare function Page(): Page;
|
|
774
|
+
type Page = {
|
|
775
|
+
current?: number;
|
|
776
|
+
has_next?: boolean;
|
|
777
|
+
has_previous?: boolean;
|
|
778
|
+
item_total?: number;
|
|
779
|
+
next_id?: string;
|
|
780
|
+
size?: number;
|
|
781
|
+
type: string;
|
|
782
|
+
};
|
|
783
|
+
/** @returns {ProductReturnConfigSerializer} */
|
|
784
|
+
declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
|
|
785
|
+
type ProductReturnConfigSerializer = {
|
|
786
|
+
on_same_store?: boolean;
|
|
787
|
+
store_uid?: number;
|
|
788
|
+
};
|
|
789
|
+
/** @returns {ProfileSuccessResponse} */
|
|
790
|
+
declare function ProfileSuccessResponse(): ProfileSuccessResponse;
|
|
791
|
+
type ProfileSuccessResponse = {
|
|
792
|
+
message?: string;
|
|
793
|
+
success?: boolean;
|
|
794
|
+
uid?: number;
|
|
795
|
+
};
|
|
796
|
+
/** @returns {SellerPhoneNumber} */
|
|
797
|
+
declare function SellerPhoneNumber(): SellerPhoneNumber;
|
|
798
|
+
type SellerPhoneNumber = {
|
|
799
|
+
country_code: number;
|
|
800
|
+
number: string;
|
|
801
|
+
};
|
|
802
|
+
/** @returns {UpdateCompany} */
|
|
803
|
+
declare function UpdateCompany(): UpdateCompany;
|
|
804
|
+
type UpdateCompany = {
|
|
805
|
+
_custom_json?: any;
|
|
806
|
+
addresses?: CreateUpdateAddressSerializer[];
|
|
807
|
+
business_details?: BusinessDetails;
|
|
808
|
+
business_info?: string;
|
|
809
|
+
business_type?: string;
|
|
810
|
+
company_type?: string;
|
|
811
|
+
contact_details?: ContactDetails;
|
|
812
|
+
documents?: Document[];
|
|
813
|
+
franchise_enabled?: boolean;
|
|
814
|
+
name?: string;
|
|
815
|
+
notification_emails?: string[];
|
|
816
|
+
reject_reason?: string;
|
|
817
|
+
taxes?: CompanyTaxesSerializer1[];
|
|
818
|
+
warnings?: any;
|
|
819
|
+
};
|
|
820
|
+
/** @returns {UserSerializer} */
|
|
821
|
+
declare function UserSerializer(): UserSerializer;
|
|
822
|
+
type UserSerializer = {
|
|
823
|
+
contact?: string;
|
|
824
|
+
user_id?: string;
|
|
825
|
+
username?: string;
|
|
826
|
+
};
|
|
827
|
+
/** @returns {Website} */
|
|
828
|
+
declare function Website(): Website;
|
|
829
|
+
type Website = {
|
|
830
|
+
url?: string;
|
|
831
|
+
};
|