@d19n/youfibre-odin-sdk 1.0.306 → 1.0.307
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 +15 -8
- 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/YfStockAuditAccessor.d.ts +111 -0
- package/dist/accessors-v2/YfStockAuditAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +3 -1
- package/dist/actions-v2/CloseConversationDto.d.ts +94 -0
- package/dist/actions-v2/CloseConversationDto.js +61 -0
- package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +9 -10
- package/dist/actions-v2/CreateYfStockAuditDto.d.ts +58 -0
- package/dist/actions-v2/CreateYfStockAuditDto.js +54 -0
- package/dist/db-accessors-v2/YfStockAuditDbAccessor.d.ts +103 -0
- package/dist/db-accessors-v2/YfStockAuditDbAccessor.js +181 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +3 -1
- package/dist/entities-v2/Email.d.ts +17 -17
- package/dist/entities-v2/Email.js +2 -2
- package/dist/entities-v2/Order.d.ts +512 -512
- package/dist/entities-v2/Order.js +232 -232
- package/dist/records-v2/ConversationRecord.d.ts +23 -0
- package/dist/records-v2/ConversationRecord.js +28 -0
- package/dist/records-v2/NoteRecord.d.ts +20 -0
- package/dist/records-v2/NoteRecord.js +33 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +20 -0
- package/dist/records-v2/WorkOrderRecord.js +33 -0
- package/dist/records-v2/YfStockAuditRecord.d.ts +162 -0
- package/dist/records-v2/YfStockAuditRecord.js +236 -0
- package/dist/records-v2/index.d.ts +2 -1
- package/dist/records-v2/index.js +10 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -347,7 +347,7 @@ This SDK includes **159** entities across **12** modules.
|
|
|
347
347
|
|
|
348
348
|
## Actions
|
|
349
349
|
|
|
350
|
-
This SDK includes **
|
|
350
|
+
This SDK includes **496** actions.
|
|
351
351
|
|
|
352
352
|
### Action Types
|
|
353
353
|
|
|
@@ -965,6 +965,14 @@ This SDK includes **494** actions.
|
|
|
965
965
|
| `CreateOntReplacementApproval` | CREATE | FieldServiceModule.OntReplacementApproval.Create.CreateOntReplacementApproval |
|
|
966
966
|
| `RequestToReplaceOnt` | CREATE | FieldServiceModule.OntReplacementApproval.Create.CreateOntReplacementApproval |
|
|
967
967
|
|
|
968
|
+
#### Conversation
|
|
969
|
+
|
|
970
|
+
| Action | Type | Event |
|
|
971
|
+
|--------|------|-------|
|
|
972
|
+
| `CloseConversation` | UPDATE | NotificationModule.Conversation.Update.CloseConversation |
|
|
973
|
+
| `CreateConversation` | CREATE | NotificationModule.Conversation.Create.CreateConversation |
|
|
974
|
+
| `UpdateConversation` | UPDATE | NotificationModule.Conversation.Update.UpdateConversation |
|
|
975
|
+
|
|
968
976
|
#### UgAuditOfInstallation
|
|
969
977
|
|
|
970
978
|
| Action | Type | Event |
|
|
@@ -1072,13 +1080,6 @@ This SDK includes **494** actions.
|
|
|
1072
1080
|
| `UpdateContact` | UPDATE | CrmModule.Contact.Update.UpdateContact |
|
|
1073
1081
|
| `UpdateReferralCode` | UPDATE | CrmModule.Contact.Update.UpdateReferralCode |
|
|
1074
1082
|
|
|
1075
|
-
#### Conversation
|
|
1076
|
-
|
|
1077
|
-
| Action | Type | Event |
|
|
1078
|
-
|--------|------|-------|
|
|
1079
|
-
| `CreateConversation` | CREATE | NotificationModule.Conversation.Create.CreateConversation |
|
|
1080
|
-
| `UpdateConversation` | UPDATE | NotificationModule.Conversation.Update.UpdateConversation |
|
|
1081
|
-
|
|
1082
1083
|
#### CustomerDeviceOnt
|
|
1083
1084
|
|
|
1084
1085
|
| Action | Type | Event |
|
|
@@ -1474,6 +1475,12 @@ This SDK includes **494** actions.
|
|
|
1474
1475
|
|--------|------|-------|
|
|
1475
1476
|
| `CreateWorkOrderStatusUpdate` | CREATE | FieldServiceModule.WorkOrderStatusUpdate.Create.CreateWorkOrderStatusUpdate |
|
|
1476
1477
|
|
|
1478
|
+
#### YfStockAudit
|
|
1479
|
+
|
|
1480
|
+
| Action | Type | Event |
|
|
1481
|
+
|--------|------|-------|
|
|
1482
|
+
| `CreateYfStockAudit` | CREATE | FieldServiceModule.YfStockAudit.Create.CreateYfStockAudit |
|
|
1483
|
+
|
|
1477
1484
|
#### CreditNote
|
|
1478
1485
|
|
|
1479
1486
|
| Action | Type | Event |
|
package/dist/EntityRegistry.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ import { WayleaveAuditAccessor } from './accessors-v2/WayleaveAuditAccessor';
|
|
|
112
112
|
import { WorkOrderAccessor } from './accessors-v2/WorkOrderAccessor';
|
|
113
113
|
import { WorkOrderStatusUpdateAccessor } from './accessors-v2/WorkOrderStatusUpdateAccessor';
|
|
114
114
|
import { YfFieldServiceVisitAccessor } from './accessors-v2/YfFieldServiceVisitAccessor';
|
|
115
|
+
import { YfStockAuditAccessor } from './accessors-v2/YfStockAuditAccessor';
|
|
115
116
|
export declare const EntityRegistry: {
|
|
116
117
|
readonly Account: typeof AccountAccessor;
|
|
117
118
|
readonly Activity: typeof ActivityAccessor;
|
|
@@ -214,6 +215,7 @@ export declare const EntityRegistry: {
|
|
|
214
215
|
readonly WorkOrder: typeof WorkOrderAccessor;
|
|
215
216
|
readonly WorkOrderStatusUpdate: typeof WorkOrderStatusUpdateAccessor;
|
|
216
217
|
readonly YfFieldServiceVisit: typeof YfFieldServiceVisitAccessor;
|
|
218
|
+
readonly YfStockAudit: typeof YfStockAuditAccessor;
|
|
217
219
|
};
|
|
218
220
|
export declare type EntityName = keyof typeof EntityRegistry;
|
|
219
221
|
export declare function getAccessor<T extends EntityName>(entityName: T, provider: any): InstanceType<(typeof EntityRegistry)[T]>;
|
package/dist/EntityRegistry.js
CHANGED
|
@@ -115,6 +115,7 @@ const WayleaveAuditAccessor_1 = require("./accessors-v2/WayleaveAuditAccessor");
|
|
|
115
115
|
const WorkOrderAccessor_1 = require("./accessors-v2/WorkOrderAccessor");
|
|
116
116
|
const WorkOrderStatusUpdateAccessor_1 = require("./accessors-v2/WorkOrderStatusUpdateAccessor");
|
|
117
117
|
const YfFieldServiceVisitAccessor_1 = require("./accessors-v2/YfFieldServiceVisitAccessor");
|
|
118
|
+
const YfStockAuditAccessor_1 = require("./accessors-v2/YfStockAuditAccessor");
|
|
118
119
|
exports.EntityRegistry = {
|
|
119
120
|
'Account': AccountAccessor_1.AccountAccessor,
|
|
120
121
|
'Activity': ActivityAccessor_1.ActivityAccessor,
|
|
@@ -217,6 +218,7 @@ exports.EntityRegistry = {
|
|
|
217
218
|
'WorkOrder': WorkOrderAccessor_1.WorkOrderAccessor,
|
|
218
219
|
'WorkOrderStatusUpdate': WorkOrderStatusUpdateAccessor_1.WorkOrderStatusUpdateAccessor,
|
|
219
220
|
'YfFieldServiceVisit': YfFieldServiceVisitAccessor_1.YfFieldServiceVisitAccessor,
|
|
221
|
+
'YfStockAudit': YfStockAuditAccessor_1.YfStockAuditAccessor,
|
|
220
222
|
};
|
|
221
223
|
function getAccessor(entityName, provider) {
|
|
222
224
|
const Accessor = exports.EntityRegistry[entityName];
|
package/dist/OdinApiClient.d.ts
CHANGED
|
@@ -122,6 +122,7 @@ import { WayleaveAuditAccessor } from './accessors-v2/WayleaveAuditAccessor';
|
|
|
122
122
|
import { WorkOrderAccessor } from './accessors-v2/WorkOrderAccessor';
|
|
123
123
|
import { WorkOrderStatusUpdateAccessor } from './accessors-v2/WorkOrderStatusUpdateAccessor';
|
|
124
124
|
import { YfFieldServiceVisitAccessor } from './accessors-v2/YfFieldServiceVisitAccessor';
|
|
125
|
+
import { YfStockAuditAccessor } from './accessors-v2/YfStockAuditAccessor';
|
|
125
126
|
export interface OdinApiClientConfig {
|
|
126
127
|
/** ODIN API host (e.g., 'api.yourdomain.com') */
|
|
127
128
|
host: string;
|
|
@@ -233,6 +234,7 @@ export declare class OdinApiClient {
|
|
|
233
234
|
private _workOrders?;
|
|
234
235
|
private _workOrderStatusUpdates?;
|
|
235
236
|
private _yfFieldServiceVisits?;
|
|
237
|
+
private _yfStockAudits?;
|
|
236
238
|
/**
|
|
237
239
|
* Create a new OdinApiClient
|
|
238
240
|
*
|
|
@@ -446,6 +448,8 @@ export declare class OdinApiClient {
|
|
|
446
448
|
get workOrderStatusUpdates(): WorkOrderStatusUpdateAccessor;
|
|
447
449
|
/** Access YfFieldServiceVisit records */
|
|
448
450
|
get yfFieldServiceVisits(): YfFieldServiceVisitAccessor;
|
|
451
|
+
/** Access YfStockAudit records */
|
|
452
|
+
get yfStockAudits(): YfStockAuditAccessor;
|
|
449
453
|
/** Access the underlying ApiProvider for advanced operations */
|
|
450
454
|
get provider(): ApiProvider;
|
|
451
455
|
/** Manually authenticate (usually not needed, handled automatically) */
|
package/dist/OdinApiClient.js
CHANGED
|
@@ -133,6 +133,7 @@ const WayleaveAuditAccessor_1 = require("./accessors-v2/WayleaveAuditAccessor");
|
|
|
133
133
|
const WorkOrderAccessor_1 = require("./accessors-v2/WorkOrderAccessor");
|
|
134
134
|
const WorkOrderStatusUpdateAccessor_1 = require("./accessors-v2/WorkOrderStatusUpdateAccessor");
|
|
135
135
|
const YfFieldServiceVisitAccessor_1 = require("./accessors-v2/YfFieldServiceVisitAccessor");
|
|
136
|
+
const YfStockAuditAccessor_1 = require("./accessors-v2/YfStockAuditAccessor");
|
|
136
137
|
class OdinApiClient {
|
|
137
138
|
// ============================================
|
|
138
139
|
// CONSTRUCTOR
|
|
@@ -868,6 +869,13 @@ class OdinApiClient {
|
|
|
868
869
|
}
|
|
869
870
|
return this._yfFieldServiceVisits;
|
|
870
871
|
}
|
|
872
|
+
/** Access YfStockAudit records */
|
|
873
|
+
get yfStockAudits() {
|
|
874
|
+
if (!this._yfStockAudits) {
|
|
875
|
+
this._yfStockAudits = new YfStockAuditAccessor_1.YfStockAuditAccessor(this._provider);
|
|
876
|
+
}
|
|
877
|
+
return this._yfStockAudits;
|
|
878
|
+
}
|
|
871
879
|
// ============================================
|
|
872
880
|
// PROVIDER ACCESS
|
|
873
881
|
// ============================================
|
package/dist/OdinDbClient.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ import { WayleaveAuditDbAccessor } from './db-accessors-v2/WayleaveAuditDbAccess
|
|
|
118
118
|
import { WorkOrderDbAccessor } from './db-accessors-v2/WorkOrderDbAccessor';
|
|
119
119
|
import { WorkOrderStatusUpdateDbAccessor } from './db-accessors-v2/WorkOrderStatusUpdateDbAccessor';
|
|
120
120
|
import { YfFieldServiceVisitDbAccessor } from './db-accessors-v2/YfFieldServiceVisitDbAccessor';
|
|
121
|
+
import { YfStockAuditDbAccessor } from './db-accessors-v2/YfStockAuditDbAccessor';
|
|
121
122
|
export declare class OdinDbClient {
|
|
122
123
|
private readonly _principal;
|
|
123
124
|
private readonly _dbService;
|
|
@@ -222,6 +223,7 @@ export declare class OdinDbClient {
|
|
|
222
223
|
private _workOrders?;
|
|
223
224
|
private _workOrderStatusUpdates?;
|
|
224
225
|
private _yfFieldServiceVisits?;
|
|
226
|
+
private _yfStockAudits?;
|
|
225
227
|
/**
|
|
226
228
|
* Create a new OdinDbClient
|
|
227
229
|
*
|
|
@@ -431,6 +433,8 @@ export declare class OdinDbClient {
|
|
|
431
433
|
get workOrderStatusUpdates(): WorkOrderStatusUpdateDbAccessor;
|
|
432
434
|
/** Access YfFieldServiceVisit records */
|
|
433
435
|
get yfFieldServiceVisits(): YfFieldServiceVisitDbAccessor;
|
|
436
|
+
/** Access YfStockAudit records */
|
|
437
|
+
get yfStockAudits(): YfStockAuditDbAccessor;
|
|
434
438
|
/** Get the current principal */
|
|
435
439
|
get principal(): any;
|
|
436
440
|
/** Get the database service */
|
package/dist/OdinDbClient.js
CHANGED
|
@@ -121,6 +121,7 @@ const WayleaveAuditDbAccessor_1 = require("./db-accessors-v2/WayleaveAuditDbAcce
|
|
|
121
121
|
const WorkOrderDbAccessor_1 = require("./db-accessors-v2/WorkOrderDbAccessor");
|
|
122
122
|
const WorkOrderStatusUpdateDbAccessor_1 = require("./db-accessors-v2/WorkOrderStatusUpdateDbAccessor");
|
|
123
123
|
const YfFieldServiceVisitDbAccessor_1 = require("./db-accessors-v2/YfFieldServiceVisitDbAccessor");
|
|
124
|
+
const YfStockAuditDbAccessor_1 = require("./db-accessors-v2/YfStockAuditDbAccessor");
|
|
124
125
|
class OdinDbClient {
|
|
125
126
|
// ============================================
|
|
126
127
|
// CONSTRUCTOR
|
|
@@ -845,6 +846,13 @@ class OdinDbClient {
|
|
|
845
846
|
}
|
|
846
847
|
return this._yfFieldServiceVisits;
|
|
847
848
|
}
|
|
849
|
+
/** Access YfStockAudit records */
|
|
850
|
+
get yfStockAudits() {
|
|
851
|
+
if (!this._yfStockAudits) {
|
|
852
|
+
this._yfStockAudits = new YfStockAuditDbAccessor_1.YfStockAuditDbAccessor(this._principal, this._dbService);
|
|
853
|
+
}
|
|
854
|
+
return this._yfStockAudits;
|
|
855
|
+
}
|
|
848
856
|
// ============================================
|
|
849
857
|
// CONTEXT ACCESS
|
|
850
858
|
// ============================================
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YfStockAudit Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to YfStockAudit records via API.
|
|
5
|
+
* Returns wrapped records with typed action methods.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```typescript
|
|
9
|
+
* // Get existing record
|
|
10
|
+
* const record = await accessor.get(id);
|
|
11
|
+
* await record.updateYfStockAudit({ ... });
|
|
12
|
+
*
|
|
13
|
+
* // Create new record
|
|
14
|
+
* const newRecord = accessor.new();
|
|
15
|
+
* await newRecord.createYfStockAudit({ ... });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
|
+
*/
|
|
20
|
+
import { OdinSearchV2 } from '@d19n/odin-types/dist/core';
|
|
21
|
+
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
22
|
+
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
23
|
+
import { QueryBuilder } from '@d19n/odin-sdk-generator/dist/query-builder';
|
|
24
|
+
import { YfStockAuditProperties } from '../entities-v2/YfStockAudit';
|
|
25
|
+
import { YfStockAuditRecord } from '../records-v2/YfStockAuditRecord';
|
|
26
|
+
/** List response with wrapped records */
|
|
27
|
+
export interface YfStockAuditListResponse {
|
|
28
|
+
data: YfStockAuditRecord[];
|
|
29
|
+
hasMore: boolean;
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
}
|
|
32
|
+
/** Search response with wrapped records */
|
|
33
|
+
export interface YfStockAuditSearchResponse {
|
|
34
|
+
records: YfStockAuditRecord[];
|
|
35
|
+
totalRecords: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class YfStockAuditAccessor {
|
|
39
|
+
private readonly _provider;
|
|
40
|
+
private readonly _moduleName;
|
|
41
|
+
private readonly _entityName;
|
|
42
|
+
constructor(provider: ApiProvider);
|
|
43
|
+
constructor(authParams: OauthParams);
|
|
44
|
+
constructor(authToken: string, host?: string);
|
|
45
|
+
get moduleName(): string;
|
|
46
|
+
get entityName(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Create a new empty YfStockAudit record instance for create operations.
|
|
49
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
50
|
+
*
|
|
51
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
52
|
+
* @returns A new record wrapper with pre-generated ID
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```typescript
|
|
56
|
+
* // Auto-generated ID
|
|
57
|
+
* const note = odinClient.notes.new();
|
|
58
|
+
* console.log(note.id); // UUID available immediately
|
|
59
|
+
*
|
|
60
|
+
* // Custom ID
|
|
61
|
+
* const order = odinClient.orders.new("custom-id-123");
|
|
62
|
+
*
|
|
63
|
+
* // Reference ID before save
|
|
64
|
+
* const account = odinClient.accounts.new();
|
|
65
|
+
* const contact = odinClient.contacts.new();
|
|
66
|
+
* await contact
|
|
67
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
68
|
+
* .createContact({ FirstName: "John" });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
new(id?: string): YfStockAuditRecord;
|
|
72
|
+
/**
|
|
73
|
+
* Get a single YfStockAudit record by ID
|
|
74
|
+
*/
|
|
75
|
+
get(id: string): Promise<YfStockAuditRecord>;
|
|
76
|
+
/**
|
|
77
|
+
* Get multiple YfStockAudit records by IDs
|
|
78
|
+
*/
|
|
79
|
+
getMany(ids: string[]): Promise<YfStockAuditRecord[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Search YfStockAudit records
|
|
82
|
+
*/
|
|
83
|
+
search(params: Partial<OdinSearchV2>): Promise<YfStockAuditSearchResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Search all YfStockAudit records with automatic pagination
|
|
86
|
+
*/
|
|
87
|
+
searchAll(params: Partial<OdinSearchV2>): Promise<YfStockAuditRecord[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Async generator for paginating through all matching records.
|
|
90
|
+
* Yields batches of wrapped records.
|
|
91
|
+
*/
|
|
92
|
+
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<YfStockAuditRecord[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a fluent query builder for YfStockAudit records
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```typescript
|
|
98
|
+
* const results = await accessor
|
|
99
|
+
* .query()
|
|
100
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
101
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
102
|
+
* .select('id', 'title', 'properties.*')
|
|
103
|
+
* .sortBy('createdAt', 'desc')
|
|
104
|
+
* .limit(100)
|
|
105
|
+
* .execute();
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
query(): QueryBuilder<YfStockAuditProperties, YfStockAuditRecord>;
|
|
109
|
+
/** Access the underlying ApiProvider */
|
|
110
|
+
get provider(): ApiProvider;
|
|
111
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* YfStockAudit Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to YfStockAudit records via API.
|
|
6
|
+
* Returns wrapped records with typed action methods.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* // Get existing record
|
|
11
|
+
* const record = await accessor.get(id);
|
|
12
|
+
* await record.updateYfStockAudit({ ... });
|
|
13
|
+
*
|
|
14
|
+
* // Create new record
|
|
15
|
+
* const newRecord = accessor.new();
|
|
16
|
+
* await newRecord.createYfStockAudit({ ... });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
20
|
+
*/
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
31
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
32
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
33
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
34
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
35
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
36
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
37
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
38
|
+
function fulfill(value) { resume("next", value); }
|
|
39
|
+
function reject(value) { resume("throw", value); }
|
|
40
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.YfStockAuditAccessor = void 0;
|
|
44
|
+
const api_provider_1 = require("@d19n/odin-sdk-generator/dist/api.provider");
|
|
45
|
+
const query_builder_1 = require("@d19n/odin-sdk-generator/dist/query-builder");
|
|
46
|
+
const YfStockAuditRecord_1 = require("../records-v2/YfStockAuditRecord");
|
|
47
|
+
class YfStockAuditAccessor {
|
|
48
|
+
constructor(providerOrAuth, host) {
|
|
49
|
+
this._moduleName = 'FieldServiceModule';
|
|
50
|
+
this._entityName = 'YfStockAudit';
|
|
51
|
+
if (providerOrAuth instanceof api_provider_1.ApiProvider) {
|
|
52
|
+
this._provider = providerOrAuth;
|
|
53
|
+
}
|
|
54
|
+
else if (typeof providerOrAuth === 'string') {
|
|
55
|
+
// Auth token provided
|
|
56
|
+
this._provider = new api_provider_1.ApiProvider(host ? { host } : undefined, providerOrAuth);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
// OauthParams provided
|
|
60
|
+
this._provider = new api_provider_1.ApiProvider(providerOrAuth);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
get moduleName() { return this._moduleName; }
|
|
64
|
+
get entityName() { return this._entityName; }
|
|
65
|
+
// ============================================
|
|
66
|
+
// RECORD CREATION
|
|
67
|
+
// ============================================
|
|
68
|
+
/**
|
|
69
|
+
* Create a new empty YfStockAudit record instance for create operations.
|
|
70
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
71
|
+
*
|
|
72
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
73
|
+
* @returns A new record wrapper with pre-generated ID
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```typescript
|
|
77
|
+
* // Auto-generated ID
|
|
78
|
+
* const note = odinClient.notes.new();
|
|
79
|
+
* console.log(note.id); // UUID available immediately
|
|
80
|
+
*
|
|
81
|
+
* // Custom ID
|
|
82
|
+
* const order = odinClient.orders.new("custom-id-123");
|
|
83
|
+
*
|
|
84
|
+
* // Reference ID before save
|
|
85
|
+
* const account = odinClient.accounts.new();
|
|
86
|
+
* const contact = odinClient.contacts.new();
|
|
87
|
+
* await contact
|
|
88
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
89
|
+
* .createContact({ FirstName: "John" });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
new(id) {
|
|
93
|
+
return new YfStockAuditRecord_1.YfStockAuditRecord(null, this._provider, id);
|
|
94
|
+
}
|
|
95
|
+
// ============================================
|
|
96
|
+
// RECORD RETRIEVAL
|
|
97
|
+
// ============================================
|
|
98
|
+
/**
|
|
99
|
+
* Get a single YfStockAudit record by ID
|
|
100
|
+
*/
|
|
101
|
+
get(id) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const record = yield this._provider._getByPrimaryKey(this._moduleName, this._entityName, id);
|
|
104
|
+
return new YfStockAuditRecord_1.YfStockAuditRecord(record, this._provider);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get multiple YfStockAudit records by IDs
|
|
109
|
+
*/
|
|
110
|
+
getMany(ids) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
if (ids.length === 0)
|
|
113
|
+
return [];
|
|
114
|
+
const records = yield this._provider._getManyByPrimaryKey(this._moduleName, this._entityName, ids);
|
|
115
|
+
return records.map((r) => new YfStockAuditRecord_1.YfStockAuditRecord(r, this._provider));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ============================================
|
|
119
|
+
// SEARCH OPERATIONS
|
|
120
|
+
// ============================================
|
|
121
|
+
/**
|
|
122
|
+
* Search YfStockAudit records
|
|
123
|
+
*/
|
|
124
|
+
search(params) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const result = yield this._provider._searchRecords(this._moduleName, this._entityName, params);
|
|
127
|
+
return {
|
|
128
|
+
records: result.records.map((r) => new YfStockAuditRecord_1.YfStockAuditRecord(r, this._provider)),
|
|
129
|
+
totalRecords: result.totalRecords,
|
|
130
|
+
hasMore: result.hasMore,
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Search all YfStockAudit records with automatic pagination
|
|
136
|
+
*/
|
|
137
|
+
searchAll(params) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const result = yield this._provider._searchAllRecordsAndPaginate(this._moduleName, this._entityName, params);
|
|
140
|
+
return result.records.map((r) => new YfStockAuditRecord_1.YfStockAuditRecord(r, this._provider));
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Async generator for paginating through all matching records.
|
|
145
|
+
* Yields batches of wrapped records.
|
|
146
|
+
*/
|
|
147
|
+
paginate(params) {
|
|
148
|
+
var _a;
|
|
149
|
+
return __asyncGenerator(this, arguments, function* paginate_1() {
|
|
150
|
+
let hasMore = true;
|
|
151
|
+
let searchAfter;
|
|
152
|
+
const query = Object.assign(Object.assign({}, params.query), { pageSize: ((_a = params.query) === null || _a === void 0 ? void 0 : _a.pageSize) || 500 });
|
|
153
|
+
while (hasMore) {
|
|
154
|
+
const result = yield __await(this._provider._searchRecords(this._moduleName, this._entityName, Object.assign(Object.assign({}, params), { query: Object.assign(Object.assign({}, query), { searchAfter }) })));
|
|
155
|
+
if (result.records.length > 0) {
|
|
156
|
+
yield yield __await(result.records.map((r) => new YfStockAuditRecord_1.YfStockAuditRecord(r, this._provider)));
|
|
157
|
+
const lastRecord = result.records[result.records.length - 1];
|
|
158
|
+
searchAfter = lastRecord === null || lastRecord === void 0 ? void 0 : lastRecord.sort;
|
|
159
|
+
}
|
|
160
|
+
hasMore = result.hasMore && result.records.length >= query.pageSize;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
// ============================================
|
|
165
|
+
// QUERY BUILDER
|
|
166
|
+
// ============================================
|
|
167
|
+
/**
|
|
168
|
+
* Create a fluent query builder for YfStockAudit records
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* ```typescript
|
|
172
|
+
* const results = await accessor
|
|
173
|
+
* .query()
|
|
174
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
175
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
176
|
+
* .select('id', 'title', 'properties.*')
|
|
177
|
+
* .sortBy('createdAt', 'desc')
|
|
178
|
+
* .limit(100)
|
|
179
|
+
* .execute();
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
query() {
|
|
183
|
+
return (0, query_builder_1.createQueryBuilder)(this);
|
|
184
|
+
}
|
|
185
|
+
/** Access the underlying ApiProvider */
|
|
186
|
+
get provider() {
|
|
187
|
+
return this._provider;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.YfStockAuditAccessor = YfStockAuditAccessor;
|
|
@@ -107,3 +107,4 @@ export { WayleaveAuditAccessor, WayleaveAuditSearchResponse, WayleaveAuditListRe
|
|
|
107
107
|
export { WorkOrderAccessor, WorkOrderSearchResponse, WorkOrderListResponse } from './WorkOrderAccessor';
|
|
108
108
|
export { WorkOrderStatusUpdateAccessor, WorkOrderStatusUpdateSearchResponse, WorkOrderStatusUpdateListResponse } from './WorkOrderStatusUpdateAccessor';
|
|
109
109
|
export { YfFieldServiceVisitAccessor, YfFieldServiceVisitSearchResponse, YfFieldServiceVisitListResponse } from './YfFieldServiceVisitAccessor';
|
|
110
|
+
export { YfStockAuditAccessor, YfStockAuditSearchResponse, YfStockAuditListResponse } from './YfStockAuditAccessor';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.OrderAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = exports.OhRetroAuditAccessor = exports.OhInstallationAuditAccessor = exports.OhInProgressAuditAccessor = exports.OhExternalAuditAccessor = exports.OhAuditOfInstallationAccessor = exports.OfferAccessor = exports.NoteAccessor = exports.NetworkDeviceAccessor = exports.MessageAccessor = exports.LeadAccessor = exports.KnowledgeArticleAccessor = exports.InvoiceAccessor = exports.InvoiceItemAccessor = exports.InternalInstallAuditAccessor = exports.ImpersonationTrackerAccessor = exports.FieldServiceProductAccessor = exports.FieldServiceDispatchedProductAccessor = exports.EmailTemplateAccessor = exports.EmailAccessor = exports.DiscountAccessor = exports.CustomerPhonePortingAccessor = exports.CustomerDeviceRouterAccessor = exports.CustomerDeviceOntAccessor = exports.CustomerDeviceAtaAccessor = exports.CrmDatasetAccessor = exports.CreditNoteAccessor = exports.ConversationAccessor = exports.ContractBuyOutAccessor = exports.ContactAccessor = exports.ConfigAccessor = exports.ChurnRequestAccessor = exports.ChangeReasonAccessor = exports.CaseAccessor = exports.CampaignAccessor = exports.CallAccessor = exports.CallLegAccessor = exports.BlockageA55Accessor = exports.BillingRequestAccessor = exports.BillingAdjustmentAccessor = exports.AppointmentAccessor = exports.AffiliateCodeAccessor = exports.AddressAccessor = exports.ActivityAccessor = exports.ActivityLogAccessor = exports.AccountAccessor = void 0;
|
|
12
12
|
exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgRetroAuditAccessor = exports.UgInstallationAuditAccessor = exports.UgInProgressAuditAccessor = exports.UgExternalAuditAccessor = exports.UgAuditOfInstallationAccessor = exports.TwilioUserUpdateAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SweeperMaintenanceAuditAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceVisitAuditAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.ReferralAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = exports.PICRequestAccessor = exports.PgWebhookAccessor = exports.PgWebhookAttemptAccessor = exports.PgVocalinkAccessor = exports.PgTransactionAccessor = exports.PgSortCodeSubstitutionAccessor = exports.PgPaymentMethodAccessor = exports.PgLogAccessor = exports.PgFileAllocationAccessor = exports.PgDisputeAccessor = exports.PgDirectDebitFileAccessor = exports.PgContactAccessor = exports.PgAccountValidationAccessor = exports.PermissionToFailAccessor = exports.PaymentAccessor = exports.PaymentMethodRefundAccessor = exports.PaymentMethodAccessor = exports.OverlayRealA55Accessor = exports.OutageAccessor = void 0;
|
|
13
|
-
exports.YfFieldServiceVisitAccessor = void 0;
|
|
13
|
+
exports.YfStockAuditAccessor = exports.YfFieldServiceVisitAccessor = void 0;
|
|
14
14
|
var AccountAccessor_1 = require("./AccountAccessor");
|
|
15
15
|
Object.defineProperty(exports, "AccountAccessor", { enumerable: true, get: function () { return AccountAccessor_1.AccountAccessor; } });
|
|
16
16
|
var ActivityLogAccessor_1 = require("./ActivityLogAccessor");
|
|
@@ -213,3 +213,5 @@ var WorkOrderStatusUpdateAccessor_1 = require("./WorkOrderStatusUpdateAccessor")
|
|
|
213
213
|
Object.defineProperty(exports, "WorkOrderStatusUpdateAccessor", { enumerable: true, get: function () { return WorkOrderStatusUpdateAccessor_1.WorkOrderStatusUpdateAccessor; } });
|
|
214
214
|
var YfFieldServiceVisitAccessor_1 = require("./YfFieldServiceVisitAccessor");
|
|
215
215
|
Object.defineProperty(exports, "YfFieldServiceVisitAccessor", { enumerable: true, get: function () { return YfFieldServiceVisitAccessor_1.YfFieldServiceVisitAccessor; } });
|
|
216
|
+
var YfStockAuditAccessor_1 = require("./YfStockAuditAccessor");
|
|
217
|
+
Object.defineProperty(exports, "YfStockAuditAccessor", { enumerable: true, get: function () { return YfStockAuditAccessor_1.YfStockAuditAccessor; } });
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloseConversation Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update action for closing a conversation
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Conversation
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey CloseConversation
|
|
10
|
+
* @event 8443898e-c0db-4ce4-a0c4-4ae8e39d312f.NotificationModule.Conversation.Update.CloseConversation
|
|
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 CloseConversation updated events
|
|
17
|
+
*
|
|
18
|
+
* @event NotificationModule.Conversation.Update.CloseConversation
|
|
19
|
+
*/
|
|
20
|
+
export interface CloseConversationMessage extends OdinRecordUpdatedEvent<CloseConversationDto, CloseConversationProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CloseConversation action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 2
|
|
26
|
+
* @property Optional fields: 1
|
|
27
|
+
*/
|
|
28
|
+
export interface CloseConversationProperties {
|
|
29
|
+
/**
|
|
30
|
+
* ClosedBy
|
|
31
|
+
*
|
|
32
|
+
* Data field for Conversation records. Used by Communications team.
|
|
33
|
+
* @type {TEXT}
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
36
|
+
ClosedBy: string;
|
|
37
|
+
/**
|
|
38
|
+
* ClosedAt
|
|
39
|
+
*
|
|
40
|
+
* Data field for Conversation records. Used by Communications team.
|
|
41
|
+
* @type {DATE_TIME}
|
|
42
|
+
* @required
|
|
43
|
+
*/
|
|
44
|
+
ClosedAt: string;
|
|
45
|
+
/**
|
|
46
|
+
* Status
|
|
47
|
+
*
|
|
48
|
+
* the status of the conversation (Communications - Conversation)
|
|
49
|
+
* @type {ENUM}
|
|
50
|
+
* @default CLOSED
|
|
51
|
+
*/
|
|
52
|
+
Status?: string | null;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* CloseConversation
|
|
56
|
+
*
|
|
57
|
+
* Update action for closing a conversation
|
|
58
|
+
*
|
|
59
|
+
* @actionType UPDATE - Updates an existing Conversation record
|
|
60
|
+
* @module NotificationModule
|
|
61
|
+
* @entity Conversation
|
|
62
|
+
* @entityType DEFAULT (Default)
|
|
63
|
+
* @event NotificationModule.Conversation.Update.CloseConversation
|
|
64
|
+
* @permission schema.action.closeconversation.trigger
|
|
65
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
66
|
+
*/
|
|
67
|
+
export declare class CloseConversationDto extends OdinRecordUpdateDto<CloseConversationProperties> {
|
|
68
|
+
/** Used by SDK generators to identify action type */
|
|
69
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
70
|
+
static readonly ACTION_KEY = "CloseConversation";
|
|
71
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
72
|
+
static readonly ENTITIES: string[];
|
|
73
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
74
|
+
static readonly EVENT_NAME = "NotificationModule.Conversation.Update.CloseConversation";
|
|
75
|
+
static readonly PERMISSION = "schema.action.closeconversation.trigger";
|
|
76
|
+
/** Step metadata - entity this action targets */
|
|
77
|
+
static readonly STEP_ENTITY = "NotificationModule:Conversation";
|
|
78
|
+
static readonly STEP_SCHEMA_ID = "3a96ecbc-cc51-4d68-a4eb-1199737ade3a";
|
|
79
|
+
static readonly STEP_SCHEMA_ACTION_ID = "230640af-bb7a-4965-afea-fac0eda5b0d4";
|
|
80
|
+
static readonly STEP_SCHEMA_TYPE_ID = "20ff9844-8142-42cc-a55f-c3e10fa1d26a";
|
|
81
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
82
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
83
|
+
readonly actionName: string;
|
|
84
|
+
readonly schemaActionId: string;
|
|
85
|
+
readonly entity: string;
|
|
86
|
+
constructor(record: OdinRecord<any> | {
|
|
87
|
+
id: string;
|
|
88
|
+
entity: string;
|
|
89
|
+
type?: string;
|
|
90
|
+
}, properties: CloseConversationProperties, options?: {
|
|
91
|
+
journeyId?: string;
|
|
92
|
+
stageKey?: string;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CloseConversation Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update action for closing a conversation
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Conversation
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey CloseConversation
|
|
11
|
+
* @event 8443898e-c0db-4ce4-a0c4-4ae8e39d312f.NotificationModule.Conversation.Update.CloseConversation
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CloseConversationDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CloseConversation
|
|
20
|
+
*
|
|
21
|
+
* Update action for closing a conversation
|
|
22
|
+
*
|
|
23
|
+
* @actionType UPDATE - Updates an existing Conversation record
|
|
24
|
+
* @module NotificationModule
|
|
25
|
+
* @entity Conversation
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @event NotificationModule.Conversation.Update.CloseConversation
|
|
28
|
+
* @permission schema.action.closeconversation.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class CloseConversationDto 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 = 'CloseConversation';
|
|
42
|
+
this.schemaActionId = '230640af-bb7a-4965-afea-fac0eda5b0d4';
|
|
43
|
+
this.entity = 'NotificationModule:Conversation';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CloseConversationDto = CloseConversationDto;
|
|
47
|
+
/** Used by SDK generators to identify action type */
|
|
48
|
+
CloseConversationDto.ACTION_TYPE = 'UPDATE';
|
|
49
|
+
CloseConversationDto.ACTION_KEY = 'CloseConversation';
|
|
50
|
+
CloseConversationDto.MODULE_NAME = 'NotificationModule';
|
|
51
|
+
CloseConversationDto.ENTITIES = ['Conversation'];
|
|
52
|
+
CloseConversationDto.ENTITY_TYPE = 'DEFAULT';
|
|
53
|
+
CloseConversationDto.EVENT_NAME = 'NotificationModule.Conversation.Update.CloseConversation';
|
|
54
|
+
CloseConversationDto.PERMISSION = 'schema.action.closeconversation.trigger';
|
|
55
|
+
/** Step metadata - entity this action targets */
|
|
56
|
+
CloseConversationDto.STEP_ENTITY = 'NotificationModule:Conversation';
|
|
57
|
+
CloseConversationDto.STEP_SCHEMA_ID = '3a96ecbc-cc51-4d68-a4eb-1199737ade3a';
|
|
58
|
+
CloseConversationDto.STEP_SCHEMA_ACTION_ID = '230640af-bb7a-4965-afea-fac0eda5b0d4';
|
|
59
|
+
CloseConversationDto.STEP_SCHEMA_TYPE_ID = '20ff9844-8142-42cc-a55f-c3e10fa1d26a';
|
|
60
|
+
CloseConversationDto.STEP_TYPE = 'DEFAULT';
|
|
61
|
+
CloseConversationDto.AUTO_LINK_PARENT = false;
|