@canton-network/core-token-standard 1.15.0 → 1.16.0

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 (36) hide show
  1. package/dist/index.cjs +1627 -5160
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +1487 -0
  4. package/dist/index.d.cts.map +1 -0
  5. package/dist/index.d.ts +1317 -1637
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1559 -5123
  8. package/dist/index.js.map +1 -1
  9. package/dist/rolldown-runtime-SbdDWaPq.js +32 -0
  10. package/package.json +9 -19
  11. package/dist/generated-clients/index.d.ts +0 -5
  12. package/dist/generated-clients/index.d.ts.map +0 -1
  13. package/dist/generated-clients/splice-api-token-allocation-instruction-v1/allocation-instruction-v1.d.ts +0 -154
  14. package/dist/generated-clients/splice-api-token-allocation-instruction-v1/allocation-instruction-v1.d.ts.map +0 -1
  15. package/dist/generated-clients/splice-api-token-allocation-v1/allocation-v1.d.ts +0 -234
  16. package/dist/generated-clients/splice-api-token-allocation-v1/allocation-v1.d.ts.map +0 -1
  17. package/dist/generated-clients/splice-api-token-metadata-v1/token-metadata-v1.d.ts +0 -279
  18. package/dist/generated-clients/splice-api-token-metadata-v1/token-metadata-v1.d.ts.map +0 -1
  19. package/dist/generated-clients/splice-api-token-transfer-instruction-v1/transfer-instruction-v1.d.ts +0 -317
  20. package/dist/generated-clients/splice-api-token-transfer-instruction-v1/transfer-instruction-v1.d.ts.map +0 -1
  21. package/dist/index.browser.js +0 -5142
  22. package/dist/index.browser.js.map +0 -1
  23. package/dist/interface-ids.const.d.ts +0 -13
  24. package/dist/interface-ids.const.d.ts.map +0 -1
  25. package/dist/models/Splice/Api/Token/index.d.ts +0 -8
  26. package/dist/models/Splice/Api/Token/index.d.ts.map +0 -1
  27. package/dist/models/Splice/Api/index.d.ts +0 -3
  28. package/dist/models/Splice/Api/index.d.ts.map +0 -1
  29. package/dist/models/Splice/index.d.ts +0 -3
  30. package/dist/models/Splice/index.d.ts.map +0 -1
  31. package/dist/models/index.d.ts +0 -8
  32. package/dist/models/index.d.ts.map +0 -1
  33. package/dist/token-standard-client.d.ts +0 -65
  34. package/dist/token-standard-client.d.ts.map +0 -1
  35. package/dist/types.d.ts +0 -23
  36. package/dist/types.d.ts.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,1807 +1,1487 @@
