@steamsets/client-ts 0.13.1 → 0.13.3
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/README.md +15 -15
- package/funcs/accountDeleteImages.d.ts.map +1 -1
- package/funcs/accountDeleteImages.js +1 -0
- package/funcs/accountDeleteImages.js.map +1 -1
- package/funcs/accountGetApps.d.ts.map +1 -1
- package/funcs/accountGetApps.js +1 -0
- package/funcs/accountGetApps.js.map +1 -1
- package/funcs/accountGetBadges.d.ts.map +1 -1
- package/funcs/accountGetBadges.js +1 -0
- package/funcs/accountGetBadges.js.map +1 -1
- package/funcs/accountGetDataPoints.d.ts.map +1 -1
- package/funcs/accountGetDataPoints.js +1 -0
- package/funcs/accountGetDataPoints.js.map +1 -1
- package/funcs/accountGetFriends.d.ts.map +1 -1
- package/funcs/accountGetFriends.js +1 -0
- package/funcs/accountGetFriends.js.map +1 -1
- package/funcs/accountGetInfo.d.ts.map +1 -1
- package/funcs/accountGetInfo.js +1 -0
- package/funcs/accountGetInfo.js.map +1 -1
- package/funcs/accountGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/accountGetLeaderboardHistory.js +1 -0
- package/funcs/accountGetLeaderboardHistory.js.map +1 -1
- package/funcs/accountGetStaff.d.ts.map +1 -1
- package/funcs/accountGetStaff.js +1 -0
- package/funcs/accountGetStaff.js.map +1 -1
- package/funcs/accountSendEmailVerification.d.ts.map +1 -1
- package/funcs/accountSendEmailVerification.js +1 -0
- package/funcs/accountSendEmailVerification.js.map +1 -1
- package/funcs/accountUpdateImage.d.ts.map +1 -1
- package/funcs/accountUpdateImage.js +1 -0
- package/funcs/accountUpdateImage.js.map +1 -1
- package/funcs/accountUploadImages.d.ts.map +1 -1
- package/funcs/accountUploadImages.js +3 -2
- package/funcs/accountUploadImages.js.map +1 -1
- package/funcs/accountVerifyEmail.d.ts.map +1 -1
- package/funcs/accountVerifyEmail.js +1 -0
- package/funcs/accountVerifyEmail.js.map +1 -1
- package/funcs/accountsQueue.d.ts.map +1 -1
- package/funcs/accountsQueue.js +1 -0
- package/funcs/accountsQueue.js.map +1 -1
- package/funcs/adminAdminV1UpdateResources.d.ts.map +1 -1
- package/funcs/adminAdminV1UpdateResources.js +1 -0
- package/funcs/adminAdminV1UpdateResources.js.map +1 -1
- package/funcs/adminAdminV1UpdateRoles.d.ts.map +1 -1
- package/funcs/adminAdminV1UpdateRoles.js +1 -0
- package/funcs/adminAdminV1UpdateRoles.js.map +1 -1
- package/funcs/adminGetAccount.d.ts.map +1 -1
- package/funcs/adminGetAccount.js +1 -0
- package/funcs/adminGetAccount.js.map +1 -1
- package/funcs/badgeGetTags.d.ts.map +1 -1
- package/funcs/badgeGetTags.js +1 -0
- package/funcs/badgeGetTags.js.map +1 -1
- package/funcs/badgesTag.d.ts.map +1 -1
- package/funcs/badgesTag.js +1 -0
- package/funcs/badgesTag.js.map +1 -1
- package/funcs/connectionDelete.d.ts.map +1 -1
- package/funcs/connectionDelete.js +1 -0
- package/funcs/connectionDelete.js.map +1 -1
- package/funcs/connectionUpdate.d.ts.map +1 -1
- package/funcs/connectionUpdate.js +1 -0
- package/funcs/connectionUpdate.js.map +1 -1
- package/funcs/connectionVerify.d.ts.map +1 -1
- package/funcs/connectionVerify.js +1 -0
- package/funcs/connectionVerify.js.map +1 -1
- package/funcs/connectionsConnect.d.ts.map +1 -1
- package/funcs/connectionsConnect.js +1 -0
- package/funcs/connectionsConnect.js.map +1 -1
- package/funcs/dataGetApps.d.ts.map +1 -1
- package/funcs/dataGetApps.js +1 -0
- package/funcs/dataGetApps.js.map +1 -1
- package/funcs/dataGetBadges.d.ts.map +1 -1
- package/funcs/dataGetBadges.js +1 -0
- package/funcs/dataGetBadges.js.map +1 -1
- package/funcs/dataGetDataPoints.d.ts.map +1 -1
- package/funcs/dataGetDataPoints.js +1 -0
- package/funcs/dataGetDataPoints.js.map +1 -1
- package/funcs/dataGetFriends.d.ts.map +1 -1
- package/funcs/dataGetFriends.js +1 -0
- package/funcs/dataGetFriends.js.map +1 -1
- package/funcs/dataGetInfo.d.ts.map +1 -1
- package/funcs/dataGetInfo.js +1 -0
- package/funcs/dataGetInfo.js.map +1 -1
- package/funcs/dataGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/dataGetLeaderboardHistory.js +1 -0
- package/funcs/dataGetLeaderboardHistory.js.map +1 -1
- package/funcs/dataGetStaff.d.ts.map +1 -1
- package/funcs/dataGetStaff.js +1 -0
- package/funcs/dataGetStaff.js.map +1 -1
- package/funcs/developerCreateDeveloperApp.d.ts.map +1 -1
- package/funcs/developerCreateDeveloperApp.js +1 -0
- package/funcs/developerCreateDeveloperApp.js.map +1 -1
- package/funcs/developerDeleteDeveloperApp.d.ts.map +1 -1
- package/funcs/developerDeleteDeveloperApp.js +1 -0
- package/funcs/developerDeleteDeveloperApp.js.map +1 -1
- package/funcs/developerUpdateApp.d.ts.map +1 -1
- package/funcs/developerUpdateApp.js +1 -0
- package/funcs/developerUpdateApp.js.map +1 -1
- package/funcs/leaderboardGetAccount.d.ts.map +1 -1
- package/funcs/leaderboardGetAccount.js +1 -0
- package/funcs/leaderboardGetAccount.js.map +1 -1
- package/funcs/leaderboardGetBadges.d.ts.map +1 -1
- package/funcs/leaderboardGetBadges.js +1 -0
- package/funcs/leaderboardGetBadges.js.map +1 -1
- package/funcs/leaderboardGetGroup.d.ts.map +1 -1
- package/funcs/leaderboardGetGroup.js +1 -0
- package/funcs/leaderboardGetGroup.js.map +1 -1
- package/funcs/livenessCheck.d.ts.map +1 -1
- package/funcs/livenessCheck.js +1 -0
- package/funcs/livenessCheck.js.map +1 -1
- package/funcs/locationsGet.d.ts.map +1 -1
- package/funcs/locationsGet.js +1 -0
- package/funcs/locationsGet.js.map +1 -1
- package/funcs/metaAccountV1GetEmbed.d.ts.map +1 -1
- package/funcs/metaAccountV1GetEmbed.js +1 -0
- package/funcs/metaAccountV1GetEmbed.js.map +1 -1
- package/funcs/metaAccountV1GetMeta.d.ts.map +1 -1
- package/funcs/metaAccountV1GetMeta.js +1 -0
- package/funcs/metaAccountV1GetMeta.js.map +1 -1
- package/funcs/publicGetApps.d.ts.map +1 -1
- package/funcs/publicGetApps.js +1 -0
- package/funcs/publicGetApps.js.map +1 -1
- package/funcs/publicGetBadges.d.ts.map +1 -1
- package/funcs/publicGetBadges.js +1 -0
- package/funcs/publicGetBadges.js.map +1 -1
- package/funcs/publicGetDataPoints.d.ts.map +1 -1
- package/funcs/publicGetDataPoints.js +1 -0
- package/funcs/publicGetDataPoints.js.map +1 -1
- package/funcs/publicGetFriends.d.ts.map +1 -1
- package/funcs/publicGetFriends.js +1 -0
- package/funcs/publicGetFriends.js.map +1 -1
- package/funcs/publicGetInfo.d.ts.map +1 -1
- package/funcs/publicGetInfo.js +1 -0
- package/funcs/publicGetInfo.js.map +1 -1
- package/funcs/publicGetLeaderboardHistory.d.ts.map +1 -1
- package/funcs/publicGetLeaderboardHistory.js +1 -0
- package/funcs/publicGetLeaderboardHistory.js.map +1 -1
- package/funcs/sessionCreate.d.ts.map +1 -1
- package/funcs/sessionCreate.js +1 -0
- package/funcs/sessionCreate.js.map +1 -1
- package/funcs/sessionLogin.d.ts.map +1 -1
- package/funcs/sessionLogin.js +1 -0
- package/funcs/sessionLogin.js.map +1 -1
- package/funcs/sessionsDelete.d.ts.map +1 -1
- package/funcs/sessionsDelete.js +1 -0
- package/funcs/sessionsDelete.js.map +1 -1
- package/funcs/sessionsGet.d.ts.map +1 -1
- package/funcs/sessionsGet.js +1 -0
- package/funcs/sessionsGet.js.map +1 -1
- package/funcs/settingsDeleteImages.d.ts.map +1 -1
- package/funcs/settingsDeleteImages.js +1 -0
- package/funcs/settingsDeleteImages.js.map +1 -1
- package/funcs/settingsGet.d.ts.map +1 -1
- package/funcs/settingsGet.js +1 -0
- package/funcs/settingsGet.js.map +1 -1
- package/funcs/settingsSendEmailVerification.d.ts.map +1 -1
- package/funcs/settingsSendEmailVerification.js +1 -0
- package/funcs/settingsSendEmailVerification.js.map +1 -1
- package/funcs/settingsUpdate.d.ts.map +1 -1
- package/funcs/settingsUpdate.js +1 -0
- package/funcs/settingsUpdate.js.map +1 -1
- package/funcs/settingsUpdateImage.d.ts.map +1 -1
- package/funcs/settingsUpdateImage.js +1 -0
- package/funcs/settingsUpdateImage.js.map +1 -1
- package/funcs/settingsUploadImages.d.ts.map +1 -1
- package/funcs/settingsUploadImages.js +3 -2
- package/funcs/settingsUploadImages.js.map +1 -1
- package/funcs/settingsVerifyEmail.d.ts.map +1 -1
- package/funcs/settingsVerifyEmail.js +1 -0
- package/funcs/settingsVerifyEmail.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/primitives.d.ts +4 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +12 -0
- package/lib/primitives.js.map +1 -1
- package/lib/security.d.ts +20 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +11 -1
- package/lib/security.js.map +1 -1
- package/models/components/accountinfobody.d.ts +5 -25
- package/models/components/accountinfobody.d.ts.map +1 -1
- package/models/components/accountinfobody.js +2 -10
- package/models/components/accountinfobody.js.map +1 -1
- package/models/components/accountleaderboardhistory.d.ts +0 -3
- package/models/components/accountleaderboardhistory.d.ts.map +1 -1
- package/models/components/accountleaderboardhistory.js +0 -1
- package/models/components/accountleaderboardhistory.js.map +1 -1
- package/models/components/bestleaderboardrank.d.ts +0 -3
- package/models/components/bestleaderboardrank.d.ts.map +1 -1
- package/models/components/bestleaderboardrank.js +0 -1
- package/models/components/bestleaderboardrank.js.map +1 -1
- package/models/components/image.d.ts +42 -1
- package/models/components/image.d.ts.map +1 -1
- package/models/components/image.js +29 -3
- package/models/components/image.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +5 -5
- package/models/components/leaderboardaccount.d.ts.map +1 -1
- package/models/components/leaderboardaccount.js +2 -2
- package/models/components/leaderboardaccount.js.map +1 -1
- package/models/components/v1accountfriend.d.ts +5 -5
- package/models/components/v1accountfriend.d.ts.map +1 -1
- package/models/components/v1accountfriend.js +2 -2
- package/models/components/v1accountfriend.js.map +1 -1
- package/models/components/v1accountleaderboardaccount.d.ts +5 -5
- package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
- package/models/components/v1accountleaderboardaccount.js +2 -2
- package/models/components/v1accountleaderboardaccount.js.map +1 -1
- package/models/components/v1accountleaderboardrequestbody.d.ts +0 -3
- package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardrequestbody.js +0 -1
- package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.d.ts +5 -0
- package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.js +2 -0
- package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
- package/models/components/v1uploadimagesresponsebody.d.ts +34 -0
- package/models/components/v1uploadimagesresponsebody.d.ts.map +1 -0
- package/models/components/v1uploadimagesresponsebody.js +62 -0
- package/models/components/v1uploadimagesresponsebody.js.map +1 -0
- package/models/operations/accountv1settingsuploadimages.d.ts +5 -0
- package/models/operations/accountv1settingsuploadimages.d.ts.map +1 -1
- package/models/operations/accountv1settingsuploadimages.js +6 -0
- package/models/operations/accountv1settingsuploadimages.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountDeleteImages.ts +3 -0
- package/src/funcs/accountGetApps.ts +3 -0
- package/src/funcs/accountGetBadges.ts +3 -0
- package/src/funcs/accountGetDataPoints.ts +3 -0
- package/src/funcs/accountGetFriends.ts +3 -0
- package/src/funcs/accountGetInfo.ts +3 -0
- package/src/funcs/accountGetLeaderboardHistory.ts +3 -0
- package/src/funcs/accountGetStaff.ts +3 -0
- package/src/funcs/accountSendEmailVerification.ts +3 -0
- package/src/funcs/accountUpdateImage.ts +3 -0
- package/src/funcs/accountUploadImages.ts +9 -2
- package/src/funcs/accountVerifyEmail.ts +3 -0
- package/src/funcs/accountsQueue.ts +3 -0
- package/src/funcs/adminAdminV1UpdateResources.ts +3 -0
- package/src/funcs/adminAdminV1UpdateRoles.ts +3 -0
- package/src/funcs/adminGetAccount.ts +3 -0
- package/src/funcs/badgeGetTags.ts +3 -0
- package/src/funcs/badgesTag.ts +3 -0
- package/src/funcs/connectionDelete.ts +3 -0
- package/src/funcs/connectionUpdate.ts +3 -0
- package/src/funcs/connectionVerify.ts +3 -0
- package/src/funcs/connectionsConnect.ts +3 -0
- package/src/funcs/dataGetApps.ts +3 -0
- package/src/funcs/dataGetBadges.ts +3 -0
- package/src/funcs/dataGetDataPoints.ts +3 -0
- package/src/funcs/dataGetFriends.ts +3 -0
- package/src/funcs/dataGetInfo.ts +3 -0
- package/src/funcs/dataGetLeaderboardHistory.ts +3 -0
- package/src/funcs/dataGetStaff.ts +3 -0
- package/src/funcs/developerCreateDeveloperApp.ts +3 -0
- package/src/funcs/developerDeleteDeveloperApp.ts +3 -0
- package/src/funcs/developerUpdateApp.ts +3 -0
- package/src/funcs/leaderboardGetAccount.ts +3 -0
- package/src/funcs/leaderboardGetBadges.ts +3 -0
- package/src/funcs/leaderboardGetGroup.ts +3 -0
- package/src/funcs/livenessCheck.ts +3 -0
- package/src/funcs/locationsGet.ts +3 -0
- package/src/funcs/metaAccountV1GetEmbed.ts +3 -0
- package/src/funcs/metaAccountV1GetMeta.ts +3 -0
- package/src/funcs/publicGetApps.ts +3 -0
- package/src/funcs/publicGetBadges.ts +3 -0
- package/src/funcs/publicGetDataPoints.ts +3 -0
- package/src/funcs/publicGetFriends.ts +3 -0
- package/src/funcs/publicGetInfo.ts +3 -0
- package/src/funcs/publicGetLeaderboardHistory.ts +3 -0
- package/src/funcs/sessionCreate.ts +3 -0
- package/src/funcs/sessionLogin.ts +3 -0
- package/src/funcs/sessionsDelete.ts +3 -0
- package/src/funcs/sessionsGet.ts +3 -0
- package/src/funcs/settingsDeleteImages.ts +3 -0
- package/src/funcs/settingsGet.ts +3 -0
- package/src/funcs/settingsSendEmailVerification.ts +3 -0
- package/src/funcs/settingsUpdate.ts +3 -0
- package/src/funcs/settingsUpdateImage.ts +3 -0
- package/src/funcs/settingsUploadImages.ts +9 -2
- package/src/funcs/settingsVerifyEmail.ts +3 -0
- package/src/hooks/types.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/primitives.ts +20 -0
- package/src/lib/security.ts +39 -3
- package/src/models/components/accountinfobody.ts +7 -43
- package/src/models/components/accountleaderboardhistory.ts +0 -1
- package/src/models/components/bestleaderboardrank.ts +0 -1
- package/src/models/components/image.ts +38 -3
- package/src/models/components/index.ts +1 -0
- package/src/models/components/leaderboardaccount.ts +7 -7
- package/src/models/components/v1accountfriend.ts +7 -7
- package/src/models/components/v1accountleaderboardaccount.ts +7 -7
- package/src/models/components/v1accountleaderboardrequestbody.ts +0 -1
- package/src/models/components/v1accountleaderboardresponsebody.ts +7 -0
- package/src/models/components/v1uploadimagesresponsebody.ts +70 -0
- package/src/models/operations/accountv1settingsuploadimages.ts +15 -0
|
@@ -118,10 +118,6 @@ export type AccountInfoBody = {
|
|
|
118
118
|
* The number of apps the account has
|
|
119
119
|
*/
|
|
120
120
|
apps: number;
|
|
121
|
-
/**
|
|
122
|
-
* The time the apps were updated
|
|
123
|
-
*/
|
|
124
|
-
appsUpdatedAt: Date | null;
|
|
125
121
|
/**
|
|
126
122
|
* The avatar hash of the account
|
|
127
123
|
*/
|
|
@@ -150,18 +146,10 @@ export type AccountInfoBody = {
|
|
|
150
146
|
* The number of badges the account has
|
|
151
147
|
*/
|
|
152
148
|
badges: number;
|
|
153
|
-
/**
|
|
154
|
-
* The time the badges were updated
|
|
155
|
-
*/
|
|
156
|
-
badgesUpdatedAt: Date | null;
|
|
157
149
|
/**
|
|
158
150
|
* The number of bans
|
|
159
151
|
*/
|
|
160
152
|
bans: number;
|
|
161
|
-
/**
|
|
162
|
-
* The time the bans were updated
|
|
163
|
-
*/
|
|
164
|
-
bansUpdatedAt: Date | null;
|
|
165
153
|
city?: LeaderboardCity | null | undefined;
|
|
166
154
|
/**
|
|
167
155
|
* If the account is community banned or not
|
|
@@ -184,6 +172,10 @@ export type AccountInfoBody = {
|
|
|
184
172
|
* The current ranks
|
|
185
173
|
*/
|
|
186
174
|
currentRanks: Array<BestLeaderboardRank> | null;
|
|
175
|
+
/**
|
|
176
|
+
* The total of donations the account has
|
|
177
|
+
*/
|
|
178
|
+
donated: number;
|
|
187
179
|
/**
|
|
188
180
|
* The economy ban of the account
|
|
189
181
|
*/
|
|
@@ -204,10 +196,6 @@ export type AccountInfoBody = {
|
|
|
204
196
|
* The number of friends the account has
|
|
205
197
|
*/
|
|
206
198
|
friends: number;
|
|
207
|
-
/**
|
|
208
|
-
* The time the friends were updated
|
|
209
|
-
*/
|
|
210
|
-
friendsUpdatedAt: Date | null;
|
|
211
199
|
/**
|
|
212
200
|
* The number of game bans
|
|
213
201
|
*/
|
|
@@ -224,10 +212,6 @@ export type AccountInfoBody = {
|
|
|
224
212
|
* The level of the account
|
|
225
213
|
*/
|
|
226
214
|
level: number;
|
|
227
|
-
/**
|
|
228
|
-
* The number of limited apps the account has
|
|
229
|
-
*/
|
|
230
|
-
limitedApps: number;
|
|
231
215
|
/**
|
|
232
216
|
* The mini background of the account
|
|
233
217
|
*/
|
|
@@ -375,9 +359,6 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
375
359
|
appCost: z.number().int(),
|
|
376
360
|
appPrivacy: AppPrivacy$inboundSchema,
|
|
377
361
|
apps: z.number().int(),
|
|
378
|
-
appsUpdatedAt: z.nullable(
|
|
379
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
380
|
-
),
|
|
381
362
|
avatar: z.string(),
|
|
382
363
|
avatarFrame: z.string(),
|
|
383
364
|
averagePlaytime: z.number().int(),
|
|
@@ -385,13 +366,7 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
385
366
|
awardsReceived: z.number().int(),
|
|
386
367
|
background: z.string(),
|
|
387
368
|
badges: z.number().int(),
|
|
388
|
-
badgesUpdatedAt: z.nullable(
|
|
389
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
390
|
-
),
|
|
391
369
|
bans: z.number().int(),
|
|
392
|
-
bansUpdatedAt: z.nullable(
|
|
393
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
394
|
-
),
|
|
395
370
|
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
396
371
|
communityBan: z.boolean(),
|
|
397
372
|
connections: z.nullable(z.array(Connection$inboundSchema)),
|
|
@@ -401,21 +376,18 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
|
|
|
401
376
|
),
|
|
402
377
|
currentBestRanks: z.nullable(z.array(BestLeaderboardRank$inboundSchema)),
|
|
403
378
|
currentRanks: z.nullable(z.array(BestLeaderboardRank$inboundSchema)),
|
|
379
|
+
donated: z.number().int(),
|
|
404
380
|
economyBan: z.string(),
|
|
405
381
|
foilBadgeCost: z.number().int(),
|
|
406
382
|
foilBadges: z.number().int(),
|
|
407
383
|
friendPrivacy: FriendPrivacy$inboundSchema,
|
|
408
384
|
friends: z.number().int(),
|
|
409
|
-
friendsUpdatedAt: z.nullable(
|
|
410
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
411
|
-
),
|
|
412
385
|
gameBans: z.number().int(),
|
|
413
386
|
images: z.nullable(z.array(Image$inboundSchema)),
|
|
414
387
|
lastBanDate: z.nullable(
|
|
415
388
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
416
389
|
),
|
|
417
390
|
level: z.number().int(),
|
|
418
|
-
limitedApps: z.number().int(),
|
|
419
391
|
miniBackground: z.string(),
|
|
420
392
|
name: z.string(),
|
|
421
393
|
normalBadgeCost: z.number().int(),
|
|
@@ -452,7 +424,6 @@ export type AccountInfoBody$Outbound = {
|
|
|
452
424
|
appCost: number;
|
|
453
425
|
appPrivacy: string;
|
|
454
426
|
apps: number;
|
|
455
|
-
appsUpdatedAt: string | null;
|
|
456
427
|
avatar: string;
|
|
457
428
|
avatarFrame: string;
|
|
458
429
|
averagePlaytime: number;
|
|
@@ -460,9 +431,7 @@ export type AccountInfoBody$Outbound = {
|
|
|
460
431
|
awardsReceived: number;
|
|
461
432
|
background: string;
|
|
462
433
|
badges: number;
|
|
463
|
-
badgesUpdatedAt: string | null;
|
|
464
434
|
bans: number;
|
|
465
|
-
bansUpdatedAt: string | null;
|
|
466
435
|
city?: LeaderboardCity$Outbound | null | undefined;
|
|
467
436
|
communityBan: boolean;
|
|
468
437
|
connections: Array<Connection$Outbound> | null;
|
|
@@ -470,17 +439,16 @@ export type AccountInfoBody$Outbound = {
|
|
|
470
439
|
createdAt: string | null;
|
|
471
440
|
currentBestRanks: Array<BestLeaderboardRank$Outbound> | null;
|
|
472
441
|
currentRanks: Array<BestLeaderboardRank$Outbound> | null;
|
|
442
|
+
donated: number;
|
|
473
443
|
economyBan: string;
|
|
474
444
|
foilBadgeCost: number;
|
|
475
445
|
foilBadges: number;
|
|
476
446
|
friendPrivacy: string;
|
|
477
447
|
friends: number;
|
|
478
|
-
friendsUpdatedAt: string | null;
|
|
479
448
|
gameBans: number;
|
|
480
449
|
images: Array<Image$Outbound> | null;
|
|
481
450
|
lastBanDate: string | null;
|
|
482
451
|
level: number;
|
|
483
|
-
limitedApps: number;
|
|
484
452
|
miniBackground: string;
|
|
485
453
|
name: string;
|
|
486
454
|
normalBadgeCost: number;
|
|
@@ -515,7 +483,6 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
515
483
|
appCost: z.number().int(),
|
|
516
484
|
appPrivacy: AppPrivacy$outboundSchema,
|
|
517
485
|
apps: z.number().int(),
|
|
518
|
-
appsUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
519
486
|
avatar: z.string(),
|
|
520
487
|
avatarFrame: z.string(),
|
|
521
488
|
averagePlaytime: z.number().int(),
|
|
@@ -523,9 +490,7 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
523
490
|
awardsReceived: z.number().int(),
|
|
524
491
|
background: z.string(),
|
|
525
492
|
badges: z.number().int(),
|
|
526
|
-
badgesUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
527
493
|
bans: z.number().int(),
|
|
528
|
-
bansUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
529
494
|
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
530
495
|
communityBan: z.boolean(),
|
|
531
496
|
connections: z.nullable(z.array(Connection$outboundSchema)),
|
|
@@ -533,17 +498,16 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
|
|
|
533
498
|
createdAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
534
499
|
currentBestRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
|
|
535
500
|
currentRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
|
|
501
|
+
donated: z.number().int(),
|
|
536
502
|
economyBan: z.string(),
|
|
537
503
|
foilBadgeCost: z.number().int(),
|
|
538
504
|
foilBadges: z.number().int(),
|
|
539
505
|
friendPrivacy: FriendPrivacy$outboundSchema,
|
|
540
506
|
friends: z.number().int(),
|
|
541
|
-
friendsUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
542
507
|
gameBans: z.number().int(),
|
|
543
508
|
images: z.nullable(z.array(Image$outboundSchema)),
|
|
544
509
|
lastBanDate: z.nullable(z.date().transform(v => v.toISOString())),
|
|
545
510
|
level: z.number().int(),
|
|
546
|
-
limitedApps: z.number().int(),
|
|
547
511
|
miniBackground: z.string(),
|
|
548
512
|
name: z.string(),
|
|
549
513
|
normalBadgeCost: z.number().int(),
|
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The type of the image
|
|
10
|
+
*/
|
|
11
|
+
export const ImageType = {
|
|
12
|
+
Avatar: "avatar",
|
|
13
|
+
Background: "background",
|
|
14
|
+
AvatarFrame: "avatar_frame",
|
|
15
|
+
AniamtedAvatar: "aniamted_avatar",
|
|
16
|
+
MiniBackground: "mini_background",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* The type of the image
|
|
20
|
+
*/
|
|
21
|
+
export type ImageType = ClosedEnum<typeof ImageType>;
|
|
6
22
|
|
|
7
23
|
export type Image = {
|
|
8
24
|
/**
|
|
@@ -20,16 +36,35 @@ export type Image = {
|
|
|
20
36
|
/**
|
|
21
37
|
* The type of the image
|
|
22
38
|
*/
|
|
23
|
-
imageType:
|
|
39
|
+
imageType: ImageType;
|
|
24
40
|
};
|
|
25
41
|
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const ImageType$inboundSchema: z.ZodNativeEnum<typeof ImageType> = z
|
|
44
|
+
.nativeEnum(ImageType);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ImageType$outboundSchema: z.ZodNativeEnum<typeof ImageType> =
|
|
48
|
+
ImageType$inboundSchema;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
export namespace ImageType$ {
|
|
55
|
+
/** @deprecated use `ImageType$inboundSchema` instead. */
|
|
56
|
+
export const inboundSchema = ImageType$inboundSchema;
|
|
57
|
+
/** @deprecated use `ImageType$outboundSchema` instead. */
|
|
58
|
+
export const outboundSchema = ImageType$outboundSchema;
|
|
59
|
+
}
|
|
60
|
+
|
|
26
61
|
/** @internal */
|
|
27
62
|
export const Image$inboundSchema: z.ZodType<Image, z.ZodTypeDef, unknown> = z
|
|
28
63
|
.object({
|
|
29
64
|
active: z.boolean(),
|
|
30
65
|
fileName: z.string(),
|
|
31
66
|
imageId: z.string(),
|
|
32
|
-
imageType:
|
|
67
|
+
imageType: ImageType$inboundSchema,
|
|
33
68
|
});
|
|
34
69
|
|
|
35
70
|
/** @internal */
|
|
@@ -49,7 +84,7 @@ export const Image$outboundSchema: z.ZodType<
|
|
|
49
84
|
active: z.boolean(),
|
|
50
85
|
fileName: z.string(),
|
|
51
86
|
imageId: z.string(),
|
|
52
|
-
imageType:
|
|
87
|
+
imageType: ImageType$outboundSchema,
|
|
53
88
|
});
|
|
54
89
|
|
|
55
90
|
/**
|
|
@@ -95,6 +95,7 @@ export * from "./v1updatesettingsrequestbody.js";
|
|
|
95
95
|
export * from "./v1updatesettingsresponsebody.js";
|
|
96
96
|
export * from "./v1uploadedimage.js";
|
|
97
97
|
export * from "./v1uploadimagesrequestbody.js";
|
|
98
|
+
export * from "./v1uploadimagesresponsebody.js";
|
|
98
99
|
export * from "./v1vanityanalytics.js";
|
|
99
100
|
export * from "./v1verifyconnectionrequestbody.js";
|
|
100
101
|
export * from "./v1verifyconnectionresponsebody.js";
|
|
@@ -73,6 +73,10 @@ export type LeaderboardAccount = {
|
|
|
73
73
|
* The time the account was created
|
|
74
74
|
*/
|
|
75
75
|
createdAt: Date;
|
|
76
|
+
/**
|
|
77
|
+
* The total of donations the account has
|
|
78
|
+
*/
|
|
79
|
+
donated: number;
|
|
76
80
|
/**
|
|
77
81
|
* The economy ban of the account
|
|
78
82
|
*/
|
|
@@ -97,10 +101,6 @@ export type LeaderboardAccount = {
|
|
|
97
101
|
* The level of the account
|
|
98
102
|
*/
|
|
99
103
|
level: number;
|
|
100
|
-
/**
|
|
101
|
-
* The number of limited apps the account has
|
|
102
|
-
*/
|
|
103
|
-
limitedApps: number;
|
|
104
104
|
/**
|
|
105
105
|
* The name of the account
|
|
106
106
|
*/
|
|
@@ -178,13 +178,13 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
|
|
|
178
178
|
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
179
179
|
country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
|
|
180
180
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
181
|
+
donated: z.number().int(),
|
|
181
182
|
economyBan: z.string(),
|
|
182
183
|
foilBadgeCost: z.number().int(),
|
|
183
184
|
foilBadges: z.number().int(),
|
|
184
185
|
friends: z.number().int(),
|
|
185
186
|
gameBans: z.number().int(),
|
|
186
187
|
level: z.number().int(),
|
|
187
|
-
limitedApps: z.number().int(),
|
|
188
188
|
name: z.string(),
|
|
189
189
|
normalBadgeCost: z.number().int(),
|
|
190
190
|
normalBadges: z.number().int(),
|
|
@@ -216,13 +216,13 @@ export type LeaderboardAccount$Outbound = {
|
|
|
216
216
|
city?: LeaderboardCity$Outbound | null | undefined;
|
|
217
217
|
country?: LeaderboardCountry$Outbound | null | undefined;
|
|
218
218
|
createdAt: string;
|
|
219
|
+
donated: number;
|
|
219
220
|
economyBan: string;
|
|
220
221
|
foilBadgeCost: number;
|
|
221
222
|
foilBadges: number;
|
|
222
223
|
friends: number;
|
|
223
224
|
gameBans: number;
|
|
224
225
|
level: number;
|
|
225
|
-
limitedApps: number;
|
|
226
226
|
name: string;
|
|
227
227
|
normalBadgeCost: number;
|
|
228
228
|
normalBadges: number;
|
|
@@ -258,13 +258,13 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
|
|
|
258
258
|
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
259
259
|
country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
|
|
260
260
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
261
|
+
donated: z.number().int(),
|
|
261
262
|
economyBan: z.string(),
|
|
262
263
|
foilBadgeCost: z.number().int(),
|
|
263
264
|
foilBadges: z.number().int(),
|
|
264
265
|
friends: z.number().int(),
|
|
265
266
|
gameBans: z.number().int(),
|
|
266
267
|
level: z.number().int(),
|
|
267
|
-
limitedApps: z.number().int(),
|
|
268
268
|
name: z.string(),
|
|
269
269
|
normalBadgeCost: z.number().int(),
|
|
270
270
|
normalBadges: z.number().int(),
|
|
@@ -73,6 +73,10 @@ export type V1AccountFriend = {
|
|
|
73
73
|
* The time the account was created
|
|
74
74
|
*/
|
|
75
75
|
createdAt: Date;
|
|
76
|
+
/**
|
|
77
|
+
* The total of donations the account has
|
|
78
|
+
*/
|
|
79
|
+
donated: number;
|
|
76
80
|
/**
|
|
77
81
|
* The economy ban of the account
|
|
78
82
|
*/
|
|
@@ -98,10 +102,6 @@ export type V1AccountFriend = {
|
|
|
98
102
|
* The level of the account
|
|
99
103
|
*/
|
|
100
104
|
level: number;
|
|
101
|
-
/**
|
|
102
|
-
* The number of limited apps the account has
|
|
103
|
-
*/
|
|
104
|
-
limitedApps: number;
|
|
105
105
|
/**
|
|
106
106
|
* The name of the account
|
|
107
107
|
*/
|
|
@@ -179,6 +179,7 @@ export const V1AccountFriend$inboundSchema: z.ZodType<
|
|
|
179
179
|
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
180
180
|
country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
|
|
181
181
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
182
|
+
donated: z.number().int(),
|
|
182
183
|
economyBan: z.string(),
|
|
183
184
|
foilBadgeCost: z.number().int(),
|
|
184
185
|
foilBadges: z.number().int(),
|
|
@@ -188,7 +189,6 @@ export const V1AccountFriend$inboundSchema: z.ZodType<
|
|
|
188
189
|
),
|
|
189
190
|
gameBans: z.number().int(),
|
|
190
191
|
level: z.number().int(),
|
|
191
|
-
limitedApps: z.number().int(),
|
|
192
192
|
name: z.string(),
|
|
193
193
|
normalBadgeCost: z.number().int(),
|
|
194
194
|
normalBadges: z.number().int(),
|
|
@@ -220,6 +220,7 @@ export type V1AccountFriend$Outbound = {
|
|
|
220
220
|
city?: LeaderboardCity$Outbound | null | undefined;
|
|
221
221
|
country?: LeaderboardCountry$Outbound | null | undefined;
|
|
222
222
|
createdAt: string;
|
|
223
|
+
donated: number;
|
|
223
224
|
economyBan: string;
|
|
224
225
|
foilBadgeCost: number;
|
|
225
226
|
foilBadges: number;
|
|
@@ -227,7 +228,6 @@ export type V1AccountFriend$Outbound = {
|
|
|
227
228
|
friendsSince: string | null;
|
|
228
229
|
gameBans: number;
|
|
229
230
|
level: number;
|
|
230
|
-
limitedApps: number;
|
|
231
231
|
name: string;
|
|
232
232
|
normalBadgeCost: number;
|
|
233
233
|
normalBadges: number;
|
|
@@ -263,6 +263,7 @@ export const V1AccountFriend$outboundSchema: z.ZodType<
|
|
|
263
263
|
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
264
264
|
country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
|
|
265
265
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
266
|
+
donated: z.number().int(),
|
|
266
267
|
economyBan: z.string(),
|
|
267
268
|
foilBadgeCost: z.number().int(),
|
|
268
269
|
foilBadges: z.number().int(),
|
|
@@ -270,7 +271,6 @@ export const V1AccountFriend$outboundSchema: z.ZodType<
|
|
|
270
271
|
friendsSince: z.nullable(z.date().transform(v => v.toISOString())),
|
|
271
272
|
gameBans: z.number().int(),
|
|
272
273
|
level: z.number().int(),
|
|
273
|
-
limitedApps: z.number().int(),
|
|
274
274
|
name: z.string(),
|
|
275
275
|
normalBadgeCost: z.number().int(),
|
|
276
276
|
normalBadges: z.number().int(),
|
|
@@ -84,6 +84,10 @@ export type V1AccountLeaderboardAccount = {
|
|
|
84
84
|
* The time the account was created
|
|
85
85
|
*/
|
|
86
86
|
createdAt: Date;
|
|
87
|
+
/**
|
|
88
|
+
* The total of donations the account has
|
|
89
|
+
*/
|
|
90
|
+
donated: number;
|
|
87
91
|
/**
|
|
88
92
|
* The economy ban of the account
|
|
89
93
|
*/
|
|
@@ -108,10 +112,6 @@ export type V1AccountLeaderboardAccount = {
|
|
|
108
112
|
* The level of the account
|
|
109
113
|
*/
|
|
110
114
|
level: number;
|
|
111
|
-
/**
|
|
112
|
-
* The number of limited apps the account has
|
|
113
|
-
*/
|
|
114
|
-
limitedApps: number;
|
|
115
115
|
/**
|
|
116
116
|
* The name of the account
|
|
117
117
|
*/
|
|
@@ -195,13 +195,13 @@ export const V1AccountLeaderboardAccount$inboundSchema: z.ZodType<
|
|
|
195
195
|
city: z.nullable(LeaderboardCity$inboundSchema).optional(),
|
|
196
196
|
country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
|
|
197
197
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
198
|
+
donated: z.number().int(),
|
|
198
199
|
economyBan: z.string(),
|
|
199
200
|
foilBadgeCost: z.number().int(),
|
|
200
201
|
foilBadges: z.number().int(),
|
|
201
202
|
friends: z.number().int(),
|
|
202
203
|
gameBans: z.number().int(),
|
|
203
204
|
level: z.number().int(),
|
|
204
|
-
limitedApps: z.number().int(),
|
|
205
205
|
name: z.string(),
|
|
206
206
|
normalBadgeCost: z.number().int(),
|
|
207
207
|
normalBadges: z.number().int(),
|
|
@@ -236,13 +236,13 @@ export type V1AccountLeaderboardAccount$Outbound = {
|
|
|
236
236
|
city?: LeaderboardCity$Outbound | null | undefined;
|
|
237
237
|
country?: LeaderboardCountry$Outbound | null | undefined;
|
|
238
238
|
createdAt: string;
|
|
239
|
+
donated: number;
|
|
239
240
|
economyBan: string;
|
|
240
241
|
foilBadgeCost: number;
|
|
241
242
|
foilBadges: number;
|
|
242
243
|
friends: number;
|
|
243
244
|
gameBans: number;
|
|
244
245
|
level: number;
|
|
245
|
-
limitedApps: number;
|
|
246
246
|
name: string;
|
|
247
247
|
normalBadgeCost: number;
|
|
248
248
|
normalBadges: number;
|
|
@@ -281,13 +281,13 @@ export const V1AccountLeaderboardAccount$outboundSchema: z.ZodType<
|
|
|
281
281
|
city: z.nullable(LeaderboardCity$outboundSchema).optional(),
|
|
282
282
|
country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
|
|
283
283
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
284
|
+
donated: z.number().int(),
|
|
284
285
|
economyBan: z.string(),
|
|
285
286
|
foilBadgeCost: z.number().int(),
|
|
286
287
|
foilBadges: z.number().int(),
|
|
287
288
|
friends: z.number().int(),
|
|
288
289
|
gameBans: z.number().int(),
|
|
289
290
|
level: z.number().int(),
|
|
290
|
-
limitedApps: z.number().int(),
|
|
291
291
|
name: z.string(),
|
|
292
292
|
normalBadgeCost: z.number().int(),
|
|
293
293
|
normalBadges: z.number().int(),
|
|
@@ -39,6 +39,10 @@ export type V1AccountLeaderboardResponseBody = {
|
|
|
39
39
|
badgeInfo?: V1LeaderboardBadgeInfo | null | undefined;
|
|
40
40
|
location?: Array<V1LeaderboardLocationInfo> | null | undefined;
|
|
41
41
|
ownAccount?: V1AccountLeaderboardAccount | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The number of accounts that are ranked in the leaderboard
|
|
44
|
+
*/
|
|
45
|
+
rankedOutOf?: number | undefined;
|
|
42
46
|
};
|
|
43
47
|
|
|
44
48
|
/** @internal */
|
|
@@ -54,6 +58,7 @@ export const V1AccountLeaderboardResponseBody$inboundSchema: z.ZodType<
|
|
|
54
58
|
location: z.nullable(z.array(V1LeaderboardLocationInfo$inboundSchema))
|
|
55
59
|
.optional(),
|
|
56
60
|
ownAccount: z.nullable(V1AccountLeaderboardAccount$inboundSchema).optional(),
|
|
61
|
+
rankedOutOf: z.number().int().default(0),
|
|
57
62
|
}).transform((v) => {
|
|
58
63
|
return remap$(v, {
|
|
59
64
|
"$schema": "dollarSchema",
|
|
@@ -68,6 +73,7 @@ export type V1AccountLeaderboardResponseBody$Outbound = {
|
|
|
68
73
|
badgeInfo?: V1LeaderboardBadgeInfo$Outbound | null | undefined;
|
|
69
74
|
location?: Array<V1LeaderboardLocationInfo$Outbound> | null | undefined;
|
|
70
75
|
ownAccount?: V1AccountLeaderboardAccount$Outbound | null | undefined;
|
|
76
|
+
rankedOutOf: number;
|
|
71
77
|
};
|
|
72
78
|
|
|
73
79
|
/** @internal */
|
|
@@ -83,6 +89,7 @@ export const V1AccountLeaderboardResponseBody$outboundSchema: z.ZodType<
|
|
|
83
89
|
location: z.nullable(z.array(V1LeaderboardLocationInfo$outboundSchema))
|
|
84
90
|
.optional(),
|
|
85
91
|
ownAccount: z.nullable(V1AccountLeaderboardAccount$outboundSchema).optional(),
|
|
92
|
+
rankedOutOf: z.number().int().default(0),
|
|
86
93
|
}).transform((v) => {
|
|
87
94
|
return remap$(v, {
|
|
88
95
|
dollarSchema: "$schema",
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
Image,
|
|
9
|
+
Image$inboundSchema,
|
|
10
|
+
Image$Outbound,
|
|
11
|
+
Image$outboundSchema,
|
|
12
|
+
} from "./image.js";
|
|
13
|
+
|
|
14
|
+
export type V1UploadImagesResponseBody = {
|
|
15
|
+
/**
|
|
16
|
+
* A URL to the JSON Schema for this object.
|
|
17
|
+
*/
|
|
18
|
+
dollarSchema?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The images uploaded
|
|
21
|
+
*/
|
|
22
|
+
images: Array<Image> | null;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const V1UploadImagesResponseBody$inboundSchema: z.ZodType<
|
|
27
|
+
V1UploadImagesResponseBody,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
$schema: z.string().optional(),
|
|
32
|
+
images: z.nullable(z.array(Image$inboundSchema)),
|
|
33
|
+
}).transform((v) => {
|
|
34
|
+
return remap$(v, {
|
|
35
|
+
"$schema": "dollarSchema",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type V1UploadImagesResponseBody$Outbound = {
|
|
41
|
+
$schema?: string | undefined;
|
|
42
|
+
images: Array<Image$Outbound> | null;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const V1UploadImagesResponseBody$outboundSchema: z.ZodType<
|
|
47
|
+
V1UploadImagesResponseBody$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
V1UploadImagesResponseBody
|
|
50
|
+
> = z.object({
|
|
51
|
+
dollarSchema: z.string().optional(),
|
|
52
|
+
images: z.nullable(z.array(Image$outboundSchema)),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return remap$(v, {
|
|
55
|
+
dollarSchema: "$schema",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace V1UploadImagesResponseBody$ {
|
|
64
|
+
/** @deprecated use `V1UploadImagesResponseBody$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = V1UploadImagesResponseBody$inboundSchema;
|
|
66
|
+
/** @deprecated use `V1UploadImagesResponseBody$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = V1UploadImagesResponseBody$outboundSchema;
|
|
68
|
+
/** @deprecated use `V1UploadImagesResponseBody$Outbound` instead. */
|
|
69
|
+
export type Outbound = V1UploadImagesResponseBody$Outbound;
|
|
70
|
+
}
|
|
@@ -8,6 +8,12 @@ import * as components from "../components/index.js";
|
|
|
8
8
|
|
|
9
9
|
export type AccountV1SettingsUploadImagesResponse = {
|
|
10
10
|
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1UploadImagesResponseBody?:
|
|
15
|
+
| components.V1UploadImagesResponseBody
|
|
16
|
+
| undefined;
|
|
11
17
|
};
|
|
12
18
|
|
|
13
19
|
/** @internal */
|
|
@@ -17,15 +23,21 @@ export const AccountV1SettingsUploadImagesResponse$inboundSchema: z.ZodType<
|
|
|
17
23
|
unknown
|
|
18
24
|
> = z.object({
|
|
19
25
|
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
26
|
+
V1UploadImagesResponseBody: components
|
|
27
|
+
.V1UploadImagesResponseBody$inboundSchema.optional(),
|
|
20
28
|
}).transform((v) => {
|
|
21
29
|
return remap$(v, {
|
|
22
30
|
"HttpMeta": "httpMeta",
|
|
31
|
+
"V1UploadImagesResponseBody": "v1UploadImagesResponseBody",
|
|
23
32
|
});
|
|
24
33
|
});
|
|
25
34
|
|
|
26
35
|
/** @internal */
|
|
27
36
|
export type AccountV1SettingsUploadImagesResponse$Outbound = {
|
|
28
37
|
HttpMeta: components.HTTPMetadata$Outbound;
|
|
38
|
+
V1UploadImagesResponseBody?:
|
|
39
|
+
| components.V1UploadImagesResponseBody$Outbound
|
|
40
|
+
| undefined;
|
|
29
41
|
};
|
|
30
42
|
|
|
31
43
|
/** @internal */
|
|
@@ -35,9 +47,12 @@ export const AccountV1SettingsUploadImagesResponse$outboundSchema: z.ZodType<
|
|
|
35
47
|
AccountV1SettingsUploadImagesResponse
|
|
36
48
|
> = z.object({
|
|
37
49
|
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
50
|
+
v1UploadImagesResponseBody: components
|
|
51
|
+
.V1UploadImagesResponseBody$outboundSchema.optional(),
|
|
38
52
|
}).transform((v) => {
|
|
39
53
|
return remap$(v, {
|
|
40
54
|
httpMeta: "HttpMeta",
|
|
55
|
+
v1UploadImagesResponseBody: "V1UploadImagesResponseBody",
|
|
41
56
|
});
|
|
42
57
|
});
|
|
43
58
|
|