rozod 1.0.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/lib/endpoints/accountinformationv1.d.ts +551 -0
- package/lib/endpoints/accountinformationv1.js +652 -0
- package/lib/endpoints/accountsettingsv1.d.ts +548 -0
- package/lib/endpoints/accountsettingsv1.js +712 -0
- package/lib/endpoints/assetdeliveryv1.d.ts +599 -0
- package/lib/endpoints/assetdeliveryv1.js +268 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +780 -0
- package/lib/endpoints/assetdeliveryv2.js +271 -0
- package/lib/endpoints/authv1.d.ts +1328 -0
- package/lib/endpoints/authv1.js +1168 -0
- package/lib/endpoints/authv2.d.ts +1239 -0
- package/lib/endpoints/authv2.js +1057 -0
- package/lib/endpoints/authv3.d.ts +35 -0
- package/lib/endpoints/authv3.js +41 -0
- package/lib/endpoints/avatarv1.d.ts +1841 -0
- package/lib/endpoints/avatarv1.js +726 -0
- package/lib/endpoints/avatarv2.d.ts +1077 -0
- package/lib/endpoints/avatarv2.js +316 -0
- package/lib/endpoints/avatarv3.d.ts +656 -0
- package/lib/endpoints/avatarv3.js +219 -0
- package/lib/endpoints/badgesv1.d.ts +641 -0
- package/lib/endpoints/badgesv1.js +345 -0
- package/lib/endpoints/catalogv1.d.ts +1715 -0
- package/lib/endpoints/catalogv1.js +792 -0
- package/lib/endpoints/chatv2.d.ts +2179 -0
- package/lib/endpoints/chatv2.js +721 -0
- package/lib/endpoints/developv1.d.ts +2097 -0
- package/lib/endpoints/developv1.js +1537 -0
- package/lib/endpoints/developv2.d.ts +619 -0
- package/lib/endpoints/developv2.js +316 -0
- package/lib/endpoints/economyv1.d.ts +20 -0
- package/lib/endpoints/economyv1.js +28 -0
- package/lib/endpoints/friendsv1.d.ts +1093 -0
- package/lib/endpoints/friendsv1.js +818 -0
- package/lib/endpoints/gamesv1.d.ts +2749 -0
- package/lib/endpoints/gamesv1.js +1294 -0
- package/lib/endpoints/gamesv2.d.ts +582 -0
- package/lib/endpoints/gamesv2.js +258 -0
- package/lib/endpoints/groupsv1.d.ts +5528 -0
- package/lib/endpoints/groupsv1.js +2434 -0
- package/lib/endpoints/groupsv2.d.ts +530 -0
- package/lib/endpoints/groupsv2.js +201 -0
- package/lib/endpoints/inventoryv1.d.ts +436 -0
- package/lib/endpoints/inventoryv1.js +434 -0
- package/lib/endpoints/inventoryv2.d.ts +256 -0
- package/lib/endpoints/inventoryv2.js +241 -0
- package/lib/endpoints/presencev1.d.ts +134 -0
- package/lib/endpoints/presencev1.js +93 -0
- package/lib/endpoints/privatemessagesv1.d.ts +620 -0
- package/lib/endpoints/privatemessagesv1.js +338 -0
- package/lib/endpoints/thumbnailsv1.d.ts +897 -0
- package/lib/endpoints/thumbnailsv1.js +560 -0
- package/lib/endpoints/tradesv1.d.ts +473 -0
- package/lib/endpoints/tradesv1.js +403 -0
- package/lib/endpoints/translationsv1.d.ts +80 -0
- package/lib/endpoints/translationsv1.js +122 -0
- package/lib/endpoints/usersv1.d.ts +391 -0
- package/lib/endpoints/usersv1.js +344 -0
- package/lib/index.d.ts +85 -0
- package/lib/index.js +293 -0
- package/package.json +39 -0
- package/readme.md +99 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getV2usersUserIdgroupsroles = exports.postV2groupsGroupIdwallposts = exports.getV2groupsGroupIdwallposts = exports.getV2groups = void 0;
|
|
4
|
+
var zod_1 = require("zod");
|
|
5
|
+
var Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = zod_1.z
|
|
6
|
+
.object({ id: zod_1.z.number().int(), type: zod_1.z.literal(0), name: zod_1.z.string() })
|
|
7
|
+
.partial();
|
|
8
|
+
var Roblox_Web_Responses_Groups_GroupResponseV2 = zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
id: zod_1.z.number().int(),
|
|
11
|
+
name: zod_1.z.string(),
|
|
12
|
+
description: zod_1.z.string(),
|
|
13
|
+
owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
14
|
+
memberCount: zod_1.z.number().int(),
|
|
15
|
+
created: zod_1.z.string().datetime(),
|
|
16
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
17
|
+
})
|
|
18
|
+
.partial();
|
|
19
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupResponseV2_ = zod_1.z
|
|
20
|
+
.object({ data: zod_1.z.array(Roblox_Web_Responses_Groups_GroupResponseV2) })
|
|
21
|
+
.partial();
|
|
22
|
+
var Roblox_Groups_Api_Models_Response_UserModel = zod_1.z
|
|
23
|
+
.object({
|
|
24
|
+
buildersClubMembershipType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
|
|
25
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
26
|
+
userId: zod_1.z.number().int(),
|
|
27
|
+
username: zod_1.z.string(),
|
|
28
|
+
displayName: zod_1.z.string(),
|
|
29
|
+
})
|
|
30
|
+
.partial();
|
|
31
|
+
var Roblox_Groups_Api_GroupRoleResponse = zod_1.z
|
|
32
|
+
.object({
|
|
33
|
+
id: zod_1.z.number().int(),
|
|
34
|
+
name: zod_1.z.string(),
|
|
35
|
+
description: zod_1.z.string(),
|
|
36
|
+
rank: zod_1.z.number().int(),
|
|
37
|
+
memberCount: zod_1.z.number().int(),
|
|
38
|
+
})
|
|
39
|
+
.partial();
|
|
40
|
+
var Roblox_Groups_Api_UserGroupRoleResponse = zod_1.z
|
|
41
|
+
.object({
|
|
42
|
+
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
43
|
+
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
44
|
+
})
|
|
45
|
+
.partial();
|
|
46
|
+
var Roblox_Groups_Api_GroupWallPostV2Model = zod_1.z
|
|
47
|
+
.object({
|
|
48
|
+
id: zod_1.z.number().int(),
|
|
49
|
+
poster: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
50
|
+
body: zod_1.z.string(),
|
|
51
|
+
created: zod_1.z.string().datetime(),
|
|
52
|
+
updated: zod_1.z.string().datetime(),
|
|
53
|
+
})
|
|
54
|
+
.partial();
|
|
55
|
+
var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupWallPostV2Model_ = zod_1.z
|
|
56
|
+
.object({
|
|
57
|
+
previousPageCursor: zod_1.z.string(),
|
|
58
|
+
nextPageCursor: zod_1.z.string(),
|
|
59
|
+
data: zod_1.z.array(Roblox_Groups_Api_GroupWallPostV2Model),
|
|
60
|
+
})
|
|
61
|
+
.partial();
|
|
62
|
+
var Roblox_Groups_Api_CreateWallPostRequest = zod_1.z
|
|
63
|
+
.object({
|
|
64
|
+
body: zod_1.z.string(),
|
|
65
|
+
captchaId: zod_1.z.string(),
|
|
66
|
+
captchaToken: zod_1.z.string(),
|
|
67
|
+
captchaProvider: zod_1.z.string(),
|
|
68
|
+
challengeId: zod_1.z.string(),
|
|
69
|
+
})
|
|
70
|
+
.partial();
|
|
71
|
+
var Roblox_Web_Responses_Groups_GroupBasicResponse = zod_1.z
|
|
72
|
+
.object({
|
|
73
|
+
id: zod_1.z.number().int(),
|
|
74
|
+
name: zod_1.z.string(),
|
|
75
|
+
memberCount: zod_1.z.number().int(),
|
|
76
|
+
hasVerifiedBadge: zod_1.z.boolean(),
|
|
77
|
+
})
|
|
78
|
+
.partial();
|
|
79
|
+
var Roblox_Web_Responses_Groups_GroupRoleBasicResponse = zod_1.z
|
|
80
|
+
.object({ id: zod_1.z.number().int(), name: zod_1.z.string(), rank: zod_1.z.number().int() })
|
|
81
|
+
.partial();
|
|
82
|
+
var Roblox_Groups_Api_GroupMembershipResponse = zod_1.z
|
|
83
|
+
.object({
|
|
84
|
+
group: Roblox_Web_Responses_Groups_GroupBasicResponse,
|
|
85
|
+
role: Roblox_Web_Responses_Groups_GroupRoleBasicResponse,
|
|
86
|
+
})
|
|
87
|
+
.partial();
|
|
88
|
+
var Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipResponse_ = zod_1.z
|
|
89
|
+
.object({ data: zod_1.z.array(Roblox_Groups_Api_GroupMembershipResponse) })
|
|
90
|
+
.partial();
|
|
91
|
+
var schemas = {
|
|
92
|
+
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
93
|
+
Roblox_Web_Responses_Groups_GroupResponseV2: Roblox_Web_Responses_Groups_GroupResponseV2,
|
|
94
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupResponseV2_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupResponseV2_,
|
|
95
|
+
Roblox_Groups_Api_Models_Response_UserModel: Roblox_Groups_Api_Models_Response_UserModel,
|
|
96
|
+
Roblox_Groups_Api_GroupRoleResponse: Roblox_Groups_Api_GroupRoleResponse,
|
|
97
|
+
Roblox_Groups_Api_UserGroupRoleResponse: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
98
|
+
Roblox_Groups_Api_GroupWallPostV2Model: Roblox_Groups_Api_GroupWallPostV2Model,
|
|
99
|
+
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupWallPostV2Model_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupWallPostV2Model_,
|
|
100
|
+
Roblox_Groups_Api_CreateWallPostRequest: Roblox_Groups_Api_CreateWallPostRequest,
|
|
101
|
+
Roblox_Web_Responses_Groups_GroupBasicResponse: Roblox_Web_Responses_Groups_GroupBasicResponse,
|
|
102
|
+
Roblox_Web_Responses_Groups_GroupRoleBasicResponse: Roblox_Web_Responses_Groups_GroupRoleBasicResponse,
|
|
103
|
+
Roblox_Groups_Api_GroupMembershipResponse: Roblox_Groups_Api_GroupMembershipResponse,
|
|
104
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipResponse_: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipResponse_,
|
|
105
|
+
};
|
|
106
|
+
exports.getV2groups = {
|
|
107
|
+
method: 'get',
|
|
108
|
+
path: '/v2/groups',
|
|
109
|
+
baseUrl: 'https://groups.roblox.com',
|
|
110
|
+
description: "If a group comes back as null, it will not be returned in the response.",
|
|
111
|
+
requestFormat: 'json',
|
|
112
|
+
parameters: {
|
|
113
|
+
groupIds: zod_1.z.array(zod_1.z.number()),
|
|
114
|
+
},
|
|
115
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupResponseV2_,
|
|
116
|
+
errors: [
|
|
117
|
+
{
|
|
118
|
+
status: 400,
|
|
119
|
+
description: "2: Too many ids in request.\n3: Ids could not be parsed from request.",
|
|
120
|
+
schema: zod_1.z.void(),
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
};
|
|
124
|
+
exports.getV2groupsGroupIdwallposts = {
|
|
125
|
+
method: 'get',
|
|
126
|
+
path: '/v2/groups/:groupId/wall/posts',
|
|
127
|
+
baseUrl: 'https://groups.roblox.com',
|
|
128
|
+
requestFormat: 'json',
|
|
129
|
+
parameters: {
|
|
130
|
+
groupId: zod_1.z.number().int(),
|
|
131
|
+
limit: zod_1.z
|
|
132
|
+
.union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
|
|
133
|
+
.optional()
|
|
134
|
+
.default(10),
|
|
135
|
+
cursor: zod_1.z.string().optional(),
|
|
136
|
+
sortOrder: zod_1.z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
137
|
+
},
|
|
138
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupWallPostV2Model_,
|
|
139
|
+
errors: [
|
|
140
|
+
{
|
|
141
|
+
status: 400,
|
|
142
|
+
description: "1: The group is invalid or does not exist.",
|
|
143
|
+
schema: zod_1.z.void(),
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
status: 403,
|
|
147
|
+
description: "2: You do not have permission to access this group wall.",
|
|
148
|
+
schema: zod_1.z.void(),
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
};
|
|
152
|
+
exports.postV2groupsGroupIdwallposts = {
|
|
153
|
+
method: 'post',
|
|
154
|
+
path: '/v2/groups/:groupId/wall/posts',
|
|
155
|
+
baseUrl: 'https://groups.roblox.com',
|
|
156
|
+
requestFormat: 'json',
|
|
157
|
+
parameters: {
|
|
158
|
+
body: Roblox_Groups_Api_CreateWallPostRequest,
|
|
159
|
+
groupId: zod_1.z.number().int(),
|
|
160
|
+
},
|
|
161
|
+
response: Roblox_Groups_Api_GroupWallPostV2Model,
|
|
162
|
+
errors: [
|
|
163
|
+
{
|
|
164
|
+
status: 400,
|
|
165
|
+
description: "1: The group is invalid or does not exist.\n5: Your post was empty, white space, or more than 500 characters.",
|
|
166
|
+
schema: zod_1.z.void(),
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
status: 401,
|
|
170
|
+
description: "0: Authorization has been denied for this request.",
|
|
171
|
+
schema: zod_1.z.void(),
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
status: 403,
|
|
175
|
+
description: "0: Token Validation Failed\n2: You do not have permission to access this group wall.\n7: Captcha must be solved.",
|
|
176
|
+
schema: zod_1.z.void(),
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
status: 429,
|
|
180
|
+
description: "4: You are posting too fast, please try again in a few minutes.",
|
|
181
|
+
schema: zod_1.z.void(),
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
};
|
|
185
|
+
exports.getV2usersUserIdgroupsroles = {
|
|
186
|
+
method: 'get',
|
|
187
|
+
path: '/v2/users/:userId/groups/roles',
|
|
188
|
+
baseUrl: 'https://groups.roblox.com',
|
|
189
|
+
requestFormat: 'json',
|
|
190
|
+
parameters: {
|
|
191
|
+
userId: zod_1.z.number().int(),
|
|
192
|
+
},
|
|
193
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipResponse_,
|
|
194
|
+
errors: [
|
|
195
|
+
{
|
|
196
|
+
status: 400,
|
|
197
|
+
description: "3: The user is invalid or does not exist.",
|
|
198
|
+
schema: zod_1.z.void(),
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
};
|
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const deleteV1collectionsitemsItemTypeItemTargetId: {
|
|
3
|
+
method: "delete";
|
|
4
|
+
path: string;
|
|
5
|
+
baseUrl: string;
|
|
6
|
+
requestFormat: "json";
|
|
7
|
+
parameters: {
|
|
8
|
+
itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
9
|
+
itemTargetId: z.ZodNumber;
|
|
10
|
+
};
|
|
11
|
+
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
12
|
+
errors: {
|
|
13
|
+
status: number;
|
|
14
|
+
description: string;
|
|
15
|
+
schema: z.ZodVoid;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
export declare const postV1collectionsitemsItemTypeItemTargetId: {
|
|
19
|
+
method: "post";
|
|
20
|
+
path: string;
|
|
21
|
+
baseUrl: string;
|
|
22
|
+
requestFormat: "json";
|
|
23
|
+
parameters: {
|
|
24
|
+
itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
25
|
+
itemTargetId: z.ZodNumber;
|
|
26
|
+
};
|
|
27
|
+
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
28
|
+
errors: {
|
|
29
|
+
status: number;
|
|
30
|
+
description: string;
|
|
31
|
+
schema: z.ZodVoid;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
export declare const getV1packagesPackageIdassets: {
|
|
35
|
+
method: "get";
|
|
36
|
+
path: string;
|
|
37
|
+
baseUrl: string;
|
|
38
|
+
requestFormat: "json";
|
|
39
|
+
parameters: {
|
|
40
|
+
packageID: z.ZodNumber;
|
|
41
|
+
};
|
|
42
|
+
response: z.ZodObject<{
|
|
43
|
+
assetIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
assetIds?: number[] | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
assetIds?: number[] | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
errors: never[];
|
|
50
|
+
};
|
|
51
|
+
export declare const getV1usersUserIdassetscollectibles: {
|
|
52
|
+
method: "get";
|
|
53
|
+
path: string;
|
|
54
|
+
baseUrl: string;
|
|
55
|
+
requestFormat: "json";
|
|
56
|
+
parameters: {
|
|
57
|
+
userId: z.ZodNumber;
|
|
58
|
+
assetType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<18>, z.ZodLiteral<19>, z.ZodLiteral<21>, z.ZodLiteral<22>, z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<26>, z.ZodLiteral<27>, z.ZodLiteral<28>, z.ZodLiteral<29>, z.ZodLiteral<30>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<34>, z.ZodLiteral<35>, z.ZodLiteral<37>, z.ZodLiteral<38>, z.ZodLiteral<39>, z.ZodLiteral<40>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<43>, z.ZodLiteral<44>, z.ZodLiteral<45>, z.ZodLiteral<46>, z.ZodLiteral<47>, z.ZodLiteral<48>, z.ZodLiteral<49>, z.ZodLiteral<50>, z.ZodLiteral<51>, z.ZodLiteral<52>, z.ZodLiteral<53>, z.ZodLiteral<54>, z.ZodLiteral<55>, z.ZodLiteral<56>, z.ZodLiteral<59>, z.ZodLiteral<60>, z.ZodLiteral<61>, z.ZodLiteral<62>, z.ZodLiteral<63>, z.ZodLiteral<64>, z.ZodLiteral<65>, z.ZodLiteral<66>, z.ZodLiteral<67>, z.ZodLiteral<68>, z.ZodLiteral<69>, z.ZodLiteral<70>, z.ZodLiteral<71>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<74>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<77>, z.ZodLiteral<78>, z.ZodLiteral<79>, z.ZodLiteral<80>]>>;
|
|
59
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<100>]>>>;
|
|
60
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
61
|
+
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Asc", "Desc"]>>>;
|
|
62
|
+
};
|
|
63
|
+
response: z.ZodObject<{
|
|
64
|
+
previousPageCursor: z.ZodOptional<z.ZodString>;
|
|
65
|
+
nextPageCursor: z.ZodOptional<z.ZodString>;
|
|
66
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
userAssetId: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
serialNumber: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
assetId: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
name: z.ZodOptional<z.ZodString>;
|
|
71
|
+
recentAveragePrice: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
originalPrice: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
assetStock: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
buildersClubMembershipType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
75
|
+
isOnHold: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
userAssetId?: number | undefined;
|
|
78
|
+
serialNumber?: number | undefined;
|
|
79
|
+
assetId?: number | undefined;
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
recentAveragePrice?: number | undefined;
|
|
82
|
+
originalPrice?: number | undefined;
|
|
83
|
+
assetStock?: number | undefined;
|
|
84
|
+
buildersClubMembershipType?: 0 | 2 | 1 | 3 | 4 | undefined;
|
|
85
|
+
isOnHold?: boolean | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
userAssetId?: number | undefined;
|
|
88
|
+
serialNumber?: number | undefined;
|
|
89
|
+
assetId?: number | undefined;
|
|
90
|
+
name?: string | undefined;
|
|
91
|
+
recentAveragePrice?: number | undefined;
|
|
92
|
+
originalPrice?: number | undefined;
|
|
93
|
+
assetStock?: number | undefined;
|
|
94
|
+
buildersClubMembershipType?: 0 | 2 | 1 | 3 | 4 | undefined;
|
|
95
|
+
isOnHold?: boolean | undefined;
|
|
96
|
+
}>, "many">>;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
previousPageCursor?: string | undefined;
|
|
99
|
+
nextPageCursor?: string | undefined;
|
|
100
|
+
data?: {
|
|
101
|
+
userAssetId?: number | undefined;
|
|
102
|
+
serialNumber?: number | undefined;
|
|
103
|
+
assetId?: number | undefined;
|
|
104
|
+
name?: string | undefined;
|
|
105
|
+
recentAveragePrice?: number | undefined;
|
|
106
|
+
originalPrice?: number | undefined;
|
|
107
|
+
assetStock?: number | undefined;
|
|
108
|
+
buildersClubMembershipType?: 0 | 2 | 1 | 3 | 4 | undefined;
|
|
109
|
+
isOnHold?: boolean | undefined;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
previousPageCursor?: string | undefined;
|
|
113
|
+
nextPageCursor?: string | undefined;
|
|
114
|
+
data?: {
|
|
115
|
+
userAssetId?: number | undefined;
|
|
116
|
+
serialNumber?: number | undefined;
|
|
117
|
+
assetId?: number | undefined;
|
|
118
|
+
name?: string | undefined;
|
|
119
|
+
recentAveragePrice?: number | undefined;
|
|
120
|
+
originalPrice?: number | undefined;
|
|
121
|
+
assetStock?: number | undefined;
|
|
122
|
+
buildersClubMembershipType?: 0 | 2 | 1 | 3 | 4 | undefined;
|
|
123
|
+
isOnHold?: boolean | undefined;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
}>;
|
|
126
|
+
errors: {
|
|
127
|
+
status: number;
|
|
128
|
+
description: string;
|
|
129
|
+
schema: z.ZodVoid;
|
|
130
|
+
}[];
|
|
131
|
+
};
|
|
132
|
+
export declare const getV1usersUserIdcanViewInventory: {
|
|
133
|
+
method: "get";
|
|
134
|
+
path: string;
|
|
135
|
+
baseUrl: string;
|
|
136
|
+
requestFormat: "json";
|
|
137
|
+
parameters: {
|
|
138
|
+
userId: z.ZodNumber;
|
|
139
|
+
};
|
|
140
|
+
response: z.ZodObject<{
|
|
141
|
+
canView: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
canView?: boolean | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
canView?: boolean | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
errors: {
|
|
148
|
+
status: number;
|
|
149
|
+
description: string;
|
|
150
|
+
schema: z.ZodVoid;
|
|
151
|
+
}[];
|
|
152
|
+
};
|
|
153
|
+
export declare const getV1usersUserIdcategories: {
|
|
154
|
+
method: "get";
|
|
155
|
+
path: string;
|
|
156
|
+
baseUrl: string;
|
|
157
|
+
requestFormat: "json";
|
|
158
|
+
parameters: {
|
|
159
|
+
userId: z.ZodNumber;
|
|
160
|
+
};
|
|
161
|
+
response: z.ZodObject<{
|
|
162
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
163
|
+
name: z.ZodOptional<z.ZodString>;
|
|
164
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
165
|
+
categoryType: z.ZodOptional<z.ZodString>;
|
|
166
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
167
|
+
name: z.ZodOptional<z.ZodString>;
|
|
168
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
169
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
170
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
172
|
+
categoryType: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
name?: string | undefined;
|
|
175
|
+
displayName?: string | undefined;
|
|
176
|
+
filter?: string | undefined;
|
|
177
|
+
id?: number | undefined;
|
|
178
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
179
|
+
categoryType?: string | undefined;
|
|
180
|
+
}, {
|
|
181
|
+
name?: string | undefined;
|
|
182
|
+
displayName?: string | undefined;
|
|
183
|
+
filter?: string | undefined;
|
|
184
|
+
id?: number | undefined;
|
|
185
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
186
|
+
categoryType?: string | undefined;
|
|
187
|
+
}>, "many">>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
name?: string | undefined;
|
|
190
|
+
displayName?: string | undefined;
|
|
191
|
+
categoryType?: string | undefined;
|
|
192
|
+
items?: {
|
|
193
|
+
name?: string | undefined;
|
|
194
|
+
displayName?: string | undefined;
|
|
195
|
+
filter?: string | undefined;
|
|
196
|
+
id?: number | undefined;
|
|
197
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
198
|
+
categoryType?: string | undefined;
|
|
199
|
+
}[] | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
name?: string | undefined;
|
|
202
|
+
displayName?: string | undefined;
|
|
203
|
+
categoryType?: string | undefined;
|
|
204
|
+
items?: {
|
|
205
|
+
name?: string | undefined;
|
|
206
|
+
displayName?: string | undefined;
|
|
207
|
+
filter?: string | undefined;
|
|
208
|
+
id?: number | undefined;
|
|
209
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
210
|
+
categoryType?: string | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
}>, "many">>;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
categories?: {
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
displayName?: string | undefined;
|
|
217
|
+
categoryType?: string | undefined;
|
|
218
|
+
items?: {
|
|
219
|
+
name?: string | undefined;
|
|
220
|
+
displayName?: string | undefined;
|
|
221
|
+
filter?: string | undefined;
|
|
222
|
+
id?: number | undefined;
|
|
223
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
224
|
+
categoryType?: string | undefined;
|
|
225
|
+
}[] | undefined;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
}, {
|
|
228
|
+
categories?: {
|
|
229
|
+
name?: string | undefined;
|
|
230
|
+
displayName?: string | undefined;
|
|
231
|
+
categoryType?: string | undefined;
|
|
232
|
+
items?: {
|
|
233
|
+
name?: string | undefined;
|
|
234
|
+
displayName?: string | undefined;
|
|
235
|
+
filter?: string | undefined;
|
|
236
|
+
id?: number | undefined;
|
|
237
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
238
|
+
categoryType?: string | undefined;
|
|
239
|
+
}[] | undefined;
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
}>;
|
|
242
|
+
errors: never[];
|
|
243
|
+
};
|
|
244
|
+
export declare const getV1usersUserIdcategoriesfavorites: {
|
|
245
|
+
method: "get";
|
|
246
|
+
path: string;
|
|
247
|
+
baseUrl: string;
|
|
248
|
+
requestFormat: "json";
|
|
249
|
+
parameters: {
|
|
250
|
+
userId: z.ZodNumber;
|
|
251
|
+
};
|
|
252
|
+
response: z.ZodObject<{
|
|
253
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
|
+
name: z.ZodOptional<z.ZodString>;
|
|
255
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
256
|
+
categoryType: z.ZodOptional<z.ZodString>;
|
|
257
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
|
+
name: z.ZodOptional<z.ZodString>;
|
|
259
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
260
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
261
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
263
|
+
categoryType: z.ZodOptional<z.ZodString>;
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
displayName?: string | undefined;
|
|
267
|
+
filter?: string | undefined;
|
|
268
|
+
id?: number | undefined;
|
|
269
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
270
|
+
categoryType?: string | undefined;
|
|
271
|
+
}, {
|
|
272
|
+
name?: string | undefined;
|
|
273
|
+
displayName?: string | undefined;
|
|
274
|
+
filter?: string | undefined;
|
|
275
|
+
id?: number | undefined;
|
|
276
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
277
|
+
categoryType?: string | undefined;
|
|
278
|
+
}>, "many">>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
name?: string | undefined;
|
|
281
|
+
displayName?: string | undefined;
|
|
282
|
+
categoryType?: string | undefined;
|
|
283
|
+
items?: {
|
|
284
|
+
name?: string | undefined;
|
|
285
|
+
displayName?: string | undefined;
|
|
286
|
+
filter?: string | undefined;
|
|
287
|
+
id?: number | undefined;
|
|
288
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
289
|
+
categoryType?: string | undefined;
|
|
290
|
+
}[] | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
name?: string | undefined;
|
|
293
|
+
displayName?: string | undefined;
|
|
294
|
+
categoryType?: string | undefined;
|
|
295
|
+
items?: {
|
|
296
|
+
name?: string | undefined;
|
|
297
|
+
displayName?: string | undefined;
|
|
298
|
+
filter?: string | undefined;
|
|
299
|
+
id?: number | undefined;
|
|
300
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
301
|
+
categoryType?: string | undefined;
|
|
302
|
+
}[] | undefined;
|
|
303
|
+
}>, "many">>;
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
categories?: {
|
|
306
|
+
name?: string | undefined;
|
|
307
|
+
displayName?: string | undefined;
|
|
308
|
+
categoryType?: string | undefined;
|
|
309
|
+
items?: {
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
displayName?: string | undefined;
|
|
312
|
+
filter?: string | undefined;
|
|
313
|
+
id?: number | undefined;
|
|
314
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
315
|
+
categoryType?: string | undefined;
|
|
316
|
+
}[] | undefined;
|
|
317
|
+
}[] | undefined;
|
|
318
|
+
}, {
|
|
319
|
+
categories?: {
|
|
320
|
+
name?: string | undefined;
|
|
321
|
+
displayName?: string | undefined;
|
|
322
|
+
categoryType?: string | undefined;
|
|
323
|
+
items?: {
|
|
324
|
+
name?: string | undefined;
|
|
325
|
+
displayName?: string | undefined;
|
|
326
|
+
filter?: string | undefined;
|
|
327
|
+
id?: number | undefined;
|
|
328
|
+
type?: 0 | 2 | 1 | 3 | undefined;
|
|
329
|
+
categoryType?: string | undefined;
|
|
330
|
+
}[] | undefined;
|
|
331
|
+
}[] | undefined;
|
|
332
|
+
}>;
|
|
333
|
+
errors: never[];
|
|
334
|
+
};
|
|
335
|
+
export declare const getV1usersUserIdinventoryAssetType: {
|
|
336
|
+
method: "get";
|
|
337
|
+
path: string;
|
|
338
|
+
baseUrl: string;
|
|
339
|
+
requestFormat: "json";
|
|
340
|
+
parameters: {
|
|
341
|
+
userId: z.ZodNumber;
|
|
342
|
+
assetType: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<18>, z.ZodLiteral<19>, z.ZodLiteral<21>, z.ZodLiteral<22>, z.ZodLiteral<24>, z.ZodLiteral<25>, z.ZodLiteral<26>, z.ZodLiteral<27>, z.ZodLiteral<28>, z.ZodLiteral<29>, z.ZodLiteral<30>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<34>, z.ZodLiteral<35>, z.ZodLiteral<37>, z.ZodLiteral<38>, z.ZodLiteral<39>, z.ZodLiteral<40>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<43>, z.ZodLiteral<44>, z.ZodLiteral<45>, z.ZodLiteral<46>, z.ZodLiteral<47>, z.ZodLiteral<48>, z.ZodLiteral<49>, z.ZodLiteral<50>, z.ZodLiteral<51>, z.ZodLiteral<52>, z.ZodLiteral<53>, z.ZodLiteral<54>, z.ZodLiteral<55>, z.ZodLiteral<56>, z.ZodLiteral<59>, z.ZodLiteral<60>, z.ZodLiteral<61>, z.ZodLiteral<62>, z.ZodLiteral<63>, z.ZodLiteral<64>, z.ZodLiteral<65>, z.ZodLiteral<66>, z.ZodLiteral<67>, z.ZodLiteral<68>, z.ZodLiteral<69>, z.ZodLiteral<70>, z.ZodLiteral<71>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<74>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<77>, z.ZodLiteral<78>, z.ZodLiteral<79>, z.ZodLiteral<80>]>;
|
|
343
|
+
pageNumber: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
344
|
+
itemsPerPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
345
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
346
|
+
};
|
|
347
|
+
response: z.ZodObject<{
|
|
348
|
+
data: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
349
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
includesAccessories: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
data?: unknown[] | undefined;
|
|
353
|
+
total?: number | undefined;
|
|
354
|
+
includesAccessories?: boolean | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
data?: unknown[] | undefined;
|
|
357
|
+
total?: number | undefined;
|
|
358
|
+
includesAccessories?: boolean | undefined;
|
|
359
|
+
}>;
|
|
360
|
+
errors: {
|
|
361
|
+
status: number;
|
|
362
|
+
description: string;
|
|
363
|
+
schema: z.ZodVoid;
|
|
364
|
+
}[];
|
|
365
|
+
};
|
|
366
|
+
export declare const getV1usersUserIditemsItemTypeItemTargetId: {
|
|
367
|
+
method: "get";
|
|
368
|
+
path: string;
|
|
369
|
+
baseUrl: string;
|
|
370
|
+
requestFormat: "json";
|
|
371
|
+
parameters: {
|
|
372
|
+
userId: z.ZodNumber;
|
|
373
|
+
itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
374
|
+
itemTargetId: z.ZodNumber;
|
|
375
|
+
};
|
|
376
|
+
response: z.ZodObject<{
|
|
377
|
+
previousPageCursor: z.ZodOptional<z.ZodString>;
|
|
378
|
+
nextPageCursor: z.ZodOptional<z.ZodString>;
|
|
379
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
380
|
+
Id: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
Name: z.ZodOptional<z.ZodString>;
|
|
382
|
+
Type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
383
|
+
InstanceId: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
}, "strip", z.ZodTypeAny, {
|
|
385
|
+
Id?: number | undefined;
|
|
386
|
+
Name?: string | undefined;
|
|
387
|
+
Type?: 0 | 2 | 1 | 3 | undefined;
|
|
388
|
+
InstanceId?: number | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
Id?: number | undefined;
|
|
391
|
+
Name?: string | undefined;
|
|
392
|
+
Type?: 0 | 2 | 1 | 3 | undefined;
|
|
393
|
+
InstanceId?: number | undefined;
|
|
394
|
+
}>, "many">>;
|
|
395
|
+
}, "strip", z.ZodTypeAny, {
|
|
396
|
+
previousPageCursor?: string | undefined;
|
|
397
|
+
nextPageCursor?: string | undefined;
|
|
398
|
+
data?: {
|
|
399
|
+
Id?: number | undefined;
|
|
400
|
+
Name?: string | undefined;
|
|
401
|
+
Type?: 0 | 2 | 1 | 3 | undefined;
|
|
402
|
+
InstanceId?: number | undefined;
|
|
403
|
+
}[] | undefined;
|
|
404
|
+
}, {
|
|
405
|
+
previousPageCursor?: string | undefined;
|
|
406
|
+
nextPageCursor?: string | undefined;
|
|
407
|
+
data?: {
|
|
408
|
+
Id?: number | undefined;
|
|
409
|
+
Name?: string | undefined;
|
|
410
|
+
Type?: 0 | 2 | 1 | 3 | undefined;
|
|
411
|
+
InstanceId?: number | undefined;
|
|
412
|
+
}[] | undefined;
|
|
413
|
+
}>;
|
|
414
|
+
errors: {
|
|
415
|
+
status: number;
|
|
416
|
+
description: string;
|
|
417
|
+
schema: z.ZodVoid;
|
|
418
|
+
}[];
|
|
419
|
+
};
|
|
420
|
+
export declare const getV1usersUserIditemsItemTypeItemTargetIdisOwned: {
|
|
421
|
+
method: "get";
|
|
422
|
+
path: string;
|
|
423
|
+
baseUrl: string;
|
|
424
|
+
requestFormat: "json";
|
|
425
|
+
parameters: {
|
|
426
|
+
userId: z.ZodNumber;
|
|
427
|
+
itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
428
|
+
itemTargetId: z.ZodNumber;
|
|
429
|
+
};
|
|
430
|
+
response: z.ZodBoolean;
|
|
431
|
+
errors: {
|
|
432
|
+
status: number;
|
|
433
|
+
description: string;
|
|
434
|
+
schema: z.ZodVoid;
|
|
435
|
+
}[];
|
|
436
|
+
};
|