@fairmint/canton-node-sdk 0.0.38 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
  2. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +5 -5
  3. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +1 -1
  4. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +2 -2
  5. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +1 -1
  6. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +1 -1
  7. package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +4 -4
  8. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +7 -4
  9. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts.map +1 -1
  10. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.js +12 -1
  11. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.js.map +1 -1
  12. package/build/src/clients/ledger-json-api/operations/v2/updates/get-flats.d.ts +16 -16
  13. package/build/src/clients/ledger-json-api/operations/v2/updates/get-trees.d.ts +8 -8
  14. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +24 -24
  15. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +12 -12
  16. package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +72 -72
  17. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +10 -10
  18. package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +16 -16
  19. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +114 -114
  20. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +160 -160
  21. package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +152 -152
  22. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +1044 -1044
  23. package/build/src/clients/ledger-json-api/schemas/api/users.d.ts +66 -66
  24. package/build/src/clients/ledger-json-api/schemas/common.d.ts +2 -2
  25. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +6 -6
  26. package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts +13 -13
  27. package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts +298 -298
  28. package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts +17 -17
  29. package/package.json +1 -1
@@ -154,15 +154,15 @@ export declare const CompletionSchema: z.ZodObject<{
154
154
  parentSpanId: z.ZodOptional<z.ZodString>;
155
155
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
156
156
  }, "strip", z.ZodTypeAny, {
157
+ metadata?: Record<string, string> | undefined;
157
158
  traceId?: string | undefined;
158
159
  spanId?: string | undefined;
159
160
  parentSpanId?: string | undefined;
160
- metadata?: Record<string, string> | undefined;
161
161
  }, {
162
+ metadata?: Record<string, string> | undefined;
162
163
  traceId?: string | undefined;
163
164
  spanId?: string | undefined;
164
165
  parentSpanId?: string | undefined;
165
- metadata?: Record<string, string> | undefined;
166
166
  }>>;
167
167
  /** Offset for resuming the stream. */
168
168
  offset: z.ZodNumber;
@@ -211,10 +211,10 @@ export declare const CompletionSchema: z.ZodObject<{
211
211
  submissionId?: string | undefined;
212
212
  updateId?: string | undefined;
213
213
  traceContext?: {
214
+ metadata?: Record<string, string> | undefined;
214
215
  traceId?: string | undefined;
215
216
  spanId?: string | undefined;
216
217
  parentSpanId?: string | undefined;
217
- metadata?: Record<string, string> | undefined;
218
218
  } | undefined;
219
219
  }, {
220
220
  commandId: string;
@@ -248,10 +248,10 @@ export declare const CompletionSchema: z.ZodObject<{
248
248
  submissionId?: string | undefined;
249
249
  updateId?: string | undefined;
250
250
  traceContext?: {
251
+ metadata?: Record<string, string> | undefined;
251
252
  traceId?: string | undefined;
252
253
  spanId?: string | undefined;
253
254
  parentSpanId?: string | undefined;
254
- metadata?: Record<string, string> | undefined;
255
255
  } | undefined;
256
256
  }>;
257
257
  }, "strip", z.ZodTypeAny, {
@@ -287,10 +287,10 @@ export declare const CompletionSchema: z.ZodObject<{
287
287
  submissionId?: string | undefined;
288
288
  updateId?: string | undefined;
289
289
  traceContext?: {
290
+ metadata?: Record<string, string> | undefined;
290
291
  traceId?: string | undefined;
291
292
  spanId?: string | undefined;
292
293
  parentSpanId?: string | undefined;
293
- metadata?: Record<string, string> | undefined;
294
294
  } | undefined;
295
295
  };
296
296
  }, {
@@ -326,10 +326,10 @@ export declare const CompletionSchema: z.ZodObject<{
326
326
  submissionId?: string | undefined;
327
327
  updateId?: string | undefined;
328
328
  traceContext?: {
329
+ metadata?: Record<string, string> | undefined;
329
330
  traceId?: string | undefined;
330
331
  spanId?: string | undefined;
331
332
  parentSpanId?: string | undefined;
332
- metadata?: Record<string, string> | undefined;
333
333
  } | undefined;
334
334
  };
335
335
  }>;
