@pidginhost/sdk 0.2.0 → 0.5.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 +10 -0
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +62 -0
- package/README.md +24 -215
- package/api.ts +11413 -26360
- package/dist/api.d.ts +799 -6912
- package/dist/api.js +10802 -25003
- package/dist/esm/api.d.ts +799 -6912
- package/dist/esm/api.js +11170 -25375
- package/dist/esm/pidginhost.d.ts +7 -1
- package/dist/esm/pidginhost.js +7 -1
- package/dist/pidginhost.d.ts +7 -1
- package/dist/pidginhost.js +6 -0
- package/docs/AccountApi.md +142 -1138
- package/docs/AuthApi.md +104 -0
- package/docs/BillingApi.md +134 -1073
- package/docs/CLISessionCreateResponse.md +26 -0
- package/docs/CLISessionPollResponse.md +26 -0
- package/docs/CLISessionPollResponseStatusEnum.md +15 -0
- package/docs/CloudApi.md +906 -4971
- package/docs/ClusterAdd.md +2 -0
- package/docs/ClusterDetail.md +8 -0
- package/docs/DedicatedApi.md +0 -272
- package/docs/DomainApi.md +144 -1164
- package/docs/EligibleVM.md +22 -0
- package/docs/EligibleVMsResponse.md +20 -0
- package/docs/FreednsApi.md +0 -324
- package/docs/HardwareGeneration.md +34 -0
- package/docs/HostingApi.md +0 -160
- package/docs/KubeVersionEnum.md +4 -4
- package/docs/KubernetesApi.md +565 -3562
- package/docs/PatchedClusterDetail.md +8 -0
- package/docs/PatchedResourcePool.md +2 -0
- package/docs/PatchedServerDetail.md +52 -0
- package/docs/ResourcePool.md +2 -0
- package/docs/ResourcePoolAdd.md +2 -0
- package/docs/SchemaApi.md +0 -55
- package/docs/Server.md +5 -3
- package/docs/ServerAdd.md +2 -0
- package/docs/ServerDetail.md +52 -0
- package/docs/SupportApi.md +0 -417
- package/docs/ToggleCloudVMAccessResponse.md +22 -0
- package/package.json +1 -1
- package/pidginhost.ts +13 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# CLISessionCreateResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**session_id** | **string** | | [default to undefined]
|
|
9
|
+
**verification_url** | **string** | | [default to undefined]
|
|
10
|
+
**expires_at** | **string** | | [default to undefined]
|
|
11
|
+
**poll_interval** | **number** | Recommended polling interval in seconds | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CLISessionCreateResponse } from '@pidginhost/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: CLISessionCreateResponse = {
|
|
19
|
+
session_id,
|
|
20
|
+
verification_url,
|
|
21
|
+
expires_at,
|
|
22
|
+
poll_interval,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# CLISessionPollResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | [**CLISessionPollResponseStatusEnum**](CLISessionPollResponseStatusEnum.md) | | [default to undefined]
|
|
9
|
+
**token_key** | **string** | Only present when status is approved | [optional] [default to undefined]
|
|
10
|
+
**token_name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**token_scope** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CLISessionPollResponse } from '@pidginhost/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: CLISessionPollResponse = {
|
|
19
|
+
status,
|
|
20
|
+
token_key,
|
|
21
|
+
token_name,
|
|
22
|
+
token_scope,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# CLISessionPollResponseStatusEnum
|
|
2
|
+
|
|
3
|
+
* `pending` - pending * `approved` - approved * `expired` - expired * `denied` - denied
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Pending` (value: `'pending'`)
|
|
8
|
+
|
|
9
|
+
* `Approved` (value: `'approved'`)
|
|
10
|
+
|
|
11
|
+
* `Expired` (value: `'expired'`)
|
|
12
|
+
|
|
13
|
+
* `Denied` (value: `'denied'`)
|
|
14
|
+
|
|
15
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|