@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,46 +1,768 @@
|
|
|
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
|
-
|
|
1
|
+
export = PartnerPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddProxyReq
|
|
4
|
+
* @property {string} [attached_path] - Proxy path slug
|
|
5
|
+
* @property {string} [proxy_url] - The external URL for which the proxy URL
|
|
6
|
+
* will be generated
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef AddProxyResponse
|
|
10
|
+
* @property {string} [_id]
|
|
11
|
+
* @property {string} [application_id]
|
|
12
|
+
* @property {string} [attached_path]
|
|
13
|
+
* @property {string} [company_id]
|
|
14
|
+
* @property {string} [created_at]
|
|
15
|
+
* @property {string} [extension_id]
|
|
16
|
+
* @property {string} [modified_at]
|
|
17
|
+
* @property {string} [proxy_url]
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* @typedef APIError
|
|
21
|
+
* @property {string} [code]
|
|
22
|
+
* @property {string} [info] - Error code description link
|
|
23
|
+
* @property {string} [message]
|
|
24
|
+
* @property {Object} [meta]
|
|
25
|
+
* @property {string} [request_id]
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* @typedef ApplicationPermissions
|
|
29
|
+
* @property {string[]} [permissions]
|
|
30
|
+
* @property {string[]} [roles]
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* @typedef ApprovedPermissions
|
|
34
|
+
* @property {string[]} [application_role]
|
|
35
|
+
* @property {string[]} [company_permissions]
|
|
36
|
+
* @property {string[]} [company_role]
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef ApprovedPermissionsInfo
|
|
40
|
+
* @property {Object} [application_permissions]
|
|
41
|
+
* @property {string[]} [company_permissions]
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* @typedef Benefits
|
|
45
|
+
* @property {string} [description]
|
|
46
|
+
* @property {string} [title]
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* @typedef Callback
|
|
50
|
+
* @property {string} [auth]
|
|
51
|
+
* @property {string} [auto_install]
|
|
52
|
+
* @property {string} [install]
|
|
53
|
+
* @property {string} [setup]
|
|
54
|
+
* @property {string} [uninstall]
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef Category
|
|
58
|
+
* @property {CategoryL1[]} [category_l1]
|
|
59
|
+
* @property {CategoryL2[]} [category_l2]
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* @typedef CategoryL1
|
|
63
|
+
* @property {string} [_id]
|
|
64
|
+
* @property {string} [description]
|
|
65
|
+
* @property {string} [display]
|
|
66
|
+
* @property {number} [level]
|
|
67
|
+
* @property {string} [logo]
|
|
68
|
+
* @property {string} [slug]
|
|
69
|
+
* @property {string} [value]
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* @typedef CategoryL2
|
|
73
|
+
* @property {string} [_id]
|
|
74
|
+
* @property {string} [display]
|
|
75
|
+
* @property {number} [level]
|
|
76
|
+
* @property {string} [parent]
|
|
77
|
+
* @property {string} [slug]
|
|
78
|
+
* @property {string} [value]
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @typedef CommingSoon
|
|
82
|
+
* @property {boolean} [is_coming_soon]
|
|
83
|
+
* @property {number} [upvote_count]
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* @typedef ContactInfo
|
|
87
|
+
* @property {Support} [support]
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* @typedef ExtensionCommon
|
|
91
|
+
* @property {string} [base_url]
|
|
92
|
+
* @property {Callback} [callbacks]
|
|
93
|
+
* @property {string} [contact_email]
|
|
94
|
+
* @property {string} [current_status]
|
|
95
|
+
* @property {string} [description]
|
|
96
|
+
* @property {string} [developed_by_name]
|
|
97
|
+
* @property {string} [ext_version]
|
|
98
|
+
* @property {string} [extention_type]
|
|
99
|
+
* @property {boolean} [is_application_level]
|
|
100
|
+
* @property {boolean} [is_coming_soon]
|
|
101
|
+
* @property {boolean} [is_saleschannel]
|
|
102
|
+
* @property {Logo} [logo]
|
|
103
|
+
* @property {string} [name]
|
|
104
|
+
* @property {string[]} [scope]
|
|
105
|
+
*/
|
|
106
|
+
/**
|
|
107
|
+
* @typedef ExtensionDetails
|
|
108
|
+
* @property {Benefits[]} [benefits]
|
|
109
|
+
* @property {string} [demo_url]
|
|
110
|
+
* @property {string} [description]
|
|
111
|
+
* @property {string[]} [integration]
|
|
112
|
+
* @property {Screenshots} [screenshots]
|
|
113
|
+
* @property {Object[]} [video_url]
|
|
114
|
+
* @property {string[]} [youtube]
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* @typedef ExtensionItems
|
|
118
|
+
* @property {string} [base_url]
|
|
119
|
+
* @property {string} [company]
|
|
120
|
+
* @property {string} [description]
|
|
121
|
+
* @property {string} [developed_by_name]
|
|
122
|
+
* @property {string} [ext_version]
|
|
123
|
+
* @property {string} [extension_id]
|
|
124
|
+
* @property {string} [extention_type]
|
|
125
|
+
* @property {boolean} [installed]
|
|
126
|
+
* @property {boolean} [is_saleschannel]
|
|
127
|
+
* @property {string} [launch_url]
|
|
128
|
+
* @property {Logo} [logo]
|
|
129
|
+
* @property {string} [name]
|
|
130
|
+
* @property {Scope[]} [scope]
|
|
131
|
+
*/
|
|
132
|
+
/**
|
|
133
|
+
* @typedef ExtensionList
|
|
134
|
+
* @property {ExtensionItems[]} [items]
|
|
135
|
+
* @property {Pagination} [page]
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* @typedef ExtensionListItems
|
|
139
|
+
* @property {string} [_id]
|
|
140
|
+
* @property {string} [base_url]
|
|
141
|
+
* @property {Callback} [callbacks]
|
|
142
|
+
* @property {string} [contact_email]
|
|
143
|
+
* @property {string} [created_at]
|
|
144
|
+
* @property {string} [current_status]
|
|
145
|
+
* @property {string} [description]
|
|
146
|
+
* @property {string} [developed_by_name]
|
|
147
|
+
* @property {string} [ext_version]
|
|
148
|
+
* @property {string} [extention_type]
|
|
149
|
+
* @property {boolean} [is_application_level]
|
|
150
|
+
* @property {boolean} [is_coming_soon]
|
|
151
|
+
* @property {boolean} [is_hidden]
|
|
152
|
+
* @property {boolean} [is_saleschannel]
|
|
153
|
+
* @property {Logo} [logo]
|
|
154
|
+
* @property {string} [modified_at]
|
|
155
|
+
* @property {string} [name]
|
|
156
|
+
* @property {string} [organization_id]
|
|
157
|
+
* @property {string[]} [scope]
|
|
158
|
+
* @property {string[]} [whitelisted_urls]
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* @typedef ExtensionResponse
|
|
162
|
+
* @property {ExtensionListItems[]} [items]
|
|
163
|
+
* @property {Pagination} [page]
|
|
164
|
+
*/
|
|
165
|
+
/**
|
|
166
|
+
* @typedef ExtensionSuggestion
|
|
167
|
+
* @property {ListingInfo} [listing_info]
|
|
168
|
+
* @property {OrganizationBasicInfo} [organization]
|
|
169
|
+
* @property {string} [organization_id]
|
|
170
|
+
* @property {Plan[]} [plans]
|
|
171
|
+
* @property {string} [slug]
|
|
172
|
+
*/
|
|
173
|
+
/**
|
|
174
|
+
* @typedef ExtensionSuggestionList
|
|
175
|
+
* @property {ExtensionSuggestion[]} [items]
|
|
176
|
+
*/
|
|
177
|
+
/**
|
|
178
|
+
* @typedef getProxyPathRes
|
|
179
|
+
* @property {AddProxyResponse[]} [items]
|
|
180
|
+
* @property {Pagination} [page]
|
|
181
|
+
*/
|
|
182
|
+
/**
|
|
183
|
+
* @typedef ListingInfo
|
|
184
|
+
* @property {string} [icon]
|
|
185
|
+
* @property {string[]} [keywords]
|
|
186
|
+
* @property {string} [name]
|
|
187
|
+
* @property {string} [tagline]
|
|
188
|
+
*/
|
|
189
|
+
/**
|
|
190
|
+
* @typedef Logo
|
|
191
|
+
* @property {string} [large]
|
|
192
|
+
* @property {string} [small]
|
|
193
|
+
*/
|
|
194
|
+
/**
|
|
195
|
+
* @typedef ModifyPartnerReq
|
|
196
|
+
* @property {string} [_id]
|
|
197
|
+
* @property {string} [account_type]
|
|
198
|
+
* @property {ApprovedPermissionsInfo} [approved_permissions]
|
|
199
|
+
* @property {string} [comment]
|
|
200
|
+
* @property {number} [company_id]
|
|
201
|
+
* @property {string} [company_name]
|
|
202
|
+
* @property {string} [organization_id]
|
|
203
|
+
* @property {string} [organization_name]
|
|
204
|
+
* @property {string} [request_status]
|
|
205
|
+
* @property {RequestedPermissions} [requested_permissions]
|
|
206
|
+
* @property {string} [user_id]
|
|
207
|
+
*/
|
|
208
|
+
/**
|
|
209
|
+
* @typedef OrganizationBasicInfo
|
|
210
|
+
* @property {string} [name]
|
|
211
|
+
* @property {string} [slug]
|
|
212
|
+
*/
|
|
213
|
+
/**
|
|
214
|
+
* @typedef Pagination
|
|
215
|
+
* @property {number} [current]
|
|
216
|
+
* @property {boolean} [has_next]
|
|
217
|
+
* @property {number} [item_total]
|
|
218
|
+
* @property {number} [size]
|
|
219
|
+
* @property {string} [type]
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* @typedef PartnerInviteDetails
|
|
223
|
+
* @property {string} [_id]
|
|
224
|
+
* @property {string} [account_type]
|
|
225
|
+
* @property {ApprovedPermissions} [approved_permissions]
|
|
226
|
+
* @property {string} [comment]
|
|
227
|
+
* @property {number} [company_id]
|
|
228
|
+
* @property {string} [company_name]
|
|
229
|
+
* @property {string} [created_at]
|
|
230
|
+
* @property {string} [modified_at]
|
|
231
|
+
* @property {string} [organization_id]
|
|
232
|
+
* @property {string} [organization_name]
|
|
233
|
+
* @property {string} [request_status]
|
|
234
|
+
* @property {RequestedPermissions} [requested_permissions]
|
|
235
|
+
* @property {string} [user_id]
|
|
236
|
+
*/
|
|
237
|
+
/**
|
|
238
|
+
* @typedef PartnerList
|
|
239
|
+
* @property {string} [_id]
|
|
240
|
+
* @property {string} [account_type]
|
|
241
|
+
* @property {ApprovedPermissionsInfo} [approved_permissions]
|
|
242
|
+
* @property {string} [approver_id]
|
|
243
|
+
* @property {string} [comment]
|
|
244
|
+
* @property {number} [company_id]
|
|
245
|
+
* @property {string} [company_name]
|
|
246
|
+
* @property {string} [created_at]
|
|
247
|
+
* @property {string} [modified_at]
|
|
248
|
+
* @property {string} [organization_id]
|
|
249
|
+
* @property {string} [organization_name]
|
|
250
|
+
* @property {string} [request_status]
|
|
251
|
+
* @property {RequestedPermissions} [requested_permissions]
|
|
252
|
+
* @property {string} [user_id]
|
|
253
|
+
*/
|
|
254
|
+
/**
|
|
255
|
+
* @typedef PartnerRequestList
|
|
256
|
+
* @property {PartnerList} [items]
|
|
257
|
+
* @property {Pagination} [page]
|
|
258
|
+
*/
|
|
259
|
+
/**
|
|
260
|
+
* @typedef Plan
|
|
261
|
+
* @property {string} [additional_charges]
|
|
262
|
+
* @property {string} [features]
|
|
263
|
+
* @property {string} [name]
|
|
264
|
+
* @property {Price} [price]
|
|
265
|
+
* @property {number} [trial_days]
|
|
266
|
+
* @property {string} [type]
|
|
267
|
+
*/
|
|
268
|
+
/**
|
|
269
|
+
* @typedef Plans
|
|
270
|
+
* @property {string} [additional_charges]
|
|
271
|
+
* @property {string} [features]
|
|
272
|
+
* @property {string} [name]
|
|
273
|
+
* @property {Price} [price]
|
|
274
|
+
* @property {number} [trial_days]
|
|
275
|
+
* @property {string} [type]
|
|
276
|
+
*/
|
|
277
|
+
/**
|
|
278
|
+
* @typedef Price
|
|
279
|
+
* @property {number} [amount]
|
|
280
|
+
* @property {string} [currency]
|
|
281
|
+
*/
|
|
282
|
+
/**
|
|
283
|
+
* @typedef PublicExtension
|
|
284
|
+
* @property {string} [_id]
|
|
285
|
+
* @property {Category} [category]
|
|
286
|
+
* @property {CommingSoon} [coming_soon]
|
|
287
|
+
* @property {ContactInfo} [contact_info]
|
|
288
|
+
* @property {string} [created_at]
|
|
289
|
+
* @property {string} [current_status]
|
|
290
|
+
* @property {ExtensionDetails} [details]
|
|
291
|
+
* @property {string} [extension_id]
|
|
292
|
+
* @property {boolean} [is_coming_soon]
|
|
293
|
+
* @property {ListingInfo} [listing_info]
|
|
294
|
+
* @property {string} [modified_at]
|
|
295
|
+
* @property {OrganizationBasicInfo} [organization]
|
|
296
|
+
* @property {string} [organization_id]
|
|
297
|
+
* @property {string} [plan_type]
|
|
298
|
+
* @property {Plans[]} [plans]
|
|
299
|
+
* @property {string} [plans_url]
|
|
300
|
+
* @property {string} [review_instructions]
|
|
301
|
+
* @property {string[]} [scope]
|
|
302
|
+
* @property {string} [slug]
|
|
303
|
+
*/
|
|
304
|
+
/**
|
|
305
|
+
* @typedef RemoveProxyResponse
|
|
306
|
+
* @property {Object} [data]
|
|
307
|
+
* @property {string} [message]
|
|
308
|
+
*/
|
|
309
|
+
/**
|
|
310
|
+
* @typedef RequestedPermissions
|
|
311
|
+
* @property {string[]} [application_permissions]
|
|
312
|
+
* @property {string[]} [application_role]
|
|
313
|
+
* @property {string[]} [company_permissions]
|
|
314
|
+
* @property {string[]} [company_role]
|
|
315
|
+
*/
|
|
316
|
+
/**
|
|
317
|
+
* @typedef Scope
|
|
318
|
+
* @property {string} [description]
|
|
319
|
+
* @property {string} [name]
|
|
320
|
+
*/
|
|
321
|
+
/**
|
|
322
|
+
* @typedef Screenshots
|
|
323
|
+
* @property {string[]} [desktop]
|
|
324
|
+
* @property {string[]} [mobile]
|
|
325
|
+
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef SetupProductRes
|
|
328
|
+
* @property {number} [cli_wait_time]
|
|
329
|
+
* @property {string} [message]
|
|
330
|
+
* @property {number} [next_step]
|
|
331
|
+
* @property {string} [request_id]
|
|
332
|
+
*/
|
|
333
|
+
/**
|
|
334
|
+
* @typedef SubscriptionRequest
|
|
335
|
+
* @property {string} [approved]
|
|
336
|
+
* @property {string} [client_id]
|
|
337
|
+
* @property {string} [company_id]
|
|
338
|
+
* @property {string} [credit_balance]
|
|
339
|
+
* @property {string} [request_id]
|
|
340
|
+
*/
|
|
341
|
+
/**
|
|
342
|
+
* @typedef SubscriptionRes
|
|
343
|
+
* @property {string} [redirect_url]
|
|
344
|
+
*/
|
|
345
|
+
/**
|
|
346
|
+
* @typedef Support
|
|
347
|
+
* @property {string} [email]
|
|
348
|
+
* @property {string} [faq_url]
|
|
349
|
+
* @property {string} [phone]
|
|
350
|
+
* @property {string} [privacy_policy_url]
|
|
351
|
+
* @property {string} [website_url]
|
|
352
|
+
*/
|
|
353
|
+
/**
|
|
354
|
+
* @typedef UninstallExtension
|
|
355
|
+
* @property {boolean} [success]
|
|
356
|
+
*/
|
|
357
|
+
declare class PartnerPlatformModel {
|
|
46
358
|
}
|
|
359
|
+
declare namespace PartnerPlatformModel {
|
|
360
|
+
export { AddProxyReq, AddProxyResponse, APIError, ApplicationPermissions, ApprovedPermissions, ApprovedPermissionsInfo, Benefits, Callback, Category, CategoryL1, CategoryL2, CommingSoon, ContactInfo, ExtensionCommon, ExtensionDetails, ExtensionItems, ExtensionList, ExtensionListItems, ExtensionResponse, ExtensionSuggestion, ExtensionSuggestionList, getProxyPathRes, ListingInfo, Logo, ModifyPartnerReq, OrganizationBasicInfo, Pagination, PartnerInviteDetails, PartnerList, PartnerRequestList, Plan, Plans, Price, PublicExtension, RemoveProxyResponse, RequestedPermissions, Scope, Screenshots, SetupProductRes, SubscriptionRequest, SubscriptionRes, Support, UninstallExtension };
|
|
361
|
+
}
|
|
362
|
+
/** @returns {AddProxyReq} */
|
|
363
|
+
declare function AddProxyReq(): AddProxyReq;
|
|
364
|
+
type AddProxyReq = {
|
|
365
|
+
/**
|
|
366
|
+
* - Proxy path slug
|
|
367
|
+
*/
|
|
368
|
+
attached_path?: string;
|
|
369
|
+
/**
|
|
370
|
+
* - The external URL for which the proxy URL
|
|
371
|
+
* will be generated
|
|
372
|
+
*/
|
|
373
|
+
proxy_url?: string;
|
|
374
|
+
};
|
|
375
|
+
/** @returns {AddProxyResponse} */
|
|
376
|
+
declare function AddProxyResponse(): AddProxyResponse;
|
|
377
|
+
type AddProxyResponse = {
|
|
378
|
+
_id?: string;
|
|
379
|
+
application_id?: string;
|
|
380
|
+
attached_path?: string;
|
|
381
|
+
company_id?: string;
|
|
382
|
+
created_at?: string;
|
|
383
|
+
extension_id?: string;
|
|
384
|
+
modified_at?: string;
|
|
385
|
+
proxy_url?: string;
|
|
386
|
+
};
|
|
387
|
+
/** @returns {APIError} */
|
|
388
|
+
declare function APIError(): APIError;
|
|
389
|
+
type APIError = {
|
|
390
|
+
code?: string;
|
|
391
|
+
/**
|
|
392
|
+
* - Error code description link
|
|
393
|
+
*/
|
|
394
|
+
info?: string;
|
|
395
|
+
message?: string;
|
|
396
|
+
meta?: any;
|
|
397
|
+
request_id?: string;
|
|
398
|
+
};
|
|
399
|
+
/** @returns {ApplicationPermissions} */
|
|
400
|
+
declare function ApplicationPermissions(): ApplicationPermissions;
|
|
401
|
+
type ApplicationPermissions = {
|
|
402
|
+
permissions?: string[];
|
|
403
|
+
roles?: string[];
|
|
404
|
+
};
|
|
405
|
+
/** @returns {ApprovedPermissions} */
|
|
406
|
+
declare function ApprovedPermissions(): ApprovedPermissions;
|
|
407
|
+
type ApprovedPermissions = {
|
|
408
|
+
application_role?: string[];
|
|
409
|
+
company_permissions?: string[];
|
|
410
|
+
company_role?: string[];
|
|
411
|
+
};
|
|
412
|
+
/** @returns {ApprovedPermissionsInfo} */
|
|
413
|
+
declare function ApprovedPermissionsInfo(): ApprovedPermissionsInfo;
|
|
414
|
+
type ApprovedPermissionsInfo = {
|
|
415
|
+
application_permissions?: any;
|
|
416
|
+
company_permissions?: string[];
|
|
417
|
+
};
|
|
418
|
+
/** @returns {Benefits} */
|
|
419
|
+
declare function Benefits(): Benefits;
|
|
420
|
+
type Benefits = {
|
|
421
|
+
description?: string;
|
|
422
|
+
title?: string;
|
|
423
|
+
};
|
|
424
|
+
/** @returns {Callback} */
|
|
425
|
+
declare function Callback(): Callback;
|
|
426
|
+
type Callback = {
|
|
427
|
+
auth?: string;
|
|
428
|
+
auto_install?: string;
|
|
429
|
+
install?: string;
|
|
430
|
+
setup?: string;
|
|
431
|
+
uninstall?: string;
|
|
432
|
+
};
|
|
433
|
+
/** @returns {Category} */
|
|
434
|
+
declare function Category(): Category;
|
|
435
|
+
type Category = {
|
|
436
|
+
category_l1?: CategoryL1[];
|
|
437
|
+
category_l2?: CategoryL2[];
|
|
438
|
+
};
|
|
439
|
+
/** @returns {CategoryL1} */
|
|
440
|
+
declare function CategoryL1(): CategoryL1;
|
|
441
|
+
type CategoryL1 = {
|
|
442
|
+
_id?: string;
|
|
443
|
+
description?: string;
|
|
444
|
+
display?: string;
|
|
445
|
+
level?: number;
|
|
446
|
+
logo?: string;
|
|
447
|
+
slug?: string;
|
|
448
|
+
value?: string;
|
|
449
|
+
};
|
|
450
|
+
/** @returns {CategoryL2} */
|
|
451
|
+
declare function CategoryL2(): CategoryL2;
|
|
452
|
+
type CategoryL2 = {
|
|
453
|
+
_id?: string;
|
|
454
|
+
display?: string;
|
|
455
|
+
level?: number;
|
|
456
|
+
parent?: string;
|
|
457
|
+
slug?: string;
|
|
458
|
+
value?: string;
|
|
459
|
+
};
|
|
460
|
+
/** @returns {CommingSoon} */
|
|
461
|
+
declare function CommingSoon(): CommingSoon;
|
|
462
|
+
type CommingSoon = {
|
|
463
|
+
is_coming_soon?: boolean;
|
|
464
|
+
upvote_count?: number;
|
|
465
|
+
};
|
|
466
|
+
/** @returns {ContactInfo} */
|
|
467
|
+
declare function ContactInfo(): ContactInfo;
|
|
468
|
+
type ContactInfo = {
|
|
469
|
+
support?: Support;
|
|
470
|
+
};
|
|
471
|
+
/** @returns {ExtensionCommon} */
|
|
472
|
+
declare function ExtensionCommon(): ExtensionCommon;
|
|
473
|
+
type ExtensionCommon = {
|
|
474
|
+
base_url?: string;
|
|
475
|
+
callbacks?: Callback;
|
|
476
|
+
contact_email?: string;
|
|
477
|
+
current_status?: string;
|
|
478
|
+
description?: string;
|
|
479
|
+
developed_by_name?: string;
|
|
480
|
+
ext_version?: string;
|
|
481
|
+
extention_type?: string;
|
|
482
|
+
is_application_level?: boolean;
|
|
483
|
+
is_coming_soon?: boolean;
|
|
484
|
+
is_saleschannel?: boolean;
|
|
485
|
+
logo?: Logo;
|
|
486
|
+
name?: string;
|
|
487
|
+
scope?: string[];
|
|
488
|
+
};
|
|
489
|
+
/** @returns {ExtensionDetails} */
|
|
490
|
+
declare function ExtensionDetails(): ExtensionDetails;
|
|
491
|
+
type ExtensionDetails = {
|
|
492
|
+
benefits?: Benefits[];
|
|
493
|
+
demo_url?: string;
|
|
494
|
+
description?: string;
|
|
495
|
+
integration?: string[];
|
|
496
|
+
screenshots?: Screenshots;
|
|
497
|
+
video_url?: any[];
|
|
498
|
+
youtube?: string[];
|
|
499
|
+
};
|
|
500
|
+
/** @returns {ExtensionItems} */
|
|
501
|
+
declare function ExtensionItems(): ExtensionItems;
|
|
502
|
+
type ExtensionItems = {
|
|
503
|
+
base_url?: string;
|
|
504
|
+
company?: string;
|
|
505
|
+
description?: string;
|
|
506
|
+
developed_by_name?: string;
|
|
507
|
+
ext_version?: string;
|
|
508
|
+
extension_id?: string;
|
|
509
|
+
extention_type?: string;
|
|
510
|
+
installed?: boolean;
|
|
511
|
+
is_saleschannel?: boolean;
|
|
512
|
+
launch_url?: string;
|
|
513
|
+
logo?: Logo;
|
|
514
|
+
name?: string;
|
|
515
|
+
scope?: Scope[];
|
|
516
|
+
};
|
|
517
|
+
/** @returns {ExtensionList} */
|
|
518
|
+
declare function ExtensionList(): ExtensionList;
|
|
519
|
+
type ExtensionList = {
|
|
520
|
+
items?: ExtensionItems[];
|
|
521
|
+
page?: Pagination;
|
|
522
|
+
};
|
|
523
|
+
/** @returns {ExtensionListItems} */
|
|
524
|
+
declare function ExtensionListItems(): ExtensionListItems;
|
|
525
|
+
type ExtensionListItems = {
|
|
526
|
+
_id?: string;
|
|
527
|
+
base_url?: string;
|
|
528
|
+
callbacks?: Callback;
|
|
529
|
+
contact_email?: string;
|
|
530
|
+
created_at?: string;
|
|
531
|
+
current_status?: string;
|
|
532
|
+
description?: string;
|
|
533
|
+
developed_by_name?: string;
|
|
534
|
+
ext_version?: string;
|
|
535
|
+
extention_type?: string;
|
|
536
|
+
is_application_level?: boolean;
|
|
537
|
+
is_coming_soon?: boolean;
|
|
538
|
+
is_hidden?: boolean;
|
|
539
|
+
is_saleschannel?: boolean;
|
|
540
|
+
logo?: Logo;
|
|
541
|
+
modified_at?: string;
|
|
542
|
+
name?: string;
|
|
543
|
+
organization_id?: string;
|
|
544
|
+
scope?: string[];
|
|
545
|
+
whitelisted_urls?: string[];
|
|
546
|
+
};
|
|
547
|
+
/** @returns {ExtensionResponse} */
|
|
548
|
+
declare function ExtensionResponse(): ExtensionResponse;
|
|
549
|
+
type ExtensionResponse = {
|
|
550
|
+
items?: ExtensionListItems[];
|
|
551
|
+
page?: Pagination;
|
|
552
|
+
};
|
|
553
|
+
/** @returns {ExtensionSuggestion} */
|
|
554
|
+
declare function ExtensionSuggestion(): ExtensionSuggestion;
|
|
555
|
+
type ExtensionSuggestion = {
|
|
556
|
+
listing_info?: ListingInfo;
|
|
557
|
+
organization?: OrganizationBasicInfo;
|
|
558
|
+
organization_id?: string;
|
|
559
|
+
plans?: Plan[];
|
|
560
|
+
slug?: string;
|
|
561
|
+
};
|
|
562
|
+
/** @returns {ExtensionSuggestionList} */
|
|
563
|
+
declare function ExtensionSuggestionList(): ExtensionSuggestionList;
|
|
564
|
+
type ExtensionSuggestionList = {
|
|
565
|
+
items?: ExtensionSuggestion[];
|
|
566
|
+
};
|
|
567
|
+
/** @returns {getProxyPathRes} */
|
|
568
|
+
declare function getProxyPathRes(): getProxyPathRes;
|
|
569
|
+
type getProxyPathRes = {
|
|
570
|
+
items?: AddProxyResponse[];
|
|
571
|
+
page?: Pagination;
|
|
572
|
+
};
|
|
573
|
+
/** @returns {ListingInfo} */
|
|
574
|
+
declare function ListingInfo(): ListingInfo;
|
|
575
|
+
type ListingInfo = {
|
|
576
|
+
icon?: string;
|
|
577
|
+
keywords?: string[];
|
|
578
|
+
name?: string;
|
|
579
|
+
tagline?: string;
|
|
580
|
+
};
|
|
581
|
+
/** @returns {Logo} */
|
|
582
|
+
declare function Logo(): Logo;
|
|
583
|
+
type Logo = {
|
|
584
|
+
large?: string;
|
|
585
|
+
small?: string;
|
|
586
|
+
};
|
|
587
|
+
/** @returns {ModifyPartnerReq} */
|
|
588
|
+
declare function ModifyPartnerReq(): ModifyPartnerReq;
|
|
589
|
+
type ModifyPartnerReq = {
|
|
590
|
+
_id?: string;
|
|
591
|
+
account_type?: string;
|
|
592
|
+
approved_permissions?: ApprovedPermissionsInfo;
|
|
593
|
+
comment?: string;
|
|
594
|
+
company_id?: number;
|
|
595
|
+
company_name?: string;
|
|
596
|
+
organization_id?: string;
|
|
597
|
+
organization_name?: string;
|
|
598
|
+
request_status?: string;
|
|
599
|
+
requested_permissions?: RequestedPermissions;
|
|
600
|
+
user_id?: string;
|
|
601
|
+
};
|
|
602
|
+
/** @returns {OrganizationBasicInfo} */
|
|
603
|
+
declare function OrganizationBasicInfo(): OrganizationBasicInfo;
|
|
604
|
+
type OrganizationBasicInfo = {
|
|
605
|
+
name?: string;
|
|
606
|
+
slug?: string;
|
|
607
|
+
};
|
|
608
|
+
/** @returns {Pagination} */
|
|
609
|
+
declare function Pagination(): Pagination;
|
|
610
|
+
type Pagination = {
|
|
611
|
+
current?: number;
|
|
612
|
+
has_next?: boolean;
|
|
613
|
+
item_total?: number;
|
|
614
|
+
size?: number;
|
|
615
|
+
type?: string;
|
|
616
|
+
};
|
|
617
|
+
/** @returns {PartnerInviteDetails} */
|
|
618
|
+
declare function PartnerInviteDetails(): PartnerInviteDetails;
|
|
619
|
+
type PartnerInviteDetails = {
|
|
620
|
+
_id?: string;
|
|
621
|
+
account_type?: string;
|
|
622
|
+
approved_permissions?: ApprovedPermissions;
|
|
623
|
+
comment?: string;
|
|
624
|
+
company_id?: number;
|
|
625
|
+
company_name?: string;
|
|
626
|
+
created_at?: string;
|
|
627
|
+
modified_at?: string;
|
|
628
|
+
organization_id?: string;
|
|
629
|
+
organization_name?: string;
|
|
630
|
+
request_status?: string;
|
|
631
|
+
requested_permissions?: RequestedPermissions;
|
|
632
|
+
user_id?: string;
|
|
633
|
+
};
|
|
634
|
+
/** @returns {PartnerList} */
|
|
635
|
+
declare function PartnerList(): PartnerList;
|
|
636
|
+
type PartnerList = {
|
|
637
|
+
_id?: string;
|
|
638
|
+
account_type?: string;
|
|
639
|
+
approved_permissions?: ApprovedPermissionsInfo;
|
|
640
|
+
approver_id?: string;
|
|
641
|
+
comment?: string;
|
|
642
|
+
company_id?: number;
|
|
643
|
+
company_name?: string;
|
|
644
|
+
created_at?: string;
|
|
645
|
+
modified_at?: string;
|
|
646
|
+
organization_id?: string;
|
|
647
|
+
organization_name?: string;
|
|
648
|
+
request_status?: string;
|
|
649
|
+
requested_permissions?: RequestedPermissions;
|
|
650
|
+
user_id?: string;
|
|
651
|
+
};
|
|
652
|
+
/** @returns {PartnerRequestList} */
|
|
653
|
+
declare function PartnerRequestList(): PartnerRequestList;
|
|
654
|
+
type PartnerRequestList = {
|
|
655
|
+
items?: PartnerList;
|
|
656
|
+
page?: Pagination;
|
|
657
|
+
};
|
|
658
|
+
/** @returns {Plan} */
|
|
659
|
+
declare function Plan(): Plan;
|
|
660
|
+
type Plan = {
|
|
661
|
+
additional_charges?: string;
|
|
662
|
+
features?: string;
|
|
663
|
+
name?: string;
|
|
664
|
+
price?: Price;
|
|
665
|
+
trial_days?: number;
|
|
666
|
+
type?: string;
|
|
667
|
+
};
|
|
668
|
+
/** @returns {Plans} */
|
|
669
|
+
declare function Plans(): Plans;
|
|
670
|
+
type Plans = {
|
|
671
|
+
additional_charges?: string;
|
|
672
|
+
features?: string;
|
|
673
|
+
name?: string;
|
|
674
|
+
price?: Price;
|
|
675
|
+
trial_days?: number;
|
|
676
|
+
type?: string;
|
|
677
|
+
};
|
|
678
|
+
/** @returns {Price} */
|
|
679
|
+
declare function Price(): Price;
|
|
680
|
+
type Price = {
|
|
681
|
+
amount?: number;
|
|
682
|
+
currency?: string;
|
|
683
|
+
};
|
|
684
|
+
/** @returns {PublicExtension} */
|
|
685
|
+
declare function PublicExtension(): PublicExtension;
|
|
686
|
+
type PublicExtension = {
|
|
687
|
+
_id?: string;
|
|
688
|
+
category?: Category;
|
|
689
|
+
coming_soon?: CommingSoon;
|
|
690
|
+
contact_info?: ContactInfo;
|
|
691
|
+
created_at?: string;
|
|
692
|
+
current_status?: string;
|
|
693
|
+
details?: ExtensionDetails;
|
|
694
|
+
extension_id?: string;
|
|
695
|
+
is_coming_soon?: boolean;
|
|
696
|
+
listing_info?: ListingInfo;
|
|
697
|
+
modified_at?: string;
|
|
698
|
+
organization?: OrganizationBasicInfo;
|
|
699
|
+
organization_id?: string;
|
|
700
|
+
plan_type?: string;
|
|
701
|
+
plans?: Plans[];
|
|
702
|
+
plans_url?: string;
|
|
703
|
+
review_instructions?: string;
|
|
704
|
+
scope?: string[];
|
|
705
|
+
slug?: string;
|
|
706
|
+
};
|
|
707
|
+
/** @returns {RemoveProxyResponse} */
|
|
708
|
+
declare function RemoveProxyResponse(): RemoveProxyResponse;
|
|
709
|
+
type RemoveProxyResponse = {
|
|
710
|
+
data?: any;
|
|
711
|
+
message?: string;
|
|
712
|
+
};
|
|
713
|
+
/** @returns {RequestedPermissions} */
|
|
714
|
+
declare function RequestedPermissions(): RequestedPermissions;
|
|
715
|
+
type RequestedPermissions = {
|
|
716
|
+
application_permissions?: string[];
|
|
717
|
+
application_role?: string[];
|
|
718
|
+
company_permissions?: string[];
|
|
719
|
+
company_role?: string[];
|
|
720
|
+
};
|
|
721
|
+
/** @returns {Scope} */
|
|
722
|
+
declare function Scope(): Scope;
|
|
723
|
+
type Scope = {
|
|
724
|
+
description?: string;
|
|
725
|
+
name?: string;
|
|
726
|
+
};
|
|
727
|
+
/** @returns {Screenshots} */
|
|
728
|
+
declare function Screenshots(): Screenshots;
|
|
729
|
+
type Screenshots = {
|
|
730
|
+
desktop?: string[];
|
|
731
|
+
mobile?: string[];
|
|
732
|
+
};
|
|
733
|
+
/** @returns {SetupProductRes} */
|
|
734
|
+
declare function SetupProductRes(): SetupProductRes;
|
|
735
|
+
type SetupProductRes = {
|
|
736
|
+
cli_wait_time?: number;
|
|
737
|
+
message?: string;
|
|
738
|
+
next_step?: number;
|
|
739
|
+
request_id?: string;
|
|
740
|
+
};
|
|
741
|
+
/** @returns {SubscriptionRequest} */
|
|
742
|
+
declare function SubscriptionRequest(): SubscriptionRequest;
|
|
743
|
+
type SubscriptionRequest = {
|
|
744
|
+
approved?: string;
|
|
745
|
+
client_id?: string;
|
|
746
|
+
company_id?: string;
|
|
747
|
+
credit_balance?: string;
|
|
748
|
+
request_id?: string;
|
|
749
|
+
};
|
|
750
|
+
/** @returns {SubscriptionRes} */
|
|
751
|
+
declare function SubscriptionRes(): SubscriptionRes;
|
|
752
|
+
type SubscriptionRes = {
|
|
753
|
+
redirect_url?: string;
|
|
754
|
+
};
|
|
755
|
+
/** @returns {Support} */
|
|
756
|
+
declare function Support(): Support;
|
|
757
|
+
type Support = {
|
|
758
|
+
email?: string;
|
|
759
|
+
faq_url?: string;
|
|
760
|
+
phone?: string;
|
|
761
|
+
privacy_policy_url?: string;
|
|
762
|
+
website_url?: string;
|
|
763
|
+
};
|
|
764
|
+
/** @returns {UninstallExtension} */
|
|
765
|
+
declare function UninstallExtension(): UninstallExtension;
|
|
766
|
+
type UninstallExtension = {
|
|
767
|
+
success?: boolean;
|
|
768
|
+
};
|