@@ -485,15 +485,15 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
485
485
  parentSpanId: z.ZodOptional<z.ZodString>;
486
486
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
487
487
  }, "strip", z.ZodTypeAny, {
488
+ metadata?: Record<string, string> | undefined;
488
489
  traceId?: string | undefined;
489
490
  spanId?: string | undefined;
490
491
  parentSpanId?: string | undefined;
491
- metadata?: Record<string, string> | undefined;
492
492
  }, {
493
+ metadata?: Record<string, string> | undefined;
493
494
  traceId?: string | undefined;
494
495
  spanId?: string | undefined;
495
496
  parentSpanId?: string | undefined;
496
- metadata?: Record<string, string> | undefined;
497
497
  }>>;
498
498
  /** Offset for resuming the stream. */
499
499
  offset: z.ZodNumber;
@@ -542,10 +542,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
542
542
  submissionId?: string | undefined;
543
543
  updateId?: string | undefined;
544
544
  traceContext?: {
545
+ metadata?: Record<string, string> | undefined;
545
546
  traceId?: string | undefined;
546
547
  spanId?: string | undefined;
547
548
  parentSpanId?: string | undefined;
548
- metadata?: Record<string, string> | undefined;
549
549
  } | undefined;
550
550
  }, {
551
551
  commandId: string;
@@ -579,10 +579,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
579
579
  submissionId?: string | undefined;
580
580
  updateId?: string | undefined;
581
581
  traceContext?: {
582
+ metadata?: Record<string, string> | undefined;
582
583
  traceId?: string | undefined;
583
584
  spanId?: string | undefined;
584
585
  parentSpanId?: string | undefined;
585
- metadata?: Record<string, string> | undefined;
586
586
  } | undefined;
587
587
  }>;
588
588
  }, "strip", z.ZodTypeAny, {
@@ -618,10 +618,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
618
618
  submissionId?: string | undefined;
619
619
  updateId?: string | undefined;
620
620
  traceContext?: {
621
+ metadata?: Record<string, string> | undefined;
621
622
  traceId?: string | undefined;
622
623
  spanId?: string | undefined;
623
624
  parentSpanId?: string | undefined;
624
- metadata?: Record<string, string> | undefined;
625
625
  } | undefined;
626
626
  };
627
627
  }, {
@@ -657,10 +657,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
657
657
  submissionId?: string | undefined;
658
658
  updateId?: string | undefined;
659
659
  traceContext?: {
660
+ metadata?: Record<string, string> | undefined;
660
661
  traceId?: string | undefined;
661
662
  spanId?: string | undefined;
662
663
  parentSpanId?: string | undefined;
663
- metadata?: Record<string, string> | undefined;
664
664
  } | undefined;
665
665
  };
666
666
  }>;
@@ -698,10 +698,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
698
698
  submissionId?: string | undefined;
699
699
  updateId?: string | undefined;
700
700
  traceContext?: {
701
+ metadata?: Record<string, string> | undefined;
701
702
  traceId?: string | undefined;
702
703
  spanId?: string | undefined;
703
704
  parentSpanId?: string | undefined;
704
- metadata?: Record<string, string> | undefined;
705
705
  } | undefined;
706
706
  };
707
707
  };
@@ -739,10 +739,10 @@ export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
739
739
  submissionId?: string | undefined;
740
740
  updateId?: string | undefined;
741
741
  traceContext?: {
742
+ metadata?: Record<string, string> | undefined;
742
743
  traceId?: string | undefined;
743
744
  spanId?: string | undefined;
744
745
  parentSpanId?: string | undefined;
745
- metadata?: Record<string, string> | undefined;
746
746
  } | undefined;
747
747
  };
748
748
  };
@@ -944,15 +944,15 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
944
944
  parentSpanId: z.ZodOptional<z.ZodString>;
945
945
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
946
946
  }, "strip", z.ZodTypeAny, {
947
+ metadata?: Record<string, string> | undefined;
947
948
  traceId?: string | undefined;
948
949
  spanId?: string | undefined;
949
950
  parentSpanId?: string | undefined;
950
- metadata?: Record<string, string> | undefined;
951
951
  }, {
952
+ metadata?: Record<string, string> | undefined;
952
953
  traceId?: string | undefined;
953
954
  spanId?: string | undefined;
954
955
  parentSpanId?: string | undefined;
955
- metadata?: Record<string, string> | undefined;
956
956
  }>>;
