@faable/deploy-sdk 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,17 @@ export interface AppTrafficQuery {
20
20
  export declare class DeployApi extends GeneratedFaableDeployApi {
21
21
  constructor(params?: ApiParams);
22
22
  updateStatus<T>(id: string, data: T): Promise<any>;
23
+ /**
24
+ * Mint the deployment-scoped builder credential for a remote build
25
+ * (arch/deploy/deploy-v2-remote-build.md). x-internal + service accounts
26
+ * only, so hand-written like updateStatus. Used by the build orchestrator
27
+ * (controller-deploy) when it admits a faable-builder Job; re-minting
28
+ * atomically invalidates the previous token.
29
+ */
30
+ mintBuildToken(deployment_id: string): Promise<{
31
+ token: string;
32
+ expires_in: number;
33
+ }>;
23
34
  /**
24
35
  * Per-app HTTP traffic metrics. Kept hand-written: the rich `AppTrafficQuery`
25
36
  * coercion (numbers → query strings) and the curated `AppTraffic` return type
@@ -108,8 +119,13 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
108
119
  slug: string;
109
120
  url: string;
110
121
  active: boolean;
122
+ disabled_reason?: string | null;
111
123
  runtime: import("./index.js").components["schemas"]["AppRuntime"];
112
124
  runtime_strategy: string | null;
125
+ mode: import("./index.js").components["schemas"]["AppMode"];
126
+ coexistence_routing?: ("cookie" | "path") | null;
127
+ coexistence_keep_versions?: number | null;
128
+ coexistence_drain_hours?: number | null;
113
129
  instance_type: string;
114
130
  region: "gui1" | "poz1" | "ams1";
115
131
  status: import("./index.js").components["schemas"]["AppStatus"];
@@ -194,8 +210,13 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
194
210
  slug: string;
195
211
  url: string;
196
212
  active: boolean;
213
+ disabled_reason?: string | null;
197
214
  runtime: import("./index.js").components["schemas"]["AppRuntime"];
198
215
  runtime_strategy: string | null;
216
+ mode: import("./index.js").components["schemas"]["AppMode"];
217
+ coexistence_routing?: ("cookie" | "path") | null;
218
+ coexistence_keep_versions?: number | null;
219
+ coexistence_drain_hours?: number | null;
199
220
  instance_type: string;
200
221
  region: "gui1" | "poz1" | "ams1";
201
222
  status: import("./index.js").components["schemas"]["AppStatus"];
@@ -216,8 +237,13 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
216
237
  slug: string;
217
238
  url: string;
218
239
  active: boolean;
240
+ disabled_reason?: string | null;
219
241
  runtime: import("./index.js").components["schemas"]["AppRuntime"];
220
242
  runtime_strategy: string | null;
243
+ mode: import("./index.js").components["schemas"]["AppMode"];
244
+ coexistence_routing?: ("cookie" | "path") | null;
245
+ coexistence_keep_versions?: number | null;
246
+ coexistence_drain_hours?: number | null;
221
247
  instance_type: string;
222
248
  region: "gui1" | "poz1" | "ams1";
223
249
  status: import("./index.js").components["schemas"]["AppStatus"];
@@ -241,8 +267,13 @@ export declare class DeployApi extends GeneratedFaableDeployApi {
241
267
  slug: string;
242
268
  url: string;
243
269
  active: boolean;
270
+ disabled_reason?: string | null;
244
271
  runtime: import("./index.js").components["schemas"]["AppRuntime"];
245
272
  runtime_strategy: string | null;
273
+ mode: import("./index.js").components["schemas"]["AppMode"];
274
+ coexistence_routing?: ("cookie" | "path") | null;
275
+ coexistence_keep_versions?: number | null;
276
+ coexistence_drain_hours?: number | null;
246
277
  instance_type: string;
247
278
  region: "gui1" | "poz1" | "ams1";
248
279
  status: import("./index.js").components["schemas"]["AppStatus"];
@@ -1 +1 @@
1
- {"version":3,"file":"FaableDeployApi.d.ts","sourceRoot":"","sources":["../src/FaableDeployApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAGV,UAAU,EAEX,MAAM,uBAAuB,CAAC;AAG/B,MAAM,WAAW,eAAe;IAC9B,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,EAAE,CAAC,EAAE,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AZ/+oB;;;;OAIG;IACH,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;oBAOy8uB,0CAAsB;;;;;;;;;;;;;;;;;;;;;;;;kBAlIt/uB,CAAC;oBAA0B,CAAC;;;;;;;;;;oBAkIo8uB,0CAAsB;;;;;;;;CAD9/uB"}
@@ -22,6 +22,16 @@ export class DeployApi extends GeneratedFaableDeployApi {
22
22
  updateStatus(id, data) {
23
23
  return this.fetcher.post(`/status/${id}`, data);
24
24
  }
25
+ /**
26
+ * Mint the deployment-scoped builder credential for a remote build
27
+ * (arch/deploy/deploy-v2-remote-build.md). x-internal + service accounts
28
+ * only, so hand-written like updateStatus. Used by the build orchestrator
29
+ * (controller-deploy) when it admits a faable-builder Job; re-minting
30
+ * atomically invalidates the previous token.
31
+ */
32
+ mintBuildToken(deployment_id) {
33
+ return this.fetcher.post(`/deployment/${deployment_id}/build-token`, {});
34
+ }
25
35
  /**
26
36
  * Per-app HTTP traffic metrics. Kept hand-written: the rich `AppTrafficQuery`
27
37
  * coercion (numbers → query strings) and the curated `AppTraffic` return type
@@ -4,7 +4,9 @@ export type ApiKeyCreate = components["schemas"]["ApiKeyCreate"];
4
4
  export type ApiKeyUpdate = components["schemas"]["ApiKeyUpdate"];
5
5
  export type App = components["schemas"]["App"];
6
6
  export type AppChecknameResponse = components["schemas"]["AppChecknameResponse"];
7
+ export type AppCoexistenceRouting = components["schemas"]["AppCoexistenceRouting"];
7
8
  export type AppCreate = components["schemas"]["AppCreate"];
9
+ export type AppMode = components["schemas"]["AppMode"];
8
10
  export type AppRuntime = components["schemas"]["AppRuntime"];
9
11
  export type AppRuntimeStrategy = components["schemas"]["AppRuntimeStrategy"];
10
12
  export type AppStatus = components["schemas"]["AppStatus"];
@@ -13,10 +15,12 @@ export type Contact = components["schemas"]["Contact"];
13
15
  export type ContactCreate = components["schemas"]["ContactCreate"];
14
16
  export type ContactType = components["schemas"]["ContactType"];
15
17
  export type ContactUpdate = components["schemas"]["ContactUpdate"];
18
+ export type DeployBranchResult = components["schemas"]["DeployBranchResult"];
16
19
  export type DeployWorkflowStatus = components["schemas"]["DeployWorkflowStatus"];
17
20
  export type Deployment = components["schemas"]["Deployment"];
18
21
  export type DeploymentCreate = components["schemas"]["DeploymentCreate"];
19
22
  export type DeploymentStatus = components["schemas"]["DeploymentStatus"];
23
+ export type DeploymentUpdate = components["schemas"]["DeploymentUpdate"];
20
24
  export type Domain = components["schemas"]["Domain"];
21
25
  export type DomainCreate = components["schemas"]["DomainCreate"];
22
26
  export type DomainStatus = components["schemas"]["DomainStatus"];
@@ -1 +1 @@
1
- {"version":3,"file":"api-types.d.ts","sourceRoot":"","sources":["../../src/api/api-types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,GAAG,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;AAC/C,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC,CAAC;AACjF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,CAAC;AAC7E,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC;AAC3D,MA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U,CAAC,SAAS,CAAC,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC"}
@@ -43,8 +43,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
43
43
  slug: string;
44
44
  url: string;
45
45
  active: boolean;
46
+ disabled_reason?: string | null;
46
47
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
47
48
  runtime_strategy: string | null;
49
+ mode: import("./types.js").components["schemas"]["AppMode"];
50
+ coexistence_routing?: ("cookie" | "path") | null;
51
+ coexistence_keep_versions?: number | null;
52
+ coexistence_drain_hours?: number | null;
48
53
  instance_type: string;
49
54
  region: "gui1" | "poz1" | "ams1";
50
55
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -70,8 +75,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
70
75
  slug: string;
71
76
  url: string;
72
77
  active: boolean;
78
+ disabled_reason?: string | null;
73
79
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
74
80
  runtime_strategy: string | null;
81
+ mode: import("./types.js").components["schemas"]["AppMode"];
82
+ coexistence_routing?: ("cookie" | "path") | null;
83
+ coexistence_keep_versions?: number | null;
84
+ coexistence_drain_hours?: number | null;
75
85
  instance_type: string;
76
86
  region: "gui1" | "poz1" | "ams1";
77
87
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -97,8 +107,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
97
107
  slug: string;
98
108
  url: string;
99
109
  active: boolean;
110
+ disabled_reason?: string | null;
100
111
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
101
112
  runtime_strategy: string | null;
113
+ mode: import("./types.js").components["schemas"]["AppMode"];
114
+ coexistence_routing?: ("cookie" | "path") | null;
115
+ coexistence_keep_versions?: number | null;
116
+ coexistence_drain_hours?: number | null;
102
117
  instance_type: string;
103
118
  region: "gui1" | "poz1" | "ams1";
104
119
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -119,6 +134,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
119
134
  appGetDeployWorkflow(id: string): Promise<{
120
135
  configured: boolean;
121
136
  workflow_path?: string;
137
+ updated?: boolean;
122
138
  }>;
123
139
  /**
124
140
  * `GET /app/{app_id}/registry` — operationId: `app/get_registry`
@@ -146,8 +162,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
146
162
  slug: string;
147
163
  url: string;
148
164
  active: boolean;
165
+ disabled_reason?: string | null;
149
166
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
150
167
  runtime_strategy: string | null;
168
+ mode: import("./types.js").components["schemas"]["AppMode"];
169
+ coexistence_routing?: ("cookie" | "path") | null;
170
+ coexistence_keep_versions?: number | null;
171
+ coexistence_drain_hours?: number | null;
151
172
  instance_type: string;
152
173
  region: "gui1" | "poz1" | "ams1";
153
174
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -174,8 +195,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
174
195
  slug: string;
175
196
  url: string;
176
197
  active: boolean;
198
+ disabled_reason?: string | null;
177
199
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
178
200
  runtime_strategy: string | null;
201
+ mode: import("./types.js").components["schemas"]["AppMode"];
202
+ coexistence_routing?: ("cookie" | "path") | null;
203
+ coexistence_keep_versions?: number | null;
204
+ coexistence_drain_hours?: number | null;
179
205
  instance_type: string;
180
206
  region: "gui1" | "poz1" | "ams1";
181
207
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -196,8 +222,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
196
222
  slug: string;
197
223
  url: string;
198
224
  active: boolean;
225
+ disabled_reason?: string | null;
199
226
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
200
227
  runtime_strategy: string | null;
228
+ mode: import("./types.js").components["schemas"]["AppMode"];
229
+ coexistence_routing?: ("cookie" | "path") | null;
230
+ coexistence_keep_versions?: number | null;
231
+ coexistence_drain_hours?: number | null;
201
232
  instance_type: string;
202
233
  region: "gui1" | "poz1" | "ams1";
203
234
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -221,8 +252,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
221
252
  slug: string;
222
253
  url: string;
223
254
  active: boolean;
255
+ disabled_reason?: string | null;
224
256
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
225
257
  runtime_strategy: string | null;
258
+ mode: import("./types.js").components["schemas"]["AppMode"];
259
+ coexistence_routing?: ("cookie" | "path") | null;
260
+ coexistence_keep_versions?: number | null;
261
+ coexistence_drain_hours?: number | null;
226
262
  instance_type: string;
227
263
  region: "gui1" | "poz1" | "ams1";
228
264
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -242,6 +278,16 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
242
278
  * Get app logs
243
279
  */
244
280
  appLogs(app_id: string, params?: OpQuery<"app/logs">): Promise<void>;
281
+ /**
282
+ * `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
283
+ *
284
+ * Change the deploy branch
285
+ */
286
+ appSetDeployBranch(id: string, data: OpBody<"app/set_deploy_branch">): Promise<{
287
+ github_branch: string;
288
+ workflow_synced: boolean;
289
+ workflow_path?: string;
290
+ }>;
245
291
  /**
246
292
  * `POST /app/{id}/deploy-workflow` — operationId: `app/setup_deploy_workflow`
247
293
  *
@@ -250,6 +296,7 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
250
296
  appSetupDeployWorkflow(id: string): Promise<{
251
297
  configured: boolean;
252
298
  workflow_path?: string;
299
+ updated?: boolean;
253
300
  }>;
254
301
  /**
255
302
  * `GET /app/slug/{slug}` — operationId: `app/slug`
@@ -264,8 +311,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
264
311
  slug: string;
265
312
  url: string;
266
313
  active: boolean;
314
+ disabled_reason?: string | null;
267
315
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
268
316
  runtime_strategy: string | null;
317
+ mode: import("./types.js").components["schemas"]["AppMode"];
318
+ coexistence_routing?: ("cookie" | "path") | null;
319
+ coexistence_keep_versions?: number | null;
320
+ coexistence_drain_hours?: number | null;
269
321
  instance_type: string;
270
322
  region: "gui1" | "poz1" | "ams1";
271
323
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -349,8 +401,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
349
401
  slug: string;
350
402
  url: string;
351
403
  active: boolean;
404
+ disabled_reason?: string | null;
352
405
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
353
406
  runtime_strategy: string | null;
407
+ mode: import("./types.js").components["schemas"]["AppMode"];
408
+ coexistence_routing?: ("cookie" | "path") | null;
409
+ coexistence_keep_versions?: number | null;
410
+ coexistence_drain_hours?: number | null;
354
411
  instance_type: string;
355
412
  region: "gui1" | "poz1" | "ams1";
356
413
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -376,8 +433,13 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
376
433
  slug: string;
377
434
  url: string;
378
435
  active: boolean;
436
+ disabled_reason?: string | null;
379
437
  runtime: import("./types.js").components["schemas"]["AppRuntime"];
380
438
  runtime_strategy: string | null;
439
+ mode: import("./types.js").components["schemas"]["AppMode"];
440
+ coexistence_routing?: ("cookie" | "path") | null;
441
+ coexistence_keep_versions?: number | null;
442
+ coexistence_drain_hours?: number | null;
381
443
  instance_type: string;
382
444
  region: "gui1" | "poz1" | "ams1";
383
445
  status: import("./types.js").components["schemas"]["AppStatus"];
@@ -453,6 +515,22 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
453
515
  createdAt: string;
454
516
  updatedAt?: string;
455
517
  }>;
518
+ /**
519
+ * `GET /deployment/{deployment_id}/logs` — operationId: `deployment/get_logs`
520
+ *
521
+ * Get deployment build logs
522
+ */
523
+ deploymentGetLogs(deployment_id: string): Promise<{
524
+ id: string;
525
+ deployment_id: string;
526
+ app_id: string;
527
+ team: string;
528
+ content: string;
529
+ truncated: boolean;
530
+ size: number;
531
+ createdAt?: string;
532
+ updatedAt?: string;
533
+ }>;
456
534
  /**
457
535
  * `GET /deployment` — operationId: `deployment/list`
458
536
  *
@@ -511,6 +589,27 @@ export declare abstract class GeneratedFaableDeployApi extends FaableApi {
511
589
  updatedAt?: string;
512
590
  }>>;
513
591
  };
592
+ /**
593
+ * `POST /deployment/{id}` — operationId: `deployment/update`
594
+ *
595
+ * Update Deployment
596
+ */
597
+ deploymentUpdate(id: string, data: OpBody<"deployment/update">): Promise<{
598
+ id: string;
599
+ team: string;
600
+ app_id: string;
601
+ image?: string;
602
+ github_commit?: string;
603
+ github_ref?: string;
604
+ github_actor?: string;
605
+ github_commit_message?: string;
606
+ status: import("./types.js").components["schemas"]["DeploymentStatus"];
607
+ metadata: {
608
+ [key: string]: unknown;
609
+ };
610
+ createdAt: string;
611
+ updatedAt?: string;
612
+ }>;
514
613
  /**
515
614
  * `POST /domain` — operationId: `domain/create`
516
615
  *
@@ -1 +1 @@
1
- {"version":3,"file":"generated-client.d.ts","sourceRoot":"","sources":["../../src/api/generated-client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI7C,KAAK,MAAM,CAAC,CAAC,SAAS,MAAM,UAAU,IAAI,UAAU,CAAC,CAAC,CAAC,SAAS;IAC9D,WAAW,EAAE;QAAE,OAAO,EAAE;YAAE,kBAAkB,EAAE,MAAM,CAAC,CAAA;SAAE,CAAA;KAAE,CAAC;CAC3D,GACG,CAAC,GACD,KAAK,CAAC;AAsBV,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,UAAU,IAAI,UAAU,CAAC,CAAC,CAAC,SAAS;IAC/D,UAAU,EAAE;Q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"GET", url: `/app/${app_id}/logs`, params });
89
89
  }
90
+ /**
91
+ * `POST /app/{id}/deploy-branch` — operationId: `app/set_deploy_branch`
92
+ *
93
+ * Change the deploy branch
94
+ */
95
+ appSetDeployBranch(id, data) {
96
+ requireId("id", id);
97
+ return this.fetcher.post(`/app/${id}/deploy-branch`, data);
98
+ }
90
99
  /**
91
100
  * `POST /app/{id}/deploy-workflow` — operationId: `app/setup_deploy_workflow`
92
101
  *
@@ -158,6 +167,15 @@ export class GeneratedFaableDeployApi extends FaableApi {
158
167
  requireId("id", id);
159
168
  return this.fetcher.get(`/deployment/${id}`);
160
169
  }
170
+ /**
171
+ * `GET /deployment/{deployment_id}/logs` — operationId: `deployment/get_logs`
172
+ *
173
+ * Get deployment build logs
174
+ */
175
+ deploymentGetLogs(deployment_id) {
176
+ requireId("deployment_id", deployment_id);
177
+ return this.fetcher.get(`/deployment/${deployment_id}/logs`);
178
+ }
161
179
  /**
162
180
  * `GET /deployment` — operationId: `deployment/list`
163
181
  *
@@ -166,6 +184,15 @@ export class GeneratedFaableDeployApi extends FaableApi {
166
184
  deploymentList(params) {
167
185
  return this.paginator({ url: `/deployment`, params });
168
186
  }
187
+ /**
188
+ * `POST /deployment/{id}` — operationId: `deployment/update`
189
+ *
190
+ * Update Deployment
191
+ */
192
+ deploymentUpdate(id, data) {
193
+ requireId("id", id);
194
+ return this.fetcher.post(`/deployment/${id}`, data);
195
+ }
169
196
  /**
170
197
  * `POST /domain` — operationId: `domain/create`
171
198
  *