@orchestraworks/cli 0.5.3 → 0.5.5

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.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/dist/generated/cli-commands.json +611 -5
  3. package/dist/generated/cli-dispatch.js +9 -0
  4. package/dist/generated/managed-skills.js +5 -0
  5. package/node_modules/@orchestraworks/client/dist/apis/OrganizationInvitationsApi.d.ts +29 -0
  6. package/node_modules/@orchestraworks/client/dist/apis/OrganizationInvitationsApi.js +96 -0
  7. package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationInvitationsApi.d.ts +29 -0
  8. package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationInvitationsApi.js +96 -0
  9. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.d.ts +2 -2
  10. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationAuthPolicy.d.ts +1 -1
  11. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.d.ts +14 -1
  12. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.js +8 -1
  13. package/node_modules/@orchestraworks/client/dist/esm/models/Principal.d.ts +6 -0
  14. package/node_modules/@orchestraworks/client/dist/esm/models/Principal.js +2 -0
  15. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.d.ts +2 -1
  16. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.js +2 -1
  17. package/node_modules/@orchestraworks/client/dist/esm/models/User.d.ts +6 -0
  18. package/node_modules/@orchestraworks/client/dist/esm/models/User.js +4 -0
  19. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.d.ts +2 -2
  20. package/node_modules/@orchestraworks/client/dist/models/OrganizationAuthPolicy.d.ts +1 -1
  21. package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.d.ts +14 -1
  22. package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.js +8 -1
  23. package/node_modules/@orchestraworks/client/dist/models/Principal.d.ts +6 -0
  24. package/node_modules/@orchestraworks/client/dist/models/Principal.js +2 -0
  25. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.d.ts +2 -1
  26. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.js +2 -1
  27. package/node_modules/@orchestraworks/client/dist/models/User.d.ts +6 -0
  28. package/node_modules/@orchestraworks/client/dist/models/User.js +4 -0
  29. package/node_modules/@orchestraworks/client/package.json +1 -1
  30. package/package.json +4 -4
@@ -27,7 +27,8 @@ exports.OrganizationInvitationStatusEnum = {
27
27
  Pending: 'PENDING',
28
28
  Accepted: 'ACCEPTED',
29
29
  Expired: 'EXPIRED',
30
- Revoked: 'REVOKED'
30
+ Revoked: 'REVOKED',
31
+ Declined: 'DECLINED'
31
32
  };
32
33
  /**
33
34
  * Check if a given object implements the OrganizationInvitation interface.
@@ -37,6 +38,8 @@ function instanceOfOrganizationInvitation(value) {
37
38
  return false;
38
39
  if (!('organizationId' in value) || value['organizationId'] === undefined)
39
40
  return false;
41
+ if (!('organizationName' in value) || value['organizationName'] === undefined)
42
+ return false;
40
43
  if (!('email' in value) || value['email'] === undefined)
41
44
  return false;
42
45
  if (!('status' in value) || value['status'] === undefined)
@@ -63,6 +66,7 @@ function OrganizationInvitationFromJSONTyped(json, ignoreDiscriminator) {
63
66
  return {
64
67
  'id': json['id'],
65
68
  'organizationId': json['organizationId'],
69
+ 'organizationName': json['organizationName'],
66
70
  'email': json['email'],
67
71
  'status': json['status'],
68
72
  'invitedByUserId': json['invitedByUserId'] == null ? undefined : json['invitedByUserId'],
@@ -70,6 +74,7 @@ function OrganizationInvitationFromJSONTyped(json, ignoreDiscriminator) {
70
74
  'acceptedMembershipId': json['acceptedMembershipId'] == null ? undefined : json['acceptedMembershipId'],
71
75
  'expiresAt': (new Date(json['expiresAt'])),
72
76
  'acceptedAt': json['acceptedAt'] == null ? undefined : (new Date(json['acceptedAt'])),
77
+ 'emailSentAt': json['emailSentAt'] == null ? undefined : (new Date(json['emailSentAt'])),
73
78
  'roleAssignments': (json['roleAssignments'].map(RoleAssignment_1.RoleAssignmentFromJSON)),
74
79
  'createdAt': (new Date(json['createdAt'])),
75
80
  'updatedAt': (new Date(json['updatedAt'])),
@@ -86,6 +91,7 @@ function OrganizationInvitationToJSONTyped(value, ignoreDiscriminator = false) {
86
91
  return {
87
92
  'id': value['id'],
88
93
  'organizationId': value['organizationId'],
94
+ 'organizationName': value['organizationName'],
89
95
  'email': value['email'],
90
96
  'status': value['status'],
91
97
  'invitedByUserId': value['invitedByUserId'],
@@ -93,6 +99,7 @@ function OrganizationInvitationToJSONTyped(value, ignoreDiscriminator = false) {
93
99
  'acceptedMembershipId': value['acceptedMembershipId'],
94
100
  'expiresAt': value['expiresAt'].toISOString(),
95
101
  'acceptedAt': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
102
+ 'emailSentAt': value['emailSentAt'] == null ? value['emailSentAt'] : value['emailSentAt'].toISOString(),
96
103
  'roleAssignments': (value['roleAssignments'].map(RoleAssignment_1.RoleAssignmentToJSON)),
97
104
  'createdAt': value['createdAt'].toISOString(),
98
105
  'updatedAt': value['updatedAt'].toISOString(),
@@ -57,6 +57,12 @@ export interface Principal {
57
57
  * @memberof Principal
58
58
  */
59
59
  email?: string;
