@turnkey/http 0.4.0 → 0.5.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.
@@ -160,10 +160,9 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
160
160
  };
161
161
  createPolicyIntent?: {
162
162
  policyName: string;
163
- /** `POST /public/v1/submit/sign_raw_payload` */
164
163
  selectors: {
165
164
  subject?: string;
166
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
165
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
167
166
  target?: string;
168
167
  }[];
169
168
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -224,6 +223,17 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
224
223
  deletePrivateKeyTagsIntent?: {
225
224
  privateKeyTagIds: string[];
226
225
  };
226
+ createPolicyIntentV2?: {
227
+ /** `POST /public/v1/submit/sign_transaction` */
228
+ policyName: string;
229
+ selectors: {
230
+ subject?: string;
231
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
232
+ targets?: string[];
233
+ }[];
234
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
235
+ notes?: string;
236
+ };
227
237
  };
228
238
  result: {
229
239
  createOrganizationResult?: {
@@ -302,8 +312,8 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
302
312
  userId: string;
303
313
  user: {
304
314
  userId: string;
305
- alias: string;
306
- email?: string;
315
+ userName: string;
316
+ userEmail?: string;
307
317
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
308
318
  authenticators: {
309
319
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -317,7 +327,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
317
327
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
318
328
  };
319
329
  authenticatorId: string;
320
- label: string;
330
+ authenticatorName: string;
321
331
  createdAt: {
322
332
  seconds: string;
323
333
  nanos: string;
@@ -343,7 +353,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
343
353
  nanos: string;
344
354
  };
345
355
  }[];
346
- tags: string[];
356
+ userTags: string[];
347
357
  createdAt: {
348
358
  seconds: string;
349
359
  nanos: string;
@@ -366,7 +376,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
366
376
  }[];
367
377
  fingerprint: string;
368
378
  canApprove: boolean;
369
- /** `POST /public/v1/submit/create_invitations` */
370
379
  canReject: boolean;
371
380
  createdAt: {
372
381
  seconds: string;
@@ -393,8 +402,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
393
402
  name?: string;
394
403
  users?: {
395
404
  userId: string;
396
- alias: string;
397
- email?: string;
405
+ userName: string;
406
+ userEmail?: string;
398
407
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
399
408
  authenticators: {
400
409
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -408,7 +417,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
408
417
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
409
418
  };
410
419
  authenticatorId: string;
411
- label: string;
420
+ authenticatorName: string;
412
421
  createdAt: {
413
422
  seconds: string;
414
423
  nanos: string;
@@ -434,7 +443,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
434
443
  nanos: string;
435
444
  };
436
445
  }[];
437
- tags: string[];
446
+ userTags: string[];
438
447
  createdAt: {
439
448
  seconds: string;
440
449
  nanos: string;
@@ -450,8 +459,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
450
459
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
451
460
  selectors: {
452
461
  subject: string;
453
- operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
454
- target: string;
462
+ operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
463
+ targets: string[];
455
464
  }[];
456
465
  createdAt: {
457
466
  seconds: string;
@@ -472,13 +481,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
472
481
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
473
482
  address?: string;
474
483
  }[];
475
- tags: string[];
484
+ privateKeyTags: string[];
485
+ createdAt: {
486
+ seconds: string;
487
+ nanos: string;
488
+ };
476
489
  }[];
477
490
  invitations?: {
478
491
  invitationId: string;
479
- receiverAlias: string;
492
+ receiverUserName: string;
480
493
  receiverEmail: string;
481
- receiverTags: string[];
494
+ receiverUserTags: string[];
482
495
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
483
496
  status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
484
497
  createdAt: {
@@ -493,7 +506,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
493
506
  }[];
494
507
  tags?: {
495
508
  tagId: string;
496
- label: string;
509
+ tagName: string;
497
510
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
498
511
  createdAt: {
499
512
  seconds: string;
@@ -506,8 +519,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
506
519
  }[];
507
520
  deletedUsers?: {
508
521
  userId: string;
509
- alias: string;
510
- email?: string;
522
+ userName: string;
523
+ userEmail?: string;
511
524
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
512
525
  authenticators: {
513
526
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -521,7 +534,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
521
534
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
522
535
  };
523
536
  authenticatorId: string;
524
- label: string;
537
+ authenticatorName: string;
525
538
  createdAt: {
526
539
  seconds: string;
527
540
  nanos: string;
@@ -547,7 +560,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
547
560
  nanos: string;
548
561
  };
549
562
  }[];
550
- tags: string[];
563
+ userTags: string[];
551
564
  createdAt: {
552
565
  seconds: string;
553
566
  nanos: string;
@@ -563,8 +576,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
563
576
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
564
577
  selectors: {
565
578
  subject: string;
566
- operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
567
- target: string;
579
+ operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
580
+ targets: string[];
568
581
  }[];
569
582
  createdAt: {
570
583
  seconds: string;
@@ -585,13 +598,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
585
598
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
586
599
  address?: string;
587
600
  }[];
588
- tags: string[];
601
+ privateKeyTags: string[];
602
+ createdAt: {
603
+ seconds: string;
604
+ nanos: string;
605
+ };
589
606
  }[];
590
607
  deletedInvitations?: {
591
608
  invitationId: string;
592
- receiverAlias: string;
609
+ receiverUserName: string;
593
610
  receiverEmail: string;
594
- receiverTags: string[];
611
+ receiverUserTags: string[];
595
612
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
596
613
  status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
597
614
  createdAt: {
@@ -632,7 +649,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
632
649
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
633
650
  };
634
651
  authenticatorId: string;
635
- label: string;
652
+ authenticatorName: string;
636
653
  createdAt: {
637
654
  seconds: string;
638
655
  nanos: string;
@@ -644,7 +661,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
644
661
  }[];
645
662
  deletedTags?: {
646
663
  tagId: string;
647
- label: string;
664
+ tagName: string;
648
665
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
649
666
  createdAt: {
650
667
  seconds: string;
@@ -673,8 +690,8 @@ export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
673
690
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
674
691
  selectors: {
675
692
  subject: string;
676
- operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
677
- target: string;
693
+ operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
694
+ targets: string[];
678
695
  }[];
679
696
  createdAt: {
680
697
  seconds: string;
@@ -699,8 +716,8 @@ export type TPostGetUserInput = {
699
716
  export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
700
717
  user: {
701
718
  userId: string;
702
- alias: string;
703
- email?: string;
719
+ userName: string;
720
+ userEmail?: string;
704
721
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
705
722
  authenticators: {
706
723
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -714,7 +731,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
714
731
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
715
732
  };
716
733
  authenticatorId: string;
717
- label: string;
734
+ authenticatorName: string;
718
735
  createdAt: {
719
736
  seconds: string;
720
737
  nanos: string;
@@ -740,7 +757,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
740
757
  nanos: string;
741
758
  };
742
759
  }[];
743
- tags: string[];
760
+ userTags: string[];
744
761
  createdAt: {
745
762
  seconds: string;
746
763
  nanos: string;
@@ -912,10 +929,9 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
912
929
  };
913
930
  createPolicyIntent?: {
914
931
  policyName: string;
915
- /** `POST /public/v1/submit/sign_raw_payload` */
916
932
  selectors: {
917
933
  subject?: string;
918
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
934
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
919
935
  target?: string;
920
936
  }[];
921
937
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -976,6 +992,17 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
976
992
  deletePrivateKeyTagsIntent?: {
977
993
  privateKeyTagIds: string[];
978
994
  };
995
+ createPolicyIntentV2?: {
996
+ /** `POST /public/v1/submit/sign_transaction` */
997
+ policyName: string;
998
+ selectors: {
999
+ subject?: string;
1000
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1001
+ targets?: string[];
1002
+ }[];
1003
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1004
+ notes?: string;
1005
+ };
979
1006
  };
980
1007
  result: {
981
1008
  createOrganizationResult?: {
@@ -1054,8 +1081,8 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1054
1081
  userId: string;
1055
1082
  user: {
1056
1083
  userId: string;
1057
- alias: string;
1058
- email?: string;
1084
+ userName: string;
1085
+ userEmail?: string;
1059
1086
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1060
1087
  authenticators: {
1061
1088
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1069,7 +1096,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1069
1096
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1070
1097
  };
1071
1098
  authenticatorId: string;
1072
- label: string;
1099
+ authenticatorName: string;
1073
1100
  createdAt: {
1074
1101
  seconds: string;
1075
1102
  nanos: string;
@@ -1095,7 +1122,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1095
1122
  nanos: string;
1096
1123
  };
1097
1124
  }[];
1098
- tags: string[];
1125
+ userTags: string[];
1099
1126
  createdAt: {
1100
1127
  seconds: string;
1101
1128
  nanos: string;
@@ -1118,7 +1145,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1118
1145
  }[];
1119
1146
  fingerprint: string;
1120
1147
  canApprove: boolean;
1121
- /** `POST /public/v1/submit/create_invitations` */
1122
1148
  canReject: boolean;
1123
1149
  createdAt: {
1124
1150
  seconds: string;
@@ -1146,8 +1172,8 @@ export declare const postGetPolicies: (input: TPostGetPoliciesInput) => Promise<
1146
1172
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1147
1173
  selectors: {
1148
1174
  subject: string;
1149
- operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
1150
- target: string;
1175
+ operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1176
+ targets: string[];
1151
1177
  }[];
1152
1178
  createdAt: {
1153
1179
  seconds: string;
@@ -1179,7 +1205,11 @@ export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Pr
1179
1205
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
1180
1206
  address?: string;
1181
1207
  }[];
1182
- tags: string[];
1208
+ privateKeyTags: string[];
1209
+ createdAt: {
1210
+ seconds: string;
1211
+ nanos: string;
1212
+ };
1183
1213
  }[];
1184
1214
  }>;
1185
1215
  /** `POST /public/v1/query/list_users` */
@@ -1194,8 +1224,8 @@ export type TPostGetUsersInput = {
1194
1224
  export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1195
1225
  users: {
1196
1226
  userId: string;
1197
- alias: string;
1198
- email?: string;
1227
+ userName: string;
1228
+ userEmail?: string;
1199
1229
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1200
1230
  authenticators: {
1201
1231
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1209,7 +1239,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1209
1239
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1210
1240
  };
1211
1241
  authenticatorId: string;
1212
- label: string;
1242
+ authenticatorName: string;
1213
1243
  createdAt: {
1214
1244
  seconds: string;
1215
1245
  nanos: string;
@@ -1235,7 +1265,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1235
1265
  nanos: string;
1236
1266
  };
1237
1267
  }[];
1238
- tags: string[];
1268
+ userTags: string[];
1239
1269
  createdAt: {
1240
1270
  seconds: string;
1241
1271
  nanos: string;
@@ -1422,10 +1452,9 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1422
1452
  };
1423
1453
  createPolicyIntent?: {
1424
1454
  policyName: string;
1425
- /** `POST /public/v1/submit/sign_raw_payload` */
1426
1455
  selectors: {
1427
1456
  subject?: string;
1428
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
1457
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1429
1458
  target?: string;
1430
1459
  }[];
1431
1460
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -1486,6 +1515,17 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1486
1515
  deletePrivateKeyTagsIntent?: {
1487
1516
  privateKeyTagIds: string[];
1488
1517
  };
1518
+ createPolicyIntentV2?: {
1519
+ /** `POST /public/v1/submit/sign_transaction` */
1520
+ policyName: string;
1521
+ selectors: {
1522
+ subject?: string;
1523
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1524
+ targets?: string[];
1525
+ }[];
1526
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1527
+ notes?: string;
1528
+ };
1489
1529
  };
1490
1530
  result: {
1491
1531
  createOrganizationResult?: {
@@ -1564,8 +1604,8 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1564
1604
  userId: string;
1565
1605
  user: {
1566
1606
  userId: string;
1567
- alias: string;
1568
- email?: string;
1607
+ userName: string;
1608
+ userEmail?: string;
1569
1609
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1570
1610
  authenticators: {
1571
1611
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1579,7 +1619,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1579
1619
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1580
1620
  };
1581
1621
  authenticatorId: string;
1582
- label: string;
1622
+ authenticatorName: string;
1583
1623
  createdAt: {
1584
1624
  seconds: string;
1585
1625
  nanos: string;
@@ -1605,7 +1645,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1605
1645
  nanos: string;
1606
1646
  };
1607
1647
  }[];
1608
- tags: string[];
1648
+ userTags: string[];
1609
1649
  createdAt: {
1610
1650
  seconds: string;
1611
1651
  nanos: string;
@@ -1628,7 +1668,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1628
1668
  }[];
1629
1669
  fingerprint: string;
1630
1670
  canApprove: boolean;
1631
- /** `POST /public/v1/submit/create_invitations` */
1632
1671
  canReject: boolean;
1633
1672
  createdAt: {
1634
1673
  seconds: string;
@@ -1801,10 +1840,9 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1801
1840
  };
1802
1841
  createPolicyIntent?: {
1803
1842
  policyName: string;
1804
- /** `POST /public/v1/submit/sign_raw_payload` */
1805
1843
  selectors: {
1806
1844
  subject?: string;
1807
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
1845
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1808
1846
  target?: string;
1809
1847
  }[];
1810
1848
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -1865,6 +1903,17 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1865
1903
  deletePrivateKeyTagsIntent?: {
1866
1904
  privateKeyTagIds: string[];
1867
1905
  };
1906
+ createPolicyIntentV2?: {
1907
+ /** `POST /public/v1/submit/sign_transaction` */
1908
+ policyName: string;
1909
+ selectors: {
1910
+ subject?: string;
1911
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1912
+ targets?: string[];
1913
+ }[];
1914
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1915
+ notes?: string;
1916
+ };
1868
1917
  };
1869
1918
  result: {
1870
1919
  createOrganizationResult?: {
@@ -1943,8 +1992,8 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1943
1992
  userId: string;
1944
1993
  user: {
1945
1994
  userId: string;
1946
- alias: string;
1947
- email?: string;
1995
+ userName: string;
1996
+ userEmail?: string;
1948
1997
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1949
1998
  authenticators: {
1950
1999
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1958,7 +2007,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1958
2007
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1959
2008
  };
1960
2009
  authenticatorId: string;
1961
- label: string;
2010
+ authenticatorName: string;
1962
2011
  createdAt: {
1963
2012
  seconds: string;
1964
2013
  nanos: string;
@@ -1984,7 +2033,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1984
2033
  nanos: string;
1985
2034
  };
1986
2035
  }[];
1987
- tags: string[];
2036
+ userTags: string[];
1988
2037
  createdAt: {
1989
2038
  seconds: string;
1990
2039
  nanos: string;
@@ -2007,7 +2056,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2007
2056
  }[];
2008
2057
  fingerprint: string;
2009
2058
  canApprove: boolean;
2010
- /** `POST /public/v1/submit/create_invitations` */
2011
2059
  canReject: boolean;
2012
2060
  createdAt: {
2013
2061
  seconds: string;
@@ -2180,10 +2228,9 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2180
2228
  };
2181
2229
  createPolicyIntent?: {
2182
2230
  policyName: string;
2183
- /** `POST /public/v1/submit/sign_raw_payload` */
2184
2231
  selectors: {
2185
2232
  subject?: string;
2186
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
2233
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2187
2234
  target?: string;
2188
2235
  }[];
2189
2236
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -2244,6 +2291,17 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2244
2291
  deletePrivateKeyTagsIntent?: {
2245
2292
  privateKeyTagIds: string[];
2246
2293
  };
2294
+ createPolicyIntentV2?: {
2295
+ /** `POST /public/v1/submit/sign_transaction` */
2296
+ policyName: string;
2297
+ selectors: {
2298
+ subject?: string;
2299
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2300
+ targets?: string[];
2301
+ }[];
2302
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2303
+ notes?: string;
2304
+ };
2247
2305
  };
2248
2306
  result: {
2249
2307
  createOrganizationResult?: {
@@ -2322,8 +2380,8 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2322
2380
  userId: string;
2323
2381
  user: {
2324
2382
  userId: string;
2325
- alias: string;
2326
- email?: string;
2383
+ userName: string;
2384
+ userEmail?: string;
2327
2385
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2328
2386
  authenticators: {
2329
2387
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -2337,7 +2395,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2337
2395
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2338
2396
  };
2339
2397
  authenticatorId: string;
2340
- label: string;
2398
+ authenticatorName: string;
2341
2399
  createdAt: {
2342
2400
  seconds: string;
2343
2401
  nanos: string;
@@ -2363,7 +2421,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2363
2421
  nanos: string;
2364
2422
  };
2365
2423
  }[];
2366
- tags: string[];
2424
+ userTags: string[];
2367
2425
  createdAt: {
2368
2426
  seconds: string;
2369
2427
  nanos: string;
@@ -2386,7 +2444,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2386
2444
  }[];
2387
2445
  fingerprint: string;
2388
2446
  canApprove: boolean;
2389
- /** `POST /public/v1/submit/create_invitations` */
2390
2447
  canReject: boolean;
2391
2448
  createdAt: {
2392
2449
  seconds: string;
@@ -2559,10 +2616,9 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2559
2616
  };
2560
2617
  createPolicyIntent?: {
2561
2618
  policyName: string;
2562
- /** `POST /public/v1/submit/sign_raw_payload` */
2563
2619
  selectors: {
2564
2620
  subject?: string;
2565
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
2621
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2566
2622
  target?: string;
2567
2623
  }[];
2568
2624
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -2623,6 +2679,17 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2623
2679
  deletePrivateKeyTagsIntent?: {
2624
2680
  privateKeyTagIds: string[];
2625
2681
  };
2682
+ createPolicyIntentV2?: {
2683
+ /** `POST /public/v1/submit/sign_transaction` */
2684
+ policyName: string;
2685
+ selectors: {
2686
+ subject?: string;
2687
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2688
+ targets?: string[];
2689
+ }[];
2690
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2691
+ notes?: string;
2692
+ };
2626
2693
  };
2627
2694
  result: {
2628
2695
  createOrganizationResult?: {
@@ -2701,8 +2768,8 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2701
2768
  userId: string;
2702
2769
  user: {
2703
2770
  userId: string;
2704
- alias: string;
2705
- email?: string;
2771
+ userName: string;
2772
+ userEmail?: string;
2706
2773
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2707
2774
  authenticators: {
2708
2775
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -2716,7 +2783,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2716
2783
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2717
2784
  };
2718
2785
  authenticatorId: string;
2719
- label: string;
2786
+ authenticatorName: string;
2720
2787
  createdAt: {
2721
2788
  seconds: string;
2722
2789
  nanos: string;
@@ -2742,7 +2809,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2742
2809
  nanos: string;
2743
2810
  };
2744
2811
  }[];
2745
- tags: string[];
2812
+ userTags: string[];
2746
2813
  createdAt: {
2747
2814
  seconds: string;
2748
2815
  nanos: string;
@@ -2765,7 +2832,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2765
2832
  }[];
2766
2833
  fingerprint: string;
2767
2834
  canApprove: boolean;
2768
- /** `POST /public/v1/submit/create_invitations` */
2769
2835
  canReject: boolean;
2770
2836
  createdAt: {
2771
2837
  seconds: string;
@@ -2938,10 +3004,9 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
2938
3004
  };
2939
3005
  createPolicyIntent?: {
2940
3006
  policyName: string;
2941
- /** `POST /public/v1/submit/sign_raw_payload` */
2942
3007
  selectors: {
2943
3008
  subject?: string;
2944
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
3009
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2945
3010
  target?: string;
2946
3011
  }[];
2947
3012
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3002,6 +3067,17 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3002
3067
  deletePrivateKeyTagsIntent?: {
3003
3068
  privateKeyTagIds: string[];
3004
3069
  };
3070
+ createPolicyIntentV2?: {
3071
+ /** `POST /public/v1/submit/sign_transaction` */
3072
+ policyName: string;
3073
+ selectors: {
3074
+ subject?: string;
3075
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3076
+ targets?: string[];
3077
+ }[];
3078
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3079
+ notes?: string;
3080
+ };
3005
3081
  };
3006
3082
  result: {
3007
3083
  createOrganizationResult?: {
@@ -3080,8 +3156,8 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3080
3156
  userId: string;
3081
3157
  user: {
3082
3158
  userId: string;
3083
- alias: string;
3084
- email?: string;
3159
+ userName: string;
3160
+ userEmail?: string;
3085
3161
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3086
3162
  authenticators: {
3087
3163
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3095,7 +3171,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3095
3171
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3096
3172
  };
3097
3173
  authenticatorId: string;
3098
- label: string;
3174
+ authenticatorName: string;
3099
3175
  createdAt: {
3100
3176
  seconds: string;
3101
3177
  nanos: string;
@@ -3121,7 +3197,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3121
3197
  nanos: string;
3122
3198
  };
3123
3199
  }[];
3124
- tags: string[];
3200
+ userTags: string[];
3125
3201
  createdAt: {
3126
3202
  seconds: string;
3127
3203
  nanos: string;
@@ -3144,7 +3220,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3144
3220
  }[];
3145
3221
  fingerprint: string;
3146
3222
  canApprove: boolean;
3147
- /** `POST /public/v1/submit/create_invitations` */
3148
3223
  canReject: boolean;
3149
3224
  createdAt: {
3150
3225
  seconds: string;
@@ -3317,10 +3392,9 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3317
3392
  };
3318
3393
  createPolicyIntent?: {
3319
3394
  policyName: string;
3320
- /** `POST /public/v1/submit/sign_raw_payload` */
3321
3395
  selectors: {
3322
3396
  subject?: string;
3323
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
3397
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3324
3398
  target?: string;
3325
3399
  }[];
3326
3400
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3381,6 +3455,17 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3381
3455
  deletePrivateKeyTagsIntent?: {
3382
3456
  privateKeyTagIds: string[];
3383
3457
  };
3458
+ createPolicyIntentV2?: {
3459
+ /** `POST /public/v1/submit/sign_transaction` */
3460
+ policyName: string;
3461
+ selectors: {
3462
+ subject?: string;
3463
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3464
+ targets?: string[];
3465
+ }[];
3466
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3467
+ notes?: string;
3468
+ };
3384
3469
  };
3385
3470
  result: {
3386
3471
  createOrganizationResult?: {
@@ -3459,8 +3544,8 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3459
3544
  userId: string;
3460
3545
  user: {
3461
3546
  userId: string;
3462
- alias: string;
3463
- email?: string;
3547
+ userName: string;
3548
+ userEmail?: string;
3464
3549
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3465
3550
  authenticators: {
3466
3551
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3474,7 +3559,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3474
3559
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3475
3560
  };
3476
3561
  authenticatorId: string;
3477
- label: string;
3562
+ authenticatorName: string;
3478
3563
  createdAt: {
3479
3564
  seconds: string;
3480
3565
  nanos: string;
@@ -3500,7 +3585,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3500
3585
  nanos: string;
3501
3586
  };
3502
3587
  }[];
3503
- tags: string[];
3588
+ userTags: string[];
3504
3589
  createdAt: {
3505
3590
  seconds: string;
3506
3591
  nanos: string;
@@ -3523,7 +3608,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3523
3608
  }[];
3524
3609
  fingerprint: string;
3525
3610
  canApprove: boolean;
3526
- /** `POST /public/v1/submit/create_invitations` */
3527
3611
  canReject: boolean;
3528
3612
  createdAt: {
3529
3613
  seconds: string;
@@ -3696,10 +3780,9 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3696
3780
  };
3697
3781
  createPolicyIntent?: {
3698
3782
  policyName: string;
3699
- /** `POST /public/v1/submit/sign_raw_payload` */
3700
3783
  selectors: {
3701
3784
  subject?: string;
3702
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
3785
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3703
3786
  target?: string;
3704
3787
  }[];
3705
3788
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3760,6 +3843,17 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3760
3843
  deletePrivateKeyTagsIntent?: {
3761
3844
  privateKeyTagIds: string[];
3762
3845
  };
3846
+ createPolicyIntentV2?: {
3847
+ /** `POST /public/v1/submit/sign_transaction` */
3848
+ policyName: string;
3849
+ selectors: {
3850
+ subject?: string;
3851
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
3852
+ targets?: string[];
3853
+ }[];
3854
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3855
+ notes?: string;
3856
+ };
3763
3857
  };
3764
3858
  result: {
3765
3859
  createOrganizationResult?: {
@@ -3838,8 +3932,8 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3838
3932
  userId: string;
3839
3933
  user: {
3840
3934
  userId: string;
3841
- alias: string;
3842
- email?: string;
3935
+ userName: string;
3936
+ userEmail?: string;
3843
3937
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3844
3938
  authenticators: {
3845
3939
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3853,7 +3947,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3853
3947
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3854
3948
  };
3855
3949
  authenticatorId: string;
3856
- label: string;
3950
+ authenticatorName: string;
3857
3951
  createdAt: {
3858
3952
  seconds: string;
3859
3953
  nanos: string;
@@ -3879,7 +3973,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3879
3973
  nanos: string;
3880
3974
  };
3881
3975
  }[];
3882
- tags: string[];
3976
+ userTags: string[];
3883
3977
  createdAt: {
3884
3978
  seconds: string;
3885
3979
  nanos: string;
@@ -3902,7 +3996,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3902
3996
  }[];
3903
3997
  fingerprint: string;
3904
3998
  canApprove: boolean;
3905
- /** `POST /public/v1/submit/create_invitations` */
3906
3999
  canReject: boolean;
3907
4000
  createdAt: {
3908
4001
  seconds: string;
@@ -4075,10 +4168,9 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4075
4168
  };
4076
4169
  createPolicyIntent?: {
4077
4170
  policyName: string;
4078
- /** `POST /public/v1/submit/sign_raw_payload` */
4079
4171
  selectors: {
4080
4172
  subject?: string;
4081
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
4173
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4082
4174
  target?: string;
4083
4175
  }[];
4084
4176
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -4139,6 +4231,17 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4139
4231
  deletePrivateKeyTagsIntent?: {
4140
4232
  privateKeyTagIds: string[];
4141
4233
  };
4234
+ createPolicyIntentV2?: {
4235
+ /** `POST /public/v1/submit/sign_transaction` */
4236
+ policyName: string;
4237
+ selectors: {
4238
+ subject?: string;
4239
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4240
+ targets?: string[];
4241
+ }[];
4242
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4243
+ notes?: string;
4244
+ };
4142
4245
  };
4143
4246
  result: {
4144
4247
  createOrganizationResult?: {
@@ -4217,8 +4320,8 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4217
4320
  userId: string;
4218
4321
  user: {
4219
4322
  userId: string;
4220
- alias: string;
4221
- email?: string;
4323
+ userName: string;
4324
+ userEmail?: string;
4222
4325
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4223
4326
  authenticators: {
4224
4327
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -4232,7 +4335,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4232
4335
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4233
4336
  };
4234
4337
  authenticatorId: string;
4235
- label: string;
4338
+ authenticatorName: string;
4236
4339
  createdAt: {
4237
4340
  seconds: string;
4238
4341
  nanos: string;
@@ -4258,7 +4361,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4258
4361
  nanos: string;
4259
4362
  };
4260
4363
  }[];
4261
- tags: string[];
4364
+ userTags: string[];
4262
4365
  createdAt: {
4263
4366
  seconds: string;
4264
4367
  nanos: string;
@@ -4281,7 +4384,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4281
4384
  }[];
4282
4385
  fingerprint: string;
4283
4386
  canApprove: boolean;
4284
- /** `POST /public/v1/submit/create_invitations` */
4285
4387
  canReject: boolean;
4286
4388
  createdAt: {
4287
4389
  seconds: string;
@@ -4454,10 +4556,9 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4454
4556
  };
4455
4557
  createPolicyIntent?: {
4456
4558
  policyName: string;
4457
- /** `POST /public/v1/submit/sign_raw_payload` */
4458
4559
  selectors: {
4459
4560
  subject?: string;
4460
- operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
4561
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4461
4562
  target?: string;
4462
4563
  }[];
4463
4564
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -4518,6 +4619,17 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4518
4619
  deletePrivateKeyTagsIntent?: {
4519
4620
  privateKeyTagIds: string[];
4520
4621
  };
4622
+ createPolicyIntentV2?: {
4623
+ /** `POST /public/v1/submit/sign_transaction` */
4624
+ policyName: string;
4625
+ selectors: {
4626
+ subject?: string;
4627
+ operator?: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
4628
+ targets?: string[];
4629
+ }[];
4630
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4631
+ notes?: string;
4632
+ };
4521
4633
  };
4522
4634
  result: {
4523
4635
  createOrganizationResult?: {
@@ -4596,8 +4708,8 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4596
4708
  userId: string;
4597
4709
  user: {
4598
4710
  userId: string;
4599
- alias: string;
4600
- email?: string;
4711
+ userName: string;
4712
+ userEmail?: string;
4601
4713
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4602
4714
  authenticators: {
4603
4715
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -4611,7 +4723,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4611
4723
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4612
4724
  };
4613
4725
  authenticatorId: string;
4614
- label: string;
4726
+ authenticatorName: string;
4615
4727
  createdAt: {
4616
4728
  seconds: string;
4617
4729
  nanos: string;
@@ -4637,7 +4749,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4637
4749
  nanos: string;
4638
4750
  };
4639
4751
  }[];
4640
- tags: string[];
4752
+ userTags: string[];
4641
4753
  createdAt: {
4642
4754
  seconds: string;
4643
4755
  nanos: string;
@@ -4660,7 +4772,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4660
4772
  }[];
4661
4773
  fingerprint: string;
4662
4774
  canApprove: boolean;
4663
- /** `POST /public/v1/submit/create_invitations` */
4664
4775
  canReject: boolean;
4665
4776
  createdAt: {
4666
4777
  seconds: string;
@@ -4691,7 +4802,11 @@ export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Prom
4691
4802
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
4692
4803
  address?: string;
4693
4804
  }[];
4694
- tags: string[];
4805
+ privateKeyTags: string[];
4806
+ createdAt: {
4807
+ seconds: string;
4808
+ nanos: string;
4809
+ };
4695
4810
  };
4696
4811
  }>;
4697
4812
  export {};