@schematichq/schematic-typescript-node 1.5.10 → 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/api/errors/PaymentRequiredError.d.ts +7 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +43 -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/credits/client/Client.d.ts +123 -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/events/client/Client.d.ts +50 -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/integrationsapi/client/Client.d.ts +83 -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/planmigrations/client/Client.d.ts +40 -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 +1 -1
- 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/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/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/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/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/RuleConditionDetailResponseData.d.ts +1 -0
- package/dist/api/types/RuleConditionPlanVersionResponseData.d.ts +7 -0
- package/dist/api/types/StripeIntegrationConfig.d.ts +6 -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/index.d.ts +12 -0
- package/dist/credits/lease-store.d.ts +17 -8
- 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/PublishPlanVersionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -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/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/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/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/RuleConditionDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/RuleConditionPlanVersionResponseData.d.ts +13 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +3 -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/index.d.ts +12 -0
- package/dist/wasm/rulesengine.d.ts +1 -1
- package/dist/wasm/rulesengine.js +30 -30
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as core from "../../core";
|
|
2
|
+
import * as errors from "../../errors/index";
|
|
3
|
+
import type * as Schematic from "../index";
|
|
4
|
+
export declare class PaymentRequiredError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
6
|
+
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
7
|
+
}
|
|
@@ -550,6 +550,49 @@ export declare class BillingClient {
|
|
|
550
550
|
*/
|
|
551
551
|
countBillingProducts(request?: Schematic.CountBillingProductsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingProductsResponse>;
|
|
552
552
|
private __countBillingProducts;
|
|
553
|
+
/**
|
|
554
|
+
* @param {Schematic.ListCompanyBillingProfilesRequest} request
|
|
555
|
+
* @param {BillingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
556
|
+
*
|
|
557
|
+
* @throws {@link Schematic.BadRequestError}
|
|
558
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
559
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
560
|
+
* @throws {@link Schematic.NotFoundError}
|
|
561
|
+
* @throws {@link Schematic.InternalServerError}
|
|
562
|
+
* @throws {@link errors.SchematicError}
|
|
563
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
564
|
+
*
|
|
565
|
+
* @example
|
|
566
|
+
* await client.billing.listCompanyBillingProfiles({
|
|
567
|
+
* companyId: "company_id",
|
|
568
|
+
* isDefault: true,
|
|
569
|
+
* providerType: "metronome",
|
|
570
|
+
* limit: 1000000,
|
|
571
|
+
* offset: 1000000
|
|
572
|
+
* })
|
|
573
|
+
*/
|
|
574
|
+
listCompanyBillingProfiles(request?: Schematic.ListCompanyBillingProfilesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyBillingProfilesResponse>;
|
|
575
|
+
private __listCompanyBillingProfiles;
|
|
576
|
+
/**
|
|
577
|
+
* @param {string} billing_profile_id - billing_profile_id
|
|
578
|
+
* @param {Schematic.UpdateCompanyBillingProfileRequestBody} request
|
|
579
|
+
* @param {BillingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
580
|
+
*
|
|
581
|
+
* @throws {@link Schematic.BadRequestError}
|
|
582
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
583
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
584
|
+
* @throws {@link Schematic.NotFoundError}
|
|
585
|
+
* @throws {@link Schematic.InternalServerError}
|
|
586
|
+
* @throws {@link errors.SchematicError}
|
|
587
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
588
|
+
*
|
|
589
|
+
* @example
|
|
590
|
+
* await client.billing.updateCompanyBillingProfile("billing_profile_id", {
|
|
591
|
+
* collectionMethod: "charge_automatically"
|
|
592
|
+
* })
|
|
593
|
+
*/
|
|
594
|
+
updateCompanyBillingProfile(billing_profile_id: string, request: Schematic.UpdateCompanyBillingProfileRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyBillingProfileResponse>;
|
|
595
|
+
private __updateCompanyBillingProfile;
|
|
553
596
|
/**
|
|
554
597
|
* @param {Schematic.CreateBillingSubscriptionRequestBody} request
|
|
555
598
|
* @param {BillingClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyId: "company_id",
|
|
6
|
+
* isDefault: true,
|
|
7
|
+
* providerType: "metronome",
|
|
8
|
+
* limit: 1000000,
|
|
9
|
+
* offset: 1000000
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCompanyBillingProfilesRequest {
|
|
13
|
+
companyId?: string;
|
|
14
|
+
isDefault?: boolean;
|
|
15
|
+
providerType?: Schematic.BillingProviderType;
|
|
16
|
+
/** Page limit (default 100) */
|
|
17
|
+
limit?: number;
|
|
18
|
+
/** Page offset (default 0) */
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
package/dist/api/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* collectionMethod: "charge_automatically"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface UpdateCompanyBillingProfileRequestBody {
|
|
9
|
+
collectionMethod: Schematic.BillingCollectionMethod;
|
|
10
|
+
daysUntilDue?: number;
|
|
11
|
+
isDefault?: boolean;
|
|
12
|
+
name?: string;
|
|
13
|
+
paymentMethodId?: string;
|
|
14
|
+
prorationBehavior?: Schematic.ProrationBehavior;
|
|
15
|
+
}
|
|
@@ -11,8 +11,10 @@ export type { CreatePaymentMethodRequestBody } from "./CreatePaymentMethodReques
|
|
|
11
11
|
export type { ListBillingPricesRequest } from "./ListBillingPricesRequest";
|
|
12
12
|
export type { ListBillingProductPricesRequest } from "./ListBillingProductPricesRequest";
|
|
13
13
|
export type { ListBillingProductsRequest } from "./ListBillingProductsRequest";
|
|
14
|
+
export type { ListCompanyBillingProfilesRequest } from "./ListCompanyBillingProfilesRequest";
|
|
14
15
|
export type { ListCouponsRequest } from "./ListCouponsRequest";
|
|
15
16
|
export type { ListCustomersWithSubscriptionsRequest } from "./ListCustomersWithSubscriptionsRequest";
|
|
16
17
|
export type { ListInvoicesRequest } from "./ListInvoicesRequest";
|
|
17
18
|
export type { ListMetersRequest } from "./ListMetersRequest";
|
|
18
19
|
export type { ListPaymentMethodsRequest } from "./ListPaymentMethodsRequest";
|
|
20
|
+
export type { UpdateCompanyBillingProfileRequestBody } from "./UpdateCompanyBillingProfileRequestBody";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface ListCompanyBillingProfilesParams {
|
|
6
|
+
companyId?: string;
|
|
7
|
+
isDefault?: boolean;
|
|
8
|
+
/** Page limit (default 100) */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** Page offset (default 0) */
|
|
11
|
+
offset?: number;
|
|
12
|
+
providerType?: Schematic.BillingProviderType;
|
|
13
|
+
}
|
|
@@ -14,6 +14,8 @@ export * from "./ListBillingProductPricesParams";
|
|
|
14
14
|
export * from "./ListBillingProductPricesResponse";
|
|
15
15
|
export * from "./ListBillingProductsParams";
|
|
16
16
|
export * from "./ListBillingProductsResponse";
|
|
17
|
+
export * from "./ListCompanyBillingProfilesParams";
|
|
18
|
+
export * from "./ListCompanyBillingProfilesResponse";
|
|
17
19
|
export * from "./ListCouponsParams";
|
|
18
20
|
export * from "./ListCouponsResponse";
|
|
19
21
|
export * from "./ListCustomersWithSubscriptionsParams";
|
|
@@ -24,6 +26,7 @@ export * from "./ListMetersParams";
|
|
|
24
26
|
export * from "./ListMetersResponse";
|
|
25
27
|
export * from "./ListPaymentMethodsParams";
|
|
26
28
|
export * from "./ListPaymentMethodsResponse";
|
|
29
|
+
export * from "./UpdateCompanyBillingProfileResponse";
|
|
27
30
|
export * from "./UpsertBillingCouponResponse";
|
|
28
31
|
export * from "./UpsertBillingCustomerResponse";
|
|
29
32
|
export * from "./UpsertBillingMeterResponse";
|
|
@@ -408,6 +408,7 @@ export declare class CreditsClient {
|
|
|
408
408
|
*
|
|
409
409
|
* @throws {@link Schematic.BadRequestError}
|
|
410
410
|
* @throws {@link Schematic.UnauthorizedError}
|
|
411
|
+
* @throws {@link Schematic.PaymentRequiredError}
|
|
411
412
|
* @throws {@link Schematic.ForbiddenError}
|
|
412
413
|
* @throws {@link Schematic.NotFoundError}
|
|
413
414
|
* @throws {@link Schematic.InternalServerError}
|
|
@@ -430,6 +431,7 @@ export declare class CreditsClient {
|
|
|
430
431
|
*
|
|
431
432
|
* @throws {@link Schematic.BadRequestError}
|
|
432
433
|
* @throws {@link Schematic.UnauthorizedError}
|
|
434
|
+
* @throws {@link Schematic.PaymentRequiredError}
|
|
433
435
|
* @throws {@link Schematic.ForbiddenError}
|
|
434
436
|
* @throws {@link Schematic.NotFoundError}
|
|
435
437
|
* @throws {@link Schematic.InternalServerError}
|
|
@@ -595,6 +597,127 @@ export declare class CreditsClient {
|
|
|
595
597
|
*/
|
|
596
598
|
countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingPlanCreditGrantsResponse>;
|
|
597
599
|
private __countBillingPlanCreditGrants;
|
|
600
|
+
/**
|
|
601
|
+
* @param {Schematic.ListCreditSpendPoliciesRequest} request
|
|
602
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
603
|
+
*
|
|
604
|
+
* @throws {@link Schematic.BadRequestError}
|
|
605
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
606
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
607
|
+
* @throws {@link Schematic.NotFoundError}
|
|
608
|
+
* @throws {@link Schematic.InternalServerError}
|
|
609
|
+
* @throws {@link errors.SchematicError}
|
|
610
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
611
|
+
*
|
|
612
|
+
* @example
|
|
613
|
+
* await client.credits.listCreditSpendPolicies({
|
|
614
|
+
* billingCreditId: "billing_credit_id",
|
|
615
|
+
* companyId: "company_id",
|
|
616
|
+
* scopeType: "company",
|
|
617
|
+
* userId: "user_id",
|
|
618
|
+
* userIds: ["user_ids"],
|
|
619
|
+
* limit: 1000000,
|
|
620
|
+
* offset: 1000000
|
|
621
|
+
* })
|
|
622
|
+
*/
|
|
623
|
+
listCreditSpendPolicies(request?: Schematic.ListCreditSpendPoliciesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditSpendPoliciesResponse>;
|
|
624
|
+
private __listCreditSpendPolicies;
|
|
625
|
+
/**
|
|
626
|
+
* @param {Schematic.CreateCreditSpendPolicyRequestBody} request
|
|
627
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
628
|
+
*
|
|
629
|
+
* @throws {@link Schematic.BadRequestError}
|
|
630
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
631
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
632
|
+
* @throws {@link Schematic.NotFoundError}
|
|
633
|
+
* @throws {@link Schematic.InternalServerError}
|
|
634
|
+
* @throws {@link errors.SchematicError}
|
|
635
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
636
|
+
*
|
|
637
|
+
* @example
|
|
638
|
+
* await client.credits.createCreditSpendPolicy({
|
|
639
|
+
* billingCreditId: "billing_credit_id",
|
|
640
|
+
* maxPerDraw: 1.1
|
|
641
|
+
* })
|
|
642
|
+
*/
|
|
643
|
+
createCreditSpendPolicy(request: Schematic.CreateCreditSpendPolicyRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCreditSpendPolicyResponse>;
|
|
644
|
+
private __createCreditSpendPolicy;
|
|
645
|
+
/**
|
|
646
|
+
* @param {string} spend_policy_id - spend_policy_id
|
|
647
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
648
|
+
*
|
|
649
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
650
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
651
|
+
* @throws {@link Schematic.NotFoundError}
|
|
652
|
+
* @throws {@link Schematic.InternalServerError}
|
|
653
|
+
* @throws {@link errors.SchematicError}
|
|
654
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
655
|
+
*
|
|
656
|
+
* @example
|
|
657
|
+
* await client.credits.getCreditSpendPolicy("spend_policy_id")
|
|
658
|
+
*/
|
|
659
|
+
getCreditSpendPolicy(spend_policy_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetCreditSpendPolicyResponse>;
|
|
660
|
+
private __getCreditSpendPolicy;
|
|
661
|
+
/**
|
|
662
|
+
* @param {string} spend_policy_id - spend_policy_id
|
|
663
|
+
* @param {Schematic.UpdateCreditSpendPolicyRequestBody} request
|
|
664
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
665
|
+
*
|
|
666
|
+
* @throws {@link Schematic.BadRequestError}
|
|
667
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
668
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
669
|
+
* @throws {@link Schematic.NotFoundError}
|
|
670
|
+
* @throws {@link Schematic.InternalServerError}
|
|
671
|
+
* @throws {@link errors.SchematicError}
|
|
672
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
673
|
+
*
|
|
674
|
+
* @example
|
|
675
|
+
* await client.credits.updateCreditSpendPolicy("spend_policy_id")
|
|
676
|
+
*/
|
|
677
|
+
updateCreditSpendPolicy(spend_policy_id: string, request?: Schematic.UpdateCreditSpendPolicyRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCreditSpendPolicyResponse>;
|
|
678
|
+
private __updateCreditSpendPolicy;
|
|
679
|
+
/**
|
|
680
|
+
* @param {string} spend_policy_id - spend_policy_id
|
|
681
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
682
|
+
*
|
|
683
|
+
* @throws {@link Schematic.BadRequestError}
|
|
684
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
685
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
686
|
+
* @throws {@link Schematic.NotFoundError}
|
|
687
|
+
* @throws {@link Schematic.InternalServerError}
|
|
688
|
+
* @throws {@link errors.SchematicError}
|
|
689
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
690
|
+
*
|
|
691
|
+
* @example
|
|
692
|
+
* await client.credits.deleteCreditSpendPolicy("spend_policy_id")
|
|
693
|
+
*/
|
|
694
|
+
deleteCreditSpendPolicy(spend_policy_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCreditSpendPolicyResponse>;
|
|
695
|
+
private __deleteCreditSpendPolicy;
|
|
696
|
+
/**
|
|
697
|
+
* @param {Schematic.CountCreditSpendPoliciesRequest} request
|
|
698
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
699
|
+
*
|
|
700
|
+
* @throws {@link Schematic.BadRequestError}
|
|
701
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
702
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
703
|
+
* @throws {@link Schematic.NotFoundError}
|
|
704
|
+
* @throws {@link Schematic.InternalServerError}
|
|
705
|
+
* @throws {@link errors.SchematicError}
|
|
706
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
707
|
+
*
|
|
708
|
+
* @example
|
|
709
|
+
* await client.credits.countCreditSpendPolicies({
|
|
710
|
+
* billingCreditId: "billing_credit_id",
|
|
711
|
+
* companyId: "company_id",
|
|
712
|
+
* scopeType: "company",
|
|
713
|
+
* userId: "user_id",
|
|
714
|
+
* userIds: ["user_ids"],
|
|
715
|
+
* limit: 1000000,
|
|
716
|
+
* offset: 1000000
|
|
717
|
+
* })
|
|
718
|
+
*/
|
|
719
|
+
countCreditSpendPolicies(request?: Schematic.CountCreditSpendPoliciesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditSpendPoliciesResponse>;
|
|
720
|
+
private __countCreditSpendPolicies;
|
|
598
721
|
/**
|
|
599
722
|
* @param {Schematic.ListCreditEventLedgerRequest} request
|
|
600
723
|
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* billingCreditId: "billing_credit_id",
|
|
6
|
+
* companyId: "company_id",
|
|
7
|
+
* scopeType: "company",
|
|
8
|
+
* userId: "user_id",
|
|
9
|
+
* userIds: ["user_ids"],
|
|
10
|
+
* limit: 1000000,
|
|
11
|
+
* offset: 1000000
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface CountCreditSpendPoliciesRequest {
|
|
15
|
+
billingCreditId?: string;
|
|
16
|
+
companyId?: string;
|
|
17
|
+
scopeType?: Schematic.CreditSpendPolicyScope;
|
|
18
|
+
userId?: string;
|
|
19
|
+
userIds?: string | string[];
|
|
20
|
+
/** Page limit (default 100) */
|
|
21
|
+
limit?: number;
|
|
22
|
+
/** Page offset (default 0) */
|
|
23
|
+
offset?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* billingCreditId: "billing_credit_id",
|
|
5
|
+
* maxPerDraw: 1.1
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateCreditSpendPolicyRequestBody {
|
|
9
|
+
billingCreditId: string;
|
|
10
|
+
/** The company the cap applies to. Set exactly one of company_id and user_id. */
|
|
11
|
+
companyId?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
/** The largest number of credits a single draw may spend. */
|
|
14
|
+
maxPerDraw: number;
|
|
15
|
+
/** The user the cap applies to. Set exactly one of company_id and user_id. */
|
|
16
|
+
userId?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* billingCreditId: "billing_credit_id",
|
|
6
|
+
* companyId: "company_id",
|
|
7
|
+
* scopeType: "company",
|
|
8
|
+
* userId: "user_id",
|
|
9
|
+
* userIds: ["user_ids"],
|
|
10
|
+
* limit: 1000000,
|
|
11
|
+
* offset: 1000000
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface ListCreditSpendPoliciesRequest {
|
|
15
|
+
billingCreditId?: string;
|
|
16
|
+
companyId?: string;
|
|
17
|
+
scopeType?: Schematic.CreditSpendPolicyScope;
|
|
18
|
+
userId?: string;
|
|
19
|
+
userIds?: string | string[];
|
|
20
|
+
/** Page limit (default 100) */
|
|
21
|
+
limit?: number;
|
|
22
|
+
/** Page offset (default 0) */
|
|
23
|
+
offset?: number;
|
|
24
|
+
}
|
|
@@ -5,9 +5,11 @@ export type { CountBillingPlanCreditGrantsRequest } from "./CountBillingPlanCred
|
|
|
5
5
|
export type { CountCompanyGrantsRequest } from "./CountCompanyGrantsRequest";
|
|
6
6
|
export type { CountCreditBundlesRequest } from "./CountCreditBundlesRequest";
|
|
7
7
|
export type { CountCreditEventLedgerRequest } from "./CountCreditEventLedgerRequest";
|
|
8
|
+
export type { CountCreditSpendPoliciesRequest } from "./CountCreditSpendPoliciesRequest";
|
|
8
9
|
export type { CreateBillingCreditRequestBody } from "./CreateBillingCreditRequestBody";
|
|
9
10
|
export type { CreateCompanyCreditGrant } from "./CreateCompanyCreditGrant";
|
|
10
11
|
export type { CreateCreditBundleRequestBody } from "./CreateCreditBundleRequestBody";
|
|
12
|
+
export type { CreateCreditSpendPolicyRequestBody } from "./CreateCreditSpendPolicyRequestBody";
|
|
11
13
|
export type { DeleteBillingPlanCreditGrantRequest } from "./DeleteBillingPlanCreditGrantRequest";
|
|
12
14
|
export type { ExtendCreditLeaseRequestBody } from "./ExtendCreditLeaseRequestBody";
|
|
13
15
|
export type { ListBillingCreditsRequest } from "./ListBillingCreditsRequest";
|
|
@@ -16,7 +18,9 @@ export type { ListCompanyCreditBalancesRequest } from "./ListCompanyCreditBalanc
|
|
|
16
18
|
export type { ListCompanyGrantsRequest } from "./ListCompanyGrantsRequest";
|
|
17
19
|
export type { ListCreditBundlesRequest } from "./ListCreditBundlesRequest";
|
|
18
20
|
export type { ListCreditEventLedgerRequest } from "./ListCreditEventLedgerRequest";
|
|
21
|
+
export type { ListCreditSpendPoliciesRequest } from "./ListCreditSpendPoliciesRequest";
|
|
19
22
|
export type { ListGrantsForCreditRequest } from "./ListGrantsForCreditRequest";
|
|
20
23
|
export type { UpdateBillingCreditRequestBody } from "./UpdateBillingCreditRequestBody";
|
|
21
24
|
export type { UpdateCreditBundleDetailsRequestBody } from "./UpdateCreditBundleDetailsRequestBody";
|
|
25
|
+
export type { UpdateCreditSpendPolicyRequestBody } from "./UpdateCreditSpendPolicyRequestBody";
|
|
22
26
|
export type { ZeroOutGrantRequestBody } from "./ZeroOutGrantRequestBody";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface CountCreditSpendPoliciesParams {
|
|
6
|
+
billingCreditId?: string;
|
|
7
|
+
companyId?: string;
|
|
8
|
+
/** Page limit (default 100) */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** Page offset (default 0) */
|
|
11
|
+
offset?: number;
|
|
12
|
+
scopeType?: Schematic.CreditSpendPolicyScope;
|
|
13
|
+
userId?: string;
|
|
14
|
+
userIds?: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface ListCreditSpendPoliciesParams {
|
|
6
|
+
billingCreditId?: string;
|
|
7
|
+
companyId?: string;
|
|
8
|
+
/** Page limit (default 100) */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** Page offset (default 0) */
|
|
11
|
+
offset?: number;
|
|
12
|
+
scopeType?: Schematic.CreditSpendPolicyScope;
|
|
13
|
+
userId?: string;
|
|
14
|
+
userIds?: string[];
|
|
15
|
+
}
|
|
@@ -11,14 +11,19 @@ export * from "./CountCreditBundlesParams";
|
|
|
11
11
|
export * from "./CountCreditBundlesResponse";
|
|
12
12
|
export * from "./CountCreditEventLedgerParams";
|
|
13
13
|
export * from "./CountCreditEventLedgerResponse";
|
|
14
|
+
export * from "./CountCreditSpendPoliciesParams";
|
|
15
|
+
export * from "./CountCreditSpendPoliciesResponse";
|
|
14
16
|
export * from "./CreateBillingCreditResponse";
|
|
15
17
|
export * from "./CreateBillingPlanCreditGrantResponse";
|
|
16
18
|
export * from "./CreateCreditBundleResponse";
|
|
19
|
+
export * from "./CreateCreditSpendPolicyResponse";
|
|
17
20
|
export * from "./DeleteBillingPlanCreditGrantParams";
|
|
18
21
|
export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
19
22
|
export * from "./DeleteCreditBundleResponse";
|
|
23
|
+
export * from "./DeleteCreditSpendPolicyResponse";
|
|
20
24
|
export * from "./ExtendCreditLeaseResponse";
|
|
21
25
|
export * from "./GetCreditBundleResponse";
|
|
26
|
+
export * from "./GetCreditSpendPolicyResponse";
|
|
22
27
|
export * from "./GetSingleBillingCreditResponse";
|
|
23
28
|
export * from "./GetSingleBillingPlanCreditGrantResponse";
|
|
24
29
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
@@ -34,6 +39,8 @@ export * from "./ListCreditBundlesParams";
|
|
|
34
39
|
export * from "./ListCreditBundlesResponse";
|
|
35
40
|
export * from "./ListCreditEventLedgerParams";
|
|
36
41
|
export * from "./ListCreditEventLedgerResponse";
|
|
42
|
+
export * from "./ListCreditSpendPoliciesParams";
|
|
43
|
+
export * from "./ListCreditSpendPoliciesResponse";
|
|
37
44
|
export * from "./ListGrantsForCreditParams";
|
|
38
45
|
export * from "./ListGrantsForCreditResponse";
|
|
39
46
|
export * from "./ReleaseCreditLeaseResponse";
|
|
@@ -41,4 +48,5 @@ export * from "./SoftDeleteBillingCreditResponse";
|
|
|
41
48
|
export * from "./UpdateBillingCreditResponse";
|
|
42
49
|
export * from "./UpdateBillingPlanCreditGrantResponse";
|
|
43
50
|
export * from "./UpdateCreditBundleDetailsResponse";
|
|
51
|
+
export * from "./UpdateCreditSpendPolicyResponse";
|
|
44
52
|
export * from "./ZeroOutGrantResponse";
|
|
@@ -114,6 +114,56 @@ export declare class EventsClient {
|
|
|
114
114
|
*/
|
|
115
115
|
getEvent(event_id: string, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEventResponse>;
|
|
116
116
|
private __getEvent;
|
|
117
|
+
/**
|
|
118
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
121
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
122
|
+
* @throws {@link Schematic.NotFoundError}
|
|
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;
|
|
117
167
|
/**
|
|
118
168
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
169
|
*
|
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";
|