@metorial-services/shuttle-client 1.0.5 → 1.0.7

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.ts +32 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -918,7 +918,7 @@ declare let rootController: {
918
918
  };
919
919
  }>;
920
920
  create: Handler<UndefinedIsOptional<{
921
- tenantId: string;
921
+ tenantId: string | undefined;
922
922
  from: UndefinedIsOptional<{
923
923
  type: "container.from_image_ref";
924
924
  imageRef: string;
@@ -5267,6 +5267,37 @@ declare let rootController: {
5267
5267
  rules: PrismaJson.NetworkingRulesetList;
5268
5268
  };
5269
5269
  }>;
5270
+ getMany: Handler<UndefinedIsOptional<{
5271
+ tenantId: string;
5272
+ networkingRulesetIds: string[];
5273
+ }>, {
5274
+ object: string;
5275
+ id: string;
5276
+ status: NetworkingRuleStatus;
5277
+ name: string;
5278
+ description: string | null;
5279
+ defaultAction: "accept" | "deny";
5280
+ rules: {
5281
+ action: "accept" | "deny";
5282
+ protocol?: "tcp" | "udp" | "icmp";
5283
+ destination?: string;
5284
+ portRange?: {
5285
+ start: number;
5286
+ end: number;
5287
+ };
5288
+ }[];
5289
+ tenantId: string;
5290
+ createdAt: Date;
5291
+ }[], {
5292
+ tenant: {
5293
+ name: string;
5294
+ oid: bigint;
5295
+ id: string;
5296
+ createdAt: Date;
5297
+ identifier: string;
5298
+ functionBayTenantId: string | null;
5299
+ };
5300
+ }>;
5270
5301
  };
5271
5302
  };
5272
5303
  export type ShuttleClient = InferClient<typeof rootController>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metorial-services/shuttle-client",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },