@homeflare/distilled-proxmox-backup 0.2.0 → 0.3.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.
@@ -554,13 +554,8 @@ export const CreateConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() =>
554
554
  });
555
555
  export const DeleteConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
556
556
  realm: S.String.pipe(T.Label()),
557
- digest: S.optional(S.String),
558
- }).pipe(T.Http({
559
- method: "DELETE",
560
- uri: "/config/access/ad/{realm}",
561
- code: 200,
562
- contentType: "form-urlencoded",
563
- }))).annotate({
557
+ digest: S.optional(S.String.pipe(T.Query())),
558
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/access/ad/{realm}", code: 200 }))).annotate({
564
559
  identifier: "DeleteConfigAccessAdRequest",
565
560
  });
566
561
  export const DeleteConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -568,13 +563,8 @@ export const DeleteConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Stru
568
563
  });
569
564
  export const DeleteConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
570
565
  realm: S.String.pipe(T.Label()),
571
- digest: S.optional(S.String),
572
- }).pipe(T.Http({
573
- method: "DELETE",
574
- uri: "/config/access/ldap/{realm}",
575
- code: 200,
576
- contentType: "form-urlencoded",
577
- }))).annotate({
566
+ digest: S.optional(S.String.pipe(T.Query())),
567
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/access/ldap/{realm}", code: 200 }))).annotate({
578
568
  identifier: "DeleteConfigAccessLdapRequest",
579
569
  });
580
570
  export const DeleteConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -582,12 +572,11 @@ export const DeleteConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.St
582
572
  });
583
573
  export const DeleteConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
584
574
  realm: S.String.pipe(T.Label()),
585
- digest: S.optional(S.String),
575
+ digest: S.optional(S.String.pipe(T.Query())),
586
576
  }).pipe(T.Http({
587
577
  method: "DELETE",
588
578
  uri: "/config/access/openid/{realm}",
589
579
  code: 200,
590
- contentType: "form-urlencoded",
591
580
  }))).annotate({
592
581
  identifier: "DeleteConfigAccessOpenidRequest",
593
582
  });
@@ -596,13 +585,8 @@ export const DeleteConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => S.
596
585
  });
597
586
  export const DeleteConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
598
587
  name: S.String.pipe(T.Label()),
599
- force: S.optional(S.String),
600
- }).pipe(T.Http({
601
- method: "DELETE",
602
- uri: "/config/acme/account/{name}",
603
- code: 200,
604
- contentType: "form-urlencoded",
605
- }))).annotate({
588
+ force: S.optional(S.String.pipe(T.Query())),
589
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/acme/account/{name}", code: 200 }))).annotate({
606
590
  identifier: "DeleteConfigAcmeAccountRequest",
607
591
  });
608
592
  export const DeleteConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -626,15 +610,10 @@ export const DeleteConfigChangerResponse = /*@__PURE__*/ S.suspend(() => S.Struc
626
610
  });
627
611
  export const DeleteConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
628
612
  name: S.String.pipe(T.Label()),
629
- destroy_data: S.optional(S.String.pipe(T.Body("destroy-data"))),
630
- digest: S.optional(S.String),
631
- keep_job_configs: S.optional(S.String.pipe(T.Body("keep-job-configs"))),
632
- }).pipe(T.Http({
633
- method: "DELETE",
634
- uri: "/config/datastore/{name}",
635
- code: 200,
636
- contentType: "form-urlencoded",
637
- }))).annotate({
613
+ destroy_data: S.optional(S.String.pipe(T.Query("destroy-data"))),
614
+ digest: S.optional(S.String.pipe(T.Query())),
615
+ keep_job_configs: S.optional(S.String.pipe(T.Query("keep-job-configs"))),
616
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/datastore/{name}", code: 200 }))).annotate({
638
617
  identifier: "DeleteConfigDatastoreRequest",
639
618
  });
640
619
  export const DeleteConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
@@ -650,12 +629,11 @@ export const DeleteConfigDriveResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
650
629
  });
651
630
  export const DeleteConfigEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
652
631
  id: S.String.pipe(T.Label()),
653
- digest: S.optional(S.String),
632
+ digest: S.optional(S.String.pipe(T.Query())),
654
633
  }).pipe(T.Http({
655
634
  method: "DELETE",
656
635
  uri: "/config/encryption-keys/{id}",
657
636
  code: 200,
658
- contentType: "form-urlencoded",
659
637
  }))).annotate({
660
638
  identifier: "DeleteConfigEncryptionKeyRequest",
661
639
  });
@@ -672,12 +650,11 @@ export const DeleteConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => S.Str
672
650
  });
673
651
  export const DeleteConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
674
652
  name: S.String.pipe(T.Label()),
675
- digest: S.optional(S.String),
653
+ digest: S.optional(S.String.pipe(T.Query())),
676
654
  }).pipe(T.Http({
677
655
  method: "DELETE",
678
656
  uri: "/config/metrics/influxdb-http/{name}",
679
657
  code: 200,
680
- contentType: "form-urlencoded",
681
658
  }))).annotate({
682
659
  identifier: "DeleteConfigMetricsInfluxdbHttpRequest",
683
660
  });
@@ -686,12 +663,11 @@ export const DeleteConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend((
686
663
  });
687
664
  export const DeleteConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
688
665
  name: S.String.pipe(T.Label()),
689
- digest: S.optional(S.String),
666
+ digest: S.optional(S.String.pipe(T.Query())),
690
667
  }).pipe(T.Http({
691
668
  method: "DELETE",
692
669
  uri: "/config/metrics/influxdb-udp/{name}",
693
670
  code: 200,
694
- contentType: "form-urlencoded",
695
671
  }))).annotate({
696
672
  identifier: "DeleteConfigMetricsInfluxdbUdpRequest",
697
673
  });
