@owneraio/finp2p-sdk-js 0.16.27 → 0.16.29

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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/lib/OwneraAPI/custody-api/index.js +3 -3
  3. package/lib/OwneraAPI/finp2p-node-api/certificates.js +2 -2
  4. package/lib/OwneraAPI/finp2p-node-api/documents.js +3 -3
  5. package/lib/OwneraAPI/finp2p-node-api/messages.js +2 -2
  6. package/lib/OwneraAPI/finp2p-node-api/operations.js +5 -5
  7. package/lib/OwneraAPI/finp2p-node-api/organizations.js +2 -2
  8. package/lib/OwneraAPI/finp2p-node-api/payments.js +2 -2
  9. package/lib/OwneraAPI/finp2p-node-api/profiles.js +8 -8
  10. package/lib/OwneraAPI/finp2p-node-api/tokens.js +5 -5
  11. package/lib/OwneraAPI/ledger-api/index.js +4 -4
  12. package/lib/core/asset.d.ts +2 -2
  13. package/lib/core/asset.js +15 -15
  14. package/lib/core/certificate.d.ts +8 -8
  15. package/lib/core/certificate.js +14 -14
  16. package/lib/core/index.d.ts +5 -5
  17. package/lib/core/index.js +5 -5
  18. package/lib/core/intent.d.ts +5 -5
  19. package/lib/core/intent.js +7 -7
  20. package/lib/core/logger.d.ts +1 -1
  21. package/lib/core/logger.js +5 -5
  22. package/lib/core/organization.d.ts +1 -1
  23. package/lib/core/organization.js +6 -6
  24. package/lib/core/payments.d.ts +2 -2
  25. package/lib/core/payments.js +2 -2
  26. package/lib/core/signatures.d.ts +5 -5
  27. package/lib/core/signatures.js +5 -5
  28. package/lib/core/user.d.ts +3 -3
  29. package/lib/core/user.js +20 -20
  30. package/lib/core/utils.d.ts +4 -4
  31. package/lib/core/utils.js +4 -4
  32. package/lib/types/Certificates/Certificates.d.ts +5 -2
  33. package/lib/types/Core/Asset.d.ts +11 -8
  34. package/lib/types/Core/Certificates.d.ts +13 -10
  35. package/lib/types/Core/Intents.d.ts +5 -2
  36. package/lib/types/Core/Logger.d.ts +7 -4
  37. package/lib/types/Core/Organization.d.ts +8 -5
  38. package/lib/types/Core/SignatureProvider.d.ts +4 -1
  39. package/lib/types/Core/User.d.ts +20 -17
  40. package/lib/types/Core/index.d.ts +11 -8
  41. package/lib/types/CustodyAdapter/index.d.ts +6 -3
  42. package/lib/types/Documents/Documents.d.ts +6 -3
  43. package/lib/types/Escrow/index.d.ts +7 -4
  44. package/lib/types/Messages/Messages.d.ts +5 -2
  45. package/lib/types/Operations/Operations.d.ts +8 -5
  46. package/lib/types/Organizations/Organizations.d.ts +5 -2
  47. package/lib/types/Oss/Oss.d.ts +34 -24
  48. package/lib/types/Payments/Payments.d.ts +5 -2
  49. package/lib/types/Profiles/Profiles.d.ts +11 -8
  50. package/lib/types/RegulationVerifiers/RegulationVerifiers.d.ts +4 -1
  51. package/lib/types/Tokens/Tokens.d.ts +8 -5
  52. package/package.json +2 -2
package/README.md CHANGED
@@ -163,7 +163,7 @@ Usage example:
163
163
  const asset = await assetInterface.getData();
