@leaflow/sdk 0.0.0-dev.152.g4fcf999 → 0.0.0-dev.156.gac9cb04

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: {
@@ -1201,7 +1196,6 @@ export interface components {
1201
1196
  state: "reserved" | "active" | "releasing" | "released";
1202
1197
  /** Format: int64 */
1203
1198
  generation: number;
1204
- /** Format: uuid */
1205
1199
  operation_id: string;
1206
1200
  /** Format: date-time */
1207
1201
  created_at: string;
@@ -1222,6 +1216,15 @@ export interface components {
1222
1216
  /** Format: uuid */
1223
1217
  id: string;
1224
1218
  };
1219
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
1220
+ OffsetPagination: {
1221
+ /** Format: int64 */
1222
+ page: number;
1223
+ /** Format: int64 */
1224
+ page_size: number;
1225
+ /** Format: int64 */
1226
+ total_count?: number;
1227
+ };
1225
1228
  };
1226
1229
  responses: never;
1227
1230
  parameters: never;
@@ -893,7 +893,6 @@ export interface components {
893
893
  state: "reserved" | "active" | "releasing" | "released";
894
894
  /** Format: int64 */
895
895
  generation: number;
896
- /** Format: uuid */
897
896
  operation_id: string;
898
897
  /** Format: date-time */
899
898
  created_at: string;
@@ -904,12 +903,7 @@ export interface components {
904
903
  };
905
904
  ResourceUsageList: {
906
905
  items: components["schemas"]["ResourceUsage"][];
907
- /** Format: int64 */
908
- page: number;
909
- /** Format: int64 */
910
- page_size: number;
911
- /** Format: int64 */
912
- total_count?: number;
906
+ pagination: components["schemas"]["OffsetPagination"];
913
907
  };
914
908
  /** @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
909
  IdlePolicy: {
@@ -951,12 +945,7 @@ export interface components {
951
945
  };
952
946
  AttachmentList: {
953
947
  items: components["schemas"]["Attachment"][];
954
- /** Format: int64 */
955
- page: number;
956
- /** Format: int64 */
957
- page_size: number;
958
- /** Format: int64 */
959
- total_count?: number;
948
+ pagination: components["schemas"]["OffsetPagination"];
960
949
  };
961
950
  /** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
962
951
  PaymentPlan: {
@@ -970,6 +959,15 @@ export interface components {
970
959
  /** Format: uuid */
971
960
  id: string;
972
961
  };
962
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
963
+ OffsetPagination: {
964
+ /** Format: int64 */
965
+ page: number;
966
+ /** Format: int64 */
967
+ page_size: number;
968
+ /** Format: int64 */
969
+ total_count?: number;
970
+ };
973
971
  };
974
972
  responses: never;
975
973
  parameters: never;
@@ -333,7 +333,6 @@ export interface components {
333
333
  state: "reserved" | "active" | "releasing" | "released";
334
334
  /** Format: int64 */
335
335
  generation: number;
336
- /** Format: uuid */
337
336
  operation_id: string;
338
337
  /** Format: date-time */
339
338
  created_at: string;
@@ -344,12 +343,7 @@ export interface components {
344
343
  };
345
344
  ResourceUsageList: {
346
345
  items: components["schemas"]["ResourceUsage"][];
347
- /** Format: int64 */
348
- page: number;
349
- /** Format: int64 */
350
- page_size: number;
351
- /** Format: int64 */
352
- total_count?: number;
346
+ pagination: components["schemas"]["OffsetPagination"];
353
347
  };
354
348
  /** @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
349
  IdlePolicy: {
@@ -391,12 +385,7 @@ export interface components {
391
385
  };
392
386
  AttachmentList: {
393
387
  items: components["schemas"]["Attachment"][];
394
- /** Format: int64 */
395
- page: number;
396
- /** Format: int64 */
397
- page_size: number;
398
- /** Format: int64 */
399
- total_count?: number;
388
+ pagination: components["schemas"]["OffsetPagination"];
400
389
  };
401
390
  };
402
391
  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.156.gac9cb04",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {