@d19n/youfibre-odin-sdk 2.0.291 → 2.0.293
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 +17 -1
- 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/AgentStatusAccessor.d.ts +111 -0
- package/dist/accessors-v2/AgentStatusAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +5 -3
- package/dist/actions-v2/MovePaymentMethodRefundToFailedDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToFailedDto.js +79 -0
- package/dist/actions-v2/MovePaymentMethodRefundToInProgressDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToInProgressDto.js +79 -0
- package/dist/actions-v2/MovePaymentMethodRefundToRetryingDto.d.ts +114 -0
- package/dist/actions-v2/MovePaymentMethodRefundToRetryingDto.js +79 -0
- package/dist/actions-v2/UpdateAgentStatusDto.d.ts +80 -0
- package/dist/actions-v2/UpdateAgentStatusDto.js +56 -0
- package/dist/actions-v2/UpdatePaymentMethodRefundDto.d.ts +93 -0
- package/dist/actions-v2/UpdatePaymentMethodRefundDto.js +56 -0
- package/dist/db-accessors-v2/AgentStatusDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/AgentStatusDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +5 -3
- package/dist/entities-v2/Case.d.ts +2 -0
- package/dist/entities-v2/Case.js +2 -0
- package/dist/entities-v2/PaymentMethodRefund.d.ts +4 -4
- package/dist/entities-v2/PaymentMethodRefund.js +2 -2
- package/dist/entities-v2/Recontract.d.ts +22 -1
- package/dist/entities-v2/Recontract.js +6 -0
- package/dist/records-v2/AgentStatusRecord.d.ts +203 -0
- package/dist/records-v2/AgentStatusRecord.js +273 -0
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +103 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +124 -0
- package/dist/records-v2/UserRecord.d.ts +20 -0
- package/dist/records-v2/UserRecord.js +33 -0
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -368,7 +368,7 @@ This SDK includes **180** entities across **12** modules.
|
|
|
368
368
|
|
|
369
369
|
## Actions
|
|
370
370
|
|
|
371
|
-
This SDK includes **
|
|
371
|
+
This SDK includes **854** actions.
|
|
372
372
|
|
|
373
373
|
### Action Types
|
|
374
374
|
|
|
@@ -1262,9 +1262,19 @@ This SDK includes **849** actions.
|
|
|
1262
1262
|
| `CompletePaymentMethodRefundFlow` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.CompletePaymentMethodRefund |
|
|
1263
1263
|
| `CreatePaymentMethodRefund` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Create.CreatePaymentMethodRefund |
|
|
1264
1264
|
| `CreatePaymentMethodRefundForContact` | CREATE | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Create.CreatePaymentMethodRefundForContact |
|
|
1265
|
+
| `MovePaymentMethodRefundToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed |
|
|
1266
|
+
| `MovePaymentMethodRefundToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToInProgress |
|
|
1267
|
+
| `MovePaymentMethodRefundToRetrying` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToRetrying |
|
|
1268
|
+
| `UpdatePaymentMethodRefund` | UPDATE | k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund |
|
|
1265
1269
|
|
|
1266
1270
|
**CompletePaymentMethodRefundFlow Target Stages:** `PaymentMethodRefundStageDone`
|
|
1267
1271
|
|
|
1272
|
+
**MovePaymentMethodRefundToFailed Target Stages:** `PaymentMethodRefundPipelineStageFailed`
|
|
1273
|
+
|
|
1274
|
+
**MovePaymentMethodRefundToInProgress Target Stages:** `PaymentMethodRefundStageInProgress`
|
|
1275
|
+
|
|
1276
|
+
**MovePaymentMethodRefundToRetrying Target Stages:** `PaymentMethodRefundPipelineStageRetrying`
|
|
1277
|
+
|
|
1268
1278
|
#### UgExternalAudit
|
|
1269
1279
|
|
|
1270
1280
|
| Action | Type | Event |
|
|
@@ -2318,6 +2328,12 @@ This SDK includes **849** actions.
|
|
|
2318
2328
|
| `ScheduleSlotCreate` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.ScheduleSlot.Create.ScheduleSlotCreate |
|
|
2319
2329
|
| `ScheduleSlotUpdate` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.ScheduleSlot.Update.ScheduleSlotUpdate |
|
|
2320
2330
|
|
|
2331
|
+
#### AgentStatus
|
|
2332
|
+
|
|
2333
|
+
| Action | Type | Event |
|
|
2334
|
+
|--------|------|-------|
|
|
2335
|
+
| `UpdateAgentStatus` | UPDATE | k1.t-hEOJjsDb.SupportModule.AgentStatus.Update.UpdateAgentStatus |
|
|
2336
|
+
|
|
2321
2337
|
#### NotificationTemplate
|
|
2322
2338
|
|
|
2323
2339
|
| Action | Type | Event |
|
package/dist/EntityRegistry.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { ActivityLogAccessor } from './accessors-v2/ActivityLogAccessor';
|
|
|
18
18
|
import { AddressAccessor } from './accessors-v2/AddressAccessor';
|
|
19
19
|
import { AddressInteractionAccessor } from './accessors-v2/AddressInteractionAccessor';
|
|
20
20
|
import { AffiliateCodeAccessor } from './accessors-v2/AffiliateCodeAccessor';
|
|
21
|
+
import { AgentStatusAccessor } from './accessors-v2/AgentStatusAccessor';
|
|
21
22
|
import { AppointmentAccessor } from './accessors-v2/AppointmentAccessor';
|
|
22
23
|
import { BillingAdjustmentAccessor } from './accessors-v2/BillingAdjustmentAccessor';
|
|
23
24
|
import { BillingRequestAccessor } from './accessors-v2/BillingRequestAccessor';
|
|
@@ -138,6 +139,7 @@ export declare const EntityRegistry: {
|
|
|
138
139
|
readonly Address: typeof AddressAccessor;
|
|
139
140
|
readonly AddressInteraction: typeof AddressInteractionAccessor;
|
|
140
141
|
readonly AffiliateCode: typeof AffiliateCodeAccessor;
|
|
142
|
+
readonly AgentStatus: typeof AgentStatusAccessor;
|
|
141
143
|
readonly Appointment: typeof AppointmentAccessor;
|
|
142
144
|
readonly BillingAdjustment: typeof BillingAdjustmentAccessor;
|
|
143
145
|
readonly BillingRequest: typeof BillingRequestAccessor;
|
package/dist/EntityRegistry.js
CHANGED
|
@@ -21,6 +21,7 @@ const ActivityLogAccessor_1 = require("./accessors-v2/ActivityLogAccessor");
|
|
|
21
21
|
const AddressAccessor_1 = require("./accessors-v2/AddressAccessor");
|
|
22
22
|
const AddressInteractionAccessor_1 = require("./accessors-v2/AddressInteractionAccessor");
|
|
23
23
|
const AffiliateCodeAccessor_1 = require("./accessors-v2/AffiliateCodeAccessor");
|
|
24
|
+
const AgentStatusAccessor_1 = require("./accessors-v2/AgentStatusAccessor");
|
|
24
25
|
const AppointmentAccessor_1 = require("./accessors-v2/AppointmentAccessor");
|
|
25
26
|
const BillingAdjustmentAccessor_1 = require("./accessors-v2/BillingAdjustmentAccessor");
|
|
26
27
|
const BillingRequestAccessor_1 = require("./accessors-v2/BillingRequestAccessor");
|
|
@@ -141,6 +142,7 @@ exports.EntityRegistry = {
|
|
|
141
142
|
'Address': AddressAccessor_1.AddressAccessor,
|
|
142
143
|
'AddressInteraction': AddressInteractionAccessor_1.AddressInteractionAccessor,
|
|
143
144
|
'AffiliateCode': AffiliateCodeAccessor_1.AffiliateCodeAccessor,
|
|
145
|
+
'AgentStatus': AgentStatusAccessor_1.AgentStatusAccessor,
|
|
144
146
|
'Appointment': AppointmentAccessor_1.AppointmentAccessor,
|
|
145
147
|
'BillingAdjustment': BillingAdjustmentAccessor_1.BillingAdjustmentAccessor,
|
|
146
148
|
'BillingRequest': BillingRequestAccessor_1.BillingRequestAccessor,
|
package/dist/OdinApiClient.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { ActivityLogAccessor } from './accessors-v2/ActivityLogAccessor';
|
|
|
28
28
|
import { AddressAccessor } from './accessors-v2/AddressAccessor';
|
|
29
29
|
import { AddressInteractionAccessor } from './accessors-v2/AddressInteractionAccessor';
|
|
30
30
|
import { AffiliateCodeAccessor } from './accessors-v2/AffiliateCodeAccessor';
|
|
31
|
+
import { AgentStatusAccessor } from './accessors-v2/AgentStatusAccessor';
|
|
31
32
|
import { AppointmentAccessor } from './accessors-v2/AppointmentAccessor';
|
|
32
33
|
import { BillingAdjustmentAccessor } from './accessors-v2/BillingAdjustmentAccessor';
|
|
33
34
|
import { BillingRequestAccessor } from './accessors-v2/BillingRequestAccessor';
|
|
@@ -157,6 +158,7 @@ export declare class OdinApiClient {
|
|
|
157
158
|
private _addresses?;
|
|
158
159
|
private _addressInteractions?;
|
|
159
160
|
private _affiliateCodes?;
|
|
161
|
+
private _agentStatuses?;
|
|
160
162
|
private _appointments?;
|
|
161
163
|
private _billingAdjustments?;
|
|
162
164
|
private _billingRequests?;
|
|
@@ -294,6 +296,8 @@ export declare class OdinApiClient {
|
|
|
294
296
|
get addressInteractions(): AddressInteractionAccessor;
|
|
295
297
|
/** Access AffiliateCode records */
|
|
296
298
|
get affiliateCodes(): AffiliateCodeAccessor;
|
|
299
|
+
/** Access AgentStatus records */
|
|
300
|
+
get agentStatuses(): AgentStatusAccessor;
|
|
297
301
|
/** Access Appointment records */
|
|
298
302
|
get appointments(): AppointmentAccessor;
|
|
299
303
|
/** Access BillingAdjustment records */
|
package/dist/OdinApiClient.js
CHANGED
|
@@ -39,6 +39,7 @@ const ActivityLogAccessor_1 = require("./accessors-v2/ActivityLogAccessor");
|
|
|
39
39
|
const AddressAccessor_1 = require("./accessors-v2/AddressAccessor");
|
|
40
40
|
const AddressInteractionAccessor_1 = require("./accessors-v2/AddressInteractionAccessor");
|
|
41
41
|
const AffiliateCodeAccessor_1 = require("./accessors-v2/AffiliateCodeAccessor");
|
|
42
|
+
const AgentStatusAccessor_1 = require("./accessors-v2/AgentStatusAccessor");
|
|
42
43
|
const AppointmentAccessor_1 = require("./accessors-v2/AppointmentAccessor");
|
|
43
44
|
const BillingAdjustmentAccessor_1 = require("./accessors-v2/BillingAdjustmentAccessor");
|
|
44
45
|
const BillingRequestAccessor_1 = require("./accessors-v2/BillingRequestAccessor");
|
|
@@ -228,6 +229,13 @@ class OdinApiClient {
|
|
|
228
229
|
}
|
|
229
230
|
return this._affiliateCodes;
|
|
230
231
|
}
|
|
232
|
+
/** Access AgentStatus records */
|
|
233
|
+
get agentStatuses() {
|
|
234
|
+
if (!this._agentStatuses) {
|
|
235
|
+
this._agentStatuses = new AgentStatusAccessor_1.AgentStatusAccessor(this._provider);
|
|
236
|
+
}
|
|
237
|
+
return this._agentStatuses;
|
|
238
|
+
}
|
|
231
239
|
/** Access Appointment records */
|
|
232
240
|
get appointments() {
|
|
233
241
|
if (!this._appointments) {
|
package/dist/OdinDbClient.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { ActivityLogDbAccessor } from './db-accessors-v2/ActivityLogDbAccessor';
|
|
|
35
35
|
import { AddressDbAccessor } from './db-accessors-v2/AddressDbAccessor';
|
|
36
36
|
import { AddressInteractionDbAccessor } from './db-accessors-v2/AddressInteractionDbAccessor';
|
|
37
37
|
import { AffiliateCodeDbAccessor } from './db-accessors-v2/AffiliateCodeDbAccessor';
|
|
38
|
+
import { AgentStatusDbAccessor } from './db-accessors-v2/AgentStatusDbAccessor';
|
|
38
39
|
import { AppointmentDbAccessor } from './db-accessors-v2/AppointmentDbAccessor';
|
|
39
40
|
import { BillingAdjustmentDbAccessor } from './db-accessors-v2/BillingAdjustmentDbAccessor';
|
|
40
41
|
import { BillingRequestDbAccessor } from './db-accessors-v2/BillingRequestDbAccessor';
|
|
@@ -158,6 +159,7 @@ export declare class OdinDbClient {
|
|
|
158
159
|
private _addresses?;
|
|
159
160
|
private _addressInteractions?;
|
|
160
161
|
private _affiliateCodes?;
|
|
162
|
+
private _agentStatuses?;
|
|
161
163
|
private _appointments?;
|
|
162
164
|
private _billingAdjustments?;
|
|
163
165
|
private _billingRequests?;
|
|
@@ -304,6 +306,8 @@ export declare class OdinDbClient {
|
|
|
304
306
|
get addressInteractions(): AddressInteractionDbAccessor;
|
|
305
307
|
/** Access AffiliateCode records */
|
|
306
308
|
get affiliateCodes(): AffiliateCodeDbAccessor;
|
|
309
|
+
/** Access AgentStatus records */
|
|
310
|
+
get agentStatuses(): AgentStatusDbAccessor;
|
|
307
311
|
/** Access Appointment records */
|
|
308
312
|
get appointments(): AppointmentDbAccessor;
|
|
309
313
|
/** Access BillingAdjustment records */
|
package/dist/OdinDbClient.js
CHANGED
|
@@ -37,6 +37,7 @@ const ActivityLogDbAccessor_1 = require("./db-accessors-v2/ActivityLogDbAccessor
|
|
|
37
37
|
const AddressDbAccessor_1 = require("./db-accessors-v2/AddressDbAccessor");
|
|
38
38
|
const AddressInteractionDbAccessor_1 = require("./db-accessors-v2/AddressInteractionDbAccessor");
|
|
39
39
|
const AffiliateCodeDbAccessor_1 = require("./db-accessors-v2/AffiliateCodeDbAccessor");
|
|
40
|
+
const AgentStatusDbAccessor_1 = require("./db-accessors-v2/AgentStatusDbAccessor");
|
|
40
41
|
const AppointmentDbAccessor_1 = require("./db-accessors-v2/AppointmentDbAccessor");
|
|
41
42
|
const BillingAdjustmentDbAccessor_1 = require("./db-accessors-v2/BillingAdjustmentDbAccessor");
|
|
42
43
|
const BillingRequestDbAccessor_1 = require("./db-accessors-v2/BillingRequestDbAccessor");
|
|
@@ -229,6 +230,13 @@ class OdinDbClient {
|
|
|
229
230
|
}
|
|
230
231
|
return this._affiliateCodes;
|
|
231
232
|
}
|
|
233
|
+
/** Access AgentStatus records */
|
|
234
|
+
get agentStatuses() {
|
|
235
|
+
if (!this._agentStatuses) {
|
|
236
|
+
this._agentStatuses = new AgentStatusDbAccessor_1.AgentStatusDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
237
|
+
}
|
|
238
|
+
return this._agentStatuses;
|
|
239
|
+
}
|
|
232
240
|
/** Access Appointment records */
|
|
233
241
|
get appointments() {
|
|
234
242
|
if (!this._appointments) {
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentStatus Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to AgentStatus 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.updateAgentStatus({ ... });
|
|
12
|
+
*
|
|
13
|
+
* // Create new record
|
|
14
|
+
* const newRecord = accessor.new();
|
|
15
|
+
* await newRecord.createAgentStatus({ ... });
|
|
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 { AgentStatusProperties } from '../entities-v2/AgentStatus';
|
|
25
|
+
import { AgentStatusRecord } from '../records-v2/AgentStatusRecord';
|
|
26
|
+
/** List response with wrapped records */
|
|
27
|
+
export interface AgentStatusListResponse {
|
|
28
|
+
data: AgentStatusRecord[];
|
|
29
|
+
hasMore: boolean;
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
}
|
|
32
|
+
/** Search response with wrapped records */
|
|
33
|
+
export interface AgentStatusSearchResponse {
|
|
34
|
+
records: AgentStatusRecord[];
|
|
35
|
+
totalRecords: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class AgentStatusAccessor {
|
|
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 AgentStatus 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): AgentStatusRecord;
|
|
72
|
+
/**
|
|
73
|
+
* Get a single AgentStatus record by ID
|
|
74
|
+
*/
|
|
75
|
+
get(id: string): Promise<AgentStatusRecord>;
|
|
76
|
+
/**
|
|
77
|
+
* Get multiple AgentStatus records by IDs
|
|
78
|
+
*/
|
|
79
|
+
getMany(ids: string[]): Promise<AgentStatusRecord[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Search AgentStatus records
|
|
82
|
+
*/
|
|
83
|
+
search(params: Partial<OdinSearchV2>): Promise<AgentStatusSearchResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Search all AgentStatus records with automatic pagination
|
|
86
|
+
*/
|
|
87
|
+
searchAll(params: Partial<OdinSearchV2>): Promise<AgentStatusRecord[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Async generator for paginating through all matching records.
|
|
90
|
+
* Yields batches of wrapped records.
|
|
91
|
+
*/
|
|
92
|
+
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<AgentStatusRecord[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a fluent query builder for AgentStatus 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<AgentStatusProperties, AgentStatusRecord>;
|
|
109
|
+
/** Access the underlying ApiProvider */
|
|
110
|
+
get provider(): ApiProvider;
|
|
111
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* AgentStatus Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to AgentStatus 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.updateAgentStatus({ ... });
|
|
13
|
+
*
|
|
14
|
+
* // Create new record
|
|
15
|
+
* const newRecord = accessor.new();
|
|
16
|
+
* await newRecord.createAgentStatus({ ... });
|
|
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.AgentStatusAccessor = 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 AgentStatusRecord_1 = require("../records-v2/AgentStatusRecord");
|
|
47
|
+
class AgentStatusAccessor {
|
|
48
|
+
constructor(providerOrAuth, host) {
|
|
49
|
+
this._moduleName = 'SupportModule';
|
|
50
|
+
this._entityName = 'AgentStatus';
|
|
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 AgentStatus 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 AgentStatusRecord_1.AgentStatusRecord(null, this._provider, id);
|
|
94
|
+
}
|
|
95
|
+
// ============================================
|
|
96
|
+
// RECORD RETRIEVAL
|
|
97
|
+
// ============================================
|
|
98
|
+
/**
|
|
99
|
+
* Get a single AgentStatus 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 AgentStatusRecord_1.AgentStatusRecord(record, this._provider);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get multiple AgentStatus 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 AgentStatusRecord_1.AgentStatusRecord(r, this._provider));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ============================================
|
|
119
|
+
// SEARCH OPERATIONS
|
|
120
|
+
// ============================================
|
|
121
|
+
/**
|
|
122
|
+
* Search AgentStatus 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 AgentStatusRecord_1.AgentStatusRecord(r, this._provider)),
|
|
129
|
+
totalRecords: result.totalRecords,
|
|
130
|
+
hasMore: result.hasMore,
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Search all AgentStatus 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 AgentStatusRecord_1.AgentStatusRecord(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 AgentStatusRecord_1.AgentStatusRecord(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 AgentStatus 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.AgentStatusAccessor = AgentStatusAccessor;
|
|
@@ -13,6 +13,7 @@ export { ActivityAccessor, ActivitySearchResponse, ActivityListResponse } from '
|
|
|
13
13
|
export { AddressInteractionAccessor, AddressInteractionSearchResponse, AddressInteractionListResponse } from './AddressInteractionAccessor';
|
|
14
14
|
export { AddressAccessor, AddressSearchResponse, AddressListResponse } from './AddressAccessor';
|
|
15
15
|
export { AffiliateCodeAccessor, AffiliateCodeSearchResponse, AffiliateCodeListResponse } from './AffiliateCodeAccessor';
|
|
16
|
+
export { AgentStatusAccessor, AgentStatusSearchResponse, AgentStatusListResponse } from './AgentStatusAccessor';
|
|
16
17
|
export { AppointmentAccessor, AppointmentSearchResponse, AppointmentListResponse } from './AppointmentAccessor';
|
|
17
18
|
export { BillingAdjustmentAccessor, BillingAdjustmentSearchResponse, BillingAdjustmentListResponse } from './BillingAdjustmentAccessor';
|
|
18
19
|
export { BillingRequestAccessor, BillingRequestSearchResponse, BillingRequestListResponse } from './BillingRequestAccessor';
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.YfWifiSurveyAccessor = exports.YfFieldServiceVisitAccessor = exports.YfAgentLocationAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioWorkerAccessor = exports.TwilioUserUpdateAccessor = exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsTemplateAccessor = void 0;
|
|
11
|
+
exports.NetworkDeviceAccessor = exports.ModifyServiceRequestAccessor = exports.MessageAccessor = exports.LeadAccessor = exports.KnowledgeArticleAccessor = exports.InvoiceAccessor = exports.InvoiceItemAccessor = exports.ImpersonationTrackerAccessor = exports.FileAccessor = exports.FieldServiceProductAccessor = exports.FieldServiceDispatchedProductAccessor = exports.ExchangeAccessor = exports.EmailTemplateAccessor = exports.EmailSenderAccessor = exports.EmailAccessor = exports.DiscountAccessor = exports.DataIssueAccessor = exports.CustomerPhonePortingAccessor = exports.CustomerDeviceRouterAccessor = exports.CustomerDeviceAccessor = exports.CustomerDeviceOntAccessor = exports.CustomerDeviceConfigurationAccessor = exports.CustomerDeviceAtaAccessor = exports.CrmDatasetAccessor = exports.CreditNoteAccessor = exports.ConversationSummaryFeedbackAccessor = exports.ConversationAccessor = exports.ContractBuyOutAccessor = exports.ContactAccessor = exports.ContactIdentityAccessor = exports.ConfigAccessor = exports.ChurnRequestAccessor = exports.ChangeReasonAccessor = exports.CaseAccessor = exports.CampaignAccessor = exports.CallAccessor = exports.CallLegAccessor = exports.BrskEntityMigrationErrorAccessor = exports.BngProvisionAccessor = exports.BillingRequestAccessor = exports.BillingAdjustmentAccessor = exports.AppointmentAccessor = exports.AgentStatusAccessor = exports.AffiliateCodeAccessor = exports.AddressAccessor = exports.AddressInteractionAccessor = exports.ActivityAccessor = exports.ActivityLogAccessor = exports.AccountAccessor = exports.AccountCreditAccessor = void 0;
|
|
12
|
+
exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.RegionAccessor = exports.ReferralAccessor = exports.RecontractAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = exports.PgWebhookAccessor = exports.PgWebhookAttemptAccessor = exports.PgVocalinkAccessor = exports.PgTransactionAccessor = exports.PgSortCodeSubstitutionAccessor = exports.PgReportEventAccessor = exports.PgPaymentMethodAccessor = exports.PgLogAccessor = exports.PgFileAllocationAccessor = exports.PgDisputeAccessor = exports.PgDirectDebitFileAccessor = exports.PgContactAccessor = exports.PgAccountValidationAccessor = exports.PermissionToFailAccessor = exports.PaymentAccessor = exports.PaymentMethodRefundAccessor = exports.PaymentMethodAccessor = exports.PICRequestAccessor = exports.OverlayRealA55Accessor = exports.OutboundDialSessionAccessor = exports.OutboundDialCampaignAccessor = exports.OutboundDialCampaignCaseAccessor = exports.OutageAccessor = exports.OrderAccessor = exports.OrderKciAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = exports.OhExternalAuditAccessor = exports.OfferTemplateAccessor = exports.OfferAccessor = exports.NotificationTemplateAccessor = exports.NoteAccessor = void 0;
|
|
13
|
+
exports.YfWifiSurveyAccessor = exports.YfFieldServiceVisitAccessor = exports.YfAgentLocationAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioWorkerAccessor = exports.TwilioUserUpdateAccessor = exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsTemplateAccessor = exports.SmsMessageAccessor = void 0;
|
|
14
14
|
var AccountCreditAccessor_1 = require("./AccountCreditAccessor");
|
|
15
15
|
Object.defineProperty(exports, "AccountCreditAccessor", { enumerable: true, get: function () { return AccountCreditAccessor_1.AccountCreditAccessor; } });
|
|
16
16
|
var AccountAccessor_1 = require("./AccountAccessor");
|
|
@@ -25,6 +25,8 @@ var AddressAccessor_1 = require("./AddressAccessor");
|
|
|
25
25
|
Object.defineProperty(exports, "AddressAccessor", { enumerable: true, get: function () { return AddressAccessor_1.AddressAccessor; } });
|
|
26
26
|
var AffiliateCodeAccessor_1 = require("./AffiliateCodeAccessor");
|
|
27
27
|
Object.defineProperty(exports, "AffiliateCodeAccessor", { enumerable: true, get: function () { return AffiliateCodeAccessor_1.AffiliateCodeAccessor; } });
|
|
28
|
+
var AgentStatusAccessor_1 = require("./AgentStatusAccessor");
|
|
29
|
+
Object.defineProperty(exports, "AgentStatusAccessor", { enumerable: true, get: function () { return AgentStatusAccessor_1.AgentStatusAccessor; } });
|
|
28
30
|
var AppointmentAccessor_1 = require("./AppointmentAccessor");
|
|
29
31
|
Object.defineProperty(exports, "AppointmentAccessor", { enumerable: true, get: function () { return AppointmentAccessor_1.AppointmentAccessor; } });
|
|
30
32
|
var BillingAdjustmentAccessor_1 = require("./BillingAdjustmentAccessor");
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePaymentMethodRefundToFailed Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move PMR To Failed
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PaymentMethodRefund
|
|
8
|
+
* @actionKey MovePaymentMethodRefundToFailed
|
|
9
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
declare type StepClassMap = {};
|
|
15
|
+
/**
|
|
16
|
+
* Link definition for connecting steps in MovePaymentMethodRefundToFailed
|
|
17
|
+
*/
|
|
18
|
+
export interface MovePaymentMethodRefundToFailedStepLink {
|
|
19
|
+
/**
|
|
20
|
+
* The stepKey of the target step to link TO
|
|
21
|
+
* Must reference another step's stepKey in the same flow
|
|
22
|
+
*/
|
|
23
|
+
stepKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The schema association ID (UUID) defining the relationship
|
|
26
|
+
* Use the association.id from the schema association definition
|
|
27
|
+
* @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
28
|
+
*/
|
|
29
|
+
schemaAssociationId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Step definition with linking metadata for MovePaymentMethodRefundToFailed
|
|
33
|
+
*/
|
|
34
|
+
export interface MovePaymentMethodRefundToFailedStepDefinition {
|
|
35
|
+
/** Unique identifier for this step */
|
|
36
|
+
stepKey: string;
|
|
37
|
+
/** The DTO class name for this step */
|
|
38
|
+
dtoClass: string;
|
|
39
|
+
/** The entity this step creates (Module:Entity format) */
|
|
40
|
+
entity: string;
|
|
41
|
+
/** Links to create after this step executes */
|
|
42
|
+
linksTo: MovePaymentMethodRefundToFailedStepLink[] | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Type-safe step keys for MovePaymentMethodRefundToFailed
|
|
46
|
+
*/
|
|
47
|
+
export declare const MovePaymentMethodRefundToFailedSteps: {
|
|
48
|
+
readonly step_1: "step_1";
|
|
49
|
+
};
|
|
50
|
+
export declare type MovePaymentMethodRefundToFailedStepKey = typeof MovePaymentMethodRefundToFailedSteps[keyof typeof MovePaymentMethodRefundToFailedSteps];
|
|
51
|
+
/**
|
|
52
|
+
* RabbitMQ message payload for MovePaymentMethodRefundToFailed step flow events
|
|
53
|
+
*
|
|
54
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
55
|
+
*/
|
|
56
|
+
export interface MovePaymentMethodRefundToFailedMessage extends OdinRecordUpdatedEvent<MovePaymentMethodRefundToFailedDto, {}> {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Properties for MovePaymentMethodRefundToFailed action
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export interface MovePaymentMethodRefundToFailedProperties {
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* MovePaymentMethodRefundToFailed
|
|
66
|
+
*
|
|
67
|
+
* Move PMR To Failed
|
|
68
|
+
*
|
|
69
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
70
|
+
* @module BillingModule
|
|
71
|
+
* @entity PaymentMethodRefund
|
|
72
|
+
* @targetStages PaymentMethodRefundPipelineStageFailed
|
|
73
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed
|
|
74
|
+
* @permission schema.action.movepaymentmethodrefundtofailed.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MovePaymentMethodRefundToFailedDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
78
|
+
/** Used by SDK generators to identify action type */
|
|
79
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
80
|
+
static readonly ACTION_KEY = "MovePaymentMethodRefundToFailed";
|
|
81
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Transition.MovePaymentMethodRefundToFailed";
|
|
84
|
+
static readonly SCHEMA_ACTION_ID = "8796e239-f56c-4680-822b-729762d0838c";
|
|
85
|
+
static readonly PERMISSION = "schema.action.movepaymentmethodrefundtofailed.trigger";
|
|
86
|
+
static readonly TARGET_STAGES: readonly ["PaymentMethodRefundPipelineStageFailed"];
|
|
87
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
88
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
89
|
+
static readonly HAS_STEP_LINKS = false;
|
|
90
|
+
/**
|
|
91
|
+
* Step definitions with linking metadata
|
|
92
|
+
* Used by SDK and backend for auto-linking after step execution
|
|
93
|
+
*/
|
|
94
|
+
static readonly stepDefinitions: MovePaymentMethodRefundToFailedStepDefinition[];
|
|
95
|
+
/** Type-safe step key accessor */
|
|
96
|
+
static readonly Steps: {
|
|
97
|
+
readonly step_1: "step_1";
|
|
98
|
+
};
|
|
99
|
+
readonly actionName: string;
|
|
100
|
+
readonly schemaActionId: string;
|
|
101
|
+
readonly entity: string;
|
|
102
|
+
readonly stageKey: string;
|
|
103
|
+
constructor(record: OdinRecord<any> | {
|
|
104
|
+
id: string;
|
|
105
|
+
entity: string;
|
|
106
|
+
type?: string;
|
|
107
|
+
}, options?: {
|
|
108
|
+
journeyId?: string;
|
|
109
|
+
});
|
|
110
|
+
/** Step classes that can be used with this action */
|
|
111
|
+
static readonly stepClasses: readonly [];
|
|
112
|
+
steps: StepClassMap[(typeof MovePaymentMethodRefundToFailedDto.stepClasses)[number]][];
|
|
113
|
+
}
|
|
114
|
+
export {};
|