@d19n/youfibre-odin-sdk 1.0.355 → 1.0.356

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 CHANGED
@@ -351,7 +351,7 @@ This SDK includes **163** entities across **12** modules.
351
351
 
352
352
  ## Actions
353
353
 
354
- This SDK includes **539** actions.
354
+ This SDK includes **538** actions.
355
355
 
356
356
  ### Action Types
357
357
 
@@ -1348,7 +1348,6 @@ This SDK includes **539** actions.
1348
1348
  | `MovePgPaymentMethodToValidated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToValidated |
1349
1349
  | `UpdatePgPaymentMethodActivatedDatetime` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodActivatedDatetime |
1350
1350
  | `UpdatePgPaymentMethod` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethod |
1351
- | `UpdatePgPaymentMethodFailedReason` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason |
1352
1351
  | `UpdatePgPaymentMethodFirstTransactionProcessed` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFirstTransactionProcessed |
1353
1352
  | `UpdatePgPaymentMethodMessage` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodMessage |
1354
1353
  | `UpdatePgPaymentMethodValidatedDatetime` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodValidatedDatetime |
@@ -22,7 +22,7 @@ export interface CreateLeadFromBrskMessage extends OdinRecordCreatedEvent<Create
22
22
  * Properties for CreateLeadFromBrsk action
23
23
  *
24
24
  * @property Required fields: 4
25
- * @property Optional fields: 2
25
+ * @property Optional fields: 3
26
26
  */
27
27
  export interface CreateLeadFromBrskProperties {
28
28
  /**
@@ -71,6 +71,13 @@ export interface CreateLeadFromBrskProperties {
71
71
  * @type {TEXT}
72
72
  */
73
73
  LastName?: string | null;
74
+ /**
75
+ * name
76
+ *
77
+ * Display name/title for Lead records. Primary identifier for Sales team.
78
+ * @type {TEXT}
79
+ */
80
+ Name?: string | null;
74
81
  }
75
82
  /**
76
83
  * CreateLeadFromBrsk
@@ -48,11 +48,11 @@ export declare enum DefaultPgPaymentMethodStageNames {
48
48
  CancellationPending = "Cancellation Pending",
49
49
  /** Cancelled */
50
50
  Cancelled = "Cancelled",
51
- /** Submission Failed */
51
+ /** Submission Failed (fail) */
52
52
  SubmissionFailed = "Submission Failed",
53
- /** File Rejected */
53
+ /** File Rejected (fail) */
54
54
  FileRejected = "File Rejected",
55
- /** Instruction Rejected */
55
+ /** Instruction Rejected (fail) */
56
56
  InstructionRejected = "Instruction Rejected",
57
57
  /** Invalid (fail) */
58
58
  Invalid = "Invalid"
@@ -49,11 +49,11 @@ var DefaultPgPaymentMethodStageNames;
49
49
  DefaultPgPaymentMethodStageNames["CancellationPending"] = "Cancellation Pending";
50
50
  /** Cancelled */
51
51
  DefaultPgPaymentMethodStageNames["Cancelled"] = "Cancelled";
52
- /** Submission Failed */
52
+ /** Submission Failed (fail) */
53
53
  DefaultPgPaymentMethodStageNames["SubmissionFailed"] = "Submission Failed";
54
- /** File Rejected */
54
+ /** File Rejected (fail) */
55
55
  DefaultPgPaymentMethodStageNames["FileRejected"] = "File Rejected";
56
- /** Instruction Rejected */
56
+ /** Instruction Rejected (fail) */
57
57
  DefaultPgPaymentMethodStageNames["InstructionRejected"] = "Instruction Rejected";
58
58
  /** Invalid (fail) */
59
59
  DefaultPgPaymentMethodStageNames["Invalid"] = "Invalid";
@@ -26,7 +26,6 @@ import { PgPaymentMethodProperties } from '../entities-v2/PgPaymentMethod';
26
26
  import { CreatePgPaymentMethodProperties } from '../actions-v2/CreatePgPaymentMethodDto';
27
27
  import { UpdatePgPaymentMethodActivatedDatetimeProperties } from '../actions-v2/UpdatePgPaymentMethodActivatedDatetimeDto';
28
28
  import { UpdatePgPaymentMethodProperties } from '../actions-v2/UpdatePgPaymentMethodDto';
29
- import { UpdatePgPaymentMethodFailedReasonProperties } from '../actions-v2/UpdatePgPaymentMethodFailedReasonDto';
30
29
  import { UpdatePgPaymentMethodFirstTransactionProcessedProperties } from '../actions-v2/UpdatePgPaymentMethodFirstTransactionProcessedDto';
31
30
  import { UpdatePgPaymentMethodMessageProperties } from '../actions-v2/UpdatePgPaymentMethodMessageDto';
32
31
  import { UpdatePgPaymentMethodValidatedDatetimeProperties } from '../actions-v2/UpdatePgPaymentMethodValidatedDatetimeDto';
@@ -615,32 +614,6 @@ export declare class PgPaymentMethodRecord<TProps = PgPaymentMethodProperties> {
615
614
  journeyId?: string;
616
615
  stageKey?: string;
617
616
  }): ActionBuilder;
618
- /**
619
- * UpdatePgPaymentMethodFailedReason
620
- *
621
- * Updates this PgPaymentMethod record with the specified properties.
622
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
623
- *
624
- * @param properties - Required properties for this action
625
- * @param options - Optional settings
626
- * @param options.journeyId - Associate with a journey
627
- * @param options.stageKey - Transition to pipeline stage
628
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
629
- * @throws Error if called on a new (unsaved) record
630
- *
631
- * @example
632
- * ```typescript
633
- * const record = await odinClient.pgPaymentMethods.get(id);
634
- * await record.updatePgPaymentMethodFailedReason({ ... }).execute();
635
- *
636
- * // Dry run (for debugging)
637
- * const payload = record.updatePgPaymentMethodFailedReason({ ... }).dryRun();
638
- * ```
639
- */
640
- updatePgPaymentMethodFailedReason(properties: UpdatePgPaymentMethodFailedReasonProperties, options?: {
641
- journeyId?: string;
642
- stageKey?: string;
643
- }): ActionBuilder;
644
617
  /**
645
618
  * UpdatePgPaymentMethodFirstTransactionProcessed
646
619
  *
@@ -770,35 +770,6 @@ class PgPaymentMethodRecord {
770
770
  const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdatePgPaymentMethod', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
771
771
  return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
772
772
  }
773
- /**
774
- * UpdatePgPaymentMethodFailedReason
775
- *
776
- * Updates this PgPaymentMethod record with the specified properties.
777
- * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
778
- *
779
- * @param properties - Required properties for this action
780
- * @param options - Optional settings
781
- * @param options.journeyId - Associate with a journey
782
- * @param options.stageKey - Transition to pipeline stage
783
- * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
784
- * @throws Error if called on a new (unsaved) record
785
- *
786
- * @example
787
- * ```typescript
788
- * const record = await odinClient.pgPaymentMethods.get(id);
789
- * await record.updatePgPaymentMethodFailedReason({ ... }).execute();
790
- *
791
- * // Dry run (for debugging)
792
- * const payload = record.updatePgPaymentMethodFailedReason({ ... }).dryRun();
793
- * ```
794
- */
795
- updatePgPaymentMethodFailedReason(properties, options) {
796
- var _a;
797
- if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
798
- throw new Error('updatePgPaymentMethodFailedReason requires an existing record. Use accessor.get() first.');
799
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdatePgPaymentMethodFailedReason', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
800
- return new ActionBuilder(this._provider, 'BillingModule', 'PgPaymentMethod', payload, () => { this._pendingLinks = []; });
801
- }
802
773
  /**
803
774
  * UpdatePgPaymentMethodFirstTransactionProcessed
804
775
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.355",
3
+ "version": "1.0.356",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -1,78 +0,0 @@
1
- /**
2
- * UpdatePgPaymentMethodFailedReason Action DTO
3
- *
4
- * Update PG Payment Method Failed Reason
5
- *
6
- * @module BillingModule
7
- * @entity PgPaymentMethod
8
- * @entityType DEFAULT
9
- * @actionKey UpdatePgPaymentMethodFailedReason
10
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
- /**
16
- * RabbitMQ message payload for UpdatePgPaymentMethodFailedReason updated events
17
- *
18
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason
19
- */
20
- export interface UpdatePgPaymentMethodFailedReasonMessage extends OdinRecordUpdatedEvent<UpdatePgPaymentMethodFailedReasonDto, UpdatePgPaymentMethodFailedReasonProperties> {
21
- }
22
- /**
23
- * Properties for UpdatePgPaymentMethodFailedReason action
24
- *
25
- * @property Required fields: 1
26
- * @property Optional fields: 0
27
- */
28
- export interface UpdatePgPaymentMethodFailedReasonProperties {
29
- /**
30
- * FailedReason
31
- *
32
- * Failed Reason
33
- * @type {TEXT}
34
- * @required
35
- */
36
- FailedReason: string;
37
- }
38
- /**
39
- * UpdatePgPaymentMethodFailedReason
40
- *
41
- * Update PG Payment Method Failed Reason
42
- *
43
- * @actionType UPDATE - Updates an existing PgPaymentMethod record
44
- * @module BillingModule
45
- * @entity PgPaymentMethod
46
- * @entityType DEFAULT (Default)
47
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason
48
- * @permission schema.action.updatepgpaymentmethodfailedreason.trigger
49
- * @benchmark This action is tracked for performance benchmarks
50
- */
51
- export declare class UpdatePgPaymentMethodFailedReasonDto extends OdinRecordUpdateDto<UpdatePgPaymentMethodFailedReasonProperties> {
52
- /** Used by SDK generators to identify action type */
53
- static readonly ACTION_TYPE = "UPDATE";
54
- static readonly ACTION_KEY = "UpdatePgPaymentMethodFailedReason";
55
- static readonly MODULE_NAME = "BillingModule";
56
- static readonly ENTITIES: string[];
57
- static readonly ENTITY_TYPE = "DEFAULT";
58
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason";
59
- static readonly PERMISSION = "schema.action.updatepgpaymentmethodfailedreason.trigger";
60
- /** Step metadata - entity this action targets */
61
- static readonly STEP_ENTITY = "BillingModule:PgPaymentMethod";
62
- static readonly STEP_SCHEMA_ID = "4f25d495-d508-493f-b5e4-97ef1639c884";
63
- static readonly STEP_SCHEMA_ACTION_ID = "79964f7d-fcb3-483f-b24b-7cf7417b9e6b";
64
- static readonly STEP_SCHEMA_TYPE_ID = "02fb9e15-150e-4d37-b220-5c89615311da";
65
- static readonly STEP_TYPE = "DEFAULT";
66
- static readonly AUTO_LINK_PARENT = false;
67
- readonly actionName: string;
68
- readonly schemaActionId: string;
69
- readonly entity: string;
70
- constructor(record: OdinRecord<any> | {
71
- id: string;
72
- entity: string;
73
- type?: string;
74
- }, properties: UpdatePgPaymentMethodFailedReasonProperties, options?: {
75
- journeyId?: string;
76
- stageKey?: string;
77
- });
78
- }
@@ -1,61 +0,0 @@
1
- "use strict";
2
- /**
3
- * UpdatePgPaymentMethodFailedReason Action DTO
4
- *
5
- * Update PG Payment Method Failed Reason
6
- *
7
- * @module BillingModule
8
- * @entity PgPaymentMethod
9
- * @entityType DEFAULT
10
- * @actionKey UpdatePgPaymentMethodFailedReason
11
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason
12
- *
13
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdatePgPaymentMethodFailedReasonDto = void 0;
17
- const core_1 = require("@d19n/odin-types/dist/core");
18
- /**
19
- * UpdatePgPaymentMethodFailedReason
20
- *
21
- * Update PG Payment Method Failed Reason
22
- *
23
- * @actionType UPDATE - Updates an existing PgPaymentMethod record
24
- * @module BillingModule
25
- * @entity PgPaymentMethod
26
- * @entityType DEFAULT (Default)
27
- * @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason
28
- * @permission schema.action.updatepgpaymentmethodfailedreason.trigger
29
- * @benchmark This action is tracked for performance benchmarks
30
- */
31
- class UpdatePgPaymentMethodFailedReasonDto extends core_1.OdinRecordUpdateDto {
32
- constructor(record, properties, options) {
33
- super({
34
- id: record.id,
35
- entity: record.entity,
36
- type: record.type,
37
- properties,
38
- journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
39
- stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
40
- });
41
- this.actionName = 'UpdatePgPaymentMethodFailedReason';
42
- this.schemaActionId = '79964f7d-fcb3-483f-b24b-7cf7417b9e6b';
43
- this.entity = 'BillingModule:PgPaymentMethod';
44
- }
45
- }
46
- exports.UpdatePgPaymentMethodFailedReasonDto = UpdatePgPaymentMethodFailedReasonDto;
47
- /** Used by SDK generators to identify action type */
48
- UpdatePgPaymentMethodFailedReasonDto.ACTION_TYPE = 'UPDATE';
49
- UpdatePgPaymentMethodFailedReasonDto.ACTION_KEY = 'UpdatePgPaymentMethodFailedReason';
50
- UpdatePgPaymentMethodFailedReasonDto.MODULE_NAME = 'BillingModule';
51
- UpdatePgPaymentMethodFailedReasonDto.ENTITIES = ['PgPaymentMethod'];
52
- UpdatePgPaymentMethodFailedReasonDto.ENTITY_TYPE = 'DEFAULT';
53
- UpdatePgPaymentMethodFailedReasonDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.UpdatePgPaymentMethodFailedReason';
54
- UpdatePgPaymentMethodFailedReasonDto.PERMISSION = 'schema.action.updatepgpaymentmethodfailedreason.trigger';
55
- /** Step metadata - entity this action targets */
56
- UpdatePgPaymentMethodFailedReasonDto.STEP_ENTITY = 'BillingModule:PgPaymentMethod';
57
- UpdatePgPaymentMethodFailedReasonDto.STEP_SCHEMA_ID = '4f25d495-d508-493f-b5e4-97ef1639c884';
58
- UpdatePgPaymentMethodFailedReasonDto.STEP_SCHEMA_ACTION_ID = '79964f7d-fcb3-483f-b24b-7cf7417b9e6b';
59
- UpdatePgPaymentMethodFailedReasonDto.STEP_SCHEMA_TYPE_ID = '02fb9e15-150e-4d37-b220-5c89615311da';
60
- UpdatePgPaymentMethodFailedReasonDto.STEP_TYPE = 'DEFAULT';
61
- UpdatePgPaymentMethodFailedReasonDto.AUTO_LINK_PARENT = false;