@alienplatform/platform-api 3.3.19 → 3.3.20
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/FUNCTIONS.md +1 -1
- package/README.md +4 -0
- package/esm/funcs/deploymentsRetry.js +2 -2
- package/esm/funcs/deploymentsRetry.js.map +1 -1
- package/esm/funcs/operationsApproveAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsApproveAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsApproveAccessRequest.js +89 -0
- package/esm/funcs/operationsApproveAccessRequest.js.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.js +89 -0
- package/esm/funcs/operationsDenyAccessRequest.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +0 -63
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +0 -39
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +0 -28
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +0 -19
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/deployment.d.ts +0 -21
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +0 -13
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +0 -21
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +0 -19
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +0 -34
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +0 -38
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/importsource.d.ts +0 -28
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +0 -13
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/managerretryresponse.d.ts +0 -63
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +0 -39
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +0 -28
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +0 -13
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/approveaccessrequest.d.ts +115 -0
- package/esm/models/operations/approveaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/approveaccessrequest.js +89 -0
- package/esm/models/operations/approveaccessrequest.js.map +1 -0
- package/esm/models/operations/denyaccessrequest.d.ts +112 -0
- package/esm/models/operations/denyaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/denyaccessrequest.js +87 -0
- package/esm/models/operations/denyaccessrequest.js.map +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +107 -21
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +86 -13
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/index.d.ts +2 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +2 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +0 -28
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
- package/esm/models/operations/plandeploymentcompute.js +0 -13
- package/esm/models/operations/plandeploymentcompute.js.map +1 -1
- package/esm/models/operations/preparedeploymentstack.d.ts +0 -28
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +0 -13
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/package.d.ts +9 -3
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +0 -28
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +0 -19
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/syncacquirerequest.d.ts +5 -0
- package/esm/models/syncacquirerequest.d.ts.map +1 -1
- package/esm/models/syncacquirerequest.js +1 -0
- package/esm/models/syncacquirerequest.js.map +1 -1
- package/esm/models/syncacquireresponsedeployment.d.ts +8 -0
- package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -1
- package/esm/models/syncacquireresponsedeployment.js +2 -0
- package/esm/models/syncacquireresponsedeployment.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +0 -21
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +0 -13
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +150 -31
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +86 -12
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreleaserequest.d.ts +10 -0
- package/esm/models/syncreleaserequest.d.ts.map +1 -1
- package/esm/models/syncreleaserequest.js +2 -0
- package/esm/models/syncreleaserequest.js.map +1 -1
- package/esm/models/syncrenewrequest.d.ts +28 -0
- package/esm/models/syncrenewrequest.d.ts.map +1 -1
- package/esm/models/syncrenewrequest.js +10 -0
- package/esm/models/syncrenewrequest.js.map +1 -1
- package/esm/sdk/operations.d.ts +8 -0
- package/esm/sdk/operations.d.ts.map +1 -1
- package/esm/sdk/operations.js +14 -0
- package/esm/sdk/operations.js.map +1 -1
- package/esm/sdk/resources.d.ts +3 -0
- package/esm/sdk/resources.d.ts.map +1 -1
- package/esm/sdk/resources.js +3 -0
- package/esm/sdk/resources.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/deploymentsRetry.ts +2 -2
- package/src/funcs/operationsApproveAccessRequest.ts +179 -0
- package/src/funcs/operationsDenyAccessRequest.ts +178 -0
- package/src/lib/config.ts +2 -2
- package/src/models/createmanagerresponse.ts +0 -162
- package/src/models/createsetupregistrationoperationrequest.ts +0 -83
- package/src/models/deployment.ts +0 -52
- package/src/models/deploymentdetailresponse.ts +0 -62
- package/src/models/deploymentsetupstacksettingspolicy.ts +0 -124
- package/src/models/importsource.ts +0 -59
- package/src/models/managerretryresponse.ts +0 -162
- package/src/models/newdeploymentrequest.ts +0 -63
- package/src/models/operations/approveaccessrequest.ts +237 -0
- package/src/models/operations/denyaccessrequest.ts +228 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +203 -36
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/plandeploymentcompute.ts +0 -63
- package/src/models/operations/preparedeploymentstack.ts +0 -63
- package/src/models/package.ts +9 -3
- package/src/models/persistimporteddeploymentrequest.ts +0 -75
- package/src/models/syncacquirerequest.ts +6 -0
- package/src/models/syncacquireresponsedeployment.ts +10 -0
- package/src/models/synclistresponse.ts +0 -54
- package/src/models/syncreconcilerequest.ts +251 -40
- package/src/models/syncreleaserequest.ts +12 -0
- package/src/models/syncrenewrequest.ts +39 -0
- package/src/sdk/operations.ts +30 -0
- package/src/sdk/resources.ts +3 -0
|
@@ -972,22 +972,6 @@ export type ImportSourceKubernetes = {
|
|
|
972
972
|
|
|
973
973
|
export type ImportSourceKubernetesUnion = ImportSourceKubernetes | any;
|
|
974
974
|
|
|
975
|
-
/**
|
|
976
|
-
* Application log handling for a deployment.
|
|
977
|
-
*/
|
|
978
|
-
export type ImportSourceLogs = {
|
|
979
|
-
/**
|
|
980
|
-
* Normalize severity fields from supported structured application logs into
|
|
981
|
-
*
|
|
982
|
-
* @remarks
|
|
983
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
984
|
-
* default.
|
|
985
|
-
*/
|
|
986
|
-
parseApplicationLevels?: boolean | undefined;
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
export type ImportSourceLogsUnion = ImportSourceLogs | any;
|
|
990
|
-
|
|
991
975
|
export const ImportSourceTypeByoVnetAzure = {
|
|
992
976
|
ByoVnetAzure: "byo-vnet-azure",
|
|
993
977
|
} as const;
|
|
@@ -1172,7 +1156,6 @@ export type ImportSourceStackSettings = {
|
|
|
1172
1156
|
*/
|
|
1173
1157
|
heartbeats?: ImportSourceHeartbeats | undefined;
|
|
1174
1158
|
kubernetes?: ImportSourceKubernetes | any | null | undefined;
|
|
1175
|
-
logs?: ImportSourceLogs | any | null | undefined;
|
|
1176
1159
|
network?:
|
|
1177
1160
|
| ImportSourceNetworkByoVpcAws
|
|
1178
1161
|
| ImportSourceNetworkByoVpcGcp
|
|
@@ -3429,44 +3412,6 @@ export function importSourceKubernetesUnionToJSON(
|
|
|
3429
3412
|
);
|
|
3430
3413
|
}
|
|
3431
3414
|
|
|
3432
|
-
/** @internal */
|
|
3433
|
-
export type ImportSourceLogs$Outbound = {
|
|
3434
|
-
parseApplicationLevels?: boolean | undefined;
|
|
3435
|
-
};
|
|
3436
|
-
|
|
3437
|
-
/** @internal */
|
|
3438
|
-
export const ImportSourceLogs$outboundSchema: z.ZodType<
|
|
3439
|
-
ImportSourceLogs$Outbound,
|
|
3440
|
-
ImportSourceLogs
|
|
3441
|
-
> = z.object({
|
|
3442
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
3443
|
-
});
|
|
3444
|
-
|
|
3445
|
-
export function importSourceLogsToJSON(
|
|
3446
|
-
importSourceLogs: ImportSourceLogs,
|
|
3447
|
-
): string {
|
|
3448
|
-
return JSON.stringify(
|
|
3449
|
-
ImportSourceLogs$outboundSchema.parse(importSourceLogs),
|
|
3450
|
-
);
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
/** @internal */
|
|
3454
|
-
export type ImportSourceLogsUnion$Outbound = ImportSourceLogs$Outbound | any;
|
|
3455
|
-
|
|
3456
|
-
/** @internal */
|
|
3457
|
-
export const ImportSourceLogsUnion$outboundSchema: z.ZodType<
|
|
3458
|
-
ImportSourceLogsUnion$Outbound,
|
|
3459
|
-
ImportSourceLogsUnion
|
|
3460
|
-
> = z.union([z.lazy(() => ImportSourceLogs$outboundSchema), z.any()]);
|
|
3461
|
-
|
|
3462
|
-
export function importSourceLogsUnionToJSON(
|
|
3463
|
-
importSourceLogsUnion: ImportSourceLogsUnion,
|
|
3464
|
-
): string {
|
|
3465
|
-
return JSON.stringify(
|
|
3466
|
-
ImportSourceLogsUnion$outboundSchema.parse(importSourceLogsUnion),
|
|
3467
|
-
);
|
|
3468
|
-
}
|
|
3469
|
-
|
|
3470
3415
|
/** @internal */
|
|
3471
3416
|
export const ImportSourceTypeByoVnetAzure$outboundSchema: z.ZodEnum<
|
|
3472
3417
|
typeof ImportSourceTypeByoVnetAzure
|
|
@@ -3705,7 +3650,6 @@ export type ImportSourceStackSettings$Outbound = {
|
|
|
3705
3650
|
externalBindings?: ImportSourceExternalBindings$Outbound | null | undefined;
|
|
3706
3651
|
heartbeats?: string | undefined;
|
|
3707
3652
|
kubernetes?: ImportSourceKubernetes$Outbound | any | null | undefined;
|
|
3708
|
-
logs?: ImportSourceLogs$Outbound | any | null | undefined;
|
|
3709
3653
|
network?:
|
|
3710
3654
|
| ImportSourceNetworkByoVpcAws$Outbound
|
|
3711
3655
|
| ImportSourceNetworkByoVpcGcp$Outbound
|
|
@@ -3739,9 +3683,6 @@ export const ImportSourceStackSettings$outboundSchema: z.ZodType<
|
|
|
3739
3683
|
kubernetes: z.nullable(
|
|
3740
3684
|
z.union([z.lazy(() => ImportSourceKubernetes$outboundSchema), z.any()]),
|
|
3741
3685
|
).optional(),
|
|
3742
|
-
logs: z.nullable(
|
|
3743
|
-
z.union([z.lazy(() => ImportSourceLogs$outboundSchema), z.any()]),
|
|
3744
|
-
).optional(),
|
|
3745
3686
|
network: z.nullable(
|
|
3746
3687
|
z.union([
|
|
3747
3688
|
z.lazy(() => ImportSourceNetworkByoVpcAws$outboundSchema),
|
|
@@ -1122,22 +1122,6 @@ export type ManagerRetryResponseKubernetesUnion3 =
|
|
|
1122
1122
|
| ManagerRetryResponseKubernetes3
|
|
1123
1123
|
| any;
|
|
1124
1124
|
|
|
1125
|
-
/**
|
|
1126
|
-
* Application log handling for a deployment.
|
|
1127
|
-
*/
|
|
1128
|
-
export type ManagerRetryResponseLogs3 = {
|
|
1129
|
-
/**
|
|
1130
|
-
* Normalize severity fields from supported structured application logs into
|
|
1131
|
-
*
|
|
1132
|
-
* @remarks
|
|
1133
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
1134
|
-
* default.
|
|
1135
|
-
*/
|
|
1136
|
-
parseApplicationLevels?: boolean | undefined;
|
|
1137
|
-
};
|
|
1138
|
-
|
|
1139
|
-
export type ManagerRetryResponseLogsUnion3 = ManagerRetryResponseLogs3 | any;
|
|
1140
|
-
|
|
1141
1125
|
export const ManagerRetryResponseTypeByoVnetAzure3 = {
|
|
1142
1126
|
ByoVnetAzure: "byo-vnet-azure",
|
|
1143
1127
|
} as const;
|
|
@@ -1328,7 +1312,6 @@ export type ManagerRetryResponseStackSettings3 = {
|
|
|
1328
1312
|
*/
|
|
1329
1313
|
heartbeats?: ManagerRetryResponseHeartbeats3 | undefined;
|
|
1330
1314
|
kubernetes?: ManagerRetryResponseKubernetes3 | any | null | undefined;
|
|
1331
|
-
logs?: ManagerRetryResponseLogs3 | any | null | undefined;
|
|
1332
1315
|
network?:
|
|
1333
1316
|
| ManagerRetryResponseNetworkByoVpcAws3
|
|
1334
1317
|
| ManagerRetryResponseNetworkByoVpcGcp3
|
|
@@ -2355,22 +2338,6 @@ export type ManagerRetryResponseKubernetesUnion2 =
|
|
|
2355
2338
|
| ManagerRetryResponseKubernetes2
|
|
2356
2339
|
| any;
|
|
2357
2340
|
|
|
2358
|
-
/**
|
|
2359
|
-
* Application log handling for a deployment.
|
|
2360
|
-
*/
|
|
2361
|
-
export type ManagerRetryResponseLogs2 = {
|
|
2362
|
-
/**
|
|
2363
|
-
* Normalize severity fields from supported structured application logs into
|
|
2364
|
-
*
|
|
2365
|
-
* @remarks
|
|
2366
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
2367
|
-
* default.
|
|
2368
|
-
*/
|
|
2369
|
-
parseApplicationLevels?: boolean | undefined;
|
|
2370
|
-
};
|
|
2371
|
-
|
|
2372
|
-
export type ManagerRetryResponseLogsUnion2 = ManagerRetryResponseLogs2 | any;
|
|
2373
|
-
|
|
2374
2341
|
export const ManagerRetryResponseTypeByoVnetAzure2 = {
|
|
2375
2342
|
ByoVnetAzure: "byo-vnet-azure",
|
|
2376
2343
|
} as const;
|
|
@@ -2561,7 +2528,6 @@ export type ManagerRetryResponseStackSettings2 = {
|
|
|
2561
2528
|
*/
|
|
2562
2529
|
heartbeats?: ManagerRetryResponseHeartbeats2 | undefined;
|
|
2563
2530
|
kubernetes?: ManagerRetryResponseKubernetes2 | any | null | undefined;
|
|
2564
|
-
logs?: ManagerRetryResponseLogs2 | any | null | undefined;
|
|
2565
2531
|
network?:
|
|
2566
2532
|
| ManagerRetryResponseNetworkByoVpcAws2
|
|
2567
2533
|
| ManagerRetryResponseNetworkByoVpcGcp2
|
|
@@ -3583,22 +3549,6 @@ export type ManagerRetryResponseKubernetesUnion1 =
|
|
|
3583
3549
|
| ManagerRetryResponseKubernetes1
|
|
3584
3550
|
| any;
|
|
3585
3551
|
|
|
3586
|
-
/**
|
|
3587
|
-
* Application log handling for a deployment.
|
|
3588
|
-
*/
|
|
3589
|
-
export type ManagerRetryResponseLogs1 = {
|
|
3590
|
-
/**
|
|
3591
|
-
* Normalize severity fields from supported structured application logs into
|
|
3592
|
-
*
|
|
3593
|
-
* @remarks
|
|
3594
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
3595
|
-
* default.
|
|
3596
|
-
*/
|
|
3597
|
-
parseApplicationLevels?: boolean | undefined;
|
|
3598
|
-
};
|
|
3599
|
-
|
|
3600
|
-
export type ManagerRetryResponseLogsUnion1 = ManagerRetryResponseLogs1 | any;
|
|
3601
|
-
|
|
3602
3552
|
export const ManagerRetryResponseTypeByoVnetAzure1 = {
|
|
3603
3553
|
ByoVnetAzure: "byo-vnet-azure",
|
|
3604
3554
|
} as const;
|
|
@@ -3789,7 +3739,6 @@ export type ManagerRetryResponseStackSettings1 = {
|
|
|
3789
3739
|
*/
|
|
3790
3740
|
heartbeats?: ManagerRetryResponseHeartbeats1 | undefined;
|
|
3791
3741
|
kubernetes?: ManagerRetryResponseKubernetes1 | any | null | undefined;
|
|
3792
|
-
logs?: ManagerRetryResponseLogs1 | any | null | undefined;
|
|
3793
3742
|
network?:
|
|
3794
3743
|
| ManagerRetryResponseNetworkByoVpcAws1
|
|
3795
3744
|
| ManagerRetryResponseNetworkByoVpcGcp1
|
|
@@ -5881,40 +5830,6 @@ export function managerRetryResponseKubernetesUnion3FromJSON(
|
|
|
5881
5830
|
);
|
|
5882
5831
|
}
|
|
5883
5832
|
|
|
5884
|
-
/** @internal */
|
|
5885
|
-
export const ManagerRetryResponseLogs3$inboundSchema: z.ZodType<
|
|
5886
|
-
ManagerRetryResponseLogs3,
|
|
5887
|
-
unknown
|
|
5888
|
-
> = z.object({
|
|
5889
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
5890
|
-
});
|
|
5891
|
-
|
|
5892
|
-
export function managerRetryResponseLogs3FromJSON(
|
|
5893
|
-
jsonString: string,
|
|
5894
|
-
): SafeParseResult<ManagerRetryResponseLogs3, SDKValidationError> {
|
|
5895
|
-
return safeParse(
|
|
5896
|
-
jsonString,
|
|
5897
|
-
(x) => ManagerRetryResponseLogs3$inboundSchema.parse(JSON.parse(x)),
|
|
5898
|
-
`Failed to parse 'ManagerRetryResponseLogs3' from JSON`,
|
|
5899
|
-
);
|
|
5900
|
-
}
|
|
5901
|
-
|
|
5902
|
-
/** @internal */
|
|
5903
|
-
export const ManagerRetryResponseLogsUnion3$inboundSchema: z.ZodType<
|
|
5904
|
-
ManagerRetryResponseLogsUnion3,
|
|
5905
|
-
unknown
|
|
5906
|
-
> = z.union([z.lazy(() => ManagerRetryResponseLogs3$inboundSchema), z.any()]);
|
|
5907
|
-
|
|
5908
|
-
export function managerRetryResponseLogsUnion3FromJSON(
|
|
5909
|
-
jsonString: string,
|
|
5910
|
-
): SafeParseResult<ManagerRetryResponseLogsUnion3, SDKValidationError> {
|
|
5911
|
-
return safeParse(
|
|
5912
|
-
jsonString,
|
|
5913
|
-
(x) => ManagerRetryResponseLogsUnion3$inboundSchema.parse(JSON.parse(x)),
|
|
5914
|
-
`Failed to parse 'ManagerRetryResponseLogsUnion3' from JSON`,
|
|
5915
|
-
);
|
|
5916
|
-
}
|
|
5917
|
-
|
|
5918
5833
|
/** @internal */
|
|
5919
5834
|
export const ManagerRetryResponseTypeByoVnetAzure3$inboundSchema: z.ZodEnum<
|
|
5920
5835
|
typeof ManagerRetryResponseTypeByoVnetAzure3
|
|
@@ -6140,9 +6055,6 @@ export const ManagerRetryResponseStackSettings3$inboundSchema: z.ZodType<
|
|
|
6140
6055
|
z.any(),
|
|
6141
6056
|
]),
|
|
6142
6057
|
).optional(),
|
|
6143
|
-
logs: z.nullable(
|
|
6144
|
-
z.union([z.lazy(() => ManagerRetryResponseLogs3$inboundSchema), z.any()]),
|
|
6145
|
-
).optional(),
|
|
6146
6058
|
network: z.nullable(
|
|
6147
6059
|
z.union([
|
|
6148
6060
|
z.lazy(() => ManagerRetryResponseNetworkByoVpcAws3$inboundSchema),
|
|
@@ -7990,40 +7902,6 @@ export function managerRetryResponseKubernetesUnion2FromJSON(
|
|
|
7990
7902
|
);
|
|
7991
7903
|
}
|
|
7992
7904
|
|
|
7993
|
-
/** @internal */
|
|
7994
|
-
export const ManagerRetryResponseLogs2$inboundSchema: z.ZodType<
|
|
7995
|
-
ManagerRetryResponseLogs2,
|
|
7996
|
-
unknown
|
|
7997
|
-
> = z.object({
|
|
7998
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
7999
|
-
});
|
|
8000
|
-
|
|
8001
|
-
export function managerRetryResponseLogs2FromJSON(
|
|
8002
|
-
jsonString: string,
|
|
8003
|
-
): SafeParseResult<ManagerRetryResponseLogs2, SDKValidationError> {
|
|
8004
|
-
return safeParse(
|
|
8005
|
-
jsonString,
|
|
8006
|
-
(x) => ManagerRetryResponseLogs2$inboundSchema.parse(JSON.parse(x)),
|
|
8007
|
-
`Failed to parse 'ManagerRetryResponseLogs2' from JSON`,
|
|
8008
|
-
);
|
|
8009
|
-
}
|
|
8010
|
-
|
|
8011
|
-
/** @internal */
|
|
8012
|
-
export const ManagerRetryResponseLogsUnion2$inboundSchema: z.ZodType<
|
|
8013
|
-
ManagerRetryResponseLogsUnion2,
|
|
8014
|
-
unknown
|
|
8015
|
-
> = z.union([z.lazy(() => ManagerRetryResponseLogs2$inboundSchema), z.any()]);
|
|
8016
|
-
|
|
8017
|
-
export function managerRetryResponseLogsUnion2FromJSON(
|
|
8018
|
-
jsonString: string,
|
|
8019
|
-
): SafeParseResult<ManagerRetryResponseLogsUnion2, SDKValidationError> {
|
|
8020
|
-
return safeParse(
|
|
8021
|
-
jsonString,
|
|
8022
|
-
(x) => ManagerRetryResponseLogsUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
8023
|
-
`Failed to parse 'ManagerRetryResponseLogsUnion2' from JSON`,
|
|
8024
|
-
);
|
|
8025
|
-
}
|
|
8026
|
-
|
|
8027
7905
|
/** @internal */
|
|
8028
7906
|
export const ManagerRetryResponseTypeByoVnetAzure2$inboundSchema: z.ZodEnum<
|
|
8029
7907
|
typeof ManagerRetryResponseTypeByoVnetAzure2
|
|
@@ -8249,9 +8127,6 @@ export const ManagerRetryResponseStackSettings2$inboundSchema: z.ZodType<
|
|
|
8249
8127
|
z.any(),
|
|
8250
8128
|
]),
|
|
8251
8129
|
).optional(),
|
|
8252
|
-
logs: z.nullable(
|
|
8253
|
-
z.union([z.lazy(() => ManagerRetryResponseLogs2$inboundSchema), z.any()]),
|
|
8254
|
-
).optional(),
|
|
8255
8130
|
network: z.nullable(
|
|
8256
8131
|
z.union([
|
|
8257
8132
|
z.lazy(() => ManagerRetryResponseNetworkByoVpcAws2$inboundSchema),
|
|
@@ -10094,40 +9969,6 @@ export function managerRetryResponseKubernetesUnion1FromJSON(
|
|
|
10094
9969
|
);
|
|
10095
9970
|
}
|
|
10096
9971
|
|
|
10097
|
-
/** @internal */
|
|
10098
|
-
export const ManagerRetryResponseLogs1$inboundSchema: z.ZodType<
|
|
10099
|
-
ManagerRetryResponseLogs1,
|
|
10100
|
-
unknown
|
|
10101
|
-
> = z.object({
|
|
10102
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
10103
|
-
});
|
|
10104
|
-
|
|
10105
|
-
export function managerRetryResponseLogs1FromJSON(
|
|
10106
|
-
jsonString: string,
|
|
10107
|
-
): SafeParseResult<ManagerRetryResponseLogs1, SDKValidationError> {
|
|
10108
|
-
return safeParse(
|
|
10109
|
-
jsonString,
|
|
10110
|
-
(x) => ManagerRetryResponseLogs1$inboundSchema.parse(JSON.parse(x)),
|
|
10111
|
-
`Failed to parse 'ManagerRetryResponseLogs1' from JSON`,
|
|
10112
|
-
);
|
|
10113
|
-
}
|
|
10114
|
-
|
|
10115
|
-
/** @internal */
|
|
10116
|
-
export const ManagerRetryResponseLogsUnion1$inboundSchema: z.ZodType<
|
|
10117
|
-
ManagerRetryResponseLogsUnion1,
|
|
10118
|
-
unknown
|
|
10119
|
-
> = z.union([z.lazy(() => ManagerRetryResponseLogs1$inboundSchema), z.any()]);
|
|
10120
|
-
|
|
10121
|
-
export function managerRetryResponseLogsUnion1FromJSON(
|
|
10122
|
-
jsonString: string,
|
|
10123
|
-
): SafeParseResult<ManagerRetryResponseLogsUnion1, SDKValidationError> {
|
|
10124
|
-
return safeParse(
|
|
10125
|
-
jsonString,
|
|
10126
|
-
(x) => ManagerRetryResponseLogsUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
10127
|
-
`Failed to parse 'ManagerRetryResponseLogsUnion1' from JSON`,
|
|
10128
|
-
);
|
|
10129
|
-
}
|
|
10130
|
-
|
|
10131
9972
|
/** @internal */
|
|
10132
9973
|
export const ManagerRetryResponseTypeByoVnetAzure1$inboundSchema: z.ZodEnum<
|
|
10133
9974
|
typeof ManagerRetryResponseTypeByoVnetAzure1
|
|
@@ -10353,9 +10194,6 @@ export const ManagerRetryResponseStackSettings1$inboundSchema: z.ZodType<
|
|
|
10353
10194
|
z.any(),
|
|
10354
10195
|
]),
|
|
10355
10196
|
).optional(),
|
|
10356
|
-
logs: z.nullable(
|
|
10357
|
-
z.union([z.lazy(() => ManagerRetryResponseLogs1$inboundSchema), z.any()]),
|
|
10358
|
-
).optional(),
|
|
10359
10197
|
network: z.nullable(
|
|
10360
10198
|
z.union([
|
|
10361
10199
|
z.lazy(() => ManagerRetryResponseNetworkByoVpcAws1$inboundSchema),
|
|
@@ -1139,22 +1139,6 @@ export type NewDeploymentRequestKubernetesUnion =
|
|
|
1139
1139
|
| NewDeploymentRequestKubernetes
|
|
1140
1140
|
| any;
|
|
1141
1141
|
|
|
1142
|
-
/**
|
|
1143
|
-
* Application log handling for a deployment.
|
|
1144
|
-
*/
|
|
1145
|
-
export type NewDeploymentRequestLogs = {
|
|
1146
|
-
/**
|
|
1147
|
-
* Normalize severity fields from supported structured application logs into
|
|
1148
|
-
*
|
|
1149
|
-
* @remarks
|
|
1150
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
1151
|
-
* default.
|
|
1152
|
-
*/
|
|
1153
|
-
parseApplicationLevels?: boolean | undefined;
|
|
1154
|
-
};
|
|
1155
|
-
|
|
1156
|
-
export type NewDeploymentRequestLogsUnion = NewDeploymentRequestLogs | any;
|
|
1157
|
-
|
|
1158
1142
|
export const NewDeploymentRequestTypeByoVnetAzure = {
|
|
1159
1143
|
ByoVnetAzure: "byo-vnet-azure",
|
|
1160
1144
|
} as const;
|
|
@@ -1336,7 +1320,6 @@ export type NewDeploymentRequestStackSettings = {
|
|
|
1336
1320
|
*/
|
|
1337
1321
|
heartbeats?: NewDeploymentRequestHeartbeats | undefined;
|
|
1338
1322
|
kubernetes?: NewDeploymentRequestKubernetes | any | null | undefined;
|
|
1339
|
-
logs?: NewDeploymentRequestLogs | any | null | undefined;
|
|
1340
1323
|
network?:
|
|
1341
1324
|
| NewDeploymentRequestNetworkByoVpcAws
|
|
1342
1325
|
| NewDeploymentRequestNetworkByoVpcGcp
|
|
@@ -3887,48 +3870,6 @@ export function newDeploymentRequestKubernetesUnionToJSON(
|
|
|
3887
3870
|
);
|
|
3888
3871
|
}
|
|
3889
3872
|
|
|
3890
|
-
/** @internal */
|
|
3891
|
-
export type NewDeploymentRequestLogs$Outbound = {
|
|
3892
|
-
parseApplicationLevels?: boolean | undefined;
|
|
3893
|
-
};
|
|
3894
|
-
|
|
3895
|
-
/** @internal */
|
|
3896
|
-
export const NewDeploymentRequestLogs$outboundSchema: z.ZodType<
|
|
3897
|
-
NewDeploymentRequestLogs$Outbound,
|
|
3898
|
-
NewDeploymentRequestLogs
|
|
3899
|
-
> = z.object({
|
|
3900
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
3901
|
-
});
|
|
3902
|
-
|
|
3903
|
-
export function newDeploymentRequestLogsToJSON(
|
|
3904
|
-
newDeploymentRequestLogs: NewDeploymentRequestLogs,
|
|
3905
|
-
): string {
|
|
3906
|
-
return JSON.stringify(
|
|
3907
|
-
NewDeploymentRequestLogs$outboundSchema.parse(newDeploymentRequestLogs),
|
|
3908
|
-
);
|
|
3909
|
-
}
|
|
3910
|
-
|
|
3911
|
-
/** @internal */
|
|
3912
|
-
export type NewDeploymentRequestLogsUnion$Outbound =
|
|
3913
|
-
| NewDeploymentRequestLogs$Outbound
|
|
3914
|
-
| any;
|
|
3915
|
-
|
|
3916
|
-
/** @internal */
|
|
3917
|
-
export const NewDeploymentRequestLogsUnion$outboundSchema: z.ZodType<
|
|
3918
|
-
NewDeploymentRequestLogsUnion$Outbound,
|
|
3919
|
-
NewDeploymentRequestLogsUnion
|
|
3920
|
-
> = z.union([z.lazy(() => NewDeploymentRequestLogs$outboundSchema), z.any()]);
|
|
3921
|
-
|
|
3922
|
-
export function newDeploymentRequestLogsUnionToJSON(
|
|
3923
|
-
newDeploymentRequestLogsUnion: NewDeploymentRequestLogsUnion,
|
|
3924
|
-
): string {
|
|
3925
|
-
return JSON.stringify(
|
|
3926
|
-
NewDeploymentRequestLogsUnion$outboundSchema.parse(
|
|
3927
|
-
newDeploymentRequestLogsUnion,
|
|
3928
|
-
),
|
|
3929
|
-
);
|
|
3930
|
-
}
|
|
3931
|
-
|
|
3932
3873
|
/** @internal */
|
|
3933
3874
|
export const NewDeploymentRequestTypeByoVnetAzure$outboundSchema: z.ZodEnum<
|
|
3934
3875
|
typeof NewDeploymentRequestTypeByoVnetAzure
|
|
@@ -4175,7 +4116,6 @@ export type NewDeploymentRequestStackSettings$Outbound = {
|
|
|
4175
4116
|
| undefined;
|
|
4176
4117
|
heartbeats?: string | undefined;
|
|
4177
4118
|
kubernetes?: NewDeploymentRequestKubernetes$Outbound | any | null | undefined;
|
|
4178
|
-
logs?: NewDeploymentRequestLogs$Outbound | any | null | undefined;
|
|
4179
4119
|
network?:
|
|
4180
4120
|
| NewDeploymentRequestNetworkByoVpcAws$Outbound
|
|
4181
4121
|
| NewDeploymentRequestNetworkByoVpcGcp$Outbound
|
|
@@ -4219,9 +4159,6 @@ export const NewDeploymentRequestStackSettings$outboundSchema: z.ZodType<
|
|
|
4219
4159
|
z.any(),
|
|
4220
4160
|
]),
|
|
4221
4161
|
).optional(),
|
|
4222
|
-
logs: z.nullable(
|
|
4223
|
-
z.union([z.lazy(() => NewDeploymentRequestLogs$outboundSchema), z.any()]),
|
|
4224
|
-
).optional(),
|
|
4225
4162
|
network: z.nullable(
|
|
4226
4163
|
z.union([
|
|
4227
4164
|
z.lazy(() => NewDeploymentRequestNetworkByoVpcAws$outboundSchema),
|
|
@@ -0,0 +1,237 @@
|
|
|
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 { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import * as models from "../index.js";
|
|
12
|
+
|
|
13
|
+
export type ApproveAccessRequestGlobals = {
|
|
14
|
+
/**
|
|
15
|
+
* Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client.
|
|
16
|
+
*/
|
|
17
|
+
workspace?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type ApproveAccessRequestRequestBody = {
|
|
21
|
+
method: string;
|
|
22
|
+
actorId: string;
|
|
23
|
+
source?: { [k: string]: any | null } | undefined;
|
|
24
|
+
approvedForMinutes?: number | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type ApproveAccessRequestRequest = {
|
|
28
|
+
id: string;
|
|
29
|
+
requestBody?: ApproveAccessRequestRequestBody | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type ApproveAccessRequestDeployment = {
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
deploymentGroup?: models.DeploymentGroupInfo | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
40
|
+
*/
|
|
41
|
+
export const ApproveAccessRequestTier = {
|
|
42
|
+
ReadOnly: "read-only",
|
|
43
|
+
Mutating: "mutating",
|
|
44
|
+
Destructive: "destructive",
|
|
45
|
+
} as const;
|
|
46
|
+
/**
|
|
47
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
48
|
+
*/
|
|
49
|
+
export type ApproveAccessRequestTier = ClosedEnum<
|
|
50
|
+
typeof ApproveAccessRequestTier
|
|
51
|
+
>;
|
|
52
|
+
|
|
53
|
+
export type ApproveAccessRequestCommand = {
|
|
54
|
+
command: string;
|
|
55
|
+
summary: string;
|
|
56
|
+
params?: any | null | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
59
|
+
*/
|
|
60
|
+
tier?: ApproveAccessRequestTier | undefined;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
65
|
+
*/
|
|
66
|
+
export const ApproveAccessRequestMaxRisk = {
|
|
67
|
+
ReadOnly: "read-only",
|
|
68
|
+
Mutating: "mutating",
|
|
69
|
+
Destructive: "destructive",
|
|
70
|
+
} as const;
|
|
71
|
+
/**
|
|
72
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
73
|
+
*/
|
|
74
|
+
export type ApproveAccessRequestMaxRisk = ClosedEnum<
|
|
75
|
+
typeof ApproveAccessRequestMaxRisk
|
|
76
|
+
>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The approved access request.
|
|
80
|
+
*/
|
|
81
|
+
export type ApproveAccessRequestResponse = {
|
|
82
|
+
id: string;
|
|
83
|
+
deploymentId: string;
|
|
84
|
+
deployment?: ApproveAccessRequestDeployment | undefined;
|
|
85
|
+
remediationPlanId: string | null;
|
|
86
|
+
title: string;
|
|
87
|
+
reason: string | null;
|
|
88
|
+
commands: Array<ApproveAccessRequestCommand>;
|
|
89
|
+
operationPattern: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
92
|
+
*/
|
|
93
|
+
maxRisk: ApproveAccessRequestMaxRisk | null;
|
|
94
|
+
status: models.AccessRequestStatus;
|
|
95
|
+
approvedUntil: string | null;
|
|
96
|
+
approvalMethod: string;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export type ApproveAccessRequestRequestBody$Outbound = {
|
|
101
|
+
method: string;
|
|
102
|
+
actorId: string;
|
|
103
|
+
source?: { [k: string]: any | null } | undefined;
|
|
104
|
+
approvedForMinutes?: number | undefined;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const ApproveAccessRequestRequestBody$outboundSchema: z.ZodType<
|
|
109
|
+
ApproveAccessRequestRequestBody$Outbound,
|
|
110
|
+
ApproveAccessRequestRequestBody
|
|
111
|
+
> = z.object({
|
|
112
|
+
method: z.string(),
|
|
113
|
+
actorId: z.string(),
|
|
114
|
+
source: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
115
|
+
approvedForMinutes: z.int().optional(),
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
export function approveAccessRequestRequestBodyToJSON(
|
|
119
|
+
approveAccessRequestRequestBody: ApproveAccessRequestRequestBody,
|
|
120
|
+
): string {
|
|
121
|
+
return JSON.stringify(
|
|
122
|
+
ApproveAccessRequestRequestBody$outboundSchema.parse(
|
|
123
|
+
approveAccessRequestRequestBody,
|
|
124
|
+
),
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** @internal */
|
|
129
|
+
export type ApproveAccessRequestRequest$Outbound = {
|
|
130
|
+
id: string;
|
|
131
|
+
RequestBody?: ApproveAccessRequestRequestBody$Outbound | undefined;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/** @internal */
|
|
135
|
+
export const ApproveAccessRequestRequest$outboundSchema: z.ZodType<
|
|
136
|
+
ApproveAccessRequestRequest$Outbound,
|
|
137
|
+
ApproveAccessRequestRequest
|
|
138
|
+
> = z.object({
|
|
139
|
+
id: z.string(),
|
|
140
|
+
requestBody: z.lazy(() => ApproveAccessRequestRequestBody$outboundSchema)
|
|
141
|
+
.optional(),
|
|
142
|
+
}).transform((v) => {
|
|
143
|
+
return remap$(v, {
|
|
144
|
+
requestBody: "RequestBody",
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
export function approveAccessRequestRequestToJSON(
|
|
149
|
+
approveAccessRequestRequest: ApproveAccessRequestRequest,
|
|
150
|
+
): string {
|
|
151
|
+
return JSON.stringify(
|
|
152
|
+
ApproveAccessRequestRequest$outboundSchema.parse(
|
|
153
|
+
approveAccessRequestRequest,
|
|
154
|
+
),
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const ApproveAccessRequestDeployment$inboundSchema: z.ZodType<
|
|
160
|
+
ApproveAccessRequestDeployment,
|
|
161
|
+
unknown
|
|
162
|
+
> = z.object({
|
|
163
|
+
id: z.string(),
|
|
164
|
+
name: z.string(),
|
|
165
|
+
deploymentGroup: models.DeploymentGroupInfo$inboundSchema.optional(),
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
export function approveAccessRequestDeploymentFromJSON(
|
|
169
|
+
jsonString: string,
|
|
170
|
+
): SafeParseResult<ApproveAccessRequestDeployment, SDKValidationError> {
|
|
171
|
+
return safeParse(
|
|
172
|
+
jsonString,
|
|
173
|
+
(x) => ApproveAccessRequestDeployment$inboundSchema.parse(JSON.parse(x)),
|
|
174
|
+
`Failed to parse 'ApproveAccessRequestDeployment' from JSON`,
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** @internal */
|
|
179
|
+
export const ApproveAccessRequestTier$inboundSchema: z.ZodEnum<
|
|
180
|
+
typeof ApproveAccessRequestTier
|
|
181
|
+
> = z.enum(ApproveAccessRequestTier);
|
|
182
|
+
|
|
183
|
+
/** @internal */
|
|
184
|
+
export const ApproveAccessRequestCommand$inboundSchema: z.ZodType<
|
|
185
|
+
ApproveAccessRequestCommand,
|
|
186
|
+
unknown
|
|
187
|
+
> = z.object({
|
|
188
|
+
command: z.string(),
|
|
189
|
+
summary: z.string(),
|
|
190
|
+
params: z.nullable(z.any()).optional(),
|
|
191
|
+
tier: ApproveAccessRequestTier$inboundSchema.optional(),
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
export function approveAccessRequestCommandFromJSON(
|
|
195
|
+
jsonString: string,
|
|
196
|
+
): SafeParseResult<ApproveAccessRequestCommand, SDKValidationError> {
|
|
197
|
+
return safeParse(
|
|
198
|
+
jsonString,
|
|
199
|
+
(x) => ApproveAccessRequestCommand$inboundSchema.parse(JSON.parse(x)),
|
|
200
|
+
`Failed to parse 'ApproveAccessRequestCommand' from JSON`,
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/** @internal */
|
|
205
|
+
export const ApproveAccessRequestMaxRisk$inboundSchema: z.ZodEnum<
|
|
206
|
+
typeof ApproveAccessRequestMaxRisk
|
|
207
|
+
> = z.enum(ApproveAccessRequestMaxRisk);
|
|
208
|
+
|
|
209
|
+
/** @internal */
|
|
210
|
+
export const ApproveAccessRequestResponse$inboundSchema: z.ZodType<
|
|
211
|
+
ApproveAccessRequestResponse,
|
|
212
|
+
unknown
|
|
213
|
+
> = z.object({
|
|
214
|
+
id: z.string(),
|
|
215
|
+
deploymentId: z.string(),
|
|
216
|
+
deployment: z.lazy(() => ApproveAccessRequestDeployment$inboundSchema)
|
|
217
|
+
.optional(),
|
|
218
|
+
remediationPlanId: z.nullable(z.string()),
|
|
219
|
+
title: z.string(),
|
|
220
|
+
reason: z.nullable(z.string()),
|
|
221
|
+
commands: z.array(z.lazy(() => ApproveAccessRequestCommand$inboundSchema)),
|
|
222
|
+
operationPattern: z.nullable(z.string()),
|
|
223
|
+
maxRisk: z.nullable(ApproveAccessRequestMaxRisk$inboundSchema),
|
|
224
|
+
status: models.AccessRequestStatus$inboundSchema,
|
|
225
|
+
approvedUntil: z.nullable(z.string()),
|
|
226
|
+
approvalMethod: z.string(),
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
export function approveAccessRequestResponseFromJSON(
|
|
230
|
+
jsonString: string,
|
|
231
|
+
): SafeParseResult<ApproveAccessRequestResponse, SDKValidationError> {
|
|
232
|
+
return safeParse(
|
|
233
|
+
jsonString,
|
|
234
|
+
(x) => ApproveAccessRequestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
235
|
+
`Failed to parse 'ApproveAccessRequestResponse' from JSON`,
|
|
236
|
+
);
|
|
237
|
+
}
|