@distilled.cloud/cloudflare 0.18.2 → 0.19.1
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/lib/schemas.d.ts +7 -8
- package/lib/schemas.d.ts.map +1 -1
- package/lib/schemas.js +9 -12
- package/lib/schemas.js.map +1 -1
- package/lib/services/abuse-reports.d.ts +4 -4
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +28 -22
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +10 -10
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +67 -52
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +10 -10
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +70 -55
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +2 -2
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +14 -11
- package/lib/services/ai.js.map +1 -1
- package/lib/services/alerting.d.ts +2 -2
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +14 -11
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +10 -10
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +70 -55
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +2 -2
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +14 -11
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/client-certificates.d.ts +2 -2
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +14 -11
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +2 -2
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +14 -11
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +2 -2
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +14 -11
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-pages.d.ts +40 -13
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +68 -15
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +2 -2
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +14 -11
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +2 -2
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +14 -11
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +4 -4
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +28 -22
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +4 -4
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +25 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +4 -4
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +28 -22
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +14 -14
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +98 -77
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +2 -2
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +14 -11
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +82 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +232 -114
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +2 -2
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +14 -11
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/images.d.ts +2 -2
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +14 -11
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +6 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +30 -22
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts +4 -4
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +25 -19
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +2 -2
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +14 -11
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +157 -64
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +292 -63
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +2 -2
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +14 -11
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/memberships.d.ts +2 -2
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +14 -11
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +2 -2
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -11
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/pages.d.ts +4 -4
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +28 -22
- package/lib/services/pages.js.map +1 -1
- package/lib/services/queues.d.ts +2 -2
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +14 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2.d.ts +97 -2
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +125 -6
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +4 -4
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +28 -22
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +2 -2
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +14 -11
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +6 -6
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +42 -33
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +2 -2
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +11 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +202 -67
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +383 -84
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +2 -2
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +14 -11
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +4 -4
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +28 -22
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +4 -4
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +28 -22
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +68 -21
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +142 -33
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/snippets.d.ts +2 -2
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +14 -11
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +2 -2
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +14 -11
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +2 -2
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +14 -11
- package/lib/services/speed.js.map +1 -1
- package/lib/services/token-validation.d.ts +4 -4
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +28 -22
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +2 -2
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +14 -11
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/user.d.ts +8 -8
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +56 -44
- package/lib/services/user.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +18 -7
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +53 -29
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/workers.d.ts +17 -17
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +53 -44
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +6 -6
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +42 -33
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.d.ts +639 -264
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1575 -594
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +2 -2
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +14 -11
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/schemas.ts +19 -17
- package/src/services/abuse-reports.ts +42 -28
- package/src/services/accounts.ts +94 -67
- package/src/services/ai-gateway.ts +101 -70
- package/src/services/ai.ts +19 -14
- package/src/services/alerting.ts +19 -14
- package/src/services/api-gateway.ts +105 -70
- package/src/services/audit-logs.ts +19 -14
- package/src/services/client-certificates.ts +21 -14
- package/src/services/custom-certificates.ts +21 -14
- package/src/services/custom-hostnames.ts +21 -14
- package/src/services/custom-pages.ts +170 -66
- package/src/services/d1.ts +19 -14
- package/src/services/dns-firewall.ts +21 -14
- package/src/services/dns.ts +40 -28
- package/src/services/durable-objects.ts +39 -25
- package/src/services/email-routing.ts +38 -28
- package/src/services/email-security.ts +147 -98
- package/src/services/filters.ts +19 -14
- package/src/services/firewall.ts +462 -233
- package/src/services/healthchecks.ts +21 -14
- package/src/services/images.ts +19 -14
- package/src/services/intel.ts +44 -28
- package/src/services/kv.ts +39 -25
- package/src/services/load-balancers.ts +19 -14
- package/src/services/logpush.ts +798 -372
- package/src/services/magic-cloud-networking.ts +19 -14
- package/src/services/memberships.ts +21 -14
- package/src/services/origin-ca-certificates.ts +21 -14
- package/src/services/pages.ts +40 -28
- package/src/services/queues.ts +21 -14
- package/src/services/r2.ts +307 -9
- package/src/services/radar.ts +42 -28
- package/src/services/rate-limits.ts +21 -14
- package/src/services/resource-sharing.ts +61 -42
- package/src/services/rules.ts +18 -11
- package/src/services/rulesets.ts +3990 -3420
- package/src/services/rum.ts +19 -14
- package/src/services/schema-validation.ts +40 -28
- package/src/services/secrets-store.ts +40 -28
- package/src/services/security-center.ts +266 -77
- package/src/services/snippets.ts +19 -14
- package/src/services/spectrum.ts +19 -14
- package/src/services/speed.ts +19 -14
- package/src/services/token-validation.ts +40 -28
- package/src/services/turnstile.ts +19 -14
- package/src/services/user.ts +80 -56
- package/src/services/waiting-rooms.ts +89 -39
- package/src/services/workers.ts +85 -64
- package/src/services/workflows.ts +57 -42
- package/src/services/zero-trust.ts +4536 -2654
- package/src/services/zones.ts +19 -14
|
@@ -55,17 +55,20 @@ export const ListAccessAiControlMcpPortalsResponse =
|
|
|
55
55
|
modifiedAt: "modified_at",
|
|
56
56
|
modifiedBy: "modified_by",
|
|
57
57
|
}))),
|
|
58
|
-
resultInfo: Schema.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
59
|
+
Schema.Struct({
|
|
60
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
61
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
62
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
63
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
64
|
+
}).pipe(Schema.encodeKeys({
|
|
65
|
+
count: "count",
|
|
66
|
+
page: "page",
|
|
67
|
+
perPage: "per_page",
|
|
68
|
+
totalCount: "total_count",
|
|
69
|
+
})),
|
|
70
|
+
Schema.Null,
|
|
71
|
+
])),
|
|
69
72
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
70
73
|
export const listAccessAiControlMcpPortals = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
71
74
|
input: ListAccessAiControlMcpPortalsRequest,
|
|
@@ -350,17 +353,20 @@ export const ListAccessAiControlMcpServersResponse =
|
|
|
350
353
|
modifiedBy: "modified_by",
|
|
351
354
|
status: "status",
|
|
352
355
|
}))),
|
|
353
|
-
resultInfo: Schema.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
356
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
357
|
+
Schema.Struct({
|
|
358
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
359
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
360
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
361
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
362
|
+
}).pipe(Schema.encodeKeys({
|
|
363
|
+
count: "count",
|
|
364
|
+
page: "page",
|
|
365
|
+
perPage: "per_page",
|
|
366
|
+
totalCount: "total_count",
|
|
367
|
+
})),
|
|
368
|
+
Schema.Null,
|
|
369
|
+
])),
|
|
364
370
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
365
371
|
export const listAccessAiControlMcpServers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
366
372
|
input: ListAccessAiControlMcpServersRequest,
|
|
@@ -596,11 +602,25 @@ export const syncAccessAiControlMcpServer = /*@__PURE__*/ /*#__PURE__*/ API.make
|
|
|
596
602
|
output: SyncAccessAiControlMcpServerResponse,
|
|
597
603
|
errors: [],
|
|
598
604
|
}));
|
|
599
|
-
|
|
600
|
-
|
|
605
|
+
// =============================================================================
|
|
606
|
+
// AccessApplication
|
|
607
|
+
// =============================================================================
|
|
608
|
+
const GetAccessApplicationBaseFields = {
|
|
609
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
610
|
+
};
|
|
611
|
+
export const GetAccessApplicationForAccountRequest =
|
|
612
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
613
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
614
|
+
...GetAccessApplicationBaseFields,
|
|
615
|
+
}).pipe(T.Http({
|
|
601
616
|
method: "GET",
|
|
602
|
-
path: "/
|
|
617
|
+
path: "/accounts/{account_id}/access/apps/{appId}",
|
|
603
618
|
}));
|
|
619
|
+
export const GetAccessApplicationForZoneRequest =
|
|
620
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
621
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
622
|
+
...GetAccessApplicationBaseFields,
|
|
623
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/apps/{appId}" }));
|
|
604
624
|
export const GetAccessApplicationResponse =
|
|
605
625
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
606
626
|
Schema.Struct({
|
|
@@ -4984,16 +5004,27 @@ export const GetAccessApplicationResponse =
|
|
|
4984
5004
|
type: "type",
|
|
4985
5005
|
})),
|
|
4986
5006
|
]).pipe(T.ResponsePath("result"));
|
|
4987
|
-
export const
|
|
4988
|
-
input:
|
|
5007
|
+
export const getAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5008
|
+
input: GetAccessApplicationForAccountRequest,
|
|
4989
5009
|
output: GetAccessApplicationResponse,
|
|
4990
5010
|
errors: [],
|
|
4991
5011
|
}));
|
|
4992
|
-
export const
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
5012
|
+
export const getAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5013
|
+
input: GetAccessApplicationForZoneRequest,
|
|
5014
|
+
output: GetAccessApplicationResponse,
|
|
5015
|
+
errors: [],
|
|
4996
5016
|
}));
|
|
5017
|
+
const ListAccessApplicationsBaseFields = {};
|
|
5018
|
+
export const ListAccessApplicationsForAccountRequest =
|
|
5019
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5020
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5021
|
+
...ListAccessApplicationsBaseFields,
|
|
5022
|
+
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/access/apps" }));
|
|
5023
|
+
export const ListAccessApplicationsForZoneRequest =
|
|
5024
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5025
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5026
|
+
...ListAccessApplicationsBaseFields,
|
|
5027
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/apps" }));
|
|
4997
5028
|
export const ListAccessApplicationsResponse =
|
|
4998
5029
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4999
5030
|
result: Schema.Array(Schema.Union([
|
|
@@ -9545,20 +9576,23 @@ export const ListAccessApplicationsResponse =
|
|
|
9545
9576
|
type: "type",
|
|
9546
9577
|
})),
|
|
9547
9578
|
])),
|
|
9548
|
-
resultInfo: Schema.
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9579
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
9580
|
+
Schema.Struct({
|
|
9581
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9582
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9583
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9584
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9585
|
+
}).pipe(Schema.encodeKeys({
|
|
9586
|
+
count: "count",
|
|
9587
|
+
page: "page",
|
|
9588
|
+
perPage: "per_page",
|
|
9589
|
+
totalCount: "total_count",
|
|
9590
|
+
})),
|
|
9591
|
+
Schema.Null,
|
|
9592
|
+
])),
|
|
9559
9593
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
9560
|
-
export const
|
|
9561
|
-
input:
|
|
9594
|
+
export const listAccessApplicationsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
9595
|
+
input: ListAccessApplicationsForAccountRequest,
|
|
9562
9596
|
output: ListAccessApplicationsResponse,
|
|
9563
9597
|
errors: [],
|
|
9564
9598
|
pagination: {
|
|
@@ -9569,10 +9603,19 @@ export const listAccessApplications = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
9569
9603
|
pageSize: "perPage",
|
|
9570
9604
|
},
|
|
9571
9605
|
}));
|
|
9572
|
-
export const
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9606
|
+
export const listAccessApplicationsForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
9607
|
+
input: ListAccessApplicationsForZoneRequest,
|
|
9608
|
+
output: ListAccessApplicationsResponse,
|
|
9609
|
+
errors: [],
|
|
9610
|
+
pagination: {
|
|
9611
|
+
mode: "page",
|
|
9612
|
+
inputToken: "page",
|
|
9613
|
+
outputToken: "resultInfo.page",
|
|
9614
|
+
items: "result",
|
|
9615
|
+
pageSize: "perPage",
|
|
9616
|
+
},
|
|
9617
|
+
}));
|
|
9618
|
+
const CreateAccessApplicationBaseFields = {
|
|
9576
9619
|
domain: Schema.String,
|
|
9577
9620
|
type: Schema.Literals([
|
|
9578
9621
|
"self_hosted",
|
|
@@ -9802,6 +9845,11 @@ export const CreateAccessApplicationRequest =
|
|
|
9802
9845
|
sessionDuration: Schema.optional(Schema.String),
|
|
9803
9846
|
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
9804
9847
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
9848
|
+
};
|
|
9849
|
+
export const CreateAccessApplicationForAccountRequest =
|
|
9850
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9851
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
9852
|
+
...CreateAccessApplicationBaseFields,
|
|
9805
9853
|
}).pipe(Schema.encodeKeys({
|
|
9806
9854
|
domain: "domain",
|
|
9807
9855
|
type: "type",
|
|
@@ -9831,10 +9879,41 @@ export const CreateAccessApplicationRequest =
|
|
|
9831
9879
|
sessionDuration: "session_duration",
|
|
9832
9880
|
skipInterstitial: "skip_interstitial",
|
|
9833
9881
|
tags: "tags",
|
|
9834
|
-
}), T.Http({
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9882
|
+
}), T.Http({ method: "POST", path: "/accounts/{account_id}/access/apps" }));
|
|
9883
|
+
export const CreateAccessApplicationForZoneRequest =
|
|
9884
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9885
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
9886
|
+
...CreateAccessApplicationBaseFields,
|
|
9887
|
+
}).pipe(Schema.encodeKeys({
|
|
9888
|
+
domain: "domain",
|
|
9889
|
+
type: "type",
|
|
9890
|
+
allowAuthenticateViaWarp: "allow_authenticate_via_warp",
|
|
9891
|
+
allowIframe: "allow_iframe",
|
|
9892
|
+
allowedIdps: "allowed_idps",
|
|
9893
|
+
appLauncherVisible: "app_launcher_visible",
|
|
9894
|
+
autoRedirectToIdentity: "auto_redirect_to_identity",
|
|
9895
|
+
corsHeaders: "cors_headers",
|
|
9896
|
+
customDenyMessage: "custom_deny_message",
|
|
9897
|
+
customDenyUrl: "custom_deny_url",
|
|
9898
|
+
customNonIdentityDenyUrl: "custom_non_identity_deny_url",
|
|
9899
|
+
customPages: "custom_pages",
|
|
9900
|
+
destinations: "destinations",
|
|
9901
|
+
enableBindingCookie: "enable_binding_cookie",
|
|
9902
|
+
httpOnlyCookieAttribute: "http_only_cookie_attribute",
|
|
9903
|
+
logoUrl: "logo_url",
|
|
9904
|
+
name: "name",
|
|
9905
|
+
optionsPreflightBypass: "options_preflight_bypass",
|
|
9906
|
+
pathCookieAttribute: "path_cookie_attribute",
|
|
9907
|
+
policies: "policies",
|
|
9908
|
+
readServiceTokensFromHeader: "read_service_tokens_from_header",
|
|
9909
|
+
sameSiteCookieAttribute: "same_site_cookie_attribute",
|
|
9910
|
+
scimConfig: "scim_config",
|
|
9911
|
+
selfHostedDomains: "self_hosted_domains",
|
|
9912
|
+
serviceAuth_401Redirect: "service_auth_401_redirect",
|
|
9913
|
+
sessionDuration: "session_duration",
|
|
9914
|
+
skipInterstitial: "skip_interstitial",
|
|
9915
|
+
tags: "tags",
|
|
9916
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/access/apps" }));
|
|
9838
9917
|
export const CreateAccessApplicationResponse =
|
|
9839
9918
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
9840
9919
|
Schema.Struct({
|
|
@@ -14218,15 +14297,18 @@ export const CreateAccessApplicationResponse =
|
|
|
14218
14297
|
type: "type",
|
|
14219
14298
|
})),
|
|
14220
14299
|
]).pipe(T.ResponsePath("result"));
|
|
14221
|
-
export const
|
|
14222
|
-
input:
|
|
14300
|
+
export const createAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14301
|
+
input: CreateAccessApplicationForAccountRequest,
|
|
14223
14302
|
output: CreateAccessApplicationResponse,
|
|
14224
14303
|
errors: [],
|
|
14225
14304
|
}));
|
|
14226
|
-
export const
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14305
|
+
export const createAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14306
|
+
input: CreateAccessApplicationForZoneRequest,
|
|
14307
|
+
output: CreateAccessApplicationResponse,
|
|
14308
|
+
errors: [],
|
|
14309
|
+
}));
|
|
14310
|
+
const UpdateAccessApplicationBaseFields = {
|
|
14311
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
14230
14312
|
domain: Schema.String,
|
|
14231
14313
|
type: Schema.Literals([
|
|
14232
14314
|
"self_hosted",
|
|
@@ -14456,6 +14538,11 @@ export const UpdateAccessApplicationRequest =
|
|
|
14456
14538
|
sessionDuration: Schema.optional(Schema.String),
|
|
14457
14539
|
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
14458
14540
|
tags: Schema.optional(Schema.Array(Schema.String)),
|
|
14541
|
+
};
|
|
14542
|
+
export const UpdateAccessApplicationForAccountRequest =
|
|
14543
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14544
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
14545
|
+
...UpdateAccessApplicationBaseFields,
|
|
14459
14546
|
}).pipe(Schema.encodeKeys({
|
|
14460
14547
|
domain: "domain",
|
|
14461
14548
|
type: "type",
|
|
@@ -14487,8 +14574,42 @@ export const UpdateAccessApplicationRequest =
|
|
|
14487
14574
|
tags: "tags",
|
|
14488
14575
|
}), T.Http({
|
|
14489
14576
|
method: "PUT",
|
|
14490
|
-
path: "/
|
|
14577
|
+
path: "/accounts/{account_id}/access/apps/{appId}",
|
|
14491
14578
|
}));
|
|
14579
|
+
export const UpdateAccessApplicationForZoneRequest =
|
|
14580
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14581
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
14582
|
+
...UpdateAccessApplicationBaseFields,
|
|
14583
|
+
}).pipe(Schema.encodeKeys({
|
|
14584
|
+
domain: "domain",
|
|
14585
|
+
type: "type",
|
|
14586
|
+
allowAuthenticateViaWarp: "allow_authenticate_via_warp",
|
|
14587
|
+
allowIframe: "allow_iframe",
|
|
14588
|
+
allowedIdps: "allowed_idps",
|
|
14589
|
+
appLauncherVisible: "app_launcher_visible",
|
|
14590
|
+
autoRedirectToIdentity: "auto_redirect_to_identity",
|
|
14591
|
+
corsHeaders: "cors_headers",
|
|
14592
|
+
customDenyMessage: "custom_deny_message",
|
|
14593
|
+
customDenyUrl: "custom_deny_url",
|
|
14594
|
+
customNonIdentityDenyUrl: "custom_non_identity_deny_url",
|
|
14595
|
+
customPages: "custom_pages",
|
|
14596
|
+
destinations: "destinations",
|
|
14597
|
+
enableBindingCookie: "enable_binding_cookie",
|
|
14598
|
+
httpOnlyCookieAttribute: "http_only_cookie_attribute",
|
|
14599
|
+
logoUrl: "logo_url",
|
|
14600
|
+
name: "name",
|
|
14601
|
+
optionsPreflightBypass: "options_preflight_bypass",
|
|
14602
|
+
pathCookieAttribute: "path_cookie_attribute",
|
|
14603
|
+
policies: "policies",
|
|
14604
|
+
readServiceTokensFromHeader: "read_service_tokens_from_header",
|
|
14605
|
+
sameSiteCookieAttribute: "same_site_cookie_attribute",
|
|
14606
|
+
scimConfig: "scim_config",
|
|
14607
|
+
selfHostedDomains: "self_hosted_domains",
|
|
14608
|
+
serviceAuth_401Redirect: "service_auth_401_redirect",
|
|
14609
|
+
sessionDuration: "session_duration",
|
|
14610
|
+
skipInterstitial: "skip_interstitial",
|
|
14611
|
+
tags: "tags",
|
|
14612
|
+
}), T.Http({ method: "PUT", path: "/zones/{zone_id}/access/apps/{appId}" }));
|
|
14492
14613
|
export const UpdateAccessApplicationResponse =
|
|
14493
14614
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
14494
14615
|
Schema.Struct({
|
|
@@ -18872,32 +18993,65 @@ export const UpdateAccessApplicationResponse =
|
|
|
18872
18993
|
type: "type",
|
|
18873
18994
|
})),
|
|
18874
18995
|
]).pipe(T.ResponsePath("result"));
|
|
18875
|
-
export const
|
|
18876
|
-
input:
|
|
18996
|
+
export const updateAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18997
|
+
input: UpdateAccessApplicationForAccountRequest,
|
|
18998
|
+
output: UpdateAccessApplicationResponse,
|
|
18999
|
+
errors: [],
|
|
19000
|
+
}));
|
|
19001
|
+
export const updateAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19002
|
+
input: UpdateAccessApplicationForZoneRequest,
|
|
18877
19003
|
output: UpdateAccessApplicationResponse,
|
|
18878
19004
|
errors: [],
|
|
18879
19005
|
}));
|
|
18880
|
-
|
|
18881
|
-
|
|
19006
|
+
const DeleteAccessApplicationBaseFields = {
|
|
19007
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
19008
|
+
};
|
|
19009
|
+
export const DeleteAccessApplicationForAccountRequest =
|
|
19010
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19011
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19012
|
+
...DeleteAccessApplicationBaseFields,
|
|
19013
|
+
}).pipe(T.Http({
|
|
18882
19014
|
method: "DELETE",
|
|
18883
|
-
path: "/
|
|
19015
|
+
path: "/accounts/{account_id}/access/apps/{appId}",
|
|
18884
19016
|
}));
|
|
19017
|
+
export const DeleteAccessApplicationForZoneRequest =
|
|
19018
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19019
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19020
|
+
...DeleteAccessApplicationBaseFields,
|
|
19021
|
+
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/access/apps/{appId}" }));
|
|
18885
19022
|
export const DeleteAccessApplicationResponse =
|
|
18886
19023
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18887
19024
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
18888
19025
|
}).pipe(T.ResponsePath("result"));
|
|
18889
|
-
export const
|
|
18890
|
-
input:
|
|
19026
|
+
export const deleteAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19027
|
+
input: DeleteAccessApplicationForAccountRequest,
|
|
18891
19028
|
output: DeleteAccessApplicationResponse,
|
|
18892
19029
|
errors: [],
|
|
18893
19030
|
}));
|
|
18894
|
-
export const
|
|
18895
|
-
|
|
19031
|
+
export const deleteAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19032
|
+
input: DeleteAccessApplicationForZoneRequest,
|
|
19033
|
+
output: DeleteAccessApplicationResponse,
|
|
19034
|
+
errors: [],
|
|
19035
|
+
}));
|
|
19036
|
+
// =============================================================================
|
|
19037
|
+
// AccessApplicationCa
|
|
19038
|
+
// =============================================================================
|
|
19039
|
+
const GetAccessApplicationCaBaseFields = {
|
|
18896
19040
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
19041
|
+
};
|
|
19042
|
+
export const GetAccessApplicationCaForAccountRequest =
|
|
19043
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19044
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19045
|
+
...GetAccessApplicationCaBaseFields,
|
|
18897
19046
|
}).pipe(T.Http({
|
|
18898
19047
|
method: "GET",
|
|
18899
|
-
path: "/
|
|
19048
|
+
path: "/accounts/{account_id}/access/apps/{appId}/ca",
|
|
18900
19049
|
}));
|
|
19050
|
+
export const GetAccessApplicationCaForZoneRequest =
|
|
19051
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19052
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19053
|
+
...GetAccessApplicationCaBaseFields,
|
|
19054
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/apps/{appId}/ca" }));
|
|
18901
19055
|
export const GetAccessApplicationCaResponse =
|
|
18902
19056
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18903
19057
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -18906,16 +19060,27 @@ export const GetAccessApplicationCaResponse =
|
|
|
18906
19060
|
})
|
|
18907
19061
|
.pipe(Schema.encodeKeys({ id: "id", aud: "aud", publicKey: "public_key" }))
|
|
18908
19062
|
.pipe(T.ResponsePath("result"));
|
|
18909
|
-
export const
|
|
18910
|
-
input:
|
|
19063
|
+
export const getAccessApplicationCaForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19064
|
+
input: GetAccessApplicationCaForAccountRequest,
|
|
18911
19065
|
output: GetAccessApplicationCaResponse,
|
|
18912
19066
|
errors: [],
|
|
18913
19067
|
}));
|
|
18914
|
-
export const
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
19068
|
+
export const getAccessApplicationCaForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19069
|
+
input: GetAccessApplicationCaForZoneRequest,
|
|
19070
|
+
output: GetAccessApplicationCaResponse,
|
|
19071
|
+
errors: [],
|
|
18918
19072
|
}));
|
|
19073
|
+
const ListAccessApplicationCasBaseFields = {};
|
|
19074
|
+
export const ListAccessApplicationCasForAccountRequest =
|
|
19075
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19076
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19077
|
+
...ListAccessApplicationCasBaseFields,
|
|
19078
|
+
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/access/apps/ca" }));
|
|
19079
|
+
export const ListAccessApplicationCasForZoneRequest =
|
|
19080
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19081
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19082
|
+
...ListAccessApplicationCasBaseFields,
|
|
19083
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/apps/ca" }));
|
|
18919
19084
|
export const ListAccessApplicationCasResponse =
|
|
18920
19085
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18921
19086
|
result: Schema.Array(Schema.Struct({
|
|
@@ -18923,20 +19088,23 @@ export const ListAccessApplicationCasResponse =
|
|
|
18923
19088
|
aud: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
18924
19089
|
publicKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
18925
19090
|
}).pipe(Schema.encodeKeys({ id: "id", aud: "aud", publicKey: "public_key" }))),
|
|
18926
|
-
resultInfo: Schema.
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
19091
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
19092
|
+
Schema.Struct({
|
|
19093
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
19094
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
19095
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
19096
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
19097
|
+
}).pipe(Schema.encodeKeys({
|
|
19098
|
+
count: "count",
|
|
19099
|
+
page: "page",
|
|
19100
|
+
perPage: "per_page",
|
|
19101
|
+
totalCount: "total_count",
|
|
19102
|
+
})),
|
|
19103
|
+
Schema.Null,
|
|
19104
|
+
])),
|
|
18937
19105
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
18938
|
-
export const
|
|
18939
|
-
input:
|
|
19106
|
+
export const listAccessApplicationCasForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
19107
|
+
input: ListAccessApplicationCasForAccountRequest,
|
|
18940
19108
|
output: ListAccessApplicationCasResponse,
|
|
18941
19109
|
errors: [],
|
|
18942
19110
|
pagination: {
|
|
@@ -18947,13 +19115,34 @@ export const listAccessApplicationCas = /*@__PURE__*/ /*#__PURE__*/ API.makePagi
|
|
|
18947
19115
|
pageSize: "perPage",
|
|
18948
19116
|
},
|
|
18949
19117
|
}));
|
|
18950
|
-
export const
|
|
18951
|
-
|
|
19118
|
+
export const listAccessApplicationCasForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
19119
|
+
input: ListAccessApplicationCasForZoneRequest,
|
|
19120
|
+
output: ListAccessApplicationCasResponse,
|
|
19121
|
+
errors: [],
|
|
19122
|
+
pagination: {
|
|
19123
|
+
mode: "page",
|
|
19124
|
+
inputToken: "page",
|
|
19125
|
+
outputToken: "resultInfo.page",
|
|
19126
|
+
items: "result",
|
|
19127
|
+
pageSize: "perPage",
|
|
19128
|
+
},
|
|
19129
|
+
}));
|
|
19130
|
+
const CreateAccessApplicationCaBaseFields = {
|
|
18952
19131
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
19132
|
+
};
|
|
19133
|
+
export const CreateAccessApplicationCaForAccountRequest =
|
|
19134
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19135
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19136
|
+
...CreateAccessApplicationCaBaseFields,
|
|
18953
19137
|
}).pipe(T.Http({
|
|
18954
19138
|
method: "POST",
|
|
18955
|
-
path: "/
|
|
19139
|
+
path: "/accounts/{account_id}/access/apps/{appId}/ca",
|
|
18956
19140
|
}));
|
|
19141
|
+
export const CreateAccessApplicationCaForZoneRequest =
|
|
19142
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19143
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19144
|
+
...CreateAccessApplicationCaBaseFields,
|
|
19145
|
+
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/access/apps/{appId}/ca" }));
|
|
18957
19146
|
export const CreateAccessApplicationCaResponse =
|
|
18958
19147
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18959
19148
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -18962,34 +19151,71 @@ export const CreateAccessApplicationCaResponse =
|
|
|
18962
19151
|
})
|
|
18963
19152
|
.pipe(Schema.encodeKeys({ id: "id", aud: "aud", publicKey: "public_key" }))
|
|
18964
19153
|
.pipe(T.ResponsePath("result"));
|
|
18965
|
-
export const
|
|
18966
|
-
input:
|
|
19154
|
+
export const createAccessApplicationCaForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19155
|
+
input: CreateAccessApplicationCaForAccountRequest,
|
|
18967
19156
|
output: CreateAccessApplicationCaResponse,
|
|
18968
19157
|
errors: [],
|
|
18969
19158
|
}));
|
|
18970
|
-
export const
|
|
18971
|
-
|
|
19159
|
+
export const createAccessApplicationCaForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19160
|
+
input: CreateAccessApplicationCaForZoneRequest,
|
|
19161
|
+
output: CreateAccessApplicationCaResponse,
|
|
19162
|
+
errors: [],
|
|
19163
|
+
}));
|
|
19164
|
+
const DeleteAccessApplicationCaBaseFields = {
|
|
18972
19165
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
19166
|
+
};
|
|
19167
|
+
export const DeleteAccessApplicationCaForAccountRequest =
|
|
19168
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19169
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19170
|
+
...DeleteAccessApplicationCaBaseFields,
|
|
19171
|
+
}).pipe(T.Http({
|
|
19172
|
+
method: "DELETE",
|
|
19173
|
+
path: "/accounts/{account_id}/access/apps/{appId}/ca",
|
|
19174
|
+
}));
|
|
19175
|
+
export const DeleteAccessApplicationCaForZoneRequest =
|
|
19176
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19177
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19178
|
+
...DeleteAccessApplicationCaBaseFields,
|
|
18973
19179
|
}).pipe(T.Http({
|
|
18974
19180
|
method: "DELETE",
|
|
18975
|
-
path: "/
|
|
19181
|
+
path: "/zones/{zone_id}/access/apps/{appId}/ca",
|
|
18976
19182
|
}));
|
|
18977
19183
|
export const DeleteAccessApplicationCaResponse =
|
|
18978
19184
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
18979
19185
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
18980
19186
|
}).pipe(T.ResponsePath("result"));
|
|
18981
|
-
export const
|
|
18982
|
-
input:
|
|
19187
|
+
export const deleteAccessApplicationCaForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19188
|
+
input: DeleteAccessApplicationCaForAccountRequest,
|
|
18983
19189
|
output: DeleteAccessApplicationCaResponse,
|
|
18984
19190
|
errors: [],
|
|
18985
19191
|
}));
|
|
18986
|
-
export const
|
|
18987
|
-
|
|
19192
|
+
export const deleteAccessApplicationCaForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19193
|
+
input: DeleteAccessApplicationCaForZoneRequest,
|
|
19194
|
+
output: DeleteAccessApplicationCaResponse,
|
|
19195
|
+
errors: [],
|
|
19196
|
+
}));
|
|
19197
|
+
// =============================================================================
|
|
19198
|
+
// AccessApplicationPolicy
|
|
19199
|
+
// =============================================================================
|
|
19200
|
+
const GetAccessApplicationPolicyBaseFields = {
|
|
18988
19201
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
18989
19202
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
19203
|
+
};
|
|
19204
|
+
export const GetAccessApplicationPolicyForAccountRequest =
|
|
19205
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19206
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19207
|
+
...GetAccessApplicationPolicyBaseFields,
|
|
19208
|
+
}).pipe(T.Http({
|
|
19209
|
+
method: "GET",
|
|
19210
|
+
path: "/accounts/{account_id}/access/apps/{appId}/policies/{policyId}",
|
|
19211
|
+
}));
|
|
19212
|
+
export const GetAccessApplicationPolicyForZoneRequest =
|
|
19213
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19214
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19215
|
+
...GetAccessApplicationPolicyBaseFields,
|
|
18990
19216
|
}).pipe(T.Http({
|
|
18991
19217
|
method: "GET",
|
|
18992
|
-
path: "/
|
|
19218
|
+
path: "/zones/{zone_id}/access/apps/{appId}/policies/{policyId}",
|
|
18993
19219
|
}));
|
|
18994
19220
|
export const GetAccessApplicationPolicyResponse =
|
|
18995
19221
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -19521,17 +19747,34 @@ export const GetAccessApplicationPolicyResponse =
|
|
|
19521
19747
|
updatedAt: "updated_at",
|
|
19522
19748
|
}))
|
|
19523
19749
|
.pipe(T.ResponsePath("result"));
|
|
19524
|
-
export const
|
|
19525
|
-
input:
|
|
19750
|
+
export const getAccessApplicationPolicyForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19751
|
+
input: GetAccessApplicationPolicyForAccountRequest,
|
|
19526
19752
|
output: GetAccessApplicationPolicyResponse,
|
|
19527
19753
|
errors: [],
|
|
19528
19754
|
}));
|
|
19529
|
-
export const
|
|
19530
|
-
|
|
19755
|
+
export const getAccessApplicationPolicyForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19756
|
+
input: GetAccessApplicationPolicyForZoneRequest,
|
|
19757
|
+
output: GetAccessApplicationPolicyResponse,
|
|
19758
|
+
errors: [],
|
|
19759
|
+
}));
|
|
19760
|
+
const ListAccessApplicationPoliciesBaseFields = {
|
|
19531
19761
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
19762
|
+
};
|
|
19763
|
+
export const ListAccessApplicationPoliciesForAccountRequest =
|
|
19764
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19765
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
19766
|
+
...ListAccessApplicationPoliciesBaseFields,
|
|
19532
19767
|
}).pipe(T.Http({
|
|
19533
19768
|
method: "GET",
|
|
19534
|
-
path: "/
|
|
19769
|
+
path: "/accounts/{account_id}/access/apps/{appId}/policies",
|
|
19770
|
+
}));
|
|
19771
|
+
export const ListAccessApplicationPoliciesForZoneRequest =
|
|
19772
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19773
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
19774
|
+
...ListAccessApplicationPoliciesBaseFields,
|
|
19775
|
+
}).pipe(T.Http({
|
|
19776
|
+
method: "GET",
|
|
19777
|
+
path: "/zones/{zone_id}/access/apps/{appId}/policies",
|
|
19535
19778
|
}));
|
|
19536
19779
|
export const ListAccessApplicationPoliciesResponse =
|
|
19537
19780
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -20074,20 +20317,23 @@ export const ListAccessApplicationPoliciesResponse =
|
|
|
20074
20317
|
sessionDuration: "session_duration",
|
|
20075
20318
|
updatedAt: "updated_at",
|
|
20076
20319
|
}))),
|
|
20077
|
-
resultInfo: Schema.
|
|
20078
|
-
|
|
20079
|
-
|
|
20080
|
-
|
|
20081
|
-
|
|
20082
|
-
|
|
20083
|
-
|
|
20084
|
-
|
|
20085
|
-
|
|
20086
|
-
|
|
20087
|
-
|
|
20320
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
20321
|
+
Schema.Struct({
|
|
20322
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
20323
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
20324
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
20325
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
20326
|
+
}).pipe(Schema.encodeKeys({
|
|
20327
|
+
count: "count",
|
|
20328
|
+
page: "page",
|
|
20329
|
+
perPage: "per_page",
|
|
20330
|
+
totalCount: "total_count",
|
|
20331
|
+
})),
|
|
20332
|
+
Schema.Null,
|
|
20333
|
+
])),
|
|
20088
20334
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
20089
|
-
export const
|
|
20090
|
-
input:
|
|
20335
|
+
export const listAccessApplicationPoliciesForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
20336
|
+
input: ListAccessApplicationPoliciesForAccountRequest,
|
|
20091
20337
|
output: ListAccessApplicationPoliciesResponse,
|
|
20092
20338
|
errors: [],
|
|
20093
20339
|
pagination: {
|
|
@@ -20098,11 +20344,20 @@ export const listAccessApplicationPolicies = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
20098
20344
|
pageSize: "perPage",
|
|
20099
20345
|
},
|
|
20100
20346
|
}));
|
|
20101
|
-
export const
|
|
20102
|
-
|
|
20347
|
+
export const listAccessApplicationPoliciesForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
20348
|
+
input: ListAccessApplicationPoliciesForZoneRequest,
|
|
20349
|
+
output: ListAccessApplicationPoliciesResponse,
|
|
20350
|
+
errors: [],
|
|
20351
|
+
pagination: {
|
|
20352
|
+
mode: "page",
|
|
20353
|
+
inputToken: "page",
|
|
20354
|
+
outputToken: "resultInfo.page",
|
|
20355
|
+
items: "result",
|
|
20356
|
+
pageSize: "perPage",
|
|
20357
|
+
},
|
|
20358
|
+
}));
|
|
20359
|
+
const CreateAccessApplicationPolicyBaseFields = {
|
|
20103
20360
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
20104
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
20105
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
20106
20361
|
approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
|
|
20107
20362
|
approvalsNeeded: Schema.Number,
|
|
20108
20363
|
emailAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -20118,6 +20373,11 @@ export const CreateAccessApplicationPolicyRequest =
|
|
|
20118
20373
|
purposeJustificationPrompt: Schema.optional(Schema.String),
|
|
20119
20374
|
purposeJustificationRequired: Schema.optional(Schema.Boolean),
|
|
20120
20375
|
sessionDuration: Schema.optional(Schema.String),
|
|
20376
|
+
};
|
|
20377
|
+
export const CreateAccessApplicationPolicyForAccountRequest =
|
|
20378
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20379
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
20380
|
+
...CreateAccessApplicationPolicyBaseFields,
|
|
20121
20381
|
}).pipe(Schema.encodeKeys({
|
|
20122
20382
|
approvalGroups: "approval_groups",
|
|
20123
20383
|
approvalRequired: "approval_required",
|
|
@@ -20128,7 +20388,23 @@ export const CreateAccessApplicationPolicyRequest =
|
|
|
20128
20388
|
sessionDuration: "session_duration",
|
|
20129
20389
|
}), T.Http({
|
|
20130
20390
|
method: "POST",
|
|
20131
|
-
path: "/
|
|
20391
|
+
path: "/accounts/{account_id}/access/apps/{appId}/policies",
|
|
20392
|
+
}));
|
|
20393
|
+
export const CreateAccessApplicationPolicyForZoneRequest =
|
|
20394
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20395
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
20396
|
+
...CreateAccessApplicationPolicyBaseFields,
|
|
20397
|
+
}).pipe(Schema.encodeKeys({
|
|
20398
|
+
approvalGroups: "approval_groups",
|
|
20399
|
+
approvalRequired: "approval_required",
|
|
20400
|
+
isolationRequired: "isolation_required",
|
|
20401
|
+
precedence: "precedence",
|
|
20402
|
+
purposeJustificationPrompt: "purpose_justification_prompt",
|
|
20403
|
+
purposeJustificationRequired: "purpose_justification_required",
|
|
20404
|
+
sessionDuration: "session_duration",
|
|
20405
|
+
}), T.Http({
|
|
20406
|
+
method: "POST",
|
|
20407
|
+
path: "/zones/{zone_id}/access/apps/{appId}/policies",
|
|
20132
20408
|
}));
|
|
20133
20409
|
export const CreateAccessApplicationPolicyResponse =
|
|
20134
20410
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -20660,17 +20936,19 @@ export const CreateAccessApplicationPolicyResponse =
|
|
|
20660
20936
|
updatedAt: "updated_at",
|
|
20661
20937
|
}))
|
|
20662
20938
|
.pipe(T.ResponsePath("result"));
|
|
20663
|
-
export const
|
|
20664
|
-
input:
|
|
20939
|
+
export const createAccessApplicationPolicyForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20940
|
+
input: CreateAccessApplicationPolicyForAccountRequest,
|
|
20665
20941
|
output: CreateAccessApplicationPolicyResponse,
|
|
20666
20942
|
errors: [],
|
|
20667
20943
|
}));
|
|
20668
|
-
export const
|
|
20669
|
-
|
|
20944
|
+
export const createAccessApplicationPolicyForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20945
|
+
input: CreateAccessApplicationPolicyForZoneRequest,
|
|
20946
|
+
output: CreateAccessApplicationPolicyResponse,
|
|
20947
|
+
errors: [],
|
|
20948
|
+
}));
|
|
20949
|
+
const UpdateAccessApplicationPolicyBaseFields = {
|
|
20670
20950
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
20671
20951
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
20672
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
20673
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
20674
20952
|
approvalGroups: Schema.optional(Schema.Array(Schema.Struct({
|
|
20675
20953
|
approvalsNeeded: Schema.Number,
|
|
20676
20954
|
emailAddresses: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -20686,6 +20964,27 @@ export const UpdateAccessApplicationPolicyRequest =
|
|
|
20686
20964
|
purposeJustificationPrompt: Schema.optional(Schema.String),
|
|
20687
20965
|
purposeJustificationRequired: Schema.optional(Schema.Boolean),
|
|
20688
20966
|
sessionDuration: Schema.optional(Schema.String),
|
|
20967
|
+
};
|
|
20968
|
+
export const UpdateAccessApplicationPolicyForAccountRequest =
|
|
20969
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20970
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
20971
|
+
...UpdateAccessApplicationPolicyBaseFields,
|
|
20972
|
+
}).pipe(Schema.encodeKeys({
|
|
20973
|
+
approvalGroups: "approval_groups",
|
|
20974
|
+
approvalRequired: "approval_required",
|
|
20975
|
+
isolationRequired: "isolation_required",
|
|
20976
|
+
precedence: "precedence",
|
|
20977
|
+
purposeJustificationPrompt: "purpose_justification_prompt",
|
|
20978
|
+
purposeJustificationRequired: "purpose_justification_required",
|
|
20979
|
+
sessionDuration: "session_duration",
|
|
20980
|
+
}), T.Http({
|
|
20981
|
+
method: "PUT",
|
|
20982
|
+
path: "/accounts/{account_id}/access/apps/{appId}/policies/{policyId}",
|
|
20983
|
+
}));
|
|
20984
|
+
export const UpdateAccessApplicationPolicyForZoneRequest =
|
|
20985
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20986
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
20987
|
+
...UpdateAccessApplicationPolicyBaseFields,
|
|
20689
20988
|
}).pipe(Schema.encodeKeys({
|
|
20690
20989
|
approvalGroups: "approval_groups",
|
|
20691
20990
|
approvalRequired: "approval_required",
|
|
@@ -20696,7 +20995,7 @@ export const UpdateAccessApplicationPolicyRequest =
|
|
|
20696
20995
|
sessionDuration: "session_duration",
|
|
20697
20996
|
}), T.Http({
|
|
20698
20997
|
method: "PUT",
|
|
20699
|
-
path: "/
|
|
20998
|
+
path: "/zones/{zone_id}/access/apps/{appId}/policies/{policyId}",
|
|
20700
20999
|
}));
|
|
20701
21000
|
export const UpdateAccessApplicationPolicyResponse =
|
|
20702
21001
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -21228,25 +21527,47 @@ export const UpdateAccessApplicationPolicyResponse =
|
|
|
21228
21527
|
updatedAt: "updated_at",
|
|
21229
21528
|
}))
|
|
21230
21529
|
.pipe(T.ResponsePath("result"));
|
|
21231
|
-
export const
|
|
21232
|
-
input:
|
|
21530
|
+
export const updateAccessApplicationPolicyForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
21531
|
+
input: UpdateAccessApplicationPolicyForAccountRequest,
|
|
21233
21532
|
output: UpdateAccessApplicationPolicyResponse,
|
|
21234
21533
|
errors: [],
|
|
21235
21534
|
}));
|
|
21236
|
-
export const
|
|
21237
|
-
|
|
21535
|
+
export const updateAccessApplicationPolicyForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
21536
|
+
input: UpdateAccessApplicationPolicyForZoneRequest,
|
|
21537
|
+
output: UpdateAccessApplicationPolicyResponse,
|
|
21538
|
+
errors: [],
|
|
21539
|
+
}));
|
|
21540
|
+
const DeleteAccessApplicationPolicyBaseFields = {
|
|
21238
21541
|
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
21239
21542
|
policyId: Schema.String.pipe(T.HttpPath("policyId")),
|
|
21543
|
+
};
|
|
21544
|
+
export const DeleteAccessApplicationPolicyForAccountRequest =
|
|
21545
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21546
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
21547
|
+
...DeleteAccessApplicationPolicyBaseFields,
|
|
21548
|
+
}).pipe(T.Http({
|
|
21549
|
+
method: "DELETE",
|
|
21550
|
+
path: "/accounts/{account_id}/access/apps/{appId}/policies/{policyId}",
|
|
21551
|
+
}));
|
|
21552
|
+
export const DeleteAccessApplicationPolicyForZoneRequest =
|
|
21553
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21554
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
21555
|
+
...DeleteAccessApplicationPolicyBaseFields,
|
|
21240
21556
|
}).pipe(T.Http({
|
|
21241
21557
|
method: "DELETE",
|
|
21242
|
-
path: "/
|
|
21558
|
+
path: "/zones/{zone_id}/access/apps/{appId}/policies/{policyId}",
|
|
21243
21559
|
}));
|
|
21244
21560
|
export const DeleteAccessApplicationPolicyResponse =
|
|
21245
21561
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21246
21562
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
21247
21563
|
}).pipe(T.ResponsePath("result"));
|
|
21248
|
-
export const
|
|
21249
|
-
input:
|
|
21564
|
+
export const deleteAccessApplicationPolicyForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
21565
|
+
input: DeleteAccessApplicationPolicyForAccountRequest,
|
|
21566
|
+
output: DeleteAccessApplicationPolicyResponse,
|
|
21567
|
+
errors: [],
|
|
21568
|
+
}));
|
|
21569
|
+
export const deleteAccessApplicationPolicyForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
21570
|
+
input: DeleteAccessApplicationPolicyForZoneRequest,
|
|
21250
21571
|
output: DeleteAccessApplicationPolicyResponse,
|
|
21251
21572
|
errors: [],
|
|
21252
21573
|
}));
|
|
@@ -21855,17 +22176,20 @@ export const ListAccessApplicationPolicyTestUsersResponse =
|
|
|
21855
22176
|
Schema.Null,
|
|
21856
22177
|
])),
|
|
21857
22178
|
})),
|
|
21858
|
-
resultInfo: Schema.
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21862
|
-
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
|
|
21868
|
-
|
|
22179
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
22180
|
+
Schema.Struct({
|
|
22181
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22182
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22183
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22184
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22185
|
+
}).pipe(Schema.encodeKeys({
|
|
22186
|
+
count: "count",
|
|
22187
|
+
page: "page",
|
|
22188
|
+
perPage: "per_page",
|
|
22189
|
+
totalCount: "total_count",
|
|
22190
|
+
})),
|
|
22191
|
+
Schema.Null,
|
|
22192
|
+
])),
|
|
21869
22193
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
21870
22194
|
export const listAccessApplicationPolicyTestUsers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
21871
22195
|
input: ListAccessApplicationPolicyTestUsersRequest,
|
|
@@ -21879,18 +22203,35 @@ export const listAccessApplicationPolicyTestUsers = /*@__PURE__*/ /*#__PURE__*/
|
|
|
21879
22203
|
pageSize: "perPage",
|
|
21880
22204
|
},
|
|
21881
22205
|
}));
|
|
21882
|
-
|
|
22206
|
+
// =============================================================================
|
|
22207
|
+
// AccessApplicationSetting
|
|
22208
|
+
// =============================================================================
|
|
22209
|
+
const PutAccessApplicationSettingBaseFields = {
|
|
22210
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
22211
|
+
allowIframe: Schema.optional(Schema.Boolean),
|
|
22212
|
+
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
22213
|
+
};
|
|
22214
|
+
export const PutAccessApplicationSettingForAccountRequest =
|
|
21883
22215
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21884
22216
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22217
|
+
...PutAccessApplicationSettingBaseFields,
|
|
22218
|
+
}).pipe(Schema.encodeKeys({
|
|
22219
|
+
allowIframe: "allow_iframe",
|
|
22220
|
+
skipInterstitial: "skip_interstitial",
|
|
22221
|
+
}), T.Http({
|
|
22222
|
+
method: "PUT",
|
|
22223
|
+
path: "/accounts/{account_id}/access/apps/{appId}/settings",
|
|
22224
|
+
}));
|
|
22225
|
+
export const PutAccessApplicationSettingForZoneRequest =
|
|
22226
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21885
22227
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
21886
|
-
|
|
21887
|
-
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
22228
|
+
...PutAccessApplicationSettingBaseFields,
|
|
21888
22229
|
}).pipe(Schema.encodeKeys({
|
|
21889
22230
|
allowIframe: "allow_iframe",
|
|
21890
22231
|
skipInterstitial: "skip_interstitial",
|
|
21891
22232
|
}), T.Http({
|
|
21892
22233
|
method: "PUT",
|
|
21893
|
-
path: "/
|
|
22234
|
+
path: "/zones/{zone_id}/access/apps/{appId}/settings",
|
|
21894
22235
|
}));
|
|
21895
22236
|
export const PutAccessApplicationSettingResponse =
|
|
21896
22237
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -21902,23 +22243,42 @@ export const PutAccessApplicationSettingResponse =
|
|
|
21902
22243
|
skipInterstitial: "skip_interstitial",
|
|
21903
22244
|
}))
|
|
21904
22245
|
.pipe(T.ResponsePath("result"));
|
|
21905
|
-
export const
|
|
21906
|
-
input:
|
|
22246
|
+
export const putAccessApplicationSettingForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22247
|
+
input: PutAccessApplicationSettingForAccountRequest,
|
|
21907
22248
|
output: PutAccessApplicationSettingResponse,
|
|
21908
22249
|
errors: [],
|
|
21909
22250
|
}));
|
|
21910
|
-
export const
|
|
22251
|
+
export const putAccessApplicationSettingForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22252
|
+
input: PutAccessApplicationSettingForZoneRequest,
|
|
22253
|
+
output: PutAccessApplicationSettingResponse,
|
|
22254
|
+
errors: [],
|
|
22255
|
+
}));
|
|
22256
|
+
const PatchAccessApplicationSettingBaseFields = {
|
|
22257
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
22258
|
+
allowIframe: Schema.optional(Schema.Boolean),
|
|
22259
|
+
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
22260
|
+
};
|
|
22261
|
+
export const PatchAccessApplicationSettingForAccountRequest =
|
|
21911
22262
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21912
22263
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22264
|
+
...PatchAccessApplicationSettingBaseFields,
|
|
22265
|
+
}).pipe(Schema.encodeKeys({
|
|
22266
|
+
allowIframe: "allow_iframe",
|
|
22267
|
+
skipInterstitial: "skip_interstitial",
|
|
22268
|
+
}), T.Http({
|
|
22269
|
+
method: "PATCH",
|
|
22270
|
+
path: "/accounts/{account_id}/access/apps/{appId}/settings",
|
|
22271
|
+
}));
|
|
22272
|
+
export const PatchAccessApplicationSettingForZoneRequest =
|
|
22273
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21913
22274
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
21914
|
-
|
|
21915
|
-
skipInterstitial: Schema.optional(Schema.Boolean),
|
|
22275
|
+
...PatchAccessApplicationSettingBaseFields,
|
|
21916
22276
|
}).pipe(Schema.encodeKeys({
|
|
21917
22277
|
allowIframe: "allow_iframe",
|
|
21918
22278
|
skipInterstitial: "skip_interstitial",
|
|
21919
22279
|
}), T.Http({
|
|
21920
22280
|
method: "PATCH",
|
|
21921
|
-
path: "/
|
|
22281
|
+
path: "/zones/{zone_id}/access/apps/{appId}/settings",
|
|
21922
22282
|
}));
|
|
21923
22283
|
export const PatchAccessApplicationSettingResponse =
|
|
21924
22284
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -21930,15 +22290,37 @@ export const PatchAccessApplicationSettingResponse =
|
|
|
21930
22290
|
skipInterstitial: "skip_interstitial",
|
|
21931
22291
|
}))
|
|
21932
22292
|
.pipe(T.ResponsePath("result"));
|
|
21933
|
-
export const
|
|
21934
|
-
input:
|
|
22293
|
+
export const patchAccessApplicationSettingForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22294
|
+
input: PatchAccessApplicationSettingForAccountRequest,
|
|
22295
|
+
output: PatchAccessApplicationSettingResponse,
|
|
22296
|
+
errors: [],
|
|
22297
|
+
}));
|
|
22298
|
+
export const patchAccessApplicationSettingForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22299
|
+
input: PatchAccessApplicationSettingForZoneRequest,
|
|
21935
22300
|
output: PatchAccessApplicationSettingResponse,
|
|
21936
22301
|
errors: [],
|
|
21937
22302
|
}));
|
|
21938
|
-
|
|
21939
|
-
|
|
22303
|
+
// =============================================================================
|
|
22304
|
+
// AccessApplicationUserPolicyCheck
|
|
22305
|
+
// =============================================================================
|
|
22306
|
+
const ListAccessApplicationUserPolicyChecksBaseFields = {
|
|
22307
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
22308
|
+
};
|
|
22309
|
+
export const ListAccessApplicationUserPolicyChecksForAccountRequest =
|
|
22310
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22311
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22312
|
+
...ListAccessApplicationUserPolicyChecksBaseFields,
|
|
22313
|
+
}).pipe(T.Http({
|
|
22314
|
+
method: "GET",
|
|
22315
|
+
path: "/accounts/{account_id}/access/apps/{appId}/user_policy_checks",
|
|
22316
|
+
}));
|
|
22317
|
+
export const ListAccessApplicationUserPolicyChecksForZoneRequest =
|
|
22318
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22319
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22320
|
+
...ListAccessApplicationUserPolicyChecksBaseFields,
|
|
22321
|
+
}).pipe(T.Http({
|
|
21940
22322
|
method: "GET",
|
|
21941
|
-
path: "/
|
|
22323
|
+
path: "/zones/{zone_id}/access/apps/{appId}/user_policy_checks",
|
|
21942
22324
|
}));
|
|
21943
22325
|
export const ListAccessApplicationUserPolicyChecksResponse =
|
|
21944
22326
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -21999,8 +22381,13 @@ export const ListAccessApplicationUserPolicyChecksResponse =
|
|
|
21999
22381
|
userIdentity: "user_identity",
|
|
22000
22382
|
}))
|
|
22001
22383
|
.pipe(T.ResponsePath("result"));
|
|
22002
|
-
export const
|
|
22003
|
-
input:
|
|
22384
|
+
export const listAccessApplicationUserPolicyChecksForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22385
|
+
input: ListAccessApplicationUserPolicyChecksForAccountRequest,
|
|
22386
|
+
output: ListAccessApplicationUserPolicyChecksResponse,
|
|
22387
|
+
errors: [],
|
|
22388
|
+
}));
|
|
22389
|
+
export const listAccessApplicationUserPolicyChecksForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22390
|
+
input: ListAccessApplicationUserPolicyChecksForZoneRequest,
|
|
22004
22391
|
output: ListAccessApplicationUserPolicyChecksResponse,
|
|
22005
22392
|
errors: [],
|
|
22006
22393
|
}));
|
|
@@ -22139,12 +22526,27 @@ export const deleteAccessBookmark = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
22139
22526
|
output: DeleteAccessBookmarkResponse,
|
|
22140
22527
|
errors: [],
|
|
22141
22528
|
}));
|
|
22142
|
-
|
|
22143
|
-
|
|
22529
|
+
// =============================================================================
|
|
22530
|
+
// AccessCertificate
|
|
22531
|
+
// =============================================================================
|
|
22532
|
+
const GetAccessCertificateBaseFields = {
|
|
22144
22533
|
certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
|
|
22534
|
+
};
|
|
22535
|
+
export const GetAccessCertificateForAccountRequest =
|
|
22536
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22537
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22538
|
+
...GetAccessCertificateBaseFields,
|
|
22145
22539
|
}).pipe(T.Http({
|
|
22146
22540
|
method: "GET",
|
|
22147
|
-
path: "/
|
|
22541
|
+
path: "/accounts/{account_id}/access/certificates/{certificateId}",
|
|
22542
|
+
}));
|
|
22543
|
+
export const GetAccessCertificateForZoneRequest =
|
|
22544
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22545
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22546
|
+
...GetAccessCertificateBaseFields,
|
|
22547
|
+
}).pipe(T.Http({
|
|
22548
|
+
method: "GET",
|
|
22549
|
+
path: "/zones/{zone_id}/access/certificates/{certificateId}",
|
|
22148
22550
|
}));
|
|
22149
22551
|
export const GetAccessCertificateResponse =
|
|
22150
22552
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -22162,16 +22564,30 @@ export const GetAccessCertificateResponse =
|
|
|
22162
22564
|
name: "name",
|
|
22163
22565
|
}))
|
|
22164
22566
|
.pipe(T.ResponsePath("result"));
|
|
22165
|
-
export const
|
|
22166
|
-
input:
|
|
22567
|
+
export const getAccessCertificateForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22568
|
+
input: GetAccessCertificateForAccountRequest,
|
|
22569
|
+
output: GetAccessCertificateResponse,
|
|
22570
|
+
errors: [],
|
|
22571
|
+
}));
|
|
22572
|
+
export const getAccessCertificateForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22573
|
+
input: GetAccessCertificateForZoneRequest,
|
|
22167
22574
|
output: GetAccessCertificateResponse,
|
|
22168
22575
|
errors: [],
|
|
22169
22576
|
}));
|
|
22170
|
-
|
|
22171
|
-
|
|
22577
|
+
const ListAccessCertificatesBaseFields = {};
|
|
22578
|
+
export const ListAccessCertificatesForAccountRequest =
|
|
22579
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22580
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22581
|
+
...ListAccessCertificatesBaseFields,
|
|
22582
|
+
}).pipe(T.Http({
|
|
22172
22583
|
method: "GET",
|
|
22173
|
-
path: "/
|
|
22584
|
+
path: "/accounts/{account_id}/access/certificates",
|
|
22174
22585
|
}));
|
|
22586
|
+
export const ListAccessCertificatesForZoneRequest =
|
|
22587
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22588
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22589
|
+
...ListAccessCertificatesBaseFields,
|
|
22590
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/certificates" }));
|
|
22175
22591
|
export const ListAccessCertificatesResponse =
|
|
22176
22592
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22177
22593
|
result: Schema.Array(Schema.Struct({
|
|
@@ -22187,20 +22603,23 @@ export const ListAccessCertificatesResponse =
|
|
|
22187
22603
|
fingerprint: "fingerprint",
|
|
22188
22604
|
name: "name",
|
|
22189
22605
|
}))),
|
|
22190
|
-
resultInfo: Schema.
|
|
22191
|
-
|
|
22192
|
-
|
|
22193
|
-
|
|
22194
|
-
|
|
22195
|
-
|
|
22196
|
-
|
|
22197
|
-
|
|
22198
|
-
|
|
22199
|
-
|
|
22200
|
-
|
|
22606
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
22607
|
+
Schema.Struct({
|
|
22608
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22609
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22610
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22611
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22612
|
+
}).pipe(Schema.encodeKeys({
|
|
22613
|
+
count: "count",
|
|
22614
|
+
page: "page",
|
|
22615
|
+
perPage: "per_page",
|
|
22616
|
+
totalCount: "total_count",
|
|
22617
|
+
})),
|
|
22618
|
+
Schema.Null,
|
|
22619
|
+
])),
|
|
22201
22620
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
22202
|
-
export const
|
|
22203
|
-
input:
|
|
22621
|
+
export const listAccessCertificatesForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22622
|
+
input: ListAccessCertificatesForAccountRequest,
|
|
22204
22623
|
output: ListAccessCertificatesResponse,
|
|
22205
22624
|
errors: [],
|
|
22206
22625
|
pagination: {
|
|
@@ -22211,21 +22630,44 @@ export const listAccessCertificates = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
22211
22630
|
pageSize: "perPage",
|
|
22212
22631
|
},
|
|
22213
22632
|
}));
|
|
22214
|
-
export const
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22633
|
+
export const listAccessCertificatesForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22634
|
+
input: ListAccessCertificatesForZoneRequest,
|
|
22635
|
+
output: ListAccessCertificatesResponse,
|
|
22636
|
+
errors: [],
|
|
22637
|
+
pagination: {
|
|
22638
|
+
mode: "page",
|
|
22639
|
+
inputToken: "page",
|
|
22640
|
+
outputToken: "resultInfo.page",
|
|
22641
|
+
items: "result",
|
|
22642
|
+
pageSize: "perPage",
|
|
22643
|
+
},
|
|
22644
|
+
}));
|
|
22645
|
+
const CreateAccessCertificateBaseFields = {
|
|
22218
22646
|
certificate: Schema.String,
|
|
22219
22647
|
name: Schema.String,
|
|
22220
22648
|
associatedHostnames: Schema.optional(Schema.Array(Schema.String)),
|
|
22649
|
+
};
|
|
22650
|
+
export const CreateAccessCertificateForAccountRequest =
|
|
22651
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22652
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22653
|
+
...CreateAccessCertificateBaseFields,
|
|
22221
22654
|
}).pipe(Schema.encodeKeys({
|
|
22222
22655
|
certificate: "certificate",
|
|
22223
22656
|
name: "name",
|
|
22224
22657
|
associatedHostnames: "associated_hostnames",
|
|
22225
22658
|
}), T.Http({
|
|
22226
22659
|
method: "POST",
|
|
22227
|
-
path: "/
|
|
22660
|
+
path: "/accounts/{account_id}/access/certificates",
|
|
22228
22661
|
}));
|
|
22662
|
+
export const CreateAccessCertificateForZoneRequest =
|
|
22663
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22664
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22665
|
+
...CreateAccessCertificateBaseFields,
|
|
22666
|
+
}).pipe(Schema.encodeKeys({
|
|
22667
|
+
certificate: "certificate",
|
|
22668
|
+
name: "name",
|
|
22669
|
+
associatedHostnames: "associated_hostnames",
|
|
22670
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/access/certificates" }));
|
|
22229
22671
|
export const CreateAccessCertificateResponse =
|
|
22230
22672
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22231
22673
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -22242,24 +22684,42 @@ export const CreateAccessCertificateResponse =
|
|
|
22242
22684
|
name: "name",
|
|
22243
22685
|
}))
|
|
22244
22686
|
.pipe(T.ResponsePath("result"));
|
|
22245
|
-
export const
|
|
22246
|
-
input:
|
|
22687
|
+
export const createAccessCertificateForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22688
|
+
input: CreateAccessCertificateForAccountRequest,
|
|
22247
22689
|
output: CreateAccessCertificateResponse,
|
|
22248
22690
|
errors: [],
|
|
22249
22691
|
}));
|
|
22250
|
-
export const
|
|
22251
|
-
|
|
22692
|
+
export const createAccessCertificateForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22693
|
+
input: CreateAccessCertificateForZoneRequest,
|
|
22694
|
+
output: CreateAccessCertificateResponse,
|
|
22695
|
+
errors: [],
|
|
22696
|
+
}));
|
|
22697
|
+
const UpdateAccessCertificateBaseFields = {
|
|
22252
22698
|
certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
|
|
22253
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22254
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22255
22699
|
associatedHostnames: Schema.Array(Schema.String),
|
|
22256
22700
|
name: Schema.optional(Schema.String),
|
|
22701
|
+
};
|
|
22702
|
+
export const UpdateAccessCertificateForAccountRequest =
|
|
22703
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22704
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22705
|
+
...UpdateAccessCertificateBaseFields,
|
|
22706
|
+
}).pipe(Schema.encodeKeys({
|
|
22707
|
+
associatedHostnames: "associated_hostnames",
|
|
22708
|
+
name: "name",
|
|
22709
|
+
}), T.Http({
|
|
22710
|
+
method: "PUT",
|
|
22711
|
+
path: "/accounts/{account_id}/access/certificates/{certificateId}",
|
|
22712
|
+
}));
|
|
22713
|
+
export const UpdateAccessCertificateForZoneRequest =
|
|
22714
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22715
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22716
|
+
...UpdateAccessCertificateBaseFields,
|
|
22257
22717
|
}).pipe(Schema.encodeKeys({
|
|
22258
22718
|
associatedHostnames: "associated_hostnames",
|
|
22259
22719
|
name: "name",
|
|
22260
22720
|
}), T.Http({
|
|
22261
22721
|
method: "PUT",
|
|
22262
|
-
path: "/
|
|
22722
|
+
path: "/zones/{zone_id}/access/certificates/{certificateId}",
|
|
22263
22723
|
}));
|
|
22264
22724
|
export const UpdateAccessCertificateResponse =
|
|
22265
22725
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -22277,31 +22737,68 @@ export const UpdateAccessCertificateResponse =
|
|
|
22277
22737
|
name: "name",
|
|
22278
22738
|
}))
|
|
22279
22739
|
.pipe(T.ResponsePath("result"));
|
|
22280
|
-
export const
|
|
22281
|
-
input:
|
|
22740
|
+
export const updateAccessCertificateForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22741
|
+
input: UpdateAccessCertificateForAccountRequest,
|
|
22282
22742
|
output: UpdateAccessCertificateResponse,
|
|
22283
22743
|
errors: [],
|
|
22284
22744
|
}));
|
|
22285
|
-
export const
|
|
22286
|
-
|
|
22745
|
+
export const updateAccessCertificateForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22746
|
+
input: UpdateAccessCertificateForZoneRequest,
|
|
22747
|
+
output: UpdateAccessCertificateResponse,
|
|
22748
|
+
errors: [],
|
|
22749
|
+
}));
|
|
22750
|
+
const DeleteAccessCertificateBaseFields = {
|
|
22287
22751
|
certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
|
|
22752
|
+
};
|
|
22753
|
+
export const DeleteAccessCertificateForAccountRequest =
|
|
22754
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22755
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22756
|
+
...DeleteAccessCertificateBaseFields,
|
|
22757
|
+
}).pipe(T.Http({
|
|
22758
|
+
method: "DELETE",
|
|
22759
|
+
path: "/accounts/{account_id}/access/certificates/{certificateId}",
|
|
22760
|
+
}));
|
|
22761
|
+
export const DeleteAccessCertificateForZoneRequest =
|
|
22762
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22763
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22764
|
+
...DeleteAccessCertificateBaseFields,
|
|
22288
22765
|
}).pipe(T.Http({
|
|
22289
22766
|
method: "DELETE",
|
|
22290
|
-
path: "/
|
|
22767
|
+
path: "/zones/{zone_id}/access/certificates/{certificateId}",
|
|
22291
22768
|
}));
|
|
22292
22769
|
export const DeleteAccessCertificateResponse =
|
|
22293
22770
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22294
22771
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
22295
22772
|
}).pipe(T.ResponsePath("result"));
|
|
22296
|
-
export const
|
|
22297
|
-
input:
|
|
22773
|
+
export const deleteAccessCertificateForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22774
|
+
input: DeleteAccessCertificateForAccountRequest,
|
|
22298
22775
|
output: DeleteAccessCertificateResponse,
|
|
22299
22776
|
errors: [],
|
|
22300
22777
|
}));
|
|
22301
|
-
export const
|
|
22302
|
-
|
|
22778
|
+
export const deleteAccessCertificateForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
22779
|
+
input: DeleteAccessCertificateForZoneRequest,
|
|
22780
|
+
output: DeleteAccessCertificateResponse,
|
|
22781
|
+
errors: [],
|
|
22782
|
+
}));
|
|
22783
|
+
// =============================================================================
|
|
22784
|
+
// AccessCertificateSetting
|
|
22785
|
+
// =============================================================================
|
|
22786
|
+
const GetAccessCertificateSettingBaseFields = {};
|
|
22787
|
+
export const GetAccessCertificateSettingForAccountRequest =
|
|
22788
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22789
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22790
|
+
...GetAccessCertificateSettingBaseFields,
|
|
22791
|
+
}).pipe(T.Http({
|
|
22303
22792
|
method: "GET",
|
|
22304
|
-
path: "/
|
|
22793
|
+
path: "/accounts/{account_id}/access/certificates/settings",
|
|
22794
|
+
}));
|
|
22795
|
+
export const GetAccessCertificateSettingForZoneRequest =
|
|
22796
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22797
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22798
|
+
...GetAccessCertificateSettingBaseFields,
|
|
22799
|
+
}).pipe(T.Http({
|
|
22800
|
+
method: "GET",
|
|
22801
|
+
path: "/zones/{zone_id}/access/certificates/settings",
|
|
22305
22802
|
}));
|
|
22306
22803
|
export const GetAccessCertificateSettingResponse =
|
|
22307
22804
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -22315,8 +22812,8 @@ export const GetAccessCertificateSettingResponse =
|
|
|
22315
22812
|
hostname: "hostname",
|
|
22316
22813
|
}))),
|
|
22317
22814
|
});
|
|
22318
|
-
export const
|
|
22319
|
-
input:
|
|
22815
|
+
export const getAccessCertificateSettingForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22816
|
+
input: GetAccessCertificateSettingForAccountRequest,
|
|
22320
22817
|
output: GetAccessCertificateSettingResponse,
|
|
22321
22818
|
errors: [],
|
|
22322
22819
|
pagination: {
|
|
@@ -22324,10 +22821,16 @@ export const getAccessCertificateSetting = /*@__PURE__*/ /*#__PURE__*/ API.makeP
|
|
|
22324
22821
|
items: "result",
|
|
22325
22822
|
},
|
|
22326
22823
|
}));
|
|
22327
|
-
export const
|
|
22328
|
-
|
|
22329
|
-
|
|
22330
|
-
|
|
22824
|
+
export const getAccessCertificateSettingForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22825
|
+
input: GetAccessCertificateSettingForZoneRequest,
|
|
22826
|
+
output: GetAccessCertificateSettingResponse,
|
|
22827
|
+
errors: [],
|
|
22828
|
+
pagination: {
|
|
22829
|
+
mode: "single",
|
|
22830
|
+
items: "result",
|
|
22831
|
+
},
|
|
22832
|
+
}));
|
|
22833
|
+
const PutAccessCertificateSettingBaseFields = {
|
|
22331
22834
|
settings: Schema.Array(Schema.Struct({
|
|
22332
22835
|
chinaNetwork: Schema.Boolean,
|
|
22333
22836
|
clientCertificateForwarding: Schema.Boolean,
|
|
@@ -22337,9 +22840,22 @@ export const PutAccessCertificateSettingRequest =
|
|
|
22337
22840
|
clientCertificateForwarding: "client_certificate_forwarding",
|
|
22338
22841
|
hostname: "hostname",
|
|
22339
22842
|
}))),
|
|
22843
|
+
};
|
|
22844
|
+
export const PutAccessCertificateSettingForAccountRequest =
|
|
22845
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22846
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
22847
|
+
...PutAccessCertificateSettingBaseFields,
|
|
22848
|
+
}).pipe(T.Http({
|
|
22849
|
+
method: "PUT",
|
|
22850
|
+
path: "/accounts/{account_id}/access/certificates/settings",
|
|
22851
|
+
}));
|
|
22852
|
+
export const PutAccessCertificateSettingForZoneRequest =
|
|
22853
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22854
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
22855
|
+
...PutAccessCertificateSettingBaseFields,
|
|
22340
22856
|
}).pipe(T.Http({
|
|
22341
22857
|
method: "PUT",
|
|
22342
|
-
path: "/
|
|
22858
|
+
path: "/zones/{zone_id}/access/certificates/settings",
|
|
22343
22859
|
}));
|
|
22344
22860
|
export const PutAccessCertificateSettingResponse =
|
|
22345
22861
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -22353,8 +22869,17 @@ export const PutAccessCertificateSettingResponse =
|
|
|
22353
22869
|
hostname: "hostname",
|
|
22354
22870
|
}))),
|
|
22355
22871
|
});
|
|
22356
|
-
export const
|
|
22357
|
-
input:
|
|
22872
|
+
export const putAccessCertificateSettingForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22873
|
+
input: PutAccessCertificateSettingForAccountRequest,
|
|
22874
|
+
output: PutAccessCertificateSettingResponse,
|
|
22875
|
+
errors: [],
|
|
22876
|
+
pagination: {
|
|
22877
|
+
mode: "single",
|
|
22878
|
+
items: "result",
|
|
22879
|
+
},
|
|
22880
|
+
}));
|
|
22881
|
+
export const putAccessCertificateSettingForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22882
|
+
input: PutAccessCertificateSettingForZoneRequest,
|
|
22358
22883
|
output: PutAccessCertificateSettingResponse,
|
|
22359
22884
|
errors: [],
|
|
22360
22885
|
pagination: {
|
|
@@ -22405,17 +22930,20 @@ export const ListAccessCustomPagesResponse =
|
|
|
22405
22930
|
type: Schema.Literals(["identity_denied", "forbidden"]),
|
|
22406
22931
|
uid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
22407
22932
|
})),
|
|
22408
|
-
resultInfo: Schema.
|
|
22409
|
-
|
|
22410
|
-
|
|
22411
|
-
|
|
22412
|
-
|
|
22413
|
-
|
|
22414
|
-
|
|
22415
|
-
|
|
22416
|
-
|
|
22417
|
-
|
|
22418
|
-
|
|
22933
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
22934
|
+
Schema.Struct({
|
|
22935
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22936
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22937
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22938
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
22939
|
+
}).pipe(Schema.encodeKeys({
|
|
22940
|
+
count: "count",
|
|
22941
|
+
page: "page",
|
|
22942
|
+
perPage: "per_page",
|
|
22943
|
+
totalCount: "total_count",
|
|
22944
|
+
})),
|
|
22945
|
+
Schema.Null,
|
|
22946
|
+
])),
|
|
22419
22947
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
22420
22948
|
export const listAccessCustomPages = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
22421
22949
|
input: ListAccessCustomPagesRequest,
|
|
@@ -22553,12 +23081,25 @@ export const deleteAccessGatewayCa = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
22553
23081
|
output: DeleteAccessGatewayCaResponse,
|
|
22554
23082
|
errors: [],
|
|
22555
23083
|
}));
|
|
22556
|
-
|
|
23084
|
+
// =============================================================================
|
|
23085
|
+
// AccessGroup
|
|
23086
|
+
// =============================================================================
|
|
23087
|
+
const GetAccessGroupBaseFields = {
|
|
22557
23088
|
groupId: Schema.String.pipe(T.HttpPath("groupId")),
|
|
23089
|
+
};
|
|
23090
|
+
export const GetAccessGroupForAccountRequest =
|
|
23091
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23092
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
23093
|
+
...GetAccessGroupBaseFields,
|
|
22558
23094
|
}).pipe(T.Http({
|
|
22559
23095
|
method: "GET",
|
|
22560
|
-
path: "/
|
|
23096
|
+
path: "/accounts/{account_id}/access/groups/{groupId}",
|
|
22561
23097
|
}));
|
|
23098
|
+
export const GetAccessGroupForZoneRequest =
|
|
23099
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23100
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
23101
|
+
...GetAccessGroupBaseFields,
|
|
23102
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/groups/{groupId}" }));
|
|
22562
23103
|
export const GetAccessGroupResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22563
23104
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
22564
23105
|
exclude: Schema.optional(Schema.Union([
|
|
@@ -23216,16 +23757,27 @@ export const GetAccessGroupResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
23216
23757
|
require: "require",
|
|
23217
23758
|
}))
|
|
23218
23759
|
.pipe(T.ResponsePath("result"));
|
|
23219
|
-
export const
|
|
23220
|
-
input:
|
|
23760
|
+
export const getAccessGroupForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
23761
|
+
input: GetAccessGroupForAccountRequest,
|
|
23221
23762
|
output: GetAccessGroupResponse,
|
|
23222
23763
|
errors: [],
|
|
23223
23764
|
}));
|
|
23224
|
-
export const
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23765
|
+
export const getAccessGroupForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
23766
|
+
input: GetAccessGroupForZoneRequest,
|
|
23767
|
+
output: GetAccessGroupResponse,
|
|
23768
|
+
errors: [],
|
|
23228
23769
|
}));
|
|
23770
|
+
const ListAccessGroupsBaseFields = {};
|
|
23771
|
+
export const ListAccessGroupsForAccountRequest =
|
|
23772
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23773
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
23774
|
+
...ListAccessGroupsBaseFields,
|
|
23775
|
+
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/access/groups" }));
|
|
23776
|
+
export const ListAccessGroupsForZoneRequest =
|
|
23777
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23778
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
23779
|
+
...ListAccessGroupsBaseFields,
|
|
23780
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/groups" }));
|
|
23229
23781
|
export const ListAccessGroupsResponse =
|
|
23230
23782
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23231
23783
|
result: Schema.Array(Schema.Struct({
|
|
@@ -23899,20 +24451,23 @@ export const ListAccessGroupsResponse =
|
|
|
23899
24451
|
name: "name",
|
|
23900
24452
|
require: "require",
|
|
23901
24453
|
}))),
|
|
23902
|
-
resultInfo: Schema.
|
|
23903
|
-
|
|
23904
|
-
|
|
23905
|
-
|
|
23906
|
-
|
|
23907
|
-
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
|
|
23911
|
-
|
|
23912
|
-
|
|
24454
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
24455
|
+
Schema.Struct({
|
|
24456
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
24457
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
24458
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
24459
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
24460
|
+
}).pipe(Schema.encodeKeys({
|
|
24461
|
+
count: "count",
|
|
24462
|
+
page: "page",
|
|
24463
|
+
perPage: "per_page",
|
|
24464
|
+
totalCount: "total_count",
|
|
24465
|
+
})),
|
|
24466
|
+
Schema.Null,
|
|
24467
|
+
])),
|
|
23913
24468
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
23914
|
-
export const
|
|
23915
|
-
input:
|
|
24469
|
+
export const listAccessGroupsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
24470
|
+
input: ListAccessGroupsForAccountRequest,
|
|
23916
24471
|
output: ListAccessGroupsResponse,
|
|
23917
24472
|
errors: [],
|
|
23918
24473
|
pagination: {
|
|
@@ -23923,10 +24478,19 @@ export const listAccessGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
23923
24478
|
pageSize: "perPage",
|
|
23924
24479
|
},
|
|
23925
24480
|
}));
|
|
23926
|
-
export const
|
|
23927
|
-
|
|
23928
|
-
|
|
23929
|
-
|
|
24481
|
+
export const listAccessGroupsForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
24482
|
+
input: ListAccessGroupsForZoneRequest,
|
|
24483
|
+
output: ListAccessGroupsResponse,
|
|
24484
|
+
errors: [],
|
|
24485
|
+
pagination: {
|
|
24486
|
+
mode: "page",
|
|
24487
|
+
inputToken: "page",
|
|
24488
|
+
outputToken: "resultInfo.page",
|
|
24489
|
+
items: "result",
|
|
24490
|
+
pageSize: "perPage",
|
|
24491
|
+
},
|
|
24492
|
+
}));
|
|
24493
|
+
const CreateAccessGroupBaseFields = {
|
|
23930
24494
|
include: Schema.Array(Schema.Union([
|
|
23931
24495
|
Schema.Struct({
|
|
23932
24496
|
group: Schema.Struct({
|
|
@@ -23935,9 +24499,7 @@ export const CreateAccessGroupRequest =
|
|
|
23935
24499
|
}),
|
|
23936
24500
|
Schema.Struct({
|
|
23937
24501
|
anyValidServiceToken: Schema.Unknown,
|
|
23938
|
-
}).pipe(Schema.encodeKeys({
|
|
23939
|
-
anyValidServiceToken: "any_valid_service_token",
|
|
23940
|
-
})),
|
|
24502
|
+
}).pipe(Schema.encodeKeys({ anyValidServiceToken: "any_valid_service_token" })),
|
|
23941
24503
|
Schema.Struct({
|
|
23942
24504
|
authContext: Schema.Struct({
|
|
23943
24505
|
id: Schema.String,
|
|
@@ -24403,16 +24965,29 @@ export const CreateAccessGroupRequest =
|
|
|
24403
24965
|
}).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
|
|
24404
24966
|
}).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
|
|
24405
24967
|
]))),
|
|
24968
|
+
};
|
|
24969
|
+
export const CreateAccessGroupForAccountRequest =
|
|
24970
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24971
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
24972
|
+
...CreateAccessGroupBaseFields,
|
|
24406
24973
|
}).pipe(Schema.encodeKeys({
|
|
24407
24974
|
include: "include",
|
|
24408
24975
|
name: "name",
|
|
24409
24976
|
exclude: "exclude",
|
|
24410
24977
|
isDefault: "is_default",
|
|
24411
24978
|
require: "require",
|
|
24412
|
-
}), T.Http({
|
|
24413
|
-
|
|
24414
|
-
|
|
24415
|
-
|
|
24979
|
+
}), T.Http({ method: "POST", path: "/accounts/{account_id}/access/groups" }));
|
|
24980
|
+
export const CreateAccessGroupForZoneRequest =
|
|
24981
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24982
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
24983
|
+
...CreateAccessGroupBaseFields,
|
|
24984
|
+
}).pipe(Schema.encodeKeys({
|
|
24985
|
+
include: "include",
|
|
24986
|
+
name: "name",
|
|
24987
|
+
exclude: "exclude",
|
|
24988
|
+
isDefault: "is_default",
|
|
24989
|
+
require: "require",
|
|
24990
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/access/groups" }));
|
|
24416
24991
|
export const CreateAccessGroupResponse =
|
|
24417
24992
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24418
24993
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -25071,16 +25646,18 @@ export const CreateAccessGroupResponse =
|
|
|
25071
25646
|
require: "require",
|
|
25072
25647
|
}))
|
|
25073
25648
|
.pipe(T.ResponsePath("result"));
|
|
25074
|
-
export const
|
|
25075
|
-
input:
|
|
25649
|
+
export const createAccessGroupForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25650
|
+
input: CreateAccessGroupForAccountRequest,
|
|
25076
25651
|
output: CreateAccessGroupResponse,
|
|
25077
25652
|
errors: [],
|
|
25078
25653
|
}));
|
|
25079
|
-
export const
|
|
25080
|
-
|
|
25654
|
+
export const createAccessGroupForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25655
|
+
input: CreateAccessGroupForZoneRequest,
|
|
25656
|
+
output: CreateAccessGroupResponse,
|
|
25657
|
+
errors: [],
|
|
25658
|
+
}));
|
|
25659
|
+
const UpdateAccessGroupBaseFields = {
|
|
25081
25660
|
groupId: Schema.String.pipe(T.HttpPath("groupId")),
|
|
25082
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
25083
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
25084
25661
|
include: Schema.Array(Schema.Union([
|
|
25085
25662
|
Schema.Struct({
|
|
25086
25663
|
group: Schema.Struct({
|
|
@@ -25089,9 +25666,7 @@ export const UpdateAccessGroupRequest =
|
|
|
25089
25666
|
}),
|
|
25090
25667
|
Schema.Struct({
|
|
25091
25668
|
anyValidServiceToken: Schema.Unknown,
|
|
25092
|
-
}).pipe(Schema.encodeKeys({
|
|
25093
|
-
anyValidServiceToken: "any_valid_service_token",
|
|
25094
|
-
})),
|
|
25669
|
+
}).pipe(Schema.encodeKeys({ anyValidServiceToken: "any_valid_service_token" })),
|
|
25095
25670
|
Schema.Struct({
|
|
25096
25671
|
authContext: Schema.Struct({
|
|
25097
25672
|
id: Schema.String,
|
|
@@ -25557,6 +26132,11 @@ export const UpdateAccessGroupRequest =
|
|
|
25557
26132
|
}).pipe(Schema.encodeKeys({ appUid: "app_uid" })),
|
|
25558
26133
|
}).pipe(Schema.encodeKeys({ linkedAppToken: "linked_app_token" })),
|
|
25559
26134
|
]))),
|
|
26135
|
+
};
|
|
26136
|
+
export const UpdateAccessGroupForAccountRequest =
|
|
26137
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26138
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
26139
|
+
...UpdateAccessGroupBaseFields,
|
|
25560
26140
|
}).pipe(Schema.encodeKeys({
|
|
25561
26141
|
include: "include",
|
|
25562
26142
|
name: "name",
|
|
@@ -25565,8 +26145,19 @@ export const UpdateAccessGroupRequest =
|
|
|
25565
26145
|
require: "require",
|
|
25566
26146
|
}), T.Http({
|
|
25567
26147
|
method: "PUT",
|
|
25568
|
-
path: "/
|
|
26148
|
+
path: "/accounts/{account_id}/access/groups/{groupId}",
|
|
25569
26149
|
}));
|
|
26150
|
+
export const UpdateAccessGroupForZoneRequest =
|
|
26151
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26152
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
26153
|
+
...UpdateAccessGroupBaseFields,
|
|
26154
|
+
}).pipe(Schema.encodeKeys({
|
|
26155
|
+
include: "include",
|
|
26156
|
+
name: "name",
|
|
26157
|
+
exclude: "exclude",
|
|
26158
|
+
isDefault: "is_default",
|
|
26159
|
+
require: "require",
|
|
26160
|
+
}), T.Http({ method: "PUT", path: "/zones/{zone_id}/access/groups/{groupId}" }));
|
|
25570
26161
|
export const UpdateAccessGroupResponse =
|
|
25571
26162
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
25572
26163
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -26225,24 +26816,46 @@ export const UpdateAccessGroupResponse =
|
|
|
26225
26816
|
require: "require",
|
|
26226
26817
|
}))
|
|
26227
26818
|
.pipe(T.ResponsePath("result"));
|
|
26228
|
-
export const
|
|
26229
|
-
input:
|
|
26819
|
+
export const updateAccessGroupForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26820
|
+
input: UpdateAccessGroupForAccountRequest,
|
|
26230
26821
|
output: UpdateAccessGroupResponse,
|
|
26231
26822
|
errors: [],
|
|
26232
26823
|
}));
|
|
26233
|
-
export const
|
|
26234
|
-
|
|
26824
|
+
export const updateAccessGroupForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26825
|
+
input: UpdateAccessGroupForZoneRequest,
|
|
26826
|
+
output: UpdateAccessGroupResponse,
|
|
26827
|
+
errors: [],
|
|
26828
|
+
}));
|
|
26829
|
+
const DeleteAccessGroupBaseFields = {
|
|
26235
26830
|
groupId: Schema.String.pipe(T.HttpPath("groupId")),
|
|
26831
|
+
};
|
|
26832
|
+
export const DeleteAccessGroupForAccountRequest =
|
|
26833
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26834
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
26835
|
+
...DeleteAccessGroupBaseFields,
|
|
26236
26836
|
}).pipe(T.Http({
|
|
26237
26837
|
method: "DELETE",
|
|
26238
|
-
path: "/
|
|
26838
|
+
path: "/accounts/{account_id}/access/groups/{groupId}",
|
|
26839
|
+
}));
|
|
26840
|
+
export const DeleteAccessGroupForZoneRequest =
|
|
26841
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26842
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
26843
|
+
...DeleteAccessGroupBaseFields,
|
|
26844
|
+
}).pipe(T.Http({
|
|
26845
|
+
method: "DELETE",
|
|
26846
|
+
path: "/zones/{zone_id}/access/groups/{groupId}",
|
|
26239
26847
|
}));
|
|
26240
26848
|
export const DeleteAccessGroupResponse =
|
|
26241
26849
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
26242
26850
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
26243
26851
|
}).pipe(T.ResponsePath("result"));
|
|
26244
|
-
export const
|
|
26245
|
-
input:
|
|
26852
|
+
export const deleteAccessGroupForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26853
|
+
input: DeleteAccessGroupForAccountRequest,
|
|
26854
|
+
output: DeleteAccessGroupResponse,
|
|
26855
|
+
errors: [],
|
|
26856
|
+
}));
|
|
26857
|
+
export const deleteAccessGroupForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26858
|
+
input: DeleteAccessGroupForZoneRequest,
|
|
26246
26859
|
output: DeleteAccessGroupResponse,
|
|
26247
26860
|
errors: [],
|
|
26248
26861
|
}));
|
|
@@ -26359,17 +26972,20 @@ export const ListAccessInfrastructureTargetsResponse =
|
|
|
26359
26972
|
ip: "ip",
|
|
26360
26973
|
modifiedAt: "modified_at",
|
|
26361
26974
|
}))),
|
|
26362
|
-
resultInfo: Schema.
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
|
-
|
|
26366
|
-
|
|
26367
|
-
|
|
26368
|
-
|
|
26369
|
-
|
|
26370
|
-
|
|
26371
|
-
|
|
26372
|
-
|
|
26975
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
26976
|
+
Schema.Struct({
|
|
26977
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
26978
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
26979
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
26980
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
26981
|
+
}).pipe(Schema.encodeKeys({
|
|
26982
|
+
count: "count",
|
|
26983
|
+
page: "page",
|
|
26984
|
+
perPage: "per_page",
|
|
26985
|
+
totalCount: "total_count",
|
|
26986
|
+
})),
|
|
26987
|
+
Schema.Null,
|
|
26988
|
+
])),
|
|
26373
26989
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
26374
26990
|
export const listAccessInfrastructureTargets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
26375
26991
|
input: ListAccessInfrastructureTargetsRequest,
|
|
@@ -26695,17 +27311,20 @@ export const ListAccessLogScimUpdatesResponse =
|
|
|
26695
27311
|
resourceUserEmail: "resource_user_email",
|
|
26696
27312
|
status: "status",
|
|
26697
27313
|
}))),
|
|
26698
|
-
resultInfo: Schema.
|
|
26699
|
-
|
|
26700
|
-
|
|
26701
|
-
|
|
26702
|
-
|
|
26703
|
-
|
|
26704
|
-
|
|
26705
|
-
|
|
26706
|
-
|
|
26707
|
-
|
|
26708
|
-
|
|
27314
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
27315
|
+
Schema.Struct({
|
|
27316
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
27317
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
27318
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
27319
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
27320
|
+
}).pipe(Schema.encodeKeys({
|
|
27321
|
+
count: "count",
|
|
27322
|
+
page: "page",
|
|
27323
|
+
perPage: "per_page",
|
|
27324
|
+
totalCount: "total_count",
|
|
27325
|
+
})),
|
|
27326
|
+
Schema.Null,
|
|
27327
|
+
])),
|
|
26709
27328
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
26710
27329
|
export const listAccessLogScimUpdates = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
26711
27330
|
input: ListAccessLogScimUpdatesRequest,
|
|
@@ -27812,17 +28431,20 @@ export const ListAccessPoliciesResponse =
|
|
|
27812
28431
|
sessionDuration: "session_duration",
|
|
27813
28432
|
updatedAt: "updated_at",
|
|
27814
28433
|
}))),
|
|
27815
|
-
resultInfo: Schema.
|
|
27816
|
-
|
|
27817
|
-
|
|
27818
|
-
|
|
27819
|
-
|
|
27820
|
-
|
|
27821
|
-
|
|
27822
|
-
|
|
27823
|
-
|
|
27824
|
-
|
|
27825
|
-
|
|
28434
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
28435
|
+
Schema.Struct({
|
|
28436
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
28437
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
28438
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
28439
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
28440
|
+
}).pipe(Schema.encodeKeys({
|
|
28441
|
+
count: "count",
|
|
28442
|
+
page: "page",
|
|
28443
|
+
perPage: "per_page",
|
|
28444
|
+
totalCount: "total_count",
|
|
28445
|
+
})),
|
|
28446
|
+
Schema.Null,
|
|
28447
|
+
])),
|
|
27826
28448
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
27827
28449
|
export const listAccessPolicies = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
27828
28450
|
input: ListAccessPoliciesRequest,
|
|
@@ -29943,12 +30565,27 @@ export const deleteAccessPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
29943
30565
|
output: DeleteAccessPolicyResponse,
|
|
29944
30566
|
errors: [],
|
|
29945
30567
|
}));
|
|
29946
|
-
|
|
29947
|
-
|
|
30568
|
+
// =============================================================================
|
|
30569
|
+
// AccessServiceToken
|
|
30570
|
+
// =============================================================================
|
|
30571
|
+
const GetAccessServiceTokenBaseFields = {
|
|
29948
30572
|
serviceTokenId: Schema.String.pipe(T.HttpPath("serviceTokenId")),
|
|
30573
|
+
};
|
|
30574
|
+
export const GetAccessServiceTokenForAccountRequest =
|
|
30575
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30576
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30577
|
+
...GetAccessServiceTokenBaseFields,
|
|
30578
|
+
}).pipe(T.Http({
|
|
30579
|
+
method: "GET",
|
|
30580
|
+
path: "/accounts/{account_id}/access/service_tokens/{serviceTokenId}",
|
|
30581
|
+
}));
|
|
30582
|
+
export const GetAccessServiceTokenForZoneRequest =
|
|
30583
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30584
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30585
|
+
...GetAccessServiceTokenBaseFields,
|
|
29949
30586
|
}).pipe(T.Http({
|
|
29950
30587
|
method: "GET",
|
|
29951
|
-
path: "/
|
|
30588
|
+
path: "/zones/{zone_id}/access/service_tokens/{serviceTokenId}",
|
|
29952
30589
|
}));
|
|
29953
30590
|
export const GetAccessServiceTokenResponse =
|
|
29954
30591
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -29966,16 +30603,30 @@ export const GetAccessServiceTokenResponse =
|
|
|
29966
30603
|
name: "name",
|
|
29967
30604
|
}))
|
|
29968
30605
|
.pipe(T.ResponsePath("result"));
|
|
29969
|
-
export const
|
|
29970
|
-
input:
|
|
30606
|
+
export const getAccessServiceTokenForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30607
|
+
input: GetAccessServiceTokenForAccountRequest,
|
|
30608
|
+
output: GetAccessServiceTokenResponse,
|
|
30609
|
+
errors: [],
|
|
30610
|
+
}));
|
|
30611
|
+
export const getAccessServiceTokenForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30612
|
+
input: GetAccessServiceTokenForZoneRequest,
|
|
29971
30613
|
output: GetAccessServiceTokenResponse,
|
|
29972
30614
|
errors: [],
|
|
29973
30615
|
}));
|
|
29974
|
-
|
|
29975
|
-
|
|
30616
|
+
const ListAccessServiceTokensBaseFields = {};
|
|
30617
|
+
export const ListAccessServiceTokensForAccountRequest =
|
|
30618
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30619
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30620
|
+
...ListAccessServiceTokensBaseFields,
|
|
30621
|
+
}).pipe(T.Http({
|
|
29976
30622
|
method: "GET",
|
|
29977
|
-
path: "/
|
|
30623
|
+
path: "/accounts/{account_id}/access/service_tokens",
|
|
29978
30624
|
}));
|
|
30625
|
+
export const ListAccessServiceTokensForZoneRequest =
|
|
30626
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30627
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30628
|
+
...ListAccessServiceTokensBaseFields,
|
|
30629
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/service_tokens" }));
|
|
29979
30630
|
export const ListAccessServiceTokensResponse =
|
|
29980
30631
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
29981
30632
|
result: Schema.Array(Schema.Struct({
|
|
@@ -29991,20 +30642,23 @@ export const ListAccessServiceTokensResponse =
|
|
|
29991
30642
|
expiresAt: "expires_at",
|
|
29992
30643
|
name: "name",
|
|
29993
30644
|
}))),
|
|
29994
|
-
resultInfo: Schema.
|
|
29995
|
-
|
|
29996
|
-
|
|
29997
|
-
|
|
29998
|
-
|
|
29999
|
-
|
|
30000
|
-
|
|
30001
|
-
|
|
30002
|
-
|
|
30003
|
-
|
|
30004
|
-
|
|
30645
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
30646
|
+
Schema.Struct({
|
|
30647
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30648
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30649
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30650
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30651
|
+
}).pipe(Schema.encodeKeys({
|
|
30652
|
+
count: "count",
|
|
30653
|
+
page: "page",
|
|
30654
|
+
perPage: "per_page",
|
|
30655
|
+
totalCount: "total_count",
|
|
30656
|
+
})),
|
|
30657
|
+
Schema.Null,
|
|
30658
|
+
])),
|
|
30005
30659
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
30006
|
-
export const
|
|
30007
|
-
input:
|
|
30660
|
+
export const listAccessServiceTokensForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
30661
|
+
input: ListAccessServiceTokensForAccountRequest,
|
|
30008
30662
|
output: ListAccessServiceTokensResponse,
|
|
30009
30663
|
errors: [],
|
|
30010
30664
|
pagination: {
|
|
@@ -30015,14 +30669,28 @@ export const listAccessServiceTokens = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
30015
30669
|
pageSize: "perPage",
|
|
30016
30670
|
},
|
|
30017
30671
|
}));
|
|
30018
|
-
export const
|
|
30019
|
-
|
|
30020
|
-
|
|
30021
|
-
|
|
30672
|
+
export const listAccessServiceTokensForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
30673
|
+
input: ListAccessServiceTokensForZoneRequest,
|
|
30674
|
+
output: ListAccessServiceTokensResponse,
|
|
30675
|
+
errors: [],
|
|
30676
|
+
pagination: {
|
|
30677
|
+
mode: "page",
|
|
30678
|
+
inputToken: "page",
|
|
30679
|
+
outputToken: "resultInfo.page",
|
|
30680
|
+
items: "result",
|
|
30681
|
+
pageSize: "perPage",
|
|
30682
|
+
},
|
|
30683
|
+
}));
|
|
30684
|
+
const CreateAccessServiceTokenBaseFields = {
|
|
30022
30685
|
name: Schema.String,
|
|
30023
30686
|
clientSecretVersion: Schema.optional(Schema.Number),
|
|
30024
30687
|
duration: Schema.optional(Schema.String),
|
|
30025
30688
|
previousClientSecretExpiresAt: Schema.optional(Schema.String),
|
|
30689
|
+
};
|
|
30690
|
+
export const CreateAccessServiceTokenForAccountRequest =
|
|
30691
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30692
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30693
|
+
...CreateAccessServiceTokenBaseFields,
|
|
30026
30694
|
}).pipe(Schema.encodeKeys({
|
|
30027
30695
|
name: "name",
|
|
30028
30696
|
clientSecretVersion: "client_secret_version",
|
|
@@ -30030,8 +30698,18 @@ export const CreateAccessServiceTokenRequest =
|
|
|
30030
30698
|
previousClientSecretExpiresAt: "previous_client_secret_expires_at",
|
|
30031
30699
|
}), T.Http({
|
|
30032
30700
|
method: "POST",
|
|
30033
|
-
path: "/
|
|
30701
|
+
path: "/accounts/{account_id}/access/service_tokens",
|
|
30034
30702
|
}));
|
|
30703
|
+
export const CreateAccessServiceTokenForZoneRequest =
|
|
30704
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30705
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30706
|
+
...CreateAccessServiceTokenBaseFields,
|
|
30707
|
+
}).pipe(Schema.encodeKeys({
|
|
30708
|
+
name: "name",
|
|
30709
|
+
clientSecretVersion: "client_secret_version",
|
|
30710
|
+
duration: "duration",
|
|
30711
|
+
previousClientSecretExpiresAt: "previous_client_secret_expires_at",
|
|
30712
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/access/service_tokens" }));
|
|
30035
30713
|
export const CreateAccessServiceTokenResponse =
|
|
30036
30714
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30037
30715
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -30048,20 +30726,40 @@ export const CreateAccessServiceTokenResponse =
|
|
|
30048
30726
|
name: "name",
|
|
30049
30727
|
}))
|
|
30050
30728
|
.pipe(T.ResponsePath("result"));
|
|
30051
|
-
export const
|
|
30052
|
-
input:
|
|
30729
|
+
export const createAccessServiceTokenForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30730
|
+
input: CreateAccessServiceTokenForAccountRequest,
|
|
30053
30731
|
output: CreateAccessServiceTokenResponse,
|
|
30054
30732
|
errors: [],
|
|
30055
30733
|
}));
|
|
30056
|
-
export const
|
|
30057
|
-
|
|
30734
|
+
export const createAccessServiceTokenForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30735
|
+
input: CreateAccessServiceTokenForZoneRequest,
|
|
30736
|
+
output: CreateAccessServiceTokenResponse,
|
|
30737
|
+
errors: [],
|
|
30738
|
+
}));
|
|
30739
|
+
const UpdateAccessServiceTokenBaseFields = {
|
|
30058
30740
|
serviceTokenId: Schema.String.pipe(T.HttpPath("serviceTokenId")),
|
|
30059
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30060
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30061
30741
|
clientSecretVersion: Schema.optional(Schema.Number),
|
|
30062
30742
|
duration: Schema.optional(Schema.String),
|
|
30063
30743
|
name: Schema.optional(Schema.String),
|
|
30064
30744
|
previousClientSecretExpiresAt: Schema.optional(Schema.String),
|
|
30745
|
+
};
|
|
30746
|
+
export const UpdateAccessServiceTokenForAccountRequest =
|
|
30747
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30748
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30749
|
+
...UpdateAccessServiceTokenBaseFields,
|
|
30750
|
+
}).pipe(Schema.encodeKeys({
|
|
30751
|
+
clientSecretVersion: "client_secret_version",
|
|
30752
|
+
duration: "duration",
|
|
30753
|
+
name: "name",
|
|
30754
|
+
previousClientSecretExpiresAt: "previous_client_secret_expires_at",
|
|
30755
|
+
}), T.Http({
|
|
30756
|
+
method: "PUT",
|
|
30757
|
+
path: "/accounts/{account_id}/access/service_tokens/{serviceTokenId}",
|
|
30758
|
+
}));
|
|
30759
|
+
export const UpdateAccessServiceTokenForZoneRequest =
|
|
30760
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30761
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30762
|
+
...UpdateAccessServiceTokenBaseFields,
|
|
30065
30763
|
}).pipe(Schema.encodeKeys({
|
|
30066
30764
|
clientSecretVersion: "client_secret_version",
|
|
30067
30765
|
duration: "duration",
|
|
@@ -30069,7 +30767,7 @@ export const UpdateAccessServiceTokenRequest =
|
|
|
30069
30767
|
previousClientSecretExpiresAt: "previous_client_secret_expires_at",
|
|
30070
30768
|
}), T.Http({
|
|
30071
30769
|
method: "PUT",
|
|
30072
|
-
path: "/
|
|
30770
|
+
path: "/zones/{zone_id}/access/service_tokens/{serviceTokenId}",
|
|
30073
30771
|
}));
|
|
30074
30772
|
export const UpdateAccessServiceTokenResponse =
|
|
30075
30773
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -30087,17 +30785,34 @@ export const UpdateAccessServiceTokenResponse =
|
|
|
30087
30785
|
name: "name",
|
|
30088
30786
|
}))
|
|
30089
30787
|
.pipe(T.ResponsePath("result"));
|
|
30090
|
-
export const
|
|
30091
|
-
input:
|
|
30788
|
+
export const updateAccessServiceTokenForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30789
|
+
input: UpdateAccessServiceTokenForAccountRequest,
|
|
30092
30790
|
output: UpdateAccessServiceTokenResponse,
|
|
30093
30791
|
errors: [],
|
|
30094
30792
|
}));
|
|
30095
|
-
export const
|
|
30096
|
-
|
|
30793
|
+
export const updateAccessServiceTokenForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30794
|
+
input: UpdateAccessServiceTokenForZoneRequest,
|
|
30795
|
+
output: UpdateAccessServiceTokenResponse,
|
|
30796
|
+
errors: [],
|
|
30797
|
+
}));
|
|
30798
|
+
const DeleteAccessServiceTokenBaseFields = {
|
|
30097
30799
|
serviceTokenId: Schema.String.pipe(T.HttpPath("serviceTokenId")),
|
|
30800
|
+
};
|
|
30801
|
+
export const DeleteAccessServiceTokenForAccountRequest =
|
|
30802
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30803
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
30804
|
+
...DeleteAccessServiceTokenBaseFields,
|
|
30098
30805
|
}).pipe(T.Http({
|
|
30099
30806
|
method: "DELETE",
|
|
30100
|
-
path: "/
|
|
30807
|
+
path: "/accounts/{account_id}/access/service_tokens/{serviceTokenId}",
|
|
30808
|
+
}));
|
|
30809
|
+
export const DeleteAccessServiceTokenForZoneRequest =
|
|
30810
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30811
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30812
|
+
...DeleteAccessServiceTokenBaseFields,
|
|
30813
|
+
}).pipe(T.Http({
|
|
30814
|
+
method: "DELETE",
|
|
30815
|
+
path: "/zones/{zone_id}/access/service_tokens/{serviceTokenId}",
|
|
30101
30816
|
}));
|
|
30102
30817
|
export const DeleteAccessServiceTokenResponse =
|
|
30103
30818
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -30115,8 +30830,13 @@ export const DeleteAccessServiceTokenResponse =
|
|
|
30115
30830
|
name: "name",
|
|
30116
30831
|
}))
|
|
30117
30832
|
.pipe(T.ResponsePath("result"));
|
|
30118
|
-
export const
|
|
30119
|
-
input:
|
|
30833
|
+
export const deleteAccessServiceTokenForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30834
|
+
input: DeleteAccessServiceTokenForAccountRequest,
|
|
30835
|
+
output: DeleteAccessServiceTokenResponse,
|
|
30836
|
+
errors: [],
|
|
30837
|
+
}));
|
|
30838
|
+
export const deleteAccessServiceTokenForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30839
|
+
input: DeleteAccessServiceTokenForZoneRequest,
|
|
30120
30840
|
output: DeleteAccessServiceTokenResponse,
|
|
30121
30841
|
errors: [],
|
|
30122
30842
|
}));
|
|
@@ -30205,17 +30925,20 @@ export const ListAccessTagsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
30205
30925
|
result: Schema.Array(Schema.Struct({
|
|
30206
30926
|
name: Schema.String,
|
|
30207
30927
|
})),
|
|
30208
|
-
resultInfo: Schema.
|
|
30209
|
-
|
|
30210
|
-
|
|
30211
|
-
|
|
30212
|
-
|
|
30213
|
-
|
|
30214
|
-
|
|
30215
|
-
|
|
30216
|
-
|
|
30217
|
-
|
|
30218
|
-
|
|
30928
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
30929
|
+
Schema.Struct({
|
|
30930
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30931
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30932
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30933
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
30934
|
+
}).pipe(Schema.encodeKeys({
|
|
30935
|
+
count: "count",
|
|
30936
|
+
page: "page",
|
|
30937
|
+
perPage: "per_page",
|
|
30938
|
+
totalCount: "total_count",
|
|
30939
|
+
})),
|
|
30940
|
+
Schema.Null,
|
|
30941
|
+
])),
|
|
30219
30942
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
30220
30943
|
export const listAccessTags = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
30221
30944
|
input: ListAccessTagsRequest,
|
|
@@ -30310,17 +31033,20 @@ export const ListAccessUsersResponse =
|
|
|
30310
31033
|
uid: "uid",
|
|
30311
31034
|
updatedAt: "updated_at",
|
|
30312
31035
|
}))),
|
|
30313
|
-
resultInfo: Schema.
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
31036
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
31037
|
+
Schema.Struct({
|
|
31038
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31039
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31040
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31041
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31042
|
+
}).pipe(Schema.encodeKeys({
|
|
31043
|
+
count: "count",
|
|
31044
|
+
page: "page",
|
|
31045
|
+
perPage: "per_page",
|
|
31046
|
+
totalCount: "total_count",
|
|
31047
|
+
})),
|
|
31048
|
+
Schema.Null,
|
|
31049
|
+
])),
|
|
30324
31050
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
30325
31051
|
export const listAccessUsers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
30326
31052
|
input: ListAccessUsersRequest,
|
|
@@ -30936,15 +31662,18 @@ export const ListDeviceDevicesResponse =
|
|
|
30936
31662
|
publicIp: "public_ip",
|
|
30937
31663
|
serialNumber: "serial_number",
|
|
30938
31664
|
}))),
|
|
30939
|
-
resultInfo: Schema.
|
|
30940
|
-
|
|
30941
|
-
|
|
30942
|
-
|
|
30943
|
-
|
|
30944
|
-
|
|
30945
|
-
|
|
30946
|
-
|
|
30947
|
-
|
|
31665
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
31666
|
+
Schema.Struct({
|
|
31667
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31668
|
+
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
31669
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
31670
|
+
}).pipe(Schema.encodeKeys({
|
|
31671
|
+
count: "count",
|
|
31672
|
+
cursor: "cursor",
|
|
31673
|
+
perPage: "per_page",
|
|
31674
|
+
})),
|
|
31675
|
+
Schema.Null,
|
|
31676
|
+
])),
|
|
30948
31677
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
30949
31678
|
export const listDeviceDevices = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
30950
31679
|
input: ListDeviceDevicesRequest,
|
|
@@ -35422,15 +36151,18 @@ export const ListDeviceRegistrationsResponse =
|
|
|
35422
36151
|
tunnelType: "tunnel_type",
|
|
35423
36152
|
user: "user",
|
|
35424
36153
|
}))),
|
|
35425
|
-
resultInfo: Schema.
|
|
35426
|
-
|
|
35427
|
-
|
|
35428
|
-
|
|
35429
|
-
|
|
35430
|
-
|
|
35431
|
-
|
|
35432
|
-
|
|
35433
|
-
|
|
36154
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
36155
|
+
Schema.Struct({
|
|
36156
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36157
|
+
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
36158
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36159
|
+
}).pipe(Schema.encodeKeys({
|
|
36160
|
+
count: "count",
|
|
36161
|
+
cursor: "cursor",
|
|
36162
|
+
perPage: "per_page",
|
|
36163
|
+
})),
|
|
36164
|
+
Schema.Null,
|
|
36165
|
+
])),
|
|
35434
36166
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
35435
36167
|
export const listDeviceRegistrations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
35436
36168
|
input: ListDeviceRegistrationsRequest,
|
|
@@ -35800,17 +36532,20 @@ export const ListDexCommandsResponse =
|
|
|
35800
36532
|
Schema.Null,
|
|
35801
36533
|
])),
|
|
35802
36534
|
}),
|
|
35803
|
-
resultInfo: Schema.
|
|
35804
|
-
|
|
35805
|
-
|
|
35806
|
-
|
|
35807
|
-
|
|
35808
|
-
|
|
35809
|
-
|
|
35810
|
-
|
|
35811
|
-
|
|
35812
|
-
|
|
35813
|
-
|
|
36535
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
36536
|
+
Schema.Struct({
|
|
36537
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36538
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36539
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36540
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36541
|
+
}).pipe(Schema.encodeKeys({
|
|
36542
|
+
count: "count",
|
|
36543
|
+
page: "page",
|
|
36544
|
+
perPage: "per_page",
|
|
36545
|
+
totalCount: "total_count",
|
|
36546
|
+
})),
|
|
36547
|
+
Schema.Null,
|
|
36548
|
+
])),
|
|
35814
36549
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
35815
36550
|
export const listDexCommands = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
35816
36551
|
input: ListDexCommandsRequest,
|
|
@@ -35919,17 +36654,20 @@ export const ListDexCommandDevicesResponse =
|
|
|
35919
36654
|
Schema.Null,
|
|
35920
36655
|
])),
|
|
35921
36656
|
}),
|
|
35922
|
-
resultInfo: Schema.
|
|
35923
|
-
|
|
35924
|
-
|
|
35925
|
-
|
|
35926
|
-
|
|
35927
|
-
|
|
35928
|
-
|
|
35929
|
-
|
|
35930
|
-
|
|
35931
|
-
|
|
35932
|
-
|
|
36657
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
36658
|
+
Schema.Struct({
|
|
36659
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36660
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36661
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36662
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36663
|
+
}).pipe(Schema.encodeKeys({
|
|
36664
|
+
count: "count",
|
|
36665
|
+
page: "page",
|
|
36666
|
+
perPage: "per_page",
|
|
36667
|
+
totalCount: "total_count",
|
|
36668
|
+
})),
|
|
36669
|
+
Schema.Null,
|
|
36670
|
+
])),
|
|
35933
36671
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
35934
36672
|
export const listDexCommandDevices = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
35935
36673
|
input: ListDexCommandDevicesRequest,
|
|
@@ -36262,17 +37000,20 @@ export const ListDexFleetStatusDevicesResponse =
|
|
|
36262
37000
|
switchLocked: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
36263
37001
|
wifiStrengthDbm: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
36264
37002
|
})),
|
|
36265
|
-
resultInfo: Schema.
|
|
36266
|
-
|
|
36267
|
-
|
|
36268
|
-
|
|
36269
|
-
|
|
36270
|
-
|
|
36271
|
-
|
|
36272
|
-
|
|
36273
|
-
|
|
36274
|
-
|
|
36275
|
-
|
|
37003
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
37004
|
+
Schema.Struct({
|
|
37005
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37006
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37007
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37008
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37009
|
+
}).pipe(Schema.encodeKeys({
|
|
37010
|
+
count: "count",
|
|
37011
|
+
page: "page",
|
|
37012
|
+
perPage: "per_page",
|
|
37013
|
+
totalCount: "total_count",
|
|
37014
|
+
})),
|
|
37015
|
+
Schema.Null,
|
|
37016
|
+
])),
|
|
36276
37017
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
36277
37018
|
export const listDexFleetStatusDevices = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
36278
37019
|
input: ListDexFleetStatusDevicesRequest,
|
|
@@ -36642,17 +37383,20 @@ export const ListDexTestsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
36642
37383
|
Schema.Null,
|
|
36643
37384
|
])),
|
|
36644
37385
|
}),
|
|
36645
|
-
resultInfo: Schema.
|
|
36646
|
-
|
|
36647
|
-
|
|
36648
|
-
|
|
36649
|
-
|
|
36650
|
-
|
|
36651
|
-
|
|
36652
|
-
|
|
36653
|
-
|
|
36654
|
-
|
|
36655
|
-
|
|
37386
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
37387
|
+
Schema.Struct({
|
|
37388
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37389
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37390
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37391
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
37392
|
+
}).pipe(Schema.encodeKeys({
|
|
37393
|
+
count: "count",
|
|
37394
|
+
page: "page",
|
|
37395
|
+
perPage: "per_page",
|
|
37396
|
+
totalCount: "total_count",
|
|
37397
|
+
})),
|
|
37398
|
+
Schema.Null,
|
|
37399
|
+
])),
|
|
36656
37400
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
36657
37401
|
export const listDexTests = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
36658
37402
|
input: ListDexTestsRequest,
|
|
@@ -48350,12 +49094,27 @@ export const deleteGatewayRule = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
48350
49094
|
output: DeleteGatewayRuleResponse,
|
|
48351
49095
|
errors: [],
|
|
48352
49096
|
}));
|
|
48353
|
-
|
|
48354
|
-
|
|
49097
|
+
// =============================================================================
|
|
49098
|
+
// IdentityProvider
|
|
49099
|
+
// =============================================================================
|
|
49100
|
+
const GetIdentityProviderBaseFields = {
|
|
48355
49101
|
identityProviderId: Schema.String.pipe(T.HttpPath("identityProviderId")),
|
|
49102
|
+
};
|
|
49103
|
+
export const GetIdentityProviderForAccountRequest =
|
|
49104
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
49105
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
49106
|
+
...GetIdentityProviderBaseFields,
|
|
49107
|
+
}).pipe(T.Http({
|
|
49108
|
+
method: "GET",
|
|
49109
|
+
path: "/accounts/{account_id}/access/identity_providers/{identityProviderId}",
|
|
49110
|
+
}));
|
|
49111
|
+
export const GetIdentityProviderForZoneRequest =
|
|
49112
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
49113
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
49114
|
+
...GetIdentityProviderBaseFields,
|
|
48356
49115
|
}).pipe(T.Http({
|
|
48357
49116
|
method: "GET",
|
|
48358
|
-
path: "/
|
|
49117
|
+
path: "/zones/{zone_id}/access/identity_providers/{identityProviderId}",
|
|
48359
49118
|
}));
|
|
48360
49119
|
export const GetIdentityProviderResponse =
|
|
48361
49120
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
@@ -49036,15 +49795,32 @@ export const GetIdentityProviderResponse =
|
|
|
49036
49795
|
scimConfig: "scim_config",
|
|
49037
49796
|
})),
|
|
49038
49797
|
]).pipe(T.ResponsePath("result"));
|
|
49039
|
-
export const
|
|
49040
|
-
input:
|
|
49798
|
+
export const getIdentityProviderForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
49799
|
+
input: GetIdentityProviderForAccountRequest,
|
|
49800
|
+
output: GetIdentityProviderResponse,
|
|
49801
|
+
errors: [],
|
|
49802
|
+
}));
|
|
49803
|
+
export const getIdentityProviderForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
49804
|
+
input: GetIdentityProviderForZoneRequest,
|
|
49041
49805
|
output: GetIdentityProviderResponse,
|
|
49042
49806
|
errors: [],
|
|
49043
49807
|
}));
|
|
49044
|
-
|
|
49045
|
-
|
|
49808
|
+
const ListIdentityProvidersBaseFields = {};
|
|
49809
|
+
export const ListIdentityProvidersForAccountRequest =
|
|
49810
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
49811
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
49812
|
+
...ListIdentityProvidersBaseFields,
|
|
49813
|
+
}).pipe(T.Http({
|
|
49814
|
+
method: "GET",
|
|
49815
|
+
path: "/accounts/{account_id}/access/identity_providers",
|
|
49816
|
+
}));
|
|
49817
|
+
export const ListIdentityProvidersForZoneRequest =
|
|
49818
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
49819
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
49820
|
+
...ListIdentityProvidersBaseFields,
|
|
49821
|
+
}).pipe(T.Http({
|
|
49046
49822
|
method: "GET",
|
|
49047
|
-
path: "/
|
|
49823
|
+
path: "/zones/{zone_id}/access/identity_providers",
|
|
49048
49824
|
}));
|
|
49049
49825
|
export const ListIdentityProvidersResponse =
|
|
49050
49826
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -49676,20 +50452,23 @@ export const ListIdentityProvidersResponse =
|
|
|
49676
50452
|
scimConfig: "scim_config",
|
|
49677
50453
|
})),
|
|
49678
50454
|
])),
|
|
49679
|
-
resultInfo: Schema.
|
|
49680
|
-
|
|
49681
|
-
|
|
49682
|
-
|
|
49683
|
-
|
|
49684
|
-
|
|
49685
|
-
|
|
49686
|
-
|
|
49687
|
-
|
|
49688
|
-
|
|
49689
|
-
|
|
50455
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
50456
|
+
Schema.Struct({
|
|
50457
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
50458
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
50459
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
50460
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
50461
|
+
}).pipe(Schema.encodeKeys({
|
|
50462
|
+
count: "count",
|
|
50463
|
+
page: "page",
|
|
50464
|
+
perPage: "per_page",
|
|
50465
|
+
totalCount: "total_count",
|
|
50466
|
+
})),
|
|
50467
|
+
Schema.Null,
|
|
50468
|
+
])),
|
|
49690
50469
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
49691
|
-
export const
|
|
49692
|
-
input:
|
|
50470
|
+
export const listIdentityProvidersForAccount = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
50471
|
+
input: ListIdentityProvidersForAccountRequest,
|
|
49693
50472
|
output: ListIdentityProvidersResponse,
|
|
49694
50473
|
errors: [],
|
|
49695
50474
|
pagination: {
|
|
@@ -49700,10 +50479,19 @@ export const listIdentityProviders = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
49700
50479
|
pageSize: "perPage",
|
|
49701
50480
|
},
|
|
49702
50481
|
}));
|
|
49703
|
-
export const
|
|
49704
|
-
|
|
49705
|
-
|
|
49706
|
-
|
|
50482
|
+
export const listIdentityProvidersForZone = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
50483
|
+
input: ListIdentityProvidersForZoneRequest,
|
|
50484
|
+
output: ListIdentityProvidersResponse,
|
|
50485
|
+
errors: [],
|
|
50486
|
+
pagination: {
|
|
50487
|
+
mode: "page",
|
|
50488
|
+
inputToken: "page",
|
|
50489
|
+
outputToken: "resultInfo.page",
|
|
50490
|
+
items: "result",
|
|
50491
|
+
pageSize: "perPage",
|
|
50492
|
+
},
|
|
50493
|
+
}));
|
|
50494
|
+
const CreateIdentityProviderBaseFields = {
|
|
49707
50495
|
config: Schema.Struct({
|
|
49708
50496
|
claims: Schema.optional(Schema.Array(Schema.String)),
|
|
49709
50497
|
clientId: Schema.optional(Schema.String),
|
|
@@ -49751,6 +50539,24 @@ export const CreateIdentityProviderRequest =
|
|
|
49751
50539
|
seatDeprovision: "seat_deprovision",
|
|
49752
50540
|
userDeprovision: "user_deprovision",
|
|
49753
50541
|
}))),
|
|
50542
|
+
};
|
|
50543
|
+
export const CreateIdentityProviderForAccountRequest =
|
|
50544
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
50545
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
50546
|
+
...CreateIdentityProviderBaseFields,
|
|
50547
|
+
}).pipe(Schema.encodeKeys({
|
|
50548
|
+
config: "config",
|
|
50549
|
+
name: "name",
|
|
50550
|
+
type: "type",
|
|
50551
|
+
scimConfig: "scim_config",
|
|
50552
|
+
}), T.Http({
|
|
50553
|
+
method: "POST",
|
|
50554
|
+
path: "/accounts/{account_id}/access/identity_providers",
|
|
50555
|
+
}));
|
|
50556
|
+
export const CreateIdentityProviderForZoneRequest =
|
|
50557
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
50558
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
50559
|
+
...CreateIdentityProviderBaseFields,
|
|
49754
50560
|
}).pipe(Schema.encodeKeys({
|
|
49755
50561
|
config: "config",
|
|
49756
50562
|
name: "name",
|
|
@@ -49758,7 +50564,7 @@ export const CreateIdentityProviderRequest =
|
|
|
49758
50564
|
scimConfig: "scim_config",
|
|
49759
50565
|
}), T.Http({
|
|
49760
50566
|
method: "POST",
|
|
49761
|
-
path: "/
|
|
50567
|
+
path: "/zones/{zone_id}/access/identity_providers",
|
|
49762
50568
|
}));
|
|
49763
50569
|
export const CreateIdentityProviderResponse =
|
|
49764
50570
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
@@ -50439,16 +51245,18 @@ export const CreateIdentityProviderResponse =
|
|
|
50439
51245
|
scimConfig: "scim_config",
|
|
50440
51246
|
})),
|
|
50441
51247
|
]).pipe(T.ResponsePath("result"));
|
|
50442
|
-
export const
|
|
50443
|
-
input:
|
|
51248
|
+
export const createIdentityProviderForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
51249
|
+
input: CreateIdentityProviderForAccountRequest,
|
|
50444
51250
|
output: CreateIdentityProviderResponse,
|
|
50445
51251
|
errors: [],
|
|
50446
51252
|
}));
|
|
50447
|
-
export const
|
|
50448
|
-
|
|
51253
|
+
export const createIdentityProviderForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
51254
|
+
input: CreateIdentityProviderForZoneRequest,
|
|
51255
|
+
output: CreateIdentityProviderResponse,
|
|
51256
|
+
errors: [],
|
|
51257
|
+
}));
|
|
51258
|
+
const UpdateIdentityProviderBaseFields = {
|
|
50449
51259
|
identityProviderId: Schema.String.pipe(T.HttpPath("identityProviderId")),
|
|
50450
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
50451
|
-
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
50452
51260
|
config: Schema.Struct({
|
|
50453
51261
|
claims: Schema.optional(Schema.Array(Schema.String)),
|
|
50454
51262
|
clientId: Schema.optional(Schema.String),
|
|
@@ -50496,6 +51304,11 @@ export const UpdateIdentityProviderRequest =
|
|
|
50496
51304
|
seatDeprovision: "seat_deprovision",
|
|
50497
51305
|
userDeprovision: "user_deprovision",
|
|
50498
51306
|
}))),
|
|
51307
|
+
};
|
|
51308
|
+
export const UpdateIdentityProviderForAccountRequest =
|
|
51309
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
51310
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
51311
|
+
...UpdateIdentityProviderBaseFields,
|
|
50499
51312
|
}).pipe(Schema.encodeKeys({
|
|
50500
51313
|
config: "config",
|
|
50501
51314
|
name: "name",
|
|
@@ -50503,7 +51316,20 @@ export const UpdateIdentityProviderRequest =
|
|
|
50503
51316
|
scimConfig: "scim_config",
|
|
50504
51317
|
}), T.Http({
|
|
50505
51318
|
method: "PUT",
|
|
50506
|
-
path: "/
|
|
51319
|
+
path: "/accounts/{account_id}/access/identity_providers/{identityProviderId}",
|
|
51320
|
+
}));
|
|
51321
|
+
export const UpdateIdentityProviderForZoneRequest =
|
|
51322
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
51323
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
51324
|
+
...UpdateIdentityProviderBaseFields,
|
|
51325
|
+
}).pipe(Schema.encodeKeys({
|
|
51326
|
+
config: "config",
|
|
51327
|
+
name: "name",
|
|
51328
|
+
type: "type",
|
|
51329
|
+
scimConfig: "scim_config",
|
|
51330
|
+
}), T.Http({
|
|
51331
|
+
method: "PUT",
|
|
51332
|
+
path: "/zones/{zone_id}/access/identity_providers/{identityProviderId}",
|
|
50507
51333
|
}));
|
|
50508
51334
|
export const UpdateIdentityProviderResponse =
|
|
50509
51335
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
@@ -51184,24 +52010,46 @@ export const UpdateIdentityProviderResponse =
|
|
|
51184
52010
|
scimConfig: "scim_config",
|
|
51185
52011
|
})),
|
|
51186
52012
|
]).pipe(T.ResponsePath("result"));
|
|
51187
|
-
export const
|
|
51188
|
-
input:
|
|
52013
|
+
export const updateIdentityProviderForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
52014
|
+
input: UpdateIdentityProviderForAccountRequest,
|
|
51189
52015
|
output: UpdateIdentityProviderResponse,
|
|
51190
52016
|
errors: [],
|
|
51191
52017
|
}));
|
|
51192
|
-
export const
|
|
51193
|
-
|
|
52018
|
+
export const updateIdentityProviderForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
52019
|
+
input: UpdateIdentityProviderForZoneRequest,
|
|
52020
|
+
output: UpdateIdentityProviderResponse,
|
|
52021
|
+
errors: [],
|
|
52022
|
+
}));
|
|
52023
|
+
const DeleteIdentityProviderBaseFields = {
|
|
51194
52024
|
identityProviderId: Schema.String.pipe(T.HttpPath("identityProviderId")),
|
|
52025
|
+
};
|
|
52026
|
+
export const DeleteIdentityProviderForAccountRequest =
|
|
52027
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
52028
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
52029
|
+
...DeleteIdentityProviderBaseFields,
|
|
52030
|
+
}).pipe(T.Http({
|
|
52031
|
+
method: "DELETE",
|
|
52032
|
+
path: "/accounts/{account_id}/access/identity_providers/{identityProviderId}",
|
|
52033
|
+
}));
|
|
52034
|
+
export const DeleteIdentityProviderForZoneRequest =
|
|
52035
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
52036
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
52037
|
+
...DeleteIdentityProviderBaseFields,
|
|
51195
52038
|
}).pipe(T.Http({
|
|
51196
52039
|
method: "DELETE",
|
|
51197
|
-
path: "/
|
|
52040
|
+
path: "/zones/{zone_id}/access/identity_providers/{identityProviderId}",
|
|
51198
52041
|
}));
|
|
51199
52042
|
export const DeleteIdentityProviderResponse =
|
|
51200
52043
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
51201
52044
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
51202
52045
|
}).pipe(T.ResponsePath("result"));
|
|
51203
|
-
export const
|
|
51204
|
-
input:
|
|
52046
|
+
export const deleteIdentityProviderForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
52047
|
+
input: DeleteIdentityProviderForAccountRequest,
|
|
52048
|
+
output: DeleteIdentityProviderResponse,
|
|
52049
|
+
errors: [],
|
|
52050
|
+
}));
|
|
52051
|
+
export const deleteIdentityProviderForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
52052
|
+
input: DeleteIdentityProviderForZoneRequest,
|
|
51205
52053
|
output: DeleteIdentityProviderResponse,
|
|
51206
52054
|
errors: [],
|
|
51207
52055
|
}));
|
|
@@ -51233,17 +52081,20 @@ export const ListIdentityProviderScimGroupsResponse =
|
|
|
51233
52081
|
])),
|
|
51234
52082
|
schemas: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
51235
52083
|
})),
|
|
51236
|
-
resultInfo: Schema.
|
|
51237
|
-
|
|
51238
|
-
|
|
51239
|
-
|
|
51240
|
-
|
|
51241
|
-
|
|
51242
|
-
|
|
51243
|
-
|
|
51244
|
-
|
|
51245
|
-
|
|
51246
|
-
|
|
52084
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
52085
|
+
Schema.Struct({
|
|
52086
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52087
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52088
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52089
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52090
|
+
}).pipe(Schema.encodeKeys({
|
|
52091
|
+
count: "count",
|
|
52092
|
+
page: "page",
|
|
52093
|
+
perPage: "per_page",
|
|
52094
|
+
totalCount: "total_count",
|
|
52095
|
+
})),
|
|
52096
|
+
Schema.Null,
|
|
52097
|
+
])),
|
|
51247
52098
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
51248
52099
|
export const listIdentityProviderScimGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
51249
52100
|
input: ListIdentityProviderScimGroupsRequest,
|
|
@@ -51296,17 +52147,20 @@ export const ListIdentityProviderScimUsersResponse =
|
|
|
51296
52147
|
])),
|
|
51297
52148
|
schemas: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
51298
52149
|
})),
|
|
51299
|
-
resultInfo: Schema.
|
|
51300
|
-
|
|
51301
|
-
|
|
51302
|
-
|
|
51303
|
-
|
|
51304
|
-
|
|
51305
|
-
|
|
51306
|
-
|
|
51307
|
-
|
|
51308
|
-
|
|
51309
|
-
|
|
52150
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
52151
|
+
Schema.Struct({
|
|
52152
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52153
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52154
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52155
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52156
|
+
}).pipe(Schema.encodeKeys({
|
|
52157
|
+
count: "count",
|
|
52158
|
+
page: "page",
|
|
52159
|
+
perPage: "per_page",
|
|
52160
|
+
totalCount: "total_count",
|
|
52161
|
+
})),
|
|
52162
|
+
Schema.Null,
|
|
52163
|
+
])),
|
|
51310
52164
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
51311
52165
|
export const listIdentityProviderScimUsers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
51312
52166
|
input: ListIdentityProviderScimUsersRequest,
|
|
@@ -51387,17 +52241,20 @@ export const ListNetworkHostnameRoutesResponse =
|
|
|
51387
52241
|
tunnelId: "tunnel_id",
|
|
51388
52242
|
tunnelName: "tunnel_name",
|
|
51389
52243
|
}))),
|
|
51390
|
-
resultInfo: Schema.
|
|
51391
|
-
|
|
51392
|
-
|
|
51393
|
-
|
|
51394
|
-
|
|
51395
|
-
|
|
51396
|
-
|
|
51397
|
-
|
|
51398
|
-
|
|
51399
|
-
|
|
51400
|
-
|
|
52244
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
52245
|
+
Schema.Struct({
|
|
52246
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52247
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52248
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52249
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52250
|
+
}).pipe(Schema.encodeKeys({
|
|
52251
|
+
count: "count",
|
|
52252
|
+
page: "page",
|
|
52253
|
+
perPage: "per_page",
|
|
52254
|
+
totalCount: "total_count",
|
|
52255
|
+
})),
|
|
52256
|
+
Schema.Null,
|
|
52257
|
+
])),
|
|
51401
52258
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
51402
52259
|
export const listNetworkHostnameRoutes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
51403
52260
|
input: ListNetworkHostnameRoutesRequest,
|
|
@@ -51614,17 +52471,20 @@ export const ListNetworkRoutesResponse =
|
|
|
51614
52471
|
virtualNetworkId: "virtual_network_id",
|
|
51615
52472
|
virtualNetworkName: "virtual_network_name",
|
|
51616
52473
|
}))),
|
|
51617
|
-
resultInfo: Schema.
|
|
51618
|
-
|
|
51619
|
-
|
|
51620
|
-
|
|
51621
|
-
|
|
51622
|
-
|
|
51623
|
-
|
|
51624
|
-
|
|
51625
|
-
|
|
51626
|
-
|
|
51627
|
-
|
|
52474
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
52475
|
+
Schema.Struct({
|
|
52476
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52477
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52478
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52479
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52480
|
+
}).pipe(Schema.encodeKeys({
|
|
52481
|
+
count: "count",
|
|
52482
|
+
page: "page",
|
|
52483
|
+
perPage: "per_page",
|
|
52484
|
+
totalCount: "total_count",
|
|
52485
|
+
})),
|
|
52486
|
+
Schema.Null,
|
|
52487
|
+
])),
|
|
51628
52488
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
51629
52489
|
export const listNetworkRoutes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
51630
52490
|
input: ListNetworkRoutesRequest,
|
|
@@ -51956,17 +52816,20 @@ export const ListNetworkSubnetsResponse =
|
|
|
51956
52816
|
network: "network",
|
|
51957
52817
|
subnetType: "subnet_type",
|
|
51958
52818
|
}))),
|
|
51959
|
-
resultInfo: Schema.
|
|
51960
|
-
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
|
|
51965
|
-
|
|
51966
|
-
|
|
51967
|
-
|
|
51968
|
-
|
|
51969
|
-
|
|
52819
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
52820
|
+
Schema.Struct({
|
|
52821
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52822
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52823
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52824
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
52825
|
+
}).pipe(Schema.encodeKeys({
|
|
52826
|
+
count: "count",
|
|
52827
|
+
page: "page",
|
|
52828
|
+
perPage: "per_page",
|
|
52829
|
+
totalCount: "total_count",
|
|
52830
|
+
})),
|
|
52831
|
+
Schema.Null,
|
|
52832
|
+
])),
|
|
51970
52833
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
51971
52834
|
export const listNetworkSubnets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
51972
52835
|
input: ListNetworkSubnetsRequest,
|
|
@@ -52196,11 +53059,23 @@ export const deleteNetworkVirtualNetwork = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
52196
53059
|
output: DeleteNetworkVirtualNetworkResponse,
|
|
52197
53060
|
errors: [],
|
|
52198
53061
|
}));
|
|
52199
|
-
|
|
52200
|
-
|
|
53062
|
+
// =============================================================================
|
|
53063
|
+
// Organization
|
|
53064
|
+
// =============================================================================
|
|
53065
|
+
const ListOrganizationsBaseFields = {};
|
|
53066
|
+
export const ListOrganizationsForAccountRequest =
|
|
53067
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53068
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
53069
|
+
...ListOrganizationsBaseFields,
|
|
53070
|
+
}).pipe(T.Http({
|
|
52201
53071
|
method: "GET",
|
|
52202
|
-
path: "/
|
|
53072
|
+
path: "/accounts/{account_id}/access/organizations",
|
|
52203
53073
|
}));
|
|
53074
|
+
export const ListOrganizationsForZoneRequest =
|
|
53075
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53076
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
53077
|
+
...ListOrganizationsBaseFields,
|
|
53078
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/access/organizations" }));
|
|
52204
53079
|
export const ListOrganizationsResponse =
|
|
52205
53080
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
52206
53081
|
allowAuthenticateViaWarp: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -52253,15 +53128,17 @@ export const ListOrganizationsResponse =
|
|
|
52253
53128
|
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
52254
53129
|
}))
|
|
52255
53130
|
.pipe(T.ResponsePath("result"));
|
|
52256
|
-
export const
|
|
52257
|
-
input:
|
|
53131
|
+
export const listOrganizationsForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53132
|
+
input: ListOrganizationsForAccountRequest,
|
|
52258
53133
|
output: ListOrganizationsResponse,
|
|
52259
53134
|
errors: [],
|
|
52260
53135
|
}));
|
|
52261
|
-
export const
|
|
52262
|
-
|
|
52263
|
-
|
|
52264
|
-
|
|
53136
|
+
export const listOrganizationsForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53137
|
+
input: ListOrganizationsForZoneRequest,
|
|
53138
|
+
output: ListOrganizationsResponse,
|
|
53139
|
+
errors: [],
|
|
53140
|
+
}));
|
|
53141
|
+
const CreateOrganizationBaseFields = {
|
|
52265
53142
|
authDomain: Schema.String,
|
|
52266
53143
|
name: Schema.String,
|
|
52267
53144
|
allowAuthenticateViaWarp: Schema.optional(Schema.Boolean),
|
|
@@ -52284,6 +53161,11 @@ export const CreateOrganizationRequest =
|
|
|
52284
53161
|
uiReadOnlyToggleReason: Schema.optional(Schema.String),
|
|
52285
53162
|
userSeatExpirationInactiveTime: Schema.optional(Schema.String),
|
|
52286
53163
|
warpAuthSessionDuration: Schema.optional(Schema.String),
|
|
53164
|
+
};
|
|
53165
|
+
export const CreateOrganizationForAccountRequest =
|
|
53166
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53167
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
53168
|
+
...CreateOrganizationBaseFields,
|
|
52287
53169
|
}).pipe(Schema.encodeKeys({
|
|
52288
53170
|
authDomain: "auth_domain",
|
|
52289
53171
|
name: "name",
|
|
@@ -52297,8 +53179,24 @@ export const CreateOrganizationRequest =
|
|
|
52297
53179
|
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
52298
53180
|
}), T.Http({
|
|
52299
53181
|
method: "POST",
|
|
52300
|
-
path: "/
|
|
53182
|
+
path: "/accounts/{account_id}/access/organizations",
|
|
52301
53183
|
}));
|
|
53184
|
+
export const CreateOrganizationForZoneRequest =
|
|
53185
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53186
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
53187
|
+
...CreateOrganizationBaseFields,
|
|
53188
|
+
}).pipe(Schema.encodeKeys({
|
|
53189
|
+
authDomain: "auth_domain",
|
|
53190
|
+
name: "name",
|
|
53191
|
+
allowAuthenticateViaWarp: "allow_authenticate_via_warp",
|
|
53192
|
+
autoRedirectToIdentity: "auto_redirect_to_identity",
|
|
53193
|
+
isUiReadOnly: "is_ui_read_only",
|
|
53194
|
+
loginDesign: "login_design",
|
|
53195
|
+
sessionDuration: "session_duration",
|
|
53196
|
+
uiReadOnlyToggleReason: "ui_read_only_toggle_reason",
|
|
53197
|
+
userSeatExpirationInactiveTime: "user_seat_expiration_inactive_time",
|
|
53198
|
+
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
53199
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/access/organizations" }));
|
|
52302
53200
|
export const CreateOrganizationResponse =
|
|
52303
53201
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
52304
53202
|
allowAuthenticateViaWarp: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -52351,15 +53249,17 @@ export const CreateOrganizationResponse =
|
|
|
52351
53249
|
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
52352
53250
|
}))
|
|
52353
53251
|
.pipe(T.ResponsePath("result"));
|
|
52354
|
-
export const
|
|
52355
|
-
input:
|
|
53252
|
+
export const createOrganizationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53253
|
+
input: CreateOrganizationForAccountRequest,
|
|
52356
53254
|
output: CreateOrganizationResponse,
|
|
52357
53255
|
errors: [],
|
|
52358
53256
|
}));
|
|
52359
|
-
export const
|
|
52360
|
-
|
|
52361
|
-
|
|
52362
|
-
|
|
53257
|
+
export const createOrganizationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53258
|
+
input: CreateOrganizationForZoneRequest,
|
|
53259
|
+
output: CreateOrganizationResponse,
|
|
53260
|
+
errors: [],
|
|
53261
|
+
}));
|
|
53262
|
+
const UpdateOrganizationBaseFields = {
|
|
52363
53263
|
allowAuthenticateViaWarp: Schema.optional(Schema.Boolean),
|
|
52364
53264
|
authDomain: Schema.optional(Schema.String),
|
|
52365
53265
|
autoRedirectToIdentity: Schema.optional(Schema.Boolean),
|
|
@@ -52389,6 +53289,11 @@ export const UpdateOrganizationRequest =
|
|
|
52389
53289
|
uiReadOnlyToggleReason: Schema.optional(Schema.String),
|
|
52390
53290
|
userSeatExpirationInactiveTime: Schema.optional(Schema.String),
|
|
52391
53291
|
warpAuthSessionDuration: Schema.optional(Schema.String),
|
|
53292
|
+
};
|
|
53293
|
+
export const UpdateOrganizationForAccountRequest =
|
|
53294
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53295
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
53296
|
+
...UpdateOrganizationBaseFields,
|
|
52392
53297
|
}).pipe(Schema.encodeKeys({
|
|
52393
53298
|
allowAuthenticateViaWarp: "allow_authenticate_via_warp",
|
|
52394
53299
|
authDomain: "auth_domain",
|
|
@@ -52403,8 +53308,25 @@ export const UpdateOrganizationRequest =
|
|
|
52403
53308
|
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
52404
53309
|
}), T.Http({
|
|
52405
53310
|
method: "PUT",
|
|
52406
|
-
path: "/
|
|
53311
|
+
path: "/accounts/{account_id}/access/organizations",
|
|
52407
53312
|
}));
|
|
53313
|
+
export const UpdateOrganizationForZoneRequest =
|
|
53314
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53315
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
53316
|
+
...UpdateOrganizationBaseFields,
|
|
53317
|
+
}).pipe(Schema.encodeKeys({
|
|
53318
|
+
allowAuthenticateViaWarp: "allow_authenticate_via_warp",
|
|
53319
|
+
authDomain: "auth_domain",
|
|
53320
|
+
autoRedirectToIdentity: "auto_redirect_to_identity",
|
|
53321
|
+
customPages: "custom_pages",
|
|
53322
|
+
isUiReadOnly: "is_ui_read_only",
|
|
53323
|
+
loginDesign: "login_design",
|
|
53324
|
+
name: "name",
|
|
53325
|
+
sessionDuration: "session_duration",
|
|
53326
|
+
uiReadOnlyToggleReason: "ui_read_only_toggle_reason",
|
|
53327
|
+
userSeatExpirationInactiveTime: "user_seat_expiration_inactive_time",
|
|
53328
|
+
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
53329
|
+
}), T.Http({ method: "PUT", path: "/zones/{zone_id}/access/organizations" }));
|
|
52408
53330
|
export const UpdateOrganizationResponse =
|
|
52409
53331
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
52410
53332
|
allowAuthenticateViaWarp: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -52457,8 +53379,13 @@ export const UpdateOrganizationResponse =
|
|
|
52457
53379
|
warpAuthSessionDuration: "warp_auth_session_duration",
|
|
52458
53380
|
}))
|
|
52459
53381
|
.pipe(T.ResponsePath("result"));
|
|
52460
|
-
export const
|
|
52461
|
-
input:
|
|
53382
|
+
export const updateOrganizationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53383
|
+
input: UpdateOrganizationForAccountRequest,
|
|
53384
|
+
output: UpdateOrganizationResponse,
|
|
53385
|
+
errors: [],
|
|
53386
|
+
}));
|
|
53387
|
+
export const updateOrganizationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53388
|
+
input: UpdateOrganizationForZoneRequest,
|
|
52462
53389
|
output: UpdateOrganizationResponse,
|
|
52463
53390
|
errors: [],
|
|
52464
53391
|
}));
|
|
@@ -53406,15 +54333,37 @@ export const overTimeDexFleetStatus = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
53406
54333
|
output: OverTimeDexFleetStatusResponse,
|
|
53407
54334
|
errors: [],
|
|
53408
54335
|
}));
|
|
53409
|
-
|
|
53410
|
-
|
|
54336
|
+
// =============================================================================
|
|
54337
|
+
// TokensAccessApplication
|
|
54338
|
+
// =============================================================================
|
|
54339
|
+
const RevokeTokensAccessApplicationBaseFields = {
|
|
54340
|
+
appId: Schema.String.pipe(T.HttpPath("appId")),
|
|
54341
|
+
};
|
|
54342
|
+
export const RevokeTokensAccessApplicationForAccountRequest =
|
|
54343
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
54344
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
54345
|
+
...RevokeTokensAccessApplicationBaseFields,
|
|
54346
|
+
}).pipe(T.Http({
|
|
54347
|
+
method: "POST",
|
|
54348
|
+
path: "/accounts/{account_id}/access/apps/{appId}/revoke_tokens",
|
|
54349
|
+
}));
|
|
54350
|
+
export const RevokeTokensAccessApplicationForZoneRequest =
|
|
54351
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
54352
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
54353
|
+
...RevokeTokensAccessApplicationBaseFields,
|
|
54354
|
+
}).pipe(T.Http({
|
|
53411
54355
|
method: "POST",
|
|
53412
|
-
path: "/
|
|
54356
|
+
path: "/zones/{zone_id}/access/apps/{appId}/revoke_tokens",
|
|
53413
54357
|
}));
|
|
53414
54358
|
export const RevokeTokensAccessApplicationResponse =
|
|
53415
54359
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(T.ResponsePath("result"));
|
|
53416
|
-
export const
|
|
53417
|
-
input:
|
|
54360
|
+
export const revokeTokensAccessApplicationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
54361
|
+
input: RevokeTokensAccessApplicationForAccountRequest,
|
|
54362
|
+
output: RevokeTokensAccessApplicationResponse,
|
|
54363
|
+
errors: [],
|
|
54364
|
+
}));
|
|
54365
|
+
export const revokeTokensAccessApplicationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
54366
|
+
input: RevokeTokensAccessApplicationForZoneRequest,
|
|
53418
54367
|
output: RevokeTokensAccessApplicationResponse,
|
|
53419
54368
|
errors: [],
|
|
53420
54369
|
}));
|
|
@@ -53568,17 +54517,20 @@ export const ListTunnelsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
53568
54517
|
tunType: "tun_type",
|
|
53569
54518
|
})),
|
|
53570
54519
|
])),
|
|
53571
|
-
resultInfo: Schema.
|
|
53572
|
-
|
|
53573
|
-
|
|
53574
|
-
|
|
53575
|
-
|
|
53576
|
-
|
|
53577
|
-
|
|
53578
|
-
|
|
53579
|
-
|
|
53580
|
-
|
|
53581
|
-
|
|
54520
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
54521
|
+
Schema.Struct({
|
|
54522
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54523
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54524
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54525
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54526
|
+
}).pipe(Schema.encodeKeys({
|
|
54527
|
+
count: "count",
|
|
54528
|
+
page: "page",
|
|
54529
|
+
perPage: "per_page",
|
|
54530
|
+
totalCount: "total_count",
|
|
54531
|
+
})),
|
|
54532
|
+
Schema.Null,
|
|
54533
|
+
])),
|
|
53582
54534
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
53583
54535
|
export const listTunnels = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
53584
54536
|
input: ListTunnelsRequest,
|
|
@@ -53753,17 +54705,20 @@ export const ListTunnelCloudflaredsResponse =
|
|
|
53753
54705
|
status: "status",
|
|
53754
54706
|
tunType: "tun_type",
|
|
53755
54707
|
}))),
|
|
53756
|
-
resultInfo: Schema.
|
|
53757
|
-
|
|
53758
|
-
|
|
53759
|
-
|
|
53760
|
-
|
|
53761
|
-
|
|
53762
|
-
|
|
53763
|
-
|
|
53764
|
-
|
|
53765
|
-
|
|
53766
|
-
|
|
54708
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
54709
|
+
Schema.Struct({
|
|
54710
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54711
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54712
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54713
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
54714
|
+
}).pipe(Schema.encodeKeys({
|
|
54715
|
+
count: "count",
|
|
54716
|
+
page: "page",
|
|
54717
|
+
perPage: "per_page",
|
|
54718
|
+
totalCount: "total_count",
|
|
54719
|
+
})),
|
|
54720
|
+
Schema.Null,
|
|
54721
|
+
])),
|
|
53767
54722
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
53768
54723
|
export const listTunnelCloudflareds = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
53769
54724
|
input: ListTunnelCloudflaredsRequest,
|
|
@@ -54578,17 +55533,20 @@ export const ListTunnelWarpConnectorsResponse =
|
|
|
54578
55533
|
status: "status",
|
|
54579
55534
|
tunType: "tun_type",
|
|
54580
55535
|
}))),
|
|
54581
|
-
resultInfo: Schema.
|
|
54582
|
-
|
|
54583
|
-
|
|
54584
|
-
|
|
54585
|
-
|
|
54586
|
-
|
|
54587
|
-
|
|
54588
|
-
|
|
54589
|
-
|
|
54590
|
-
|
|
54591
|
-
|
|
55536
|
+
resultInfo: Schema.optional(Schema.Union([
|
|
55537
|
+
Schema.Struct({
|
|
55538
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
55539
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
55540
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
55541
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
55542
|
+
}).pipe(Schema.encodeKeys({
|
|
55543
|
+
count: "count",
|
|
55544
|
+
page: "page",
|
|
55545
|
+
perPage: "per_page",
|
|
55546
|
+
totalCount: "total_count",
|
|
55547
|
+
})),
|
|
55548
|
+
Schema.Null,
|
|
55549
|
+
])),
|
|
54592
55550
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" }));
|
|
54593
55551
|
export const listTunnelWarpConnectors = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
54594
55552
|
input: ListTunnelWarpConnectorsRequest,
|
|
@@ -54844,15 +55802,33 @@ export const getTunnelWarpConnectorToken = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
54844
55802
|
output: GetTunnelWarpConnectorTokenResponse,
|
|
54845
55803
|
errors: [],
|
|
54846
55804
|
}));
|
|
54847
|
-
|
|
54848
|
-
|
|
54849
|
-
|
|
54850
|
-
|
|
55805
|
+
// =============================================================================
|
|
55806
|
+
// UsersOrganization
|
|
55807
|
+
// =============================================================================
|
|
55808
|
+
const RevokeUsersOrganizationBaseFields = {
|
|
54851
55809
|
queryDevices: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("query_devices")),
|
|
54852
55810
|
email: Schema.String,
|
|
54853
55811
|
bodyDevices: Schema.optional(Schema.Boolean),
|
|
54854
55812
|
userUid: Schema.optional(Schema.String),
|
|
54855
55813
|
warpSessionReauth: Schema.optional(Schema.Boolean),
|
|
55814
|
+
};
|
|
55815
|
+
export const RevokeUsersOrganizationForAccountRequest =
|
|
55816
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
55817
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
55818
|
+
...RevokeUsersOrganizationBaseFields,
|
|
55819
|
+
}).pipe(Schema.encodeKeys({
|
|
55820
|
+
email: "email",
|
|
55821
|
+
bodyDevices: "body_devices",
|
|
55822
|
+
userUid: "user_uid",
|
|
55823
|
+
warpSessionReauth: "warp_session_reauth",
|
|
55824
|
+
}), T.Http({
|
|
55825
|
+
method: "POST",
|
|
55826
|
+
path: "/accounts/{account_id}/access/organizations/revoke_user",
|
|
55827
|
+
}));
|
|
55828
|
+
export const RevokeUsersOrganizationForZoneRequest =
|
|
55829
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
55830
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
55831
|
+
...RevokeUsersOrganizationBaseFields,
|
|
54856
55832
|
}).pipe(Schema.encodeKeys({
|
|
54857
55833
|
email: "email",
|
|
54858
55834
|
bodyDevices: "body_devices",
|
|
@@ -54860,12 +55836,17 @@ export const RevokeUsersOrganizationRequest =
|
|
|
54860
55836
|
warpSessionReauth: "warp_session_reauth",
|
|
54861
55837
|
}), T.Http({
|
|
54862
55838
|
method: "POST",
|
|
54863
|
-
path: "/
|
|
55839
|
+
path: "/zones/{zone_id}/access/organizations/revoke_user",
|
|
54864
55840
|
}));
|
|
54865
55841
|
export const RevokeUsersOrganizationResponse =
|
|
54866
55842
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Literals([true, false]).pipe(T.ResponsePath("result"));
|
|
54867
|
-
export const
|
|
54868
|
-
input:
|
|
55843
|
+
export const revokeUsersOrganizationForAccount = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
55844
|
+
input: RevokeUsersOrganizationForAccountRequest,
|
|
55845
|
+
output: RevokeUsersOrganizationResponse,
|
|
55846
|
+
errors: [],
|
|
55847
|
+
}));
|
|
55848
|
+
export const revokeUsersOrganizationForZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
55849
|
+
input: RevokeUsersOrganizationForZoneRequest,
|
|
54869
55850
|
output: RevokeUsersOrganizationResponse,
|
|
54870
55851
|
errors: [],
|
|
54871
55852
|
}));
|