@layerzerolabs/common-canton 0.2.102 → 0.2.104
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/.turbo/turbo-build.log +718 -710
- package/.turbo/turbo-test.log +18 -18
- package/dist/{KNUJUERI.js → 25GNLJIH.js} +3 -3
- package/dist/{KNUJUERI.js.map → 25GNLJIH.js.map} +1 -1
- package/dist/{SIXVG7DR.js → 2UWZKS5E.js} +3 -3
- package/dist/{SIXVG7DR.js.map → 2UWZKS5E.js.map} +1 -1
- package/dist/{JGMLJJM5.js → 37DZS34C.js} +3 -3
- package/dist/{JGMLJJM5.js.map → 37DZS34C.js.map} +1 -1
- package/dist/{ORO3GF7S.js → 3UD2GTXW.js} +3 -3
- package/dist/{ORO3GF7S.js.map → 3UD2GTXW.js.map} +1 -1
- package/dist/{CJEDJ6BA.js → 3YCNHEVD.js} +40 -9
- package/dist/3YCNHEVD.js.map +1 -0
- package/dist/{XUUV67AB.js → 42XERBT4.js} +3 -3
- package/dist/{XUUV67AB.js.map → 42XERBT4.js.map} +1 -1
- package/dist/{WCCLV452.js → 4AKFOZFY.js} +5 -5
- package/dist/{WCCLV452.js.map → 4AKFOZFY.js.map} +1 -1
- package/dist/{QHLG5QK7.js → 4AM6UVPL.js} +3 -3
- package/dist/{QHLG5QK7.js.map → 4AM6UVPL.js.map} +1 -1
- package/dist/{ZPTSW4ST.js → 4UM5TVKI.js} +3 -3
- package/dist/{ZPTSW4ST.js.map → 4UM5TVKI.js.map} +1 -1
- package/dist/{B7EQ3SWK.js → 4VLNRPYZ.js} +3 -3
- package/dist/{B7EQ3SWK.js.map → 4VLNRPYZ.js.map} +1 -1
- package/dist/{G4PPJP65.js → 5N747JZQ.js} +3 -3
- package/dist/{G4PPJP65.js.map → 5N747JZQ.js.map} +1 -1
- package/dist/{PI2K7A3Q.js → 5RZS7DZN.js} +3 -3
- package/dist/{PI2K7A3Q.js.map → 5RZS7DZN.js.map} +1 -1
- package/dist/{T5NCFR3W.js → 623CCK2L.js} +3 -3
- package/dist/{T5NCFR3W.js.map → 623CCK2L.js.map} +1 -1
- package/dist/{C77Y3MIG.js → 6GAFSKMN.js} +3 -3
- package/dist/{C77Y3MIG.js.map → 6GAFSKMN.js.map} +1 -1
- package/dist/{SWAXT3ZN.js → A7U4VVQK.js} +3 -3
- package/dist/{SWAXT3ZN.js.map → A7U4VVQK.js.map} +1 -1
- package/dist/{3GTU7DXV.js → AV2FN74T.js} +4 -4
- package/dist/{3GTU7DXV.js.map → AV2FN74T.js.map} +1 -1
- package/dist/{OZ5IUCBI.js → AYAFFPBV.js} +3 -3
- package/dist/{OZ5IUCBI.js.map → AYAFFPBV.js.map} +1 -1
- package/dist/{3EHEF6PF.js → BJXKGZ5Y.js} +4 -4
- package/dist/{3EHEF6PF.js.map → BJXKGZ5Y.js.map} +1 -1
- package/dist/{JEGCDOON.js → CLFKYN43.js} +4 -4
- package/dist/{JEGCDOON.js.map → CLFKYN43.js.map} +1 -1
- package/dist/{K4SNVOCJ.js → CXFHE5WB.js} +3 -3
- package/dist/{K4SNVOCJ.js.map → CXFHE5WB.js.map} +1 -1
- package/dist/{75QKYROD.js → CXNQT7WY.js} +2 -2
- package/dist/{75QKYROD.js.map → CXNQT7WY.js.map} +1 -1
- package/dist/{F46SX6MN.js → D3AV6J7R.js} +3 -3
- package/dist/{F46SX6MN.js.map → D3AV6J7R.js.map} +1 -1
- package/dist/{46Y2JCNE.js → EIXIZULE.js} +35 -35
- package/dist/{46Y2JCNE.js.map → EIXIZULE.js.map} +1 -1
- package/dist/{ZY3FX7W5.js → GMQEAD3I.js} +3 -3
- package/dist/{ZY3FX7W5.js.map → GMQEAD3I.js.map} +1 -1
- package/dist/{KBZ6YXX4.js → H7FW24YI.js} +3 -3
- package/dist/{KBZ6YXX4.js.map → H7FW24YI.js.map} +1 -1
- package/dist/{QSYGA6OS.js → ICTUC6FF.js} +3 -3
- package/dist/{QSYGA6OS.js.map → ICTUC6FF.js.map} +1 -1
- package/dist/{Y4LSYZDO.js → IOTRKLGP.js} +4 -4
- package/dist/{Y4LSYZDO.js.map → IOTRKLGP.js.map} +1 -1
- package/dist/{MVXDS4XR.js → JKQLMXRN.js} +3 -3
- package/dist/{MVXDS4XR.js.map → JKQLMXRN.js.map} +1 -1
- package/dist/{WDSUM647.js → JRFMLEIC.js} +3 -3
- package/dist/{WDSUM647.js.map → JRFMLEIC.js.map} +1 -1
- package/dist/{JTRUQM7V.js → JV2DWUBW.js} +74 -12
- package/dist/JV2DWUBW.js.map +1 -0
- package/dist/{YCJNLHFD.js → KCRFOKIB.js} +3 -3
- package/dist/{YCJNLHFD.js.map → KCRFOKIB.js.map} +1 -1
- package/dist/{TGWOYSYK.js → KJRFPBY4.js} +3 -3
- package/dist/{TGWOYSYK.js.map → KJRFPBY4.js.map} +1 -1
- package/dist/{4GYCD3G4.js → KK2NBQSG.js} +3 -3
- package/dist/{4GYCD3G4.js.map → KK2NBQSG.js.map} +1 -1
- package/dist/{3KJAGL4R.js → MDEOBKC3.js} +3 -3
- package/dist/{3KJAGL4R.js.map → MDEOBKC3.js.map} +1 -1
- package/dist/{CTDZ456O.js → MDLCDBAQ.js} +13 -7
- package/dist/MDLCDBAQ.js.map +1 -0
- package/dist/{ZOR226BV.js → MJCI4XZ2.js} +3 -3
- package/dist/{ZOR226BV.js.map → MJCI4XZ2.js.map} +1 -1
- package/dist/{YKFGZTXG.js → MZMRFQTR.js} +3 -3
- package/dist/{YKFGZTXG.js.map → MZMRFQTR.js.map} +1 -1
- package/dist/{JO5BWI3K.js → NLMU226B.js} +3 -3
- package/dist/{JO5BWI3K.js.map → NLMU226B.js.map} +1 -1
- package/dist/{TBC7IPN4.js → NWXHRFA3.js} +4 -4
- package/dist/{TBC7IPN4.js.map → NWXHRFA3.js.map} +1 -1
- package/dist/{WVIUQYTV.js → NX67V54F.js} +3 -3
- package/dist/{WVIUQYTV.js.map → NX67V54F.js.map} +1 -1
- package/dist/{A2K22XWL.js → OMRF3GH2.js} +3 -3
- package/dist/{A2K22XWL.js.map → OMRF3GH2.js.map} +1 -1
- package/dist/{U4Y3HOBO.js → OQ2FVATH.js} +3 -3
- package/dist/{U4Y3HOBO.js.map → OQ2FVATH.js.map} +1 -1
- package/dist/{OQKVGBIX.js → P3A2XIFY.js} +3 -3
- package/dist/{OQKVGBIX.js.map → P3A2XIFY.js.map} +1 -1
- package/dist/{KDGN5Z34.js → PHVMGN7T.js} +3 -3
- package/dist/{KDGN5Z34.js.map → PHVMGN7T.js.map} +1 -1
- package/dist/{NZJBYDXC.js → PVONQCBG.js} +3 -3
- package/dist/{NZJBYDXC.js.map → PVONQCBG.js.map} +1 -1
- package/dist/{73I7CBP3.js → QYQCAXCB.js} +3 -3
- package/dist/{73I7CBP3.js.map → QYQCAXCB.js.map} +1 -1
- package/dist/{ONXLINKX.js → R26MH4UH.js} +4 -4
- package/dist/{ONXLINKX.js.map → R26MH4UH.js.map} +1 -1
- package/dist/{35Q7BMW7.js → REC34FNU.js} +3 -3
- package/dist/{35Q7BMW7.js.map → REC34FNU.js.map} +1 -1
- package/dist/{HCFMCRFF.js → RQXQCK22.js} +3 -3
- package/dist/{HCFMCRFF.js.map → RQXQCK22.js.map} +1 -1
- package/dist/{VVBAHHOY.js → TL2NURGK.js} +4 -4
- package/dist/{VVBAHHOY.js.map → TL2NURGK.js.map} +1 -1
- package/dist/{AMLJTQWB.js → TWUSN2QY.js} +3 -3
- package/dist/{AMLJTQWB.js.map → TWUSN2QY.js.map} +1 -1
- package/dist/{NKXEPWZV.js → U7ISOK6B.js} +3 -3
- package/dist/{NKXEPWZV.js.map → U7ISOK6B.js.map} +1 -1
- package/dist/{6YYHHOJO.js → VVR6BIVE.js} +3 -3
- package/dist/{6YYHHOJO.js.map → VVR6BIVE.js.map} +1 -1
- package/dist/{5SIPGHZY.js → W53LLP7R.js} +3 -3
- package/dist/{5SIPGHZY.js.map → W53LLP7R.js.map} +1 -1
- package/dist/{ZLPED4Y2.js → WIQFSNER.js} +3 -3
- package/dist/{ZLPED4Y2.js.map → WIQFSNER.js.map} +1 -1
- package/dist/{STHJGYPG.js → WRPKZZ4E.js} +3 -3
- package/dist/{STHJGYPG.js.map → WRPKZZ4E.js.map} +1 -1
- package/dist/{Y53QRDCG.js → XSEEW6TB.js} +3 -3
- package/dist/{Y53QRDCG.js.map → XSEEW6TB.js.map} +1 -1
- package/dist/{DCGM3XRM.js → YAMAXOF4.js} +3 -3
- package/dist/{DCGM3XRM.js.map → YAMAXOF4.js.map} +1 -1
- package/dist/{OELP4BR2.js → YN7J2UOM.js} +3 -3
- package/dist/{OELP4BR2.js.map → YN7J2UOM.js.map} +1 -1
- package/dist/YVZO3C4U.js +41 -0
- package/dist/YVZO3C4U.js.map +1 -0
- package/dist/{KH7RP6Q4.js → ZF6ASBPX.js} +3 -3
- package/dist/{KH7RP6Q4.js.map → ZF6ASBPX.js.map} +1 -1
- package/dist/{EDQ6FYO4.js → ZN2CNFMH.js} +3 -3
- package/dist/{EDQ6FYO4.js.map → ZN2CNFMH.js.map} +1 -1
- package/dist/client/canton-client.d.ts +29 -1
- package/dist/client/canton-client.d.ts.map +1 -1
- package/dist/client/canton-client.js +90 -90
- package/dist/client/index.js +91 -91
- package/dist/client/interface.d.ts +15 -1
- package/dist/client/interface.d.ts.map +1 -1
- package/dist/events.js +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +99 -98
- package/dist/open-api/apis/DefaultApi.js +89 -89
- package/dist/open-api/apis/index.js +89 -89
- package/dist/open-api/index.js +89 -89
- package/dist/open-api/models/Command1.js +2 -2
- package/dist/open-api/models/Completion.js +1 -1
- package/dist/open-api/models/Completion1.js +1 -1
- package/dist/open-api/models/CompletionResponse.js +1 -1
- package/dist/open-api/models/CompletionResponseOneOf.js +1 -1
- package/dist/open-api/models/CompletionStreamResponse.js +1 -1
- package/dist/open-api/models/CreateUserRequest.js +5 -5
- package/dist/open-api/models/CumulativeFilter.js +3 -3
- package/dist/open-api/models/DeduplicationPeriod1.js +1 -1
- package/dist/open-api/models/DeduplicationPeriod2.js +2 -2
- package/dist/open-api/models/Event.js +2 -2
- package/dist/open-api/models/EventFormat.js +5 -5
- package/dist/open-api/models/ExperimentalFeatures.js +2 -2
- package/dist/open-api/models/FeaturesDescriptor.js +3 -3
- package/dist/open-api/models/Filters.js +4 -4
- package/dist/open-api/models/GetActiveContractsRequest.js +7 -7
- package/dist/open-api/models/GetEventsByContractIdRequest.js +6 -6
- package/dist/open-api/models/GetLedgerApiVersionResponse.js +4 -4
- package/dist/open-api/models/GetTransactionByIdRequest.js +7 -7
- package/dist/open-api/models/GetTransactionByOffsetRequest.js +7 -7
- package/dist/open-api/models/GetUpdateByIdRequest.js +8 -8
- package/dist/open-api/models/GetUpdateByOffsetRequest.js +8 -8
- package/dist/open-api/models/GetUpdatesRequest.js +9 -9
- package/dist/open-api/models/GrantUserRightsRequest.js +4 -4
- package/dist/open-api/models/GrantUserRightsResponse.js +4 -4
- package/dist/open-api/models/IdentifierFilter.js +2 -2
- package/dist/open-api/models/JsContractEntry.js +2 -2
- package/dist/open-api/models/JsExecuteSubmissionAndWaitForTransactionRequest.js +12 -12
- package/dist/open-api/models/JsExecuteSubmissionAndWaitForTransactionResponse.js +4 -4
- package/dist/open-api/models/JsExecuteSubmissionAndWaitRequest.js +6 -6
- package/dist/open-api/models/JsExecuteSubmissionRequest.js +6 -6
- package/dist/open-api/models/JsGetActiveContractsResponse.js +3 -3
- package/dist/open-api/models/JsGetTransactionResponse.js +4 -4
- package/dist/open-api/models/JsGetUpdateResponse.js +15 -15
- package/dist/open-api/models/JsGetUpdatesResponse.js +15 -15
- package/dist/open-api/models/JsPrepareSubmissionRequest.js +4 -4
- package/dist/open-api/models/JsSubmitAndWaitForTransactionRequest.js +11 -11
- package/dist/open-api/models/JsSubmitAndWaitForTransactionResponse.js +4 -4
- package/dist/open-api/models/JsTopologyTransaction.js +6 -6
- package/dist/open-api/models/JsTransaction.js +3 -3
- package/dist/open-api/models/Kind.js +2 -2
- package/dist/open-api/models/ListUserRightsResponse.js +4 -4
- package/dist/open-api/models/MinLedgerTime.js +3 -3
- package/dist/open-api/models/ReassignmentCommand.js +3 -3
- package/dist/open-api/models/ReassignmentCommands.js +4 -4
- package/dist/open-api/models/RevokeUserRightsRequest.js +4 -4
- package/dist/open-api/models/RevokeUserRightsResponse.js +4 -4
- package/dist/open-api/models/Right.js +3 -3
- package/dist/open-api/models/SubmitAndWaitForReassignmentRequest.js +10 -10
- package/dist/open-api/models/SubmitReassignmentRequest.js +5 -5
- package/dist/open-api/models/Time.js +2 -2
- package/dist/open-api/models/TopologyEvent.js +5 -5
- package/dist/open-api/models/TopologyEventEvent.js +4 -4
- package/dist/open-api/models/TopologyTransaction.js +7 -7
- package/dist/open-api/models/Transaction.js +4 -4
- package/dist/open-api/models/TransactionFilter.js +5 -5
- package/dist/open-api/models/TransactionFormat.js +6 -6
- package/dist/open-api/models/Update.js +14 -14
- package/dist/open-api/models/UpdateFormat.js +7 -7
- package/dist/open-api/models/UpdateOneOf2.js +8 -8
- package/dist/open-api/models/UpdateOneOf3.js +5 -5
- package/dist/open-api/models/UpdatePartyDetailsRequest.js +1 -1
- package/dist/open-api/models/UpdateUserRequest.js +1 -1
- package/dist/open-api/models/index.js +88 -88
- package/dist/provider.d.ts +5 -0
- package/dist/provider.d.ts.map +1 -1
- package/dist/provider.js +93 -93
- package/dist/senderPlaceholder.d.ts +41 -0
- package/dist/senderPlaceholder.d.ts.map +1 -0
- package/dist/senderPlaceholder.js +4 -0
- package/dist/senderPlaceholder.js.map +1 -0
- package/dist/transaction.d.ts +77 -11
- package/dist/transaction.d.ts.map +1 -1
- package/dist/transaction.js +1 -1
- package/dist/types.d.ts +47 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/eslint.config.js +3 -1
- package/package.json +9 -9
- package/src/client/canton-client.ts +72 -6
- package/src/client/interface.ts +17 -0
- package/src/index.ts +3 -0
- package/src/provider.ts +24 -8
- package/src/senderPlaceholder.ts +119 -0
- package/src/transaction.ts +54 -8
- package/src/types.ts +33 -0
- package/dist/CJEDJ6BA.js.map +0 -1
- package/dist/CTDZ456O.js.map +0 -1
- package/dist/JTRUQM7V.js.map +0 -1
package/.turbo/turbo-test.log
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
✅ dpm-3.4.8-openapi-generator-7.21.0
|
|
10
10
|
🔧 openapi-generator version: 7.21.0
|
|
11
11
|
$ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/canton-openapi-tooling:openapi-generator-7.21.0-patch-1
|
|
12
|
-
(node:
|
|
12
|
+
(node:72659) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
|
|
13
13
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
14
14
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
15
15
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
@@ -29,35 +29,35 @@ ca7063794723: Pulling fs layer
|
|
|
29
29
|
66fb6c894d14: Pulling fs layer
|
|
30
30
|
f49710e34058: Pulling fs layer
|
|
31
31
|
2c1ce468d9f3: Pulling fs layer
|
|
32
|
-
|
|
33
|
-
d7fa639f53de: Waiting
|
|
34
|
-
66fb6c894d14: Waiting
|
|
32
|
+
f49710e34058: Waiting
|
|
35
33
|
2c1ce468d9f3: Waiting
|
|
36
|
-
ca7063794723: Waiting
|
|
37
34
|
89b1ff25a2ba: Waiting
|
|
38
|
-
|
|
35
|
+
72df4dc3c67b: Waiting
|
|
39
36
|
24574a3c3b7e: Waiting
|
|
37
|
+
66fb6c894d14: Waiting
|
|
40
38
|
2105e5edb107: Waiting
|
|
39
|
+
d7fa639f53de: Waiting
|
|
41
40
|
de90d86cd9e8: Verifying Checksum
|
|
42
41
|
de90d86cd9e8: Download complete
|
|
43
42
|
6ad39880009f: Verifying Checksum
|
|
44
43
|
6ad39880009f: Download complete
|
|
44
|
+
2105e5edb107: Verifying Checksum
|
|
45
45
|
2105e5edb107: Download complete
|
|
46
46
|
d7fa639f53de: Verifying Checksum
|
|
47
47
|
d7fa639f53de: Download complete
|
|
48
|
+
320d9614051d: Verifying Checksum
|
|
49
|
+
320d9614051d: Download complete
|
|
48
50
|
89b1ff25a2ba: Verifying Checksum
|
|
49
51
|
89b1ff25a2ba: Download complete
|
|
52
|
+
24574a3c3b7e: Verifying Checksum
|
|
50
53
|
24574a3c3b7e: Download complete
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
66fb6c894d14: Verifying Checksum
|
|
55
|
+
66fb6c894d14: Download complete
|
|
53
56
|
ca7063794723: Verifying Checksum
|
|
54
57
|
ca7063794723: Download complete
|
|
55
|
-
72df4dc3c67b: Verifying Checksum
|
|
56
|
-
72df4dc3c67b: Download complete
|
|
57
|
-
66fb6c894d14: Download complete
|
|
58
58
|
f49710e34058: Verifying Checksum
|
|
59
59
|
f49710e34058: Download complete
|
|
60
|
-
|
|
60
|
+
72df4dc3c67b: Download complete
|
|
61
61
|
2c1ce468d9f3: Download complete
|
|
62
62
|
6ad39880009f: Pull complete
|
|
63
63
|
de90d86cd9e8: Pull complete
|
|
@@ -756,21 +756,21 @@ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001
|
|
|
756
756
|
# We appreciate your support! Please consider donation to help us maintain this project. #
|
|
757
757
|
# https://opencollective.com/openapi_generator/donate #
|
|
758
758
|
############################################################################################
|
|
759
|
-
⏳ bash -c set -euo pipefail && rm -rf "src/open-api" && java -jar "$OPENAPI_GENERATOR_JAR" generate -i "$CANTON_OPENAPI_YAML" -g typescript-fetch -o "src/open-api" --additional-properties=importFileExtension=.js:
|
|
759
|
+
⏳ bash -c set -euo pipefail && rm -rf "src/open-api" && java -jar "$OPENAPI_GENERATOR_JAR" generate -i "$CANTON_OPENAPI_YAML" -g typescript-fetch -o "src/open-api" --additional-properties=importFileExtension=.js: 5.672s
|
|
760
760
|
[33mTesting types with tsc and vue-tsc is an experimental feature.
|
|
761
761
|
Breaking changes might not follow SemVer, please pin Vitest's version when using it.[39m
|
|
762
762
|
|
|
763
763
|
[1m[46m RUN [49m[22m [36mv3.2.4 [39m[90m/home/runner/work/monorepo-internal/monorepo-internal/packages/vms/canton/common-canton[39m
|
|
764
764
|
|
|
765
|
-
[32m✓[39m test/auth/
|
|
766
|
-
[32m✓[39m test/auth/
|
|
765
|
+
[32m✓[39m test/auth/local-token-provider.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
766
|
+
[32m✓[39m test/auth/client-credentials-token-provider.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 17[2mms[22m[39m
|
|
767
767
|
[90mstderr[2m | test/sdk.test.ts[2m > [22m[2mError Handling (Unhappy Paths)[2m > [22m[2mshould handle double archive error
|
|
768
768
|
[22m[39mMock miss: GET /v2/state/connected-synchronizers
|
|
769
769
|
|
|
770
770
|
[90mstderr[2m | test/sdk.test.ts[2m > [22m[2mError Handling (Unhappy Paths)[2m > [22m[2mshould handle unauthorized party error
|
|
771
771
|
[22m[39mMock miss: GET /v2/state/connected-synchronizers
|
|
772
772
|
|
|
773
|
-
[32m✓[39m test/sdk.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m
|
|
773
|
+
[32m✓[39m test/sdk.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
774
774
|
[32m✓[39m [44m[1m TS [22m[49m test/sdk.test.ts [2m([22m[2m18 tests[22m[2m)[22m
|
|
775
775
|
[32m✓[39m [44m[1m TS [22m[49m test/auth/client-credentials-token-provider.test.ts [2m([22m[2m7 tests[22m[2m)[22m
|
|
776
776
|
[32m✓[39m [44m[1m TS [22m[49m test/auth/local-token-provider.test.ts [2m([22m[2m5 tests[22m[2m)[22m
|
|
@@ -778,6 +778,6 @@ Breaking changes might not follow SemVer, please pin Vitest's version when using
|
|
|
778
778
|
[2m Test Files [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
779
779
|
[2m Tests [22m [1m[32m60 passed[39m[22m[90m (60)[39m
|
|
780
780
|
[2mType Errors [22m [2mno errors[22m
|
|
781
|
-
[2m Start at [22m 23:
|
|
782
|
-
[2m Duration [22m 4.
|
|
781
|
+
[2m Start at [22m 23:29:01
|
|
782
|
+
[2m Duration [22m 4.64s[2m (transform 1.18s, setup 0ms, collect 1.83s, tests 63ms, environment 1ms, prepare 363ms, typecheck 4.31s)[22m
|
|
783
783
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UpdateFormatFromJSON, UpdateFormatToJSON } from './
|
|
1
|
+
import { UpdateFormatFromJSON, UpdateFormatToJSON } from './CLFKYN43.js';
|
|
2
2
|
import { __name } from './VUOMXK5T.js';
|
|
3
3
|
|
|
4
4
|
// src/open-api/models/GetUpdateByOffsetRequest.ts
|
|
@@ -37,5 +37,5 @@ function GetUpdateByOffsetRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
37
37
|
__name(GetUpdateByOffsetRequestToJSONTyped, "GetUpdateByOffsetRequestToJSONTyped");
|
|
38
38
|
|
|
39
39
|
export { GetUpdateByOffsetRequestFromJSON, GetUpdateByOffsetRequestFromJSONTyped, GetUpdateByOffsetRequestToJSON, GetUpdateByOffsetRequestToJSONTyped, instanceOfGetUpdateByOffsetRequest };
|
|
40
|
-
//# sourceMappingURL=
|
|
41
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=25GNLJIH.js.map
|
|
41
|
+
//# sourceMappingURL=25GNLJIH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/GetUpdateByOffsetRequest.ts"],"names":["instanceOfGetUpdateByOffsetRequest","value","undefined","GetUpdateByOffsetRequestFromJSON","json","GetUpdateByOffsetRequestF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BAAAA,CAAmBT,KAAAA,CAAM,cAAA,CAAe;AAC5D,GAAA;AACJ;AAVgBQ,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA","file":"
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/GetUpdateByOffsetRequest.ts"],"names":["instanceOfGetUpdateByOffsetRequest","value","undefined","GetUpdateByOffsetRequestFromJSON","json","GetUpdateByOffsetRequestFromJSONTyped","ignoreDiscriminator","UpdateFormatFromJSON","GetUpdateByOffsetRequestToJSON","GetUpdateByOffsetRequestToJSONTyped","UpdateFormatToJSON"],"mappings":";;;;AAgDO,SAASA,mCAAmCC,KAAAA,EAAa;AAC5D,EAAA,IAAI,EAAE,QAAA,IAAYA,KAAAA,CAAAA,IAAUA,MAAM,QAAA,CAAA,KAAcC,QAAW,OAAO,KAAA;AAClE,EAAA,OAAO,IAAA;AACX;AAHgBF,MAAAA,CAAAA,kCAAAA,EAAAA,oCAAAA,CAAAA;AAKT,SAASG,iCAAiCC,IAAAA,EAAS;AACtD,EAAA,OAAOC,qCAAAA,CAAsCD,IAAM,CAAA;AACvD;AAFgBD,MAAAA,CAAAA,gCAAAA,EAAAA,kCAAAA,CAAAA;AAIT,SAASE,qCAAAA,CAAsCD,MAAWE,mBAAAA,EAA4B;AACzF,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;AAEH,IAAA,QAAA,EAAUA,KAAK,QAAA,CAAA;IACf,cAAA,EAAgBA,IAAAA,CAAK,cAAA,CAAA,IAAmB,IAAA,GAAOF,SAAYK,oBAAAA,CAAqBH,IAAAA,CAAK,cAAA,CAAe;AACxG,GAAA;AACJ;AATgBC,MAAAA,CAAAA,qCAAAA,EAAAA,uCAAAA,CAAAA;AAWT,SAASG,+BAA+BJ,IAAAA,EAAS;AACpD,EAAA,OAAOK,mCAAAA,CAAoCL,MAAM,KAAA,CAAA;AACrD;AAFgBI,MAAAA,CAAAA,8BAAAA,EAAAA,gCAAAA,CAAAA;AAIT,SAASC,mCAAAA,CAAoCR,KAAAA,EAAyCK,mBAAAA,GAA+B,KAAA,EAAK;AAC7H,EAAA,IAAIL,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;AAEH,IAAA,QAAA,EAAUA,MAAM,QAAA,CAAA;IAChB,cAAA,EAAgBS,kBAAAA,CAAmBT,KAAAA,CAAM,cAAA,CAAe;AAC5D,GAAA;AACJ;AAVgBQ,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA","file":"25GNLJIH.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { UpdateFormat } from './UpdateFormat.js';\nimport {\n UpdateFormatFromJSON,\n UpdateFormatFromJSONTyped,\n UpdateFormatToJSON,\n UpdateFormatToJSONTyped,\n} from './UpdateFormat.js';\n\n/**\n * \n * @export\n * @interface GetUpdateByOffsetRequest\n */\nexport interface GetUpdateByOffsetRequest {\n /**\n * The offset of the update being looked up.\n * Must be a valid absolute offset (positive integer).\n * Required\n * @type {number}\n * @memberof GetUpdateByOffsetRequest\n */\n offset: number;\n /**\n * \n * @type {UpdateFormat}\n * @memberof GetUpdateByOffsetRequest\n */\n updateFormat?: UpdateFormat;\n}\n\n/**\n * Check if a given object implements the GetUpdateByOffsetRequest interface.\n */\nexport function instanceOfGetUpdateByOffsetRequest(value: object): value is GetUpdateByOffsetRequest {\n if (!('offset' in value) || value['offset'] === undefined) return false;\n return true;\n}\n\nexport function GetUpdateByOffsetRequestFromJSON(json: any): GetUpdateByOffsetRequest {\n return GetUpdateByOffsetRequestFromJSONTyped(json, false);\n}\n\nexport function GetUpdateByOffsetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUpdateByOffsetRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'offset': json['offset'],\n 'updateFormat': json['updateFormat'] == null ? undefined : UpdateFormatFromJSON(json['updateFormat']),\n };\n}\n\nexport function GetUpdateByOffsetRequestToJSON(json: any): GetUpdateByOffsetRequest {\n return GetUpdateByOffsetRequestToJSONTyped(json, false);\n}\n\nexport function GetUpdateByOffsetRequestToJSONTyped(value?: GetUpdateByOffsetRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'offset': value['offset'],\n 'updateFormat': UpdateFormatToJSON(value['updateFormat']),\n };\n}\n\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MinLedgerTimeFromJSON, MinLedgerTimeToJSON } from './
|
|
1
|
+
import { MinLedgerTimeFromJSON, MinLedgerTimeToJSON } from './A7U4VVQK.js';
|
|
2
2
|
import { PrefetchContractKeyFromJSON, PrefetchContractKeyToJSON } from './RV24CYI3.js';
|
|
3
3
|
import { DisclosedContractFromJSON, DisclosedContractToJSON } from './UKPTMFE5.js';
|
|
4
4
|
import { CostEstimationHintsFromJSON, CostEstimationHintsToJSON } from './4FVB5LZE.js';
|
|
@@ -66,5 +66,5 @@ function JsPrepareSubmissionRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
66
66
|
__name(JsPrepareSubmissionRequestToJSONTyped, "JsPrepareSubmissionRequestToJSONTyped");
|
|
67
67
|
|
|
68
68
|
export { JsPrepareSubmissionRequestFromJSON, JsPrepareSubmissionRequestFromJSONTyped, JsPrepareSubmissionRequestToJSON, JsPrepareSubmissionRequestToJSONTyped, instanceOfJsPrepareSubmissionRequest };
|
|
69
|
-
//# sourceMappingURL=
|
|
70
|
-
//# sourceMappingURL=
|
|
69
|
+
//# sourceMappingURL=2UWZKS5E.js.map
|
|
70
|
+
//# sourceMappingURL=2UWZKS5E.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/JsPrepareSubmissionRequest.ts"],"names":["instanceOfJsPrepareSubmissionRequest","value","undefined","JsPrepareSubmissionRequestFromJSON","json","JsPrepareSubmissionRequestFromJSONTyped","ignoreDiscriminator","map","CommandFromJSON","MinLedgerTimeFromJSON","DisclosedContractFromJSON","PrefetchContractKeyFromJSON","CostEstimationHintsFromJSON","JsPrepareSubmissionRequestToJSON","JsPrepareSubmissionRequestToJSONTyped","CommandToJSON","MinLedgerTimeToJSON","DisclosedContractToJSON","PrefetchContractKeyToJSON","CostEstimationHintsToJSON"],"mappings":";;;;;;;;AAuLO,SAASA,qCAAqCC,KAAAA,EAAa;AAC9D,EAAA,IAAI,EAAE,QAAA,IAAYA,KAAAA,CAAAA,IAAUA,MAAM,QAAA,CAAA,KAAcC,QAAW,OAAO,KAAA;AAClE,EAAA,IAAI,EAAE,WAAA,IAAeD,KAAAA,CAAAA,IAAUA,MAAM,WAAA,CAAA,KAAiBC,QAAW,OAAO,KAAA;AACxE,EAAA,IAAI,EAAE,gBAAA,IAAoBD,KAAAA,CAAAA,IAAUA,MAAM,gBAAA,CAAA,KAAsBC,QAAW,OAAO,KAAA;AAClF,EAAA,IAAI,EAAE,gBAAA,IAAoBD,KAAAA,CAAAA,IAAUA,MAAM,gBAAA,CAAA,KAAsBC,QAAW,OAAO,KAAA;AAClF,EAAA,OAAO,IAAA;AACX;AANgBF,MAAAA,CAAAA,oCAAAA,EAAAA,sCAAAA,CAAAA;AAQT,SAASG,mCAAmCC,IAAAA,EAAS;AACxD,EAAA,OAAOC,uCAAAA,CAAwCD,IAAM,CAAA;AACzD;AAFgBD,MAAAA,CAAAA,kCAAAA,EAAAA,oCAAAA,CAAAA;AAIT,SAASE,uCAAAA,CAAwCD,MAAWE,mBAAAA,EAA4B;AAC3F,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,O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AAA,eAAA,EAAiBjB,MAAM,eAAA,CAAA;IACvB,qBAAA,EAAuBkB,yBAAAA,CAA0BlB,KAAAA,CAAM,qBAAA,CAAsB;AACjF,GAAA;AACJ;AArBgBa,MAAAA,CAAAA,qCAAAA,EAAAA,uCAAAA,CAAAA","file":"SIXVG7DR.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { PrefetchContractKey } from './PrefetchContractKey.js';\nimport {\n PrefetchContractKeyFromJSON,\n PrefetchContractKeyFromJSONTyped,\n PrefetchContractKeyToJSON,\n PrefetchContractKeyToJSONTyped,\n} from './PrefetchContractKey.js';\nimport type { Command } from './Command.js';\nimport {\n CommandFromJSON,\n CommandFromJSONTyped,\n CommandToJSON,\n CommandToJSONTyped,\n} from './Command.js';\nimport type { CostEstimationHints } from './CostEstimationHints.js';\nimport {\n CostEstimationHintsFromJSON,\n CostEstimationHintsFromJSONTyped,\n CostEstimationHintsToJSON,\n CostEstimationHintsToJSONTyped,\n} from './CostEstimationHints.js';\nimport type { DisclosedContract } from './DisclosedContract.js';\nimport {\n DisclosedContractFromJSON,\n DisclosedContractFromJSONTyped,\n DisclosedContractToJSON,\n DisclosedContractToJSONTyped,\n} from './DisclosedContract.js';\nimport type { MinLedgerTime } from './MinLedgerTime.js';\nimport {\n MinLedgerTimeFromJSON,\n MinLedgerTimeFromJSONTyped,\n MinLedgerTimeToJSON,\n MinLedgerTimeToJSONTyped,\n} from './MinLedgerTime.js';\n\n/**\n * \n * @export\n * @interface JsPrepareSubmissionRequest\n */\nexport interface JsPrepareSubmissionRequest {\n /**\n * Uniquely identifies the participant user that prepares the transaction.\n * Must be a valid UserIdString (as described in ``value.proto``).\n * Required unless authentication is used with a user token.\n * In that case, the token's user-id will be used for the request's user_id.\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n userId: string;\n /**\n * Uniquely identifies the command.\n * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,\n * where act_as is interpreted as a set of party names.\n * The change ID can be used for matching the intended ledger changes with all their completions.\n * Must be a valid LedgerString (as described in ``value.proto``).\n * Required\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n commandId: string;\n /**\n * Individual elements of this atomic command. Must be non-empty.\n * Limitation: Only single command transaction are currently supported by the API.\n * The field is marked as repeated in preparation for future support of multiple commands.\n * Required\n * @type {Array<Command>}\n * @memberof JsPrepareSubmissionRequest\n */\n commands?: Array<Command>;\n /**\n * \n * @type {MinLedgerTime}\n * @memberof JsPrepareSubmissionRequest\n */\n minLedgerTime?: MinLedgerTime;\n /**\n * Set of parties on whose behalf the command should be executed, if submitted.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction\n * and does not execute it. Therefore read authorization is sufficient even for actAs parties.\n * Note: This may change, and more specific authorization scope may be introduced in the future.\n * Each element must be a valid PartyIdString (as described in ``value.proto``).\n * Required, must be non-empty.\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n actAs?: Array<string>;\n /**\n * Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.\n * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.\n * Note: A command can only use contracts that are visible to at least\n * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization\n * rules for fetch operations.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to read contract data on behalf of each of the given parties.\n * Optional\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n readAs?: Array<string>;\n /**\n * Additional contracts used to resolve contract & contract key lookups.\n * Optional\n * @type {Array<DisclosedContract>}\n * @memberof JsPrepareSubmissionRequest\n */\n disclosedContracts?: Array<DisclosedContract>;\n /**\n * Must be a valid synchronizer id\n * If not set, a suitable synchronizer that this node is connected to will be chosen\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n synchronizerId: string;\n /**\n * The package-id selection preference of the client for resolving\n * package names and interface instances in command submission and interpretation\n * Optional\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n packageIdSelectionPreference?: Array<string>;\n /**\n * When true, the response will contain additional details on how the transaction was encoded and hashed\n * This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.\n * Optional, default to false\n * @type {boolean}\n * @memberof JsPrepareSubmissionRequest\n */\n verboseHashing: boolean;\n /**\n * Fetches the contract keys into the caches to speed up the command processing.\n * Should only contain contract keys that are expected to be resolved during interpretation of the commands.\n * Keys of disclosed contracts do not need prefetching.\n * \n * Optional\n * @type {Array<PrefetchContractKey>}\n * @memberof JsPrepareSubmissionRequest\n */\n prefetchContractKeys?: Array<PrefetchContractKey>;\n /**\n * Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.\n * If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again\n * with a new valid max_record_time.\n * Use this to limit the time-to-life of a prepared transaction,\n * which is useful to know when it can definitely not be accepted\n * anymore and resorting to preparing another transaction for the same\n * intent is safe again.\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n maxRecordTime?: string;\n /**\n * \n * @type {CostEstimationHints}\n * @memberof JsPrepareSubmissionRequest\n */\n estimateTrafficCost?: CostEstimationHints;\n}\n\n/**\n * Check if a given object implements the JsPrepareSubmissionRequest interface.\n */\nexport function instanceOfJsPrepareSubmissionRequest(value: object): value is JsPrepareSubmissionRequest {\n if (!('userId' in value) || value['userId'] === undefined) return false;\n if (!('commandId' in value) || value['commandId'] === undefined) return false;\n if (!('synchronizerId' in value) || value['synchronizerId'] === undefined) return false;\n if (!('verboseHashing' in value) || value['verboseHashing'] === undefined) return false;\n return true;\n}\n\nexport function JsPrepareSubmissionRequestFromJSON(json: any): JsPrepareSubmissionRequest {\n return JsPrepareSubmissionRequestFromJSONTyped(json, false);\n}\n\nexport function JsPrepareSubmissionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsPrepareSubmissionRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'userId': json['userId'],\n 'commandId': json['commandId'],\n 'commands': json['commands'] == null ? undefined : ((json['commands'] as Array<any>).map(CommandFromJSON)),\n 'minLedgerTime': json['minLedgerTime'] == null ? undefined : MinLedgerTimeFromJSON(json['minLedgerTime']),\n 'actAs': json['actAs'] == null ? undefined : json['actAs'],\n 'readAs': json['readAs'] == null ? undefined : json['readAs'],\n 'disclosedContracts': json['disclosedContracts'] == null ? undefined : ((json['disclosedContracts'] as Array<any>).map(DisclosedContractFromJSON)),\n 'synchronizerId': json['synchronizerId'],\n 'packageIdSelectionPreference': json['packageIdSelectionPreference'] == null ? undefined : json['packageIdSelectionPreference'],\n 'verboseHashing': json['verboseHashing'],\n 'prefetchContractKeys': json['prefetchContractKeys'] == null ? undefined : ((json['prefetchContractKeys'] as Array<any>).map(PrefetchContractKeyFromJSON)),\n 'maxRecordTime': json['maxRecordTime'] == null ? undefined : json['maxRecordTime'],\n 'estimateTrafficCost': json['estimateTrafficCost'] == null ? undefined : CostEstimationHintsFromJSON(json['estimateTrafficCost']),\n };\n}\n\nexport function JsPrepareSubmissionRequestToJSON(json: any): JsPrepareSubmissionRequest {\n return JsPrepareSubmissionRequestToJSONTyped(json, false);\n}\n\nexport function JsPrepareSubmissionRequestToJSONTyped(value?: JsPrepareSubmissionRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'userId': value['userId'],\n 'commandId': value['commandId'],\n 'commands': value['commands'] == null ? undefined : ((value['commands'] as Array<any>).map(CommandToJSON)),\n 'minLedgerTime': MinLedgerTimeToJSON(value['minLedgerTime']),\n 'actAs': value['actAs'],\n 'readAs': value['readAs'],\n 'disclosedContracts': value['disclosedContracts'] == null ? undefined : ((value['disclosedContracts'] as Array<any>).map(DisclosedContractToJSON)),\n 'synchronizerId': value['synchronizerId'],\n 'packageIdSelectionPreference': value['packageIdSelectionPreference'],\n 'verboseHashing': value['verboseHashing'],\n 'prefetchContractKeys': value['prefetchContractKeys'] == null ? undefined : ((value['prefetchContractKeys'] as Array<any>).map(PrefetchContractKeyToJSON)),\n 'maxRecordTime': value['maxRecordTime'],\n 'estimateTrafficCost': CostEstimationHintsToJSON(value['estimateTrafficCost']),\n };\n}\n\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/JsPrepareSubmissionRequest.ts"],"names":["instanceOfJsPrepareSubmissionRequest","value","undefined","JsPrepareSubmissionRequestFromJSON","json","JsPrepareSubmissionRequestFromJSONTyped","ignoreDiscriminator","map","CommandFromJSON","MinLedgerTimeFromJSON","DisclosedContractFromJSON","PrefetchContractKeyFromJSON","CostEstimationHintsFromJSON","JsPrepareSubmissionRequestToJSON","JsPrepareSubmissionRequestToJSONTyped","CommandToJSON","MinLedgerTimeToJSON","DisclosedContractToJSON","PrefetchContractKeyToJSON","CostEstimationHintsToJSON"],"mappings":";;;;;;;;AAuLO,SAASA,qCAAqCC,KAAAA,EAAa;AAC9D,EAAA,IAAI,EAAE,QAAA,IAAYA,KAAAA,CAAAA,IAAUA,MAAM,QAAA,CAAA,KAAcC,QAAW,OAAO,KAAA;AAClE,EAAA,IAAI,EAAE,WAAA,IAAeD,KAAAA,CAAAA,IAAUA,MAAM,WAAA,CAAA,KAAiBC,QAAW,OAAO,KAAA;AACxE,EAAA,IAAI,EAAE,gBAAA,IAAoBD,KAAAA,CAAAA,IAAUA,MAAM,gBAAA,CAAA,KAAsBC,QAAW,OAAO,KAAA;AAClF,EAAA,IAAI,EAAE,gBAAA,IAAoBD,KAAAA,CA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A,IAAyB,IAAA,GAAOC,SAAcD,KAAAA,CAAM,oBAAA,CAAA,CAAqCM,GAAAA,CAAIU,uBAAAA,CAAAA;AACzH,IAAA,gBAAA,EAAkBhB,MAAM,gBAAA,CAAA;AACxB,IAAA,8BAAA,EAAgCA,MAAM,8BAAA,CAAA;AACtC,IAAA,gBAAA,EAAkBA,MAAM,gBAAA,CAAA;IACxB,sBAAA,EAAwBA,KAAAA,CAAM,sBAAA,CAAA,IAA2B,IAAA,GAAOC,SAAcD,KAAAA,CAAM,sBAAA,CAAA,CAAuCM,GAAAA,CAAIW,yBAAAA,CAAAA;AAC/H,IAAA,eAAA,EAAiBjB,MAAM,eAAA,CAAA;IACvB,qBAAA,EAAuBkB,yBAAAA,CAA0BlB,KAAAA,CAAM,qBAAA,CAAsB;AACjF,GAAA;AACJ;AArBgBa,MAAAA,CAAAA,qCAAAA,EAAAA,uCAAAA,CAAAA","file":"2UWZKS5E.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { PrefetchContractKey } from './PrefetchContractKey.js';\nimport {\n PrefetchContractKeyFromJSON,\n PrefetchContractKeyFromJSONTyped,\n PrefetchContractKeyToJSON,\n PrefetchContractKeyToJSONTyped,\n} from './PrefetchContractKey.js';\nimport type { Command } from './Command.js';\nimport {\n CommandFromJSON,\n CommandFromJSONTyped,\n CommandToJSON,\n CommandToJSONTyped,\n} from './Command.js';\nimport type { CostEstimationHints } from './CostEstimationHints.js';\nimport {\n CostEstimationHintsFromJSON,\n CostEstimationHintsFromJSONTyped,\n CostEstimationHintsToJSON,\n CostEstimationHintsToJSONTyped,\n} from './CostEstimationHints.js';\nimport type { DisclosedContract } from './DisclosedContract.js';\nimport {\n DisclosedContractFromJSON,\n DisclosedContractFromJSONTyped,\n DisclosedContractToJSON,\n DisclosedContractToJSONTyped,\n} from './DisclosedContract.js';\nimport type { MinLedgerTime } from './MinLedgerTime.js';\nimport {\n MinLedgerTimeFromJSON,\n MinLedgerTimeFromJSONTyped,\n MinLedgerTimeToJSON,\n MinLedgerTimeToJSONTyped,\n} from './MinLedgerTime.js';\n\n/**\n * \n * @export\n * @interface JsPrepareSubmissionRequest\n */\nexport interface JsPrepareSubmissionRequest {\n /**\n * Uniquely identifies the participant user that prepares the transaction.\n * Must be a valid UserIdString (as described in ``value.proto``).\n * Required unless authentication is used with a user token.\n * In that case, the token's user-id will be used for the request's user_id.\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n userId: string;\n /**\n * Uniquely identifies the command.\n * The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,\n * where act_as is interpreted as a set of party names.\n * The change ID can be used for matching the intended ledger changes with all their completions.\n * Must be a valid LedgerString (as described in ``value.proto``).\n * Required\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n commandId: string;\n /**\n * Individual elements of this atomic command. Must be non-empty.\n * Limitation: Only single command transaction are currently supported by the API.\n * The field is marked as repeated in preparation for future support of multiple commands.\n * Required\n * @type {Array<Command>}\n * @memberof JsPrepareSubmissionRequest\n */\n commands?: Array<Command>;\n /**\n * \n * @type {MinLedgerTime}\n * @memberof JsPrepareSubmissionRequest\n */\n minLedgerTime?: MinLedgerTime;\n /**\n * Set of parties on whose behalf the command should be executed, if submitted.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction\n * and does not execute it. Therefore read authorization is sufficient even for actAs parties.\n * Note: This may change, and more specific authorization scope may be introduced in the future.\n * Each element must be a valid PartyIdString (as described in ``value.proto``).\n * Required, must be non-empty.\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n actAs?: Array<string>;\n /**\n * Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.\n * This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.\n * Note: A command can only use contracts that are visible to at least\n * one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization\n * rules for fetch operations.\n * If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request\n * to read contract data on behalf of each of the given parties.\n * Optional\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n readAs?: Array<string>;\n /**\n * Additional contracts used to resolve contract & contract key lookups.\n * Optional\n * @type {Array<DisclosedContract>}\n * @memberof JsPrepareSubmissionRequest\n */\n disclosedContracts?: Array<DisclosedContract>;\n /**\n * Must be a valid synchronizer id\n * If not set, a suitable synchronizer that this node is connected to will be chosen\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n synchronizerId: string;\n /**\n * The package-id selection preference of the client for resolving\n * package names and interface instances in command submission and interpretation\n * Optional\n * @type {Array<string>}\n * @memberof JsPrepareSubmissionRequest\n */\n packageIdSelectionPreference?: Array<string>;\n /**\n * When true, the response will contain additional details on how the transaction was encoded and hashed\n * This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.\n * Optional, default to false\n * @type {boolean}\n * @memberof JsPrepareSubmissionRequest\n */\n verboseHashing: boolean;\n /**\n * Fetches the contract keys into the caches to speed up the command processing.\n * Should only contain contract keys that are expected to be resolved during interpretation of the commands.\n * Keys of disclosed contracts do not need prefetching.\n * \n * Optional\n * @type {Array<PrefetchContractKey>}\n * @memberof JsPrepareSubmissionRequest\n */\n prefetchContractKeys?: Array<PrefetchContractKey>;\n /**\n * Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.\n * If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again\n * with a new valid max_record_time.\n * Use this to limit the time-to-life of a prepared transaction,\n * which is useful to know when it can definitely not be accepted\n * anymore and resorting to preparing another transaction for the same\n * intent is safe again.\n * Optional\n * @type {string}\n * @memberof JsPrepareSubmissionRequest\n */\n maxRecordTime?: string;\n /**\n * \n * @type {CostEstimationHints}\n * @memberof JsPrepareSubmissionRequest\n */\n estimateTrafficCost?: CostEstimationHints;\n}\n\n/**\n * Check if a given object implements the JsPrepareSubmissionRequest interface.\n */\nexport function instanceOfJsPrepareSubmissionRequest(value: object): value is JsPrepareSubmissionRequest {\n if (!('userId' in value) || value['userId'] === undefined) return false;\n if (!('commandId' in value) || value['commandId'] === undefined) return false;\n if (!('synchronizerId' in value) || value['synchronizerId'] === undefined) return false;\n if (!('verboseHashing' in value) || value['verboseHashing'] === undefined) return false;\n return true;\n}\n\nexport function JsPrepareSubmissionRequestFromJSON(json: any): JsPrepareSubmissionRequest {\n return JsPrepareSubmissionRequestFromJSONTyped(json, false);\n}\n\nexport function JsPrepareSubmissionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsPrepareSubmissionRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'userId': json['userId'],\n 'commandId': json['commandId'],\n 'commands': json['commands'] == null ? undefined : ((json['commands'] as Array<any>).map(CommandFromJSON)),\n 'minLedgerTime': json['minLedgerTime'] == null ? undefined : MinLedgerTimeFromJSON(json['minLedgerTime']),\n 'actAs': json['actAs'] == null ? undefined : json['actAs'],\n 'readAs': json['readAs'] == null ? undefined : json['readAs'],\n 'disclosedContracts': json['disclosedContracts'] == null ? undefined : ((json['disclosedContracts'] as Array<any>).map(DisclosedContractFromJSON)),\n 'synchronizerId': json['synchronizerId'],\n 'packageIdSelectionPreference': json['packageIdSelectionPreference'] == null ? undefined : json['packageIdSelectionPreference'],\n 'verboseHashing': json['verboseHashing'],\n 'prefetchContractKeys': json['prefetchContractKeys'] == null ? undefined : ((json['prefetchContractKeys'] as Array<any>).map(PrefetchContractKeyFromJSON)),\n 'maxRecordTime': json['maxRecordTime'] == null ? undefined : json['maxRecordTime'],\n 'estimateTrafficCost': json['estimateTrafficCost'] == null ? undefined : CostEstimationHintsFromJSON(json['estimateTrafficCost']),\n };\n}\n\nexport function JsPrepareSubmissionRequestToJSON(json: any): JsPrepareSubmissionRequest {\n return JsPrepareSubmissionRequestToJSONTyped(json, false);\n}\n\nexport function JsPrepareSubmissionRequestToJSONTyped(value?: JsPrepareSubmissionRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'userId': value['userId'],\n 'commandId': value['commandId'],\n 'commands': value['commands'] == null ? undefined : ((value['commands'] as Array<any>).map(CommandToJSON)),\n 'minLedgerTime': MinLedgerTimeToJSON(value['minLedgerTime']),\n 'actAs': value['actAs'],\n 'readAs': value['readAs'],\n 'disclosedContracts': value['disclosedContracts'] == null ? undefined : ((value['disclosedContracts'] as Array<any>).map(DisclosedContractToJSON)),\n 'synchronizerId': value['synchronizerId'],\n 'packageIdSelectionPreference': value['packageIdSelectionPreference'],\n 'verboseHashing': value['verboseHashing'],\n 'prefetchContractKeys': value['prefetchContractKeys'] == null ? undefined : ((value['prefetchContractKeys'] as Array<any>).map(PrefetchContractKeyToJSON)),\n 'maxRecordTime': value['maxRecordTime'],\n 'estimateTrafficCost': CostEstimationHintsToJSON(value['estimateTrafficCost']),\n };\n}\n\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FiltersFromJSON, FiltersToJSON } from './
|
|
1
|
+
import { FiltersFromJSON, FiltersToJSON } from './CXFHE5WB.js';
|
|
2
2
|
import { mapValues } from './KBNUN3MF.js';
|
|
3
3
|
import { __name } from './VUOMXK5T.js';
|
|
4
4
|
|
|
@@ -41,5 +41,5 @@ function EventFormatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
41
41
|
__name(EventFormatToJSONTyped, "EventFormatToJSONTyped");
|
|
42
42
|
|
|
43
43
|
export { EventFormatFromJSON, EventFormatFromJSONTyped, EventFormatToJSON, EventFormatToJSONTyped, instanceOfEventFormat };
|
|
44
|
-
//# sourceMappingURL=
|
|
45
|
-
//# sourceMappingURL=
|
|
44
|
+
//# sourceMappingURL=37DZS34C.js.map
|
|
45
|
+
//# sourceMappingURL=37DZS34C.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/EventFormat.ts"],"names":["instanceOfEventFormat","value","undefined","EventFormatFromJSON","json","EventFormatFromJSONTyped","ignoreDiscriminator","mapValues","FiltersFromJSON","EventFormatToJSON","EventFormatToJSONTyped","FiltersToJSON"],"mappings":";;;;;AA0DO,SAASA,sBAAsBC,KAAAA,EAAa;AAC/C,EAAA,IAAI,EAAE,gBAAA,IAAoBA,KAAAA,CAAAA,IAAUA,MAAM,gBAAA,CAAA,KAAsBC,QAAW,OAAO,KAAA;AAClF,EAAA,IAAI,EAAE,SAAA,IAAaD,KAAAA,CAAAA,IAAUA,MAAM,SAAA,CAAA,KAAeC,QAAW,OAAO,KAAA;AACpE,EAAA,OAAO,IAAA;AACX;AAJgBF,MAAAA,CAAAA,qBAAAA,EAAAA,uBAAAA,CAAAA;AAMT,SAASG,oBAAoBC,IAAAA,EAAS;AACzC,EAAA,OAAOC,wBAAAA,CAAyBD,IAAM,CAAA;AAC1C;AAFgBD,MAAAA,CAAAA,mBAAAA,EAAAA,qBAAAA,CAAAA;AAIT,SAASE,wBAAAA,CAAyBD,MAAWE,mBAAAA,EAA4B;AAC5E,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;AAEH,IAAA,gBAAA,EAAmBG,SAAAA,CAAUH,IAAAA,CAAK,gBAAA,CAAA,EAAmBI,eAAAA,CAAAA;IACrD,oBAAA,EAAsBJ,IAAAA,CAAK,oBAAA,CAAA,IAAyB,IAAA,GAAOF,SAAYM,eAAAA,CAAgBJ,IAAAA,CAAK,oBAAA,CAAqB,CAAA;AACjH,IAAA,SAAA,EAAWA,KAAK,SAAA;AACpB,GAAA;AACJ;AAVgBC,MAAAA,CAAAA,wBAAAA,EAAAA,0BAAAA,CAAAA;AAYT,SAASI,kBAAkBL,IAAAA,EAAS;AACvC,EAAA,OAAOM,sBAAAA,CAAuBN,MAAM,KAAA,CAAA;AACxC;AAFgBK,MAAAA,CAAAA,iBAAAA,EAAAA,mBAAAA,CAAAA;AAIT,SAASC,sBAAAA,CAAuBT,KAAAA,EAA4BK,mBAAAA,GAA+B,KAAA,EAAK;AACnG,EAAA,IAAIL,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;AAEH,IAAA,gBAAA,EAAmBM,SAAAA,CAAUN,KAAAA,CAAM,gBAAA,CAAA,EAAmBU,aAAAA,CAAAA;IACtD,oBAAA,EAAsBA,aAAAA,CAAcV,KAAAA,CAAM,oBAAA,CAAqB,CAAA;AAC/D,IAAA,SAAA,EAAWA,MAAM,SAAA;AACrB,GAAA;AACJ;AAXgBS,MAAAA,CAAAA,sBAAAA,EAAAA,wBAAAA,CAAAA","file":"
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/EventFormat.ts"],"names":["instanceOfEventFormat","value","undefined","EventFormatFromJSON","json","EventFormatFromJSONTyped","ignoreDiscriminator","mapValues","FiltersFromJSON","EventFormatToJSON","EventFormatToJSONTyped","FiltersToJSON"],"mappings":";;;;;AA0DO,SAASA,sBAAsBC,KAAAA,EAAa;AAC/C,EAAA,IAAI,EAAE,gBAAA,IAAoBA,KAAAA,CAAAA,IAAUA,MAAM,gBAAA,CAAA,KAAsBC,QAAW,OAAO,KAAA;AAClF,EAAA,IAAI,EAAE,SAAA,IAAaD,KAAAA,CAAAA,IAAUA,MAAM,SAAA,CAAA,KAAeC,QAAW,OAAO,KAAA;AACpE,EAAA,OAAO,IAAA;AACX;AAJgBF,MAAAA,CAAAA,qBAAAA,EAAAA,uBAAAA,CAAAA;AAMT,SAASG,oBAAoBC,IAAAA,EAAS;AACzC,EAAA,OAAOC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ided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { Filters } from './Filters.js';\nimport {\n FiltersFromJSON,\n FiltersFromJSONTyped,\n FiltersToJSON,\n FiltersToJSONTyped,\n} from './Filters.js';\n\n/**\n * A format for events which defines both which events should be included\n * and what data should be computed and included for them.\n * \n * Note that some of the filtering behavior depends on the `TransactionShape`,\n * which is expected to be specified alongside usages of `EventFormat`.\n * @export\n * @interface EventFormat\n */\nexport interface EventFormat {\n /**\n * \n * @type {{ [key: string]: Filters; }}\n * @memberof EventFormat\n */\n filtersByParty: { [key: string]: Filters; };\n /**\n * \n * @type {Filters}\n * @memberof EventFormat\n */\n filtersForAnyParty?: Filters;\n /**\n * If enabled, values served over the API will contain more information than strictly necessary to interpret the data.\n * In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.\n * Optional\n * @type {boolean}\n * @memberof EventFormat\n */\n verbose: boolean;\n}\n\n/**\n * Check if a given object implements the EventFormat interface.\n */\nexport function instanceOfEventFormat(value: object): value is EventFormat {\n if (!('filtersByParty' in value) || value['filtersByParty'] === undefined) return false;\n if (!('verbose' in value) || value['verbose'] === undefined) return false;\n return true;\n}\n\nexport function EventFormatFromJSON(json: any): EventFormat {\n return EventFormatFromJSONTyped(json, false);\n}\n\nexport function EventFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventFormat {\n if (json == null) {\n return json;\n }\n return {\n \n 'filtersByParty': (mapValues(json['filtersByParty'], FiltersFromJSON)),\n 'filtersForAnyParty': json['filtersForAnyParty'] == null ? undefined : FiltersFromJSON(json['filtersForAnyParty']),\n 'verbose': json['verbose'],\n };\n}\n\nexport function EventFormatToJSON(json: any): EventFormat {\n return EventFormatToJSONTyped(json, false);\n}\n\nexport function EventFormatToJSONTyped(value?: EventFormat | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'filtersByParty': (mapValues(value['filtersByParty'], FiltersToJSON)),\n 'filtersForAnyParty': FiltersToJSON(value['filtersForAnyParty']),\n 'verbose': value['verbose'],\n };\n}\n\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReassignmentCommandsFromJSON, ReassignmentCommandsToJSON } from './
|
|
1
|
+
import { ReassignmentCommandsFromJSON, ReassignmentCommandsToJSON } from './PHVMGN7T.js';
|
|
2
2
|
import { __name } from './VUOMXK5T.js';
|
|
3
3
|
|
|
4
4
|
// src/open-api/models/SubmitReassignmentRequest.ts
|
|
@@ -34,5 +34,5 @@ function SubmitReassignmentRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
34
34
|
__name(SubmitReassignmentRequestToJSONTyped, "SubmitReassignmentRequestToJSONTyped");
|
|
35
35
|
|
|
36
36
|
export { SubmitReassignmentRequestFromJSON, SubmitReassignmentRequestFromJSONTyped, SubmitReassignmentRequestToJSON, SubmitReassignmentRequestToJSONTyped, instanceOfSubmitReassignmentRequest };
|
|
37
|
-
//# sourceMappingURL=
|
|
38
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=3UD2GTXW.js.map
|
|
38
|
+
//# sourceMappingURL=3UD2GTXW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/SubmitReassignmentRequest.ts"],"names":["instanceOfSubmitReassignmentRequest","value","SubmitReassignmentRequestFromJSON","json","SubmitReassignmentRequestFromJSONTyped","ignoreDiscriminator","undefined","ReassignmentCommandsFromJSON","SubmitReassignmentRequestToJSON","SubmitReassignmentRequestToJSONTyped","ReassignmentCommandsToJSON"],"mappings":";;;;AAwCO,SAASA,oCAAoCC,KAAAA,EAAa;AAC7D,EAAA,OAAO,IAAA;AACX;AAFgBD,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA;AAIT,SAASE,kCAAkCC,IAAAA,EAAS;AACvD,EAAA,OAAOC,sCAAAA,CAAuCD,IAAM,CAAA;AACxD;AAFgBD,MAAAA,CAAAA,iCAAAA,EAAAA,mCAAAA,CAAAA;AAIT,SAASE,sCAAAA,CAAuCD,MAAWE,mBAAAA,EAA4B;AAC1F,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;IAEH,sBAAA,EAAwBA,IAAAA,CAAK,sBAAA,CAAA,IAA2B,IAAA,GAAOG,SAAYC,4BAAAA,CAA6BJ,IAAAA,CAAK,sBAAA,CAAuB;AACxI,GAAA;AACJ;AARgBC,MAAAA,CAAAA,sCAAAA,EAAAA,wCAAAA,CAAAA;AAUT,SAASI,gCAAgCL,IAAAA,EAAS;AACrD,EAAA,OAAOM,oCAAAA,CAAqCN,MAAM,KAAA,CAAA;AACtD;AAFgBK,MAAAA,CAAAA,+BAAAA,EAAAA,iCAAAA,CAAAA;AAIT,SAASC,oCAAAA,CAAqCR,KAAAA,EAA0CI,mBAAAA,GAA+B,KAAA,EAAK;AAC/H,EAAA,IAAIJ,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;IAEH,sBAAA,EAAwBS,0BAAAA,CAA2BT,KAAAA,CAAM,sBAAA,CAAuB;AACpF,GAAA;AACJ;AATgBQ,MAAAA,CAAAA,oCAAAA,EAAAA,sCAAAA,CAAAA","file":"
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/SubmitReassignmentRequest.ts"],"names":["instanceOfSubmitReassignmentRequest","value","SubmitReassignmentRequestFromJSON","json","SubmitReassignmentRequestFromJSONTyped","ignoreDiscriminator","undefined","ReassignmentCommandsFromJSON","SubmitReassignmentRequestToJSON","SubmitReassignmentRequestToJSONTyped","ReassignmentCommandsToJSON"],"mappings":";;;;AAwCO,SAASA,oCAAoCC,KAAAA,EAAa;AAC7D,EAAA,OAAO,IAAA;AACX;AAFgBD,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA;AAIT,SAASE,kCAAkCC,IAAAA,EAAS;AACvD,EAAA,OAAOC,sCAAAA,CAAuCD,IAAM,CAAA;AACxD;AAFgBD,MAAAA,CAAAA,iCAAAA,EAAAA,mCAAAA,CAAAA;AAIT,SAASE,sCAAAA,CAAuCD,MAAWE,mBAAAA,EAA4B;AAC1F,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;IAEH,sBAAA,EAAwBA,IAAAA,CAAK,sBAAA,CAAA,IAA2B,IAAA,GAAOG,SAAYC,4BAAAA,CAA6BJ,IAAAA,CAAK,sBAAA,CAAuB;AACxI,GAAA;AACJ;AARgBC,MAAAA,CAAAA,sCAAAA,EAAAA,wCAAAA,CAAAA;AAUT,SAASI,gCAAgCL,IAAAA,EAAS;AACrD,EAAA,OAAOM,oCAAAA,CAAqCN,MAAM,KAAA,CAAA;AACtD;AAFgBK,MAAAA,CAAAA,+BAAAA,EAAAA,iCAAAA,CAAAA;AAIT,SAASC,oCAAAA,CAAqCR,KAAAA,EAA0CI,mBAAAA,GAA+B,KAAA,EAAK;AAC/H,EAAA,IAAIJ,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;IAEH,sBAAA,EAAwBS,0BAAAA,CAA2BT,KAAAA,CAAM,sBAAA,CAAuB;AACpF,GAAA;AACJ;AATgBQ,MAAAA,CAAAA,oCAAAA,EAAAA,sCAAAA,CAAAA","file":"3UD2GTXW.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { ReassignmentCommands } from './ReassignmentCommands.js';\nimport {\n ReassignmentCommandsFromJSON,\n ReassignmentCommandsFromJSONTyped,\n ReassignmentCommandsToJSON,\n ReassignmentCommandsToJSONTyped,\n} from './ReassignmentCommands.js';\n\n/**\n * \n * @export\n * @interface SubmitReassignmentRequest\n */\nexport interface SubmitReassignmentRequest {\n /**\n * \n * @type {ReassignmentCommands}\n * @memberof SubmitReassignmentRequest\n */\n reassignmentCommands?: ReassignmentCommands;\n}\n\n/**\n * Check if a given object implements the SubmitReassignmentRequest interface.\n */\nexport function instanceOfSubmitReassignmentRequest(value: object): value is SubmitReassignmentRequest {\n return true;\n}\n\nexport function SubmitReassignmentRequestFromJSON(json: any): SubmitReassignmentRequest {\n return SubmitReassignmentRequestFromJSONTyped(json, false);\n}\n\nexport function SubmitReassignmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubmitReassignmentRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'reassignmentCommands': json['reassignmentCommands'] == null ? undefined : ReassignmentCommandsFromJSON(json['reassignmentCommands']),\n };\n}\n\nexport function SubmitReassignmentRequestToJSON(json: any): SubmitReassignmentRequest {\n return SubmitReassignmentRequestToJSONTyped(json, false);\n}\n\nexport function SubmitReassignmentRequestToJSONTyped(value?: SubmitReassignmentRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'reassignmentCommands': ReassignmentCommandsToJSON(value['reassignmentCommands']),\n };\n}\n\n"]}
|
|
@@ -44,7 +44,26 @@ var cantonDisclosedContractSchema = z.object({
|
|
|
44
44
|
createdEventBlob: z.string(),
|
|
45
45
|
synchronizerId: z.string()
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var ledgerRefreshEntrySchema = z.object({
|
|
48
|
+
/** Party whose Active Contract Set to query; resolved at sign time. */
|
|
49
|
+
partyToFilter: z.literal("sender"),
|
|
50
|
+
/** Template id to query. */
|
|
51
|
+
templateId: z.string()
|
|
52
|
+
});
|
|
53
|
+
var cantonRefreshSpecSchema = z.object({
|
|
54
|
+
/** Command-tree placeholders, each replaced with the contract id(s) from a ledger query. */
|
|
55
|
+
commands: z.array(ledgerRefreshEntrySchema.extend({
|
|
56
|
+
/** Sentinel to replace in the command tree. */
|
|
57
|
+
placeholder: z.string(),
|
|
58
|
+
/** When true, the placeholder is replaced with the full array of resolved
|
|
59
|
+
* contract ids (e.g. amulet holdings); otherwise with the single id. */
|
|
60
|
+
multiple: z.boolean().optional()
|
|
61
|
+
})).optional(),
|
|
62
|
+
/** Contracts fetched via a ledger query (run as the sender) and appended to
|
|
63
|
+
* disclosedContracts. */
|
|
64
|
+
disclosedContracts: z.array(ledgerRefreshEntrySchema).optional()
|
|
65
|
+
});
|
|
66
|
+
var cantonInflightTransactionSchema = z.object({
|
|
48
67
|
/** The prepared transaction blob */
|
|
49
68
|
preparedTransaction: z.string(),
|
|
50
69
|
/** Hash of the prepared transaction (what was signed) */
|
|
@@ -55,7 +74,11 @@ var _cantonInflightTransactionSchema = z.object({
|
|
|
55
74
|
"HASHING_SCHEME_VERSION_V2"
|
|
56
75
|
]),
|
|
57
76
|
/** Command ID for tracking */
|
|
58
|
-
commandId: z.string()
|
|
77
|
+
commandId: z.string(),
|
|
78
|
+
/** Ledger offset at which the submission landed — used as `beginExclusive`
|
|
79
|
+
* for waitForCommand to avoid polling from the start of the ledger.
|
|
80
|
+
* Optional: only present after send(); absent for old/retry scenarios. */
|
|
81
|
+
completionOffset: z.number().optional()
|
|
59
82
|
});
|
|
60
83
|
var cantonTransactionSchema = transactionSchema.extend({
|
|
61
84
|
populatedTransaction: z.object({
|
|
@@ -65,13 +88,21 @@ var cantonTransactionSchema = transactionSchema.extend({
|
|
|
65
88
|
commands: z.array(cantonCommandSchema),
|
|
66
89
|
/** Disclosed contracts for contract/key lookups */
|
|
67
90
|
disclosedContracts: z.array(cantonDisclosedContractSchema),
|
|
68
|
-
/** Maps each actAs party
|
|
69
|
-
|
|
91
|
+
/** Maps each actAs party → the senderEntityName(s) controlling its signing
|
|
92
|
+
* key(s), always as an array. `.optional()` only so deferred-sender create-time
|
|
93
|
+
* payloads parse; by sign time every actAs party must map, or signing throws.
|
|
94
|
+
* Multiple entries = a multisig party (decentralized namespace) whose keys must
|
|
95
|
+
* all sign. */
|
|
96
|
+
partyToSenderEntity: z.record(z.string(), z.array(z.string())).optional(),
|
|
97
|
+
/** Sign-time refresh spec for placeholders the building factory deferred
|
|
98
|
+
* (e.g. amulet input holdings, disclosures, time-sensitive choice context).
|
|
99
|
+
* Resolved by the generic refresh executor before prepareForSigning. */
|
|
100
|
+
refreshSpec: cantonRefreshSpecSchema.optional()
|
|
70
101
|
})
|
|
71
102
|
});
|
|
72
103
|
var cantonAssignedTransactionSchema = assignedTransactionSchema.extend({
|
|
73
104
|
...cantonTransactionSchema.shape,
|
|
74
|
-
inflightTransaction:
|
|
105
|
+
inflightTransaction: cantonInflightTransactionSchema.optional()
|
|
75
106
|
});
|
|
76
107
|
var cantonSignedTransactionSchema = signedTransactionSchema.extend({
|
|
77
108
|
...cantonAssignedTransactionSchema.shape,
|
|
@@ -90,7 +121,7 @@ var cantonSignedTransactionSchema = signedTransactionSchema.extend({
|
|
|
90
121
|
});
|
|
91
122
|
var cantonMinedTransactionSchema = minedTransactionSchema.extend({
|
|
92
123
|
...cantonSignedTransactionSchema.shape,
|
|
93
|
-
inflightTransaction:
|
|
124
|
+
inflightTransaction: cantonInflightTransactionSchema
|
|
94
125
|
});
|
|
95
126
|
var buildCantonTransaction = /* @__PURE__ */ __name(async (chainName, tx) => {
|
|
96
127
|
return {
|
|
@@ -102,6 +133,6 @@ var buildCantonTransaction = /* @__PURE__ */ __name(async (chainName, tx) => {
|
|
|
102
133
|
};
|
|
103
134
|
}, "buildCantonTransaction");
|
|
104
135
|
|
|
105
|
-
export { buildCantonTransaction, cantonAssignedTransactionSchema, cantonCommandSchema, cantonDisclosedContractSchema, cantonMinedTransactionSchema, cantonSignedTransactionSchema, cantonTransactionSchema };
|
|
106
|
-
//# sourceMappingURL=
|
|
107
|
-
//# sourceMappingURL=
|
|
136
|
+
export { buildCantonTransaction, cantonAssignedTransactionSchema, cantonCommandSchema, cantonDisclosedContractSchema, cantonMinedTransactionSchema, cantonRefreshSpecSchema, cantonSignedTransactionSchema, cantonTransactionSchema };
|
|
137
|
+
//# sourceMappingURL=3YCNHEVD.js.map
|
|
138
|
+
//# sourceMappingURL=3YCNHEVD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/transaction.ts"],"names":["createCommandSchema","z","object","templateId","string","createArguments","any","exerciseCommandSchema","contractId","choice","choiceArgument","createAndExerciseCommandSchema","exerciseByKeyCommandSchema","contractKey","cantonCommandSchema","union","createCommand","exerciseCommand","createAndExerciseCommand","exerciseByKeyCommand","cantonDisclosedContractSchema","optional","createdEventBlob","synchronizerId","ledgerRefreshEntrySchema","partyToFilter","literal","cantonRefreshSpecSchema","commands","array","extend","placeholder","multiple","boolean","disclosedContracts","cantonInflightTransactionSchema","preparedTransaction","preparedTransactionHash","hashingSchemeVersion","enum","commandId","completionOffset","number","cantonTransactionSchema","transactionSchema","populatedTransaction","actAs","partyToSenderEntity","record","refreshSpec","cantonAssignedTransactionSchema","assignedTransactionSchema","shape","inflightTransaction","cantonSignedTransactionSchema","signedTransactionSchema","signedTransaction","signatures","party","format","signature","signedBy","signingAlgorithmSpec","cantonMinedTransactionSchema","minedTransactionSchema","buildCantonTransaction","chainName","tx","timestamps","created","Date","now"],"mappings":";;;;AAeA,IAAMA,mBAAAA,GAAsBC,EAAEC,MAAAA,CAAO;AACjCC,EAAAA,UAAAA,EAAYF,EAAEG,MAAAA,EAAM;AACpBC,EAAAA,eAAAA,EAAiBJ,EAAEK,GAAAA;AACvB,CAAA,CAAA;AAEA,IAAMC,qBAAAA,GAAwBN,EAAEC,MAAAA,CAAO;AACnCC,EAAAA,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AAA,EAAsB7D,EAAEG,MAAAA;AAC5B,OAAA,CAAA;AAER,KAAA,CAAA;GAER;AACJ,CAAA;AAKO,IAAM2D,4BAAAA,GAA+BC,uBAAuBlC,MAAAA,CAAO;AACtE,EAAA,GAAGwB,6BAAAA,CAA8BF,KAAAA;EACjCC,mBAAAA,EAAqBlB;AACzB,CAAA;AAaO,IAAM8B,sBAAAA,mBAAyB,MAAA,CAAA,OAClCC,SAAAA,EACAC,EAAAA,KAAAA;AAEA,EAAA,OAAO;IACH,GAAGA,EAAAA;AACHD,IAAAA,SAAAA;IACAE,UAAAA,EAAY;AACRC,MAAAA,OAAAA,EAASF,EAAAA,CAAGC,UAAAA,EAAYC,OAAAA,IAAWC,IAAAA,CAAKC,GAAAA;AAC5C;AACJ,GAAA;AACJ,CAAA,EAXsC,wBAAA","file":"3YCNHEVD.js","sourcesContent":["import { z } from 'zod';\n\nimport {\n assignedTransactionSchema,\n minedTransactionSchema,\n signedTransactionSchema,\n transactionSchema,\n} from '@layerzerolabs/common-chain-model';\nimport type { PartialBy } from '@layerzerolabs/typescript-utils';\n\n// === Component schemas ===\n\n// Payload fields (createArguments, choiceArgument, contractKey) are z.any() —\n// arbitrary Daml values whose shape depends on the template.\n\nconst createCommandSchema = z.object({\n templateId: z.string(),\n createArguments: z.any(),\n});\n\nconst exerciseCommandSchema = z.object({\n templateId: z.string(),\n contractId: z.string(),\n choice: z.string(),\n choiceArgument: z.any(),\n});\n\nconst createAndExerciseCommandSchema = z.object({\n templateId: z.string(),\n createArguments: z.any(),\n choice: z.string(),\n choiceArgument: z.any(),\n});\n\nconst exerciseByKeyCommandSchema = z.object({\n templateId: z.string(),\n contractKey: z.any(),\n choice: z.string(),\n choiceArgument: z.any(),\n});\n\nexport const cantonCommandSchema = z.union([\n z.object({ createCommand: createCommandSchema }),\n z.object({ exerciseCommand: exerciseCommandSchema }),\n z.object({ createAndExerciseCommand: createAndExerciseCommandSchema }),\n z.object({ exerciseByKeyCommand: exerciseByKeyCommandSchema }),\n]);\n\nexport const cantonDisclosedContractSchema = z.object({\n templateId: z.string().optional(),\n contractId: z.string(),\n createdEventBlob: z.string(),\n synchronizerId: z.string(),\n});\n\n/** A contract located by an Active Contract Set query, run as a party that can see\n * it (the sender for holdings; a config admin for OFT/RequestFactory/… later). */\nconst ledgerRefreshEntrySchema = z.object({\n /** Party whose Active Contract Set to query; resolved at sign time. */\n partyToFilter: z.literal('sender'),\n /** Template id to query. */\n templateId: z.string(),\n});\n\n/**\n * Declarative description of ledger contracts the building factory deferred to sign\n * time, resolved by a generic ledger-query refresh executor. (The amulet fee context is\n * refreshed automatically when a command carries its placeholder, so it isn't declared\n * here.)\n */\nexport const cantonRefreshSpecSchema = z.object({\n /** Command-tree placeholders, each replaced with the contract id(s) from a ledger query. */\n commands: z\n .array(\n ledgerRefreshEntrySchema.extend({\n /** Sentinel to replace in the command tree. */\n placeholder: z.string(),\n /** When true, the placeholder is replaced with the full array of resolved\n * contract ids (e.g. amulet holdings); otherwise with the single id. */\n multiple: z.boolean().optional(),\n }),\n )\n .optional(),\n /** Contracts fetched via a ledger query (run as the sender) and appended to\n * disclosedContracts. */\n disclosedContracts: z.array(ledgerRefreshEntrySchema).optional(),\n});\n\nexport type CantonRefreshSpec = z.infer<typeof cantonRefreshSpecSchema>;\n\n/** Output of prepareForSigning — needed by submitSigned to execute the transaction. */\nconst cantonInflightTransactionSchema = z.object({\n /** The prepared transaction blob */\n preparedTransaction: z.string(),\n /** Hash of the prepared transaction (what was signed) */\n preparedTransactionHash: z.string(),\n /** Hashing scheme version used */\n hashingSchemeVersion: z.enum([\n 'HASHING_SCHEME_VERSION_UNSPECIFIED',\n 'HASHING_SCHEME_VERSION_V2',\n ]),\n /** Command ID for tracking */\n commandId: z.string(),\n /** Ledger offset at which the submission landed — used as `beginExclusive`\n * for waitForCommand to avoid polling from the start of the ledger.\n * Optional: only present after send(); absent for old/retry scenarios. */\n completionOffset: z.number().optional(),\n});\n\n// === Lifecycle schemas ===\n\n/**\n * Canton transaction schema for Daml Ledger API commands.\n *\n * Canton uses an interactive submission (prepare-sign-submit) flow for external party signing.\n * The populatedTransaction contains the commands to send to prepareForSigning.\n */\nexport const cantonTransactionSchema = transactionSchema.extend({\n populatedTransaction: z.object({\n /** Parties submitting the command (actAs) */\n actAs: z.array(z.string()),\n /** Daml commands to send to prepareForSigning */\n commands: z.array(cantonCommandSchema),\n /** Disclosed contracts for contract/key lookups */\n disclosedContracts: z.array(cantonDisclosedContractSchema),\n /** Maps each actAs party → the senderEntityName(s) controlling its signing\n * key(s), always as an array. `.optional()` only so deferred-sender create-time\n * payloads parse; by sign time every actAs party must map, or signing throws.\n * Multiple entries = a multisig party (decentralized namespace) whose keys must\n * all sign. */\n partyToSenderEntity: z.record(z.string(), z.array(z.string())).optional(),\n /** Sign-time refresh spec for placeholders the building factory deferred\n * (e.g. amulet input holdings, disclosures, time-sensitive choice context).\n * Resolved by the generic refresh executor before prepareForSigning. */\n refreshSpec: cantonRefreshSpecSchema.optional(),\n }),\n});\n\n/**\n * Assigned transaction includes the inflight transaction data.\n */\nexport const cantonAssignedTransactionSchema = assignedTransactionSchema.extend({\n ...cantonTransactionSchema.shape,\n inflightTransaction: cantonInflightTransactionSchema.optional(),\n});\n\n/**\n * Signed transaction includes the DER-encoded ECDSA signature.\n */\nexport const cantonSignedTransactionSchema = signedTransactionSchema.extend({\n ...cantonAssignedTransactionSchema.shape,\n signedTransaction: z.object({\n /** Per-party signatures in the format expected by Canton's submitSigned */\n signatures: z.array(\n z.object({\n party: z.string(),\n signatures: z.array(\n z.object({\n format: z.string(),\n signature: z.string(),\n signedBy: z.string(),\n signingAlgorithmSpec: z.string(),\n }),\n ),\n }),\n ),\n }),\n});\n\n/**\n * Mined transaction with confirmation result.\n */\nexport const cantonMinedTransactionSchema = minedTransactionSchema.extend({\n ...cantonSignedTransactionSchema.shape,\n inflightTransaction: cantonInflightTransactionSchema,\n});\n\n// === Types ===\n\nexport type CantonTx = z.infer<typeof cantonTransactionSchema>;\nexport type CantonAssignedTx = z.infer<typeof cantonAssignedTransactionSchema>;\nexport type CantonSignedTx = z.infer<typeof cantonSignedTransactionSchema>;\nexport type CantonMinedTx = z.infer<typeof cantonMinedTransactionSchema>;\n\n// === Builder ===\n\nexport type BuildCantonTransactionInput = PartialBy<CantonTx, 'chainName' | 'timestamps'>;\n\nexport const buildCantonTransaction = async (\n chainName: string,\n tx: BuildCantonTransactionInput,\n): Promise<CantonTx> => {\n return {\n ...tx,\n chainName,\n timestamps: {\n created: tx.timestamps?.created ?? Date.now(),\n },\n };\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExperimentalStaticTimeFromJSON, ExperimentalStaticTimeToJSON } from './FSI4ML2J.js';
|
|
2
1
|
import { ExperimentalCommandInspectionServiceFromJSON, ExperimentalCommandInspectionServiceToJSON } from './KLGD7ZKC.js';
|
|
2
|
+
import { ExperimentalStaticTimeFromJSON, ExperimentalStaticTimeToJSON } from './FSI4ML2J.js';
|
|
3
3
|
import { __name } from './VUOMXK5T.js';
|
|
4
4
|
|
|
5
5
|
// src/open-api/models/ExperimentalFeatures.ts
|
|
@@ -37,5 +37,5 @@ function ExperimentalFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
37
37
|
__name(ExperimentalFeaturesToJSONTyped, "ExperimentalFeaturesToJSONTyped");
|
|
38
38
|
|
|
39
39
|
export { ExperimentalFeaturesFromJSON, ExperimentalFeaturesFromJSONTyped, ExperimentalFeaturesToJSON, ExperimentalFeaturesToJSONTyped, instanceOfExperimentalFeatures };
|
|
40
|
-
//# sourceMappingURL=
|
|
41
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=42XERBT4.js.map
|
|
41
|
+
//# sourceMappingURL=42XERBT4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/ExperimentalFeatures.ts"],"names":["instanceOfExperimentalFeatures","value","ExperimentalFeaturesFromJSON","json","ExperimentalFeaturesFromJSONTyped","ignoreDiscriminator","undefined","ExperimentalStaticTimeFromJSON","ExperimentalCommandInspectionServiceFromJSON","ExperimentalFeaturesToJSON","ExperimentalFeaturesToJSONTyped","ExperimentalStaticTimeToJSON","ExperimentalCommandInspectionServiceToJSON"],"mappings":";;;;;AAqDO,SAASA,+BAA+BC,KAAAA,EAAa;AACxD,EAAA,OAAO,IAAA;AACX;AAFgBD,MAAAA,CAAAA,8BAAAA,EAAAA,gCAAAA,CAAAA;AAIT,SAASE,6BAA6BC,IAAAA,EAAS;AAClD,EAAA,OAAOC,iCAAAA,CAAkCD,IAAM,CAAA;AACnD;AAFgBD,MAAAA,CAAAA,4BAAAA,EAAAA,8BAAAA,CAAAA;AAIT,SAASE,iCAAAA,CAAkCD,MAAWE,mBAAAA,EAA4B;AACrF,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;IAEH,YAAA,EAAcA,IAAAA,CAAK,YAAA,CAAA,IAAiB,IAAA,GAAOG,SAAYC,8BAAAA,CAA+BJ,IAAAA,CAAK,YAAA,CAAa,CAAA;IACxG,0BAAA,EAA4BA,IAAAA,CAAK,0BAAA,CAAA,IAA+B,IAAA,GAAOG,SAAYE,4CAAAA,CAA6CL,IAAAA,CAAK,0BAAA,CAA2B;AACpK,GAAA;AACJ;AATgBC,MAAAA,CAAAA,iCAAAA,EAAAA,mCAAAA,CAAAA;AAWT,SAASK,2BAA2BN,IAAAA,EAAS;AAChD,EAAA,OAAOO,+BAAAA,CAAgCP,MAAM,KAAA,CAAA;AACjD;AAFgBM,MAAAA,CAAAA,0BAAAA,EAAAA,4BAAAA,CAAAA;AAIT,SAASC,+BAAAA,CAAgCT,KAAAA,EAAqCI,mBAAAA,GAA+B,KAAA,EAAK;AACrH,EAAA,IAAIJ,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;IAEH,YAAA,EAAcU,4BAAAA,CAA6BV,KAAAA,CAAM,YAAA,CAAa,CAAA;IAC9D,0BAAA,EAA4BW,0CAAAA,CAA2CX,KAAAA,CAAM,0BAAA,CAA2B;AAC5G,GAAA;AACJ;AAVgBS,MAAAA,CAAAA,+BAAAA,EAAAA,iCAAAA,CAAAA","file":"
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/ExperimentalFeatures.ts"],"names":["instanceOfExperimentalFeatures","value","ExperimentalFeaturesFromJSON","json","ExperimentalFeaturesFromJSONTyped","ignoreDiscriminator","undefined","ExperimentalStaticTimeFromJSON","ExperimentalCommandInspectionServiceFromJSON","ExperimentalFeaturesToJSON","ExperimentalFeaturesToJSONTyped","ExperimentalStaticTimeToJSON","ExperimentalCommandInspectionServiceToJSON"],"mappings":";;;;;AAqDO,SAASA,+BAA+BC,KAAAA,EAAa;AACxD,EAAA,OAAO,IAAA;AACX;AAFgBD,MAAAA,CAAAA,8BAAAA,EAAAA,gCAAAA,CAAAA;AAIT,SAASE,6BAA6BC,IAAAA,EAAS;AAClD,EAAA,OAAOC,iCAAAA,CAAkCD,IAAM,CAAA;AACnD;AAFgBD,MAAAA,CAAAA,4BAAAA,EAAAA,8BAAAA,CAAAA;AAIT,SAASE,iCAAAA,CAAkCD,MAAWE,mBAAAA,EAA4B;AACrF,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;IAEH,YAAA,EAAcA,IAAAA,CAAK,YAAA,CAAA,IAAiB,IAAA,GAAOG,SAAYC,8BAAAA,CAA+BJ,IAAAA,CAAK,YAAA,CAAa,CAAA;IACxG,0BAAA,EAA4BA,IAAAA,CAAK,0BAAA,CAAA,IAA+B,IAAA,GAAOG,SAAYE,4CAAAA,CAA6CL,IAAAA,CAAK,0BAAA,CAA2B;AACpK,GAAA;AACJ;AATgBC,MAAAA,CAAAA,iCAAAA,EAAAA,mCAAAA,CAAAA;AAWT,SAASK,2BAA2BN,IAAAA,EAAS;AAChD,EAAA,OAAOO,+BAAAA,CAAgCP,MAAM,KAAA,CAAA;AACjD;AAFgBM,MAAAA,CAAAA,0BAAAA,EAAAA,4BAAAA,CAAAA;AAIT,SAASC,+BAAAA,CAAgCT,KAAAA,EAAqCI,mBAAAA,GAA+B,KAAA,EAAK;AACrH,EAAA,IAAIJ,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;IAEH,YAAA,EAAcU,4BAAAA,CAA6BV,KAAAA,CAAM,YAAA,CAAa,CAAA;IAC9D,0BAAA,EAA4BW,0CAAAA,CAA2CX,KAAAA,CAAM,0BAAA,CAA2B;AAC5G,GAAA;AACJ;AAVgBS,MAAAA,CAAAA,+BAAAA,EAAAA,iCAAAA,CAAAA","file":"42XERBT4.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { ExperimentalStaticTime } from './ExperimentalStaticTime.js';\nimport {\n ExperimentalStaticTimeFromJSON,\n ExperimentalStaticTimeFromJSONTyped,\n ExperimentalStaticTimeToJSON,\n ExperimentalStaticTimeToJSONTyped,\n} from './ExperimentalStaticTime.js';\nimport type { ExperimentalCommandInspectionService } from './ExperimentalCommandInspectionService.js';\nimport {\n ExperimentalCommandInspectionServiceFromJSON,\n ExperimentalCommandInspectionServiceFromJSONTyped,\n ExperimentalCommandInspectionServiceToJSON,\n ExperimentalCommandInspectionServiceToJSONTyped,\n} from './ExperimentalCommandInspectionService.js';\n\n/**\n * See the feature message definitions for descriptions.\n * @export\n * @interface ExperimentalFeatures\n */\nexport interface ExperimentalFeatures {\n /**\n * \n * @type {ExperimentalStaticTime}\n * @memberof ExperimentalFeatures\n */\n staticTime?: ExperimentalStaticTime;\n /**\n * \n * @type {ExperimentalCommandInspectionService}\n * @memberof ExperimentalFeatures\n */\n commandInspectionService?: ExperimentalCommandInspectionService;\n}\n\n/**\n * Check if a given object implements the ExperimentalFeatures interface.\n */\nexport function instanceOfExperimentalFeatures(value: object): value is ExperimentalFeatures {\n return true;\n}\n\nexport function ExperimentalFeaturesFromJSON(json: any): ExperimentalFeatures {\n return ExperimentalFeaturesFromJSONTyped(json, false);\n}\n\nexport function ExperimentalFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExperimentalFeatures {\n if (json == null) {\n return json;\n }\n return {\n \n 'staticTime': json['staticTime'] == null ? undefined : ExperimentalStaticTimeFromJSON(json['staticTime']),\n 'commandInspectionService': json['commandInspectionService'] == null ? undefined : ExperimentalCommandInspectionServiceFromJSON(json['commandInspectionService']),\n };\n}\n\nexport function ExperimentalFeaturesToJSON(json: any): ExperimentalFeatures {\n return ExperimentalFeaturesToJSONTyped(json, false);\n}\n\nexport function ExperimentalFeaturesToJSONTyped(value?: ExperimentalFeatures | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'staticTime': ExperimentalStaticTimeToJSON(value['staticTime']),\n 'commandInspectionService': ExperimentalCommandInspectionServiceToJSON(value['commandInspectionService']),\n };\n}\n\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PartySignaturesFromJSON, PartySignaturesToJSON } from './LQ3LPE4G.js';
|
|
2
|
-
import { MinLedgerTimeFromJSON, MinLedgerTimeToJSON } from './
|
|
3
|
-
import { TransactionFormatFromJSON, TransactionFormatToJSON } from './
|
|
4
|
-
import { DeduplicationPeriod2FromJSON, DeduplicationPeriod2ToJSON } from './
|
|
2
|
+
import { MinLedgerTimeFromJSON, MinLedgerTimeToJSON } from './A7U4VVQK.js';
|
|
3
|
+
import { TransactionFormatFromJSON, TransactionFormatToJSON } from './VVR6BIVE.js';
|
|
4
|
+
import { DeduplicationPeriod2FromJSON, DeduplicationPeriod2ToJSON } from './TWUSN2QY.js';
|
|
5
5
|
import { __name } from './VUOMXK5T.js';
|
|
6
6
|
|
|
7
7
|
// src/open-api/models/JsExecuteSubmissionAndWaitForTransactionRequest.ts
|
|
@@ -59,5 +59,5 @@ function JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped(value, ignor
|
|
|
59
59
|
__name(JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped, "JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped");
|
|
60
60
|
|
|
61
61
|
export { JsExecuteSubmissionAndWaitForTransactionRequestFromJSON, JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped, JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum, JsExecuteSubmissionAndWaitForTransactionRequestToJSON, JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped, instanceOfJsExecuteSubmissionAndWaitForTransactionRequest };
|
|
62
|
-
//# sourceMappingURL=
|
|
63
|
-
//# sourceMappingURL=
|
|
62
|
+
//# sourceMappingURL=4AKFOZFY.js.map
|
|
63
|
+
//# sourceMappingURL=4AKFOZFY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/JsExecuteSubmissionAndWaitForTransactionRequest.ts"],"names":["JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum","HashingSchemeVersionUnspecified","HashingSchemeVersionV2","instanceOfJsExecuteSubmissionAndWaitForTransactionRequest","value","undefined","JsExecuteSubmissionAndWaitForTransactionRequestFromJSON","json","JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped","ignoreDiscriminator","PartySignaturesFromJSON","DeduplicationPeriod2FromJSON","MinLedgerTimeFromJSON","TransactionFormatFromJSON","JsExecuteSubmissionAndWaitForTransactionRequestToJSON","JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped","PartySignaturesToJSON","Deduplic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,mBAAA,EAAqBe,uBAAAA,CAAwBf,KAAAA,CAAM,mBAAA,CAAoB;AAC3E,GAAA;AACJ;AAhBgBW,MAAAA,CAAAA,0DAAAA,EAAAA,4DAAAA,CAAAA","file":"WCCLV452.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { PartySignatures } from './PartySignatures.js';\nimport {\n PartySignaturesFromJSON,\n PartySignaturesFromJSONTyped,\n PartySignaturesToJSON,\n PartySignaturesToJSONTyped,\n} from './PartySignatures.js';\nimport type { DeduplicationPeriod2 } from './DeduplicationPeriod2.js';\nimport {\n DeduplicationPeriod2FromJSON,\n DeduplicationPeriod2FromJSONTyped,\n DeduplicationPeriod2ToJSON,\n DeduplicationPeriod2ToJSONTyped,\n} from './DeduplicationPeriod2.js';\nimport type { TransactionFormat } from './TransactionFormat.js';\nimport {\n TransactionFormatFromJSON,\n TransactionFormatFromJSONTyped,\n TransactionFormatToJSON,\n TransactionFormatToJSONTyped,\n} from './TransactionFormat.js';\nimport type { MinLedgerTime } from './MinLedgerTime.js';\nimport {\n MinLedgerTimeFromJSON,\n MinLedgerTimeFromJSONTyped,\n MinLedgerTimeToJSON,\n MinLedgerTimeToJSONTyped,\n} from './MinLedgerTime.js';\n\n/**\n * \n * @export\n * @interface JsExecuteSubmissionAndWaitForTransactionRequest\n */\nexport interface JsExecuteSubmissionAndWaitForTransactionRequest {\n /**\n * the prepared transaction\n * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`\n * obtained from calling `prepareSubmission`.\n * Required\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n preparedTransaction?: string;\n /**\n * \n * @type {PartySignatures}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n partySignatures?: PartySignatures;\n /**\n * \n * @type {DeduplicationPeriod2}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n deduplicationPeriod: DeduplicationPeriod2;\n /**\n * A unique identifier to distinguish completions for different submissions with the same change ID.\n * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission\n * with the same change ID.\n * Must be a valid LedgerString (as described in ``value.proto``).\n * \n * Required\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n submissionId: string;\n /**\n * See [PrepareSubmissionRequest.user_id]\n * Optional\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n userId: string;\n /**\n * The hashing scheme version used when building the hash\n * Required\n * @type {JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n hashingSchemeVersion: JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum;\n /**\n * \n * @type {MinLedgerTime}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n minLedgerTime?: MinLedgerTime;\n /**\n * \n * @type {TransactionFormat}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n transactionFormat?: TransactionFormat;\n}\n\n\n/**\n * @export\n */\nexport const JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum = {\n HashingSchemeVersionUnspecified: 'HASHING_SCHEME_VERSION_UNSPECIFIED',\n HashingSchemeVersionV2: 'HASHING_SCHEME_VERSION_V2'\n} as const;\nexport type JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum = typeof JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum[keyof typeof JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum];\n\n\n/**\n * Check if a given object implements the JsExecuteSubmissionAndWaitForTransactionRequest interface.\n */\nexport function instanceOfJsExecuteSubmissionAndWaitForTransactionRequest(value: object): value is JsExecuteSubmissionAndWaitForTransactionRequest {\n if (!('deduplicationPeriod' in value) || value['deduplicationPeriod'] === undefined) return false;\n if (!('submissionId' in value) || value['submissionId'] === undefined) return false;\n if (!('userId' in value) || value['userId'] === undefined) return false;\n if (!('hashingSchemeVersion' in value) || value['hashingSchemeVersion'] === undefined) return false;\n return true;\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestFromJSON(json: any): JsExecuteSubmissionAndWaitForTransactionRequest {\n return JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped(json, false);\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsExecuteSubmissionAndWaitForTransactionRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'preparedTransaction': json['preparedTransaction'] == null ? undefined : json['preparedTransaction'],\n 'partySignatures': json['partySignatures'] == null ? undefined : PartySignaturesFromJSON(json['partySignatures']),\n 'deduplicationPeriod': DeduplicationPeriod2FromJSON(json['deduplicationPeriod']),\n 'submissionId': json['submissionId'],\n 'userId': json['userId'],\n 'hashingSchemeVersion': json['hashingSchemeVersion'],\n 'minLedgerTime': json['minLedgerTime'] == null ? undefined : MinLedgerTimeFromJSON(json['minLedgerTime']),\n 'transactionFormat': json['transactionFormat'] == null ? undefined : TransactionFormatFromJSON(json['transactionFormat']),\n };\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestToJSON(json: any): JsExecuteSubmissionAndWaitForTransactionRequest {\n return JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped(json, false);\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped(value?: JsExecuteSubmissionAndWaitForTransactionRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'preparedTransaction': value['preparedTransaction'],\n 'partySignatures': PartySignaturesToJSON(value['partySignatures']),\n 'deduplicationPeriod': DeduplicationPeriod2ToJSON(value['deduplicationPeriod']),\n 'submissionId': value['submissionId'],\n 'userId': value['userId'],\n 'hashingSchemeVersion': value['hashingSchemeVersion'],\n 'minLedgerTime': MinLedgerTimeToJSON(value['minLedgerTime']),\n 'transactionFormat': TransactionFormatToJSON(value['transactionFormat']),\n };\n}\n\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/JsExecuteSubmissionAndWaitForTransactionRequest.ts"],"names":["JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum","HashingSchemeVersionUnspecified","HashingSchemeVersionV2","instanceOfJsExecuteSubmissionAndWaitForTransactionRequest","value","undefined","JsExecuteSubmissionAndWaitForTransactionRequestFromJSON","json","JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped","ignoreDiscriminator","PartySignaturesFromJSON","DeduplicationPeriod2FromJSON","MinLedgerTimeFromJSON","TransactionFormatFromJSON","JsExecuteSubmissionAndWaitForTransactionRequestToJSON","JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped","PartySignaturesToJSON","DeduplicationPeriod2ToJSON","MinLedgerTimeToJSON","TransactionFormatToJSON"],"mappings":";;;;;;;AAkHO,IAAMA,uEAAAA,GAA0E;EACnFC,+BAAAA,EAAiC,oCAAA;EACjCC,sBAAAA,EAAwB;AAC5B;AAOO,SAASC,0DAA0DC,KAAAA,EAAa;AACnF,EAAA,IAAI,EAAE,qBAAA,IAAyBA,KAAAA,CAAAA,IAAUA,MAAM,qBAAA,CAAA,KAA2BC,QAAW,OAAO,KAAA;AAC5F,EAAA,IAAI,EAAE,cAAA,IAAkBD,KAAAA,CAAAA,IAAUA,MAAM,cAAA,CAAA,KAAoBC,QAAW,OAAO,KAAA;AAC9E,EAAA,IAAI,EAAE,QAAA,IAAYD,KAAAA,CAAAA,IAAUA,MAAM,QAAA,CAAA,KAAcC,QAAW,OAAO,KAAA;AAClE,EAAA,IAAI,EAAE,sBAAA,IAA0BD,KAAAA,CAAAA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AAOQ,0DAAAA,CAA2DR,MAAM,KAAA,CAAA;AAC5E;AAFgBO,MAAAA,CAAAA,qDAAAA,EAAAA,uDAAAA,CAAAA;AAIT,SAASC,0DAAAA,CAA2DX,KAAAA,EAAgEK,mBAAAA,GAA+B,KAAA,EAAK;AAC3K,EAAA,IAAIL,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;AAEH,IAAA,qBAAA,EAAuBA,MAAM,qBAAA,CAAA;IAC7B,iBAAA,EAAmBY,qBAAAA,CAAsBZ,KAAAA,CAAM,iBAAA,CAAkB,CAAA;IACjE,qBAAA,EAAuBa,0BAAAA,CAA2Bb,KAAAA,CAAM,qBAAA,CAAsB,CAAA;AAC9E,IAAA,cAAA,EAAgBA,MAAM,cAAA,CAAA;AACtB,IAAA,QAAA,EAAUA,MAAM,QAAA,CAAA;AAChB,IAAA,sBAAA,EAAwBA,MAAM,sBAAA,CAAA;IAC9B,eAAA,EAAiBc,mBAAAA,CAAoBd,KAAAA,CAAM,eAAA,CAAgB,CAAA;IAC3D,mBAAA,EAAqBe,uBAAAA,CAAwBf,KAAAA,CAAM,mBAAA,CAAoB;AAC3E,GAAA;AACJ;AAhBgBW,MAAAA,CAAAA,0DAAAA,EAAAA,4DAAAA,CAAAA","file":"4AKFOZFY.js","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * JSON Ledger API HTTP endpoints\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { PartySignatures } from './PartySignatures.js';\nimport {\n PartySignaturesFromJSON,\n PartySignaturesFromJSONTyped,\n PartySignaturesToJSON,\n PartySignaturesToJSONTyped,\n} from './PartySignatures.js';\nimport type { DeduplicationPeriod2 } from './DeduplicationPeriod2.js';\nimport {\n DeduplicationPeriod2FromJSON,\n DeduplicationPeriod2FromJSONTyped,\n DeduplicationPeriod2ToJSON,\n DeduplicationPeriod2ToJSONTyped,\n} from './DeduplicationPeriod2.js';\nimport type { TransactionFormat } from './TransactionFormat.js';\nimport {\n TransactionFormatFromJSON,\n TransactionFormatFromJSONTyped,\n TransactionFormatToJSON,\n TransactionFormatToJSONTyped,\n} from './TransactionFormat.js';\nimport type { MinLedgerTime } from './MinLedgerTime.js';\nimport {\n MinLedgerTimeFromJSON,\n MinLedgerTimeFromJSONTyped,\n MinLedgerTimeToJSON,\n MinLedgerTimeToJSONTyped,\n} from './MinLedgerTime.js';\n\n/**\n * \n * @export\n * @interface JsExecuteSubmissionAndWaitForTransactionRequest\n */\nexport interface JsExecuteSubmissionAndWaitForTransactionRequest {\n /**\n * the prepared transaction\n * Typically this is the value of the `prepared_transaction` field in `PrepareSubmissionResponse`\n * obtained from calling `prepareSubmission`.\n * Required\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n preparedTransaction?: string;\n /**\n * \n * @type {PartySignatures}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n partySignatures?: PartySignatures;\n /**\n * \n * @type {DeduplicationPeriod2}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n deduplicationPeriod: DeduplicationPeriod2;\n /**\n * A unique identifier to distinguish completions for different submissions with the same change ID.\n * Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission\n * with the same change ID.\n * Must be a valid LedgerString (as described in ``value.proto``).\n * \n * Required\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n submissionId: string;\n /**\n * See [PrepareSubmissionRequest.user_id]\n * Optional\n * @type {string}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n userId: string;\n /**\n * The hashing scheme version used when building the hash\n * Required\n * @type {JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n hashingSchemeVersion: JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum;\n /**\n * \n * @type {MinLedgerTime}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n minLedgerTime?: MinLedgerTime;\n /**\n * \n * @type {TransactionFormat}\n * @memberof JsExecuteSubmissionAndWaitForTransactionRequest\n */\n transactionFormat?: TransactionFormat;\n}\n\n\n/**\n * @export\n */\nexport const JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum = {\n HashingSchemeVersionUnspecified: 'HASHING_SCHEME_VERSION_UNSPECIFIED',\n HashingSchemeVersionV2: 'HASHING_SCHEME_VERSION_V2'\n} as const;\nexport type JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum = typeof JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum[keyof typeof JsExecuteSubmissionAndWaitForTransactionRequestHashingSchemeVersionEnum];\n\n\n/**\n * Check if a given object implements the JsExecuteSubmissionAndWaitForTransactionRequest interface.\n */\nexport function instanceOfJsExecuteSubmissionAndWaitForTransactionRequest(value: object): value is JsExecuteSubmissionAndWaitForTransactionRequest {\n if (!('deduplicationPeriod' in value) || value['deduplicationPeriod'] === undefined) return false;\n if (!('submissionId' in value) || value['submissionId'] === undefined) return false;\n if (!('userId' in value) || value['userId'] === undefined) return false;\n if (!('hashingSchemeVersion' in value) || value['hashingSchemeVersion'] === undefined) return false;\n return true;\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestFromJSON(json: any): JsExecuteSubmissionAndWaitForTransactionRequest {\n return JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped(json, false);\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsExecuteSubmissionAndWaitForTransactionRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'preparedTransaction': json['preparedTransaction'] == null ? undefined : json['preparedTransaction'],\n 'partySignatures': json['partySignatures'] == null ? undefined : PartySignaturesFromJSON(json['partySignatures']),\n 'deduplicationPeriod': DeduplicationPeriod2FromJSON(json['deduplicationPeriod']),\n 'submissionId': json['submissionId'],\n 'userId': json['userId'],\n 'hashingSchemeVersion': json['hashingSchemeVersion'],\n 'minLedgerTime': json['minLedgerTime'] == null ? undefined : MinLedgerTimeFromJSON(json['minLedgerTime']),\n 'transactionFormat': json['transactionFormat'] == null ? undefined : TransactionFormatFromJSON(json['transactionFormat']),\n };\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestToJSON(json: any): JsExecuteSubmissionAndWaitForTransactionRequest {\n return JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped(json, false);\n}\n\nexport function JsExecuteSubmissionAndWaitForTransactionRequestToJSONTyped(value?: JsExecuteSubmissionAndWaitForTransactionRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'preparedTransaction': value['preparedTransaction'],\n 'partySignatures': PartySignaturesToJSON(value['partySignatures']),\n 'deduplicationPeriod': DeduplicationPeriod2ToJSON(value['deduplicationPeriod']),\n 'submissionId': value['submissionId'],\n 'userId': value['userId'],\n 'hashingSchemeVersion': value['hashingSchemeVersion'],\n 'minLedgerTime': MinLedgerTimeToJSON(value['minLedgerTime']),\n 'transactionFormat': TransactionFormatToJSON(value['transactionFormat']),\n };\n}\n\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransactionFormatFromJSON, TransactionFormatToJSON } from './
|
|
1
|
+
import { TransactionFormatFromJSON, TransactionFormatToJSON } from './VVR6BIVE.js';
|
|
2
2
|
import { __name } from './VUOMXK5T.js';
|
|
3
3
|
|
|
4
4
|
// src/open-api/models/GetTransactionByIdRequest.ts
|
|
@@ -39,5 +39,5 @@ function GetTransactionByIdRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
39
39
|
__name(GetTransactionByIdRequestToJSONTyped, "GetTransactionByIdRequestToJSONTyped");
|
|
40
40
|
|
|
41
41
|
export { GetTransactionByIdRequestFromJSON, GetTransactionByIdRequestFromJSONTyped, GetTransactionByIdRequestToJSON, GetTransactionByIdRequestToJSONTyped, instanceOfGetTransactionByIdRequest };
|
|
42
|
-
//# sourceMappingURL=
|
|
43
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=4AM6UVPL.js.map
|
|
43
|
+
//# sourceMappingURL=4AM6UVPL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/open-api/models/GetTransactionByIdRequest.ts"],"names":["instanceOfGetTransactionByIdRequest","value","undefined","GetTransactionByIdRequestFromJSON","json","GetTransactionByIdRequestFromJSONTyped","ignoreDiscriminator","TransactionFormatFromJSON","GetTransactionByIdRequestToJSON","GetTransactionByIdRequestToJSONTyped","TransactionFormatToJSON"],"mappings":";;;;AA2DO,SAASA,oCAAoCC,KAAAA,EAAa;AAC7D,EAAA,IAAI,EAAE,UAAA,IAAcA,KAAAA,CAAAA,IAAUA,MAAM,UAAA,CAAA,KAAgBC,QAAW,OAAO,KAAA;AACtE,EAAA,OAAO,IAAA;AACX;AAHgBF,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA;AAKT,SAASG,kCAAkCC,IAAAA,EAAS;AACvD,EAAA,OAAOC,sCAAAA,CAAuCD,IAAM,CAAA;AACxD;AAFgBD,MAAAA,CAAAA,iCAAAA,EAAAA,mCAAAA,CAAAA;AAIT,SAASE,sCAAAA,CAAuCD,MAAWE,mBAAAA,EAA4B;AAC1F,EAAA,IAAIF,QAAQ,IAAA,EAAM;AACd,IAAA,OAAOA,IAAAA;AACX,EAAA;AACA,EAAA,OAAO;AAEH,IAAA,UAAA,EAAYA,KAAK,UAAA,CAAA;AACjB,IAAA,mBAAA,EAAqBA,KAAK,mBAAA,CAAA,IAAwB,IAAA,GAAOF,MAAAA,GAAYE,KAAK,mBAAA,CAAA;IAC1E,mBAAA,EAAqBA,IAAAA,CAAK,mBAAA,CAAA,IAAwB,IAAA,GAAOF,SAAYK,yBAAAA,CAA0BH,IAAAA,CAAK,mBAAA,CAAoB;AAC5H,GAAA;AACJ;AAVgBC,MAAAA,CAAAA,sCAAAA,EAAAA,wCAAAA,CAAAA;AAYT,SAASG,gCAAgCJ,IAAAA,EAAS;AACrD,EAAA,OAAOK,oCAAAA,CAAqCL,MAAM,KAAA,CAAA;AACtD;AAFgBI,MAAAA,CAAAA,+BAAAA,EAAAA,iCAAAA,CAAAA;AAIT,SAASC,oCAAAA,CAAqCR,KAAAA,EAA0CK,mBAAAA,GAA+B,KAAA,EAAK;AAC/H,EAAA,IAAIL,SAAS,IAAA,EAAM;AACf,IAAA,OAAOA,KAAAA;AACX,EAAA;AAEA,EAAA,OAAO;AAEH,IAAA,UAAA,EAAYA,MAAM,UAAA,CAAA;AAClB,IAAA,mBAAA,EAAqBA,MAAM,mBAAA,CAAA;IAC3B,mBAAA,EAAqBS,uBAAAA,CAAwBT,KAAAA,CAAM,mBAAA,CAAoB;AAC3E,GAAA;AACJ;AAXgBQ,MAAAA,CAAAA,oCAAAA,EAAAA,sCAAAA,CAAAA","file":"
|
|
1
|
+
{"version":3,"sources":["../src/open-api/models/GetTransactionByIdRequest.ts"],"names":["instanceOfGetTransactionByIdRequest","value","undefined","GetTransactionByIdRequestFromJSON","json","GetTransactionByIdRequestFromJSONTyped","ignoreDiscriminator","TransactionFormatFromJSON","GetTransactionByIdRequestToJSON","GetTransactionByIdRequestToJSONTyped","TransactionFormatToJSON"],"mappings":";;;;AA2DO,SAASA,oCAAoCC,KAAAA,EAAa;AAC7D,EAAA,IAAI,EAAE,UAAA,IAAcA,KAAAA,CAAAA,IAAUA,MAAM,UAAA,CAAA,KAAgBC,QAAW,OAAO,KAAA;AACtE,EAAA,OAAO,IAAA;AACX;AAHgBF,MAAAA,CAAAA,mCAAAA,EAAAA,qCAAAA,CAAAA;AAKT,SAASG,kCAAkCC,IAAAA,EAA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by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 3.4.3-SNAPSHOT\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { mapValues } from '../runtime.js';\nimport type { TransactionFormat } from './TransactionFormat.js';\nimport {\n TransactionFormatFromJSON,\n TransactionFormatFromJSONTyped,\n TransactionFormatToJSON,\n TransactionFormatToJSONTyped,\n} from './TransactionFormat.js';\n\n/**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.5.0.\n * @export\n * @interface GetTransactionByIdRequest\n */\nexport interface GetTransactionByIdRequest {\n /**\n * The ID of a particular transaction.\n * Must be a valid LedgerString (as described in ``value.proto``).\n * Required\n * @type {string}\n * @memberof GetTransactionByIdRequest\n */\n updateId: string;\n /**\n * Provided for backwards compatibility, it will be removed in the Canton version 3.5.0.\n * The parties whose events the client expects to see.\n * Events that are not visible for the parties in this collection will not be present in the response.\n * Each element must be a valid PartyIdString (as described in ``value.proto``).\n * Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be\n * unset (falling back to defaults).\n * @type {Array<string>}\n * @memberof GetTransactionByIdRequest\n */\n requestingParties?: Array<string>;\n /**\n * \n * @type {TransactionFormat}\n * @memberof GetTransactionByIdRequest\n */\n transactionFormat?: TransactionFormat;\n}\n\n/**\n * Check if a given object implements the GetTransactionByIdRequest interface.\n */\nexport function instanceOfGetTransactionByIdRequest(value: object): value is GetTransactionByIdRequest {\n if (!('updateId' in value) || value['updateId'] === undefined) return false;\n return true;\n}\n\nexport function GetTransactionByIdRequestFromJSON(json: any): GetTransactionByIdRequest {\n return GetTransactionByIdRequestFromJSONTyped(json, false);\n}\n\nexport function GetTransactionByIdRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetTransactionByIdRequest {\n if (json == null) {\n return json;\n }\n return {\n \n 'updateId': json['updateId'],\n 'requestingParties': json['requestingParties'] == null ? undefined : json['requestingParties'],\n 'transactionFormat': json['transactionFormat'] == null ? undefined : TransactionFormatFromJSON(json['transactionFormat']),\n };\n}\n\nexport function GetTransactionByIdRequestToJSON(json: any): GetTransactionByIdRequest {\n return GetTransactionByIdRequestToJSONTyped(json, false);\n}\n\nexport function GetTransactionByIdRequestToJSONTyped(value?: GetTransactionByIdRequest | null, ignoreDiscriminator: boolean = false): any {\n if (value == null) {\n return value;\n }\n\n return {\n \n 'updateId': value['updateId'],\n 'requestingParties': value['requestingParties'],\n 'transactionFormat': TransactionFormatToJSON(value['transactionFormat']),\n };\n}\n\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventFormatFromJSON, EventFormatToJSON } from './
|
|
1
|
+
import { EventFormatFromJSON, EventFormatToJSON } from './37DZS34C.js';
|
|
2
2
|
import { __name } from './VUOMXK5T.js';
|
|
3
3
|
|
|
4
4
|
// src/open-api/models/GetEventsByContractIdRequest.ts
|
|
@@ -37,5 +37,5 @@ function GetEventsByContractIdRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
37
37
|
__name(GetEventsByContractIdRequestToJSONTyped, "GetEventsByContractIdRequestToJSONTyped");
|
|
38
38
|
|
|
39
39
|
export { GetEventsByContractIdRequestFromJSON, GetEventsByContractIdRequestFromJSONTyped, GetEventsByContractIdRequestToJSON, GetEventsByContractIdRequestToJSONTyped, instanceOfGetEventsByContractIdRequest };
|
|
40
|
-
//# sourceMappingURL=
|
|
41
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=4UM5TVKI.js.map
|
|
41
|
+
//# sourceMappingURL=4UM5TVKI.js.map
|