@leaflow/sdk 0.0.0-dev.248.gf317c7d → 0.0.0-dev.250.g6df166c

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.
@@ -3,8 +3,12 @@ export { client } from "./client.js";
3
3
  import type { operations } from "./schema.js";
4
4
  /** The success response body of `GET /account/v1/currencies`. */
5
5
  export type ListCurrenciesResult = operations["list-currencies"]["responses"][200]["content"]["application/json"];
6
+ /** The query parameters of `GET /account/v1/currencies`. */
7
+ export type ListCurrenciesQuery = operations["list-currencies"]["parameters"]["query"];
6
8
  /** The success response body of `GET /account/v1/billing-accounts`. */
7
9
  export type ListBillingAccountsResult = operations["list-billing-accounts"]["responses"][200]["content"]["application/json"];
10
+ /** The query parameters of `GET /account/v1/billing-accounts`. */
11
+ export type ListBillingAccountsQuery = operations["list-billing-accounts"]["parameters"]["query"];
8
12
  /** The success response body of `POST /account/v1/billing-accounts`. */
9
13
  export type CreateBillingAccountResult = operations["create-billing-account"]["responses"][201]["content"]["application/json"];
10
14
  /** The request body of `POST /account/v1/billing-accounts`. */
@@ -21,6 +25,8 @@ export type GetAccountBalanceResult = operations["get-account-balance"]["respons
21
25
  export type GetAccountMeteredUsageResult = operations["get-account-metered-usage"]["responses"][200]["content"]["application/json"];
22
26
  /** The success response body of `GET /account/v1/billing-accounts/{accountId}/payment-options`. */
23
27
  export type ListPaymentOptionsResult = operations["list-payment-options"]["responses"][200]["content"]["application/json"];
28
+ /** The query parameters of `GET /account/v1/billing-accounts/{accountId}/payment-options`. */
29
+ export type ListPaymentOptionsQuery = operations["list-payment-options"]["parameters"]["query"];
24
30
  /** The success response body of `GET /account/v1/projects`. */
25
31
  export type ListBillingAccountProjectsResult = operations["list-billing-account-projects"]["responses"][200]["content"]["application/json"];
26
32
  /** The query parameters of `GET /account/v1/projects`. */
@@ -33,6 +39,8 @@ export type SetProjectBillingAccountResult = operations["set-project-billing-acc
33
39
  export type SetProjectBillingAccountBody = NonNullable<operations["set-project-billing-account"]["requestBody"]>["content"]["application/json"];
34
40
  /** The success response body of `GET /account/v1/top-ups`. */
35
41
  export type ListTopUpsResult = operations["list-top-ups"]["responses"][200]["content"]["application/json"];
42
+ /** The query parameters of `GET /account/v1/top-ups`. */
43
+ export type ListTopUpsQuery = operations["list-top-ups"]["parameters"]["query"];
36
44
  /** The success response body of `POST /account/v1/top-ups`. */
37
45
  export type CreateTopUpResult = operations["create-top-up"]["responses"][201]["content"]["application/json"];
38
46
  /** The request body of `POST /account/v1/top-ups`. */
@@ -43,6 +51,8 @@ export type GetTopUpResult = operations["get-top-up"]["responses"][200]["content
43
51
  export type CancelTopUpResult = operations["cancel-top-up"]["responses"][200]["content"]["application/json"];
44
52
  /** The success response body of `GET /account/v1/payment-methods`. */
45
53
  export type ListPaymentMethodsResult = operations["list-payment-methods"]["responses"][200]["content"]["application/json"];
54
+ /** The query parameters of `GET /account/v1/payment-methods`. */
55
+ export type ListPaymentMethodsQuery = operations["list-payment-methods"]["parameters"]["query"];
46
56
  /** The success response body of `POST /account/v1/payment-methods/setup`. */
47
57
  export type CreatePaymentMethodSetupResult = operations["create-payment-method-setup"]["responses"][201]["content"]["application/json"];
48
58
  /** The request body of `POST /account/v1/payment-methods/setup`. */
@@ -73,10 +83,16 @@ export type ListInvoicesQuery = operations["list-invoices"]["parameters"]["query
73
83
  export type GetInvoiceResult = operations["get-invoice"]["responses"][200]["content"]["application/json"];
74
84
  /** The success response body of `GET /account/v1/invoices/{invoiceId}/items`. */
75
85
  export type ListInvoiceItemsResult = operations["list-invoice-items"]["responses"][200]["content"]["application/json"];
86
+ /** The query parameters of `GET /account/v1/invoices/{invoiceId}/items`. */
87
+ export type ListInvoiceItemsQuery = operations["list-invoice-items"]["parameters"]["query"];
76
88
  /** The success response body of `GET /account/v1/transactions`. */
77
89
  export type ListTransactionsResult = operations["list-transactions"]["responses"][200]["content"]["application/json"];
90
+ /** The query parameters of `GET /account/v1/transactions`. */
91
+ export type ListTransactionsQuery = operations["list-transactions"]["parameters"]["query"];
78
92
  /** The success response body of `GET /account/v1/discounts`. */
79
93
  export type ListAccountDiscountsResult = operations["list-account-discounts"]["responses"][200]["content"]["application/json"];
94
+ /** The query parameters of `GET /account/v1/discounts`. */
95
+ export type ListAccountDiscountsQuery = operations["list-account-discounts"]["parameters"]["query"];
80
96
  /** The success response body of `GET /account/v1/credit-grants`. */
81
97
  export type ListCreditGrantsResult = operations["list-credit-grants"]["responses"][200]["content"]["application/json"];
82
98
  /** The query parameters of `GET /account/v1/credit-grants`. */
@@ -113,6 +129,8 @@ export type GetCancellationResult = operations["get-cancellation"]["responses"][
113
129
  export type WithdrawCancellationResult = operations["withdraw-cancellation"]["responses"][200]["content"]["application/json"];
114
130
  /** The success response body of `GET /account/v1/subscriptions/{subscriptionId}/renewal-prices`. */
115
131
  export type ListRenewalPricesResult = operations["list-renewal-prices"]["responses"][200]["content"]["application/json"];
132
+ /** The query parameters of `GET /account/v1/subscriptions/{subscriptionId}/renewal-prices`. */
133
+ export type ListRenewalPricesQuery = operations["list-renewal-prices"]["parameters"]["query"];
116
134
  /** The success response body of `POST /account/v1/subscriptions/{subscriptionId}/renew`. */
117
135
  export type RenewSubscriptionResult = operations["renew-subscription"]["responses"][200]["content"]["application/json"];
118
136
  /** The request body of `POST /account/v1/subscriptions/{subscriptionId}/renew`. */
@@ -143,6 +161,8 @@ export type GetOrderResult = operations["get-order"]["responses"][200]["content"
143
161
  export type CancelOrderResult = operations["cancel-order"]["responses"][200]["content"]["application/json"];
144
162
  /** The success response body of `GET /account/v1/orders/{orderId}/items`. */
145
163
  export type ListOrderItemsResult = operations["list-order-items"]["responses"][200]["content"]["application/json"];
164
+ /** The query parameters of `GET /account/v1/orders/{orderId}/items`. */
165
+ export type ListOrderItemsQuery = operations["list-order-items"]["parameters"]["query"];
146
166
  /** The success response body of `GET /account/v1/entitlements`. */
147
167
  export type ListEntitlementsResult = operations["list-entitlements"]["responses"][200]["content"]["application/json"];
148
168
  /** The query parameters of `GET /account/v1/entitlements`. */
@@ -13,7 +13,7 @@ export interface paths {
13
13
  /**
14
14
  * List currencies accounts can be opened in
15
15
  * @description The currencies a new billing account can be opened in. A retired currency is not listed,
16
- * although accounts already opened in it keep working. Not paged: the set is a few rows.
16
+ * although accounts already opened in it keep working. Results are paginated.
17
17
  */
18
18
  get: operations["list-currencies"];
19
19
  put?: never;
@@ -130,8 +130,8 @@ export interface paths {
130
130
  * List payment options
131
131
  * @description Lists the payment gateways and methods that currently accept payment in this account's currency, the
132
132
  * preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
133
- * others are refused. An empty list means no online payment is available for this account. Not paged: the
134
- * set is a few rows.
133
+ * others are refused. An empty result means no online payment is available for this account.
134
+ * Results are paginated.
135
135
  */
136
136
  get: operations["list-payment-options"];
137
137
  put?: never;
@@ -1361,8 +1361,7 @@ export interface components {
1361
1361
  };
1362
1362
  CancellationList: {
1363
1363
  items: components["schemas"]["Cancellation"][];
1364
- /** Format: int64 */
1365
- total_count?: number;
1364
+ pagination: components["schemas"]["OffsetPagination"];
1366
1365
  };
1367
1366
  /** @description A cancellation request for the original purchase. scheduled_at is the intended time; effective_at is the confirmed end of service. The request alone does not stop metering or issue a refund. */
1368
1367
  CancellationRequest: {
@@ -1517,6 +1516,7 @@ export interface components {
1517
1516
  };
1518
1517
  CurrencyList: {
1519
1518
  items: components["schemas"]["Currency"][];
1519
+ pagination: components["schemas"]["OffsetPagination"];
1520
1520
  };
1521
1521
  BillingAccountCreate: {
1522
1522
  currency: string;
@@ -1538,8 +1538,7 @@ export interface components {
1538
1538
  };
1539
1539
  BillingAccountList: {
1540
1540
  items: components["schemas"]["BillingAccount"][];
1541
- /** Format: int64 */
1542
- total_count?: number;
1541
+ pagination: components["schemas"]["OffsetPagination"];
1543
1542
  };
1544
1543
  /** @description Account balance, credits, and unpaid charges are reported separately. */
1545
1544
  AccountBalance: {
@@ -1632,8 +1631,7 @@ export interface components {
1632
1631
  };
1633
1632
  ProjectBillingInfoList: {
1634
1633
  items: components["schemas"]["ProjectBillingInfo"][];
1635
- /** Format: int64 */
1636
- total_count?: number;
1634
+ pagination: components["schemas"]["OffsetPagination"];
1637
1635
  };
1638
1636
  ProjectBillingInfoSet: {
1639
1637
  /** Format: int64 */
@@ -1747,8 +1745,7 @@ export interface components {
1747
1745
  };
1748
1746
  TopUpList: {
1749
1747
  items: components["schemas"]["TopUp"][];
1750
- /** Format: int64 */
1751
- total_count?: number;
1748
+ pagination: components["schemas"]["OffsetPagination"];
1752
1749
  };
1753
1750
  /**
1754
1751
  * @description Why a gateway payment was withdrawn. `abandoned` means the customer did not complete it within the time
@@ -1773,6 +1770,7 @@ export interface components {
1773
1770
  };
1774
1771
  PaymentOptionList: {
1775
1772
  items: components["schemas"]["PaymentOption"][];
1773
+ pagination: components["schemas"]["OffsetPagination"];
1776
1774
  };
1777
1775
  PaymentMethod: {
1778
1776
  /** Format: uuid */
@@ -1790,8 +1788,7 @@ export interface components {
1790
1788
  };
1791
1789
  PaymentMethodList: {
1792
1790
  items: components["schemas"]["PaymentMethod"][];
1793
- /** Format: int64 */
1794
- total_count?: number;
1791
+ pagination: components["schemas"]["OffsetPagination"];
1795
1792
  };
1796
1793
  PaymentMethodSetup: {
1797
1794
  /** @description The selected gateway supporting saved payment methods. */
@@ -2032,8 +2029,7 @@ export interface components {
2032
2029
  };
2033
2030
  InvoiceList: {
2034
2031
  items: components["schemas"]["Invoice"][];
2035
- /** Format: int64 */
2036
- total_count?: number;
2032
+ pagination: components["schemas"]["OffsetPagination"];
2037
2033
  };
2038
2034
  InvoiceItem: {
2039
2035
  recurring_amount?: string;
@@ -2081,8 +2077,7 @@ export interface components {
2081
2077
  };
2082
2078
  InvoiceItemList: {
2083
2079
  items: components["schemas"]["InvoiceItem"][];
2084
- /** Format: int64 */
2085
- total_count?: number;
2080
+ pagination: components["schemas"]["OffsetPagination"];
2086
2081
  };
2087
2082
  /**
2088
2083
  * @description topup adds to the balance; payment settles an invoice; refund returns original funds; payout withdraws from the balance; adjustment changes the balance with an audit reason.
@@ -2158,8 +2153,7 @@ export interface components {
2158
2153
  };
2159
2154
  TransactionList: {
2160
2155
  items: components["schemas"]["Transaction"][];
2161
- /** Format: int64 */
2162
- total_count?: number;
2156
+ pagination: components["schemas"]["OffsetPagination"];
2163
2157
  };
2164
2158
  CreditGrant: {
2165
2159
  min_amount?: string;
@@ -2182,8 +2176,7 @@ export interface components {
2182
2176
  };
2183
2177
  CreditGrantList: {
2184
2178
  items: components["schemas"]["CreditGrant"][];
2185
- /** Format: int64 */
2186
- total_count?: number;
2179
+ pagination: components["schemas"]["OffsetPagination"];
2187
2180
  };
2188
2181
  Refund: {
2189
2182
  /** Format: uuid */
@@ -2265,8 +2258,7 @@ export interface components {
2265
2258
  RefundReason: "provisioning_failed" | "order_expired" | "order_canceled" | "change_canceled" | "change_expired" | "subscription_canceled" | "future_period_canceled" | "downgrade_difference" | "usage_true_up" | "payment_not_applied" | "operator";
2266
2259
  RefundList: {
2267
2260
  items: components["schemas"]["Refund"][];
2268
- /** Format: int64 */
2269
- total_count?: number;
2261
+ pagination: components["schemas"]["OffsetPagination"];
2270
2262
  };
2271
2263
  UsageCharge: {
2272
2264
  /** Format: uuid */
@@ -2318,13 +2310,11 @@ export interface components {
2318
2310
  };
2319
2311
  UsageChargeList: {
2320
2312
  items: components["schemas"]["UsageCharge"][];
2321
- /** Format: int64 */
2322
- total_count?: number;
2313
+ pagination: components["schemas"]["OffsetPagination"];
2323
2314
  };
2324
2315
  SubscriptionList: {
2325
2316
  items: components["schemas"]["Subscription"][];
2326
- /** Format: int64 */
2327
- total_count?: number;
2317
+ pagination: components["schemas"]["OffsetPagination"];
2328
2318
  };
2329
2319
  /** @description An independently billed purchase. Fixed renewals use the agreed recurring_amount and interval; already paid periods retain their original value. Technical state belongs to the owning service. */
2330
2320
  Subscription: {
@@ -2419,6 +2409,7 @@ export interface components {
2419
2409
  };
2420
2410
  RenewalPriceList: {
2421
2411
  items: components["schemas"]["RenewalPrice"][];
2412
+ pagination: components["schemas"]["OffsetPagination"];
2422
2413
  };
2423
2414
  RenewRequest: {
2424
2415
  /**
@@ -2576,8 +2567,7 @@ export interface components {
2576
2567
  };
2577
2568
  OrderList: {
2578
2569
  items: components["schemas"]["Order"][];
2579
- /** Format: int64 */
2580
- total_count?: number;
2570
+ pagination: components["schemas"]["OffsetPagination"];
2581
2571
  };
2582
2572
  /**
2583
2573
  * @description How it was paid, as recorded at the time. It is kept as it was: removing the card afterwards
@@ -2717,8 +2707,7 @@ export interface components {
2717
2707
  };
2718
2708
  DiscountList: {
2719
2709
  items: components["schemas"]["Discount"][];
2720
- /** Format: int64 */
2721
- total_count?: number;
2710
+ pagination: components["schemas"]["OffsetPagination"];
2722
2711
  };
2723
2712
  /** @description A price's display terms, including retired prices referenced by an applicability list. */
2724
2713
  PriceOption: {
@@ -2840,8 +2829,7 @@ export interface components {
2840
2829
  };
2841
2830
  OrderItemList: {
2842
2831
  items: components["schemas"]["OrderItem"][];
2843
- /** Format: int64 */
2844
- total_count?: number;
2832
+ pagination: components["schemas"]["OffsetPagination"];
2845
2833
  };
2846
2834
  Allowance: {
2847
2835
  /** @description Optional issuance key, unique within this billing account. */
@@ -2885,8 +2873,7 @@ export interface components {
2885
2873
  };
2886
2874
  AllowanceList: {
2887
2875
  items: components["schemas"]["Allowance"][];
2888
- /** Format: int64 */
2889
- total_count?: number;
2876
+ pagination: components["schemas"]["OffsetPagination"];
2890
2877
  };
2891
2878
  Entitlement: {
2892
2879
  product: components["schemas"]["Product"];
@@ -2902,8 +2889,7 @@ export interface components {
2902
2889
  };
2903
2890
  EntitlementList: {
2904
2891
  items: components["schemas"]["Entitlement"][];
2905
- /** Format: int64 */
2906
- total_count?: number;
2892
+ pagination: components["schemas"]["OffsetPagination"];
2907
2893
  };
2908
2894
  /** @description Purchase-related invoice amounts, without account contact details or payment methods. Absent on an order with no immediate invoice. */
2909
2895
  InvoiceSummary: {
@@ -2961,6 +2947,15 @@ export interface components {
2961
2947
  * @example 10.2500000000
2962
2948
  */
2963
2949
  Money: string;
2950
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
2951
+ OffsetPagination: {
2952
+ /** Format: int64 */
2953
+ page: number;
2954
+ /** Format: int64 */
2955
+ page_size: number;
2956
+ /** Format: int64 */
2957
+ total_count?: number;
2958
+ };
2964
2959
  /**
2965
2960
  * @description Which object this is, together with what a person currently calls it.
2966
2961
  *
@@ -3014,7 +3009,12 @@ export type $defs = Record<string, never>;
3014
3009
  export interface operations {
3015
3010
  "list-currencies": {
3016
3011
  parameters: {
3017
- query?: never;
3012
+ query?: {
3013
+ /** @description 1-based page number; the first page when omitted. */
3014
+ page?: components["parameters"]["Page"];
3015
+ /** @description How many per page, 100 at most. */
3016
+ page_size?: components["parameters"]["PageSize"];
3017
+ };
3018
3018
  header?: never;
3019
3019
  path?: never;
3020
3020
  cookie?: never;
@@ -3182,7 +3182,12 @@ export interface operations {
3182
3182
  };
3183
3183
  "list-payment-options": {
3184
3184
  parameters: {
3185
- query?: never;
3185
+ query?: {
3186
+ /** @description 1-based page number; the first page when omitted. */
3187
+ page?: components["parameters"]["Page"];
3188
+ /** @description How many per page, 100 at most. */
3189
+ page_size?: components["parameters"]["PageSize"];
3190
+ };
3186
3191
  header?: never;
3187
3192
  path: {
3188
3193
  accountId: components["parameters"]["AccountId"];
@@ -4046,7 +4051,12 @@ export interface operations {
4046
4051
  };
4047
4052
  "list-renewal-prices": {
4048
4053
  parameters: {
4049
- query?: never;
4054
+ query?: {
4055
+ /** @description 1-based page number; the first page when omitted. */
4056
+ page?: components["parameters"]["Page"];
4057
+ /** @description How many per page, 100 at most. */
4058
+ page_size?: components["parameters"]["PageSize"];
4059
+ };
4050
4060
  header?: never;
4051
4061
  path: {
4052
4062
  subscriptionId: string;
@@ -7,6 +7,8 @@ export type ListPricesResult = operations["list-prices"]["responses"][200]["cont
7
7
  export type ListPricesQuery = operations["list-prices"]["parameters"]["query"];
8
8
  /** The success response body of `GET /catalog/v1/products`. */
9
9
  export type ListProductsResult = operations["list-products"]["responses"][200]["content"]["application/json"];
10
+ /** The query parameters of `GET /catalog/v1/products`. */
11
+ export type ListProductsQuery = operations["list-products"]["parameters"]["query"];
10
12
  /** The success response body of `GET /catalog/v1/products/{productId}`. */
11
13
  export type GetProductResult = operations["get-product"]["responses"][200]["content"]["application/json"];
12
14
  /** The success response body of `GET /catalog/v1/plans/{planId}`. */
@@ -15,6 +17,8 @@ export type GetPlanResult = operations["get-plan"]["responses"][200]["content"][
15
17
  export type GetPriceResult = operations["get-price"]["responses"][200]["content"]["application/json"];
16
18
  /** The success response body of `GET /catalog/v1/plans`. */
17
19
  export type ListPlansResult = operations["list-plans"]["responses"][200]["content"]["application/json"];
20
+ /** The query parameters of `GET /catalog/v1/plans`. */
21
+ export type ListPlansQuery = operations["list-plans"]["parameters"]["query"];
18
22
  /** The success response body of `GET /catalog/v1/plans/{planId}/prices`. */
19
23
  export type ListPricesByPlanResult = operations["list-prices-by-plan"]["responses"][200]["content"]["application/json"];
20
24
  /** The query parameters of `GET /catalog/v1/plans/{planId}/prices`. */
@@ -242,8 +242,7 @@ export interface components {
242
242
  ProductID: string;
243
243
  ProductList: {
244
244
  items: components["schemas"]["Product"][];
245
- /** Format: int64 */
246
- total_count?: number;
245
+ pagination: components["schemas"]["OffsetPagination"];
247
246
  };
248
247
  Plan: {
249
248
  enabled: boolean;
@@ -258,8 +257,7 @@ export interface components {
258
257
  };
259
258
  PlanList: {
260
259
  items: components["schemas"]["Plan"][];
261
- /** Format: int64 */
262
- total_count?: number;
260
+ pagination: components["schemas"]["OffsetPagination"];
263
261
  };
264
262
  Price: {
265
263
  rate_card?: components["schemas"]["ObjectIdentity"];
@@ -325,8 +323,7 @@ export interface components {
325
323
  };
326
324
  PriceList: {
327
325
  items: components["schemas"]["Price"][];
328
- /** Format: int64 */
329
- total_count?: number;
326
+ pagination: components["schemas"]["OffsetPagination"];
330
327
  };
331
328
  Rate: {
332
329
  meter: components["schemas"]["ObjectIdentity"];
@@ -355,8 +352,7 @@ export interface components {
355
352
  };
356
353
  RateList: {
357
354
  items: components["schemas"]["Rate"][];
358
- /** Format: int64 */
359
- total_count?: number;
355
+ pagination: components["schemas"]["OffsetPagination"];
360
356
  };
361
357
  /**
362
358
  * @description Identify a price directly, or select a price for a plan. For each resource give its ID or lookup key, never both. Lookup keys require product_id.
@@ -502,6 +498,15 @@ export interface components {
502
498
  * @example 10.2500000000
503
499
  */
504
500
  Money: string;
501
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
502
+ OffsetPagination: {
503
+ /** Format: int64 */
504
+ page: number;
505
+ /** Format: int64 */
506
+ page_size: number;
507
+ /** Format: int64 */
508
+ total_count?: number;
509
+ };
505
510
  };
506
511
  responses: {
507
512
  /** @description Unchanged since the `ETag` that was sent. No body. */
@@ -47,6 +47,8 @@ export type CreateProjectQuoteResult = operations["create-project-quote"]["respo
47
47
  export type CreateProjectQuoteBody = NonNullable<operations["create-project-quote"]["requestBody"]>["content"]["application/json"];
48
48
  /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
49
49
  export type ListProjectOrderItemsResult = operations["list-project-order-items"]["responses"][200]["content"]["application/json"];
50
+ /** The query parameters of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
51
+ export type ListProjectOrderItemsQuery = operations["list-project-order-items"]["parameters"]["query"];
50
52
  /** The success response body of `GET /api/v1/projects/{projectId}/allowances`. */
51
53
  export type ListProjectAllowancesResult = operations["list-project-allowances"]["responses"][200]["content"]["application/json"];
52
54
  /** The query parameters of `GET /api/v1/projects/{projectId}/allowances`. */
@@ -596,8 +596,7 @@ export interface components {
596
596
  };
597
597
  CancellationList: {
598
598
  items: components["schemas"]["Cancellation"][];
599
- /** Format: int64 */
600
- total_count?: number;
599
+ pagination: components["schemas"]["OffsetPagination"];
601
600
  };
602
601
  /** @description A cancellation request for the original purchase. scheduled_at is the intended time; effective_at is the confirmed end of service. The request alone does not stop metering or issue a refund. */
603
602
  CancellationRequest: {
@@ -924,8 +923,7 @@ export interface components {
924
923
  };
925
924
  UsageChargeList: {
926
925
  items: components["schemas"]["UsageCharge"][];
927
- /** Format: int64 */
928
- total_count?: number;
926
+ pagination: components["schemas"]["OffsetPagination"];
929
927
  };
930
928
  SpendRow: {
931
929
  product?: components["schemas"]["Product"];
@@ -942,13 +940,11 @@ export interface components {
942
940
  /** @description The sum over the whole period, not only the page returned. */
943
941
  total: components["schemas"]["Money"];
944
942
  currency: string;
945
- /** Format: int64 */
946
- total_count?: number;
943
+ pagination: components["schemas"]["OffsetPagination"];
947
944
  };
948
945
  SubscriptionList: {
949
946
  items: components["schemas"]["Subscription"][];
950
- /** Format: int64 */
951
- total_count?: number;
947
+ pagination: components["schemas"]["OffsetPagination"];
952
948
  };
953
949
  /** @description An independently billed purchase. Fixed renewals use the agreed recurring_amount and interval; already paid periods retain their original value. Technical state belongs to the owning service. */
954
950
  Subscription: {
@@ -1064,8 +1060,7 @@ export interface components {
1064
1060
  };
1065
1061
  ActiveResourceList: {
1066
1062
  items: components["schemas"]["ActiveResource"][];
1067
- /** Format: int64 */
1068
- total_count?: number;
1063
+ pagination: components["schemas"]["OffsetPagination"];
1069
1064
  };
1070
1065
  /**
1071
1066
  * @description Follows the items. `pending` is not yet accepted and may be paid or unpaid. `active` is
@@ -1155,8 +1150,7 @@ export interface components {
1155
1150
  };
1156
1151
  OrderList: {
1157
1152
  items: components["schemas"]["Order"][];
1158
- /** Format: int64 */
1159
- total_count?: number;
1153
+ pagination: components["schemas"]["OffsetPagination"];
1160
1154
  };
1161
1155
  /**
1162
1156
  * @description How it was paid, as recorded at the time. It is kept as it was: removing the card afterwards
@@ -1260,8 +1254,7 @@ export interface components {
1260
1254
  };
1261
1255
  OrderItemList: {
1262
1256
  items: components["schemas"]["OrderItem"][];
1263
- /** Format: int64 */
1264
- total_count?: number;
1257
+ pagination: components["schemas"]["OffsetPagination"];
1265
1258
  };
1266
1259
  Allowance: {
1267
1260
  /** @description Optional issuance key, unique within this billing account. */
@@ -1305,8 +1298,7 @@ export interface components {
1305
1298
  };
1306
1299
  AllowanceList: {
1307
1300
  items: components["schemas"]["Allowance"][];
1308
- /** Format: int64 */
1309
- total_count?: number;
1301
+ pagination: components["schemas"]["OffsetPagination"];
1310
1302
  };
1311
1303
  Entitlement: {
1312
1304
  product: components["schemas"]["Product"];
@@ -1322,8 +1314,7 @@ export interface components {
1322
1314
  };
1323
1315
  EntitlementList: {
1324
1316
  items: components["schemas"]["Entitlement"][];
1325
- /** Format: int64 */
1326
- total_count?: number;
1317
+ pagination: components["schemas"]["OffsetPagination"];
1327
1318
  };
1328
1319
  /** @description Purchase-related invoice amounts, without account contact details or payment methods. Absent on an order with no immediate invoice. */
1329
1320
  InvoiceSummary: {
@@ -1367,6 +1358,15 @@ export interface components {
1367
1358
  * @example 10.2500000000
1368
1359
  */
1369
1360
  Money: string;
1361
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
1362
+ OffsetPagination: {
1363
+ /** Format: int64 */
1364
+ page: number;
1365
+ /** Format: int64 */
1366
+ page_size: number;
1367
+ /** Format: int64 */
1368
+ total_count?: number;
1369
+ };
1370
1370
  /**
1371
1371
  * @description Which object this is, together with what a person currently calls it.
1372
1372
  *
@@ -57,8 +57,12 @@ export type ListInstanceTypesResult = operations["list-instance-types"]["respons
57
57
  export type ListInstanceTypesQuery = operations["list-instance-types"]["parameters"]["query"];
58
58
  /** The success response body of `GET /api/v1/regions`. */
59
59
  export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
60
+ /** The query parameters of `GET /api/v1/regions`. */
61
+ export type ListRegionsQuery = operations["list-regions"]["parameters"]["query"];
60
62
  /** The success response body of `GET /api/v1/regions/{regionId}/availability-zones`. */
61
63
  export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
64
+ /** The query parameters of `GET /api/v1/regions/{regionId}/availability-zones`. */
65
+ export type ListAvailabilityZonesQuery = operations["list-availability-zones"]["parameters"]["query"];
62
66
  /** The success response body of `GET /api/v1/disks`. */
63
67
  export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
64
68
  /** The query parameters of `GET /api/v1/disks`. */
@@ -85,6 +89,8 @@ export type RevertDiskResult = operations["revert-disk"]["responses"][202]["cont
85
89
  export type RevertDiskBody = NonNullable<operations["revert-disk"]["requestBody"]>["content"]["application/json"];
86
90
  /** The success response body of `GET /api/v1/floating-ips`. */
87
91
  export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
92
+ /** The query parameters of `GET /api/v1/floating-ips`. */
93
+ export type ListFloatingIpsQuery = operations["list-floating-ips"]["parameters"]["query"];
88
94
  /** The success response body of `POST /api/v1/floating-ips`. */
89
95
  export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][201]["content"]["application/json"];
90
96
  /** The request body of `POST /api/v1/floating-ips`. */
@@ -193,6 +199,8 @@ export type ListOperationLogsResult = operations["list-operation-logs"]["respons
193
199
  export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
194
200
  /** The success response body of `GET /api/v1/ports`. */
195
201
  export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
202
+ /** The query parameters of `GET /api/v1/ports`. */
203
+ export type ListPortsQuery = operations["list-ports"]["parameters"]["query"];
196
204
  /** The success response body of `POST /api/v1/ports`. */
197
205
  export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
198
206
  /** The request body of `POST /api/v1/ports`. */
@@ -217,12 +225,16 @@ export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]
217
225
  export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
218
226
  /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
219
227
  export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
228
+ /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
229
+ export type ListRoutesQuery = operations["list-routes"]["parameters"]["query"];
220
230
  /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
221
231
  export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
222
232
  /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
223
233
  export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
224
234
  /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
225
235
  export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
236
+ /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
237
+ export type ListSubnetsQuery = operations["list-subnets"]["parameters"]["query"];
226
238
  /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
227
239
  export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
228
240
  /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
@@ -247,6 +259,8 @@ export type RenameSecurityGroupResult = operations["rename-security-group"]["res
247
259
  export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
248
260
  /** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
249
261
  export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
262
+ /** The query parameters of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
263
+ export type ListSecurityGroupRulesQuery = operations["list-security-group-rules"]["parameters"]["query"];
250
264
  /** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
251
265
  export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
252
266
  /** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
@@ -1448,6 +1448,7 @@ export interface components {
1448
1448
  PeeringListResponseBody: {
1449
1449
  items: components["schemas"]["PeeringResource"][];
1450
1450
  total: number;
1451
+ pagination: components["schemas"]["OffsetPagination"];
1451
1452
  };
1452
1453
  CreatePeeringRequestBody: {
1453
1454
  name: string;
@@ -1516,6 +1517,7 @@ export interface components {
1516
1517
  };
1517
1518
  BackupListResponseBody: {
1518
1519
  items: components["schemas"]["BackupResource"][] | null;
1520
+ pagination: components["schemas"]["OffsetPagination"];
1519
1521
  };
1520
1522
  CreateBackupRequestBody: {
1521
1523
  /** Format: uuid */
@@ -1664,6 +1666,7 @@ export interface components {
1664
1666
  };
1665
1667
  DiskTypeListResponseBody: {
1666
1668
  items: components["schemas"]["DiskTypeResource"][] | null;
1669
+ pagination: components["schemas"]["OffsetPagination"];
1667
1670
  };
1668
1671
  /**
1669
1672
  * @description Who can see and use an image. `public` — offered to every project by the platform. `private` — usable only by the project that owns it.
@@ -1734,12 +1737,7 @@ export interface components {
1734
1737
  };
1735
1738
  ImageListResponseBody: {
1736
1739
  items: components["schemas"]["ImageResource"][];
1737
- /** Format: int64 */
1738
- page: number;
1739
- /** Format: int64 */
1740
- page_size: number;
1741
- /** Format: int64 */
1742
- total_count?: number;
1740
+ pagination: components["schemas"]["OffsetPagination"];
1743
1741
  };
1744
1742
  InstanceTypeResource: {
1745
1743
  /** Format: uuid */
@@ -1787,12 +1785,7 @@ export interface components {
1787
1785
  };
1788
1786
  InstanceTypeListResponseBody: {
1789
1787
  items: components["schemas"]["InstanceTypeResource"][];
1790
- /** Format: int64 */
1791
- page: number;
1792
- /** Format: int64 */
1793
- page_size: number;
1794
- /** Format: int64 */
1795
- total_count?: number;
1788
+ pagination: components["schemas"]["OffsetPagination"];
1796
1789
  };
1797
1790
  RegionResource: {
1798
1791
  /** @description ISO 3166-1 alpha-2 country this region sits in. Two letters, uppercase. */
@@ -1806,6 +1799,7 @@ export interface components {
1806
1799
  };
1807
1800
  RegionListResponseBody: {
1808
1801
  items: components["schemas"]["RegionResource"][] | null;
1802
+ pagination: components["schemas"]["OffsetPagination"];
1809
1803
  };
1810
1804
  ZoneResource: {
1811
1805
  /** @description Display name for this zone, shown to tenants (Hong Kong A). The stable handle is code. */
@@ -1817,9 +1811,11 @@ export interface components {
1817
1811
  };
1818
1812
  ZoneListResponseBody: {
1819
1813
  items: components["schemas"]["ZoneResource"][] | null;
1814
+ pagination: components["schemas"]["OffsetPagination"];
1820
1815
  };
1821
1816
  DiskListResponseBody: {
1822
1817
  items: components["schemas"]["DiskResource"][] | null;
1818
+ pagination: components["schemas"]["OffsetPagination"];
1823
1819
  };
1824
1820
  CreateDiskRequestBody: {
1825
1821
  /**
@@ -1900,6 +1896,7 @@ export interface components {
1900
1896
  };
1901
1897
  FloatingIPListResponseBody: {
1902
1898
  items: components["schemas"]["FloatingIPResource"][] | null;
1899
+ pagination: components["schemas"]["OffsetPagination"];
1903
1900
  };
1904
1901
  AllocateFloatingIPRequestBody: {
1905
1902
  /** @description The address to allocate. Allocated by the platform when omitted */
@@ -2016,12 +2013,7 @@ export interface components {
2016
2013
  };
2017
2014
  InstanceListResponseBody: {
2018
2015
  items: components["schemas"]["InstanceResource"][];
2019
- /** Format: int64 */
2020
- page: number;
2021
- /** Format: int64 */
2022
- page_size: number;
2023
- /** Format: int64 */
2024
- total_count?: number;
2016
+ pagination: components["schemas"]["OffsetPagination"];
2025
2017
  };
2026
2018
  LaunchInstanceRequestBody: {
2027
2019
  /**
@@ -2194,6 +2186,7 @@ export interface components {
2194
2186
  };
2195
2187
  PortListResponseBody: {
2196
2188
  items: components["schemas"]["PortResource"][] | null;
2189
+ pagination: components["schemas"]["OffsetPagination"];
2197
2190
  };
2198
2191
  AttachPortRequestBody: {
2199
2192
  /** Format: uuid */
@@ -2231,12 +2224,7 @@ export interface components {
2231
2224
  };
2232
2225
  OperationLogListResponseBody: {
2233
2226
  items: components["schemas"]["OperationLogResource"][];
2234
- /** Format: int64 */
2235
- page: number;
2236
- /** Format: int64 */
2237
- page_size: number;
2238
- /** Format: int64 */
2239
- total_count?: number;
2227
+ pagination: components["schemas"]["OffsetPagination"];
2240
2228
  };
2241
2229
  CreatePortRequestBody: {
2242
2230
  name?: string;
@@ -2294,6 +2282,7 @@ export interface components {
2294
2282
  };
2295
2283
  PrivateNetworkListResponseBody: {
2296
2284
  items: components["schemas"]["PrivateNetworkResource"][] | null;
2285
+ pagination: components["schemas"]["OffsetPagination"];
2297
2286
  };
2298
2287
  CreatePrivateNetworkRequestBody: {
2299
2288
  /** @description Must be an RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16` */
@@ -2332,6 +2321,7 @@ export interface components {
2332
2321
  };
2333
2322
  RouteListResponseBody: {
2334
2323
  items: components["schemas"]["RouteResource"][] | null;
2324
+ pagination: components["schemas"]["OffsetPagination"];
2335
2325
  };
2336
2326
  CreateRouteRequestBody: {
2337
2327
  description?: string;
@@ -2356,6 +2346,7 @@ export interface components {
2356
2346
  };
2357
2347
  SubnetListResponseBody: {
2358
2348
  items: components["schemas"]["SubnetResource"][] | null;
2349
+ pagination: components["schemas"]["OffsetPagination"];
2359
2350
  };
2360
2351
  CreateSubnetRequestBody: {
2361
2352
  /** @description Must fall inside the CIDR of the private network and must not overlap an existing subnet */
@@ -2380,6 +2371,7 @@ export interface components {
2380
2371
  };
2381
2372
  SecurityGroupListResponseBody: {
2382
2373
  items: components["schemas"]["SecurityGroupResource"][] | null;
2374
+ pagination: components["schemas"]["OffsetPagination"];
2383
2375
  };
2384
2376
  CreateSecurityGroupRequestBody: {
2385
2377
  description?: string;
@@ -2412,6 +2404,7 @@ export interface components {
2412
2404
  };
2413
2405
  SecurityRuleListResponseBody: {
2414
2406
  items: components["schemas"]["SecurityRuleResource"][] | null;
2407
+ pagination: components["schemas"]["OffsetPagination"];
2415
2408
  };
2416
2409
  CreateSecurityRuleRequestBody: {
2417
2410
  description?: string;
@@ -2476,6 +2469,7 @@ export interface components {
2476
2469
  };
2477
2470
  SnapshotListResponseBody: {
2478
2471
  items: components["schemas"]["SnapshotResource"][] | null;
2472
+ pagination: components["schemas"]["OffsetPagination"];
2479
2473
  };
2480
2474
  CreateSnapshotRequestBody: {
2481
2475
  /** Format: uuid */
@@ -2624,12 +2618,7 @@ export interface components {
2624
2618
  };
2625
2619
  DiskAttachmentList: {
2626
2620
  items: components["schemas"]["DiskAttachment"][];
2627
- /** Format: int64 */
2628
- page: number;
2629
- /** Format: int64 */
2630
- page_size: number;
2631
- /** Format: int64 */
2632
- total_count: number;
2621
+ pagination: components["schemas"]["OffsetPagination"];
2633
2622
  };
2634
2623
  PortAttachment: {
2635
2624
  /** Format: uuid */
@@ -2652,12 +2641,7 @@ export interface components {
2652
2641
  };
2653
2642
  PortAttachmentList: {
2654
2643
  items: components["schemas"]["PortAttachment"][];
2655
- /** Format: int64 */
2656
- page: number;
2657
- /** Format: int64 */
2658
- page_size: number;
2659
- /** Format: int64 */
2660
- total_count: number;
2644
+ pagination: components["schemas"]["OffsetPagination"];
2661
2645
  };
2662
2646
  LaunchInstanceResponseBody: {
2663
2647
  /** @description Instances created by this operation. Empty before resource creation starts. */
@@ -2684,12 +2668,7 @@ export interface components {
2684
2668
  };
2685
2669
  IPv4PoolListResponseBody: {
2686
2670
  items: components["schemas"]["IPv4PoolResource"][];
2687
- /** Format: int64 */
2688
- page: number;
2689
- /** Format: int64 */
2690
- page_size: number;
2691
- /** Format: int64 */
2692
- total_count?: number;
2671
+ pagination: components["schemas"]["OffsetPagination"];
2693
2672
  };
2694
2673
  IPv4Binding: {
2695
2674
  /** Format: uuid */
@@ -2724,6 +2703,15 @@ export interface components {
2724
2703
  /** @description The resource's name. A floating IP is named by its address. */
2725
2704
  name: string;
2726
2705
  };
2706
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
2707
+ OffsetPagination: {
2708
+ /** Format: int64 */
2709
+ page: number;
2710
+ /** Format: int64 */
2711
+ page_size: number;
2712
+ /** Format: int64 */
2713
+ total_count?: number;
2714
+ };
2727
2715
  /**
2728
2716
  * @description A decimal string, in the currency stated alongside it.
2729
2717
  *
@@ -2761,7 +2749,10 @@ export interface components {
2761
2749
  };
2762
2750
  };
2763
2751
  responses: never;
2764
- parameters: never;
2752
+ parameters: {
2753
+ Page: number;
2754
+ PageSize: number;
2755
+ };
2765
2756
  requestBodies: never;
2766
2757
  headers: never;
2767
2758
  pathItems: never;
@@ -2773,6 +2764,8 @@ export interface operations {
2773
2764
  query?: {
2774
2765
  /** @description Return only the backups of this disk */
2775
2766
  disk_id?: string;
2767
+ page?: components["parameters"]["Page"];
2768
+ page_size?: components["parameters"]["PageSize"];
2776
2769
  };
2777
2770
  header?: never;
2778
2771
  path?: never;
@@ -3009,10 +3002,12 @@ export interface operations {
3009
3002
  };
3010
3003
  "list-disk-types": {
3011
3004
  parameters: {
3012
- query: {
3013
- region_id: string;
3005
+ query?: {
3006
+ region_id?: string;
3014
3007
  /** @description `true` lists only system disk types and `false` only data disk types. Both are listed when omitted. */
3015
3008
  for_system?: boolean;
3009
+ page?: components["parameters"]["Page"];
3010
+ page_size?: components["parameters"]["PageSize"];
3016
3011
  };
3017
3012
  header?: never;
3018
3013
  path?: never;
@@ -3078,8 +3073,8 @@ export interface operations {
3078
3073
  region_id?: string;
3079
3074
  /** @description Return only public or only private images. Both are returned when omitted */
3080
3075
  visibility?: components["schemas"]["ImageVisibility"];
3081
- page?: number;
3082
- page_size?: number;
3076
+ page?: components["parameters"]["Page"];
3077
+ page_size?: components["parameters"]["PageSize"];
3083
3078
  };
3084
3079
  header?: never;
3085
3080
  path?: never;
@@ -3281,10 +3276,10 @@ export interface operations {
3281
3276
  };
3282
3277
  "list-instance-types": {
3283
3278
  parameters: {
3284
- query: {
3285
- region_id: string;
3286
- page?: number;
3287
- page_size?: number;
3279
+ query?: {
3280
+ region_id?: string;
3281
+ page?: components["parameters"]["Page"];
3282
+ page_size?: components["parameters"]["PageSize"];
3288
3283
  };
3289
3284
  header?: never;
3290
3285
  path?: never;
@@ -3314,7 +3309,10 @@ export interface operations {
3314
3309
  };
3315
3310
  "list-regions": {
3316
3311
  parameters: {
3317
- query?: never;
3312
+ query?: {
3313
+ page?: components["parameters"]["Page"];
3314
+ page_size?: components["parameters"]["PageSize"];
3315
+ };
3318
3316
  header?: never;
3319
3317
  path?: never;
3320
3318
  cookie?: never;
@@ -3343,7 +3341,10 @@ export interface operations {
3343
3341
  };
3344
3342
  "list-availability-zones": {
3345
3343
  parameters: {
3346
- query?: never;
3344
+ query?: {
3345
+ page?: components["parameters"]["Page"];
3346
+ page_size?: components["parameters"]["PageSize"];
3347
+ };
3347
3348
  header?: never;
3348
3349
  path: {
3349
3350
  regionId: string;
@@ -3378,6 +3379,8 @@ export interface operations {
3378
3379
  region_id?: string;
3379
3380
  /** @description Supplied together with `region_code` to filter attachable disks */
3380
3381
  availability_zone_id?: string;
3382
+ page?: components["parameters"]["Page"];
3383
+ page_size?: components["parameters"]["PageSize"];
3381
3384
  };
3382
3385
  header?: never;
3383
3386
  path?: never;
@@ -3616,7 +3619,10 @@ export interface operations {
3616
3619
  };
3617
3620
  "list-floating-ips": {
3618
3621
  parameters: {
3619
- query?: never;
3622
+ query?: {
3623
+ page?: components["parameters"]["Page"];
3624
+ page_size?: components["parameters"]["PageSize"];
3625
+ };
3620
3626
  header?: never;
3621
3627
  path?: never;
3622
3628
  cookie?: never;
@@ -3853,8 +3859,8 @@ export interface operations {
3853
3859
  query?: {
3854
3860
  /** @description Only instances carrying this label, written as `key:value` — for example `env:prod`. Both halves are matched exactly */
3855
3861
  label?: string;
3856
- page?: number;
3857
- page_size?: number;
3862
+ page?: components["parameters"]["Page"];
3863
+ page_size?: components["parameters"]["PageSize"];
3858
3864
  };
3859
3865
  header?: never;
3860
3866
  path?: never;
@@ -4404,8 +4410,8 @@ export interface operations {
4404
4410
  "list-instance-disks": {
4405
4411
  parameters: {
4406
4412
  query?: {
4407
- page?: number;
4408
- page_size?: number;
4413
+ page?: components["parameters"]["Page"];
4414
+ page_size?: components["parameters"]["PageSize"];
4409
4415
  };
4410
4416
  header?: never;
4411
4417
  path: {
@@ -4572,8 +4578,8 @@ export interface operations {
4572
4578
  "list-instance-ports": {
4573
4579
  parameters: {
4574
4580
  query?: {
4575
- page?: number;
4576
- page_size?: number;
4581
+ page?: components["parameters"]["Page"];
4582
+ page_size?: components["parameters"]["PageSize"];
4577
4583
  };
4578
4584
  header?: never;
4579
4585
  path: {
@@ -4675,8 +4681,8 @@ export interface operations {
4675
4681
  query?: {
4676
4682
  /** @description Return a single kind of operation; the value matches the operation id of the endpoint */
4677
4683
  action?: string;
4678
- page?: number;
4679
- page_size?: number;
4684
+ page?: components["parameters"]["Page"];
4685
+ page_size?: components["parameters"]["PageSize"];
4680
4686
  };
4681
4687
  header?: never;
4682
4688
  path?: never;
@@ -4706,7 +4712,10 @@ export interface operations {
4706
4712
  };
4707
4713
  "list-ports": {
4708
4714
  parameters: {
4709
- query?: never;
4715
+ query?: {
4716
+ page?: components["parameters"]["Page"];
4717
+ page_size?: components["parameters"]["PageSize"];
4718
+ };
4710
4719
  header?: never;
4711
4720
  path?: never;
4712
4721
  cookie?: never;
@@ -4800,6 +4809,8 @@ export interface operations {
4800
4809
  query?: {
4801
4810
  /** @description Returns every region when omitted */
4802
4811
  region_id?: string;
4812
+ page?: components["parameters"]["Page"];
4813
+ page_size?: components["parameters"]["PageSize"];
4803
4814
  };
4804
4815
  header?: never;
4805
4816
  path?: never;
@@ -5048,7 +5059,10 @@ export interface operations {
5048
5059
  };
5049
5060
  "list-routes": {
5050
5061
  parameters: {
5051
- query?: never;
5062
+ query?: {
5063
+ page?: components["parameters"]["Page"];
5064
+ page_size?: components["parameters"]["PageSize"];
5065
+ };
5052
5066
  header?: never;
5053
5067
  path: {
5054
5068
  privateNetworkId: string;
@@ -5144,7 +5158,10 @@ export interface operations {
5144
5158
  };
5145
5159
  "list-subnets": {
5146
5160
  parameters: {
5147
- query?: never;
5161
+ query?: {
5162
+ page?: components["parameters"]["Page"];
5163
+ page_size?: components["parameters"]["PageSize"];
5164
+ };
5148
5165
  header?: never;
5149
5166
  path: {
5150
5167
  privateNetworkId: string;
@@ -5277,6 +5294,8 @@ export interface operations {
5277
5294
  region_id?: string;
5278
5295
  /** @description Return only the security groups of this private network */
5279
5296
  private_network_id?: string;
5297
+ page?: components["parameters"]["Page"];
5298
+ page_size?: components["parameters"]["PageSize"];
5280
5299
  };
5281
5300
  header?: never;
5282
5301
  path?: never;
@@ -5434,7 +5453,10 @@ export interface operations {
5434
5453
  };
5435
5454
  "list-security-group-rules": {
5436
5455
  parameters: {
5437
- query?: never;
5456
+ query?: {
5457
+ page?: components["parameters"]["Page"];
5458
+ page_size?: components["parameters"]["PageSize"];
5459
+ };
5438
5460
  header?: never;
5439
5461
  path: {
5440
5462
  securityGroupId: string;
@@ -5533,6 +5555,8 @@ export interface operations {
5533
5555
  query?: {
5534
5556
  /** @description Return only the snapshots of this disk */
5535
5557
  disk_id?: string;
5558
+ page?: components["parameters"]["Page"];
5559
+ page_size?: components["parameters"]["PageSize"];
5536
5560
  };
5537
5561
  header?: never;
5538
5562
  path?: never;
@@ -5732,10 +5756,10 @@ export interface operations {
5732
5756
  };
5733
5757
  "list-ipv4-pools": {
5734
5758
  parameters: {
5735
- query: {
5736
- region_id: string;
5737
- page?: number;
5738
- page_size?: number;
5759
+ query?: {
5760
+ region_id?: string;
5761
+ page?: components["parameters"]["Page"];
5762
+ page_size?: components["parameters"]["PageSize"];
5739
5763
  };
5740
5764
  header?: never;
5741
5765
  path?: never;
@@ -5766,8 +5790,8 @@ export interface operations {
5766
5790
  "list-peerings": {
5767
5791
  parameters: {
5768
5792
  query?: {
5769
- limit?: number;
5770
- offset?: number;
5793
+ page?: components["parameters"]["Page"];
5794
+ page_size?: components["parameters"]["PageSize"];
5771
5795
  };
5772
5796
  header?: never;
5773
5797
  path?: never;
@@ -49,8 +49,12 @@ export type ListTypePreferencesResult = operations["list-type-preferences"]["res
49
49
  export type ListTypePreferencesQuery = operations["list-type-preferences"]["parameters"]["query"];
50
50
  /** The success response body of `PUT /api/v1/preferences/types/{type}`. */
51
51
  export type UpdateTypePreferenceResult = operations["update-type-preference"]["responses"][200]["content"]["application/json"];
52
+ /** The query parameters of `PUT /api/v1/preferences/types/{type}`. */
53
+ export type UpdateTypePreferenceQuery = operations["update-type-preference"]["parameters"]["query"];
52
54
  /** The request body of `PUT /api/v1/preferences/types/{type}`. */
53
55
  export type UpdateTypePreferenceBody = NonNullable<operations["update-type-preference"]["requestBody"]>["content"]["application/json"];
56
+ /** The query parameters of `DELETE /api/v1/preferences/types/{type}`. */
57
+ export type DeleteTypePreferenceQuery = operations["delete-type-preference"]["parameters"]["query"];
54
58
  /** The success response body of `GET /api/v1/channels`. */
55
59
  export type ListUserChannelsResult = operations["list-user-channels"]["responses"][200]["content"]["application/json"];
56
60
  /** The query parameters of `GET /api/v1/channels`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.248.gf317c7d",
3
+ "version": "0.0.0-dev.250.g6df166c",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {