@leaflow/sdk 0.0.0-dev.152.g4fcf999 → 0.0.0-dev.154.g77ccbd9

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.
@@ -1131,12 +1131,7 @@ export interface components {
1131
1131
  };
1132
1132
  ResourceDependencyList: {
1133
1133
  items: components["schemas"]["ResourceDependency"][];
1134
- /** Format: int64 */
1135
- page: number;
1136
- /** Format: int64 */
1137
- page_size: number;
1138
- /** Format: int64 */
1139
- total_count?: number;
1134
+ pagination: components["schemas"]["OffsetPagination"];
1140
1135
  };
1141
1136
  /** @description Storage creates and bills this system disk as a separate order line. Required when booting from an image; mutually exclusive with boot_disk_id. The selected disk type must be attachable in the instance location. */
1142
1137
  NewBootDisk: {
@@ -1222,6 +1217,15 @@ export interface components {
1222
1217
  /** Format: uuid */
1223
1218
  id: string;
1224
1219
  };
1220
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
1221
+ OffsetPagination: {
1222
+ /** Format: int64 */
1223
+ page: number;
1224
+ /** Format: int64 */
1225
+ page_size: number;
1226
+ /** Format: int64 */
1227
+ total_count?: number;
1228
+ };
1225
1229
  };
1226
1230
  responses: never;
1227
1231
  parameters: never;
@@ -904,12 +904,7 @@ export interface components {
904
904
  };
905
905
  ResourceUsageList: {
906
906
  items: components["schemas"]["ResourceUsage"][];
907
- /** Format: int64 */
908
- page: number;
909
- /** Format: int64 */
910
- page_size: number;
911
- /** Format: int64 */
912
- total_count?: number;
907
+ pagination: components["schemas"]["OffsetPagination"];
913
908
  };
914
909
  /** @description Automatic reclamation is disabled by default. When enabled, retention starts after the last live claim is confirmed released. Traffic, IO and consumer heartbeats do not affect eligibility. */
915
910
  IdlePolicy: {
@@ -951,12 +946,7 @@ export interface components {
951
946
  };
952
947
  AttachmentList: {
953
948
  items: components["schemas"]["Attachment"][];
954
- /** Format: int64 */
955
- page: number;
956
- /** Format: int64 */
957
- page_size: number;
958
- /** Format: int64 */
959
- total_count?: number;
949
+ pagination: components["schemas"]["OffsetPagination"];
960
950
  };
961
951
  /** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
962
952
  PaymentPlan: {
@@ -970,6 +960,15 @@ export interface components {
970
960
  /** Format: uuid */
971
961
  id: string;
972
962
  };
963
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
964
+ OffsetPagination: {
965
+ /** Format: int64 */
966
+ page: number;
967
+ /** Format: int64 */
968
+ page_size: number;
969
+ /** Format: int64 */
970
+ total_count?: number;
971
+ };
973
972
  };
974
973
  responses: never;
975
974
  parameters: never;
@@ -344,12 +344,7 @@ export interface components {
344
344
  };
345
345
  ResourceUsageList: {
346
346
  items: components["schemas"]["ResourceUsage"][];
347
- /** Format: int64 */
348
- page: number;
349
- /** Format: int64 */
350
- page_size: number;
351
- /** Format: int64 */
352
- total_count?: number;
347
+ pagination: components["schemas"]["OffsetPagination"];
353
348
  };
354
349
  /** @description Automatic reclamation is disabled by default. When enabled, retention starts after the last live claim is confirmed released. Traffic, IO and consumer heartbeats do not affect eligibility. */
355
350
  IdlePolicy: {
@@ -391,12 +386,7 @@ export interface components {
391
386
  };
392
387
  AttachmentList: {
393
388
  items: components["schemas"]["Attachment"][];
394
- /** Format: int64 */
395
- page: number;
396
- /** Format: int64 */
397
- page_size: number;
398
- /** Format: int64 */
399
- total_count?: number;
389
+ pagination: components["schemas"]["OffsetPagination"];
400
390
  };
401
391
  };
402
392
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.152.g4fcf999",
3
+ "version": "0.0.0-dev.154.g77ccbd9",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {