@d19n/youfibre-odin-sdk 1.0.188 → 1.0.190
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/dist/actions-v2/CancelBillingRequestDto.d.ts +20 -0
- package/dist/actions-v2/CancelBillingRequestDto.js +20 -0
- package/dist/actions-v2/CancelTransactionDto.d.ts +20 -0
- package/dist/actions-v2/CancelTransactionDto.js +20 -0
- package/dist/actions-v2/ConfirmPaymentSuccessDto.d.ts +19 -0
- package/dist/actions-v2/ConfirmPaymentSuccessDto.js +20 -0
- package/dist/actions-v2/ConfirmTransactionDto.d.ts +21 -0
- package/dist/actions-v2/ConfirmTransactionDto.js +20 -0
- package/dist/actions-v2/CreateOtpTransactionDto.d.ts +20 -0
- package/dist/actions-v2/CreateOtpTransactionDto.js +18 -0
- package/dist/actions-v2/CreatePaymentForInvoicesDto.d.ts +17 -0
- package/dist/actions-v2/CreatePaymentForInvoicesDto.js +18 -0
- package/dist/actions-v2/FailPaymentDto.d.ts +19 -0
- package/dist/actions-v2/FailPaymentDto.js +20 -0
- package/dist/actions-v2/FailTransactionDto.d.ts +21 -0
- package/dist/actions-v2/FailTransactionDto.js +20 -0
- package/dist/actions-v2/KnowledgeArticleReleaseNoteCreateDto.d.ts +14 -0
- package/dist/actions-v2/KnowledgeArticleReleaseNoteCreateDto.js +18 -0
- package/dist/actions-v2/OverrideMovePicToInProgressDto.d.ts +18 -0
- package/dist/actions-v2/OverrideMovePicToInProgressDto.js +21 -0
- package/dist/actions-v2/SetInvoicePaidFromOtpDto.d.ts +24 -0
- package/dist/actions-v2/SetInvoicePaidFromOtpDto.js +20 -0
- package/dist/actions-v2/SetPaymentLinkDto.d.ts +20 -0
- package/dist/actions-v2/SetPaymentLinkDto.js +20 -0
- package/dist/actions-v2/SetPaymentPendingDto.d.ts +19 -0
- package/dist/actions-v2/SetPaymentPendingDto.js +20 -0
- package/dist/actions-v2/UpdateTransactionExternalRefDto.d.ts +20 -0
- package/dist/actions-v2/UpdateTransactionExternalRefDto.js +20 -0
- package/dist/actions-v2/VoidPaymentDto.d.ts +19 -0
- package/dist/actions-v2/VoidPaymentDto.js +20 -0
- package/dist/entities-v2/BillingAdjustment.d.ts +19 -19
- package/dist/entities-v2/BillingAdjustment.js +16 -16
- package/dist/entities-v2/CreditNote.d.ts +6 -6
- package/dist/entities-v2/CreditNote.js +3 -3
- package/dist/entities-v2/KnowledgeArticle.d.ts +3 -3
- package/dist/entities-v2/KnowledgeArticle.js +1 -1
- package/dist/entities-v2/ReleaseNoteKnowledgeArticle.d.ts +2 -2
- package/dist/entities-v2/ReleaseNoteKnowledgeArticle.js +1 -1
- package/dist/entities-v2/Team.d.ts +2 -0
- package/dist/entities-v2/Team.js +1 -0
- package/dist/entities-v2/UserGuideKnowledgeArticle.d.ts +2 -2
- package/dist/entities-v2/UserGuideKnowledgeArticle.js +1 -1
- package/package.json +3 -3
- package/src/actions-v2/CancelBillingRequestDto.ts +55 -0
- package/src/actions-v2/CancelTransactionDto.ts +55 -0
- package/src/actions-v2/ConfirmPaymentSuccessDto.ts +54 -0
- package/src/actions-v2/ConfirmTransactionDto.ts +56 -0
- package/src/actions-v2/CreateOtpTransactionDto.ts +54 -0
- package/src/actions-v2/CreatePaymentForInvoicesDto.ts +51 -0
- package/src/actions-v2/FailPaymentDto.ts +54 -0
- package/src/actions-v2/FailTransactionDto.ts +56 -0
- package/src/actions-v2/KnowledgeArticleReleaseNoteCreateDto.ts +48 -0
- package/src/actions-v2/OverrideMovePicToInProgressDto.ts +62 -0
- package/src/actions-v2/SetInvoicePaidFromOtpDto.ts +59 -0
- package/src/actions-v2/SetPaymentLinkDto.ts +55 -0
- package/src/actions-v2/SetPaymentPendingDto.ts +54 -0
- package/src/actions-v2/UpdateTransactionExternalRefDto.ts +55 -0
- package/src/actions-v2/VoidPaymentDto.ts +54 -0
- package/src/entities-v2/BillingAdjustment.ts +23 -23
- package/src/entities-v2/CreditNote.ts +9 -9
- package/src/entities-v2/KnowledgeArticle.ts +3 -3
- package/src/entities-v2/ReleaseNoteKnowledgeArticle.ts +1 -1
- package/src/entities-v2/Team.ts +3 -0
- package/src/entities-v2/UserGuideKnowledgeArticle.ts +1 -1
- package/dist/actions-v2/KnowledgeArticleUserGuideCreateDto.d.ts +0 -23
- package/dist/actions-v2/KnowledgeArticleUserGuideCreateDto.js +0 -18
- package/src/actions-v2/KnowledgeArticleUserGuideCreateDto.ts +0 -57
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface CancelBillingRequestProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class CancelBillingRequestDto extends OdinRecordUpdateDto<CancelBillingRequestProperties> {
|
|
6
|
+
readonly actionName: string;
|
|
7
|
+
readonly schemaActionId: string;
|
|
8
|
+
constructor(record: OdinRecord<any> | {
|
|
9
|
+
id: string;
|
|
10
|
+
entity: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}, properties: CancelBillingRequestProperties, options?: {
|
|
13
|
+
journeyId?: string;
|
|
14
|
+
stageKey?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export interface CancelBillingRequestMessage extends OdinRecordUpdatedEvent<CancelBillingRequestDto, CancelBillingRequestProperties> {
|
|
18
|
+
}
|
|
19
|
+
export declare const ROUTING_KEY_CANCEL_BILLING_REQUEST = "CancelBillingRequest";
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CANCEL_BILLING_REQUEST = exports.CancelBillingRequestDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class CancelBillingRequestDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'CancelBillingRequest';
|
|
16
|
+
this.schemaActionId = '839dcfb1-86cb-4fa5-9d79-11afc1d52621';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.CancelBillingRequestDto = CancelBillingRequestDto;
|
|
20
|
+
exports.ROUTING_KEY_CANCEL_BILLING_REQUEST = 'CancelBillingRequest';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface CancelTransactionProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class CancelTransactionDto extends OdinRecordUpdateDto<CancelTransactionProperties> {
|
|
6
|
+
readonly actionName: string;
|
|
7
|
+
readonly schemaActionId: string;
|
|
8
|
+
constructor(record: OdinRecord<any> | {
|
|
9
|
+
id: string;
|
|
10
|
+
entity: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}, properties: CancelTransactionProperties, options?: {
|
|
13
|
+
journeyId?: string;
|
|
14
|
+
stageKey?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export interface CancelTransactionMessage extends OdinRecordUpdatedEvent<CancelTransactionDto, CancelTransactionProperties> {
|
|
18
|
+
}
|
|
19
|
+
export declare const ROUTING_KEY_CANCEL_TRANSACTION = "CancelTransaction";
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CANCEL_TRANSACTION = exports.CancelTransactionDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class CancelTransactionDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'CancelTransaction';
|
|
16
|
+
this.schemaActionId = '3cdc73d5-b46c-4a50-bed0-ccf20e9336f2';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.CancelTransactionDto = CancelTransactionDto;
|
|
20
|
+
exports.ROUTING_KEY_CANCEL_TRANSACTION = 'CancelTransaction';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface ConfirmPaymentSuccessProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class ConfirmPaymentSuccessDto extends OdinRecordUpdateDto<ConfirmPaymentSuccessProperties> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
constructor(record: OdinRecord<any> | {
|
|
8
|
+
id: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}, properties: ConfirmPaymentSuccessProperties, options?: {
|
|
12
|
+
journeyId?: string;
|
|
13
|
+
stageKey?: string;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export interface ConfirmPaymentSuccessMessage extends OdinRecordUpdatedEvent<ConfirmPaymentSuccessDto, ConfirmPaymentSuccessProperties> {
|
|
17
|
+
}
|
|
18
|
+
export declare const ROUTING_KEY_CONFIRM_PAYMENT_SUCCESS = "ConfirmPaymentSuccess";
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CONFIRM_PAYMENT_SUCCESS = exports.ConfirmPaymentSuccessDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class ConfirmPaymentSuccessDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'ConfirmPaymentSuccess';
|
|
16
|
+
this.schemaActionId = 'eea6c593-3619-4c06-8ea7-997af2f3fba2';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConfirmPaymentSuccessDto = ConfirmPaymentSuccessDto;
|
|
20
|
+
exports.ROUTING_KEY_CONFIRM_PAYMENT_SUCCESS = 'ConfirmPaymentSuccess';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface ConfirmTransactionProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
ExternalRef?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class ConfirmTransactionDto extends OdinRecordUpdateDto<ConfirmTransactionProperties> {
|
|
7
|
+
readonly actionName: string;
|
|
8
|
+
readonly schemaActionId: string;
|
|
9
|
+
constructor(record: OdinRecord<any> | {
|
|
10
|
+
id: string;
|
|
11
|
+
entity: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
}, properties: ConfirmTransactionProperties, options?: {
|
|
14
|
+
journeyId?: string;
|
|
15
|
+
stageKey?: string;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export interface ConfirmTransactionMessage extends OdinRecordUpdatedEvent<ConfirmTransactionDto, ConfirmTransactionProperties> {
|
|
19
|
+
}
|
|
20
|
+
export declare const ROUTING_KEY_CONFIRM_TRANSACTION = "ConfirmTransaction";
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CONFIRM_TRANSACTION = exports.ConfirmTransactionDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class ConfirmTransactionDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'ConfirmTransaction';
|
|
16
|
+
this.schemaActionId = '1fb229b5-a7c5-4fc5-adaf-074bcb7a0f72';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConfirmTransactionDto = ConfirmTransactionDto;
|
|
20
|
+
exports.ROUTING_KEY_CONFIRM_TRANSACTION = 'ConfirmTransaction';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface CreateOtpTransactionProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
Amount: number;
|
|
5
|
+
CurrencyCode: string;
|
|
6
|
+
Type: string;
|
|
7
|
+
ExternalRef?: string;
|
|
8
|
+
Description?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class CreateOtpTransactionDto extends OdinRecordCreateDto<CreateOtpTransactionProperties> {
|
|
11
|
+
readonly actionName: string;
|
|
12
|
+
readonly schemaActionId: string;
|
|
13
|
+
constructor(properties: CreateOtpTransactionProperties, options?: {
|
|
14
|
+
journeyId?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export interface CreateOtpTransactionMessage extends OdinRecordCreatedEvent<CreateOtpTransactionDto, CreateOtpTransactionProperties> {
|
|
18
|
+
}
|
|
19
|
+
export declare const ROUTING_KEY_CREATE_OTP_TRANSACTION = "CreateOtpTransaction";
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CREATE_OTP_TRANSACTION = exports.CreateOtpTransactionDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class CreateOtpTransactionDto extends core_1.OdinRecordCreateDto {
|
|
6
|
+
constructor(properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
entity: 'BillingModule:Transaction',
|
|
9
|
+
type: undefined,
|
|
10
|
+
properties,
|
|
11
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
12
|
+
});
|
|
13
|
+
this.actionName = 'CreateOtpTransaction';
|
|
14
|
+
this.schemaActionId = 'e65e1a50-c12b-439a-93ae-b5566c70f335';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.CreateOtpTransactionDto = CreateOtpTransactionDto;
|
|
18
|
+
exports.ROUTING_KEY_CREATE_OTP_TRANSACTION = 'CreateOtpTransaction';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface CreatePaymentForInvoicesProperties {
|
|
3
|
+
Method?: string;
|
|
4
|
+
Link?: string;
|
|
5
|
+
Reference?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class CreatePaymentForInvoicesDto extends OdinRecordCreateDto<CreatePaymentForInvoicesProperties> {
|
|
8
|
+
readonly actionName: string;
|
|
9
|
+
readonly schemaActionId: string;
|
|
10
|
+
constructor(properties: CreatePaymentForInvoicesProperties, options?: {
|
|
11
|
+
journeyId?: string;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export interface CreatePaymentForInvoicesMessage extends OdinRecordCreatedEvent<CreatePaymentForInvoicesDto, CreatePaymentForInvoicesProperties> {
|
|
15
|
+
}
|
|
16
|
+
export declare const ROUTING_KEY_CREATE_PAYMENT_FOR_INVOICES = "CreatePaymentForInvoices";
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_CREATE_PAYMENT_FOR_INVOICES = exports.CreatePaymentForInvoicesDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class CreatePaymentForInvoicesDto extends core_1.OdinRecordCreateDto {
|
|
6
|
+
constructor(properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
entity: 'BillingModule:Payment',
|
|
9
|
+
type: undefined,
|
|
10
|
+
properties,
|
|
11
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
12
|
+
});
|
|
13
|
+
this.actionName = 'CreatePaymentForInvoices';
|
|
14
|
+
this.schemaActionId = '115c6467-0481-4f24-bd7a-8ebabf925d6c';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.CreatePaymentForInvoicesDto = CreatePaymentForInvoicesDto;
|
|
18
|
+
exports.ROUTING_KEY_CREATE_PAYMENT_FOR_INVOICES = 'CreatePaymentForInvoices';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface FailPaymentProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class FailPaymentDto extends OdinRecordUpdateDto<FailPaymentProperties> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
constructor(record: OdinRecord<any> | {
|
|
8
|
+
id: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}, properties: FailPaymentProperties, options?: {
|
|
12
|
+
journeyId?: string;
|
|
13
|
+
stageKey?: string;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export interface FailPaymentMessage extends OdinRecordUpdatedEvent<FailPaymentDto, FailPaymentProperties> {
|
|
17
|
+
}
|
|
18
|
+
export declare const ROUTING_KEY_FAIL_PAYMENT = "FailPayment";
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_FAIL_PAYMENT = exports.FailPaymentDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class FailPaymentDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'FailPayment';
|
|
16
|
+
this.schemaActionId = 'd9d6cf25-8cf9-4e6d-a7e2-44f88543d853';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.FailPaymentDto = FailPaymentDto;
|
|
20
|
+
exports.ROUTING_KEY_FAIL_PAYMENT = 'FailPayment';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface FailTransactionProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
ExternalRef?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class FailTransactionDto extends OdinRecordUpdateDto<FailTransactionProperties> {
|
|
7
|
+
readonly actionName: string;
|
|
8
|
+
readonly schemaActionId: string;
|
|
9
|
+
constructor(record: OdinRecord<any> | {
|
|
10
|
+
id: string;
|
|
11
|
+
entity: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
}, properties: FailTransactionProperties, options?: {
|
|
14
|
+
journeyId?: string;
|
|
15
|
+
stageKey?: string;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export interface FailTransactionMessage extends OdinRecordUpdatedEvent<FailTransactionDto, FailTransactionProperties> {
|
|
19
|
+
}
|
|
20
|
+
export declare const ROUTING_KEY_FAIL_TRANSACTION = "FailTransaction";
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_FAIL_TRANSACTION = exports.FailTransactionDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class FailTransactionDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'FailTransaction';
|
|
16
|
+
this.schemaActionId = '3d57e4e9-0ab9-405f-b4d0-104bd43ff8fe';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.FailTransactionDto = FailTransactionDto;
|
|
20
|
+
exports.ROUTING_KEY_FAIL_TRANSACTION = 'FailTransaction';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface KnowledgeArticleReleaseNoteCreateProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class KnowledgeArticleReleaseNoteCreateDto extends OdinRecordCreateDto<KnowledgeArticleReleaseNoteCreateProperties> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
constructor(properties: KnowledgeArticleReleaseNoteCreateProperties, options?: {
|
|
8
|
+
journeyId?: string;
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export interface KnowledgeArticleReleaseNoteCreateMessage extends OdinRecordCreatedEvent<KnowledgeArticleReleaseNoteCreateDto, KnowledgeArticleReleaseNoteCreateProperties> {
|
|
12
|
+
}
|
|
13
|
+
export declare const ROUTING_KEY_EVENT = "event";
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_EVENT = exports.KnowledgeArticleReleaseNoteCreateDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class KnowledgeArticleReleaseNoteCreateDto extends core_1.OdinRecordCreateDto {
|
|
6
|
+
constructor(properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
entity: 'SupportModule:KnowledgeArticle',
|
|
9
|
+
type: 'RELEASE_NOTE',
|
|
10
|
+
properties,
|
|
11
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
12
|
+
});
|
|
13
|
+
this.actionName = 'KnowledgeArticleReleaseNoteCreate';
|
|
14
|
+
this.schemaActionId = '46732117-4e2a-461e-9b35-7c9cdb3227a6';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.KnowledgeArticleReleaseNoteCreateDto = KnowledgeArticleReleaseNoteCreateDto;
|
|
18
|
+
exports.ROUTING_KEY_EVENT = 'event';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
export interface OverrideMovePicToInProgressMessage extends OdinRecordUpdatedEvent<OverrideMovePicToInProgressDto, {}> {
|
|
3
|
+
}
|
|
4
|
+
export declare class OverrideMovePicToInProgressDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
readonly stageKey: string;
|
|
8
|
+
constructor(record: OdinRecord<any> | {
|
|
9
|
+
id: string;
|
|
10
|
+
entity: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}, options?: {
|
|
13
|
+
journeyId?: string;
|
|
14
|
+
});
|
|
15
|
+
static readonly stepClasses: readonly [];
|
|
16
|
+
steps: [];
|
|
17
|
+
}
|
|
18
|
+
export declare const ROUTING_KEY_PIC_REQUEST_MOVED_TO_IN_PROGRESS = "PicRequestMovedToInProgress";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_PIC_REQUEST_MOVED_TO_IN_PROGRESS = exports.OverrideMovePicToInProgressDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class OverrideMovePicToInProgressDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties: {},
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
});
|
|
14
|
+
this.actionName = 'OverrideMovePICToInProgress';
|
|
15
|
+
this.schemaActionId = 'c5b4e0ce-5e6e-4ec3-9ab2-0f0ba1412de7';
|
|
16
|
+
this.stageKey = 'PICRequestStageInProgress';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.OverrideMovePicToInProgressDto = OverrideMovePicToInProgressDto;
|
|
20
|
+
OverrideMovePicToInProgressDto.stepClasses = [];
|
|
21
|
+
exports.ROUTING_KEY_PIC_REQUEST_MOVED_TO_IN_PROGRESS = 'PicRequestMovedToInProgress';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface SetInvoicePaidFromOtpProperties {
|
|
3
|
+
Status: string;
|
|
4
|
+
Balance: number;
|
|
5
|
+
SettledDate?: Date;
|
|
6
|
+
DunningStatus?: string;
|
|
7
|
+
DunningStatusUpdatedAt?: Date;
|
|
8
|
+
}
|
|
9
|
+
export declare class SetInvoicePaidFromOtpDto extends OdinRecordUpdateDto<SetInvoicePaidFromOtpProperties> {
|
|
10
|
+
readonly actionName: string;
|
|
11
|
+
readonly schemaActionId: string;
|
|
12
|
+
constructor(record: OdinRecord<any> | {
|
|
13
|
+
id: string;
|
|
14
|
+
entity: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
}, properties: SetInvoicePaidFromOtpProperties, options?: {
|
|
17
|
+
journeyId?: string;
|
|
18
|
+
stageKey?: string;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export interface SetInvoicePaidFromOtpMessage extends OdinRecordUpdatedEvent<SetInvoicePaidFromOtpDto, SetInvoicePaidFromOtpProperties> {
|
|
22
|
+
}
|
|
23
|
+
export declare const ROUTING_KEY_SET_INVOICE_PAID_FROM_OTP = "SetInvoicePaidFromOtp";
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_SET_INVOICE_PAID_FROM_OTP = exports.SetInvoicePaidFromOtpDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class SetInvoicePaidFromOtpDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'SetInvoicePaidFromOtp';
|
|
16
|
+
this.schemaActionId = '93954d47-7bb1-4965-be68-cc82fcf62a49';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SetInvoicePaidFromOtpDto = SetInvoicePaidFromOtpDto;
|
|
20
|
+
exports.ROUTING_KEY_SET_INVOICE_PAID_FROM_OTP = 'SetInvoicePaidFromOtp';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface SetPaymentLinkProperties {
|
|
3
|
+
Link: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SetPaymentLinkDto extends OdinRecordUpdateDto<SetPaymentLinkProperties> {
|
|
6
|
+
readonly actionName: string;
|
|
7
|
+
readonly schemaActionId: string;
|
|
8
|
+
constructor(record: OdinRecord<any> | {
|
|
9
|
+
id: string;
|
|
10
|
+
entity: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}, properties: SetPaymentLinkProperties, options?: {
|
|
13
|
+
journeyId?: string;
|
|
14
|
+
stageKey?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export interface SetPaymentLinkMessage extends OdinRecordUpdatedEvent<SetPaymentLinkDto, SetPaymentLinkProperties> {
|
|
18
|
+
}
|
|
19
|
+
export declare const ROUTING_KEY_SET_PAYMENT_LINK = "SetPaymentLink";
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_SET_PAYMENT_LINK = exports.SetPaymentLinkDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class SetPaymentLinkDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'SetPaymentLink';
|
|
16
|
+
this.schemaActionId = '9e656184-8e1e-4d23-b7bd-bcfa033e37a8';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SetPaymentLinkDto = SetPaymentLinkDto;
|
|
20
|
+
exports.ROUTING_KEY_SET_PAYMENT_LINK = 'SetPaymentLink';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface SetPaymentPendingProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class SetPaymentPendingDto extends OdinRecordUpdateDto<SetPaymentPendingProperties> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
constructor(record: OdinRecord<any> | {
|
|
8
|
+
id: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}, properties: SetPaymentPendingProperties, options?: {
|
|
12
|
+
journeyId?: string;
|
|
13
|
+
stageKey?: string;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export interface SetPaymentPendingMessage extends OdinRecordUpdatedEvent<SetPaymentPendingDto, SetPaymentPendingProperties> {
|
|
17
|
+
}
|
|
18
|
+
export declare const ROUTING_KEY_SET_PAYMENT_PENDING = "SetPaymentPending";
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_SET_PAYMENT_PENDING = exports.SetPaymentPendingDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class SetPaymentPendingDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'SetPaymentPending';
|
|
16
|
+
this.schemaActionId = 'f3636b66-b6ce-4ceb-894c-bccda4a91a69';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SetPaymentPendingDto = SetPaymentPendingDto;
|
|
20
|
+
exports.ROUTING_KEY_SET_PAYMENT_PENDING = 'SetPaymentPending';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface UpdateTransactionExternalRefProperties {
|
|
3
|
+
ExternalRef: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class UpdateTransactionExternalRefDto extends OdinRecordUpdateDto<UpdateTransactionExternalRefProperties> {
|
|
6
|
+
readonly actionName: string;
|
|
7
|
+
readonly schemaActionId: string;
|
|
8
|
+
constructor(record: OdinRecord<any> | {
|
|
9
|
+
id: string;
|
|
10
|
+
entity: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
}, properties: UpdateTransactionExternalRefProperties, options?: {
|
|
13
|
+
journeyId?: string;
|
|
14
|
+
stageKey?: string;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export interface UpdateTransactionExternalRefMessage extends OdinRecordUpdatedEvent<UpdateTransactionExternalRefDto, UpdateTransactionExternalRefProperties> {
|
|
18
|
+
}
|
|
19
|
+
export declare const ROUTING_KEY_UPDATE_TRANSACTION_EXTERNAL_REF = "UpdateTransactionExternalRef";
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_UPDATE_TRANSACTION_EXTERNAL_REF = exports.UpdateTransactionExternalRefDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class UpdateTransactionExternalRefDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'UpdateTransactionExternalRef';
|
|
16
|
+
this.schemaActionId = '5aee86f1-eb94-4050-8a25-42bea85bde85';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.UpdateTransactionExternalRefDto = UpdateTransactionExternalRefDto;
|
|
20
|
+
exports.ROUTING_KEY_UPDATE_TRANSACTION_EXTERNAL_REF = 'UpdateTransactionExternalRef';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
2
|
+
interface VoidPaymentProperties {
|
|
3
|
+
}
|
|
4
|
+
export declare class VoidPaymentDto extends OdinRecordUpdateDto<VoidPaymentProperties> {
|
|
5
|
+
readonly actionName: string;
|
|
6
|
+
readonly schemaActionId: string;
|
|
7
|
+
constructor(record: OdinRecord<any> | {
|
|
8
|
+
id: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
}, properties: VoidPaymentProperties, options?: {
|
|
12
|
+
journeyId?: string;
|
|
13
|
+
stageKey?: string;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export interface VoidPaymentMessage extends OdinRecordUpdatedEvent<VoidPaymentDto, VoidPaymentProperties> {
|
|
17
|
+
}
|
|
18
|
+
export declare const ROUTING_KEY_VOID_PAYMENT = "VoidPayment";
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ROUTING_KEY_VOID_PAYMENT = exports.VoidPaymentDto = void 0;
|
|
4
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
5
|
+
class VoidPaymentDto extends core_1.OdinRecordUpdateDto {
|
|
6
|
+
constructor(record, properties, options) {
|
|
7
|
+
super({
|
|
8
|
+
id: record.id,
|
|
9
|
+
entity: record.entity,
|
|
10
|
+
type: record.type,
|
|
11
|
+
properties,
|
|
12
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
13
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
14
|
+
});
|
|
15
|
+
this.actionName = 'VoidPayment';
|
|
16
|
+
this.schemaActionId = '77689b76-4a08-4fa3-abec-8594c19768fd';
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.VoidPaymentDto = VoidPaymentDto;
|
|
20
|
+
exports.ROUTING_KEY_VOID_PAYMENT = 'VoidPayment';
|