@compozy/client 0.5.3 → 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.
@@ -5659,6 +5659,126 @@ export class workspaces extends HeyApiClient {
5659
5659
  ...options,
5660
5660
  });
5661
5661
  }
5662
+ /**
5663
+ * Read project file content
5664
+ */
5665
+ readFileContent(options) {
5666
+ return (options.client ?? this.client).get({
5667
+ responseStyle: "data",
5668
+ url: "/api/workspaces/{workspace_id}/files/content",
5669
+ ...options,
5670
+ });
5671
+ }
5672
+ /**
5673
+ * List project file entries
5674
+ */
5675
+ listFileEntries(options) {
5676
+ return (options.client ?? this.client).get({
5677
+ responseStyle: "data",
5678
+ url: "/api/workspaces/{workspace_id}/files/entries",
5679
+ ...options,
5680
+ });
5681
+ }
5682
+ /**
5683
+ * Find project files
5684
+ */
5685
+ findFiles(options) {
5686
+ return (options.client ?? this.client).get({
5687
+ responseStyle: "data",
5688
+ url: "/api/workspaces/{workspace_id}/files/find",
5689
+ ...options,
5690
+ });
5691
+ }
5692
+ /**
5693
+ * Search project file contents
5694
+ */
5695
+ searchFileContents(options) {
5696
+ return (options.client ?? this.client).get({
5697
+ responseStyle: "data",
5698
+ url: "/api/workspaces/{workspace_id}/files/search",
5699
+ ...options,
5700
+ });
5701
+ }
5702
+ /**
5703
+ * Read session changes
5704
+ */
5705
+ getSessionChanges(options) {
5706
+ return (options.client ?? this.client).get({
5707
+ responseStyle: "data",
5708
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes",
5709
+ ...options,
5710
+ });
5711
+ }
5712
+ /**
5713
+ * Read session changes
5714
+ */
5715
+ listSessionChangeBases(options) {
5716
+ return (options.client ?? this.client).get({
5717
+ responseStyle: "data",
5718
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/bases",
5719
+ ...options,
5720
+ });
5721
+ }
5722
+ /**
5723
+ * Read session changes
5724
+ */
5725
+ getSessionChangeContents(options) {
5726
+ return (options.client ?? this.client).get({
5727
+ responseStyle: "data",
5728
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/contents",
5729
+ ...options,
5730
+ });
5731
+ }
5732
+ /**
5733
+ * Read session changes
5734
+ */
5735
+ getSessionChangePatches(options) {
5736
+ return (options.client ?? this.client).get({
5737
+ responseStyle: "data",
5738
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/patches",
5739
+ ...options,
5740
+ });
5741
+ }
5742
+ /**
5743
+ * Read project file content
5744
+ */
5745
+ readSessionFileContent(options) {
5746
+ return (options.client ?? this.client).get({
5747
+ responseStyle: "data",
5748
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/content",
5749
+ ...options,
5750
+ });
5751
+ }
5752
+ /**
5753
+ * List project file entries
5754
+ */
5755
+ listSessionFileEntries(options) {
5756
+ return (options.client ?? this.client).get({
5757
+ responseStyle: "data",
5758
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/entries",
5759
+ ...options,
5760
+ });
5761
+ }
5762
+ /**
5763
+ * Find project files
5764
+ */
5765
+ findSessionFiles(options) {
5766
+ return (options.client ?? this.client).get({
5767
+ responseStyle: "data",
5768
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/find",
5769
+ ...options,
5770
+ });
5771
+ }
5772
+ /**
5773
+ * Search project file contents
5774
+ */
5775
+ searchSessionFileContents(options) {
5776
+ return (options.client ?? this.client).get({
5777
+ responseStyle: "data",
5778
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search",
5779
+ ...options,
5780
+ });
5781
+ }
5662
5782
  /**
5663
5783
  * List workspace terminals
5664
5784
  */