@alienplatform/manager-api 3.3.62 → 3.3.63
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.
- package/README.md +24 -2
- package/esm/funcs/identityEnrollRuntimeIdentity.d.ts +11 -0
- package/esm/funcs/identityEnrollRuntimeIdentity.d.ts.map +1 -0
- package/esm/funcs/identityEnrollRuntimeIdentity.js +72 -0
- package/esm/funcs/identityEnrollRuntimeIdentity.js.map +1 -0
- package/esm/funcs/identityExchangeRuntimeIdentity.d.ts +14 -0
- package/esm/funcs/identityExchangeRuntimeIdentity.d.ts.map +1 -0
- package/esm/funcs/identityExchangeRuntimeIdentity.js +75 -0
- package/esm/funcs/identityExchangeRuntimeIdentity.js.map +1 -0
- package/esm/funcs/identityIssueEnrollmentCode.d.ts +15 -0
- package/esm/funcs/identityIssueEnrollmentCode.d.ts.map +1 -0
- package/esm/funcs/identityIssueEnrollmentCode.js +81 -0
- package/esm/funcs/identityIssueEnrollmentCode.js.map +1 -0
- package/esm/funcs/identityRotateRuntimeIdentity.d.ts +11 -0
- package/esm/funcs/identityRotateRuntimeIdentity.d.ts.map +1 -0
- package/esm/funcs/identityRotateRuntimeIdentity.js +72 -0
- package/esm/funcs/identityRotateRuntimeIdentity.js.map +1 -0
- package/esm/funcs/valuesDeleteValue.d.ts +11 -0
- package/esm/funcs/valuesDeleteValue.d.ts.map +1 -0
- package/esm/funcs/valuesDeleteValue.js +82 -0
- package/esm/funcs/valuesDeleteValue.js.map +1 -0
- package/esm/funcs/valuesListValues.d.ts +12 -0
- package/esm/funcs/valuesListValues.d.ts.map +1 -0
- package/esm/funcs/valuesListValues.js +78 -0
- package/esm/funcs/valuesListValues.js.map +1 -0
- package/esm/funcs/valuesPutValues.d.ts +15 -0
- package/esm/funcs/valuesPutValues.d.ts.map +1 -0
- package/esm/funcs/valuesPutValues.js +86 -0
- package/esm/funcs/valuesPutValues.js.map +1 -0
- package/esm/funcs/valuesVerifyValues.d.ts +11 -0
- package/esm/funcs/valuesVerifyValues.d.ts.map +1 -0
- package/esm/funcs/valuesVerifyValues.js +85 -0
- package/esm/funcs/valuesVerifyValues.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/agentsyncrequest.d.ts +20 -0
- package/esm/models/agentsyncrequest.d.ts.map +1 -1
- package/esm/models/agentsyncrequest.js +4 -0
- package/esm/models/agentsyncrequest.js.map +1 -1
- package/esm/models/aimodelavailabilityobservation.d.ts +17 -0
- package/esm/models/aimodelavailabilityobservation.d.ts.map +1 -1
- package/esm/models/aimodelavailabilityobservation.js +3 -0
- package/esm/models/aimodelavailabilityobservation.js.map +1 -1
- package/esm/models/aiquotawarning.d.ts +19 -0
- package/esm/models/aiquotawarning.d.ts.map +1 -0
- package/esm/models/aiquotawarning.js +14 -0
- package/esm/models/aiquotawarning.js.map +1 -0
- package/esm/models/deploymentresponse.d.ts +13 -0
- package/esm/models/deploymentresponse.d.ts.map +1 -1
- package/esm/models/deploymentresponse.js +2 -0
- package/esm/models/deploymentresponse.js.map +1 -1
- package/esm/models/externalbindingunion.d.ts +353 -18
- package/esm/models/externalbindingunion.d.ts.map +1 -1
- package/esm/models/externalbindingunion.js +241 -20
- package/esm/models/externalbindingunion.js.map +1 -1
- package/esm/models/identityenrollmentrequest.d.ts +17 -0
- package/esm/models/identityenrollmentrequest.d.ts.map +1 -0
- package/esm/models/identityenrollmentrequest.js +13 -0
- package/esm/models/identityenrollmentrequest.js.map +1 -0
- package/esm/models/identityenrollmentresponse.d.ts +13 -0
- package/esm/models/identityenrollmentresponse.d.ts.map +1 -0
- package/esm/models/identityenrollmentresponse.js +16 -0
- package/esm/models/identityenrollmentresponse.js.map +1 -0
- package/esm/models/identityexchangerequest.d.ts +27 -0
- package/esm/models/identityexchangerequest.d.ts.map +1 -0
- package/esm/models/identityexchangerequest.js +16 -0
- package/esm/models/identityexchangerequest.js.map +1 -0
- package/esm/models/identityrotationrequest.d.ts +19 -0
- package/esm/models/identityrotationrequest.d.ts.map +1 -0
- package/esm/models/identityrotationrequest.js +14 -0
- package/esm/models/identityrotationrequest.js.map +1 -0
- package/esm/models/identityrotationresponse.d.ts +14 -0
- package/esm/models/identityrotationresponse.d.ts.map +1 -0
- package/esm/models/identityrotationresponse.js +14 -0
- package/esm/models/identityrotationresponse.js.map +1 -0
- package/esm/models/index.d.ts +24 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +24 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/installedsetup.d.ts +46 -0
- package/esm/models/installedsetup.d.ts.map +1 -0
- package/esm/models/installedsetup.js +17 -0
- package/esm/models/installedsetup.js.map +1 -0
- package/esm/models/issuedenrollmentcode.d.ts +19 -0
- package/esm/models/issuedenrollmentcode.d.ts.map +1 -0
- package/esm/models/issuedenrollmentcode.js +16 -0
- package/esm/models/issuedenrollmentcode.js.map +1 -0
- package/esm/models/issuedruntimecredential.d.ts +14 -0
- package/esm/models/issuedruntimecredential.d.ts.map +1 -0
- package/esm/models/issuedruntimecredential.js +14 -0
- package/esm/models/issuedruntimecredential.js.map +1 -0
- package/esm/models/managercapabilities.d.ts +7 -0
- package/esm/models/managercapabilities.d.ts.map +1 -1
- package/esm/models/managercapabilities.js +1 -0
- package/esm/models/managercapabilities.js.map +1 -1
- package/esm/models/networksettings.d.ts +2 -2
- package/esm/models/operations/deletevalue.d.ts +20 -0
- package/esm/models/operations/deletevalue.d.ts.map +1 -0
- package/esm/models/operations/deletevalue.js +13 -0
- package/esm/models/operations/deletevalue.js.map +1 -0
- package/esm/models/operations/index.d.ts +5 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +5 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/issueenrollmentcode.d.ts +15 -0
- package/esm/models/operations/issueenrollmentcode.d.ts.map +1 -0
- package/esm/models/operations/issueenrollmentcode.js +12 -0
- package/esm/models/operations/issueenrollmentcode.js.map +1 -0
- package/esm/models/operations/listvalues.d.ts +15 -0
- package/esm/models/operations/listvalues.d.ts.map +1 -0
- package/esm/models/operations/listvalues.js +12 -0
- package/esm/models/operations/listvalues.js.map +1 -0
- package/esm/models/operations/putvalues.d.ts +23 -0
- package/esm/models/operations/putvalues.d.ts.map +1 -0
- package/esm/models/operations/putvalues.js +21 -0
- package/esm/models/operations/putvalues.js.map +1 -0
- package/esm/models/operations/verifyvalues.d.ts +18 -0
- package/esm/models/operations/verifyvalues.d.ts.map +1 -0
- package/esm/models/operations/verifyvalues.js +19 -0
- package/esm/models/operations/verifyvalues.js.map +1 -0
- package/esm/models/putvalue.d.ts +23 -0
- package/esm/models/putvalue.d.ts.map +1 -0
- package/esm/models/putvalue.js +16 -0
- package/esm/models/putvalue.js.map +1 -0
- package/esm/models/putvaluesrequest.d.ts +13 -0
- package/esm/models/putvaluesrequest.d.ts.map +1 -0
- package/esm/models/putvaluesrequest.js +13 -0
- package/esm/models/putvaluesrequest.js.map +1 -0
- package/esm/models/redisheartbeatdata.d.ts +157 -0
- package/esm/models/redisheartbeatdata.d.ts.map +1 -0
- package/esm/models/redisheartbeatdata.js +66 -0
- package/esm/models/redisheartbeatdata.js.map +1 -0
- package/esm/models/redisheartbeatstatus.d.ts +28 -0
- package/esm/models/redisheartbeatstatus.d.ts.map +1 -0
- package/esm/models/redisheartbeatstatus.js +20 -0
- package/esm/models/redisheartbeatstatus.js.map +1 -0
- package/esm/models/redismetricssample.d.ts +36 -0
- package/esm/models/redismetricssample.d.ts.map +1 -0
- package/esm/models/redismetricssample.js +15 -0
- package/esm/models/redismetricssample.js.map +1 -0
- package/esm/models/redisobservedconfig.d.ts +48 -0
- package/esm/models/redisobservedconfig.d.ts.map +1 -0
- package/esm/models/redisobservedconfig.js +21 -0
- package/esm/models/redisobservedconfig.js.map +1 -0
- package/esm/models/resourceheartbeatdata.d.ts +21 -2
- package/esm/models/resourceheartbeatdata.d.ts.map +1 -1
- package/esm/models/resourceheartbeatdata.js +10 -0
- package/esm/models/resourceheartbeatdata.js.map +1 -1
- package/esm/models/runtimeidentityproof.d.ts +71 -0
- package/esm/models/runtimeidentityproof.d.ts.map +1 -0
- package/esm/models/runtimeidentityproof.js +47 -0
- package/esm/models/runtimeidentityproof.js.map +1 -0
- package/esm/models/runtimepurpose.d.ts +113 -0
- package/esm/models/runtimepurpose.d.ts.map +1 -0
- package/esm/models/runtimepurpose.js +70 -0
- package/esm/models/runtimepurpose.js.map +1 -0
- package/esm/models/valuekind.d.ts +18 -0
- package/esm/models/valuekind.d.ts.map +1 -0
- package/esm/models/valuekind.js +16 -0
- package/esm/models/valuekind.js.map +1 -0
- package/esm/models/valueslotentry.d.ts +24 -0
- package/esm/models/valueslotentry.d.ts.map +1 -0
- package/esm/models/valueslotentry.js +18 -0
- package/esm/models/valueslotentry.js.map +1 -0
- package/esm/models/valueslotsresponse.d.ts +11 -0
- package/esm/models/valueslotsresponse.d.ts.map +1 -0
- package/esm/models/valueslotsresponse.js +14 -0
- package/esm/models/valueslotsresponse.js.map +1 -0
- package/esm/models/verifyresult.d.ts +11 -0
- package/esm/models/verifyresult.d.ts.map +1 -0
- package/esm/models/verifyresult.js +15 -0
- package/esm/models/verifyresult.js.map +1 -0
- package/esm/models/verifyvalue.d.ts +14 -0
- package/esm/models/verifyvalue.d.ts.map +1 -0
- package/esm/models/verifyvalue.js +13 -0
- package/esm/models/verifyvalue.js.map +1 -0
- package/esm/models/verifyvaluesrequest.d.ts +13 -0
- package/esm/models/verifyvaluesrequest.d.ts.map +1 -0
- package/esm/models/verifyvaluesrequest.js +13 -0
- package/esm/models/verifyvaluesrequest.js.map +1 -0
- package/esm/models/verifyvaluesresponse.d.ts +11 -0
- package/esm/models/verifyvaluesresponse.d.ts.map +1 -0
- package/esm/models/verifyvaluesresponse.js +14 -0
- package/esm/models/verifyvaluesresponse.js.map +1 -0
- package/esm/sdk/identity.d.ts +16 -0
- package/esm/sdk/identity.d.ts.map +1 -0
- package/esm/sdk/identity.js +30 -0
- package/esm/sdk/identity.js.map +1 -0
- package/esm/sdk/sdk.d.ts +6 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +8 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/values.d.ts +13 -0
- package/esm/sdk/values.d.ts.map +1 -0
- package/esm/sdk/values.js +27 -0
- package/esm/sdk/values.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/identityEnrollRuntimeIdentity.ts +154 -0
- package/src/funcs/identityExchangeRuntimeIdentity.ts +157 -0
- package/src/funcs/identityIssueEnrollmentCode.ts +165 -0
- package/src/funcs/identityRotateRuntimeIdentity.ts +154 -0
- package/src/funcs/valuesDeleteValue.ts +165 -0
- package/src/funcs/valuesListValues.ts +161 -0
- package/src/funcs/valuesPutValues.ts +169 -0
- package/src/funcs/valuesVerifyValues.ts +172 -0
- package/src/lib/config.ts +2 -2
- package/src/models/agentsyncrequest.ts +27 -0
- package/src/models/aimodelavailabilityobservation.ts +23 -0
- package/src/models/aiquotawarning.ts +35 -0
- package/src/models/deploymentresponse.ts +15 -0
- package/src/models/externalbindingunion.ts +716 -46
- package/src/models/identityenrollmentrequest.ts +36 -0
- package/src/models/identityenrollmentresponse.ts +36 -0
- package/src/models/identityexchangerequest.ts +55 -0
- package/src/models/identityrotationrequest.ts +39 -0
- package/src/models/identityrotationresponse.ts +35 -0
- package/src/models/index.ts +24 -0
- package/src/models/installedsetup.ts +65 -0
- package/src/models/issuedenrollmentcode.ts +42 -0
- package/src/models/issuedruntimecredential.ts +35 -0
- package/src/models/managercapabilities.ts +8 -0
- package/src/models/networksettings.ts +2 -2
- package/src/models/operations/deletevalue.ts +39 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/issueenrollmentcode.ts +33 -0
- package/src/models/operations/listvalues.ts +33 -0
- package/src/models/operations/putvalues.ts +49 -0
- package/src/models/operations/verifyvalues.ts +42 -0
- package/src/models/putvalue.ts +37 -0
- package/src/models/putvaluesrequest.ts +35 -0
- package/src/models/redisheartbeatdata.ts +284 -0
- package/src/models/redisheartbeatstatus.ts +61 -0
- package/src/models/redismetricssample.ts +57 -0
- package/src/models/redisobservedconfig.ts +75 -0
- package/src/models/resourceheartbeatdata.ts +42 -0
- package/src/models/runtimeidentityproof.ts +168 -0
- package/src/models/runtimepurpose.ts +266 -0
- package/src/models/valuekind.ts +26 -0
- package/src/models/valueslotentry.ts +46 -0
- package/src/models/valueslotsresponse.ts +34 -0
- package/src/models/verifyresult.ts +30 -0
- package/src/models/verifyvalue.ts +29 -0
- package/src/models/verifyvaluesrequest.ts +35 -0
- package/src/models/verifyvaluesresponse.ts +31 -0
- package/src/sdk/identity.ts +64 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/values.ts +63 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A client must durably save the corresponding key before sending this request.
|
|
9
|
+
*/
|
|
10
|
+
export type IdentityEnrollmentRequest = {
|
|
11
|
+
code: string;
|
|
12
|
+
initialKeyHash: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type IdentityEnrollmentRequest$Outbound = {
|
|
17
|
+
code: string;
|
|
18
|
+
initialKeyHash: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const IdentityEnrollmentRequest$outboundSchema: z.ZodType<
|
|
23
|
+
IdentityEnrollmentRequest$Outbound,
|
|
24
|
+
IdentityEnrollmentRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
code: z.string(),
|
|
27
|
+
initialKeyHash: z.string(),
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function identityEnrollmentRequestToJSON(
|
|
31
|
+
identityEnrollmentRequest: IdentityEnrollmentRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
IdentityEnrollmentRequest$outboundSchema.parse(identityEnrollmentRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type IdentityEnrollmentResponse = {
|
|
11
|
+
componentId: string;
|
|
12
|
+
deploymentId: string;
|
|
13
|
+
expiresAt: Date;
|
|
14
|
+
revision: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const IdentityEnrollmentResponse$inboundSchema: z.ZodType<
|
|
19
|
+
IdentityEnrollmentResponse,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
componentId: z.string(),
|
|
23
|
+
deploymentId: z.string(),
|
|
24
|
+
expiresAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
25
|
+
revision: z.int(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function identityEnrollmentResponseFromJSON(
|
|
29
|
+
jsonString: string,
|
|
30
|
+
): SafeParseResult<IdentityEnrollmentResponse, SDKValidationError> {
|
|
31
|
+
return safeParse(
|
|
32
|
+
jsonString,
|
|
33
|
+
(x) => IdentityEnrollmentResponse$inboundSchema.parse(JSON.parse(x)),
|
|
34
|
+
`Failed to parse 'IdentityEnrollmentResponse' from JSON`,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import {
|
|
7
|
+
RuntimeIdentityProof,
|
|
8
|
+
RuntimeIdentityProof$Outbound,
|
|
9
|
+
RuntimeIdentityProof$outboundSchema,
|
|
10
|
+
} from "./runtimeidentityproof.js";
|
|
11
|
+
import {
|
|
12
|
+
RuntimePurpose,
|
|
13
|
+
RuntimePurpose$Outbound,
|
|
14
|
+
RuntimePurpose$outboundSchema,
|
|
15
|
+
} from "./runtimepurpose.js";
|
|
16
|
+
|
|
17
|
+
export type IdentityExchangeRequest = {
|
|
18
|
+
/**
|
|
19
|
+
* Selects the binding to verify; never establishes membership by itself.
|
|
20
|
+
*/
|
|
21
|
+
deploymentId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Proof material is intentionally not Debug: providers must never log it.
|
|
24
|
+
*/
|
|
25
|
+
proof: RuntimeIdentityProof;
|
|
26
|
+
/**
|
|
27
|
+
* Runtime operations cannot administer deployments or mint credentials.
|
|
28
|
+
*/
|
|
29
|
+
purpose: RuntimePurpose;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type IdentityExchangeRequest$Outbound = {
|
|
34
|
+
deploymentId: string;
|
|
35
|
+
proof: RuntimeIdentityProof$Outbound;
|
|
36
|
+
purpose: RuntimePurpose$Outbound;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const IdentityExchangeRequest$outboundSchema: z.ZodType<
|
|
41
|
+
IdentityExchangeRequest$Outbound,
|
|
42
|
+
IdentityExchangeRequest
|
|
43
|
+
> = z.object({
|
|
44
|
+
deploymentId: z.string(),
|
|
45
|
+
proof: RuntimeIdentityProof$outboundSchema,
|
|
46
|
+
purpose: RuntimePurpose$outboundSchema,
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function identityExchangeRequestToJSON(
|
|
50
|
+
identityExchangeRequest: IdentityExchangeRequest,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
IdentityExchangeRequest$outboundSchema.parse(identityExchangeRequest),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A client saves its generated successor before the atomic hash replacement.
|
|
9
|
+
*/
|
|
10
|
+
export type IdentityRotationRequest = {
|
|
11
|
+
deploymentId: string;
|
|
12
|
+
key: string;
|
|
13
|
+
successorHash: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type IdentityRotationRequest$Outbound = {
|
|
18
|
+
deploymentId: string;
|
|
19
|
+
key: string;
|
|
20
|
+
successorHash: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const IdentityRotationRequest$outboundSchema: z.ZodType<
|
|
25
|
+
IdentityRotationRequest$Outbound,
|
|
26
|
+
IdentityRotationRequest
|
|
27
|
+
> = z.object({
|
|
28
|
+
deploymentId: z.string(),
|
|
29
|
+
key: z.string(),
|
|
30
|
+
successorHash: z.string(),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function identityRotationRequestToJSON(
|
|
34
|
+
identityRotationRequest: IdentityRotationRequest,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
IdentityRotationRequest$outboundSchema.parse(identityRotationRequest),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* No successor credential or hash is disclosed to a retired key holder.
|
|
12
|
+
*/
|
|
13
|
+
export type IdentityRotationResponse = {
|
|
14
|
+
expiresAt: Date;
|
|
15
|
+
revision: number;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const IdentityRotationResponse$inboundSchema: z.ZodType<
|
|
20
|
+
IdentityRotationResponse,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
expiresAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
24
|
+
revision: z.int(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function identityRotationResponseFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<IdentityRotationResponse, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => IdentityRotationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'IdentityRotationResponse' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./aiheartbeatdata.js";
|
|
|
15
15
|
export * from "./aiheartbeatstatus.js";
|
|
16
16
|
export * from "./aimodelavailability.js";
|
|
17
17
|
export * from "./aimodelavailabilityobservation.js";
|
|
18
|
+
export * from "./aiquotawarning.js";
|
|
18
19
|
export * from "./alienerror.js";
|
|
19
20
|
export * from "./artifactregistryheartbeatdata.js";
|
|
20
21
|
export * from "./artifactregistryheartbeatstatus.js";
|
|
@@ -122,11 +123,19 @@ export * from "./heartbeatissueseverity.js";
|
|
|
122
123
|
export * from "./heartbeatsmode.js";
|
|
123
124
|
export * from "./helmrelease.js";
|
|
124
125
|
export * from "./horizonworkloadschedulingmode.js";
|
|
126
|
+
export * from "./identityenrollmentrequest.js";
|
|
127
|
+
export * from "./identityenrollmentresponse.js";
|
|
128
|
+
export * from "./identityexchangerequest.js";
|
|
129
|
+
export * from "./identityrotationrequest.js";
|
|
130
|
+
export * from "./identityrotationresponse.js";
|
|
125
131
|
export * from "./importedresource.js";
|
|
126
132
|
export * from "./importsourcekind.js";
|
|
127
133
|
export * from "./initialdesiredrelease.js";
|
|
128
134
|
export * from "./initializerequest.js";
|
|
129
135
|
export * from "./initializeresponse.js";
|
|
136
|
+
export * from "./installedsetup.js";
|
|
137
|
+
export * from "./issuedenrollmentcode.js";
|
|
138
|
+
export * from "./issuedruntimecredential.js";
|
|
130
139
|
export * from "./keyheartbeatdata.js";
|
|
131
140
|
export * from "./keyheartbeatstatus.js";
|
|
132
141
|
export * from "./kubernetescertificatemode.js";
|
|
@@ -211,6 +220,8 @@ export * from "./providerfleetstatus.js";
|
|
|
211
220
|
export * from "./providerlifecyclestate.js";
|
|
212
221
|
export * from "./publicendpointoutput.js";
|
|
213
222
|
export * from "./publicendpointtargetsettings.js";
|
|
223
|
+
export * from "./putvalue.js";
|
|
224
|
+
export * from "./putvaluesrequest.js";
|
|
214
225
|
export * from "./queueheartbeatdata.js";
|
|
215
226
|
export * from "./queueheartbeatstatus.js";
|
|
216
227
|
export * from "./rawheartbeatsnippet.js";
|
|
@@ -219,6 +230,10 @@ export * from "./recentlogentry.js";
|
|
|
219
230
|
export * from "./recentlogsresponse.js";
|
|
220
231
|
export * from "./reconcilerequest.js";
|
|
221
232
|
export * from "./reconcileresponse.js";
|
|
233
|
+
export * from "./redisheartbeatdata.js";
|
|
234
|
+
export * from "./redisheartbeatstatus.js";
|
|
235
|
+
export * from "./redismetricssample.js";
|
|
236
|
+
export * from "./redisobservedconfig.js";
|
|
222
237
|
export * from "./releasechannelresponse.js";
|
|
223
238
|
export * from "./releaserequest.js";
|
|
224
239
|
export * from "./releaseresponse.js";
|
|
@@ -261,6 +276,8 @@ export * from "./resourcelifecycle.js";
|
|
|
261
276
|
export * from "./resourceref.js";
|
|
262
277
|
export * from "./resourcestatus.js";
|
|
263
278
|
export * from "./responsehandling.js";
|
|
279
|
+
export * from "./runtimeidentityproof.js";
|
|
280
|
+
export * from "./runtimepurpose.js";
|
|
264
281
|
export * from "./sandboxheartbeatdata.js";
|
|
265
282
|
export * from "./sandboxheartbeatstatus.js";
|
|
266
283
|
export * from "./scopeinfo.js";
|
|
@@ -299,9 +316,16 @@ export * from "./unacquireddeployment.js";
|
|
|
299
316
|
export * from "./updatesmode.js";
|
|
300
317
|
export * from "./uploadcompleterequest.js";
|
|
301
318
|
export * from "./uploadcompleteresponse.js";
|
|
319
|
+
export * from "./valuekind.js";
|
|
320
|
+
export * from "./valueslotentry.js";
|
|
321
|
+
export * from "./valueslotsresponse.js";
|
|
302
322
|
export * from "./vaultheartbeatdata.js";
|
|
303
323
|
export * from "./vaultheartbeatstatus.js";
|
|
304
324
|
export * from "./vaultmutationresponse.js";
|
|
325
|
+
export * from "./verifyresult.js";
|
|
326
|
+
export * from "./verifyvalue.js";
|
|
327
|
+
export * from "./verifyvaluesrequest.js";
|
|
328
|
+
export * from "./verifyvaluesresponse.js";
|
|
305
329
|
export * from "./whoamiresponse.js";
|
|
306
330
|
export * from "./workerheartbeatdata.js";
|
|
307
331
|
export * from "./workloadheartbeatstatus.js";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The setup an installed chart was built for, read from the Operator's own
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* environment. It changes only when the chart's setup changes.
|
|
12
|
+
*/
|
|
13
|
+
export type InstalledSetup = {
|
|
14
|
+
/**
|
|
15
|
+
* Kubernetes namespace of the Helm release.
|
|
16
|
+
*/
|
|
17
|
+
namespace?: string | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Release the chart was built from.
|
|
20
|
+
*/
|
|
21
|
+
releaseId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Helm release name the chart is installed as.
|
|
24
|
+
*/
|
|
25
|
+
releaseName?: string | null | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Setup compatibility fingerprint embedded in the chart.
|
|
28
|
+
*/
|
|
29
|
+
setupFingerprint: string;
|
|
30
|
+
/**
|
|
31
|
+
* Fingerprint algorithm version.
|
|
32
|
+
*/
|
|
33
|
+
setupFingerprintVersion: number;
|
|
34
|
+
/**
|
|
35
|
+
* Setup target the chart was generated for.
|
|
36
|
+
*/
|
|
37
|
+
setupTarget: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type InstalledSetup$Outbound = {
|
|
42
|
+
namespace?: string | null | undefined;
|
|
43
|
+
releaseId: string;
|
|
44
|
+
releaseName?: string | null | undefined;
|
|
45
|
+
setupFingerprint: string;
|
|
46
|
+
setupFingerprintVersion: number;
|
|
47
|
+
setupTarget: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const InstalledSetup$outboundSchema: z.ZodType<
|
|
52
|
+
InstalledSetup$Outbound,
|
|
53
|
+
InstalledSetup
|
|
54
|
+
> = z.object({
|
|
55
|
+
namespace: z.nullable(z.string()).optional(),
|
|
56
|
+
releaseId: z.string(),
|
|
57
|
+
releaseName: z.nullable(z.string()).optional(),
|
|
58
|
+
setupFingerprint: z.string(),
|
|
59
|
+
setupFingerprintVersion: z.int(),
|
|
60
|
+
setupTarget: z.string(),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export function installedSetupToJSON(installedSetup: InstalledSetup): string {
|
|
64
|
+
return JSON.stringify(InstalledSetup$outboundSchema.parse(installedSetup));
|
|
65
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A one-hour, one-use code that enrolls the deployment's operator.
|
|
12
|
+
*/
|
|
13
|
+
export type IssuedEnrollmentCode = {
|
|
14
|
+
code: string;
|
|
15
|
+
deploymentId: string;
|
|
16
|
+
expiresAt: Date;
|
|
17
|
+
/**
|
|
18
|
+
* The audience the operator must use for this manager.
|
|
19
|
+
*/
|
|
20
|
+
managerAudience: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const IssuedEnrollmentCode$inboundSchema: z.ZodType<
|
|
25
|
+
IssuedEnrollmentCode,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
code: z.string(),
|
|
29
|
+
deploymentId: z.string(),
|
|
30
|
+
expiresAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
31
|
+
managerAudience: z.string(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function issuedEnrollmentCodeFromJSON(
|
|
35
|
+
jsonString: string,
|
|
36
|
+
): SafeParseResult<IssuedEnrollmentCode, SDKValidationError> {
|
|
37
|
+
return safeParse(
|
|
38
|
+
jsonString,
|
|
39
|
+
(x) => IssuedEnrollmentCode$inboundSchema.parse(JSON.parse(x)),
|
|
40
|
+
`Failed to parse 'IssuedEnrollmentCode' from JSON`,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Response credential and its hard deadline. Never log or persist a debug dump.
|
|
12
|
+
*/
|
|
13
|
+
export type IssuedRuntimeCredential = {
|
|
14
|
+
expiresAt: Date;
|
|
15
|
+
token: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const IssuedRuntimeCredential$inboundSchema: z.ZodType<
|
|
20
|
+
IssuedRuntimeCredential,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
expiresAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
24
|
+
token: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function issuedRuntimeCredentialFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<IssuedRuntimeCredential, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => IssuedRuntimeCredential$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'IssuedRuntimeCredential' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -16,6 +16,13 @@ export type ManagerCapabilities = {
|
|
|
16
16
|
* Requests into deployments through `/v1/deployments/{id}/tunnels/...`.
|
|
17
17
|
*/
|
|
18
18
|
tunnels: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Deployment values held by this manager at `/v1/values/{scope}`. The
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* number is the version of that API; absent when values are not served.
|
|
24
|
+
*/
|
|
25
|
+
values?: number | null | undefined;
|
|
19
26
|
};
|
|
20
27
|
|
|
21
28
|
/** @internal */
|
|
@@ -25,6 +32,7 @@ export const ManagerCapabilities$inboundSchema: z.ZodType<
|
|
|
25
32
|
> = z.object({
|
|
26
33
|
charts: z.boolean(),
|
|
27
34
|
tunnels: z.boolean(),
|
|
35
|
+
values: z.nullable(z.int()).optional(),
|
|
28
36
|
});
|
|
29
37
|
|
|
30
38
|
export function managerCapabilitiesFromJSON(
|
|
@@ -25,10 +25,10 @@ export type NetworkSettingsByoVnetAzure = {
|
|
|
25
25
|
* Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* Postgres Flexible Server). A Private Endpoint must not share the private
|
|
28
|
+
* Postgres Flexible Server or Azure Managed Redis). A Private Endpoint must not share the private
|
|
29
29
|
* subnet, which is already claimed by the Container Apps environment's
|
|
30
30
|
* `infrastructure_subnet_id`. Required only when the stack contains a
|
|
31
|
-
* Postgres resource; otherwise unused.
|
|
31
|
+
* Postgres or Redis resource; otherwise unused.
|
|
32
32
|
*/
|
|
33
33
|
privateEndpointSubnetName?: string | null | undefined;
|
|
34
34
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
export type DeleteValueRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* dep:<deploymentId>
|
|
10
|
+
*/
|
|
11
|
+
scope: string;
|
|
12
|
+
/**
|
|
13
|
+
* env:<NAME>, input:<id> or cenv.<containerName>.<NAME>
|
|
14
|
+
*/
|
|
15
|
+
slot: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type DeleteValueRequest$Outbound = {
|
|
20
|
+
scope: string;
|
|
21
|
+
slot: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const DeleteValueRequest$outboundSchema: z.ZodType<
|
|
26
|
+
DeleteValueRequest$Outbound,
|
|
27
|
+
DeleteValueRequest
|
|
28
|
+
> = z.object({
|
|
29
|
+
scope: z.string(),
|
|
30
|
+
slot: z.string(),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function deleteValueRequestToJSON(
|
|
34
|
+
deleteValueRequest: DeleteValueRequest,
|
|
35
|
+
): string {
|
|
36
|
+
return JSON.stringify(
|
|
37
|
+
DeleteValueRequest$outboundSchema.parse(deleteValueRequest),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./deletedeployment.js";
|
|
|
7
7
|
export * from "./deletemanagerreleasechannel.js";
|
|
8
8
|
export * from "./deletesecret.js";
|
|
9
9
|
export * from "./deletetoken.js";
|
|
10
|
+
export * from "./deletevalue.js";
|
|
10
11
|
export * from "./getcommandpayload.js";
|
|
11
12
|
export * from "./getcommandstatus.js";
|
|
12
13
|
export * from "./getdeployment.js";
|
|
@@ -19,8 +20,11 @@ export * from "./getdeploymenttarget.js";
|
|
|
19
20
|
export * from "./getrelease.js";
|
|
20
21
|
export * from "./getsecret.js";
|
|
21
22
|
export * from "./importdeploymentstatus.js";
|
|
23
|
+
export * from "./issueenrollmentcode.js";
|
|
22
24
|
export * from "./listdeployments.js";
|
|
25
|
+
export * from "./listvalues.js";
|
|
23
26
|
export * from "./promotemanagerrelease.js";
|
|
27
|
+
export * from "./putvalues.js";
|
|
24
28
|
export * from "./redeploy.js";
|
|
25
29
|
export * from "./releaselease.js";
|
|
26
30
|
export * from "./retrydeployment.js";
|
|
@@ -32,3 +36,4 @@ export * from "./signdeploymentbundle.js";
|
|
|
32
36
|
export * from "./storecommandpayload.js";
|
|
33
37
|
export * from "./submitresponse.js";
|
|
34
38
|
export * from "./uploadcomplete.js";
|
|
39
|
+
export * from "./verifyvalues.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
export type IssueEnrollmentCodeRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Deployment ID
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type IssueEnrollmentCodeRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const IssueEnrollmentCodeRequest$outboundSchema: z.ZodType<
|
|
21
|
+
IssueEnrollmentCodeRequest$Outbound,
|
|
22
|
+
IssueEnrollmentCodeRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
id: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function issueEnrollmentCodeRequestToJSON(
|
|
28
|
+
issueEnrollmentCodeRequest: IssueEnrollmentCodeRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
IssueEnrollmentCodeRequest$outboundSchema.parse(issueEnrollmentCodeRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
export type ListValuesRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* dep:<deploymentId>
|
|
10
|
+
*/
|
|
11
|
+
scope: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type ListValuesRequest$Outbound = {
|
|
16
|
+
scope: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const ListValuesRequest$outboundSchema: z.ZodType<
|
|
21
|
+
ListValuesRequest$Outbound,
|
|
22
|
+
ListValuesRequest
|
|
23
|
+
> = z.object({
|
|
24
|
+
scope: z.string(),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function listValuesRequestToJSON(
|
|
28
|
+
listValuesRequest: ListValuesRequest,
|
|
29
|
+
): string {
|
|
30
|
+
return JSON.stringify(
|
|
31
|
+
ListValuesRequest$outboundSchema.parse(listValuesRequest),
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type PutValuesRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* dep:<deploymentId>
|
|
12
|
+
*/
|
|
13
|
+
scope: string;
|
|
14
|
+
/**
|
|
15
|
+
* `*` writes only when the slot is empty
|
|
16
|
+
*/
|
|
17
|
+
ifNoneMatch?: string | undefined;
|
|
18
|
+
putValuesRequest: models.PutValuesRequest;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type PutValuesRequest$Outbound = {
|
|
23
|
+
scope: string;
|
|
24
|
+
"If-None-Match"?: string | undefined;
|
|
25
|
+
PutValuesRequest: models.PutValuesRequest$Outbound;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PutValuesRequest$outboundSchema: z.ZodType<
|
|
30
|
+
PutValuesRequest$Outbound,
|
|
31
|
+
PutValuesRequest
|
|
32
|
+
> = z.object({
|
|
33
|
+
scope: z.string(),
|
|
34
|
+
ifNoneMatch: z.string().optional(),
|
|
35
|
+
putValuesRequest: models.PutValuesRequest$outboundSchema,
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
ifNoneMatch: "If-None-Match",
|
|
39
|
+
putValuesRequest: "PutValuesRequest",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function putValuesRequestToJSON(
|
|
44
|
+
putValuesRequest: PutValuesRequest,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
PutValuesRequest$outboundSchema.parse(putValuesRequest),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type VerifyValuesRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* dep:<deploymentId>
|
|
12
|
+
*/
|
|
13
|
+
scope: string;
|
|
14
|
+
verifyValuesRequest: models.VerifyValuesRequest;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type VerifyValuesRequest$Outbound = {
|
|
19
|
+
scope: string;
|
|
20
|
+
VerifyValuesRequest: models.VerifyValuesRequest$Outbound;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const VerifyValuesRequest$outboundSchema: z.ZodType<
|
|
25
|
+
VerifyValuesRequest$Outbound,
|
|
26
|
+
VerifyValuesRequest
|
|
27
|
+
> = z.object({
|
|
28
|
+
scope: z.string(),
|
|
29
|
+
verifyValuesRequest: models.VerifyValuesRequest$outboundSchema,
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
verifyValuesRequest: "VerifyValuesRequest",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function verifyValuesRequestToJSON(
|
|
37
|
+
verifyValuesRequest: VerifyValuesRequest,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
VerifyValuesRequest$outboundSchema.parse(verifyValuesRequest),
|
|
41
|
+
);
|
|
42
|
+
}
|