@openmeter/sdk 1.0.0-beta-97e1e0e5ce75 → 1.0.0-beta-a500ecd192da

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;
@@ -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;
@@ -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;
@@ -7330,17 +7433,17 @@ export interface components {
7330
7433
  /** @description Paginated response */
7331
7434
  SubscriptionPaginatedResponse: {
7332
7435
  /**
7333
- * @description The items in the current page.
7436
+ * @description The total number of items.
7334
7437
  * @example 500
7335
7438
  */
7336
7439
  totalCount: number;
7337
7440
  /**
7338
- * @description The items in the current page.
7441
+ * @description The page index.
7339
7442
  * @example 1
7340
7443
  */
7341
7444
  page: number;
7342
7445
  /**
7343
- * @description The items in the current page.
7446
+ * @description The maximum number of items per page.
7344
7447
  * @example 100
7345
7448
  */
7346
7449
  pageSize: number;
@@ -7783,6 +7886,10 @@ export interface components {
7783
7886
  'BillingProfileOrderByOrdering.order': components['schemas']['SortOrder'];
7784
7887
  /** @description The order by field. */
7785
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;
7786
7893
  /** @description The order direction. */
7787
7894
  'CustomerOrderByOrdering.order': components['schemas']['SortOrder'];
7788
7895
  /** @description The order by field. */
@@ -7885,15 +7992,11 @@ export interface components {
7885
7992
  * Unique, randomly generated, opaque, and non-guessable string that is sent
7886
7993
  * when starting an authentication request and validated when processing the response. */
7887
7994
  'OAuth2AuthorizationCodeGrantSuccessParams.state': string;
7888
- /** @description The page number. */
7889
- 'PaginatedQuery.page': number;
7890
- /** @description The number of items in the page. */
7891
- 'PaginatedQuery.pageSize': number;
7892
- /** @description Start date-time in RFC 3339 format.
7995
+ /** @description Page index.
7893
7996
  *
7894
- * Inclusive. */
7997
+ * Default is 1. */
7895
7998
  'Pagination.page': number;
7896
- /** @description Number of items per page.
7999
+ /** @description The maximum number of items per page.
7897
8000
  *
7898
8001
  * Default is 100. */
7899
8002
  'Pagination.pageSize': number;
@@ -7931,7 +8034,7 @@ export type App = components['schemas']['App'];
7931
8034
  export type AppBaseReplaceUpdate = components['schemas']['AppBaseReplaceUpdate'];
7932
8035
  export type AppCapability = components['schemas']['AppCapability'];
7933
8036
  export type AppCapabilityType = components['schemas']['AppCapabilityType'];
7934
- export type AppList = components['schemas']['AppList'];
8037
+ export type AppPaginatedResponse = components['schemas']['AppPaginatedResponse'];
7935
8038
  export type AppReference = components['schemas']['AppReference'];
7936
8039
  export type AppStatus = components['schemas']['AppStatus'];
7937
8040
  export type AppType = components['schemas']['AppType'];
@@ -8033,6 +8136,8 @@ export type FeatureCreateInputs = components['schemas']['FeatureCreateInputs'];
8033
8136
  export type FeatureMeta = components['schemas']['FeatureMeta'];
8034
8137
  export type FeatureOrderBy = components['schemas']['FeatureOrderBy'];
8035
8138
  export type FeaturePaginatedResponse = components['schemas']['FeaturePaginatedResponse'];
8139
+ export type FilterString = components['schemas']['FilterString'];
8140
+ export type FilterTime = components['schemas']['FilterTime'];
8036
8141
  export type FlatPrice = components['schemas']['FlatPrice'];
8037
8142
  export type FlatPriceWithPaymentTerm = components['schemas']['FlatPriceWithPaymentTerm'];
8038
8143
  export type ForbiddenProblemResponse = components['schemas']['ForbiddenProblemResponse'];
@@ -8044,6 +8149,7 @@ export type GrantUsageRecord = components['schemas']['GrantUsageRecord'];
8044
8149
  export type IdResource = components['schemas']['IDResource'];
8045
8150
  export type IngestEventsBody = components['schemas']['IngestEventsBody'];
8046
8151
  export type IngestedEvent = components['schemas']['IngestedEvent'];
8152
+ export type IngestedEventCursorPaginatedResponse = components['schemas']['IngestedEventCursorPaginatedResponse'];
8047
8153
  export type InternalServerErrorProblemResponse = components['schemas']['InternalServerErrorProblemResponse'];
8048
8154
  export type Invoice = components['schemas']['Invoice'];
8049
8155
  export type InvoiceAppExternalIds = components['schemas']['InvoiceAppExternalIds'];
@@ -8095,7 +8201,7 @@ export type ListEntitlementsResult = components['schemas']['ListEntitlementsResu
8095
8201
  export type ListFeaturesResult = components['schemas']['ListFeaturesResult'];
8096
8202
  export type MarketplaceInstallResponse = components['schemas']['MarketplaceInstallResponse'];
8097
8203
  export type MarketplaceListing = components['schemas']['MarketplaceListing'];
8098
- export type MarketplaceListingList = components['schemas']['MarketplaceListingList'];
8204
+ export type MarketplaceListingPaginatedResponse = components['schemas']['MarketplaceListingPaginatedResponse'];
8099
8205
  export type MeasureUsageFrom = components['schemas']['MeasureUsageFrom'];
8100
8206
  export type MeasureUsageFromPreset = components['schemas']['MeasureUsageFromPreset'];
8101
8207
  export type MeasureUsageFromTime = components['schemas']['MeasureUsageFromTime'];
@@ -8233,6 +8339,8 @@ export type ParameterBillingProfileListCustomerOverridesParamsExpand = component
8233
8339
  export type ParameterBillingProfileListCustomerOverridesParamsIncludeAllCustomers = components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8234
8340
  export type ParameterBillingProfileOrderByOrderingOrder = components['parameters']['BillingProfileOrderByOrdering.order'];
8235
8341
  export type ParameterBillingProfileOrderByOrderingOrderBy = components['parameters']['BillingProfileOrderByOrdering.orderBy'];
8342
+ export type ParameterCursorPaginationCursor = components['parameters']['CursorPagination.cursor'];
8343
+ export type ParameterCursorPaginationLimit = components['parameters']['CursorPagination.limit'];
8236
8344
  export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
8237
8345
  export type ParameterCustomerOrderByOrderingOrderBy = components['parameters']['CustomerOrderByOrdering.orderBy'];
8238
8346
  export type ParameterEntitlementOrderByOrderingOrder = components['parameters']['EntitlementOrderByOrdering.order'];
@@ -8273,8 +8381,6 @@ export type ParameterOAuth2AuthorizationCodeGrantErrorParamsErrorDescription = c
8273
8381
  export type ParameterOAuth2AuthorizationCodeGrantErrorParamsErrorUri = components['parameters']['OAuth2AuthorizationCodeGrantErrorParams.error_uri'];
8274
8382
  export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsCode = components['parameters']['OAuth2AuthorizationCodeGrantSuccessParams.code'];
8275
8383
  export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsState = components['parameters']['OAuth2AuthorizationCodeGrantSuccessParams.state'];
8276
- export type ParameterPaginatedQueryPage = components['parameters']['PaginatedQuery.page'];
8277
- export type ParameterPaginatedQueryPageSize = components['parameters']['PaginatedQuery.pageSize'];
8278
8384
  export type ParameterPaginationPage = components['parameters']['Pagination.page'];
8279
8385
  export type ParameterPaginationPageSize = components['parameters']['Pagination.pageSize'];
8280
8386
  export type ParameterPlanOrderByOrderingOrder = components['parameters']['PlanOrderByOrdering.order'];
@@ -8291,10 +8397,14 @@ export interface operations {
8291
8397
  listApps: {
8292
8398
  parameters: {
8293
8399
  query?: {
8294
- /** @description The page number. */
8295
- page?: components['parameters']['PaginatedQuery.page'];
8296
- /** @description The number of items in the page. */
8297
- 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'];
8298
8408
  };
8299
8409
  header?: never;
8300
8410
  path?: never;
@@ -8308,7 +8418,7 @@ export interface operations {
8308
8418
  [name: string]: unknown;
8309
8419
  };
8310
8420
  content: {
8311
- 'application/json': components['schemas']['AppList'];
8421
+ 'application/json': components['schemas']['AppPaginatedResponse'];
8312
8422
  };
8313
8423
  };
8314
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). */
@@ -8870,11 +8980,11 @@ export interface operations {
8870
8980
  order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8871
8981
  /** @description The order by field. */
8872
8982
  orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8873
- /** @description Start date-time in RFC 3339 format.
8983
+ /** @description Page index.
8874
8984
  *
8875
- * Inclusive. */
8985
+ * Default is 1. */
8876
8986
  page?: components['parameters']['Pagination.page'];
8877
- /** @description Number of items per page.
8987
+ /** @description The maximum number of items per page.
8878
8988
  *
8879
8989
  * Default is 100. */
8880
8990
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -9351,11 +9461,11 @@ export interface operations {
9351
9461
  customers?: components['parameters']['InvoiceListParams.customers'];
9352
9462
  /** @description Include deleted invoices */
9353
9463
  includeDeleted?: components['parameters']['InvoiceListParams.includeDeleted'];
9354
- /** @description Start date-time in RFC 3339 format.
9464
+ /** @description Page index.
9355
9465
  *
9356
- * Inclusive. */
9466
+ * Default is 1. */
9357
9467
  page?: components['parameters']['Pagination.page'];
9358
- /** @description Number of items per page.
9468
+ /** @description The maximum number of items per page.
9359
9469
  *
9360
9470
  * Default is 100. */
9361
9471
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -10384,11 +10494,11 @@ export interface operations {
10384
10494
  query?: {
10385
10495
  includeArchived?: boolean;
10386
10496
  expand?: components['schemas']['BillingProfileExpand'][];
10387
- /** @description Start date-time in RFC 3339 format.
10497
+ /** @description Page index.
10388
10498
  *
10389
- * Inclusive. */
10499
+ * Default is 1. */
10390
10500
  page?: components['parameters']['Pagination.page'];
10391
- /** @description Number of items per page.
10501
+ /** @description The maximum number of items per page.
10392
10502
  *
10393
10503
  * Default is 100. */
10394
10504
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -10853,10 +10963,14 @@ export interface operations {
10853
10963
  listCustomers: {
10854
10964
  parameters: {
10855
10965
  query?: {
10856
- /** @description The page number. */
10857
- page?: components['parameters']['PaginatedQuery.page'];
10858
- /** @description The number of items in the page. */
10859
- 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'];
10860
10974
  /** @description The order direction. */
10861
10975
  order?: components['parameters']['CustomerOrderByOrdering.order'];
10862
10976
  /** @description The order by field. */
@@ -11048,10 +11162,14 @@ export interface operations {
11048
11162
  listCustomerAppData: {
11049
11163
  parameters: {
11050
11164
  query?: {
11051
- /** @description The page number. */
11052
- page?: components['parameters']['PaginatedQuery.page'];
11053
- /** @description The number of items in the page. */
11054
- 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'];
11055
11173
  /** @description Filter customer data by app type. */
11056
11174
  type?: components['parameters']['queryCustomerList.type'];
11057
11175
  };
@@ -11437,10 +11555,14 @@ export interface operations {
11437
11555
  listCustomerSubscriptions: {
11438
11556
  parameters: {
11439
11557
  query?: {
11440
- /** @description The page number. */
11441
- page?: components['parameters']['PaginatedQuery.page'];
11442
- /** @description The number of items in the page. */
11443
- 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'];
11444
11566
  };
11445
11567
  header?: never;
11446
11568
  path: {
@@ -11917,11 +12039,11 @@ export interface operations {
11917
12039
  entitlementType?: components['schemas']['EntitlementType'][];
11918
12040
  /** @description Exclude inactive entitlements in the response (those scheduled for later or earlier) */
11919
12041
  excludeInactive?: boolean;
11920
- /** @description Start date-time in RFC 3339 format.
12042
+ /** @description Page index.
11921
12043
  *
11922
- * Inclusive. */
12044
+ * Default is 1. */
11923
12045
  page?: components['parameters']['Pagination.page'];
11924
- /** @description Number of items per page.
12046
+ /** @description The maximum number of items per page.
11925
12047
  *
11926
12048
  * Default is 100. */
11927
12049
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -12319,11 +12441,11 @@ export interface operations {
12319
12441
  meterSlug?: string[];
12320
12442
  /** @description Filter by meterGroupByFilters */
12321
12443
  includeArchived?: boolean;
12322
- /** @description Start date-time in RFC 3339 format.
12444
+ /** @description Page index.
12323
12445
  *
12324
- * Inclusive. */
12446
+ * Default is 1. */
12325
12447
  page?: components['parameters']['Pagination.page'];
12326
- /** @description Number of items per page.
12448
+ /** @description The maximum number of items per page.
12327
12449
  *
12328
12450
  * Default is 100. */
12329
12451
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -12706,11 +12828,11 @@ export interface operations {
12706
12828
  subject?: string[];
12707
12829
  /** @description Include deleted */
12708
12830
  includeDeleted?: boolean;
12709
- /** @description Start date-time in RFC 3339 format.
12831
+ /** @description Page index.
12710
12832
  *
12711
- * Inclusive. */
12833
+ * Default is 1. */
12712
12834
  page?: components['parameters']['Pagination.page'];
12713
- /** @description Number of items per page.
12835
+ /** @description The maximum number of items per page.
12714
12836
  *
12715
12837
  * Default is 100. */
12716
12838
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -13088,10 +13210,14 @@ export interface operations {
13088
13210
  listMarketplaceListings: {
13089
13211
  parameters: {
13090
13212
  query?: {
13091
- /** @description The page number. */
13092
- page?: components['parameters']['PaginatedQuery.page'];
13093
- /** @description The number of items in the page. */
13094
- 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'];
13095
13221
  };
13096
13222
  header?: never;
13097
13223
  path?: never;
@@ -13105,7 +13231,7 @@ export interface operations {
13105
13231
  [name: string]: unknown;
13106
13232
  };
13107
13233
  content: {
13108
- 'application/json': components['schemas']['MarketplaceListingList'];
13234
+ 'application/json': components['schemas']['MarketplaceListingPaginatedResponse'];
13109
13235
  };
13110
13236
  };
13111
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). */
@@ -14196,11 +14322,11 @@ export interface operations {
14196
14322
  *
14197
14323
  * Usage: `?includeDisabled=false` */
14198
14324
  includeDisabled?: boolean;
14199
- /** @description Start date-time in RFC 3339 format.
14325
+ /** @description Page index.
14200
14326
  *
14201
- * Inclusive. */
14327
+ * Default is 1. */
14202
14328
  page?: components['parameters']['Pagination.page'];
14203
- /** @description Number of items per page.
14329
+ /** @description The maximum number of items per page.
14204
14330
  *
14205
14331
  * Default is 100. */
14206
14332
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -14685,11 +14811,11 @@ export interface operations {
14685
14811
  *
14686
14812
  * Usage: `?channel=01J8J4RXH778XB056JS088PCYT&channel=01J8J4S1R1G9EVN62RG23A9M6J` */
14687
14813
  channel?: string[];
14688
- /** @description Start date-time in RFC 3339 format.
14814
+ /** @description Page index.
14689
14815
  *
14690
- * Inclusive. */
14816
+ * Default is 1. */
14691
14817
  page?: components['parameters']['Pagination.page'];
14692
- /** @description Number of items per page.
14818
+ /** @description The maximum number of items per page.
14693
14819
  *
14694
14820
  * Default is 100. */
14695
14821
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -14891,11 +15017,11 @@ export interface operations {
14891
15017
  *
14892
15018
  * Usage: `?channel=01ARZ3NDEKTSV4RRFFQ69G5FAV&channel=01J8J2Y5X4NNGQS32CF81W95E3` */
14893
15019
  channel?: string[];
14894
- /** @description Start date-time in RFC 3339 format.
15020
+ /** @description Page index.
14895
15021
  *
14896
- * Inclusive. */
15022
+ * Default is 1. */
14897
15023
  page?: components['parameters']['Pagination.page'];
14898
- /** @description Number of items per page.
15024
+ /** @description The maximum number of items per page.
14899
15025
  *
14900
15026
  * Default is 100. */
14901
15027
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -15558,11 +15684,11 @@ export interface operations {
15558
15684
  status?: components['schemas']['PlanStatus'][];
15559
15685
  /** @description Filter by plan.currency attribute */
15560
15686
  currency?: components['schemas']['CurrencyCode'][];
15561
- /** @description Start date-time in RFC 3339 format.
15687
+ /** @description Page index.
15562
15688
  *
15563
- * Inclusive. */
15689
+ * Default is 1. */
15564
15690
  page?: components['parameters']['Pagination.page'];
15565
- /** @description Number of items per page.
15691
+ /** @description The maximum number of items per page.
15566
15692
  *
15567
15693
  * Default is 100. */
15568
15694
  pageSize?: components['parameters']['Pagination.pageSize'];
@@ -18922,6 +19048,115 @@ export interface operations {
18922
19048
  };
18923
19049
  };
18924
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
+ };
18925
19160
  }
18926
19161
  type WithRequired<T, K extends keyof T> = T & {
18927
19162
  [P in K]-?: T[P];