@pidginhost/sdk 0.6.0 → 0.8.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.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +39 -0
  2. package/CHANGELOG.md +7 -0
  3. package/README.md +115 -2
  4. package/api.ts +9095 -3388
  5. package/dist/api.d.ts +2569 -62
  6. package/dist/api.js +8153 -3040
  7. package/dist/esm/api.d.ts +2569 -62
  8. package/dist/esm/api.js +8135 -3026
  9. package/docs/ApiCredential.md +32 -0
  10. package/docs/Bucket.md +40 -0
  11. package/docs/CloudApi.md +1315 -134
  12. package/docs/DnsSourceEnum.md +13 -0
  13. package/docs/DomainAdd.md +28 -0
  14. package/docs/EmailApi.md +2828 -0
  15. package/docs/EmailService.md +44 -0
  16. package/docs/FloatingIPAuthorization.md +27 -0
  17. package/docs/FloatingIPAuthorizeRequest.md +20 -0
  18. package/docs/FloatingIPv4.md +32 -0
  19. package/docs/FloatingIPv4AuthorizeResponse.md +20 -0
  20. package/docs/FloatingIPv4Create.md +20 -0
  21. package/docs/FloatingIPv4UnauthorizeResponse.md +20 -0
  22. package/docs/FloatingIPv6.md +32 -0
  23. package/docs/FloatingIPv6AuthorizeResponse.md +20 -0
  24. package/docs/FloatingIPv6Create.md +20 -0
  25. package/docs/FloatingIPv6UnauthorizeResponse.md +20 -0
  26. package/docs/InboundRoute.md +34 -0
  27. package/docs/ModeEnum.md +11 -0
  28. package/docs/PaginatedApiCredentialList.md +26 -0
  29. package/docs/PaginatedEmailServiceList.md +26 -0
  30. package/docs/PaginatedFloatingIPAuthorizationList.md +26 -0
  31. package/docs/PaginatedFloatingIPv4List.md +26 -0
  32. package/docs/PaginatedFloatingIPv6List.md +26 -0
  33. package/docs/PaginatedInboundRouteList.md +26 -0
  34. package/docs/PaginatedSandboxAddressList.md +26 -0
  35. package/docs/PaginatedSendingDomainList.md +26 -0
  36. package/docs/PaginatedSmtpCredentialList.md +26 -0
  37. package/docs/PaginatedSuppressionEntryList.md +26 -0
  38. package/docs/PatchedEmailService.md +44 -0
  39. package/docs/PatchedInboundRoute.md +34 -0
  40. package/docs/PatchedSubscribe.md +20 -0
  41. package/docs/ReasonEnum.md +15 -0
  42. package/docs/SandboxAddress.md +26 -0
  43. package/docs/SendingDomain.md +42 -0
  44. package/docs/SendingDomainStatusEnum.md +17 -0
  45. package/docs/ServerProduct.md +8 -0
  46. package/docs/SmtpCredential.md +30 -0
  47. package/docs/Subscribe.md +20 -0
  48. package/docs/SuppressionEntry.md +28 -0
  49. package/docs/TierEnum.md +13 -0
  50. package/package.json +1 -1
@@ -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)
@@ -8,6 +8,10 @@ Name | Type | Description | Notes
8
8
  **id** | **number** | | [readonly] [default to undefined]
9
9
  **slug** | **string** | | [default to undefined]
10
10
  **name** | **string** | | [readonly] [default to undefined]
11
+ **cpus** | **number** | | [readonly] [default to undefined]
12
+ **memory** | **number** | | [readonly] [default to undefined]
13
+ **disk_size** | **number** | | [readonly] [default to undefined]
14
+ **traffic** | **number** | | [readonly] [default to undefined]
11
15
 
12
16
  ## Example
13
17
 
@@ -18,6 +22,10 @@ const instance: ServerProduct = {
18
22
  id,
19
23
  slug,
20
24
  name,
25
+ cpus,
26
+ memory,
27
+ disk_size,
28
+ traffic,
21
29
  };
22
30
  ```
23
31
 
@@ -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)
@@ -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pidginhost/sdk",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "OpenAPI client for @pidginhost/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {