@distilled.cloud/cloudflare 0.6.1 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- 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 +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
package/src/services/queues.ts
CHANGED
|
@@ -805,7 +805,14 @@ export const DeleteConsumerRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
805
805
|
) as unknown as Schema.Schema<DeleteConsumerRequest>;
|
|
806
806
|
|
|
807
807
|
export interface DeleteConsumerResponse {
|
|
808
|
-
errors?:
|
|
808
|
+
errors?:
|
|
809
|
+
| {
|
|
810
|
+
code: number;
|
|
811
|
+
message: string;
|
|
812
|
+
documentationUrl?: string | null;
|
|
813
|
+
source?: { pointer?: string | null } | null;
|
|
814
|
+
}[]
|
|
815
|
+
| null;
|
|
809
816
|
messages?: string[] | null;
|
|
810
817
|
/** Indicates if the API call was successful or not. */
|
|
811
818
|
success?: true | null;
|
|
@@ -814,7 +821,35 @@ export interface DeleteConsumerResponse {
|
|
|
814
821
|
export const DeleteConsumerResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
815
822
|
{
|
|
816
823
|
errors: Schema.optional(
|
|
817
|
-
Schema.Union([
|
|
824
|
+
Schema.Union([
|
|
825
|
+
Schema.Array(
|
|
826
|
+
Schema.Struct({
|
|
827
|
+
code: Schema.Number,
|
|
828
|
+
message: Schema.String,
|
|
829
|
+
documentationUrl: Schema.optional(
|
|
830
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
831
|
+
),
|
|
832
|
+
source: Schema.optional(
|
|
833
|
+
Schema.Union([
|
|
834
|
+
Schema.Struct({
|
|
835
|
+
pointer: Schema.optional(
|
|
836
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
837
|
+
),
|
|
838
|
+
}),
|
|
839
|
+
Schema.Null,
|
|
840
|
+
]),
|
|
841
|
+
),
|
|
842
|
+
}).pipe(
|
|
843
|
+
Schema.encodeKeys({
|
|
844
|
+
code: "code",
|
|
845
|
+
message: "message",
|
|
846
|
+
documentationUrl: "documentation_url",
|
|
847
|
+
source: "source",
|
|
848
|
+
}),
|
|
849
|
+
),
|
|
850
|
+
),
|
|
851
|
+
Schema.Null,
|
|
852
|
+
]),
|
|
818
853
|
),
|
|
819
854
|
messages: Schema.optional(
|
|
820
855
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -895,7 +930,14 @@ export const BulkPushMessagesRequest =
|
|
|
895
930
|
) as unknown as Schema.Schema<BulkPushMessagesRequest>;
|
|
896
931
|
|
|
897
932
|
export interface BulkPushMessagesResponse {
|
|
898
|
-
errors?:
|
|
933
|
+
errors?:
|
|
934
|
+
| {
|
|
935
|
+
code: number;
|
|
936
|
+
message: string;
|
|
937
|
+
documentationUrl?: string | null;
|
|
938
|
+
source?: { pointer?: string | null } | null;
|
|
939
|
+
}[]
|
|
940
|
+
| null;
|
|
899
941
|
messages?: string[] | null;
|
|
900
942
|
/** Indicates if the API call was successful or not. */
|
|
901
943
|
success?: true | null;
|
|
@@ -904,7 +946,35 @@ export interface BulkPushMessagesResponse {
|
|
|
904
946
|
export const BulkPushMessagesResponse =
|
|
905
947
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
906
948
|
errors: Schema.optional(
|
|
907
|
-
Schema.Union([
|
|
949
|
+
Schema.Union([
|
|
950
|
+
Schema.Array(
|
|
951
|
+
Schema.Struct({
|
|
952
|
+
code: Schema.Number,
|
|
953
|
+
message: Schema.String,
|
|
954
|
+
documentationUrl: Schema.optional(
|
|
955
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
956
|
+
),
|
|
957
|
+
source: Schema.optional(
|
|
958
|
+
Schema.Union([
|
|
959
|
+
Schema.Struct({
|
|
960
|
+
pointer: Schema.optional(
|
|
961
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
962
|
+
),
|
|
963
|
+
}),
|
|
964
|
+
Schema.Null,
|
|
965
|
+
]),
|
|
966
|
+
),
|
|
967
|
+
}).pipe(
|
|
968
|
+
Schema.encodeKeys({
|
|
969
|
+
code: "code",
|
|
970
|
+
message: "message",
|
|
971
|
+
documentationUrl: "documentation_url",
|
|
972
|
+
source: "source",
|
|
973
|
+
}),
|
|
974
|
+
),
|
|
975
|
+
),
|
|
976
|
+
Schema.Null,
|
|
977
|
+
]),
|
|
908
978
|
),
|
|
909
979
|
messages: Schema.optional(
|
|
910
980
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -1052,7 +1122,14 @@ export const PushMessageRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1052
1122
|
) as unknown as Schema.Schema<PushMessageRequest>;
|
|
1053
1123
|
|
|
1054
1124
|
export interface PushMessageResponse {
|
|
1055
|
-
errors?:
|
|
1125
|
+
errors?:
|
|
1126
|
+
| {
|
|
1127
|
+
code: number;
|
|
1128
|
+
message: string;
|
|
1129
|
+
documentationUrl?: string | null;
|
|
1130
|
+
source?: { pointer?: string | null } | null;
|
|
1131
|
+
}[]
|
|
1132
|
+
| null;
|
|
1056
1133
|
messages?: string[] | null;
|
|
1057
1134
|
/** Indicates if the API call was successful or not. */
|
|
1058
1135
|
success?: true | null;
|
|
@@ -1060,7 +1137,35 @@ export interface PushMessageResponse {
|
|
|
1060
1137
|
|
|
1061
1138
|
export const PushMessageResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1062
1139
|
errors: Schema.optional(
|
|
1063
|
-
Schema.Union([
|
|
1140
|
+
Schema.Union([
|
|
1141
|
+
Schema.Array(
|
|
1142
|
+
Schema.Struct({
|
|
1143
|
+
code: Schema.Number,
|
|
1144
|
+
message: Schema.String,
|
|
1145
|
+
documentationUrl: Schema.optional(
|
|
1146
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1147
|
+
),
|
|
1148
|
+
source: Schema.optional(
|
|
1149
|
+
Schema.Union([
|
|
1150
|
+
Schema.Struct({
|
|
1151
|
+
pointer: Schema.optional(
|
|
1152
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1153
|
+
),
|
|
1154
|
+
}),
|
|
1155
|
+
Schema.Null,
|
|
1156
|
+
]),
|
|
1157
|
+
),
|
|
1158
|
+
}).pipe(
|
|
1159
|
+
Schema.encodeKeys({
|
|
1160
|
+
code: "code",
|
|
1161
|
+
message: "message",
|
|
1162
|
+
documentationUrl: "documentation_url",
|
|
1163
|
+
source: "source",
|
|
1164
|
+
}),
|
|
1165
|
+
),
|
|
1166
|
+
),
|
|
1167
|
+
Schema.Null,
|
|
1168
|
+
]),
|
|
1064
1169
|
),
|
|
1065
1170
|
messages: Schema.optional(
|
|
1066
1171
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -1178,10 +1283,242 @@ export const StartPurgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1178
1283
|
}),
|
|
1179
1284
|
) as unknown as Schema.Schema<StartPurgeRequest>;
|
|
1180
1285
|
|
|
1181
|
-
export
|
|
1286
|
+
export interface StartPurgeResponse {
|
|
1287
|
+
consumers?:
|
|
1288
|
+
| (
|
|
1289
|
+
| {
|
|
1290
|
+
consumerId?: string | null;
|
|
1291
|
+
createdOn?: string | null;
|
|
1292
|
+
queueId?: string | null;
|
|
1293
|
+
script?: string | null;
|
|
1294
|
+
settings?: {
|
|
1295
|
+
batchSize?: number | null;
|
|
1296
|
+
maxConcurrency?: number | null;
|
|
1297
|
+
maxRetries?: number | null;
|
|
1298
|
+
maxWaitTimeMs?: number | null;
|
|
1299
|
+
retryDelay?: number | null;
|
|
1300
|
+
} | null;
|
|
1301
|
+
type?: "worker" | null;
|
|
1302
|
+
}
|
|
1303
|
+
| {
|
|
1304
|
+
consumerId?: string | null;
|
|
1305
|
+
createdOn?: string | null;
|
|
1306
|
+
queueId?: string | null;
|
|
1307
|
+
settings?: {
|
|
1308
|
+
batchSize?: number | null;
|
|
1309
|
+
maxRetries?: number | null;
|
|
1310
|
+
retryDelay?: number | null;
|
|
1311
|
+
visibilityTimeoutMs?: number | null;
|
|
1312
|
+
} | null;
|
|
1313
|
+
type?: "http_pull" | null;
|
|
1314
|
+
}
|
|
1315
|
+
)[]
|
|
1316
|
+
| null;
|
|
1317
|
+
consumersTotalCount?: number | null;
|
|
1318
|
+
createdOn?: string | null;
|
|
1319
|
+
modifiedOn?: string | null;
|
|
1320
|
+
producers?:
|
|
1321
|
+
| (
|
|
1322
|
+
| { script?: string | null; type?: "worker" | null }
|
|
1323
|
+
| { bucketName?: string | null; type?: "r2_bucket" | null }
|
|
1324
|
+
)[]
|
|
1325
|
+
| null;
|
|
1326
|
+
producersTotalCount?: number | null;
|
|
1327
|
+
queueId?: string | null;
|
|
1328
|
+
queueName?: string | null;
|
|
1329
|
+
settings?: {
|
|
1330
|
+
deliveryDelay?: number | null;
|
|
1331
|
+
deliveryPaused?: boolean | null;
|
|
1332
|
+
messageRetentionPeriod?: number | null;
|
|
1333
|
+
} | null;
|
|
1334
|
+
}
|
|
1182
1335
|
|
|
1183
|
-
export const StartPurgeResponse =
|
|
1184
|
-
|
|
1336
|
+
export const StartPurgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1337
|
+
consumers: Schema.optional(
|
|
1338
|
+
Schema.Union([
|
|
1339
|
+
Schema.Array(
|
|
1340
|
+
Schema.Union([
|
|
1341
|
+
Schema.Struct({
|
|
1342
|
+
consumerId: Schema.optional(
|
|
1343
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1344
|
+
),
|
|
1345
|
+
createdOn: Schema.optional(
|
|
1346
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1347
|
+
),
|
|
1348
|
+
queueId: Schema.optional(
|
|
1349
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1350
|
+
),
|
|
1351
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1352
|
+
settings: Schema.optional(
|
|
1353
|
+
Schema.Union([
|
|
1354
|
+
Schema.Struct({
|
|
1355
|
+
batchSize: Schema.optional(
|
|
1356
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1357
|
+
),
|
|
1358
|
+
maxConcurrency: Schema.optional(
|
|
1359
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1360
|
+
),
|
|
1361
|
+
maxRetries: Schema.optional(
|
|
1362
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1363
|
+
),
|
|
1364
|
+
maxWaitTimeMs: Schema.optional(
|
|
1365
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1366
|
+
),
|
|
1367
|
+
retryDelay: Schema.optional(
|
|
1368
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1369
|
+
),
|
|
1370
|
+
}).pipe(
|
|
1371
|
+
Schema.encodeKeys({
|
|
1372
|
+
batchSize: "batch_size",
|
|
1373
|
+
maxConcurrency: "max_concurrency",
|
|
1374
|
+
maxRetries: "max_retries",
|
|
1375
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
1376
|
+
retryDelay: "retry_delay",
|
|
1377
|
+
}),
|
|
1378
|
+
),
|
|
1379
|
+
Schema.Null,
|
|
1380
|
+
]),
|
|
1381
|
+
),
|
|
1382
|
+
type: Schema.optional(
|
|
1383
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
1384
|
+
),
|
|
1385
|
+
}).pipe(
|
|
1386
|
+
Schema.encodeKeys({
|
|
1387
|
+
consumerId: "consumer_id",
|
|
1388
|
+
createdOn: "created_on",
|
|
1389
|
+
queueId: "queue_id",
|
|
1390
|
+
script: "script",
|
|
1391
|
+
settings: "settings",
|
|
1392
|
+
type: "type",
|
|
1393
|
+
}),
|
|
1394
|
+
),
|
|
1395
|
+
Schema.Struct({
|
|
1396
|
+
consumerId: Schema.optional(
|
|
1397
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1398
|
+
),
|
|
1399
|
+
createdOn: Schema.optional(
|
|
1400
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1401
|
+
),
|
|
1402
|
+
queueId: Schema.optional(
|
|
1403
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1404
|
+
),
|
|
1405
|
+
settings: Schema.optional(
|
|
1406
|
+
Schema.Union([
|
|
1407
|
+
Schema.Struct({
|
|
1408
|
+
batchSize: Schema.optional(
|
|
1409
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1410
|
+
),
|
|
1411
|
+
maxRetries: Schema.optional(
|
|
1412
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1413
|
+
),
|
|
1414
|
+
retryDelay: Schema.optional(
|
|
1415
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1416
|
+
),
|
|
1417
|
+
visibilityTimeoutMs: Schema.optional(
|
|
1418
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1419
|
+
),
|
|
1420
|
+
}).pipe(
|
|
1421
|
+
Schema.encodeKeys({
|
|
1422
|
+
batchSize: "batch_size",
|
|
1423
|
+
maxRetries: "max_retries",
|
|
1424
|
+
retryDelay: "retry_delay",
|
|
1425
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
1426
|
+
}),
|
|
1427
|
+
),
|
|
1428
|
+
Schema.Null,
|
|
1429
|
+
]),
|
|
1430
|
+
),
|
|
1431
|
+
type: Schema.optional(
|
|
1432
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
1433
|
+
),
|
|
1434
|
+
}).pipe(
|
|
1435
|
+
Schema.encodeKeys({
|
|
1436
|
+
consumerId: "consumer_id",
|
|
1437
|
+
createdOn: "created_on",
|
|
1438
|
+
queueId: "queue_id",
|
|
1439
|
+
settings: "settings",
|
|
1440
|
+
type: "type",
|
|
1441
|
+
}),
|
|
1442
|
+
),
|
|
1443
|
+
]),
|
|
1444
|
+
),
|
|
1445
|
+
Schema.Null,
|
|
1446
|
+
]),
|
|
1447
|
+
),
|
|
1448
|
+
consumersTotalCount: Schema.optional(
|
|
1449
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1450
|
+
),
|
|
1451
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1452
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1453
|
+
producers: Schema.optional(
|
|
1454
|
+
Schema.Union([
|
|
1455
|
+
Schema.Array(
|
|
1456
|
+
Schema.Union([
|
|
1457
|
+
Schema.Struct({
|
|
1458
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1459
|
+
type: Schema.optional(
|
|
1460
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
1461
|
+
),
|
|
1462
|
+
}),
|
|
1463
|
+
Schema.Struct({
|
|
1464
|
+
bucketName: Schema.optional(
|
|
1465
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1466
|
+
),
|
|
1467
|
+
type: Schema.optional(
|
|
1468
|
+
Schema.Union([Schema.Literal("r2_bucket"), Schema.Null]),
|
|
1469
|
+
),
|
|
1470
|
+
}).pipe(
|
|
1471
|
+
Schema.encodeKeys({ bucketName: "bucket_name", type: "type" }),
|
|
1472
|
+
),
|
|
1473
|
+
]),
|
|
1474
|
+
),
|
|
1475
|
+
Schema.Null,
|
|
1476
|
+
]),
|
|
1477
|
+
),
|
|
1478
|
+
producersTotalCount: Schema.optional(
|
|
1479
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1480
|
+
),
|
|
1481
|
+
queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1482
|
+
queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1483
|
+
settings: Schema.optional(
|
|
1484
|
+
Schema.Union([
|
|
1485
|
+
Schema.Struct({
|
|
1486
|
+
deliveryDelay: Schema.optional(
|
|
1487
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1488
|
+
),
|
|
1489
|
+
deliveryPaused: Schema.optional(
|
|
1490
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1491
|
+
),
|
|
1492
|
+
messageRetentionPeriod: Schema.optional(
|
|
1493
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1494
|
+
),
|
|
1495
|
+
}).pipe(
|
|
1496
|
+
Schema.encodeKeys({
|
|
1497
|
+
deliveryDelay: "delivery_delay",
|
|
1498
|
+
deliveryPaused: "delivery_paused",
|
|
1499
|
+
messageRetentionPeriod: "message_retention_period",
|
|
1500
|
+
}),
|
|
1501
|
+
),
|
|
1502
|
+
Schema.Null,
|
|
1503
|
+
]),
|
|
1504
|
+
),
|
|
1505
|
+
})
|
|
1506
|
+
.pipe(
|
|
1507
|
+
Schema.encodeKeys({
|
|
1508
|
+
consumers: "consumers",
|
|
1509
|
+
consumersTotalCount: "consumers_total_count",
|
|
1510
|
+
createdOn: "created_on",
|
|
1511
|
+
modifiedOn: "modified_on",
|
|
1512
|
+
producers: "producers",
|
|
1513
|
+
producersTotalCount: "producers_total_count",
|
|
1514
|
+
queueId: "queue_id",
|
|
1515
|
+
queueName: "queue_name",
|
|
1516
|
+
settings: "settings",
|
|
1517
|
+
}),
|
|
1518
|
+
)
|
|
1519
|
+
.pipe(
|
|
1520
|
+
T.ResponsePath("result"),
|
|
1521
|
+
) as unknown as Schema.Schema<StartPurgeResponse>;
|
|
1185
1522
|
|
|
1186
1523
|
export type StartPurgeError = DefaultErrors;
|
|
1187
1524
|
|
|
@@ -1259,7 +1596,36 @@ export const GetQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1259
1596
|
) as unknown as Schema.Schema<GetQueueRequest>;
|
|
1260
1597
|
|
|
1261
1598
|
export interface GetQueueResponse {
|
|
1262
|
-
consumers?:
|
|
1599
|
+
consumers?:
|
|
1600
|
+
| (
|
|
1601
|
+
| {
|
|
1602
|
+
consumerId?: string | null;
|
|
1603
|
+
createdOn?: string | null;
|
|
1604
|
+
queueId?: string | null;
|
|
1605
|
+
script?: string | null;
|
|
1606
|
+
settings?: {
|
|
1607
|
+
batchSize?: number | null;
|
|
1608
|
+
maxConcurrency?: number | null;
|
|
1609
|
+
maxRetries?: number | null;
|
|
1610
|
+
maxWaitTimeMs?: number | null;
|
|
1611
|
+
retryDelay?: number | null;
|
|
1612
|
+
} | null;
|
|
1613
|
+
type?: "worker" | null;
|
|
1614
|
+
}
|
|
1615
|
+
| {
|
|
1616
|
+
consumerId?: string | null;
|
|
1617
|
+
createdOn?: string | null;
|
|
1618
|
+
queueId?: string | null;
|
|
1619
|
+
settings?: {
|
|
1620
|
+
batchSize?: number | null;
|
|
1621
|
+
maxRetries?: number | null;
|
|
1622
|
+
retryDelay?: number | null;
|
|
1623
|
+
visibilityTimeoutMs?: number | null;
|
|
1624
|
+
} | null;
|
|
1625
|
+
type?: "http_pull" | null;
|
|
1626
|
+
}
|
|
1627
|
+
)[]
|
|
1628
|
+
| null;
|
|
1263
1629
|
consumersTotalCount?: number | null;
|
|
1264
1630
|
createdOn?: string | null;
|
|
1265
1631
|
modifiedOn?: string | null;
|
|
@@ -1281,7 +1647,115 @@ export interface GetQueueResponse {
|
|
|
1281
1647
|
|
|
1282
1648
|
export const GetQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1283
1649
|
consumers: Schema.optional(
|
|
1284
|
-
Schema.Union([
|
|
1650
|
+
Schema.Union([
|
|
1651
|
+
Schema.Array(
|
|
1652
|
+
Schema.Union([
|
|
1653
|
+
Schema.Struct({
|
|
1654
|
+
consumerId: Schema.optional(
|
|
1655
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1656
|
+
),
|
|
1657
|
+
createdOn: Schema.optional(
|
|
1658
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1659
|
+
),
|
|
1660
|
+
queueId: Schema.optional(
|
|
1661
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1662
|
+
),
|
|
1663
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1664
|
+
settings: Schema.optional(
|
|
1665
|
+
Schema.Union([
|
|
1666
|
+
Schema.Struct({
|
|
1667
|
+
batchSize: Schema.optional(
|
|
1668
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1669
|
+
),
|
|
1670
|
+
maxConcurrency: Schema.optional(
|
|
1671
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1672
|
+
),
|
|
1673
|
+
maxRetries: Schema.optional(
|
|
1674
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1675
|
+
),
|
|
1676
|
+
maxWaitTimeMs: Schema.optional(
|
|
1677
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1678
|
+
),
|
|
1679
|
+
retryDelay: Schema.optional(
|
|
1680
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1681
|
+
),
|
|
1682
|
+
}).pipe(
|
|
1683
|
+
Schema.encodeKeys({
|
|
1684
|
+
batchSize: "batch_size",
|
|
1685
|
+
maxConcurrency: "max_concurrency",
|
|
1686
|
+
maxRetries: "max_retries",
|
|
1687
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
1688
|
+
retryDelay: "retry_delay",
|
|
1689
|
+
}),
|
|
1690
|
+
),
|
|
1691
|
+
Schema.Null,
|
|
1692
|
+
]),
|
|
1693
|
+
),
|
|
1694
|
+
type: Schema.optional(
|
|
1695
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
1696
|
+
),
|
|
1697
|
+
}).pipe(
|
|
1698
|
+
Schema.encodeKeys({
|
|
1699
|
+
consumerId: "consumer_id",
|
|
1700
|
+
createdOn: "created_on",
|
|
1701
|
+
queueId: "queue_id",
|
|
1702
|
+
script: "script",
|
|
1703
|
+
settings: "settings",
|
|
1704
|
+
type: "type",
|
|
1705
|
+
}),
|
|
1706
|
+
),
|
|
1707
|
+
Schema.Struct({
|
|
1708
|
+
consumerId: Schema.optional(
|
|
1709
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1710
|
+
),
|
|
1711
|
+
createdOn: Schema.optional(
|
|
1712
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1713
|
+
),
|
|
1714
|
+
queueId: Schema.optional(
|
|
1715
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1716
|
+
),
|
|
1717
|
+
settings: Schema.optional(
|
|
1718
|
+
Schema.Union([
|
|
1719
|
+
Schema.Struct({
|
|
1720
|
+
batchSize: Schema.optional(
|
|
1721
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1722
|
+
),
|
|
1723
|
+
maxRetries: Schema.optional(
|
|
1724
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1725
|
+
),
|
|
1726
|
+
retryDelay: Schema.optional(
|
|
1727
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1728
|
+
),
|
|
1729
|
+
visibilityTimeoutMs: Schema.optional(
|
|
1730
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1731
|
+
),
|
|
1732
|
+
}).pipe(
|
|
1733
|
+
Schema.encodeKeys({
|
|
1734
|
+
batchSize: "batch_size",
|
|
1735
|
+
maxRetries: "max_retries",
|
|
1736
|
+
retryDelay: "retry_delay",
|
|
1737
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
1738
|
+
}),
|
|
1739
|
+
),
|
|
1740
|
+
Schema.Null,
|
|
1741
|
+
]),
|
|
1742
|
+
),
|
|
1743
|
+
type: Schema.optional(
|
|
1744
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
1745
|
+
),
|
|
1746
|
+
}).pipe(
|
|
1747
|
+
Schema.encodeKeys({
|
|
1748
|
+
consumerId: "consumer_id",
|
|
1749
|
+
createdOn: "created_on",
|
|
1750
|
+
queueId: "queue_id",
|
|
1751
|
+
settings: "settings",
|
|
1752
|
+
type: "type",
|
|
1753
|
+
}),
|
|
1754
|
+
),
|
|
1755
|
+
]),
|
|
1756
|
+
),
|
|
1757
|
+
Schema.Null,
|
|
1758
|
+
]),
|
|
1285
1759
|
),
|
|
1286
1760
|
consumersTotalCount: Schema.optional(
|
|
1287
1761
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -1382,7 +1856,36 @@ export const ListQueuesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1382
1856
|
|
|
1383
1857
|
export interface ListQueuesResponse {
|
|
1384
1858
|
result: {
|
|
1385
|
-
consumers?:
|
|
1859
|
+
consumers?:
|
|
1860
|
+
| (
|
|
1861
|
+
| {
|
|
1862
|
+
consumerId?: string | null;
|
|
1863
|
+
createdOn?: string | null;
|
|
1864
|
+
queueId?: string | null;
|
|
1865
|
+
script?: string | null;
|
|
1866
|
+
settings?: {
|
|
1867
|
+
batchSize?: number | null;
|
|
1868
|
+
maxConcurrency?: number | null;
|
|
1869
|
+
maxRetries?: number | null;
|
|
1870
|
+
maxWaitTimeMs?: number | null;
|
|
1871
|
+
retryDelay?: number | null;
|
|
1872
|
+
} | null;
|
|
1873
|
+
type?: "worker" | null;
|
|
1874
|
+
}
|
|
1875
|
+
| {
|
|
1876
|
+
consumerId?: string | null;
|
|
1877
|
+
createdOn?: string | null;
|
|
1878
|
+
queueId?: string | null;
|
|
1879
|
+
settings?: {
|
|
1880
|
+
batchSize?: number | null;
|
|
1881
|
+
maxRetries?: number | null;
|
|
1882
|
+
retryDelay?: number | null;
|
|
1883
|
+
visibilityTimeoutMs?: number | null;
|
|
1884
|
+
} | null;
|
|
1885
|
+
type?: "http_pull" | null;
|
|
1886
|
+
}
|
|
1887
|
+
)[]
|
|
1888
|
+
| null;
|
|
1386
1889
|
consumersTotalCount?: number | null;
|
|
1387
1890
|
createdOn?: string | null;
|
|
1388
1891
|
modifiedOn?: string | null;
|
|
@@ -1407,7 +1910,117 @@ export const ListQueuesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1407
1910
|
result: Schema.Array(
|
|
1408
1911
|
Schema.Struct({
|
|
1409
1912
|
consumers: Schema.optional(
|
|
1410
|
-
Schema.Union([
|
|
1913
|
+
Schema.Union([
|
|
1914
|
+
Schema.Array(
|
|
1915
|
+
Schema.Union([
|
|
1916
|
+
Schema.Struct({
|
|
1917
|
+
consumerId: Schema.optional(
|
|
1918
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1919
|
+
),
|
|
1920
|
+
createdOn: Schema.optional(
|
|
1921
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1922
|
+
),
|
|
1923
|
+
queueId: Schema.optional(
|
|
1924
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1925
|
+
),
|
|
1926
|
+
script: Schema.optional(
|
|
1927
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1928
|
+
),
|
|
1929
|
+
settings: Schema.optional(
|
|
1930
|
+
Schema.Union([
|
|
1931
|
+
Schema.Struct({
|
|
1932
|
+
batchSize: Schema.optional(
|
|
1933
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1934
|
+
),
|
|
1935
|
+
maxConcurrency: Schema.optional(
|
|
1936
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1937
|
+
),
|
|
1938
|
+
maxRetries: Schema.optional(
|
|
1939
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1940
|
+
),
|
|
1941
|
+
maxWaitTimeMs: Schema.optional(
|
|
1942
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1943
|
+
),
|
|
1944
|
+
retryDelay: Schema.optional(
|
|
1945
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1946
|
+
),
|
|
1947
|
+
}).pipe(
|
|
1948
|
+
Schema.encodeKeys({
|
|
1949
|
+
batchSize: "batch_size",
|
|
1950
|
+
maxConcurrency: "max_concurrency",
|
|
1951
|
+
maxRetries: "max_retries",
|
|
1952
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
1953
|
+
retryDelay: "retry_delay",
|
|
1954
|
+
}),
|
|
1955
|
+
),
|
|
1956
|
+
Schema.Null,
|
|
1957
|
+
]),
|
|
1958
|
+
),
|
|
1959
|
+
type: Schema.optional(
|
|
1960
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
1961
|
+
),
|
|
1962
|
+
}).pipe(
|
|
1963
|
+
Schema.encodeKeys({
|
|
1964
|
+
consumerId: "consumer_id",
|
|
1965
|
+
createdOn: "created_on",
|
|
1966
|
+
queueId: "queue_id",
|
|
1967
|
+
script: "script",
|
|
1968
|
+
settings: "settings",
|
|
1969
|
+
type: "type",
|
|
1970
|
+
}),
|
|
1971
|
+
),
|
|
1972
|
+
Schema.Struct({
|
|
1973
|
+
consumerId: Schema.optional(
|
|
1974
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1975
|
+
),
|
|
1976
|
+
createdOn: Schema.optional(
|
|
1977
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1978
|
+
),
|
|
1979
|
+
queueId: Schema.optional(
|
|
1980
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1981
|
+
),
|
|
1982
|
+
settings: Schema.optional(
|
|
1983
|
+
Schema.Union([
|
|
1984
|
+
Schema.Struct({
|
|
1985
|
+
batchSize: Schema.optional(
|
|
1986
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1987
|
+
),
|
|
1988
|
+
maxRetries: Schema.optional(
|
|
1989
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1990
|
+
),
|
|
1991
|
+
retryDelay: Schema.optional(
|
|
1992
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1993
|
+
),
|
|
1994
|
+
visibilityTimeoutMs: Schema.optional(
|
|
1995
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
1996
|
+
),
|
|
1997
|
+
}).pipe(
|
|
1998
|
+
Schema.encodeKeys({
|
|
1999
|
+
batchSize: "batch_size",
|
|
2000
|
+
maxRetries: "max_retries",
|
|
2001
|
+
retryDelay: "retry_delay",
|
|
2002
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
2003
|
+
}),
|
|
2004
|
+
),
|
|
2005
|
+
Schema.Null,
|
|
2006
|
+
]),
|
|
2007
|
+
),
|
|
2008
|
+
type: Schema.optional(
|
|
2009
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
2010
|
+
),
|
|
2011
|
+
}).pipe(
|
|
2012
|
+
Schema.encodeKeys({
|
|
2013
|
+
consumerId: "consumer_id",
|
|
2014
|
+
createdOn: "created_on",
|
|
2015
|
+
queueId: "queue_id",
|
|
2016
|
+
settings: "settings",
|
|
2017
|
+
type: "type",
|
|
2018
|
+
}),
|
|
2019
|
+
),
|
|
2020
|
+
]),
|
|
2021
|
+
),
|
|
2022
|
+
Schema.Null,
|
|
2023
|
+
]),
|
|
1411
2024
|
),
|
|
1412
2025
|
consumersTotalCount: Schema.optional(
|
|
1413
2026
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -1501,7 +2114,36 @@ export const listQueues: API.PaginatedOperationMethod<
|
|
|
1501
2114
|
>;
|
|
1502
2115
|
items: (input: ListQueuesRequest) => stream.Stream<
|
|
1503
2116
|
{
|
|
1504
|
-
consumers?:
|
|
2117
|
+
consumers?:
|
|
2118
|
+
| (
|
|
2119
|
+
| {
|
|
2120
|
+
consumerId?: string | null;
|
|
2121
|
+
createdOn?: string | null;
|
|
2122
|
+
queueId?: string | null;
|
|
2123
|
+
script?: string | null;
|
|
2124
|
+
settings?: {
|
|
2125
|
+
batchSize?: number | null;
|
|
2126
|
+
maxConcurrency?: number | null;
|
|
2127
|
+
maxRetries?: number | null;
|
|
2128
|
+
maxWaitTimeMs?: number | null;
|
|
2129
|
+
retryDelay?: number | null;
|
|
2130
|
+
} | null;
|
|
2131
|
+
type?: "worker" | null;
|
|
2132
|
+
}
|
|
2133
|
+
| {
|
|
2134
|
+
consumerId?: string | null;
|
|
2135
|
+
createdOn?: string | null;
|
|
2136
|
+
queueId?: string | null;
|
|
2137
|
+
settings?: {
|
|
2138
|
+
batchSize?: number | null;
|
|
2139
|
+
maxRetries?: number | null;
|
|
2140
|
+
retryDelay?: number | null;
|
|
2141
|
+
visibilityTimeoutMs?: number | null;
|
|
2142
|
+
} | null;
|
|
2143
|
+
type?: "http_pull" | null;
|
|
2144
|
+
}
|
|
2145
|
+
)[]
|
|
2146
|
+
| null;
|
|
1505
2147
|
consumersTotalCount?: number | null;
|
|
1506
2148
|
createdOn?: string | null;
|
|
1507
2149
|
modifiedOn?: string | null;
|
|
@@ -1549,7 +2191,36 @@ export const CreateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1549
2191
|
) as unknown as Schema.Schema<CreateQueueRequest>;
|
|
1550
2192
|
|
|
1551
2193
|
export interface CreateQueueResponse {
|
|
1552
|
-
consumers?:
|
|
2194
|
+
consumers?:
|
|
2195
|
+
| (
|
|
2196
|
+
| {
|
|
2197
|
+
consumerId?: string | null;
|
|
2198
|
+
createdOn?: string | null;
|
|
2199
|
+
queueId?: string | null;
|
|
2200
|
+
script?: string | null;
|
|
2201
|
+
settings?: {
|
|
2202
|
+
batchSize?: number | null;
|
|
2203
|
+
maxConcurrency?: number | null;
|
|
2204
|
+
maxRetries?: number | null;
|
|
2205
|
+
maxWaitTimeMs?: number | null;
|
|
2206
|
+
retryDelay?: number | null;
|
|
2207
|
+
} | null;
|
|
2208
|
+
type?: "worker" | null;
|
|
2209
|
+
}
|
|
2210
|
+
| {
|
|
2211
|
+
consumerId?: string | null;
|
|
2212
|
+
createdOn?: string | null;
|
|
2213
|
+
queueId?: string | null;
|
|
2214
|
+
settings?: {
|
|
2215
|
+
batchSize?: number | null;
|
|
2216
|
+
maxRetries?: number | null;
|
|
2217
|
+
retryDelay?: number | null;
|
|
2218
|
+
visibilityTimeoutMs?: number | null;
|
|
2219
|
+
} | null;
|
|
2220
|
+
type?: "http_pull" | null;
|
|
2221
|
+
}
|
|
2222
|
+
)[]
|
|
2223
|
+
| null;
|
|
1553
2224
|
consumersTotalCount?: number | null;
|
|
1554
2225
|
createdOn?: string | null;
|
|
1555
2226
|
modifiedOn?: string | null;
|
|
@@ -1571,7 +2242,115 @@ export interface CreateQueueResponse {
|
|
|
1571
2242
|
|
|
1572
2243
|
export const CreateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1573
2244
|
consumers: Schema.optional(
|
|
1574
|
-
Schema.Union([
|
|
2245
|
+
Schema.Union([
|
|
2246
|
+
Schema.Array(
|
|
2247
|
+
Schema.Union([
|
|
2248
|
+
Schema.Struct({
|
|
2249
|
+
consumerId: Schema.optional(
|
|
2250
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2251
|
+
),
|
|
2252
|
+
createdOn: Schema.optional(
|
|
2253
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2254
|
+
),
|
|
2255
|
+
queueId: Schema.optional(
|
|
2256
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2257
|
+
),
|
|
2258
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2259
|
+
settings: Schema.optional(
|
|
2260
|
+
Schema.Union([
|
|
2261
|
+
Schema.Struct({
|
|
2262
|
+
batchSize: Schema.optional(
|
|
2263
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2264
|
+
),
|
|
2265
|
+
maxConcurrency: Schema.optional(
|
|
2266
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2267
|
+
),
|
|
2268
|
+
maxRetries: Schema.optional(
|
|
2269
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2270
|
+
),
|
|
2271
|
+
maxWaitTimeMs: Schema.optional(
|
|
2272
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2273
|
+
),
|
|
2274
|
+
retryDelay: Schema.optional(
|
|
2275
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2276
|
+
),
|
|
2277
|
+
}).pipe(
|
|
2278
|
+
Schema.encodeKeys({
|
|
2279
|
+
batchSize: "batch_size",
|
|
2280
|
+
maxConcurrency: "max_concurrency",
|
|
2281
|
+
maxRetries: "max_retries",
|
|
2282
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
2283
|
+
retryDelay: "retry_delay",
|
|
2284
|
+
}),
|
|
2285
|
+
),
|
|
2286
|
+
Schema.Null,
|
|
2287
|
+
]),
|
|
2288
|
+
),
|
|
2289
|
+
type: Schema.optional(
|
|
2290
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
2291
|
+
),
|
|
2292
|
+
}).pipe(
|
|
2293
|
+
Schema.encodeKeys({
|
|
2294
|
+
consumerId: "consumer_id",
|
|
2295
|
+
createdOn: "created_on",
|
|
2296
|
+
queueId: "queue_id",
|
|
2297
|
+
script: "script",
|
|
2298
|
+
settings: "settings",
|
|
2299
|
+
type: "type",
|
|
2300
|
+
}),
|
|
2301
|
+
),
|
|
2302
|
+
Schema.Struct({
|
|
2303
|
+
consumerId: Schema.optional(
|
|
2304
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2305
|
+
),
|
|
2306
|
+
createdOn: Schema.optional(
|
|
2307
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2308
|
+
),
|
|
2309
|
+
queueId: Schema.optional(
|
|
2310
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2311
|
+
),
|
|
2312
|
+
settings: Schema.optional(
|
|
2313
|
+
Schema.Union([
|
|
2314
|
+
Schema.Struct({
|
|
2315
|
+
batchSize: Schema.optional(
|
|
2316
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2317
|
+
),
|
|
2318
|
+
maxRetries: Schema.optional(
|
|
2319
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2320
|
+
),
|
|
2321
|
+
retryDelay: Schema.optional(
|
|
2322
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2323
|
+
),
|
|
2324
|
+
visibilityTimeoutMs: Schema.optional(
|
|
2325
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2326
|
+
),
|
|
2327
|
+
}).pipe(
|
|
2328
|
+
Schema.encodeKeys({
|
|
2329
|
+
batchSize: "batch_size",
|
|
2330
|
+
maxRetries: "max_retries",
|
|
2331
|
+
retryDelay: "retry_delay",
|
|
2332
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
2333
|
+
}),
|
|
2334
|
+
),
|
|
2335
|
+
Schema.Null,
|
|
2336
|
+
]),
|
|
2337
|
+
),
|
|
2338
|
+
type: Schema.optional(
|
|
2339
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
2340
|
+
),
|
|
2341
|
+
}).pipe(
|
|
2342
|
+
Schema.encodeKeys({
|
|
2343
|
+
consumerId: "consumer_id",
|
|
2344
|
+
createdOn: "created_on",
|
|
2345
|
+
queueId: "queue_id",
|
|
2346
|
+
settings: "settings",
|
|
2347
|
+
type: "type",
|
|
2348
|
+
}),
|
|
2349
|
+
),
|
|
2350
|
+
]),
|
|
2351
|
+
),
|
|
2352
|
+
Schema.Null,
|
|
2353
|
+
]),
|
|
1575
2354
|
),
|
|
1576
2355
|
consumersTotalCount: Schema.optional(
|
|
1577
2356
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -1698,7 +2477,36 @@ export const UpdateQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1698
2477
|
) as unknown as Schema.Schema<UpdateQueueRequest>;
|
|
1699
2478
|
|
|
1700
2479
|
export interface UpdateQueueResponse {
|
|
1701
|
-
consumers?:
|
|
2480
|
+
consumers?:
|
|
2481
|
+
| (
|
|
2482
|
+
| {
|
|
2483
|
+
consumerId?: string | null;
|
|
2484
|
+
createdOn?: string | null;
|
|
2485
|
+
queueId?: string | null;
|
|
2486
|
+
script?: string | null;
|
|
2487
|
+
settings?: {
|
|
2488
|
+
batchSize?: number | null;
|
|
2489
|
+
maxConcurrency?: number | null;
|
|
2490
|
+
maxRetries?: number | null;
|
|
2491
|
+
maxWaitTimeMs?: number | null;
|
|
2492
|
+
retryDelay?: number | null;
|
|
2493
|
+
} | null;
|
|
2494
|
+
type?: "worker" | null;
|
|
2495
|
+
}
|
|
2496
|
+
| {
|
|
2497
|
+
consumerId?: string | null;
|
|
2498
|
+
createdOn?: string | null;
|
|
2499
|
+
queueId?: string | null;
|
|
2500
|
+
settings?: {
|
|
2501
|
+
batchSize?: number | null;
|
|
2502
|
+
maxRetries?: number | null;
|
|
2503
|
+
retryDelay?: number | null;
|
|
2504
|
+
visibilityTimeoutMs?: number | null;
|
|
2505
|
+
} | null;
|
|
2506
|
+
type?: "http_pull" | null;
|
|
2507
|
+
}
|
|
2508
|
+
)[]
|
|
2509
|
+
| null;
|
|
1702
2510
|
consumersTotalCount?: number | null;
|
|
1703
2511
|
createdOn?: string | null;
|
|
1704
2512
|
modifiedOn?: string | null;
|
|
@@ -1720,7 +2528,115 @@ export interface UpdateQueueResponse {
|
|
|
1720
2528
|
|
|
1721
2529
|
export const UpdateQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1722
2530
|
consumers: Schema.optional(
|
|
1723
|
-
Schema.Union([
|
|
2531
|
+
Schema.Union([
|
|
2532
|
+
Schema.Array(
|
|
2533
|
+
Schema.Union([
|
|
2534
|
+
Schema.Struct({
|
|
2535
|
+
consumerId: Schema.optional(
|
|
2536
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2537
|
+
),
|
|
2538
|
+
createdOn: Schema.optional(
|
|
2539
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2540
|
+
),
|
|
2541
|
+
queueId: Schema.optional(
|
|
2542
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2543
|
+
),
|
|
2544
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2545
|
+
settings: Schema.optional(
|
|
2546
|
+
Schema.Union([
|
|
2547
|
+
Schema.Struct({
|
|
2548
|
+
batchSize: Schema.optional(
|
|
2549
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2550
|
+
),
|
|
2551
|
+
maxConcurrency: Schema.optional(
|
|
2552
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2553
|
+
),
|
|
2554
|
+
maxRetries: Schema.optional(
|
|
2555
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2556
|
+
),
|
|
2557
|
+
maxWaitTimeMs: Schema.optional(
|
|
2558
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2559
|
+
),
|
|
2560
|
+
retryDelay: Schema.optional(
|
|
2561
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2562
|
+
),
|
|
2563
|
+
}).pipe(
|
|
2564
|
+
Schema.encodeKeys({
|
|
2565
|
+
batchSize: "batch_size",
|
|
2566
|
+
maxConcurrency: "max_concurrency",
|
|
2567
|
+
maxRetries: "max_retries",
|
|
2568
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
2569
|
+
retryDelay: "retry_delay",
|
|
2570
|
+
}),
|
|
2571
|
+
),
|
|
2572
|
+
Schema.Null,
|
|
2573
|
+
]),
|
|
2574
|
+
),
|
|
2575
|
+
type: Schema.optional(
|
|
2576
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
2577
|
+
),
|
|
2578
|
+
}).pipe(
|
|
2579
|
+
Schema.encodeKeys({
|
|
2580
|
+
consumerId: "consumer_id",
|
|
2581
|
+
createdOn: "created_on",
|
|
2582
|
+
queueId: "queue_id",
|
|
2583
|
+
script: "script",
|
|
2584
|
+
settings: "settings",
|
|
2585
|
+
type: "type",
|
|
2586
|
+
}),
|
|
2587
|
+
),
|
|
2588
|
+
Schema.Struct({
|
|
2589
|
+
consumerId: Schema.optional(
|
|
2590
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2591
|
+
),
|
|
2592
|
+
createdOn: Schema.optional(
|
|
2593
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2594
|
+
),
|
|
2595
|
+
queueId: Schema.optional(
|
|
2596
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2597
|
+
),
|
|
2598
|
+
settings: Schema.optional(
|
|
2599
|
+
Schema.Union([
|
|
2600
|
+
Schema.Struct({
|
|
2601
|
+
batchSize: Schema.optional(
|
|
2602
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2603
|
+
),
|
|
2604
|
+
maxRetries: Schema.optional(
|
|
2605
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2606
|
+
),
|
|
2607
|
+
retryDelay: Schema.optional(
|
|
2608
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2609
|
+
),
|
|
2610
|
+
visibilityTimeoutMs: Schema.optional(
|
|
2611
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2612
|
+
),
|
|
2613
|
+
}).pipe(
|
|
2614
|
+
Schema.encodeKeys({
|
|
2615
|
+
batchSize: "batch_size",
|
|
2616
|
+
maxRetries: "max_retries",
|
|
2617
|
+
retryDelay: "retry_delay",
|
|
2618
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
2619
|
+
}),
|
|
2620
|
+
),
|
|
2621
|
+
Schema.Null,
|
|
2622
|
+
]),
|
|
2623
|
+
),
|
|
2624
|
+
type: Schema.optional(
|
|
2625
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
2626
|
+
),
|
|
2627
|
+
}).pipe(
|
|
2628
|
+
Schema.encodeKeys({
|
|
2629
|
+
consumerId: "consumer_id",
|
|
2630
|
+
createdOn: "created_on",
|
|
2631
|
+
queueId: "queue_id",
|
|
2632
|
+
settings: "settings",
|
|
2633
|
+
type: "type",
|
|
2634
|
+
}),
|
|
2635
|
+
),
|
|
2636
|
+
]),
|
|
2637
|
+
),
|
|
2638
|
+
Schema.Null,
|
|
2639
|
+
]),
|
|
1724
2640
|
),
|
|
1725
2641
|
consumersTotalCount: Schema.optional(
|
|
1726
2642
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -1847,7 +2763,36 @@ export const PatchQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1847
2763
|
) as unknown as Schema.Schema<PatchQueueRequest>;
|
|
1848
2764
|
|
|
1849
2765
|
export interface PatchQueueResponse {
|
|
1850
|
-
consumers?:
|
|
2766
|
+
consumers?:
|
|
2767
|
+
| (
|
|
2768
|
+
| {
|
|
2769
|
+
consumerId?: string | null;
|
|
2770
|
+
createdOn?: string | null;
|
|
2771
|
+
queueId?: string | null;
|
|
2772
|
+
script?: string | null;
|
|
2773
|
+
settings?: {
|
|
2774
|
+
batchSize?: number | null;
|
|
2775
|
+
maxConcurrency?: number | null;
|
|
2776
|
+
maxRetries?: number | null;
|
|
2777
|
+
maxWaitTimeMs?: number | null;
|
|
2778
|
+
retryDelay?: number | null;
|
|
2779
|
+
} | null;
|
|
2780
|
+
type?: "worker" | null;
|
|
2781
|
+
}
|
|
2782
|
+
| {
|
|
2783
|
+
consumerId?: string | null;
|
|
2784
|
+
createdOn?: string | null;
|
|
2785
|
+
queueId?: string | null;
|
|
2786
|
+
settings?: {
|
|
2787
|
+
batchSize?: number | null;
|
|
2788
|
+
maxRetries?: number | null;
|
|
2789
|
+
retryDelay?: number | null;
|
|
2790
|
+
visibilityTimeoutMs?: number | null;
|
|
2791
|
+
} | null;
|
|
2792
|
+
type?: "http_pull" | null;
|
|
2793
|
+
}
|
|
2794
|
+
)[]
|
|
2795
|
+
| null;
|
|
1851
2796
|
consumersTotalCount?: number | null;
|
|
1852
2797
|
createdOn?: string | null;
|
|
1853
2798
|
modifiedOn?: string | null;
|
|
@@ -1869,7 +2814,115 @@ export interface PatchQueueResponse {
|
|
|
1869
2814
|
|
|
1870
2815
|
export const PatchQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1871
2816
|
consumers: Schema.optional(
|
|
1872
|
-
Schema.Union([
|
|
2817
|
+
Schema.Union([
|
|
2818
|
+
Schema.Array(
|
|
2819
|
+
Schema.Union([
|
|
2820
|
+
Schema.Struct({
|
|
2821
|
+
consumerId: Schema.optional(
|
|
2822
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2823
|
+
),
|
|
2824
|
+
createdOn: Schema.optional(
|
|
2825
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2826
|
+
),
|
|
2827
|
+
queueId: Schema.optional(
|
|
2828
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2829
|
+
),
|
|
2830
|
+
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2831
|
+
settings: Schema.optional(
|
|
2832
|
+
Schema.Union([
|
|
2833
|
+
Schema.Struct({
|
|
2834
|
+
batchSize: Schema.optional(
|
|
2835
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2836
|
+
),
|
|
2837
|
+
maxConcurrency: Schema.optional(
|
|
2838
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2839
|
+
),
|
|
2840
|
+
maxRetries: Schema.optional(
|
|
2841
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2842
|
+
),
|
|
2843
|
+
maxWaitTimeMs: Schema.optional(
|
|
2844
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2845
|
+
),
|
|
2846
|
+
retryDelay: Schema.optional(
|
|
2847
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2848
|
+
),
|
|
2849
|
+
}).pipe(
|
|
2850
|
+
Schema.encodeKeys({
|
|
2851
|
+
batchSize: "batch_size",
|
|
2852
|
+
maxConcurrency: "max_concurrency",
|
|
2853
|
+
maxRetries: "max_retries",
|
|
2854
|
+
maxWaitTimeMs: "max_wait_time_ms",
|
|
2855
|
+
retryDelay: "retry_delay",
|
|
2856
|
+
}),
|
|
2857
|
+
),
|
|
2858
|
+
Schema.Null,
|
|
2859
|
+
]),
|
|
2860
|
+
),
|
|
2861
|
+
type: Schema.optional(
|
|
2862
|
+
Schema.Union([Schema.Literal("worker"), Schema.Null]),
|
|
2863
|
+
),
|
|
2864
|
+
}).pipe(
|
|
2865
|
+
Schema.encodeKeys({
|
|
2866
|
+
consumerId: "consumer_id",
|
|
2867
|
+
createdOn: "created_on",
|
|
2868
|
+
queueId: "queue_id",
|
|
2869
|
+
script: "script",
|
|
2870
|
+
settings: "settings",
|
|
2871
|
+
type: "type",
|
|
2872
|
+
}),
|
|
2873
|
+
),
|
|
2874
|
+
Schema.Struct({
|
|
2875
|
+
consumerId: Schema.optional(
|
|
2876
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2877
|
+
),
|
|
2878
|
+
createdOn: Schema.optional(
|
|
2879
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2880
|
+
),
|
|
2881
|
+
queueId: Schema.optional(
|
|
2882
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2883
|
+
),
|
|
2884
|
+
settings: Schema.optional(
|
|
2885
|
+
Schema.Union([
|
|
2886
|
+
Schema.Struct({
|
|
2887
|
+
batchSize: Schema.optional(
|
|
2888
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2889
|
+
),
|
|
2890
|
+
maxRetries: Schema.optional(
|
|
2891
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2892
|
+
),
|
|
2893
|
+
retryDelay: Schema.optional(
|
|
2894
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2895
|
+
),
|
|
2896
|
+
visibilityTimeoutMs: Schema.optional(
|
|
2897
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
2898
|
+
),
|
|
2899
|
+
}).pipe(
|
|
2900
|
+
Schema.encodeKeys({
|
|
2901
|
+
batchSize: "batch_size",
|
|
2902
|
+
maxRetries: "max_retries",
|
|
2903
|
+
retryDelay: "retry_delay",
|
|
2904
|
+
visibilityTimeoutMs: "visibility_timeout_ms",
|
|
2905
|
+
}),
|
|
2906
|
+
),
|
|
2907
|
+
Schema.Null,
|
|
2908
|
+
]),
|
|
2909
|
+
),
|
|
2910
|
+
type: Schema.optional(
|
|
2911
|
+
Schema.Union([Schema.Literal("http_pull"), Schema.Null]),
|
|
2912
|
+
),
|
|
2913
|
+
}).pipe(
|
|
2914
|
+
Schema.encodeKeys({
|
|
2915
|
+
consumerId: "consumer_id",
|
|
2916
|
+
createdOn: "created_on",
|
|
2917
|
+
queueId: "queue_id",
|
|
2918
|
+
settings: "settings",
|
|
2919
|
+
type: "type",
|
|
2920
|
+
}),
|
|
2921
|
+
),
|
|
2922
|
+
]),
|
|
2923
|
+
),
|
|
2924
|
+
Schema.Null,
|
|
2925
|
+
]),
|
|
1873
2926
|
),
|
|
1874
2927
|
consumersTotalCount: Schema.optional(
|
|
1875
2928
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
@@ -1973,7 +3026,14 @@ export const DeleteQueueRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1973
3026
|
) as unknown as Schema.Schema<DeleteQueueRequest>;
|
|
1974
3027
|
|
|
1975
3028
|
export interface DeleteQueueResponse {
|
|
1976
|
-
errors?:
|
|
3029
|
+
errors?:
|
|
3030
|
+
| {
|
|
3031
|
+
code: number;
|
|
3032
|
+
message: string;
|
|
3033
|
+
documentationUrl?: string | null;
|
|
3034
|
+
source?: { pointer?: string | null } | null;
|
|
3035
|
+
}[]
|
|
3036
|
+
| null;
|
|
1977
3037
|
messages?: string[] | null;
|
|
1978
3038
|
/** Indicates if the API call was successful or not. */
|
|
1979
3039
|
success?: true | null;
|
|
@@ -1981,7 +3041,35 @@ export interface DeleteQueueResponse {
|
|
|
1981
3041
|
|
|
1982
3042
|
export const DeleteQueueResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1983
3043
|
errors: Schema.optional(
|
|
1984
|
-
Schema.Union([
|
|
3044
|
+
Schema.Union([
|
|
3045
|
+
Schema.Array(
|
|
3046
|
+
Schema.Struct({
|
|
3047
|
+
code: Schema.Number,
|
|
3048
|
+
message: Schema.String,
|
|
3049
|
+
documentationUrl: Schema.optional(
|
|
3050
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3051
|
+
),
|
|
3052
|
+
source: Schema.optional(
|
|
3053
|
+
Schema.Union([
|
|
3054
|
+
Schema.Struct({
|
|
3055
|
+
pointer: Schema.optional(
|
|
3056
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3057
|
+
),
|
|
3058
|
+
}),
|
|
3059
|
+
Schema.Null,
|
|
3060
|
+
]),
|
|
3061
|
+
),
|
|
3062
|
+
}).pipe(
|
|
3063
|
+
Schema.encodeKeys({
|
|
3064
|
+
code: "code",
|
|
3065
|
+
message: "message",
|
|
3066
|
+
documentationUrl: "documentation_url",
|
|
3067
|
+
source: "source",
|
|
3068
|
+
}),
|
|
3069
|
+
),
|
|
3070
|
+
),
|
|
3071
|
+
Schema.Null,
|
|
3072
|
+
]),
|
|
1985
3073
|
),
|
|
1986
3074
|
messages: Schema.optional(
|
|
1987
3075
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|