@schematichq/schematic-typescript-node 1.5.9 → 1.5.12
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/dist/BaseClient.d.ts +12 -0
- package/dist/Client.d.ts +3 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +1 -0
- package/dist/api/errors/InternalServerError.d.ts +1 -0
- package/dist/api/errors/NotFoundError.d.ts +1 -0
- package/dist/api/errors/PaymentRequiredError.d.ts +7 -0
- package/dist/api/errors/UnauthorizedError.d.ts +1 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +42 -0
- package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +91 -0
- package/dist/api/resources/billing/client/requests/ListCompanyBillingProfilesRequest.d.ts +20 -0
- package/dist/api/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +15 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +2 -0
- package/dist/api/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +13 -0
- package/dist/api/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/index.d.ts +3 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +28 -0
- package/dist/api/resources/checkout/client/Client.d.ts +18 -0
- package/dist/api/resources/companies/client/Client.d.ts +86 -0
- package/dist/api/resources/components/client/Client.d.ts +16 -0
- package/dist/api/resources/componentspublic/client/Client.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +183 -0
- package/dist/api/resources/credits/client/requests/CountCreditSpendPoliciesRequest.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +17 -0
- package/dist/api/resources/credits/client/requests/ListCreditSpendPoliciesRequest.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +8 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +4 -0
- package/dist/api/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +15 -0
- package/dist/api/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +15 -0
- package/dist/api/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +8 -0
- package/dist/api/resources/dataexports/client/Client.d.ts +8 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +50 -0
- package/dist/api/resources/events/client/Client.d.ts +62 -0
- package/dist/api/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
- package/dist/api/resources/events/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/index.d.ts +3 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -0
- package/dist/api/resources/insights/client/Client.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +101 -0
- package/dist/api/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
- package/dist/api/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/index.d.ts +5 -0
- package/dist/api/resources/licenses/client/Client.d.ts +6 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +6 -2
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +0 -1
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +6 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +58 -5
- package/dist/api/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +8 -0
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/types/CancelMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +2 -0
- package/dist/api/resources/plans/client/Client.d.ts +37 -4
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +5 -1
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +4 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +8 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +20 -0
- package/dist/api/types/AuditLogResponseData.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -1
- package/dist/api/types/ClaimedStripeSandboxKeysResponseData.d.ts +5 -0
- package/dist/api/types/CompanyBillingProfileResponseData.d.ts +17 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +3 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -1
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditLeaseResponseData.d.ts +1 -0
- package/dist/api/types/CreditSpendPolicyResponseData.d.ts +12 -0
- package/dist/api/types/CreditSpendPolicyScope.d.ts +6 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +2 -0
- package/dist/api/types/EventBodyInference.d.ts +4 -2
- package/dist/api/types/GetOnboardingStateResp.d.ts +6 -0
- package/dist/api/types/OnboardingRequirement.d.ts +1 -0
- package/dist/api/types/OnboardingRequirementView.d.ts +1 -0
- package/dist/api/types/OnboardingStripeImport.d.ts +6 -0
- package/dist/api/types/OtlpEnvironmentSettingsResponseData.d.ts +10 -0
- package/dist/api/types/PendingMigrationResponseData.d.ts +8 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +6 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/api/types/PlanVersionCompanyMigrationStatus.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationStatus.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationStrategy.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -0
- package/dist/api/types/RuleConditionPlanVersionResponseData.d.ts +7 -0
- package/dist/api/types/StripeIntegrationConfig.d.ts +8 -0
- package/dist/api/types/StripeSandboxClaimLink.d.ts +6 -0
- package/dist/api/types/StripeSandboxCountriesResponseData.d.ts +3 -0
- package/dist/api/types/StripeSandboxInstallResponseData.d.ts +10 -0
- package/dist/api/types/StripeSandboxKeysResponseData.d.ts +5 -0
- package/dist/api/types/UpcomingInvoiceResponseData.d.ts +23 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +13 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/runtime/index.d.ts +1 -1
- package/dist/core/runtime/runtime.d.ts +19 -0
- package/dist/credits/lease-store.d.ts +17 -8
- package/dist/errors/SchematicError.d.ts +1 -0
- package/dist/errors/SchematicTimeoutError.d.ts +2 -2
- package/dist/events.d.ts +6 -0
- package/dist/index.js +25 -9
- package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +16 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +14 -0
- package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/index.d.ts +3 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +13 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +10 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +8 -0
- package/dist/serialization/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/events/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/index.d.ts +3 -0
- package/dist/serialization/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
- package/dist/serialization/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +5 -0
- package/dist/serialization/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +10 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CancelMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +1 -0
- package/dist/serialization/types/ClaimedStripeSandboxKeysResponseData.d.ts +11 -0
- package/dist/serialization/types/CompanyBillingProfileResponseData.d.ts +25 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +5 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +3 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -2
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -1
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +1 -0
- package/dist/serialization/types/CreditSpendPolicyResponseData.d.ts +18 -0
- package/dist/serialization/types/CreditSpendPolicyScope.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/EventBodyInference.d.ts +1 -0
- package/dist/serialization/types/GetOnboardingStateResp.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirement.d.ts +1 -1
- package/dist/serialization/types/OnboardingRequirementView.d.ts +1 -0
- package/dist/serialization/types/OnboardingStripeImport.d.ts +7 -0
- package/dist/serialization/types/OtlpEnvironmentSettingsResponseData.d.ts +16 -0
- package/dist/serialization/types/PendingMigrationResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationStatus.d.ts +1 -1
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationStatus.d.ts +1 -1
- package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +1 -1
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/RuleConditionPlanVersionResponseData.d.ts +13 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +4 -0
- package/dist/serialization/types/StripeSandboxClaimLink.d.ts +12 -0
- package/dist/serialization/types/StripeSandboxCountriesResponseData.d.ts +9 -0
- package/dist/serialization/types/StripeSandboxInstallResponseData.d.ts +17 -0
- package/dist/serialization/types/StripeSandboxKeysResponseData.d.ts +11 -0
- package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +30 -0
- package/dist/serialization/types/index.d.ts +13 -0
- package/dist/wasm/rulesengine.d.ts +1 -1
- package/dist/wasm/rulesengine.js +30 -30
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@ export declare class EntitlementsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.entitlements.listCompanyOverrides({
|
|
@@ -44,6 +46,8 @@ export declare class EntitlementsClient {
|
|
|
44
46
|
* @throws {@link Schematic.ForbiddenError}
|
|
45
47
|
* @throws {@link Schematic.NotFoundError}
|
|
46
48
|
* @throws {@link Schematic.InternalServerError}
|
|
49
|
+
* @throws {@link errors.SchematicError}
|
|
50
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
47
51
|
*
|
|
48
52
|
* @example
|
|
49
53
|
* await client.entitlements.createCompanyOverride({
|
|
@@ -62,6 +66,8 @@ export declare class EntitlementsClient {
|
|
|
62
66
|
* @throws {@link Schematic.ForbiddenError}
|
|
63
67
|
* @throws {@link Schematic.NotFoundError}
|
|
64
68
|
* @throws {@link Schematic.InternalServerError}
|
|
69
|
+
* @throws {@link errors.SchematicError}
|
|
70
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
65
71
|
*
|
|
66
72
|
* @example
|
|
67
73
|
* await client.entitlements.getCompanyOverride("company_override_id")
|
|
@@ -78,6 +84,8 @@ export declare class EntitlementsClient {
|
|
|
78
84
|
* @throws {@link Schematic.ForbiddenError}
|
|
79
85
|
* @throws {@link Schematic.NotFoundError}
|
|
80
86
|
* @throws {@link Schematic.InternalServerError}
|
|
87
|
+
* @throws {@link errors.SchematicError}
|
|
88
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
81
89
|
*
|
|
82
90
|
* @example
|
|
83
91
|
* await client.entitlements.updateCompanyOverride("company_override_id", {
|
|
@@ -95,6 +103,8 @@ export declare class EntitlementsClient {
|
|
|
95
103
|
* @throws {@link Schematic.ForbiddenError}
|
|
96
104
|
* @throws {@link Schematic.NotFoundError}
|
|
97
105
|
* @throws {@link Schematic.InternalServerError}
|
|
106
|
+
* @throws {@link errors.SchematicError}
|
|
107
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
98
108
|
*
|
|
99
109
|
* @example
|
|
100
110
|
* await client.entitlements.deleteCompanyOverride("company_override_id")
|
|
@@ -110,6 +120,8 @@ export declare class EntitlementsClient {
|
|
|
110
120
|
* @throws {@link Schematic.ForbiddenError}
|
|
111
121
|
* @throws {@link Schematic.NotFoundError}
|
|
112
122
|
* @throws {@link Schematic.InternalServerError}
|
|
123
|
+
* @throws {@link errors.SchematicError}
|
|
124
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
113
125
|
*
|
|
114
126
|
* @example
|
|
115
127
|
* await client.entitlements.countCompanyOverrides({
|
|
@@ -135,6 +147,8 @@ export declare class EntitlementsClient {
|
|
|
135
147
|
* @throws {@link Schematic.ForbiddenError}
|
|
136
148
|
* @throws {@link Schematic.NotFoundError}
|
|
137
149
|
* @throws {@link Schematic.InternalServerError}
|
|
150
|
+
* @throws {@link errors.SchematicError}
|
|
151
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
138
152
|
*
|
|
139
153
|
* @example
|
|
140
154
|
* await client.entitlements.listFeatureCompanies({
|
|
@@ -155,6 +169,8 @@ export declare class EntitlementsClient {
|
|
|
155
169
|
* @throws {@link Schematic.ForbiddenError}
|
|
156
170
|
* @throws {@link Schematic.NotFoundError}
|
|
157
171
|
* @throws {@link Schematic.InternalServerError}
|
|
172
|
+
* @throws {@link errors.SchematicError}
|
|
173
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
158
174
|
*
|
|
159
175
|
* @example
|
|
160
176
|
* await client.entitlements.countFeatureCompanies({
|
|
@@ -175,6 +191,8 @@ export declare class EntitlementsClient {
|
|
|
175
191
|
* @throws {@link Schematic.ForbiddenError}
|
|
176
192
|
* @throws {@link Schematic.NotFoundError}
|
|
177
193
|
* @throws {@link Schematic.InternalServerError}
|
|
194
|
+
* @throws {@link errors.SchematicError}
|
|
195
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
178
196
|
*
|
|
179
197
|
* @example
|
|
180
198
|
* await client.entitlements.listFeatureUsage({
|
|
@@ -199,6 +217,8 @@ export declare class EntitlementsClient {
|
|
|
199
217
|
* @throws {@link Schematic.ForbiddenError}
|
|
200
218
|
* @throws {@link Schematic.NotFoundError}
|
|
201
219
|
* @throws {@link Schematic.InternalServerError}
|
|
220
|
+
* @throws {@link errors.SchematicError}
|
|
221
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
202
222
|
*
|
|
203
223
|
* @example
|
|
204
224
|
* await client.entitlements.listFeatureUsageHistory({
|
|
@@ -221,6 +241,8 @@ export declare class EntitlementsClient {
|
|
|
221
241
|
* @throws {@link Schematic.ForbiddenError}
|
|
222
242
|
* @throws {@link Schematic.NotFoundError}
|
|
223
243
|
* @throws {@link Schematic.InternalServerError}
|
|
244
|
+
* @throws {@link errors.SchematicError}
|
|
245
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
224
246
|
*
|
|
225
247
|
* @example
|
|
226
248
|
* await client.entitlements.getFeatureUsageTimeSeries({
|
|
@@ -242,6 +264,8 @@ export declare class EntitlementsClient {
|
|
|
242
264
|
* @throws {@link Schematic.ForbiddenError}
|
|
243
265
|
* @throws {@link Schematic.NotFoundError}
|
|
244
266
|
* @throws {@link Schematic.InternalServerError}
|
|
267
|
+
* @throws {@link errors.SchematicError}
|
|
268
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
245
269
|
*
|
|
246
270
|
* @example
|
|
247
271
|
* await client.entitlements.countFeatureUsage({
|
|
@@ -266,6 +290,8 @@ export declare class EntitlementsClient {
|
|
|
266
290
|
* @throws {@link Schematic.ForbiddenError}
|
|
267
291
|
* @throws {@link Schematic.NotFoundError}
|
|
268
292
|
* @throws {@link Schematic.InternalServerError}
|
|
293
|
+
* @throws {@link errors.SchematicError}
|
|
294
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
269
295
|
*
|
|
270
296
|
* @example
|
|
271
297
|
* await client.entitlements.listFeatureUsers({
|
|
@@ -286,6 +312,8 @@ export declare class EntitlementsClient {
|
|
|
286
312
|
* @throws {@link Schematic.ForbiddenError}
|
|
287
313
|
* @throws {@link Schematic.NotFoundError}
|
|
288
314
|
* @throws {@link Schematic.InternalServerError}
|
|
315
|
+
* @throws {@link errors.SchematicError}
|
|
316
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
289
317
|
*
|
|
290
318
|
* @example
|
|
291
319
|
* await client.entitlements.countFeatureUsers({
|
|
@@ -306,6 +334,8 @@ export declare class EntitlementsClient {
|
|
|
306
334
|
* @throws {@link Schematic.ForbiddenError}
|
|
307
335
|
* @throws {@link Schematic.NotFoundError}
|
|
308
336
|
* @throws {@link Schematic.InternalServerError}
|
|
337
|
+
* @throws {@link errors.SchematicError}
|
|
338
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
309
339
|
*
|
|
310
340
|
* @example
|
|
311
341
|
* await client.entitlements.listPlanEntitlements({
|
|
@@ -333,6 +363,8 @@ export declare class EntitlementsClient {
|
|
|
333
363
|
* @throws {@link Schematic.ForbiddenError}
|
|
334
364
|
* @throws {@link Schematic.NotFoundError}
|
|
335
365
|
* @throws {@link Schematic.InternalServerError}
|
|
366
|
+
* @throws {@link errors.SchematicError}
|
|
367
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
336
368
|
*
|
|
337
369
|
* @example
|
|
338
370
|
* await client.entitlements.createPlanEntitlement({
|
|
@@ -351,6 +383,8 @@ export declare class EntitlementsClient {
|
|
|
351
383
|
* @throws {@link Schematic.ForbiddenError}
|
|
352
384
|
* @throws {@link Schematic.NotFoundError}
|
|
353
385
|
* @throws {@link Schematic.InternalServerError}
|
|
386
|
+
* @throws {@link errors.SchematicError}
|
|
387
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
354
388
|
*
|
|
355
389
|
* @example
|
|
356
390
|
* await client.entitlements.getPlanEntitlement("plan_entitlement_id")
|
|
@@ -367,6 +401,8 @@ export declare class EntitlementsClient {
|
|
|
367
401
|
* @throws {@link Schematic.ForbiddenError}
|
|
368
402
|
* @throws {@link Schematic.NotFoundError}
|
|
369
403
|
* @throws {@link Schematic.InternalServerError}
|
|
404
|
+
* @throws {@link errors.SchematicError}
|
|
405
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
370
406
|
*
|
|
371
407
|
* @example
|
|
372
408
|
* await client.entitlements.updatePlanEntitlement("plan_entitlement_id", {
|
|
@@ -384,6 +420,8 @@ export declare class EntitlementsClient {
|
|
|
384
420
|
* @throws {@link Schematic.ForbiddenError}
|
|
385
421
|
* @throws {@link Schematic.NotFoundError}
|
|
386
422
|
* @throws {@link Schematic.InternalServerError}
|
|
423
|
+
* @throws {@link errors.SchematicError}
|
|
424
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
387
425
|
*
|
|
388
426
|
* @example
|
|
389
427
|
* await client.entitlements.deletePlanEntitlement("plan_entitlement_id")
|
|
@@ -399,6 +437,8 @@ export declare class EntitlementsClient {
|
|
|
399
437
|
* @throws {@link Schematic.ForbiddenError}
|
|
400
438
|
* @throws {@link Schematic.NotFoundError}
|
|
401
439
|
* @throws {@link Schematic.InternalServerError}
|
|
440
|
+
* @throws {@link errors.SchematicError}
|
|
441
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
402
442
|
*
|
|
403
443
|
* @example
|
|
404
444
|
* await client.entitlements.upsertPlanEntitlementForBillingProduct({
|
|
@@ -420,6 +460,8 @@ export declare class EntitlementsClient {
|
|
|
420
460
|
* @throws {@link Schematic.ForbiddenError}
|
|
421
461
|
* @throws {@link Schematic.NotFoundError}
|
|
422
462
|
* @throws {@link Schematic.InternalServerError}
|
|
463
|
+
* @throws {@link errors.SchematicError}
|
|
464
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
423
465
|
*
|
|
424
466
|
* @example
|
|
425
467
|
* await client.entitlements.countPlanEntitlements({
|
|
@@ -447,6 +489,8 @@ export declare class EntitlementsClient {
|
|
|
447
489
|
* @throws {@link Schematic.ForbiddenError}
|
|
448
490
|
* @throws {@link Schematic.NotFoundError}
|
|
449
491
|
* @throws {@link Schematic.InternalServerError}
|
|
492
|
+
* @throws {@link errors.SchematicError}
|
|
493
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
450
494
|
*
|
|
451
495
|
* @example
|
|
452
496
|
* await client.entitlements.duplicatePlanEntitlements({
|
|
@@ -464,6 +508,8 @@ export declare class EntitlementsClient {
|
|
|
464
508
|
* @throws {@link Schematic.ForbiddenError}
|
|
465
509
|
* @throws {@link Schematic.NotFoundError}
|
|
466
510
|
* @throws {@link Schematic.InternalServerError}
|
|
511
|
+
* @throws {@link errors.SchematicError}
|
|
512
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
467
513
|
*
|
|
468
514
|
* @example
|
|
469
515
|
* await client.entitlements.getFeatureUsageByCompany({
|
|
@@ -482,6 +528,8 @@ export declare class EntitlementsClient {
|
|
|
482
528
|
* @throws {@link Schematic.ForbiddenError}
|
|
483
529
|
* @throws {@link Schematic.NotFoundError}
|
|
484
530
|
* @throws {@link Schematic.InternalServerError}
|
|
531
|
+
* @throws {@link errors.SchematicError}
|
|
532
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
485
533
|
*
|
|
486
534
|
* @example
|
|
487
535
|
* await client.entitlements.getUserUsageByCompany({
|
|
@@ -501,6 +549,8 @@ export declare class EntitlementsClient {
|
|
|
501
549
|
* @throws {@link Schematic.ForbiddenError}
|
|
502
550
|
* @throws {@link Schematic.NotFoundError}
|
|
503
551
|
* @throws {@link Schematic.InternalServerError}
|
|
552
|
+
* @throws {@link errors.SchematicError}
|
|
553
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
504
554
|
*
|
|
505
555
|
* @example
|
|
506
556
|
* await client.entitlements.getUserUsageDetail({
|
|
@@ -19,6 +19,8 @@ export declare class EventsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.events.createEventBatch({
|
|
@@ -38,6 +40,8 @@ export declare class EventsClient {
|
|
|
38
40
|
* @throws {@link Schematic.ForbiddenError}
|
|
39
41
|
* @throws {@link Schematic.NotFoundError}
|
|
40
42
|
* @throws {@link Schematic.InternalServerError}
|
|
43
|
+
* @throws {@link errors.SchematicError}
|
|
44
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
41
45
|
*
|
|
42
46
|
* @example
|
|
43
47
|
* await client.events.getEventSummaries({
|
|
@@ -58,6 +62,8 @@ export declare class EventsClient {
|
|
|
58
62
|
* @throws {@link Schematic.ForbiddenError}
|
|
59
63
|
* @throws {@link Schematic.NotFoundError}
|
|
60
64
|
* @throws {@link Schematic.InternalServerError}
|
|
65
|
+
* @throws {@link errors.SchematicError}
|
|
66
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
61
67
|
*
|
|
62
68
|
* @example
|
|
63
69
|
* await client.events.listEvents({
|
|
@@ -82,6 +88,8 @@ export declare class EventsClient {
|
|
|
82
88
|
* @throws {@link Schematic.ForbiddenError}
|
|
83
89
|
* @throws {@link Schematic.NotFoundError}
|
|
84
90
|
* @throws {@link Schematic.InternalServerError}
|
|
91
|
+
* @throws {@link errors.SchematicError}
|
|
92
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
85
93
|
*
|
|
86
94
|
* @example
|
|
87
95
|
* await client.events.createEvent({
|
|
@@ -98,6 +106,8 @@ export declare class EventsClient {
|
|
|
98
106
|
* @throws {@link Schematic.ForbiddenError}
|
|
99
107
|
* @throws {@link Schematic.NotFoundError}
|
|
100
108
|
* @throws {@link Schematic.InternalServerError}
|
|
109
|
+
* @throws {@link errors.SchematicError}
|
|
110
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
101
111
|
*
|
|
102
112
|
* @example
|
|
103
113
|
* await client.events.getEvent("event_id")
|
|
@@ -111,6 +121,58 @@ export declare class EventsClient {
|
|
|
111
121
|
* @throws {@link Schematic.ForbiddenError}
|
|
112
122
|
* @throws {@link Schematic.NotFoundError}
|
|
113
123
|
* @throws {@link Schematic.InternalServerError}
|
|
124
|
+
* @throws {@link errors.SchematicError}
|
|
125
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* await client.events.getOtlpEnvironmentSettings()
|
|
129
|
+
*/
|
|
130
|
+
getOtlpEnvironmentSettings(requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetOtlpEnvironmentSettingsResponse>;
|
|
131
|
+
private __getOtlpEnvironmentSettings;
|
|
132
|
+
/**
|
|
133
|
+
* @param {Schematic.UpsertOtlpEnvironmentSettingsRequestBody} request
|
|
134
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link Schematic.BadRequestError}
|
|
137
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
138
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
139
|
+
* @throws {@link Schematic.NotFoundError}
|
|
140
|
+
* @throws {@link Schematic.InternalServerError}
|
|
141
|
+
* @throws {@link errors.SchematicError}
|
|
142
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.events.upsertOtlpEnvironmentSettings({
|
|
146
|
+
* toolEventsEnabled: true
|
|
147
|
+
* })
|
|
148
|
+
*/
|
|
149
|
+
upsertOtlpEnvironmentSettings(request: Schematic.UpsertOtlpEnvironmentSettingsRequestBody, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertOtlpEnvironmentSettingsResponse>;
|
|
150
|
+
private __upsertOtlpEnvironmentSettings;
|
|
151
|
+
/**
|
|
152
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link Schematic.BadRequestError}
|
|
155
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
156
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
157
|
+
* @throws {@link Schematic.NotFoundError}
|
|
158
|
+
* @throws {@link Schematic.InternalServerError}
|
|
159
|
+
* @throws {@link errors.SchematicError}
|
|
160
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* await client.events.deleteOtlpEnvironmentSettings()
|
|
164
|
+
*/
|
|
165
|
+
deleteOtlpEnvironmentSettings(requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteOtlpEnvironmentSettingsResponse>;
|
|
166
|
+
private __deleteOtlpEnvironmentSettings;
|
|
167
|
+
/**
|
|
168
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
171
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
172
|
+
* @throws {@link Schematic.NotFoundError}
|
|
173
|
+
* @throws {@link Schematic.InternalServerError}
|
|
174
|
+
* @throws {@link errors.SchematicError}
|
|
175
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
114
176
|
*
|
|
115
177
|
* @example
|
|
116
178
|
* await client.events.getSegmentIntegrationStatus()
|
package/dist/api/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* toolEventsEnabled: true
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpsertOtlpEnvironmentSettingsRequestBody {
|
|
8
|
+
companyAttribute?: string;
|
|
9
|
+
companyKey?: string;
|
|
10
|
+
toolEventsEnabled: boolean;
|
|
11
|
+
userAttribute?: string;
|
|
12
|
+
userKey?: string;
|
|
13
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type { CreateEventBatchRequestBody } from "./CreateEventBatchRequestBody";
|
|
2
2
|
export type { GetEventSummariesRequest } from "./GetEventSummariesRequest";
|
|
3
3
|
export type { ListEventsRequest } from "./ListEventsRequest";
|
|
4
|
+
export type { UpsertOtlpEnvironmentSettingsRequestBody } from "./UpsertOtlpEnvironmentSettingsRequestBody";
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from "./CreateEventBatchResponse";
|
|
2
2
|
export * from "./CreateEventResponse";
|
|
3
|
+
export * from "./DeleteOtlpEnvironmentSettingsResponse";
|
|
3
4
|
export * from "./GetEventResponse";
|
|
4
5
|
export * from "./GetEventSummariesParams";
|
|
5
6
|
export * from "./GetEventSummariesResponse";
|
|
7
|
+
export * from "./GetOtlpEnvironmentSettingsResponse";
|
|
6
8
|
export * from "./GetSegmentIntegrationStatusResponse";
|
|
7
9
|
export * from "./ListEventsParams";
|
|
8
10
|
export * from "./ListEventsResponse";
|
|
11
|
+
export * from "./UpsertOtlpEnvironmentSettingsResponse";
|
|
@@ -19,6 +19,8 @@ export declare class FeaturesClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.features.listFeatures({
|
|
@@ -45,6 +47,8 @@ export declare class FeaturesClient {
|
|
|
45
47
|
* @throws {@link Schematic.ForbiddenError}
|
|
46
48
|
* @throws {@link Schematic.NotFoundError}
|
|
47
49
|
* @throws {@link Schematic.InternalServerError}
|
|
50
|
+
* @throws {@link errors.SchematicError}
|
|
51
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
48
52
|
*
|
|
49
53
|
* @example
|
|
50
54
|
* await client.features.createFeature({
|
|
@@ -63,6 +67,8 @@ export declare class FeaturesClient {
|
|
|
63
67
|
* @throws {@link Schematic.ForbiddenError}
|
|
64
68
|
* @throws {@link Schematic.NotFoundError}
|
|
65
69
|
* @throws {@link Schematic.InternalServerError}
|
|
70
|
+
* @throws {@link errors.SchematicError}
|
|
71
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
66
72
|
*
|
|
67
73
|
* @example
|
|
68
74
|
* await client.features.getFeature("feature_id")
|
|
@@ -79,6 +85,8 @@ export declare class FeaturesClient {
|
|
|
79
85
|
* @throws {@link Schematic.ForbiddenError}
|
|
80
86
|
* @throws {@link Schematic.NotFoundError}
|
|
81
87
|
* @throws {@link Schematic.InternalServerError}
|
|
88
|
+
* @throws {@link errors.SchematicError}
|
|
89
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
82
90
|
*
|
|
83
91
|
* @example
|
|
84
92
|
* await client.features.updateFeature("feature_id")
|
|
@@ -94,6 +102,8 @@ export declare class FeaturesClient {
|
|
|
94
102
|
* @throws {@link Schematic.ForbiddenError}
|
|
95
103
|
* @throws {@link Schematic.NotFoundError}
|
|
96
104
|
* @throws {@link Schematic.InternalServerError}
|
|
105
|
+
* @throws {@link errors.SchematicError}
|
|
106
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
97
107
|
*
|
|
98
108
|
* @example
|
|
99
109
|
* await client.features.deleteFeature("feature_id")
|
|
@@ -109,6 +119,8 @@ export declare class FeaturesClient {
|
|
|
109
119
|
* @throws {@link Schematic.ForbiddenError}
|
|
110
120
|
* @throws {@link Schematic.NotFoundError}
|
|
111
121
|
* @throws {@link Schematic.InternalServerError}
|
|
122
|
+
* @throws {@link errors.SchematicError}
|
|
123
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
112
124
|
*
|
|
113
125
|
* @example
|
|
114
126
|
* await client.features.upsertFeatureForBillingProduct({
|
|
@@ -130,6 +142,8 @@ export declare class FeaturesClient {
|
|
|
130
142
|
* @throws {@link Schematic.ForbiddenError}
|
|
131
143
|
* @throws {@link Schematic.NotFoundError}
|
|
132
144
|
* @throws {@link Schematic.InternalServerError}
|
|
145
|
+
* @throws {@link errors.SchematicError}
|
|
146
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
133
147
|
*
|
|
134
148
|
* @example
|
|
135
149
|
* await client.features.countFeatures({
|
|
@@ -156,6 +170,8 @@ export declare class FeaturesClient {
|
|
|
156
170
|
* @throws {@link Schematic.ForbiddenError}
|
|
157
171
|
* @throws {@link Schematic.NotFoundError}
|
|
158
172
|
* @throws {@link Schematic.InternalServerError}
|
|
173
|
+
* @throws {@link errors.SchematicError}
|
|
174
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
159
175
|
*
|
|
160
176
|
* @example
|
|
161
177
|
* await client.features.listFlags({
|
|
@@ -177,6 +193,8 @@ export declare class FeaturesClient {
|
|
|
177
193
|
* @throws {@link Schematic.ForbiddenError}
|
|
178
194
|
* @throws {@link Schematic.NotFoundError}
|
|
179
195
|
* @throws {@link Schematic.InternalServerError}
|
|
196
|
+
* @throws {@link errors.SchematicError}
|
|
197
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
180
198
|
*
|
|
181
199
|
* @example
|
|
182
200
|
* await client.features.createFlag({
|
|
@@ -197,6 +215,8 @@ export declare class FeaturesClient {
|
|
|
197
215
|
* @throws {@link Schematic.ForbiddenError}
|
|
198
216
|
* @throws {@link Schematic.NotFoundError}
|
|
199
217
|
* @throws {@link Schematic.InternalServerError}
|
|
218
|
+
* @throws {@link errors.SchematicError}
|
|
219
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
200
220
|
*
|
|
201
221
|
* @example
|
|
202
222
|
* await client.features.getFlag("flag_id")
|
|
@@ -213,6 +233,8 @@ export declare class FeaturesClient {
|
|
|
213
233
|
* @throws {@link Schematic.ForbiddenError}
|
|
214
234
|
* @throws {@link Schematic.NotFoundError}
|
|
215
235
|
* @throws {@link Schematic.InternalServerError}
|
|
236
|
+
* @throws {@link errors.SchematicError}
|
|
237
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
216
238
|
*
|
|
217
239
|
* @example
|
|
218
240
|
* await client.features.updateFlag("flag_id", {
|
|
@@ -234,6 +256,8 @@ export declare class FeaturesClient {
|
|
|
234
256
|
* @throws {@link Schematic.ForbiddenError}
|
|
235
257
|
* @throws {@link Schematic.NotFoundError}
|
|
236
258
|
* @throws {@link Schematic.InternalServerError}
|
|
259
|
+
* @throws {@link errors.SchematicError}
|
|
260
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
237
261
|
*
|
|
238
262
|
* @example
|
|
239
263
|
* await client.features.deleteFlag("flag_id")
|
|
@@ -250,6 +274,8 @@ export declare class FeaturesClient {
|
|
|
250
274
|
* @throws {@link Schematic.ForbiddenError}
|
|
251
275
|
* @throws {@link Schematic.NotFoundError}
|
|
252
276
|
* @throws {@link Schematic.InternalServerError}
|
|
277
|
+
* @throws {@link errors.SchematicError}
|
|
278
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
253
279
|
*
|
|
254
280
|
* @example
|
|
255
281
|
* await client.features.updateFlagRules("flag_id", {
|
|
@@ -284,6 +310,8 @@ export declare class FeaturesClient {
|
|
|
284
310
|
* @throws {@link Schematic.ForbiddenError}
|
|
285
311
|
* @throws {@link Schematic.NotFoundError}
|
|
286
312
|
* @throws {@link Schematic.InternalServerError}
|
|
313
|
+
* @throws {@link errors.SchematicError}
|
|
314
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
287
315
|
*
|
|
288
316
|
* @example
|
|
289
317
|
* await client.features.checkFlag("key", {})
|
|
@@ -299,6 +327,8 @@ export declare class FeaturesClient {
|
|
|
299
327
|
* @throws {@link Schematic.ForbiddenError}
|
|
300
328
|
* @throws {@link Schematic.NotFoundError}
|
|
301
329
|
* @throws {@link Schematic.InternalServerError}
|
|
330
|
+
* @throws {@link errors.SchematicError}
|
|
331
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
302
332
|
*
|
|
303
333
|
* @example
|
|
304
334
|
* await client.features.checkFlags({})
|
|
@@ -314,6 +344,8 @@ export declare class FeaturesClient {
|
|
|
314
344
|
* @throws {@link Schematic.ForbiddenError}
|
|
315
345
|
* @throws {@link Schematic.NotFoundError}
|
|
316
346
|
* @throws {@link Schematic.InternalServerError}
|
|
347
|
+
* @throws {@link errors.SchematicError}
|
|
348
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
317
349
|
*
|
|
318
350
|
* @example
|
|
319
351
|
* await client.features.checkFlagsBulk({
|
|
@@ -331,6 +363,8 @@ export declare class FeaturesClient {
|
|
|
331
363
|
* @throws {@link Schematic.ForbiddenError}
|
|
332
364
|
* @throws {@link Schematic.NotFoundError}
|
|
333
365
|
* @throws {@link Schematic.InternalServerError}
|
|
366
|
+
* @throws {@link errors.SchematicError}
|
|
367
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
334
368
|
*
|
|
335
369
|
* @example
|
|
336
370
|
* await client.features.countFlags({
|
|
@@ -18,6 +18,8 @@ export declare class InsightsClient {
|
|
|
18
18
|
* @throws {@link Schematic.ForbiddenError}
|
|
19
19
|
* @throws {@link Schematic.NotFoundError}
|
|
20
20
|
* @throws {@link Schematic.InternalServerError}
|
|
21
|
+
* @throws {@link errors.SchematicError}
|
|
22
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
21
23
|
*
|
|
22
24
|
* @example
|
|
23
25
|
* await client.insights.getActivity({
|
|
@@ -34,6 +36,8 @@ export declare class InsightsClient {
|
|
|
34
36
|
* @throws {@link Schematic.ForbiddenError}
|
|
35
37
|
* @throws {@link Schematic.NotFoundError}
|
|
36
38
|
* @throws {@link Schematic.InternalServerError}
|
|
39
|
+
* @throws {@link errors.SchematicError}
|
|
40
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
37
41
|
*
|
|
38
42
|
* @example
|
|
39
43
|
* await client.insights.getEnvironmentFeatureUsageTimeSeries({
|
|
@@ -53,6 +57,8 @@ export declare class InsightsClient {
|
|
|
53
57
|
* @throws {@link Schematic.ForbiddenError}
|
|
54
58
|
* @throws {@link Schematic.NotFoundError}
|
|
55
59
|
* @throws {@link Schematic.InternalServerError}
|
|
60
|
+
* @throws {@link errors.SchematicError}
|
|
61
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
56
62
|
*
|
|
57
63
|
* @example
|
|
58
64
|
* await client.insights.getPlanGrowth({
|
|
@@ -68,6 +74,8 @@ export declare class InsightsClient {
|
|
|
68
74
|
* @throws {@link Schematic.ForbiddenError}
|
|
69
75
|
* @throws {@link Schematic.NotFoundError}
|
|
70
76
|
* @throws {@link Schematic.InternalServerError}
|
|
77
|
+
* @throws {@link errors.SchematicError}
|
|
78
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
71
79
|
*
|
|
72
80
|
* @example
|
|
73
81
|
* await client.insights.getSummary()
|
|
@@ -82,6 +90,8 @@ export declare class InsightsClient {
|
|
|
82
90
|
* @throws {@link Schematic.ForbiddenError}
|
|
83
91
|
* @throws {@link Schematic.NotFoundError}
|
|
84
92
|
* @throws {@link Schematic.InternalServerError}
|
|
93
|
+
* @throws {@link errors.SchematicError}
|
|
94
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
85
95
|
*
|
|
86
96
|
* @example
|
|
87
97
|
* await client.insights.getTopFeaturesByUsage({
|
|
@@ -100,6 +110,8 @@ export declare class InsightsClient {
|
|
|
100
110
|
* @throws {@link Schematic.ForbiddenError}
|
|
101
111
|
* @throws {@link Schematic.NotFoundError}
|
|
102
112
|
* @throws {@link Schematic.InternalServerError}
|
|
113
|
+
* @throws {@link errors.SchematicError}
|
|
114
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
103
115
|
*
|
|
104
116
|
* @example
|
|
105
117
|
* await client.insights.getEnvironmentTraitUsageTimeSeries({
|