@touhidrahman/restauth-sdk 1.0.0 → 1.0.1
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/index.cjs.default.js +1 -0
- package/index.cjs.js +2888 -0
- package/index.cjs.mjs +2 -0
- package/index.d.ts +1 -0
- package/index.esm.js +2775 -0
- package/package.json +14 -15
- package/src/hey-api/client/client.gen.js +0 -217
- package/src/hey-api/client/index.js +0 -6
- package/src/hey-api/client/types.gen.js +0 -2
- package/src/hey-api/client/utils.gen.js +0 -233
- package/src/hey-api/client.gen.js +0 -3
- package/src/hey-api/core/auth.gen.js +0 -14
- package/src/hey-api/core/bodySerializer.gen.js +0 -57
- package/src/hey-api/core/params.gen.js +0 -106
- package/src/hey-api/core/pathSerializer.gen.js +0 -118
- package/src/hey-api/core/queryKeySerializer.gen.js +0 -100
- package/src/hey-api/core/serverSentEvents.gen.js +0 -136
- package/src/hey-api/core/types.gen.js +0 -2
- package/src/hey-api/core/utils.gen.js +0 -88
- package/src/hey-api/index.js +0 -2
- package/src/hey-api/sdk.gen.js +0 -698
- package/src/hey-api/transformers.gen.js +0 -1221
- package/src/hey-api/types.gen.js +0 -2
- package/src/index.js +0 -3
package/src/hey-api/sdk.gen.js
DELETED
|
@@ -1,698 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import { client } from './client.gen';
|
|
3
|
-
import { deleteGroupsByIdResponseTransformer, deleteInvitesByIdResponseTransformer, deleteMembershipsByIdResponseTransformer, deleteOrganizationsByIdResponseTransformer, deleteOrganizationsByOrganizationIdBranchesByIdResponseTransformer, deleteOrganizationsByOrganizationIdZonesByIdResponseTransformer, deleteProjectsByProjectIdResponseTransformer, deleteRolesByIdResponseTransformer, deleteSecretKeysByIdResponseTransformer, deleteUsersByIdMembershipsByMembershipIdResponseTransformer, deleteUsersByIdResponseTransformer, getGroupsByIdResponseTransformer, getGroupsByIdUsersResponseTransformer, getGroupsMyResponseTransformer, getGroupsResponseTransformer, getInvitesByIdResponseTransformer, getInvitesResponseTransformer, getMembershipsBranchByIdResponseTransformer, getMembershipsByIdResponseTransformer, getMembershipsMyResponseTransformer, getMembershipsResponseTransformer, getMembershipsZoneByZoneIdResponseTransformer, getOrganizationsByIdResponseTransformer, getOrganizationsByOrganizationIdBranchesByIdResponseTransformer, getOrganizationsByOrganizationIdBranchesMyResponseTransformer, getOrganizationsByOrganizationIdBranchesResponseTransformer, getOrganizationsByOrganizationIdCreatorResponseTransformer, getOrganizationsByOrganizationIdMembersResponseTransformer, getOrganizationsByOrganizationIdZonesByIdResponseTransformer, getOrganizationsByOrganizationIdZonesMyResponseTransformer, getOrganizationsByOrganizationIdZonesResponseTransformer, getOrganizationsByOwnerByUserIdResponseTransformer, getOrganizationsByUserByUserIdResponseTransformer, getOrganizationsResponseTransformer, getProjectsByProjectIdResponseTransformer, getProjectsResponseTransformer, getRolesByIdResponseTransformer, getRolesByIdUsersResponseTransformer, getRolesResponseTransformer, getSecretKeysByIdResponseTransformer, getSecretKeysResponseTransformer, getUsersByIdIdentifiersResponseTransformer, getUsersByIdResponseTransformer, getUsersCustomActiveResponseTransformer, getUsersCustomBannedResponseTransformer, getUsersCustomInactiveResponseTransformer, getUsersCustomUnverifiedResponseTransformer, getUsersMeResponseTransformer, getUsersResponseTransformer, postAdminLoginResponseTransformer, postAdminNewTokenResponseTransformer, postGroupsResponseTransformer, postInvitesResponseTransformer, postMembershipsByIdBranchResponseTransformer, postMembershipsByIdZoneResponseTransformer, postMembershipsResponseTransformer, postOrganizationsByOrganizationIdBranchesResponseTransformer, postOrganizationsByOrganizationIdZonesResponseTransformer, postOrganizationsResponseTransformer, postProjectsResponseTransformer, postRolesResponseTransformer, postSecretKeysResponseTransformer, postUserPasswordsUpsertResponseTransformer, postUsersByIdPasswordChangeResponseTransformer, postUsersLoginResponseTransformer, postUsersLoginSwitchResponseTransformer, postUsersPasswordResetByTokenResponseTransformer, postUsersRegisterResponseTransformer, postUsersResponseTransformer, putGroupsByIdResponseTransformer, putInvitesByIdResponseTransformer, putOrganizationsByIdResponseTransformer, putOrganizationsByOrganizationIdBranchesByIdResponseTransformer, putOrganizationsByOrganizationIdZonesByIdResponseTransformer, putProjectsByProjectIdResponseTransformer, putRolesByIdResponseTransformer, putUsersByIdResponseTransformer, } from './transformers.gen';
|
|
4
|
-
export const get = (options) => (options?.client ?? client).get({
|
|
5
|
-
url: '/',
|
|
6
|
-
...options,
|
|
7
|
-
});
|
|
8
|
-
export const postAdminNewToken = (options) => (options.client ?? client).post({
|
|
9
|
-
responseTransformer: postAdminNewTokenResponseTransformer,
|
|
10
|
-
url: '/admin/new-token',
|
|
11
|
-
...options,
|
|
12
|
-
headers: {
|
|
13
|
-
'Content-Type': 'application/json',
|
|
14
|
-
...options.headers,
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
export const postAdminLogin = (options) => (options.client ?? client).post({
|
|
18
|
-
responseTransformer: postAdminLoginResponseTransformer,
|
|
19
|
-
url: '/admin/login',
|
|
20
|
-
...options,
|
|
21
|
-
headers: {
|
|
22
|
-
'Content-Type': 'application/json',
|
|
23
|
-
...options.headers,
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
export const getOrganizationsByOrganizationIdBranchesMy = (options) => (options.client ?? client).get({
|
|
27
|
-
responseTransformer: getOrganizationsByOrganizationIdBranchesMyResponseTransformer,
|
|
28
|
-
url: '/organizations/{organizationId}/branches/my',
|
|
29
|
-
...options,
|
|
30
|
-
});
|
|
31
|
-
export const getOrganizationsByOrganizationIdBranches = (options) => (options.client ?? client).get({
|
|
32
|
-
responseTransformer: getOrganizationsByOrganizationIdBranchesResponseTransformer,
|
|
33
|
-
url: '/organizations/{organizationId}/branches',
|
|
34
|
-
...options,
|
|
35
|
-
});
|
|
36
|
-
export const postOrganizationsByOrganizationIdBranches = (options) => (options.client ?? client).post({
|
|
37
|
-
responseTransformer: postOrganizationsByOrganizationIdBranchesResponseTransformer,
|
|
38
|
-
url: '/organizations/{organizationId}/branches',
|
|
39
|
-
...options,
|
|
40
|
-
headers: {
|
|
41
|
-
'Content-Type': 'application/json',
|
|
42
|
-
...options.headers,
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
export const deleteOrganizationsByOrganizationIdBranchesById = (options) => (options.client ?? client).delete({
|
|
46
|
-
responseTransformer: deleteOrganizationsByOrganizationIdBranchesByIdResponseTransformer,
|
|
47
|
-
url: '/organizations/{organizationId}/branches/{id}',
|
|
48
|
-
...options,
|
|
49
|
-
});
|
|
50
|
-
export const getOrganizationsByOrganizationIdBranchesById = (options) => (options.client ?? client).get({
|
|
51
|
-
responseTransformer: getOrganizationsByOrganizationIdBranchesByIdResponseTransformer,
|
|
52
|
-
url: '/organizations/{organizationId}/branches/{id}',
|
|
53
|
-
...options,
|
|
54
|
-
});
|
|
55
|
-
export const putOrganizationsByOrganizationIdBranchesById = (options) => (options.client ?? client).put({
|
|
56
|
-
responseTransformer: putOrganizationsByOrganizationIdBranchesByIdResponseTransformer,
|
|
57
|
-
url: '/organizations/{organizationId}/branches/{id}',
|
|
58
|
-
...options,
|
|
59
|
-
headers: {
|
|
60
|
-
'Content-Type': 'application/json',
|
|
61
|
-
...options.headers,
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
export const putOrganizationsByOrganizationIdBranchesByIdChangeId = (options) => (options.client ?? client).put({
|
|
65
|
-
url: '/organizations/{organizationId}/branches/{id}/change-id',
|
|
66
|
-
...options,
|
|
67
|
-
headers: {
|
|
68
|
-
'Content-Type': 'application/json',
|
|
69
|
-
...options.headers,
|
|
70
|
-
},
|
|
71
|
-
});
|
|
72
|
-
export const getGroupsMy = (options) => (options?.client ?? client).get({
|
|
73
|
-
responseTransformer: getGroupsMyResponseTransformer,
|
|
74
|
-
url: '/groups/my',
|
|
75
|
-
...options,
|
|
76
|
-
});
|
|
77
|
-
export const getGroupsByIdPermissions = (options) => (options.client ?? client).get({ url: '/groups/{id}/permissions', ...options });
|
|
78
|
-
export const postGroupsByIdPermissions = (options) => (options.client ?? client).post({
|
|
79
|
-
url: '/groups/{id}/permissions',
|
|
80
|
-
...options,
|
|
81
|
-
headers: {
|
|
82
|
-
'Content-Type': 'application/json',
|
|
83
|
-
...options.headers,
|
|
84
|
-
},
|
|
85
|
-
});
|
|
86
|
-
export const getGroupsByIdUsers = (options) => (options.client ?? client).get({
|
|
87
|
-
responseTransformer: getGroupsByIdUsersResponseTransformer,
|
|
88
|
-
url: '/groups/{id}/users',
|
|
89
|
-
...options,
|
|
90
|
-
});
|
|
91
|
-
export const deleteGroupsByGroupIdUsersByUserId = (options) => (options.client ?? client).delete({ url: '/groups/{groupId}/users/{userId}', ...options });
|
|
92
|
-
export const getGroups = (options) => (options?.client ?? client).get({
|
|
93
|
-
responseTransformer: getGroupsResponseTransformer,
|
|
94
|
-
url: '/groups',
|
|
95
|
-
...options,
|
|
96
|
-
});
|
|
97
|
-
export const postGroups = (options) => (options?.client ?? client).post({
|
|
98
|
-
responseTransformer: postGroupsResponseTransformer,
|
|
99
|
-
url: '/groups',
|
|
100
|
-
...options,
|
|
101
|
-
headers: {
|
|
102
|
-
'Content-Type': 'application/json',
|
|
103
|
-
...options?.headers,
|
|
104
|
-
},
|
|
105
|
-
});
|
|
106
|
-
export const deleteGroupsById = (options) => (options.client ?? client).delete({
|
|
107
|
-
responseTransformer: deleteGroupsByIdResponseTransformer,
|
|
108
|
-
url: '/groups/{id}',
|
|
109
|
-
...options,
|
|
110
|
-
});
|
|
111
|
-
export const getGroupsById = (options) => (options.client ?? client).get({
|
|
112
|
-
responseTransformer: getGroupsByIdResponseTransformer,
|
|
113
|
-
url: '/groups/{id}',
|
|
114
|
-
...options,
|
|
115
|
-
});
|
|
116
|
-
export const putGroupsById = (options) => (options.client ?? client).put({
|
|
117
|
-
responseTransformer: putGroupsByIdResponseTransformer,
|
|
118
|
-
url: '/groups/{id}',
|
|
119
|
-
...options,
|
|
120
|
-
headers: {
|
|
121
|
-
'Content-Type': 'application/json',
|
|
122
|
-
...options.headers,
|
|
123
|
-
},
|
|
124
|
-
});
|
|
125
|
-
export const putGroupsByIdChangeId = (options) => (options.client ?? client).put({
|
|
126
|
-
url: '/groups/{id}/change-id',
|
|
127
|
-
...options,
|
|
128
|
-
headers: {
|
|
129
|
-
'Content-Type': 'application/json',
|
|
130
|
-
...options.headers,
|
|
131
|
-
},
|
|
132
|
-
});
|
|
133
|
-
export const getInvites = (options) => (options?.client ?? client).get({
|
|
134
|
-
responseTransformer: getInvitesResponseTransformer,
|
|
135
|
-
url: '/invites',
|
|
136
|
-
...options,
|
|
137
|
-
});
|
|
138
|
-
export const postInvites = (options) => (options?.client ?? client).post({
|
|
139
|
-
responseTransformer: postInvitesResponseTransformer,
|
|
140
|
-
url: '/invites',
|
|
141
|
-
...options,
|
|
142
|
-
headers: {
|
|
143
|
-
'Content-Type': 'application/json',
|
|
144
|
-
...options?.headers,
|
|
145
|
-
},
|
|
146
|
-
});
|
|
147
|
-
export const deleteInvitesById = (options) => (options.client ?? client).delete({
|
|
148
|
-
responseTransformer: deleteInvitesByIdResponseTransformer,
|
|
149
|
-
url: '/invites/{id}',
|
|
150
|
-
...options,
|
|
151
|
-
});
|
|
152
|
-
export const getInvitesById = (options) => (options.client ?? client).get({
|
|
153
|
-
responseTransformer: getInvitesByIdResponseTransformer,
|
|
154
|
-
url: '/invites/{id}',
|
|
155
|
-
...options,
|
|
156
|
-
});
|
|
157
|
-
export const putInvitesById = (options) => (options.client ?? client).put({
|
|
158
|
-
responseTransformer: putInvitesByIdResponseTransformer,
|
|
159
|
-
url: '/invites/{id}',
|
|
160
|
-
...options,
|
|
161
|
-
headers: {
|
|
162
|
-
'Content-Type': 'application/json',
|
|
163
|
-
...options.headers,
|
|
164
|
-
},
|
|
165
|
-
});
|
|
166
|
-
export const putInvitesByIdChangeId = (options) => (options.client ?? client).put({
|
|
167
|
-
url: '/invites/{id}/change-id',
|
|
168
|
-
...options,
|
|
169
|
-
headers: {
|
|
170
|
-
'Content-Type': 'application/json',
|
|
171
|
-
...options.headers,
|
|
172
|
-
},
|
|
173
|
-
});
|
|
174
|
-
export const deleteMembershipsByIdZone = (options) => (options.client ?? client).delete({
|
|
175
|
-
url: '/memberships/{id}/zone',
|
|
176
|
-
...options,
|
|
177
|
-
headers: {
|
|
178
|
-
'Content-Type': 'application/json',
|
|
179
|
-
...options.headers,
|
|
180
|
-
},
|
|
181
|
-
});
|
|
182
|
-
export const postMembershipsByIdZone = (options) => (options.client ?? client).post({
|
|
183
|
-
responseTransformer: postMembershipsByIdZoneResponseTransformer,
|
|
184
|
-
url: '/memberships/{id}/zone',
|
|
185
|
-
...options,
|
|
186
|
-
headers: {
|
|
187
|
-
'Content-Type': 'application/json',
|
|
188
|
-
...options.headers,
|
|
189
|
-
},
|
|
190
|
-
});
|
|
191
|
-
export const getMembershipsZoneByZoneId = (options) => (options.client ?? client).get({
|
|
192
|
-
responseTransformer: getMembershipsZoneByZoneIdResponseTransformer,
|
|
193
|
-
url: '/memberships/zone/{zoneId}',
|
|
194
|
-
...options,
|
|
195
|
-
});
|
|
196
|
-
export const deleteMembershipsByIdBranch = (options) => (options.client ?? client).delete({
|
|
197
|
-
url: '/memberships/{id}/branch',
|
|
198
|
-
...options,
|
|
199
|
-
headers: {
|
|
200
|
-
'Content-Type': 'application/json',
|
|
201
|
-
...options.headers,
|
|
202
|
-
},
|
|
203
|
-
});
|
|
204
|
-
export const postMembershipsByIdBranch = (options) => (options.client ?? client).post({
|
|
205
|
-
responseTransformer: postMembershipsByIdBranchResponseTransformer,
|
|
206
|
-
url: '/memberships/{id}/branch',
|
|
207
|
-
...options,
|
|
208
|
-
headers: {
|
|
209
|
-
'Content-Type': 'application/json',
|
|
210
|
-
...options.headers,
|
|
211
|
-
},
|
|
212
|
-
});
|
|
213
|
-
export const getMembershipsBranchById = (options) => (options.client ?? client).get({
|
|
214
|
-
responseTransformer: getMembershipsBranchByIdResponseTransformer,
|
|
215
|
-
url: '/memberships/branch/{id}',
|
|
216
|
-
...options,
|
|
217
|
-
headers: {
|
|
218
|
-
'Content-Type': 'application/json',
|
|
219
|
-
...options.headers,
|
|
220
|
-
},
|
|
221
|
-
});
|
|
222
|
-
export const getMembershipsMy = (options) => (options?.client ?? client).get({
|
|
223
|
-
responseTransformer: getMembershipsMyResponseTransformer,
|
|
224
|
-
url: '/memberships/my',
|
|
225
|
-
...options,
|
|
226
|
-
});
|
|
227
|
-
export const getMembershipsByIdPermissions = (options) => (options.client ?? client).get({ url: '/memberships/{id}/permissions', ...options });
|
|
228
|
-
export const deleteMemberships = (options) => (options?.client ?? client).delete({
|
|
229
|
-
url: '/memberships',
|
|
230
|
-
...options,
|
|
231
|
-
headers: {
|
|
232
|
-
'Content-Type': 'application/json',
|
|
233
|
-
...options?.headers,
|
|
234
|
-
},
|
|
235
|
-
});
|
|
236
|
-
export const getMemberships = (options) => (options?.client ?? client).get({
|
|
237
|
-
responseTransformer: getMembershipsResponseTransformer,
|
|
238
|
-
url: '/memberships',
|
|
239
|
-
...options,
|
|
240
|
-
});
|
|
241
|
-
export const postMemberships = (options) => (options?.client ?? client).post({
|
|
242
|
-
responseTransformer: postMembershipsResponseTransformer,
|
|
243
|
-
url: '/memberships',
|
|
244
|
-
...options,
|
|
245
|
-
headers: {
|
|
246
|
-
'Content-Type': 'application/json',
|
|
247
|
-
...options?.headers,
|
|
248
|
-
},
|
|
249
|
-
});
|
|
250
|
-
export const deleteMembershipsById = (options) => (options.client ?? client).delete({
|
|
251
|
-
responseTransformer: deleteMembershipsByIdResponseTransformer,
|
|
252
|
-
url: '/memberships/{id}',
|
|
253
|
-
...options,
|
|
254
|
-
});
|
|
255
|
-
export const getMembershipsById = (options) => (options.client ?? client).get({
|
|
256
|
-
responseTransformer: getMembershipsByIdResponseTransformer,
|
|
257
|
-
url: '/memberships/{id}',
|
|
258
|
-
...options,
|
|
259
|
-
});
|
|
260
|
-
export const putMembershipsByIdChangeId = (options) => (options.client ?? client).put({
|
|
261
|
-
url: '/memberships/{id}/change-id',
|
|
262
|
-
...options,
|
|
263
|
-
headers: {
|
|
264
|
-
'Content-Type': 'application/json',
|
|
265
|
-
...options.headers,
|
|
266
|
-
},
|
|
267
|
-
});
|
|
268
|
-
export const getOrganizationsByUserByUserId = (options) => (options.client ?? client).get({
|
|
269
|
-
responseTransformer: getOrganizationsByUserByUserIdResponseTransformer,
|
|
270
|
-
url: '/organizations/by-user/{userId}',
|
|
271
|
-
...options,
|
|
272
|
-
});
|
|
273
|
-
export const getOrganizationsByOwnerByUserId = (options) => (options.client ?? client).get({
|
|
274
|
-
responseTransformer: getOrganizationsByOwnerByUserIdResponseTransformer,
|
|
275
|
-
url: '/organizations/by-owner/{userId}',
|
|
276
|
-
...options,
|
|
277
|
-
});
|
|
278
|
-
export const getOrganizationsByOrganizationIdMembers = (options) => (options.client ?? client).get({
|
|
279
|
-
responseTransformer: getOrganizationsByOrganizationIdMembersResponseTransformer,
|
|
280
|
-
url: '/organizations/{organizationId}/members',
|
|
281
|
-
...options,
|
|
282
|
-
});
|
|
283
|
-
export const getOrganizationsByOrganizationIdCreator = (options) => (options.client ?? client).get({
|
|
284
|
-
responseTransformer: getOrganizationsByOrganizationIdCreatorResponseTransformer,
|
|
285
|
-
url: '/organizations/{organizationId}/creator',
|
|
286
|
-
...options,
|
|
287
|
-
});
|
|
288
|
-
export const getOrganizations = (options) => (options?.client ?? client).get({
|
|
289
|
-
responseTransformer: getOrganizationsResponseTransformer,
|
|
290
|
-
url: '/organizations',
|
|
291
|
-
...options,
|
|
292
|
-
});
|
|
293
|
-
export const postOrganizations = (options) => (options?.client ?? client).post({
|
|
294
|
-
responseTransformer: postOrganizationsResponseTransformer,
|
|
295
|
-
url: '/organizations',
|
|
296
|
-
...options,
|
|
297
|
-
headers: {
|
|
298
|
-
'Content-Type': 'application/json',
|
|
299
|
-
...options?.headers,
|
|
300
|
-
},
|
|
301
|
-
});
|
|
302
|
-
export const deleteOrganizationsById = (options) => (options.client ?? client).delete({
|
|
303
|
-
responseTransformer: deleteOrganizationsByIdResponseTransformer,
|
|
304
|
-
url: '/organizations/{id}',
|
|
305
|
-
...options,
|
|
306
|
-
});
|
|
307
|
-
export const getOrganizationsById = (options) => (options.client ?? client).get({
|
|
308
|
-
responseTransformer: getOrganizationsByIdResponseTransformer,
|
|
309
|
-
url: '/organizations/{id}',
|
|
310
|
-
...options,
|
|
311
|
-
});
|
|
312
|
-
export const putOrganizationsById = (options) => (options.client ?? client).put({
|
|
313
|
-
responseTransformer: putOrganizationsByIdResponseTransformer,
|
|
314
|
-
url: '/organizations/{id}',
|
|
315
|
-
...options,
|
|
316
|
-
headers: {
|
|
317
|
-
'Content-Type': 'application/json',
|
|
318
|
-
...options.headers,
|
|
319
|
-
},
|
|
320
|
-
});
|
|
321
|
-
export const putOrganizationsByIdChangeId = (options) => (options.client ?? client).put({
|
|
322
|
-
url: '/organizations/{id}/change-id',
|
|
323
|
-
...options,
|
|
324
|
-
headers: {
|
|
325
|
-
'Content-Type': 'application/json',
|
|
326
|
-
...options.headers,
|
|
327
|
-
},
|
|
328
|
-
});
|
|
329
|
-
export const getPermissions = (options) => (options?.client ?? client).get({ url: '/permissions', ...options });
|
|
330
|
-
export const postPermissions = (options) => (options?.client ?? client).post({
|
|
331
|
-
url: '/permissions',
|
|
332
|
-
...options,
|
|
333
|
-
headers: {
|
|
334
|
-
'Content-Type': 'application/json',
|
|
335
|
-
...options?.headers,
|
|
336
|
-
},
|
|
337
|
-
});
|
|
338
|
-
export const deletePermissionsById = (options) => (options.client ?? client).delete({ url: '/permissions/{id}', ...options });
|
|
339
|
-
export const getPermissionsById = (options) => (options.client ?? client).get({ url: '/permissions/{id}', ...options });
|
|
340
|
-
export const putPermissionsById = (options) => (options.client ?? client).put({
|
|
341
|
-
url: '/permissions/{id}',
|
|
342
|
-
...options,
|
|
343
|
-
headers: {
|
|
344
|
-
'Content-Type': 'application/json',
|
|
345
|
-
...options.headers,
|
|
346
|
-
},
|
|
347
|
-
});
|
|
348
|
-
export const getProjects = (options) => (options?.client ?? client).get({
|
|
349
|
-
responseTransformer: getProjectsResponseTransformer,
|
|
350
|
-
url: '/projects',
|
|
351
|
-
...options,
|
|
352
|
-
});
|
|
353
|
-
export const postProjects = (options) => (options?.client ?? client).post({
|
|
354
|
-
responseTransformer: postProjectsResponseTransformer,
|
|
355
|
-
url: '/projects',
|
|
356
|
-
...options,
|
|
357
|
-
headers: {
|
|
358
|
-
'Content-Type': 'application/json',
|
|
359
|
-
...options?.headers,
|
|
360
|
-
},
|
|
361
|
-
});
|
|
362
|
-
export const deleteProjectsByProjectId = (options) => (options.client ?? client).delete({
|
|
363
|
-
responseTransformer: deleteProjectsByProjectIdResponseTransformer,
|
|
364
|
-
url: '/projects/{projectId}',
|
|
365
|
-
...options,
|
|
366
|
-
});
|
|
367
|
-
export const getProjectsByProjectId = (options) => (options.client ?? client).get({
|
|
368
|
-
responseTransformer: getProjectsByProjectIdResponseTransformer,
|
|
369
|
-
url: '/projects/{projectId}',
|
|
370
|
-
...options,
|
|
371
|
-
});
|
|
372
|
-
export const putProjectsByProjectId = (options) => (options.client ?? client).put({
|
|
373
|
-
responseTransformer: putProjectsByProjectIdResponseTransformer,
|
|
374
|
-
url: '/projects/{projectId}',
|
|
375
|
-
...options,
|
|
376
|
-
headers: {
|
|
377
|
-
'Content-Type': 'application/json',
|
|
378
|
-
...options.headers,
|
|
379
|
-
},
|
|
380
|
-
});
|
|
381
|
-
export const putProjectsByProjectIdChangeId = (options) => (options.client ?? client).put({
|
|
382
|
-
url: '/projects/{projectId}/change-id',
|
|
383
|
-
...options,
|
|
384
|
-
headers: {
|
|
385
|
-
'Content-Type': 'application/json',
|
|
386
|
-
...options.headers,
|
|
387
|
-
},
|
|
388
|
-
});
|
|
389
|
-
export const deleteRolesByIdPermissions = (options) => (options.client ?? client).delete({
|
|
390
|
-
url: '/roles/{id}/permissions',
|
|
391
|
-
...options,
|
|
392
|
-
headers: {
|
|
393
|
-
'Content-Type': 'application/json',
|
|
394
|
-
...options.headers,
|
|
395
|
-
},
|
|
396
|
-
});
|
|
397
|
-
export const getRolesByIdPermissions = (options) => (options.client ?? client).get({ url: '/roles/{id}/permissions', ...options });
|
|
398
|
-
export const postRolesByIdPermissions = (options) => (options.client ?? client).post({
|
|
399
|
-
url: '/roles/{id}/permissions',
|
|
400
|
-
...options,
|
|
401
|
-
headers: {
|
|
402
|
-
'Content-Type': 'application/json',
|
|
403
|
-
...options.headers,
|
|
404
|
-
},
|
|
405
|
-
});
|
|
406
|
-
export const getRolesByIdUsers = (options) => (options.client ?? client).get({
|
|
407
|
-
responseTransformer: getRolesByIdUsersResponseTransformer,
|
|
408
|
-
url: '/roles/{id}/users',
|
|
409
|
-
...options,
|
|
410
|
-
});
|
|
411
|
-
export const getRoles = (options) => (options?.client ?? client).get({
|
|
412
|
-
responseTransformer: getRolesResponseTransformer,
|
|
413
|
-
url: '/roles',
|
|
414
|
-
...options,
|
|
415
|
-
});
|
|
416
|
-
export const postRoles = (options) => (options?.client ?? client).post({
|
|
417
|
-
responseTransformer: postRolesResponseTransformer,
|
|
418
|
-
url: '/roles',
|
|
419
|
-
...options,
|
|
420
|
-
headers: {
|
|
421
|
-
'Content-Type': 'application/json',
|
|
422
|
-
...options?.headers,
|
|
423
|
-
},
|
|
424
|
-
});
|
|
425
|
-
export const deleteRolesById = (options) => (options.client ?? client).delete({
|
|
426
|
-
responseTransformer: deleteRolesByIdResponseTransformer,
|
|
427
|
-
url: '/roles/{id}',
|
|
428
|
-
...options,
|
|
429
|
-
});
|
|
430
|
-
export const getRolesById = (options) => (options.client ?? client).get({
|
|
431
|
-
responseTransformer: getRolesByIdResponseTransformer,
|
|
432
|
-
url: '/roles/{id}',
|
|
433
|
-
...options,
|
|
434
|
-
});
|
|
435
|
-
export const putRolesById = (options) => (options.client ?? client).put({
|
|
436
|
-
responseTransformer: putRolesByIdResponseTransformer,
|
|
437
|
-
url: '/roles/{id}',
|
|
438
|
-
...options,
|
|
439
|
-
headers: {
|
|
440
|
-
'Content-Type': 'application/json',
|
|
441
|
-
...options.headers,
|
|
442
|
-
},
|
|
443
|
-
});
|
|
444
|
-
export const putRolesByIdChangeId = (options) => (options.client ?? client).put({
|
|
445
|
-
url: '/roles/{id}/change-id',
|
|
446
|
-
...options,
|
|
447
|
-
headers: {
|
|
448
|
-
'Content-Type': 'application/json',
|
|
449
|
-
...options.headers,
|
|
450
|
-
},
|
|
451
|
-
});
|
|
452
|
-
export const getSecretKeys = (options) => (options?.client ?? client).get({
|
|
453
|
-
responseTransformer: getSecretKeysResponseTransformer,
|
|
454
|
-
url: '/secret-keys',
|
|
455
|
-
...options,
|
|
456
|
-
});
|
|
457
|
-
export const postSecretKeys = (options) => (options?.client ?? client).post({
|
|
458
|
-
responseTransformer: postSecretKeysResponseTransformer,
|
|
459
|
-
url: '/secret-keys',
|
|
460
|
-
...options,
|
|
461
|
-
headers: {
|
|
462
|
-
'Content-Type': 'application/json',
|
|
463
|
-
...options?.headers,
|
|
464
|
-
},
|
|
465
|
-
});
|
|
466
|
-
export const deleteSecretKeysById = (options) => (options.client ?? client).delete({
|
|
467
|
-
responseTransformer: deleteSecretKeysByIdResponseTransformer,
|
|
468
|
-
url: '/secret-keys/{id}',
|
|
469
|
-
...options,
|
|
470
|
-
});
|
|
471
|
-
export const getSecretKeysById = (options) => (options.client ?? client).get({
|
|
472
|
-
responseTransformer: getSecretKeysByIdResponseTransformer,
|
|
473
|
-
url: '/secret-keys/{id}',
|
|
474
|
-
...options,
|
|
475
|
-
});
|
|
476
|
-
export const postUsersByIdIdentifierAdd = (options) => (options.client ?? client).post({
|
|
477
|
-
url: '/users/{id}/identifier/add',
|
|
478
|
-
...options,
|
|
479
|
-
headers: {
|
|
480
|
-
'Content-Type': 'application/json',
|
|
481
|
-
...options.headers,
|
|
482
|
-
},
|
|
483
|
-
});
|
|
484
|
-
export const postUsersByIdIdentifierDelete = (options) => (options.client ?? client).post({
|
|
485
|
-
url: '/users/{id}/identifier/delete',
|
|
486
|
-
...options,
|
|
487
|
-
headers: {
|
|
488
|
-
'Content-Type': 'application/json',
|
|
489
|
-
...options.headers,
|
|
490
|
-
},
|
|
491
|
-
});
|
|
492
|
-
export const getUsersByIdIdentifiers = (options) => (options.client ?? client).get({
|
|
493
|
-
responseTransformer: getUsersByIdIdentifiersResponseTransformer,
|
|
494
|
-
url: '/users/{id}/identifiers',
|
|
495
|
-
...options,
|
|
496
|
-
});
|
|
497
|
-
export const postUserPasswordsUpsert = (options) => (options?.client ?? client).post({
|
|
498
|
-
responseTransformer: postUserPasswordsUpsertResponseTransformer,
|
|
499
|
-
url: '/user-passwords/upsert',
|
|
500
|
-
...options,
|
|
501
|
-
headers: {
|
|
502
|
-
'Content-Type': 'application/json',
|
|
503
|
-
...options?.headers,
|
|
504
|
-
},
|
|
505
|
-
});
|
|
506
|
-
export const getUserPasswords = (options) => (options.client ?? client).get({ url: '/user-passwords', ...options });
|
|
507
|
-
export const postUsersVerifyByToken = (options) => (options.client ?? client).post({ url: '/users/verify/{token}', ...options });
|
|
508
|
-
export const postUsersByIdNewVerificationToken = (options) => (options.client ?? client).post({
|
|
509
|
-
url: '/users/{id}/new-verification-token',
|
|
510
|
-
...options,
|
|
511
|
-
headers: {
|
|
512
|
-
'Content-Type': 'application/json',
|
|
513
|
-
...options.headers,
|
|
514
|
-
},
|
|
515
|
-
});
|
|
516
|
-
export const deleteUsersByIdMembershipsByMembershipId = (options) => (options.client ?? client).delete({
|
|
517
|
-
responseTransformer: deleteUsersByIdMembershipsByMembershipIdResponseTransformer,
|
|
518
|
-
url: '/users/{id}/memberships/{membershipId}',
|
|
519
|
-
...options,
|
|
520
|
-
});
|
|
521
|
-
export const postUsersPasswordForgot = (options) => (options.client ?? client).post({
|
|
522
|
-
url: '/users/password/forgot',
|
|
523
|
-
...options,
|
|
524
|
-
headers: {
|
|
525
|
-
'Content-Type': 'application/json',
|
|
526
|
-
...options.headers,
|
|
527
|
-
},
|
|
528
|
-
});
|
|
529
|
-
export const postUsersPasswordResetByToken = (options) => (options.client ?? client).post({
|
|
530
|
-
responseTransformer: postUsersPasswordResetByTokenResponseTransformer,
|
|
531
|
-
url: '/users/password/reset/{token}',
|
|
532
|
-
...options,
|
|
533
|
-
headers: {
|
|
534
|
-
'Content-Type': 'application/json',
|
|
535
|
-
...options.headers,
|
|
536
|
-
},
|
|
537
|
-
});
|
|
538
|
-
export const postUsersByIdPasswordChange = (options) => (options.client ?? client).post({
|
|
539
|
-
responseTransformer: postUsersByIdPasswordChangeResponseTransformer,
|
|
540
|
-
url: '/users/{id}/password/change',
|
|
541
|
-
...options,
|
|
542
|
-
headers: {
|
|
543
|
-
'Content-Type': 'application/json',
|
|
544
|
-
...options.headers,
|
|
545
|
-
},
|
|
546
|
-
});
|
|
547
|
-
export const postUsersLogin = (options) => (options.client ?? client).post({
|
|
548
|
-
responseTransformer: postUsersLoginResponseTransformer,
|
|
549
|
-
url: '/users/login',
|
|
550
|
-
...options,
|
|
551
|
-
headers: {
|
|
552
|
-
'Content-Type': 'application/json',
|
|
553
|
-
...options.headers,
|
|
554
|
-
},
|
|
555
|
-
});
|
|
556
|
-
export const postUsersLoginSwitch = (options) => (options?.client ?? client).post({
|
|
557
|
-
responseTransformer: postUsersLoginSwitchResponseTransformer,
|
|
558
|
-
url: '/users/login/switch',
|
|
559
|
-
...options,
|
|
560
|
-
});
|
|
561
|
-
export const postUsersRegister = (options) => (options.client ?? client).post({
|
|
562
|
-
responseTransformer: postUsersRegisterResponseTransformer,
|
|
563
|
-
url: '/users/register',
|
|
564
|
-
...options,
|
|
565
|
-
headers: {
|
|
566
|
-
'Content-Type': 'application/json',
|
|
567
|
-
...options.headers,
|
|
568
|
-
},
|
|
569
|
-
});
|
|
570
|
-
export const postUsersToken = (options) => (options.client ?? client).post({
|
|
571
|
-
url: '/users/token',
|
|
572
|
-
...options,
|
|
573
|
-
headers: {
|
|
574
|
-
'Content-Type': 'application/json',
|
|
575
|
-
...options.headers,
|
|
576
|
-
},
|
|
577
|
-
});
|
|
578
|
-
export const postUsersLogout = (options) => (options?.client ?? client).post({ url: '/users/logout', ...options });
|
|
579
|
-
export const getUsersMe = (options) => (options?.client ?? client).get({
|
|
580
|
-
responseTransformer: getUsersMeResponseTransformer,
|
|
581
|
-
url: '/users/me',
|
|
582
|
-
...options,
|
|
583
|
-
});
|
|
584
|
-
export const getUsersCustomActive = (options) => (options?.client ?? client).get({
|
|
585
|
-
responseTransformer: getUsersCustomActiveResponseTransformer,
|
|
586
|
-
url: '/users/custom/active',
|
|
587
|
-
...options,
|
|
588
|
-
});
|
|
589
|
-
export const getUsersCustomBanned = (options) => (options?.client ?? client).get({
|
|
590
|
-
responseTransformer: getUsersCustomBannedResponseTransformer,
|
|
591
|
-
url: '/users/custom/banned',
|
|
592
|
-
...options,
|
|
593
|
-
});
|
|
594
|
-
export const getUsersCustomUnverified = (options) => (options?.client ?? client).get({
|
|
595
|
-
responseTransformer: getUsersCustomUnverifiedResponseTransformer,
|
|
596
|
-
url: '/users/custom/unverified',
|
|
597
|
-
...options,
|
|
598
|
-
});
|
|
599
|
-
export const getUsersCustomInactive = (options) => (options.client ?? client).get({
|
|
600
|
-
responseTransformer: getUsersCustomInactiveResponseTransformer,
|
|
601
|
-
url: '/users/custom/inactive',
|
|
602
|
-
...options,
|
|
603
|
-
});
|
|
604
|
-
export const deleteUsers = (options) => (options?.client ?? client).delete({
|
|
605
|
-
url: '/users',
|
|
606
|
-
...options,
|
|
607
|
-
headers: {
|
|
608
|
-
'Content-Type': 'application/json',
|
|
609
|
-
...options?.headers,
|
|
610
|
-
},
|
|
611
|
-
});
|
|
612
|
-
export const getUsers = (options) => (options?.client ?? client).get({
|
|
613
|
-
responseTransformer: getUsersResponseTransformer,
|
|
614
|
-
url: '/users',
|
|
615
|
-
...options,
|
|
616
|
-
});
|
|
617
|
-
export const postUsers = (options) => (options?.client ?? client).post({
|
|
618
|
-
responseTransformer: postUsersResponseTransformer,
|
|
619
|
-
url: '/users',
|
|
620
|
-
...options,
|
|
621
|
-
headers: {
|
|
622
|
-
'Content-Type': 'application/json',
|
|
623
|
-
...options?.headers,
|
|
624
|
-
},
|
|
625
|
-
});
|
|
626
|
-
export const deleteUsersById = (options) => (options.client ?? client).delete({
|
|
627
|
-
responseTransformer: deleteUsersByIdResponseTransformer,
|
|
628
|
-
url: '/users/{id}',
|
|
629
|
-
...options,
|
|
630
|
-
});
|
|
631
|
-
export const getUsersById = (options) => (options.client ?? client).get({
|
|
632
|
-
responseTransformer: getUsersByIdResponseTransformer,
|
|
633
|
-
url: '/users/{id}',
|
|
634
|
-
...options,
|
|
635
|
-
});
|
|
636
|
-
export const putUsersById = (options) => (options.client ?? client).put({
|
|
637
|
-
responseTransformer: putUsersByIdResponseTransformer,
|
|
638
|
-
url: '/users/{id}',
|
|
639
|
-
...options,
|
|
640
|
-
headers: {
|
|
641
|
-
'Content-Type': 'application/json',
|
|
642
|
-
...options.headers,
|
|
643
|
-
},
|
|
644
|
-
});
|
|
645
|
-
export const putUsersByIdChangeId = (options) => (options.client ?? client).put({
|
|
646
|
-
url: '/users/{id}/change-id',
|
|
647
|
-
...options,
|
|
648
|
-
headers: {
|
|
649
|
-
'Content-Type': 'application/json',
|
|
650
|
-
...options.headers,
|
|
651
|
-
},
|
|
652
|
-
});
|
|
653
|
-
export const getOrganizationsByOrganizationIdZonesMy = (options) => (options.client ?? client).get({
|
|
654
|
-
responseTransformer: getOrganizationsByOrganizationIdZonesMyResponseTransformer,
|
|
655
|
-
url: '/organizations/{organizationId}/zones/my',
|
|
656
|
-
...options,
|
|
657
|
-
});
|
|
658
|
-
export const getOrganizationsByOrganizationIdZones = (options) => (options.client ?? client).get({
|
|
659
|
-
responseTransformer: getOrganizationsByOrganizationIdZonesResponseTransformer,
|
|
660
|
-
url: '/organizations/{organizationId}/zones',
|
|
661
|
-
...options,
|
|
662
|
-
});
|
|
663
|
-
export const postOrganizationsByOrganizationIdZones = (options) => (options.client ?? client).post({
|
|
664
|
-
responseTransformer: postOrganizationsByOrganizationIdZonesResponseTransformer,
|
|
665
|
-
url: '/organizations/{organizationId}/zones',
|
|
666
|
-
...options,
|
|
667
|
-
headers: {
|
|
668
|
-
'Content-Type': 'application/json',
|
|
669
|
-
...options.headers,
|
|
670
|
-
},
|
|
671
|
-
});
|
|
672
|
-
export const deleteOrganizationsByOrganizationIdZonesById = (options) => (options.client ?? client).delete({
|
|
673
|
-
responseTransformer: deleteOrganizationsByOrganizationIdZonesByIdResponseTransformer,
|
|
674
|
-
url: '/organizations/{organizationId}/zones/{id}',
|
|
675
|
-
...options,
|
|
676
|
-
});
|
|
677
|
-
export const getOrganizationsByOrganizationIdZonesById = (options) => (options.client ?? client).get({
|
|
678
|
-
responseTransformer: getOrganizationsByOrganizationIdZonesByIdResponseTransformer,
|
|
679
|
-
url: '/organizations/{organizationId}/zones/{id}',
|
|
680
|
-
...options,
|
|
681
|
-
});
|
|
682
|
-
export const putOrganizationsByOrganizationIdZonesById = (options) => (options.client ?? client).put({
|
|
683
|
-
responseTransformer: putOrganizationsByOrganizationIdZonesByIdResponseTransformer,
|
|
684
|
-
url: '/organizations/{organizationId}/zones/{id}',
|
|
685
|
-
...options,
|
|
686
|
-
headers: {
|
|
687
|
-
'Content-Type': 'application/json',
|
|
688
|
-
...options.headers,
|
|
689
|
-
},
|
|
690
|
-
});
|
|
691
|
-
export const putOrganizationsByOrganizationIdZonesByIdChangeId = (options) => (options.client ?? client).put({
|
|
692
|
-
url: '/organizations/{organizationId}/zones/{id}/change-id',
|
|
693
|
-
...options,
|
|
694
|
-
headers: {
|
|
695
|
-
'Content-Type': 'application/json',
|
|
696
|
-
...options.headers,
|
|
697
|
-
},
|
|
698
|
-
});
|