957
957
  /** Offset for resuming the stream. */
958
958
  offset: z.ZodNumber;
@@ -1001,10 +1001,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1001
1001
  submissionId?: string | undefined;
1002
1002
  updateId?: string | undefined;
1003
1003
  traceContext?: {
1004
+ metadata?: Record<string, string> | undefined;
1004
1005
  traceId?: string | undefined;
1005
1006
  spanId?: string | undefined;
1006
1007
  parentSpanId?: string | undefined;
1007
- metadata?: Record<string, string> | undefined;
1008
1008
  } | undefined;
1009
1009
  }, {
1010
1010
  commandId: string;
@@ -1038,10 +1038,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1038
1038
  submissionId?: string | undefined;
1039
1039
  updateId?: string | undefined;
1040
1040
  traceContext?: {
1041
+ metadata?: Record<string, string> | undefined;
1041
1042
  traceId?: string | undefined;
1042
1043
  spanId?: string | undefined;
1043
1044
  parentSpanId?: string | undefined;
1044
- metadata?: Record<string, string> | undefined;
1045
1045
  } | undefined;
1046
1046
  }>;
1047
1047
  }, "strip", z.ZodTypeAny, {
@@ -1077,10 +1077,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1077
1077
  submissionId?: string | undefined;
1078
1078
  updateId?: string | undefined;
1079
1079
  traceContext?: {
1080
+ metadata?: Record<string, string> | undefined;
1080
1081
  traceId?: string | undefined;
1081
1082
  spanId?: string | undefined;
1082
1083
  parentSpanId?: string | undefined;
1083
- metadata?: Record<string, string> | undefined;
1084
1084
  } | undefined;
1085
1085
  };
1086
1086
  }, {
@@ -1116,10 +1116,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1116
1116
  submissionId?: string | undefined;
1117
1117
  updateId?: string | undefined;
1118
1118
  traceContext?: {
1119
+ metadata?: Record<string, string> | undefined;
1119
1120
  traceId?: string | undefined;
1120
1121
  spanId?: string | undefined;
1121
1122
  parentSpanId?: string | undefined;
1122
- metadata?: Record<string, string> | undefined;
1123
1123
  } | undefined;
1124
1124
  };
1125
1125
  }>;
@@ -1157,10 +1157,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1157
1157
  submissionId?: string | undefined;
1158
1158
  updateId?: string | undefined;
1159
1159
  traceContext?: {
1160
+ metadata?: Record<string, string> | undefined;
1160
1161
  traceId?: string | undefined;
1161
1162
  spanId?: string | undefined;
1162
1163
  parentSpanId?: string | undefined;
1163
- metadata?: Record<string, string> | undefined;
1164
1164
  } | undefined;
1165
1165
  };
1166
1166
  };
@@ -1198,10 +1198,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1198
1198
  submissionId?: string | undefined;
1199
1199
  updateId?: string | undefined;
1200
1200
  traceContext?: {
1201
+ metadata?: Record<string, string> | undefined;
1201
1202
  traceId?: string | undefined;
1202
1203
  spanId?: string | undefined;
1203
1204
  parentSpanId?: string | undefined;
1204
- metadata?: Record<string, string> | undefined;
1205
1205
  } | undefined;
1206
1206
  };
1207
1207
  };
@@ -1316,10 +1316,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1316
1316
  submissionId?: string | undefined;
1317
1317
  updateId?: string | undefined;
1318
1318
  traceContext?: {
1319
+ metadata?: Record<string, string> | undefined;
1319
1320
  traceId?: string | undefined;
1320
1321
  spanId?: string | undefined;
1321
1322
  parentSpanId?: string | undefined;
1322
- metadata?: Record<string, string> | undefined;
1323
1323
  } | undefined;
1324
1324
  };
1325
1325
  };
