@d19n/youfibre-odin-sdk 2.0.281 → 2.0.283
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 +12 -2
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/YfAgentLocationAccessor.d.ts +111 -0
- package/dist/accessors-v2/YfAgentLocationAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +3 -1
- package/dist/actions-v2/CreateContactDto.d.ts +8 -8
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +8 -8
- package/dist/actions-v2/CreateYfAgentLocationDto.d.ts +92 -0
- package/dist/actions-v2/CreateYfAgentLocationDto.js +54 -0
- package/dist/actions-v2/SyncConversationStateFromTwilioDto.d.ts +80 -0
- package/dist/actions-v2/SyncConversationStateFromTwilioDto.js +56 -0
- package/dist/actions-v2/SyncMessageStateFromTwilioDto.d.ts +80 -0
- package/dist/actions-v2/SyncMessageStateFromTwilioDto.js +56 -0
- package/dist/actions-v2/UpdateOrderDto.d.ts +9 -1
- package/dist/actions-v2/UpdatePgFileAllocationInvalidDto.d.ts +77 -0
- package/dist/actions-v2/UpdatePgFileAllocationInvalidDto.js +61 -0
- package/dist/api-sdk-v2/YfAgentLocationApi.d.ts +45 -0
- package/dist/api-sdk-v2/YfAgentLocationApi.js +151 -0
- package/dist/db-accessors-v2/YfAgentLocationDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/YfAgentLocationDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +3 -1
- package/dist/db-sdk-v2/YfAgentLocationDb.d.ts +117 -0
- package/dist/db-sdk-v2/YfAgentLocationDb.js +200 -0
- package/dist/entities-v2/FieldServiceProduct.d.ts +2 -0
- package/dist/entities-v2/FieldServiceProduct.js +2 -0
- package/dist/entities-v2/Order.d.ts +9 -0
- package/dist/entities-v2/Order.js +2 -0
- package/dist/entities-v2/PgFileAllocation.d.ts +21 -1
- package/dist/entities-v2/PgFileAllocation.js +2 -0
- package/dist/entities-v2/Recontract.d.ts +9 -0
- package/dist/entities-v2/Recontract.js +4 -0
- package/dist/entities-v2/WorkOrder.d.ts +3 -2
- package/dist/entities-v2/WorkOrder.js +3 -2
- package/dist/entities-v2/YfAgentLocation.d.ts +98 -0
- package/dist/entities-v2/YfAgentLocation.js +72 -0
- package/dist/records-v2/ConversationRecord.d.ts +27 -0
- package/dist/records-v2/ConversationRecord.js +29 -0
- package/dist/records-v2/MessageRecord.d.ts +27 -0
- package/dist/records-v2/MessageRecord.js +32 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +28 -0
- package/dist/records-v2/PgFileAllocationRecord.js +37 -0
- package/dist/records-v2/YfAgentLocationRecord.d.ts +184 -0
- package/dist/records-v2/YfAgentLocationRecord.js +243 -0
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateYfAgentLocation Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Create (or upsert by NaturalKey) the per-worker-per-day GPS location record
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity YfAgentLocation
|
|
8
|
+
* @actionKey CreateYfAgentLocation
|
|
9
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for CreateYfAgentLocation created events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateYfAgentLocationMessage extends OdinRecordCreatedEvent<CreateYfAgentLocationDto, CreateYfAgentLocationProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for CreateYfAgentLocation action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 4
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateYfAgentLocationProperties {
|
|
28
|
+
/**
|
|
29
|
+
* User Id
|
|
30
|
+
*
|
|
31
|
+
* The worker's OrganizationUser uuid — the same key the app and the ClickHouse reading rows use. Not unique here: one record per day per user.
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
UserId: string;
|
|
36
|
+
/**
|
|
37
|
+
* User Name
|
|
38
|
+
*
|
|
39
|
+
* Display name at the time the record was written. Denormalised on purpose — the record is a snapshot of the day, not a live join to the user.
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
UserName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Date
|
|
46
|
+
*
|
|
47
|
+
* The UK day this record covers — matches reading_date on the ClickHouse rows (both roll over at UK midnight, BST included).
|
|
48
|
+
* @type {DATE}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
Date: string;
|
|
52
|
+
/**
|
|
53
|
+
* Natural Key
|
|
54
|
+
*
|
|
55
|
+
* "<UserId>:<YYYY-MM-DD>". UNIQUE, so with upsertOnCreate a repeated create for the same worker-day updates the existing record instead of duplicating it. Mechanism, not information — hidden from tables.
|
|
56
|
+
* @type {TEXT}
|
|
57
|
+
* @required
|
|
58
|
+
*/
|
|
59
|
+
NaturalKey: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Create Agent Location
|
|
63
|
+
*
|
|
64
|
+
* Create (or upsert by NaturalKey) the per-worker-per-day GPS location record
|
|
65
|
+
*
|
|
66
|
+
* @actionType CREATE - Creates a new YfAgentLocation record
|
|
67
|
+
* @module FieldServiceModule
|
|
68
|
+
* @entity YfAgentLocation
|
|
69
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation
|
|
70
|
+
* @permission schema.action.createyfagentlocation.trigger
|
|
71
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
72
|
+
*/
|
|
73
|
+
export declare class CreateYfAgentLocationDto extends OdinRecordCreateDto<CreateYfAgentLocationProperties> {
|
|
74
|
+
/** Used by SDK generators to identify action type */
|
|
75
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
76
|
+
static readonly ACTION_KEY = "CreateYfAgentLocation";
|
|
77
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
78
|
+
static readonly ENTITIES: string[];
|
|
79
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation";
|
|
80
|
+
static readonly PERMISSION = "schema.action.createyfagentlocation.trigger";
|
|
81
|
+
/** Step metadata - entity this action targets */
|
|
82
|
+
static readonly STEP_ENTITY = "FieldServiceModule:YfAgentLocation";
|
|
83
|
+
static readonly STEP_SCHEMA_ID = "ec118dd7-2e8c-4fc3-90b6-10ef79d51d7c";
|
|
84
|
+
static readonly STEP_SCHEMA_ACTION_ID = "bdf16338-cba0-40d4-af89-7ab3bdbd76c0";
|
|
85
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
86
|
+
readonly actionName: string;
|
|
87
|
+
readonly schemaActionId: string;
|
|
88
|
+
readonly entity: string;
|
|
89
|
+
constructor(properties: CreateYfAgentLocationProperties, options?: {
|
|
90
|
+
journeyId?: string;
|
|
91
|
+
});
|
|
92
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateYfAgentLocation Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Create (or upsert by NaturalKey) the per-worker-per-day GPS location record
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity YfAgentLocation
|
|
9
|
+
* @actionKey CreateYfAgentLocation
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CreateYfAgentLocationDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Create Agent Location
|
|
19
|
+
*
|
|
20
|
+
* Create (or upsert by NaturalKey) the per-worker-per-day GPS location record
|
|
21
|
+
*
|
|
22
|
+
* @actionType CREATE - Creates a new YfAgentLocation record
|
|
23
|
+
* @module FieldServiceModule
|
|
24
|
+
* @entity YfAgentLocation
|
|
25
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation
|
|
26
|
+
* @permission schema.action.createyfagentlocation.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class CreateYfAgentLocationDto extends core_1.OdinRecordCreateDto {
|
|
30
|
+
constructor(properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
entity: 'FieldServiceModule:YfAgentLocation',
|
|
33
|
+
type: undefined,
|
|
34
|
+
properties,
|
|
35
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
36
|
+
});
|
|
37
|
+
this.actionName = 'CreateYfAgentLocation';
|
|
38
|
+
this.schemaActionId = 'bdf16338-cba0-40d4-af89-7ab3bdbd76c0';
|
|
39
|
+
this.entity = 'FieldServiceModule:YfAgentLocation';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.CreateYfAgentLocationDto = CreateYfAgentLocationDto;
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
CreateYfAgentLocationDto.ACTION_TYPE = 'CREATE';
|
|
45
|
+
CreateYfAgentLocationDto.ACTION_KEY = 'CreateYfAgentLocation';
|
|
46
|
+
CreateYfAgentLocationDto.MODULE_NAME = 'FieldServiceModule';
|
|
47
|
+
CreateYfAgentLocationDto.ENTITIES = ['YfAgentLocation'];
|
|
48
|
+
CreateYfAgentLocationDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.YfAgentLocation.Create.CreateYfAgentLocation';
|
|
49
|
+
CreateYfAgentLocationDto.PERMISSION = 'schema.action.createyfagentlocation.trigger';
|
|
50
|
+
/** Step metadata - entity this action targets */
|
|
51
|
+
CreateYfAgentLocationDto.STEP_ENTITY = 'FieldServiceModule:YfAgentLocation';
|
|
52
|
+
CreateYfAgentLocationDto.STEP_SCHEMA_ID = 'ec118dd7-2e8c-4fc3-90b6-10ef79d51d7c';
|
|
53
|
+
CreateYfAgentLocationDto.STEP_SCHEMA_ACTION_ID = 'bdf16338-cba0-40d4-af89-7ab3bdbd76c0';
|
|
54
|
+
CreateYfAgentLocationDto.AUTO_LINK_PARENT = true;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SyncConversationStateFromTwilio Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Applies the conversation state from a Twilio onConversationStateUpdated webhook (active -> CREATED, inactive -> INACTIVE, anything else -> CLOSED). Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Conversation
|
|
8
|
+
* @actionKey SyncConversationStateFromTwilio
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for SyncConversationStateFromTwilio updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio
|
|
18
|
+
*/
|
|
19
|
+
export interface SyncConversationStateFromTwilioMessage extends OdinRecordUpdatedEvent<SyncConversationStateFromTwilioDto, SyncConversationStateFromTwilioProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for SyncConversationStateFromTwilio action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 1
|
|
26
|
+
*/
|
|
27
|
+
export interface SyncConversationStateFromTwilioProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Status
|
|
30
|
+
*
|
|
31
|
+
* the status of the conversation (Communications - Conversation)
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Status: string;
|
|
36
|
+
/**
|
|
37
|
+
* Twilio conversation SID
|
|
38
|
+
*
|
|
39
|
+
* Unique External ID (Conversation SID / Conversation ID) (Communications - Conversation)
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
*/
|
|
42
|
+
ExternalId?: string | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Mirror the conversation state Twilio reported
|
|
46
|
+
*
|
|
47
|
+
* Applies the conversation state from a Twilio onConversationStateUpdated webhook (active -> CREATED, inactive -> INACTIVE, anything else -> CLOSED). Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
48
|
+
*
|
|
49
|
+
* @actionType UPDATE - Updates an existing Conversation record
|
|
50
|
+
* @module NotificationModule
|
|
51
|
+
* @entity Conversation
|
|
52
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio
|
|
53
|
+
* @permission schema.action.syncconversationstatefromtwilio.trigger
|
|
54
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
55
|
+
*/
|
|
56
|
+
export declare class SyncConversationStateFromTwilioDto extends OdinRecordUpdateDto<SyncConversationStateFromTwilioProperties> {
|
|
57
|
+
/** Used by SDK generators to identify action type */
|
|
58
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
59
|
+
static readonly ACTION_KEY = "SyncConversationStateFromTwilio";
|
|
60
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
61
|
+
static readonly ENTITIES: string[];
|
|
62
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio";
|
|
63
|
+
static readonly PERMISSION = "schema.action.syncconversationstatefromtwilio.trigger";
|
|
64
|
+
/** Step metadata - entity this action targets */
|
|
65
|
+
static readonly STEP_ENTITY = "NotificationModule:Conversation";
|
|
66
|
+
static readonly STEP_SCHEMA_ID = "9efdee13-fefe-4131-b66e-60798c084c6d";
|
|
67
|
+
static readonly STEP_SCHEMA_ACTION_ID = "c8abcd96-6b18-4dee-94c6-b84016cafc61";
|
|
68
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
69
|
+
readonly actionName: string;
|
|
70
|
+
readonly schemaActionId: string;
|
|
71
|
+
readonly entity: string;
|
|
72
|
+
constructor(record: OdinRecord<any> | {
|
|
73
|
+
id: string;
|
|
74
|
+
entity: string;
|
|
75
|
+
type?: string;
|
|
76
|
+
}, properties: SyncConversationStateFromTwilioProperties, options?: {
|
|
77
|
+
journeyId?: string;
|
|
78
|
+
stageKey?: string;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* SyncConversationStateFromTwilio Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Applies the conversation state from a Twilio onConversationStateUpdated webhook (active -> CREATED, inactive -> INACTIVE, anything else -> CLOSED). Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Conversation
|
|
9
|
+
* @actionKey SyncConversationStateFromTwilio
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SyncConversationStateFromTwilioDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Mirror the conversation state Twilio reported
|
|
19
|
+
*
|
|
20
|
+
* Applies the conversation state from a Twilio onConversationStateUpdated webhook (active -> CREATED, inactive -> INACTIVE, anything else -> CLOSED). Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Conversation record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity Conversation
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio
|
|
26
|
+
* @permission schema.action.syncconversationstatefromtwilio.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class SyncConversationStateFromTwilioDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'SyncConversationStateFromTwilio';
|
|
40
|
+
this.schemaActionId = 'c8abcd96-6b18-4dee-94c6-b84016cafc61';
|
|
41
|
+
this.entity = 'NotificationModule:Conversation';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.SyncConversationStateFromTwilioDto = SyncConversationStateFromTwilioDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
SyncConversationStateFromTwilioDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
SyncConversationStateFromTwilioDto.ACTION_KEY = 'SyncConversationStateFromTwilio';
|
|
48
|
+
SyncConversationStateFromTwilioDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
SyncConversationStateFromTwilioDto.ENTITIES = ['Conversation'];
|
|
50
|
+
SyncConversationStateFromTwilioDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Conversation.Update.SyncConversationStateFromTwilio';
|
|
51
|
+
SyncConversationStateFromTwilioDto.PERMISSION = 'schema.action.syncconversationstatefromtwilio.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
SyncConversationStateFromTwilioDto.STEP_ENTITY = 'NotificationModule:Conversation';
|
|
54
|
+
SyncConversationStateFromTwilioDto.STEP_SCHEMA_ID = '9efdee13-fefe-4131-b66e-60798c084c6d';
|
|
55
|
+
SyncConversationStateFromTwilioDto.STEP_SCHEMA_ACTION_ID = 'c8abcd96-6b18-4dee-94c6-b84016cafc61';
|
|
56
|
+
SyncConversationStateFromTwilioDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SyncMessageStateFromTwilio Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Stamps the delivery state from a Twilio onMessageAdded webhook. Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Message
|
|
8
|
+
* @actionKey SyncMessageStateFromTwilio
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for SyncMessageStateFromTwilio updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio
|
|
18
|
+
*/
|
|
19
|
+
export interface SyncMessageStateFromTwilioMessage extends OdinRecordUpdatedEvent<SyncMessageStateFromTwilioDto, SyncMessageStateFromTwilioProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for SyncMessageStateFromTwilio action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 1
|
|
26
|
+
*/
|
|
27
|
+
export interface SyncMessageStateFromTwilioProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Status
|
|
30
|
+
*
|
|
31
|
+
* Status of the message (CREATED,DELETED) (Communications - Message)
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Status: string;
|
|
36
|
+
/**
|
|
37
|
+
* Twilio message SID
|
|
38
|
+
*
|
|
39
|
+
* External ID of the message (Communications - Message)
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
*/
|
|
42
|
+
ExternalId?: string | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Mirror the message state Twilio reported
|
|
46
|
+
*
|
|
47
|
+
* Stamps the delivery state from a Twilio onMessageAdded webhook. Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
48
|
+
*
|
|
49
|
+
* @actionType UPDATE - Updates an existing Message record
|
|
50
|
+
* @module NotificationModule
|
|
51
|
+
* @entity Message
|
|
52
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio
|
|
53
|
+
* @permission schema.action.syncmessagestatefromtwilio.trigger
|
|
54
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
55
|
+
*/
|
|
56
|
+
export declare class SyncMessageStateFromTwilioDto extends OdinRecordUpdateDto<SyncMessageStateFromTwilioProperties> {
|
|
57
|
+
/** Used by SDK generators to identify action type */
|
|
58
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
59
|
+
static readonly ACTION_KEY = "SyncMessageStateFromTwilio";
|
|
60
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
61
|
+
static readonly ENTITIES: string[];
|
|
62
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio";
|
|
63
|
+
static readonly PERMISSION = "schema.action.syncmessagestatefromtwilio.trigger";
|
|
64
|
+
/** Step metadata - entity this action targets */
|
|
65
|
+
static readonly STEP_ENTITY = "NotificationModule:Message";
|
|
66
|
+
static readonly STEP_SCHEMA_ID = "f1c6db7a-eda8-405b-9d9e-536047a61b57";
|
|
67
|
+
static readonly STEP_SCHEMA_ACTION_ID = "b4cbab9e-776d-4869-97b2-7902ff8aebbc";
|
|
68
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
69
|
+
readonly actionName: string;
|
|
70
|
+
readonly schemaActionId: string;
|
|
71
|
+
readonly entity: string;
|
|
72
|
+
constructor(record: OdinRecord<any> | {
|
|
73
|
+
id: string;
|
|
74
|
+
entity: string;
|
|
75
|
+
type?: string;
|
|
76
|
+
}, properties: SyncMessageStateFromTwilioProperties, options?: {
|
|
77
|
+
journeyId?: string;
|
|
78
|
+
stageKey?: string;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* SyncMessageStateFromTwilio Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Stamps the delivery state from a Twilio onMessageAdded webhook. Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Message
|
|
9
|
+
* @actionKey SyncMessageStateFromTwilio
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SyncMessageStateFromTwilioDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Mirror the message state Twilio reported
|
|
19
|
+
*
|
|
20
|
+
* Stamps the delivery state from a Twilio onMessageAdded webhook. Fired by youfibre-api-chat twilio.webhook.service.ts, never by a user.
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Message record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity Message
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio
|
|
26
|
+
* @permission schema.action.syncmessagestatefromtwilio.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class SyncMessageStateFromTwilioDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'SyncMessageStateFromTwilio';
|
|
40
|
+
this.schemaActionId = 'b4cbab9e-776d-4869-97b2-7902ff8aebbc';
|
|
41
|
+
this.entity = 'NotificationModule:Message';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.SyncMessageStateFromTwilioDto = SyncMessageStateFromTwilioDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
SyncMessageStateFromTwilioDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
SyncMessageStateFromTwilioDto.ACTION_KEY = 'SyncMessageStateFromTwilio';
|
|
48
|
+
SyncMessageStateFromTwilioDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
SyncMessageStateFromTwilioDto.ENTITIES = ['Message'];
|
|
50
|
+
SyncMessageStateFromTwilioDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Message.Update.SyncMessageStateFromTwilio';
|
|
51
|
+
SyncMessageStateFromTwilioDto.PERMISSION = 'schema.action.syncmessagestatefromtwilio.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
SyncMessageStateFromTwilioDto.STEP_ENTITY = 'NotificationModule:Message';
|
|
54
|
+
SyncMessageStateFromTwilioDto.STEP_SCHEMA_ID = 'f1c6db7a-eda8-405b-9d9e-536047a61b57';
|
|
55
|
+
SyncMessageStateFromTwilioDto.STEP_SCHEMA_ACTION_ID = 'b4cbab9e-776d-4869-97b2-7902ff8aebbc';
|
|
56
|
+
SyncMessageStateFromTwilioDto.AUTO_LINK_PARENT = false;
|
|
@@ -22,7 +22,7 @@ export interface UpdateOrderMessage extends OdinRecordUpdatedEvent<UpdateOrderDt
|
|
|
22
22
|
* Properties for UpdateOrder action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 10
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateOrderProperties {
|
|
28
28
|
/**
|
|
@@ -91,6 +91,14 @@ export interface UpdateOrderProperties {
|
|
|
91
91
|
* @type {ENUM}
|
|
92
92
|
*/
|
|
93
93
|
SupplierOrderType?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
* contract end date
|
|
96
|
+
*
|
|
97
|
+
* the date the contract will end (Sales - Order)
|
|
98
|
+
* @type {DATE}
|
|
99
|
+
* @format DD/MM/YYYY
|
|
100
|
+
*/
|
|
101
|
+
ContractEndDate?: string | null;
|
|
94
102
|
}
|
|
95
103
|
/**
|
|
96
104
|
* UpdateOrder
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdatePgFileAllocationInvalid Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Sets or clears the Invalid flag on a file allocation. Its only job — the flag is never a side effect of a line-number or report write.
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgFileAllocation
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey UpdatePgFileAllocationInvalid
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for UpdatePgFileAllocationInvalid updated events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid
|
|
19
|
+
*/
|
|
20
|
+
export interface UpdatePgFileAllocationInvalidMessage extends OdinRecordUpdatedEvent<UpdatePgFileAllocationInvalidDto, UpdatePgFileAllocationInvalidProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for UpdatePgFileAllocationInvalid action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 0
|
|
26
|
+
* @property Optional fields: 1
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdatePgFileAllocationInvalidProperties {
|
|
29
|
+
/**
|
|
30
|
+
* Invalid
|
|
31
|
+
*
|
|
32
|
+
* Marks this allocation as not to be trusted — written, but it should not count as a real binding between the transaction and the file line. Defaults to false; every existing allocation keeps its current meaning.
|
|
33
|
+
* @type {BOOLEAN}
|
|
34
|
+
*/
|
|
35
|
+
Invalid?: boolean | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Is this allocation invalid?
|
|
39
|
+
*
|
|
40
|
+
* Sets or clears the Invalid flag on a file allocation. Its only job — the flag is never a side effect of a line-number or report write.
|
|
41
|
+
*
|
|
42
|
+
* @actionType UPDATE - Updates an existing PgFileAllocation record
|
|
43
|
+
* @module BillingModule
|
|
44
|
+
* @entity PgFileAllocation
|
|
45
|
+
* @entityType DEFAULT (Default)
|
|
46
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid
|
|
47
|
+
* @permission schema.action.updatepgfileallocationinvalid.trigger
|
|
48
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
49
|
+
*/
|
|
50
|
+
export declare class UpdatePgFileAllocationInvalidDto extends OdinRecordUpdateDto<UpdatePgFileAllocationInvalidProperties> {
|
|
51
|
+
/** Used by SDK generators to identify action type */
|
|
52
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
53
|
+
static readonly ACTION_KEY = "UpdatePgFileAllocationInvalid";
|
|
54
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
55
|
+
static readonly ENTITIES: string[];
|
|
56
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
57
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid";
|
|
58
|
+
static readonly PERMISSION = "schema.action.updatepgfileallocationinvalid.trigger";
|
|
59
|
+
/** Step metadata - entity this action targets */
|
|
60
|
+
static readonly STEP_ENTITY = "BillingModule:PgFileAllocation";
|
|
61
|
+
static readonly STEP_SCHEMA_ID = "0747b695-c0c0-4d18-b445-40e80ad531b4";
|
|
62
|
+
static readonly STEP_SCHEMA_ACTION_ID = "6497875c-9cae-469b-b2fa-e09488e00d77";
|
|
63
|
+
static readonly STEP_SCHEMA_TYPE_ID = "aebd372f-1c03-4160-a44a-8930181c21f6";
|
|
64
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
65
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
66
|
+
readonly actionName: string;
|
|
67
|
+
readonly schemaActionId: string;
|
|
68
|
+
readonly entity: string;
|
|
69
|
+
constructor(record: OdinRecord<any> | {
|
|
70
|
+
id: string;
|
|
71
|
+
entity: string;
|
|
72
|
+
type?: string;
|
|
73
|
+
}, properties: UpdatePgFileAllocationInvalidProperties, options?: {
|
|
74
|
+
journeyId?: string;
|
|
75
|
+
stageKey?: string;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdatePgFileAllocationInvalid Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Sets or clears the Invalid flag on a file allocation. Its only job — the flag is never a side effect of a line-number or report write.
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgFileAllocation
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey UpdatePgFileAllocationInvalid
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdatePgFileAllocationInvalidDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Is this allocation invalid?
|
|
20
|
+
*
|
|
21
|
+
* Sets or clears the Invalid flag on a file allocation. Its only job — the flag is never a side effect of a line-number or report write.
|
|
22
|
+
*
|
|
23
|
+
* @actionType UPDATE - Updates an existing PgFileAllocation record
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgFileAllocation
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid
|
|
28
|
+
* @permission schema.action.updatepgfileallocationinvalid.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class UpdatePgFileAllocationInvalidDto extends core_1.OdinRecordUpdateDto {
|
|
32
|
+
constructor(record, properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
id: record.id,
|
|
35
|
+
entity: record.entity,
|
|
36
|
+
type: record.type,
|
|
37
|
+
properties,
|
|
38
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
39
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'UpdatePgFileAllocationInvalid';
|
|
42
|
+
this.schemaActionId = '6497875c-9cae-469b-b2fa-e09488e00d77';
|
|
43
|
+
this.entity = 'BillingModule:PgFileAllocation';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdatePgFileAllocationInvalidDto = UpdatePgFileAllocationInvalidDto;
|
|
47
|
+
/** Used by SDK generators to identify action type */
|
|
48
|
+
UpdatePgFileAllocationInvalidDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
+
UpdatePgFileAllocationInvalidDto.ACTION_KEY = 'UpdatePgFileAllocationInvalid';
|
|
50
|
+
UpdatePgFileAllocationInvalidDto.MODULE_NAME = 'BillingModule';
|
|
51
|
+
UpdatePgFileAllocationInvalidDto.ENTITIES = ['PgFileAllocation'];
|
|
52
|
+
UpdatePgFileAllocationInvalidDto.ENTITY_TYPE = 'DEFAULT';
|
|
53
|
+
UpdatePgFileAllocationInvalidDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocationInvalid';
|
|
54
|
+
UpdatePgFileAllocationInvalidDto.PERMISSION = 'schema.action.updatepgfileallocationinvalid.trigger';
|
|
55
|
+
/** Step metadata - entity this action targets */
|
|
56
|
+
UpdatePgFileAllocationInvalidDto.STEP_ENTITY = 'BillingModule:PgFileAllocation';
|
|
57
|
+
UpdatePgFileAllocationInvalidDto.STEP_SCHEMA_ID = '0747b695-c0c0-4d18-b445-40e80ad531b4';
|
|
58
|
+
UpdatePgFileAllocationInvalidDto.STEP_SCHEMA_ACTION_ID = '6497875c-9cae-469b-b2fa-e09488e00d77';
|
|
59
|
+
UpdatePgFileAllocationInvalidDto.STEP_SCHEMA_TYPE_ID = 'aebd372f-1c03-4160-a44a-8930181c21f6';
|
|
60
|
+
UpdatePgFileAllocationInvalidDto.STEP_TYPE = 'DEFAULT';
|
|
61
|
+
UpdatePgFileAllocationInvalidDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
2
|
+
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
3
|
+
import { OdinSearchV2, OdinRecordCreateDto, OdinRecordUpdateDto } from '@d19n/odin-types/dist/core';
|
|
4
|
+
import { YfAgentLocationProperties } from '../entities-v2/YfAgentLocation';
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use OdinApiClient.
|
|
7
|
+
*
|
|
8
|
+
* Migration:
|
|
9
|
+
* - Old: new YfAgentLocationApi(authParams).get(id)
|
|
10
|
+
* - New: new odin.yfagentlocation.get(id)
|
|
11
|
+
*
|
|
12
|
+
* The new OdinApiClient returns typed record wrappers with action methods.
|
|
13
|
+
*/
|
|
14
|
+
export declare class YfAgentLocationApi extends ApiProvider {
|
|
15
|
+
protected readonly authToken?: string;
|
|
16
|
+
private readonly moduleName;
|
|
17
|
+
private readonly entityName;
|
|
18
|
+
private sourceRecord;
|
|
19
|
+
constructor(authParams?: OauthParams, authToken?: string);
|
|
20
|
+
setRecord(sourceRecord: any): void;
|
|
21
|
+
schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
|
|
22
|
+
search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<YfAgentLocationProperties>>>;
|
|
23
|
+
searchAndPaginate(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<YfAgentLocationProperties>>>;
|
|
24
|
+
reIndex(body: {
|
|
25
|
+
id: string;
|
|
26
|
+
schemaId: string;
|
|
27
|
+
}[]): Promise<any>;
|
|
28
|
+
get(yfAgentLocationId: string): Promise<import("@d19n/odin-types/dist/core").OdinRecord<YfAgentLocationProperties>>;
|
|
29
|
+
getMany(yfAgentLocationIds: string[]): Promise<import("@d19n/odin-types/dist/core").OdinRecord<YfAgentLocationProperties>[]>;
|
|
30
|
+
upsert(upsertDto: OdinRecordCreateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
|
|
31
|
+
upsertMany(upsertDtos: OdinRecordCreateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
|
|
32
|
+
update(updateDto: OdinRecordUpdateDto): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes>;
|
|
33
|
+
updateMany(updateDtos: OdinRecordUpdateDto[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").IDbRecordCreateUpdateRes[]>;
|
|
34
|
+
delete(yfAgentLocationId: string): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
|
|
35
|
+
deleteMany(yfAgentLocationIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinDeleteResponse[]>;
|
|
36
|
+
restore(yfAgentLocationIds: string[]): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinRestoreResponse[]>;
|
|
37
|
+
applyAction(dto: any): Promise<any[]>;
|
|
38
|
+
bulkApplyActions(dtos: any[]): Promise<any[]>;
|
|
39
|
+
getVersions(): Promise<{
|
|
40
|
+
[key: string]: Record<string, any>;
|
|
41
|
+
}>;
|
|
42
|
+
getRevisionTimeline(): Promise<{
|
|
43
|
+
[key: string]: Record<string, any>[];
|
|
44
|
+
}>;
|
|
45
|
+
}
|