@openmeter/sdk 1.0.0-beta.223 → 1.0.0-beta.225
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +200 -0
- package/biome.json +67 -0
- package/dist/cjs/src/client/addons.d.cts +8 -8
- package/dist/cjs/src/client/addons.js.map +1 -1
- package/dist/cjs/src/client/apps.d.cts +10 -10
- package/dist/cjs/src/client/apps.js.map +1 -1
- package/dist/cjs/src/client/billing.d.cts +19 -19
- package/dist/cjs/src/client/billing.js.map +1 -1
- package/dist/cjs/src/client/common.d.cts +3 -3
- package/dist/cjs/src/client/common.js.map +1 -1
- package/dist/cjs/src/client/customers.d.cts +25 -24
- package/dist/cjs/src/client/customers.js.map +1 -1
- package/dist/cjs/src/client/debug.d.cts +2 -2
- package/dist/cjs/src/client/debug.js.map +1 -1
- package/dist/cjs/src/client/entitlements.d.cts +15 -13
- package/dist/cjs/src/client/entitlements.js.map +1 -1
- package/dist/cjs/src/client/events.d.cts +4 -4
- package/dist/cjs/src/client/events.js.map +1 -1
- package/dist/cjs/src/client/features.d.cts +12 -3
- package/dist/cjs/src/client/features.js.map +1 -1
- package/dist/cjs/src/client/index.cjs +1 -1
- package/dist/cjs/src/client/index.d.cts +2 -2
- package/dist/cjs/src/client/index.js.map +1 -1
- package/dist/cjs/src/client/info.d.cts +3 -3
- package/dist/cjs/src/client/info.js.map +1 -1
- package/dist/cjs/src/client/meters.d.cts +5 -5
- package/dist/cjs/src/client/meters.js.map +1 -1
- package/dist/cjs/src/client/notifications.d.cts +17 -11
- package/dist/cjs/src/client/notifications.js.map +1 -1
- package/dist/cjs/src/client/plans.d.cts +12 -12
- package/dist/cjs/src/client/plans.js.map +1 -1
- package/dist/cjs/src/client/portal.d.cts +4 -4
- package/dist/cjs/src/client/portal.js.map +1 -1
- package/dist/cjs/src/client/schemas.d.cts +1046 -139
- package/dist/cjs/src/client/subjects.d.cts +4 -4
- package/dist/cjs/src/client/subjects.js.map +1 -1
- package/dist/cjs/src/client/subscription-addons.d.cts +5 -5
- package/dist/cjs/src/client/subscription-addons.js.map +1 -1
- package/dist/cjs/src/client/subscriptions.d.cts +13 -8
- package/dist/cjs/src/client/subscriptions.js.map +1 -1
- package/dist/cjs/src/client/utils.cjs +1 -3
- package/dist/cjs/src/client/utils.d.cts +1 -1
- package/dist/cjs/src/client/utils.js.map +1 -1
- package/dist/cjs/src/portal/index.d.cts +1 -1
- package/dist/cjs/src/portal/index.js.map +1 -1
- package/dist/cjs/src/zod/index.cjs +1230 -634
- package/dist/cjs/src/zod/index.d.cts +1304 -615
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/tsconfig.7db92107.tsbuildinfo +1 -0
- package/dist/cjs/tsconfig.94dd8c51.tsbuildinfo +1 -0
- package/dist/src/client/addons.d.ts +8 -8
- package/dist/src/client/addons.js.map +1 -1
- package/dist/src/client/apps.d.ts +10 -10
- package/dist/src/client/apps.js.map +1 -1
- package/dist/src/client/billing.d.ts +19 -19
- package/dist/src/client/billing.js.map +1 -1
- package/dist/src/client/common.d.ts +3 -3
- package/dist/src/client/common.js.map +1 -1
- package/dist/src/client/customers.d.ts +25 -24
- package/dist/src/client/customers.js.map +1 -1
- package/dist/src/client/debug.d.ts +2 -2
- package/dist/src/client/debug.js.map +1 -1
- package/dist/src/client/entitlements.d.ts +15 -13
- package/dist/src/client/entitlements.js.map +1 -1
- package/dist/src/client/events.d.ts +4 -4
- package/dist/src/client/events.js.map +1 -1
- package/dist/src/client/features.d.ts +12 -3
- package/dist/src/client/features.js.map +1 -1
- package/dist/src/client/index.d.ts +2 -2
- package/dist/src/client/index.js +1 -1
- package/dist/src/client/index.js.map +1 -1
- package/dist/src/client/info.d.ts +3 -3
- package/dist/src/client/info.js.map +1 -1
- package/dist/src/client/meters.d.ts +5 -5
- package/dist/src/client/meters.js.map +1 -1
- package/dist/src/client/notifications.d.ts +17 -11
- package/dist/src/client/notifications.js.map +1 -1
- package/dist/src/client/plans.d.ts +12 -12
- package/dist/src/client/plans.js.map +1 -1
- package/dist/src/client/portal.d.ts +4 -4
- package/dist/src/client/portal.js.map +1 -1
- package/dist/src/client/schemas.d.ts +1046 -139
- package/dist/src/client/subjects.d.ts +4 -4
- package/dist/src/client/subjects.js.map +1 -1
- package/dist/src/client/subscription-addons.d.ts +5 -5
- package/dist/src/client/subscription-addons.js.map +1 -1
- package/dist/src/client/subscriptions.d.ts +13 -8
- package/dist/src/client/subscriptions.js.map +1 -1
- package/dist/src/client/utils.d.ts +1 -1
- package/dist/src/client/utils.js +1 -3
- package/dist/src/client/utils.js.map +1 -1
- package/dist/src/portal/index.d.ts +1 -1
- package/dist/src/portal/index.js.map +1 -1
- package/dist/src/zod/index.d.ts +1304 -615
- package/dist/src/zod/index.js +1147 -554
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/orval.config.ts +2 -6
- package/package.json +21 -35
- package/dist/cjs/tsconfig.07c9b9a6.tsbuildinfo +0 -1
- package/dist/cjs/tsconfig.5c5dbdc6.tsbuildinfo +0 -1
|
@@ -1260,6 +1260,26 @@ export interface paths {
|
|
|
1260
1260
|
patch?: never;
|
|
1261
1261
|
trace?: never;
|
|
1262
1262
|
};
|
|
1263
|
+
'/api/v1/meters/{meterIdOrSlug}/group-by/{groupByKey}/values': {
|
|
1264
|
+
parameters: {
|
|
1265
|
+
query?: never;
|
|
1266
|
+
header?: never;
|
|
1267
|
+
path?: never;
|
|
1268
|
+
cookie?: never;
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* List meter group by values
|
|
1272
|
+
* @description List meter group by values.
|
|
1273
|
+
*/
|
|
1274
|
+
get: operations['listMeterGroupByValues'];
|
|
1275
|
+
put?: never;
|
|
1276
|
+
post?: never;
|
|
1277
|
+
delete?: never;
|
|
1278
|
+
options?: never;
|
|
1279
|
+
head?: never;
|
|
1280
|
+
patch?: never;
|
|
1281
|
+
trace?: never;
|
|
1282
|
+
};
|
|
1263
1283
|
'/api/v1/meters/{meterIdOrSlug}/query': {
|
|
1264
1284
|
parameters: {
|
|
1265
1285
|
query?: never;
|
|
@@ -1395,6 +1415,23 @@ export interface paths {
|
|
|
1395
1415
|
patch?: never;
|
|
1396
1416
|
trace?: never;
|
|
1397
1417
|
};
|
|
1418
|
+
'/api/v1/notification/events/{eventId}/resend': {
|
|
1419
|
+
parameters: {
|
|
1420
|
+
query?: never;
|
|
1421
|
+
header?: never;
|
|
1422
|
+
path?: never;
|
|
1423
|
+
cookie?: never;
|
|
1424
|
+
};
|
|
1425
|
+
get?: never;
|
|
1426
|
+
put?: never;
|
|
1427
|
+
/** Re-send notification event */
|
|
1428
|
+
post: operations['resendNotificationEvent'];
|
|
1429
|
+
delete?: never;
|
|
1430
|
+
options?: never;
|
|
1431
|
+
head?: never;
|
|
1432
|
+
patch?: never;
|
|
1433
|
+
trace?: never;
|
|
1434
|
+
};
|
|
1398
1435
|
'/api/v1/notification/rules': {
|
|
1399
1436
|
parameters: {
|
|
1400
1437
|
query?: never;
|
|
@@ -2121,6 +2158,7 @@ export interface paths {
|
|
|
2121
2158
|
put?: never;
|
|
2122
2159
|
/**
|
|
2123
2160
|
* Restore subscription
|
|
2161
|
+
* @deprecated
|
|
2124
2162
|
* @description Restores a canceled subscription.
|
|
2125
2163
|
* Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
|
|
2126
2164
|
*/
|
|
@@ -3160,12 +3198,23 @@ export interface components {
|
|
|
3160
3198
|
*
|
|
3161
3199
|
* Defaults to subscription, which means that we are to create a new invoice every time the
|
|
3162
3200
|
* a subscription period starts (for in advance items) or ends (for in arrears items). */
|
|
3163
|
-
BillingWorkflowCollectionAlignment: components['schemas']['BillingWorkflowCollectionAlignmentSubscription'];
|
|
3201
|
+
BillingWorkflowCollectionAlignment: components['schemas']['BillingWorkflowCollectionAlignmentSubscription'] | components['schemas']['BillingWorkflowCollectionAlignmentAnchored'];
|
|
3202
|
+
/** @description BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items
|
|
3203
|
+
* into an invoice. */
|
|
3204
|
+
BillingWorkflowCollectionAlignmentAnchored: {
|
|
3205
|
+
/**
|
|
3206
|
+
* @description The type of alignment. (enum property replaced by openapi-typescript)
|
|
3207
|
+
* @enum {string}
|
|
3208
|
+
*/
|
|
3209
|
+
type: 'anchored';
|
|
3210
|
+
/** @description The recurring period for the alignment. */
|
|
3211
|
+
recurringPeriod: components['schemas']['RecurringPeriodV2'];
|
|
3212
|
+
};
|
|
3164
3213
|
/** @description BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items
|
|
3165
3214
|
* into an invoice. */
|
|
3166
3215
|
BillingWorkflowCollectionAlignmentSubscription: {
|
|
3167
3216
|
/**
|
|
3168
|
-
* @description The type of alignment.
|
|
3217
|
+
* @description The type of alignment. (enum property replaced by openapi-typescript)
|
|
3169
3218
|
* @enum {string}
|
|
3170
3219
|
*/
|
|
3171
3220
|
type: 'subscription';
|
|
@@ -4171,6 +4220,11 @@ export interface components {
|
|
|
4171
4220
|
*/
|
|
4172
4221
|
billingAddress?: components['schemas']['Address'];
|
|
4173
4222
|
};
|
|
4223
|
+
/**
|
|
4224
|
+
* @description Order by options for customer subscriptions.
|
|
4225
|
+
* @enum {string}
|
|
4226
|
+
*/
|
|
4227
|
+
CustomerSubscriptionOrderBy: 'activeFrom' | 'activeTo';
|
|
4174
4228
|
/** @description Mapping to attribute metered usage to the customer.
|
|
4175
4229
|
* One customer can have multiple subjects,
|
|
4176
4230
|
* but one subject can only belong to one customer. */
|
|
@@ -4640,6 +4694,13 @@ export interface components {
|
|
|
4640
4694
|
voidedAt?: Date;
|
|
4641
4695
|
/** @description The recurrence period of the grant. */
|
|
4642
4696
|
recurrence?: components['schemas']['RecurringPeriod'];
|
|
4697
|
+
/**
|
|
4698
|
+
* @description Grant annotations
|
|
4699
|
+
* @example {
|
|
4700
|
+
* "issueAfterReset": true
|
|
4701
|
+
* }
|
|
4702
|
+
*/
|
|
4703
|
+
annotations?: components['schemas']['Annotations'];
|
|
4643
4704
|
};
|
|
4644
4705
|
/** @description The grant creation input. */
|
|
4645
4706
|
EntitlementGrantCreateInput: {
|
|
@@ -4694,6 +4755,173 @@ export interface components {
|
|
|
4694
4755
|
/** @description The subject of the grant. */
|
|
4695
4756
|
recurrence?: components['schemas']['RecurringPeriodCreateInput'];
|
|
4696
4757
|
};
|
|
4758
|
+
/** @description The grant creation input. */
|
|
4759
|
+
EntitlementGrantCreateInputV2: {
|
|
4760
|
+
/**
|
|
4761
|
+
* Format: double
|
|
4762
|
+
* @description The amount to grant. Should be a positive number.
|
|
4763
|
+
* @example 100
|
|
4764
|
+
*/
|
|
4765
|
+
amount: number;
|
|
4766
|
+
/**
|
|
4767
|
+
* Format: uint8
|
|
4768
|
+
* @description The priority of the grant. Grants with higher priority are applied first.
|
|
4769
|
+
* Priority is a positive decimal numbers. With lower numbers indicating higher importance.
|
|
4770
|
+
* For example, a priority of 1 is more urgent than a priority of 2.
|
|
4771
|
+
* When there are several grants available for the same subject, the system selects the grant with the highest priority.
|
|
4772
|
+
* In cases where grants share the same priority level, the grant closest to its expiration will be used first.
|
|
4773
|
+
* In the case of two grants have identical priorities and expiration dates, the system will use the grant that was created first.
|
|
4774
|
+
* @example 1
|
|
4775
|
+
*/
|
|
4776
|
+
priority?: number;
|
|
4777
|
+
/**
|
|
4778
|
+
* Format: date-time
|
|
4779
|
+
* @description Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).
|
|
4780
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
4781
|
+
*/
|
|
4782
|
+
effectiveAt: Date;
|
|
4783
|
+
/**
|
|
4784
|
+
* Format: double
|
|
4785
|
+
* @description Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset.
|
|
4786
|
+
* Balance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))
|
|
4787
|
+
* @default 0
|
|
4788
|
+
* @example 100
|
|
4789
|
+
*/
|
|
4790
|
+
minRolloverAmount?: number;
|
|
4791
|
+
/**
|
|
4792
|
+
* @description The grant metadata.
|
|
4793
|
+
* @example {
|
|
4794
|
+
* "stripePaymentId": "pi_4OrAkhLvyihio9p51h9iiFnB"
|
|
4795
|
+
* }
|
|
4796
|
+
*/
|
|
4797
|
+
metadata?: components['schemas']['Metadata'];
|
|
4798
|
+
/** @description The subject of the grant. */
|
|
4799
|
+
recurrence?: components['schemas']['RecurringPeriodCreateInput'];
|
|
4800
|
+
/**
|
|
4801
|
+
* Format: double
|
|
4802
|
+
* @description Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset. The default value equals grant amount.
|
|
4803
|
+
* Balance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))
|
|
4804
|
+
* @example 100
|
|
4805
|
+
*/
|
|
4806
|
+
maxRolloverAmount?: number;
|
|
4807
|
+
/** @description The grant expiration definition. If no expiration is provided, the grant can be active indefinitely. */
|
|
4808
|
+
expiration?: components['schemas']['ExpirationPeriod'];
|
|
4809
|
+
/**
|
|
4810
|
+
* @description Grant annotations
|
|
4811
|
+
* @example {
|
|
4812
|
+
* "internal_reference": "internal_reference"
|
|
4813
|
+
* }
|
|
4814
|
+
*/
|
|
4815
|
+
annotations?: components['schemas']['Annotations'];
|
|
4816
|
+
};
|
|
4817
|
+
/** @description The grant. */
|
|
4818
|
+
EntitlementGrantV2: {
|
|
4819
|
+
/**
|
|
4820
|
+
* Creation Time
|
|
4821
|
+
* Format: date-time
|
|
4822
|
+
* @description Timestamp of when the resource was created.
|
|
4823
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
4824
|
+
*/
|
|
4825
|
+
readonly createdAt: Date;
|
|
4826
|
+
/**
|
|
4827
|
+
* Last Update Time
|
|
4828
|
+
* Format: date-time
|
|
4829
|
+
* @description Timestamp of when the resource was last updated.
|
|
4830
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
4831
|
+
*/
|
|
4832
|
+
readonly updatedAt: Date;
|
|
4833
|
+
/**
|
|
4834
|
+
* Deletion Time
|
|
4835
|
+
* Format: date-time
|
|
4836
|
+
* @description Timestamp of when the resource was permanently deleted.
|
|
4837
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
4838
|
+
*/
|
|
4839
|
+
readonly deletedAt?: Date;
|
|
4840
|
+
/**
|
|
4841
|
+
* Format: double
|
|
4842
|
+
* @description The amount to grant. Should be a positive number.
|
|
4843
|
+
* @example 100
|
|
4844
|
+
*/
|
|
4845
|
+
amount: number;
|
|
4846
|
+
/**
|
|
4847
|
+
* Format: uint8
|
|
4848
|
+
* @description The priority of the grant. Grants with higher priority are applied first.
|
|
4849
|
+
* Priority is a positive decimal numbers. With lower numbers indicating higher importance.
|
|
4850
|
+
* For example, a priority of 1 is more urgent than a priority of 2.
|
|
4851
|
+
* When there are several grants available for the same subject, the system selects the grant with the highest priority.
|
|
4852
|
+
* In cases where grants share the same priority level, the grant closest to its expiration will be used first.
|
|
4853
|
+
* In the case of two grants have identical priorities and expiration dates, the system will use the grant that was created first.
|
|
4854
|
+
* @example 1
|
|
4855
|
+
*/
|
|
4856
|
+
priority?: number;
|
|
4857
|
+
/**
|
|
4858
|
+
* Format: date-time
|
|
4859
|
+
* @description Effective date for grants and anchor for recurring grants. Provided value will be ceiled to metering windowSize (minute).
|
|
4860
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
4861
|
+
*/
|
|
4862
|
+
effectiveAt: Date;
|
|
4863
|
+
/**
|
|
4864
|
+
* Format: double
|
|
4865
|
+
* @description Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset.
|
|
4866
|
+
* Balance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))
|
|
4867
|
+
* @default 0
|
|
4868
|
+
* @example 100
|
|
4869
|
+
*/
|
|
4870
|
+
minRolloverAmount?: number;
|
|
4871
|
+
/**
|
|
4872
|
+
* @description The grant metadata.
|
|
4873
|
+
* @example {
|
|
4874
|
+
* "stripePaymentId": "pi_4OrAkhLvyihio9p51h9iiFnB"
|
|
4875
|
+
* }
|
|
4876
|
+
*/
|
|
4877
|
+
metadata?: components['schemas']['Metadata'];
|
|
4878
|
+
/**
|
|
4879
|
+
* Format: double
|
|
4880
|
+
* @description Grants are rolled over at reset, after which they can have a different balance compared to what they had before the reset. The default value equals grant amount.
|
|
4881
|
+
* Balance after the reset is calculated as: Balance_After_Reset = MIN(MaxRolloverAmount, MAX(Balance_Before_Reset, MinRolloverAmount))
|
|
4882
|
+
* @example 100
|
|
4883
|
+
*/
|
|
4884
|
+
maxRolloverAmount?: number;
|
|
4885
|
+
/** @description The grant expiration definition. If no expiration is provided, the grant can be active indefinitely. */
|
|
4886
|
+
expiration?: components['schemas']['ExpirationPeriod'];
|
|
4887
|
+
/**
|
|
4888
|
+
* @description Grant annotations
|
|
4889
|
+
* @example {
|
|
4890
|
+
* "internal_reference": "internal_reference"
|
|
4891
|
+
* }
|
|
4892
|
+
*/
|
|
4893
|
+
annotations?: components['schemas']['Annotations'];
|
|
4894
|
+
/**
|
|
4895
|
+
* @description Readonly unique ULID identifier.
|
|
4896
|
+
* @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
|
|
4897
|
+
*/
|
|
4898
|
+
readonly id: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* @description The unique entitlement ULID that the grant is associated with.
|
|
4901
|
+
* @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
|
|
4902
|
+
*/
|
|
4903
|
+
readonly entitlementId: string;
|
|
4904
|
+
/**
|
|
4905
|
+
* Format: date-time
|
|
4906
|
+
* @description The next time the grant will recurr.
|
|
4907
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
4908
|
+
*/
|
|
4909
|
+
nextRecurrence?: Date;
|
|
4910
|
+
/**
|
|
4911
|
+
* Format: date-time
|
|
4912
|
+
* @description The time the grant expires.
|
|
4913
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
4914
|
+
*/
|
|
4915
|
+
readonly expiresAt?: Date;
|
|
4916
|
+
/**
|
|
4917
|
+
* Format: date-time
|
|
4918
|
+
* @description The time the grant was voided.
|
|
4919
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
4920
|
+
*/
|
|
4921
|
+
voidedAt?: Date;
|
|
4922
|
+
/** @description The recurrence period of the grant. */
|
|
4923
|
+
recurrence?: components['schemas']['RecurringPeriod'];
|
|
4924
|
+
};
|
|
4697
4925
|
/** @description Metered entitlements are useful for many different use cases, from setting up usage based access to implementing complex credit systems.
|
|
4698
4926
|
* Access is determined based on feature usage using a balance calculation (the "usage allowance" provided by the issued grants is "burnt down" by the usage). */
|
|
4699
4927
|
EntitlementMetered: {
|
|
@@ -4891,14 +5119,15 @@ export interface components {
|
|
|
4891
5119
|
*/
|
|
4892
5120
|
isSoftLimit?: boolean;
|
|
4893
5121
|
/**
|
|
4894
|
-
*
|
|
4895
|
-
* @description
|
|
5122
|
+
* Preserve overage at reset
|
|
5123
|
+
* @description If true, the overage is preserved at reset. If false, the usage is reset to 0.
|
|
4896
5124
|
* @default false
|
|
4897
5125
|
*/
|
|
4898
|
-
|
|
5126
|
+
preserveOverageAtReset?: boolean;
|
|
4899
5127
|
/**
|
|
4900
5128
|
* Initial grant amount
|
|
4901
5129
|
* Format: double
|
|
5130
|
+
* @deprecated
|
|
4902
5131
|
* @description You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.
|
|
4903
5132
|
* If an amount is specified here, a grant will be created alongside the entitlement with the specified amount.
|
|
4904
5133
|
* That grant will have it's rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.
|
|
@@ -4908,16 +5137,16 @@ export interface components {
|
|
|
4908
5137
|
/**
|
|
4909
5138
|
* Issue grant after reset priority
|
|
4910
5139
|
* Format: uint8
|
|
5140
|
+
* @deprecated
|
|
4911
5141
|
* @description Defines the grant priority for the default grant.
|
|
4912
5142
|
* @default 1
|
|
4913
5143
|
*/
|
|
4914
5144
|
issueAfterResetPriority?: number;
|
|
4915
5145
|
/**
|
|
4916
|
-
*
|
|
4917
|
-
* @description
|
|
4918
|
-
* @default false
|
|
5146
|
+
* Issue after reset
|
|
5147
|
+
* @description Issue after reset
|
|
4919
5148
|
*/
|
|
4920
|
-
|
|
5149
|
+
issue?: components['schemas']['IssueAfterReset'];
|
|
4921
5150
|
/**
|
|
4922
5151
|
* Creation Time
|
|
4923
5152
|
* Format: date-time
|
|
@@ -5002,46 +5231,112 @@ export interface components {
|
|
|
5002
5231
|
*/
|
|
5003
5232
|
customerId: string;
|
|
5004
5233
|
};
|
|
5005
|
-
/**
|
|
5006
|
-
|
|
5007
|
-
* @enum {string}
|
|
5008
|
-
*/
|
|
5009
|
-
EntitlementOrderBy: 'createdAt' | 'updatedAt';
|
|
5010
|
-
/** @description Paginated response */
|
|
5011
|
-
EntitlementPaginatedResponse: {
|
|
5012
|
-
/**
|
|
5013
|
-
* @description The total number of items.
|
|
5014
|
-
* @example 500
|
|
5015
|
-
*/
|
|
5016
|
-
totalCount: number;
|
|
5234
|
+
/** @description Create inputs for metered entitlement */
|
|
5235
|
+
EntitlementMeteredV2CreateInputs: {
|
|
5017
5236
|
/**
|
|
5018
|
-
* @description The
|
|
5019
|
-
*
|
|
5237
|
+
* @description The feature the subject is entitled to use.
|
|
5238
|
+
* Either featureKey or featureId is required.
|
|
5239
|
+
* @example example-feature-key
|
|
5020
5240
|
*/
|
|
5021
|
-
|
|
5241
|
+
featureKey?: string;
|
|
5022
5242
|
/**
|
|
5023
|
-
* @description The
|
|
5024
|
-
*
|
|
5243
|
+
* @description The feature the subject is entitled to use.
|
|
5244
|
+
* Either featureKey or featureId is required.
|
|
5245
|
+
* @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
|
|
5025
5246
|
*/
|
|
5026
|
-
|
|
5027
|
-
/** @description
|
|
5028
|
-
|
|
5029
|
-
};
|
|
5030
|
-
/** @description A static entitlement. */
|
|
5031
|
-
EntitlementStatic: {
|
|
5247
|
+
featureId?: string;
|
|
5248
|
+
/** @description Additional metadata for the feature. */
|
|
5249
|
+
metadata?: components['schemas']['Metadata'];
|
|
5032
5250
|
/**
|
|
5033
5251
|
* @description discriminator enum property added by openapi-typescript
|
|
5034
5252
|
* @enum {string}
|
|
5035
5253
|
*/
|
|
5036
|
-
type: '
|
|
5254
|
+
type: 'metered';
|
|
5037
5255
|
/**
|
|
5038
|
-
*
|
|
5039
|
-
* @description
|
|
5040
|
-
* @
|
|
5256
|
+
* Soft limit
|
|
5257
|
+
* @description If softLimit=true the subject can use the feature even if the entitlement is exhausted, hasAccess will always be true.
|
|
5258
|
+
* @default false
|
|
5041
5259
|
*/
|
|
5042
|
-
|
|
5260
|
+
isSoftLimit?: boolean;
|
|
5261
|
+
/** @description The usage period associated with the entitlement. */
|
|
5262
|
+
usagePeriod: components['schemas']['RecurringPeriodCreateInput'];
|
|
5263
|
+
/** @description Defines the time from which usage is measured. If not specified on creation, defaults to entitlement creation time. */
|
|
5264
|
+
measureUsageFrom?: components['schemas']['MeasureUsageFrom'];
|
|
5043
5265
|
/**
|
|
5044
|
-
*
|
|
5266
|
+
* Preserve overage at reset
|
|
5267
|
+
* @description If true, the overage is preserved at reset. If false, the usage is reset to 0.
|
|
5268
|
+
* @default false
|
|
5269
|
+
*/
|
|
5270
|
+
preserveOverageAtReset?: boolean;
|
|
5271
|
+
/**
|
|
5272
|
+
* Initial grant amount
|
|
5273
|
+
* Format: double
|
|
5274
|
+
* @deprecated
|
|
5275
|
+
* @description You can grant usage automatically alongside the entitlement, the example scenario would be creating a starting balance.
|
|
5276
|
+
* If an amount is specified here, a grant will be created alongside the entitlement with the specified amount.
|
|
5277
|
+
* That grant will have it's rollover settings configured in a way that after each reset operation, the balance will return the original amount specified here.
|
|
5278
|
+
* Manually creating such a grant would mean having the "amount", "minRolloverAmount", and "maxRolloverAmount" fields all be the same.
|
|
5279
|
+
*/
|
|
5280
|
+
issueAfterReset?: number;
|
|
5281
|
+
/**
|
|
5282
|
+
* Issue grant after reset priority
|
|
5283
|
+
* Format: uint8
|
|
5284
|
+
* @deprecated
|
|
5285
|
+
* @description Defines the grant priority for the default grant.
|
|
5286
|
+
* @default 1
|
|
5287
|
+
*/
|
|
5288
|
+
issueAfterResetPriority?: number;
|
|
5289
|
+
/**
|
|
5290
|
+
* Issue after reset
|
|
5291
|
+
* @description Issue after reset
|
|
5292
|
+
*/
|
|
5293
|
+
issue?: components['schemas']['IssueAfterReset'];
|
|
5294
|
+
/**
|
|
5295
|
+
* Grants
|
|
5296
|
+
* @description Grants
|
|
5297
|
+
*/
|
|
5298
|
+
grants?: components['schemas']['EntitlementGrantCreateInputV2'][];
|
|
5299
|
+
};
|
|
5300
|
+
/**
|
|
5301
|
+
* @description Order by options for entitlements.
|
|
5302
|
+
* @enum {string}
|
|
5303
|
+
*/
|
|
5304
|
+
EntitlementOrderBy: 'createdAt' | 'updatedAt';
|
|
5305
|
+
/** @description Paginated response */
|
|
5306
|
+
EntitlementPaginatedResponse: {
|
|
5307
|
+
/**
|
|
5308
|
+
* @description The total number of items.
|
|
5309
|
+
* @example 500
|
|
5310
|
+
*/
|
|
5311
|
+
totalCount: number;
|
|
5312
|
+
/**
|
|
5313
|
+
* @description The page index.
|
|
5314
|
+
* @example 1
|
|
5315
|
+
*/
|
|
5316
|
+
page: number;
|
|
5317
|
+
/**
|
|
5318
|
+
* @description The maximum number of items per page.
|
|
5319
|
+
* @example 100
|
|
5320
|
+
*/
|
|
5321
|
+
pageSize: number;
|
|
5322
|
+
/** @description The items in the current page. */
|
|
5323
|
+
items: components['schemas']['Entitlement'][];
|
|
5324
|
+
};
|
|
5325
|
+
/** @description A static entitlement. */
|
|
5326
|
+
EntitlementStatic: {
|
|
5327
|
+
/**
|
|
5328
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5329
|
+
* @enum {string}
|
|
5330
|
+
*/
|
|
5331
|
+
type: 'static';
|
|
5332
|
+
/**
|
|
5333
|
+
* Format: json
|
|
5334
|
+
* @description The JSON parsable config of the entitlement. This value is also returned when checking entitlement access and it is useful for configuring fine-grained access settings to the feature, implemented in your own system. Has to be an object.
|
|
5335
|
+
* @example { "integrations": ["github"] }
|
|
5336
|
+
*/
|
|
5337
|
+
config: string;
|
|
5338
|
+
/**
|
|
5339
|
+
* Creation Time
|
|
5045
5340
|
* Format: date-time
|
|
5046
5341
|
* @description Timestamp of when the resource was created.
|
|
5047
5342
|
* @example 2024-01-01T01:01:01.001Z
|
|
@@ -5231,6 +5526,8 @@ export interface components {
|
|
|
5231
5526
|
/** @description Entitlement templates are used to define the entitlements of a plan.
|
|
5232
5527
|
* Features are omitted from the entitlement template, as they are defined in the rate card. */
|
|
5233
5528
|
EntitlementV2: components['schemas']['EntitlementMeteredV2'] | components['schemas']['EntitlementStaticV2'] | components['schemas']['EntitlementBooleanV2'];
|
|
5529
|
+
/** @description Create inputs for entitlement */
|
|
5530
|
+
EntitlementV2CreateInputs: components['schemas']['EntitlementMeteredV2CreateInputs'] | components['schemas']['EntitlementStaticCreateInputs'] | components['schemas']['EntitlementBooleanCreateInputs'];
|
|
5234
5531
|
/** @description Paginated response */
|
|
5235
5532
|
EntitlementV2PaginatedResponse: {
|
|
5236
5533
|
/**
|
|
@@ -5282,6 +5579,26 @@ export interface components {
|
|
|
5282
5579
|
*/
|
|
5283
5580
|
readonly config?: string;
|
|
5284
5581
|
};
|
|
5582
|
+
/** @description Generic ErrorExtension as part of HTTPProblem.Extensions.[StatusCode] */
|
|
5583
|
+
ErrorExtension: {
|
|
5584
|
+
/**
|
|
5585
|
+
* @description The path to the field.
|
|
5586
|
+
* @example addons/pro/ratecards/token/featureKey
|
|
5587
|
+
*/
|
|
5588
|
+
readonly field: string;
|
|
5589
|
+
/**
|
|
5590
|
+
* @description The machine readable description of the error.
|
|
5591
|
+
* @example invalid_feature_key
|
|
5592
|
+
*/
|
|
5593
|
+
readonly code: string;
|
|
5594
|
+
/**
|
|
5595
|
+
* @description The human readable description of the error.
|
|
5596
|
+
* @example not found feature by key
|
|
5597
|
+
*/
|
|
5598
|
+
readonly message: string;
|
|
5599
|
+
} & {
|
|
5600
|
+
[key: string]: unknown;
|
|
5601
|
+
};
|
|
5285
5602
|
/**
|
|
5286
5603
|
* @description CloudEvents Specification JSON Schema
|
|
5287
5604
|
*
|
|
@@ -5347,6 +5664,29 @@ export interface components {
|
|
|
5347
5664
|
[key: string]: unknown;
|
|
5348
5665
|
} | null;
|
|
5349
5666
|
};
|
|
5667
|
+
/** @description The response of the event delivery attempt. */
|
|
5668
|
+
EventDeliveryAttemptResponse: {
|
|
5669
|
+
/**
|
|
5670
|
+
* Status Code
|
|
5671
|
+
* @description Status code of the response if available.
|
|
5672
|
+
*/
|
|
5673
|
+
readonly statusCode?: number;
|
|
5674
|
+
/**
|
|
5675
|
+
* Response Body
|
|
5676
|
+
* @description The body of the response.
|
|
5677
|
+
*/
|
|
5678
|
+
readonly body: string;
|
|
5679
|
+
/**
|
|
5680
|
+
* Response Duration
|
|
5681
|
+
* @description The duration of the response in milliseconds.
|
|
5682
|
+
*/
|
|
5683
|
+
readonly durationMs: number;
|
|
5684
|
+
/**
|
|
5685
|
+
* URL
|
|
5686
|
+
* @description URL where the event was sent in case of notification channel with webhook type.
|
|
5687
|
+
*/
|
|
5688
|
+
readonly url?: string;
|
|
5689
|
+
};
|
|
5350
5690
|
/**
|
|
5351
5691
|
* @description The expiration duration enum
|
|
5352
5692
|
* @enum {string}
|
|
@@ -5416,6 +5756,7 @@ export interface components {
|
|
|
5416
5756
|
meterSlug?: string;
|
|
5417
5757
|
/**
|
|
5418
5758
|
* Meter group by filters
|
|
5759
|
+
* @deprecated
|
|
5419
5760
|
* @description Optional meter group by filters.
|
|
5420
5761
|
* Useful if the meter scope is broader than what feature tracks.
|
|
5421
5762
|
* Example scenario would be a meter tracking all token use with groupBy fields for the model,
|
|
@@ -5428,6 +5769,25 @@ export interface components {
|
|
|
5428
5769
|
meterGroupByFilters?: {
|
|
5429
5770
|
[key: string]: string;
|
|
5430
5771
|
};
|
|
5772
|
+
/**
|
|
5773
|
+
* Advanced meter group by filters
|
|
5774
|
+
* @description Optional advanced meter group by filters.
|
|
5775
|
+
* You can use this to filter for values of the meter groupBy fields.
|
|
5776
|
+
* @example {
|
|
5777
|
+
* "model": {
|
|
5778
|
+
* "$in": [
|
|
5779
|
+
* "gpt-4",
|
|
5780
|
+
* "gpt-4o"
|
|
5781
|
+
* ]
|
|
5782
|
+
* },
|
|
5783
|
+
* "type": {
|
|
5784
|
+
* "$eq": "input"
|
|
5785
|
+
* }
|
|
5786
|
+
* }
|
|
5787
|
+
*/
|
|
5788
|
+
advancedMeterGroupByFilters?: {
|
|
5789
|
+
[key: string]: components['schemas']['FilterString'];
|
|
5790
|
+
};
|
|
5431
5791
|
/**
|
|
5432
5792
|
* @description Readonly unique ULID identifier.
|
|
5433
5793
|
* @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
|
|
@@ -5459,6 +5819,7 @@ export interface components {
|
|
|
5459
5819
|
meterSlug?: string;
|
|
5460
5820
|
/**
|
|
5461
5821
|
* Meter group by filters
|
|
5822
|
+
* @deprecated
|
|
5462
5823
|
* @description Optional meter group by filters.
|
|
5463
5824
|
* Useful if the meter scope is broader than what feature tracks.
|
|
5464
5825
|
* Example scenario would be a meter tracking all token use with groupBy fields for the model,
|
|
@@ -5471,6 +5832,25 @@ export interface components {
|
|
|
5471
5832
|
meterGroupByFilters?: {
|
|
5472
5833
|
[key: string]: string;
|
|
5473
5834
|
};
|
|
5835
|
+
/**
|
|
5836
|
+
* Advanced meter group by filters
|
|
5837
|
+
* @description Optional advanced meter group by filters.
|
|
5838
|
+
* You can use this to filter for values of the meter groupBy fields.
|
|
5839
|
+
* @example {
|
|
5840
|
+
* "model": {
|
|
5841
|
+
* "$in": [
|
|
5842
|
+
* "gpt-4",
|
|
5843
|
+
* "gpt-4o"
|
|
5844
|
+
* ]
|
|
5845
|
+
* },
|
|
5846
|
+
* "type": {
|
|
5847
|
+
* "$eq": "input"
|
|
5848
|
+
* }
|
|
5849
|
+
* }
|
|
5850
|
+
*/
|
|
5851
|
+
advancedMeterGroupByFilters?: {
|
|
5852
|
+
[key: string]: components['schemas']['FilterString'];
|
|
5853
|
+
};
|
|
5474
5854
|
};
|
|
5475
5855
|
/** @description Limited representation of a feature resource which includes only its unique identifiers (id, key). */
|
|
5476
5856
|
FeatureMeta: {
|
|
@@ -5696,6 +6076,26 @@ export interface components {
|
|
|
5696
6076
|
*/
|
|
5697
6077
|
usage: number;
|
|
5698
6078
|
};
|
|
6079
|
+
/** @description Paginated response */
|
|
6080
|
+
GrantV2PaginatedResponse: {
|
|
6081
|
+
/**
|
|
6082
|
+
* @description The total number of items.
|
|
6083
|
+
* @example 500
|
|
6084
|
+
*/
|
|
6085
|
+
totalCount: number;
|
|
6086
|
+
/**
|
|
6087
|
+
* @description The page index.
|
|
6088
|
+
* @example 1
|
|
6089
|
+
*/
|
|
6090
|
+
page: number;
|
|
6091
|
+
/**
|
|
6092
|
+
* @description The maximum number of items per page.
|
|
6093
|
+
* @example 100
|
|
6094
|
+
*/
|
|
6095
|
+
pageSize: number;
|
|
6096
|
+
/** @description The items in the current page. */
|
|
6097
|
+
items: components['schemas']['EntitlementGrantV2'][];
|
|
6098
|
+
};
|
|
5699
6099
|
/** @description IDResource is a resouce with an ID. */
|
|
5700
6100
|
IDResource: {
|
|
5701
6101
|
/**
|
|
@@ -6012,16 +6412,17 @@ export interface components {
|
|
|
6012
6412
|
*
|
|
6013
6413
|
* Billing always treats periods as start being inclusive and end being exclusive. */
|
|
6014
6414
|
period: components['schemas']['Period'];
|
|
6415
|
+
/** @description External IDs of the invoice in other apps such as Stripe. */
|
|
6416
|
+
readonly externalIds?: components['schemas']['InvoiceLineAppExternalIds'];
|
|
6417
|
+
/** @description Subscription are the references to the subscritpions that this line is related to. */
|
|
6418
|
+
readonly subscription?: components['schemas']['InvoiceLineSubscriptionReference'];
|
|
6015
6419
|
/**
|
|
6016
6420
|
* Format: date-time
|
|
6421
|
+
* @deprecated
|
|
6017
6422
|
* @description The time this line item should be invoiced.
|
|
6018
6423
|
* @example 2023-01-01T01:01:01.001Z
|
|
6019
6424
|
*/
|
|
6020
6425
|
invoiceAt: Date;
|
|
6021
|
-
/** @description External IDs of the invoice in other apps such as Stripe. */
|
|
6022
|
-
readonly externalIds?: components['schemas']['InvoiceLineAppExternalIds'];
|
|
6023
|
-
/** @description Subscription are the references to the subscritpions that this line is related to. */
|
|
6024
|
-
readonly subscription?: components['schemas']['InvoiceLineSubscriptionReference'];
|
|
6025
6426
|
/**
|
|
6026
6427
|
* @deprecated
|
|
6027
6428
|
* @description Type of the line.
|
|
@@ -6353,7 +6754,7 @@ export interface components {
|
|
|
6353
6754
|
* @description Line status specifies the status of the line.
|
|
6354
6755
|
* @enum {string}
|
|
6355
6756
|
*/
|
|
6356
|
-
InvoiceLineStatus: 'valid' | '
|
|
6757
|
+
InvoiceLineStatus: 'valid' | 'detailed' | 'split';
|
|
6357
6758
|
/** @description InvoiceLineSubscriptionReference contains the references to the subscription that this line is related to. */
|
|
6358
6759
|
InvoiceLineSubscriptionReference: {
|
|
6359
6760
|
/** @description The subscription. */
|
|
@@ -6804,6 +7205,22 @@ export interface components {
|
|
|
6804
7205
|
/** @description The payment settings for this workflow */
|
|
6805
7206
|
payment: components['schemas']['BillingWorkflowPaymentSettings'];
|
|
6806
7207
|
};
|
|
7208
|
+
/** @description Issue after reset */
|
|
7209
|
+
IssueAfterReset: {
|
|
7210
|
+
/**
|
|
7211
|
+
* Initial grant amount
|
|
7212
|
+
* Format: double
|
|
7213
|
+
* @description The initial grant amount
|
|
7214
|
+
*/
|
|
7215
|
+
amount: number;
|
|
7216
|
+
/**
|
|
7217
|
+
* Issue grant after reset priority
|
|
7218
|
+
* Format: uint8
|
|
7219
|
+
* @description The priority of the issue after reset
|
|
7220
|
+
* @default 1
|
|
7221
|
+
*/
|
|
7222
|
+
priority?: number;
|
|
7223
|
+
};
|
|
6807
7224
|
/** @description List entitlements result */
|
|
6808
7225
|
ListEntitlementsResult: components['schemas']['Entitlement'][] | components['schemas']['EntitlementPaginatedResponse'];
|
|
6809
7226
|
/** @description List features result */
|
|
@@ -7180,6 +7597,24 @@ export interface components {
|
|
|
7180
7597
|
filterGroupBy?: {
|
|
7181
7598
|
[key: string]: string[];
|
|
7182
7599
|
};
|
|
7600
|
+
/**
|
|
7601
|
+
* @description Optional advanced meter group by filters.
|
|
7602
|
+
* You can use this to filter for values of the meter groupBy fields.
|
|
7603
|
+
* @example {
|
|
7604
|
+
* "model": {
|
|
7605
|
+
* "$in": [
|
|
7606
|
+
* "gpt-4",
|
|
7607
|
+
* "gpt-4o"
|
|
7608
|
+
* ]
|
|
7609
|
+
* },
|
|
7610
|
+
* "type": {
|
|
7611
|
+
* "$eq": "input"
|
|
7612
|
+
* }
|
|
7613
|
+
* }
|
|
7614
|
+
*/
|
|
7615
|
+
advancedMeterGroupByFilters?: {
|
|
7616
|
+
[key: string]: components['schemas']['FilterString'];
|
|
7617
|
+
};
|
|
7183
7618
|
/**
|
|
7184
7619
|
* @description If not specified a single aggregate will be returned for each subject and time window.
|
|
7185
7620
|
* `subject` is a reserved group by value.
|
|
@@ -7416,6 +7851,16 @@ export interface components {
|
|
|
7416
7851
|
* @example true
|
|
7417
7852
|
*/
|
|
7418
7853
|
disabled?: boolean;
|
|
7854
|
+
/**
|
|
7855
|
+
* Annotations
|
|
7856
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
7857
|
+
*/
|
|
7858
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
7859
|
+
/**
|
|
7860
|
+
* Metadata
|
|
7861
|
+
* @description Additional metadata for the resource.
|
|
7862
|
+
*/
|
|
7863
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7419
7864
|
/**
|
|
7420
7865
|
* Webhook URL
|
|
7421
7866
|
* @description Webhook URL where the notification is sent.
|
|
@@ -7459,6 +7904,11 @@ export interface components {
|
|
|
7459
7904
|
* @example true
|
|
7460
7905
|
*/
|
|
7461
7906
|
disabled?: boolean;
|
|
7907
|
+
/**
|
|
7908
|
+
* Metadata
|
|
7909
|
+
* @description Additional metadata for the resource.
|
|
7910
|
+
*/
|
|
7911
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7462
7912
|
/**
|
|
7463
7913
|
* Webhook URL
|
|
7464
7914
|
* @description Webhook URL where the notification is sent.
|
|
@@ -7557,6 +8007,27 @@ export interface components {
|
|
|
7557
8007
|
/** Threshold */
|
|
7558
8008
|
readonly threshold: components['schemas']['NotificationRuleBalanceThresholdValue'];
|
|
7559
8009
|
};
|
|
8010
|
+
/** @description The delivery attempt of the notification event. */
|
|
8011
|
+
NotificationEventDeliveryAttempt: {
|
|
8012
|
+
/**
|
|
8013
|
+
* State of teh delivery attempt
|
|
8014
|
+
* @description State of teh delivery attempt.
|
|
8015
|
+
* @example SUCCESS
|
|
8016
|
+
*/
|
|
8017
|
+
readonly state: components['schemas']['NotificationEventDeliveryStatusState'];
|
|
8018
|
+
/**
|
|
8019
|
+
* Response returned by the notification event recipient
|
|
8020
|
+
* @description Response returned by the notification event recipient.
|
|
8021
|
+
*/
|
|
8022
|
+
readonly response: components['schemas']['EventDeliveryAttemptResponse'];
|
|
8023
|
+
/**
|
|
8024
|
+
* Timestamp of the delivery attempt
|
|
8025
|
+
* Format: date-time
|
|
8026
|
+
* @description Timestamp of the delivery attempt.
|
|
8027
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
8028
|
+
*/
|
|
8029
|
+
readonly timestamp: Date;
|
|
8030
|
+
};
|
|
7560
8031
|
/** @description The delivery status of the notification event. */
|
|
7561
8032
|
NotificationEventDeliveryStatus: {
|
|
7562
8033
|
/**
|
|
@@ -7579,16 +8050,33 @@ export interface components {
|
|
|
7579
8050
|
readonly updatedAt: Date;
|
|
7580
8051
|
/**
|
|
7581
8052
|
* Notification Channel
|
|
7582
|
-
* @description Notification channel the delivery
|
|
8053
|
+
* @description Notification channel the delivery status associated with.
|
|
7583
8054
|
*/
|
|
7584
8055
|
readonly channel: components['schemas']['NotificationChannelMeta'];
|
|
8056
|
+
/**
|
|
8057
|
+
* Annotations
|
|
8058
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
8059
|
+
*/
|
|
8060
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
8061
|
+
/**
|
|
8062
|
+
* Timestamp of the next delivery attempt
|
|
8063
|
+
* Format: date-time
|
|
8064
|
+
* @description Timestamp of the next delivery attempt. If null it means there will be no more delivery attempts.
|
|
8065
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
8066
|
+
*/
|
|
8067
|
+
readonly nextAttempt?: Date;
|
|
8068
|
+
/**
|
|
8069
|
+
* Delivery Attempts
|
|
8070
|
+
* @description List of delivery attempts.
|
|
8071
|
+
*/
|
|
8072
|
+
readonly attempts: components['schemas']['NotificationEventDeliveryAttempt'][];
|
|
7585
8073
|
};
|
|
7586
8074
|
/**
|
|
7587
8075
|
* Delivery State
|
|
7588
8076
|
* @description The delivery state of the notification event to the channel.
|
|
7589
8077
|
* @enum {string}
|
|
7590
8078
|
*/
|
|
7591
|
-
NotificationEventDeliveryStatusState: 'SUCCESS' | 'FAILED' | 'SENDING' | 'PENDING';
|
|
8079
|
+
NotificationEventDeliveryStatusState: 'SUCCESS' | 'FAILED' | 'SENDING' | 'PENDING' | 'RESENDING';
|
|
7592
8080
|
/** @description Base data for any payload with entitlement entitlement value. */
|
|
7593
8081
|
NotificationEventEntitlementValuePayloadBase: {
|
|
7594
8082
|
/** Entitlement */
|
|
@@ -7681,6 +8169,14 @@ export interface components {
|
|
|
7681
8169
|
};
|
|
7682
8170
|
/** @description The delivery status of the notification event. */
|
|
7683
8171
|
NotificationEventPayload: components['schemas']['NotificationEventResetPayload'] | components['schemas']['NotificationEventBalanceThresholdPayload'] | components['schemas']['NotificationEventInvoiceCreatedPayload'] | components['schemas']['NotificationEventInvoiceUpdatedPayload'];
|
|
8172
|
+
/** @description A notification event that will be re-sent. */
|
|
8173
|
+
NotificationEventResendRequest: {
|
|
8174
|
+
/**
|
|
8175
|
+
* Channels
|
|
8176
|
+
* @description Notification channels to which the event should be re-sent.
|
|
8177
|
+
*/
|
|
8178
|
+
channels?: string[];
|
|
8179
|
+
};
|
|
7684
8180
|
/** @description Payload for notification event with `entitlements.reset` type. */
|
|
7685
8181
|
NotificationEventResetPayload: {
|
|
7686
8182
|
/**
|
|
@@ -7766,6 +8262,16 @@ export interface components {
|
|
|
7766
8262
|
* @description List of notification channels the rule applies to.
|
|
7767
8263
|
*/
|
|
7768
8264
|
channels: components['schemas']['NotificationChannelMeta'][];
|
|
8265
|
+
/**
|
|
8266
|
+
* Annotations
|
|
8267
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
8268
|
+
*/
|
|
8269
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
8270
|
+
/**
|
|
8271
|
+
* Metadata
|
|
8272
|
+
* @description Additional metadata for the resource.
|
|
8273
|
+
*/
|
|
8274
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7769
8275
|
/**
|
|
7770
8276
|
* Entitlement Balance Thresholds
|
|
7771
8277
|
* @description List of thresholds the rule suppose to be triggered.
|
|
@@ -7797,6 +8303,11 @@ export interface components {
|
|
|
7797
8303
|
* @example true
|
|
7798
8304
|
*/
|
|
7799
8305
|
disabled?: boolean;
|
|
8306
|
+
/**
|
|
8307
|
+
* Metadata
|
|
8308
|
+
* @description Additional metadata for the resource.
|
|
8309
|
+
*/
|
|
8310
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7800
8311
|
/**
|
|
7801
8312
|
* Entitlement Balance Thresholds
|
|
7802
8313
|
* @description List of thresholds the rule suppose to be triggered.
|
|
@@ -7893,6 +8404,16 @@ export interface components {
|
|
|
7893
8404
|
* @description List of notification channels the rule applies to.
|
|
7894
8405
|
*/
|
|
7895
8406
|
channels: components['schemas']['NotificationChannelMeta'][];
|
|
8407
|
+
/**
|
|
8408
|
+
* Annotations
|
|
8409
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
8410
|
+
*/
|
|
8411
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
8412
|
+
/**
|
|
8413
|
+
* Metadata
|
|
8414
|
+
* @description Additional metadata for the resource.
|
|
8415
|
+
*/
|
|
8416
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7896
8417
|
/**
|
|
7897
8418
|
* Features
|
|
7898
8419
|
* @description Optional field containing list of features the rule applies to.
|
|
@@ -7919,6 +8440,11 @@ export interface components {
|
|
|
7919
8440
|
* @example true
|
|
7920
8441
|
*/
|
|
7921
8442
|
disabled?: boolean;
|
|
8443
|
+
/**
|
|
8444
|
+
* Metadata
|
|
8445
|
+
* @description Additional metadata for the resource.
|
|
8446
|
+
*/
|
|
8447
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7922
8448
|
/**
|
|
7923
8449
|
* Channels
|
|
7924
8450
|
* @description List of notification channels the rule is applied to.
|
|
@@ -7982,6 +8508,16 @@ export interface components {
|
|
|
7982
8508
|
* @description List of notification channels the rule applies to.
|
|
7983
8509
|
*/
|
|
7984
8510
|
channels: components['schemas']['NotificationChannelMeta'][];
|
|
8511
|
+
/**
|
|
8512
|
+
* Annotations
|
|
8513
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
8514
|
+
*/
|
|
8515
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
8516
|
+
/**
|
|
8517
|
+
* Metadata
|
|
8518
|
+
* @description Additional metadata for the resource.
|
|
8519
|
+
*/
|
|
8520
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7985
8521
|
};
|
|
7986
8522
|
/** @description Request with input parameters for creating new notification rule with invoice.created type. */
|
|
7987
8523
|
NotificationRuleInvoiceCreatedCreateRequest: {
|
|
@@ -8003,6 +8539,11 @@ export interface components {
|
|
|
8003
8539
|
* @example true
|
|
8004
8540
|
*/
|
|
8005
8541
|
disabled?: boolean;
|
|
8542
|
+
/**
|
|
8543
|
+
* Metadata
|
|
8544
|
+
* @description Additional metadata for the resource.
|
|
8545
|
+
*/
|
|
8546
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8006
8547
|
/**
|
|
8007
8548
|
* Channels
|
|
8008
8549
|
* @description List of notification channels the rule is applied to.
|
|
@@ -8061,6 +8602,16 @@ export interface components {
|
|
|
8061
8602
|
* @description List of notification channels the rule applies to.
|
|
8062
8603
|
*/
|
|
8063
8604
|
channels: components['schemas']['NotificationChannelMeta'][];
|
|
8605
|
+
/**
|
|
8606
|
+
* Annotations
|
|
8607
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
8608
|
+
*/
|
|
8609
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
8610
|
+
/**
|
|
8611
|
+
* Metadata
|
|
8612
|
+
* @description Additional metadata for the resource.
|
|
8613
|
+
*/
|
|
8614
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8064
8615
|
};
|
|
8065
8616
|
/** @description Request with input parameters for creating new notification rule with invoice.updated type. */
|
|
8066
8617
|
NotificationRuleInvoiceUpdatedCreateRequest: {
|
|
@@ -8082,6 +8633,11 @@ export interface components {
|
|
|
8082
8633
|
* @example true
|
|
8083
8634
|
*/
|
|
8084
8635
|
disabled?: boolean;
|
|
8636
|
+
/**
|
|
8637
|
+
* Metadata
|
|
8638
|
+
* @description Additional metadata for the resource.
|
|
8639
|
+
*/
|
|
8640
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8085
8641
|
/**
|
|
8086
8642
|
* Channels
|
|
8087
8643
|
* @description List of notification channels the rule is applied to.
|
|
@@ -9016,6 +9572,7 @@ export interface components {
|
|
|
9016
9572
|
/** @description The price of the usage based rate card. */
|
|
9017
9573
|
RateCardUsageBasedPrice: components['schemas']['FlatPriceWithPaymentTerm'] | components['schemas']['UnitPriceWithCommitments'] | components['schemas']['TieredPriceWithCommitments'] | components['schemas']['DynamicPriceWithCommitments'] | components['schemas']['PackagePriceWithCommitments'];
|
|
9018
9574
|
/**
|
|
9575
|
+
* @deprecated
|
|
9019
9576
|
* @description Recurring period with an interval and an anchor.
|
|
9020
9577
|
* @example {
|
|
9021
9578
|
* "interval": "DAY",
|
|
@@ -9029,11 +9586,6 @@ export interface components {
|
|
|
9029
9586
|
* @description The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.
|
|
9030
9587
|
*/
|
|
9031
9588
|
interval: components['schemas']['RecurringPeriodInterval'];
|
|
9032
|
-
/**
|
|
9033
|
-
* Format: duration
|
|
9034
|
-
* @description The unit of time for the interval in ISO8601 format.
|
|
9035
|
-
*/
|
|
9036
|
-
intervalISO: string;
|
|
9037
9589
|
/**
|
|
9038
9590
|
* Anchor time
|
|
9039
9591
|
* Format: date-time
|
|
@@ -9041,6 +9593,11 @@ export interface components {
|
|
|
9041
9593
|
* @example 2023-01-01T01:01:01.001Z
|
|
9042
9594
|
*/
|
|
9043
9595
|
anchor: Date;
|
|
9596
|
+
/**
|
|
9597
|
+
* Format: duration
|
|
9598
|
+
* @description The unit of time for the interval in ISO8601 format.
|
|
9599
|
+
*/
|
|
9600
|
+
intervalISO: string;
|
|
9044
9601
|
};
|
|
9045
9602
|
/**
|
|
9046
9603
|
* @description Recurring period with an interval and an anchor.
|
|
@@ -9071,6 +9628,21 @@ export interface components {
|
|
|
9071
9628
|
* @enum {string}
|
|
9072
9629
|
*/
|
|
9073
9630
|
RecurringPeriodIntervalEnum: 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
9631
|
+
/** @description Recurring period with an interval and an anchor. */
|
|
9632
|
+
RecurringPeriodV2: {
|
|
9633
|
+
/**
|
|
9634
|
+
* Interval
|
|
9635
|
+
* @description The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.
|
|
9636
|
+
*/
|
|
9637
|
+
interval: components['schemas']['RecurringPeriodInterval'];
|
|
9638
|
+
/**
|
|
9639
|
+
* Anchor time
|
|
9640
|
+
* Format: date-time
|
|
9641
|
+
* @description A date-time anchor to base the recurring period on.
|
|
9642
|
+
* @example 2023-01-01T01:01:01.001Z
|
|
9643
|
+
*/
|
|
9644
|
+
anchor: Date;
|
|
9645
|
+
};
|
|
9074
9646
|
/**
|
|
9075
9647
|
* @description The direction of the phase shift when a phase is removed.
|
|
9076
9648
|
* @enum {string}
|
|
@@ -9682,6 +10254,11 @@ export interface components {
|
|
|
9682
10254
|
* @example 2023-01-01T01:01:01.001Z
|
|
9683
10255
|
*/
|
|
9684
10256
|
activeTo?: Date;
|
|
10257
|
+
/**
|
|
10258
|
+
* Annotations
|
|
10259
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
10260
|
+
*/
|
|
10261
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
9685
10262
|
/** @description Alignment configuration for the plan. */
|
|
9686
10263
|
alignment?: components['schemas']['Alignment'];
|
|
9687
10264
|
/** @description The status of the subscription. */
|
|
@@ -9970,6 +10547,40 @@ export interface components {
|
|
|
9970
10547
|
/** @description The current billing period. Only has value if the subscription is aligned and active. */
|
|
9971
10548
|
currentAlignedBillingPeriod?: components['schemas']['Period'];
|
|
9972
10549
|
};
|
|
10550
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
10551
|
+
SubscriptionBadRequestErrorResponse: {
|
|
10552
|
+
/**
|
|
10553
|
+
* Format: uri
|
|
10554
|
+
* @description Type contains a URI that identifies the problem type.
|
|
10555
|
+
* @default about:blank
|
|
10556
|
+
* @example about:blank
|
|
10557
|
+
*/
|
|
10558
|
+
type: string;
|
|
10559
|
+
/**
|
|
10560
|
+
* @description A a short, human-readable summary of the problem type.
|
|
10561
|
+
* @example Bad Request
|
|
10562
|
+
*/
|
|
10563
|
+
title: string;
|
|
10564
|
+
/**
|
|
10565
|
+
* Format: int16
|
|
10566
|
+
* @description The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
10567
|
+
* @example 400
|
|
10568
|
+
*/
|
|
10569
|
+
status?: number;
|
|
10570
|
+
/**
|
|
10571
|
+
* @description A human-readable explanation specific to this occurrence of the problem.
|
|
10572
|
+
* @example The request body must be a JSON object.
|
|
10573
|
+
*/
|
|
10574
|
+
detail: string;
|
|
10575
|
+
/**
|
|
10576
|
+
* Format: uri
|
|
10577
|
+
* @description A URI reference that identifies the specific occurrence of the problem.
|
|
10578
|
+
* @example urn:request:local/JMOlctsKV8-000001
|
|
10579
|
+
*/
|
|
10580
|
+
instance: string;
|
|
10581
|
+
/** @description Additional properties specific to the problem type may be present. */
|
|
10582
|
+
extensions?: components['schemas']['SubscriptionErrorExtensions'];
|
|
10583
|
+
};
|
|
9973
10584
|
/** @description Change a subscription. */
|
|
9974
10585
|
SubscriptionChange: components['schemas']['PlanSubscriptionChange'] | components['schemas']['CustomSubscriptionChange'];
|
|
9975
10586
|
/** @description Response body for subscription change. */
|
|
@@ -9985,6 +10596,41 @@ export interface components {
|
|
|
9985
10596
|
*/
|
|
9986
10597
|
next: components['schemas']['SubscriptionExpanded'];
|
|
9987
10598
|
};
|
|
10599
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
10600
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
10601
|
+
SubscriptionConflictErrorResponse: {
|
|
10602
|
+
/**
|
|
10603
|
+
* Format: uri
|
|
10604
|
+
* @description Type contains a URI that identifies the problem type.
|
|
10605
|
+
* @default about:blank
|
|
10606
|
+
* @example about:blank
|
|
10607
|
+
*/
|
|
10608
|
+
type: string;
|
|
10609
|
+
/**
|
|
10610
|
+
* @description A a short, human-readable summary of the problem type.
|
|
10611
|
+
* @example Bad Request
|
|
10612
|
+
*/
|
|
10613
|
+
title: string;
|
|
10614
|
+
/**
|
|
10615
|
+
* Format: int16
|
|
10616
|
+
* @description The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
10617
|
+
* @example 400
|
|
10618
|
+
*/
|
|
10619
|
+
status?: number;
|
|
10620
|
+
/**
|
|
10621
|
+
* @description A human-readable explanation specific to this occurrence of the problem.
|
|
10622
|
+
* @example The request body must be a JSON object.
|
|
10623
|
+
*/
|
|
10624
|
+
detail: string;
|
|
10625
|
+
/**
|
|
10626
|
+
* Format: uri
|
|
10627
|
+
* @description A URI reference that identifies the specific occurrence of the problem.
|
|
10628
|
+
* @example urn:request:local/JMOlctsKV8-000001
|
|
10629
|
+
*/
|
|
10630
|
+
instance: string;
|
|
10631
|
+
/** @description Additional properties specific to the problem type may be present. */
|
|
10632
|
+
extensions?: components['schemas']['SubscriptionErrorExtensions'];
|
|
10633
|
+
};
|
|
9988
10634
|
/** @description Create a subscription. */
|
|
9989
10635
|
SubscriptionCreate: components['schemas']['PlanSubscriptionCreate'] | components['schemas']['CustomSubscriptionCreate'];
|
|
9990
10636
|
/** @description Subscription edit input. */
|
|
@@ -9997,6 +10643,10 @@ export interface components {
|
|
|
9997
10643
|
};
|
|
9998
10644
|
/** @description The operation to be performed on the subscription. */
|
|
9999
10645
|
SubscriptionEditOperation: components['schemas']['EditSubscriptionAddItem'] | components['schemas']['EditSubscriptionRemoveItem'] | components['schemas']['EditSubscriptionAddPhase'] | components['schemas']['EditSubscriptionRemovePhase'] | components['schemas']['EditSubscriptionStretchPhase'] | components['schemas']['EditSubscriptionUnscheduleEdit'];
|
|
10646
|
+
/** @description Error extensions for the Subscription Errors. */
|
|
10647
|
+
SubscriptionErrorExtensions: {
|
|
10648
|
+
validationErrors: components['schemas']['ErrorExtension'][];
|
|
10649
|
+
};
|
|
10000
10650
|
/** @description Expanded subscription */
|
|
10001
10651
|
SubscriptionExpanded: {
|
|
10002
10652
|
/**
|
|
@@ -10053,6 +10703,11 @@ export interface components {
|
|
|
10053
10703
|
* @example 2023-01-01T01:01:01.001Z
|
|
10054
10704
|
*/
|
|
10055
10705
|
activeTo?: Date;
|
|
10706
|
+
/**
|
|
10707
|
+
* Annotations
|
|
10708
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
10709
|
+
*/
|
|
10710
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
10056
10711
|
/** @description The status of the subscription. */
|
|
10057
10712
|
readonly status: components['schemas']['SubscriptionStatus'];
|
|
10058
10713
|
/**
|
|
@@ -10179,7 +10834,11 @@ export interface components {
|
|
|
10179
10834
|
* Price
|
|
10180
10835
|
* @description The price of the rate card.
|
|
10181
10836
|
* When null, the feature or service is free.
|
|
10182
|
-
* @example {
|
|
10837
|
+
* @example {
|
|
10838
|
+
* "type": "flat",
|
|
10839
|
+
* "amount": "100",
|
|
10840
|
+
* "paymentTerm": "in_arrears"
|
|
10841
|
+
* }
|
|
10183
10842
|
*/
|
|
10184
10843
|
price: components['schemas']['RateCardUsageBasedPrice'] | null;
|
|
10185
10844
|
/**
|
|
@@ -10444,6 +11103,21 @@ export interface components {
|
|
|
10444
11103
|
* @example urn:request:local/JMOlctsKV8-000001
|
|
10445
11104
|
*/
|
|
10446
11105
|
instance: string;
|
|
11106
|
+
/**
|
|
11107
|
+
* @description Additional properties specific to the problem type may be present.
|
|
11108
|
+
* @example {
|
|
11109
|
+
* "validationErrors": [
|
|
11110
|
+
* {
|
|
11111
|
+
* "code": "validation_error",
|
|
11112
|
+
* "message": "Validation error"
|
|
11113
|
+
* }
|
|
11114
|
+
* ],
|
|
11115
|
+
* "otherAttribute": "otherValue"
|
|
11116
|
+
* }
|
|
11117
|
+
*/
|
|
11118
|
+
extensions?: {
|
|
11119
|
+
[key: string]: unknown;
|
|
11120
|
+
};
|
|
10447
11121
|
} & {
|
|
10448
11122
|
[key: string]: unknown;
|
|
10449
11123
|
};
|
|
@@ -10480,58 +11154,22 @@ export interface components {
|
|
|
10480
11154
|
/** @description Validation errors providing detailed description of the issue. */
|
|
10481
11155
|
ValidationError: {
|
|
10482
11156
|
/**
|
|
10483
|
-
* @description The path to the field.
|
|
10484
|
-
* @example addons/pro/ratecards/token/featureKey
|
|
10485
|
-
*/
|
|
10486
|
-
readonly field: string;
|
|
10487
|
-
/**
|
|
10488
|
-
* @description The machine readable description of the error.
|
|
10489
|
-
* @example invalid_feature_key
|
|
10490
|
-
*/
|
|
10491
|
-
readonly code: string;
|
|
10492
|
-
/**
|
|
10493
|
-
* @description The human readable description of the error.
|
|
10494
|
-
* @example not found feature by key
|
|
10495
|
-
*/
|
|
10496
|
-
readonly message: string;
|
|
10497
|
-
/** @description Additional attributes. */
|
|
10498
|
-
readonly attributes?: components['schemas']['Annotations'];
|
|
10499
|
-
};
|
|
10500
|
-
/** @description A BadRequestError with a validationErrors extension. */
|
|
10501
|
-
ValidationErrorProblemResponse: {
|
|
10502
|
-
/**
|
|
10503
|
-
* Format: uri
|
|
10504
|
-
* @description Type contains a URI that identifies the problem type.
|
|
10505
|
-
* @default about:blank
|
|
10506
|
-
* @example about:blank
|
|
10507
|
-
*/
|
|
10508
|
-
type: string;
|
|
10509
|
-
/**
|
|
10510
|
-
* @description A a short, human-readable summary of the problem type.
|
|
10511
|
-
* @example Bad Request
|
|
10512
|
-
*/
|
|
10513
|
-
title: string;
|
|
10514
|
-
/**
|
|
10515
|
-
* Format: int16
|
|
10516
|
-
* @description The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
10517
|
-
* @example 400
|
|
11157
|
+
* @description The path to the field.
|
|
11158
|
+
* @example addons/pro/ratecards/token/featureKey
|
|
10518
11159
|
*/
|
|
10519
|
-
|
|
11160
|
+
readonly field: string;
|
|
10520
11161
|
/**
|
|
10521
|
-
* @description
|
|
10522
|
-
* @example
|
|
11162
|
+
* @description The machine readable description of the error.
|
|
11163
|
+
* @example invalid_feature_key
|
|
10523
11164
|
*/
|
|
10524
|
-
|
|
11165
|
+
readonly code: string;
|
|
10525
11166
|
/**
|
|
10526
|
-
*
|
|
10527
|
-
* @
|
|
10528
|
-
* @example urn:request:local/JMOlctsKV8-000001
|
|
11167
|
+
* @description The human readable description of the error.
|
|
11168
|
+
* @example not found feature by key
|
|
10529
11169
|
*/
|
|
10530
|
-
|
|
10531
|
-
/** @description
|
|
10532
|
-
readonly
|
|
10533
|
-
validationErrors?: components['schemas']['ValidationError'][];
|
|
10534
|
-
};
|
|
11170
|
+
readonly message: string;
|
|
11171
|
+
/** @description Additional attributes. */
|
|
11172
|
+
readonly attributes?: components['schemas']['Annotations'];
|
|
10535
11173
|
};
|
|
10536
11174
|
/** @description ValidationIssue captures any validation issues related to the invoice.
|
|
10537
11175
|
*
|
|
@@ -10721,6 +11359,10 @@ export interface components {
|
|
|
10721
11359
|
/** @description The order by field. */
|
|
10722
11360
|
'CustomerOrderByOrdering.orderBy': components['schemas']['CustomerOrderBy'];
|
|
10723
11361
|
/** @description The order direction. */
|
|
11362
|
+
'CustomerSubscriptionOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
11363
|
+
/** @description The order by field. */
|
|
11364
|
+
'CustomerSubscriptionOrderByOrdering.orderBy': components['schemas']['CustomerSubscriptionOrderBy'];
|
|
11365
|
+
/** @description The order direction. */
|
|
10724
11366
|
'EntitlementOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
10725
11367
|
/** @description The order by field. */
|
|
10726
11368
|
'EntitlementOrderByOrdering.orderBy': components['schemas']['EntitlementOrderBy'];
|
|
@@ -10782,6 +11424,9 @@ export interface components {
|
|
|
10782
11424
|
'MeterOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
10783
11425
|
/** @description The order by field. */
|
|
10784
11426
|
'MeterOrderByOrdering.orderBy': components['schemas']['MeterOrderBy'];
|
|
11427
|
+
/** @description Optional advanced meter group by filters.
|
|
11428
|
+
* You can use this to filter for values of the meter groupBy fields. */
|
|
11429
|
+
'MeterQuery.advancedMeterGroupByFilters': string;
|
|
10785
11430
|
/** @description Client ID
|
|
10786
11431
|
* Useful to track progress of a query. */
|
|
10787
11432
|
'MeterQuery.clientId': string;
|
|
@@ -10789,9 +11434,12 @@ export interface components {
|
|
|
10789
11434
|
*
|
|
10790
11435
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
10791
11436
|
'MeterQuery.filterCustomerId': string[];
|
|
10792
|
-
/**
|
|
11437
|
+
/**
|
|
11438
|
+
* @deprecated
|
|
11439
|
+
* @description Simple filter for group bys with exact match.
|
|
10793
11440
|
*
|
|
10794
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
11441
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
11442
|
+
*/
|
|
10795
11443
|
'MeterQuery.filterGroupBy': {
|
|
10796
11444
|
[key: string]: string;
|
|
10797
11445
|
};
|
|
@@ -10949,6 +11597,7 @@ export type BillingProfileReplaceUpdateWithWorkflow = components['schemas']['Bil
|
|
|
10949
11597
|
export type BillingTaxIdentificationCode = components['schemas']['BillingTaxIdentificationCode'];
|
|
10950
11598
|
export type BillingWorkflow = components['schemas']['BillingWorkflow'];
|
|
10951
11599
|
export type BillingWorkflowCollectionAlignment = components['schemas']['BillingWorkflowCollectionAlignment'];
|
|
11600
|
+
export type BillingWorkflowCollectionAlignmentAnchored = components['schemas']['BillingWorkflowCollectionAlignmentAnchored'];
|
|
10952
11601
|
export type BillingWorkflowCollectionAlignmentSubscription = components['schemas']['BillingWorkflowCollectionAlignmentSubscription'];
|
|
10953
11602
|
export type BillingWorkflowCollectionSettings = components['schemas']['BillingWorkflowCollectionSettings'];
|
|
10954
11603
|
export type BillingWorkflowCreate = components['schemas']['BillingWorkflowCreate'];
|
|
@@ -11007,6 +11656,7 @@ export type CustomerKey = components['schemas']['CustomerKey'];
|
|
|
11007
11656
|
export type CustomerOrderBy = components['schemas']['CustomerOrderBy'];
|
|
11008
11657
|
export type CustomerPaginatedResponse = components['schemas']['CustomerPaginatedResponse'];
|
|
11009
11658
|
export type CustomerReplaceUpdate = components['schemas']['CustomerReplaceUpdate'];
|
|
11659
|
+
export type CustomerSubscriptionOrderBy = components['schemas']['CustomerSubscriptionOrderBy'];
|
|
11010
11660
|
export type CustomerUsageAttribution = components['schemas']['CustomerUsageAttribution'];
|
|
11011
11661
|
export type DiscountPercentage = components['schemas']['DiscountPercentage'];
|
|
11012
11662
|
export type DiscountReasonMaximumSpend = components['schemas']['DiscountReasonMaximumSpend'];
|
|
@@ -11028,9 +11678,12 @@ export type EntitlementBooleanV2 = components['schemas']['EntitlementBooleanV2']
|
|
|
11028
11678
|
export type EntitlementCreateInputs = components['schemas']['EntitlementCreateInputs'];
|
|
11029
11679
|
export type EntitlementGrant = components['schemas']['EntitlementGrant'];
|
|
11030
11680
|
export type EntitlementGrantCreateInput = components['schemas']['EntitlementGrantCreateInput'];
|
|
11681
|
+
export type EntitlementGrantCreateInputV2 = components['schemas']['EntitlementGrantCreateInputV2'];
|
|
11682
|
+
export type EntitlementGrantV2 = components['schemas']['EntitlementGrantV2'];
|
|
11031
11683
|
export type EntitlementMetered = components['schemas']['EntitlementMetered'];
|
|
11032
11684
|
export type EntitlementMeteredCreateInputs = components['schemas']['EntitlementMeteredCreateInputs'];
|
|
11033
11685
|
export type EntitlementMeteredV2 = components['schemas']['EntitlementMeteredV2'];
|
|
11686
|
+
export type EntitlementMeteredV2CreateInputs = components['schemas']['EntitlementMeteredV2CreateInputs'];
|
|
11034
11687
|
export type EntitlementOrderBy = components['schemas']['EntitlementOrderBy'];
|
|
11035
11688
|
export type EntitlementPaginatedResponse = components['schemas']['EntitlementPaginatedResponse'];
|
|
11036
11689
|
export type EntitlementStatic = components['schemas']['EntitlementStatic'];
|
|
@@ -11038,9 +11691,12 @@ export type EntitlementStaticCreateInputs = components['schemas']['EntitlementSt
|
|
|
11038
11691
|
export type EntitlementStaticV2 = components['schemas']['EntitlementStaticV2'];
|
|
11039
11692
|
export type EntitlementType = components['schemas']['EntitlementType'];
|
|
11040
11693
|
export type EntitlementV2 = components['schemas']['EntitlementV2'];
|
|
11694
|
+
export type EntitlementV2CreateInputs = components['schemas']['EntitlementV2CreateInputs'];
|
|
11041
11695
|
export type EntitlementV2PaginatedResponse = components['schemas']['EntitlementV2PaginatedResponse'];
|
|
11042
11696
|
export type EntitlementValue = components['schemas']['EntitlementValue'];
|
|
11697
|
+
export type ErrorExtension = components['schemas']['ErrorExtension'];
|
|
11043
11698
|
export type Event = components['schemas']['Event'];
|
|
11699
|
+
export type EventDeliveryAttemptResponse = components['schemas']['EventDeliveryAttemptResponse'];
|
|
11044
11700
|
export type ExpirationDuration = components['schemas']['ExpirationDuration'];
|
|
11045
11701
|
export type ExpirationPeriod = components['schemas']['ExpirationPeriod'];
|
|
11046
11702
|
export type Feature = components['schemas']['Feature'];
|
|
@@ -11059,6 +11715,7 @@ export type GrantBurnDownHistorySegment = components['schemas']['GrantBurnDownHi
|
|
|
11059
11715
|
export type GrantOrderBy = components['schemas']['GrantOrderBy'];
|
|
11060
11716
|
export type GrantPaginatedResponse = components['schemas']['GrantPaginatedResponse'];
|
|
11061
11717
|
export type GrantUsageRecord = components['schemas']['GrantUsageRecord'];
|
|
11718
|
+
export type GrantV2PaginatedResponse = components['schemas']['GrantV2PaginatedResponse'];
|
|
11062
11719
|
export type IdResource = components['schemas']['IDResource'];
|
|
11063
11720
|
export type IngestEventsBody = components['schemas']['IngestEventsBody'];
|
|
11064
11721
|
export type IngestedEvent = components['schemas']['IngestedEvent'];
|
|
@@ -11110,6 +11767,7 @@ export type InvoiceWorkflowInvoicingSettingsReplaceUpdate = components['schemas'
|
|
|
11110
11767
|
export type InvoiceWorkflowReplaceUpdate = components['schemas']['InvoiceWorkflowReplaceUpdate'];
|
|
11111
11768
|
export type InvoiceWorkflowSettings = components['schemas']['InvoiceWorkflowSettings'];
|
|
11112
11769
|
export type InvoiceWorkflowSettingsReplaceUpdate = components['schemas']['InvoiceWorkflowSettingsReplaceUpdate'];
|
|
11770
|
+
export type IssueAfterReset = components['schemas']['IssueAfterReset'];
|
|
11113
11771
|
export type ListEntitlementsResult = components['schemas']['ListEntitlementsResult'];
|
|
11114
11772
|
export type ListFeaturesResult = components['schemas']['ListFeaturesResult'];
|
|
11115
11773
|
export type MarketplaceInstallRequestPayload = components['schemas']['MarketplaceInstallRequestPayload'];
|
|
@@ -11141,6 +11799,7 @@ export type NotificationChannelWebhookCreateRequest = components['schemas']['Not
|
|
|
11141
11799
|
export type NotificationEvent = components['schemas']['NotificationEvent'];
|
|
11142
11800
|
export type NotificationEventBalanceThresholdPayload = components['schemas']['NotificationEventBalanceThresholdPayload'];
|
|
11143
11801
|
export type NotificationEventBalanceThresholdPayloadData = components['schemas']['NotificationEventBalanceThresholdPayloadData'];
|
|
11802
|
+
export type NotificationEventDeliveryAttempt = components['schemas']['NotificationEventDeliveryAttempt'];
|
|
11144
11803
|
export type NotificationEventDeliveryStatus = components['schemas']['NotificationEventDeliveryStatus'];
|
|
11145
11804
|
export type NotificationEventDeliveryStatusState = components['schemas']['NotificationEventDeliveryStatusState'];
|
|
11146
11805
|
export type NotificationEventEntitlementValuePayloadBase = components['schemas']['NotificationEventEntitlementValuePayloadBase'];
|
|
@@ -11149,6 +11808,7 @@ export type NotificationEventInvoiceUpdatedPayload = components['schemas']['Noti
|
|
|
11149
11808
|
export type NotificationEventOrderBy = components['schemas']['NotificationEventOrderBy'];
|
|
11150
11809
|
export type NotificationEventPaginatedResponse = components['schemas']['NotificationEventPaginatedResponse'];
|
|
11151
11810
|
export type NotificationEventPayload = components['schemas']['NotificationEventPayload'];
|
|
11811
|
+
export type NotificationEventResendRequest = components['schemas']['NotificationEventResendRequest'];
|
|
11152
11812
|
export type NotificationEventResetPayload = components['schemas']['NotificationEventResetPayload'];
|
|
11153
11813
|
export type NotificationEventType = components['schemas']['NotificationEventType'];
|
|
11154
11814
|
export type NotificationRule = components['schemas']['NotificationRule'];
|
|
@@ -11209,6 +11869,7 @@ export type RecurringPeriod = components['schemas']['RecurringPeriod'];
|
|
|
11209
11869
|
export type RecurringPeriodCreateInput = components['schemas']['RecurringPeriodCreateInput'];
|
|
11210
11870
|
export type RecurringPeriodInterval = components['schemas']['RecurringPeriodInterval'];
|
|
11211
11871
|
export type RecurringPeriodIntervalEnum = components['schemas']['RecurringPeriodIntervalEnum'];
|
|
11872
|
+
export type RecurringPeriodV2 = components['schemas']['RecurringPeriodV2'];
|
|
11212
11873
|
export type RemovePhaseShifting = components['schemas']['RemovePhaseShifting'];
|
|
11213
11874
|
export type ResetEntitlementUsageInput = components['schemas']['ResetEntitlementUsageInput'];
|
|
11214
11875
|
export type SandboxApp = components['schemas']['SandboxApp'];
|
|
@@ -11236,11 +11897,14 @@ export type SubscriptionAddonRateCard = components['schemas']['SubscriptionAddon
|
|
|
11236
11897
|
export type SubscriptionAddonTimelineSegment = components['schemas']['SubscriptionAddonTimelineSegment'];
|
|
11237
11898
|
export type SubscriptionAddonUpdate = components['schemas']['SubscriptionAddonUpdate'];
|
|
11238
11899
|
export type SubscriptionAlignment = components['schemas']['SubscriptionAlignment'];
|
|
11900
|
+
export type SubscriptionBadRequestErrorResponse = components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
11239
11901
|
export type SubscriptionChange = components['schemas']['SubscriptionChange'];
|
|
11240
11902
|
export type SubscriptionChangeResponseBody = components['schemas']['SubscriptionChangeResponseBody'];
|
|
11903
|
+
export type SubscriptionConflictErrorResponse = components['schemas']['SubscriptionConflictErrorResponse'];
|
|
11241
11904
|
export type SubscriptionCreate = components['schemas']['SubscriptionCreate'];
|
|
11242
11905
|
export type SubscriptionEdit = components['schemas']['SubscriptionEdit'];
|
|
11243
11906
|
export type SubscriptionEditOperation = components['schemas']['SubscriptionEditOperation'];
|
|
11907
|
+
export type SubscriptionErrorExtensions = components['schemas']['SubscriptionErrorExtensions'];
|
|
11244
11908
|
export type SubscriptionExpanded = components['schemas']['SubscriptionExpanded'];
|
|
11245
11909
|
export type SubscriptionItem = components['schemas']['SubscriptionItem'];
|
|
11246
11910
|
export type SubscriptionItemIncluded = components['schemas']['SubscriptionItemIncluded'];
|
|
@@ -11260,7 +11924,6 @@ export type UnexpectedProblemResponse = components['schemas']['UnexpectedProblem
|
|
|
11260
11924
|
export type UnitPrice = components['schemas']['UnitPrice'];
|
|
11261
11925
|
export type UnitPriceWithCommitments = components['schemas']['UnitPriceWithCommitments'];
|
|
11262
11926
|
export type ValidationError = components['schemas']['ValidationError'];
|
|
11263
|
-
export type ValidationErrorProblemResponse = components['schemas']['ValidationErrorProblemResponse'];
|
|
11264
11927
|
export type ValidationIssue = components['schemas']['ValidationIssue'];
|
|
11265
11928
|
export type ValidationIssueSeverity = components['schemas']['ValidationIssueSeverity'];
|
|
11266
11929
|
export type VoidInvoiceActionCreate = components['schemas']['VoidInvoiceActionCreate'];
|
|
@@ -11292,6 +11955,8 @@ export type ParameterCursorPaginationCursor = components['parameters']['CursorPa
|
|
|
11292
11955
|
export type ParameterCursorPaginationLimit = components['parameters']['CursorPagination.limit'];
|
|
11293
11956
|
export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
|
|
11294
11957
|
export type ParameterCustomerOrderByOrderingOrderBy = components['parameters']['CustomerOrderByOrdering.orderBy'];
|
|
11958
|
+
export type ParameterCustomerSubscriptionOrderByOrderingOrder = components['parameters']['CustomerSubscriptionOrderByOrdering.order'];
|
|
11959
|
+
export type ParameterCustomerSubscriptionOrderByOrderingOrderBy = components['parameters']['CustomerSubscriptionOrderByOrdering.orderBy'];
|
|
11295
11960
|
export type ParameterEntitlementOrderByOrderingOrder = components['parameters']['EntitlementOrderByOrdering.order'];
|
|
11296
11961
|
export type ParameterEntitlementOrderByOrderingOrderBy = components['parameters']['EntitlementOrderByOrdering.orderBy'];
|
|
11297
11962
|
export type ParameterFeatureOrderByOrderingOrder = components['parameters']['FeatureOrderByOrdering.order'];
|
|
@@ -11318,6 +11983,7 @@ export type ParameterMarketplaceInstallRequestType = components['parameters']['M
|
|
|
11318
11983
|
export type ParameterMarketplaceOAuth2InstallAuthorizeRequestType = components['parameters']['MarketplaceOAuth2InstallAuthorizeRequest.type'];
|
|
11319
11984
|
export type ParameterMeterOrderByOrderingOrder = components['parameters']['MeterOrderByOrdering.order'];
|
|
11320
11985
|
export type ParameterMeterOrderByOrderingOrderBy = components['parameters']['MeterOrderByOrdering.orderBy'];
|
|
11986
|
+
export type ParameterMeterQueryAdvancedMeterGroupByFilters = components['parameters']['MeterQuery.advancedMeterGroupByFilters'];
|
|
11321
11987
|
export type ParameterMeterQueryClientId = components['parameters']['MeterQuery.clientId'];
|
|
11322
11988
|
export type ParameterMeterQueryFilterCustomerId = components['parameters']['MeterQuery.filterCustomerId'];
|
|
11323
11989
|
export type ParameterMeterQueryFilterGroupBy = components['parameters']['MeterQuery.filterGroupBy'];
|
|
@@ -16244,6 +16910,11 @@ export interface operations {
|
|
|
16244
16910
|
listCustomerSubscriptions: {
|
|
16245
16911
|
parameters: {
|
|
16246
16912
|
query?: {
|
|
16913
|
+
status?: components['schemas']['SubscriptionStatus'][];
|
|
16914
|
+
/** @description The order direction. */
|
|
16915
|
+
order?: components['parameters']['CustomerSubscriptionOrderByOrdering.order'];
|
|
16916
|
+
/** @description The order by field. */
|
|
16917
|
+
orderBy?: components['parameters']['CustomerSubscriptionOrderByOrdering.orderBy'];
|
|
16247
16918
|
/** @description Page index.
|
|
16248
16919
|
*
|
|
16249
16920
|
* Default is 1. */
|
|
@@ -16846,7 +17517,7 @@ export interface operations {
|
|
|
16846
17517
|
query?: {
|
|
16847
17518
|
/** @description Filter by meterSlug */
|
|
16848
17519
|
meterSlug?: string[];
|
|
16849
|
-
/** @description
|
|
17520
|
+
/** @description Include archived features in response. */
|
|
16850
17521
|
includeArchived?: boolean;
|
|
16851
17522
|
/** @description Page index.
|
|
16852
17523
|
*
|
|
@@ -18625,6 +19296,105 @@ export interface operations {
|
|
|
18625
19296
|
};
|
|
18626
19297
|
};
|
|
18627
19298
|
};
|
|
19299
|
+
listMeterGroupByValues: {
|
|
19300
|
+
parameters: {
|
|
19301
|
+
query?: {
|
|
19302
|
+
/** @description Start date-time in RFC 3339 format.
|
|
19303
|
+
*
|
|
19304
|
+
* Inclusive. Defaults to 24 hours ago.
|
|
19305
|
+
*
|
|
19306
|
+
* For example: ?from=2025-01-01T00%3A00%3A00.000Z */
|
|
19307
|
+
from?: Date | string;
|
|
19308
|
+
/** @description End date-time in RFC 3339 format.
|
|
19309
|
+
*
|
|
19310
|
+
* Inclusive.
|
|
19311
|
+
*
|
|
19312
|
+
* For example: ?to=2025-02-01T00%3A00%3A00.000Z */
|
|
19313
|
+
to?: Date | string;
|
|
19314
|
+
};
|
|
19315
|
+
header?: never;
|
|
19316
|
+
path: {
|
|
19317
|
+
meterIdOrSlug: string;
|
|
19318
|
+
groupByKey: string;
|
|
19319
|
+
};
|
|
19320
|
+
cookie?: never;
|
|
19321
|
+
};
|
|
19322
|
+
requestBody?: never;
|
|
19323
|
+
responses: {
|
|
19324
|
+
/** @description The request has succeeded. */
|
|
19325
|
+
200: {
|
|
19326
|
+
headers: {
|
|
19327
|
+
[name: string]: unknown;
|
|
19328
|
+
};
|
|
19329
|
+
content: {
|
|
19330
|
+
'application/json': string[];
|
|
19331
|
+
};
|
|
19332
|
+
};
|
|
19333
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|
|
19334
|
+
400: {
|
|
19335
|
+
headers: {
|
|
19336
|
+
[name: string]: unknown;
|
|
19337
|
+
};
|
|
19338
|
+
content: {
|
|
19339
|
+
'application/problem+json': components['schemas']['BadRequestProblemResponse'];
|
|
19340
|
+
};
|
|
19341
|
+
};
|
|
19342
|
+
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
19343
|
+
401: {
|
|
19344
|
+
headers: {
|
|
19345
|
+
[name: string]: unknown;
|
|
19346
|
+
};
|
|
19347
|
+
content: {
|
|
19348
|
+
'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
|
|
19349
|
+
};
|
|
19350
|
+
};
|
|
19351
|
+
/** @description The server understood the request but refuses to authorize it. */
|
|
19352
|
+
403: {
|
|
19353
|
+
headers: {
|
|
19354
|
+
[name: string]: unknown;
|
|
19355
|
+
};
|
|
19356
|
+
content: {
|
|
19357
|
+
'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
|
|
19358
|
+
};
|
|
19359
|
+
};
|
|
19360
|
+
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
19361
|
+
412: {
|
|
19362
|
+
headers: {
|
|
19363
|
+
[name: string]: unknown;
|
|
19364
|
+
};
|
|
19365
|
+
content: {
|
|
19366
|
+
'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
|
|
19367
|
+
};
|
|
19368
|
+
};
|
|
19369
|
+
/** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
|
|
19370
|
+
500: {
|
|
19371
|
+
headers: {
|
|
19372
|
+
[name: string]: unknown;
|
|
19373
|
+
};
|
|
19374
|
+
content: {
|
|
19375
|
+
'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
|
|
19376
|
+
};
|
|
19377
|
+
};
|
|
19378
|
+
/** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
|
|
19379
|
+
503: {
|
|
19380
|
+
headers: {
|
|
19381
|
+
[name: string]: unknown;
|
|
19382
|
+
};
|
|
19383
|
+
content: {
|
|
19384
|
+
'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
|
|
19385
|
+
};
|
|
19386
|
+
};
|
|
19387
|
+
/** @description An unexpected error response. */
|
|
19388
|
+
default: {
|
|
19389
|
+
headers: {
|
|
19390
|
+
[name: string]: unknown;
|
|
19391
|
+
};
|
|
19392
|
+
content: {
|
|
19393
|
+
'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
|
|
19394
|
+
};
|
|
19395
|
+
};
|
|
19396
|
+
};
|
|
19397
|
+
};
|
|
18628
19398
|
queryMeter: {
|
|
18629
19399
|
parameters: {
|
|
18630
19400
|
query?: {
|
|
@@ -18660,10 +19430,16 @@ export interface operations {
|
|
|
18660
19430
|
*
|
|
18661
19431
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
18662
19432
|
filterCustomerId?: components['parameters']['MeterQuery.filterCustomerId'];
|
|
18663
|
-
/**
|
|
19433
|
+
/**
|
|
19434
|
+
* @deprecated
|
|
19435
|
+
* @description Simple filter for group bys with exact match.
|
|
18664
19436
|
*
|
|
18665
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
19437
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
19438
|
+
*/
|
|
18666
19439
|
filterGroupBy?: components['parameters']['MeterQuery.filterGroupBy'];
|
|
19440
|
+
/** @description Optional advanced meter group by filters.
|
|
19441
|
+
* You can use this to filter for values of the meter groupBy fields. */
|
|
19442
|
+
advancedMeterGroupByFilters?: components['parameters']['MeterQuery.advancedMeterGroupByFilters'];
|
|
18667
19443
|
/** @description If not specified a single aggregate will be returned for each subject and time window.
|
|
18668
19444
|
* `subject` is a reserved group by value.
|
|
18669
19445
|
*
|
|
@@ -18862,7 +19638,20 @@ export interface operations {
|
|
|
18862
19638
|
};
|
|
18863
19639
|
listMeterSubjects: {
|
|
18864
19640
|
parameters: {
|
|
18865
|
-
query?:
|
|
19641
|
+
query?: {
|
|
19642
|
+
/** @description Start date-time in RFC 3339 format.
|
|
19643
|
+
*
|
|
19644
|
+
* Inclusive. Defaults to the beginning of time.
|
|
19645
|
+
*
|
|
19646
|
+
* For example: ?from=2025-01-01T00%3A00%3A00.000Z */
|
|
19647
|
+
from?: Date | string;
|
|
19648
|
+
/** @description End date-time in RFC 3339 format.
|
|
19649
|
+
*
|
|
19650
|
+
* Inclusive.
|
|
19651
|
+
*
|
|
19652
|
+
* For example: ?to=2025-02-01T00%3A00%3A00.000Z */
|
|
19653
|
+
to?: Date | string;
|
|
19654
|
+
};
|
|
18866
19655
|
header?: never;
|
|
18867
19656
|
path: {
|
|
18868
19657
|
meterIdOrSlug: string;
|
|
@@ -19632,6 +20421,102 @@ export interface operations {
|
|
|
19632
20421
|
};
|
|
19633
20422
|
};
|
|
19634
20423
|
};
|
|
20424
|
+
resendNotificationEvent: {
|
|
20425
|
+
parameters: {
|
|
20426
|
+
query?: never;
|
|
20427
|
+
header?: never;
|
|
20428
|
+
path: {
|
|
20429
|
+
eventId: string;
|
|
20430
|
+
};
|
|
20431
|
+
cookie?: never;
|
|
20432
|
+
};
|
|
20433
|
+
requestBody: {
|
|
20434
|
+
content: {
|
|
20435
|
+
'application/json': components['schemas']['NotificationEventResendRequest'];
|
|
20436
|
+
};
|
|
20437
|
+
};
|
|
20438
|
+
responses: {
|
|
20439
|
+
/** @description The request has been accepted for processing, but processing has not yet completed. */
|
|
20440
|
+
202: {
|
|
20441
|
+
headers: {
|
|
20442
|
+
[name: string]: unknown;
|
|
20443
|
+
};
|
|
20444
|
+
content?: never;
|
|
20445
|
+
};
|
|
20446
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|
|
20447
|
+
400: {
|
|
20448
|
+
headers: {
|
|
20449
|
+
[name: string]: unknown;
|
|
20450
|
+
};
|
|
20451
|
+
content: {
|
|
20452
|
+
'application/problem+json': components['schemas']['BadRequestProblemResponse'];
|
|
20453
|
+
};
|
|
20454
|
+
};
|
|
20455
|
+
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
20456
|
+
401: {
|
|
20457
|
+
headers: {
|
|
20458
|
+
[name: string]: unknown;
|
|
20459
|
+
};
|
|
20460
|
+
content: {
|
|
20461
|
+
'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
|
|
20462
|
+
};
|
|
20463
|
+
};
|
|
20464
|
+
/** @description The server understood the request but refuses to authorize it. */
|
|
20465
|
+
403: {
|
|
20466
|
+
headers: {
|
|
20467
|
+
[name: string]: unknown;
|
|
20468
|
+
};
|
|
20469
|
+
content: {
|
|
20470
|
+
'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
|
|
20471
|
+
};
|
|
20472
|
+
};
|
|
20473
|
+
/** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
|
|
20474
|
+
404: {
|
|
20475
|
+
headers: {
|
|
20476
|
+
[name: string]: unknown;
|
|
20477
|
+
};
|
|
20478
|
+
content: {
|
|
20479
|
+
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
20480
|
+
};
|
|
20481
|
+
};
|
|
20482
|
+
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
20483
|
+
412: {
|
|
20484
|
+
headers: {
|
|
20485
|
+
[name: string]: unknown;
|
|
20486
|
+
};
|
|
20487
|
+
content: {
|
|
20488
|
+
'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
|
|
20489
|
+
};
|
|
20490
|
+
};
|
|
20491
|
+
/** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
|
|
20492
|
+
500: {
|
|
20493
|
+
headers: {
|
|
20494
|
+
[name: string]: unknown;
|
|
20495
|
+
};
|
|
20496
|
+
content: {
|
|
20497
|
+
'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
|
|
20498
|
+
};
|
|
20499
|
+
};
|
|
20500
|
+
/** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
|
|
20501
|
+
503: {
|
|
20502
|
+
headers: {
|
|
20503
|
+
[name: string]: unknown;
|
|
20504
|
+
};
|
|
20505
|
+
content: {
|
|
20506
|
+
'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
|
|
20507
|
+
};
|
|
20508
|
+
};
|
|
20509
|
+
/** @description An unexpected error response. */
|
|
20510
|
+
default: {
|
|
20511
|
+
headers: {
|
|
20512
|
+
[name: string]: unknown;
|
|
20513
|
+
};
|
|
20514
|
+
content: {
|
|
20515
|
+
'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
|
|
20516
|
+
};
|
|
20517
|
+
};
|
|
20518
|
+
};
|
|
20519
|
+
};
|
|
19635
20520
|
listNotificationRules: {
|
|
19636
20521
|
parameters: {
|
|
19637
20522
|
query?: {
|
|
@@ -21528,10 +22413,16 @@ export interface operations {
|
|
|
21528
22413
|
*
|
|
21529
22414
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
21530
22415
|
filterCustomerId?: components['parameters']['MeterQuery.filterCustomerId'];
|
|
21531
|
-
/**
|
|
22416
|
+
/**
|
|
22417
|
+
* @deprecated
|
|
22418
|
+
* @description Simple filter for group bys with exact match.
|
|
21532
22419
|
*
|
|
21533
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
22420
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
22421
|
+
*/
|
|
21534
22422
|
filterGroupBy?: components['parameters']['MeterQuery.filterGroupBy'];
|
|
22423
|
+
/** @description Optional advanced meter group by filters.
|
|
22424
|
+
* You can use this to filter for values of the meter groupBy fields. */
|
|
22425
|
+
advancedMeterGroupByFilters?: components['parameters']['MeterQuery.advancedMeterGroupByFilters'];
|
|
21535
22426
|
/** @description If not specified a single aggregate will be returned for each subject and time window.
|
|
21536
22427
|
* `subject` is a reserved group by value.
|
|
21537
22428
|
*
|
|
@@ -23325,13 +24216,13 @@ export interface operations {
|
|
|
23325
24216
|
'application/json': components['schemas']['Subscription'];
|
|
23326
24217
|
};
|
|
23327
24218
|
};
|
|
23328
|
-
/** @description
|
|
24219
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
23329
24220
|
400: {
|
|
23330
24221
|
headers: {
|
|
23331
24222
|
[name: string]: unknown;
|
|
23332
24223
|
};
|
|
23333
24224
|
content: {
|
|
23334
|
-
'application/problem+json': components['schemas']['
|
|
24225
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23335
24226
|
};
|
|
23336
24227
|
};
|
|
23337
24228
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23352,13 +24243,14 @@ export interface operations {
|
|
|
23352
24243
|
'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
|
|
23353
24244
|
};
|
|
23354
24245
|
};
|
|
23355
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
24246
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
24247
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
23356
24248
|
409: {
|
|
23357
24249
|
headers: {
|
|
23358
24250
|
[name: string]: unknown;
|
|
23359
24251
|
};
|
|
23360
24252
|
content: {
|
|
23361
|
-
'application/problem+json': components['schemas']['
|
|
24253
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
23362
24254
|
};
|
|
23363
24255
|
};
|
|
23364
24256
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -23514,13 +24406,13 @@ export interface operations {
|
|
|
23514
24406
|
};
|
|
23515
24407
|
content?: never;
|
|
23516
24408
|
};
|
|
23517
|
-
/** @description
|
|
24409
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
23518
24410
|
400: {
|
|
23519
24411
|
headers: {
|
|
23520
24412
|
[name: string]: unknown;
|
|
23521
24413
|
};
|
|
23522
24414
|
content: {
|
|
23523
|
-
'application/problem+json': components['schemas']['
|
|
24415
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23524
24416
|
};
|
|
23525
24417
|
};
|
|
23526
24418
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23550,6 +24442,16 @@ export interface operations {
|
|
|
23550
24442
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
23551
24443
|
};
|
|
23552
24444
|
};
|
|
24445
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
24446
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
24447
|
+
409: {
|
|
24448
|
+
headers: {
|
|
24449
|
+
[name: string]: unknown;
|
|
24450
|
+
};
|
|
24451
|
+
content: {
|
|
24452
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24453
|
+
};
|
|
24454
|
+
};
|
|
23553
24455
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
23554
24456
|
412: {
|
|
23555
24457
|
headers: {
|
|
@@ -23612,13 +24514,13 @@ export interface operations {
|
|
|
23612
24514
|
'application/json': components['schemas']['Subscription'];
|
|
23613
24515
|
};
|
|
23614
24516
|
};
|
|
23615
|
-
/** @description
|
|
24517
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
23616
24518
|
400: {
|
|
23617
24519
|
headers: {
|
|
23618
24520
|
[name: string]: unknown;
|
|
23619
24521
|
};
|
|
23620
24522
|
content: {
|
|
23621
|
-
'application/problem+json': components['schemas']['
|
|
24523
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23622
24524
|
};
|
|
23623
24525
|
};
|
|
23624
24526
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23648,13 +24550,14 @@ export interface operations {
|
|
|
23648
24550
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
23649
24551
|
};
|
|
23650
24552
|
};
|
|
23651
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
24553
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
24554
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
23652
24555
|
409: {
|
|
23653
24556
|
headers: {
|
|
23654
24557
|
[name: string]: unknown;
|
|
23655
24558
|
};
|
|
23656
24559
|
content: {
|
|
23657
|
-
'application/problem+json': components['schemas']['
|
|
24560
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
23658
24561
|
};
|
|
23659
24562
|
};
|
|
23660
24563
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24117,13 +25020,13 @@ export interface operations {
|
|
|
24117
25020
|
'application/json': components['schemas']['Subscription'];
|
|
24118
25021
|
};
|
|
24119
25022
|
};
|
|
24120
|
-
/** @description
|
|
25023
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
24121
25024
|
400: {
|
|
24122
25025
|
headers: {
|
|
24123
25026
|
[name: string]: unknown;
|
|
24124
25027
|
};
|
|
24125
25028
|
content: {
|
|
24126
|
-
'application/problem+json': components['schemas']['
|
|
25029
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24127
25030
|
};
|
|
24128
25031
|
};
|
|
24129
25032
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24153,13 +25056,14 @@ export interface operations {
|
|
|
24153
25056
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24154
25057
|
};
|
|
24155
25058
|
};
|
|
24156
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25059
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25060
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
24157
25061
|
409: {
|
|
24158
25062
|
headers: {
|
|
24159
25063
|
[name: string]: unknown;
|
|
24160
25064
|
};
|
|
24161
25065
|
content: {
|
|
24162
|
-
'application/problem+json': components['schemas']['
|
|
25066
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24163
25067
|
};
|
|
24164
25068
|
};
|
|
24165
25069
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24224,13 +25128,13 @@ export interface operations {
|
|
|
24224
25128
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
24225
25129
|
};
|
|
24226
25130
|
};
|
|
24227
|
-
/** @description
|
|
25131
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
24228
25132
|
400: {
|
|
24229
25133
|
headers: {
|
|
24230
25134
|
[name: string]: unknown;
|
|
24231
25135
|
};
|
|
24232
25136
|
content: {
|
|
24233
|
-
'application/problem+json': components['schemas']['
|
|
25137
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24234
25138
|
};
|
|
24235
25139
|
};
|
|
24236
25140
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24260,13 +25164,14 @@ export interface operations {
|
|
|
24260
25164
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24261
25165
|
};
|
|
24262
25166
|
};
|
|
24263
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25167
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25168
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
24264
25169
|
409: {
|
|
24265
25170
|
headers: {
|
|
24266
25171
|
[name: string]: unknown;
|
|
24267
25172
|
};
|
|
24268
25173
|
content: {
|
|
24269
|
-
'application/problem+json': components['schemas']['
|
|
25174
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24270
25175
|
};
|
|
24271
25176
|
};
|
|
24272
25177
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24350,13 +25255,13 @@ export interface operations {
|
|
|
24350
25255
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
24351
25256
|
};
|
|
24352
25257
|
};
|
|
24353
|
-
/** @description
|
|
25258
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
24354
25259
|
400: {
|
|
24355
25260
|
headers: {
|
|
24356
25261
|
[name: string]: unknown;
|
|
24357
25262
|
};
|
|
24358
25263
|
content: {
|
|
24359
|
-
'application/problem+json': components['schemas']['
|
|
25264
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24360
25265
|
};
|
|
24361
25266
|
};
|
|
24362
25267
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24386,13 +25291,14 @@ export interface operations {
|
|
|
24386
25291
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24387
25292
|
};
|
|
24388
25293
|
};
|
|
24389
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25294
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25295
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
24390
25296
|
409: {
|
|
24391
25297
|
headers: {
|
|
24392
25298
|
[name: string]: unknown;
|
|
24393
25299
|
};
|
|
24394
25300
|
content: {
|
|
24395
|
-
'application/problem+json': components['schemas']['
|
|
25301
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24396
25302
|
};
|
|
24397
25303
|
};
|
|
24398
25304
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24547,13 +25453,13 @@ export interface operations {
|
|
|
24547
25453
|
'application/json': components['schemas']['Subscription'];
|
|
24548
25454
|
};
|
|
24549
25455
|
};
|
|
24550
|
-
/** @description
|
|
25456
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). Variants with ErrorExtensions specific to subscriptions. */
|
|
24551
25457
|
400: {
|
|
24552
25458
|
headers: {
|
|
24553
25459
|
[name: string]: unknown;
|
|
24554
25460
|
};
|
|
24555
25461
|
content: {
|
|
24556
|
-
'application/problem+json': components['schemas']['
|
|
25462
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24557
25463
|
};
|
|
24558
25464
|
};
|
|
24559
25465
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24583,13 +25489,14 @@ export interface operations {
|
|
|
24583
25489
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24584
25490
|
};
|
|
24585
25491
|
};
|
|
24586
|
-
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25492
|
+
/** @description The request could not be completed due to a conflict with the current state of the target resource.
|
|
25493
|
+
* Variants with ErrorExtensions specific to subscriptions. */
|
|
24587
25494
|
409: {
|
|
24588
25495
|
headers: {
|
|
24589
25496
|
[name: string]: unknown;
|
|
24590
25497
|
};
|
|
24591
25498
|
content: {
|
|
24592
|
-
'application/problem+json': components['schemas']['
|
|
25499
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24593
25500
|
};
|
|
24594
25501
|
};
|
|
24595
25502
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24740,7 +25647,7 @@ export interface operations {
|
|
|
24740
25647
|
};
|
|
24741
25648
|
requestBody: {
|
|
24742
25649
|
content: {
|
|
24743
|
-
'application/json': components['schemas']['
|
|
25650
|
+
'application/json': components['schemas']['EntitlementV2CreateInputs'];
|
|
24744
25651
|
};
|
|
24745
25652
|
};
|
|
24746
25653
|
responses: {
|
|
@@ -25055,7 +25962,7 @@ export interface operations {
|
|
|
25055
25962
|
[name: string]: unknown;
|
|
25056
25963
|
};
|
|
25057
25964
|
content: {
|
|
25058
|
-
'application/json': components['schemas']['
|
|
25965
|
+
'application/json': components['schemas']['GrantV2PaginatedResponse'];
|
|
25059
25966
|
};
|
|
25060
25967
|
};
|
|
25061
25968
|
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|
|
@@ -25135,7 +26042,7 @@ export interface operations {
|
|
|
25135
26042
|
};
|
|
25136
26043
|
requestBody: {
|
|
25137
26044
|
content: {
|
|
25138
|
-
'application/json': components['schemas']['
|
|
26045
|
+
'application/json': components['schemas']['EntitlementGrantCreateInputV2'];
|
|
25139
26046
|
};
|
|
25140
26047
|
};
|
|
25141
26048
|
responses: {
|
|
@@ -25145,7 +26052,7 @@ export interface operations {
|
|
|
25145
26052
|
[name: string]: unknown;
|
|
25146
26053
|
};
|
|
25147
26054
|
content: {
|
|
25148
|
-
'application/json': components['schemas']['
|
|
26055
|
+
'application/json': components['schemas']['EntitlementGrantV2'];
|
|
25149
26056
|
};
|
|
25150
26057
|
};
|
|
25151
26058
|
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|
|
@@ -25339,7 +26246,7 @@ export interface operations {
|
|
|
25339
26246
|
};
|
|
25340
26247
|
requestBody: {
|
|
25341
26248
|
content: {
|
|
25342
|
-
'application/json': components['schemas']['
|
|
26249
|
+
'application/json': components['schemas']['EntitlementV2CreateInputs'];
|
|
25343
26250
|
};
|
|
25344
26251
|
};
|
|
25345
26252
|
responses: {
|
|
@@ -25984,7 +26891,7 @@ export interface operations {
|
|
|
25984
26891
|
[name: string]: unknown;
|
|
25985
26892
|
};
|
|
25986
26893
|
content: {
|
|
25987
|
-
'application/json': components['schemas']['
|
|
26894
|
+
'application/json': components['schemas']['GrantV2PaginatedResponse'];
|
|
25988
26895
|
};
|
|
25989
26896
|
};
|
|
25990
26897
|
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|