@openmeter/sdk 1.0.0-beta.224 → 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/dist/cjs/src/client/features.d.cts +9 -0
- package/dist/cjs/src/client/notifications.d.cts +6 -0
- package/dist/cjs/src/client/schemas.d.cts +719 -98
- package/dist/cjs/src/client/subscriptions.d.cts +5 -0
- package/dist/cjs/src/zod/index.cjs +372 -37
- package/dist/cjs/src/zod/index.d.cts +398 -16
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.041f8f6a.tsbuildinfo → tsconfig.7db92107.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.c55e75d7.tsbuildinfo → tsconfig.94dd8c51.tsbuildinfo} +1 -1
- package/dist/src/client/features.d.ts +9 -0
- package/dist/src/client/notifications.d.ts +6 -0
- package/dist/src/client/schemas.d.ts +719 -98
- package/dist/src/client/subscriptions.d.ts +5 -0
- package/dist/src/zod/index.d.ts +398 -16
- package/dist/src/zod/index.js +352 -18
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -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;
|
|
@@ -3161,12 +3198,23 @@ export interface components {
|
|
|
3161
3198
|
*
|
|
3162
3199
|
* Defaults to subscription, which means that we are to create a new invoice every time the
|
|
3163
3200
|
* a subscription period starts (for in advance items) or ends (for in arrears items). */
|
|
3164
|
-
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
|
+
};
|
|
3165
3213
|
/** @description BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items
|
|
3166
3214
|
* into an invoice. */
|
|
3167
3215
|
BillingWorkflowCollectionAlignmentSubscription: {
|
|
3168
3216
|
/**
|
|
3169
|
-
* @description The type of alignment.
|
|
3217
|
+
* @description The type of alignment. (enum property replaced by openapi-typescript)
|
|
3170
3218
|
* @enum {string}
|
|
3171
3219
|
*/
|
|
3172
3220
|
type: 'subscription';
|
|
@@ -4172,6 +4220,11 @@ export interface components {
|
|
|
4172
4220
|
*/
|
|
4173
4221
|
billingAddress?: components['schemas']['Address'];
|
|
4174
4222
|
};
|
|
4223
|
+
/**
|
|
4224
|
+
* @description Order by options for customer subscriptions.
|
|
4225
|
+
* @enum {string}
|
|
4226
|
+
*/
|
|
4227
|
+
CustomerSubscriptionOrderBy: 'activeFrom' | 'activeTo';
|
|
4175
4228
|
/** @description Mapping to attribute metered usage to the customer.
|
|
4176
4229
|
* One customer can have multiple subjects,
|
|
4177
4230
|
* but one subject can only belong to one customer. */
|
|
@@ -5526,6 +5579,26 @@ export interface components {
|
|
|
5526
5579
|
*/
|
|
5527
5580
|
readonly config?: string;
|
|
5528
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
|
+
};
|
|
5529
5602
|
/**
|
|
5530
5603
|
* @description CloudEvents Specification JSON Schema
|
|
5531
5604
|
*
|
|
@@ -5591,6 +5664,29 @@ export interface components {
|
|
|
5591
5664
|
[key: string]: unknown;
|
|
5592
5665
|
} | null;
|
|
5593
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
|
+
};
|
|
5594
5690
|
/**
|
|
5595
5691
|
* @description The expiration duration enum
|
|
5596
5692
|
* @enum {string}
|
|
@@ -5660,6 +5756,7 @@ export interface components {
|
|
|
5660
5756
|
meterSlug?: string;
|
|
5661
5757
|
/**
|
|
5662
5758
|
* Meter group by filters
|
|
5759
|
+
* @deprecated
|
|
5663
5760
|
* @description Optional meter group by filters.
|
|
5664
5761
|
* Useful if the meter scope is broader than what feature tracks.
|
|
5665
5762
|
* Example scenario would be a meter tracking all token use with groupBy fields for the model,
|
|
@@ -5672,6 +5769,25 @@ export interface components {
|
|
|
5672
5769
|
meterGroupByFilters?: {
|
|
5673
5770
|
[key: string]: string;
|
|
5674
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
|
+
};
|
|
5675
5791
|
/**
|
|
5676
5792
|
* @description Readonly unique ULID identifier.
|
|
5677
5793
|
* @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
|
|
@@ -5703,6 +5819,7 @@ export interface components {
|
|
|
5703
5819
|
meterSlug?: string;
|
|
5704
5820
|
/**
|
|
5705
5821
|
* Meter group by filters
|
|
5822
|
+
* @deprecated
|
|
5706
5823
|
* @description Optional meter group by filters.
|
|
5707
5824
|
* Useful if the meter scope is broader than what feature tracks.
|
|
5708
5825
|
* Example scenario would be a meter tracking all token use with groupBy fields for the model,
|
|
@@ -5715,6 +5832,25 @@ export interface components {
|
|
|
5715
5832
|
meterGroupByFilters?: {
|
|
5716
5833
|
[key: string]: string;
|
|
5717
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
|
+
};
|
|
5718
5854
|
};
|
|
5719
5855
|
/** @description Limited representation of a feature resource which includes only its unique identifiers (id, key). */
|
|
5720
5856
|
FeatureMeta: {
|
|
@@ -6276,16 +6412,17 @@ export interface components {
|
|
|
6276
6412
|
*
|
|
6277
6413
|
* Billing always treats periods as start being inclusive and end being exclusive. */
|
|
6278
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'];
|
|
6279
6419
|
/**
|
|
6280
6420
|
* Format: date-time
|
|
6421
|
+
* @deprecated
|
|
6281
6422
|
* @description The time this line item should be invoiced.
|
|
6282
6423
|
* @example 2023-01-01T01:01:01.001Z
|
|
6283
6424
|
*/
|
|
6284
6425
|
invoiceAt: Date;
|
|
6285
|
-
/** @description External IDs of the invoice in other apps such as Stripe. */
|
|
6286
|
-
readonly externalIds?: components['schemas']['InvoiceLineAppExternalIds'];
|
|
6287
|
-
/** @description Subscription are the references to the subscritpions that this line is related to. */
|
|
6288
|
-
readonly subscription?: components['schemas']['InvoiceLineSubscriptionReference'];
|
|
6289
6426
|
/**
|
|
6290
6427
|
* @deprecated
|
|
6291
6428
|
* @description Type of the line.
|
|
@@ -6617,7 +6754,7 @@ export interface components {
|
|
|
6617
6754
|
* @description Line status specifies the status of the line.
|
|
6618
6755
|
* @enum {string}
|
|
6619
6756
|
*/
|
|
6620
|
-
InvoiceLineStatus: 'valid' | '
|
|
6757
|
+
InvoiceLineStatus: 'valid' | 'detailed' | 'split';
|
|
6621
6758
|
/** @description InvoiceLineSubscriptionReference contains the references to the subscription that this line is related to. */
|
|
6622
6759
|
InvoiceLineSubscriptionReference: {
|
|
6623
6760
|
/** @description The subscription. */
|
|
@@ -7460,6 +7597,24 @@ export interface components {
|
|
|
7460
7597
|
filterGroupBy?: {
|
|
7461
7598
|
[key: string]: string[];
|
|
7462
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
|
+
};
|
|
7463
7618
|
/**
|
|
7464
7619
|
* @description If not specified a single aggregate will be returned for each subject and time window.
|
|
7465
7620
|
* `subject` is a reserved group by value.
|
|
@@ -7696,6 +7851,16 @@ export interface components {
|
|
|
7696
7851
|
* @example true
|
|
7697
7852
|
*/
|
|
7698
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;
|
|
7699
7864
|
/**
|
|
7700
7865
|
* Webhook URL
|
|
7701
7866
|
* @description Webhook URL where the notification is sent.
|
|
@@ -7739,6 +7904,11 @@ export interface components {
|
|
|
7739
7904
|
* @example true
|
|
7740
7905
|
*/
|
|
7741
7906
|
disabled?: boolean;
|
|
7907
|
+
/**
|
|
7908
|
+
* Metadata
|
|
7909
|
+
* @description Additional metadata for the resource.
|
|
7910
|
+
*/
|
|
7911
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
7742
7912
|
/**
|
|
7743
7913
|
* Webhook URL
|
|
7744
7914
|
* @description Webhook URL where the notification is sent.
|
|
@@ -7837,6 +8007,27 @@ export interface components {
|
|
|
7837
8007
|
/** Threshold */
|
|
7838
8008
|
readonly threshold: components['schemas']['NotificationRuleBalanceThresholdValue'];
|
|
7839
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
|
+
};
|
|
7840
8031
|
/** @description The delivery status of the notification event. */
|
|
7841
8032
|
NotificationEventDeliveryStatus: {
|
|
7842
8033
|
/**
|
|
@@ -7859,16 +8050,33 @@ export interface components {
|
|
|
7859
8050
|
readonly updatedAt: Date;
|
|
7860
8051
|
/**
|
|
7861
8052
|
* Notification Channel
|
|
7862
|
-
* @description Notification channel the delivery
|
|
8053
|
+
* @description Notification channel the delivery status associated with.
|
|
7863
8054
|
*/
|
|
7864
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'][];
|
|
7865
8073
|
};
|
|
7866
8074
|
/**
|
|
7867
8075
|
* Delivery State
|
|
7868
8076
|
* @description The delivery state of the notification event to the channel.
|
|
7869
8077
|
* @enum {string}
|
|
7870
8078
|
*/
|
|
7871
|
-
NotificationEventDeliveryStatusState: 'SUCCESS' | 'FAILED' | 'SENDING' | 'PENDING';
|
|
8079
|
+
NotificationEventDeliveryStatusState: 'SUCCESS' | 'FAILED' | 'SENDING' | 'PENDING' | 'RESENDING';
|
|
7872
8080
|
/** @description Base data for any payload with entitlement entitlement value. */
|
|
7873
8081
|
NotificationEventEntitlementValuePayloadBase: {
|
|
7874
8082
|
/** Entitlement */
|
|
@@ -7961,6 +8169,14 @@ export interface components {
|
|
|
7961
8169
|
};
|
|
7962
8170
|
/** @description The delivery status of the notification event. */
|
|
7963
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
|
+
};
|
|
7964
8180
|
/** @description Payload for notification event with `entitlements.reset` type. */
|
|
7965
8181
|
NotificationEventResetPayload: {
|
|
7966
8182
|
/**
|
|
@@ -8046,6 +8262,16 @@ export interface components {
|
|
|
8046
8262
|
* @description List of notification channels the rule applies to.
|
|
8047
8263
|
*/
|
|
8048
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;
|
|
8049
8275
|
/**
|
|
8050
8276
|
* Entitlement Balance Thresholds
|
|
8051
8277
|
* @description List of thresholds the rule suppose to be triggered.
|
|
@@ -8077,6 +8303,11 @@ export interface components {
|
|
|
8077
8303
|
* @example true
|
|
8078
8304
|
*/
|
|
8079
8305
|
disabled?: boolean;
|
|
8306
|
+
/**
|
|
8307
|
+
* Metadata
|
|
8308
|
+
* @description Additional metadata for the resource.
|
|
8309
|
+
*/
|
|
8310
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8080
8311
|
/**
|
|
8081
8312
|
* Entitlement Balance Thresholds
|
|
8082
8313
|
* @description List of thresholds the rule suppose to be triggered.
|
|
@@ -8173,6 +8404,16 @@ export interface components {
|
|
|
8173
8404
|
* @description List of notification channels the rule applies to.
|
|
8174
8405
|
*/
|
|
8175
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;
|
|
8176
8417
|
/**
|
|
8177
8418
|
* Features
|
|
8178
8419
|
* @description Optional field containing list of features the rule applies to.
|
|
@@ -8199,6 +8440,11 @@ export interface components {
|
|
|
8199
8440
|
* @example true
|
|
8200
8441
|
*/
|
|
8201
8442
|
disabled?: boolean;
|
|
8443
|
+
/**
|
|
8444
|
+
* Metadata
|
|
8445
|
+
* @description Additional metadata for the resource.
|
|
8446
|
+
*/
|
|
8447
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8202
8448
|
/**
|
|
8203
8449
|
* Channels
|
|
8204
8450
|
* @description List of notification channels the rule is applied to.
|
|
@@ -8262,6 +8508,16 @@ export interface components {
|
|
|
8262
8508
|
* @description List of notification channels the rule applies to.
|
|
8263
8509
|
*/
|
|
8264
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;
|
|
8265
8521
|
};
|
|
8266
8522
|
/** @description Request with input parameters for creating new notification rule with invoice.created type. */
|
|
8267
8523
|
NotificationRuleInvoiceCreatedCreateRequest: {
|
|
@@ -8283,6 +8539,11 @@ export interface components {
|
|
|
8283
8539
|
* @example true
|
|
8284
8540
|
*/
|
|
8285
8541
|
disabled?: boolean;
|
|
8542
|
+
/**
|
|
8543
|
+
* Metadata
|
|
8544
|
+
* @description Additional metadata for the resource.
|
|
8545
|
+
*/
|
|
8546
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8286
8547
|
/**
|
|
8287
8548
|
* Channels
|
|
8288
8549
|
* @description List of notification channels the rule is applied to.
|
|
@@ -8341,6 +8602,16 @@ export interface components {
|
|
|
8341
8602
|
* @description List of notification channels the rule applies to.
|
|
8342
8603
|
*/
|
|
8343
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;
|
|
8344
8615
|
};
|
|
8345
8616
|
/** @description Request with input parameters for creating new notification rule with invoice.updated type. */
|
|
8346
8617
|
NotificationRuleInvoiceUpdatedCreateRequest: {
|
|
@@ -8362,6 +8633,11 @@ export interface components {
|
|
|
8362
8633
|
* @example true
|
|
8363
8634
|
*/
|
|
8364
8635
|
disabled?: boolean;
|
|
8636
|
+
/**
|
|
8637
|
+
* Metadata
|
|
8638
|
+
* @description Additional metadata for the resource.
|
|
8639
|
+
*/
|
|
8640
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8365
8641
|
/**
|
|
8366
8642
|
* Channels
|
|
8367
8643
|
* @description List of notification channels the rule is applied to.
|
|
@@ -9296,6 +9572,7 @@ export interface components {
|
|
|
9296
9572
|
/** @description The price of the usage based rate card. */
|
|
9297
9573
|
RateCardUsageBasedPrice: components['schemas']['FlatPriceWithPaymentTerm'] | components['schemas']['UnitPriceWithCommitments'] | components['schemas']['TieredPriceWithCommitments'] | components['schemas']['DynamicPriceWithCommitments'] | components['schemas']['PackagePriceWithCommitments'];
|
|
9298
9574
|
/**
|
|
9575
|
+
* @deprecated
|
|
9299
9576
|
* @description Recurring period with an interval and an anchor.
|
|
9300
9577
|
* @example {
|
|
9301
9578
|
* "interval": "DAY",
|
|
@@ -9309,11 +9586,6 @@ export interface components {
|
|
|
9309
9586
|
* @description The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.
|
|
9310
9587
|
*/
|
|
9311
9588
|
interval: components['schemas']['RecurringPeriodInterval'];
|
|
9312
|
-
/**
|
|
9313
|
-
* Format: duration
|
|
9314
|
-
* @description The unit of time for the interval in ISO8601 format.
|
|
9315
|
-
*/
|
|
9316
|
-
intervalISO: string;
|
|
9317
9589
|
/**
|
|
9318
9590
|
* Anchor time
|
|
9319
9591
|
* Format: date-time
|
|
@@ -9321,6 +9593,11 @@ export interface components {
|
|
|
9321
9593
|
* @example 2023-01-01T01:01:01.001Z
|
|
9322
9594
|
*/
|
|
9323
9595
|
anchor: Date;
|
|
9596
|
+
/**
|
|
9597
|
+
* Format: duration
|
|
9598
|
+
* @description The unit of time for the interval in ISO8601 format.
|
|
9599
|
+
*/
|
|
9600
|
+
intervalISO: string;
|
|
9324
9601
|
};
|
|
9325
9602
|
/**
|
|
9326
9603
|
* @description Recurring period with an interval and an anchor.
|
|
@@ -9351,6 +9628,21 @@ export interface components {
|
|
|
9351
9628
|
* @enum {string}
|
|
9352
9629
|
*/
|
|
9353
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
|
+
};
|
|
9354
9646
|
/**
|
|
9355
9647
|
* @description The direction of the phase shift when a phase is removed.
|
|
9356
9648
|
* @enum {string}
|
|
@@ -9962,6 +10254,11 @@ export interface components {
|
|
|
9962
10254
|
* @example 2023-01-01T01:01:01.001Z
|
|
9963
10255
|
*/
|
|
9964
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'];
|
|
9965
10262
|
/** @description Alignment configuration for the plan. */
|
|
9966
10263
|
alignment?: components['schemas']['Alignment'];
|
|
9967
10264
|
/** @description The status of the subscription. */
|
|
@@ -10250,6 +10547,40 @@ export interface components {
|
|
|
10250
10547
|
/** @description The current billing period. Only has value if the subscription is aligned and active. */
|
|
10251
10548
|
currentAlignedBillingPeriod?: components['schemas']['Period'];
|
|
10252
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
|
+
};
|
|
10253
10584
|
/** @description Change a subscription. */
|
|
10254
10585
|
SubscriptionChange: components['schemas']['PlanSubscriptionChange'] | components['schemas']['CustomSubscriptionChange'];
|
|
10255
10586
|
/** @description Response body for subscription change. */
|
|
@@ -10265,6 +10596,41 @@ export interface components {
|
|
|
10265
10596
|
*/
|
|
10266
10597
|
next: components['schemas']['SubscriptionExpanded'];
|
|
10267
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
|
+
};
|
|
10268
10634
|
/** @description Create a subscription. */
|
|
10269
10635
|
SubscriptionCreate: components['schemas']['PlanSubscriptionCreate'] | components['schemas']['CustomSubscriptionCreate'];
|
|
10270
10636
|
/** @description Subscription edit input. */
|
|
@@ -10277,6 +10643,10 @@ export interface components {
|
|
|
10277
10643
|
};
|
|
10278
10644
|
/** @description The operation to be performed on the subscription. */
|
|
10279
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
|
+
};
|
|
10280
10650
|
/** @description Expanded subscription */
|
|
10281
10651
|
SubscriptionExpanded: {
|
|
10282
10652
|
/**
|
|
@@ -10333,6 +10703,11 @@ export interface components {
|
|
|
10333
10703
|
* @example 2023-01-01T01:01:01.001Z
|
|
10334
10704
|
*/
|
|
10335
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'];
|
|
10336
10711
|
/** @description The status of the subscription. */
|
|
10337
10712
|
readonly status: components['schemas']['SubscriptionStatus'];
|
|
10338
10713
|
/**
|
|
@@ -10459,7 +10834,11 @@ export interface components {
|
|
|
10459
10834
|
* Price
|
|
10460
10835
|
* @description The price of the rate card.
|
|
10461
10836
|
* When null, the feature or service is free.
|
|
10462
|
-
* @example {
|
|
10837
|
+
* @example {
|
|
10838
|
+
* "type": "flat",
|
|
10839
|
+
* "amount": "100",
|
|
10840
|
+
* "paymentTerm": "in_arrears"
|
|
10841
|
+
* }
|
|
10463
10842
|
*/
|
|
10464
10843
|
price: components['schemas']['RateCardUsageBasedPrice'] | null;
|
|
10465
10844
|
/**
|
|
@@ -10724,6 +11103,21 @@ export interface components {
|
|
|
10724
11103
|
* @example urn:request:local/JMOlctsKV8-000001
|
|
10725
11104
|
*/
|
|
10726
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
|
+
};
|
|
10727
11121
|
} & {
|
|
10728
11122
|
[key: string]: unknown;
|
|
10729
11123
|
};
|
|
@@ -10758,60 +11152,24 @@ export interface components {
|
|
|
10758
11152
|
maximumAmount?: components['schemas']['Numeric'];
|
|
10759
11153
|
};
|
|
10760
11154
|
/** @description Validation errors providing detailed description of the issue. */
|
|
10761
|
-
ValidationError: {
|
|
10762
|
-
/**
|
|
10763
|
-
* @description The path to the field.
|
|
10764
|
-
* @example addons/pro/ratecards/token/featureKey
|
|
10765
|
-
*/
|
|
10766
|
-
readonly field: string;
|
|
10767
|
-
/**
|
|
10768
|
-
* @description The machine readable description of the error.
|
|
10769
|
-
* @example invalid_feature_key
|
|
10770
|
-
*/
|
|
10771
|
-
readonly code: string;
|
|
10772
|
-
/**
|
|
10773
|
-
* @description The human readable description of the error.
|
|
10774
|
-
* @example not found feature by key
|
|
10775
|
-
*/
|
|
10776
|
-
readonly message: string;
|
|
10777
|
-
/** @description Additional attributes. */
|
|
10778
|
-
readonly attributes?: components['schemas']['Annotations'];
|
|
10779
|
-
};
|
|
10780
|
-
/** @description A BadRequestError with a validationErrors extension. */
|
|
10781
|
-
ValidationErrorProblemResponse: {
|
|
10782
|
-
/**
|
|
10783
|
-
* Format: uri
|
|
10784
|
-
* @description Type contains a URI that identifies the problem type.
|
|
10785
|
-
* @default about:blank
|
|
10786
|
-
* @example about:blank
|
|
10787
|
-
*/
|
|
10788
|
-
type: string;
|
|
10789
|
-
/**
|
|
10790
|
-
* @description A a short, human-readable summary of the problem type.
|
|
10791
|
-
* @example Bad Request
|
|
10792
|
-
*/
|
|
10793
|
-
title: string;
|
|
11155
|
+
ValidationError: {
|
|
10794
11156
|
/**
|
|
10795
|
-
*
|
|
10796
|
-
* @
|
|
10797
|
-
* @example 400
|
|
11157
|
+
* @description The path to the field.
|
|
11158
|
+
* @example addons/pro/ratecards/token/featureKey
|
|
10798
11159
|
*/
|
|
10799
|
-
|
|
11160
|
+
readonly field: string;
|
|
10800
11161
|
/**
|
|
10801
|
-
* @description
|
|
10802
|
-
* @example
|
|
11162
|
+
* @description The machine readable description of the error.
|
|
11163
|
+
* @example invalid_feature_key
|
|
10803
11164
|
*/
|
|
10804
|
-
|
|
11165
|
+
readonly code: string;
|
|
10805
11166
|
/**
|
|
10806
|
-
*
|
|
10807
|
-
* @
|
|
10808
|
-
* @example urn:request:local/JMOlctsKV8-000001
|
|
11167
|
+
* @description The human readable description of the error.
|
|
11168
|
+
* @example not found feature by key
|
|
10809
11169
|
*/
|
|
10810
|
-
|
|
10811
|
-
/** @description
|
|
10812
|
-
readonly
|
|
10813
|
-
validationErrors?: components['schemas']['ValidationError'][];
|
|
10814
|
-
};
|
|
11170
|
+
readonly message: string;
|
|
11171
|
+
/** @description Additional attributes. */
|
|
11172
|
+
readonly attributes?: components['schemas']['Annotations'];
|
|
10815
11173
|
};
|
|
10816
11174
|
/** @description ValidationIssue captures any validation issues related to the invoice.
|
|
10817
11175
|
*
|
|
@@ -11001,6 +11359,10 @@ export interface components {
|
|
|
11001
11359
|
/** @description The order by field. */
|
|
11002
11360
|
'CustomerOrderByOrdering.orderBy': components['schemas']['CustomerOrderBy'];
|
|
11003
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. */
|
|
11004
11366
|
'EntitlementOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
11005
11367
|
/** @description The order by field. */
|
|
11006
11368
|
'EntitlementOrderByOrdering.orderBy': components['schemas']['EntitlementOrderBy'];
|
|
@@ -11062,6 +11424,9 @@ export interface components {
|
|
|
11062
11424
|
'MeterOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
11063
11425
|
/** @description The order by field. */
|
|
11064
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;
|
|
11065
11430
|
/** @description Client ID
|
|
11066
11431
|
* Useful to track progress of a query. */
|
|
11067
11432
|
'MeterQuery.clientId': string;
|
|
@@ -11069,9 +11434,12 @@ export interface components {
|
|
|
11069
11434
|
*
|
|
11070
11435
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
11071
11436
|
'MeterQuery.filterCustomerId': string[];
|
|
11072
|
-
/**
|
|
11437
|
+
/**
|
|
11438
|
+
* @deprecated
|
|
11439
|
+
* @description Simple filter for group bys with exact match.
|
|
11073
11440
|
*
|
|
11074
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
11441
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
11442
|
+
*/
|
|
11075
11443
|
'MeterQuery.filterGroupBy': {
|
|
11076
11444
|
[key: string]: string;
|
|
11077
11445
|
};
|
|
@@ -11229,6 +11597,7 @@ export type BillingProfileReplaceUpdateWithWorkflow = components['schemas']['Bil
|
|
|
11229
11597
|
export type BillingTaxIdentificationCode = components['schemas']['BillingTaxIdentificationCode'];
|
|
11230
11598
|
export type BillingWorkflow = components['schemas']['BillingWorkflow'];
|
|
11231
11599
|
export type BillingWorkflowCollectionAlignment = components['schemas']['BillingWorkflowCollectionAlignment'];
|
|
11600
|
+
export type BillingWorkflowCollectionAlignmentAnchored = components['schemas']['BillingWorkflowCollectionAlignmentAnchored'];
|
|
11232
11601
|
export type BillingWorkflowCollectionAlignmentSubscription = components['schemas']['BillingWorkflowCollectionAlignmentSubscription'];
|
|
11233
11602
|
export type BillingWorkflowCollectionSettings = components['schemas']['BillingWorkflowCollectionSettings'];
|
|
11234
11603
|
export type BillingWorkflowCreate = components['schemas']['BillingWorkflowCreate'];
|
|
@@ -11287,6 +11656,7 @@ export type CustomerKey = components['schemas']['CustomerKey'];
|
|
|
11287
11656
|
export type CustomerOrderBy = components['schemas']['CustomerOrderBy'];
|
|
11288
11657
|
export type CustomerPaginatedResponse = components['schemas']['CustomerPaginatedResponse'];
|
|
11289
11658
|
export type CustomerReplaceUpdate = components['schemas']['CustomerReplaceUpdate'];
|
|
11659
|
+
export type CustomerSubscriptionOrderBy = components['schemas']['CustomerSubscriptionOrderBy'];
|
|
11290
11660
|
export type CustomerUsageAttribution = components['schemas']['CustomerUsageAttribution'];
|
|
11291
11661
|
export type DiscountPercentage = components['schemas']['DiscountPercentage'];
|
|
11292
11662
|
export type DiscountReasonMaximumSpend = components['schemas']['DiscountReasonMaximumSpend'];
|
|
@@ -11324,7 +11694,9 @@ export type EntitlementV2 = components['schemas']['EntitlementV2'];
|
|
|
11324
11694
|
export type EntitlementV2CreateInputs = components['schemas']['EntitlementV2CreateInputs'];
|
|
11325
11695
|
export type EntitlementV2PaginatedResponse = components['schemas']['EntitlementV2PaginatedResponse'];
|
|
11326
11696
|
export type EntitlementValue = components['schemas']['EntitlementValue'];
|
|
11697
|
+
export type ErrorExtension = components['schemas']['ErrorExtension'];
|
|
11327
11698
|
export type Event = components['schemas']['Event'];
|
|
11699
|
+
export type EventDeliveryAttemptResponse = components['schemas']['EventDeliveryAttemptResponse'];
|
|
11328
11700
|
export type ExpirationDuration = components['schemas']['ExpirationDuration'];
|
|
11329
11701
|
export type ExpirationPeriod = components['schemas']['ExpirationPeriod'];
|
|
11330
11702
|
export type Feature = components['schemas']['Feature'];
|
|
@@ -11427,6 +11799,7 @@ export type NotificationChannelWebhookCreateRequest = components['schemas']['Not
|
|
|
11427
11799
|
export type NotificationEvent = components['schemas']['NotificationEvent'];
|
|
11428
11800
|
export type NotificationEventBalanceThresholdPayload = components['schemas']['NotificationEventBalanceThresholdPayload'];
|
|
11429
11801
|
export type NotificationEventBalanceThresholdPayloadData = components['schemas']['NotificationEventBalanceThresholdPayloadData'];
|
|
11802
|
+
export type NotificationEventDeliveryAttempt = components['schemas']['NotificationEventDeliveryAttempt'];
|
|
11430
11803
|
export type NotificationEventDeliveryStatus = components['schemas']['NotificationEventDeliveryStatus'];
|
|
11431
11804
|
export type NotificationEventDeliveryStatusState = components['schemas']['NotificationEventDeliveryStatusState'];
|
|
11432
11805
|
export type NotificationEventEntitlementValuePayloadBase = components['schemas']['NotificationEventEntitlementValuePayloadBase'];
|
|
@@ -11435,6 +11808,7 @@ export type NotificationEventInvoiceUpdatedPayload = components['schemas']['Noti
|
|
|
11435
11808
|
export type NotificationEventOrderBy = components['schemas']['NotificationEventOrderBy'];
|
|
11436
11809
|
export type NotificationEventPaginatedResponse = components['schemas']['NotificationEventPaginatedResponse'];
|
|
11437
11810
|
export type NotificationEventPayload = components['schemas']['NotificationEventPayload'];
|
|
11811
|
+
export type NotificationEventResendRequest = components['schemas']['NotificationEventResendRequest'];
|
|
11438
11812
|
export type NotificationEventResetPayload = components['schemas']['NotificationEventResetPayload'];
|
|
11439
11813
|
export type NotificationEventType = components['schemas']['NotificationEventType'];
|
|
11440
11814
|
export type NotificationRule = components['schemas']['NotificationRule'];
|
|
@@ -11495,6 +11869,7 @@ export type RecurringPeriod = components['schemas']['RecurringPeriod'];
|
|
|
11495
11869
|
export type RecurringPeriodCreateInput = components['schemas']['RecurringPeriodCreateInput'];
|
|
11496
11870
|
export type RecurringPeriodInterval = components['schemas']['RecurringPeriodInterval'];
|
|
11497
11871
|
export type RecurringPeriodIntervalEnum = components['schemas']['RecurringPeriodIntervalEnum'];
|
|
11872
|
+
export type RecurringPeriodV2 = components['schemas']['RecurringPeriodV2'];
|
|
11498
11873
|
export type RemovePhaseShifting = components['schemas']['RemovePhaseShifting'];
|
|
11499
11874
|
export type ResetEntitlementUsageInput = components['schemas']['ResetEntitlementUsageInput'];
|
|
11500
11875
|
export type SandboxApp = components['schemas']['SandboxApp'];
|
|
@@ -11522,11 +11897,14 @@ export type SubscriptionAddonRateCard = components['schemas']['SubscriptionAddon
|
|
|
11522
11897
|
export type SubscriptionAddonTimelineSegment = components['schemas']['SubscriptionAddonTimelineSegment'];
|
|
11523
11898
|
export type SubscriptionAddonUpdate = components['schemas']['SubscriptionAddonUpdate'];
|
|
11524
11899
|
export type SubscriptionAlignment = components['schemas']['SubscriptionAlignment'];
|
|
11900
|
+
export type SubscriptionBadRequestErrorResponse = components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
11525
11901
|
export type SubscriptionChange = components['schemas']['SubscriptionChange'];
|
|
11526
11902
|
export type SubscriptionChangeResponseBody = components['schemas']['SubscriptionChangeResponseBody'];
|
|
11903
|
+
export type SubscriptionConflictErrorResponse = components['schemas']['SubscriptionConflictErrorResponse'];
|
|
11527
11904
|
export type SubscriptionCreate = components['schemas']['SubscriptionCreate'];
|
|
11528
11905
|
export type SubscriptionEdit = components['schemas']['SubscriptionEdit'];
|
|
11529
11906
|
export type SubscriptionEditOperation = components['schemas']['SubscriptionEditOperation'];
|
|
11907
|
+
export type SubscriptionErrorExtensions = components['schemas']['SubscriptionErrorExtensions'];
|
|
11530
11908
|
export type SubscriptionExpanded = components['schemas']['SubscriptionExpanded'];
|
|
11531
11909
|
export type SubscriptionItem = components['schemas']['SubscriptionItem'];
|
|
11532
11910
|
export type SubscriptionItemIncluded = components['schemas']['SubscriptionItemIncluded'];
|
|
@@ -11546,7 +11924,6 @@ export type UnexpectedProblemResponse = components['schemas']['UnexpectedProblem
|
|
|
11546
11924
|
export type UnitPrice = components['schemas']['UnitPrice'];
|
|
11547
11925
|
export type UnitPriceWithCommitments = components['schemas']['UnitPriceWithCommitments'];
|
|
11548
11926
|
export type ValidationError = components['schemas']['ValidationError'];
|
|
11549
|
-
export type ValidationErrorProblemResponse = components['schemas']['ValidationErrorProblemResponse'];
|
|
11550
11927
|
export type ValidationIssue = components['schemas']['ValidationIssue'];
|
|
11551
11928
|
export type ValidationIssueSeverity = components['schemas']['ValidationIssueSeverity'];
|
|
11552
11929
|
export type VoidInvoiceActionCreate = components['schemas']['VoidInvoiceActionCreate'];
|
|
@@ -11578,6 +11955,8 @@ export type ParameterCursorPaginationCursor = components['parameters']['CursorPa
|
|
|
11578
11955
|
export type ParameterCursorPaginationLimit = components['parameters']['CursorPagination.limit'];
|
|
11579
11956
|
export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
|
|
11580
11957
|
export type ParameterCustomerOrderByOrderingOrderBy = components['parameters']['CustomerOrderByOrdering.orderBy'];
|
|
11958
|
+
export type ParameterCustomerSubscriptionOrderByOrderingOrder = components['parameters']['CustomerSubscriptionOrderByOrdering.order'];
|
|
11959
|
+
export type ParameterCustomerSubscriptionOrderByOrderingOrderBy = components['parameters']['CustomerSubscriptionOrderByOrdering.orderBy'];
|
|
11581
11960
|
export type ParameterEntitlementOrderByOrderingOrder = components['parameters']['EntitlementOrderByOrdering.order'];
|
|
11582
11961
|
export type ParameterEntitlementOrderByOrderingOrderBy = components['parameters']['EntitlementOrderByOrdering.orderBy'];
|
|
11583
11962
|
export type ParameterFeatureOrderByOrderingOrder = components['parameters']['FeatureOrderByOrdering.order'];
|
|
@@ -11604,6 +11983,7 @@ export type ParameterMarketplaceInstallRequestType = components['parameters']['M
|
|
|
11604
11983
|
export type ParameterMarketplaceOAuth2InstallAuthorizeRequestType = components['parameters']['MarketplaceOAuth2InstallAuthorizeRequest.type'];
|
|
11605
11984
|
export type ParameterMeterOrderByOrderingOrder = components['parameters']['MeterOrderByOrdering.order'];
|
|
11606
11985
|
export type ParameterMeterOrderByOrderingOrderBy = components['parameters']['MeterOrderByOrdering.orderBy'];
|
|
11986
|
+
export type ParameterMeterQueryAdvancedMeterGroupByFilters = components['parameters']['MeterQuery.advancedMeterGroupByFilters'];
|
|
11607
11987
|
export type ParameterMeterQueryClientId = components['parameters']['MeterQuery.clientId'];
|
|
11608
11988
|
export type ParameterMeterQueryFilterCustomerId = components['parameters']['MeterQuery.filterCustomerId'];
|
|
11609
11989
|
export type ParameterMeterQueryFilterGroupBy = components['parameters']['MeterQuery.filterGroupBy'];
|
|
@@ -16530,6 +16910,11 @@ export interface operations {
|
|
|
16530
16910
|
listCustomerSubscriptions: {
|
|
16531
16911
|
parameters: {
|
|
16532
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'];
|
|
16533
16918
|
/** @description Page index.
|
|
16534
16919
|
*
|
|
16535
16920
|
* Default is 1. */
|
|
@@ -17132,7 +17517,7 @@ export interface operations {
|
|
|
17132
17517
|
query?: {
|
|
17133
17518
|
/** @description Filter by meterSlug */
|
|
17134
17519
|
meterSlug?: string[];
|
|
17135
|
-
/** @description
|
|
17520
|
+
/** @description Include archived features in response. */
|
|
17136
17521
|
includeArchived?: boolean;
|
|
17137
17522
|
/** @description Page index.
|
|
17138
17523
|
*
|
|
@@ -18911,6 +19296,105 @@ export interface operations {
|
|
|
18911
19296
|
};
|
|
18912
19297
|
};
|
|
18913
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
|
+
};
|
|
18914
19398
|
queryMeter: {
|
|
18915
19399
|
parameters: {
|
|
18916
19400
|
query?: {
|
|
@@ -18946,10 +19430,16 @@ export interface operations {
|
|
|
18946
19430
|
*
|
|
18947
19431
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
18948
19432
|
filterCustomerId?: components['parameters']['MeterQuery.filterCustomerId'];
|
|
18949
|
-
/**
|
|
19433
|
+
/**
|
|
19434
|
+
* @deprecated
|
|
19435
|
+
* @description Simple filter for group bys with exact match.
|
|
18950
19436
|
*
|
|
18951
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
19437
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
19438
|
+
*/
|
|
18952
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'];
|
|
18953
19443
|
/** @description If not specified a single aggregate will be returned for each subject and time window.
|
|
18954
19444
|
* `subject` is a reserved group by value.
|
|
18955
19445
|
*
|
|
@@ -19148,7 +19638,20 @@ export interface operations {
|
|
|
19148
19638
|
};
|
|
19149
19639
|
listMeterSubjects: {
|
|
19150
19640
|
parameters: {
|
|
19151
|
-
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
|
+
};
|
|
19152
19655
|
header?: never;
|
|
19153
19656
|
path: {
|
|
19154
19657
|
meterIdOrSlug: string;
|
|
@@ -19918,6 +20421,102 @@ export interface operations {
|
|
|
19918
20421
|
};
|
|
19919
20422
|
};
|
|
19920
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
|
+
};
|
|
19921
20520
|
listNotificationRules: {
|
|
19922
20521
|
parameters: {
|
|
19923
20522
|
query?: {
|
|
@@ -21814,10 +22413,16 @@ export interface operations {
|
|
|
21814
22413
|
*
|
|
21815
22414
|
* For example: ?filterCustomerId=customer-1&filterCustomerId=customer-2 */
|
|
21816
22415
|
filterCustomerId?: components['parameters']['MeterQuery.filterCustomerId'];
|
|
21817
|
-
/**
|
|
22416
|
+
/**
|
|
22417
|
+
* @deprecated
|
|
22418
|
+
* @description Simple filter for group bys with exact match.
|
|
21818
22419
|
*
|
|
21819
|
-
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
22420
|
+
* For example: ?filterGroupBy[vendor]=openai&filterGroupBy[model]=gpt-4-turbo
|
|
22421
|
+
*/
|
|
21820
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'];
|
|
21821
22426
|
/** @description If not specified a single aggregate will be returned for each subject and time window.
|
|
21822
22427
|
* `subject` is a reserved group by value.
|
|
21823
22428
|
*
|
|
@@ -23611,13 +24216,13 @@ export interface operations {
|
|
|
23611
24216
|
'application/json': components['schemas']['Subscription'];
|
|
23612
24217
|
};
|
|
23613
24218
|
};
|
|
23614
|
-
/** @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. */
|
|
23615
24220
|
400: {
|
|
23616
24221
|
headers: {
|
|
23617
24222
|
[name: string]: unknown;
|
|
23618
24223
|
};
|
|
23619
24224
|
content: {
|
|
23620
|
-
'application/problem+json': components['schemas']['
|
|
24225
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23621
24226
|
};
|
|
23622
24227
|
};
|
|
23623
24228
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23638,13 +24243,14 @@ export interface operations {
|
|
|
23638
24243
|
'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
|
|
23639
24244
|
};
|
|
23640
24245
|
};
|
|
23641
|
-
/** @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. */
|
|
23642
24248
|
409: {
|
|
23643
24249
|
headers: {
|
|
23644
24250
|
[name: string]: unknown;
|
|
23645
24251
|
};
|
|
23646
24252
|
content: {
|
|
23647
|
-
'application/problem+json': components['schemas']['
|
|
24253
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
23648
24254
|
};
|
|
23649
24255
|
};
|
|
23650
24256
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -23800,13 +24406,13 @@ export interface operations {
|
|
|
23800
24406
|
};
|
|
23801
24407
|
content?: never;
|
|
23802
24408
|
};
|
|
23803
|
-
/** @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. */
|
|
23804
24410
|
400: {
|
|
23805
24411
|
headers: {
|
|
23806
24412
|
[name: string]: unknown;
|
|
23807
24413
|
};
|
|
23808
24414
|
content: {
|
|
23809
|
-
'application/problem+json': components['schemas']['
|
|
24415
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23810
24416
|
};
|
|
23811
24417
|
};
|
|
23812
24418
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23836,6 +24442,16 @@ export interface operations {
|
|
|
23836
24442
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
23837
24443
|
};
|
|
23838
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
|
+
};
|
|
23839
24455
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
23840
24456
|
412: {
|
|
23841
24457
|
headers: {
|
|
@@ -23898,13 +24514,13 @@ export interface operations {
|
|
|
23898
24514
|
'application/json': components['schemas']['Subscription'];
|
|
23899
24515
|
};
|
|
23900
24516
|
};
|
|
23901
|
-
/** @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. */
|
|
23902
24518
|
400: {
|
|
23903
24519
|
headers: {
|
|
23904
24520
|
[name: string]: unknown;
|
|
23905
24521
|
};
|
|
23906
24522
|
content: {
|
|
23907
|
-
'application/problem+json': components['schemas']['
|
|
24523
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
23908
24524
|
};
|
|
23909
24525
|
};
|
|
23910
24526
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -23934,13 +24550,14 @@ export interface operations {
|
|
|
23934
24550
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
23935
24551
|
};
|
|
23936
24552
|
};
|
|
23937
|
-
/** @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. */
|
|
23938
24555
|
409: {
|
|
23939
24556
|
headers: {
|
|
23940
24557
|
[name: string]: unknown;
|
|
23941
24558
|
};
|
|
23942
24559
|
content: {
|
|
23943
|
-
'application/problem+json': components['schemas']['
|
|
24560
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
23944
24561
|
};
|
|
23945
24562
|
};
|
|
23946
24563
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24403,13 +25020,13 @@ export interface operations {
|
|
|
24403
25020
|
'application/json': components['schemas']['Subscription'];
|
|
24404
25021
|
};
|
|
24405
25022
|
};
|
|
24406
|
-
/** @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. */
|
|
24407
25024
|
400: {
|
|
24408
25025
|
headers: {
|
|
24409
25026
|
[name: string]: unknown;
|
|
24410
25027
|
};
|
|
24411
25028
|
content: {
|
|
24412
|
-
'application/problem+json': components['schemas']['
|
|
25029
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24413
25030
|
};
|
|
24414
25031
|
};
|
|
24415
25032
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24439,13 +25056,14 @@ export interface operations {
|
|
|
24439
25056
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24440
25057
|
};
|
|
24441
25058
|
};
|
|
24442
|
-
/** @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. */
|
|
24443
25061
|
409: {
|
|
24444
25062
|
headers: {
|
|
24445
25063
|
[name: string]: unknown;
|
|
24446
25064
|
};
|
|
24447
25065
|
content: {
|
|
24448
|
-
'application/problem+json': components['schemas']['
|
|
25066
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24449
25067
|
};
|
|
24450
25068
|
};
|
|
24451
25069
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24510,13 +25128,13 @@ export interface operations {
|
|
|
24510
25128
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
24511
25129
|
};
|
|
24512
25130
|
};
|
|
24513
|
-
/** @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. */
|
|
24514
25132
|
400: {
|
|
24515
25133
|
headers: {
|
|
24516
25134
|
[name: string]: unknown;
|
|
24517
25135
|
};
|
|
24518
25136
|
content: {
|
|
24519
|
-
'application/problem+json': components['schemas']['
|
|
25137
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24520
25138
|
};
|
|
24521
25139
|
};
|
|
24522
25140
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24546,13 +25164,14 @@ export interface operations {
|
|
|
24546
25164
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24547
25165
|
};
|
|
24548
25166
|
};
|
|
24549
|
-
/** @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. */
|
|
24550
25169
|
409: {
|
|
24551
25170
|
headers: {
|
|
24552
25171
|
[name: string]: unknown;
|
|
24553
25172
|
};
|
|
24554
25173
|
content: {
|
|
24555
|
-
'application/problem+json': components['schemas']['
|
|
25174
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24556
25175
|
};
|
|
24557
25176
|
};
|
|
24558
25177
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24636,13 +25255,13 @@ export interface operations {
|
|
|
24636
25255
|
'application/json': components['schemas']['SubscriptionChangeResponseBody'];
|
|
24637
25256
|
};
|
|
24638
25257
|
};
|
|
24639
|
-
/** @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. */
|
|
24640
25259
|
400: {
|
|
24641
25260
|
headers: {
|
|
24642
25261
|
[name: string]: unknown;
|
|
24643
25262
|
};
|
|
24644
25263
|
content: {
|
|
24645
|
-
'application/problem+json': components['schemas']['
|
|
25264
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24646
25265
|
};
|
|
24647
25266
|
};
|
|
24648
25267
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24672,13 +25291,14 @@ export interface operations {
|
|
|
24672
25291
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24673
25292
|
};
|
|
24674
25293
|
};
|
|
24675
|
-
/** @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. */
|
|
24676
25296
|
409: {
|
|
24677
25297
|
headers: {
|
|
24678
25298
|
[name: string]: unknown;
|
|
24679
25299
|
};
|
|
24680
25300
|
content: {
|
|
24681
|
-
'application/problem+json': components['schemas']['
|
|
25301
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24682
25302
|
};
|
|
24683
25303
|
};
|
|
24684
25304
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
@@ -24833,13 +25453,13 @@ export interface operations {
|
|
|
24833
25453
|
'application/json': components['schemas']['Subscription'];
|
|
24834
25454
|
};
|
|
24835
25455
|
};
|
|
24836
|
-
/** @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. */
|
|
24837
25457
|
400: {
|
|
24838
25458
|
headers: {
|
|
24839
25459
|
[name: string]: unknown;
|
|
24840
25460
|
};
|
|
24841
25461
|
content: {
|
|
24842
|
-
'application/problem+json': components['schemas']['
|
|
25462
|
+
'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
|
|
24843
25463
|
};
|
|
24844
25464
|
};
|
|
24845
25465
|
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
@@ -24869,13 +25489,14 @@ export interface operations {
|
|
|
24869
25489
|
'application/problem+json': components['schemas']['NotFoundProblemResponse'];
|
|
24870
25490
|
};
|
|
24871
25491
|
};
|
|
24872
|
-
/** @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. */
|
|
24873
25494
|
409: {
|
|
24874
25495
|
headers: {
|
|
24875
25496
|
[name: string]: unknown;
|
|
24876
25497
|
};
|
|
24877
25498
|
content: {
|
|
24878
|
-
'application/problem+json': components['schemas']['
|
|
25499
|
+
'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
|
|
24879
25500
|
};
|
|
24880
25501
|
};
|
|
24881
25502
|
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|