@nosana/api 2.6.1 → 2.7.3
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/README.md +128 -4
- package/dist/client/blockchain-indexer/index.d.ts +7 -0
- package/dist/client/blockchain-indexer/index.d.ts.map +1 -0
- package/dist/client/blockchain-indexer/index.js +7 -0
- package/dist/client/blockchain-indexer/index.js.map +1 -0
- package/dist/client/blockchain-indexer/schema.d.ts +774 -0
- package/dist/client/blockchain-indexer/schema.d.ts.map +1 -0
- package/dist/client/blockchain-indexer/schema.js.map +1 -0
- package/dist/client/client-manager/index.d.ts +6 -0
- package/dist/client/client-manager/index.d.ts.map +1 -0
- package/dist/client/{clientManagerClient.js → client-manager/index.js} +2 -2
- package/dist/client/client-manager/index.js.map +1 -0
- package/dist/client/{clientManagerSchema.d.ts → client-manager/schema.d.ts} +4 -1
- package/dist/client/client-manager/schema.d.ts.map +1 -0
- package/dist/client/{clientManagerSchema.js → client-manager/schema.js} +1 -1
- package/dist/client/client-manager/schema.js.map +1 -0
- package/dist/client/createClient.d.ts +8 -0
- package/dist/client/createClient.d.ts.map +1 -0
- package/dist/client/{dashboardClient.js → createClient.js} +8 -5
- package/dist/client/createClient.js.map +1 -0
- package/dist/client/deployment-manager/index.d.ts +6 -0
- package/dist/client/deployment-manager/index.d.ts.map +1 -0
- package/dist/client/deployment-manager/index.js +8 -0
- package/dist/client/deployment-manager/index.js.map +1 -0
- package/dist/client/{deployment-manager-schema.d.ts → deployment-manager/schema.d.ts} +400 -138
- package/dist/client/deployment-manager/schema.d.ts.map +1 -0
- package/dist/client/{deployment-manager-schema.js → deployment-manager/schema.js} +1 -1
- package/dist/client/deployment-manager/schema.js.map +1 -0
- package/dist/client/host-manager/index.d.ts +6 -0
- package/dist/client/host-manager/index.d.ts.map +1 -0
- package/dist/client/host-manager/index.js +7 -0
- package/dist/client/host-manager/index.js.map +1 -0
- package/dist/client/host-manager/schema.d.ts +9746 -0
- package/dist/client/host-manager/schema.d.ts.map +1 -0
- package/dist/client/host-manager/schema.js +6 -0
- package/dist/client/host-manager/schema.js.map +1 -0
- package/dist/client/index.d.ts +6 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/type.utils.d.ts +8 -5
- package/dist/client/type.utils.d.ts.map +1 -1
- package/dist/defaults/index.d.ts.map +1 -1
- package/dist/defaults/index.js +10 -4
- package/dist/defaults/index.js.map +1 -1
- package/dist/index.d.ts +31 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -10
- package/dist/index.js.map +1 -1
- package/dist/routes/auth/index.d.ts +1 -1
- package/dist/routes/auth/index.d.ts.map +1 -1
- package/dist/routes/auth/index.js +18 -0
- package/dist/routes/auth/index.js.map +1 -1
- package/dist/routes/auth/types.d.ts +5 -0
- package/dist/routes/auth/types.d.ts.map +1 -1
- package/dist/routes/benchmarks/index.d.ts +7 -0
- package/dist/routes/benchmarks/index.d.ts.map +1 -0
- package/dist/routes/benchmarks/index.js +116 -0
- package/dist/routes/benchmarks/index.js.map +1 -0
- package/dist/routes/benchmarks/types.d.ts +24 -0
- package/dist/routes/benchmarks/types.d.ts.map +1 -0
- package/dist/routes/benchmarks/types.js +2 -0
- package/dist/routes/benchmarks/types.js.map +1 -0
- package/dist/routes/credits/index.d.ts +5 -3
- package/dist/routes/credits/index.d.ts.map +1 -1
- package/dist/routes/credits/index.js +73 -4
- package/dist/routes/credits/index.js.map +1 -1
- package/dist/routes/credits/types.d.ts +13 -2
- package/dist/routes/credits/types.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentArchive.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentArchive.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentArchive.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentArchive.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentCreateNewRevision.d.ts +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentCreateNewRevision.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentCreateNewRevision.js +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentCreateNewRevision.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentDelete.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentDelete.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentDelete.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentDelete.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGenerateAuthHeader.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGenerateAuthHeader.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGenerateAuthHeader.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGenerateAuthHeader.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetEvents.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGetEvents.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetEvents.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetEvents.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetJob.d.ts +3 -5
- package/dist/routes/deployments/deployment/actions/deploymentGetJob.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetJob.js +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGetJob.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetJobs.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGetJobs.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetJobs.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetJobs.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetRevisions.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGetRevisions.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetRevisions.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetRevisions.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetTasks.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentGetTasks.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetTasks.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentGetTasks.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStart.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentStart.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStart.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStart.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStop.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentStop.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStop.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentStop.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateActiveRevision.d.ts +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentUpdateActiveRevision.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateActiveRevision.js +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentUpdateActiveRevision.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateName.d.ts +10 -0
- package/dist/routes/deployments/deployment/actions/deploymentUpdateName.d.ts.map +1 -0
- package/dist/routes/deployments/deployment/actions/deploymentUpdateName.js +21 -0
- package/dist/routes/deployments/deployment/actions/deploymentUpdateName.js.map +1 -0
- package/dist/routes/deployments/deployment/actions/deploymentUpdateReplicaCount.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentUpdateReplicaCount.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateReplicaCount.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateReplicaCount.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateSchedule.d.ts +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentUpdateSchedule.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateSchedule.js +3 -3
- package/dist/routes/deployments/deployment/actions/deploymentUpdateSchedule.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateTimeout.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/deploymentUpdateTimeout.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateTimeout.js +1 -1
- package/dist/routes/deployments/deployment/actions/deploymentUpdateTimeout.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/index.d.ts +1 -0
- package/dist/routes/deployments/deployment/actions/index.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/index.js +1 -0
- package/dist/routes/deployments/deployment/actions/index.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultGetBalance.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/vaultGetBalance.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultGetBalance.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultTopup.d.ts +2 -2
- package/dist/routes/deployments/deployment/actions/vaultTopup.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultTopup.js.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultWithdraw.d.ts +3 -3
- package/dist/routes/deployments/deployment/actions/vaultWithdraw.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/actions/vaultWithdraw.js +3 -3
- package/dist/routes/deployments/deployment/actions/vaultWithdraw.js.map +1 -1
- package/dist/routes/deployments/deployment/createDeployment.d.ts +4 -4
- package/dist/routes/deployments/deployment/createDeployment.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/createDeployment.js +42 -29
- package/dist/routes/deployments/deployment/createDeployment.js.map +1 -1
- package/dist/routes/deployments/deployment/createVault.d.ts +3 -3
- package/dist/routes/deployments/deployment/createVault.d.ts.map +1 -1
- package/dist/routes/deployments/deployment/createVault.js +5 -5
- package/dist/routes/deployments/deployment/createVault.js.map +1 -1
- package/dist/routes/deployments/index.d.ts +3 -3
- package/dist/routes/deployments/index.d.ts.map +1 -1
- package/dist/routes/deployments/index.js +41 -18
- package/dist/routes/deployments/index.js.map +1 -1
- package/dist/routes/deployments/types.d.ts +17 -10
- package/dist/routes/deployments/types.d.ts.map +1 -1
- package/dist/routes/hosts/index.d.ts +7 -0
- package/dist/routes/hosts/index.d.ts.map +1 -0
- package/dist/routes/hosts/index.js +213 -0
- package/dist/routes/hosts/index.js.map +1 -0
- package/dist/routes/hosts/types.d.ts +40 -0
- package/dist/routes/hosts/types.d.ts.map +1 -0
- package/dist/routes/hosts/types.js +2 -0
- package/dist/routes/hosts/types.js.map +1 -0
- package/dist/routes/index.d.ts +7 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +7 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/jobs/index.d.ts +6 -2
- package/dist/routes/jobs/index.d.ts.map +1 -1
- package/dist/routes/jobs/index.js +99 -21
- package/dist/routes/jobs/index.js.map +1 -1
- package/dist/routes/jobs/types.d.ts +40 -32
- package/dist/routes/jobs/types.d.ts.map +1 -1
- package/dist/routes/markets/index.d.ts +4 -2
- package/dist/routes/markets/index.d.ts.map +1 -1
- package/dist/routes/markets/index.js +58 -10
- package/dist/routes/markets/index.js.map +1 -1
- package/dist/routes/markets/types.d.ts +10 -3
- package/dist/routes/markets/types.d.ts.map +1 -1
- package/dist/routes/newsletter/index.d.ts +7 -0
- package/dist/routes/newsletter/index.d.ts.map +1 -0
- package/dist/routes/newsletter/index.js +17 -0
- package/dist/routes/newsletter/index.js.map +1 -0
- package/dist/routes/newsletter/types.d.ts +6 -0
- package/dist/routes/newsletter/types.d.ts.map +1 -0
- package/dist/routes/newsletter/types.js +2 -0
- package/dist/routes/newsletter/types.js.map +1 -0
- package/dist/routes/payments/index.d.ts +7 -0
- package/dist/routes/payments/index.d.ts.map +1 -0
- package/dist/routes/payments/index.js +58 -0
- package/dist/routes/payments/index.js.map +1 -0
- package/dist/routes/payments/types.d.ts +12 -0
- package/dist/routes/payments/types.d.ts.map +1 -0
- package/dist/routes/payments/types.js +2 -0
- package/dist/routes/payments/types.js.map +1 -0
- package/dist/routes/stats/index.d.ts +8 -0
- package/dist/routes/stats/index.d.ts.map +1 -0
- package/dist/routes/stats/index.js +41 -0
- package/dist/routes/stats/index.js.map +1 -0
- package/dist/routes/stats/types.d.ts +11 -0
- package/dist/routes/stats/types.d.ts.map +1 -0
- package/dist/routes/stats/types.js +2 -0
- package/dist/routes/stats/types.js.map +1 -0
- package/dist/routes/templates/index.d.ts +7 -0
- package/dist/routes/templates/index.d.ts.map +1 -0
- package/dist/routes/templates/index.js +48 -0
- package/dist/routes/templates/index.js.map +1 -0
- package/dist/routes/templates/types.d.ts +9 -0
- package/dist/routes/templates/types.d.ts.map +1 -0
- package/dist/routes/templates/types.js +2 -0
- package/dist/routes/templates/types.js.map +1 -0
- package/dist/routes/user/index.d.ts +7 -0
- package/dist/routes/user/index.d.ts.map +1 -0
- package/dist/routes/user/index.js +61 -0
- package/dist/routes/user/index.js.map +1 -0
- package/dist/routes/user/types.d.ts +20 -0
- package/dist/routes/user/types.d.ts.map +1 -0
- package/dist/routes/user/types.js +2 -0
- package/dist/routes/user/types.js.map +1 -0
- package/dist/types.d.ts +22 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/idempotency.d.ts +2 -5
- package/dist/utils/idempotency.d.ts.map +1 -1
- package/dist/utils/idempotency.js +2 -5
- package/dist/utils/idempotency.js.map +1 -1
- package/package.json +18 -8
- package/dist/client/clientManagerClient.d.ts +0 -31
- package/dist/client/clientManagerClient.d.ts.map +0 -1
- package/dist/client/clientManagerClient.js.map +0 -1
- package/dist/client/clientManagerSchema.d.ts.map +0 -1
- package/dist/client/clientManagerSchema.js.map +0 -1
- package/dist/client/clientManagerSchema.lockstep.d.ts +0 -22
- package/dist/client/clientManagerSchema.lockstep.d.ts.map +0 -1
- package/dist/client/clientManagerSchema.lockstep.js +0 -2
- package/dist/client/clientManagerSchema.lockstep.js.map +0 -1
- package/dist/client/dashboardClient.d.ts +0 -10
- package/dist/client/dashboardClient.d.ts.map +0 -1
- package/dist/client/dashboardClient.js.map +0 -1
- package/dist/client/deployment-manager-schema.d.ts.map +0 -1
- package/dist/client/deployment-manager-schema.js.map +0 -1
- package/dist/client/jobsBatch.d.ts +0 -72
- package/dist/client/jobsBatch.d.ts.map +0 -1
- package/dist/client/jobsBatch.js +0 -10
- package/dist/client/jobsBatch.js.map +0 -1
- package/dist/client/schema.d.ts +0 -3167
- package/dist/client/schema.d.ts.map +0 -1
- package/dist/client/schema.js.map +0 -1
- /package/dist/client/{schema.js → blockchain-indexer/schema.js} +0 -0
package/dist/client/schema.d.ts
DELETED
|
@@ -1,3167 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by openapi-typescript.
|
|
3
|
-
* Do not make direct changes to the file.
|
|
4
|
-
*/
|
|
5
|
-
export interface paths {
|
|
6
|
-
"/api/jobs/list": {
|
|
7
|
-
parameters: {
|
|
8
|
-
query?: never;
|
|
9
|
-
header?: never;
|
|
10
|
-
path?: never;
|
|
11
|
-
cookie?: never;
|
|
12
|
-
};
|
|
13
|
-
get?: never;
|
|
14
|
-
put?: never;
|
|
15
|
-
/**
|
|
16
|
-
* Create a job using credits
|
|
17
|
-
* @description Create a job using credits. Supports both JWT tokens (Bearer <jwt>) and API keys (Bearer nos_...)
|
|
18
|
-
*/
|
|
19
|
-
post: operations["postApiJobsList"];
|
|
20
|
-
delete?: never;
|
|
21
|
-
options?: never;
|
|
22
|
-
head?: never;
|
|
23
|
-
patch?: never;
|
|
24
|
-
trace?: never;
|
|
25
|
-
};
|
|
26
|
-
"/api/jobs/{address}/extend": {
|
|
27
|
-
parameters: {
|
|
28
|
-
query?: never;
|
|
29
|
-
header?: never;
|
|
30
|
-
path?: never;
|
|
31
|
-
cookie?: never;
|
|
32
|
-
};
|
|
33
|
-
get?: never;
|
|
34
|
-
put?: never;
|
|
35
|
-
/**
|
|
36
|
-
* Extend a job using credits
|
|
37
|
-
* @description Extend a job using credits. Supports both JWT tokens (Bearer <jwt>) and API keys (Bearer nos_...)
|
|
38
|
-
*/
|
|
39
|
-
post: operations["postApiJobsByAddressExtend"];
|
|
40
|
-
delete?: never;
|
|
41
|
-
options?: never;
|
|
42
|
-
head?: never;
|
|
43
|
-
patch?: never;
|
|
44
|
-
trace?: never;
|
|
45
|
-
};
|
|
46
|
-
"/api/jobs/{address}/stop": {
|
|
47
|
-
parameters: {
|
|
48
|
-
query?: never;
|
|
49
|
-
header?: never;
|
|
50
|
-
path?: never;
|
|
51
|
-
cookie?: never;
|
|
52
|
-
};
|
|
53
|
-
get?: never;
|
|
54
|
-
put?: never;
|
|
55
|
-
/**
|
|
56
|
-
* Stop a job paid with credits
|
|
57
|
-
* @description Stop a job paid with credits. Supports both JWT tokens (Bearer <jwt>) and API keys (Bearer nos_...)
|
|
58
|
-
*/
|
|
59
|
-
post: operations["postApiJobsByAddressStop"];
|
|
60
|
-
delete?: never;
|
|
61
|
-
options?: never;
|
|
62
|
-
head?: never;
|
|
63
|
-
patch?: never;
|
|
64
|
-
trace?: never;
|
|
65
|
-
};
|
|
66
|
-
"/api/jobs/{address}": {
|
|
67
|
-
parameters: {
|
|
68
|
-
query?: never;
|
|
69
|
-
header?: never;
|
|
70
|
-
path?: never;
|
|
71
|
-
cookie?: never;
|
|
72
|
-
};
|
|
73
|
-
get: operations["getApiJobsByAddress"];
|
|
74
|
-
put?: never;
|
|
75
|
-
post?: never;
|
|
76
|
-
delete?: never;
|
|
77
|
-
options?: never;
|
|
78
|
-
head?: never;
|
|
79
|
-
patch?: never;
|
|
80
|
-
trace?: never;
|
|
81
|
-
};
|
|
82
|
-
"/api/markets/": {
|
|
83
|
-
parameters: {
|
|
84
|
-
query?: never;
|
|
85
|
-
header?: never;
|
|
86
|
-
path?: never;
|
|
87
|
-
cookie?: never;
|
|
88
|
-
};
|
|
89
|
-
get: operations["getApiMarkets"];
|
|
90
|
-
put?: never;
|
|
91
|
-
post?: never;
|
|
92
|
-
delete?: never;
|
|
93
|
-
options?: never;
|
|
94
|
-
head?: never;
|
|
95
|
-
patch?: never;
|
|
96
|
-
trace?: never;
|
|
97
|
-
};
|
|
98
|
-
"/api/markets/{id}/": {
|
|
99
|
-
parameters: {
|
|
100
|
-
query?: never;
|
|
101
|
-
header?: never;
|
|
102
|
-
path?: never;
|
|
103
|
-
cookie?: never;
|
|
104
|
-
};
|
|
105
|
-
get: operations["getApiMarketsById"];
|
|
106
|
-
put?: never;
|
|
107
|
-
post?: never;
|
|
108
|
-
delete?: never;
|
|
109
|
-
options?: never;
|
|
110
|
-
head?: never;
|
|
111
|
-
patch?: never;
|
|
112
|
-
trace?: never;
|
|
113
|
-
};
|
|
114
|
-
"/api/markets/{id}/required-resources": {
|
|
115
|
-
parameters: {
|
|
116
|
-
query?: never;
|
|
117
|
-
header?: never;
|
|
118
|
-
path?: never;
|
|
119
|
-
cookie?: never;
|
|
120
|
-
};
|
|
121
|
-
get: operations["getApiMarketsByIdRequired-resources"];
|
|
122
|
-
put?: never;
|
|
123
|
-
post?: never;
|
|
124
|
-
delete?: never;
|
|
125
|
-
options?: never;
|
|
126
|
-
head?: never;
|
|
127
|
-
patch?: never;
|
|
128
|
-
trace?: never;
|
|
129
|
-
};
|
|
130
|
-
"/api/credits/balance": {
|
|
131
|
-
parameters: {
|
|
132
|
-
query?: never;
|
|
133
|
-
header?: never;
|
|
134
|
-
path?: never;
|
|
135
|
-
cookie?: never;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Get the current user's credit balance
|
|
139
|
-
* @description Authentication required via Authorization header. Supports either JWT (Bearer <jwt>) or API key (Bearer <key>). Available balance is assignedCredits - reservedCredits - settledCredits.
|
|
140
|
-
*/
|
|
141
|
-
get: operations["getApiCreditsBalance"];
|
|
142
|
-
put?: never;
|
|
143
|
-
post?: never;
|
|
144
|
-
delete?: never;
|
|
145
|
-
options?: never;
|
|
146
|
-
head?: never;
|
|
147
|
-
patch?: never;
|
|
148
|
-
trace?: never;
|
|
149
|
-
};
|
|
150
|
-
"/api/deployments": {
|
|
151
|
-
parameters: {
|
|
152
|
-
query?: never;
|
|
153
|
-
header?: never;
|
|
154
|
-
path?: never;
|
|
155
|
-
cookie?: never;
|
|
156
|
-
};
|
|
157
|
-
/** @description List all user deployments. */
|
|
158
|
-
get: {
|
|
159
|
-
parameters: {
|
|
160
|
-
query?: {
|
|
161
|
-
/** @description Base64-encoded cursor for keyset pagination */
|
|
162
|
-
cursor?: string;
|
|
163
|
-
/** @description Number of items per page (10, 20, 50, or 100) */
|
|
164
|
-
limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
|
|
165
|
-
/** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
|
|
166
|
-
sort_order?: "asc" | "desc";
|
|
167
|
-
/** @description Search for partial matches in deployment ID or name (case-insensitive) */
|
|
168
|
-
search?: string;
|
|
169
|
-
/** @description Filter by exact deployment ID */
|
|
170
|
-
id?: string;
|
|
171
|
-
/** @description Filter by exact deployment name */
|
|
172
|
-
name?: string;
|
|
173
|
-
/** @description Filter by deployment status. Can be single value or comma-separated list */
|
|
174
|
-
status?: ("DRAFT" | "ERROR" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "INSUFFICIENT_FUNDS" | "ARCHIVED") | string;
|
|
175
|
-
/** @description Filter by deployment strategy. Can be single value or comma-separated list */
|
|
176
|
-
strategy?: ("SIMPLE" | "SIMPLE-EXTEND" | "SCHEDULED" | "INFINITE") | string;
|
|
177
|
-
/** @description Filter by vault public key */
|
|
178
|
-
vault?: string;
|
|
179
|
-
/** @description Filter deployments created after this date (ISO 8601 format) */
|
|
180
|
-
created_after?: string;
|
|
181
|
-
/** @description Filter deployments created before this date (ISO 8601 format) */
|
|
182
|
-
created_before?: string;
|
|
183
|
-
};
|
|
184
|
-
header: {
|
|
185
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
186
|
-
"x-user-id"?: string;
|
|
187
|
-
/**
|
|
188
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
189
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
190
|
-
*/
|
|
191
|
-
authorization: string;
|
|
192
|
-
};
|
|
193
|
-
path?: never;
|
|
194
|
-
cookie?: never;
|
|
195
|
-
};
|
|
196
|
-
requestBody?: never;
|
|
197
|
-
responses: {
|
|
198
|
-
/** @description List of deployments with pagination. */
|
|
199
|
-
200: {
|
|
200
|
-
headers: {
|
|
201
|
-
[name: string]: unknown;
|
|
202
|
-
};
|
|
203
|
-
content: {
|
|
204
|
-
"application/json": {
|
|
205
|
-
deployments: components["schemas"]["Deployment"][];
|
|
206
|
-
pagination: {
|
|
207
|
-
/** @description Cursor for next page, null if no more pages */
|
|
208
|
-
cursor_next: string | null;
|
|
209
|
-
/** @description Cursor for previous page, null if on first page */
|
|
210
|
-
cursor_prev: string | null;
|
|
211
|
-
/** @description Total number of items in collection */
|
|
212
|
-
total_items: number;
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
218
|
-
401: {
|
|
219
|
-
headers: {
|
|
220
|
-
[name: string]: unknown;
|
|
221
|
-
};
|
|
222
|
-
content: {
|
|
223
|
-
"application/json": "Unauthorized";
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
/** @description Internal Server Error. */
|
|
227
|
-
500: {
|
|
228
|
-
headers: {
|
|
229
|
-
[name: string]: unknown;
|
|
230
|
-
};
|
|
231
|
-
content: {
|
|
232
|
-
"application/json": components["schemas"]["Error"];
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
put?: never;
|
|
238
|
-
post?: never;
|
|
239
|
-
delete?: never;
|
|
240
|
-
options?: never;
|
|
241
|
-
head?: never;
|
|
242
|
-
patch?: never;
|
|
243
|
-
trace?: never;
|
|
244
|
-
};
|
|
245
|
-
"/api/deployments/{deployment}": {
|
|
246
|
-
parameters: {
|
|
247
|
-
query?: never;
|
|
248
|
-
header?: never;
|
|
249
|
-
path?: never;
|
|
250
|
-
cookie?: never;
|
|
251
|
-
};
|
|
252
|
-
/** @description Get a specific deployment by ID. */
|
|
253
|
-
get: {
|
|
254
|
-
parameters: {
|
|
255
|
-
query?: never;
|
|
256
|
-
header: {
|
|
257
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
258
|
-
"x-user-id"?: string;
|
|
259
|
-
/**
|
|
260
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
261
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
262
|
-
*/
|
|
263
|
-
authorization: string;
|
|
264
|
-
};
|
|
265
|
-
path: {
|
|
266
|
-
deployment: components["schemas"]["PublicKey"];
|
|
267
|
-
};
|
|
268
|
-
cookie?: never;
|
|
269
|
-
};
|
|
270
|
-
requestBody?: never;
|
|
271
|
-
responses: {
|
|
272
|
-
/** @description Gets a deployment by ID. */
|
|
273
|
-
200: {
|
|
274
|
-
headers: {
|
|
275
|
-
[name: string]: unknown;
|
|
276
|
-
};
|
|
277
|
-
content: {
|
|
278
|
-
"application/json": components["schemas"]["Deployment"];
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
282
|
-
401: {
|
|
283
|
-
headers: {
|
|
284
|
-
[name: string]: unknown;
|
|
285
|
-
};
|
|
286
|
-
content: {
|
|
287
|
-
"application/json": "Unauthorized";
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
/** @description Deployment not found. */
|
|
291
|
-
404: {
|
|
292
|
-
headers: {
|
|
293
|
-
[name: string]: unknown;
|
|
294
|
-
};
|
|
295
|
-
content: {
|
|
296
|
-
"application/json": components["schemas"]["Error"];
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
/** @description Internal Server Error. */
|
|
300
|
-
500: {
|
|
301
|
-
headers: {
|
|
302
|
-
[name: string]: unknown;
|
|
303
|
-
};
|
|
304
|
-
content: {
|
|
305
|
-
"application/json": components["schemas"]["Error"];
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
put?: never;
|
|
311
|
-
post?: never;
|
|
312
|
-
/** @description Delete a deployment permanently */
|
|
313
|
-
delete: {
|
|
314
|
-
parameters: {
|
|
315
|
-
query?: never;
|
|
316
|
-
header: {
|
|
317
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
318
|
-
"x-user-id"?: string;
|
|
319
|
-
/**
|
|
320
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
321
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
322
|
-
*/
|
|
323
|
-
authorization: string;
|
|
324
|
-
};
|
|
325
|
-
path: {
|
|
326
|
-
deployment: components["schemas"]["PublicKey"];
|
|
327
|
-
};
|
|
328
|
-
cookie?: never;
|
|
329
|
-
};
|
|
330
|
-
requestBody?: never;
|
|
331
|
-
responses: {
|
|
332
|
-
/** @description Deployment deleted successfully. */
|
|
333
|
-
204: {
|
|
334
|
-
headers: {
|
|
335
|
-
[name: string]: unknown;
|
|
336
|
-
};
|
|
337
|
-
content: {
|
|
338
|
-
"application/json": unknown;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
342
|
-
401: {
|
|
343
|
-
headers: {
|
|
344
|
-
[name: string]: unknown;
|
|
345
|
-
};
|
|
346
|
-
content: {
|
|
347
|
-
"application/json": "Unauthorized";
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
/** @description Deployment not found. */
|
|
351
|
-
404: {
|
|
352
|
-
headers: {
|
|
353
|
-
[name: string]: unknown;
|
|
354
|
-
};
|
|
355
|
-
content: {
|
|
356
|
-
"application/json": components["schemas"]["Error"];
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
/** @description Internal Server Error. */
|
|
360
|
-
500: {
|
|
361
|
-
headers: {
|
|
362
|
-
[name: string]: unknown;
|
|
363
|
-
};
|
|
364
|
-
content: {
|
|
365
|
-
"application/json": components["schemas"]["Error"];
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
options?: never;
|
|
371
|
-
head?: never;
|
|
372
|
-
patch?: never;
|
|
373
|
-
trace?: never;
|
|
374
|
-
};
|
|
375
|
-
"/api/deployments/{deployment}/tasks": {
|
|
376
|
-
parameters: {
|
|
377
|
-
query?: never;
|
|
378
|
-
header?: never;
|
|
379
|
-
path?: never;
|
|
380
|
-
cookie?: never;
|
|
381
|
-
};
|
|
382
|
-
/** @description Get scheduled tasks for a specific deployment. */
|
|
383
|
-
get: {
|
|
384
|
-
parameters: {
|
|
385
|
-
query?: {
|
|
386
|
-
/** @description Base64-encoded cursor for keyset pagination */
|
|
387
|
-
cursor?: string;
|
|
388
|
-
/** @description Number of items per page (10, 20, 50, or 100) */
|
|
389
|
-
limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
|
|
390
|
-
/** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
|
|
391
|
-
sort_order?: "asc" | "desc";
|
|
392
|
-
/** @description Filter by task type. Can be single value or comma-separated list */
|
|
393
|
-
task?: ("LIST" | "EXTEND" | "STOP") | string;
|
|
394
|
-
/** @description Filter tasks due after this date (ISO 8601 format) */
|
|
395
|
-
due_after?: string;
|
|
396
|
-
/** @description Filter tasks due before this date (ISO 8601 format) */
|
|
397
|
-
due_before?: string;
|
|
398
|
-
};
|
|
399
|
-
header: {
|
|
400
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
401
|
-
"x-user-id"?: string;
|
|
402
|
-
/**
|
|
403
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
404
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
405
|
-
*/
|
|
406
|
-
authorization: string;
|
|
407
|
-
};
|
|
408
|
-
path: {
|
|
409
|
-
deployment: components["schemas"]["PublicKey"];
|
|
410
|
-
};
|
|
411
|
-
cookie?: never;
|
|
412
|
-
};
|
|
413
|
-
requestBody?: never;
|
|
414
|
-
responses: {
|
|
415
|
-
/** @description List of scheduled tasks for the deployment with pagination. */
|
|
416
|
-
200: {
|
|
417
|
-
headers: {
|
|
418
|
-
[name: string]: unknown;
|
|
419
|
-
};
|
|
420
|
-
content: {
|
|
421
|
-
"application/json": {
|
|
422
|
-
tasks: components["schemas"]["Task"][];
|
|
423
|
-
pagination: {
|
|
424
|
-
/** @description Cursor for next page, null if no more pages */
|
|
425
|
-
cursor_next: string | null;
|
|
426
|
-
/** @description Cursor for previous page, null if on first page */
|
|
427
|
-
cursor_prev: string | null;
|
|
428
|
-
/** @description Total number of items in collection */
|
|
429
|
-
total_items: number;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
435
|
-
401: {
|
|
436
|
-
headers: {
|
|
437
|
-
[name: string]: unknown;
|
|
438
|
-
};
|
|
439
|
-
content: {
|
|
440
|
-
"application/json": "Unauthorized";
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
/** @description Deployment not found. */
|
|
444
|
-
404: {
|
|
445
|
-
headers: {
|
|
446
|
-
[name: string]: unknown;
|
|
447
|
-
};
|
|
448
|
-
content: {
|
|
449
|
-
"application/json": components["schemas"]["Error"];
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
/** @description Internal Server Error. */
|
|
453
|
-
500: {
|
|
454
|
-
headers: {
|
|
455
|
-
[name: string]: unknown;
|
|
456
|
-
};
|
|
457
|
-
content: {
|
|
458
|
-
"application/json": components["schemas"]["Error"];
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
put?: never;
|
|
464
|
-
post?: never;
|
|
465
|
-
delete?: never;
|
|
466
|
-
options?: never;
|
|
467
|
-
head?: never;
|
|
468
|
-
patch?: never;
|
|
469
|
-
trace?: never;
|
|
470
|
-
};
|
|
471
|
-
"/api/deployments/{deployment}/header": {
|
|
472
|
-
parameters: {
|
|
473
|
-
query?: never;
|
|
474
|
-
header?: never;
|
|
475
|
-
path?: never;
|
|
476
|
-
cookie?: never;
|
|
477
|
-
};
|
|
478
|
-
/** @description Get header for a specific deployment. */
|
|
479
|
-
get: {
|
|
480
|
-
parameters: {
|
|
481
|
-
query?: never;
|
|
482
|
-
header: {
|
|
483
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
484
|
-
"x-user-id"?: string;
|
|
485
|
-
/**
|
|
486
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
487
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
488
|
-
*/
|
|
489
|
-
authorization: string;
|
|
490
|
-
};
|
|
491
|
-
path: {
|
|
492
|
-
deployment: components["schemas"]["PublicKey"];
|
|
493
|
-
};
|
|
494
|
-
cookie?: never;
|
|
495
|
-
};
|
|
496
|
-
requestBody?: never;
|
|
497
|
-
responses: {
|
|
498
|
-
/** @description Returns authorization header to interact with the vaults jobs. */
|
|
499
|
-
200: {
|
|
500
|
-
headers: {
|
|
501
|
-
[name: string]: unknown;
|
|
502
|
-
};
|
|
503
|
-
content: {
|
|
504
|
-
"application/json": {
|
|
505
|
-
header: string;
|
|
506
|
-
};
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
510
|
-
401: {
|
|
511
|
-
headers: {
|
|
512
|
-
[name: string]: unknown;
|
|
513
|
-
};
|
|
514
|
-
content: {
|
|
515
|
-
"application/json": "Unauthorized";
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
/** @description Deployment not found. */
|
|
519
|
-
404: {
|
|
520
|
-
headers: {
|
|
521
|
-
[name: string]: unknown;
|
|
522
|
-
};
|
|
523
|
-
content: {
|
|
524
|
-
"application/json": components["schemas"]["Error"];
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
/** @description Internal Server Error. */
|
|
528
|
-
500: {
|
|
529
|
-
headers: {
|
|
530
|
-
[name: string]: unknown;
|
|
531
|
-
};
|
|
532
|
-
content: {
|
|
533
|
-
"application/json": components["schemas"]["Error"];
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
put?: never;
|
|
539
|
-
post?: never;
|
|
540
|
-
delete?: never;
|
|
541
|
-
options?: never;
|
|
542
|
-
head?: never;
|
|
543
|
-
patch?: never;
|
|
544
|
-
trace?: never;
|
|
545
|
-
};
|
|
546
|
-
"/api/deployments/{deployment}/jobs/{job}": {
|
|
547
|
-
parameters: {
|
|
548
|
-
query?: never;
|
|
549
|
-
header?: never;
|
|
550
|
-
path?: never;
|
|
551
|
-
cookie?: never;
|
|
552
|
-
};
|
|
553
|
-
/** @description Get a specific deployment job by ID. */
|
|
554
|
-
get: {
|
|
555
|
-
parameters: {
|
|
556
|
-
query?: never;
|
|
557
|
-
header: {
|
|
558
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
559
|
-
"x-user-id"?: string;
|
|
560
|
-
/**
|
|
561
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
562
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
563
|
-
*/
|
|
564
|
-
authorization: string;
|
|
565
|
-
};
|
|
566
|
-
path: {
|
|
567
|
-
deployment: components["schemas"]["PublicKey"];
|
|
568
|
-
job: components["schemas"]["PublicKey"];
|
|
569
|
-
};
|
|
570
|
-
cookie?: never;
|
|
571
|
-
};
|
|
572
|
-
requestBody?: never;
|
|
573
|
-
responses: {
|
|
574
|
-
/** @description Gets a deployment job by ID. */
|
|
575
|
-
200: {
|
|
576
|
-
headers: {
|
|
577
|
-
[name: string]: unknown;
|
|
578
|
-
};
|
|
579
|
-
content: {
|
|
580
|
-
"application/json": {
|
|
581
|
-
confidential: boolean;
|
|
582
|
-
revision: number;
|
|
583
|
-
market: string;
|
|
584
|
-
node: string;
|
|
585
|
-
state: string | number;
|
|
586
|
-
jobStatus: string | null;
|
|
587
|
-
jobDefinition: components["schemas"]["JobDefinition"];
|
|
588
|
-
jobResult: components["schemas"]["JobResults"] | null;
|
|
589
|
-
timeStart: number;
|
|
590
|
-
timeEnd: number;
|
|
591
|
-
listedAt: number;
|
|
592
|
-
};
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
596
|
-
401: {
|
|
597
|
-
headers: {
|
|
598
|
-
[name: string]: unknown;
|
|
599
|
-
};
|
|
600
|
-
content: {
|
|
601
|
-
"application/json": "Unauthorized";
|
|
602
|
-
};
|
|
603
|
-
};
|
|
604
|
-
/** @description Deployment not found. */
|
|
605
|
-
404: {
|
|
606
|
-
headers: {
|
|
607
|
-
[name: string]: unknown;
|
|
608
|
-
};
|
|
609
|
-
content: {
|
|
610
|
-
"application/json": components["schemas"]["Error"];
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
/** @description Internal Server Error. */
|
|
614
|
-
500: {
|
|
615
|
-
headers: {
|
|
616
|
-
[name: string]: unknown;
|
|
617
|
-
};
|
|
618
|
-
content: {
|
|
619
|
-
"application/json": components["schemas"]["Error"];
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
};
|
|
624
|
-
put?: never;
|
|
625
|
-
post?: never;
|
|
626
|
-
delete?: never;
|
|
627
|
-
options?: never;
|
|
628
|
-
head?: never;
|
|
629
|
-
patch?: never;
|
|
630
|
-
trace?: never;
|
|
631
|
-
};
|
|
632
|
-
"/api/deployments/{deployment}/jobs": {
|
|
633
|
-
parameters: {
|
|
634
|
-
query?: never;
|
|
635
|
-
header?: never;
|
|
636
|
-
path?: never;
|
|
637
|
-
cookie?: never;
|
|
638
|
-
};
|
|
639
|
-
/** @description Get jobs for a specific deployment. */
|
|
640
|
-
get: {
|
|
641
|
-
parameters: {
|
|
642
|
-
query?: {
|
|
643
|
-
/** @description Base64-encoded cursor for keyset pagination */
|
|
644
|
-
cursor?: string;
|
|
645
|
-
/** @description Number of items per page (10, 20, 50, or 100) */
|
|
646
|
-
limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
|
|
647
|
-
/** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
|
|
648
|
-
sort_order?: "asc" | "desc";
|
|
649
|
-
/** @description Filter by job state. Can be single value or comma-separated list (e.g., 'RUNNING,COMPLETED') */
|
|
650
|
-
state?: ("QUEUED" | "RUNNING" | "COMPLETED" | "STOPPED") | string;
|
|
651
|
-
/** @description Filter by exact job ID */
|
|
652
|
-
job?: string;
|
|
653
|
-
/** @description Filter by deployment revision number */
|
|
654
|
-
revision?: number;
|
|
655
|
-
/** @description Filter jobs created after this date (ISO 8601 format) */
|
|
656
|
-
created_after?: string;
|
|
657
|
-
/** @description Filter jobs created before this date (ISO 8601 format) */
|
|
658
|
-
created_before?: string;
|
|
659
|
-
};
|
|
660
|
-
header: {
|
|
661
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
662
|
-
"x-user-id"?: string;
|
|
663
|
-
/**
|
|
664
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
665
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
666
|
-
*/
|
|
667
|
-
authorization: string;
|
|
668
|
-
};
|
|
669
|
-
path: {
|
|
670
|
-
deployment: components["schemas"]["PublicKey"];
|
|
671
|
-
};
|
|
672
|
-
cookie?: never;
|
|
673
|
-
};
|
|
674
|
-
requestBody?: never;
|
|
675
|
-
responses: {
|
|
676
|
-
/** @description List of jobs for the deployment with pagination. */
|
|
677
|
-
200: {
|
|
678
|
-
headers: {
|
|
679
|
-
[name: string]: unknown;
|
|
680
|
-
};
|
|
681
|
-
content: {
|
|
682
|
-
"application/json": {
|
|
683
|
-
jobs: components["schemas"]["Job"][];
|
|
684
|
-
pagination: {
|
|
685
|
-
/** @description Cursor for next page, null if no more pages */
|
|
686
|
-
cursor_next: string | null;
|
|
687
|
-
/** @description Cursor for previous page, null if on first page */
|
|
688
|
-
cursor_prev: string | null;
|
|
689
|
-
/** @description Total number of items in collection */
|
|
690
|
-
total_items: number;
|
|
691
|
-
};
|
|
692
|
-
};
|
|
693
|
-
};
|
|
694
|
-
};
|
|
695
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
696
|
-
401: {
|
|
697
|
-
headers: {
|
|
698
|
-
[name: string]: unknown;
|
|
699
|
-
};
|
|
700
|
-
content: {
|
|
701
|
-
"application/json": "Unauthorized";
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
/** @description Deployment not found. */
|
|
705
|
-
404: {
|
|
706
|
-
headers: {
|
|
707
|
-
[name: string]: unknown;
|
|
708
|
-
};
|
|
709
|
-
content: {
|
|
710
|
-
"application/json": components["schemas"]["Error"];
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
/** @description Internal Server Error. */
|
|
714
|
-
500: {
|
|
715
|
-
headers: {
|
|
716
|
-
[name: string]: unknown;
|
|
717
|
-
};
|
|
718
|
-
content: {
|
|
719
|
-
"application/json": components["schemas"]["Error"];
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
put?: never;
|
|
725
|
-
post?: never;
|
|
726
|
-
delete?: never;
|
|
727
|
-
options?: never;
|
|
728
|
-
head?: never;
|
|
729
|
-
patch?: never;
|
|
730
|
-
trace?: never;
|
|
731
|
-
};
|
|
732
|
-
"/api/deployments/{deployment}/revisions": {
|
|
733
|
-
parameters: {
|
|
734
|
-
query?: never;
|
|
735
|
-
header?: never;
|
|
736
|
-
path?: never;
|
|
737
|
-
cookie?: never;
|
|
738
|
-
};
|
|
739
|
-
/** @description Get revisions for a specific deployment. */
|
|
740
|
-
get: {
|
|
741
|
-
parameters: {
|
|
742
|
-
query?: {
|
|
743
|
-
/** @description Base64-encoded cursor for keyset pagination */
|
|
744
|
-
cursor?: string;
|
|
745
|
-
/** @description Number of items per page (10, 20, 50, or 100) */
|
|
746
|
-
limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
|
|
747
|
-
/** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
|
|
748
|
-
sort_order?: "asc" | "desc";
|
|
749
|
-
/** @description Filter by exact revision number */
|
|
750
|
-
revision?: number;
|
|
751
|
-
/** @description Filter revisions created after this date (ISO 8601 format) */
|
|
752
|
-
created_after?: string;
|
|
753
|
-
/** @description Filter revisions created before this date (ISO 8601 format) */
|
|
754
|
-
created_before?: string;
|
|
755
|
-
};
|
|
756
|
-
header: {
|
|
757
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
758
|
-
"x-user-id"?: string;
|
|
759
|
-
/**
|
|
760
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
761
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
762
|
-
*/
|
|
763
|
-
authorization: string;
|
|
764
|
-
};
|
|
765
|
-
path: {
|
|
766
|
-
deployment: components["schemas"]["PublicKey"];
|
|
767
|
-
};
|
|
768
|
-
cookie?: never;
|
|
769
|
-
};
|
|
770
|
-
requestBody?: never;
|
|
771
|
-
responses: {
|
|
772
|
-
/** @description List of revisions for the deployment with pagination. */
|
|
773
|
-
200: {
|
|
774
|
-
headers: {
|
|
775
|
-
[name: string]: unknown;
|
|
776
|
-
};
|
|
777
|
-
content: {
|
|
778
|
-
"application/json": {
|
|
779
|
-
revisions: components["schemas"]["Revision"][];
|
|
780
|
-
pagination: {
|
|
781
|
-
/** @description Cursor for next page, null if no more pages */
|
|
782
|
-
cursor_next: string | null;
|
|
783
|
-
/** @description Cursor for previous page, null if on first page */
|
|
784
|
-
cursor_prev: string | null;
|
|
785
|
-
/** @description Total number of items in collection */
|
|
786
|
-
total_items: number;
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
792
|
-
401: {
|
|
793
|
-
headers: {
|
|
794
|
-
[name: string]: unknown;
|
|
795
|
-
};
|
|
796
|
-
content: {
|
|
797
|
-
"application/json": "Unauthorized";
|
|
798
|
-
};
|
|
799
|
-
};
|
|
800
|
-
/** @description Deployment not found. */
|
|
801
|
-
404: {
|
|
802
|
-
headers: {
|
|
803
|
-
[name: string]: unknown;
|
|
804
|
-
};
|
|
805
|
-
content: {
|
|
806
|
-
"application/json": components["schemas"]["Error"];
|
|
807
|
-
};
|
|
808
|
-
};
|
|
809
|
-
/** @description Internal Server Error. */
|
|
810
|
-
500: {
|
|
811
|
-
headers: {
|
|
812
|
-
[name: string]: unknown;
|
|
813
|
-
};
|
|
814
|
-
content: {
|
|
815
|
-
"application/json": components["schemas"]["Error"];
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
put?: never;
|
|
821
|
-
post?: never;
|
|
822
|
-
delete?: never;
|
|
823
|
-
options?: never;
|
|
824
|
-
head?: never;
|
|
825
|
-
patch?: never;
|
|
826
|
-
trace?: never;
|
|
827
|
-
};
|
|
828
|
-
"/api/deployments/{deployment}/events": {
|
|
829
|
-
parameters: {
|
|
830
|
-
query?: never;
|
|
831
|
-
header?: never;
|
|
832
|
-
path?: never;
|
|
833
|
-
cookie?: never;
|
|
834
|
-
};
|
|
835
|
-
/** @description Get events for a specific deployment. */
|
|
836
|
-
get: {
|
|
837
|
-
parameters: {
|
|
838
|
-
query?: {
|
|
839
|
-
/** @description Base64-encoded cursor for keyset pagination */
|
|
840
|
-
cursor?: string;
|
|
841
|
-
/** @description Number of items per page (10, 20, 50, or 100) */
|
|
842
|
-
limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
|
|
843
|
-
/** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
|
|
844
|
-
sort_order?: "asc" | "desc";
|
|
845
|
-
/** @description Filter by event category: 'Deployment' or 'Event'. Can be comma-separated list */
|
|
846
|
-
category?: ("Deployment" | "Event") | string;
|
|
847
|
-
/** @description Filter by event type. Can be single value or comma-separated list */
|
|
848
|
-
type?: string;
|
|
849
|
-
/** @description Filter events created after this date (ISO 8601 format) */
|
|
850
|
-
created_after?: string;
|
|
851
|
-
/** @description Filter events created before this date (ISO 8601 format) */
|
|
852
|
-
created_before?: string;
|
|
853
|
-
};
|
|
854
|
-
header: {
|
|
855
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
856
|
-
"x-user-id"?: string;
|
|
857
|
-
/**
|
|
858
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
859
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
860
|
-
*/
|
|
861
|
-
authorization: string;
|
|
862
|
-
};
|
|
863
|
-
path: {
|
|
864
|
-
deployment: components["schemas"]["PublicKey"];
|
|
865
|
-
};
|
|
866
|
-
cookie?: never;
|
|
867
|
-
};
|
|
868
|
-
requestBody?: never;
|
|
869
|
-
responses: {
|
|
870
|
-
/** @description List of events for the deployment with pagination. */
|
|
871
|
-
200: {
|
|
872
|
-
headers: {
|
|
873
|
-
[name: string]: unknown;
|
|
874
|
-
};
|
|
875
|
-
content: {
|
|
876
|
-
"application/json": {
|
|
877
|
-
events: components["schemas"]["Event"][];
|
|
878
|
-
pagination: {
|
|
879
|
-
/** @description Cursor for next page, null if no more pages */
|
|
880
|
-
cursor_next: string | null;
|
|
881
|
-
/** @description Cursor for previous page, null if on first page */
|
|
882
|
-
cursor_prev: string | null;
|
|
883
|
-
/** @description Total number of items in collection */
|
|
884
|
-
total_items: number;
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
890
|
-
401: {
|
|
891
|
-
headers: {
|
|
892
|
-
[name: string]: unknown;
|
|
893
|
-
};
|
|
894
|
-
content: {
|
|
895
|
-
"application/json": "Unauthorized";
|
|
896
|
-
};
|
|
897
|
-
};
|
|
898
|
-
/** @description Deployment not found. */
|
|
899
|
-
404: {
|
|
900
|
-
headers: {
|
|
901
|
-
[name: string]: unknown;
|
|
902
|
-
};
|
|
903
|
-
content: {
|
|
904
|
-
"application/json": components["schemas"]["Error"];
|
|
905
|
-
};
|
|
906
|
-
};
|
|
907
|
-
/** @description Internal Server Error. */
|
|
908
|
-
500: {
|
|
909
|
-
headers: {
|
|
910
|
-
[name: string]: unknown;
|
|
911
|
-
};
|
|
912
|
-
content: {
|
|
913
|
-
"application/json": components["schemas"]["Error"];
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
put?: never;
|
|
919
|
-
post?: never;
|
|
920
|
-
delete?: never;
|
|
921
|
-
options?: never;
|
|
922
|
-
head?: never;
|
|
923
|
-
patch?: never;
|
|
924
|
-
trace?: never;
|
|
925
|
-
};
|
|
926
|
-
"/api/deployments/create": {
|
|
927
|
-
parameters: {
|
|
928
|
-
query?: never;
|
|
929
|
-
header?: never;
|
|
930
|
-
path?: never;
|
|
931
|
-
cookie?: never;
|
|
932
|
-
};
|
|
933
|
-
get?: never;
|
|
934
|
-
put?: never;
|
|
935
|
-
/** @description Create a new deployment. */
|
|
936
|
-
post: {
|
|
937
|
-
parameters: {
|
|
938
|
-
query?: never;
|
|
939
|
-
header: {
|
|
940
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
941
|
-
"x-user-id"?: string;
|
|
942
|
-
/**
|
|
943
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
944
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
945
|
-
*/
|
|
946
|
-
authorization: string;
|
|
947
|
-
};
|
|
948
|
-
path?: never;
|
|
949
|
-
cookie?: never;
|
|
950
|
-
};
|
|
951
|
-
requestBody?: {
|
|
952
|
-
content: {
|
|
953
|
-
"application/json": components["schemas"]["DeploymentCreateBody"];
|
|
954
|
-
};
|
|
955
|
-
};
|
|
956
|
-
responses: {
|
|
957
|
-
/** @description Deployment created successfully. */
|
|
958
|
-
200: {
|
|
959
|
-
headers: {
|
|
960
|
-
[name: string]: unknown;
|
|
961
|
-
};
|
|
962
|
-
content: {
|
|
963
|
-
"application/json": components["schemas"]["Deployment"];
|
|
964
|
-
};
|
|
965
|
-
};
|
|
966
|
-
/** @description Invalid request body. */
|
|
967
|
-
400: {
|
|
968
|
-
headers: {
|
|
969
|
-
[name: string]: unknown;
|
|
970
|
-
};
|
|
971
|
-
content: {
|
|
972
|
-
"application/json": components["schemas"]["Error"];
|
|
973
|
-
};
|
|
974
|
-
};
|
|
975
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
976
|
-
401: {
|
|
977
|
-
headers: {
|
|
978
|
-
[name: string]: unknown;
|
|
979
|
-
};
|
|
980
|
-
content: {
|
|
981
|
-
"application/json": "Unauthorized";
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
|
-
/** @description Internal Server Error. */
|
|
985
|
-
500: {
|
|
986
|
-
headers: {
|
|
987
|
-
[name: string]: unknown;
|
|
988
|
-
};
|
|
989
|
-
content: {
|
|
990
|
-
"application/json": components["schemas"]["Error"];
|
|
991
|
-
};
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
};
|
|
995
|
-
delete?: never;
|
|
996
|
-
options?: never;
|
|
997
|
-
head?: never;
|
|
998
|
-
patch?: never;
|
|
999
|
-
trace?: never;
|
|
1000
|
-
};
|
|
1001
|
-
"/api/deployments/{deployment}/create-revision": {
|
|
1002
|
-
parameters: {
|
|
1003
|
-
query?: never;
|
|
1004
|
-
header?: never;
|
|
1005
|
-
path?: never;
|
|
1006
|
-
cookie?: never;
|
|
1007
|
-
};
|
|
1008
|
-
get?: never;
|
|
1009
|
-
put?: never;
|
|
1010
|
-
/** @description Create a new deployment revision. */
|
|
1011
|
-
post: {
|
|
1012
|
-
parameters: {
|
|
1013
|
-
query?: never;
|
|
1014
|
-
header: {
|
|
1015
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1016
|
-
"x-user-id"?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1019
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1020
|
-
*/
|
|
1021
|
-
authorization: string;
|
|
1022
|
-
};
|
|
1023
|
-
path: {
|
|
1024
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1025
|
-
};
|
|
1026
|
-
cookie?: never;
|
|
1027
|
-
};
|
|
1028
|
-
requestBody?: {
|
|
1029
|
-
content: {
|
|
1030
|
-
"application/json": components["schemas"]["JobDefinition"];
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
|
-
responses: {
|
|
1034
|
-
/** @description Deployment CreateRevisioned successfully. */
|
|
1035
|
-
200: {
|
|
1036
|
-
headers: {
|
|
1037
|
-
[name: string]: unknown;
|
|
1038
|
-
};
|
|
1039
|
-
content: {
|
|
1040
|
-
"application/json": {
|
|
1041
|
-
active_revision: number;
|
|
1042
|
-
endpoints: {
|
|
1043
|
-
opId: string;
|
|
1044
|
-
port: number | string;
|
|
1045
|
-
url: string;
|
|
1046
|
-
}[];
|
|
1047
|
-
revisions: {
|
|
1048
|
-
revision: number;
|
|
1049
|
-
deployment: string;
|
|
1050
|
-
ipfs_definition_hash: string;
|
|
1051
|
-
job_definition: components["schemas"]["JobDefinition"];
|
|
1052
|
-
/** Format: date-time */
|
|
1053
|
-
created_at: string;
|
|
1054
|
-
}[];
|
|
1055
|
-
/** Format: date-time */
|
|
1056
|
-
updated_at: string;
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1061
|
-
401: {
|
|
1062
|
-
headers: {
|
|
1063
|
-
[name: string]: unknown;
|
|
1064
|
-
};
|
|
1065
|
-
content: {
|
|
1066
|
-
"application/json": "Unauthorized";
|
|
1067
|
-
};
|
|
1068
|
-
};
|
|
1069
|
-
/** @description Deployment not found. */
|
|
1070
|
-
404: {
|
|
1071
|
-
headers: {
|
|
1072
|
-
[name: string]: unknown;
|
|
1073
|
-
};
|
|
1074
|
-
content: {
|
|
1075
|
-
"application/json": components["schemas"]["Error"];
|
|
1076
|
-
};
|
|
1077
|
-
};
|
|
1078
|
-
/** @description Internal Server Error. */
|
|
1079
|
-
500: {
|
|
1080
|
-
headers: {
|
|
1081
|
-
[name: string]: unknown;
|
|
1082
|
-
};
|
|
1083
|
-
content: {
|
|
1084
|
-
"application/json": components["schemas"]["Error"];
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
};
|
|
1089
|
-
delete?: never;
|
|
1090
|
-
options?: never;
|
|
1091
|
-
head?: never;
|
|
1092
|
-
patch?: never;
|
|
1093
|
-
trace?: never;
|
|
1094
|
-
};
|
|
1095
|
-
"/api/deployments/{deployment}/start": {
|
|
1096
|
-
parameters: {
|
|
1097
|
-
query?: never;
|
|
1098
|
-
header?: never;
|
|
1099
|
-
path?: never;
|
|
1100
|
-
cookie?: never;
|
|
1101
|
-
};
|
|
1102
|
-
get?: never;
|
|
1103
|
-
put?: never;
|
|
1104
|
-
/** @description Start an existing deployment. */
|
|
1105
|
-
post: {
|
|
1106
|
-
parameters: {
|
|
1107
|
-
query?: never;
|
|
1108
|
-
header: {
|
|
1109
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1110
|
-
"x-user-id"?: string;
|
|
1111
|
-
/**
|
|
1112
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1113
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1114
|
-
*/
|
|
1115
|
-
authorization: string;
|
|
1116
|
-
};
|
|
1117
|
-
path: {
|
|
1118
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1119
|
-
};
|
|
1120
|
-
cookie?: never;
|
|
1121
|
-
};
|
|
1122
|
-
requestBody?: never;
|
|
1123
|
-
responses: {
|
|
1124
|
-
/** @description Deployment started successfully. */
|
|
1125
|
-
200: {
|
|
1126
|
-
headers: {
|
|
1127
|
-
[name: string]: unknown;
|
|
1128
|
-
};
|
|
1129
|
-
content: {
|
|
1130
|
-
"application/json": {
|
|
1131
|
-
/** @enum {string} */
|
|
1132
|
-
status: "STARTING";
|
|
1133
|
-
/** Format: date-time */
|
|
1134
|
-
updated_at: string;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
};
|
|
1138
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1139
|
-
401: {
|
|
1140
|
-
headers: {
|
|
1141
|
-
[name: string]: unknown;
|
|
1142
|
-
};
|
|
1143
|
-
content: {
|
|
1144
|
-
"application/json": "Unauthorized";
|
|
1145
|
-
};
|
|
1146
|
-
};
|
|
1147
|
-
/** @description Deployment not found. */
|
|
1148
|
-
404: {
|
|
1149
|
-
headers: {
|
|
1150
|
-
[name: string]: unknown;
|
|
1151
|
-
};
|
|
1152
|
-
content: {
|
|
1153
|
-
"application/json": components["schemas"]["Error"];
|
|
1154
|
-
};
|
|
1155
|
-
};
|
|
1156
|
-
/** @description Internal Server Error. */
|
|
1157
|
-
500: {
|
|
1158
|
-
headers: {
|
|
1159
|
-
[name: string]: unknown;
|
|
1160
|
-
};
|
|
1161
|
-
content: {
|
|
1162
|
-
"application/json": components["schemas"]["Error"];
|
|
1163
|
-
};
|
|
1164
|
-
};
|
|
1165
|
-
};
|
|
1166
|
-
};
|
|
1167
|
-
delete?: never;
|
|
1168
|
-
options?: never;
|
|
1169
|
-
head?: never;
|
|
1170
|
-
patch?: never;
|
|
1171
|
-
trace?: never;
|
|
1172
|
-
};
|
|
1173
|
-
"/api/deployments/{deployment}/stop": {
|
|
1174
|
-
parameters: {
|
|
1175
|
-
query?: never;
|
|
1176
|
-
header?: never;
|
|
1177
|
-
path?: never;
|
|
1178
|
-
cookie?: never;
|
|
1179
|
-
};
|
|
1180
|
-
get?: never;
|
|
1181
|
-
put?: never;
|
|
1182
|
-
/** @description Stop a deployment */
|
|
1183
|
-
post: {
|
|
1184
|
-
parameters: {
|
|
1185
|
-
query?: never;
|
|
1186
|
-
header: {
|
|
1187
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1188
|
-
"x-user-id"?: string;
|
|
1189
|
-
/**
|
|
1190
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1191
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1192
|
-
*/
|
|
1193
|
-
authorization: string;
|
|
1194
|
-
};
|
|
1195
|
-
path: {
|
|
1196
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1197
|
-
};
|
|
1198
|
-
cookie?: never;
|
|
1199
|
-
};
|
|
1200
|
-
requestBody?: never;
|
|
1201
|
-
responses: {
|
|
1202
|
-
/** @description Deployment stopped successfully. */
|
|
1203
|
-
200: {
|
|
1204
|
-
headers: {
|
|
1205
|
-
[name: string]: unknown;
|
|
1206
|
-
};
|
|
1207
|
-
content: {
|
|
1208
|
-
"application/json": {
|
|
1209
|
-
/** @enum {string} */
|
|
1210
|
-
status: "STOPPING";
|
|
1211
|
-
/** Format: date-time */
|
|
1212
|
-
updated_at: string;
|
|
1213
|
-
};
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1217
|
-
401: {
|
|
1218
|
-
headers: {
|
|
1219
|
-
[name: string]: unknown;
|
|
1220
|
-
};
|
|
1221
|
-
content: {
|
|
1222
|
-
"application/json": "Unauthorized";
|
|
1223
|
-
};
|
|
1224
|
-
};
|
|
1225
|
-
/** @description Deployment not found. */
|
|
1226
|
-
404: {
|
|
1227
|
-
headers: {
|
|
1228
|
-
[name: string]: unknown;
|
|
1229
|
-
};
|
|
1230
|
-
content: {
|
|
1231
|
-
"application/json": components["schemas"]["Error"];
|
|
1232
|
-
};
|
|
1233
|
-
};
|
|
1234
|
-
/** @description Internal Server Error. */
|
|
1235
|
-
500: {
|
|
1236
|
-
headers: {
|
|
1237
|
-
[name: string]: unknown;
|
|
1238
|
-
};
|
|
1239
|
-
content: {
|
|
1240
|
-
"application/json": components["schemas"]["Error"];
|
|
1241
|
-
};
|
|
1242
|
-
};
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
|
-
delete?: never;
|
|
1246
|
-
options?: never;
|
|
1247
|
-
head?: never;
|
|
1248
|
-
patch?: never;
|
|
1249
|
-
trace?: never;
|
|
1250
|
-
};
|
|
1251
|
-
"/api/deployments/{deployment}/archive": {
|
|
1252
|
-
parameters: {
|
|
1253
|
-
query?: never;
|
|
1254
|
-
header?: never;
|
|
1255
|
-
path?: never;
|
|
1256
|
-
cookie?: never;
|
|
1257
|
-
};
|
|
1258
|
-
get?: never;
|
|
1259
|
-
put?: never;
|
|
1260
|
-
/** @description Archive a deployment */
|
|
1261
|
-
post: {
|
|
1262
|
-
parameters: {
|
|
1263
|
-
query?: never;
|
|
1264
|
-
header: {
|
|
1265
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1266
|
-
"x-user-id"?: string;
|
|
1267
|
-
/**
|
|
1268
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1269
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1270
|
-
*/
|
|
1271
|
-
authorization: string;
|
|
1272
|
-
};
|
|
1273
|
-
path: {
|
|
1274
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1275
|
-
};
|
|
1276
|
-
cookie?: never;
|
|
1277
|
-
};
|
|
1278
|
-
requestBody?: never;
|
|
1279
|
-
responses: {
|
|
1280
|
-
/** @description Deployment archived successfully. */
|
|
1281
|
-
200: {
|
|
1282
|
-
headers: {
|
|
1283
|
-
[name: string]: unknown;
|
|
1284
|
-
};
|
|
1285
|
-
content: {
|
|
1286
|
-
"application/json": {
|
|
1287
|
-
/** @enum {string} */
|
|
1288
|
-
status: "ARCHIVED";
|
|
1289
|
-
/** Format: date-time */
|
|
1290
|
-
updated_at: string;
|
|
1291
|
-
};
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1294
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1295
|
-
401: {
|
|
1296
|
-
headers: {
|
|
1297
|
-
[name: string]: unknown;
|
|
1298
|
-
};
|
|
1299
|
-
content: {
|
|
1300
|
-
"application/json": "Unauthorized";
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
1303
|
-
/** @description Deployment not found. */
|
|
1304
|
-
404: {
|
|
1305
|
-
headers: {
|
|
1306
|
-
[name: string]: unknown;
|
|
1307
|
-
};
|
|
1308
|
-
content: {
|
|
1309
|
-
"application/json": components["schemas"]["Error"];
|
|
1310
|
-
};
|
|
1311
|
-
};
|
|
1312
|
-
/** @description Internal Server Error. */
|
|
1313
|
-
500: {
|
|
1314
|
-
headers: {
|
|
1315
|
-
[name: string]: unknown;
|
|
1316
|
-
};
|
|
1317
|
-
content: {
|
|
1318
|
-
"application/json": components["schemas"]["Error"];
|
|
1319
|
-
};
|
|
1320
|
-
};
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
1323
|
-
delete?: never;
|
|
1324
|
-
options?: never;
|
|
1325
|
-
head?: never;
|
|
1326
|
-
patch?: never;
|
|
1327
|
-
trace?: never;
|
|
1328
|
-
};
|
|
1329
|
-
"/api/deployments/{deployment}/update-active-revision": {
|
|
1330
|
-
parameters: {
|
|
1331
|
-
query?: never;
|
|
1332
|
-
header?: never;
|
|
1333
|
-
path?: never;
|
|
1334
|
-
cookie?: never;
|
|
1335
|
-
};
|
|
1336
|
-
get?: never;
|
|
1337
|
-
put?: never;
|
|
1338
|
-
post?: never;
|
|
1339
|
-
delete?: never;
|
|
1340
|
-
options?: never;
|
|
1341
|
-
head?: never;
|
|
1342
|
-
/** @description Update deployment active revision. */
|
|
1343
|
-
patch: {
|
|
1344
|
-
parameters: {
|
|
1345
|
-
query?: never;
|
|
1346
|
-
header: {
|
|
1347
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1348
|
-
"x-user-id"?: string;
|
|
1349
|
-
/**
|
|
1350
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1351
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1352
|
-
*/
|
|
1353
|
-
authorization: string;
|
|
1354
|
-
};
|
|
1355
|
-
path: {
|
|
1356
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1357
|
-
};
|
|
1358
|
-
cookie?: never;
|
|
1359
|
-
};
|
|
1360
|
-
requestBody: {
|
|
1361
|
-
content: {
|
|
1362
|
-
"application/json": {
|
|
1363
|
-
active_revision: number;
|
|
1364
|
-
};
|
|
1365
|
-
};
|
|
1366
|
-
};
|
|
1367
|
-
responses: {
|
|
1368
|
-
/** @description Deployment active revision updated successfully. */
|
|
1369
|
-
200: {
|
|
1370
|
-
headers: {
|
|
1371
|
-
[name: string]: unknown;
|
|
1372
|
-
};
|
|
1373
|
-
content: {
|
|
1374
|
-
"application/json": {
|
|
1375
|
-
active_revision: number;
|
|
1376
|
-
endpoints: components["schemas"]["Endpoint"][];
|
|
1377
|
-
updated_at: string;
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
};
|
|
1381
|
-
/** @description Bad Request. Invalid input data. */
|
|
1382
|
-
400: {
|
|
1383
|
-
headers: {
|
|
1384
|
-
[name: string]: unknown;
|
|
1385
|
-
};
|
|
1386
|
-
content: {
|
|
1387
|
-
"application/json": components["schemas"]["Error"];
|
|
1388
|
-
};
|
|
1389
|
-
};
|
|
1390
|
-
/** @description Deployment not found. */
|
|
1391
|
-
404: {
|
|
1392
|
-
headers: {
|
|
1393
|
-
[name: string]: unknown;
|
|
1394
|
-
};
|
|
1395
|
-
content: {
|
|
1396
|
-
"application/json": components["schemas"]["Error"];
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
/** @description Internal Server Error. */
|
|
1400
|
-
500: {
|
|
1401
|
-
headers: {
|
|
1402
|
-
[name: string]: unknown;
|
|
1403
|
-
};
|
|
1404
|
-
content: {
|
|
1405
|
-
"application/json": components["schemas"]["Error"];
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
|
-
};
|
|
1409
|
-
};
|
|
1410
|
-
trace?: never;
|
|
1411
|
-
};
|
|
1412
|
-
"/api/deployments/{deployment}/update-replica-count": {
|
|
1413
|
-
parameters: {
|
|
1414
|
-
query?: never;
|
|
1415
|
-
header?: never;
|
|
1416
|
-
path?: never;
|
|
1417
|
-
cookie?: never;
|
|
1418
|
-
};
|
|
1419
|
-
get?: never;
|
|
1420
|
-
put?: never;
|
|
1421
|
-
post?: never;
|
|
1422
|
-
delete?: never;
|
|
1423
|
-
options?: never;
|
|
1424
|
-
head?: never;
|
|
1425
|
-
/** @description Update the replica count of a deployment */
|
|
1426
|
-
patch: {
|
|
1427
|
-
parameters: {
|
|
1428
|
-
query?: never;
|
|
1429
|
-
header: {
|
|
1430
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1431
|
-
"x-user-id"?: string;
|
|
1432
|
-
/**
|
|
1433
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1434
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1435
|
-
*/
|
|
1436
|
-
authorization: string;
|
|
1437
|
-
};
|
|
1438
|
-
path: {
|
|
1439
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1440
|
-
};
|
|
1441
|
-
cookie?: never;
|
|
1442
|
-
};
|
|
1443
|
-
requestBody: {
|
|
1444
|
-
content: {
|
|
1445
|
-
"application/json": {
|
|
1446
|
-
replicas: number;
|
|
1447
|
-
};
|
|
1448
|
-
};
|
|
1449
|
-
};
|
|
1450
|
-
responses: {
|
|
1451
|
-
/** @description Deployment replica count updated successfully. */
|
|
1452
|
-
200: {
|
|
1453
|
-
headers: {
|
|
1454
|
-
[name: string]: unknown;
|
|
1455
|
-
};
|
|
1456
|
-
content: {
|
|
1457
|
-
"application/json": {
|
|
1458
|
-
replicas: number;
|
|
1459
|
-
/** Format: date-time */
|
|
1460
|
-
updated_at: string;
|
|
1461
|
-
};
|
|
1462
|
-
};
|
|
1463
|
-
};
|
|
1464
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1465
|
-
401: {
|
|
1466
|
-
headers: {
|
|
1467
|
-
[name: string]: unknown;
|
|
1468
|
-
};
|
|
1469
|
-
content: {
|
|
1470
|
-
"application/json": "Unauthorized";
|
|
1471
|
-
};
|
|
1472
|
-
};
|
|
1473
|
-
/** @description Deployment not found. */
|
|
1474
|
-
404: {
|
|
1475
|
-
headers: {
|
|
1476
|
-
[name: string]: unknown;
|
|
1477
|
-
};
|
|
1478
|
-
content: {
|
|
1479
|
-
"application/json": components["schemas"]["Error"];
|
|
1480
|
-
};
|
|
1481
|
-
};
|
|
1482
|
-
/** @description Internal Server Error. */
|
|
1483
|
-
500: {
|
|
1484
|
-
headers: {
|
|
1485
|
-
[name: string]: unknown;
|
|
1486
|
-
};
|
|
1487
|
-
content: {
|
|
1488
|
-
"application/json": components["schemas"]["Error"];
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
trace?: never;
|
|
1494
|
-
};
|
|
1495
|
-
"/api/deployments/{deployment}/update-schedule": {
|
|
1496
|
-
parameters: {
|
|
1497
|
-
query?: never;
|
|
1498
|
-
header?: never;
|
|
1499
|
-
path?: never;
|
|
1500
|
-
cookie?: never;
|
|
1501
|
-
};
|
|
1502
|
-
get?: never;
|
|
1503
|
-
put?: never;
|
|
1504
|
-
post?: never;
|
|
1505
|
-
delete?: never;
|
|
1506
|
-
options?: never;
|
|
1507
|
-
head?: never;
|
|
1508
|
-
/** @description Update deployment schedule. */
|
|
1509
|
-
patch: {
|
|
1510
|
-
parameters: {
|
|
1511
|
-
query?: never;
|
|
1512
|
-
header: {
|
|
1513
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1514
|
-
"x-user-id"?: string;
|
|
1515
|
-
/**
|
|
1516
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1517
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1518
|
-
*/
|
|
1519
|
-
authorization: string;
|
|
1520
|
-
};
|
|
1521
|
-
path: {
|
|
1522
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1523
|
-
};
|
|
1524
|
-
cookie?: never;
|
|
1525
|
-
};
|
|
1526
|
-
requestBody: {
|
|
1527
|
-
content: {
|
|
1528
|
-
"application/json": {
|
|
1529
|
-
/** @description Cron expression for scheduled deployments */
|
|
1530
|
-
schedule: string;
|
|
1531
|
-
};
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
responses: {
|
|
1535
|
-
/** @description Deployment schedule updated successfully. */
|
|
1536
|
-
200: {
|
|
1537
|
-
headers: {
|
|
1538
|
-
[name: string]: unknown;
|
|
1539
|
-
};
|
|
1540
|
-
content: {
|
|
1541
|
-
"application/json": {
|
|
1542
|
-
/** @description Cron expression for scheduled deployments */
|
|
1543
|
-
schedule: string;
|
|
1544
|
-
updated_at: string;
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
};
|
|
1548
|
-
/** @description Bad Request. Invalid input data. */
|
|
1549
|
-
400: {
|
|
1550
|
-
headers: {
|
|
1551
|
-
[name: string]: unknown;
|
|
1552
|
-
};
|
|
1553
|
-
content: {
|
|
1554
|
-
"application/json": components["schemas"]["Error"];
|
|
1555
|
-
};
|
|
1556
|
-
};
|
|
1557
|
-
/** @description Deployment not found. */
|
|
1558
|
-
404: {
|
|
1559
|
-
headers: {
|
|
1560
|
-
[name: string]: unknown;
|
|
1561
|
-
};
|
|
1562
|
-
content: {
|
|
1563
|
-
"application/json": components["schemas"]["Error"];
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
|
-
/** @description Internal Server Error. */
|
|
1567
|
-
500: {
|
|
1568
|
-
headers: {
|
|
1569
|
-
[name: string]: unknown;
|
|
1570
|
-
};
|
|
1571
|
-
content: {
|
|
1572
|
-
"application/json": components["schemas"]["Error"];
|
|
1573
|
-
};
|
|
1574
|
-
};
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
trace?: never;
|
|
1578
|
-
};
|
|
1579
|
-
"/api/deployments/{deployment}/update-timeout": {
|
|
1580
|
-
parameters: {
|
|
1581
|
-
query?: never;
|
|
1582
|
-
header?: never;
|
|
1583
|
-
path?: never;
|
|
1584
|
-
cookie?: never;
|
|
1585
|
-
};
|
|
1586
|
-
get?: never;
|
|
1587
|
-
put?: never;
|
|
1588
|
-
post?: never;
|
|
1589
|
-
delete?: never;
|
|
1590
|
-
options?: never;
|
|
1591
|
-
head?: never;
|
|
1592
|
-
/** @description Update deployment timeout */
|
|
1593
|
-
patch: {
|
|
1594
|
-
parameters: {
|
|
1595
|
-
query?: never;
|
|
1596
|
-
header: {
|
|
1597
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1598
|
-
"x-user-id"?: string;
|
|
1599
|
-
/**
|
|
1600
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1601
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1602
|
-
*/
|
|
1603
|
-
authorization: string;
|
|
1604
|
-
};
|
|
1605
|
-
path: {
|
|
1606
|
-
deployment: components["schemas"]["PublicKey"];
|
|
1607
|
-
};
|
|
1608
|
-
cookie?: never;
|
|
1609
|
-
};
|
|
1610
|
-
requestBody: {
|
|
1611
|
-
content: {
|
|
1612
|
-
"application/json": {
|
|
1613
|
-
timeout: number;
|
|
1614
|
-
};
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
responses: {
|
|
1618
|
-
/** @description Deployment timeout updated successfully. */
|
|
1619
|
-
200: {
|
|
1620
|
-
headers: {
|
|
1621
|
-
[name: string]: unknown;
|
|
1622
|
-
};
|
|
1623
|
-
content: {
|
|
1624
|
-
"application/json": {
|
|
1625
|
-
timeout: number;
|
|
1626
|
-
updated_at: string;
|
|
1627
|
-
};
|
|
1628
|
-
};
|
|
1629
|
-
};
|
|
1630
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1631
|
-
401: {
|
|
1632
|
-
headers: {
|
|
1633
|
-
[name: string]: unknown;
|
|
1634
|
-
};
|
|
1635
|
-
content: {
|
|
1636
|
-
"application/json": "Unauthorized";
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
|
-
/** @description Deployment not found. */
|
|
1640
|
-
404: {
|
|
1641
|
-
headers: {
|
|
1642
|
-
[name: string]: unknown;
|
|
1643
|
-
};
|
|
1644
|
-
content: {
|
|
1645
|
-
"application/json": components["schemas"]["Error"];
|
|
1646
|
-
};
|
|
1647
|
-
};
|
|
1648
|
-
/** @description Internal Server Error. */
|
|
1649
|
-
500: {
|
|
1650
|
-
headers: {
|
|
1651
|
-
[name: string]: unknown;
|
|
1652
|
-
};
|
|
1653
|
-
content: {
|
|
1654
|
-
"application/json": components["schemas"]["Error"];
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
};
|
|
1659
|
-
trace?: never;
|
|
1660
|
-
};
|
|
1661
|
-
"/api/deployments/jobs/{job}/job-definition": {
|
|
1662
|
-
parameters: {
|
|
1663
|
-
query?: never;
|
|
1664
|
-
header?: never;
|
|
1665
|
-
path?: never;
|
|
1666
|
-
cookie?: never;
|
|
1667
|
-
};
|
|
1668
|
-
/** @description Returns the job definition for a job. */
|
|
1669
|
-
get: {
|
|
1670
|
-
parameters: {
|
|
1671
|
-
query?: never;
|
|
1672
|
-
header: {
|
|
1673
|
-
/** @description Signed authentication message, */
|
|
1674
|
-
authorization: string;
|
|
1675
|
-
};
|
|
1676
|
-
path: {
|
|
1677
|
-
job: string;
|
|
1678
|
-
};
|
|
1679
|
-
cookie?: never;
|
|
1680
|
-
};
|
|
1681
|
-
requestBody?: never;
|
|
1682
|
-
responses: {
|
|
1683
|
-
/** @description Job definition details. */
|
|
1684
|
-
200: {
|
|
1685
|
-
headers: {
|
|
1686
|
-
[name: string]: unknown;
|
|
1687
|
-
};
|
|
1688
|
-
content: {
|
|
1689
|
-
"application/json": components["schemas"]["JobDefinition"];
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1693
|
-
401: {
|
|
1694
|
-
headers: {
|
|
1695
|
-
[name: string]: unknown;
|
|
1696
|
-
};
|
|
1697
|
-
content: {
|
|
1698
|
-
"application/json": "Unauthorized";
|
|
1699
|
-
};
|
|
1700
|
-
};
|
|
1701
|
-
/** @description Internal Server Error. */
|
|
1702
|
-
500: {
|
|
1703
|
-
headers: {
|
|
1704
|
-
[name: string]: unknown;
|
|
1705
|
-
};
|
|
1706
|
-
content: {
|
|
1707
|
-
"application/json": components["schemas"]["Error"];
|
|
1708
|
-
};
|
|
1709
|
-
};
|
|
1710
|
-
};
|
|
1711
|
-
};
|
|
1712
|
-
put?: never;
|
|
1713
|
-
post?: never;
|
|
1714
|
-
delete?: never;
|
|
1715
|
-
options?: never;
|
|
1716
|
-
head?: never;
|
|
1717
|
-
patch?: never;
|
|
1718
|
-
trace?: never;
|
|
1719
|
-
};
|
|
1720
|
-
"/api/deployments/jobs/{job}/results": {
|
|
1721
|
-
parameters: {
|
|
1722
|
-
query?: never;
|
|
1723
|
-
header?: never;
|
|
1724
|
-
path?: never;
|
|
1725
|
-
cookie?: never;
|
|
1726
|
-
};
|
|
1727
|
-
get?: never;
|
|
1728
|
-
put?: never;
|
|
1729
|
-
/** @description Post results for your running job. */
|
|
1730
|
-
post: {
|
|
1731
|
-
parameters: {
|
|
1732
|
-
query?: never;
|
|
1733
|
-
header: {
|
|
1734
|
-
/** @description Signed authentication message, */
|
|
1735
|
-
authorization: string;
|
|
1736
|
-
};
|
|
1737
|
-
path: {
|
|
1738
|
-
job: string;
|
|
1739
|
-
};
|
|
1740
|
-
cookie?: never;
|
|
1741
|
-
};
|
|
1742
|
-
requestBody?: {
|
|
1743
|
-
content: {
|
|
1744
|
-
"application/json": components["schemas"]["JobResults"];
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
responses: {
|
|
1748
|
-
/** @description Job results details. */
|
|
1749
|
-
200: {
|
|
1750
|
-
headers: {
|
|
1751
|
-
[name: string]: unknown;
|
|
1752
|
-
};
|
|
1753
|
-
content: {
|
|
1754
|
-
"application/json": {
|
|
1755
|
-
/** @enum {string} */
|
|
1756
|
-
message: "Success";
|
|
1757
|
-
};
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1761
|
-
401: {
|
|
1762
|
-
headers: {
|
|
1763
|
-
[name: string]: unknown;
|
|
1764
|
-
};
|
|
1765
|
-
content: {
|
|
1766
|
-
"application/json": "Unauthorized";
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
/** @description Internal Server Error. */
|
|
1770
|
-
500: {
|
|
1771
|
-
headers: {
|
|
1772
|
-
[name: string]: unknown;
|
|
1773
|
-
};
|
|
1774
|
-
content: {
|
|
1775
|
-
"application/json": components["schemas"]["Error"];
|
|
1776
|
-
};
|
|
1777
|
-
};
|
|
1778
|
-
};
|
|
1779
|
-
};
|
|
1780
|
-
delete?: never;
|
|
1781
|
-
options?: never;
|
|
1782
|
-
head?: never;
|
|
1783
|
-
patch?: never;
|
|
1784
|
-
trace?: never;
|
|
1785
|
-
};
|
|
1786
|
-
"/api/deployments/vaults": {
|
|
1787
|
-
parameters: {
|
|
1788
|
-
query?: never;
|
|
1789
|
-
header?: never;
|
|
1790
|
-
path?: never;
|
|
1791
|
-
cookie?: never;
|
|
1792
|
-
};
|
|
1793
|
-
/** @description List all user vaults. */
|
|
1794
|
-
get: {
|
|
1795
|
-
parameters: {
|
|
1796
|
-
query?: never;
|
|
1797
|
-
header: {
|
|
1798
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1799
|
-
"x-user-id"?: string;
|
|
1800
|
-
/**
|
|
1801
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1802
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1803
|
-
*/
|
|
1804
|
-
authorization: string;
|
|
1805
|
-
};
|
|
1806
|
-
path?: never;
|
|
1807
|
-
cookie?: never;
|
|
1808
|
-
};
|
|
1809
|
-
requestBody?: never;
|
|
1810
|
-
responses: {
|
|
1811
|
-
/** @description List of vaults. */
|
|
1812
|
-
200: {
|
|
1813
|
-
headers: {
|
|
1814
|
-
[name: string]: unknown;
|
|
1815
|
-
};
|
|
1816
|
-
content: {
|
|
1817
|
-
"application/json": components["schemas"]["Vaults"];
|
|
1818
|
-
};
|
|
1819
|
-
};
|
|
1820
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1821
|
-
401: {
|
|
1822
|
-
headers: {
|
|
1823
|
-
[name: string]: unknown;
|
|
1824
|
-
};
|
|
1825
|
-
content: {
|
|
1826
|
-
"application/json": "Unauthorized";
|
|
1827
|
-
};
|
|
1828
|
-
};
|
|
1829
|
-
/** @description Internal Server Error. */
|
|
1830
|
-
500: {
|
|
1831
|
-
headers: {
|
|
1832
|
-
[name: string]: unknown;
|
|
1833
|
-
};
|
|
1834
|
-
content: {
|
|
1835
|
-
"application/json": components["schemas"]["Error"];
|
|
1836
|
-
};
|
|
1837
|
-
};
|
|
1838
|
-
};
|
|
1839
|
-
};
|
|
1840
|
-
put?: never;
|
|
1841
|
-
post?: never;
|
|
1842
|
-
delete?: never;
|
|
1843
|
-
options?: never;
|
|
1844
|
-
head?: never;
|
|
1845
|
-
patch?: never;
|
|
1846
|
-
trace?: never;
|
|
1847
|
-
};
|
|
1848
|
-
"/api/deployments/vaults/create": {
|
|
1849
|
-
parameters: {
|
|
1850
|
-
query?: never;
|
|
1851
|
-
header?: never;
|
|
1852
|
-
path?: never;
|
|
1853
|
-
cookie?: never;
|
|
1854
|
-
};
|
|
1855
|
-
get?: never;
|
|
1856
|
-
put?: never;
|
|
1857
|
-
/** @description Create a shared vault. */
|
|
1858
|
-
post: {
|
|
1859
|
-
parameters: {
|
|
1860
|
-
query?: never;
|
|
1861
|
-
header: {
|
|
1862
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1863
|
-
"x-user-id"?: string;
|
|
1864
|
-
/**
|
|
1865
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1866
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1867
|
-
*/
|
|
1868
|
-
authorization: string;
|
|
1869
|
-
};
|
|
1870
|
-
path?: never;
|
|
1871
|
-
cookie?: never;
|
|
1872
|
-
};
|
|
1873
|
-
requestBody?: never;
|
|
1874
|
-
responses: {
|
|
1875
|
-
/** @description Vault created successfully. */
|
|
1876
|
-
200: {
|
|
1877
|
-
headers: {
|
|
1878
|
-
[name: string]: unknown;
|
|
1879
|
-
};
|
|
1880
|
-
content: {
|
|
1881
|
-
"application/json": components["schemas"]["Vault"];
|
|
1882
|
-
};
|
|
1883
|
-
};
|
|
1884
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1885
|
-
401: {
|
|
1886
|
-
headers: {
|
|
1887
|
-
[name: string]: unknown;
|
|
1888
|
-
};
|
|
1889
|
-
content: {
|
|
1890
|
-
"application/json": "Unauthorized";
|
|
1891
|
-
};
|
|
1892
|
-
};
|
|
1893
|
-
/** @description Internal Server Error. */
|
|
1894
|
-
500: {
|
|
1895
|
-
headers: {
|
|
1896
|
-
[name: string]: unknown;
|
|
1897
|
-
};
|
|
1898
|
-
content: {
|
|
1899
|
-
"application/json": components["schemas"]["Error"];
|
|
1900
|
-
};
|
|
1901
|
-
};
|
|
1902
|
-
};
|
|
1903
|
-
};
|
|
1904
|
-
delete?: never;
|
|
1905
|
-
options?: never;
|
|
1906
|
-
head?: never;
|
|
1907
|
-
patch?: never;
|
|
1908
|
-
trace?: never;
|
|
1909
|
-
};
|
|
1910
|
-
"/api/deployments/vaults/{vault}/withdraw": {
|
|
1911
|
-
parameters: {
|
|
1912
|
-
query?: never;
|
|
1913
|
-
header?: never;
|
|
1914
|
-
path?: never;
|
|
1915
|
-
cookie?: never;
|
|
1916
|
-
};
|
|
1917
|
-
get?: never;
|
|
1918
|
-
put?: never;
|
|
1919
|
-
/** @description Withdraw from a vault. */
|
|
1920
|
-
post: {
|
|
1921
|
-
parameters: {
|
|
1922
|
-
query?: never;
|
|
1923
|
-
header: {
|
|
1924
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
1925
|
-
"x-user-id"?: string;
|
|
1926
|
-
/**
|
|
1927
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
1928
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
1929
|
-
*/
|
|
1930
|
-
authorization: string;
|
|
1931
|
-
};
|
|
1932
|
-
path: {
|
|
1933
|
-
vault: components["schemas"]["PublicKey"];
|
|
1934
|
-
};
|
|
1935
|
-
cookie?: never;
|
|
1936
|
-
};
|
|
1937
|
-
requestBody?: {
|
|
1938
|
-
content: {
|
|
1939
|
-
"application/json": {
|
|
1940
|
-
SOL?: number;
|
|
1941
|
-
NOS?: number;
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
responses: {
|
|
1946
|
-
/** @description Withdrawal successful. */
|
|
1947
|
-
200: {
|
|
1948
|
-
headers: {
|
|
1949
|
-
[name: string]: unknown;
|
|
1950
|
-
};
|
|
1951
|
-
content: {
|
|
1952
|
-
"application/json": {
|
|
1953
|
-
transaction: string;
|
|
1954
|
-
};
|
|
1955
|
-
};
|
|
1956
|
-
};
|
|
1957
|
-
/** @description Invalid request body. */
|
|
1958
|
-
400: {
|
|
1959
|
-
headers: {
|
|
1960
|
-
[name: string]: unknown;
|
|
1961
|
-
};
|
|
1962
|
-
content: {
|
|
1963
|
-
"application/json": components["schemas"]["Error"];
|
|
1964
|
-
};
|
|
1965
|
-
};
|
|
1966
|
-
/** @description Unauthorized. Invalid or missing authentication. */
|
|
1967
|
-
401: {
|
|
1968
|
-
headers: {
|
|
1969
|
-
[name: string]: unknown;
|
|
1970
|
-
};
|
|
1971
|
-
content: {
|
|
1972
|
-
"application/json": "Unauthorized";
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
/** @description Vault not found. */
|
|
1976
|
-
404: {
|
|
1977
|
-
headers: {
|
|
1978
|
-
[name: string]: unknown;
|
|
1979
|
-
};
|
|
1980
|
-
content: {
|
|
1981
|
-
"application/json": components["schemas"]["Error"];
|
|
1982
|
-
};
|
|
1983
|
-
};
|
|
1984
|
-
/** @description Internal Server Error. */
|
|
1985
|
-
500: {
|
|
1986
|
-
headers: {
|
|
1987
|
-
[name: string]: unknown;
|
|
1988
|
-
};
|
|
1989
|
-
content: {
|
|
1990
|
-
"application/json": components["schemas"]["Error"];
|
|
1991
|
-
};
|
|
1992
|
-
};
|
|
1993
|
-
};
|
|
1994
|
-
};
|
|
1995
|
-
delete?: never;
|
|
1996
|
-
options?: never;
|
|
1997
|
-
head?: never;
|
|
1998
|
-
patch?: never;
|
|
1999
|
-
trace?: never;
|
|
2000
|
-
};
|
|
2001
|
-
}
|
|
2002
|
-
export type webhooks = Record<string, never>;
|
|
2003
|
-
export interface components {
|
|
2004
|
-
schemas: {
|
|
2005
|
-
/**
|
|
2006
|
-
* Headers
|
|
2007
|
-
* @description Headers for deployment routes
|
|
2008
|
-
*/
|
|
2009
|
-
Headers: {
|
|
2010
|
-
/** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
|
|
2011
|
-
"x-user-id": string;
|
|
2012
|
-
/**
|
|
2013
|
-
* @description Authentication token, either an API key or a wallet-signed message.
|
|
2014
|
-
* @example Bearer <ApiKey> or WalletSignedMessage
|
|
2015
|
-
*/
|
|
2016
|
-
authorization: string;
|
|
2017
|
-
};
|
|
2018
|
-
/**
|
|
2019
|
-
* HostHeaders
|
|
2020
|
-
* @description Headers for deployment routes
|
|
2021
|
-
*/
|
|
2022
|
-
HostHeaders: {
|
|
2023
|
-
/** @description Signed authentication message, */
|
|
2024
|
-
authorization: string;
|
|
2025
|
-
};
|
|
2026
|
-
/** Deployment */
|
|
2027
|
-
Deployment: {
|
|
2028
|
-
id: string;
|
|
2029
|
-
name: string;
|
|
2030
|
-
vault: string;
|
|
2031
|
-
market: string;
|
|
2032
|
-
owner: string;
|
|
2033
|
-
status: "DRAFT" | "ERROR" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "INSUFFICIENT_FUNDS" | "ARCHIVED";
|
|
2034
|
-
replicas: number;
|
|
2035
|
-
timeout: number;
|
|
2036
|
-
endpoints: {
|
|
2037
|
-
opId: string;
|
|
2038
|
-
port: number | string;
|
|
2039
|
-
url: string;
|
|
2040
|
-
}[];
|
|
2041
|
-
confidential: boolean;
|
|
2042
|
-
active_revision: number;
|
|
2043
|
-
active_jobs: number;
|
|
2044
|
-
/** Format: date-time */
|
|
2045
|
-
created_at: string;
|
|
2046
|
-
/** Format: date-time */
|
|
2047
|
-
updated_at: string;
|
|
2048
|
-
} & ({
|
|
2049
|
-
strategy: "SIMPLE" | "SIMPLE-EXTEND";
|
|
2050
|
-
} | {
|
|
2051
|
-
/** @enum {string} */
|
|
2052
|
-
strategy: "SCHEDULED";
|
|
2053
|
-
/** @description Cron expression for scheduled deployments */
|
|
2054
|
-
schedule: string;
|
|
2055
|
-
} | {
|
|
2056
|
-
timeout: number;
|
|
2057
|
-
/** @enum {string} */
|
|
2058
|
-
strategy: "INFINITE";
|
|
2059
|
-
rotation_time: number;
|
|
2060
|
-
});
|
|
2061
|
-
/** Deployments */
|
|
2062
|
-
Deployments: components["schemas"]["Deployment"][];
|
|
2063
|
-
/** DeploymentStatus */
|
|
2064
|
-
DeploymentStatus: "DRAFT" | "ERROR" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "INSUFFICIENT_FUNDS" | "ARCHIVED";
|
|
2065
|
-
/** DeploymentStrategy */
|
|
2066
|
-
DeploymentStrategy: "SIMPLE" | "SIMPLE-EXTEND" | "SCHEDULED" | "INFINITE";
|
|
2067
|
-
/** DeploymentCreateBody */
|
|
2068
|
-
DeploymentCreateBody: {
|
|
2069
|
-
name: string;
|
|
2070
|
-
market: string;
|
|
2071
|
-
replicas: number;
|
|
2072
|
-
/** @description Timeout in minutes, must be at least 1 minute. */
|
|
2073
|
-
timeout: number;
|
|
2074
|
-
vault?: string;
|
|
2075
|
-
confidential?: boolean;
|
|
2076
|
-
job_definition: components["schemas"]["JobDefinition"];
|
|
2077
|
-
} & ({
|
|
2078
|
-
strategy: "SIMPLE" | "SIMPLE-EXTEND";
|
|
2079
|
-
} | {
|
|
2080
|
-
/** @enum {string} */
|
|
2081
|
-
strategy: "SCHEDULED";
|
|
2082
|
-
/** @description Cron expression for scheduled deployments */
|
|
2083
|
-
schedule: string;
|
|
2084
|
-
} | {
|
|
2085
|
-
/** @description Timeout in minutes, must be at least 60 minute. */
|
|
2086
|
-
timeout: number;
|
|
2087
|
-
/** @enum {string} */
|
|
2088
|
-
strategy: "INFINITE";
|
|
2089
|
-
/** @description Rotation time in seconds. Must be at least 10 minutes less than timeout to allow for proper rotation. */
|
|
2090
|
-
rotation_time?: number;
|
|
2091
|
-
});
|
|
2092
|
-
/** Endpoint */
|
|
2093
|
-
Endpoint: {
|
|
2094
|
-
opId: string;
|
|
2095
|
-
port: number | string;
|
|
2096
|
-
url: string;
|
|
2097
|
-
};
|
|
2098
|
-
/** Error */
|
|
2099
|
-
Error: {
|
|
2100
|
-
error: string;
|
|
2101
|
-
};
|
|
2102
|
-
/** Event */
|
|
2103
|
-
Event: {
|
|
2104
|
-
category: "Deployment" | "Event";
|
|
2105
|
-
deploymentId: string;
|
|
2106
|
-
type: string;
|
|
2107
|
-
message: string;
|
|
2108
|
-
tx?: string;
|
|
2109
|
-
/** Format: date-time */
|
|
2110
|
-
created_at: string;
|
|
2111
|
-
};
|
|
2112
|
-
/** Job */
|
|
2113
|
-
Job: {
|
|
2114
|
-
tx: string;
|
|
2115
|
-
job: string;
|
|
2116
|
-
deployment: string;
|
|
2117
|
-
market: string;
|
|
2118
|
-
revision: number;
|
|
2119
|
-
state: "QUEUED" | "RUNNING" | "COMPLETED" | "STOPPED";
|
|
2120
|
-
time_start: number;
|
|
2121
|
-
/** Format: date-time */
|
|
2122
|
-
created_at: string;
|
|
2123
|
-
/** Format: date-time */
|
|
2124
|
-
updated_at: string;
|
|
2125
|
-
};
|
|
2126
|
-
/** PublicKey */
|
|
2127
|
-
PublicKey: string;
|
|
2128
|
-
/** Task */
|
|
2129
|
-
Task: {
|
|
2130
|
-
task: "LIST" | "EXTEND" | "STOP";
|
|
2131
|
-
deploymentId: string;
|
|
2132
|
-
tx?: string;
|
|
2133
|
-
job?: string;
|
|
2134
|
-
limit?: number;
|
|
2135
|
-
active_revision?: number;
|
|
2136
|
-
/** Format: date-time */
|
|
2137
|
-
due_at: string;
|
|
2138
|
-
/** Format: date-time */
|
|
2139
|
-
created_at: string;
|
|
2140
|
-
};
|
|
2141
|
-
/** Vault */
|
|
2142
|
-
Vault: {
|
|
2143
|
-
vault: string;
|
|
2144
|
-
owner: string;
|
|
2145
|
-
/** Format: date-time */
|
|
2146
|
-
created_at: string;
|
|
2147
|
-
};
|
|
2148
|
-
/** Vaults */
|
|
2149
|
-
Vaults: {
|
|
2150
|
-
vault: string;
|
|
2151
|
-
owner: string;
|
|
2152
|
-
/** Format: date-time */
|
|
2153
|
-
created_at: string;
|
|
2154
|
-
}[];
|
|
2155
|
-
/** Revision */
|
|
2156
|
-
Revision: {
|
|
2157
|
-
revision: number;
|
|
2158
|
-
deployment: string;
|
|
2159
|
-
ipfs_definition_hash: string;
|
|
2160
|
-
job_definition: components["schemas"]["JobDefinition"];
|
|
2161
|
-
/** Format: date-time */
|
|
2162
|
-
created_at: string;
|
|
2163
|
-
};
|
|
2164
|
-
/** JobDefinition */
|
|
2165
|
-
JobDefinition: {
|
|
2166
|
-
/** @enum {string} */
|
|
2167
|
-
version: "0.1";
|
|
2168
|
-
/** @enum {string} */
|
|
2169
|
-
type: "container";
|
|
2170
|
-
logistics?: {
|
|
2171
|
-
send: {
|
|
2172
|
-
/**
|
|
2173
|
-
* @description api - we receive and send via an endpoint endpoint
|
|
2174
|
-
* api-listen - we create an endpoint to listen for incoming requests
|
|
2175
|
-
* @enum {string}
|
|
2176
|
-
*/
|
|
2177
|
-
type: "api" | "api-listen";
|
|
2178
|
-
/** @description Make all properties in T optional */
|
|
2179
|
-
args: {
|
|
2180
|
-
endpoint?: string;
|
|
2181
|
-
};
|
|
2182
|
-
};
|
|
2183
|
-
receive: {
|
|
2184
|
-
/**
|
|
2185
|
-
* @description api - we receive and send via an endpoint endpoint
|
|
2186
|
-
* api-listen - we create an endpoint to listen for incoming requests
|
|
2187
|
-
* @enum {string}
|
|
2188
|
-
*/
|
|
2189
|
-
type: "api" | "api-listen";
|
|
2190
|
-
/** @description Make all properties in T optional */
|
|
2191
|
-
args: {
|
|
2192
|
-
endpoint?: string;
|
|
2193
|
-
};
|
|
2194
|
-
};
|
|
2195
|
-
};
|
|
2196
|
-
deployment_id?: string;
|
|
2197
|
-
meta?: {
|
|
2198
|
-
trigger?: string;
|
|
2199
|
-
/** @description Construct a type with a set of properties K of type T */
|
|
2200
|
-
system_resources?: {
|
|
2201
|
-
[key: string]: string | number;
|
|
2202
|
-
};
|
|
2203
|
-
} & {
|
|
2204
|
-
[key: string]: string | number | (string | number)[] | {
|
|
2205
|
-
[key: string]: string | number | (string | number)[];
|
|
2206
|
-
};
|
|
2207
|
-
};
|
|
2208
|
-
global?: {
|
|
2209
|
-
image?: string;
|
|
2210
|
-
gpu?: boolean;
|
|
2211
|
-
entrypoint?: string | string[];
|
|
2212
|
-
env?: {
|
|
2213
|
-
[key: string]: string;
|
|
2214
|
-
};
|
|
2215
|
-
work_dir?: string;
|
|
2216
|
-
variables?: {
|
|
2217
|
-
[key: string]: string;
|
|
2218
|
-
};
|
|
2219
|
-
};
|
|
2220
|
-
ops: {
|
|
2221
|
-
/** @enum {string} */
|
|
2222
|
-
type: "container/run" | "container/create-volume";
|
|
2223
|
-
id: string;
|
|
2224
|
-
args: {
|
|
2225
|
-
image: string;
|
|
2226
|
-
aliases?: string | string[];
|
|
2227
|
-
cmd?: string | string[];
|
|
2228
|
-
volumes?: {
|
|
2229
|
-
name: string;
|
|
2230
|
-
dest: string;
|
|
2231
|
-
}[];
|
|
2232
|
-
expose?: number | string | {
|
|
2233
|
-
__spread__: string;
|
|
2234
|
-
chunked?: boolean;
|
|
2235
|
-
} | {
|
|
2236
|
-
port: number;
|
|
2237
|
-
/** @enum {string} */
|
|
2238
|
-
type?: "api" | "web" | "websocket" | "webapi" | "none";
|
|
2239
|
-
health_checks?: ({
|
|
2240
|
-
/** @enum {string} */
|
|
2241
|
-
type: "http";
|
|
2242
|
-
path: string;
|
|
2243
|
-
/** @enum {string} */
|
|
2244
|
-
method: "GET" | "POST" | "PUT" | "DELETE";
|
|
2245
|
-
expected_status: number;
|
|
2246
|
-
/** @description Construct a type with a set of properties K of type T */
|
|
2247
|
-
headers?: {
|
|
2248
|
-
[key: string]: string;
|
|
2249
|
-
};
|
|
2250
|
-
body?: unknown;
|
|
2251
|
-
continuous: boolean;
|
|
2252
|
-
} | {
|
|
2253
|
-
/** @enum {string} */
|
|
2254
|
-
type: "websocket";
|
|
2255
|
-
expected_response: string;
|
|
2256
|
-
continuous: boolean;
|
|
2257
|
-
})[];
|
|
2258
|
-
} | (number | string | {
|
|
2259
|
-
__spread__: string;
|
|
2260
|
-
chunked?: boolean;
|
|
2261
|
-
} | {
|
|
2262
|
-
port: number;
|
|
2263
|
-
/** @enum {string} */
|
|
2264
|
-
type?: "api" | "web" | "websocket" | "webapi" | "none";
|
|
2265
|
-
health_checks?: ({
|
|
2266
|
-
/** @enum {string} */
|
|
2267
|
-
type: "http";
|
|
2268
|
-
path: string;
|
|
2269
|
-
/** @enum {string} */
|
|
2270
|
-
method: "GET" | "POST" | "PUT" | "DELETE";
|
|
2271
|
-
expected_status: number;
|
|
2272
|
-
/** @description Construct a type with a set of properties K of type T */
|
|
2273
|
-
headers?: {
|
|
2274
|
-
[key: string]: string;
|
|
2275
|
-
};
|
|
2276
|
-
body?: unknown;
|
|
2277
|
-
continuous: boolean;
|
|
2278
|
-
} | {
|
|
2279
|
-
/** @enum {string} */
|
|
2280
|
-
type: "websocket";
|
|
2281
|
-
expected_response: string;
|
|
2282
|
-
continuous: boolean;
|
|
2283
|
-
})[];
|
|
2284
|
-
})[];
|
|
2285
|
-
gpu?: boolean;
|
|
2286
|
-
work_dir?: string;
|
|
2287
|
-
entrypoint?: string | string[];
|
|
2288
|
-
env?: {
|
|
2289
|
-
[key: string]: string;
|
|
2290
|
-
};
|
|
2291
|
-
restart_policy?: {
|
|
2292
|
-
/** @enum {string} */
|
|
2293
|
-
policy: "on-failure";
|
|
2294
|
-
restart_tries?: number;
|
|
2295
|
-
} | ("on-failure" | "no" | "always" | "unless-stopped");
|
|
2296
|
-
private?: boolean;
|
|
2297
|
-
resources?: ({
|
|
2298
|
-
__spread__: string;
|
|
2299
|
-
chunked?: boolean;
|
|
2300
|
-
} | {
|
|
2301
|
-
/** @enum {string} */
|
|
2302
|
-
type: "S3";
|
|
2303
|
-
target: string;
|
|
2304
|
-
url?: string;
|
|
2305
|
-
allowWrite?: boolean;
|
|
2306
|
-
files?: string[];
|
|
2307
|
-
IAM?: {
|
|
2308
|
-
REGION: string;
|
|
2309
|
-
ACCESS_KEY_ID: string;
|
|
2310
|
-
SECRET_ACCESS_KEY: string;
|
|
2311
|
-
};
|
|
2312
|
-
} | {
|
|
2313
|
-
/** @enum {string} */
|
|
2314
|
-
type: "S3";
|
|
2315
|
-
target: string;
|
|
2316
|
-
bucket: string;
|
|
2317
|
-
url?: string;
|
|
2318
|
-
allowWrite?: boolean;
|
|
2319
|
-
IAM?: {
|
|
2320
|
-
REGION: string;
|
|
2321
|
-
ACCESS_KEY_ID: string;
|
|
2322
|
-
SECRET_ACCESS_KEY: string;
|
|
2323
|
-
};
|
|
2324
|
-
} | {
|
|
2325
|
-
/** @enum {string} */
|
|
2326
|
-
type: "S3";
|
|
2327
|
-
target: string;
|
|
2328
|
-
buckets: {
|
|
2329
|
-
url: string;
|
|
2330
|
-
files?: string[];
|
|
2331
|
-
}[];
|
|
2332
|
-
url?: string;
|
|
2333
|
-
allowWrite?: boolean;
|
|
2334
|
-
IAM?: {
|
|
2335
|
-
REGION: string;
|
|
2336
|
-
ACCESS_KEY_ID: string;
|
|
2337
|
-
SECRET_ACCESS_KEY: string;
|
|
2338
|
-
};
|
|
2339
|
-
} | {
|
|
2340
|
-
/** @enum {string} */
|
|
2341
|
-
type: "HF";
|
|
2342
|
-
target: string;
|
|
2343
|
-
repo: string;
|
|
2344
|
-
revision?: string;
|
|
2345
|
-
files?: string[];
|
|
2346
|
-
accessToken?: string;
|
|
2347
|
-
} | {
|
|
2348
|
-
/** @enum {string} */
|
|
2349
|
-
type: "Ollama";
|
|
2350
|
-
model: string;
|
|
2351
|
-
target?: string;
|
|
2352
|
-
} | "__remove-if-empty__")[];
|
|
2353
|
-
authentication?: {
|
|
2354
|
-
docker?: {
|
|
2355
|
-
username?: string;
|
|
2356
|
-
password?: string;
|
|
2357
|
-
email?: string;
|
|
2358
|
-
server?: string;
|
|
2359
|
-
};
|
|
2360
|
-
};
|
|
2361
|
-
} | {
|
|
2362
|
-
name: string;
|
|
2363
|
-
};
|
|
2364
|
-
results?: {
|
|
2365
|
-
[key: string]: string | {
|
|
2366
|
-
regex: string;
|
|
2367
|
-
logType: ("stdin" | "stdout" | "stderr" | "nodeerr")[];
|
|
2368
|
-
};
|
|
2369
|
-
};
|
|
2370
|
-
execution?: {
|
|
2371
|
-
group?: string;
|
|
2372
|
-
depends_on: string[];
|
|
2373
|
-
stop_if_dependent_stops?: boolean;
|
|
2374
|
-
} | {
|
|
2375
|
-
group?: string;
|
|
2376
|
-
};
|
|
2377
|
-
}[];
|
|
2378
|
-
};
|
|
2379
|
-
/** JobResults */
|
|
2380
|
-
JobResults: {
|
|
2381
|
-
status: string;
|
|
2382
|
-
startTime: number;
|
|
2383
|
-
endTime: number | null;
|
|
2384
|
-
errors?: unknown[];
|
|
2385
|
-
opStates: {
|
|
2386
|
-
providerId: string | null;
|
|
2387
|
-
operationId: string | null;
|
|
2388
|
-
group: string | null;
|
|
2389
|
-
status: string | null;
|
|
2390
|
-
startTime: number | null;
|
|
2391
|
-
endTime: number | null;
|
|
2392
|
-
exitCode: number | null;
|
|
2393
|
-
logs: {
|
|
2394
|
-
/** @enum {string} */
|
|
2395
|
-
type: "stdin" | "stdout" | "stderr" | "nodeerr";
|
|
2396
|
-
log?: string;
|
|
2397
|
-
timestamp?: string;
|
|
2398
|
-
}[];
|
|
2399
|
-
results?: {
|
|
2400
|
-
[key: string]: string | string[];
|
|
2401
|
-
};
|
|
2402
|
-
error?: {
|
|
2403
|
-
event: string;
|
|
2404
|
-
message: string;
|
|
2405
|
-
code?: number;
|
|
2406
|
-
};
|
|
2407
|
-
diagnostics: {
|
|
2408
|
-
reason: {
|
|
2409
|
-
hostShutDown: boolean;
|
|
2410
|
-
jobStopped: boolean;
|
|
2411
|
-
jobExpired: boolean;
|
|
2412
|
-
reason?: string;
|
|
2413
|
-
};
|
|
2414
|
-
state?: {
|
|
2415
|
-
Status: string;
|
|
2416
|
-
Running: boolean;
|
|
2417
|
-
Paused: boolean;
|
|
2418
|
-
Restarting: boolean;
|
|
2419
|
-
OOMKilled: boolean;
|
|
2420
|
-
Dead: boolean;
|
|
2421
|
-
Pid: number;
|
|
2422
|
-
ExitCode: number;
|
|
2423
|
-
Error: string;
|
|
2424
|
-
StartedAt: string;
|
|
2425
|
-
FinishedAt: string;
|
|
2426
|
-
Health?: {
|
|
2427
|
-
Status: string;
|
|
2428
|
-
FailingStreak: number;
|
|
2429
|
-
Log: {
|
|
2430
|
-
Start: string;
|
|
2431
|
-
End: string;
|
|
2432
|
-
ExitCode: number;
|
|
2433
|
-
Output: string;
|
|
2434
|
-
}[] | null;
|
|
2435
|
-
};
|
|
2436
|
-
RestartCount: number;
|
|
2437
|
-
};
|
|
2438
|
-
};
|
|
2439
|
-
}[];
|
|
2440
|
-
secrets?: {
|
|
2441
|
-
/** @enum {string} */
|
|
2442
|
-
urlmode?: "private" | "public";
|
|
2443
|
-
} & {
|
|
2444
|
-
[key: string]: {
|
|
2445
|
-
[key: string]: {
|
|
2446
|
-
opID: string;
|
|
2447
|
-
port: string | number;
|
|
2448
|
-
url: string;
|
|
2449
|
-
/** @enum {string} */
|
|
2450
|
-
status: "ONLINE" | "OFFLINE" | "UNKNOWN";
|
|
2451
|
-
};
|
|
2452
|
-
} | ("private" | "public");
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
|
-
};
|
|
2456
|
-
responses: never;
|
|
2457
|
-
parameters: never;
|
|
2458
|
-
requestBodies: never;
|
|
2459
|
-
headers: never;
|
|
2460
|
-
pathItems: never;
|
|
2461
|
-
}
|
|
2462
|
-
export type $defs = Record<string, never>;
|
|
2463
|
-
export interface operations {
|
|
2464
|
-
postApiJobsList: {
|
|
2465
|
-
parameters: {
|
|
2466
|
-
query?: never;
|
|
2467
|
-
header?: {
|
|
2468
|
-
/** @description Authorization header: Bearer <jwt> or Bearer <key> */
|
|
2469
|
-
authorization?: string;
|
|
2470
|
-
};
|
|
2471
|
-
path?: never;
|
|
2472
|
-
cookie?: never;
|
|
2473
|
-
};
|
|
2474
|
-
requestBody: {
|
|
2475
|
-
content: {
|
|
2476
|
-
"application/json": {
|
|
2477
|
-
ipfsHash: string;
|
|
2478
|
-
market: string;
|
|
2479
|
-
timeout?: string | number;
|
|
2480
|
-
node?: string;
|
|
2481
|
-
};
|
|
2482
|
-
"multipart/form-data": {
|
|
2483
|
-
ipfsHash: string;
|
|
2484
|
-
market: string;
|
|
2485
|
-
timeout?: string | number;
|
|
2486
|
-
node?: string;
|
|
2487
|
-
};
|
|
2488
|
-
"text/plain": {
|
|
2489
|
-
ipfsHash: string;
|
|
2490
|
-
market: string;
|
|
2491
|
-
timeout?: string | number;
|
|
2492
|
-
node?: string;
|
|
2493
|
-
};
|
|
2494
|
-
};
|
|
2495
|
-
};
|
|
2496
|
-
responses: {
|
|
2497
|
-
200: {
|
|
2498
|
-
headers: {
|
|
2499
|
-
[name: string]: unknown;
|
|
2500
|
-
};
|
|
2501
|
-
content: {
|
|
2502
|
-
"application/json": {
|
|
2503
|
-
tx: string;
|
|
2504
|
-
job: string;
|
|
2505
|
-
run: string;
|
|
2506
|
-
credits: {
|
|
2507
|
-
costUSD: number;
|
|
2508
|
-
creditsUsed: number;
|
|
2509
|
-
reservationId: string;
|
|
2510
|
-
project: string;
|
|
2511
|
-
};
|
|
2512
|
-
};
|
|
2513
|
-
"multipart/form-data": {
|
|
2514
|
-
tx: string;
|
|
2515
|
-
job: string;
|
|
2516
|
-
run: string;
|
|
2517
|
-
credits: {
|
|
2518
|
-
costUSD: number;
|
|
2519
|
-
creditsUsed: number;
|
|
2520
|
-
reservationId: string;
|
|
2521
|
-
project: string;
|
|
2522
|
-
};
|
|
2523
|
-
};
|
|
2524
|
-
"text/plain": {
|
|
2525
|
-
tx: string;
|
|
2526
|
-
job: string;
|
|
2527
|
-
run: string;
|
|
2528
|
-
credits: {
|
|
2529
|
-
costUSD: number;
|
|
2530
|
-
creditsUsed: number;
|
|
2531
|
-
reservationId: string;
|
|
2532
|
-
project: string;
|
|
2533
|
-
};
|
|
2534
|
-
};
|
|
2535
|
-
};
|
|
2536
|
-
};
|
|
2537
|
-
};
|
|
2538
|
-
};
|
|
2539
|
-
postApiJobsByAddressExtend: {
|
|
2540
|
-
parameters: {
|
|
2541
|
-
query?: never;
|
|
2542
|
-
header?: {
|
|
2543
|
-
/** @description Authorization header: Bearer <jwt> or Bearer <key> */
|
|
2544
|
-
authorization?: string;
|
|
2545
|
-
};
|
|
2546
|
-
path: {
|
|
2547
|
-
address: string;
|
|
2548
|
-
};
|
|
2549
|
-
cookie?: never;
|
|
2550
|
-
};
|
|
2551
|
-
requestBody: {
|
|
2552
|
-
content: {
|
|
2553
|
-
"application/json": {
|
|
2554
|
-
seconds?: number;
|
|
2555
|
-
};
|
|
2556
|
-
"multipart/form-data": {
|
|
2557
|
-
seconds?: number;
|
|
2558
|
-
};
|
|
2559
|
-
"text/plain": {
|
|
2560
|
-
seconds?: number;
|
|
2561
|
-
};
|
|
2562
|
-
};
|
|
2563
|
-
};
|
|
2564
|
-
responses: {
|
|
2565
|
-
200: {
|
|
2566
|
-
headers: {
|
|
2567
|
-
[name: string]: unknown;
|
|
2568
|
-
};
|
|
2569
|
-
content: {
|
|
2570
|
-
"application/json": {
|
|
2571
|
-
tx: string;
|
|
2572
|
-
job: string;
|
|
2573
|
-
credits: {
|
|
2574
|
-
costUSD: number;
|
|
2575
|
-
creditsUsed: number;
|
|
2576
|
-
reservationId: string;
|
|
2577
|
-
};
|
|
2578
|
-
};
|
|
2579
|
-
"multipart/form-data": {
|
|
2580
|
-
tx: string;
|
|
2581
|
-
job: string;
|
|
2582
|
-
credits: {
|
|
2583
|
-
costUSD: number;
|
|
2584
|
-
creditsUsed: number;
|
|
2585
|
-
reservationId: string;
|
|
2586
|
-
};
|
|
2587
|
-
};
|
|
2588
|
-
"text/plain": {
|
|
2589
|
-
tx: string;
|
|
2590
|
-
job: string;
|
|
2591
|
-
credits: {
|
|
2592
|
-
costUSD: number;
|
|
2593
|
-
creditsUsed: number;
|
|
2594
|
-
reservationId: string;
|
|
2595
|
-
};
|
|
2596
|
-
};
|
|
2597
|
-
};
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
|
-
};
|
|
2601
|
-
postApiJobsByAddressStop: {
|
|
2602
|
-
parameters: {
|
|
2603
|
-
query?: never;
|
|
2604
|
-
header?: {
|
|
2605
|
-
/** @description Authorization header: Bearer <jwt> or Bearer <key> */
|
|
2606
|
-
authorization?: string;
|
|
2607
|
-
};
|
|
2608
|
-
path: {
|
|
2609
|
-
address: string;
|
|
2610
|
-
};
|
|
2611
|
-
cookie?: never;
|
|
2612
|
-
};
|
|
2613
|
-
requestBody?: never;
|
|
2614
|
-
responses: {
|
|
2615
|
-
200: {
|
|
2616
|
-
headers: {
|
|
2617
|
-
[name: string]: unknown;
|
|
2618
|
-
};
|
|
2619
|
-
content: {
|
|
2620
|
-
"application/json": {
|
|
2621
|
-
tx: string;
|
|
2622
|
-
job: string;
|
|
2623
|
-
delisted: boolean;
|
|
2624
|
-
};
|
|
2625
|
-
"multipart/form-data": {
|
|
2626
|
-
tx: string;
|
|
2627
|
-
job: string;
|
|
2628
|
-
delisted: boolean;
|
|
2629
|
-
};
|
|
2630
|
-
"text/plain": {
|
|
2631
|
-
tx: string;
|
|
2632
|
-
job: string;
|
|
2633
|
-
delisted: boolean;
|
|
2634
|
-
};
|
|
2635
|
-
};
|
|
2636
|
-
};
|
|
2637
|
-
};
|
|
2638
|
-
};
|
|
2639
|
-
getApiJobsByAddress: {
|
|
2640
|
-
parameters: {
|
|
2641
|
-
query?: never;
|
|
2642
|
-
header?: never;
|
|
2643
|
-
path: {
|
|
2644
|
-
address: string;
|
|
2645
|
-
};
|
|
2646
|
-
cookie?: never;
|
|
2647
|
-
};
|
|
2648
|
-
requestBody?: never;
|
|
2649
|
-
responses: {
|
|
2650
|
-
200: {
|
|
2651
|
-
headers: {
|
|
2652
|
-
[name: string]: unknown;
|
|
2653
|
-
};
|
|
2654
|
-
content: {
|
|
2655
|
-
"application/json": {
|
|
2656
|
-
ipfsJob: string;
|
|
2657
|
-
ipfsResult: string | null;
|
|
2658
|
-
market: string;
|
|
2659
|
-
node: string;
|
|
2660
|
-
payer: string;
|
|
2661
|
-
price: number;
|
|
2662
|
-
project: string;
|
|
2663
|
-
state: number;
|
|
2664
|
-
type: string | null;
|
|
2665
|
-
jobDefinition: unknown | null;
|
|
2666
|
-
jobResult: unknown | null;
|
|
2667
|
-
jobStatus: string | null;
|
|
2668
|
-
timeEnd: number;
|
|
2669
|
-
timeStart: number;
|
|
2670
|
-
benchmarkProcessedAt: (Record<string, never> | string) | null;
|
|
2671
|
-
timeout: number;
|
|
2672
|
-
usdRewardPerHour: number | null;
|
|
2673
|
-
listedAt: number | null;
|
|
2674
|
-
};
|
|
2675
|
-
"multipart/form-data": {
|
|
2676
|
-
ipfsJob: string;
|
|
2677
|
-
ipfsResult: string | null;
|
|
2678
|
-
market: string;
|
|
2679
|
-
node: string;
|
|
2680
|
-
payer: string;
|
|
2681
|
-
price: number;
|
|
2682
|
-
project: string;
|
|
2683
|
-
state: number;
|
|
2684
|
-
type: string | null;
|
|
2685
|
-
jobDefinition: unknown | null;
|
|
2686
|
-
jobResult: unknown | null;
|
|
2687
|
-
jobStatus: string | null;
|
|
2688
|
-
timeEnd: number;
|
|
2689
|
-
timeStart: number;
|
|
2690
|
-
benchmarkProcessedAt: (Record<string, never> | string) | null;
|
|
2691
|
-
timeout: number;
|
|
2692
|
-
usdRewardPerHour: number | null;
|
|
2693
|
-
listedAt: number | null;
|
|
2694
|
-
};
|
|
2695
|
-
"text/plain": {
|
|
2696
|
-
ipfsJob: string;
|
|
2697
|
-
ipfsResult: string | null;
|
|
2698
|
-
market: string;
|
|
2699
|
-
node: string;
|
|
2700
|
-
payer: string;
|
|
2701
|
-
price: number;
|
|
2702
|
-
project: string;
|
|
2703
|
-
state: number;
|
|
2704
|
-
type: string | null;
|
|
2705
|
-
jobDefinition: unknown | null;
|
|
2706
|
-
jobResult: unknown | null;
|
|
2707
|
-
jobStatus: string | null;
|
|
2708
|
-
timeEnd: number;
|
|
2709
|
-
timeStart: number;
|
|
2710
|
-
benchmarkProcessedAt: (Record<string, never> | string) | null;
|
|
2711
|
-
timeout: number;
|
|
2712
|
-
usdRewardPerHour: number | null;
|
|
2713
|
-
listedAt: number | null;
|
|
2714
|
-
};
|
|
2715
|
-
};
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
};
|
|
2719
|
-
getApiMarkets: {
|
|
2720
|
-
parameters: {
|
|
2721
|
-
query?: {
|
|
2722
|
-
filterKey?: string;
|
|
2723
|
-
filterValue?: string;
|
|
2724
|
-
limit?: string;
|
|
2725
|
-
type?: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2726
|
-
};
|
|
2727
|
-
header?: never;
|
|
2728
|
-
path?: never;
|
|
2729
|
-
cookie?: never;
|
|
2730
|
-
};
|
|
2731
|
-
requestBody?: never;
|
|
2732
|
-
responses: {
|
|
2733
|
-
200: {
|
|
2734
|
-
headers: {
|
|
2735
|
-
[name: string]: unknown;
|
|
2736
|
-
};
|
|
2737
|
-
content: {
|
|
2738
|
-
"application/json": {
|
|
2739
|
-
address: string;
|
|
2740
|
-
slug: string;
|
|
2741
|
-
name: string;
|
|
2742
|
-
sft: string;
|
|
2743
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2744
|
-
usd_reward_per_hour: unknown;
|
|
2745
|
-
nos_reward_per_second: number;
|
|
2746
|
-
nos_job_price_per_second: number;
|
|
2747
|
-
network_fee_percentage: number;
|
|
2748
|
-
premium_community_relation: string | null;
|
|
2749
|
-
gpu_types: string[];
|
|
2750
|
-
required_images: string[];
|
|
2751
|
-
required_remote_resources: ({
|
|
2752
|
-
/** @constant */
|
|
2753
|
-
type: "Ollama";
|
|
2754
|
-
model: string;
|
|
2755
|
-
} | {
|
|
2756
|
-
type: "S3" | "Ollama" | "HF";
|
|
2757
|
-
url: string;
|
|
2758
|
-
IAM: {
|
|
2759
|
-
access_key_id: string;
|
|
2760
|
-
secret_access_key: string;
|
|
2761
|
-
};
|
|
2762
|
-
} | {
|
|
2763
|
-
type: "S3" | "Ollama" | "HF";
|
|
2764
|
-
url: string;
|
|
2765
|
-
})[];
|
|
2766
|
-
nodes?: unknown[];
|
|
2767
|
-
client: boolean;
|
|
2768
|
-
lowest_vram?: number;
|
|
2769
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2770
|
-
}[];
|
|
2771
|
-
"multipart/form-data": {
|
|
2772
|
-
address: string;
|
|
2773
|
-
slug: string;
|
|
2774
|
-
name: string;
|
|
2775
|
-
sft: string;
|
|
2776
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2777
|
-
usd_reward_per_hour: unknown;
|
|
2778
|
-
nos_reward_per_second: number;
|
|
2779
|
-
nos_job_price_per_second: number;
|
|
2780
|
-
network_fee_percentage: number;
|
|
2781
|
-
premium_community_relation: string | null;
|
|
2782
|
-
gpu_types: string[];
|
|
2783
|
-
required_images: string[];
|
|
2784
|
-
required_remote_resources: ({
|
|
2785
|
-
/** @constant */
|
|
2786
|
-
type: "Ollama";
|
|
2787
|
-
model: string;
|
|
2788
|
-
} | {
|
|
2789
|
-
type: "S3" | "Ollama" | "HF";
|
|
2790
|
-
url: string;
|
|
2791
|
-
IAM: {
|
|
2792
|
-
access_key_id: string;
|
|
2793
|
-
secret_access_key: string;
|
|
2794
|
-
};
|
|
2795
|
-
} | {
|
|
2796
|
-
type: "S3" | "Ollama" | "HF";
|
|
2797
|
-
url: string;
|
|
2798
|
-
})[];
|
|
2799
|
-
nodes?: unknown[];
|
|
2800
|
-
client: boolean;
|
|
2801
|
-
lowest_vram?: number;
|
|
2802
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2803
|
-
}[];
|
|
2804
|
-
"text/plain": {
|
|
2805
|
-
address: string;
|
|
2806
|
-
slug: string;
|
|
2807
|
-
name: string;
|
|
2808
|
-
sft: string;
|
|
2809
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2810
|
-
usd_reward_per_hour: unknown;
|
|
2811
|
-
nos_reward_per_second: number;
|
|
2812
|
-
nos_job_price_per_second: number;
|
|
2813
|
-
network_fee_percentage: number;
|
|
2814
|
-
premium_community_relation: string | null;
|
|
2815
|
-
gpu_types: string[];
|
|
2816
|
-
required_images: string[];
|
|
2817
|
-
required_remote_resources: ({
|
|
2818
|
-
/** @constant */
|
|
2819
|
-
type: "Ollama";
|
|
2820
|
-
model: string;
|
|
2821
|
-
} | {
|
|
2822
|
-
type: "S3" | "Ollama" | "HF";
|
|
2823
|
-
url: string;
|
|
2824
|
-
IAM: {
|
|
2825
|
-
access_key_id: string;
|
|
2826
|
-
secret_access_key: string;
|
|
2827
|
-
};
|
|
2828
|
-
} | {
|
|
2829
|
-
type: "S3" | "Ollama" | "HF";
|
|
2830
|
-
url: string;
|
|
2831
|
-
})[];
|
|
2832
|
-
nodes?: unknown[];
|
|
2833
|
-
client: boolean;
|
|
2834
|
-
lowest_vram?: number;
|
|
2835
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2836
|
-
}[];
|
|
2837
|
-
};
|
|
2838
|
-
};
|
|
2839
|
-
500: {
|
|
2840
|
-
headers: {
|
|
2841
|
-
[name: string]: unknown;
|
|
2842
|
-
};
|
|
2843
|
-
content: {
|
|
2844
|
-
"application/json": {
|
|
2845
|
-
name: string;
|
|
2846
|
-
message: string;
|
|
2847
|
-
};
|
|
2848
|
-
"multipart/form-data": {
|
|
2849
|
-
name: string;
|
|
2850
|
-
message: string;
|
|
2851
|
-
};
|
|
2852
|
-
"text/plain": {
|
|
2853
|
-
name: string;
|
|
2854
|
-
message: string;
|
|
2855
|
-
};
|
|
2856
|
-
};
|
|
2857
|
-
};
|
|
2858
|
-
};
|
|
2859
|
-
};
|
|
2860
|
-
getApiMarketsById: {
|
|
2861
|
-
parameters: {
|
|
2862
|
-
query?: never;
|
|
2863
|
-
header?: never;
|
|
2864
|
-
path: {
|
|
2865
|
-
id: string;
|
|
2866
|
-
};
|
|
2867
|
-
cookie?: never;
|
|
2868
|
-
};
|
|
2869
|
-
requestBody?: never;
|
|
2870
|
-
responses: {
|
|
2871
|
-
200: {
|
|
2872
|
-
headers: {
|
|
2873
|
-
[name: string]: unknown;
|
|
2874
|
-
};
|
|
2875
|
-
content: {
|
|
2876
|
-
"application/json": {
|
|
2877
|
-
address: string;
|
|
2878
|
-
slug: string;
|
|
2879
|
-
name: string;
|
|
2880
|
-
sft: string;
|
|
2881
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2882
|
-
usd_reward_per_hour: unknown;
|
|
2883
|
-
nos_reward_per_second: number;
|
|
2884
|
-
nos_job_price_per_second: number;
|
|
2885
|
-
network_fee_percentage: number;
|
|
2886
|
-
premium_community_relation: string | null;
|
|
2887
|
-
gpu_types: string[];
|
|
2888
|
-
required_images: string[];
|
|
2889
|
-
required_remote_resources: ({
|
|
2890
|
-
/** @constant */
|
|
2891
|
-
type: "Ollama";
|
|
2892
|
-
model: string;
|
|
2893
|
-
} | {
|
|
2894
|
-
type: "S3" | "Ollama" | "HF";
|
|
2895
|
-
url: string;
|
|
2896
|
-
IAM: {
|
|
2897
|
-
access_key_id: string;
|
|
2898
|
-
secret_access_key: string;
|
|
2899
|
-
};
|
|
2900
|
-
} | {
|
|
2901
|
-
type: "S3" | "Ollama" | "HF";
|
|
2902
|
-
url: string;
|
|
2903
|
-
})[];
|
|
2904
|
-
nodes?: unknown[];
|
|
2905
|
-
client: boolean;
|
|
2906
|
-
lowest_vram?: number;
|
|
2907
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2908
|
-
};
|
|
2909
|
-
"multipart/form-data": {
|
|
2910
|
-
address: string;
|
|
2911
|
-
slug: string;
|
|
2912
|
-
name: string;
|
|
2913
|
-
sft: string;
|
|
2914
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2915
|
-
usd_reward_per_hour: unknown;
|
|
2916
|
-
nos_reward_per_second: number;
|
|
2917
|
-
nos_job_price_per_second: number;
|
|
2918
|
-
network_fee_percentage: number;
|
|
2919
|
-
premium_community_relation: string | null;
|
|
2920
|
-
gpu_types: string[];
|
|
2921
|
-
required_images: string[];
|
|
2922
|
-
required_remote_resources: ({
|
|
2923
|
-
/** @constant */
|
|
2924
|
-
type: "Ollama";
|
|
2925
|
-
model: string;
|
|
2926
|
-
} | {
|
|
2927
|
-
type: "S3" | "Ollama" | "HF";
|
|
2928
|
-
url: string;
|
|
2929
|
-
IAM: {
|
|
2930
|
-
access_key_id: string;
|
|
2931
|
-
secret_access_key: string;
|
|
2932
|
-
};
|
|
2933
|
-
} | {
|
|
2934
|
-
type: "S3" | "Ollama" | "HF";
|
|
2935
|
-
url: string;
|
|
2936
|
-
})[];
|
|
2937
|
-
nodes?: unknown[];
|
|
2938
|
-
client: boolean;
|
|
2939
|
-
lowest_vram?: number;
|
|
2940
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2941
|
-
};
|
|
2942
|
-
"text/plain": {
|
|
2943
|
-
address: string;
|
|
2944
|
-
slug: string;
|
|
2945
|
-
name: string;
|
|
2946
|
-
sft: string;
|
|
2947
|
-
type: "PREMIUM" | "COMMUNITY" | "OTHER";
|
|
2948
|
-
usd_reward_per_hour: unknown;
|
|
2949
|
-
nos_reward_per_second: number;
|
|
2950
|
-
nos_job_price_per_second: number;
|
|
2951
|
-
network_fee_percentage: number;
|
|
2952
|
-
premium_community_relation: string | null;
|
|
2953
|
-
gpu_types: string[];
|
|
2954
|
-
required_images: string[];
|
|
2955
|
-
required_remote_resources: ({
|
|
2956
|
-
/** @constant */
|
|
2957
|
-
type: "Ollama";
|
|
2958
|
-
model: string;
|
|
2959
|
-
} | {
|
|
2960
|
-
type: "S3" | "Ollama" | "HF";
|
|
2961
|
-
url: string;
|
|
2962
|
-
IAM: {
|
|
2963
|
-
access_key_id: string;
|
|
2964
|
-
secret_access_key: string;
|
|
2965
|
-
};
|
|
2966
|
-
} | {
|
|
2967
|
-
type: "S3" | "Ollama" | "HF";
|
|
2968
|
-
url: string;
|
|
2969
|
-
})[];
|
|
2970
|
-
nodes?: unknown[];
|
|
2971
|
-
client: boolean;
|
|
2972
|
-
lowest_vram?: number;
|
|
2973
|
-
max_usd_uptime_reward_per_day?: number;
|
|
2974
|
-
};
|
|
2975
|
-
};
|
|
2976
|
-
};
|
|
2977
|
-
500: {
|
|
2978
|
-
headers: {
|
|
2979
|
-
[name: string]: unknown;
|
|
2980
|
-
};
|
|
2981
|
-
content: {
|
|
2982
|
-
"application/json": {
|
|
2983
|
-
name: string;
|
|
2984
|
-
message: string;
|
|
2985
|
-
};
|
|
2986
|
-
"multipart/form-data": {
|
|
2987
|
-
name: string;
|
|
2988
|
-
message: string;
|
|
2989
|
-
};
|
|
2990
|
-
"text/plain": {
|
|
2991
|
-
name: string;
|
|
2992
|
-
message: string;
|
|
2993
|
-
};
|
|
2994
|
-
};
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
|
-
};
|
|
2998
|
-
"getApiMarketsByIdRequired-resources": {
|
|
2999
|
-
parameters: {
|
|
3000
|
-
query?: never;
|
|
3001
|
-
header?: never;
|
|
3002
|
-
path: {
|
|
3003
|
-
id: string;
|
|
3004
|
-
};
|
|
3005
|
-
cookie?: never;
|
|
3006
|
-
};
|
|
3007
|
-
requestBody?: never;
|
|
3008
|
-
responses: {
|
|
3009
|
-
200: {
|
|
3010
|
-
headers: {
|
|
3011
|
-
[name: string]: unknown;
|
|
3012
|
-
};
|
|
3013
|
-
content: {
|
|
3014
|
-
"application/json": {
|
|
3015
|
-
required_images: string[];
|
|
3016
|
-
required_remote_resources: ({
|
|
3017
|
-
/** @constant */
|
|
3018
|
-
type: "Ollama";
|
|
3019
|
-
model: string;
|
|
3020
|
-
} | {
|
|
3021
|
-
type: "S3" | "Ollama" | "HF";
|
|
3022
|
-
url?: string;
|
|
3023
|
-
files?: string[];
|
|
3024
|
-
buckets?: {
|
|
3025
|
-
url: string;
|
|
3026
|
-
files?: string[];
|
|
3027
|
-
}[];
|
|
3028
|
-
IAM: {
|
|
3029
|
-
access_key_id: string;
|
|
3030
|
-
secret_access_key: string;
|
|
3031
|
-
};
|
|
3032
|
-
} | {
|
|
3033
|
-
type: "S3" | "Ollama" | "HF";
|
|
3034
|
-
url?: string;
|
|
3035
|
-
files?: string[];
|
|
3036
|
-
buckets?: {
|
|
3037
|
-
url: string;
|
|
3038
|
-
files?: string[];
|
|
3039
|
-
}[];
|
|
3040
|
-
})[];
|
|
3041
|
-
};
|
|
3042
|
-
"multipart/form-data": {
|
|
3043
|
-
required_images: string[];
|
|
3044
|
-
required_remote_resources: ({
|
|
3045
|
-
/** @constant */
|
|
3046
|
-
type: "Ollama";
|
|
3047
|
-
model: string;
|
|
3048
|
-
} | {
|
|
3049
|
-
type: "S3" | "Ollama" | "HF";
|
|
3050
|
-
url?: string;
|
|
3051
|
-
files?: string[];
|
|
3052
|
-
buckets?: {
|
|
3053
|
-
url: string;
|
|
3054
|
-
files?: string[];
|
|
3055
|
-
}[];
|
|
3056
|
-
IAM: {
|
|
3057
|
-
access_key_id: string;
|
|
3058
|
-
secret_access_key: string;
|
|
3059
|
-
};
|
|
3060
|
-
} | {
|
|
3061
|
-
type: "S3" | "Ollama" | "HF";
|
|
3062
|
-
url?: string;
|
|
3063
|
-
files?: string[];
|
|
3064
|
-
buckets?: {
|
|
3065
|
-
url: string;
|
|
3066
|
-
files?: string[];
|
|
3067
|
-
}[];
|
|
3068
|
-
})[];
|
|
3069
|
-
};
|
|
3070
|
-
"text/plain": {
|
|
3071
|
-
required_images: string[];
|
|
3072
|
-
required_remote_resources: ({
|
|
3073
|
-
/** @constant */
|
|
3074
|
-
type: "Ollama";
|
|
3075
|
-
model: string;
|
|
3076
|
-
} | {
|
|
3077
|
-
type: "S3" | "Ollama" | "HF";
|
|
3078
|
-
url?: string;
|
|
3079
|
-
files?: string[];
|
|
3080
|
-
buckets?: {
|
|
3081
|
-
url: string;
|
|
3082
|
-
files?: string[];
|
|
3083
|
-
}[];
|
|
3084
|
-
IAM: {
|
|
3085
|
-
access_key_id: string;
|
|
3086
|
-
secret_access_key: string;
|
|
3087
|
-
};
|
|
3088
|
-
} | {
|
|
3089
|
-
type: "S3" | "Ollama" | "HF";
|
|
3090
|
-
url?: string;
|
|
3091
|
-
files?: string[];
|
|
3092
|
-
buckets?: {
|
|
3093
|
-
url: string;
|
|
3094
|
-
files?: string[];
|
|
3095
|
-
}[];
|
|
3096
|
-
})[];
|
|
3097
|
-
};
|
|
3098
|
-
};
|
|
3099
|
-
};
|
|
3100
|
-
500: {
|
|
3101
|
-
headers: {
|
|
3102
|
-
[name: string]: unknown;
|
|
3103
|
-
};
|
|
3104
|
-
content: {
|
|
3105
|
-
"application/json": {
|
|
3106
|
-
name: string;
|
|
3107
|
-
message: string;
|
|
3108
|
-
};
|
|
3109
|
-
"multipart/form-data": {
|
|
3110
|
-
name: string;
|
|
3111
|
-
message: string;
|
|
3112
|
-
};
|
|
3113
|
-
"text/plain": {
|
|
3114
|
-
name: string;
|
|
3115
|
-
message: string;
|
|
3116
|
-
};
|
|
3117
|
-
};
|
|
3118
|
-
};
|
|
3119
|
-
};
|
|
3120
|
-
};
|
|
3121
|
-
getApiCreditsBalance: {
|
|
3122
|
-
parameters: {
|
|
3123
|
-
query?: never;
|
|
3124
|
-
header?: {
|
|
3125
|
-
/** @description Authorization header: Bearer <jwt> or Bearer <key> */
|
|
3126
|
-
authorization?: string;
|
|
3127
|
-
};
|
|
3128
|
-
path?: never;
|
|
3129
|
-
cookie?: never;
|
|
3130
|
-
};
|
|
3131
|
-
requestBody?: never;
|
|
3132
|
-
responses: {
|
|
3133
|
-
200: {
|
|
3134
|
-
headers: {
|
|
3135
|
-
[name: string]: unknown;
|
|
3136
|
-
};
|
|
3137
|
-
content: {
|
|
3138
|
-
"application/json": {
|
|
3139
|
-
/** @description Total credits assigned to the user (USD) */
|
|
3140
|
-
assignedCredits: number;
|
|
3141
|
-
/** @description Credits reserved for pending jobs (USD) */
|
|
3142
|
-
reservedCredits: number;
|
|
3143
|
-
/** @description Credits spent/settled for completed jobs (USD) */
|
|
3144
|
-
settledCredits: number;
|
|
3145
|
-
};
|
|
3146
|
-
"multipart/form-data": {
|
|
3147
|
-
/** @description Total credits assigned to the user (USD) */
|
|
3148
|
-
assignedCredits: number;
|
|
3149
|
-
/** @description Credits reserved for pending jobs (USD) */
|
|
3150
|
-
reservedCredits: number;
|
|
3151
|
-
/** @description Credits spent/settled for completed jobs (USD) */
|
|
3152
|
-
settledCredits: number;
|
|
3153
|
-
};
|
|
3154
|
-
"text/plain": {
|
|
3155
|
-
/** @description Total credits assigned to the user (USD) */
|
|
3156
|
-
assignedCredits: number;
|
|
3157
|
-
/** @description Credits reserved for pending jobs (USD) */
|
|
3158
|
-
reservedCredits: number;
|
|
3159
|
-
/** @description Credits spent/settled for completed jobs (USD) */
|
|
3160
|
-
settledCredits: number;
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
|
-
};
|
|
3164
|
-
};
|
|
3165
|
-
};
|
|
3166
|
-
}
|
|
3167
|
-
//# sourceMappingURL=schema.d.ts.map
|