1
- import { AccessTokenProvider } from '@canton-network/core-wallet-auth';
2
- import * as damlTypes from '@daml/types';
3
- import { PartyId } from '@canton-network/core-types';
4
-
1
+ import "@mojotech/json-type-validation";
2
+ import * as damlTypes from "@daml/types";
3
+ import { AccessTokenProvider } from "@canton-network/core-wallet-auth";
4
+ import { PartyId } from "@canton-network/core-types";
5
+ declare namespace allocation_v1_d_exports {
6
+ export { $defs$3 as $defs, components$3 as components, operations$3 as operations, paths$4 as paths, webhooks$3 as webhooks };
7
+ }
5
8
  interface paths$4 {
6
- '/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer': {
7
- parameters: {
8
- query?: never;
9
- header?: never;
10
- path?: never;
11
- cookie?: never;
12
- };
13
- get?: never;
14
- put?: never;
15
- /** @description Get the choice context to execute a transfer on an allocation. */
16
- post: operations$3['getAllocationTransferContext'];
17
- delete?: never;
18
- options?: never;
19
- head?: never;
20
- patch?: never;
21
- trace?: never;
22
- };
23
- '/registry/allocations/v1/{allocationId}/choice-contexts/withdraw': {
24
- parameters: {
25
- query?: never;
26
- header?: never;
27
- path?: never;
28
- cookie?: never;
29
- };
30
- get?: never;
31
- put?: never;
32
- /** @description Get the choice context to withdraw an allocation. */
33
- post: operations$3['getAllocationWithdrawContext'];
34
- delete?: never;
35
- options?: never;
36
- head?: never;
37
- patch?: never;
38
- trace?: never;
39
- };
40
- '/registry/allocations/v1/{allocationId}/choice-contexts/cancel': {
41
- parameters: {
42
- query?: never;
43
- header?: never;
44
- path?: never;
45
- cookie?: never;
46
- };
47
- get?: never;
48
- put?: never;
49
- /** @description Get the choice context to cancel an allocation. */
50
- post: operations$3['getAllocationCancelContext'];
51
- delete?: never;
52
- options?: never;
53
- head?: never;
54
- patch?: never;
55
- trace?: never;
9
+ '/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer': {
10
+ parameters: {
11
+ query?: never;
12
+ header?: never;
13
+ path?: never;
14
+ cookie?: never;
15
+ };
16
+ get?: never;
17
+ put?: never;
18
+ /** @description Get the choice context to execute a transfer on an allocation. */
19
+ post: operations$3['getAllocationTransferContext'];
20
+ delete?: never;
21
+ options?: never;
22
+ head?: never;
23
+ patch?: never;
24
+ trace?: never;
25
+ };
26
+ '/registry/allocations/v1/{allocationId}/choice-contexts/withdraw': {
27
+ parameters: {
28
+ query?: never;
29
+ header?: never;
30
+ path?: never;
31
+ cookie?: never;
32
+ };
33
+ get?: never;
34
+ put?: never;
35
+ /** @description Get the choice context to withdraw an allocation. */
36
+ post: operations$3['getAllocationWithdrawContext'];
37
+ delete?: never;
38
+ options?: never;
39
+ head?: never;
40
+ patch?: never;
41
+ trace?: never;
42
+ };
43
+ '/registry/allocations/v1/{allocationId}/choice-contexts/cancel': {
44
+ parameters: {
45
+ query?: never;
46
+ header?: never;
47
+ path?: never;
48
+ cookie?: never;
56
49
  };
50
+ get?: never;
51
+ put?: never;
52
+ /** @description Get the choice context to cancel an allocation. */
53
+ post: operations$3['getAllocationCancelContext'];
54
+ delete?: never;
55
+ options?: never;
56
+ head?: never;
57
+ patch?: never;
58
+ trace?: never;
59
+ };
57
60
  }
58
61
  type webhooks$3 = Record<string, never>;
59
62
  interface components$3 {
60
- schemas: {
61
- /** @description A request to get the context for executing a choice on a contract. */
62
- GetChoiceContextRequest: {
63
- /**
64
- * @description Metadata that will be passed to the choice, and should be incorporated
65
- * into the choice context. Provided for extensibility.
66
- */
67
- meta?: {
68
- [key: string]: string;
69
- };
70
- /**
71
- * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
72
- * @default false
73
- */
74
- excludeDebugFields: boolean;
75
- };
76
- /**
77
- * @description The context required to exercise a choice on a contract via an interface.
78
- * Used to retrieve additional reference date that is passed in via disclosed contracts,
79
- * which are in turn referred to via their contract ID in the `choiceContextData`.
80
- */
81
- ChoiceContext: {
82
- /** @description The additional data to use when exercising the choice. */
83
- choiceContextData: Record<string, never>;
84
- /**
85
- * @description The contracts that are required to be disclosed to the participant node for exercising
86
- * the choice.
87
- */
88
- disclosedContracts: components$3['schemas']['DisclosedContract'][];
89
- };
90
- DisclosedContract: {
91
- templateId: string;
92
- contractId: string;
93
- createdEventBlob: string;
94
- /**
95
- * @description The synchronizer to which the contract is currently assigned.
96
- * If the contract is in the process of being reassigned, then a "409" response is returned.
97
- */
98
- synchronizerId: string;
99
- /**
100
- * @description The name of the Daml package that was used to create the contract.
101
- * Use this data only if you trust the provider, as it might not match the data in the
102
- * `createdEventBlob`.
103
- */
104
- debugPackageName?: string;
105
- /**
106
- * @description The contract arguments that were used to create the contract.
107
- * Use this data only if you trust the provider, as it might not match the data in the
108
- * `createdEventBlob`.
109
- */
110
- debugPayload?: Record<string, never>;
111
- /**
112
- * Format: date-time
113
- * @description The ledger effective time at which the contract was created.
114
- * Use this data only if you trust the provider, as it might not match the data in the
115
- * `createdEventBlob`.
116
- */
117
- debugCreatedAt?: string;
118
- };
119
- ErrorResponse: {
120
- error: string;
121
- };
63
+ schemas: {
64
+ /** @description A request to get the context for executing a choice on a contract. */
65
+ GetChoiceContextRequest: {
66
+ /**
67
+ * @description Metadata that will be passed to the choice, and should be incorporated
68
+ * into the choice context. Provided for extensibility.
69
+ */
70
+ meta?: {
71
+ [key: string]: string;
72
+ };
73
+ /**
74
+ * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
75
+ * @default false
76
+ */
77
+ excludeDebugFields: boolean;
122
78
  };
123
- responses: {
124
- /** @description bad request */
125
- 400: {
126
- headers: {
127
- [name: string]: unknown;
128
- };
129
- content: {
130
- 'application/json': components$3['schemas']['ErrorResponse'];
131
- };
132
- };
133
- /** @description not found */
134
- 404: {
135
- headers: {
136
- [name: string]: unknown;
137
- };
138
- content: {
139
- 'application/json': components$3['schemas']['ErrorResponse'];
140
- };
141
- };
79
+ /**
80
+ * @description The context required to exercise a choice on a contract via an interface.
81
+ * Used to retrieve additional reference date that is passed in via disclosed contracts,
82
+ * which are in turn referred to via their contract ID in the `choiceContextData`.
83
+ */
84
+ ChoiceContext: {
85
+ /** @description The additional data to use when exercising the choice. */
86
+ choiceContextData: Record<string, never>;
87
+ /**
88
+ * @description The contracts that are required to be disclosed to the participant node for exercising
89
+ * the choice.
90
+ */
91
+ disclosedContracts: components$3['schemas']['DisclosedContract'][];
142
92
  };
143
- parameters: never;
144
- requestBodies: never;
145
- headers: never;
146
- pathItems: never;
93
+ DisclosedContract: {
94
+ templateId: string;
95
+ contractId: string;
96
+ createdEventBlob: string;
97
+ /**
98
+ * @description The synchronizer to which the contract is currently assigned.
99
+ * If the contract is in the process of being reassigned, then a "409" response is returned.
100
+ */
101
+ synchronizerId: string;
102
+ /**
103
+ * @description The name of the Daml package that was used to create the contract.
104
+ * Use this data only if you trust the provider, as it might not match the data in the
105
+ * `createdEventBlob`.
106
+ */
107
+ debugPackageName?: string;
108
+ /**
109
+ * @description The contract arguments that were used to create the contract.
110
+ * Use this data only if you trust the provider, as it might not match the data in the
111
+ * `createdEventBlob`.
112
+ */
113
+ debugPayload?: Record<string, never>;
114
+ /**
115
+ * Format: date-time
116
+ * @description The ledger effective time at which the contract was created.
117
+ * Use this data only if you trust the provider, as it might not match the data in the
118
+ * `createdEventBlob`.
119
+ */
120
+ debugCreatedAt?: string;
121
+ };
122
+ ErrorResponse: {
123
+ error: string;
124
+ };
125
+ };
126
+ responses: {
127
+ /** @description bad request */
128
+ 400: {
129
+ headers: {
130
+ [name: string]: unknown;
131
+ };
132
+ content: {
133
+ 'application/json': components$3['schemas']['ErrorResponse'];
134
+ };
135
+ };
136
+ /** @description not found */
137
+ 404: {
138
+ headers: {
139
+ [name: string]: unknown;
140
+ };
141
+ content: {
142
+ 'application/json': components$3['schemas']['ErrorResponse'];
143
+ };
144
+ };
145
+ };
146
+ parameters: never;
147
+ requestBodies: never;
148
+ headers: never;
149
+ pathItems: never;
147
150
  }
148
151
  type $defs$3 = Record<string, never>;
149
152
  interface operations$3 {
150
- getAllocationTransferContext: {
151
- parameters: {
152
- query?: never;
153
- header?: never;
154
- path: {
155
- /** @description The contract ID of the allocation whose transfer the caller wants to execute. */
156
- allocationId: string;
157
- };
158
- cookie?: never;
159
- };
160
- requestBody: {
161
- content: {
162
- 'application/json': components$3['schemas']['GetChoiceContextRequest'];
163
- };
153
+ getAllocationTransferContext: {
154
+ parameters: {
155
+ query?: never;
156
+ header?: never;
157
+ path: {
158
+ /** @description The contract ID of the allocation whose transfer the caller wants to execute. */
159
+ allocationId: string;
160
+ };
161
+ cookie?: never;
162
+ };
163
+ requestBody: {
164
+ content: {
165
+ 'application/json': components$3['schemas']['GetChoiceContextRequest'];
166
+ };
167
+ };
168
+ responses: {
169
+ /** @description ok */
170
+ 200: {
171
+ headers: {
172
+ [name: string]: unknown;
164
173
  };
165
- responses: {
166
- /** @description ok */
167
- 200: {
168
- headers: {
169
- [name: string]: unknown;
170
- };
171
- content: {
172
- 'application/json': components$3['schemas']['ChoiceContext'];
173
- };
174
- };
175
- 400: components$3['responses']['400'];
176
- 404: components$3['responses']['404'];
174
+ content: {
175
+ 'application/json': components$3['schemas']['ChoiceContext'];
177
176
  };
177
+ };
178
+ 400: components$3['responses']['400'];
179
+ 404: components$3['responses']['404'];
178
180
  };
179
- getAllocationWithdrawContext: {
180
- parameters: {
181
- query?: never;
182
- header?: never;
183
- path: {
184
- /** @description The contract ID of the allocation to withdraw. */
185
- allocationId: string;
186
- };
187
- cookie?: never;
188
- };
189
- requestBody: {
190
- content: {
191
- 'application/json': components$3['schemas']['GetChoiceContextRequest'];
192
- };
181
+ };
182
+ getAllocationWithdrawContext: {
183
+ parameters: {
184
+ query?: never;
185
+ header?: never;
186
+ path: {
187
+ /** @description The contract ID of the allocation to withdraw. */
188
+ allocationId: string;
189
+ };
190
+ cookie?: never;
191
+ };
192
+ requestBody: {
193
+ content: {
194
+ 'application/json': components$3['schemas']['GetChoiceContextRequest'];
195
+ };
196
+ };
197
+ responses: {
198
+ /** @description ok */
199
+ 200: {
200
+ headers: {
201
+ [name: string]: unknown;
193
202
  };
194
- responses: {
195
- /** @description ok */
196
- 200: {
197
- headers: {
198
- [name: string]: unknown;
199
- };
200
- content: {
201
- 'application/json': components$3['schemas']['ChoiceContext'];
202
- };
203
- };
204
- 400: components$3['responses']['400'];
205
- 404: components$3['responses']['404'];
203
+ content: {
204
+ 'application/json': components$3['schemas']['ChoiceContext'];
206
205
  };
206
+ };
207
+ 400: components$3['responses']['400'];
208
+ 404: components$3['responses']['404'];
207
209
  };
208
- getAllocationCancelContext: {
209
- parameters: {
210
- query?: never;
211
- header?: never;
212
- path: {
213
- /** @description The contract ID of the allocation to cancel. */
214
- allocationId: string;
215
- };
216
- cookie?: never;
217
- };
218
- requestBody: {
219
- content: {
220
- 'application/json': components$3['schemas']['GetChoiceContextRequest'];
221
- };
210
+ };
211
+ getAllocationCancelContext: {
212
+ parameters: {
213
+ query?: never;
214
+ header?: never;
215
+ path: {
216
+ /** @description The contract ID of the allocation to cancel. */
217
+ allocationId: string;
218
+ };
219
+ cookie?: never;
220
+ };
221
+ requestBody: {
222
+ content: {
223
+ 'application/json': components$3['schemas']['GetChoiceContextRequest'];
224
+ };
225
+ };
226
+ responses: {
227
+ /** @description ok */
228
+ 200: {
229
+ headers: {
230
+ [name: string]: unknown;
222
231
  };
223
- responses: {
224
- /** @description ok */
225
- 200: {
226
- headers: {
227
- [name: string]: unknown;
228
- };
229
- content: {
230
- 'application/json': components$3['schemas']['ChoiceContext'];
231
- };
232
- };
233
- 400: components$3['responses']['400'];
234
- 404: components$3['responses']['404'];
232
+ content: {
233
+ 'application/json': components$3['schemas']['ChoiceContext'];
235
234
  };
235
+ };
236
+ 400: components$3['responses']['400'];
237
+ 404: components$3['responses']['404'];
236
238
  };
239
+ };
237
240
  }
238
-
239
- declare namespace allocationV1 {
240
- export type { $defs$3 as $defs, components$3 as components, operations$3 as operations, paths$4 as paths, webhooks$3 as webhooks };
241
+ declare namespace allocation_instruction_v1_d_exports {
242
+ export { $defs$2 as $defs, components$2 as components, operations$2 as operations, paths$3 as paths, webhooks$2 as webhooks };
241
243
  }
242
-
243
244
  interface paths$3 {
244
- '/registry/allocation-instruction/v1/allocation-factory': {
245
- parameters: {
246
- query?: never;
247
- header?: never;
248
- path?: never;
249
- cookie?: never;
250
- };
251
- get?: never;
252
- put?: never;
253
- /** @description Get the factory and choice context for creating allocations using the `AllocationFactory_Allocate` choice. */
254
- post: operations$2['getAllocationFactory'];
255
- delete?: never;
256
- options?: never;
257
- head?: never;
258
- patch?: never;
259
- trace?: never;
245
+ '/registry/allocation-instruction/v1/allocation-factory': {
246
+ parameters: {
247
+ query?: never;
248
+ header?: never;
249
+ path?: never;
250
+ cookie?: never;
260
251
  };
252
+ get?: never;
253
+ put?: never;
254
+ /** @description Get the factory and choice context for creating allocations using the `AllocationFactory_Allocate` choice. */
255
+ post: operations$2['getAllocationFactory'];
256
+ delete?: never;
257
+ options?: never;
258
+ head?: never;
259
+ patch?: never;
260
+ trace?: never;
261
+ };
261
262
  }
262
263
  type webhooks$2 = Record<string, never>;
263
264
  interface components$2 {
264
- schemas: {
265
- GetFactoryRequest: {
266
- /**
267
- * @description The arguments that are intended to be passed to the choice provided by the factory.
268
- * To avoid repeating the Daml type definitions, they are specified as JSON objects.
269
- * However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
270
- * (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
271
- *
272
- * The choice arguments are provided so that the registry can also provide choice-argument
273
- * specific contracts, e.g., the configuration for a specific instrument-id.
274
- */
275
- choiceArguments: Record<string, never>;
276
- /**
277
- * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
278
- * @default false
279
- */
280
- excludeDebugFields: boolean;
281
- };
282
- /**
283
- * @description A factory contract together with the choice context required to exercise the choice
284
- * provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
285
- * via a Daml interface.
286
- *
287
- * Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
288
- * as the choice context MAY be specific to the choice being exercised.
289
- */
290
- FactoryWithChoiceContext: {
291
- /** @description The contract ID of the contract implementing the factory interface. */
292
- factoryId: string;
293
- choiceContext: components$2['schemas']['ChoiceContext'];
294
- };
295
- /**
296
- * @description The context required to exercise a choice on a contract via an interface.
297
- * Used to retrieve additional reference date that is passed in via disclosed contracts,
298
- * which are in turn referred to via their contract ID in the `choiceContextData`.
299
- */
300
- ChoiceContext: {
301
- /** @description The additional data to use when exercising the choice. */
302
- choiceContextData: Record<string, never>;
303
- /**
304
- * @description The contracts that are required to be disclosed to the participant node for exercising
305
- * the choice.
306
- */
307
- disclosedContracts: components$2['schemas']['DisclosedContract'][];
308
- };
309
- DisclosedContract: {
310
- templateId: string;
311
- contractId: string;
312
- createdEventBlob: string;
313
- /**
314
- * @description The synchronizer to which the contract is currently assigned.
315
- * If the contract is in the process of being reassigned, then a "409" response is returned.
316
- */
317
- synchronizerId: string;
318
- /**
319
- * @description The name of the Daml package that was used to create the contract.
320
- * Use this data only if you trust the provider, as it might not match the data in the
321
- * `createdEventBlob`.
322
- */
323
- debugPackageName?: string;
324
- /**
325
- * @description The contract arguments that were used to create the contract.
326
- * Use this data only if you trust the provider, as it might not match the data in the
327
- * `createdEventBlob`.
328
- */
329
- debugPayload?: Record<string, never>;
330
- /**
331
- * Format: date-time
332
- * @description The ledger effective time at which the contract was created.
333
- * Use this data only if you trust the provider, as it might not match the data in the
334
- * `createdEventBlob`.
335
- */
336
- debugCreatedAt?: string;
337
- };
338
- ErrorResponse: {
339
- error: string;
340
- };
265
+ schemas: {
266
+ GetFactoryRequest: {
267
+ /**
268
+ * @description The arguments that are intended to be passed to the choice provided by the factory.
269
+ * To avoid repeating the Daml type definitions, they are specified as JSON objects.
270
+ * However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
271
+ * (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
272
+ *
273
+ * The choice arguments are provided so that the registry can also provide choice-argument
274
+ * specific contracts, e.g., the configuration for a specific instrument-id.
275
+ */
276
+ choiceArguments: Record<string, never>;
277
+ /**
278
+ * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
279
+ * @default false
280
+ */
281
+ excludeDebugFields: boolean;
341
282
  };
342
- responses: {
343
- /** @description bad request */
344
- 400: {
345
- headers: {
346
- [name: string]: unknown;
347
- };
348
- content: {
349
- 'application/json': components$2['schemas']['ErrorResponse'];
350
- };
351
- };
352
- /** @description not found */
353
- 404: {
354
- headers: {
355
- [name: string]: unknown;
356
- };
357
- content: {
358
- 'application/json': components$2['schemas']['ErrorResponse'];
359
- };
360
- };
283
+ /**
284
+ * @description A factory contract together with the choice context required to exercise the choice
285
+ * provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
286
+ * via a Daml interface.
287
+ *
288
+ * Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
289
+ * as the choice context MAY be specific to the choice being exercised.
290
+ */
291
+ FactoryWithChoiceContext: {
292
+ /** @description The contract ID of the contract implementing the factory interface. */
293
+ factoryId: string;
294
+ choiceContext: components$2['schemas']['ChoiceContext'];
295
+ };
296
+ /**
297
+ * @description The context required to exercise a choice on a contract via an interface.
298
+ * Used to retrieve additional reference date that is passed in via disclosed contracts,
299
+ * which are in turn referred to via their contract ID in the `choiceContextData`.
300
+ */
301
+ ChoiceContext: {
302
+ /** @description The additional data to use when exercising the choice. */
303
+ choiceContextData: Record<string, never>;
304
+ /**
305
+ * @description The contracts that are required to be disclosed to the participant node for exercising
306
+ * the choice.
307
+ */
308
+ disclosedContracts: components$2['schemas']['DisclosedContract'][];
361
309
  };
362
- parameters: never;
363
- requestBodies: never;
364
- headers: never;
365
- pathItems: never;
310
+ DisclosedContract: {
311
+ templateId: string;
312
+ contractId: string;
313
+ createdEventBlob: string;
314
+ /**
315
+ * @description The synchronizer to which the contract is currently assigned.
316
+ * If the contract is in the process of being reassigned, then a "409" response is returned.
317
+ */
318
+ synchronizerId: string;
319
+ /**
320
+ * @description The name of the Daml package that was used to create the contract.
321
+ * Use this data only if you trust the provider, as it might not match the data in the
322
+ * `createdEventBlob`.
323
+ */
324
+ debugPackageName?: string;
325
+ /**
326
+ * @description The contract arguments that were used to create the contract.
327
+ * Use this data only if you trust the provider, as it might not match the data in the
328
+ * `createdEventBlob`.
329
+ */
330
+ debugPayload?: Record<string, never>;
331
+ /**
332
+ * Format: date-time
333
+ * @description The ledger effective time at which the contract was created.
334
+ * Use this data only if you trust the provider, as it might not match the data in the
335
+ * `createdEventBlob`.
336
+ */
337
+ debugCreatedAt?: string;
338
+ };
339
+ ErrorResponse: {
340
+ error: string;
341
+ };
342
+ };
343
+ responses: {
344
+ /** @description bad request */
345
+ 400: {
346
+ headers: {
347
+ [name: string]: unknown;
348
+ };
349
+ content: {
350
+ 'application/json': components$2['schemas']['ErrorResponse'];
351
+ };
352
+ };
353
+ /** @description not found */
354
+ 404: {
355
+ headers: {
356
+ [name: string]: unknown;
357
+ };
358
+ content: {
359
+ 'application/json': components$2['schemas']['ErrorResponse'];
360
+ };
361
+ };
362
+ };
363
+ parameters: never;
364
+ requestBodies: never;
365
+ headers: never;
366
+ pathItems: never;
366
367
  }
367
368
  type $defs$2 = Record<string, never>;
368
369
  interface operations$2 {
369
- getAllocationFactory: {
370
- parameters: {
371
- query?: never;
372
- header?: never;
373
- path?: never;
374
- cookie?: never;
375
- };
376
- requestBody: {
377
- content: {
378
- 'application/json': components$2['schemas']['GetFactoryRequest'];
379
- };
370
+ getAllocationFactory: {
371
+ parameters: {
372
+ query?: never;
373
+ header?: never;
374
+ path?: never;
375
+ cookie?: never;
376
+ };
377
+ requestBody: {
378
+ content: {
379
+ 'application/json': components$2['schemas']['GetFactoryRequest'];
380
+ };
381
+ };
382
+ responses: {
383
+ /** @description ok */
384
+ 200: {
385
+ headers: {
386
+ [name: string]: unknown;
380
387
  };
381
- responses: {
382
- /** @description ok */
383
- 200: {
384
- headers: {
385
- [name: string]: unknown;
386
- };
387
- content: {
388
- 'application/json': components$2['schemas']['FactoryWithChoiceContext'];
389
- };
390
- };
391
- 400: components$2['responses']['400'];
392
- 404: components$2['responses']['404'];
388
+ content: {
389
+ 'application/json': components$2['schemas']['FactoryWithChoiceContext'];
393
390
  };
391
+ };
392
+ 400: components$2['responses']['400'];
393
+ 404: components$2['responses']['404'];
394
394
  };
395
+ };
395
396
  }
396
-
397
- declare namespace allocationInstructionV1 {
398
- export type { $defs$2 as $defs, components$2 as components, operations$2 as operations, paths$3 as paths, webhooks$2 as webhooks };
397
+ declare namespace token_metadata_v1_d_exports {
398
+ export { $defs$1 as $defs, components$1 as components, operations$1 as operations, paths$2 as paths, webhooks$1 as webhooks };
399
399
  }
400
-
401
400
  interface paths$2 {
402
- '/registry/metadata/v1/info': {
403
- parameters: {
404
- query?: never;
405
- header?: never;
406
- path?: never;
407
- cookie?: never;
408
- };
409
- /**
410
- * @description Get information about the registry.
411
- * The response includes the standards supported by the registry.
412
- */
413
- get: operations$1['getRegistryInfo'];
414
- put?: never;
415
- post?: never;
416
- delete?: never;
417
- options?: never;
418
- head?: never;
419
- patch?: never;
420
- trace?: never;
421
- };
422
- '/registry/metadata/v1/instruments': {
423
- parameters: {
424
- query?: never;
425
- header?: never;
426
- path?: never;
427
- cookie?: never;
428
- };
429
- /** @description List all instruments managed by this instrument admin. */
430
- get: operations$1['listInstruments'];
431
- put?: never;
432
- post?: never;
433
- delete?: never;
434
- options?: never;
435
- head?: never;
436
- patch?: never;
437
- trace?: never;
438
- };
439
- '/registry/metadata/v1/instruments/{instrumentId}': {
440
- parameters: {
441
- query?: never;
442
- header?: never;
443
- path?: never;
444
- cookie?: never;
445
- };
446
- /** @description Retrieve an instrument's metadata. */
447
- get: operations$1['getInstrument'];
448
- put?: never;
449
- post?: never;
450
- delete?: never;
451
- options?: never;
452
- head?: never;
453
- patch?: never;
454
- trace?: never;
401
+ '/registry/metadata/v1/info': {
402
+ parameters: {
403
+ query?: never;
404
+ header?: never;
405
+ path?: never;
406
+ cookie?: never;
407
+ };
408
+ /**
409
+ * @description Get information about the registry.
410
+ * The response includes the standards supported by the registry.
411
+ */
412
+ get: operations$1['getRegistryInfo'];
413
+ put?: never;
414
+ post?: never;
415
+ delete?: never;
416
+ options?: never;
417
+ head?: never;
418
+ patch?: never;
419
+ trace?: never;
420
+ };
421
+ '/registry/metadata/v1/instruments': {
422
+ parameters: {
423
+ query?: never;
424
+ header?: never;
425
+ path?: never;
426
+ cookie?: never;
455
427
  };
428
+ /** @description List all instruments managed by this instrument admin. */
429
+ get: operations$1['listInstruments'];
430
+ put?: never;
431
+ post?: never;
432
+ delete?: never;
433
+ options?: never;
434
+ head?: never;
435
+ patch?: never;
436
+ trace?: never;
437
+ };
438
+ '/registry/metadata/v1/instruments/{instrumentId}': {
439
+ parameters: {
440
+ query?: never;
441
+ header?: never;
442
+ path?: never;
443
+ cookie?: never;
444
+ };
445
+ /** @description Retrieve an instrument's metadata. */
446
+ get: operations$1['getInstrument'];
447
+ put?: never;
448
+ post?: never;
449
+ delete?: never;
450
+ options?: never;
451
+ head?: never;
452
+ patch?: never;
453
+ trace?: never;
454
+ };
456
455
  }
457
456
  type webhooks$1 = Record<string, never>;
458
457
  interface components$1 {
459
- schemas: {
460
- GetRegistryInfoResponse: {
461
- /** @description The Daml party representing the registry app */
462
- adminId: string;
463
- /** @description The token standard APIs supported by the registry. Note that this only includes the registry-wide APIs. Use the instrument lookup endpoints to see which APIs are supported for a given instrument */
464
- supportedApis: components$1['schemas']['SupportedApis'];
465
- };
466
- Instrument: {
467
- /** @description The unique identifier assigned by the admin to the instrument. */
468
- id: string;
469
- /** @description The display name for the instrument recommended by the instrument admin. This is not necessarily unique. */
470
- name: string;
471
- /** @description The symbol for the instrument recommended by the instrument admin. This is not necessarily unique. */
472
- symbol: string;
473
- /** @description Decimal encoded current total supply of the instrument. */
474
- totalSupply?: string;
475
- /**
476
- * Format: date-time
477
- * @description The timestamp when the total supply was last computed.
478
- */
479
- totalSupplyAsOf?: string;
480
- /**
481
- * Format: int8
482
- * @description The number of decimal places used by the instrument.
483
- *
484
- * Must be a number between 0 and 10, as the Daml interfaces represent holding amounts as
485
- * `Decimal` values, which use 10 decimal places and are precise for 38 digits.
486
- * Setting this to 0 means that the instrument can only be held in whole units.
487
- *
488
- * This number SHOULD be used for display purposes in a wallet to decide how many
489
- * decimal places to show and accept when displaying or entering amounts.
490
- * @default 10
491
- */
492
- decimals: number;
493
- /**
494
- * @description Indicates whether the instrument is currently paused. A paused instrument cannot be
495
- * transferred or allocated.
496
- * @default false
497
- */
498
- paused: boolean;
499
- pauseInfo?: components$1['schemas']['PauseInfo'];
500
- supportedApis: components$1['schemas']['SupportedApis'];
501
- /**
502
- * @deprecated
503
- * @description Informs wallets whether the instrument supports non-basic accounts
504
- * and the wallet should thus show input fields for both the account
505
- * provider and the account id in input forms for transfers and allocations.
506
- *
507
- * Note that wallets should always show non-null account providers and
508
- * account ids when displaying transfers and allocations.
509
- *
510
- * This property is deprecated in favor of the more fine-grained
511
- * `accountInputFieldsToShow` property.
512
- * @default false
513
- */
514
- showAccountInputFields: boolean;
515
- /**
516
- * @description Fine-grained control for account input field display in wallets.
517
- *
518
- * If set, then wallets should only display the specified input
519
- * field(s) in transfer and allocation input forms
520
- * *independently* of the `showAccountInputFields` property.
521
- *
522
- * Note that wallets should always show non-null account providers and
523
- * account ids when displaying transfers and allocations.
524
- */
525
- accountInputFieldsToShow?: components$1['schemas']['AccountInputFieldsToShow'];
526
- };
527
- ListInstrumentsResponse: {
528
- instruments: components$1['schemas']['Instrument'][];
529
- /** @description The token for the next page of results, to be used as the lastInstrumentId for the next page. */
530
- nextPageToken?: string;
531
- };
532
- ErrorResponse: {
533
- error: string;
534
- };
535
- /**
536
- * @description Map from token standard API name to the minor version of the API supported, e.g.,
537
- * splice-api-token-metadata-v1 -> 1 where the `1` corresponds to the minor version.
538
- */
539
- SupportedApis: {
540
- [key: string]: number;
541
- };
542
- /** @description Additional information about the instrument pause state. */
543
- PauseInfo: {
544
- /** @description Why the instrument is paused. */
545
- reason?: string;
546
- /**
547
- * Format: date-time
548
- * @description Timestamp (exclusive) until which the instrument is paused, if known.
549
- */
550
- until?: string;
551
- };
552
- /** @description Which account input field(s) wallets should show in forms. */
553
- AccountInputFieldsToShow: components$1['schemas']['AccountInputFieldToShow'][];
554
- /**
555
- * @description Which single account input field wallets should show in forms.
556
- * @enum {string}
557
- */
558
- AccountInputFieldToShow: 'provider' | 'accountId';
458
+ schemas: {
459
+ GetRegistryInfoResponse: {
460
+ /** @description The Daml party representing the registry app */
461
+ adminId: string;
462
+ /** @description The token standard APIs supported by the registry. Note that this only includes the registry-wide APIs. Use the instrument lookup endpoints to see which APIs are supported for a given instrument */
463
+ supportedApis: components$1['schemas']['SupportedApis'];
559
464
  };
560
- responses: {
561
- /** @description bad request */
562
- 400: {
563
- headers: {
564
- [name: string]: unknown;
565
- };
566
- content: {
567
- 'application/json': components$1['schemas']['ErrorResponse'];
568
- };
569
- };
570
- /** @description not found */
571
- 404: {
572
- headers: {
573
- [name: string]: unknown;
574
- };
575
- content: {
576
- 'application/json': components$1['schemas']['ErrorResponse'];
577
- };
578
- };
579
- /** @description conflict */
580
- 409: {
581
- headers: {
582
- [name: string]: unknown;
583
- };
584
- content: {
585
- 'application/json': components$1['schemas']['ErrorResponse'];
586
- };
587
- };
588
- /** @description Internal server error */
589
- 500: {
590
- headers: {
591
- [name: string]: unknown;
592
- };
593
- content: {
594
- 'application/json': components$1['schemas']['ErrorResponse'];
595
- };
596
- };
465
+ Instrument: {
466
+ /** @description The unique identifier assigned by the admin to the instrument. */
467
+ id: string;
468
+ /** @description The display name for the instrument recommended by the instrument admin. This is not necessarily unique. */
469
+ name: string;
470
+ /** @description The symbol for the instrument recommended by the instrument admin. This is not necessarily unique. */
471
+ symbol: string;
472
+ /** @description Decimal encoded current total supply of the instrument. */
473
+ totalSupply?: string;
474
+ /**
475
+ * Format: date-time
476
+ * @description The timestamp when the total supply was last computed.
477
+ */
478
+ totalSupplyAsOf?: string;
479
+ /**
480
+ * Format: int8
481
+ * @description The number of decimal places used by the instrument.
482
+ *
483
+ * Must be a number between 0 and 10, as the Daml interfaces represent holding amounts as
484
+ * `Decimal` values, which use 10 decimal places and are precise for 38 digits.
485
+ * Setting this to 0 means that the instrument can only be held in whole units.
486
+ *
487
+ * This number SHOULD be used for display purposes in a wallet to decide how many
488
+ * decimal places to show and accept when displaying or entering amounts.
489
+ * @default 10
490
+ */
491
+ decimals: number;
492
+ /**
493
+ * @description Indicates whether the instrument is currently paused. A paused instrument cannot be
494
+ * transferred or allocated.
495
+ * @default false
496
+ */
497
+ paused: boolean;
498
+ pauseInfo?: components$1['schemas']['PauseInfo'];
499
+ supportedApis: components$1['schemas']['SupportedApis'];
500
+ /**
501
+ * @deprecated
502
+ * @description Informs wallets whether the instrument supports non-basic accounts
503
+ * and the wallet should thus show input fields for both the account
504
+ * provider and the account id in input forms for transfers and allocations.
505
+ *
506
+ * Note that wallets should always show non-null account providers and
507
+ * account ids when displaying transfers and allocations.
508
+ *
509
+ * This property is deprecated in favor of the more fine-grained
510
+ * `accountInputFieldsToShow` property.
511
+ * @default false
512
+ */
513
+ showAccountInputFields: boolean;
514
+ /**
515
+ * @description Fine-grained control for account input field display in wallets.
516
+ *
517
+ * If set, then wallets should only display the specified input
518
+ * field(s) in transfer and allocation input forms
519
+ * *independently* of the `showAccountInputFields` property.
520
+ *
521
+ * Note that wallets should always show non-null account providers and
522
+ * account ids when displaying transfers and allocations.
523
+ */
524
+ accountInputFieldsToShow?: components$1['schemas']['AccountInputFieldsToShow'];
525
+ };
526
+ ListInstrumentsResponse: {
527
+ instruments: components$1['schemas']['Instrument'][];
528
+ /** @description The token for the next page of results, to be used as the lastInstrumentId for the next page. */
529
+ nextPageToken?: string;
530
+ };
531
+ ErrorResponse: {
532
+ error: string;
597
533
  };
598
- parameters: never;
599
- requestBodies: never;
600
- headers: never;
601
- pathItems: never;
534
+ /**
535
+ * @description Map from token standard API name to the minor version of the API supported, e.g.,
536
+ * splice-api-token-metadata-v1 -> 1 where the `1` corresponds to the minor version.
537
+ */
538
+ SupportedApis: {
539
+ [key: string]: number;
540
+ };
541
+ /** @description Additional information about the instrument pause state. */
542
+ PauseInfo: {
543
+ /** @description Why the instrument is paused. */
544
+ reason?: string;
545
+ /**
546
+ * Format: date-time
547
+ * @description Timestamp (exclusive) until which the instrument is paused, if known.
548
+ */
549
+ until?: string;
550
+ };
551
+ /** @description Which account input field(s) wallets should show in forms. */
552
+ AccountInputFieldsToShow: components$1['schemas']['AccountInputFieldToShow'][];
553
+ /**
554
+ * @description Which single account input field wallets should show in forms.
555
+ * @enum {string}
556
+ */
557
+ AccountInputFieldToShow: 'provider' | 'accountId';
558
+ };
559
+ responses: {
560
+ /** @description bad request */
561
+ 400: {
562
+ headers: {
563
+ [name: string]: unknown;
564
+ };
565
+ content: {
566
+ 'application/json': components$1['schemas']['ErrorResponse'];
567
+ };
568
+ };
569
+ /** @description not found */
570
+ 404: {
571
+ headers: {
572
+ [name: string]: unknown;
573
+ };
574
+ content: {
575
+ 'application/json': components$1['schemas']['ErrorResponse'];
576
+ };
577
+ };
578
+ /** @description conflict */
579
+ 409: {
580
+ headers: {
581
+ [name: string]: unknown;
582
+ };
583
+ content: {
584
+ 'application/json': components$1['schemas']['ErrorResponse'];
585
+ };
586
+ };
587
+ /** @description Internal server error */
588
+ 500: {
589
+ headers: {
590
+ [name: string]: unknown;
591
+ };
592
+ content: {
593
+ 'application/json': components$1['schemas']['ErrorResponse'];
594
+ };
595
+ };
596
+ };
597
+ parameters: never;
598
+ requestBodies: never;
599
+ headers: never;
600
+ pathItems: never;
602
601
  }
603
602
  type $defs$1 = Record<string, never>;
604
603
  interface operations$1 {
605
- getRegistryInfo: {
606
- parameters: {
607
- query?: never;
608
- header?: never;
609
- path?: never;
610
- cookie?: never;
604
+ getRegistryInfo: {
605
+ parameters: {
606
+ query?: never;
607
+ header?: never;
608
+ path?: never;
609
+ cookie?: never;
610
+ };
611
+ requestBody?: never;
612
+ responses: {
613
+ /** @description ok */
614
+ 200: {
615
+ headers: {
616
+ [name: string]: unknown;
611
617
  };
612
- requestBody?: never;
613
- responses: {
614
- /** @description ok */
615
- 200: {
616
- headers: {
617
- [name: string]: unknown;
618
- };
619
- content: {
620
- 'application/json': components$1['schemas']['GetRegistryInfoResponse'];
621
- };
622
- };
623
- 404: components$1['responses']['404'];
624
- 500: components$1['responses']['500'];
618
+ content: {
619
+ 'application/json': components$1['schemas']['GetRegistryInfoResponse'];
625
620
  };
621
+ };
622
+ 404: components$1['responses']['404'];
623
+ 500: components$1['responses']['500'];
624
+ };
625
+ };
626
+ listInstruments: {
627
+ parameters: {
628
+ query?: {
629
+ /** @description Number of instruments per page. */
630
+ pageSize?: number;
631
+ /** @description The `nextPageToken` received from the response for the previous page. */
632
+ pageToken?: string;
633
+ };
634
+ header?: never;
635
+ path?: never;
636
+ cookie?: never;
626
637
  };
627
- listInstruments: {
628
- parameters: {
629
- query?: {
630
- /** @description Number of instruments per page. */
631
- pageSize?: number;
632
- /** @description The `nextPageToken` received from the response for the previous page. */
633
- pageToken?: string;
634
- };
635
- header?: never;
636
- path?: never;
637
- cookie?: never;
638
+ requestBody?: never;
639
+ responses: {
640
+ /** @description ok */
641
+ 200: {
642
+ headers: {
643
+ [name: string]: unknown;
638
644
  };
639
- requestBody?: never;
640
- responses: {
641
- /** @description ok */
642
- 200: {
643
- headers: {
644
- [name: string]: unknown;
645
- };
646
- content: {
647
- 'application/json': components$1['schemas']['ListInstrumentsResponse'];
648
- };
649
- };
650
- 404: components$1['responses']['404'];
651
- 500: components$1['responses']['500'];
645
+ content: {
646
+ 'application/json': components$1['schemas']['ListInstrumentsResponse'];
652
647
  };
648
+ };
649
+ 404: components$1['responses']['404'];
650
+ 500: components$1['responses']['500'];
651
+ };
652
+ };
653
+ getInstrument: {
654
+ parameters: {
655
+ query?: never;
656
+ header?: never;
657
+ path: {
658
+ instrumentId: string;
659
+ };
660
+ cookie?: never;
653
661
  };
654
- getInstrument: {
655
- parameters: {
656
- query?: never;
657
- header?: never;
658
- path: {
659
- instrumentId: string;
660
- };
661
- cookie?: never;
662
+ requestBody?: never;
663
+ responses: {
664
+ /** @description ok */
665
+ 200: {
666
+ headers: {
667
+ [name: string]: unknown;
662
668
  };
663
- requestBody?: never;
664
- responses: {
665
- /** @description ok */
666
- 200: {
667
- headers: {
668
- [name: string]: unknown;
669
- };
670
- content: {
671
- 'application/json': components$1['schemas']['Instrument'];
672
- };
673
- };
674
- 404: components$1['responses']['404'];
675
- 500: components$1['responses']['500'];
669
+ content: {
670
+ 'application/json': components$1['schemas']['Instrument'];
676
671
  };
672
+ };
673
+ 404: components$1['responses']['404'];
674
+ 500: components$1['responses']['500'];
677
675
  };
676
+ };
678
677
  }
679
-
680
- declare namespace tokenMetadataV1 {
681
- export type { $defs$1 as $defs, components$1 as components, operations$1 as operations, paths$2 as paths, webhooks$1 as webhooks };
678
+ declare namespace transfer_instruction_v1_d_exports {
679
+ export { $defs, components, operations, paths$1 as paths, webhooks };
682
680
  }
683
-
684
681
  interface paths$1 {
685
- '/registry/transfer-instruction/v1/transfer-factory': {
686
- parameters: {
687
- query?: never;
688
- header?: never;
689
- path?: never;
690
- cookie?: never;
691
- };
692
- get?: never;
693
- put?: never;
694
- /** @description Get the factory and choice context for executing a direct transfer. */
695
- post: operations['getTransferFactory'];
696
- delete?: never;
697
- options?: never;
698
- head?: never;
699
- patch?: never;
700
- trace?: never;
701
- };
702
- '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/accept': {
703
- parameters: {
704
- query?: never;
705
- header?: never;
706
- path?: never;
707
- cookie?: never;
708
- };
709
- get?: never;
710
- put?: never;
711
- /** @description Get the choice context to accept a transfer instruction. */
712
- post: operations['getTransferInstructionAcceptContext'];
713
- delete?: never;
714
- options?: never;
715
- head?: never;
716
- patch?: never;
717
- trace?: never;
718
- };
719
- '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/reject': {
720
- parameters: {
721
- query?: never;
722
- header?: never;
723
- path?: never;
724
- cookie?: never;
725
- };
726
- get?: never;
727
- put?: never;
728
- /** @description Get the choice context to reject a transfer instruction. */
729
- post: operations['getTransferInstructionRejectContext'];
730
- delete?: never;
731
- options?: never;
732
- head?: never;
733
- patch?: never;
734
- trace?: never;
735
- };
736
- '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/withdraw': {
737
- parameters: {
738
- query?: never;
739
- header?: never;
740
- path?: never;
741
- cookie?: never;
742
- };
743
- get?: never;
744
- put?: never;
745
- /** @description Get the choice context to withdraw a transfer instruction. */
746
- post: operations['getTransferInstructionWithdrawContext'];
747
- delete?: never;
748
- options?: never;
749
- head?: never;
750
- patch?: never;
751
- trace?: never;
682
+ '/registry/transfer-instruction/v1/transfer-factory': {
683
+ parameters: {
684
+ query?: never;
685
+ header?: never;
686
+ path?: never;
687
+ cookie?: never;
688
+ };
689
+ get?: never;
690
+ put?: never;
691
+ /** @description Get the factory and choice context for executing a direct transfer. */
692
+ post: operations['getTransferFactory'];
693
+ delete?: never;
694
+ options?: never;
695
+ head?: never;
696
+ patch?: never;
697
+ trace?: never;
698
+ };
699
+ '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/accept': {
700
+ parameters: {
701
+ query?: never;
702
+ header?: never;
703
+ path?: never;
704
+ cookie?: never;
705
+ };
706
+ get?: never;
707
+ put?: never;
708
+ /** @description Get the choice context to accept a transfer instruction. */
709
+ post: operations['getTransferInstructionAcceptContext'];
710
+ delete?: never;
711
+ options?: never;
712
+ head?: never;
713
+ patch?: never;
714
+ trace?: never;
715
+ };
716
+ '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/reject': {
717
+ parameters: {
718
+ query?: never;
719
+ header?: never;
720
+ path?: never;
721
+ cookie?: never;
722
+ };
723
+ get?: never;
724
+ put?: never;
725
+ /** @description Get the choice context to reject a transfer instruction. */
726
+ post: operations['getTransferInstructionRejectContext'];
727
+ delete?: never;
728
+ options?: never;
729
+ head?: never;
730
+ patch?: never;
731
+ trace?: never;
732
+ };
733
+ '/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/withdraw': {
734
+ parameters: {
735
+ query?: never;
736
+ header?: never;
737
+ path?: never;
738
+ cookie?: never;
752
739
  };
740
+ get?: never;
741
+ put?: never;
742
+ /** @description Get the choice context to withdraw a transfer instruction. */
743
+ post: operations['getTransferInstructionWithdrawContext'];
744
+ delete?: never;
745
+ options?: never;
746
+ head?: never;
747
+ patch?: never;
748
+ trace?: never;
749
+ };
753
750
  }
754
751
  type webhooks = Record<string, never>;
755
752
  interface components {
756
- schemas: {
757
- GetFactoryRequest: {
758
- /**
759
- * @description The arguments that are intended to be passed to the choice provided by the factory.
760
- * To avoid repeating the Daml type definitions, they are specified as JSON objects.
761
- * However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
762
- * (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
763
- *
764
- * The choice arguments are provided so that the registry can also provide choice-argument
765
- * specific contracts, e.g., the configuration for a specific instrument-id.
766
- */
767
- choiceArguments: Record<string, never>;
768
- /**
769
- * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
770
- * @default false
771
- */
772
- excludeDebugFields: boolean;
773
- };
774
- /** @description A request to get the context for executing a choice on a contract. */
775
- GetChoiceContextRequest: {
776
- /**
777
- * @description Metadata that will be passed to the choice, and should be incorporated
778
- * into the choice context. Provided for extensibility.
779
- */
780
- meta?: {
781
- [key: string]: string;
782
- };
783
- /**
784
- * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
785
- * @default false
786
- */
787
- excludeDebugFields: boolean;
788
- };
789
- /**
790
- * @description The transfer factory contract together with the choice context required to exercise the choice
791
- * provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
792
- * via a Daml interface.
793
- *
794
- * Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
795
- * as the choice context MAY be specific to the choice being exercised.
796
- */
797
- TransferFactoryWithChoiceContext: {
798
- /** @description The contract ID of the contract implementing the factory interface. */
799
- factoryId: string;
800
- /**
801
- * @description The kind of transfer workflow that will be used:
802
- * * `offer`: offer a transfer to the receiver and only transfer if they accept
803
- * * `direct`: transfer directly to the receiver without asking them for approval.
804
- * Only chosen if the receiver has pre-approved direct transfers.
805
- * * `self`: a self-transfer where the sender and receiver are the same party.
806
- * No approval is required, and the transfer is typically immediate.
807
- * @enum {string}
808
- */
809
- transferKind: 'self' | 'direct' | 'offer';
810
- choiceContext: components['schemas']['ChoiceContext'];
811
- };
812
- /**
813
- * @description The context required to exercise a choice on a contract via an interface.
814
- * Used to retrieve additional reference data that is passed in via disclosed contracts,
815
- * which are in turn referred to via their contract ID in the `choiceContextData`.
816
- */
817
- ChoiceContext: {
818
- /** @description The additional data to use when exercising the choice. */
819
- choiceContextData: Record<string, never>;
820
- /**
821
- * @description The contracts that are required to be disclosed to the participant node for exercising
822
- * the choice.
823
- */
824
- disclosedContracts: components['schemas']['DisclosedContract'][];
825
- };
826
- DisclosedContract: {
827
- templateId: string;
828
- contractId: string;
829
- createdEventBlob: string;
830
- /**
831
- * @description The synchronizer to which the contract is currently assigned.
832
- * If the contract is in the process of being reassigned, then a "409" response is returned.
833
- */
834
- synchronizerId: string;
835
- /**
836
- * @description The name of the Daml package that was used to create the contract.
837
- * Use this data only if you trust the provider, as it might not match the data in the
838
- * `createdEventBlob`.
839
- */
840
- debugPackageName?: string;
841
- /**
842
- * @description The contract arguments that were used to create the contract.
843
- * Use this data only if you trust the provider, as it might not match the data in the
844
- * `createdEventBlob`.
845
- */
846
- debugPayload?: Record<string, never>;
847
- /**
848
- * Format: date-time
849
- * @description The ledger effective time at which the contract was created.
850
- * Use this data only if you trust the provider, as it might not match the data in the
851
- * `createdEventBlob`.
852
- */
853
- debugCreatedAt?: string;
854
- };
855
- ErrorResponse: {
856
- error: string;
857
- };
753
+ schemas: {
754
+ GetFactoryRequest: {
755
+ /**
756
+ * @description The arguments that are intended to be passed to the choice provided by the factory.
757
+ * To avoid repeating the Daml type definitions, they are specified as JSON objects.
758
+ * However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
759
+ * (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
760
+ *
761
+ * The choice arguments are provided so that the registry can also provide choice-argument
762
+ * specific contracts, e.g., the configuration for a specific instrument-id.
763
+ */
764
+ choiceArguments: Record<string, never>;
765
+ /**
766
+ * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
767
+ * @default false
768
+ */
769
+ excludeDebugFields: boolean;
858
770
  };
859
- responses: {
860
- /** @description bad request */
861
- 400: {
862
- headers: {
863
- [name: string]: unknown;
864
- };
865
- content: {
866
- 'application/json': components['schemas']['ErrorResponse'];
867
- };
868
- };
869
- /** @description not found */
870
- 404: {
871
- headers: {
872
- [name: string]: unknown;
873
- };
874
- content: {
875
- 'application/json': components['schemas']['ErrorResponse'];
876
- };
877
- };
771
+ /** @description A request to get the context for executing a choice on a contract. */
772
+ GetChoiceContextRequest: {
773
+ /**
774
+ * @description Metadata that will be passed to the choice, and should be incorporated
775
+ * into the choice context. Provided for extensibility.
776
+ */
777
+ meta?: {
778
+ [key: string]: string;
779
+ };
780
+ /**
781
+ * @description If set to true, the response will not include fields prefixed with 'debug'. Useful to save bandwidth.
782
+ * @default false
783
+ */
784
+ excludeDebugFields: boolean;
785
+ };
786
+ /**
787
+ * @description The transfer factory contract together with the choice context required to exercise the choice
788
+ * provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
789
+ * via a Daml interface.
790
+ *
791
+ * Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
792
+ * as the choice context MAY be specific to the choice being exercised.
793
+ */
794
+ TransferFactoryWithChoiceContext: {
795
+ /** @description The contract ID of the contract implementing the factory interface. */
796
+ factoryId: string;
797
+ /**
798
+ * @description The kind of transfer workflow that will be used:
799
+ * * `offer`: offer a transfer to the receiver and only transfer if they accept
800
+ * * `direct`: transfer directly to the receiver without asking them for approval.
801
+ * Only chosen if the receiver has pre-approved direct transfers.
802
+ * * `self`: a self-transfer where the sender and receiver are the same party.
803
+ * No approval is required, and the transfer is typically immediate.
804
+ * @enum {string}
805
+ */
806
+ transferKind: 'self' | 'direct' | 'offer';
807
+ choiceContext: components['schemas']['ChoiceContext'];
808
+ };
809
+ /**
810
+ * @description The context required to exercise a choice on a contract via an interface.
811
+ * Used to retrieve additional reference data that is passed in via disclosed contracts,
812
+ * which are in turn referred to via their contract ID in the `choiceContextData`.
813
+ */
814
+ ChoiceContext: {
815
+ /** @description The additional data to use when exercising the choice. */
816
+ choiceContextData: Record<string, never>;
817
+ /**
818
+ * @description The contracts that are required to be disclosed to the participant node for exercising
819
+ * the choice.
820
+ */
821
+ disclosedContracts: components['schemas']['DisclosedContract'][];
822
+ };
823
+ DisclosedContract: {
824
+ templateId: string;
825
+ contractId: string;
826
+ createdEventBlob: string;
827
+ /**
828
+ * @description The synchronizer to which the contract is currently assigned.
829
+ * If the contract is in the process of being reassigned, then a "409" response is returned.
830
+ */
831
+ synchronizerId: string;
832
+ /**
833
+ * @description The name of the Daml package that was used to create the contract.
834
+ * Use this data only if you trust the provider, as it might not match the data in the
835
+ * `createdEventBlob`.
836
+ */
837
+ debugPackageName?: string;
838
+ /**
839
+ * @description The contract arguments that were used to create the contract.
840
+ * Use this data only if you trust the provider, as it might not match the data in the
841
+ * `createdEventBlob`.
842
+ */
843
+ debugPayload?: Record<string, never>;
844
+ /**
845
+ * Format: date-time
846
+ * @description The ledger effective time at which the contract was created.
847
+ * Use this data only if you trust the provider, as it might not match the data in the
848
+ * `createdEventBlob`.
849
+ */
850
+ debugCreatedAt?: string;
878
851
  };
879
- parameters: never;
880
- requestBodies: never;
881
- headers: never;
882
- pathItems: never;
852
+ ErrorResponse: {
853
+ error: string;
854
+ };
855
+ };
856
+ responses: {
857
+ /** @description bad request */
858
+ 400: {
859
+ headers: {
860
+ [name: string]: unknown;
861
+ };
862
+ content: {
863
+ 'application/json': components['schemas']['ErrorResponse'];
864
+ };
865
+ };
866
+ /** @description not found */
867
+ 404: {
868
+ headers: {
869
+ [name: string]: unknown;
870
+ };
871
+ content: {
872
+ 'application/json': components['schemas']['ErrorResponse'];
873
+ };
874
+ };
875
+ };
876
+ parameters: never;
877
+ requestBodies: never;
878
+ headers: never;
879
+ pathItems: never;
883
880
  }
884
881
  type $defs = Record<string, never>;
885
882
  interface operations {
886
- getTransferFactory: {
887
- parameters: {
888
- query?: never;
889
- header?: never;
890
- path?: never;
891
- cookie?: never;
892
- };
893
- requestBody: {
894
- content: {
895
- 'application/json': components['schemas']['GetFactoryRequest'];
896
- };
883
+ getTransferFactory: {
884
+ parameters: {
885
+ query?: never;
886
+ header?: never;
887
+ path?: never;
888
+ cookie?: never;
889
+ };
890
+ requestBody: {
891
+ content: {
892
+ 'application/json': components['schemas']['GetFactoryRequest'];
893
+ };
894
+ };
895
+ responses: {
896
+ /** @description ok */
897
+ 200: {
898
+ headers: {
899
+ [name: string]: unknown;
897
900
  };
898
- responses: {
899
- /** @description ok */
900
- 200: {
901
- headers: {
902
- [name: string]: unknown;
903
- };
904
- content: {
905
- 'application/json': components['schemas']['TransferFactoryWithChoiceContext'];
906
- };
907
- };
908
- 400: components['responses']['400'];
909
- 404: components['responses']['404'];
901
+ content: {
902
+ 'application/json': components['schemas']['TransferFactoryWithChoiceContext'];
910
903
  };
904
+ };
905
+ 400: components['responses']['400'];
906
+ 404: components['responses']['404'];
911
907
  };
912
- getTransferInstructionAcceptContext: {
913
- parameters: {
914
- query?: never;
915
- header?: never;
916
- path: {
917
- /** @description The contract ID of the transfer instruction to accept. */
918
- transferInstructionId: string;
919
- };
920
- cookie?: never;
921
- };
922
- requestBody: {
923
- content: {
924
- 'application/json': components['schemas']['GetChoiceContextRequest'];
925
- };
908
+ };
909
+ getTransferInstructionAcceptContext: {
910
+ parameters: {
911
+ query?: never;
912
+ header?: never;
913
+ path: {
914
+ /** @description The contract ID of the transfer instruction to accept. */
915
+ transferInstructionId: string;
916
+ };
917
+ cookie?: never;
918
+ };
919
+ requestBody: {
920
+ content: {
921
+ 'application/json': components['schemas']['GetChoiceContextRequest'];
922
+ };
923
+ };
924
+ responses: {
925
+ /** @description ok */
926
+ 200: {
927
+ headers: {
928
+ [name: string]: unknown;
926
929
  };
927
- responses: {
928
- /** @description ok */
929
- 200: {
930
- headers: {
931
- [name: string]: unknown;
932
- };
933
- content: {
934
- 'application/json': components['schemas']['ChoiceContext'];
935
- };
936
- };
937
- 400: components['responses']['400'];
938
- 404: components['responses']['404'];
930
+ content: {
931
+ 'application/json': components['schemas']['ChoiceContext'];
939
932
  };
933
+ };
934
+ 400: components['responses']['400'];
935
+ 404: components['responses']['404'];
940
936
  };
941
- getTransferInstructionRejectContext: {
942
- parameters: {
943
- query?: never;
944
- header?: never;
945
- path: {
946
- /** @description The contract ID of the transfer instruction to reject. */
947
- transferInstructionId: string;
948
- };
949
- cookie?: never;
950
- };
951
- requestBody: {
952
- content: {
953
- 'application/json': components['schemas']['GetChoiceContextRequest'];
954
- };
937
+ };
938
+ getTransferInstructionRejectContext: {
939
+ parameters: {
940
+ query?: never;
941
+ header?: never;
942
+ path: {
943
+ /** @description The contract ID of the transfer instruction to reject. */
944
+ transferInstructionId: string;
945
+ };
946
+ cookie?: never;
947
+ };
948
+ requestBody: {
949
+ content: {
950
+ 'application/json': components['schemas']['GetChoiceContextRequest'];
951
+ };
952
+ };
953
+ responses: {
954
+ /** @description ok */
955
+ 200: {
956
+ headers: {
957
+ [name: string]: unknown;
955
958
  };
956
- responses: {
957
- /** @description ok */
958
- 200: {
959
- headers: {
960
- [name: string]: unknown;
961
- };
962
- content: {
963
- 'application/json': components['schemas']['ChoiceContext'];
964
- };
965
- };
966
- 400: components['responses']['400'];
967
- 404: components['responses']['404'];
959
+ content: {
960
+ 'application/json': components['schemas']['ChoiceContext'];
968
961
  };
962
+ };
963
+ 400: components['responses']['400'];
964
+ 404: components['responses']['404'];
969
965
  };
970
- getTransferInstructionWithdrawContext: {
971
- parameters: {
972
- query?: never;
973
- header?: never;
974
- path: {
975
- /** @description The contract ID of the transfer instruction to withdraw. */
976
- transferInstructionId: string;
977
- };
978
- cookie?: never;
979
- };
980
- requestBody: {
981
- content: {
982
- 'application/json': components['schemas']['GetChoiceContextRequest'];
983
- };
966
+ };
967
+ getTransferInstructionWithdrawContext: {
968
+ parameters: {
969
+ query?: never;
970
+ header?: never;
971
+ path: {
972
+ /** @description The contract ID of the transfer instruction to withdraw. */
973
+ transferInstructionId: string;
974
+ };
975
+ cookie?: never;
976
+ };
977
+ requestBody: {
978
+ content: {
979
+ 'application/json': components['schemas']['GetChoiceContextRequest'];
980
+ };
981
+ };
982
+ responses: {
983
+ /** @description ok */
984
+ 200: {
985
+ headers: {
986
+ [name: string]: unknown;
984
987
  };
985
- responses: {
986
- /** @description ok */
987
- 200: {
988
- headers: {
989
- [name: string]: unknown;
990
- };
991
- content: {
992
- 'application/json': components['schemas']['ChoiceContext'];
993
- };
994
- };
995
- 400: components['responses']['400'];
996
- 404: components['responses']['404'];
988
+ content: {
989
+ 'application/json': components['schemas']['ChoiceContext'];
997
990
  };
991
+ };
992
+ 400: components['responses']['400'];
993
+ 404: components['responses']['404'];
998
994
  };
995
+ };
999
996
  }
1000
-
1001
- type transferInstructionV1_$defs = $defs;
1002
- type transferInstructionV1_components = components;
1003
- type transferInstructionV1_operations = operations;
1004
- type transferInstructionV1_webhooks = webhooks;
1005
- declare namespace transferInstructionV1 {
1006
- export type { transferInstructionV1_$defs as $defs, transferInstructionV1_components as components, transferInstructionV1_operations as operations, paths$1 as paths, transferInstructionV1_webhooks as webhooks };
1007
- }
1008
-
1009
997
  type Logger = Pick<Console, 'debug' | 'info' | 'warn' | 'error'>;
1010
998
  type paths = paths$4 & paths$2 & paths$1 & paths$3;
1011
- type PostEndpoint = {
1012
- [Pathname in keyof paths]: paths[Pathname] extends {
1013
- post: unknown;
1014
- } ? Pathname : never;
1015
- }[keyof paths];
1016
- type PostRequest<Path extends PostEndpoint> = paths[Path] extends {
1017
- post: {
1018
- requestBody: {
1019
- content: {
1020
- 'application/json': infer Req;
1021
- };
1022
- };
999
+ type PostEndpoint = { [Pathname in keyof paths]: paths[Pathname] extends {
1000
+ post: unknown;
1001
+ } ? Pathname : never; }[keyof paths];
1002
+ export type PostRequest<Path extends PostEndpoint> = paths[Path] extends {
1003
+ post: {
1004
+ requestBody: {
1005
+ content: {
1006
+ 'application/json': infer Req;
1007
+ };
1023
1008
  };
1009
+ };
1024
1010
  } ? Req : never;
1025
- type PostResponse<Path extends PostEndpoint> = paths[Path] extends {
1026
- post: {
1027
- responses: {
1028
- 200: {
1029
- content: {
1030
- 'application/json': infer Res;
1031
- };
1032
- };
1011
+ export type PostResponse<Path extends PostEndpoint> = paths[Path] extends {
1012
+ post: {
1013
+ responses: {
1014
+ 200: {
1015
+ content: {
1016
+ 'application/json': infer Res;
1033
1017
  };
1018
+ };
1034
1019
  };
1020
+ };
1035
1021
  } ? Res : never;
1036
- type GetEndpoint = {
1037
- [Pathname in keyof paths]: paths[Pathname] extends {
1038
- get: unknown;
1039
- } ? Pathname : never;
1040
- }[keyof paths];
1041
- type GetResponse<Path extends GetEndpoint> = paths[Path] extends {
1042
- get: {
1043
- responses: {
1044
- 200: {
1045
- content: {
1046
- 'application/json': infer Res;
1047
- };
1048
- };
1022
+ type GetEndpoint = { [Pathname in keyof paths]: paths[Pathname] extends {
1023
+ get: unknown;
1024
+ } ? Pathname : never; }[keyof paths];
1025
+ export type GetResponse<Path extends GetEndpoint> = paths[Path] extends {
1026
+ get: {
1027
+ responses: {
1028
+ 200: {
1029
+ content: {
1030
+ 'application/json': infer Res;
1049
1031
  };
1032
+ };
1050
1033
  };
1034
+ };
1051
1035
  } ? Res : never;
1052
- declare class TokenStandardClient {
1053
- private readonly client;
1054
- private readonly logger;
1055
- private accessTokenProvider;
1056
- constructor(baseUrl: string, logger: Logger, accessTokenProvider: AccessTokenProvider);
1057
- post<Path extends PostEndpoint>(path: Path, body: PostRequest<Path>, params?: {
1058
- path?: Record<string, string>;
1059
- query?: Record<string, string | number>;
1060
- }): Promise<PostResponse<Path>>;
1061
- get<Path extends GetEndpoint>(path: Path, params?: {
1062
- path?: Record<string, string>;
1063
- query?: Record<string, string | number>;
1064
- }): Promise<GetResponse<Path>>;
1065
- private valueOrError;
1066
- }
1067
-
1068
- declare const ALLOCATION_FACTORY_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory";
1069
- declare const ALLOCATION_INSTRUCTION_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction";
1070
- declare const ALLOCATION_REQUEST_INTERFACE_ID = "#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest";
1071
- declare const ALLOCATION_INTERFACE_ID = "#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation";
1072
- declare const HOLDING_INTERFACE_ID = "#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding";
1073
- declare const METADATA_INTERFACE_ID = "#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract";
1074
- declare const TRANSFER_FACTORY_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory";
1075
- declare const TRANSFER_INSTRUCTION_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction";
1076
- declare const FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID = "#splice-util-featured-app-proxies:Splice.Util.FeaturedApp.DelegateProxy:DelegateProxy";
1077
- declare const MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegationProposal";
1078
- declare const MERGE_DELEGATION_TEMPLATE_ID = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegation";
1079
- declare const MERGE_DELEGATION_BATCH_MERGE_UTILITY = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:BatchMergeUtility";
1080
-
1081
- // Generated from ../../../DA/Internal/Template/module.daml
1082
-
1083
-
1084
-
1085
- declare type Archive = {
1086
- }
1087
-
1088
- declare const Archive:
1089
- damlTypes.Serializable<Archive>
1090
-
1091
- // Generated from ../../../DA/Time/Types/module.daml
1092
-
1093
-
1094
-
1036
+ export declare class TokenStandardClient {
1037
+ private readonly client;
1038
+ private readonly logger;
1039
+ private accessTokenProvider;
1040
+ constructor(baseUrl: string, logger: Logger, accessTokenProvider: AccessTokenProvider);
1041
+ post<Path extends PostEndpoint>(path: Path, body: PostRequest<Path>, params?: {
1042
+ path?: Record<string, string>;
1043
+ query?: Record<string, string | number>;
1044
+ }): Promise<PostResponse<Path>>;
1045
+ get<Path extends GetEndpoint>(path: Path, params?: {
1046
+ path?: Record<string, string>;
1047
+ query?: Record<string, string | number>;
1048
+ }): Promise<GetResponse<Path>>;
1049
+ private valueOrError;
1050
+ }
1051
+ export declare const ALLOCATION_FACTORY_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory";
1052
+ export declare const ALLOCATION_INSTRUCTION_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction";
1053
+ export declare const ALLOCATION_REQUEST_INTERFACE_ID = "#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest";
1054
+ export declare const ALLOCATION_INTERFACE_ID = "#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation";
1055
+ export declare const HOLDING_INTERFACE_ID = "#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding";
1056
+ export declare const METADATA_INTERFACE_ID = "#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract";
1057
+ export declare const TRANSFER_FACTORY_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory";
1058
+ export declare const TRANSFER_INSTRUCTION_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction";
1059
+ export declare const FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID = "#splice-util-featured-app-proxies:Splice.Util.FeaturedApp.DelegateProxy:DelegateProxy";
1060
+ export declare const MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegationProposal";
1061
+ export declare const MERGE_DELEGATION_TEMPLATE_ID = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegation";
1062
+ export declare const MERGE_DELEGATION_BATCH_MERGE_UTILITY = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:BatchMergeUtility";
1063
+ declare type Archive = {};
1064
+ declare const Archive: damlTypes.Serializable<Archive>;
1095
1065
  declare type RelTime = {
1096
- microseconds: damlTypes.Int,
1066
+ microseconds: damlTypes.Int;
1067
+ };
1068
+ declare const RelTime: damlTypes.Serializable<RelTime>;
1069
+ declare namespace module_d_exports$5 {
1070
+ export { AnyContract, AnyContractInterface, AnyContractView, AnyValue, ChoiceContext, ChoiceExecutionMetadata, ExtraArgs, Metadata };
1097
1071
  }
1098
-
1099
- declare const RelTime:
1100
- damlTypes.Serializable<RelTime>
1101
-
1102
- // Generated from ../../../../Splice/Api/Token/MetadataV1/module.daml
1103
-
1104
-
1072
+ declare type AnyContract = damlTypes.Interface<'#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> & AnyContractView;
1105
1073
  declare interface AnyContractInterface {
1106
- Archive:
1107
- damlTypes.Choice<AnyContract, Archive, {}, undefined> &
1108
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AnyContract, undefined>>;
1109
- }
1110
-
1111
- declare type AnyContract = damlTypes.Interface<'#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> & AnyContractView
1112
- declare const AnyContract:
1113
- damlTypes.InterfaceCompanion<AnyContract, undefined, '#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> &
1114
- damlTypes.FromTemplate<AnyContract, unknown> &
1115
- AnyContractInterface
1116
-
1117
- declare type AnyContractView = {
1118
- }
1119
-
1120
- declare const AnyContractView:
1121
- damlTypes.Serializable<AnyContractView>
1122
-
1123
- declare type AnyValue =
1124
- | { tag: 'AV_Text'; value: string }
1125
- | { tag: 'AV_Int'; value: damlTypes.Int }
1126
- | { tag: 'AV_Decimal'; value: damlTypes.Numeric }
1127
- | { tag: 'AV_Bool'; value: boolean }
1128
- | { tag: 'AV_Date'; value: damlTypes.Date }
1129
- | { tag: 'AV_Time'; value: damlTypes.Time }
1130
- | { tag: 'AV_RelTime'; value: RelTime }
1131
- | { tag: 'AV_Party'; value: damlTypes.Party }
1132
- | { tag: 'AV_ContractId'; value: damlTypes.ContractId<AnyContract> }
1133
- | { tag: 'AV_List'; value: AnyValue[] }
1134
- | { tag: 'AV_Map'; value: { [key: string]: AnyValue } }
1135
-
1136
-
1137
- declare const AnyValue:
1138
- damlTypes.Serializable<AnyValue>
1139
-
1074
+ Archive: damlTypes.Choice<AnyContract, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AnyContract, undefined>>;
1075
+ }
1076
+ declare const AnyContract: damlTypes.InterfaceCompanion<AnyContract, undefined, '#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> & damlTypes.FromTemplate<AnyContract, unknown> & AnyContractInterface;
1077
+ declare type AnyContractView = {};
1078
+ declare const AnyContractView: damlTypes.Serializable<AnyContractView>;
1079
+ declare type AnyValue = {
1080
+ tag: 'AV_Text';
1081
+ value: string;
1082
+ } | {
1083
+ tag: 'AV_Int';
1084
+ value: damlTypes.Int;
1085
+ } | {
1086
+ tag: 'AV_Decimal';
1087
+ value: damlTypes.Numeric;
1088
+ } | {
1089
+ tag: 'AV_Bool';
1090
+ value: boolean;
1091
+ } | {
1092
+ tag: 'AV_Date';
1093
+ value: damlTypes.Date;
1094
+ } | {
1095
+ tag: 'AV_Time';
1096
+ value: damlTypes.Time;
1097
+ } | {
1098
+ tag: 'AV_RelTime';
1099
+ value: RelTime;
1100
+ } | {
1101
+ tag: 'AV_Party';
1102
+ value: damlTypes.Party;
1103
+ } | {
1104
+ tag: 'AV_ContractId';
1105
+ value: damlTypes.ContractId<AnyContract>;
1106
+ } | {
1107
+ tag: 'AV_List';
1108
+ value: AnyValue[];
1109
+ } | {
1110
+ tag: 'AV_Map';
1111
+ value: {
1112
+ [key: string]: AnyValue;
1113
+ };
1114
+ };
1115
+ declare const AnyValue: damlTypes.Serializable<AnyValue>;
1140
1116
  declare type ChoiceContext = {
1141
- values: { [key: string]: AnyValue },
1142
- }
1143
-
1144
- declare const ChoiceContext:
1145
- damlTypes.Serializable<ChoiceContext>
1146
-
1117
+ values: {
1118
+ [key: string]: AnyValue;
1119
+ };
1120
+ };
1121
+ declare const ChoiceContext: damlTypes.Serializable<ChoiceContext>;
1147
1122
  declare type ChoiceExecutionMetadata = {
1148
- meta: Metadata,
1149
- }
1150
-
1151
- declare const ChoiceExecutionMetadata:
1152
- damlTypes.Serializable<ChoiceExecutionMetadata>
1153
-
1123
+ meta: Metadata;
1124
+ };
1125
+ declare const ChoiceExecutionMetadata: damlTypes.Serializable<ChoiceExecutionMetadata>;
1154
1126
  declare type ExtraArgs = {
1155
- context: ChoiceContext,
1156
- meta: Metadata,
1157
- }
1158
-
1159
- declare const ExtraArgs:
1160
- damlTypes.Serializable<ExtraArgs>
1161
-
1127
+ context: ChoiceContext;
1128
+ meta: Metadata;
1129
+ };
1130
+ declare const ExtraArgs: damlTypes.Serializable<ExtraArgs>;
1162
1131
  declare type Metadata = {
1163
- values: { [key: string]: string },
1164
- }
1165
-
1166
- declare const Metadata:
1167
- damlTypes.Serializable<Metadata>
1168
-
1169
- declare const module_d$5_AnyContract: typeof AnyContract;
1170
- type module_d$5_AnyContractInterface = AnyContractInterface;
1171
- declare const module_d$5_AnyContractView: typeof AnyContractView;
1172
- declare const module_d$5_AnyValue: typeof AnyValue;
1173
- declare const module_d$5_ChoiceContext: typeof ChoiceContext;
1174
- declare const module_d$5_ChoiceExecutionMetadata: typeof ChoiceExecutionMetadata;
1175
- declare const module_d$5_ExtraArgs: typeof ExtraArgs;
1176
- declare const module_d$5_Metadata: typeof Metadata;
1177
- declare namespace module_d$5 {
1178
- export { module_d$5_AnyContract as AnyContract, module_d$5_AnyContractView as AnyContractView, module_d$5_AnyValue as AnyValue, module_d$5_ChoiceContext as ChoiceContext, module_d$5_ChoiceExecutionMetadata as ChoiceExecutionMetadata, module_d$5_ExtraArgs as ExtraArgs, module_d$5_Metadata as Metadata };
1179
- export type { module_d$5_AnyContractInterface as AnyContractInterface };
1132
+ values: {
1133
+ [key: string]: string;
1134
+ };
1135
+ };
1136
+ declare const Metadata: damlTypes.Serializable<Metadata>;
1137
+ declare namespace module_d_exports$4 {
1138
+ export { Holding, HoldingInterface, HoldingView, InstrumentId, Lock };
1180
1139
  }
1181
-
1182
- // Generated from ../../../../Splice/Api/Token/HoldingV1/module.daml
1183
-
1184
-
1140
+ declare type Holding = damlTypes.Interface<'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & HoldingView;
1185
1141
  declare interface HoldingInterface {
1186
- Archive:
1187
- damlTypes.Choice<Holding, Archive, {}, undefined> &
1188
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>;
1142
+ Archive: damlTypes.Choice<Holding, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>;
1189
1143
  }
1190
-
1191
- declare type Holding = damlTypes.Interface<'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & HoldingView
1192
- declare const Holding:
1193
- damlTypes.InterfaceCompanion<Holding, undefined, '#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> &
1194
- damlTypes.FromTemplate<Holding, unknown> &
1195
- HoldingInterface
1196
-
1144
+ declare const Holding: damlTypes.InterfaceCompanion<Holding, undefined, '#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & damlTypes.FromTemplate<Holding, unknown> & HoldingInterface;
1197
1145
  declare type HoldingView = {
1198
- owner: damlTypes.Party,
1199
- instrumentId: InstrumentId,
1200
- amount: damlTypes.Numeric,
1201
- lock: damlTypes.Optional<Lock>,
1202
- meta: Metadata,
1203
- }
1204
-
1205
- declare const HoldingView:
1206
- damlTypes.Serializable<HoldingView>
1207
-
1146
+ owner: damlTypes.Party;
1147
+ instrumentId: InstrumentId;
1148
+ amount: damlTypes.Numeric;
1149
+ lock: damlTypes.Optional<Lock>;
1150
+ meta: Metadata;
1151
+ };
1152
+ declare const HoldingView: damlTypes.Serializable<HoldingView>;
1208
1153
  declare type InstrumentId = {
1209
- admin: damlTypes.Party,
1210
- id: string,
1211
- }
1212
-
1213
- declare const InstrumentId:
1214
- damlTypes.Serializable<InstrumentId>
1215
-
1154
+ admin: damlTypes.Party;
1155
+ id: string;
1156
+ };
1157
+ declare const InstrumentId: damlTypes.Serializable<InstrumentId>;
1216
1158
  declare type Lock = {
1217
- holders: damlTypes.Party[],
1218
- expiresAt: damlTypes.Optional<damlTypes.Time>,
1219
- expiresAfter: damlTypes.Optional<RelTime>,
1220
- context: damlTypes.Optional<string>,
1221
- }
1222
-
1223
- declare const Lock:
1224
- damlTypes.Serializable<Lock>
1225
-
1226
- declare const module_d$4_Holding: typeof Holding;
1227
- type module_d$4_HoldingInterface = HoldingInterface;
1228
- declare const module_d$4_HoldingView: typeof HoldingView;
1229
- declare const module_d$4_InstrumentId: typeof InstrumentId;
1230
- declare const module_d$4_Lock: typeof Lock;
1231
- declare namespace module_d$4 {
1232
- export { module_d$4_Holding as Holding, module_d$4_HoldingView as HoldingView, module_d$4_InstrumentId as InstrumentId, module_d$4_Lock as Lock };
1233
- export type { module_d$4_HoldingInterface as HoldingInterface };
1159
+ holders: damlTypes.Party[];
1160
+ expiresAt: damlTypes.Optional<damlTypes.Time>;
1161
+ expiresAfter: damlTypes.Optional<RelTime>;
1162
+ context: damlTypes.Optional<string>;
1163
+ };
1164
+ declare const Lock: damlTypes.Serializable<Lock>;
1165
+ declare namespace module_d_exports$3 {
1166
+ export { Allocation, AllocationInterface, AllocationSpecification, AllocationView, Allocation_Cancel, Allocation_CancelResult, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, Allocation_Withdraw, Allocation_WithdrawResult, Reference, SettlementInfo, TransferLeg };
1234
1167
  }
1235
-
1236
- // Generated from ../../../../Splice/Api/Token/AllocationV1/module.daml
1237
-
1238
-
1168
+ export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView;
1239
1169
  declare interface AllocationInterface {
1240
- Allocation_Cancel:
1241
- damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> &
1242
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1243
- Allocation_ExecuteTransfer:
1244
- damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> &
1245
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1246
- Allocation_Withdraw:
1247
- damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> &
1248
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1249
- Archive:
1250
- damlTypes.Choice<Allocation, Archive, {}, undefined> &
1251
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1170
+ Allocation_Cancel: damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1171
+ Allocation_ExecuteTransfer: damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1172
+ Allocation_Withdraw: damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1173
+ Archive: damlTypes.Choice<Allocation, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
1252
1174
  }
1253
-
1254
- declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView
1255
- declare const Allocation:
1256
- damlTypes.InterfaceCompanion<Allocation, undefined, '#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> &
1257
- damlTypes.FromTemplate<Allocation, unknown> &
1258
- AllocationInterface
1259
-
1175
+ export declare const Allocation: damlTypes.InterfaceCompanion<Allocation, undefined, '#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & damlTypes.FromTemplate<Allocation, unknown> & AllocationInterface;
1260
1176
  declare type AllocationSpecification = {
1261
- settlement: SettlementInfo,
1262
- transferLegId: string,
1263
- transferLeg: TransferLeg,
1264
- }
1265
-
1266
- declare const AllocationSpecification:
1267
- damlTypes.Serializable<AllocationSpecification>
1268
-
1177
+ settlement: SettlementInfo;
1178
+ transferLegId: string;
1179
+ transferLeg: TransferLeg;
1180
+ };
1181
+ declare const AllocationSpecification: damlTypes.Serializable<AllocationSpecification>;
1269
1182
  declare type AllocationView = {
1270
- allocation: AllocationSpecification,
1271
- holdingCids: damlTypes.ContractId<Holding>[],
1272
- meta: Metadata,
1273
- }
1274
-
1275
- declare const AllocationView:
1276
- damlTypes.Serializable<AllocationView>
1277
-
1183
+ allocation: AllocationSpecification;
1184
+ holdingCids: damlTypes.ContractId<Holding>[];
1185
+ meta: Metadata;
1186
+ };
1187
+ declare const AllocationView: damlTypes.Serializable<AllocationView>;
1278
1188
  declare type Allocation_Cancel = {
1279
- extraArgs: ExtraArgs,
1280
- }
1281
-
1282
- declare const Allocation_Cancel:
1283
- damlTypes.Serializable<Allocation_Cancel>
1284
-
1189
+ extraArgs: ExtraArgs;
1190
+ };
1191
+ declare const Allocation_Cancel: damlTypes.Serializable<Allocation_Cancel>;
1285
1192
  declare type Allocation_CancelResult = {
1286
- senderHoldingCids: damlTypes.ContractId<Holding>[],
1287
- meta: Metadata,
1288
- }
1289
-
1290
- declare const Allocation_CancelResult:
1291
- damlTypes.Serializable<Allocation_CancelResult>
1292
-
1193
+ senderHoldingCids: damlTypes.ContractId<Holding>[];
1194
+ meta: Metadata;
1195
+ };
1196
+ declare const Allocation_CancelResult: damlTypes.Serializable<Allocation_CancelResult>;
1293
1197
  declare type Allocation_ExecuteTransfer = {
1294
- extraArgs: ExtraArgs,
1295
- }
1296
-
1297
- declare const Allocation_ExecuteTransfer:
1298
- damlTypes.Serializable<Allocation_ExecuteTransfer>
1299
-
1198
+ extraArgs: ExtraArgs;
1199
+ };
1200
+ declare const Allocation_ExecuteTransfer: damlTypes.Serializable<Allocation_ExecuteTransfer>;
1300
1201
  declare type Allocation_ExecuteTransferResult = {
1301
- senderHoldingCids: damlTypes.ContractId<Holding>[],
1302
- receiverHoldingCids: damlTypes.ContractId<Holding>[],
1303
- meta: Metadata,
1304
- }
1305
-
1306
- declare const Allocation_ExecuteTransferResult:
1307
- damlTypes.Serializable<Allocation_ExecuteTransferResult>
1308
-
1202
+ senderHoldingCids: damlTypes.ContractId<Holding>[];
1203
+ receiverHoldingCids: damlTypes.ContractId<Holding>[];
1204
+ meta: Metadata;
1205
+ };
1206
+ declare const Allocation_ExecuteTransferResult: damlTypes.Serializable<Allocation_ExecuteTransferResult>;
1309
1207
  declare type Allocation_Withdraw = {
1310
- extraArgs: ExtraArgs,
1311
- }
1312
-
1313
- declare const Allocation_Withdraw:
1314
- damlTypes.Serializable<Allocation_Withdraw>
1315
-
1208
+ extraArgs: ExtraArgs;
1209
+ };
1210
+ declare const Allocation_Withdraw: damlTypes.Serializable<Allocation_Withdraw>;
1316
1211
  declare type Allocation_WithdrawResult = {
1317
- senderHoldingCids: damlTypes.ContractId<Holding>[],
1318
- meta: Metadata,
1319
- }
1320
-
1321
- declare const Allocation_WithdrawResult:
1322
- damlTypes.Serializable<Allocation_WithdrawResult>
1323
-
1212
+ senderHoldingCids: damlTypes.ContractId<Holding>[];
1213
+ meta: Metadata;
1214
+ };
1215
+ declare const Allocation_WithdrawResult: damlTypes.Serializable<Allocation_WithdrawResult>;
1324
1216
  declare type Reference = {
1325
- id: string,
1326
- cid: damlTypes.Optional<damlTypes.ContractId<AnyContract>>,
1327
- }
1328
-
1329
- declare const Reference:
1330
- damlTypes.Serializable<Reference>
1331
-
1217
+ id: string;
1218
+ cid: damlTypes.Optional<damlTypes.ContractId<AnyContract>>;
1219
+ };
1220
+ declare const Reference: damlTypes.Serializable<Reference>;
1332
1221
  declare type SettlementInfo = {
1333
- executor: damlTypes.Party,
1334
- settlementRef: Reference,
1335
- requestedAt: damlTypes.Time,
1336
- allocateBefore: damlTypes.Time,
1337
- settleBefore: damlTypes.Time,
1338
- meta: Metadata,
1339
- }
1340
-
1341
- declare const SettlementInfo:
1342
- damlTypes.Serializable<SettlementInfo>
1343
-
1222
+ executor: damlTypes.Party;
1223
+ settlementRef: Reference;
1224
+ requestedAt: damlTypes.Time;
1225
+ allocateBefore: damlTypes.Time;
1226
+ settleBefore: damlTypes.Time;
1227
+ meta: Metadata;
1228
+ };
1229
+ declare const SettlementInfo: damlTypes.Serializable<SettlementInfo>;
1344
1230
  declare type TransferLeg = {
1345
- sender: damlTypes.Party,
1346
- receiver: damlTypes.Party,
1347
- amount: damlTypes.Numeric,
1348
- instrumentId: InstrumentId,
1349
- meta: Metadata,
1350
- }
1351
-
1352
- declare const TransferLeg:
1353
- damlTypes.Serializable<TransferLeg>
1354
-
1355
- declare const module_d$3_Allocation: typeof Allocation;
1356
- type module_d$3_AllocationInterface = AllocationInterface;
1357
- declare const module_d$3_AllocationSpecification: typeof AllocationSpecification;
1358
- declare const module_d$3_AllocationView: typeof AllocationView;
1359
- declare const module_d$3_Allocation_Cancel: typeof Allocation_Cancel;
1360
- declare const module_d$3_Allocation_CancelResult: typeof Allocation_CancelResult;
1361
- declare const module_d$3_Allocation_ExecuteTransfer: typeof Allocation_ExecuteTransfer;
1362
- declare const module_d$3_Allocation_ExecuteTransferResult: typeof Allocation_ExecuteTransferResult;
1363
- declare const module_d$3_Allocation_Withdraw: typeof Allocation_Withdraw;
1364
- declare const module_d$3_Allocation_WithdrawResult: typeof Allocation_WithdrawResult;
1365
- declare const module_d$3_Reference: typeof Reference;
1366
- declare const module_d$3_SettlementInfo: typeof SettlementInfo;
1367
- declare const module_d$3_TransferLeg: typeof TransferLeg;
1368
- declare namespace module_d$3 {
1369
- export { module_d$3_Allocation as Allocation, module_d$3_AllocationSpecification as AllocationSpecification, module_d$3_AllocationView as AllocationView, module_d$3_Allocation_Cancel as Allocation_Cancel, module_d$3_Allocation_CancelResult as Allocation_CancelResult, module_d$3_Allocation_ExecuteTransfer as Allocation_ExecuteTransfer, module_d$3_Allocation_ExecuteTransferResult as Allocation_ExecuteTransferResult, module_d$3_Allocation_Withdraw as Allocation_Withdraw, module_d$3_Allocation_WithdrawResult as Allocation_WithdrawResult, module_d$3_Reference as Reference, module_d$3_SettlementInfo as SettlementInfo, module_d$3_TransferLeg as TransferLeg };
1370
- export type { module_d$3_AllocationInterface as AllocationInterface };
1231
+ sender: damlTypes.Party;
1232
+ receiver: damlTypes.Party;
1233
+ amount: damlTypes.Numeric;
1234
+ instrumentId: InstrumentId;
1235
+ meta: Metadata;
1236
+ };
1237
+ declare const TransferLeg: damlTypes.Serializable<TransferLeg>;
1238
+ declare namespace module_d_exports$2 {
1239
+ export { AllocationFactory, AllocationFactoryInterface, AllocationFactoryView, AllocationFactory_Allocate, AllocationFactory_PublicFetch, AllocationInstruction, AllocationInstructionInterface, AllocationInstructionResult, AllocationInstructionResult_Output, AllocationInstructionView, AllocationInstruction_Update, AllocationInstruction_Withdraw };
1371
1240
  }
1372
-
1373
- // Generated from ../../../../Splice/Api/Token/AllocationInstructionV1/module.daml
1374
-
1375
-
1241
+ export declare type AllocationFactory = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView;
1376
1242
  declare interface AllocationFactoryInterface {
1377
- AllocationFactory_Allocate:
1378
- damlTypes.Choice<AllocationFactory, AllocationFactory_Allocate, AllocationInstructionResult, undefined> &
1379
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1380
- AllocationFactory_PublicFetch:
1381
- damlTypes.Choice<AllocationFactory, AllocationFactory_PublicFetch, AllocationFactoryView, undefined> &
1382
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1383
- Archive:
1384
- damlTypes.Choice<AllocationFactory, Archive, {}, undefined> &
1385
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1243
+ AllocationFactory_Allocate: damlTypes.Choice<AllocationFactory, AllocationFactory_Allocate, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1244
+ AllocationFactory_PublicFetch: damlTypes.Choice<AllocationFactory, AllocationFactory_PublicFetch, AllocationFactoryView, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1245
+ Archive: damlTypes.Choice<AllocationFactory, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
1386
1246
  }
1387
-
1388
- declare type AllocationFactory = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView
1389
- declare const AllocationFactory:
1390
- damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> &
1391
- damlTypes.FromTemplate<AllocationFactory, unknown> &
1392
- AllocationFactoryInterface
1247
+ export declare const AllocationFactory: damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & damlTypes.FromTemplate<AllocationFactory, unknown> & AllocationFactoryInterface;
1248
+ export declare type AllocationInstruction = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView;
1393
1249
  declare interface AllocationInstructionInterface {
1394
- AllocationInstruction_Update:
1395
- damlTypes.Choice<AllocationInstruction, AllocationInstruction_Update, AllocationInstructionResult, undefined> &
1396
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1397
- AllocationInstruction_Withdraw:
1398
- damlTypes.Choice<AllocationInstruction, AllocationInstruction_Withdraw, AllocationInstructionResult, undefined> &
1399
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1400
- Archive:
1401
- damlTypes.Choice<AllocationInstruction, Archive, {}, undefined> &
1402
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1250
+ AllocationInstruction_Update: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Update, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1251
+ AllocationInstruction_Withdraw: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Withdraw, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1252
+ Archive: damlTypes.Choice<AllocationInstruction, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
1403
1253
  }
1404
-
1405
- declare type AllocationInstruction = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView
1406
- declare const AllocationInstruction:
1407
- damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> &
1408
- damlTypes.FromTemplate<AllocationInstruction, unknown> &
1409
- AllocationInstructionInterface
1410
-
1254
+ export declare const AllocationInstruction: damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & damlTypes.FromTemplate<AllocationInstruction, unknown> & AllocationInstructionInterface;
1411
1255
  declare type AllocationFactoryView = {
1412
- admin: damlTypes.Party,
1413
- meta: Metadata,
1414
- }
1415
-
1416
- declare const AllocationFactoryView:
1417
- damlTypes.Serializable<AllocationFactoryView>
1418
-
1256
+ admin: damlTypes.Party;
1257
+ meta: Metadata;
1258
+ };
1259
+ declare const AllocationFactoryView: damlTypes.Serializable<AllocationFactoryView>;
1419
1260
  declare type AllocationFactory_Allocate = {
1420
- expectedAdmin: damlTypes.Party,
1421
- allocation: AllocationSpecification,
1422
- requestedAt: damlTypes.Time,
1423
- inputHoldingCids: damlTypes.ContractId<Holding>[],
1424
- extraArgs: ExtraArgs,
1425
- }
1426
-
1427
- declare const AllocationFactory_Allocate:
1428
- damlTypes.Serializable<AllocationFactory_Allocate>
1429
-
1261
+ expectedAdmin: damlTypes.Party;
1262
+ allocation: AllocationSpecification;
1263
+ requestedAt: damlTypes.Time;
1264
+ inputHoldingCids: damlTypes.ContractId<Holding>[];
1265
+ extraArgs: ExtraArgs;
1266
+ };
1267
+ declare const AllocationFactory_Allocate: damlTypes.Serializable<AllocationFactory_Allocate>;
1430
1268
  declare type AllocationFactory_PublicFetch = {
1431
- expectedAdmin: damlTypes.Party,
1432
- actor: damlTypes.Party,
1433
- }
1434
-
1435
- declare const AllocationFactory_PublicFetch:
1436
- damlTypes.Serializable<AllocationFactory_PublicFetch>
1437
-
1269
+ expectedAdmin: damlTypes.Party;
1270
+ actor: damlTypes.Party;
1271
+ };
1272
+ declare const AllocationFactory_PublicFetch: damlTypes.Serializable<AllocationFactory_PublicFetch>;
1438
1273
  declare type AllocationInstructionResult = {
1439
- output: AllocationInstructionResult_Output,
1440
- senderChangeCids: damlTypes.ContractId<Holding>[],
1441
- meta: Metadata,
1442
- }
1443
-
1444
- declare const AllocationInstructionResult:
1445
- damlTypes.Serializable<AllocationInstructionResult>
1446
-
1447
- declare type AllocationInstructionResult_Output =
1448
- | { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending }
1449
- | { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed }
1450
- | { tag: 'AllocationInstructionResult_Failed'; value: {} }
1451
-
1452
-
1453
- declare const AllocationInstructionResult_Output:
1454
- damlTypes.Serializable<AllocationInstructionResult_Output> & {
1455
- AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>;
1456
- AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>;
1457
- }
1458
-
1274
+ output: AllocationInstructionResult_Output;
1275
+ senderChangeCids: damlTypes.ContractId<Holding>[];
1276
+ meta: Metadata;
1277
+ };
1278
+ declare const AllocationInstructionResult: damlTypes.Serializable<AllocationInstructionResult>;
1279
+ declare type AllocationInstructionResult_Output = {
1280
+ tag: 'AllocationInstructionResult_Pending';
1281
+ value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending;
1282
+ } | {
1283
+ tag: 'AllocationInstructionResult_Completed';
1284
+ value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed;
1285
+ } | {
1286
+ tag: 'AllocationInstructionResult_Failed';
1287
+ value: {};
1288
+ };
1289
+ declare const AllocationInstructionResult_Output: damlTypes.Serializable<AllocationInstructionResult_Output> & {
1290
+ AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>;
1291
+ AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>;
1292
+ };
1459
1293
  declare namespace AllocationInstructionResult_Output {
1460
1294
  type AllocationInstructionResult_Completed = {
1461
- allocationCid: damlTypes.ContractId<Allocation>,
1462
- }
1295
+ allocationCid: damlTypes.ContractId<Allocation>;
1296
+ };
1463
1297
  type AllocationInstructionResult_Pending = {
1464
- allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>,
1465
- }
1298
+ allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>;
1299
+ };
1466
1300
  }
1467
-
1468
1301
  declare type AllocationInstructionView = {
1469
- originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>,
1470
- allocation: AllocationSpecification,
1471
- pendingActions: damlTypes.Map<damlTypes.Party, string>,
1472
- requestedAt: damlTypes.Time,
1473
- inputHoldingCids: damlTypes.ContractId<Holding>[],
1474
- meta: Metadata,
1475
- }
1476
-
1477
- declare const AllocationInstructionView:
1478
- damlTypes.Serializable<AllocationInstructionView>
1479
-
1302
+ originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>;
1303
+ allocation: AllocationSpecification;
1304
+ pendingActions: damlTypes.Map<damlTypes.Party, string>;
1305
+ requestedAt: damlTypes.Time;
1306
+ inputHoldingCids: damlTypes.ContractId<Holding>[];
1307
+ meta: Metadata;
1308
+ };
1309
+ declare const AllocationInstructionView: damlTypes.Serializable<AllocationInstructionView>;
1480
1310
  declare type AllocationInstruction_Update = {
1481
- extraActors: damlTypes.Party[],
1482
- extraArgs: ExtraArgs,
1483
- }
1484
-
1485
- declare const AllocationInstruction_Update:
1486
- damlTypes.Serializable<AllocationInstruction_Update>
1487
-
1311
+ extraActors: damlTypes.Party[];
1312
+ extraArgs: ExtraArgs;
1313
+ };
1314
+ declare const AllocationInstruction_Update: damlTypes.Serializable<AllocationInstruction_Update>;
1488
1315
  declare type AllocationInstruction_Withdraw = {
1489
- extraArgs: ExtraArgs,
1490
- }
1491
-
1492
- declare const AllocationInstruction_Withdraw:
1493
- damlTypes.Serializable<AllocationInstruction_Withdraw>
1494
-
1495
- declare const module_d$2_AllocationFactory: typeof AllocationFactory;
1496
- type module_d$2_AllocationFactoryInterface = AllocationFactoryInterface;
1497
- declare const module_d$2_AllocationFactoryView: typeof AllocationFactoryView;
1498
- declare const module_d$2_AllocationFactory_Allocate: typeof AllocationFactory_Allocate;
1499
- declare const module_d$2_AllocationFactory_PublicFetch: typeof AllocationFactory_PublicFetch;
1500
- declare const module_d$2_AllocationInstruction: typeof AllocationInstruction;
1501
- type module_d$2_AllocationInstructionInterface = AllocationInstructionInterface;
1502
- declare const module_d$2_AllocationInstructionResult: typeof AllocationInstructionResult;
1503
- import module_d$2_AllocationInstructionResult_Output = AllocationInstructionResult_Output;
1504
- declare const module_d$2_AllocationInstructionView: typeof AllocationInstructionView;
1505
- declare const module_d$2_AllocationInstruction_Update: typeof AllocationInstruction_Update;
1506
- declare const module_d$2_AllocationInstruction_Withdraw: typeof AllocationInstruction_Withdraw;
1507
- declare namespace module_d$2 {
1508
- export { module_d$2_AllocationFactory as AllocationFactory, module_d$2_AllocationFactoryView as AllocationFactoryView, module_d$2_AllocationFactory_Allocate as AllocationFactory_Allocate, module_d$2_AllocationFactory_PublicFetch as AllocationFactory_PublicFetch, module_d$2_AllocationInstruction as AllocationInstruction, module_d$2_AllocationInstructionResult as AllocationInstructionResult, module_d$2_AllocationInstructionResult_Output as AllocationInstructionResult_Output, module_d$2_AllocationInstructionView as AllocationInstructionView, module_d$2_AllocationInstruction_Update as AllocationInstruction_Update, module_d$2_AllocationInstruction_Withdraw as AllocationInstruction_Withdraw };
1509
- export type { module_d$2_AllocationFactoryInterface as AllocationFactoryInterface, module_d$2_AllocationInstructionInterface as AllocationInstructionInterface };
1316
+ extraArgs: ExtraArgs;
1317
+ };
1318
+ declare const AllocationInstruction_Withdraw: damlTypes.Serializable<AllocationInstruction_Withdraw>;
1319
+ declare namespace module_d_exports$1 {
1320
+ export { AllocationRequest, AllocationRequestInterface, AllocationRequestView, AllocationRequest_Reject, AllocationRequest_Withdraw };
1510
1321
  }
1511
-
1512
- // Generated from ../../../../Splice/Api/Token/AllocationRequestV1/module.daml
1513
-
1514
-
1322
+ declare type AllocationRequest = damlTypes.Interface<'#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> & AllocationRequestView;
1515
1323
  declare interface AllocationRequestInterface {
1516
- AllocationRequest_Reject:
1517
- damlTypes.Choice<AllocationRequest, AllocationRequest_Reject, ChoiceExecutionMetadata, undefined> &
1518
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1519
- AllocationRequest_Withdraw:
1520
- damlTypes.Choice<AllocationRequest, AllocationRequest_Withdraw, ChoiceExecutionMetadata, undefined> &
1521
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1522
- Archive:
1523
- damlTypes.Choice<AllocationRequest, Archive, {}, undefined> &
1524
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1324
+ AllocationRequest_Reject: damlTypes.Choice<AllocationRequest, AllocationRequest_Reject, ChoiceExecutionMetadata, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1325
+ AllocationRequest_Withdraw: damlTypes.Choice<AllocationRequest, AllocationRequest_Withdraw, ChoiceExecutionMetadata, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1326
+ Archive: damlTypes.Choice<AllocationRequest, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
1525
1327
  }
1526
-
1527
- declare type AllocationRequest = damlTypes.Interface<'#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> & AllocationRequestView
1528
- declare const AllocationRequest:
1529
- damlTypes.InterfaceCompanion<AllocationRequest, undefined, '#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> &
1530
- damlTypes.FromTemplate<AllocationRequest, unknown> &
1531
- AllocationRequestInterface
1532
-
1328
+ declare const AllocationRequest: damlTypes.InterfaceCompanion<AllocationRequest, undefined, '#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> & damlTypes.FromTemplate<AllocationRequest, unknown> & AllocationRequestInterface;
1533
1329
  declare type AllocationRequestView = {
1534
- settlement: SettlementInfo,
1535
- transferLegs: { [key: string]: TransferLeg },
1536
- meta: Metadata,
1537
- }
1538
-
1539
- declare const AllocationRequestView:
1540
- damlTypes.Serializable<AllocationRequestView>
1541
-
1330
+ settlement: SettlementInfo;
1331
+ transferLegs: {
1332
+ [key: string]: TransferLeg;
1333
+ };
1334
+ meta: Metadata;
1335
+ };
1336
+ declare const AllocationRequestView: damlTypes.Serializable<AllocationRequestView>;
1542
1337
  declare type AllocationRequest_Reject = {
1543
- actor: damlTypes.Party,
1544
- extraArgs: ExtraArgs,
1545
- }
1546
-
1547
- declare const AllocationRequest_Reject:
1548
- damlTypes.Serializable<AllocationRequest_Reject>
1549
-
1338
+ actor: damlTypes.Party;
1339
+ extraArgs: ExtraArgs;
1340
+ };
1341
+ declare const AllocationRequest_Reject: damlTypes.Serializable<AllocationRequest_Reject>;
1550
1342
  declare type AllocationRequest_Withdraw = {
1551
- extraArgs: ExtraArgs,
1552
- }
1553
-
1554
- declare const AllocationRequest_Withdraw:
1555
- damlTypes.Serializable<AllocationRequest_Withdraw>
1556
-
1557
- declare const module_d$1_AllocationRequest: typeof AllocationRequest;
1558
- type module_d$1_AllocationRequestInterface = AllocationRequestInterface;
1559
- declare const module_d$1_AllocationRequestView: typeof AllocationRequestView;
1560
- declare const module_d$1_AllocationRequest_Reject: typeof AllocationRequest_Reject;
1561
- declare const module_d$1_AllocationRequest_Withdraw: typeof AllocationRequest_Withdraw;
1562
- declare namespace module_d$1 {
1563
- export { module_d$1_AllocationRequest as AllocationRequest, module_d$1_AllocationRequestView as AllocationRequestView, module_d$1_AllocationRequest_Reject as AllocationRequest_Reject, module_d$1_AllocationRequest_Withdraw as AllocationRequest_Withdraw };
1564
- export type { module_d$1_AllocationRequestInterface as AllocationRequestInterface };
1343
+ extraArgs: ExtraArgs;
1344
+ };
1345
+ declare const AllocationRequest_Withdraw: damlTypes.Serializable<AllocationRequest_Withdraw>;
1346
+ declare namespace module_d_exports {
1347
+ export { Transfer, TransferFactory, TransferFactoryInterface, TransferFactoryView, TransferFactory_PublicFetch, TransferFactory_Transfer, TransferInstruction, TransferInstructionInterface, TransferInstructionResult, TransferInstructionResult_Output, TransferInstructionStatus, TransferInstructionView, TransferInstruction_Accept, TransferInstruction_Reject, TransferInstruction_Update, TransferInstruction_Withdraw };
1565
1348
  }
1566
-
1567
- // Generated from ../../../../Splice/Api/Token/TransferInstructionV1/module.daml
1568
-
1569
-
1349
+ export declare type TransferFactory = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> & TransferFactoryView;
1570
1350
  declare interface TransferFactoryInterface {
1571
- Archive:
1572
- damlTypes.Choice<TransferFactory, Archive, {}, undefined> &
1573
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1574
- TransferFactory_PublicFetch:
1575
- damlTypes.Choice<TransferFactory, TransferFactory_PublicFetch, TransferFactoryView, undefined> &
1576
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1577
- TransferFactory_Transfer:
1578
- damlTypes.Choice<TransferFactory, TransferFactory_Transfer, TransferInstructionResult, undefined> &
1579
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1351
+ Archive: damlTypes.Choice<TransferFactory, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1352
+ TransferFactory_PublicFetch: damlTypes.Choice<TransferFactory, TransferFactory_PublicFetch, TransferFactoryView, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1353
+ TransferFactory_Transfer: damlTypes.Choice<TransferFactory, TransferFactory_Transfer, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
1580
1354
  }
1581
-
1582
- declare type TransferFactory = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> & TransferFactoryView
1583
- declare const TransferFactory:
1584
- damlTypes.InterfaceCompanion<TransferFactory, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> &
1585
- damlTypes.FromTemplate<TransferFactory, unknown> &
1586
- TransferFactoryInterface
1355
+ export declare const TransferFactory: damlTypes.InterfaceCompanion<TransferFactory, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> & damlTypes.FromTemplate<TransferFactory, unknown> & TransferFactoryInterface;
1356
+ export declare type TransferInstruction = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & TransferInstructionView;
1587
1357
  declare interface TransferInstructionInterface {
1588
- Archive:
1589
- damlTypes.Choice<TransferInstruction, Archive, {}, undefined> &
1590
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1591
- TransferInstruction_Accept:
1592
- damlTypes.Choice<TransferInstruction, TransferInstruction_Accept, TransferInstructionResult, undefined> &
1593
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1594
- TransferInstruction_Reject:
1595
- damlTypes.Choice<TransferInstruction, TransferInstruction_Reject, TransferInstructionResult, undefined> &
1596
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1597
- TransferInstruction_Update:
1598
- damlTypes.Choice<TransferInstruction, TransferInstruction_Update, TransferInstructionResult, undefined> &
1599
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1600
- TransferInstruction_Withdraw:
1601
- damlTypes.Choice<TransferInstruction, TransferInstruction_Withdraw, TransferInstructionResult, undefined> &
1602
- damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1358
+ Archive: damlTypes.Choice<TransferInstruction, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1359
+ TransferInstruction_Accept: damlTypes.Choice<TransferInstruction, TransferInstruction_Accept, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1360
+ TransferInstruction_Reject: damlTypes.Choice<TransferInstruction, TransferInstruction_Reject, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1361
+ TransferInstruction_Update: damlTypes.Choice<TransferInstruction, TransferInstruction_Update, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1362
+ TransferInstruction_Withdraw: damlTypes.Choice<TransferInstruction, TransferInstruction_Withdraw, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
1603
1363
  }
1604
-
1605
- declare type TransferInstruction = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & TransferInstructionView
1606
- declare const TransferInstruction:
1607
- damlTypes.InterfaceCompanion<TransferInstruction, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> &
1608
- damlTypes.FromTemplate<TransferInstruction, unknown> &
1609
- TransferInstructionInterface
1610
-
1364
+ export declare const TransferInstruction: damlTypes.InterfaceCompanion<TransferInstruction, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & damlTypes.FromTemplate<TransferInstruction, unknown> & TransferInstructionInterface;
1611
1365
  declare type Transfer = {
1612
- sender: damlTypes.Party,
1613
- receiver: damlTypes.Party,
1614
- amount: damlTypes.Numeric,
1615
- instrumentId: InstrumentId,
1616
- requestedAt: damlTypes.Time,
1617
- executeBefore: damlTypes.Time,
1618
- inputHoldingCids: damlTypes.ContractId<Holding>[],
1619
- meta: Metadata,
1620
- }
1621
-
1622
- declare const Transfer:
1623
- damlTypes.Serializable<Transfer>
1624
-
1366
+ sender: damlTypes.Party;
1367
+ receiver: damlTypes.Party;
1368
+ amount: damlTypes.Numeric;
1369
+ instrumentId: InstrumentId;
1370
+ requestedAt: damlTypes.Time;
1371
+ executeBefore: damlTypes.Time;
1372
+ inputHoldingCids: damlTypes.ContractId<Holding>[];
1373
+ meta: Metadata;
1374
+ };
1375
+ declare const Transfer: damlTypes.Serializable<Transfer>;
1625
1376
  declare type TransferFactoryView = {
1626
- admin: damlTypes.Party,
1627
- meta: Metadata,
1628
- }
1629
-
1630
- declare const TransferFactoryView:
1631
- damlTypes.Serializable<TransferFactoryView>
1632
-
1377
+ admin: damlTypes.Party;
1378
+ meta: Metadata;
1379
+ };
1380
+ declare const TransferFactoryView: damlTypes.Serializable<TransferFactoryView>;
1633
1381
  declare type TransferFactory_PublicFetch = {
1634
- expectedAdmin: damlTypes.Party,
1635
- actor: damlTypes.Party,
1636
- }
1637
-
1638
- declare const TransferFactory_PublicFetch:
1639
- damlTypes.Serializable<TransferFactory_PublicFetch>
1640
-
1382
+ expectedAdmin: damlTypes.Party;
1383
+ actor: damlTypes.Party;
1384
+ };
1385
+ declare const TransferFactory_PublicFetch: damlTypes.Serializable<TransferFactory_PublicFetch>;
1641
1386
  declare type TransferFactory_Transfer = {
1642
- expectedAdmin: damlTypes.Party,
1643
- transfer: Transfer,
1644
- extraArgs: ExtraArgs,
1645
- }
1646
-
1647
- declare const TransferFactory_Transfer:
1648
- damlTypes.Serializable<TransferFactory_Transfer>
1649
-
1387
+ expectedAdmin: damlTypes.Party;
1388
+ transfer: Transfer;
1389
+ extraArgs: ExtraArgs;
1390
+ };
1391
+ declare const TransferFactory_Transfer: damlTypes.Serializable<TransferFactory_Transfer>;
1650
1392
  declare type TransferInstructionResult = {
1651
- output: TransferInstructionResult_Output,
1652
- senderChangeCids: damlTypes.ContractId<Holding>[],
1653
- meta: Metadata,
1654
- }
1655
-
1656
- declare const TransferInstructionResult:
1657
- damlTypes.Serializable<TransferInstructionResult>
1658
-
1659
- declare type TransferInstructionResult_Output =
1660
- | { tag: 'TransferInstructionResult_Pending'; value: TransferInstructionResult_Output.TransferInstructionResult_Pending }
1661
- | { tag: 'TransferInstructionResult_Completed'; value: TransferInstructionResult_Output.TransferInstructionResult_Completed }
1662
- | { tag: 'TransferInstructionResult_Failed'; value: {} }
1663
-
1664
-
1665
- declare const TransferInstructionResult_Output:
1666
- damlTypes.Serializable<TransferInstructionResult_Output> & {
1667
- TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>;
1668
- TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>;
1669
- }
1670
-
1393
+ output: TransferInstructionResult_Output;
1394
+ senderChangeCids: damlTypes.ContractId<Holding>[];
1395
+ meta: Metadata;
1396
+ };
1397
+ declare const TransferInstructionResult: damlTypes.Serializable<TransferInstructionResult>;
1398
+ declare type TransferInstructionResult_Output = {
1399
+ tag: 'TransferInstructionResult_Pending';
1400
+ value: TransferInstructionResult_Output.TransferInstructionResult_Pending;
1401
+ } | {
1402
+ tag: 'TransferInstructionResult_Completed';
1403
+ value: TransferInstructionResult_Output.TransferInstructionResult_Completed;
1404
+ } | {
1405
+ tag: 'TransferInstructionResult_Failed';
1406
+ value: {};
1407
+ };
1408
+ declare const TransferInstructionResult_Output: damlTypes.Serializable<TransferInstructionResult_Output> & {
1409
+ TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>;
1410
+ TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>;
1411
+ };
1671
1412
  declare namespace TransferInstructionResult_Output {
1672
1413
  type TransferInstructionResult_Completed = {
1673
- receiverHoldingCids: damlTypes.ContractId<Holding>[],
1674
- }
1414
+ receiverHoldingCids: damlTypes.ContractId<Holding>[];
1415
+ };
1675
1416
  type TransferInstructionResult_Pending = {
1676
- transferInstructionCid: damlTypes.ContractId<TransferInstruction>,
1677
- }
1417
+ transferInstructionCid: damlTypes.ContractId<TransferInstruction>;
1418
+ };
1678
1419
  }
1679
-
1680
- declare type TransferInstructionStatus =
1681
- | { tag: 'TransferPendingReceiverAcceptance'; value: {} }
1682
- | { tag: 'TransferPendingInternalWorkflow'; value: TransferInstructionStatus.TransferPendingInternalWorkflow }
1683
-
1684
-
1685
- declare const TransferInstructionStatus:
1686
- damlTypes.Serializable<TransferInstructionStatus> & {
1687
- TransferPendingInternalWorkflow: damlTypes.Serializable<TransferInstructionStatus.TransferPendingInternalWorkflow>;
1688
- }
1689
-
1420
+ declare type TransferInstructionStatus = {
1421
+ tag: 'TransferPendingReceiverAcceptance';
1422
+ value: {};
1423
+ } | {
1424
+ tag: 'TransferPendingInternalWorkflow';
1425
+ value: TransferInstructionStatus.TransferPendingInternalWorkflow;
1426
+ };
1427
+ declare const TransferInstructionStatus: damlTypes.Serializable<TransferInstructionStatus> & {
1428
+ TransferPendingInternalWorkflow: damlTypes.Serializable<TransferInstructionStatus.TransferPendingInternalWorkflow>;
1429
+ };
1690
1430
  declare namespace TransferInstructionStatus {
1691
1431
  type TransferPendingInternalWorkflow = {
1692
- pendingActions: damlTypes.Map<damlTypes.Party, string>,
1693
- }
1432
+ pendingActions: damlTypes.Map<damlTypes.Party, string>;
1433
+ };
1694
1434
  }
1695
-
1696
1435
  declare type TransferInstructionView = {
1697
- originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<TransferInstruction>>,
1698
- transfer: Transfer,
1699
- status: TransferInstructionStatus,
1700
- meta: Metadata,
1701
- }
1702
-
1703
- declare const TransferInstructionView:
1704
- damlTypes.Serializable<TransferInstructionView>
1705
-
1436
+ originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<TransferInstruction>>;
1437
+ transfer: Transfer;
1438
+ status: TransferInstructionStatus;
1439
+ meta: Metadata;
1440
+ };
1441
+ declare const TransferInstructionView: damlTypes.Serializable<TransferInstructionView>;
1706
1442
  declare type TransferInstruction_Accept = {
1707
- extraArgs: ExtraArgs,
1708
- }
1709
-
1710
- declare const TransferInstruction_Accept:
1711
- damlTypes.Serializable<TransferInstruction_Accept>
1712
-
1443
+ extraArgs: ExtraArgs;
1444
+ };
1445
+ declare const TransferInstruction_Accept: damlTypes.Serializable<TransferInstruction_Accept>;
1713
1446
  declare type TransferInstruction_Reject = {
1714
- extraArgs: ExtraArgs,
1715
- }
1716
-
1717
- declare const TransferInstruction_Reject:
1718
- damlTypes.Serializable<TransferInstruction_Reject>
1719
-
1447
+ extraArgs: ExtraArgs;
1448
+ };
1449
+ declare const TransferInstruction_Reject: damlTypes.Serializable<TransferInstruction_Reject>;
1720
1450
  declare type TransferInstruction_Update = {
1721
- extraActors: damlTypes.Party[],
1722
- extraArgs: ExtraArgs,
1723
- }
1724
-
1725
- declare const TransferInstruction_Update:
1726
- damlTypes.Serializable<TransferInstruction_Update>
1727
-
1451
+ extraActors: damlTypes.Party[];
1452
+ extraArgs: ExtraArgs;
1453
+ };
1454
+ declare const TransferInstruction_Update: damlTypes.Serializable<TransferInstruction_Update>;
1728
1455
  declare type TransferInstruction_Withdraw = {
1729
- extraArgs: ExtraArgs,
1730
- }
1731
-
1732
- declare const TransferInstruction_Withdraw:
1733
- damlTypes.Serializable<TransferInstruction_Withdraw>
1734
-
1735
- declare const module_d_Transfer: typeof Transfer;
1736
- declare const module_d_TransferFactory: typeof TransferFactory;
1737
- type module_d_TransferFactoryInterface = TransferFactoryInterface;
1738
- declare const module_d_TransferFactoryView: typeof TransferFactoryView;
1739
- declare const module_d_TransferFactory_PublicFetch: typeof TransferFactory_PublicFetch;
1740
- declare const module_d_TransferFactory_Transfer: typeof TransferFactory_Transfer;
1741
- declare const module_d_TransferInstruction: typeof TransferInstruction;
1742
- type module_d_TransferInstructionInterface = TransferInstructionInterface;
1743
- declare const module_d_TransferInstructionResult: typeof TransferInstructionResult;
1744
- import module_d_TransferInstructionResult_Output = TransferInstructionResult_Output;
1745
- import module_d_TransferInstructionStatus = TransferInstructionStatus;
1746
- declare const module_d_TransferInstructionView: typeof TransferInstructionView;
1747
- declare const module_d_TransferInstruction_Accept: typeof TransferInstruction_Accept;
1748
- declare const module_d_TransferInstruction_Reject: typeof TransferInstruction_Reject;
1749
- declare const module_d_TransferInstruction_Update: typeof TransferInstruction_Update;
1750
- declare const module_d_TransferInstruction_Withdraw: typeof TransferInstruction_Withdraw;
1751
- declare namespace module_d {
1752
- export { module_d_Transfer as Transfer, module_d_TransferFactory as TransferFactory, module_d_TransferFactoryView as TransferFactoryView, module_d_TransferFactory_PublicFetch as TransferFactory_PublicFetch, module_d_TransferFactory_Transfer as TransferFactory_Transfer, module_d_TransferInstruction as TransferInstruction, module_d_TransferInstructionResult as TransferInstructionResult, module_d_TransferInstructionResult_Output as TransferInstructionResult_Output, module_d_TransferInstructionStatus as TransferInstructionStatus, module_d_TransferInstructionView as TransferInstructionView, module_d_TransferInstruction_Accept as TransferInstruction_Accept, module_d_TransferInstruction_Reject as TransferInstruction_Reject, module_d_TransferInstruction_Update as TransferInstruction_Update, module_d_TransferInstruction_Withdraw as TransferInstruction_Withdraw };
1753
- export type { module_d_TransferFactoryInterface as TransferFactoryInterface, module_d_TransferInstructionInterface as TransferInstructionInterface };
1456
+ extraArgs: ExtraArgs;
1457
+ };
1458
+ declare const TransferInstruction_Withdraw: damlTypes.Serializable<TransferInstruction_Withdraw>;
1459
+ declare namespace index_d_exports$3 {
1460
+ export { module_d_exports$2 as AllocationInstructionV1, module_d_exports$1 as AllocationRequestV1, module_d_exports$3 as AllocationV1, module_d_exports$4 as HoldingV1, module_d_exports$5 as MetadataV1, module_d_exports as TransferInstructionV1 };
1754
1461
  }
1755
-
1756
- declare namespace index$3 {
1757
- export {
1758
- module_d$2 as AllocationInstructionV1,
1759
- module_d$1 as AllocationRequestV1,
1760
- module_d$3 as AllocationV1,
1761
- module_d$4 as HoldingV1,
1762
- module_d$5 as MetadataV1,
1763
- module_d as TransferInstructionV1,
1764
- };
1462
+ declare namespace index_d_exports$2 {
1463
+ export { index_d_exports$3 as Token };
1765
1464
  }
1766
-
1767
- declare namespace index$2 {
1768
- export {
1769
- index$3 as Token,
1770
- };
1465
+ declare namespace index_d_exports$1 {
1466
+ export { index_d_exports$2 as Api };
1771
1467
  }
1772
-
1773
- declare namespace index$1 {
1774
- export {
1775
- index$2 as Api,
1776
- };
1777
- }
1778
-
1779
1468
  /**
1780
1469
  * @deprecated ID of the former merged codegen package, which is not deployed on any ledger.
1781
1470
  * Each token standard interface lives in its own `splice-api-token-*` package.
1782
1471
  */
1783
- declare const packageId = "b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4";
1784
-
1785
- declare const TransferInstructionV1: typeof module_d;
1786
- declare const AllocationInstructionV1: typeof module_d$2;
1787
- declare const AllocationRequestV1: typeof module_d$1;
1788
- declare const AllocationV1: typeof module_d$3;
1789
- declare const HoldingV1: typeof module_d$4;
1790
- declare const MetadataV1: typeof module_d$5;
1791
-
1792
- type Beneficiaries = {
1793
- beneficiary: PartyId;
1794
- weight: number;
1472
+ export declare const packageId = "b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4";
1473
+ export declare const TransferInstructionV1: typeof module_d_exports;
1474
+ export declare const AllocationInstructionV1: typeof module_d_exports$2;
1475
+ export declare const AllocationRequestV1: typeof module_d_exports$1;
1476
+ export declare const AllocationV1: typeof module_d_exports$3;
1477
+ export declare const HoldingV1: typeof module_d_exports$4;
1478
+ export declare const MetadataV1: typeof module_d_exports$5;
1479
+ export type Beneficiaries = {
1480
+ beneficiary: PartyId;
1481
+ weight: number;
1795
1482
  };
1796
-
1797
- declare namespace index {
1798
- export {
1799
- allocationInstructionV1 as AllocationInstructionV1,
1800
- allocationV1 as AllocationV1,
1801
- tokenMetadataV1 as MetadataV1,
1802
- transferInstructionV1 as TransferInstructionV1,
1803
- };
1483
+ declare namespace index_d_exports {
1484
+ export { allocation_instruction_v1_d_exports as AllocationInstructionV1, allocation_v1_d_exports as AllocationV1, token_metadata_v1_d_exports as MetadataV1, transfer_instruction_v1_d_exports as TransferInstructionV1 };
1804
1485
  }
1805
-
1806
- export { ALLOCATION_FACTORY_INTERFACE_ID, ALLOCATION_INSTRUCTION_INTERFACE_ID, ALLOCATION_INTERFACE_ID, ALLOCATION_REQUEST_INTERFACE_ID, Allocation, AllocationFactory, AllocationFactoryView, AllocationFactory_Allocate, AllocationFactory_PublicFetch, AllocationInstruction, AllocationInstructionResult, AllocationInstructionResult_Output, AllocationInstructionV1, AllocationInstructionView, AllocationInstruction_Update, AllocationInstruction_Withdraw, AllocationRequest, AllocationRequestV1, AllocationRequestView, AllocationRequest_Reject, AllocationRequest_Withdraw, AllocationSpecification, AllocationV1, AllocationView, Allocation_Cancel, Allocation_CancelResult, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, Allocation_Withdraw, Allocation_WithdrawResult, AnyContract, AnyContractView, AnyValue, ChoiceContext, ChoiceExecutionMetadata, ExtraArgs, FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID, HOLDING_INTERFACE_ID, Holding, HoldingV1, HoldingView, InstrumentId, Lock, MERGE_DELEGATION_BATCH_MERGE_UTILITY, MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID, MERGE_DELEGATION_TEMPLATE_ID, METADATA_INTERFACE_ID, Metadata, MetadataV1, index as OffLedger, Reference, SettlementInfo, index$1 as Splice, TRANSFER_FACTORY_INTERFACE_ID, TRANSFER_INSTRUCTION_INTERFACE_ID, TokenStandardClient, Transfer, TransferFactory, TransferFactoryView, TransferFactory_PublicFetch, TransferFactory_Transfer, TransferInstruction, TransferInstructionResult, TransferInstructionResult_Output, TransferInstructionStatus, TransferInstructionV1, TransferInstructionView, TransferInstruction_Accept, TransferInstruction_Reject, TransferInstruction_Update, TransferInstruction_Withdraw, TransferLeg, packageId };
1807
- export type { AllocationFactoryInterface, AllocationInstructionInterface, AllocationInterface, AllocationRequestInterface, AnyContractInterface, Beneficiaries, GetResponse, HoldingInterface, PostRequest, PostResponse, TransferFactoryInterface, TransferInstructionInterface };
1486
+ export { type AllocationFactoryInterface, type AllocationFactoryView, type AllocationFactory_Allocate, type AllocationFactory_PublicFetch, type AllocationInstructionInterface, type AllocationInstructionResult, type AllocationInstructionResult_Output, type AllocationInstructionView, type AllocationInstruction_Update, type AllocationInstruction_Withdraw, type AllocationInterface, type AllocationRequest, type AllocationRequestInterface, type AllocationRequestView, type AllocationRequest_Reject, type AllocationRequest_Withdraw, type AllocationSpecification, type AllocationView, type Allocation_Cancel, type Allocation_CancelResult, type Allocation_ExecuteTransfer, type Allocation_ExecuteTransferResult, type Allocation_Withdraw, type Allocation_WithdrawResult, type AnyContract, type AnyContractInterface, type AnyContractView, type AnyValue, type ChoiceContext, type ChoiceExecutionMetadata, type ExtraArgs, type Holding, type HoldingInterface, type HoldingView, type InstrumentId, type Lock, type Metadata, index_d_exports as OffLedger, type Reference, type SettlementInfo, index_d_exports$1 as Splice, type Transfer, type TransferFactoryInterface, type TransferFactoryView, type TransferFactory_PublicFetch, type TransferFactory_Transfer, type TransferInstructionInterface, type TransferInstructionResult, type TransferInstructionResult_Output, type TransferInstructionStatus, type TransferInstructionView, type TransferInstruction_Accept, type TransferInstruction_Reject, type TransferInstruction_Update, type TransferInstruction_Withdraw, type TransferLeg };
1487
+ //# sourceMappingURL=index.d.ts.map