@alienplatform/platform-api 2.1.6 → 3.0.1

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.
@@ -1,13 +1,13 @@
1
1
  import * as z from "zod/v4";
2
2
  export type GenerateManagerTokenRequest = {
3
3
  /**
4
- * Project ID or name to scope token access to. When omitted, the token is scoped to all projects accessible by the current user.
4
+ * Project ID or name to scope token access to.
5
5
  */
6
- project?: string | undefined;
6
+ project: string;
7
7
  };
8
8
  /** @internal */
9
9
  export type GenerateManagerTokenRequest$Outbound = {
10
- project?: string | undefined;
10
+ project: string;
11
11
  };
12
12
  /** @internal */
13
13
  export declare const GenerateManagerTokenRequest$outboundSchema: z.ZodType<GenerateManagerTokenRequest$Outbound, GenerateManagerTokenRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"generatemanagertokenrequest.d.ts","sourceRoot":"","sources":["../../src/models/generatemanagertokenrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,2BAA2B,CAG3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
1
+ {"version":3,"file":"generatemanagertokenrequest.d.ts","sourceRoot":"","sources":["../../src/models/generatemanagertokenrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,2BAA2B,CAG3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
@@ -4,7 +4,7 @@
4
4
  import * as z from "zod/v4";
5
5
  /** @internal */
6
6
  export const GenerateManagerTokenRequest$outboundSchema = z.object({
7
- project: z.string().optional(),
7
+ project: z.string(),
8
8
  });
9
9
  export function generateManagerTokenRequestToJSON(generateManagerTokenRequest) {
10
10
  return JSON.stringify(GenerateManagerTokenRequest$outboundSchema.parse(generateManagerTokenRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"generatemanagertokenrequest.js","sourceRoot":"","sources":["../../src/models/generatemanagertokenrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAc5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"generatemanagertokenrequest.js","sourceRoot":"","sources":["../../src/models/generatemanagertokenrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAc5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alienplatform/platform-api",
3
- "version": "2.1.6",
3
+ "version": "3.0.1",
4
4
  "author": "Alien Software, Inc. <hi@alien.dev>",
5
5
  "homepage": "https://alien.dev",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -6,14 +6,14 @@ import * as z from "zod/v4";
6
6
 
7
7
  export type GenerateManagerTokenRequest = {
8
8
  /**
9
- * Project ID or name to scope token access to. When omitted, the token is scoped to all projects accessible by the current user.
9
+ * Project ID or name to scope token access to.
10
10
  */
11
- project?: string | undefined;
11
+ project: string;
12
12
  };
13
13
 
14
14
  /** @internal */
15
15
  export type GenerateManagerTokenRequest$Outbound = {
16
- project?: string | undefined;
16
+ project: string;
17
17
  };
18
18
 
19
19
  /** @internal */
@@ -21,7 +21,7 @@ export const GenerateManagerTokenRequest$outboundSchema: z.ZodType<
21
21
  GenerateManagerTokenRequest$Outbound,
22
22
  GenerateManagerTokenRequest
23
23
  > = z.object({
24
- project: z.string().optional(),
24
+ project: z.string(),
25
25
  });
26
26
 
27
27
  export function generateManagerTokenRequestToJSON(