oci-email 2.116.2 → 2.117.1

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 (81) hide show
  1. package/lib/client.d.ts +54 -0
  2. package/lib/client.js +414 -8
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/add-lock-details.d.ts +50 -0
  5. package/lib/model/add-lock-details.js +39 -0
  6. package/lib/model/add-lock-details.js.map +1 -0
  7. package/lib/model/email-domain-summary.d.ts +5 -0
  8. package/lib/model/email-domain-summary.js +34 -2
  9. package/lib/model/email-domain-summary.js.map +1 -1
  10. package/lib/model/email-domain.d.ts +4 -0
  11. package/lib/model/email-domain.js +34 -2
  12. package/lib/model/email-domain.js.map +1 -1
  13. package/lib/model/email-return-path-summary.d.ts +5 -0
  14. package/lib/model/email-return-path-summary.js +34 -2
  15. package/lib/model/email-return-path-summary.js.map +1 -1
  16. package/lib/model/email-return-path.d.ts +5 -0
  17. package/lib/model/email-return-path.js +34 -2
  18. package/lib/model/email-return-path.js.map +1 -1
  19. package/lib/model/index.d.ts +6 -0
  20. package/lib/model/index.js +7 -1
  21. package/lib/model/index.js.map +1 -1
  22. package/lib/model/remove-lock-details.d.ts +39 -0
  23. package/lib/model/remove-lock-details.js +39 -0
  24. package/lib/model/remove-lock-details.js.map +1 -0
  25. package/lib/model/resource-lock.d.ts +61 -0
  26. package/lib/model/resource-lock.js +44 -0
  27. package/lib/model/resource-lock.js.map +1 -0
  28. package/lib/model/sender-summary.d.ts +5 -0
  29. package/lib/model/sender-summary.js +34 -2
  30. package/lib/model/sender-summary.js.map +1 -1
  31. package/lib/model/sender.d.ts +5 -0
  32. package/lib/model/sender.js +34 -2
  33. package/lib/model/sender.js.map +1 -1
  34. package/lib/request/add-email-domain-lock-request.d.ts +38 -0
  35. package/lib/request/add-email-domain-lock-request.js +15 -0
  36. package/lib/request/add-email-domain-lock-request.js.map +1 -0
  37. package/lib/request/add-return-path-lock-request.d.ts +38 -0
  38. package/lib/request/add-return-path-lock-request.js +15 -0
  39. package/lib/request/add-return-path-lock-request.js.map +1 -0
  40. package/lib/request/add-sender-lock-request.d.ts +38 -0
  41. package/lib/request/add-sender-lock-request.js +15 -0
  42. package/lib/request/add-sender-lock-request.js.map +1 -0
  43. package/lib/request/change-email-domain-compartment-request.d.ts +4 -0
  44. package/lib/request/change-sender-compartment-request.d.ts +4 -0
  45. package/lib/request/delete-email-domain-request.d.ts +4 -0
  46. package/lib/request/delete-email-return-path-request.d.ts +4 -0
  47. package/lib/request/delete-sender-request.d.ts +4 -0
  48. package/lib/request/index.d.ts +12 -0
  49. package/lib/request/index.js.map +1 -1
  50. package/lib/request/remove-email-domain-lock-request.d.ts +38 -0
  51. package/lib/request/remove-email-domain-lock-request.js +15 -0
  52. package/lib/request/remove-email-domain-lock-request.js.map +1 -0
  53. package/lib/request/remove-return-path-lock-request.d.ts +38 -0
  54. package/lib/request/remove-return-path-lock-request.js +15 -0
  55. package/lib/request/remove-return-path-lock-request.js.map +1 -0
  56. package/lib/request/remove-sender-lock-request.d.ts +38 -0
  57. package/lib/request/remove-sender-lock-request.js +15 -0
  58. package/lib/request/remove-sender-lock-request.js.map +1 -0
  59. package/lib/request/update-email-domain-request.d.ts +4 -0
  60. package/lib/request/update-email-return-path-request.d.ts +4 -0
  61. package/lib/request/update-sender-request.d.ts +4 -0
  62. package/lib/response/add-email-domain-lock-response.d.ts +30 -0
  63. package/lib/response/add-email-domain-lock-response.js +15 -0
  64. package/lib/response/add-email-domain-lock-response.js.map +1 -0
  65. package/lib/response/add-return-path-lock-response.d.ts +30 -0
  66. package/lib/response/add-return-path-lock-response.js +15 -0
  67. package/lib/response/add-return-path-lock-response.js.map +1 -0
  68. package/lib/response/add-sender-lock-response.d.ts +30 -0
  69. package/lib/response/add-sender-lock-response.js +15 -0
  70. package/lib/response/add-sender-lock-response.js.map +1 -0
  71. package/lib/response/index.d.ts +12 -0
  72. package/lib/response/remove-email-domain-lock-response.d.ts +30 -0
  73. package/lib/response/remove-email-domain-lock-response.js +15 -0
  74. package/lib/response/remove-email-domain-lock-response.js.map +1 -0
  75. package/lib/response/remove-return-path-lock-response.d.ts +30 -0
  76. package/lib/response/remove-return-path-lock-response.js +15 -0
  77. package/lib/response/remove-return-path-lock-response.js.map +1 -0
  78. package/lib/response/remove-sender-lock-response.d.ts +30 -0
  79. package/lib/response/remove-sender-lock-response.js +15 -0
  80. package/lib/response/remove-sender-lock-response.js.map +1 -0
  81. package/package.json +3 -3
