@lifesi/genesis 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +157 -0
- package/dist/client.js +11 -1
- package/dist/generated/operations.d.ts +157 -0
- package/dist/generated/operations.js +186 -2
- package/dist/generated/schema.d.ts +375 -0
- package/dist/genesis.d.ts +52 -0
- package/dist/genesis.js +9 -0
- package/dist/genesis.openapi.json +459 -2
- package/dist/hives-node.js +1 -1
- package/package.json +1 -1
|
@@ -1321,6 +1321,26 @@ export interface paths {
|
|
|
1321
1321
|
patch?: never;
|
|
1322
1322
|
trace?: never;
|
|
1323
1323
|
};
|
|
1324
|
+
"/v1/hives/projects/{project_id}/deployments/{deployment_id}/stop": {
|
|
1325
|
+
parameters: {
|
|
1326
|
+
query?: never;
|
|
1327
|
+
header?: never;
|
|
1328
|
+
path?: never;
|
|
1329
|
+
cookie?: never;
|
|
1330
|
+
};
|
|
1331
|
+
get?: never;
|
|
1332
|
+
put?: never;
|
|
1333
|
+
/**
|
|
1334
|
+
* Stop an active deployment after runtime acknowledgment
|
|
1335
|
+
* @description Bodyless explicit stop of an owned deployment. A successful response confirms cancelled after runtime stop acknowledgment. An uncertain stop remains stopping; read the same deployment before explicitly reconciling with another stop request. Clients never automatically replay this mutation.
|
|
1336
|
+
*/
|
|
1337
|
+
post: operations["hives_stop_deployment"];
|
|
1338
|
+
delete?: never;
|
|
1339
|
+
options?: never;
|
|
1340
|
+
head?: never;
|
|
1341
|
+
patch?: never;
|
|
1342
|
+
trace?: never;
|
|
1343
|
+
};
|
|
1324
1344
|
"/v1/hives/projects/{project_id}/deployments/upload": {
|
|
1325
1345
|
parameters: {
|
|
1326
1346
|
query?: never;
|
|
@@ -2955,6 +2975,26 @@ export interface paths {
|
|
|
2955
2975
|
patch: operations["relays_updateZone"];
|
|
2956
2976
|
trace?: never;
|
|
2957
2977
|
};
|
|
2978
|
+
"/v1/relays/zones/{zone}/dnssec": {
|
|
2979
|
+
parameters: {
|
|
2980
|
+
query?: never;
|
|
2981
|
+
header?: never;
|
|
2982
|
+
path: {
|
|
2983
|
+
/** @description Zone name */
|
|
2984
|
+
zone: components["parameters"]["Relays.Zone"];
|
|
2985
|
+
};
|
|
2986
|
+
cookie?: never;
|
|
2987
|
+
};
|
|
2988
|
+
/** Read owned DNSSEC status; unavailable public key details return 503 */
|
|
2989
|
+
get: operations["relays_getDnssec"];
|
|
2990
|
+
put?: never;
|
|
2991
|
+
post?: never;
|
|
2992
|
+
delete?: never;
|
|
2993
|
+
options?: never;
|
|
2994
|
+
head?: never;
|
|
2995
|
+
patch?: never;
|
|
2996
|
+
trace?: never;
|
|
2997
|
+
};
|
|
2958
2998
|
"/v1/relays/zones/{zone}/records": {
|
|
2959
2999
|
parameters: {
|
|
2960
3000
|
query?: never;
|
|
@@ -4428,6 +4468,41 @@ export interface paths {
|
|
|
4428
4468
|
patch?: never;
|
|
4429
4469
|
trace?: never;
|
|
4430
4470
|
};
|
|
4471
|
+
"/v1/silos/projects": {
|
|
4472
|
+
parameters: {
|
|
4473
|
+
query?: never;
|
|
4474
|
+
header?: never;
|
|
4475
|
+
path?: never;
|
|
4476
|
+
cookie?: never;
|
|
4477
|
+
};
|
|
4478
|
+
/** List persisted projects in the verified organization */
|
|
4479
|
+
get: operations["silos_listProjects"];
|
|
4480
|
+
put?: never;
|
|
4481
|
+
/** Create project metadata without allocating a database */
|
|
4482
|
+
post: operations["silos_createProject"];
|
|
4483
|
+
delete?: never;
|
|
4484
|
+
options?: never;
|
|
4485
|
+
head?: never;
|
|
4486
|
+
patch?: never;
|
|
4487
|
+
trace?: never;
|
|
4488
|
+
};
|
|
4489
|
+
"/v1/silos/projects/{project_id}": {
|
|
4490
|
+
parameters: {
|
|
4491
|
+
query?: never;
|
|
4492
|
+
header?: never;
|
|
4493
|
+
path?: never;
|
|
4494
|
+
cookie?: never;
|
|
4495
|
+
};
|
|
4496
|
+
/** Open an owned project and its persisted database metadata */
|
|
4497
|
+
get: operations["silos_getProject"];
|
|
4498
|
+
put?: never;
|
|
4499
|
+
post?: never;
|
|
4500
|
+
delete?: never;
|
|
4501
|
+
options?: never;
|
|
4502
|
+
head?: never;
|
|
4503
|
+
patch?: never;
|
|
4504
|
+
trace?: never;
|
|
4505
|
+
};
|
|
4431
4506
|
}
|
|
4432
4507
|
export type webhooks = Record<string, never>;
|
|
4433
4508
|
export interface components {
|
|
@@ -7110,6 +7185,26 @@ export interface components {
|
|
|
7110
7185
|
zones?: components["schemas"]["Relays.Zone"][];
|
|
7111
7186
|
meta?: components["schemas"]["Relays.Meta"];
|
|
7112
7187
|
};
|
|
7188
|
+
"Relays.DnssecStatus": {
|
|
7189
|
+
zone: string;
|
|
7190
|
+
enabled: boolean;
|
|
7191
|
+
keys: {
|
|
7192
|
+
[key: string]: unknown;
|
|
7193
|
+
}[];
|
|
7194
|
+
ds_records: {
|
|
7195
|
+
[key: string]: unknown;
|
|
7196
|
+
}[];
|
|
7197
|
+
settings: {
|
|
7198
|
+
nsec3: {
|
|
7199
|
+
algorithm?: number;
|
|
7200
|
+
flags?: number;
|
|
7201
|
+
iterations?: number;
|
|
7202
|
+
salt?: string;
|
|
7203
|
+
} | null;
|
|
7204
|
+
auto_publish_cds: boolean;
|
|
7205
|
+
auto_publish_cdnskey: boolean;
|
|
7206
|
+
};
|
|
7207
|
+
};
|
|
7113
7208
|
"Relays.CreateZone": {
|
|
7114
7209
|
name: string;
|
|
7115
7210
|
/**
|
|
@@ -8575,6 +8670,27 @@ export interface components {
|
|
|
8575
8670
|
auditId: string | null;
|
|
8576
8671
|
idempotentReplay: boolean;
|
|
8577
8672
|
};
|
|
8673
|
+
"Silos.Project": {
|
|
8674
|
+
/** Format: uuid */
|
|
8675
|
+
id: string;
|
|
8676
|
+
name: string;
|
|
8677
|
+
slug: string;
|
|
8678
|
+
region: string;
|
|
8679
|
+
databaseCount: number;
|
|
8680
|
+
/** Format: date-time */
|
|
8681
|
+
createdAt: string;
|
|
8682
|
+
/** Format: date-time */
|
|
8683
|
+
updatedAt: string;
|
|
8684
|
+
};
|
|
8685
|
+
"Silos.Database": {
|
|
8686
|
+
/** Format: uuid */
|
|
8687
|
+
id: string;
|
|
8688
|
+
name: string;
|
|
8689
|
+
state: string;
|
|
8690
|
+
region: string;
|
|
8691
|
+
/** Format: date-time */
|
|
8692
|
+
createdAt: string;
|
|
8693
|
+
};
|
|
8578
8694
|
};
|
|
8579
8695
|
responses: {
|
|
8580
8696
|
/** @description Foundry API error. */
|
|
@@ -11828,6 +11944,71 @@ export interface operations {
|
|
|
11828
11944
|
};
|
|
11829
11945
|
};
|
|
11830
11946
|
};
|
|
11947
|
+
hives_stop_deployment: {
|
|
11948
|
+
parameters: {
|
|
11949
|
+
query?: never;
|
|
11950
|
+
header?: never;
|
|
11951
|
+
path: {
|
|
11952
|
+
project_id: string;
|
|
11953
|
+
deployment_id: string;
|
|
11954
|
+
};
|
|
11955
|
+
cookie?: never;
|
|
11956
|
+
};
|
|
11957
|
+
requestBody?: never;
|
|
11958
|
+
responses: {
|
|
11959
|
+
/** @description Runtime stop acknowledged; deployment is cancelled */
|
|
11960
|
+
200: {
|
|
11961
|
+
headers: {
|
|
11962
|
+
[name: string]: unknown;
|
|
11963
|
+
};
|
|
11964
|
+
content: {
|
|
11965
|
+
"application/json": components["schemas"]["Hives.DeploymentResponse"];
|
|
11966
|
+
};
|
|
11967
|
+
};
|
|
11968
|
+
/** @description Unauthorized */
|
|
11969
|
+
401: {
|
|
11970
|
+
headers: {
|
|
11971
|
+
[name: string]: unknown;
|
|
11972
|
+
};
|
|
11973
|
+
content?: never;
|
|
11974
|
+
};
|
|
11975
|
+
/** @description Missing Hives scope */
|
|
11976
|
+
403: {
|
|
11977
|
+
headers: {
|
|
11978
|
+
[name: string]: unknown;
|
|
11979
|
+
};
|
|
11980
|
+
content?: never;
|
|
11981
|
+
};
|
|
11982
|
+
/** @description Project or deployment is not owned by the authenticated org and project */
|
|
11983
|
+
404: {
|
|
11984
|
+
headers: {
|
|
11985
|
+
[name: string]: unknown;
|
|
11986
|
+
};
|
|
11987
|
+
content?: never;
|
|
11988
|
+
};
|
|
11989
|
+
/** @description Deployment status does not permit this action */
|
|
11990
|
+
409: {
|
|
11991
|
+
headers: {
|
|
11992
|
+
[name: string]: unknown;
|
|
11993
|
+
};
|
|
11994
|
+
content?: never;
|
|
11995
|
+
};
|
|
11996
|
+
/** @description Runtime operation failed */
|
|
11997
|
+
502: {
|
|
11998
|
+
headers: {
|
|
11999
|
+
[name: string]: unknown;
|
|
12000
|
+
};
|
|
12001
|
+
content?: never;
|
|
12002
|
+
};
|
|
12003
|
+
/** @description Runtime unavailable */
|
|
12004
|
+
503: {
|
|
12005
|
+
headers: {
|
|
12006
|
+
[name: string]: unknown;
|
|
12007
|
+
};
|
|
12008
|
+
content?: never;
|
|
12009
|
+
};
|
|
12010
|
+
};
|
|
12011
|
+
};
|
|
11831
12012
|
hives_upload_deployment: {
|
|
11832
12013
|
parameters: {
|
|
11833
12014
|
query?: never;
|
|
@@ -18719,6 +18900,33 @@ export interface operations {
|
|
|
18719
18900
|
404: components["responses"]["Relays.Error"];
|
|
18720
18901
|
};
|
|
18721
18902
|
};
|
|
18903
|
+
relays_getDnssec: {
|
|
18904
|
+
parameters: {
|
|
18905
|
+
query?: never;
|
|
18906
|
+
header?: never;
|
|
18907
|
+
path: {
|
|
18908
|
+
/** @description Zone name */
|
|
18909
|
+
zone: components["parameters"]["Relays.Zone"];
|
|
18910
|
+
};
|
|
18911
|
+
cookie?: never;
|
|
18912
|
+
};
|
|
18913
|
+
requestBody?: never;
|
|
18914
|
+
responses: {
|
|
18915
|
+
/** @description Stored DNSSEC state */
|
|
18916
|
+
200: {
|
|
18917
|
+
headers: {
|
|
18918
|
+
[name: string]: unknown;
|
|
18919
|
+
};
|
|
18920
|
+
content: {
|
|
18921
|
+
"application/json": components["schemas"]["Relays.DnssecStatus"];
|
|
18922
|
+
};
|
|
18923
|
+
};
|
|
18924
|
+
401: components["responses"]["Relays.Error"];
|
|
18925
|
+
403: components["responses"]["Relays.Error"];
|
|
18926
|
+
404: components["responses"]["Relays.Error"];
|
|
18927
|
+
503: components["responses"]["Relays.Error"];
|
|
18928
|
+
};
|
|
18929
|
+
};
|
|
18722
18930
|
relays_listRecords: {
|
|
18723
18931
|
parameters: {
|
|
18724
18932
|
query?: {
|
|
@@ -24112,4 +24320,171 @@ export interface operations {
|
|
|
24112
24320
|
};
|
|
24113
24321
|
};
|
|
24114
24322
|
};
|
|
24323
|
+
silos_listProjects: {
|
|
24324
|
+
parameters: {
|
|
24325
|
+
query?: never;
|
|
24326
|
+
header?: never;
|
|
24327
|
+
path?: never;
|
|
24328
|
+
cookie?: never;
|
|
24329
|
+
};
|
|
24330
|
+
requestBody?: never;
|
|
24331
|
+
responses: {
|
|
24332
|
+
/** @description Persisted organization-owned project metadata */
|
|
24333
|
+
200: {
|
|
24334
|
+
headers: {
|
|
24335
|
+
[name: string]: unknown;
|
|
24336
|
+
};
|
|
24337
|
+
content: {
|
|
24338
|
+
"application/json": {
|
|
24339
|
+
projects: components["schemas"]["Silos.Project"][];
|
|
24340
|
+
};
|
|
24341
|
+
};
|
|
24342
|
+
};
|
|
24343
|
+
/** @description Verified LifeID identity required */
|
|
24344
|
+
401: {
|
|
24345
|
+
headers: {
|
|
24346
|
+
[name: string]: unknown;
|
|
24347
|
+
};
|
|
24348
|
+
content?: never;
|
|
24349
|
+
};
|
|
24350
|
+
/** @description Silos scope required */
|
|
24351
|
+
403: {
|
|
24352
|
+
headers: {
|
|
24353
|
+
[name: string]: unknown;
|
|
24354
|
+
};
|
|
24355
|
+
content?: never;
|
|
24356
|
+
};
|
|
24357
|
+
/** @description Silos unavailable */
|
|
24358
|
+
503: {
|
|
24359
|
+
headers: {
|
|
24360
|
+
[name: string]: unknown;
|
|
24361
|
+
};
|
|
24362
|
+
content?: never;
|
|
24363
|
+
};
|
|
24364
|
+
};
|
|
24365
|
+
};
|
|
24366
|
+
silos_createProject: {
|
|
24367
|
+
parameters: {
|
|
24368
|
+
query?: never;
|
|
24369
|
+
header?: never;
|
|
24370
|
+
path?: never;
|
|
24371
|
+
cookie?: never;
|
|
24372
|
+
};
|
|
24373
|
+
requestBody: {
|
|
24374
|
+
content: {
|
|
24375
|
+
"application/json": {
|
|
24376
|
+
name: string;
|
|
24377
|
+
slug: string;
|
|
24378
|
+
};
|
|
24379
|
+
};
|
|
24380
|
+
};
|
|
24381
|
+
responses: {
|
|
24382
|
+
/** @description Persisted organization-owned project metadata */
|
|
24383
|
+
201: {
|
|
24384
|
+
headers: {
|
|
24385
|
+
[name: string]: unknown;
|
|
24386
|
+
};
|
|
24387
|
+
content: {
|
|
24388
|
+
"application/json": {
|
|
24389
|
+
project: components["schemas"]["Silos.Project"];
|
|
24390
|
+
};
|
|
24391
|
+
};
|
|
24392
|
+
};
|
|
24393
|
+
/** @description Invalid project name or slug */
|
|
24394
|
+
400: {
|
|
24395
|
+
headers: {
|
|
24396
|
+
[name: string]: unknown;
|
|
24397
|
+
};
|
|
24398
|
+
content?: never;
|
|
24399
|
+
};
|
|
24400
|
+
/** @description Verified LifeID identity required */
|
|
24401
|
+
401: {
|
|
24402
|
+
headers: {
|
|
24403
|
+
[name: string]: unknown;
|
|
24404
|
+
};
|
|
24405
|
+
content?: never;
|
|
24406
|
+
};
|
|
24407
|
+
/** @description Silos scope required */
|
|
24408
|
+
403: {
|
|
24409
|
+
headers: {
|
|
24410
|
+
[name: string]: unknown;
|
|
24411
|
+
};
|
|
24412
|
+
content?: never;
|
|
24413
|
+
};
|
|
24414
|
+
/** @description Slug already exists in this organization. List to reconcile; no automatic replay. */
|
|
24415
|
+
409: {
|
|
24416
|
+
headers: {
|
|
24417
|
+
[name: string]: unknown;
|
|
24418
|
+
};
|
|
24419
|
+
content?: never;
|
|
24420
|
+
};
|
|
24421
|
+
/** @description Invalid request fields */
|
|
24422
|
+
422: {
|
|
24423
|
+
headers: {
|
|
24424
|
+
[name: string]: unknown;
|
|
24425
|
+
};
|
|
24426
|
+
content?: never;
|
|
24427
|
+
};
|
|
24428
|
+
/** @description Silos unavailable */
|
|
24429
|
+
503: {
|
|
24430
|
+
headers: {
|
|
24431
|
+
[name: string]: unknown;
|
|
24432
|
+
};
|
|
24433
|
+
content?: never;
|
|
24434
|
+
};
|
|
24435
|
+
};
|
|
24436
|
+
};
|
|
24437
|
+
silos_getProject: {
|
|
24438
|
+
parameters: {
|
|
24439
|
+
query?: never;
|
|
24440
|
+
header?: never;
|
|
24441
|
+
path: {
|
|
24442
|
+
project_id: string;
|
|
24443
|
+
};
|
|
24444
|
+
cookie?: never;
|
|
24445
|
+
};
|
|
24446
|
+
requestBody?: never;
|
|
24447
|
+
responses: {
|
|
24448
|
+
/** @description Persisted organization-owned project metadata */
|
|
24449
|
+
200: {
|
|
24450
|
+
headers: {
|
|
24451
|
+
[name: string]: unknown;
|
|
24452
|
+
};
|
|
24453
|
+
content: {
|
|
24454
|
+
"application/json": {
|
|
24455
|
+
project: components["schemas"]["Silos.Project"];
|
|
24456
|
+
databases: components["schemas"]["Silos.Database"][];
|
|
24457
|
+
};
|
|
24458
|
+
};
|
|
24459
|
+
};
|
|
24460
|
+
/** @description Verified LifeID identity required */
|
|
24461
|
+
401: {
|
|
24462
|
+
headers: {
|
|
24463
|
+
[name: string]: unknown;
|
|
24464
|
+
};
|
|
24465
|
+
content?: never;
|
|
24466
|
+
};
|
|
24467
|
+
/** @description Silos scope required */
|
|
24468
|
+
403: {
|
|
24469
|
+
headers: {
|
|
24470
|
+
[name: string]: unknown;
|
|
24471
|
+
};
|
|
24472
|
+
content?: never;
|
|
24473
|
+
};
|
|
24474
|
+
/** @description Project absent or belongs to another organization */
|
|
24475
|
+
404: {
|
|
24476
|
+
headers: {
|
|
24477
|
+
[name: string]: unknown;
|
|
24478
|
+
};
|
|
24479
|
+
content?: never;
|
|
24480
|
+
};
|
|
24481
|
+
/** @description Silos unavailable */
|
|
24482
|
+
503: {
|
|
24483
|
+
headers: {
|
|
24484
|
+
[name: string]: unknown;
|
|
24485
|
+
};
|
|
24486
|
+
content?: never;
|
|
24487
|
+
};
|
|
24488
|
+
};
|
|
24489
|
+
};
|
|
24115
24490
|
}
|
package/dist/genesis.d.ts
CHANGED
|
@@ -1135,6 +1135,24 @@ export declare class Genesis extends GenesisClient {
|
|
|
1135
1135
|
logs_url?: string | null;
|
|
1136
1136
|
url?: string | null;
|
|
1137
1137
|
}>;
|
|
1138
|
+
stop: (project_id: string, deployment_id: string, init?: {
|
|
1139
|
+
signal?: AbortSignal;
|
|
1140
|
+
}) => Promise<{
|
|
1141
|
+
id: string;
|
|
1142
|
+
project_id: string;
|
|
1143
|
+
tenant_id: string;
|
|
1144
|
+
module_id: string;
|
|
1145
|
+
module_hash?: string | null;
|
|
1146
|
+
version: number;
|
|
1147
|
+
status: string;
|
|
1148
|
+
git_sha?: string | null;
|
|
1149
|
+
git_branch?: string | null;
|
|
1150
|
+
created_by: string;
|
|
1151
|
+
created_at: string;
|
|
1152
|
+
promoted_at?: string | null;
|
|
1153
|
+
logs_url?: string | null;
|
|
1154
|
+
url?: string | null;
|
|
1155
|
+
}>;
|
|
1138
1156
|
delete: (project_id: string, deployment_id: string) => Promise<{
|
|
1139
1157
|
id: string;
|
|
1140
1158
|
message: string;
|
|
@@ -1516,6 +1534,20 @@ export declare class Genesis extends GenesisClient {
|
|
|
1516
1534
|
}>;
|
|
1517
1535
|
};
|
|
1518
1536
|
};
|
|
1537
|
+
readonly silos: {
|
|
1538
|
+
projects: {
|
|
1539
|
+
list: () => Promise<{
|
|
1540
|
+
projects: components["schemas"]["Silos.Project"][];
|
|
1541
|
+
}>;
|
|
1542
|
+
create: (body: In<"silos_createProject">["body"]) => Promise<{
|
|
1543
|
+
project: components["schemas"]["Silos.Project"];
|
|
1544
|
+
}>;
|
|
1545
|
+
get: (project_id: string) => Promise<{
|
|
1546
|
+
project: components["schemas"]["Silos.Project"];
|
|
1547
|
+
databases: components["schemas"]["Silos.Database"][];
|
|
1548
|
+
}>;
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1519
1551
|
readonly relays: {
|
|
1520
1552
|
zones: {
|
|
1521
1553
|
list: (q?: In<"relays_listZones">) => Promise<{
|
|
@@ -1537,6 +1569,26 @@ export declare class Genesis extends GenesisClient {
|
|
|
1537
1569
|
created_at?: string;
|
|
1538
1570
|
updated_at?: string;
|
|
1539
1571
|
}>;
|
|
1572
|
+
dnssec: (zone: string) => Promise<{
|
|
1573
|
+
zone: string;
|
|
1574
|
+
enabled: boolean;
|
|
1575
|
+
keys: {
|
|
1576
|
+
[key: string]: unknown;
|
|
1577
|
+
}[];
|
|
1578
|
+
ds_records: {
|
|
1579
|
+
[key: string]: unknown;
|
|
1580
|
+
}[];
|
|
1581
|
+
settings: {
|
|
1582
|
+
nsec3: {
|
|
1583
|
+
algorithm?: number;
|
|
1584
|
+
flags?: number;
|
|
1585
|
+
iterations?: number;
|
|
1586
|
+
salt?: string;
|
|
1587
|
+
} | null;
|
|
1588
|
+
auto_publish_cds: boolean;
|
|
1589
|
+
auto_publish_cdnskey: boolean;
|
|
1590
|
+
};
|
|
1591
|
+
}>;
|
|
1540
1592
|
create: (body: S["Relays.CreateZone"]) => Promise<{
|
|
1541
1593
|
id?: number;
|
|
1542
1594
|
name?: string;
|
package/dist/genesis.js
CHANGED
|
@@ -82,6 +82,7 @@ export class Genesis extends GenesisClient {
|
|
|
82
82
|
promote: (project_id, deployment_id) => this.request('hives_promote_deployment', { project_id, deployment_id }),
|
|
83
83
|
rollback: (project_id, deployment_id, body = {}) => this.request('hives_rollback_deployment', { project_id, deployment_id, body }),
|
|
84
84
|
cancel: (project_id, deployment_id) => this.request('hives_cancel_deployment', { project_id, deployment_id }),
|
|
85
|
+
stop: (project_id, deployment_id, init = {}) => this.request('hives_stop_deployment', { project_id, deployment_id }, init),
|
|
85
86
|
delete: (project_id, deployment_id) => this.request('hives_delete_deployment', { project_id, deployment_id }),
|
|
86
87
|
logs: (project_id, deployment_id, q = {}) => this.request('hives_query_deployment_logs', { ...q, project_id, deployment_id }),
|
|
87
88
|
invoke: (project_id, deployment_id, body = {}, init = {}) => this.raw('hives_invoke_deployment', { project_id, deployment_id, body }, init),
|
|
@@ -97,10 +98,18 @@ export class Genesis extends GenesisClient {
|
|
|
97
98
|
},
|
|
98
99
|
regions: { list: () => this.request('hives_list_regions') },
|
|
99
100
|
};
|
|
101
|
+
silos = {
|
|
102
|
+
projects: {
|
|
103
|
+
list: () => this.request('silos_listProjects'),
|
|
104
|
+
create: (body) => this.request('silos_createProject', { body }),
|
|
105
|
+
get: (project_id) => this.request('silos_getProject', { project_id }),
|
|
106
|
+
},
|
|
107
|
+
};
|
|
100
108
|
relays = {
|
|
101
109
|
zones: {
|
|
102
110
|
list: (q = {}) => this.request('relays_listZones', q),
|
|
103
111
|
get: (zone) => this.request('relays_getZone', { zone }),
|
|
112
|
+
dnssec: (zone) => this.request('relays_getDnssec', { zone }),
|
|
104
113
|
create: (body) => this.request('relays_createZone', { body }),
|
|
105
114
|
delete: (zone) => this.request('relays_deleteZone', { zone }),
|
|
106
115
|
},
|