164
164
  ```
165
165
 
166
- #### [Get User](./classes/sdk.md#getuser)
166
+ #### [Get User]()
167
167
  Returns Promise with [UserInterface](./interfaces/userinterface.md)
168
168
 
169
169
  Usage example:
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const utils_1 = require("../utils");
13
13
  const index = (connector, logger) => ({
14
14
  /**
15
- * @description Create new account
15
+ * Create new account
16
16
  *
17
17
  * @param request
18
18
  *
@@ -26,7 +26,7 @@ const index = (connector, logger) => ({
26
26
  return (0, utils_1.custodyPost)('/accounts', request, connector, logger);
27
27
  }),
28
28
  /**
29
- * @description Create signature
29
+ * Create signature
30
30
  *
31
31
  * @param request
32
32
  *
@@ -37,7 +37,7 @@ const index = (connector, logger) => ({
37
37
  return (0, utils_1.custodyPost)('/signatures', request, connector, logger);
38
38
  }),
39
39
  /**
40
- * @description Get signature
40
+ * Get signature
41
41
  *
42
42
  * @param r
43
43
  *
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const certificates = (connector, logger) => ({
5
5
  /**
6
- * @description Create certificate
6
+ * Create certificate
7
7
  *
8
8
  * @param request
9
9
  * @param options
@@ -21,7 +21,7 @@ const certificates = (connector, logger) => ({
21
21
  }, connector, logger, options);
22
22
  },
23
23
  /**
24
- * @description Update certificate
24
+ * Update certificate
25
25
  *
26
26
  * @param request
27
27
  * @param options
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const documents = (connector, logger) => ({
5
5
  /**
6
- * @description Create Document
6
+ * Create Document
7
7
  *
8
8
  * @param request
9
9
  * @param options
@@ -16,7 +16,7 @@ const documents = (connector, logger) => ({
16
16
  return (0, utils_1.docPost)(`/profiles/${profileId}/certificates/${certificateId}/docs`, files, connector, logger, options);
17
17
  },
18
18
  /**
19
- * @description Get Document
19
+ * Get Document
20
20
  *
21
21
  * @param request
22
22
  *
@@ -27,7 +27,7 @@ const documents = (connector, logger) => ({
27
27
  return (0, utils_1.docGetFile)(`/docs/${request.uri}`, connector, logger);
28
28
  },
29
29
  /**
30
- * @description Update Document
30
+ * Update Document
31
31
  *
32
32
  * @param request
33
33
  * @param options
@@ -7,7 +7,7 @@ const utils_1 = require("../utils");
7
7
  const form_data_1 = __importDefault(require("form-data"));
8
8
  const messages = (connector, logger) => ({
9
9
  /**
10
- * @description Send message
10
+ * Send message
11
11
  *
12
12
  * @param request
13
13
  * @param options
@@ -44,7 +44,7 @@ const messages = (connector, logger) => ({
44
44
  return (0, utils_1.apiPost)('/messages/send', formData, connector, logger, Object.assign(Object.assign({}, options), { multipart: true }));
45
45
  },
46
46
  /**
47
- * @description Get attachment
47
+ * Get attachment
48
48
  *
49
49
  * @param request
50
50
  *
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const operations = (connector, logger) => ({
5
5
  /**
6
- * @description Get execution operation status
6
+ * Get execution operation status
7
7
  *
8
8
  * @param request
9
9
  *
@@ -14,7 +14,7 @@ const operations = (connector, logger) => ({
14
14
  return (0, utils_1.apiGet)(`/operations/status/${request.cid}`, connector, logger);
15
15
  },
16
16
  /**
17
- * @description Get profile operation status
17
+ * Get profile operation status
18
18
  *
19
19
  * @param request
20
20
  *
@@ -25,7 +25,7 @@ const operations = (connector, logger) => ({
25
25
  return (0, utils_1.apiGet)(`/operations/status/${request.cid}`, connector, logger);
26
26
  },
27
27
  /**
28
- * @description Get deposit operation status
28
+ * Get deposit operation status
29
29
  *
30
30
  * @param request
31
31
  *
@@ -36,7 +36,7 @@ const operations = (connector, logger) => ({
36
36
  return (0, utils_1.apiGet)(`/operations/status/${request.cid}`, connector, logger);
37
37
  },
38
38
  /**
39
- * @description Get withdraw operation status
39
+ * Get withdraw operation status
40
40
  *
41
41
  * @param request
42
42
  *
@@ -47,7 +47,7 @@ const operations = (connector, logger) => ({
47
47
  return (0, utils_1.apiGet)(`/operations/status/${request.cid}`, connector, logger);
48
48
  },
49
49
  /**
50
- * @description Wait operation completion
50
+ * Wait operation completion
51
51
  *
52
52
  * @param request
53
53
  *
@@ -12,14 +12,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const utils_1 = require("../utils");
13
13
  const organizations = (nodeMSP, client, logger) => ({
14
14
  /**
15
- * @description Get current organization Id
15
+ * Get current organization Id
16
16
  *
17
17
  * @returns
18
18
  *
19
19
  */
20
20
  getOrganizationId: () => __awaiter(void 0, void 0, void 0, function* () { return nodeMSP.toLowerCase().replace('msp', ''); }),
21
21
  /**
22
- * @description Get organizations
22
+ * Get organizations
23
23
  *
24
24
  * @returns
25
25
  *
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const payments = (connector, logger) => ({
5
5
  /**
6
- * @description Deposit money
6
+ * Deposit money
7
7
  *
8
8
  * @param request
9
9
  * @param options
@@ -13,7 +13,7 @@ const payments = (connector, logger) => ({
13
13
  */
14
14
  deposit: (request, options) => (0, utils_1.apiPost)(`/payments/deposit`, request, connector, logger, options),
15
15
  /**
16
- * @description Withdraw money
16
+ * Withdraw money
17
17
  *
18
18
  * @param request
19
19
  * @param options
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const profiles = (connector, logger) => ({
5
5
  /**
6
- * @description Create asset
6
+ * Create asset
7
7
  *
8
8
  * @param request
9
9
  * @param options
@@ -15,7 +15,7 @@ const profiles = (connector, logger) => ({
15
15
  return (0, utils_1.apiPost)('/profiles/asset', request, connector, logger, options);
16
16
  },
17
17
  /**
18
- * @description Create user
18
+ * Create user
19
19
  *
20
20
  * @param request
21
21
  * @param options
@@ -27,7 +27,7 @@ const profiles = (connector, logger) => ({
27
27
  return (0, utils_1.apiPost)('/profiles/owner', request, connector, logger, options);
28
28
  },
29
29
  /**
30
- * @description Update asset
30
+ * Update asset
31
31
  *
32
32
  * @param request
33
33
  * @param options
@@ -43,7 +43,7 @@ const profiles = (connector, logger) => ({
43
43
  }, connector, logger, options);
44
44
  },
45
45
  /**
46
- * @description Share profile
46
+ * Share profile
47
47
  *
48
48
  * @param request
49
49
  * @param options
@@ -56,7 +56,7 @@ const profiles = (connector, logger) => ({
56
56
  return (0, utils_1.apiPost)(`/profiles/${profileId}/share`, { organizations }, connector, logger, options);
57
57
  },
58
58
  /**
59
- * @description Create intent
59
+ * Create intent
60
60
  *
61
61
  * @param r
62
62
  * @param options
@@ -77,7 +77,7 @@ const profiles = (connector, logger) => ({
77
77
  return (0, utils_1.apiPost)(`/profiles/asset/${assetId}/intent`, req, connector, logger, options);
78
78
  },
79
79
  /**
80
- * @description Update intent
80
+ * Update intent
81
81
  *
82
82
  * @param r
83
83
  * @param options
@@ -100,7 +100,7 @@ const profiles = (connector, logger) => ({
100
100
  return (0, utils_1.apiPatch)(`/profiles/asset/${assetId}/intent/${intentId}`, req, connector, logger, options);
101
101
  },
102
102
  /**
103
- * @description Enable Intent
103
+ * Enable Intent
104
104
  *
105
105
  * @param r
106
106
  * @param options
@@ -113,7 +113,7 @@ const profiles = (connector, logger) => ({
113
113
  return (0, utils_1.apiPut)(`/profiles/asset/${assetId}/intent/${intentId}/enable`, {}, connector, logger, options);
114
114
  },
115
115
  /**
116
- * @description Disable Intent
116
+ * Disable Intent
117
117
  *
118
118
  * @param r
119
119
  * @param options
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const utils_1 = require("../utils");
4
4
  const tokens = (connector, logger) => ({
5
5
  /**
6
- * @description No intent transfer
6
+ * No intent transfer
7
7
  *
8
8
  * @param request
9
9
  * @param options
@@ -15,7 +15,7 @@ const tokens = (connector, logger) => ({
15
15
  return (0, utils_1.apiPut)(`/tokens/transfer`, request, connector, logger, options);
16
16
  },
17
17
  /**
18
- * @description Redeem
18
+ * Redeem
19
19
  *
20
20
  * @param request
21
21
  *
@@ -26,7 +26,7 @@ const tokens = (connector, logger) => ({
26
26
  return (0, utils_1.apiPut)(`/tokens/redeem`, request, connector, logger, {});
27
27
  },
28
28
  /**
29
- * @description Balance
29
+ * Balance
30
30
  *
31
31
  * @param request
32
32
  *
@@ -37,7 +37,7 @@ const tokens = (connector, logger) => ({
37
37
  return (0, utils_1.apiPost)(`/tokens/balance`, request, connector, logger, {});
38
38
  },
39
39
  /**
40
- * @description Signature result
40
+ * Signature result
41
41
  *
42
42
  * @param request
43
43
  *
@@ -48,7 +48,7 @@ const tokens = (connector, logger) => ({
48
48
  return (0, utils_1.apiPost)(`/tokens/signature-result`, request, connector, logger, {});
49
49
  },
50
50
  /**
51
- * @description Execute Token Intent
51
+ * Execute Token Intent
52
52
  *
53
53
  * @param request
54
54
  * @param options
@@ -79,7 +79,7 @@ const escrowPost = (connector, url, data) => new Promise((resolve, reject) => {
79
79
  const createConnection = (baseURL) => axios_1.default.create({ baseURL, headers: utils_1.headers });
80
80
  const index = {
81
81
  /**
82
- * @description Update account balance
82
+ * Update account balance
83
83
  *
84
84
  * @param request
85
85
  *
@@ -101,7 +101,7 @@ const index = {
101
101
  return escrowPost(connector, url, data);
102
102
  }),
103
103
  /**
104
- * @description Get exchange rates
104
+ * Get exchange rates
105
105
  *
106
106
  * @param request
107
107
  *
@@ -113,7 +113,7 @@ const index = {
113
113
  return escrowGet(connector, `/exchange-rate/${request.pairs}`);
114
114
  }),
115
115
  /**
116
- * @description Get payouts
116
+ * Get payouts
117
117
  *
118
118
  * @param request
119
119
  *
@@ -128,7 +128,7 @@ const index = {
128
128
  return escrowGet(connector, url);
129
129
  }),
130
130
  /**
131
- * @description Update payout
131
+ * Update payout
132
132
  *
133
133
  * @param request
134
134
  *
@@ -2,7 +2,7 @@ import { Logger, CoreRequestOptions } from '../types';
2
2
  import { AssetInterface, CreateAssetRequest } from '../types/Core/Asset';
3
3
  import { OwneraAPIInterface } from '../types/Core/OwneraAPI';
4
4
  /**
5
- * @description Get {@link AssetInterface} by asset Id
5
+ * Get {@link AssetInterface} by asset Id
6
6
  *
7
7
  * @param req
8
8
  *
@@ -15,7 +15,7 @@ export declare const getAsset: (req: {
15
15
  assetId: string;
16
16
  }) => AssetInterface;
17
17
  /**
18
- * @description Create a new asset
18
+ * Create a new asset
19
19
  *
20
20
  * @param req
21
21
  * @param options
package/lib/core/asset.js CHANGED
@@ -15,7 +15,7 @@ const intent_1 = require("./intent");
15
15
  const validators_1 = require("../validators");
16
16
  const utils_1 = require("./utils");
17
17
  /**
18
- * @description Get {@link AssetInterface} by asset Id
18
+ * Get {@link AssetInterface} by asset Id
19
19
  *
20
20
  * @param req
21
21
  *
@@ -27,7 +27,7 @@ const getAsset = (req) => {
27
27
  return {
28
28
  id: assetId,
29
29
  /**
30
- * @description Create a primary sale intent for the selected asset.
30
+ * Create a primary sale intent for the selected asset.
31
31
  *
32
32
  * @param data
33
33
  * @param options
@@ -37,7 +37,7 @@ const getAsset = (req) => {
37
37
  */
38
38
  createPrimarySale: (data, options) => __awaiter(void 0, void 0, void 0, function* () { return yield createPrimarySale({ owneraAPI, logger, assetId, data }, options); }),
39
39
  /**
40
- * @description Get a primary sale intent for the selected asset.
40
+ * Get a primary sale intent for the selected asset.
41
41
  *
42
42
  * @param intentId
43
43
  *
@@ -46,7 +46,7 @@ const getAsset = (req) => {
46
46
  */
47
47
  getPrimarySale: (intentId) => (0, intent_1.getIntent)({ owneraAPI, logger, assetId, intentId }),
48
48
  /**
49
- * @description Create a certificate for the selected asset.
49
+ * Create a certificate for the selected asset.
50
50
  *
51
51
  * @param data
52
52
  *
@@ -55,7 +55,7 @@ const getAsset = (req) => {
55
55
  */
56
56
  createCertificate: (data) => __awaiter(void 0, void 0, void 0, function* () { return yield (0, certificate_1.createCertificate)({ owneraAPI, logger, profileId: assetId, data }); }),
57
57
  /**
58
- * @description Get a certificate for the selected asset.
58
+ * Get a certificate for the selected asset.
59
59
  *
60
60
  * @param certificateId
61
61
  *
@@ -64,28 +64,28 @@ const getAsset = (req) => {
64
64
  */
65
65
  getCertificate: (certificateId) => (0, certificate_1.getCertificate)({ owneraAPI, logger, profileId: assetId, certificateId }),
66
66
  /**
67
- * @description Get asset data.
67
+ * Get asset data.
68
68
  *
69
69
  * @returns
70
70
  *
71
71
  */
72
72
  getData: () => __awaiter(void 0, void 0, void 0, function* () { return yield getData({ owneraAPI, logger, assetId }); }),
73
73
  /**
74
- * @description Get cap table for the asset.
74
+ * Get cap table for the asset.
75
75
  *
76
76
  * @returns
77
77
  *
78
78
  */
79
79
  getCapTable: () => __awaiter(void 0, void 0, void 0, function* () { return yield getCapTable({ owneraAPI, logger, assetId }); }),
80
80
  /**
81
- * @description Get receipts for the asset.
81
+ * Get receipts for the asset.
82
82
  *
83
83
  * @returns
84
84
  *
85
85
  */
86
86
  getReceipts: () => __awaiter(void 0, void 0, void 0, function* () { return yield getAssetReceipts({ owneraAPI, logger, assetId }); }),
87
87
  /**
88
- * @description Share the asset with another organizations.
88
+ * Share the asset with another organizations.
89
89
  *
90
90
  * @param organizations
91
91
  * @param options
@@ -99,7 +99,7 @@ const getAsset = (req) => {
99
99
  };
100
100
  exports.getAsset = getAsset;
101
101
  /**
102
- * @description Create a new asset
102
+ * Create a new asset
103
103
  *
104
104
  * @param req
105
105
  * @param options
@@ -177,7 +177,7 @@ const createAsset = (req, options) => __awaiter(void 0, void 0, void 0, function
177
177
  });
178
178
  exports.createAsset = createAsset;
179
179
  /**
180
- * @description Create primary sale for the asset
180
+ * Create primary sale for the asset
181
181
  *
182
182
  * @param r
183
183
  * @param options
@@ -232,7 +232,7 @@ const createPrimarySale = (r, options) => __awaiter(void 0, void 0, void 0, func
232
232
  return (0, intent_1.getIntent)({ owneraAPI, logger, assetId, intentId: primarySale.id });
233
233
  });
234
234
  /**
235
- * @description Get asset data
235
+ * Get asset data
236
236
  *
237
237
  * @param r
238
238
  *
@@ -241,7 +241,7 @@ const createPrimarySale = (r, options) => __awaiter(void 0, void 0, void 0, func
241
241
  */
242
242
  const getData = (r) => __awaiter(void 0, void 0, void 0, function* () { return (yield r.owneraAPI.query.getAssets({ filter: { assetIds: [r.assetId] } })).data[0]; });
243
243
  /**
244
- * @description Get cap table for the asset
244
+ * Get cap table for the asset
245
245
  *
246
246
  * @param r
247
247
  *
@@ -250,7 +250,7 @@ const getData = (r) => __awaiter(void 0, void 0, void 0, function* () { return (
250
250
  */
251
251
  const getCapTable = (r) => __awaiter(void 0, void 0, void 0, function* () { return yield r.owneraAPI.query.getCapTable({ assetId: r.assetId }); });
252
252
  /**
253
- * @description Share the asset with another organizations
253
+ * Share the asset with another organizations
254
254
  *
255
255
  * @param r
256
256
  *
@@ -264,7 +264,7 @@ const share = (r, options) => __awaiter(void 0, void 0, void 0, function* () {
264
264
  });
265
265
  });
266
266
  /**
267
- * @description Get receipts for the asset
267
+ * Get receipts for the asset
268
268
  *
269
269
  * @param r
270
270
  *
@@ -4,7 +4,7 @@ import { OwneraAPIInterface } from '../types/Core/OwneraAPI';
4
4
  import { Logger } from '../types';
5
5
  import { RequestOptions } from '../types/Commons';
6
6
  /**
7
- * @description Get {@link CertificateInterface} by certificate Id
7
+ * Get {@link CertificateInterface} by certificate Id
8
8
  *
9
9
  * @param req
10
10
  *
@@ -18,7 +18,7 @@ export declare const getCertificate: (req: {
18
18
  certificateId: string;
19
19
  }) => CertificateInterface;
20
20
  /**
21
- * @description Create new certificate
21
+ * Create new certificate
22
22
  *
23
23
  * @param req
24
24
  *
@@ -32,13 +32,13 @@ export declare const createCertificate: (req: {
32
32
  data: Omit<CertificateRequest, 'subjectId'>;
33
33
  }, options?: RequestOptions) => Promise<CertificateInterface>;
34
34
  /**
35
- * @description A set of functions to create a payload (Certificate Request) for different kind of certificates
35
+ * A set of functions to create a payload (Certificate Request) for different kind of certificates
36
36
  *
37
37
  * @returns
38
38
  */
39
39
  export declare const certificateUtils: {
40
40
  /**
41
- * @description A util to prepare a payload to create a KYA certificate
41
+ * A util to prepare a payload to create a KYA certificate
42
42
  *
43
43
  * @param r
44
44
  * @returns
@@ -46,7 +46,7 @@ export declare const certificateUtils: {
46
46
  */
47
47
  createKyaRequest: (r: KyaRequest) => Omit<CertificateRequest, 'subjectId'>;
48
48
  /**
49
- * @description A util to prepare a payload to create a KYC certificate
49
+ * A util to prepare a payload to create a KYC certificate
50
50
  *
51
51
  * @param r
52
52
  * @returns
@@ -54,7 +54,7 @@ export declare const certificateUtils: {
54
54
  */
55
55
  createKycRequest: (r: UserStandardCertificateRequest) => Omit<CertificateRequest, 'subjectId'>;
56
56
  /**
57
- * @description A util to prepare a payload to create a Accreditation certificate
57
+ * A util to prepare a payload to create a Accreditation certificate
58
58
  *
59
59
  * @param r
60
60
  * @returns
@@ -62,7 +62,7 @@ export declare const certificateUtils: {
62
62
  */
63
63
  createAccreditationRequest: (r: UserStandardCertificateRequest) => Omit<CertificateRequest, 'subjectId'>;
64
64
  /**
65
- * @description A util to prepare a payload to create an Owner Info certificate
65
+ * A util to prepare a payload to create an Owner Info certificate
66
66
  *
67
67
  * @param r
68
68
  * @returns
@@ -70,7 +70,7 @@ export declare const certificateUtils: {
70
70
  */
71
71
  createOwnerInfoRequest: (r: OwnerInfoRequest) => Omit<CertificateRequest, 'subjectId'>;
72
72
  /**
73
- * @description A util to prepare a payload to create an NAV certificate
73
+ * A util to prepare a payload to create an NAV certificate
74
74
  *
75
75
  * @param r
76
76
  * @returns
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.certificateUtils = exports.createCertificate = exports.getCertificate = void 0;
13
13
  /**
14
- * @description Get {@link CertificateInterface} by certificate Id
14
+ * Get {@link CertificateInterface} by certificate Id
15
15
  *
16
16
  * @param req
17
17
  *
@@ -23,14 +23,14 @@ const getCertificate = (req) => {
23
23
  return {
24
24
  id: certificateId,
25
25
  /**
26
- * @description Get certificate data
26
+ * Get certificate data
27
27
  *
28
28
  * @returns
29
29
  *
30
30
  */
31
31
  getData: () => __awaiter(void 0, void 0, void 0, function* () { return yield getCertificateData({ owneraAPI, logger, profileId, certificateId }); }),
32
32
  /**
33
- * @description Update certificate data
33
+ * Update certificate data
34
34
  *
35
35
  * @param r
36
36
  * @param options
@@ -49,7 +49,7 @@ const getCertificate = (req) => {
49
49
  }, options);
50
50
  }),
51
51
  /**
52
- * @description Update certificate data
52
+ * Update certificate data
53
53
  *
54
54
  * @param docs
55
55
  * @param options
@@ -67,7 +67,7 @@ const getCertificate = (req) => {
67
67
  }, options);
68
68
  }),
69
69
  /**
70
- * @description Update certificate document by Id
70
+ * Update certificate document by Id
71
71
  *
72
72
  * @param r
73
73
  * @param options
@@ -89,7 +89,7 @@ const getCertificate = (req) => {
89
89
  };
90
90
  exports.getCertificate = getCertificate;
91
91
  /**
92
- * @description Create new certificate
92
+ * Create new certificate
93
93
  *
94
94
  * @param req
95
95
  *
@@ -115,7 +115,7 @@ const updateCertificate = (r, options) => __awaiter(void 0, void 0, void 0, func
115
115
  }, options);
116
116
  });
117
117
  /**
118
- * @description Add documents to the certificates
118
+ * Add documents to the certificates
119
119
  *
120
120
  * @param r
121
121
  * @param options
@@ -131,7 +131,7 @@ const addDocuments = (r, options) => __awaiter(void 0, void 0, void 0, function*
131
131
  }, options);
132
132
  });
133
133
  /**
134
- * @description Update document by Id
134
+ * Update document by Id
135
135
  *
136
136
  * @param r
137
137
  * @param options
@@ -149,13 +149,13 @@ const updateDocument = (r, options) => __awaiter(void 0, void 0, void 0, functio
149
149
  });
150
150
  const randomId = () => Math.random().toString(36).substring(2).toUpperCase();
151
151
  /**
152
- * @description A set of functions to create a payload (Certificate Request) for different kind of certificates
152
+ * A set of functions to create a payload (Certificate Request) for different kind of certificates
153
153
  *
154
154
  * @returns
155
155
  */
156
156
  exports.certificateUtils = {
157
157
  /**
158
- * @description A util to prepare a payload to create a KYA certificate
158
+ * A util to prepare a payload to create a KYA certificate
159
159
  *
160
160
  * @param r
161
161
  * @returns
@@ -179,7 +179,7 @@ exports.certificateUtils = {
179
179
  };
180
180
  },
181
181
  /**
182
- * @description A util to prepare a payload to create a KYC certificate
182
+ * A util to prepare a payload to create a KYC certificate
183
183
  *
184
184
  * @param r
185
185
  * @returns
@@ -199,7 +199,7 @@ exports.certificateUtils = {
199
199
  },
200
200
  }),
201
201
  /**
202
- * @description A util to prepare a payload to create a Accreditation certificate
202
+ * A util to prepare a payload to create a Accreditation certificate
203
203
  *
204
204
  * @param r
205
205
  * @returns
@@ -219,7 +219,7 @@ exports.certificateUtils = {
219
219
  },
220
220
  }),
221
221
  /**
222
- * @description A util to prepare a payload to create an Owner Info certificate
222
+ * A util to prepare a payload to create an Owner Info certificate
223
223
  *
224
224
  * @param r
225
225
  * @returns
@@ -236,7 +236,7 @@ exports.certificateUtils = {
236
236
  },
237
237
  }),
238
238
  /**
239
- * @description A util to prepare a payload to create an NAV certificate
239
+ * A util to prepare a payload to create an NAV certificate
240
240
  *
241
241
  * @param r
242
242
  * @returns