@corsa-labs/sdk 3.13.1 → 3.14.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/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/models/AlertSourceDto.d.ts +1 -0
- package/dist/models/AlertSourceDto.js +1 -0
- package/dist/models/AlertSourceDto.js.map +1 -1
- package/dist/models/CreateIndividualClientDto.d.ts +5 -0
- package/dist/models/CreateIndividualClientDto.js.map +1 -1
- package/dist/models/CreateTransactionDto.d.ts +5 -0
- package/dist/models/IndividualClientDto.d.ts +5 -0
- package/dist/models/IndividualClientDto.js.map +1 -1
- package/dist/models/IndividualClientIntegrationsDto.d.ts +6 -0
- package/dist/models/IndividualClientIntegrationsDto.js +3 -0
- package/dist/models/IndividualClientIntegrationsDto.js.map +1 -0
- package/dist/models/TransactionDto.d.ts +5 -0
- package/dist/models/TransactionDto.js.map +1 -1
- package/dist/models/TransactionIntegrationsDto.d.ts +6 -0
- package/dist/models/TransactionIntegrationsDto.js +3 -0
- package/dist/models/TransactionIntegrationsDto.js.map +1 -0
- package/dist/models/UpdateIndividualClientDto.d.ts +5 -0
- package/dist/models/UpdateIndividualClientDto.js.map +1 -1
- package/dist/services/ClientsService.d.ts +2 -1
- package/dist/services/ClientsService.js +5 -1
- package/dist/services/ClientsService.js.map +1 -1
- package/dist/services/TransactionsService.d.ts +8 -0
- package/dist/services/TransactionsService.js +18 -0
- package/dist/services/TransactionsService.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export { IndividualClientCustomFieldDataDto } from './models/IndividualClientCus
|
|
|
58
58
|
export { IndividualClientDto } from './models/IndividualClientDto';
|
|
59
59
|
export type { IndividualClientFinancialInformationDto } from './models/IndividualClientFinancialInformationDto';
|
|
60
60
|
export { IndividualClientGeneralInformationDto } from './models/IndividualClientGeneralInformationDto';
|
|
61
|
+
export type { IndividualClientIntegrationsDto } from './models/IndividualClientIntegrationsDto';
|
|
61
62
|
export type { IndividualClientWorkInformationDto } from './models/IndividualClientWorkInformationDto';
|
|
62
63
|
export { IndividualMemberDto } from './models/IndividualMemberDto';
|
|
63
64
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
@@ -69,6 +70,7 @@ export { TradeOperationDto } from './models/TradeOperationDto';
|
|
|
69
70
|
export type { TransactionAmountDto } from './models/TransactionAmountDto';
|
|
70
71
|
export type { TransactionCustomFieldDto } from './models/TransactionCustomFieldDto';
|
|
71
72
|
export { TransactionDto } from './models/TransactionDto';
|
|
73
|
+
export type { TransactionIntegrationsDto } from './models/TransactionIntegrationsDto';
|
|
72
74
|
export type { TransactionSourceOrDestinationClientDto } from './models/TransactionSourceOrDestinationClientDto';
|
|
73
75
|
export type { TransactionSourceOrDestinationDto } from './models/TransactionSourceOrDestinationDto';
|
|
74
76
|
export { TransactionStatusDto } from './models/TransactionStatusDto';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AAEzB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAOhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AACvB,4DAA2D;AAAlD,kHAAA,eAAe,OAAA;AAUxB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAEhB,0DAAyD;AAAhD,gHAAA,cAAc,OAAA;AAGvB,wDAAuD;AAA9C,8G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AAA;AACjC,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;AACjC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAGlC,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,gFAA+E;AAAtE,oIAAA,wBAAwB,OAAA;AACjC,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
|
|
@@ -9,6 +9,7 @@ var AlertSourceDto;
|
|
|
9
9
|
let alertSource;
|
|
10
10
|
(function (alertSource) {
|
|
11
11
|
alertSource["CHAINALYSIS"] = "CHAINALYSIS";
|
|
12
|
+
alertSource["SARDINE"] = "SARDINE";
|
|
12
13
|
alertSource["MANUAL"] = "MANUAL";
|
|
13
14
|
alertSource["API"] = "API";
|
|
14
15
|
})(alertSource = AlertSourceDto.alertSource || (AlertSourceDto.alertSource = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,
|
|
1
|
+
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,CAU9B;AAVD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,WAKX;IALD,WAAY,WAAW;QACnB,0CAA2B,CAAA;QAC3B,kCAAmB,CAAA;QACnB,gCAAiB,CAAA;QACjB,0BAAW,CAAA;IACf,CAAC,EALW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAKtB;AACL,CAAC,EAVgB,cAAc,8BAAd,cAAc,QAU9B"}
|
|
@@ -6,6 +6,7 @@ import type { IndividualClientContactInformationDto } from './IndividualClientCo
|
|
|
6
6
|
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
7
7
|
import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
|
|
8
8
|
import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
|
|
9
|
+
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
9
10
|
import type { IndividualClientWorkInformationDto } from './IndividualClientWorkInformationDto';
|
|
10
11
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
11
12
|
import type { SanctionsDto } from './SanctionsDto';
|
|
@@ -74,6 +75,10 @@ export type CreateIndividualClientDto = {
|
|
|
74
75
|
* Work information of the individual client
|
|
75
76
|
*/
|
|
76
77
|
work?: IndividualClientWorkInformationDto;
|
|
78
|
+
/**
|
|
79
|
+
* Integrations
|
|
80
|
+
*/
|
|
81
|
+
integrations?: IndividualClientIntegrationsDto;
|
|
77
82
|
};
|
|
78
83
|
export declare namespace CreateIndividualClientDto {
|
|
79
84
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AAsFA,IAAiB,yBAAyB,CAqBzC;AArBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QASxB;AACL,CAAC,EArBgB,yBAAyB,yCAAzB,yBAAyB,QAqBzC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CreateTransactionSourceOrDestinationClientDto } from './CreateTransactionSourceOrDestinationClientDto';
|
|
2
2
|
import type { TransactionAmountDto } from './TransactionAmountDto';
|
|
3
3
|
import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
|
|
4
|
+
import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
|
|
4
5
|
import type { TransactionStatusDto } from './TransactionStatusDto';
|
|
5
6
|
export type CreateTransactionDto = {
|
|
6
7
|
/**
|
|
@@ -47,4 +48,8 @@ export type CreateTransactionDto = {
|
|
|
47
48
|
* Custom fields data for the client
|
|
48
49
|
*/
|
|
49
50
|
customFields?: Record<string, TransactionCustomFieldDto>;
|
|
51
|
+
/**
|
|
52
|
+
* Integrations data for the transaction
|
|
53
|
+
*/
|
|
54
|
+
integrations?: TransactionIntegrationsDto;
|
|
50
55
|
};
|
|
@@ -6,6 +6,7 @@ import type { IndividualClientContactInformationDto } from './IndividualClientCo
|
|
|
6
6
|
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
7
7
|
import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
|
|
8
8
|
import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
|
|
9
|
+
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
9
10
|
import type { IndividualClientWorkInformationDto } from './IndividualClientWorkInformationDto';
|
|
10
11
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
11
12
|
import type { SanctionsDto } from './SanctionsDto';
|
|
@@ -102,6 +103,10 @@ export type IndividualClientDto = {
|
|
|
102
103
|
* Work-related information
|
|
103
104
|
*/
|
|
104
105
|
work?: IndividualClientWorkInformationDto;
|
|
106
|
+
/**
|
|
107
|
+
* Integrations
|
|
108
|
+
*/
|
|
109
|
+
integrations?: IndividualClientIntegrationsDto;
|
|
105
110
|
};
|
|
106
111
|
export declare namespace IndividualClientDto {
|
|
107
112
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAkHA,IAAiB,mBAAmB,CAqBnC;AArBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QASxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAGzB;AACL,CAAC,EArBgB,mBAAmB,mCAAnB,mBAAmB,QAqBnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndividualClientIntegrationsDto.js","sourceRoot":"","sources":["../../models/IndividualClientIntegrationsDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TransactionAmountDto } from './TransactionAmountDto';
|
|
2
|
+
import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
|
|
2
3
|
import type { TransactionSourceOrDestinationDto } from './TransactionSourceOrDestinationDto';
|
|
3
4
|
import type { TransactionStatusDto } from './TransactionStatusDto';
|
|
4
5
|
export type TransactionDto = {
|
|
@@ -62,6 +63,10 @@ export type TransactionDto = {
|
|
|
62
63
|
* Blockchain transaction hash
|
|
63
64
|
*/
|
|
64
65
|
txHash?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Integrations data for the transaction
|
|
68
|
+
*/
|
|
69
|
+
integrations?: TransactionIntegrationsDto;
|
|
65
70
|
};
|
|
66
71
|
export declare namespace TransactionDto {
|
|
67
72
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;AA0EA,IAAiB,cAAc,CAgB9B;AAhBD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,IAIX;IAJD,WAAY,IAAI;QACZ,2BAAmB,CAAA;QACnB,6BAAqB,CAAA;QACrB,uBAAe,CAAA;IACnB,CAAC,EAJW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAIf;IACD;;OAEG;IACH,IAAY,WAGX;IAHD,WAAY,WAAW;QACnB,0BAAW,CAAA;QACX,4BAAa,CAAA;IACjB,CAAC,EAHW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAGtB;AACL,CAAC,EAhBgB,cAAc,8BAAd,cAAc,QAgB9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionIntegrationsDto.js","sourceRoot":"","sources":["../../models/TransactionIntegrationsDto.ts"],"names":[],"mappings":""}
|
|
@@ -6,6 +6,7 @@ import type { IndividualClientContactInformationDto } from './IndividualClientCo
|
|
|
6
6
|
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
7
7
|
import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
|
|
8
8
|
import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
|
|
9
|
+
import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
|
|
9
10
|
import type { IndividualClientWorkInformationDto } from './IndividualClientWorkInformationDto';
|
|
10
11
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
11
12
|
import type { SanctionsDto } from './SanctionsDto';
|
|
@@ -82,6 +83,10 @@ export type UpdateIndividualClientDto = {
|
|
|
82
83
|
* Onboarding risk assessment of the individual client
|
|
83
84
|
*/
|
|
84
85
|
onboardingRisk?: CreateOrUpdateRiskDto;
|
|
86
|
+
/**
|
|
87
|
+
* Integrations
|
|
88
|
+
*/
|
|
89
|
+
integrations?: IndividualClientIntegrationsDto;
|
|
85
90
|
};
|
|
86
91
|
export declare namespace UpdateIndividualClientDto {
|
|
87
92
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AA8FA,IAAiB,yBAAyB,CAqBzC;AArBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aASX;IATD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;IACzC,CAAC,EATW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QASxB;AACL,CAAC,EArBgB,yBAAyB,yCAAzB,yBAAyB,QAqBzC"}
|
|
@@ -49,8 +49,9 @@ export declare class ClientsService {
|
|
|
49
49
|
/**
|
|
50
50
|
* Get an individual client by ID
|
|
51
51
|
* @param clientId
|
|
52
|
+
* @param integrationId Integration type to filter by (SARDINE or CHAINALYSIS) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
52
53
|
* @returns IndividualClientDto
|
|
53
54
|
* @throws ApiError
|
|
54
55
|
*/
|
|
55
|
-
getIndividualClient(clientId: string): CancelablePromise<IndividualClientDto>;
|
|
56
|
+
getIndividualClient(clientId: string, integrationId?: 'SARDINE' | 'CHAINALYSIS'): CancelablePromise<IndividualClientDto>;
|
|
56
57
|
}
|
|
@@ -88,16 +88,20 @@ class ClientsService {
|
|
|
88
88
|
/**
|
|
89
89
|
* Get an individual client by ID
|
|
90
90
|
* @param clientId
|
|
91
|
+
* @param integrationId Integration type to filter by (SARDINE or CHAINALYSIS) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
91
92
|
* @returns IndividualClientDto
|
|
92
93
|
* @throws ApiError
|
|
93
94
|
*/
|
|
94
|
-
getIndividualClient(clientId) {
|
|
95
|
+
getIndividualClient(clientId, integrationId) {
|
|
95
96
|
return this.httpRequest.request({
|
|
96
97
|
method: 'GET',
|
|
97
98
|
url: '/v1/clients/individuals/{clientId}',
|
|
98
99
|
path: {
|
|
99
100
|
'clientId': clientId,
|
|
100
101
|
},
|
|
102
|
+
query: {
|
|
103
|
+
'integrationId': integrationId,
|
|
104
|
+
},
|
|
101
105
|
});
|
|
102
106
|
}
|
|
103
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,qBAAqB,CACxB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,QAAgB,EAChB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,kBAAkB,CACrB,QAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,sBAAsB,CACzB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yBAAyB;YAC9B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,sBAAsB,CACzB,QAAgB,EAChB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD
|
|
1
|
+
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,qBAAqB,CACxB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,QAAgB,EAChB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,kBAAkB,CACrB,QAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,sBAAsB,CACzB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yBAAyB;YAC9B,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,sBAAsB,CACzB,QAAgB,EAChB,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,mBAAmB,CACtB,QAAgB,EAChB,aAAyC;QAEzC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,KAAK,EAAE;gBACH,eAAe,EAAE,aAAa;aACjC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAnHD,wCAmHC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TransactionDto } from '../models/TransactionDto';
|
|
1
2
|
import type { TransactionStatusDto } from '../models/TransactionStatusDto';
|
|
2
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
4
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
@@ -11,4 +12,11 @@ export declare class TransactionsService {
|
|
|
11
12
|
* @throws ApiError
|
|
12
13
|
*/
|
|
13
14
|
transactionsControllerUpdateTransactionStatus(id: string, requestBody: TransactionStatusDto): CancelablePromise<any>;
|
|
15
|
+
/**
|
|
16
|
+
* @param id
|
|
17
|
+
* @param integrationId
|
|
18
|
+
* @returns TransactionDto
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
transactionsControllerGetTransactionById(id: string, integrationId: string): CancelablePromise<TransactionDto>;
|
|
14
22
|
}
|
|
@@ -23,6 +23,24 @@ class TransactionsService {
|
|
|
23
23
|
mediaType: 'application/json',
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* @param id
|
|
28
|
+
* @param integrationId
|
|
29
|
+
* @returns TransactionDto
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
transactionsControllerGetTransactionById(id, integrationId) {
|
|
33
|
+
return this.httpRequest.request({
|
|
34
|
+
method: 'GET',
|
|
35
|
+
url: '/v1/transactions/{id}',
|
|
36
|
+
path: {
|
|
37
|
+
'id': id,
|
|
38
|
+
},
|
|
39
|
+
query: {
|
|
40
|
+
'integrationId': integrationId,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
}
|
|
26
44
|
}
|
|
27
45
|
exports.TransactionsService = TransactionsService;
|
|
28
46
|
//# sourceMappingURL=TransactionsService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsService.js","sourceRoot":"","sources":["../../services/TransactionsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionsService.js","sourceRoot":"","sources":["../../services/TransactionsService.ts"],"names":[],"mappings":";;;AAQA,MAAa,mBAAmB;IACA;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,6CAA6C,CAChD,EAAU,EACV,WAAiC;QAEjC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oCAAoC;YACzC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,wCAAwC,CAC3C,EAAU,EACV,aAAqB;QAErB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uBAAuB;YAC5B,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,eAAe,EAAE,aAAa;aACjC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA3CD,kDA2CC"}
|