@distilled.cloud/cloudflare 0.18.2 → 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/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 +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 +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/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 +21 -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
|
@@ -298,12 +298,12 @@ export interface ListAbuseReportsResponse {
|
|
|
298
298
|
}[]
|
|
299
299
|
| null;
|
|
300
300
|
};
|
|
301
|
-
resultInfo
|
|
301
|
+
resultInfo?: {
|
|
302
302
|
count?: number | null;
|
|
303
303
|
page?: number | null;
|
|
304
304
|
perPage?: number | null;
|
|
305
305
|
totalCount?: number | null;
|
|
306
|
-
};
|
|
306
|
+
} | null;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
export const ListAbuseReportsResponse =
|
|
@@ -394,18 +394,25 @@ export const ListAbuseReportsResponse =
|
|
|
394
394
|
]),
|
|
395
395
|
),
|
|
396
396
|
}),
|
|
397
|
-
resultInfo: Schema.
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
397
|
+
resultInfo: Schema.optional(
|
|
398
|
+
Schema.Union([
|
|
399
|
+
Schema.Struct({
|
|
400
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
401
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
402
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
403
|
+
totalCount: Schema.optional(
|
|
404
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
405
|
+
),
|
|
406
|
+
}).pipe(
|
|
407
|
+
Schema.encodeKeys({
|
|
408
|
+
count: "count",
|
|
409
|
+
page: "page",
|
|
410
|
+
perPage: "per_page",
|
|
411
|
+
totalCount: "total_count",
|
|
412
|
+
}),
|
|
413
|
+
),
|
|
414
|
+
Schema.Null,
|
|
415
|
+
]),
|
|
409
416
|
),
|
|
410
417
|
}).pipe(
|
|
411
418
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -672,12 +679,12 @@ export interface ListMitigationsResponse {
|
|
|
672
679
|
}[]
|
|
673
680
|
| null;
|
|
674
681
|
};
|
|
675
|
-
resultInfo
|
|
682
|
+
resultInfo?: {
|
|
676
683
|
count?: number | null;
|
|
677
684
|
page?: number | null;
|
|
678
685
|
perPage?: number | null;
|
|
679
686
|
totalCount?: number | null;
|
|
680
|
-
};
|
|
687
|
+
} | null;
|
|
681
688
|
}
|
|
682
689
|
|
|
683
690
|
export const ListMitigationsResponse =
|
|
@@ -729,18 +736,25 @@ export const ListMitigationsResponse =
|
|
|
729
736
|
]),
|
|
730
737
|
),
|
|
731
738
|
}),
|
|
732
|
-
resultInfo: Schema.
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
739
|
+
resultInfo: Schema.optional(
|
|
740
|
+
Schema.Union([
|
|
741
|
+
Schema.Struct({
|
|
742
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
743
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
744
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
745
|
+
totalCount: Schema.optional(
|
|
746
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
747
|
+
),
|
|
748
|
+
}).pipe(
|
|
749
|
+
Schema.encodeKeys({
|
|
750
|
+
count: "count",
|
|
751
|
+
page: "page",
|
|
752
|
+
perPage: "per_page",
|
|
753
|
+
totalCount: "total_count",
|
|
754
|
+
}),
|
|
755
|
+
),
|
|
756
|
+
Schema.Null,
|
|
757
|
+
]),
|
|
744
758
|
),
|
|
745
759
|
}).pipe(
|
|
746
760
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
package/src/services/accounts.ts
CHANGED
|
@@ -253,12 +253,12 @@ export interface ListAccountsResponse {
|
|
|
253
253
|
enforceTwofactor?: boolean | null;
|
|
254
254
|
} | null;
|
|
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 ListAccountsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -315,18 +315,23 @@ export const ListAccountsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
315
315
|
}),
|
|
316
316
|
),
|
|
317
317
|
),
|
|
318
|
-
resultInfo: Schema.
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
318
|
+
resultInfo: Schema.optional(
|
|
319
|
+
Schema.Union([
|
|
320
|
+
Schema.Struct({
|
|
321
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
322
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
323
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
324
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
325
|
+
}).pipe(
|
|
326
|
+
Schema.encodeKeys({
|
|
327
|
+
count: "count",
|
|
328
|
+
page: "page",
|
|
329
|
+
perPage: "per_page",
|
|
330
|
+
totalCount: "total_count",
|
|
331
|
+
}),
|
|
332
|
+
),
|
|
333
|
+
Schema.Null,
|
|
334
|
+
]),
|
|
330
335
|
),
|
|
331
336
|
}).pipe(
|
|
332
337
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -895,7 +900,7 @@ export interface ListLogAuditsResponse {
|
|
|
895
900
|
} | null;
|
|
896
901
|
zone?: { id?: string | null; name?: string | null } | null;
|
|
897
902
|
}[];
|
|
898
|
-
resultInfo
|
|
903
|
+
resultInfo?: { cursors?: { after?: string | null } | null } | null;
|
|
899
904
|
}
|
|
900
905
|
|
|
901
906
|
export const ListLogAuditsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1031,16 +1036,23 @@ export const ListLogAuditsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1031
1036
|
),
|
|
1032
1037
|
}),
|
|
1033
1038
|
),
|
|
1034
|
-
resultInfo: Schema.
|
|
1035
|
-
|
|
1036
|
-
Schema.
|
|
1037
|
-
Schema.
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1039
|
+
resultInfo: Schema.optional(
|
|
1040
|
+
Schema.Union([
|
|
1041
|
+
Schema.Struct({
|
|
1042
|
+
cursors: Schema.optional(
|
|
1043
|
+
Schema.Union([
|
|
1044
|
+
Schema.Struct({
|
|
1045
|
+
after: Schema.optional(
|
|
1046
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1047
|
+
),
|
|
1048
|
+
}),
|
|
1049
|
+
Schema.Null,
|
|
1050
|
+
]),
|
|
1051
|
+
),
|
|
1052
|
+
}),
|
|
1053
|
+
Schema.Null,
|
|
1054
|
+
]),
|
|
1055
|
+
),
|
|
1044
1056
|
}).pipe(
|
|
1045
1057
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
1046
1058
|
) as unknown as Schema.Schema<ListLogAuditsResponse>;
|
|
@@ -1497,12 +1509,12 @@ export interface ListMembersResponse {
|
|
|
1497
1509
|
twoFactorAuthenticationEnabled?: boolean | null;
|
|
1498
1510
|
} | null;
|
|
1499
1511
|
}[];
|
|
1500
|
-
resultInfo
|
|
1512
|
+
resultInfo?: {
|
|
1501
1513
|
count?: number | null;
|
|
1502
1514
|
page?: number | null;
|
|
1503
1515
|
perPage?: number | null;
|
|
1504
1516
|
totalCount?: number | null;
|
|
1505
|
-
};
|
|
1517
|
+
} | null;
|
|
1506
1518
|
}
|
|
1507
1519
|
|
|
1508
1520
|
export const ListMembersResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1767,18 +1779,23 @@ export const ListMembersResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1767
1779
|
),
|
|
1768
1780
|
}),
|
|
1769
1781
|
),
|
|
1770
|
-
resultInfo: Schema.
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
+
resultInfo: Schema.optional(
|
|
1783
|
+
Schema.Union([
|
|
1784
|
+
Schema.Struct({
|
|
1785
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1786
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1787
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1788
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1789
|
+
}).pipe(
|
|
1790
|
+
Schema.encodeKeys({
|
|
1791
|
+
count: "count",
|
|
1792
|
+
page: "page",
|
|
1793
|
+
perPage: "per_page",
|
|
1794
|
+
totalCount: "total_count",
|
|
1795
|
+
}),
|
|
1796
|
+
),
|
|
1797
|
+
Schema.Null,
|
|
1798
|
+
]),
|
|
1782
1799
|
),
|
|
1783
1800
|
}).pipe(
|
|
1784
1801
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -2758,12 +2775,12 @@ export interface ListRolesResponse {
|
|
|
2758
2775
|
zones?: { read?: boolean | null; write?: boolean | null } | null;
|
|
2759
2776
|
};
|
|
2760
2777
|
}[];
|
|
2761
|
-
resultInfo
|
|
2778
|
+
resultInfo?: {
|
|
2762
2779
|
count?: number | null;
|
|
2763
2780
|
page?: number | null;
|
|
2764
2781
|
perPage?: number | null;
|
|
2765
2782
|
totalCount?: number | null;
|
|
2766
|
-
};
|
|
2783
|
+
} | null;
|
|
2767
2784
|
}
|
|
2768
2785
|
|
|
2769
2786
|
export const ListRolesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -2947,18 +2964,23 @@ export const ListRolesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2947
2964
|
),
|
|
2948
2965
|
}),
|
|
2949
2966
|
),
|
|
2950
|
-
resultInfo: Schema.
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2967
|
+
resultInfo: Schema.optional(
|
|
2968
|
+
Schema.Union([
|
|
2969
|
+
Schema.Struct({
|
|
2970
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2971
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2972
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2973
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2974
|
+
}).pipe(
|
|
2975
|
+
Schema.encodeKeys({
|
|
2976
|
+
count: "count",
|
|
2977
|
+
page: "page",
|
|
2978
|
+
perPage: "per_page",
|
|
2979
|
+
totalCount: "total_count",
|
|
2980
|
+
}),
|
|
2981
|
+
),
|
|
2982
|
+
Schema.Null,
|
|
2983
|
+
]),
|
|
2962
2984
|
),
|
|
2963
2985
|
}).pipe(
|
|
2964
2986
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -3875,12 +3897,12 @@ export interface ListTokensResponse {
|
|
|
3875
3897
|
| null;
|
|
3876
3898
|
status?: "active" | "disabled" | "expired" | null;
|
|
3877
3899
|
}[];
|
|
3878
|
-
resultInfo
|
|
3900
|
+
resultInfo?: {
|
|
3879
3901
|
count?: number | null;
|
|
3880
3902
|
page?: number | null;
|
|
3881
3903
|
perPage?: number | null;
|
|
3882
3904
|
totalCount?: number | null;
|
|
3883
|
-
};
|
|
3905
|
+
} | null;
|
|
3884
3906
|
}
|
|
3885
3907
|
|
|
3886
3908
|
export const ListTokensResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -3974,18 +3996,23 @@ export const ListTokensResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3974
3996
|
}),
|
|
3975
3997
|
),
|
|
3976
3998
|
),
|
|
3977
|
-
resultInfo: Schema.
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3999
|
+
resultInfo: Schema.optional(
|
|
4000
|
+
Schema.Union([
|
|
4001
|
+
Schema.Struct({
|
|
4002
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4003
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4004
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4005
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4006
|
+
}).pipe(
|
|
4007
|
+
Schema.encodeKeys({
|
|
4008
|
+
count: "count",
|
|
4009
|
+
page: "page",
|
|
4010
|
+
perPage: "per_page",
|
|
4011
|
+
totalCount: "total_count",
|
|
4012
|
+
}),
|
|
4013
|
+
),
|
|
4014
|
+
Schema.Null,
|
|
4015
|
+
]),
|
|
3989
4016
|
),
|
|
3990
4017
|
}).pipe(
|
|
3991
4018
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -279,12 +279,12 @@ export interface ListAiGatewaysResponse {
|
|
|
279
279
|
} | null;
|
|
280
280
|
zdr?: boolean | null;
|
|
281
281
|
}[];
|
|
282
|
-
resultInfo
|
|
282
|
+
resultInfo?: {
|
|
283
283
|
count?: number | null;
|
|
284
284
|
page?: number | null;
|
|
285
285
|
perPage?: number | null;
|
|
286
286
|
totalCount?: number | null;
|
|
287
|
-
};
|
|
287
|
+
} | null;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export const ListAiGatewaysResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
@@ -407,18 +407,25 @@ export const ListAiGatewaysResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
407
407
|
}),
|
|
408
408
|
),
|
|
409
409
|
),
|
|
410
|
-
resultInfo: Schema.
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
410
|
+
resultInfo: Schema.optional(
|
|
411
|
+
Schema.Union([
|
|
412
|
+
Schema.Struct({
|
|
413
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
414
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
415
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
416
|
+
totalCount: Schema.optional(
|
|
417
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
418
|
+
),
|
|
419
|
+
}).pipe(
|
|
420
|
+
Schema.encodeKeys({
|
|
421
|
+
count: "count",
|
|
422
|
+
page: "page",
|
|
423
|
+
perPage: "per_page",
|
|
424
|
+
totalCount: "total_count",
|
|
425
|
+
}),
|
|
426
|
+
),
|
|
427
|
+
Schema.Null,
|
|
428
|
+
]),
|
|
422
429
|
),
|
|
423
430
|
},
|
|
424
431
|
).pipe(
|
|
@@ -1389,12 +1396,12 @@ export interface ListDatasetsResponse {
|
|
|
1389
1396
|
modifiedAt: string;
|
|
1390
1397
|
name: string;
|
|
1391
1398
|
}[];
|
|
1392
|
-
resultInfo
|
|
1399
|
+
resultInfo?: {
|
|
1393
1400
|
count?: number | null;
|
|
1394
1401
|
page?: number | null;
|
|
1395
1402
|
perPage?: number | null;
|
|
1396
1403
|
totalCount?: number | null;
|
|
1397
|
-
};
|
|
1404
|
+
} | null;
|
|
1398
1405
|
}
|
|
1399
1406
|
|
|
1400
1407
|
export const ListDatasetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1445,18 +1452,23 @@ export const ListDatasetsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1445
1452
|
}),
|
|
1446
1453
|
),
|
|
1447
1454
|
),
|
|
1448
|
-
resultInfo: Schema.
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1455
|
+
resultInfo: Schema.optional(
|
|
1456
|
+
Schema.Union([
|
|
1457
|
+
Schema.Struct({
|
|
1458
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1459
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1460
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1461
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1462
|
+
}).pipe(
|
|
1463
|
+
Schema.encodeKeys({
|
|
1464
|
+
count: "count",
|
|
1465
|
+
page: "page",
|
|
1466
|
+
perPage: "per_page",
|
|
1467
|
+
totalCount: "total_count",
|
|
1468
|
+
}),
|
|
1469
|
+
),
|
|
1470
|
+
Schema.Null,
|
|
1471
|
+
]),
|
|
1460
1472
|
),
|
|
1461
1473
|
}).pipe(
|
|
1462
1474
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -2178,12 +2190,12 @@ export interface ListEvaluationsResponse {
|
|
|
2178
2190
|
}[];
|
|
2179
2191
|
totalLogs: number;
|
|
2180
2192
|
}[];
|
|
2181
|
-
resultInfo
|
|
2193
|
+
resultInfo?: {
|
|
2182
2194
|
count?: number | null;
|
|
2183
2195
|
page?: number | null;
|
|
2184
2196
|
perPage?: number | null;
|
|
2185
2197
|
totalCount?: number | null;
|
|
2186
|
-
};
|
|
2198
|
+
} | null;
|
|
2187
2199
|
}
|
|
2188
2200
|
|
|
2189
2201
|
export const ListEvaluationsResponse =
|
|
@@ -2287,18 +2299,25 @@ export const ListEvaluationsResponse =
|
|
|
2287
2299
|
}),
|
|
2288
2300
|
),
|
|
2289
2301
|
),
|
|
2290
|
-
resultInfo: Schema.
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
+
resultInfo: Schema.optional(
|
|
2303
|
+
Schema.Union([
|
|
2304
|
+
Schema.Struct({
|
|
2305
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2306
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2307
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2308
|
+
totalCount: Schema.optional(
|
|
2309
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2310
|
+
),
|
|
2311
|
+
}).pipe(
|
|
2312
|
+
Schema.encodeKeys({
|
|
2313
|
+
count: "count",
|
|
2314
|
+
page: "page",
|
|
2315
|
+
perPage: "per_page",
|
|
2316
|
+
totalCount: "total_count",
|
|
2317
|
+
}),
|
|
2318
|
+
),
|
|
2319
|
+
Schema.Null,
|
|
2320
|
+
]),
|
|
2302
2321
|
),
|
|
2303
2322
|
}).pipe(
|
|
2304
2323
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -2751,12 +2770,12 @@ export interface ListEvaluationTypesResponse {
|
|
|
2751
2770
|
name: string;
|
|
2752
2771
|
type: string;
|
|
2753
2772
|
}[];
|
|
2754
|
-
resultInfo
|
|
2773
|
+
resultInfo?: {
|
|
2755
2774
|
count?: number | null;
|
|
2756
2775
|
page?: number | null;
|
|
2757
2776
|
perPage?: number | null;
|
|
2758
2777
|
totalCount?: number | null;
|
|
2759
|
-
};
|
|
2778
|
+
} | null;
|
|
2760
2779
|
}
|
|
2761
2780
|
|
|
2762
2781
|
export const ListEvaluationTypesResponse =
|
|
@@ -2784,18 +2803,25 @@ export const ListEvaluationTypesResponse =
|
|
|
2784
2803
|
}),
|
|
2785
2804
|
),
|
|
2786
2805
|
),
|
|
2787
|
-
resultInfo: Schema.
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2806
|
+
resultInfo: Schema.optional(
|
|
2807
|
+
Schema.Union([
|
|
2808
|
+
Schema.Struct({
|
|
2809
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2810
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2811
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2812
|
+
totalCount: Schema.optional(
|
|
2813
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2814
|
+
),
|
|
2815
|
+
}).pipe(
|
|
2816
|
+
Schema.encodeKeys({
|
|
2817
|
+
count: "count",
|
|
2818
|
+
page: "page",
|
|
2819
|
+
perPage: "per_page",
|
|
2820
|
+
totalCount: "total_count",
|
|
2821
|
+
}),
|
|
2822
|
+
),
|
|
2823
|
+
Schema.Null,
|
|
2824
|
+
]),
|
|
2799
2825
|
),
|
|
2800
2826
|
}).pipe(
|
|
2801
2827
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
@@ -3176,12 +3202,12 @@ export interface ListLogsResponse {
|
|
|
3176
3202
|
statusCode?: number | null;
|
|
3177
3203
|
step?: number | null;
|
|
3178
3204
|
}[];
|
|
3179
|
-
resultInfo
|
|
3205
|
+
resultInfo?: {
|
|
3180
3206
|
count?: number | null;
|
|
3181
3207
|
page?: number | null;
|
|
3182
3208
|
perPage?: number | null;
|
|
3183
3209
|
totalCount?: number | null;
|
|
3184
|
-
};
|
|
3210
|
+
} | null;
|
|
3185
3211
|
}
|
|
3186
3212
|
|
|
3187
3213
|
export const ListLogsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -3234,18 +3260,23 @@ export const ListLogsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3234
3260
|
}),
|
|
3235
3261
|
),
|
|
3236
3262
|
),
|
|
3237
|
-
resultInfo: Schema.
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3263
|
+
resultInfo: Schema.optional(
|
|
3264
|
+
Schema.Union([
|
|
3265
|
+
Schema.Struct({
|
|
3266
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3267
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3268
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3269
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3270
|
+
}).pipe(
|
|
3271
|
+
Schema.encodeKeys({
|
|
3272
|
+
count: "count",
|
|
3273
|
+
page: "page",
|
|
3274
|
+
perPage: "per_page",
|
|
3275
|
+
totalCount: "total_count",
|
|
3276
|
+
}),
|
|
3277
|
+
),
|
|
3278
|
+
Schema.Null,
|
|
3279
|
+
]),
|
|
3249
3280
|
),
|
|
3250
3281
|
}).pipe(
|
|
3251
3282
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
package/src/services/ai.ts
CHANGED
|
@@ -574,28 +574,33 @@ export const ListModelsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
574
574
|
|
|
575
575
|
export interface ListModelsResponse {
|
|
576
576
|
result: unknown[];
|
|
577
|
-
resultInfo
|
|
577
|
+
resultInfo?: {
|
|
578
578
|
count?: number | null;
|
|
579
579
|
page?: number | null;
|
|
580
580
|
perPage?: number | null;
|
|
581
581
|
totalCount?: number | null;
|
|
582
|
-
};
|
|
582
|
+
} | null;
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
export const ListModelsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
586
586
|
result: Schema.Array(Schema.Unknown),
|
|
587
|
-
resultInfo: Schema.
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
587
|
+
resultInfo: Schema.optional(
|
|
588
|
+
Schema.Union([
|
|
589
|
+
Schema.Struct({
|
|
590
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
591
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
592
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
593
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
594
|
+
}).pipe(
|
|
595
|
+
Schema.encodeKeys({
|
|
596
|
+
count: "count",
|
|
597
|
+
page: "page",
|
|
598
|
+
perPage: "per_page",
|
|
599
|
+
totalCount: "total_count",
|
|
600
|
+
}),
|
|
601
|
+
),
|
|
602
|
+
Schema.Null,
|
|
603
|
+
]),
|
|
599
604
|
),
|
|
600
605
|
}).pipe(
|
|
601
606
|
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|