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.
Files changed (41) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +85 -0
  9. package/lib/client.js +234 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/email-address.d.ts +31 -0
  12. package/lib/model/email-address.js +31 -0
  13. package/lib/model/email-address.js.map +1 -0
  14. package/lib/model/email-submitted-response.d.ts +38 -0
  15. package/lib/model/email-submitted-response.js +63 -0
  16. package/lib/model/email-submitted-response.js.map +1 -0
  17. package/lib/model/index.d.ts +24 -0
  18. package/lib/model/index.js +47 -0
  19. package/lib/model/index.js.map +1 -0
  20. package/lib/model/recipients.d.ts +38 -0
  21. package/lib/model/recipients.js +83 -0
  22. package/lib/model/recipients.js.map +1 -0
  23. package/lib/model/sender.d.ts +29 -0
  24. package/lib/model/sender.js +59 -0
  25. package/lib/model/sender.js.map +1 -0
  26. package/lib/model/submit-email-details.d.ts +60 -0
  27. package/lib/model/submit-email-details.js +69 -0
  28. package/lib/model/submit-email-details.js.map +1 -0
  29. package/lib/request/index.d.ts +16 -0
  30. package/lib/request/index.js +17 -0
  31. package/lib/request/index.js.map +1 -0
  32. package/lib/request/submit-email-request.d.ts +27 -0
  33. package/lib/request/submit-email-request.js +15 -0
  34. package/lib/request/submit-email-request.js.map +1 -0
  35. package/lib/response/index.d.ts +16 -0
  36. package/lib/response/index.js +17 -0
  37. package/lib/response/index.js.map +1 -0
  38. package/lib/response/submit-email-response.d.ts +25 -0
  39. package/lib/response/submit-email-response.js +15 -0
  40. package/lib/response/submit-email-response.js.map +1 -0
  41. package/package.json +29 -0
