@mbanq/core-sdk-js 0.44.0 → 0.46.0

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.
@@ -1,7 +1,7 @@
1
1
  import z$1, { z } from 'zod';
2
2
  import { a as Command, G as GraphQLRequest } from '../config.d-BvqzFkbH.js';
3
3
  import * as buffer from 'buffer';
4
- import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput, ai as CreateTransferOutput, P as Payment, aj as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, ak as ProcessOutput$1, U as UpdatePaymentInput, u as SavingAccount, al as GetAccountsOfClientRequest, am as GetAccountsOfClientResponse, z as UpdateAccountRequest, an as CreateAndActivateAccountRequest, ao as CreateAndActivateAccountResponse, ap as CloseAccountRequest, aq as CloseAccountResponse, ar as BlockAccountRequest, as as BlockAccountResponse, at as HoldAmountRequest, au as HoldAmountResponse, av as UpdateRecipientRequest, R as Recipient, aw as GetRecipientParams, g as CreateRecipientRequest, ax as DeleteRecipientRequest, h as RecipientRequest, ay as Recipients, D as UserDetail, az as EnableSelfServiceAccessRequest, aA as EnableSelfServiceAccessResponse, aB as UpdateSelfServiceUserRequest, aC as UpdateSelfServiceUserResponse, aD as DeleteSelfServiceUserResponse } from '../recipient-BcVUs19_.js';
4
+ import { e as ProcessOutput, G as GetTransferInput, T as Transfer, b as CreateTransferInput, aH as CreateTransferOutput, P as Payment, aI as PaymentFilters, a as PaymentResponse, C as CreatePaymentInput, aJ as ProcessOutput$1, U as UpdatePaymentInput, u as SavingAccount, aK as GetAccountsOfClientRequest, aL as GetAccountsOfClientResponse, z as UpdateAccountRequest, aM as CreateAndActivateAccountRequest, aN as CreateAndActivateAccountResponse, aO as CloseAccountRequest, aP as CloseAccountResponse, aQ as BlockAccountRequest, aR as BlockAccountResponse, aS as HoldAmountRequest, aT as HoldAmountResponse, aU as UpdateRecipientRequest, R as Recipient, aV as GetRecipientParams, g as CreateRecipientRequest, aW as DeleteRecipientRequest, h as RecipientRequest, aX as Recipients, D as UserDetail, aY as EnableSelfServiceAccessRequest, aZ as EnableSelfServiceAccessResponse, a_ as UpdateSelfServiceUserRequest, a$ as UpdateSelfServiceUserResponse, b0 as DeleteSelfServiceUserResponse, b1 as CreateChargeRequest, b2 as CreateChargeResponse, aA as GetChargeResponse, aC as GetChargesRequest, aE as UpdateChargeRequest, aG as UpdateChargeResponse, b3 as CreateCreditProductRequest, b4 as GetCreditProductsResponse, b5 as UpdateCreditProductRequest, b6 as CreateLoanProductRequest, b7 as CreateLoanProductResponse, b8 as GetLoanProductResponse, b9 as GetLoanProductsResponse, ba as UpdateLoanProductRequest, bb as UpdateLoanProductResponse } from '../recipient-DdJ52MGV.js';
5
5
  import 'graphql';
6
6
  import 'axios';
7
7
 
@@ -11143,6 +11143,34 @@ declare const DeactivatePrepaidCardParamsSchema: z.ZodObject<{
11143
11143
  }>;
11144
11144
  type DeactivatePrepaidCardParams = z.infer<typeof DeactivatePrepaidCardParamsSchema>;
11145
11145
 
