@capxul/sdk 4.20.0-beta.6 → 4.20.0-beta.7
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/dist/{OAuthBearerAuthClient-B7Nbepmu.d.mts → OAuthBearerAuthClient-DOPDDSPs.d.mts} +3 -1
- package/dist/{OAuthBearerAuthClient-5ujCTtKE.mjs → OAuthBearerAuthClient-DdKYPHE0.mjs} +23 -9
- package/dist/index.d.mts +42 -11
- package/dist/index.mjs +3 -3
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{production-B4NzzuUb.mjs → production-B63Xm_fl.mjs} +709 -117
- package/dist/{production-pLe7MsUo.d.mts → production-UMTDZSTH.d.mts} +551 -49
- package/dist/testing/index.d.mts +2 -2
- package/dist/testing/index.mjs +2 -2
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as OrgId, A as Address$1, B as BudgetId, C as AuthCachePort, Ct as
|
|
1
|
+
import { $ as OrgId, A as Address$1, B as BudgetId, C as AuthCachePort, Ct as CapxulError, D as Account$1, Dt as Failure, F as AssetAmount, G as CurrencyCode, H as ClientGrantId, I as AssetId, K as DocumentHash, L as AuthSession, M as AllowedOrigin, N as AnonymousDistinctId, Nt as FailureMode, O as AccountId, P as AppId, R as AuthUserId, Tt as CapxulErrorDetails, U as ClientRequestId, V as ChainId, W as CountryCode, X as EpochMs, Y as Email, Z as Handle, _ as Session$1, at as PermissionId, b as AuthClientPort, ct as RoleKey, d as AccountRequirement, dt as TesterKind, et as PartyId, ft as TxHash, g as Profile$1, h as CapxulResult, i as CapxulSigner, it as PermissionAssignmentId, j as AllowanceKey, k as AccountPosition, lt as SessionToken, nt as PayrollGroupId, ot as Profile, pt as WeiAmount, q as DurationMs, rt as PayrollRunId, s as SignerStatusStore, st as PublishableKey, tt as PaymentCommandId, u as AccountProviderSource, ut as SmartAccount, v as SmartAccount$1, wt as CapxulErrorCode, x as CanSendOtpStatus, y as ClockPort, z as BlockNumber } from "./OAuthBearerAuthClient-DOPDDSPs.mjs";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
import { Context, Duration, Effect, Layer, Logger, Metric, References, Schema, Scope, Tracer } from "effect";
|
|
4
4
|
import { FunctionReference } from "convex/server";
|
|
@@ -754,6 +754,433 @@ declare const CurrentPolicySchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
754
754
|
readonly type: Schema.Literal<"managePeople">;
|
|
755
755
|
}>]>;
|
|
756
756
|
type CurrentPolicy = typeof CurrentPolicySchema.Type;
|
|
757
|
+
declare const BudgetIntentSchema: Schema.refine<{
|
|
758
|
+
readonly type: "budget";
|
|
759
|
+
readonly asset: AssetId;
|
|
760
|
+
readonly limit: string | null;
|
|
761
|
+
readonly scope: {
|
|
762
|
+
readonly recipients: {
|
|
763
|
+
readonly type: "anyone";
|
|
764
|
+
} | {
|
|
765
|
+
readonly type: "allowlist";
|
|
766
|
+
readonly accounts: readonly AccountId[];
|
|
767
|
+
};
|
|
768
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
769
|
+
};
|
|
770
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
771
|
+
readonly type: Schema.Literal<"budget">;
|
|
772
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
773
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
774
|
+
readonly scope: Schema.Struct<{
|
|
775
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
776
|
+
readonly type: Schema.Literal<"anyone">;
|
|
777
|
+
}>, Schema.Struct<{
|
|
778
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
779
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
780
|
+
}>]>;
|
|
781
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
782
|
+
}>;
|
|
783
|
+
}>, Schema.Struct<{
|
|
784
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
785
|
+
}>]>>;
|
|
786
|
+
type BudgetIntent = typeof BudgetIntentSchema.Type;
|
|
787
|
+
declare const InvitationIdSchema: Schema.NonEmptyString;
|
|
788
|
+
type InvitationId = typeof InvitationIdSchema.Type;
|
|
789
|
+
declare const InvitationTargetSchema: Schema.Struct<{
|
|
790
|
+
readonly invitationId: Schema.NonEmptyString;
|
|
791
|
+
}>;
|
|
792
|
+
type InvitationTarget = typeof InvitationTargetSchema.Type;
|
|
793
|
+
declare const InvitationAcceptInputSchema: Schema.Struct<{
|
|
794
|
+
readonly invitationId: Schema.NonEmptyString;
|
|
795
|
+
readonly expectedOfferDigest: Schema.Codec<string, string, never, never>;
|
|
796
|
+
}>;
|
|
797
|
+
/** The consent input: one invitation and the digest the grantee read for it. */
|
|
798
|
+
type InvitationAcceptInput = typeof InvitationAcceptInputSchema.Type;
|
|
799
|
+
/** The requested grantee of one invitation. */
|
|
800
|
+
declare const GranteeRefSchema: Schema.Union<readonly [Schema.Struct<{
|
|
801
|
+
readonly type: Schema.Literal<"email">;
|
|
802
|
+
readonly email: Schema.NonEmptyString;
|
|
803
|
+
}>, Schema.Struct<{
|
|
804
|
+
readonly type: Schema.Literal<"account">;
|
|
805
|
+
readonly accountId: Schema.refine<AccountId, Schema.String>;
|
|
806
|
+
}>]>;
|
|
807
|
+
type GranteeRef = typeof GranteeRefSchema.Type;
|
|
808
|
+
declare const InviteInputSchema: Schema.refine<{
|
|
809
|
+
readonly requestKey: string;
|
|
810
|
+
readonly to: {
|
|
811
|
+
readonly type: "email";
|
|
812
|
+
readonly email: string;
|
|
813
|
+
} | {
|
|
814
|
+
readonly type: "account";
|
|
815
|
+
readonly accountId: AccountId;
|
|
816
|
+
};
|
|
817
|
+
readonly grants: readonly ({
|
|
818
|
+
readonly type: "budget";
|
|
819
|
+
readonly budgetId: PermissionId;
|
|
820
|
+
} | {
|
|
821
|
+
readonly type: "managePeople";
|
|
822
|
+
readonly permissionId: PermissionId;
|
|
823
|
+
} | {
|
|
824
|
+
readonly type: "new_budget";
|
|
825
|
+
readonly label: string;
|
|
826
|
+
readonly intent: {
|
|
827
|
+
readonly type: "budget";
|
|
828
|
+
readonly asset: AssetId;
|
|
829
|
+
readonly limit: string | null;
|
|
830
|
+
readonly scope: {
|
|
831
|
+
readonly recipients: {
|
|
832
|
+
readonly type: "anyone";
|
|
833
|
+
} | {
|
|
834
|
+
readonly type: "allowlist";
|
|
835
|
+
readonly accounts: readonly AccountId[];
|
|
836
|
+
};
|
|
837
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
})[];
|
|
841
|
+
}, Schema.Struct<{
|
|
842
|
+
readonly requestKey: Schema.refine<string, Schema.String>;
|
|
843
|
+
readonly to: Schema.Union<readonly [Schema.Struct<{
|
|
844
|
+
readonly type: Schema.Literal<"email">;
|
|
845
|
+
readonly email: Schema.NonEmptyString;
|
|
846
|
+
}>, Schema.Struct<{
|
|
847
|
+
readonly type: Schema.Literal<"account">;
|
|
848
|
+
readonly accountId: Schema.refine<AccountId, Schema.String>;
|
|
849
|
+
}>]>;
|
|
850
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
851
|
+
readonly type: Schema.Literal<"budget">;
|
|
852
|
+
readonly budgetId: Schema.Codec<PermissionId, string, never, never>;
|
|
853
|
+
}>, Schema.Struct<{
|
|
854
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
855
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
856
|
+
}>, Schema.Struct<{
|
|
857
|
+
readonly type: Schema.Literal<"new_budget">;
|
|
858
|
+
readonly label: Schema.refine<string, Schema.String>;
|
|
859
|
+
readonly intent: Schema.refine<{
|
|
860
|
+
readonly type: "budget";
|
|
861
|
+
readonly asset: AssetId;
|
|
862
|
+
readonly limit: string | null;
|
|
863
|
+
readonly scope: {
|
|
864
|
+
readonly recipients: {
|
|
865
|
+
readonly type: "anyone";
|
|
866
|
+
} | {
|
|
867
|
+
readonly type: "allowlist";
|
|
868
|
+
readonly accounts: readonly AccountId[];
|
|
869
|
+
};
|
|
870
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
871
|
+
};
|
|
872
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
873
|
+
readonly type: Schema.Literal<"budget">;
|
|
874
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
875
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
876
|
+
readonly scope: Schema.Struct<{
|
|
877
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
878
|
+
readonly type: Schema.Literal<"anyone">;
|
|
879
|
+
}>, Schema.Struct<{
|
|
880
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
881
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
882
|
+
}>]>;
|
|
883
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
884
|
+
}>;
|
|
885
|
+
}>, Schema.Struct<{
|
|
886
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
887
|
+
}>]>>;
|
|
888
|
+
}>]>>;
|
|
889
|
+
}>>;
|
|
890
|
+
type InviteInput = typeof InviteInputSchema.Type;
|
|
891
|
+
/** One offered authority, before the invitation resolves it to a live identity. */
|
|
892
|
+
type InviteGrant = InviteInput["grants"][number];
|
|
893
|
+
/** The recipient and action bounds carried by one Budget intent. */
|
|
894
|
+
type SpendingScope = Extract<BudgetIntent, {
|
|
895
|
+
readonly type: "budget";
|
|
896
|
+
}>["scope"];
|
|
897
|
+
declare const InvitationPhaseSchema: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
898
|
+
type InvitationPhase = typeof InvitationPhaseSchema.Type;
|
|
899
|
+
declare const EndingReasonSchema: Schema.Literals<readonly ["declined", "cancelled", "expired", "revoked"]>;
|
|
900
|
+
type EndingReason = typeof EndingReasonSchema.Type;
|
|
901
|
+
declare const OfferedAuthoritySchema: Schema.Union<readonly [Schema.Struct<{
|
|
902
|
+
readonly type: Schema.Literal<"budget">;
|
|
903
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
904
|
+
readonly label: Schema.String;
|
|
905
|
+
readonly policy: Schema.refine<{
|
|
906
|
+
readonly type: "budget";
|
|
907
|
+
readonly asset: AssetId;
|
|
908
|
+
readonly limit: string | null;
|
|
909
|
+
readonly scope: {
|
|
910
|
+
readonly recipients: {
|
|
911
|
+
readonly type: "anyone";
|
|
912
|
+
} | {
|
|
913
|
+
readonly type: "allowlist";
|
|
914
|
+
readonly accounts: readonly AccountId[];
|
|
915
|
+
};
|
|
916
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
917
|
+
};
|
|
918
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
919
|
+
readonly type: Schema.Literal<"budget">;
|
|
920
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
921
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
922
|
+
readonly scope: Schema.Struct<{
|
|
923
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
924
|
+
readonly type: Schema.Literal<"anyone">;
|
|
925
|
+
}>, Schema.Struct<{
|
|
926
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
927
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
928
|
+
}>]>;
|
|
929
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
930
|
+
}>;
|
|
931
|
+
}>, Schema.Struct<{
|
|
932
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
933
|
+
}>]>>;
|
|
934
|
+
readonly policyDigest: Schema.Codec<string, string, never, never>;
|
|
935
|
+
}>, Schema.Struct<{
|
|
936
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
937
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
938
|
+
readonly label: Schema.String;
|
|
939
|
+
}>]>;
|
|
940
|
+
type OfferedAuthority = typeof OfferedAuthoritySchema.Type;
|
|
941
|
+
declare const InvitePreviewSchema: Schema.Struct<{
|
|
942
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
943
|
+
readonly grantee: Schema.Struct<{
|
|
944
|
+
readonly partyId: Schema.NullOr<Schema.String>;
|
|
945
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
946
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
947
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
948
|
+
}>;
|
|
949
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
950
|
+
readonly type: Schema.Literal<"budget">;
|
|
951
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
952
|
+
readonly label: Schema.String;
|
|
953
|
+
readonly policy: Schema.refine<{
|
|
954
|
+
readonly type: "budget";
|
|
955
|
+
readonly asset: AssetId;
|
|
956
|
+
readonly limit: string | null;
|
|
957
|
+
readonly scope: {
|
|
958
|
+
readonly recipients: {
|
|
959
|
+
readonly type: "anyone";
|
|
960
|
+
} | {
|
|
961
|
+
readonly type: "allowlist";
|
|
962
|
+
readonly accounts: readonly AccountId[];
|
|
963
|
+
};
|
|
964
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
965
|
+
};
|
|
966
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
967
|
+
readonly type: Schema.Literal<"budget">;
|
|
968
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
969
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
970
|
+
readonly scope: Schema.Struct<{
|
|
971
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
972
|
+
readonly type: Schema.Literal<"anyone">;
|
|
973
|
+
}>, Schema.Struct<{
|
|
974
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
975
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
976
|
+
}>]>;
|
|
977
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
978
|
+
}>;
|
|
979
|
+
}>, Schema.Struct<{
|
|
980
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
981
|
+
}>]>>;
|
|
982
|
+
readonly policyDigest: Schema.Codec<string, string, never, never>;
|
|
983
|
+
}>, Schema.Struct<{
|
|
984
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
985
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
986
|
+
readonly label: Schema.String;
|
|
987
|
+
}>]>, Schema.Struct<{
|
|
988
|
+
readonly type: Schema.Literal<"new_budget">;
|
|
989
|
+
readonly label: Schema.String;
|
|
990
|
+
readonly policy: Schema.refine<{
|
|
991
|
+
readonly type: "budget";
|
|
992
|
+
readonly asset: AssetId;
|
|
993
|
+
readonly limit: string | null;
|
|
994
|
+
readonly scope: {
|
|
995
|
+
readonly recipients: {
|
|
996
|
+
readonly type: "anyone";
|
|
997
|
+
} | {
|
|
998
|
+
readonly type: "allowlist";
|
|
999
|
+
readonly accounts: readonly AccountId[];
|
|
1000
|
+
};
|
|
1001
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
1002
|
+
};
|
|
1003
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
1004
|
+
readonly type: Schema.Literal<"budget">;
|
|
1005
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
1006
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
1007
|
+
readonly scope: Schema.Struct<{
|
|
1008
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
1009
|
+
readonly type: Schema.Literal<"anyone">;
|
|
1010
|
+
}>, Schema.Struct<{
|
|
1011
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
1012
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
1013
|
+
}>]>;
|
|
1014
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
1015
|
+
}>;
|
|
1016
|
+
}>, Schema.Struct<{
|
|
1017
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1018
|
+
}>]>>;
|
|
1019
|
+
readonly policyDigest: Schema.Codec<string, string, never, never>;
|
|
1020
|
+
}>]>>;
|
|
1021
|
+
readonly existingAssignments: Schema.$Array<Schema.Codec<PermissionAssignmentId, string, never, never>>;
|
|
1022
|
+
readonly includesManagement: Schema.Boolean;
|
|
1023
|
+
readonly observedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
1024
|
+
}>;
|
|
1025
|
+
type InvitePreview = typeof InvitePreviewSchema.Type;
|
|
1026
|
+
declare const InvitationPageInputSchema: Schema.Struct<{
|
|
1027
|
+
readonly cursor: Schema.optional<Schema.NonEmptyString>;
|
|
1028
|
+
readonly limit: Schema.optional<Schema.refine<number, Schema.Number>>;
|
|
1029
|
+
readonly phases: Schema.optional<Schema.refine<readonly ("active" | "authorizing" | "cancelled" | "declined" | "expired" | "pending" | "pending_grant" | "revoked" | "revoking")[], Schema.$Array<Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>>>>;
|
|
1030
|
+
}>;
|
|
1031
|
+
type InvitationPageInput = typeof InvitationPageInputSchema.Type;
|
|
1032
|
+
declare const InvitationRecoverySchema: Schema.Struct<{
|
|
1033
|
+
readonly actor: Schema.Literals<readonly ["system", "invitee", "admin"]>;
|
|
1034
|
+
readonly action: Schema.Literals<readonly ["wait", "retry", "review_offer", "reauthorize"]>;
|
|
1035
|
+
readonly reason: Schema.Literals<readonly ["configuration_pending", "grant_pending", "provider_unavailable", "policy_changed", "cleanup_pending", "signer_unavailable"]>;
|
|
1036
|
+
}>;
|
|
1037
|
+
type InvitationRecovery = typeof InvitationRecoverySchema.Type;
|
|
1038
|
+
declare const InvitationViewSchema: Schema.Struct<{
|
|
1039
|
+
readonly id: Schema.NonEmptyString;
|
|
1040
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
1041
|
+
readonly organizationName: Schema.String;
|
|
1042
|
+
readonly grantee: Schema.Struct<{
|
|
1043
|
+
readonly partyId: Schema.String;
|
|
1044
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
1045
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
1046
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
1047
|
+
}>;
|
|
1048
|
+
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
1049
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1050
|
+
readonly type: Schema.Literal<"budget">;
|
|
1051
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
1052
|
+
}>, Schema.Struct<{
|
|
1053
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1054
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
1055
|
+
}>]>>;
|
|
1056
|
+
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1057
|
+
readonly type: Schema.Literal<"budget">;
|
|
1058
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
1059
|
+
readonly label: Schema.String;
|
|
1060
|
+
readonly policy: Schema.refine<{
|
|
1061
|
+
readonly type: "budget";
|
|
1062
|
+
readonly asset: AssetId;
|
|
1063
|
+
readonly limit: string | null;
|
|
1064
|
+
readonly scope: {
|
|
1065
|
+
readonly recipients: {
|
|
1066
|
+
readonly type: "anyone";
|
|
1067
|
+
} | {
|
|
1068
|
+
readonly type: "allowlist";
|
|
1069
|
+
readonly accounts: readonly AccountId[];
|
|
1070
|
+
};
|
|
1071
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
1072
|
+
};
|
|
1073
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
1074
|
+
readonly type: Schema.Literal<"budget">;
|
|
1075
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
1076
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
1077
|
+
readonly scope: Schema.Struct<{
|
|
1078
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
1079
|
+
readonly type: Schema.Literal<"anyone">;
|
|
1080
|
+
}>, Schema.Struct<{
|
|
1081
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
1082
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
1083
|
+
}>]>;
|
|
1084
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
1085
|
+
}>;
|
|
1086
|
+
}>, Schema.Struct<{
|
|
1087
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1088
|
+
}>]>>;
|
|
1089
|
+
readonly policyDigest: Schema.Codec<string, string, never, never>;
|
|
1090
|
+
}>, Schema.Struct<{
|
|
1091
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1092
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
1093
|
+
readonly label: Schema.String;
|
|
1094
|
+
}>]>>;
|
|
1095
|
+
readonly recovery: Schema.NullOr<Schema.Struct<{
|
|
1096
|
+
readonly actor: Schema.Literals<readonly ["system", "invitee", "admin"]>;
|
|
1097
|
+
readonly action: Schema.Literals<readonly ["wait", "retry", "review_offer", "reauthorize"]>;
|
|
1098
|
+
readonly reason: Schema.Literals<readonly ["configuration_pending", "grant_pending", "provider_unavailable", "policy_changed", "cleanup_pending", "signer_unavailable"]>;
|
|
1099
|
+
}>>;
|
|
1100
|
+
readonly offerDigest: Schema.Codec<string, string, never, never>;
|
|
1101
|
+
readonly authorizedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1102
|
+
readonly acceptedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1103
|
+
readonly expiresAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1104
|
+
readonly commandId: Schema.NullOr<Schema.Codec<PaymentCommandId, string, never, never>>;
|
|
1105
|
+
readonly endingReason: Schema.NullOr<Schema.Literals<readonly ["declined", "cancelled", "expired", "revoked"]>>;
|
|
1106
|
+
readonly delivery: Schema.Literals<readonly ["not_confirmed", "sent", "failed"]>;
|
|
1107
|
+
}>;
|
|
1108
|
+
type InvitationView = typeof InvitationViewSchema.Type;
|
|
1109
|
+
declare const InvitationPageSchema: Schema.Struct<{
|
|
1110
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1111
|
+
readonly id: Schema.NonEmptyString;
|
|
1112
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
1113
|
+
readonly organizationName: Schema.String;
|
|
1114
|
+
readonly grantee: Schema.Struct<{
|
|
1115
|
+
readonly partyId: Schema.String;
|
|
1116
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
1117
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
1118
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
1119
|
+
}>;
|
|
1120
|
+
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
1121
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1122
|
+
readonly type: Schema.Literal<"budget">;
|
|
1123
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
1124
|
+
}>, Schema.Struct<{
|
|
1125
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1126
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
1127
|
+
}>]>>;
|
|
1128
|
+
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1129
|
+
readonly type: Schema.Literal<"budget">;
|
|
1130
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
1131
|
+
readonly label: Schema.String;
|
|
1132
|
+
readonly policy: Schema.refine<{
|
|
1133
|
+
readonly type: "budget";
|
|
1134
|
+
readonly asset: AssetId;
|
|
1135
|
+
readonly limit: string | null;
|
|
1136
|
+
readonly scope: {
|
|
1137
|
+
readonly recipients: {
|
|
1138
|
+
readonly type: "anyone";
|
|
1139
|
+
} | {
|
|
1140
|
+
readonly type: "allowlist";
|
|
1141
|
+
readonly accounts: readonly AccountId[];
|
|
1142
|
+
};
|
|
1143
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
1144
|
+
};
|
|
1145
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
1146
|
+
readonly type: Schema.Literal<"budget">;
|
|
1147
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
1148
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
1149
|
+
readonly scope: Schema.Struct<{
|
|
1150
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
1151
|
+
readonly type: Schema.Literal<"anyone">;
|
|
1152
|
+
}>, Schema.Struct<{
|
|
1153
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
1154
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
1155
|
+
}>]>;
|
|
1156
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
1157
|
+
}>;
|
|
1158
|
+
}>, Schema.Struct<{
|
|
1159
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1160
|
+
}>]>>;
|
|
1161
|
+
readonly policyDigest: Schema.Codec<string, string, never, never>;
|
|
1162
|
+
}>, Schema.Struct<{
|
|
1163
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
1164
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
1165
|
+
readonly label: Schema.String;
|
|
1166
|
+
}>]>>;
|
|
1167
|
+
readonly recovery: Schema.NullOr<Schema.Struct<{
|
|
1168
|
+
readonly actor: Schema.Literals<readonly ["system", "invitee", "admin"]>;
|
|
1169
|
+
readonly action: Schema.Literals<readonly ["wait", "retry", "review_offer", "reauthorize"]>;
|
|
1170
|
+
readonly reason: Schema.Literals<readonly ["configuration_pending", "grant_pending", "provider_unavailable", "policy_changed", "cleanup_pending", "signer_unavailable"]>;
|
|
1171
|
+
}>>;
|
|
1172
|
+
readonly offerDigest: Schema.Codec<string, string, never, never>;
|
|
1173
|
+
readonly authorizedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1174
|
+
readonly acceptedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1175
|
+
readonly expiresAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
1176
|
+
readonly commandId: Schema.NullOr<Schema.Codec<PaymentCommandId, string, never, never>>;
|
|
1177
|
+
readonly endingReason: Schema.NullOr<Schema.Literals<readonly ["declined", "cancelled", "expired", "revoked"]>>;
|
|
1178
|
+
readonly delivery: Schema.Literals<readonly ["not_confirmed", "sent", "failed"]>;
|
|
1179
|
+
}>>;
|
|
1180
|
+
readonly nextCursor: Schema.NullOr<Schema.NonEmptyString>;
|
|
1181
|
+
readonly observedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
1182
|
+
}>;
|
|
1183
|
+
type InvitationPage = typeof InvitationPageSchema.Type;
|
|
757
1184
|
//#endregion
|
|
758
1185
|
//#region src/ports/bootstrap.d.ts
|
|
759
1186
|
type BootstrapInput = {
|
|
@@ -2277,24 +2704,6 @@ type ListOrgRolesInput = {
|
|
|
2277
2704
|
type ListOrgMembersInput = {
|
|
2278
2705
|
readonly orgId: OrgId;
|
|
2279
2706
|
};
|
|
2280
|
-
/**
|
|
2281
|
-
* R06 (#1964): the program attaches the caller's captured attempt to this
|
|
2282
|
-
* record through `copyInvocationObservation`, so the adapter forwards one
|
|
2283
|
-
* observation context to the backend action that owns `org_invite_sent`. The
|
|
2284
|
-
* carrier is a non-enumerable symbol and never becomes a wire field.
|
|
2285
|
-
*/
|
|
2286
|
-
type InviteOrgMemberInput = {
|
|
2287
|
-
readonly orgId: OrgId;
|
|
2288
|
-
readonly input: InviteMemberInput;
|
|
2289
|
-
};
|
|
2290
|
-
type ResendOrgInviteTokenInput = {
|
|
2291
|
-
readonly orgId: OrgId;
|
|
2292
|
-
readonly email: string;
|
|
2293
|
-
};
|
|
2294
|
-
type DetectPendingOrgInvitationsInput = Record<never, never>;
|
|
2295
|
-
type DetectPendingOrgInvitationsResult$1 = {
|
|
2296
|
-
readonly matched: readonly OrgId[];
|
|
2297
|
-
};
|
|
2298
2707
|
declare const OrgError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
2299
2708
|
readonly _tag: "OrgError";
|
|
2300
2709
|
} & Readonly<A>;
|
|
@@ -2313,9 +2722,6 @@ interface OrgPort {
|
|
|
2313
2722
|
listRoles(input: ListOrgRolesInput): Effect.Effect<readonly RoleView[], OrgError, never>;
|
|
2314
2723
|
listMembers(input: ListOrgMembersInput): Effect.Effect<readonly MemberView[], OrgError, never>;
|
|
2315
2724
|
pendingMembers?(input: ListOrgMembersInput): Effect.Effect<readonly MemberView[], OrgError, never>;
|
|
2316
|
-
inviteMember(input: InviteOrgMemberInput): Effect.Effect<MemberView, OrgError, never>;
|
|
2317
|
-
resendInviteToken?(input: ResendOrgInviteTokenInput): Effect.Effect<MemberView, OrgError, never>;
|
|
2318
|
-
detectAndAcceptPendingInvitations(input: DetectPendingOrgInvitationsInput): Effect.Effect<DetectPendingOrgInvitationsResult$1, OrgError, never>;
|
|
2319
2725
|
}
|
|
2320
2726
|
//#endregion
|
|
2321
2727
|
//#region src/surface/org-me.d.ts
|
|
@@ -2365,6 +2771,117 @@ type OrgMeOptions = {
|
|
|
2365
2771
|
};
|
|
2366
2772
|
type OrgMeMethod = (options?: OrgMeOptions) => Promise<CapxulResult<OrgMe>>;
|
|
2367
2773
|
//#endregion
|
|
2774
|
+
//#region src/surface/invitations.d.ts
|
|
2775
|
+
/** The preview request: the bounded invitation request without its write key. */
|
|
2776
|
+
type InvitePreviewInput = Omit<InviteInput, "requestKey">;
|
|
2777
|
+
/** The durable identity the authoring write delivers before it signs (§9). */
|
|
2778
|
+
type InvitePrepared = {
|
|
2779
|
+
readonly invitationId: string;
|
|
2780
|
+
readonly commandId: string;
|
|
2781
|
+
};
|
|
2782
|
+
/**
|
|
2783
|
+
* The authoring write's options. `onPrepared` is the D9 §6 authoring callback:
|
|
2784
|
+
* it receives the exact `{invitationId, commandId}` pair after the backend
|
|
2785
|
+
* prepared the configuration execution and before any digest is signed. The
|
|
2786
|
+
* write awaits it, and a failure stops the write before a signature exists.
|
|
2787
|
+
*/
|
|
2788
|
+
type InviteOptions = InvocationControls & {
|
|
2789
|
+
readonly onPrepared?: (value: InvitePrepared) => void | Promise<void>;
|
|
2790
|
+
};
|
|
2791
|
+
/**
|
|
2792
|
+
* The invitation methods of one Organization. Every method is scoped to the
|
|
2793
|
+
* Organization the bundle was resolved for; the caller never supplies the scope
|
|
2794
|
+
* again, and a result naming another Organization is refused.
|
|
2795
|
+
*/
|
|
2796
|
+
interface OrgInvitations {
|
|
2797
|
+
/** The Admin's read-only preview. It performs no write and invents no Budget. */
|
|
2798
|
+
preview(input: InvitePreviewInput, options?: InvocationControls): Promise<CapxulResult<InvitePreview>>;
|
|
2799
|
+
/**
|
|
2800
|
+
* The authoring write: authorize one exact offer to one exact grantee, and
|
|
2801
|
+
* execute its configuration hop. It persists the invitation and its
|
|
2802
|
+
* configuration command before any signature exists, so the same `requestKey`
|
|
2803
|
+
* replays the same invitation and reuses the same stored execution. It then
|
|
2804
|
+
* drives the existing human configuration owner: prepare the exact configure
|
|
2805
|
+
* command for this Account's Safe, deliver `{invitationId, commandId}` to
|
|
2806
|
+
* `onPrepared`, sign the returned digest, and submit it. This is not
|
|
2807
|
+
* acceptance: an authorized offer is still pending until its grantee consents.
|
|
2808
|
+
*
|
|
2809
|
+
* A client composed without an execution-capable signer refuses before the
|
|
2810
|
+
* write. Data creation success therefore means the offer's configuration
|
|
2811
|
+
* execution was submitted, never a half-authored offer that can never leave
|
|
2812
|
+
* `authorizing` (§8's next action is the human configuration
|
|
2813
|
+
* signing/submission).
|
|
2814
|
+
*
|
|
2815
|
+
* On a fresh request the view it returns is the AUTHORIZATION-TIME view:
|
|
2816
|
+
* `authorizing`, with its `commandId` and its `configuration_pending`
|
|
2817
|
+
* recovery. The offer reaches `pending` with `authorizedAt` and `expiresAt`
|
|
2818
|
+
* only when the configuration verification lands
|
|
2819
|
+
* (`recordInvitationConfigurationVerification`), which happens after this call
|
|
2820
|
+
* returns — so a re-read here would return the same `authorizing` view. Read
|
|
2821
|
+
* the settled state through `get` or `wait`. A settled replay is the
|
|
2822
|
+
* exception: a request key whose invitation has already left `authorizing`
|
|
2823
|
+
* returns that durable current view unchanged, not an authorization-time one,
|
|
2824
|
+
* and composes no signer.
|
|
2825
|
+
*
|
|
2826
|
+
* This bundle is the canonical D8 authoring surface shared with the CLI.
|
|
2827
|
+
* MCP exposes no invitation-authoring tool.
|
|
2828
|
+
*/
|
|
2829
|
+
invite(input: InviteInput, options?: InviteOptions): Promise<CapxulResult<InvitationView>>;
|
|
2830
|
+
/**
|
|
2831
|
+
* The exact grantee's consent commit (D8 §8): accept the current offer digest
|
|
2832
|
+
* and start the offer's automatic grant.
|
|
2833
|
+
*
|
|
2834
|
+
* `expectedOfferDigest` is the digest the caller read for this invitation —
|
|
2835
|
+
* `get` or the own-offer list show it, and nothing else may be substituted.
|
|
2836
|
+
* Consent is recorded once: a repeat with the stored digest returns the same
|
|
2837
|
+
* accepted result and writes nothing, and a different digest receives the
|
|
2838
|
+
* backend's closed `WRONG_STATE` `invitation-offer-changed` refusal instead of
|
|
2839
|
+
* overwriting the stored consent. The wrong authenticated grantee, an
|
|
2840
|
+
* unconfigured offer, an expired offer, and an ended offer all refuse before
|
|
2841
|
+
* any consent is written.
|
|
2842
|
+
*
|
|
2843
|
+
* The returned view is the AUTHORIZATION-TIME view of the consent commit:
|
|
2844
|
+
* `pending_grant`, with `acceptedAt`. The stored accepted digest remains a
|
|
2845
|
+
* durable backend consent fact rather than a public `InvitationView` field. The
|
|
2846
|
+
* offer reaches `active` only after the grant receipt verifies on chain, which
|
|
2847
|
+
* happens in the lane this commit starts — so read the settled state through
|
|
2848
|
+
* `get`/`wait`. A repeat on an already-settled offer returns the durable view
|
|
2849
|
+
* unchanged.
|
|
2850
|
+
*/
|
|
2851
|
+
accept(input: InvitationAcceptInput, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2852
|
+
/**
|
|
2853
|
+
* The Organization's invitations for a current Admin (D8 §3: the scoped list
|
|
2854
|
+
* is Admin-only). A member without management authority and a caller outside
|
|
2855
|
+
* the Organization receive the backend's existing typed refusal, never a
|
|
2856
|
+
* page.
|
|
2857
|
+
*
|
|
2858
|
+
* Every row is checked against the Organization this bundle was resolved for;
|
|
2859
|
+
* a page that names another Organization is refused rather than handed to a
|
|
2860
|
+
* caller that trusted its scope.
|
|
2861
|
+
*/
|
|
2862
|
+
list(input?: InvitationPageInput, options?: InvocationControls): Promise<CapxulResult<InvitationPage>>;
|
|
2863
|
+
get(input: InvitationTarget, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2864
|
+
/** The exact grantee ends the offer; the Admin may not decline on their behalf. */
|
|
2865
|
+
decline(input: InvitationTarget, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2866
|
+
/** The current Admin ends the offer and starts its cleanup. */
|
|
2867
|
+
cancel(input: InvitationTarget, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2868
|
+
/** The current Admin retries delivery of a verified pending offer only. */
|
|
2869
|
+
resend(input: InvitationTarget, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2870
|
+
/** The exact grantee or the current Admin resumes the current offer state. */
|
|
2871
|
+
retry(input: InvitationTarget, options?: InvocationControls): Promise<CapxulResult<InvitationView>>;
|
|
2872
|
+
}
|
|
2873
|
+
/**
|
|
2874
|
+
* The authenticated grantee's own offers, paged with the versioned cursor.
|
|
2875
|
+
*
|
|
2876
|
+
* The page names the authenticated principal and the exact phase filter on the
|
|
2877
|
+
* server; the cursor carries no trusted resource value. A caller's Organization
|
|
2878
|
+
* is never consulted: D8 §3 makes the own-offer list grantee-scoped by the
|
|
2879
|
+
* session, and a saved read default is not an access decision.
|
|
2880
|
+
*/
|
|
2881
|
+
type OwnInvitationsMethod = (input?: InvitationPageInput, options?: InvocationControls) => Promise<CapxulResult<InvitationPage>>;
|
|
2882
|
+
/** The authoring write: one bounded request authorizes one exact offer. */
|
|
2883
|
+
type InviteMethod = (input: InviteInput, options?: InviteOptions) => Promise<CapxulResult<InvitationView>>;
|
|
2884
|
+
//#endregion
|
|
2368
2885
|
//#region src/contract/permission.d.ts
|
|
2369
2886
|
interface PermissionReadResult {
|
|
2370
2887
|
readonly permissions: readonly Permission[];
|
|
@@ -2715,23 +3232,6 @@ type CreateOrgInput = {
|
|
|
2715
3232
|
readonly template: OrgTemplate;
|
|
2716
3233
|
readonly country?: string;
|
|
2717
3234
|
};
|
|
2718
|
-
/**
|
|
2719
|
-
* Input to `org(orgId).invite`. Email is the universal entry point.
|
|
2720
|
-
* An address that is not yet a Capxul user creates a `pending`
|
|
2721
|
-
* membership that resolves on sign-in. `role` is invitation metadata. It does
|
|
2722
|
-
* not grant an on-chain Permission.
|
|
2723
|
-
*/
|
|
2724
|
-
type InviteMemberInput = {
|
|
2725
|
-
readonly email: string;
|
|
2726
|
-
readonly role: string;
|
|
2727
|
-
};
|
|
2728
|
-
type ResendInviteTokenInput = {
|
|
2729
|
-
readonly email: string;
|
|
2730
|
-
};
|
|
2731
|
-
/** Organization ids whose pending invitations match the current Account. */
|
|
2732
|
-
type DetectPendingOrgInvitationsResult = {
|
|
2733
|
-
readonly matched: readonly OrgId[];
|
|
2734
|
-
};
|
|
2735
3235
|
/** Organization methods for one `orgId`. */
|
|
2736
3236
|
interface OrgScopedMethods extends ActorRelationshipMethods {
|
|
2737
3237
|
/**
|
|
@@ -2765,13 +3265,11 @@ interface OrgScopedMethods extends ActorRelationshipMethods {
|
|
|
2765
3265
|
readonly signal?: AbortSignal;
|
|
2766
3266
|
}): Promise<CapxulResult<readonly RoleView[]>>;
|
|
2767
3267
|
/**
|
|
2768
|
-
*
|
|
2769
|
-
*
|
|
2770
|
-
*
|
|
2771
|
-
* `org_invite_progressed` share the attempt's correlation. `{ signal }`
|
|
2772
|
-
* callers are unaffected.
|
|
3268
|
+
* The D8 invitation surface of this Organization: the Admin's preview, the
|
|
3269
|
+
* authoring write, explicit digest-bound acceptance, the scoped read, and the
|
|
3270
|
+
* four consent-free transitions.
|
|
2773
3271
|
*/
|
|
2774
|
-
|
|
3272
|
+
readonly invitations: OrgInvitations;
|
|
2775
3273
|
/**
|
|
2776
3274
|
* Leak-safe Organization payment: execute through the payments engine with
|
|
2777
3275
|
* the selected receipt-verified Budget Permission
|
|
@@ -2795,9 +3293,13 @@ type OrgsMethod = {
|
|
|
2795
3293
|
(options?: {
|
|
2796
3294
|
readonly signal?: AbortSignal;
|
|
2797
3295
|
}): Promise<CapxulResult<readonly OrganizationAccess[]>>;
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
3296
|
+
/**
|
|
3297
|
+
* The authenticated grantee's own offers, paged with the versioned cursor.
|
|
3298
|
+
* The Admin-scoped Organization list is the scoped
|
|
3299
|
+
* `org(orgId).invitations.list`; this method never consults a saved
|
|
3300
|
+
* Organization.
|
|
3301
|
+
*/
|
|
3302
|
+
invitations: OwnInvitationsMethod;
|
|
2801
3303
|
};
|
|
2802
3304
|
/**
|
|
2803
3305
|
* Top-level Org method bundle, exposed at `client.org` / `client.orgs` /
|
|
@@ -3376,4 +3878,4 @@ interface ProductionSignerControls {
|
|
|
3376
3878
|
readonly signEmbeddedUserOpHash?: OpenfortBrowserSignerOptions["signUserOpHash"];
|
|
3377
3879
|
}
|
|
3378
3880
|
//#endregion
|
|
3379
|
-
export {
|
|
3881
|
+
export { PayrollRuns as $, OrgSetupStep as $n, ActivityListParams as $t, MemberStatus as A, PaymentDocumentsMethods as An, PAYMENT_STATUSES as Ar, PersonOnboarding as At, RoleView as B, TargetReference as Bn, OrgLane as Br, AddressBookAddInput as Bt, SystemHealth as C, OfframpQuoteInput as Cn, PaymentDocumentVerification as Cr, AccountsMethods as Ct, AssignmentProjection as D, PaymentDirection as Dn, SubmittedPermissionExecution as Dr, OrganizationOnboardingInput as Dt, CurrentUserMethods as E, PaymentActivityEvidence as En, Permission as Er, OrganizationOnboarding as Et, OrgView as F, PaymentsMethods as Fn, TelemetryIdentifyInput as Fr, ActorProfileMethods as Ft, PayrollGroupInput as G, isSettingUpLifecycle as Gn, isRestoring as Gr, InboxItem as Gt, AuthorizeRunOptions as H, fingerprintPaymentIntent as Hn, StateLabel as Hr, AddressBookLabelInput as Ht, OrganizationAccess as I, PaymentsPayInput as In, TelemetryPort as Ir, ActorRelationshipMethods as It, PayrollMethods as J, SmartAccountMethods as Jn, ActivityAnnotationInput as Jt, PayrollGroupMember as K, CompleteProfileInput as Kn, IdentityTransition as Kr, InboxMethods as Kt, OrganizationAccount as L, RecipientResolution as Ln, Destination$1 as Lr, ActorRequest as Lt, OrgMethods as M, PaymentStatus as Mn, RequestStatus as Mr, ReadyAccountLifecycle as Mt, OrgScopedMethods as N, PaymentTiming as Nn, TelemetryEvent as Nr, AccountMethods as Nt, CreateOrgInput as O, PaymentDocumentKind as On, InboxStatus as Or, OrganizationOnboardingOptions as Ot, OrgTemplate as P, PaymentType as Pn, TelemetryGroupInput as Pr, ActorProfile as Pt, PayrollRunStatus as Q, OrgLifecycle as Qn, ActivityKind as Qt, OrganizationAuditLogItem as R, Ref$1 as Rn, IdentityEvent as Rr, ActorRequestIssueInput as Rt, SystemMethods as S, OfframpQuote as Sn, PaymentDocumentRender as Sr, OrgMeOptions as St, CurrentUserContext as T, Payment as Tn, CurrentHoldings as Tr, OnboardingMethods as Tt, PayrollEngagementTerms as U, AccountLifecycle as Un, destination as Ur, AddressBookMethods as Ut, AuthorizeRunInput as V, TargetsMethods as Vn, Readiness as Vr, AddressBookEntry as Vt, PayrollGroup as W, AccountSetupStep as Wn, isClaimed as Wr, InboxApproveInput as Wt, PayrollRun as X, AccountSetupPolicy as Xn, ActivityFilter as Xt, PayrollOptions as Y, AuthMethods as Yn, ActivityDetail as Yt, PayrollRunItemInput as Z, ClientRequests as Zn, ActivityItem as Zt, CreateCapxulClientInput as _, FinancialOpsMethods as _n, OfferedAuthority as _r, OrgInvitations as _t, ObservationContext as a, ActivitySummaryParams as an, GranteeRef as ar, PermissionAssignInput as at, IdentityRuntimeSendResult as b, MovementActivityEvidence as bn, PaymentDocumentDownload as br, OrgMe as bt, HostObservability as c, DepositInstructions as cn, InvitationPage as cr, PermissionMethods as ct, postHogObservability as d, DestinationKind as dn, InvitationRecovery as dr, PermissionRevokeInput as dt, ActivityMethods as en, PayoutAddress as er, PayrollTermsUnit as et, OpenfortBrowserAuth as f, DestinationListInput as fn, InvitationTarget as fr, PermissionReadResult as ft, CapxulClient as g, DestinationsMethods as gn, InvitePreview as gr, InvitePreviewInput as gt, createOpenfortBrowserSigner as h, DestinationRemoveInput as hn, InviteInput as hr, InvitePrepared as ht, ObservationAdapter as i, ActivitySummary as in, EndingReason as ir, OrganizationPaymentsMethods as it, MemberView as j, PaymentMoney as jn, PaymentStatus$1 as jr, PersonOnboardingInput as jt, MemberIdentityProjection as k, PaymentDocumentRef as kn, PAYMENT_DIRECTIONS as kr, OrganizationOnboardingState as kt, PostHogObservabilityClient as l, Destination as ln, InvitationPageInput as lr, PermissionOptions as lt, OpenfortBrowserSignerBootstrap as m, DestinationRail as mn, InviteGrant as mr, InviteOptions as mt, ProductionSignerControls as n, ActivityRange as nn, BudgetIntent as nr, OrganizationPaymentInput as nt, ObservationDelivery as o, ActivitySummaryTotal as on, InvitationAcceptInput as or, PermissionChangeInput as ot, OpenfortBrowserSigner as p, DestinationPayload as pn, InvitationView as pr, InviteMethod as pt, PayrollGroupsMethods as q, IdentityMethods as qn, InvocationControls as qr, ActivityAnnotation as qt, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT as r, ActivityReference as rn, CurrentPolicy as rr, OrganizationPaymentItemInput as rt, SdkFailureObservation as s, ActorReference as sn, InvitationId as sr, PermissionCreateInput as st, CapxulClientInput as t, ActivityPage as tn, AuthorityRef as tr, OrganizationPaymentBatchInput as tt, PostHogObservabilityOptions as u, DestinationAddInput as un, InvitationPhase as ur, PermissionReplaceInput as ut, IdentityProfileDetails as v, MeMethods as vn, SpendingScope as vr, OwnInvitationsMethod as vt, MediaMethods as w, OfframpStatus as wn, ActorRef as wr, CompletedPersonProfile as wt, HoldingsMethods as x, OfframpMethods as xn, PaymentDocumentReadRef as xr, OrgMeMethod as xt, IdentityRuntime as y, MeProfile as yn, ClientRequestView as yr, Budget as yt, RoleDefinition as z, ResolvedTarget as zn, IdentityState as zr, ActorRequestsMethods as zt };
|