@compozy/client 0.5.2 → 0.5.4

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.
@@ -5688,6 +5688,126 @@ class workspaces extends HeyApiClient {
5688
5688
  ...options,
5689
5689
  });
5690
5690
  }
5691
+ /**
5692
+ * Read project file content
5693
+ */
5694
+ readFileContent(options) {
5695
+ return (options.client ?? this.client).get({
5696
+ responseStyle: "data",
5697
+ url: "/api/workspaces/{workspace_id}/files/content",
5698
+ ...options,
5699
+ });
5700
+ }
5701
+ /**
5702
+ * List project file entries
5703
+ */
5704
+ listFileEntries(options) {
5705
+ return (options.client ?? this.client).get({
5706
+ responseStyle: "data",
5707
+ url: "/api/workspaces/{workspace_id}/files/entries",
5708
+ ...options,
5709
+ });
5710
+ }
5711
+ /**
5712
+ * Find project files
5713
+ */
5714
+ findFiles(options) {
5715
+ return (options.client ?? this.client).get({
5716
+ responseStyle: "data",
5717
+ url: "/api/workspaces/{workspace_id}/files/find",
5718
+ ...options,
5719
+ });
5720
+ }
5721
+ /**
5722
+ * Search project file contents
5723
+ */
5724
+ searchFileContents(options) {
5725
+ return (options.client ?? this.client).get({
5726
+ responseStyle: "data",
5727
+ url: "/api/workspaces/{workspace_id}/files/search",
5728
+ ...options,
5729
+ });
5730
+ }
5731
+ /**
5732
+ * Read session changes
5733
+ */
5734
+ getSessionChanges(options) {
5735
+ return (options.client ?? this.client).get({
5736
+ responseStyle: "data",
5737
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes",
5738
+ ...options,
5739
+ });
5740
+ }
5741
+ /**
5742
+ * Read session changes
5743
+ */
5744
+ listSessionChangeBases(options) {
5745
+ return (options.client ?? this.client).get({
5746
+ responseStyle: "data",
5747
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/bases",
5748
+ ...options,
5749
+ });
5750
+ }
5751
+ /**
5752
+ * Read session changes
5753
+ */
5754
+ getSessionChangeContents(options) {
5755
+ return (options.client ?? this.client).get({
5756
+ responseStyle: "data",
5757
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/contents",
5758
+ ...options,
5759
+ });
5760
+ }
5761
+ /**
5762
+ * Read session changes
5763
+ */
5764
+ getSessionChangePatches(options) {
5765
+ return (options.client ?? this.client).get({
5766
+ responseStyle: "data",
5767
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/patches",
5768
+ ...options,
5769
+ });
5770
+ }
5771
+ /**
5772
+ * Read project file content
5773
+ */
5774
+ readSessionFileContent(options) {
5775
+ return (options.client ?? this.client).get({
5776
+ responseStyle: "data",
5777
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/content",
5778
+ ...options,
5779
+ });
5780
+ }
5781
+ /**
5782
+ * List project file entries
5783
+ */
5784
+ listSessionFileEntries(options) {
5785
+ return (options.client ?? this.client).get({
5786
+ responseStyle: "data",
5787
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/entries",
5788
+ ...options,
5789
+ });
5790
+ }
5791
+ /**
5792
+ * Find project files
5793
+ */
5794
+ findSessionFiles(options) {
5795
+ return (options.client ?? this.client).get({
5796
+ responseStyle: "data",
5797
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/find",
5798
+ ...options,
5799
+ });
5800
+ }
5801
+ /**
5802
+ * Search project file contents
5803
+ */
5804
+ searchSessionFileContents(options) {
5805
+ return (options.client ?? this.client).get({
5806
+ responseStyle: "data",
5807
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search",
5808
+ ...options,
5809
+ });
5810
+ }
5691
5811
  /**
5692
5812
  * List workspace terminals
5693
5813
  */