@distilled.cloud/cloudflare 0.18.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +9 -1
- package/lib/client/api.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/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 +16 -16
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +112 -88
- 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 +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +28 -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/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 +10 -4
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +22 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2.d.ts +68 -0
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +105 -0
- 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 +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +12 -9
- 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 +2 -2
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +14 -11
- 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 +4 -4
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +28 -22
- 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 +60 -60
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +416 -326
- 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/client/api.ts +10 -0
- 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/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 +162 -112
- package/src/services/healthchecks.ts +21 -14
- package/src/services/images.ts +19 -14
- package/src/services/intel.ts +40 -28
- package/src/services/kv.ts +39 -25
- package/src/services/load-balancers.ts +19 -14
- 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 +34 -14
- package/src/services/r2.ts +241 -0
- 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 +17 -12
- 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 +19 -14
- 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 +40 -28
- package/src/services/workers.ts +85 -64
- package/src/services/workflows.ts +57 -42
- package/src/services/zero-trust.ts +618 -416
- package/src/services/zones.ts +19 -14
package/src/services/rum.ts
CHANGED
|
@@ -664,12 +664,12 @@ export interface ListSiteInfosResponse {
|
|
|
664
664
|
siteToken?: string | null;
|
|
665
665
|
snippet?: string | null;
|
|
666
666
|
}[];
|
|
667
|
-
resultInfo
|
|
667
|
+
resultInfo?: {
|
|
668
668
|
count?: number | null;
|
|
669
669
|
page?: number | null;
|
|
670
670
|
perPage?: number | null;
|
|
671
671
|
totalCount?: number | null;
|
|
672
|
-
};
|
|
672
|
+
} | null;
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
export const ListSiteInfosResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -752,18 +752,23 @@ export const ListSiteInfosResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
752
752
|
}),
|
|
753
753
|
),
|
|
754
754
|
),
|
|
755
|
-
resultInfo: Schema.
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
755
|
+
resultInfo: Schema.optional(
|
|
756
|
+
Schema.Union([
|
|
757
|
+
Schema.Struct({
|
|
758
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
759
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
760
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
761
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
762
|
+
}).pipe(
|
|
763
|
+
Schema.encodeKeys({
|
|
764
|
+
count: "count",
|
|
765
|
+
page: "page",
|
|
766
|
+
perPage: "per_page",
|
|
767
|
+
totalCount: "total_count",
|
|
768
|
+
}),
|
|
769
|
+
),
|
|
770
|
+
Schema.Null,
|
|
771
|
+
]),
|
|
767
772
|
),
|
|
768
773
|
}).pipe(
|
|
769
774
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -118,12 +118,12 @@ export interface ListSchemasResponse {
|
|
|
118
118
|
source: string;
|
|
119
119
|
validationEnabled?: boolean | null;
|
|
120
120
|
}[];
|
|
121
|
-
resultInfo
|
|
121
|
+
resultInfo?: {
|
|
122
122
|
count?: number | null;
|
|
123
123
|
page?: number | null;
|
|
124
124
|
perPage?: number | null;
|
|
125
125
|
totalCount?: number | null;
|
|
126
|
-
};
|
|
126
|
+
} | null;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
export const ListSchemasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -148,18 +148,23 @@ export const ListSchemasResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
148
148
|
}),
|
|
149
149
|
),
|
|
150
150
|
),
|
|
151
|
-
resultInfo: Schema.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
151
|
+
resultInfo: Schema.optional(
|
|
152
|
+
Schema.Union([
|
|
153
|
+
Schema.Struct({
|
|
154
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
155
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
156
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
157
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
158
|
+
}).pipe(
|
|
159
|
+
Schema.encodeKeys({
|
|
160
|
+
count: "count",
|
|
161
|
+
page: "page",
|
|
162
|
+
perPage: "per_page",
|
|
163
|
+
totalCount: "total_count",
|
|
164
|
+
}),
|
|
165
|
+
),
|
|
166
|
+
Schema.Null,
|
|
167
|
+
]),
|
|
163
168
|
),
|
|
164
169
|
}).pipe(
|
|
165
170
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -639,12 +644,12 @@ export const ListSettingOperationsRequest =
|
|
|
639
644
|
|
|
640
645
|
export interface ListSettingOperationsResponse {
|
|
641
646
|
result: { mitigationAction: "log" | "block" | "none"; operationId: string }[];
|
|
642
|
-
resultInfo
|
|
647
|
+
resultInfo?: {
|
|
643
648
|
count?: number | null;
|
|
644
649
|
page?: number | null;
|
|
645
650
|
perPage?: number | null;
|
|
646
651
|
totalCount?: number | null;
|
|
647
|
-
};
|
|
652
|
+
} | null;
|
|
648
653
|
}
|
|
649
654
|
|
|
650
655
|
export const ListSettingOperationsResponse =
|
|
@@ -660,18 +665,25 @@ export const ListSettingOperationsResponse =
|
|
|
660
665
|
}),
|
|
661
666
|
),
|
|
662
667
|
),
|
|
663
|
-
resultInfo: Schema.
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
668
|
+
resultInfo: Schema.optional(
|
|
669
|
+
Schema.Union([
|
|
670
|
+
Schema.Struct({
|
|
671
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
672
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
673
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
674
|
+
totalCount: Schema.optional(
|
|
675
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
676
|
+
),
|
|
677
|
+
}).pipe(
|
|
678
|
+
Schema.encodeKeys({
|
|
679
|
+
count: "count",
|
|
680
|
+
page: "page",
|
|
681
|
+
perPage: "per_page",
|
|
682
|
+
totalCount: "total_count",
|
|
683
|
+
}),
|
|
684
|
+
),
|
|
685
|
+
Schema.Null,
|
|
686
|
+
]),
|
|
675
687
|
),
|
|
676
688
|
}).pipe(
|
|
677
689
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -165,12 +165,12 @@ export const ListStoresRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
165
165
|
|
|
166
166
|
export interface ListStoresResponse {
|
|
167
167
|
result: { id: string; created: string; modified: string; name: string }[];
|
|
168
|
-
resultInfo
|
|
168
|
+
resultInfo?: {
|
|
169
169
|
count?: number | null;
|
|
170
170
|
page?: number | null;
|
|
171
171
|
perPage?: number | null;
|
|
172
172
|
totalCount?: number | null;
|
|
173
|
-
};
|
|
173
|
+
} | null;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
export const ListStoresResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -182,18 +182,23 @@ export const ListStoresResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
182
182
|
name: Schema.String,
|
|
183
183
|
}),
|
|
184
184
|
),
|
|
185
|
-
resultInfo: Schema.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
185
|
+
resultInfo: Schema.optional(
|
|
186
|
+
Schema.Union([
|
|
187
|
+
Schema.Struct({
|
|
188
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
189
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
190
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
191
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
192
|
+
}).pipe(
|
|
193
|
+
Schema.encodeKeys({
|
|
194
|
+
count: "count",
|
|
195
|
+
page: "page",
|
|
196
|
+
perPage: "per_page",
|
|
197
|
+
totalCount: "total_count",
|
|
198
|
+
}),
|
|
199
|
+
),
|
|
200
|
+
Schema.Null,
|
|
201
|
+
]),
|
|
197
202
|
),
|
|
198
203
|
}).pipe(
|
|
199
204
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -456,12 +461,12 @@ export interface ListStoreSecretsResponse {
|
|
|
456
461
|
storeId: string;
|
|
457
462
|
comment?: string | null;
|
|
458
463
|
}[];
|
|
459
|
-
resultInfo
|
|
464
|
+
resultInfo?: {
|
|
460
465
|
count?: number | null;
|
|
461
466
|
page?: number | null;
|
|
462
467
|
perPage?: number | null;
|
|
463
468
|
totalCount?: number | null;
|
|
464
|
-
};
|
|
469
|
+
} | null;
|
|
465
470
|
}
|
|
466
471
|
|
|
467
472
|
export const ListStoreSecretsResponse =
|
|
@@ -487,18 +492,25 @@ export const ListStoreSecretsResponse =
|
|
|
487
492
|
}),
|
|
488
493
|
),
|
|
489
494
|
),
|
|
490
|
-
resultInfo: Schema.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
495
|
+
resultInfo: Schema.optional(
|
|
496
|
+
Schema.Union([
|
|
497
|
+
Schema.Struct({
|
|
498
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
499
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
500
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
501
|
+
totalCount: Schema.optional(
|
|
502
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
503
|
+
),
|
|
504
|
+
}).pipe(
|
|
505
|
+
Schema.encodeKeys({
|
|
506
|
+
count: "count",
|
|
507
|
+
page: "page",
|
|
508
|
+
perPage: "per_page",
|
|
509
|
+
totalCount: "total_count",
|
|
510
|
+
}),
|
|
511
|
+
),
|
|
512
|
+
Schema.Null,
|
|
513
|
+
]),
|
|
502
514
|
),
|
|
503
515
|
}).pipe(
|
|
504
516
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -62,12 +62,12 @@ export interface ListInsightsResponse {
|
|
|
62
62
|
}[]
|
|
63
63
|
| null;
|
|
64
64
|
};
|
|
65
|
-
resultInfo
|
|
65
|
+
resultInfo?: {
|
|
66
66
|
count?: number | null;
|
|
67
67
|
page?: number | null;
|
|
68
68
|
perPage?: number | null;
|
|
69
69
|
totalCount?: number | null;
|
|
70
|
-
};
|
|
70
|
+
} | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const ListInsightsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -178,18 +178,23 @@ export const ListInsightsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
178
178
|
]),
|
|
179
179
|
),
|
|
180
180
|
}),
|
|
181
|
-
resultInfo: Schema.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
181
|
+
resultInfo: Schema.optional(
|
|
182
|
+
Schema.Union([
|
|
183
|
+
Schema.Struct({
|
|
184
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
185
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
186
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
187
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
188
|
+
}).pipe(
|
|
189
|
+
Schema.encodeKeys({
|
|
190
|
+
count: "count",
|
|
191
|
+
page: "page",
|
|
192
|
+
perPage: "per_page",
|
|
193
|
+
totalCount: "total_count",
|
|
194
|
+
}),
|
|
195
|
+
),
|
|
196
|
+
Schema.Null,
|
|
197
|
+
]),
|
|
193
198
|
),
|
|
194
199
|
}).pipe(
|
|
195
200
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
package/src/services/snippets.ts
CHANGED
|
@@ -335,12 +335,12 @@ export interface ListSnippetsResponse {
|
|
|
335
335
|
snippetName: string;
|
|
336
336
|
modifiedOn?: string | null;
|
|
337
337
|
}[];
|
|
338
|
-
resultInfo
|
|
338
|
+
resultInfo?: {
|
|
339
339
|
count?: number | null;
|
|
340
340
|
page?: number | null;
|
|
341
341
|
perPage?: number | null;
|
|
342
342
|
totalCount?: number | null;
|
|
343
|
-
};
|
|
343
|
+
} | null;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
export const ListSnippetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -357,18 +357,23 @@ export const ListSnippetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
357
357
|
}),
|
|
358
358
|
),
|
|
359
359
|
),
|
|
360
|
-
resultInfo: Schema.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
360
|
+
resultInfo: Schema.optional(
|
|
361
|
+
Schema.Union([
|
|
362
|
+
Schema.Struct({
|
|
363
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
364
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
365
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
366
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
367
|
+
}).pipe(
|
|
368
|
+
Schema.encodeKeys({
|
|
369
|
+
count: "count",
|
|
370
|
+
page: "page",
|
|
371
|
+
perPage: "per_page",
|
|
372
|
+
totalCount: "total_count",
|
|
373
|
+
}),
|
|
374
|
+
),
|
|
375
|
+
Schema.Null,
|
|
376
|
+
]),
|
|
372
377
|
),
|
|
373
378
|
}).pipe(
|
|
374
379
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
package/src/services/spectrum.ts
CHANGED
|
@@ -721,12 +721,12 @@ export interface ListAppsResponse {
|
|
|
721
721
|
originDirect?: string[] | null;
|
|
722
722
|
}
|
|
723
723
|
)[];
|
|
724
|
-
resultInfo
|
|
724
|
+
resultInfo?: {
|
|
725
725
|
count?: number | null;
|
|
726
726
|
page?: number | null;
|
|
727
727
|
perPage?: number | null;
|
|
728
728
|
totalCount?: number | null;
|
|
729
|
-
};
|
|
729
|
+
} | null;
|
|
730
730
|
}
|
|
731
731
|
|
|
732
732
|
export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -856,18 +856,23 @@ export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
856
856
|
),
|
|
857
857
|
]),
|
|
858
858
|
),
|
|
859
|
-
resultInfo: Schema.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
859
|
+
resultInfo: Schema.optional(
|
|
860
|
+
Schema.Union([
|
|
861
|
+
Schema.Struct({
|
|
862
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
863
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
864
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
865
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
866
|
+
}).pipe(
|
|
867
|
+
Schema.encodeKeys({
|
|
868
|
+
count: "count",
|
|
869
|
+
page: "page",
|
|
870
|
+
perPage: "per_page",
|
|
871
|
+
totalCount: "total_count",
|
|
872
|
+
}),
|
|
873
|
+
),
|
|
874
|
+
Schema.Null,
|
|
875
|
+
]),
|
|
871
876
|
),
|
|
872
877
|
}).pipe(
|
|
873
878
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
package/src/services/speed.ts
CHANGED
|
@@ -1470,12 +1470,12 @@ export interface ListPageTestsResponse {
|
|
|
1470
1470
|
scheduleFrequency?: "DAILY" | "WEEKLY" | null;
|
|
1471
1471
|
url?: string | null;
|
|
1472
1472
|
}[];
|
|
1473
|
-
resultInfo
|
|
1473
|
+
resultInfo?: {
|
|
1474
1474
|
count?: number | null;
|
|
1475
1475
|
page?: number | null;
|
|
1476
1476
|
perPage?: number | null;
|
|
1477
1477
|
totalCount?: number | null;
|
|
1478
|
-
};
|
|
1478
|
+
} | null;
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
1481
|
export const ListPageTestsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1639,18 +1639,23 @@ export const ListPageTestsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1639
1639
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1640
1640
|
}),
|
|
1641
1641
|
),
|
|
1642
|
-
resultInfo: Schema.
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1642
|
+
resultInfo: Schema.optional(
|
|
1643
|
+
Schema.Union([
|
|
1644
|
+
Schema.Struct({
|
|
1645
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1646
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1647
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1648
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1649
|
+
}).pipe(
|
|
1650
|
+
Schema.encodeKeys({
|
|
1651
|
+
count: "count",
|
|
1652
|
+
page: "page",
|
|
1653
|
+
perPage: "per_page",
|
|
1654
|
+
totalCount: "total_count",
|
|
1655
|
+
}),
|
|
1656
|
+
),
|
|
1657
|
+
Schema.Null,
|
|
1658
|
+
]),
|
|
1654
1659
|
),
|
|
1655
1660
|
}).pipe(
|
|
1656
1661
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -199,12 +199,12 @@ export interface ListConfigurationsResponse {
|
|
|
199
199
|
tokenSources: string[];
|
|
200
200
|
tokenType: "JWT";
|
|
201
201
|
}[];
|
|
202
|
-
resultInfo
|
|
202
|
+
resultInfo?: {
|
|
203
203
|
count?: number | null;
|
|
204
204
|
page?: number | null;
|
|
205
205
|
perPage?: number | null;
|
|
206
206
|
totalCount?: number | null;
|
|
207
|
-
};
|
|
207
|
+
} | null;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
export const ListConfigurationsResponse =
|
|
@@ -267,18 +267,25 @@ export const ListConfigurationsResponse =
|
|
|
267
267
|
}),
|
|
268
268
|
),
|
|
269
269
|
),
|
|
270
|
-
resultInfo: Schema.
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
270
|
+
resultInfo: Schema.optional(
|
|
271
|
+
Schema.Union([
|
|
272
|
+
Schema.Struct({
|
|
273
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
274
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
275
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
276
|
+
totalCount: Schema.optional(
|
|
277
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
278
|
+
),
|
|
279
|
+
}).pipe(
|
|
280
|
+
Schema.encodeKeys({
|
|
281
|
+
count: "count",
|
|
282
|
+
page: "page",
|
|
283
|
+
perPage: "per_page",
|
|
284
|
+
totalCount: "total_count",
|
|
285
|
+
}),
|
|
286
|
+
),
|
|
287
|
+
Schema.Null,
|
|
288
|
+
]),
|
|
282
289
|
),
|
|
283
290
|
}).pipe(
|
|
284
291
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -1014,12 +1021,12 @@ export interface ListRulesResponse {
|
|
|
1014
1021
|
createdAt?: string | null;
|
|
1015
1022
|
lastUpdated?: string | null;
|
|
1016
1023
|
}[];
|
|
1017
|
-
resultInfo
|
|
1024
|
+
resultInfo?: {
|
|
1018
1025
|
count?: number | null;
|
|
1019
1026
|
page?: number | null;
|
|
1020
1027
|
perPage?: number | null;
|
|
1021
1028
|
totalCount?: number | null;
|
|
1022
|
-
};
|
|
1029
|
+
} | null;
|
|
1023
1030
|
}
|
|
1024
1031
|
|
|
1025
1032
|
export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1073,18 +1080,23 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1073
1080
|
}),
|
|
1074
1081
|
),
|
|
1075
1082
|
),
|
|
1076
|
-
resultInfo: Schema.
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1083
|
+
resultInfo: Schema.optional(
|
|
1084
|
+
Schema.Union([
|
|
1085
|
+
Schema.Struct({
|
|
1086
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1087
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1088
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1089
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1090
|
+
}).pipe(
|
|
1091
|
+
Schema.encodeKeys({
|
|
1092
|
+
count: "count",
|
|
1093
|
+
page: "page",
|
|
1094
|
+
perPage: "per_page",
|
|
1095
|
+
totalCount: "total_count",
|
|
1096
|
+
}),
|
|
1097
|
+
),
|
|
1098
|
+
Schema.Null,
|
|
1099
|
+
]),
|
|
1088
1100
|
),
|
|
1089
1101
|
}).pipe(
|
|
1090
1102
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -253,12 +253,12 @@ export interface ListWidgetsResponse {
|
|
|
253
253
|
region: "world" | "china";
|
|
254
254
|
sitekey: string;
|
|
255
255
|
}[];
|
|
256
|
-
resultInfo
|
|
256
|
+
resultInfo?: {
|
|
257
257
|
count?: number | null;
|
|
258
258
|
page?: number | null;
|
|
259
259
|
perPage?: number | null;
|
|
260
260
|
totalCount?: number | null;
|
|
261
|
-
};
|
|
261
|
+
} | null;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
export const ListWidgetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -296,18 +296,23 @@ export const ListWidgetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
296
296
|
}),
|
|
297
297
|
),
|
|
298
298
|
),
|
|
299
|
-
resultInfo: Schema.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
299
|
+
resultInfo: Schema.optional(
|
|
300
|
+
Schema.Union([
|
|
301
|
+
Schema.Struct({
|
|
302
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
303
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
304
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
305
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
306
|
+
}).pipe(
|
|
307
|
+
Schema.encodeKeys({
|
|
308
|
+
count: "count",
|
|
309
|
+
page: "page",
|
|
310
|
+
perPage: "per_page",
|
|
311
|
+
totalCount: "total_count",
|
|
312
|
+
}),
|
|
313
|
+
),
|
|
314
|
+
Schema.Null,
|
|
315
|
+
]),
|
|
311
316
|
),
|
|
312
317
|
}).pipe(
|
|
313
318
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|