@distilled.cloud/cloudflare 0.16.3 → 0.16.5

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.
Files changed (59) hide show
  1. package/lib/client/api.d.ts.map +1 -1
  2. package/lib/client/api.js +29 -3
  3. package/lib/client/api.js.map +1 -1
  4. package/lib/services/ai.js +25 -25
  5. package/lib/services/ai.js.map +1 -1
  6. package/lib/services/api-gateway.js +84 -84
  7. package/lib/services/api-gateway.js.map +1 -1
  8. package/lib/services/connectivity.js +12 -12
  9. package/lib/services/connectivity.js.map +1 -1
  10. package/lib/services/dns.js +439 -439
  11. package/lib/services/dns.js.map +1 -1
  12. package/lib/services/firewall.js +76 -76
  13. package/lib/services/firewall.js.map +1 -1
  14. package/lib/services/hyperdrive.js +26 -26
  15. package/lib/services/hyperdrive.js.map +1 -1
  16. package/lib/services/magic-cloud-networking.js +7 -7
  17. package/lib/services/magic-cloud-networking.js.map +1 -1
  18. package/lib/services/magic-transit.js +8 -8
  19. package/lib/services/magic-transit.js.map +1 -1
  20. package/lib/services/pipelines.js +101 -101
  21. package/lib/services/pipelines.js.map +1 -1
  22. package/lib/services/radar.js +32 -32
  23. package/lib/services/radar.js.map +1 -1
  24. package/lib/services/realtime-kit.js +5 -5
  25. package/lib/services/realtime-kit.js.map +1 -1
  26. package/lib/services/rules.js +4 -4
  27. package/lib/services/rules.js.map +1 -1
  28. package/lib/services/token-validation.js +84 -84
  29. package/lib/services/token-validation.js.map +1 -1
  30. package/lib/services/workers-for-platforms.js +438 -438
  31. package/lib/services/workers-for-platforms.js.map +1 -1
  32. package/lib/services/workers.js +1207 -1207
  33. package/lib/services/workers.js.map +1 -1
  34. package/lib/services/workflows.js +9 -9
  35. package/lib/services/workflows.js.map +1 -1
  36. package/lib/services/zero-trust.js +3979 -3979
  37. package/lib/services/zero-trust.js.map +1 -1
  38. package/lib/services/zones.js +50 -50
  39. package/lib/services/zones.js.map +1 -1
  40. package/package.json +6 -6
  41. package/src/client/api.ts +30 -3
  42. package/src/services/ai.ts +35 -35
  43. package/src/services/api-gateway.ts +130 -130
  44. package/src/services/connectivity.ts +12 -12
  45. package/src/services/dns.ts +523 -523
  46. package/src/services/firewall.ts +80 -80
  47. package/src/services/hyperdrive.ts +28 -28
  48. package/src/services/magic-cloud-networking.ts +8 -8
  49. package/src/services/magic-transit.ts +8 -8
  50. package/src/services/pipelines.ts +149 -149
  51. package/src/services/radar.ts +32 -32
  52. package/src/services/realtime-kit.ts +5 -5
  53. package/src/services/rules.ts +4 -4
  54. package/src/services/token-validation.ts +84 -84
  55. package/src/services/workers-for-platforms.ts +555 -555
  56. package/src/services/workers.ts +1524 -1524
  57. package/src/services/workflows.ts +9 -9
  58. package/src/services/zero-trust.ts +5599 -5599
  59. package/src/services/zones.ts +74 -74
