@corsa-labs/sdk 3.9.0 → 3.9.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.
@@ -1,4 +1,4 @@
1
- import { CreateIndividualClientResponseDto as IndividualClientDto } from "../models/CreateIndividualClientResponseDto";
1
+ import { IndividualClientDto } from "../models/IndividualClientDto";
2
2
  import { CorporateClientDto } from "../models/CorporateClientDto";
3
3
  import { AlertDto } from "../models/AlertDto";
4
4
  export declare enum WebhookEventType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -1,60 +0,0 @@
1
- import type { ClientRiskDto } from './ClientRiskDto';
2
- import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
3
- export type CreateIndividualClientResponseDto = {
4
- /**
5
- * Unique identifier of the client
6
- */
7
- id: string;
8
- /**
9
- * External reference ID for the individual client
10
- */
11
- referenceId?: string;
12
- /**
13
- * Created at timestamp of the individual client
14
- */
15
- createdAt?: string;
16
- /**
17
- * Updated at timestamp of the individual client
18
- */
19
- updatedAt?: string;
20
- /**
21
- * Current activity status of the individual client
22
- */
23
- activityStatus?: CreateIndividualClientResponseDto.activityStatus;
24
- /**
25
- * Current account status of the individual client
26
- */
27
- accountStatus?: CreateIndividualClientResponseDto.accountStatus;
28
- /**
29
- * Custom fields data for the individual client
30
- */
31
- customFields?: Record<string, IndividualClientCustomFieldDataDto>;
32
- /**
33
- * Current risk assessment of the individual client
34
- */
35
- currentRisk?: ClientRiskDto;
36
- /**
37
- * Risk history of the individual client
38
- */
39
- riskHistory?: Array<ClientRiskDto>;
40
- };
41
- export declare namespace CreateIndividualClientResponseDto {
42
- /**
43
- * Current activity status of the individual client
44
- */
45
- enum activityStatus {
46
- ACTIVE = "ACTIVE",
47
- NOT_ACTIVE = "NOT_ACTIVE"
48
- }
49
- /**
50
- * Current account status of the individual client
51
- */
52
- enum accountStatus {
53
- APPROVED = "APPROVED",
54
- WAITING_FOR_REVIEW = "WAITING_FOR_REVIEW",
55
- IN_REVIEW = "IN_REVIEW",
56
- REJECTED = "REJECTED",
57
- OFF_BOARDED = "OFF_BOARDED",
58
- FROZEN = "FROZEN"
59
- }
60
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateIndividualClientResponseDto = void 0;
4
- var CreateIndividualClientResponseDto;
5
- (function (CreateIndividualClientResponseDto) {
6
- /**
7
- * Current activity status of the individual client
8
- */
9
- let activityStatus;
10
- (function (activityStatus) {
11
- activityStatus["ACTIVE"] = "ACTIVE";
12
- activityStatus["NOT_ACTIVE"] = "NOT_ACTIVE";
13
- })(activityStatus = CreateIndividualClientResponseDto.activityStatus || (CreateIndividualClientResponseDto.activityStatus = {}));
14
- /**
15
- * Current account status of the individual client
16
- */
17
- let accountStatus;
18
- (function (accountStatus) {
19
- accountStatus["APPROVED"] = "APPROVED";
20
- accountStatus["WAITING_FOR_REVIEW"] = "WAITING_FOR_REVIEW";
21
- accountStatus["IN_REVIEW"] = "IN_REVIEW";
22
- accountStatus["REJECTED"] = "REJECTED";
23
- accountStatus["OFF_BOARDED"] = "OFF_BOARDED";
24
- accountStatus["FROZEN"] = "FROZEN";
25
- })(accountStatus = CreateIndividualClientResponseDto.accountStatus || (CreateIndividualClientResponseDto.accountStatus = {}));
26
- })(CreateIndividualClientResponseDto || (exports.CreateIndividualClientResponseDto = CreateIndividualClientResponseDto = {}));
27
- //# sourceMappingURL=CreateIndividualClientResponseDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateIndividualClientResponseDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientResponseDto.ts"],"names":[],"mappings":";;;AA4CA,IAAiB,iCAAiC,CAmBjD;AAnBD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,gDAAc,KAAd,gDAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAOX;IAPD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;IACrB,CAAC,EAPW,aAAa,GAAb,+CAAa,KAAb,+CAAa,QAOxB;AACL,CAAC,EAnBgB,iCAAiC,iDAAjC,iCAAiC,QAmBjD"}