@pidginhost/sdk 0.5.0 → 0.7.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 +39 -0
- package/CHANGELOG.md +13 -0
- package/README.md +115 -2
- package/api.ts +9092 -3385
- package/dist/api.d.ts +2573 -62
- package/dist/api.js +8148 -3042
- package/dist/esm/api.d.ts +2573 -62
- package/dist/esm/api.js +8138 -3036
- package/docs/ApiCredential.md +32 -0
- package/docs/Bucket.md +40 -0
- package/docs/CloudApi.md +1312 -134
- package/docs/ClusterAdd.md +2 -0
- package/docs/ClusterDetail.md +4 -0
- package/docs/DnsSourceEnum.md +13 -0
- package/docs/DomainAdd.md +28 -0
- package/docs/EmailApi.md +2828 -0
- package/docs/EmailService.md +44 -0
- package/docs/FloatingIPAuthorization.md +27 -0
- package/docs/FloatingIPAuthorizeRequest.md +20 -0
- package/docs/FloatingIPv4.md +32 -0
- package/docs/FloatingIPv4AuthorizeResponse.md +20 -0
- package/docs/FloatingIPv4Create.md +20 -0
- package/docs/FloatingIPv4UnauthorizeResponse.md +20 -0
- package/docs/FloatingIPv6.md +32 -0
- package/docs/FloatingIPv6AuthorizeResponse.md +20 -0
- package/docs/FloatingIPv6Create.md +20 -0
- package/docs/FloatingIPv6UnauthorizeResponse.md +20 -0
- package/docs/InboundRoute.md +34 -0
- package/docs/KubeVersionEnum.md +4 -4
- package/docs/ModeEnum.md +11 -0
- package/docs/PaginatedApiCredentialList.md +26 -0
- package/docs/PaginatedEmailServiceList.md +26 -0
- package/docs/PaginatedFloatingIPAuthorizationList.md +26 -0
- package/docs/PaginatedFloatingIPv4List.md +26 -0
- package/docs/PaginatedFloatingIPv6List.md +26 -0
- package/docs/PaginatedInboundRouteList.md +26 -0
- package/docs/PaginatedSandboxAddressList.md +26 -0
- package/docs/PaginatedSendingDomainList.md +26 -0
- package/docs/PaginatedSmtpCredentialList.md +26 -0
- package/docs/PaginatedSuppressionEntryList.md +26 -0
- package/docs/PatchedClusterDetail.md +4 -0
- package/docs/PatchedEmailService.md +44 -0
- package/docs/PatchedInboundRoute.md +34 -0
- package/docs/PatchedSubscribe.md +20 -0
- package/docs/ReasonEnum.md +15 -0
- package/docs/SandboxAddress.md +26 -0
- package/docs/SendingDomain.md +42 -0
- package/docs/SendingDomainStatusEnum.md +17 -0
- package/docs/ServerAdd.md +2 -0
- package/docs/SmtpCredential.md +30 -0
- package/docs/Subscribe.md +20 -0
- package/docs/SuppressionEntry.md +28 -0
- package/docs/TierEnum.md +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# PatchedEmailService
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [readonly] [default to undefined]
|
|
9
|
+
**tier** | **string** | | [optional] [readonly] [default to undefined]
|
|
10
|
+
**status** | [**StatusA57Enum**](StatusA57Enum.md) | | [optional] [readonly] [default to undefined]
|
|
11
|
+
**sandbox_mode** | **boolean** | | [optional] [readonly] [default to undefined]
|
|
12
|
+
**auto_suspended** | **boolean** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
**auto_suspend_reason** | **string** | | [optional] [readonly] [default to undefined]
|
|
14
|
+
**msgs_sent_24h** | **number** | | [optional] [readonly] [default to undefined]
|
|
15
|
+
**msgs_sent_30d** | **number** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
**bounce_rate_pct** | **string** | | [optional] [readonly] [default to undefined]
|
|
17
|
+
**complaint_rate_pct** | **string** | | [optional] [readonly] [default to undefined]
|
|
18
|
+
**dedicated_ip_addon** | **boolean** | | [optional] [readonly] [default to undefined]
|
|
19
|
+
**quota_monthly** | **string** | | [optional] [readonly] [default to undefined]
|
|
20
|
+
**price_monthly_eur** | **string** | | [optional] [readonly] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { PatchedEmailService } from '@pidginhost/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: PatchedEmailService = {
|
|
28
|
+
id,
|
|
29
|
+
tier,
|
|
30
|
+
status,
|
|
31
|
+
sandbox_mode,
|
|
32
|
+
auto_suspended,
|
|
33
|
+
auto_suspend_reason,
|
|
34
|
+
msgs_sent_24h,
|
|
35
|
+
msgs_sent_30d,
|
|
36
|
+
bounce_rate_pct,
|
|
37
|
+
complaint_rate_pct,
|
|
38
|
+
dedicated_ip_addon,
|
|
39
|
+
quota_monthly,
|
|
40
|
+
price_monthly_eur,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[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,34 @@
|
|
|
1
|
+
# PatchedInboundRoute
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [readonly] [default to undefined]
|
|
9
|
+
**domain** | **number** | | [optional] [readonly] [default to undefined]
|
|
10
|
+
**pattern** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mode** | [**ModeEnum**](ModeEnum.md) | | [optional] [default to undefined]
|
|
12
|
+
**webhook_url** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**forward_to** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**active** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PatchedInboundRoute } from '@pidginhost/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: PatchedInboundRoute = {
|
|
23
|
+
id,
|
|
24
|
+
domain,
|
|
25
|
+
pattern,
|
|
26
|
+
mode,
|
|
27
|
+
webhook_url,
|
|
28
|
+
forward_to,
|
|
29
|
+
active,
|
|
30
|
+
created_at,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[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,20 @@
|
|
|
1
|
+
# PatchedSubscribe
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**tier** | [**TierEnum**](TierEnum.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PatchedSubscribe } from '@pidginhost/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: PatchedSubscribe = {
|
|
16
|
+
tier,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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
|
+
# ReasonEnum
|
|
2
|
+
|
|
3
|
+
* `hard_bounce` - Hard bounce * `complaint` - Complaint * `manual` - Manual * `unsubscribe` - Unsubscribe
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `HardBounce` (value: `'hard_bounce'`)
|
|
8
|
+
|
|
9
|
+
* `Complaint` (value: `'complaint'`)
|
|
10
|
+
|
|
11
|
+
* `Manual` (value: `'manual'`)
|
|
12
|
+
|
|
13
|
+
* `Unsubscribe` (value: `'unsubscribe'`)
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SandboxAddress
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [readonly] [default to undefined]
|
|
9
|
+
**address** | **string** | | [default to undefined]
|
|
10
|
+
**verified_at** | **string** | | [readonly] [default to undefined]
|
|
11
|
+
**created_at** | **string** | | [readonly] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SandboxAddress } from '@pidginhost/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: SandboxAddress = {
|
|
19
|
+
id,
|
|
20
|
+
address,
|
|
21
|
+
verified_at,
|
|
22
|
+
created_at,
|
|
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,42 @@
|
|
|
1
|
+
# SendingDomain
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [readonly] [default to undefined]
|
|
9
|
+
**name** | **string** | | [readonly] [default to undefined]
|
|
10
|
+
**status** | [**SendingDomainStatusEnum**](SendingDomainStatusEnum.md) | | [readonly] [default to undefined]
|
|
11
|
+
**dns_source** | [**DnsSourceEnum**](DnsSourceEnum.md) | | [readonly] [default to undefined]
|
|
12
|
+
**use_inbound** | **boolean** | | [readonly] [default to undefined]
|
|
13
|
+
**dkim_selector** | **string** | | [readonly] [default to undefined]
|
|
14
|
+
**dkim_record** | **string** | | [readonly] [default to undefined]
|
|
15
|
+
**spf_record** | **string** | | [readonly] [default to undefined]
|
|
16
|
+
**dmarc_record** | **string** | | [readonly] [default to undefined]
|
|
17
|
+
**verified_at** | **string** | | [readonly] [default to undefined]
|
|
18
|
+
**last_check_at** | **string** | | [readonly] [default to undefined]
|
|
19
|
+
**last_check_errors** | **any** | | [readonly] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { SendingDomain } from '@pidginhost/sdk';
|
|
25
|
+
|
|
26
|
+
const instance: SendingDomain = {
|
|
27
|
+
id,
|
|
28
|
+
name,
|
|
29
|
+
status,
|
|
30
|
+
dns_source,
|
|
31
|
+
use_inbound,
|
|
32
|
+
dkim_selector,
|
|
33
|
+
dkim_record,
|
|
34
|
+
spf_record,
|
|
35
|
+
dmarc_record,
|
|
36
|
+
verified_at,
|
|
37
|
+
last_check_at,
|
|
38
|
+
last_check_errors,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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,17 @@
|
|
|
1
|
+
# SendingDomainStatusEnum
|
|
2
|
+
|
|
3
|
+
* `pending` - Pending * `verifying` - Verifying * `verified` - Verified * `failed` - Failed * `suspended` - Suspended
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Pending` (value: `'pending'`)
|
|
8
|
+
|
|
9
|
+
* `Verifying` (value: `'verifying'`)
|
|
10
|
+
|
|
11
|
+
* `Verified` (value: `'verified'`)
|
|
12
|
+
|
|
13
|
+
* `Failed` (value: `'failed'`)
|
|
14
|
+
|
|
15
|
+
* `Suspended` (value: `'suspended'`)
|
|
16
|
+
|
|
17
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ServerAdd.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**password** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**ssh_pub_key** | **string** | New SSH key | [optional] [default to undefined]
|
|
14
14
|
**ssh_pub_key_id** | **string** | ID or fingerprint | [optional] [default to undefined]
|
|
15
|
+
**user_data** | **string** | Optional startup script. Must be an executable script with a shebang. Stored in cleartext. | [optional] [default to undefined]
|
|
15
16
|
**public_ip** | **string** | ID or slug | [optional] [default to undefined]
|
|
16
17
|
**new_ipv4** | **boolean** | | [optional] [default to undefined]
|
|
17
18
|
**public_ipv6** | **string** | ID or slug | [optional] [default to undefined]
|
|
@@ -40,6 +41,7 @@ const instance: ServerAdd = {
|
|
|
40
41
|
password,
|
|
41
42
|
ssh_pub_key,
|
|
42
43
|
ssh_pub_key_id,
|
|
44
|
+
user_data,
|
|
43
45
|
public_ip,
|
|
44
46
|
new_ipv4,
|
|
45
47
|
public_ipv6,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# SmtpCredential
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [readonly] [default to undefined]
|
|
9
|
+
**label** | **string** | | [readonly] [default to undefined]
|
|
10
|
+
**username** | **string** | | [readonly] [default to undefined]
|
|
11
|
+
**active** | **boolean** | | [readonly] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [readonly] [default to undefined]
|
|
13
|
+
**revoked_at** | **string** | | [readonly] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SmtpCredential } from '@pidginhost/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: SmtpCredential = {
|
|
21
|
+
id,
|
|
22
|
+
label,
|
|
23
|
+
username,
|
|
24
|
+
active,
|
|
25
|
+
created_at,
|
|
26
|
+
revoked_at,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,20 @@
|
|
|
1
|
+
# Subscribe
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**tier** | [**TierEnum**](TierEnum.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { Subscribe } from '@pidginhost/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: Subscribe = {
|
|
16
|
+
tier,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,28 @@
|
|
|
1
|
+
# SuppressionEntry
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [readonly] [default to undefined]
|
|
9
|
+
**address** | **string** | | [readonly] [default to undefined]
|
|
10
|
+
**reason** | [**ReasonEnum**](ReasonEnum.md) | | [readonly] [default to undefined]
|
|
11
|
+
**detail** | **string** | | [readonly] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [readonly] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { SuppressionEntry } from '@pidginhost/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: SuppressionEntry = {
|
|
20
|
+
id,
|
|
21
|
+
address,
|
|
22
|
+
reason,
|
|
23
|
+
detail,
|
|
24
|
+
created_at,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/TierEnum.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# TierEnum
|
|
2
|
+
|
|
3
|
+
* `starter` - Starter * `pro` - Pro * `business` - Business
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Starter` (value: `'starter'`)
|
|
8
|
+
|
|
9
|
+
* `Pro` (value: `'pro'`)
|
|
10
|
+
|
|
11
|
+
* `Business` (value: `'business'`)
|
|
12
|
+
|
|
13
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|