agentmail 0.0.20 → 0.0.22
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/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/inboxes/client/Client.js +3 -3
- package/api/resources/inboxes/types/Inbox.d.ts +1 -1
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/messages/client/Client.js +5 -5
- package/api/resources/messages/types/MessageInReplyTo.d.ts +1 -1
- package/api/resources/messages/types/MessageReferences.d.ts +1 -1
- package/api/resources/messages/types/MessageReplyTo.d.ts +1 -1
- package/api/resources/threads/client/Client.js +2 -2
- package/api/resources/webhooks/client/Client.d.ts +71 -0
- package/api/resources/webhooks/client/Client.js +316 -0
- package/api/resources/webhooks/client/index.d.ts +1 -0
- package/api/resources/webhooks/client/index.js +17 -0
- package/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +12 -0
- package/api/resources/webhooks/client/requests/ListWebhooksRequest.js +5 -0
- package/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/api/resources/webhooks/client/requests/index.js +2 -0
- package/api/resources/webhooks/index.d.ts +2 -0
- package/api/resources/webhooks/index.js +18 -0
- package/api/resources/webhooks/types/CreateWebhookRequest.d.ts +9 -0
- package/api/resources/webhooks/types/CreateWebhookRequest.js +5 -0
- package/api/resources/webhooks/types/EventId.d.ts +7 -0
- package/api/resources/webhooks/types/EventId.js +5 -0
- package/api/resources/webhooks/types/EventType.d.ts +7 -0
- package/api/resources/webhooks/types/EventType.js +9 -0
- package/api/resources/webhooks/types/Events.d.ts +8 -0
- package/api/resources/webhooks/types/Events.js +5 -0
- package/api/resources/webhooks/types/Inboxes.d.ts +7 -0
- package/api/resources/webhooks/types/Inboxes.js +5 -0
- package/api/resources/webhooks/types/ListWebhooksResponse.d.ts +11 -0
- package/api/resources/webhooks/types/ListWebhooksResponse.js +5 -0
- package/api/resources/webhooks/types/MessageReceivedPayload.d.ts +7 -0
- package/api/resources/webhooks/types/MessageReceivedPayload.js +5 -0
- package/api/resources/webhooks/types/Payload.d.ts +8 -0
- package/api/resources/webhooks/types/Payload.js +5 -0
- package/api/resources/webhooks/types/SvixId.d.ts +7 -0
- package/api/resources/webhooks/types/SvixId.js +5 -0
- package/api/resources/webhooks/types/SvixSignature.d.ts +7 -0
- package/api/resources/webhooks/types/SvixSignature.js +5 -0
- package/api/resources/webhooks/types/SvixTimestamp.d.ts +7 -0
- package/api/resources/webhooks/types/SvixTimestamp.js +5 -0
- package/api/resources/webhooks/types/Url.d.ts +7 -0
- package/api/resources/webhooks/types/Url.js +5 -0
- package/api/resources/webhooks/types/Webhook.d.ts +14 -0
- package/api/resources/webhooks/types/Webhook.js +5 -0
- package/api/resources/webhooks/types/WebhookId.d.ts +7 -0
- package/api/resources/webhooks/types/WebhookId.js +5 -0
- package/api/resources/webhooks/types/index.d.ts +14 -0
- package/api/resources/webhooks/types/index.js +30 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/inboxes/client/Client.js +3 -3
- package/dist/api/resources/inboxes/types/Inbox.d.ts +1 -1
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/messages/types/MessageInReplyTo.d.ts +1 -1
- package/dist/api/resources/messages/types/MessageReferences.d.ts +1 -1
- package/dist/api/resources/messages/types/MessageReplyTo.d.ts +1 -1
- package/dist/api/resources/threads/client/Client.js +2 -2
- package/dist/api/resources/webhooks/client/Client.d.ts +71 -0
- package/dist/api/resources/webhooks/client/Client.js +316 -0
- package/dist/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/index.js +17 -0
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +12 -0
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.js +5 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/api/resources/webhooks/index.d.ts +2 -0
- package/dist/api/resources/webhooks/index.js +18 -0
- package/dist/api/resources/webhooks/types/CreateWebhookRequest.d.ts +9 -0
- package/dist/api/resources/webhooks/types/CreateWebhookRequest.js +5 -0
- package/dist/api/resources/webhooks/types/EventId.d.ts +7 -0
- package/dist/api/resources/webhooks/types/EventId.js +5 -0
- package/dist/api/resources/webhooks/types/EventType.d.ts +7 -0
- package/dist/api/resources/webhooks/types/EventType.js +9 -0
- package/dist/api/resources/webhooks/types/Events.d.ts +8 -0
- package/dist/api/resources/webhooks/types/Events.js +5 -0
- package/dist/api/resources/webhooks/types/Inboxes.d.ts +7 -0
- package/dist/api/resources/webhooks/types/Inboxes.js +5 -0
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +11 -0
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.js +5 -0
- package/dist/api/resources/webhooks/types/MessageReceivedPayload.d.ts +7 -0
- package/dist/api/resources/webhooks/types/MessageReceivedPayload.js +5 -0
- package/dist/api/resources/webhooks/types/Payload.d.ts +8 -0
- package/dist/api/resources/webhooks/types/Payload.js +5 -0
- package/dist/api/resources/webhooks/types/SvixId.d.ts +7 -0
- package/dist/api/resources/webhooks/types/SvixId.js +5 -0
- package/dist/api/resources/webhooks/types/SvixSignature.d.ts +7 -0
- package/dist/api/resources/webhooks/types/SvixSignature.js +5 -0
- package/dist/api/resources/webhooks/types/SvixTimestamp.d.ts +7 -0
- package/dist/api/resources/webhooks/types/SvixTimestamp.js +5 -0
- package/dist/api/resources/webhooks/types/Url.d.ts +7 -0
- package/dist/api/resources/webhooks/types/Url.js +5 -0
- package/dist/api/resources/webhooks/types/Webhook.d.ts +14 -0
- package/dist/api/resources/webhooks/types/Webhook.js +5 -0
- package/dist/api/resources/webhooks/types/WebhookId.d.ts +7 -0
- package/dist/api/resources/webhooks/types/WebhookId.js +5 -0
- package/dist/api/resources/webhooks/types/index.d.ts +14 -0
- package/dist/api/resources/webhooks/types/index.js +30 -0
- package/dist/serialization/resources/inboxes/types/Inbox.d.ts +1 -1
- package/dist/serialization/resources/inboxes/types/Inbox.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/messages/types/Message.d.ts +3 -3
- package/dist/serialization/resources/messages/types/Message.js +3 -3
- package/dist/serialization/resources/messages/types/MessageInReplyTo.d.ts +1 -1
- package/dist/serialization/resources/messages/types/MessageInReplyTo.js +1 -1
- package/dist/serialization/resources/messages/types/MessageReferences.d.ts +1 -1
- package/dist/serialization/resources/messages/types/MessageReferences.js +1 -1
- package/dist/serialization/resources/messages/types/MessageReplyTo.d.ts +1 -1
- package/dist/serialization/resources/messages/types/MessageReplyTo.js +1 -1
- package/dist/serialization/resources/webhooks/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/index.js +17 -0
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequest.d.ts +17 -0
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequest.js +48 -0
- package/dist/serialization/resources/webhooks/types/EventId.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/EventId.js +41 -0
- package/dist/serialization/resources/webhooks/types/EventType.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/EventType.js +41 -0
- package/dist/serialization/resources/webhooks/types/Events.d.ts +11 -0
- package/dist/serialization/resources/webhooks/types/Events.js +42 -0
- package/dist/serialization/resources/webhooks/types/Inboxes.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/Inboxes.js +41 -0
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +19 -0
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +50 -0
- package/dist/serialization/resources/webhooks/types/MessageReceivedPayload.d.ts +14 -0
- package/dist/serialization/resources/webhooks/types/MessageReceivedPayload.js +47 -0
- package/dist/serialization/resources/webhooks/types/Payload.d.ts +15 -0
- package/dist/serialization/resources/webhooks/types/Payload.js +46 -0
- package/dist/serialization/resources/webhooks/types/SvixId.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/SvixId.js +41 -0
- package/dist/serialization/resources/webhooks/types/SvixSignature.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/SvixSignature.js +41 -0
- package/dist/serialization/resources/webhooks/types/SvixTimestamp.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/SvixTimestamp.js +41 -0
- package/dist/serialization/resources/webhooks/types/Url.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/Url.js +41 -0
- package/dist/serialization/resources/webhooks/types/Webhook.d.ts +21 -0
- package/dist/serialization/resources/webhooks/types/Webhook.js +52 -0
- package/dist/serialization/resources/webhooks/types/WebhookId.d.ts +10 -0
- package/dist/serialization/resources/webhooks/types/WebhookId.js +41 -0
- package/dist/serialization/resources/webhooks/types/index.d.ts +14 -0
- package/dist/serialization/resources/webhooks/types/index.js +30 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +198 -0
- package/serialization/resources/inboxes/types/Inbox.d.ts +1 -1
- package/serialization/resources/inboxes/types/Inbox.js +1 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/messages/types/Message.d.ts +3 -3
- package/serialization/resources/messages/types/Message.js +3 -3
- package/serialization/resources/messages/types/MessageInReplyTo.d.ts +1 -1
- package/serialization/resources/messages/types/MessageInReplyTo.js +1 -1
- package/serialization/resources/messages/types/MessageReferences.d.ts +1 -1
- package/serialization/resources/messages/types/MessageReferences.js +1 -1
- package/serialization/resources/messages/types/MessageReplyTo.d.ts +1 -1
- package/serialization/resources/messages/types/MessageReplyTo.js +1 -1
- package/serialization/resources/webhooks/index.d.ts +1 -0
- package/serialization/resources/webhooks/index.js +17 -0
- package/serialization/resources/webhooks/types/CreateWebhookRequest.d.ts +17 -0
- package/serialization/resources/webhooks/types/CreateWebhookRequest.js +48 -0
- package/serialization/resources/webhooks/types/EventId.d.ts +10 -0
- package/serialization/resources/webhooks/types/EventId.js +41 -0
- package/serialization/resources/webhooks/types/EventType.d.ts +10 -0
- package/serialization/resources/webhooks/types/EventType.js +41 -0
- package/serialization/resources/webhooks/types/Events.d.ts +11 -0
- package/serialization/resources/webhooks/types/Events.js +42 -0
- package/serialization/resources/webhooks/types/Inboxes.d.ts +10 -0
- package/serialization/resources/webhooks/types/Inboxes.js +41 -0
- package/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +19 -0
- package/serialization/resources/webhooks/types/ListWebhooksResponse.js +50 -0
- package/serialization/resources/webhooks/types/MessageReceivedPayload.d.ts +14 -0
- package/serialization/resources/webhooks/types/MessageReceivedPayload.js +47 -0
- package/serialization/resources/webhooks/types/Payload.d.ts +15 -0
- package/serialization/resources/webhooks/types/Payload.js +46 -0
- package/serialization/resources/webhooks/types/SvixId.d.ts +10 -0
- package/serialization/resources/webhooks/types/SvixId.js +41 -0
- package/serialization/resources/webhooks/types/SvixSignature.d.ts +10 -0
- package/serialization/resources/webhooks/types/SvixSignature.js +41 -0
- package/serialization/resources/webhooks/types/SvixTimestamp.d.ts +10 -0
- package/serialization/resources/webhooks/types/SvixTimestamp.js +41 -0
- package/serialization/resources/webhooks/types/Url.d.ts +10 -0
- package/serialization/resources/webhooks/types/Url.js +41 -0
- package/serialization/resources/webhooks/types/Webhook.d.ts +21 -0
- package/serialization/resources/webhooks/types/Webhook.js +52 -0
- package/serialization/resources/webhooks/types/WebhookId.d.ts +10 -0
- package/serialization/resources/webhooks/types/WebhookId.js +41 -0
- package/serialization/resources/webhooks/types/index.d.ts +14 -0
- package/serialization/resources/webhooks/types/index.js +30 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Payload = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const EventType_1 = require("./EventType");
|
|
42
|
+
const EventId_1 = require("./EventId");
|
|
43
|
+
exports.Payload = core.serialization.object({
|
|
44
|
+
eventType: core.serialization.property("event_type", EventType_1.EventType),
|
|
45
|
+
eventId: core.serialization.property("event_id", EventId_1.EventId),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SvixId: core.serialization.Schema<serializers.SvixId.Raw, AgentMail.SvixId>;
|
|
8
|
+
export declare namespace SvixId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SvixId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.SvixId = core.serialization.string();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SvixSignature: core.serialization.Schema<serializers.SvixSignature.Raw, AgentMail.SvixSignature>;
|
|
8
|
+
export declare namespace SvixSignature {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SvixSignature = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.SvixSignature = core.serialization.string();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SvixTimestamp: core.serialization.Schema<serializers.SvixTimestamp.Raw, AgentMail.SvixTimestamp>;
|
|
8
|
+
export declare namespace SvixTimestamp {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SvixTimestamp = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.SvixTimestamp = core.serialization.date();
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const Url: core.serialization.Schema<serializers.Url.Raw, AgentMail.Url>;
|
|
8
|
+
export declare namespace Url {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Url = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Url = core.serialization.string();
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { WebhookId } from "./WebhookId";
|
|
8
|
+
import { Url } from "./Url";
|
|
9
|
+
import { Events } from "./Events";
|
|
10
|
+
import { Inboxes } from "./Inboxes";
|
|
11
|
+
export declare const Webhook: core.serialization.ObjectSchema<serializers.Webhook.Raw, AgentMail.Webhook>;
|
|
12
|
+
export declare namespace Webhook {
|
|
13
|
+
interface Raw {
|
|
14
|
+
webhook_id: WebhookId.Raw;
|
|
15
|
+
url: Url.Raw;
|
|
16
|
+
events?: Events.Raw | null;
|
|
17
|
+
inboxes?: Inboxes.Raw | null;
|
|
18
|
+
secret: string;
|
|
19
|
+
created_at: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Webhook = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const WebhookId_1 = require("./WebhookId");
|
|
42
|
+
const Url_1 = require("./Url");
|
|
43
|
+
const Events_1 = require("./Events");
|
|
44
|
+
const Inboxes_1 = require("./Inboxes");
|
|
45
|
+
exports.Webhook = core.serialization.object({
|
|
46
|
+
webhookId: core.serialization.property("webhook_id", WebhookId_1.WebhookId),
|
|
47
|
+
url: Url_1.Url,
|
|
48
|
+
events: Events_1.Events.optional(),
|
|
49
|
+
inboxes: Inboxes_1.Inboxes.optional(),
|
|
50
|
+
secret: core.serialization.string(),
|
|
51
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
52
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as AgentMail from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const WebhookId: core.serialization.Schema<serializers.WebhookId.Raw, AgentMail.WebhookId>;
|
|
8
|
+
export declare namespace WebhookId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.WebhookId = core.serialization.string();
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./WebhookId";
|
|
2
|
+
export * from "./Url";
|
|
3
|
+
export * from "./EventType";
|
|
4
|
+
export * from "./Events";
|
|
5
|
+
export * from "./Inboxes";
|
|
6
|
+
export * from "./Webhook";
|
|
7
|
+
export * from "./ListWebhooksResponse";
|
|
8
|
+
export * from "./CreateWebhookRequest";
|
|
9
|
+
export * from "./EventId";
|
|
10
|
+
export * from "./Payload";
|
|
11
|
+
export * from "./MessageReceivedPayload";
|
|
12
|
+
export * from "./SvixId";
|
|
13
|
+
export * from "./SvixTimestamp";
|
|
14
|
+
export * from "./SvixSignature";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WebhookId"), exports);
|
|
18
|
+
__exportStar(require("./Url"), exports);
|
|
19
|
+
__exportStar(require("./EventType"), exports);
|
|
20
|
+
__exportStar(require("./Events"), exports);
|
|
21
|
+
__exportStar(require("./Inboxes"), exports);
|
|
22
|
+
__exportStar(require("./Webhook"), exports);
|
|
23
|
+
__exportStar(require("./ListWebhooksResponse"), exports);
|
|
24
|
+
__exportStar(require("./CreateWebhookRequest"), exports);
|
|
25
|
+
__exportStar(require("./EventId"), exports);
|
|
26
|
+
__exportStar(require("./Payload"), exports);
|
|
27
|
+
__exportStar(require("./MessageReceivedPayload"), exports);
|
|
28
|
+
__exportStar(require("./SvixId"), exports);
|
|
29
|
+
__exportStar(require("./SvixTimestamp"), exports);
|
|
30
|
+
__exportStar(require("./SvixSignature"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.22";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -515,3 +515,201 @@ await client.threads.get("yourinbox@agentmail.to", "thread_123");
|
|
|
515
515
|
</dd>
|
|
516
516
|
</dl>
|
|
517
517
|
</details>
|
|
518
|
+
|
|
519
|
+
## Webhooks
|
|
520
|
+
|
|
521
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListWebhooksResponse</code></summary>
|
|
522
|
+
<dl>
|
|
523
|
+
<dd>
|
|
524
|
+
|
|
525
|
+
#### 🔌 Usage
|
|
526
|
+
|
|
527
|
+
<dl>
|
|
528
|
+
<dd>
|
|
529
|
+
|
|
530
|
+
<dl>
|
|
531
|
+
<dd>
|
|
532
|
+
|
|
533
|
+
```typescript
|
|
534
|
+
await client.webhooks.list();
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
</dd>
|
|
538
|
+
</dl>
|
|
539
|
+
</dd>
|
|
540
|
+
</dl>
|
|
541
|
+
|
|
542
|
+
#### ⚙️ Parameters
|
|
543
|
+
|
|
544
|
+
<dl>
|
|
545
|
+
<dd>
|
|
546
|
+
|
|
547
|
+
<dl>
|
|
548
|
+
<dd>
|
|
549
|
+
|
|
550
|
+
**request:** `AgentMail.ListWebhooksRequest`
|
|
551
|
+
|
|
552
|
+
</dd>
|
|
553
|
+
</dl>
|
|
554
|
+
|
|
555
|
+
<dl>
|
|
556
|
+
<dd>
|
|
557
|
+
|
|
558
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
559
|
+
|
|
560
|
+
</dd>
|
|
561
|
+
</dl>
|
|
562
|
+
</dd>
|
|
563
|
+
</dl>
|
|
564
|
+
|
|
565
|
+
</dd>
|
|
566
|
+
</dl>
|
|
567
|
+
</details>
|
|
568
|
+
|
|
569
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">get</a>(webhookId) -> AgentMail.Webhook</code></summary>
|
|
570
|
+
<dl>
|
|
571
|
+
<dd>
|
|
572
|
+
|
|
573
|
+
#### 🔌 Usage
|
|
574
|
+
|
|
575
|
+
<dl>
|
|
576
|
+
<dd>
|
|
577
|
+
|
|
578
|
+
<dl>
|
|
579
|
+
<dd>
|
|
580
|
+
|
|
581
|
+
```typescript
|
|
582
|
+
await client.webhooks.get("webhook_id");
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
</dd>
|
|
586
|
+
</dl>
|
|
587
|
+
</dd>
|
|
588
|
+
</dl>
|
|
589
|
+
|
|
590
|
+
#### ⚙️ Parameters
|
|
591
|
+
|
|
592
|
+
<dl>
|
|
593
|
+
<dd>
|
|
594
|
+
|
|
595
|
+
<dl>
|
|
596
|
+
<dd>
|
|
597
|
+
|
|
598
|
+
**webhookId:** `AgentMail.WebhookId`
|
|
599
|
+
|
|
600
|
+
</dd>
|
|
601
|
+
</dl>
|
|
602
|
+
|
|
603
|
+
<dl>
|
|
604
|
+
<dd>
|
|
605
|
+
|
|
606
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
607
|
+
|
|
608
|
+
</dd>
|
|
609
|
+
</dl>
|
|
610
|
+
</dd>
|
|
611
|
+
</dl>
|
|
612
|
+
|
|
613
|
+
</dd>
|
|
614
|
+
</dl>
|
|
615
|
+
</details>
|
|
616
|
+
|
|
617
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">create</a>({ ...params }) -> AgentMail.Webhook</code></summary>
|
|
618
|
+
<dl>
|
|
619
|
+
<dd>
|
|
620
|
+
|
|
621
|
+
#### 🔌 Usage
|
|
622
|
+
|
|
623
|
+
<dl>
|
|
624
|
+
<dd>
|
|
625
|
+
|
|
626
|
+
<dl>
|
|
627
|
+
<dd>
|
|
628
|
+
|
|
629
|
+
```typescript
|
|
630
|
+
await client.webhooks.create({
|
|
631
|
+
url: "url",
|
|
632
|
+
events: undefined,
|
|
633
|
+
inboxes: undefined,
|
|
634
|
+
});
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
</dd>
|
|
638
|
+
</dl>
|
|
639
|
+
</dd>
|
|
640
|
+
</dl>
|
|
641
|
+
|
|
642
|
+
#### ⚙️ Parameters
|
|
643
|
+
|
|
644
|
+
<dl>
|
|
645
|
+
<dd>
|
|
646
|
+
|
|
647
|
+
<dl>
|
|
648
|
+
<dd>
|
|
649
|
+
|
|
650
|
+
**request:** `AgentMail.CreateWebhookRequest`
|
|
651
|
+
|
|
652
|
+
</dd>
|
|
653
|
+
</dl>
|
|
654
|
+
|
|
655
|
+
<dl>
|
|
656
|
+
<dd>
|
|
657
|
+
|
|
658
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
659
|
+
|
|
660
|
+
</dd>
|
|
661
|
+
</dl>
|
|
662
|
+
</dd>
|
|
663
|
+
</dl>
|
|
664
|
+
|
|
665
|
+
</dd>
|
|
666
|
+
</dl>
|
|
667
|
+
</details>
|
|
668
|
+
|
|
669
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">delete</a>(webhookId) -> void</code></summary>
|
|
670
|
+
<dl>
|
|
671
|
+
<dd>
|
|
672
|
+
|
|
673
|
+
#### 🔌 Usage
|
|
674
|
+
|
|
675
|
+
<dl>
|
|
676
|
+
<dd>
|
|
677
|
+
|
|
678
|
+
<dl>
|
|
679
|
+
<dd>
|
|
680
|
+
|
|
681
|
+
```typescript
|
|
682
|
+
await client.webhooks.delete("webhook_id");
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
</dd>
|
|
686
|
+
</dl>
|
|
687
|
+
</dd>
|
|
688
|
+
</dl>
|
|
689
|
+
|
|
690
|
+
#### ⚙️ Parameters
|
|
691
|
+
|
|
692
|
+
<dl>
|
|
693
|
+
<dd>
|
|
694
|
+
|
|
695
|
+
<dl>
|
|
696
|
+
<dd>
|
|
697
|
+
|
|
698
|
+
**webhookId:** `AgentMail.WebhookId`
|
|
699
|
+
|
|
700
|
+
</dd>
|
|
701
|
+
</dl>
|
|
702
|
+
|
|
703
|
+
<dl>
|
|
704
|
+
<dd>
|
|
705
|
+
|
|
706
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
707
|
+
|
|
708
|
+
</dd>
|
|
709
|
+
</dl>
|
|
710
|
+
</dd>
|
|
711
|
+
</dl>
|
|
712
|
+
|
|
713
|
+
</dd>
|
|
714
|
+
</dl>
|
|
715
|
+
</details>
|
|
@@ -43,6 +43,6 @@ const DisplayName_1 = require("./DisplayName");
|
|
|
43
43
|
exports.Inbox = core.serialization.object({
|
|
44
44
|
inboxId: core.serialization.property("inbox_id", InboxId_1.InboxId),
|
|
45
45
|
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
46
|
-
displayName: core.serialization.property("display_name", DisplayName_1.DisplayName),
|
|
46
|
+
displayName: core.serialization.property("display_name", DisplayName_1.DisplayName.optional()),
|
|
47
47
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
48
48
|
});
|