@oxy.so/contracts 5.2.0 → 5.3.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/accountGraph.js +8 -5
- package/dist/cjs/accountName.js +20 -0
- package/dist/cjs/accountSubject.js +4 -2
- package/dist/cjs/client/accountGraph.js +2 -0
- package/dist/cjs/client/accountName.js +56 -0
- package/dist/cjs/client/index.js +12 -4
- package/dist/cjs/client/organizations.js +5 -4
- package/dist/cjs/index.js +22 -15
- package/dist/cjs/organizations.js +3 -7
- package/dist/esm/accountGraph.js +9 -6
- package/dist/esm/accountName.js +12 -0
- package/dist/esm/accountSubject.js +4 -2
- package/dist/esm/client/accountGraph.js +2 -0
- package/dist/esm/client/accountName.js +51 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/organizations.js +5 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/organizations.js +4 -8
- package/dist/types/accountAccess.d.ts +5 -5
- package/dist/types/accountGraph.d.ts +12 -12
- package/dist/types/accountName.d.ts +5 -0
- package/dist/types/accountSubject.d.ts +3 -2
- package/dist/types/agency.d.ts +28 -28
- package/dist/types/client/accountGraph.d.ts +12 -6
- package/dist/types/client/accountName.d.ts +48 -0
- package/dist/types/client/deviceDirectory.d.ts +3 -3
- package/dist/types/client/index.d.ts +1 -0
- package/dist/types/client/organizations.d.ts +8 -7
- package/dist/types/client/safety.d.ts +2 -2
- package/dist/types/deviceDirectory.d.ts +33 -33
- package/dist/types/externalIdentity.d.ts +14 -14
- package/dist/types/index.d.ts +2 -0
- package/dist/types/inference/economics.d.ts +2 -2
- package/dist/types/inference/providerConnection.d.ts +4 -4
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/organizations.d.ts +41 -40
- package/dist/types/safety.d.ts +22 -22
- package/dist/types/stickers.d.ts +9 -9
- package/dist/types/userResponse.d.ts +42 -42
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export declare const deviceDirectoryCheck: import("./check").Check<{
|
|
|
21
21
|
userId: string;
|
|
22
22
|
contexts: {
|
|
23
23
|
active: boolean;
|
|
24
|
-
kind: "
|
|
24
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
25
25
|
accountId: string;
|
|
26
26
|
id: string;
|
|
27
27
|
lastUsedAt: number | null;
|
|
@@ -61,7 +61,7 @@ export declare const deviceActivateResponseCheck: import("./check").Check<{
|
|
|
61
61
|
userId: string;
|
|
62
62
|
contexts: {
|
|
63
63
|
active: boolean;
|
|
64
|
-
kind: "
|
|
64
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
65
65
|
accountId: string;
|
|
66
66
|
id: string;
|
|
67
67
|
lastUsedAt: number | null;
|
|
@@ -114,7 +114,7 @@ export declare const deviceDirectorySyncCheck: import("./check").Check<{
|
|
|
114
114
|
userId: string;
|
|
115
115
|
contexts: {
|
|
116
116
|
active: boolean;
|
|
117
|
-
kind: "
|
|
117
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
118
118
|
accountId: string;
|
|
119
119
|
id: string;
|
|
120
120
|
lastUsedAt: number | null;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export { type Check, type CheckIssue, type CheckPath, type CheckResult, ContractCheckError, checkContract, formatCheckPath, parseContract, } from './check';
|
|
18
18
|
export { ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, ACCOUNT_KINDS, CHILD_ACCOUNT_KINDS, MAX_ACCOUNT_CATEGORIES, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, isSelectableAccountCategoryId, kindAcceptsAccountCategories, newlyAddedRetiredCategories, } from './accountGraph';
|
|
19
|
+
export { ACCOUNT_NAME_POLICY_BY_KIND, ACCOUNT_TITLE_DISALLOWED_SOURCE, ACCOUNT_TITLE_MAX_LENGTH, accountNamePolicyForKind, accountTitleCheck, isPlainTextTitle, } from './accountName';
|
|
19
20
|
export { EMAIL_CODE_LENGTH, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_CODE_TTL_MS, EMAIL_TICKET_TTL_MS, EMAIL_VERIFICATION_ERROR_CODES, EMAIL_VERIFICATION_PURPOSES, emailAddressCheck, emailTicketCheck, emailVerificationConfirmResponseCheck, emailVerificationStartResponseCheck, } from './accountEmail';
|
|
20
21
|
export { ACCOUNT_AUTH_METHODS, AGENT_PROOF_ACTIONS, AGENT_PROOF_AUDIENCE, AGENT_PROOF_TTL_MS, agentChallengeRequestCheck, agentKeyListResponseCheck, agentKeyOperationChallengeCheck, agentKeyOperationCheck, agentKeyOperationResultCheck, agentProofClaimsCheck, agentVerifyRequestCheck, executeAgentKeyOperationCheck, } from './agentKeys';
|
|
21
22
|
export { isLoopbackOrigin } from '../capabilityBindings';
|
|
@@ -10,13 +10,14 @@ export declare const ORGANIZATION_STATUSES: readonly ["active", "inactive", "mer
|
|
|
10
10
|
export declare const ORGANIZATION_CLAIM_STATUSES: readonly ["unclaimed", "claimed"];
|
|
11
11
|
export declare const ORGANIZATION_ALIAS_KINDS: readonly ["name_variant", "former_name", "localized_name", "marketing_name", "misspelling"];
|
|
12
12
|
export declare const ORGANIZATION_CLAIM_DECISIONS: readonly ["pending", "approved", "rejected"];
|
|
13
|
+
/** An organization's name is a title; the cap is the title policy's. */
|
|
13
14
|
export declare const ORGANIZATION_NAME_MAX_LENGTH = 300;
|
|
14
15
|
export declare const ORGANIZATION_ERROR_CODES: readonly ["bad_request", "unauthorized", "forbidden", "not_found", "unknown_route", "conflict", "validation_failed", "rate_limited", "internal_error", "service_unavailable"];
|
|
15
|
-
/** The twin of `organizationNameSchema
|
|
16
|
+
/** The twin of `organizationNameSchema`: the title policy (`./accountName.ts`). */
|
|
16
17
|
export declare const organizationNameCheck: Check<string>;
|
|
17
18
|
export declare const createOrganizationCheck: Check<{
|
|
18
19
|
name: string;
|
|
19
|
-
organizationType: "
|
|
20
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
20
21
|
legalName?: string | null | undefined;
|
|
21
22
|
websiteUrl?: string | null | undefined;
|
|
22
23
|
countryCode?: string | null | undefined;
|
|
@@ -28,7 +29,7 @@ export declare const createOrganizationCheck: Check<{
|
|
|
28
29
|
}>;
|
|
29
30
|
export declare const updateOrganizationCheck: Check<{
|
|
30
31
|
name?: string | undefined;
|
|
31
|
-
organizationType?: "
|
|
32
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
32
33
|
legalName?: string | null | undefined;
|
|
33
34
|
websiteUrl?: string | null | undefined;
|
|
34
35
|
countryCode?: string | null | undefined;
|
|
@@ -41,7 +42,7 @@ export declare const updateOrganizationCheck: Check<{
|
|
|
41
42
|
export declare const organizationCheck: Check<{
|
|
42
43
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
43
44
|
name: string;
|
|
44
|
-
organizationType: "
|
|
45
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
45
46
|
legalName: string | null;
|
|
46
47
|
websiteUrl: string | null;
|
|
47
48
|
countryCode: string | null;
|
|
@@ -63,7 +64,7 @@ export declare const organizationListCheck: Check<{
|
|
|
63
64
|
items: {
|
|
64
65
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
65
66
|
name: string;
|
|
66
|
-
organizationType: "
|
|
67
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
67
68
|
legalName: string | null;
|
|
68
69
|
websiteUrl: string | null;
|
|
69
70
|
countryCode: string | null;
|
|
@@ -85,11 +86,10 @@ export declare const organizationListCheck: Check<{
|
|
|
85
86
|
}>;
|
|
86
87
|
export declare const organizationBatchCheck: Check<{
|
|
87
88
|
items: {
|
|
88
|
-
requestedAccountId: string;
|
|
89
89
|
organization: {
|
|
90
90
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
91
91
|
name: string;
|
|
92
|
-
organizationType: "
|
|
92
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
93
93
|
legalName: string | null;
|
|
94
94
|
websiteUrl: string | null;
|
|
95
95
|
countryCode: string | null;
|
|
@@ -107,6 +107,7 @@ export declare const organizationBatchCheck: Check<{
|
|
|
107
107
|
createdAt: string;
|
|
108
108
|
updatedAt: string;
|
|
109
109
|
};
|
|
110
|
+
requestedAccountId: string;
|
|
110
111
|
}[];
|
|
111
112
|
missingIds: string[];
|
|
112
113
|
}>;
|
|
@@ -136,13 +136,13 @@ export declare const safetyOrganizationsInputCheck: Check<{
|
|
|
136
136
|
}>;
|
|
137
137
|
export declare const safetyOrganizationsResponseCheck: Check<{
|
|
138
138
|
items: {
|
|
139
|
-
requestedAccountId: string;
|
|
140
139
|
organization: {
|
|
141
140
|
name: string;
|
|
142
|
-
organizationType: "
|
|
141
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
143
142
|
accountId: string;
|
|
144
143
|
username: string | null;
|
|
145
144
|
};
|
|
145
|
+
requestedAccountId: string;
|
|
146
146
|
}[];
|
|
147
147
|
missingIds: string[];
|
|
148
148
|
}>;
|
|
@@ -98,7 +98,7 @@ export declare const deviceDirectoryProfileSchema: z.ZodObject<{
|
|
|
98
98
|
export declare const deviceAccountContextSchema: z.ZodObject<{
|
|
99
99
|
id: z.ZodString;
|
|
100
100
|
accountId: z.ZodString;
|
|
101
|
-
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>;
|
|
101
|
+
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>;
|
|
102
102
|
relationship: z.ZodEnum<["self", "owner", "member"]>;
|
|
103
103
|
account: z.ZodObject<{
|
|
104
104
|
id: z.ZodString;
|
|
@@ -130,7 +130,7 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
|
|
|
130
130
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
active: boolean;
|
|
133
|
-
kind: "
|
|
133
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
134
134
|
accountId: string;
|
|
135
135
|
id: string;
|
|
136
136
|
lastUsedAt: number | null;
|
|
@@ -146,7 +146,7 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
|
|
|
146
146
|
available: boolean;
|
|
147
147
|
}, {
|
|
148
148
|
active: boolean;
|
|
149
|
-
kind: "
|
|
149
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
150
150
|
accountId: string;
|
|
151
151
|
id: string;
|
|
152
152
|
lastUsedAt: number | null;
|
|
@@ -200,7 +200,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
200
200
|
contexts: z.ZodArray<z.ZodObject<{
|
|
201
201
|
id: z.ZodString;
|
|
202
202
|
accountId: z.ZodString;
|
|
203
|
-
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>;
|
|
203
|
+
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>;
|
|
204
204
|
relationship: z.ZodEnum<["self", "owner", "member"]>;
|
|
205
205
|
account: z.ZodObject<{
|
|
206
206
|
id: z.ZodString;
|
|
@@ -232,7 +232,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
232
232
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
active: boolean;
|
|
235
|
-
kind: "
|
|
235
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
236
236
|
accountId: string;
|
|
237
237
|
id: string;
|
|
238
238
|
lastUsedAt: number | null;
|
|
@@ -248,7 +248,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
248
248
|
available: boolean;
|
|
249
249
|
}, {
|
|
250
250
|
active: boolean;
|
|
251
|
-
kind: "
|
|
251
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
252
252
|
accountId: string;
|
|
253
253
|
id: string;
|
|
254
254
|
lastUsedAt: number | null;
|
|
@@ -276,7 +276,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
276
276
|
userId: string;
|
|
277
277
|
contexts: {
|
|
278
278
|
active: boolean;
|
|
279
|
-
kind: "
|
|
279
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
280
280
|
accountId: string;
|
|
281
281
|
id: string;
|
|
282
282
|
lastUsedAt: number | null;
|
|
@@ -304,7 +304,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
304
304
|
userId: string;
|
|
305
305
|
contexts: {
|
|
306
306
|
active: boolean;
|
|
307
|
-
kind: "
|
|
307
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
308
308
|
accountId: string;
|
|
309
309
|
id: string;
|
|
310
310
|
lastUsedAt: number | null;
|
|
@@ -363,7 +363,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
363
363
|
contexts: z.ZodArray<z.ZodObject<{
|
|
364
364
|
id: z.ZodString;
|
|
365
365
|
accountId: z.ZodString;
|
|
366
|
-
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>;
|
|
366
|
+
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>;
|
|
367
367
|
relationship: z.ZodEnum<["self", "owner", "member"]>;
|
|
368
368
|
account: z.ZodObject<{
|
|
369
369
|
id: z.ZodString;
|
|
@@ -395,7 +395,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
395
395
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
397
|
active: boolean;
|
|
398
|
-
kind: "
|
|
398
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
399
399
|
accountId: string;
|
|
400
400
|
id: string;
|
|
401
401
|
lastUsedAt: number | null;
|
|
@@ -411,7 +411,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
411
411
|
available: boolean;
|
|
412
412
|
}, {
|
|
413
413
|
active: boolean;
|
|
414
|
-
kind: "
|
|
414
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
415
415
|
accountId: string;
|
|
416
416
|
id: string;
|
|
417
417
|
lastUsedAt: number | null;
|
|
@@ -439,7 +439,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
439
439
|
userId: string;
|
|
440
440
|
contexts: {
|
|
441
441
|
active: boolean;
|
|
442
|
-
kind: "
|
|
442
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
443
443
|
accountId: string;
|
|
444
444
|
id: string;
|
|
445
445
|
lastUsedAt: number | null;
|
|
@@ -467,7 +467,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
467
467
|
userId: string;
|
|
468
468
|
contexts: {
|
|
469
469
|
active: boolean;
|
|
470
|
-
kind: "
|
|
470
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
471
471
|
accountId: string;
|
|
472
472
|
id: string;
|
|
473
473
|
lastUsedAt: number | null;
|
|
@@ -502,7 +502,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
502
502
|
userId: string;
|
|
503
503
|
contexts: {
|
|
504
504
|
active: boolean;
|
|
505
|
-
kind: "
|
|
505
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
506
506
|
accountId: string;
|
|
507
507
|
id: string;
|
|
508
508
|
lastUsedAt: number | null;
|
|
@@ -536,7 +536,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
536
536
|
userId: string;
|
|
537
537
|
contexts: {
|
|
538
538
|
active: boolean;
|
|
539
|
-
kind: "
|
|
539
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
540
540
|
accountId: string;
|
|
541
541
|
id: string;
|
|
542
542
|
lastUsedAt: number | null;
|
|
@@ -617,7 +617,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
617
617
|
contexts: z.ZodArray<z.ZodObject<{
|
|
618
618
|
id: z.ZodString;
|
|
619
619
|
accountId: z.ZodString;
|
|
620
|
-
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>;
|
|
620
|
+
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>;
|
|
621
621
|
relationship: z.ZodEnum<["self", "owner", "member"]>;
|
|
622
622
|
account: z.ZodObject<{
|
|
623
623
|
id: z.ZodString;
|
|
@@ -649,7 +649,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
649
649
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
651
|
active: boolean;
|
|
652
|
-
kind: "
|
|
652
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
653
653
|
accountId: string;
|
|
654
654
|
id: string;
|
|
655
655
|
lastUsedAt: number | null;
|
|
@@ -665,7 +665,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
665
665
|
available: boolean;
|
|
666
666
|
}, {
|
|
667
667
|
active: boolean;
|
|
668
|
-
kind: "
|
|
668
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
669
669
|
accountId: string;
|
|
670
670
|
id: string;
|
|
671
671
|
lastUsedAt: number | null;
|
|
@@ -693,7 +693,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
693
693
|
userId: string;
|
|
694
694
|
contexts: {
|
|
695
695
|
active: boolean;
|
|
696
|
-
kind: "
|
|
696
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
697
697
|
accountId: string;
|
|
698
698
|
id: string;
|
|
699
699
|
lastUsedAt: number | null;
|
|
@@ -721,7 +721,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
721
721
|
userId: string;
|
|
722
722
|
contexts: {
|
|
723
723
|
active: boolean;
|
|
724
|
-
kind: "
|
|
724
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
725
725
|
accountId: string;
|
|
726
726
|
id: string;
|
|
727
727
|
lastUsedAt: number | null;
|
|
@@ -756,7 +756,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
756
756
|
userId: string;
|
|
757
757
|
contexts: {
|
|
758
758
|
active: boolean;
|
|
759
|
-
kind: "
|
|
759
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
760
760
|
accountId: string;
|
|
761
761
|
id: string;
|
|
762
762
|
lastUsedAt: number | null;
|
|
@@ -790,7 +790,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
790
790
|
userId: string;
|
|
791
791
|
contexts: {
|
|
792
792
|
active: boolean;
|
|
793
|
-
kind: "
|
|
793
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
794
794
|
accountId: string;
|
|
795
795
|
id: string;
|
|
796
796
|
lastUsedAt: number | null;
|
|
@@ -840,7 +840,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
840
840
|
userId: string;
|
|
841
841
|
contexts: {
|
|
842
842
|
active: boolean;
|
|
843
|
-
kind: "
|
|
843
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
844
844
|
accountId: string;
|
|
845
845
|
id: string;
|
|
846
846
|
lastUsedAt: number | null;
|
|
@@ -880,7 +880,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
880
880
|
userId: string;
|
|
881
881
|
contexts: {
|
|
882
882
|
active: boolean;
|
|
883
|
-
kind: "
|
|
883
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
884
884
|
accountId: string;
|
|
885
885
|
id: string;
|
|
886
886
|
lastUsedAt: number | null;
|
|
@@ -958,7 +958,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
958
958
|
contexts: z.ZodArray<z.ZodObject<{
|
|
959
959
|
id: z.ZodString;
|
|
960
960
|
accountId: z.ZodString;
|
|
961
|
-
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>;
|
|
961
|
+
kind: z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>;
|
|
962
962
|
relationship: z.ZodEnum<["self", "owner", "member"]>;
|
|
963
963
|
account: z.ZodObject<{
|
|
964
964
|
id: z.ZodString;
|
|
@@ -990,7 +990,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
990
990
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
|
992
992
|
active: boolean;
|
|
993
|
-
kind: "
|
|
993
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
994
994
|
accountId: string;
|
|
995
995
|
id: string;
|
|
996
996
|
lastUsedAt: number | null;
|
|
@@ -1006,7 +1006,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1006
1006
|
available: boolean;
|
|
1007
1007
|
}, {
|
|
1008
1008
|
active: boolean;
|
|
1009
|
-
kind: "
|
|
1009
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1010
1010
|
accountId: string;
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
lastUsedAt: number | null;
|
|
@@ -1034,7 +1034,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1034
1034
|
userId: string;
|
|
1035
1035
|
contexts: {
|
|
1036
1036
|
active: boolean;
|
|
1037
|
-
kind: "
|
|
1037
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1038
1038
|
accountId: string;
|
|
1039
1039
|
id: string;
|
|
1040
1040
|
lastUsedAt: number | null;
|
|
@@ -1062,7 +1062,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1062
1062
|
userId: string;
|
|
1063
1063
|
contexts: {
|
|
1064
1064
|
active: boolean;
|
|
1065
|
-
kind: "
|
|
1065
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1066
1066
|
accountId: string;
|
|
1067
1067
|
id: string;
|
|
1068
1068
|
lastUsedAt: number | null;
|
|
@@ -1097,7 +1097,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1097
1097
|
userId: string;
|
|
1098
1098
|
contexts: {
|
|
1099
1099
|
active: boolean;
|
|
1100
|
-
kind: "
|
|
1100
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1101
1101
|
accountId: string;
|
|
1102
1102
|
id: string;
|
|
1103
1103
|
lastUsedAt: number | null;
|
|
@@ -1131,7 +1131,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1131
1131
|
userId: string;
|
|
1132
1132
|
contexts: {
|
|
1133
1133
|
active: boolean;
|
|
1134
|
-
kind: "
|
|
1134
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1135
1135
|
accountId: string;
|
|
1136
1136
|
id: string;
|
|
1137
1137
|
lastUsedAt: number | null;
|
|
@@ -1237,7 +1237,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1237
1237
|
userId: string;
|
|
1238
1238
|
contexts: {
|
|
1239
1239
|
active: boolean;
|
|
1240
|
-
kind: "
|
|
1240
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1241
1241
|
accountId: string;
|
|
1242
1242
|
id: string;
|
|
1243
1243
|
lastUsedAt: number | null;
|
|
@@ -1289,7 +1289,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1289
1289
|
userId: string;
|
|
1290
1290
|
contexts: {
|
|
1291
1291
|
active: boolean;
|
|
1292
|
-
kind: "
|
|
1292
|
+
kind: "personal" | "organization" | "project" | "bot" | "channel" | "community";
|
|
1293
1293
|
accountId: string;
|
|
1294
1294
|
id: string;
|
|
1295
1295
|
lastUsedAt: number | null;
|
|
@@ -70,8 +70,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
70
70
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
71
71
|
did: z.ZodOptional<z.ZodString>;
|
|
72
72
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
73
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
74
|
-
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">, ("
|
|
73
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
74
|
+
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")[]>>;
|
|
75
75
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
76
76
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
77
77
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -147,8 +147,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
147
147
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
148
|
did: z.ZodOptional<z.ZodString>;
|
|
149
149
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
150
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
151
|
-
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">, ("
|
|
150
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
151
|
+
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")[]>>;
|
|
152
152
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
153
153
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
154
154
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -224,8 +224,8 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
224
224
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
225
225
|
did: z.ZodOptional<z.ZodString>;
|
|
226
226
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
227
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
228
|
-
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">, ("
|
|
227
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
228
|
+
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")[]>>;
|
|
229
229
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
230
230
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
231
231
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -350,11 +350,11 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
350
350
|
}[];
|
|
351
351
|
redirectedUserIds: string[];
|
|
352
352
|
color?: string | null | undefined;
|
|
353
|
-
kind?: "
|
|
353
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
354
354
|
avatar?: string | null | undefined;
|
|
355
355
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
356
356
|
bio?: string | undefined;
|
|
357
|
-
accountCategories?: ("
|
|
357
|
+
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;
|
|
358
358
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
359
359
|
email?: string | undefined;
|
|
360
360
|
publicKey?: string | undefined;
|
|
@@ -414,11 +414,11 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
414
414
|
}[];
|
|
415
415
|
redirectedUserIds: string[];
|
|
416
416
|
color?: string | null | undefined;
|
|
417
|
-
kind?: "
|
|
417
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
418
418
|
avatar?: string | null | undefined;
|
|
419
419
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
420
420
|
bio?: string | undefined;
|
|
421
|
-
accountCategories?: ("
|
|
421
|
+
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;
|
|
422
422
|
character?: unknown;
|
|
423
423
|
email?: string | undefined;
|
|
424
424
|
publicKey?: string | undefined;
|
|
@@ -478,11 +478,11 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
478
478
|
}[];
|
|
479
479
|
redirectedUserIds: string[];
|
|
480
480
|
color?: string | null | undefined;
|
|
481
|
-
kind?: "
|
|
481
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
482
482
|
avatar?: string | null | undefined;
|
|
483
483
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
484
484
|
bio?: string | undefined;
|
|
485
|
-
accountCategories?: ("
|
|
485
|
+
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;
|
|
486
486
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
487
487
|
email?: string | undefined;
|
|
488
488
|
publicKey?: string | undefined;
|
|
@@ -542,11 +542,11 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
542
542
|
}[];
|
|
543
543
|
redirectedUserIds: string[];
|
|
544
544
|
color?: string | null | undefined;
|
|
545
|
-
kind?: "
|
|
545
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
546
546
|
avatar?: string | null | undefined;
|
|
547
547
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
548
548
|
bio?: string | undefined;
|
|
549
|
-
accountCategories?: ("
|
|
549
|
+
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;
|
|
550
550
|
character?: unknown;
|
|
551
551
|
email?: string | undefined;
|
|
552
552
|
publicKey?: string | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export { ACCOUNT_KINDS, accountKindSchema, CHILD_ACCOUNT_KINDS, childAccountKindSchema, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, accountCategoriesSchema, accountCategoryIdSchema, isSelectableAccountCategoryId, kindAcceptsAccountCategories, MAX_ACCOUNT_CATEGORIES, newlyAddedRetiredCategories, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, createAccountRequestSchema, accountNameSchema, } from './accountGraph';
|
|
13
13
|
export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountKind, CreateAccountRequest, } from './accountGraph';
|
|
14
|
+
export { ACCOUNT_NAME_POLICY_BY_KIND, ACCOUNT_TITLE_DISALLOWED_SOURCE, ACCOUNT_TITLE_MAX_LENGTH, accountNamePolicyForKind, accountTitleSchema, isPlainTextTitle, } from './accountName';
|
|
15
|
+
export type { AccountNamePolicy } from './accountName';
|
|
14
16
|
export { AVATAR_EYE_SPACING, AVATAR_PICKABLE_COLORS, AVATAR_PICKABLE_SHAPES, avatarCharacterFor, avatarCharacterSchema, parseAvatarCharacter, } from './avatarCharacter';
|
|
15
17
|
export type { AvatarCharacter } from './avatarCharacter';
|
|
16
18
|
export { ACCOUNT_ACTOR_NATURES, ACCOUNT_SUBJECT_CONTRACT_VERSION, FINANCIAL_EFFECT_DIRECTIONS, KIND_INDEPENDENT_ACCOUNT_DIMENSIONS, accountActorChainFromSession, accountActorChainSchema, accountActorNatureSchema, accountKindActorNature, accountKindActsAsItself, attributeFinancialEffect, financialEffectAttributionSchema, } from './accountSubject';
|
|
@@ -305,8 +305,8 @@ export declare const meteredGenerationSchema: z.ZodObject<{
|
|
|
305
305
|
}>;
|
|
306
306
|
settledAt: z.ZodString;
|
|
307
307
|
}, "strict", z.ZodTypeAny, {
|
|
308
|
-
kind: "metered_usage";
|
|
309
308
|
environment: "development" | "staging" | "production";
|
|
309
|
+
kind: "metered_usage";
|
|
310
310
|
schemaVersion: 2;
|
|
311
311
|
applicationId: string;
|
|
312
312
|
credentialId: string;
|
|
@@ -339,8 +339,8 @@ export declare const meteredGenerationSchema: z.ZodObject<{
|
|
|
339
339
|
parentRequestId?: string | undefined;
|
|
340
340
|
delegatedUserId?: string | undefined;
|
|
341
341
|
}, {
|
|
342
|
-
kind: "metered_usage";
|
|
343
342
|
environment: "development" | "staging" | "production";
|
|
343
|
+
kind: "metered_usage";
|
|
344
344
|
schemaVersion: 2;
|
|
345
345
|
applicationId: string;
|
|
346
346
|
credentialId: string;
|
|
@@ -838,8 +838,8 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
838
838
|
lastValidatedAt?: string | undefined;
|
|
839
839
|
};
|
|
840
840
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
841
|
-
createdAt: string;
|
|
842
841
|
environment: "development" | "staging" | "production";
|
|
842
|
+
createdAt: string;
|
|
843
843
|
schemaVersion: 2;
|
|
844
844
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
845
845
|
scope: {
|
|
@@ -868,8 +868,8 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
868
868
|
lastValidatedAt?: string | undefined;
|
|
869
869
|
};
|
|
870
870
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
871
|
-
createdAt: string;
|
|
872
871
|
environment: "development" | "staging" | "production";
|
|
872
|
+
createdAt: string;
|
|
873
873
|
schemaVersion: 2;
|
|
874
874
|
ownerAccountId: string;
|
|
875
875
|
scope: {
|
|
@@ -898,8 +898,8 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
898
898
|
lastValidatedAt?: string | undefined;
|
|
899
899
|
};
|
|
900
900
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
901
|
-
createdAt: string;
|
|
902
901
|
environment: "development" | "staging" | "production";
|
|
902
|
+
createdAt: string;
|
|
903
903
|
schemaVersion: 2;
|
|
904
904
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
905
905
|
scope: {
|
|
@@ -928,8 +928,8 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
928
928
|
lastValidatedAt?: string | undefined;
|
|
929
929
|
};
|
|
930
930
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
931
|
-
createdAt: string;
|
|
932
931
|
environment: "development" | "staging" | "production";
|
|
932
|
+
createdAt: string;
|
|
933
933
|
schemaVersion: 2;
|
|
934
934
|
ownerAccountId: string;
|
|
935
935
|
scope: {
|