@vercel/sdk 1.15.0 → 1.16.0
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 +42 -25
- package/bin/mcp-server.js +3040 -1304
- package/bin/mcp-server.js.map +60 -42
- package/docs/sdks/connect/README.md +10 -10
- package/docs/sdks/environment/README.md +512 -0
- package/docs/sdks/staticips/README.md +95 -0
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/connect.test.js +10 -7
- package/esm/__tests__/connect.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +10 -3
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/environment.test.js +164 -0
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +1 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/connectUpdateStaticIps.d.ts +17 -0
- package/esm/funcs/connectUpdateStaticIps.d.ts.map +1 -0
- package/esm/funcs/{connectUpdateSharedConnectLinks.js → connectUpdateStaticIps.js} +8 -8
- package/esm/funcs/connectUpdateStaticIps.js.map +1 -0
- package/esm/funcs/environmentCreateSharedEnvVariable.d.ts +17 -0
- package/esm/funcs/environmentCreateSharedEnvVariable.d.ts.map +1 -0
- package/esm/funcs/environmentCreateSharedEnvVariable.js +83 -0
- package/esm/funcs/environmentCreateSharedEnvVariable.js.map +1 -0
- package/esm/funcs/environmentDeleteSharedEnvVariable.d.ts +17 -0
- package/esm/funcs/environmentDeleteSharedEnvVariable.d.ts.map +1 -0
- package/esm/funcs/environmentDeleteSharedEnvVariable.js +83 -0
- package/esm/funcs/environmentDeleteSharedEnvVariable.js.map +1 -0
- package/esm/funcs/environmentGetSharedEnvVar.d.ts +17 -0
- package/esm/funcs/environmentGetSharedEnvVar.d.ts.map +1 -0
- package/esm/funcs/environmentGetSharedEnvVar.js +88 -0
- package/esm/funcs/environmentGetSharedEnvVar.js.map +1 -0
- package/esm/funcs/environmentListSharedEnvVariable.d.ts +17 -0
- package/esm/funcs/environmentListSharedEnvVariable.d.ts.map +1 -0
- package/esm/funcs/environmentListSharedEnvVariable.js +89 -0
- package/esm/funcs/environmentListSharedEnvVariable.js.map +1 -0
- package/esm/funcs/environmentUnlinkSharedEnvVariable.d.ts +17 -0
- package/esm/funcs/environmentUnlinkSharedEnvVariable.d.ts.map +1 -0
- package/esm/funcs/environmentUnlinkSharedEnvVariable.js +92 -0
- package/esm/funcs/environmentUnlinkSharedEnvVariable.js.map +1 -0
- package/esm/funcs/environmentUpdateSharedEnvVariable.d.ts +17 -0
- package/esm/funcs/environmentUpdateSharedEnvVariable.d.ts.map +1 -0
- package/esm/funcs/environmentUpdateSharedEnvVariable.js +83 -0
- package/esm/funcs/environmentUpdateSharedEnvVariable.js.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +13 -2
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +20 -8
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectUpdateStaticIps.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateStaticIps.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateStaticIps.js +28 -0
- package/esm/mcp-server/tools/connectUpdateStaticIps.js.map +1 -0
- package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.d.ts +7 -0
- package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.js +28 -0
- package/esm/mcp-server/tools/environmentCreateSharedEnvVariable.js.map +1 -0
- package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.d.ts +7 -0
- package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.js +28 -0
- package/esm/mcp-server/tools/environmentDeleteSharedEnvVariable.js.map +1 -0
- package/esm/mcp-server/tools/environmentGetSharedEnvVar.d.ts +7 -0
- package/esm/mcp-server/tools/environmentGetSharedEnvVar.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentGetSharedEnvVar.js +28 -0
- package/esm/mcp-server/tools/environmentGetSharedEnvVar.js.map +1 -0
- package/esm/mcp-server/tools/environmentListSharedEnvVariable.d.ts +7 -0
- package/esm/mcp-server/tools/environmentListSharedEnvVariable.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentListSharedEnvVariable.js +28 -0
- package/esm/mcp-server/tools/environmentListSharedEnvVariable.js.map +1 -0
- package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.d.ts +7 -0
- package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.js +28 -0
- package/esm/mcp-server/tools/environmentUnlinkSharedEnvVariable.js.map +1 -0
- package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.d.ts +7 -0
- package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.d.ts.map +1 -0
- package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.js +28 -0
- package/esm/mcp-server/tools/environmentUpdateSharedEnvVariable.js.map +1 -0
- package/esm/models/buydomainsop.d.ts +4 -4
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.d.ts +4 -4
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +3 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +1 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +6 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +3 -0
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +1 -0
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +288 -285
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +352 -351
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +37 -37
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +44 -44
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +6 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createsharedenvvariableop.d.ts +746 -0
- package/esm/models/createsharedenvvariableop.d.ts.map +1 -0
- package/esm/models/createsharedenvvariableop.js +609 -0
- package/esm/models/createsharedenvvariableop.js.map +1 -0
- package/esm/models/deletesharedenvvariableop.d.ts +291 -0
- package/esm/models/deletesharedenvvariableop.d.ts.map +1 -0
- package/esm/models/deletesharedenvvariableop.js +291 -0
- package/esm/models/deletesharedenvvariableop.js.map +1 -0
- package/esm/models/getalllogdrainsop.d.ts +6 -0
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +2 -0
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getconfigurablelogdrainop.d.ts +3 -0
- package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
- package/esm/models/getconfigurablelogdrainop.js +1 -0
- package/esm/models/getconfigurablelogdrainop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getcontactinfoschemaop.d.ts +2 -2
- package/esm/models/getcontactinfoschemaop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.d.ts +3 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +1 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +3 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +1 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomainauthcodeop.d.ts +4 -4
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +2 -2
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomaintransferinop.d.ts +2 -2
- package/esm/models/getdomaintransferinop.d.ts.map +1 -1
- package/esm/models/getdrainop.d.ts +3 -0
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +1 -0
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +3 -0
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +1 -0
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +3 -0
- package/esm/models/getinvoiceop.d.ts.map +1 -1
- package/esm/models/getinvoiceop.js +1 -0
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getorderop.d.ts +2 -2
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getprojectsop.d.ts +3 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +1 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getsharedenvvarop.d.ts +227 -0
- package/esm/models/getsharedenvvarop.d.ts.map +1 -0
- package/esm/models/getsharedenvvarop.js +142 -0
- package/esm/models/getsharedenvvarop.js.map +1 -0
- package/esm/models/gettldpriceop.d.ts +2 -2
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.d.ts +3 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +1 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/listsharedenvvariableop.d.ts +285 -0
- package/esm/models/listsharedenvvariableop.d.ts.map +1 -0
- package/esm/models/listsharedenvvariableop.js +198 -0
- package/esm/models/listsharedenvvariableop.js.map +1 -0
- package/esm/models/renewdomainop.d.ts +4 -4
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.d.ts +4 -4
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/unlinksharedenvvariableop.d.ts +69 -0
- package/esm/models/unlinksharedenvvariableop.d.ts.map +1 -0
- package/esm/models/unlinksharedenvvariableop.js +62 -0
- package/esm/models/unlinksharedenvvariableop.js.map +1 -0
- package/esm/models/updatedomainautorenewop.d.ts +4 -4
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
- package/esm/models/updatedomainnameserversop.d.ts +4 -4
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
- package/esm/models/updatedrainop.d.ts +3 -0
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +1 -0
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +32 -5
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +29 -4
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +3 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +1 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +6 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatesharedenvvariableop.d.ts +629 -0
- package/esm/models/updatesharedenvvariableop.d.ts.map +1 -0
- package/esm/models/updatesharedenvvariableop.js +507 -0
- package/esm/models/updatesharedenvvariableop.js.map +1 -0
- package/esm/models/updatestaticipsop.d.ts +238 -0
- package/esm/models/updatestaticipsop.d.ts.map +1 -0
- package/esm/models/updatestaticipsop.js +239 -0
- package/esm/models/updatestaticipsop.js.map +1 -0
- package/esm/sdk/connect.d.ts +4 -4
- package/esm/sdk/connect.d.ts.map +1 -1
- package/esm/sdk/connect.js +5 -5
- package/esm/sdk/connect.js.map +1 -1
- package/esm/sdk/environment.d.ts +48 -0
- package/esm/sdk/environment.d.ts.map +1 -1
- package/esm/sdk/environment.js +60 -0
- package/esm/sdk/environment.js.map +1 -1
- package/esm/sdk/sdk.d.ts +5 -2
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +6 -2
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/staticips.d.ts +12 -0
- package/esm/sdk/staticips.d.ts.map +1 -0
- package/esm/sdk/staticips.js +18 -0
- package/esm/sdk/staticips.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/connect.test.ts +13 -7
- package/src/__tests__/domains.test.ts +10 -3
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/environment.test.ts +184 -0
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +1 -3
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/{connectUpdateSharedConnectLinks.ts → connectUpdateStaticIps.ts} +16 -16
- package/src/funcs/environmentCreateSharedEnvVariable.ts +171 -0
- package/src/funcs/environmentDeleteSharedEnvVariable.ts +171 -0
- package/src/funcs/environmentGetSharedEnvVar.ts +177 -0
- package/src/funcs/environmentListSharedEnvVariable.ts +177 -0
- package/src/funcs/environmentUnlinkSharedEnvVariable.ts +181 -0
- package/src/funcs/environmentUpdateSharedEnvVariable.ts +171 -0
- package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +13 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +20 -8
- package/src/mcp-server/tools/connectUpdateStaticIps.ts +37 -0
- package/src/mcp-server/tools/environmentCreateSharedEnvVariable.ts +39 -0
- package/src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts +39 -0
- package/src/mcp-server/tools/environmentGetSharedEnvVar.ts +38 -0
- package/src/mcp-server/tools/environmentListSharedEnvVariable.ts +39 -0
- package/src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts +39 -0
- package/src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts +39 -0
- package/src/models/buydomainsop.ts +2 -2
- package/src/models/buysingledomainop.ts +2 -2
- package/src/models/canceldeploymentop.ts +1 -0
- package/src/models/createdeploymentop.ts +2 -0
- package/src/models/createdrainop.ts +1 -0
- package/src/models/createintegrationstoredirectop.ts +605 -604
- package/src/models/createprojectenvop.ts +86 -66
- package/src/models/createprojectop.ts +2 -0
- package/src/models/createsharedenvvariableop.ts +1298 -0
- package/src/models/deletesharedenvvariableop.ts +608 -0
- package/src/models/getalllogdrainsop.ts +2 -0
- package/src/models/getconfigurablelogdrainop.ts +1 -0
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getcontactinfoschemaop.ts +1 -1
- package/src/models/getdeploymentop.ts +1 -0
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getdomainauthcodeop.ts +2 -2
- package/src/models/getdomainpriceop.ts +1 -1
- package/src/models/getdomaintransferinop.ts +1 -1
- package/src/models/getdrainop.ts +1 -0
- package/src/models/getdrainsop.ts +1 -0
- package/src/models/getinvoiceop.ts +1 -0
- package/src/models/getorderop.ts +1 -1
- package/src/models/getprojectsop.ts +1 -0
- package/src/models/getsharedenvvarop.ts +336 -0
- package/src/models/gettldpriceop.ts +1 -1
- package/src/models/getwebhooksop.ts +1 -0
- package/src/models/listsharedenvvariableop.ts +458 -0
- package/src/models/renewdomainop.ts +2 -2
- package/src/models/transferindomainop.ts +2 -2
- package/src/models/unlinksharedenvvariableop.ts +152 -0
- package/src/models/updatedomainautorenewop.ts +2 -2
- package/src/models/updatedomainnameserversop.ts +2 -2
- package/src/models/updatedrainop.ts +1 -0
- package/src/models/updateinstallationop.ts +67 -11
- package/src/models/updateprojectdatacacheop.ts +1 -0
- package/src/models/updateprojectop.ts +2 -0
- package/src/models/updatesharedenvvariableop.ts +1105 -0
- package/src/models/updatestaticipsop.ts +530 -0
- package/src/sdk/connect.ts +10 -10
- package/src/sdk/environment.ts +132 -0
- package/src/sdk/sdk.ts +9 -3
- package/src/sdk/staticips.ts +30 -0
- package/vercel-spec.json +1623 -121
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +0 -17
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +0 -1
- package/esm/funcs/connectUpdateSharedConnectLinks.js.map +0 -1
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +0 -7
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +0 -1
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +0 -28
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +0 -1
- package/esm/models/updatesharedconnectlinksop.d.ts +0 -182
- package/esm/models/updatesharedconnectlinksop.d.ts.map +0 -1
- package/esm/models/updatesharedconnectlinksop.js +0 -179
- package/esm/models/updatesharedconnectlinksop.js.map +0 -1
- package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +0 -38
- package/src/models/updatesharedconnectlinksop.ts +0 -402
|
@@ -0,0 +1,1298 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 "./sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type RequestBodyEvs = {
|
|
13
|
+
/**
|
|
14
|
+
* The name of the Shared Environment Variable
|
|
15
|
+
*/
|
|
16
|
+
key: string;
|
|
17
|
+
/**
|
|
18
|
+
* The value of the Shared Environment Variable
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
/**
|
|
22
|
+
* A comment to add context on what this Shared Environment Variable is for
|
|
23
|
+
*/
|
|
24
|
+
comment?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The type of environment variable
|
|
29
|
+
*/
|
|
30
|
+
export const CreateSharedEnvVariableRequestBodyEnvironmentType = {
|
|
31
|
+
Encrypted: "encrypted",
|
|
32
|
+
Sensitive: "sensitive",
|
|
33
|
+
} as const;
|
|
34
|
+
/**
|
|
35
|
+
* The type of environment variable
|
|
36
|
+
*/
|
|
37
|
+
export type CreateSharedEnvVariableRequestBodyEnvironmentType = ClosedEnum<
|
|
38
|
+
typeof CreateSharedEnvVariableRequestBodyEnvironmentType
|
|
39
|
+
>;
|
|
40
|
+
|
|
41
|
+
export const CreateSharedEnvVariableRequestBodyTarget = {
|
|
42
|
+
Production: "production",
|
|
43
|
+
Preview: "preview",
|
|
44
|
+
Development: "development",
|
|
45
|
+
} as const;
|
|
46
|
+
export type CreateSharedEnvVariableRequestBodyTarget = ClosedEnum<
|
|
47
|
+
typeof CreateSharedEnvVariableRequestBodyTarget
|
|
48
|
+
>;
|
|
49
|
+
|
|
50
|
+
export type CreateSharedEnvVariableRequestBody2 = {
|
|
51
|
+
evs: Array<RequestBodyEvs>;
|
|
52
|
+
/**
|
|
53
|
+
* The type of environment variable
|
|
54
|
+
*/
|
|
55
|
+
type?: CreateSharedEnvVariableRequestBodyEnvironmentType | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* The target environment of the Shared Environment Variable
|
|
58
|
+
*/
|
|
59
|
+
target?: Array<CreateSharedEnvVariableRequestBodyTarget> | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Associate a Shared Environment Variable to projects.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
64
|
+
*/
|
|
65
|
+
projectId?: Array<string> | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type Evs = {
|
|
69
|
+
/**
|
|
70
|
+
* The name of the Shared Environment Variable
|
|
71
|
+
*/
|
|
72
|
+
key: string;
|
|
73
|
+
/**
|
|
74
|
+
* The value of the Shared Environment Variable
|
|
75
|
+
*/
|
|
76
|
+
value: string;
|
|
77
|
+
/**
|
|
78
|
+
* A comment to add context on what this Shared Environment Variable is for
|
|
79
|
+
*/
|
|
80
|
+
comment?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The type of environment variable
|
|
85
|
+
*/
|
|
86
|
+
export const CreateSharedEnvVariableRequestBodyType = {
|
|
87
|
+
Encrypted: "encrypted",
|
|
88
|
+
Sensitive: "sensitive",
|
|
89
|
+
} as const;
|
|
90
|
+
/**
|
|
91
|
+
* The type of environment variable
|
|
92
|
+
*/
|
|
93
|
+
export type CreateSharedEnvVariableRequestBodyType = ClosedEnum<
|
|
94
|
+
typeof CreateSharedEnvVariableRequestBodyType
|
|
95
|
+
>;
|
|
96
|
+
|
|
97
|
+
export const RequestBodyTarget = {
|
|
98
|
+
Production: "production",
|
|
99
|
+
Preview: "preview",
|
|
100
|
+
Development: "development",
|
|
101
|
+
} as const;
|
|
102
|
+
export type RequestBodyTarget = ClosedEnum<typeof RequestBodyTarget>;
|
|
103
|
+
|
|
104
|
+
export type CreateSharedEnvVariableRequestBody1 = {
|
|
105
|
+
evs: Array<Evs>;
|
|
106
|
+
/**
|
|
107
|
+
* The type of environment variable
|
|
108
|
+
*/
|
|
109
|
+
type?: CreateSharedEnvVariableRequestBodyType | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* The target environment of the Shared Environment Variable
|
|
112
|
+
*/
|
|
113
|
+
target: Array<RequestBodyTarget>;
|
|
114
|
+
/**
|
|
115
|
+
* Associate a Shared Environment Variable to projects.
|
|
116
|
+
*
|
|
117
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
118
|
+
*/
|
|
119
|
+
projectId?: Array<string> | undefined;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export type CreateSharedEnvVariableRequestBody =
|
|
123
|
+
| CreateSharedEnvVariableRequestBody1
|
|
124
|
+
| CreateSharedEnvVariableRequestBody2;
|
|
125
|
+
|
|
126
|
+
export type CreateSharedEnvVariableRequest = {
|
|
127
|
+
/**
|
|
128
|
+
* The Team identifier to perform the request on behalf of.
|
|
129
|
+
*/
|
|
130
|
+
teamId?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* The Team slug to perform the request on behalf of.
|
|
133
|
+
*/
|
|
134
|
+
slug?: string | undefined;
|
|
135
|
+
requestBody?:
|
|
136
|
+
| CreateSharedEnvVariableRequestBody1
|
|
137
|
+
| CreateSharedEnvVariableRequestBody2
|
|
138
|
+
| undefined;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* The type of this cosmos doc instance, if blank, assume secret.
|
|
143
|
+
*/
|
|
144
|
+
export const CreateSharedEnvVariableType = {
|
|
145
|
+
Encrypted: "encrypted",
|
|
146
|
+
Sensitive: "sensitive",
|
|
147
|
+
System: "system",
|
|
148
|
+
Plain: "plain",
|
|
149
|
+
} as const;
|
|
150
|
+
/**
|
|
151
|
+
* The type of this cosmos doc instance, if blank, assume secret.
|
|
152
|
+
*/
|
|
153
|
+
export type CreateSharedEnvVariableType = ClosedEnum<
|
|
154
|
+
typeof CreateSharedEnvVariableType
|
|
155
|
+
>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* environments this env variable targets
|
|
159
|
+
*/
|
|
160
|
+
export const CreateSharedEnvVariableTarget = {
|
|
161
|
+
Production: "production",
|
|
162
|
+
Preview: "preview",
|
|
163
|
+
Development: "development",
|
|
164
|
+
} as const;
|
|
165
|
+
/**
|
|
166
|
+
* environments this env variable targets
|
|
167
|
+
*/
|
|
168
|
+
export type CreateSharedEnvVariableTarget = ClosedEnum<
|
|
169
|
+
typeof CreateSharedEnvVariableTarget
|
|
170
|
+
>;
|
|
171
|
+
|
|
172
|
+
export type Created = {
|
|
173
|
+
/**
|
|
174
|
+
* The date when the Shared Env Var was created.
|
|
175
|
+
*/
|
|
176
|
+
created?: Date | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* The name of the Shared Env Var.
|
|
179
|
+
*/
|
|
180
|
+
key?: string | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* The unique identifier of the owner (team) the Shared Env Var was created for.
|
|
183
|
+
*/
|
|
184
|
+
ownerId?: string | null | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* The unique identifier of the Shared Env Var.
|
|
187
|
+
*/
|
|
188
|
+
id?: string | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* The unique identifier of the user who created the Shared Env Var.
|
|
191
|
+
*/
|
|
192
|
+
createdBy?: string | null | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* The unique identifier of the user who deleted the Shared Env Var.
|
|
195
|
+
*/
|
|
196
|
+
deletedBy?: string | null | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* The unique identifier of the user who last updated the Shared Env Var.
|
|
199
|
+
*/
|
|
200
|
+
updatedBy?: string | null | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* Timestamp for when the Shared Env Var was created.
|
|
203
|
+
*/
|
|
204
|
+
createdAt?: number | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Timestamp for when the Shared Env Var was (soft) deleted.
|
|
207
|
+
*/
|
|
208
|
+
deletedAt?: number | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Timestamp for when the Shared Env Var was last updated.
|
|
211
|
+
*/
|
|
212
|
+
updatedAt?: number | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* The value of the Shared Env Var.
|
|
215
|
+
*/
|
|
216
|
+
value?: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* The unique identifiers of the projects which the Shared Env Var is linked to.
|
|
219
|
+
*/
|
|
220
|
+
projectId?: Array<string> | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* The type of this cosmos doc instance, if blank, assume secret.
|
|
223
|
+
*/
|
|
224
|
+
type?: CreateSharedEnvVariableType | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* environments this env variable targets
|
|
227
|
+
*/
|
|
228
|
+
target?: Array<CreateSharedEnvVariableTarget> | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* whether or not this env varible applies to custom environments
|
|
231
|
+
*/
|
|
232
|
+
applyToAllCustomEnvironments?: boolean | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* whether or not this env variable is decrypted
|
|
235
|
+
*/
|
|
236
|
+
decrypted?: boolean | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* A user provided comment that describes what this Shared Env Var is for.
|
|
239
|
+
*/
|
|
240
|
+
comment?: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* The last editor full name or username.
|
|
243
|
+
*/
|
|
244
|
+
lastEditedByDisplayName?: string | undefined;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export const Value2 = {
|
|
248
|
+
Production: "production",
|
|
249
|
+
Preview: "preview",
|
|
250
|
+
Development: "development",
|
|
251
|
+
} as const;
|
|
252
|
+
export type Value2 = ClosedEnum<typeof Value2>;
|
|
253
|
+
|
|
254
|
+
export type CreateSharedEnvVariableValue = string | Array<Value2>;
|
|
255
|
+
|
|
256
|
+
export const CreateSharedEnvVariableTarget2 = {
|
|
257
|
+
Production: "production",
|
|
258
|
+
Preview: "preview",
|
|
259
|
+
Development: "development",
|
|
260
|
+
} as const;
|
|
261
|
+
export type CreateSharedEnvVariableTarget2 = ClosedEnum<
|
|
262
|
+
typeof CreateSharedEnvVariableTarget2
|
|
263
|
+
>;
|
|
264
|
+
|
|
265
|
+
export const CreateSharedEnvVariableTarget1 = {
|
|
266
|
+
Production: "production",
|
|
267
|
+
Preview: "preview",
|
|
268
|
+
Development: "development",
|
|
269
|
+
} as const;
|
|
270
|
+
export type CreateSharedEnvVariableTarget1 = ClosedEnum<
|
|
271
|
+
typeof CreateSharedEnvVariableTarget1
|
|
272
|
+
>;
|
|
273
|
+
|
|
274
|
+
export type CreateSharedEnvVariableEnvironmentTarget =
|
|
275
|
+
| Array<CreateSharedEnvVariableTarget1>
|
|
276
|
+
| CreateSharedEnvVariableTarget2;
|
|
277
|
+
|
|
278
|
+
export type CreateSharedEnvVariableError = {
|
|
279
|
+
code: string;
|
|
280
|
+
message: string;
|
|
281
|
+
key?: string | undefined;
|
|
282
|
+
envVarId?: string | undefined;
|
|
283
|
+
envVarKey?: string | undefined;
|
|
284
|
+
action?: string | undefined;
|
|
285
|
+
link?: string | undefined;
|
|
286
|
+
value?: string | Array<Value2> | undefined;
|
|
287
|
+
gitBranch?: string | undefined;
|
|
288
|
+
target?:
|
|
289
|
+
| Array<CreateSharedEnvVariableTarget1>
|
|
290
|
+
| CreateSharedEnvVariableTarget2
|
|
291
|
+
| undefined;
|
|
292
|
+
project?: string | undefined;
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
export type Failed = {
|
|
296
|
+
error: CreateSharedEnvVariableError;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export type CreateSharedEnvVariableResponseBody = {
|
|
300
|
+
created: Array<Created>;
|
|
301
|
+
failed: Array<Failed>;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/** @internal */
|
|
305
|
+
export const RequestBodyEvs$inboundSchema: z.ZodType<
|
|
306
|
+
RequestBodyEvs,
|
|
307
|
+
z.ZodTypeDef,
|
|
308
|
+
unknown
|
|
309
|
+
> = z.object({
|
|
310
|
+
key: z.string(),
|
|
311
|
+
value: z.string(),
|
|
312
|
+
comment: z.string().optional(),
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
/** @internal */
|
|
316
|
+
export type RequestBodyEvs$Outbound = {
|
|
317
|
+
key: string;
|
|
318
|
+
value: string;
|
|
319
|
+
comment?: string | undefined;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/** @internal */
|
|
323
|
+
export const RequestBodyEvs$outboundSchema: z.ZodType<
|
|
324
|
+
RequestBodyEvs$Outbound,
|
|
325
|
+
z.ZodTypeDef,
|
|
326
|
+
RequestBodyEvs
|
|
327
|
+
> = z.object({
|
|
328
|
+
key: z.string(),
|
|
329
|
+
value: z.string(),
|
|
330
|
+
comment: z.string().optional(),
|
|
331
|
+
});
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @internal
|
|
335
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
336
|
+
*/
|
|
337
|
+
export namespace RequestBodyEvs$ {
|
|
338
|
+
/** @deprecated use `RequestBodyEvs$inboundSchema` instead. */
|
|
339
|
+
export const inboundSchema = RequestBodyEvs$inboundSchema;
|
|
340
|
+
/** @deprecated use `RequestBodyEvs$outboundSchema` instead. */
|
|
341
|
+
export const outboundSchema = RequestBodyEvs$outboundSchema;
|
|
342
|
+
/** @deprecated use `RequestBodyEvs$Outbound` instead. */
|
|
343
|
+
export type Outbound = RequestBodyEvs$Outbound;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export function requestBodyEvsToJSON(requestBodyEvs: RequestBodyEvs): string {
|
|
347
|
+
return JSON.stringify(RequestBodyEvs$outboundSchema.parse(requestBodyEvs));
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export function requestBodyEvsFromJSON(
|
|
351
|
+
jsonString: string,
|
|
352
|
+
): SafeParseResult<RequestBodyEvs, SDKValidationError> {
|
|
353
|
+
return safeParse(
|
|
354
|
+
jsonString,
|
|
355
|
+
(x) => RequestBodyEvs$inboundSchema.parse(JSON.parse(x)),
|
|
356
|
+
`Failed to parse 'RequestBodyEvs' from JSON`,
|
|
357
|
+
);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** @internal */
|
|
361
|
+
export const CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema:
|
|
362
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyEnvironmentType> = z
|
|
363
|
+
.nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentType);
|
|
364
|
+
|
|
365
|
+
/** @internal */
|
|
366
|
+
export const CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema:
|
|
367
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyEnvironmentType> =
|
|
368
|
+
CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @internal
|
|
372
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
373
|
+
*/
|
|
374
|
+
export namespace CreateSharedEnvVariableRequestBodyEnvironmentType$ {
|
|
375
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema` instead. */
|
|
376
|
+
export const inboundSchema =
|
|
377
|
+
CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema;
|
|
378
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema` instead. */
|
|
379
|
+
export const outboundSchema =
|
|
380
|
+
CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/** @internal */
|
|
384
|
+
export const CreateSharedEnvVariableRequestBodyTarget$inboundSchema:
|
|
385
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyTarget> = z
|
|
386
|
+
.nativeEnum(CreateSharedEnvVariableRequestBodyTarget);
|
|
387
|
+
|
|
388
|
+
/** @internal */
|
|
389
|
+
export const CreateSharedEnvVariableRequestBodyTarget$outboundSchema:
|
|
390
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyTarget> =
|
|
391
|
+
CreateSharedEnvVariableRequestBodyTarget$inboundSchema;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
|
+
*/
|
|
397
|
+
export namespace CreateSharedEnvVariableRequestBodyTarget$ {
|
|
398
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyTarget$inboundSchema` instead. */
|
|
399
|
+
export const inboundSchema =
|
|
400
|
+
CreateSharedEnvVariableRequestBodyTarget$inboundSchema;
|
|
401
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyTarget$outboundSchema` instead. */
|
|
402
|
+
export const outboundSchema =
|
|
403
|
+
CreateSharedEnvVariableRequestBodyTarget$outboundSchema;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/** @internal */
|
|
407
|
+
export const CreateSharedEnvVariableRequestBody2$inboundSchema: z.ZodType<
|
|
408
|
+
CreateSharedEnvVariableRequestBody2,
|
|
409
|
+
z.ZodTypeDef,
|
|
410
|
+
unknown
|
|
411
|
+
> = z.object({
|
|
412
|
+
evs: z.array(z.lazy(() => RequestBodyEvs$inboundSchema)),
|
|
413
|
+
type: CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema
|
|
414
|
+
.optional(),
|
|
415
|
+
target: z.array(CreateSharedEnvVariableRequestBodyTarget$inboundSchema)
|
|
416
|
+
.optional(),
|
|
417
|
+
projectId: z.array(z.string()).optional(),
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
/** @internal */
|
|
421
|
+
export type CreateSharedEnvVariableRequestBody2$Outbound = {
|
|
422
|
+
evs: Array<RequestBodyEvs$Outbound>;
|
|
423
|
+
type?: string | undefined;
|
|
424
|
+
target?: Array<string> | undefined;
|
|
425
|
+
projectId?: Array<string> | undefined;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/** @internal */
|
|
429
|
+
export const CreateSharedEnvVariableRequestBody2$outboundSchema: z.ZodType<
|
|
430
|
+
CreateSharedEnvVariableRequestBody2$Outbound,
|
|
431
|
+
z.ZodTypeDef,
|
|
432
|
+
CreateSharedEnvVariableRequestBody2
|
|
433
|
+
> = z.object({
|
|
434
|
+
evs: z.array(z.lazy(() => RequestBodyEvs$outboundSchema)),
|
|
435
|
+
type: CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema
|
|
436
|
+
.optional(),
|
|
437
|
+
target: z.array(CreateSharedEnvVariableRequestBodyTarget$outboundSchema)
|
|
438
|
+
.optional(),
|
|
439
|
+
projectId: z.array(z.string()).optional(),
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @internal
|
|
444
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
445
|
+
*/
|
|
446
|
+
export namespace CreateSharedEnvVariableRequestBody2$ {
|
|
447
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody2$inboundSchema` instead. */
|
|
448
|
+
export const inboundSchema =
|
|
449
|
+
CreateSharedEnvVariableRequestBody2$inboundSchema;
|
|
450
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody2$outboundSchema` instead. */
|
|
451
|
+
export const outboundSchema =
|
|
452
|
+
CreateSharedEnvVariableRequestBody2$outboundSchema;
|
|
453
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody2$Outbound` instead. */
|
|
454
|
+
export type Outbound = CreateSharedEnvVariableRequestBody2$Outbound;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export function createSharedEnvVariableRequestBody2ToJSON(
|
|
458
|
+
createSharedEnvVariableRequestBody2: CreateSharedEnvVariableRequestBody2,
|
|
459
|
+
): string {
|
|
460
|
+
return JSON.stringify(
|
|
461
|
+
CreateSharedEnvVariableRequestBody2$outboundSchema.parse(
|
|
462
|
+
createSharedEnvVariableRequestBody2,
|
|
463
|
+
),
|
|
464
|
+
);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export function createSharedEnvVariableRequestBody2FromJSON(
|
|
468
|
+
jsonString: string,
|
|
469
|
+
): SafeParseResult<CreateSharedEnvVariableRequestBody2, SDKValidationError> {
|
|
470
|
+
return safeParse(
|
|
471
|
+
jsonString,
|
|
472
|
+
(x) =>
|
|
473
|
+
CreateSharedEnvVariableRequestBody2$inboundSchema.parse(JSON.parse(x)),
|
|
474
|
+
`Failed to parse 'CreateSharedEnvVariableRequestBody2' from JSON`,
|
|
475
|
+
);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/** @internal */
|
|
479
|
+
export const Evs$inboundSchema: z.ZodType<Evs, z.ZodTypeDef, unknown> = z
|
|
480
|
+
.object({
|
|
481
|
+
key: z.string(),
|
|
482
|
+
value: z.string(),
|
|
483
|
+
comment: z.string().optional(),
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
/** @internal */
|
|
487
|
+
export type Evs$Outbound = {
|
|
488
|
+
key: string;
|
|
489
|
+
value: string;
|
|
490
|
+
comment?: string | undefined;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/** @internal */
|
|
494
|
+
export const Evs$outboundSchema: z.ZodType<Evs$Outbound, z.ZodTypeDef, Evs> = z
|
|
495
|
+
.object({
|
|
496
|
+
key: z.string(),
|
|
497
|
+
value: z.string(),
|
|
498
|
+
comment: z.string().optional(),
|
|
499
|
+
});
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @internal
|
|
503
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
504
|
+
*/
|
|
505
|
+
export namespace Evs$ {
|
|
506
|
+
/** @deprecated use `Evs$inboundSchema` instead. */
|
|
507
|
+
export const inboundSchema = Evs$inboundSchema;
|
|
508
|
+
/** @deprecated use `Evs$outboundSchema` instead. */
|
|
509
|
+
export const outboundSchema = Evs$outboundSchema;
|
|
510
|
+
/** @deprecated use `Evs$Outbound` instead. */
|
|
511
|
+
export type Outbound = Evs$Outbound;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export function evsToJSON(evs: Evs): string {
|
|
515
|
+
return JSON.stringify(Evs$outboundSchema.parse(evs));
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export function evsFromJSON(
|
|
519
|
+
jsonString: string,
|
|
520
|
+
): SafeParseResult<Evs, SDKValidationError> {
|
|
521
|
+
return safeParse(
|
|
522
|
+
jsonString,
|
|
523
|
+
(x) => Evs$inboundSchema.parse(JSON.parse(x)),
|
|
524
|
+
`Failed to parse 'Evs' from JSON`,
|
|
525
|
+
);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const CreateSharedEnvVariableRequestBodyType$inboundSchema:
|
|
530
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyType> = z.nativeEnum(
|
|
531
|
+
CreateSharedEnvVariableRequestBodyType,
|
|
532
|
+
);
|
|
533
|
+
|
|
534
|
+
/** @internal */
|
|
535
|
+
export const CreateSharedEnvVariableRequestBodyType$outboundSchema:
|
|
536
|
+
z.ZodNativeEnum<typeof CreateSharedEnvVariableRequestBodyType> =
|
|
537
|
+
CreateSharedEnvVariableRequestBodyType$inboundSchema;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @internal
|
|
541
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
542
|
+
*/
|
|
543
|
+
export namespace CreateSharedEnvVariableRequestBodyType$ {
|
|
544
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyType$inboundSchema` instead. */
|
|
545
|
+
export const inboundSchema =
|
|
546
|
+
CreateSharedEnvVariableRequestBodyType$inboundSchema;
|
|
547
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBodyType$outboundSchema` instead. */
|
|
548
|
+
export const outboundSchema =
|
|
549
|
+
CreateSharedEnvVariableRequestBodyType$outboundSchema;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/** @internal */
|
|
553
|
+
export const RequestBodyTarget$inboundSchema: z.ZodNativeEnum<
|
|
554
|
+
typeof RequestBodyTarget
|
|
555
|
+
> = z.nativeEnum(RequestBodyTarget);
|
|
556
|
+
|
|
557
|
+
/** @internal */
|
|
558
|
+
export const RequestBodyTarget$outboundSchema: z.ZodNativeEnum<
|
|
559
|
+
typeof RequestBodyTarget
|
|
560
|
+
> = RequestBodyTarget$inboundSchema;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @internal
|
|
564
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
565
|
+
*/
|
|
566
|
+
export namespace RequestBodyTarget$ {
|
|
567
|
+
/** @deprecated use `RequestBodyTarget$inboundSchema` instead. */
|
|
568
|
+
export const inboundSchema = RequestBodyTarget$inboundSchema;
|
|
569
|
+
/** @deprecated use `RequestBodyTarget$outboundSchema` instead. */
|
|
570
|
+
export const outboundSchema = RequestBodyTarget$outboundSchema;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** @internal */
|
|
574
|
+
export const CreateSharedEnvVariableRequestBody1$inboundSchema: z.ZodType<
|
|
575
|
+
CreateSharedEnvVariableRequestBody1,
|
|
576
|
+
z.ZodTypeDef,
|
|
577
|
+
unknown
|
|
578
|
+
> = z.object({
|
|
579
|
+
evs: z.array(z.lazy(() => Evs$inboundSchema)),
|
|
580
|
+
type: CreateSharedEnvVariableRequestBodyType$inboundSchema.optional(),
|
|
581
|
+
target: z.array(RequestBodyTarget$inboundSchema),
|
|
582
|
+
projectId: z.array(z.string()).optional(),
|
|
583
|
+
});
|
|
584
|
+
|
|
585
|
+
/** @internal */
|
|
586
|
+
export type CreateSharedEnvVariableRequestBody1$Outbound = {
|
|
587
|
+
evs: Array<Evs$Outbound>;
|
|
588
|
+
type?: string | undefined;
|
|
589
|
+
target: Array<string>;
|
|
590
|
+
projectId?: Array<string> | undefined;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
/** @internal */
|
|
594
|
+
export const CreateSharedEnvVariableRequestBody1$outboundSchema: z.ZodType<
|
|
595
|
+
CreateSharedEnvVariableRequestBody1$Outbound,
|
|
596
|
+
z.ZodTypeDef,
|
|
597
|
+
CreateSharedEnvVariableRequestBody1
|
|
598
|
+
> = z.object({
|
|
599
|
+
evs: z.array(z.lazy(() => Evs$outboundSchema)),
|
|
600
|
+
type: CreateSharedEnvVariableRequestBodyType$outboundSchema.optional(),
|
|
601
|
+
target: z.array(RequestBodyTarget$outboundSchema),
|
|
602
|
+
projectId: z.array(z.string()).optional(),
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @internal
|
|
607
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
608
|
+
*/
|
|
609
|
+
export namespace CreateSharedEnvVariableRequestBody1$ {
|
|
610
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody1$inboundSchema` instead. */
|
|
611
|
+
export const inboundSchema =
|
|
612
|
+
CreateSharedEnvVariableRequestBody1$inboundSchema;
|
|
613
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody1$outboundSchema` instead. */
|
|
614
|
+
export const outboundSchema =
|
|
615
|
+
CreateSharedEnvVariableRequestBody1$outboundSchema;
|
|
616
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody1$Outbound` instead. */
|
|
617
|
+
export type Outbound = CreateSharedEnvVariableRequestBody1$Outbound;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export function createSharedEnvVariableRequestBody1ToJSON(
|
|
621
|
+
createSharedEnvVariableRequestBody1: CreateSharedEnvVariableRequestBody1,
|
|
622
|
+
): string {
|
|
623
|
+
return JSON.stringify(
|
|
624
|
+
CreateSharedEnvVariableRequestBody1$outboundSchema.parse(
|
|
625
|
+
createSharedEnvVariableRequestBody1,
|
|
626
|
+
),
|
|
627
|
+
);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export function createSharedEnvVariableRequestBody1FromJSON(
|
|
631
|
+
jsonString: string,
|
|
632
|
+
): SafeParseResult<CreateSharedEnvVariableRequestBody1, SDKValidationError> {
|
|
633
|
+
return safeParse(
|
|
634
|
+
jsonString,
|
|
635
|
+
(x) =>
|
|
636
|
+
CreateSharedEnvVariableRequestBody1$inboundSchema.parse(JSON.parse(x)),
|
|
637
|
+
`Failed to parse 'CreateSharedEnvVariableRequestBody1' from JSON`,
|
|
638
|
+
);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/** @internal */
|
|
642
|
+
export const CreateSharedEnvVariableRequestBody$inboundSchema: z.ZodType<
|
|
643
|
+
CreateSharedEnvVariableRequestBody,
|
|
644
|
+
z.ZodTypeDef,
|
|
645
|
+
unknown
|
|
646
|
+
> = z.union([
|
|
647
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody1$inboundSchema),
|
|
648
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody2$inboundSchema),
|
|
649
|
+
]);
|
|
650
|
+
|
|
651
|
+
/** @internal */
|
|
652
|
+
export type CreateSharedEnvVariableRequestBody$Outbound =
|
|
653
|
+
| CreateSharedEnvVariableRequestBody1$Outbound
|
|
654
|
+
| CreateSharedEnvVariableRequestBody2$Outbound;
|
|
655
|
+
|
|
656
|
+
/** @internal */
|
|
657
|
+
export const CreateSharedEnvVariableRequestBody$outboundSchema: z.ZodType<
|
|
658
|
+
CreateSharedEnvVariableRequestBody$Outbound,
|
|
659
|
+
z.ZodTypeDef,
|
|
660
|
+
CreateSharedEnvVariableRequestBody
|
|
661
|
+
> = z.union([
|
|
662
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema),
|
|
663
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema),
|
|
664
|
+
]);
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @internal
|
|
668
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
669
|
+
*/
|
|
670
|
+
export namespace CreateSharedEnvVariableRequestBody$ {
|
|
671
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody$inboundSchema` instead. */
|
|
672
|
+
export const inboundSchema = CreateSharedEnvVariableRequestBody$inboundSchema;
|
|
673
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody$outboundSchema` instead. */
|
|
674
|
+
export const outboundSchema =
|
|
675
|
+
CreateSharedEnvVariableRequestBody$outboundSchema;
|
|
676
|
+
/** @deprecated use `CreateSharedEnvVariableRequestBody$Outbound` instead. */
|
|
677
|
+
export type Outbound = CreateSharedEnvVariableRequestBody$Outbound;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export function createSharedEnvVariableRequestBodyToJSON(
|
|
681
|
+
createSharedEnvVariableRequestBody: CreateSharedEnvVariableRequestBody,
|
|
682
|
+
): string {
|
|
683
|
+
return JSON.stringify(
|
|
684
|
+
CreateSharedEnvVariableRequestBody$outboundSchema.parse(
|
|
685
|
+
createSharedEnvVariableRequestBody,
|
|
686
|
+
),
|
|
687
|
+
);
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export function createSharedEnvVariableRequestBodyFromJSON(
|
|
691
|
+
jsonString: string,
|
|
692
|
+
): SafeParseResult<CreateSharedEnvVariableRequestBody, SDKValidationError> {
|
|
693
|
+
return safeParse(
|
|
694
|
+
jsonString,
|
|
695
|
+
(x) =>
|
|
696
|
+
CreateSharedEnvVariableRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
697
|
+
`Failed to parse 'CreateSharedEnvVariableRequestBody' from JSON`,
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/** @internal */
|
|
702
|
+
export const CreateSharedEnvVariableRequest$inboundSchema: z.ZodType<
|
|
703
|
+
CreateSharedEnvVariableRequest,
|
|
704
|
+
z.ZodTypeDef,
|
|
705
|
+
unknown
|
|
706
|
+
> = z.object({
|
|
707
|
+
teamId: z.string().optional(),
|
|
708
|
+
slug: z.string().optional(),
|
|
709
|
+
RequestBody: z.union([
|
|
710
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody1$inboundSchema),
|
|
711
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody2$inboundSchema),
|
|
712
|
+
]).optional(),
|
|
713
|
+
}).transform((v) => {
|
|
714
|
+
return remap$(v, {
|
|
715
|
+
"RequestBody": "requestBody",
|
|
716
|
+
});
|
|
717
|
+
});
|
|
718
|
+
|
|
719
|
+
/** @internal */
|
|
720
|
+
export type CreateSharedEnvVariableRequest$Outbound = {
|
|
721
|
+
teamId?: string | undefined;
|
|
722
|
+
slug?: string | undefined;
|
|
723
|
+
RequestBody?:
|
|
724
|
+
| CreateSharedEnvVariableRequestBody1$Outbound
|
|
725
|
+
| CreateSharedEnvVariableRequestBody2$Outbound
|
|
726
|
+
| undefined;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
/** @internal */
|
|
730
|
+
export const CreateSharedEnvVariableRequest$outboundSchema: z.ZodType<
|
|
731
|
+
CreateSharedEnvVariableRequest$Outbound,
|
|
732
|
+
z.ZodTypeDef,
|
|
733
|
+
CreateSharedEnvVariableRequest
|
|
734
|
+
> = z.object({
|
|
735
|
+
teamId: z.string().optional(),
|
|
736
|
+
slug: z.string().optional(),
|
|
737
|
+
requestBody: z.union([
|
|
738
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema),
|
|
739
|
+
z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema),
|
|
740
|
+
]).optional(),
|
|
741
|
+
}).transform((v) => {
|
|
742
|
+
return remap$(v, {
|
|
743
|
+
requestBody: "RequestBody",
|
|
744
|
+
});
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @internal
|
|
749
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
750
|
+
*/
|
|
751
|
+
export namespace CreateSharedEnvVariableRequest$ {
|
|
752
|
+
/** @deprecated use `CreateSharedEnvVariableRequest$inboundSchema` instead. */
|
|
753
|
+
export const inboundSchema = CreateSharedEnvVariableRequest$inboundSchema;
|
|
754
|
+
/** @deprecated use `CreateSharedEnvVariableRequest$outboundSchema` instead. */
|
|
755
|
+
export const outboundSchema = CreateSharedEnvVariableRequest$outboundSchema;
|
|
756
|
+
/** @deprecated use `CreateSharedEnvVariableRequest$Outbound` instead. */
|
|
757
|
+
export type Outbound = CreateSharedEnvVariableRequest$Outbound;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export function createSharedEnvVariableRequestToJSON(
|
|
761
|
+
createSharedEnvVariableRequest: CreateSharedEnvVariableRequest,
|
|
762
|
+
): string {
|
|
763
|
+
return JSON.stringify(
|
|
764
|
+
CreateSharedEnvVariableRequest$outboundSchema.parse(
|
|
765
|
+
createSharedEnvVariableRequest,
|
|
766
|
+
),
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export function createSharedEnvVariableRequestFromJSON(
|
|
771
|
+
jsonString: string,
|
|
772
|
+
): SafeParseResult<CreateSharedEnvVariableRequest, SDKValidationError> {
|
|
773
|
+
return safeParse(
|
|
774
|
+
jsonString,
|
|
775
|
+
(x) => CreateSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)),
|
|
776
|
+
`Failed to parse 'CreateSharedEnvVariableRequest' from JSON`,
|
|
777
|
+
);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
/** @internal */
|
|
781
|
+
export const CreateSharedEnvVariableType$inboundSchema: z.ZodNativeEnum<
|
|
782
|
+
typeof CreateSharedEnvVariableType
|
|
783
|
+
> = z.nativeEnum(CreateSharedEnvVariableType);
|
|
784
|
+
|
|
785
|
+
/** @internal */
|
|
786
|
+
export const CreateSharedEnvVariableType$outboundSchema: z.ZodNativeEnum<
|
|
787
|
+
typeof CreateSharedEnvVariableType
|
|
788
|
+
> = CreateSharedEnvVariableType$inboundSchema;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @internal
|
|
792
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
793
|
+
*/
|
|
794
|
+
export namespace CreateSharedEnvVariableType$ {
|
|
795
|
+
/** @deprecated use `CreateSharedEnvVariableType$inboundSchema` instead. */
|
|
796
|
+
export const inboundSchema = CreateSharedEnvVariableType$inboundSchema;
|
|
797
|
+
/** @deprecated use `CreateSharedEnvVariableType$outboundSchema` instead. */
|
|
798
|
+
export const outboundSchema = CreateSharedEnvVariableType$outboundSchema;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/** @internal */
|
|
802
|
+
export const CreateSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum<
|
|
803
|
+
typeof CreateSharedEnvVariableTarget
|
|
804
|
+
> = z.nativeEnum(CreateSharedEnvVariableTarget);
|
|
805
|
+
|
|
806
|
+
/** @internal */
|
|
807
|
+
export const CreateSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum<
|
|
808
|
+
typeof CreateSharedEnvVariableTarget
|
|
809
|
+
> = CreateSharedEnvVariableTarget$inboundSchema;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @internal
|
|
813
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
814
|
+
*/
|
|
815
|
+
export namespace CreateSharedEnvVariableTarget$ {
|
|
816
|
+
/** @deprecated use `CreateSharedEnvVariableTarget$inboundSchema` instead. */
|
|
817
|
+
export const inboundSchema = CreateSharedEnvVariableTarget$inboundSchema;
|
|
818
|
+
/** @deprecated use `CreateSharedEnvVariableTarget$outboundSchema` instead. */
|
|
819
|
+
export const outboundSchema = CreateSharedEnvVariableTarget$outboundSchema;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/** @internal */
|
|
823
|
+
export const Created$inboundSchema: z.ZodType<Created, z.ZodTypeDef, unknown> =
|
|
824
|
+
z.object({
|
|
825
|
+
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
826
|
+
.optional(),
|
|
827
|
+
key: z.string().optional(),
|
|
828
|
+
ownerId: z.nullable(z.string()).optional(),
|
|
829
|
+
id: z.string().optional(),
|
|
830
|
+
createdBy: z.nullable(z.string()).optional(),
|
|
831
|
+
deletedBy: z.nullable(z.string()).optional(),
|
|
832
|
+
updatedBy: z.nullable(z.string()).optional(),
|
|
833
|
+
createdAt: z.number().optional(),
|
|
834
|
+
deletedAt: z.number().optional(),
|
|
835
|
+
updatedAt: z.number().optional(),
|
|
836
|
+
value: z.string().optional(),
|
|
837
|
+
projectId: z.array(z.string()).optional(),
|
|
838
|
+
type: CreateSharedEnvVariableType$inboundSchema.optional(),
|
|
839
|
+
target: z.array(CreateSharedEnvVariableTarget$inboundSchema).optional(),
|
|
840
|
+
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
841
|
+
decrypted: z.boolean().optional(),
|
|
842
|
+
comment: z.string().optional(),
|
|
843
|
+
lastEditedByDisplayName: z.string().optional(),
|
|
844
|
+
});
|
|
845
|
+
|
|
846
|
+
/** @internal */
|
|
847
|
+
export type Created$Outbound = {
|
|
848
|
+
created?: string | undefined;
|
|
849
|
+
key?: string | undefined;
|
|
850
|
+
ownerId?: string | null | undefined;
|
|
851
|
+
id?: string | undefined;
|
|
852
|
+
createdBy?: string | null | undefined;
|
|
853
|
+
deletedBy?: string | null | undefined;
|
|
854
|
+
updatedBy?: string | null | undefined;
|
|
855
|
+
createdAt?: number | undefined;
|
|
856
|
+
deletedAt?: number | undefined;
|
|
857
|
+
updatedAt?: number | undefined;
|
|
858
|
+
value?: string | undefined;
|
|
859
|
+
projectId?: Array<string> | undefined;
|
|
860
|
+
type?: string | undefined;
|
|
861
|
+
target?: Array<string> | undefined;
|
|
862
|
+
applyToAllCustomEnvironments?: boolean | undefined;
|
|
863
|
+
decrypted?: boolean | undefined;
|
|
864
|
+
comment?: string | undefined;
|
|
865
|
+
lastEditedByDisplayName?: string | undefined;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/** @internal */
|
|
869
|
+
export const Created$outboundSchema: z.ZodType<
|
|
870
|
+
Created$Outbound,
|
|
871
|
+
z.ZodTypeDef,
|
|
872
|
+
Created
|
|
873
|
+
> = z.object({
|
|
874
|
+
created: z.date().transform(v => v.toISOString()).optional(),
|
|
875
|
+
key: z.string().optional(),
|
|
876
|
+
ownerId: z.nullable(z.string()).optional(),
|
|
877
|
+
id: z.string().optional(),
|
|
878
|
+
createdBy: z.nullable(z.string()).optional(),
|
|
879
|
+
deletedBy: z.nullable(z.string()).optional(),
|
|
880
|
+
updatedBy: z.nullable(z.string()).optional(),
|
|
881
|
+
createdAt: z.number().optional(),
|
|
882
|
+
deletedAt: z.number().optional(),
|
|
883
|
+
updatedAt: z.number().optional(),
|
|
884
|
+
value: z.string().optional(),
|
|
885
|
+
projectId: z.array(z.string()).optional(),
|
|
886
|
+
type: CreateSharedEnvVariableType$outboundSchema.optional(),
|
|
887
|
+
target: z.array(CreateSharedEnvVariableTarget$outboundSchema).optional(),
|
|
888
|
+
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
889
|
+
decrypted: z.boolean().optional(),
|
|
890
|
+
comment: z.string().optional(),
|
|
891
|
+
lastEditedByDisplayName: z.string().optional(),
|
|
892
|
+
});
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* @internal
|
|
896
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
897
|
+
*/
|
|
898
|
+
export namespace Created$ {
|
|
899
|
+
/** @deprecated use `Created$inboundSchema` instead. */
|
|
900
|
+
export const inboundSchema = Created$inboundSchema;
|
|
901
|
+
/** @deprecated use `Created$outboundSchema` instead. */
|
|
902
|
+
export const outboundSchema = Created$outboundSchema;
|
|
903
|
+
/** @deprecated use `Created$Outbound` instead. */
|
|
904
|
+
export type Outbound = Created$Outbound;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export function createdToJSON(created: Created): string {
|
|
908
|
+
return JSON.stringify(Created$outboundSchema.parse(created));
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
export function createdFromJSON(
|
|
912
|
+
jsonString: string,
|
|
913
|
+
): SafeParseResult<Created, SDKValidationError> {
|
|
914
|
+
return safeParse(
|
|
915
|
+
jsonString,
|
|
916
|
+
(x) => Created$inboundSchema.parse(JSON.parse(x)),
|
|
917
|
+
`Failed to parse 'Created' from JSON`,
|
|
918
|
+
);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** @internal */
|
|
922
|
+
export const Value2$inboundSchema: z.ZodNativeEnum<typeof Value2> = z
|
|
923
|
+
.nativeEnum(Value2);
|
|
924
|
+
|
|
925
|
+
/** @internal */
|
|
926
|
+
export const Value2$outboundSchema: z.ZodNativeEnum<typeof Value2> =
|
|
927
|
+
Value2$inboundSchema;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @internal
|
|
931
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
932
|
+
*/
|
|
933
|
+
export namespace Value2$ {
|
|
934
|
+
/** @deprecated use `Value2$inboundSchema` instead. */
|
|
935
|
+
export const inboundSchema = Value2$inboundSchema;
|
|
936
|
+
/** @deprecated use `Value2$outboundSchema` instead. */
|
|
937
|
+
export const outboundSchema = Value2$outboundSchema;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
/** @internal */
|
|
941
|
+
export const CreateSharedEnvVariableValue$inboundSchema: z.ZodType<
|
|
942
|
+
CreateSharedEnvVariableValue,
|
|
943
|
+
z.ZodTypeDef,
|
|
944
|
+
unknown
|
|
945
|
+
> = z.union([z.string(), z.array(Value2$inboundSchema)]);
|
|
946
|
+
|
|
947
|
+
/** @internal */
|
|
948
|
+
export type CreateSharedEnvVariableValue$Outbound = string | Array<string>;
|
|
949
|
+
|
|
950
|
+
/** @internal */
|
|
951
|
+
export const CreateSharedEnvVariableValue$outboundSchema: z.ZodType<
|
|
952
|
+
CreateSharedEnvVariableValue$Outbound,
|
|
953
|
+
z.ZodTypeDef,
|
|
954
|
+
CreateSharedEnvVariableValue
|
|
955
|
+
> = z.union([z.string(), z.array(Value2$outboundSchema)]);
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @internal
|
|
959
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
960
|
+
*/
|
|
961
|
+
export namespace CreateSharedEnvVariableValue$ {
|
|
962
|
+
/** @deprecated use `CreateSharedEnvVariableValue$inboundSchema` instead. */
|
|
963
|
+
export const inboundSchema = CreateSharedEnvVariableValue$inboundSchema;
|
|
964
|
+
/** @deprecated use `CreateSharedEnvVariableValue$outboundSchema` instead. */
|
|
965
|
+
export const outboundSchema = CreateSharedEnvVariableValue$outboundSchema;
|
|
966
|
+
/** @deprecated use `CreateSharedEnvVariableValue$Outbound` instead. */
|
|
967
|
+
export type Outbound = CreateSharedEnvVariableValue$Outbound;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export function createSharedEnvVariableValueToJSON(
|
|
971
|
+
createSharedEnvVariableValue: CreateSharedEnvVariableValue,
|
|
972
|
+
): string {
|
|
973
|
+
return JSON.stringify(
|
|
974
|
+
CreateSharedEnvVariableValue$outboundSchema.parse(
|
|
975
|
+
createSharedEnvVariableValue,
|
|
976
|
+
),
|
|
977
|
+
);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export function createSharedEnvVariableValueFromJSON(
|
|
981
|
+
jsonString: string,
|
|
982
|
+
): SafeParseResult<CreateSharedEnvVariableValue, SDKValidationError> {
|
|
983
|
+
return safeParse(
|
|
984
|
+
jsonString,
|
|
985
|
+
(x) => CreateSharedEnvVariableValue$inboundSchema.parse(JSON.parse(x)),
|
|
986
|
+
`Failed to parse 'CreateSharedEnvVariableValue' from JSON`,
|
|
987
|
+
);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/** @internal */
|
|
991
|
+
export const CreateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum<
|
|
992
|
+
typeof CreateSharedEnvVariableTarget2
|
|
993
|
+
> = z.nativeEnum(CreateSharedEnvVariableTarget2);
|
|
994
|
+
|
|
995
|
+
/** @internal */
|
|
996
|
+
export const CreateSharedEnvVariableTarget2$outboundSchema: z.ZodNativeEnum<
|
|
997
|
+
typeof CreateSharedEnvVariableTarget2
|
|
998
|
+
> = CreateSharedEnvVariableTarget2$inboundSchema;
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* @internal
|
|
1002
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1003
|
+
*/
|
|
1004
|
+
export namespace CreateSharedEnvVariableTarget2$ {
|
|
1005
|
+
/** @deprecated use `CreateSharedEnvVariableTarget2$inboundSchema` instead. */
|
|
1006
|
+
export const inboundSchema = CreateSharedEnvVariableTarget2$inboundSchema;
|
|
1007
|
+
/** @deprecated use `CreateSharedEnvVariableTarget2$outboundSchema` instead. */
|
|
1008
|
+
export const outboundSchema = CreateSharedEnvVariableTarget2$outboundSchema;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** @internal */
|
|
1012
|
+
export const CreateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum<
|
|
1013
|
+
typeof CreateSharedEnvVariableTarget1
|
|
1014
|
+
> = z.nativeEnum(CreateSharedEnvVariableTarget1);
|
|
1015
|
+
|
|
1016
|
+
/** @internal */
|
|
1017
|
+
export const CreateSharedEnvVariableTarget1$outboundSchema: z.ZodNativeEnum<
|
|
1018
|
+
typeof CreateSharedEnvVariableTarget1
|
|
1019
|
+
> = CreateSharedEnvVariableTarget1$inboundSchema;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* @internal
|
|
1023
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1024
|
+
*/
|
|
1025
|
+
export namespace CreateSharedEnvVariableTarget1$ {
|
|
1026
|
+
/** @deprecated use `CreateSharedEnvVariableTarget1$inboundSchema` instead. */
|
|
1027
|
+
export const inboundSchema = CreateSharedEnvVariableTarget1$inboundSchema;
|
|
1028
|
+
/** @deprecated use `CreateSharedEnvVariableTarget1$outboundSchema` instead. */
|
|
1029
|
+
export const outboundSchema = CreateSharedEnvVariableTarget1$outboundSchema;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/** @internal */
|
|
1033
|
+
export const CreateSharedEnvVariableEnvironmentTarget$inboundSchema: z.ZodType<
|
|
1034
|
+
CreateSharedEnvVariableEnvironmentTarget,
|
|
1035
|
+
z.ZodTypeDef,
|
|
1036
|
+
unknown
|
|
1037
|
+
> = z.union([
|
|
1038
|
+
z.array(CreateSharedEnvVariableTarget1$inboundSchema),
|
|
1039
|
+
CreateSharedEnvVariableTarget2$inboundSchema,
|
|
1040
|
+
]);
|
|
1041
|
+
|
|
1042
|
+
/** @internal */
|
|
1043
|
+
export type CreateSharedEnvVariableEnvironmentTarget$Outbound =
|
|
1044
|
+
| Array<string>
|
|
1045
|
+
| string;
|
|
1046
|
+
|
|
1047
|
+
/** @internal */
|
|
1048
|
+
export const CreateSharedEnvVariableEnvironmentTarget$outboundSchema: z.ZodType<
|
|
1049
|
+
CreateSharedEnvVariableEnvironmentTarget$Outbound,
|
|
1050
|
+
z.ZodTypeDef,
|
|
1051
|
+
CreateSharedEnvVariableEnvironmentTarget
|
|
1052
|
+
> = z.union([
|
|
1053
|
+
z.array(CreateSharedEnvVariableTarget1$outboundSchema),
|
|
1054
|
+
CreateSharedEnvVariableTarget2$outboundSchema,
|
|
1055
|
+
]);
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* @internal
|
|
1059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1060
|
+
*/
|
|
1061
|
+
export namespace CreateSharedEnvVariableEnvironmentTarget$ {
|
|
1062
|
+
/** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$inboundSchema` instead. */
|
|
1063
|
+
export const inboundSchema =
|
|
1064
|
+
CreateSharedEnvVariableEnvironmentTarget$inboundSchema;
|
|
1065
|
+
/** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$outboundSchema` instead. */
|
|
1066
|
+
export const outboundSchema =
|
|
1067
|
+
CreateSharedEnvVariableEnvironmentTarget$outboundSchema;
|
|
1068
|
+
/** @deprecated use `CreateSharedEnvVariableEnvironmentTarget$Outbound` instead. */
|
|
1069
|
+
export type Outbound = CreateSharedEnvVariableEnvironmentTarget$Outbound;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
export function createSharedEnvVariableEnvironmentTargetToJSON(
|
|
1073
|
+
createSharedEnvVariableEnvironmentTarget:
|
|
1074
|
+
CreateSharedEnvVariableEnvironmentTarget,
|
|
1075
|
+
): string {
|
|
1076
|
+
return JSON.stringify(
|
|
1077
|
+
CreateSharedEnvVariableEnvironmentTarget$outboundSchema.parse(
|
|
1078
|
+
createSharedEnvVariableEnvironmentTarget,
|
|
1079
|
+
),
|
|
1080
|
+
);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export function createSharedEnvVariableEnvironmentTargetFromJSON(
|
|
1084
|
+
jsonString: string,
|
|
1085
|
+
): SafeParseResult<
|
|
1086
|
+
CreateSharedEnvVariableEnvironmentTarget,
|
|
1087
|
+
SDKValidationError
|
|
1088
|
+
> {
|
|
1089
|
+
return safeParse(
|
|
1090
|
+
jsonString,
|
|
1091
|
+
(x) =>
|
|
1092
|
+
CreateSharedEnvVariableEnvironmentTarget$inboundSchema.parse(
|
|
1093
|
+
JSON.parse(x),
|
|
1094
|
+
),
|
|
1095
|
+
`Failed to parse 'CreateSharedEnvVariableEnvironmentTarget' from JSON`,
|
|
1096
|
+
);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/** @internal */
|
|
1100
|
+
export const CreateSharedEnvVariableError$inboundSchema: z.ZodType<
|
|
1101
|
+
CreateSharedEnvVariableError,
|
|
1102
|
+
z.ZodTypeDef,
|
|
1103
|
+
unknown
|
|
1104
|
+
> = z.object({
|
|
1105
|
+
code: z.string(),
|
|
1106
|
+
message: z.string(),
|
|
1107
|
+
key: z.string().optional(),
|
|
1108
|
+
envVarId: z.string().optional(),
|
|
1109
|
+
envVarKey: z.string().optional(),
|
|
1110
|
+
action: z.string().optional(),
|
|
1111
|
+
link: z.string().optional(),
|
|
1112
|
+
value: z.union([z.string(), z.array(Value2$inboundSchema)]).optional(),
|
|
1113
|
+
gitBranch: z.string().optional(),
|
|
1114
|
+
target: z.union([
|
|
1115
|
+
z.array(CreateSharedEnvVariableTarget1$inboundSchema),
|
|
1116
|
+
CreateSharedEnvVariableTarget2$inboundSchema,
|
|
1117
|
+
]).optional(),
|
|
1118
|
+
project: z.string().optional(),
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
/** @internal */
|
|
1122
|
+
export type CreateSharedEnvVariableError$Outbound = {
|
|
1123
|
+
code: string;
|
|
1124
|
+
message: string;
|
|
1125
|
+
key?: string | undefined;
|
|
1126
|
+
envVarId?: string | undefined;
|
|
1127
|
+
envVarKey?: string | undefined;
|
|
1128
|
+
action?: string | undefined;
|
|
1129
|
+
link?: string | undefined;
|
|
1130
|
+
value?: string | Array<string> | undefined;
|
|
1131
|
+
gitBranch?: string | undefined;
|
|
1132
|
+
target?: Array<string> | string | undefined;
|
|
1133
|
+
project?: string | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export const CreateSharedEnvVariableError$outboundSchema: z.ZodType<
|
|
1138
|
+
CreateSharedEnvVariableError$Outbound,
|
|
1139
|
+
z.ZodTypeDef,
|
|
1140
|
+
CreateSharedEnvVariableError
|
|
1141
|
+
> = z.object({
|
|
1142
|
+
code: z.string(),
|
|
1143
|
+
message: z.string(),
|
|
1144
|
+
key: z.string().optional(),
|
|
1145
|
+
envVarId: z.string().optional(),
|
|
1146
|
+
envVarKey: z.string().optional(),
|
|
1147
|
+
action: z.string().optional(),
|
|
1148
|
+
link: z.string().optional(),
|
|
1149
|
+
value: z.union([z.string(), z.array(Value2$outboundSchema)]).optional(),
|
|
1150
|
+
gitBranch: z.string().optional(),
|
|
1151
|
+
target: z.union([
|
|
1152
|
+
z.array(CreateSharedEnvVariableTarget1$outboundSchema),
|
|
1153
|
+
CreateSharedEnvVariableTarget2$outboundSchema,
|
|
1154
|
+
]).optional(),
|
|
1155
|
+
project: z.string().optional(),
|
|
1156
|
+
});
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* @internal
|
|
1160
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1161
|
+
*/
|
|
1162
|
+
export namespace CreateSharedEnvVariableError$ {
|
|
1163
|
+
/** @deprecated use `CreateSharedEnvVariableError$inboundSchema` instead. */
|
|
1164
|
+
export const inboundSchema = CreateSharedEnvVariableError$inboundSchema;
|
|
1165
|
+
/** @deprecated use `CreateSharedEnvVariableError$outboundSchema` instead. */
|
|
1166
|
+
export const outboundSchema = CreateSharedEnvVariableError$outboundSchema;
|
|
1167
|
+
/** @deprecated use `CreateSharedEnvVariableError$Outbound` instead. */
|
|
1168
|
+
export type Outbound = CreateSharedEnvVariableError$Outbound;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
export function createSharedEnvVariableErrorToJSON(
|
|
1172
|
+
createSharedEnvVariableError: CreateSharedEnvVariableError,
|
|
1173
|
+
): string {
|
|
1174
|
+
return JSON.stringify(
|
|
1175
|
+
CreateSharedEnvVariableError$outboundSchema.parse(
|
|
1176
|
+
createSharedEnvVariableError,
|
|
1177
|
+
),
|
|
1178
|
+
);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export function createSharedEnvVariableErrorFromJSON(
|
|
1182
|
+
jsonString: string,
|
|
1183
|
+
): SafeParseResult<CreateSharedEnvVariableError, SDKValidationError> {
|
|
1184
|
+
return safeParse(
|
|
1185
|
+
jsonString,
|
|
1186
|
+
(x) => CreateSharedEnvVariableError$inboundSchema.parse(JSON.parse(x)),
|
|
1187
|
+
`Failed to parse 'CreateSharedEnvVariableError' from JSON`,
|
|
1188
|
+
);
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/** @internal */
|
|
1192
|
+
export const Failed$inboundSchema: z.ZodType<Failed, z.ZodTypeDef, unknown> = z
|
|
1193
|
+
.object({
|
|
1194
|
+
error: z.lazy(() => CreateSharedEnvVariableError$inboundSchema),
|
|
1195
|
+
});
|
|
1196
|
+
|
|
1197
|
+
/** @internal */
|
|
1198
|
+
export type Failed$Outbound = {
|
|
1199
|
+
error: CreateSharedEnvVariableError$Outbound;
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export const Failed$outboundSchema: z.ZodType<
|
|
1204
|
+
Failed$Outbound,
|
|
1205
|
+
z.ZodTypeDef,
|
|
1206
|
+
Failed
|
|
1207
|
+
> = z.object({
|
|
1208
|
+
error: z.lazy(() => CreateSharedEnvVariableError$outboundSchema),
|
|
1209
|
+
});
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1214
|
+
*/
|
|
1215
|
+
export namespace Failed$ {
|
|
1216
|
+
/** @deprecated use `Failed$inboundSchema` instead. */
|
|
1217
|
+
export const inboundSchema = Failed$inboundSchema;
|
|
1218
|
+
/** @deprecated use `Failed$outboundSchema` instead. */
|
|
1219
|
+
export const outboundSchema = Failed$outboundSchema;
|
|
1220
|
+
/** @deprecated use `Failed$Outbound` instead. */
|
|
1221
|
+
export type Outbound = Failed$Outbound;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export function failedToJSON(failed: Failed): string {
|
|
1225
|
+
return JSON.stringify(Failed$outboundSchema.parse(failed));
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
export function failedFromJSON(
|
|
1229
|
+
jsonString: string,
|
|
1230
|
+
): SafeParseResult<Failed, SDKValidationError> {
|
|
1231
|
+
return safeParse(
|
|
1232
|
+
jsonString,
|
|
1233
|
+
(x) => Failed$inboundSchema.parse(JSON.parse(x)),
|
|
1234
|
+
`Failed to parse 'Failed' from JSON`,
|
|
1235
|
+
);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** @internal */
|
|
1239
|
+
export const CreateSharedEnvVariableResponseBody$inboundSchema: z.ZodType<
|
|
1240
|
+
CreateSharedEnvVariableResponseBody,
|
|
1241
|
+
z.ZodTypeDef,
|
|
1242
|
+
unknown
|
|
1243
|
+
> = z.object({
|
|
1244
|
+
created: z.array(z.lazy(() => Created$inboundSchema)),
|
|
1245
|
+
failed: z.array(z.lazy(() => Failed$inboundSchema)),
|
|
1246
|
+
});
|
|
1247
|
+
|
|
1248
|
+
/** @internal */
|
|
1249
|
+
export type CreateSharedEnvVariableResponseBody$Outbound = {
|
|
1250
|
+
created: Array<Created$Outbound>;
|
|
1251
|
+
failed: Array<Failed$Outbound>;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
/** @internal */
|
|
1255
|
+
export const CreateSharedEnvVariableResponseBody$outboundSchema: z.ZodType<
|
|
1256
|
+
CreateSharedEnvVariableResponseBody$Outbound,
|
|
1257
|
+
z.ZodTypeDef,
|
|
1258
|
+
CreateSharedEnvVariableResponseBody
|
|
1259
|
+
> = z.object({
|
|
1260
|
+
created: z.array(z.lazy(() => Created$outboundSchema)),
|
|
1261
|
+
failed: z.array(z.lazy(() => Failed$outboundSchema)),
|
|
1262
|
+
});
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* @internal
|
|
1266
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1267
|
+
*/
|
|
1268
|
+
export namespace CreateSharedEnvVariableResponseBody$ {
|
|
1269
|
+
/** @deprecated use `CreateSharedEnvVariableResponseBody$inboundSchema` instead. */
|
|
1270
|
+
export const inboundSchema =
|
|
1271
|
+
CreateSharedEnvVariableResponseBody$inboundSchema;
|
|
1272
|
+
/** @deprecated use `CreateSharedEnvVariableResponseBody$outboundSchema` instead. */
|
|
1273
|
+
export const outboundSchema =
|
|
1274
|
+
CreateSharedEnvVariableResponseBody$outboundSchema;
|
|
1275
|
+
/** @deprecated use `CreateSharedEnvVariableResponseBody$Outbound` instead. */
|
|
1276
|
+
export type Outbound = CreateSharedEnvVariableResponseBody$Outbound;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export function createSharedEnvVariableResponseBodyToJSON(
|
|
1280
|
+
createSharedEnvVariableResponseBody: CreateSharedEnvVariableResponseBody,
|
|
1281
|
+
): string {
|
|
1282
|
+
return JSON.stringify(
|
|
1283
|
+
CreateSharedEnvVariableResponseBody$outboundSchema.parse(
|
|
1284
|
+
createSharedEnvVariableResponseBody,
|
|
1285
|
+
),
|
|
1286
|
+
);
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
export function createSharedEnvVariableResponseBodyFromJSON(
|
|
1290
|
+
jsonString: string,
|
|
1291
|
+
): SafeParseResult<CreateSharedEnvVariableResponseBody, SDKValidationError> {
|
|
1292
|
+
return safeParse(
|
|
1293
|
+
jsonString,
|
|
1294
|
+
(x) =>
|
|
1295
|
+
CreateSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
1296
|
+
`Failed to parse 'CreateSharedEnvVariableResponseBody' from JSON`,
|
|
1297
|
+
);
|
|
1298
|
+
}
|