@handsondigital/idplugger-admin 2.6.0 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @handsondigital/idplugger-admin@2.6.0
1
+ ## @handsondigital/idplugger-admin@2.6.2
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @handsondigital/idplugger-admin@2.6.0 --save
39
+ npm install @handsondigital/idplugger-admin@2.6.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1864,6 +1864,12 @@ export interface AuthMe200Response {
1864
1864
  * @memberof AuthMe200Response
1865
1865
  */
1866
1866
  'name'?: string;
1867
+ /**
1868
+ *
1869
+ * @type {string}
1870
+ * @memberof AuthMe200Response
1871
+ */
1872
+ 'role'?: string;
1867
1873
  /**
1868
1874
  * Promoções que o usuário tem acesso
1869
1875
  * @type {Array<AuthMe200ResponsePromotionsInner>}
@@ -2409,31 +2415,7 @@ export interface PromotionStartRequest {
2409
2415
  * @type {number}
2410
2416
  * @memberof PromotionStartRequest
2411
2417
  */
2412
- 'brand_id'?: number;
2413
- /**
2414
- *
2415
- * @type {string}
2416
- * @memberof PromotionStartRequest
2417
- */
2418
- 'promotion_name'?: string;
2419
- /**
2420
- *
2421
- * @type {string}
2422
- * @memberof PromotionStartRequest
2423
- */
2424
- 'promotion_mechanic'?: string;
2425
- /**
2426
- *
2427
- * @type {string}
2428
- * @memberof PromotionStartRequest
2429
- */
2430
- 'data_inicio'?: string;
2431
- /**
2432
- *
2433
- * @type {string}
2434
- * @memberof PromotionStartRequest
2435
- */
2436
- 'data_fim'?: string;
2418
+ 'campaign_id'?: number;
2437
2419
  /**
2438
2420
  *
2439
2421
  * @type {PromotionPullConfigurationRequestDb}
package/dist/api.d.ts CHANGED
@@ -1855,6 +1855,12 @@ export interface AuthMe200Response {
1855
1855
  * @memberof AuthMe200Response
1856
1856
  */
1857
1857
  'name'?: string;
1858
+ /**
1859
+ *
1860
+ * @type {string}
1861
+ * @memberof AuthMe200Response
1862
+ */
1863
+ 'role'?: string;
1858
1864
  /**
1859
1865
  * Promoções que o usuário tem acesso
1860
1866
  * @type {Array<AuthMe200ResponsePromotionsInner>}
@@ -2399,31 +2405,7 @@ export interface PromotionStartRequest {
2399
2405
  * @type {number}
2400
2406
  * @memberof PromotionStartRequest
2401
2407
  */
2402
- 'brand_id'?: number;
2403
- /**
2404
- *
2405
- * @type {string}
2406
- * @memberof PromotionStartRequest
2407
- */
2408
- 'promotion_name'?: string;
2409
- /**
2410
- *
2411
- * @type {string}
2412
- * @memberof PromotionStartRequest
2413
- */
2414
- 'promotion_mechanic'?: string;
2415
- /**
2416
- *
2417
- * @type {string}
2418
- * @memberof PromotionStartRequest
2419
- */
2420
- 'data_inicio'?: string;
2421
- /**
2422
- *
2423
- * @type {string}
2424
- * @memberof PromotionStartRequest
2425
- */
2426
- 'data_fim'?: string;
2408
+ 'campaign_id'?: number;
2427
2409
  /**
2428
2410
  *
2429
2411
  * @type {PromotionPullConfigurationRequestDb}
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **username** | **string** | | [optional] [default to undefined]
10
10
  **email** | **string** | | [optional] [default to undefined]
11
11
  **name** | **string** | | [optional] [default to undefined]
12
+ **role** | **string** | | [optional] [default to undefined]
12
13
  **promotions** | [**Array&lt;AuthMe200ResponsePromotionsInner&gt;**](AuthMe200ResponsePromotionsInner.md) | Promoções que o usuário tem acesso | [optional] [default to undefined]
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const instance: AuthMe200Response = {
21
22
  username,
22
23
  email,
23
24
  name,
25
+ role,
24
26
  promotions,
25
27
  };
26
28
  ```
@@ -6,11 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **client_id** | **number** | | [optional] [default to undefined]
9
- **brand_id** | **number** | | [optional] [default to undefined]
10
- **promotion_name** | **string** | | [optional] [default to undefined]
11
- **promotion_mechanic** | **string** | | [optional] [default to undefined]
12
- **data_inicio** | **string** | | [optional] [default to undefined]
13
- **data_fim** | **string** | | [optional] [default to undefined]
9
+ **campaign_id** | **number** | | [optional] [default to undefined]
14
10
  **db** | [**PromotionPullConfigurationRequestDb**](PromotionPullConfigurationRequestDb.md) | | [optional] [default to undefined]
15
11
  **user** | [**PromotionStartRequestUser**](PromotionStartRequestUser.md) | | [optional] [default to undefined]
16
12
  **permissions** | **Array&lt;string&gt;** | | [optional] [default to undefined]
@@ -22,11 +18,7 @@ import { PromotionStartRequest } from '@handsondigital/idplugger-admin';
22
18
 
23
19
  const instance: PromotionStartRequest = {
24
20
  client_id,
25
- brand_id,
26
- promotion_name,
27
- promotion_mechanic,
28
- data_inicio,
29
- data_fim,
21
+ campaign_id,
30
22
  db,
31
23
  user,
32
24
  permissions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsondigital/idplugger-admin",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "OpenAPI client for @handsondigital/idplugger-admin",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {