@compozy/client 0.5.3 → 0.5.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.
- package/dist/cjs/generated/sdk/sdk.gen.js +178 -0
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +178 -0
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +2807 -660
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +69 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1706 -266
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +2 -0
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -181,6 +181,20 @@ class agents extends HeyApiClient {
|
|
|
181
181
|
...options,
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* Pick an instance proposal
|
|
186
|
+
*/
|
|
187
|
+
pickAgentInstanceProposal(options) {
|
|
188
|
+
return (options.client ?? this.client).post({
|
|
189
|
+
responseStyle: "data",
|
|
190
|
+
url: "/api/agent-instances/{id}/reports/{report_id}/pick",
|
|
191
|
+
...options,
|
|
192
|
+
headers: {
|
|
193
|
+
"Content-Type": "application/json",
|
|
194
|
+
...options.headers,
|
|
195
|
+
},
|
|
196
|
+
});
|
|
197
|
+
}
|
|
184
198
|
/**
|
|
185
199
|
* Resume an agent instance
|
|
186
200
|
*/
|
|
@@ -407,6 +421,40 @@ class agents extends HeyApiClient {
|
|
|
407
421
|
},
|
|
408
422
|
});
|
|
409
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* show check-in authority
|
|
426
|
+
*/
|
|
427
|
+
getAgentHeartbeatAuthority(options) {
|
|
428
|
+
return (options.client ?? this.client).get({
|
|
429
|
+
responseStyle: "data",
|
|
430
|
+
url: "/api/agents/{name}/heartbeat/authority",
|
|
431
|
+
...options,
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* revoke check-in authority
|
|
436
|
+
*/
|
|
437
|
+
revokeAgentHeartbeatAuthority(options) {
|
|
438
|
+
return (options.client ?? this.client).delete({
|
|
439
|
+
responseStyle: "data",
|
|
440
|
+
url: "/api/agents/{name}/heartbeat/authority/approve",
|
|
441
|
+
...options,
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* approve check-in authority
|
|
446
|
+
*/
|
|
447
|
+
approveAgentHeartbeatAuthority(options) {
|
|
448
|
+
return (options.client ?? this.client).post({
|
|
449
|
+
responseStyle: "data",
|
|
450
|
+
url: "/api/agents/{name}/heartbeat/authority/approve",
|
|
451
|
+
...options,
|
|
452
|
+
headers: {
|
|
453
|
+
"Content-Type": "application/json",
|
|
454
|
+
...options.headers,
|
|
455
|
+
},
|
|
456
|
+
});
|
|
457
|
+
}
|
|
410
458
|
/**
|
|
411
459
|
* List managed HEARTBEAT.md authoring revisions
|
|
412
460
|
*/
|
|
@@ -2391,6 +2439,16 @@ class marketplace extends HeyApiClient {
|
|
|
2391
2439
|
...options,
|
|
2392
2440
|
});
|
|
2393
2441
|
}
|
|
2442
|
+
/**
|
|
2443
|
+
* Browse Featured and category sections
|
|
2444
|
+
*/
|
|
2445
|
+
getMarketplaceSections(options) {
|
|
2446
|
+
return (options?.client ?? this.client).get({
|
|
2447
|
+
responseStyle: "data",
|
|
2448
|
+
url: "/api/marketplace/sections",
|
|
2449
|
+
...options,
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2394
2452
|
/**
|
|
2395
2453
|
* List global plugin marketplace sources
|
|
2396
2454
|
*
|
|
@@ -5688,6 +5746,126 @@ class workspaces extends HeyApiClient {
|
|
|
5688
5746
|
...options,
|
|
5689
5747
|
});
|
|
5690
5748
|
}
|
|
5749
|
+
/**
|
|
5750
|
+
* Read project file content
|
|
5751
|
+
*/
|
|
5752
|
+
readFileContent(options) {
|
|
5753
|
+
return (options.client ?? this.client).get({
|
|
5754
|
+
responseStyle: "data",
|
|
5755
|
+
url: "/api/workspaces/{workspace_id}/files/content",
|
|
5756
|
+
...options,
|
|
5757
|
+
});
|
|
5758
|
+
}
|
|
5759
|
+
/**
|
|
5760
|
+
* List project file entries
|
|
5761
|
+
*/
|
|
5762
|
+
listFileEntries(options) {
|
|
5763
|
+
return (options.client ?? this.client).get({
|
|
5764
|
+
responseStyle: "data",
|
|
5765
|
+
url: "/api/workspaces/{workspace_id}/files/entries",
|
|
5766
|
+
...options,
|
|
5767
|
+
});
|
|
5768
|
+
}
|
|
5769
|
+
/**
|
|
5770
|
+
* Find project files
|
|
5771
|
+
*/
|
|
5772
|
+
findFiles(options) {
|
|
5773
|
+
return (options.client ?? this.client).get({
|
|
5774
|
+
responseStyle: "data",
|
|
5775
|
+
url: "/api/workspaces/{workspace_id}/files/find",
|
|
5776
|
+
...options,
|
|
5777
|
+
});
|
|
5778
|
+
}
|
|
5779
|
+
/**
|
|
5780
|
+
* Search project file contents
|
|
5781
|
+
*/
|
|
5782
|
+
searchFileContents(options) {
|
|
5783
|
+
return (options.client ?? this.client).get({
|
|
5784
|
+
responseStyle: "data",
|
|
5785
|
+
url: "/api/workspaces/{workspace_id}/files/search",
|
|
5786
|
+
...options,
|
|
5787
|
+
});
|
|
5788
|
+
}
|
|
5789
|
+
/**
|
|
5790
|
+
* Read session changes
|
|
5791
|
+
*/
|
|
5792
|
+
getSessionChanges(options) {
|
|
5793
|
+
return (options.client ?? this.client).get({
|
|
5794
|
+
responseStyle: "data",
|
|
5795
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes",
|
|
5796
|
+
...options,
|
|
5797
|
+
});
|
|
5798
|
+
}
|
|
5799
|
+
/**
|
|
5800
|
+
* Read session changes
|
|
5801
|
+
*/
|
|
5802
|
+
listSessionChangeBases(options) {
|
|
5803
|
+
return (options.client ?? this.client).get({
|
|
5804
|
+
responseStyle: "data",
|
|
5805
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/bases",
|
|
5806
|
+
...options,
|
|
5807
|
+
});
|
|
5808
|
+
}
|
|
5809
|
+
/**
|
|
5810
|
+
* Read session changes
|
|
5811
|
+
*/
|
|
5812
|
+
getSessionChangeContents(options) {
|
|
5813
|
+
return (options.client ?? this.client).get({
|
|
5814
|
+
responseStyle: "data",
|
|
5815
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/contents",
|
|
5816
|
+
...options,
|
|
5817
|
+
});
|
|
5818
|
+
}
|
|
5819
|
+
/**
|
|
5820
|
+
* Read session changes
|
|
5821
|
+
*/
|
|
5822
|
+
getSessionChangePatches(options) {
|
|
5823
|
+
return (options.client ?? this.client).get({
|
|
5824
|
+
responseStyle: "data",
|
|
5825
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/changes/patches",
|
|
5826
|
+
...options,
|
|
5827
|
+
});
|
|
5828
|
+
}
|
|
5829
|
+
/**
|
|
5830
|
+
* Read project file content
|
|
5831
|
+
*/
|
|
5832
|
+
readSessionFileContent(options) {
|
|
5833
|
+
return (options.client ?? this.client).get({
|
|
5834
|
+
responseStyle: "data",
|
|
5835
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/content",
|
|
5836
|
+
...options,
|
|
5837
|
+
});
|
|
5838
|
+
}
|
|
5839
|
+
/**
|
|
5840
|
+
* List project file entries
|
|
5841
|
+
*/
|
|
5842
|
+
listSessionFileEntries(options) {
|
|
5843
|
+
return (options.client ?? this.client).get({
|
|
5844
|
+
responseStyle: "data",
|
|
5845
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/entries",
|
|
5846
|
+
...options,
|
|
5847
|
+
});
|
|
5848
|
+
}
|
|
5849
|
+
/**
|
|
5850
|
+
* Find project files
|
|
5851
|
+
*/
|
|
5852
|
+
findSessionFiles(options) {
|
|
5853
|
+
return (options.client ?? this.client).get({
|
|
5854
|
+
responseStyle: "data",
|
|
5855
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/find",
|
|
5856
|
+
...options,
|
|
5857
|
+
});
|
|
5858
|
+
}
|
|
5859
|
+
/**
|
|
5860
|
+
* Search project file contents
|
|
5861
|
+
*/
|
|
5862
|
+
searchSessionFileContents(options) {
|
|
5863
|
+
return (options.client ?? this.client).get({
|
|
5864
|
+
responseStyle: "data",
|
|
5865
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/search",
|
|
5866
|
+
...options,
|
|
5867
|
+
});
|
|
5868
|
+
}
|
|
5691
5869
|
/**
|
|
5692
5870
|
* List workspace terminals
|
|
5693
5871
|
*/
|