@openmeter/sdk 1.0.0-beta.203 → 1.0.0-beta.204

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.
@@ -1759,6 +1759,26 @@ export interface paths {
1759
1759
  patch?: never;
1760
1760
  trace?: never;
1761
1761
  };
1762
+ '/api/v2/events': {
1763
+ parameters: {
1764
+ query?: never;
1765
+ header?: never;
1766
+ path?: never;
1767
+ cookie?: never;
1768
+ };
1769
+ /**
1770
+ * List ingested events
1771
+ * @description List ingested events with advanced filtering and cursor pagination.
1772
+ */
1773
+ get: operations['listEventsV2'];
1774
+ put?: never;
1775
+ post?: never;
1776
+ delete?: never;
1777
+ options?: never;
1778
+ head?: never;
1779
+ patch?: never;
1780
+ trace?: never;
1781
+ };
1762
1782
  }
1763
1783
  export type webhooks = Record<string, never>;
1764
1784
  export interface components {
@@ -1845,15 +1865,24 @@ export interface components {
1845
1865
  * @enum {string}
1846
1866
  */
1847
1867
  AppCapabilityType: 'reportUsage' | 'reportEvents' | 'calculateTax' | 'invoiceCustomers' | 'collectPayments';
1848
- /** @description A page of results. */
1849
- AppList: {
1850
- /** @description The page number. */
1868
+ /** @description Paginated response */
1869
+ AppPaginatedResponse: {
1870
+ /**
1871
+ * @description The total number of items.
1872
+ * @example 500
1873
+ */
1874
+ totalCount: number;
1875
+ /**
1876
+ * @description The page index.
1877
+ * @example 1
1878
+ */
1851
1879
  page: number;
1852
- /** @description The number of items in the page. */
1880
+ /**
1881
+ * @description The maximum number of items per page.
1882
+ * @example 100
1883
+ */
1853
1884
  pageSize: number;
1854
- /** @description The total number of items. */
1855
- totalCount: number;
1856
- /** @description The items in the page. */
1885
+ /** @description The items in the current page. */
1857
1886
  items: components['schemas']['App'][];
1858
1887
  };
1859
1888
  /** @description App reference
@@ -2155,17 +2184,17 @@ export interface components {
2155
2184
  /** @description Paginated response */
2156
2185
  BillingProfileCustomerOverrideWithDetailsPaginatedResponse: {
2157
2186
  /**
2158
- * @description The items in the current page.
2187
+ * @description The total number of items.
2159
2188
  * @example 500
2160
2189
  */
2161
2190
  totalCount: number;
2162
2191
  /**
2163
- * @description The items in the current page.
2192
+ * @description The page index.
2164
2193
  * @example 1
2165
2194
  */
2166
2195
  page: number;
2167
2196
  /**
2168
- * @description The items in the current page.
2197
+ * @description The maximum number of items per page.
2169
2198
  * @example 100
2170
2199
  */
2171
2200
  pageSize: number;
@@ -2185,17 +2214,17 @@ export interface components {
2185
2214
  /** @description Paginated response */
2186
2215
  BillingProfilePaginatedResponse: {
2187
2216
  /**
2188
- * @description The items in the current page.
2217
+ * @description The total number of items.
2189
2218
  * @example 500
2190
2219
  */
2191
2220
  totalCount: number;
2192
2221
  /**
2193
- * @description The items in the current page.
2222
+ * @description The page index.
2194
2223
  * @example 1
2195
2224
  */
2196
2225
  page: number;
2197
2226
  /**
2198
- * @description The items in the current page.
2227
+ * @description The maximum number of items per page.
2199
2228
  * @example 100
2200
2229
  */
2201
2230
  pageSize: number;
@@ -2269,7 +2298,7 @@ export interface components {
2269
2298
  * alignment.
2270
2299
  *
2271
2300
  * This is useful, in case of multiple subscriptions having slightly different billing periods.
2272
- * @default PT1H
2301
+ * @default PT2H
2273
2302
  * @example P1D
2274
2303
  */
2275
2304
  interval?: string;
@@ -2296,14 +2325,14 @@ export interface components {
2296
2325
  /**
2297
2326
  * Format: ISO8601
2298
2327
  * @description The period for the invoice to be kept in draft status for manual reviews.
2299
- * @default P1D
2328
+ * @default P0D
2300
2329
  * @example P1D
2301
2330
  */
2302
2331
  draftPeriod?: string;
2303
2332
  /**
2304
2333
  * Format: ISO8601
2305
2334
  * @description The period after which the invoice is due.
2306
- * @default P7D
2335
+ * @default P1W
2307
2336
  * @example P1D
2308
2337
  */
2309
2338
  dueAfter?: string;
@@ -2789,17 +2818,17 @@ export interface components {
2789
2818
  /** @description Paginated response */
2790
2819
  CustomerAppDataPaginatedResponse: {
2791
2820
  /**
2792
- * @description The items in the current page.
2821
+ * @description The total number of items.
2793
2822
  * @example 500
2794
2823
  */
2795
2824
  totalCount: number;
2796
2825
  /**
2797
- * @description The items in the current page.
2826
+ * @description The page index.
2798
2827
  * @example 1
2799
2828
  */
2800
2829
  page: number;
2801
2830
  /**
2802
- * @description The items in the current page.
2831
+ * @description The maximum number of items per page.
2803
2832
  * @example 100
2804
2833
  */
2805
2834
  pageSize: number;
@@ -2873,17 +2902,17 @@ export interface components {
2873
2902
  /** @description Paginated response */
2874
2903
  CustomerPaginatedResponse: {
2875
2904
  /**
2876
- * @description The items in the current page.
2905
+ * @description The total number of items.
2877
2906
  * @example 500
2878
2907
  */
2879
2908
  totalCount: number;
2880
2909
  /**
2881
- * @description The items in the current page.
2910
+ * @description The page index.
2882
2911
  * @example 1
2883
2912
  */
2884
2913
  page: number;
2885
2914
  /**
2886
- * @description The items in the current page.
2915
+ * @description The maximum number of items per page.
2887
2916
  * @example 100
2888
2917
  */
2889
2918
  pageSize: number;
@@ -3516,17 +3545,17 @@ export interface components {
3516
3545
  /** @description Paginated response */
3517
3546
  EntitlementPaginatedResponse: {
3518
3547
  /**
3519
- * @description The items in the current page.
3548
+ * @description The total number of items.
3520
3549
  * @example 500
3521
3550
  */
3522
3551
  totalCount: number;
3523
3552
  /**
3524
- * @description The items in the current page.
3553
+ * @description The page index.
3525
3554
  * @example 1
3526
3555
  */
3527
3556
  page: number;
3528
3557
  /**
3529
- * @description The items in the current page.
3558
+ * @description The maximum number of items per page.
3530
3559
  * @example 100
3531
3560
  */
3532
3561
  pageSize: number;
@@ -3879,23 +3908,81 @@ export interface components {
3879
3908
  /** @description Paginated response */
3880
3909
  FeaturePaginatedResponse: {
3881
3910
  /**
3882
- * @description The items in the current page.
3911
+ * @description The total number of items.
3883
3912
  * @example 500
3884
3913
  */
3885
3914
  totalCount: number;
3886
3915
  /**
3887
- * @description The items in the current page.
3916
+ * @description The page index.
3888
3917
  * @example 1
3889
3918
  */
3890
3919
  page: number;
3891
3920
  /**
3892
- * @description The items in the current page.
3921
+ * @description The maximum number of items per page.
3893
3922
  * @example 100
3894
3923
  */
3895
3924
  pageSize: number;
3896
3925
  /** @description The items in the current page. */
3897
3926
  items: components['schemas']['Feature'][];
3898
3927
  };
3928
+ /** @description A filter for a string field. */
3929
+ FilterString: {
3930
+ /** @description The field must be equal to the provided value. */
3931
+ $eq?: string | null;
3932
+ /** @description The field must not be equal to the provided value. */
3933
+ $ne?: string | null;
3934
+ /** @description The field must be in the provided list of values. */
3935
+ $in?: string[] | null;
3936
+ /** @description The field must not be in the provided list of values. */
3937
+ $nin?: string[] | null;
3938
+ /** @description The field must match the provided value. */
3939
+ $like?: string | null;
3940
+ /** @description The field must not match the provided value. */
3941
+ $nlike?: string | null;
3942
+ /** @description The field must match the provided value, ignoring case. */
3943
+ $ilike?: string | null;
3944
+ /** @description The field must not match the provided value, ignoring case. */
3945
+ $nilike?: string | null;
3946
+ /** @description The field must be greater than the provided value. */
3947
+ $gt?: string | null;
3948
+ /** @description The field must be greater than or equal to the provided value. */
3949
+ $gte?: string | null;
3950
+ /** @description The field must be less than the provided value. */
3951
+ $lt?: string | null;
3952
+ /** @description The field must be less than or equal to the provided value. */
3953
+ $lte?: string | null;
3954
+ /** @description Provide a list of filters to be combined with a logical AND. */
3955
+ $and?: components['schemas']['FilterString'][] | null;
3956
+ /** @description Provide a list of filters to be combined with a logical OR. */
3957
+ $or?: components['schemas']['FilterString'][] | null;
3958
+ };
3959
+ /** @description A filter for a time field. */
3960
+ FilterTime: {
3961
+ /**
3962
+ * Format: date-time
3963
+ * @description The field must be greater than the provided value.
3964
+ */
3965
+ $gt?: Date | null;
3966
+ /**
3967
+ * Format: date-time
3968
+ * @description The field must be greater than or equal to the provided value.
3969
+ */
3970
+ $gte?: Date | null;
3971
+ /**
3972
+ * Format: date-time
3973
+ * @description The field must be less than the provided value.
3974
+ */
3975
+ $lt?: Date | null;
3976
+ /**
3977
+ * Format: date-time
3978
+ * @description The field must be less than or equal to the provided value.
3979
+ */
3980
+ $lte?: Date | null;
3981
+ /** @description Provide a list of filters to be combined with a logical AND. */
3982
+ $and?: components['schemas']['FilterTime'][] | null;
3983
+ /** @description Provide a list of filters to be combined with a logical OR. */
3984
+ $or?: components['schemas']['FilterTime'][] | null;
3985
+ };
3899
3986
  /** @description Flat price. */
3900
3987
  FlatPrice: {
3901
3988
  /**
@@ -3985,17 +4072,17 @@ export interface components {
3985
4072
  /** @description Paginated response */
3986
4073
  GrantPaginatedResponse: {
3987
4074
  /**
3988
- * @description The items in the current page.
4075
+ * @description The total number of items.
3989
4076
  * @example 500
3990
4077
  */
3991
4078
  totalCount: number;
3992
4079
  /**
3993
- * @description The items in the current page.
4080
+ * @description The page index.
3994
4081
  * @example 1
3995
4082
  */
3996
4083
  page: number;
3997
4084
  /**
3998
- * @description The items in the current page.
4085
+ * @description The maximum number of items per page.
3999
4086
  * @example 100
4000
4087
  */
4001
4088
  pageSize: number;
@@ -4061,6 +4148,13 @@ export interface components {
4061
4148
  */
4062
4149
  storedAt: Date;
4063
4150
  };
4151
+ /** @description A response for cursor pagination. */
4152
+ IngestedEventCursorPaginatedResponse: {
4153
+ /** @description The items in the response. */
4154
+ items: components['schemas']['IngestedEvent'][];
4155
+ /** @description The cursor of the last item in the list. */
4156
+ nextCursor?: string;
4157
+ };
4064
4158
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
4065
4159
  InternalServerErrorProblemResponse: components['schemas']['UnexpectedProblemResponse'];
4066
4160
  /** @description Invoice represents an invoice in the system. */
@@ -4590,17 +4684,17 @@ export interface components {
4590
4684
  /** @description Paginated response */
4591
4685
  InvoicePaginatedResponse: {
4592
4686
  /**
4593
- * @description The items in the current page.
4687
+ * @description The total number of items.
4594
4688
  * @example 500
4595
4689
  */
4596
4690
  totalCount: number;
4597
4691
  /**
4598
- * @description The items in the current page.
4692
+ * @description The page index.
4599
4693
  * @example 1
4600
4694
  */
4601
4695
  page: number;
4602
4696
  /**
4603
- * @description The items in the current page.
4697
+ * @description The maximum number of items per page.
4604
4698
  * @example 100
4605
4699
  */
4606
4700
  pageSize: number;
@@ -5052,14 +5146,14 @@ export interface components {
5052
5146
  /**
5053
5147
  * Format: ISO8601
5054
5148
  * @description The period for the invoice to be kept in draft status for manual reviews.
5055
- * @default P1D
5149
+ * @default P0D
5056
5150
  * @example P1D
5057
5151
  */
5058
5152
  draftPeriod?: string;
5059
5153
  /**
5060
5154
  * Format: ISO8601
5061
5155
  * @description The period after which the invoice is due.
5062
- * @default P7D
5156
+ * @default P1W
5063
5157
  * @example P1D
5064
5158
  */
5065
5159
  dueAfter?: string;
@@ -5152,15 +5246,24 @@ export interface components {
5152
5246
  /** @description The app's capabilities. */
5153
5247
  capabilities: components['schemas']['AppCapability'][];
5154
5248
  };
5155
- /** @description A page of results. */
5156
- MarketplaceListingList: {
5157
- /** @description The page number. */
5249
+ /** @description Paginated response */
5250
+ MarketplaceListingPaginatedResponse: {
5251
+ /**
5252
+ * @description The total number of items.
5253
+ * @example 500
5254
+ */
5255
+ totalCount: number;
5256
+ /**
5257
+ * @description The page index.
5258
+ * @example 1
5259
+ */
5158
5260
  page: number;
5159
- /** @description The number of items in the page. */
5261
+ /**
5262
+ * @description The maximum number of items per page.
5263
+ * @example 100
5264
+ */
5160
5265
  pageSize: number;
5161
- /** @description The total number of items. */
5162
- totalCount: number;
5163
- /** @description The items in the page. */
5266
+ /** @description The items in the current page. */
5164
5267
  items: components['schemas']['MarketplaceListing'][];
5165
5268
  };
5166
5269
  /** @description Measure usage from */
@@ -5535,17 +5638,17 @@ export interface components {
5535
5638
  /** @description Paginated response */
5536
5639
  NotificationChannelPaginatedResponse: {
5537
5640
  /**
5538
- * @description The items in the current page.
5641
+ * @description The total number of items.
5539
5642
  * @example 500
5540
5643
  */
5541
5644
  totalCount: number;
5542
5645
  /**
5543
- * @description The items in the current page.
5646
+ * @description The page index.
5544
5647
  * @example 1
5545
5648
  */
5546
5649
  page: number;
5547
5650
  /**
5548
- * @description The items in the current page.
5651
+ * @description The maximum number of items per page.
5549
5652
  * @example 100
5550
5653
  */
5551
5654
  pageSize: number;
@@ -5785,17 +5888,17 @@ export interface components {
5785
5888
  /** @description Paginated response */
5786
5889
  NotificationEventPaginatedResponse: {
5787
5890
  /**
5788
- * @description The items in the current page.
5891
+ * @description The total number of items.
5789
5892
  * @example 500
5790
5893
  */
5791
5894
  totalCount: number;
5792
5895
  /**
5793
- * @description The items in the current page.
5896
+ * @description The page index.
5794
5897
  * @example 1
5795
5898
  */
5796
5899
  page: number;
5797
5900
  /**
5798
- * @description The items in the current page.
5901
+ * @description The maximum number of items per page.
5799
5902
  * @example 100
5800
5903
  */
5801
5904
  pageSize: number;
@@ -5943,17 +6046,17 @@ export interface components {
5943
6046
  /** @description Paginated response */
5944
6047
  NotificationRulePaginatedResponse: {
5945
6048
  /**
5946
- * @description The items in the current page.
6049
+ * @description The total number of items.
5947
6050
  * @example 500
5948
6051
  */
5949
6052
  totalCount: number;
5950
6053
  /**
5951
- * @description The items in the current page.
6054
+ * @description The page index.
5952
6055
  * @example 1
5953
6056
  */
5954
6057
  page: number;
5955
6058
  /**
5956
- * @description The items in the current page.
6059
+ * @description The maximum number of items per page.
5957
6060
  * @example 100
5958
6061
  */
5959
6062
  pageSize: number;
@@ -6174,17 +6277,17 @@ export interface components {
6174
6277
  /** @description Paginated response */
6175
6278
  PlanPaginatedResponse: {
6176
6279
  /**
6177
- * @description The items in the current page.
6280
+ * @description The total number of items.
6178
6281
  * @example 500
6179
6282
  */
6180
6283
  totalCount: number;
6181
6284
  /**
6182
- * @description The items in the current page.
6285
+ * @description The page index.
6183
6286
  * @example 1
6184
6287
  */
6185
6288
  page: number;
6186
6289
  /**
6187
- * @description The items in the current page.
6290
+ * @description The maximum number of items per page.
6188
6291
  * @example 100
6189
6292
  */
6190
6293
  pageSize: number;
@@ -7310,7 +7413,7 @@ export interface components {
7310
7413
  * When null, the feature or service is free.
7311
7414
  * @example {}
7312
7415
  */
7313
- price: components['schemas']['SubscriptionItemPrice'] | null;
7416
+ price: components['schemas']['RateCardUsageBasedPrice'] | null;
7314
7417
  /** @description Describes what access is gained via the SubscriptionItem */
7315
7418
  included?: components['schemas']['SubscriptionItemIncluded'];
7316
7419
  /**
@@ -7327,22 +7430,20 @@ export interface components {
7327
7430
  /** @description The entitlement of the Subscription Item. */
7328
7431
  entitlement?: components['schemas']['Entitlement'];
7329
7432
  };
7330
- /** @description The price of the Subscription Item. */
7331
- SubscriptionItemPrice: components['schemas']['FlatPriceWithPaymentTerm'] | components['schemas']['UnitPriceWithCommitments'] | components['schemas']['TieredPriceWithCommitments'];
7332
7433
  /** @description Paginated response */
7333
7434
  SubscriptionPaginatedResponse: {
7334
7435
  /**
7335
- * @description The items in the current page.
7436
+ * @description The total number of items.
7336
7437
  * @example 500
7337
7438
  */
7338
7439
  totalCount: number;
7339
7440
  /**
7340
- * @description The items in the current page.
7441
+ * @description The page index.
7341
7442
  * @example 1
7342
7443
  */
7343
7444
  page: number;
7344
7445
  /**
7345
- * @description The items in the current page.
7446
+ * @description The maximum number of items per page.
7346
7447
  * @example 100
7347
7448
  */
7348
7449
  pageSize: number;
@@ -7785,6 +7886,10 @@ export interface components {
7785
7886
  'BillingProfileOrderByOrdering.order': components['schemas']['SortOrder'];
7786
7887
  /** @description The order by field. */
7787
7888
  'BillingProfileOrderByOrdering.orderBy': components['schemas']['BillingProfileOrderBy'];
7889
+ /** @description The cursor after which to start the pagination. */
7890
+ 'CursorPagination.cursor': string;
7891
+ /** @description The limit of the pagination. */
7892
+ 'CursorPagination.limit': number;
7788
7893
  /** @description The order direction. */
7789
7894
  'CustomerOrderByOrdering.order': components['schemas']['SortOrder'];
7790
7895
  /** @description The order by field. */
@@ -7887,15 +7992,11 @@ export interface components {
7887
7992
  * Unique, randomly generated, opaque, and non-guessable string that is sent
7888
7993
  * when starting an authentication request and validated when processing the response. */
7889
7994
  'OAuth2AuthorizationCodeGrantSuccessParams.state': string;
7890
- /** @description The page number. */
7891
- 'PaginatedQuery.page': number;
7892
- /** @description The number of items in the page. */
7893
- 'PaginatedQuery.pageSize': number;
7894
- /** @description Start date-time in RFC 3339 format.
7995
+ /** @description Page index.
7895
7996
  *
7896
- * Inclusive. */
7997
+ * Default is 1. */
7897
7998
  'Pagination.page': number;
7898
- /** @description Number of items per page.
7999
+ /** @description The maximum number of items per page.
7899
8000
  *
7900
8001
  * Default is 100. */
7901
8002
  'Pagination.pageSize': number;
@@ -7933,7 +8034,7 @@ export type App = components['schemas']['App'];
7933
8034
  export type AppBaseReplaceUpdate = components['schemas']['AppBaseReplaceUpdate'];
7934
8035
  export type AppCapability = components['schemas']['AppCapability'];
7935
8036
  export type AppCapabilityType = components['schemas']['AppCapabilityType'];
7936
- export type AppList = components['schemas']['AppList'];
8037
+ export type AppPaginatedResponse = components['schemas']['AppPaginatedResponse'];
7937
8038
  export type AppReference = components['schemas']['AppReference'];
7938
8039
  export type AppStatus = components['schemas']['AppStatus'];
7939
8040
  export type AppType = components['schemas']['AppType'];
@@ -8035,6 +8136,8 @@ export type FeatureCreateInputs = components['schemas']['FeatureCreateInputs'];
8035
8136
  export type FeatureMeta = components['schemas']['FeatureMeta'];
8036
8137
  export type FeatureOrderBy = components['schemas']['FeatureOrderBy'];
8037
8138
  export type FeaturePaginatedResponse = components['schemas']['FeaturePaginatedResponse'];
8139
+ export type FilterString = components['schemas']['FilterString'];
8140
+ export type FilterTime = components['schemas']['FilterTime'];
8038
8141
  export type FlatPrice = components['schemas']['FlatPrice'];
8039
8142
  export type FlatPriceWithPaymentTerm = components['schemas']['FlatPriceWithPaymentTerm'];
8040
8143
  export type ForbiddenProblemResponse = components['schemas']['ForbiddenProblemResponse'];
@@ -8046,6 +8149,7 @@ export type GrantUsageRecord = components['schemas']['GrantUsageRecord'];
8046
8149
  export type IdResource = components['schemas']['IDResource'];
8047
8150
  export type IngestEventsBody = components['schemas']['IngestEventsBody'];
8048
8151
  export type IngestedEvent = components['schemas']['IngestedEvent'];
8152
+ export type IngestedEventCursorPaginatedResponse = components['schemas']['IngestedEventCursorPaginatedResponse'];
8049
8153
  export type InternalServerErrorProblemResponse = components['schemas']['InternalServerErrorProblemResponse'];
8050
8154
  export type Invoice = components['schemas']['Invoice'];
8051
8155
  export type InvoiceAppExternalIds = components['schemas']['InvoiceAppExternalIds'];
@@ -8097,7 +8201,7 @@ export type ListEntitlementsResult = components['schemas']['ListEntitlementsResu
8097
8201
  export type ListFeaturesResult = components['schemas']['ListFeaturesResult'];
8098
8202
  export type MarketplaceInstallResponse = components['schemas']['MarketplaceInstallResponse'];
8099
8203
  export type MarketplaceListing = components['schemas']['MarketplaceListing'];
8100
- export type MarketplaceListingList = components['schemas']['MarketplaceListingList'];
8204
+ export type MarketplaceListingPaginatedResponse = components['schemas']['MarketplaceListingPaginatedResponse'];
8101
8205
  export type MeasureUsageFrom = components['schemas']['MeasureUsageFrom'];
8102
8206
  export type MeasureUsageFromPreset = components['schemas']['MeasureUsageFromPreset'];
8103
8207
  export type MeasureUsageFromTime = components['schemas']['MeasureUsageFromTime'];
@@ -8196,7 +8300,6 @@ export type SubscriptionEditOperation = components['schemas']['SubscriptionEditO
8196
8300
  export type SubscriptionExpanded = components['schemas']['SubscriptionExpanded'];
8197
8301
  export type SubscriptionItem = components['schemas']['SubscriptionItem'];
8198
8302
  export type SubscriptionItemIncluded = components['schemas']['SubscriptionItemIncluded'];
8199
- export type SubscriptionItemPrice = components['schemas']['SubscriptionItemPrice'];
8200
8303
  export type SubscriptionPaginatedResponse = components['schemas']['SubscriptionPaginatedResponse'];
8201
8304
  export type SubscriptionPhaseCreate = components['schemas']['SubscriptionPhaseCreate'];
8202
8305
  export type SubscriptionPhaseExpanded = components['schemas']['SubscriptionPhaseExpanded'];
@@ -8236,6 +8339,8 @@ export type ParameterBillingProfileListCustomerOverridesParamsExpand = component
8236
8339
  export type ParameterBillingProfileListCustomerOverridesParamsIncludeAllCustomers = components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8237
8340
  export type ParameterBillingProfileOrderByOrderingOrder = components['parameters']['BillingProfileOrderByOrdering.order'];
8238
8341
  export type ParameterBillingProfileOrderByOrderingOrderBy = components['parameters']['BillingProfileOrderByOrdering.orderBy'];
8342
+ export type ParameterCursorPaginationCursor = components['parameters']['CursorPagination.cursor'];
8343
+ export type ParameterCursorPaginationLimit = components['parameters']['CursorPagination.limit'];
8239
8344
  export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
8240
8345
  export type ParameterCustomerOrderByOrderingOrderBy = components['parameters']['CustomerOrderByOrdering.orderBy'];
8241
8346
  export type ParameterEntitlementOrderByOrderingOrder = components['parameters']['EntitlementOrderByOrdering.order'];
@@ -8276,8 +8381,6 @@ export type ParameterOAuth2AuthorizationCodeGrantErrorParamsErrorDescription = c
8276
8381
  export type ParameterOAuth2AuthorizationCodeGrantErrorParamsErrorUri = components['parameters']['OAuth2AuthorizationCodeGrantErrorParams.error_uri'];
8277
8382
  export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsCode = components['parameters']['OAuth2AuthorizationCodeGrantSuccessParams.code'];
8278
8383
  export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsState = components['parameters']['OAuth2AuthorizationCodeGrantSuccessParams.state'];
8279
- export type ParameterPaginatedQueryPage = components['parameters']['PaginatedQuery.page'];
8280
- export type ParameterPaginatedQueryPageSize = components['parameters']['PaginatedQuery.pageSize'];
8281
8384
  export type ParameterPaginationPage = components['parameters']['Pagination.page'];
8282
8385
  export type ParameterPaginationPageSize = components['parameters']['Pagination.pageSize'];
8283
8386
  export type ParameterPlanOrderByOrderingOrder = components['parameters']['PlanOrderByOrdering.order'];
@@ -8294,10 +8397,14 @@ export interface operations {
8294
8397
  listApps: {
8295
8398
  parameters: {
8296
8399
  query?: {
8297
- /** @description The page number. */
8298
- page?: components['parameters']['PaginatedQuery.page'];
8299
- /** @description The number of items in the page. */
8300
- pageSize?: components['parameters']['PaginatedQuery.pageSize'];
8400
+ /** @description Page index.
8401
+ *
8402
+ * Default is 1. */
8403
+ page?: components['parameters']['Pagination.page'];
8404
+ /** @description The maximum number of items per page.
8405
+ *
8406
+ * Default is 100. */
8407
+ pageSize?: components['parameters']['Pagination.pageSize'];
8301
8408
  };
8302
8409
  header?: never;
8303
8410
  path?: never;
@@ -8311,7 +8418,7 @@ export interface operations {
8311
8418
  [name: string]: unknown;
8312
8419
  };
8313
8420
  content: {
8314
- 'application/json': components['schemas']['AppList'];
8421
+ 'application/json': components['schemas']['AppPaginatedResponse'];
8315
8422
  };
8316
8423
  };
8317
8424
  /** @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). */
@@ -8873,11 +8980,11 @@ export interface operations {
8873
8980
  order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8874
8981
  /** @description The order by field. */
8875
8982
  orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8876
- /** @description Start date-time in RFC 3339 format.
8983
+ /** @description Page index.
8877
8984
  *
8878
- * Inclusive. */
8985
+ * Default is 1. */
8879
8986
  page?: components['parameters']['Pagination.page'];
8880
- /** @description Number of items per page.
8987
+ /** @description The maximum number of items per page.
8881
8988
  *
8882
8989
  * Default is 100. */
8883
8990
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -9354,11 +9461,11 @@ export interface operations {
9354
9461
  customers?: components['parameters']['InvoiceListParams.customers'];
9355
9462
  /** @description Include deleted invoices */
9356
9463
  includeDeleted?: components['parameters']['InvoiceListParams.includeDeleted'];
9357
- /** @description Start date-time in RFC 3339 format.
9464
+ /** @description Page index.
9358
9465
  *
9359
- * Inclusive. */
9466
+ * Default is 1. */
9360
9467
  page?: components['parameters']['Pagination.page'];
9361
- /** @description Number of items per page.
9468
+ /** @description The maximum number of items per page.
9362
9469
  *
9363
9470
  * Default is 100. */
9364
9471
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -10387,11 +10494,11 @@ export interface operations {
10387
10494
  query?: {
10388
10495
  includeArchived?: boolean;
10389
10496
  expand?: components['schemas']['BillingProfileExpand'][];
10390
- /** @description Start date-time in RFC 3339 format.
10497
+ /** @description Page index.
10391
10498
  *
10392
- * Inclusive. */
10499
+ * Default is 1. */
10393
10500
  page?: components['parameters']['Pagination.page'];
10394
- /** @description Number of items per page.
10501
+ /** @description The maximum number of items per page.
10395
10502
  *
10396
10503
  * Default is 100. */
10397
10504
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -10856,10 +10963,14 @@ export interface operations {
10856
10963
  listCustomers: {
10857
10964
  parameters: {
10858
10965
  query?: {
10859
- /** @description The page number. */
10860
- page?: components['parameters']['PaginatedQuery.page'];
10861
- /** @description The number of items in the page. */
10862
- pageSize?: components['parameters']['PaginatedQuery.pageSize'];
10966
+ /** @description Page index.
10967
+ *
10968
+ * Default is 1. */
10969
+ page?: components['parameters']['Pagination.page'];
10970
+ /** @description The maximum number of items per page.
10971
+ *
10972
+ * Default is 100. */
10973
+ pageSize?: components['parameters']['Pagination.pageSize'];
10863
10974
  /** @description The order direction. */
10864
10975
  order?: components['parameters']['CustomerOrderByOrdering.order'];
10865
10976
  /** @description The order by field. */
@@ -11051,10 +11162,14 @@ export interface operations {
11051
11162
  listCustomerAppData: {
11052
11163
  parameters: {
11053
11164
  query?: {
11054
- /** @description The page number. */
11055
- page?: components['parameters']['PaginatedQuery.page'];
11056
- /** @description The number of items in the page. */
11057
- pageSize?: components['parameters']['PaginatedQuery.pageSize'];
11165
+ /** @description Page index.
11166
+ *
11167
+ * Default is 1. */
11168
+ page?: components['parameters']['Pagination.page'];
11169
+ /** @description The maximum number of items per page.
11170
+ *
11171
+ * Default is 100. */
11172
+ pageSize?: components['parameters']['Pagination.pageSize'];
11058
11173
  /** @description Filter customer data by app type. */
11059
11174
  type?: components['parameters']['queryCustomerList.type'];
11060
11175
  };
@@ -11440,10 +11555,14 @@ export interface operations {
11440
11555
  listCustomerSubscriptions: {
11441
11556
  parameters: {
11442
11557
  query?: {
11443
- /** @description The page number. */
11444
- page?: components['parameters']['PaginatedQuery.page'];
11445
- /** @description The number of items in the page. */
11446
- pageSize?: components['parameters']['PaginatedQuery.pageSize'];
11558
+ /** @description Page index.
11559
+ *
11560
+ * Default is 1. */
11561
+ page?: components['parameters']['Pagination.page'];
11562
+ /** @description The maximum number of items per page.
11563
+ *
11564
+ * Default is 100. */
11565
+ pageSize?: components['parameters']['Pagination.pageSize'];
11447
11566
  };
11448
11567
  header?: never;
11449
11568
  path: {
@@ -11920,11 +12039,11 @@ export interface operations {
11920
12039
  entitlementType?: components['schemas']['EntitlementType'][];
11921
12040
  /** @description Exclude inactive entitlements in the response (those scheduled for later or earlier) */
11922
12041
  excludeInactive?: boolean;
11923
- /** @description Start date-time in RFC 3339 format.
12042
+ /** @description Page index.
11924
12043
  *
11925
- * Inclusive. */
12044
+ * Default is 1. */
11926
12045
  page?: components['parameters']['Pagination.page'];
11927
- /** @description Number of items per page.
12046
+ /** @description The maximum number of items per page.
11928
12047
  *
11929
12048
  * Default is 100. */
11930
12049
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -12322,11 +12441,11 @@ export interface operations {
12322
12441
  meterSlug?: string[];
12323
12442
  /** @description Filter by meterGroupByFilters */
12324
12443
  includeArchived?: boolean;
12325
- /** @description Start date-time in RFC 3339 format.
12444
+ /** @description Page index.
12326
12445
  *
12327
- * Inclusive. */
12446
+ * Default is 1. */
12328
12447
  page?: components['parameters']['Pagination.page'];
12329
- /** @description Number of items per page.
12448
+ /** @description The maximum number of items per page.
12330
12449
  *
12331
12450
  * Default is 100. */
12332
12451
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -12709,11 +12828,11 @@ export interface operations {
12709
12828
  subject?: string[];
12710
12829
  /** @description Include deleted */
12711
12830
  includeDeleted?: boolean;
12712
- /** @description Start date-time in RFC 3339 format.
12831
+ /** @description Page index.
12713
12832
  *
12714
- * Inclusive. */
12833
+ * Default is 1. */
12715
12834
  page?: components['parameters']['Pagination.page'];
12716
- /** @description Number of items per page.
12835
+ /** @description The maximum number of items per page.
12717
12836
  *
12718
12837
  * Default is 100. */
12719
12838
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -13091,10 +13210,14 @@ export interface operations {
13091
13210
  listMarketplaceListings: {
13092
13211
  parameters: {
13093
13212
  query?: {
13094
- /** @description The page number. */
13095
- page?: components['parameters']['PaginatedQuery.page'];
13096
- /** @description The number of items in the page. */
13097
- pageSize?: components['parameters']['PaginatedQuery.pageSize'];
13213
+ /** @description Page index.
13214
+ *
13215
+ * Default is 1. */
13216
+ page?: components['parameters']['Pagination.page'];
13217
+ /** @description The maximum number of items per page.
13218
+ *
13219
+ * Default is 100. */
13220
+ pageSize?: components['parameters']['Pagination.pageSize'];
13098
13221
  };
13099
13222
  header?: never;
13100
13223
  path?: never;
@@ -13108,7 +13231,7 @@ export interface operations {
13108
13231
  [name: string]: unknown;
13109
13232
  };
13110
13233
  content: {
13111
- 'application/json': components['schemas']['MarketplaceListingList'];
13234
+ 'application/json': components['schemas']['MarketplaceListingPaginatedResponse'];
13112
13235
  };
13113
13236
  };
13114
13237
  /** @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). */
@@ -14199,11 +14322,11 @@ export interface operations {
14199
14322
  *
14200
14323
  * Usage: `?includeDisabled=false` */
14201
14324
  includeDisabled?: boolean;
14202
- /** @description Start date-time in RFC 3339 format.
14325
+ /** @description Page index.
14203
14326
  *
14204
- * Inclusive. */
14327
+ * Default is 1. */
14205
14328
  page?: components['parameters']['Pagination.page'];
14206
- /** @description Number of items per page.
14329
+ /** @description The maximum number of items per page.
14207
14330
  *
14208
14331
  * Default is 100. */
14209
14332
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -14688,11 +14811,11 @@ export interface operations {
14688
14811
  *
14689
14812
  * Usage: `?channel=01J8J4RXH778XB056JS088PCYT&channel=01J8J4S1R1G9EVN62RG23A9M6J` */
14690
14813
  channel?: string[];
14691
- /** @description Start date-time in RFC 3339 format.
14814
+ /** @description Page index.
14692
14815
  *
14693
- * Inclusive. */
14816
+ * Default is 1. */
14694
14817
  page?: components['parameters']['Pagination.page'];
14695
- /** @description Number of items per page.
14818
+ /** @description The maximum number of items per page.
14696
14819
  *
14697
14820
  * Default is 100. */
14698
14821
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -14894,11 +15017,11 @@ export interface operations {
14894
15017
  *
14895
15018
  * Usage: `?channel=01ARZ3NDEKTSV4RRFFQ69G5FAV&channel=01J8J2Y5X4NNGQS32CF81W95E3` */
14896
15019
  channel?: string[];
14897
- /** @description Start date-time in RFC 3339 format.
15020
+ /** @description Page index.
14898
15021
  *
14899
- * Inclusive. */
15022
+ * Default is 1. */
14900
15023
  page?: components['parameters']['Pagination.page'];
14901
- /** @description Number of items per page.
15024
+ /** @description The maximum number of items per page.
14902
15025
  *
14903
15026
  * Default is 100. */
14904
15027
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -15561,11 +15684,11 @@ export interface operations {
15561
15684
  status?: components['schemas']['PlanStatus'][];
15562
15685
  /** @description Filter by plan.currency attribute */
15563
15686
  currency?: components['schemas']['CurrencyCode'][];
15564
- /** @description Start date-time in RFC 3339 format.
15687
+ /** @description Page index.
15565
15688
  *
15566
- * Inclusive. */
15689
+ * Default is 1. */
15567
15690
  page?: components['parameters']['Pagination.page'];
15568
- /** @description Number of items per page.
15691
+ /** @description The maximum number of items per page.
15569
15692
  *
15570
15693
  * Default is 100. */
15571
15694
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -18925,6 +19048,115 @@ export interface operations {
18925
19048
  };
18926
19049
  };
18927
19050
  };
19051
+ listEventsV2: {
19052
+ parameters: {
19053
+ query?: {
19054
+ /** @description The cursor after which to start the pagination. */
19055
+ cursor?: components['parameters']['CursorPagination.cursor'];
19056
+ /** @description The limit of the pagination. */
19057
+ limit?: components['parameters']['CursorPagination.limit'];
19058
+ /** @description Client ID
19059
+ * Useful to track progress of a query. */
19060
+ clientId?: string;
19061
+ /** @description The event ID filter.
19062
+ * Example: `?id[$eq]=my-event-id` */
19063
+ id?: components['schemas']['FilterString'];
19064
+ /** @description The event source filter.
19065
+ * Example: `?source[$eq]=my-event-source` */
19066
+ source?: components['schemas']['FilterString'];
19067
+ /** @description The event subject filter.
19068
+ * Example: `?subject[$eq]=my-event-subject` */
19069
+ subject?: components['schemas']['FilterString'];
19070
+ /** @description The event type filter.
19071
+ * Example: `?type[$eq]=my-event-type` */
19072
+ type?: components['schemas']['FilterString'];
19073
+ /** @description The event time filter.
19074
+ * Example: `?time[$and][0][$gte]=2025-01-01T00:00:00Z&time[$and][1][$lte]=2025-01-02T00:00:00Z` */
19075
+ time?: components['schemas']['FilterTime'];
19076
+ /** @description The ingested at filter.
19077
+ * Example: `?ingestedAt[$and][0][$gte]=2025-01-01T00:00:00Z&ingestedAt[$and][1][$lte]=2025-01-02T00:00:00Z` */
19078
+ ingestedAt?: components['schemas']['FilterTime'];
19079
+ };
19080
+ header?: never;
19081
+ path?: never;
19082
+ cookie?: never;
19083
+ };
19084
+ requestBody?: never;
19085
+ responses: {
19086
+ /** @description The request has succeeded. */
19087
+ 200: {
19088
+ headers: {
19089
+ [name: string]: unknown;
19090
+ };
19091
+ content: {
19092
+ 'application/json': components['schemas']['IngestedEventCursorPaginatedResponse'];
19093
+ };
19094
+ };
19095
+ /** @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). */
19096
+ 400: {
19097
+ headers: {
19098
+ [name: string]: unknown;
19099
+ };
19100
+ content: {
19101
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
19102
+ };
19103
+ };
19104
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
19105
+ 401: {
19106
+ headers: {
19107
+ [name: string]: unknown;
19108
+ };
19109
+ content: {
19110
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
19111
+ };
19112
+ };
19113
+ /** @description The server understood the request but refuses to authorize it. */
19114
+ 403: {
19115
+ headers: {
19116
+ [name: string]: unknown;
19117
+ };
19118
+ content: {
19119
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
19120
+ };
19121
+ };
19122
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
19123
+ 412: {
19124
+ headers: {
19125
+ [name: string]: unknown;
19126
+ };
19127
+ content: {
19128
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
19129
+ };
19130
+ };
19131
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
19132
+ 500: {
19133
+ headers: {
19134
+ [name: string]: unknown;
19135
+ };
19136
+ content: {
19137
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
19138
+ };
19139
+ };
19140
+ /** @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. */
19141
+ 503: {
19142
+ headers: {
19143
+ [name: string]: unknown;
19144
+ };
19145
+ content: {
19146
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
19147
+ };
19148
+ };
19149
+ /** @description An unexpected error response. */
19150
+ default: {
19151
+ headers: {
19152
+ [name: string]: unknown;
19153
+ };
19154
+ content: {
19155
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
19156
+ };
19157
+ };
19158
+ };
19159
+ };
18928
19160
  }
18929
19161
  type WithRequired<T, K extends keyof T> = T & {
18930
19162
  [P in K]-?: T[P];