@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,51 +1,620 @@
|
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
export = FinancePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef CreditlineDataPlatformPayload
|
|
4
|
+
* @property {string} [end_end]
|
|
5
|
+
* @property {number} [page]
|
|
6
|
+
* @property {number} [pagesize]
|
|
7
|
+
* @property {string} [seller_id]
|
|
8
|
+
* @property {string} [start_end]
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef CreditlineDataPlatformRequest
|
|
12
|
+
* @property {CreditlineDataPlatformPayload} [data]
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @typedef CreditlineDataPlatformResponse
|
|
16
|
+
* @property {number} [code]
|
|
17
|
+
* @property {string[]} [headers]
|
|
18
|
+
* @property {number} [item_count]
|
|
19
|
+
* @property {Object[]} [items]
|
|
20
|
+
* @property {string} [message]
|
|
21
|
+
* @property {Object} [page]
|
|
22
|
+
* @property {boolean} [show_mr]
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* @typedef DownloadCreditDebitNote
|
|
26
|
+
* @property {string[]} [note_id]
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef DownloadCreditDebitNoteRequest
|
|
30
|
+
* @property {DownloadCreditDebitNote} [data]
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* @typedef DownloadCreditDebitNoteResponse
|
|
34
|
+
* @property {DownloadCreditDebitNoteResponseData[]} [data]
|
|
35
|
+
* @property {boolean} [success]
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* @typedef DownloadCreditDebitNoteResponseData
|
|
39
|
+
* @property {string} [id]
|
|
40
|
+
* @property {string} [pdf_s3_url]
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* @typedef DownloadReport
|
|
44
|
+
* @property {string} [end_date]
|
|
45
|
+
* @property {number} [page]
|
|
46
|
+
* @property {number} [pagesize]
|
|
47
|
+
* @property {string} [start_date]
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* @typedef DownloadReportItems
|
|
51
|
+
* @property {string} [end_date]
|
|
52
|
+
* @property {GenerateReportFilters} [filters]
|
|
53
|
+
* @property {GenerateReportMeta} [meta]
|
|
54
|
+
* @property {string} [report_id]
|
|
55
|
+
* @property {string} [start_date]
|
|
56
|
+
* @property {string} [type_of_request]
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* @typedef DownloadReportList
|
|
60
|
+
* @property {number} [item_count]
|
|
61
|
+
* @property {DownloadReportItems[]} [items]
|
|
62
|
+
* @property {Page} [page]
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* @typedef Error
|
|
66
|
+
* @property {string} [reason]
|
|
67
|
+
* @property {boolean} [success]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef GenerateReportFilters
|
|
71
|
+
* @property {string[]} [brand]
|
|
72
|
+
* @property {string[]} [channel]
|
|
73
|
+
* @property {string[]} [company]
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef GenerateReportJson
|
|
77
|
+
* @property {string} [end_date]
|
|
78
|
+
* @property {string[]} [headers]
|
|
79
|
+
* @property {number} [item_count]
|
|
80
|
+
* @property {string[][]} [items]
|
|
81
|
+
* @property {Page} [page]
|
|
82
|
+
* @property {string} [start_date]
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @typedef GenerateReportMeta
|
|
86
|
+
* @property {string} [brand]
|
|
87
|
+
* @property {string} [channel]
|
|
88
|
+
* @property {string} [company]
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* @typedef GenerateReportPlatform
|
|
92
|
+
* @property {string} [end_date]
|
|
93
|
+
* @property {GenerateReportFilters} [filters]
|
|
94
|
+
* @property {GenerateReportMeta} [meta]
|
|
95
|
+
* @property {string} [report_id]
|
|
96
|
+
* @property {string} [start_date]
|
|
97
|
+
*/
|
|
98
|
+
/**
|
|
99
|
+
* @typedef GenerateReportRequest
|
|
100
|
+
* @property {GenerateReportPlatform} [data]
|
|
101
|
+
*/
|
|
102
|
+
/**
|
|
103
|
+
* @typedef GetAffiliate
|
|
104
|
+
* @property {number} [company_id]
|
|
105
|
+
*/
|
|
106
|
+
/**
|
|
107
|
+
* @typedef GetAffiliateResponse
|
|
108
|
+
* @property {Object[]} [docs]
|
|
109
|
+
* @property {boolean} [success]
|
|
110
|
+
*/
|
|
111
|
+
/**
|
|
112
|
+
* @typedef GetDocs
|
|
113
|
+
* @property {Object[]} [docs]
|
|
114
|
+
* @property {Object[]} [items]
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* @typedef GetEngineData
|
|
118
|
+
* @property {GetEngineFilters} [filters]
|
|
119
|
+
* @property {string[]} [project]
|
|
120
|
+
* @property {string} [table_name]
|
|
121
|
+
*/
|
|
122
|
+
/**
|
|
123
|
+
* @typedef GetEngineFilters
|
|
124
|
+
* @property {string} [config_field]
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* @typedef GetEngineRequest
|
|
128
|
+
* @property {GetEngineData} [data]
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* @typedef GetEngineResponse
|
|
132
|
+
* @property {number} [item_count]
|
|
133
|
+
* @property {Object[]} [items]
|
|
134
|
+
* @property {Page} [page]
|
|
135
|
+
* @property {boolean} [success]
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* @typedef GetReason
|
|
139
|
+
* @property {string} [reason_type]
|
|
140
|
+
*/
|
|
141
|
+
/**
|
|
142
|
+
* @typedef GetReasonRequest
|
|
143
|
+
* @property {GetReason} [data]
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* @typedef GetReasonResponse
|
|
147
|
+
* @property {GetDocs} [data]
|
|
148
|
+
* @property {boolean} [success]
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* @typedef GetReportListData
|
|
152
|
+
* @property {boolean} [listing_enabled]
|
|
153
|
+
* @property {string} [role_name]
|
|
154
|
+
*/
|
|
155
|
+
/**
|
|
156
|
+
* @typedef GetReportListRequest
|
|
157
|
+
* @property {GetReportListData} [data]
|
|
158
|
+
*/
|
|
159
|
+
/**
|
|
160
|
+
* @typedef InoviceListingPayloadDataFilters
|
|
161
|
+
* @property {string[]} [company_id]
|
|
162
|
+
* @property {string[]} [invoice_type]
|
|
163
|
+
* @property {string[]} [payment_status]
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* @typedef InvoiceListingPayloadData
|
|
167
|
+
* @property {string} [end_date]
|
|
168
|
+
* @property {InoviceListingPayloadDataFilters} [filters]
|
|
169
|
+
* @property {number} [page]
|
|
170
|
+
* @property {number} [page_size]
|
|
171
|
+
* @property {string} [search]
|
|
172
|
+
* @property {string} [start_date]
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* @typedef InvoiceListingRequest
|
|
176
|
+
* @property {InvoiceListingPayloadData} [data]
|
|
177
|
+
*/
|
|
178
|
+
/**
|
|
179
|
+
* @typedef InvoiceListingResponse
|
|
180
|
+
* @property {number} [item_count]
|
|
181
|
+
* @property {InvoiceListingResponseItems[]} [items]
|
|
182
|
+
* @property {Page} [page]
|
|
183
|
+
* @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* @typedef InvoiceListingResponseItems
|
|
187
|
+
* @property {string} [amount]
|
|
188
|
+
* @property {string} [company]
|
|
189
|
+
* @property {string} [due_date]
|
|
190
|
+
* @property {string} [invoice_date]
|
|
191
|
+
* @property {string} [invoice_id]
|
|
192
|
+
* @property {string} [invoice_number]
|
|
193
|
+
* @property {string} [invoice_type]
|
|
194
|
+
* @property {boolean} [is_downloadable]
|
|
195
|
+
* @property {string} [period]
|
|
196
|
+
* @property {string} [status]
|
|
197
|
+
*/
|
|
198
|
+
/**
|
|
199
|
+
* @typedef InvoicePdfPayloadData
|
|
200
|
+
* @property {string[]} [invoice_number]
|
|
201
|
+
*/
|
|
202
|
+
/**
|
|
203
|
+
* @typedef InvoicePdfRequest
|
|
204
|
+
* @property {InvoicePdfPayloadData} [data]
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* @typedef InvoicePdfResponse
|
|
208
|
+
* @property {string[]} [data]
|
|
209
|
+
* @property {string[]} [error]
|
|
210
|
+
* @property {boolean} [success]
|
|
211
|
+
*/
|
|
212
|
+
/**
|
|
213
|
+
* @typedef InvoiceTypePayloadData
|
|
214
|
+
* @property {boolean} [is_active]
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* @typedef InvoiceTypeRequest
|
|
218
|
+
* @property {InvoiceTypePayloadData} [data]
|
|
219
|
+
*/
|
|
220
|
+
/**
|
|
221
|
+
* @typedef InvoiceTypeResponse
|
|
222
|
+
* @property {InvoiceTypeResponseItems[]} [invoice_type_list]
|
|
223
|
+
* @property {InvoiceTypeResponseItems[]} [payment_status_list]
|
|
224
|
+
* @property {boolean} [success]
|
|
225
|
+
*/
|
|
226
|
+
/**
|
|
227
|
+
* @typedef InvoiceTypeResponseItems
|
|
228
|
+
* @property {string} [text]
|
|
229
|
+
* @property {string} [value]
|
|
230
|
+
*/
|
|
231
|
+
/**
|
|
232
|
+
* @typedef IsCreditlinePayload
|
|
233
|
+
* @property {string} [seller_id]
|
|
234
|
+
*/
|
|
235
|
+
/**
|
|
236
|
+
* @typedef IsCreditlinePlatformRequest
|
|
237
|
+
* @property {IsCreditlinePayload} [data]
|
|
238
|
+
*/
|
|
239
|
+
/**
|
|
240
|
+
* @typedef IsCreditlinePlatformResponse
|
|
241
|
+
* @property {number} [code]
|
|
242
|
+
* @property {boolean} [is_creditline_opted]
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* @typedef Page
|
|
246
|
+
* @property {number} [current]
|
|
247
|
+
* @property {boolean} [has_next]
|
|
248
|
+
* @property {boolean} [has_previous]
|
|
249
|
+
* @property {number} [item_total]
|
|
250
|
+
* @property {string} [next_id]
|
|
251
|
+
* @property {number} [size]
|
|
252
|
+
* @property {string} type
|
|
253
|
+
*/
|
|
254
|
+
/**
|
|
255
|
+
* @typedef PaymentProcessPayload
|
|
256
|
+
* @property {string} [amount]
|
|
257
|
+
* @property {string} [currency]
|
|
258
|
+
* @property {string} [invoice_number]
|
|
259
|
+
* @property {Object} [meta]
|
|
260
|
+
* @property {string} [mode_of_payment]
|
|
261
|
+
* @property {string} [platform]
|
|
262
|
+
* @property {string} [seller_id]
|
|
263
|
+
* @property {string} [source_reference]
|
|
264
|
+
* @property {string} [total_amount]
|
|
265
|
+
* @property {string} [transaction_type]
|
|
266
|
+
*/
|
|
267
|
+
/**
|
|
268
|
+
* @typedef PaymentProcessRequest
|
|
269
|
+
* @property {PaymentProcessPayload} [data]
|
|
270
|
+
*/
|
|
271
|
+
/**
|
|
272
|
+
* @typedef PaymentProcessResponse
|
|
273
|
+
* @property {number} [code]
|
|
274
|
+
* @property {string} [message]
|
|
275
|
+
* @property {Object} [meta]
|
|
276
|
+
* @property {string} [redirect_url]
|
|
277
|
+
* @property {string} [transaction_id]
|
|
278
|
+
*/
|
|
279
|
+
/**
|
|
280
|
+
* @typedef UnpaidInvoiceDataItems
|
|
281
|
+
* @property {string} [currency]
|
|
282
|
+
* @property {number} [total_unpaid_amount]
|
|
283
|
+
* @property {number} [total_unpaid_invoice_count]
|
|
284
|
+
*/
|
|
285
|
+
declare class FinancePlatformModel {
|
|
51
286
|
}
|
|
287
|
+
declare namespace FinancePlatformModel {
|
|
288
|
+
export { CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportItems, DownloadReportList, Error, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetDocs, GetEngineData, GetEngineFilters, GetEngineRequest, GetEngineResponse, GetReason, GetReasonRequest, GetReasonResponse, GetReportListData, GetReportListRequest, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, UnpaidInvoiceDataItems };
|
|
289
|
+
}
|
|
290
|
+
/** @returns {CreditlineDataPlatformPayload} */
|
|
291
|
+
declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
|
|
292
|
+
type CreditlineDataPlatformPayload = {
|
|
293
|
+
end_end?: string;
|
|
294
|
+
page?: number;
|
|
295
|
+
pagesize?: number;
|
|
296
|
+
seller_id?: string;
|
|
297
|
+
start_end?: string;
|
|
298
|
+
};
|
|
299
|
+
/** @returns {CreditlineDataPlatformRequest} */
|
|
300
|
+
declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
|
|
301
|
+
type CreditlineDataPlatformRequest = {
|
|
302
|
+
data?: CreditlineDataPlatformPayload;
|
|
303
|
+
};
|
|
304
|
+
/** @returns {CreditlineDataPlatformResponse} */
|
|
305
|
+
declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
|
|
306
|
+
type CreditlineDataPlatformResponse = {
|
|
307
|
+
code?: number;
|
|
308
|
+
headers?: string[];
|
|
309
|
+
item_count?: number;
|
|
310
|
+
items?: any[];
|
|
311
|
+
message?: string;
|
|
312
|
+
page?: any;
|
|
313
|
+
show_mr?: boolean;
|
|
314
|
+
};
|
|
315
|
+
/** @returns {DownloadCreditDebitNote} */
|
|
316
|
+
declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
|
|
317
|
+
type DownloadCreditDebitNote = {
|
|
318
|
+
note_id?: string[];
|
|
319
|
+
};
|
|
320
|
+
/** @returns {DownloadCreditDebitNoteRequest} */
|
|
321
|
+
declare function DownloadCreditDebitNoteRequest(): DownloadCreditDebitNoteRequest;
|
|
322
|
+
type DownloadCreditDebitNoteRequest = {
|
|
323
|
+
data?: DownloadCreditDebitNote;
|
|
324
|
+
};
|
|
325
|
+
/** @returns {DownloadCreditDebitNoteResponse} */
|
|
326
|
+
declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
|
|
327
|
+
type DownloadCreditDebitNoteResponse = {
|
|
328
|
+
data?: DownloadCreditDebitNoteResponseData[];
|
|
329
|
+
success?: boolean;
|
|
330
|
+
};
|
|
331
|
+
/** @returns {DownloadCreditDebitNoteResponseData} */
|
|
332
|
+
declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
|
|
333
|
+
type DownloadCreditDebitNoteResponseData = {
|
|
334
|
+
id?: string;
|
|
335
|
+
pdf_s3_url?: string;
|
|
336
|
+
};
|
|
337
|
+
/** @returns {DownloadReport} */
|
|
338
|
+
declare function DownloadReport(): DownloadReport;
|
|
339
|
+
type DownloadReport = {
|
|
340
|
+
end_date?: string;
|
|
341
|
+
page?: number;
|
|
342
|
+
pagesize?: number;
|
|
343
|
+
start_date?: string;
|
|
344
|
+
};
|
|
345
|
+
/** @returns {DownloadReportItems} */
|
|
346
|
+
declare function DownloadReportItems(): DownloadReportItems;
|
|
347
|
+
type DownloadReportItems = {
|
|
348
|
+
end_date?: string;
|
|
349
|
+
filters?: GenerateReportFilters;
|
|
350
|
+
meta?: GenerateReportMeta;
|
|
351
|
+
report_id?: string;
|
|
352
|
+
start_date?: string;
|
|
353
|
+
type_of_request?: string;
|
|
354
|
+
};
|
|
355
|
+
/** @returns {DownloadReportList} */
|
|
356
|
+
declare function DownloadReportList(): DownloadReportList;
|
|
357
|
+
type DownloadReportList = {
|
|
358
|
+
item_count?: number;
|
|
359
|
+
items?: DownloadReportItems[];
|
|
360
|
+
page?: Page;
|
|
361
|
+
};
|
|
362
|
+
/** @returns {Error} */
|
|
363
|
+
declare function Error(): Error;
|
|
364
|
+
type Error = {
|
|
365
|
+
reason?: string;
|
|
366
|
+
success?: boolean;
|
|
367
|
+
};
|
|
368
|
+
/** @returns {GenerateReportFilters} */
|
|
369
|
+
declare function GenerateReportFilters(): GenerateReportFilters;
|
|
370
|
+
type GenerateReportFilters = {
|
|
371
|
+
brand?: string[];
|
|
372
|
+
channel?: string[];
|
|
373
|
+
company?: string[];
|
|
374
|
+
};
|
|
375
|
+
/** @returns {GenerateReportJson} */
|
|
376
|
+
declare function GenerateReportJson(): GenerateReportJson;
|
|
377
|
+
type GenerateReportJson = {
|
|
378
|
+
end_date?: string;
|
|
379
|
+
headers?: string[];
|
|
380
|
+
item_count?: number;
|
|
381
|
+
items?: string[][];
|
|
382
|
+
page?: Page;
|
|
383
|
+
start_date?: string;
|
|
384
|
+
};
|
|
385
|
+
/** @returns {GenerateReportMeta} */
|
|
386
|
+
declare function GenerateReportMeta(): GenerateReportMeta;
|
|
387
|
+
type GenerateReportMeta = {
|
|
388
|
+
brand?: string;
|
|
389
|
+
channel?: string;
|
|
390
|
+
company?: string;
|
|
391
|
+
};
|
|
392
|
+
/** @returns {GenerateReportPlatform} */
|
|
393
|
+
declare function GenerateReportPlatform(): GenerateReportPlatform;
|
|
394
|
+
type GenerateReportPlatform = {
|
|
395
|
+
end_date?: string;
|
|
396
|
+
filters?: GenerateReportFilters;
|
|
397
|
+
meta?: GenerateReportMeta;
|
|
398
|
+
report_id?: string;
|
|
399
|
+
start_date?: string;
|
|
400
|
+
};
|
|
401
|
+
/** @returns {GenerateReportRequest} */
|
|
402
|
+
declare function GenerateReportRequest(): GenerateReportRequest;
|
|
403
|
+
type GenerateReportRequest = {
|
|
404
|
+
data?: GenerateReportPlatform;
|
|
405
|
+
};
|
|
406
|
+
/** @returns {GetAffiliate} */
|
|
407
|
+
declare function GetAffiliate(): GetAffiliate;
|
|
408
|
+
type GetAffiliate = {
|
|
409
|
+
company_id?: number;
|
|
410
|
+
};
|
|
411
|
+
/** @returns {GetAffiliateResponse} */
|
|
412
|
+
declare function GetAffiliateResponse(): GetAffiliateResponse;
|
|
413
|
+
type GetAffiliateResponse = {
|
|
414
|
+
docs?: any[];
|
|
415
|
+
success?: boolean;
|
|
416
|
+
};
|
|
417
|
+
/** @returns {GetDocs} */
|
|
418
|
+
declare function GetDocs(): GetDocs;
|
|
419
|
+
type GetDocs = {
|
|
420
|
+
docs?: any[];
|
|
421
|
+
items?: any[];
|
|
422
|
+
};
|
|
423
|
+
/** @returns {GetEngineData} */
|
|
424
|
+
declare function GetEngineData(): GetEngineData;
|
|
425
|
+
type GetEngineData = {
|
|
426
|
+
filters?: GetEngineFilters;
|
|
427
|
+
project?: string[];
|
|
428
|
+
table_name?: string;
|
|
429
|
+
};
|
|
430
|
+
/** @returns {GetEngineFilters} */
|
|
431
|
+
declare function GetEngineFilters(): GetEngineFilters;
|
|
432
|
+
type GetEngineFilters = {
|
|
433
|
+
config_field?: string;
|
|
434
|
+
};
|
|
435
|
+
/** @returns {GetEngineRequest} */
|
|
436
|
+
declare function GetEngineRequest(): GetEngineRequest;
|
|
437
|
+
type GetEngineRequest = {
|
|
438
|
+
data?: GetEngineData;
|
|
439
|
+
};
|
|
440
|
+
/** @returns {GetEngineResponse} */
|
|
441
|
+
declare function GetEngineResponse(): GetEngineResponse;
|
|
442
|
+
type GetEngineResponse = {
|
|
443
|
+
item_count?: number;
|
|
444
|
+
items?: any[];
|
|
445
|
+
page?: Page;
|
|
446
|
+
success?: boolean;
|
|
447
|
+
};
|
|
448
|
+
/** @returns {GetReason} */
|
|
449
|
+
declare function GetReason(): GetReason;
|
|
450
|
+
type GetReason = {
|
|
451
|
+
reason_type?: string;
|
|
452
|
+
};
|
|
453
|
+
/** @returns {GetReasonRequest} */
|
|
454
|
+
declare function GetReasonRequest(): GetReasonRequest;
|
|
455
|
+
type GetReasonRequest = {
|
|
456
|
+
data?: GetReason;
|
|
457
|
+
};
|
|
458
|
+
/** @returns {GetReasonResponse} */
|
|
459
|
+
declare function GetReasonResponse(): GetReasonResponse;
|
|
460
|
+
type GetReasonResponse = {
|
|
461
|
+
data?: GetDocs;
|
|
462
|
+
success?: boolean;
|
|
463
|
+
};
|
|
464
|
+
/** @returns {GetReportListData} */
|
|
465
|
+
declare function GetReportListData(): GetReportListData;
|
|
466
|
+
type GetReportListData = {
|
|
467
|
+
listing_enabled?: boolean;
|
|
468
|
+
role_name?: string;
|
|
469
|
+
};
|
|
470
|
+
/** @returns {GetReportListRequest} */
|
|
471
|
+
declare function GetReportListRequest(): GetReportListRequest;
|
|
472
|
+
type GetReportListRequest = {
|
|
473
|
+
data?: GetReportListData;
|
|
474
|
+
};
|
|
475
|
+
/** @returns {InoviceListingPayloadDataFilters} */
|
|
476
|
+
declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
|
|
477
|
+
type InoviceListingPayloadDataFilters = {
|
|
478
|
+
company_id?: string[];
|
|
479
|
+
invoice_type?: string[];
|
|
480
|
+
payment_status?: string[];
|
|
481
|
+
};
|
|
482
|
+
/** @returns {InvoiceListingPayloadData} */
|
|
483
|
+
declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
|
|
484
|
+
type InvoiceListingPayloadData = {
|
|
485
|
+
end_date?: string;
|
|
486
|
+
filters?: InoviceListingPayloadDataFilters;
|
|
487
|
+
page?: number;
|
|
488
|
+
page_size?: number;
|
|
489
|
+
search?: string;
|
|
490
|
+
start_date?: string;
|
|
491
|
+
};
|
|
492
|
+
/** @returns {InvoiceListingRequest} */
|
|
493
|
+
declare function InvoiceListingRequest(): InvoiceListingRequest;
|
|
494
|
+
type InvoiceListingRequest = {
|
|
495
|
+
data?: InvoiceListingPayloadData;
|
|
496
|
+
};
|
|
497
|
+
/** @returns {InvoiceListingResponse} */
|
|
498
|
+
declare function InvoiceListingResponse(): InvoiceListingResponse;
|
|
499
|
+
type InvoiceListingResponse = {
|
|
500
|
+
item_count?: number;
|
|
501
|
+
items?: InvoiceListingResponseItems[];
|
|
502
|
+
page?: Page;
|
|
503
|
+
unpaid_invoice_data?: UnpaidInvoiceDataItems;
|
|
504
|
+
};
|
|
505
|
+
/** @returns {InvoiceListingResponseItems} */
|
|
506
|
+
declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
|
|
507
|
+
type InvoiceListingResponseItems = {
|
|
508
|
+
amount?: string;
|
|
509
|
+
company?: string;
|
|
510
|
+
due_date?: string;
|
|
511
|
+
invoice_date?: string;
|
|
512
|
+
invoice_id?: string;
|
|
513
|
+
invoice_number?: string;
|
|
514
|
+
invoice_type?: string;
|
|
515
|
+
is_downloadable?: boolean;
|
|
516
|
+
period?: string;
|
|
517
|
+
status?: string;
|
|
518
|
+
};
|
|
519
|
+
/** @returns {InvoicePdfPayloadData} */
|
|
520
|
+
declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
|
|
521
|
+
type InvoicePdfPayloadData = {
|
|
522
|
+
invoice_number?: string[];
|
|
523
|
+
};
|
|
524
|
+
/** @returns {InvoicePdfRequest} */
|
|
525
|
+
declare function InvoicePdfRequest(): InvoicePdfRequest;
|
|
526
|
+
type InvoicePdfRequest = {
|
|
527
|
+
data?: InvoicePdfPayloadData;
|
|
528
|
+
};
|
|
529
|
+
/** @returns {InvoicePdfResponse} */
|
|
530
|
+
declare function InvoicePdfResponse(): InvoicePdfResponse;
|
|
531
|
+
type InvoicePdfResponse = {
|
|
532
|
+
data?: string[];
|
|
533
|
+
error?: string[];
|
|
534
|
+
success?: boolean;
|
|
535
|
+
};
|
|
536
|
+
/** @returns {InvoiceTypePayloadData} */
|
|
537
|
+
declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
|
|
538
|
+
type InvoiceTypePayloadData = {
|
|
539
|
+
is_active?: boolean;
|
|
540
|
+
};
|
|
541
|
+
/** @returns {InvoiceTypeRequest} */
|
|
542
|
+
declare function InvoiceTypeRequest(): InvoiceTypeRequest;
|
|
543
|
+
type InvoiceTypeRequest = {
|
|
544
|
+
data?: InvoiceTypePayloadData;
|
|
545
|
+
};
|
|
546
|
+
/** @returns {InvoiceTypeResponse} */
|
|
547
|
+
declare function InvoiceTypeResponse(): InvoiceTypeResponse;
|
|
548
|
+
type InvoiceTypeResponse = {
|
|
549
|
+
invoice_type_list?: InvoiceTypeResponseItems[];
|
|
550
|
+
payment_status_list?: InvoiceTypeResponseItems[];
|
|
551
|
+
success?: boolean;
|
|
552
|
+
};
|
|
553
|
+
/** @returns {InvoiceTypeResponseItems} */
|
|
554
|
+
declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
|
|
555
|
+
type InvoiceTypeResponseItems = {
|
|
556
|
+
text?: string;
|
|
557
|
+
value?: string;
|
|
558
|
+
};
|
|
559
|
+
/** @returns {IsCreditlinePayload} */
|
|
560
|
+
declare function IsCreditlinePayload(): IsCreditlinePayload;
|
|
561
|
+
type IsCreditlinePayload = {
|
|
562
|
+
seller_id?: string;
|
|
563
|
+
};
|
|
564
|
+
/** @returns {IsCreditlinePlatformRequest} */
|
|
565
|
+
declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
|
|
566
|
+
type IsCreditlinePlatformRequest = {
|
|
567
|
+
data?: IsCreditlinePayload;
|
|
568
|
+
};
|
|
569
|
+
/** @returns {IsCreditlinePlatformResponse} */
|
|
570
|
+
declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
|
|
571
|
+
type IsCreditlinePlatformResponse = {
|
|
572
|
+
code?: number;
|
|
573
|
+
is_creditline_opted?: boolean;
|
|
574
|
+
};
|
|
575
|
+
/** @returns {Page} */
|
|
576
|
+
declare function Page(): Page;
|
|
577
|
+
type Page = {
|
|
578
|
+
current?: number;
|
|
579
|
+
has_next?: boolean;
|
|
580
|
+
has_previous?: boolean;
|
|
581
|
+
item_total?: number;
|
|
582
|
+
next_id?: string;
|
|
583
|
+
size?: number;
|
|
584
|
+
type: string;
|
|
585
|
+
};
|
|
586
|
+
/** @returns {PaymentProcessPayload} */
|
|
587
|
+
declare function PaymentProcessPayload(): PaymentProcessPayload;
|
|
588
|
+
type PaymentProcessPayload = {
|
|
589
|
+
amount?: string;
|
|
590
|
+
currency?: string;
|
|
591
|
+
invoice_number?: string;
|
|
592
|
+
meta?: any;
|
|
593
|
+
mode_of_payment?: string;
|
|
594
|
+
platform?: string;
|
|
595
|
+
seller_id?: string;
|
|
596
|
+
source_reference?: string;
|
|
597
|
+
total_amount?: string;
|
|
598
|
+
transaction_type?: string;
|
|
599
|
+
};
|
|
600
|
+
/** @returns {PaymentProcessRequest} */
|
|
601
|
+
declare function PaymentProcessRequest(): PaymentProcessRequest;
|
|
602
|
+
type PaymentProcessRequest = {
|
|
603
|
+
data?: PaymentProcessPayload;
|
|
604
|
+
};
|
|
605
|
+
/** @returns {PaymentProcessResponse} */
|
|
606
|
+
declare function PaymentProcessResponse(): PaymentProcessResponse;
|
|
607
|
+
type PaymentProcessResponse = {
|
|
608
|
+
code?: number;
|
|
609
|
+
message?: string;
|
|
610
|
+
meta?: any;
|
|
611
|
+
redirect_url?: string;
|
|
612
|
+
transaction_id?: string;
|
|
613
|
+
};
|
|
614
|
+
/** @returns {UnpaidInvoiceDataItems} */
|
|
615
|
+
declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
|
|
616
|
+
type UnpaidInvoiceDataItems = {
|
|
617
|
+
currency?: string;
|
|
618
|
+
total_unpaid_amount?: number;
|
|
619
|
+
total_unpaid_invoice_count?: number;
|
|
620
|
+
};
|