@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
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdatePaymentMethodRefund Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update PMR Properties
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PaymentMethodRefund
|
|
8
|
+
* @actionKey UpdatePaymentMethodRefund
|
|
9
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund
|
|
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 UpdatePaymentMethodRefund updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdatePaymentMethodRefundMessage extends OdinRecordUpdatedEvent<UpdatePaymentMethodRefundDto, UpdatePaymentMethodRefundProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdatePaymentMethodRefund action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 4
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdatePaymentMethodRefundProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Status
|
|
30
|
+
*
|
|
31
|
+
* Status indicator for PaymentMethodRefund records. Tracks lifecycle state. Used by Finance team.
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
*/
|
|
34
|
+
Status?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* External Ref
|
|
37
|
+
*
|
|
38
|
+
* External Reference from provider
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
ExternalRef?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Last Failure Date
|
|
44
|
+
*
|
|
45
|
+
* When the last refund attempts came back failed (via the associated Transaction)
|
|
46
|
+
* @type {DATE}
|
|
47
|
+
*/
|
|
48
|
+
LastFailureDate?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* RetryCount
|
|
51
|
+
*
|
|
52
|
+
* Number of times the refund was retried after error
|
|
53
|
+
* @type {NUMBER}
|
|
54
|
+
*/
|
|
55
|
+
RetryCount?: number | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* UpdatePaymentMethodRefund
|
|
59
|
+
*
|
|
60
|
+
* Update PMR Properties
|
|
61
|
+
*
|
|
62
|
+
* @actionType UPDATE - Updates an existing PaymentMethodRefund record
|
|
63
|
+
* @module BillingModule
|
|
64
|
+
* @entity PaymentMethodRefund
|
|
65
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund
|
|
66
|
+
* @permission schema.action.updatepaymentmethodrefund.trigger
|
|
67
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdatePaymentMethodRefundDto extends OdinRecordUpdateDto<UpdatePaymentMethodRefundProperties> {
|
|
70
|
+
/** Used by SDK generators to identify action type */
|
|
71
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
72
|
+
static readonly ACTION_KEY = "UpdatePaymentMethodRefund";
|
|
73
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
74
|
+
static readonly ENTITIES: string[];
|
|
75
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund";
|
|
76
|
+
static readonly PERMISSION = "schema.action.updatepaymentmethodrefund.trigger";
|
|
77
|
+
/** Step metadata - entity this action targets */
|
|
78
|
+
static readonly STEP_ENTITY = "BillingModule:PaymentMethodRefund";
|
|
79
|
+
static readonly STEP_SCHEMA_ID = "ed366842-dde6-4de1-8e4a-210a71b593d8";
|
|
80
|
+
static readonly STEP_SCHEMA_ACTION_ID = "e190594a-2b46-4734-96ae-e5c91f5742c2";
|
|
81
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
82
|
+
readonly actionName: string;
|
|
83
|
+
readonly schemaActionId: string;
|
|
84
|
+
readonly entity: string;
|
|
85
|
+
constructor(record: OdinRecord<any> | {
|
|
86
|
+
id: string;
|
|
87
|
+
entity: string;
|
|
88
|
+
type?: string;
|
|
89
|
+
}, properties: UpdatePaymentMethodRefundProperties, options?: {
|
|
90
|
+
journeyId?: string;
|
|
91
|
+
stageKey?: string;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdatePaymentMethodRefund Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update PMR Properties
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PaymentMethodRefund
|
|
9
|
+
* @actionKey UpdatePaymentMethodRefund
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdatePaymentMethodRefundDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdatePaymentMethodRefund
|
|
19
|
+
*
|
|
20
|
+
* Update PMR Properties
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing PaymentMethodRefund record
|
|
23
|
+
* @module BillingModule
|
|
24
|
+
* @entity PaymentMethodRefund
|
|
25
|
+
* @event k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund
|
|
26
|
+
* @permission schema.action.updatepaymentmethodrefund.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdatePaymentMethodRefundDto 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 = 'UpdatePaymentMethodRefund';
|
|
40
|
+
this.schemaActionId = 'e190594a-2b46-4734-96ae-e5c91f5742c2';
|
|
41
|
+
this.entity = 'BillingModule:PaymentMethodRefund';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdatePaymentMethodRefundDto = UpdatePaymentMethodRefundDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdatePaymentMethodRefundDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdatePaymentMethodRefundDto.ACTION_KEY = 'UpdatePaymentMethodRefund';
|
|
48
|
+
UpdatePaymentMethodRefundDto.MODULE_NAME = 'BillingModule';
|
|
49
|
+
UpdatePaymentMethodRefundDto.ENTITIES = ['PaymentMethodRefund'];
|
|
50
|
+
UpdatePaymentMethodRefundDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PaymentMethodRefund.Update.UpdatePaymentMethodRefund';
|
|
51
|
+
UpdatePaymentMethodRefundDto.PERMISSION = 'schema.action.updatepaymentmethodrefund.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdatePaymentMethodRefundDto.STEP_ENTITY = 'BillingModule:PaymentMethodRefund';
|
|
54
|
+
UpdatePaymentMethodRefundDto.STEP_SCHEMA_ID = 'ed366842-dde6-4de1-8e4a-210a71b593d8';
|
|
55
|
+
UpdatePaymentMethodRefundDto.STEP_SCHEMA_ACTION_ID = 'e190594a-2b46-4734-96ae-e5c91f5742c2';
|
|
56
|
+
UpdatePaymentMethodRefundDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentStatus DB Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to AgentStatus records via direct database access.
|
|
5
|
+
* For use in backend services with principal + dbService.
|
|
6
|
+
* Returns wrapped records with typed action methods.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* // Simple get
|
|
11
|
+
* const record = await accessor.get(id);
|
|
12
|
+
*
|
|
13
|
+
* // With related entities
|
|
14
|
+
* const record = await accessor.get(id, { entities: ["Contact", "Address"] });
|
|
15
|
+
*
|
|
16
|
+
* // With permissions bypass (separate options)
|
|
17
|
+
* const record = await accessor.get(id, {}, { omitPermissionsCheck: true });
|
|
18
|
+
*
|
|
19
|
+
* // Silent write (no RabbitMQ events)
|
|
20
|
+
* const result = await accessor.upsert([dto], { omitWriteEvents: true });
|
|
21
|
+
*
|
|
22
|
+
* // Constructor-level default (applies to all calls)
|
|
23
|
+
* const accessor = new AgentStatusDbAccessor(principal, dbService, { omitPermissionsCheck: true });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
27
|
+
*/
|
|
28
|
+
import { OdinSearchV2 } from '@d19n/odin-types/dist/core';
|
|
29
|
+
import { DbProvider, DbProviderOptions, DbGetQueryOptions } from '@d19n/odin-sdk-generator/dist/db.provider';
|
|
30
|
+
import { QueryBuilder } from '@d19n/odin-sdk-generator/dist/query-builder';
|
|
31
|
+
import { AgentStatusProperties } from '../entities-v2/AgentStatus';
|
|
32
|
+
import { AgentStatusRecord } from '../records-v2/AgentStatusRecord';
|
|
33
|
+
/** Search response with wrapped records */
|
|
34
|
+
export interface AgentStatusDbSearchResponse {
|
|
35
|
+
records: AgentStatusRecord[];
|
|
36
|
+
totalRecords: number;
|
|
37
|
+
hasMore: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare class AgentStatusDbAccessor {
|
|
40
|
+
private readonly _provider;
|
|
41
|
+
private readonly _moduleName;
|
|
42
|
+
private readonly _entityName;
|
|
43
|
+
private readonly _defaultOptions?;
|
|
44
|
+
/**
|
|
45
|
+
* Create a new AgentStatusDbAccessor
|
|
46
|
+
* @param principal - The authenticated principal
|
|
47
|
+
* @param dbService - The database service instance
|
|
48
|
+
* @param defaultOptions - Default provider options applied to all operations
|
|
49
|
+
*/
|
|
50
|
+
constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
|
|
51
|
+
get moduleName(): string;
|
|
52
|
+
get entityName(): string;
|
|
53
|
+
/**
|
|
54
|
+
* Create a new empty AgentStatus record instance for create operations.
|
|
55
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
56
|
+
*
|
|
57
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
58
|
+
* @returns A new record wrapper with pre-generated ID
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* // Auto-generated ID
|
|
63
|
+
* const note = odinDb.notes.new();
|
|
64
|
+
* console.log(note.id); // UUID available immediately
|
|
65
|
+
*
|
|
66
|
+
* // Custom ID
|
|
67
|
+
* const order = odinDb.orders.new("custom-id-123");
|
|
68
|
+
*
|
|
69
|
+
* // Reference ID before save
|
|
70
|
+
* const account = odinDb.accounts.new();
|
|
71
|
+
* const contact = odinDb.contacts.new();
|
|
72
|
+
* await contact
|
|
73
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
74
|
+
* .createContact({ FirstName: "John" });
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
new(id?: string): AgentStatusRecord;
|
|
78
|
+
/**
|
|
79
|
+
* Get a single AgentStatus record by ID
|
|
80
|
+
*
|
|
81
|
+
* @param id - The record ID
|
|
82
|
+
* @param queryOptions - Query options (WHAT to fetch: entities to include)
|
|
83
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```typescript
|
|
87
|
+
* // Simple get
|
|
88
|
+
* const record = await accessor.get(id);
|
|
89
|
+
*
|
|
90
|
+
* // With related entities
|
|
91
|
+
* const record = await accessor.get(id, { entities: ["Contact", "Address"] });
|
|
92
|
+
*
|
|
93
|
+
* // With permissions bypass
|
|
94
|
+
* const record = await accessor.get(id, {}, { omitPermissionsCheck: true });
|
|
95
|
+
*
|
|
96
|
+
* // Both options
|
|
97
|
+
* const record = await accessor.get(id, { entities: ["Invoice"] }, { omitPermissionsCheck: true });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
get(id: string, queryOptions?: DbGetQueryOptions, providerOptions?: DbProviderOptions): Promise<AgentStatusRecord>;
|
|
101
|
+
/**
|
|
102
|
+
* Get multiple AgentStatus records by IDs
|
|
103
|
+
*
|
|
104
|
+
* @param ids - Array of record IDs
|
|
105
|
+
* @param queryOptions - Query options (WHAT to fetch: entities to include)
|
|
106
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
107
|
+
*/
|
|
108
|
+
getMany(ids: string[], queryOptions?: DbGetQueryOptions, providerOptions?: DbProviderOptions): Promise<AgentStatusRecord[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Search AgentStatus records
|
|
111
|
+
*
|
|
112
|
+
* @param params - Search parameters
|
|
113
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
114
|
+
*/
|
|
115
|
+
search(params: Partial<OdinSearchV2>, providerOptions?: DbProviderOptions): Promise<AgentStatusDbSearchResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Search all AgentStatus records with automatic pagination
|
|
118
|
+
*
|
|
119
|
+
* @param params - Search parameters
|
|
120
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
121
|
+
*/
|
|
122
|
+
searchAll(params: Partial<OdinSearchV2>, providerOptions?: DbProviderOptions): Promise<AgentStatusRecord[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Async generator for paginating through all matching records.
|
|
125
|
+
* Yields batches of wrapped records.
|
|
126
|
+
*
|
|
127
|
+
* @param params - Search parameters
|
|
128
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
129
|
+
*/
|
|
130
|
+
paginate(params: Partial<OdinSearchV2>, providerOptions?: DbProviderOptions): AsyncGenerator<AgentStatusRecord[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Create a fluent query builder for AgentStatus records
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```typescript
|
|
136
|
+
* const results = await accessor
|
|
137
|
+
* .query()
|
|
138
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
139
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
140
|
+
* .select('id', 'title', 'properties.*')
|
|
141
|
+
* .sortBy('createdAt', 'desc')
|
|
142
|
+
* .limit(100)
|
|
143
|
+
* .execute();
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
query(): QueryBuilder<AgentStatusProperties, AgentStatusRecord>;
|
|
147
|
+
/** Access the underlying DbProvider */
|
|
148
|
+
get provider(): DbProvider;
|
|
149
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* AgentStatus DB Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to AgentStatus records via direct database access.
|
|
6
|
+
* For use in backend services with principal + dbService.
|
|
7
|
+
* Returns wrapped records with typed action methods.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* // Simple get
|
|
12
|
+
* const record = await accessor.get(id);
|
|
13
|
+
*
|
|
14
|
+
* // With related entities
|
|
15
|
+
* const record = await accessor.get(id, { entities: ["Contact", "Address"] });
|
|
16
|
+
*
|
|
17
|
+
* // With permissions bypass (separate options)
|
|
18
|
+
* const record = await accessor.get(id, {}, { omitPermissionsCheck: true });
|
|
19
|
+
*
|
|
20
|
+
* // Silent write (no RabbitMQ events)
|
|
21
|
+
* const result = await accessor.upsert([dto], { omitWriteEvents: true });
|
|
22
|
+
*
|
|
23
|
+
* // Constructor-level default (applies to all calls)
|
|
24
|
+
* const accessor = new AgentStatusDbAccessor(principal, dbService, { omitPermissionsCheck: true });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
28
|
+
*/
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
39
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
40
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
41
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
42
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
43
|
+
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); }); }; }
|
|
44
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
45
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
46
|
+
function fulfill(value) { resume("next", value); }
|
|
47
|
+
function reject(value) { resume("throw", value); }
|
|
48
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.AgentStatusDbAccessor = void 0;
|
|
52
|
+
const db_provider_1 = require("@d19n/odin-sdk-generator/dist/db.provider");
|
|
53
|
+
const query_builder_1 = require("@d19n/odin-sdk-generator/dist/query-builder");
|
|
54
|
+
const AgentStatusRecord_1 = require("../records-v2/AgentStatusRecord");
|
|
55
|
+
class AgentStatusDbAccessor {
|
|
56
|
+
/**
|
|
57
|
+
* Create a new AgentStatusDbAccessor
|
|
58
|
+
* @param principal - The authenticated principal
|
|
59
|
+
* @param dbService - The database service instance
|
|
60
|
+
* @param defaultOptions - Default provider options applied to all operations
|
|
61
|
+
*/
|
|
62
|
+
constructor(principal, dbService, defaultOptions) {
|
|
63
|
+
this._moduleName = 'SupportModule';
|
|
64
|
+
this._entityName = 'AgentStatus';
|
|
65
|
+
this._provider = new db_provider_1.DbProvider(principal, dbService, defaultOptions);
|
|
66
|
+
this._defaultOptions = defaultOptions;
|
|
67
|
+
}
|
|
68
|
+
get moduleName() { return this._moduleName; }
|
|
69
|
+
get entityName() { return this._entityName; }
|
|
70
|
+
// ============================================
|
|
71
|
+
// RECORD CREATION
|
|
72
|
+
// ============================================
|
|
73
|
+
/**
|
|
74
|
+
* Create a new empty AgentStatus record instance for create operations.
|
|
75
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
76
|
+
*
|
|
77
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
78
|
+
* @returns A new record wrapper with pre-generated ID
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* // Auto-generated ID
|
|
83
|
+
* const note = odinDb.notes.new();
|
|
84
|
+
* console.log(note.id); // UUID available immediately
|
|
85
|
+
*
|
|
86
|
+
* // Custom ID
|
|
87
|
+
* const order = odinDb.orders.new("custom-id-123");
|
|
88
|
+
*
|
|
89
|
+
* // Reference ID before save
|
|
90
|
+
* const account = odinDb.accounts.new();
|
|
91
|
+
* const contact = odinDb.contacts.new();
|
|
92
|
+
* await contact
|
|
93
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
94
|
+
* .createContact({ FirstName: "John" });
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
new(id) {
|
|
98
|
+
return new AgentStatusRecord_1.AgentStatusRecord(null, this._provider, id);
|
|
99
|
+
}
|
|
100
|
+
// ============================================
|
|
101
|
+
// RECORD RETRIEVAL
|
|
102
|
+
// ============================================
|
|
103
|
+
/**
|
|
104
|
+
* Get a single AgentStatus record by ID
|
|
105
|
+
*
|
|
106
|
+
* @param id - The record ID
|
|
107
|
+
* @param queryOptions - Query options (WHAT to fetch: entities to include)
|
|
108
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```typescript
|
|
112
|
+
* // Simple get
|
|
113
|
+
* const record = await accessor.get(id);
|
|
114
|
+
*
|
|
115
|
+
* // With related entities
|
|
116
|
+
* const record = await accessor.get(id, { entities: ["Contact", "Address"] });
|
|
117
|
+
*
|
|
118
|
+
* // With permissions bypass
|
|
119
|
+
* const record = await accessor.get(id, {}, { omitPermissionsCheck: true });
|
|
120
|
+
*
|
|
121
|
+
* // Both options
|
|
122
|
+
* const record = await accessor.get(id, { entities: ["Invoice"] }, { omitPermissionsCheck: true });
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
get(id, queryOptions, providerOptions) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const record = yield this._provider._getByPrimaryKey(this._moduleName, this._entityName, id, queryOptions, providerOptions);
|
|
128
|
+
return new AgentStatusRecord_1.AgentStatusRecord(record, this._provider);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Get multiple AgentStatus records by IDs
|
|
133
|
+
*
|
|
134
|
+
* @param ids - Array of record IDs
|
|
135
|
+
* @param queryOptions - Query options (WHAT to fetch: entities to include)
|
|
136
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
137
|
+
*/
|
|
138
|
+
getMany(ids, queryOptions, providerOptions) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
if (ids.length === 0)
|
|
141
|
+
return [];
|
|
142
|
+
const records = yield this._provider._getManyByPrimaryKey(this._moduleName, this._entityName, ids, queryOptions, providerOptions);
|
|
143
|
+
return records.map((r) => new AgentStatusRecord_1.AgentStatusRecord(r, this._provider));
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
// ============================================
|
|
147
|
+
// SEARCH OPERATIONS
|
|
148
|
+
// ============================================
|
|
149
|
+
/**
|
|
150
|
+
* Search AgentStatus records
|
|
151
|
+
*
|
|
152
|
+
* @param params - Search parameters
|
|
153
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
154
|
+
*/
|
|
155
|
+
search(params, providerOptions) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const result = yield this._provider._searchRecords(this._moduleName, this._entityName, params, providerOptions);
|
|
158
|
+
return {
|
|
159
|
+
records: result.records.map((r) => new AgentStatusRecord_1.AgentStatusRecord(r, this._provider)),
|
|
160
|
+
totalRecords: result.totalRecords,
|
|
161
|
+
hasMore: result.hasMore,
|
|
162
|
+
};
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Search all AgentStatus records with automatic pagination
|
|
167
|
+
*
|
|
168
|
+
* @param params - Search parameters
|
|
169
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
170
|
+
*/
|
|
171
|
+
searchAll(params, providerOptions) {
|
|
172
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
+
const result = yield this._provider._searchAllRecordsAndPaginate(this._moduleName, this._entityName, params, 0, providerOptions);
|
|
174
|
+
return result.records.map((r) => new AgentStatusRecord_1.AgentStatusRecord(r, this._provider));
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Async generator for paginating through all matching records.
|
|
179
|
+
* Yields batches of wrapped records.
|
|
180
|
+
*
|
|
181
|
+
* @param params - Search parameters
|
|
182
|
+
* @param providerOptions - Provider options (HOW to fetch: omitPermissionsCheck)
|
|
183
|
+
*/
|
|
184
|
+
paginate(params, providerOptions) {
|
|
185
|
+
var _a;
|
|
186
|
+
return __asyncGenerator(this, arguments, function* paginate_1() {
|
|
187
|
+
let hasMore = true;
|
|
188
|
+
let searchAfter;
|
|
189
|
+
const query = Object.assign(Object.assign({}, params.query), { pageSize: ((_a = params.query) === null || _a === void 0 ? void 0 : _a.pageSize) || 500 });
|
|
190
|
+
while (hasMore) {
|
|
191
|
+
const result = yield __await(this._provider._searchRecords(this._moduleName, this._entityName, Object.assign(Object.assign({}, params), { query: Object.assign(Object.assign({}, query), { searchAfter }) }), providerOptions));
|
|
192
|
+
if (result.records.length > 0) {
|
|
193
|
+
yield yield __await(result.records.map((r) => new AgentStatusRecord_1.AgentStatusRecord(r, this._provider)));
|
|
194
|
+
const lastRecord = result.records[result.records.length - 1];
|
|
195
|
+
searchAfter = lastRecord === null || lastRecord === void 0 ? void 0 : lastRecord.sort;
|
|
196
|
+
}
|
|
197
|
+
hasMore = result.hasMore && result.records.length >= query.pageSize;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
// ============================================
|
|
202
|
+
// QUERY BUILDER
|
|
203
|
+
// ============================================
|
|
204
|
+
/**
|
|
205
|
+
* Create a fluent query builder for AgentStatus records
|
|
206
|
+
*
|
|
207
|
+
* @example
|
|
208
|
+
* ```typescript
|
|
209
|
+
* const results = await accessor
|
|
210
|
+
* .query()
|
|
211
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
212
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
213
|
+
* .select('id', 'title', 'properties.*')
|
|
214
|
+
* .sortBy('createdAt', 'desc')
|
|
215
|
+
* .limit(100)
|
|
216
|
+
* .execute();
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
219
|
+
query() {
|
|
220
|
+
return (0, query_builder_1.createQueryBuilder)(this);
|
|
221
|
+
}
|
|
222
|
+
/** Access the underlying DbProvider */
|
|
223
|
+
get provider() {
|
|
224
|
+
return this._provider;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.AgentStatusDbAccessor = AgentStatusDbAccessor;
|
|
@@ -14,6 +14,7 @@ export { ActivityDbAccessor, ActivityDbSearchResponse } from './ActivityDbAccess
|
|
|
14
14
|
export { AddressInteractionDbAccessor, AddressInteractionDbSearchResponse } from './AddressInteractionDbAccessor';
|
|
15
15
|
export { AddressDbAccessor, AddressDbSearchResponse } from './AddressDbAccessor';
|
|
16
16
|
export { AffiliateCodeDbAccessor, AffiliateCodeDbSearchResponse } from './AffiliateCodeDbAccessor';
|
|
17
|
+
export { AgentStatusDbAccessor, AgentStatusDbSearchResponse } from './AgentStatusDbAccessor';
|
|
17
18
|
export { AppointmentDbAccessor, AppointmentDbSearchResponse } from './AppointmentDbAccessor';
|
|
18
19
|
export { BillingAdjustmentDbAccessor, BillingAdjustmentDbSearchResponse } from './BillingAdjustmentDbAccessor';
|
|
19
20
|
export { BillingRequestDbAccessor, BillingRequestDbSearchResponse } from './BillingRequestDbAccessor';
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.YfWifiSurveyDbAccessor = exports.YfFieldServiceVisitDbAccessor = exports.YfAgentLocationDbAccessor = exports.WorkOrderStatusUpdateDbAccessor = exports.WorkOrderDbAccessor = exports.WayleaveAuditDbAccessor = exports.VoiceConfigurationDbAccessor = exports.VisitDbAccessor = exports.UserDbAccessor = exports.UgExternalAuditDbAccessor = exports.TwilioWorkerDbAccessor = exports.TwilioUserUpdateDbAccessor = exports.TwilioTaskQueueDbAccessor = exports.TwilioCallEventDbAccessor = exports.TwilioActivityDbAccessor = exports.TransactionDbAccessor = exports.TimeSlotDbAccessor = exports.TeamDbAccessor = exports.SmsTemplateDbAccessor = void 0;
|
|
12
|
+
exports.NetworkDeviceDbAccessor = exports.ModifyServiceRequestDbAccessor = exports.MessageDbAccessor = exports.LeadDbAccessor = exports.KnowledgeArticleDbAccessor = exports.InvoiceDbAccessor = exports.InvoiceItemDbAccessor = exports.ImpersonationTrackerDbAccessor = exports.FileDbAccessor = exports.FieldServiceProductDbAccessor = exports.FieldServiceDispatchedProductDbAccessor = exports.ExchangeDbAccessor = exports.EmailTemplateDbAccessor = exports.EmailSenderDbAccessor = exports.EmailDbAccessor = exports.DiscountDbAccessor = exports.DataIssueDbAccessor = exports.CustomerPhonePortingDbAccessor = exports.CustomerDeviceRouterDbAccessor = exports.CustomerDeviceDbAccessor = exports.CustomerDeviceOntDbAccessor = exports.CustomerDeviceConfigurationDbAccessor = exports.CustomerDeviceAtaDbAccessor = exports.CrmDatasetDbAccessor = exports.CreditNoteDbAccessor = exports.ConversationSummaryFeedbackDbAccessor = exports.ConversationDbAccessor = exports.ContractBuyOutDbAccessor = exports.ContactDbAccessor = exports.ContactIdentityDbAccessor = exports.ConfigDbAccessor = exports.ChurnRequestDbAccessor = exports.ChangeReasonDbAccessor = exports.CaseDbAccessor = exports.CampaignDbAccessor = exports.CallDbAccessor = exports.CallLegDbAccessor = exports.BrskEntityMigrationErrorDbAccessor = exports.BngProvisionDbAccessor = exports.BillingRequestDbAccessor = exports.BillingAdjustmentDbAccessor = exports.AppointmentDbAccessor = exports.AgentStatusDbAccessor = exports.AffiliateCodeDbAccessor = exports.AddressDbAccessor = exports.AddressInteractionDbAccessor = exports.ActivityDbAccessor = exports.ActivityLogDbAccessor = exports.AccountDbAccessor = exports.AccountCreditDbAccessor = void 0;
|
|
13
|
+
exports.SiteSpecificRiskAssessmentOutcomeFormDbAccessor = exports.ServiceDbAccessor = exports.ServiceAppointmentDbAccessor = exports.ServiceAppointmentConfigDbAccessor = exports.ScheduleSlotDbAccessor = exports.SalesTerritoryDbAccessor = exports.RewardDbAccessor = exports.ReturnsDbAccessor = exports.RemediationRequiredReasonDbAccessor = exports.RemediationOutcomeFormDbAccessor = exports.RegionDbAccessor = exports.ReferralDbAccessor = exports.RecontractDbAccessor = exports.PushNotificationDbAccessor = exports.ProductDbAccessor = exports.PriceBookDbAccessor = exports.PgWebhookDbAccessor = exports.PgWebhookAttemptDbAccessor = exports.PgVocalinkDbAccessor = exports.PgTransactionDbAccessor = exports.PgSortCodeSubstitutionDbAccessor = exports.PgReportEventDbAccessor = exports.PgPaymentMethodDbAccessor = exports.PgLogDbAccessor = exports.PgFileAllocationDbAccessor = exports.PgDisputeDbAccessor = exports.PgDirectDebitFileDbAccessor = exports.PgContactDbAccessor = exports.PgAccountValidationDbAccessor = exports.PermissionToFailDbAccessor = exports.PaymentDbAccessor = exports.PaymentMethodRefundDbAccessor = exports.PaymentMethodDbAccessor = exports.PICRequestDbAccessor = exports.OverlayRealA55DbAccessor = exports.OutboundDialSessionDbAccessor = exports.OutboundDialCampaignDbAccessor = exports.OutboundDialCampaignCaseDbAccessor = exports.OutageDbAccessor = exports.OrderDbAccessor = exports.OrderKciDbAccessor = exports.OrderItemDbAccessor = exports.OrderCheckDbAccessor = exports.OntReplacementApprovalDbAccessor = exports.OneTouchSwitchDbAccessor = exports.OhExternalAuditDbAccessor = exports.OfferTemplateDbAccessor = exports.OfferDbAccessor = exports.NotificationTemplateDbAccessor = exports.NoteDbAccessor = void 0;
|
|
14
|
+
exports.YfWifiSurveyDbAccessor = exports.YfFieldServiceVisitDbAccessor = exports.YfAgentLocationDbAccessor = exports.WorkOrderStatusUpdateDbAccessor = exports.WorkOrderDbAccessor = exports.WayleaveAuditDbAccessor = exports.VoiceConfigurationDbAccessor = exports.VisitDbAccessor = exports.UserDbAccessor = exports.UgExternalAuditDbAccessor = exports.TwilioWorkerDbAccessor = exports.TwilioUserUpdateDbAccessor = exports.TwilioTaskQueueDbAccessor = exports.TwilioCallEventDbAccessor = exports.TwilioActivityDbAccessor = exports.TransactionDbAccessor = exports.TimeSlotDbAccessor = exports.TeamDbAccessor = exports.SmsTemplateDbAccessor = exports.SmsMessageDbAccessor = void 0;
|
|
15
15
|
var AccountCreditDbAccessor_1 = require("./AccountCreditDbAccessor");
|
|
16
16
|
Object.defineProperty(exports, "AccountCreditDbAccessor", { enumerable: true, get: function () { return AccountCreditDbAccessor_1.AccountCreditDbAccessor; } });
|
|
17
17
|
var AccountDbAccessor_1 = require("./AccountDbAccessor");
|
|
@@ -26,6 +26,8 @@ var AddressDbAccessor_1 = require("./AddressDbAccessor");
|
|
|
26
26
|
Object.defineProperty(exports, "AddressDbAccessor", { enumerable: true, get: function () { return AddressDbAccessor_1.AddressDbAccessor; } });
|
|
27
27
|
var AffiliateCodeDbAccessor_1 = require("./AffiliateCodeDbAccessor");
|
|
28
28
|
Object.defineProperty(exports, "AffiliateCodeDbAccessor", { enumerable: true, get: function () { return AffiliateCodeDbAccessor_1.AffiliateCodeDbAccessor; } });
|
|
29
|
+
var AgentStatusDbAccessor_1 = require("./AgentStatusDbAccessor");
|
|
30
|
+
Object.defineProperty(exports, "AgentStatusDbAccessor", { enumerable: true, get: function () { return AgentStatusDbAccessor_1.AgentStatusDbAccessor; } });
|
|
29
31
|
var AppointmentDbAccessor_1 = require("./AppointmentDbAccessor");
|
|
30
32
|
Object.defineProperty(exports, "AppointmentDbAccessor", { enumerable: true, get: function () { return AppointmentDbAccessor_1.AppointmentDbAccessor; } });
|
|
31
33
|
var BillingAdjustmentDbAccessor_1 = require("./BillingAdjustmentDbAccessor");
|
|
@@ -790,12 +790,14 @@ export declare enum CaseLastDialOutcome {
|
|
|
790
790
|
* @remarks Available options:
|
|
791
791
|
* - `CLAIMED` - Claimed
|
|
792
792
|
* - `FAILED` - Failed
|
|
793
|
+
* - `HUMAN_REVIEW_REQUIRED` - Human review required
|
|
793
794
|
* - `IN_PROGRESS` - In progress
|
|
794
795
|
* - `RESOLVED` - Resolved
|
|
795
796
|
*/
|
|
796
797
|
export declare enum CaseAutoResolutionStatus {
|
|
797
798
|
CLAIMED = "CLAIMED",
|
|
798
799
|
FAILED = "FAILED",
|
|
800
|
+
HUMAN_REVIEW_REQUIRED = "HUMAN_REVIEW_REQUIRED",
|
|
799
801
|
IN_PROGRESS = "IN_PROGRESS",
|
|
800
802
|
RESOLVED = "RESOLVED"
|
|
801
803
|
}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -803,6 +803,7 @@ var CaseLastDialOutcome;
|
|
|
803
803
|
* @remarks Available options:
|
|
804
804
|
* - `CLAIMED` - Claimed
|
|
805
805
|
* - `FAILED` - Failed
|
|
806
|
+
* - `HUMAN_REVIEW_REQUIRED` - Human review required
|
|
806
807
|
* - `IN_PROGRESS` - In progress
|
|
807
808
|
* - `RESOLVED` - Resolved
|
|
808
809
|
*/
|
|
@@ -810,6 +811,7 @@ var CaseAutoResolutionStatus;
|
|
|
810
811
|
(function (CaseAutoResolutionStatus) {
|
|
811
812
|
CaseAutoResolutionStatus["CLAIMED"] = "CLAIMED";
|
|
812
813
|
CaseAutoResolutionStatus["FAILED"] = "FAILED";
|
|
814
|
+
CaseAutoResolutionStatus["HUMAN_REVIEW_REQUIRED"] = "HUMAN_REVIEW_REQUIRED";
|
|
813
815
|
CaseAutoResolutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
814
816
|
CaseAutoResolutionStatus["RESOLVED"] = "RESOLVED";
|
|
815
817
|
})(CaseAutoResolutionStatus = exports.CaseAutoResolutionStatus || (exports.CaseAutoResolutionStatus = {}));
|
|
@@ -106,8 +106,8 @@ export declare enum PaymentMethodRefundPropertyKeys {
|
|
|
106
106
|
WorkOrderRef = "WorkOrderRef",
|
|
107
107
|
/** Number of times the refund was retried after error */
|
|
108
108
|
RetryCount = "RetryCount",
|
|
109
|
-
/**
|
|
110
|
-
|
|
109
|
+
/** When the last refund attempts came back failed (via the associated Transaction) */
|
|
110
|
+
LastFailureDate = "LastFailureDate",
|
|
111
111
|
/** External Reference from provider */
|
|
112
112
|
ExternalRef = "ExternalRef"
|
|
113
113
|
}
|
|
@@ -176,11 +176,11 @@ export interface PaymentMethodRefundProperties {
|
|
|
176
176
|
* @default 0
|
|
177
177
|
*/
|
|
178
178
|
RetryCount: number;
|
|
179
|
-
/**
|
|
179
|
+
/** When the last refund attempts came back failed (via the associated Transaction)
|
|
180
180
|
*
|
|
181
181
|
* @type {DATE}
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
LastFailureDate: string;
|
|
184
184
|
/** External Reference from provider
|
|
185
185
|
*
|
|
186
186
|
* @type {TEXT}
|
|
@@ -103,8 +103,8 @@ var PaymentMethodRefundPropertyKeys;
|
|
|
103
103
|
PaymentMethodRefundPropertyKeys["WorkOrderRef"] = "WorkOrderRef";
|
|
104
104
|
/** Number of times the refund was retried after error */
|
|
105
105
|
PaymentMethodRefundPropertyKeys["RetryCount"] = "RetryCount";
|
|
106
|
-
/**
|
|
107
|
-
PaymentMethodRefundPropertyKeys["
|
|
106
|
+
/** When the last refund attempts came back failed (via the associated Transaction) */
|
|
107
|
+
PaymentMethodRefundPropertyKeys["LastFailureDate"] = "LastFailureDate";
|
|
108
108
|
/** External Reference from provider */
|
|
109
109
|
PaymentMethodRefundPropertyKeys["ExternalRef"] = "ExternalRef";
|
|
110
110
|
})(PaymentMethodRefundPropertyKeys = exports.PaymentMethodRefundPropertyKeys || (exports.PaymentMethodRefundPropertyKeys = {}));
|