@agentrix/shared 2.35.0 → 2.37.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +14 -14
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -514,8 +514,8 @@ type MachineApprovalStatusQuery = z.infer<typeof MachineApprovalStatusQuerySchem
514
514
  */
515
515
  declare const ApprovalStatusResponseSchema: z.ZodObject<{
516
516
  status: z.ZodEnum<{
517
- approved: "approved";
518
517
  pending: "pending";
518
+ approved: "approved";
519
519
  }>;
520
520
  }, z.core.$strip>;
521
521
  type ApprovalStatusResponse = z.infer<typeof ApprovalStatusResponseSchema>;
@@ -1430,7 +1430,7 @@ type GetAgentResponse = z.infer<typeof GetAgentResponseSchema>;
1430
1430
  /**
1431
1431
  * GET /v1/agents/:agentId/git-url - Response schema
1432
1432
  * Returns the authenticated git clone URL for the agent's repository.
1433
- * Used by the upgrade daemon to check for and stage new versions.
1433
+ * Used by CLI and worker paths to install agents and stage new versions.
1434
1434
  */
1435
1435
  declare const GetAgentGitUrlResponseSchema: z.ZodObject<{
1436
1436
  gitUrl: z.ZodString;
@@ -1738,8 +1738,8 @@ declare const SetEnvironmentVariablesRequestSchema: z.ZodObject<{
1738
1738
  ownerType: z.ZodEnum<{
1739
1739
  agent: "agent";
1740
1740
  cloud: "cloud";
1741
- "draft-agent": "draft-agent";
1742
1741
  machine: "machine";
1742
+ "draft-agent": "draft-agent";
1743
1743
  }>;
1744
1744
  ownerId: z.ZodString;
1745
1745
  variables: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -2128,9 +2128,9 @@ declare const CloudSchema: z.ZodObject<{
2128
2128
  member: "member";
2129
2129
  }>>;
2130
2130
  userStatus: z.ZodOptional<z.ZodEnum<{
2131
+ pending: "pending";
2131
2132
  active: "active";
2132
2133
  suspended: "suspended";
2133
- pending: "pending";
2134
2134
  revoked: "revoked";
2135
2135
  }>>;
2136
2136
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2173,9 +2173,9 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
2173
2173
  member: "member";
2174
2174
  }>>;
2175
2175
  userStatus: z.ZodOptional<z.ZodEnum<{
2176
+ pending: "pending";
2176
2177
  active: "active";
2177
2178
  suspended: "suspended";
2178
- pending: "pending";
2179
2179
  revoked: "revoked";
2180
2180
  }>>;
2181
2181
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3161,8 +3161,8 @@ declare const ConsoleUserMachinesResponseSchema: z.ZodObject<{
3161
3161
  localMachines: z.ZodArray<z.ZodObject<{
3162
3162
  id: z.ZodString;
3163
3163
  createdAt: z.ZodString;
3164
- updatedAt: z.ZodString;
3165
3164
  status: z.ZodString;
3165
+ updatedAt: z.ZodString;
3166
3166
  owner: z.ZodString;
3167
3167
  metadata: z.ZodNullable<z.ZodString>;
3168
3168
  approval: z.ZodString;
@@ -3186,9 +3186,9 @@ declare const ConsoleUserMachinesResponseSchema: z.ZodObject<{
3186
3186
  member: "member";
3187
3187
  }>>;
3188
3188
  userStatus: z.ZodOptional<z.ZodEnum<{
3189
+ pending: "pending";
3189
3190
  active: "active";
3190
3191
  suspended: "suspended";
3191
- pending: "pending";
3192
3192
  revoked: "revoked";
3193
3193
  }>>;
3194
3194
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4167,9 +4167,9 @@ declare const PrivateCloudSummarySchema: z.ZodObject<{
4167
4167
  member: "member";
4168
4168
  }>>;
4169
4169
  userStatus: z.ZodOptional<z.ZodEnum<{
4170
+ pending: "pending";
4170
4171
  active: "active";
4171
4172
  suspended: "suspended";
4172
- pending: "pending";
4173
4173
  revoked: "revoked";
4174
4174
  }>>;
4175
4175
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4209,9 +4209,9 @@ declare const ListPrivateCloudsResponseSchema: z.ZodObject<{
4209
4209
  member: "member";
4210
4210
  }>>;
4211
4211
  userStatus: z.ZodOptional<z.ZodEnum<{
4212
+ pending: "pending";
4212
4213
  active: "active";
4213
4214
  suspended: "suspended";
4214
- pending: "pending";
4215
4215
  revoked: "revoked";
4216
4216
  }>>;
4217
4217
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4263,9 +4263,9 @@ declare const CreatePrivateCloudResponseSchema: z.ZodObject<{
4263
4263
  member: "member";
4264
4264
  }>>;
4265
4265
  userStatus: z.ZodOptional<z.ZodEnum<{
4266
+ pending: "pending";
4266
4267
  active: "active";
4267
4268
  suspended: "suspended";
4268
- pending: "pending";
4269
4269
  revoked: "revoked";
4270
4270
  }>>;
4271
4271
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4360,9 +4360,9 @@ declare const AcceptPrivateCloudInviteResponseSchema: z.ZodObject<{
4360
4360
  member: "member";
4361
4361
  }>>;
4362
4362
  userStatus: z.ZodOptional<z.ZodEnum<{
4363
+ pending: "pending";
4363
4364
  active: "active";
4364
4365
  suspended: "suspended";
4365
- pending: "pending";
4366
4366
  revoked: "revoked";
4367
4367
  }>>;
4368
4368
  maxMachineCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4394,9 +4394,9 @@ declare const PrivateCloudMemberSchema: z.ZodObject<{
4394
4394
  member: "member";
4395
4395
  }>;
4396
4396
  status: z.ZodEnum<{
4397
+ pending: "pending";
4397
4398
  active: "active";
4398
4399
  suspended: "suspended";
4399
- pending: "pending";
4400
4400
  revoked: "revoked";
4401
4401
  }>;
4402
4402
  createdAt: z.ZodString;
@@ -4413,9 +4413,9 @@ declare const ListPrivateCloudMembersResponseSchema: z.ZodObject<{
4413
4413
  member: "member";
4414
4414
  }>;
4415
4415
  status: z.ZodEnum<{
4416
+ pending: "pending";
4416
4417
  active: "active";
4417
4418
  suspended: "suspended";
4418
- pending: "pending";
4419
4419
  revoked: "revoked";
4420
4420
  }>;
4421
4421
  createdAt: z.ZodString;
@@ -4462,9 +4462,9 @@ declare const UpdatePrivateCloudMemberRoleResponseSchema: z.ZodObject<{
4462
4462
  member: "member";
4463
4463
  }>;
4464
4464
  status: z.ZodEnum<{
4465
+ pending: "pending";
4465
4466
  active: "active";
4466
4467
  suspended: "suspended";
4467
- pending: "pending";
4468
4468
  revoked: "revoked";
4469
4469
  }>;
4470
4470
  createdAt: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentrix/shared",
3
- "version": "2.35.0",
3
+ "version": "2.37.0",
4
4
  "description": "Shared types and schemas for Agentrix projects",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",