@oxy.so/contracts 4.10.0 → 4.11.0-oxy-one.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/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +20 -14
- package/dist/cjs/products/access.js +32 -1
- package/dist/cjs/products/billing.js +1 -1
- package/dist/cjs/products/checkout.js +17 -0
- package/dist/cjs/products/plans.js +23 -0
- package/dist/cjs/userResponse.js +7 -4
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/products/access.js +31 -0
- package/dist/esm/products/billing.js +1 -1
- package/dist/esm/products/checkout.js +14 -0
- package/dist/esm/products/plans.js +20 -0
- package/dist/esm/userResponse.js +3 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/externalIdentity.d.ts +90 -0
- package/dist/types/index.d.ts +5 -3
- package/dist/types/products/access.d.ts +459 -54
- package/dist/types/products/billing.d.ts +3 -0
- package/dist/types/products/checkout.d.ts +60 -0
- package/dist/types/products/plans.d.ts +319 -0
- package/dist/types/userResponse.d.ts +366 -0
- package/package.json +1 -1
|
@@ -74,6 +74,28 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
74
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">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[]>>;
|
|
75
75
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
76
76
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
77
|
+
personalization: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
mentionMono: z.ZodObject<{
|
|
79
|
+
allowed: z.ZodBoolean;
|
|
80
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
|
+
expiresAt: string | null;
|
|
83
|
+
allowed: boolean;
|
|
84
|
+
}, {
|
|
85
|
+
expiresAt: string | null;
|
|
86
|
+
allowed: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
}, "strict", z.ZodTypeAny, {
|
|
89
|
+
mentionMono: {
|
|
90
|
+
expiresAt: string | null;
|
|
91
|
+
allowed: boolean;
|
|
92
|
+
};
|
|
93
|
+
}, {
|
|
94
|
+
mentionMono: {
|
|
95
|
+
expiresAt: string | null;
|
|
96
|
+
allowed: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>>;
|
|
77
99
|
} & {
|
|
78
100
|
id: z.ZodString;
|
|
79
101
|
username: z.ZodString;
|
|
@@ -121,6 +143,28 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
121
143
|
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">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[]>>;
|
|
122
144
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
123
145
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
146
|
+
personalization: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
mentionMono: z.ZodObject<{
|
|
148
|
+
allowed: z.ZodBoolean;
|
|
149
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
150
|
+
}, "strict", z.ZodTypeAny, {
|
|
151
|
+
expiresAt: string | null;
|
|
152
|
+
allowed: boolean;
|
|
153
|
+
}, {
|
|
154
|
+
expiresAt: string | null;
|
|
155
|
+
allowed: boolean;
|
|
156
|
+
}>;
|
|
157
|
+
}, "strict", z.ZodTypeAny, {
|
|
158
|
+
mentionMono: {
|
|
159
|
+
expiresAt: string | null;
|
|
160
|
+
allowed: boolean;
|
|
161
|
+
};
|
|
162
|
+
}, {
|
|
163
|
+
mentionMono: {
|
|
164
|
+
expiresAt: string | null;
|
|
165
|
+
allowed: boolean;
|
|
166
|
+
};
|
|
167
|
+
}>>;
|
|
124
168
|
} & {
|
|
125
169
|
id: z.ZodString;
|
|
126
170
|
username: z.ZodString;
|
|
@@ -168,6 +212,28 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
168
212
|
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">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "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")[]>>;
|
|
169
213
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
170
214
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
215
|
+
personalization: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
mentionMono: z.ZodObject<{
|
|
217
|
+
allowed: z.ZodBoolean;
|
|
218
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
219
|
+
}, "strict", z.ZodTypeAny, {
|
|
220
|
+
expiresAt: string | null;
|
|
221
|
+
allowed: boolean;
|
|
222
|
+
}, {
|
|
223
|
+
expiresAt: string | null;
|
|
224
|
+
allowed: boolean;
|
|
225
|
+
}>;
|
|
226
|
+
}, "strict", z.ZodTypeAny, {
|
|
227
|
+
mentionMono: {
|
|
228
|
+
expiresAt: string | null;
|
|
229
|
+
allowed: boolean;
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
mentionMono: {
|
|
233
|
+
expiresAt: string | null;
|
|
234
|
+
allowed: boolean;
|
|
235
|
+
};
|
|
236
|
+
}>>;
|
|
171
237
|
} & {
|
|
172
238
|
id: z.ZodString;
|
|
173
239
|
username: z.ZodString;
|
|
@@ -278,6 +344,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
278
344
|
languages?: string[] | undefined;
|
|
279
345
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
280
346
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
347
|
+
personalization?: {
|
|
348
|
+
mentionMono: {
|
|
349
|
+
expiresAt: string | null;
|
|
350
|
+
allowed: boolean;
|
|
351
|
+
};
|
|
352
|
+
} | undefined;
|
|
281
353
|
} & {
|
|
282
354
|
[k: string]: unknown;
|
|
283
355
|
};
|
|
@@ -332,6 +404,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
332
404
|
languages?: string[] | undefined;
|
|
333
405
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
334
406
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
407
|
+
personalization?: {
|
|
408
|
+
mentionMono: {
|
|
409
|
+
expiresAt: string | null;
|
|
410
|
+
allowed: boolean;
|
|
411
|
+
};
|
|
412
|
+
} | undefined;
|
|
335
413
|
} & {
|
|
336
414
|
[k: string]: unknown;
|
|
337
415
|
};
|
|
@@ -386,6 +464,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
386
464
|
languages?: string[] | undefined;
|
|
387
465
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
388
466
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
467
|
+
personalization?: {
|
|
468
|
+
mentionMono: {
|
|
469
|
+
expiresAt: string | null;
|
|
470
|
+
allowed: boolean;
|
|
471
|
+
};
|
|
472
|
+
} | undefined;
|
|
389
473
|
} & {
|
|
390
474
|
[k: string]: unknown;
|
|
391
475
|
};
|
|
@@ -440,6 +524,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
440
524
|
languages?: string[] | undefined;
|
|
441
525
|
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
442
526
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
527
|
+
personalization?: {
|
|
528
|
+
mentionMono: {
|
|
529
|
+
expiresAt: string | null;
|
|
530
|
+
allowed: boolean;
|
|
531
|
+
};
|
|
532
|
+
} | undefined;
|
|
443
533
|
} & {
|
|
444
534
|
[k: string]: unknown;
|
|
445
535
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountK
|
|
|
14
14
|
export { ACCOUNT_ACTOR_NATURES, ACCOUNT_SUBJECT_CONTRACT_VERSION, FINANCIAL_EFFECT_DIRECTIONS, KIND_INDEPENDENT_ACCOUNT_DIMENSIONS, accountActorChainFromSession, accountActorChainSchema, accountActorNatureSchema, accountKindActorNature, accountKindActsAsItself, attributeFinancialEffect, financialEffectAttributionSchema, } from './accountSubject';
|
|
15
15
|
export type { AccountActorChain, AccountActorNature, FinancialEffectAttribution, FinancialEffectDirection, KindIndependentAccountDimension, } from './accountSubject';
|
|
16
16
|
export { usernameSchema, usernameSchemaForAccountKind, isValidUsername, stripDisallowedUsernameCharacters, applyBotUsernameSuffix, USERNAME_MIN_LENGTH, USERNAME_MAX_LENGTH, USERNAME_INVALID_MESSAGE, BOT_USERNAME_INVALID_MESSAGE, RESERVED_USERNAME_MESSAGE, NUMERIC_USERNAME_MESSAGE, } from './username';
|
|
17
|
-
export { userNameSchema, userRelationshipSchema, themePreferenceSchema, dateOfBirthSchema, userResponseSchema, userProfileUpdateSchema, currentUserResponseSchema, deviceLinkedSessionSchema, deviceLinkedSessionsResponseSchema, resolveUserId, safeParseContract, } from './userResponse';
|
|
17
|
+
export { userNameSchema, userRelationshipSchema, themePreferenceSchema, USER_PROFILE_COLOR_PRESETS, dateOfBirthSchema, userResponseSchema, userProfileUpdateSchema, currentUserResponseSchema, deviceLinkedSessionSchema, deviceLinkedSessionsResponseSchema, resolveUserId, safeParseContract, } from './userResponse';
|
|
18
18
|
export type { UserNameResponse, UserRelationship, ThemePreference, UserResponse, UserProfileUpdate, CurrentUserResponseContract, DeviceLinkedSessionResponse, DeviceLinkedSessionsResponseContract, } from './userResponse';
|
|
19
19
|
export { applicationTypeSchema, publicApplicationSchema, sessionStatusSchema, } from './sessionStatus';
|
|
20
20
|
export type { ApplicationTypeContract, PublicApplicationResponse, SessionStatusResponse, } from './sessionStatus';
|
|
@@ -124,9 +124,11 @@ export { PRIVATE_AUTO_EXECUTION_CONTRACT_VERSION, PRIVATE_AUTO_REQUEST_ENVELOPE_
|
|
|
124
124
|
export type { PrivateAutoPrincipal, PrivateAutoSourceApproval, PrivateAutoExecution } from './inference/privateAutoExecution';
|
|
125
125
|
export { privateAutoInferenceRequestSchema } from './inference/request';
|
|
126
126
|
export type { PrivateAutoInferenceRequest } from './inference/request';
|
|
127
|
-
export { productDefinitionSchema, subjectProductAccessQuerySchema, productBenefitSchema, productOfferSchema, productSubscriptionSourceSchema, productAccessGrantSchema, productOfferSegmentSchema, subjectProductAccessSchema, } from './products/access';
|
|
128
|
-
export type { ProductDefinition, SubjectProductAccessQuery, ProductBenefit, ProductOffer, ProductSubscriptionSource, ProductAccessGrant, ProductOfferSegment, SubjectProductAccess, } from './products/access';
|
|
127
|
+
export { productDefinitionSchema, subjectProductAccessQuerySchema, productBenefitSchema, productOfferSchema, productSubscriptionSourceSchema, productAccessGrantSchema, subjectProductGrantSnapshotSchema, productOfferSegmentSchema, subjectProductAccessSchema, } from './products/access';
|
|
128
|
+
export type { ProductDefinition, SubjectProductAccessQuery, SubjectProductGrantSnapshot, ProductBenefit, ProductOffer, ProductSubscriptionSource, ProductAccessGrant, ProductOfferSegment, SubjectProductAccess, } from './products/access';
|
|
129
129
|
export { meteredGenerationSchema, type MeteredGeneration } from "./inference/economics";
|
|
130
130
|
export { canonicalCapabilityJson, inputSatisfiesCapabilityLimits, isLoopbackOrigin } from './capabilityBindings';
|
|
131
131
|
export * from './agentKeys';
|
|
132
132
|
export { productSubscriptionSummarySchema, productSubscriptionsResponseSchema, subscriptionCreditGrantSchema, subscriptionCreditGrantsResponseSchema, cancelProductSubscriptionSchema, productSubscriptionCancellationResultSchema, type ProductSubscriptionSummary, type SubscriptionCreditGrant, type ProductSubscriptionCancellationResult } from './products/billing';
|
|
133
|
+
export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, type PersonalPlanCatalogue } from './products/plans';
|
|
134
|
+
export * from './products/checkout';
|