@openmeter/client 1.0.0-beta-eaeb4d58a615 → 1.0.0-beta-1480f39df845
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/models/schemas.d.ts +0 -64
- package/dist/models/schemas.js +0 -10
- package/dist/models/types.d.ts +0 -44
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -1492,8 +1492,6 @@ export declare const creditAdjustment: z.ZodObject<{
|
|
|
1492
1492
|
name: z.ZodString;
|
|
1493
1493
|
description: z.ZodOptional<z.ZodString>;
|
|
1494
1494
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1495
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
1496
|
-
amount: z.ZodString;
|
|
1497
1495
|
}, z.core.$strip>;
|
|
1498
1496
|
export declare const creditBalance: z.ZodObject<{
|
|
1499
1497
|
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
@@ -2625,7 +2623,6 @@ export declare const appStripe: z.ZodObject<{
|
|
|
2625
2623
|
account_id: z.ZodString;
|
|
2626
2624
|
livemode: z.ZodBoolean;
|
|
2627
2625
|
masked_api_key: z.ZodString;
|
|
2628
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
2629
2626
|
}, z.core.$strip>;
|
|
2630
2627
|
export declare const appSandbox: z.ZodObject<{
|
|
2631
2628
|
id: z.ZodString;
|
|
@@ -3055,8 +3052,6 @@ export declare const creditGrant: z.ZodObject<{
|
|
|
3055
3052
|
}, z.core.$strip>>;
|
|
3056
3053
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3057
3054
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
3058
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
3059
|
-
key: z.ZodOptional<z.ZodString>;
|
|
3060
3055
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
3061
3056
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
3062
3057
|
status: z.ZodEnum<{
|
|
@@ -3491,7 +3486,6 @@ export declare const app: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3491
3486
|
account_id: z.ZodString;
|
|
3492
3487
|
livemode: z.ZodBoolean;
|
|
3493
3488
|
masked_api_key: z.ZodString;
|
|
3494
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
3495
3489
|
}, z.core.$strip>, z.ZodObject<{
|
|
3496
3490
|
id: z.ZodString;
|
|
3497
3491
|
name: z.ZodString;
|
|
@@ -4002,8 +3996,6 @@ export declare const creditGrantPagePaginatedResponse: z.ZodObject<{
|
|
|
4002
3996
|
}, z.core.$strip>>;
|
|
4003
3997
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4004
3998
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
4005
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
4006
|
-
key: z.ZodOptional<z.ZodString>;
|
|
4007
3999
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
4008
4000
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
4009
4001
|
status: z.ZodEnum<{
|
|
@@ -4286,7 +4278,6 @@ export declare const appPagePaginatedResponse: z.ZodObject<{
|
|
|
4286
4278
|
account_id: z.ZodString;
|
|
4287
4279
|
livemode: z.ZodBoolean;
|
|
4288
4280
|
masked_api_key: z.ZodString;
|
|
4289
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
4290
4281
|
}, z.core.$strip>, z.ZodObject<{
|
|
4291
4282
|
id: z.ZodString;
|
|
4292
4283
|
name: z.ZodString;
|
|
@@ -4368,7 +4359,6 @@ export declare const profileApps: z.ZodObject<{
|
|
|
4368
4359
|
account_id: z.ZodString;
|
|
4369
4360
|
livemode: z.ZodBoolean;
|
|
4370
4361
|
masked_api_key: z.ZodString;
|
|
4371
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
4372
4362
|
}, z.core.$strip>, z.ZodObject<{
|
|
4373
4363
|
id: z.ZodString;
|
|
4374
4364
|
name: z.ZodString;
|
|
@@ -4441,7 +4431,6 @@ export declare const profileApps: z.ZodObject<{
|
|
|
4441
4431
|
account_id: z.ZodString;
|
|
4442
4432
|
livemode: z.ZodBoolean;
|
|
4443
4433
|
masked_api_key: z.ZodString;
|
|
4444
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
4445
4434
|
}, z.core.$strip>, z.ZodObject<{
|
|
4446
4435
|
id: z.ZodString;
|
|
4447
4436
|
name: z.ZodString;
|
|
@@ -4514,7 +4503,6 @@ export declare const profileApps: z.ZodObject<{
|
|
|
4514
4503
|
account_id: z.ZodString;
|
|
4515
4504
|
livemode: z.ZodBoolean;
|
|
4516
4505
|
masked_api_key: z.ZodString;
|
|
4517
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
4518
4506
|
}, z.core.$strip>, z.ZodObject<{
|
|
4519
4507
|
id: z.ZodString;
|
|
4520
4508
|
name: z.ZodString;
|
|
@@ -4703,10 +4691,6 @@ export declare const chargeFlatFee: z.ZodObject<{
|
|
|
4703
4691
|
prorate_prices: "prorate_prices";
|
|
4704
4692
|
}>;
|
|
4705
4693
|
}, z.core.$strip>;
|
|
4706
|
-
amount_before_proration: z.ZodObject<{
|
|
4707
|
-
amount: z.ZodString;
|
|
4708
|
-
currency: z.ZodString;
|
|
4709
|
-
}, z.core.$strip>;
|
|
4710
4694
|
amount_after_proration: z.ZodObject<{
|
|
4711
4695
|
amount: z.ZodString;
|
|
4712
4696
|
currency: z.ZodString;
|
|
@@ -5303,10 +5287,6 @@ export declare const charge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5303
5287
|
prorate_prices: "prorate_prices";
|
|
5304
5288
|
}>;
|
|
5305
5289
|
}, z.core.$strip>;
|
|
5306
|
-
amount_before_proration: z.ZodObject<{
|
|
5307
|
-
amount: z.ZodString;
|
|
5308
|
-
currency: z.ZodString;
|
|
5309
|
-
}, z.core.$strip>;
|
|
5310
5290
|
amount_after_proration: z.ZodObject<{
|
|
5311
5291
|
amount: z.ZodString;
|
|
5312
5292
|
currency: z.ZodString;
|
|
@@ -6633,10 +6613,6 @@ export declare const chargePagePaginatedResponse: z.ZodObject<{
|
|
|
6633
6613
|
prorate_prices: "prorate_prices";
|
|
6634
6614
|
}>;
|
|
6635
6615
|
}, z.core.$strip>;
|
|
6636
|
-
amount_before_proration: z.ZodObject<{
|
|
6637
|
-
amount: z.ZodString;
|
|
6638
|
-
currency: z.ZodString;
|
|
6639
|
-
}, z.core.$strip>;
|
|
6640
6616
|
amount_after_proration: z.ZodObject<{
|
|
6641
6617
|
amount: z.ZodString;
|
|
6642
6618
|
currency: z.ZodString;
|
|
@@ -6829,10 +6805,6 @@ export declare const subscriptionAddon: z.ZodObject<{
|
|
|
6829
6805
|
quantity_at: z.ZodString;
|
|
6830
6806
|
active_from: z.ZodString;
|
|
6831
6807
|
active_to: z.ZodOptional<z.ZodString>;
|
|
6832
|
-
timing: z.ZodUnion<readonly [z.ZodEnum<{
|
|
6833
|
-
immediate: "immediate";
|
|
6834
|
-
next_billing_cycle: "next_billing_cycle";
|
|
6835
|
-
}>, z.ZodString]>;
|
|
6836
6808
|
timeline: z.ZodArray<z.ZodObject<{
|
|
6837
6809
|
active_from: z.ZodString;
|
|
6838
6810
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -7697,10 +7669,6 @@ export declare const subscriptionAddonPagePaginatedResponse: z.ZodObject<{
|
|
|
7697
7669
|
quantity_at: z.ZodString;
|
|
7698
7670
|
active_from: z.ZodString;
|
|
7699
7671
|
active_to: z.ZodOptional<z.ZodString>;
|
|
7700
|
-
timing: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7701
|
-
immediate: "immediate";
|
|
7702
|
-
next_billing_cycle: "next_billing_cycle";
|
|
7703
|
-
}>, z.ZodString]>;
|
|
7704
7672
|
timeline: z.ZodArray<z.ZodObject<{
|
|
7705
7673
|
active_from: z.ZodString;
|
|
7706
7674
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -9448,8 +9416,6 @@ export declare const createCreditGrantResponse: z.ZodObject<{
|
|
|
9448
9416
|
}, z.core.$strip>>;
|
|
9449
9417
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9450
9418
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
9451
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
9452
|
-
key: z.ZodOptional<z.ZodString>;
|
|
9453
9419
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
9454
9420
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
9455
9421
|
status: z.ZodEnum<{
|
|
@@ -9511,8 +9477,6 @@ export declare const getCreditGrantResponse: z.ZodObject<{
|
|
|
9511
9477
|
}, z.core.$strip>>;
|
|
9512
9478
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9513
9479
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
9514
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
9515
|
-
key: z.ZodOptional<z.ZodString>;
|
|
9516
9480
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
9517
9481
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
9518
9482
|
status: z.ZodEnum<{
|
|
@@ -9589,8 +9553,6 @@ export declare const listCreditGrantsResponse: z.ZodObject<{
|
|
|
9589
9553
|
}, z.core.$strip>>;
|
|
9590
9554
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9591
9555
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
9592
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
9593
|
-
key: z.ZodOptional<z.ZodString>;
|
|
9594
9556
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
9595
9557
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
9596
9558
|
status: z.ZodEnum<{
|
|
@@ -9656,8 +9618,6 @@ export declare const createCreditAdjustmentResponse: z.ZodObject<{
|
|
|
9656
9618
|
name: z.ZodString;
|
|
9657
9619
|
description: z.ZodOptional<z.ZodString>;
|
|
9658
9620
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9659
|
-
currency: z.ZodUnion<readonly [z.ZodString]>;
|
|
9660
|
-
amount: z.ZodString;
|
|
9661
9621
|
}, z.core.$strip>;
|
|
9662
9622
|
export declare const updateCreditGrantExternalSettlementPathParams: z.ZodObject<{
|
|
9663
9623
|
customerId: z.ZodString;
|
|
@@ -9718,8 +9678,6 @@ export declare const updateCreditGrantExternalSettlementResponse: z.ZodObject<{
|
|
|
9718
9678
|
}, z.core.$strip>>;
|
|
9719
9679
|
priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9720
9680
|
effective_at: z.ZodOptional<z.ZodString>;
|
|
9721
|
-
expires_after: z.ZodOptional<z.ZodString>;
|
|
9722
|
-
key: z.ZodOptional<z.ZodString>;
|
|
9723
9681
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
9724
9682
|
voided_at: z.ZodOptional<z.ZodString>;
|
|
9725
9683
|
status: z.ZodEnum<{
|
|
@@ -9891,10 +9849,6 @@ export declare const listCustomerChargesResponse: z.ZodObject<{
|
|
|
9891
9849
|
prorate_prices: "prorate_prices";
|
|
9892
9850
|
}>;
|
|
9893
9851
|
}, z.core.$strip>;
|
|
9894
|
-
amount_before_proration: z.ZodObject<{
|
|
9895
|
-
amount: z.ZodString;
|
|
9896
|
-
currency: z.ZodString;
|
|
9897
|
-
}, z.core.$strip>;
|
|
9898
9852
|
amount_after_proration: z.ZodObject<{
|
|
9899
9853
|
amount: z.ZodString;
|
|
9900
9854
|
currency: z.ZodString;
|
|
@@ -10289,10 +10243,6 @@ export declare const createCustomerChargesResponse: z.ZodDiscriminatedUnion<[z.Z
|
|
|
10289
10243
|
prorate_prices: "prorate_prices";
|
|
10290
10244
|
}>;
|
|
10291
10245
|
}, z.core.$strip>;
|
|
10292
|
-
amount_before_proration: z.ZodObject<{
|
|
10293
|
-
amount: z.ZodString;
|
|
10294
|
-
currency: z.ZodString;
|
|
10295
|
-
}, z.core.$strip>;
|
|
10296
10246
|
amount_after_proration: z.ZodObject<{
|
|
10297
10247
|
amount: z.ZodString;
|
|
10298
10248
|
currency: z.ZodString;
|
|
@@ -10735,10 +10685,6 @@ export declare const createSubscriptionAddonResponse: z.ZodObject<{
|
|
|
10735
10685
|
quantity_at: z.ZodString;
|
|
10736
10686
|
active_from: z.ZodString;
|
|
10737
10687
|
active_to: z.ZodOptional<z.ZodString>;
|
|
10738
|
-
timing: z.ZodUnion<readonly [z.ZodEnum<{
|
|
10739
|
-
immediate: "immediate";
|
|
10740
|
-
next_billing_cycle: "next_billing_cycle";
|
|
10741
|
-
}>, z.ZodString]>;
|
|
10742
10688
|
timeline: z.ZodArray<z.ZodObject<{
|
|
10743
10689
|
active_from: z.ZodString;
|
|
10744
10690
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -10866,10 +10812,6 @@ export declare const listSubscriptionAddonsResponse: z.ZodObject<{
|
|
|
10866
10812
|
quantity_at: z.ZodString;
|
|
10867
10813
|
active_from: z.ZodString;
|
|
10868
10814
|
active_to: z.ZodOptional<z.ZodString>;
|
|
10869
|
-
timing: z.ZodUnion<readonly [z.ZodEnum<{
|
|
10870
|
-
immediate: "immediate";
|
|
10871
|
-
next_billing_cycle: "next_billing_cycle";
|
|
10872
|
-
}>, z.ZodString]>;
|
|
10873
10815
|
timeline: z.ZodArray<z.ZodObject<{
|
|
10874
10816
|
active_from: z.ZodString;
|
|
10875
10817
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -10995,10 +10937,6 @@ export declare const getSubscriptionAddonResponse: z.ZodObject<{
|
|
|
10995
10937
|
quantity_at: z.ZodString;
|
|
10996
10938
|
active_from: z.ZodString;
|
|
10997
10939
|
active_to: z.ZodOptional<z.ZodString>;
|
|
10998
|
-
timing: z.ZodUnion<readonly [z.ZodEnum<{
|
|
10999
|
-
immediate: "immediate";
|
|
11000
|
-
next_billing_cycle: "next_billing_cycle";
|
|
11001
|
-
}>, z.ZodString]>;
|
|
11002
10940
|
timeline: z.ZodArray<z.ZodObject<{
|
|
11003
10941
|
active_from: z.ZodString;
|
|
11004
10942
|
active_to: z.ZodOptional<z.ZodString>;
|
|
@@ -11129,7 +11067,6 @@ export declare const listAppsResponse: z.ZodObject<{
|
|
|
11129
11067
|
account_id: z.ZodString;
|
|
11130
11068
|
livemode: z.ZodBoolean;
|
|
11131
11069
|
masked_api_key: z.ZodString;
|
|
11132
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
11133
11070
|
}, z.core.$strip>, z.ZodObject<{
|
|
11134
11071
|
id: z.ZodString;
|
|
11135
11072
|
name: z.ZodString;
|
|
@@ -11213,7 +11150,6 @@ export declare const getAppResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11213
11150
|
account_id: z.ZodString;
|
|
11214
11151
|
livemode: z.ZodBoolean;
|
|
11215
11152
|
masked_api_key: z.ZodString;
|
|
11216
|
-
secret_api_key: z.ZodOptional<z.ZodString>;
|
|
11217
11153
|
}, z.core.$strip>, z.ZodObject<{
|
|
11218
11154
|
id: z.ZodString;
|
|
11219
11155
|
name: z.ZodString;
|
package/dist/models/schemas.js
CHANGED
|
@@ -2117,8 +2117,6 @@ export const creditAdjustment = z
|
|
|
2117
2117
|
.optional()
|
|
2118
2118
|
.describe('Optional description of the resource. Maximum 1024 characters.'),
|
|
2119
2119
|
labels: labels.optional(),
|
|
2120
|
-
currency: billingCurrencyCode,
|
|
2121
|
-
amount: numeric,
|
|
2122
2120
|
})
|
|
2123
2121
|
.describe("A credit adjustment can be used to make manual adjustments to a customer's credit balance. Supported use-cases: - Usage correction");
|
|
2124
2122
|
export const creditBalance = z
|
|
@@ -2702,10 +2700,6 @@ export const appStripe = z
|
|
|
2702
2700
|
masked_api_key: z
|
|
2703
2701
|
.string()
|
|
2704
2702
|
.describe('The masked Stripe API key that only exposes the first and last few characters.'),
|
|
2705
|
-
secret_api_key: z
|
|
2706
|
-
.string()
|
|
2707
|
-
.optional()
|
|
2708
|
-
.describe('The Stripe secret API key used to authenticate API requests.'),
|
|
2709
2703
|
})
|
|
2710
2704
|
.describe('Stripe app.');
|
|
2711
2705
|
export const appSandbox = z
|
|
@@ -2975,8 +2969,6 @@ export const creditGrant = z
|
|
|
2975
2969
|
.default(10)
|
|
2976
2970
|
.describe('Draw-down priority of the grant. Lower values have higher priority.'),
|
|
2977
2971
|
effective_at: dateTime.optional(),
|
|
2978
|
-
expires_after: iso8601Duration.optional(),
|
|
2979
|
-
key: externalResourceKey.optional(),
|
|
2980
2972
|
expires_at: dateTime.optional(),
|
|
2981
2973
|
voided_at: dateTime.optional(),
|
|
2982
2974
|
status: creditGrantStatus,
|
|
@@ -3391,7 +3383,6 @@ export const chargeFlatFee = z
|
|
|
3391
3383
|
.optional()
|
|
3392
3384
|
.describe('The feature associated with the charge, when applicable.'),
|
|
3393
3385
|
proration_configuration: rateCardProrationConfiguration,
|
|
3394
|
-
amount_before_proration: currencyAmount,
|
|
3395
3386
|
amount_after_proration: currencyAmount,
|
|
3396
3387
|
price: price,
|
|
3397
3388
|
})
|
|
@@ -3749,7 +3740,6 @@ export const subscriptionAddon = z
|
|
|
3749
3740
|
quantity_at: dateTime,
|
|
3750
3741
|
active_from: dateTime,
|
|
3751
3742
|
active_to: dateTime.optional(),
|
|
3752
|
-
timing: subscriptionEditTiming,
|
|
3753
3743
|
timeline: z
|
|
3754
3744
|
.array(subscriptionAddonTimelineSegment)
|
|
3755
3745
|
.describe('The timeline of the add-on. The returned periods are sorted and continuous.'),
|
package/dist/models/types.d.ts
CHANGED
|
@@ -2002,10 +2002,6 @@ export interface CreditAdjustment {
|
|
|
2002
2002
|
*/
|
|
2003
2003
|
description?: string;
|
|
2004
2004
|
labels?: Labels;
|
|
2005
|
-
/** The currency of the granted credits. */
|
|
2006
|
-
currency: string;
|
|
2007
|
-
/** Granted credit amount. */
|
|
2008
|
-
amount: string;
|
|
2009
2005
|
}
|
|
2010
2006
|
/** The credit balance by currency. */
|
|
2011
2007
|
export interface CreditBalance {
|
|
@@ -3060,8 +3056,6 @@ export interface AppStripe {
|
|
|
3060
3056
|
livemode: boolean;
|
|
3061
3057
|
/** The masked Stripe API key that only exposes the first and last few characters. */
|
|
3062
3058
|
masked_api_key: string;
|
|
3063
|
-
/** The Stripe secret API key used to authenticate API requests. */
|
|
3064
|
-
secret_api_key?: string;
|
|
3065
3059
|
}
|
|
3066
3060
|
/** Sandbox app can be used for testing billing features. */
|
|
3067
3061
|
export interface AppSandbox {
|
|
@@ -3456,19 +3450,6 @@ export interface CreditGrant {
|
|
|
3456
3450
|
* Defaults to the current date and time.
|
|
3457
3451
|
*/
|
|
3458
3452
|
effective_at?: string;
|
|
3459
|
-
/**
|
|
3460
|
-
* The duration after which the credit grant expires.
|
|
3461
|
-
*
|
|
3462
|
-
* Defaults to never expiring.
|
|
3463
|
-
*/
|
|
3464
|
-
expires_after?: string;
|
|
3465
|
-
/**
|
|
3466
|
-
* Idempotency key for the credit grant creation request.
|
|
3467
|
-
*
|
|
3468
|
-
* When provided, reusing the same key returns an HTTP 409 Conflict instead of
|
|
3469
|
-
* creating a duplicate grant, which makes create requests safe to retry.
|
|
3470
|
-
*/
|
|
3471
|
-
key?: string;
|
|
3472
3453
|
/**
|
|
3473
3454
|
* The timestamp when the credit grant expires.
|
|
3474
3455
|
*
|
|
@@ -4074,8 +4055,6 @@ export interface ChargeFlatFee {
|
|
|
4074
4055
|
feature_key?: string;
|
|
4075
4056
|
/** The proration configuration of the charge. */
|
|
4076
4057
|
proration_configuration: RateCardProrationConfiguration;
|
|
4077
|
-
/** The amount before proration of the charge. */
|
|
4078
|
-
amount_before_proration: CurrencyAmount;
|
|
4079
4058
|
/** The amount after proration of the charge. */
|
|
4080
4059
|
amount_after_proration: CurrencyAmount;
|
|
4081
4060
|
/** The price of the charge. */
|
|
@@ -4608,11 +4587,6 @@ export interface SubscriptionAddon {
|
|
|
4608
4587
|
active_from: string;
|
|
4609
4588
|
/** An ISO-8601 timestamp representation of the cadence end of the resource. */
|
|
4610
4589
|
active_to?: string;
|
|
4611
|
-
/**
|
|
4612
|
-
* The timing of the operation. After the create or update, a new entry will be
|
|
4613
|
-
* created in the timeline.
|
|
4614
|
-
*/
|
|
4615
|
-
timing: 'immediate' | 'next_billing_cycle' | string;
|
|
4616
4590
|
/** The timeline of the add-on. The returned periods are sorted and continuous. */
|
|
4617
4591
|
timeline: SubscriptionAddonTimelineSegment[];
|
|
4618
4592
|
/** The rate cards of the add-on. */
|
|
@@ -5239,19 +5213,6 @@ export interface CreditGrantInput {
|
|
|
5239
5213
|
* Defaults to the current date and time.
|
|
5240
5214
|
*/
|
|
5241
5215
|
effective_at?: string;
|
|
5242
|
-
/**
|
|
5243
|
-
* The duration after which the credit grant expires.
|
|
5244
|
-
*
|
|
5245
|
-
* Defaults to never expiring.
|
|
5246
|
-
*/
|
|
5247
|
-
expires_after?: string;
|
|
5248
|
-
/**
|
|
5249
|
-
* Idempotency key for the credit grant creation request.
|
|
5250
|
-
*
|
|
5251
|
-
* When provided, reusing the same key returns an HTTP 409 Conflict instead of
|
|
5252
|
-
* creating a duplicate grant, which makes create requests safe to retry.
|
|
5253
|
-
*/
|
|
5254
|
-
key?: string;
|
|
5255
5216
|
/**
|
|
5256
5217
|
* The timestamp when the credit grant expires.
|
|
5257
5218
|
*
|
|
@@ -5851,11 +5812,6 @@ export interface SubscriptionAddonInput {
|
|
|
5851
5812
|
active_from: string;
|
|
5852
5813
|
/** An ISO-8601 timestamp representation of the cadence end of the resource. */
|
|
5853
5814
|
active_to?: string;
|
|
5854
|
-
/**
|
|
5855
|
-
* The timing of the operation. After the create or update, a new entry will be
|
|
5856
|
-
* created in the timeline.
|
|
5857
|
-
*/
|
|
5858
|
-
timing: 'immediate' | 'next_billing_cycle' | string;
|
|
5859
5815
|
/** The timeline of the add-on. The returned periods are sorted and continuous. */
|
|
5860
5816
|
timeline: SubscriptionAddonTimelineSegment[];
|
|
5861
5817
|
/** The rate cards of the add-on. */
|