@d19n/youfibre-odin-sdk 2.0.81 → 2.0.82
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 +2 -1
- package/dist/actions-v2/SendDirectDebitSetupRequestDto.d.ts +121 -0
- package/dist/actions-v2/SendDirectDebitSetupRequestDto.js +59 -0
- package/dist/api-sdk-v2/FileApi.d.ts +122 -122
- package/dist/api-sdk-v2/FileApi.js +247 -247
- package/dist/entities-v2/File.d.ts +0 -6
- package/dist/entities-v2/File.js +1 -5
- package/dist/records-v2/EmailRecord.d.ts +29 -0
- package/dist/records-v2/EmailRecord.js +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,7 +351,7 @@ This SDK includes **163** entities across **12** modules.
|
|
|
351
351
|
|
|
352
352
|
## Actions
|
|
353
353
|
|
|
354
|
-
This SDK includes **
|
|
354
|
+
This SDK includes **606** actions.
|
|
355
355
|
|
|
356
356
|
### Action Types
|
|
357
357
|
|
|
@@ -1208,6 +1208,7 @@ This SDK includes **605** actions.
|
|
|
1208
1208
|
| `SendDirectDebitCreatedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitCreatedEmail |
|
|
1209
1209
|
| `SendDirectDebitFailedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitFailedEmail |
|
|
1210
1210
|
| `SendDirectDebitSetupConfirmationEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupConfirmationEmail |
|
|
1211
|
+
| `SendDirectDebitSetupRequest` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest |
|
|
1211
1212
|
| `SendRefundTransactionEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendRefundTransactionEmail |
|
|
1212
1213
|
| `SendTlosNinjaCaseEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendTlosNinjaCaseEmail |
|
|
1213
1214
|
| `UpdateEmail` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Email.Update.UpdateEmail |
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SendDirectDebitSetupRequest Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Send email to request direct debit setup
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Email
|
|
8
|
+
* @entityType TRANSACTIONAL
|
|
9
|
+
* @actionKey SendDirectDebitSetupRequest
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for SendDirectDebitSetupRequest created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface SendDirectDebitSetupRequestMessage extends OdinRecordCreatedEvent<SendDirectDebitSetupRequestDto, SendDirectDebitSetupRequestProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for SendDirectDebitSetupRequest action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 0
|
|
26
|
+
* @property Optional fields: 8
|
|
27
|
+
*/
|
|
28
|
+
export interface SendDirectDebitSetupRequestProperties {
|
|
29
|
+
/**
|
|
30
|
+
* Date
|
|
31
|
+
*
|
|
32
|
+
* Date field for Email records. Used by Communications team.
|
|
33
|
+
* @type {DATE_TIME}
|
|
34
|
+
*/
|
|
35
|
+
Date?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* EmailingService
|
|
38
|
+
*
|
|
39
|
+
* The provider we use to send email (eg. Sendgrid)
|
|
40
|
+
* @type {ENUM}
|
|
41
|
+
*/
|
|
42
|
+
EmailingService?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* ContactId
|
|
45
|
+
*
|
|
46
|
+
* The related Contact to send the email
|
|
47
|
+
* @type {LOOKUP}
|
|
48
|
+
*/
|
|
49
|
+
ContactId?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* TemplateLabel
|
|
52
|
+
*
|
|
53
|
+
* The template label from email templates engine
|
|
54
|
+
* @type {TEXT}
|
|
55
|
+
*/
|
|
56
|
+
TemplateLabel?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* MessageId
|
|
59
|
+
*
|
|
60
|
+
* SMTP Message Id (Communications - Email)
|
|
61
|
+
* @type {TEXT}
|
|
62
|
+
*/
|
|
63
|
+
MessageId?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* EmailSenderId
|
|
66
|
+
*
|
|
67
|
+
* The Email Sender related entity
|
|
68
|
+
* @type {LOOKUP}
|
|
69
|
+
*/
|
|
70
|
+
EmailSenderId?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* DynamicData
|
|
73
|
+
*
|
|
74
|
+
* Data will pass to emailing service (variables)
|
|
75
|
+
* @type {JSON}
|
|
76
|
+
*/
|
|
77
|
+
DynamicData?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Title
|
|
80
|
+
*
|
|
81
|
+
* Used for title
|
|
82
|
+
* @type {TEXT}
|
|
83
|
+
*/
|
|
84
|
+
Title?: string | null;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* SendDirectDebitSetupRequest
|
|
88
|
+
*
|
|
89
|
+
* Send email to request direct debit setup
|
|
90
|
+
*
|
|
91
|
+
* @actionType CREATE - Creates a new Email record
|
|
92
|
+
* @module NotificationModule
|
|
93
|
+
* @entity Email
|
|
94
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
95
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest
|
|
96
|
+
* @permission schema.action.senddirectdebitsetuprequest.trigger
|
|
97
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
98
|
+
*/
|
|
99
|
+
export declare class SendDirectDebitSetupRequestDto extends OdinRecordCreateDto<SendDirectDebitSetupRequestProperties> {
|
|
100
|
+
/** Used by SDK generators to identify action type */
|
|
101
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
102
|
+
static readonly ACTION_KEY = "SendDirectDebitSetupRequest";
|
|
103
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
104
|
+
static readonly ENTITIES: string[];
|
|
105
|
+
static readonly ENTITY_TYPE = "TRANSACTIONAL";
|
|
106
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest";
|
|
107
|
+
static readonly PERMISSION = "schema.action.senddirectdebitsetuprequest.trigger";
|
|
108
|
+
/** Step metadata - entity this action targets */
|
|
109
|
+
static readonly STEP_ENTITY = "NotificationModule:Email";
|
|
110
|
+
static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
|
|
111
|
+
static readonly STEP_SCHEMA_ACTION_ID = "1b3a993b-effc-4b07-b005-e5abb552e050";
|
|
112
|
+
static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
|
|
113
|
+
static readonly STEP_TYPE = "TRANSACTIONAL";
|
|
114
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
115
|
+
readonly actionName: string;
|
|
116
|
+
readonly schemaActionId: string;
|
|
117
|
+
readonly entity: string;
|
|
118
|
+
constructor(properties: SendDirectDebitSetupRequestProperties, options?: {
|
|
119
|
+
journeyId?: string;
|
|
120
|
+
});
|
|
121
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* SendDirectDebitSetupRequest Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Send email to request direct debit setup
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Email
|
|
9
|
+
* @entityType TRANSACTIONAL
|
|
10
|
+
* @actionKey SendDirectDebitSetupRequest
|
|
11
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SendDirectDebitSetupRequestDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* SendDirectDebitSetupRequest
|
|
20
|
+
*
|
|
21
|
+
* Send email to request direct debit setup
|
|
22
|
+
*
|
|
23
|
+
* @actionType CREATE - Creates a new Email record
|
|
24
|
+
* @module NotificationModule
|
|
25
|
+
* @entity Email
|
|
26
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
27
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest
|
|
28
|
+
* @permission schema.action.senddirectdebitsetuprequest.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class SendDirectDebitSetupRequestDto extends core_1.OdinRecordCreateDto {
|
|
32
|
+
constructor(properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
entity: 'NotificationModule:Email',
|
|
35
|
+
type: 'TRANSACTIONAL',
|
|
36
|
+
properties,
|
|
37
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'SendDirectDebitSetupRequest';
|
|
40
|
+
this.schemaActionId = '1b3a993b-effc-4b07-b005-e5abb552e050';
|
|
41
|
+
this.entity = 'NotificationModule:Email';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.SendDirectDebitSetupRequestDto = SendDirectDebitSetupRequestDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
SendDirectDebitSetupRequestDto.ACTION_TYPE = 'CREATE';
|
|
47
|
+
SendDirectDebitSetupRequestDto.ACTION_KEY = 'SendDirectDebitSetupRequest';
|
|
48
|
+
SendDirectDebitSetupRequestDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
SendDirectDebitSetupRequestDto.ENTITIES = ['Email'];
|
|
50
|
+
SendDirectDebitSetupRequestDto.ENTITY_TYPE = 'TRANSACTIONAL';
|
|
51
|
+
SendDirectDebitSetupRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitSetupRequest';
|
|
52
|
+
SendDirectDebitSetupRequestDto.PERMISSION = 'schema.action.senddirectdebitsetuprequest.trigger';
|
|
53
|
+
/** Step metadata - entity this action targets */
|
|
54
|
+
SendDirectDebitSetupRequestDto.STEP_ENTITY = 'NotificationModule:Email';
|
|
55
|
+
SendDirectDebitSetupRequestDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
|
|
56
|
+
SendDirectDebitSetupRequestDto.STEP_SCHEMA_ACTION_ID = '1b3a993b-effc-4b07-b005-e5abb552e050';
|
|
57
|
+
SendDirectDebitSetupRequestDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
|
|
58
|
+
SendDirectDebitSetupRequestDto.STEP_TYPE = 'TRANSACTIONAL';
|
|
59
|
+
SendDirectDebitSetupRequestDto.AUTO_LINK_PARENT = true;
|
|
@@ -17,131 +17,131 @@ export declare class FileApi extends ApiProvider {
|
|
|
17
17
|
private readonly moduleName;
|
|
18
18
|
private readonly entityName;
|
|
19
19
|
private sourceRecord;
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
27
|
-
private
|
|
28
|
-
private
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
private
|
|
35
|
-
private
|
|
36
|
-
private
|
|
37
|
-
private
|
|
38
|
-
private
|
|
39
|
-
private
|
|
40
|
-
private
|
|
41
|
-
private
|
|
42
|
-
private
|
|
43
|
-
private
|
|
44
|
-
private
|
|
45
|
-
private
|
|
46
|
-
private
|
|
47
|
-
private
|
|
48
|
-
private
|
|
49
|
-
private
|
|
50
|
-
private
|
|
51
|
-
private
|
|
52
|
-
private
|
|
53
|
-
private
|
|
54
|
-
private
|
|
20
|
+
private _servicevisitaudit?;
|
|
21
|
+
private _blockagea55?;
|
|
22
|
+
private _netomniaftth2stageinstallaudit?;
|
|
23
|
+
private _netomniaftth1stageinstallaudit?;
|
|
24
|
+
private _overlayreala55?;
|
|
25
|
+
private _appointment?;
|
|
26
|
+
private _ugexternalaudit?;
|
|
27
|
+
private _billingrequest?;
|
|
28
|
+
private _transaction?;
|
|
29
|
+
private _creditnote?;
|
|
30
|
+
private _address?;
|
|
31
|
+
private _changereason?;
|
|
32
|
+
private _discount?;
|
|
33
|
+
private _paymentmethodrefund?;
|
|
34
|
+
private _serviceappointment?;
|
|
35
|
+
private _customerdevicerouter?;
|
|
36
|
+
private _visit?;
|
|
37
|
+
private _fingerprint?;
|
|
38
|
+
private _yftoolaudit?;
|
|
39
|
+
private _wayleaveaudit?;
|
|
40
|
+
private _workorder?;
|
|
41
|
+
private _orderitem?;
|
|
42
|
+
private _internalinstallaudit?;
|
|
43
|
+
private _knowledgearticle?;
|
|
44
|
+
private _case?;
|
|
45
|
+
private _activity?;
|
|
46
|
+
private _netomniaftthservicevisitsheet?;
|
|
47
|
+
private _yfstockcount?;
|
|
48
|
+
private _onetouchswitch?;
|
|
49
|
+
private _remediationrequiredreason?;
|
|
50
|
+
private _invoice?;
|
|
51
|
+
private _yfvanaudit?;
|
|
52
|
+
private _uginstallationaudit?;
|
|
53
|
+
private _ohinstallationaudit?;
|
|
54
|
+
private _ugauditofinstallation?;
|
|
55
|
+
private _file__note?;
|
|
55
56
|
private _note__file?;
|
|
56
|
-
private
|
|
57
|
-
private
|
|
58
|
-
private
|
|
59
|
-
private
|
|
60
|
-
private
|
|
61
|
-
private
|
|
62
|
-
private
|
|
63
|
-
private
|
|
64
|
-
private
|
|
65
|
-
private
|
|
66
|
-
private
|
|
67
|
-
private
|
|
68
|
-
private
|
|
69
|
-
private
|
|
70
|
-
private
|
|
71
|
-
private
|
|
72
|
-
private
|
|
73
|
-
private
|
|
74
|
-
private
|
|
75
|
-
private
|
|
76
|
-
private
|
|
77
|
-
private
|
|
78
|
-
private
|
|
79
|
-
private
|
|
80
|
-
private
|
|
81
|
-
private _note?;
|
|
57
|
+
private _yfequipmentcollection?;
|
|
58
|
+
private _lead?;
|
|
59
|
+
private _account?;
|
|
60
|
+
private _paymentmethod?;
|
|
61
|
+
private _sweepermaintenanceaudit?;
|
|
62
|
+
private _blockagereporta55?;
|
|
63
|
+
private _ohauditofinstallation?;
|
|
64
|
+
private _ohinprogressaudit?;
|
|
65
|
+
private _contractbuyout?;
|
|
66
|
+
private _sitespecificriskassessmentoutcomeform?;
|
|
67
|
+
private _remediationoutcomeform?;
|
|
68
|
+
private _order?;
|
|
69
|
+
private _call?;
|
|
70
|
+
private _ohexternalaudit?;
|
|
71
|
+
private _customerdeviceont?;
|
|
72
|
+
private _yffieldservicevisit?;
|
|
73
|
+
private _billingadjustment?;
|
|
74
|
+
private _contact?;
|
|
75
|
+
private _message?;
|
|
76
|
+
private _netomniainstallverification?;
|
|
77
|
+
private _email?;
|
|
78
|
+
private _ugretroaudit?;
|
|
79
|
+
private _ohretroaudit?;
|
|
80
|
+
private _uginprogressaudit?;
|
|
81
|
+
private _pgdirectdebitfile?;
|
|
82
82
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
83
|
-
get
|
|
84
|
-
get
|
|
85
|
-
get
|
|
86
|
-
get
|
|
87
|
-
get
|
|
88
|
-
get
|
|
89
|
-
get
|
|
90
|
-
get
|
|
91
|
-
get
|
|
92
|
-
get
|
|
93
|
-
get
|
|
94
|
-
get
|
|
95
|
-
get
|
|
96
|
-
get
|
|
97
|
-
get
|
|
98
|
-
get
|
|
99
|
-
get
|
|
100
|
-
get
|
|
101
|
-
get
|
|
102
|
-
get
|
|
103
|
-
get
|
|
104
|
-
get
|
|
105
|
-
get
|
|
106
|
-
get
|
|
107
|
-
get
|
|
108
|
-
get
|
|
109
|
-
get
|
|
110
|
-
get
|
|
111
|
-
get
|
|
112
|
-
get
|
|
113
|
-
get
|
|
114
|
-
get
|
|
115
|
-
get
|
|
116
|
-
get
|
|
117
|
-
get
|
|
83
|
+
get servicevisitaudit(): ApiRecordLinkManager;
|
|
84
|
+
get blockagea55(): ApiRecordLinkManager;
|
|
85
|
+
get netomniaftth2stageinstallaudit(): ApiRecordLinkManager;
|
|
86
|
+
get netomniaftth1stageinstallaudit(): ApiRecordLinkManager;
|
|
87
|
+
get overlayreala55(): ApiRecordLinkManager;
|
|
88
|
+
get appointment(): ApiRecordLinkManager;
|
|
89
|
+
get ugexternalaudit(): ApiRecordLinkManager;
|
|
90
|
+
get billingrequest(): ApiRecordLinkManager;
|
|
91
|
+
get transaction(): ApiRecordLinkManager;
|
|
92
|
+
get creditnote(): ApiRecordLinkManager;
|
|
93
|
+
get address(): ApiRecordLinkManager;
|
|
94
|
+
get changereason(): ApiRecordLinkManager;
|
|
95
|
+
get discount(): ApiRecordLinkManager;
|
|
96
|
+
get paymentmethodrefund(): ApiRecordLinkManager;
|
|
97
|
+
get serviceappointment(): ApiRecordLinkManager;
|
|
98
|
+
get customerdevicerouter(): ApiRecordLinkManager;
|
|
99
|
+
get visit(): ApiRecordLinkManager;
|
|
100
|
+
get fingerprint(): ApiRecordLinkManager;
|
|
101
|
+
get yftoolaudit(): ApiRecordLinkManager;
|
|
102
|
+
get wayleaveaudit(): ApiRecordLinkManager;
|
|
103
|
+
get workorder(): ApiRecordLinkManager;
|
|
104
|
+
get orderitem(): ApiRecordLinkManager;
|
|
105
|
+
get internalinstallaudit(): ApiRecordLinkManager;
|
|
106
|
+
get knowledgearticle(): ApiRecordLinkManager;
|
|
107
|
+
get case(): ApiRecordLinkManager;
|
|
108
|
+
get activity(): ApiRecordLinkManager;
|
|
109
|
+
get netomniaftthservicevisitsheet(): ApiRecordLinkManager;
|
|
110
|
+
get yfstockcount(): ApiRecordLinkManager;
|
|
111
|
+
get onetouchswitch(): ApiRecordLinkManager;
|
|
112
|
+
get remediationrequiredreason(): ApiRecordLinkManager;
|
|
113
|
+
get invoice(): ApiRecordLinkManager;
|
|
114
|
+
get yfvanaudit(): ApiRecordLinkManager;
|
|
115
|
+
get uginstallationaudit(): ApiRecordLinkManager;
|
|
116
|
+
get ohinstallationaudit(): ApiRecordLinkManager;
|
|
117
|
+
get ugauditofinstallation(): ApiRecordLinkManager;
|
|
118
|
+
get file__note(): ApiRecordLinkManager;
|
|
118
119
|
get note__file(): ApiRecordLinkManager;
|
|
119
|
-
get
|
|
120
|
-
get
|
|
121
|
-
get
|
|
122
|
-
get
|
|
123
|
-
get
|
|
124
|
-
get
|
|
125
|
-
get
|
|
126
|
-
get
|
|
127
|
-
get
|
|
128
|
-
get
|
|
129
|
-
get
|
|
130
|
-
get
|
|
131
|
-
get
|
|
132
|
-
get
|
|
133
|
-
get
|
|
134
|
-
get
|
|
135
|
-
get
|
|
136
|
-
get
|
|
137
|
-
get
|
|
138
|
-
get
|
|
139
|
-
get
|
|
140
|
-
get
|
|
141
|
-
get
|
|
142
|
-
get
|
|
143
|
-
get
|
|
144
|
-
get note(): ApiRecordLinkManager;
|
|
120
|
+
get yfequipmentcollection(): ApiRecordLinkManager;
|
|
121
|
+
get lead(): ApiRecordLinkManager;
|
|
122
|
+
get account(): ApiRecordLinkManager;
|
|
123
|
+
get paymentmethod(): ApiRecordLinkManager;
|
|
124
|
+
get sweepermaintenanceaudit(): ApiRecordLinkManager;
|
|
125
|
+
get blockagereporta55(): ApiRecordLinkManager;
|
|
126
|
+
get ohauditofinstallation(): ApiRecordLinkManager;
|
|
127
|
+
get ohinprogressaudit(): ApiRecordLinkManager;
|
|
128
|
+
get contractbuyout(): ApiRecordLinkManager;
|
|
129
|
+
get sitespecificriskassessmentoutcomeform(): ApiRecordLinkManager;
|
|
130
|
+
get remediationoutcomeform(): ApiRecordLinkManager;
|
|
131
|
+
get order(): ApiRecordLinkManager;
|
|
132
|
+
get call(): ApiRecordLinkManager;
|
|
133
|
+
get ohexternalaudit(): ApiRecordLinkManager;
|
|
134
|
+
get customerdeviceont(): ApiRecordLinkManager;
|
|
135
|
+
get yffieldservicevisit(): ApiRecordLinkManager;
|
|
136
|
+
get billingadjustment(): ApiRecordLinkManager;
|
|
137
|
+
get contact(): ApiRecordLinkManager;
|
|
138
|
+
get message(): ApiRecordLinkManager;
|
|
139
|
+
get netomniainstallverification(): ApiRecordLinkManager;
|
|
140
|
+
get email(): ApiRecordLinkManager;
|
|
141
|
+
get ugretroaudit(): ApiRecordLinkManager;
|
|
142
|
+
get ohretroaudit(): ApiRecordLinkManager;
|
|
143
|
+
get uginprogressaudit(): ApiRecordLinkManager;
|
|
144
|
+
get pgdirectdebitfile(): ApiRecordLinkManager;
|
|
145
145
|
setRecord(sourceRecord: any): void;
|
|
146
146
|
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
147
147
|
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<FileProperties>>>;
|
|
@@ -33,377 +33,377 @@ class FileApi extends api_provider_1.ApiProvider {
|
|
|
33
33
|
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
34
34
|
// ============================================
|
|
35
35
|
// Usage remains identical: api.address.list(recordId)
|
|
36
|
-
get
|
|
37
|
-
if (!this.
|
|
38
|
-
this.
|
|
36
|
+
get servicevisitaudit() {
|
|
37
|
+
if (!this._servicevisitaudit) {
|
|
38
|
+
this._servicevisitaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:ServiceVisitAudit', 'ServiceVisitAudit__File');
|
|
39
39
|
}
|
|
40
|
-
return this.
|
|
40
|
+
return this._servicevisitaudit;
|
|
41
41
|
}
|
|
42
|
-
get
|
|
43
|
-
if (!this.
|
|
44
|
-
this.
|
|
42
|
+
get blockagea55() {
|
|
43
|
+
if (!this._blockagea55) {
|
|
44
|
+
this._blockagea55 = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:BlockageA55', 'BlockageA55_File');
|
|
45
45
|
}
|
|
46
|
-
return this.
|
|
46
|
+
return this._blockagea55;
|
|
47
47
|
}
|
|
48
|
-
get
|
|
49
|
-
if (!this.
|
|
50
|
-
this.
|
|
48
|
+
get netomniaftth2stageinstallaudit() {
|
|
49
|
+
if (!this._netomniaftth2stageinstallaudit) {
|
|
50
|
+
this._netomniaftth2stageinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:NetomniaFtth2StageInstallAudit', 'NetomniaFtth2StageInstallAudit__File');
|
|
51
51
|
}
|
|
52
|
-
return this.
|
|
52
|
+
return this._netomniaftth2stageinstallaudit;
|
|
53
53
|
}
|
|
54
|
-
get
|
|
55
|
-
if (!this.
|
|
56
|
-
this.
|
|
54
|
+
get netomniaftth1stageinstallaudit() {
|
|
55
|
+
if (!this._netomniaftth1stageinstallaudit) {
|
|
56
|
+
this._netomniaftth1stageinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:NetomniaFtth1StageInstallAudit', 'NetomniaFtth1StageInstallAudit__File');
|
|
57
57
|
}
|
|
58
|
-
return this.
|
|
58
|
+
return this._netomniaftth1stageinstallaudit;
|
|
59
59
|
}
|
|
60
|
-
get
|
|
61
|
-
if (!this.
|
|
62
|
-
this.
|
|
60
|
+
get overlayreala55() {
|
|
61
|
+
if (!this._overlayreala55) {
|
|
62
|
+
this._overlayreala55 = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OverlayRealA55', 'OverlayRealA55_File');
|
|
63
63
|
}
|
|
64
|
-
return this.
|
|
64
|
+
return this._overlayreala55;
|
|
65
65
|
}
|
|
66
|
-
get
|
|
67
|
-
if (!this.
|
|
68
|
-
this.
|
|
66
|
+
get appointment() {
|
|
67
|
+
if (!this._appointment) {
|
|
68
|
+
this._appointment = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Appointment', 'Appointment__File');
|
|
69
69
|
}
|
|
70
|
-
return this.
|
|
70
|
+
return this._appointment;
|
|
71
71
|
}
|
|
72
|
-
get
|
|
73
|
-
if (!this.
|
|
74
|
-
this.
|
|
72
|
+
get ugexternalaudit() {
|
|
73
|
+
if (!this._ugexternalaudit) {
|
|
74
|
+
this._ugexternalaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:UgExternalAudit', 'UgExternalAudit_File');
|
|
75
75
|
}
|
|
76
|
-
return this.
|
|
76
|
+
return this._ugexternalaudit;
|
|
77
77
|
}
|
|
78
|
-
get
|
|
79
|
-
if (!this.
|
|
80
|
-
this.
|
|
78
|
+
get billingrequest() {
|
|
79
|
+
if (!this._billingrequest) {
|
|
80
|
+
this._billingrequest = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:BillingRequest', 'BillingRequest__File');
|
|
81
81
|
}
|
|
82
|
-
return this.
|
|
82
|
+
return this._billingrequest;
|
|
83
83
|
}
|
|
84
|
-
get
|
|
85
|
-
if (!this.
|
|
86
|
-
this.
|
|
84
|
+
get transaction() {
|
|
85
|
+
if (!this._transaction) {
|
|
86
|
+
this._transaction = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:Transaction', 'Transaction__File');
|
|
87
87
|
}
|
|
88
|
-
return this.
|
|
88
|
+
return this._transaction;
|
|
89
89
|
}
|
|
90
|
-
get
|
|
91
|
-
if (!this.
|
|
92
|
-
this.
|
|
90
|
+
get creditnote() {
|
|
91
|
+
if (!this._creditnote) {
|
|
92
|
+
this._creditnote = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:CreditNote', 'CreditNote__File');
|
|
93
93
|
}
|
|
94
|
-
return this.
|
|
94
|
+
return this._creditnote;
|
|
95
95
|
}
|
|
96
|
-
get
|
|
97
|
-
if (!this.
|
|
98
|
-
this.
|
|
96
|
+
get address() {
|
|
97
|
+
if (!this._address) {
|
|
98
|
+
this._address = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Address', 'Address__File');
|
|
99
99
|
}
|
|
100
|
-
return this.
|
|
100
|
+
return this._address;
|
|
101
101
|
}
|
|
102
|
-
get
|
|
103
|
-
if (!this.
|
|
104
|
-
this.
|
|
102
|
+
get changereason() {
|
|
103
|
+
if (!this._changereason) {
|
|
104
|
+
this._changereason = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:ChangeReason', 'ChangeReason__File');
|
|
105
105
|
}
|
|
106
|
-
return this.
|
|
106
|
+
return this._changereason;
|
|
107
107
|
}
|
|
108
|
-
get
|
|
109
|
-
if (!this.
|
|
110
|
-
this.
|
|
108
|
+
get discount() {
|
|
109
|
+
if (!this._discount) {
|
|
110
|
+
this._discount = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'ProductModule:Discount', 'Discount__File');
|
|
111
111
|
}
|
|
112
|
-
return this.
|
|
112
|
+
return this._discount;
|
|
113
113
|
}
|
|
114
|
-
get
|
|
115
|
-
if (!this.
|
|
116
|
-
this.
|
|
114
|
+
get paymentmethodrefund() {
|
|
115
|
+
if (!this._paymentmethodrefund) {
|
|
116
|
+
this._paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:PaymentMethodRefund', 'PaymentMethodRefund__File');
|
|
117
117
|
}
|
|
118
|
-
return this.
|
|
118
|
+
return this._paymentmethodrefund;
|
|
119
119
|
}
|
|
120
|
-
get
|
|
121
|
-
if (!this.
|
|
122
|
-
this.
|
|
120
|
+
get serviceappointment() {
|
|
121
|
+
if (!this._serviceappointment) {
|
|
122
|
+
this._serviceappointment = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:ServiceAppointment', 'ServiceAppointment__File');
|
|
123
123
|
}
|
|
124
|
-
return this.
|
|
124
|
+
return this._serviceappointment;
|
|
125
125
|
}
|
|
126
|
-
get
|
|
127
|
-
if (!this.
|
|
128
|
-
this.
|
|
126
|
+
get customerdevicerouter() {
|
|
127
|
+
if (!this._customerdevicerouter) {
|
|
128
|
+
this._customerdevicerouter = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'ServiceModule:CustomerDeviceRouter', 'CustomerDeviceRouter__File');
|
|
129
129
|
}
|
|
130
|
-
return this.
|
|
130
|
+
return this._customerdevicerouter;
|
|
131
131
|
}
|
|
132
|
-
get
|
|
133
|
-
if (!this.
|
|
134
|
-
this.
|
|
132
|
+
get visit() {
|
|
133
|
+
if (!this._visit) {
|
|
134
|
+
this._visit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Visit', 'Visit__File');
|
|
135
135
|
}
|
|
136
|
-
return this.
|
|
136
|
+
return this._visit;
|
|
137
137
|
}
|
|
138
|
-
get
|
|
139
|
-
if (!this.
|
|
140
|
-
this.
|
|
138
|
+
get fingerprint() {
|
|
139
|
+
if (!this._fingerprint) {
|
|
140
|
+
this._fingerprint = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Fingerprint', 'Fingerprint__File');
|
|
141
141
|
}
|
|
142
|
-
return this.
|
|
142
|
+
return this._fingerprint;
|
|
143
143
|
}
|
|
144
|
-
get
|
|
145
|
-
if (!this.
|
|
146
|
-
this.
|
|
144
|
+
get yftoolaudit() {
|
|
145
|
+
if (!this._yftoolaudit) {
|
|
146
|
+
this._yftoolaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:YfToolAudit', 'YfToolAudit_File');
|
|
147
147
|
}
|
|
148
|
-
return this.
|
|
148
|
+
return this._yftoolaudit;
|
|
149
149
|
}
|
|
150
|
-
get
|
|
151
|
-
if (!this.
|
|
152
|
-
this.
|
|
150
|
+
get wayleaveaudit() {
|
|
151
|
+
if (!this._wayleaveaudit) {
|
|
152
|
+
this._wayleaveaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:WayleaveAudit', 'WayleaveAudit_File');
|
|
153
153
|
}
|
|
154
|
-
return this.
|
|
154
|
+
return this._wayleaveaudit;
|
|
155
155
|
}
|
|
156
|
-
get
|
|
157
|
-
if (!this.
|
|
158
|
-
this.
|
|
156
|
+
get workorder() {
|
|
157
|
+
if (!this._workorder) {
|
|
158
|
+
this._workorder = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:WorkOrder', 'WorkOrder__File');
|
|
159
159
|
}
|
|
160
|
-
return this.
|
|
160
|
+
return this._workorder;
|
|
161
161
|
}
|
|
162
|
-
get
|
|
163
|
-
if (!this.
|
|
164
|
-
this.
|
|
162
|
+
get orderitem() {
|
|
163
|
+
if (!this._orderitem) {
|
|
164
|
+
this._orderitem = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'OrderModule:OrderItem', 'OrderItem__File');
|
|
165
165
|
}
|
|
166
|
-
return this.
|
|
166
|
+
return this._orderitem;
|
|
167
167
|
}
|
|
168
|
-
get
|
|
169
|
-
if (!this.
|
|
170
|
-
this.
|
|
168
|
+
get internalinstallaudit() {
|
|
169
|
+
if (!this._internalinstallaudit) {
|
|
170
|
+
this._internalinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:InternalInstallAudit', 'InternalInstallAudit_File');
|
|
171
171
|
}
|
|
172
|
-
return this.
|
|
172
|
+
return this._internalinstallaudit;
|
|
173
173
|
}
|
|
174
|
-
get
|
|
175
|
-
if (!this.
|
|
176
|
-
this.
|
|
174
|
+
get knowledgearticle() {
|
|
175
|
+
if (!this._knowledgearticle) {
|
|
176
|
+
this._knowledgearticle = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'SupportModule:KnowledgeArticle', 'KnowledgeArticle__File');
|
|
177
177
|
}
|
|
178
|
-
return this.
|
|
178
|
+
return this._knowledgearticle;
|
|
179
179
|
}
|
|
180
|
-
get
|
|
181
|
-
if (!this.
|
|
182
|
-
this.
|
|
180
|
+
get case() {
|
|
181
|
+
if (!this._case) {
|
|
182
|
+
this._case = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'SupportModule:Case', 'Case__File');
|
|
183
183
|
}
|
|
184
|
-
return this.
|
|
184
|
+
return this._case;
|
|
185
185
|
}
|
|
186
|
-
get
|
|
187
|
-
if (!this.
|
|
188
|
-
this.
|
|
186
|
+
get activity() {
|
|
187
|
+
if (!this._activity) {
|
|
188
|
+
this._activity = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'SchemaModule:Activity', 'Activity__File');
|
|
189
189
|
}
|
|
190
|
-
return this.
|
|
190
|
+
return this._activity;
|
|
191
191
|
}
|
|
192
|
-
get
|
|
193
|
-
if (!this.
|
|
194
|
-
this.
|
|
192
|
+
get netomniaftthservicevisitsheet() {
|
|
193
|
+
if (!this._netomniaftthservicevisitsheet) {
|
|
194
|
+
this._netomniaftthservicevisitsheet = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:NetomniaFtthServiceVisitSheet', 'NetomniaFtthServiceVisitSheet__File');
|
|
195
195
|
}
|
|
196
|
-
return this.
|
|
196
|
+
return this._netomniaftthservicevisitsheet;
|
|
197
197
|
}
|
|
198
|
-
get
|
|
199
|
-
if (!this.
|
|
200
|
-
this.
|
|
198
|
+
get yfstockcount() {
|
|
199
|
+
if (!this._yfstockcount) {
|
|
200
|
+
this._yfstockcount = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:YfStockCount', 'YfStockCount__File');
|
|
201
201
|
}
|
|
202
|
-
return this.
|
|
202
|
+
return this._yfstockcount;
|
|
203
203
|
}
|
|
204
|
-
get
|
|
205
|
-
if (!this.
|
|
206
|
-
this.
|
|
204
|
+
get onetouchswitch() {
|
|
205
|
+
if (!this._onetouchswitch) {
|
|
206
|
+
this._onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch_File');
|
|
207
207
|
}
|
|
208
|
-
return this.
|
|
208
|
+
return this._onetouchswitch;
|
|
209
209
|
}
|
|
210
|
-
get
|
|
211
|
-
if (!this.
|
|
212
|
-
this.
|
|
210
|
+
get remediationrequiredreason() {
|
|
211
|
+
if (!this._remediationrequiredreason) {
|
|
212
|
+
this._remediationrequiredreason = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:RemediationRequiredReason', 'RemediationRequiredReason__File');
|
|
213
213
|
}
|
|
214
|
-
return this.
|
|
214
|
+
return this._remediationrequiredreason;
|
|
215
215
|
}
|
|
216
|
-
get
|
|
217
|
-
if (!this.
|
|
218
|
-
this.
|
|
216
|
+
get invoice() {
|
|
217
|
+
if (!this._invoice) {
|
|
218
|
+
this._invoice = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:Invoice', 'Invoice__File');
|
|
219
219
|
}
|
|
220
|
-
return this.
|
|
220
|
+
return this._invoice;
|
|
221
221
|
}
|
|
222
|
-
get
|
|
223
|
-
if (!this.
|
|
224
|
-
this.
|
|
222
|
+
get yfvanaudit() {
|
|
223
|
+
if (!this._yfvanaudit) {
|
|
224
|
+
this._yfvanaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:YfVanAudit', 'YfVanAudit_File');
|
|
225
225
|
}
|
|
226
|
-
return this.
|
|
226
|
+
return this._yfvanaudit;
|
|
227
227
|
}
|
|
228
|
-
get
|
|
229
|
-
if (!this.
|
|
230
|
-
this.
|
|
228
|
+
get uginstallationaudit() {
|
|
229
|
+
if (!this._uginstallationaudit) {
|
|
230
|
+
this._uginstallationaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:UgInstallationAudit', 'UgInstallationAudit__File');
|
|
231
231
|
}
|
|
232
|
-
return this.
|
|
232
|
+
return this._uginstallationaudit;
|
|
233
233
|
}
|
|
234
|
-
get
|
|
235
|
-
if (!this.
|
|
236
|
-
this.
|
|
234
|
+
get ohinstallationaudit() {
|
|
235
|
+
if (!this._ohinstallationaudit) {
|
|
236
|
+
this._ohinstallationaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OhInstallationAudit', 'OhInstallationAudit__File');
|
|
237
237
|
}
|
|
238
|
-
return this.
|
|
238
|
+
return this._ohinstallationaudit;
|
|
239
239
|
}
|
|
240
|
-
get
|
|
241
|
-
if (!this.
|
|
242
|
-
this.
|
|
240
|
+
get ugauditofinstallation() {
|
|
241
|
+
if (!this._ugauditofinstallation) {
|
|
242
|
+
this._ugauditofinstallation = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:UgAuditOfInstallation', 'UgAuditOfInstallation__File');
|
|
243
243
|
}
|
|
244
|
-
return this.
|
|
244
|
+
return this._ugauditofinstallation;
|
|
245
|
+
}
|
|
246
|
+
get file__note() {
|
|
247
|
+
if (!this._file__note) {
|
|
248
|
+
this._file__note = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'SupportModule:Note', 'File__Note');
|
|
249
|
+
}
|
|
250
|
+
return this._file__note;
|
|
245
251
|
}
|
|
246
252
|
get note__file() {
|
|
247
253
|
if (!this._note__file) {
|
|
248
|
-
this._note__file = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, '
|
|
254
|
+
this._note__file = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'SupportModule:Note', 'Note__File');
|
|
249
255
|
}
|
|
250
256
|
return this._note__file;
|
|
251
257
|
}
|
|
252
|
-
get
|
|
253
|
-
if (!this.
|
|
254
|
-
this.
|
|
255
|
-
}
|
|
256
|
-
return this._yfequipmentcollection__file;
|
|
257
|
-
}
|
|
258
|
-
get lead__file() {
|
|
259
|
-
if (!this._lead__file) {
|
|
260
|
-
this._lead__file = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:Lead', 'SchemaModule:File', 'Lead__File');
|
|
258
|
+
get yfequipmentcollection() {
|
|
259
|
+
if (!this._yfequipmentcollection) {
|
|
260
|
+
this._yfequipmentcollection = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:YfEquipmentCollection', 'YfEquipmentCollection__File');
|
|
261
261
|
}
|
|
262
|
-
return this.
|
|
262
|
+
return this._yfequipmentcollection;
|
|
263
263
|
}
|
|
264
|
-
get
|
|
265
|
-
if (!this.
|
|
266
|
-
this.
|
|
264
|
+
get lead() {
|
|
265
|
+
if (!this._lead) {
|
|
266
|
+
this._lead = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Lead', 'Lead__File');
|
|
267
267
|
}
|
|
268
|
-
return this.
|
|
268
|
+
return this._lead;
|
|
269
269
|
}
|
|
270
|
-
get
|
|
271
|
-
if (!this.
|
|
272
|
-
this.
|
|
270
|
+
get account() {
|
|
271
|
+
if (!this._account) {
|
|
272
|
+
this._account = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Account', 'Account__File');
|
|
273
273
|
}
|
|
274
|
-
return this.
|
|
274
|
+
return this._account;
|
|
275
275
|
}
|
|
276
|
-
get
|
|
277
|
-
if (!this.
|
|
278
|
-
this.
|
|
276
|
+
get paymentmethod() {
|
|
277
|
+
if (!this._paymentmethod) {
|
|
278
|
+
this._paymentmethod = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:PaymentMethod', 'PaymentMethod__File');
|
|
279
279
|
}
|
|
280
|
-
return this.
|
|
280
|
+
return this._paymentmethod;
|
|
281
281
|
}
|
|
282
|
-
get
|
|
283
|
-
if (!this.
|
|
284
|
-
this.
|
|
282
|
+
get sweepermaintenanceaudit() {
|
|
283
|
+
if (!this._sweepermaintenanceaudit) {
|
|
284
|
+
this._sweepermaintenanceaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:SweeperMaintenanceAudit', 'SweeperMaintenanceAudit__File');
|
|
285
285
|
}
|
|
286
|
-
return this.
|
|
286
|
+
return this._sweepermaintenanceaudit;
|
|
287
287
|
}
|
|
288
|
-
get
|
|
289
|
-
if (!this.
|
|
290
|
-
this.
|
|
288
|
+
get blockagereporta55() {
|
|
289
|
+
if (!this._blockagereporta55) {
|
|
290
|
+
this._blockagereporta55 = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:BlockageReportA55', 'BlockageReportA55__File');
|
|
291
291
|
}
|
|
292
|
-
return this.
|
|
292
|
+
return this._blockagereporta55;
|
|
293
293
|
}
|
|
294
|
-
get
|
|
295
|
-
if (!this.
|
|
296
|
-
this.
|
|
294
|
+
get ohauditofinstallation() {
|
|
295
|
+
if (!this._ohauditofinstallation) {
|
|
296
|
+
this._ohauditofinstallation = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OhAuditOfInstallation', 'OhAuditOfInstallation__File');
|
|
297
297
|
}
|
|
298
|
-
return this.
|
|
298
|
+
return this._ohauditofinstallation;
|
|
299
299
|
}
|
|
300
|
-
get
|
|
301
|
-
if (!this.
|
|
302
|
-
this.
|
|
300
|
+
get ohinprogressaudit() {
|
|
301
|
+
if (!this._ohinprogressaudit) {
|
|
302
|
+
this._ohinprogressaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OhInProgressAudit', 'OhInProgressAudit_File');
|
|
303
303
|
}
|
|
304
|
-
return this.
|
|
304
|
+
return this._ohinprogressaudit;
|
|
305
305
|
}
|
|
306
|
-
get
|
|
307
|
-
if (!this.
|
|
308
|
-
this.
|
|
306
|
+
get contractbuyout() {
|
|
307
|
+
if (!this._contractbuyout) {
|
|
308
|
+
this._contractbuyout = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'OrderModule:ContractBuyOut', 'ContractBuyOut__File');
|
|
309
309
|
}
|
|
310
|
-
return this.
|
|
310
|
+
return this._contractbuyout;
|
|
311
311
|
}
|
|
312
|
-
get
|
|
313
|
-
if (!this.
|
|
314
|
-
this.
|
|
312
|
+
get sitespecificriskassessmentoutcomeform() {
|
|
313
|
+
if (!this._sitespecificriskassessmentoutcomeform) {
|
|
314
|
+
this._sitespecificriskassessmentoutcomeform = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm', 'SiteSpecificRiskAssessmentOutcomeForm__File');
|
|
315
315
|
}
|
|
316
|
-
return this.
|
|
316
|
+
return this._sitespecificriskassessmentoutcomeform;
|
|
317
317
|
}
|
|
318
|
-
get
|
|
319
|
-
if (!this.
|
|
320
|
-
this.
|
|
318
|
+
get remediationoutcomeform() {
|
|
319
|
+
if (!this._remediationoutcomeform) {
|
|
320
|
+
this._remediationoutcomeform = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:RemediationOutcomeForm', 'RemediationOutcomeForm_File');
|
|
321
321
|
}
|
|
322
|
-
return this.
|
|
322
|
+
return this._remediationoutcomeform;
|
|
323
323
|
}
|
|
324
|
-
get
|
|
325
|
-
if (!this.
|
|
326
|
-
this.
|
|
324
|
+
get order() {
|
|
325
|
+
if (!this._order) {
|
|
326
|
+
this._order = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'OrderModule:Order', 'Order__File');
|
|
327
327
|
}
|
|
328
|
-
return this.
|
|
328
|
+
return this._order;
|
|
329
329
|
}
|
|
330
|
-
get
|
|
331
|
-
if (!this.
|
|
332
|
-
this.
|
|
330
|
+
get call() {
|
|
331
|
+
if (!this._call) {
|
|
332
|
+
this._call = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'NotificationModule:Call', 'Call__File');
|
|
333
333
|
}
|
|
334
|
-
return this.
|
|
334
|
+
return this._call;
|
|
335
335
|
}
|
|
336
|
-
get
|
|
337
|
-
if (!this.
|
|
338
|
-
this.
|
|
336
|
+
get ohexternalaudit() {
|
|
337
|
+
if (!this._ohexternalaudit) {
|
|
338
|
+
this._ohexternalaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OhExternalAudit', 'OhExternalAudit_File');
|
|
339
339
|
}
|
|
340
|
-
return this.
|
|
340
|
+
return this._ohexternalaudit;
|
|
341
341
|
}
|
|
342
|
-
get
|
|
343
|
-
if (!this.
|
|
344
|
-
this.
|
|
342
|
+
get customerdeviceont() {
|
|
343
|
+
if (!this._customerdeviceont) {
|
|
344
|
+
this._customerdeviceont = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'ServiceModule:CustomerDeviceOnt', 'CustomerDeviceOnt__File');
|
|
345
345
|
}
|
|
346
|
-
return this.
|
|
346
|
+
return this._customerdeviceont;
|
|
347
347
|
}
|
|
348
|
-
get
|
|
349
|
-
if (!this.
|
|
350
|
-
this.
|
|
348
|
+
get yffieldservicevisit() {
|
|
349
|
+
if (!this._yffieldservicevisit) {
|
|
350
|
+
this._yffieldservicevisit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:YfFieldServiceVisit', 'YfFieldServiceVisit__File');
|
|
351
351
|
}
|
|
352
|
-
return this.
|
|
352
|
+
return this._yffieldservicevisit;
|
|
353
353
|
}
|
|
354
|
-
get
|
|
355
|
-
if (!this.
|
|
356
|
-
this.
|
|
354
|
+
get billingadjustment() {
|
|
355
|
+
if (!this._billingadjustment) {
|
|
356
|
+
this._billingadjustment = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'OrderModule:BillingAdjustment', 'BillingAdjustment__File');
|
|
357
357
|
}
|
|
358
|
-
return this.
|
|
358
|
+
return this._billingadjustment;
|
|
359
359
|
}
|
|
360
|
-
get
|
|
361
|
-
if (!this.
|
|
362
|
-
this.
|
|
360
|
+
get contact() {
|
|
361
|
+
if (!this._contact) {
|
|
362
|
+
this._contact = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'CrmModule:Contact', 'Contact__File');
|
|
363
363
|
}
|
|
364
|
-
return this.
|
|
364
|
+
return this._contact;
|
|
365
365
|
}
|
|
366
|
-
get
|
|
367
|
-
if (!this.
|
|
368
|
-
this.
|
|
366
|
+
get message() {
|
|
367
|
+
if (!this._message) {
|
|
368
|
+
this._message = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'NotificationModule:Message', 'Message_File');
|
|
369
369
|
}
|
|
370
|
-
return this.
|
|
370
|
+
return this._message;
|
|
371
371
|
}
|
|
372
|
-
get
|
|
373
|
-
if (!this.
|
|
374
|
-
this.
|
|
372
|
+
get netomniainstallverification() {
|
|
373
|
+
if (!this._netomniainstallverification) {
|
|
374
|
+
this._netomniainstallverification = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:NetomniaInstallVerification', 'NetomniaInstallVerification__File');
|
|
375
375
|
}
|
|
376
|
-
return this.
|
|
376
|
+
return this._netomniainstallverification;
|
|
377
377
|
}
|
|
378
|
-
get
|
|
379
|
-
if (!this.
|
|
380
|
-
this.
|
|
378
|
+
get email() {
|
|
379
|
+
if (!this._email) {
|
|
380
|
+
this._email = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'NotificationModule:Email', 'Attachments');
|
|
381
381
|
}
|
|
382
|
-
return this.
|
|
382
|
+
return this._email;
|
|
383
383
|
}
|
|
384
|
-
get
|
|
385
|
-
if (!this.
|
|
386
|
-
this.
|
|
384
|
+
get ugretroaudit() {
|
|
385
|
+
if (!this._ugretroaudit) {
|
|
386
|
+
this._ugretroaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:UgRetroAudit', 'UgRetroAudit__File');
|
|
387
387
|
}
|
|
388
|
-
return this.
|
|
388
|
+
return this._ugretroaudit;
|
|
389
389
|
}
|
|
390
|
-
get
|
|
391
|
-
if (!this.
|
|
392
|
-
this.
|
|
390
|
+
get ohretroaudit() {
|
|
391
|
+
if (!this._ohretroaudit) {
|
|
392
|
+
this._ohretroaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:OhRetroAudit', 'OhRetroAudit__File');
|
|
393
393
|
}
|
|
394
|
-
return this.
|
|
394
|
+
return this._ohretroaudit;
|
|
395
395
|
}
|
|
396
|
-
get
|
|
397
|
-
if (!this.
|
|
398
|
-
this.
|
|
396
|
+
get uginprogressaudit() {
|
|
397
|
+
if (!this._uginprogressaudit) {
|
|
398
|
+
this._uginprogressaudit = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'FieldServiceModule:UgInProgressAudit', 'UgInProgressAudit_File');
|
|
399
399
|
}
|
|
400
|
-
return this.
|
|
400
|
+
return this._uginprogressaudit;
|
|
401
401
|
}
|
|
402
|
-
get
|
|
403
|
-
if (!this.
|
|
404
|
-
this.
|
|
402
|
+
get pgdirectdebitfile() {
|
|
403
|
+
if (!this._pgdirectdebitfile) {
|
|
404
|
+
this._pgdirectdebitfile = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'SchemaModule:File', 'BillingModule:PgDirectDebitFile', 'PgDirectDebitFile__File');
|
|
405
405
|
}
|
|
406
|
-
return this.
|
|
406
|
+
return this._pgdirectdebitfile;
|
|
407
407
|
}
|
|
408
408
|
// ============================================
|
|
409
409
|
// STANDARD METHODS (Unchanged API)
|
|
@@ -768,8 +768,6 @@ export declare class File extends OdinRecord<FileProperties> {
|
|
|
768
768
|
type: FileEntityTypes;
|
|
769
769
|
schemaId: '74510906-4af8-479c-862e-04a1bae015d7';
|
|
770
770
|
properties: FileProperties;
|
|
771
|
-
/** Linked File records (ServiceVisitAudit__File) */
|
|
772
|
-
File: OdinLink<LinkedOdinRecord<FileProperties>>;
|
|
773
771
|
/** Linked ServiceVisitAudit records (ServiceVisitAudit__File) */
|
|
774
772
|
ServiceVisitAudit: OdinLink<LinkedOdinRecord<ServiceVisitAuditProperties>>;
|
|
775
773
|
/** Linked BlockageA55 records (BlockageA55_File) */
|
|
@@ -957,10 +955,6 @@ export declare const ROUTING_KEY_FILE_OTDR_CREATED = "SchemaModule.File.OTDR.Sub
|
|
|
957
955
|
export declare const ROUTING_KEY_FILE_OTDR_UPDATED = "SchemaModule.File.OTDR.SubDbRecordUpdated";
|
|
958
956
|
/** OTDR evidence for L1 and L2 closures deleted */
|
|
959
957
|
export declare const ROUTING_KEY_FILE_OTDR_DELETED = "SchemaModule.File.OTDR.SubDbRecordDeleted";
|
|
960
|
-
/** Event: ServiceVisitAudit__File link created */
|
|
961
|
-
export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = "SchemaModule.File.File.SubDbRecordAssociationCreated";
|
|
962
|
-
/** Event: ServiceVisitAudit__File link deleted */
|
|
963
|
-
export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = "SchemaModule.File.File.SubDbRecordAssociationDeleted";
|
|
964
958
|
/** Event: File__Note link created */
|
|
965
959
|
export declare const ROUTING_KEY_LINK_FILE_NOTE_CREATED = "SchemaModule.File.Note.SubDbRecordAssociationCreated";
|
|
966
960
|
/** Event: File__Note link deleted */
|
package/dist/entities-v2/File.js
CHANGED
|
@@ -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_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for File records
|
|
@@ -186,10 +186,6 @@ exports.ROUTING_KEY_FILE_OTDR_CREATED = 'SchemaModule.File.OTDR.SubDbRecordCreat
|
|
|
186
186
|
exports.ROUTING_KEY_FILE_OTDR_UPDATED = 'SchemaModule.File.OTDR.SubDbRecordUpdated';
|
|
187
187
|
/** OTDR evidence for L1 and L2 closures deleted */
|
|
188
188
|
exports.ROUTING_KEY_FILE_OTDR_DELETED = 'SchemaModule.File.OTDR.SubDbRecordDeleted';
|
|
189
|
-
/** Event: ServiceVisitAudit__File link created */
|
|
190
|
-
exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = 'SchemaModule.File.File.SubDbRecordAssociationCreated';
|
|
191
|
-
/** Event: ServiceVisitAudit__File link deleted */
|
|
192
|
-
exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = 'SchemaModule.File.File.SubDbRecordAssociationDeleted';
|
|
193
189
|
/** Event: File__Note link created */
|
|
194
190
|
exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = 'SchemaModule.File.Note.SubDbRecordAssociationCreated';
|
|
195
191
|
/** Event: File__Note link deleted */
|
|
@@ -41,6 +41,7 @@ import { CreateTransactionalEmailProperties } from '../actions-v2/CreateTransact
|
|
|
41
41
|
import { SendDirectDebitCreatedEmailProperties } from '../actions-v2/SendDirectDebitCreatedEmailDto';
|
|
42
42
|
import { SendDirectDebitFailedEmailProperties } from '../actions-v2/SendDirectDebitFailedEmailDto';
|
|
43
43
|
import { SendDirectDebitSetupConfirmationEmailProperties } from '../actions-v2/SendDirectDebitSetupConfirmationEmailDto';
|
|
44
|
+
import { SendDirectDebitSetupRequestProperties } from '../actions-v2/SendDirectDebitSetupRequestDto';
|
|
44
45
|
import { SendRefundTransactionEmailProperties } from '../actions-v2/SendRefundTransactionEmailDto';
|
|
45
46
|
import { SendTlosNinjaCaseEmailProperties } from '../actions-v2/SendTlosNinjaCaseEmailDto';
|
|
46
47
|
import { UpdateEmailProperties } from '../actions-v2/UpdateEmailDto';
|
|
@@ -863,6 +864,34 @@ export declare class EmailRecord<TProps = EmailProperties> {
|
|
|
863
864
|
journeyId?: string;
|
|
864
865
|
stageKey?: string;
|
|
865
866
|
}): ActionBuilder;
|
|
867
|
+
/**
|
|
868
|
+
* SendDirectDebitSetupRequest
|
|
869
|
+
*
|
|
870
|
+
* Creates a new Email record with the specified properties.
|
|
871
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
872
|
+
*
|
|
873
|
+
* @remarks Record type: TRANSACTIONAL
|
|
874
|
+
*
|
|
875
|
+
* @param properties - The properties for the new record
|
|
876
|
+
* @param options - Optional settings
|
|
877
|
+
* @param options.journeyId - Associate with a journey
|
|
878
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
879
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
880
|
+
*
|
|
881
|
+
* @example
|
|
882
|
+
* ```typescript
|
|
883
|
+
* // Create with properties
|
|
884
|
+
* const record = odinClient.emails.new();
|
|
885
|
+
* await record.sendDirectDebitSetupRequest({ ... }).execute();
|
|
886
|
+
*
|
|
887
|
+
* // Dry run (for debugging)
|
|
888
|
+
* const payload = record.sendDirectDebitSetupRequest({ ... }).dryRun();
|
|
889
|
+
* ```
|
|
890
|
+
*/
|
|
891
|
+
sendDirectDebitSetupRequest(properties?: SendDirectDebitSetupRequestProperties, options?: {
|
|
892
|
+
journeyId?: string;
|
|
893
|
+
stageKey?: string;
|
|
894
|
+
}): ActionBuilder;
|
|
866
895
|
/**
|
|
867
896
|
* SendRefundTransactionEmail
|
|
868
897
|
*
|
|
@@ -1111,6 +1111,42 @@ class EmailRecord {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
1113
1113
|
}
|
|
1114
|
+
/**
|
|
1115
|
+
* SendDirectDebitSetupRequest
|
|
1116
|
+
*
|
|
1117
|
+
* Creates a new Email record with the specified properties.
|
|
1118
|
+
* Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
|
|
1119
|
+
*
|
|
1120
|
+
* @remarks Record type: TRANSACTIONAL
|
|
1121
|
+
*
|
|
1122
|
+
* @param properties - The properties for the new record
|
|
1123
|
+
* @param options - Optional settings
|
|
1124
|
+
* @param options.journeyId - Associate with a journey
|
|
1125
|
+
* @param options.stageKey - Set initial pipeline stage
|
|
1126
|
+
* @returns ActionBuilder - call .execute() to create or .dryRun() for payload
|
|
1127
|
+
*
|
|
1128
|
+
* @example
|
|
1129
|
+
* ```typescript
|
|
1130
|
+
* // Create with properties
|
|
1131
|
+
* const record = odinClient.emails.new();
|
|
1132
|
+
* await record.sendDirectDebitSetupRequest({ ... }).execute();
|
|
1133
|
+
*
|
|
1134
|
+
* // Dry run (for debugging)
|
|
1135
|
+
* const payload = record.sendDirectDebitSetupRequest({ ... }).dryRun();
|
|
1136
|
+
* ```
|
|
1137
|
+
*/
|
|
1138
|
+
sendDirectDebitSetupRequest(properties, options) {
|
|
1139
|
+
const payload = {
|
|
1140
|
+
entity: 'NotificationModule:Email',
|
|
1141
|
+
type: 'TRANSACTIONAL',
|
|
1142
|
+
actionName: 'SendDirectDebitSetupRequest',
|
|
1143
|
+
properties: properties || {},
|
|
1144
|
+
associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
|
|
1145
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
1146
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
1147
|
+
};
|
|
1148
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'Email', payload, () => { this._pendingLinks = []; });
|
|
1149
|
+
}
|
|
1114
1150
|
/**
|
|
1115
1151
|
* SendRefundTransactionEmail
|
|
1116
1152
|
*
|