@d19n/youfibre-odin-sdk 1.0.309 → 1.0.312
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.
|
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
|
|
|
23
23
|
* Use these constants instead of string literals for type safety
|
|
24
24
|
*/
|
|
25
25
|
export declare enum ConfigPropertyKeys {
|
|
26
|
-
/**
|
|
27
|
-
|
|
26
|
+
/** Data field for Config records. Used by Platform team. */
|
|
27
|
+
Test = "Test",
|
|
28
28
|
/** object of { key: value } mappings (Platform - Config) */
|
|
29
29
|
Mappings = "Mappings",
|
|
30
|
-
/**
|
|
31
|
-
|
|
30
|
+
/** the name of the app this config relates to (Platform - Config) */
|
|
31
|
+
AppName = "AppName"
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Properties for Config records
|
|
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
|
|
|
36
36
|
* @see SchemaModule:Config
|
|
37
37
|
*/
|
|
38
38
|
export interface ConfigProperties {
|
|
39
|
-
/**
|
|
39
|
+
/** Data field for Config records. Used by Platform team.
|
|
40
40
|
*
|
|
41
41
|
* @type {TEXT}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
Test: string;
|
|
44
44
|
/** object of { key: value } mappings (Platform - Config)
|
|
45
45
|
*
|
|
46
46
|
* @type {JSON}
|
|
47
47
|
*/
|
|
48
48
|
Mappings: string;
|
|
49
|
-
/**
|
|
49
|
+
/** the name of the app this config relates to (Platform - Config)
|
|
50
50
|
*
|
|
51
51
|
* @type {TEXT}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
AppName: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Config entity from SchemaModule
|
|
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
|
|
|
28
28
|
*/
|
|
29
29
|
var ConfigPropertyKeys;
|
|
30
30
|
(function (ConfigPropertyKeys) {
|
|
31
|
-
/** the name of the app this config relates to (Platform - Config) */
|
|
32
|
-
ConfigPropertyKeys["AppName"] = "AppName";
|
|
33
|
-
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
-
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
31
|
/** Data field for Config records. Used by Platform team. */
|
|
36
32
|
ConfigPropertyKeys["Test"] = "Test";
|
|
33
|
+
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
+
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
|
+
/** the name of the app this config relates to (Platform - Config) */
|
|
36
|
+
ConfigPropertyKeys["AppName"] = "AppName";
|
|
37
37
|
})(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
|
|
38
38
|
/**
|
|
39
39
|
* Config entity from SchemaModule
|
|
@@ -41,6 +41,23 @@ export declare enum EmailSenderType {
|
|
|
41
41
|
AUTOMATED = "AUTOMATED",
|
|
42
42
|
CUSTOMER = "CUSTOMER"
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Valid values for Email.Status
|
|
46
|
+
*
|
|
47
|
+
* Status of the email in the process
|
|
48
|
+
*
|
|
49
|
+
* @remarks Available options:
|
|
50
|
+
* - `CREATED` - Created
|
|
51
|
+
* - `FAILED` - Failed
|
|
52
|
+
* - `SENDING` - Sending
|
|
53
|
+
* - `SUCCESS` - Success
|
|
54
|
+
*/
|
|
55
|
+
export declare enum EmailStatus {
|
|
56
|
+
CREATED = "CREATED",
|
|
57
|
+
FAILED = "FAILED",
|
|
58
|
+
SENDING = "SENDING",
|
|
59
|
+
SUCCESS = "SUCCESS"
|
|
60
|
+
}
|
|
44
61
|
/**
|
|
45
62
|
* Property keys for Email
|
|
46
63
|
* Use these constants instead of string literals for type safety
|
|
@@ -79,7 +96,9 @@ export declare enum EmailPropertyKeys {
|
|
|
79
96
|
/** Sender Type (Communications - Email) */
|
|
80
97
|
SenderType = "SenderType",
|
|
81
98
|
/** Data field for Email records. Used by Communications team. */
|
|
82
|
-
Case = "Case"
|
|
99
|
+
Case = "Case",
|
|
100
|
+
/** Status of the email in the process */
|
|
101
|
+
Status = "Status"
|
|
83
102
|
}
|
|
84
103
|
/**
|
|
85
104
|
* Properties for Email records
|
|
@@ -174,6 +193,13 @@ export interface EmailProperties {
|
|
|
174
193
|
* @type {LOOKUP}
|
|
175
194
|
*/
|
|
176
195
|
Case: string;
|
|
196
|
+
/** Status of the email in the process
|
|
197
|
+
*
|
|
198
|
+
* @type {ENUM}
|
|
199
|
+
* @default CREATED
|
|
200
|
+
* @enum {EmailStatus}
|
|
201
|
+
*/
|
|
202
|
+
Status: EmailStatus;
|
|
177
203
|
}
|
|
178
204
|
/**
|
|
179
205
|
* Properties for SUPPORT Email records
|
|
@@ -268,6 +294,13 @@ export interface SupportEmailProperties {
|
|
|
268
294
|
* @type {LOOKUP}
|
|
269
295
|
*/
|
|
270
296
|
Case: string;
|
|
297
|
+
/** Status of the email in the process
|
|
298
|
+
*
|
|
299
|
+
* @type {ENUM}
|
|
300
|
+
* @default CREATED
|
|
301
|
+
* @enum {EmailStatus}
|
|
302
|
+
*/
|
|
303
|
+
Status: EmailStatus;
|
|
271
304
|
}
|
|
272
305
|
/**
|
|
273
306
|
* Properties for TRANSACTIONAL Email records
|
|
@@ -362,6 +395,13 @@ export interface TransactionalEmailProperties {
|
|
|
362
395
|
* @type {LOOKUP}
|
|
363
396
|
*/
|
|
364
397
|
Case: string;
|
|
398
|
+
/** Status of the email in the process
|
|
399
|
+
*
|
|
400
|
+
* @type {ENUM}
|
|
401
|
+
* @default CREATED
|
|
402
|
+
* @enum {EmailStatus}
|
|
403
|
+
*/
|
|
404
|
+
Status: EmailStatus;
|
|
365
405
|
}
|
|
366
406
|
/**
|
|
367
407
|
* Email entity from NotificationModule
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_EMAIL_CONTACT_DELETED = exports.ROUTING_KEY_LINK_EMAIL_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ATTACHMENTS_DELETED = exports.ROUTING_KEY_LINK_ATTACHMENTS_CREATED = exports.ROUTING_KEY_LINK_EMAIL_EMAIL_DELETED = exports.ROUTING_KEY_LINK_EMAIL_EMAIL_CREATED = exports.ROUTING_KEY_LINK_EMAIL_USER_DELETED = exports.ROUTING_KEY_LINK_EMAIL_USER_CREATED = exports.ROUTING_KEY_EMAIL_DELETED = exports.ROUTING_KEY_EMAIL_UPDATED = exports.ROUTING_KEY_EMAIL_CREATED = exports.Email = exports.EmailPropertyKeys = exports.EmailSenderType = exports.EmailEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_EMAIL_CONTACT_DELETED = exports.ROUTING_KEY_LINK_EMAIL_CONTACT_CREATED = exports.ROUTING_KEY_LINK_ATTACHMENTS_DELETED = exports.ROUTING_KEY_LINK_ATTACHMENTS_CREATED = exports.ROUTING_KEY_LINK_EMAIL_EMAIL_DELETED = exports.ROUTING_KEY_LINK_EMAIL_EMAIL_CREATED = exports.ROUTING_KEY_LINK_EMAIL_USER_DELETED = exports.ROUTING_KEY_LINK_EMAIL_USER_CREATED = exports.ROUTING_KEY_EMAIL_DELETED = exports.ROUTING_KEY_EMAIL_UPDATED = exports.ROUTING_KEY_EMAIL_CREATED = exports.Email = exports.EmailPropertyKeys = exports.EmailStatus = exports.EmailSenderType = exports.EmailEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Email records
|
|
@@ -42,6 +42,24 @@ var EmailSenderType;
|
|
|
42
42
|
EmailSenderType["AUTOMATED"] = "AUTOMATED";
|
|
43
43
|
EmailSenderType["CUSTOMER"] = "CUSTOMER";
|
|
44
44
|
})(EmailSenderType = exports.EmailSenderType || (exports.EmailSenderType = {}));
|
|
45
|
+
/**
|
|
46
|
+
* Valid values for Email.Status
|
|
47
|
+
*
|
|
48
|
+
* Status of the email in the process
|
|
49
|
+
*
|
|
50
|
+
* @remarks Available options:
|
|
51
|
+
* - `CREATED` - Created
|
|
52
|
+
* - `FAILED` - Failed
|
|
53
|
+
* - `SENDING` - Sending
|
|
54
|
+
* - `SUCCESS` - Success
|
|
55
|
+
*/
|
|
56
|
+
var EmailStatus;
|
|
57
|
+
(function (EmailStatus) {
|
|
58
|
+
EmailStatus["CREATED"] = "CREATED";
|
|
59
|
+
EmailStatus["FAILED"] = "FAILED";
|
|
60
|
+
EmailStatus["SENDING"] = "SENDING";
|
|
61
|
+
EmailStatus["SUCCESS"] = "SUCCESS";
|
|
62
|
+
})(EmailStatus = exports.EmailStatus || (exports.EmailStatus = {}));
|
|
45
63
|
/**
|
|
46
64
|
* Property keys for Email
|
|
47
65
|
* Use these constants instead of string literals for type safety
|
|
@@ -82,6 +100,8 @@ var EmailPropertyKeys;
|
|
|
82
100
|
EmailPropertyKeys["SenderType"] = "SenderType";
|
|
83
101
|
/** Data field for Email records. Used by Communications team. */
|
|
84
102
|
EmailPropertyKeys["Case"] = "Case";
|
|
103
|
+
/** Status of the email in the process */
|
|
104
|
+
EmailPropertyKeys["Status"] = "Status";
|
|
85
105
|
})(EmailPropertyKeys = exports.EmailPropertyKeys || (exports.EmailPropertyKeys = {}));
|
|
86
106
|
/**
|
|
87
107
|
* Email entity from NotificationModule
|