@corsa-labs/sdk 3.24.0 → 3.26.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 +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/models/AlertCustomFieldDataDto.d.ts +2 -2
- package/dist/models/ChecklistResponseDto.d.ts +56 -0
- package/dist/models/ChecklistResponseDto.js +24 -0
- package/dist/models/ChecklistResponseDto.js.map +1 -0
- package/dist/models/CorporateClientCustomFieldDataDto.d.ts +2 -2
- package/dist/models/IndividualClientCustomFieldDataDto.d.ts +2 -2
- package/dist/models/TransactionCustomFieldDto.d.ts +2 -2
- package/dist/services/BlockchainWalletsService.d.ts +3 -2
- package/dist/services/BlockchainWalletsService.js +6 -2
- package/dist/services/BlockchainWalletsService.js.map +1 -1
- package/dist/services/ChecklistsService.d.ts +9 -0
- package/dist/services/ChecklistsService.js +20 -0
- package/dist/services/ChecklistsService.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export { CaseDto } from './models/CaseDto';
|
|
|
24
24
|
export type { CaseInvestigationData } from './models/CaseInvestigationData';
|
|
25
25
|
export { CaseStatusData } from './models/CaseStatusData';
|
|
26
26
|
export { ChecklistItemResponseDto } from './models/ChecklistItemResponseDto';
|
|
27
|
+
export { ChecklistResponseDto } from './models/ChecklistResponseDto';
|
|
27
28
|
export { ChecklistTemplateItemResponseDto } from './models/ChecklistTemplateItemResponseDto';
|
|
28
29
|
export { ChecklistTemplateResponseDto } from './models/ChecklistTemplateResponseDto';
|
|
29
30
|
export type { ClientAssociatedToAccountDto } from './models/ClientAssociatedToAccountDto';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.PlatformService = exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.ChecklistsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = void 0;
|
|
3
|
+
exports.UpdateChecklistItemDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateBlockchainWalletDto = exports.UpdateBankAccountDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionDto = exports.TradeOperationDto = exports.RiskDto = exports.OperationStatusUpdateDto = exports.OperationStatusDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IdentityDocumentDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateChecklistTemplateItemDto = exports.CreateChecklistTemplateDto = exports.CreateCaseDto = exports.CreateBlockchainWalletDto = exports.CreateBankAccountDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.ChecklistTemplateResponseDto = exports.ChecklistTemplateItemResponseDto = exports.ChecklistResponseDto = exports.ChecklistItemResponseDto = exports.CaseStatusData = exports.CaseDto = exports.BlockchainWalletDto = exports.BankAccountDto = exports.AlertStatusData = exports.AlertSourceDto = exports.AlertDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = void 0;
|
|
4
|
+
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.PlatformService = exports.MembersService = exports.HealthService = exports.DepositsService = exports.ClientsService = exports.ChecklistsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AlertsService = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateChecklistTemplateItemDto = void 0;
|
|
5
5
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
6
6
|
/* istanbul ignore file */
|
|
7
7
|
/* tslint:disable */
|
|
@@ -33,6 +33,8 @@ var CaseStatusData_1 = require("./models/CaseStatusData");
|
|
|
33
33
|
Object.defineProperty(exports, "CaseStatusData", { enumerable: true, get: function () { return CaseStatusData_1.CaseStatusData; } });
|
|
34
34
|
var ChecklistItemResponseDto_1 = require("./models/ChecklistItemResponseDto");
|
|
35
35
|
Object.defineProperty(exports, "ChecklistItemResponseDto", { enumerable: true, get: function () { return ChecklistItemResponseDto_1.ChecklistItemResponseDto; } });
|
|
36
|
+
var ChecklistResponseDto_1 = require("./models/ChecklistResponseDto");
|
|
37
|
+
Object.defineProperty(exports, "ChecklistResponseDto", { enumerable: true, get: function () { return ChecklistResponseDto_1.ChecklistResponseDto; } });
|
|
36
38
|
var ChecklistTemplateItemResponseDto_1 = require("./models/ChecklistTemplateItemResponseDto");
|
|
37
39
|
Object.defineProperty(exports, "ChecklistTemplateItemResponseDto", { enumerable: true, get: function () { return ChecklistTemplateItemResponseDto_1.ChecklistTemplateItemResponseDto; } });
|
|
38
40
|
var ChecklistTemplateResponseDto_1 = require("./models/ChecklistTemplateResponseDto");
|
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,i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AEtB,oEAAmE;AAA1D,0HAAA,mBAAmB,OAAA;AAC5B,0EAAyE;AAAhE,gIAAA,sBAAsB,OAAA;AAE/B,0FAAyF;AAAhF,gJAAA,8BAA8B,OAAA;AACvC,8EAA6E;AAApE,oIAAA,wBAAwB,OAAA;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,kEAAiE;AAAxD,sHAAA,iBAAiB,OAAA;AAC1B,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"}
|
|
@@ -4,9 +4,9 @@ export type AlertCustomFieldDataDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
/**
|
|
7
|
-
* Value of the custom field. It can be a string, number, boolean. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
8
|
*/
|
|
9
|
-
value: (string | number | boolean);
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
10
|
/**
|
|
11
11
|
* Description of the custom field
|
|
12
12
|
*/
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ChecklistItemResponseDto } from './ChecklistItemResponseDto';
|
|
2
|
+
export type ChecklistResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for the checklist
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the entity this checklist belongs to
|
|
9
|
+
*/
|
|
10
|
+
entityId: string;
|
|
11
|
+
/**
|
|
12
|
+
* Type of entity this checklist is for
|
|
13
|
+
*/
|
|
14
|
+
entityType: ChecklistResponseDto.entityType;
|
|
15
|
+
/**
|
|
16
|
+
* Name of the checklist
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Description of the checklist
|
|
21
|
+
*/
|
|
22
|
+
description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Current status of the checklist
|
|
25
|
+
*/
|
|
26
|
+
status: ChecklistResponseDto.status;
|
|
27
|
+
/**
|
|
28
|
+
* List of checklist items
|
|
29
|
+
*/
|
|
30
|
+
items: Array<ChecklistItemResponseDto>;
|
|
31
|
+
/**
|
|
32
|
+
* When the checklist was created
|
|
33
|
+
*/
|
|
34
|
+
createdAt: string;
|
|
35
|
+
/**
|
|
36
|
+
* When the checklist was last updated
|
|
37
|
+
*/
|
|
38
|
+
updatedAt: string;
|
|
39
|
+
};
|
|
40
|
+
export declare namespace ChecklistResponseDto {
|
|
41
|
+
/**
|
|
42
|
+
* Type of entity this checklist is for
|
|
43
|
+
*/
|
|
44
|
+
enum entityType {
|
|
45
|
+
INDIVIDUAL_CLIENT = "INDIVIDUAL_CLIENT",
|
|
46
|
+
CORPORATE_CLIENT = "CORPORATE_CLIENT"
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Current status of the checklist
|
|
50
|
+
*/
|
|
51
|
+
enum status {
|
|
52
|
+
ACTIVE = "ACTIVE",
|
|
53
|
+
ARCHIVED = "ARCHIVED",
|
|
54
|
+
COMPLETED = "COMPLETED"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChecklistResponseDto = void 0;
|
|
4
|
+
var ChecklistResponseDto;
|
|
5
|
+
(function (ChecklistResponseDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Type of entity this checklist is for
|
|
8
|
+
*/
|
|
9
|
+
let entityType;
|
|
10
|
+
(function (entityType) {
|
|
11
|
+
entityType["INDIVIDUAL_CLIENT"] = "INDIVIDUAL_CLIENT";
|
|
12
|
+
entityType["CORPORATE_CLIENT"] = "CORPORATE_CLIENT";
|
|
13
|
+
})(entityType = ChecklistResponseDto.entityType || (ChecklistResponseDto.entityType = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Current status of the checklist
|
|
16
|
+
*/
|
|
17
|
+
let status;
|
|
18
|
+
(function (status) {
|
|
19
|
+
status["ACTIVE"] = "ACTIVE";
|
|
20
|
+
status["ARCHIVED"] = "ARCHIVED";
|
|
21
|
+
status["COMPLETED"] = "COMPLETED";
|
|
22
|
+
})(status = ChecklistResponseDto.status || (ChecklistResponseDto.status = {}));
|
|
23
|
+
})(ChecklistResponseDto || (exports.ChecklistResponseDto = ChecklistResponseDto = {}));
|
|
24
|
+
//# sourceMappingURL=ChecklistResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChecklistResponseDto.js","sourceRoot":"","sources":["../../models/ChecklistResponseDto.ts"],"names":[],"mappings":";;;AA2CA,IAAiB,oBAAoB,CAgBpC;AAhBD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,UAGX;IAHD,WAAY,UAAU;QAClB,qDAAuC,CAAA;QACvC,mDAAqC,CAAA;IACzC,CAAC,EAHW,UAAU,GAAV,+BAAU,KAAV,+BAAU,QAGrB;IACD;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,iCAAuB,CAAA;IAC3B,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EAhBgB,oBAAoB,oCAApB,oBAAoB,QAgBpC"}
|
|
@@ -4,9 +4,9 @@ export type CorporateClientCustomFieldDataDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
/**
|
|
7
|
-
* Value of the custom field. It can be a string, number, boolean. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
8
|
*/
|
|
9
|
-
value: (string | number | boolean);
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
10
|
/**
|
|
11
11
|
* Description of the custom field
|
|
12
12
|
*/
|
|
@@ -4,9 +4,9 @@ export type IndividualClientCustomFieldDataDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
/**
|
|
7
|
-
* Value of the custom field. It can be a string, number, boolean. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
8
|
*/
|
|
9
|
-
value: (string | number | boolean);
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
10
|
/**
|
|
11
11
|
* Description of the custom field
|
|
12
12
|
*/
|
|
@@ -4,9 +4,9 @@ export type TransactionCustomFieldDto = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
/**
|
|
7
|
-
* Value of the custom field. It can be a string, number, boolean. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
7
|
+
* Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
|
|
8
8
|
*/
|
|
9
|
-
value: (string | number | boolean);
|
|
9
|
+
value: (string | number | boolean | Record<string, any>);
|
|
10
10
|
/**
|
|
11
11
|
* Description of the custom field
|
|
12
12
|
*/
|
|
@@ -8,12 +8,13 @@ export declare class BlockchainWalletsService {
|
|
|
8
8
|
readonly httpRequest: BaseHttpRequest;
|
|
9
9
|
constructor(httpRequest: BaseHttpRequest);
|
|
10
10
|
/**
|
|
11
|
-
* Create a new blockchain wallet
|
|
11
|
+
* Create a new blockchain wallet. If upsert is true, update existing wallet if found by referenceId or address
|
|
12
12
|
* @param requestBody
|
|
13
|
+
* @param upsert If true, update existing blockchain wallet instead of creating if wallet already exists
|
|
13
14
|
* @returns BlockchainWalletDto
|
|
14
15
|
* @throws ApiError
|
|
15
16
|
*/
|
|
16
|
-
createBlockchainWallet(requestBody: CreateBlockchainWalletDto): CancelablePromise<BlockchainWalletDto>;
|
|
17
|
+
createBlockchainWallet(requestBody: CreateBlockchainWalletDto, upsert?: boolean): CancelablePromise<BlockchainWalletDto>;
|
|
17
18
|
/**
|
|
18
19
|
* Get a blockchain wallet by ID or reference ID
|
|
19
20
|
* @param blockchainWalletId
|
|
@@ -7,15 +7,19 @@ class BlockchainWalletsService {
|
|
|
7
7
|
this.httpRequest = httpRequest;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Create a new blockchain wallet
|
|
10
|
+
* Create a new blockchain wallet. If upsert is true, update existing wallet if found by referenceId or address
|
|
11
11
|
* @param requestBody
|
|
12
|
+
* @param upsert If true, update existing blockchain wallet instead of creating if wallet already exists
|
|
12
13
|
* @returns BlockchainWalletDto
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
createBlockchainWallet(requestBody) {
|
|
16
|
+
createBlockchainWallet(requestBody, upsert) {
|
|
16
17
|
return this.httpRequest.request({
|
|
17
18
|
method: 'POST',
|
|
18
19
|
url: '/v1/blockchain-wallets',
|
|
20
|
+
query: {
|
|
21
|
+
'upsert': upsert,
|
|
22
|
+
},
|
|
19
23
|
body: requestBody,
|
|
20
24
|
mediaType: 'application/json',
|
|
21
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockchainWalletsService.js","sourceRoot":"","sources":["../../services/BlockchainWalletsService.ts"],"names":[],"mappings":";;;AAUA,MAAa,wBAAwB;IACL;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D
|
|
1
|
+
{"version":3,"file":"BlockchainWalletsService.js","sourceRoot":"","sources":["../../services/BlockchainWalletsService.ts"],"names":[],"mappings":";;;AAUA,MAAa,wBAAwB;IACL;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,sBAAsB,CACzB,WAAsC,EACtC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,mBAAmB,CACtB,kBAA0B;QAE1B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6CAA6C;YAClD,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,sBAAsB,CACzB,kBAA0B,EAC1B,WAAsC;QAEtC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6CAA6C;YAClD,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oCAAoC,CACvC,kBAA0B,EAC1B,WAAmD;QAEnD,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,qDAAqD;YAC1D,IAAI,EAAE;gBACF,oBAAoB,EAAE,kBAAkB;aAC3C;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAlFD,4DAkFC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ChecklistItemResponseDto } from '../models/ChecklistItemResponseDto';
|
|
2
|
+
import type { ChecklistResponseDto } from '../models/ChecklistResponseDto';
|
|
2
3
|
import type { ChecklistTemplateItemResponseDto } from '../models/ChecklistTemplateItemResponseDto';
|
|
3
4
|
import type { ChecklistTemplateResponseDto } from '../models/ChecklistTemplateResponseDto';
|
|
4
5
|
import type { CreateChecklistTemplateDto } from '../models/CreateChecklistTemplateDto';
|
|
@@ -80,6 +81,14 @@ export declare class ChecklistsService {
|
|
|
80
81
|
* @throws ApiError
|
|
81
82
|
*/
|
|
82
83
|
checklistsControllerUpdateChecklistItem(checklistId: string, itemId: string, requestBody: UpdateChecklistItemDto): CancelablePromise<ChecklistItemResponseDto>;
|
|
84
|
+
/**
|
|
85
|
+
* Get checklist for an entity
|
|
86
|
+
* Retrieve the checklist for a specific entity with all its items, without pagination
|
|
87
|
+
* @param entityId ID of the entity to get the checklist for
|
|
88
|
+
* @returns ChecklistResponseDto Checklist retrieved successfully
|
|
89
|
+
* @throws ApiError
|
|
90
|
+
*/
|
|
91
|
+
getChecklistByEntity(entityId: string): CancelablePromise<ChecklistResponseDto>;
|
|
83
92
|
/**
|
|
84
93
|
* Health check for checklist service
|
|
85
94
|
* @returns any Service is healthy
|
|
@@ -196,6 +196,26 @@ class ChecklistsService {
|
|
|
196
196
|
},
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Get checklist for an entity
|
|
201
|
+
* Retrieve the checklist for a specific entity with all its items, without pagination
|
|
202
|
+
* @param entityId ID of the entity to get the checklist for
|
|
203
|
+
* @returns ChecklistResponseDto Checklist retrieved successfully
|
|
204
|
+
* @throws ApiError
|
|
205
|
+
*/
|
|
206
|
+
getChecklistByEntity(entityId) {
|
|
207
|
+
return this.httpRequest.request({
|
|
208
|
+
method: 'GET',
|
|
209
|
+
url: '/v1/checklist/entity',
|
|
210
|
+
query: {
|
|
211
|
+
'entityId': entityId,
|
|
212
|
+
},
|
|
213
|
+
errors: {
|
|
214
|
+
400: `Bad request - missing entityId`,
|
|
215
|
+
500: `Internal server error`,
|
|
216
|
+
},
|
|
217
|
+
});
|
|
218
|
+
}
|
|
199
219
|
/**
|
|
200
220
|
* Health check for checklist service
|
|
201
221
|
* @returns any Service is healthy
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChecklistsService.js","sourceRoot":"","sources":["../../services/ChecklistsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ChecklistsService.js","sourceRoot":"","sources":["../../services/ChecklistsService.ts"],"names":[],"mappings":";;;AAeA,MAAa,iBAAiB;IACE;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;OAKG;IACI,2CAA2C,CAC9C,WAAuC;QAEvC,OAAO,IAAI,CAAC,WAAW,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