@schematichq/schematic-typescript-node 1.5.12 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/Client.d.ts +41 -5
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ReserveCreditsRequestBody.d.ts +18 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +1 -0
- package/dist/api/resources/credits/types/ReleaseCreditReservationResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ReserveCreditsResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +18 -0
- package/dist/api/resources/features/client/requests/CheckAndReserveFlagRequestBody.d.ts +15 -0
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/types/CheckAndReserveFlagResponse.d.ts +6 -0
- package/dist/api/resources/features/types/index.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plans/client/Client.d.ts +2 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +3 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +3 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/api/types/BillingArrearsAnchor.d.ts +5 -0
- package/dist/api/types/BillingArrearsCadence.d.ts +5 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +7 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +12 -0
- package/dist/api/types/CheckAndReserveFlagResponseData.d.ts +35 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +6 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +12 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +7 -0
- package/dist/api/types/CreditReservationResponseData.d.ts +15 -0
- package/dist/api/types/CreditUsageReason.d.ts +2 -0
- package/dist/api/types/EventBodyTrack.d.ts +2 -0
- package/dist/api/types/EventDetailResponseData.d.ts +1 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/FlagCheckReservationResponseData.d.ts +15 -0
- package/dist/api/types/GetOnboardingStateResp.d.ts +2 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/OnboardingRequirement.d.ts +1 -0
- package/dist/api/types/OnboardingRoadmapView.d.ts +4 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +6 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCompany.d.ts +1 -0
- package/dist/api/types/RulesengineCreditPostpaidConfig.d.ts +3 -0
- package/dist/api/types/SlackConnectInviteStatus.d.ts +8 -0
- package/dist/api/types/SlackConnectInviteView.d.ts +7 -0
- package/dist/api/types/TemporaryAccessTokenIssuerType.d.ts +5 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +12 -0
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -0
- package/dist/api/types/WebhookEventResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +10 -1
- package/dist/index.js +9 -9
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/ReserveCreditsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ReleaseCreditReservationResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ReserveCreditsResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +2 -0
- package/dist/serialization/resources/features/client/requests/CheckAndReserveFlagRequestBody.d.ts +14 -0
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CheckAndReserveFlagResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/index.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/dist/serialization/types/BillingArrearsAnchor.d.ts +7 -0
- package/dist/serialization/types/BillingArrearsCadence.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +8 -0
- package/dist/serialization/types/CheckAndReserveFlagResponseData.d.ts +28 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +8 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +8 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -0
- package/dist/serialization/types/CreditReservationResponseData.d.ts +17 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +1 -1
- package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/FlagCheckReservationResponseData.d.ts +16 -0
- package/dist/serialization/types/GetOnboardingStateResp.d.ts +4 -0
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +3 -1
- package/dist/serialization/types/OnboardingRequirement.d.ts +1 -1
- package/dist/serialization/types/OnboardingRoadmapView.d.ts +10 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +8 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -0
- package/dist/serialization/types/RulesengineCreditPostpaidConfig.d.ts +9 -0
- package/dist/serialization/types/SlackConnectInviteStatus.d.ts +7 -0
- package/dist/serialization/types/SlackConnectInviteView.d.ts +13 -0
- package/dist/serialization/types/TemporaryAccessTokenIssuerType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +3 -1
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +8 -0
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/WebhookEventResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +10 -1
- package/dist/wasm/rulesengine.js +1 -1
- package/package.json +5 -4
- package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +0 -1
- package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +0 -7
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { TemporaryAccessTokenIssuerType } from "./TemporaryAccessTokenIssuerType";
|
|
4
5
|
import { TemporaryAccessTokenResourceType } from "./TemporaryAccessTokenResourceType";
|
|
5
6
|
export declare const TemporaryAccessTokenResponseData: core.serialization.ObjectSchema<serializers.TemporaryAccessTokenResponseData.Raw, Schematic.TemporaryAccessTokenResponseData>;
|
|
6
7
|
export declare namespace TemporaryAccessTokenResponseData {
|
|
7
8
|
interface Raw {
|
|
8
|
-
api_key_id
|
|
9
|
+
api_key_id?: string | null;
|
|
9
10
|
created_at: string;
|
|
10
11
|
environment_id: string;
|
|
11
12
|
expired_at: string;
|
|
12
13
|
id: string;
|
|
14
|
+
issuer_type: TemporaryAccessTokenIssuerType.Raw;
|
|
13
15
|
resource_type: TemporaryAccessTokenResourceType.Raw;
|
|
14
16
|
updated_at: string;
|
|
15
17
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { BillingArrearsAnchor } from "./BillingArrearsAnchor";
|
|
5
|
+
import { BillingArrearsCadence } from "./BillingArrearsCadence";
|
|
4
6
|
import { BillingCreditAutoTopupAvailability } from "./BillingCreditAutoTopupAvailability";
|
|
5
7
|
import { BillingCreditExpiryType } from "./BillingCreditExpiryType";
|
|
6
8
|
import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
|
|
@@ -13,6 +15,8 @@ export declare const UpdateBillingPlanCreditGrantRequestBody: core.serialization
|
|
|
13
15
|
export declare namespace UpdateBillingPlanCreditGrantRequestBody {
|
|
14
16
|
interface Raw {
|
|
15
17
|
apply_to_existing?: boolean | null;
|
|
18
|
+
arrears_anchor?: BillingArrearsAnchor.Raw | null;
|
|
19
|
+
arrears_cadence?: BillingArrearsCadence.Raw | null;
|
|
16
20
|
auto_topup_amount?: number | null;
|
|
17
21
|
auto_topup_amount_type?: CreditAutoTopupAmountType.Raw | null;
|
|
18
22
|
auto_topup_availability?: BillingCreditAutoTopupAvailability.Raw | null;
|
|
@@ -30,6 +34,10 @@ export declare namespace UpdateBillingPlanCreditGrantRequestBody {
|
|
|
30
34
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
31
35
|
expiry_unit_count?: number | null;
|
|
32
36
|
license_id?: string | null;
|
|
37
|
+
overdraft_limit?: number | null;
|
|
38
|
+
postpaid_enabled?: boolean | null;
|
|
39
|
+
postpaid_rate_per_unit?: number | null;
|
|
40
|
+
postpaid_rate_per_unit_decimal?: string | null;
|
|
33
41
|
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
34
42
|
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
35
43
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
@@ -7,6 +7,7 @@ import { WebhookResponseData } from "./WebhookResponseData";
|
|
|
7
7
|
export declare const WebhookEventDetailResponseData: core.serialization.ObjectSchema<serializers.WebhookEventDetailResponseData.Raw, Schematic.WebhookEventDetailResponseData>;
|
|
8
8
|
export declare namespace WebhookEventDetailResponseData {
|
|
9
9
|
interface Raw {
|
|
10
|
+
attempt_count: number;
|
|
10
11
|
created_at: string;
|
|
11
12
|
id: string;
|
|
12
13
|
payload?: string | null;
|
|
@@ -6,6 +6,7 @@ import { WebhookRequestType } from "./WebhookRequestType";
|
|
|
6
6
|
export declare const WebhookEventResponseData: core.serialization.ObjectSchema<serializers.WebhookEventResponseData.Raw, Schematic.WebhookEventResponseData>;
|
|
7
7
|
export declare namespace WebhookEventResponseData {
|
|
8
8
|
interface Raw {
|
|
9
|
+
attempt_count: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
id: string;
|
|
11
12
|
payload?: string | null;
|
|
@@ -12,6 +12,8 @@ export * from "./ApiKeyScope";
|
|
|
12
12
|
export * from "./AuditLogExportMetadata";
|
|
13
13
|
export * from "./AuditLogListResponseData";
|
|
14
14
|
export * from "./AuditLogResponseData";
|
|
15
|
+
export * from "./BillingArrearsAnchor";
|
|
16
|
+
export * from "./BillingArrearsCadence";
|
|
15
17
|
export * from "./BillingCollectionMethod";
|
|
16
18
|
export * from "./BillingCouponResponseData";
|
|
17
19
|
export * from "./BillingCreditAutoTopupAvailability";
|
|
@@ -77,6 +79,7 @@ export * from "./CatalogResponseData";
|
|
|
77
79
|
export * from "./ChangeSubscriptionInternalRequestBody";
|
|
78
80
|
export * from "./ChangeSubscriptionRequestBody";
|
|
79
81
|
export * from "./ChargeType";
|
|
82
|
+
export * from "./CheckAndReserveFlagResponseData";
|
|
80
83
|
export * from "./CheckFlagRequestBody";
|
|
81
84
|
export * from "./CheckFlagResponseData";
|
|
82
85
|
export * from "./CheckFlagsBulkResponseData";
|
|
@@ -167,6 +170,7 @@ export * from "./CreditGrantDetail";
|
|
|
167
170
|
export * from "./CreditGrantExpiryRequestBody";
|
|
168
171
|
export * from "./CreditGrantSortOrder";
|
|
169
172
|
export * from "./CreditLeaseResponseData";
|
|
173
|
+
export * from "./CreditReservationResponseData";
|
|
170
174
|
export * from "./CreditSpendPolicyResponseData";
|
|
171
175
|
export * from "./CreditSpendPolicyScope";
|
|
172
176
|
export * from "./CreditsAutoTopupCompanySummary";
|
|
@@ -249,6 +253,7 @@ export * from "./FeatureUsageLegacyResponseData";
|
|
|
249
253
|
export * from "./FeatureUsageResponseData";
|
|
250
254
|
export * from "./FeatureUsageTimeSeriesResponseData";
|
|
251
255
|
export * from "./FeatureView";
|
|
256
|
+
export * from "./FlagCheckReservationResponseData";
|
|
252
257
|
export * from "./FlagDetailResponseData";
|
|
253
258
|
export * from "./FlagInPlanResponseData";
|
|
254
259
|
export * from "./FlagResponseData";
|
|
@@ -293,6 +298,7 @@ export * from "./OnboardingPath";
|
|
|
293
298
|
export * from "./OnboardingRequirement";
|
|
294
299
|
export * from "./OnboardingRequirementStatus";
|
|
295
300
|
export * from "./OnboardingRequirementView";
|
|
301
|
+
export * from "./OnboardingRoadmapView";
|
|
296
302
|
export * from "./OnboardingStripeImport";
|
|
297
303
|
export * from "./OnboardingTrack";
|
|
298
304
|
export * from "./OrbIntegrationConfig";
|
|
@@ -357,7 +363,6 @@ export * from "./PublicPlansResponseData";
|
|
|
357
363
|
export * from "./QuickstartResp";
|
|
358
364
|
export * from "./RawEventBatchResponseData";
|
|
359
365
|
export * from "./RawEventResponseData";
|
|
360
|
-
export * from "./ReleaseCreditLeaseRequestBody";
|
|
361
366
|
export * from "./Rule";
|
|
362
367
|
export * from "./RuleConditionDetailResponseData";
|
|
363
368
|
export * from "./RuleConditionGroupDetailResponseData";
|
|
@@ -374,6 +379,7 @@ export * from "./RulesengineCompanyMetric";
|
|
|
374
379
|
export * from "./RulesengineCondition";
|
|
375
380
|
export * from "./RulesengineConditionGroup";
|
|
376
381
|
export * from "./RulesengineConditionType";
|
|
382
|
+
export * from "./RulesengineCreditPostpaidConfig";
|
|
377
383
|
export * from "./RulesengineEntitlementValueType";
|
|
378
384
|
export * from "./RulesengineEntityType";
|
|
379
385
|
export * from "./RulesengineFeatureEntitlement";
|
|
@@ -397,6 +403,8 @@ export * from "./ScheduledDowngradeResponseData";
|
|
|
397
403
|
export * from "./SegmentStatusResp";
|
|
398
404
|
export * from "./SkippedEntitlementErrorResponseData";
|
|
399
405
|
export * from "./SkippedEntitlementResponseData";
|
|
406
|
+
export * from "./SlackConnectInviteStatus";
|
|
407
|
+
export * from "./SlackConnectInviteView";
|
|
400
408
|
export * from "./SortDirection";
|
|
401
409
|
export * from "./StripeEmbedInfo";
|
|
402
410
|
export * from "./StripeIntegrationConfig";
|
|
@@ -409,6 +417,7 @@ export * from "./SubscriptionTraitUpdate";
|
|
|
409
417
|
export * from "./SubscriptionType";
|
|
410
418
|
export * from "./TaxIdInput";
|
|
411
419
|
export * from "./TaxIdType";
|
|
420
|
+
export * from "./TemporaryAccessTokenIssuerType";
|
|
412
421
|
export * from "./TemporaryAccessTokenResourceType";
|
|
413
422
|
export * from "./TemporaryAccessTokenResponseData";
|
|
414
423
|
export * from "./TestWebhookResponseData";
|