@fairmint/canton-node-sdk 0.0.66 → 0.0.68

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 (79) hide show
  1. package/README.md +11 -71
  2. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts +56 -0
  3. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts.map +1 -0
  4. package/build/src/clients/ledger-json-api/{LedgerJsonApiClient.js → LedgerJsonApiClient.generated.js} +72 -55
  5. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js.map +1 -0
  6. package/build/src/clients/ledger-json-api/index.d.ts +1 -1
  7. package/build/src/clients/ledger-json-api/index.d.ts.map +1 -1
  8. package/build/src/clients/ledger-json-api/index.js +2 -2
  9. package/build/src/clients/ledger-json-api/index.js.map +1 -1
  10. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts.map +1 -1
  11. package/build/src/clients/lighthouse-api/LighthouseApiClient.generated.d.ts +8 -0
  12. package/build/src/clients/lighthouse-api/LighthouseApiClient.generated.d.ts.map +1 -0
  13. package/build/src/clients/lighthouse-api/{LighthouseApiClient.js → LighthouseApiClient.generated.js} +6 -4
  14. package/build/src/clients/lighthouse-api/LighthouseApiClient.generated.js.map +1 -0
  15. package/build/src/clients/lighthouse-api/index.d.ts +1 -1
  16. package/build/src/clients/lighthouse-api/index.d.ts.map +1 -1
  17. package/build/src/clients/lighthouse-api/index.js +2 -2
  18. package/build/src/clients/lighthouse-api/index.js.map +1 -1
  19. package/build/src/clients/lighthouse-api/operations/get-transfer-agent.d.ts.map +1 -1
  20. package/build/src/clients/lighthouse-api/operations/get-transfer-agent.js +0 -1
  21. package/build/src/clients/lighthouse-api/operations/get-transfer-agent.js.map +1 -1
  22. package/build/src/clients/register.d.ts +3 -2
  23. package/build/src/clients/register.d.ts.map +1 -1
  24. package/build/src/clients/register.js +8 -12
  25. package/build/src/clients/register.js.map +1 -1
  26. package/build/src/clients/validator-api/ValidatorApiClient.generated.d.ts +47 -0
  27. package/build/src/clients/validator-api/ValidatorApiClient.generated.d.ts.map +1 -0
  28. package/build/src/clients/validator-api/{ValidatorApiClient.js → ValidatorApiClient.generated.js} +8 -21
  29. package/build/src/clients/validator-api/ValidatorApiClient.generated.js.map +1 -0
  30. package/build/src/clients/validator-api/index.d.ts +1 -1
  31. package/build/src/clients/validator-api/index.d.ts.map +1 -1
  32. package/build/src/clients/validator-api/index.js +2 -2
  33. package/build/src/clients/validator-api/index.js.map +1 -1
  34. package/build/src/core/config/EnvLoader.d.ts +15 -0
  35. package/build/src/core/config/EnvLoader.d.ts.map +1 -1
  36. package/build/src/core/config/EnvLoader.js +96 -3
  37. package/build/src/core/config/EnvLoader.js.map +1 -1
  38. package/build/src/core/index.d.ts +0 -1
  39. package/build/src/core/index.d.ts.map +1 -1
  40. package/build/src/core/index.js +0 -1
  41. package/build/src/core/index.js.map +1 -1
  42. package/build/src/utils/amulet/index.d.ts +1 -0
  43. package/build/src/utils/amulet/index.d.ts.map +1 -1
  44. package/build/src/utils/amulet/index.js +1 -0
  45. package/build/src/utils/amulet/index.js.map +1 -1
  46. package/build/src/utils/amulet/offers.d.ts +36 -0
  47. package/build/src/utils/amulet/offers.d.ts.map +1 -0
  48. package/build/src/utils/amulet/offers.js +66 -0
  49. package/build/src/utils/amulet/offers.js.map +1 -0
  50. package/build/src/utils/amulet/pre-approve-transfers.d.ts +2 -2
  51. package/build/src/utils/amulet/pre-approve-transfers.d.ts.map +1 -1
  52. package/build/src/utils/amulet/pre-approve-transfers.js +3 -1
  53. package/build/src/utils/amulet/pre-approve-transfers.js.map +1 -1
  54. package/build/src/utils/index.d.ts +1 -0
  55. package/build/src/utils/index.d.ts.map +1 -1
  56. package/build/src/utils/index.js +1 -0
  57. package/build/src/utils/index.js.map +1 -1
  58. package/build/src/utils/party/createParty.d.ts +26 -0
  59. package/build/src/utils/party/createParty.d.ts.map +1 -0
  60. package/build/src/utils/party/createParty.js +51 -0
  61. package/build/src/utils/party/createParty.js.map +1 -0
  62. package/build/src/utils/party/index.d.ts +2 -0
  63. package/build/src/utils/party/index.d.ts.map +1 -0
  64. package/build/src/utils/party/index.js +18 -0
  65. package/build/src/utils/party/index.js.map +1 -0
  66. package/package.json +11 -13
  67. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts +0 -118
  68. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.d.ts.map +0 -1
  69. package/build/src/clients/ledger-json-api/LedgerJsonApiClient.js.map +0 -1
  70. package/build/src/clients/lighthouse-api/LighthouseApiClient.d.ts +0 -9
  71. package/build/src/clients/lighthouse-api/LighthouseApiClient.d.ts.map +0 -1
  72. package/build/src/clients/lighthouse-api/LighthouseApiClient.js.map +0 -1
  73. package/build/src/clients/validator-api/ValidatorApiClient.d.ts +0 -69
  74. package/build/src/clients/validator-api/ValidatorApiClient.d.ts.map +0 -1
  75. package/build/src/clients/validator-api/ValidatorApiClient.js.map +0 -1
  76. package/build/src/core/ClientFactory.d.ts +0 -23
  77. package/build/src/core/ClientFactory.d.ts.map +0 -1
  78. package/build/src/core/ClientFactory.js +0 -39
  79. package/build/src/core/ClientFactory.js.map +0 -1
@@ -0,0 +1,26 @@
1
+ import { LedgerJsonApiClient } from '../../clients/ledger-json-api';
2
+ import { ValidatorApiClient } from '../../clients/validator-api';
3
+ export interface CreatePartyOptions {
4
+ /** Ledger JSON API client instance */
5
+ ledgerClient: LedgerJsonApiClient;
6
+ /** Validator API client instance */
7
+ validatorClient: ValidatorApiClient;
8
+ /** Party name to use for creation. This becomes the prefix on the party ID. */
9
+ partyName: string;
10
+ /** Amount to fund the party with. Must be > 0 in order to create a preapproval contract. */
11
+ amount: string;
12
+ }
13
+ export interface PartyCreationResult {
14
+ /** Party ID from the Validator API */
15
+ partyId: string;
16
+ /** Preapproval contract ID for transfers */
17
+ preapprovalContractId?: string;
18
+ }
19
+ /**
20
+ * Creates a party, optionally funds the wallet and if funded it then creates a preapproval contract for the party.
21
+ *
22
+ * @param options - Configuration options for party creation
23
+ * @returns Promise resolving to the party creation result
24
+ */
25
+ export declare function createParty(options: CreatePartyOptions): Promise<PartyCreationResult>;
26
+ //# sourceMappingURL=createParty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createParty.d.ts","sourceRoot":"","sources":["../../../../src/utils/party/createParty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAIjE,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,YAAY,EAAE,mBAAmB,CAAC;IAClC,oCAAoC;IACpC,eAAe,EAAE,kBAAkB,CAAC;IACpC,+EAA+E;IAC/E,SAAS,EAAE,MAAM,CAAC;IAClB,4FAA4F;IAC5F,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CA+C3F"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createParty = createParty;
4
+ const pre_approve_transfers_1 = require("../amulet/pre-approve-transfers");
5
+ const offers_1 = require("../amulet/offers");
6
+ /**
7
+ * Creates a party, optionally funds the wallet and if funded it then creates a preapproval contract for the party.
8
+ *
9
+ * @param options - Configuration options for party creation
10
+ * @returns Promise resolving to the party creation result
11
+ */
12
+ async function createParty(options) {
13
+ // Use provided clients directly
14
+ const { ledgerClient, validatorClient } = options;
15
+ const amountNum = parseFloat(options.amount);
16
+ if (isNaN(amountNum) || amountNum < 0) {
17
+ throw new Error(`Invalid amount: "${options.amount}". Amount must be a valid non-negative number.`);
18
+ }
19
+ console.log(`Creating party ${options.partyName} with ${options.amount} funding...`);
20
+ // Create user via Validator API
21
+ const userStatus = await validatorClient.createUser({ name: options.partyName });
22
+ const result = {
23
+ partyId: userStatus.party_id
24
+ };
25
+ // Skip funding if amount is 0
26
+ if (amountNum === 0) {
27
+ console.log('Party created successfully without funding');
28
+ return result;
29
+ }
30
+ // Create and accept transfer offer
31
+ const transferOfferContractId = await (0, offers_1.createTransferOffer)({
32
+ ledgerClient,
33
+ receiverPartyId: result.partyId,
34
+ amount: options.amount,
35
+ description: `Welcome transfer for ${options.partyName}`,
36
+ });
37
+ // Accept transfer offer
38
+ await (0, offers_1.acceptTransferOffer)({
39
+ ledgerClient,
40
+ transferOfferContractId,
41
+ acceptingPartyId: result.partyId,
42
+ });
43
+ // Create transfer preapproval
44
+ const preapprovalResult = await (0, pre_approve_transfers_1.preApproveTransfers)(ledgerClient, validatorClient, {
45
+ receiverPartyId: result.partyId,
46
+ });
47
+ result.preapprovalContractId = preapprovalResult.contractId;
48
+ console.log('Party created successfully!');
49
+ return result;
50
+ }
51
+ //# sourceMappingURL=createParty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createParty.js","sourceRoot":"","sources":["../../../../src/utils/party/createParty.ts"],"names":[],"mappings":";;AA6BA,kCA+CC;AA1ED,2EAAsE;AACtE,6CAA4E;AAoB5E;;;;;GAKG;AACI,KAAK,UAAU,WAAW,CAAC,OAA2B;IAC3D,gCAAgC;IAChC,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC;IAElD,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7C,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,oBAAoB,OAAO,CAAC,MAAM,gDAAgD,CAAC,CAAC;IACtG,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,kBAAkB,OAAO,CAAC,SAAS,SAAS,OAAO,CAAC,MAAM,aAAa,CAAC,CAAC;IAErF,gCAAgC;IAChC,MAAM,UAAU,GAAG,MAAM,eAAe,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IACjF,MAAM,MAAM,GAAwB;QAClC,OAAO,EAAE,UAAU,CAAC,QAAQ;KAC7B,CAAC;IAEF,8BAA8B;IAC9B,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;QAC1D,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,mCAAmC;IACnC,MAAM,uBAAuB,GAAG,MAAM,IAAA,4BAAmB,EAAC;QACxD,YAAY;QACZ,eAAe,EAAE,MAAM,CAAC,OAAO;QAC/B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,WAAW,EAAE,wBAAwB,OAAO,CAAC,SAAS,EAAE;KACzD,CAAC,CAAC;IAEH,wBAAwB;IACxB,MAAM,IAAA,4BAAmB,EAAC;QACxB,YAAY;QACZ,uBAAuB;QACvB,gBAAgB,EAAE,MAAM,CAAC,OAAO;KACjC,CAAC,CAAC;IAEH,8BAA8B;IAC9B,MAAM,iBAAiB,GAAG,MAAM,IAAA,2CAAmB,EAAC,YAAY,EAAE,eAAe,EAAE;QACjF,eAAe,EAAE,MAAM,CAAC,OAAO;KAChC,CAAC,CAAC;IAEH,MAAM,CAAC,qBAAqB,GAAG,iBAAiB,CAAC,UAAU,CAAC;IAE5D,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;IAC3C,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './createParty';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/party/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./createParty"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/utils/party/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/canton-node-sdk",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "description": "Canton Node SDK",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -9,20 +9,17 @@
9
9
  },
10
10
  "scripts": {
11
11
  "build": "npm run build:core && npm run build:lint",
12
- "build:core": "npm run build:core:generate-client-methods && npm run generate:openapi-types && tsc",
13
- "build:core:generate-client-methods": "tsx scripts/generate-client-methods.ts",
12
+ "build:core": "npm run generate:openapi-types && npm run build:core:generate-client-methods && tsc",
13
+ "build:core:generate-client-methods": "tsx scripts/generate-all-client-methods.ts",
14
14
  "generate:openapi-types": "find artifacts/splice -name '*.yaml' -exec sh -c 'relative_path=\"$(echo \"$1\" | sed \"s|^artifacts/splice/||\" | sed \"s|\\.yaml$|.ts|\")\"; output_file=\"src/generated/$relative_path\"; mkdir -p \"$(dirname \"$output_file\")\"; npx openapi-typescript \"$1\" -o \"$output_file\"' _ {} \\;",
15
15
  "build:lint": "tsc -p tsconfig.lint.json",
16
+ "simulate": "tsx --tsconfig tsconfig.lint.json scripts/run-simulations.ts",
16
17
  "test": "jest",
17
18
  "test:watch": "jest --watch",
18
- "test:coverage": "jest --coverage",
19
- "test:integration": "node scripts/test-integration.js",
20
- "simulate": "tsx --tsconfig tsconfig.lint.json scripts/run-simulations.ts",
21
- "test:all": "npm run test && npm run simulate && npm run test:integration",
22
- "lint:eslint": "eslint src/**/*.ts test/**/*.ts scripts/**/*.ts simulations/**/*.ts --fix",
23
- "lint:eslint:check": "eslint src/**/*.ts test/**/*.ts scripts/**/*.ts simulations/**/*.ts",
24
- "lint:prettier": "prettier --write src/**/*.ts test/**/*.ts scripts/**/*.ts simulations/**/*.ts **/*.md",
25
- "lint:prettier:check": "prettier --check src/**/*.ts test/**/*.ts scripts/**/*.ts simulations/**/*.ts **/*.md",
19
+ "lint:eslint": "eslint src/**/*.ts scripts/**/*.ts simulations/**/*.ts --fix",
20
+ "lint:eslint:check": "eslint src/**/*.ts scripts/**/*.ts simulations/**/*.ts",
21
+ "lint:prettier": "prettier --write src/**/*.ts scripts/**/*.ts simulations/**/*.ts **/*.md",
22
+ "lint:prettier:check": "prettier --check src/**/*.ts scripts/**/*.ts simulations/**/*.ts **/*.md",
26
23
  "lint:npm:check": "npmPkgJsonLint .",
27
24
  "lint:npm": "npmPkgJsonLint . --fix",
28
25
  "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:npm",
@@ -56,14 +53,14 @@
56
53
  "homepage": "https://sdk.canton.fairmint.com/",
57
54
  "devDependencies": {
58
55
  "@types/jest": "30.0.0",
59
- "@types/node": "24.1.0",
56
+ "@types/node": "24.2.1",
60
57
  "@typescript-eslint/eslint-plugin": "8.38.0",
61
58
  "@typescript-eslint/parser": "8.39.0",
62
59
  "eslint": "9.32.0",
63
60
  "eslint-config-prettier": "10.1.8",
64
61
  "eslint-plugin-import": "2.32.0",
65
62
  "eslint-plugin-markdown": "5.1.0",
66
- "eslint-plugin-prettier": "5.5.3",
63
+ "eslint-plugin-prettier": "5.5.4",
67
64
  "jest": "30.0.5",
68
65
  "markdownlint-cli": "0.45.0",
69
66
  "npm-package-json-lint": "9.0.0",
@@ -78,6 +75,7 @@
78
75
  "dependencies": {
79
76
  "axios": "1.11.0",
80
77
  "dotenv": "17.2.1",
78
+ "glob": "^10.3.10",
81
79
  "openapi-fetch": "^0.14.0",
82
80
  "openapi-typescript": "^7.8.0",
83
81
  "zod": "4.0.17"
@@ -1,118 +0,0 @@
1
- import { BaseClient, ClientConfig } from '../../core';
2
- import type { AsyncSubmitParams, AsyncSubmitResponse } from './operations/v2/commands/async/submit';
3
- import type { AsyncSubmitReassignmentParams, AsyncSubmitReassignmentResponse } from './operations/v2/commands/async/submit-reassignment';
4
- import type { CompletionsParams, CompletionsResponse } from './operations/v2/commands/completions';
5
- import type { SubmitAndWaitParams } from './operations/v2/commands/submit-and-wait';
6
- import type { SubmitAndWaitForTransactionParams, SubmitAndWaitForTransactionResponse } from './operations/v2/commands/submit-and-wait-for-transaction';
7
- import type { SubmitAndWaitForTransactionTreeParams, SubmitAndWaitForTransactionTreeResponse } from './operations/v2/commands/submit-and-wait-for-transaction-tree';
8
- import type { EventsByContractIdParams, EventsByContractIdResponse } from './operations/v2/events/get-events-by-contract-id';
9
- import type { GetTransactionByOffsetParams, GetTransactionByOffsetResponse } from './operations/v2/updates/get-transaction-by-offset';
10
- import type { GetTransactionTreeByOffsetParams, GetTransactionTreeByOffsetResponse } from './operations/v2/updates/get-transaction-tree-by-offset';
11
- import type { GetUpdateByOffsetParams, GetUpdateByOffsetResponse } from './operations/v2/updates/get-update-by-offset';
12
- import type { GetUpdateByIdParams, GetUpdateByIdResponse } from './operations/v2/updates/get-update-by-id';
13
- import type { GetTransactionByIdParams, GetTransactionByIdResponse } from './operations/v2/updates/get-transaction-by-id';
14
- import type { GetTransactionTreeByIdParams, GetTransactionTreeByIdResponse } from './operations/v2/updates/get-transaction-tree-by-id';
15
- import type { GetActiveContractsParams, GetActiveContractsResponse } from './operations/v2/state/get-active-contracts';
16
- import type { GetConnectedSynchronizersParams, GetConnectedSynchronizersResponse } from './operations/v2/state/get-connected-synchronizers';
17
- import type { GetLedgerEndParams, GetLedgerEndResponse } from './operations/v2/state/get-ledger-end';
18
- import type { GetLatestPrunedOffsetsParams, GetLatestPrunedOffsetsResponse } from './operations/v2/state/get-latest-pruned-offsets';
19
- import type { CreateUserParams } from './operations/v2/users/create-user';
20
- import type { DeleteUserParams, DeleteUserResponse } from './operations/v2/users/delete-user';
21
- import type { GetUserParams, GetUserResponse } from './operations/v2/users/get-user';
22
- import type { GrantUserRightsParams, GrantUserRightsResponse } from './operations/v2/users/grant-user-rights';
23
- import type { ListUserRightsParams, ListUserRightsResponse } from './operations/v2/users/list-user-rights';
24
- import type { ListUsersParams, ListUsersResponse } from './operations/v2/users/list-users';
25
- import type { RevokeUserRightsParams, RevokeUserRightsResponse } from './operations/v2/users/revoke-user-rights';
26
- import type { UpdateUserIdentityProviderParams, UpdateUserIdentityProviderResponse } from './operations/v2/users/update-user-identity-provider';
27
- import type { UpdateUserParams, UpdateUserResponse } from './operations/v2/users/update-user';
28
- import type { UploadDarFileParams } from './operations/v2/packages/post';
29
- import type { UploadDarFileResponse } from './schemas/api';
30
- import type { InteractiveSubmissionAllocatePartyParams } from './schemas/operations';
31
- import type { InteractiveSubmissionCreateUserParams } from './schemas/operations';
32
- import type { InteractiveSubmissionUploadDarParams } from './schemas/operations';
33
- import type { InteractiveSubmissionGetPreferredPackageVersionParams } from './schemas/operations';
34
- import type { InteractiveSubmissionGetPreferredPackagesParams } from './schemas/operations';
35
- import type { InteractiveSubmissionAllocatePartyResponse, InteractiveSubmissionCreateUserResponse, InteractiveSubmissionUploadDarResponse } from './schemas/api';
36
- import type { GetPreferredPackageVersionResponse, GetPreferredPackagesResponse } from './schemas/api';
37
- import type { GetPartiesParams } from './operations/v2/parties/get';
38
- import type { GetParticipantIdParams, GetParticipantIdResponse } from './operations/v2/parties/get-participant-id';
39
- import type { GetPartyDetailsParams } from './schemas/operations';
40
- import type { AllocatePartyParams } from './operations/v2/parties/post';
41
- import type { AllocatePartyResponse } from './schemas/api';
42
- import type { UpdatePartyDetailsParams } from './operations/v2/parties/update-party-details';
43
- /** Client for interacting with Canton's Ledger JSON API */
44
- export declare class LedgerJsonApiClient extends BaseClient {
45
- asyncSubmit: (params: AsyncSubmitParams) => Promise<AsyncSubmitResponse>;
46
- asyncSubmitReassignment: (params: AsyncSubmitReassignmentParams) => Promise<AsyncSubmitReassignmentResponse>;
47
- completions: (params: CompletionsParams) => Promise<CompletionsResponse>;
48
- submitAndWait: (params: SubmitAndWaitParams) => Promise<any>;
49
- submitAndWaitForTransactionTree: (params: SubmitAndWaitForTransactionTreeParams) => Promise<SubmitAndWaitForTransactionTreeResponse>;
50
- submitAndWaitForTransaction: (params: SubmitAndWaitForTransactionParams) => Promise<SubmitAndWaitForTransactionResponse>;
51
- getEventsByContractId: (params: EventsByContractIdParams) => Promise<EventsByContractIdResponse>;
52
- getTransactionByOffset: (params: GetTransactionByOffsetParams) => Promise<GetTransactionByOffsetResponse>;
53
- getTransactionTreeByOffset: (params: GetTransactionTreeByOffsetParams) => Promise<GetTransactionTreeByOffsetResponse>;
54
- getUpdateByOffset: (params: GetUpdateByOffsetParams) => Promise<GetUpdateByOffsetResponse>;
55
- getUpdateById: (params: GetUpdateByIdParams) => Promise<GetUpdateByIdResponse>;
56
- getTransactionById: (params: GetTransactionByIdParams) => Promise<GetTransactionByIdResponse>;
57
- getTransactionTreeById: (params: GetTransactionTreeByIdParams) => Promise<GetTransactionTreeByIdResponse>;
58
- getActiveContracts: (params: GetActiveContractsParams) => Promise<GetActiveContractsResponse>;
59
- getConnectedSynchronizers: (params: GetConnectedSynchronizersParams) => Promise<GetConnectedSynchronizersResponse>;
60
- getLedgerEnd: (params: GetLedgerEndParams) => Promise<GetLedgerEndResponse>;
61
- getLatestPrunedOffsets: (params: GetLatestPrunedOffsetsParams) => Promise<GetLatestPrunedOffsetsResponse>;
62
- createUser: (params: CreateUserParams) => Promise<any>;
63
- deleteUser: (params: DeleteUserParams) => Promise<DeleteUserResponse>;
64
- getUser: (params: GetUserParams) => Promise<GetUserResponse>;
65
- grantUserRights: (params: GrantUserRightsParams) => Promise<GrantUserRightsResponse>;
66
- listUserRights: (params: ListUserRightsParams) => Promise<ListUserRightsResponse>;
67
- listUsers: (params: ListUsersParams) => Promise<ListUsersResponse>;
68
- revokeUserRights: (params: RevokeUserRightsParams) => Promise<RevokeUserRightsResponse>;
69
- updateUserIdentityProvider: (params: UpdateUserIdentityProviderParams) => Promise<UpdateUserIdentityProviderResponse>;
70
- updateUser: (params: UpdateUserParams) => Promise<UpdateUserResponse>;
71
- getParties: (params: GetPartiesParams) => Promise<import('../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi').paths['/v2/parties']['get']['responses']['200']['content']['application/json']>;
72
- getParticipantId: (params: GetParticipantIdParams) => Promise<GetParticipantIdResponse>;
73
- getPartyDetails: (params: GetPartyDetailsParams) => Promise<import('../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi').paths['/v2/parties/{party}']['get']['responses']['200']['content']['application/json']>;
74
- allocateParty: (params: AllocatePartyParams) => Promise<AllocatePartyResponse>;
75
- updatePartyDetails: (params: UpdatePartyDetailsParams) => Promise<import('../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi').paths['/v2/parties/{party}']['patch']['responses']['200']['content']['application/json']>;
76
- /**
77
- * List all packages uploaded on the participant node
78
- * @description List all packages uploaded on the participant node
79
- * @returns The list of package IDs available on the participant node.
80
- * @example
81
- * ```typescript
82
- * const packages = await client.listPackages();
83
- * console.log(`Available packages: ${packages.packageIds.join(', ')}`);
84
- * ```
85
- */
86
- listPackages: () => Promise<import('../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi').paths['/v2/packages']['get']['responses']['200']['content']['application/json']>;
87
- /**
88
- * Upload a DAR file to the participant node
89
- * @description Upload a DAR file to the participant node
90
- * @returns The upload result.
91
- * @example
92
- * ```typescript
93
- * const result = await client.uploadDarFile({
94
- * darFile: fs.readFileSync('my-package.dar'),
95
- * submissionId: 'unique-submission-id'
96
- * });
97
- * ```
98
- */
99
- uploadDarFile: (params: UploadDarFileParams) => Promise<UploadDarFileResponse>;
100
- /**
101
- * Get the version details of the participant node
102
- * @description Get the version details of the participant node
103
- * @returns The version information of the participant node.
104
- * @example
105
- * ```typescript
106
- * const version = await client.getVersion();
107
- * console.log(`Participant version: ${version.version}`);
108
- * ```
109
- */
110
- getVersion: () => Promise<import('../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi').paths['/v2/version']['get']['responses']['200']['content']['application/json']>;
111
- interactiveSubmissionAllocateParty: (params: InteractiveSubmissionAllocatePartyParams) => Promise<InteractiveSubmissionAllocatePartyResponse>;
112
- interactiveSubmissionCreateUser: (params: InteractiveSubmissionCreateUserParams) => Promise<InteractiveSubmissionCreateUserResponse>;
113
- interactiveSubmissionUploadDar: (params: InteractiveSubmissionUploadDarParams) => Promise<InteractiveSubmissionUploadDarResponse>;
114
- interactiveSubmissionGetPreferredPackageVersion: (params: InteractiveSubmissionGetPreferredPackageVersionParams) => Promise<GetPreferredPackageVersionResponse>;
115
- interactiveSubmissionGetPreferredPackages: (params: InteractiveSubmissionGetPreferredPackagesParams) => Promise<GetPreferredPackagesResponse>;
116
- constructor(clientConfig?: ClientConfig);
117
- }
118
- //# sourceMappingURL=LedgerJsonApiClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LedgerJsonApiClient.d.ts","sourceRoot":"","sources":["../../../../src/clients/ledger-json-api/LedgerJsonApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAA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MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAEvF;;;;;;;;;OASG;IACI,UAAU,EAAG,MAAM,OAAO,CAAC,OAAO,kGAAkG,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAGtN,kCAAkC,EAAG,CAAC,MAAM,EAAE,wCAAwC,KAAK,OAAO,CAAC,0CAA0C,CAAC,CAAC;IAC/I,+BAA+B,EAAG,CAAC,MAAM,EAAE,qCAAqC,KAAK,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACtI,8BAA8B,EAAG,CAAC,MAAM,EAAE,oCAAoC,KAAK,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnI,+CAA+C,EAAG,CAAC,MAAM,EAAE,qDAAqD,KAAK,OAAO,CAAC,kCAAkC,CAAC,CAAC;IACjK,yCAAyC,EAAG,CAAC,MAAM,EAAE,+CAA+C,KAAK,OAAO,CAAC,4BAA4B,CAAC,CAAC;gBAI1I,YAAY,CAAC,EAAE,YAAY;CA0DxC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LedgerJsonApiClient.js","sourceRoot":"","sources":["../../../../src/clients/ledger-json-api/LedgerJsonApiClient.ts"],"names":[],"mappings":";;;AAAA,qCAAsD;AACtD,kEAAoE;AACpE,4FAA6F;AAC7F,sEAAmE;AACnE,8EAAyE;AACzE,8GAAuG;AACvG,wHAAgH;AAChH,gGAAyF;AACzF,iGAA2F;AAC3F,2GAAoG;AACpG,uFAAiF;AACjF,+EAAyE;AACzE,yFAAmF;AACnF,mGAA4F;AAC5F,qFAAgF;AAChF,mGAA8F;AAC9F,yEAAoE;AACpE,+FAAyF;AACzF,mEAA+D;AAC/D,mEAA+D;AAC/D,6DAAyD;AACzD,+EAA0E;AAC1E,6EAAwE;AACxE,iEAA6D;AAC7D,iFAA4E;AAC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AO,CAAC,MAAM,CAAC,CAAC;QACnH,IAAI,CAAC,+BAA+B,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,6CAA+B,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7G,IAAI,CAAC,8BAA8B,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,2CAA8B,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC3G,IAAI,CAAC,+CAA+C,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,+EAA+C,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7I,IAAI,CAAC,yCAAyC,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,kEAAyC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAGnI,CAAC;CACF;AArJD,kDAqJC"}
@@ -1,9 +0,0 @@
1
- import { SimpleBaseClient, ClientConfig } from '../../core';
2
- import type { GetTransferAgentParams } from './operations/get-transfer-agent';
3
- import type { GetTransferAgentResponse } from './types';
4
- /** Client for interacting with Lighthouse API */
5
- export declare class LighthouseApiClient extends SimpleBaseClient {
6
- getTransferAgent: (params: GetTransferAgentParams) => Promise<GetTransferAgentResponse>;
7
- constructor(clientConfig?: ClientConfig);
8
- }
9
- //# sourceMappingURL=LighthouseApiClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LighthouseApiClient.d.ts","sourceRoot":"","sources":["../../../../src/clients/lighthouse-api/LighthouseApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,iDAAiD;AACjD,qBAAa,mBAAoB,SAAQ,gBAAgB;IAEhD,gBAAgB,EAAG,CAAC,MAAM,EAAE,sBAAsB,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;gBAEpF,YAAY,CAAC,EAAE,YAAY;CAMxC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LighthouseApiClient.js","sourceRoot":"","sources":["../../../../src/clients/lighthouse-api/LighthouseApiClient.ts"],"names":[],"mappings":";;;AAAA,qCAA4D;AAC5D,wEAAmE;AAMnE,iDAAiD;AACjD,MAAa,mBAAoB,SAAQ,uBAAgB;IAIvD,YAAY,YAA2B;QACrC,KAAK,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;QAEtC,wBAAwB;QACxB,IAAI,CAAC,gBAAgB,GAAG,IAAI,qCAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,qCAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9F,CAAC;CACF;AAVD,kDAUC"}
@@ -1,69 +0,0 @@
1
- import { LookupFeaturedAppRightResponse } from './operations/v0/scan-proxy/lookup-featured-app-right';
2
- import { BaseClient, ClientConfig } from '../../core';
3
- import { AcceptTransferOfferParams, CreateBuyTrafficRequestParams, CreateTransferOfferParams, GetAllocationCancelContextParams, GetAllocationFactoryParams, GetAllocationTransferContextParams, GetAllocationWithdrawContextParams, GetFeaturedAppRightParams, GetInstrumentParams, GetMemberTrafficStatusParams, GetMiningRoundDetailsParams, GetTransferFactoryParams, GetTransferInstructionAcceptContextParams, GetTransferInstructionRejectContextParams, GetTransferInstructionWithdrawContextParams, GetTransferPreapprovalsByPartyParams, ListInstrumentsParams, LookupTransferCommandCounterByPartyParams, LookupTransferCommandStatusParams, RejectTransferOfferParams, WithdrawTransferOfferParams } from './schemas/operations';
4
- import { AcceptTransferOfferResponse, CreateBuyTrafficRequestResponse, CreateTransferOfferResponse, GetAllocationCancelContextResponse, GetAllocationFactoryResponse, GetAllocationTransferContextResponse, GetAllocationWithdrawContextResponse, GetInstrumentResponse, GetMemberTrafficStatusResponse, GetMiningRoundDetailsResponse, GetOpenAndIssuingMiningRoundsResponse, GetRegistryInfoResponse, GetTransferFactoryResponse, GetTransferInstructionAcceptContextResponse, GetTransferInstructionRejectContextResponse, GetTransferInstructionWithdrawContextResponse, ListInstrumentsResponse, ListTransferOffersResponse, LookupTransferCommandCounterByPartyResponse, LookupTransferCommandStatusResponse, LookupTransferPreapprovalByPartyResponse, RejectTransferOfferResponse, WithdrawTransferOfferResponse } from './schemas/api';
5
- import { operations as ansOperations } from '../../generated/apps/validator/src/main/openapi/ans-external';
6
- import { operations as scanProxyOperations } from '../../generated/apps/validator/src/main/openapi/scan-proxy';
7
- import { operations as validatorOperations } from '../../generated/apps/validator/src/main/openapi/validator-internal';
8
- import { operations as walletOperations } from '../../generated/apps/wallet/src/main/openapi/wallet-internal';
9
- /** Client for interacting with Canton's Validator API */
10
- export declare class ValidatorApiClient extends BaseClient {
11
- createUser: (params: validatorOperations['onboardUser']['requestBody']['content']['application/json']) => Promise<validatorOperations['onboardUser']['responses']['200']['content']['application/json']>;
12
- getExternalPartyBalance: (params: {
13
- partyId: string;
14
- }) => Promise<validatorOperations['getExternalPartyBalance']['responses']['200']['content']['application/json']>;
15
- createAnsEntry: (params: ansOperations['createAnsEntry']['requestBody']['content']['application/json']) => Promise<ansOperations['createAnsEntry']['responses']['200']['content']['application/json']>;
16
- getAnsRules: (params: scanProxyOperations['getAnsRules']['requestBody']['content']['application/json']) => Promise<scanProxyOperations['getAnsRules']['responses']['200']['content']['application/json']>;
17
- listAnsEntriesProxy: (params: void) => Promise<ansOperations['listAnsEntries']['responses']['200']['content']['application/json']>;
18
- lookupAnsEntryByName: (params: {
19
- name: string;
20
- }) => Promise<scanProxyOperations['lookupAnsEntryByName']['responses']['200']['content']['application/json']>;
21
- lookupAnsEntryByParty: (params: {
22
- party: string;
23
- }) => Promise<scanProxyOperations['lookupAnsEntryByParty']['responses']['200']['content']['application/json']>;
24
- registerNewUser: (params: void) => Promise<validatorOperations['register']['responses']['200']['content']['application/json']>;
25
- getAmuletRules: (params: void) => Promise<scanProxyOperations['getAmuletRules']['responses']['200']['content']['application/json']>;
26
- getDsoPartyId: (params: void) => Promise<scanProxyOperations['getDsoPartyId']['responses']['200']['content']['application/json']>;
27
- getMemberTrafficStatus: (params: GetMemberTrafficStatusParams) => Promise<GetMemberTrafficStatusResponse>;
28
- getMiningRoundDetails: (params: GetMiningRoundDetailsParams) => Promise<GetMiningRoundDetailsResponse>;
29
- getOpenAndIssuingMiningRounds: (params: void) => Promise<GetOpenAndIssuingMiningRoundsResponse>;
30
- lookupFeaturedAppRight: (params: GetFeaturedAppRightParams) => Promise<LookupFeaturedAppRightResponse>;
31
- lookupTransferCommandCounterByParty: (params: LookupTransferCommandCounterByPartyParams) => Promise<LookupTransferCommandCounterByPartyResponse>;
32
- lookupTransferCommandStatus: (params: LookupTransferCommandStatusParams) => Promise<LookupTransferCommandStatusResponse>;
33
- lookupTransferPreapprovalByParty: (params: GetTransferPreapprovalsByPartyParams) => Promise<LookupTransferPreapprovalByPartyResponse>;
34
- getAllocationFactory: (params: GetAllocationFactoryParams) => Promise<GetAllocationFactoryResponse>;
35
- getAllocationCancelContext: (params: GetAllocationCancelContextParams) => Promise<GetAllocationCancelContextResponse>;
36
- getAllocationTransferContext: (params: GetAllocationTransferContextParams) => Promise<GetAllocationTransferContextResponse>;
37
- getAllocationWithdrawContext: (params: GetAllocationWithdrawContextParams) => Promise<GetAllocationWithdrawContextResponse>;
38
- getInstrument: (params: GetInstrumentParams) => Promise<GetInstrumentResponse>;
39
- getRegistryInfo: (params: void) => Promise<GetRegistryInfoResponse>;
40
- listInstruments: (params: ListInstrumentsParams) => Promise<ListInstrumentsResponse>;
41
- getTransferFactory: (params: GetTransferFactoryParams) => Promise<GetTransferFactoryResponse>;
42
- getTransferInstructionAcceptContext: (params: GetTransferInstructionAcceptContextParams) => Promise<GetTransferInstructionAcceptContextResponse>;
43
- getTransferInstructionRejectContext: (params: GetTransferInstructionRejectContextParams) => Promise<GetTransferInstructionRejectContextResponse>;
44
- getTransferInstructionWithdrawContext: (params: GetTransferInstructionWithdrawContextParams) => Promise<GetTransferInstructionWithdrawContextResponse>;
45
- createBuyTrafficRequest: (params: CreateBuyTrafficRequestParams) => Promise<CreateBuyTrafficRequestResponse>;
46
- getAmulets: (params: void) => Promise<walletOperations['list']['responses']['200']['content']['application/json']>;
47
- getWalletBalance: (params: void) => Promise<walletOperations['getBalance']['responses']['200']['content']['application/json']>;
48
- getUserStatus: (params: void) => Promise<walletOperations['userStatus']['responses']['200']['content']['application/json']>;
49
- createTokenStandardTransfer: (params: walletOperations['createTokenStandardTransfer']['requestBody']['content']['application/json']) => Promise<walletOperations['createTokenStandardTransfer']['responses']['200']['content']['application/json']>;
50
- listTokenStandardTransfers: (params: void) => Promise<walletOperations['listTokenStandardTransfers']['responses']['200']['content']['application/json']>;
51
- acceptTransferOffer: (params: AcceptTransferOfferParams) => Promise<AcceptTransferOfferResponse>;
52
- createTransferOffer: (params: CreateTransferOfferParams) => Promise<CreateTransferOfferResponse>;
53
- listTransferOffers: (params: void) => Promise<ListTransferOffersResponse>;
54
- rejectTransferOffer: (params: RejectTransferOfferParams) => Promise<RejectTransferOfferResponse>;
55
- withdrawTransferOffer: (params: WithdrawTransferOfferParams) => Promise<WithdrawTransferOfferResponse>;
56
- constructor(clientConfig?: ClientConfig);
57
- /**
58
- * Initializes method implementations by binding them to operation classes.
59
- * This is required because TypeScript declarations (above) only provide type safety,
60
- * but don't create the actual runtime method implementations.
61
- *
62
- * Auto-generation happens via `yarn generate-client-methods` which:
63
- * 1. Scans operation files for `createApiOperation` usage
64
- * 2. Generates imports, method declarations, and implementations
65
- * 3. Replaces content between codegen markers
66
- */
67
- private initializeMethods;
68
- }
69
- //# sourceMappingURL=ValidatorApiClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ValidatorApiClient.d.ts","sourceRoot":"","sources":["../../../../src/clients/validator-api/ValidatorApiClient.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AClG,qBAAqB,EAAG,CAAC,MAAM,EAAE,2BAA2B,KAAK,OAAO,CAAC,6BAA6B,CAAC,CAAC;gBAGnG,YAAY,CAAC,EAAE,YAAY;IAKvC;;;;;;;;;OASG;IACH,OAAO,CAAC,iBAAiB;CA2C1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ValidatorApiClient.js","sourceRoot":"","sources":["../../../../src/clients/validator-api/ValidatorApiClient.ts"],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC,mEAA+D;AAC/D,iGAA2F;AAC3F,mEAAkE;AAClE,6DAA4D;AAC5D,+EAAwE;AACxE,uEAA0E;AAC1E,yEAA4E;AAC5E,uDAA2D;AAC3D,kFAA6E;AAC7E,kFAA4E;AAC5E,kGAA4F;AAC5F,oGAA8F;AAC9F,sHAA8G;AAC9G,oGAA8H;AAC9H,kIAA0H;AAC1H,8GAAwG;AACxG,0HAAmH;AACnH,iIAA4H;AAC5H,oIAA8H;AAC9H,wIAAkI;AAClI,wIAAkI;AAClI,mGAA+F;AAC/F,yGAAoG;AACpG,uGAAmG;AACnG,2HAAsH;AACtH,iKAA0J;AAC1J,iKAA0J;AAC1J,qKAA8J;AAC9J,+EAA6F;AAC7F,oEAAgE;AAChE,oEAAsE;AACtE,4EAAuE;AACvE,mFAAqG;AACrG,+EAAkG;AAClG,0EAAoF;AACpF,0EAAoF;AACpF,sEAAiF;AACjF,0EAAoF;AACpF,8EAAwF;AACxF,uCAAuC;AAEvC,qCAAsD;AAStD,yDAAyD;AACzD,MAAa,kBAAmB,SAAQ,iBAAU;IAyChD,6BAA6B;IAE7B,YAAY,YAA2B;QACrC,KAAK,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;QACrC,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAED;;;;;;;;;OASG;IACK,iBAAiB;QACvB,8CAA8C;QAC9C,IAAI,CAAC,UAAU,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,wBAAU,CAAC,I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G,EAAE,CAAC,IAAI,8BAAgB,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;QACnE,IAAI,CAAC,aAAa,GAAG,GAAG,EAAE,CAAC,IAAI,+BAAa,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;QAC7D,IAAI,CAAC,2BAA2B,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,oCAA2B,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrG,IAAI,CAAC,0BAA0B,GAAG,GAAG,EAAE,CAAC,IAAI,iCAA0B,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;QACvF,IAAI,CAAC,mBAAmB,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,4BAAmB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrF,IAAI,CAAC,mBAAmB,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,4BAAmB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrF,IAAI,CAAC,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAI,yBAAkB,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;QACvE,IAAI,CAAC,mBAAmB,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,4BAAmB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrF,IAAI,CAAC,qBAAqB,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,gCAAqB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACzF,4CAA4C;IAC9C,CAAC;CACF;AArGD,gDAqGC"}
@@ -1,23 +0,0 @@
1
- import { ApiType, ClientConfig } from './types';
2
- import { BaseClient, SimpleBaseClient } from './BaseClient';
3
- /** Factory for creating and managing API client instances */
4
- export declare class ClientFactory {
5
- private static clientRegistry;
6
- /**
7
- * Register a client implementation for a specific API type
8
- */
9
- static registerClient(apiType: ApiType, clientClass: new (config: ClientConfig) => BaseClient | SimpleBaseClient): void;
10
- /**
11
- * Create a client for the specified API type
12
- */
13
- static createClient(apiType: ApiType, config: ClientConfig): BaseClient | SimpleBaseClient;
14
- /**
15
- * Get all registered API types
16
- */
17
- static getRegisteredApiTypes(): ApiType[];
18
- /**
19
- * Check if a client is registered for the given API type
20
- */
21
- static hasClient(apiType: ApiType): boolean;
22
- }
23
- //# sourceMappingURL=ClientFactory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientFactory.d.ts","sourceRoot":"","sources":["../../../src/core/ClientFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAG5D,6DAA6D;AAC7D,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,cAAc,CAGf;IAEd;;OAEG;WACW,cAAc,CAC1B,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,KAAK,MAAM,EAAE,YAAY,KAAK,UAAU,GAAG,gBAAgB,GACvE,IAAI;IAIP;;OAEG;WACW,YAAY,CACxB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,YAAY,GACnB,UAAU,GAAG,gBAAgB;IAahC;;OAEG;WACW,qBAAqB,IAAI,OAAO,EAAE;IAIhD;;OAEG;WACW,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;CAGnD"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClientFactory = void 0;
4
- const errors_1 = require("./errors");
5
- /** Factory for creating and managing API client instances */
6
- class ClientFactory {
7
- /**
8
- * Register a client implementation for a specific API type
9
- */
10
- static registerClient(apiType, clientClass) {
11
- this.clientRegistry.set(apiType, clientClass);
12
- }
13
- /**
14
- * Create a client for the specified API type
15
- */
16
- static createClient(apiType, config) {
17
- const ClientClass = this.clientRegistry.get(apiType);
18
- if (!ClientClass) {
19
- throw new errors_1.ConfigurationError(`No client implementation registered for API type: ${apiType}. ` +
20
- `Available types: ${Array.from(this.clientRegistry.keys()).join(', ')}`);
21
- }
22
- return new ClientClass(config);
23
- }
24
- /**
25
- * Get all registered API types
26
- */
27
- static getRegisteredApiTypes() {
28
- return Array.from(this.clientRegistry.keys());
29
- }
30
- /**
31
- * Check if a client is registered for the given API type
32
- */
33
- static hasClient(apiType) {
34
- return this.clientRegistry.has(apiType);
35
- }
36
- }
37
- exports.ClientFactory = ClientFactory;
38
- ClientFactory.clientRegistry = new Map();
39
- //# sourceMappingURL=ClientFactory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientFactory.js","sourceRoot":"","sources":["../../../src/core/ClientFactory.ts"],"names":[],"mappings":";;;AAEA,qCAA8C;AAE9C,6DAA6D;AAC7D,MAAa,aAAa;IAMxB;;OAEG;IACI,MAAM,CAAC,cAAc,CAC1B,OAAgB,EAChB,WAAwE;QAExE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAChD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,YAAY,CACxB,OAAgB,EAChB,MAAoB;QAEpB,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAErD,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,2BAAkB,CAC1B,qDAAqD,OAAO,IAAI;gBAC9D,oBAAoB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC1E,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,qBAAqB;QACjC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC;IAChD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,SAAS,CAAC,OAAgB;QACtC,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;;AA/CH,sCAgDC;AA/CgB,4BAAc,GAGzB,IAAI,GAAG,EAAE,CAAC"}