@ledgerhq/revault-sdk 0.13.1 → 0.17.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.
package/lib/bake.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Logger } from './index.cjs';
2
2
  import z from 'zod';
3
- import { E as Engine, f as WithWorkspace, o as RouterInputs, c as WithDevice, l as WithPsdAuth } from './types-DVIS-vF0.cjs';
3
+ import { E as Engine, f as WithWorkspace, o as RouterInputs, c as WithDevice, l as WithPsdAuth } from './types-BxfmwEOw.cjs';
4
4
  import { VaultRequestResponse } from '@ledgerhq/revault-api';
5
- import './types-CsvE9Mlb.cjs';
5
+ import './types-DJfbanPz.cjs';
6
6
  import '@trpc/client';
7
7
  import '@trpc/server';
8
8
 
@@ -12,6 +12,23 @@ type BakeOptions = {
12
12
  workspaceName?: string;
13
13
  rootAuthToken?: string;
14
14
  };
15
+ declare const zManifestApiUser: z.ZodObject<{
16
+ name: z.ZodString;
17
+ role: z.ZodDefault<z.ZodEnum<["ADMIN", "OPERATOR"]>>;
18
+ pubKey: z.ZodString;
19
+ viewAll: z.ZodBoolean;
20
+ }, "strip", z.ZodTypeAny, {
21
+ name: string;
22
+ role: "ADMIN" | "OPERATOR";
23
+ pubKey: string;
24
+ viewAll: boolean;
25
+ }, {
26
+ name: string;
27
+ pubKey: string;
28
+ viewAll: boolean;
29
+ role?: "ADMIN" | "OPERATOR" | undefined;
30
+ }>;
31
+ type ManifestApiUser = z.infer<typeof zManifestApiUser>;
15
32
  declare const zManifestGroup: z.ZodObject<{
16
33
  name: z.ZodString;
17
34
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -66,7 +83,7 @@ declare const zManifestWhitelist: z.ZodObject<{
66
83
  }>;
67
84
  type ManifestWhitelist = z.infer<typeof zManifestWhitelist>;
68
85
  declare const zManifestGovernanceRule: z.ZodObject<{
69
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
86
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
70
87
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
71
88
  quorum: z.ZodNumber;
72
89
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -87,7 +104,7 @@ declare const zManifestGovernanceRule: z.ZodObject<{
87
104
  group: string;
88
105
  }>]>, "many">;
89
106
  }, "strict", z.ZodTypeAny, {
90
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
107
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
91
108
  steps: ({
92
109
  members: number[];
93
110
  quorum: number;
@@ -96,7 +113,7 @@ declare const zManifestGovernanceRule: z.ZodObject<{
96
113
  group: string;
97
114
  })[];
98
115
  }, {
99
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
116
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
100
117
  steps: ({
101
118
  members: number[];
102
119
  quorum: number;
@@ -110,7 +127,7 @@ declare const zManifestPolicy: z.ZodObject<{
110
127
  name: z.ZodString;
111
128
  currency: z.ZodString;
112
129
  rules: z.ZodArray<z.ZodObject<{
113
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
130
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
114
131
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
115
132
  quorum: z.ZodNumber;
116
133
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -131,7 +148,7 @@ declare const zManifestPolicy: z.ZodObject<{
131
148
  group: string;
132
149
  }>]>, "many">;
133
150
  }, "strict", z.ZodTypeAny, {
134
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
151
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
135
152
  steps: ({
136
153
  members: number[];
137
154
  quorum: number;
@@ -140,7 +157,7 @@ declare const zManifestPolicy: z.ZodObject<{
140
157
  group: string;
141
158
  })[];
142
159
  }, {
143
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
160
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
144
161
  steps: ({
145
162
  members: number[];
146
163
  quorum: number;
@@ -153,7 +170,7 @@ declare const zManifestPolicy: z.ZodObject<{
153
170
  name: string;
154
171
  currency: string;
155
172
  rules: {
156
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
173
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
157
174
  steps: ({
158
175
  members: number[];
159
176
  quorum: number;
@@ -166,7 +183,7 @@ declare const zManifestPolicy: z.ZodObject<{
166
183
  name: string;
167
184
  currency: string;
168
185
  rules: {
169
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
186
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
170
187
  steps: ({
171
188
  members: number[];
172
189
  quorum: number;
@@ -180,11 +197,12 @@ type ManifestPolicy = z.infer<typeof zManifestPolicy>;
180
197
  declare const zManifestAccount: z.ZodObject<{
181
198
  name: z.ZodString;
182
199
  currency: z.ZodString;
200
+ index: z.ZodOptional<z.ZodNumber>;
183
201
  contractAddress: z.ZodOptional<z.ZodString>;
184
202
  governance: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
185
203
  type: z.ZodLiteral<"CLASSIC">;
186
204
  rules: z.ZodArray<z.ZodObject<{
187
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
205
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
188
206
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
189
207
  quorum: z.ZodNumber;
190
208
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -205,7 +223,7 @@ declare const zManifestAccount: z.ZodObject<{
205
223
  group: string;
206
224
  }>]>, "many">;
207
225
  }, "strict", z.ZodTypeAny, {
208
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
226
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
209
227
  steps: ({
210
228
  members: number[];
211
229
  quorum: number;
@@ -214,7 +232,7 @@ declare const zManifestAccount: z.ZodObject<{
214
232
  group: string;
215
233
  })[];
216
234
  }, {
217
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
235
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
218
236
  steps: ({
219
237
  members: number[];
220
238
  quorum: number;
@@ -226,7 +244,7 @@ declare const zManifestAccount: z.ZodObject<{
226
244
  }, "strict", z.ZodTypeAny, {
227
245
  type: "CLASSIC";
228
246
  rules: {
229
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
247
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
230
248
  steps: ({
231
249
  members: number[];
232
250
  quorum: number;
@@ -238,7 +256,7 @@ declare const zManifestAccount: z.ZodObject<{
238
256
  }, {
239
257
  type: "CLASSIC";
240
258
  rules: {
241
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
259
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
242
260
  steps: ({
243
261
  members: number[];
244
262
  quorum: number;
@@ -286,7 +304,7 @@ declare const zManifestAccount: z.ZodObject<{
286
304
  governance: {
287
305
  type: "CLASSIC";
288
306
  rules: {
289
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
307
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
290
308
  steps: ({
291
309
  members: number[];
292
310
  quorum: number;
@@ -304,6 +322,7 @@ declare const zManifestAccount: z.ZodObject<{
304
322
  }[];
305
323
  assetManager: string;
306
324
  };
325
+ index?: number | undefined;
307
326
  contractAddress?: string | undefined;
308
327
  }, {
309
328
  name: string;
@@ -311,7 +330,7 @@ declare const zManifestAccount: z.ZodObject<{
311
330
  governance: {
312
331
  type: "CLASSIC";
313
332
  rules: {
314
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
333
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
315
334
  steps: ({
316
335
  members: number[];
317
336
  quorum: number;
@@ -329,6 +348,7 @@ declare const zManifestAccount: z.ZodObject<{
329
348
  }[];
330
349
  assetManager: string;
331
350
  };
351
+ index?: number | undefined;
332
352
  contractAddress?: string | undefined;
333
353
  }>;
334
354
  type ManifestAccount = z.infer<typeof zManifestAccount>;
@@ -939,12 +959,40 @@ declare const zManifestWorkspace: z.ZodObject<{
939
959
  users: z.ZodOptional<z.ZodObject<{
940
960
  admins: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
941
961
  operators: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
962
+ api: z.ZodOptional<z.ZodArray<z.ZodObject<{
963
+ name: z.ZodString;
964
+ role: z.ZodDefault<z.ZodEnum<["ADMIN", "OPERATOR"]>>;
965
+ pubKey: z.ZodString;
966
+ viewAll: z.ZodBoolean;
967
+ }, "strip", z.ZodTypeAny, {
968
+ name: string;
969
+ role: "ADMIN" | "OPERATOR";
970
+ pubKey: string;
971
+ viewAll: boolean;
972
+ }, {
973
+ name: string;
974
+ pubKey: string;
975
+ viewAll: boolean;
976
+ role?: "ADMIN" | "OPERATOR" | undefined;
977
+ }>, "many">>;
942
978
  }, "strip", z.ZodTypeAny, {
943
979
  admins?: number[] | undefined;
944
980
  operators?: number[] | undefined;
981
+ api?: {
982
+ name: string;
983
+ role: "ADMIN" | "OPERATOR";
984
+ pubKey: string;
985
+ viewAll: boolean;
986
+ }[] | undefined;
945
987
  }, {
946
988
  admins?: number[] | undefined;
947
989
  operators?: number[] | undefined;
990
+ api?: {
991
+ name: string;
992
+ pubKey: string;
993
+ viewAll: boolean;
994
+ role?: "ADMIN" | "OPERATOR" | undefined;
995
+ }[] | undefined;
948
996
  }>>;
949
997
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
950
998
  name: z.ZodString;
@@ -1001,7 +1049,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1001
1049
  name: z.ZodString;
1002
1050
  currency: z.ZodString;
1003
1051
  rules: z.ZodArray<z.ZodObject<{
1004
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
1052
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
1005
1053
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1006
1054
  quorum: z.ZodNumber;
1007
1055
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -1022,7 +1070,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1022
1070
  group: string;
1023
1071
  }>]>, "many">;
1024
1072
  }, "strict", z.ZodTypeAny, {
1025
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1073
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1026
1074
  steps: ({
1027
1075
  members: number[];
1028
1076
  quorum: number;
@@ -1031,7 +1079,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1031
1079
  group: string;
1032
1080
  })[];
1033
1081
  }, {
1034
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1082
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1035
1083
  steps: ({
1036
1084
  members: number[];
1037
1085
  quorum: number;
@@ -1044,7 +1092,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1044
1092
  name: string;
1045
1093
  currency: string;
1046
1094
  rules: {
1047
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1095
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1048
1096
  steps: ({
1049
1097
  members: number[];
1050
1098
  quorum: number;
@@ -1057,7 +1105,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1057
1105
  name: string;
1058
1106
  currency: string;
1059
1107
  rules: {
1060
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1108
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1061
1109
  steps: ({
1062
1110
  members: number[];
1063
1111
  quorum: number;
@@ -1070,11 +1118,12 @@ declare const zManifestWorkspace: z.ZodObject<{
1070
1118
  accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1071
1119
  name: z.ZodString;
1072
1120
  currency: z.ZodString;
1121
+ index: z.ZodOptional<z.ZodNumber>;
1073
1122
  contractAddress: z.ZodOptional<z.ZodString>;
1074
1123
  governance: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1075
1124
  type: z.ZodLiteral<"CLASSIC">;
1076
1125
  rules: z.ZodArray<z.ZodObject<{
1077
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
1126
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
1078
1127
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1079
1128
  quorum: z.ZodNumber;
1080
1129
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -1095,7 +1144,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1095
1144
  group: string;
1096
1145
  }>]>, "many">;
1097
1146
  }, "strict", z.ZodTypeAny, {
1098
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1147
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1099
1148
  steps: ({
1100
1149
  members: number[];
1101
1150
  quorum: number;
@@ -1104,7 +1153,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1104
1153
  group: string;
1105
1154
  })[];
1106
1155
  }, {
1107
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1156
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1108
1157
  steps: ({
1109
1158
  members: number[];
1110
1159
  quorum: number;
@@ -1116,7 +1165,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1116
1165
  }, "strict", z.ZodTypeAny, {
1117
1166
  type: "CLASSIC";
1118
1167
  rules: {
1119
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1168
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1120
1169
  steps: ({
1121
1170
  members: number[];
1122
1171
  quorum: number;
@@ -1128,7 +1177,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1128
1177
  }, {
1129
1178
  type: "CLASSIC";
1130
1179
  rules: {
1131
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1180
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1132
1181
  steps: ({
1133
1182
  members: number[];
1134
1183
  quorum: number;
@@ -1176,7 +1225,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1176
1225
  governance: {
1177
1226
  type: "CLASSIC";
1178
1227
  rules: {
1179
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1228
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1180
1229
  steps: ({
1181
1230
  members: number[];
1182
1231
  quorum: number;
@@ -1194,6 +1243,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1194
1243
  }[];
1195
1244
  assetManager: string;
1196
1245
  };
1246
+ index?: number | undefined;
1197
1247
  contractAddress?: string | undefined;
1198
1248
  }, {
1199
1249
  name: string;
@@ -1201,7 +1251,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1201
1251
  governance: {
1202
1252
  type: "CLASSIC";
1203
1253
  rules: {
1204
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1254
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1205
1255
  steps: ({
1206
1256
  members: number[];
1207
1257
  quorum: number;
@@ -1219,6 +1269,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1219
1269
  }[];
1220
1270
  assetManager: string;
1221
1271
  };
1272
+ index?: number | undefined;
1222
1273
  contractAddress?: string | undefined;
1223
1274
  }>, "many">>;
1224
1275
  pledges: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1287,6 +1338,12 @@ declare const zManifestWorkspace: z.ZodObject<{
1287
1338
  users?: {
1288
1339
  admins?: number[] | undefined;
1289
1340
  operators?: number[] | undefined;
1341
+ api?: {
1342
+ name: string;
1343
+ role: "ADMIN" | "OPERATOR";
1344
+ pubKey: string;
1345
+ viewAll: boolean;
1346
+ }[] | undefined;
1290
1347
  } | undefined;
1291
1348
  whitelists?: {
1292
1349
  type: "TRANSACTION" | "SMART_CONTRACT";
@@ -1303,7 +1360,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1303
1360
  name: string;
1304
1361
  currency: string;
1305
1362
  rules: {
1306
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1363
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1307
1364
  steps: ({
1308
1365
  members: number[];
1309
1366
  quorum: number;
@@ -1319,7 +1376,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1319
1376
  governance: {
1320
1377
  type: "CLASSIC";
1321
1378
  rules: {
1322
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1379
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1323
1380
  steps: ({
1324
1381
  members: number[];
1325
1382
  quorum: number;
@@ -1337,6 +1394,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1337
1394
  }[];
1338
1395
  assetManager: string;
1339
1396
  };
1397
+ index?: number | undefined;
1340
1398
  contractAddress?: string | undefined;
1341
1399
  }[] | undefined;
1342
1400
  pledges?: {
@@ -1397,6 +1455,12 @@ declare const zManifestWorkspace: z.ZodObject<{
1397
1455
  users?: {
1398
1456
  admins?: number[] | undefined;
1399
1457
  operators?: number[] | undefined;
1458
+ api?: {
1459
+ name: string;
1460
+ pubKey: string;
1461
+ viewAll: boolean;
1462
+ role?: "ADMIN" | "OPERATOR" | undefined;
1463
+ }[] | undefined;
1400
1464
  } | undefined;
1401
1465
  whitelists?: {
1402
1466
  name: string;
@@ -1413,7 +1477,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1413
1477
  name: string;
1414
1478
  currency: string;
1415
1479
  rules: {
1416
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1480
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1417
1481
  steps: ({
1418
1482
  members: number[];
1419
1483
  quorum: number;
@@ -1429,7 +1493,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1429
1493
  governance: {
1430
1494
  type: "CLASSIC";
1431
1495
  rules: {
1432
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
1496
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1433
1497
  steps: ({
1434
1498
  members: number[];
1435
1499
  quorum: number;
@@ -1447,6 +1511,7 @@ declare const zManifestWorkspace: z.ZodObject<{
1447
1511
  }[];
1448
1512
  assetManager: string;
1449
1513
  };
1514
+ index?: number | undefined;
1450
1515
  contractAddress?: string | undefined;
1451
1516
  }[] | undefined;
1452
1517
  pledges?: {
@@ -1866,12 +1931,40 @@ declare const zManifest: z.ZodObject<{
1866
1931
  users: z.ZodOptional<z.ZodObject<{
1867
1932
  admins: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1868
1933
  operators: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1934
+ api: z.ZodOptional<z.ZodArray<z.ZodObject<{
1935
+ name: z.ZodString;
1936
+ role: z.ZodDefault<z.ZodEnum<["ADMIN", "OPERATOR"]>>;
1937
+ pubKey: z.ZodString;
1938
+ viewAll: z.ZodBoolean;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ name: string;
1941
+ role: "ADMIN" | "OPERATOR";
1942
+ pubKey: string;
1943
+ viewAll: boolean;
1944
+ }, {
1945
+ name: string;
1946
+ pubKey: string;
1947
+ viewAll: boolean;
1948
+ role?: "ADMIN" | "OPERATOR" | undefined;
1949
+ }>, "many">>;
1869
1950
  }, "strip", z.ZodTypeAny, {
1870
1951
  admins?: number[] | undefined;
1871
1952
  operators?: number[] | undefined;
1953
+ api?: {
1954
+ name: string;
1955
+ role: "ADMIN" | "OPERATOR";
1956
+ pubKey: string;
1957
+ viewAll: boolean;
1958
+ }[] | undefined;
1872
1959
  }, {
1873
1960
  admins?: number[] | undefined;
1874
1961
  operators?: number[] | undefined;
1962
+ api?: {
1963
+ name: string;
1964
+ pubKey: string;
1965
+ viewAll: boolean;
1966
+ role?: "ADMIN" | "OPERATOR" | undefined;
1967
+ }[] | undefined;
1875
1968
  }>>;
1876
1969
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
1877
1970
  name: z.ZodString;
@@ -1928,7 +2021,7 @@ declare const zManifest: z.ZodObject<{
1928
2021
  name: z.ZodString;
1929
2022
  currency: z.ZodString;
1930
2023
  rules: z.ZodArray<z.ZodObject<{
1931
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
2024
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
1932
2025
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1933
2026
  quorum: z.ZodNumber;
1934
2027
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -1949,7 +2042,7 @@ declare const zManifest: z.ZodObject<{
1949
2042
  group: string;
1950
2043
  }>]>, "many">;
1951
2044
  }, "strict", z.ZodTypeAny, {
1952
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2045
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1953
2046
  steps: ({
1954
2047
  members: number[];
1955
2048
  quorum: number;
@@ -1958,7 +2051,7 @@ declare const zManifest: z.ZodObject<{
1958
2051
  group: string;
1959
2052
  })[];
1960
2053
  }, {
1961
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2054
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1962
2055
  steps: ({
1963
2056
  members: number[];
1964
2057
  quorum: number;
@@ -1971,7 +2064,7 @@ declare const zManifest: z.ZodObject<{
1971
2064
  name: string;
1972
2065
  currency: string;
1973
2066
  rules: {
1974
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2067
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1975
2068
  steps: ({
1976
2069
  members: number[];
1977
2070
  quorum: number;
@@ -1984,7 +2077,7 @@ declare const zManifest: z.ZodObject<{
1984
2077
  name: string;
1985
2078
  currency: string;
1986
2079
  rules: {
1987
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2080
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
1988
2081
  steps: ({
1989
2082
  members: number[];
1990
2083
  quorum: number;
@@ -1997,11 +2090,12 @@ declare const zManifest: z.ZodObject<{
1997
2090
  accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1998
2091
  name: z.ZodString;
1999
2092
  currency: z.ZodString;
2093
+ index: z.ZodOptional<z.ZodNumber>;
2000
2094
  contractAddress: z.ZodOptional<z.ZodString>;
2001
2095
  governance: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2002
2096
  type: z.ZodLiteral<"CLASSIC">;
2003
2097
  rules: z.ZodArray<z.ZodObject<{
2004
- type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE"]>;
2098
+ type: z.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_MESSAGE"]>;
2005
2099
  steps: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2006
2100
  quorum: z.ZodNumber;
2007
2101
  members: z.ZodArray<z.ZodNumber, "many">;
@@ -2022,7 +2116,7 @@ declare const zManifest: z.ZodObject<{
2022
2116
  group: string;
2023
2117
  }>]>, "many">;
2024
2118
  }, "strict", z.ZodTypeAny, {
2025
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2119
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2026
2120
  steps: ({
2027
2121
  members: number[];
2028
2122
  quorum: number;
@@ -2031,7 +2125,7 @@ declare const zManifest: z.ZodObject<{
2031
2125
  group: string;
2032
2126
  })[];
2033
2127
  }, {
2034
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2128
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2035
2129
  steps: ({
2036
2130
  members: number[];
2037
2131
  quorum: number;
@@ -2043,7 +2137,7 @@ declare const zManifest: z.ZodObject<{
2043
2137
  }, "strict", z.ZodTypeAny, {
2044
2138
  type: "CLASSIC";
2045
2139
  rules: {
2046
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2140
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2047
2141
  steps: ({
2048
2142
  members: number[];
2049
2143
  quorum: number;
@@ -2055,7 +2149,7 @@ declare const zManifest: z.ZodObject<{
2055
2149
  }, {
2056
2150
  type: "CLASSIC";
2057
2151
  rules: {
2058
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2152
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2059
2153
  steps: ({
2060
2154
  members: number[];
2061
2155
  quorum: number;
@@ -2103,7 +2197,7 @@ declare const zManifest: z.ZodObject<{
2103
2197
  governance: {
2104
2198
  type: "CLASSIC";
2105
2199
  rules: {
2106
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2200
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2107
2201
  steps: ({
2108
2202
  members: number[];
2109
2203
  quorum: number;
@@ -2121,6 +2215,7 @@ declare const zManifest: z.ZodObject<{
2121
2215
  }[];
2122
2216
  assetManager: string;
2123
2217
  };
2218
+ index?: number | undefined;
2124
2219
  contractAddress?: string | undefined;
2125
2220
  }, {
2126
2221
  name: string;
@@ -2128,7 +2223,7 @@ declare const zManifest: z.ZodObject<{
2128
2223
  governance: {
2129
2224
  type: "CLASSIC";
2130
2225
  rules: {
2131
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2226
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2132
2227
  steps: ({
2133
2228
  members: number[];
2134
2229
  quorum: number;
@@ -2146,6 +2241,7 @@ declare const zManifest: z.ZodObject<{
2146
2241
  }[];
2147
2242
  assetManager: string;
2148
2243
  };
2244
+ index?: number | undefined;
2149
2245
  contractAddress?: string | undefined;
2150
2246
  }>, "many">>;
2151
2247
  pledges: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2214,6 +2310,12 @@ declare const zManifest: z.ZodObject<{
2214
2310
  users?: {
2215
2311
  admins?: number[] | undefined;
2216
2312
  operators?: number[] | undefined;
2313
+ api?: {
2314
+ name: string;
2315
+ role: "ADMIN" | "OPERATOR";
2316
+ pubKey: string;
2317
+ viewAll: boolean;
2318
+ }[] | undefined;
2217
2319
  } | undefined;
2218
2320
  whitelists?: {
2219
2321
  type: "TRANSACTION" | "SMART_CONTRACT";
@@ -2230,7 +2332,7 @@ declare const zManifest: z.ZodObject<{
2230
2332
  name: string;
2231
2333
  currency: string;
2232
2334
  rules: {
2233
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2335
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2234
2336
  steps: ({
2235
2337
  members: number[];
2236
2338
  quorum: number;
@@ -2246,7 +2348,7 @@ declare const zManifest: z.ZodObject<{
2246
2348
  governance: {
2247
2349
  type: "CLASSIC";
2248
2350
  rules: {
2249
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2351
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2250
2352
  steps: ({
2251
2353
  members: number[];
2252
2354
  quorum: number;
@@ -2264,6 +2366,7 @@ declare const zManifest: z.ZodObject<{
2264
2366
  }[];
2265
2367
  assetManager: string;
2266
2368
  };
2369
+ index?: number | undefined;
2267
2370
  contractAddress?: string | undefined;
2268
2371
  }[] | undefined;
2269
2372
  pledges?: {
@@ -2324,6 +2427,12 @@ declare const zManifest: z.ZodObject<{
2324
2427
  users?: {
2325
2428
  admins?: number[] | undefined;
2326
2429
  operators?: number[] | undefined;
2430
+ api?: {
2431
+ name: string;
2432
+ pubKey: string;
2433
+ viewAll: boolean;
2434
+ role?: "ADMIN" | "OPERATOR" | undefined;
2435
+ }[] | undefined;
2327
2436
  } | undefined;
2328
2437
  whitelists?: {
2329
2438
  name: string;
@@ -2340,7 +2449,7 @@ declare const zManifest: z.ZodObject<{
2340
2449
  name: string;
2341
2450
  currency: string;
2342
2451
  rules: {
2343
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2452
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2344
2453
  steps: ({
2345
2454
  members: number[];
2346
2455
  quorum: number;
@@ -2356,7 +2465,7 @@ declare const zManifest: z.ZodObject<{
2356
2465
  governance: {
2357
2466
  type: "CLASSIC";
2358
2467
  rules: {
2359
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2468
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2360
2469
  steps: ({
2361
2470
  members: number[];
2362
2471
  quorum: number;
@@ -2374,6 +2483,7 @@ declare const zManifest: z.ZodObject<{
2374
2483
  }[];
2375
2484
  assetManager: string;
2376
2485
  };
2486
+ index?: number | undefined;
2377
2487
  contractAddress?: string | undefined;
2378
2488
  }[] | undefined;
2379
2489
  pledges?: {
@@ -2454,6 +2564,12 @@ declare const zManifest: z.ZodObject<{
2454
2564
  users?: {
2455
2565
  admins?: number[] | undefined;
2456
2566
  operators?: number[] | undefined;
2567
+ api?: {
2568
+ name: string;
2569
+ role: "ADMIN" | "OPERATOR";
2570
+ pubKey: string;
2571
+ viewAll: boolean;
2572
+ }[] | undefined;
2457
2573
  } | undefined;
2458
2574
  whitelists?: {
2459
2575
  type: "TRANSACTION" | "SMART_CONTRACT";
@@ -2470,7 +2586,7 @@ declare const zManifest: z.ZodObject<{
2470
2586
  name: string;
2471
2587
  currency: string;
2472
2588
  rules: {
2473
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2589
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2474
2590
  steps: ({
2475
2591
  members: number[];
2476
2592
  quorum: number;
@@ -2486,7 +2602,7 @@ declare const zManifest: z.ZodObject<{
2486
2602
  governance: {
2487
2603
  type: "CLASSIC";
2488
2604
  rules: {
2489
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2605
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2490
2606
  steps: ({
2491
2607
  members: number[];
2492
2608
  quorum: number;
@@ -2504,6 +2620,7 @@ declare const zManifest: z.ZodObject<{
2504
2620
  }[];
2505
2621
  assetManager: string;
2506
2622
  };
2623
+ index?: number | undefined;
2507
2624
  contractAddress?: string | undefined;
2508
2625
  }[] | undefined;
2509
2626
  pledges?: {
@@ -2584,6 +2701,12 @@ declare const zManifest: z.ZodObject<{
2584
2701
  users?: {
2585
2702
  admins?: number[] | undefined;
2586
2703
  operators?: number[] | undefined;
2704
+ api?: {
2705
+ name: string;
2706
+ pubKey: string;
2707
+ viewAll: boolean;
2708
+ role?: "ADMIN" | "OPERATOR" | undefined;
2709
+ }[] | undefined;
2587
2710
  } | undefined;
2588
2711
  whitelists?: {
2589
2712
  name: string;
@@ -2600,7 +2723,7 @@ declare const zManifest: z.ZodObject<{
2600
2723
  name: string;
2601
2724
  currency: string;
2602
2725
  rules: {
2603
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2726
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2604
2727
  steps: ({
2605
2728
  members: number[];
2606
2729
  quorum: number;
@@ -2616,7 +2739,7 @@ declare const zManifest: z.ZodObject<{
2616
2739
  governance: {
2617
2740
  type: "CLASSIC";
2618
2741
  rules: {
2619
- type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE";
2742
+ type: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_MESSAGE";
2620
2743
  steps: ({
2621
2744
  members: number[];
2622
2745
  quorum: number;
@@ -2634,6 +2757,7 @@ declare const zManifest: z.ZodObject<{
2634
2757
  }[];
2635
2758
  assetManager: string;
2636
2759
  };
2760
+ index?: number | undefined;
2637
2761
  contractAddress?: string | undefined;
2638
2762
  }[] | undefined;
2639
2763
  pledges?: {
@@ -2656,4 +2780,4 @@ declare function createAndApproveRequest(input: CreateRequestInput, approvers: E
2656
2780
 
2657
2781
  declare function bakeManifest(options: BakeOptions, logger: Logger): Promise<void>;
2658
2782
 
2659
- export { type BakeOptions, type Manifest, type ManifestAccount, type ManifestGovernanceRule, type ManifestGroup, type ManifestPledgeAdjustment, type ManifestPolicy, type ManifestTradelinkEntity, type ManifestTradelinkGroup, type ManifestTradelinkNetwork, type ManifestTradelinkNetworkBlueprint, type ManifestTradelinkOrg, type ManifestWhitelist, type ManifestWorkspace, bakeManifest, bakePledgeAdjustment, createAndApproveRequest, zManifest, zManifestPolicy };
2783
+ export { type BakeOptions, type Manifest, type ManifestAccount, type ManifestApiUser, type ManifestGovernanceRule, type ManifestGroup, type ManifestPledgeAdjustment, type ManifestPolicy, type ManifestTradelinkEntity, type ManifestTradelinkGroup, type ManifestTradelinkNetwork, type ManifestTradelinkNetworkBlueprint, type ManifestTradelinkOrg, type ManifestWhitelist, type ManifestWorkspace, bakeManifest, bakePledgeAdjustment, createAndApproveRequest, zManifest, zManifestPolicy };