60
+ /**
61
+ * Whether the identity provider reported the user's email verified at their last sign-in, when the principal is a user
62
+ * @type {boolean}
63
+ * @memberof Principal
64
+ */
65
+ emailVerified?: boolean;
60
66
  /**
61
67
  * Human-readable principal display name
62
68
  * @type {string}
@@ -72,6 +72,7 @@ function PrincipalFromJSONTyped(json, ignoreDiscriminator) {
72
72
  'serviceAccountId': json['serviceAccountId'] == null ? undefined : json['serviceAccountId'],
73
73
  'agentId': json['agentId'] == null ? undefined : json['agentId'],
74
74
  'email': json['email'] == null ? undefined : json['email'],
75
+ 'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
75
76
  'displayName': json['displayName'] == null ? undefined : json['displayName'],
76
77
  'provider': json['provider'] == null ? undefined : json['provider'],
77
78
  'authenticationMethod': json['authenticationMethod'] == null ? undefined : json['authenticationMethod'],
@@ -93,6 +94,7 @@ function PrincipalToJSONTyped(value, ignoreDiscriminator = false) {
93
94
  'serviceAccountId': value['serviceAccountId'],
94
95
  'agentId': value['agentId'],
95
96
  'email': value['email'],
97
+ 'emailVerified': value['emailVerified'],
96
98
  'displayName': value['displayName'],
97
99
  'provider': value['provider'],
98
100
  'authenticationMethod': value['authenticationMethod'],
@@ -29,7 +29,7 @@ export interface UpdateOrganizationInvitationRequest {
29
29
  */
30
30
  roleAssignments?: Array<RoleAssignment>;
31
31
  /**
32
- * Invitation expiration timestamp
32
+ * Invitation expiration timestamp, 1 to 30 days ahead
33
33
  * @type {Date}
34
34
  * @memberof UpdateOrganizationInvitationRequest
35
35
  */
@@ -51,6 +51,7 @@ export declare const UpdateOrganizationInvitationRequestStatusEnum: {
51
51
  readonly Accepted: "ACCEPTED";
52
52
  readonly Expired: "EXPIRED";
53
53
  readonly Revoked: "REVOKED";
54
+ readonly Declined: "DECLINED";
54
55
  };
55
56
  export type UpdateOrganizationInvitationRequestStatusEnum = typeof UpdateOrganizationInvitationRequestStatusEnum[keyof typeof UpdateOrganizationInvitationRequestStatusEnum];
56
57
  /**
@@ -27,7 +27,8 @@ exports.UpdateOrganizationInvitationRequestStatusEnum = {
27
27
  Pending: 'PENDING',
28
28
  Accepted: 'ACCEPTED',
29
29
  Expired: 'EXPIRED',
30
- Revoked: 'REVOKED'
30
+ Revoked: 'REVOKED',
31
+ Declined: 'DECLINED'
31
32
  };
32
33
  /**
33
34
  * Check if a given object implements the UpdateOrganizationInvitationRequest interface.
@@ -39,6 +39,12 @@ export interface User {
39
39
  * @memberof User
40
40
  */
41
41
  status: UserStatusEnum;
42
+ /**
43
+ * Whether the identity provider reported this email address verified at the person's last sign-in. Server-owned; set by sign-in only.
44
+ * @type {boolean}
45
+ * @memberof User
46
+ */
47
+ emailVerified: boolean;
42
48
  /**
43
49
  * Labels: the customer's key-to-value tags; the platform reads no key
44
50
  * @type {{ [key: string]: string; }}
@@ -36,6 +36,8 @@ function instanceOfUser(value) {
36
36
  return false;
37
37
  if (!('status' in value) || value['status'] === undefined)
38
38
  return false;
39
+ if (!('emailVerified' in value) || value['emailVerified'] === undefined)
40
+ return false;
39
41
  if (!('labels' in value) || value['labels'] === undefined)
40
42
  return false;
41
43
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -56,6 +58,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'email': json['email'],
57
59
  'displayName': json['displayName'] == null ? undefined : json['displayName'],
58
60
  'status': json['status'],
61
+ 'emailVerified': json['emailVerified'],
59
62
  'labels': json['labels'],
60
63
  'createdAt': (new Date(json['createdAt'])),
61
64
  'updatedAt': (new Date(json['updatedAt'])),
@@ -73,6 +76,7 @@ function UserToJSONTyped(value, ignoreDiscriminator = false) {
73
76
  'email': value['email'],
74
77
  'displayName': value['displayName'],
75
78
  'status': value['status'],
79
+ 'emailVerified': value['emailVerified'],
76
80
  'labels': value['labels'],
77
81
  'createdAt': value['createdAt'].toISOString(),
78
82
  'updatedAt': value['updatedAt'].toISOString(),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestraworks/client",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Orchestra public API TypeScript client",
5
5
  "author": "Living Computers",
6
6
  "repository": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestraworks/cli",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "description": "The Orchestra command line.",
6
6
  "license": "Apache-2.0",
@@ -109,13 +109,13 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "@agentclientprotocol/sdk": "1.3.0",
112
- "@orchestraworks/client": "0.5.3",
113
- "@orchestraworks/worker": "0.0.138",
112
+ "@orchestraworks/client": "0.5.5",
113
+ "@orchestraworks/worker": "0.0.139",
114
114
  "commander": "^14.0.0",
115
115
  "liquidjs": "^10.28.0"
116
116
  },
117
117
  "optionalDependencies": {
118
- "@orchestraworks/local": "0.0.138"
118
+ "@orchestraworks/local": "0.0.139"
119
119
  },
120
120
  "bundleDependencies": [
121
121
  "@orchestraworks/client"