@@ -1364,6 +1364,10 @@ export const BulkPutRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1364
1364
  filter: Schema.optional(
1365
1365
  Schema.Union([
1366
1366
  Schema.Union([
1367
+ Schema.Struct({
1368
+ id: Schema.String,
1369
+ deleted: Schema.Boolean,
1370
+ }),
1367
1371
  Schema.Struct({
1368
1372
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1369
1373
  description: Schema.optional(
@@ -1377,10 +1381,6 @@ export const BulkPutRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1377
1381
  ),
1378
1382
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1379
1383
  }),
1380
- Schema.Struct({
1381
- id: Schema.String,
1382
- deleted: Schema.Boolean,
1383
- }),
1384
1384
  ]),
1385
1385
  Schema.Null,
1386
1386
  ]),
@@ -1506,6 +1506,10 @@ export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1506
1506
  filter: Schema.optional(
1507
1507
  Schema.Union([
1508
1508
  Schema.Union([
1509
+ Schema.Struct({
1510
+ id: Schema.String,
1511
+ deleted: Schema.Boolean,
1512
+ }),
1509
1513
  Schema.Struct({
1510
1514
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1511
1515
  description: Schema.optional(
@@ -1517,10 +1521,6 @@ export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1517
1521
  paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1518
1522
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1519
1523
  }),
1520
- Schema.Struct({
1521
- id: Schema.String,
1522
- deleted: Schema.Boolean,
1523
- }),
1524
1524
  ]),
1525
1525
  Schema.Null,
1526
1526
  ]),
@@ -1654,6 +1654,10 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1654
1654
  filter: Schema.optional(
1655
1655
  Schema.Union([
1656
1656
  Schema.Union([
1657
+ Schema.Struct({
1658
+ id: Schema.String,
1659
+ deleted: Schema.Boolean,
1660
+ }),
1657
1661
  Schema.Struct({
1658
1662
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1659
1663
  description: Schema.optional(
@@ -1667,10 +1671,6 @@ export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1667
1671
  ),
1668
1672
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1669
1673
  }),
1670
- Schema.Struct({
1671
- id: Schema.String,
1672
- deleted: Schema.Boolean,
1673
- }),
1674
1674
  ]),
1675
1675
  Schema.Null,
1676
1676
  ]),
@@ -1848,6 +1848,10 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1848
1848
  filter: Schema.optional(
1849
1849
  Schema.Union([
1850
1850
  Schema.Union([
1851
+ Schema.Struct({
1852
+ id: Schema.String,
1853
+ deleted: Schema.Boolean,
1854
+ }),
1851
1855
  Schema.Struct({
1852
1856
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1853
1857
  description: Schema.optional(
@@ -1861,10 +1865,6 @@ export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1861
1865
  ),
1862
1866
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1863
1867
  }),
1864
- Schema.Struct({
1865
- id: Schema.String,
1866
- deleted: Schema.Boolean,
1867
- }),
1868
1868
  ]),
1869
1869
  Schema.Null,
1870
1870
  ]),
@@ -2028,6 +2028,10 @@ export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2028
2028
  filter: Schema.optional(
2029
2029
  Schema.Union([
2030
2030
  Schema.Union([
2031
+ Schema.Struct({
2032
+ id: Schema.String,
2033
+ deleted: Schema.Boolean,
2034
+ }),
2031
2035
  Schema.Struct({
2032
2036
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2033
2037
  description: Schema.optional(
@@ -2039,10 +2043,6 @@ export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2039
2043
  paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2040
2044
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2041
2045
  }),
2042
- Schema.Struct({
2043
- id: Schema.String,
2044
- deleted: Schema.Boolean,
2045
- }),
2046
2046
  ]),
2047
2047
  Schema.Null,
2048
2048
  ]),
@@ -2158,6 +2158,10 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2158
2158
  filter: Schema.optional(
2159
2159
  Schema.Union([
2160
2160
  Schema.Union([
2161
+ Schema.Struct({
2162
+ id: Schema.String,
2163
+ deleted: Schema.Boolean,
2164
+ }),
2161
2165
  Schema.Struct({
2162
2166
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2163
2167
  description: Schema.optional(
@@ -2171,10 +2175,6 @@ export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2171
2175
  ),
2172
2176
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2173
2177
  }),
2174
- Schema.Struct({
2175
- id: Schema.String,
2176
- deleted: Schema.Boolean,
2177
- }),
2178
2178
  ]),
2179
2179
  Schema.Null,
2180
2180
  ]),
@@ -2299,6 +2299,10 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2299
2299
  filter: Schema.optional(
2300
2300
  Schema.Union([
2301
2301
  Schema.Union([
2302
+ Schema.Struct({
2303
+ id: Schema.String,
2304
+ deleted: Schema.Boolean,
2305
+ }),
2302
2306
  Schema.Struct({
2303
2307
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2304
2308
  description: Schema.optional(
@@ -2310,10 +2314,6 @@ export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2310
2314
  paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2311
2315
  ref: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2312
2316
  }),
2313
- Schema.Struct({
2314
- id: Schema.String,
2315
- deleted: Schema.Boolean,
2316
- }),
2317
2317
  ]),
2318
2318
  Schema.Null,
2319
2319
  ]),
@@ -2433,6 +2433,10 @@ export const BulkPatchRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2433
2433
  filter: Schema.optional(
2434
2434
  Schema.Union([
2435
2435
  Schema.Union([
2436
+ Schema.Struct({
2437
+ id: Schema.String,
2438
+ deleted: Schema.Boolean,
2439
+ }),
2436
2440
  Schema.Struct({
2437
2441
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2438
2442
  description: Schema.optional(
@@ -2448,10 +2452,6 @@ export const BulkPatchRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2448
2452
  Schema.Union([Schema.String, Schema.Null]),
2449
2453
  ),
2450
2454
  }),
2451
- Schema.Struct({
2452
- id: Schema.String,
2453
- deleted: Schema.Boolean,
2454
- }),
2455
2455
  ]),
2456
2456
  Schema.Null,
2457
2457
  ]),
@@ -2575,6 +2575,10 @@ export const BulkDeleteRulesResponse =
2575
2575
  filter: Schema.optional(
2576
2576
  Schema.Union([
2577
2577
  Schema.Union([
2578
+ Schema.Struct({
2579
+ id: Schema.String,
2580
+ deleted: Schema.Boolean,
2581
+ }),
2578
2582
  Schema.Struct({
2579
2583
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2580
2584
  description: Schema.optional(
@@ -2590,10 +2594,6 @@ export const BulkDeleteRulesResponse =
2590
2594
  Schema.Union([Schema.String, Schema.Null]),
2591
2595
  ),
2592
2596
  }),
2593
- Schema.Struct({
2594
- id: Schema.String,
2595
- deleted: Schema.Boolean,
2596
- }),
2597
2597
  ]),
2598
2598
  Schema.Null,
2599
2599
  ]),
@@ -4468,28 +4468,6 @@ export const ListWafPackageRulesResponse =
4468
4468
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4469
4469
  result: Schema.Array(
4470
4470
  Schema.Union([
4471
- Schema.Struct({
4472
- id: Schema.String,
4473
- allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
4474
- description: Schema.String,
4475
- group: Schema.Struct({
4476
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4477
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4478
- }),
4479
- mode: Schema.Literals(["on", "off"]),
4480
- packageId: Schema.String,
4481
- priority: Schema.String,
4482
- }).pipe(
4483
- Schema.encodeKeys({
4484
- id: "id",
4485
- allowedModes: "allowed_modes",
4486
- description: "description",
4487
- group: "group",
4488
- mode: "mode",
4489
- packageId: "package_id",
4490
- priority: "priority",
4491
- }),
4492
- ),
4493
4471
  Schema.Struct({
4494
4472
  id: Schema.String,
4495
4473
  allowedModes: Schema.Array(
@@ -4533,6 +4511,28 @@ export const ListWafPackageRulesResponse =
4533
4511
  priority: "priority",
4534
4512
  }),
4535
4513
  ),
4514
+ Schema.Struct({
4515
+ id: Schema.String,
4516
+ allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
4517
+ description: Schema.String,
4518
+ group: Schema.Struct({
4519
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4520
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4521
+ }),
4522
+ mode: Schema.Literals(["on", "off"]),
4523
+ packageId: Schema.String,
4524
+ priority: Schema.String,
4525
+ }).pipe(
4526
+ Schema.encodeKeys({
4527
+ id: "id",
4528
+ allowedModes: "allowed_modes",
4529
+ description: "description",
4530
+ group: "group",
4531
+ mode: "mode",
4532
+ packageId: "package_id",
4533
+ priority: "priority",
4534
+ }),
4535
+ ),
4536
4536
  ]),
4537
4537
  ),
4538
4538
  resultInfo: Schema.Struct({
@@ -4640,28 +4640,6 @@ export type PatchWafPackageRuleResponse =
4640
4640
 
4641
4641
  export const PatchWafPackageRuleResponse =
4642
4642
  /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
4643
- Schema.Struct({
4644
- id: Schema.String,
4645
- allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
4646
- description: Schema.String,
4647
- group: Schema.Struct({
4648
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4649
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4650
- }),
4651
- mode: Schema.Literals(["on", "off"]),
4652
- packageId: Schema.String,
4653
- priority: Schema.String,
4654
- }).pipe(
4655
- Schema.encodeKeys({
4656
- id: "id",
4657
- allowedModes: "allowed_modes",
4658
- description: "description",
4659
- group: "group",
4660
- mode: "mode",
4661
- packageId: "package_id",
4662
- priority: "priority",
4663
- }),
4664
- ),
4665
4643
  Schema.Struct({
4666
4644
  id: Schema.String,
4667
4645
  allowedModes: Schema.Array(
@@ -4705,6 +4683,28 @@ export const PatchWafPackageRuleResponse =
4705
4683
  priority: "priority",
4706
4684
  }),
4707
4685
  ),
4686
+ Schema.Struct({
4687
+ id: Schema.String,
4688
+ allowedModes: Schema.Array(Schema.Literals(["on", "off"])),
4689
+ description: Schema.String,
4690
+ group: Schema.Struct({
4691
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4692
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4693
+ }),
4694
+ mode: Schema.Literals(["on", "off"]),
4695
+ packageId: Schema.String,
4696
+ priority: Schema.String,
4697
+ }).pipe(
4698
+ Schema.encodeKeys({
4699
+ id: "id",
4700
+ allowedModes: "allowed_modes",
4701
+ description: "description",
4702
+ group: "group",
4703
+ mode: "mode",
4704
+ packageId: "package_id",
4705
+ priority: "priority",
4706
+ }),
4707
+ ),
4708
4708
  ]).pipe(
4709
4709
  T.ResponsePath("result"),
4710
4710
  ) as unknown as Schema.Schema<PatchWafPackageRuleResponse>;
@@ -439,14 +439,6 @@ export const CreateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
439
439
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
440
440
  name: Schema.String,
441
441
  origin: Schema.Union([
442
- Schema.Struct({
443
- database: Schema.String,
444
- host: Schema.String,
445
- password: SensitiveString,
446
- port: Schema.Number,
447
- scheme: Schema.Literals(["postgres", "postgresql", "mysql"]),
448
- user: Schema.String,
449
- }),
450
442
  Schema.Struct({
451
443
  accessClientId: Schema.String,
452
444
  accessClientSecret: SensitiveString,
@@ -466,6 +458,14 @@ export const CreateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
466
458
  user: "user",
467
459
  }),
468
460
  ),
461
+ Schema.Struct({
462
+ database: Schema.String,
463
+ host: Schema.String,
464
+ password: SensitiveString,
465
+ port: Schema.Number,
466
+ scheme: Schema.Literals(["postgres", "postgresql", "mysql"]),
467
+ user: Schema.String,
468
+ }),
469
469
  ]),
470
470
  caching: Schema.optional(
471
471
  Schema.Union([
@@ -712,14 +712,6 @@ export const UpdateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
712
712
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
713
713
  name: Schema.String,
714
714
  origin: Schema.Union([
715
- Schema.Struct({
716
- database: Schema.String,
717
- host: Schema.String,
718
- password: SensitiveString,
719
- port: Schema.Number,
720
- scheme: Schema.Literals(["postgres", "postgresql", "mysql"]),
721
- user: Schema.String,
722
- }),
723
715
  Schema.Struct({
724
716
  accessClientId: Schema.String,
725
717
  accessClientSecret: SensitiveString,
@@ -739,6 +731,14 @@ export const UpdateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
739
731
  user: "user",
740
732
  }),
741
733
  ),
734
+ Schema.Struct({
735
+ database: Schema.String,
736
+ host: Schema.String,
737
+ password: SensitiveString,
738
+ port: Schema.Number,
739
+ scheme: Schema.Literals(["postgres", "postgresql", "mysql"]),
740
+ user: Schema.String,
741
+ }),
742
742
  ]),
743
743
  caching: Schema.optional(
744
744
  Schema.Union([
@@ -1013,18 +1013,6 @@ export const PatchConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1013
1013
  name: Schema.optional(Schema.String),
1014
1014
  origin: Schema.optional(
1015
1015
  Schema.Union([
1016
- Schema.Struct({
1017
- database: Schema.optional(Schema.String),
1018
- password: Schema.optional(SensitiveString),
1019
- scheme: Schema.optional(
1020
- Schema.Literals(["postgres", "postgresql", "mysql"]),
1021
- ),
1022
- user: Schema.optional(Schema.String),
1023
- }),
1024
- Schema.Struct({
1025
- host: Schema.String,
1026
- port: Schema.Number,
1027
- }),
1028
1016
  Schema.Struct({
1029
1017
  accessClientId: Schema.String,
1030
1018
  accessClientSecret: SensitiveString,
@@ -1036,6 +1024,18 @@ export const PatchConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1036
1024
  host: "host",
1037
1025
  }),
1038
1026
  ),
1027
+ Schema.Struct({
1028
+ host: Schema.String,
1029
+ port: Schema.Number,
1030
+ }),
1031
+ Schema.Struct({
1032
+ database: Schema.optional(Schema.String),
1033
+ password: Schema.optional(SensitiveString),
1034
+ scheme: Schema.optional(
1035
+ Schema.Literals(["postgres", "postgresql", "mysql"]),
1036
+ ),
1037
+ user: Schema.optional(Schema.String),
1038
+ }),
1039
1039
  ]),
1040
1040
  ),
1041
1041
  originConnectionLimit: Schema.optional(Schema.Number),
@@ -10177,36 +10177,36 @@ export type InitialSetupCloudIntegrationResponse =
10177
10177
  export const InitialSetupCloudIntegrationResponse =
10178
10178
  /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
10179
10179
  Schema.Struct({
10180
- awsTrustPolicy: Schema.String,
10180
+ azureConsentUrl: Schema.String,
10181
+ integrationIdentityTag: Schema.String,
10181
10182
  itemType: Schema.String,
10183
+ tagCliCommand: Schema.String,
10182
10184
  }).pipe(
10183
10185
  Schema.encodeKeys({
10184
- awsTrustPolicy: "aws_trust_policy",
10186
+ azureConsentUrl: "azure_consent_url",
10187
+ integrationIdentityTag: "integration_identity_tag",
10185
10188
  itemType: "item_type",
10189
+ tagCliCommand: "tag_cli_command",
10186
10190
  }),
10187
10191
  ),
10188
10192
  Schema.Struct({
10189
- azureConsentUrl: Schema.String,
10190
10193
  integrationIdentityTag: Schema.String,
10191
10194
  itemType: Schema.String,
10192
10195
  tagCliCommand: Schema.String,
10193
10196
  }).pipe(
10194
10197
  Schema.encodeKeys({
10195
- azureConsentUrl: "azure_consent_url",
10196
10198
  integrationIdentityTag: "integration_identity_tag",
10197
10199
  itemType: "item_type",
10198
10200
  tagCliCommand: "tag_cli_command",
10199
10201
  }),
10200
10202
  ),
10201
10203
  Schema.Struct({
10202
- integrationIdentityTag: Schema.String,
10204
+ awsTrustPolicy: Schema.String,
10203
10205
  itemType: Schema.String,
10204
- tagCliCommand: Schema.String,
10205
10206
  }).pipe(
10206
10207
  Schema.encodeKeys({
10207
- integrationIdentityTag: "integration_identity_tag",
10208
+ awsTrustPolicy: "aws_trust_policy",
10208
10209
  itemType: "item_type",
10209
- tagCliCommand: "tag_cli_command",
10210
10210
  }),
10211
10211
  ),
10212
10212
  ]).pipe(
@@ -1652,6 +1652,10 @@ export interface GetConnectorEventResponse {
1652
1652
  export const GetConnectorEventResponse =
1653
1653
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1654
1654
  e: Schema.Union([
1655
+ Schema.Struct({
1656
+ k: Schema.Literal("StartUpgrade"),
1657
+ url: Schema.String,
1658
+ }),
1655
1659
  Schema.Struct({
1656
1660
  k: Schema.Literal("Init"),
1657
1661
  }),
@@ -1685,10 +1689,6 @@ export const GetConnectorEventResponse =
1685
1689
  Schema.Struct({
1686
1690
  k: Schema.Literal("FinishRotatePkiFailure"),
1687
1691
  }),
1688
- Schema.Struct({
1689
- k: Schema.Literal("StartUpgrade"),
1690
- url: Schema.String,
1691
- }),
1692
1692
  Schema.Struct({
1693
1693
  k: Schema.Literal("FinishUpgradeSuccess"),
1694
1694
  }),
@@ -1840,6 +1840,10 @@ export const ListConnectorEventLatestsResponse =
1840
1840
  items: Schema.Array(
1841
1841
  Schema.Struct({
1842
1842
  e: Schema.Union([
1843
+ Schema.Struct({
1844
+ k: Schema.Literal("StartUpgrade"),
1845
+ url: Schema.String,
1846
+ }),
1843
1847
  Schema.Struct({
1844
1848
  k: Schema.Literal("Init"),
1845
1849
  }),
@@ -1873,10 +1877,6 @@ export const ListConnectorEventLatestsResponse =
1873
1877
  Schema.Struct({
1874
1878
  k: Schema.Literal("FinishRotatePkiFailure"),
1875
1879
  }),
1876
- Schema.Struct({
1877
- k: Schema.Literal("StartUpgrade"),
1878
- url: Schema.String,
1879
- }),
1880
1880
  Schema.Struct({
1881
1881
  k: Schema.Literal("FinishUpgradeSuccess"),
1882
1882
  }),