@oxy.so/contracts 5.8.0 → 6.0.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/accountAccess.js +6 -5
- package/dist/cjs/accountEmail.js +13 -5
- package/dist/cjs/accountGraph.js +10 -9
- package/dist/cjs/accountName.js +3 -2
- package/dist/cjs/agency.js +91 -34
- package/dist/cjs/agentKeys.js +21 -17
- package/dist/cjs/appAssertions.js +14 -13
- package/dist/cjs/applicationRoles.js +19 -12
- package/dist/cjs/civic.js +10 -9
- package/dist/cjs/client/check.js +61 -53
- package/dist/cjs/consoleOnboarding.js +9 -4
- package/dist/cjs/contentClaims.js +23 -14
- package/dist/cjs/deviceDirectory.js +11 -9
- package/dist/cjs/deviceSession.js +27 -25
- package/dist/cjs/email/messages.js +20 -18
- package/dist/cjs/emailAgentContext.js +11 -9
- package/dist/cjs/externalIdentity.js +15 -11
- package/dist/cjs/federationInstanceFetch.js +12 -7
- package/dist/cjs/identity.js +19 -17
- package/dist/cjs/identityLink.js +6 -4
- package/dist/cjs/identityProof.js +6 -4
- package/dist/cjs/inboxPush.js +5 -4
- package/dist/cjs/index.js +15 -6
- package/dist/cjs/inference/accountBilling.js +35 -33
- package/dist/cjs/inference/aliaModelRelease.js +9 -7
- package/dist/cjs/inference/attribution.js +14 -12
- package/dist/cjs/inference/catalogue.js +35 -29
- package/dist/cjs/inference/economics.js +24 -19
- package/dist/cjs/inference/embeddings.js +9 -7
- package/dist/cjs/inference/entitlement.js +17 -15
- package/dist/cjs/inference/errors.js +15 -8
- package/dist/cjs/inference/identifiers.js +33 -21
- package/dist/cjs/inference/inbox.js +37 -35
- package/dist/cjs/inference/modelDocumentation.js +16 -14
- package/dist/cjs/inference/money.js +5 -4
- package/dist/cjs/inference/priceVersion.js +10 -5
- package/dist/cjs/inference/providerConnection.js +21 -14
- package/dist/cjs/inference/realtime.js +88 -47
- package/dist/cjs/inference/request.js +27 -25
- package/dist/cjs/inference/routingPolicy.js +12 -10
- package/dist/cjs/inference/streamEvents.js +22 -16
- package/dist/cjs/inference/usage.js +32 -15
- package/dist/cjs/keyRecovery.js +8 -6
- package/dist/cjs/keyRotation.js +5 -4
- package/dist/cjs/linkedAccounts.js +22 -18
- package/dist/cjs/moderationReputation.js +29 -27
- package/dist/cjs/notifications.js +25 -9
- package/dist/cjs/numberChecks.js +45 -0
- package/dist/cjs/oauth.js +14 -12
- package/dist/cjs/organizations.js +23 -21
- package/dist/cjs/products/access.js +10 -8
- package/dist/cjs/products/billing.js +10 -8
- package/dist/cjs/products/checkout.js +22 -10
- package/dist/cjs/products/plans.js +15 -10
- package/dist/cjs/protocol.js +6 -5
- package/dist/cjs/recommendations.js +27 -19
- package/dist/cjs/reputation.js +15 -13
- package/dist/cjs/safety.js +43 -27
- package/dist/cjs/serviceToken.js +81 -2
- package/dist/cjs/sessionRevocation.js +8 -6
- package/dist/cjs/signIn.js +42 -24
- package/dist/cjs/stickers.js +19 -15
- package/dist/cjs/stringChecks.js +70 -0
- package/dist/cjs/transparency.js +14 -12
- package/dist/cjs/updates.js +24 -22
- package/dist/cjs/userInvalidation.js +7 -5
- package/dist/cjs/userResponse.js +8 -7
- package/dist/cjs/username.js +7 -6
- package/dist/esm/accountAccess.js +4 -3
- package/dist/esm/accountEmail.js +13 -5
- package/dist/esm/accountGraph.js +8 -7
- package/dist/esm/accountName.js +3 -2
- package/dist/esm/agency.js +90 -33
- package/dist/esm/agentKeys.js +21 -17
- package/dist/esm/appAssertions.js +11 -10
- package/dist/esm/applicationRoles.js +16 -9
- package/dist/esm/civic.js +8 -7
- package/dist/esm/client/check.js +61 -53
- package/dist/esm/consoleOnboarding.js +7 -2
- package/dist/esm/contentClaims.js +23 -14
- package/dist/esm/deviceDirectory.js +11 -9
- package/dist/esm/deviceSession.js +27 -25
- package/dist/esm/email/messages.js +18 -16
- package/dist/esm/emailAgentContext.js +11 -9
- package/dist/esm/externalIdentity.js +15 -11
- package/dist/esm/federationInstanceFetch.js +10 -5
- package/dist/esm/identity.js +17 -15
- package/dist/esm/identityLink.js +6 -4
- package/dist/esm/identityProof.js +6 -4
- package/dist/esm/inboxPush.js +3 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/inference/accountBilling.js +33 -31
- package/dist/esm/inference/aliaModelRelease.js +7 -5
- package/dist/esm/inference/attribution.js +14 -12
- package/dist/esm/inference/catalogue.js +33 -27
- package/dist/esm/inference/economics.js +22 -17
- package/dist/esm/inference/embeddings.js +9 -7
- package/dist/esm/inference/entitlement.js +15 -13
- package/dist/esm/inference/errors.js +13 -6
- package/dist/esm/inference/identifiers.js +31 -19
- package/dist/esm/inference/inbox.js +37 -35
- package/dist/esm/inference/modelDocumentation.js +14 -12
- package/dist/esm/inference/money.js +3 -2
- package/dist/esm/inference/priceVersion.js +8 -3
- package/dist/esm/inference/providerConnection.js +19 -12
- package/dist/esm/inference/realtime.js +85 -44
- package/dist/esm/inference/request.js +25 -23
- package/dist/esm/inference/routingPolicy.js +9 -7
- package/dist/esm/inference/streamEvents.js +20 -14
- package/dist/esm/inference/usage.js +30 -13
- package/dist/esm/keyRecovery.js +8 -6
- package/dist/esm/keyRotation.js +5 -4
- package/dist/esm/linkedAccounts.js +20 -16
- package/dist/esm/moderationReputation.js +27 -25
- package/dist/esm/notifications.js +23 -7
- package/dist/esm/numberChecks.js +41 -0
- package/dist/esm/oauth.js +14 -12
- package/dist/esm/organizations.js +23 -21
- package/dist/esm/products/access.js +10 -8
- package/dist/esm/products/billing.js +10 -8
- package/dist/esm/products/checkout.js +22 -10
- package/dist/esm/products/plans.js +15 -10
- package/dist/esm/protocol.js +4 -3
- package/dist/esm/recommendations.js +25 -17
- package/dist/esm/reputation.js +13 -11
- package/dist/esm/safety.js +43 -27
- package/dist/esm/serviceToken.js +80 -1
- package/dist/esm/sessionRevocation.js +6 -4
- package/dist/esm/signIn.js +42 -24
- package/dist/esm/stickers.js +17 -13
- package/dist/esm/stringChecks.js +63 -0
- package/dist/esm/transparency.js +14 -12
- package/dist/esm/updates.js +22 -20
- package/dist/esm/userInvalidation.js +4 -2
- package/dist/esm/userResponse.js +4 -3
- package/dist/esm/username.js +3 -2
- package/dist/types/accountAccess.d.ts +29 -70
- package/dist/types/accountEmail.d.ts +2 -14
- package/dist/types/accountGraph.d.ts +179 -171
- package/dist/types/accountName.d.ts +1 -1
- package/dist/types/accountSubject.d.ts +20 -93
- package/dist/types/agency.d.ts +528 -2924
- package/dist/types/agentKeys.d.ts +48 -421
- package/dist/types/appAssertions.d.ts +56 -210
- package/dist/types/applicationRoles.d.ts +30 -276
- package/dist/types/avatarCharacter.d.ts +1 -1
- package/dist/types/civic.d.ts +1 -13
- package/dist/types/client/agentKeys.d.ts +18 -18
- package/dist/types/client/appAssertions.d.ts +3 -3
- package/dist/types/client/check.d.ts +13 -13
- package/dist/types/client/deviceDirectory.d.ts +51 -51
- package/dist/types/client/deviceSession.d.ts +14 -14
- package/dist/types/client/organizations.d.ts +25 -25
- package/dist/types/client/products.d.ts +33 -33
- package/dist/types/client/recommendations.d.ts +2 -2
- package/dist/types/client/safety.d.ts +45 -45
- package/dist/types/client/sessionStatus.d.ts +4 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/commonsSignIn.d.ts +4 -1
- package/dist/types/consoleOnboarding.d.ts +24 -44
- package/dist/types/contentClaims.d.ts +24 -180
- package/dist/types/deviceDirectory.d.ts +109 -1040
- package/dist/types/deviceSession.d.ts +36 -298
- package/dist/types/email/messages.d.ts +212 -1793
- package/dist/types/emailAgentContext.d.ts +10 -194
- package/dist/types/externalIdentity.d.ts +121 -615
- package/dist/types/federationInstanceFetch.d.ts +3 -32
- package/dist/types/identity.d.ts +15 -92
- package/dist/types/identityLink.d.ts +6 -84
- package/dist/types/identityProof.d.ts +5 -17
- package/dist/types/inboxPush.d.ts +1 -9
- package/dist/types/index.d.ts +5 -3
- package/dist/types/inference/accountBilling.d.ts +151 -488
- package/dist/types/inference/aliaModelRelease.d.ts +42 -439
- package/dist/types/inference/attribution.d.ts +75 -104
- package/dist/types/inference/catalogue.d.ts +417 -1599
- package/dist/types/inference/economics.d.ts +69 -276
- package/dist/types/inference/embeddings.d.ts +110 -406
- package/dist/types/inference/entitlement.d.ts +80 -335
- package/dist/types/inference/errors.d.ts +90 -102
- package/dist/types/inference/identifiers.d.ts +12 -4
- package/dist/types/inference/inbox.d.ts +105 -420
- package/dist/types/inference/modelDocumentation.d.ts +201 -1390
- package/dist/types/inference/money.d.ts +65 -32
- package/dist/types/inference/priceVersion.d.ts +53 -120
- package/dist/types/inference/providerConnection.d.ts +253 -710
- package/dist/types/inference/realtime.d.ts +954 -6825
- package/dist/types/inference/request.d.ts +300 -2572
- package/dist/types/inference/routingPolicy.d.ts +95 -503
- package/dist/types/inference/streamEvents.d.ts +253 -721
- package/dist/types/inference/usage.d.ts +317 -950
- package/dist/types/keyRecovery.d.ts +3 -51
- package/dist/types/keyRotation.d.ts +3 -38
- package/dist/types/linkedAccounts.d.ts +50 -236
- package/dist/types/moderationReputation.d.ts +81 -14
- package/dist/types/notifications.d.ts +19 -51
- package/dist/types/numberChecks.d.ts +9 -0
- package/dist/types/oauth.d.ts +101 -809
- package/dist/types/organizations.d.ts +268 -921
- package/dist/types/oxyRecordTypes.d.ts +11 -1
- package/dist/types/products/access.d.ts +125 -775
- package/dist/types/products/billing.d.ts +67 -503
- package/dist/types/products/checkout.d.ts +16 -69
- package/dist/types/products/plans.d.ts +33 -366
- package/dist/types/recommendations.d.ts +76 -389
- package/dist/types/reputation.d.ts +37 -5
- package/dist/types/safety.d.ts +408 -2048
- package/dist/types/serviceToken.d.ts +247 -7
- package/dist/types/sessionRevocation.d.ts +2 -17
- package/dist/types/sessionStatus.d.ts +27 -115
- package/dist/types/signIn.d.ts +53 -553
- package/dist/types/stickers.d.ts +67 -819
- package/dist/types/stringChecks.d.ts +16 -0
- package/dist/types/transparency.d.ts +14 -302
- package/dist/types/updates.d.ts +60 -316
- package/dist/types/userInvalidation.d.ts +4 -13
- package/dist/types/userResponse.d.ts +302 -2400
- package/dist/types/username.d.ts +3 -3
- package/package.json +2 -2
package/dist/types/safety.d.ts
CHANGED
|
@@ -4,24 +4,18 @@ export { PURCHASE_APPROVAL_STATUSES, SAFETY_POLICY_VERSION, SUPERVISED_ACTIONS,
|
|
|
4
4
|
/** The requester is authenticated by the bearer; applications cannot submit viewer IDs. */
|
|
5
5
|
export declare const profileAccessInputSchema: z.ZodObject<{
|
|
6
6
|
subjectAccountId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
subjectAccountId: string;
|
|
9
|
-
}, {
|
|
10
|
-
subjectAccountId: string;
|
|
11
|
-
}>;
|
|
7
|
+
}, z.core.$strict>;
|
|
12
8
|
export declare const profileAccessDecisionSchema: z.ZodObject<{
|
|
13
9
|
allowed: z.ZodBoolean;
|
|
14
|
-
reason: z.ZodEnum<
|
|
10
|
+
reason: z.ZodEnum<{
|
|
11
|
+
owner: "owner";
|
|
12
|
+
unavailable: "unavailable";
|
|
13
|
+
blocked: "blocked";
|
|
14
|
+
private: "private";
|
|
15
|
+
public: "public";
|
|
16
|
+
}>;
|
|
15
17
|
policyVersion: z.ZodLiteral<"1">;
|
|
16
|
-
},
|
|
17
|
-
allowed: boolean;
|
|
18
|
-
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
19
|
-
policyVersion: "1";
|
|
20
|
-
}, {
|
|
21
|
-
allowed: boolean;
|
|
22
|
-
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
23
|
-
policyVersion: "1";
|
|
24
|
-
}>;
|
|
18
|
+
}, z.core.$strict>;
|
|
25
19
|
export type ProfileAccessInput = z.infer<typeof profileAccessInputSchema>;
|
|
26
20
|
export type ProfileAccessDecision = z.infer<typeof profileAccessDecisionSchema>;
|
|
27
21
|
/** Supervision is a personal-account safety policy, never a new login/account kind. */
|
|
@@ -29,75 +23,47 @@ export type SupervisedAction = (typeof SUPERVISED_ACTIONS)[number];
|
|
|
29
23
|
export declare const SAFETY_DECISION_REASONS: readonly ["allowed", "owner", "public", "private", "blocked", "unavailable", "unsupported_consumer", "contact_not_approved", "mature_content", "unrated_content", "approval_required"];
|
|
30
24
|
export declare const safetyDecisionSchema: z.ZodObject<{
|
|
31
25
|
allowed: z.ZodBoolean;
|
|
32
|
-
reason: z.ZodEnum<
|
|
26
|
+
reason: z.ZodEnum<{
|
|
27
|
+
owner: "owner";
|
|
28
|
+
unavailable: "unavailable";
|
|
29
|
+
allowed: "allowed";
|
|
30
|
+
blocked: "blocked";
|
|
31
|
+
private: "private";
|
|
32
|
+
public: "public";
|
|
33
|
+
unsupported_consumer: "unsupported_consumer";
|
|
34
|
+
contact_not_approved: "contact_not_approved";
|
|
35
|
+
mature_content: "mature_content";
|
|
36
|
+
unrated_content: "unrated_content";
|
|
37
|
+
approval_required: "approval_required";
|
|
38
|
+
}>;
|
|
33
39
|
policyVersion: z.ZodLiteral<"2">;
|
|
34
|
-
},
|
|
35
|
-
allowed: boolean;
|
|
36
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
37
|
-
policyVersion: "2";
|
|
38
|
-
}, {
|
|
39
|
-
allowed: boolean;
|
|
40
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
41
|
-
policyVersion: "2";
|
|
42
|
-
}>;
|
|
40
|
+
}, z.core.$strict>;
|
|
43
41
|
export type SafetyDecision = z.infer<typeof safetyDecisionSchema>;
|
|
44
42
|
export declare const profileAccessBatchInputSchema: z.ZodObject<{
|
|
45
|
-
subjectAccountIds: z.
|
|
46
|
-
},
|
|
47
|
-
subjectAccountIds: string[];
|
|
48
|
-
}, {
|
|
49
|
-
subjectAccountIds: string[];
|
|
50
|
-
}>;
|
|
43
|
+
subjectAccountIds: z.ZodArray<z.ZodString>;
|
|
44
|
+
}, z.core.$strict>;
|
|
51
45
|
export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
52
46
|
items: z.ZodArray<z.ZodObject<{
|
|
53
47
|
subjectAccountId: z.ZodString;
|
|
54
48
|
decision: z.ZodObject<{
|
|
55
49
|
allowed: z.ZodBoolean;
|
|
56
|
-
reason: z.ZodEnum<
|
|
50
|
+
reason: z.ZodEnum<{
|
|
51
|
+
owner: "owner";
|
|
52
|
+
unavailable: "unavailable";
|
|
53
|
+
allowed: "allowed";
|
|
54
|
+
blocked: "blocked";
|
|
55
|
+
private: "private";
|
|
56
|
+
public: "public";
|
|
57
|
+
unsupported_consumer: "unsupported_consumer";
|
|
58
|
+
contact_not_approved: "contact_not_approved";
|
|
59
|
+
mature_content: "mature_content";
|
|
60
|
+
unrated_content: "unrated_content";
|
|
61
|
+
approval_required: "approval_required";
|
|
62
|
+
}>;
|
|
57
63
|
policyVersion: z.ZodLiteral<"2">;
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
policyVersion: "2";
|
|
62
|
-
}, {
|
|
63
|
-
allowed: boolean;
|
|
64
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
65
|
-
policyVersion: "2";
|
|
66
|
-
}>;
|
|
67
|
-
}, "strict", z.ZodTypeAny, {
|
|
68
|
-
decision: {
|
|
69
|
-
allowed: boolean;
|
|
70
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
71
|
-
policyVersion: "2";
|
|
72
|
-
};
|
|
73
|
-
subjectAccountId: string;
|
|
74
|
-
}, {
|
|
75
|
-
decision: {
|
|
76
|
-
allowed: boolean;
|
|
77
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
78
|
-
policyVersion: "2";
|
|
79
|
-
};
|
|
80
|
-
subjectAccountId: string;
|
|
81
|
-
}>, "many">;
|
|
82
|
-
}, "strict", z.ZodTypeAny, {
|
|
83
|
-
items: {
|
|
84
|
-
decision: {
|
|
85
|
-
allowed: boolean;
|
|
86
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
87
|
-
policyVersion: "2";
|
|
88
|
-
};
|
|
89
|
-
subjectAccountId: string;
|
|
90
|
-
}[];
|
|
91
|
-
}, {
|
|
92
|
-
items: {
|
|
93
|
-
decision: {
|
|
94
|
-
allowed: boolean;
|
|
95
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
96
|
-
policyVersion: "2";
|
|
97
|
-
};
|
|
98
|
-
subjectAccountId: string;
|
|
99
|
-
}[];
|
|
100
|
-
}>;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
}, z.core.$strict>;
|
|
101
67
|
export declare const MESSAGE_ACCESS_MAX_RESOURCES = 100;
|
|
102
68
|
export declare const MESSAGE_ACCESS_MAX_PARTICIPANTS = 1024;
|
|
103
69
|
export declare const MESSAGE_ACCESS_MAX_SUPERVISED_PARTICIPANTS = 256;
|
|
@@ -105,156 +71,65 @@ export declare const MESSAGE_ACCESS_MAX_PARTICIPANT_SLOTS = 4096;
|
|
|
105
71
|
/** Leaves room for the original requester proof in a 512 KiB request. */
|
|
106
72
|
export declare const MESSAGE_ACCESS_MAX_INPUT_BYTES: number;
|
|
107
73
|
export declare const messageAccessInputSchema: z.ZodObject<{
|
|
108
|
-
participantAccountIds: z.
|
|
74
|
+
participantAccountIds: z.ZodArray<z.ZodString>;
|
|
109
75
|
resourceId: z.ZodString;
|
|
110
|
-
},
|
|
111
|
-
resourceId: string;
|
|
112
|
-
participantAccountIds: string[];
|
|
113
|
-
}, {
|
|
114
|
-
resourceId: string;
|
|
115
|
-
participantAccountIds: string[];
|
|
116
|
-
}>;
|
|
76
|
+
}, z.core.$strict>;
|
|
117
77
|
export declare const contactAccessInputSchema: z.ZodObject<{
|
|
118
|
-
targetAccountIds: z.
|
|
119
|
-
},
|
|
120
|
-
targetAccountIds: string[];
|
|
121
|
-
}, {
|
|
122
|
-
targetAccountIds: string[];
|
|
123
|
-
}>;
|
|
78
|
+
targetAccountIds: z.ZodArray<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>;
|
|
124
80
|
export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
125
81
|
items: z.ZodArray<z.ZodObject<{
|
|
126
82
|
targetAccountId: z.ZodString;
|
|
127
83
|
decision: z.ZodObject<{
|
|
128
84
|
allowed: z.ZodBoolean;
|
|
129
|
-
reason: z.ZodEnum<
|
|
85
|
+
reason: z.ZodEnum<{
|
|
86
|
+
owner: "owner";
|
|
87
|
+
unavailable: "unavailable";
|
|
88
|
+
allowed: "allowed";
|
|
89
|
+
blocked: "blocked";
|
|
90
|
+
private: "private";
|
|
91
|
+
public: "public";
|
|
92
|
+
unsupported_consumer: "unsupported_consumer";
|
|
93
|
+
contact_not_approved: "contact_not_approved";
|
|
94
|
+
mature_content: "mature_content";
|
|
95
|
+
unrated_content: "unrated_content";
|
|
96
|
+
approval_required: "approval_required";
|
|
97
|
+
}>;
|
|
130
98
|
policyVersion: z.ZodLiteral<"2">;
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
policyVersion: "2";
|
|
135
|
-
}, {
|
|
136
|
-
allowed: boolean;
|
|
137
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
138
|
-
policyVersion: "2";
|
|
139
|
-
}>;
|
|
140
|
-
}, "strict", z.ZodTypeAny, {
|
|
141
|
-
decision: {
|
|
142
|
-
allowed: boolean;
|
|
143
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
144
|
-
policyVersion: "2";
|
|
145
|
-
};
|
|
146
|
-
targetAccountId: string;
|
|
147
|
-
}, {
|
|
148
|
-
decision: {
|
|
149
|
-
allowed: boolean;
|
|
150
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
151
|
-
policyVersion: "2";
|
|
152
|
-
};
|
|
153
|
-
targetAccountId: string;
|
|
154
|
-
}>, "many">;
|
|
155
|
-
}, "strict", z.ZodTypeAny, {
|
|
156
|
-
items: {
|
|
157
|
-
decision: {
|
|
158
|
-
allowed: boolean;
|
|
159
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
160
|
-
policyVersion: "2";
|
|
161
|
-
};
|
|
162
|
-
targetAccountId: string;
|
|
163
|
-
}[];
|
|
164
|
-
}, {
|
|
165
|
-
items: {
|
|
166
|
-
decision: {
|
|
167
|
-
allowed: boolean;
|
|
168
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
169
|
-
policyVersion: "2";
|
|
170
|
-
};
|
|
171
|
-
targetAccountId: string;
|
|
172
|
-
}[];
|
|
173
|
-
}>;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
}, z.core.$strict>;
|
|
174
102
|
export declare const CONTENT_CLASSIFICATIONS: readonly ["general", "mature", "unrated"];
|
|
175
|
-
export declare const contentAccessInputSchema: z.
|
|
103
|
+
export declare const contentAccessInputSchema: z.ZodObject<{
|
|
176
104
|
resourceId: z.ZodString;
|
|
177
|
-
classification: z.ZodEnum<
|
|
105
|
+
classification: z.ZodEnum<{
|
|
106
|
+
general: "general";
|
|
107
|
+
mature: "mature";
|
|
108
|
+
unrated: "unrated";
|
|
109
|
+
}>;
|
|
178
110
|
authorAccountId: z.ZodOptional<z.ZodString>;
|
|
179
|
-
audience: z.ZodOptional<z.ZodEnum<
|
|
111
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
followers: "followers";
|
|
113
|
+
private: "private";
|
|
114
|
+
public: "public";
|
|
115
|
+
}>>;
|
|
180
116
|
applicationAudienceAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
181
117
|
applicationResourceGrant: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
-
operation: z.ZodOptional<z.ZodEnum<
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
operation?: "read" | "manage_own" | undefined;
|
|
188
|
-
authorAccountId?: string | undefined;
|
|
189
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
190
|
-
applicationResourceGrant?: boolean | undefined;
|
|
191
|
-
}, {
|
|
192
|
-
resourceId: string;
|
|
193
|
-
classification: "general" | "mature" | "unrated";
|
|
194
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
195
|
-
operation?: "read" | "manage_own" | undefined;
|
|
196
|
-
authorAccountId?: string | undefined;
|
|
197
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
198
|
-
applicationResourceGrant?: boolean | undefined;
|
|
199
|
-
}>, {
|
|
200
|
-
resourceId: string;
|
|
201
|
-
classification: "general" | "mature" | "unrated";
|
|
202
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
203
|
-
operation?: "read" | "manage_own" | undefined;
|
|
204
|
-
authorAccountId?: string | undefined;
|
|
205
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
206
|
-
applicationResourceGrant?: boolean | undefined;
|
|
207
|
-
}, {
|
|
208
|
-
resourceId: string;
|
|
209
|
-
classification: "general" | "mature" | "unrated";
|
|
210
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
211
|
-
operation?: "read" | "manage_own" | undefined;
|
|
212
|
-
authorAccountId?: string | undefined;
|
|
213
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
214
|
-
applicationResourceGrant?: boolean | undefined;
|
|
215
|
-
}>, {
|
|
216
|
-
resourceId: string;
|
|
217
|
-
classification: "general" | "mature" | "unrated";
|
|
218
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
219
|
-
operation?: "read" | "manage_own" | undefined;
|
|
220
|
-
authorAccountId?: string | undefined;
|
|
221
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
222
|
-
applicationResourceGrant?: boolean | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
resourceId: string;
|
|
225
|
-
classification: "general" | "mature" | "unrated";
|
|
226
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
227
|
-
operation?: "read" | "manage_own" | undefined;
|
|
228
|
-
authorAccountId?: string | undefined;
|
|
229
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
230
|
-
applicationResourceGrant?: boolean | undefined;
|
|
231
|
-
}>;
|
|
118
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
read: "read";
|
|
120
|
+
manage_own: "manage_own";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
232
123
|
export declare const publicationPolicySchema: z.ZodObject<{
|
|
233
124
|
publicationAllowed: z.ZodBoolean;
|
|
234
125
|
requiredAudience: z.ZodNullable<z.ZodLiteral<"private">>;
|
|
235
126
|
collaborationAllowed: z.ZodBoolean;
|
|
236
127
|
federationAllowed: z.ZodBoolean;
|
|
237
128
|
policyVersion: z.ZodLiteral<"2">;
|
|
238
|
-
},
|
|
239
|
-
policyVersion: "2";
|
|
240
|
-
publicationAllowed: boolean;
|
|
241
|
-
requiredAudience: "private" | null;
|
|
242
|
-
collaborationAllowed: boolean;
|
|
243
|
-
federationAllowed: boolean;
|
|
244
|
-
}, {
|
|
245
|
-
policyVersion: "2";
|
|
246
|
-
publicationAllowed: boolean;
|
|
247
|
-
requiredAudience: "private" | null;
|
|
248
|
-
collaborationAllowed: boolean;
|
|
249
|
-
federationAllowed: boolean;
|
|
250
|
-
}>;
|
|
129
|
+
}, z.core.$strict>;
|
|
251
130
|
export declare const publicationPoliciesInputSchema: z.ZodObject<{
|
|
252
|
-
authorAccountIds: z.
|
|
253
|
-
},
|
|
254
|
-
authorAccountIds: string[];
|
|
255
|
-
}, {
|
|
256
|
-
authorAccountIds: string[];
|
|
257
|
-
}>;
|
|
131
|
+
authorAccountIds: z.ZodArray<z.ZodString>;
|
|
132
|
+
}, z.core.$strict>;
|
|
258
133
|
export declare const publicationPoliciesResponseSchema: z.ZodObject<{
|
|
259
134
|
items: z.ZodArray<z.ZodObject<{
|
|
260
135
|
authorAccountId: z.ZodString;
|
|
@@ -264,412 +139,125 @@ export declare const publicationPoliciesResponseSchema: z.ZodObject<{
|
|
|
264
139
|
collaborationAllowed: z.ZodBoolean;
|
|
265
140
|
federationAllowed: z.ZodBoolean;
|
|
266
141
|
policyVersion: z.ZodLiteral<"2">;
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
requiredAudience: "private" | null;
|
|
271
|
-
collaborationAllowed: boolean;
|
|
272
|
-
federationAllowed: boolean;
|
|
273
|
-
}, {
|
|
274
|
-
policyVersion: "2";
|
|
275
|
-
publicationAllowed: boolean;
|
|
276
|
-
requiredAudience: "private" | null;
|
|
277
|
-
collaborationAllowed: boolean;
|
|
278
|
-
federationAllowed: boolean;
|
|
279
|
-
}>;
|
|
280
|
-
}, "strict", z.ZodTypeAny, {
|
|
281
|
-
authorAccountId: string;
|
|
282
|
-
policy: {
|
|
283
|
-
policyVersion: "2";
|
|
284
|
-
publicationAllowed: boolean;
|
|
285
|
-
requiredAudience: "private" | null;
|
|
286
|
-
collaborationAllowed: boolean;
|
|
287
|
-
federationAllowed: boolean;
|
|
288
|
-
};
|
|
289
|
-
}, {
|
|
290
|
-
authorAccountId: string;
|
|
291
|
-
policy: {
|
|
292
|
-
policyVersion: "2";
|
|
293
|
-
publicationAllowed: boolean;
|
|
294
|
-
requiredAudience: "private" | null;
|
|
295
|
-
collaborationAllowed: boolean;
|
|
296
|
-
federationAllowed: boolean;
|
|
297
|
-
};
|
|
298
|
-
}>, "many">;
|
|
299
|
-
}, "strict", z.ZodTypeAny, {
|
|
300
|
-
items: {
|
|
301
|
-
authorAccountId: string;
|
|
302
|
-
policy: {
|
|
303
|
-
policyVersion: "2";
|
|
304
|
-
publicationAllowed: boolean;
|
|
305
|
-
requiredAudience: "private" | null;
|
|
306
|
-
collaborationAllowed: boolean;
|
|
307
|
-
federationAllowed: boolean;
|
|
308
|
-
};
|
|
309
|
-
}[];
|
|
310
|
-
}, {
|
|
311
|
-
items: {
|
|
312
|
-
authorAccountId: string;
|
|
313
|
-
policy: {
|
|
314
|
-
policyVersion: "2";
|
|
315
|
-
publicationAllowed: boolean;
|
|
316
|
-
requiredAudience: "private" | null;
|
|
317
|
-
collaborationAllowed: boolean;
|
|
318
|
-
federationAllowed: boolean;
|
|
319
|
-
};
|
|
320
|
-
}[];
|
|
321
|
-
}>;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
}, z.core.$strict>;
|
|
322
145
|
export type PublicationPoliciesInput = z.infer<typeof publicationPoliciesInputSchema>;
|
|
323
146
|
export type PublicationPolicy = z.infer<typeof publicationPolicySchema>;
|
|
324
147
|
export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
325
|
-
items: z.
|
|
148
|
+
items: z.ZodArray<z.ZodObject<{
|
|
326
149
|
resourceId: z.ZodString;
|
|
327
|
-
classification: z.ZodEnum<
|
|
150
|
+
classification: z.ZodEnum<{
|
|
151
|
+
general: "general";
|
|
152
|
+
mature: "mature";
|
|
153
|
+
unrated: "unrated";
|
|
154
|
+
}>;
|
|
328
155
|
authorAccountId: z.ZodOptional<z.ZodString>;
|
|
329
|
-
audience: z.ZodOptional<z.ZodEnum<
|
|
156
|
+
audience: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
followers: "followers";
|
|
158
|
+
private: "private";
|
|
159
|
+
public: "public";
|
|
160
|
+
}>>;
|
|
330
161
|
applicationAudienceAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
331
162
|
applicationResourceGrant: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
-
operation: z.ZodOptional<z.ZodEnum<
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
authorAccountId?: string | undefined;
|
|
339
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
340
|
-
applicationResourceGrant?: boolean | undefined;
|
|
341
|
-
}, {
|
|
342
|
-
resourceId: string;
|
|
343
|
-
classification: "general" | "mature" | "unrated";
|
|
344
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
345
|
-
operation?: "read" | "manage_own" | undefined;
|
|
346
|
-
authorAccountId?: string | undefined;
|
|
347
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
348
|
-
applicationResourceGrant?: boolean | undefined;
|
|
349
|
-
}>, {
|
|
350
|
-
resourceId: string;
|
|
351
|
-
classification: "general" | "mature" | "unrated";
|
|
352
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
353
|
-
operation?: "read" | "manage_own" | undefined;
|
|
354
|
-
authorAccountId?: string | undefined;
|
|
355
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
356
|
-
applicationResourceGrant?: boolean | undefined;
|
|
357
|
-
}, {
|
|
358
|
-
resourceId: string;
|
|
359
|
-
classification: "general" | "mature" | "unrated";
|
|
360
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
361
|
-
operation?: "read" | "manage_own" | undefined;
|
|
362
|
-
authorAccountId?: string | undefined;
|
|
363
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
364
|
-
applicationResourceGrant?: boolean | undefined;
|
|
365
|
-
}>, {
|
|
366
|
-
resourceId: string;
|
|
367
|
-
classification: "general" | "mature" | "unrated";
|
|
368
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
369
|
-
operation?: "read" | "manage_own" | undefined;
|
|
370
|
-
authorAccountId?: string | undefined;
|
|
371
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
372
|
-
applicationResourceGrant?: boolean | undefined;
|
|
373
|
-
}, {
|
|
374
|
-
resourceId: string;
|
|
375
|
-
classification: "general" | "mature" | "unrated";
|
|
376
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
377
|
-
operation?: "read" | "manage_own" | undefined;
|
|
378
|
-
authorAccountId?: string | undefined;
|
|
379
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
380
|
-
applicationResourceGrant?: boolean | undefined;
|
|
381
|
-
}>, "many">, {
|
|
382
|
-
resourceId: string;
|
|
383
|
-
classification: "general" | "mature" | "unrated";
|
|
384
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
385
|
-
operation?: "read" | "manage_own" | undefined;
|
|
386
|
-
authorAccountId?: string | undefined;
|
|
387
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
388
|
-
applicationResourceGrant?: boolean | undefined;
|
|
389
|
-
}[], {
|
|
390
|
-
resourceId: string;
|
|
391
|
-
classification: "general" | "mature" | "unrated";
|
|
392
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
393
|
-
operation?: "read" | "manage_own" | undefined;
|
|
394
|
-
authorAccountId?: string | undefined;
|
|
395
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
396
|
-
applicationResourceGrant?: boolean | undefined;
|
|
397
|
-
}[]>;
|
|
398
|
-
}, "strict", z.ZodTypeAny, {
|
|
399
|
-
items: {
|
|
400
|
-
resourceId: string;
|
|
401
|
-
classification: "general" | "mature" | "unrated";
|
|
402
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
403
|
-
operation?: "read" | "manage_own" | undefined;
|
|
404
|
-
authorAccountId?: string | undefined;
|
|
405
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
406
|
-
applicationResourceGrant?: boolean | undefined;
|
|
407
|
-
}[];
|
|
408
|
-
}, {
|
|
409
|
-
items: {
|
|
410
|
-
resourceId: string;
|
|
411
|
-
classification: "general" | "mature" | "unrated";
|
|
412
|
-
audience?: "followers" | "private" | "public" | undefined;
|
|
413
|
-
operation?: "read" | "manage_own" | undefined;
|
|
414
|
-
authorAccountId?: string | undefined;
|
|
415
|
-
applicationAudienceAllowed?: boolean | undefined;
|
|
416
|
-
applicationResourceGrant?: boolean | undefined;
|
|
417
|
-
}[];
|
|
418
|
-
}>;
|
|
163
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
read: "read";
|
|
165
|
+
manage_own: "manage_own";
|
|
166
|
+
}>>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
168
|
+
}, z.core.$strict>;
|
|
419
169
|
export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
420
170
|
items: z.ZodArray<z.ZodObject<{
|
|
421
171
|
resourceId: z.ZodString;
|
|
422
172
|
decision: z.ZodObject<{
|
|
423
173
|
allowed: z.ZodBoolean;
|
|
424
|
-
reason: z.ZodEnum<
|
|
174
|
+
reason: z.ZodEnum<{
|
|
175
|
+
owner: "owner";
|
|
176
|
+
unavailable: "unavailable";
|
|
177
|
+
allowed: "allowed";
|
|
178
|
+
blocked: "blocked";
|
|
179
|
+
private: "private";
|
|
180
|
+
public: "public";
|
|
181
|
+
unsupported_consumer: "unsupported_consumer";
|
|
182
|
+
contact_not_approved: "contact_not_approved";
|
|
183
|
+
mature_content: "mature_content";
|
|
184
|
+
unrated_content: "unrated_content";
|
|
185
|
+
approval_required: "approval_required";
|
|
186
|
+
}>;
|
|
425
187
|
policyVersion: z.ZodLiteral<"2">;
|
|
426
|
-
},
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
policyVersion: "2";
|
|
430
|
-
}, {
|
|
431
|
-
allowed: boolean;
|
|
432
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
433
|
-
policyVersion: "2";
|
|
434
|
-
}>;
|
|
435
|
-
}, "strict", z.ZodTypeAny, {
|
|
436
|
-
decision: {
|
|
437
|
-
allowed: boolean;
|
|
438
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
439
|
-
policyVersion: "2";
|
|
440
|
-
};
|
|
441
|
-
resourceId: string;
|
|
442
|
-
}, {
|
|
443
|
-
decision: {
|
|
444
|
-
allowed: boolean;
|
|
445
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
446
|
-
policyVersion: "2";
|
|
447
|
-
};
|
|
448
|
-
resourceId: string;
|
|
449
|
-
}>, "many">;
|
|
450
|
-
}, "strict", z.ZodTypeAny, {
|
|
451
|
-
items: {
|
|
452
|
-
decision: {
|
|
453
|
-
allowed: boolean;
|
|
454
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
455
|
-
policyVersion: "2";
|
|
456
|
-
};
|
|
457
|
-
resourceId: string;
|
|
458
|
-
}[];
|
|
459
|
-
}, {
|
|
460
|
-
items: {
|
|
461
|
-
decision: {
|
|
462
|
-
allowed: boolean;
|
|
463
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
464
|
-
policyVersion: "2";
|
|
465
|
-
};
|
|
466
|
-
resourceId: string;
|
|
467
|
-
}[];
|
|
468
|
-
}>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
}, z.core.$strict>>;
|
|
190
|
+
}, z.core.$strict>;
|
|
469
191
|
/** A reviewed background consumer may decide delivery, but never authenticate as the sender. */
|
|
470
192
|
export declare const deliveryAccessInputSchema: z.ZodObject<{
|
|
471
|
-
participantAccountIds: z.
|
|
193
|
+
participantAccountIds: z.ZodArray<z.ZodString>;
|
|
472
194
|
resourceId: z.ZodString;
|
|
473
|
-
} & {
|
|
474
195
|
senderAccountId: z.ZodString;
|
|
475
|
-
},
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
},
|
|
489
|
-
items: any[];
|
|
490
|
-
}>, {
|
|
491
|
-
items: any[];
|
|
492
|
-
}, {
|
|
493
|
-
items: any[];
|
|
494
|
-
}>, {
|
|
495
|
-
items: any[];
|
|
496
|
-
}, {
|
|
497
|
-
items: any[];
|
|
498
|
-
}>, {
|
|
499
|
-
items: any[];
|
|
500
|
-
}, {
|
|
501
|
-
items: any[];
|
|
502
|
-
}>;
|
|
503
|
-
export declare const deliveryAccessBatchInputSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
504
|
-
items: z.ZodArray<z.ZodTypeAny, "many">;
|
|
505
|
-
}, "strict", z.ZodTypeAny, {
|
|
506
|
-
items: any[];
|
|
507
|
-
}, {
|
|
508
|
-
items: any[];
|
|
509
|
-
}>, {
|
|
510
|
-
items: any[];
|
|
511
|
-
}, {
|
|
512
|
-
items: any[];
|
|
513
|
-
}>, {
|
|
514
|
-
items: any[];
|
|
515
|
-
}, {
|
|
516
|
-
items: any[];
|
|
517
|
-
}>, {
|
|
518
|
-
items: any[];
|
|
519
|
-
}, {
|
|
520
|
-
items: any[];
|
|
521
|
-
}>;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
export declare const messageAccessBatchInputSchema: z.ZodObject<{
|
|
198
|
+
items: z.ZodArray<z.ZodObject<{
|
|
199
|
+
participantAccountIds: z.ZodArray<z.ZodString>;
|
|
200
|
+
resourceId: z.ZodString;
|
|
201
|
+
}, z.core.$strict>>;
|
|
202
|
+
}, z.core.$strict>;
|
|
203
|
+
export declare const deliveryAccessBatchInputSchema: z.ZodObject<{
|
|
204
|
+
items: z.ZodArray<z.ZodObject<{
|
|
205
|
+
participantAccountIds: z.ZodArray<z.ZodString>;
|
|
206
|
+
resourceId: z.ZodString;
|
|
207
|
+
senderAccountId: z.ZodString;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
}, z.core.$strict>;
|
|
522
210
|
export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
523
211
|
items: z.ZodArray<z.ZodObject<{
|
|
524
212
|
resourceId: z.ZodString;
|
|
525
213
|
decision: z.ZodObject<{
|
|
526
214
|
allowed: z.ZodBoolean;
|
|
527
|
-
reason: z.ZodEnum<
|
|
215
|
+
reason: z.ZodEnum<{
|
|
216
|
+
owner: "owner";
|
|
217
|
+
unavailable: "unavailable";
|
|
218
|
+
allowed: "allowed";
|
|
219
|
+
blocked: "blocked";
|
|
220
|
+
private: "private";
|
|
221
|
+
public: "public";
|
|
222
|
+
unsupported_consumer: "unsupported_consumer";
|
|
223
|
+
contact_not_approved: "contact_not_approved";
|
|
224
|
+
mature_content: "mature_content";
|
|
225
|
+
unrated_content: "unrated_content";
|
|
226
|
+
approval_required: "approval_required";
|
|
227
|
+
}>;
|
|
528
228
|
policyVersion: z.ZodLiteral<"2">;
|
|
529
|
-
},
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
policyVersion: "2";
|
|
533
|
-
}, {
|
|
534
|
-
allowed: boolean;
|
|
535
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
536
|
-
policyVersion: "2";
|
|
537
|
-
}>;
|
|
538
|
-
}, "strict", z.ZodTypeAny, {
|
|
539
|
-
decision: {
|
|
540
|
-
allowed: boolean;
|
|
541
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
542
|
-
policyVersion: "2";
|
|
543
|
-
};
|
|
544
|
-
resourceId: string;
|
|
545
|
-
}, {
|
|
546
|
-
decision: {
|
|
547
|
-
allowed: boolean;
|
|
548
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
549
|
-
policyVersion: "2";
|
|
550
|
-
};
|
|
551
|
-
resourceId: string;
|
|
552
|
-
}>, "many">;
|
|
553
|
-
}, "strict", z.ZodTypeAny, {
|
|
554
|
-
items: {
|
|
555
|
-
decision: {
|
|
556
|
-
allowed: boolean;
|
|
557
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
558
|
-
policyVersion: "2";
|
|
559
|
-
};
|
|
560
|
-
resourceId: string;
|
|
561
|
-
}[];
|
|
562
|
-
}, {
|
|
563
|
-
items: {
|
|
564
|
-
decision: {
|
|
565
|
-
allowed: boolean;
|
|
566
|
-
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
567
|
-
policyVersion: "2";
|
|
568
|
-
};
|
|
569
|
-
resourceId: string;
|
|
570
|
-
}[];
|
|
571
|
-
}>;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
}, z.core.$strict>;
|
|
572
232
|
export type MessageAccessBatchInput = z.infer<typeof messageAccessBatchInputSchema>;
|
|
573
233
|
export type DeliveryAccessBatchInput = z.infer<typeof deliveryAccessBatchInputSchema>;
|
|
574
234
|
/** Live socket-recipient proof; a request ID correlates the result and never identifies an account. */
|
|
575
|
-
export declare const messagingSessionsInputSchema: z.
|
|
235
|
+
export declare const messagingSessionsInputSchema: z.ZodObject<{
|
|
576
236
|
items: z.ZodArray<z.ZodObject<{
|
|
577
237
|
requestId: z.ZodString;
|
|
578
238
|
accessToken: z.ZodString;
|
|
579
|
-
},
|
|
580
|
-
|
|
581
|
-
requestId: string;
|
|
582
|
-
}, {
|
|
583
|
-
accessToken: string;
|
|
584
|
-
requestId: string;
|
|
585
|
-
}>, "many">;
|
|
586
|
-
}, "strict", z.ZodTypeAny, {
|
|
587
|
-
items: {
|
|
588
|
-
accessToken: string;
|
|
589
|
-
requestId: string;
|
|
590
|
-
}[];
|
|
591
|
-
}, {
|
|
592
|
-
items: {
|
|
593
|
-
accessToken: string;
|
|
594
|
-
requestId: string;
|
|
595
|
-
}[];
|
|
596
|
-
}>, {
|
|
597
|
-
items: {
|
|
598
|
-
accessToken: string;
|
|
599
|
-
requestId: string;
|
|
600
|
-
}[];
|
|
601
|
-
}, {
|
|
602
|
-
items: {
|
|
603
|
-
accessToken: string;
|
|
604
|
-
requestId: string;
|
|
605
|
-
}[];
|
|
606
|
-
}>, {
|
|
607
|
-
items: {
|
|
608
|
-
accessToken: string;
|
|
609
|
-
requestId: string;
|
|
610
|
-
}[];
|
|
611
|
-
}, {
|
|
612
|
-
items: {
|
|
613
|
-
accessToken: string;
|
|
614
|
-
requestId: string;
|
|
615
|
-
}[];
|
|
616
|
-
}>;
|
|
239
|
+
}, z.core.$strict>>;
|
|
240
|
+
}, z.core.$strict>;
|
|
617
241
|
export declare const messagingSessionsResponseSchema: z.ZodObject<{
|
|
618
|
-
items: z.ZodArray<z.ZodDiscriminatedUnion<
|
|
242
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
619
243
|
requestId: z.ZodString;
|
|
620
244
|
allowed: z.ZodLiteral<true>;
|
|
621
245
|
accountId: z.ZodString;
|
|
622
|
-
},
|
|
623
|
-
accountId: string;
|
|
624
|
-
allowed: true;
|
|
625
|
-
requestId: string;
|
|
626
|
-
}, {
|
|
627
|
-
accountId: string;
|
|
628
|
-
allowed: true;
|
|
629
|
-
requestId: string;
|
|
630
|
-
}>, z.ZodObject<{
|
|
246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
631
247
|
requestId: z.ZodString;
|
|
632
248
|
allowed: z.ZodLiteral<false>;
|
|
633
|
-
},
|
|
634
|
-
|
|
635
|
-
requestId: string;
|
|
636
|
-
}, {
|
|
637
|
-
allowed: false;
|
|
638
|
-
requestId: string;
|
|
639
|
-
}>]>, "many">;
|
|
640
|
-
}, "strict", z.ZodTypeAny, {
|
|
641
|
-
items: ({
|
|
642
|
-
accountId: string;
|
|
643
|
-
allowed: true;
|
|
644
|
-
requestId: string;
|
|
645
|
-
} | {
|
|
646
|
-
allowed: false;
|
|
647
|
-
requestId: string;
|
|
648
|
-
})[];
|
|
649
|
-
}, {
|
|
650
|
-
items: ({
|
|
651
|
-
accountId: string;
|
|
652
|
-
allowed: true;
|
|
653
|
-
requestId: string;
|
|
654
|
-
} | {
|
|
655
|
-
allowed: false;
|
|
656
|
-
requestId: string;
|
|
657
|
-
})[];
|
|
658
|
-
}>;
|
|
249
|
+
}, z.core.$strict>], "allowed">>;
|
|
250
|
+
}, z.core.$strict>;
|
|
659
251
|
export type MessagingSessionsInput = z.infer<typeof messagingSessionsInputSchema>;
|
|
660
|
-
export declare const safetyRequesterSchema: z.ZodUnion<[z.ZodObject<{
|
|
252
|
+
export declare const safetyRequesterSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
661
253
|
accessToken: z.ZodNullable<z.ZodString>;
|
|
662
|
-
},
|
|
663
|
-
accessToken: string | null;
|
|
664
|
-
}, {
|
|
665
|
-
accessToken: string | null;
|
|
666
|
-
}>, z.ZodObject<{
|
|
254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
667
255
|
connectionToken: z.ZodString;
|
|
668
|
-
},
|
|
669
|
-
|
|
670
|
-
}, {
|
|
671
|
-
|
|
672
|
-
}>]>;
|
|
256
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
257
|
+
capabilityTicket: z.ZodString;
|
|
258
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
|
+
requesterContext: z.ZodString;
|
|
260
|
+
}, z.core.$strict>]>;
|
|
673
261
|
export type SafetyRequester = z.infer<typeof safetyRequesterSchema>;
|
|
674
262
|
export type ProfileAccessBatchInput = z.infer<typeof profileAccessBatchInputSchema>;
|
|
675
263
|
export type MessageAccessInput = z.infer<typeof messageAccessInputSchema>;
|
|
@@ -680,213 +268,79 @@ export type DeliveryAccessInput = z.infer<typeof deliveryAccessInputSchema>;
|
|
|
680
268
|
export declare const supervisionSchema: z.ZodObject<{
|
|
681
269
|
childAccountId: z.ZodString;
|
|
682
270
|
guardianAccountId: z.ZodNullable<z.ZodString>;
|
|
683
|
-
status: z.ZodEnum<
|
|
271
|
+
status: z.ZodEnum<{
|
|
272
|
+
active: "active";
|
|
273
|
+
orphaned: "orphaned";
|
|
274
|
+
ended: "ended";
|
|
275
|
+
}>;
|
|
684
276
|
policyVersion: z.ZodLiteral<"2">;
|
|
685
277
|
consentVersion: z.ZodLiteral<"1">;
|
|
686
278
|
createdAt: z.ZodString;
|
|
687
|
-
},
|
|
688
|
-
status: "active" | "orphaned" | "ended";
|
|
689
|
-
createdAt: string;
|
|
690
|
-
policyVersion: "2";
|
|
691
|
-
childAccountId: string;
|
|
692
|
-
guardianAccountId: string | null;
|
|
693
|
-
consentVersion: "1";
|
|
694
|
-
}, {
|
|
695
|
-
status: "active" | "orphaned" | "ended";
|
|
696
|
-
createdAt: string;
|
|
697
|
-
policyVersion: "2";
|
|
698
|
-
childAccountId: string;
|
|
699
|
-
guardianAccountId: string | null;
|
|
700
|
-
consentVersion: "1";
|
|
701
|
-
}>;
|
|
279
|
+
}, z.core.$strict>;
|
|
702
280
|
export declare const supervisionInvitationSchema: z.ZodObject<{
|
|
703
281
|
id: z.ZodString;
|
|
704
282
|
childAccountId: z.ZodString;
|
|
705
283
|
guardianAccountId: z.ZodString;
|
|
706
|
-
status: z.ZodEnum<
|
|
284
|
+
status: z.ZodEnum<{
|
|
285
|
+
pending: "pending";
|
|
286
|
+
accepted: "accepted";
|
|
287
|
+
cancelled: "cancelled";
|
|
288
|
+
}>;
|
|
707
289
|
expiresAt: z.ZodString;
|
|
708
290
|
consentVersion: z.ZodLiteral<"1">;
|
|
709
291
|
createdAt: z.ZodString;
|
|
710
|
-
},
|
|
711
|
-
status: "pending" | "accepted" | "cancelled";
|
|
712
|
-
createdAt: string;
|
|
713
|
-
id: string;
|
|
714
|
-
expiresAt: string;
|
|
715
|
-
childAccountId: string;
|
|
716
|
-
guardianAccountId: string;
|
|
717
|
-
consentVersion: "1";
|
|
718
|
-
}, {
|
|
719
|
-
status: "pending" | "accepted" | "cancelled";
|
|
720
|
-
createdAt: string;
|
|
721
|
-
id: string;
|
|
722
|
-
expiresAt: string;
|
|
723
|
-
childAccountId: string;
|
|
724
|
-
guardianAccountId: string;
|
|
725
|
-
consentVersion: "1";
|
|
726
|
-
}>;
|
|
292
|
+
}, z.core.$strict>;
|
|
727
293
|
export declare const supervisionContactSchema: z.ZodObject<{
|
|
728
294
|
childAccountId: z.ZodString;
|
|
729
295
|
contactAccountId: z.ZodString;
|
|
730
296
|
approvedAt: z.ZodString;
|
|
731
|
-
},
|
|
732
|
-
childAccountId: string;
|
|
733
|
-
contactAccountId: string;
|
|
734
|
-
approvedAt: string;
|
|
735
|
-
}, {
|
|
736
|
-
childAccountId: string;
|
|
737
|
-
contactAccountId: string;
|
|
738
|
-
approvedAt: string;
|
|
739
|
-
}>;
|
|
297
|
+
}, z.core.$strict>;
|
|
740
298
|
export declare const supervisionStateSchema: z.ZodObject<{
|
|
741
299
|
self: z.ZodNullable<z.ZodObject<{
|
|
742
300
|
childAccountId: z.ZodString;
|
|
743
301
|
guardianAccountId: z.ZodNullable<z.ZodString>;
|
|
744
|
-
status: z.ZodEnum<
|
|
302
|
+
status: z.ZodEnum<{
|
|
303
|
+
active: "active";
|
|
304
|
+
orphaned: "orphaned";
|
|
305
|
+
ended: "ended";
|
|
306
|
+
}>;
|
|
745
307
|
policyVersion: z.ZodLiteral<"2">;
|
|
746
308
|
consentVersion: z.ZodLiteral<"1">;
|
|
747
309
|
createdAt: z.ZodString;
|
|
748
|
-
},
|
|
749
|
-
status: "active" | "orphaned" | "ended";
|
|
750
|
-
createdAt: string;
|
|
751
|
-
policyVersion: "2";
|
|
752
|
-
childAccountId: string;
|
|
753
|
-
guardianAccountId: string | null;
|
|
754
|
-
consentVersion: "1";
|
|
755
|
-
}, {
|
|
756
|
-
status: "active" | "orphaned" | "ended";
|
|
757
|
-
createdAt: string;
|
|
758
|
-
policyVersion: "2";
|
|
759
|
-
childAccountId: string;
|
|
760
|
-
guardianAccountId: string | null;
|
|
761
|
-
consentVersion: "1";
|
|
762
|
-
}>>;
|
|
310
|
+
}, z.core.$strict>>;
|
|
763
311
|
children: z.ZodArray<z.ZodObject<{
|
|
764
312
|
childAccountId: z.ZodString;
|
|
765
313
|
guardianAccountId: z.ZodNullable<z.ZodString>;
|
|
766
|
-
status: z.ZodEnum<
|
|
314
|
+
status: z.ZodEnum<{
|
|
315
|
+
active: "active";
|
|
316
|
+
orphaned: "orphaned";
|
|
317
|
+
ended: "ended";
|
|
318
|
+
}>;
|
|
767
319
|
policyVersion: z.ZodLiteral<"2">;
|
|
768
320
|
consentVersion: z.ZodLiteral<"1">;
|
|
769
321
|
createdAt: z.ZodString;
|
|
770
|
-
},
|
|
771
|
-
status: "active" | "orphaned" | "ended";
|
|
772
|
-
createdAt: string;
|
|
773
|
-
policyVersion: "2";
|
|
774
|
-
childAccountId: string;
|
|
775
|
-
guardianAccountId: string | null;
|
|
776
|
-
consentVersion: "1";
|
|
777
|
-
}, {
|
|
778
|
-
status: "active" | "orphaned" | "ended";
|
|
779
|
-
createdAt: string;
|
|
780
|
-
policyVersion: "2";
|
|
781
|
-
childAccountId: string;
|
|
782
|
-
guardianAccountId: string | null;
|
|
783
|
-
consentVersion: "1";
|
|
784
|
-
}>, "many">;
|
|
322
|
+
}, z.core.$strict>>;
|
|
785
323
|
invitations: z.ZodArray<z.ZodObject<{
|
|
786
324
|
id: z.ZodString;
|
|
787
325
|
childAccountId: z.ZodString;
|
|
788
326
|
guardianAccountId: z.ZodString;
|
|
789
|
-
status: z.ZodEnum<
|
|
327
|
+
status: z.ZodEnum<{
|
|
328
|
+
pending: "pending";
|
|
329
|
+
accepted: "accepted";
|
|
330
|
+
cancelled: "cancelled";
|
|
331
|
+
}>;
|
|
790
332
|
expiresAt: z.ZodString;
|
|
791
333
|
consentVersion: z.ZodLiteral<"1">;
|
|
792
334
|
createdAt: z.ZodString;
|
|
793
|
-
},
|
|
794
|
-
|
|
795
|
-
createdAt: string;
|
|
796
|
-
id: string;
|
|
797
|
-
expiresAt: string;
|
|
798
|
-
childAccountId: string;
|
|
799
|
-
guardianAccountId: string;
|
|
800
|
-
consentVersion: "1";
|
|
801
|
-
}, {
|
|
802
|
-
status: "pending" | "accepted" | "cancelled";
|
|
803
|
-
createdAt: string;
|
|
804
|
-
id: string;
|
|
805
|
-
expiresAt: string;
|
|
806
|
-
childAccountId: string;
|
|
807
|
-
guardianAccountId: string;
|
|
808
|
-
consentVersion: "1";
|
|
809
|
-
}>, "many">;
|
|
810
|
-
}, "strict", z.ZodTypeAny, {
|
|
811
|
-
self: {
|
|
812
|
-
status: "active" | "orphaned" | "ended";
|
|
813
|
-
createdAt: string;
|
|
814
|
-
policyVersion: "2";
|
|
815
|
-
childAccountId: string;
|
|
816
|
-
guardianAccountId: string | null;
|
|
817
|
-
consentVersion: "1";
|
|
818
|
-
} | null;
|
|
819
|
-
children: {
|
|
820
|
-
status: "active" | "orphaned" | "ended";
|
|
821
|
-
createdAt: string;
|
|
822
|
-
policyVersion: "2";
|
|
823
|
-
childAccountId: string;
|
|
824
|
-
guardianAccountId: string | null;
|
|
825
|
-
consentVersion: "1";
|
|
826
|
-
}[];
|
|
827
|
-
invitations: {
|
|
828
|
-
status: "pending" | "accepted" | "cancelled";
|
|
829
|
-
createdAt: string;
|
|
830
|
-
id: string;
|
|
831
|
-
expiresAt: string;
|
|
832
|
-
childAccountId: string;
|
|
833
|
-
guardianAccountId: string;
|
|
834
|
-
consentVersion: "1";
|
|
835
|
-
}[];
|
|
836
|
-
}, {
|
|
837
|
-
self: {
|
|
838
|
-
status: "active" | "orphaned" | "ended";
|
|
839
|
-
createdAt: string;
|
|
840
|
-
policyVersion: "2";
|
|
841
|
-
childAccountId: string;
|
|
842
|
-
guardianAccountId: string | null;
|
|
843
|
-
consentVersion: "1";
|
|
844
|
-
} | null;
|
|
845
|
-
children: {
|
|
846
|
-
status: "active" | "orphaned" | "ended";
|
|
847
|
-
createdAt: string;
|
|
848
|
-
policyVersion: "2";
|
|
849
|
-
childAccountId: string;
|
|
850
|
-
guardianAccountId: string | null;
|
|
851
|
-
consentVersion: "1";
|
|
852
|
-
}[];
|
|
853
|
-
invitations: {
|
|
854
|
-
status: "pending" | "accepted" | "cancelled";
|
|
855
|
-
createdAt: string;
|
|
856
|
-
id: string;
|
|
857
|
-
expiresAt: string;
|
|
858
|
-
childAccountId: string;
|
|
859
|
-
guardianAccountId: string;
|
|
860
|
-
consentVersion: "1";
|
|
861
|
-
}[];
|
|
862
|
-
}>;
|
|
335
|
+
}, z.core.$strict>>;
|
|
336
|
+
}, z.core.$strict>;
|
|
863
337
|
export declare const supervisionContactsResponseSchema: z.ZodObject<{
|
|
864
338
|
items: z.ZodArray<z.ZodObject<{
|
|
865
339
|
childAccountId: z.ZodString;
|
|
866
340
|
contactAccountId: z.ZodString;
|
|
867
341
|
approvedAt: z.ZodString;
|
|
868
|
-
},
|
|
869
|
-
|
|
870
|
-
contactAccountId: string;
|
|
871
|
-
approvedAt: string;
|
|
872
|
-
}, {
|
|
873
|
-
childAccountId: string;
|
|
874
|
-
contactAccountId: string;
|
|
875
|
-
approvedAt: string;
|
|
876
|
-
}>, "many">;
|
|
877
|
-
}, "strict", z.ZodTypeAny, {
|
|
878
|
-
items: {
|
|
879
|
-
childAccountId: string;
|
|
880
|
-
contactAccountId: string;
|
|
881
|
-
approvedAt: string;
|
|
882
|
-
}[];
|
|
883
|
-
}, {
|
|
884
|
-
items: {
|
|
885
|
-
childAccountId: string;
|
|
886
|
-
contactAccountId: string;
|
|
887
|
-
approvedAt: string;
|
|
888
|
-
}[];
|
|
889
|
-
}>;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
}, z.core.$strict>;
|
|
890
344
|
export type Supervision = z.infer<typeof supervisionSchema>;
|
|
891
345
|
export type SupervisionInvitation = z.infer<typeof supervisionInvitationSchema>;
|
|
892
346
|
export type SupervisionContact = z.infer<typeof supervisionContactSchema>;
|
|
@@ -900,29 +354,13 @@ export declare const purchaseApprovalLineSchema: z.ZodObject<{
|
|
|
900
354
|
quantity: z.ZodNumber;
|
|
901
355
|
unitAmountMinor: z.ZodNumber;
|
|
902
356
|
lineAmountMinor: z.ZodNumber;
|
|
903
|
-
},
|
|
904
|
-
|
|
905
|
-
quantity: number;
|
|
906
|
-
itemReference: string;
|
|
907
|
-
optionsText: string;
|
|
908
|
-
merchantAccountId: string;
|
|
909
|
-
unitAmountMinor: number;
|
|
910
|
-
lineAmountMinor: number;
|
|
911
|
-
}, {
|
|
912
|
-
title: string;
|
|
913
|
-
quantity: number;
|
|
914
|
-
itemReference: string;
|
|
915
|
-
optionsText: string;
|
|
916
|
-
merchantAccountId: string;
|
|
917
|
-
unitAmountMinor: number;
|
|
918
|
-
lineAmountMinor: number;
|
|
919
|
-
}>;
|
|
920
|
-
export declare const purchaseEffectsSchema: z.ZodEffects<z.ZodObject<{
|
|
357
|
+
}, z.core.$strict>;
|
|
358
|
+
export declare const purchaseEffectsSchema: z.ZodObject<{
|
|
921
359
|
operationId: z.ZodString;
|
|
922
360
|
resourceId: z.ZodString;
|
|
923
361
|
cartFingerprint: z.ZodString;
|
|
924
362
|
summary: z.ZodString;
|
|
925
|
-
merchantAccountIds: z.
|
|
363
|
+
merchantAccountIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
926
364
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
927
365
|
itemReference: z.ZodString;
|
|
928
366
|
title: z.ZodString;
|
|
@@ -931,23 +369,7 @@ export declare const purchaseEffectsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
931
369
|
quantity: z.ZodNumber;
|
|
932
370
|
unitAmountMinor: z.ZodNumber;
|
|
933
371
|
lineAmountMinor: z.ZodNumber;
|
|
934
|
-
},
|
|
935
|
-
title: string;
|
|
936
|
-
quantity: number;
|
|
937
|
-
itemReference: string;
|
|
938
|
-
optionsText: string;
|
|
939
|
-
merchantAccountId: string;
|
|
940
|
-
unitAmountMinor: number;
|
|
941
|
-
lineAmountMinor: number;
|
|
942
|
-
}, {
|
|
943
|
-
title: string;
|
|
944
|
-
quantity: number;
|
|
945
|
-
itemReference: string;
|
|
946
|
-
optionsText: string;
|
|
947
|
-
merchantAccountId: string;
|
|
948
|
-
unitAmountMinor: number;
|
|
949
|
-
lineAmountMinor: number;
|
|
950
|
-
}>, "many">;
|
|
372
|
+
}, z.core.$strict>>;
|
|
951
373
|
shippingMinor: z.ZodNumber;
|
|
952
374
|
taxMinor: z.ZodNumber;
|
|
953
375
|
discountMinor: z.ZodNumber;
|
|
@@ -956,105 +378,13 @@ export declare const purchaseEffectsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
956
378
|
amountMinor: z.ZodNumber;
|
|
957
379
|
currency: z.ZodString;
|
|
958
380
|
expiresAt: z.ZodString;
|
|
959
|
-
},
|
|
960
|
-
|
|
961
|
-
resourceId: string;
|
|
962
|
-
currency: string;
|
|
963
|
-
operationId: string;
|
|
964
|
-
summary: string;
|
|
965
|
-
cartFingerprint: string;
|
|
966
|
-
merchantAccountIds: string[];
|
|
967
|
-
lineItems: {
|
|
968
|
-
title: string;
|
|
969
|
-
quantity: number;
|
|
970
|
-
itemReference: string;
|
|
971
|
-
optionsText: string;
|
|
972
|
-
merchantAccountId: string;
|
|
973
|
-
unitAmountMinor: number;
|
|
974
|
-
lineAmountMinor: number;
|
|
975
|
-
}[];
|
|
976
|
-
shippingMinor: number;
|
|
977
|
-
taxMinor: number;
|
|
978
|
-
discountMinor: number;
|
|
979
|
-
roundingAdjustmentMinor: number;
|
|
980
|
-
paymentFingerprint: string;
|
|
981
|
-
amountMinor: number;
|
|
982
|
-
}, {
|
|
983
|
-
expiresAt: string;
|
|
984
|
-
resourceId: string;
|
|
985
|
-
currency: string;
|
|
986
|
-
operationId: string;
|
|
987
|
-
summary: string;
|
|
988
|
-
cartFingerprint: string;
|
|
989
|
-
merchantAccountIds: string[];
|
|
990
|
-
lineItems: {
|
|
991
|
-
title: string;
|
|
992
|
-
quantity: number;
|
|
993
|
-
itemReference: string;
|
|
994
|
-
optionsText: string;
|
|
995
|
-
merchantAccountId: string;
|
|
996
|
-
unitAmountMinor: number;
|
|
997
|
-
lineAmountMinor: number;
|
|
998
|
-
}[];
|
|
999
|
-
shippingMinor: number;
|
|
1000
|
-
taxMinor: number;
|
|
1001
|
-
discountMinor: number;
|
|
1002
|
-
roundingAdjustmentMinor: number;
|
|
1003
|
-
paymentFingerprint: string;
|
|
1004
|
-
amountMinor: number;
|
|
1005
|
-
}>, {
|
|
1006
|
-
expiresAt: string;
|
|
1007
|
-
resourceId: string;
|
|
1008
|
-
currency: string;
|
|
1009
|
-
operationId: string;
|
|
1010
|
-
summary: string;
|
|
1011
|
-
cartFingerprint: string;
|
|
1012
|
-
merchantAccountIds: string[];
|
|
1013
|
-
lineItems: {
|
|
1014
|
-
title: string;
|
|
1015
|
-
quantity: number;
|
|
1016
|
-
itemReference: string;
|
|
1017
|
-
optionsText: string;
|
|
1018
|
-
merchantAccountId: string;
|
|
1019
|
-
unitAmountMinor: number;
|
|
1020
|
-
lineAmountMinor: number;
|
|
1021
|
-
}[];
|
|
1022
|
-
shippingMinor: number;
|
|
1023
|
-
taxMinor: number;
|
|
1024
|
-
discountMinor: number;
|
|
1025
|
-
roundingAdjustmentMinor: number;
|
|
1026
|
-
paymentFingerprint: string;
|
|
1027
|
-
amountMinor: number;
|
|
1028
|
-
}, {
|
|
1029
|
-
expiresAt: string;
|
|
1030
|
-
resourceId: string;
|
|
1031
|
-
currency: string;
|
|
1032
|
-
operationId: string;
|
|
1033
|
-
summary: string;
|
|
1034
|
-
cartFingerprint: string;
|
|
1035
|
-
merchantAccountIds: string[];
|
|
1036
|
-
lineItems: {
|
|
1037
|
-
title: string;
|
|
1038
|
-
quantity: number;
|
|
1039
|
-
itemReference: string;
|
|
1040
|
-
optionsText: string;
|
|
1041
|
-
merchantAccountId: string;
|
|
1042
|
-
unitAmountMinor: number;
|
|
1043
|
-
lineAmountMinor: number;
|
|
1044
|
-
}[];
|
|
1045
|
-
shippingMinor: number;
|
|
1046
|
-
taxMinor: number;
|
|
1047
|
-
discountMinor: number;
|
|
1048
|
-
roundingAdjustmentMinor: number;
|
|
1049
|
-
paymentFingerprint: string;
|
|
1050
|
-
amountMinor: number;
|
|
1051
|
-
}>;
|
|
1052
|
-
export declare const purchaseApprovalSchema: z.ZodEffects<z.ZodObject<{
|
|
381
|
+
}, z.core.$strict>;
|
|
382
|
+
export declare const purchaseApprovalSchema: z.ZodObject<{
|
|
1053
383
|
operationId: z.ZodString;
|
|
1054
384
|
resourceId: z.ZodString;
|
|
1055
385
|
cartFingerprint: z.ZodString;
|
|
1056
386
|
summary: z.ZodString;
|
|
1057
|
-
merchantAccountIds: z.
|
|
387
|
+
merchantAccountIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
1058
388
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
1059
389
|
itemReference: z.ZodString;
|
|
1060
390
|
title: z.ZodString;
|
|
@@ -1063,23 +393,7 @@ export declare const purchaseApprovalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
393
|
quantity: z.ZodNumber;
|
|
1064
394
|
unitAmountMinor: z.ZodNumber;
|
|
1065
395
|
lineAmountMinor: z.ZodNumber;
|
|
1066
|
-
},
|
|
1067
|
-
title: string;
|
|
1068
|
-
quantity: number;
|
|
1069
|
-
itemReference: string;
|
|
1070
|
-
optionsText: string;
|
|
1071
|
-
merchantAccountId: string;
|
|
1072
|
-
unitAmountMinor: number;
|
|
1073
|
-
lineAmountMinor: number;
|
|
1074
|
-
}, {
|
|
1075
|
-
title: string;
|
|
1076
|
-
quantity: number;
|
|
1077
|
-
itemReference: string;
|
|
1078
|
-
optionsText: string;
|
|
1079
|
-
merchantAccountId: string;
|
|
1080
|
-
unitAmountMinor: number;
|
|
1081
|
-
lineAmountMinor: number;
|
|
1082
|
-
}>, "many">;
|
|
396
|
+
}, z.core.$strict>>;
|
|
1083
397
|
shippingMinor: z.ZodNumber;
|
|
1084
398
|
taxMinor: z.ZodNumber;
|
|
1085
399
|
discountMinor: z.ZodNumber;
|
|
@@ -1088,359 +402,85 @@ export declare const purchaseApprovalSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1088
402
|
amountMinor: z.ZodNumber;
|
|
1089
403
|
currency: z.ZodString;
|
|
1090
404
|
expiresAt: z.ZodString;
|
|
1091
|
-
} & {
|
|
1092
405
|
id: z.ZodString;
|
|
1093
406
|
childAccountId: z.ZodString;
|
|
1094
407
|
applicationId: z.ZodString;
|
|
1095
|
-
status: z.ZodEnum<
|
|
408
|
+
status: z.ZodEnum<{
|
|
409
|
+
pending: "pending";
|
|
410
|
+
approved: "approved";
|
|
411
|
+
rejected: "rejected";
|
|
412
|
+
cancelled: "cancelled";
|
|
413
|
+
confirmed: "confirmed";
|
|
414
|
+
reserved: "reserved";
|
|
415
|
+
}>;
|
|
1096
416
|
createdAt: z.ZodString;
|
|
1097
417
|
receiptReference: z.ZodNullable<z.ZodString>;
|
|
1098
|
-
},
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
id: string;
|
|
1102
|
-
expiresAt: string;
|
|
1103
|
-
resourceId: string;
|
|
1104
|
-
applicationId: string;
|
|
1105
|
-
currency: string;
|
|
1106
|
-
operationId: string;
|
|
1107
|
-
summary: string;
|
|
1108
|
-
childAccountId: string;
|
|
1109
|
-
cartFingerprint: string;
|
|
1110
|
-
merchantAccountIds: string[];
|
|
1111
|
-
lineItems: {
|
|
1112
|
-
title: string;
|
|
1113
|
-
quantity: number;
|
|
1114
|
-
itemReference: string;
|
|
1115
|
-
optionsText: string;
|
|
1116
|
-
merchantAccountId: string;
|
|
1117
|
-
unitAmountMinor: number;
|
|
1118
|
-
lineAmountMinor: number;
|
|
1119
|
-
}[];
|
|
1120
|
-
shippingMinor: number;
|
|
1121
|
-
taxMinor: number;
|
|
1122
|
-
discountMinor: number;
|
|
1123
|
-
roundingAdjustmentMinor: number;
|
|
1124
|
-
paymentFingerprint: string;
|
|
1125
|
-
amountMinor: number;
|
|
1126
|
-
receiptReference: string | null;
|
|
1127
|
-
}, {
|
|
1128
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1129
|
-
createdAt: string;
|
|
1130
|
-
id: string;
|
|
1131
|
-
expiresAt: string;
|
|
1132
|
-
resourceId: string;
|
|
1133
|
-
applicationId: string;
|
|
1134
|
-
currency: string;
|
|
1135
|
-
operationId: string;
|
|
1136
|
-
summary: string;
|
|
1137
|
-
childAccountId: string;
|
|
1138
|
-
cartFingerprint: string;
|
|
1139
|
-
merchantAccountIds: string[];
|
|
1140
|
-
lineItems: {
|
|
1141
|
-
title: string;
|
|
1142
|
-
quantity: number;
|
|
1143
|
-
itemReference: string;
|
|
1144
|
-
optionsText: string;
|
|
1145
|
-
merchantAccountId: string;
|
|
1146
|
-
unitAmountMinor: number;
|
|
1147
|
-
lineAmountMinor: number;
|
|
1148
|
-
}[];
|
|
1149
|
-
shippingMinor: number;
|
|
1150
|
-
taxMinor: number;
|
|
1151
|
-
discountMinor: number;
|
|
1152
|
-
roundingAdjustmentMinor: number;
|
|
1153
|
-
paymentFingerprint: string;
|
|
1154
|
-
amountMinor: number;
|
|
1155
|
-
receiptReference: string | null;
|
|
1156
|
-
}>, {
|
|
1157
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1158
|
-
createdAt: string;
|
|
1159
|
-
id: string;
|
|
1160
|
-
expiresAt: string;
|
|
1161
|
-
resourceId: string;
|
|
1162
|
-
applicationId: string;
|
|
1163
|
-
currency: string;
|
|
1164
|
-
operationId: string;
|
|
1165
|
-
summary: string;
|
|
1166
|
-
childAccountId: string;
|
|
1167
|
-
cartFingerprint: string;
|
|
1168
|
-
merchantAccountIds: string[];
|
|
1169
|
-
lineItems: {
|
|
1170
|
-
title: string;
|
|
1171
|
-
quantity: number;
|
|
1172
|
-
itemReference: string;
|
|
1173
|
-
optionsText: string;
|
|
1174
|
-
merchantAccountId: string;
|
|
1175
|
-
unitAmountMinor: number;
|
|
1176
|
-
lineAmountMinor: number;
|
|
1177
|
-
}[];
|
|
1178
|
-
shippingMinor: number;
|
|
1179
|
-
taxMinor: number;
|
|
1180
|
-
discountMinor: number;
|
|
1181
|
-
roundingAdjustmentMinor: number;
|
|
1182
|
-
paymentFingerprint: string;
|
|
1183
|
-
amountMinor: number;
|
|
1184
|
-
receiptReference: string | null;
|
|
1185
|
-
}, {
|
|
1186
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1187
|
-
createdAt: string;
|
|
1188
|
-
id: string;
|
|
1189
|
-
expiresAt: string;
|
|
1190
|
-
resourceId: string;
|
|
1191
|
-
applicationId: string;
|
|
1192
|
-
currency: string;
|
|
1193
|
-
operationId: string;
|
|
1194
|
-
summary: string;
|
|
1195
|
-
childAccountId: string;
|
|
1196
|
-
cartFingerprint: string;
|
|
1197
|
-
merchantAccountIds: string[];
|
|
1198
|
-
lineItems: {
|
|
1199
|
-
title: string;
|
|
1200
|
-
quantity: number;
|
|
1201
|
-
itemReference: string;
|
|
1202
|
-
optionsText: string;
|
|
1203
|
-
merchantAccountId: string;
|
|
1204
|
-
unitAmountMinor: number;
|
|
1205
|
-
lineAmountMinor: number;
|
|
1206
|
-
}[];
|
|
1207
|
-
shippingMinor: number;
|
|
1208
|
-
taxMinor: number;
|
|
1209
|
-
discountMinor: number;
|
|
1210
|
-
roundingAdjustmentMinor: number;
|
|
1211
|
-
paymentFingerprint: string;
|
|
1212
|
-
amountMinor: number;
|
|
1213
|
-
receiptReference: string | null;
|
|
1214
|
-
}>;
|
|
1215
|
-
export declare const purchaseApprovalSummarySchema: z.ZodObject<Omit<{
|
|
1216
|
-
operationId: z.ZodString;
|
|
418
|
+
}, z.core.$strict>;
|
|
419
|
+
export declare const purchaseApprovalSummarySchema: z.ZodObject<{
|
|
420
|
+
expiresAt: z.ZodString;
|
|
1217
421
|
resourceId: z.ZodString;
|
|
1218
|
-
|
|
422
|
+
currency: z.ZodString;
|
|
423
|
+
operationId: z.ZodString;
|
|
1219
424
|
summary: z.ZodString;
|
|
1220
|
-
|
|
1221
|
-
lineItems: z.ZodArray<z.ZodObject<{
|
|
1222
|
-
itemReference: z.ZodString;
|
|
1223
|
-
title: z.ZodString;
|
|
1224
|
-
optionsText: z.ZodString;
|
|
1225
|
-
merchantAccountId: z.ZodString;
|
|
1226
|
-
quantity: z.ZodNumber;
|
|
1227
|
-
unitAmountMinor: z.ZodNumber;
|
|
1228
|
-
lineAmountMinor: z.ZodNumber;
|
|
1229
|
-
}, "strict", z.ZodTypeAny, {
|
|
1230
|
-
title: string;
|
|
1231
|
-
quantity: number;
|
|
1232
|
-
itemReference: string;
|
|
1233
|
-
optionsText: string;
|
|
1234
|
-
merchantAccountId: string;
|
|
1235
|
-
unitAmountMinor: number;
|
|
1236
|
-
lineAmountMinor: number;
|
|
1237
|
-
}, {
|
|
1238
|
-
title: string;
|
|
1239
|
-
quantity: number;
|
|
1240
|
-
itemReference: string;
|
|
1241
|
-
optionsText: string;
|
|
1242
|
-
merchantAccountId: string;
|
|
1243
|
-
unitAmountMinor: number;
|
|
1244
|
-
lineAmountMinor: number;
|
|
1245
|
-
}>, "many">;
|
|
425
|
+
cartFingerprint: z.ZodString;
|
|
1246
426
|
shippingMinor: z.ZodNumber;
|
|
1247
427
|
taxMinor: z.ZodNumber;
|
|
1248
428
|
discountMinor: z.ZodNumber;
|
|
1249
|
-
roundingAdjustmentMinor: z.ZodNumber;
|
|
1250
429
|
paymentFingerprint: z.ZodString;
|
|
1251
430
|
amountMinor: z.ZodNumber;
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}, "lineItems"> & {
|
|
431
|
+
merchantAccountIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
432
|
+
roundingAdjustmentMinor: z.ZodNumber;
|
|
1255
433
|
id: z.ZodString;
|
|
1256
434
|
childAccountId: z.ZodString;
|
|
1257
435
|
applicationId: z.ZodString;
|
|
1258
|
-
status: z.ZodEnum<
|
|
436
|
+
status: z.ZodEnum<{
|
|
437
|
+
pending: "pending";
|
|
438
|
+
approved: "approved";
|
|
439
|
+
rejected: "rejected";
|
|
440
|
+
cancelled: "cancelled";
|
|
441
|
+
confirmed: "confirmed";
|
|
442
|
+
reserved: "reserved";
|
|
443
|
+
}>;
|
|
1259
444
|
createdAt: z.ZodString;
|
|
1260
445
|
receiptReference: z.ZodNullable<z.ZodString>;
|
|
1261
|
-
},
|
|
1262
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1263
|
-
createdAt: string;
|
|
1264
|
-
id: string;
|
|
1265
|
-
expiresAt: string;
|
|
1266
|
-
resourceId: string;
|
|
1267
|
-
applicationId: string;
|
|
1268
|
-
currency: string;
|
|
1269
|
-
operationId: string;
|
|
1270
|
-
summary: string;
|
|
1271
|
-
childAccountId: string;
|
|
1272
|
-
cartFingerprint: string;
|
|
1273
|
-
merchantAccountIds: string[];
|
|
1274
|
-
shippingMinor: number;
|
|
1275
|
-
taxMinor: number;
|
|
1276
|
-
discountMinor: number;
|
|
1277
|
-
roundingAdjustmentMinor: number;
|
|
1278
|
-
paymentFingerprint: string;
|
|
1279
|
-
amountMinor: number;
|
|
1280
|
-
receiptReference: string | null;
|
|
1281
|
-
}, {
|
|
1282
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1283
|
-
createdAt: string;
|
|
1284
|
-
id: string;
|
|
1285
|
-
expiresAt: string;
|
|
1286
|
-
resourceId: string;
|
|
1287
|
-
applicationId: string;
|
|
1288
|
-
currency: string;
|
|
1289
|
-
operationId: string;
|
|
1290
|
-
summary: string;
|
|
1291
|
-
childAccountId: string;
|
|
1292
|
-
cartFingerprint: string;
|
|
1293
|
-
merchantAccountIds: string[];
|
|
1294
|
-
shippingMinor: number;
|
|
1295
|
-
taxMinor: number;
|
|
1296
|
-
discountMinor: number;
|
|
1297
|
-
roundingAdjustmentMinor: number;
|
|
1298
|
-
paymentFingerprint: string;
|
|
1299
|
-
amountMinor: number;
|
|
1300
|
-
receiptReference: string | null;
|
|
1301
|
-
}>;
|
|
446
|
+
}, z.core.$strict>;
|
|
1302
447
|
export declare const purchaseApprovalListSchema: z.ZodObject<{
|
|
1303
|
-
items: z.ZodArray<z.ZodObject<
|
|
1304
|
-
|
|
448
|
+
items: z.ZodArray<z.ZodObject<{
|
|
449
|
+
expiresAt: z.ZodString;
|
|
1305
450
|
resourceId: z.ZodString;
|
|
1306
|
-
|
|
451
|
+
currency: z.ZodString;
|
|
452
|
+
operationId: z.ZodString;
|
|
1307
453
|
summary: z.ZodString;
|
|
1308
|
-
|
|
1309
|
-
lineItems: z.ZodArray<z.ZodObject<{
|
|
1310
|
-
itemReference: z.ZodString;
|
|
1311
|
-
title: z.ZodString;
|
|
1312
|
-
optionsText: z.ZodString;
|
|
1313
|
-
merchantAccountId: z.ZodString;
|
|
1314
|
-
quantity: z.ZodNumber;
|
|
1315
|
-
unitAmountMinor: z.ZodNumber;
|
|
1316
|
-
lineAmountMinor: z.ZodNumber;
|
|
1317
|
-
}, "strict", z.ZodTypeAny, {
|
|
1318
|
-
title: string;
|
|
1319
|
-
quantity: number;
|
|
1320
|
-
itemReference: string;
|
|
1321
|
-
optionsText: string;
|
|
1322
|
-
merchantAccountId: string;
|
|
1323
|
-
unitAmountMinor: number;
|
|
1324
|
-
lineAmountMinor: number;
|
|
1325
|
-
}, {
|
|
1326
|
-
title: string;
|
|
1327
|
-
quantity: number;
|
|
1328
|
-
itemReference: string;
|
|
1329
|
-
optionsText: string;
|
|
1330
|
-
merchantAccountId: string;
|
|
1331
|
-
unitAmountMinor: number;
|
|
1332
|
-
lineAmountMinor: number;
|
|
1333
|
-
}>, "many">;
|
|
454
|
+
cartFingerprint: z.ZodString;
|
|
1334
455
|
shippingMinor: z.ZodNumber;
|
|
1335
456
|
taxMinor: z.ZodNumber;
|
|
1336
457
|
discountMinor: z.ZodNumber;
|
|
1337
|
-
roundingAdjustmentMinor: z.ZodNumber;
|
|
1338
458
|
paymentFingerprint: z.ZodString;
|
|
1339
459
|
amountMinor: z.ZodNumber;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
}, "lineItems"> & {
|
|
460
|
+
merchantAccountIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
461
|
+
roundingAdjustmentMinor: z.ZodNumber;
|
|
1343
462
|
id: z.ZodString;
|
|
1344
463
|
childAccountId: z.ZodString;
|
|
1345
464
|
applicationId: z.ZodString;
|
|
1346
|
-
status: z.ZodEnum<
|
|
465
|
+
status: z.ZodEnum<{
|
|
466
|
+
pending: "pending";
|
|
467
|
+
approved: "approved";
|
|
468
|
+
rejected: "rejected";
|
|
469
|
+
cancelled: "cancelled";
|
|
470
|
+
confirmed: "confirmed";
|
|
471
|
+
reserved: "reserved";
|
|
472
|
+
}>;
|
|
1347
473
|
createdAt: z.ZodString;
|
|
1348
474
|
receiptReference: z.ZodNullable<z.ZodString>;
|
|
1349
|
-
},
|
|
1350
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1351
|
-
createdAt: string;
|
|
1352
|
-
id: string;
|
|
1353
|
-
expiresAt: string;
|
|
1354
|
-
resourceId: string;
|
|
1355
|
-
applicationId: string;
|
|
1356
|
-
currency: string;
|
|
1357
|
-
operationId: string;
|
|
1358
|
-
summary: string;
|
|
1359
|
-
childAccountId: string;
|
|
1360
|
-
cartFingerprint: string;
|
|
1361
|
-
merchantAccountIds: string[];
|
|
1362
|
-
shippingMinor: number;
|
|
1363
|
-
taxMinor: number;
|
|
1364
|
-
discountMinor: number;
|
|
1365
|
-
roundingAdjustmentMinor: number;
|
|
1366
|
-
paymentFingerprint: string;
|
|
1367
|
-
amountMinor: number;
|
|
1368
|
-
receiptReference: string | null;
|
|
1369
|
-
}, {
|
|
1370
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1371
|
-
createdAt: string;
|
|
1372
|
-
id: string;
|
|
1373
|
-
expiresAt: string;
|
|
1374
|
-
resourceId: string;
|
|
1375
|
-
applicationId: string;
|
|
1376
|
-
currency: string;
|
|
1377
|
-
operationId: string;
|
|
1378
|
-
summary: string;
|
|
1379
|
-
childAccountId: string;
|
|
1380
|
-
cartFingerprint: string;
|
|
1381
|
-
merchantAccountIds: string[];
|
|
1382
|
-
shippingMinor: number;
|
|
1383
|
-
taxMinor: number;
|
|
1384
|
-
discountMinor: number;
|
|
1385
|
-
roundingAdjustmentMinor: number;
|
|
1386
|
-
paymentFingerprint: string;
|
|
1387
|
-
amountMinor: number;
|
|
1388
|
-
receiptReference: string | null;
|
|
1389
|
-
}>, "many">;
|
|
475
|
+
}, z.core.$strict>>;
|
|
1390
476
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1391
|
-
},
|
|
1392
|
-
|
|
1393
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1394
|
-
createdAt: string;
|
|
1395
|
-
id: string;
|
|
1396
|
-
expiresAt: string;
|
|
1397
|
-
resourceId: string;
|
|
1398
|
-
applicationId: string;
|
|
1399
|
-
currency: string;
|
|
1400
|
-
operationId: string;
|
|
1401
|
-
summary: string;
|
|
1402
|
-
childAccountId: string;
|
|
1403
|
-
cartFingerprint: string;
|
|
1404
|
-
merchantAccountIds: string[];
|
|
1405
|
-
shippingMinor: number;
|
|
1406
|
-
taxMinor: number;
|
|
1407
|
-
discountMinor: number;
|
|
1408
|
-
roundingAdjustmentMinor: number;
|
|
1409
|
-
paymentFingerprint: string;
|
|
1410
|
-
amountMinor: number;
|
|
1411
|
-
receiptReference: string | null;
|
|
1412
|
-
}[];
|
|
1413
|
-
nextCursor: string | null;
|
|
1414
|
-
}, {
|
|
1415
|
-
items: {
|
|
1416
|
-
status: "pending" | "approved" | "rejected" | "cancelled" | "confirmed" | "reserved";
|
|
1417
|
-
createdAt: string;
|
|
1418
|
-
id: string;
|
|
1419
|
-
expiresAt: string;
|
|
1420
|
-
resourceId: string;
|
|
1421
|
-
applicationId: string;
|
|
1422
|
-
currency: string;
|
|
1423
|
-
operationId: string;
|
|
1424
|
-
summary: string;
|
|
1425
|
-
childAccountId: string;
|
|
1426
|
-
cartFingerprint: string;
|
|
1427
|
-
merchantAccountIds: string[];
|
|
1428
|
-
shippingMinor: number;
|
|
1429
|
-
taxMinor: number;
|
|
1430
|
-
discountMinor: number;
|
|
1431
|
-
roundingAdjustmentMinor: number;
|
|
1432
|
-
paymentFingerprint: string;
|
|
1433
|
-
amountMinor: number;
|
|
1434
|
-
receiptReference: string | null;
|
|
1435
|
-
}[];
|
|
1436
|
-
nextCursor: string | null;
|
|
1437
|
-
}>;
|
|
1438
|
-
export declare const reservePurchaseSchema: z.ZodEffects<z.ZodObject<{
|
|
477
|
+
}, z.core.$strict>;
|
|
478
|
+
export declare const reservePurchaseSchema: z.ZodObject<{
|
|
1439
479
|
operationId: z.ZodString;
|
|
1440
480
|
resourceId: z.ZodString;
|
|
1441
481
|
cartFingerprint: z.ZodString;
|
|
1442
482
|
summary: z.ZodString;
|
|
1443
|
-
merchantAccountIds: z.
|
|
483
|
+
merchantAccountIds: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
|
|
1444
484
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
1445
485
|
itemReference: z.ZodString;
|
|
1446
486
|
title: z.ZodString;
|
|
@@ -1449,23 +489,7 @@ export declare const reservePurchaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1449
489
|
quantity: z.ZodNumber;
|
|
1450
490
|
unitAmountMinor: z.ZodNumber;
|
|
1451
491
|
lineAmountMinor: z.ZodNumber;
|
|
1452
|
-
},
|
|
1453
|
-
title: string;
|
|
1454
|
-
quantity: number;
|
|
1455
|
-
itemReference: string;
|
|
1456
|
-
optionsText: string;
|
|
1457
|
-
merchantAccountId: string;
|
|
1458
|
-
unitAmountMinor: number;
|
|
1459
|
-
lineAmountMinor: number;
|
|
1460
|
-
}, {
|
|
1461
|
-
title: string;
|
|
1462
|
-
quantity: number;
|
|
1463
|
-
itemReference: string;
|
|
1464
|
-
optionsText: string;
|
|
1465
|
-
merchantAccountId: string;
|
|
1466
|
-
unitAmountMinor: number;
|
|
1467
|
-
lineAmountMinor: number;
|
|
1468
|
-
}>, "many">;
|
|
492
|
+
}, z.core.$strict>>;
|
|
1469
493
|
shippingMinor: z.ZodNumber;
|
|
1470
494
|
taxMinor: z.ZodNumber;
|
|
1471
495
|
discountMinor: z.ZodNumber;
|
|
@@ -1474,105 +498,8 @@ export declare const reservePurchaseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1474
498
|
amountMinor: z.ZodNumber;
|
|
1475
499
|
currency: z.ZodString;
|
|
1476
500
|
expiresAt: z.ZodString;
|
|
1477
|
-
} & {
|
|
1478
501
|
approvalId: z.ZodString;
|
|
1479
|
-
},
|
|
1480
|
-
expiresAt: string;
|
|
1481
|
-
resourceId: string;
|
|
1482
|
-
currency: string;
|
|
1483
|
-
operationId: string;
|
|
1484
|
-
summary: string;
|
|
1485
|
-
cartFingerprint: string;
|
|
1486
|
-
merchantAccountIds: string[];
|
|
1487
|
-
lineItems: {
|
|
1488
|
-
title: string;
|
|
1489
|
-
quantity: number;
|
|
1490
|
-
itemReference: string;
|
|
1491
|
-
optionsText: string;
|
|
1492
|
-
merchantAccountId: string;
|
|
1493
|
-
unitAmountMinor: number;
|
|
1494
|
-
lineAmountMinor: number;
|
|
1495
|
-
}[];
|
|
1496
|
-
shippingMinor: number;
|
|
1497
|
-
taxMinor: number;
|
|
1498
|
-
discountMinor: number;
|
|
1499
|
-
roundingAdjustmentMinor: number;
|
|
1500
|
-
paymentFingerprint: string;
|
|
1501
|
-
amountMinor: number;
|
|
1502
|
-
approvalId: string;
|
|
1503
|
-
}, {
|
|
1504
|
-
expiresAt: string;
|
|
1505
|
-
resourceId: string;
|
|
1506
|
-
currency: string;
|
|
1507
|
-
operationId: string;
|
|
1508
|
-
summary: string;
|
|
1509
|
-
cartFingerprint: string;
|
|
1510
|
-
merchantAccountIds: string[];
|
|
1511
|
-
lineItems: {
|
|
1512
|
-
title: string;
|
|
1513
|
-
quantity: number;
|
|
1514
|
-
itemReference: string;
|
|
1515
|
-
optionsText: string;
|
|
1516
|
-
merchantAccountId: string;
|
|
1517
|
-
unitAmountMinor: number;
|
|
1518
|
-
lineAmountMinor: number;
|
|
1519
|
-
}[];
|
|
1520
|
-
shippingMinor: number;
|
|
1521
|
-
taxMinor: number;
|
|
1522
|
-
discountMinor: number;
|
|
1523
|
-
roundingAdjustmentMinor: number;
|
|
1524
|
-
paymentFingerprint: string;
|
|
1525
|
-
amountMinor: number;
|
|
1526
|
-
approvalId: string;
|
|
1527
|
-
}>, {
|
|
1528
|
-
expiresAt: string;
|
|
1529
|
-
resourceId: string;
|
|
1530
|
-
currency: string;
|
|
1531
|
-
operationId: string;
|
|
1532
|
-
summary: string;
|
|
1533
|
-
cartFingerprint: string;
|
|
1534
|
-
merchantAccountIds: string[];
|
|
1535
|
-
lineItems: {
|
|
1536
|
-
title: string;
|
|
1537
|
-
quantity: number;
|
|
1538
|
-
itemReference: string;
|
|
1539
|
-
optionsText: string;
|
|
1540
|
-
merchantAccountId: string;
|
|
1541
|
-
unitAmountMinor: number;
|
|
1542
|
-
lineAmountMinor: number;
|
|
1543
|
-
}[];
|
|
1544
|
-
shippingMinor: number;
|
|
1545
|
-
taxMinor: number;
|
|
1546
|
-
discountMinor: number;
|
|
1547
|
-
roundingAdjustmentMinor: number;
|
|
1548
|
-
paymentFingerprint: string;
|
|
1549
|
-
amountMinor: number;
|
|
1550
|
-
approvalId: string;
|
|
1551
|
-
}, {
|
|
1552
|
-
expiresAt: string;
|
|
1553
|
-
resourceId: string;
|
|
1554
|
-
currency: string;
|
|
1555
|
-
operationId: string;
|
|
1556
|
-
summary: string;
|
|
1557
|
-
cartFingerprint: string;
|
|
1558
|
-
merchantAccountIds: string[];
|
|
1559
|
-
lineItems: {
|
|
1560
|
-
title: string;
|
|
1561
|
-
quantity: number;
|
|
1562
|
-
itemReference: string;
|
|
1563
|
-
optionsText: string;
|
|
1564
|
-
merchantAccountId: string;
|
|
1565
|
-
unitAmountMinor: number;
|
|
1566
|
-
lineAmountMinor: number;
|
|
1567
|
-
}[];
|
|
1568
|
-
shippingMinor: number;
|
|
1569
|
-
taxMinor: number;
|
|
1570
|
-
discountMinor: number;
|
|
1571
|
-
roundingAdjustmentMinor: number;
|
|
1572
|
-
paymentFingerprint: string;
|
|
1573
|
-
amountMinor: number;
|
|
1574
|
-
approvalId: string;
|
|
1575
|
-
}>;
|
|
502
|
+
}, z.core.$strict>;
|
|
1576
503
|
export type PurchaseApprovalLine = z.infer<typeof purchaseApprovalLineSchema>;
|
|
1577
504
|
export type PurchaseApprovalSummary = z.infer<typeof purchaseApprovalSummarySchema>;
|
|
1578
505
|
export type PurchaseApprovalList = z.infer<typeof purchaseApprovalListSchema>;
|
|
@@ -1580,26 +507,11 @@ export declare const confirmPurchaseSchema: z.ZodObject<{
|
|
|
1580
507
|
approvalId: z.ZodString;
|
|
1581
508
|
operationId: z.ZodString;
|
|
1582
509
|
receiptReference: z.ZodString;
|
|
1583
|
-
},
|
|
1584
|
-
|
|
1585
|
-
receiptReference: string;
|
|
1586
|
-
approvalId: string;
|
|
1587
|
-
}, {
|
|
1588
|
-
operationId: string;
|
|
1589
|
-
receiptReference: string;
|
|
1590
|
-
approvalId: string;
|
|
1591
|
-
}>;
|
|
1592
|
-
export declare const cancelPurchaseSchema: z.ZodObject<Omit<{
|
|
1593
|
-
approvalId: z.ZodString;
|
|
510
|
+
}, z.core.$strict>;
|
|
511
|
+
export declare const cancelPurchaseSchema: z.ZodObject<{
|
|
1594
512
|
operationId: z.ZodString;
|
|
1595
|
-
|
|
1596
|
-
},
|
|
1597
|
-
operationId: string;
|
|
1598
|
-
approvalId: string;
|
|
1599
|
-
}, {
|
|
1600
|
-
operationId: string;
|
|
1601
|
-
approvalId: string;
|
|
1602
|
-
}>;
|
|
513
|
+
approvalId: z.ZodString;
|
|
514
|
+
}, z.core.$strict>;
|
|
1603
515
|
export type PurchaseEffects = z.infer<typeof purchaseEffectsSchema>;
|
|
1604
516
|
export type PurchaseApproval = z.infer<typeof purchaseApprovalSchema>;
|
|
1605
517
|
export type ReservePurchase = z.infer<typeof reservePurchaseSchema>;
|
|
@@ -1608,367 +520,88 @@ export type CancelPurchase = z.infer<typeof cancelPurchaseSchema>;
|
|
|
1608
520
|
export declare const SAFETY_ERROR_CODES: readonly ["bad_request", "validation_failed", "unauthorized", "forbidden", "not_found", "conflict", "reauth_required", "limit_reached", "service_unavailable", "rate_limited"];
|
|
1609
521
|
export declare const safetyErrorSchema: z.ZodObject<{
|
|
1610
522
|
error: z.ZodObject<{
|
|
1611
|
-
code: z.ZodEnum<
|
|
523
|
+
code: z.ZodEnum<{
|
|
524
|
+
bad_request: "bad_request";
|
|
525
|
+
unauthorized: "unauthorized";
|
|
526
|
+
forbidden: "forbidden";
|
|
527
|
+
not_found: "not_found";
|
|
528
|
+
conflict: "conflict";
|
|
529
|
+
validation_failed: "validation_failed";
|
|
530
|
+
rate_limited: "rate_limited";
|
|
531
|
+
service_unavailable: "service_unavailable";
|
|
532
|
+
reauth_required: "reauth_required";
|
|
533
|
+
limit_reached: "limit_reached";
|
|
534
|
+
}>;
|
|
1612
535
|
message: z.ZodString;
|
|
1613
|
-
},
|
|
1614
|
-
|
|
1615
|
-
message: string;
|
|
1616
|
-
}, {
|
|
1617
|
-
code: "bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "validation_failed" | "rate_limited" | "service_unavailable" | "reauth_required" | "limit_reached";
|
|
1618
|
-
message: string;
|
|
1619
|
-
}>;
|
|
1620
|
-
}, "strict", z.ZodTypeAny, {
|
|
1621
|
-
error: {
|
|
1622
|
-
code: "bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "validation_failed" | "rate_limited" | "service_unavailable" | "reauth_required" | "limit_reached";
|
|
1623
|
-
message: string;
|
|
1624
|
-
};
|
|
1625
|
-
}, {
|
|
1626
|
-
error: {
|
|
1627
|
-
code: "bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "validation_failed" | "rate_limited" | "service_unavailable" | "reauth_required" | "limit_reached";
|
|
1628
|
-
message: string;
|
|
1629
|
-
};
|
|
1630
|
-
}>;
|
|
536
|
+
}, z.core.$strict>;
|
|
537
|
+
}, z.core.$strict>;
|
|
1631
538
|
export type SafetyErrorCode = (typeof SAFETY_ERROR_CODES)[number];
|
|
1632
539
|
export declare const supervisionInviteInputSchema: z.ZodObject<{
|
|
1633
540
|
guardianAccountId: z.ZodString;
|
|
1634
541
|
consentVersion: z.ZodLiteral<"1">;
|
|
1635
|
-
reauth: z.
|
|
542
|
+
reauth: z.ZodObject<{
|
|
1636
543
|
password: z.ZodOptional<z.ZodString>;
|
|
1637
544
|
emailCode: z.ZodOptional<z.ZodObject<{
|
|
1638
545
|
verificationId: z.ZodString;
|
|
1639
546
|
code: z.ZodString;
|
|
1640
|
-
},
|
|
1641
|
-
code: string;
|
|
1642
|
-
verificationId: string;
|
|
1643
|
-
}, {
|
|
1644
|
-
code: string;
|
|
1645
|
-
verificationId: string;
|
|
1646
|
-
}>>;
|
|
547
|
+
}, z.core.$strict>>;
|
|
1647
548
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
1648
|
-
},
|
|
1649
|
-
|
|
1650
|
-
emailCode?: {
|
|
1651
|
-
code: string;
|
|
1652
|
-
verificationId: string;
|
|
1653
|
-
} | undefined;
|
|
1654
|
-
totpCode?: string | undefined;
|
|
1655
|
-
}, {
|
|
1656
|
-
password?: string | undefined;
|
|
1657
|
-
emailCode?: {
|
|
1658
|
-
code: string;
|
|
1659
|
-
verificationId: string;
|
|
1660
|
-
} | undefined;
|
|
1661
|
-
totpCode?: string | undefined;
|
|
1662
|
-
}>, {
|
|
1663
|
-
password?: string | undefined;
|
|
1664
|
-
emailCode?: {
|
|
1665
|
-
code: string;
|
|
1666
|
-
verificationId: string;
|
|
1667
|
-
} | undefined;
|
|
1668
|
-
totpCode?: string | undefined;
|
|
1669
|
-
}, {
|
|
1670
|
-
password?: string | undefined;
|
|
1671
|
-
emailCode?: {
|
|
1672
|
-
code: string;
|
|
1673
|
-
verificationId: string;
|
|
1674
|
-
} | undefined;
|
|
1675
|
-
totpCode?: string | undefined;
|
|
1676
|
-
}>;
|
|
1677
|
-
}, "strict", z.ZodTypeAny, {
|
|
1678
|
-
reauth: {
|
|
1679
|
-
password?: string | undefined;
|
|
1680
|
-
emailCode?: {
|
|
1681
|
-
code: string;
|
|
1682
|
-
verificationId: string;
|
|
1683
|
-
} | undefined;
|
|
1684
|
-
totpCode?: string | undefined;
|
|
1685
|
-
};
|
|
1686
|
-
guardianAccountId: string;
|
|
1687
|
-
consentVersion: "1";
|
|
1688
|
-
}, {
|
|
1689
|
-
reauth: {
|
|
1690
|
-
password?: string | undefined;
|
|
1691
|
-
emailCode?: {
|
|
1692
|
-
code: string;
|
|
1693
|
-
verificationId: string;
|
|
1694
|
-
} | undefined;
|
|
1695
|
-
totpCode?: string | undefined;
|
|
1696
|
-
};
|
|
1697
|
-
guardianAccountId: string;
|
|
1698
|
-
consentVersion: "1";
|
|
1699
|
-
}>;
|
|
549
|
+
}, z.core.$strict>;
|
|
550
|
+
}, z.core.$strict>;
|
|
1700
551
|
export declare const supervisionAcceptInputSchema: z.ZodObject<{
|
|
1701
552
|
consentVersion: z.ZodLiteral<"1">;
|
|
1702
|
-
reauth: z.
|
|
553
|
+
reauth: z.ZodObject<{
|
|
1703
554
|
password: z.ZodOptional<z.ZodString>;
|
|
1704
555
|
emailCode: z.ZodOptional<z.ZodObject<{
|
|
1705
556
|
verificationId: z.ZodString;
|
|
1706
557
|
code: z.ZodString;
|
|
1707
|
-
},
|
|
1708
|
-
code: string;
|
|
1709
|
-
verificationId: string;
|
|
1710
|
-
}, {
|
|
1711
|
-
code: string;
|
|
1712
|
-
verificationId: string;
|
|
1713
|
-
}>>;
|
|
558
|
+
}, z.core.$strict>>;
|
|
1714
559
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
1715
|
-
},
|
|
1716
|
-
|
|
1717
|
-
emailCode?: {
|
|
1718
|
-
code: string;
|
|
1719
|
-
verificationId: string;
|
|
1720
|
-
} | undefined;
|
|
1721
|
-
totpCode?: string | undefined;
|
|
1722
|
-
}, {
|
|
1723
|
-
password?: string | undefined;
|
|
1724
|
-
emailCode?: {
|
|
1725
|
-
code: string;
|
|
1726
|
-
verificationId: string;
|
|
1727
|
-
} | undefined;
|
|
1728
|
-
totpCode?: string | undefined;
|
|
1729
|
-
}>, {
|
|
1730
|
-
password?: string | undefined;
|
|
1731
|
-
emailCode?: {
|
|
1732
|
-
code: string;
|
|
1733
|
-
verificationId: string;
|
|
1734
|
-
} | undefined;
|
|
1735
|
-
totpCode?: string | undefined;
|
|
1736
|
-
}, {
|
|
1737
|
-
password?: string | undefined;
|
|
1738
|
-
emailCode?: {
|
|
1739
|
-
code: string;
|
|
1740
|
-
verificationId: string;
|
|
1741
|
-
} | undefined;
|
|
1742
|
-
totpCode?: string | undefined;
|
|
1743
|
-
}>;
|
|
1744
|
-
}, "strict", z.ZodTypeAny, {
|
|
1745
|
-
reauth: {
|
|
1746
|
-
password?: string | undefined;
|
|
1747
|
-
emailCode?: {
|
|
1748
|
-
code: string;
|
|
1749
|
-
verificationId: string;
|
|
1750
|
-
} | undefined;
|
|
1751
|
-
totpCode?: string | undefined;
|
|
1752
|
-
};
|
|
1753
|
-
consentVersion: "1";
|
|
1754
|
-
}, {
|
|
1755
|
-
reauth: {
|
|
1756
|
-
password?: string | undefined;
|
|
1757
|
-
emailCode?: {
|
|
1758
|
-
code: string;
|
|
1759
|
-
verificationId: string;
|
|
1760
|
-
} | undefined;
|
|
1761
|
-
totpCode?: string | undefined;
|
|
1762
|
-
};
|
|
1763
|
-
consentVersion: "1";
|
|
1764
|
-
}>;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
}, z.core.$strict>;
|
|
1765
562
|
export declare const supervisionContactInputSchema: z.ZodObject<{
|
|
1766
563
|
childAccountId: z.ZodString;
|
|
1767
564
|
contactAccountId: z.ZodString;
|
|
1768
|
-
reauth: z.
|
|
565
|
+
reauth: z.ZodObject<{
|
|
1769
566
|
password: z.ZodOptional<z.ZodString>;
|
|
1770
567
|
emailCode: z.ZodOptional<z.ZodObject<{
|
|
1771
568
|
verificationId: z.ZodString;
|
|
1772
569
|
code: z.ZodString;
|
|
1773
|
-
},
|
|
1774
|
-
code: string;
|
|
1775
|
-
verificationId: string;
|
|
1776
|
-
}, {
|
|
1777
|
-
code: string;
|
|
1778
|
-
verificationId: string;
|
|
1779
|
-
}>>;
|
|
570
|
+
}, z.core.$strict>>;
|
|
1780
571
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
1781
|
-
},
|
|
1782
|
-
|
|
1783
|
-
emailCode?: {
|
|
1784
|
-
code: string;
|
|
1785
|
-
verificationId: string;
|
|
1786
|
-
} | undefined;
|
|
1787
|
-
totpCode?: string | undefined;
|
|
1788
|
-
}, {
|
|
1789
|
-
password?: string | undefined;
|
|
1790
|
-
emailCode?: {
|
|
1791
|
-
code: string;
|
|
1792
|
-
verificationId: string;
|
|
1793
|
-
} | undefined;
|
|
1794
|
-
totpCode?: string | undefined;
|
|
1795
|
-
}>, {
|
|
1796
|
-
password?: string | undefined;
|
|
1797
|
-
emailCode?: {
|
|
1798
|
-
code: string;
|
|
1799
|
-
verificationId: string;
|
|
1800
|
-
} | undefined;
|
|
1801
|
-
totpCode?: string | undefined;
|
|
1802
|
-
}, {
|
|
1803
|
-
password?: string | undefined;
|
|
1804
|
-
emailCode?: {
|
|
1805
|
-
code: string;
|
|
1806
|
-
verificationId: string;
|
|
1807
|
-
} | undefined;
|
|
1808
|
-
totpCode?: string | undefined;
|
|
1809
|
-
}>;
|
|
1810
|
-
}, "strict", z.ZodTypeAny, {
|
|
1811
|
-
reauth: {
|
|
1812
|
-
password?: string | undefined;
|
|
1813
|
-
emailCode?: {
|
|
1814
|
-
code: string;
|
|
1815
|
-
verificationId: string;
|
|
1816
|
-
} | undefined;
|
|
1817
|
-
totpCode?: string | undefined;
|
|
1818
|
-
};
|
|
1819
|
-
childAccountId: string;
|
|
1820
|
-
contactAccountId: string;
|
|
1821
|
-
}, {
|
|
1822
|
-
reauth: {
|
|
1823
|
-
password?: string | undefined;
|
|
1824
|
-
emailCode?: {
|
|
1825
|
-
code: string;
|
|
1826
|
-
verificationId: string;
|
|
1827
|
-
} | undefined;
|
|
1828
|
-
totpCode?: string | undefined;
|
|
1829
|
-
};
|
|
1830
|
-
childAccountId: string;
|
|
1831
|
-
contactAccountId: string;
|
|
1832
|
-
}>;
|
|
572
|
+
}, z.core.$strict>;
|
|
573
|
+
}, z.core.$strict>;
|
|
1833
574
|
export declare const supervisionReviewInputSchema: z.ZodObject<{
|
|
1834
575
|
childAccountId: z.ZodString;
|
|
1835
|
-
action: z.ZodEnum<
|
|
576
|
+
action: z.ZodEnum<{
|
|
577
|
+
end: "end";
|
|
578
|
+
transfer: "transfer";
|
|
579
|
+
}>;
|
|
1836
580
|
guardianAccountId: z.ZodOptional<z.ZodString>;
|
|
1837
581
|
evidenceReference: z.ZodString;
|
|
1838
|
-
reauth: z.
|
|
582
|
+
reauth: z.ZodObject<{
|
|
1839
583
|
password: z.ZodOptional<z.ZodString>;
|
|
1840
584
|
emailCode: z.ZodOptional<z.ZodObject<{
|
|
1841
585
|
verificationId: z.ZodString;
|
|
1842
586
|
code: z.ZodString;
|
|
1843
|
-
},
|
|
1844
|
-
code: string;
|
|
1845
|
-
verificationId: string;
|
|
1846
|
-
}, {
|
|
1847
|
-
code: string;
|
|
1848
|
-
verificationId: string;
|
|
1849
|
-
}>>;
|
|
587
|
+
}, z.core.$strict>>;
|
|
1850
588
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
1851
|
-
},
|
|
1852
|
-
|
|
1853
|
-
emailCode?: {
|
|
1854
|
-
code: string;
|
|
1855
|
-
verificationId: string;
|
|
1856
|
-
} | undefined;
|
|
1857
|
-
totpCode?: string | undefined;
|
|
1858
|
-
}, {
|
|
1859
|
-
password?: string | undefined;
|
|
1860
|
-
emailCode?: {
|
|
1861
|
-
code: string;
|
|
1862
|
-
verificationId: string;
|
|
1863
|
-
} | undefined;
|
|
1864
|
-
totpCode?: string | undefined;
|
|
1865
|
-
}>, {
|
|
1866
|
-
password?: string | undefined;
|
|
1867
|
-
emailCode?: {
|
|
1868
|
-
code: string;
|
|
1869
|
-
verificationId: string;
|
|
1870
|
-
} | undefined;
|
|
1871
|
-
totpCode?: string | undefined;
|
|
1872
|
-
}, {
|
|
1873
|
-
password?: string | undefined;
|
|
1874
|
-
emailCode?: {
|
|
1875
|
-
code: string;
|
|
1876
|
-
verificationId: string;
|
|
1877
|
-
} | undefined;
|
|
1878
|
-
totpCode?: string | undefined;
|
|
1879
|
-
}>;
|
|
1880
|
-
}, "strict", z.ZodTypeAny, {
|
|
1881
|
-
evidenceReference: string;
|
|
1882
|
-
reauth: {
|
|
1883
|
-
password?: string | undefined;
|
|
1884
|
-
emailCode?: {
|
|
1885
|
-
code: string;
|
|
1886
|
-
verificationId: string;
|
|
1887
|
-
} | undefined;
|
|
1888
|
-
totpCode?: string | undefined;
|
|
1889
|
-
};
|
|
1890
|
-
action: "end" | "transfer";
|
|
1891
|
-
childAccountId: string;
|
|
1892
|
-
guardianAccountId?: string | undefined;
|
|
1893
|
-
}, {
|
|
1894
|
-
evidenceReference: string;
|
|
1895
|
-
reauth: {
|
|
1896
|
-
password?: string | undefined;
|
|
1897
|
-
emailCode?: {
|
|
1898
|
-
code: string;
|
|
1899
|
-
verificationId: string;
|
|
1900
|
-
} | undefined;
|
|
1901
|
-
totpCode?: string | undefined;
|
|
1902
|
-
};
|
|
1903
|
-
action: "end" | "transfer";
|
|
1904
|
-
childAccountId: string;
|
|
1905
|
-
guardianAccountId?: string | undefined;
|
|
1906
|
-
}>;
|
|
589
|
+
}, z.core.$strict>;
|
|
590
|
+
}, z.core.$strict>;
|
|
1907
591
|
export declare const purchaseReviewInputSchema: z.ZodObject<{
|
|
1908
|
-
decision: z.ZodEnum<
|
|
1909
|
-
|
|
592
|
+
decision: z.ZodEnum<{
|
|
593
|
+
approved: "approved";
|
|
594
|
+
rejected: "rejected";
|
|
595
|
+
}>;
|
|
596
|
+
reauth: z.ZodObject<{
|
|
1910
597
|
password: z.ZodOptional<z.ZodString>;
|
|
1911
598
|
emailCode: z.ZodOptional<z.ZodObject<{
|
|
1912
599
|
verificationId: z.ZodString;
|
|
1913
600
|
code: z.ZodString;
|
|
1914
|
-
},
|
|
1915
|
-
code: string;
|
|
1916
|
-
verificationId: string;
|
|
1917
|
-
}, {
|
|
1918
|
-
code: string;
|
|
1919
|
-
verificationId: string;
|
|
1920
|
-
}>>;
|
|
601
|
+
}, z.core.$strict>>;
|
|
1921
602
|
totpCode: z.ZodOptional<z.ZodString>;
|
|
1922
|
-
},
|
|
1923
|
-
|
|
1924
|
-
emailCode?: {
|
|
1925
|
-
code: string;
|
|
1926
|
-
verificationId: string;
|
|
1927
|
-
} | undefined;
|
|
1928
|
-
totpCode?: string | undefined;
|
|
1929
|
-
}, {
|
|
1930
|
-
password?: string | undefined;
|
|
1931
|
-
emailCode?: {
|
|
1932
|
-
code: string;
|
|
1933
|
-
verificationId: string;
|
|
1934
|
-
} | undefined;
|
|
1935
|
-
totpCode?: string | undefined;
|
|
1936
|
-
}>, {
|
|
1937
|
-
password?: string | undefined;
|
|
1938
|
-
emailCode?: {
|
|
1939
|
-
code: string;
|
|
1940
|
-
verificationId: string;
|
|
1941
|
-
} | undefined;
|
|
1942
|
-
totpCode?: string | undefined;
|
|
1943
|
-
}, {
|
|
1944
|
-
password?: string | undefined;
|
|
1945
|
-
emailCode?: {
|
|
1946
|
-
code: string;
|
|
1947
|
-
verificationId: string;
|
|
1948
|
-
} | undefined;
|
|
1949
|
-
totpCode?: string | undefined;
|
|
1950
|
-
}>;
|
|
1951
|
-
}, "strict", z.ZodTypeAny, {
|
|
1952
|
-
decision: "approved" | "rejected";
|
|
1953
|
-
reauth: {
|
|
1954
|
-
password?: string | undefined;
|
|
1955
|
-
emailCode?: {
|
|
1956
|
-
code: string;
|
|
1957
|
-
verificationId: string;
|
|
1958
|
-
} | undefined;
|
|
1959
|
-
totpCode?: string | undefined;
|
|
1960
|
-
};
|
|
1961
|
-
}, {
|
|
1962
|
-
decision: "approved" | "rejected";
|
|
1963
|
-
reauth: {
|
|
1964
|
-
password?: string | undefined;
|
|
1965
|
-
emailCode?: {
|
|
1966
|
-
code: string;
|
|
1967
|
-
verificationId: string;
|
|
1968
|
-
} | undefined;
|
|
1969
|
-
totpCode?: string | undefined;
|
|
1970
|
-
};
|
|
1971
|
-
}>;
|
|
603
|
+
}, z.core.$strict>;
|
|
604
|
+
}, z.core.$strict>;
|
|
1972
605
|
export type SupervisionInviteInput = z.infer<typeof supervisionInviteInputSchema>;
|
|
1973
606
|
export type SupervisionAcceptInput = z.infer<typeof supervisionAcceptInputSchema>;
|
|
1974
607
|
export type SupervisionContactInput = z.infer<typeof supervisionContactInputSchema>;
|
|
@@ -1977,16 +610,13 @@ export type PurchaseReviewInput = z.infer<typeof purchaseReviewInputSchema>;
|
|
|
1977
610
|
export declare const safetySessionInputSchema: z.ZodObject<{
|
|
1978
611
|
sessionId: z.ZodString;
|
|
1979
612
|
accessToken: z.ZodString;
|
|
1980
|
-
action: z.ZodEnum<
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
accessToken: string;
|
|
1988
|
-
action: "profile" | "content" | "messaging" | "purchases";
|
|
1989
|
-
}>;
|
|
613
|
+
action: z.ZodEnum<{
|
|
614
|
+
profile: "profile";
|
|
615
|
+
content: "content";
|
|
616
|
+
messaging: "messaging";
|
|
617
|
+
purchases: "purchases";
|
|
618
|
+
}>;
|
|
619
|
+
}, z.core.$strict>;
|
|
1990
620
|
export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
1991
621
|
valid: z.ZodLiteral<true>;
|
|
1992
622
|
sessionId: z.ZodString;
|
|
@@ -2001,327 +631,113 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2001
631
|
phone: z.ZodOptional<z.ZodString>;
|
|
2002
632
|
address: z.ZodOptional<z.ZodString>;
|
|
2003
633
|
birthday: z.ZodOptional<z.ZodString>;
|
|
2004
|
-
dateOfBirth: z.ZodOptional<z.
|
|
634
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
2005
635
|
isAdult: z.ZodOptional<z.ZodBoolean>;
|
|
2006
636
|
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2007
637
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2008
|
-
name: z.ZodType<import("./userResponse").UserNameResponse, z.
|
|
638
|
+
name: z.ZodType<import("./userResponse").UserNameResponse, unknown, z.core.$ZodTypeInternals<import("./userResponse").UserNameResponse, unknown>>;
|
|
2009
639
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
2010
|
-
languages: z.ZodOptional<z.ZodArray<z.ZodString
|
|
640
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2011
641
|
did: z.ZodOptional<z.ZodString>;
|
|
2012
|
-
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.
|
|
2013
|
-
kind: z.ZodOptional<z.ZodEnum<
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2021
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2022
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2023
|
-
}, z.ZodUnknown, "strip">>>;
|
|
2024
|
-
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
2025
|
-
personalization: z.ZodOptional<z.ZodObject<{
|
|
2026
|
-
mentionMono: z.ZodObject<{
|
|
2027
|
-
allowed: z.ZodBoolean;
|
|
2028
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2029
|
-
}, "strict", z.ZodTypeAny, {
|
|
2030
|
-
expiresAt: string | null;
|
|
2031
|
-
allowed: boolean;
|
|
2032
|
-
}, {
|
|
2033
|
-
expiresAt: string | null;
|
|
2034
|
-
allowed: boolean;
|
|
2035
|
-
}>;
|
|
2036
|
-
}, "strict", z.ZodTypeAny, {
|
|
2037
|
-
mentionMono: {
|
|
2038
|
-
expiresAt: string | null;
|
|
2039
|
-
allowed: boolean;
|
|
2040
|
-
};
|
|
2041
|
-
}, {
|
|
2042
|
-
mentionMono: {
|
|
2043
|
-
expiresAt: string | null;
|
|
2044
|
-
allowed: boolean;
|
|
2045
|
-
};
|
|
642
|
+
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, unknown, z.core.$ZodTypeInternals<import("./identity").VerifiedDomain, unknown>>>>;
|
|
643
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
644
|
+
personal: "personal";
|
|
645
|
+
organization: "organization";
|
|
646
|
+
project: "project";
|
|
647
|
+
bot: "bot";
|
|
648
|
+
channel: "channel";
|
|
649
|
+
community: "community";
|
|
2046
650
|
}>>;
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
};
|
|
2098
|
-
}>>;
|
|
2099
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2100
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2101
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
2102
|
-
publicKey: z.ZodOptional<z.ZodString>;
|
|
2103
|
-
username: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
email: z.ZodOptional<z.ZodString>;
|
|
2105
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
2106
|
-
address: z.ZodOptional<z.ZodString>;
|
|
2107
|
-
birthday: z.ZodOptional<z.ZodString>;
|
|
2108
|
-
dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
2109
|
-
isAdult: z.ZodOptional<z.ZodBoolean>;
|
|
2110
|
-
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2111
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2112
|
-
name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
|
|
2113
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
2114
|
-
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2115
|
-
did: z.ZodOptional<z.ZodString>;
|
|
2116
|
-
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2117
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2118
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[], ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
2119
|
-
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2120
|
-
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
651
|
+
accountCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
652
|
+
community: "community";
|
|
653
|
+
news: "news";
|
|
654
|
+
politics: "politics";
|
|
655
|
+
business: "business";
|
|
656
|
+
startup: "startup";
|
|
657
|
+
finance: "finance";
|
|
658
|
+
crypto: "crypto";
|
|
659
|
+
marketplace: "marketplace";
|
|
660
|
+
retail: "retail";
|
|
661
|
+
real_estate: "real_estate";
|
|
662
|
+
agency: "agency";
|
|
663
|
+
landlord: "landlord";
|
|
664
|
+
cooperative: "cooperative";
|
|
665
|
+
architecture: "architecture";
|
|
666
|
+
technology: "technology";
|
|
667
|
+
software: "software";
|
|
668
|
+
ai: "ai";
|
|
669
|
+
security: "security";
|
|
670
|
+
automation: "automation";
|
|
671
|
+
science: "science";
|
|
672
|
+
education: "education";
|
|
673
|
+
books: "books";
|
|
674
|
+
health: "health";
|
|
675
|
+
fitness: "fitness";
|
|
676
|
+
sports: "sports";
|
|
677
|
+
gaming: "gaming";
|
|
678
|
+
music: "music";
|
|
679
|
+
film: "film";
|
|
680
|
+
podcast: "podcast";
|
|
681
|
+
art: "art";
|
|
682
|
+
photography: "photography";
|
|
683
|
+
comedy: "comedy";
|
|
684
|
+
food: "food";
|
|
685
|
+
travel: "travel";
|
|
686
|
+
fashion: "fashion";
|
|
687
|
+
home_garden: "home_garden";
|
|
688
|
+
diy: "diy";
|
|
689
|
+
automotive: "automotive";
|
|
690
|
+
animals: "animals";
|
|
691
|
+
family: "family";
|
|
692
|
+
nonprofit: "nonprofit";
|
|
693
|
+
government: "government";
|
|
694
|
+
activism: "activism";
|
|
695
|
+
environment: "environment";
|
|
696
|
+
religion: "religion";
|
|
697
|
+
other: "other";
|
|
698
|
+
}>>>;
|
|
699
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, unknown, z.core.$ZodTypeInternals<import("./avatarCharacter").AvatarCharacter, unknown>>>;
|
|
700
|
+
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, unknown, z.core.$ZodTypeInternals<import("./userResponse").UserRelationship, unknown>>>;
|
|
2121
701
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2122
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
}, z.ZodUnknown
|
|
2128
|
-
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.
|
|
702
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<{
|
|
703
|
+
USD: "USD";
|
|
704
|
+
EUR: "EUR";
|
|
705
|
+
FAIR: "FAIR";
|
|
706
|
+
}>>;
|
|
707
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
708
|
+
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, unknown, z.core.$ZodTypeInternals<import("./userResponse").ThemePreference, unknown>>>;
|
|
2129
709
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2130
710
|
mentionMono: z.ZodObject<{
|
|
2131
711
|
allowed: z.ZodBoolean;
|
|
2132
712
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
2133
|
-
},
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
expiresAt: string | null;
|
|
2138
|
-
allowed: boolean;
|
|
2139
|
-
}>;
|
|
2140
|
-
}, "strict", z.ZodTypeAny, {
|
|
2141
|
-
mentionMono: {
|
|
2142
|
-
expiresAt: string | null;
|
|
2143
|
-
allowed: boolean;
|
|
2144
|
-
};
|
|
2145
|
-
}, {
|
|
2146
|
-
mentionMono: {
|
|
2147
|
-
expiresAt: string | null;
|
|
2148
|
-
allowed: boolean;
|
|
2149
|
-
};
|
|
2150
|
-
}>>;
|
|
2151
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
2152
|
-
actor: z.ZodEffects<z.ZodObject<{
|
|
713
|
+
}, z.core.$strict>;
|
|
714
|
+
}, z.core.$strict>>;
|
|
715
|
+
}, z.core.$loose>;
|
|
716
|
+
actor: z.ZodObject<{
|
|
2153
717
|
schemaVersion: z.ZodLiteral<1>;
|
|
2154
|
-
effectiveAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
|
|
2155
|
-
actorAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
|
|
718
|
+
effectiveAccountId: z.core.$ZodBranded<z.ZodString, "OxyAccountId", "out">;
|
|
719
|
+
actorAccountId: z.core.$ZodBranded<z.ZodString, "OxyAccountId", "out">;
|
|
2156
720
|
delegated: z.ZodBoolean;
|
|
2157
|
-
},
|
|
2158
|
-
|
|
2159
|
-
effectiveAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2160
|
-
actorAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2161
|
-
delegated: boolean;
|
|
2162
|
-
}, {
|
|
2163
|
-
schemaVersion: 1;
|
|
2164
|
-
effectiveAccountId: string;
|
|
2165
|
-
actorAccountId: string;
|
|
2166
|
-
delegated: boolean;
|
|
2167
|
-
}>, {
|
|
2168
|
-
schemaVersion: 1;
|
|
2169
|
-
effectiveAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2170
|
-
actorAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2171
|
-
delegated: boolean;
|
|
2172
|
-
}, {
|
|
2173
|
-
schemaVersion: 1;
|
|
2174
|
-
effectiveAccountId: string;
|
|
2175
|
-
actorAccountId: string;
|
|
2176
|
-
delegated: boolean;
|
|
2177
|
-
}>;
|
|
2178
|
-
}, "strict", z.ZodTypeAny, {
|
|
2179
|
-
valid: true;
|
|
2180
|
-
expiresAt: string;
|
|
2181
|
-
actor: {
|
|
2182
|
-
schemaVersion: 1;
|
|
2183
|
-
effectiveAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2184
|
-
actorAccountId: string & z.BRAND<"OxyAccountId">;
|
|
2185
|
-
delegated: boolean;
|
|
2186
|
-
};
|
|
2187
|
-
sessionId: string;
|
|
2188
|
-
user: {
|
|
2189
|
-
name: import("./userResponse").UserNameResponse;
|
|
2190
|
-
color?: string | null | undefined;
|
|
2191
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2192
|
-
username?: string | undefined;
|
|
2193
|
-
avatar?: string | null | undefined;
|
|
2194
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2195
|
-
id?: string | undefined;
|
|
2196
|
-
accountCategories?: ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
2197
|
-
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
2198
|
-
email?: string | undefined;
|
|
2199
|
-
publicKey?: string | undefined;
|
|
2200
|
-
verified?: boolean | undefined;
|
|
2201
|
-
did?: string | undefined;
|
|
2202
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2203
|
-
address?: string | undefined;
|
|
2204
|
-
phone?: string | undefined;
|
|
2205
|
-
_id?: string | undefined;
|
|
2206
|
-
birthday?: string | undefined;
|
|
2207
|
-
dateOfBirth?: string | undefined;
|
|
2208
|
-
isAdult?: boolean | undefined;
|
|
2209
|
-
languages?: string[] | undefined;
|
|
2210
|
-
userPreferences?: z.objectOutputType<{
|
|
2211
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2212
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
2213
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2214
|
-
personalization?: {
|
|
2215
|
-
mentionMono: {
|
|
2216
|
-
expiresAt: string | null;
|
|
2217
|
-
allowed: boolean;
|
|
2218
|
-
};
|
|
2219
|
-
} | undefined;
|
|
2220
|
-
} & {
|
|
2221
|
-
[k: string]: unknown;
|
|
2222
|
-
};
|
|
2223
|
-
lastActivity: string;
|
|
2224
|
-
}, {
|
|
2225
|
-
valid: true;
|
|
2226
|
-
expiresAt: string;
|
|
2227
|
-
actor: {
|
|
2228
|
-
schemaVersion: 1;
|
|
2229
|
-
effectiveAccountId: string;
|
|
2230
|
-
actorAccountId: string;
|
|
2231
|
-
delegated: boolean;
|
|
2232
|
-
};
|
|
2233
|
-
sessionId: string;
|
|
2234
|
-
user: {
|
|
2235
|
-
name: import("./userResponse").UserNameResponse;
|
|
2236
|
-
color?: string | null | undefined;
|
|
2237
|
-
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2238
|
-
username?: string | undefined;
|
|
2239
|
-
avatar?: string | null | undefined;
|
|
2240
|
-
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2241
|
-
id?: string | undefined;
|
|
2242
|
-
accountCategories?: ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
2243
|
-
character?: unknown;
|
|
2244
|
-
email?: string | undefined;
|
|
2245
|
-
publicKey?: string | undefined;
|
|
2246
|
-
verified?: boolean | undefined;
|
|
2247
|
-
did?: string | undefined;
|
|
2248
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2249
|
-
address?: string | undefined;
|
|
2250
|
-
phone?: string | undefined;
|
|
2251
|
-
_id?: string | undefined;
|
|
2252
|
-
birthday?: string | undefined;
|
|
2253
|
-
dateOfBirth?: string | undefined;
|
|
2254
|
-
isAdult?: boolean | undefined;
|
|
2255
|
-
languages?: string[] | undefined;
|
|
2256
|
-
userPreferences?: z.objectInputType<{
|
|
2257
|
-
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2258
|
-
}, z.ZodUnknown, "strip"> | undefined;
|
|
2259
|
-
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2260
|
-
personalization?: {
|
|
2261
|
-
mentionMono: {
|
|
2262
|
-
expiresAt: string | null;
|
|
2263
|
-
allowed: boolean;
|
|
2264
|
-
};
|
|
2265
|
-
} | undefined;
|
|
2266
|
-
} & {
|
|
2267
|
-
[k: string]: unknown;
|
|
2268
|
-
};
|
|
2269
|
-
lastActivity: string;
|
|
2270
|
-
}>;
|
|
721
|
+
}, z.core.$strict>;
|
|
722
|
+
}, z.core.$strict>;
|
|
2271
723
|
/** Minimal identity for the authenticated account's supervision management, never profile details. */
|
|
2272
724
|
export declare const safetyPersonSchema: z.ZodObject<{
|
|
2273
725
|
accountId: z.ZodString;
|
|
2274
726
|
username: z.ZodNullable<z.ZodString>;
|
|
2275
727
|
displayName: z.ZodNullable<z.ZodString>;
|
|
2276
|
-
},
|
|
2277
|
-
|
|
2278
|
-
username: string | null;
|
|
2279
|
-
displayName: string | null;
|
|
2280
|
-
}, {
|
|
2281
|
-
accountId: string;
|
|
2282
|
-
username: string | null;
|
|
2283
|
-
displayName: string | null;
|
|
2284
|
-
}>;
|
|
2285
|
-
export declare const safetyPeopleInputSchema: z.ZodUnion<[z.ZodObject<{
|
|
728
|
+
}, z.core.$strict>;
|
|
729
|
+
export declare const safetyPeopleInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2286
730
|
query: z.ZodString;
|
|
2287
|
-
},
|
|
2288
|
-
|
|
2289
|
-
},
|
|
2290
|
-
query: string;
|
|
2291
|
-
}>, z.ZodObject<{
|
|
2292
|
-
accountIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
2293
|
-
}, "strict", z.ZodTypeAny, {
|
|
2294
|
-
accountIds: string[];
|
|
2295
|
-
}, {
|
|
2296
|
-
accountIds: string[];
|
|
2297
|
-
}>]>;
|
|
731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
732
|
+
accountIds: z.ZodArray<z.ZodString>;
|
|
733
|
+
}, z.core.$strict>]>;
|
|
2298
734
|
export declare const safetyPeopleResponseSchema: z.ZodObject<{
|
|
2299
735
|
items: z.ZodArray<z.ZodObject<{
|
|
2300
736
|
accountId: z.ZodString;
|
|
2301
737
|
username: z.ZodNullable<z.ZodString>;
|
|
2302
738
|
displayName: z.ZodNullable<z.ZodString>;
|
|
2303
|
-
},
|
|
2304
|
-
|
|
2305
|
-
username: string | null;
|
|
2306
|
-
displayName: string | null;
|
|
2307
|
-
}, {
|
|
2308
|
-
accountId: string;
|
|
2309
|
-
username: string | null;
|
|
2310
|
-
displayName: string | null;
|
|
2311
|
-
}>, "many">;
|
|
2312
|
-
}, "strict", z.ZodTypeAny, {
|
|
2313
|
-
items: {
|
|
2314
|
-
accountId: string;
|
|
2315
|
-
username: string | null;
|
|
2316
|
-
displayName: string | null;
|
|
2317
|
-
}[];
|
|
2318
|
-
}, {
|
|
2319
|
-
items: {
|
|
2320
|
-
accountId: string;
|
|
2321
|
-
username: string | null;
|
|
2322
|
-
displayName: string | null;
|
|
2323
|
-
}[];
|
|
2324
|
-
}>;
|
|
739
|
+
}, z.core.$strict>>;
|
|
740
|
+
}, z.core.$strict>;
|
|
2325
741
|
export type SafetyPerson = z.infer<typeof safetyPersonSchema>;
|
|
2326
742
|
export type SafetyPeopleInput = z.infer<typeof safetyPeopleInputSchema>;
|
|
2327
743
|
export type SafetyPeopleResponse = z.infer<typeof safetyPeopleResponseSchema>;
|
|
@@ -2330,34 +746,20 @@ export declare const safetyOrganizationIdentitySchema: z.ZodObject<{
|
|
|
2330
746
|
accountId: z.ZodString;
|
|
2331
747
|
username: z.ZodNullable<z.ZodString>;
|
|
2332
748
|
name: z.ZodString;
|
|
2333
|
-
organizationType: z.ZodEnum<
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
accountId: string;
|
|
2343
|
-
username: string | null;
|
|
2344
|
-
}>;
|
|
2345
|
-
export declare const safetyOrganizationsInputSchema: z.ZodUnion<[z.ZodObject<{
|
|
749
|
+
organizationType: z.ZodEnum<{
|
|
750
|
+
community: "community";
|
|
751
|
+
business: "business";
|
|
752
|
+
nonprofit: "nonprofit";
|
|
753
|
+
other: "other";
|
|
754
|
+
public_body: "public_body";
|
|
755
|
+
}>;
|
|
756
|
+
}, z.core.$strict>;
|
|
757
|
+
export declare const safetyOrganizationsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2346
758
|
query: z.ZodString;
|
|
2347
759
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2348
|
-
},
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
}, {
|
|
2352
|
-
query: string;
|
|
2353
|
-
limit?: number | undefined;
|
|
2354
|
-
}>, z.ZodObject<{
|
|
2355
|
-
ids: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
2356
|
-
}, "strict", z.ZodTypeAny, {
|
|
2357
|
-
ids: string[];
|
|
2358
|
-
}, {
|
|
2359
|
-
ids: string[];
|
|
2360
|
-
}>]>;
|
|
760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
761
|
+
ids: z.ZodArray<z.ZodString>;
|
|
762
|
+
}, z.core.$strict>]>;
|
|
2361
763
|
export declare const safetyOrganizationsResponseSchema: z.ZodObject<{
|
|
2362
764
|
items: z.ZodArray<z.ZodObject<{
|
|
2363
765
|
requestedAccountId: z.ZodString;
|
|
@@ -2365,59 +767,17 @@ export declare const safetyOrganizationsResponseSchema: z.ZodObject<{
|
|
|
2365
767
|
accountId: z.ZodString;
|
|
2366
768
|
username: z.ZodNullable<z.ZodString>;
|
|
2367
769
|
name: z.ZodString;
|
|
2368
|
-
organizationType: z.ZodEnum<
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
}>;
|
|
2380
|
-
}, "strict", z.ZodTypeAny, {
|
|
2381
|
-
organization: {
|
|
2382
|
-
name: string;
|
|
2383
|
-
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2384
|
-
accountId: string;
|
|
2385
|
-
username: string | null;
|
|
2386
|
-
};
|
|
2387
|
-
requestedAccountId: string;
|
|
2388
|
-
}, {
|
|
2389
|
-
organization: {
|
|
2390
|
-
name: string;
|
|
2391
|
-
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2392
|
-
accountId: string;
|
|
2393
|
-
username: string | null;
|
|
2394
|
-
};
|
|
2395
|
-
requestedAccountId: string;
|
|
2396
|
-
}>, "many">;
|
|
2397
|
-
missingIds: z.ZodArray<z.ZodString, "many">;
|
|
2398
|
-
}, "strict", z.ZodTypeAny, {
|
|
2399
|
-
items: {
|
|
2400
|
-
organization: {
|
|
2401
|
-
name: string;
|
|
2402
|
-
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2403
|
-
accountId: string;
|
|
2404
|
-
username: string | null;
|
|
2405
|
-
};
|
|
2406
|
-
requestedAccountId: string;
|
|
2407
|
-
}[];
|
|
2408
|
-
missingIds: string[];
|
|
2409
|
-
}, {
|
|
2410
|
-
items: {
|
|
2411
|
-
organization: {
|
|
2412
|
-
name: string;
|
|
2413
|
-
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2414
|
-
accountId: string;
|
|
2415
|
-
username: string | null;
|
|
2416
|
-
};
|
|
2417
|
-
requestedAccountId: string;
|
|
2418
|
-
}[];
|
|
2419
|
-
missingIds: string[];
|
|
2420
|
-
}>;
|
|
770
|
+
organizationType: z.ZodEnum<{
|
|
771
|
+
community: "community";
|
|
772
|
+
business: "business";
|
|
773
|
+
nonprofit: "nonprofit";
|
|
774
|
+
other: "other";
|
|
775
|
+
public_body: "public_body";
|
|
776
|
+
}>;
|
|
777
|
+
}, z.core.$strict>;
|
|
778
|
+
}, z.core.$strict>>;
|
|
779
|
+
missingIds: z.ZodArray<z.ZodString>;
|
|
780
|
+
}, z.core.$strict>;
|
|
2421
781
|
export type SafetyOrganizationIdentity = z.infer<typeof safetyOrganizationIdentitySchema>;
|
|
2422
782
|
export type SafetyOrganizationsInput = z.infer<typeof safetyOrganizationsInputSchema>;
|
|
2423
783
|
export type SafetyOrganizationsResponse = z.infer<typeof safetyOrganizationsResponseSchema>;
|