agentmail 0.1.4 → 0.1.5
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/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/apiKeys/client/Client.js +3 -1
- package/dist/cjs/api/resources/domains/client/Client.js +3 -1
- package/dist/cjs/api/resources/domains/types/{DomainSummary.d.ts → DomainItem.d.ts} +1 -1
- package/dist/cjs/api/resources/domains/types/ListDomainsResponse.d.ts +2 -1
- package/dist/cjs/api/resources/domains/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/domains/types/index.js +1 -1
- package/dist/cjs/api/resources/drafts/client/Client.js +6 -1
- package/dist/cjs/api/resources/inboxes/client/Client.js +6 -2
- package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +15 -4
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +15 -4
- package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.js +3 -1
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +6 -1
- package/dist/cjs/api/resources/metrics/client/Client.js +3 -1
- package/dist/cjs/api/resources/pods/client/Client.js +3 -1
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +9 -2
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +6 -1
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +9 -2
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +6 -1
- package/dist/cjs/api/resources/threads/client/Client.js +6 -1
- package/dist/cjs/api/resources/webhooks/client/Client.js +3 -1
- package/dist/cjs/serialization/resources/domains/types/{DomainSummary.d.ts → DomainItem.d.ts} +2 -2
- package/dist/cjs/serialization/resources/domains/types/{DomainSummary.js → DomainItem.js} +2 -2
- package/dist/cjs/serialization/resources/domains/types/ListDomainsResponse.d.ts +4 -2
- package/dist/cjs/serialization/resources/domains/types/ListDomainsResponse.js +4 -2
- package/dist/cjs/serialization/resources/domains/types/index.d.ts +1 -1
- package/dist/cjs/serialization/resources/domains/types/index.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +3 -1
- package/dist/esm/api/resources/domains/client/Client.mjs +3 -1
- package/dist/esm/api/resources/domains/types/{DomainSummary.d.mts → DomainItem.d.mts} +1 -1
- package/dist/esm/api/resources/domains/types/ListDomainsResponse.d.mts +2 -1
- package/dist/esm/api/resources/domains/types/index.d.mts +1 -1
- package/dist/esm/api/resources/domains/types/index.mjs +1 -1
- package/dist/esm/api/resources/drafts/client/Client.mjs +6 -1
- package/dist/esm/api/resources/inboxes/client/Client.mjs +6 -2
- package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +15 -4
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +15 -4
- package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.mjs +3 -1
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +6 -1
- package/dist/esm/api/resources/metrics/client/Client.mjs +3 -1
- package/dist/esm/api/resources/pods/client/Client.mjs +3 -1
- package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +9 -2
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +6 -1
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +9 -2
- package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +6 -1
- package/dist/esm/api/resources/threads/client/Client.mjs +6 -1
- package/dist/esm/api/resources/webhooks/client/Client.mjs +3 -1
- package/dist/esm/serialization/resources/domains/types/{DomainSummary.d.mts → DomainItem.d.mts} +2 -2
- package/dist/esm/serialization/resources/domains/types/{DomainSummary.mjs → DomainItem.mjs} +1 -1
- package/dist/esm/serialization/resources/domains/types/ListDomainsResponse.d.mts +4 -2
- package/dist/esm/serialization/resources/domains/types/ListDomainsResponse.mjs +4 -2
- package/dist/esm/serialization/resources/domains/types/index.d.mts +1 -1
- package/dist/esm/serialization/resources/domains/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms-full.txt +297 -57
- package/dist/llms.txt +1 -0
- package/package.json +1 -1
- /package/dist/cjs/api/resources/domains/types/{DomainSummary.js → DomainItem.js} +0 -0
- /package/dist/esm/api/resources/domains/types/{DomainSummary.mjs → DomainItem.mjs} +0 -0
|
@@ -44,7 +44,12 @@ export class Drafts {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -210,7 +215,9 @@ export class Drafts {
|
|
|
210
215
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
211
216
|
requestType: "json",
|
|
212
217
|
body: serializers.CreateDraftRequest.jsonOrThrow(request, {
|
|
213
|
-
unrecognizedObjectKeys: "
|
|
218
|
+
unrecognizedObjectKeys: "passthrough",
|
|
219
|
+
allowUnrecognizedUnionMembers: true,
|
|
220
|
+
allowUnrecognizedEnumValues: true,
|
|
214
221
|
omitUndefined: true,
|
|
215
222
|
}),
|
|
216
223
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -290,7 +297,9 @@ export class Drafts {
|
|
|
290
297
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
291
298
|
requestType: "json",
|
|
292
299
|
body: serializers.UpdateDraftRequest.jsonOrThrow(request, {
|
|
293
|
-
unrecognizedObjectKeys: "
|
|
300
|
+
unrecognizedObjectKeys: "passthrough",
|
|
301
|
+
allowUnrecognizedUnionMembers: true,
|
|
302
|
+
allowUnrecognizedEnumValues: true,
|
|
294
303
|
omitUndefined: true,
|
|
295
304
|
}),
|
|
296
305
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -372,7 +381,9 @@ export class Drafts {
|
|
|
372
381
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
373
382
|
requestType: "json",
|
|
374
383
|
body: serializers.UpdateMessageRequest.jsonOrThrow(request, {
|
|
375
|
-
unrecognizedObjectKeys: "
|
|
384
|
+
unrecognizedObjectKeys: "passthrough",
|
|
385
|
+
allowUnrecognizedUnionMembers: true,
|
|
386
|
+
allowUnrecognizedEnumValues: true,
|
|
376
387
|
omitUndefined: true,
|
|
377
388
|
}),
|
|
378
389
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -44,7 +44,12 @@ export class Messages {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -328,7 +333,9 @@ export class Messages {
|
|
|
328
333
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
329
334
|
requestType: "json",
|
|
330
335
|
body: serializers.SendMessageRequest.jsonOrThrow(request, {
|
|
331
|
-
unrecognizedObjectKeys: "
|
|
336
|
+
unrecognizedObjectKeys: "passthrough",
|
|
337
|
+
allowUnrecognizedUnionMembers: true,
|
|
338
|
+
allowUnrecognizedEnumValues: true,
|
|
332
339
|
omitUndefined: true,
|
|
333
340
|
}),
|
|
334
341
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -426,7 +433,9 @@ export class Messages {
|
|
|
426
433
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
427
434
|
requestType: "json",
|
|
428
435
|
body: serializers.ReplyToMessageRequest.jsonOrThrow(request, {
|
|
429
|
-
unrecognizedObjectKeys: "
|
|
436
|
+
unrecognizedObjectKeys: "passthrough",
|
|
437
|
+
allowUnrecognizedUnionMembers: true,
|
|
438
|
+
allowUnrecognizedEnumValues: true,
|
|
430
439
|
omitUndefined: true,
|
|
431
440
|
}),
|
|
432
441
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -523,7 +532,9 @@ export class Messages {
|
|
|
523
532
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
524
533
|
requestType: "json",
|
|
525
534
|
body: serializers.UpdateMessageRequest.jsonOrThrow(request, {
|
|
526
|
-
unrecognizedObjectKeys: "
|
|
535
|
+
unrecognizedObjectKeys: "passthrough",
|
|
536
|
+
allowUnrecognizedUnionMembers: true,
|
|
537
|
+
allowUnrecognizedEnumValues: true,
|
|
527
538
|
omitUndefined: true,
|
|
528
539
|
}),
|
|
529
540
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -43,7 +43,9 @@ export class Metrics {
|
|
|
43
43
|
const _queryParams = {};
|
|
44
44
|
if (eventTypes != null) {
|
|
45
45
|
_queryParams.event_types = toJson(serializers.MetricEventTypes.jsonOrThrow(eventTypes, {
|
|
46
|
-
unrecognizedObjectKeys: "
|
|
46
|
+
unrecognizedObjectKeys: "passthrough",
|
|
47
|
+
allowUnrecognizedUnionMembers: true,
|
|
48
|
+
allowUnrecognizedEnumValues: true,
|
|
47
49
|
omitUndefined: true,
|
|
48
50
|
}));
|
|
49
51
|
}
|
|
@@ -44,7 +44,12 @@ export class Threads {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -41,7 +41,9 @@ export class Metrics {
|
|
|
41
41
|
const _queryParams = {};
|
|
42
42
|
if (eventTypes != null) {
|
|
43
43
|
_queryParams.event_types = toJson(serializers.MetricEventTypes.jsonOrThrow(eventTypes, {
|
|
44
|
-
unrecognizedObjectKeys: "
|
|
44
|
+
unrecognizedObjectKeys: "passthrough",
|
|
45
|
+
allowUnrecognizedUnionMembers: true,
|
|
46
|
+
allowUnrecognizedEnumValues: true,
|
|
45
47
|
omitUndefined: true,
|
|
46
48
|
}));
|
|
47
49
|
}
|
|
@@ -201,7 +201,9 @@ export class Pods {
|
|
|
201
201
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
202
202
|
requestType: "json",
|
|
203
203
|
body: serializers.pods.CreatePodRequest.jsonOrThrow(request, {
|
|
204
|
-
unrecognizedObjectKeys: "
|
|
204
|
+
unrecognizedObjectKeys: "passthrough",
|
|
205
|
+
allowUnrecognizedUnionMembers: true,
|
|
206
|
+
allowUnrecognizedEnumValues: true,
|
|
205
207
|
omitUndefined: true,
|
|
206
208
|
}),
|
|
207
209
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -44,7 +44,12 @@ export class Domains {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -140,7 +145,9 @@ export class Domains {
|
|
|
140
145
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
141
146
|
requestType: "json",
|
|
142
147
|
body: serializers.CreateDomainRequest.jsonOrThrow(request, {
|
|
143
|
-
unrecognizedObjectKeys: "
|
|
148
|
+
unrecognizedObjectKeys: "passthrough",
|
|
149
|
+
allowUnrecognizedUnionMembers: true,
|
|
150
|
+
allowUnrecognizedEnumValues: true,
|
|
144
151
|
omitUndefined: true,
|
|
145
152
|
}),
|
|
146
153
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -44,7 +44,12 @@ export class Drafts {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -44,7 +44,12 @@ export class Inboxes {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -210,7 +215,9 @@ export class Inboxes {
|
|
|
210
215
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
211
216
|
requestType: "json",
|
|
212
217
|
body: serializers.inboxes.CreateInboxRequest.jsonOrThrow(request, {
|
|
213
|
-
unrecognizedObjectKeys: "
|
|
218
|
+
unrecognizedObjectKeys: "passthrough",
|
|
219
|
+
allowUnrecognizedUnionMembers: true,
|
|
220
|
+
allowUnrecognizedEnumValues: true,
|
|
214
221
|
omitUndefined: true,
|
|
215
222
|
}),
|
|
216
223
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -44,7 +44,12 @@ export class Threads {
|
|
|
44
44
|
_queryParams.page_token = pageToken;
|
|
45
45
|
}
|
|
46
46
|
if (labels != null) {
|
|
47
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
48
|
+
unrecognizedObjectKeys: "passthrough",
|
|
49
|
+
allowUnrecognizedUnionMembers: true,
|
|
50
|
+
allowUnrecognizedEnumValues: true,
|
|
51
|
+
omitUndefined: true,
|
|
52
|
+
}));
|
|
48
53
|
}
|
|
49
54
|
if (before != null) {
|
|
50
55
|
_queryParams.before = before.toISOString();
|
|
@@ -43,7 +43,12 @@ export class Threads {
|
|
|
43
43
|
_queryParams.page_token = pageToken;
|
|
44
44
|
}
|
|
45
45
|
if (labels != null) {
|
|
46
|
-
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
46
|
+
_queryParams.labels = toJson(serializers.Labels.jsonOrThrow(labels, {
|
|
47
|
+
unrecognizedObjectKeys: "passthrough",
|
|
48
|
+
allowUnrecognizedUnionMembers: true,
|
|
49
|
+
allowUnrecognizedEnumValues: true,
|
|
50
|
+
omitUndefined: true,
|
|
51
|
+
}));
|
|
47
52
|
}
|
|
48
53
|
if (before != null) {
|
|
49
54
|
_queryParams.before = before.toISOString();
|
|
@@ -184,7 +184,9 @@ export class Webhooks {
|
|
|
184
184
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
185
185
|
requestType: "json",
|
|
186
186
|
body: serializers.webhooks.CreateWebhookRequest.jsonOrThrow(request, {
|
|
187
|
-
unrecognizedObjectKeys: "
|
|
187
|
+
unrecognizedObjectKeys: "passthrough",
|
|
188
|
+
allowUnrecognizedUnionMembers: true,
|
|
189
|
+
allowUnrecognizedEnumValues: true,
|
|
188
190
|
omitUndefined: true,
|
|
189
191
|
}),
|
|
190
192
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
package/dist/esm/serialization/resources/domains/types/{DomainSummary.d.mts → DomainItem.d.mts}
RENAMED
|
@@ -4,8 +4,8 @@ import type * as serializers from "../../../index.mjs";
|
|
|
4
4
|
import { ClientId } from "./ClientId.mjs";
|
|
5
5
|
import { DomainId } from "./DomainId.mjs";
|
|
6
6
|
import { FeedbackEnabled } from "./FeedbackEnabled.mjs";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const DomainItem: core.serialization.ObjectSchema<serializers.DomainItem.Raw, AgentMail.DomainItem>;
|
|
8
|
+
export declare namespace DomainItem {
|
|
9
9
|
interface Raw {
|
|
10
10
|
domain_id: DomainId.Raw;
|
|
11
11
|
feedback_enabled: FeedbackEnabled.Raw;
|
|
@@ -3,7 +3,7 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import { ClientId } from "./ClientId.mjs";
|
|
4
4
|
import { DomainId } from "./DomainId.mjs";
|
|
5
5
|
import { FeedbackEnabled } from "./FeedbackEnabled.mjs";
|
|
6
|
-
export const
|
|
6
|
+
export const DomainItem = core.serialization.object({
|
|
7
7
|
domainId: core.serialization.property("domain_id", DomainId),
|
|
8
8
|
feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled),
|
|
9
9
|
clientId: core.serialization.property("client_id", ClientId.optional()),
|
|
@@ -2,13 +2,15 @@ import type * as AgentMail from "../../../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
import { Count } from "../../../types/Count.mjs";
|
|
5
|
+
import { Limit } from "../../../types/Limit.mjs";
|
|
5
6
|
import { PageToken } from "../../../types/PageToken.mjs";
|
|
6
|
-
import {
|
|
7
|
+
import { DomainItem } from "./DomainItem.mjs";
|
|
7
8
|
export declare const ListDomainsResponse: core.serialization.ObjectSchema<serializers.ListDomainsResponse.Raw, AgentMail.ListDomainsResponse>;
|
|
8
9
|
export declare namespace ListDomainsResponse {
|
|
9
10
|
interface Raw {
|
|
10
11
|
count: Count.Raw;
|
|
12
|
+
limit?: Limit.Raw | null;
|
|
11
13
|
next_page_token?: PageToken.Raw | null;
|
|
12
|
-
domains:
|
|
14
|
+
domains: DomainItem.Raw[];
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { Count } from "../../../types/Count.mjs";
|
|
4
|
+
import { Limit } from "../../../types/Limit.mjs";
|
|
4
5
|
import { PageToken } from "../../../types/PageToken.mjs";
|
|
5
|
-
import {
|
|
6
|
+
import { DomainItem } from "./DomainItem.mjs";
|
|
6
7
|
export const ListDomainsResponse = core.serialization.object({
|
|
7
8
|
count: Count,
|
|
9
|
+
limit: Limit.optional(),
|
|
8
10
|
nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
|
|
9
|
-
domains: core.serialization.list(
|
|
11
|
+
domains: core.serialization.list(DomainItem),
|
|
10
12
|
});
|
|
@@ -2,8 +2,8 @@ export * from "./ClientId.mjs";
|
|
|
2
2
|
export * from "./CreateDomainRequest.mjs";
|
|
3
3
|
export * from "./Domain.mjs";
|
|
4
4
|
export * from "./DomainId.mjs";
|
|
5
|
+
export * from "./DomainItem.mjs";
|
|
5
6
|
export * from "./DomainName.mjs";
|
|
6
|
-
export * from "./DomainSummary.mjs";
|
|
7
7
|
export * from "./FeedbackEnabled.mjs";
|
|
8
8
|
export * from "./ListDomainsResponse.mjs";
|
|
9
9
|
export * from "./RecordStatus.mjs";
|
|
@@ -2,8 +2,8 @@ export * from "./ClientId.mjs";
|
|
|
2
2
|
export * from "./CreateDomainRequest.mjs";
|
|
3
3
|
export * from "./Domain.mjs";
|
|
4
4
|
export * from "./DomainId.mjs";
|
|
5
|
+
export * from "./DomainItem.mjs";
|
|
5
6
|
export * from "./DomainName.mjs";
|
|
6
|
-
export * from "./DomainSummary.mjs";
|
|
7
7
|
export * from "./FeedbackEnabled.mjs";
|
|
8
8
|
export * from "./ListDomainsResponse.mjs";
|
|
9
9
|
export * from "./RecordStatus.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.5";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
1
|
+
export const SDK_VERSION = "0.1.5";
|