@turnkey/http 0.3.1 → 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.
- package/CHANGELOG.md +12 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +227 -101
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +36 -22
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -162,7 +162,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
162
162
|
policyName: string;
|
|
163
163
|
selectors: {
|
|
164
164
|
subject?: string;
|
|
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";
|
|
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";
|
|
166
166
|
target?: string;
|
|
167
167
|
}[];
|
|
168
168
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -223,6 +223,17 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
223
223
|
deletePrivateKeyTagsIntent?: {
|
|
224
224
|
privateKeyTagIds: string[];
|
|
225
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
|
+
};
|
|
226
237
|
};
|
|
227
238
|
result: {
|
|
228
239
|
createOrganizationResult?: {
|
|
@@ -301,8 +312,8 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
301
312
|
userId: string;
|
|
302
313
|
user: {
|
|
303
314
|
userId: string;
|
|
304
|
-
|
|
305
|
-
|
|
315
|
+
userName: string;
|
|
316
|
+
userEmail?: string;
|
|
306
317
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
307
318
|
authenticators: {
|
|
308
319
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -316,7 +327,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
316
327
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
317
328
|
};
|
|
318
329
|
authenticatorId: string;
|
|
319
|
-
|
|
330
|
+
authenticatorName: string;
|
|
320
331
|
createdAt: {
|
|
321
332
|
seconds: string;
|
|
322
333
|
nanos: string;
|
|
@@ -342,7 +353,7 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
342
353
|
nanos: string;
|
|
343
354
|
};
|
|
344
355
|
}[];
|
|
345
|
-
|
|
356
|
+
userTags: string[];
|
|
346
357
|
createdAt: {
|
|
347
358
|
seconds: string;
|
|
348
359
|
nanos: string;
|
|
@@ -365,7 +376,6 @@ export declare const postGetActivity: (input: TPostGetActivityInput) => Promise<
|
|
|
365
376
|
}[];
|
|
366
377
|
fingerprint: string;
|
|
367
378
|
canApprove: boolean;
|
|
368
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
369
379
|
canReject: boolean;
|
|
370
380
|
createdAt: {
|
|
371
381
|
seconds: string;
|
|
@@ -392,8 +402,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
392
402
|
name?: string;
|
|
393
403
|
users?: {
|
|
394
404
|
userId: string;
|
|
395
|
-
|
|
396
|
-
|
|
405
|
+
userName: string;
|
|
406
|
+
userEmail?: string;
|
|
397
407
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
398
408
|
authenticators: {
|
|
399
409
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -407,7 +417,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
407
417
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
408
418
|
};
|
|
409
419
|
authenticatorId: string;
|
|
410
|
-
|
|
420
|
+
authenticatorName: string;
|
|
411
421
|
createdAt: {
|
|
412
422
|
seconds: string;
|
|
413
423
|
nanos: string;
|
|
@@ -433,7 +443,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
433
443
|
nanos: string;
|
|
434
444
|
};
|
|
435
445
|
}[];
|
|
436
|
-
|
|
446
|
+
userTags: string[];
|
|
437
447
|
createdAt: {
|
|
438
448
|
seconds: string;
|
|
439
449
|
nanos: string;
|
|
@@ -449,8 +459,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
449
459
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
450
460
|
selectors: {
|
|
451
461
|
subject: string;
|
|
452
|
-
operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
|
|
453
|
-
|
|
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[];
|
|
454
464
|
}[];
|
|
455
465
|
createdAt: {
|
|
456
466
|
seconds: string;
|
|
@@ -471,13 +481,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
471
481
|
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
|
|
472
482
|
address?: string;
|
|
473
483
|
}[];
|
|
474
|
-
|
|
484
|
+
privateKeyTags: string[];
|
|
485
|
+
createdAt: {
|
|
486
|
+
seconds: string;
|
|
487
|
+
nanos: string;
|
|
488
|
+
};
|
|
475
489
|
}[];
|
|
476
490
|
invitations?: {
|
|
477
491
|
invitationId: string;
|
|
478
|
-
|
|
492
|
+
receiverUserName: string;
|
|
479
493
|
receiverEmail: string;
|
|
480
|
-
|
|
494
|
+
receiverUserTags: string[];
|
|
481
495
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
482
496
|
status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
|
|
483
497
|
createdAt: {
|
|
@@ -492,7 +506,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
492
506
|
}[];
|
|
493
507
|
tags?: {
|
|
494
508
|
tagId: string;
|
|
495
|
-
|
|
509
|
+
tagName: string;
|
|
496
510
|
tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
497
511
|
createdAt: {
|
|
498
512
|
seconds: string;
|
|
@@ -505,8 +519,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
505
519
|
}[];
|
|
506
520
|
deletedUsers?: {
|
|
507
521
|
userId: string;
|
|
508
|
-
|
|
509
|
-
|
|
522
|
+
userName: string;
|
|
523
|
+
userEmail?: string;
|
|
510
524
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
511
525
|
authenticators: {
|
|
512
526
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -520,7 +534,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
520
534
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
521
535
|
};
|
|
522
536
|
authenticatorId: string;
|
|
523
|
-
|
|
537
|
+
authenticatorName: string;
|
|
524
538
|
createdAt: {
|
|
525
539
|
seconds: string;
|
|
526
540
|
nanos: string;
|
|
@@ -546,7 +560,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
546
560
|
nanos: string;
|
|
547
561
|
};
|
|
548
562
|
}[];
|
|
549
|
-
|
|
563
|
+
userTags: string[];
|
|
550
564
|
createdAt: {
|
|
551
565
|
seconds: string;
|
|
552
566
|
nanos: string;
|
|
@@ -562,8 +576,8 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
562
576
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
563
577
|
selectors: {
|
|
564
578
|
subject: string;
|
|
565
|
-
operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
|
|
566
|
-
|
|
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[];
|
|
567
581
|
}[];
|
|
568
582
|
createdAt: {
|
|
569
583
|
seconds: string;
|
|
@@ -584,13 +598,17 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
584
598
|
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
|
|
585
599
|
address?: string;
|
|
586
600
|
}[];
|
|
587
|
-
|
|
601
|
+
privateKeyTags: string[];
|
|
602
|
+
createdAt: {
|
|
603
|
+
seconds: string;
|
|
604
|
+
nanos: string;
|
|
605
|
+
};
|
|
588
606
|
}[];
|
|
589
607
|
deletedInvitations?: {
|
|
590
608
|
invitationId: string;
|
|
591
|
-
|
|
609
|
+
receiverUserName: string;
|
|
592
610
|
receiverEmail: string;
|
|
593
|
-
|
|
611
|
+
receiverUserTags: string[];
|
|
594
612
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
595
613
|
status: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
|
|
596
614
|
createdAt: {
|
|
@@ -631,7 +649,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
631
649
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
632
650
|
};
|
|
633
651
|
authenticatorId: string;
|
|
634
|
-
|
|
652
|
+
authenticatorName: string;
|
|
635
653
|
createdAt: {
|
|
636
654
|
seconds: string;
|
|
637
655
|
nanos: string;
|
|
@@ -643,7 +661,7 @@ export declare const postGetOrganization: (input: TPostGetOrganizationInput) =>
|
|
|
643
661
|
}[];
|
|
644
662
|
deletedTags?: {
|
|
645
663
|
tagId: string;
|
|
646
|
-
|
|
664
|
+
tagName: string;
|
|
647
665
|
tagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
648
666
|
createdAt: {
|
|
649
667
|
seconds: string;
|
|
@@ -672,8 +690,8 @@ export declare const postGetPolicy: (input: TPostGetPolicyInput) => Promise<{
|
|
|
672
690
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
673
691
|
selectors: {
|
|
674
692
|
subject: string;
|
|
675
|
-
operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
|
|
676
|
-
|
|
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[];
|
|
677
695
|
}[];
|
|
678
696
|
createdAt: {
|
|
679
697
|
seconds: string;
|
|
@@ -698,8 +716,8 @@ export type TPostGetUserInput = {
|
|
|
698
716
|
export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
|
|
699
717
|
user: {
|
|
700
718
|
userId: string;
|
|
701
|
-
|
|
702
|
-
|
|
719
|
+
userName: string;
|
|
720
|
+
userEmail?: string;
|
|
703
721
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
704
722
|
authenticators: {
|
|
705
723
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -713,7 +731,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
|
|
|
713
731
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
714
732
|
};
|
|
715
733
|
authenticatorId: string;
|
|
716
|
-
|
|
734
|
+
authenticatorName: string;
|
|
717
735
|
createdAt: {
|
|
718
736
|
seconds: string;
|
|
719
737
|
nanos: string;
|
|
@@ -739,7 +757,7 @@ export declare const postGetUser: (input: TPostGetUserInput) => Promise<{
|
|
|
739
757
|
nanos: string;
|
|
740
758
|
};
|
|
741
759
|
}[];
|
|
742
|
-
|
|
760
|
+
userTags: string[];
|
|
743
761
|
createdAt: {
|
|
744
762
|
seconds: string;
|
|
745
763
|
nanos: string;
|
|
@@ -913,7 +931,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
913
931
|
policyName: string;
|
|
914
932
|
selectors: {
|
|
915
933
|
subject?: string;
|
|
916
|
-
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";
|
|
917
935
|
target?: string;
|
|
918
936
|
}[];
|
|
919
937
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -974,6 +992,17 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
974
992
|
deletePrivateKeyTagsIntent?: {
|
|
975
993
|
privateKeyTagIds: string[];
|
|
976
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
|
+
};
|
|
977
1006
|
};
|
|
978
1007
|
result: {
|
|
979
1008
|
createOrganizationResult?: {
|
|
@@ -1052,8 +1081,8 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1052
1081
|
userId: string;
|
|
1053
1082
|
user: {
|
|
1054
1083
|
userId: string;
|
|
1055
|
-
|
|
1056
|
-
|
|
1084
|
+
userName: string;
|
|
1085
|
+
userEmail?: string;
|
|
1057
1086
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
1058
1087
|
authenticators: {
|
|
1059
1088
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -1067,7 +1096,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1067
1096
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
1068
1097
|
};
|
|
1069
1098
|
authenticatorId: string;
|
|
1070
|
-
|
|
1099
|
+
authenticatorName: string;
|
|
1071
1100
|
createdAt: {
|
|
1072
1101
|
seconds: string;
|
|
1073
1102
|
nanos: string;
|
|
@@ -1093,7 +1122,7 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1093
1122
|
nanos: string;
|
|
1094
1123
|
};
|
|
1095
1124
|
}[];
|
|
1096
|
-
|
|
1125
|
+
userTags: string[];
|
|
1097
1126
|
createdAt: {
|
|
1098
1127
|
seconds: string;
|
|
1099
1128
|
nanos: string;
|
|
@@ -1116,7 +1145,6 @@ export declare const postGetActivities: (input: TPostGetActivitiesInput) => Prom
|
|
|
1116
1145
|
}[];
|
|
1117
1146
|
fingerprint: string;
|
|
1118
1147
|
canApprove: boolean;
|
|
1119
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
1120
1148
|
canReject: boolean;
|
|
1121
1149
|
createdAt: {
|
|
1122
1150
|
seconds: string;
|
|
@@ -1144,8 +1172,8 @@ export declare const postGetPolicies: (input: TPostGetPoliciesInput) => Promise<
|
|
|
1144
1172
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
1145
1173
|
selectors: {
|
|
1146
1174
|
subject: string;
|
|
1147
|
-
operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL";
|
|
1148
|
-
|
|
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[];
|
|
1149
1177
|
}[];
|
|
1150
1178
|
createdAt: {
|
|
1151
1179
|
seconds: string;
|
|
@@ -1177,7 +1205,11 @@ export declare const postGetPrivateKeys: (input: TPostGetPrivateKeysInput) => Pr
|
|
|
1177
1205
|
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
|
|
1178
1206
|
address?: string;
|
|
1179
1207
|
}[];
|
|
1180
|
-
|
|
1208
|
+
privateKeyTags: string[];
|
|
1209
|
+
createdAt: {
|
|
1210
|
+
seconds: string;
|
|
1211
|
+
nanos: string;
|
|
1212
|
+
};
|
|
1181
1213
|
}[];
|
|
1182
1214
|
}>;
|
|
1183
1215
|
/** `POST /public/v1/query/list_users` */
|
|
@@ -1192,8 +1224,8 @@ export type TPostGetUsersInput = {
|
|
|
1192
1224
|
export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
|
|
1193
1225
|
users: {
|
|
1194
1226
|
userId: string;
|
|
1195
|
-
|
|
1196
|
-
|
|
1227
|
+
userName: string;
|
|
1228
|
+
userEmail?: string;
|
|
1197
1229
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
1198
1230
|
authenticators: {
|
|
1199
1231
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -1207,7 +1239,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
|
|
|
1207
1239
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
1208
1240
|
};
|
|
1209
1241
|
authenticatorId: string;
|
|
1210
|
-
|
|
1242
|
+
authenticatorName: string;
|
|
1211
1243
|
createdAt: {
|
|
1212
1244
|
seconds: string;
|
|
1213
1245
|
nanos: string;
|
|
@@ -1233,7 +1265,7 @@ export declare const postGetUsers: (input: TPostGetUsersInput) => Promise<{
|
|
|
1233
1265
|
nanos: string;
|
|
1234
1266
|
};
|
|
1235
1267
|
}[];
|
|
1236
|
-
|
|
1268
|
+
userTags: string[];
|
|
1237
1269
|
createdAt: {
|
|
1238
1270
|
seconds: string;
|
|
1239
1271
|
nanos: string;
|
|
@@ -1422,7 +1454,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1422
1454
|
policyName: string;
|
|
1423
1455
|
selectors: {
|
|
1424
1456
|
subject?: string;
|
|
1425
|
-
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";
|
|
1426
1458
|
target?: string;
|
|
1427
1459
|
}[];
|
|
1428
1460
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -1483,6 +1515,17 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1483
1515
|
deletePrivateKeyTagsIntent?: {
|
|
1484
1516
|
privateKeyTagIds: string[];
|
|
1485
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
|
+
};
|
|
1486
1529
|
};
|
|
1487
1530
|
result: {
|
|
1488
1531
|
createOrganizationResult?: {
|
|
@@ -1561,8 +1604,8 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1561
1604
|
userId: string;
|
|
1562
1605
|
user: {
|
|
1563
1606
|
userId: string;
|
|
1564
|
-
|
|
1565
|
-
|
|
1607
|
+
userName: string;
|
|
1608
|
+
userEmail?: string;
|
|
1566
1609
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
1567
1610
|
authenticators: {
|
|
1568
1611
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -1576,7 +1619,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1576
1619
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
1577
1620
|
};
|
|
1578
1621
|
authenticatorId: string;
|
|
1579
|
-
|
|
1622
|
+
authenticatorName: string;
|
|
1580
1623
|
createdAt: {
|
|
1581
1624
|
seconds: string;
|
|
1582
1625
|
nanos: string;
|
|
@@ -1602,7 +1645,7 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1602
1645
|
nanos: string;
|
|
1603
1646
|
};
|
|
1604
1647
|
}[];
|
|
1605
|
-
|
|
1648
|
+
userTags: string[];
|
|
1606
1649
|
createdAt: {
|
|
1607
1650
|
seconds: string;
|
|
1608
1651
|
nanos: string;
|
|
@@ -1625,7 +1668,6 @@ export declare const postCreateApiKeys: (input: TPostCreateApiKeysInput) => Prom
|
|
|
1625
1668
|
}[];
|
|
1626
1669
|
fingerprint: string;
|
|
1627
1670
|
canApprove: boolean;
|
|
1628
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
1629
1671
|
canReject: boolean;
|
|
1630
1672
|
createdAt: {
|
|
1631
1673
|
seconds: string;
|
|
@@ -1800,7 +1842,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
1800
1842
|
policyName: string;
|
|
1801
1843
|
selectors: {
|
|
1802
1844
|
subject?: string;
|
|
1803
|
-
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";
|
|
1804
1846
|
target?: string;
|
|
1805
1847
|
}[];
|
|
1806
1848
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -1861,6 +1903,17 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
1861
1903
|
deletePrivateKeyTagsIntent?: {
|
|
1862
1904
|
privateKeyTagIds: string[];
|
|
1863
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
|
+
};
|
|
1864
1917
|
};
|
|
1865
1918
|
result: {
|
|
1866
1919
|
createOrganizationResult?: {
|
|
@@ -1939,8 +1992,8 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
1939
1992
|
userId: string;
|
|
1940
1993
|
user: {
|
|
1941
1994
|
userId: string;
|
|
1942
|
-
|
|
1943
|
-
|
|
1995
|
+
userName: string;
|
|
1996
|
+
userEmail?: string;
|
|
1944
1997
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
1945
1998
|
authenticators: {
|
|
1946
1999
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -1954,7 +2007,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
1954
2007
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
1955
2008
|
};
|
|
1956
2009
|
authenticatorId: string;
|
|
1957
|
-
|
|
2010
|
+
authenticatorName: string;
|
|
1958
2011
|
createdAt: {
|
|
1959
2012
|
seconds: string;
|
|
1960
2013
|
nanos: string;
|
|
@@ -1980,7 +2033,7 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
1980
2033
|
nanos: string;
|
|
1981
2034
|
};
|
|
1982
2035
|
}[];
|
|
1983
|
-
|
|
2036
|
+
userTags: string[];
|
|
1984
2037
|
createdAt: {
|
|
1985
2038
|
seconds: string;
|
|
1986
2039
|
nanos: string;
|
|
@@ -2003,7 +2056,6 @@ export declare const postCreateInvitations: (input: TPostCreateInvitationsInput)
|
|
|
2003
2056
|
}[];
|
|
2004
2057
|
fingerprint: string;
|
|
2005
2058
|
canApprove: boolean;
|
|
2006
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
2007
2059
|
canReject: boolean;
|
|
2008
2060
|
createdAt: {
|
|
2009
2061
|
seconds: string;
|
|
@@ -2178,7 +2230,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2178
2230
|
policyName: string;
|
|
2179
2231
|
selectors: {
|
|
2180
2232
|
subject?: string;
|
|
2181
|
-
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";
|
|
2182
2234
|
target?: string;
|
|
2183
2235
|
}[];
|
|
2184
2236
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -2239,6 +2291,17 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2239
2291
|
deletePrivateKeyTagsIntent?: {
|
|
2240
2292
|
privateKeyTagIds: string[];
|
|
2241
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
|
+
};
|
|
2242
2305
|
};
|
|
2243
2306
|
result: {
|
|
2244
2307
|
createOrganizationResult?: {
|
|
@@ -2317,8 +2380,8 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2317
2380
|
userId: string;
|
|
2318
2381
|
user: {
|
|
2319
2382
|
userId: string;
|
|
2320
|
-
|
|
2321
|
-
|
|
2383
|
+
userName: string;
|
|
2384
|
+
userEmail?: string;
|
|
2322
2385
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
2323
2386
|
authenticators: {
|
|
2324
2387
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -2332,7 +2395,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2332
2395
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
2333
2396
|
};
|
|
2334
2397
|
authenticatorId: string;
|
|
2335
|
-
|
|
2398
|
+
authenticatorName: string;
|
|
2336
2399
|
createdAt: {
|
|
2337
2400
|
seconds: string;
|
|
2338
2401
|
nanos: string;
|
|
@@ -2358,7 +2421,7 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2358
2421
|
nanos: string;
|
|
2359
2422
|
};
|
|
2360
2423
|
}[];
|
|
2361
|
-
|
|
2424
|
+
userTags: string[];
|
|
2362
2425
|
createdAt: {
|
|
2363
2426
|
seconds: string;
|
|
2364
2427
|
nanos: string;
|
|
@@ -2381,7 +2444,6 @@ export declare const postCreatePolicy: (input: TPostCreatePolicyInput) => Promis
|
|
|
2381
2444
|
}[];
|
|
2382
2445
|
fingerprint: string;
|
|
2383
2446
|
canApprove: boolean;
|
|
2384
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
2385
2447
|
canReject: boolean;
|
|
2386
2448
|
createdAt: {
|
|
2387
2449
|
seconds: string;
|
|
@@ -2556,7 +2618,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2556
2618
|
policyName: string;
|
|
2557
2619
|
selectors: {
|
|
2558
2620
|
subject?: string;
|
|
2559
|
-
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";
|
|
2560
2622
|
target?: string;
|
|
2561
2623
|
}[];
|
|
2562
2624
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -2617,6 +2679,17 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2617
2679
|
deletePrivateKeyTagsIntent?: {
|
|
2618
2680
|
privateKeyTagIds: string[];
|
|
2619
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
|
+
};
|
|
2620
2693
|
};
|
|
2621
2694
|
result: {
|
|
2622
2695
|
createOrganizationResult?: {
|
|
@@ -2695,8 +2768,8 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2695
2768
|
userId: string;
|
|
2696
2769
|
user: {
|
|
2697
2770
|
userId: string;
|
|
2698
|
-
|
|
2699
|
-
|
|
2771
|
+
userName: string;
|
|
2772
|
+
userEmail?: string;
|
|
2700
2773
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
2701
2774
|
authenticators: {
|
|
2702
2775
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -2710,7 +2783,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2710
2783
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
2711
2784
|
};
|
|
2712
2785
|
authenticatorId: string;
|
|
2713
|
-
|
|
2786
|
+
authenticatorName: string;
|
|
2714
2787
|
createdAt: {
|
|
2715
2788
|
seconds: string;
|
|
2716
2789
|
nanos: string;
|
|
@@ -2736,7 +2809,7 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2736
2809
|
nanos: string;
|
|
2737
2810
|
};
|
|
2738
2811
|
}[];
|
|
2739
|
-
|
|
2812
|
+
userTags: string[];
|
|
2740
2813
|
createdAt: {
|
|
2741
2814
|
seconds: string;
|
|
2742
2815
|
nanos: string;
|
|
@@ -2759,7 +2832,6 @@ export declare const postCreatePrivateKeys: (input: TPostCreatePrivateKeysInput)
|
|
|
2759
2832
|
}[];
|
|
2760
2833
|
fingerprint: string;
|
|
2761
2834
|
canApprove: boolean;
|
|
2762
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
2763
2835
|
canReject: boolean;
|
|
2764
2836
|
createdAt: {
|
|
2765
2837
|
seconds: string;
|
|
@@ -2934,7 +3006,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
2934
3006
|
policyName: string;
|
|
2935
3007
|
selectors: {
|
|
2936
3008
|
subject?: string;
|
|
2937
|
-
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";
|
|
2938
3010
|
target?: string;
|
|
2939
3011
|
}[];
|
|
2940
3012
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -2995,6 +3067,17 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
2995
3067
|
deletePrivateKeyTagsIntent?: {
|
|
2996
3068
|
privateKeyTagIds: string[];
|
|
2997
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
|
+
};
|
|
2998
3081
|
};
|
|
2999
3082
|
result: {
|
|
3000
3083
|
createOrganizationResult?: {
|
|
@@ -3073,8 +3156,8 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
3073
3156
|
userId: string;
|
|
3074
3157
|
user: {
|
|
3075
3158
|
userId: string;
|
|
3076
|
-
|
|
3077
|
-
|
|
3159
|
+
userName: string;
|
|
3160
|
+
userEmail?: string;
|
|
3078
3161
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
3079
3162
|
authenticators: {
|
|
3080
3163
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -3088,7 +3171,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
3088
3171
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
3089
3172
|
};
|
|
3090
3173
|
authenticatorId: string;
|
|
3091
|
-
|
|
3174
|
+
authenticatorName: string;
|
|
3092
3175
|
createdAt: {
|
|
3093
3176
|
seconds: string;
|
|
3094
3177
|
nanos: string;
|
|
@@ -3114,7 +3197,7 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
3114
3197
|
nanos: string;
|
|
3115
3198
|
};
|
|
3116
3199
|
}[];
|
|
3117
|
-
|
|
3200
|
+
userTags: string[];
|
|
3118
3201
|
createdAt: {
|
|
3119
3202
|
seconds: string;
|
|
3120
3203
|
nanos: string;
|
|
@@ -3137,7 +3220,6 @@ export declare const postDeleteApiKeys: (input: TPostDeleteApiKeysInput) => Prom
|
|
|
3137
3220
|
}[];
|
|
3138
3221
|
fingerprint: string;
|
|
3139
3222
|
canApprove: boolean;
|
|
3140
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
3141
3223
|
canReject: boolean;
|
|
3142
3224
|
createdAt: {
|
|
3143
3225
|
seconds: string;
|
|
@@ -3312,7 +3394,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3312
3394
|
policyName: string;
|
|
3313
3395
|
selectors: {
|
|
3314
3396
|
subject?: string;
|
|
3315
|
-
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";
|
|
3316
3398
|
target?: string;
|
|
3317
3399
|
}[];
|
|
3318
3400
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -3373,6 +3455,17 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3373
3455
|
deletePrivateKeyTagsIntent?: {
|
|
3374
3456
|
privateKeyTagIds: string[];
|
|
3375
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
|
+
};
|
|
3376
3469
|
};
|
|
3377
3470
|
result: {
|
|
3378
3471
|
createOrganizationResult?: {
|
|
@@ -3451,8 +3544,8 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3451
3544
|
userId: string;
|
|
3452
3545
|
user: {
|
|
3453
3546
|
userId: string;
|
|
3454
|
-
|
|
3455
|
-
|
|
3547
|
+
userName: string;
|
|
3548
|
+
userEmail?: string;
|
|
3456
3549
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
3457
3550
|
authenticators: {
|
|
3458
3551
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -3466,7 +3559,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3466
3559
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
3467
3560
|
};
|
|
3468
3561
|
authenticatorId: string;
|
|
3469
|
-
|
|
3562
|
+
authenticatorName: string;
|
|
3470
3563
|
createdAt: {
|
|
3471
3564
|
seconds: string;
|
|
3472
3565
|
nanos: string;
|
|
@@ -3492,7 +3585,7 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3492
3585
|
nanos: string;
|
|
3493
3586
|
};
|
|
3494
3587
|
}[];
|
|
3495
|
-
|
|
3588
|
+
userTags: string[];
|
|
3496
3589
|
createdAt: {
|
|
3497
3590
|
seconds: string;
|
|
3498
3591
|
nanos: string;
|
|
@@ -3515,7 +3608,6 @@ export declare const postDeleteInvitation: (input: TPostDeleteInvitationInput) =
|
|
|
3515
3608
|
}[];
|
|
3516
3609
|
fingerprint: string;
|
|
3517
3610
|
canApprove: boolean;
|
|
3518
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
3519
3611
|
canReject: boolean;
|
|
3520
3612
|
createdAt: {
|
|
3521
3613
|
seconds: string;
|
|
@@ -3690,7 +3782,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3690
3782
|
policyName: string;
|
|
3691
3783
|
selectors: {
|
|
3692
3784
|
subject?: string;
|
|
3693
|
-
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";
|
|
3694
3786
|
target?: string;
|
|
3695
3787
|
}[];
|
|
3696
3788
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -3751,6 +3843,17 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3751
3843
|
deletePrivateKeyTagsIntent?: {
|
|
3752
3844
|
privateKeyTagIds: string[];
|
|
3753
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
|
+
};
|
|
3754
3857
|
};
|
|
3755
3858
|
result: {
|
|
3756
3859
|
createOrganizationResult?: {
|
|
@@ -3829,8 +3932,8 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3829
3932
|
userId: string;
|
|
3830
3933
|
user: {
|
|
3831
3934
|
userId: string;
|
|
3832
|
-
|
|
3833
|
-
|
|
3935
|
+
userName: string;
|
|
3936
|
+
userEmail?: string;
|
|
3834
3937
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
3835
3938
|
authenticators: {
|
|
3836
3939
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -3844,7 +3947,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3844
3947
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
3845
3948
|
};
|
|
3846
3949
|
authenticatorId: string;
|
|
3847
|
-
|
|
3950
|
+
authenticatorName: string;
|
|
3848
3951
|
createdAt: {
|
|
3849
3952
|
seconds: string;
|
|
3850
3953
|
nanos: string;
|
|
@@ -3870,7 +3973,7 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3870
3973
|
nanos: string;
|
|
3871
3974
|
};
|
|
3872
3975
|
}[];
|
|
3873
|
-
|
|
3976
|
+
userTags: string[];
|
|
3874
3977
|
createdAt: {
|
|
3875
3978
|
seconds: string;
|
|
3876
3979
|
nanos: string;
|
|
@@ -3893,7 +3996,6 @@ export declare const postDeletePolicy: (input: TPostDeletePolicyInput) => Promis
|
|
|
3893
3996
|
}[];
|
|
3894
3997
|
fingerprint: string;
|
|
3895
3998
|
canApprove: boolean;
|
|
3896
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
3897
3999
|
canReject: boolean;
|
|
3898
4000
|
createdAt: {
|
|
3899
4001
|
seconds: string;
|
|
@@ -4068,7 +4170,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4068
4170
|
policyName: string;
|
|
4069
4171
|
selectors: {
|
|
4070
4172
|
subject?: string;
|
|
4071
|
-
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";
|
|
4072
4174
|
target?: string;
|
|
4073
4175
|
}[];
|
|
4074
4176
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -4129,6 +4231,17 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4129
4231
|
deletePrivateKeyTagsIntent?: {
|
|
4130
4232
|
privateKeyTagIds: string[];
|
|
4131
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
|
+
};
|
|
4132
4245
|
};
|
|
4133
4246
|
result: {
|
|
4134
4247
|
createOrganizationResult?: {
|
|
@@ -4207,8 +4320,8 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4207
4320
|
userId: string;
|
|
4208
4321
|
user: {
|
|
4209
4322
|
userId: string;
|
|
4210
|
-
|
|
4211
|
-
|
|
4323
|
+
userName: string;
|
|
4324
|
+
userEmail?: string;
|
|
4212
4325
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
4213
4326
|
authenticators: {
|
|
4214
4327
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -4222,7 +4335,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4222
4335
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
4223
4336
|
};
|
|
4224
4337
|
authenticatorId: string;
|
|
4225
|
-
|
|
4338
|
+
authenticatorName: string;
|
|
4226
4339
|
createdAt: {
|
|
4227
4340
|
seconds: string;
|
|
4228
4341
|
nanos: string;
|
|
@@ -4248,7 +4361,7 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4248
4361
|
nanos: string;
|
|
4249
4362
|
};
|
|
4250
4363
|
}[];
|
|
4251
|
-
|
|
4364
|
+
userTags: string[];
|
|
4252
4365
|
createdAt: {
|
|
4253
4366
|
seconds: string;
|
|
4254
4367
|
nanos: string;
|
|
@@ -4271,7 +4384,6 @@ export declare const postSignRawPayload: (input: TPostSignRawPayloadInput) => Pr
|
|
|
4271
4384
|
}[];
|
|
4272
4385
|
fingerprint: string;
|
|
4273
4386
|
canApprove: boolean;
|
|
4274
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
4275
4387
|
canReject: boolean;
|
|
4276
4388
|
createdAt: {
|
|
4277
4389
|
seconds: string;
|
|
@@ -4446,7 +4558,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4446
4558
|
policyName: string;
|
|
4447
4559
|
selectors: {
|
|
4448
4560
|
subject?: string;
|
|
4449
|
-
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";
|
|
4450
4562
|
target?: string;
|
|
4451
4563
|
}[];
|
|
4452
4564
|
effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -4507,6 +4619,17 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4507
4619
|
deletePrivateKeyTagsIntent?: {
|
|
4508
4620
|
privateKeyTagIds: string[];
|
|
4509
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
|
+
};
|
|
4510
4633
|
};
|
|
4511
4634
|
result: {
|
|
4512
4635
|
createOrganizationResult?: {
|
|
@@ -4585,8 +4708,8 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4585
4708
|
userId: string;
|
|
4586
4709
|
user: {
|
|
4587
4710
|
userId: string;
|
|
4588
|
-
|
|
4589
|
-
|
|
4711
|
+
userName: string;
|
|
4712
|
+
userEmail?: string;
|
|
4590
4713
|
accessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
4591
4714
|
authenticators: {
|
|
4592
4715
|
transports: ("AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID")[];
|
|
@@ -4600,7 +4723,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4600
4723
|
type: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
4601
4724
|
};
|
|
4602
4725
|
authenticatorId: string;
|
|
4603
|
-
|
|
4726
|
+
authenticatorName: string;
|
|
4604
4727
|
createdAt: {
|
|
4605
4728
|
seconds: string;
|
|
4606
4729
|
nanos: string;
|
|
@@ -4626,7 +4749,7 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4626
4749
|
nanos: string;
|
|
4627
4750
|
};
|
|
4628
4751
|
}[];
|
|
4629
|
-
|
|
4752
|
+
userTags: string[];
|
|
4630
4753
|
createdAt: {
|
|
4631
4754
|
seconds: string;
|
|
4632
4755
|
nanos: string;
|
|
@@ -4649,7 +4772,6 @@ export declare const postSignTransaction: (input: TPostSignTransactionInput) =>
|
|
|
4649
4772
|
}[];
|
|
4650
4773
|
fingerprint: string;
|
|
4651
4774
|
canApprove: boolean;
|
|
4652
|
-
/** `POST /public/v1/submit/create_invitations` */
|
|
4653
4775
|
canReject: boolean;
|
|
4654
4776
|
createdAt: {
|
|
4655
4777
|
seconds: string;
|
|
@@ -4680,7 +4802,11 @@ export declare const postGetPrivateKey: (input: TPostGetPrivateKeyInput) => Prom
|
|
|
4680
4802
|
format?: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_BITCOIN_P2PKH" | "ADDRESS_FORMAT_BITCOIN_P2PKH_TESTNET";
|
|
4681
4803
|
address?: string;
|
|
4682
4804
|
}[];
|
|
4683
|
-
|
|
4805
|
+
privateKeyTags: string[];
|
|
4806
|
+
createdAt: {
|
|
4807
|
+
seconds: string;
|
|
4808
|
+
nanos: string;
|
|
4809
|
+
};
|
|
4684
4810
|
};
|
|
4685
4811
|
}>;
|
|
4686
4812
|
export {};
|