@toshicloud/sdk 0.5.1 → 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/README.md +39 -455
- package/dist/client.d.ts +76 -6
- package/dist/client.js +20 -4
- package/dist/gen/toshi/permission_pb.d.ts +12 -0
- package/dist/gen/toshi/permission_pb.js +14 -2
- package/dist/gen/toshi/workspace/v1/connections_pb.d.ts +358 -29
- package/dist/gen/toshi/workspace/v1/connections_pb.js +112 -24
- package/dist/gen/toshi/workspace/v1/domains_pb.d.ts +26 -26
- package/dist/gen/toshi/workspace/v1/domains_pb.js +4 -4
- package/dist/gen/toshi/workspace/v1/{channels_pb.d.ts → endpoints_pb.d.ts} +945 -822
- package/dist/gen/toshi/workspace/v1/endpoints_pb.js +488 -0
- package/dist/gen/toshi/workspace/v1/grants_pb.d.ts +10 -10
- package/dist/gen/toshi/workspace/v1/grants_pb.js +3 -3
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.d.ts +62 -24
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/hosts_pb.d.ts +110 -36
- package/dist/gen/toshi/workspace/v1/hosts_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/model_credentials_pb.d.ts +654 -0
- package/dist/gen/toshi/workspace/v1/model_credentials_pb.js +110 -0
- package/dist/gen/toshi/workspace/v1/recordings_pb.d.ts +21 -2
- package/dist/gen/toshi/workspace/v1/recordings_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/roles_pb.d.ts +1 -1
- package/dist/gen/toshi/workspace/v1/roles_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/secrets_pb.d.ts +19 -2
- package/dist/gen/toshi/workspace/v1/secrets_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/triggers_pb.d.ts +28 -28
- package/dist/gen/toshi/workspace/v1/triggers_pb.js +6 -6
- package/dist/gen/toshi/workspace/v1/webhook_pb.d.ts +202 -202
- package/dist/gen/toshi/workspace/v1/webhook_pb.js +46 -46
- package/dist/gen/toshi/workspace/v1/workloads_pb.d.ts +579 -30
- package/dist/gen/toshi/workspace/v1/workloads_pb.js +85 -55
- package/dist/gen/toshi/workspace/v1/workspace_pb.d.ts +991 -123
- package/dist/gen/toshi/workspace/v1/workspace_pb.js +294 -102
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.d.ts +390 -8
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.js +75 -50
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/retry.js +38 -22
- package/dist/test/alarms.d.ts +29 -0
- package/dist/test/alarms.js +144 -0
- package/dist/test/fake.js +31 -0
- package/dist/test/index.d.ts +12 -2
- package/dist/test/index.js +12 -2
- package/dist/test/procedures.js +40 -34
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/gen/toshi/workspace/v1/channels_pb.js +0 -483
|
@@ -4,120 +4,131 @@
|
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_toshi_permission } from "../../permission_pb.js";
|
|
7
|
+
import { file_toshi_workspace_v1_domains } from "./domains_pb.js";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file toshi/workspace/v1/connections.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_toshi_workspace_v1_connections = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_toshi_workspace_v1_connections = /*@__PURE__*/ fileDesc("CiR0b3NoaS93b3Jrc3BhY2UvdjEvY29ubmVjdGlvbnMucHJvdG8SEnRvc2hpLndvcmtzcGFjZS52MSL7AwoKQ29ubmVjdGlvbhIKCgJpZBgBIAEoCRIwCgRraW5kGAIgASgOMiIudG9zaGkud29ya3NwYWNlLnYxLkN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eVJlc3BvbnNlInjC8xgRY29ubmVjdGlvbnMud3JpdGXK8xgJd29ya3NwYWNl0vMYUgokY29ubmVjdGlvbi5kZWxpdmVyeV9yZXBsYXlfcmVxdWVzdGVkEipjb25uZWN0aW9uOnJlc3BvbnNlLmRlbGl2ZXJ5LmNvbm5lY3Rpb25faWRCIlogZ28udG9zaGljbG91ZC5pby9hcGkvd29ya3NwYWNldjFiBnByb3RvMw", [file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_toshi_permission, file_toshi_workspace_v1_domains]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message toshi.workspace.v1.Connection.
|
|
13
14
|
* Use `create(ConnectionSchema)` to create a new message.
|
|
14
15
|
*/
|
|
15
16
|
export const ConnectionSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message toshi.workspace.v1.MailConnection.
|
|
19
|
+
* Use `create(MailConnectionSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const MailConnectionSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message toshi.workspace.v1.MailDomainStatus.
|
|
24
|
+
* Use `create(MailDomainStatusSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const MailDomainStatusSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 2);
|
|
16
27
|
/**
|
|
17
28
|
* Describes the message toshi.workspace.v1.ConnectionTarget.
|
|
18
29
|
* Use `create(ConnectionTargetSchema)` to create a new message.
|
|
19
30
|
*/
|
|
20
|
-
export const ConnectionTargetSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
31
|
+
export const ConnectionTargetSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 3);
|
|
21
32
|
/**
|
|
22
33
|
* Describes the message toshi.workspace.v1.ListConnectionsRequest.
|
|
23
34
|
* Use `create(ListConnectionsRequestSchema)` to create a new message.
|
|
24
35
|
*/
|
|
25
|
-
export const ListConnectionsRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
36
|
+
export const ListConnectionsRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 4);
|
|
26
37
|
/**
|
|
27
38
|
* Describes the message toshi.workspace.v1.ListConnectionsResponse.
|
|
28
39
|
* Use `create(ListConnectionsResponseSchema)` to create a new message.
|
|
29
40
|
*/
|
|
30
|
-
export const ListConnectionsResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
41
|
+
export const ListConnectionsResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 5);
|
|
31
42
|
/**
|
|
32
43
|
* Describes the message toshi.workspace.v1.GetConnectionRequest.
|
|
33
44
|
* Use `create(GetConnectionRequestSchema)` to create a new message.
|
|
34
45
|
*/
|
|
35
|
-
export const GetConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
46
|
+
export const GetConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 6);
|
|
36
47
|
/**
|
|
37
48
|
* Describes the message toshi.workspace.v1.GetConnectionResponse.
|
|
38
49
|
* Use `create(GetConnectionResponseSchema)` to create a new message.
|
|
39
50
|
*/
|
|
40
|
-
export const GetConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
51
|
+
export const GetConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 7);
|
|
41
52
|
/**
|
|
42
53
|
* Describes the message toshi.workspace.v1.CreateConnectionRequest.
|
|
43
54
|
* Use `create(CreateConnectionRequestSchema)` to create a new message.
|
|
44
55
|
*/
|
|
45
|
-
export const CreateConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
56
|
+
export const CreateConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 8);
|
|
46
57
|
/**
|
|
47
58
|
* Describes the message toshi.workspace.v1.CreateConnectionResponse.
|
|
48
59
|
* Use `create(CreateConnectionResponseSchema)` to create a new message.
|
|
49
60
|
*/
|
|
50
|
-
export const CreateConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
61
|
+
export const CreateConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 9);
|
|
51
62
|
/**
|
|
52
63
|
* Describes the message toshi.workspace.v1.DeleteConnectionRequest.
|
|
53
64
|
* Use `create(DeleteConnectionRequestSchema)` to create a new message.
|
|
54
65
|
*/
|
|
55
|
-
export const DeleteConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
66
|
+
export const DeleteConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 10);
|
|
56
67
|
/**
|
|
57
68
|
* Describes the message toshi.workspace.v1.DeleteConnectionResponse.
|
|
58
69
|
* Use `create(DeleteConnectionResponseSchema)` to create a new message.
|
|
59
70
|
*/
|
|
60
|
-
export const DeleteConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
71
|
+
export const DeleteConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 11);
|
|
61
72
|
/**
|
|
62
73
|
* Describes the message toshi.workspace.v1.RotateConnectionSecretRequest.
|
|
63
74
|
* Use `create(RotateConnectionSecretRequestSchema)` to create a new message.
|
|
64
75
|
*/
|
|
65
|
-
export const RotateConnectionSecretRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
76
|
+
export const RotateConnectionSecretRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 12);
|
|
66
77
|
/**
|
|
67
78
|
* Describes the message toshi.workspace.v1.RotateConnectionSecretResponse.
|
|
68
79
|
* Use `create(RotateConnectionSecretResponseSchema)` to create a new message.
|
|
69
80
|
*/
|
|
70
|
-
export const RotateConnectionSecretResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
81
|
+
export const RotateConnectionSecretResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 13);
|
|
71
82
|
/**
|
|
72
83
|
* Describes the message toshi.workspace.v1.UpdateConnectionRequest.
|
|
73
84
|
* Use `create(UpdateConnectionRequestSchema)` to create a new message.
|
|
74
85
|
*/
|
|
75
|
-
export const UpdateConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
86
|
+
export const UpdateConnectionRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 14);
|
|
76
87
|
/**
|
|
77
88
|
* Describes the message toshi.workspace.v1.UpdateConnectionResponse.
|
|
78
89
|
* Use `create(UpdateConnectionResponseSchema)` to create a new message.
|
|
79
90
|
*/
|
|
80
|
-
export const UpdateConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
91
|
+
export const UpdateConnectionResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 15);
|
|
81
92
|
/**
|
|
82
93
|
* Describes the message toshi.workspace.v1.ConnectionDelivery.
|
|
83
94
|
* Use `create(ConnectionDeliverySchema)` to create a new message.
|
|
84
95
|
*/
|
|
85
|
-
export const ConnectionDeliverySchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
96
|
+
export const ConnectionDeliverySchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 16);
|
|
86
97
|
/**
|
|
87
98
|
* Describes the message toshi.workspace.v1.ConnectionDeliveryRun.
|
|
88
99
|
* Use `create(ConnectionDeliveryRunSchema)` to create a new message.
|
|
89
100
|
*/
|
|
90
|
-
export const ConnectionDeliveryRunSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
101
|
+
export const ConnectionDeliveryRunSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 17);
|
|
91
102
|
/**
|
|
92
103
|
* Describes the message toshi.workspace.v1.ListConnectionDeliveriesRequest.
|
|
93
104
|
* Use `create(ListConnectionDeliveriesRequestSchema)` to create a new message.
|
|
94
105
|
*/
|
|
95
|
-
export const ListConnectionDeliveriesRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
106
|
+
export const ListConnectionDeliveriesRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 18);
|
|
96
107
|
/**
|
|
97
108
|
* Describes the message toshi.workspace.v1.ListConnectionDeliveriesResponse.
|
|
98
109
|
* Use `create(ListConnectionDeliveriesResponseSchema)` to create a new message.
|
|
99
110
|
*/
|
|
100
|
-
export const ListConnectionDeliveriesResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
111
|
+
export const ListConnectionDeliveriesResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 19);
|
|
101
112
|
/**
|
|
102
113
|
* Describes the message toshi.workspace.v1.GetConnectionDeliveryRequest.
|
|
103
114
|
* Use `create(GetConnectionDeliveryRequestSchema)` to create a new message.
|
|
104
115
|
*/
|
|
105
|
-
export const GetConnectionDeliveryRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
116
|
+
export const GetConnectionDeliveryRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 20);
|
|
106
117
|
/**
|
|
107
118
|
* Describes the message toshi.workspace.v1.GetConnectionDeliveryResponse.
|
|
108
119
|
* Use `create(GetConnectionDeliveryResponseSchema)` to create a new message.
|
|
109
120
|
*/
|
|
110
|
-
export const GetConnectionDeliveryResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
121
|
+
export const GetConnectionDeliveryResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 21);
|
|
111
122
|
/**
|
|
112
123
|
* Describes the message toshi.workspace.v1.ReplayConnectionDeliveryRequest.
|
|
113
124
|
* Use `create(ReplayConnectionDeliveryRequestSchema)` to create a new message.
|
|
114
125
|
*/
|
|
115
|
-
export const ReplayConnectionDeliveryRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
126
|
+
export const ReplayConnectionDeliveryRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 22);
|
|
116
127
|
/**
|
|
117
128
|
* Describes the message toshi.workspace.v1.ReplayConnectionDeliveryResponse.
|
|
118
129
|
* Use `create(ReplayConnectionDeliveryResponseSchema)` to create a new message.
|
|
119
130
|
*/
|
|
120
|
-
export const ReplayConnectionDeliveryResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections,
|
|
131
|
+
export const ReplayConnectionDeliveryResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_connections, 23);
|
|
121
132
|
/**
|
|
122
133
|
* ConnectionKind is the kind of source a connection receives events from.
|
|
123
134
|
*
|
|
@@ -141,11 +152,85 @@ export var ConnectionKind;
|
|
|
141
152
|
* @generated from enum value: CONNECTION_KIND_WEBHOOK = 2;
|
|
142
153
|
*/
|
|
143
154
|
ConnectionKind[ConnectionKind["WEBHOOK"] = 2] = "WEBHOOK";
|
|
155
|
+
/**
|
|
156
|
+
* An inbound mail address. The deployment's mail provider receives the
|
|
157
|
+
* messages; each is stored as a receipt before it goes to a service's
|
|
158
|
+
* event endpoint.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: CONNECTION_KIND_MAIL = 3;
|
|
161
|
+
*/
|
|
162
|
+
ConnectionKind[ConnectionKind["MAIL"] = 3] = "MAIL";
|
|
144
163
|
})(ConnectionKind || (ConnectionKind = {}));
|
|
145
164
|
/**
|
|
146
165
|
* Describes the enum toshi.workspace.v1.ConnectionKind.
|
|
147
166
|
*/
|
|
148
167
|
export const ConnectionKindSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_connections, 0);
|
|
168
|
+
/**
|
|
169
|
+
* MailDomainState is whether a connection's custom mail domain receives mail.
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum toshi.workspace.v1.MailDomainState
|
|
172
|
+
*/
|
|
173
|
+
export var MailDomainState;
|
|
174
|
+
(function (MailDomainState) {
|
|
175
|
+
/**
|
|
176
|
+
* No custom domain is set.
|
|
177
|
+
*
|
|
178
|
+
* @generated from enum value: MAIL_DOMAIN_STATE_UNSPECIFIED = 0;
|
|
179
|
+
*/
|
|
180
|
+
MailDomainState[MailDomainState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
181
|
+
/**
|
|
182
|
+
* The domain has not yet passed all checks, or another workspace holds it.
|
|
183
|
+
*
|
|
184
|
+
* @generated from enum value: MAIL_DOMAIN_STATE_PENDING = 1;
|
|
185
|
+
*/
|
|
186
|
+
MailDomainState[MailDomainState["PENDING"] = 1] = "PENDING";
|
|
187
|
+
/**
|
|
188
|
+
* The ownership, MX and provider checks all pass.
|
|
189
|
+
*
|
|
190
|
+
* @generated from enum value: MAIL_DOMAIN_STATE_READY = 2;
|
|
191
|
+
*/
|
|
192
|
+
MailDomainState[MailDomainState["READY"] = 2] = "READY";
|
|
193
|
+
/**
|
|
194
|
+
* A previously ready domain no longer passes all checks.
|
|
195
|
+
*
|
|
196
|
+
* @generated from enum value: MAIL_DOMAIN_STATE_FAILING = 3;
|
|
197
|
+
*/
|
|
198
|
+
MailDomainState[MailDomainState["FAILING"] = 3] = "FAILING";
|
|
199
|
+
})(MailDomainState || (MailDomainState = {}));
|
|
200
|
+
/**
|
|
201
|
+
* Describes the enum toshi.workspace.v1.MailDomainState.
|
|
202
|
+
*/
|
|
203
|
+
export const MailDomainStateSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_connections, 1);
|
|
204
|
+
/**
|
|
205
|
+
* MailDomainCheck is the result of one custom mail domain check.
|
|
206
|
+
*
|
|
207
|
+
* @generated from enum toshi.workspace.v1.MailDomainCheck
|
|
208
|
+
*/
|
|
209
|
+
export var MailDomainCheck;
|
|
210
|
+
(function (MailDomainCheck) {
|
|
211
|
+
/**
|
|
212
|
+
* The check has not run yet.
|
|
213
|
+
*
|
|
214
|
+
* @generated from enum value: MAIL_DOMAIN_CHECK_UNSPECIFIED = 0;
|
|
215
|
+
*/
|
|
216
|
+
MailDomainCheck[MailDomainCheck["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
217
|
+
/**
|
|
218
|
+
* The check passed.
|
|
219
|
+
*
|
|
220
|
+
* @generated from enum value: MAIL_DOMAIN_CHECK_PASSED = 1;
|
|
221
|
+
*/
|
|
222
|
+
MailDomainCheck[MailDomainCheck["PASSED"] = 1] = "PASSED";
|
|
223
|
+
/**
|
|
224
|
+
* The check failed.
|
|
225
|
+
*
|
|
226
|
+
* @generated from enum value: MAIL_DOMAIN_CHECK_FAILED = 2;
|
|
227
|
+
*/
|
|
228
|
+
MailDomainCheck[MailDomainCheck["FAILED"] = 2] = "FAILED";
|
|
229
|
+
})(MailDomainCheck || (MailDomainCheck = {}));
|
|
230
|
+
/**
|
|
231
|
+
* Describes the enum toshi.workspace.v1.MailDomainCheck.
|
|
232
|
+
*/
|
|
233
|
+
export const MailDomainCheckSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_connections, 2);
|
|
149
234
|
/**
|
|
150
235
|
* ConnectionDeliveryState is where a WEBHOOK connection's delivery stands.
|
|
151
236
|
*
|
|
@@ -186,14 +271,17 @@ export var ConnectionDeliveryState;
|
|
|
186
271
|
/**
|
|
187
272
|
* Describes the enum toshi.workspace.v1.ConnectionDeliveryState.
|
|
188
273
|
*/
|
|
189
|
-
export const ConnectionDeliveryStateSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_connections,
|
|
274
|
+
export const ConnectionDeliveryStateSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_connections, 3);
|
|
190
275
|
/**
|
|
191
276
|
* ConnectionService keeps a workspace's connections: the sources of the
|
|
192
277
|
* events it owns. A GitHub App installation is a connection of the kind
|
|
193
278
|
* GITHUB, which installing the App creates and removing it deletes; the
|
|
194
279
|
* calls here list it and cannot create or delete it. A WEBHOOK connection
|
|
195
280
|
* receives events from a sender that signs its requests as Standard
|
|
196
|
-
* Webhooks does, with a secret the connection keeps.
|
|
281
|
+
* Webhooks does, with a secret the connection keeps. A MAIL connection
|
|
282
|
+
* receives mail at an address the deployment's inbound mail provider
|
|
283
|
+
* serves; each message is stored as a receipt before it goes to a
|
|
284
|
+
* service's event endpoint.
|
|
197
285
|
*
|
|
198
286
|
* The caller's credential names the workspace, as for WorkloadService.
|
|
199
287
|
* CreateConnection and RotateConnectionSecret require a request_key, which
|
|
@@ -12,7 +12,7 @@ export declare const file_toshi_workspace_v1_domains: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type DomainRecord = Message<"toshi.workspace.v1.DomainRecord"> & {
|
|
14
14
|
/**
|
|
15
|
-
* CNAME or
|
|
15
|
+
* CNAME, TXT or MX. An MX value is its priority and host, such as "10 mail.example.com".
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string type = 1;
|
|
18
18
|
*/
|
|
@@ -37,7 +37,7 @@ export type DomainRecord = Message<"toshi.workspace.v1.DomainRecord"> & {
|
|
|
37
37
|
*/
|
|
38
38
|
export type DomainRecordJson = {
|
|
39
39
|
/**
|
|
40
|
-
* CNAME or
|
|
40
|
+
* CNAME, TXT or MX. An MX value is its priority and host, such as "10 mail.example.com".
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: string type = 1;
|
|
43
43
|
*/
|
|
@@ -83,20 +83,20 @@ export type Domain = Message<"toshi.workspace.v1.Domain"> & {
|
|
|
83
83
|
*/
|
|
84
84
|
serviceId: string;
|
|
85
85
|
/**
|
|
86
|
-
* The service's http
|
|
87
|
-
* recipe; the front
|
|
86
|
+
* The service's http endpoint the domain serves, by its name in the
|
|
87
|
+
* recipe; the front endpoint's when the create named none.
|
|
88
88
|
*
|
|
89
|
-
* @generated from field: string
|
|
89
|
+
* @generated from field: string endpoint = 4;
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
endpoint: string;
|
|
92
92
|
/**
|
|
93
93
|
* @generated from field: toshi.workspace.v1.DomainState state = 5;
|
|
94
94
|
*/
|
|
95
95
|
state: DomainState;
|
|
96
96
|
/**
|
|
97
|
-
* The CNAME record to the
|
|
97
|
+
* The CNAME record to the endpoint's provided name, then the TXT record
|
|
98
98
|
* with the domain's token; only the TXT record while the service's
|
|
99
|
-
* current revision gives the
|
|
99
|
+
* current revision gives the endpoint no provided name.
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: repeated toshi.workspace.v1.DomainRecord records = 6;
|
|
102
102
|
*/
|
|
@@ -164,20 +164,20 @@ export type DomainJson = {
|
|
|
164
164
|
*/
|
|
165
165
|
serviceId?: string;
|
|
166
166
|
/**
|
|
167
|
-
* The service's http
|
|
168
|
-
* recipe; the front
|
|
167
|
+
* The service's http endpoint the domain serves, by its name in the
|
|
168
|
+
* recipe; the front endpoint's when the create named none.
|
|
169
169
|
*
|
|
170
|
-
* @generated from field: string
|
|
170
|
+
* @generated from field: string endpoint = 4;
|
|
171
171
|
*/
|
|
172
|
-
|
|
172
|
+
endpoint?: string;
|
|
173
173
|
/**
|
|
174
174
|
* @generated from field: toshi.workspace.v1.DomainState state = 5;
|
|
175
175
|
*/
|
|
176
176
|
state?: DomainStateJson;
|
|
177
177
|
/**
|
|
178
|
-
* The CNAME record to the
|
|
178
|
+
* The CNAME record to the endpoint's provided name, then the TXT record
|
|
179
179
|
* with the domain's token; only the TXT record while the service's
|
|
180
|
-
* current revision gives the
|
|
180
|
+
* current revision gives the endpoint no provided name.
|
|
181
181
|
*
|
|
182
182
|
* @generated from field: repeated toshi.workspace.v1.DomainRecord records = 6;
|
|
183
183
|
*/
|
|
@@ -250,12 +250,12 @@ export type CreateDomainRequest = Message<"toshi.workspace.v1.CreateDomainReques
|
|
|
250
250
|
*/
|
|
251
251
|
serviceId: string;
|
|
252
252
|
/**
|
|
253
|
-
* The http
|
|
254
|
-
*
|
|
253
|
+
* The http endpoint the domain serves; empty is the service's front
|
|
254
|
+
* endpoint, the one at the service's own name.
|
|
255
255
|
*
|
|
256
|
-
* @generated from field: string
|
|
256
|
+
* @generated from field: string endpoint = 4;
|
|
257
257
|
*/
|
|
258
|
-
|
|
258
|
+
endpoint: string;
|
|
259
259
|
/**
|
|
260
260
|
* The domain, in its Unicode or ASCII form.
|
|
261
261
|
*
|
|
@@ -286,12 +286,12 @@ export type CreateDomainRequestJson = {
|
|
|
286
286
|
*/
|
|
287
287
|
serviceId?: string;
|
|
288
288
|
/**
|
|
289
|
-
* The http
|
|
290
|
-
*
|
|
289
|
+
* The http endpoint the domain serves; empty is the service's front
|
|
290
|
+
* endpoint, the one at the service's own name.
|
|
291
291
|
*
|
|
292
|
-
* @generated from field: string
|
|
292
|
+
* @generated from field: string endpoint = 4;
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
endpoint?: string;
|
|
295
295
|
/**
|
|
296
296
|
* The domain, in its Unicode or ASCII form.
|
|
297
297
|
*
|
|
@@ -774,9 +774,9 @@ export type DomainStateJson = "DOMAIN_STATE_UNSPECIFIED" | "DOMAIN_STATE_WAITING
|
|
|
774
774
|
export declare const DomainStateSchema: GenEnum<DomainState, DomainStateJson>;
|
|
775
775
|
/**
|
|
776
776
|
* DomainService manages customer domains: names a workspace owns at its
|
|
777
|
-
* own DNS provider and points at an http
|
|
778
|
-
* beside the
|
|
779
|
-
* records check out, a CNAME record to the
|
|
777
|
+
* own DNS provider and points at an http endpoint of one of its services,
|
|
778
|
+
* beside the endpoint's provided name. A domain serves once its two
|
|
779
|
+
* records check out, a CNAME record to the endpoint's provided name and a
|
|
780
780
|
* TXT record carrying the domain's token; its certificate is ordered at
|
|
781
781
|
* its first visit, or by IssueDomain, and renewed with no call. The
|
|
782
782
|
* caller's credential names the workspace; a domain of another workspace
|
|
@@ -789,7 +789,7 @@ export declare const DomainStateSchema: GenEnum<DomainState, DomainStateJson>;
|
|
|
789
789
|
*/
|
|
790
790
|
export declare const DomainService: GenService<{
|
|
791
791
|
/**
|
|
792
|
-
* CreateDomain adds a domain for an http
|
|
792
|
+
* CreateDomain adds a domain for an http endpoint of a service and
|
|
793
793
|
* returns it with the records to set. Only a name below a registered
|
|
794
794
|
* domain is taken (shop.example.com, not example.com), and no wildcard.
|
|
795
795
|
* A name the workspace already has is ALREADY_EXISTS; past the plan's
|
|
@@ -7,7 +7,7 @@ import { file_toshi_permission } from "../../permission_pb.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file toshi/workspace/v1/domains.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_toshi_workspace_v1_domains = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_toshi_workspace_v1_domains = /*@__PURE__*/ fileDesc("CiB0b3NoaS93b3Jrc3BhY2UvdjEvZG9tYWlucy5wcm90bxISdG9zaGkud29ya3NwYWNlLnYxIjkKDERvbWFpblJlY29yZBIMCgR0eXBlGAEgASgJEgwKBG5hbWUYAiABKAkSDQoFdmFsdWUYAyABKAki4AMKBkRvbWFpbhIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhIKCnNlcnZpY2VfaWQYAyABKAkSEAoIZW5kcG9pbnQYBCABKAkSLgoFc3RhdGUYBSABKA4yHy50b3NoaS53b3Jrc3BhY2UudjEuRG9tYWluU3RhdGUSMQoHcmVjb3JkcxgGIAMoCzIgLnRvc2hpLndvcmtzcGFjZS52MS5Eb21haW5SZWNvcmQSLgoKY2hlY2tlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdmVyaWZpZWRfYXQYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjEKDWxhc3Rfb3JkZXJfYXQYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0Y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TGlzdERvbWFpbnMSJi50b3NoaS53b3Jrc3BhY2UudjEuTGlzdERvbWFpbnNSZXF1ZXN0GicudG9zaGkud29ya3NwYWNlLnYxLkxpc3REb21haW5zUmVzcG9uc2UiIMLzGA1zZXJ2aWNlcy5yZWFkyvMYC2Vudmlyb25tZW50EpgBCgxWZXJpZnlEb21haW4SJy50b3NoaS53b3Jrc3BhY2UudjEuVmVyaWZ5RG9tYWluUmVxdWVzdBooLnRvc2hpLndvcmtzcGFjZS52MS5WZXJpZnlEb21haW5SZXNwb25zZSI1wvMYDnNlcnZpY2VzLndyaXRlyvMYC2Vudmlyb25tZW500vMYEAoOZG9tYWluLmNoZWNrZWQSnQEKC0lzc3VlRG9tYWluEiYudG9zaGkud29ya3NwYWNlLnYxLklzc3VlRG9tYWluUmVxdWVzdBonLnRvc2hpLndvcmtzcGFjZS52MS5Jc3N1ZURvbWFpblJlc3BvbnNlIj3C8xgOc2VydmljZXMud3JpdGXK8xgLZW52aXJvbm1lbnTS8xgYChZkb21haW4uaXNzdWVfcmVxdWVzdGVkEoQBCgxEZWxldGVEb21haW4SJy50b3NoaS53b3Jrc3BhY2UudjEuRGVsZXRlRG9tYWluUmVxdWVzdBooLnRvc2hpLndvcmtzcGFjZS52MS5EZWxldGVEb21haW5SZXNwb25zZSIhwvMYDnNlcnZpY2VzLndyaXRlyvMYC2Vudmlyb25tZW50QiJaIGdvLnRvc2hpY2xvdWQuaW8vYXBpL3dvcmtzcGFjZXYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_toshi_permission]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message toshi.workspace.v1.DomainRecord.
|
|
13
13
|
* Use `create(DomainRecordSchema)` to create a new message.
|
|
@@ -136,9 +136,9 @@ export var DomainState;
|
|
|
136
136
|
export const DomainStateSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_domains, 0);
|
|
137
137
|
/**
|
|
138
138
|
* DomainService manages customer domains: names a workspace owns at its
|
|
139
|
-
* own DNS provider and points at an http
|
|
140
|
-
* beside the
|
|
141
|
-
* records check out, a CNAME record to the
|
|
139
|
+
* own DNS provider and points at an http endpoint of one of its services,
|
|
140
|
+
* beside the endpoint's provided name. A domain serves once its two
|
|
141
|
+
* records check out, a CNAME record to the endpoint's provided name and a
|
|
142
142
|
* TXT record carrying the domain's token; its certificate is ordered at
|
|
143
143
|
* its first visit, or by IssueDomain, and renewed with no call. The
|
|
144
144
|
* caller's credential names the workspace; a domain of another workspace
|