@@ -15,6 +15,7 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
15
15
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
16
16
  * 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.
17
17
  */
18
+ import * as model from "../model";
18
19
  /**
19
20
  * The properties that define a Email Return Path
20
21
  *
@@ -117,6 +118,10 @@ export interface EmailReturnPath {
117
118
  [key: string]: any;
118
119
  };
119
120
  };
121
+ /**
122
+ * Locks associated with this resource.
123
+ */
124
+ "locks"?: Array<model.ResourceLock>;
120
125
  }
121
126
  export declare namespace EmailReturnPath {
122
127
  enum LifecycleState {
@@ -16,8 +16,28 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
16
16
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
17
  * 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.
18
18
  */
19
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
20
+ if (k2 === undefined) k2 = k;
21
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
19
38
  Object.defineProperty(exports, "__esModule", { value: true });
20
39
  exports.EmailReturnPath = void 0;
40
+ const model = __importStar(require("../model"));
21
41
  var EmailReturnPath;
22
42
  (function (EmailReturnPath) {
23
43
  let LifecycleState;
@@ -36,12 +56,24 @@ var EmailReturnPath;
36
56
  LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
37
57
  })(LifecycleState = EmailReturnPath.LifecycleState || (EmailReturnPath.LifecycleState = {}));
38
58
  function getJsonObj(obj) {
39
- const jsonObj = Object.assign(Object.assign({}, obj), {});
59
+ const jsonObj = Object.assign(Object.assign({}, obj), {
60
+ "locks": obj.locks
61
+ ? obj.locks.map(item => {
62
+ return model.ResourceLock.getJsonObj(item);
63
+ })
64
+ : undefined
65
+ });
40
66
  return jsonObj;
41
67
  }
42
68
  EmailReturnPath.getJsonObj = getJsonObj;
43
69
  function getDeserializedJsonObj(obj) {
44
- const jsonObj = Object.assign(Object.assign({}, obj), {});
70
+ const jsonObj = Object.assign(Object.assign({}, obj), {
71
+ "locks": obj.locks
72
+ ? obj.locks.map(item => {
73
+ return model.ResourceLock.getDeserializedJsonObj(item);
74
+ })
75
+ : undefined
76
+ });
45
77
  return jsonObj;
46
78
  }
47
79
  EmailReturnPath.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"email-return-path.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/email-return-path.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAmGH,IAAiB,eAAe,CA0B/B;AA1BD,WAAiB,eAAe;IAC9B,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,8BAAc,KAAd,8BAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EA1BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0B/B"}
1
+ {"version":3,"file":"email-return-path.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/email-return-path.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqGlC,IAAiB,eAAe,CA4C/B;AA5CD,WAAiB,eAAe;IAC9B,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,8BAAc,KAAd,8BAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA5CgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA4C/B"}
@@ -17,6 +17,8 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
17
17
  */
18
18
  import * as ActionType from "./action-type";
19
19
  export import ActionType = ActionType.ActionType;
20
+ import * as AddLockDetails from "./add-lock-details";
21
+ export import AddLockDetails = AddLockDetails.AddLockDetails;
20
22
  import * as ChangeEmailDomainCompartmentDetails from "./change-email-domain-compartment-details";
21
23
  export import ChangeEmailDomainCompartmentDetails = ChangeEmailDomainCompartmentDetails.ChangeEmailDomainCompartmentDetails;
22
24
  import * as ChangeSenderCompartmentDetails from "./change-sender-compartment-details";
@@ -57,6 +59,10 @@ import * as OperationStatus from "./operation-status";
57
59
  export import OperationStatus = OperationStatus.OperationStatus;
58
60
  import * as OperationType from "./operation-type";
59
61
  export import OperationType = OperationType.OperationType;
62
+ import * as RemoveLockDetails from "./remove-lock-details";
63
+ export import RemoveLockDetails = RemoveLockDetails.RemoveLockDetails;
64
+ import * as ResourceLock from "./resource-lock";
65
+ export import ResourceLock = ResourceLock.ResourceLock;
60
66
  import * as Sender from "./sender";
61
67
  export import Sender = Sender.Sender;
62
68
  import * as SenderSummary from "./sender-summary";
@@ -36,9 +36,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
36
36
  return result;
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdateSenderDetails = exports.UpdateEmailReturnPathDetails = exports.UpdateEmailDomainDetails = exports.UpdateDkimDetails = exports.SuppressionSummary = exports.SuppressionReason = exports.Suppression = exports.SortOrder = exports.SenderSummary = exports.Sender = exports.OperationType = exports.OperationStatus = exports.EmailReturnPathSummary = exports.EmailReturnPathCollection = exports.EmailReturnPath = exports.EmailDomainSummary = exports.EmailDomainCollection = exports.EmailDomain = exports.DomainVerificationStatusType = exports.DkimSummary = exports.DkimCollection = exports.Dkim = exports.CreateSuppressionDetails = exports.CreateSenderDetails = exports.CreateEmailReturnPathDetails = exports.CreateEmailDomainDetails = exports.CreateDkimDetails = exports.Configuration = exports.ChangeSenderCompartmentDetails = exports.ChangeEmailDomainCompartmentDetails = exports.ActionType = void 0;
39
+ exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdateSenderDetails = exports.UpdateEmailReturnPathDetails = exports.UpdateEmailDomainDetails = exports.UpdateDkimDetails = exports.SuppressionSummary = exports.SuppressionReason = exports.Suppression = exports.SortOrder = exports.SenderSummary = exports.Sender = exports.ResourceLock = exports.RemoveLockDetails = exports.OperationType = exports.OperationStatus = exports.EmailReturnPathSummary = exports.EmailReturnPathCollection = exports.EmailReturnPath = exports.EmailDomainSummary = exports.EmailDomainCollection = exports.EmailDomain = exports.DomainVerificationStatusType = exports.DkimSummary = exports.DkimCollection = exports.Dkim = exports.CreateSuppressionDetails = exports.CreateSenderDetails = exports.CreateEmailReturnPathDetails = exports.CreateEmailDomainDetails = exports.CreateDkimDetails = exports.Configuration = exports.ChangeSenderCompartmentDetails = exports.ChangeEmailDomainCompartmentDetails = exports.AddLockDetails = exports.ActionType = void 0;
40
40
  const ActionType = __importStar(require("./action-type"));
41
41
  exports.ActionType = ActionType.ActionType;
42
+ const AddLockDetails = __importStar(require("./add-lock-details"));
43
+ exports.AddLockDetails = AddLockDetails.AddLockDetails;
42
44
  const ChangeEmailDomainCompartmentDetails = __importStar(require("./change-email-domain-compartment-details"));
43
45
  exports.ChangeEmailDomainCompartmentDetails = ChangeEmailDomainCompartmentDetails.ChangeEmailDomainCompartmentDetails;
44
46
  const ChangeSenderCompartmentDetails = __importStar(require("./change-sender-compartment-details"));
@@ -79,6 +81,10 @@ const OperationStatus = __importStar(require("./operation-status"));
79
81
  exports.OperationStatus = OperationStatus.OperationStatus;
80
82
  const OperationType = __importStar(require("./operation-type"));
81
83
  exports.OperationType = OperationType.OperationType;
84
+ const RemoveLockDetails = __importStar(require("./remove-lock-details"));
85
+ exports.RemoveLockDetails = RemoveLockDetails.RemoveLockDetails;
86
+ const ResourceLock = __importStar(require("./resource-lock"));
87
+ exports.ResourceLock = ResourceLock.ResourceLock;
82
88
  const Sender = __importStar(require("./sender"));
83
89
  exports.Sender = Sender.Sender;
84
90
  const SenderSummary = __importStar(require("./sender-summary"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAC9B,QAAA,UAAU,G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;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,8EAAgE;AAClD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Email Delivery API
3
+ * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.
4
+ For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm).
5
+
6
+ **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
7
+ If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
8
+
9
+ * OpenAPI spec version: 20170907
10
+ * Contact: email-dev_us_grp@oracle.com
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
16
+ * 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.
17
+ */
18
+ /**
19
+ * Request payload to remove the resource lock.
20
+ *
21
+ */
22
+ export interface RemoveLockDetails {
23
+ /**
24
+ * Lock type.
25
+ */
26
+ "type": RemoveLockDetails.Type;
27
+ /**
28
+ * The lock compartment ID.
29
+ */
30
+ "compartmentId"?: string;
31
+ }
32
+ export declare namespace RemoveLockDetails {
33
+ enum Type {
34
+ Full = "FULL",
35
+ Delete = "DELETE"
36
+ }
37
+ function getJsonObj(obj: RemoveLockDetails): object;
38
+ function getDeserializedJsonObj(obj: RemoveLockDetails): object;
39
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Email Delivery API
4
+ * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.
5
+ For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm).
6
+
7
+ **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
8
+ If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
9
+
10
+ * OpenAPI spec version: 20170907
11
+ * Contact: email-dev_us_grp@oracle.com
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * 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.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.RemoveLockDetails = void 0;
21
+ var RemoveLockDetails;
22
+ (function (RemoveLockDetails) {
23
+ let Type;
24
+ (function (Type) {
25
+ Type["Full"] = "FULL";
26
+ Type["Delete"] = "DELETE";
27
+ })(Type = RemoveLockDetails.Type || (RemoveLockDetails.Type = {}));
28
+ function getJsonObj(obj) {
29
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
30
+ return jsonObj;
31
+ }
32
+ RemoveLockDetails.getJsonObj = getJsonObj;
33
+ function getDeserializedJsonObj(obj) {
34
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
35
+ return jsonObj;
36
+ }
37
+ RemoveLockDetails.getDeserializedJsonObj = getDeserializedJsonObj;
38
+ })(RemoveLockDetails = exports.RemoveLockDetails || (exports.RemoveLockDetails = {}));
39
+ //# sourceMappingURL=remove-lock-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-lock-details.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/remove-lock-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAoBH,IAAiB,iBAAiB,CAgBjC;AAhBD,WAAiB,iBAAiB;IAChC,IAAY,IAGX;IAHD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;IACnB,CAAC,EAHW,IAAI,GAAJ,sBAAI,KAAJ,sBAAI,QAGf;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAhBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAgBjC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Email Delivery API
3
+ * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.
4
+ For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm).
5
+
6
+ **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
7
+ If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
8
+
9
+ * OpenAPI spec version: 20170907
10
+ * Contact: email-dev_us_grp@oracle.com
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
16
+ * 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.
17
+ */
18
+ /**
19
+ * Resource locks prevent certain APIs from being called for the resource.
20
+ * A full lock prevents both updating and deleting the resource. A delete lock
21
+ * prevents deleting the resource.
22
+ *
23
+ */
24
+ export interface ResourceLock {
25
+ /**
26
+ * Lock type.
27
+ */
28
+ "type": ResourceLock.Type;
29
+ /**
30
+ * The lock compartment ID.
31
+ */
32
+ "compartmentId": string;
33
+ /**
34
+ * The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.
35
+ *
36
+ */
37
+ "relatedResourceId"?: string;
38
+ /**
39
+ * A message added by the lock creator. The message typically gives an
40
+ * indication of why the resource is locked.
41
+ *
42
+ */
43
+ "message"?: string;
44
+ /**
45
+ * Indicates when the lock was created, in the format defined by RFC 3339.
46
+ */
47
+ "timeCreated"?: Date;
48
+ }
49
+ export declare namespace ResourceLock {
50
+ enum Type {
51
+ Full = "FULL",
52
+ Delete = "DELETE",
53
+ /**
54
+ * This value is used if a service returns a value for this enum that is not recognized by this
55
+ * version of the SDK.
56
+ */
57
+ UnknownValue = "UNKNOWN_VALUE"
58
+ }
59
+ function getJsonObj(obj: ResourceLock): object;
60
+ function getDeserializedJsonObj(obj: ResourceLock): object;
61
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * Email Delivery API
4
+ * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.
5
+ For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm).
6
+
7
+ **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
8
+ If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
9
+
10
+ * OpenAPI spec version: 20170907
11
+ * Contact: email-dev_us_grp@oracle.com
12
+ *
13
+ * NOTE: This class is auto generated by OracleSDKGenerator.
14
+ * Do not edit the class manually.
15
+ *
16
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
+ * 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.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.ResourceLock = void 0;
21
+ var ResourceLock;
22
+ (function (ResourceLock) {
23
+ let Type;
24
+ (function (Type) {
25
+ Type["Full"] = "FULL";
26
+ Type["Delete"] = "DELETE";
27
+ /**
28
+ * This value is used if a service returns a value for this enum that is not recognized by this
29
+ * version of the SDK.
30
+ */
31
+ Type["UnknownValue"] = "UNKNOWN_VALUE";
32
+ })(Type = ResourceLock.Type || (ResourceLock.Type = {}));
33
+ function getJsonObj(obj) {
34
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
35
+ return jsonObj;
36
+ }
37
+ ResourceLock.getJsonObj = getJsonObj;
38
+ function getDeserializedJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
40
+ return jsonObj;
41
+ }
42
+ ResourceLock.getDeserializedJsonObj = getDeserializedJsonObj;
43
+ })(ResourceLock = exports.ResourceLock || (exports.ResourceLock = {}));
44
+ //# sourceMappingURL=resource-lock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-lock.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/resource-lock.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAqCH,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,IAAY,IAQX;IARD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;QACjB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EARW,IAAI,GAAJ,iBAAI,KAAJ,iBAAI,QAQf;IAED,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,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}
@@ -15,6 +15,7 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
15
15
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
16
16
  * 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.