@@ -768,13 +744,8 @@ export const DeleteConfigNotificationMatcherResponse = /*@__PURE__*/ S.suspend((
768
744
  });
769
745
  export const DeleteConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
770
746
  id: S.String.pipe(T.Label()),
771
- digest: S.optional(S.String),
772
- }).pipe(T.Http({
773
- method: "DELETE",
774
- uri: "/config/prune/{id}",
775
- code: 200,
776
- contentType: "form-urlencoded",
777
- }))).annotate({
747
+ digest: S.optional(S.String.pipe(T.Query())),
748
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/prune/{id}", code: 200 }))).annotate({
778
749
  identifier: "DeleteConfigPruneRequest",
779
750
  });
780
751
  export const DeleteConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -782,13 +753,8 @@ export const DeleteConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
782
753
  });
783
754
  export const DeleteConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
784
755
  name: S.String.pipe(T.Label()),
785
- digest: S.optional(S.String),
786
- }).pipe(T.Http({
787
- method: "DELETE",
788
- uri: "/config/remote/{name}",
789
- code: 200,
790
- contentType: "form-urlencoded",
791
- }))).annotate({
756
+ digest: S.optional(S.String.pipe(T.Query())),
757
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/remote/{name}", code: 200 }))).annotate({
792
758
  identifier: "DeleteConfigRemoteRequest",
793
759
  });
794
760
  export const DeleteConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -796,13 +762,8 @@ export const DeleteConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct
796
762
  });
797
763
  export const DeleteConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({
798
764
  id: S.String.pipe(T.Label()),
799
- digest: S.optional(S.String),
800
- }).pipe(T.Http({
801
- method: "DELETE",
802
- uri: "/config/s3/{id}",
803
- code: 200,
804
- contentType: "form-urlencoded",
805
- }))).annotate({
765
+ digest: S.optional(S.String.pipe(T.Query())),
766
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/s3/{id}", code: 200 }))).annotate({
806
767
  identifier: "DeleteConfigS3Request",
807
768
  });
808
769
  export const DeleteConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -810,13 +771,8 @@ export const DeleteConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({})
810
771
  });
811
772
  export const DeleteConfigSyncRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
812
773
  id: S.String.pipe(T.Label()),
813
- digest: S.optional(S.String),
814
- }).pipe(T.Http({
815
- method: "DELETE",
816
- uri: "/config/sync/{id}",
817
- code: 200,
818
- contentType: "form-urlencoded",
819
- }))).annotate({
774
+ digest: S.optional(S.String.pipe(T.Query())),
775
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/sync/{id}", code: 200 }))).annotate({
820
776
  identifier: "DeleteConfigSyncRequest",
821
777
  });
822
778
  export const DeleteConfigSyncResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
@@ -824,12 +780,11 @@ export const DeleteConfigSyncResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
824
780
  });
825
781
  export const DeleteConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
826
782
  id: S.String.pipe(T.Label()),
827
- digest: S.optional(S.String),
783
+ digest: S.optional(S.String.pipe(T.Query())),
828
784
  }).pipe(T.Http({
829
785
  method: "DELETE",
830
786
  uri: "/config/tape-backup-job/{id}",
831
787
  code: 200,
832
- contentType: "form-urlencoded",
833
788
  }))).annotate({
834
789
  identifier: "DeleteConfigTapeBackupJobRequest",
835
790
  });
@@ -838,12 +793,11 @@ export const DeleteConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => S
838
793
  });
839
794
  export const DeleteConfigTapeEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
840
795
  fingerprint: S.String.pipe(T.Label()),
841
- digest: S.optional(S.String),
796
+ digest: S.optional(S.String.pipe(T.Query())),
842
797
  }).pipe(T.Http({
843
798
  method: "DELETE",
844
799
  uri: "/config/tape-encryption-keys/{fingerprint}",
845
800
  code: 200,
846
- contentType: "form-urlencoded",
847
801
  }))).annotate({
848
802
  identifier: "DeleteConfigTapeEncryptionKeyRequest",
849
803
  });
@@ -852,12 +806,11 @@ export const DeleteConfigTapeEncryptionKeyResponse = /*@__PURE__*/ S.suspend(()
852
806
  });
853
807
  export const DeleteConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
854
808
  name: S.String.pipe(T.Label()),
855
- digest: S.optional(S.String),
809
+ digest: S.optional(S.String.pipe(T.Query())),
856
810
  }).pipe(T.Http({
857
811
  method: "DELETE",
858
812
  uri: "/config/traffic-control/{name}",
859
813
  code: 200,
860
- contentType: "form-urlencoded",
861
814
  }))).annotate({
862
815
  identifier: "DeleteConfigTrafficControlRequest",
863
816
  });
@@ -866,13 +819,8 @@ export const DeleteConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() =>
866
819
  });
867
820
  export const DeleteConfigVerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
868
821
  id: S.String.pipe(T.Label()),
869
- digest: S.optional(S.String),
870
- }).pipe(T.Http({
871
- method: "DELETE",
872
- uri: "/config/verify/{id}",
873
- code: 200,
874
- contentType: "form-urlencoded",
875
- }))).annotate({
822
+ digest: S.optional(S.String.pipe(T.Query())),
823
+ }).pipe(T.Http({ method: "DELETE", uri: "/config/verify/{id}", code: 200 }))).annotate({
876
824
  identifier: "DeleteConfigVerifyRequest",
877
825
  });
878
826
  export const DeleteConfigVerifyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({