@getpara/shared 1.31.0 → 1.33.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/dist/cjs/index.js +1 -0
- package/dist/cjs/schemas/permissionsV2.js +1 -0
- package/dist/cjs/schemas/permissionsV2Lifecycle.js +163 -0
- package/dist/cjs/types/webhook.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/schemas/permissionsV2.js +1 -0
- package/dist/esm/schemas/permissionsV2Lifecycle.js +160 -0
- package/dist/esm/types/webhook.js +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2.d.ts +110 -107
- package/dist/types/schemas/permissionsV2.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts +15551 -0
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts.map +1 -0
- package/dist/types/schemas/permissionsV2UserParameters.d.ts +10 -10
- package/dist/types/types/assets.d.ts +5 -1
- package/dist/types/types/assets.d.ts.map +1 -1
- package/dist/types/types/authState.d.ts +28 -15
- package/dist/types/types/authState.d.ts.map +1 -1
- package/dist/types/types/headlessOnRamp.d.ts +3 -0
- package/dist/types/types/headlessOnRamp.d.ts.map +1 -1
- package/dist/types/types/permissions.d.ts +18 -0
- package/dist/types/types/permissions.d.ts.map +1 -1
- package/dist/types/types/webhook.d.ts +54 -1
- package/dist/types/types/webhook.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1674,8 +1674,8 @@ export declare const permissionsV2AuthoritySetViewSchema: z.ZodObject<{
|
|
|
1674
1674
|
}>;
|
|
1675
1675
|
}, "strict", z.ZodTypeAny, {
|
|
1676
1676
|
userId: string;
|
|
1677
|
-
revision: number;
|
|
1678
1677
|
partnerId: string;
|
|
1678
|
+
revision: number;
|
|
1679
1679
|
appId: string;
|
|
1680
1680
|
changedAt: string;
|
|
1681
1681
|
authorizationScopeId: string;
|
|
@@ -1693,8 +1693,8 @@ export declare const permissionsV2AuthoritySetViewSchema: z.ZodObject<{
|
|
|
1693
1693
|
};
|
|
1694
1694
|
}, {
|
|
1695
1695
|
userId: string;
|
|
1696
|
-
revision: number;
|
|
1697
1696
|
partnerId: string;
|
|
1697
|
+
revision: number;
|
|
1698
1698
|
appId: string;
|
|
1699
1699
|
changedAt: string;
|
|
1700
1700
|
authorizationScopeId: string;
|
|
@@ -1740,8 +1740,8 @@ export declare const permissionsV2AuthorizationScopeBindingViewSchema: z.ZodObje
|
|
|
1740
1740
|
}>;
|
|
1741
1741
|
}, "strict", z.ZodTypeAny, {
|
|
1742
1742
|
walletId: string;
|
|
1743
|
-
revision: number;
|
|
1744
1743
|
partnerId: string;
|
|
1744
|
+
revision: number;
|
|
1745
1745
|
appId: string;
|
|
1746
1746
|
changedAt: string;
|
|
1747
1747
|
authorizationScopeId: string;
|
|
@@ -1751,8 +1751,8 @@ export declare const permissionsV2AuthorizationScopeBindingViewSchema: z.ZodObje
|
|
|
1751
1751
|
};
|
|
1752
1752
|
}, {
|
|
1753
1753
|
walletId: string;
|
|
1754
|
-
revision: number;
|
|
1755
1754
|
partnerId: string;
|
|
1755
|
+
revision: number;
|
|
1756
1756
|
appId: string;
|
|
1757
1757
|
changedAt: string;
|
|
1758
1758
|
authorizationScopeId: string;
|
|
@@ -1793,10 +1793,10 @@ export declare const permissionsV2AuthorizationConfigurationViewSchema: z.ZodObj
|
|
|
1793
1793
|
type: "partner_secret" | "configuration_manager";
|
|
1794
1794
|
}>;
|
|
1795
1795
|
}, "strict", z.ZodTypeAny, {
|
|
1796
|
+
partnerId: string;
|
|
1796
1797
|
values: Record<string, string | number>;
|
|
1797
1798
|
policyVersion: string;
|
|
1798
1799
|
revision: number;
|
|
1799
|
-
partnerId: string;
|
|
1800
1800
|
appId: string;
|
|
1801
1801
|
policyId: string;
|
|
1802
1802
|
configurationHash: string;
|
|
@@ -1808,10 +1808,10 @@ export declare const permissionsV2AuthorizationConfigurationViewSchema: z.ZodObj
|
|
|
1808
1808
|
type: "partner_secret" | "configuration_manager";
|
|
1809
1809
|
};
|
|
1810
1810
|
}, {
|
|
1811
|
+
partnerId: string;
|
|
1811
1812
|
values: Record<string, string | number>;
|
|
1812
1813
|
policyVersion: string;
|
|
1813
1814
|
revision: number;
|
|
1814
|
-
partnerId: string;
|
|
1815
1815
|
appId: string;
|
|
1816
1816
|
policyId: string;
|
|
1817
1817
|
configurationHash: string;
|
|
@@ -2238,6 +2238,7 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2238
2238
|
evidence?: "authenticated_approval" | "transaction_signature" | undefined;
|
|
2239
2239
|
terminalReason?: string | undefined;
|
|
2240
2240
|
}>, "many">;
|
|
2241
|
+
nextBeforeCaseId: z.ZodOptional<z.ZodString>;
|
|
2241
2242
|
}, "strict", z.ZodTypeAny, {
|
|
2242
2243
|
cases: {
|
|
2243
2244
|
status: "pending" | "completed" | "rejected" | "expired" | "invalidated";
|
|
@@ -2294,6 +2295,7 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2294
2295
|
evidence?: "authenticated_approval" | "transaction_signature" | undefined;
|
|
2295
2296
|
terminalReason?: string | undefined;
|
|
2296
2297
|
}[];
|
|
2298
|
+
nextBeforeCaseId?: string | undefined;
|
|
2297
2299
|
}, {
|
|
2298
2300
|
cases: {
|
|
2299
2301
|
status: "pending" | "completed" | "rejected" | "expired" | "invalidated";
|
|
@@ -2350,6 +2352,7 @@ export declare const permissionsV2ConditionalApprovalCaseListSchema: z.ZodObject
|
|
|
2350
2352
|
evidence?: "authenticated_approval" | "transaction_signature" | undefined;
|
|
2351
2353
|
terminalReason?: string | undefined;
|
|
2352
2354
|
}[];
|
|
2355
|
+
nextBeforeCaseId?: string | undefined;
|
|
2353
2356
|
}>;
|
|
2354
2357
|
export declare const permissionsV2PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
2355
2358
|
id: z.ZodString;
|
|
@@ -8499,53 +8502,53 @@ export declare const permissionsV2DelegationConsentMutationSchema: z.ZodObject<{
|
|
|
8499
8502
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8500
8503
|
}, "strict", z.ZodTypeAny, {
|
|
8501
8504
|
walletId: string;
|
|
8505
|
+
partnerId: string;
|
|
8502
8506
|
policyVersion: string;
|
|
8503
8507
|
policyHash: string;
|
|
8504
|
-
partnerId: string;
|
|
8505
8508
|
appId: string;
|
|
8506
8509
|
configurationHash?: string | undefined;
|
|
8507
8510
|
expiresAt?: string | undefined;
|
|
8508
8511
|
}, {
|
|
8509
8512
|
walletId: string;
|
|
8513
|
+
partnerId: string;
|
|
8510
8514
|
policyVersion: string;
|
|
8511
8515
|
policyHash: string;
|
|
8512
|
-
partnerId: string;
|
|
8513
8516
|
appId: string;
|
|
8514
8517
|
configurationHash?: string | undefined;
|
|
8515
8518
|
expiresAt?: string | undefined;
|
|
8516
8519
|
}>;
|
|
8517
8520
|
export declare const permissionsV2DelegationConsentStandingMutationSchema: z.ZodObject<{
|
|
8518
8521
|
walletId: z.ZodString;
|
|
8522
|
+
partnerId: z.ZodString;
|
|
8519
8523
|
policyVersion: z.ZodString;
|
|
8520
8524
|
policyHash: z.ZodString;
|
|
8521
|
-
partnerId: z.ZodString;
|
|
8522
8525
|
appId: z.ZodString;
|
|
8523
8526
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8524
8527
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8525
8528
|
pendingTransactionId: z.ZodString;
|
|
8526
8529
|
}, "strict", z.ZodTypeAny, {
|
|
8527
8530
|
walletId: string;
|
|
8531
|
+
partnerId: string;
|
|
8528
8532
|
policyVersion: string;
|
|
8529
8533
|
policyHash: string;
|
|
8530
|
-
partnerId: string;
|
|
8531
8534
|
appId: string;
|
|
8532
8535
|
pendingTransactionId: string;
|
|
8533
8536
|
configurationHash?: string | undefined;
|
|
8534
8537
|
expiresAt?: string | undefined;
|
|
8535
8538
|
}, {
|
|
8536
8539
|
walletId: string;
|
|
8540
|
+
partnerId: string;
|
|
8537
8541
|
policyVersion: string;
|
|
8538
8542
|
policyHash: string;
|
|
8539
|
-
partnerId: string;
|
|
8540
8543
|
appId: string;
|
|
8541
8544
|
pendingTransactionId: string;
|
|
8542
8545
|
configurationHash?: string | undefined;
|
|
8543
8546
|
expiresAt?: string | undefined;
|
|
8544
8547
|
}>;
|
|
8545
8548
|
export declare const permissionsV2DelegationConsentNativeStandingMutationSchema: z.ZodObject<{
|
|
8549
|
+
partnerId: z.ZodString;
|
|
8546
8550
|
policyVersion: z.ZodString;
|
|
8547
8551
|
policyHash: z.ZodString;
|
|
8548
|
-
partnerId: z.ZodString;
|
|
8549
8552
|
appId: z.ZodString;
|
|
8550
8553
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8551
8554
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8632,9 +8635,9 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8632
8635
|
}>]>;
|
|
8633
8636
|
}, "strict", z.ZodTypeAny, {
|
|
8634
8637
|
walletId: string;
|
|
8638
|
+
partnerId: string;
|
|
8635
8639
|
policyVersion: string;
|
|
8636
8640
|
policyHash: string;
|
|
8637
|
-
partnerId: string;
|
|
8638
8641
|
appId: string;
|
|
8639
8642
|
requestId: string;
|
|
8640
8643
|
transaction: {
|
|
@@ -8668,9 +8671,9 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8668
8671
|
expiresAt?: string | undefined;
|
|
8669
8672
|
}, {
|
|
8670
8673
|
walletId: string;
|
|
8674
|
+
partnerId: string;
|
|
8671
8675
|
policyVersion: string;
|
|
8672
8676
|
policyHash: string;
|
|
8673
|
-
partnerId: string;
|
|
8674
8677
|
appId: string;
|
|
8675
8678
|
requestId: string;
|
|
8676
8679
|
transaction: {
|
|
@@ -8705,35 +8708,35 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8705
8708
|
}>;
|
|
8706
8709
|
export declare const permissionsV2DelegationConsentStandingRouteMutationSchema: z.ZodUnion<[z.ZodObject<{
|
|
8707
8710
|
walletId: z.ZodString;
|
|
8711
|
+
partnerId: z.ZodString;
|
|
8708
8712
|
policyVersion: z.ZodString;
|
|
8709
8713
|
policyHash: z.ZodString;
|
|
8710
|
-
partnerId: z.ZodString;
|
|
8711
8714
|
appId: z.ZodString;
|
|
8712
8715
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8713
8716
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8714
8717
|
pendingTransactionId: z.ZodString;
|
|
8715
8718
|
}, "strict", z.ZodTypeAny, {
|
|
8716
8719
|
walletId: string;
|
|
8720
|
+
partnerId: string;
|
|
8717
8721
|
policyVersion: string;
|
|
8718
8722
|
policyHash: string;
|
|
8719
|
-
partnerId: string;
|
|
8720
8723
|
appId: string;
|
|
8721
8724
|
pendingTransactionId: string;
|
|
8722
8725
|
configurationHash?: string | undefined;
|
|
8723
8726
|
expiresAt?: string | undefined;
|
|
8724
8727
|
}, {
|
|
8725
8728
|
walletId: string;
|
|
8729
|
+
partnerId: string;
|
|
8726
8730
|
policyVersion: string;
|
|
8727
8731
|
policyHash: string;
|
|
8728
|
-
partnerId: string;
|
|
8729
8732
|
appId: string;
|
|
8730
8733
|
pendingTransactionId: string;
|
|
8731
8734
|
configurationHash?: string | undefined;
|
|
8732
8735
|
expiresAt?: string | undefined;
|
|
8733
8736
|
}>, z.ZodObject<{
|
|
8737
|
+
partnerId: z.ZodString;
|
|
8734
8738
|
policyVersion: z.ZodString;
|
|
8735
8739
|
policyHash: z.ZodString;
|
|
8736
|
-
partnerId: z.ZodString;
|
|
8737
8740
|
appId: z.ZodString;
|
|
8738
8741
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8739
8742
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8820,9 +8823,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8820
8823
|
}>]>;
|
|
8821
8824
|
}, "strict", z.ZodTypeAny, {
|
|
8822
8825
|
walletId: string;
|
|
8826
|
+
partnerId: string;
|
|
8823
8827
|
policyVersion: string;
|
|
8824
8828
|
policyHash: string;
|
|
8825
|
-
partnerId: string;
|
|
8826
8829
|
appId: string;
|
|
8827
8830
|
requestId: string;
|
|
8828
8831
|
transaction: {
|
|
@@ -8856,9 +8859,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8856
8859
|
expiresAt?: string | undefined;
|
|
8857
8860
|
}, {
|
|
8858
8861
|
walletId: string;
|
|
8862
|
+
partnerId: string;
|
|
8859
8863
|
policyVersion: string;
|
|
8860
8864
|
policyHash: string;
|
|
8861
|
-
partnerId: string;
|
|
8862
8865
|
appId: string;
|
|
8863
8866
|
requestId: string;
|
|
8864
8867
|
transaction: {
|
|
@@ -8894,9 +8897,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8894
8897
|
/** Explicit owner consent, optionally committed together with personal settings. */
|
|
8895
8898
|
export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject<{
|
|
8896
8899
|
walletId: z.ZodString;
|
|
8900
|
+
partnerId: z.ZodString;
|
|
8897
8901
|
policyVersion: z.ZodString;
|
|
8898
8902
|
policyHash: z.ZodString;
|
|
8899
|
-
partnerId: z.ZodString;
|
|
8900
8903
|
appId: z.ZodString;
|
|
8901
8904
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8902
8905
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8916,9 +8919,9 @@ export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject
|
|
|
8916
8919
|
}>>;
|
|
8917
8920
|
}, "strict", z.ZodTypeAny, {
|
|
8918
8921
|
walletId: string;
|
|
8922
|
+
partnerId: string;
|
|
8919
8923
|
policyVersion: string;
|
|
8920
8924
|
policyHash: string;
|
|
8921
|
-
partnerId: string;
|
|
8922
8925
|
appId: string;
|
|
8923
8926
|
posture: "standing" | "manual_review";
|
|
8924
8927
|
configurationHash?: string | undefined;
|
|
@@ -8930,9 +8933,9 @@ export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject
|
|
|
8930
8933
|
} | undefined;
|
|
8931
8934
|
}, {
|
|
8932
8935
|
walletId: string;
|
|
8936
|
+
partnerId: string;
|
|
8933
8937
|
policyVersion: string;
|
|
8934
8938
|
policyHash: string;
|
|
8935
|
-
partnerId: string;
|
|
8936
8939
|
appId: string;
|
|
8937
8940
|
posture: "standing" | "manual_review";
|
|
8938
8941
|
configurationHash?: string | undefined;
|
|
@@ -8960,9 +8963,9 @@ export declare const permissionsV2DelegationConsentViewSchema: z.ZodObject<{
|
|
|
8960
8963
|
userId: string;
|
|
8961
8964
|
walletId: string;
|
|
8962
8965
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
8966
|
+
partnerId: string;
|
|
8963
8967
|
policyVersion: string;
|
|
8964
8968
|
policyHash: string;
|
|
8965
|
-
partnerId: string;
|
|
8966
8969
|
appId: string;
|
|
8967
8970
|
policyId: string;
|
|
8968
8971
|
configurationHash?: string | undefined;
|
|
@@ -8973,9 +8976,9 @@ export declare const permissionsV2DelegationConsentViewSchema: z.ZodObject<{
|
|
|
8973
8976
|
userId: string;
|
|
8974
8977
|
walletId: string;
|
|
8975
8978
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
8979
|
+
partnerId: string;
|
|
8976
8980
|
policyVersion: string;
|
|
8977
8981
|
policyHash: string;
|
|
8978
|
-
partnerId: string;
|
|
8979
8982
|
appId: string;
|
|
8980
8983
|
policyId: string;
|
|
8981
8984
|
configurationHash?: string | undefined;
|
|
@@ -10662,9 +10665,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10662
10665
|
userId: string;
|
|
10663
10666
|
walletId: string;
|
|
10664
10667
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10668
|
+
partnerId: string;
|
|
10665
10669
|
policyVersion: string;
|
|
10666
10670
|
policyHash: string;
|
|
10667
|
-
partnerId: string;
|
|
10668
10671
|
appId: string;
|
|
10669
10672
|
policyId: string;
|
|
10670
10673
|
configurationHash?: string | undefined;
|
|
@@ -10675,9 +10678,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10675
10678
|
userId: string;
|
|
10676
10679
|
walletId: string;
|
|
10677
10680
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10681
|
+
partnerId: string;
|
|
10678
10682
|
policyVersion: string;
|
|
10679
10683
|
policyHash: string;
|
|
10680
|
-
partnerId: string;
|
|
10681
10684
|
appId: string;
|
|
10682
10685
|
policyId: string;
|
|
10683
10686
|
configurationHash?: string | undefined;
|
|
@@ -10686,20 +10689,6 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10686
10689
|
revokedAt?: string | undefined;
|
|
10687
10690
|
}>;
|
|
10688
10691
|
}, "strict", z.ZodTypeAny, {
|
|
10689
|
-
consent: {
|
|
10690
|
-
userId: string;
|
|
10691
|
-
walletId: string;
|
|
10692
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10693
|
-
policyVersion: string;
|
|
10694
|
-
policyHash: string;
|
|
10695
|
-
partnerId: string;
|
|
10696
|
-
appId: string;
|
|
10697
|
-
policyId: string;
|
|
10698
|
-
configurationHash?: string | undefined;
|
|
10699
|
-
grantedAt?: string | undefined;
|
|
10700
|
-
expiresAt?: string | undefined;
|
|
10701
|
-
revokedAt?: string | undefined;
|
|
10702
|
-
};
|
|
10703
10692
|
policy: {
|
|
10704
10693
|
id: string;
|
|
10705
10694
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -10820,14 +10809,13 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10820
10809
|
};
|
|
10821
10810
|
layer: "partner";
|
|
10822
10811
|
};
|
|
10823
|
-
}, {
|
|
10824
10812
|
consent: {
|
|
10825
10813
|
userId: string;
|
|
10826
10814
|
walletId: string;
|
|
10827
10815
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10816
|
+
partnerId: string;
|
|
10828
10817
|
policyVersion: string;
|
|
10829
10818
|
policyHash: string;
|
|
10830
|
-
partnerId: string;
|
|
10831
10819
|
appId: string;
|
|
10832
10820
|
policyId: string;
|
|
10833
10821
|
configurationHash?: string | undefined;
|
|
@@ -10835,6 +10823,7 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10835
10823
|
expiresAt?: string | undefined;
|
|
10836
10824
|
revokedAt?: string | undefined;
|
|
10837
10825
|
};
|
|
10826
|
+
}, {
|
|
10838
10827
|
policy: {
|
|
10839
10828
|
id: string;
|
|
10840
10829
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -10955,6 +10944,20 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10955
10944
|
};
|
|
10956
10945
|
layer: "partner";
|
|
10957
10946
|
};
|
|
10947
|
+
consent: {
|
|
10948
|
+
userId: string;
|
|
10949
|
+
walletId: string;
|
|
10950
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10951
|
+
partnerId: string;
|
|
10952
|
+
policyVersion: string;
|
|
10953
|
+
policyHash: string;
|
|
10954
|
+
appId: string;
|
|
10955
|
+
policyId: string;
|
|
10956
|
+
configurationHash?: string | undefined;
|
|
10957
|
+
grantedAt?: string | undefined;
|
|
10958
|
+
expiresAt?: string | undefined;
|
|
10959
|
+
revokedAt?: string | undefined;
|
|
10960
|
+
};
|
|
10958
10961
|
}>;
|
|
10959
10962
|
export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.ZodObject<{
|
|
10960
10963
|
consent: z.ZodObject<{
|
|
@@ -10974,9 +10977,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
10974
10977
|
userId: string;
|
|
10975
10978
|
walletId: string;
|
|
10976
10979
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10980
|
+
partnerId: string;
|
|
10977
10981
|
policyVersion: string;
|
|
10978
10982
|
policyHash: string;
|
|
10979
|
-
partnerId: string;
|
|
10980
10983
|
appId: string;
|
|
10981
10984
|
policyId: string;
|
|
10982
10985
|
configurationHash?: string | undefined;
|
|
@@ -10987,9 +10990,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
10987
10990
|
userId: string;
|
|
10988
10991
|
walletId: string;
|
|
10989
10992
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10993
|
+
partnerId: string;
|
|
10990
10994
|
policyVersion: string;
|
|
10991
10995
|
policyHash: string;
|
|
10992
|
-
partnerId: string;
|
|
10993
10996
|
appId: string;
|
|
10994
10997
|
policyId: string;
|
|
10995
10998
|
configurationHash?: string | undefined;
|
|
@@ -11033,12 +11036,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11033
11036
|
}, "strict", z.ZodTypeAny, {
|
|
11034
11037
|
userId: string;
|
|
11035
11038
|
status: "ready";
|
|
11039
|
+
partnerId: string;
|
|
11036
11040
|
values: Record<string, string>;
|
|
11037
11041
|
policyVersion: string;
|
|
11038
11042
|
policyHash: string;
|
|
11039
11043
|
revision: 0;
|
|
11040
11044
|
provenance: "default";
|
|
11041
|
-
partnerId: string;
|
|
11042
11045
|
appId: string;
|
|
11043
11046
|
policyId: string;
|
|
11044
11047
|
parameters: {
|
|
@@ -11052,12 +11055,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11052
11055
|
}, {
|
|
11053
11056
|
userId: string;
|
|
11054
11057
|
status: "ready";
|
|
11058
|
+
partnerId: string;
|
|
11055
11059
|
values: Record<string, string>;
|
|
11056
11060
|
policyVersion: string;
|
|
11057
11061
|
policyHash: string;
|
|
11058
11062
|
revision: 0;
|
|
11059
11063
|
provenance: "default";
|
|
11060
|
-
partnerId: string;
|
|
11061
11064
|
appId: string;
|
|
11062
11065
|
policyId: string;
|
|
11063
11066
|
parameters: {
|
|
@@ -11105,12 +11108,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11105
11108
|
}, "strict", z.ZodTypeAny, {
|
|
11106
11109
|
userId: string;
|
|
11107
11110
|
status: "ready";
|
|
11111
|
+
partnerId: string;
|
|
11108
11112
|
values: Record<string, string>;
|
|
11109
11113
|
policyVersion: string;
|
|
11110
11114
|
policyHash: string;
|
|
11111
11115
|
revision: number;
|
|
11112
11116
|
provenance: "default" | "personal";
|
|
11113
|
-
partnerId: string;
|
|
11114
11117
|
appId: string;
|
|
11115
11118
|
policyId: string;
|
|
11116
11119
|
parameters: {
|
|
@@ -11125,12 +11128,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11125
11128
|
}, {
|
|
11126
11129
|
userId: string;
|
|
11127
11130
|
status: "ready";
|
|
11131
|
+
partnerId: string;
|
|
11128
11132
|
values: Record<string, string>;
|
|
11129
11133
|
policyVersion: string;
|
|
11130
11134
|
policyHash: string;
|
|
11131
11135
|
revision: number;
|
|
11132
11136
|
provenance: "default" | "personal";
|
|
11133
|
-
partnerId: string;
|
|
11134
11137
|
appId: string;
|
|
11135
11138
|
policyId: string;
|
|
11136
11139
|
parameters: {
|
|
@@ -11178,11 +11181,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11178
11181
|
}, "strict", z.ZodTypeAny, {
|
|
11179
11182
|
userId: string;
|
|
11180
11183
|
status: "needs_confirmation";
|
|
11184
|
+
partnerId: string;
|
|
11181
11185
|
policyVersion: string;
|
|
11182
11186
|
policyHash: string;
|
|
11183
11187
|
revision: number;
|
|
11184
11188
|
provenance: "default" | "personal";
|
|
11185
|
-
partnerId: string;
|
|
11186
11189
|
appId: string;
|
|
11187
11190
|
policyId: string;
|
|
11188
11191
|
parameters: {
|
|
@@ -11197,11 +11200,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11197
11200
|
}, {
|
|
11198
11201
|
userId: string;
|
|
11199
11202
|
status: "needs_confirmation";
|
|
11203
|
+
partnerId: string;
|
|
11200
11204
|
policyVersion: string;
|
|
11201
11205
|
policyHash: string;
|
|
11202
11206
|
revision: number;
|
|
11203
11207
|
provenance: "default" | "personal";
|
|
11204
|
-
partnerId: string;
|
|
11205
11208
|
appId: string;
|
|
11206
11209
|
policyId: string;
|
|
11207
11210
|
parameters: {
|
|
@@ -11215,29 +11218,15 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11215
11218
|
previousValues: Record<string, string>;
|
|
11216
11219
|
}>]>>;
|
|
11217
11220
|
}, "strict", z.ZodTypeAny, {
|
|
11218
|
-
consent: {
|
|
11219
|
-
userId: string;
|
|
11220
|
-
walletId: string;
|
|
11221
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11222
|
-
policyVersion: string;
|
|
11223
|
-
policyHash: string;
|
|
11224
|
-
partnerId: string;
|
|
11225
|
-
appId: string;
|
|
11226
|
-
policyId: string;
|
|
11227
|
-
configurationHash?: string | undefined;
|
|
11228
|
-
grantedAt?: string | undefined;
|
|
11229
|
-
expiresAt?: string | undefined;
|
|
11230
|
-
revokedAt?: string | undefined;
|
|
11231
|
-
};
|
|
11232
11221
|
settings: {
|
|
11233
11222
|
userId: string;
|
|
11234
11223
|
status: "ready";
|
|
11224
|
+
partnerId: string;
|
|
11235
11225
|
values: Record<string, string>;
|
|
11236
11226
|
policyVersion: string;
|
|
11237
11227
|
policyHash: string;
|
|
11238
11228
|
revision: 0;
|
|
11239
11229
|
provenance: "default";
|
|
11240
|
-
partnerId: string;
|
|
11241
11230
|
appId: string;
|
|
11242
11231
|
policyId: string;
|
|
11243
11232
|
parameters: {
|
|
@@ -11251,12 +11240,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11251
11240
|
} | {
|
|
11252
11241
|
userId: string;
|
|
11253
11242
|
status: "ready";
|
|
11243
|
+
partnerId: string;
|
|
11254
11244
|
values: Record<string, string>;
|
|
11255
11245
|
policyVersion: string;
|
|
11256
11246
|
policyHash: string;
|
|
11257
11247
|
revision: number;
|
|
11258
11248
|
provenance: "default" | "personal";
|
|
11259
|
-
partnerId: string;
|
|
11260
11249
|
appId: string;
|
|
11261
11250
|
policyId: string;
|
|
11262
11251
|
parameters: {
|
|
@@ -11271,11 +11260,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11271
11260
|
} | {
|
|
11272
11261
|
userId: string;
|
|
11273
11262
|
status: "needs_confirmation";
|
|
11263
|
+
partnerId: string;
|
|
11274
11264
|
policyVersion: string;
|
|
11275
11265
|
policyHash: string;
|
|
11276
11266
|
revision: number;
|
|
11277
11267
|
provenance: "default" | "personal";
|
|
11278
|
-
partnerId: string;
|
|
11279
11268
|
appId: string;
|
|
11280
11269
|
policyId: string;
|
|
11281
11270
|
parameters: {
|
|
@@ -11290,12 +11279,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11290
11279
|
} | ({
|
|
11291
11280
|
userId: string;
|
|
11292
11281
|
status: "ready";
|
|
11282
|
+
partnerId: string;
|
|
11293
11283
|
values: Record<string, string>;
|
|
11294
11284
|
policyVersion: string;
|
|
11295
11285
|
policyHash: string;
|
|
11296
11286
|
revision: 0;
|
|
11297
11287
|
provenance: "default";
|
|
11298
|
-
partnerId: string;
|
|
11299
11288
|
appId: string;
|
|
11300
11289
|
policyId: string;
|
|
11301
11290
|
parameters: {
|
|
@@ -11309,12 +11298,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11309
11298
|
} & {
|
|
11310
11299
|
userId: string;
|
|
11311
11300
|
status: "ready";
|
|
11301
|
+
partnerId: string;
|
|
11312
11302
|
values: Record<string, string>;
|
|
11313
11303
|
policyVersion: string;
|
|
11314
11304
|
policyHash: string;
|
|
11315
11305
|
revision: number;
|
|
11316
11306
|
provenance: "default" | "personal";
|
|
11317
|
-
partnerId: string;
|
|
11318
11307
|
appId: string;
|
|
11319
11308
|
policyId: string;
|
|
11320
11309
|
parameters: {
|
|
@@ -11329,12 +11318,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11329
11318
|
}) | ({
|
|
11330
11319
|
userId: string;
|
|
11331
11320
|
status: "ready";
|
|
11321
|
+
partnerId: string;
|
|
11332
11322
|
values: Record<string, string>;
|
|
11333
11323
|
policyVersion: string;
|
|
11334
11324
|
policyHash: string;
|
|
11335
11325
|
revision: number;
|
|
11336
11326
|
provenance: "default" | "personal";
|
|
11337
|
-
partnerId: string;
|
|
11338
11327
|
appId: string;
|
|
11339
11328
|
policyId: string;
|
|
11340
11329
|
parameters: {
|
|
@@ -11349,12 +11338,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11349
11338
|
} & {
|
|
11350
11339
|
userId: string;
|
|
11351
11340
|
status: "ready";
|
|
11341
|
+
partnerId: string;
|
|
11352
11342
|
values: Record<string, string>;
|
|
11353
11343
|
policyVersion: string;
|
|
11354
11344
|
policyHash: string;
|
|
11355
11345
|
revision: 0;
|
|
11356
11346
|
provenance: "default";
|
|
11357
|
-
partnerId: string;
|
|
11358
11347
|
appId: string;
|
|
11359
11348
|
policyId: string;
|
|
11360
11349
|
parameters: {
|
|
@@ -11366,14 +11355,13 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11366
11355
|
window?: string | undefined;
|
|
11367
11356
|
}[];
|
|
11368
11357
|
}) | null;
|
|
11369
|
-
}, {
|
|
11370
11358
|
consent: {
|
|
11371
11359
|
userId: string;
|
|
11372
11360
|
walletId: string;
|
|
11373
11361
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11362
|
+
partnerId: string;
|
|
11374
11363
|
policyVersion: string;
|
|
11375
11364
|
policyHash: string;
|
|
11376
|
-
partnerId: string;
|
|
11377
11365
|
appId: string;
|
|
11378
11366
|
policyId: string;
|
|
11379
11367
|
configurationHash?: string | undefined;
|
|
@@ -11381,15 +11369,16 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11381
11369
|
expiresAt?: string | undefined;
|
|
11382
11370
|
revokedAt?: string | undefined;
|
|
11383
11371
|
};
|
|
11372
|
+
}, {
|
|
11384
11373
|
settings: {
|
|
11385
11374
|
userId: string;
|
|
11386
11375
|
status: "ready";
|
|
11376
|
+
partnerId: string;
|
|
11387
11377
|
values: Record<string, string>;
|
|
11388
11378
|
policyVersion: string;
|
|
11389
11379
|
policyHash: string;
|
|
11390
11380
|
revision: 0;
|
|
11391
11381
|
provenance: "default";
|
|
11392
|
-
partnerId: string;
|
|
11393
11382
|
appId: string;
|
|
11394
11383
|
policyId: string;
|
|
11395
11384
|
parameters: {
|
|
@@ -11403,12 +11392,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11403
11392
|
} | {
|
|
11404
11393
|
userId: string;
|
|
11405
11394
|
status: "ready";
|
|
11395
|
+
partnerId: string;
|
|
11406
11396
|
values: Record<string, string>;
|
|
11407
11397
|
policyVersion: string;
|
|
11408
11398
|
policyHash: string;
|
|
11409
11399
|
revision: number;
|
|
11410
11400
|
provenance: "default" | "personal";
|
|
11411
|
-
partnerId: string;
|
|
11412
11401
|
appId: string;
|
|
11413
11402
|
policyId: string;
|
|
11414
11403
|
parameters: {
|
|
@@ -11423,11 +11412,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11423
11412
|
} | {
|
|
11424
11413
|
userId: string;
|
|
11425
11414
|
status: "needs_confirmation";
|
|
11415
|
+
partnerId: string;
|
|
11426
11416
|
policyVersion: string;
|
|
11427
11417
|
policyHash: string;
|
|
11428
11418
|
revision: number;
|
|
11429
11419
|
provenance: "default" | "personal";
|
|
11430
|
-
partnerId: string;
|
|
11431
11420
|
appId: string;
|
|
11432
11421
|
policyId: string;
|
|
11433
11422
|
parameters: {
|
|
@@ -11442,12 +11431,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11442
11431
|
} | ({
|
|
11443
11432
|
userId: string;
|
|
11444
11433
|
status: "ready";
|
|
11434
|
+
partnerId: string;
|
|
11445
11435
|
values: Record<string, string>;
|
|
11446
11436
|
policyVersion: string;
|
|
11447
11437
|
policyHash: string;
|
|
11448
11438
|
revision: 0;
|
|
11449
11439
|
provenance: "default";
|
|
11450
|
-
partnerId: string;
|
|
11451
11440
|
appId: string;
|
|
11452
11441
|
policyId: string;
|
|
11453
11442
|
parameters: {
|
|
@@ -11461,12 +11450,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11461
11450
|
} & {
|
|
11462
11451
|
userId: string;
|
|
11463
11452
|
status: "ready";
|
|
11453
|
+
partnerId: string;
|
|
11464
11454
|
values: Record<string, string>;
|
|
11465
11455
|
policyVersion: string;
|
|
11466
11456
|
policyHash: string;
|
|
11467
11457
|
revision: number;
|
|
11468
11458
|
provenance: "default" | "personal";
|
|
11469
|
-
partnerId: string;
|
|
11470
11459
|
appId: string;
|
|
11471
11460
|
policyId: string;
|
|
11472
11461
|
parameters: {
|
|
@@ -11481,12 +11470,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11481
11470
|
}) | ({
|
|
11482
11471
|
userId: string;
|
|
11483
11472
|
status: "ready";
|
|
11473
|
+
partnerId: string;
|
|
11484
11474
|
values: Record<string, string>;
|
|
11485
11475
|
policyVersion: string;
|
|
11486
11476
|
policyHash: string;
|
|
11487
11477
|
revision: number;
|
|
11488
11478
|
provenance: "default" | "personal";
|
|
11489
|
-
partnerId: string;
|
|
11490
11479
|
appId: string;
|
|
11491
11480
|
policyId: string;
|
|
11492
11481
|
parameters: {
|
|
@@ -11501,12 +11490,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11501
11490
|
} & {
|
|
11502
11491
|
userId: string;
|
|
11503
11492
|
status: "ready";
|
|
11493
|
+
partnerId: string;
|
|
11504
11494
|
values: Record<string, string>;
|
|
11505
11495
|
policyVersion: string;
|
|
11506
11496
|
policyHash: string;
|
|
11507
11497
|
revision: 0;
|
|
11508
11498
|
provenance: "default";
|
|
11509
|
-
partnerId: string;
|
|
11510
11499
|
appId: string;
|
|
11511
11500
|
policyId: string;
|
|
11512
11501
|
parameters: {
|
|
@@ -11518,6 +11507,20 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11518
11507
|
window?: string | undefined;
|
|
11519
11508
|
}[];
|
|
11520
11509
|
}) | null;
|
|
11510
|
+
consent: {
|
|
11511
|
+
userId: string;
|
|
11512
|
+
walletId: string;
|
|
11513
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11514
|
+
partnerId: string;
|
|
11515
|
+
policyVersion: string;
|
|
11516
|
+
policyHash: string;
|
|
11517
|
+
appId: string;
|
|
11518
|
+
policyId: string;
|
|
11519
|
+
configurationHash?: string | undefined;
|
|
11520
|
+
grantedAt?: string | undefined;
|
|
11521
|
+
expiresAt?: string | undefined;
|
|
11522
|
+
revokedAt?: string | undefined;
|
|
11523
|
+
};
|
|
11521
11524
|
}>;
|
|
11522
11525
|
export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.ZodObject<{
|
|
11523
11526
|
requests: z.ZodArray<z.ZodObject<{
|
|
@@ -13199,9 +13202,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13199
13202
|
userId: string;
|
|
13200
13203
|
walletId: string;
|
|
13201
13204
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13205
|
+
partnerId: string;
|
|
13202
13206
|
policyVersion: string;
|
|
13203
13207
|
policyHash: string;
|
|
13204
|
-
partnerId: string;
|
|
13205
13208
|
appId: string;
|
|
13206
13209
|
policyId: string;
|
|
13207
13210
|
configurationHash?: string | undefined;
|
|
@@ -13212,9 +13215,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13212
13215
|
userId: string;
|
|
13213
13216
|
walletId: string;
|
|
13214
13217
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13218
|
+
partnerId: string;
|
|
13215
13219
|
policyVersion: string;
|
|
13216
13220
|
policyHash: string;
|
|
13217
|
-
partnerId: string;
|
|
13218
13221
|
appId: string;
|
|
13219
13222
|
policyId: string;
|
|
13220
13223
|
configurationHash?: string | undefined;
|
|
@@ -13223,20 +13226,6 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13223
13226
|
revokedAt?: string | undefined;
|
|
13224
13227
|
}>;
|
|
13225
13228
|
}, "strict", z.ZodTypeAny, {
|
|
13226
|
-
consent: {
|
|
13227
|
-
userId: string;
|
|
13228
|
-
walletId: string;
|
|
13229
|
-
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13230
|
-
policyVersion: string;
|
|
13231
|
-
policyHash: string;
|
|
13232
|
-
partnerId: string;
|
|
13233
|
-
appId: string;
|
|
13234
|
-
policyId: string;
|
|
13235
|
-
configurationHash?: string | undefined;
|
|
13236
|
-
grantedAt?: string | undefined;
|
|
13237
|
-
expiresAt?: string | undefined;
|
|
13238
|
-
revokedAt?: string | undefined;
|
|
13239
|
-
};
|
|
13240
13229
|
policy: {
|
|
13241
13230
|
id: string;
|
|
13242
13231
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13357,14 +13346,13 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13357
13346
|
};
|
|
13358
13347
|
layer: "partner";
|
|
13359
13348
|
};
|
|
13360
|
-
}, {
|
|
13361
13349
|
consent: {
|
|
13362
13350
|
userId: string;
|
|
13363
13351
|
walletId: string;
|
|
13364
13352
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13353
|
+
partnerId: string;
|
|
13365
13354
|
policyVersion: string;
|
|
13366
13355
|
policyHash: string;
|
|
13367
|
-
partnerId: string;
|
|
13368
13356
|
appId: string;
|
|
13369
13357
|
policyId: string;
|
|
13370
13358
|
configurationHash?: string | undefined;
|
|
@@ -13372,6 +13360,7 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13372
13360
|
expiresAt?: string | undefined;
|
|
13373
13361
|
revokedAt?: string | undefined;
|
|
13374
13362
|
};
|
|
13363
|
+
}, {
|
|
13375
13364
|
policy: {
|
|
13376
13365
|
id: string;
|
|
13377
13366
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13492,16 +13481,13 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13492
13481
|
};
|
|
13493
13482
|
layer: "partner";
|
|
13494
13483
|
};
|
|
13495
|
-
}>, "many">;
|
|
13496
|
-
}, "strict", z.ZodTypeAny, {
|
|
13497
|
-
requests: {
|
|
13498
13484
|
consent: {
|
|
13499
13485
|
userId: string;
|
|
13500
13486
|
walletId: string;
|
|
13501
13487
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13488
|
+
partnerId: string;
|
|
13502
13489
|
policyVersion: string;
|
|
13503
13490
|
policyHash: string;
|
|
13504
|
-
partnerId: string;
|
|
13505
13491
|
appId: string;
|
|
13506
13492
|
policyId: string;
|
|
13507
13493
|
configurationHash?: string | undefined;
|
|
@@ -13509,6 +13495,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13509
13495
|
expiresAt?: string | undefined;
|
|
13510
13496
|
revokedAt?: string | undefined;
|
|
13511
13497
|
};
|
|
13498
|
+
}>, "many">;
|
|
13499
|
+
}, "strict", z.ZodTypeAny, {
|
|
13500
|
+
requests: {
|
|
13512
13501
|
policy: {
|
|
13513
13502
|
id: string;
|
|
13514
13503
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13629,16 +13618,13 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13629
13618
|
};
|
|
13630
13619
|
layer: "partner";
|
|
13631
13620
|
};
|
|
13632
|
-
}[];
|
|
13633
|
-
}, {
|
|
13634
|
-
requests: {
|
|
13635
13621
|
consent: {
|
|
13636
13622
|
userId: string;
|
|
13637
13623
|
walletId: string;
|
|
13638
13624
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13625
|
+
partnerId: string;
|
|
13639
13626
|
policyVersion: string;
|
|
13640
13627
|
policyHash: string;
|
|
13641
|
-
partnerId: string;
|
|
13642
13628
|
appId: string;
|
|
13643
13629
|
policyId: string;
|
|
13644
13630
|
configurationHash?: string | undefined;
|
|
@@ -13646,6 +13632,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13646
13632
|
expiresAt?: string | undefined;
|
|
13647
13633
|
revokedAt?: string | undefined;
|
|
13648
13634
|
};
|
|
13635
|
+
}[];
|
|
13636
|
+
}, {
|
|
13637
|
+
requests: {
|
|
13649
13638
|
policy: {
|
|
13650
13639
|
id: string;
|
|
13651
13640
|
schemaVersion: "permissions.policy.v1";
|
|
@@ -13766,6 +13755,20 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13766
13755
|
};
|
|
13767
13756
|
layer: "partner";
|
|
13768
13757
|
};
|
|
13758
|
+
consent: {
|
|
13759
|
+
userId: string;
|
|
13760
|
+
walletId: string;
|
|
13761
|
+
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13762
|
+
partnerId: string;
|
|
13763
|
+
policyVersion: string;
|
|
13764
|
+
policyHash: string;
|
|
13765
|
+
appId: string;
|
|
13766
|
+
policyId: string;
|
|
13767
|
+
configurationHash?: string | undefined;
|
|
13768
|
+
grantedAt?: string | undefined;
|
|
13769
|
+
expiresAt?: string | undefined;
|
|
13770
|
+
revokedAt?: string | undefined;
|
|
13771
|
+
};
|
|
13769
13772
|
}[];
|
|
13770
13773
|
}>;
|
|
13771
13774
|
export declare const permissionsV2ValidationErrorSchema: z.ZodObject<{
|