@mbanq/core-sdk-js 0.1.1 → 0.2.1
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-MNWURBTP.mjs +1 -0
- package/dist/chunk-S3G3HESY.js +1 -0
- package/dist/chunk-SQZ4PAOL.mjs +1 -0
- package/dist/chunk-UD2TOWHP.js +1 -0
- package/dist/chunk-VHSZ6TM7.mjs +1 -0
- package/dist/chunk-YSKKRBQD.js +1 -0
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/client-DhU5QMWd.d.mts +2143 -0
- package/dist/client-DhU5QMWd.d.ts +2143 -0
- package/dist/commands/index.d.mts +3 -3
- package/dist/commands/index.d.ts +3 -3
- package/dist/commands/index.js +1 -1
- package/dist/commands/index.mjs +1 -1
- package/dist/{index-DvE2ddFU.d.mts → index-BC3pkS--.d.mts} +1470 -1400
- package/dist/index-BHzajnME.d.mts +92 -0
- package/dist/index-CQe-0gwX.d.ts +92 -0
- package/dist/{index-vaBvDmsq.d.ts → index-UyJmi0Vg.d.ts} +1470 -1400
- package/dist/index.d.mts +16 -15
- package/dist/index.d.ts +16 -15
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5NRQMAHH.mjs +0 -1
- package/dist/chunk-5PEETHWV.mjs +0 -1
- package/dist/chunk-BDI3SHA2.js +0 -1
- package/dist/chunk-OGW7GTJP.js +0 -1
- package/dist/chunk-RA5GVN3G.js +0 -1
- package/dist/chunk-RX3BFHHX.mjs +0 -1
- package/dist/config.d-CyK6ZM6s.d.mts +0 -53
- package/dist/config.d-CyK6ZM6s.d.ts +0 -53
- package/dist/index-5Sj83ZJ4.d.mts +0 -209
- package/dist/index-DXK5OdKW.d.ts +0 -209
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { C as Command, U as UpdateClientRequest, P as ProcessOutput, c as UpdateClientIdentifierRequest, i as UpdateClientIdentifierResponse, b as CreateClientRequest, j as CreateClientResponse, L as ListClientsRequest, k as ListClientsResponse, l as GraphQLRequest } from './client-DhU5QMWd.mjs';
|
|
2
|
+
|
|
3
|
+
interface SimpleCard {
|
|
4
|
+
internalCardId: string,
|
|
5
|
+
cardType?: string,
|
|
6
|
+
tenantIdentifier?: string,
|
|
7
|
+
status?: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface AuthorizationRequest {
|
|
11
|
+
card: SimpleCard,
|
|
12
|
+
payload: any,
|
|
13
|
+
tenantId?: string,
|
|
14
|
+
skipNotification?: boolean,
|
|
15
|
+
flag?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface CardUpdate {
|
|
19
|
+
clientId: number,
|
|
20
|
+
businessCardIDURL: string,
|
|
21
|
+
businessCardIDQRCode: string
|
|
22
|
+
tenantId?: string
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const SendAuthorizationToCore: (params: AuthorizationRequest) => Command<AuthorizationRequest, any>;
|
|
26
|
+
declare const UpdateCardID: (params: CardUpdate) => Command<CardUpdate, void>;
|
|
27
|
+
|
|
28
|
+
declare const GetClient: (params: {
|
|
29
|
+
clientId: number;
|
|
30
|
+
tenantId?: string;
|
|
31
|
+
riskRating?: boolean;
|
|
32
|
+
clientAddress?: boolean;
|
|
33
|
+
clientIdentifier?: boolean;
|
|
34
|
+
staffInSelectedOfficeOnly?: boolean;
|
|
35
|
+
checkIdentitiesExpiration?: boolean;
|
|
36
|
+
clientAccountAssociate?: boolean;
|
|
37
|
+
}) => Command<{
|
|
38
|
+
clientId: number;
|
|
39
|
+
tenantId?: string;
|
|
40
|
+
riskRating?: boolean;
|
|
41
|
+
clientAddress?: boolean;
|
|
42
|
+
clientIdentifier?: boolean;
|
|
43
|
+
staffInSelectedOfficeOnly?: boolean;
|
|
44
|
+
checkIdentitiesExpiration?: boolean;
|
|
45
|
+
clientAccountAssociate?: boolean;
|
|
46
|
+
}, any>;
|
|
47
|
+
declare const UpdateClient: (params: {
|
|
48
|
+
tenantId?: string;
|
|
49
|
+
clientId: number;
|
|
50
|
+
updates: UpdateClientRequest;
|
|
51
|
+
}) => Command<{
|
|
52
|
+
tenantId?: string;
|
|
53
|
+
clientId: number;
|
|
54
|
+
updates: UpdateClientRequest;
|
|
55
|
+
}, ProcessOutput>;
|
|
56
|
+
declare const UpdateClientIdentifier: (params: {
|
|
57
|
+
tenantId?: string;
|
|
58
|
+
clientId: number;
|
|
59
|
+
identifierId: string;
|
|
60
|
+
updates: UpdateClientIdentifierRequest;
|
|
61
|
+
}) => Command<{
|
|
62
|
+
tenantId?: string;
|
|
63
|
+
clientId: number;
|
|
64
|
+
identifierId: string;
|
|
65
|
+
updates: UpdateClientIdentifierRequest;
|
|
66
|
+
}, UpdateClientIdentifierResponse>;
|
|
67
|
+
declare const CreateClient: (params: {
|
|
68
|
+
tenantId?: string;
|
|
69
|
+
clientData: CreateClientRequest;
|
|
70
|
+
}) => Command<{
|
|
71
|
+
tenantId?: string;
|
|
72
|
+
clientData: CreateClientRequest;
|
|
73
|
+
}, CreateClientResponse>;
|
|
74
|
+
declare const GetClients: (params: ListClientsRequest, configuration: {
|
|
75
|
+
tenantId?: string;
|
|
76
|
+
}) => Command<{
|
|
77
|
+
params: ListClientsRequest;
|
|
78
|
+
configuration: {
|
|
79
|
+
tenantId?: string;
|
|
80
|
+
};
|
|
81
|
+
}, ListClientsResponse>;
|
|
82
|
+
declare const DeleteClient: (params: {
|
|
83
|
+
clientId: number;
|
|
84
|
+
tenantId?: string;
|
|
85
|
+
}) => Command<{
|
|
86
|
+
clientId: number;
|
|
87
|
+
tenantId?: string;
|
|
88
|
+
}, ProcessOutput>;
|
|
89
|
+
|
|
90
|
+
declare const GraphQL: (request: GraphQLRequest) => Command<GraphQLRequest, any>;
|
|
91
|
+
|
|
92
|
+
export { CreateClient as C, DeleteClient as D, GetClient as G, SendAuthorizationToCore as S, UpdateCardID as U, UpdateClient as a, UpdateClientIdentifier as b, GetClients as c, GraphQL as d };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { C as Command, U as UpdateClientRequest, P as ProcessOutput, c as UpdateClientIdentifierRequest, i as UpdateClientIdentifierResponse, b as CreateClientRequest, j as CreateClientResponse, L as ListClientsRequest, k as ListClientsResponse, l as GraphQLRequest } from './client-DhU5QMWd.js';
|
|
2
|
+
|
|
3
|
+
interface SimpleCard {
|
|
4
|
+
internalCardId: string,
|
|
5
|
+
cardType?: string,
|
|
6
|
+
tenantIdentifier?: string,
|
|
7
|
+
status?: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface AuthorizationRequest {
|
|
11
|
+
card: SimpleCard,
|
|
12
|
+
payload: any,
|
|
13
|
+
tenantId?: string,
|
|
14
|
+
skipNotification?: boolean,
|
|
15
|
+
flag?: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface CardUpdate {
|
|
19
|
+
clientId: number,
|
|
20
|
+
businessCardIDURL: string,
|
|
21
|
+
businessCardIDQRCode: string
|
|
22
|
+
tenantId?: string
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const SendAuthorizationToCore: (params: AuthorizationRequest) => Command<AuthorizationRequest, any>;
|
|
26
|
+
declare const UpdateCardID: (params: CardUpdate) => Command<CardUpdate, void>;
|
|
27
|
+
|
|
28
|
+
declare const GetClient: (params: {
|
|
29
|
+
clientId: number;
|
|
30
|
+
tenantId?: string;
|
|
31
|
+
riskRating?: boolean;
|
|
32
|
+
clientAddress?: boolean;
|
|
33
|
+
clientIdentifier?: boolean;
|
|
34
|
+
staffInSelectedOfficeOnly?: boolean;
|
|
35
|
+
checkIdentitiesExpiration?: boolean;
|
|
36
|
+
clientAccountAssociate?: boolean;
|
|
37
|
+
}) => Command<{
|
|
38
|
+
clientId: number;
|
|
39
|
+
tenantId?: string;
|
|
40
|
+
riskRating?: boolean;
|
|
41
|
+
clientAddress?: boolean;
|
|
42
|
+
clientIdentifier?: boolean;
|
|
43
|
+
staffInSelectedOfficeOnly?: boolean;
|
|
44
|
+
checkIdentitiesExpiration?: boolean;
|
|
45
|
+
clientAccountAssociate?: boolean;
|
|
46
|
+
}, any>;
|
|
47
|
+
declare const UpdateClient: (params: {
|
|
48
|
+
tenantId?: string;
|
|
49
|
+
clientId: number;
|
|
50
|
+
updates: UpdateClientRequest;
|
|
51
|
+
}) => Command<{
|
|
52
|
+
tenantId?: string;
|
|
53
|
+
clientId: number;
|
|
54
|
+
updates: UpdateClientRequest;
|
|
55
|
+
}, ProcessOutput>;
|
|
56
|
+
declare const UpdateClientIdentifier: (params: {
|
|
57
|
+
tenantId?: string;
|
|
58
|
+
clientId: number;
|
|
59
|
+
identifierId: string;
|
|
60
|
+
updates: UpdateClientIdentifierRequest;
|
|
61
|
+
}) => Command<{
|
|
62
|
+
tenantId?: string;
|
|
63
|
+
clientId: number;
|
|
64
|
+
identifierId: string;
|
|
65
|
+
updates: UpdateClientIdentifierRequest;
|
|
66
|
+
}, UpdateClientIdentifierResponse>;
|
|
67
|
+
declare const CreateClient: (params: {
|
|
68
|
+
tenantId?: string;
|
|
69
|
+
clientData: CreateClientRequest;
|
|
70
|
+
}) => Command<{
|
|
71
|
+
tenantId?: string;
|
|
72
|
+
clientData: CreateClientRequest;
|
|
73
|
+
}, CreateClientResponse>;
|
|
74
|
+
declare const GetClients: (params: ListClientsRequest, configuration: {
|
|
75
|
+
tenantId?: string;
|
|
76
|
+
}) => Command<{
|
|
77
|
+
params: ListClientsRequest;
|
|
78
|
+
configuration: {
|
|
79
|
+
tenantId?: string;
|
|
80
|
+
};
|
|
81
|
+
}, ListClientsResponse>;
|
|
82
|
+
declare const DeleteClient: (params: {
|
|
83
|
+
clientId: number;
|
|
84
|
+
tenantId?: string;
|
|
85
|
+
}) => Command<{
|
|
86
|
+
clientId: number;
|
|
87
|
+
tenantId?: string;
|
|
88
|
+
}, ProcessOutput>;
|
|
89
|
+
|
|
90
|
+
declare const GraphQL: (request: GraphQLRequest) => Command<GraphQLRequest, any>;
|
|
91
|
+
|
|
92
|
+
export { CreateClient as C, DeleteClient as D, GetClient as G, SendAuthorizationToCore as S, UpdateCardID as U, UpdateClient as a, UpdateClientIdentifier as b, GetClients as c, GraphQL as d };
|