@oxy.so/contracts 5.1.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/agency.js +42 -1
- 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 +31 -15
- package/dist/cjs/organizations.js +3 -7
- package/dist/cjs/profileColors.generated.js +265 -0
- package/dist/cjs/userResponse.js +4 -19
- package/dist/esm/accountGraph.js +9 -6
- package/dist/esm/accountName.js +12 -0
- package/dist/esm/accountSubject.js +4 -2
- package/dist/esm/agency.js +39 -0
- 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 +4 -2
- package/dist/esm/organizations.js +4 -8
- package/dist/esm/profileColors.generated.js +262 -0
- package/dist/esm/userResponse.js +0 -15
- 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 +86 -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 +6 -3
- 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/oauth.d.ts +3 -0
- package/dist/types/organizations.d.ts +41 -40
- package/dist/types/profileColors.generated.d.ts +195 -0
- package/dist/types/safety.d.ts +22 -22
- package/dist/types/stickers.d.ts +9 -9
- package/dist/types/userResponse.d.ts +42 -44
- package/package.json +7 -4
package/dist/types/safety.d.ts
CHANGED
|
@@ -2010,8 +2010,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2010
2010
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2011
2011
|
did: z.ZodOptional<z.ZodString>;
|
|
2012
2012
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2013
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
2014
|
-
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">, ("
|
|
2013
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2014
|
+
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")[]>>;
|
|
2015
2015
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2016
2016
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2017
2017
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2062,8 +2062,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2062
2062
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2063
2063
|
did: z.ZodOptional<z.ZodString>;
|
|
2064
2064
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2065
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
2066
|
-
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">, ("
|
|
2065
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2066
|
+
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")[]>>;
|
|
2067
2067
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2068
2068
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2069
2069
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2114,8 +2114,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2114
2114
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2115
2115
|
did: z.ZodOptional<z.ZodString>;
|
|
2116
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"]>>;
|
|
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">, ("
|
|
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
2119
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2120
2120
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2121
2121
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2188,12 +2188,12 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2188
2188
|
user: {
|
|
2189
2189
|
name: import("./userResponse").UserNameResponse;
|
|
2190
2190
|
color?: string | null | undefined;
|
|
2191
|
-
kind?: "
|
|
2191
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2192
2192
|
username?: string | undefined;
|
|
2193
2193
|
avatar?: string | null | undefined;
|
|
2194
2194
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2195
2195
|
id?: string | undefined;
|
|
2196
|
-
accountCategories?: ("
|
|
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
2197
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
2198
2198
|
email?: string | undefined;
|
|
2199
2199
|
publicKey?: string | undefined;
|
|
@@ -2234,12 +2234,12 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2234
2234
|
user: {
|
|
2235
2235
|
name: import("./userResponse").UserNameResponse;
|
|
2236
2236
|
color?: string | null | undefined;
|
|
2237
|
-
kind?: "
|
|
2237
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2238
2238
|
username?: string | undefined;
|
|
2239
2239
|
avatar?: string | null | undefined;
|
|
2240
2240
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2241
2241
|
id?: string | undefined;
|
|
2242
|
-
accountCategories?: ("
|
|
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
2243
|
character?: unknown;
|
|
2244
2244
|
email?: string | undefined;
|
|
2245
2245
|
publicKey?: string | undefined;
|
|
@@ -2333,12 +2333,12 @@ export declare const safetyOrganizationIdentitySchema: z.ZodObject<{
|
|
|
2333
2333
|
organizationType: z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>;
|
|
2334
2334
|
}, "strict", z.ZodTypeAny, {
|
|
2335
2335
|
name: string;
|
|
2336
|
-
organizationType: "
|
|
2336
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2337
2337
|
accountId: string;
|
|
2338
2338
|
username: string | null;
|
|
2339
2339
|
}, {
|
|
2340
2340
|
name: string;
|
|
2341
|
-
organizationType: "
|
|
2341
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2342
2342
|
accountId: string;
|
|
2343
2343
|
username: string | null;
|
|
2344
2344
|
}>;
|
|
@@ -2368,53 +2368,53 @@ export declare const safetyOrganizationsResponseSchema: z.ZodObject<{
|
|
|
2368
2368
|
organizationType: z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>;
|
|
2369
2369
|
}, "strict", z.ZodTypeAny, {
|
|
2370
2370
|
name: string;
|
|
2371
|
-
organizationType: "
|
|
2371
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2372
2372
|
accountId: string;
|
|
2373
2373
|
username: string | null;
|
|
2374
2374
|
}, {
|
|
2375
2375
|
name: string;
|
|
2376
|
-
organizationType: "
|
|
2376
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2377
2377
|
accountId: string;
|
|
2378
2378
|
username: string | null;
|
|
2379
2379
|
}>;
|
|
2380
2380
|
}, "strict", z.ZodTypeAny, {
|
|
2381
|
-
requestedAccountId: string;
|
|
2382
2381
|
organization: {
|
|
2383
2382
|
name: string;
|
|
2384
|
-
organizationType: "
|
|
2383
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2385
2384
|
accountId: string;
|
|
2386
2385
|
username: string | null;
|
|
2387
2386
|
};
|
|
2388
|
-
}, {
|
|
2389
2387
|
requestedAccountId: string;
|
|
2388
|
+
}, {
|
|
2390
2389
|
organization: {
|
|
2391
2390
|
name: string;
|
|
2392
|
-
organizationType: "
|
|
2391
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2393
2392
|
accountId: string;
|
|
2394
2393
|
username: string | null;
|
|
2395
2394
|
};
|
|
2395
|
+
requestedAccountId: string;
|
|
2396
2396
|
}>, "many">;
|
|
2397
2397
|
missingIds: z.ZodArray<z.ZodString, "many">;
|
|
2398
2398
|
}, "strict", z.ZodTypeAny, {
|
|
2399
2399
|
items: {
|
|
2400
|
-
requestedAccountId: string;
|
|
2401
2400
|
organization: {
|
|
2402
2401
|
name: string;
|
|
2403
|
-
organizationType: "
|
|
2402
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2404
2403
|
accountId: string;
|
|
2405
2404
|
username: string | null;
|
|
2406
2405
|
};
|
|
2406
|
+
requestedAccountId: string;
|
|
2407
2407
|
}[];
|
|
2408
2408
|
missingIds: string[];
|
|
2409
2409
|
}, {
|
|
2410
2410
|
items: {
|
|
2411
|
-
requestedAccountId: string;
|
|
2412
2411
|
organization: {
|
|
2413
2412
|
name: string;
|
|
2414
|
-
organizationType: "
|
|
2413
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2415
2414
|
accountId: string;
|
|
2416
2415
|
username: string | null;
|
|
2417
2416
|
};
|
|
2417
|
+
requestedAccountId: string;
|
|
2418
2418
|
}[];
|
|
2419
2419
|
missingIds: string[];
|
|
2420
2420
|
}>;
|
package/dist/types/stickers.d.ts
CHANGED
|
@@ -245,9 +245,9 @@ export declare const stickerPackSummarySchema: z.ZodObject<{
|
|
|
245
245
|
}>>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
247
|
status: "draft" | "published" | "archived";
|
|
248
|
+
title: string;
|
|
248
249
|
id: string;
|
|
249
250
|
description: string | null;
|
|
250
|
-
title: string;
|
|
251
251
|
author: string | null;
|
|
252
252
|
slug: string;
|
|
253
253
|
publishedAt: string | null;
|
|
@@ -274,9 +274,9 @@ export declare const stickerPackSummarySchema: z.ZodObject<{
|
|
|
274
274
|
} | null;
|
|
275
275
|
}, {
|
|
276
276
|
status: "draft" | "published" | "archived";
|
|
277
|
+
title: string;
|
|
277
278
|
id: string;
|
|
278
279
|
description: string | null;
|
|
279
|
-
title: string;
|
|
280
280
|
author: string | null;
|
|
281
281
|
slug: string;
|
|
282
282
|
publishedAt: string | null;
|
|
@@ -476,9 +476,9 @@ export declare const stickerPackSchema: z.ZodObject<{
|
|
|
476
476
|
}>, "many">;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
478
|
status: "draft" | "published" | "archived";
|
|
479
|
+
title: string;
|
|
479
480
|
id: string;
|
|
480
481
|
description: string | null;
|
|
481
|
-
title: string;
|
|
482
482
|
author: string | null;
|
|
483
483
|
slug: string;
|
|
484
484
|
publishedAt: string | null;
|
|
@@ -525,9 +525,9 @@ export declare const stickerPackSchema: z.ZodObject<{
|
|
|
525
525
|
}[];
|
|
526
526
|
}, {
|
|
527
527
|
status: "draft" | "published" | "archived";
|
|
528
|
+
title: string;
|
|
528
529
|
id: string;
|
|
529
530
|
description: string | null;
|
|
530
|
-
title: string;
|
|
531
531
|
author: string | null;
|
|
532
532
|
slug: string;
|
|
533
533
|
publishedAt: string | null;
|
|
@@ -750,9 +750,9 @@ export declare const installedStickerPackSchema: z.ZodObject<{
|
|
|
750
750
|
installedAt: z.ZodString;
|
|
751
751
|
}, "strip", z.ZodTypeAny, {
|
|
752
752
|
status: "draft" | "published" | "archived";
|
|
753
|
+
title: string;
|
|
753
754
|
id: string;
|
|
754
755
|
description: string | null;
|
|
755
|
-
title: string;
|
|
756
756
|
author: string | null;
|
|
757
757
|
slug: string;
|
|
758
758
|
publishedAt: string | null;
|
|
@@ -800,9 +800,9 @@ export declare const installedStickerPackSchema: z.ZodObject<{
|
|
|
800
800
|
installedAt: string;
|
|
801
801
|
}, {
|
|
802
802
|
status: "draft" | "published" | "archived";
|
|
803
|
+
title: string;
|
|
803
804
|
id: string;
|
|
804
805
|
description: string | null;
|
|
805
|
-
title: string;
|
|
806
806
|
author: string | null;
|
|
807
807
|
slug: string;
|
|
808
808
|
publishedAt: string | null;
|
|
@@ -1034,16 +1034,16 @@ export declare const createStickerPackRequestSchema: z.ZodObject<{
|
|
|
1034
1034
|
export type CreateStickerPackRequest = z.infer<typeof createStickerPackRequestSchema>;
|
|
1035
1035
|
/** PATCH /stickers/admin/packs/:packId */
|
|
1036
1036
|
export declare const updateStickerPackRequestSchema: z.ZodObject<{
|
|
1037
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1038
1037
|
title: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1039
1039
|
author: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
|
-
description?: string | null | undefined;
|
|
1042
1041
|
title?: string | undefined;
|
|
1042
|
+
description?: string | null | undefined;
|
|
1043
1043
|
author?: string | null | undefined;
|
|
1044
1044
|
}, {
|
|
1045
|
-
description?: string | null | undefined;
|
|
1046
1045
|
title?: string | undefined;
|
|
1046
|
+
description?: string | null | undefined;
|
|
1047
1047
|
author?: string | null | undefined;
|
|
1048
1048
|
}>;
|
|
1049
1049
|
export type UpdateStickerPackRequest = z.infer<typeof updateStickerPackRequestSchema>;
|