@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Metrics200ResponseUsersInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**value** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**time** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Metrics200ResponseUsersInner } from '@handsondigital/idplugger-admin';
|
|
15
|
+
|
|
16
|
+
const instance: Metrics200ResponseUsersInner = {
|
|
17
|
+
value,
|
|
18
|
+
time,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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
|
+
# Metrics400Response
|
|
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 { Metrics400Response } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: Metrics400Response = {
|
|
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,75 @@
|
|
|
1
|
+
# MetricsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.idplugger.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**metrics**](#metrics) | **GET** /v3/metrics | Devolve as métricas da promoção|
|
|
8
|
+
|
|
9
|
+
# **metrics**
|
|
10
|
+
> Metrics200Response metrics()
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import {
|
|
17
|
+
MetricsApi,
|
|
18
|
+
Configuration
|
|
19
|
+
} from '@handsondigital/idplugger-admin';
|
|
20
|
+
|
|
21
|
+
const configuration = new Configuration();
|
|
22
|
+
const apiInstance = new MetricsApi(configuration);
|
|
23
|
+
|
|
24
|
+
let promotionId: string; //ID da promoção (default to undefined)
|
|
25
|
+
let keys: Array<string>; //Chaves das métricas que deseja consultar. Exemplo: `keys[]=users&keys[]=coupons&keys[]=luckyNumbers` (default to undefined)
|
|
26
|
+
let startDate: string; //Data inicial para filtrar as métricas (optional) (default to undefined)
|
|
27
|
+
let endDate: string; //Data final para filtrar as métricas (optional) (default to undefined)
|
|
28
|
+
let limit: number; //Limite de resultados (optional) (default to undefined)
|
|
29
|
+
let resolution: string; //Resolução das métricas. Exemplo: `minute`, `hour`, `day` (optional) (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.metrics(
|
|
32
|
+
promotionId,
|
|
33
|
+
keys,
|
|
34
|
+
startDate,
|
|
35
|
+
endDate,
|
|
36
|
+
limit,
|
|
37
|
+
resolution
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **promotionId** | [**string**] | ID da promoção | defaults to undefined|
|
|
46
|
+
| **keys** | **Array<string>** | Chaves das métricas que deseja consultar. Exemplo: `keys[]=users&keys[]=coupons&keys[]=luckyNumbers` | defaults to undefined|
|
|
47
|
+
| **startDate** | [**string**] | Data inicial para filtrar as métricas | (optional) defaults to undefined|
|
|
48
|
+
| **endDate** | [**string**] | Data final para filtrar as métricas | (optional) defaults to undefined|
|
|
49
|
+
| **limit** | [**number**] | Limite de resultados | (optional) defaults to undefined|
|
|
50
|
+
| **resolution** | [**string**] | Resolução das métricas. Exemplo: `minute`, `hour`, `day` | (optional) defaults to undefined|
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Return type
|
|
54
|
+
|
|
55
|
+
**Metrics200Response**
|
|
56
|
+
|
|
57
|
+
### Authorization
|
|
58
|
+
|
|
59
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
60
|
+
|
|
61
|
+
### HTTP request headers
|
|
62
|
+
|
|
63
|
+
- **Content-Type**: Not defined
|
|
64
|
+
- **Accept**: application/json
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### HTTP response details
|
|
68
|
+
| Status code | Description | Response headers |
|
|
69
|
+
|-------------|-------------|------------------|
|
|
70
|
+
|**200** | success | - |
|
|
71
|
+
|**400** | failed | - |
|
|
72
|
+
|**401** | unauthorized | - |
|
|
73
|
+
|
|
74
|
+
[[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)
|
|
75
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# PromotionApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.idplugger.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**promotionPullConfiguration**](#promotionpullconfiguration) | **POST** /v3/admin/pullconfiguration | Adicionar/Atualizar configurações de uma promoção ao orquestrador|
|
|
8
|
+
|[**promotionStart**](#promotionstart) | **POST** /v3/admin/promotion/start | Iniciar uma promoção na API|
|
|
9
|
+
|
|
10
|
+
# **promotionPullConfiguration**
|
|
11
|
+
> PromotionPullConfiguration200Response promotionPullConfiguration()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
PromotionApi,
|
|
19
|
+
Configuration,
|
|
20
|
+
PromotionPullConfigurationRequest
|
|
21
|
+
} from '@handsondigital/idplugger-admin';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new PromotionApi(configuration);
|
|
25
|
+
|
|
26
|
+
let promotionPullConfigurationRequest: PromotionPullConfigurationRequest; // (optional)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.promotionPullConfiguration(
|
|
29
|
+
promotionPullConfigurationRequest
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **promotionPullConfigurationRequest** | **PromotionPullConfigurationRequest**| | |
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**PromotionPullConfiguration200Response**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: application/json
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | success | - |
|
|
58
|
+
|**401** | failed | - |
|
|
59
|
+
|**500** | failed | - |
|
|
60
|
+
|
|
61
|
+
[[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)
|
|
62
|
+
|
|
63
|
+
# **promotionStart**
|
|
64
|
+
> PromotionStart200Response promotionStart()
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Example
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
import {
|
|
71
|
+
PromotionApi,
|
|
72
|
+
Configuration,
|
|
73
|
+
PromotionStartRequest
|
|
74
|
+
} from '@handsondigital/idplugger-admin';
|
|
75
|
+
|
|
76
|
+
const configuration = new Configuration();
|
|
77
|
+
const apiInstance = new PromotionApi(configuration);
|
|
78
|
+
|
|
79
|
+
let promotionStartRequest: PromotionStartRequest; // (optional)
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.promotionStart(
|
|
82
|
+
promotionStartRequest
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **promotionStartRequest** | **PromotionStartRequest**| | |
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
**PromotionStart200Response**
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: application/json
|
|
104
|
+
- **Accept**: application/json
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### HTTP response details
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
|**200** | success | - |
|
|
111
|
+
|**401** | failed | - |
|
|
112
|
+
|**500** | failed | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PromotionPullConfiguration200Response
|
|
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
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PromotionPullConfiguration200Response } from '@handsondigital/idplugger-admin';
|
|
16
|
+
|
|
17
|
+
const instance: PromotionPullConfiguration200Response = {
|
|
18
|
+
action,
|
|
19
|
+
result,
|
|
20
|
+
message,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,24 @@
|
|
|
1
|
+
# PromotionPullConfiguration500Response
|
|
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
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PromotionPullConfiguration500Response } from '@handsondigital/idplugger-admin';
|
|
16
|
+
|
|
17
|
+
const instance: PromotionPullConfiguration500Response = {
|
|
18
|
+
action,
|
|
19
|
+
result,
|
|
20
|
+
message,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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
|
+
# PromotionPullConfigurationRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**db** | [**PromotionPullConfigurationRequestDb**](PromotionPullConfigurationRequestDb.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PromotionPullConfigurationRequest } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: PromotionPullConfigurationRequest = {
|
|
16
|
+
db,
|
|
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
|
+
# PromotionPullConfigurationRequestDb
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**host** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**port** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**pass** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PromotionPullConfigurationRequestDb } from '@handsondigital/idplugger-admin';
|
|
18
|
+
|
|
19
|
+
const instance: PromotionPullConfigurationRequestDb = {
|
|
20
|
+
host,
|
|
21
|
+
port,
|
|
22
|
+
name,
|
|
23
|
+
user,
|
|
24
|
+
pass,
|
|
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
|
+
# PromotionStart200Response
|
|
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
|
+
**promotion_id** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**user** | [**PromotionStart200ResponseUser**](PromotionStart200ResponseUser.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PromotionStart200Response } from '@handsondigital/idplugger-admin';
|
|
18
|
+
|
|
19
|
+
const instance: PromotionStart200Response = {
|
|
20
|
+
action,
|
|
21
|
+
result,
|
|
22
|
+
message,
|
|
23
|
+
promotion_id,
|
|
24
|
+
user,
|
|
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,30 @@
|
|
|
1
|
+
# PromotionStart200ResponseUser
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**permissions** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PromotionStart200ResponseUser } from '@handsondigital/idplugger-admin';
|
|
19
|
+
|
|
20
|
+
const instance: PromotionStart200ResponseUser = {
|
|
21
|
+
password,
|
|
22
|
+
username,
|
|
23
|
+
name,
|
|
24
|
+
email,
|
|
25
|
+
uuid,
|
|
26
|
+
permissions,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,24 @@
|
|
|
1
|
+
# PromotionStartRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**db** | [**PromotionPullConfigurationRequestDb**](PromotionPullConfigurationRequestDb.md) | | [optional] [default to undefined]
|
|
9
|
+
**user** | [**PromotionStartRequestUser**](PromotionStartRequestUser.md) | | [optional] [default to undefined]
|
|
10
|
+
**permissions** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PromotionStartRequest } from '@handsondigital/idplugger-admin';
|
|
16
|
+
|
|
17
|
+
const instance: PromotionStartRequest = {
|
|
18
|
+
db,
|
|
19
|
+
user,
|
|
20
|
+
permissions,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,24 @@
|
|
|
1
|
+
# PromotionStartRequestUser
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**username** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PromotionStartRequestUser } from '@handsondigital/idplugger-admin';
|
|
16
|
+
|
|
17
|
+
const instance: PromotionStartRequestUser = {
|
|
18
|
+
username,
|
|
19
|
+
name,
|
|
20
|
+
email,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|