@@ -1371,10 +1371,10 @@ export declare const CompletionStreamResponseSchema: z.ZodObject<{
1371
1371
  submissionId?: string | undefined;
1372
1372
  updateId?: string | undefined;
1373
1373
  traceContext?: {
1374
+ metadata?: Record<string, string> | undefined;
1374
1375
  traceId?: string | undefined;
1375
1376
  spanId?: string | undefined;
1376
1377
  parentSpanId?: string | undefined;
1377
- metadata?: Record<string, string> | undefined;
1378
1378
  } | undefined;
1379
1379
  };
1380
1380
  };
@@ -35,6 +35,7 @@ export declare const CreatedEventDetailsSchema: z.ZodObject<{
35
35
  contractId: string;
36
36
  offset: number;
37
37
  templateId: string;
38
+ packageName: string;
38
39
  contractKey: string | null;
39
40
  createdEventBlob: string;
40
41
  nodeId: number;
@@ -44,12 +45,12 @@ export declare const CreatedEventDetailsSchema: z.ZodObject<{
44
45
  signatories: string[];
45
46
  observers: string[];
46
47
  createdAt: string;
47
- packageName: string;
48
48
  implementedInterfaces?: string[] | undefined;
49
49
  }, {
50
50
  contractId: string;
51
51
  offset: number;
52
52
  templateId: string;
53
+ packageName: string;
53
54
  contractKey: string | null;
54
55
  createdEventBlob: string;
55
56
  nodeId: number;
@@ -59,7 +60,6 @@ export declare const CreatedEventDetailsSchema: z.ZodObject<{
59
60
  signatories: string[];
60
61
  observers: string[];
61
62
  createdAt: string;
62
- packageName: string;
63
63
  implementedInterfaces?: string[] | undefined;
64
64
  }>;
65
65
  /**
@@ -84,17 +84,17 @@ export declare const ArchivedEventDetailsSchema: z.ZodObject<{
84
84
  contractId: string;
85
85
  offset: number;
86
86
  templateId: string;
87
+ packageName: string;
87
88
  nodeId: number;
88
89
  witnessParties: string[];
89
- packageName: string;
90
90
  implementedInterfaces?: string[] | undefined;
91
91
  }, {
92
92
  contractId: string;
93
93
  offset: number;
94
94
  templateId: string;
95
+ packageName: string;
95
96
  nodeId: number;
96
97
  witnessParties: string[];
97
- packageName: string;
98
98
  implementedInterfaces?: string[] | undefined;
99
99
  }>;
100
100
  /**
@@ -125,23 +125,23 @@ export declare const AssignedEventDetailsSchema: z.ZodObject<{
125
125
  contractId: string;
126
126
  offset: number;
127
127
  templateId: string;
128
+ packageName: string;
129
+ submitter: string;
128
130
  reassignmentId: string;
129
131
  source: string;
130
132
  target: string;
131
- submitter: string;
132
133
  nodeId: number;
133
- packageName: string;
134
134
  reassignmentCounter: number;
135
135
  }, {
136
136
  contractId: string;
137
137
  offset: number;
138
138
  templateId: string;
139
+ packageName: string;
140
+ submitter: string;
139
141
  reassignmentId: string;
140
142
  source: string;
141
143
  target: string;
142
- submitter: string;
143
144
  nodeId: number;
144
- packageName: string;
145
145
  reassignmentCounter: number;
146
146
  }>;
147
147
  /**
@@ -172,23 +172,23 @@ export declare const UnassignedEventDetailsSchema: z.ZodObject<{
172
172
  contractId: string;
173
173
  offset: number;
174
174
  templateId: string;
175
+ packageName: string;
176
+ submitter: string;
175
177
  reassignmentId: string;
176
178
  source: string;
177
179
  target: string;
178
- submitter: string;
179
180
  nodeId: number;
180
- packageName: string;
181
181
  reassignmentCounter: number;
182
182
  }, {
183
183
  contractId: string;
184
184
  offset: number;
185
185
  templateId: string;
186
+ packageName: string;
187
+ submitter: string;
186
188
  reassignmentId: string;
187
189
  source: string;
188
190
  target: string;
189
- submitter: string;
190
191
  nodeId: number;
191
- packageName: string;
192
192
  reassignmentCounter: number;
193
193
  }>;
194
194
  /**