17
17
  */
18
+ import * as model from "../model";
18
19
  /**
19
20
  * The email addresses and {@code senderId} representing an approved sender.
20
21
  */
@@ -73,6 +74,10 @@ export interface SenderSummary {
73
74
  [key: string]: any;
74
75
  };
75
76
  };
77
+ /**
78
+ * Locks associated with this resource.
79
+ */
80
+ "locks"?: Array<model.ResourceLock>;
76
81
  }
77
82
  export declare namespace SenderSummary {
78
83
  function getJsonObj(obj: SenderSummary): object;
@@ -16,17 +16,49 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
16
16
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
17
  * 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.
18
18
  */
19
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
20
+ if (k2 === undefined) k2 = k;
21
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
19
38
  Object.defineProperty(exports, "__esModule", { value: true });
20
39
  exports.SenderSummary = void 0;
40
+ const model = __importStar(require("../model"));
21
41
  var SenderSummary;
22
42
  (function (SenderSummary) {
23
43
  function getJsonObj(obj) {
24
- const jsonObj = Object.assign(Object.assign({}, obj), {});
44
+ const jsonObj = Object.assign(Object.assign({}, obj), {
45
+ "locks": obj.locks
46
+ ? obj.locks.map(item => {
47
+ return model.ResourceLock.getJsonObj(item);
48
+ })
49
+ : undefined
50
+ });
25
51
  return jsonObj;
26
52
  }
27
53
  SenderSummary.getJsonObj = getJsonObj;
28
54
  function getDeserializedJsonObj(obj) {
29
- const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "locks": obj.locks
57
+ ? obj.locks.map(item => {
58
+ return model.ResourceLock.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
30
62
  return jsonObj;
31
63
  }
32
64
  SenderSummary.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"sender-summary.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/sender-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAuDH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
1
+ {"version":3,"file":"sender-summary.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/sender-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyDlC,IAAiB,aAAa,CA6B7B;AA7BD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,wBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,oCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA6B7B"}
@@ -15,6 +15,7 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
15
15
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
16
16
  * 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.
17
17
  */
18
+ import * as model from "../model";
18
19
  /**
19
20
  * The full information representing an approved sender.
20
21
  */
@@ -84,6 +85,10 @@ export interface Sender {
84
85
  [key: string]: any;
85
86
  };
86
87
  };
88
+ /**
89
+ * Locks associated with this resource.
90
+ */
91
+ "locks"?: Array<model.ResourceLock>;
87
92
  }
88
93
  export declare namespace Sender {
89
94
  enum LifecycleState {
@@ -16,8 +16,28 @@ For more information, see [Overview of the Email Delivery Service](https://docs.
16
16
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
17
17
  * 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.
18
18
  */
19
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
20
+ if (k2 === undefined) k2 = k;
21
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
19
38
  Object.defineProperty(exports, "__esModule", { value: true });
20
39
  exports.Sender = void 0;
40
+ const model = __importStar(require("../model"));
21
41
  var Sender;
22
42
  (function (Sender) {
23
43
  let LifecycleState;
@@ -36,12 +56,24 @@ var Sender;
36
56
  LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
37
57
  })(LifecycleState = Sender.LifecycleState || (Sender.LifecycleState = {}));
38
58
  function getJsonObj(obj) {
39
- const jsonObj = Object.assign(Object.assign({}, obj), {});
59
+ const jsonObj = Object.assign(Object.assign({}, obj), {
60
+ "locks": obj.locks
61
+ ? obj.locks.map(item => {
62
+ return model.ResourceLock.getJsonObj(item);
63
+ })
64
+ : undefined
65
+ });
40
66
  return jsonObj;
41
67
  }
42
68
  Sender.getJsonObj = getJsonObj;
43
69
  function getDeserializedJsonObj(obj) {
44
- const jsonObj = Object.assign(Object.assign({}, obj), {});
70
+ const jsonObj = Object.assign(Object.assign({}, obj), {
71
+ "locks": obj.locks
72
+ ? obj.locks.map(item => {
73
+ return model.ResourceLock.getDeserializedJsonObj(item);
74
+ })
75
+ : undefined
76
+ });
45
77
  return jsonObj;
46
78
  }
47
79
  Sender.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"sender.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/sender.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAkEH,IAAiB,MAAM,CA0BtB;AA1BD,WAAiB,MAAM;IACrB,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,qBAAc,KAAd,qBAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAsB,yBAIrC,CAAA;AACH,CAAC,EA1BgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA0BtB"}
1
+ {"version":3,"file":"sender.js","sourceRoot":"","sources":["../../../../../lib/email/lib/model/sender.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoElC,IAAiB,MAAM,CA4CtB;AA5CD,WAAiB,MAAM;IACrB,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,qBAAc,KAAd,qBAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,iBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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,6BAAsB,yBAarC,CAAA;AACH,CAAC,EA5CgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA4CtB"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20170907
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailDomainLock.ts.html |here} to see how to use AddEmailDomainLockRequest.
17
+ */
18
+ export interface AddEmailDomainLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain.
21
+ */
22
+ "emailDomainId": string;
23
+ /**
24
+ * Details for adding a lock to a resource.
25
+ */
26
+ "addLockDetails": model.AddLockDetails;
27
+ /**
28
+ * The request ID for tracing from the system
29
+ */
30
+ "opcRequestId"?: string;
31
+ /**
32
+ * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match}
33
+ * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
34
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
35
+ *
36
+ */
37
+ "ifMatch"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20170907
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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=add-email-domain-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-email-domain-lock-request.js","sourceRoot":"","sources":["../../../../../lib/email/lib/request/add-email-domain-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20170907
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddReturnPathLock.ts.html |here} to see how to use AddReturnPathLockRequest.
17
+ */
18
+ export interface AddReturnPathLockRequest extends common.BaseRequest {
19
+ /**
20
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email return path.
21
+ */
22
+ "emailReturnPathId": string;
23
+ /**
24
+ * Details for adding a lock to a resource.
25
+ */
26
+ "addLockDetails": model.AddLockDetails;
27
+ /**
28
+ * The request ID for tracing from the system
29
+ */
30
+ "opcRequestId"?: string;
31
+ /**
32
+ * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match}
33
+ * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
34
+ * will be updated or deleted only if the etag you provide matches the resource's current etag value.
35
+ *
36
+ */
37
+ "ifMatch"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20170907
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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=add-return-path-lock-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-return-path-lock-request.js","sourceRoot":"","sources":["../../../../../lib/email/lib/request/add-return-path-lock-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}