@augno/sdk 0.10.0 → 0.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/CHANGELOG.md +2 -2
- package/package.json +1 -1
- package/resources/core/audit-events.d.mts +3 -3
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +3 -3
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +2 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +2 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/messaging/conversations/conversations.d.mts +3 -3
- package/resources/messaging/conversations/conversations.d.mts.map +1 -1
- package/resources/messaging/conversations/conversations.d.ts +3 -3
- package/resources/messaging/conversations/conversations.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.js.map +1 -1
- package/resources/messaging/conversations/conversations.mjs.map +1 -1
- package/resources/messaging/conversations/links.d.mts +2 -2
- package/resources/messaging/conversations/links.d.mts.map +1 -1
- package/resources/messaging/conversations/links.d.ts +2 -2
- package/resources/messaging/conversations/links.d.ts.map +1 -1
- package/resources/messaging/conversations/messages.d.mts +2 -2
- package/resources/messaging/conversations/messages.d.mts.map +1 -1
- package/resources/messaging/conversations/messages.d.ts +2 -2
- package/resources/messaging/conversations/messages.d.ts.map +1 -1
- package/resources/messaging/email-domains/email-domains.d.mts +20 -1
- package/resources/messaging/email-domains/email-domains.d.mts.map +1 -1
- package/resources/messaging/email-domains/email-domains.d.ts +20 -1
- package/resources/messaging/email-domains/email-domains.d.ts.map +1 -1
- package/resources/messaging/email-domains/email-domains.js +19 -0
- package/resources/messaging/email-domains/email-domains.js.map +1 -1
- package/resources/messaging/email-domains/email-domains.mjs +19 -0
- package/resources/messaging/email-domains/email-domains.mjs.map +1 -1
- package/resources/messaging/email-domains/index.d.mts +1 -1
- package/resources/messaging/email-domains/index.d.mts.map +1 -1
- package/resources/messaging/email-domains/index.d.ts +1 -1
- package/resources/messaging/email-domains/index.d.ts.map +1 -1
- package/resources/messaging/email-domains/index.js.map +1 -1
- package/resources/messaging/email-domains/index.mjs.map +1 -1
- package/resources/messaging/index.d.mts +1 -1
- package/resources/messaging/index.d.mts.map +1 -1
- package/resources/messaging/index.d.ts +1 -1
- package/resources/messaging/index.d.ts.map +1 -1
- package/resources/messaging/index.js.map +1 -1
- package/resources/messaging/index.mjs.map +1 -1
- package/resources/messaging/messaging.d.mts +2 -2
- package/resources/messaging/messaging.d.mts.map +1 -1
- package/resources/messaging/messaging.d.ts +2 -2
- package/resources/messaging/messaging.d.ts.map +1 -1
- package/resources/messaging/messaging.js.map +1 -1
- package/resources/messaging/messaging.mjs.map +1 -1
- package/resources/messaging/notifications/notifications.d.mts +2 -2
- package/resources/messaging/notifications/notifications.d.mts.map +1 -1
- package/resources/messaging/notifications/notifications.d.ts +2 -2
- package/resources/messaging/notifications/notifications.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.js.map +1 -1
- package/resources/messaging/notifications/notifications.mjs.map +1 -1
- package/resources/settings/index.d.mts +1 -0
- package/resources/settings/index.d.mts.map +1 -1
- package/resources/settings/index.d.ts +1 -0
- package/resources/settings/index.d.ts.map +1 -1
- package/resources/settings/index.js +3 -1
- package/resources/settings/index.js.map +1 -1
- package/resources/settings/index.mjs +1 -0
- package/resources/settings/index.mjs.map +1 -1
- package/resources/settings/portal-domains/actions.d.mts +28 -0
- package/resources/settings/portal-domains/actions.d.mts.map +1 -0
- package/resources/settings/portal-domains/actions.d.ts +28 -0
- package/resources/settings/portal-domains/actions.d.ts.map +1 -0
- package/resources/settings/portal-domains/actions.js +33 -0
- package/resources/settings/portal-domains/actions.js.map +1 -0
- package/resources/settings/portal-domains/actions.mjs +29 -0
- package/resources/settings/portal-domains/actions.mjs.map +1 -0
- package/resources/settings/portal-domains/index.d.mts +3 -0
- package/resources/settings/portal-domains/index.d.mts.map +1 -0
- package/resources/settings/portal-domains/index.d.ts +3 -0
- package/resources/settings/portal-domains/index.d.ts.map +1 -0
- package/resources/settings/portal-domains/index.js +9 -0
- package/resources/settings/portal-domains/index.js.map +1 -0
- package/resources/settings/portal-domains/index.mjs +4 -0
- package/resources/settings/portal-domains/index.mjs.map +1 -0
- package/resources/settings/portal-domains/portal-domains.d.mts +208 -0
- package/resources/settings/portal-domains/portal-domains.d.mts.map +1 -0
- package/resources/settings/portal-domains/portal-domains.d.ts +208 -0
- package/resources/settings/portal-domains/portal-domains.d.ts.map +1 -0
- package/resources/settings/portal-domains/portal-domains.js +93 -0
- package/resources/settings/portal-domains/portal-domains.js.map +1 -0
- package/resources/settings/portal-domains/portal-domains.mjs +88 -0
- package/resources/settings/portal-domains/portal-domains.mjs.map +1 -0
- package/resources/settings/portal-domains.d.mts +2 -0
- package/resources/settings/portal-domains.d.mts.map +1 -0
- package/resources/settings/portal-domains.d.ts +2 -0
- package/resources/settings/portal-domains.d.ts.map +1 -0
- package/resources/settings/portal-domains.js +6 -0
- package/resources/settings/portal-domains.js.map +1 -0
- package/resources/settings/portal-domains.mjs +3 -0
- package/resources/settings/portal-domains.mjs.map +1 -0
- package/resources/settings/settings.d.mts +4 -0
- package/resources/settings/settings.d.mts.map +1 -1
- package/resources/settings/settings.d.ts +4 -0
- package/resources/settings/settings.d.ts.map +1 -1
- package/resources/settings/settings.js +4 -0
- package/resources/settings/settings.js.map +1 -1
- package/resources/settings/settings.mjs +4 -0
- package/resources/settings/settings.mjs.map +1 -1
- package/src/resources/core/audit-events.ts +6 -0
- package/src/resources/core/core.ts +4 -0
- package/src/resources/messaging/conversations/conversations.ts +6 -0
- package/src/resources/messaging/conversations/links.ts +4 -0
- package/src/resources/messaging/conversations/messages.ts +4 -0
- package/src/resources/messaging/email-domains/email-domains.ts +23 -0
- package/src/resources/messaging/email-domains/index.ts +1 -0
- package/src/resources/messaging/index.ts +1 -0
- package/src/resources/messaging/messaging.ts +2 -0
- package/src/resources/messaging/notifications/notifications.ts +4 -0
- package/src/resources/settings/index.ts +10 -0
- package/src/resources/settings/portal-domains/actions.ts +33 -0
- package/src/resources/settings/portal-domains/index.ts +13 -0
- package/src/resources/settings/portal-domains/portal-domains.ts +256 -0
- package/src/resources/settings/portal-domains.ts +3 -0
- package/src/resources/settings/settings.ts +24 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -65,6 +65,26 @@ export class EmailDomains extends APIResource {
|
|
|
65
65
|
retrieve(id: string, options?: RequestOptions): APIPromise<EmailDomain> {
|
|
66
66
|
return this._client.get(path`/v1/messaging/email-domains/${id}`, options);
|
|
67
67
|
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Deregisters a customer-owned domain from the email bridge.
|
|
71
|
+
*
|
|
72
|
+
* The domain's SES identity is removed. The domain must have no inboxes bound to
|
|
73
|
+
* it.
|
|
74
|
+
*
|
|
75
|
+
* This endpoint requires the permission: `messaging:delete`.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```ts
|
|
79
|
+
* const emailDomain =
|
|
80
|
+
* await client.messaging.emailDomains.delete(
|
|
81
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
82
|
+
* );
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
delete(id: string, options?: RequestOptions): APIPromise<EmailDomainDeleteResponse> {
|
|
86
|
+
return this._client.delete(path`/v1/messaging/email-domains/${id}`, options);
|
|
87
|
+
}
|
|
68
88
|
}
|
|
69
89
|
|
|
70
90
|
/**
|
|
@@ -149,6 +169,8 @@ export interface ListEmailDomain {
|
|
|
149
169
|
page_info: APIKeysAPI.PageInfo;
|
|
150
170
|
}
|
|
151
171
|
|
|
172
|
+
export interface EmailDomainDeleteResponse {}
|
|
173
|
+
|
|
152
174
|
export interface EmailDomainCreateParams {
|
|
153
175
|
/**
|
|
154
176
|
* The fully-qualified domain name to register (e.g. `support.acme.com`).
|
|
@@ -163,6 +185,7 @@ export declare namespace EmailDomains {
|
|
|
163
185
|
type CreateEmailDomainRequest as CreateEmailDomainRequest,
|
|
164
186
|
type EmailDomain as EmailDomain,
|
|
165
187
|
type ListEmailDomain as ListEmailDomain,
|
|
188
|
+
type EmailDomainDeleteResponse as EmailDomainDeleteResponse,
|
|
166
189
|
type EmailDomainCreateParams as EmailDomainCreateParams,
|
|
167
190
|
};
|
|
168
191
|
|
|
@@ -94,6 +94,7 @@ import {
|
|
|
94
94
|
CreateEmailDomainRequest,
|
|
95
95
|
EmailDomain,
|
|
96
96
|
EmailDomainCreateParams,
|
|
97
|
+
EmailDomainDeleteResponse,
|
|
97
98
|
EmailDomains,
|
|
98
99
|
ListEmailDomain,
|
|
99
100
|
} from './email-domains/email-domains';
|
|
@@ -335,6 +336,7 @@ export declare namespace Messaging {
|
|
|
335
336
|
type CreateEmailDomainRequest as CreateEmailDomainRequest,
|
|
336
337
|
type EmailDomain as EmailDomain,
|
|
337
338
|
type ListEmailDomain as ListEmailDomain,
|
|
339
|
+
type EmailDomainDeleteResponse as EmailDomainDeleteResponse,
|
|
338
340
|
type EmailDomainCreateParams as EmailDomainCreateParams,
|
|
339
341
|
};
|
|
340
342
|
|
|
@@ -533,6 +533,8 @@ export interface SendNotificationRequest {
|
|
|
533
533
|
| 'email_log'
|
|
534
534
|
| 'email_domain'
|
|
535
535
|
| 'email_inbox'
|
|
536
|
+
| 'portal_domain'
|
|
537
|
+
| 'dns_record'
|
|
536
538
|
| 'inventory_change_log'
|
|
537
539
|
| 'invoice'
|
|
538
540
|
| 'invoice_summary'
|
|
@@ -827,6 +829,8 @@ export interface NotificationCreateParams {
|
|
|
827
829
|
| 'email_log'
|
|
828
830
|
| 'email_domain'
|
|
829
831
|
| 'email_inbox'
|
|
832
|
+
| 'portal_domain'
|
|
833
|
+
| 'dns_record'
|
|
830
834
|
| 'inventory_change_log'
|
|
831
835
|
| 'invoice'
|
|
832
836
|
| 'invoice_summary'
|
|
@@ -10,4 +10,14 @@ export {
|
|
|
10
10
|
type IntegrationCreateParams,
|
|
11
11
|
type IntegrationUpdateParams,
|
|
12
12
|
} from './integrations';
|
|
13
|
+
export {
|
|
14
|
+
PortalDomains,
|
|
15
|
+
type CreatePortalDomainRequest,
|
|
16
|
+
type DNSRecord,
|
|
17
|
+
type ListDNSRecord,
|
|
18
|
+
type ListPortalDomain,
|
|
19
|
+
type PortalDomain,
|
|
20
|
+
type PortalDomainDeleteResponse,
|
|
21
|
+
type PortalDomainCreateParams,
|
|
22
|
+
} from './portal-domains/index';
|
|
13
23
|
export { Settings } from './settings';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as PortalDomainsAPI from './portal-domains';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Connect a custom domain to the account's customer portal, verify its DNS, and resolve custom hosts to portal accounts.
|
|
11
|
+
*/
|
|
12
|
+
export class Actions extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Re-checks the domain's DNS configuration and flips it to `verified` once the
|
|
15
|
+
* published records are confirmed.
|
|
16
|
+
*
|
|
17
|
+
* Returns the updated domain (still `pending` if DNS has not propagated yet) along
|
|
18
|
+
* with the currently required DNS records.
|
|
19
|
+
*
|
|
20
|
+
* This endpoint requires the permission: `self:update`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const portalDomain =
|
|
25
|
+
* await client.settings.portalDomains.actions.verify(
|
|
26
|
+
* 'podn_018e88072d1320808dc9aab42',
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
verify(id: string, options?: RequestOptions): APIPromise<PortalDomainsAPI.PortalDomain> {
|
|
31
|
+
return this._client.post(path`/v1/settings/portal-domains/${id}/actions/verify`, options);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { Actions } from './actions';
|
|
4
|
+
export {
|
|
5
|
+
PortalDomains,
|
|
6
|
+
type CreatePortalDomainRequest,
|
|
7
|
+
type DNSRecord,
|
|
8
|
+
type ListDNSRecord,
|
|
9
|
+
type ListPortalDomain,
|
|
10
|
+
type PortalDomain,
|
|
11
|
+
type PortalDomainDeleteResponse,
|
|
12
|
+
type PortalDomainCreateParams,
|
|
13
|
+
} from './portal-domains';
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
5
|
+
import * as ActionsAPI from './actions';
|
|
6
|
+
import { Actions } from './actions';
|
|
7
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
8
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
9
|
+
import { path } from '../../../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Connect a custom domain to the account's customer portal, verify its DNS, and resolve custom hosts to portal accounts.
|
|
13
|
+
*/
|
|
14
|
+
export class PortalDomains extends APIResource {
|
|
15
|
+
actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Connects a custom domain to the account's customer portal and returns the DNS
|
|
19
|
+
* records to publish.
|
|
20
|
+
*
|
|
21
|
+
* Each account can have one custom domain. The domain starts in `pending` until
|
|
22
|
+
* its DNS is verified.
|
|
23
|
+
*
|
|
24
|
+
* This endpoint requires the permission: `self:update`.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const portalDomain =
|
|
29
|
+
* await client.settings.portalDomains.create({
|
|
30
|
+
* domain: 'shop.acme.com',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
create(body: PortalDomainCreateParams, options?: RequestOptions): APIPromise<PortalDomain> {
|
|
35
|
+
return this._client.post('/v1/settings/portal-domains', { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Lists the account's portal domains.
|
|
40
|
+
*
|
|
41
|
+
* Accounts currently have at most one custom portal domain.
|
|
42
|
+
*
|
|
43
|
+
* This endpoint requires the permission: `self:read`.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const listPortalDomain =
|
|
48
|
+
* await client.settings.portalDomains.list();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
list(options?: RequestOptions): APIPromise<ListPortalDomain> {
|
|
52
|
+
return this._client.get('/v1/settings/portal-domains', options);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Returns a single portal domain, including the DNS records the customer must
|
|
57
|
+
* publish.
|
|
58
|
+
*
|
|
59
|
+
* This endpoint requires the permission: `self:read`.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const portalDomain =
|
|
64
|
+
* await client.settings.portalDomains.retrieve(
|
|
65
|
+
* 'podn_018e88072d1320808dc9aab42',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<PortalDomain> {
|
|
70
|
+
return this._client.get(path`/v1/settings/portal-domains/${id}`, options);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Disconnects the custom domain from the account's customer portal.
|
|
75
|
+
*
|
|
76
|
+
* The domain is detached from the serving infrastructure and immediately stops
|
|
77
|
+
* serving the portal.
|
|
78
|
+
*
|
|
79
|
+
* This endpoint requires the permission: `self:update`.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const portalDomain =
|
|
84
|
+
* await client.settings.portalDomains.delete(
|
|
85
|
+
* 'podn_018e88072d1320808dc9aab42',
|
|
86
|
+
* );
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
delete(id: string, options?: RequestOptions): APIPromise<PortalDomainDeleteResponse> {
|
|
90
|
+
return this._client.delete(path`/v1/settings/portal-domains/${id}`, options);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Request to connect a custom domain to the account's customer portal.
|
|
96
|
+
*/
|
|
97
|
+
export interface CreatePortalDomainRequest {
|
|
98
|
+
/**
|
|
99
|
+
* The fully-qualified domain name to connect (e.g. `shop.acme.com`). Subdomains
|
|
100
|
+
* are recommended; apex domains are supported via an A record.
|
|
101
|
+
*/
|
|
102
|
+
domain: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* A DNS record the customer must publish for their portal domain.
|
|
107
|
+
*/
|
|
108
|
+
export interface DNSRecord {
|
|
109
|
+
/**
|
|
110
|
+
* Record name (host) to publish.
|
|
111
|
+
*/
|
|
112
|
+
name: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Resource type identifier.
|
|
116
|
+
*/
|
|
117
|
+
object: 'dns_record';
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Why the record is needed.
|
|
121
|
+
*
|
|
122
|
+
* Routing records point traffic at the portal's serving infrastructure; ownership
|
|
123
|
+
* records prove control of a domain that is claimed elsewhere.
|
|
124
|
+
*/
|
|
125
|
+
reason: 'routing' | 'ownership';
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Record type.
|
|
129
|
+
*/
|
|
130
|
+
type: 'CNAME' | 'A' | 'TXT';
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Record value to publish.
|
|
134
|
+
*/
|
|
135
|
+
value: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* List represents a paginated list of resources.
|
|
140
|
+
*/
|
|
141
|
+
export interface ListDNSRecord {
|
|
142
|
+
/**
|
|
143
|
+
* Resources in this page.
|
|
144
|
+
*/
|
|
145
|
+
data: Array<DNSRecord>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Resource type identifier.
|
|
149
|
+
*/
|
|
150
|
+
object: 'list';
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* PageInfo contains URL-based pagination metadata.
|
|
154
|
+
*/
|
|
155
|
+
page_info: APIKeysAPI.PageInfo;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* List represents a paginated list of resources.
|
|
160
|
+
*/
|
|
161
|
+
export interface ListPortalDomain {
|
|
162
|
+
/**
|
|
163
|
+
* Resources in this page.
|
|
164
|
+
*/
|
|
165
|
+
data: Array<PortalDomain>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Resource type identifier.
|
|
169
|
+
*/
|
|
170
|
+
object: 'list';
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* PageInfo contains URL-based pagination metadata.
|
|
174
|
+
*/
|
|
175
|
+
page_info: APIKeysAPI.PageInfo;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* A custom domain that serves the account's customer portal (e.g.
|
|
180
|
+
* `shop.acme.com`).
|
|
181
|
+
*
|
|
182
|
+
* After creation the domain starts in `pending`; publish the returned DNS records,
|
|
183
|
+
* then poll the verify action until it flips to `verified`. Once verified, the
|
|
184
|
+
* customer portal is served on the domain with TLS provisioned automatically.
|
|
185
|
+
*/
|
|
186
|
+
export interface PortalDomain {
|
|
187
|
+
/**
|
|
188
|
+
* Portal domain ID.
|
|
189
|
+
*/
|
|
190
|
+
id: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Creation timestamp.
|
|
194
|
+
*/
|
|
195
|
+
created_at: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* List represents a paginated list of resources.
|
|
199
|
+
*/
|
|
200
|
+
dns_records: ListDNSRecord | null;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The fully-qualified domain name (e.g. `shop.acme.com`).
|
|
204
|
+
*/
|
|
205
|
+
domain: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Resource type identifier.
|
|
209
|
+
*/
|
|
210
|
+
object: 'portal_domain';
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Verification status.
|
|
214
|
+
*
|
|
215
|
+
* - pending domains await DNS configuration
|
|
216
|
+
* - verified domains serve the portal
|
|
217
|
+
* - failed domains were rejected and cannot be used
|
|
218
|
+
*/
|
|
219
|
+
status: 'pending' | 'verified' | 'failed';
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Last updated timestamp.
|
|
223
|
+
*/
|
|
224
|
+
updated_at: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* When the domain's DNS configuration was confirmed.
|
|
228
|
+
*/
|
|
229
|
+
verified_at: string | null;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface PortalDomainDeleteResponse {}
|
|
233
|
+
|
|
234
|
+
export interface PortalDomainCreateParams {
|
|
235
|
+
/**
|
|
236
|
+
* The fully-qualified domain name to connect (e.g. `shop.acme.com`). Subdomains
|
|
237
|
+
* are recommended; apex domains are supported via an A record.
|
|
238
|
+
*/
|
|
239
|
+
domain: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
PortalDomains.Actions = Actions;
|
|
243
|
+
|
|
244
|
+
export declare namespace PortalDomains {
|
|
245
|
+
export {
|
|
246
|
+
type CreatePortalDomainRequest as CreatePortalDomainRequest,
|
|
247
|
+
type DNSRecord as DNSRecord,
|
|
248
|
+
type ListDNSRecord as ListDNSRecord,
|
|
249
|
+
type ListPortalDomain as ListPortalDomain,
|
|
250
|
+
type PortalDomain as PortalDomain,
|
|
251
|
+
type PortalDomainDeleteResponse as PortalDomainDeleteResponse,
|
|
252
|
+
type PortalDomainCreateParams as PortalDomainCreateParams,
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export { Actions as Actions };
|
|
256
|
+
}
|
|
@@ -12,14 +12,38 @@ import {
|
|
|
12
12
|
ListAccountIntegration,
|
|
13
13
|
UpdateAccountIntegrationRequest,
|
|
14
14
|
} from './integrations';
|
|
15
|
+
import * as PortalDomainsAPI from './portal-domains/portal-domains';
|
|
16
|
+
import {
|
|
17
|
+
CreatePortalDomainRequest,
|
|
18
|
+
DNSRecord,
|
|
19
|
+
ListDNSRecord,
|
|
20
|
+
ListPortalDomain,
|
|
21
|
+
PortalDomain,
|
|
22
|
+
PortalDomainCreateParams,
|
|
23
|
+
PortalDomainDeleteResponse,
|
|
24
|
+
PortalDomains,
|
|
25
|
+
} from './portal-domains/portal-domains';
|
|
15
26
|
|
|
16
27
|
export class Settings extends APIResource {
|
|
28
|
+
portalDomains: PortalDomainsAPI.PortalDomains = new PortalDomainsAPI.PortalDomains(this._client);
|
|
17
29
|
integrations: IntegrationsAPI.Integrations = new IntegrationsAPI.Integrations(this._client);
|
|
18
30
|
}
|
|
19
31
|
|
|
32
|
+
Settings.PortalDomains = PortalDomains;
|
|
20
33
|
Settings.Integrations = Integrations;
|
|
21
34
|
|
|
22
35
|
export declare namespace Settings {
|
|
36
|
+
export {
|
|
37
|
+
PortalDomains as PortalDomains,
|
|
38
|
+
type CreatePortalDomainRequest as CreatePortalDomainRequest,
|
|
39
|
+
type DNSRecord as DNSRecord,
|
|
40
|
+
type ListDNSRecord as ListDNSRecord,
|
|
41
|
+
type ListPortalDomain as ListPortalDomain,
|
|
42
|
+
type PortalDomain as PortalDomain,
|
|
43
|
+
type PortalDomainDeleteResponse as PortalDomainDeleteResponse,
|
|
44
|
+
type PortalDomainCreateParams as PortalDomainCreateParams,
|
|
45
|
+
};
|
|
46
|
+
|
|
23
47
|
export {
|
|
24
48
|
Integrations as Integrations,
|
|
25
49
|
type AccountIntegration as AccountIntegration,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.12.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.12.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.12.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.12.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|