@archildata/api-types 0.0.72 → 0.0.74
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 +101 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -588,6 +588,30 @@ export interface paths {
|
|
|
588
588
|
patch?: never;
|
|
589
589
|
trace?: never;
|
|
590
590
|
};
|
|
591
|
+
"/api/disks/{id}/sandbox-mount": {
|
|
592
|
+
parameters: {
|
|
593
|
+
query?: never;
|
|
594
|
+
header?: never;
|
|
595
|
+
path?: never;
|
|
596
|
+
cookie?: never;
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* Get sandbox mount setting
|
|
600
|
+
* @description Returns whether sandboxes and exec commands may mount a disk.
|
|
601
|
+
*/
|
|
602
|
+
get: operations["getSandboxMount"];
|
|
603
|
+
/**
|
|
604
|
+
* Set sandbox mount setting
|
|
605
|
+
* @description Sets whether sandboxes and exec commands may mount a disk. Disks allow sandbox mounts by default. While disallowed, running an exec command against the disk or creating or starting a sandbox that mounts it fails; sandboxes already running keep their mounts. Disallowing it on a root disk also covers the root's branches.
|
|
606
|
+
*/
|
|
607
|
+
put: operations["setSandboxMount"];
|
|
608
|
+
post?: never;
|
|
609
|
+
delete?: never;
|
|
610
|
+
options?: never;
|
|
611
|
+
head?: never;
|
|
612
|
+
patch?: never;
|
|
613
|
+
trace?: never;
|
|
614
|
+
};
|
|
591
615
|
"/api/disks/{id}/delegations": {
|
|
592
616
|
parameters: {
|
|
593
617
|
query?: never;
|
|
@@ -1762,11 +1786,6 @@ export interface components {
|
|
|
1762
1786
|
consent: true;
|
|
1763
1787
|
paymentMethodId?: string;
|
|
1764
1788
|
setupIntentId?: string;
|
|
1765
|
-
/**
|
|
1766
|
-
* @deprecated
|
|
1767
|
-
* @description Start Team on its free trial instead of billing it now. The card in paymentMethodId or setupIntentId is charged when the trial ends. Team only, and not combined with introOffer. Refused with trial_unavailable once the account has had the trial. Superseded by introOffer.
|
|
1768
|
-
*/
|
|
1769
|
-
trial?: boolean;
|
|
1770
1789
|
/** @description Start Team with half off its first month, the sign-up path for accounts asking for Enterprise. Team only. Refused with intro_offer_unavailable once the account has paid money on an invoice; a $0 invoice, such as a trial's first, does not count. */
|
|
1771
1790
|
introOffer?: boolean;
|
|
1772
1791
|
};
|
|
@@ -2670,6 +2689,11 @@ export interface components {
|
|
|
2670
2689
|
* ]
|
|
2671
2690
|
*/
|
|
2672
2691
|
allowedIps?: string[];
|
|
2692
|
+
/**
|
|
2693
|
+
* @description Whether sandboxes and exec commands may mount the disk. A branch is mountable only when both it and its root disk allow it.
|
|
2694
|
+
* @example true
|
|
2695
|
+
*/
|
|
2696
|
+
allowSandboxMount: boolean;
|
|
2673
2697
|
/**
|
|
2674
2698
|
* @description Capabilities supported by this disk. Determined at creation
|
|
2675
2699
|
* time and immutable thereafter. Defined values:
|
|
@@ -2836,6 +2860,14 @@ export interface components {
|
|
|
2836
2860
|
allowedIps: string[];
|
|
2837
2861
|
};
|
|
2838
2862
|
};
|
|
2863
|
+
ApiResponse_SandboxMount: {
|
|
2864
|
+
/** @example true */
|
|
2865
|
+
success: boolean;
|
|
2866
|
+
data: {
|
|
2867
|
+
/** @example true */
|
|
2868
|
+
allowSandboxMount: boolean;
|
|
2869
|
+
};
|
|
2870
|
+
};
|
|
2839
2871
|
DelegationEntry: {
|
|
2840
2872
|
/**
|
|
2841
2873
|
* @description ID of the client holding the delegation.
|
|
@@ -3842,7 +3874,7 @@ export interface operations {
|
|
|
3842
3874
|
400: components["responses"]["ValidationError"];
|
|
3843
3875
|
401: components["responses"]["Unauthorized"];
|
|
3844
3876
|
404: components["responses"]["NotFound"];
|
|
3845
|
-
/** @description The account already has a subscription (`already_subscribed`), the operationId was used for a different request (`operation_conflict`), or the setup is incomplete (`setup_incomplete`); the current state is in data.
|
|
3877
|
+
/** @description The account already has a subscription (`already_subscribed`), the operationId was used for a different request (`operation_conflict`), or the setup is incomplete (`setup_incomplete`); the current state is in data. The intro offer is refused to an account that has paid money on an invoice before (`intro_offer_unavailable`). */
|
|
3846
3878
|
409: {
|
|
3847
3879
|
headers: {
|
|
3848
3880
|
[name: string]: unknown;
|
|
@@ -4627,6 +4659,69 @@ export interface operations {
|
|
|
4627
4659
|
500: components["responses"]["InternalError"];
|
|
4628
4660
|
};
|
|
4629
4661
|
};
|
|
4662
|
+
getSandboxMount: {
|
|
4663
|
+
parameters: {
|
|
4664
|
+
query?: never;
|
|
4665
|
+
header?: never;
|
|
4666
|
+
path: {
|
|
4667
|
+
/** @description Disk ID (format `dsk-{16 hex chars}`) */
|
|
4668
|
+
id: components["parameters"]["DiskId"];
|
|
4669
|
+
};
|
|
4670
|
+
cookie?: never;
|
|
4671
|
+
};
|
|
4672
|
+
requestBody?: never;
|
|
4673
|
+
responses: {
|
|
4674
|
+
/** @description Current sandbox mount setting */
|
|
4675
|
+
200: {
|
|
4676
|
+
headers: {
|
|
4677
|
+
[name: string]: unknown;
|
|
4678
|
+
};
|
|
4679
|
+
content: {
|
|
4680
|
+
"application/json": components["schemas"]["ApiResponse_SandboxMount"];
|
|
4681
|
+
};
|
|
4682
|
+
};
|
|
4683
|
+
401: components["responses"]["Unauthorized"];
|
|
4684
|
+
404: components["responses"]["NotFound"];
|
|
4685
|
+
500: components["responses"]["InternalError"];
|
|
4686
|
+
};
|
|
4687
|
+
};
|
|
4688
|
+
setSandboxMount: {
|
|
4689
|
+
parameters: {
|
|
4690
|
+
query?: never;
|
|
4691
|
+
header?: never;
|
|
4692
|
+
path: {
|
|
4693
|
+
/** @description Disk ID (format `dsk-{16 hex chars}`) */
|
|
4694
|
+
id: components["parameters"]["DiskId"];
|
|
4695
|
+
};
|
|
4696
|
+
cookie?: never;
|
|
4697
|
+
};
|
|
4698
|
+
requestBody: {
|
|
4699
|
+
content: {
|
|
4700
|
+
"application/json": {
|
|
4701
|
+
/**
|
|
4702
|
+
* @description Whether sandboxes and exec commands may mount the disk.
|
|
4703
|
+
* @example false
|
|
4704
|
+
*/
|
|
4705
|
+
allowSandboxMount: boolean;
|
|
4706
|
+
};
|
|
4707
|
+
};
|
|
4708
|
+
};
|
|
4709
|
+
responses: {
|
|
4710
|
+
/** @description Sandbox mount setting updated */
|
|
4711
|
+
200: {
|
|
4712
|
+
headers: {
|
|
4713
|
+
[name: string]: unknown;
|
|
4714
|
+
};
|
|
4715
|
+
content: {
|
|
4716
|
+
"application/json": components["schemas"]["ApiResponse_SandboxMount"];
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
400: components["responses"]["ValidationError"];
|
|
4720
|
+
401: components["responses"]["Unauthorized"];
|
|
4721
|
+
404: components["responses"]["NotFound"];
|
|
4722
|
+
500: components["responses"]["InternalError"];
|
|
4723
|
+
};
|
|
4724
|
+
};
|
|
4630
4725
|
listDelegations: {
|
|
4631
4726
|
parameters: {
|
|
4632
4727
|
query?: never;
|