@d19n/youfibre-odin-sdk 2.0.10-beta.4 → 2.0.10-beta.6
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/README.md +1 -1
- package/dist/actions-v2/CreateCashbackRewardRefereeFailedEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateCashbackRewardRefereePendingEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateCashbackRewardRefereeSuccessEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateCashbackRewardReferrerFailedEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateCashbackRewardReferrerPendingEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateCashbackRewardReferrerSuccessEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralRefereeCancelledEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralRefereeNotQualifiedEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralRefereePendingEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralRefereeQualifiedEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralReferrerCancelledEmailDto.d.ts +8 -1
- package/dist/actions-v2/CreateOrderReferralReferrerNotQualifiedEmailDto.d.ts +8 -1
- package/dist/actions-v2/{SendOrderReferralRefereePendingEmailDto.d.ts → CreateOrderReferralReferrerPendingEmailDto.d.ts} +53 -46
- package/dist/actions-v2/CreateOrderReferralReferrerPendingEmailDto.js +59 -0
- package/dist/actions-v2/CreateOrderReferralReferrerQualifiedEmailDto.d.ts +8 -1
- package/dist/actions-v2/UpdatePaymentMethodDto.d.ts +1 -1
- package/dist/entities-v2/PaymentMethod.d.ts +10 -10
- package/dist/entities-v2/PaymentMethod.js +2 -2
- package/dist/records-v2/EmailRecord.d.ts +15 -15
- package/dist/records-v2/EmailRecord.js +19 -19
- package/package.json +1 -1
- package/dist/actions-v2/SendOrderReferralRefereePendingEmailDto.js +0 -59
package/README.md
CHANGED
|
@@ -1139,9 +1139,9 @@ This SDK includes **574** actions.
|
|
|
1139
1139
|
| `CreateOrderReferralRefereeQualifiedEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralRefereeQualifiedEmail |
|
|
1140
1140
|
| `CreateOrderReferralReferrerCancelledEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerCancelledEmail |
|
|
1141
1141
|
| `CreateOrderReferralReferrerNotQualifiedEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerNotQualifiedEmail |
|
|
1142
|
+
| `CreateOrderReferralReferrerPendingEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail |
|
|
1142
1143
|
| `CreateOrderReferralReferrerQualifiedEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerQualifiedEmail |
|
|
1143
1144
|
| `CreateTransactionalEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateTransactionalEmail |
|
|
1144
|
-
| `SendOrderReferralRefereePendingEmail` | CREATE | k1.t-t-hEOJjsDb.NotificationModule.Email.Create.SendOrderReferralRefereePendingEmail |
|
|
1145
1145
|
| `SendTlosNinjaCaseEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendTlosNinjaCaseEmail |
|
|
1146
1146
|
| `UpdateEmail` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Email.Update.UpdateEmail |
|
|
1147
1147
|
| `UpdateSupportEmail` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Email.Update.UpdateSupportEmail |
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardRefereeFailedEmailMessage extends OdinRecor
|
|
|
23
23
|
* Properties for CreateCashbackRewardRefereeFailedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardRefereeFailedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardRefereeFailedEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
MessageId?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardRefereeFailedEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardRefereePendingEmailMessage extends OdinReco
|
|
|
23
23
|
* Properties for CreateCashbackRewardRefereePendingEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardRefereePendingEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardRefereePendingEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
Subject?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardRefereePendingEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardRefereeSuccessEmailMessage extends OdinReco
|
|
|
23
23
|
* Properties for CreateCashbackRewardRefereeSuccessEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardRefereeSuccessEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardRefereeSuccessEmailProperties {
|
|
|
89
89
|
* @type {DATE_TIME}
|
|
90
90
|
*/
|
|
91
91
|
Date?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardRefereeSuccessEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardReferrerFailedEmailMessage extends OdinReco
|
|
|
23
23
|
* Properties for CreateCashbackRewardReferrerFailedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardReferrerFailedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardReferrerFailedEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
Subject?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardReferrerFailedEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardReferrerPendingEmailMessage extends OdinRec
|
|
|
23
23
|
* Properties for CreateCashbackRewardReferrerPendingEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardReferrerPendingEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardReferrerPendingEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardReferrerPendingEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateCashbackRewardReferrerSuccessEmailMessage extends OdinRec
|
|
|
23
23
|
* Properties for CreateCashbackRewardReferrerSuccessEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateCashbackRewardReferrerSuccessEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateCashbackRewardReferrerSuccessEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateCashbackRewardReferrerSuccessEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralRefereeCancelledEmailMessage extends OdinRec
|
|
|
23
23
|
* Properties for CreateOrderReferralRefereeCancelledEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralRefereeCancelledEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralRefereeCancelledEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
Subject?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralRefereeCancelledEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralRefereeNotQualifiedEmailMessage extends Odin
|
|
|
23
23
|
* Properties for CreateOrderReferralRefereeNotQualifiedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralRefereeNotQualifiedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralRefereeNotQualifiedEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralRefereeNotQualifiedEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralRefereePendingEmailMessage extends OdinRecor
|
|
|
23
23
|
* Properties for CreateOrderReferralRefereePendingEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralRefereePendingEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralRefereePendingEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralRefereePendingEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralRefereeQualifiedEmailMessage extends OdinRec
|
|
|
23
23
|
* Properties for CreateOrderReferralRefereeQualifiedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralRefereeQualifiedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralRefereeQualifiedEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralRefereeQualifiedEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralReferrerCancelledEmailMessage extends OdinRe
|
|
|
23
23
|
* Properties for CreateOrderReferralReferrerCancelledEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralReferrerCancelledEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralReferrerCancelledEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralReferrerCancelledEmail
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralReferrerNotQualifiedEmailMessage extends Odi
|
|
|
23
23
|
* Properties for CreateOrderReferralReferrerNotQualifiedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralReferrerNotQualifiedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralReferrerNotQualifiedEmailProperties {
|
|
|
89
89
|
* @type {DATE_TIME}
|
|
90
90
|
*/
|
|
91
91
|
Date?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralReferrerNotQualifiedEmail
|
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* CreateOrderReferralReferrerPendingEmail Action DTO
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* referral reaches pending validation stage
|
|
5
5
|
*
|
|
6
6
|
* @module NotificationModule
|
|
7
7
|
* @entity Email
|
|
8
8
|
* @entityType REFERRAL
|
|
9
|
-
* @actionKey
|
|
10
|
-
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.
|
|
9
|
+
* @actionKey CreateOrderReferralReferrerPendingEmail
|
|
10
|
+
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail
|
|
11
11
|
*
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
15
|
/**
|
|
16
|
-
* RabbitMQ message payload for
|
|
16
|
+
* RabbitMQ message payload for CreateOrderReferralReferrerPendingEmail created events
|
|
17
17
|
*
|
|
18
|
-
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.
|
|
18
|
+
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface CreateOrderReferralReferrerPendingEmailMessage extends OdinRecordCreatedEvent<CreateOrderReferralReferrerPendingEmailDto, CreateOrderReferralReferrerPendingEmailProperties> {
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Properties for
|
|
23
|
+
* Properties for CreateOrderReferralReferrerPendingEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
|
-
export interface
|
|
28
|
+
export interface CreateOrderReferralReferrerPendingEmailProperties {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* ContactId
|
|
31
31
|
*
|
|
32
|
-
* The
|
|
33
|
-
* @type {
|
|
32
|
+
* The related Contact to send the email
|
|
33
|
+
* @type {LOOKUP}
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
ContactId?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Date
|
|
38
|
+
*
|
|
39
|
+
* Date field for Email records. Used by Communications team.
|
|
40
|
+
* @type {DATE_TIME}
|
|
41
|
+
*/
|
|
42
|
+
Date?: string | null;
|
|
36
43
|
/**
|
|
37
44
|
* DynamicData
|
|
38
45
|
*
|
|
@@ -41,19 +48,19 @@ export interface SendOrderReferralRefereePendingEmailProperties {
|
|
|
41
48
|
*/
|
|
42
49
|
DynamicData?: string | null;
|
|
43
50
|
/**
|
|
44
|
-
*
|
|
51
|
+
* MessageId
|
|
45
52
|
*
|
|
46
|
-
*
|
|
47
|
-
* @type {
|
|
53
|
+
* SMTP Message Id (Communications - Email)
|
|
54
|
+
* @type {TEXT}
|
|
48
55
|
*/
|
|
49
|
-
|
|
56
|
+
MessageId?: string | null;
|
|
50
57
|
/**
|
|
51
|
-
*
|
|
58
|
+
* Referral Id
|
|
52
59
|
*
|
|
53
|
-
*
|
|
54
|
-
* @type {
|
|
60
|
+
* Reference to referral
|
|
61
|
+
* @type {LOOKUP}
|
|
55
62
|
*/
|
|
56
|
-
|
|
63
|
+
ReferralId?: string | null;
|
|
57
64
|
/**
|
|
58
65
|
* Subject
|
|
59
66
|
*
|
|
@@ -62,12 +69,19 @@ export interface SendOrderReferralRefereePendingEmailProperties {
|
|
|
62
69
|
*/
|
|
63
70
|
Subject?: string | null;
|
|
64
71
|
/**
|
|
65
|
-
*
|
|
72
|
+
* TemplateLabel
|
|
66
73
|
*
|
|
67
|
-
*
|
|
74
|
+
* The template label from email templates engine
|
|
68
75
|
* @type {TEXT}
|
|
69
76
|
*/
|
|
70
|
-
|
|
77
|
+
TemplateLabel?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* To
|
|
80
|
+
*
|
|
81
|
+
* Data field for Email records. Used by Communications team.
|
|
82
|
+
* @type {TEXT}
|
|
83
|
+
*/
|
|
84
|
+
To?: string | null;
|
|
71
85
|
/**
|
|
72
86
|
* Email Sender
|
|
73
87
|
*
|
|
@@ -76,53 +90,46 @@ export interface SendOrderReferralRefereePendingEmailProperties {
|
|
|
76
90
|
*/
|
|
77
91
|
EmailSenderId?: string | null;
|
|
78
92
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* Date field for Email records. Used by Communications team.
|
|
82
|
-
* @type {DATE_TIME}
|
|
83
|
-
*/
|
|
84
|
-
Date?: string | null;
|
|
85
|
-
/**
|
|
86
|
-
* Referral Id
|
|
93
|
+
* Title
|
|
87
94
|
*
|
|
88
|
-
*
|
|
89
|
-
* @type {
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
90
97
|
*/
|
|
91
|
-
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
|
-
*
|
|
101
|
+
* CreateOrderReferralReferrerPendingEmail
|
|
95
102
|
*
|
|
96
|
-
*
|
|
103
|
+
* referral reaches pending validation stage
|
|
97
104
|
*
|
|
98
105
|
* @actionType CREATE - Creates a new Email record
|
|
99
106
|
* @module NotificationModule
|
|
100
107
|
* @entity Email
|
|
101
108
|
* @entityType REFERRAL (REFERRAL)
|
|
102
|
-
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.
|
|
103
|
-
* @permission schema.action.
|
|
109
|
+
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail
|
|
110
|
+
* @permission schema.action.createorderreferralreferrerpendingemail.trigger
|
|
104
111
|
* @benchmark This action is tracked for performance benchmarks
|
|
105
112
|
*/
|
|
106
|
-
export declare class
|
|
113
|
+
export declare class CreateOrderReferralReferrerPendingEmailDto extends OdinRecordCreateDto<CreateOrderReferralReferrerPendingEmailProperties> {
|
|
107
114
|
/** Used by SDK generators to identify action type */
|
|
108
115
|
static readonly ACTION_TYPE = "CREATE";
|
|
109
|
-
static readonly ACTION_KEY = "
|
|
116
|
+
static readonly ACTION_KEY = "CreateOrderReferralReferrerPendingEmail";
|
|
110
117
|
static readonly MODULE_NAME = "NotificationModule";
|
|
111
118
|
static readonly ENTITIES: string[];
|
|
112
119
|
static readonly ENTITY_TYPE = "REFERRAL";
|
|
113
|
-
static readonly EVENT_NAME = "k1.t-t-hEOJjsDb.NotificationModule.Email.Create.
|
|
114
|
-
static readonly PERMISSION = "schema.action.
|
|
120
|
+
static readonly EVENT_NAME = "k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail";
|
|
121
|
+
static readonly PERMISSION = "schema.action.createorderreferralreferrerpendingemail.trigger";
|
|
115
122
|
/** Step metadata - entity this action targets */
|
|
116
123
|
static readonly STEP_ENTITY = "NotificationModule:Email";
|
|
117
124
|
static readonly STEP_SCHEMA_ID = "a3b4d6b7-0647-4202-90a6-036e3c87c5ae";
|
|
118
|
-
static readonly STEP_SCHEMA_ACTION_ID = "
|
|
125
|
+
static readonly STEP_SCHEMA_ACTION_ID = "51b00a55-73b4-4e35-9ab3-4ce985f710ef";
|
|
119
126
|
static readonly STEP_SCHEMA_TYPE_ID = "d9d0bf79-8d32-4f71-a6d7-3ce74dd5ba16";
|
|
120
127
|
static readonly STEP_TYPE = "REFERRAL";
|
|
121
128
|
static readonly AUTO_LINK_PARENT = true;
|
|
122
129
|
readonly actionName: string;
|
|
123
130
|
readonly schemaActionId: string;
|
|
124
131
|
readonly entity: string;
|
|
125
|
-
constructor(properties:
|
|
132
|
+
constructor(properties: CreateOrderReferralReferrerPendingEmailProperties, options?: {
|
|
126
133
|
journeyId?: string;
|
|
127
134
|
});
|
|
128
135
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateOrderReferralReferrerPendingEmail Action DTO
|
|
4
|
+
*
|
|
5
|
+
* referral reaches pending validation stage
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Email
|
|
9
|
+
* @entityType REFERRAL
|
|
10
|
+
* @actionKey CreateOrderReferralReferrerPendingEmail
|
|
11
|
+
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateOrderReferralReferrerPendingEmailDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreateOrderReferralReferrerPendingEmail
|
|
20
|
+
*
|
|
21
|
+
* referral reaches pending validation stage
|
|
22
|
+
*
|
|
23
|
+
* @actionType CREATE - Creates a new Email record
|
|
24
|
+
* @module NotificationModule
|
|
25
|
+
* @entity Email
|
|
26
|
+
* @entityType REFERRAL (REFERRAL)
|
|
27
|
+
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail
|
|
28
|
+
* @permission schema.action.createorderreferralreferrerpendingemail.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class CreateOrderReferralReferrerPendingEmailDto extends core_1.OdinRecordCreateDto {
|
|
32
|
+
constructor(properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
entity: 'NotificationModule:Email',
|
|
35
|
+
type: 'REFERRAL',
|
|
36
|
+
properties,
|
|
37
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'CreateOrderReferralReferrerPendingEmail';
|
|
40
|
+
this.schemaActionId = '51b00a55-73b4-4e35-9ab3-4ce985f710ef';
|
|
41
|
+
this.entity = 'NotificationModule:Email';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.CreateOrderReferralReferrerPendingEmailDto = CreateOrderReferralReferrerPendingEmailDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
CreateOrderReferralReferrerPendingEmailDto.ACTION_TYPE = 'CREATE';
|
|
47
|
+
CreateOrderReferralReferrerPendingEmailDto.ACTION_KEY = 'CreateOrderReferralReferrerPendingEmail';
|
|
48
|
+
CreateOrderReferralReferrerPendingEmailDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
CreateOrderReferralReferrerPendingEmailDto.ENTITIES = ['Email'];
|
|
50
|
+
CreateOrderReferralReferrerPendingEmailDto.ENTITY_TYPE = 'REFERRAL';
|
|
51
|
+
CreateOrderReferralReferrerPendingEmailDto.EVENT_NAME = 'k1.t-t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail';
|
|
52
|
+
CreateOrderReferralReferrerPendingEmailDto.PERMISSION = 'schema.action.createorderreferralreferrerpendingemail.trigger';
|
|
53
|
+
/** Step metadata - entity this action targets */
|
|
54
|
+
CreateOrderReferralReferrerPendingEmailDto.STEP_ENTITY = 'NotificationModule:Email';
|
|
55
|
+
CreateOrderReferralReferrerPendingEmailDto.STEP_SCHEMA_ID = 'a3b4d6b7-0647-4202-90a6-036e3c87c5ae';
|
|
56
|
+
CreateOrderReferralReferrerPendingEmailDto.STEP_SCHEMA_ACTION_ID = '51b00a55-73b4-4e35-9ab3-4ce985f710ef';
|
|
57
|
+
CreateOrderReferralReferrerPendingEmailDto.STEP_SCHEMA_TYPE_ID = 'd9d0bf79-8d32-4f71-a6d7-3ce74dd5ba16';
|
|
58
|
+
CreateOrderReferralReferrerPendingEmailDto.STEP_TYPE = 'REFERRAL';
|
|
59
|
+
CreateOrderReferralReferrerPendingEmailDto.AUTO_LINK_PARENT = true;
|
|
@@ -23,7 +23,7 @@ export interface CreateOrderReferralReferrerQualifiedEmailMessage extends OdinRe
|
|
|
23
23
|
* Properties for CreateOrderReferralReferrerQualifiedEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateOrderReferralReferrerQualifiedEmailProperties {
|
|
29
29
|
/**
|
|
@@ -89,6 +89,13 @@ export interface CreateOrderReferralReferrerQualifiedEmailProperties {
|
|
|
89
89
|
* @type {TEXT}
|
|
90
90
|
*/
|
|
91
91
|
To?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Title
|
|
94
|
+
*
|
|
95
|
+
* Used for title
|
|
96
|
+
* @type {TEXT}
|
|
97
|
+
*/
|
|
98
|
+
Title?: string | null;
|
|
92
99
|
}
|
|
93
100
|
/**
|
|
94
101
|
* CreateOrderReferralReferrerQualifiedEmail
|
|
@@ -113,11 +113,11 @@ export declare enum PaymentMethodPropertyKeys {
|
|
|
113
113
|
/** the hashId of the payment method (Finance - PaymentMethod) */
|
|
114
114
|
PaymentMethodHash = "PaymentMethodHash",
|
|
115
115
|
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
116
|
+
BankAccountId = "BankAccountId",
|
|
117
|
+
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
116
118
|
ExternalRef = "ExternalRef",
|
|
117
119
|
/** customer authorizes us to setup a direct debit (Finance - PaymentMethod) */
|
|
118
120
|
AuthorizedDirectDebit = "AuthorizedDirectDebit",
|
|
119
|
-
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
120
|
-
BankAccountId = "BankAccountId",
|
|
121
121
|
/** is this the default payment method (Finance - PaymentMethod) */
|
|
122
122
|
Default = "Default",
|
|
123
123
|
/** Display name/title for PaymentMethod records. Primary identifier for Finance team. */
|
|
@@ -168,7 +168,14 @@ export interface PaymentMethodProperties {
|
|
|
168
168
|
PaymentMethodHash: string;
|
|
169
169
|
/** reference to the external payment method Id to be used (Finance - PaymentMethod)
|
|
170
170
|
*
|
|
171
|
-
* @type {
|
|
171
|
+
* @type {TEXT}
|
|
172
|
+
* @pii This field contains personally identifiable information
|
|
173
|
+
* @hidden This field is hidden in the UI
|
|
174
|
+
*/
|
|
175
|
+
BankAccountId: string;
|
|
176
|
+
/** reference to the external payment method Id to be used (Finance - PaymentMethod)
|
|
177
|
+
*
|
|
178
|
+
* @type {TEXT}
|
|
172
179
|
* @hidden This field is hidden in the UI
|
|
173
180
|
*/
|
|
174
181
|
ExternalRef: string;
|
|
@@ -178,13 +185,6 @@ export interface PaymentMethodProperties {
|
|
|
178
185
|
* @hidden This field is hidden in the UI
|
|
179
186
|
*/
|
|
180
187
|
AuthorizedDirectDebit: boolean;
|
|
181
|
-
/** reference to the external payment method Id to be used (Finance - PaymentMethod)
|
|
182
|
-
*
|
|
183
|
-
* @type {ALPHA_NUMERICAL}
|
|
184
|
-
* @pii This field contains personally identifiable information
|
|
185
|
-
* @hidden This field is hidden in the UI
|
|
186
|
-
*/
|
|
187
|
-
BankAccountId: string;
|
|
188
188
|
/** is this the default payment method (Finance - PaymentMethod)
|
|
189
189
|
*
|
|
190
190
|
* @type {ENUM}
|
|
@@ -115,11 +115,11 @@ var PaymentMethodPropertyKeys;
|
|
|
115
115
|
/** the hashId of the payment method (Finance - PaymentMethod) */
|
|
116
116
|
PaymentMethodPropertyKeys["PaymentMethodHash"] = "PaymentMethodHash";
|
|
117
117
|
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
118
|
+
PaymentMethodPropertyKeys["BankAccountId"] = "BankAccountId";
|
|
119
|
+
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
118
120
|
PaymentMethodPropertyKeys["ExternalRef"] = "ExternalRef";
|
|
119
121
|
/** customer authorizes us to setup a direct debit (Finance - PaymentMethod) */
|
|
120
122
|
PaymentMethodPropertyKeys["AuthorizedDirectDebit"] = "AuthorizedDirectDebit";
|
|
121
|
-
/** reference to the external payment method Id to be used (Finance - PaymentMethod) */
|
|
122
|
-
PaymentMethodPropertyKeys["BankAccountId"] = "BankAccountId";
|
|
123
123
|
/** is this the default payment method (Finance - PaymentMethod) */
|
|
124
124
|
PaymentMethodPropertyKeys["Default"] = "Default";
|
|
125
125
|
/** Display name/title for PaymentMethod records. Primary identifier for Finance team. */
|
|
@@ -35,9 +35,9 @@ import { CreateOrderReferralRefereePendingEmailProperties } from '../actions-v2/
|
|
|
35
35
|
import { CreateOrderReferralRefereeQualifiedEmailProperties } from '../actions-v2/CreateOrderReferralRefereeQualifiedEmailDto';
|
|
36
36
|
import { CreateOrderReferralReferrerCancelledEmailProperties } from '../actions-v2/CreateOrderReferralReferrerCancelledEmailDto';
|
|
37
37
|
import { CreateOrderReferralReferrerNotQualifiedEmailProperties } from '../actions-v2/CreateOrderReferralReferrerNotQualifiedEmailDto';
|
|
38
|
+
import { CreateOrderReferralReferrerPendingEmailProperties } from '../actions-v2/CreateOrderReferralReferrerPendingEmailDto';
|
|
38
39
|
import { CreateOrderReferralReferrerQualifiedEmailProperties } from '../actions-v2/CreateOrderReferralReferrerQualifiedEmailDto';
|
|
39
40
|
import { CreateTransactionalEmailProperties } from '../actions-v2/CreateTransactionalEmailDto';
|
|
40
|
-
import { SendOrderReferralRefereePendingEmailProperties } from '../actions-v2/SendOrderReferralRefereePendingEmailDto';
|
|
41
41
|
import { SendTlosNinjaCaseEmailProperties } from '../actions-v2/SendTlosNinjaCaseEmailDto';
|
|
42
42
|
import { UpdateEmailProperties } from '../actions-v2/UpdateEmailDto';
|
|
43
43
|
import { UpdateSupportEmailProperties } from '../actions-v2/UpdateSupportEmailDto';
|
|
@@ -712,7 +712,7 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
712
712
|
stageKey?: string;
|
|
713
713
|
}): ActionBuilder;
|
|
714
714
|
/**
|
|
715
|
-
*
|
|
715
|
+
* CreateOrderReferralReferrerPendingEmail
|
|
716
716
|
*
|
|
717
717
|
* Creates a new Email record with the specified properties.
|
|
718
718
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
@@ -729,23 +729,23 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
729
729
|
* ```typescript
|
|
730
730
|
* // Create with properties
|
|
731
731
|
* const record = odinClient.emails.new();
|
|
732
|
-
* await record.
|
|
732
|
+
* await record.createOrderReferralReferrerPendingEmail({ ... }).execute();
|
|
733
733
|
*
|
|
734
734
|
* // Dry run (for debugging)
|
|
735
|
-
* const payload = record.
|
|
735
|
+
* const payload = record.createOrderReferralReferrerPendingEmail({ ... }).dryRun();
|
|
736
736
|
* ```
|
|
737
737
|
*/
|
|
738
|
-
|
|
738
|
+
createOrderReferralReferrerPendingEmail(properties?: CreateOrderReferralReferrerPendingEmailProperties, options?: {
|
|
739
739
|
journeyId?: string;
|
|
740
740
|
stageKey?: string;
|
|
741
741
|
}): ActionBuilder;
|
|
742
742
|
/**
|
|
743
|
-
*
|
|
743
|
+
* CreateOrderReferralReferrerQualifiedEmail
|
|
744
744
|
*
|
|
745
745
|
* Creates a new Email record with the specified properties.
|
|
746
746
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
747
747
|
*
|
|
748
|
-
* @remarks Record type:
|
|
748
|
+
* @remarks Record type: REFERRAL
|
|
749
749
|
*
|
|
750
750
|
* @param properties - The properties for the new record
|
|
751
751
|
* @param options - Optional settings
|
|
@@ -757,23 +757,23 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
757
757
|
* ```typescript
|
|
758
758
|
* // Create with properties
|
|
759
759
|
* const record = odinClient.emails.new();
|
|
760
|
-
* await record.
|
|
760
|
+
* await record.createOrderReferralReferrerQualifiedEmail({ ... }).execute();
|
|
761
761
|
*
|
|
762
762
|
* // Dry run (for debugging)
|
|
763
|
-
* const payload = record.
|
|
763
|
+
* const payload = record.createOrderReferralReferrerQualifiedEmail({ ... }).dryRun();
|
|
764
764
|
* ```
|
|
765
765
|
*/
|
|
766
|
-
|
|
766
|
+
createOrderReferralReferrerQualifiedEmail(properties?: CreateOrderReferralReferrerQualifiedEmailProperties, options?: {
|
|
767
767
|
journeyId?: string;
|
|
768
768
|
stageKey?: string;
|
|
769
769
|
}): ActionBuilder;
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
771
|
+
* CreateTransactionalEmail
|
|
772
772
|
*
|
|
773
773
|
* Creates a new Email record with the specified properties.
|
|
774
774
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
775
775
|
*
|
|
776
|
-
* @remarks Record type:
|
|
776
|
+
* @remarks Record type: TRANSACTIONAL
|
|
777
777
|
*
|
|
778
778
|
* @param properties - The properties for the new record
|
|
779
779
|
* @param options - Optional settings
|
|
@@ -785,13 +785,13 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
785
785
|
* ```typescript
|
|
786
786
|
* // Create with properties
|
|
787
787
|
* const record = odinClient.emails.new();
|
|
788
|
-
* await record.
|
|
788
|
+
* await record.createTransactionalEmail({ ... }).execute();
|
|
789
789
|
*
|
|
790
790
|
* // Dry run (for debugging)
|
|
791
|
-
* const payload = record.
|
|
791
|
+
* const payload = record.createTransactionalEmail({ ... }).dryRun();
|
|
792
792
|
* ```
|
|
793
793
|
*/
|
|
794
|
-
|
|
794
|
+
createTransactionalEmail(properties: CreateTransactionalEmailProperties, options?: {
|
|
795
795
|
journeyId?: string;
|
|
796
796
|
stageKey?: string;
|
|
797
797
|
}): ActionBuilder;
|
|
@@ -927,7 +927,7 @@ class EmailRecord {
|
|
|
927
927
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
928
928
|
}
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
930
|
+
* CreateOrderReferralReferrerPendingEmail
|
|
931
931
|
*
|
|
932
932
|
* Creates a new Email record with the specified properties.
|
|
933
933
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
@@ -944,17 +944,17 @@ class EmailRecord {
|
|
|
944
944
|
* ```typescript
|
|
945
945
|
* // Create with properties
|
|
946
946
|
* const record = odinClient.emails.new();
|
|
947
|
-
* await record.
|
|
947
|
+
* await record.createOrderReferralReferrerPendingEmail({ ... }).execute();
|
|
948
948
|
*
|
|
949
949
|
* // Dry run (for debugging)
|
|
950
|
-
* const payload = record.
|
|
950
|
+
* const payload = record.createOrderReferralReferrerPendingEmail({ ... }).dryRun();
|
|
951
951
|
* ```
|
|
952
952
|
*/
|
|
953
|
-
|
|
953
|
+
createOrderReferralReferrerPendingEmail(properties, options) {
|
|
954
954
|
const payload = {
|
|
955
955
|
entity: 'NotificationModule:Email',
|
|
956
956
|
type: 'REFERRAL',
|
|
957
|
-
actionName: '
|
|
957
|
+
actionName: 'CreateOrderReferralReferrerPendingEmail',
|
|
958
958
|
properties: properties || {},
|
|
959
959
|
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
960
960
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
@@ -963,12 +963,12 @@ class EmailRecord {
|
|
|
963
963
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
964
964
|
}
|
|
965
965
|
/**
|
|
966
|
-
*
|
|
966
|
+
* CreateOrderReferralReferrerQualifiedEmail
|
|
967
967
|
*
|
|
968
968
|
* Creates a new Email record with the specified properties.
|
|
969
969
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
970
970
|
*
|
|
971
|
-
* @remarks Record type:
|
|
971
|
+
* @remarks Record type: REFERRAL
|
|
972
972
|
*
|
|
973
973
|
* @param properties - The properties for the new record
|
|
974
974
|
* @param options - Optional settings
|
|
@@ -980,17 +980,17 @@ class EmailRecord {
|
|
|
980
980
|
* ```typescript
|
|
981
981
|
* // Create with properties
|
|
982
982
|
* const record = odinClient.emails.new();
|
|
983
|
-
* await record.
|
|
983
|
+
* await record.createOrderReferralReferrerQualifiedEmail({ ... }).execute();
|
|
984
984
|
*
|
|
985
985
|
* // Dry run (for debugging)
|
|
986
|
-
* const payload = record.
|
|
986
|
+
* const payload = record.createOrderReferralReferrerQualifiedEmail({ ... }).dryRun();
|
|
987
987
|
* ```
|
|
988
988
|
*/
|
|
989
|
-
|
|
989
|
+
createOrderReferralReferrerQualifiedEmail(properties, options) {
|
|
990
990
|
const payload = {
|
|
991
991
|
entity: 'NotificationModule:Email',
|
|
992
|
-
type: '
|
|
993
|
-
actionName: '
|
|
992
|
+
type: 'REFERRAL',
|
|
993
|
+
actionName: 'CreateOrderReferralReferrerQualifiedEmail',
|
|
994
994
|
properties: properties || {},
|
|
995
995
|
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
996
996
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
@@ -999,12 +999,12 @@ class EmailRecord {
|
|
|
999
999
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
|
-
*
|
|
1002
|
+
* CreateTransactionalEmail
|
|
1003
1003
|
*
|
|
1004
1004
|
* Creates a new Email record with the specified properties.
|
|
1005
1005
|
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
1006
1006
|
*
|
|
1007
|
-
* @remarks Record type:
|
|
1007
|
+
* @remarks Record type: TRANSACTIONAL
|
|
1008
1008
|
*
|
|
1009
1009
|
* @param properties - The properties for the new record
|
|
1010
1010
|
* @param options - Optional settings
|
|
@@ -1016,17 +1016,17 @@ class EmailRecord {
|
|
|
1016
1016
|
* ```typescript
|
|
1017
1017
|
* // Create with properties
|
|
1018
1018
|
* const record = odinClient.emails.new();
|
|
1019
|
-
* await record.
|
|
1019
|
+
* await record.createTransactionalEmail({ ... }).execute();
|
|
1020
1020
|
*
|
|
1021
1021
|
* // Dry run (for debugging)
|
|
1022
|
-
* const payload = record.
|
|
1022
|
+
* const payload = record.createTransactionalEmail({ ... }).dryRun();
|
|
1023
1023
|
* ```
|
|
1024
1024
|
*/
|
|
1025
|
-
|
|
1025
|
+
createTransactionalEmail(properties, options) {
|
|
1026
1026
|
const payload = {
|
|
1027
1027
|
entity: 'NotificationModule:Email',
|
|
1028
|
-
type: '
|
|
1029
|
-
actionName: '
|
|
1028
|
+
type: 'TRANSACTIONAL',
|
|
1029
|
+
actionName: 'CreateTransactionalEmail',
|
|
1030
1030
|
properties: properties || {},
|
|
1031
1031
|
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
1032
1032
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
package/package.json
CHANGED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* SendOrderReferralRefereePendingEmail Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Order Referral Referee Pending
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity Email
|
|
9
|
-
* @entityType REFERRAL
|
|
10
|
-
* @actionKey SendOrderReferralRefereePendingEmail
|
|
11
|
-
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.SendOrderReferralRefereePendingEmail
|
|
12
|
-
*
|
|
13
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SendOrderReferralRefereePendingEmailDto = void 0;
|
|
17
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
-
/**
|
|
19
|
-
* SendOrderReferralRefereePendingEmail
|
|
20
|
-
*
|
|
21
|
-
* Order Referral Referee Pending
|
|
22
|
-
*
|
|
23
|
-
* @actionType CREATE - Creates a new Email record
|
|
24
|
-
* @module NotificationModule
|
|
25
|
-
* @entity Email
|
|
26
|
-
* @entityType REFERRAL (REFERRAL)
|
|
27
|
-
* @event k1.t-t-hEOJjsDb.NotificationModule.Email.Create.SendOrderReferralRefereePendingEmail
|
|
28
|
-
* @permission schema.action.sendorderreferralrefereependingemail.trigger
|
|
29
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
-
*/
|
|
31
|
-
class SendOrderReferralRefereePendingEmailDto extends core_1.OdinRecordCreateDto {
|
|
32
|
-
constructor(properties, options) {
|
|
33
|
-
super({
|
|
34
|
-
entity: 'NotificationModule:Email',
|
|
35
|
-
type: 'REFERRAL',
|
|
36
|
-
properties,
|
|
37
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'SendOrderReferralRefereePendingEmail';
|
|
40
|
-
this.schemaActionId = 'a103026a-b665-4927-9eea-c1a222f1a4dd';
|
|
41
|
-
this.entity = 'NotificationModule:Email';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.SendOrderReferralRefereePendingEmailDto = SendOrderReferralRefereePendingEmailDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
SendOrderReferralRefereePendingEmailDto.ACTION_TYPE = 'CREATE';
|
|
47
|
-
SendOrderReferralRefereePendingEmailDto.ACTION_KEY = 'SendOrderReferralRefereePendingEmail';
|
|
48
|
-
SendOrderReferralRefereePendingEmailDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
SendOrderReferralRefereePendingEmailDto.ENTITIES = ['Email'];
|
|
50
|
-
SendOrderReferralRefereePendingEmailDto.ENTITY_TYPE = 'REFERRAL';
|
|
51
|
-
SendOrderReferralRefereePendingEmailDto.EVENT_NAME = 'k1.t-t-hEOJjsDb.NotificationModule.Email.Create.SendOrderReferralRefereePendingEmail';
|
|
52
|
-
SendOrderReferralRefereePendingEmailDto.PERMISSION = 'schema.action.sendorderreferralrefereependingemail.trigger';
|
|
53
|
-
/** Step metadata - entity this action targets */
|
|
54
|
-
SendOrderReferralRefereePendingEmailDto.STEP_ENTITY = 'NotificationModule:Email';
|
|
55
|
-
SendOrderReferralRefereePendingEmailDto.STEP_SCHEMA_ID = 'a3b4d6b7-0647-4202-90a6-036e3c87c5ae';
|
|
56
|
-
SendOrderReferralRefereePendingEmailDto.STEP_SCHEMA_ACTION_ID = 'a103026a-b665-4927-9eea-c1a222f1a4dd';
|
|
57
|
-
SendOrderReferralRefereePendingEmailDto.STEP_SCHEMA_TYPE_ID = 'd9d0bf79-8d32-4f71-a6d7-3ce74dd5ba16';
|
|
58
|
-
SendOrderReferralRefereePendingEmailDto.STEP_TYPE = 'REFERRAL';
|
|
59
|
-
SendOrderReferralRefereePendingEmailDto.AUTO_LINK_PARENT = true;
|