@renai-labs/sdk 0.1.10 → 0.1.11

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.
@@ -606,6 +606,42 @@ export type SandboxBootstrapCompleteResponses = {
606
606
  };
607
607
  };
608
608
  export type SandboxBootstrapCompleteResponse = SandboxBootstrapCompleteResponses[keyof SandboxBootstrapCompleteResponses];
609
+ export type SandboxInvalidateCompleteData = {
610
+ body?: never;
611
+ path?: never;
612
+ query?: never;
613
+ url: "/api/sandbox/invalidate-complete";
614
+ };
615
+ export type SandboxInvalidateCompleteErrors = {
616
+ /**
617
+ * Unauthorized
618
+ */
619
+ 401: {
620
+ error: string;
621
+ };
622
+ /**
623
+ * Forbidden
624
+ */
625
+ 403: {
626
+ error: string;
627
+ };
628
+ /**
629
+ * Not found
630
+ */
631
+ 404: {
632
+ error: string;
633
+ };
634
+ };
635
+ export type SandboxInvalidateCompleteError = SandboxInvalidateCompleteErrors[keyof SandboxInvalidateCompleteErrors];
636
+ export type SandboxInvalidateCompleteResponses = {
637
+ /**
638
+ * Signal delivered
639
+ */
640
+ 200: {
641
+ ok: true;
642
+ };
643
+ };
644
+ export type SandboxInvalidateCompleteResponse = SandboxInvalidateCompleteResponses[keyof SandboxInvalidateCompleteResponses];
609
645
  export type SandboxManifestGetData = {
610
646
  body?: never;
611
647
  path?: never;
@@ -695,6 +695,24 @@ export type Topology = {
695
695
  enabled?: boolean;
696
696
  notes?: string;
697
697
  }>;
698
+ emails?: Array<{
699
+ /**
700
+ * A live Ren entity id (e.g. pod_…, prj_…, agt_…). Pins the spec entry to an existing row.
701
+ */
702
+ id: string;
703
+ /**
704
+ * Slug of the project this mailbox routes inbound email to.
705
+ */
706
+ project: string;
707
+ /**
708
+ * Local part of the mailbox address (before the @).
709
+ */
710
+ localPart: string;
711
+ /**
712
+ * Full inbound email address for the project.
713
+ */
714
+ address: string;
715
+ }>;
698
716
  };
699
717
  export type SkillVersion = {
700
718
  id: string;
@@ -1133,6 +1133,12 @@ export declare const zTopology: z.ZodObject<{
1133
1133
  enabled: z.ZodOptional<z.ZodBoolean>;
1134
1134
  notes: z.ZodOptional<z.ZodString>;
1135
1135
  }, z.core.$strip>>>;
1136
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1137
+ id: z.ZodString;
1138
+ project: z.ZodString;
1139
+ localPart: z.ZodString;
1140
+ address: z.ZodEmail;
1141
+ }, z.core.$strip>>>;
1136
1142
  }, z.core.$strip>;
1137
1143
  export declare const zSkillVersion: z.ZodObject<{
1138
1144
  id: z.ZodString;
@@ -11427,6 +11433,12 @@ export declare const zTopologyGetResponse: z.ZodObject<{
11427
11433
  enabled: z.ZodOptional<z.ZodBoolean>;
11428
11434
  notes: z.ZodOptional<z.ZodString>;
11429
11435
  }, z.core.$strip>>>;
11436
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
11437
+ id: z.ZodString;
11438
+ project: z.ZodString;
11439
+ localPart: z.ZodString;
11440
+ address: z.ZodEmail;
11441
+ }, z.core.$strip>>>;
11430
11442
  }, z.core.$strip>;
11431
11443
  export declare const zTopologyShareListQuery: z.ZodObject<{
11432
11444
  scope: z.ZodOptional<z.ZodEnum<{
@@ -13398,4 +13410,10 @@ export declare const zRegistryTopologyShareGetResponse: z.ZodObject<{
13398
13410
  enabled: z.ZodOptional<z.ZodBoolean>;
13399
13411
  notes: z.ZodOptional<z.ZodString>;
13400
13412
  }, z.core.$strip>>>;
13413
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
13414
+ id: z.ZodString;
13415
+ project: z.ZodString;
13416
+ localPart: z.ZodString;
13417
+ address: z.ZodEmail;
13418
+ }, z.core.$strip>>>;
13401
13419
  }, z.core.$strip>;
@@ -618,6 +618,16 @@ export const zTopology = z.object({
618
618
  notes: z.string().optional(),
619
619
  }))
620
620
  .optional(),
621
+ emails: z
622
+ .array(z.object({
623
+ id: z.string().regex(/^[a-z]+_[A-Za-z0-9]+$/),
624
+ project: z.string().regex(/^[a-z0-9][a-z0-9-]*$/),
625
+ localPart: z.string(),
626
+ address: z
627
+ .email()
628
+ .regex(/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/),
629
+ }))
630
+ .optional(),
621
631
  });
622
632
  export const zSkillVersion = z.object({
623
633
  id: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renai-labs/sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "TypeScript SDK for the Ren API, generated from OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Ren Labs, Inc.",