@distilled.cloud/cloudflare 0.16.2 → 0.16.4
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/client/api.d.ts.map +1 -1
- package/lib/client/api.js +26 -8
- package/lib/client/api.js.map +1 -1
- package/lib/retry.d.ts +23 -4
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +26 -7
- package/lib/retry.js.map +1 -1
- package/lib/services/abuse-reports.d.ts +4 -0
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +4 -0
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +7 -0
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +7 -0
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +24 -14
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +32 -44
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +2 -0
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +27 -25
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +8 -0
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +8 -0
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +2 -0
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +2 -0
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +10 -0
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +94 -84
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +2 -0
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +2 -0
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/client-certificates.d.ts +2 -0
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +2 -0
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/connectivity.d.ts +2 -0
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +14 -12
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +2 -0
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +2 -0
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +2 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +2 -0
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +2 -0
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +2 -0
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +2 -0
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +2 -0
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +6405 -714
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +12738 -1055
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +3 -0
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +3 -0
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +4 -0
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +4 -0
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +14 -0
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +14 -0
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +2 -0
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +2 -0
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +14 -0
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +90 -76
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +2 -0
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +2 -0
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hyperdrive.js +26 -26
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +6 -0
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +6 -0
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +2 -0
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +2 -0
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -0
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +4 -0
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts +3 -0
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +3 -0
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +2 -0
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +2 -0
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +2 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +9 -7
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-transit.js +8 -8
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +2 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +6 -4
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +57 -2
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +172 -4
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/pages.d.ts +4 -0
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +4 -0
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +6 -0
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +107 -101
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +2 -0
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +2 -0
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.js +32 -32
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +2 -0
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +2 -0
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.js +5 -5
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +6 -0
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +6 -0
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +1 -0
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +5 -4
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rum.d.ts +2 -0
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +2 -0
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +4 -0
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +4 -0
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +4 -0
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +4 -0
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/snippets.d.ts +2 -0
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +2 -0
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +2 -0
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +2 -0
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +2 -0
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +2 -0
- package/lib/services/speed.js.map +1 -1
- package/lib/services/token-validation.d.ts +4 -0
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +88 -84
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +2 -0
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +2 -0
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +2 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +2 -0
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/workers-for-platforms.js +438 -438
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +6 -0
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +1225 -1219
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +6 -0
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +15 -9
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.d.ts +46 -0
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +4013 -3967
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.js +50 -50
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/client/api.ts +38 -8
- package/src/retry.ts +32 -10
- package/src/services/abuse-reports.ts +8 -0
- package/src/services/accounts.ts +14 -0
- package/src/services/ai-gateway.ts +83 -66
- package/src/services/ai.ts +39 -35
- package/src/services/aisearch.ts +16 -0
- package/src/services/alerting.ts +4 -0
- package/src/services/api-gateway.ts +150 -130
- package/src/services/audit-logs.ts +4 -0
- package/src/services/client-certificates.ts +4 -0
- package/src/services/connectivity.ts +16 -12
- package/src/services/custom-certificates.ts +4 -0
- package/src/services/custom-hostnames.ts +4 -0
- package/src/services/d1.ts +4 -0
- package/src/services/dns-firewall.ts +4 -0
- package/src/services/dns.ts +25325 -2321
- package/src/services/durable-objects.ts +6 -0
- package/src/services/email-routing.ts +8 -0
- package/src/services/email-security.ts +28 -0
- package/src/services/filters.ts +4 -0
- package/src/services/firewall.ts +108 -80
- package/src/services/healthchecks.ts +4 -0
- package/src/services/hyperdrive.ts +28 -28
- package/src/services/iam.ts +12 -0
- package/src/services/images.ts +4 -0
- package/src/services/intel.ts +8 -0
- package/src/services/kv.ts +6 -0
- package/src/services/load-balancers.ts +4 -0
- package/src/services/magic-cloud-networking.ts +12 -8
- package/src/services/magic-transit.ts +8 -8
- package/src/services/origin-ca-certificates.ts +7 -4
- package/src/services/origin-tls-client-auth.ts +319 -6
- package/src/services/pages.ts +8 -0
- package/src/services/pipelines.ts +161 -149
- package/src/services/queues.ts +4 -0
- package/src/services/radar.ts +32 -32
- package/src/services/rate-limits.ts +4 -0
- package/src/services/realtime-kit.ts +5 -5
- package/src/services/resource-sharing.ts +12 -0
- package/src/services/rules.ts +6 -4
- package/src/services/rum.ts +4 -0
- package/src/services/schema-validation.ts +8 -0
- package/src/services/secrets-store.ts +8 -0
- package/src/services/snippets.ts +4 -0
- package/src/services/spectrum.ts +4 -0
- package/src/services/speed.ts +4 -0
- package/src/services/token-validation.ts +92 -84
- package/src/services/turnstile.ts +4 -0
- package/src/services/waiting-rooms.ts +4 -0
- package/src/services/workers-for-platforms.ts +555 -555
- package/src/services/workers.ts +1534 -1522
- package/src/services/workflows.ts +21 -9
- package/src/services/zero-trust.ts +5862 -5770
- package/src/services/zones.ts +74 -74
|
@@ -41,10 +41,14 @@ T.applyErrorMatchers(NamespaceNotFound, [{ code: 10066 }]);
|
|
|
41
41
|
export interface ListNamespacesRequest {
|
|
42
42
|
/** Path param: Identifier. */
|
|
43
43
|
accountId: string;
|
|
44
|
+
page?: number;
|
|
45
|
+
perPage?: number;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
export const ListNamespacesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
47
49
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
50
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
51
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
48
52
|
}).pipe(
|
|
49
53
|
T.Http({
|
|
50
54
|
method: "GET",
|
|
@@ -133,6 +137,7 @@ export interface ListNamespaceObjectsRequest {
|
|
|
133
137
|
id: string;
|
|
134
138
|
/** Path param: Identifier. */
|
|
135
139
|
accountId: string;
|
|
140
|
+
cursor?: string;
|
|
136
141
|
/** Query param: The number of objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit. */
|
|
137
142
|
limit?: number;
|
|
138
143
|
}
|
|
@@ -141,6 +146,7 @@ export const ListNamespaceObjectsRequest =
|
|
|
141
146
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
142
147
|
id: Schema.String.pipe(T.HttpPath("id")),
|
|
143
148
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
149
|
+
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
144
150
|
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
145
151
|
}).pipe(
|
|
146
152
|
T.Http({
|
|
@@ -76,6 +76,8 @@ export const getAddress: API.OperationMethod<
|
|
|
76
76
|
export interface ListAddressesRequest {
|
|
77
77
|
/** Path param: Identifier. */
|
|
78
78
|
accountId: string;
|
|
79
|
+
page?: number;
|
|
80
|
+
perPage?: number;
|
|
79
81
|
/** Query param: Sorts results in an ascending or descending order. */
|
|
80
82
|
direction?: "asc" | "desc";
|
|
81
83
|
/** Query param: Filter by verified destination addresses. */
|
|
@@ -84,6 +86,8 @@ export interface ListAddressesRequest {
|
|
|
84
86
|
|
|
85
87
|
export const ListAddressesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
86
88
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
89
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
90
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
87
91
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
88
92
|
T.HttpQuery("direction"),
|
|
89
93
|
),
|
|
@@ -1423,12 +1427,16 @@ export const getRule: API.OperationMethod<
|
|
|
1423
1427
|
export interface ListRulesRequest {
|
|
1424
1428
|
/** Path param: Identifier. */
|
|
1425
1429
|
zoneId: string;
|
|
1430
|
+
page?: number;
|
|
1431
|
+
perPage?: number;
|
|
1426
1432
|
/** Query param: Filter by enabled routing rules. */
|
|
1427
1433
|
enabled?: true | false;
|
|
1428
1434
|
}
|
|
1429
1435
|
|
|
1430
1436
|
export const ListRulesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1431
1437
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1438
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1439
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1432
1440
|
enabled: Schema.optional(Schema.Literals([true, false])).pipe(
|
|
1433
1441
|
T.HttpQuery("enabled"),
|
|
1434
1442
|
),
|
|
@@ -384,6 +384,8 @@ export const getInvestigate: API.OperationMethod<
|
|
|
384
384
|
export interface ListInvestigatesRequest {
|
|
385
385
|
/** Path param: Account Identifier */
|
|
386
386
|
accountId: string;
|
|
387
|
+
page?: number;
|
|
388
|
+
perPage?: number;
|
|
387
389
|
/** Query param: Determines if the message action log is included in the response. */
|
|
388
390
|
actionLog?: boolean;
|
|
389
391
|
/** Query param: */
|
|
@@ -425,6 +427,8 @@ export interface ListInvestigatesRequest {
|
|
|
425
427
|
export const ListInvestigatesRequest =
|
|
426
428
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
427
429
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
430
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
431
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
428
432
|
actionLog: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("action_log")),
|
|
429
433
|
alertId: Schema.optional(Schema.String).pipe(T.HttpQuery("alert_id")),
|
|
430
434
|
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
@@ -1726,6 +1730,8 @@ export const getSettingAllowPolicy: API.OperationMethod<
|
|
|
1726
1730
|
export interface ListSettingAllowPoliciesRequest {
|
|
1727
1731
|
/** Path param: Account Identifier */
|
|
1728
1732
|
accountId: string;
|
|
1733
|
+
page?: number;
|
|
1734
|
+
perPage?: number;
|
|
1729
1735
|
/** Query param: The sorting direction. */
|
|
1730
1736
|
direction?: "asc" | "desc";
|
|
1731
1737
|
/** Query param: */
|
|
@@ -1755,6 +1761,8 @@ export interface ListSettingAllowPoliciesRequest {
|
|
|
1755
1761
|
export const ListSettingAllowPoliciesRequest =
|
|
1756
1762
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1757
1763
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1764
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1765
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1758
1766
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
1759
1767
|
T.HttpQuery("direction"),
|
|
1760
1768
|
),
|
|
@@ -2286,6 +2294,8 @@ export const getSettingBlockSender: API.OperationMethod<
|
|
|
2286
2294
|
export interface ListSettingBlockSendersRequest {
|
|
2287
2295
|
/** Path param: Account Identifier */
|
|
2288
2296
|
accountId: string;
|
|
2297
|
+
page?: number;
|
|
2298
|
+
perPage?: number;
|
|
2289
2299
|
/** Query param: The sorting direction. */
|
|
2290
2300
|
direction?: "asc" | "desc";
|
|
2291
2301
|
/** Query param: The field to sort by. */
|
|
@@ -2301,6 +2311,8 @@ export interface ListSettingBlockSendersRequest {
|
|
|
2301
2311
|
export const ListSettingBlockSendersRequest =
|
|
2302
2312
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2303
2313
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2314
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2315
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
2304
2316
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
2305
2317
|
T.HttpQuery("direction"),
|
|
2306
2318
|
),
|
|
@@ -2823,6 +2835,8 @@ export const getSettingDomain: API.OperationMethod<
|
|
|
2823
2835
|
export interface ListSettingDomainsRequest {
|
|
2824
2836
|
/** Path param: Account Identifier */
|
|
2825
2837
|
accountId: string;
|
|
2838
|
+
page?: number;
|
|
2839
|
+
perPage?: number;
|
|
2826
2840
|
/** Query param: Filters response to domains with the currently active delivery mode. */
|
|
2827
2841
|
activeDeliveryMode?: "DIRECT" | "BCC" | "JOURNAL" | "API" | "RETRO_SCAN";
|
|
2828
2842
|
/** Query param: Filters response to domains with the provided delivery mode. */
|
|
@@ -2842,6 +2856,8 @@ export interface ListSettingDomainsRequest {
|
|
|
2842
2856
|
export const ListSettingDomainsRequest =
|
|
2843
2857
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2844
2858
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2859
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2860
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
2845
2861
|
activeDeliveryMode: Schema.optional(
|
|
2846
2862
|
Schema.Literals(["DIRECT", "BCC", "JOURNAL", "API", "RETRO_SCAN"]),
|
|
2847
2863
|
).pipe(T.HttpQuery("active_delivery_mode")),
|
|
@@ -3558,6 +3574,8 @@ export const getSettingImpersonationRegistry: API.OperationMethod<
|
|
|
3558
3574
|
export interface ListSettingImpersonationRegistriesRequest {
|
|
3559
3575
|
/** Path param: Account Identifier */
|
|
3560
3576
|
accountId: string;
|
|
3577
|
+
page?: number;
|
|
3578
|
+
perPage?: number;
|
|
3561
3579
|
/** Query param: The sorting direction. */
|
|
3562
3580
|
direction?: "asc" | "desc";
|
|
3563
3581
|
/** Query param: The field to sort by. */
|
|
@@ -3575,6 +3593,8 @@ export interface ListSettingImpersonationRegistriesRequest {
|
|
|
3575
3593
|
export const ListSettingImpersonationRegistriesRequest =
|
|
3576
3594
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3577
3595
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3596
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3597
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
3578
3598
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
3579
3599
|
T.HttpQuery("direction"),
|
|
3580
3600
|
),
|
|
@@ -4002,6 +4022,8 @@ export const getSettingTrustedDomain: API.OperationMethod<
|
|
|
4002
4022
|
export interface ListSettingTrustedDomainsRequest {
|
|
4003
4023
|
/** Path param: Account Identifier */
|
|
4004
4024
|
accountId: string;
|
|
4025
|
+
page?: number;
|
|
4026
|
+
perPage?: number;
|
|
4005
4027
|
/** Query param: The sorting direction. */
|
|
4006
4028
|
direction?: "asc" | "desc";
|
|
4007
4029
|
/** Query param: */
|
|
@@ -4019,6 +4041,8 @@ export interface ListSettingTrustedDomainsRequest {
|
|
|
4019
4041
|
export const ListSettingTrustedDomainsRequest =
|
|
4020
4042
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4021
4043
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4044
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4045
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4022
4046
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
4023
4047
|
T.HttpQuery("direction"),
|
|
4024
4048
|
),
|
|
@@ -4383,6 +4407,8 @@ export const deleteSettingTrustedDomain: API.OperationMethod<
|
|
|
4383
4407
|
export interface ListSubmissionsRequest {
|
|
4384
4408
|
/** Path param: Account Identifier */
|
|
4385
4409
|
accountId: string;
|
|
4410
|
+
page?: number;
|
|
4411
|
+
perPage?: number;
|
|
4386
4412
|
/** Query param: The end of the search date range. Defaults to `now`. */
|
|
4387
4413
|
end?: string;
|
|
4388
4414
|
/** Query param: */
|
|
@@ -4424,6 +4450,8 @@ export interface ListSubmissionsRequest {
|
|
|
4424
4450
|
export const ListSubmissionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
4425
4451
|
{
|
|
4426
4452
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4453
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4454
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4427
4455
|
end: Schema.optional(Schema.String).pipe(T.HttpQuery("end")),
|
|
4428
4456
|
originalDisposition: Schema.optional(
|
|
4429
4457
|
Schema.Literals([
|
package/src/services/filters.ts
CHANGED
|
@@ -68,6 +68,8 @@ export const getFilter: API.OperationMethod<
|
|
|
68
68
|
export interface ListFiltersRequest {
|
|
69
69
|
/** Path param: Defines an identifier. */
|
|
70
70
|
zoneId: string;
|
|
71
|
+
page?: number;
|
|
72
|
+
perPage?: number;
|
|
71
73
|
/** Query param: The unique identifier of the filter. */
|
|
72
74
|
id?: string;
|
|
73
75
|
/** Query param: A case-insensitive string to find in the description. */
|
|
@@ -82,6 +84,8 @@ export interface ListFiltersRequest {
|
|
|
82
84
|
|
|
83
85
|
export const ListFiltersRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
84
86
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
87
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
88
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
85
89
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
86
90
|
description: Schema.optional(Schema.String).pipe(T.HttpQuery("description")),
|
|
87
91
|
expression: Schema.optional(Schema.String).pipe(T.HttpQuery("expression")),
|
package/src/services/firewall.ts
CHANGED
|
@@ -880,6 +880,8 @@ export const getLockdown: API.OperationMethod<
|
|
|
880
880
|
export interface ListLockdownsRequest {
|
|
881
881
|
/** Path param: Defines an identifier. */
|
|
882
882
|
zoneId: string;
|
|
883
|
+
page?: number;
|
|
884
|
+
perPage?: number;
|
|
883
885
|
/** Query param: The timestamp of when the rule was created. */
|
|
884
886
|
createdOn?: string;
|
|
885
887
|
/** Query param: A string to search for in the description of existing rules. */
|
|
@@ -902,6 +904,8 @@ export interface ListLockdownsRequest {
|
|
|
902
904
|
|
|
903
905
|
export const ListLockdownsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
904
906
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
907
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
908
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
905
909
|
createdOn: Schema.optional(Schema.String).pipe(T.HttpQuery("created_on")),
|
|
906
910
|
description: Schema.optional(Schema.String).pipe(T.HttpQuery("description")),
|
|
907
911
|
descriptionSearch: Schema.optional(Schema.String).pipe(
|
|
@@ -1360,6 +1364,10 @@ export const BulkPutRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1360
1364
|
filter: Schema.optional(
|
|
1361
1365
|
Schema.Union([
|
|
1362
1366
|
Schema.Union([
|
|
1367
|
+
Schema.Struct({
|
|
1368
|
+
id: Schema.String,
|
|
1369
|
+
deleted: Schema.Boolean,
|
|
1370
|
+
}),
|
|
1363
1371
|
Schema.Struct({
|
|
1364
1372
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1365
1373
|
description: Schema.optional(
|
|
@@ -1373,10 +1381,6 @@ export const BulkPutRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1373
1381
|
),
|
|
1374
1382
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1375
1383
|
}),
|
|
1376
|
-
Schema.Struct({
|
|
1377
|
-
id: Schema.String,
|
|
1378
|
-
deleted: Schema.Boolean,
|
|
1379
|
-
}),
|
|
1380
1384
|
]),
|
|
1381
1385
|
Schema.Null,
|
|
1382
1386
|
]),
|
|
@@ -1502,6 +1506,10 @@ export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1502
1506
|
filter: Schema.optional(
|
|
1503
1507
|
Schema.Union([
|
|
1504
1508
|
Schema.Union([
|
|
1509
|
+
Schema.Struct({
|
|
1510
|
+
id: Schema.String,
|
|
1511
|
+
deleted: Schema.Boolean,
|
|
1512
|
+
}),
|
|
1505
1513
|
Schema.Struct({
|
|
1506
1514
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1507
1515
|
description: Schema.optional(
|
|
@@ -1513,10 +1521,6 @@ export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1513
1521
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1514
1522
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1515
1523
|
}),
|
|
1516
|
-
Schema.Struct({
|
|
1517
|
-
id: Schema.String,
|
|
1518
|
-
deleted: Schema.Boolean,
|
|
1519
|
-
}),
|
|
1520
1524
|
]),
|
|
1521
1525
|
Schema.Null,
|
|
1522
1526
|
]),
|
|
@@ -1558,6 +1562,8 @@ export const getRule: API.OperationMethod<
|
|
|
1558
1562
|
export interface ListRulesRequest {
|
|
1559
1563
|
/** Path param: Defines an identifier. */
|
|
1560
1564
|
zoneId: string;
|
|
1565
|
+
page?: number;
|
|
1566
|
+
perPage?: number;
|
|
1561
1567
|
/** Query param: The unique identifier of the firewall rule. */
|
|
1562
1568
|
id?: string;
|
|
1563
1569
|
/** Query param: The action to search for. Must be an exact match. */
|
|
@@ -1570,6 +1576,8 @@ export interface ListRulesRequest {
|
|
|
1570
1576
|
|
|
1571
1577
|
export const ListRulesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1572
1578
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1579
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1580
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1573
1581
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
1574
1582
|
action: Schema.optional(Schema.String).pipe(T.HttpQuery("action")),
|
|
1575
1583
|
description: Schema.optional(Schema.String).pipe(T.HttpQuery("description")),
|
|
@@ -1646,6 +1654,10 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1646
1654
|
filter: Schema.optional(
|
|
1647
1655
|
Schema.Union([
|
|
1648
1656
|
Schema.Union([
|
|
1657
|
+
Schema.Struct({
|
|
1658
|
+
id: Schema.String,
|
|
1659
|
+
deleted: Schema.Boolean,
|
|
1660
|
+
}),
|
|
1649
1661
|
Schema.Struct({
|
|
1650
1662
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1651
1663
|
description: Schema.optional(
|
|
@@ -1659,10 +1671,6 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1659
1671
|
),
|
|
1660
1672
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1661
1673
|
}),
|
|
1662
|
-
Schema.Struct({
|
|
1663
|
-
id: Schema.String,
|
|
1664
|
-
deleted: Schema.Boolean,
|
|
1665
|
-
}),
|
|
1666
1674
|
]),
|
|
1667
1675
|
Schema.Null,
|
|
1668
1676
|
]),
|
|
@@ -1840,6 +1848,10 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1840
1848
|
filter: Schema.optional(
|
|
1841
1849
|
Schema.Union([
|
|
1842
1850
|
Schema.Union([
|
|
1851
|
+
Schema.Struct({
|
|
1852
|
+
id: Schema.String,
|
|
1853
|
+
deleted: Schema.Boolean,
|
|
1854
|
+
}),
|
|
1843
1855
|
Schema.Struct({
|
|
1844
1856
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1845
1857
|
description: Schema.optional(
|
|
@@ -1853,10 +1865,6 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1853
1865
|
),
|
|
1854
1866
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1855
1867
|
}),
|
|
1856
|
-
Schema.Struct({
|
|
1857
|
-
id: Schema.String,
|
|
1858
|
-
deleted: Schema.Boolean,
|
|
1859
|
-
}),
|
|
1860
1868
|
]),
|
|
1861
1869
|
Schema.Null,
|
|
1862
1870
|
]),
|
|
@@ -2020,6 +2028,10 @@ export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2020
2028
|
filter: Schema.optional(
|
|
2021
2029
|
Schema.Union([
|
|
2022
2030
|
Schema.Union([
|
|
2031
|
+
Schema.Struct({
|
|
2032
|
+
id: Schema.String,
|
|
2033
|
+
deleted: Schema.Boolean,
|
|
2034
|
+
}),
|
|
2023
2035
|
Schema.Struct({
|
|
2024
2036
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2025
2037
|
description: Schema.optional(
|
|
@@ -2031,10 +2043,6 @@ export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2031
2043
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2032
2044
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2033
2045
|
}),
|
|
2034
|
-
Schema.Struct({
|
|
2035
|
-
id: Schema.String,
|
|
2036
|
-
deleted: Schema.Boolean,
|
|
2037
|
-
}),
|
|
2038
2046
|
]),
|
|
2039
2047
|
Schema.Null,
|
|
2040
2048
|
]),
|
|
@@ -2150,6 +2158,10 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2150
2158
|
filter: Schema.optional(
|
|
2151
2159
|
Schema.Union([
|
|
2152
2160
|
Schema.Union([
|
|
2161
|
+
Schema.Struct({
|
|
2162
|
+
id: Schema.String,
|
|
2163
|
+
deleted: Schema.Boolean,
|
|
2164
|
+
}),
|
|
2153
2165
|
Schema.Struct({
|
|
2154
2166
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2155
2167
|
description: Schema.optional(
|
|
@@ -2163,10 +2175,6 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2163
2175
|
),
|
|
2164
2176
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2165
2177
|
}),
|
|
2166
|
-
Schema.Struct({
|
|
2167
|
-
id: Schema.String,
|
|
2168
|
-
deleted: Schema.Boolean,
|
|
2169
|
-
}),
|
|
2170
2178
|
]),
|
|
2171
2179
|
Schema.Null,
|
|
2172
2180
|
]),
|
|
@@ -2291,6 +2299,10 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2291
2299
|
filter: Schema.optional(
|
|
2292
2300
|
Schema.Union([
|
|
2293
2301
|
Schema.Union([
|
|
2302
|
+
Schema.Struct({
|
|
2303
|
+
id: Schema.String,
|
|
2304
|
+
deleted: Schema.Boolean,
|
|
2305
|
+
}),
|
|
2294
2306
|
Schema.Struct({
|
|
2295
2307
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2296
2308
|
description: Schema.optional(
|
|
@@ -2302,10 +2314,6 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2302
2314
|
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2303
2315
|
ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2304
2316
|
}),
|
|
2305
|
-
Schema.Struct({
|
|
2306
|
-
id: Schema.String,
|
|
2307
|
-
deleted: Schema.Boolean,
|
|
2308
|
-
}),
|
|
2309
2317
|
]),
|
|
2310
2318
|
Schema.Null,
|
|
2311
2319
|
]),
|
|
@@ -2425,6 +2433,10 @@ export const BulkPatchRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2425
2433
|
filter: Schema.optional(
|
|
2426
2434
|
Schema.Union([
|
|
2427
2435
|
Schema.Union([
|
|
2436
|
+
Schema.Struct({
|
|
2437
|
+
id: Schema.String,
|
|
2438
|
+
deleted: Schema.Boolean,
|
|
2439
|
+
}),
|
|
2428
2440
|
Schema.Struct({
|
|
2429
2441
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2430
2442
|
description: Schema.optional(
|
|
@@ -2440,10 +2452,6 @@ export const BulkPatchRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2440
2452
|
Schema.Union([Schema.String, Schema.Null]),
|
|
2441
2453
|
),
|
|
2442
2454
|
}),
|
|
2443
|
-
Schema.Struct({
|
|
2444
|
-
id: Schema.String,
|
|
2445
|
-
deleted: Schema.Boolean,
|
|
2446
|
-
}),
|
|
2447
2455
|
]),
|
|
2448
2456
|
Schema.Null,
|
|
2449
2457
|
]),
|
|
@@ -2567,6 +2575,10 @@ export const BulkDeleteRulesResponse =
|
|
|
2567
2575
|
filter: Schema.optional(
|
|
2568
2576
|
Schema.Union([
|
|
2569
2577
|
Schema.Union([
|
|
2578
|
+
Schema.Struct({
|
|
2579
|
+
id: Schema.String,
|
|
2580
|
+
deleted: Schema.Boolean,
|
|
2581
|
+
}),
|
|
2570
2582
|
Schema.Struct({
|
|
2571
2583
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2572
2584
|
description: Schema.optional(
|
|
@@ -2582,10 +2594,6 @@ export const BulkDeleteRulesResponse =
|
|
|
2582
2594
|
Schema.Union([Schema.String, Schema.Null]),
|
|
2583
2595
|
),
|
|
2584
2596
|
}),
|
|
2585
|
-
Schema.Struct({
|
|
2586
|
-
id: Schema.String,
|
|
2587
|
-
deleted: Schema.Boolean,
|
|
2588
|
-
}),
|
|
2589
2597
|
]),
|
|
2590
2598
|
Schema.Null,
|
|
2591
2599
|
]),
|
|
@@ -2707,6 +2715,8 @@ export const getUaRule: API.OperationMethod<
|
|
|
2707
2715
|
export interface ListUaRulesRequest {
|
|
2708
2716
|
/** Path param: Defines an identifier. */
|
|
2709
2717
|
zoneId: string;
|
|
2718
|
+
page?: number;
|
|
2719
|
+
perPage?: number;
|
|
2710
2720
|
/** Query param: A string to search for in the description of existing rules. */
|
|
2711
2721
|
description?: string;
|
|
2712
2722
|
/** Query param: When true, indicates that the rule is currently paused. */
|
|
@@ -2717,6 +2727,8 @@ export interface ListUaRulesRequest {
|
|
|
2717
2727
|
|
|
2718
2728
|
export const ListUaRulesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2719
2729
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2730
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2731
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
2720
2732
|
description: Schema.optional(Schema.String).pipe(T.HttpQuery("description")),
|
|
2721
2733
|
paused: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("paused")),
|
|
2722
2734
|
userAgent: Schema.optional(Schema.String).pipe(T.HttpQuery("user_agent")),
|
|
@@ -3258,11 +3270,15 @@ export const getWafOverride: API.OperationMethod<
|
|
|
3258
3270
|
export interface ListWafOverridesRequest {
|
|
3259
3271
|
/** Path param: Defines an identifier. */
|
|
3260
3272
|
zoneId: string;
|
|
3273
|
+
page?: number;
|
|
3274
|
+
perPage?: number;
|
|
3261
3275
|
}
|
|
3262
3276
|
|
|
3263
3277
|
export const ListWafOverridesRequest =
|
|
3264
3278
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3265
3279
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3280
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
3281
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
3266
3282
|
}).pipe(
|
|
3267
3283
|
T.Http({ method: "GET", path: "/zones/{zone_id}/firewall/waf/overrides" }),
|
|
3268
3284
|
) as unknown as Schema.Schema<ListWafOverridesRequest>;
|
|
@@ -4017,6 +4033,8 @@ export const getWafPackage: API.OperationMethod<
|
|
|
4017
4033
|
export interface ListWafPackagesRequest {
|
|
4018
4034
|
/** Path param: Defines an identifier. */
|
|
4019
4035
|
zoneId: string;
|
|
4036
|
+
page?: number;
|
|
4037
|
+
perPage?: number;
|
|
4020
4038
|
/** Query param: The direction used to sort returned packages. */
|
|
4021
4039
|
direction?: "asc" | "desc";
|
|
4022
4040
|
/** Query param: When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match. */
|
|
@@ -4030,6 +4048,8 @@ export interface ListWafPackagesRequest {
|
|
|
4030
4048
|
export const ListWafPackagesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
4031
4049
|
{
|
|
4032
4050
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4051
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4052
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4033
4053
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
4034
4054
|
T.HttpQuery("direction"),
|
|
4035
4055
|
),
|
|
@@ -4140,6 +4160,8 @@ export interface ListWafPackageGroupsRequest {
|
|
|
4140
4160
|
packageId: string;
|
|
4141
4161
|
/** Path param: Defines an identifier of a schema. */
|
|
4142
4162
|
zoneId: string;
|
|
4163
|
+
page?: number;
|
|
4164
|
+
perPage?: number;
|
|
4143
4165
|
/** Query param: Defines the direction used to sort returned rule groups. */
|
|
4144
4166
|
direction?: "asc" | "desc";
|
|
4145
4167
|
/** Query param: Defines the condition for search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match. */
|
|
@@ -4158,6 +4180,8 @@ export const ListWafPackageGroupsRequest =
|
|
|
4158
4180
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4159
4181
|
packageId: Schema.String.pipe(T.HttpPath("packageId")),
|
|
4160
4182
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4183
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4184
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4161
4185
|
direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
|
|
4162
4186
|
T.HttpQuery("direction"),
|
|
4163
4187
|
),
|
|
@@ -4356,6 +4380,8 @@ export interface ListWafPackageRulesRequest {
|
|
|
4356
4380
|
packageId: string;
|
|
4357
4381
|
/** Path param: Defines an identifier of a schema. */
|
|
4358
4382
|
zoneId: string;
|
|
4383
|
+
page?: number;
|
|
4384
|
+
perPage?: number;
|
|
4359
4385
|
/** Query param: Defines the public description of the WAF rule. */
|
|
4360
4386
|
description?: string;
|
|
4361
4387
|
/** Query param: Defines the direction used to sort returned rules. */
|
|
@@ -4376,6 +4402,8 @@ export const ListWafPackageRulesRequest =
|
|
|
4376
4402
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4377
4403
|
packageId: Schema.String.pipe(T.HttpPath("packageId")),
|
|
4378
4404
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4405
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
4406
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4379
4407
|
description: Schema.optional(Schema.String).pipe(
|
|
4380
4408
|
T.HttpQuery("description"),
|
|
4381
4409
|
),
|
|
@@ -4440,28 +4468,6 @@ export const ListWafPackageRulesResponse =
|
|
|
4440
4468
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4441
4469
|
result: Schema.Array(
|
|
4442
4470
|
Schema.Union([
|
|
4443
|
-
Schema.Struct({
|
|
4444
|
-
id: Schema.String,
|
|
4445
|
-
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4446
|
-
description: Schema.String,
|
|
4447
|
-
group: Schema.Struct({
|
|
4448
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4449
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4450
|
-
}),
|
|
4451
|
-
mode: Schema.Literals(["on", "off"]),
|
|
4452
|
-
packageId: Schema.String,
|
|
4453
|
-
priority: Schema.String,
|
|
4454
|
-
}).pipe(
|
|
4455
|
-
Schema.encodeKeys({
|
|
4456
|
-
id: "id",
|
|
4457
|
-
allowedModes: "allowed_modes",
|
|
4458
|
-
description: "description",
|
|
4459
|
-
group: "group",
|
|
4460
|
-
mode: "mode",
|
|
4461
|
-
packageId: "package_id",
|
|
4462
|
-
priority: "priority",
|
|
4463
|
-
}),
|
|
4464
|
-
),
|
|
4465
4471
|
Schema.Struct({
|
|
4466
4472
|
id: Schema.String,
|
|
4467
4473
|
allowedModes: Schema.Array(
|
|
@@ -4505,6 +4511,28 @@ export const ListWafPackageRulesResponse =
|
|
|
4505
4511
|
priority: "priority",
|
|
4506
4512
|
}),
|
|
4507
4513
|
),
|
|
4514
|
+
Schema.Struct({
|
|
4515
|
+
id: Schema.String,
|
|
4516
|
+
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4517
|
+
description: Schema.String,
|
|
4518
|
+
group: Schema.Struct({
|
|
4519
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4520
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4521
|
+
}),
|
|
4522
|
+
mode: Schema.Literals(["on", "off"]),
|
|
4523
|
+
packageId: Schema.String,
|
|
4524
|
+
priority: Schema.String,
|
|
4525
|
+
}).pipe(
|
|
4526
|
+
Schema.encodeKeys({
|
|
4527
|
+
id: "id",
|
|
4528
|
+
allowedModes: "allowed_modes",
|
|
4529
|
+
description: "description",
|
|
4530
|
+
group: "group",
|
|
4531
|
+
mode: "mode",
|
|
4532
|
+
packageId: "package_id",
|
|
4533
|
+
priority: "priority",
|
|
4534
|
+
}),
|
|
4535
|
+
),
|
|
4508
4536
|
]),
|
|
4509
4537
|
),
|
|
4510
4538
|
resultInfo: Schema.Struct({
|
|
@@ -4612,28 +4640,6 @@ export type PatchWafPackageRuleResponse =
|
|
|
4612
4640
|
|
|
4613
4641
|
export const PatchWafPackageRuleResponse =
|
|
4614
4642
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
4615
|
-
Schema.Struct({
|
|
4616
|
-
id: Schema.String,
|
|
4617
|
-
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4618
|
-
description: Schema.String,
|
|
4619
|
-
group: Schema.Struct({
|
|
4620
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4621
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4622
|
-
}),
|
|
4623
|
-
mode: Schema.Literals(["on", "off"]),
|
|
4624
|
-
packageId: Schema.String,
|
|
4625
|
-
priority: Schema.String,
|
|
4626
|
-
}).pipe(
|
|
4627
|
-
Schema.encodeKeys({
|
|
4628
|
-
id: "id",
|
|
4629
|
-
allowedModes: "allowed_modes",
|
|
4630
|
-
description: "description",
|
|
4631
|
-
group: "group",
|
|
4632
|
-
mode: "mode",
|
|
4633
|
-
packageId: "package_id",
|
|
4634
|
-
priority: "priority",
|
|
4635
|
-
}),
|
|
4636
|
-
),
|
|
4637
4643
|
Schema.Struct({
|
|
4638
4644
|
id: Schema.String,
|
|
4639
4645
|
allowedModes: Schema.Array(
|
|
@@ -4677,6 +4683,28 @@ export const PatchWafPackageRuleResponse =
|
|
|
4677
4683
|
priority: "priority",
|
|
4678
4684
|
}),
|
|
4679
4685
|
),
|
|
4686
|
+
Schema.Struct({
|
|
4687
|
+
id: Schema.String,
|
|
4688
|
+
allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
|
|
4689
|
+
description: Schema.String,
|
|
4690
|
+
group: Schema.Struct({
|
|
4691
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4692
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4693
|
+
}),
|
|
4694
|
+
mode: Schema.Literals(["on", "off"]),
|
|
4695
|
+
packageId: Schema.String,
|
|
4696
|
+
priority: Schema.String,
|
|
4697
|
+
}).pipe(
|
|
4698
|
+
Schema.encodeKeys({
|
|
4699
|
+
id: "id",
|
|
4700
|
+
allowedModes: "allowed_modes",
|
|
4701
|
+
description: "description",
|
|
4702
|
+
group: "group",
|
|
4703
|
+
mode: "mode",
|
|
4704
|
+
packageId: "package_id",
|
|
4705
|
+
priority: "priority",
|
|
4706
|
+
}),
|
|
4707
|
+
),
|
|
4680
4708
|
]).pipe(
|
|
4681
4709
|
T.ResponsePath("result"),
|
|
4682
4710
|
) as unknown as Schema.Schema<PatchWafPackageRuleResponse>;
|
|
@@ -246,11 +246,15 @@ export const getHealthcheck: API.OperationMethod<
|
|
|
246
246
|
export interface ListHealthchecksRequest {
|
|
247
247
|
/** Path param: Identifier */
|
|
248
248
|
zoneId: string;
|
|
249
|
+
page?: number;
|
|
250
|
+
perPage?: number;
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
export const ListHealthchecksRequest =
|
|
252
254
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
253
255
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
256
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
257
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
254
258
|
}).pipe(
|
|
255
259
|
T.Http({ method: "GET", path: "/zones/{zone_id}/healthchecks" }),
|
|
256
260
|
) as unknown as Schema.Schema<ListHealthchecksRequest>;
|