@cancore/contracts 0.2.0-rc.17 → 0.2.0-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -1330,10 +1330,12 @@ interface CantonOpSummary {
|
|
|
1330
1330
|
admin: string;
|
|
1331
1331
|
/** Instrument ids the preapproval is limited to; empty: every instrument of the admin. */
|
|
1332
1332
|
instrumentAllowances: string[];
|
|
1333
|
-
/** Unix s. */
|
|
1334
|
-
requestedAt: DecString;
|
|
1335
|
-
/** Unix s: the preapproval expires then; renew it before. */
|
|
1336
|
-
executeBefore: DecString;
|
|
1333
|
+
/** Unix s; null for a registry whose preapproval has no validity window (DA Utilities). */
|
|
1334
|
+
requestedAt: DecString | null;
|
|
1335
|
+
/** Unix s: the preapproval expires then; renew it before. null: it never lapses. */
|
|
1336
|
+
executeBefore: DecString | null;
|
|
1337
|
+
/** DA Utilities only: the registry operator the preapproval names. */
|
|
1338
|
+
operator?: string;
|
|
1337
1339
|
};
|
|
1338
1340
|
}
|
|
1339
1341
|
/** What the committed operation created, by op. */
|
|
@@ -1495,11 +1497,12 @@ interface PenaltyRecord {
|
|
|
1495
1497
|
}
|
|
1496
1498
|
type PenaltyList = Page<PenaltyRecord>;
|
|
1497
1499
|
/** A live transfer preapproval of the party with one registry (`preapproval.create`); `executeBefore` in unix s (the Daml Time cut to seconds). */
|
|
1500
|
+
/** `executeBefore` null: the registry's preapproval has no validity window (DA Utilities) and never lapses. */
|
|
1498
1501
|
interface CantonPreapproval {
|
|
1499
1502
|
admin: string;
|
|
1500
1503
|
contractId: string;
|
|
1501
1504
|
instrumentAllowances: string[];
|
|
1502
|
-
executeBefore: DecString;
|
|
1505
|
+
executeBefore: DecString | null;
|
|
1503
1506
|
}
|
|
1504
1507
|
/** `GET /v1/filler/canton/party`: the party registered for the fillerId and its `FillerRegistryEntry`. */
|
|
1505
1508
|
interface CantonParty {
|
package/dist/index.js
CHANGED
|
@@ -3302,8 +3302,9 @@ var messages_schema_default = {
|
|
|
3302
3302
|
party: { type: "string", minLength: 1, description: "the receiver: the filler's own party" },
|
|
3303
3303
|
admin: { type: "string", minLength: 1, description: "the registry's instrument admin, as asked" },
|
|
3304
3304
|
instrumentAllowances: { type: "array", maxItems: 10, items: { type: "string", minLength: 1 }, description: "instrument ids it is limited to; empty: every instrument of the admin" },
|
|
3305
|
-
requestedAt: { $ref: "#/$defs/timeS", description: "unix s: the Daml Time (microseconds) cut to whole seconds" },
|
|
3306
|
-
executeBefore: { $ref: "#/$defs/timeS", description: "unix s, cut likewise: the preapproval expires then" }
|
|
3305
|
+
requestedAt: { oneOf: [{ $ref: "#/$defs/timeS" }, { type: "null" }], description: "unix s: the Daml Time (microseconds) cut to whole seconds; null for a registry whose preapproval has no validity window (DA Utilities)" },
|
|
3306
|
+
executeBefore: { oneOf: [{ $ref: "#/$defs/timeS" }, { type: "null" }], description: "unix s, cut likewise: the preapproval expires then; null \u2014 it never lapses" },
|
|
3307
|
+
operator: { type: "string", minLength: 1, description: "DA Utilities only: the registry operator the preapproval names (its observer)" }
|
|
3307
3308
|
}
|
|
3308
3309
|
}
|
|
3309
3310
|
}
|
|
@@ -3727,7 +3728,10 @@ var rest_schema_default = {
|
|
|
3727
3728
|
admin: { type: "string", minLength: 1 },
|
|
3728
3729
|
contractId: { type: "string", minLength: 1 },
|
|
3729
3730
|
instrumentAllowances: { type: "array", maxItems: 10, items: { type: "string", minLength: 1 } },
|
|
3730
|
-
executeBefore: {
|
|
3731
|
+
executeBefore: {
|
|
3732
|
+
oneOf: [{ $ref: "messages.schema.json#/$defs/timeS" }, { type: "null" }],
|
|
3733
|
+
description: "unix s: the Daml Time (microseconds) cut to whole seconds; the preapproval expires then. null: the registry's preapproval has no validity window (DA Utilities) and never lapses"
|
|
3734
|
+
}
|
|
3731
3735
|
}
|
|
3732
3736
|
}
|
|
3733
3737
|
}
|