oci-emaildataplane 2.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +85 -0
- package/lib/client.js +234 -0
- package/lib/client.js.map +1 -0
- package/lib/model/email-address.d.ts +31 -0
- package/lib/model/email-address.js +31 -0
- package/lib/model/email-address.js.map +1 -0
- package/lib/model/email-submitted-response.d.ts +38 -0
- package/lib/model/email-submitted-response.js +63 -0
- package/lib/model/email-submitted-response.js.map +1 -0
- package/lib/model/index.d.ts +24 -0
- package/lib/model/index.js +47 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/recipients.d.ts +38 -0
- package/lib/model/recipients.js +83 -0
- package/lib/model/recipients.js.map +1 -0
- package/lib/model/sender.d.ts +29 -0
- package/lib/model/sender.js +59 -0
- package/lib/model/sender.js.map +1 -0
- package/lib/model/submit-email-details.d.ts +60 -0
- package/lib/model/submit-email-details.js +69 -0
- package/lib/model/submit-email-details.js.map +1 -0
- package/lib/request/index.d.ts +16 -0
- package/lib/request/index.js +17 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/submit-email-request.d.ts +27 -0
- package/lib/request/submit-email-request.js +15 -0
- package/lib/request/submit-email-request.js.map +1 -0
- package/lib/response/index.d.ts +16 -0
- package/lib/response/index.js +17 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/submit-email-response.d.ts +25 -0
- package/lib/response/submit-email-response.js +15 -0
- package/lib/response/submit-email-response.js.map +1 -0
- package/package.json +29 -0
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email Delivery Submission API
|
|
3
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
4
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220926
|
|
7
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import common = require("oci-common");
|
|
16
|
+
import * as requests from "./request";
|
|
17
|
+
import * as responses from "./response";
|
|
18
|
+
declare const Breaker: any;
|
|
19
|
+
export declare enum EmailDPApiKeys {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
23
|
+
*/
|
|
24
|
+
export declare class EmailDPClient {
|
|
25
|
+
protected static serviceEndpointTemplate: string;
|
|
26
|
+
protected static endpointServiceName: string;
|
|
27
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
28
|
+
protected "_endpoint": string;
|
|
29
|
+
protected "_defaultHeaders": any;
|
|
30
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
31
|
+
protected _circuitBreaker: typeof Breaker | null;
|
|
32
|
+
protected _httpOptions: any;
|
|
33
|
+
protected _bodyDuplexMode: any;
|
|
34
|
+
targetService: string;
|
|
35
|
+
protected _regionId: string;
|
|
36
|
+
protected "_region": common.Region;
|
|
37
|
+
protected _lastSetRegionOrRegionId: string;
|
|
38
|
+
protected _httpClient: common.HttpClient;
|
|
39
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
40
|
+
/**
|
|
41
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
42
|
+
*/
|
|
43
|
+
get endpoint(): string;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
46
|
+
* @param endpoint The endpoint of the service.
|
|
47
|
+
*/
|
|
48
|
+
set endpoint(endpoint: string);
|
|
49
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
50
|
+
/**
|
|
51
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
52
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
53
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
54
|
+
*/
|
|
55
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
56
|
+
/**
|
|
57
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
58
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
59
|
+
* @param region The region of the service.
|
|
60
|
+
*/
|
|
61
|
+
set region(region: common.Region);
|
|
62
|
+
/**
|
|
63
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
64
|
+
*
|
|
65
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
66
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
67
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
68
|
+
* @param regionId The public region ID.
|
|
69
|
+
*/
|
|
70
|
+
set regionId(regionId: string);
|
|
71
|
+
/**
|
|
72
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
73
|
+
*/
|
|
74
|
+
shutdownCircuitBreaker(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Submits a formatted email.
|
|
77
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
78
|
+
* @param SubmitEmailRequest
|
|
79
|
+
* @return SubmitEmailResponse
|
|
80
|
+
* @throws OciError when an error occurs
|
|
81
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/emaildataplane/SubmitEmail.ts.html |here} to see how to use SubmitEmail API.
|
|
82
|
+
*/
|
|
83
|
+
submitEmail(submitEmailRequest: requests.SubmitEmailRequest): Promise<responses.SubmitEmailResponse>;
|
|
84
|
+
}
|
|
85
|
+
export {};
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Email Delivery Submission API
|
|
4
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
5
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220926
|
|
8
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
exports.EmailDPClient = exports.EmailDPApiKeys = void 0;
|
|
46
|
+
const common = require("oci-common");
|
|
47
|
+
const model = __importStar(require("./model"));
|
|
48
|
+
const oci_common_1 = require("oci-common");
|
|
49
|
+
const Breaker = require("opossum");
|
|
50
|
+
// ===============================================
|
|
51
|
+
// This file is autogenerated - Please do not edit
|
|
52
|
+
// ===============================================
|
|
53
|
+
var EmailDPApiKeys;
|
|
54
|
+
(function (EmailDPApiKeys) {
|
|
55
|
+
})(EmailDPApiKeys = exports.EmailDPApiKeys || (exports.EmailDPApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
58
|
+
*/
|
|
59
|
+
class EmailDPClient {
|
|
60
|
+
constructor(params, clientConfiguration) {
|
|
61
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
62
|
+
this["_endpoint"] = "";
|
|
63
|
+
this["_defaultHeaders"] = {};
|
|
64
|
+
this._circuitBreaker = null;
|
|
65
|
+
this._httpOptions = undefined;
|
|
66
|
+
this._bodyDuplexMode = undefined;
|
|
67
|
+
this.targetService = "EmailDP";
|
|
68
|
+
this._regionId = "";
|
|
69
|
+
this._lastSetRegionOrRegionId = "";
|
|
70
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
71
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
72
|
+
: null;
|
|
73
|
+
if (clientConfiguration) {
|
|
74
|
+
this._clientConfiguration = clientConfiguration;
|
|
75
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
76
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
77
|
+
: null;
|
|
78
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
79
|
+
? clientConfiguration.httpOptions
|
|
80
|
+
: undefined;
|
|
81
|
+
this._bodyDuplexMode = clientConfiguration.bodyDuplexMode
|
|
82
|
+
? clientConfiguration.bodyDuplexMode
|
|
83
|
+
: undefined;
|
|
84
|
+
}
|
|
85
|
+
if (!oci_common_1.developerToolConfiguration.isServiceEnabled("emaildataplane")) {
|
|
86
|
+
let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
|
|
87
|
+
throw errmsg.concat("emaildataplane");
|
|
88
|
+
}
|
|
89
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
90
|
+
const specCircuitBreakerEnabled = true;
|
|
91
|
+
if (!this._circuitBreaker &&
|
|
92
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
93
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
94
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
95
|
+
}
|
|
96
|
+
this._httpClient =
|
|
97
|
+
params.httpClient ||
|
|
98
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
|
|
99
|
+
if (params.authenticationDetailsProvider &&
|
|
100
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
101
|
+
const provider = params.authenticationDetailsProvider;
|
|
102
|
+
if (provider.getRegion()) {
|
|
103
|
+
this.region = provider.getRegion();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
109
|
+
*/
|
|
110
|
+
get endpoint() {
|
|
111
|
+
return this._endpoint;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
115
|
+
* @param endpoint The endpoint of the service.
|
|
116
|
+
*/
|
|
117
|
+
set endpoint(endpoint) {
|
|
118
|
+
this._endpoint = endpoint;
|
|
119
|
+
this._endpoint = this._endpoint + "/20220926";
|
|
120
|
+
if (this.logger)
|
|
121
|
+
this.logger.info(`EmailDPClient endpoint set to ${this._endpoint}`);
|
|
122
|
+
}
|
|
123
|
+
get logger() {
|
|
124
|
+
return common.LOG.logger;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
128
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
129
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
130
|
+
*/
|
|
131
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
132
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
133
|
+
if (this.logger)
|
|
134
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
135
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
136
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(EmailDPClient.serviceEndpointTemplate, this._region, EmailDPClient.endpointServiceName);
|
|
137
|
+
}
|
|
138
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
139
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(EmailDPClient.serviceEndpointTemplate, this._regionId, EmailDPClient.endpointServiceName);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
144
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
145
|
+
* @param region The region of the service.
|
|
146
|
+
*/
|
|
147
|
+
set region(region) {
|
|
148
|
+
this._region = region;
|
|
149
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(EmailDPClient.serviceEndpointTemplate, region, EmailDPClient.endpointServiceName);
|
|
150
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
154
|
+
*
|
|
155
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
156
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
157
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
158
|
+
* @param regionId The public region ID.
|
|
159
|
+
*/
|
|
160
|
+
set regionId(regionId) {
|
|
161
|
+
this._regionId = regionId;
|
|
162
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(EmailDPClient.serviceEndpointTemplate, regionId, EmailDPClient.endpointServiceName);
|
|
163
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
167
|
+
*/
|
|
168
|
+
shutdownCircuitBreaker() {
|
|
169
|
+
if (this._circuitBreaker) {
|
|
170
|
+
this._circuitBreaker.shutdown();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Submits a formatted email.
|
|
175
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
176
|
+
* @param SubmitEmailRequest
|
|
177
|
+
* @return SubmitEmailResponse
|
|
178
|
+
* @throws OciError when an error occurs
|
|
179
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/emaildataplane/SubmitEmail.ts.html |here} to see how to use SubmitEmail API.
|
|
180
|
+
*/
|
|
181
|
+
submitEmail(submitEmailRequest) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
if (this.logger)
|
|
184
|
+
this.logger.debug("Calling operation EmailDPClient#submitEmail.");
|
|
185
|
+
const operationName = "submitEmail";
|
|
186
|
+
const apiReferenceLink = "";
|
|
187
|
+
const pathParams = {};
|
|
188
|
+
const queryParams = {};
|
|
189
|
+
let headerParams = {
|
|
190
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
191
|
+
"opc-request-id": submitEmailRequest.opcRequestId
|
|
192
|
+
};
|
|
193
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
194
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, submitEmailRequest.retryConfiguration, specRetryConfiguration);
|
|
195
|
+
if (this.logger)
|
|
196
|
+
retrier.logger = this.logger;
|
|
197
|
+
const request = yield oci_common_1.composeRequest({
|
|
198
|
+
baseEndpoint: this._endpoint,
|
|
199
|
+
defaultHeaders: this._defaultHeaders,
|
|
200
|
+
path: "/actions/submitEmail",
|
|
201
|
+
method: "POST",
|
|
202
|
+
bodyContent: common.ObjectSerializer.serialize(submitEmailRequest.submitEmailDetails, "SubmitEmailDetails", model.SubmitEmailDetails.getJsonObj),
|
|
203
|
+
pathParams: pathParams,
|
|
204
|
+
headerParams: headerParams,
|
|
205
|
+
queryParams: queryParams
|
|
206
|
+
});
|
|
207
|
+
try {
|
|
208
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
209
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
210
|
+
responseObject: {},
|
|
211
|
+
body: yield response.json(),
|
|
212
|
+
bodyKey: "emailSubmittedResponse",
|
|
213
|
+
bodyModel: model.EmailSubmittedResponse,
|
|
214
|
+
type: "model.EmailSubmittedResponse",
|
|
215
|
+
responseHeaders: [
|
|
216
|
+
{
|
|
217
|
+
value: response.headers.get("opc-request-id"),
|
|
218
|
+
key: "opcRequestId",
|
|
219
|
+
dataType: "string"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
});
|
|
223
|
+
return sdkResponse;
|
|
224
|
+
}
|
|
225
|
+
catch (err) {
|
|
226
|
+
throw err;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
exports.EmailDPClient = EmailDPClient;
|
|
232
|
+
EmailDPClient.serviceEndpointTemplate = "https://cell0.submit.email.{region}.oci.{secondLevelDomain}";
|
|
233
|
+
EmailDPClient.endpointServiceName = "";
|
|
234
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/emaildataplane/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAKoB;AACp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CAAC,gBAAgB,CAAC,SAAS,CAC5C,kBAAkB,CAAC,kBAAkB,EACrC,oBAAoB,EACpB,KAAK,CAAC,kBAAkB,CAAC,UAAU,CACpC;gBACD,UAAU,EAAE,UAAU;gBACtB,YAAY,EAAE,YAAY;gBAC1B,WAAW,EAAE,WAAW;aACzB,CAAC,CAAC;YACH,IAAI;gBACF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,eAAe,CAC5C,IAAI,CAAC,WAAW,EAChB,OAAO,EACP,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,gBAAgB,CACjB,CAAC;gBACF,MAAM,WAAW,GAAG,4BAAe,CAAC;oBAClC,cAAc,EAAiC,EAAE;oBACjD,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE;oBAC3B,OAAO,EAAE,wBAAwB;oBACjC,SAAS,EAAE,KAAK,CAAC,sBAAsB;oBACvC,IAAI,EAAE,8BAA8B;oBACpC,eAAe,EAAE;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AAtOH,sCAuOC;AAtOkB,qCAAuB,GACtC,6DAA6D,CAAC;AAC/C,iCAAmB,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email Delivery Submission API
|
|
3
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
4
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220926
|
|
7
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Email address Object that holds display name and email address.
|
|
17
|
+
*/
|
|
18
|
+
export interface EmailAddress {
|
|
19
|
+
/**
|
|
20
|
+
* ASCII only email address.
|
|
21
|
+
*/
|
|
22
|
+
"email": string;
|
|
23
|
+
/**
|
|
24
|
+
* Display name for the email address. UTF-8 is supported for display name [RFC 2047](https://www.rfc-editor.org/rfc/rfc2047).
|
|
25
|
+
*/
|
|
26
|
+
"name"?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace EmailAddress {
|
|
29
|
+
function getJsonObj(obj: EmailAddress): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: EmailAddress): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Email Delivery Submission API
|
|
4
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
5
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220926
|
|
8
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.EmailAddress = void 0;
|
|
18
|
+
var EmailAddress;
|
|
19
|
+
(function (EmailAddress) {
|
|
20
|
+
function getJsonObj(obj) {
|
|
21
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
22
|
+
return jsonObj;
|
|
23
|
+
}
|
|
24
|
+
EmailAddress.getJsonObj = getJsonObj;
|
|
25
|
+
function getDeserializedJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
EmailAddress.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
30
|
+
})(EmailAddress = exports.EmailAddress || (exports.EmailAddress = {}));
|
|
31
|
+
//# sourceMappingURL=email-address.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-address.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/email-address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAmBH,IAAiB,YAAY,CAW5B;AAXD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAW5B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email Delivery Submission API
|
|
3
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
4
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220926
|
|
7
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* Response object that is returned to sender upon successfully submitting the email request.
|
|
18
|
+
*/
|
|
19
|
+
export interface EmailSubmittedResponse {
|
|
20
|
+
/**
|
|
21
|
+
* The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided.
|
|
22
|
+
* Example: sdiofu234qwermls24fd@mail.example.com
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"messageId": string;
|
|
26
|
+
/**
|
|
27
|
+
* Email Delivery generated unique Envelope ID of the email submission. If you need to contact Email Delivery about a particular request, please provide the Envelope ID.
|
|
28
|
+
*/
|
|
29
|
+
"envelopeId": string;
|
|
30
|
+
/**
|
|
31
|
+
* Return list of suppressed email addresses.
|
|
32
|
+
*/
|
|
33
|
+
"suppressedRecipients": Array<model.EmailAddress>;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace EmailSubmittedResponse {
|
|
36
|
+
function getJsonObj(obj: EmailSubmittedResponse): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: EmailSubmittedResponse): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Email Delivery Submission API
|
|
4
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
5
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220926
|
|
8
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.EmailSubmittedResponse = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var EmailSubmittedResponse;
|
|
39
|
+
(function (EmailSubmittedResponse) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
"suppressedRecipients": obj.suppressedRecipients
|
|
43
|
+
? obj.suppressedRecipients.map(item => {
|
|
44
|
+
return model.EmailAddress.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
EmailSubmittedResponse.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"suppressedRecipients": obj.suppressedRecipients
|
|
54
|
+
? obj.suppressedRecipients.map(item => {
|
|
55
|
+
return model.EmailAddress.getDeserializedJsonObj(item);
|
|
56
|
+
})
|
|
57
|
+
: undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
EmailSubmittedResponse.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(EmailSubmittedResponse = exports.EmailSubmittedResponse || (exports.EmailSubmittedResponse = {}));
|
|
63
|
+
//# sourceMappingURL=email-submitted-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-submitted-response.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/email-submitted-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,sBAAsB,CA6BtC;AA7BD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6BtC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email Delivery Submission API
|
|
3
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
4
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220926
|
|
7
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as EmailAddress from "./email-address";
|
|
16
|
+
export import EmailAddress = EmailAddress.EmailAddress;
|
|
17
|
+
import * as EmailSubmittedResponse from "./email-submitted-response";
|
|
18
|
+
export import EmailSubmittedResponse = EmailSubmittedResponse.EmailSubmittedResponse;
|
|
19
|
+
import * as Recipients from "./recipients";
|
|
20
|
+
export import Recipients = Recipients.Recipients;
|
|
21
|
+
import * as Sender from "./sender";
|
|
22
|
+
export import Sender = Sender.Sender;
|
|
23
|
+
import * as SubmitEmailDetails from "./submit-email-details";
|
|
24
|
+
export import SubmitEmailDetails = SubmitEmailDetails.SubmitEmailDetails;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Email Delivery Submission API
|
|
4
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
5
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220926
|
|
8
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.SubmitEmailDetails = exports.Sender = exports.Recipients = exports.EmailSubmittedResponse = exports.EmailAddress = void 0;
|
|
37
|
+
const EmailAddress = __importStar(require("./email-address"));
|
|
38
|
+
exports.EmailAddress = EmailAddress.EmailAddress;
|
|
39
|
+
const EmailSubmittedResponse = __importStar(require("./email-submitted-response"));
|
|
40
|
+
exports.EmailSubmittedResponse = EmailSubmittedResponse.EmailSubmittedResponse;
|
|
41
|
+
const Recipients = __importStar(require("./recipients"));
|
|
42
|
+
exports.Recipients = Recipients.Recipients;
|
|
43
|
+
const Sender = __importStar(require("./sender"));
|
|
44
|
+
exports.Sender = Sender.Sender;
|
|
45
|
+
const SubmitEmailDetails = __importStar(require("./submit-email-details"));
|
|
46
|
+
exports.SubmitEmailDetails = SubmitEmailDetails.SubmitEmailDetails;
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,yDAA2C;AAC7B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email Delivery Submission API
|
|
3
|
+
* Use the Email Delivery API to send high-volume and application-generated emails.
|
|
4
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20220926
|
|
7
|
+
* Contact: email-dev_us_grp@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* The destination for the email, composed of To, CC, and BCC fields.
|
|
18
|
+
* NOTE: At least one of To, CC, and BCC must be provided. And max 50 recipients are allowed across the To:, CC: and BCC: fields.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface Recipients {
|
|
22
|
+
/**
|
|
23
|
+
* Array of To address.
|
|
24
|
+
*/
|
|
25
|
+
"to"?: Array<model.EmailAddress>;
|
|
26
|
+
/**
|
|
27
|
+
* Array of CC address.
|
|
28
|
+
*/
|
|
29
|
+
"cc"?: Array<model.EmailAddress>;
|
|
30
|
+
/**
|
|
31
|
+
* Array of BCC address. Bcc headers can only be viewed by non bcc recipients.
|
|
32
|
+
*/
|
|
33
|
+
"bcc"?: Array<model.EmailAddress>;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace Recipients {
|
|
36
|
+
function getJsonObj(obj: Recipients): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: Recipients): object;
|
|
38
|
+
}
|