@robosystems/client 1.1.0 → 1.2.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.
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +1 -1
- package/sdk/sdk.gen.js +1 -1
- package/sdk/sdk.gen.ts +1 -1
- package/sdk/types.gen.d.ts +18 -0
- package/sdk/types.gen.ts +18 -0
- package/sdk.gen.d.ts +1 -1
- package/sdk.gen.js +1 -1
- package/sdk.gen.ts +1 -1
- package/types.gen.d.ts +18 -0
- package/types.gen.ts +18 -0
package/package.json
CHANGED
package/sdk/sdk.gen.d.ts
CHANGED
|
@@ -316,7 +316,7 @@ export declare const listBackups: <ThrowOnError extends boolean = false>(options
|
|
|
316
316
|
/**
|
|
317
317
|
* Get temporary download URL for backup
|
|
318
318
|
*
|
|
319
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
319
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
320
320
|
*/
|
|
321
321
|
export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => import("./client").RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError, "fields">;
|
|
322
322
|
/**
|
package/sdk/sdk.gen.js
CHANGED
|
@@ -641,7 +641,7 @@ exports.listBackups = listBackups;
|
|
|
641
641
|
/**
|
|
642
642
|
* Get temporary download URL for backup
|
|
643
643
|
*
|
|
644
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
644
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
645
645
|
*/
|
|
646
646
|
const getBackupDownloadUrl = (options) => (options.client ?? client_gen_1.client).get({
|
|
647
647
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
package/sdk/sdk.gen.ts
CHANGED
|
@@ -653,7 +653,7 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
653
653
|
/**
|
|
654
654
|
* Get temporary download URL for backup
|
|
655
655
|
*
|
|
656
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
656
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
657
657
|
*/
|
|
658
658
|
export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => (options.client ?? client).get<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError>({
|
|
659
659
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
package/sdk/types.gen.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ export type ApiKeyInfo = {
|
|
|
55
55
|
* Creation timestamp
|
|
56
56
|
*/
|
|
57
57
|
created_at: string;
|
|
58
|
+
/**
|
|
59
|
+
* Graph Id
|
|
60
|
+
*
|
|
61
|
+
* Graph scope; null means account-wide
|
|
62
|
+
*/
|
|
63
|
+
graph_id?: string | null;
|
|
58
64
|
};
|
|
59
65
|
/**
|
|
60
66
|
* APIKeysResponse
|
|
@@ -883,6 +889,12 @@ export type BackupResponse = {
|
|
|
883
889
|
* Allow Export
|
|
884
890
|
*/
|
|
885
891
|
allow_export: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* Download Extension
|
|
894
|
+
*
|
|
895
|
+
* Extension the download will carry, and therefore how to unpack it: '.lbug.zip' is a ZIP holding the LadybugDB database file, '.lbug.zst' is zstd-compressed (`zstd -d`). Null when the backup is encrypted and so cannot be downloaded.
|
|
896
|
+
*/
|
|
897
|
+
download_extension?: string | null;
|
|
886
898
|
/**
|
|
887
899
|
* Created At
|
|
888
900
|
*/
|
|
@@ -2069,6 +2081,12 @@ export type CreateApiKeyRequest = {
|
|
|
2069
2081
|
* Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
|
|
2070
2082
|
*/
|
|
2071
2083
|
expires_at?: string | null;
|
|
2084
|
+
/**
|
|
2085
|
+
* Graph Id
|
|
2086
|
+
*
|
|
2087
|
+
* Optional graph scope. A scoped key works only for this graph (and its subgraphs) and is the only kind of key accepted in an MCP connector URL. Omit for an account-wide key.
|
|
2088
|
+
*/
|
|
2089
|
+
graph_id?: string | null;
|
|
2072
2090
|
};
|
|
2073
2091
|
/**
|
|
2074
2092
|
* CreateAPIKeyResponse
|
package/sdk/types.gen.ts
CHANGED
|
@@ -58,6 +58,12 @@ export type ApiKeyInfo = {
|
|
|
58
58
|
* Creation timestamp
|
|
59
59
|
*/
|
|
60
60
|
created_at: string;
|
|
61
|
+
/**
|
|
62
|
+
* Graph Id
|
|
63
|
+
*
|
|
64
|
+
* Graph scope; null means account-wide
|
|
65
|
+
*/
|
|
66
|
+
graph_id?: string | null;
|
|
61
67
|
};
|
|
62
68
|
|
|
63
69
|
/**
|
|
@@ -910,6 +916,12 @@ export type BackupResponse = {
|
|
|
910
916
|
* Allow Export
|
|
911
917
|
*/
|
|
912
918
|
allow_export: boolean;
|
|
919
|
+
/**
|
|
920
|
+
* Download Extension
|
|
921
|
+
*
|
|
922
|
+
* Extension the download will carry, and therefore how to unpack it: '.lbug.zip' is a ZIP holding the LadybugDB database file, '.lbug.zst' is zstd-compressed (`zstd -d`). Null when the backup is encrypted and so cannot be downloaded.
|
|
923
|
+
*/
|
|
924
|
+
download_extension?: string | null;
|
|
913
925
|
/**
|
|
914
926
|
* Created At
|
|
915
927
|
*/
|
|
@@ -2126,6 +2138,12 @@ export type CreateApiKeyRequest = {
|
|
|
2126
2138
|
* Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
|
|
2127
2139
|
*/
|
|
2128
2140
|
expires_at?: string | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Graph Id
|
|
2143
|
+
*
|
|
2144
|
+
* Optional graph scope. A scoped key works only for this graph (and its subgraphs) and is the only kind of key accepted in an MCP connector URL. Omit for an account-wide key.
|
|
2145
|
+
*/
|
|
2146
|
+
graph_id?: string | null;
|
|
2129
2147
|
};
|
|
2130
2148
|
|
|
2131
2149
|
/**
|
package/sdk.gen.d.ts
CHANGED
|
@@ -316,7 +316,7 @@ export declare const listBackups: <ThrowOnError extends boolean = false>(options
|
|
|
316
316
|
/**
|
|
317
317
|
* Get temporary download URL for backup
|
|
318
318
|
*
|
|
319
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
319
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
320
320
|
*/
|
|
321
321
|
export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => import("./client").RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError, "fields">;
|
|
322
322
|
/**
|
package/sdk.gen.js
CHANGED
|
@@ -641,7 +641,7 @@ exports.listBackups = listBackups;
|
|
|
641
641
|
/**
|
|
642
642
|
* Get temporary download URL for backup
|
|
643
643
|
*
|
|
644
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
644
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
645
645
|
*/
|
|
646
646
|
const getBackupDownloadUrl = (options) => (options.client ?? client_gen_1.client).get({
|
|
647
647
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
package/sdk.gen.ts
CHANGED
|
@@ -653,7 +653,7 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
653
653
|
/**
|
|
654
654
|
* Get temporary download URL for backup
|
|
655
655
|
*
|
|
656
|
-
* Generate a temporary download URL for a backup (unencrypted
|
|
656
|
+
* Generate a temporary download URL for a backup (unencrypted backups only). The filename carries the extension listed as `download_extension` on the backup: `.lbug.zip` is a ZIP holding the LadybugDB database file `{graph_id}.lbug`; `.lbug.zst` (shared repository snapshots) is a single zstd-compressed database file. Decompress the latter with `zstd -d <file>.lbug.zst` (install zstd first: `brew install zstd`, `apt-get install zstd`, or `dnf install zstd`) — no `--long` flag is needed.
|
|
657
657
|
*/
|
|
658
658
|
export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => (options.client ?? client).get<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError>({
|
|
659
659
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
package/types.gen.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ export type ApiKeyInfo = {
|
|
|
55
55
|
* Creation timestamp
|
|
56
56
|
*/
|
|
57
57
|
created_at: string;
|
|
58
|
+
/**
|
|
59
|
+
* Graph Id
|
|
60
|
+
*
|
|
61
|
+
* Graph scope; null means account-wide
|
|
62
|
+
*/
|
|
63
|
+
graph_id?: string | null;
|
|
58
64
|
};
|
|
59
65
|
/**
|
|
60
66
|
* APIKeysResponse
|
|
@@ -883,6 +889,12 @@ export type BackupResponse = {
|
|
|
883
889
|
* Allow Export
|
|
884
890
|
*/
|
|
885
891
|
allow_export: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* Download Extension
|
|
894
|
+
*
|
|
895
|
+
* Extension the download will carry, and therefore how to unpack it: '.lbug.zip' is a ZIP holding the LadybugDB database file, '.lbug.zst' is zstd-compressed (`zstd -d`). Null when the backup is encrypted and so cannot be downloaded.
|
|
896
|
+
*/
|
|
897
|
+
download_extension?: string | null;
|
|
886
898
|
/**
|
|
887
899
|
* Created At
|
|
888
900
|
*/
|
|
@@ -2069,6 +2081,12 @@ export type CreateApiKeyRequest = {
|
|
|
2069
2081
|
* Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
|
|
2070
2082
|
*/
|
|
2071
2083
|
expires_at?: string | null;
|
|
2084
|
+
/**
|
|
2085
|
+
* Graph Id
|
|
2086
|
+
*
|
|
2087
|
+
* Optional graph scope. A scoped key works only for this graph (and its subgraphs) and is the only kind of key accepted in an MCP connector URL. Omit for an account-wide key.
|
|
2088
|
+
*/
|
|
2089
|
+
graph_id?: string | null;
|
|
2072
2090
|
};
|
|
2073
2091
|
/**
|
|
2074
2092
|
* CreateAPIKeyResponse
|
package/types.gen.ts
CHANGED
|
@@ -58,6 +58,12 @@ export type ApiKeyInfo = {
|
|
|
58
58
|
* Creation timestamp
|
|
59
59
|
*/
|
|
60
60
|
created_at: string;
|
|
61
|
+
/**
|
|
62
|
+
* Graph Id
|
|
63
|
+
*
|
|
64
|
+
* Graph scope; null means account-wide
|
|
65
|
+
*/
|
|
66
|
+
graph_id?: string | null;
|
|
61
67
|
};
|
|
62
68
|
|
|
63
69
|
/**
|
|
@@ -910,6 +916,12 @@ export type BackupResponse = {
|
|
|
910
916
|
* Allow Export
|
|
911
917
|
*/
|
|
912
918
|
allow_export: boolean;
|
|
919
|
+
/**
|
|
920
|
+
* Download Extension
|
|
921
|
+
*
|
|
922
|
+
* Extension the download will carry, and therefore how to unpack it: '.lbug.zip' is a ZIP holding the LadybugDB database file, '.lbug.zst' is zstd-compressed (`zstd -d`). Null when the backup is encrypted and so cannot be downloaded.
|
|
923
|
+
*/
|
|
924
|
+
download_extension?: string | null;
|
|
913
925
|
/**
|
|
914
926
|
* Created At
|
|
915
927
|
*/
|
|
@@ -2126,6 +2138,12 @@ export type CreateApiKeyRequest = {
|
|
|
2126
2138
|
* Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
|
|
2127
2139
|
*/
|
|
2128
2140
|
expires_at?: string | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Graph Id
|
|
2143
|
+
*
|
|
2144
|
+
* Optional graph scope. A scoped key works only for this graph (and its subgraphs) and is the only kind of key accepted in an MCP connector URL. Omit for an account-wide key.
|
|
2145
|
+
*/
|
|
2146
|
+
graph_id?: string | null;
|
|
2129
2147
|
};
|
|
2130
2148
|
|
|
2131
2149
|
/**
|