@onkernel/sdk 0.112.0 → 0.114.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 +20 -0
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +113 -1
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +113 -1
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browser-pools.d.mts +59 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +59 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +32 -2
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +32 -2
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +17 -1
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +17 -1
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/search/providers.d.mts +2 -1
- package/resources/search/providers.d.mts.map +1 -1
- package/resources/search/providers.d.ts +2 -1
- package/resources/search/providers.d.ts.map +1 -1
- package/resources/vault-provider-configs.d.mts +18 -0
- package/resources/vault-provider-configs.d.mts.map +1 -1
- package/resources/vault-provider-configs.d.ts +18 -0
- package/resources/vault-provider-configs.d.ts.map +1 -1
- package/resources/vault-provider-configs.js +1 -0
- package/resources/vault-provider-configs.js.map +1 -1
- package/resources/vault-provider-configs.mjs +1 -0
- package/resources/vault-provider-configs.mjs.map +1 -1
- package/resources/vaults/index.d.mts +1 -1
- package/resources/vaults/index.d.mts.map +1 -1
- package/resources/vaults/index.d.ts +1 -1
- package/resources/vaults/index.d.ts.map +1 -1
- package/resources/vaults/index.js.map +1 -1
- package/resources/vaults/index.mjs.map +1 -1
- package/resources/vaults/items.d.mts +573 -72
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +573 -72
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/vaults.d.mts +2 -2
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +2 -2
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/resources/auth/connections.ts +128 -1
- package/src/resources/browser-pools.ts +68 -0
- package/src/resources/browsers/browsers.ts +36 -0
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/browsers/telemetry.ts +19 -0
- package/src/resources/search/providers.ts +2 -1
- package/src/resources/vault-provider-configs.ts +21 -0
- package/src/resources/vaults/index.ts +15 -0
- package/src/resources/vaults/items.ts +787 -70
- package/src/resources/vaults/vaults.ts +30 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -415,6 +415,49 @@ export declare namespace CardVaultItemState {
|
|
|
415
415
|
export interface CollectVaultItemOperationRequest {
|
|
416
416
|
type: 'collect';
|
|
417
417
|
}
|
|
418
|
+
export interface CredentialAccountVaultItem {
|
|
419
|
+
id: string;
|
|
420
|
+
available_expansions: Array<CredentialAccountVaultItem.AvailableExpansion>;
|
|
421
|
+
/**
|
|
422
|
+
* Advertises 1pw_recover when Kernel can recover a failed account link. Recovery
|
|
423
|
+
* is unavailable while authorization is pending or after the connection has
|
|
424
|
+
* already been reset.
|
|
425
|
+
*/
|
|
426
|
+
available_operations: Array<CredentialAccountVaultItem.AvailableOperation>;
|
|
427
|
+
created_at: string;
|
|
428
|
+
/**
|
|
429
|
+
* Immutable item key assigned when the item is created.
|
|
430
|
+
*/
|
|
431
|
+
key: string;
|
|
432
|
+
spec: OnePasswordCredentialAccountSpec;
|
|
433
|
+
state: OnePasswordCredentialAccountState;
|
|
434
|
+
type: 'credential_account';
|
|
435
|
+
updated_at: string;
|
|
436
|
+
action?: OnePasswordOAuthAction;
|
|
437
|
+
expires_at?: string;
|
|
438
|
+
}
|
|
439
|
+
export declare namespace CredentialAccountVaultItem {
|
|
440
|
+
/**
|
|
441
|
+
* Live data that can currently be requested by passing its type to the item GET
|
|
442
|
+
* expand parameter.
|
|
443
|
+
*/
|
|
444
|
+
interface AvailableExpansion {
|
|
445
|
+
description: string;
|
|
446
|
+
type: 'payment_methods';
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* An operation that is currently valid for this item. Read the description before
|
|
450
|
+
* invoking it through the item operations endpoint.
|
|
451
|
+
*/
|
|
452
|
+
interface AvailableOperation {
|
|
453
|
+
description: string;
|
|
454
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
export interface CredentialAccountVaultItemRequest {
|
|
458
|
+
spec: OnePasswordCredentialAccountSpec;
|
|
459
|
+
type: 'credential_account';
|
|
460
|
+
}
|
|
418
461
|
/**
|
|
419
462
|
* One schema-derived form for the item, available in ready or pending_collection
|
|
420
463
|
* state. Render every form-supported field as editable; omit totp fields and
|
|
@@ -562,8 +605,10 @@ export interface CredentialVaultItem {
|
|
|
562
605
|
id: string;
|
|
563
606
|
available_expansions: Array<CredentialVaultItem.AvailableExpansion>;
|
|
564
607
|
/**
|
|
565
|
-
*
|
|
566
|
-
*
|
|
608
|
+
* Kernel credentials advertise collect and fill when eligible. 1Password
|
|
609
|
+
* credentials advertise 1pw_create_access_request until a request is made,
|
|
610
|
+
* 1pw_access_request_status while its approval is pending, and 1pw_fill after
|
|
611
|
+
* access is granted.
|
|
567
612
|
*/
|
|
568
613
|
available_operations: Array<CredentialVaultItem.AvailableOperation>;
|
|
569
614
|
created_at: string;
|
|
@@ -571,6 +616,10 @@ export interface CredentialVaultItem {
|
|
|
571
616
|
* Immutable item key assigned when the item is created.
|
|
572
617
|
*/
|
|
573
618
|
key: string;
|
|
619
|
+
/**
|
|
620
|
+
* Stored-token credentials omit account and never return access_token or
|
|
621
|
+
* integration_key.
|
|
622
|
+
*/
|
|
574
623
|
spec: CredentialVaultItemSpec;
|
|
575
624
|
state: CredentialVaultItemState;
|
|
576
625
|
type: 'credential';
|
|
@@ -607,7 +656,7 @@ export interface CredentialVaultItem {
|
|
|
607
656
|
* authenticate the customer's end users. Treat URLs and submitted values as
|
|
608
657
|
* secrets and exclude them from logs, traces, and errors.
|
|
609
658
|
*/
|
|
610
|
-
action?: CredentialCollectionAction;
|
|
659
|
+
action?: CredentialCollectionAction | CredentialVaultItem.OnePasswordAccessApprovalAction;
|
|
611
660
|
}
|
|
612
661
|
export declare namespace CredentialVaultItem {
|
|
613
662
|
/**
|
|
@@ -624,22 +673,34 @@ export declare namespace CredentialVaultItem {
|
|
|
624
673
|
*/
|
|
625
674
|
interface AvailableOperation {
|
|
626
675
|
description: string;
|
|
627
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill';
|
|
676
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
677
|
+
}
|
|
678
|
+
interface OnePasswordAccessApprovalAction {
|
|
679
|
+
/**
|
|
680
|
+
* Steps for the agent to hand approval to the human and poll the resulting
|
|
681
|
+
* decision.
|
|
682
|
+
*/
|
|
683
|
+
instructions: string;
|
|
684
|
+
name: '1password_access_approval';
|
|
685
|
+
/**
|
|
686
|
+
* Native 1Password approval link. Present it to the account owner without
|
|
687
|
+
* modifying it; it does not grant access until they approve in their app.
|
|
688
|
+
*/
|
|
689
|
+
url: string;
|
|
628
690
|
}
|
|
629
691
|
}
|
|
630
692
|
/**
|
|
631
|
-
*
|
|
632
|
-
*
|
|
633
|
-
*
|
|
634
|
-
*
|
|
635
|
-
*
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
* collect it. Optional totp fields may be unset and populated later through PATCH.
|
|
693
|
+
* Ask the end-user whether to link their site credential through 1Password. If
|
|
694
|
+
* they choose 1Password, connect their account and request access to a login in
|
|
695
|
+
* their own non-shared vault; passkeys are not supported. If they decline or that
|
|
696
|
+
* path fails, collect a Kernel-hosted credential item instead. Never automatically
|
|
697
|
+
* retry an uncertain 1Password request or fill. Do not use credential items for
|
|
698
|
+
* credit card data. Use wallet and card item types instead. Kernel credentials
|
|
699
|
+
* declare fields and may enter pending_collection. 1Password credentials either
|
|
700
|
+
* reference a connected credential_account or store a supplied access token and
|
|
701
|
+
* integration key encrypted on the item. They store no login values or selectors.
|
|
702
|
+
* Repeating the original creation request returns the current item without
|
|
703
|
+
* overwriting later state. A different request at the same key returns 409.
|
|
643
704
|
*/
|
|
644
705
|
export interface CredentialVaultItemRequest {
|
|
645
706
|
/**
|
|
@@ -652,18 +713,11 @@ export interface CredentialVaultItemRequest {
|
|
|
652
713
|
spec: CredentialVaultItemSpecInput;
|
|
653
714
|
type: 'credential';
|
|
654
715
|
}
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* Recognizable site or service name displayed verbatim as the form title, without
|
|
662
|
-
* suffixes such as sign-in credentials. Display text only, not an enforced
|
|
663
|
-
* destination policy.
|
|
664
|
-
*/
|
|
665
|
-
description?: string;
|
|
666
|
-
}
|
|
716
|
+
/**
|
|
717
|
+
* Stored-token credentials omit account and never return access_token or
|
|
718
|
+
* integration_key.
|
|
719
|
+
*/
|
|
720
|
+
export type CredentialVaultItemSpec = KernelCredentialVaultItemSpec | OnePasswordCredentialVaultItemSpec;
|
|
667
721
|
/**
|
|
668
722
|
* Credential fields are for login and other non-payment credentials. Do not store,
|
|
669
723
|
* collect, or fill credit card data in credential items. Use wallet and card item
|
|
@@ -671,20 +725,7 @@ export interface CredentialVaultItemSpec {
|
|
|
671
725
|
* the user-facing collection form, so list fields in the same top-to-bottom order
|
|
672
726
|
* as the website.
|
|
673
727
|
*/
|
|
674
|
-
export
|
|
675
|
-
/**
|
|
676
|
-
* Ordered field definitions. Use the website's top-to-bottom field order; the
|
|
677
|
-
* collection form renders this order unchanged.
|
|
678
|
-
*/
|
|
679
|
-
fields: Array<CredentialVaultFieldInput>;
|
|
680
|
-
/**
|
|
681
|
-
* The site's recognizable display name, used verbatim as the user-facing form
|
|
682
|
-
* title (for example, Hacker News). Use only the site or service name; do not
|
|
683
|
-
* append sign-in, login, credentials, or task instructions. This is display text,
|
|
684
|
-
* not an enforced destination policy. At most 16 KiB in UTF-8 bytes.
|
|
685
|
-
*/
|
|
686
|
-
description?: string;
|
|
687
|
-
}
|
|
728
|
+
export type CredentialVaultItemSpecInput = KernelCredentialVaultItemSpecInput | OnePasswordCredentialVaultItemSpecInput;
|
|
688
729
|
export interface CredentialVaultItemSpecUpdate {
|
|
689
730
|
/**
|
|
690
731
|
* Recognizable site or service name used as the form title, without suffixes such
|
|
@@ -696,19 +737,7 @@ export interface CredentialVaultItemSpecUpdate {
|
|
|
696
737
|
[key: string]: CredentialVaultFieldUpdate;
|
|
697
738
|
};
|
|
698
739
|
}
|
|
699
|
-
export
|
|
700
|
-
/**
|
|
701
|
-
* Exactly one entry for each declared field.
|
|
702
|
-
*/
|
|
703
|
-
fields: {
|
|
704
|
-
[key: string]: CredentialVaultFieldState;
|
|
705
|
-
};
|
|
706
|
-
/**
|
|
707
|
-
* Ready means all required fields have values, not that a login succeeded.
|
|
708
|
-
* Optional fields may remain unset.
|
|
709
|
-
*/
|
|
710
|
-
status: 'pending_collection' | 'ready';
|
|
711
|
-
}
|
|
740
|
+
export type CredentialVaultItemState = KernelCredentialVaultItemState | OnePasswordCredentialVaultItemState;
|
|
712
741
|
/**
|
|
713
742
|
* Atomically update description and selected values. Omitted properties are
|
|
714
743
|
* preserved. Field names, types, required flags, and sensitivity cannot change.
|
|
@@ -801,6 +830,364 @@ export interface FillVaultItemOperationResult {
|
|
|
801
830
|
status: 'completed' | 'failed' | 'unknown';
|
|
802
831
|
type: 'fill';
|
|
803
832
|
}
|
|
833
|
+
export interface KernelCredentialVaultItemSpec {
|
|
834
|
+
/**
|
|
835
|
+
* Ordered field definitions rendered in this order by credential collection forms.
|
|
836
|
+
*/
|
|
837
|
+
fields: Array<CredentialVaultFieldDefinition>;
|
|
838
|
+
provider: 'kernel';
|
|
839
|
+
/**
|
|
840
|
+
* Recognizable site or service name displayed verbatim as the form title, without
|
|
841
|
+
* suffixes such as sign-in credentials. Display text only, not an enforced
|
|
842
|
+
* destination policy.
|
|
843
|
+
*/
|
|
844
|
+
description?: string;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Credential fields are for login and other non-payment credentials. Do not store,
|
|
848
|
+
* collect, or fill credit card data in credential items. Use wallet and card item
|
|
849
|
+
* types for credit cards and payment checkout instead. Field order is preserved in
|
|
850
|
+
* the user-facing collection form, so list fields in the same top-to-bottom order
|
|
851
|
+
* as the website.
|
|
852
|
+
*/
|
|
853
|
+
export interface KernelCredentialVaultItemSpecInput {
|
|
854
|
+
/**
|
|
855
|
+
* Ordered field definitions. Use the website's top-to-bottom field order; the
|
|
856
|
+
* collection form renders this order unchanged.
|
|
857
|
+
*/
|
|
858
|
+
fields: Array<CredentialVaultFieldInput>;
|
|
859
|
+
provider: 'kernel';
|
|
860
|
+
/**
|
|
861
|
+
* The site's recognizable display name, used verbatim as the user-facing form
|
|
862
|
+
* title (for example, Hacker News). Use only the site or service name; do not
|
|
863
|
+
* append sign-in, login, credentials, or task instructions. This is display text,
|
|
864
|
+
* not an enforced destination policy. At most 16 KiB in UTF-8 bytes.
|
|
865
|
+
*/
|
|
866
|
+
description?: string;
|
|
867
|
+
}
|
|
868
|
+
export interface KernelCredentialVaultItemState {
|
|
869
|
+
/**
|
|
870
|
+
* Exactly one entry for each declared field.
|
|
871
|
+
*/
|
|
872
|
+
fields: {
|
|
873
|
+
[key: string]: CredentialVaultFieldState;
|
|
874
|
+
};
|
|
875
|
+
provider: 'kernel';
|
|
876
|
+
/**
|
|
877
|
+
* Ready means all required fields have values, not that a login succeeded.
|
|
878
|
+
* Optional fields may remain unset.
|
|
879
|
+
*/
|
|
880
|
+
status: 'pending_collection' | 'ready';
|
|
881
|
+
}
|
|
882
|
+
export interface OnePasswordCredentialAccountSpec {
|
|
883
|
+
authorization: OnePasswordCredentialAccountSpec.Authorization;
|
|
884
|
+
provider: '1password';
|
|
885
|
+
}
|
|
886
|
+
export declare namespace OnePasswordCredentialAccountSpec {
|
|
887
|
+
interface Authorization {
|
|
888
|
+
client: Authorization.Client;
|
|
889
|
+
method: 'oauth';
|
|
890
|
+
}
|
|
891
|
+
namespace Authorization {
|
|
892
|
+
interface Client {
|
|
893
|
+
type: 'kernel_managed';
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
export interface OnePasswordCredentialAccountState {
|
|
898
|
+
provider: '1password';
|
|
899
|
+
status: 'pending_authorization' | 'connected' | 'reconnect_required' | 'declined';
|
|
900
|
+
status_reason?: string;
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Stored-token credentials omit account and never return access_token or
|
|
904
|
+
* integration_key.
|
|
905
|
+
*/
|
|
906
|
+
export interface OnePasswordCredentialVaultItemSpec {
|
|
907
|
+
provider: '1password';
|
|
908
|
+
/**
|
|
909
|
+
* Credential Request v2 input sent to the extension. A credential item may request
|
|
910
|
+
* up to five login entries.
|
|
911
|
+
*/
|
|
912
|
+
requests: OnePasswordCredentialVaultItemSpec.Requests;
|
|
913
|
+
/**
|
|
914
|
+
* Customer-supplied expiry metadata, if provided.
|
|
915
|
+
*/
|
|
916
|
+
access_token_expires_at?: string;
|
|
917
|
+
account?: string;
|
|
918
|
+
}
|
|
919
|
+
export declare namespace OnePasswordCredentialVaultItemSpec {
|
|
920
|
+
/**
|
|
921
|
+
* Credential Request v2 input sent to the extension. A credential item may request
|
|
922
|
+
* up to five login entries.
|
|
923
|
+
*/
|
|
924
|
+
interface Requests {
|
|
925
|
+
entries: Array<Requests.Entry>;
|
|
926
|
+
/**
|
|
927
|
+
* Must be 2.
|
|
928
|
+
*/
|
|
929
|
+
version: number;
|
|
930
|
+
goal?: string;
|
|
931
|
+
}
|
|
932
|
+
namespace Requests {
|
|
933
|
+
interface Entry {
|
|
934
|
+
parameters: Entry.Parameters;
|
|
935
|
+
/**
|
|
936
|
+
* Must be login.
|
|
937
|
+
*/
|
|
938
|
+
type: string;
|
|
939
|
+
keywords?: Array<string>;
|
|
940
|
+
reason?: string;
|
|
941
|
+
}
|
|
942
|
+
namespace Entry {
|
|
943
|
+
interface Parameters {
|
|
944
|
+
website: string;
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* A login request backed by a connected 1Password account or by a
|
|
951
|
+
* customer-supplied access token and matching integration key. Supply either
|
|
952
|
+
* account or both secrets, never both. Supplied secrets are write-only and never
|
|
953
|
+
* returned. Supply requests for new items; website remains supported for existing
|
|
954
|
+
* account-backed callers.
|
|
955
|
+
*/
|
|
956
|
+
export interface OnePasswordCredentialVaultItemSpecInput {
|
|
957
|
+
provider: '1password';
|
|
958
|
+
/**
|
|
959
|
+
* Customer-supplied 1Password broker token. Requires integration_key; stored
|
|
960
|
+
* encrypted on this item. Omit if providing a connected credential_account item
|
|
961
|
+
* via the account field.
|
|
962
|
+
*/
|
|
963
|
+
access_token?: string;
|
|
964
|
+
/**
|
|
965
|
+
* Optional supplied token expiry metadata for stored-token credentials. Omit if
|
|
966
|
+
* providing a connected credential_account item via the account field.
|
|
967
|
+
*/
|
|
968
|
+
access_token_expires_at?: string;
|
|
969
|
+
/**
|
|
970
|
+
* Key of a connected credential_account item in the same vault. Omit for
|
|
971
|
+
* stored-token credentials.
|
|
972
|
+
*/
|
|
973
|
+
account?: string;
|
|
974
|
+
/**
|
|
975
|
+
* Matching customer-supplied integration key. Requires access_token; stored
|
|
976
|
+
* encrypted on this item. Omit if providing a connected credential_account item
|
|
977
|
+
* via the account field.
|
|
978
|
+
*/
|
|
979
|
+
integration_key?: string;
|
|
980
|
+
/**
|
|
981
|
+
* Credential Request v2 input sent to the extension. A credential item may request
|
|
982
|
+
* up to five login entries.
|
|
983
|
+
*/
|
|
984
|
+
requests?: OnePasswordCredentialVaultItemSpecInput.Requests;
|
|
985
|
+
/**
|
|
986
|
+
* @deprecated Legacy single-login shorthand. Supply requests instead.
|
|
987
|
+
*/
|
|
988
|
+
website?: string;
|
|
989
|
+
}
|
|
990
|
+
export declare namespace OnePasswordCredentialVaultItemSpecInput {
|
|
991
|
+
/**
|
|
992
|
+
* Credential Request v2 input sent to the extension. A credential item may request
|
|
993
|
+
* up to five login entries.
|
|
994
|
+
*/
|
|
995
|
+
interface Requests {
|
|
996
|
+
entries: Array<Requests.Entry>;
|
|
997
|
+
/**
|
|
998
|
+
* Must be 2.
|
|
999
|
+
*/
|
|
1000
|
+
version: number;
|
|
1001
|
+
goal?: string;
|
|
1002
|
+
}
|
|
1003
|
+
namespace Requests {
|
|
1004
|
+
interface Entry {
|
|
1005
|
+
parameters: Entry.Parameters;
|
|
1006
|
+
/**
|
|
1007
|
+
* Must be login.
|
|
1008
|
+
*/
|
|
1009
|
+
type: string;
|
|
1010
|
+
keywords?: Array<string>;
|
|
1011
|
+
reason?: string;
|
|
1012
|
+
}
|
|
1013
|
+
namespace Entry {
|
|
1014
|
+
interface Parameters {
|
|
1015
|
+
website: string;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
export interface OnePasswordCredentialVaultItemState {
|
|
1021
|
+
provider: '1password';
|
|
1022
|
+
status: 'pending_authorization' | 'ready' | 'declined' | 'failed';
|
|
1023
|
+
/**
|
|
1024
|
+
* Non-secret broker state. Granted credential references stay encrypted
|
|
1025
|
+
* server-side and can only be used by the fill operation.
|
|
1026
|
+
*/
|
|
1027
|
+
access_request?: OnePasswordCredentialVaultItemState.AccessRequest;
|
|
1028
|
+
/**
|
|
1029
|
+
* Opaque request ID returned by the 1Password broker after a successful
|
|
1030
|
+
* createAccessRequest call.
|
|
1031
|
+
*/
|
|
1032
|
+
access_request_id?: string;
|
|
1033
|
+
status_reason?: string;
|
|
1034
|
+
}
|
|
1035
|
+
export declare namespace OnePasswordCredentialVaultItemState {
|
|
1036
|
+
/**
|
|
1037
|
+
* Non-secret broker state. Granted credential references stay encrypted
|
|
1038
|
+
* server-side and can only be used by the fill operation.
|
|
1039
|
+
*/
|
|
1040
|
+
interface AccessRequest {
|
|
1041
|
+
id: string;
|
|
1042
|
+
has_autofill_token: boolean;
|
|
1043
|
+
/**
|
|
1044
|
+
* One of pending, resolved, denied, or failed.
|
|
1045
|
+
*/
|
|
1046
|
+
state: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* Provider-created timestamp as returned by the broker.
|
|
1049
|
+
*/
|
|
1050
|
+
createdAt?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Login entries returned directly on accessRequest by the observed extension
|
|
1053
|
+
* build. Omitted when the provider does not supply them.
|
|
1054
|
+
*/
|
|
1055
|
+
entries?: Array<AccessRequest.Entry>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Goal echoed by the observed createAccessRequest response when present.
|
|
1058
|
+
*/
|
|
1059
|
+
goal?: string;
|
|
1060
|
+
granted_count?: number;
|
|
1061
|
+
/**
|
|
1062
|
+
* Opaque provider identity returned by the broker.
|
|
1063
|
+
*/
|
|
1064
|
+
identity?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Provider path if supplied in the broker response.
|
|
1067
|
+
*/
|
|
1068
|
+
path?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* The request object if returned by the extension. The observed create response
|
|
1071
|
+
* may omit entries; no entry IDs are invented.
|
|
1072
|
+
*/
|
|
1073
|
+
request?: AccessRequest.Request;
|
|
1074
|
+
}
|
|
1075
|
+
namespace AccessRequest {
|
|
1076
|
+
interface Entry {
|
|
1077
|
+
id?: string;
|
|
1078
|
+
keywords?: Array<string>;
|
|
1079
|
+
parameters?: Entry.Parameters;
|
|
1080
|
+
reason?: string;
|
|
1081
|
+
type?: string;
|
|
1082
|
+
}
|
|
1083
|
+
namespace Entry {
|
|
1084
|
+
interface Parameters {
|
|
1085
|
+
website?: string;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* The request object if returned by the extension. The observed create response
|
|
1090
|
+
* may omit entries; no entry IDs are invented.
|
|
1091
|
+
*/
|
|
1092
|
+
interface Request {
|
|
1093
|
+
entries?: Array<Request.Entry>;
|
|
1094
|
+
goal?: string;
|
|
1095
|
+
version?: number;
|
|
1096
|
+
}
|
|
1097
|
+
namespace Request {
|
|
1098
|
+
interface Entry {
|
|
1099
|
+
id?: string;
|
|
1100
|
+
keywords?: Array<string>;
|
|
1101
|
+
parameters?: Entry.Parameters;
|
|
1102
|
+
reason?: string;
|
|
1103
|
+
type?: string;
|
|
1104
|
+
}
|
|
1105
|
+
namespace Entry {
|
|
1106
|
+
interface Parameters {
|
|
1107
|
+
website?: string;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* Fill and submit an approved 1Password login in the selected browser page. The
|
|
1115
|
+
* page must share the selected entry's login origin. Supply entry_id when more
|
|
1116
|
+
* than one approved entry matches the page origin. The extension selects fields;
|
|
1117
|
+
* callers cannot supply selectors or secret values. Submission does not confirm
|
|
1118
|
+
* website authentication.
|
|
1119
|
+
*/
|
|
1120
|
+
export interface OnePasswordFillVaultItemOperationRequest {
|
|
1121
|
+
/**
|
|
1122
|
+
* Browser session ID, not a reusable browser name.
|
|
1123
|
+
*/
|
|
1124
|
+
browser_id: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* Exact current top-level page URL. Must match exactly one open page in the
|
|
1127
|
+
* browser.
|
|
1128
|
+
*/
|
|
1129
|
+
page_url: string;
|
|
1130
|
+
type: '1pw_fill';
|
|
1131
|
+
/**
|
|
1132
|
+
* ID of an approved request entry. Required when several approved entries have the
|
|
1133
|
+
* page's origin.
|
|
1134
|
+
*/
|
|
1135
|
+
entry_id?: string;
|
|
1136
|
+
timeout_ms?: number;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* The submission result reported by the 1Password extension when available. Kernel
|
|
1140
|
+
* returns fill_unknown if the extension call has no conclusive result. Inspect the
|
|
1141
|
+
* page to determine successful authentication on the website.
|
|
1142
|
+
*/
|
|
1143
|
+
export interface OnePasswordFillVaultItemOperationResult {
|
|
1144
|
+
/**
|
|
1145
|
+
* Kernel's outcome of the extension call. fill_submitted means the extension
|
|
1146
|
+
* reported submission, not website authentication. fill_failed means the extension
|
|
1147
|
+
* returned a known failure and may include error_code. fill_unknown means
|
|
1148
|
+
* submission may have happened without a conclusive response; it has no error_code
|
|
1149
|
+
* and must not be retried in the same browser.
|
|
1150
|
+
*/
|
|
1151
|
+
status: 'fill_submitted' | 'fill_failed' | 'fill_unknown';
|
|
1152
|
+
type: '1pw_fill';
|
|
1153
|
+
/**
|
|
1154
|
+
* Present only for a conclusive fill_failed response. These are allowlisted
|
|
1155
|
+
* 1Password extension codes, never raw errors, secrets, or page content.
|
|
1156
|
+
*/
|
|
1157
|
+
error_code?: 'fillFailed' | 'autosubmitFailed' | 'noExistingCredentials' | 'authenticationFailed';
|
|
1158
|
+
}
|
|
1159
|
+
export interface OnePasswordOAuthAction {
|
|
1160
|
+
name: '1password_oauth';
|
|
1161
|
+
/**
|
|
1162
|
+
* 1Password-hosted OAuth authorization URL for the human to open.
|
|
1163
|
+
*/
|
|
1164
|
+
url: string;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Kernel encountered a recoverable error while linking this 1Password account. Use
|
|
1168
|
+
* this action to get a new link to recover the connection. After recovery
|
|
1169
|
+
* completes, start a new authorization on the same item.
|
|
1170
|
+
*/
|
|
1171
|
+
export interface OnePasswordRecoverVaultItemOperationRequest {
|
|
1172
|
+
type: '1pw_recover';
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* Request access to login entries in the end-user's own, non-shared 1Password
|
|
1176
|
+
* vault through the browser extension, auto-loaded into the browser. The end-user
|
|
1177
|
+
* approves access in the 1Password app. Shared-vault items and passkeys are not
|
|
1178
|
+
* supported. Per-entry reason and keywords overrides are only supported for a
|
|
1179
|
+
* single login entry.
|
|
1180
|
+
*/
|
|
1181
|
+
export interface OnePasswordRequestAccessVaultItemOperationRequest {
|
|
1182
|
+
/**
|
|
1183
|
+
* Kernel browser session used to invoke the extension.
|
|
1184
|
+
*/
|
|
1185
|
+
browser_id: string;
|
|
1186
|
+
type: '1pw_create_access_request';
|
|
1187
|
+
goal?: string;
|
|
1188
|
+
keywords?: Array<string>;
|
|
1189
|
+
reason?: string;
|
|
1190
|
+
}
|
|
804
1191
|
/**
|
|
805
1192
|
* Prepare an unused AgentCard card for a supported checkout. Deliver the returned
|
|
806
1193
|
* approval URL and keep the approval page open. Poll the item until
|
|
@@ -924,7 +1311,7 @@ export interface VaultFillFieldResult {
|
|
|
924
1311
|
*/
|
|
925
1312
|
error_code?: 'target_changed' | 'element_not_found' | 'ambiguous_selector' | 'element_not_editable' | 'option_not_found' | 'timeout' | 'execution_failed';
|
|
926
1313
|
}
|
|
927
|
-
export type VaultItem = VaultItem.WalletVaultItem | VaultItem.CardVaultItem | CredentialVaultItem;
|
|
1314
|
+
export type VaultItem = VaultItem.WalletVaultItem | VaultItem.CardVaultItem | CredentialAccountVaultItem | CredentialVaultItem;
|
|
928
1315
|
export declare namespace VaultItem {
|
|
929
1316
|
interface WalletVaultItem {
|
|
930
1317
|
id: string;
|
|
@@ -969,7 +1356,7 @@ export declare namespace VaultItem {
|
|
|
969
1356
|
*/
|
|
970
1357
|
interface AvailableOperation {
|
|
971
1358
|
description: string;
|
|
972
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill';
|
|
1359
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
973
1360
|
}
|
|
974
1361
|
/**
|
|
975
1362
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
@@ -1016,11 +1403,11 @@ export declare namespace VaultItem {
|
|
|
1016
1403
|
*/
|
|
1017
1404
|
interface AvailableOperation {
|
|
1018
1405
|
description: string;
|
|
1019
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill';
|
|
1406
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1020
1407
|
}
|
|
1021
1408
|
}
|
|
1022
1409
|
}
|
|
1023
|
-
export type VaultItemAction = VaultItemAction.LinkOAuthAction | VaultItemAction.SpendApprovalAction | VaultItemAction.PushApprovalAction | VaultItemAction.CollectAction | VaultItemAction.MfaAction | VaultItemAction.EmbeddedCeremonyAction | VaultItemAction.CardEnrollmentAction;
|
|
1410
|
+
export type VaultItemAction = VaultItemAction.LinkOAuthAction | OnePasswordOAuthAction | VaultItemAction.SpendApprovalAction | VaultItemAction.PushApprovalAction | VaultItemAction.CollectAction | VaultItemAction.MfaAction | VaultItemAction.EmbeddedCeremonyAction | VaultItemAction.CardEnrollmentAction;
|
|
1024
1411
|
export declare namespace VaultItemAction {
|
|
1025
1412
|
interface LinkOAuthAction {
|
|
1026
1413
|
name: 'link_oauth';
|
|
@@ -1060,11 +1447,11 @@ export interface VaultItemEvent {
|
|
|
1060
1447
|
};
|
|
1061
1448
|
}
|
|
1062
1449
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1450
|
+
* The submission result reported by the 1Password extension when available. Kernel
|
|
1451
|
+
* returns fill_unknown if the extension call has no conclusive result. Inspect the
|
|
1452
|
+
* page to determine successful authentication on the website.
|
|
1066
1453
|
*/
|
|
1067
|
-
export type VaultItemOperationResponse = VaultItemOperationResponse.WalletVaultItem | VaultItemOperationResponse.CardVaultItem | CredentialVaultItem | FillVaultItemOperationResult;
|
|
1454
|
+
export type VaultItemOperationResponse = VaultItemOperationResponse.WalletVaultItem | VaultItemOperationResponse.CardVaultItem | CredentialAccountVaultItem | CredentialVaultItem | FillVaultItemOperationResult | OnePasswordFillVaultItemOperationResult;
|
|
1068
1455
|
export declare namespace VaultItemOperationResponse {
|
|
1069
1456
|
interface WalletVaultItem {
|
|
1070
1457
|
id: string;
|
|
@@ -1109,7 +1496,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1109
1496
|
*/
|
|
1110
1497
|
interface AvailableOperation {
|
|
1111
1498
|
description: string;
|
|
1112
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill';
|
|
1499
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1113
1500
|
}
|
|
1114
1501
|
/**
|
|
1115
1502
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
@@ -1156,7 +1543,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1156
1543
|
*/
|
|
1157
1544
|
interface AvailableOperation {
|
|
1158
1545
|
description: string;
|
|
1159
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill';
|
|
1546
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1160
1547
|
}
|
|
1161
1548
|
}
|
|
1162
1549
|
}
|
|
@@ -1224,7 +1611,7 @@ export declare namespace WalletVaultItemSpec {
|
|
|
1224
1611
|
interface CustomerManagedOAuthClient {
|
|
1225
1612
|
/**
|
|
1226
1613
|
* Select a provider config by ID or name. Responses return the ID. Renaming a
|
|
1227
|
-
* config does not change existing wallet bindings;
|
|
1614
|
+
* config does not change existing wallet bindings; an item cannot switch to a
|
|
1228
1615
|
* different config after creation.
|
|
1229
1616
|
*/
|
|
1230
1617
|
provider_config: CustomerManagedOAuthClient.ProviderConfig;
|
|
@@ -1233,7 +1620,7 @@ export declare namespace WalletVaultItemSpec {
|
|
|
1233
1620
|
namespace CustomerManagedOAuthClient {
|
|
1234
1621
|
/**
|
|
1235
1622
|
* Select a provider config by ID or name. Responses return the ID. Renaming a
|
|
1236
|
-
* config does not change existing wallet bindings;
|
|
1623
|
+
* config does not change existing wallet bindings; an item cannot switch to a
|
|
1237
1624
|
* different config after creation.
|
|
1238
1625
|
*/
|
|
1239
1626
|
interface ProviderConfig {
|
|
@@ -1368,7 +1755,7 @@ export interface ItemEventsParams {
|
|
|
1368
1755
|
*/
|
|
1369
1756
|
wait?: number;
|
|
1370
1757
|
}
|
|
1371
|
-
export type ItemPerformOperationParams = ItemPerformOperationParams.AuthorizeVaultItemOperationRequest | ItemPerformOperationParams.CollectVaultItemOperationRequest | ItemPerformOperationParams.PrepareCheckoutVaultItemOperationRequest | ItemPerformOperationParams.FillVaultItemOperationRequest;
|
|
1758
|
+
export type ItemPerformOperationParams = ItemPerformOperationParams.AuthorizeVaultItemOperationRequest | ItemPerformOperationParams.CollectVaultItemOperationRequest | ItemPerformOperationParams.PrepareCheckoutVaultItemOperationRequest | ItemPerformOperationParams.FillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRequestAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordPollAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordFillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRecoverVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordUpdateAccessTokenVaultItemOperationRequest;
|
|
1372
1759
|
export declare namespace ItemPerformOperationParams {
|
|
1373
1760
|
interface AuthorizeVaultItemOperationRequest {
|
|
1374
1761
|
/**
|
|
@@ -1440,8 +1827,108 @@ export declare namespace ItemPerformOperationParams {
|
|
|
1440
1827
|
*/
|
|
1441
1828
|
timeout_ms?: number;
|
|
1442
1829
|
}
|
|
1830
|
+
interface OnePasswordRequestAccessVaultItemOperationRequest {
|
|
1831
|
+
/**
|
|
1832
|
+
* Path param
|
|
1833
|
+
*/
|
|
1834
|
+
id_or_name: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Body param: Kernel browser session used to invoke the extension.
|
|
1837
|
+
*/
|
|
1838
|
+
browser_id: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Body param
|
|
1841
|
+
*/
|
|
1842
|
+
type: '1pw_create_access_request';
|
|
1843
|
+
/**
|
|
1844
|
+
* Body param
|
|
1845
|
+
*/
|
|
1846
|
+
goal?: string;
|
|
1847
|
+
/**
|
|
1848
|
+
* Body param
|
|
1849
|
+
*/
|
|
1850
|
+
keywords?: Array<string>;
|
|
1851
|
+
/**
|
|
1852
|
+
* Body param
|
|
1853
|
+
*/
|
|
1854
|
+
reason?: string;
|
|
1855
|
+
}
|
|
1856
|
+
interface OnePasswordPollAccessVaultItemOperationRequest {
|
|
1857
|
+
/**
|
|
1858
|
+
* Path param
|
|
1859
|
+
*/
|
|
1860
|
+
id_or_name: string;
|
|
1861
|
+
/**
|
|
1862
|
+
* Body param
|
|
1863
|
+
*/
|
|
1864
|
+
browser_id: string;
|
|
1865
|
+
/**
|
|
1866
|
+
* Body param
|
|
1867
|
+
*/
|
|
1868
|
+
type: '1pw_access_request_status';
|
|
1869
|
+
/**
|
|
1870
|
+
* Body param
|
|
1871
|
+
*/
|
|
1872
|
+
timeout_seconds?: number;
|
|
1873
|
+
}
|
|
1874
|
+
interface OnePasswordFillVaultItemOperationRequest {
|
|
1875
|
+
/**
|
|
1876
|
+
* Path param
|
|
1877
|
+
*/
|
|
1878
|
+
id_or_name: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* Body param: Browser session ID, not a reusable browser name.
|
|
1881
|
+
*/
|
|
1882
|
+
browser_id: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Body param: Exact current top-level page URL. Must match exactly one open page
|
|
1885
|
+
* in the browser.
|
|
1886
|
+
*/
|
|
1887
|
+
page_url: string;
|
|
1888
|
+
/**
|
|
1889
|
+
* Body param
|
|
1890
|
+
*/
|
|
1891
|
+
type: '1pw_fill';
|
|
1892
|
+
/**
|
|
1893
|
+
* Body param: ID of an approved request entry. Required when several approved
|
|
1894
|
+
* entries have the page's origin.
|
|
1895
|
+
*/
|
|
1896
|
+
entry_id?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* Body param
|
|
1899
|
+
*/
|
|
1900
|
+
timeout_ms?: number;
|
|
1901
|
+
}
|
|
1902
|
+
interface OnePasswordRecoverVaultItemOperationRequest {
|
|
1903
|
+
/**
|
|
1904
|
+
* Path param
|
|
1905
|
+
*/
|
|
1906
|
+
id_or_name: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* Body param
|
|
1909
|
+
*/
|
|
1910
|
+
type: '1pw_recover';
|
|
1911
|
+
}
|
|
1912
|
+
interface OnePasswordUpdateAccessTokenVaultItemOperationRequest {
|
|
1913
|
+
/**
|
|
1914
|
+
* Path param
|
|
1915
|
+
*/
|
|
1916
|
+
id_or_name: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* Body param
|
|
1919
|
+
*/
|
|
1920
|
+
access_token: string;
|
|
1921
|
+
/**
|
|
1922
|
+
* Body param
|
|
1923
|
+
*/
|
|
1924
|
+
type: '1pw_update_access_token';
|
|
1925
|
+
/**
|
|
1926
|
+
* Body param: Optional supplied expiry. Omit to clear the old expiry.
|
|
1927
|
+
*/
|
|
1928
|
+
access_token_expires_at?: string;
|
|
1929
|
+
}
|
|
1443
1930
|
}
|
|
1444
|
-
export type ItemUpsertParams = ItemUpsertParams.WalletVaultItemRequest | ItemUpsertParams.CardVaultItemRequest | ItemUpsertParams.CredentialVaultItemRequest;
|
|
1931
|
+
export type ItemUpsertParams = ItemUpsertParams.WalletVaultItemRequest | ItemUpsertParams.CardVaultItemRequest | ItemUpsertParams.CredentialAccountVaultItemRequest | ItemUpsertParams.CredentialVaultItemRequest;
|
|
1445
1932
|
export declare namespace ItemUpsertParams {
|
|
1446
1933
|
interface WalletVaultItemRequest {
|
|
1447
1934
|
/**
|
|
@@ -1527,7 +2014,7 @@ export declare namespace ItemUpsertParams {
|
|
|
1527
2014
|
interface Client {
|
|
1528
2015
|
/**
|
|
1529
2016
|
* Select a provider config by ID or name. Responses return the ID. Renaming a
|
|
1530
|
-
* config does not change existing wallet bindings;
|
|
2017
|
+
* config does not change existing wallet bindings; an item cannot switch to a
|
|
1531
2018
|
* different config after creation.
|
|
1532
2019
|
*/
|
|
1533
2020
|
provider_config: Client.ProviderConfig;
|
|
@@ -1536,7 +2023,7 @@ export declare namespace ItemUpsertParams {
|
|
|
1536
2023
|
namespace Client {
|
|
1537
2024
|
/**
|
|
1538
2025
|
* Select a provider config by ID or name. Responses return the ID. Renaming a
|
|
1539
|
-
* config does not change existing wallet bindings;
|
|
2026
|
+
* config does not change existing wallet bindings; an item cannot switch to a
|
|
1540
2027
|
* different config after creation.
|
|
1541
2028
|
*/
|
|
1542
2029
|
interface ProviderConfig {
|
|
@@ -1599,6 +2086,20 @@ export declare namespace ItemUpsertParams {
|
|
|
1599
2086
|
*/
|
|
1600
2087
|
type: 'card';
|
|
1601
2088
|
}
|
|
2089
|
+
interface CredentialAccountVaultItemRequest {
|
|
2090
|
+
/**
|
|
2091
|
+
* Path param
|
|
2092
|
+
*/
|
|
2093
|
+
id_or_name: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* Body param
|
|
2096
|
+
*/
|
|
2097
|
+
spec: OnePasswordCredentialAccountSpec;
|
|
2098
|
+
/**
|
|
2099
|
+
* Body param
|
|
2100
|
+
*/
|
|
2101
|
+
type: 'credential_account';
|
|
2102
|
+
}
|
|
1602
2103
|
interface CredentialVaultItemRequest {
|
|
1603
2104
|
/**
|
|
1604
2105
|
* Path param
|
|
@@ -1619,6 +2120,6 @@ export declare namespace ItemUpsertParams {
|
|
|
1619
2120
|
}
|
|
1620
2121
|
}
|
|
1621
2122
|
export declare namespace Items {
|
|
1622
|
-
export { type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
2123
|
+
export { type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type KernelCredentialVaultItemSpec as KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput as KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState as KernelCredentialVaultItemState, type OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState as OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput as OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest as OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult as OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction as OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest as OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest as OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
1623
2124
|
}
|
|
1624
2125
|
//# sourceMappingURL=items.d.ts.map
|