@vercel/sdk 1.2.1 → 1.2.2

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 (43) hide show
  1. package/docs/sdks/teams/README.md +2 -2
  2. package/esm/lib/config.d.ts +3 -3
  3. package/esm/lib/config.js +3 -3
  4. package/esm/models/authuser.d.ts +3 -0
  5. package/esm/models/authuser.d.ts.map +1 -1
  6. package/esm/models/authuser.js +1 -0
  7. package/esm/models/authuser.js.map +1 -1
  8. package/esm/models/canceldeploymentop.d.ts +6 -6
  9. package/esm/models/canceldeploymentop.js +2 -2
  10. package/esm/models/canceldeploymentop.js.map +1 -1
  11. package/esm/models/checkdomainpriceop.d.ts +14 -2
  12. package/esm/models/checkdomainpriceop.d.ts.map +1 -1
  13. package/esm/models/checkdomainpriceop.js +8 -2
  14. package/esm/models/checkdomainpriceop.js.map +1 -1
  15. package/esm/models/createdeploymentop.d.ts +23 -23
  16. package/esm/models/createdeploymentop.d.ts.map +1 -1
  17. package/esm/models/createdeploymentop.js +21 -21
  18. package/esm/models/createdeploymentop.js.map +1 -1
  19. package/esm/models/createprojectop.d.ts +6 -6
  20. package/esm/models/createprojectop.js +2 -2
  21. package/esm/models/createprojectop.js.map +1 -1
  22. package/esm/models/getdeploymentsop.d.ts +5 -0
  23. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  24. package/esm/models/getdeploymentsop.js +2 -0
  25. package/esm/models/getdeploymentsop.js.map +1 -1
  26. package/esm/models/getdomainop.d.ts +2 -2
  27. package/esm/models/getdomainop.d.ts.map +1 -1
  28. package/esm/models/getdomainop.js +2 -2
  29. package/esm/models/getdomainop.js.map +1 -1
  30. package/esm/models/getteamop.d.ts +2 -5
  31. package/esm/models/getteamop.d.ts.map +1 -1
  32. package/esm/models/getteamop.js +2 -2
  33. package/esm/models/getteamop.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/lib/config.ts +3 -3
  36. package/src/models/authuser.ts +1 -0
  37. package/src/models/canceldeploymentop.ts +2 -2
  38. package/src/models/checkdomainpriceop.ts +22 -4
  39. package/src/models/createdeploymentop.ts +36 -36
  40. package/src/models/createprojectop.ts +2 -2
  41. package/src/models/getdeploymentsop.ts +7 -0
  42. package/src/models/getdomainop.ts +4 -4
  43. package/src/models/getteamop.ts +4 -7
@@ -6,16 +6,16 @@ import { remap as remap$ } from "../lib/primitives.js";
6
6
  import { safeParse } from "../lib/schemas.js";
7
7
  import { FlagJSONValue$inboundSchema, FlagJSONValue$outboundSchema, } from "./flagjsonvalue.js";
8
8
  /**
9
- * Allows to skip framework detection so the API would not fail to ask for confirmation
9
+ * Forces a new deployment even if there is a previous similar deployment
10
10
  */
11
- export const SkipAutoDetectionConfirmation = {
11
+ export const ForceNew = {
12
12
  Zero: "0",
13
13
  One: "1",
14
14
  };
15
15
  /**
16
- * Forces a new deployment even if there is a previous similar deployment
16
+ * Allows to skip framework detection so the API would not fail to ask for confirmation
17
17
  */
18
- export const ForceNew = {
18
+ export const SkipAutoDetectionConfirmation = {
19
19
  Zero: "0",
20
20
  One: "1",
21
21
  };
@@ -315,21 +315,6 @@ export const OwnerType = {
315
315
  User: "user",
316
316
  };
317
317
  /** @internal */
318
- export const SkipAutoDetectionConfirmation$inboundSchema = z.nativeEnum(SkipAutoDetectionConfirmation);
319
- /** @internal */
320
- export const SkipAutoDetectionConfirmation$outboundSchema = SkipAutoDetectionConfirmation$inboundSchema;
321
- /**
322
- * @internal
323
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
324
- */
325
- export var SkipAutoDetectionConfirmation$;
326
- (function (SkipAutoDetectionConfirmation$) {
327
- /** @deprecated use `SkipAutoDetectionConfirmation$inboundSchema` instead. */
328
- SkipAutoDetectionConfirmation$.inboundSchema = SkipAutoDetectionConfirmation$inboundSchema;
329
- /** @deprecated use `SkipAutoDetectionConfirmation$outboundSchema` instead. */
330
- SkipAutoDetectionConfirmation$.outboundSchema = SkipAutoDetectionConfirmation$outboundSchema;
331
- })(SkipAutoDetectionConfirmation$ || (SkipAutoDetectionConfirmation$ = {}));
332
- /** @internal */
333
318
  export const ForceNew$inboundSchema = z
334
319
  .nativeEnum(ForceNew);
335
320
  /** @internal */
@@ -346,6 +331,21 @@ export var ForceNew$;
346
331
  ForceNew$.outboundSchema = ForceNew$outboundSchema;
347
332
  })(ForceNew$ || (ForceNew$ = {}));
348
333
  /** @internal */
334
+ export const SkipAutoDetectionConfirmation$inboundSchema = z.nativeEnum(SkipAutoDetectionConfirmation);
335
+ /** @internal */
336
+ export const SkipAutoDetectionConfirmation$outboundSchema = SkipAutoDetectionConfirmation$inboundSchema;
337
+ /**
338
+ * @internal
339
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
340
+ */
341
+ export var SkipAutoDetectionConfirmation$;
342
+ (function (SkipAutoDetectionConfirmation$) {
343
+ /** @deprecated use `SkipAutoDetectionConfirmation$inboundSchema` instead. */
344
+ SkipAutoDetectionConfirmation$.inboundSchema = SkipAutoDetectionConfirmation$inboundSchema;
345
+ /** @deprecated use `SkipAutoDetectionConfirmation$outboundSchema` instead. */
346
+ SkipAutoDetectionConfirmation$.outboundSchema = SkipAutoDetectionConfirmation$outboundSchema;
347
+ })(SkipAutoDetectionConfirmation$ || (SkipAutoDetectionConfirmation$ = {}));
348
+ /** @internal */
349
349
  export const UploadedFile$inboundSchema = z.object({
350
350
  file: z.string(),
351
351
  sha: z.string().optional(),
@@ -957,9 +957,9 @@ export function createDeploymentRequestBodyFromJSON(jsonString) {
957
957
  }
958
958
  /** @internal */
959
959
  export const CreateDeploymentRequest$inboundSchema = z.object({
960
+ forceNew: ForceNew$inboundSchema.optional(),
960
961
  skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$inboundSchema
961
962
  .optional(),
962
- forceNew: ForceNew$inboundSchema.optional(),
963
963
  teamId: z.string().optional(),
964
964
  slug: z.string().optional(),
965
965
  RequestBody: z.lazy(() => CreateDeploymentRequestBody$inboundSchema),
@@ -970,9 +970,9 @@ export const CreateDeploymentRequest$inboundSchema = z.object({
970
970
  });
971
971
  /** @internal */
972
972
  export const CreateDeploymentRequest$outboundSchema = z.object({
973
+ forceNew: ForceNew$outboundSchema.optional(),
973
974
  skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema
974
975
  .optional(),
975
- forceNew: ForceNew$outboundSchema.optional(),
976
976
  teamId: z.string().optional(),
977
977
  slug: z.string().optional(),
978
978
  requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema),