@archildata/api-types 0.0.95 → 0.0.96
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/index.d.ts +41 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -483,7 +483,15 @@ export interface paths {
|
|
|
483
483
|
post?: never;
|
|
484
484
|
/**
|
|
485
485
|
* Delete a disk
|
|
486
|
-
* @description Deletes a disk and all associated resources.
|
|
486
|
+
* @description Deletes a disk and all associated resources. By default the request
|
|
487
|
+
* returns right away and writes that have not reached the bucket yet are
|
|
488
|
+
* uploaded in the background for up to a minute, so the bucket may keep
|
|
489
|
+
* receiving them after the call succeeds. To modify or remove the bucket
|
|
490
|
+
* right after deleting, pass either `waitForFlush=true` (the request
|
|
491
|
+
* returns once every write has reached the bucket and the disk has stopped
|
|
492
|
+
* writing to it) or `discardWrites=true` (writes that have not reached the
|
|
493
|
+
* bucket are discarded and the request returns once the disk has stopped
|
|
494
|
+
* writing to it).
|
|
487
495
|
*/
|
|
488
496
|
delete: operations["deleteDisk"];
|
|
489
497
|
options?: never;
|
|
@@ -4668,7 +4676,12 @@ export interface operations {
|
|
|
4668
4676
|
};
|
|
4669
4677
|
deleteDisk: {
|
|
4670
4678
|
parameters: {
|
|
4671
|
-
query?:
|
|
4679
|
+
query?: {
|
|
4680
|
+
/** @description Return only once every write the disk accepted has reached its bucket. Cannot be combined with `discardWrites`. A request retried after the disk's deletion has completed cannot confirm the upload: it returns 404, or 200 if it races the final cleanup. */
|
|
4681
|
+
waitForFlush?: boolean;
|
|
4682
|
+
/** @description Discard writes that have not reached the bucket yet, and return once the disk has stopped writing to it. Cannot be combined with `waitForFlush`. */
|
|
4683
|
+
discardWrites?: boolean;
|
|
4684
|
+
};
|
|
4672
4685
|
header?: never;
|
|
4673
4686
|
path: {
|
|
4674
4687
|
/** @description Disk ID (format `dsk-{16 hex chars}`) */
|
|
@@ -4690,7 +4703,33 @@ export interface operations {
|
|
|
4690
4703
|
400: components["responses"]["ValidationError"];
|
|
4691
4704
|
401: components["responses"]["Unauthorized"];
|
|
4692
4705
|
404: components["responses"]["NotFound"];
|
|
4706
|
+
/**
|
|
4707
|
+
* @description Only with `waitForFlush`: the disk is deleted and has stopped writing
|
|
4708
|
+
* to its bucket, but some writes did not reach the bucket within a
|
|
4709
|
+
* minute and were dropped. Retrying does not change this.
|
|
4710
|
+
*/
|
|
4711
|
+
409: {
|
|
4712
|
+
headers: {
|
|
4713
|
+
[name: string]: unknown;
|
|
4714
|
+
};
|
|
4715
|
+
content: {
|
|
4716
|
+
"application/json": components["schemas"]["ApiResponse_Empty"];
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4693
4719
|
500: components["responses"]["InternalError"];
|
|
4720
|
+
/**
|
|
4721
|
+
* @description Only with `waitForFlush` or `discardWrites`: the disk is marked for
|
|
4722
|
+
* deletion but has not yet confirmed what the flag asked for. Retry the
|
|
4723
|
+
* request with the same flag to keep waiting.
|
|
4724
|
+
*/
|
|
4725
|
+
503: {
|
|
4726
|
+
headers: {
|
|
4727
|
+
[name: string]: unknown;
|
|
4728
|
+
};
|
|
4729
|
+
content: {
|
|
4730
|
+
"application/json": components["schemas"]["ApiResponse_Empty"];
|
|
4731
|
+
};
|
|
4732
|
+
};
|
|
4694
4733
|
};
|
|
4695
4734
|
};
|
|
4696
4735
|
listBranches: {
|