@mbanq/core-sdk-js 0.46.4 → 0.48.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/dist/chunk-CAUBXV3V.mjs +8 -0
- package/dist/chunk-EZVZLMXI.mjs +1 -0
- package/dist/chunk-F7YQ446S.mjs +1 -0
- package/dist/chunk-K7UFZUR7.js +1 -0
- package/dist/chunk-PHBC2UFT.js +1 -0
- package/dist/chunk-X5O2HKZK.js +8 -0
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/commands/index.d.mts +18 -231
- package/dist/commands/index.d.ts +18 -231
- package/dist/commands/index.js +88 -27
- package/dist/commands/index.mjs +88 -27
- package/dist/{config.d-BvqzFkbH.d.mts → config.d-D-3TJZGq.d.mts} +2 -1
- package/dist/{config.d-BvqzFkbH.d.ts → config.d-D-3TJZGq.d.ts} +2 -1
- package/dist/{error.d-ktr-yO7C.d.ts → error.d-BilRDJJN.d.ts} +1 -1
- package/dist/{error.d-8Btuol2n.d.mts → error.d-ChhpiSrv.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{recipient-CpahZQEL.d.mts → recipient-B8SbKh-I.d.mts} +536 -323
- package/dist/{recipient-CpahZQEL.d.ts → recipient-B8SbKh-I.d.ts} +536 -323
- package/dist/types/types.d.mts +3 -3
- package/dist/types/types.d.ts +3 -3
- package/dist/zod/index.d.mts +2 -2
- package/dist/zod/index.d.ts +2 -2
- package/dist/zod/index.js +1 -1
- package/dist/zod/index.mjs +1 -1
- package/dist/{zod-4CCoUuDc.d.mts → zod-DzGvWN50.d.mts} +563 -28
- package/dist/{zod-DwxNJAey.d.ts → zod-bc-fFnve.d.ts} +563 -28
- package/package.json +1 -1
- package/dist/chunk-5VNL7IK3.js +0 -1
- package/dist/chunk-BMAIEOWZ.mjs +0 -1
- package/dist/chunk-EM7SKZCN.js +0 -1
- package/dist/chunk-ZUBUHVOU.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './recipient-
|
|
1
|
+
import './recipient-B8SbKh-I.js';
|
|
2
2
|
import z from 'zod';
|
|
3
3
|
|
|
4
4
|
declare const CreateCreditProductRequestSchema: z.ZodObject<{
|
|
@@ -1892,7 +1892,7 @@ declare const ClientDataShape: {
|
|
|
1892
1892
|
activeDepositAccount: z.ZodNumber;
|
|
1893
1893
|
onBoardingStatus: z.ZodOptional<z.ZodString>;
|
|
1894
1894
|
};
|
|
1895
|
-
declare const
|
|
1895
|
+
declare const GetClientsResponseShape: {
|
|
1896
1896
|
totalFilteredRecords: z.ZodNumber;
|
|
1897
1897
|
pageItems: z.ZodArray<z.ZodObject<{
|
|
1898
1898
|
id: z.ZodNumber;
|
|
@@ -2466,7 +2466,7 @@ declare const ListClientsResponseShape: {
|
|
|
2466
2466
|
onBoardingStatus: z.ZodOptional<z.ZodString>;
|
|
2467
2467
|
}, z.ZodAny, "strip">>, "many">;
|
|
2468
2468
|
};
|
|
2469
|
-
declare const
|
|
2469
|
+
declare const GetClientsResponseSchema: z.ZodObject<{
|
|
2470
2470
|
totalFilteredRecords: z.ZodNumber;
|
|
2471
2471
|
pageItems: z.ZodArray<z.ZodObject<{
|
|
2472
2472
|
id: z.ZodNumber;
|
|
@@ -4186,7 +4186,7 @@ declare const ListClientsResponseSchema: z.ZodObject<{
|
|
|
4186
4186
|
onBoardingStatus: z.ZodOptional<z.ZodString>;
|
|
4187
4187
|
}, z.ZodAny, "strip">>, "many">;
|
|
4188
4188
|
}, z.ZodAny, "strip">>;
|
|
4189
|
-
declare const
|
|
4189
|
+
declare const GetClientResponseShape: {
|
|
4190
4190
|
clientData: z.ZodOptional<z.ZodObject<{
|
|
4191
4191
|
id: z.ZodNumber;
|
|
4192
4192
|
accountNo: z.ZodString;
|
|
@@ -4795,7 +4795,7 @@ declare const ClientResponseShape: {
|
|
|
4795
4795
|
value: z.ZodString;
|
|
4796
4796
|
}, z.ZodAny, "strip">>>;
|
|
4797
4797
|
};
|
|
4798
|
-
declare const
|
|
4798
|
+
declare const GetClientResponseSchema: z.ZodObject<{
|
|
4799
4799
|
clientData: z.ZodOptional<z.ZodObject<{
|
|
4800
4800
|
id: z.ZodNumber;
|
|
4801
4801
|
accountNo: z.ZodString;
|
|
@@ -5816,11 +5816,49 @@ declare const ClientResponseSchema: z.ZodObject<{
|
|
|
5816
5816
|
value: z.ZodString;
|
|
5817
5817
|
}, z.ZodAny, "strip"> | undefined;
|
|
5818
5818
|
}>;
|
|
5819
|
+
declare const UpdateClientResponseSchema: z.ZodObject<{
|
|
5820
|
+
id: z.ZodNumber;
|
|
5821
|
+
officeId: z.ZodNumber;
|
|
5822
|
+
clientId: z.ZodNumber;
|
|
5823
|
+
resourceId: z.ZodNumber;
|
|
5824
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5825
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
5826
|
+
id: z.ZodNumber;
|
|
5827
|
+
officeId: z.ZodNumber;
|
|
5828
|
+
clientId: z.ZodNumber;
|
|
5829
|
+
resourceId: z.ZodNumber;
|
|
5830
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5831
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
5832
|
+
id: z.ZodNumber;
|
|
5833
|
+
officeId: z.ZodNumber;
|
|
5834
|
+
clientId: z.ZodNumber;
|
|
5835
|
+
resourceId: z.ZodNumber;
|
|
5836
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5837
|
+
}, z.ZodAny, "strip">>;
|
|
5838
|
+
declare const DeleteClientResponseSchema: z.ZodObject<{
|
|
5839
|
+
id: z.ZodNumber;
|
|
5840
|
+
officeId: z.ZodNumber;
|
|
5841
|
+
clientId: z.ZodNumber;
|
|
5842
|
+
resourceId: z.ZodNumber;
|
|
5843
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
5844
|
+
id: z.ZodNumber;
|
|
5845
|
+
officeId: z.ZodNumber;
|
|
5846
|
+
clientId: z.ZodNumber;
|
|
5847
|
+
resourceId: z.ZodNumber;
|
|
5848
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
5849
|
+
id: z.ZodNumber;
|
|
5850
|
+
officeId: z.ZodNumber;
|
|
5851
|
+
clientId: z.ZodNumber;
|
|
5852
|
+
resourceId: z.ZodNumber;
|
|
5853
|
+
}, z.ZodAny, "strip">>;
|
|
5819
5854
|
type CreateClientRequest = z.infer<typeof CreateClientRequestSchema>;
|
|
5820
5855
|
type CreateClientResponse = z.infer<typeof CreateClientResponseSchema>;
|
|
5821
5856
|
type UpdateClientRequest = z.infer<typeof UpdateClientRequestSchema>;
|
|
5857
|
+
type UpdateClientResponse = z.infer<typeof UpdateClientResponseSchema>;
|
|
5822
5858
|
type ListClientsRequest = z.infer<typeof ListClientsRequestSchema>;
|
|
5823
|
-
type
|
|
5859
|
+
type GetClientsResponse = z.infer<typeof GetClientsResponseSchema>;
|
|
5860
|
+
type GetClientResponse = z.infer<typeof GetClientResponseSchema>;
|
|
5861
|
+
type DeleteClientResponse = z.infer<typeof DeleteClientResponseSchema>;
|
|
5824
5862
|
declare const ClientFilterKeySchema: z.ZodEnum<["offset", "limit", "orderBy", "sortOrder", "officeId", "displayName", "firstname", "lastname", "externalId", "orphansOnly", "clientStatus", "mobileNo", "createdStartDate", "creationEndDate", "activatedStartDate", "activatedEndDate", "closedStartDate", "closedEndDate"]>;
|
|
5825
5863
|
declare const ClientOrderBySchema: z.ZodEnum<["displayName", "accountNo", "officeId", "officeName"]>;
|
|
5826
5864
|
declare const ClientSortOrderSchema: z.ZodEnum<["ASC", "DESC"]>;
|
|
@@ -5983,41 +6021,41 @@ declare const VerifyWithActivateClientSchema: z.ZodEffects<z.ZodEffects<z.ZodEff
|
|
|
5983
6021
|
autoActivate?: boolean | undefined;
|
|
5984
6022
|
}>;
|
|
5985
6023
|
type VerifyWithActivateClient = z.infer<typeof VerifyWithActivateClientSchema>;
|
|
5986
|
-
declare const
|
|
5987
|
-
id: z.
|
|
6024
|
+
declare const VerifyWithActivateClientsResponseSchema: z.ZodObject<{
|
|
6025
|
+
id: z.ZodString;
|
|
5988
6026
|
clientId: z.ZodNumber;
|
|
5989
6027
|
officeId: z.ZodNumber;
|
|
5990
6028
|
resourceId: z.ZodNumber;
|
|
5991
|
-
data: z.ZodObject<{
|
|
5992
|
-
clientVerificationStatus: z.ZodEnum<["PENDING", "IN_PROGRESS", "APPROVED", "REJECTED"]
|
|
5993
|
-
clientKycStatus: z.ZodString
|
|
6029
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
6030
|
+
clientVerificationStatus: z.ZodOptional<z.ZodEnum<["PENDING", "IN_PROGRESS", "APPROVED", "REJECTED"]>>;
|
|
6031
|
+
clientKycStatus: z.ZodOptional<z.ZodString>;
|
|
5994
6032
|
}, "strip", z.ZodTypeAny, {
|
|
5995
|
-
clientVerificationStatus
|
|
5996
|
-
clientKycStatus
|
|
6033
|
+
clientVerificationStatus?: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED" | undefined;
|
|
6034
|
+
clientKycStatus?: string | undefined;
|
|
5997
6035
|
}, {
|
|
5998
|
-
clientVerificationStatus
|
|
5999
|
-
clientKycStatus
|
|
6000
|
-
}
|
|
6036
|
+
clientVerificationStatus?: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED" | undefined;
|
|
6037
|
+
clientKycStatus?: string | undefined;
|
|
6038
|
+
}>>;
|
|
6001
6039
|
}, "strip", z.ZodTypeAny, {
|
|
6002
|
-
id:
|
|
6040
|
+
id: string;
|
|
6003
6041
|
clientId: number;
|
|
6004
6042
|
resourceId: number;
|
|
6005
|
-
data: {
|
|
6006
|
-
clientVerificationStatus: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED";
|
|
6007
|
-
clientKycStatus: string;
|
|
6008
|
-
};
|
|
6009
6043
|
officeId: number;
|
|
6044
|
+
data?: {
|
|
6045
|
+
clientVerificationStatus?: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED" | undefined;
|
|
6046
|
+
clientKycStatus?: string | undefined;
|
|
6047
|
+
} | undefined;
|
|
6010
6048
|
}, {
|
|
6011
|
-
id:
|
|
6049
|
+
id: string;
|
|
6012
6050
|
clientId: number;
|
|
6013
6051
|
resourceId: number;
|
|
6014
|
-
data: {
|
|
6015
|
-
clientVerificationStatus: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED";
|
|
6016
|
-
clientKycStatus: string;
|
|
6017
|
-
};
|
|
6018
6052
|
officeId: number;
|
|
6053
|
+
data?: {
|
|
6054
|
+
clientVerificationStatus?: "REJECTED" | "PENDING" | "IN_PROGRESS" | "APPROVED" | undefined;
|
|
6055
|
+
clientKycStatus?: string | undefined;
|
|
6056
|
+
} | undefined;
|
|
6019
6057
|
}>;
|
|
6020
|
-
type
|
|
6058
|
+
type VerifyWithActivateClientsResponse = z.infer<typeof VerifyWithActivateClientsResponseSchema>;
|
|
6021
6059
|
declare const DocumentTypeSchema: z.ZodObject<{
|
|
6022
6060
|
id: z.ZodNumber;
|
|
6023
6061
|
name: z.ZodString;
|
|
@@ -6476,4 +6514,501 @@ declare const GetClientRequestSchema: z.ZodObject<{
|
|
|
6476
6514
|
}>;
|
|
6477
6515
|
type GetClientRequest = z.infer<typeof GetClientRequestSchema>;
|
|
6478
6516
|
|
|
6479
|
-
|
|
6517
|
+
declare const AddressShape: z.ZodObject<{
|
|
6518
|
+
clientId: z.ZodNumber;
|
|
6519
|
+
addressType: z.ZodString;
|
|
6520
|
+
addressId: z.ZodNumber;
|
|
6521
|
+
addressTypeId: z.ZodNumber;
|
|
6522
|
+
isActive: z.ZodBoolean;
|
|
6523
|
+
addressLine1: z.ZodString;
|
|
6524
|
+
addressLine2: z.ZodString;
|
|
6525
|
+
addressLine3: z.ZodString;
|
|
6526
|
+
mobileNo: z.ZodNumber;
|
|
6527
|
+
townVillage: z.ZodString;
|
|
6528
|
+
countyDistrict: z.ZodString;
|
|
6529
|
+
city: z.ZodString;
|
|
6530
|
+
stateProvinceId: z.ZodNumber;
|
|
6531
|
+
countryName: z.ZodString;
|
|
6532
|
+
stateName: z.ZodString;
|
|
6533
|
+
countryId: z.ZodNumber;
|
|
6534
|
+
postalCode: z.ZodNumber;
|
|
6535
|
+
createdBy: z.ZodString;
|
|
6536
|
+
updatedBy: z.ZodString;
|
|
6537
|
+
minifiedAddress: z.ZodArray<z.ZodString, "many">;
|
|
6538
|
+
}, "strip", z.ZodTypeAny, {
|
|
6539
|
+
clientId: number;
|
|
6540
|
+
postalCode: number;
|
|
6541
|
+
city: string;
|
|
6542
|
+
isActive: boolean;
|
|
6543
|
+
mobileNo: number;
|
|
6544
|
+
addressType: string;
|
|
6545
|
+
addressId: number;
|
|
6546
|
+
addressTypeId: number;
|
|
6547
|
+
addressLine1: string;
|
|
6548
|
+
addressLine2: string;
|
|
6549
|
+
addressLine3: string;
|
|
6550
|
+
townVillage: string;
|
|
6551
|
+
countyDistrict: string;
|
|
6552
|
+
stateProvinceId: number;
|
|
6553
|
+
countryName: string;
|
|
6554
|
+
stateName: string;
|
|
6555
|
+
countryId: number;
|
|
6556
|
+
createdBy: string;
|
|
6557
|
+
updatedBy: string;
|
|
6558
|
+
minifiedAddress: string[];
|
|
6559
|
+
}, {
|
|
6560
|
+
clientId: number;
|
|
6561
|
+
postalCode: number;
|
|
6562
|
+
city: string;
|
|
6563
|
+
isActive: boolean;
|
|
6564
|
+
mobileNo: number;
|
|
6565
|
+
addressType: string;
|
|
6566
|
+
addressId: number;
|
|
6567
|
+
addressTypeId: number;
|
|
6568
|
+
addressLine1: string;
|
|
6569
|
+
addressLine2: string;
|
|
6570
|
+
addressLine3: string;
|
|
6571
|
+
townVillage: string;
|
|
6572
|
+
countyDistrict: string;
|
|
6573
|
+
stateProvinceId: number;
|
|
6574
|
+
countryName: string;
|
|
6575
|
+
stateName: string;
|
|
6576
|
+
countryId: number;
|
|
6577
|
+
createdBy: string;
|
|
6578
|
+
updatedBy: string;
|
|
6579
|
+
minifiedAddress: string[];
|
|
6580
|
+
}>;
|
|
6581
|
+
declare const ClientAddressShape: z.ZodArray<z.ZodObject<{
|
|
6582
|
+
clientId: z.ZodNumber;
|
|
6583
|
+
addressType: z.ZodString;
|
|
6584
|
+
addressId: z.ZodNumber;
|
|
6585
|
+
addressTypeId: z.ZodNumber;
|
|
6586
|
+
isActive: z.ZodBoolean;
|
|
6587
|
+
addressLine1: z.ZodString;
|
|
6588
|
+
addressLine2: z.ZodString;
|
|
6589
|
+
addressLine3: z.ZodString;
|
|
6590
|
+
mobileNo: z.ZodNumber;
|
|
6591
|
+
townVillage: z.ZodString;
|
|
6592
|
+
countyDistrict: z.ZodString;
|
|
6593
|
+
city: z.ZodString;
|
|
6594
|
+
stateProvinceId: z.ZodNumber;
|
|
6595
|
+
countryName: z.ZodString;
|
|
6596
|
+
stateName: z.ZodString;
|
|
6597
|
+
countryId: z.ZodNumber;
|
|
6598
|
+
postalCode: z.ZodNumber;
|
|
6599
|
+
createdBy: z.ZodString;
|
|
6600
|
+
updatedBy: z.ZodString;
|
|
6601
|
+
minifiedAddress: z.ZodArray<z.ZodString, "many">;
|
|
6602
|
+
}, "strip", z.ZodTypeAny, {
|
|
6603
|
+
clientId: number;
|
|
6604
|
+
postalCode: number;
|
|
6605
|
+
city: string;
|
|
6606
|
+
isActive: boolean;
|
|
6607
|
+
mobileNo: number;
|
|
6608
|
+
addressType: string;
|
|
6609
|
+
addressId: number;
|
|
6610
|
+
addressTypeId: number;
|
|
6611
|
+
addressLine1: string;
|
|
6612
|
+
addressLine2: string;
|
|
6613
|
+
addressLine3: string;
|
|
6614
|
+
townVillage: string;
|
|
6615
|
+
countyDistrict: string;
|
|
6616
|
+
stateProvinceId: number;
|
|
6617
|
+
countryName: string;
|
|
6618
|
+
stateName: string;
|
|
6619
|
+
countryId: number;
|
|
6620
|
+
createdBy: string;
|
|
6621
|
+
updatedBy: string;
|
|
6622
|
+
minifiedAddress: string[];
|
|
6623
|
+
}, {
|
|
6624
|
+
clientId: number;
|
|
6625
|
+
postalCode: number;
|
|
6626
|
+
city: string;
|
|
6627
|
+
isActive: boolean;
|
|
6628
|
+
mobileNo: number;
|
|
6629
|
+
addressType: string;
|
|
6630
|
+
addressId: number;
|
|
6631
|
+
addressTypeId: number;
|
|
6632
|
+
addressLine1: string;
|
|
6633
|
+
addressLine2: string;
|
|
6634
|
+
addressLine3: string;
|
|
6635
|
+
townVillage: string;
|
|
6636
|
+
countyDistrict: string;
|
|
6637
|
+
stateProvinceId: number;
|
|
6638
|
+
countryName: string;
|
|
6639
|
+
stateName: string;
|
|
6640
|
+
countryId: number;
|
|
6641
|
+
createdBy: string;
|
|
6642
|
+
updatedBy: string;
|
|
6643
|
+
minifiedAddress: string[];
|
|
6644
|
+
}>, "many">;
|
|
6645
|
+
type GetClientAddressResponse = z.infer<typeof ClientAddressShape>;
|
|
6646
|
+
declare const CreateClientAddressResponseSchema: z.ZodObject<{
|
|
6647
|
+
clientId: z.ZodNumber;
|
|
6648
|
+
resourceId: z.ZodNumber;
|
|
6649
|
+
}, "strip", z.ZodTypeAny, {
|
|
6650
|
+
clientId: number;
|
|
6651
|
+
resourceId: number;
|
|
6652
|
+
}, {
|
|
6653
|
+
clientId: number;
|
|
6654
|
+
resourceId: number;
|
|
6655
|
+
}>;
|
|
6656
|
+
type CreateClientAddressResponse = z.infer<typeof CreateClientAddressResponseSchema>;
|
|
6657
|
+
declare const UpdateClientAddressResponseSchema: z.ZodObject<{
|
|
6658
|
+
id: z.ZodNumber;
|
|
6659
|
+
clientId: z.ZodNumber;
|
|
6660
|
+
resourceId: z.ZodNumber;
|
|
6661
|
+
}, "strip", z.ZodTypeAny, {
|
|
6662
|
+
id: number;
|
|
6663
|
+
clientId: number;
|
|
6664
|
+
resourceId: number;
|
|
6665
|
+
}, {
|
|
6666
|
+
id: number;
|
|
6667
|
+
clientId: number;
|
|
6668
|
+
resourceId: number;
|
|
6669
|
+
}>;
|
|
6670
|
+
type UpdateClientAddressResponse = z.infer<typeof UpdateClientAddressResponseSchema>;
|
|
6671
|
+
declare const CreateClientAddressSchema: z.ZodObject<{
|
|
6672
|
+
addressLine1: z.ZodString;
|
|
6673
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6674
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6675
|
+
city: z.ZodString;
|
|
6676
|
+
stateProvinceId: z.ZodNumber;
|
|
6677
|
+
countryId: z.ZodNumber;
|
|
6678
|
+
postalCode: z.ZodString;
|
|
6679
|
+
} & {
|
|
6680
|
+
isActive: z.ZodBoolean;
|
|
6681
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
6682
|
+
addressLine1: z.ZodString;
|
|
6683
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6684
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6685
|
+
city: z.ZodString;
|
|
6686
|
+
stateProvinceId: z.ZodNumber;
|
|
6687
|
+
countryId: z.ZodNumber;
|
|
6688
|
+
postalCode: z.ZodString;
|
|
6689
|
+
} & {
|
|
6690
|
+
isActive: z.ZodBoolean;
|
|
6691
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
6692
|
+
addressLine1: z.ZodString;
|
|
6693
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6694
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6695
|
+
city: z.ZodString;
|
|
6696
|
+
stateProvinceId: z.ZodNumber;
|
|
6697
|
+
countryId: z.ZodNumber;
|
|
6698
|
+
postalCode: z.ZodString;
|
|
6699
|
+
} & {
|
|
6700
|
+
isActive: z.ZodBoolean;
|
|
6701
|
+
}, z.ZodAny, "strip">>;
|
|
6702
|
+
type CreateClientAddressRequest = z.infer<typeof CreateClientAddressSchema>;
|
|
6703
|
+
declare const UpdateClientAddressSchema: z.ZodObject<{
|
|
6704
|
+
addressLine1: z.ZodString;
|
|
6705
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6706
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6707
|
+
city: z.ZodString;
|
|
6708
|
+
stateProvinceId: z.ZodNumber;
|
|
6709
|
+
countryId: z.ZodNumber;
|
|
6710
|
+
postalCode: z.ZodString;
|
|
6711
|
+
} & {
|
|
6712
|
+
addressId: z.ZodNumber;
|
|
6713
|
+
addressTypeId: z.ZodNumber;
|
|
6714
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
6715
|
+
addressLine1: z.ZodString;
|
|
6716
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6717
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6718
|
+
city: z.ZodString;
|
|
6719
|
+
stateProvinceId: z.ZodNumber;
|
|
6720
|
+
countryId: z.ZodNumber;
|
|
6721
|
+
postalCode: z.ZodString;
|
|
6722
|
+
} & {
|
|
6723
|
+
addressId: z.ZodNumber;
|
|
6724
|
+
addressTypeId: z.ZodNumber;
|
|
6725
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
6726
|
+
addressLine1: z.ZodString;
|
|
6727
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
|
6728
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
|
6729
|
+
city: z.ZodString;
|
|
6730
|
+
stateProvinceId: z.ZodNumber;
|
|
6731
|
+
countryId: z.ZodNumber;
|
|
6732
|
+
postalCode: z.ZodString;
|
|
6733
|
+
} & {
|
|
6734
|
+
addressId: z.ZodNumber;
|
|
6735
|
+
addressTypeId: z.ZodNumber;
|
|
6736
|
+
}, z.ZodAny, "strip">>;
|
|
6737
|
+
type UpdateClientAddressRequest = z.infer<typeof UpdateClientAddressSchema>;
|
|
6738
|
+
declare const SetClientAddressStatusRequestSchema: z.ZodObject<{
|
|
6739
|
+
addressId: z.ZodNumber;
|
|
6740
|
+
isActive: z.ZodBoolean;
|
|
6741
|
+
}, "strip", z.ZodTypeAny, {
|
|
6742
|
+
isActive: boolean;
|
|
6743
|
+
addressId: number;
|
|
6744
|
+
}, {
|
|
6745
|
+
isActive: boolean;
|
|
6746
|
+
addressId: number;
|
|
6747
|
+
}>;
|
|
6748
|
+
type SetClientAddressStatusRequest = z.infer<typeof SetClientAddressStatusRequestSchema>;
|
|
6749
|
+
declare const CreateClientAddressParamsSchema: z.ZodObject<{
|
|
6750
|
+
clientId: z.ZodNumber;
|
|
6751
|
+
type: z.ZodNumber;
|
|
6752
|
+
}, "strip", z.ZodTypeAny, {
|
|
6753
|
+
type: number;
|
|
6754
|
+
clientId: number;
|
|
6755
|
+
}, {
|
|
6756
|
+
type: number;
|
|
6757
|
+
clientId: number;
|
|
6758
|
+
}>;
|
|
6759
|
+
type CreateClientAddressParams = z.infer<typeof CreateClientAddressParamsSchema>;
|
|
6760
|
+
declare const UpdateClientAddressParamsSchema: z.ZodObject<{
|
|
6761
|
+
clientId: z.ZodNumber;
|
|
6762
|
+
type: z.ZodNumber;
|
|
6763
|
+
}, "strip", z.ZodTypeAny, {
|
|
6764
|
+
type: number;
|
|
6765
|
+
clientId: number;
|
|
6766
|
+
}, {
|
|
6767
|
+
type: number;
|
|
6768
|
+
clientId: number;
|
|
6769
|
+
}>;
|
|
6770
|
+
type UpdateClientAddressParams = z.infer<typeof UpdateClientAddressParamsSchema>;
|
|
6771
|
+
declare const SetClientAddressStatusParamsSchema: z.ZodObject<{
|
|
6772
|
+
clientId: z.ZodNumber;
|
|
6773
|
+
type: z.ZodNumber;
|
|
6774
|
+
}, "strip", z.ZodTypeAny, {
|
|
6775
|
+
type: number;
|
|
6776
|
+
clientId: number;
|
|
6777
|
+
}, {
|
|
6778
|
+
type: number;
|
|
6779
|
+
clientId: number;
|
|
6780
|
+
}>;
|
|
6781
|
+
type SetClientAddressStatusParams = z.infer<typeof SetClientAddressStatusParamsSchema>;
|
|
6782
|
+
declare const AddressTemplateOptionSchema: z.ZodObject<{
|
|
6783
|
+
id: z.ZodNumber;
|
|
6784
|
+
name: z.ZodString;
|
|
6785
|
+
position: z.ZodNumber;
|
|
6786
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6787
|
+
active: z.ZodBoolean;
|
|
6788
|
+
mandatory: z.ZodBoolean;
|
|
6789
|
+
systemDefined: z.ZodBoolean;
|
|
6790
|
+
parentId: z.ZodNumber;
|
|
6791
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
6792
|
+
codeName: z.ZodString;
|
|
6793
|
+
isMasked: z.ZodBoolean;
|
|
6794
|
+
}, "strip", z.ZodTypeAny, {
|
|
6795
|
+
name: string;
|
|
6796
|
+
id: number;
|
|
6797
|
+
active: boolean;
|
|
6798
|
+
codeName: string;
|
|
6799
|
+
position: number;
|
|
6800
|
+
mandatory: boolean;
|
|
6801
|
+
systemDefined: boolean;
|
|
6802
|
+
parentId: number;
|
|
6803
|
+
isMasked: boolean;
|
|
6804
|
+
identifier?: string | undefined;
|
|
6805
|
+
description?: string | undefined;
|
|
6806
|
+
}, {
|
|
6807
|
+
name: string;
|
|
6808
|
+
id: number;
|
|
6809
|
+
active: boolean;
|
|
6810
|
+
codeName: string;
|
|
6811
|
+
position: number;
|
|
6812
|
+
mandatory: boolean;
|
|
6813
|
+
systemDefined: boolean;
|
|
6814
|
+
parentId: number;
|
|
6815
|
+
isMasked: boolean;
|
|
6816
|
+
identifier?: string | undefined;
|
|
6817
|
+
description?: string | undefined;
|
|
6818
|
+
}>;
|
|
6819
|
+
declare const GetClientAddressTemplateResponseSchema: z.ZodObject<{
|
|
6820
|
+
countryIdOptions: z.ZodArray<z.ZodObject<{
|
|
6821
|
+
id: z.ZodNumber;
|
|
6822
|
+
name: z.ZodString;
|
|
6823
|
+
position: z.ZodNumber;
|
|
6824
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6825
|
+
active: z.ZodBoolean;
|
|
6826
|
+
mandatory: z.ZodBoolean;
|
|
6827
|
+
systemDefined: z.ZodBoolean;
|
|
6828
|
+
parentId: z.ZodNumber;
|
|
6829
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
6830
|
+
codeName: z.ZodString;
|
|
6831
|
+
isMasked: z.ZodBoolean;
|
|
6832
|
+
}, "strip", z.ZodTypeAny, {
|
|
6833
|
+
name: string;
|
|
6834
|
+
id: number;
|
|
6835
|
+
active: boolean;
|
|
6836
|
+
codeName: string;
|
|
6837
|
+
position: number;
|
|
6838
|
+
mandatory: boolean;
|
|
6839
|
+
systemDefined: boolean;
|
|
6840
|
+
parentId: number;
|
|
6841
|
+
isMasked: boolean;
|
|
6842
|
+
identifier?: string | undefined;
|
|
6843
|
+
description?: string | undefined;
|
|
6844
|
+
}, {
|
|
6845
|
+
name: string;
|
|
6846
|
+
id: number;
|
|
6847
|
+
active: boolean;
|
|
6848
|
+
codeName: string;
|
|
6849
|
+
position: number;
|
|
6850
|
+
mandatory: boolean;
|
|
6851
|
+
systemDefined: boolean;
|
|
6852
|
+
parentId: number;
|
|
6853
|
+
isMasked: boolean;
|
|
6854
|
+
identifier?: string | undefined;
|
|
6855
|
+
description?: string | undefined;
|
|
6856
|
+
}>, "many">;
|
|
6857
|
+
stateProvinceIdOptions: z.ZodArray<z.ZodObject<{
|
|
6858
|
+
id: z.ZodNumber;
|
|
6859
|
+
name: z.ZodString;
|
|
6860
|
+
position: z.ZodNumber;
|
|
6861
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6862
|
+
active: z.ZodBoolean;
|
|
6863
|
+
mandatory: z.ZodBoolean;
|
|
6864
|
+
systemDefined: z.ZodBoolean;
|
|
6865
|
+
parentId: z.ZodNumber;
|
|
6866
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
6867
|
+
codeName: z.ZodString;
|
|
6868
|
+
isMasked: z.ZodBoolean;
|
|
6869
|
+
}, "strip", z.ZodTypeAny, {
|
|
6870
|
+
name: string;
|
|
6871
|
+
id: number;
|
|
6872
|
+
active: boolean;
|
|
6873
|
+
codeName: string;
|
|
6874
|
+
position: number;
|
|
6875
|
+
mandatory: boolean;
|
|
6876
|
+
systemDefined: boolean;
|
|
6877
|
+
parentId: number;
|
|
6878
|
+
isMasked: boolean;
|
|
6879
|
+
identifier?: string | undefined;
|
|
6880
|
+
description?: string | undefined;
|
|
6881
|
+
}, {
|
|
6882
|
+
name: string;
|
|
6883
|
+
id: number;
|
|
6884
|
+
active: boolean;
|
|
6885
|
+
codeName: string;
|
|
6886
|
+
position: number;
|
|
6887
|
+
mandatory: boolean;
|
|
6888
|
+
systemDefined: boolean;
|
|
6889
|
+
parentId: number;
|
|
6890
|
+
isMasked: boolean;
|
|
6891
|
+
identifier?: string | undefined;
|
|
6892
|
+
description?: string | undefined;
|
|
6893
|
+
}>, "many">;
|
|
6894
|
+
addressTypeIdOptions: z.ZodArray<z.ZodObject<{
|
|
6895
|
+
id: z.ZodNumber;
|
|
6896
|
+
name: z.ZodString;
|
|
6897
|
+
position: z.ZodNumber;
|
|
6898
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6899
|
+
active: z.ZodBoolean;
|
|
6900
|
+
mandatory: z.ZodBoolean;
|
|
6901
|
+
systemDefined: z.ZodBoolean;
|
|
6902
|
+
parentId: z.ZodNumber;
|
|
6903
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
6904
|
+
codeName: z.ZodString;
|
|
6905
|
+
isMasked: z.ZodBoolean;
|
|
6906
|
+
}, "strip", z.ZodTypeAny, {
|
|
6907
|
+
name: string;
|
|
6908
|
+
id: number;
|
|
6909
|
+
active: boolean;
|
|
6910
|
+
codeName: string;
|
|
6911
|
+
position: number;
|
|
6912
|
+
mandatory: boolean;
|
|
6913
|
+
systemDefined: boolean;
|
|
6914
|
+
parentId: number;
|
|
6915
|
+
isMasked: boolean;
|
|
6916
|
+
identifier?: string | undefined;
|
|
6917
|
+
description?: string | undefined;
|
|
6918
|
+
}, {
|
|
6919
|
+
name: string;
|
|
6920
|
+
id: number;
|
|
6921
|
+
active: boolean;
|
|
6922
|
+
codeName: string;
|
|
6923
|
+
position: number;
|
|
6924
|
+
mandatory: boolean;
|
|
6925
|
+
systemDefined: boolean;
|
|
6926
|
+
parentId: number;
|
|
6927
|
+
isMasked: boolean;
|
|
6928
|
+
identifier?: string | undefined;
|
|
6929
|
+
description?: string | undefined;
|
|
6930
|
+
}>, "many">;
|
|
6931
|
+
}, "strip", z.ZodTypeAny, {
|
|
6932
|
+
countryIdOptions: {
|
|
6933
|
+
name: string;
|
|
6934
|
+
id: number;
|
|
6935
|
+
active: boolean;
|
|
6936
|
+
codeName: string;
|
|
6937
|
+
position: number;
|
|
6938
|
+
mandatory: boolean;
|
|
6939
|
+
systemDefined: boolean;
|
|
6940
|
+
parentId: number;
|
|
6941
|
+
isMasked: boolean;
|
|
6942
|
+
identifier?: string | undefined;
|
|
6943
|
+
description?: string | undefined;
|
|
6944
|
+
}[];
|
|
6945
|
+
stateProvinceIdOptions: {
|
|
6946
|
+
name: string;
|
|
6947
|
+
id: number;
|
|
6948
|
+
active: boolean;
|
|
6949
|
+
codeName: string;
|
|
6950
|
+
position: number;
|
|
6951
|
+
mandatory: boolean;
|
|
6952
|
+
systemDefined: boolean;
|
|
6953
|
+
parentId: number;
|
|
6954
|
+
isMasked: boolean;
|
|
6955
|
+
identifier?: string | undefined;
|
|
6956
|
+
description?: string | undefined;
|
|
6957
|
+
}[];
|
|
6958
|
+
addressTypeIdOptions: {
|
|
6959
|
+
name: string;
|
|
6960
|
+
id: number;
|
|
6961
|
+
active: boolean;
|
|
6962
|
+
codeName: string;
|
|
6963
|
+
position: number;
|
|
6964
|
+
mandatory: boolean;
|
|
6965
|
+
systemDefined: boolean;
|
|
6966
|
+
parentId: number;
|
|
6967
|
+
isMasked: boolean;
|
|
6968
|
+
identifier?: string | undefined;
|
|
6969
|
+
description?: string | undefined;
|
|
6970
|
+
}[];
|
|
6971
|
+
}, {
|
|
6972
|
+
countryIdOptions: {
|
|
6973
|
+
name: string;
|
|
6974
|
+
id: number;
|
|
6975
|
+
active: boolean;
|
|
6976
|
+
codeName: string;
|
|
6977
|
+
position: number;
|
|
6978
|
+
mandatory: boolean;
|
|
6979
|
+
systemDefined: boolean;
|
|
6980
|
+
parentId: number;
|
|
6981
|
+
isMasked: boolean;
|
|
6982
|
+
identifier?: string | undefined;
|
|
6983
|
+
description?: string | undefined;
|
|
6984
|
+
}[];
|
|
6985
|
+
stateProvinceIdOptions: {
|
|
6986
|
+
name: string;
|
|
6987
|
+
id: number;
|
|
6988
|
+
active: boolean;
|
|
6989
|
+
codeName: string;
|
|
6990
|
+
position: number;
|
|
6991
|
+
mandatory: boolean;
|
|
6992
|
+
systemDefined: boolean;
|
|
6993
|
+
parentId: number;
|
|
6994
|
+
isMasked: boolean;
|
|
6995
|
+
identifier?: string | undefined;
|
|
6996
|
+
description?: string | undefined;
|
|
6997
|
+
}[];
|
|
6998
|
+
addressTypeIdOptions: {
|
|
6999
|
+
name: string;
|
|
7000
|
+
id: number;
|
|
7001
|
+
active: boolean;
|
|
7002
|
+
codeName: string;
|
|
7003
|
+
position: number;
|
|
7004
|
+
mandatory: boolean;
|
|
7005
|
+
systemDefined: boolean;
|
|
7006
|
+
parentId: number;
|
|
7007
|
+
isMasked: boolean;
|
|
7008
|
+
identifier?: string | undefined;
|
|
7009
|
+
description?: string | undefined;
|
|
7010
|
+
}[];
|
|
7011
|
+
}>;
|
|
7012
|
+
type GetClientAddressTemplateResponse = z.infer<typeof GetClientAddressTemplateResponseSchema>;
|
|
7013
|
+
|
|
7014
|
+
export { ClientOrderBySchema as $, CreateClientResponseSchema as A, CreateClientResponseShape as B, type CreateClientRequest as C, type DeleteClientResponse as D, UpdateClientRequestSchema as E, UpdateClientRequestShape as F, type GetClientRequest as G, UpdateClientIdentifierRequestSchema as H, UpdateClientIdentifierRequestShape as I, UpdateClientIdentifierResponseSchema as J, UpdateClientIdentifierResponseShape as K, type ListClientsRequest as L, ErrorDetailSchema as M, ErrorDetailShape as N, ApiErrorResponseSchema as O, ApiErrorResponseShape as P, ListClientsRequestSchema as Q, ListClientsRequestShape as R, type SetClientAddressStatusParams as S, GetClientsResponseSchema as T, type UpdateClientRequest as U, type VerifyWithActivateClient as V, GetClientsResponseShape as W, ClientDataShape as X, GetClientResponseSchema as Y, GetClientResponseShape as Z, ClientFilterKeySchema as _, type GetClientResponse as a, ClientSortOrderSchema as a0, ClientStatusSchema as a1, VerifyWithActivateClientSchema as a2, VerifyWithActivateClientsResponseSchema as a3, DocumentTypeSchema as a4, IdentifierVerificationStatusSchema as a5, ClientIdentifierSchema as a6, ClientVerificationStatusSchema as a7, GetStatusOfVerifyClientResponseSchema as a8, CloseClientRequestSchema as a9, CloseClientResponseSchema as aa, GetClientRequestSchema as ab, AddressShape as ac, ClientAddressShape as ad, CreateClientAddressResponseSchema as ae, UpdateClientAddressResponseSchema as af, CreateClientAddressSchema as ag, UpdateClientAddressSchema as ah, SetClientAddressStatusRequestSchema as ai, CreateClientAddressParamsSchema as aj, UpdateClientAddressParamsSchema as ak, SetClientAddressStatusParamsSchema as al, AddressTemplateOptionSchema as am, GetClientAddressTemplateResponseSchema as an, type UpdateClientResponse as b, type CreateClientResponse as c, type GetClientsResponse as d, type VerifyWithActivateClientsResponse as e, type GetStatusOfVerifyClientResponse as f, type GetClientAddressResponse as g, type CreateClientAddressParams as h, type CreateClientAddressRequest as i, type CreateClientAddressResponse as j, type UpdateClientAddressParams as k, type UpdateClientAddressRequest as l, type UpdateClientAddressResponse as m, type SetClientAddressStatusRequest as n, type GetClientAddressTemplateResponse as o, type CreateCreditProductRequest as p, type GetCreditProductsResponse as q, type UpdateCreditProductRequest as r, CreateCreditProductRequestSchema as s, CreateCreditProductResponseSchema as t, GetCreditProductResponseSchema as u, GetCreditProductsResponseSchema as v, UpdateCreditProductRequestSchema as w, UpdateCreditProductResponseSchema as x, CreateClientRequestSchema as y, CreateClientRequestShape as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbanq/core-sdk-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "A comprehensive JavaScript SDK for interacting with the Mbanq payment API. Features type-safe payment operations, multi-tenant support, and Zod validation.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|