@handsondigital/idplugger-admin 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/.openapi-generator/FILES +81 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +154 -0
- package/api.ts +3648 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +2664 -0
- package/dist/api.js +2463 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +86 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AdminAuthRequestToken200Response.md +24 -0
- package/docs/AdminAuthRequestTokenRequest.md +20 -0
- package/docs/AuthApi.md +264 -0
- package/docs/AuthLogin200Response.md +24 -0
- package/docs/AuthLogin401Response.md +20 -0
- package/docs/AuthLoginByToken200Response.md +26 -0
- package/docs/AuthLoginByTokenRequest.md +22 -0
- package/docs/AuthLoginRequest.md +22 -0
- package/docs/AuthMe200Response.md +28 -0
- package/docs/AuthMe200ResponsePromotionsInner.md +22 -0
- package/docs/AuthRefreshTokenRequest.md +20 -0
- package/docs/Metrics200Response.md +24 -0
- package/docs/Metrics200ResponseUsersInner.md +22 -0
- package/docs/Metrics400Response.md +20 -0
- package/docs/MetricsApi.md +75 -0
- package/docs/PromotionApi.md +115 -0
- package/docs/PromotionPullConfiguration200Response.md +24 -0
- package/docs/PromotionPullConfiguration500Response.md +24 -0
- package/docs/PromotionPullConfigurationRequest.md +20 -0
- package/docs/PromotionPullConfigurationRequestDb.md +28 -0
- package/docs/PromotionStart200Response.md +28 -0
- package/docs/PromotionStart200ResponseUser.md +30 -0
- package/docs/PromotionStartRequest.md +24 -0
- package/docs/PromotionStartRequestUser.md +24 -0
- package/docs/RolesApi.md +376 -0
- package/docs/RolesAttachPermissions200Response.md +28 -0
- package/docs/RolesAttachPermissions422Response.md +20 -0
- package/docs/RolesAttachPermissionsRequest.md +20 -0
- package/docs/RolesDestroy400Response.md +20 -0
- package/docs/RolesIndex200Response.md +26 -0
- package/docs/RolesIndex200ResponseRolesInner.md +26 -0
- package/docs/RolesIndex500Response.md +20 -0
- package/docs/RolesPermissions200Response.md +28 -0
- package/docs/RolesShow200Response.md +28 -0
- package/docs/RolesShow200ResponsePermissionsInner.md +32 -0
- package/docs/RolesShow200ResponseRole.md +26 -0
- package/docs/RolesStore201Response.md +26 -0
- package/docs/RolesStore201ResponseRole.md +26 -0
- package/docs/RolesStore422Response.md +20 -0
- package/docs/RolesStoreRequest.md +24 -0
- package/docs/RolesUpdate200Response.md +26 -0
- package/docs/RolesUpdateRequest.md +24 -0
- package/docs/StepsAllow201Response.md +26 -0
- package/docs/StepsAllow409Response.md +26 -0
- package/docs/StepsAllowRequest.md +24 -0
- package/docs/StepsApi.md +167 -0
- package/docs/StepsIndex200Response.md +22 -0
- package/docs/StepsIndex200ResponseStepsValueValue.md +30 -0
- package/docs/StepsUnallow201Response.md +26 -0
- package/docs/StepsUnallow409Response.md +26 -0
- package/docs/UserApi.md +226 -0
- package/docs/UserGrantPermissions200Response.md +26 -0
- package/docs/UserGrantPermissions200ResponseUserInner.md +24 -0
- package/docs/UserGrantPermissions500Response.md +24 -0
- package/docs/UserGrantPermissionsRequest.md +24 -0
- package/docs/UserRegister200Response.md +26 -0
- package/docs/UserRegister200ResponseUserInner.md +28 -0
- package/docs/UserRegister500Response.md +24 -0
- package/docs/UserRegisterRequest.md +24 -0
- package/docs/UserShow200Response.md +26 -0
- package/docs/UserShow200ResponseUser.md +26 -0
- package/docs/UserShow404Response.md +24 -0
- package/docs/UserShow500Response.md +24 -0
- package/docs/UserUpdate200Response.md +26 -0
- package/docs/UserUpdate200ResponseUser.md +26 -0
- package/docs/UserUpdate404Response.md +24 -0
- package/docs/UserUpdate422Response.md +20 -0
- package/docs/UserUpdate500Response.md +24 -0
- package/docs/UserUpdateRequest.md +20 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
package/docs/RolesApi.md
ADDED
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
# RolesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.idplugger.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**rolesAttachPermissions**](#rolesattachpermissions) | **POST** /v3/admin/roles/{id}/permissions | Atualizar permissões de uma role|
|
|
8
|
+
|[**rolesDestroy**](#rolesdestroy) | **DELETE** /v3/admin/roles/{id} | Remover role|
|
|
9
|
+
|[**rolesIndex**](#rolesindex) | **GET** /v3/admin/roles | Listar roles|
|
|
10
|
+
|[**rolesPermissions**](#rolespermissions) | **GET** /v3/admin/roles/{id}/permissions | Listar permissões de uma role|
|
|
11
|
+
|[**rolesShow**](#rolesshow) | **GET** /v3/admin/roles/{id} | Exibir detalhes da role|
|
|
12
|
+
|[**rolesStore**](#rolesstore) | **POST** /v3/admin/roles | Criar role|
|
|
13
|
+
|[**rolesUpdate**](#rolesupdate) | **PATCH** /v3/admin/roles/{id} | Atualizar role|
|
|
14
|
+
|
|
15
|
+
# **rolesAttachPermissions**
|
|
16
|
+
> RolesAttachPermissions200Response rolesAttachPermissions()
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
RolesApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
RolesAttachPermissionsRequest
|
|
26
|
+
} from '@handsondigital/idplugger-admin';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new RolesApi(configuration);
|
|
30
|
+
|
|
31
|
+
let id: number; //ID da role (default to undefined)
|
|
32
|
+
let rolesAttachPermissionsRequest: RolesAttachPermissionsRequest; // (optional)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.rolesAttachPermissions(
|
|
35
|
+
id,
|
|
36
|
+
rolesAttachPermissionsRequest
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **rolesAttachPermissionsRequest** | **RolesAttachPermissionsRequest**| | |
|
|
45
|
+
| **id** | [**number**] | ID da role | defaults to undefined|
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
**RolesAttachPermissions200Response**
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: application/json
|
|
59
|
+
- **Accept**: application/json
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | success | - |
|
|
66
|
+
|**422** | validation error | - |
|
|
67
|
+
|
|
68
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
69
|
+
|
|
70
|
+
# **rolesDestroy**
|
|
71
|
+
> rolesDestroy()
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
RolesApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@handsondigital/idplugger-admin';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new RolesApi(configuration);
|
|
84
|
+
|
|
85
|
+
let id: number; //ID da role (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.rolesDestroy(
|
|
88
|
+
id
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **id** | [**number**] | ID da role | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
void (empty response body)
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: Not defined
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | success | - |
|
|
117
|
+
|**400** | failed | - |
|
|
118
|
+
|**404** | not found | - |
|
|
119
|
+
|
|
120
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
121
|
+
|
|
122
|
+
# **rolesIndex**
|
|
123
|
+
> RolesIndex200Response rolesIndex()
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Example
|
|
127
|
+
|
|
128
|
+
```typescript
|
|
129
|
+
import {
|
|
130
|
+
RolesApi,
|
|
131
|
+
Configuration
|
|
132
|
+
} from '@handsondigital/idplugger-admin';
|
|
133
|
+
|
|
134
|
+
const configuration = new Configuration();
|
|
135
|
+
const apiInstance = new RolesApi(configuration);
|
|
136
|
+
|
|
137
|
+
const { status, data } = await apiInstance.rolesIndex();
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Parameters
|
|
141
|
+
This endpoint does not have any parameters.
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
**RolesIndex200Response**
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
|
+
- **Accept**: application/json
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### HTTP response details
|
|
159
|
+
| Status code | Description | Response headers |
|
|
160
|
+
|-------------|-------------|------------------|
|
|
161
|
+
|**200** | success | - |
|
|
162
|
+
|**401** | unauthorized | - |
|
|
163
|
+
|**500** | failed | - |
|
|
164
|
+
|
|
165
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
166
|
+
|
|
167
|
+
# **rolesPermissions**
|
|
168
|
+
> RolesPermissions200Response rolesPermissions()
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Example
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
import {
|
|
175
|
+
RolesApi,
|
|
176
|
+
Configuration
|
|
177
|
+
} from '@handsondigital/idplugger-admin';
|
|
178
|
+
|
|
179
|
+
const configuration = new Configuration();
|
|
180
|
+
const apiInstance = new RolesApi(configuration);
|
|
181
|
+
|
|
182
|
+
let id: number; //ID da role (default to undefined)
|
|
183
|
+
|
|
184
|
+
const { status, data } = await apiInstance.rolesPermissions(
|
|
185
|
+
id
|
|
186
|
+
);
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Parameters
|
|
190
|
+
|
|
191
|
+
|Name | Type | Description | Notes|
|
|
192
|
+
|------------- | ------------- | ------------- | -------------|
|
|
193
|
+
| **id** | [**number**] | ID da role | defaults to undefined|
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Return type
|
|
197
|
+
|
|
198
|
+
**RolesPermissions200Response**
|
|
199
|
+
|
|
200
|
+
### Authorization
|
|
201
|
+
|
|
202
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
203
|
+
|
|
204
|
+
### HTTP request headers
|
|
205
|
+
|
|
206
|
+
- **Content-Type**: Not defined
|
|
207
|
+
- **Accept**: application/json
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### HTTP response details
|
|
211
|
+
| Status code | Description | Response headers |
|
|
212
|
+
|-------------|-------------|------------------|
|
|
213
|
+
|**200** | success | - |
|
|
214
|
+
|
|
215
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
216
|
+
|
|
217
|
+
# **rolesShow**
|
|
218
|
+
> RolesShow200Response rolesShow()
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Example
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
import {
|
|
225
|
+
RolesApi,
|
|
226
|
+
Configuration
|
|
227
|
+
} from '@handsondigital/idplugger-admin';
|
|
228
|
+
|
|
229
|
+
const configuration = new Configuration();
|
|
230
|
+
const apiInstance = new RolesApi(configuration);
|
|
231
|
+
|
|
232
|
+
let id: number; //ID da role (default to undefined)
|
|
233
|
+
|
|
234
|
+
const { status, data } = await apiInstance.rolesShow(
|
|
235
|
+
id
|
|
236
|
+
);
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Parameters
|
|
240
|
+
|
|
241
|
+
|Name | Type | Description | Notes|
|
|
242
|
+
|------------- | ------------- | ------------- | -------------|
|
|
243
|
+
| **id** | [**number**] | ID da role | defaults to undefined|
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
### Return type
|
|
247
|
+
|
|
248
|
+
**RolesShow200Response**
|
|
249
|
+
|
|
250
|
+
### Authorization
|
|
251
|
+
|
|
252
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
253
|
+
|
|
254
|
+
### HTTP request headers
|
|
255
|
+
|
|
256
|
+
- **Content-Type**: Not defined
|
|
257
|
+
- **Accept**: application/json
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
### HTTP response details
|
|
261
|
+
| Status code | Description | Response headers |
|
|
262
|
+
|-------------|-------------|------------------|
|
|
263
|
+
|**200** | success | - |
|
|
264
|
+
|**404** | not found | - |
|
|
265
|
+
|
|
266
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
267
|
+
|
|
268
|
+
# **rolesStore**
|
|
269
|
+
> RolesStore201Response rolesStore()
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
### Example
|
|
273
|
+
|
|
274
|
+
```typescript
|
|
275
|
+
import {
|
|
276
|
+
RolesApi,
|
|
277
|
+
Configuration,
|
|
278
|
+
RolesStoreRequest
|
|
279
|
+
} from '@handsondigital/idplugger-admin';
|
|
280
|
+
|
|
281
|
+
const configuration = new Configuration();
|
|
282
|
+
const apiInstance = new RolesApi(configuration);
|
|
283
|
+
|
|
284
|
+
let rolesStoreRequest: RolesStoreRequest; // (optional)
|
|
285
|
+
|
|
286
|
+
const { status, data } = await apiInstance.rolesStore(
|
|
287
|
+
rolesStoreRequest
|
|
288
|
+
);
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Parameters
|
|
292
|
+
|
|
293
|
+
|Name | Type | Description | Notes|
|
|
294
|
+
|------------- | ------------- | ------------- | -------------|
|
|
295
|
+
| **rolesStoreRequest** | **RolesStoreRequest**| | |
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Return type
|
|
299
|
+
|
|
300
|
+
**RolesStore201Response**
|
|
301
|
+
|
|
302
|
+
### Authorization
|
|
303
|
+
|
|
304
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
305
|
+
|
|
306
|
+
### HTTP request headers
|
|
307
|
+
|
|
308
|
+
- **Content-Type**: application/json
|
|
309
|
+
- **Accept**: application/json
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### HTTP response details
|
|
313
|
+
| Status code | Description | Response headers |
|
|
314
|
+
|-------------|-------------|------------------|
|
|
315
|
+
|**201** | created | - |
|
|
316
|
+
|**422** | validation error | - |
|
|
317
|
+
|**401** | unauthorized | - |
|
|
318
|
+
|
|
319
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
320
|
+
|
|
321
|
+
# **rolesUpdate**
|
|
322
|
+
> RolesUpdate200Response rolesUpdate()
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
### Example
|
|
326
|
+
|
|
327
|
+
```typescript
|
|
328
|
+
import {
|
|
329
|
+
RolesApi,
|
|
330
|
+
Configuration,
|
|
331
|
+
RolesUpdateRequest
|
|
332
|
+
} from '@handsondigital/idplugger-admin';
|
|
333
|
+
|
|
334
|
+
const configuration = new Configuration();
|
|
335
|
+
const apiInstance = new RolesApi(configuration);
|
|
336
|
+
|
|
337
|
+
let id: number; //ID da role (default to undefined)
|
|
338
|
+
let rolesUpdateRequest: RolesUpdateRequest; // (optional)
|
|
339
|
+
|
|
340
|
+
const { status, data } = await apiInstance.rolesUpdate(
|
|
341
|
+
id,
|
|
342
|
+
rolesUpdateRequest
|
|
343
|
+
);
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
### Parameters
|
|
347
|
+
|
|
348
|
+
|Name | Type | Description | Notes|
|
|
349
|
+
|------------- | ------------- | ------------- | -------------|
|
|
350
|
+
| **rolesUpdateRequest** | **RolesUpdateRequest**| | |
|
|
351
|
+
| **id** | [**number**] | ID da role | defaults to undefined|
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### Return type
|
|
355
|
+
|
|
356
|
+
**RolesUpdate200Response**
|
|
357
|
+
|
|
358
|
+
### Authorization
|
|
359
|
+
|
|
360
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
361
|
+
|
|
362
|
+
### HTTP request headers
|
|
363
|
+
|
|
364
|
+
- **Content-Type**: application/json
|
|
365
|
+
- **Accept**: application/json
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### HTTP response details
|
|
369
|
+
| Status code | Description | Response headers |
|
|
370
|
+
|-------------|-------------|------------------|
|
|
371
|
+
|**200** | success | - |
|
|
372
|
+
|**404** | not found | - |
|
|
373
|
+
|**422** | validation error | - |
|
|
374
|
+
|
|
375
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
376
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RolesAttachPermissions200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**role** | **object** | | [optional] [default to undefined]
|
|
12
|
+
**permissions** | **Array<object>** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RolesAttachPermissions200Response } from '@handsondigital/idplugger-admin';
|
|
18
|
+
|
|
19
|
+
const instance: RolesAttachPermissions200Response = {
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
23
|
+
role,
|
|
24
|
+
permissions,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RolesAttachPermissions422Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**permissions** | **Array<string>** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RolesAttachPermissions422Response } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: RolesAttachPermissions422Response = {
|
|
16
|
+
permissions,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RolesAttachPermissionsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**permissions** | **Array<number>** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RolesAttachPermissionsRequest } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: RolesAttachPermissionsRequest = {
|
|
16
|
+
permissions,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RolesDestroy400Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RolesDestroy400Response } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: RolesDestroy400Response = {
|
|
16
|
+
message,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RolesIndex200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**roles** | [**Array<RolesIndex200ResponseRolesInner>**](RolesIndex200ResponseRolesInner.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RolesIndex200Response } from '@handsondigital/idplugger-admin';
|
|
17
|
+
|
|
18
|
+
const instance: RolesIndex200Response = {
|
|
19
|
+
action,
|
|
20
|
+
result,
|
|
21
|
+
message,
|
|
22
|
+
roles,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RolesIndex200ResponseRolesInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**is_active** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RolesIndex200ResponseRolesInner } from '@handsondigital/idplugger-admin';
|
|
17
|
+
|
|
18
|
+
const instance: RolesIndex200ResponseRolesInner = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
description,
|
|
22
|
+
is_active,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RolesIndex500Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RolesIndex500Response } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: RolesIndex500Response = {
|
|
16
|
+
message,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RolesPermissions200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**role** | **object** | | [optional] [default to undefined]
|
|
12
|
+
**permissions** | **Array<object>** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RolesPermissions200Response } from '@handsondigital/idplugger-admin';
|
|
18
|
+
|
|
19
|
+
const instance: RolesPermissions200Response = {
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
23
|
+
role,
|
|
24
|
+
permissions,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RolesShow200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**role** | [**RolesShow200ResponseRole**](RolesShow200ResponseRole.md) | | [optional] [default to undefined]
|
|
12
|
+
**permissions** | [**Array<RolesShow200ResponsePermissionsInner>**](RolesShow200ResponsePermissionsInner.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RolesShow200Response } from '@handsondigital/idplugger-admin';
|
|
18
|
+
|
|
19
|
+
const instance: RolesShow200Response = {
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
23
|
+
role,
|
|
24
|
+
permissions,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RolesShow200ResponsePermissionsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**is_active** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RolesShow200ResponsePermissionsInner } from '@handsondigital/idplugger-admin';
|
|
20
|
+
|
|
21
|
+
const instance: RolesShow200ResponsePermissionsInner = {
|
|
22
|
+
id,
|
|
23
|
+
key,
|
|
24
|
+
title,
|
|
25
|
+
description,
|
|
26
|
+
category,
|
|
27
|
+
action,
|
|
28
|
+
is_active,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RolesShow200ResponseRole
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**is_active** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RolesShow200ResponseRole } from '@handsondigital/idplugger-admin';
|
|
17
|
+
|
|
18
|
+
const instance: RolesShow200ResponseRole = {
|
|
19
|
+
id,
|
|
20
|
+
name,
|
|
21
|
+
description,
|
|
22
|
+
is_active,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RolesStore201Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**role** | [**RolesStore201ResponseRole**](RolesStore201ResponseRole.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RolesStore201Response } from '@handsondigital/idplugger-admin';
|
|
17
|
+
|
|
18
|
+
const instance: RolesStore201Response = {
|
|
19
|
+
action,
|
|
20
|
+
result,
|
|
21
|
+
message,
|
|
22
|
+
role,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|