11146
+ declare const TemplateSchema: z.ZodObject<{
11147
+ id: z.ZodNumber;
11148
+ name: z.ZodString;
11149
+ type: z.ZodEnum<["DOCUMENT", "EMAIL", "SMS", "PUSH_NOTIFICATION"]>;
11150
+ text: z.ZodString;
11151
+ isTrapDoor: z.ZodBoolean;
11152
+ identifier: z.ZodString;
11153
+ metaData: z.ZodRecord<z.ZodString, z.ZodAny>;
11154
+ placeholders: z.ZodArray<z.ZodString, "many">;
11155
+ }, "strip", z.ZodTypeAny, {
11156
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11157
+ name: string;
11158
+ identifier: string;
11159
+ id: number;
11160
+ text: string;
11161
+ isTrapDoor: boolean;
11162
+ metaData: Record<string, any>;
11163
+ placeholders: string[];
11164
+ }, {
11165
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11166
+ name: string;
11167
+ identifier: string;
11168
+ id: number;
11169
+ text: string;
11170
+ isTrapDoor: boolean;
11171
+ metaData: Record<string, any>;
11172
+ placeholders: string[];
11173
+ }>;
11146
11174
  declare const SubscriberResponseSchema: z.ZodObject<{
11147
11175
  id: z.ZodOptional<z.ZodNumber>;
11148
11176
  name: z.ZodString;
@@ -11162,7 +11190,7 @@ declare const SubscriberResponseSchema: z.ZodObject<{
11162
11190
  name: string;
11163
11191
  }>, "many">>;
11164
11192
  }, "strip", z.ZodTypeAny, {
11165
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11193
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11166
11194
  name: string;
11167
11195
  id?: number | undefined;
11168
11196
  active?: boolean | undefined;
@@ -11174,7 +11202,7 @@ declare const SubscriberResponseSchema: z.ZodObject<{
11174
11202
  name: string;
11175
11203
  }[] | undefined;
11176
11204
  }, {
11177
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11205
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11178
11206
  name: string;
11179
11207
  id?: number | undefined;
11180
11208
  active?: boolean | undefined;
@@ -11226,7 +11254,7 @@ declare const SubscriberListResponseSchema: z.ZodObject<{
11226
11254
  name: string;
11227
11255
  }>, "many">>;
11228
11256
  }, "strip", z.ZodTypeAny, {
11229
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11257
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11230
11258
  name: string;
11231
11259
  id?: number | undefined;
11232
11260
  active?: boolean | undefined;
@@ -11238,7 +11266,7 @@ declare const SubscriberListResponseSchema: z.ZodObject<{
11238
11266
  name: string;
11239
11267
  }[] | undefined;
11240
11268
  }, {
11241
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11269
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11242
11270
  name: string;
11243
11271
  id?: number | undefined;
11244
11272
  active?: boolean | undefined;
@@ -11253,7 +11281,7 @@ declare const SubscriberListResponseSchema: z.ZodObject<{
11253
11281
  }, "strip", z.ZodTypeAny, {
11254
11282
  totalFilteredRecords: number;
11255
11283
  pageItems: {
11256
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11284
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11257
11285
  name: string;
11258
11286
  id?: number | undefined;
11259
11287
  active?: boolean | undefined;
@@ -11268,7 +11296,7 @@ declare const SubscriberListResponseSchema: z.ZodObject<{
11268
11296
  }, {
11269
11297
  totalFilteredRecords: number;
11270
11298
  pageItems: {
11271
- type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
11299
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11272
11300
  name: string;
11273
11301
  id?: number | undefined;
11274
11302
  active?: boolean | undefined;
@@ -11291,11 +11319,339 @@ declare const SubscriberActionResponseSchema: z.ZodObject<{
11291
11319
  id: string;
11292
11320
  resourceId: number;
11293
11321
  }>;
11322
+ declare const SubscriberUpdateResponseSchema: z.ZodObject<{
11323
+ id: z.ZodString;
11324
+ resourceId: z.ZodNumber;
11325
+ changes: z.ZodObject<Omit<{
11326
+ id: z.ZodOptional<z.ZodNumber>;
11327
+ name: z.ZodString;
11328
+ type: z.ZodEnum<["WEBHOOK", "EMAIL", "CLIENT_EMAIL", "PUSH_NOTIFICATION", "CORE_EVENT_PROCESSOR"]>;
11329
+ target: z.ZodOptional<z.ZodString>;
11330
+ deliveryRetryLimit: z.ZodOptional<z.ZodNumber>;
11331
+ active: z.ZodOptional<z.ZodBoolean>;
11332
+ secretKey: z.ZodOptional<z.ZodString>;
11333
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
11334
+ name: z.ZodString;
11335
+ value: z.ZodString;
11336
+ }, "strip", z.ZodTypeAny, {
11337
+ value: string;
11338
+ name: string;
11339
+ }, {
11340
+ value: string;
11341
+ name: string;
11342
+ }>, "many">>;
11343
+ }, "id">, "strip", z.ZodTypeAny, {
11344
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11345
+ name: string;
11346
+ active?: boolean | undefined;
11347
+ target?: string | undefined;
11348
+ deliveryRetryLimit?: number | undefined;
11349
+ secretKey?: string | undefined;
11350
+ headers?: {
11351
+ value: string;
11352
+ name: string;
11353
+ }[] | undefined;
11354
+ }, {
11355
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11356
+ name: string;
11357
+ active?: boolean | undefined;
11358
+ target?: string | undefined;
11359
+ deliveryRetryLimit?: number | undefined;
11360
+ secretKey?: string | undefined;
11361
+ headers?: {
11362
+ value: string;
11363
+ name: string;
11364
+ }[] | undefined;
11365
+ }>;
11366
+ }, "strip", z.ZodTypeAny, {
11367
+ id: string;
11368
+ resourceId: number;
11369
+ changes: {
11370
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11371
+ name: string;
11372
+ active?: boolean | undefined;
11373
+ target?: string | undefined;
11374
+ deliveryRetryLimit?: number | undefined;
11375
+ secretKey?: string | undefined;
11376
+ headers?: {
11377
+ value: string;
11378
+ name: string;
11379
+ }[] | undefined;
11380
+ };
11381
+ }, {
11382
+ id: string;
11383
+ resourceId: number;
11384
+ changes: {
11385
+ type: "EMAIL" | "PUSH_NOTIFICATION" | "WEBHOOK" | "CLIENT_EMAIL" | "CORE_EVENT_PROCESSOR";
11386
+ name: string;
11387
+ active?: boolean | undefined;
11388
+ target?: string | undefined;
11389
+ deliveryRetryLimit?: number | undefined;
11390
+ secretKey?: string | undefined;
11391
+ headers?: {
11392
+ value: string;
11393
+ name: string;
11394
+ }[] | undefined;
11395
+ };
11396
+ }>;
11294
11397
  type SubscriberResponse = z.infer<typeof SubscriberResponseSchema>;
11295
11398
  type SubscriberRequest = Omit<SubscriberResponse, 'id'>;
11296
11399
  type SubscriberParams = z.infer<typeof SubscriberParamsSchema>;
11297
11400
  type SubscriberListResponse = z.infer<typeof SubscriberListResponseSchema>;
11298
11401
  type SubscriberActionResponse = z.infer<typeof SubscriberActionResponseSchema>;
11402
+ type SubscriberUpdateResponse = z.infer<typeof SubscriberUpdateResponseSchema>;
11403
+ declare const SubscriptionRequestSchema: z.ZodObject<{
11404
+ subscriberId: z.ZodNumber;
11405
+ entityMap: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
11406
+ action: z.ZodEnum<["CREATE", "UPDATE", "DELETE"]>;
11407
+ templateId: z.ZodNumber;
11408
+ }, "strip", z.ZodTypeAny, {
11409
+ action: "CREATE" | "UPDATE" | "DELETE";
11410
+ templateId: number;
11411
+ }, {
11412
+ action: "CREATE" | "UPDATE" | "DELETE";
11413
+ templateId: number;
11414
+ }>, "many">>;
11415
+ action: z.ZodEnum<["CREATE", "UPDATE", "DELETE"]>;
11416
+ entity: z.ZodString;
11417
+ }, "strip", z.ZodTypeAny, {
11418
+ action: "CREATE" | "UPDATE" | "DELETE";
11419
+ subscriberId: number;
11420
+ entityMap: Record<string, {
11421
+ action: "CREATE" | "UPDATE" | "DELETE";
11422
+ templateId: number;
11423
+ }[]>;
11424
+ entity: string;
11425
+ }, {
11426
+ action: "CREATE" | "UPDATE" | "DELETE";
11427
+ subscriberId: number;
11428
+ entityMap: Record<string, {
11429
+ action: "CREATE" | "UPDATE" | "DELETE";
11430
+ templateId: number;
11431
+ }[]>;
11432
+ entity: string;
11433
+ }>;
11434
+ declare const SubscriptionResponseSchema: z.ZodObject<{
11435
+ id: z.ZodString;
11436
+ subscriberId: z.ZodNumber;
11437
+ action: z.ZodEnum<["CREATE", "UPDATE", "DELETE"]>;
11438
+ entity: z.ZodString;
11439
+ template: z.ZodObject<{
11440
+ id: z.ZodNumber;
11441
+ name: z.ZodString;
11442
+ type: z.ZodEnum<["DOCUMENT", "EMAIL", "SMS", "PUSH_NOTIFICATION"]>;
11443
+ text: z.ZodString;
11444
+ isTrapDoor: z.ZodBoolean;
11445
+ identifier: z.ZodString;
11446
+ metaData: z.ZodRecord<z.ZodString, z.ZodAny>;
11447
+ placeholders: z.ZodArray<z.ZodString, "many">;
11448
+ }, "strip", z.ZodTypeAny, {
11449
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11450
+ name: string;
11451
+ identifier: string;
11452
+ id: number;
11453
+ text: string;
11454
+ isTrapDoor: boolean;
11455
+ metaData: Record<string, any>;
11456
+ placeholders: string[];
11457
+ }, {
11458
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11459
+ name: string;
11460
+ identifier: string;
11461
+ id: number;
11462
+ text: string;
11463
+ isTrapDoor: boolean;
11464
+ metaData: Record<string, any>;
11465
+ placeholders: string[];
11466
+ }>;
11467
+ }, "strip", z.ZodTypeAny, {
11468
+ id: string;
11469
+ action: "CREATE" | "UPDATE" | "DELETE";
11470
+ subscriberId: number;
11471
+ entity: string;
11472
+ template: {
11473
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11474
+ name: string;
11475
+ identifier: string;
11476
+ id: number;
11477
+ text: string;
11478
+ isTrapDoor: boolean;
11479
+ metaData: Record<string, any>;
11480
+ placeholders: string[];
11481
+ };
11482
+ }, {
11483
+ id: string;
11484
+ action: "CREATE" | "UPDATE" | "DELETE";
11485
+ subscriberId: number;
11486
+ entity: string;
11487
+ template: {
11488
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11489
+ name: string;
11490
+ identifier: string;
11491
+ id: number;
11492
+ text: string;
11493
+ isTrapDoor: boolean;
11494
+ metaData: Record<string, any>;
11495
+ placeholders: string[];
11496
+ };
11497
+ }>;
11498
+ declare const SubscriptionParamSchema: z.ZodObject<{
11499
+ subscriberId: z.ZodNumber;
11500
+ offset: z.ZodOptional<z.ZodNumber>;
11501
+ limit: z.ZodOptional<z.ZodNumber>;
11502
+ orderBy: z.ZodOptional<z.ZodEnum<["id"]>>;
11503
+ sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
11504
+ }, "strip", z.ZodTypeAny, {
11505
+ subscriberId: number;
11506
+ orderBy?: "id" | undefined;
11507
+ sortOrder?: "ASC" | "DESC" | undefined;
11508
+ limit?: number | undefined;
11509
+ offset?: number | undefined;
11510
+ }, {
11511
+ subscriberId: number;
11512
+ orderBy?: "id" | undefined;
11513
+ sortOrder?: "ASC" | "DESC" | undefined;
11514
+ limit?: number | undefined;
11515
+ offset?: number | undefined;
11516
+ }>;
11517
+ declare const SubscriptionListResponseSchema: z.ZodObject<{
11518
+ pageItems: z.ZodArray<z.ZodObject<{
11519
+ id: z.ZodString;
11520
+ subscriberId: z.ZodNumber;
11521
+ action: z.ZodEnum<["CREATE", "UPDATE", "DELETE"]>;
11522
+ entity: z.ZodString;
11523
+ template: z.ZodObject<{
11524
+ id: z.ZodNumber;
11525
+ name: z.ZodString;
11526
+ type: z.ZodEnum<["DOCUMENT", "EMAIL", "SMS", "PUSH_NOTIFICATION"]>;
11527
+ text: z.ZodString;
11528
+ isTrapDoor: z.ZodBoolean;
11529
+ identifier: z.ZodString;
11530
+ metaData: z.ZodRecord<z.ZodString, z.ZodAny>;
11531
+ placeholders: z.ZodArray<z.ZodString, "many">;
11532
+ }, "strip", z.ZodTypeAny, {
11533
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11534
+ name: string;
11535
+ identifier: string;
11536
+ id: number;
11537
+ text: string;
11538
+ isTrapDoor: boolean;
11539
+ metaData: Record<string, any>;
11540
+ placeholders: string[];
11541
+ }, {
11542
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11543
+ name: string;
11544
+ identifier: string;
11545
+ id: number;
11546
+ text: string;
11547
+ isTrapDoor: boolean;
11548
+ metaData: Record<string, any>;
11549
+ placeholders: string[];
11550
+ }>;
11551
+ }, "strip", z.ZodTypeAny, {
11552
+ id: string;
11553
+ action: "CREATE" | "UPDATE" | "DELETE";
11554
+ subscriberId: number;
11555
+ entity: string;
11556
+ template: {
11557
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11558
+ name: string;
11559
+ identifier: string;
11560
+ id: number;
11561
+ text: string;
11562
+ isTrapDoor: boolean;
11563
+ metaData: Record<string, any>;
11564
+ placeholders: string[];
11565
+ };
11566
+ }, {
11567
+ id: string;
11568
+ action: "CREATE" | "UPDATE" | "DELETE";
11569
+ subscriberId: number;
11570
+ entity: string;
11571
+ template: {
11572
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11573
+ name: string;
11574
+ identifier: string;
11575
+ id: number;
11576
+ text: string;
11577
+ isTrapDoor: boolean;
11578
+ metaData: Record<string, any>;
11579
+ placeholders: string[];
11580
+ };
11581
+ }>, "many">;
11582
+ totalFilteredRecords: z.ZodNumber;
11583
+ }, "strip", z.ZodTypeAny, {
11584
+ totalFilteredRecords: number;
11585
+ pageItems: {
11586
+ id: string;
11587
+ action: "CREATE" | "UPDATE" | "DELETE";
11588
+ subscriberId: number;
11589
+ entity: string;
11590
+ template: {
11591
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11592
+ name: string;
11593
+ identifier: string;
11594
+ id: number;
11595
+ text: string;
11596
+ isTrapDoor: boolean;
11597
+ metaData: Record<string, any>;
11598
+ placeholders: string[];
11599
+ };
11600
+ }[];
11601
+ }, {
11602
+ totalFilteredRecords: number;
11603
+ pageItems: {
11604
+ id: string;
11605
+ action: "CREATE" | "UPDATE" | "DELETE";
11606
+ subscriberId: number;
11607
+ entity: string;
11608
+ template: {
11609
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11610
+ name: string;
11611
+ identifier: string;
11612
+ id: number;
11613
+ text: string;
11614
+ isTrapDoor: boolean;
11615
+ metaData: Record<string, any>;
11616
+ placeholders: string[];
11617
+ };
11618
+ }[];
11619
+ }>;
11620
+ declare const SubscriptionActionResponseSchema: z.ZodObject<{
11621
+ id: z.ZodString;
11622
+ resourceId: z.ZodNumber;
11623
+ }, "strip", z.ZodTypeAny, {
11624
+ id: string;
11625
+ resourceId: number;
11626
+ }, {
11627
+ id: string;
11628
+ resourceId: number;
11629
+ }>;
11630
+ declare const SubscriptionEventSchema: z.ZodObject<{
11631
+ entity: z.ZodString;
11632
+ action: z.ZodEnum<["CREATE", "UPDATE", "DELETE"]>;
11633
+ }, "strip", z.ZodTypeAny, {
11634
+ action: "CREATE" | "UPDATE" | "DELETE";
11635
+ entity: string;
11636
+ }, {
11637
+ action: "CREATE" | "UPDATE" | "DELETE";
11638
+ entity: string;
11639
+ }>;
11640
+ declare const SubscriptionEventParamSchema: z.ZodObject<{
11641
+ type: z.ZodEnum<["DOCUMENT", "EMAIL", "SMS", "PUSH_NOTIFICATION"]>;
11642
+ }, "strip", z.ZodTypeAny, {
11643
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11644
+ }, {
11645
+ type: "DOCUMENT" | "EMAIL" | "SMS" | "PUSH_NOTIFICATION";
11646
+ }>;
11647
+ type SubscriptionParams = z.infer<typeof SubscriptionParamSchema>;
11648
+ type SubscriptionListResponse = z.infer<typeof SubscriptionListResponseSchema>;
11649
+ type SubscriptionRequest = z.infer<typeof SubscriptionRequestSchema>;
11650
+ type SubscriptionResponse = z.infer<typeof SubscriptionResponseSchema>;
11651
+ type SubscriptionActionResponse = z.infer<typeof SubscriptionActionResponseSchema>;
11652
+ type SubscriptionEventResponse = z.infer<typeof SubscriptionEventSchema>;
11653
+ type SubscriptionEventParams = z.infer<typeof SubscriptionEventParamSchema>;
11654
+ type TemplateResponse = z.infer<typeof TemplateSchema>;
11299
11655
 
11300
11656
  declare const CreateLoanRequestSchema: z.ZodObject<{
11301
11657
  clientId: z.ZodNumber;
@@ -20230,11 +20586,11 @@ declare const CreateNoteDataSchema: z.ZodObject<{
20230
20586
  action: z.ZodNativeEnum<typeof ActionType>;
20231
20587
  note: z.ZodString;
20232
20588
  }, "strip", z.ZodTypeAny, {
20233
- note: string;
20234
20589
  action: ActionType;
20235
- }, {
20236
20590
  note: string;
20591
+ }, {
20237
20592
  action: ActionType;
20593
+ note: string;
20238
20594
  }>;
20239
20595
  declare const CreateNoteResponseSchema: z.ZodObject<{
20240
20596
  id: z.ZodString;
@@ -20311,13 +20667,13 @@ declare const GetNoteByIdResponseSchema: z.ZodObject<{
20311
20667
  code: string;
20312
20668
  id: number;
20313
20669
  };
20670
+ createdByUsername: string;
20314
20671
  actionType: {
20315
20672
  value: string;
20316
20673
  code: string;
20317
20674
  id: number;
20318
20675
  };
20319
20676
  createdById: number;
20320
- createdByUsername: string;
20321
20677
  createdOn: string;
20322
20678
  updatedById: number;
20323
20679
  updatedByUsername: string;
@@ -20332,13 +20688,13 @@ declare const GetNoteByIdResponseSchema: z.ZodObject<{
20332
20688
  code: string;
20333
20689
  id: number;
20334
20690
  };
20691
+ createdByUsername: string;
20335
20692
  actionType: {
20336
20693
  value: string;
20337
20694
  code: string;
20338
20695
  id: number;
20339
20696
  };
20340
20697
  createdById: number;
20341
- createdByUsername: string;
20342
20698
  createdOn: string;
20343
20699
  updatedById: number;
20344
20700
  updatedByUsername: string;
@@ -20391,13 +20747,13 @@ declare const GetNotesResponseSchema: z.ZodArray<z.ZodObject<{
20391
20747
  code: string;
20392
20748
  id: number;
20393
20749
  };
20750
+ createdByUsername: string;
20394
20751
  actionType: {
20395
20752
  value: string;
20396
20753
  code: string;
20397
20754
  id: number;
20398
20755
  };
20399
20756
  createdById: number;
20400
- createdByUsername: string;
20401
20757
  createdOn: string;
20402
20758
  updatedById: number;
20403
20759
  updatedByUsername: string;
@@ -20412,13 +20768,13 @@ declare const GetNotesResponseSchema: z.ZodArray<z.ZodObject<{
20412
20768
  code: string;
20413
20769
  id: number;
20414
20770
  };
20771
+ createdByUsername: string;
20415
20772
  actionType: {
20416
20773
  value: string;
20417
20774
  code: string;
20418
20775
  id: number;
20419
20776
  };
20420
20777
  createdById: number;
20421
- createdByUsername: string;
20422
20778
  createdOn: string;
20423
20779
  updatedById: number;
20424
20780
  updatedByUsername: string;
@@ -20458,58 +20814,447 @@ declare const DeleteNoteResponseSchema: z.ZodObject<{
20458
20814
  type DeleteNoteParamsRequest = z.infer<typeof DeleteNoteParamsSchema>;
20459
20815
  type DeleteNoteResponse = z.infer<typeof DeleteNoteResponseSchema>;
20460
20816
 
20461
- /**
20462
- * Get all cards for a client
20463
- *
20464
- * Retrieves a list of all cards associated with a specific client ID.
20465
- * Returns card details including status, type, and card information.
20466
- *
20467
- * @param clientId - The unique identifier of the client
20468
- * @returns Command object that executes the API request and returns card list
20469
- *
20470
- * @example
20471
- * ```typescript
20472
- * const command = GetCards(12345);
20473
- * const cards = await client.request(command);
20474
- * ```
20475
- */
20476
- declare const GetCards: (clientId: number) => Command<{
20477
- clientId: number;
20478
- }, ListCardResponse>;
20479
- /**
20480
- * Get card details by ID
20481
- *
20482
- * Retrieves detailed information for a specific card using its unique identifier.
20483
- * Returns comprehensive card data including limits, features, and status.
20484
- *
20485
- * @param cardId - The unique identifier of the card
20486
- * @returns Command object that executes the API request and returns card details
20487
- *
20488
- * @example
20489
- * ```typescript
20490
- * const command = GetCardById(67890);
20491
- * const card = await client.request(command);
20492
- * ```
20493
- */
20494
- declare const GetCardById: (cardId: number) => Command<{
20495
- cardId: number;
20496
- }, CardResponse>;
20497
- /**
20498
- * Get card image URL
20499
- *
20500
- * Retrieves the URL for the card's visual representation/image.
20501
- * Useful for displaying card images in user interfaces.
20502
- *
20503
- * @param cardId - The unique identifier of the card
20504
- * @returns Command object that executes the API request and returns image URL
20505
- *
20506
- * @example
20507
- * ```typescript
20508
- * const command = GetCardImageUrl(67890);
20509
- * const response = await client.request(command);
20510
- * ```
20511
- */
20512
- declare const GetCardImageUrl: (cardId: number) => Command<{
20817
+ declare const GetReportsSchema: z.ZodObject<{
20818
+ parameterType: z.ZodBoolean;
20819
+ genericResultSet: z.ZodBoolean;
20820
+ }, "strip", z.ZodTypeAny, {
20821
+ genericResultSet: boolean;
20822
+ parameterType: boolean;
20823
+ }, {
20824
+ genericResultSet: boolean;
20825
+ parameterType: boolean;
20826
+ }>;
20827
+ declare const GetReportsResponseSchema: z.ZodArray<z.ZodObject<{
20828
+ report_id: z.ZodNumber;
20829
+ report_name: z.ZodString;
20830
+ report_type: z.ZodString;
20831
+ report_subtype: z.ZodNullable<z.ZodString>;
20832
+ report_category: z.ZodString;
20833
+ parameter_id: z.ZodNumber;
20834
+ report_parameter_name: z.ZodString;
20835
+ parameter_name: z.ZodString;
20836
+ }, "strip", z.ZodTypeAny, {
20837
+ report_id: number;
20838
+ report_name: string;
20839
+ report_type: string;
20840
+ report_subtype: string | null;
20841
+ report_category: string;
20842
+ parameter_id: number;
20843
+ report_parameter_name: string;
20844
+ parameter_name: string;
20845
+ }, {
20846
+ report_id: number;
20847
+ report_name: string;
20848
+ report_type: string;
20849
+ report_subtype: string | null;
20850
+ report_category: string;
20851
+ parameter_id: number;
20852
+ report_parameter_name: string;
20853
+ parameter_name: string;
20854
+ }>, "many">;
20855
+ declare const GetReportsGenericResponseSchema: z.ZodObject<{
20856
+ columnHeaders: z.ZodArray<z.ZodObject<{
20857
+ columnName: z.ZodString;
20858
+ columnType: z.ZodString;
20859
+ columnDisplayType: z.ZodString;
20860
+ isColumnNullable: z.ZodBoolean;
20861
+ isColumnPrimaryKey: z.ZodBoolean;
20862
+ columnValues: z.ZodArray<z.ZodAny, "many">;
20863
+ position: z.ZodNumber;
20864
+ sectionId: z.ZodNumber;
20865
+ }, "strip", z.ZodTypeAny, {
20866
+ position: number;
20867
+ columnName: string;
20868
+ columnType: string;
20869
+ columnDisplayType: string;
20870
+ isColumnNullable: boolean;
20871
+ isColumnPrimaryKey: boolean;
20872
+ columnValues: any[];
20873
+ sectionId: number;
20874
+ }, {
20875
+ position: number;
20876
+ columnName: string;
20877
+ columnType: string;
20878
+ columnDisplayType: string;
20879
+ isColumnNullable: boolean;
20880
+ isColumnPrimaryKey: boolean;
20881
+ columnValues: any[];
20882
+ sectionId: number;
20883
+ }>, "many">;
20884
+ data: z.ZodArray<z.ZodObject<{
20885
+ row: z.ZodArray<z.ZodString, "many">;
20886
+ }, "strip", z.ZodTypeAny, {
20887
+ row: string[];
20888
+ }, {
20889
+ row: string[];
20890
+ }>, "many">;
20891
+ metaData: z.ZodObject<{
20892
+ outputMethodDerived: z.ZodString;
20893
+ count: z.ZodNumber;
20894
+ message: z.ZodString;
20895
+ }, "strip", z.ZodTypeAny, {
20896
+ message: string;
20897
+ outputMethodDerived: string;
20898
+ count: number;
20899
+ }, {
20900
+ message: string;
20901
+ outputMethodDerived: string;
20902
+ count: number;
20903
+ }>;
20904
+ }, "strip", z.ZodTypeAny, {
20905
+ data: {
20906
+ row: string[];
20907
+ }[];
20908
+ metaData: {
20909
+ message: string;
20910
+ outputMethodDerived: string;
20911
+ count: number;
20912
+ };
20913
+ columnHeaders: {
20914
+ position: number;
20915
+ columnName: string;
20916
+ columnType: string;
20917
+ columnDisplayType: string;
20918
+ isColumnNullable: boolean;
20919
+ isColumnPrimaryKey: boolean;
20920
+ columnValues: any[];
20921
+ sectionId: number;
20922
+ }[];
20923
+ }, {
20924
+ data: {
20925
+ row: string[];
20926
+ }[];
20927
+ metaData: {
20928
+ message: string;
20929
+ outputMethodDerived: string;
20930
+ count: number;
20931
+ };
20932
+ columnHeaders: {
20933
+ position: number;
20934
+ columnName: string;
20935
+ columnType: string;
20936
+ columnDisplayType: string;
20937
+ isColumnNullable: boolean;
20938
+ isColumnPrimaryKey: boolean;
20939
+ columnValues: any[];
20940
+ sectionId: number;
20941
+ }[];
20942
+ }>;
20943
+ type GetReportsRequest = z.infer<typeof GetReportsSchema>;
20944
+ declare const GetReportParametersSchema: z.ZodObject<{
20945
+ parameterType: z.ZodBoolean;
20946
+ genericResultSet: z.ZodBoolean;
20947
+ R_reportListing: z.ZodString;
20948
+ }, "strip", z.ZodTypeAny, {
20949
+ genericResultSet: boolean;
20950
+ parameterType: boolean;
20951
+ R_reportListing: string;
20952
+ }, {
20953
+ genericResultSet: boolean;
20954
+ parameterType: boolean;
20955
+ R_reportListing: string;
20956
+ }>;
20957
+ declare const GetReportParametersResponseSchema: z.ZodArray<z.ZodObject<{
20958
+ parameter_name: z.ZodString;
20959
+ parameter_variable: z.ZodString;
20960
+ parameter_label: z.ZodString;
20961
+ parameter_displaytype: z.ZodString;
20962
+ parameter_formattype: z.ZodString;
20963
+ parameter_default: z.ZodString;
20964
+ selectone: z.ZodNullable<z.ZodString>;
20965
+ selectall: z.ZodNullable<z.ZodString>;
20966
+ parentparametername: z.ZodNullable<z.ZodString>;
20967
+ }, "strip", z.ZodTypeAny, {
20968
+ parameter_name: string;
20969
+ parameter_variable: string;
20970
+ parameter_label: string;
20971
+ parameter_displaytype: string;
20972
+ parameter_formattype: string;
20973
+ parameter_default: string;
20974
+ selectone: string | null;
20975
+ selectall: string | null;
20976
+ parentparametername: string | null;
20977
+ }, {
20978
+ parameter_name: string;
20979
+ parameter_variable: string;
20980
+ parameter_label: string;
20981
+ parameter_displaytype: string;
20982
+ parameter_formattype: string;
20983
+ parameter_default: string;
20984
+ selectone: string | null;
20985
+ selectall: string | null;
20986
+ parentparametername: string | null;
20987
+ }>, "many">;
20988
+ declare const GetReportParametersGenericResponseSchema: z.ZodObject<{
20989
+ columnHeaders: z.ZodArray<z.ZodObject<{
20990
+ columnName: z.ZodString;
20991
+ columnType: z.ZodString;
20992
+ columnLength: z.ZodNullable<z.ZodString>;
20993
+ columnDisplayType: z.ZodString;
20994
+ isColumnNullable: z.ZodBoolean;
20995
+ isColumnPrimaryKey: z.ZodBoolean;
20996
+ columnValues: z.ZodArray<z.ZodAny, "many">;
20997
+ position: z.ZodNumber;
20998
+ sectionId: z.ZodNumber;
20999
+ }, "strip", z.ZodTypeAny, {
21000
+ position: number;
21001
+ columnName: string;
21002
+ columnType: string;
21003
+ columnLength: string | null;
21004
+ columnDisplayType: string;
21005
+ isColumnNullable: boolean;
21006
+ isColumnPrimaryKey: boolean;
21007
+ columnValues: any[];
21008
+ sectionId: number;
21009
+ }, {
21010
+ position: number;
21011
+ columnName: string;
21012
+ columnType: string;
21013
+ columnLength: string | null;
21014
+ columnDisplayType: string;
21015
+ isColumnNullable: boolean;
21016
+ isColumnPrimaryKey: boolean;
21017
+ columnValues: any[];
21018
+ sectionId: number;
21019
+ }>, "many">;
21020
+ data: z.ZodArray<z.ZodObject<{
21021
+ row: z.ZodArray<z.ZodString, "many">;
21022
+ }, "strip", z.ZodTypeAny, {
21023
+ row: string[];
21024
+ }, {
21025
+ row: string[];
21026
+ }>, "many">;
21027
+ metaData: z.ZodObject<{
21028
+ outputMethodDerived: z.ZodString;
21029
+ count: z.ZodNumber;
21030
+ message: z.ZodString;
21031
+ }, "strip", z.ZodTypeAny, {
21032
+ message: string;
21033
+ outputMethodDerived: string;
21034
+ count: number;
21035
+ }, {
21036
+ message: string;
21037
+ outputMethodDerived: string;
21038
+ count: number;
21039
+ }>;
21040
+ }, "strip", z.ZodTypeAny, {
21041
+ data: {
21042
+ row: string[];
21043
+ }[];
21044
+ metaData: {
21045
+ message: string;
21046
+ outputMethodDerived: string;
21047
+ count: number;
21048
+ };
21049
+ columnHeaders: {
21050
+ position: number;
21051
+ columnName: string;
21052
+ columnType: string;
21053
+ columnLength: string | null;
21054
+ columnDisplayType: string;
21055
+ isColumnNullable: boolean;
21056
+ isColumnPrimaryKey: boolean;
21057
+ columnValues: any[];
21058
+ sectionId: number;
21059
+ }[];
21060
+ }, {
21061
+ data: {
21062
+ row: string[];
21063
+ }[];
21064
+ metaData: {
21065
+ message: string;
21066
+ outputMethodDerived: string;
21067
+ count: number;
21068
+ };
21069
+ columnHeaders: {
21070
+ position: number;
21071
+ columnName: string;
21072
+ columnType: string;
21073
+ columnLength: string | null;
21074
+ columnDisplayType: string;
21075
+ isColumnNullable: boolean;
21076
+ isColumnPrimaryKey: boolean;
21077
+ columnValues: any[];
21078
+ sectionId: number;
21079
+ }[];
21080
+ }>;
21081
+ type GetReportParametersRequest = z.infer<typeof GetReportParametersSchema>;
21082
+ type GetReportParametersResponse = z.infer<typeof GetReportParametersResponseSchema>;
21083
+ type GetReportParametersGenericResponse = z.infer<typeof GetReportParametersGenericResponseSchema>;
21084
+ declare const RunReportResponseSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
21085
+ declare const RunReportGenericResponseSchema: z.ZodObject<{
21086
+ columnHeaders: z.ZodArray<z.ZodObject<{
21087
+ columnName: z.ZodString;
21088
+ columnType: z.ZodString;
21089
+ columnLength: z.ZodNullable<z.ZodNumber>;
21090
+ columnDisplayType: z.ZodString;
21091
+ isColumnNullable: z.ZodBoolean;
21092
+ isColumnPrimaryKey: z.ZodBoolean;
21093
+ columnValues: z.ZodArray<z.ZodAny, "many">;
21094
+ position: z.ZodNumber;
21095
+ sectionId: z.ZodNumber;
21096
+ }, "strip", z.ZodTypeAny, {
21097
+ position: number;
21098
+ columnName: string;
21099
+ columnType: string;
21100
+ columnLength: number | null;
21101
+ columnDisplayType: string;
21102
+ isColumnNullable: boolean;
21103
+ isColumnPrimaryKey: boolean;
21104
+ columnValues: any[];
21105
+ sectionId: number;
21106
+ }, {
21107
+ position: number;
21108
+ columnName: string;
21109
+ columnType: string;
21110
+ columnLength: number | null;
21111
+ columnDisplayType: string;
21112
+ isColumnNullable: boolean;
21113
+ isColumnPrimaryKey: boolean;
21114
+ columnValues: any[];
21115
+ sectionId: number;
21116
+ }>, "many">;
21117
+ data: z.ZodArray<z.ZodObject<{
21118
+ row: z.ZodArray<z.ZodString, "many">;
21119
+ }, "strip", z.ZodTypeAny, {
21120
+ row: string[];
21121
+ }, {
21122
+ row: string[];
21123
+ }>, "many">;
21124
+ metaData: z.ZodObject<{
21125
+ outputMethodDerived: z.ZodString;
21126
+ count: z.ZodNumber;
21127
+ message: z.ZodString;
21128
+ }, "strip", z.ZodTypeAny, {
21129
+ message: string;
21130
+ outputMethodDerived: string;
21131
+ count: number;
21132
+ }, {
21133
+ message: string;
21134
+ outputMethodDerived: string;
21135
+ count: number;
21136
+ }>;
21137
+ }, "strip", z.ZodTypeAny, {
21138
+ data: {
21139
+ row: string[];
21140
+ }[];
21141
+ metaData: {
21142
+ message: string;
21143
+ outputMethodDerived: string;
21144
+ count: number;
21145
+ };
21146
+ columnHeaders: {
21147
+ position: number;
21148
+ columnName: string;
21149
+ columnType: string;
21150
+ columnLength: number | null;
21151
+ columnDisplayType: string;
21152
+ isColumnNullable: boolean;
21153
+ isColumnPrimaryKey: boolean;
21154
+ columnValues: any[];
21155
+ sectionId: number;
21156
+ }[];
21157
+ }, {
21158
+ data: {
21159
+ row: string[];
21160
+ }[];
21161
+ metaData: {
21162
+ message: string;
21163
+ outputMethodDerived: string;
21164
+ count: number;
21165
+ };
21166
+ columnHeaders: {
21167
+ position: number;
21168
+ columnName: string;
21169
+ columnType: string;
21170
+ columnLength: number | null;
21171
+ columnDisplayType: string;
21172
+ isColumnNullable: boolean;
21173
+ isColumnPrimaryKey: boolean;
21174
+ columnValues: any[];
21175
+ sectionId: number;
21176
+ }[];
21177
+ }>;
21178
+ declare const RunReportSchema: z.ZodObject<{
21179
+ reportName: z.ZodString;
21180
+ genericResultSet: z.ZodOptional<z.ZodBoolean>;
21181
+ exportCSV: z.ZodOptional<z.ZodBoolean>;
21182
+ outputType: z.ZodOptional<z.ZodString>;
21183
+ R_officeId: z.ZodOptional<z.ZodString>;
21184
+ R_loanOfficerId: z.ZodOptional<z.ZodString>;
21185
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
21186
+ reportName: z.ZodString;
21187
+ genericResultSet: z.ZodOptional<z.ZodBoolean>;
21188
+ exportCSV: z.ZodOptional<z.ZodBoolean>;
21189
+ outputType: z.ZodOptional<z.ZodString>;
21190
+ R_officeId: z.ZodOptional<z.ZodString>;
21191
+ R_loanOfficerId: z.ZodOptional<z.ZodString>;
21192
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
21193
+ reportName: z.ZodString;
21194
+ genericResultSet: z.ZodOptional<z.ZodBoolean>;
21195
+ exportCSV: z.ZodOptional<z.ZodBoolean>;
21196
+ outputType: z.ZodOptional<z.ZodString>;
21197
+ R_officeId: z.ZodOptional<z.ZodString>;
21198
+ R_loanOfficerId: z.ZodOptional<z.ZodString>;
21199
+ }, z.ZodTypeAny, "passthrough">>;
21200
+ type RunReportRequest = z.infer<typeof RunReportSchema>;
21201
+ type RunReportResponse = z.infer<typeof RunReportResponseSchema>;
21202
+ type RunReportGenericResponse = z.infer<typeof RunReportGenericResponseSchema>;
21203
+ type GetReportsResponse = z.infer<typeof GetReportsResponseSchema>;
21204
+ type GetReportsGenericResponse = z.infer<typeof GetReportsGenericResponseSchema>;
21205
+
21206
+ /**
21207
+ * Get all cards for a client
21208
+ *
21209
+ * Retrieves a list of all cards associated with a specific client ID.
21210
+ * Returns card details including status, type, and card information.
21211
+ *
21212
+ * @param clientId - The unique identifier of the client
21213
+ * @returns Command object that executes the API request and returns card list
21214
+ *
21215
+ * @example
21216
+ * ```typescript
21217
+ * const command = GetCards(12345);
21218
+ * const cards = await client.request(command);
21219
+ * ```
21220
+ */
21221
+ declare const GetCards: (clientId: number) => Command<{
21222
+ clientId: number;
21223
+ }, ListCardResponse>;
21224
+ /**
21225
+ * Get card details by ID
21226
+ *
21227
+ * Retrieves detailed information for a specific card using its unique identifier.
21228
+ * Returns comprehensive card data including limits, features, and status.
21229
+ *
21230
+ * @param cardId - The unique identifier of the card
21231
+ * @returns Command object that executes the API request and returns card details
21232
+ *
21233
+ * @example
21234
+ * ```typescript
21235
+ * const command = GetCardById(67890);
21236
+ * const card = await client.request(command);
21237
+ * ```
21238
+ */
21239
+ declare const GetCardById: (cardId: number) => Command<{
21240
+ cardId: number;
21241
+ }, CardResponse>;
21242
+ /**
21243
+ * Get card image URL
21244
+ *
21245
+ * Retrieves the URL for the card's visual representation/image.
21246
+ * Useful for displaying card images in user interfaces.
21247
+ *
21248
+ * @param cardId - The unique identifier of the card
21249
+ * @returns Command object that executes the API request and returns image URL
21250
+ *
21251
+ * @example
21252
+ * ```typescript
21253
+ * const command = GetCardImageUrl(67890);
21254
+ * const response = await client.request(command);
21255
+ * ```
21256
+ */
21257
+ declare const GetCardImageUrl: (cardId: number) => Command<{
20513
21258
  cardId: number;
20514
21259
  }, {
20515
21260
  imageUrl: string;
@@ -24369,17 +25114,17 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
24369
25114
  endDate: z.ZodOptional<z.ZodString>;
24370
25115
  currencyCode: z.ZodString;
24371
25116
  isLinkedWithFundSourceAccount: z.ZodOptional<z.ZodBoolean>;
25117
+ shortName: z.ZodString;
24372
25118
  digitsAfterDecimal: z.ZodNumber;
24373
25119
  accountingRule: z.ZodNumber;
24374
- shortName: z.ZodString;
25120
+ paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodString>;
25121
+ feeToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
25122
+ penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
24375
25123
  isUsedForSuspenseAccounting: z.ZodOptional<z.ZodBoolean>;
24376
25124
  isReservedProduct: z.ZodOptional<z.ZodBoolean>;
24377
25125
  minDifferentialRate: z.ZodOptional<z.ZodString>;
24378
25126
  defaultDifferentialRate: z.ZodOptional<z.ZodString>;
24379
25127
  maxDifferentialRate: z.ZodOptional<z.ZodString>;
24380
- paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodString>;
24381
- feeToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
24382
- penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
24383
25128
  }, "strip", z.ZodTypeAny, {
24384
25129
  name: string;
24385
25130
  locale: string;
@@ -24389,9 +25134,9 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
24389
25134
  interestCalculationDaysInYearType: number;
24390
25135
  description: string;
24391
25136
  currencyCode: string;
25137
+ shortName: string;
24392
25138
  digitsAfterDecimal: number;
24393
25139
  accountingRule: number;
24394
- shortName: string;
24395
25140
  dateFormat?: string | undefined;
24396
25141
  inMultiplesOf?: string | undefined;
24397
25142
  withdrawalFeeForTransfers?: boolean | undefined;
@@ -24413,14 +25158,14 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
24413
25158
  startDate?: string | undefined;
24414
25159
  endDate?: string | undefined;
24415
25160
  isLinkedWithFundSourceAccount?: boolean | undefined;
25161
+ paymentChannelToFundSourceMappings?: string | undefined;
25162
+ feeToIncomeAccountMappings?: string | undefined;
25163
+ penaltyToIncomeAccountMappings?: string | undefined;
24416
25164
  isUsedForSuspenseAccounting?: boolean | undefined;
24417
25165
  isReservedProduct?: boolean | undefined;
24418
25166
  minDifferentialRate?: string | undefined;
24419
25167
  defaultDifferentialRate?: string | undefined;
24420
25168
  maxDifferentialRate?: string | undefined;
24421
- paymentChannelToFundSourceMappings?: string | undefined;
24422
- feeToIncomeAccountMappings?: string | undefined;
24423
- penaltyToIncomeAccountMappings?: string | undefined;
24424
25169
  }, {
24425
25170
  name: string;
24426
25171
  locale: string;
@@ -24430,9 +25175,9 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
24430
25175
  interestCalculationDaysInYearType: number;
24431
25176
  description: string;
24432
25177
  currencyCode: string;
25178
+ shortName: string;
24433
25179
  digitsAfterDecimal: number;
24434
25180
  accountingRule: number;
24435
- shortName: string;
24436
25181
  dateFormat?: string | undefined;
24437
25182
  inMultiplesOf?: string | undefined;
24438
25183
  withdrawalFeeForTransfers?: boolean | undefined;
@@ -24454,14 +25199,14 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
24454
25199
  startDate?: string | undefined;
24455
25200
  endDate?: string | undefined;
24456
25201
  isLinkedWithFundSourceAccount?: boolean | undefined;
25202
+ paymentChannelToFundSourceMappings?: string | undefined;
25203
+ feeToIncomeAccountMappings?: string | undefined;
25204
+ penaltyToIncomeAccountMappings?: string | undefined;
24457
25205
  isUsedForSuspenseAccounting?: boolean | undefined;
24458
25206
  isReservedProduct?: boolean | undefined;
24459
25207
  minDifferentialRate?: string | undefined;
24460
25208
  defaultDifferentialRate?: string | undefined;
24461
25209
  maxDifferentialRate?: string | undefined;
24462
- paymentChannelToFundSourceMappings?: string | undefined;
24463
- feeToIncomeAccountMappings?: string | undefined;
24464
- penaltyToIncomeAccountMappings?: string | undefined;
24465
25210
  }>;
24466
25211
  declare const CreateAccountProductResponseSchema: z.ZodObject<{
24467
25212
  resourceId: z.ZodString;
@@ -24552,17 +25297,17 @@ declare const UpdateAccountProductRequestSchema: z.ZodObject<{
24552
25297
  endDate?: string | undefined;
24553
25298
  currencyCode?: string | undefined;
24554
25299
  isLinkedWithFundSourceAccount?: boolean | undefined;
25300
+ shortName?: string | undefined;
24555
25301
  digitsAfterDecimal?: number | undefined;
24556
25302
  accountingRule?: number | undefined;
24557
- shortName?: string | undefined;
25303
+ paymentChannelToFundSourceMappings?: string | undefined;
25304
+ feeToIncomeAccountMappings?: string | undefined;
25305
+ penaltyToIncomeAccountMappings?: string | undefined;
24558
25306
  isUsedForSuspenseAccounting?: boolean | undefined;
24559
25307
  isReservedProduct?: boolean | undefined;
24560
25308
  minDifferentialRate?: string | undefined;
24561
25309
  defaultDifferentialRate?: string | undefined;
24562
25310
  maxDifferentialRate?: string | undefined;
24563
- paymentChannelToFundSourceMappings?: string | undefined;
24564
- feeToIncomeAccountMappings?: string | undefined;
24565
- penaltyToIncomeAccountMappings?: string | undefined;
24566
25311
  }, {
24567
25312
  name?: string | undefined;
24568
25313
  dateFormat?: string | undefined;
@@ -24593,17 +25338,17 @@ declare const UpdateAccountProductRequestSchema: z.ZodObject<{
24593
25338
  endDate?: string | undefined;
24594
25339
  currencyCode?: string | undefined;
24595
25340
  isLinkedWithFundSourceAccount?: boolean | undefined;
25341
+ shortName?: string | undefined;
24596
25342
  digitsAfterDecimal?: number | undefined;
24597
25343
  accountingRule?: number | undefined;
24598
- shortName?: string | undefined;
25344
+ paymentChannelToFundSourceMappings?: string | undefined;
25345
+ feeToIncomeAccountMappings?: string | undefined;
25346
+ penaltyToIncomeAccountMappings?: string | undefined;
24599
25347
  isUsedForSuspenseAccounting?: boolean | undefined;
24600
25348
  isReservedProduct?: boolean | undefined;
24601
25349
  minDifferentialRate?: string | undefined;
24602
25350
  defaultDifferentialRate?: string | undefined;
24603
25351
  maxDifferentialRate?: string | undefined;
24604
- paymentChannelToFundSourceMappings?: string | undefined;
24605
- feeToIncomeAccountMappings?: string | undefined;
24606
- penaltyToIncomeAccountMappings?: string | undefined;
24607
25352
  }>;
24608
25353
  declare const UpdateAccountProductResponseSchema: z.ZodObject<{
24609
25354
  id: z.ZodString;
@@ -24779,15 +25524,15 @@ declare const AccountProductItemSchema: z.ZodObject<{
24779
25524
  }[];
24780
25525
  description: string;
24781
25526
  isLinkedWithFundSourceAccount: boolean;
25527
+ shortName: string;
24782
25528
  accountingRule: {
24783
25529
  value: string;
24784
25530
  code: string;
24785
25531
  id: number;
24786
25532
  };
24787
- shortName: string;
24788
25533
  isUsedForSuspenseAccounting: boolean;
24789
- isReservedProduct: boolean;
24790
25534
  isSkipCollectTransferCharge: boolean;
25535
+ isReservedProduct: boolean;
24791
25536
  }, {
24792
25537
  name: string;
24793
25538
  id: number;
@@ -24833,15 +25578,15 @@ declare const AccountProductItemSchema: z.ZodObject<{
24833
25578
  }[];
24834
25579
  description: string;
24835
25580
  isLinkedWithFundSourceAccount: boolean;
25581
+ shortName: string;
24836
25582
  accountingRule: {
24837
25583
  value: string;
24838
25584
  code: string;
24839
25585
  id: number;
24840
25586
  };
24841
- shortName: string;
24842
25587
  isUsedForSuspenseAccounting: boolean;
24843
- isReservedProduct: boolean;
24844
25588
  isSkipCollectTransferCharge: boolean;
25589
+ isReservedProduct: boolean;
24845
25590
  }>;
24846
25591
  declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
24847
25592
  id: z.ZodNumber;
@@ -25002,15 +25747,15 @@ declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
25002
25747
  }[];
25003
25748
  description: string;
25004
25749
  isLinkedWithFundSourceAccount: boolean;
25750
+ shortName: string;
25005
25751
  accountingRule: {
25006
25752
  value: string;
25007
25753
  code: string;
25008
25754
  id: number;
25009
25755
  };
25010
- shortName: string;
25011
25756
  isUsedForSuspenseAccounting: boolean;
25012
- isReservedProduct: boolean;
25013
25757
  isSkipCollectTransferCharge: boolean;
25758
+ isReservedProduct: boolean;
25014
25759
  }, {
25015
25760
  name: string;
25016
25761
  id: number;
@@ -25056,15 +25801,15 @@ declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
25056
25801
  }[];
25057
25802
  description: string;
25058
25803
  isLinkedWithFundSourceAccount: boolean;
25804
+ shortName: string;
25059
25805
  accountingRule: {
25060
25806
  value: string;
25061
25807
  code: string;
25062
25808
  id: number;
25063
25809
  };
25064
- shortName: string;
25065
25810
  isUsedForSuspenseAccounting: boolean;
25066
- isReservedProduct: boolean;
25067
25811
  isSkipCollectTransferCharge: boolean;
25812
+ isReservedProduct: boolean;
25068
25813
  }>, "many">;
25069
25814
  type AccountProductItem = z.infer<typeof AccountProductItemSchema>;
25070
25815
  type GetAllAccountProductsResponse = z.infer<typeof GetAllAccountProductsResponseSchema>;
@@ -26157,13 +26902,13 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26157
26902
  chargeAmount: z$1.ZodNumber;
26158
26903
  }, "strip", z$1.ZodTypeAny, {
26159
26904
  chargeId: number;
26160
- numberOfFeeExemptedCharge: number;
26161
26905
  exemptedFeeAmount: number;
26906
+ numberOfFeeExemptedCharge: number;
26162
26907
  chargeAmount: number;
26163
26908
  }, {
26164
26909
  chargeId: number;
26165
- numberOfFeeExemptedCharge: number;
26166
26910
  exemptedFeeAmount: number;
26911
+ numberOfFeeExemptedCharge: number;
26167
26912
  chargeAmount: number;
26168
26913
  }>, "many">;
26169
26914
  }, "strip", z$1.ZodTypeAny, {
@@ -26172,8 +26917,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26172
26917
  active: boolean;
26173
26918
  charges: {
26174
26919
  chargeId: number;
26175
- numberOfFeeExemptedCharge: number;
26176
26920
  exemptedFeeAmount: number;
26921
+ numberOfFeeExemptedCharge: number;
26177
26922
  chargeAmount: number;
26178
26923
  }[];
26179
26924
  codeName: string;
@@ -26188,8 +26933,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26188
26933
  active: boolean;
26189
26934
  charges: {
26190
26935
  chargeId: number;
26191
- numberOfFeeExemptedCharge: number;
26192
26936
  exemptedFeeAmount: number;
26937
+ numberOfFeeExemptedCharge: number;
26193
26938
  chargeAmount: number;
26194
26939
  }[];
26195
26940
  codeName: string;
@@ -26216,13 +26961,13 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26216
26961
  chargeAmount: z$1.ZodNumber;
26217
26962
  }, "strip", z$1.ZodTypeAny, {
26218
26963
  chargeId: number;
26219
- numberOfFeeExemptedCharge: number;
26220
26964
  exemptedFeeAmount: number;
26965
+ numberOfFeeExemptedCharge: number;
26221
26966
  chargeAmount: number;
26222
26967
  }, {
26223
26968
  chargeId: number;
26224
- numberOfFeeExemptedCharge: number;
26225
26969
  exemptedFeeAmount: number;
26970
+ numberOfFeeExemptedCharge: number;
26226
26971
  chargeAmount: number;
26227
26972
  }>, "many">;
26228
26973
  }, "strip", z$1.ZodTypeAny, {
@@ -26231,8 +26976,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26231
26976
  active: boolean;
26232
26977
  charges: {
26233
26978
  chargeId: number;
26234
- numberOfFeeExemptedCharge: number;
26235
26979
  exemptedFeeAmount: number;
26980
+ numberOfFeeExemptedCharge: number;
26236
26981
  chargeAmount: number;
26237
26982
  }[];
26238
26983
  codeName: string;
@@ -26247,8 +26992,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26247
26992
  active: boolean;
26248
26993
  charges: {
26249
26994
  chargeId: number;
26250
- numberOfFeeExemptedCharge: number;
26251
26995
  exemptedFeeAmount: number;
26996
+ numberOfFeeExemptedCharge: number;
26252
26997
  chargeAmount: number;
26253
26998
  }[];
26254
26999
  codeName: string;
@@ -26269,8 +27014,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26269
27014
  active: boolean;
26270
27015
  charges: {
26271
27016
  chargeId: number;
26272
- numberOfFeeExemptedCharge: number;
26273
27017
  exemptedFeeAmount: number;
27018
+ numberOfFeeExemptedCharge: number;
26274
27019
  chargeAmount: number;
26275
27020
  }[];
26276
27021
  codeName: string;
@@ -26286,8 +27031,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26286
27031
  active: boolean;
26287
27032
  charges: {
26288
27033
  chargeId: number;
26289
- numberOfFeeExemptedCharge: number;
26290
27034
  exemptedFeeAmount: number;
27035
+ numberOfFeeExemptedCharge: number;
26291
27036
  chargeAmount: number;
26292
27037
  }[];
26293
27038
  codeName: string;
@@ -26308,8 +27053,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26308
27053
  active: boolean;
26309
27054
  charges: {
26310
27055
  chargeId: number;
26311
- numberOfFeeExemptedCharge: number;
26312
27056
  exemptedFeeAmount: number;
27057
+ numberOfFeeExemptedCharge: number;
26313
27058
  chargeAmount: number;
26314
27059
  }[];
26315
27060
  codeName: string;
@@ -26325,8 +27070,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
26325
27070
  active: boolean;
26326
27071
  charges: {
26327
27072
  chargeId: number;
26328
- numberOfFeeExemptedCharge: number;
26329
27073
  exemptedFeeAmount: number;
27074
+ numberOfFeeExemptedCharge: number;
26330
27075
  chargeAmount: number;
26331
27076
  }[];
26332
27077
  codeName: string;
@@ -27187,6 +27932,54 @@ declare const AdjustCreditAccountLimits: (creditAccountId: number, data: AdjustC
27187
27932
  declare const GetSubscriber: (subscriberId: string) => Command<{
27188
27933
  subscriberId: string;
27189
27934
  }, SubscriberResponse>;
27935
+ /**
27936
+ * Retrieves a list of notification templates.
27937
+ *
27938
+ * @returns A Command that when executed returns the list of templates
27939
+ *
27940
+ * @example
27941
+ * ```typescript
27942
+ * const getTemplatesCmd = GetTemplates();
27943
+ * const templates = await getTemplatesCmd.execute(config);
27944
+ * console.log(templates);
27945
+ * ```
27946
+ */
27947
+ declare const GetTemplates: () => Command<{}, TemplateResponse[]>;
27948
+ /**
27949
+ * Retrieves a list of subscription events.
27950
+ *
27951
+ * @param params - Query parameters for filtering
27952
+ * @param params.type - Filter by subscriber type (e.g., 'EMAIL', 'WEBHOOK')
27953
+ * @returns A Command that when executed returns the list of subscription events
27954
+ *
27955
+ * @example
27956
+ * ```typescript
27957
+ * const getEventsCmd = GetSubscriptionEvents({
27958
+ * type: 'EMAIL'
27959
+ * });
27960
+ * const result = await getEventsCmd.execute(config);
27961
+ * console.log(result);
27962
+ * ```
27963
+ */
27964
+ declare const GetSubscriptionEvents: (params: SubscriptionEventParams) => Command<{
27965
+ params: SubscriptionEventParams;
27966
+ }, SubscriptionEventResponse>;
27967
+ /**
27968
+ * Deletes a subscription.
27969
+ *
27970
+ * @param subscriptionId - The ID of the subscription to delete
27971
+ * @returns A Command that when executed returns the deleted subscription's id and resourceId
27972
+ *
27973
+ * @example
27974
+ * ```typescript
27975
+ * const deleteCmd = DeleteSubscription(123);
27976
+ * const result = await deleteCmd.execute(config);
27977
+ * console.log(result.id, result.resourceId);
27978
+ * ```
27979
+ */
27980
+ declare const DeleteSubscription: (subscriptionId: number) => Command<{
27981
+ subscriptionId: number;
27982
+ }, SubscriptionActionResponse>;
27190
27983
  /**
27191
27984
  * Retrieves a list of all subscribers with optional filtering and pagination.
27192
27985
  *
@@ -27238,6 +28031,29 @@ declare const GetSubscribers: (params: SubscriberParams) => Command<{
27238
28031
  declare const CreateSubscriber: (data: SubscriberRequest) => Command<{
27239
28032
  data: SubscriberRequest;
27240
28033
  }, SubscriberActionResponse>;
28034
+ /**
28035
+ * Updates a subscriber.
28036
+ *
28037
+ * @param subscriberId - The ID of the subscriber to update
28038
+ * @param data - The subscriber data to update
28039
+ * @returns A Command that when executed returns the updated subscriber's id, resourceId, and changes
28040
+ *
28041
+ * @example
28042
+ * ```typescript
28043
+ * const updateCmd = UpdateSubscriber('subscriber-123', {
28044
+ * name: 'Updated Webhook',
28045
+ * type: 'WEBHOOK',
28046
+ * target: 'https://example.com/webhook',
28047
+ * active: true
28048
+ * });
28049
+ * const result = await updateCmd.execute(config);
28050
+ * console.log(result.id, result.resourceId, result.changes);
28051
+ * ```
28052
+ */
28053
+ declare const UpdateSubscriber: (subscriberId: string, data: SubscriberRequest) => Command<{
28054
+ subscriberId: string;
28055
+ data: SubscriberRequest;
28056
+ }, SubscriberUpdateResponse>;
27241
28057
  /**
27242
28058
  * Deletes a subscriber.
27243
28059
  *
@@ -27254,6 +28070,79 @@ declare const CreateSubscriber: (data: SubscriberRequest) => Command<{
27254
28070
  declare const DeleteSubscriber: (subscriberId: string) => Command<{
27255
28071
  subscriberId: string;
27256
28072
  }, SubscriberActionResponse>;
28073
+ /**
28074
+ * Creates a new subscription.
28075
+ *
28076
+ * @param data - The subscription data to create
28077
+ * @returns A Command that when executed returns the created subscription
28078
+ *
28079
+ * @example
28080
+ * ```typescript
28081
+ * const createCmd = CreateSubscription({
28082
+ * subscriberId: 266,
28083
+ * entityMap: {
28084
+ * 'newKey': [
28085
+ * {
28086
+ * action: 'CREATE',
28087
+ * templateId: 74
28088
+ * }
28089
+ * ]
28090
+ * },
28091
+ * action: 'CREATE',
28092
+ * entity: 'ADDRESS'
28093
+ * });
28094
+ * const result = await createCmd.execute(config);
28095
+ * console.log(result);
28096
+ * ```
28097
+ */
28098
+ declare const CreateSubscription: (data: SubscriptionRequest) => Command<{
28099
+ data: SubscriptionRequest;
28100
+ }, {
28101
+ data: Array<number>;
28102
+ }>;
28103
+ /**
28104
+ * Retrieves a list of all subscriptions with optional filtering and pagination.
28105
+ *
28106
+ * @param params - Query parameters for filtering, pagination, and sorting
28107
+ * @param params.subscriberId - The ID of the subscriber
28108
+ * @param params.offset - Pagination offset (number of records to skip)
28109
+ * @param params.limit - Maximum number of records to return. Set to 0 to fetch all records
28110
+ * @param params.orderBy - Field to order results by. Values: id
28111
+ * @param params.sortOrder - Sort order direction. Values: ASC, DESC
28112
+ * @returns A Command that when executed returns the list of subscriptions
28113
+ *
28114
+ * @example
28115
+ * ```typescript
28116
+ * const getSubscriptionsCmd = GetSubscriptions({
28117
+ * subscriberId: 123,
28118
+ * offset: 0,
28119
+ * limit: 10,
28120
+ * orderBy: 'id',
28121
+ * sortOrder: 'ASC'
28122
+ * });
28123
+ * const result = await getSubscriptionsCmd.execute(config);
28124
+ * console.log(result.pageItems);
28125
+ * ```
28126
+ */
28127
+ declare const GetSubscriptions: (params: SubscriptionParams) => Command<{
28128
+ params: SubscriptionParams;
28129
+ }, SubscriptionListResponse>;
28130
+ /**
28131
+ * Retrieves detailed information about a specific subscription.
28132
+ *
28133
+ * @param subscriptionId - The ID of the subscription to retrieve
28134
+ * @returns A Command that when executed returns the subscription details
28135
+ *
28136
+ * @example
28137
+ * ```typescript
28138
+ * const getSubscriptionCmd = GetSubscription(123);
28139
+ * const subscription = await getSubscriptionCmd.execute(config);
28140
+ * console.log(subscription);
28141
+ * ```
28142
+ */
28143
+ declare const GetSubscription: (subscriptionId: number) => Command<{
28144
+ subscriptionId: number;
28145
+ }, SubscriptionResponse>;
27257
28146
 
27258
28147
  /**
27259
28148
  * Creates a new loan application with specified loan amount, term, interest rate, and repayment frequency.
@@ -27938,6 +28827,95 @@ declare const PayAccountCharge: (params: PayAccountChargeParams, data: PayAccoun
27938
28827
  data: PayAccountChargeRequest;
27939
28828
  }, PayAccountChargeResponse>;
27940
28829
 
28830
+ /**
28831
+ * Create a new charge definition
28832
+ *
28833
+ * This endpoint allows creating a new charge definition in the system.
28834
+ * Charges can be applied to loans, savings accounts, or clients.
28835
+ *
28836
+ * @param data - The charge creation parameters
28837
+ * @returns Command object for creating a charge
28838
+ *
28839
+ * @example
28840
+ * ```typescript
28841
+ * const command = CreateCharge({
28842
+ * name: "Loan service fee",
28843
+ * currencyCode: "USD",
28844
+ * amount: 230.56,
28845
+ * chargeAppliesTo: 1,
28846
+ * chargeTimeType: 3,
28847
+ * chargeCalculationType: 1,
28848
+ * locale: "en"
28849
+ * });
28850
+ * const result = await client.request(command);
28851
+ * console.log(result.resourceId);
28852
+ * ```
28853
+ */
28854
+ declare const CreateCharge: (data: CreateChargeRequest) => Command<{
28855
+ data: CreateChargeRequest;
28856
+ }, CreateChargeResponse>;
28857
+ /**
28858
+ * Update a charge definition
28859
+ *
28860
+ * This endpoint allows updating an existing charge definition by its ID.
28861
+ *
28862
+ * @param chargeId - The ID of the charge to update
28863
+ * @param data - The charge update parameters
28864
+ * @returns Command object for updating a charge
28865
+ *
28866
+ * @example
28867
+ * ```typescript
28868
+ * const command = UpdateCharge(123, {
28869
+ * name: "Updated Savings Charge",
28870
+ * amount: 15.0,
28871
+ * active: false
28872
+ * });
28873
+ * const result = await client.request(command);
28874
+ * console.log(result.resourceId);
28875
+ * ```
28876
+ */
28877
+ declare const UpdateCharge: (chargeId: number, data: UpdateChargeRequest) => Command<{
28878
+ chargeId: number;
28879
+ data: UpdateChargeRequest;
28880
+ }, UpdateChargeResponse>;
28881
+ /**
28882
+ * Get a list of charge definitions
28883
+ *
28884
+ * This endpoint allows retrieving a list of charge definitions, optionally filtered by status.
28885
+ *
28886
+ * @param params - The charge retrieval parameters
28887
+ * @param params.chargeStatus - Filter by charge status ('ALL', 'ACTIVE', 'INACTIVE')
28888
+ * @returns Command object for getting a list of charges
28889
+ *
28890
+ * @example
28891
+ * ```typescript
28892
+ * const command = GetCharges({ chargeStatus: 'ACTIVE' });
28893
+ * const result = await client.request(command);
28894
+ * console.log(result);
28895
+ * ```
28896
+ */
28897
+ declare const GetCharges: (params?: GetChargesRequest) => Command<{
28898
+ params?: GetChargesRequest;
28899
+ }, GetChargeResponse[]>;
28900
+ /**
28901
+ * Get a charge definition
28902
+ *
28903
+ * This endpoint allows retrieving a charge definition by its ID.
28904
+ *
28905
+ * @param chargeId - The ID of the charge
28906
+ * @returns Command object for getting a charge
28907
+ *
28908
+ * @example
28909
+ * ```typescript
28910
+ * const command = GetCharge(123);
28911
+ * const result = await client.request(command);
28912
+ * console.log(result.name);
28913
+ * ```
28914
+ */
28915
+ declare const GetCharge: (chargeId: number) => Command<{
28916
+ chargeId: number;
28917
+ }, GetChargeResponse>;
28918
+
27941
28919
  /**
27942
28920
  * Create a new entry (row) in a data table
27943
28921
  *
@@ -28337,4 +29315,230 @@ declare const DeleteNote: (params: DeleteNoteParamsRequest) => Command<{
28337
29315
  params: DeleteNoteParamsRequest;
28338
29316
  }, DeleteNoteResponse>;
28339
29317
 
28340
- export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, AdjustCreditAccountLimits, ApproveCreditAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, BlockAcquiredCardAddition, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateCreditAccountAutoPayExternal, CreateCreditAccountAutoPayInternal, CreateCreditAccountPayment, CreateDataTableProductMapping, CreateEntryInDataTable, CreateFixedDepositAccount, CreateLoan, CreateNote, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateSecuredCreditAccount, CreateSubscriber, CreateTransfer, CreateUnsecuredCreditAccount, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteAcquiredCard, DeleteClient, DeleteClientDocument, DeleteDataTableProductMapping, DeleteEntryFromDataTable, DeleteFixedDepositAccount, DeleteNote, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DeleteSubscriber, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, DownloadCreditAccountBilledStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCardById, GetAcquiredCardPublicKey, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetCreditAccountBilledStatements, GetCreditAccountCompletedTransactions, GetCreditAccountDetails, GetCreditAccountPendingTransactions, GetCreditAccountTransactionById, GetDataTableProductMappingById, GetDataTableProductMappingTemplate, GetDataTableProductMappings, GetEntriesFromDataTable, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetNoteById, GetNotes, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetSubscribers, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan, RenewCard, ReplaceCard, ScheduleAccountClosure, SetClientAddressStatus, SetPIN, SuspendCard, SwitchClientClassification, TerminateCard, UnblockAcquiredCardAddition, UndoChargeToAccount, UpdateAccount, UpdateAccountProduct, UpdateCardFeature, UpdateCardLimit, UpdateCardProduct, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateEntryInDataTable, UpdateFixedDepositAccount, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };
29318
+ /**
29319
+ * Retrieves a list of available reports based on parameter type and result set format.
29320
+ *
29321
+ * @param data - The request parameters for fetching reports
29322
+ * @param data.parameterType - The type of parameters to filter reports by
29323
+ * @param data.genericResultSet - Whether to return generic result sets. Response format depends on this flag: true returns GetReportsGenericResponse, false returns GetReportsResponse
29324
+ * @returns A command that fetches the list of available reports. Response type is GetReportsGenericResponse if genericResultSet is true, otherwise GetReportsResponse
29325
+ *
29326
+ * @example
29327
+ * ```typescript
29328
+ * const command = GetReports({
29329
+ * parameterType: true,
29330
+ * genericResultSet: false
29331
+ * });
29332
+ * const reports = await client.request(command);
29333
+ * ```
29334
+ */
29335
+ declare const GetReports: (data: GetReportsRequest) => Command<{
29336
+ data: GetReportsRequest;
29337
+ }, GetReportsResponse | GetReportsGenericResponse>;
29338
+ /**
29339
+ * Retrieves the parameters required for running a specific report.
29340
+ *
29341
+ * @param data - The request parameters for fetching report parameters
29342
+ * @param data.parameterType - The type of parameters for the report
29343
+ * @param data.genericResultSet - Whether to use generic result sets. Response format depends on this flag: true returns GetReportParametersGenericResponse, false returns GetReportParametersResponse
29344
+ * @param data.R_reportListing - The report listing identifier
29345
+ * @returns A command that fetches the parameters for a specific report. Response type is GetReportParametersGenericResponse if genericResultSet is true, otherwise GetReportParametersResponse
29346
+ * @throws {CommandError} If the request fails or validation fails
29347
+ *
29348
+ * @example
29349
+ * ```typescript
29350
+ * const command = GetReportParameters({
29351
+ * parameterType: 'all',
29352
+ * genericResultSet: false,
29353
+ * R_reportListing: 'Client Listing'
29354
+ * });
29355
+ * const parameters = await client.request(command);
29356
+ * ```
29357
+ */
29358
+ declare const GetReportParameters: (data: GetReportParametersRequest) => Command<{
29359
+ data: GetReportParametersRequest;
29360
+ }, GetReportParametersResponse | GetReportParametersGenericResponse>;
29361
+ /**
29362
+ * Executes a report with specified parameters and returns the results.
29363
+ * Supports dynamic parameters, multiple output formats, and optional CSV export.
29364
+ *
29365
+ * @param data - The request parameters for running the report
29366
+ * @param data.reportName - The name of the report to run
29367
+ * @param data.genericResultSet - Whether to use generic result sets (optional). Response format depends on this flag: true returns RunReportGenericResponse, false returns RunReportResponse
29368
+ * @param data.exportCSV - Whether to export results as CSV (optional)
29369
+ * @param data.outputType - The output format type (optional)
29370
+ * @param data.R_officeId - Office ID filter (optional)
29371
+ * @param data.R_loanOfficerId - Loan officer ID filter (optional)
29372
+ * @param data.R_{parameterName} - Additional dynamic parameters prefixed with 'R_' (optional)
29373
+ * @returns A command that executes the report and returns results. Response type is RunReportGenericResponse if genericResultSet is true, otherwise RunReportResponse
29374
+ *
29375
+ * @example
29376
+ * ```typescript
29377
+ * const command = RunReport({
29378
+ * reportName: 'Client Listing',
29379
+ * genericResultSet: false,
29380
+ * exportCSV: true,
29381
+ * outputType: 'PDF',
29382
+ * R_officeId: 123,
29383
+ * R_loanOfficerId: 456,
29384
+ * R_start_date: '2025-12-01',
29385
+ * R_end_date: 2025-12-31,
29386
+ * R_saving_no: '000000016'
29387
+ * });
29388
+ * const reportResults = await client.request(command);
29389
+ * ```
29390
+ */
29391
+ declare const RunReport: (data: RunReportRequest) => Command<{
29392
+ data: RunReportRequest;
29393
+ }, RunReportResponse | RunReportGenericResponse>;
29394
+
29395
+ /**
29396
+ * Create a new credit product
29397
+ *
29398
+ * This command allows you to create a new credit product with specific configurations
29399
+ * such as interest rates, compounding periods, and accounting rules.
29400
+ *
29401
+ * @param data - The credit product configuration data
29402
+ * @returns Command object that executes the API request and returns the created product ID
29403
+ *
29404
+ * @example
29405
+ * ```typescript
29406
+ * const command = CreateCreditProduct({
29407
+ * currencyCode: "USD",
29408
+ * digitsAfterDecimal: 2,
29409
+ * // ... other parameters
29410
+ * });
29411
+ * const result = await client.request(command);
29412
+ * ```
29413
+ */
29414
+ declare const CreateCreditProduct: (data: CreateCreditProductRequest) => Command<{
29415
+ data: CreateCreditProductRequest;
29416
+ }, ProcessOutput>;
29417
+ /**
29418
+ * Get a credit product by ID
29419
+ *
29420
+ * This command retrieves the details of a specific credit product using its unique ID.
29421
+ *
29422
+ * @param creditProductId - The ID of the credit product to retrieve
29423
+ * @returns Command object that executes the API request and returns the credit product details
29424
+ *
29425
+ * @example
29426
+ * ```typescript
29427
+ * const command = GetCreditProduct(1);
29428
+ * const result = await client.request(command);
29429
+ * ```
29430
+ */
29431
+ declare const GetCreditProduct: (creditProductId: number) => Command<{
29432
+ creditProductId: number;
29433
+ }, GetCreditProductsResponse>;
29434
+ /**
29435
+ * Get all credit products
29436
+ *
29437
+ * This command retrieves a list of all available credit products.
29438
+ *
29439
+ * @returns Command object that executes the API request and returns the list of credit products
29440
+ *
29441
+ * @example
29442
+ * ```typescript
29443
+ * const command = GetCreditProducts();
29444
+ * const result = await client.request(command);
29445
+ * ```
29446
+ */
29447
+ declare const GetCreditProducts: () => Command<void, GetCreditProductsResponse[]>;
29448
+ /**
29449
+ * Update a credit product
29450
+ *
29451
+ * This command allows you to update an existing credit product with specific configurations.
29452
+ *
29453
+ * @param creditProductId - The ID of the credit product to update
29454
+ * @param data - The credit product configuration data to update
29455
+ * @returns Command object that executes the API request and returns the updated product ID
29456
+ *
29457
+ * @example
29458
+ * ```typescript
29459
+ * const command = UpdateCreditProduct(1, {
29460
+ * currencyCode: "USD",
29461
+ * digitsAfterDecimal: 2,
29462
+ * // ... other parameters
29463
+ * });
29464
+ * const result = await client.request(command);
29465
+ * ```
29466
+ */
29467
+ declare const UpdateCreditProduct: (creditProductId: number, data?: UpdateCreditProductRequest) => Command<{
29468
+ creditProductId: number;
29469
+ data?: UpdateCreditProductRequest;
29470
+ }, UpdateCreditProductRequest>;
29471
+
29472
+ /**
29473
+ * Creates a new loan product.
29474
+ *
29475
+ * @param data - The loan product creation parameters
29476
+ * @returns A Command that when executed returns the created loan product ID and resource ID
29477
+ *
29478
+ * @example
29479
+ * ```typescript
29480
+ * const createCmd = CreateLoanProduct({
29481
+ * name: "Home Loan",
29482
+ * shortName: "HL",
29483
+ * currencyCode: "USD",
29484
+ * // ... other params
29485
+ * });
29486
+ * const result = await createCmd.execute(config);
29487
+ * console.log(result.resourceId);
29488
+ * ```
29489
+ */
29490
+ declare const CreateLoanProduct: (data: CreateLoanProductRequest) => Command<{
29491
+ data: CreateLoanProductRequest;
29492
+ }, CreateLoanProductResponse>;
29493
+ /**
29494
+ * Updates an existing loan product.
29495
+ *
29496
+ * @param loanProductId - The ID of the loan product to update.
29497
+ * @param data - The loan product update parameters. All fields are optional.
29498
+ * @returns A Command that when executed returns the updated loan product's ID and resource ID.
29499
+ *
29500
+ * @example
29501
+ * ```typescript
29502
+ * const updateCmd = UpdateLoanProduct(1, {
29503
+ * name: "Updated Home Loan",
29504
+ * description: "An updated home loan product."
29505
+ * });
29506
+ * const result = await updateCmd.execute(config);
29507
+ * console.log(result.resourceId);
29508
+ * ```
29509
+ */
29510
+ declare const UpdateLoanProduct: (loanProductId: number, data: UpdateLoanProductRequest) => Command<{
29511
+ loanProductId: number;
29512
+ data: UpdateLoanProductRequest;
29513
+ }, UpdateLoanProductResponse>;
29514
+ /**
29515
+ * Retrieves a loan product by its ID.
29516
+ *
29517
+ * @param loanProductId - The ID of the loan product to retrieve
29518
+ * @returns A Command that when executed returns the loan product details
29519
+ *
29520
+ * @example
29521
+ * ```typescript
29522
+ * const getCmd = GetLoanProduct(1);
29523
+ * const result = await getCmd.execute(config);
29524
+ * console.log(result.name);
29525
+ * ```
29526
+ */
29527
+ declare const GetLoanProduct: (loanProductId: number) => Command<{
29528
+ loanProductId: number;
29529
+ }, GetLoanProductResponse>;
29530
+ /**
29531
+ * Retrieves a list of all loan products.
29532
+ *
29533
+ * @returns A Command that when executed returns an array of loan products.
29534
+ *
29535
+ * @example
29536
+ * ```typescript
29537
+ * const listCmd = GetLoanProducts();
29538
+ * const result = await listCmd.execute(config);
29539
+ * result.forEach(product => console.log(product.name));
29540
+ * ```
29541
+ */
29542
+ declare const GetLoanProducts: () => Command<{}, GetLoanProductsResponse>;
29543
+
29544
+ export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, AdjustCreditAccountLimits, ApproveCreditAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, BlockAcquiredCardAddition, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateCharge, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateCreditAccountAutoPayExternal, CreateCreditAccountAutoPayInternal, CreateCreditAccountPayment, CreateCreditProduct, CreateDataTableProductMapping, CreateEntryInDataTable, CreateFixedDepositAccount, CreateLoan, CreateLoanProduct, CreateNote, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateSecuredCreditAccount, CreateSubscriber, CreateSubscription, CreateTransfer, CreateUnsecuredCreditAccount, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteAcquiredCard, DeleteClient, DeleteClientDocument, DeleteDataTableProductMapping, DeleteEntryFromDataTable, DeleteFixedDepositAccount, DeleteNote, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DeleteSubscriber, DeleteSubscription, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, DownloadCreditAccountBilledStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCardById, GetAcquiredCardPublicKey, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetCharge, GetCharges, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetCreditAccountBilledStatements, GetCreditAccountCompletedTransactions, GetCreditAccountDetails, GetCreditAccountPendingTransactions, GetCreditAccountTransactionById, GetCreditProduct, GetCreditProducts, GetDataTableProductMappingById, GetDataTableProductMappingTemplate, GetDataTableProductMappings, GetEntriesFromDataTable, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanProduct, GetLoanProducts, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetNoteById, GetNotes, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetReportParameters, GetReports, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetSubscribers, GetSubscription, GetSubscriptionEvents, GetSubscriptions, GetTemplates, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan, RenewCard, ReplaceCard, RunReport, ScheduleAccountClosure, SetClientAddressStatus, SetPIN, SuspendCard, SwitchClientClassification, TerminateCard, UnblockAcquiredCardAddition, UndoChargeToAccount, UpdateAccount, UpdateAccountProduct, UpdateCardFeature, UpdateCardLimit, UpdateCardProduct, UpdateCharge, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateCreditProduct, UpdateEntryInDataTable, UpdateFixedDepositAccount, UpdateLoanProduct, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UpdateSubscriber, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };