@fairmint/canton-node-sdk 0.0.48 → 0.0.49
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/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +2 -6
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +2 -14
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +16 -16
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +2 -8
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts +3 -3
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +6 -6
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts +1 -6
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +2 -25
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-flats.d.ts +44 -44
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-trees.d.ts +22 -22
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +1 -5
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts +3 -47
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts +81 -800
- package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +67 -1261
- package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts +180 -1241
- package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/errors.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/api/errors.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +14 -156
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +76 -1162
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts +16 -206
- package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +25 -289
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +17 -171
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +103 -2005
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +123 -2093
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +106 -2149
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +445 -11374
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.d.ts +169 -1741
- package/build/src/clients/ledger-json-api/schemas/api/users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.d.ts +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/base.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/common.d.ts +30 -323
- package/build/src/clients/ledger-json-api/schemas/common.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/common.js +4 -4
- package/build/src/clients/ledger-json-api/schemas/common.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +71 -348
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts +13 -87
- package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +25 -250
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts +9 -61
- package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts +12 -126
- package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/parties.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/operations/parties.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts +6 -31
- package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts +298 -6270
- package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/updates.js +3 -3
- package/build/src/clients/ledger-json-api/schemas/operations/updates.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts +65 -594
- package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/users.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/operations/users.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +1 -5
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts +2 -2
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +2 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +2 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/ans.d.ts +11 -55
- package/build/src/clients/validator-api/schemas/api/ans.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts +66 -734
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js +4 -4
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts +38 -250
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/ans.d.ts +5 -31
- package/build/src/clients/validator-api/schemas/operations/ans.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts +17 -107
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js +8 -8
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts +8 -62
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts.map +1 -1
- package/build/src/core/operations/ApiOperation.js +1 -1
- package/package.json +2 -2
|
@@ -3,295 +3,70 @@ import { z } from 'zod';
|
|
|
3
3
|
* Parameters for interactive submission allocate party.
|
|
4
4
|
*/
|
|
5
5
|
export declare const InteractiveSubmissionAllocatePartyParamsSchema: z.ZodObject<{
|
|
6
|
-
/** Party identifier hint (optional). */
|
|
7
6
|
partyIdHint: z.ZodOptional<z.ZodString>;
|
|
8
|
-
/** Display name (optional). */
|
|
9
7
|
displayName: z.ZodOptional<z.ZodString>;
|
|
10
|
-
/** Is local party flag (optional). */
|
|
11
8
|
isLocal: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
-
},
|
|
13
|
-
partyIdHint?: string | undefined;
|
|
14
|
-
isLocal?: boolean | undefined;
|
|
15
|
-
displayName?: string | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
partyIdHint?: string | undefined;
|
|
18
|
-
isLocal?: boolean | undefined;
|
|
19
|
-
displayName?: string | undefined;
|
|
20
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
21
10
|
/**
|
|
22
11
|
* Parameters for interactive submission create user.
|
|
23
12
|
*/
|
|
24
13
|
export declare const InteractiveSubmissionCreateUserParamsSchema: z.ZodObject<{
|
|
25
|
-
/** User to create. */
|
|
26
14
|
user: z.ZodObject<{
|
|
27
|
-
|
|
28
|
-
id: z.ZodEffects<z.ZodString, string, string>;
|
|
29
|
-
/** Primary party for the user (optional). */
|
|
15
|
+
id: z.ZodString;
|
|
30
16
|
primaryParty: z.ZodOptional<z.ZodString>;
|
|
31
|
-
/** Whether the user is deactivated. */
|
|
32
17
|
isDeactivated: z.ZodBoolean;
|
|
33
|
-
/** User metadata (optional). */
|
|
34
18
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
35
|
-
/** Resource version for concurrent change detection. */
|
|
36
19
|
resourceVersion: z.ZodString;
|
|
37
|
-
/** Annotations for the resource. */
|
|
38
20
|
annotations: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
39
|
-
},
|
|
40
|
-
resourceVersion: string;
|
|
41
|
-
annotations: Record<string, string>;
|
|
42
|
-
}, {
|
|
43
|
-
resourceVersion: string;
|
|
44
|
-
annotations: Record<string, string>;
|
|
45
|
-
}>>;
|
|
46
|
-
/** Identity provider ID (optional). */
|
|
21
|
+
}, z.core.$strip>>;
|
|
47
22
|
identityProviderId: z.ZodOptional<z.ZodString>;
|
|
48
|
-
},
|
|
49
|
-
id: string;
|
|
50
|
-
isDeactivated: boolean;
|
|
51
|
-
identityProviderId?: string | undefined;
|
|
52
|
-
primaryParty?: string | undefined;
|
|
53
|
-
metadata?: {
|
|
54
|
-
resourceVersion: string;
|
|
55
|
-
annotations: Record<string, string>;
|
|
56
|
-
} | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
id: string;
|
|
59
|
-
isDeactivated: boolean;
|
|
60
|
-
identityProviderId?: string | undefined;
|
|
61
|
-
primaryParty?: string | undefined;
|
|
62
|
-
metadata?: {
|
|
63
|
-
resourceVersion: string;
|
|
64
|
-
annotations: Record<string, string>;
|
|
65
|
-
} | undefined;
|
|
66
|
-
}>;
|
|
67
|
-
/** Rights to assign to the user (optional). */
|
|
23
|
+
}, z.core.$strip>;
|
|
68
24
|
rights: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
|
-
|
|
70
|
-
kind: z.ZodUnion<[z.ZodObject<{
|
|
25
|
+
kind: z.ZodUnion<readonly [z.ZodObject<{
|
|
71
26
|
CanActAs: z.ZodObject<{
|
|
72
27
|
party: z.ZodString;
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
}, {
|
|
76
|
-
party: string;
|
|
77
|
-
}>;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
CanActAs: {
|
|
80
|
-
party: string;
|
|
81
|
-
};
|
|
82
|
-
}, {
|
|
83
|
-
CanActAs: {
|
|
84
|
-
party: string;
|
|
85
|
-
};
|
|
86
|
-
}>, z.ZodObject<{
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
87
30
|
CanReadAs: z.ZodObject<{
|
|
88
31
|
party: z.ZodString;
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
}>;
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
};
|
|
102
|
-
}>, z.ZodObject<{
|
|
103
|
-
CanReadAsAnyParty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
CanReadAsAnyParty: {};
|
|
106
|
-
}, {
|
|
107
|
-
CanReadAsAnyParty: {};
|
|
108
|
-
}>, z.ZodObject<{
|
|
109
|
-
Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
Empty: {};
|
|
112
|
-
}, {
|
|
113
|
-
Empty: {};
|
|
114
|
-
}>, z.ZodObject<{
|
|
115
|
-
IdentityProviderAdmin: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
IdentityProviderAdmin: {};
|
|
118
|
-
}, {
|
|
119
|
-
IdentityProviderAdmin: {};
|
|
120
|
-
}>, z.ZodObject<{
|
|
121
|
-
ParticipantAdmin: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
122
|
-
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
ParticipantAdmin: {};
|
|
124
|
-
}, {
|
|
125
|
-
ParticipantAdmin: {};
|
|
126
|
-
}>]>;
|
|
127
|
-
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
kind: {
|
|
129
|
-
CanActAs: {
|
|
130
|
-
party: string;
|
|
131
|
-
};
|
|
132
|
-
} | {
|
|
133
|
-
CanReadAs: {
|
|
134
|
-
party: string;
|
|
135
|
-
};
|
|
136
|
-
} | {
|
|
137
|
-
CanReadAsAnyParty: {};
|
|
138
|
-
} | {
|
|
139
|
-
Empty: {};
|
|
140
|
-
} | {
|
|
141
|
-
IdentityProviderAdmin: {};
|
|
142
|
-
} | {
|
|
143
|
-
ParticipantAdmin: {};
|
|
144
|
-
};
|
|
145
|
-
}, {
|
|
146
|
-
kind: {
|
|
147
|
-
CanActAs: {
|
|
148
|
-
party: string;
|
|
149
|
-
};
|
|
150
|
-
} | {
|
|
151
|
-
CanReadAs: {
|
|
152
|
-
party: string;
|
|
153
|
-
};
|
|
154
|
-
} | {
|
|
155
|
-
CanReadAsAnyParty: {};
|
|
156
|
-
} | {
|
|
157
|
-
Empty: {};
|
|
158
|
-
} | {
|
|
159
|
-
IdentityProviderAdmin: {};
|
|
160
|
-
} | {
|
|
161
|
-
ParticipantAdmin: {};
|
|
162
|
-
};
|
|
163
|
-
}>, "many">>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
user: {
|
|
166
|
-
id: string;
|
|
167
|
-
isDeactivated: boolean;
|
|
168
|
-
identityProviderId?: string | undefined;
|
|
169
|
-
primaryParty?: string | undefined;
|
|
170
|
-
metadata?: {
|
|
171
|
-
resourceVersion: string;
|
|
172
|
-
annotations: Record<string, string>;
|
|
173
|
-
} | undefined;
|
|
174
|
-
};
|
|
175
|
-
rights?: {
|
|
176
|
-
kind: {
|
|
177
|
-
CanActAs: {
|
|
178
|
-
party: string;
|
|
179
|
-
};
|
|
180
|
-
} | {
|
|
181
|
-
CanReadAs: {
|
|
182
|
-
party: string;
|
|
183
|
-
};
|
|
184
|
-
} | {
|
|
185
|
-
CanReadAsAnyParty: {};
|
|
186
|
-
} | {
|
|
187
|
-
Empty: {};
|
|
188
|
-
} | {
|
|
189
|
-
IdentityProviderAdmin: {};
|
|
190
|
-
} | {
|
|
191
|
-
ParticipantAdmin: {};
|
|
192
|
-
};
|
|
193
|
-
}[] | undefined;
|
|
194
|
-
}, {
|
|
195
|
-
user: {
|
|
196
|
-
id: string;
|
|
197
|
-
isDeactivated: boolean;
|
|
198
|
-
identityProviderId?: string | undefined;
|
|
199
|
-
primaryParty?: string | undefined;
|
|
200
|
-
metadata?: {
|
|
201
|
-
resourceVersion: string;
|
|
202
|
-
annotations: Record<string, string>;
|
|
203
|
-
} | undefined;
|
|
204
|
-
};
|
|
205
|
-
rights?: {
|
|
206
|
-
kind: {
|
|
207
|
-
CanActAs: {
|
|
208
|
-
party: string;
|
|
209
|
-
};
|
|
210
|
-
} | {
|
|
211
|
-
CanReadAs: {
|
|
212
|
-
party: string;
|
|
213
|
-
};
|
|
214
|
-
} | {
|
|
215
|
-
CanReadAsAnyParty: {};
|
|
216
|
-
} | {
|
|
217
|
-
Empty: {};
|
|
218
|
-
} | {
|
|
219
|
-
IdentityProviderAdmin: {};
|
|
220
|
-
} | {
|
|
221
|
-
ParticipantAdmin: {};
|
|
222
|
-
};
|
|
223
|
-
}[] | undefined;
|
|
224
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
CanReadAsAnyParty: z.ZodObject<{}, z.core.$strip>;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
Empty: z.ZodObject<{}, z.core.$strip>;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
IdentityProviderAdmin: z.ZodObject<{}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
ParticipantAdmin: z.ZodObject<{}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>]>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
225
44
|
/**
|
|
226
45
|
* Parameters for interactive submission upload DAR.
|
|
227
46
|
*/
|
|
228
47
|
export declare const InteractiveSubmissionUploadDarParamsSchema: z.ZodObject<{
|
|
229
|
-
/** DAR file content as a buffer or string. */
|
|
230
48
|
darFile: z.ZodAny;
|
|
231
|
-
},
|
|
232
|
-
darFile?: any;
|
|
233
|
-
}, {
|
|
234
|
-
darFile?: any;
|
|
235
|
-
}>;
|
|
49
|
+
}, z.core.$strip>;
|
|
236
50
|
/**
|
|
237
51
|
* Parameters for interactive submission get preferred package version.
|
|
238
52
|
*/
|
|
239
53
|
export declare const InteractiveSubmissionGetPreferredPackageVersionParamsSchema: z.ZodObject<{
|
|
240
|
-
|
|
241
|
-
parties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
242
|
-
/** Package name for which to resolve the preferred package. */
|
|
54
|
+
parties: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
243
55
|
packageName: z.ZodString;
|
|
244
|
-
/** Vetting valid at timestamp (optional). */
|
|
245
56
|
vettingValidAt: z.ZodOptional<z.ZodString>;
|
|
246
|
-
/** Synchronizer ID (optional). */
|
|
247
57
|
synchronizerId: z.ZodOptional<z.ZodString>;
|
|
248
|
-
},
|
|
249
|
-
packageName: string;
|
|
250
|
-
synchronizerId?: string | undefined;
|
|
251
|
-
parties?: string[] | undefined;
|
|
252
|
-
vettingValidAt?: string | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
packageName: string;
|
|
255
|
-
synchronizerId?: string | undefined;
|
|
256
|
-
parties?: string[] | undefined;
|
|
257
|
-
vettingValidAt?: string | undefined;
|
|
258
|
-
}>;
|
|
58
|
+
}, z.core.$strip>;
|
|
259
59
|
/**
|
|
260
60
|
* Parameters for interactive submission get preferred packages.
|
|
261
61
|
*/
|
|
262
62
|
export declare const InteractiveSubmissionGetPreferredPackagesParamsSchema: z.ZodObject<{
|
|
263
|
-
/** Package vetting requirements. */
|
|
264
63
|
packageVettingRequirements: z.ZodArray<z.ZodObject<{
|
|
265
|
-
|
|
266
|
-
parties: z.ZodArray<z.ZodString, "many">;
|
|
267
|
-
/** Package name for which to resolve the preferred package. */
|
|
64
|
+
parties: z.ZodArray<z.ZodString>;
|
|
268
65
|
packageName: z.ZodString;
|
|
269
|
-
},
|
|
270
|
-
parties: string[];
|
|
271
|
-
packageName: string;
|
|
272
|
-
}, {
|
|
273
|
-
parties: string[];
|
|
274
|
-
packageName: string;
|
|
275
|
-
}>, "many">;
|
|
276
|
-
/** Synchronizer ID (optional). */
|
|
66
|
+
}, z.core.$strip>>;
|
|
277
67
|
synchronizerId: z.ZodOptional<z.ZodString>;
|
|
278
|
-
/** Vetting valid at timestamp (optional). */
|
|
279
68
|
vettingValidAt: z.ZodOptional<z.ZodString>;
|
|
280
|
-
},
|
|
281
|
-
packageVettingRequirements: {
|
|
282
|
-
parties: string[];
|
|
283
|
-
packageName: string;
|
|
284
|
-
}[];
|
|
285
|
-
synchronizerId?: string | undefined;
|
|
286
|
-
vettingValidAt?: string | undefined;
|
|
287
|
-
}, {
|
|
288
|
-
packageVettingRequirements: {
|
|
289
|
-
parties: string[];
|
|
290
|
-
packageName: string;
|
|
291
|
-
}[];
|
|
292
|
-
synchronizerId?: string | undefined;
|
|
293
|
-
vettingValidAt?: string | undefined;
|
|
294
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
295
70
|
export type InteractiveSubmissionAllocatePartyParams = z.infer<typeof InteractiveSubmissionAllocatePartyParamsSchema>;
|
|
296
71
|
export type InteractiveSubmissionCreateUserParams = z.infer<typeof InteractiveSubmissionCreateUserParamsSchema>;
|
|
297
72
|
export type InteractiveSubmissionUploadDarParams = z.infer<typeof InteractiveSubmissionUploadDarParamsSchema>;
|
package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive-submission.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/interactive-submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,8CAA8C
|
|
1
|
+
{"version":3,"file":"interactive-submission.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/interactive-submission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,8CAA8C;;;;iBAOzD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BtD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0CAA0C;;iBAGrD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2DAA2D;;;;;iBAStE,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qDAAqD;;;;;;;iBAYhE,CAAC;AAGH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AACtH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAChH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC;AAC9G,MAAM,MAAM,qDAAqD,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2DAA2D,CAAC,CAAC;AAChJ,MAAM,MAAM,+CAA+C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qDAAqD,CAAC,CAAC"}
|
|
@@ -31,7 +31,7 @@ exports.InteractiveSubmissionCreateUserParamsSchema = zod_1.z.object({
|
|
|
31
31
|
/** Resource version for concurrent change detection. */
|
|
32
32
|
resourceVersion: zod_1.z.string(),
|
|
33
33
|
/** Annotations for the resource. */
|
|
34
|
-
annotations: zod_1.z.record(zod_1.z.string()),
|
|
34
|
+
annotations: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
35
35
|
}).optional(),
|
|
36
36
|
/** Identity provider ID (optional). */
|
|
37
37
|
identityProviderId: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive-submission.js","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/interactive-submission.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iCAA8C;AAE9C;;GAEG;AACU,QAAA,8CAA8C,GAAG,OAAC,CAAC,MAAM,CAAC;IACrE,wCAAwC;IACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,+BAA+B;IAC/B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,sCAAsC;IACtC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,2CAA2C,GAAG,OAAC,CAAC,MAAM,CAAC;IAClE,sBAAsB;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,uBAAuB;QACvB,EAAE,EAAE,2BAAoB;QACxB,6CAA6C;QAC7C,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,uCAAuC;QACvC,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE;QAC1B,gCAAgC;QAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACjB,wDAAwD;YACxD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;YAC3B,oCAAoC;YACpC,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"interactive-submission.js","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/interactive-submission.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iCAA8C;AAE9C;;GAEG;AACU,QAAA,8CAA8C,GAAG,OAAC,CAAC,MAAM,CAAC;IACrE,wCAAwC;IACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,+BAA+B;IAC/B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,sCAAsC;IACtC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,2CAA2C,GAAG,OAAC,CAAC,MAAM,CAAC;IAClE,sBAAsB;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACb,uBAAuB;QACvB,EAAE,EAAE,2BAAoB;QACxB,6CAA6C;QAC7C,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,uCAAuC;QACvC,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE;QAC1B,gCAAgC;QAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACjB,wDAAwD;YACxD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;YAC3B,oCAAoC;YACpC,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC;SAC9C,CAAC,CAAC,QAAQ,EAAE;QACb,uCAAuC;QACvC,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC1C,CAAC;IACF,+CAA+C;IAC/C,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;QACvB,yBAAyB;QACzB,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC;YACZ,OAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;YACvD,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;YACxD,OAAC,CAAC,MAAM,CAAC,EAAE,iBAAiB,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;YAC7C,OAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;YACjC,OAAC,CAAC,MAAM,CAAC,EAAE,qBAAqB,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;YACjD,OAAC,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;SAC7C,CAAC;KACH,CAAC,CAAC,CAAC,QAAQ,EAAE;CACf,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,0CAA0C,GAAG,OAAC,CAAC,MAAM,CAAC;IACjE,8CAA8C;IAC9C,OAAO,EAAE,OAAC,CAAC,GAAG,EAAE,EAAE,mBAAmB;CACtC,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,2DAA2D,GAAG,OAAC,CAAC,MAAM,CAAC;IAClF,mEAAmE;IACnE,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,+DAA+D;IAC/D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,6CAA6C;IAC7C,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,kCAAkC;IAClC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH;;GAEG;AACU,QAAA,qDAAqD,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5E,oCAAoC;IACpC,0BAA0B,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;QAC3C,wDAAwD;QACxD,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC5B,+DAA+D;QAC/D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;KACxB,CAAC,CAAC;IACH,kCAAkC;IAClC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,6CAA6C;IAC7C,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC"}
|
|
@@ -8,87 +8,35 @@ export declare const ListPackagesParamsSchema: z.ZodVoid;
|
|
|
8
8
|
* Schema for upload DAR file parameters.
|
|
9
9
|
*/
|
|
10
10
|
export declare const UploadDarFileParamsSchema: z.ZodObject<{
|
|
11
|
-
|
|
12
|
-
darFile: z.ZodUnion<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodString]>;
|
|
13
|
-
/** Optional submission ID for deduplication. */
|
|
11
|
+
darFile: z.ZodUnion<readonly [z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>, z.ZodString]>;
|
|
14
12
|
submissionId: z.ZodOptional<z.ZodString>;
|
|
15
|
-
},
|
|
16
|
-
darFile: string | Buffer<ArrayBufferLike>;
|
|
17
|
-
submissionId?: string | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
darFile: string | Buffer<ArrayBufferLike>;
|
|
20
|
-
submissionId?: string | undefined;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
/**
|
|
23
15
|
* Schema for get package status parameters.
|
|
24
16
|
*/
|
|
25
17
|
export declare const GetPackageStatusParamsSchema: z.ZodObject<{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
packageId: string;
|
|
30
|
-
}, {
|
|
31
|
-
packageId: string;
|
|
32
|
-
}>;
|
|
18
|
+
packageId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
33
20
|
/**
|
|
34
21
|
* Schema for get preferred packages parameters.
|
|
35
22
|
*/
|
|
36
23
|
export declare const GetPreferredPackagesParamsSchema: z.ZodObject<{
|
|
37
|
-
/** Package vetting requirements. */
|
|
38
24
|
packageVettingRequirements: z.ZodArray<z.ZodObject<{
|
|
39
|
-
|
|
40
|
-
parties: z.ZodArray<z.ZodString, "many">;
|
|
41
|
-
/** Package name for which to resolve the preferred package. */
|
|
25
|
+
parties: z.ZodArray<z.ZodString>;
|
|
42
26
|
packageName: z.ZodString;
|
|
43
|
-
},
|
|
44
|
-
parties: string[];
|
|
45
|
-
packageName: string;
|
|
46
|
-
}, {
|
|
47
|
-
parties: string[];
|
|
48
|
-
packageName: string;
|
|
49
|
-
}>, "many">;
|
|
50
|
-
/** Synchronizer ID (optional). */
|
|
27
|
+
}, z.core.$strip>>;
|
|
51
28
|
synchronizerId: z.ZodOptional<z.ZodString>;
|
|
52
|
-
/** Vetting valid at timestamp (optional). */
|
|
53
29
|
vettingValidAt: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
packageVettingRequirements: {
|
|
56
|
-
parties: string[];
|
|
57
|
-
packageName: string;
|
|
58
|
-
}[];
|
|
59
|
-
synchronizerId?: string | undefined;
|
|
60
|
-
vettingValidAt?: string | undefined;
|
|
61
|
-
}, {
|
|
62
|
-
packageVettingRequirements: {
|
|
63
|
-
parties: string[];
|
|
64
|
-
packageName: string;
|
|
65
|
-
}[];
|
|
66
|
-
synchronizerId?: string | undefined;
|
|
67
|
-
vettingValidAt?: string | undefined;
|
|
68
|
-
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
69
31
|
/**
|
|
70
32
|
* Schema for get preferred package version parameters.
|
|
71
33
|
*/
|
|
72
34
|
export declare const GetPreferredPackageVersionParamsSchema: z.ZodObject<{
|
|
73
|
-
/** Package name to get preferred version for. */
|
|
74
35
|
packageName: z.ZodString;
|
|
75
|
-
|
|
76
|
-
parties: z.ZodArray<z.ZodString, "many">;
|
|
77
|
-
/** Synchronizer ID (optional). */
|
|
36
|
+
parties: z.ZodArray<z.ZodString>;
|
|
78
37
|
synchronizerId: z.ZodOptional<z.ZodString>;
|
|
79
|
-
/** Vetting valid at timestamp (optional). */
|
|
80
38
|
vettingValidAt: z.ZodOptional<z.ZodString>;
|
|
81
|
-
},
|
|
82
|
-
parties: string[];
|
|
83
|
-
packageName: string;
|
|
84
|
-
synchronizerId?: string | undefined;
|
|
85
|
-
vettingValidAt?: string | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
parties: string[];
|
|
88
|
-
packageName: string;
|
|
89
|
-
synchronizerId?: string | undefined;
|
|
90
|
-
vettingValidAt?: string | undefined;
|
|
91
|
-
}>;
|
|
39
|
+
}, z.core.$strip>;
|
|
92
40
|
export type ListPackagesParams = z.infer<typeof ListPackagesParamsSchema>;
|
|
93
41
|
export type UploadDarFileParams = z.infer<typeof UploadDarFileParamsSchema>;
|
|
94
42
|
export type GetPackageStatusParams = z.infer<typeof GetPackageStatusParamsSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/packages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/packages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;iBAKpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B;;iBAGvC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;iBAY3C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;iBASjD,CAAC;AAGH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC"}
|
|
@@ -3,61 +3,22 @@ import { z } from 'zod';
|
|
|
3
3
|
* Parameters for listing known parties.
|
|
4
4
|
*/
|
|
5
5
|
export declare const ListKnownPartiesParamsSchema: z.ZodObject<{
|
|
6
|
-
/** Maximum number of elements in a returned page (optional). */
|
|
7
6
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
/** Token to continue results from a given page (optional). */
|
|
9
7
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
10
|
-
},
|
|
11
|
-
pageSize?: number | undefined;
|
|
12
|
-
pageToken?: string | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
pageSize?: number | undefined;
|
|
15
|
-
pageToken?: string | undefined;
|
|
16
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
17
9
|
/**
|
|
18
10
|
* Parameters for allocating a new party.
|
|
19
11
|
*/
|
|
20
12
|
export declare const AllocatePartyParamsSchema: z.ZodObject<{
|
|
21
|
-
/** Party ID hint (optional). */
|
|
22
13
|
partyIdHint: z.ZodOptional<z.ZodString>;
|
|
23
|
-
/** Local metadata (optional). */
|
|
24
14
|
localMetadata: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
/** Resource version for concurrent change detection. */
|
|
26
15
|
resourceVersion: z.ZodString;
|
|
27
|
-
/** Annotations for the resource. */
|
|
28
16
|
annotations: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
29
|
-
},
|
|
30
|
-
resourceVersion: string;
|
|
31
|
-
annotations: Record<string, string>;
|
|
32
|
-
}, {
|
|
33
|
-
resourceVersion: string;
|
|
34
|
-
annotations: Record<string, string>;
|
|
35
|
-
}>>;
|
|
36
|
-
/** Identity provider ID (optional). */
|
|
17
|
+
}, z.core.$strip>>;
|
|
37
18
|
identityProviderId: z.ZodOptional<z.ZodString>;
|
|
38
|
-
/** Synchronizer ID (optional). */
|
|
39
19
|
synchronizerId: z.ZodOptional<z.ZodString>;
|
|
40
|
-
/** User ID to grant rights to (optional). */
|
|
41
20
|
userId: z.ZodOptional<z.ZodString>;
|
|
42
|
-
},
|
|
43
|
-
userId?: string | undefined;
|
|
44
|
-
synchronizerId?: string | undefined;
|
|
45
|
-
partyIdHint?: string | undefined;
|
|
46
|
-
localMetadata?: {
|
|
47
|
-
resourceVersion: string;
|
|
48
|
-
annotations: Record<string, string>;
|
|
49
|
-
} | undefined;
|
|
50
|
-
identityProviderId?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
userId?: string | undefined;
|
|
53
|
-
synchronizerId?: string | undefined;
|
|
54
|
-
partyIdHint?: string | undefined;
|
|
55
|
-
localMetadata?: {
|
|
56
|
-
resourceVersion: string;
|
|
57
|
-
annotations: Record<string, string>;
|
|
58
|
-
} | undefined;
|
|
59
|
-
identityProviderId?: string | undefined;
|
|
60
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
61
22
|
/**
|
|
62
23
|
* Parameters for getting participant ID.
|
|
63
24
|
*/
|
|
@@ -66,103 +27,28 @@ export declare const GetParticipantIdParamsSchema: z.ZodVoid;
|
|
|
66
27
|
* Parameters for getting party details.
|
|
67
28
|
*/
|
|
68
29
|
export declare const GetPartyDetailsParamsSchema: z.ZodObject<{
|
|
69
|
-
|
|
70
|
-
party: z.ZodEffects<z.ZodString, string, string>;
|
|
71
|
-
/** Identity provider ID (optional). */
|
|
30
|
+
party: z.ZodString;
|
|
72
31
|
identityProviderId: z.ZodOptional<z.ZodString>;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
party: string;
|
|
77
|
-
parties?: string[] | undefined;
|
|
78
|
-
identityProviderId?: string | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
party: string;
|
|
81
|
-
parties?: string[] | undefined;
|
|
82
|
-
identityProviderId?: string | undefined;
|
|
83
|
-
}>;
|
|
32
|
+
parties: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
84
34
|
/**
|
|
85
35
|
* Parameters for updating party details.
|
|
86
36
|
*/
|
|
87
37
|
export declare const UpdatePartyDetailsParamsSchema: z.ZodObject<{
|
|
88
|
-
|
|
89
|
-
party: z.ZodEffects<z.ZodString, string, string>;
|
|
90
|
-
/** Party details to update. */
|
|
38
|
+
party: z.ZodString;
|
|
91
39
|
partyDetails: z.ZodObject<{
|
|
92
|
-
/** Party identifier. */
|
|
93
40
|
party: z.ZodString;
|
|
94
|
-
/** Whether the party is local. */
|
|
95
41
|
isLocal: z.ZodBoolean;
|
|
96
|
-
/** Local metadata (optional). */
|
|
97
42
|
localMetadata: z.ZodOptional<z.ZodObject<{
|
|
98
|
-
/** Resource version for concurrent change detection. */
|
|
99
43
|
resourceVersion: z.ZodString;
|
|
100
|
-
/** Annotations for the resource. */
|
|
101
44
|
annotations: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
102
|
-
},
|
|
103
|
-
resourceVersion: string;
|
|
104
|
-
annotations: Record<string, string>;
|
|
105
|
-
}, {
|
|
106
|
-
resourceVersion: string;
|
|
107
|
-
annotations: Record<string, string>;
|
|
108
|
-
}>>;
|
|
109
|
-
/** Identity provider ID (optional). */
|
|
45
|
+
}, z.core.$strip>>;
|
|
110
46
|
identityProviderId: z.ZodOptional<z.ZodString>;
|
|
111
|
-
},
|
|
112
|
-
party: string;
|
|
113
|
-
isLocal: boolean;
|
|
114
|
-
localMetadata?: {
|
|
115
|
-
resourceVersion: string;
|
|
116
|
-
annotations: Record<string, string>;
|
|
117
|
-
} | undefined;
|
|
118
|
-
identityProviderId?: string | undefined;
|
|
119
|
-
}, {
|
|
120
|
-
party: string;
|
|
121
|
-
isLocal: boolean;
|
|
122
|
-
localMetadata?: {
|
|
123
|
-
resourceVersion: string;
|
|
124
|
-
annotations: Record<string, string>;
|
|
125
|
-
} | undefined;
|
|
126
|
-
identityProviderId?: string | undefined;
|
|
127
|
-
}>;
|
|
128
|
-
/** Update mask for partial updates. */
|
|
47
|
+
}, z.core.$strip>;
|
|
129
48
|
updateMask: z.ZodObject<{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
paths: string[];
|
|
134
|
-
}, {
|
|
135
|
-
paths: string[];
|
|
136
|
-
}>;
|
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
party: string;
|
|
139
|
-
partyDetails: {
|
|
140
|
-
party: string;
|
|
141
|
-
isLocal: boolean;
|
|
142
|
-
localMetadata?: {
|
|
143
|
-
resourceVersion: string;
|
|
144
|
-
annotations: Record<string, string>;
|
|
145
|
-
} | undefined;
|
|
146
|
-
identityProviderId?: string | undefined;
|
|
147
|
-
};
|
|
148
|
-
updateMask: {
|
|
149
|
-
paths: string[];
|
|
150
|
-
};
|
|
151
|
-
}, {
|
|
152
|
-
party: string;
|
|
153
|
-
partyDetails: {
|
|
154
|
-
party: string;
|
|
155
|
-
isLocal: boolean;
|
|
156
|
-
localMetadata?: {
|
|
157
|
-
resourceVersion: string;
|
|
158
|
-
annotations: Record<string, string>;
|
|
159
|
-
} | undefined;
|
|
160
|
-
identityProviderId?: string | undefined;
|
|
161
|
-
};
|
|
162
|
-
updateMask: {
|
|
163
|
-
paths: string[];
|
|
164
|
-
};
|
|
165
|
-
}>;
|
|
49
|
+
paths: z.ZodArray<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
}, z.core.$strip>;
|
|
166
52
|
export type ListKnownPartiesParams = z.infer<typeof ListKnownPartiesParamsSchema>;
|
|
167
53
|
export type AllocatePartyParams = z.infer<typeof AllocatePartyParamsSchema>;
|
|
168
54
|
export type GetParticipantIdParams = z.infer<typeof GetParticipantIdParamsSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parties.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/parties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"parties.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/operations/parties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;iBAKvC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;iBAgBpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;iBAOtC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;iBAwBzC,CAAC;AAGH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -23,7 +23,7 @@ exports.AllocatePartyParamsSchema = zod_1.z.object({
|
|
|
23
23
|
/** Resource version for concurrent change detection. */
|
|
24
24
|
resourceVersion: zod_1.z.string(),
|
|
25
25
|
/** Annotations for the resource. */
|
|
26
|
-
annotations: zod_1.z.record(zod_1.z.string()),
|
|
26
|
+
annotations: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
27
27
|
}).optional(),
|
|
28
28
|
/** Identity provider ID (optional). */
|
|
29
29
|
identityProviderId: zod_1.z.string().optional(),
|
|
@@ -64,7 +64,7 @@ exports.UpdatePartyDetailsParamsSchema = zod_1.z.object({
|
|
|
64
64
|
/** Resource version for concurrent change detection. */
|
|
65
65
|
resourceVersion: zod_1.z.string(),
|
|
66
66
|
/** Annotations for the resource. */
|
|
67
|
-
annotations: zod_1.z.record(zod_1.z.string()),
|
|
67
|
+
annotations: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
68
68
|
}).optional(),
|
|
69
69
|
/** Identity provider ID (optional). */
|
|
70
70
|
identityProviderId: zod_1.z.string().optional(),
|