@boatdev/sdk 1.11.0 → 1.12.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.
- package/.openapi-generator/FILES +42 -0
- package/dist/apis/BoatApi.d.ts +191 -14
- package/dist/apis/BoatApi.js +466 -14
- package/dist/esm/apis/BoatApi.d.ts +191 -14
- package/dist/esm/apis/BoatApi.js +466 -14
- package/dist/esm/models/CreateSandboxRequest.d.ts +35 -1
- package/dist/esm/models/CreateSandboxRequest.js +17 -0
- package/dist/esm/models/CreateSandboxRequestFilesInner.d.ts +52 -0
- package/dist/esm/models/CreateSandboxRequestFilesInner.js +56 -0
- package/dist/esm/models/CreateSandboxResponse.d.ts +7 -0
- package/dist/esm/models/CreateSandboxResponse.js +3 -0
- package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
- package/dist/esm/models/CreateSandboxResponseAllOfHostedPortsInner.js +64 -0
- package/dist/esm/models/FileDeleteResponse.d.ts +57 -0
- package/dist/esm/models/FileDeleteResponse.js +59 -0
- package/dist/esm/models/FileEntry.d.ts +68 -0
- package/dist/esm/models/FileEntry.js +67 -0
- package/dist/esm/models/FileFindResponse.d.ts +70 -0
- package/dist/esm/models/FileFindResponse.js +66 -0
- package/dist/esm/models/FileFindResponseAllOfMatches.d.ts +44 -0
- package/dist/esm/models/FileFindResponseAllOfMatches.js +51 -0
- package/dist/esm/models/FileFolderRequest.d.ts +38 -0
- package/dist/esm/models/FileFolderRequest.js +45 -0
- package/dist/esm/models/FileInfoResponse.d.ts +95 -0
- package/dist/esm/models/FileInfoResponse.js +85 -0
- package/dist/esm/models/FileListResponse.d.ts +70 -0
- package/dist/esm/models/FileListResponse.js +68 -0
- package/dist/esm/models/FileMoveRequest.d.ts +44 -0
- package/dist/esm/models/FileMoveRequest.js +49 -0
- package/dist/esm/models/FileMoveResponse.d.ts +63 -0
- package/dist/esm/models/FileMoveResponse.js +63 -0
- package/dist/esm/models/FilePermissionsRequest.d.ts +38 -0
- package/dist/esm/models/FilePermissionsRequest.js +47 -0
- package/dist/esm/models/FileReplaceRequest.d.ts +44 -0
- package/dist/esm/models/FileReplaceRequest.js +51 -0
- package/dist/esm/models/FileReplaceResponse.d.ts +58 -0
- package/dist/esm/models/FileReplaceResponse.js +60 -0
- package/dist/esm/models/FileReplaceResponseAllOfResults.d.ts +50 -0
- package/dist/esm/models/FileReplaceResponseAllOfResults.js +51 -0
- package/dist/esm/models/FileSearchResponse.d.ts +69 -0
- package/dist/esm/models/FileSearchResponse.js +65 -0
- package/dist/esm/models/LimitsFields.d.ts +54 -16
- package/dist/esm/models/LimitsFields.js +16 -2
- package/dist/esm/models/LimitsFieldsOveragePrices.d.ts +51 -0
- package/dist/esm/models/LimitsFieldsOveragePrices.js +48 -0
- package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsOveragePricesStartBracketsInner.js +45 -0
- package/dist/esm/models/LimitsFieldsPlanIncluded.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsPlanIncluded.js +45 -0
- package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
- package/dist/esm/models/LimitsFieldsStartLimitsWithWallet.js +45 -0
- package/dist/esm/models/LimitsFieldsWallet.d.ts +32 -0
- package/dist/esm/models/LimitsFieldsWallet.js +41 -0
- package/dist/esm/models/LimitsResponse.d.ts +54 -16
- package/dist/esm/models/LimitsResponse.js +16 -2
- package/dist/esm/models/NamedSnapshotAllowance.d.ts +9 -3
- package/dist/esm/models/NamedSnapshotAllowance.js +2 -0
- package/dist/esm/models/SavedSnapshotAllowance.d.ts +9 -3
- package/dist/esm/models/SavedSnapshotAllowance.js +2 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/models/CreateSandboxRequest.d.ts +35 -1
- package/dist/models/CreateSandboxRequest.js +18 -1
- package/dist/models/CreateSandboxRequestFilesInner.d.ts +52 -0
- package/dist/models/CreateSandboxRequestFilesInner.js +64 -0
- package/dist/models/CreateSandboxResponse.d.ts +7 -0
- package/dist/models/CreateSandboxResponse.js +3 -0
- package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.d.ts +77 -0
- package/dist/models/CreateSandboxResponseAllOfHostedPortsInner.js +72 -0
- package/dist/models/FileDeleteResponse.d.ts +57 -0
- package/dist/models/FileDeleteResponse.js +67 -0
- package/dist/models/FileEntry.d.ts +68 -0
- package/dist/models/FileEntry.js +74 -0
- package/dist/models/FileFindResponse.d.ts +70 -0
- package/dist/models/FileFindResponse.js +74 -0
- package/dist/models/FileFindResponseAllOfMatches.d.ts +44 -0
- package/dist/models/FileFindResponseAllOfMatches.js +58 -0
- package/dist/models/FileFolderRequest.d.ts +38 -0
- package/dist/models/FileFolderRequest.js +52 -0
- package/dist/models/FileInfoResponse.d.ts +95 -0
- package/dist/models/FileInfoResponse.js +93 -0
- package/dist/models/FileListResponse.d.ts +70 -0
- package/dist/models/FileListResponse.js +76 -0
- package/dist/models/FileMoveRequest.d.ts +44 -0
- package/dist/models/FileMoveRequest.js +56 -0
- package/dist/models/FileMoveResponse.d.ts +63 -0
- package/dist/models/FileMoveResponse.js +71 -0
- package/dist/models/FilePermissionsRequest.d.ts +38 -0
- package/dist/models/FilePermissionsRequest.js +54 -0
- package/dist/models/FileReplaceRequest.d.ts +44 -0
- package/dist/models/FileReplaceRequest.js +58 -0
- package/dist/models/FileReplaceResponse.d.ts +58 -0
- package/dist/models/FileReplaceResponse.js +68 -0
- package/dist/models/FileReplaceResponseAllOfResults.d.ts +50 -0
- package/dist/models/FileReplaceResponseAllOfResults.js +58 -0
- package/dist/models/FileSearchResponse.d.ts +69 -0
- package/dist/models/FileSearchResponse.js +73 -0
- package/dist/models/LimitsFields.d.ts +54 -16
- package/dist/models/LimitsFields.js +16 -2
- package/dist/models/LimitsFieldsOveragePrices.d.ts +51 -0
- package/dist/models/LimitsFieldsOveragePrices.js +55 -0
- package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.d.ts +44 -0
- package/dist/models/LimitsFieldsOveragePricesStartBracketsInner.js +52 -0
- package/dist/models/LimitsFieldsPlanIncluded.d.ts +44 -0
- package/dist/models/LimitsFieldsPlanIncluded.js +52 -0
- package/dist/models/LimitsFieldsStartLimitsWithWallet.d.ts +44 -0
- package/dist/models/LimitsFieldsStartLimitsWithWallet.js +52 -0
- package/dist/models/LimitsFieldsWallet.d.ts +32 -0
- package/dist/models/LimitsFieldsWallet.js +48 -0
- package/dist/models/LimitsResponse.d.ts +54 -16
- package/dist/models/LimitsResponse.js +16 -2
- package/dist/models/NamedSnapshotAllowance.d.ts +9 -3
- package/dist/models/NamedSnapshotAllowance.js +2 -0
- package/dist/models/SavedSnapshotAllowance.d.ts +9 -3
- package/dist/models/SavedSnapshotAllowance.js +2 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/docs/BoatApi.md +744 -48
- package/docs/CreateSandboxRequest.md +8 -0
- package/docs/CreateSandboxRequestFilesInner.md +36 -0
- package/docs/CreateSandboxResponse.md +2 -0
- package/docs/CreateSandboxResponseAllOfHostedPortsInner.md +44 -0
- package/docs/FileDeleteResponse.md +38 -0
- package/docs/FileEntry.md +44 -0
- package/docs/FileFindResponse.md +42 -0
- package/docs/FileFindResponseAllOfMatches.md +36 -0
- package/docs/FileFolderRequest.md +34 -0
- package/docs/FileInfoResponse.md +50 -0
- package/docs/FileListResponse.md +42 -0
- package/docs/FileMoveRequest.md +36 -0
- package/docs/FileMoveResponse.md +40 -0
- package/docs/FilePermissionsRequest.md +34 -0
- package/docs/FileReplaceRequest.md +36 -0
- package/docs/FileReplaceResponse.md +38 -0
- package/docs/FileReplaceResponseAllOfResults.md +38 -0
- package/docs/FileSearchResponse.md +42 -0
- package/docs/LimitsFields.md +12 -2
- package/docs/LimitsFieldsOveragePrices.md +39 -0
- package/docs/LimitsFieldsOveragePricesStartBracketsInner.md +36 -0
- package/docs/LimitsFieldsPlanIncluded.md +37 -0
- package/docs/LimitsFieldsStartLimitsWithWallet.md +37 -0
- package/docs/LimitsFieldsWallet.md +33 -0
- package/docs/LimitsResponse.md +12 -2
- package/docs/NamedSnapshotAllowance.md +3 -1
- package/docs/SavedSnapshotAllowance.md +3 -1
- package/package.json +1 -1
- package/src/apis/BoatApi.ts +721 -14
- package/src/models/CreateSandboxRequest.ts +57 -1
- package/src/models/CreateSandboxRequestFilesInner.ts +94 -0
- package/src/models/CreateSandboxResponse.ts +15 -0
- package/src/models/CreateSandboxResponseAllOfHostedPortsInner.ts +128 -0
- package/src/models/FileDeleteResponse.ts +102 -0
- package/src/models/FileEntry.ts +120 -0
- package/src/models/FileFindResponse.ts +127 -0
- package/src/models/FileFindResponseAllOfMatches.ts +84 -0
- package/src/models/FileFolderRequest.ts +74 -0
- package/src/models/FileInfoResponse.ts +158 -0
- package/src/models/FileListResponse.ts +128 -0
- package/src/models/FileMoveRequest.ts +83 -0
- package/src/models/FileMoveResponse.ts +111 -0
- package/src/models/FilePermissionsRequest.ts +75 -0
- package/src/models/FileReplaceRequest.ts +84 -0
- package/src/models/FileReplaceResponse.ts +110 -0
- package/src/models/FileReplaceResponseAllOfResults.ts +91 -0
- package/src/models/FileSearchResponse.ts +119 -0
- package/src/models/LimitsFields.ts +90 -16
- package/src/models/LimitsFieldsOveragePrices.ts +97 -0
- package/src/models/LimitsFieldsOveragePricesStartBracketsInner.ts +81 -0
- package/src/models/LimitsFieldsPlanIncluded.ts +81 -0
- package/src/models/LimitsFieldsStartLimitsWithWallet.ts +81 -0
- package/src/models/LimitsFieldsWallet.ts +65 -0
- package/src/models/LimitsResponse.ts +90 -16
- package/src/models/NamedSnapshotAllowance.ts +11 -3
- package/src/models/SavedSnapshotAllowance.ts +11 -3
- package/src/models/index.ts +21 -0
package/docs/LimitsFields.md
CHANGED
|
@@ -22,12 +22,16 @@ Name | Type
|
|
|
22
22
|
`maxCreationRequestsPerMinute` | number
|
|
23
23
|
`maxCreationRequestsPerDay` | number
|
|
24
24
|
`startLimits` | [LimitsFieldsStartLimits](LimitsFieldsStartLimits.md)
|
|
25
|
+
`wallet` | [LimitsFieldsWallet](LimitsFieldsWallet.md)
|
|
26
|
+
`planIncluded` | [LimitsFieldsPlanIncluded](LimitsFieldsPlanIncluded.md)
|
|
27
|
+
`overagePrices` | [LimitsFieldsOveragePrices](LimitsFieldsOveragePrices.md)
|
|
28
|
+
`nextStartDollars` | number
|
|
29
|
+
`startLimitsWithWallet` | [LimitsFieldsStartLimitsWithWallet](LimitsFieldsStartLimitsWithWallet.md)
|
|
25
30
|
`starts` | [LimitsFieldsStarts](LimitsFieldsStarts.md)
|
|
26
31
|
`creditBalanceHours` | number
|
|
27
32
|
`packBalanceHours` | number
|
|
28
33
|
`packBalanceDollars` | number
|
|
29
34
|
`hasPaymentHistory` | boolean
|
|
30
|
-
`_package` | { [key: string]: any; }
|
|
31
35
|
`subscriptionQuotaSeconds` | number
|
|
32
36
|
`subscriptionRemainingSeconds` | number
|
|
33
37
|
`packBalanceSeconds` | number
|
|
@@ -46,6 +50,7 @@ Name | Type
|
|
|
46
50
|
`hasSeatPlan` | boolean
|
|
47
51
|
`last24hUsageSeconds` | number
|
|
48
52
|
`trialComputeCapSeconds` | number
|
|
53
|
+
`trialComputeUsedSeconds` | number
|
|
49
54
|
`trialLine` | string
|
|
50
55
|
`machineTypes` | [Array<LimitsFieldsMachineTypesInner>](LimitsFieldsMachineTypesInner.md)
|
|
51
56
|
`giftLimit` | [LimitsFieldsGiftLimit](LimitsFieldsGiftLimit.md)
|
|
@@ -82,12 +87,16 @@ const example = {
|
|
|
82
87
|
"maxCreationRequestsPerMinute": null,
|
|
83
88
|
"maxCreationRequestsPerDay": null,
|
|
84
89
|
"startLimits": null,
|
|
90
|
+
"wallet": null,
|
|
91
|
+
"planIncluded": null,
|
|
92
|
+
"overagePrices": null,
|
|
93
|
+
"nextStartDollars": null,
|
|
94
|
+
"startLimitsWithWallet": null,
|
|
85
95
|
"starts": null,
|
|
86
96
|
"creditBalanceHours": null,
|
|
87
97
|
"packBalanceHours": null,
|
|
88
98
|
"packBalanceDollars": null,
|
|
89
99
|
"hasPaymentHistory": null,
|
|
90
|
-
"_package": null,
|
|
91
100
|
"subscriptionQuotaSeconds": null,
|
|
92
101
|
"subscriptionRemainingSeconds": null,
|
|
93
102
|
"packBalanceSeconds": null,
|
|
@@ -106,6 +115,7 @@ const example = {
|
|
|
106
115
|
"hasSeatPlan": null,
|
|
107
116
|
"last24hUsageSeconds": null,
|
|
108
117
|
"trialComputeCapSeconds": null,
|
|
118
|
+
"trialComputeUsedSeconds": null,
|
|
109
119
|
"trialLine": null,
|
|
110
120
|
"machineTypes": null,
|
|
111
121
|
"giftLimit": null,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
# LimitsFieldsOveragePrices
|
|
3
|
+
|
|
4
|
+
What the wallet pays past the plan.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`vmHourDollars` | number
|
|
11
|
+
`savedSnapshotDayDollars` | number
|
|
12
|
+
`startBrackets` | [Array<LimitsFieldsOveragePricesStartBracketsInner>](LimitsFieldsOveragePricesStartBracketsInner.md)
|
|
13
|
+
`startLimitMultiplier` | number
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { LimitsFieldsOveragePrices } from '@boatdev/sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"vmHourDollars": null,
|
|
23
|
+
"savedSnapshotDayDollars": null,
|
|
24
|
+
"startBrackets": null,
|
|
25
|
+
"startLimitMultiplier": null,
|
|
26
|
+
} satisfies LimitsFieldsOveragePrices
|
|
27
|
+
|
|
28
|
+
console.log(example)
|
|
29
|
+
|
|
30
|
+
// Convert the instance to a JSON string
|
|
31
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
32
|
+
console.log(exampleJSON)
|
|
33
|
+
|
|
34
|
+
// Parse the JSON string back to an object
|
|
35
|
+
const exampleParsed = JSON.parse(exampleJSON) as LimitsFieldsOveragePrices
|
|
36
|
+
console.log(exampleParsed)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# LimitsFieldsOveragePricesStartBracketsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`aboveMultiple` | number
|
|
10
|
+
`upToMultiple` | number
|
|
11
|
+
`dollars` | number
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { LimitsFieldsOveragePricesStartBracketsInner } from '@boatdev/sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"aboveMultiple": null,
|
|
21
|
+
"upToMultiple": null,
|
|
22
|
+
"dollars": null,
|
|
23
|
+
} satisfies LimitsFieldsOveragePricesStartBracketsInner
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as LimitsFieldsOveragePricesStartBracketsInner
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# LimitsFieldsPlanIncluded
|
|
3
|
+
|
|
4
|
+
What the plan includes this billing period. Null on unlimited accounts.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`vmHours` | number
|
|
11
|
+
`vmHoursRemaining` | number
|
|
12
|
+
`periodEnd` | Date
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { LimitsFieldsPlanIncluded } from '@boatdev/sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"vmHours": null,
|
|
22
|
+
"vmHoursRemaining": null,
|
|
23
|
+
"periodEnd": null,
|
|
24
|
+
} satisfies LimitsFieldsPlanIncluded
|
|
25
|
+
|
|
26
|
+
console.log(example)
|
|
27
|
+
|
|
28
|
+
// Convert the instance to a JSON string
|
|
29
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
30
|
+
console.log(exampleJSON)
|
|
31
|
+
|
|
32
|
+
// Parse the JSON string back to an object
|
|
33
|
+
const exampleParsed = JSON.parse(exampleJSON) as LimitsFieldsPlanIncluded
|
|
34
|
+
console.log(exampleParsed)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# LimitsFieldsStartLimitsWithWallet
|
|
3
|
+
|
|
4
|
+
Start ceilings with paid starts: each start limit times `overagePrices.startLimitMultiplier`. Starts above `startLimits` and up to these ceilings are paid from the wallet at the `overagePrices.startBrackets` prices. Null when paid starts are not available now (before the first payment, an empty wallet, or an unlimited account).
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`perMinute` | number
|
|
11
|
+
`perHour` | number
|
|
12
|
+
`perDay` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { LimitsFieldsStartLimitsWithWallet } from '@boatdev/sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"perMinute": null,
|
|
22
|
+
"perHour": null,
|
|
23
|
+
"perDay": null,
|
|
24
|
+
} satisfies LimitsFieldsStartLimitsWithWallet
|
|
25
|
+
|
|
26
|
+
console.log(example)
|
|
27
|
+
|
|
28
|
+
// Convert the instance to a JSON string
|
|
29
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
30
|
+
console.log(exampleJSON)
|
|
31
|
+
|
|
32
|
+
// Parse the JSON string back to an object
|
|
33
|
+
const exampleParsed = JSON.parse(exampleJSON) as LimitsFieldsStartLimitsWithWallet
|
|
34
|
+
console.log(exampleParsed)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
# LimitsFieldsWallet
|
|
3
|
+
|
|
4
|
+
The one wallet of this account or organization, in US dollars. It pays overage only: VM time past the plan, saved snapshots past the included count, paid starts and the AI proxy. It never pays the plan. Null on unlimited accounts.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`balanceDollars` | number
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { LimitsFieldsWallet } from '@boatdev/sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"balanceDollars": null,
|
|
20
|
+
} satisfies LimitsFieldsWallet
|
|
21
|
+
|
|
22
|
+
console.log(example)
|
|
23
|
+
|
|
24
|
+
// Convert the instance to a JSON string
|
|
25
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
26
|
+
console.log(exampleJSON)
|
|
27
|
+
|
|
28
|
+
// Parse the JSON string back to an object
|
|
29
|
+
const exampleParsed = JSON.parse(exampleJSON) as LimitsFieldsWallet
|
|
30
|
+
console.log(exampleParsed)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
package/docs/LimitsResponse.md
CHANGED
|
@@ -24,12 +24,16 @@ Name | Type
|
|
|
24
24
|
`maxCreationRequestsPerMinute` | number
|
|
25
25
|
`maxCreationRequestsPerDay` | number
|
|
26
26
|
`startLimits` | [LimitsFieldsStartLimits](LimitsFieldsStartLimits.md)
|
|
27
|
+
`wallet` | [LimitsFieldsWallet](LimitsFieldsWallet.md)
|
|
28
|
+
`planIncluded` | [LimitsFieldsPlanIncluded](LimitsFieldsPlanIncluded.md)
|
|
29
|
+
`overagePrices` | [LimitsFieldsOveragePrices](LimitsFieldsOveragePrices.md)
|
|
30
|
+
`nextStartDollars` | number
|
|
31
|
+
`startLimitsWithWallet` | [LimitsFieldsStartLimitsWithWallet](LimitsFieldsStartLimitsWithWallet.md)
|
|
27
32
|
`starts` | [LimitsFieldsStarts](LimitsFieldsStarts.md)
|
|
28
33
|
`creditBalanceHours` | number
|
|
29
34
|
`packBalanceHours` | number
|
|
30
35
|
`packBalanceDollars` | number
|
|
31
36
|
`hasPaymentHistory` | boolean
|
|
32
|
-
`_package` | { [key: string]: any; }
|
|
33
37
|
`subscriptionQuotaSeconds` | number
|
|
34
38
|
`subscriptionRemainingSeconds` | number
|
|
35
39
|
`packBalanceSeconds` | number
|
|
@@ -48,6 +52,7 @@ Name | Type
|
|
|
48
52
|
`hasSeatPlan` | boolean
|
|
49
53
|
`last24hUsageSeconds` | number
|
|
50
54
|
`trialComputeCapSeconds` | number
|
|
55
|
+
`trialComputeUsedSeconds` | number
|
|
51
56
|
`trialLine` | string
|
|
52
57
|
`machineTypes` | [Array<LimitsFieldsMachineTypesInner>](LimitsFieldsMachineTypesInner.md)
|
|
53
58
|
`giftLimit` | [LimitsFieldsGiftLimit](LimitsFieldsGiftLimit.md)
|
|
@@ -86,12 +91,16 @@ const example = {
|
|
|
86
91
|
"maxCreationRequestsPerMinute": null,
|
|
87
92
|
"maxCreationRequestsPerDay": null,
|
|
88
93
|
"startLimits": null,
|
|
94
|
+
"wallet": null,
|
|
95
|
+
"planIncluded": null,
|
|
96
|
+
"overagePrices": null,
|
|
97
|
+
"nextStartDollars": null,
|
|
98
|
+
"startLimitsWithWallet": null,
|
|
89
99
|
"starts": null,
|
|
90
100
|
"creditBalanceHours": null,
|
|
91
101
|
"packBalanceHours": null,
|
|
92
102
|
"packBalanceDollars": null,
|
|
93
103
|
"hasPaymentHistory": null,
|
|
94
|
-
"_package": null,
|
|
95
104
|
"subscriptionQuotaSeconds": null,
|
|
96
105
|
"subscriptionRemainingSeconds": null,
|
|
97
106
|
"packBalanceSeconds": null,
|
|
@@ -110,6 +119,7 @@ const example = {
|
|
|
110
119
|
"hasSeatPlan": null,
|
|
111
120
|
"last24hUsageSeconds": null,
|
|
112
121
|
"trialComputeCapSeconds": null,
|
|
122
|
+
"trialComputeUsedSeconds": null,
|
|
113
123
|
"trialLine": null,
|
|
114
124
|
"machineTypes": null,
|
|
115
125
|
"giftLimit": null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# NamedSnapshotAllowance
|
|
3
3
|
|
|
4
|
-
What the request\'s wallet (your active organization, `?org=`, or personal) pays for named snapshots.
|
|
4
|
+
What the request\'s wallet (your active organization, `?org=`, or personal) pays for named snapshots. The plan includes some; each one above costs $0.056 a day from the wallet. An organization\'s count includes every member\'s names billed to it.
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
@@ -15,6 +15,7 @@ Name | Type
|
|
|
15
15
|
`extraMonthlyDollars` | number
|
|
16
16
|
`extraDailyDollars` | number
|
|
17
17
|
`pricePerExtraMonthlyDollars` | number
|
|
18
|
+
`pricePerExtraDailyDollars` | number
|
|
18
19
|
|
|
19
20
|
## Example
|
|
20
21
|
|
|
@@ -31,6 +32,7 @@ const example = {
|
|
|
31
32
|
"extraMonthlyDollars": null,
|
|
32
33
|
"extraDailyDollars": null,
|
|
33
34
|
"pricePerExtraMonthlyDollars": null,
|
|
35
|
+
"pricePerExtraDailyDollars": null,
|
|
34
36
|
} satisfies NamedSnapshotAllowance
|
|
35
37
|
|
|
36
38
|
console.log(example)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# SavedSnapshotAllowance
|
|
3
3
|
|
|
4
|
-
What the request\'s wallet (your active organization, `?org=`, or personal) pays for saved snapshots.
|
|
4
|
+
What the request\'s wallet (your active organization, `?org=`, or personal) pays for saved snapshots. The plan includes some; each one above costs $0.056 a day from the wallet. An organization\'s count includes every member\'s names billed to it.
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
@@ -16,6 +16,7 @@ Name | Type
|
|
|
16
16
|
`extraMonthlyDollars` | number
|
|
17
17
|
`extraDailyDollars` | number
|
|
18
18
|
`pricePerExtraMonthlyDollars` | number
|
|
19
|
+
`pricePerExtraDailyDollars` | number
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -33,6 +34,7 @@ const example = {
|
|
|
33
34
|
"extraMonthlyDollars": null,
|
|
34
35
|
"extraDailyDollars": null,
|
|
35
36
|
"pricePerExtraMonthlyDollars": null,
|
|
37
|
+
"pricePerExtraDailyDollars": null,
|
|
36
38
|
} satisfies SavedSnapshotAllowance
|
|
37
39
|
|
|
38
40
|
console.log(example)
|