@@ -0,0 +1,83 @@
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.Recipients = void 0;
37
+ const model = __importStar(require("../model"));
38
+ var Recipients;
39
+ (function (Recipients) {
40
+ function getJsonObj(obj) {
41
+ const jsonObj = Object.assign(Object.assign({}, obj), {
42
+ "to": obj.to
43
+ ? obj.to.map(item => {
44
+ return model.EmailAddress.getJsonObj(item);
45
+ })
46
+ : undefined,
47
+ "cc": obj.cc
48
+ ? obj.cc.map(item => {
49
+ return model.EmailAddress.getJsonObj(item);
50
+ })
51
+ : undefined,
52
+ "bcc": obj.bcc
53
+ ? obj.bcc.map(item => {
54
+ return model.EmailAddress.getJsonObj(item);
55
+ })
56
+ : undefined
57
+ });
58
+ return jsonObj;
59
+ }
60
+ Recipients.getJsonObj = getJsonObj;
61
+ function getDeserializedJsonObj(obj) {
62
+ const jsonObj = Object.assign(Object.assign({}, obj), {
63
+ "to": obj.to
64
+ ? obj.to.map(item => {
65
+ return model.EmailAddress.getDeserializedJsonObj(item);
66
+ })
67
+ : undefined,
68
+ "cc": obj.cc
69
+ ? obj.cc.map(item => {
70
+ return model.EmailAddress.getDeserializedJsonObj(item);
71
+ })
72
+ : undefined,
73
+ "bcc": obj.bcc
74
+ ? obj.bcc.map(item => {
75
+ return model.EmailAddress.getDeserializedJsonObj(item);
76
+ })
77
+ : undefined
78
+ });
79
+ return jsonObj;
80
+ }
81
+ Recipients.getDeserializedJsonObj = getDeserializedJsonObj;
82
+ })(Recipients = exports.Recipients || (exports.Recipients = {}));
83
+ //# sourceMappingURL=recipients.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/recipients.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,UAAU,CAiD1B;AAjDD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,IAAI,EAAE,GAAG,CAAC,EAAE;gBACV,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,IAAI,EAAE,GAAG,CAAC,EAAE;gBACV,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,KAAK,EAAE,GAAG,CAAC,GAAG;gBACZ,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjB,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;IAvBe,qBAAU,aAuBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,IAAI,EAAE,GAAG,CAAC,EAAE;gBACV,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,IAAI,EAAE,GAAG,CAAC,EAAE;gBACV,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,KAAK,EAAE,GAAG,CAAC,GAAG;gBACZ,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjB,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;IAvBe,iCAAsB,yBAuBrC,CAAA;AACH,CAAC,EAjDgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAiD1B"}
@@ -0,0 +1,29 @@
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 envelope and the header from email address details, that is sending the email. Email address must be an approved sender.
18
+ */
19
+ export interface Sender {
20
+ "senderAddress": model.EmailAddress;
21
+ /**
22
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the approved sender resource.
23
+ */
24
+ "compartmentId": string;
25
+ }
26
+ export declare namespace Sender {
27
+ function getJsonObj(obj: Sender): object;
28
+ function getDeserializedJsonObj(obj: Sender): object;
29
+ }
@@ -0,0 +1,59 @@
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.Sender = void 0;
37
+ const model = __importStar(require("../model"));
38
+ var Sender;
39
+ (function (Sender) {
40
+ function getJsonObj(obj) {
41
+ const jsonObj = Object.assign(Object.assign({}, obj), {
42
+ "senderAddress": obj.senderAddress
43
+ ? model.EmailAddress.getJsonObj(obj.senderAddress)
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ Sender.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "senderAddress": obj.senderAddress
52
+ ? model.EmailAddress.getDeserializedJsonObj(obj.senderAddress)
53
+ : undefined
54
+ });
55
+ return jsonObj;
56
+ }
57
+ Sender.getDeserializedJsonObj = getDeserializedJsonObj;
58
+ })(Sender = exports.Sender || (exports.Sender = {}));
59
+ //# sourceMappingURL=sender.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sender.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/sender.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,MAAM,CAyBtB;AAzBD,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBAClD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC9D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,6BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAyBtB"}
@@ -0,0 +1,60 @@
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
+ * Details that are required by the sender to submit a request to send email.
18
+ */
19
+ export interface SubmitEmailDetails {
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](https://www.rfc-editor.org/rfc/rfc5322) Message-ID. This will be generated if not provided.
22
+ * Example: sdiofu234qwermls24fd@mail.example.com
23
+ *
24
+ */
25
+ "messageId"?: string;
26
+ "sender": model.Sender;
27
+ "recipients": model.Recipients;
28
+ /**
29
+ * A short summary of the content, which will appear in the recipient's inbox. UTF-8 supported [RFC 2047](https://www.rfc-editor.org/rfc/rfc2047).
30
+ */
31
+ "subject": string;
32
+ /**
33
+ * HTML body content in UTF-8.
34
+ * NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided.
35
+ *
36
+ */
37
+ "bodyHtml"?: string;
38
+ /**
39
+ * Text body content.
40
+ * NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided.
41
+ *
42
+ */
43
+ "bodyText"?: string;
44
+ /**
45
+ * The email address for the recipient to reply to. If left blank, defaults to the sender address.
46
+ */
47
+ "replyTo"?: Array<model.EmailAddress>;
48
+ /**
49
+ * The header used by the customer for the email sent. Reserved headers are not allowed e.g \"subject\", \"from\", and \"to\" etc.
50
+ * Example: {@code {\"bar-key\": \"value\"}}
51
+ *
52
+ */
53
+ "headerFields"?: {
54
+ [key: string]: string;
55
+ };
56
+ }
57
+ export declare namespace SubmitEmailDetails {
58
+ function getJsonObj(obj: SubmitEmailDetails): object;
59
+ function getDeserializedJsonObj(obj: SubmitEmailDetails): object;
60
+ }
@@ -0,0 +1,69 @@
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 = void 0;
37
+ const model = __importStar(require("../model"));
38
+ var SubmitEmailDetails;
39
+ (function (SubmitEmailDetails) {
40
+ function getJsonObj(obj) {
41
+ const jsonObj = Object.assign(Object.assign({}, obj), {
42
+ "sender": obj.sender ? model.Sender.getJsonObj(obj.sender) : undefined,
43
+ "recipients": obj.recipients ? model.Recipients.getJsonObj(obj.recipients) : undefined,
44
+ "replyTo": obj.replyTo
45
+ ? obj.replyTo.map(item => {
46
+ return model.EmailAddress.getJsonObj(item);
47
+ })
48
+ : undefined
49
+ });
50
+ return jsonObj;
51
+ }
52
+ SubmitEmailDetails.getJsonObj = getJsonObj;
53
+ function getDeserializedJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {
55
+ "sender": obj.sender ? model.Sender.getDeserializedJsonObj(obj.sender) : undefined,
56
+ "recipients": obj.recipients
57
+ ? model.Recipients.getDeserializedJsonObj(obj.recipients)
58
+ : undefined,
59
+ "replyTo": obj.replyTo
60
+ ? obj.replyTo.map(item => {
61
+ return model.EmailAddress.getDeserializedJsonObj(item);
62
+ })
63
+ : undefined
64
+ });
65
+ return jsonObj;
66
+ }
67
+ SubmitEmailDetails.getDeserializedJsonObj = getDeserializedJsonObj;
68
+ })(SubmitEmailDetails = exports.SubmitEmailDetails || (exports.SubmitEmailDetails = {}));
69
+ //# sourceMappingURL=submit-email-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submit-email-details.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/model/submit-email-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ClC,IAAiB,kBAAkB,CAqClC;AArCD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YACtE,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;YAEtF,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,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;IAhBe,6BAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAClF,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzD,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,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;IAlBe,yCAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAqClC"}
@@ -0,0 +1,16 @@
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 SubmitEmailRequest from "./submit-email-request";
16
+ export import SubmitEmailRequest = SubmitEmailRequest.SubmitEmailRequest;
@@ -0,0 +1,17 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20220926
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @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 SubmitEmailRequest.
17
+ */
18
+ export interface SubmitEmailRequest extends common.BaseRequest {
19
+ /**
20
+ * Parameters for submitEmail API.
21
+ */
22
+ "submitEmailDetails": model.SubmitEmailDetails;
23
+ /**
24
+ * The request ID for tracing from the system
25
+ */
26
+ "opcRequestId"?: string;
27
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20220926
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=submit-email-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submit-email-request.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/request/submit-email-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,16 @@
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 SubmitEmailResponse from "./submit-email-response";
16
+ export import SubmitEmailResponse = SubmitEmailResponse.SubmitEmailResponse;
@@ -0,0 +1,17 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/response/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20220926
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ export interface SubmitEmailResponse {
15
+ /**
16
+ * Unique Oracle-assigned identifier for the request. If you need to contact
17
+ * Oracle about a particular request, please provide the request ID.
18
+ *
19
+ */
20
+ "opcRequestId": string;
21
+ /**
22
+ * The returned model.EmailSubmittedResponse instance.
23
+ */
24
+ "emailSubmittedResponse": model.EmailSubmittedResponse;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20220926
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
12
+ * 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.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=submit-email-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submit-email-response.js","sourceRoot":"","sources":["../../../../../lib/emaildataplane/lib/response/submit-email-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "oci-emaildataplane",
3
+ "version": "2.84.0",
4
+ "description": "OCI NodeJS client for Email Data Plane Service",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/oracle/oci-typescript-sdk"
8
+ },
9
+ "main": "./index.js",
10
+ "typings": "./index",
11
+ "scripts": {},
12
+ "author": {
13
+ "name": "Oracle Cloud Infrastructure",
14
+ "email": ""
15
+ },
16
+ "license": "(UPL-1.0 OR Apache-2.0)",
17
+ "dependencies": {
18
+ "oci-common": "2.84.0",
19
+ "oci-workrequests": "2.84.0"
20
+ },
21
+ "publishConfig": {
22
+ "registry": "https://registry.npmjs.org"
23
+ },
24
+ "contributors": [
25
+ "Jyoti Saini <jyoti.s.saini@oracle.com>",
26
+ "Joe Levy <joe.levy@oracle.com>",
27
+ "Walt Tran <walt.tran@oracle.com>"
28
+ ]
29
+ }