@mbanq/core-sdk-js 0.44.0 → 0.45.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.
- package/README.md +12 -2
- package/dist/chunk-M5BCLAOC.mjs +1 -0
- package/dist/chunk-SU45ZOOL.js +1 -0
- package/dist/commands/index.d.mts +792 -54
- package/dist/commands/index.d.ts +792 -54
- package/dist/commands/index.js +2 -2
- package/dist/commands/index.mjs +2 -2
- package/dist/{recipient-BcVUs19_.d.mts → recipient-DdJ52MGV.d.mts} +5845 -2
- package/dist/{recipient-BcVUs19_.d.ts → recipient-DdJ52MGV.d.ts} +5845 -2
- package/dist/types/types.d.mts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.js +1 -1
- package/dist/types/types.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EFIDIQA3.mjs +0 -1
- package/dist/chunk-YJNZRCVK.js +0 -1
package/dist/commands/index.d.ts
CHANGED
|
@@ -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,
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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;
|
|
@@ -24369,17 +24725,17 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24369
24725
|
endDate: z.ZodOptional<z.ZodString>;
|
|
24370
24726
|
currencyCode: z.ZodString;
|
|
24371
24727
|
isLinkedWithFundSourceAccount: z.ZodOptional<z.ZodBoolean>;
|
|
24728
|
+
shortName: z.ZodString;
|
|
24372
24729
|
digitsAfterDecimal: z.ZodNumber;
|
|
24373
24730
|
accountingRule: z.ZodNumber;
|
|
24374
|
-
|
|
24731
|
+
paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodString>;
|
|
24732
|
+
feeToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
|
|
24733
|
+
penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
|
|
24375
24734
|
isUsedForSuspenseAccounting: z.ZodOptional<z.ZodBoolean>;
|
|
24376
24735
|
isReservedProduct: z.ZodOptional<z.ZodBoolean>;
|
|
24377
24736
|
minDifferentialRate: z.ZodOptional<z.ZodString>;
|
|
24378
24737
|
defaultDifferentialRate: z.ZodOptional<z.ZodString>;
|
|
24379
24738
|
maxDifferentialRate: z.ZodOptional<z.ZodString>;
|
|
24380
|
-
paymentChannelToFundSourceMappings: z.ZodOptional<z.ZodString>;
|
|
24381
|
-
feeToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
|
|
24382
|
-
penaltyToIncomeAccountMappings: z.ZodOptional<z.ZodString>;
|
|
24383
24739
|
}, "strip", z.ZodTypeAny, {
|
|
24384
24740
|
name: string;
|
|
24385
24741
|
locale: string;
|
|
@@ -24389,9 +24745,9 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24389
24745
|
interestCalculationDaysInYearType: number;
|
|
24390
24746
|
description: string;
|
|
24391
24747
|
currencyCode: string;
|
|
24748
|
+
shortName: string;
|
|
24392
24749
|
digitsAfterDecimal: number;
|
|
24393
24750
|
accountingRule: number;
|
|
24394
|
-
shortName: string;
|
|
24395
24751
|
dateFormat?: string | undefined;
|
|
24396
24752
|
inMultiplesOf?: string | undefined;
|
|
24397
24753
|
withdrawalFeeForTransfers?: boolean | undefined;
|
|
@@ -24413,14 +24769,14 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24413
24769
|
startDate?: string | undefined;
|
|
24414
24770
|
endDate?: string | undefined;
|
|
24415
24771
|
isLinkedWithFundSourceAccount?: boolean | undefined;
|
|
24772
|
+
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24773
|
+
feeToIncomeAccountMappings?: string | undefined;
|
|
24774
|
+
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24416
24775
|
isUsedForSuspenseAccounting?: boolean | undefined;
|
|
24417
24776
|
isReservedProduct?: boolean | undefined;
|
|
24418
24777
|
minDifferentialRate?: string | undefined;
|
|
24419
24778
|
defaultDifferentialRate?: string | undefined;
|
|
24420
24779
|
maxDifferentialRate?: string | undefined;
|
|
24421
|
-
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24422
|
-
feeToIncomeAccountMappings?: string | undefined;
|
|
24423
|
-
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24424
24780
|
}, {
|
|
24425
24781
|
name: string;
|
|
24426
24782
|
locale: string;
|
|
@@ -24430,9 +24786,9 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24430
24786
|
interestCalculationDaysInYearType: number;
|
|
24431
24787
|
description: string;
|
|
24432
24788
|
currencyCode: string;
|
|
24789
|
+
shortName: string;
|
|
24433
24790
|
digitsAfterDecimal: number;
|
|
24434
24791
|
accountingRule: number;
|
|
24435
|
-
shortName: string;
|
|
24436
24792
|
dateFormat?: string | undefined;
|
|
24437
24793
|
inMultiplesOf?: string | undefined;
|
|
24438
24794
|
withdrawalFeeForTransfers?: boolean | undefined;
|
|
@@ -24454,14 +24810,14 @@ declare const CreateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24454
24810
|
startDate?: string | undefined;
|
|
24455
24811
|
endDate?: string | undefined;
|
|
24456
24812
|
isLinkedWithFundSourceAccount?: boolean | undefined;
|
|
24813
|
+
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24814
|
+
feeToIncomeAccountMappings?: string | undefined;
|
|
24815
|
+
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24457
24816
|
isUsedForSuspenseAccounting?: boolean | undefined;
|
|
24458
24817
|
isReservedProduct?: boolean | undefined;
|
|
24459
24818
|
minDifferentialRate?: string | undefined;
|
|
24460
24819
|
defaultDifferentialRate?: string | undefined;
|
|
24461
24820
|
maxDifferentialRate?: string | undefined;
|
|
24462
|
-
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24463
|
-
feeToIncomeAccountMappings?: string | undefined;
|
|
24464
|
-
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24465
24821
|
}>;
|
|
24466
24822
|
declare const CreateAccountProductResponseSchema: z.ZodObject<{
|
|
24467
24823
|
resourceId: z.ZodString;
|
|
@@ -24552,17 +24908,17 @@ declare const UpdateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24552
24908
|
endDate?: string | undefined;
|
|
24553
24909
|
currencyCode?: string | undefined;
|
|
24554
24910
|
isLinkedWithFundSourceAccount?: boolean | undefined;
|
|
24911
|
+
shortName?: string | undefined;
|
|
24555
24912
|
digitsAfterDecimal?: number | undefined;
|
|
24556
24913
|
accountingRule?: number | undefined;
|
|
24557
|
-
|
|
24914
|
+
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24915
|
+
feeToIncomeAccountMappings?: string | undefined;
|
|
24916
|
+
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24558
24917
|
isUsedForSuspenseAccounting?: boolean | undefined;
|
|
24559
24918
|
isReservedProduct?: boolean | undefined;
|
|
24560
24919
|
minDifferentialRate?: string | undefined;
|
|
24561
24920
|
defaultDifferentialRate?: string | undefined;
|
|
24562
24921
|
maxDifferentialRate?: string | undefined;
|
|
24563
|
-
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24564
|
-
feeToIncomeAccountMappings?: string | undefined;
|
|
24565
|
-
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24566
24922
|
}, {
|
|
24567
24923
|
name?: string | undefined;
|
|
24568
24924
|
dateFormat?: string | undefined;
|
|
@@ -24593,17 +24949,17 @@ declare const UpdateAccountProductRequestSchema: z.ZodObject<{
|
|
|
24593
24949
|
endDate?: string | undefined;
|
|
24594
24950
|
currencyCode?: string | undefined;
|
|
24595
24951
|
isLinkedWithFundSourceAccount?: boolean | undefined;
|
|
24952
|
+
shortName?: string | undefined;
|
|
24596
24953
|
digitsAfterDecimal?: number | undefined;
|
|
24597
24954
|
accountingRule?: number | undefined;
|
|
24598
|
-
|
|
24955
|
+
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24956
|
+
feeToIncomeAccountMappings?: string | undefined;
|
|
24957
|
+
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24599
24958
|
isUsedForSuspenseAccounting?: boolean | undefined;
|
|
24600
24959
|
isReservedProduct?: boolean | undefined;
|
|
24601
24960
|
minDifferentialRate?: string | undefined;
|
|
24602
24961
|
defaultDifferentialRate?: string | undefined;
|
|
24603
24962
|
maxDifferentialRate?: string | undefined;
|
|
24604
|
-
paymentChannelToFundSourceMappings?: string | undefined;
|
|
24605
|
-
feeToIncomeAccountMappings?: string | undefined;
|
|
24606
|
-
penaltyToIncomeAccountMappings?: string | undefined;
|
|
24607
24963
|
}>;
|
|
24608
24964
|
declare const UpdateAccountProductResponseSchema: z.ZodObject<{
|
|
24609
24965
|
id: z.ZodString;
|
|
@@ -24779,15 +25135,15 @@ declare const AccountProductItemSchema: z.ZodObject<{
|
|
|
24779
25135
|
}[];
|
|
24780
25136
|
description: string;
|
|
24781
25137
|
isLinkedWithFundSourceAccount: boolean;
|
|
25138
|
+
shortName: string;
|
|
24782
25139
|
accountingRule: {
|
|
24783
25140
|
value: string;
|
|
24784
25141
|
code: string;
|
|
24785
25142
|
id: number;
|
|
24786
25143
|
};
|
|
24787
|
-
shortName: string;
|
|
24788
25144
|
isUsedForSuspenseAccounting: boolean;
|
|
24789
|
-
isReservedProduct: boolean;
|
|
24790
25145
|
isSkipCollectTransferCharge: boolean;
|
|
25146
|
+
isReservedProduct: boolean;
|
|
24791
25147
|
}, {
|
|
24792
25148
|
name: string;
|
|
24793
25149
|
id: number;
|
|
@@ -24833,15 +25189,15 @@ declare const AccountProductItemSchema: z.ZodObject<{
|
|
|
24833
25189
|
}[];
|
|
24834
25190
|
description: string;
|
|
24835
25191
|
isLinkedWithFundSourceAccount: boolean;
|
|
25192
|
+
shortName: string;
|
|
24836
25193
|
accountingRule: {
|
|
24837
25194
|
value: string;
|
|
24838
25195
|
code: string;
|
|
24839
25196
|
id: number;
|
|
24840
25197
|
};
|
|
24841
|
-
shortName: string;
|
|
24842
25198
|
isUsedForSuspenseAccounting: boolean;
|
|
24843
|
-
isReservedProduct: boolean;
|
|
24844
25199
|
isSkipCollectTransferCharge: boolean;
|
|
25200
|
+
isReservedProduct: boolean;
|
|
24845
25201
|
}>;
|
|
24846
25202
|
declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
24847
25203
|
id: z.ZodNumber;
|
|
@@ -25002,15 +25358,15 @@ declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
25002
25358
|
}[];
|
|
25003
25359
|
description: string;
|
|
25004
25360
|
isLinkedWithFundSourceAccount: boolean;
|
|
25361
|
+
shortName: string;
|
|
25005
25362
|
accountingRule: {
|
|
25006
25363
|
value: string;
|
|
25007
25364
|
code: string;
|
|
25008
25365
|
id: number;
|
|
25009
25366
|
};
|
|
25010
|
-
shortName: string;
|
|
25011
25367
|
isUsedForSuspenseAccounting: boolean;
|
|
25012
|
-
isReservedProduct: boolean;
|
|
25013
25368
|
isSkipCollectTransferCharge: boolean;
|
|
25369
|
+
isReservedProduct: boolean;
|
|
25014
25370
|
}, {
|
|
25015
25371
|
name: string;
|
|
25016
25372
|
id: number;
|
|
@@ -25056,15 +25412,15 @@ declare const GetAllAccountProductsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
25056
25412
|
}[];
|
|
25057
25413
|
description: string;
|
|
25058
25414
|
isLinkedWithFundSourceAccount: boolean;
|
|
25415
|
+
shortName: string;
|
|
25059
25416
|
accountingRule: {
|
|
25060
25417
|
value: string;
|
|
25061
25418
|
code: string;
|
|
25062
25419
|
id: number;
|
|
25063
25420
|
};
|
|
25064
|
-
shortName: string;
|
|
25065
25421
|
isUsedForSuspenseAccounting: boolean;
|
|
25066
|
-
isReservedProduct: boolean;
|
|
25067
25422
|
isSkipCollectTransferCharge: boolean;
|
|
25423
|
+
isReservedProduct: boolean;
|
|
25068
25424
|
}>, "many">;
|
|
25069
25425
|
type AccountProductItem = z.infer<typeof AccountProductItemSchema>;
|
|
25070
25426
|
type GetAllAccountProductsResponse = z.infer<typeof GetAllAccountProductsResponseSchema>;
|
|
@@ -26157,13 +26513,13 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26157
26513
|
chargeAmount: z$1.ZodNumber;
|
|
26158
26514
|
}, "strip", z$1.ZodTypeAny, {
|
|
26159
26515
|
chargeId: number;
|
|
26160
|
-
numberOfFeeExemptedCharge: number;
|
|
26161
26516
|
exemptedFeeAmount: number;
|
|
26517
|
+
numberOfFeeExemptedCharge: number;
|
|
26162
26518
|
chargeAmount: number;
|
|
26163
26519
|
}, {
|
|
26164
26520
|
chargeId: number;
|
|
26165
|
-
numberOfFeeExemptedCharge: number;
|
|
26166
26521
|
exemptedFeeAmount: number;
|
|
26522
|
+
numberOfFeeExemptedCharge: number;
|
|
26167
26523
|
chargeAmount: number;
|
|
26168
26524
|
}>, "many">;
|
|
26169
26525
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -26172,8 +26528,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26172
26528
|
active: boolean;
|
|
26173
26529
|
charges: {
|
|
26174
26530
|
chargeId: number;
|
|
26175
|
-
numberOfFeeExemptedCharge: number;
|
|
26176
26531
|
exemptedFeeAmount: number;
|
|
26532
|
+
numberOfFeeExemptedCharge: number;
|
|
26177
26533
|
chargeAmount: number;
|
|
26178
26534
|
}[];
|
|
26179
26535
|
codeName: string;
|
|
@@ -26188,8 +26544,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26188
26544
|
active: boolean;
|
|
26189
26545
|
charges: {
|
|
26190
26546
|
chargeId: number;
|
|
26191
|
-
numberOfFeeExemptedCharge: number;
|
|
26192
26547
|
exemptedFeeAmount: number;
|
|
26548
|
+
numberOfFeeExemptedCharge: number;
|
|
26193
26549
|
chargeAmount: number;
|
|
26194
26550
|
}[];
|
|
26195
26551
|
codeName: string;
|
|
@@ -26216,13 +26572,13 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26216
26572
|
chargeAmount: z$1.ZodNumber;
|
|
26217
26573
|
}, "strip", z$1.ZodTypeAny, {
|
|
26218
26574
|
chargeId: number;
|
|
26219
|
-
numberOfFeeExemptedCharge: number;
|
|
26220
26575
|
exemptedFeeAmount: number;
|
|
26576
|
+
numberOfFeeExemptedCharge: number;
|
|
26221
26577
|
chargeAmount: number;
|
|
26222
26578
|
}, {
|
|
26223
26579
|
chargeId: number;
|
|
26224
|
-
numberOfFeeExemptedCharge: number;
|
|
26225
26580
|
exemptedFeeAmount: number;
|
|
26581
|
+
numberOfFeeExemptedCharge: number;
|
|
26226
26582
|
chargeAmount: number;
|
|
26227
26583
|
}>, "many">;
|
|
26228
26584
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -26231,8 +26587,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26231
26587
|
active: boolean;
|
|
26232
26588
|
charges: {
|
|
26233
26589
|
chargeId: number;
|
|
26234
|
-
numberOfFeeExemptedCharge: number;
|
|
26235
26590
|
exemptedFeeAmount: number;
|
|
26591
|
+
numberOfFeeExemptedCharge: number;
|
|
26236
26592
|
chargeAmount: number;
|
|
26237
26593
|
}[];
|
|
26238
26594
|
codeName: string;
|
|
@@ -26247,8 +26603,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26247
26603
|
active: boolean;
|
|
26248
26604
|
charges: {
|
|
26249
26605
|
chargeId: number;
|
|
26250
|
-
numberOfFeeExemptedCharge: number;
|
|
26251
26606
|
exemptedFeeAmount: number;
|
|
26607
|
+
numberOfFeeExemptedCharge: number;
|
|
26252
26608
|
chargeAmount: number;
|
|
26253
26609
|
}[];
|
|
26254
26610
|
codeName: string;
|
|
@@ -26269,8 +26625,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26269
26625
|
active: boolean;
|
|
26270
26626
|
charges: {
|
|
26271
26627
|
chargeId: number;
|
|
26272
|
-
numberOfFeeExemptedCharge: number;
|
|
26273
26628
|
exemptedFeeAmount: number;
|
|
26629
|
+
numberOfFeeExemptedCharge: number;
|
|
26274
26630
|
chargeAmount: number;
|
|
26275
26631
|
}[];
|
|
26276
26632
|
codeName: string;
|
|
@@ -26286,8 +26642,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26286
26642
|
active: boolean;
|
|
26287
26643
|
charges: {
|
|
26288
26644
|
chargeId: number;
|
|
26289
|
-
numberOfFeeExemptedCharge: number;
|
|
26290
26645
|
exemptedFeeAmount: number;
|
|
26646
|
+
numberOfFeeExemptedCharge: number;
|
|
26291
26647
|
chargeAmount: number;
|
|
26292
26648
|
}[];
|
|
26293
26649
|
codeName: string;
|
|
@@ -26308,8 +26664,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26308
26664
|
active: boolean;
|
|
26309
26665
|
charges: {
|
|
26310
26666
|
chargeId: number;
|
|
26311
|
-
numberOfFeeExemptedCharge: number;
|
|
26312
26667
|
exemptedFeeAmount: number;
|
|
26668
|
+
numberOfFeeExemptedCharge: number;
|
|
26313
26669
|
chargeAmount: number;
|
|
26314
26670
|
}[];
|
|
26315
26671
|
codeName: string;
|
|
@@ -26325,8 +26681,8 @@ declare const ClientClassificationResponseSchema: z$1.ZodObject<{
|
|
|
26325
26681
|
active: boolean;
|
|
26326
26682
|
charges: {
|
|
26327
26683
|
chargeId: number;
|
|
26328
|
-
numberOfFeeExemptedCharge: number;
|
|
26329
26684
|
exemptedFeeAmount: number;
|
|
26685
|
+
numberOfFeeExemptedCharge: number;
|
|
26330
26686
|
chargeAmount: number;
|
|
26331
26687
|
}[];
|
|
26332
26688
|
codeName: string;
|
|
@@ -27187,6 +27543,54 @@ declare const AdjustCreditAccountLimits: (creditAccountId: number, data: AdjustC
|
|
|
27187
27543
|
declare const GetSubscriber: (subscriberId: string) => Command<{
|
|
27188
27544
|
subscriberId: string;
|
|
27189
27545
|
}, SubscriberResponse>;
|
|
27546
|
+
/**
|
|
27547
|
+
* Retrieves a list of notification templates.
|
|
27548
|
+
*
|
|
27549
|
+
* @returns A Command that when executed returns the list of templates
|
|
27550
|
+
*
|
|
27551
|
+
* @example
|
|
27552
|
+
* ```typescript
|
|
27553
|
+
* const getTemplatesCmd = GetTemplates();
|
|
27554
|
+
* const templates = await getTemplatesCmd.execute(config);
|
|
27555
|
+
* console.log(templates);
|
|
27556
|
+
* ```
|
|
27557
|
+
*/
|
|
27558
|
+
declare const GetTemplates: () => Command<{}, TemplateResponse[]>;
|
|
27559
|
+
/**
|
|
27560
|
+
* Retrieves a list of subscription events.
|
|
27561
|
+
*
|
|
27562
|
+
* @param params - Query parameters for filtering
|
|
27563
|
+
* @param params.type - Filter by subscriber type (e.g., 'EMAIL', 'WEBHOOK')
|
|
27564
|
+
* @returns A Command that when executed returns the list of subscription events
|
|
27565
|
+
*
|
|
27566
|
+
* @example
|
|
27567
|
+
* ```typescript
|
|
27568
|
+
* const getEventsCmd = GetSubscriptionEvents({
|
|
27569
|
+
* type: 'EMAIL'
|
|
27570
|
+
* });
|
|
27571
|
+
* const result = await getEventsCmd.execute(config);
|
|
27572
|
+
* console.log(result);
|
|
27573
|
+
* ```
|
|
27574
|
+
*/
|
|
27575
|
+
declare const GetSubscriptionEvents: (params: SubscriptionEventParams) => Command<{
|
|
27576
|
+
params: SubscriptionEventParams;
|
|
27577
|
+
}, SubscriptionEventResponse>;
|
|
27578
|
+
/**
|
|
27579
|
+
* Deletes a subscription.
|
|
27580
|
+
*
|
|
27581
|
+
* @param subscriptionId - The ID of the subscription to delete
|
|
27582
|
+
* @returns A Command that when executed returns the deleted subscription's id and resourceId
|
|
27583
|
+
*
|
|
27584
|
+
* @example
|
|
27585
|
+
* ```typescript
|
|
27586
|
+
* const deleteCmd = DeleteSubscription(123);
|
|
27587
|
+
* const result = await deleteCmd.execute(config);
|
|
27588
|
+
* console.log(result.id, result.resourceId);
|
|
27589
|
+
* ```
|
|
27590
|
+
*/
|
|
27591
|
+
declare const DeleteSubscription: (subscriptionId: number) => Command<{
|
|
27592
|
+
subscriptionId: number;
|
|
27593
|
+
}, SubscriptionActionResponse>;
|
|
27190
27594
|
/**
|
|
27191
27595
|
* Retrieves a list of all subscribers with optional filtering and pagination.
|
|
27192
27596
|
*
|
|
@@ -27238,6 +27642,29 @@ declare const GetSubscribers: (params: SubscriberParams) => Command<{
|
|
|
27238
27642
|
declare const CreateSubscriber: (data: SubscriberRequest) => Command<{
|
|
27239
27643
|
data: SubscriberRequest;
|
|
27240
27644
|
}, SubscriberActionResponse>;
|
|
27645
|
+
/**
|
|
27646
|
+
* Updates a subscriber.
|
|
27647
|
+
*
|
|
27648
|
+
* @param subscriberId - The ID of the subscriber to update
|
|
27649
|
+
* @param data - The subscriber data to update
|
|
27650
|
+
* @returns A Command that when executed returns the updated subscriber's id, resourceId, and changes
|
|
27651
|
+
*
|
|
27652
|
+
* @example
|
|
27653
|
+
* ```typescript
|
|
27654
|
+
* const updateCmd = UpdateSubscriber('subscriber-123', {
|
|
27655
|
+
* name: 'Updated Webhook',
|
|
27656
|
+
* type: 'WEBHOOK',
|
|
27657
|
+
* target: 'https://example.com/webhook',
|
|
27658
|
+
* active: true
|
|
27659
|
+
* });
|
|
27660
|
+
* const result = await updateCmd.execute(config);
|
|
27661
|
+
* console.log(result.id, result.resourceId, result.changes);
|
|
27662
|
+
* ```
|
|
27663
|
+
*/
|
|
27664
|
+
declare const UpdateSubscriber: (subscriberId: string, data: SubscriberRequest) => Command<{
|
|
27665
|
+
subscriberId: string;
|
|
27666
|
+
data: SubscriberRequest;
|
|
27667
|
+
}, SubscriberUpdateResponse>;
|
|
27241
27668
|
/**
|
|
27242
27669
|
* Deletes a subscriber.
|
|
27243
27670
|
*
|
|
@@ -27254,6 +27681,79 @@ declare const CreateSubscriber: (data: SubscriberRequest) => Command<{
|
|
|
27254
27681
|
declare const DeleteSubscriber: (subscriberId: string) => Command<{
|
|
27255
27682
|
subscriberId: string;
|
|
27256
27683
|
}, SubscriberActionResponse>;
|
|
27684
|
+
/**
|
|
27685
|
+
* Creates a new subscription.
|
|
27686
|
+
*
|
|
27687
|
+
* @param data - The subscription data to create
|
|
27688
|
+
* @returns A Command that when executed returns the created subscription
|
|
27689
|
+
*
|
|
27690
|
+
* @example
|
|
27691
|
+
* ```typescript
|
|
27692
|
+
* const createCmd = CreateSubscription({
|
|
27693
|
+
* subscriberId: 266,
|
|
27694
|
+
* entityMap: {
|
|
27695
|
+
* 'newKey': [
|
|
27696
|
+
* {
|
|
27697
|
+
* action: 'CREATE',
|
|
27698
|
+
* templateId: 74
|
|
27699
|
+
* }
|
|
27700
|
+
* ]
|
|
27701
|
+
* },
|
|
27702
|
+
* action: 'CREATE',
|
|
27703
|
+
* entity: 'ADDRESS'
|
|
27704
|
+
* });
|
|
27705
|
+
* const result = await createCmd.execute(config);
|
|
27706
|
+
* console.log(result);
|
|
27707
|
+
* ```
|
|
27708
|
+
*/
|
|
27709
|
+
declare const CreateSubscription: (data: SubscriptionRequest) => Command<{
|
|
27710
|
+
data: SubscriptionRequest;
|
|
27711
|
+
}, {
|
|
27712
|
+
data: Array<number>;
|
|
27713
|
+
}>;
|
|
27714
|
+
/**
|
|
27715
|
+
* Retrieves a list of all subscriptions with optional filtering and pagination.
|
|
27716
|
+
*
|
|
27717
|
+
* @param params - Query parameters for filtering, pagination, and sorting
|
|
27718
|
+
* @param params.subscriberId - The ID of the subscriber
|
|
27719
|
+
* @param params.offset - Pagination offset (number of records to skip)
|
|
27720
|
+
* @param params.limit - Maximum number of records to return. Set to 0 to fetch all records
|
|
27721
|
+
* @param params.orderBy - Field to order results by. Values: id
|
|
27722
|
+
* @param params.sortOrder - Sort order direction. Values: ASC, DESC
|
|
27723
|
+
* @returns A Command that when executed returns the list of subscriptions
|
|
27724
|
+
*
|
|
27725
|
+
* @example
|
|
27726
|
+
* ```typescript
|
|
27727
|
+
* const getSubscriptionsCmd = GetSubscriptions({
|
|
27728
|
+
* subscriberId: 123,
|
|
27729
|
+
* offset: 0,
|
|
27730
|
+
* limit: 10,
|
|
27731
|
+
* orderBy: 'id',
|
|
27732
|
+
* sortOrder: 'ASC'
|
|
27733
|
+
* });
|
|
27734
|
+
* const result = await getSubscriptionsCmd.execute(config);
|
|
27735
|
+
* console.log(result.pageItems);
|
|
27736
|
+
* ```
|
|
27737
|
+
*/
|
|
27738
|
+
declare const GetSubscriptions: (params: SubscriptionParams) => Command<{
|
|
27739
|
+
params: SubscriptionParams;
|
|
27740
|
+
}, SubscriptionListResponse>;
|
|
27741
|
+
/**
|
|
27742
|
+
* Retrieves detailed information about a specific subscription.
|
|
27743
|
+
*
|
|
27744
|
+
* @param subscriptionId - The ID of the subscription to retrieve
|
|
27745
|
+
* @returns A Command that when executed returns the subscription details
|
|
27746
|
+
*
|
|
27747
|
+
* @example
|
|
27748
|
+
* ```typescript
|
|
27749
|
+
* const getSubscriptionCmd = GetSubscription(123);
|
|
27750
|
+
* const subscription = await getSubscriptionCmd.execute(config);
|
|
27751
|
+
* console.log(subscription);
|
|
27752
|
+
* ```
|
|
27753
|
+
*/
|
|
27754
|
+
declare const GetSubscription: (subscriptionId: number) => Command<{
|
|
27755
|
+
subscriptionId: number;
|
|
27756
|
+
}, SubscriptionResponse>;
|
|
27257
27757
|
|
|
27258
27758
|
/**
|
|
27259
27759
|
* Creates a new loan application with specified loan amount, term, interest rate, and repayment frequency.
|
|
@@ -27938,6 +28438,95 @@ declare const PayAccountCharge: (params: PayAccountChargeParams, data: PayAccoun
|
|
|
27938
28438
|
data: PayAccountChargeRequest;
|
|
27939
28439
|
}, PayAccountChargeResponse>;
|
|
27940
28440
|
|
|
28441
|
+
/**
|
|
28442
|
+
* Create a new charge definition
|
|
28443
|
+
*
|
|
28444
|
+
* This endpoint allows creating a new charge definition in the system.
|
|
28445
|
+
* Charges can be applied to loans, savings accounts, or clients.
|
|
28446
|
+
*
|
|
28447
|
+
* @param data - The charge creation parameters
|
|
28448
|
+
* @returns Command object for creating a charge
|
|
28449
|
+
*
|
|
28450
|
+
* @example
|
|
28451
|
+
* ```typescript
|
|
28452
|
+
* const command = CreateCharge({
|
|
28453
|
+
* name: "Loan service fee",
|
|
28454
|
+
* currencyCode: "USD",
|
|
28455
|
+
* amount: 230.56,
|
|
28456
|
+
* chargeAppliesTo: 1,
|
|
28457
|
+
* chargeTimeType: 3,
|
|
28458
|
+
* chargeCalculationType: 1,
|
|
28459
|
+
* locale: "en"
|
|
28460
|
+
* });
|
|
28461
|
+
* const result = await client.request(command);
|
|
28462
|
+
* console.log(result.resourceId);
|
|
28463
|
+
* ```
|
|
28464
|
+
*/
|
|
28465
|
+
declare const CreateCharge: (data: CreateChargeRequest) => Command<{
|
|
28466
|
+
data: CreateChargeRequest;
|
|
28467
|
+
}, CreateChargeResponse>;
|
|
28468
|
+
/**
|
|
28469
|
+
* Update a charge definition
|
|
28470
|
+
*
|
|
28471
|
+
* This endpoint allows updating an existing charge definition by its ID.
|
|
28472
|
+
*
|
|
28473
|
+
* @param chargeId - The ID of the charge to update
|
|
28474
|
+
* @param data - The charge update parameters
|
|
28475
|
+
* @returns Command object for updating a charge
|
|
28476
|
+
*
|
|
28477
|
+
* @example
|
|
28478
|
+
* ```typescript
|
|
28479
|
+
* const command = UpdateCharge(123, {
|
|
28480
|
+
* name: "Updated Savings Charge",
|
|
28481
|
+
* amount: 15.0,
|
|
28482
|
+
* active: false
|
|
28483
|
+
* });
|
|
28484
|
+
* const result = await client.request(command);
|
|
28485
|
+
* console.log(result.resourceId);
|
|
28486
|
+
* ```
|
|
28487
|
+
*/
|
|
28488
|
+
declare const UpdateCharge: (chargeId: number, data: UpdateChargeRequest) => Command<{
|
|
28489
|
+
chargeId: number;
|
|
28490
|
+
data: UpdateChargeRequest;
|
|
28491
|
+
}, UpdateChargeResponse>;
|
|
28492
|
+
/**
|
|
28493
|
+
* Get a list of charge definitions
|
|
28494
|
+
*
|
|
28495
|
+
* This endpoint allows retrieving a list of charge definitions, optionally filtered by status.
|
|
28496
|
+
*
|
|
28497
|
+
* @param params - The charge retrieval parameters
|
|
28498
|
+
* @param params.chargeStatus - Filter by charge status ('ALL', 'ACTIVE', 'INACTIVE')
|
|
28499
|
+
* @returns Command object for getting a list of charges
|
|
28500
|
+
*
|
|
28501
|
+
* @example
|
|
28502
|
+
* ```typescript
|
|
28503
|
+
* const command = GetCharges({ chargeStatus: 'ACTIVE' });
|
|
28504
|
+
* const result = await client.request(command);
|
|
28505
|
+
* console.log(result);
|
|
28506
|
+
* ```
|
|
28507
|
+
*/
|
|
28508
|
+
declare const GetCharges: (params?: GetChargesRequest) => Command<{
|
|
28509
|
+
params?: GetChargesRequest;
|
|
28510
|
+
}, GetChargeResponse[]>;
|
|
28511
|
+
/**
|
|
28512
|
+
* Get a charge definition
|
|
28513
|
+
*
|
|
28514
|
+
* This endpoint allows retrieving a charge definition by its ID.
|
|
28515
|
+
*
|
|
28516
|
+
* @param chargeId - The ID of the charge
|
|
28517
|
+
* @returns Command object for getting a charge
|
|
28518
|
+
*
|
|
28519
|
+
* @example
|
|
28520
|
+
* ```typescript
|
|
28521
|
+
* const command = GetCharge(123);
|
|
28522
|
+
* const result = await client.request(command);
|
|
28523
|
+
* console.log(result.name);
|
|
28524
|
+
* ```
|
|
28525
|
+
*/
|
|
28526
|
+
declare const GetCharge: (chargeId: number) => Command<{
|
|
28527
|
+
chargeId: number;
|
|
28528
|
+
}, GetChargeResponse>;
|
|
28529
|
+
|
|
27941
28530
|
/**
|
|
27942
28531
|
* Create a new entry (row) in a data table
|
|
27943
28532
|
*
|
|
@@ -28337,4 +28926,153 @@ declare const DeleteNote: (params: DeleteNoteParamsRequest) => Command<{
|
|
|
28337
28926
|
params: DeleteNoteParamsRequest;
|
|
28338
28927
|
}, DeleteNoteResponse>;
|
|
28339
28928
|
|
|
28340
|
-
|
|
28929
|
+
/**
|
|
28930
|
+
* Create a new credit product
|
|
28931
|
+
*
|
|
28932
|
+
* This command allows you to create a new credit product with specific configurations
|
|
28933
|
+
* such as interest rates, compounding periods, and accounting rules.
|
|
28934
|
+
*
|
|
28935
|
+
* @param data - The credit product configuration data
|
|
28936
|
+
* @returns Command object that executes the API request and returns the created product ID
|
|
28937
|
+
*
|
|
28938
|
+
* @example
|
|
28939
|
+
* ```typescript
|
|
28940
|
+
* const command = CreateCreditProduct({
|
|
28941
|
+
* currencyCode: "USD",
|
|
28942
|
+
* digitsAfterDecimal: 2,
|
|
28943
|
+
* // ... other parameters
|
|
28944
|
+
* });
|
|
28945
|
+
* const result = await client.request(command);
|
|
28946
|
+
* ```
|
|
28947
|
+
*/
|
|
28948
|
+
declare const CreateCreditProduct: (data: CreateCreditProductRequest) => Command<{
|
|
28949
|
+
data: CreateCreditProductRequest;
|
|
28950
|
+
}, ProcessOutput>;
|
|
28951
|
+
/**
|
|
28952
|
+
* Get a credit product by ID
|
|
28953
|
+
*
|
|
28954
|
+
* This command retrieves the details of a specific credit product using its unique ID.
|
|
28955
|
+
*
|
|
28956
|
+
* @param creditProductId - The ID of the credit product to retrieve
|
|
28957
|
+
* @returns Command object that executes the API request and returns the credit product details
|
|
28958
|
+
*
|
|
28959
|
+
* @example
|
|
28960
|
+
* ```typescript
|
|
28961
|
+
* const command = GetCreditProduct(1);
|
|
28962
|
+
* const result = await client.request(command);
|
|
28963
|
+
* ```
|
|
28964
|
+
*/
|
|
28965
|
+
declare const GetCreditProduct: (creditProductId: number) => Command<{
|
|
28966
|
+
creditProductId: number;
|
|
28967
|
+
}, GetCreditProductsResponse>;
|
|
28968
|
+
/**
|
|
28969
|
+
* Get all credit products
|
|
28970
|
+
*
|
|
28971
|
+
* This command retrieves a list of all available credit products.
|
|
28972
|
+
*
|
|
28973
|
+
* @returns Command object that executes the API request and returns the list of credit products
|
|
28974
|
+
*
|
|
28975
|
+
* @example
|
|
28976
|
+
* ```typescript
|
|
28977
|
+
* const command = GetCreditProducts();
|
|
28978
|
+
* const result = await client.request(command);
|
|
28979
|
+
* ```
|
|
28980
|
+
*/
|
|
28981
|
+
declare const GetCreditProducts: () => Command<void, GetCreditProductsResponse[]>;
|
|
28982
|
+
/**
|
|
28983
|
+
* Update a credit product
|
|
28984
|
+
*
|
|
28985
|
+
* This command allows you to update an existing credit product with specific configurations.
|
|
28986
|
+
*
|
|
28987
|
+
* @param creditProductId - The ID of the credit product to update
|
|
28988
|
+
* @param data - The credit product configuration data to update
|
|
28989
|
+
* @returns Command object that executes the API request and returns the updated product ID
|
|
28990
|
+
*
|
|
28991
|
+
* @example
|
|
28992
|
+
* ```typescript
|
|
28993
|
+
* const command = UpdateCreditProduct(1, {
|
|
28994
|
+
* currencyCode: "USD",
|
|
28995
|
+
* digitsAfterDecimal: 2,
|
|
28996
|
+
* // ... other parameters
|
|
28997
|
+
* });
|
|
28998
|
+
* const result = await client.request(command);
|
|
28999
|
+
* ```
|
|
29000
|
+
*/
|
|
29001
|
+
declare const UpdateCreditProduct: (creditProductId: number, data?: UpdateCreditProductRequest) => Command<{
|
|
29002
|
+
creditProductId: number;
|
|
29003
|
+
data?: UpdateCreditProductRequest;
|
|
29004
|
+
}, UpdateCreditProductRequest>;
|
|
29005
|
+
|
|
29006
|
+
/**
|
|
29007
|
+
* Creates a new loan product.
|
|
29008
|
+
*
|
|
29009
|
+
* @param data - The loan product creation parameters
|
|
29010
|
+
* @returns A Command that when executed returns the created loan product ID and resource ID
|
|
29011
|
+
*
|
|
29012
|
+
* @example
|
|
29013
|
+
* ```typescript
|
|
29014
|
+
* const createCmd = CreateLoanProduct({
|
|
29015
|
+
* name: "Home Loan",
|
|
29016
|
+
* shortName: "HL",
|
|
29017
|
+
* currencyCode: "USD",
|
|
29018
|
+
* // ... other params
|
|
29019
|
+
* });
|
|
29020
|
+
* const result = await createCmd.execute(config);
|
|
29021
|
+
* console.log(result.resourceId);
|
|
29022
|
+
* ```
|
|
29023
|
+
*/
|
|
29024
|
+
declare const CreateLoanProduct: (data: CreateLoanProductRequest) => Command<{
|
|
29025
|
+
data: CreateLoanProductRequest;
|
|
29026
|
+
}, CreateLoanProductResponse>;
|
|
29027
|
+
/**
|
|
29028
|
+
* Updates an existing loan product.
|
|
29029
|
+
*
|
|
29030
|
+
* @param loanProductId - The ID of the loan product to update.
|
|
29031
|
+
* @param data - The loan product update parameters. All fields are optional.
|
|
29032
|
+
* @returns A Command that when executed returns the updated loan product's ID and resource ID.
|
|
29033
|
+
*
|
|
29034
|
+
* @example
|
|
29035
|
+
* ```typescript
|
|
29036
|
+
* const updateCmd = UpdateLoanProduct(1, {
|
|
29037
|
+
* name: "Updated Home Loan",
|
|
29038
|
+
* description: "An updated home loan product."
|
|
29039
|
+
* });
|
|
29040
|
+
* const result = await updateCmd.execute(config);
|
|
29041
|
+
* console.log(result.resourceId);
|
|
29042
|
+
* ```
|
|
29043
|
+
*/
|
|
29044
|
+
declare const UpdateLoanProduct: (loanProductId: number, data: UpdateLoanProductRequest) => Command<{
|
|
29045
|
+
loanProductId: number;
|
|
29046
|
+
data: UpdateLoanProductRequest;
|
|
29047
|
+
}, UpdateLoanProductResponse>;
|
|
29048
|
+
/**
|
|
29049
|
+
* Retrieves a loan product by its ID.
|
|
29050
|
+
*
|
|
29051
|
+
* @param loanProductId - The ID of the loan product to retrieve
|
|
29052
|
+
* @returns A Command that when executed returns the loan product details
|
|
29053
|
+
*
|
|
29054
|
+
* @example
|
|
29055
|
+
* ```typescript
|
|
29056
|
+
* const getCmd = GetLoanProduct(1);
|
|
29057
|
+
* const result = await getCmd.execute(config);
|
|
29058
|
+
* console.log(result.name);
|
|
29059
|
+
* ```
|
|
29060
|
+
*/
|
|
29061
|
+
declare const GetLoanProduct: (loanProductId: number) => Command<{
|
|
29062
|
+
loanProductId: number;
|
|
29063
|
+
}, GetLoanProductResponse>;
|
|
29064
|
+
/**
|
|
29065
|
+
* Retrieves a list of all loan products.
|
|
29066
|
+
*
|
|
29067
|
+
* @returns A Command that when executed returns an array of loan products.
|
|
29068
|
+
*
|
|
29069
|
+
* @example
|
|
29070
|
+
* ```typescript
|
|
29071
|
+
* const listCmd = GetLoanProducts();
|
|
29072
|
+
* const result = await listCmd.execute(config);
|
|
29073
|
+
* result.forEach(product => console.log(product.name));
|
|
29074
|
+
* ```
|
|
29075
|
+
*/
|
|
29076
|
+
declare const GetLoanProducts: () => Command<{}, GetLoanProductsResponse>;
|
|
29077
|
+
|
|
29078
|
+
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, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetSubscribers, GetSubscription, GetSubscriptionEvents, GetSubscriptions, GetTemplates, 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, UpdateCharge, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateCreditProduct, UpdateEntryInDataTable, UpdateFixedDepositAccount, UpdateLoanProduct, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UpdateSubscriber, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };
|