@leaflow/sdk 0.100.1 → 0.101.0

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.
@@ -510,14 +510,17 @@ export interface components {
510
510
  /** @description The token carried by the invitation link */
511
511
  token: string;
512
512
  };
513
+ ProjectTraitResource: {
514
+ key: string;
515
+ value: string;
516
+ /** @enum {string} */
517
+ effect: "NoWrite" | "NoAccess";
518
+ reason: string;
519
+ };
513
520
  ProjectResource: {
514
- /**
515
- * Format: date-time
516
- * @description A read-only management lock. Running resources and billing remain unchanged. Only an operator can release it.
517
- */
518
- locked_at: string | null;
519
- lock_reason: string;
520
- ban_reason: string;
521
+ traits: components["schemas"]["ProjectTraitResource"][];
522
+ /** Format: date-time */
523
+ deletion_requested_at: string | null;
521
524
  /** Format: date-time */
522
525
  created_at: string;
523
526
  created_by: string;
@@ -530,10 +533,6 @@ export interface components {
530
533
  /** Format: uuid */
531
534
  id: string;
532
535
  name: string;
533
- /** @enum {string} */
534
- status: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
535
- /** @description Written for a reader; it takes part in no query */
536
- status_reason: string;
537
536
  /** Format: date-time */
538
537
  updated_at: string;
539
538
  };
@@ -1063,8 +1062,7 @@ export interface operations {
1063
1062
  offset?: number;
1064
1063
  /** @description Matches against name or description */
1065
1064
  keyword?: string;
1066
- /** @description Filters by external status. Deleted projects are excluded while this is absent */
1067
- status?: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
1065
+ include_deleted?: boolean;
1068
1066
  };
1069
1067
  header?: never;
1070
1068
  path?: never;
@@ -434,14 +434,17 @@ export interface components {
434
434
  /** @description **The rules compiled from every policy that applies. Do not walk them to reach a decision.** They are here to render what a user may do; each request is decided by the service handling it */
435
435
  rules: components["schemas"]["RuleResource"][] | null;
436
436
  };
437
+ ProjectTraitResource: {
438
+ key: string;
439
+ value: string;
440
+ /** @enum {string} */
441
+ effect: "NoWrite" | "NoAccess";
442
+ reason: string;
443
+ };
437
444
  ProjectResource: {
438
- /**
439
- * Format: date-time
440
- * @description A read-only management lock. Running resources and billing remain unchanged. Only an operator can release it.
441
- */
442
- locked_at: string | null;
443
- lock_reason: string;
444
- ban_reason: string;
445
+ traits: components["schemas"]["ProjectTraitResource"][];
446
+ /** Format: date-time */
447
+ deletion_requested_at: string | null;
445
448
  /** Format: date-time */
446
449
  created_at: string;
447
450
  created_by: string;
@@ -454,10 +457,6 @@ export interface components {
454
457
  /** Format: uuid */
455
458
  id: string;
456
459
  name: string;
457
- /** @enum {string} */
458
- status: "ACTIVE" | "SUSPENDED" | "BANNED" | "DELETING" | "DELETED";
459
- /** @description Written for a reader; it takes part in no query */
460
- status_reason: string;
461
460
  /** Format: date-time */
462
461
  updated_at: string;
463
462
  };
@@ -470,9 +469,13 @@ export interface components {
470
469
  name?: string;
471
470
  };
472
471
  MembershipResource: {
472
+ traits: components["schemas"]["ProjectTraitResource"][];
473
+ /** Format: date-time */
474
+ deleted_at: string | null;
475
+ /** Format: date-time */
476
+ deletion_requested_at: string | null;
473
477
  grant: components["schemas"]["GrantResource"];
474
478
  member: boolean;
475
- project_status: string;
476
479
  user_status: string;
477
480
  };
478
481
  InvitationResource: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.100.1",
3
+ "version": "0.101.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {