@vercel/sdk 1.10.0 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +3601 -3879
- package/bin/mcp-server.js.map +59 -59
- package/docs/sdks/accessgroups/README.md +11 -0
- package/docs/sdks/aliases/README.md +7 -1
- package/docs/sdks/artifacts/README.md +6 -0
- package/docs/sdks/authentication/README.md +5 -0
- package/docs/sdks/certs/README.md +4 -0
- package/docs/sdks/checks/README.md +5 -0
- package/docs/sdks/deployments/README.md +18 -0
- package/docs/sdks/dns/README.md +4 -0
- package/docs/sdks/domains/README.md +10 -0
- package/docs/sdks/edgeconfig/README.md +17 -0
- package/docs/sdks/environment/README.md +5 -0
- package/docs/sdks/integrations/README.md +4 -0
- package/docs/sdks/logdrains/README.md +3 -0
- package/docs/sdks/logs/README.md +1 -0
- package/docs/sdks/marketplace/README.md +20 -0
- package/docs/sdks/projectmembers/README.md +3 -0
- package/docs/sdks/projects/README.md +24 -0
- package/docs/sdks/rollingrelease/README.md +7 -0
- package/docs/sdks/security/README.md +8 -0
- package/docs/sdks/teams/README.md +13 -0
- package/docs/sdks/user/README.md +3 -0
- package/docs/sdks/webhooks/README.md +4 -0
- package/esm/__tests__/aliases.test.js +16 -16
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/security.test.js +13 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +2 -2
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +3 -2
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/checksRerequestCheck.js +1 -0
- package/esm/funcs/checksRerequestCheck.js.map +1 -1
- package/esm/funcs/domainsBuyDomain.js +2 -2
- package/esm/funcs/domainsBuyDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +2 -2
- package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
- package/esm/funcs/domainsPatchDomain.js +2 -2
- package/esm/funcs/domainsPatchDomain.js.map +1 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigItems.js +2 -3
- package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
- package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
- package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +2 -2
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/teamsPatchTeam.js +2 -2
- package/esm/funcs/teamsPatchTeam.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.js +1 -1
- package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +176 -2
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/addbypassipop.d.ts +38 -38
- package/esm/models/addbypassipop.d.ts.map +1 -1
- package/esm/models/addbypassipop.js +44 -42
- package/esm/models/addbypassipop.js.map +1 -1
- package/esm/models/authtoken.d.ts +10 -4
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +6 -4
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/authuser.d.ts +54 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +34 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +385 -148
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +363 -148
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createcustomenvironmentop.d.ts +3 -3
- package/esm/models/createcustomenvironmentop.js +1 -1
- package/esm/models/createcustomenvironmentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +604 -344
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +501 -274
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +2 -2
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +2 -2
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +378 -797
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +344 -718
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +4 -4
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +4 -4
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +0 -555
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +0 -449
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getbypassipop.d.ts +55 -179
- package/esm/models/getbypassipop.d.ts.map +1 -1
- package/esm/models/getbypassipop.js +59 -221
- package/esm/models/getbypassipop.js.map +1 -1
- package/esm/models/getcustomenvironmentop.d.ts +3 -3
- package/esm/models/getcustomenvironmentop.js +1 -1
- package/esm/models/getcustomenvironmentop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +847 -366
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +772 -332
- 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/getfirewallconfigop.d.ts +3 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +1 -0
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +4 -2
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getprojectmembersop.d.ts +3 -0
- package/esm/models/getprojectmembersop.d.ts.map +1 -1
- package/esm/models/getprojectmembersop.js +1 -0
- package/esm/models/getprojectmembersop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +218 -643
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +197 -573
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrecordsop.d.ts +8 -0
- package/esm/models/getrecordsop.d.ts.map +1 -1
- package/esm/models/getrecordsop.js +8 -0
- package/esm/models/getrecordsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +6 -0
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +2 -0
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +15 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +5 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +33 -0
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +11 -0
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/listaccessgroupmembersop.d.ts +3 -0
- package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
- package/esm/models/listaccessgroupmembersop.js +1 -0
- package/esm/models/listaccessgroupmembersop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +141 -39
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +132 -35
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +30 -30
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +34 -34
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
- package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
- package/esm/models/patchedgeconfigitemsop.js +0 -4
- package/esm/models/patchedgeconfigitemsop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +185 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +132 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +3 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +1 -0
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/removecustomenvironmentop.d.ts +3 -3
- package/esm/models/removecustomenvironmentop.js +1 -1
- package/esm/models/removecustomenvironmentop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/rerequestcheckop.d.ts +5 -0
- package/esm/models/rerequestcheckop.d.ts.map +1 -1
- package/esm/models/rerequestcheckop.js +2 -0
- package/esm/models/rerequestcheckop.js.map +1 -1
- package/esm/models/team.d.ts +142 -0
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +111 -0
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +15 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +5 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updatecustomenvironmentop.d.ts +3 -3
- package/esm/models/updatecustomenvironmentop.js +1 -1
- package/esm/models/updatecustomenvironmentop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +226 -651
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +209 -604
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +221 -643
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +198 -573
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +1629 -1433
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2023 -1841
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/aliases.d.ts +2 -2
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/examples/README.md +5 -0
- package/examples/package-lock.json +8 -7
- package/examples/projectsUpdateProject.example.ts +2 -0
- package/jsr.json +1 -1
- package/package.json +6 -8
- package/src/__tests__/aliases.test.ts +16 -16
- package/src/__tests__/security.test.ts +13 -1
- package/src/funcs/aliasesGetAlias.ts +5 -6
- package/src/funcs/checksRerequestCheck.ts +1 -0
- package/src/funcs/domainsBuyDomain.ts +2 -2
- package/src/funcs/domainsGetDomainConfig.ts +2 -2
- package/src/funcs/domainsPatchDomain.ts +2 -2
- package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
- package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
- package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
- package/src/funcs/projectsCreateProject.ts +2 -2
- package/src/funcs/teamsPatchTeam.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/acceptprojecttransferrequestop.ts +449 -4
- package/src/models/addbypassipop.ts +69 -78
- package/src/models/authtoken.ts +10 -8
- package/src/models/authuser.ts +93 -0
- package/src/models/canceldeploymentop.ts +734 -295
- package/src/models/createcustomenvironmentop.ts +1 -1
- package/src/models/createdeploymentop.ts +1122 -641
- package/src/models/createlogdrainop.ts +4 -4
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +734 -1475
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/exchangessotokenop.ts +8 -8
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getaliasop.ts +0 -1042
- package/src/models/getbypassipop.ts +100 -404
- package/src/models/getcustomenvironmentop.ts +1 -1
- package/src/models/getdeploymentop.ts +1761 -780
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getfirewallconfigop.ts +1 -0
- package/src/models/getintegrationlogdrainsop.ts +6 -4
- package/src/models/getprojectmembersop.ts +1 -0
- package/src/models/getprojectsop.ts +612 -1335
- package/src/models/getrecordsop.ts +16 -0
- package/src/models/getteammembersop.ts +2 -0
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +5 -0
- package/src/models/inviteusertoteamop.ts +11 -0
- package/src/models/listaccessgroupmembersop.ts +1 -0
- package/src/models/listaliasesop.ts +290 -74
- package/src/models/listdeploymentaliasesop.ts +58 -70
- package/src/models/patchedgeconfigitemsop.ts +0 -8
- package/src/models/patchteamop.ts +311 -0
- package/src/models/putfirewallconfigop.ts +1 -0
- package/src/models/removecustomenvironmentop.ts +1 -1
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/rerequestcheckop.ts +7 -0
- package/src/models/team.ts +240 -0
- package/src/models/teamlimited.ts +5 -0
- package/src/models/updatecustomenvironmentop.ts +1 -1
- package/src/models/updateprojectdatacacheop.ts +684 -1411
- package/src/models/updateprojectop.ts +601 -1343
- package/src/models/userevent.ts +3615 -3202
- package/src/sdk/aliases.ts +2 -2
- package/temp/example.ts +11 -0
- package/vercel-spec.json +2337 -2625
|
@@ -38,73 +38,39 @@ export type GetBypassIpRequest = {
|
|
|
38
38
|
slug?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
export const
|
|
41
|
+
export const GetBypassIpAction = {
|
|
42
42
|
Block: "block",
|
|
43
43
|
Bypass: "bypass",
|
|
44
44
|
} as const;
|
|
45
|
-
export type
|
|
46
|
-
typeof GetBypassIpResponseBodyAction
|
|
47
|
-
>;
|
|
45
|
+
export type GetBypassIpAction = ClosedEnum<typeof GetBypassIpAction>;
|
|
48
46
|
|
|
49
|
-
export type
|
|
50
|
-
ownerId
|
|
51
|
-
id
|
|
52
|
-
domain
|
|
53
|
-
ip
|
|
54
|
-
action?:
|
|
47
|
+
export type GetBypassIpResult = {
|
|
48
|
+
ownerId: string;
|
|
49
|
+
id: string;
|
|
50
|
+
domain: string;
|
|
51
|
+
ip: string;
|
|
52
|
+
action?: GetBypassIpAction | undefined;
|
|
55
53
|
projectId?: string | undefined;
|
|
56
54
|
isProjectRule?: boolean | undefined;
|
|
57
55
|
note?: string | undefined;
|
|
58
|
-
createdAt
|
|
56
|
+
createdAt: string;
|
|
59
57
|
actorId?: string | undefined;
|
|
60
|
-
updatedAt
|
|
61
|
-
updatedAtHour
|
|
58
|
+
updatedAt: string;
|
|
59
|
+
updatedAtHour: string;
|
|
62
60
|
deletedAt?: string | undefined;
|
|
63
61
|
expiresAt?: number | null | undefined;
|
|
64
62
|
};
|
|
65
63
|
|
|
66
|
-
export type
|
|
64
|
+
export type GetBypassIpPagination = {
|
|
67
65
|
ownerId: string;
|
|
68
66
|
id: string;
|
|
69
67
|
};
|
|
70
68
|
|
|
71
|
-
export type
|
|
72
|
-
result
|
|
73
|
-
pagination?:
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export const ResponseBodyAction = {
|
|
77
|
-
Block: "block",
|
|
78
|
-
Bypass: "bypass",
|
|
79
|
-
} as const;
|
|
80
|
-
export type ResponseBodyAction = ClosedEnum<typeof ResponseBodyAction>;
|
|
81
|
-
|
|
82
|
-
export type ResponseBodyResult = {
|
|
83
|
-
ownerId?: string | undefined;
|
|
84
|
-
id?: string | undefined;
|
|
85
|
-
domain?: string | undefined;
|
|
86
|
-
ip?: string | undefined;
|
|
87
|
-
action?: ResponseBodyAction | undefined;
|
|
88
|
-
projectId?: string | undefined;
|
|
89
|
-
isProjectRule?: boolean | undefined;
|
|
90
|
-
note?: string | undefined;
|
|
91
|
-
createdAt?: string | undefined;
|
|
92
|
-
actorId?: string | undefined;
|
|
93
|
-
updatedAt?: string | undefined;
|
|
94
|
-
updatedAtHour?: string | undefined;
|
|
95
|
-
deletedAt?: string | undefined;
|
|
96
|
-
expiresAt?: number | null | undefined;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type GetBypassIpResponseBody1 = {
|
|
100
|
-
result: Array<ResponseBodyResult>;
|
|
101
|
-
pagination?: any | null | undefined;
|
|
69
|
+
export type GetBypassIpResponseBody = {
|
|
70
|
+
result: Array<GetBypassIpResult>;
|
|
71
|
+
pagination?: GetBypassIpPagination | undefined;
|
|
102
72
|
};
|
|
103
73
|
|
|
104
|
-
export type GetBypassIpResponseBody =
|
|
105
|
-
| GetBypassIpResponseBody1
|
|
106
|
-
| GetBypassIpResponseBody2;
|
|
107
|
-
|
|
108
74
|
/** @internal */
|
|
109
75
|
export const GetBypassIpRequest$inboundSchema: z.ZodType<
|
|
110
76
|
GetBypassIpRequest,
|
|
@@ -181,44 +147,44 @@ export function getBypassIpRequestFromJSON(
|
|
|
181
147
|
}
|
|
182
148
|
|
|
183
149
|
/** @internal */
|
|
184
|
-
export const
|
|
185
|
-
typeof
|
|
186
|
-
> = z.nativeEnum(
|
|
150
|
+
export const GetBypassIpAction$inboundSchema: z.ZodNativeEnum<
|
|
151
|
+
typeof GetBypassIpAction
|
|
152
|
+
> = z.nativeEnum(GetBypassIpAction);
|
|
187
153
|
|
|
188
154
|
/** @internal */
|
|
189
|
-
export const
|
|
190
|
-
typeof
|
|
191
|
-
> =
|
|
155
|
+
export const GetBypassIpAction$outboundSchema: z.ZodNativeEnum<
|
|
156
|
+
typeof GetBypassIpAction
|
|
157
|
+
> = GetBypassIpAction$inboundSchema;
|
|
192
158
|
|
|
193
159
|
/**
|
|
194
160
|
* @internal
|
|
195
161
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
162
|
*/
|
|
197
|
-
export namespace
|
|
198
|
-
/** @deprecated use `
|
|
199
|
-
export const inboundSchema =
|
|
200
|
-
/** @deprecated use `
|
|
201
|
-
export const outboundSchema =
|
|
163
|
+
export namespace GetBypassIpAction$ {
|
|
164
|
+
/** @deprecated use `GetBypassIpAction$inboundSchema` instead. */
|
|
165
|
+
export const inboundSchema = GetBypassIpAction$inboundSchema;
|
|
166
|
+
/** @deprecated use `GetBypassIpAction$outboundSchema` instead. */
|
|
167
|
+
export const outboundSchema = GetBypassIpAction$outboundSchema;
|
|
202
168
|
}
|
|
203
169
|
|
|
204
170
|
/** @internal */
|
|
205
|
-
export const
|
|
206
|
-
|
|
171
|
+
export const GetBypassIpResult$inboundSchema: z.ZodType<
|
|
172
|
+
GetBypassIpResult,
|
|
207
173
|
z.ZodTypeDef,
|
|
208
174
|
unknown
|
|
209
175
|
> = z.object({
|
|
210
|
-
OwnerId: z.string()
|
|
211
|
-
Id: z.string()
|
|
212
|
-
Domain: z.string()
|
|
213
|
-
Ip: z.string()
|
|
214
|
-
Action:
|
|
176
|
+
OwnerId: z.string(),
|
|
177
|
+
Id: z.string(),
|
|
178
|
+
Domain: z.string(),
|
|
179
|
+
Ip: z.string(),
|
|
180
|
+
Action: GetBypassIpAction$inboundSchema.optional(),
|
|
215
181
|
ProjectId: z.string().optional(),
|
|
216
182
|
IsProjectRule: z.boolean().optional(),
|
|
217
183
|
Note: z.string().optional(),
|
|
218
|
-
CreatedAt: z.string()
|
|
184
|
+
CreatedAt: z.string(),
|
|
219
185
|
ActorId: z.string().optional(),
|
|
220
|
-
UpdatedAt: z.string()
|
|
221
|
-
UpdatedAtHour: z.string()
|
|
186
|
+
UpdatedAt: z.string(),
|
|
187
|
+
UpdatedAtHour: z.string(),
|
|
222
188
|
DeletedAt: z.string().optional(),
|
|
223
189
|
ExpiresAt: z.nullable(z.number()).optional(),
|
|
224
190
|
}).transform((v) => {
|
|
@@ -241,41 +207,41 @@ export const GetBypassIpResponseBodyResult$inboundSchema: z.ZodType<
|
|
|
241
207
|
});
|
|
242
208
|
|
|
243
209
|
/** @internal */
|
|
244
|
-
export type
|
|
245
|
-
OwnerId
|
|
246
|
-
Id
|
|
247
|
-
Domain
|
|
248
|
-
Ip
|
|
210
|
+
export type GetBypassIpResult$Outbound = {
|
|
211
|
+
OwnerId: string;
|
|
212
|
+
Id: string;
|
|
213
|
+
Domain: string;
|
|
214
|
+
Ip: string;
|
|
249
215
|
Action?: string | undefined;
|
|
250
216
|
ProjectId?: string | undefined;
|
|
251
217
|
IsProjectRule?: boolean | undefined;
|
|
252
218
|
Note?: string | undefined;
|
|
253
|
-
CreatedAt
|
|
219
|
+
CreatedAt: string;
|
|
254
220
|
ActorId?: string | undefined;
|
|
255
|
-
UpdatedAt
|
|
256
|
-
UpdatedAtHour
|
|
221
|
+
UpdatedAt: string;
|
|
222
|
+
UpdatedAtHour: string;
|
|
257
223
|
DeletedAt?: string | undefined;
|
|
258
224
|
ExpiresAt?: number | null | undefined;
|
|
259
225
|
};
|
|
260
226
|
|
|
261
227
|
/** @internal */
|
|
262
|
-
export const
|
|
263
|
-
|
|
228
|
+
export const GetBypassIpResult$outboundSchema: z.ZodType<
|
|
229
|
+
GetBypassIpResult$Outbound,
|
|
264
230
|
z.ZodTypeDef,
|
|
265
|
-
|
|
231
|
+
GetBypassIpResult
|
|
266
232
|
> = z.object({
|
|
267
|
-
ownerId: z.string()
|
|
268
|
-
id: z.string()
|
|
269
|
-
domain: z.string()
|
|
270
|
-
ip: z.string()
|
|
271
|
-
action:
|
|
233
|
+
ownerId: z.string(),
|
|
234
|
+
id: z.string(),
|
|
235
|
+
domain: z.string(),
|
|
236
|
+
ip: z.string(),
|
|
237
|
+
action: GetBypassIpAction$outboundSchema.optional(),
|
|
272
238
|
projectId: z.string().optional(),
|
|
273
239
|
isProjectRule: z.boolean().optional(),
|
|
274
240
|
note: z.string().optional(),
|
|
275
|
-
createdAt: z.string()
|
|
241
|
+
createdAt: z.string(),
|
|
276
242
|
actorId: z.string().optional(),
|
|
277
|
-
updatedAt: z.string()
|
|
278
|
-
updatedAtHour: z.string()
|
|
243
|
+
updatedAt: z.string(),
|
|
244
|
+
updatedAtHour: z.string(),
|
|
279
245
|
deletedAt: z.string().optional(),
|
|
280
246
|
expiresAt: z.nullable(z.number()).optional(),
|
|
281
247
|
}).transform((v) => {
|
|
@@ -301,38 +267,36 @@ export const GetBypassIpResponseBodyResult$outboundSchema: z.ZodType<
|
|
|
301
267
|
* @internal
|
|
302
268
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
303
269
|
*/
|
|
304
|
-
export namespace
|
|
305
|
-
/** @deprecated use `
|
|
306
|
-
export const inboundSchema =
|
|
307
|
-
/** @deprecated use `
|
|
308
|
-
export const outboundSchema =
|
|
309
|
-
/** @deprecated use `
|
|
310
|
-
export type Outbound =
|
|
270
|
+
export namespace GetBypassIpResult$ {
|
|
271
|
+
/** @deprecated use `GetBypassIpResult$inboundSchema` instead. */
|
|
272
|
+
export const inboundSchema = GetBypassIpResult$inboundSchema;
|
|
273
|
+
/** @deprecated use `GetBypassIpResult$outboundSchema` instead. */
|
|
274
|
+
export const outboundSchema = GetBypassIpResult$outboundSchema;
|
|
275
|
+
/** @deprecated use `GetBypassIpResult$Outbound` instead. */
|
|
276
|
+
export type Outbound = GetBypassIpResult$Outbound;
|
|
311
277
|
}
|
|
312
278
|
|
|
313
|
-
export function
|
|
314
|
-
|
|
279
|
+
export function getBypassIpResultToJSON(
|
|
280
|
+
getBypassIpResult: GetBypassIpResult,
|
|
315
281
|
): string {
|
|
316
282
|
return JSON.stringify(
|
|
317
|
-
|
|
318
|
-
getBypassIpResponseBodyResult,
|
|
319
|
-
),
|
|
283
|
+
GetBypassIpResult$outboundSchema.parse(getBypassIpResult),
|
|
320
284
|
);
|
|
321
285
|
}
|
|
322
286
|
|
|
323
|
-
export function
|
|
287
|
+
export function getBypassIpResultFromJSON(
|
|
324
288
|
jsonString: string,
|
|
325
|
-
): SafeParseResult<
|
|
289
|
+
): SafeParseResult<GetBypassIpResult, SDKValidationError> {
|
|
326
290
|
return safeParse(
|
|
327
291
|
jsonString,
|
|
328
|
-
(x) =>
|
|
329
|
-
`Failed to parse '
|
|
292
|
+
(x) => GetBypassIpResult$inboundSchema.parse(JSON.parse(x)),
|
|
293
|
+
`Failed to parse 'GetBypassIpResult' from JSON`,
|
|
330
294
|
);
|
|
331
295
|
}
|
|
332
296
|
|
|
333
297
|
/** @internal */
|
|
334
|
-
export const
|
|
335
|
-
|
|
298
|
+
export const GetBypassIpPagination$inboundSchema: z.ZodType<
|
|
299
|
+
GetBypassIpPagination,
|
|
336
300
|
z.ZodTypeDef,
|
|
337
301
|
unknown
|
|
338
302
|
> = z.object({
|
|
@@ -346,16 +310,16 @@ export const GetBypassIpResponseBodyPagination$inboundSchema: z.ZodType<
|
|
|
346
310
|
});
|
|
347
311
|
|
|
348
312
|
/** @internal */
|
|
349
|
-
export type
|
|
313
|
+
export type GetBypassIpPagination$Outbound = {
|
|
350
314
|
OwnerId: string;
|
|
351
315
|
Id: string;
|
|
352
316
|
};
|
|
353
317
|
|
|
354
318
|
/** @internal */
|
|
355
|
-
export const
|
|
356
|
-
|
|
319
|
+
export const GetBypassIpPagination$outboundSchema: z.ZodType<
|
|
320
|
+
GetBypassIpPagination$Outbound,
|
|
357
321
|
z.ZodTypeDef,
|
|
358
|
-
|
|
322
|
+
GetBypassIpPagination
|
|
359
323
|
> = z.object({
|
|
360
324
|
ownerId: z.string(),
|
|
361
325
|
id: z.string(),
|
|
@@ -370,326 +334,58 @@ export const GetBypassIpResponseBodyPagination$outboundSchema: z.ZodType<
|
|
|
370
334
|
* @internal
|
|
371
335
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
372
336
|
*/
|
|
373
|
-
export namespace
|
|
374
|
-
/** @deprecated use `
|
|
375
|
-
export const inboundSchema =
|
|
376
|
-
/** @deprecated use `
|
|
377
|
-
export const outboundSchema =
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
export type Outbound = GetBypassIpResponseBodyPagination$Outbound;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
export function getBypassIpResponseBodyPaginationToJSON(
|
|
384
|
-
getBypassIpResponseBodyPagination: GetBypassIpResponseBodyPagination,
|
|
385
|
-
): string {
|
|
386
|
-
return JSON.stringify(
|
|
387
|
-
GetBypassIpResponseBodyPagination$outboundSchema.parse(
|
|
388
|
-
getBypassIpResponseBodyPagination,
|
|
389
|
-
),
|
|
390
|
-
);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export function getBypassIpResponseBodyPaginationFromJSON(
|
|
394
|
-
jsonString: string,
|
|
395
|
-
): SafeParseResult<GetBypassIpResponseBodyPagination, SDKValidationError> {
|
|
396
|
-
return safeParse(
|
|
397
|
-
jsonString,
|
|
398
|
-
(x) => GetBypassIpResponseBodyPagination$inboundSchema.parse(JSON.parse(x)),
|
|
399
|
-
`Failed to parse 'GetBypassIpResponseBodyPagination' from JSON`,
|
|
400
|
-
);
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/** @internal */
|
|
404
|
-
export const GetBypassIpResponseBody2$inboundSchema: z.ZodType<
|
|
405
|
-
GetBypassIpResponseBody2,
|
|
406
|
-
z.ZodTypeDef,
|
|
407
|
-
unknown
|
|
408
|
-
> = z.object({
|
|
409
|
-
result: z.array(z.lazy(() => GetBypassIpResponseBodyResult$inboundSchema))
|
|
410
|
-
.optional(),
|
|
411
|
-
pagination: z.lazy(() => GetBypassIpResponseBodyPagination$inboundSchema)
|
|
412
|
-
.optional(),
|
|
413
|
-
});
|
|
414
|
-
|
|
415
|
-
/** @internal */
|
|
416
|
-
export type GetBypassIpResponseBody2$Outbound = {
|
|
417
|
-
result?: Array<GetBypassIpResponseBodyResult$Outbound> | undefined;
|
|
418
|
-
pagination?: GetBypassIpResponseBodyPagination$Outbound | undefined;
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
/** @internal */
|
|
422
|
-
export const GetBypassIpResponseBody2$outboundSchema: z.ZodType<
|
|
423
|
-
GetBypassIpResponseBody2$Outbound,
|
|
424
|
-
z.ZodTypeDef,
|
|
425
|
-
GetBypassIpResponseBody2
|
|
426
|
-
> = z.object({
|
|
427
|
-
result: z.array(z.lazy(() => GetBypassIpResponseBodyResult$outboundSchema))
|
|
428
|
-
.optional(),
|
|
429
|
-
pagination: z.lazy(() => GetBypassIpResponseBodyPagination$outboundSchema)
|
|
430
|
-
.optional(),
|
|
431
|
-
});
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* @internal
|
|
435
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
436
|
-
*/
|
|
437
|
-
export namespace GetBypassIpResponseBody2$ {
|
|
438
|
-
/** @deprecated use `GetBypassIpResponseBody2$inboundSchema` instead. */
|
|
439
|
-
export const inboundSchema = GetBypassIpResponseBody2$inboundSchema;
|
|
440
|
-
/** @deprecated use `GetBypassIpResponseBody2$outboundSchema` instead. */
|
|
441
|
-
export const outboundSchema = GetBypassIpResponseBody2$outboundSchema;
|
|
442
|
-
/** @deprecated use `GetBypassIpResponseBody2$Outbound` instead. */
|
|
443
|
-
export type Outbound = GetBypassIpResponseBody2$Outbound;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export function getBypassIpResponseBody2ToJSON(
|
|
447
|
-
getBypassIpResponseBody2: GetBypassIpResponseBody2,
|
|
448
|
-
): string {
|
|
449
|
-
return JSON.stringify(
|
|
450
|
-
GetBypassIpResponseBody2$outboundSchema.parse(getBypassIpResponseBody2),
|
|
451
|
-
);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export function getBypassIpResponseBody2FromJSON(
|
|
455
|
-
jsonString: string,
|
|
456
|
-
): SafeParseResult<GetBypassIpResponseBody2, SDKValidationError> {
|
|
457
|
-
return safeParse(
|
|
458
|
-
jsonString,
|
|
459
|
-
(x) => GetBypassIpResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
460
|
-
`Failed to parse 'GetBypassIpResponseBody2' from JSON`,
|
|
461
|
-
);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/** @internal */
|
|
465
|
-
export const ResponseBodyAction$inboundSchema: z.ZodNativeEnum<
|
|
466
|
-
typeof ResponseBodyAction
|
|
467
|
-
> = z.nativeEnum(ResponseBodyAction);
|
|
468
|
-
|
|
469
|
-
/** @internal */
|
|
470
|
-
export const ResponseBodyAction$outboundSchema: z.ZodNativeEnum<
|
|
471
|
-
typeof ResponseBodyAction
|
|
472
|
-
> = ResponseBodyAction$inboundSchema;
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* @internal
|
|
476
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
477
|
-
*/
|
|
478
|
-
export namespace ResponseBodyAction$ {
|
|
479
|
-
/** @deprecated use `ResponseBodyAction$inboundSchema` instead. */
|
|
480
|
-
export const inboundSchema = ResponseBodyAction$inboundSchema;
|
|
481
|
-
/** @deprecated use `ResponseBodyAction$outboundSchema` instead. */
|
|
482
|
-
export const outboundSchema = ResponseBodyAction$outboundSchema;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/** @internal */
|
|
486
|
-
export const ResponseBodyResult$inboundSchema: z.ZodType<
|
|
487
|
-
ResponseBodyResult,
|
|
488
|
-
z.ZodTypeDef,
|
|
489
|
-
unknown
|
|
490
|
-
> = z.object({
|
|
491
|
-
OwnerId: z.string().optional(),
|
|
492
|
-
Id: z.string().optional(),
|
|
493
|
-
Domain: z.string().optional(),
|
|
494
|
-
Ip: z.string().optional(),
|
|
495
|
-
Action: ResponseBodyAction$inboundSchema.optional(),
|
|
496
|
-
ProjectId: z.string().optional(),
|
|
497
|
-
IsProjectRule: z.boolean().optional(),
|
|
498
|
-
Note: z.string().optional(),
|
|
499
|
-
CreatedAt: z.string().optional(),
|
|
500
|
-
ActorId: z.string().optional(),
|
|
501
|
-
UpdatedAt: z.string().optional(),
|
|
502
|
-
UpdatedAtHour: z.string().optional(),
|
|
503
|
-
DeletedAt: z.string().optional(),
|
|
504
|
-
ExpiresAt: z.nullable(z.number()).optional(),
|
|
505
|
-
}).transform((v) => {
|
|
506
|
-
return remap$(v, {
|
|
507
|
-
"OwnerId": "ownerId",
|
|
508
|
-
"Id": "id",
|
|
509
|
-
"Domain": "domain",
|
|
510
|
-
"Ip": "ip",
|
|
511
|
-
"Action": "action",
|
|
512
|
-
"ProjectId": "projectId",
|
|
513
|
-
"IsProjectRule": "isProjectRule",
|
|
514
|
-
"Note": "note",
|
|
515
|
-
"CreatedAt": "createdAt",
|
|
516
|
-
"ActorId": "actorId",
|
|
517
|
-
"UpdatedAt": "updatedAt",
|
|
518
|
-
"UpdatedAtHour": "updatedAtHour",
|
|
519
|
-
"DeletedAt": "deletedAt",
|
|
520
|
-
"ExpiresAt": "expiresAt",
|
|
521
|
-
});
|
|
522
|
-
});
|
|
523
|
-
|
|
524
|
-
/** @internal */
|
|
525
|
-
export type ResponseBodyResult$Outbound = {
|
|
526
|
-
OwnerId?: string | undefined;
|
|
527
|
-
Id?: string | undefined;
|
|
528
|
-
Domain?: string | undefined;
|
|
529
|
-
Ip?: string | undefined;
|
|
530
|
-
Action?: string | undefined;
|
|
531
|
-
ProjectId?: string | undefined;
|
|
532
|
-
IsProjectRule?: boolean | undefined;
|
|
533
|
-
Note?: string | undefined;
|
|
534
|
-
CreatedAt?: string | undefined;
|
|
535
|
-
ActorId?: string | undefined;
|
|
536
|
-
UpdatedAt?: string | undefined;
|
|
537
|
-
UpdatedAtHour?: string | undefined;
|
|
538
|
-
DeletedAt?: string | undefined;
|
|
539
|
-
ExpiresAt?: number | null | undefined;
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
/** @internal */
|
|
543
|
-
export const ResponseBodyResult$outboundSchema: z.ZodType<
|
|
544
|
-
ResponseBodyResult$Outbound,
|
|
545
|
-
z.ZodTypeDef,
|
|
546
|
-
ResponseBodyResult
|
|
547
|
-
> = z.object({
|
|
548
|
-
ownerId: z.string().optional(),
|
|
549
|
-
id: z.string().optional(),
|
|
550
|
-
domain: z.string().optional(),
|
|
551
|
-
ip: z.string().optional(),
|
|
552
|
-
action: ResponseBodyAction$outboundSchema.optional(),
|
|
553
|
-
projectId: z.string().optional(),
|
|
554
|
-
isProjectRule: z.boolean().optional(),
|
|
555
|
-
note: z.string().optional(),
|
|
556
|
-
createdAt: z.string().optional(),
|
|
557
|
-
actorId: z.string().optional(),
|
|
558
|
-
updatedAt: z.string().optional(),
|
|
559
|
-
updatedAtHour: z.string().optional(),
|
|
560
|
-
deletedAt: z.string().optional(),
|
|
561
|
-
expiresAt: z.nullable(z.number()).optional(),
|
|
562
|
-
}).transform((v) => {
|
|
563
|
-
return remap$(v, {
|
|
564
|
-
ownerId: "OwnerId",
|
|
565
|
-
id: "Id",
|
|
566
|
-
domain: "Domain",
|
|
567
|
-
ip: "Ip",
|
|
568
|
-
action: "Action",
|
|
569
|
-
projectId: "ProjectId",
|
|
570
|
-
isProjectRule: "IsProjectRule",
|
|
571
|
-
note: "Note",
|
|
572
|
-
createdAt: "CreatedAt",
|
|
573
|
-
actorId: "ActorId",
|
|
574
|
-
updatedAt: "UpdatedAt",
|
|
575
|
-
updatedAtHour: "UpdatedAtHour",
|
|
576
|
-
deletedAt: "DeletedAt",
|
|
577
|
-
expiresAt: "ExpiresAt",
|
|
578
|
-
});
|
|
579
|
-
});
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* @internal
|
|
583
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
584
|
-
*/
|
|
585
|
-
export namespace ResponseBodyResult$ {
|
|
586
|
-
/** @deprecated use `ResponseBodyResult$inboundSchema` instead. */
|
|
587
|
-
export const inboundSchema = ResponseBodyResult$inboundSchema;
|
|
588
|
-
/** @deprecated use `ResponseBodyResult$outboundSchema` instead. */
|
|
589
|
-
export const outboundSchema = ResponseBodyResult$outboundSchema;
|
|
590
|
-
/** @deprecated use `ResponseBodyResult$Outbound` instead. */
|
|
591
|
-
export type Outbound = ResponseBodyResult$Outbound;
|
|
337
|
+
export namespace GetBypassIpPagination$ {
|
|
338
|
+
/** @deprecated use `GetBypassIpPagination$inboundSchema` instead. */
|
|
339
|
+
export const inboundSchema = GetBypassIpPagination$inboundSchema;
|
|
340
|
+
/** @deprecated use `GetBypassIpPagination$outboundSchema` instead. */
|
|
341
|
+
export const outboundSchema = GetBypassIpPagination$outboundSchema;
|
|
342
|
+
/** @deprecated use `GetBypassIpPagination$Outbound` instead. */
|
|
343
|
+
export type Outbound = GetBypassIpPagination$Outbound;
|
|
592
344
|
}
|
|
593
345
|
|
|
594
|
-
export function
|
|
595
|
-
|
|
346
|
+
export function getBypassIpPaginationToJSON(
|
|
347
|
+
getBypassIpPagination: GetBypassIpPagination,
|
|
596
348
|
): string {
|
|
597
349
|
return JSON.stringify(
|
|
598
|
-
|
|
350
|
+
GetBypassIpPagination$outboundSchema.parse(getBypassIpPagination),
|
|
599
351
|
);
|
|
600
352
|
}
|
|
601
353
|
|
|
602
|
-
export function
|
|
354
|
+
export function getBypassIpPaginationFromJSON(
|
|
603
355
|
jsonString: string,
|
|
604
|
-
): SafeParseResult<
|
|
356
|
+
): SafeParseResult<GetBypassIpPagination, SDKValidationError> {
|
|
605
357
|
return safeParse(
|
|
606
358
|
jsonString,
|
|
607
|
-
(x) =>
|
|
608
|
-
`Failed to parse '
|
|
359
|
+
(x) => GetBypassIpPagination$inboundSchema.parse(JSON.parse(x)),
|
|
360
|
+
`Failed to parse 'GetBypassIpPagination' from JSON`,
|
|
609
361
|
);
|
|
610
362
|
}
|
|
611
363
|
|
|
612
364
|
/** @internal */
|
|
613
|
-
export const
|
|
614
|
-
|
|
365
|
+
export const GetBypassIpResponseBody$inboundSchema: z.ZodType<
|
|
366
|
+
GetBypassIpResponseBody,
|
|
615
367
|
z.ZodTypeDef,
|
|
616
368
|
unknown
|
|
617
369
|
> = z.object({
|
|
618
|
-
result: z.array(z.lazy(() =>
|
|
619
|
-
pagination: z.
|
|
370
|
+
result: z.array(z.lazy(() => GetBypassIpResult$inboundSchema)),
|
|
371
|
+
pagination: z.lazy(() => GetBypassIpPagination$inboundSchema).optional(),
|
|
620
372
|
});
|
|
621
373
|
|
|
622
374
|
/** @internal */
|
|
623
|
-
export type
|
|
624
|
-
result: Array<
|
|
625
|
-
pagination?:
|
|
375
|
+
export type GetBypassIpResponseBody$Outbound = {
|
|
376
|
+
result: Array<GetBypassIpResult$Outbound>;
|
|
377
|
+
pagination?: GetBypassIpPagination$Outbound | undefined;
|
|
626
378
|
};
|
|
627
379
|
|
|
628
|
-
/** @internal */
|
|
629
|
-
export const GetBypassIpResponseBody1$outboundSchema: z.ZodType<
|
|
630
|
-
GetBypassIpResponseBody1$Outbound,
|
|
631
|
-
z.ZodTypeDef,
|
|
632
|
-
GetBypassIpResponseBody1
|
|
633
|
-
> = z.object({
|
|
634
|
-
result: z.array(z.lazy(() => ResponseBodyResult$outboundSchema)),
|
|
635
|
-
pagination: z.nullable(z.any()).optional(),
|
|
636
|
-
});
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* @internal
|
|
640
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
641
|
-
*/
|
|
642
|
-
export namespace GetBypassIpResponseBody1$ {
|
|
643
|
-
/** @deprecated use `GetBypassIpResponseBody1$inboundSchema` instead. */
|
|
644
|
-
export const inboundSchema = GetBypassIpResponseBody1$inboundSchema;
|
|
645
|
-
/** @deprecated use `GetBypassIpResponseBody1$outboundSchema` instead. */
|
|
646
|
-
export const outboundSchema = GetBypassIpResponseBody1$outboundSchema;
|
|
647
|
-
/** @deprecated use `GetBypassIpResponseBody1$Outbound` instead. */
|
|
648
|
-
export type Outbound = GetBypassIpResponseBody1$Outbound;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
export function getBypassIpResponseBody1ToJSON(
|
|
652
|
-
getBypassIpResponseBody1: GetBypassIpResponseBody1,
|
|
653
|
-
): string {
|
|
654
|
-
return JSON.stringify(
|
|
655
|
-
GetBypassIpResponseBody1$outboundSchema.parse(getBypassIpResponseBody1),
|
|
656
|
-
);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
export function getBypassIpResponseBody1FromJSON(
|
|
660
|
-
jsonString: string,
|
|
661
|
-
): SafeParseResult<GetBypassIpResponseBody1, SDKValidationError> {
|
|
662
|
-
return safeParse(
|
|
663
|
-
jsonString,
|
|
664
|
-
(x) => GetBypassIpResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
665
|
-
`Failed to parse 'GetBypassIpResponseBody1' from JSON`,
|
|
666
|
-
);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/** @internal */
|
|
670
|
-
export const GetBypassIpResponseBody$inboundSchema: z.ZodType<
|
|
671
|
-
GetBypassIpResponseBody,
|
|
672
|
-
z.ZodTypeDef,
|
|
673
|
-
unknown
|
|
674
|
-
> = z.union([
|
|
675
|
-
z.lazy(() => GetBypassIpResponseBody1$inboundSchema),
|
|
676
|
-
z.lazy(() => GetBypassIpResponseBody2$inboundSchema),
|
|
677
|
-
]);
|
|
678
|
-
|
|
679
|
-
/** @internal */
|
|
680
|
-
export type GetBypassIpResponseBody$Outbound =
|
|
681
|
-
| GetBypassIpResponseBody1$Outbound
|
|
682
|
-
| GetBypassIpResponseBody2$Outbound;
|
|
683
|
-
|
|
684
380
|
/** @internal */
|
|
685
381
|
export const GetBypassIpResponseBody$outboundSchema: z.ZodType<
|
|
686
382
|
GetBypassIpResponseBody$Outbound,
|
|
687
383
|
z.ZodTypeDef,
|
|
688
384
|
GetBypassIpResponseBody
|
|
689
|
-
> = z.
|
|
690
|
-
z.lazy(() =>
|
|
691
|
-
z.lazy(() =>
|
|
692
|
-
|
|
385
|
+
> = z.object({
|
|
386
|
+
result: z.array(z.lazy(() => GetBypassIpResult$outboundSchema)),
|
|
387
|
+
pagination: z.lazy(() => GetBypassIpPagination$outboundSchema).optional(),
|
|
388
|
+
});
|
|
693
389
|
|
|
694
390
|
/**
|
|
695
391
|
* @internal
|
|
@@ -31,8 +31,8 @@ export type GetCustomEnvironmentRequest = {
|
|
|
31
31
|
* The type of environment (production, preview, or development)
|
|
32
32
|
*/
|
|
33
33
|
export const GetCustomEnvironmentType = {
|
|
34
|
-
Production: "production",
|
|
35
34
|
Preview: "preview",
|
|
35
|
+
Production: "production",
|
|
36
36
|
Development: "development",
|
|
37
37
|
} as const;
|
|
38
38
|
/**
|