@oxy.so/contracts 4.14.0 → 4.15.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 +2 -1
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +92 -59
- package/dist/types/index.d.ts +1 -1
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/priceVersion.d.ts +8 -8
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +247 -111
- package/package.json +1 -1
|
@@ -207,7 +207,7 @@ export declare const MAX_ACCOUNT_CATEGORIES = 4;
|
|
|
207
207
|
* property the list exists to carry. A duplicate only ever comes from a client
|
|
208
208
|
* bug, and a 400 naming the index is how that bug gets found.
|
|
209
209
|
*/
|
|
210
|
-
export declare const accountCategoriesSchema: 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">, ("
|
|
210
|
+
export declare const accountCategoriesSchema: 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">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[]>;
|
|
211
211
|
/**
|
|
212
212
|
* Kinds that may carry categories: every kind EXCEPT `personal`.
|
|
213
213
|
*
|
|
@@ -314,7 +314,7 @@ export declare const createAccountRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
314
314
|
*/
|
|
315
315
|
color: z.ZodOptional<z.ZodString>;
|
|
316
316
|
/** Ordered, PRIMARY FIRST — see rule 2 above {@link ACCOUNT_CATEGORY_IDS}. */
|
|
317
|
-
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">, ("
|
|
317
|
+
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">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
318
318
|
organizationType: z.ZodOptional<z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>>;
|
|
319
319
|
/**
|
|
320
320
|
* Create the account already opted OUT of discovery.
|
|
@@ -365,71 +365,71 @@ export declare const createAccountRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
365
365
|
*/
|
|
366
366
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
kind: "organization" | "
|
|
368
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
369
369
|
username: string;
|
|
370
370
|
color?: string | undefined;
|
|
371
|
-
parentAccountId?: string | undefined;
|
|
372
371
|
name?: {
|
|
373
372
|
first?: string | undefined;
|
|
374
373
|
last?: string | undefined;
|
|
375
374
|
displayName?: string | undefined;
|
|
376
375
|
} | undefined;
|
|
377
|
-
|
|
376
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
378
377
|
avatar?: string | undefined;
|
|
378
|
+
parentAccountId?: string | undefined;
|
|
379
|
+
bio?: string | undefined;
|
|
379
380
|
description?: string | undefined;
|
|
380
|
-
accountCategories?: ("
|
|
381
|
-
organizationType?: "business" | "nonprofit" | "community" | "other" | "public_body" | undefined;
|
|
381
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
382
382
|
isPrivateAccount?: boolean | undefined;
|
|
383
383
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
384
384
|
}, {
|
|
385
|
-
kind: "organization" | "
|
|
385
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
386
386
|
username: string;
|
|
387
387
|
color?: string | undefined;
|
|
388
|
-
parentAccountId?: string | undefined;
|
|
389
388
|
name?: {
|
|
390
389
|
first?: string | undefined;
|
|
391
390
|
last?: string | undefined;
|
|
392
391
|
displayName?: string | undefined;
|
|
393
392
|
} | undefined;
|
|
394
|
-
|
|
393
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
395
394
|
avatar?: string | undefined;
|
|
395
|
+
parentAccountId?: string | undefined;
|
|
396
|
+
bio?: string | undefined;
|
|
396
397
|
description?: string | undefined;
|
|
397
|
-
accountCategories?: ("
|
|
398
|
-
organizationType?: "business" | "nonprofit" | "community" | "other" | "public_body" | undefined;
|
|
398
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
399
399
|
isPrivateAccount?: boolean | undefined;
|
|
400
400
|
character?: unknown;
|
|
401
401
|
}>, {
|
|
402
|
-
kind: "organization" | "
|
|
402
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
403
403
|
username: string;
|
|
404
404
|
color?: string | undefined;
|
|
405
|
-
parentAccountId?: string | undefined;
|
|
406
405
|
name?: {
|
|
407
406
|
first?: string | undefined;
|
|
408
407
|
last?: string | undefined;
|
|
409
408
|
displayName?: string | undefined;
|
|
410
409
|
} | undefined;
|
|
411
|
-
|
|
410
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
412
411
|
avatar?: string | undefined;
|
|
412
|
+
parentAccountId?: string | undefined;
|
|
413
|
+
bio?: string | undefined;
|
|
413
414
|
description?: string | undefined;
|
|
414
|
-
accountCategories?: ("
|
|
415
|
-
organizationType?: "business" | "nonprofit" | "community" | "other" | "public_body" | undefined;
|
|
415
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
416
416
|
isPrivateAccount?: boolean | undefined;
|
|
417
417
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
418
418
|
}, {
|
|
419
|
-
kind: "organization" | "
|
|
419
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
420
420
|
username: string;
|
|
421
421
|
color?: string | undefined;
|
|
422
|
-
parentAccountId?: string | undefined;
|
|
423
422
|
name?: {
|
|
424
423
|
first?: string | undefined;
|
|
425
424
|
last?: string | undefined;
|
|
426
425
|
displayName?: string | undefined;
|
|
427
426
|
} | undefined;
|
|
428
|
-
|
|
427
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
429
428
|
avatar?: string | undefined;
|
|
429
|
+
parentAccountId?: string | undefined;
|
|
430
|
+
bio?: string | undefined;
|
|
430
431
|
description?: string | undefined;
|
|
431
|
-
accountCategories?: ("
|
|
432
|
-
organizationType?: "business" | "nonprofit" | "community" | "other" | "public_body" | undefined;
|
|
432
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
433
433
|
isPrivateAccount?: boolean | undefined;
|
|
434
434
|
character?: unknown;
|
|
435
435
|
}>;
|
|
@@ -166,7 +166,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
166
166
|
}>;
|
|
167
167
|
}, "strict", z.ZodTypeAny, {
|
|
168
168
|
schemaVersion: 1;
|
|
169
|
-
direction: "
|
|
169
|
+
direction: "credit" | "debit";
|
|
170
170
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
171
171
|
actor: {
|
|
172
172
|
schemaVersion: 1;
|
|
@@ -176,7 +176,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
176
176
|
};
|
|
177
177
|
}, {
|
|
178
178
|
schemaVersion: 1;
|
|
179
|
-
direction: "
|
|
179
|
+
direction: "credit" | "debit";
|
|
180
180
|
subjectAccountId: string;
|
|
181
181
|
actor: {
|
|
182
182
|
schemaVersion: 1;
|
|
@@ -186,7 +186,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
186
186
|
};
|
|
187
187
|
}>, {
|
|
188
188
|
schemaVersion: 1;
|
|
189
|
-
direction: "
|
|
189
|
+
direction: "credit" | "debit";
|
|
190
190
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
191
191
|
actor: {
|
|
192
192
|
schemaVersion: 1;
|
|
@@ -196,7 +196,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
196
196
|
};
|
|
197
197
|
}, {
|
|
198
198
|
schemaVersion: 1;
|
|
199
|
-
direction: "
|
|
199
|
+
direction: "credit" | "debit";
|
|
200
200
|
subjectAccountId: string;
|
|
201
201
|
actor: {
|
|
202
202
|
schemaVersion: 1;
|