@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-beta.1
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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -24,340 +24,15 @@ export = PartnerPlatformModel;
|
|
|
24
24
|
* @property {Object} [meta]
|
|
25
25
|
* @property {string} [request_id]
|
|
26
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
27
|
/**
|
|
305
28
|
* @typedef RemoveProxyResponse
|
|
306
29
|
* @property {Object} [data]
|
|
307
30
|
* @property {string} [message]
|
|
308
31
|
*/
|
|
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
32
|
declare class PartnerPlatformModel {
|
|
358
33
|
}
|
|
359
34
|
declare namespace PartnerPlatformModel {
|
|
360
|
-
export { AddProxyReq, AddProxyResponse, APIError,
|
|
35
|
+
export { AddProxyReq, AddProxyResponse, APIError, RemoveProxyResponse };
|
|
361
36
|
}
|
|
362
37
|
/** @returns {AddProxyReq} */
|
|
363
38
|
declare function AddProxyReq(): AddProxyReq;
|
|
@@ -396,373 +71,9 @@ type APIError = {
|
|
|
396
71
|
meta?: any;
|
|
397
72
|
request_id?: string;
|
|
398
73
|
};
|
|
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
74
|
/** @returns {RemoveProxyResponse} */
|
|
708
75
|
declare function RemoveProxyResponse(): RemoveProxyResponse;
|
|
709
76
|
type RemoveProxyResponse = {
|
|
710
77
|
data?: any;
|
|
711
78
|
message?: string;
|
|
712
79
|
};
|
|
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
|
-
};
|