@unlimited-messaging/sdk 0.1.25 → 0.1.26
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/package.json +1 -1
- package/src/api/resources/accounts/client/Client.d.ts +182 -1
- package/src/api/resources/accounts/client/Client.js +437 -1
- package/src/api/resources/accounts/client/requests/AccountConnectEmailRequest.d.ts +39 -0
- package/src/api/resources/accounts/client/requests/AccountConnectEmailRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountEmailAutoconfigRequest.d.ts +12 -0
- package/src/api/resources/accounts/client/requests/AccountEmailAutoconfigRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountReconnectEmailRequest.d.ts +22 -0
- package/src/api/resources/accounts/client/requests/AccountReconnectEmailRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountTestEmailRequest.d.ts +35 -0
- package/src/api/resources/accounts/client/requests/AccountTestEmailRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/index.d.ts +4 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestImap.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestImap.js +5 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestImapSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestImapSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestSmtp.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestSmtp.js +5 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestSmtpSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountConnectEmailRequestSmtpSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponse.d.ts +26 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseChannel.d.ts +10 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseChannel.js +12 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseOwner.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseOwner.js +10 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseStatus.d.ts +12 -0
- package/src/api/resources/accounts/types/AccountConnectEmailResponseStatus.js +14 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponse.d.ts +16 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseImap.d.ts +12 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseImap.js +5 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseImapSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseImapSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseSmtp.d.ts +12 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseSmtp.js +5 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseSmtpSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountEmailAutoconfigResponseSmtpSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestImap.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestImap.js +5 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestImapSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestImapSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestSmtp.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestSmtp.js +5 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestSmtpSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailRequestSmtpSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponse.d.ts +26 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseChannel.d.ts +10 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseChannel.js +12 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseOwner.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseOwner.js +10 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseStatus.d.ts +12 -0
- package/src/api/resources/accounts/types/AccountReconnectEmailResponseStatus.js +14 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestImap.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestImap.js +5 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestImapSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestImapSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestSmtp.d.ts +15 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestSmtp.js +5 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestSmtpSecurity.d.ts +11 -0
- package/src/api/resources/accounts/types/AccountTestEmailRequestSmtpSecurity.js +10 -0
- package/src/api/resources/accounts/types/AccountTestEmailResponse.d.ts +8 -0
- package/src/api/resources/accounts/types/AccountTestEmailResponse.js +5 -0
- package/src/api/resources/accounts/types/index.d.ts +26 -0
- package/src/api/resources/accounts/types/index.js +26 -0
- package/src/api/resources/messages/client/Client.d.ts +1 -1
- package/src/api/resources/messages/client/Client.js +1 -1
- package/src/api/resources/messages/types/MessageSendRequestChannelsItemChannel.d.ts +2 -1
- package/src/api/resources/messages/types/MessageSendRequestChannelsItemChannel.js +1 -0
- package/src/serialization/resources/accounts/client/requests/AccountConnectEmailRequest.d.ts +21 -0
- package/src/serialization/resources/accounts/client/requests/AccountConnectEmailRequest.js +52 -0
- package/src/serialization/resources/accounts/client/requests/AccountReconnectEmailRequest.d.ts +18 -0
- package/src/serialization/resources/accounts/client/requests/AccountReconnectEmailRequest.js +49 -0
- package/src/serialization/resources/accounts/client/requests/AccountTestEmailRequest.d.ts +19 -0
- package/src/serialization/resources/accounts/client/requests/AccountTestEmailRequest.js +50 -0
- package/src/serialization/resources/accounts/client/requests/index.d.ts +3 -0
- package/src/serialization/resources/accounts/client/requests/index.js +7 -1
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestImap.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestImap.js +46 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestImapSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestImapSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestSmtp.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestSmtp.js +46 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestSmtpSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailRequestSmtpSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponse.d.ts +28 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponse.js +59 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseChannel.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseChannel.js +41 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseOwner.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseOwner.js +41 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseStatus.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountConnectEmailResponseStatus.js +41 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponse.d.ts +19 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponse.js +50 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseImap.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseImap.js +46 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseImapSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseImapSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseSmtp.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseSmtp.js +46 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseSmtpSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountEmailAutoconfigResponseSmtpSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestImap.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestImap.js +46 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestImapSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestImapSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestSmtp.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestSmtp.js +46 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestSmtpSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestSmtpSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponse.d.ts +28 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponse.js +59 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseChannel.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseChannel.js +41 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseOwner.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseOwner.js +41 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseStatus.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountReconnectEmailResponseStatus.js +41 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestImap.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestImap.js +46 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestImapSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestImapSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestSmtp.d.ts +15 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestSmtp.js +46 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestSmtpSecurity.d.ts +10 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailRequestSmtpSecurity.js +41 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailResponse.d.ts +13 -0
- package/src/serialization/resources/accounts/types/AccountTestEmailResponse.js +44 -0
- package/src/serialization/resources/accounts/types/index.d.ts +26 -0
- package/src/serialization/resources/accounts/types/index.js +26 -0
- package/src/serialization/resources/messages/types/MessageSendRequestChannelsItemChannel.d.ts +1 -1
- package/src/serialization/resources/messages/types/MessageSendRequestChannelsItemChannel.js +1 -1
package/src/serialization/resources/accounts/types/AccountReconnectEmailRequestSmtpSecurity.js
ADDED
|
@@ -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.AccountReconnectEmailRequestSmtpSecurity = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountReconnectEmailRequestSmtpSecurity = core.serialization.enum_(["tls", "starttls"]);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AccountReconnectEmailResponseChannel } from "./AccountReconnectEmailResponseChannel";
|
|
8
|
+
import { AccountReconnectEmailResponseOwner } from "./AccountReconnectEmailResponseOwner";
|
|
9
|
+
import { AccountReconnectEmailResponseStatus } from "./AccountReconnectEmailResponseStatus";
|
|
10
|
+
export declare const AccountReconnectEmailResponse: core.serialization.ObjectSchema<serializers.AccountReconnectEmailResponse.Raw, UnlimitedMessagingApi.AccountReconnectEmailResponse>;
|
|
11
|
+
export declare namespace AccountReconnectEmailResponse {
|
|
12
|
+
interface Raw {
|
|
13
|
+
id: string;
|
|
14
|
+
channel: AccountReconnectEmailResponseChannel.Raw;
|
|
15
|
+
owner: AccountReconnectEmailResponseOwner.Raw;
|
|
16
|
+
isSystem: boolean;
|
|
17
|
+
status: AccountReconnectEmailResponseStatus.Raw;
|
|
18
|
+
phone: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
externalRef: string | null;
|
|
21
|
+
blockedUntil: string | null;
|
|
22
|
+
mediaUrlRequiresAuth: boolean;
|
|
23
|
+
syncHistory: boolean;
|
|
24
|
+
sendIntervalSeconds: number;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.AccountReconnectEmailResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AccountReconnectEmailResponseChannel_1 = require("./AccountReconnectEmailResponseChannel");
|
|
42
|
+
const AccountReconnectEmailResponseOwner_1 = require("./AccountReconnectEmailResponseOwner");
|
|
43
|
+
const AccountReconnectEmailResponseStatus_1 = require("./AccountReconnectEmailResponseStatus");
|
|
44
|
+
exports.AccountReconnectEmailResponse = core.serialization.object({
|
|
45
|
+
id: core.serialization.string(),
|
|
46
|
+
channel: AccountReconnectEmailResponseChannel_1.AccountReconnectEmailResponseChannel,
|
|
47
|
+
owner: AccountReconnectEmailResponseOwner_1.AccountReconnectEmailResponseOwner,
|
|
48
|
+
isSystem: core.serialization.boolean(),
|
|
49
|
+
status: AccountReconnectEmailResponseStatus_1.AccountReconnectEmailResponseStatus,
|
|
50
|
+
phone: core.serialization.string().nullable(),
|
|
51
|
+
name: core.serialization.string().nullable(),
|
|
52
|
+
externalRef: core.serialization.string().nullable(),
|
|
53
|
+
blockedUntil: core.serialization.date().nullable(),
|
|
54
|
+
mediaUrlRequiresAuth: core.serialization.boolean(),
|
|
55
|
+
syncHistory: core.serialization.boolean(),
|
|
56
|
+
sendIntervalSeconds: core.serialization.number(),
|
|
57
|
+
createdAt: core.serialization.date(),
|
|
58
|
+
updatedAt: core.serialization.date(),
|
|
59
|
+
});
|
|
@@ -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 UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountReconnectEmailResponseChannel: core.serialization.Schema<serializers.AccountReconnectEmailResponseChannel.Raw, UnlimitedMessagingApi.AccountReconnectEmailResponseChannel>;
|
|
8
|
+
export declare namespace AccountReconnectEmailResponseChannel {
|
|
9
|
+
type Raw = "WHATSAPP_BAILYES" | "EMAIL" | "SMS" | "WHATSAPP_WHATSMEOW";
|
|
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.AccountReconnectEmailResponseChannel = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountReconnectEmailResponseChannel = core.serialization.enum_(["WHATSAPP_BAILYES", "EMAIL", "SMS", "WHATSAPP_WHATSMEOW"]);
|
|
@@ -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 UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountReconnectEmailResponseOwner: core.serialization.Schema<serializers.AccountReconnectEmailResponseOwner.Raw, UnlimitedMessagingApi.AccountReconnectEmailResponseOwner>;
|
|
8
|
+
export declare namespace AccountReconnectEmailResponseOwner {
|
|
9
|
+
type Raw = "USER" | "SYSTEM";
|
|
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.AccountReconnectEmailResponseOwner = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountReconnectEmailResponseOwner = core.serialization.enum_(["USER", "SYSTEM"]);
|
|
@@ -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 UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountReconnectEmailResponseStatus: core.serialization.Schema<serializers.AccountReconnectEmailResponseStatus.Raw, UnlimitedMessagingApi.AccountReconnectEmailResponseStatus>;
|
|
8
|
+
export declare namespace AccountReconnectEmailResponseStatus {
|
|
9
|
+
type Raw = "PENDING" | "ACTIVE" | "INACTIVE" | "LINKING" | "BLOCKED" | "DUPLICATE";
|
|
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.AccountReconnectEmailResponseStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountReconnectEmailResponseStatus = core.serialization.enum_(["PENDING", "ACTIVE", "INACTIVE", "LINKING", "BLOCKED", "DUPLICATE"]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AccountTestEmailRequestImapSecurity } from "./AccountTestEmailRequestImapSecurity";
|
|
8
|
+
export declare const AccountTestEmailRequestImap: core.serialization.ObjectSchema<serializers.AccountTestEmailRequestImap.Raw, UnlimitedMessagingApi.AccountTestEmailRequestImap>;
|
|
9
|
+
export declare namespace AccountTestEmailRequestImap {
|
|
10
|
+
interface Raw {
|
|
11
|
+
host: string;
|
|
12
|
+
port: number;
|
|
13
|
+
security: AccountTestEmailRequestImapSecurity.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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.AccountTestEmailRequestImap = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AccountTestEmailRequestImapSecurity_1 = require("./AccountTestEmailRequestImapSecurity");
|
|
42
|
+
exports.AccountTestEmailRequestImap = core.serialization.object({
|
|
43
|
+
host: core.serialization.string(),
|
|
44
|
+
port: core.serialization.number(),
|
|
45
|
+
security: AccountTestEmailRequestImapSecurity_1.AccountTestEmailRequestImapSecurity,
|
|
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 UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountTestEmailRequestImapSecurity: core.serialization.Schema<serializers.AccountTestEmailRequestImapSecurity.Raw, UnlimitedMessagingApi.AccountTestEmailRequestImapSecurity>;
|
|
8
|
+
export declare namespace AccountTestEmailRequestImapSecurity {
|
|
9
|
+
type Raw = "tls" | "starttls";
|
|
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.AccountTestEmailRequestImapSecurity = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountTestEmailRequestImapSecurity = core.serialization.enum_(["tls", "starttls"]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AccountTestEmailRequestSmtpSecurity } from "./AccountTestEmailRequestSmtpSecurity";
|
|
8
|
+
export declare const AccountTestEmailRequestSmtp: core.serialization.ObjectSchema<serializers.AccountTestEmailRequestSmtp.Raw, UnlimitedMessagingApi.AccountTestEmailRequestSmtp>;
|
|
9
|
+
export declare namespace AccountTestEmailRequestSmtp {
|
|
10
|
+
interface Raw {
|
|
11
|
+
host: string;
|
|
12
|
+
port: number;
|
|
13
|
+
security: AccountTestEmailRequestSmtpSecurity.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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.AccountTestEmailRequestSmtp = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AccountTestEmailRequestSmtpSecurity_1 = require("./AccountTestEmailRequestSmtpSecurity");
|
|
42
|
+
exports.AccountTestEmailRequestSmtp = core.serialization.object({
|
|
43
|
+
host: core.serialization.string(),
|
|
44
|
+
port: core.serialization.number(),
|
|
45
|
+
security: AccountTestEmailRequestSmtpSecurity_1.AccountTestEmailRequestSmtpSecurity,
|
|
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 UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountTestEmailRequestSmtpSecurity: core.serialization.Schema<serializers.AccountTestEmailRequestSmtpSecurity.Raw, UnlimitedMessagingApi.AccountTestEmailRequestSmtpSecurity>;
|
|
8
|
+
export declare namespace AccountTestEmailRequestSmtpSecurity {
|
|
9
|
+
type Raw = "tls" | "starttls";
|
|
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.AccountTestEmailRequestSmtpSecurity = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountTestEmailRequestSmtpSecurity = core.serialization.enum_(["tls", "starttls"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AccountTestEmailResponse: core.serialization.ObjectSchema<serializers.AccountTestEmailResponse.Raw, UnlimitedMessagingApi.AccountTestEmailResponse>;
|
|
8
|
+
export declare namespace AccountTestEmailResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
ok: boolean;
|
|
11
|
+
sentFolder: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.AccountTestEmailResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AccountTestEmailResponse = core.serialization.object({
|
|
42
|
+
ok: core.serialization.boolean(),
|
|
43
|
+
sentFolder: core.serialization.string().nullable(),
|
|
44
|
+
});
|
|
@@ -4,6 +4,32 @@ export * from "./AccountListAccountsResponseItemStatus";
|
|
|
4
4
|
export * from "./AccountListAccountsResponseItem";
|
|
5
5
|
export * from "./AccountLinkAccountRequestMode";
|
|
6
6
|
export * from "./AccountLinkAccountResponse";
|
|
7
|
+
export * from "./AccountEmailAutoconfigResponseImapSecurity";
|
|
8
|
+
export * from "./AccountEmailAutoconfigResponseImap";
|
|
9
|
+
export * from "./AccountEmailAutoconfigResponseSmtpSecurity";
|
|
10
|
+
export * from "./AccountEmailAutoconfigResponseSmtp";
|
|
11
|
+
export * from "./AccountEmailAutoconfigResponse";
|
|
12
|
+
export * from "./AccountTestEmailRequestImapSecurity";
|
|
13
|
+
export * from "./AccountTestEmailRequestImap";
|
|
14
|
+
export * from "./AccountTestEmailRequestSmtpSecurity";
|
|
15
|
+
export * from "./AccountTestEmailRequestSmtp";
|
|
16
|
+
export * from "./AccountTestEmailResponse";
|
|
17
|
+
export * from "./AccountConnectEmailRequestImapSecurity";
|
|
18
|
+
export * from "./AccountConnectEmailRequestImap";
|
|
19
|
+
export * from "./AccountConnectEmailRequestSmtpSecurity";
|
|
20
|
+
export * from "./AccountConnectEmailRequestSmtp";
|
|
21
|
+
export * from "./AccountConnectEmailResponseChannel";
|
|
22
|
+
export * from "./AccountConnectEmailResponseOwner";
|
|
23
|
+
export * from "./AccountConnectEmailResponseStatus";
|
|
24
|
+
export * from "./AccountConnectEmailResponse";
|
|
25
|
+
export * from "./AccountReconnectEmailRequestImapSecurity";
|
|
26
|
+
export * from "./AccountReconnectEmailRequestImap";
|
|
27
|
+
export * from "./AccountReconnectEmailRequestSmtpSecurity";
|
|
28
|
+
export * from "./AccountReconnectEmailRequestSmtp";
|
|
29
|
+
export * from "./AccountReconnectEmailResponseChannel";
|
|
30
|
+
export * from "./AccountReconnectEmailResponseOwner";
|
|
31
|
+
export * from "./AccountReconnectEmailResponseStatus";
|
|
32
|
+
export * from "./AccountReconnectEmailResponse";
|
|
7
33
|
export * from "./AccountGetChallengeResponseChallengeQr";
|
|
8
34
|
export * from "./AccountGetChallengeResponseChallengeCode";
|
|
9
35
|
export * from "./AccountGetChallengeResponseChallengeRedirect";
|
|
@@ -20,6 +20,32 @@ __exportStar(require("./AccountListAccountsResponseItemStatus"), exports);
|
|
|
20
20
|
__exportStar(require("./AccountListAccountsResponseItem"), exports);
|
|
21
21
|
__exportStar(require("./AccountLinkAccountRequestMode"), exports);
|
|
22
22
|
__exportStar(require("./AccountLinkAccountResponse"), exports);
|
|
23
|
+
__exportStar(require("./AccountEmailAutoconfigResponseImapSecurity"), exports);
|
|
24
|
+
__exportStar(require("./AccountEmailAutoconfigResponseImap"), exports);
|
|
25
|
+
__exportStar(require("./AccountEmailAutoconfigResponseSmtpSecurity"), exports);
|
|
26
|
+
__exportStar(require("./AccountEmailAutoconfigResponseSmtp"), exports);
|
|
27
|
+
__exportStar(require("./AccountEmailAutoconfigResponse"), exports);
|
|
28
|
+
__exportStar(require("./AccountTestEmailRequestImapSecurity"), exports);
|
|
29
|
+
__exportStar(require("./AccountTestEmailRequestImap"), exports);
|
|
30
|
+
__exportStar(require("./AccountTestEmailRequestSmtpSecurity"), exports);
|
|
31
|
+
__exportStar(require("./AccountTestEmailRequestSmtp"), exports);
|
|
32
|
+
__exportStar(require("./AccountTestEmailResponse"), exports);
|
|
33
|
+
__exportStar(require("./AccountConnectEmailRequestImapSecurity"), exports);
|
|
34
|
+
__exportStar(require("./AccountConnectEmailRequestImap"), exports);
|
|
35
|
+
__exportStar(require("./AccountConnectEmailRequestSmtpSecurity"), exports);
|
|
36
|
+
__exportStar(require("./AccountConnectEmailRequestSmtp"), exports);
|
|
37
|
+
__exportStar(require("./AccountConnectEmailResponseChannel"), exports);
|
|
38
|
+
__exportStar(require("./AccountConnectEmailResponseOwner"), exports);
|
|
39
|
+
__exportStar(require("./AccountConnectEmailResponseStatus"), exports);
|
|
40
|
+
__exportStar(require("./AccountConnectEmailResponse"), exports);
|
|
41
|
+
__exportStar(require("./AccountReconnectEmailRequestImapSecurity"), exports);
|
|
42
|
+
__exportStar(require("./AccountReconnectEmailRequestImap"), exports);
|
|
43
|
+
__exportStar(require("./AccountReconnectEmailRequestSmtpSecurity"), exports);
|
|
44
|
+
__exportStar(require("./AccountReconnectEmailRequestSmtp"), exports);
|
|
45
|
+
__exportStar(require("./AccountReconnectEmailResponseChannel"), exports);
|
|
46
|
+
__exportStar(require("./AccountReconnectEmailResponseOwner"), exports);
|
|
47
|
+
__exportStar(require("./AccountReconnectEmailResponseStatus"), exports);
|
|
48
|
+
__exportStar(require("./AccountReconnectEmailResponse"), exports);
|
|
23
49
|
__exportStar(require("./AccountGetChallengeResponseChallengeQr"), exports);
|
|
24
50
|
__exportStar(require("./AccountGetChallengeResponseChallengeCode"), exports);
|
|
25
51
|
__exportStar(require("./AccountGetChallengeResponseChallengeRedirect"), exports);
|