@turnkey/http 0.4.0 → 0.6.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,16 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
224
223
  deletePrivateKeyTagsIntent?: {
225
224
  privateKeyTagIds: string[];
226
225
  };
226
+ createPolicyIntentV2?: {
227
+ policyName: string;
228
+ selectors: {
229
+ subject?: string;
230
+ 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";
231
+ targets?: string[];
232
+ }[];
233
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
234
+ notes?: string;
235
+ };
227
236
  };
228
237
  result: {
229
238
  createOrganizationResult?: {
@@ -302,8 +311,8 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
302
311
  userId: string;
303
312
  user: {
304
313
  userId: string;
305
- alias: string;
306
- email?: string;
314
+ userName: string;
315
+ userEmail?: string;
307
316
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
308
317
  authenticators: {
309
318
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -317,7 +326,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
317
326
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
318
327
  };
319
328
  authenticatorId: string;
320
- label: string;
329
+ authenticatorName: string;
321
330
  createdAt: {
322
331
  seconds: string;
323
332
  nanos: string;
@@ -343,7 +352,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
343
352
  nanos: string;
344
353
  };
345
354
  }[];
346
- tags: string[];
355
+ userTags: string[];
347
356
  createdAt: {
348
357
  seconds: string;
349
358
  nanos: string;
@@ -366,7 +375,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
366
375
  }[];
367
376
  fingerprint: string;
368
377
  canApprove: boolean;
369
- /** `POST /public/v1/submit/create_invitations` */
370
378
  canReject: boolean;
371
379
  createdAt: {
372
380
  seconds: string;
@@ -393,8 +401,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
393
401
  name?: string;
394
402
  users?: {
395
403
  userId: string;
396
- alias: string;
397
- email?: string;
404
+ userName: string;
405
+ userEmail?: string;
398
406
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
399
407
  authenticators: {
400
408
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -408,7 +416,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
408
416
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
409
417
  };
410
418
  authenticatorId: string;
411
- label: string;
419
+ authenticatorName: string;
412
420
  createdAt: {
413
421
  seconds: string;
414
422
  nanos: string;
@@ -434,7 +442,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
434
442
  nanos: string;
435
443
  };
436
444
  }[];
437
- tags: string[];
445
+ userTags: string[];
438
446
  createdAt: {
439
447
  seconds: string;
440
448
  nanos: string;
@@ -450,8 +458,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
450
458
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
451
459
  selectors: {
452
460
  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;
461
+ 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";
462
+ targets: string[];
455
463
  }[];
456
464
  createdAt: {
457
465
  seconds: string;
@@ -472,13 +480,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
472
480
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
473
481
  address?: string;
474
482
  }[];
475
- tags: string[];
483
+ privateKeyTags: string[];
484
+ createdAt: {
485
+ seconds: string;
486
+ nanos: string;
487
+ };
476
488
  }[];
477
489
  invitations?: {
478
490
  invitationId: string;
479
- receiverAlias: string;
491
+ receiverUserName: string;
480
492
  receiverEmail: string;
481
- receiverTags: string[];
493
+ receiverUserTags: string[];
482
494
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
483
495
  status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
484
496
  createdAt: {
@@ -493,7 +505,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
493
505
  }[];
494
506
  tags?: {
495
507
  tagId: string;
496
- label: string;
508
+ tagName: string;
497
509
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
498
510
  createdAt: {
499
511
  seconds: string;
@@ -506,8 +518,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
506
518
  }[];
507
519
  deletedUsers?: {
508
520
  userId: string;
509
- alias: string;
510
- email?: string;
521
+ userName: string;
522
+ userEmail?: string;
511
523
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
512
524
  authenticators: {
513
525
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -521,7 +533,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
521
533
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
522
534
  };
523
535
  authenticatorId: string;
524
- label: string;
536
+ authenticatorName: string;
525
537
  createdAt: {
526
538
  seconds: string;
527
539
  nanos: string;
@@ -547,7 +559,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
547
559
  nanos: string;
548
560
  };
549
561
  }[];
550
- tags: string[];
562
+ userTags: string[];
551
563
  createdAt: {
552
564
  seconds: string;
553
565
  nanos: string;
@@ -563,8 +575,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
563
575
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
564
576
  selectors: {
565
577
  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;
578
+ 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";
579
+ targets: string[];
568
580
  }[];
569
581
  createdAt: {
570
582
  seconds: string;
@@ -585,13 +597,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
585
597
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
586
598
  address?: string;
587
599
  }[];
588
- tags: string[];
600
+ privateKeyTags: string[];
601
+ createdAt: {
602
+ seconds: string;
603
+ nanos: string;
604
+ };
589
605
  }[];
590
606
  deletedInvitations?: {
591
607
  invitationId: string;
592
- receiverAlias: string;
608
+ receiverUserName: string;
593
609
  receiverEmail: string;
594
- receiverTags: string[];
610
+ receiverUserTags: string[];
595
611
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
596
612
  status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
597
613
  createdAt: {
@@ -632,7 +648,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
632
648
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
633
649
  };
634
650
  authenticatorId: string;
635
- label: string;
651
+ authenticatorName: string;
636
652
  createdAt: {
637
653
  seconds: string;
638
654
  nanos: string;
@@ -644,7 +660,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
644
660
  }[];
645
661
  deletedTags?: {
646
662
  tagId: string;
647
- label: string;
663
+ tagName: string;
648
664
  tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
649
665
  createdAt: {
650
666
  seconds: string;
@@ -673,8 +689,8 @@ export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
673
689
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
674
690
  selectors: {
675
691
  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;
692
+ 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";
693
+ targets: string[];
678
694
  }[];
679
695
  createdAt: {
680
696
  seconds: string;
@@ -699,8 +715,8 @@ export type TPostGetUserInput = {
699
715
  export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
700
716
  user: {
701
717
  userId: string;
702
- alias: string;
703
- email?: string;
718
+ userName: string;
719
+ userEmail?: string;
704
720
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
705
721
  authenticators: {
706
722
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -714,7 +730,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
714
730
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
715
731
  };
716
732
  authenticatorId: string;
717
- label: string;
733
+ authenticatorName: string;
718
734
  createdAt: {
719
735
  seconds: string;
720
736
  nanos: string;
@@ -740,7 +756,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
740
756
  nanos: string;
741
757
  };
742
758
  }[];
743
- tags: string[];
759
+ userTags: string[];
744
760
  createdAt: {
745
761
  seconds: string;
746
762
  nanos: string;
@@ -912,10 +928,9 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
912
928
  };
913
929
  createPolicyIntent?: {
914
930
  policyName: string;
915
- /** `POST /public/v1/submit/sign_raw_payload` */
916
931
  selectors: {
917
932
  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";
933
+ 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
934
  target?: string;
920
935
  }[];
921
936
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -976,6 +991,16 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
976
991
  deletePrivateKeyTagsIntent?: {
977
992
  privateKeyTagIds: string[];
978
993
  };
994
+ createPolicyIntentV2?: {
995
+ policyName: string;
996
+ selectors: {
997
+ subject?: string;
998
+ 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";
999
+ targets?: string[];
1000
+ }[];
1001
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1002
+ notes?: string;
1003
+ };
979
1004
  };
980
1005
  result: {
981
1006
  createOrganizationResult?: {
@@ -1054,8 +1079,8 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1054
1079
  userId: string;
1055
1080
  user: {
1056
1081
  userId: string;
1057
- alias: string;
1058
- email?: string;
1082
+ userName: string;
1083
+ userEmail?: string;
1059
1084
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1060
1085
  authenticators: {
1061
1086
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1069,7 +1094,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1069
1094
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1070
1095
  };
1071
1096
  authenticatorId: string;
1072
- label: string;
1097
+ authenticatorName: string;
1073
1098
  createdAt: {
1074
1099
  seconds: string;
1075
1100
  nanos: string;
@@ -1095,7 +1120,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1095
1120
  nanos: string;
1096
1121
  };
1097
1122
  }[];
1098
- tags: string[];
1123
+ userTags: string[];
1099
1124
  createdAt: {
1100
1125
  seconds: string;
1101
1126
  nanos: string;
@@ -1118,7 +1143,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
1118
1143
  }[];
1119
1144
  fingerprint: string;
1120
1145
  canApprove: boolean;
1121
- /** `POST /public/v1/submit/create_invitations` */
1122
1146
  canReject: boolean;
1123
1147
  createdAt: {
1124
1148
  seconds: string;
@@ -1146,8 +1170,8 @@ export declare const postGetPolicies: (input: TPostGetPoliciesInput) => Promise<
1146
1170
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1147
1171
  selectors: {
1148
1172
  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;
1173
+ 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";
1174
+ targets: string[];
1151
1175
  }[];
1152
1176
  createdAt: {
1153
1177
  seconds: string;
@@ -1179,7 +1203,11 @@ export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Pr
1179
1203
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
1180
1204
  address?: string;
1181
1205
  }[];
1182
- tags: string[];
1206
+ privateKeyTags: string[];
1207
+ createdAt: {
1208
+ seconds: string;
1209
+ nanos: string;
1210
+ };
1183
1211
  }[];
1184
1212
  }>;
1185
1213
  /** `POST /public/v1/query/list_users` */
@@ -1194,8 +1222,8 @@ export type TPostGetUsersInput = {
1194
1222
  export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1195
1223
  users: {
1196
1224
  userId: string;
1197
- alias: string;
1198
- email?: string;
1225
+ userName: string;
1226
+ userEmail?: string;
1199
1227
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1200
1228
  authenticators: {
1201
1229
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1209,7 +1237,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1209
1237
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1210
1238
  };
1211
1239
  authenticatorId: string;
1212
- label: string;
1240
+ authenticatorName: string;
1213
1241
  createdAt: {
1214
1242
  seconds: string;
1215
1243
  nanos: string;
@@ -1235,7 +1263,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
1235
1263
  nanos: string;
1236
1264
  };
1237
1265
  }[];
1238
- tags: string[];
1266
+ userTags: string[];
1239
1267
  createdAt: {
1240
1268
  seconds: string;
1241
1269
  nanos: string;
@@ -1422,10 +1450,9 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1422
1450
  };
1423
1451
  createPolicyIntent?: {
1424
1452
  policyName: string;
1425
- /** `POST /public/v1/submit/sign_raw_payload` */
1426
1453
  selectors: {
1427
1454
  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";
1455
+ 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
1456
  target?: string;
1430
1457
  }[];
1431
1458
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -1486,6 +1513,16 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1486
1513
  deletePrivateKeyTagsIntent?: {
1487
1514
  privateKeyTagIds: string[];
1488
1515
  };
1516
+ createPolicyIntentV2?: {
1517
+ policyName: string;
1518
+ selectors: {
1519
+ subject?: string;
1520
+ 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";
1521
+ targets?: string[];
1522
+ }[];
1523
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1524
+ notes?: string;
1525
+ };
1489
1526
  };
1490
1527
  result: {
1491
1528
  createOrganizationResult?: {
@@ -1564,8 +1601,8 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1564
1601
  userId: string;
1565
1602
  user: {
1566
1603
  userId: string;
1567
- alias: string;
1568
- email?: string;
1604
+ userName: string;
1605
+ userEmail?: string;
1569
1606
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1570
1607
  authenticators: {
1571
1608
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1579,7 +1616,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1579
1616
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1580
1617
  };
1581
1618
  authenticatorId: string;
1582
- label: string;
1619
+ authenticatorName: string;
1583
1620
  createdAt: {
1584
1621
  seconds: string;
1585
1622
  nanos: string;
@@ -1605,7 +1642,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1605
1642
  nanos: string;
1606
1643
  };
1607
1644
  }[];
1608
- tags: string[];
1645
+ userTags: string[];
1609
1646
  createdAt: {
1610
1647
  seconds: string;
1611
1648
  nanos: string;
@@ -1628,7 +1665,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
1628
1665
  }[];
1629
1666
  fingerprint: string;
1630
1667
  canApprove: boolean;
1631
- /** `POST /public/v1/submit/create_invitations` */
1632
1668
  canReject: boolean;
1633
1669
  createdAt: {
1634
1670
  seconds: string;
@@ -1801,10 +1837,9 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1801
1837
  };
1802
1838
  createPolicyIntent?: {
1803
1839
  policyName: string;
1804
- /** `POST /public/v1/submit/sign_raw_payload` */
1805
1840
  selectors: {
1806
1841
  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";
1842
+ 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
1843
  target?: string;
1809
1844
  }[];
1810
1845
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -1865,6 +1900,16 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1865
1900
  deletePrivateKeyTagsIntent?: {
1866
1901
  privateKeyTagIds: string[];
1867
1902
  };
1903
+ createPolicyIntentV2?: {
1904
+ policyName: string;
1905
+ selectors: {
1906
+ subject?: string;
1907
+ 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";
1908
+ targets?: string[];
1909
+ }[];
1910
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1911
+ notes?: string;
1912
+ };
1868
1913
  };
1869
1914
  result: {
1870
1915
  createOrganizationResult?: {
@@ -1943,8 +1988,8 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1943
1988
  userId: string;
1944
1989
  user: {
1945
1990
  userId: string;
1946
- alias: string;
1947
- email?: string;
1991
+ userName: string;
1992
+ userEmail?: string;
1948
1993
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
1949
1994
  authenticators: {
1950
1995
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -1958,7 +2003,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1958
2003
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
1959
2004
  };
1960
2005
  authenticatorId: string;
1961
- label: string;
2006
+ authenticatorName: string;
1962
2007
  createdAt: {
1963
2008
  seconds: string;
1964
2009
  nanos: string;
@@ -1984,7 +2029,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
1984
2029
  nanos: string;
1985
2030
  };
1986
2031
  }[];
1987
- tags: string[];
2032
+ userTags: string[];
1988
2033
  createdAt: {
1989
2034
  seconds: string;
1990
2035
  nanos: string;
@@ -2007,7 +2052,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
2007
2052
  }[];
2008
2053
  fingerprint: string;
2009
2054
  canApprove: boolean;
2010
- /** `POST /public/v1/submit/create_invitations` */
2011
2055
  canReject: boolean;
2012
2056
  createdAt: {
2013
2057
  seconds: string;
@@ -2180,10 +2224,9 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2180
2224
  };
2181
2225
  createPolicyIntent?: {
2182
2226
  policyName: string;
2183
- /** `POST /public/v1/submit/sign_raw_payload` */
2184
2227
  selectors: {
2185
2228
  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";
2229
+ 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
2230
  target?: string;
2188
2231
  }[];
2189
2232
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -2244,6 +2287,16 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2244
2287
  deletePrivateKeyTagsIntent?: {
2245
2288
  privateKeyTagIds: string[];
2246
2289
  };
2290
+ createPolicyIntentV2?: {
2291
+ policyName: string;
2292
+ selectors: {
2293
+ subject?: string;
2294
+ 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";
2295
+ targets?: string[];
2296
+ }[];
2297
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2298
+ notes?: string;
2299
+ };
2247
2300
  };
2248
2301
  result: {
2249
2302
  createOrganizationResult?: {
@@ -2322,8 +2375,8 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2322
2375
  userId: string;
2323
2376
  user: {
2324
2377
  userId: string;
2325
- alias: string;
2326
- email?: string;
2378
+ userName: string;
2379
+ userEmail?: string;
2327
2380
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2328
2381
  authenticators: {
2329
2382
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -2337,7 +2390,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2337
2390
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2338
2391
  };
2339
2392
  authenticatorId: string;
2340
- label: string;
2393
+ authenticatorName: string;
2341
2394
  createdAt: {
2342
2395
  seconds: string;
2343
2396
  nanos: string;
@@ -2363,7 +2416,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2363
2416
  nanos: string;
2364
2417
  };
2365
2418
  }[];
2366
- tags: string[];
2419
+ userTags: string[];
2367
2420
  createdAt: {
2368
2421
  seconds: string;
2369
2422
  nanos: string;
@@ -2386,7 +2439,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
2386
2439
  }[];
2387
2440
  fingerprint: string;
2388
2441
  canApprove: boolean;
2389
- /** `POST /public/v1/submit/create_invitations` */
2390
2442
  canReject: boolean;
2391
2443
  createdAt: {
2392
2444
  seconds: string;
@@ -2559,10 +2611,9 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2559
2611
  };
2560
2612
  createPolicyIntent?: {
2561
2613
  policyName: string;
2562
- /** `POST /public/v1/submit/sign_raw_payload` */
2563
2614
  selectors: {
2564
2615
  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";
2616
+ 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
2617
  target?: string;
2567
2618
  }[];
2568
2619
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -2623,6 +2674,16 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2623
2674
  deletePrivateKeyTagsIntent?: {
2624
2675
  privateKeyTagIds: string[];
2625
2676
  };
2677
+ createPolicyIntentV2?: {
2678
+ policyName: string;
2679
+ selectors: {
2680
+ subject?: string;
2681
+ 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";
2682
+ targets?: string[];
2683
+ }[];
2684
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2685
+ notes?: string;
2686
+ };
2626
2687
  };
2627
2688
  result: {
2628
2689
  createOrganizationResult?: {
@@ -2701,8 +2762,8 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2701
2762
  userId: string;
2702
2763
  user: {
2703
2764
  userId: string;
2704
- alias: string;
2705
- email?: string;
2765
+ userName: string;
2766
+ userEmail?: string;
2706
2767
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
2707
2768
  authenticators: {
2708
2769
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -2716,7 +2777,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2716
2777
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
2717
2778
  };
2718
2779
  authenticatorId: string;
2719
- label: string;
2780
+ authenticatorName: string;
2720
2781
  createdAt: {
2721
2782
  seconds: string;
2722
2783
  nanos: string;
@@ -2742,7 +2803,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2742
2803
  nanos: string;
2743
2804
  };
2744
2805
  }[];
2745
- tags: string[];
2806
+ userTags: string[];
2746
2807
  createdAt: {
2747
2808
  seconds: string;
2748
2809
  nanos: string;
@@ -2765,7 +2826,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
2765
2826
  }[];
2766
2827
  fingerprint: string;
2767
2828
  canApprove: boolean;
2768
- /** `POST /public/v1/submit/create_invitations` */
2769
2829
  canReject: boolean;
2770
2830
  createdAt: {
2771
2831
  seconds: string;
@@ -2938,10 +2998,9 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
2938
2998
  };
2939
2999
  createPolicyIntent?: {
2940
3000
  policyName: string;
2941
- /** `POST /public/v1/submit/sign_raw_payload` */
2942
3001
  selectors: {
2943
3002
  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";
3003
+ 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
3004
  target?: string;
2946
3005
  }[];
2947
3006
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3002,6 +3061,16 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3002
3061
  deletePrivateKeyTagsIntent?: {
3003
3062
  privateKeyTagIds: string[];
3004
3063
  };
3064
+ createPolicyIntentV2?: {
3065
+ policyName: string;
3066
+ selectors: {
3067
+ subject?: string;
3068
+ 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";
3069
+ targets?: string[];
3070
+ }[];
3071
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3072
+ notes?: string;
3073
+ };
3005
3074
  };
3006
3075
  result: {
3007
3076
  createOrganizationResult?: {
@@ -3080,8 +3149,8 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3080
3149
  userId: string;
3081
3150
  user: {
3082
3151
  userId: string;
3083
- alias: string;
3084
- email?: string;
3152
+ userName: string;
3153
+ userEmail?: string;
3085
3154
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3086
3155
  authenticators: {
3087
3156
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3095,7 +3164,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3095
3164
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3096
3165
  };
3097
3166
  authenticatorId: string;
3098
- label: string;
3167
+ authenticatorName: string;
3099
3168
  createdAt: {
3100
3169
  seconds: string;
3101
3170
  nanos: string;
@@ -3121,7 +3190,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3121
3190
  nanos: string;
3122
3191
  };
3123
3192
  }[];
3124
- tags: string[];
3193
+ userTags: string[];
3125
3194
  createdAt: {
3126
3195
  seconds: string;
3127
3196
  nanos: string;
@@ -3144,7 +3213,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
3144
3213
  }[];
3145
3214
  fingerprint: string;
3146
3215
  canApprove: boolean;
3147
- /** `POST /public/v1/submit/create_invitations` */
3148
3216
  canReject: boolean;
3149
3217
  createdAt: {
3150
3218
  seconds: string;
@@ -3317,10 +3385,9 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3317
3385
  };
3318
3386
  createPolicyIntent?: {
3319
3387
  policyName: string;
3320
- /** `POST /public/v1/submit/sign_raw_payload` */
3321
3388
  selectors: {
3322
3389
  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";
3390
+ 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
3391
  target?: string;
3325
3392
  }[];
3326
3393
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3381,6 +3448,16 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3381
3448
  deletePrivateKeyTagsIntent?: {
3382
3449
  privateKeyTagIds: string[];
3383
3450
  };
3451
+ createPolicyIntentV2?: {
3452
+ policyName: string;
3453
+ selectors: {
3454
+ subject?: string;
3455
+ 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";
3456
+ targets?: string[];
3457
+ }[];
3458
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3459
+ notes?: string;
3460
+ };
3384
3461
  };
3385
3462
  result: {
3386
3463
  createOrganizationResult?: {
@@ -3459,8 +3536,8 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3459
3536
  userId: string;
3460
3537
  user: {
3461
3538
  userId: string;
3462
- alias: string;
3463
- email?: string;
3539
+ userName: string;
3540
+ userEmail?: string;
3464
3541
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3465
3542
  authenticators: {
3466
3543
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3474,7 +3551,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3474
3551
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3475
3552
  };
3476
3553
  authenticatorId: string;
3477
- label: string;
3554
+ authenticatorName: string;
3478
3555
  createdAt: {
3479
3556
  seconds: string;
3480
3557
  nanos: string;
@@ -3500,7 +3577,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3500
3577
  nanos: string;
3501
3578
  };
3502
3579
  }[];
3503
- tags: string[];
3580
+ userTags: string[];
3504
3581
  createdAt: {
3505
3582
  seconds: string;
3506
3583
  nanos: string;
@@ -3523,7 +3600,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
3523
3600
  }[];
3524
3601
  fingerprint: string;
3525
3602
  canApprove: boolean;
3526
- /** `POST /public/v1/submit/create_invitations` */
3527
3603
  canReject: boolean;
3528
3604
  createdAt: {
3529
3605
  seconds: string;
@@ -3696,10 +3772,9 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3696
3772
  };
3697
3773
  createPolicyIntent?: {
3698
3774
  policyName: string;
3699
- /** `POST /public/v1/submit/sign_raw_payload` */
3700
3775
  selectors: {
3701
3776
  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";
3777
+ 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
3778
  target?: string;
3704
3779
  }[];
3705
3780
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -3760,6 +3835,16 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3760
3835
  deletePrivateKeyTagsIntent?: {
3761
3836
  privateKeyTagIds: string[];
3762
3837
  };
3838
+ createPolicyIntentV2?: {
3839
+ policyName: string;
3840
+ selectors: {
3841
+ subject?: string;
3842
+ 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";
3843
+ targets?: string[];
3844
+ }[];
3845
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
3846
+ notes?: string;
3847
+ };
3763
3848
  };
3764
3849
  result: {
3765
3850
  createOrganizationResult?: {
@@ -3838,8 +3923,8 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3838
3923
  userId: string;
3839
3924
  user: {
3840
3925
  userId: string;
3841
- alias: string;
3842
- email?: string;
3926
+ userName: string;
3927
+ userEmail?: string;
3843
3928
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
3844
3929
  authenticators: {
3845
3930
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -3853,7 +3938,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3853
3938
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
3854
3939
  };
3855
3940
  authenticatorId: string;
3856
- label: string;
3941
+ authenticatorName: string;
3857
3942
  createdAt: {
3858
3943
  seconds: string;
3859
3944
  nanos: string;
@@ -3879,7 +3964,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3879
3964
  nanos: string;
3880
3965
  };
3881
3966
  }[];
3882
- tags: string[];
3967
+ userTags: string[];
3883
3968
  createdAt: {
3884
3969
  seconds: string;
3885
3970
  nanos: string;
@@ -3902,7 +3987,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
3902
3987
  }[];
3903
3988
  fingerprint: string;
3904
3989
  canApprove: boolean;
3905
- /** `POST /public/v1/submit/create_invitations` */
3906
3990
  canReject: boolean;
3907
3991
  createdAt: {
3908
3992
  seconds: string;
@@ -4075,10 +4159,9 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4075
4159
  };
4076
4160
  createPolicyIntent?: {
4077
4161
  policyName: string;
4078
- /** `POST /public/v1/submit/sign_raw_payload` */
4079
4162
  selectors: {
4080
4163
  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";
4164
+ 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
4165
  target?: string;
4083
4166
  }[];
4084
4167
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -4139,6 +4222,16 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4139
4222
  deletePrivateKeyTagsIntent?: {
4140
4223
  privateKeyTagIds: string[];
4141
4224
  };
4225
+ createPolicyIntentV2?: {
4226
+ policyName: string;
4227
+ selectors: {
4228
+ subject?: string;
4229
+ 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";
4230
+ targets?: string[];
4231
+ }[];
4232
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4233
+ notes?: string;
4234
+ };
4142
4235
  };
4143
4236
  result: {
4144
4237
  createOrganizationResult?: {
@@ -4217,8 +4310,8 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4217
4310
  userId: string;
4218
4311
  user: {
4219
4312
  userId: string;
4220
- alias: string;
4221
- email?: string;
4313
+ userName: string;
4314
+ userEmail?: string;
4222
4315
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4223
4316
  authenticators: {
4224
4317
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -4232,7 +4325,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4232
4325
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4233
4326
  };
4234
4327
  authenticatorId: string;
4235
- label: string;
4328
+ authenticatorName: string;
4236
4329
  createdAt: {
4237
4330
  seconds: string;
4238
4331
  nanos: string;
@@ -4258,7 +4351,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4258
4351
  nanos: string;
4259
4352
  };
4260
4353
  }[];
4261
- tags: string[];
4354
+ userTags: string[];
4262
4355
  createdAt: {
4263
4356
  seconds: string;
4264
4357
  nanos: string;
@@ -4281,7 +4374,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
4281
4374
  }[];
4282
4375
  fingerprint: string;
4283
4376
  canApprove: boolean;
4284
- /** `POST /public/v1/submit/create_invitations` */
4285
4377
  canReject: boolean;
4286
4378
  createdAt: {
4287
4379
  seconds: string;
@@ -4454,10 +4546,9 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4454
4546
  };
4455
4547
  createPolicyIntent?: {
4456
4548
  policyName: string;
4457
- /** `POST /public/v1/submit/sign_raw_payload` */
4458
4549
  selectors: {
4459
4550
  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";
4551
+ 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
4552
  target?: string;
4462
4553
  }[];
4463
4554
  effect: "EFFECT_ALLOW" | "EFFECT_DENY";
@@ -4518,6 +4609,16 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4518
4609
  deletePrivateKeyTagsIntent?: {
4519
4610
  privateKeyTagIds: string[];
4520
4611
  };
4612
+ createPolicyIntentV2?: {
4613
+ policyName: string;
4614
+ selectors: {
4615
+ subject?: string;
4616
+ 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";
4617
+ targets?: string[];
4618
+ }[];
4619
+ effect: "EFFECT_ALLOW" | "EFFECT_DENY";
4620
+ notes?: string;
4621
+ };
4521
4622
  };
4522
4623
  result: {
4523
4624
  createOrganizationResult?: {
@@ -4596,8 +4697,8 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4596
4697
  userId: string;
4597
4698
  user: {
4598
4699
  userId: string;
4599
- alias: string;
4600
- email?: string;
4700
+ userName: string;
4701
+ userEmail?: string;
4601
4702
  accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
4602
4703
  authenticators: {
4603
4704
  transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
@@ -4611,7 +4712,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4611
4712
  type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
4612
4713
  };
4613
4714
  authenticatorId: string;
4614
- label: string;
4715
+ authenticatorName: string;
4615
4716
  createdAt: {
4616
4717
  seconds: string;
4617
4718
  nanos: string;
@@ -4637,7 +4738,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4637
4738
  nanos: string;
4638
4739
  };
4639
4740
  }[];
4640
- tags: string[];
4741
+ userTags: string[];
4641
4742
  createdAt: {
4642
4743
  seconds: string;
4643
4744
  nanos: string;
@@ -4660,7 +4761,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
4660
4761
  }[];
4661
4762
  fingerprint: string;
4662
4763
  canApprove: boolean;
4663
- /** `POST /public/v1/submit/create_invitations` */
4664
4764
  canReject: boolean;
4665
4765
  createdAt: {
4666
4766
  seconds: string;
@@ -4691,7 +4791,11 @@ export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Prom
4691
4791
  format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
4692
4792
  address?: string;
4693
4793
  }[];
4694
- tags: string[];
4794
+ privateKeyTags: string[];
4795
+ createdAt: {
4796
+ seconds: string;
4797
+ nanos: string;
4798
+ };
4695
4799
  };
4696
4800
  }>;
4697
4801
  export {};