@handsondigital/idplugger-admin 2.3.0 → 2.4.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/README.md +2 -2
- package/api.ts +36 -0
- package/dist/api.d.ts +36 -0
- package/docs/PromotionStartRequest.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-admin@2.
|
|
1
|
+
## @handsondigital/idplugger-admin@2.4.0
|
|
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.
|
|
39
|
+
npm install @handsondigital/idplugger-admin@2.4.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -1963,6 +1963,42 @@ export type PromotionStart200ResponseUserPermissionsEnum = typeof PromotionStart
|
|
|
1963
1963
|
* @interface PromotionStartRequest
|
|
1964
1964
|
*/
|
|
1965
1965
|
export interface PromotionStartRequest {
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {number}
|
|
1969
|
+
* @memberof PromotionStartRequest
|
|
1970
|
+
*/
|
|
1971
|
+
'client_id'?: number;
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
* @type {number}
|
|
1975
|
+
* @memberof PromotionStartRequest
|
|
1976
|
+
*/
|
|
1977
|
+
'brand_id'?: number;
|
|
1978
|
+
/**
|
|
1979
|
+
*
|
|
1980
|
+
* @type {string}
|
|
1981
|
+
* @memberof PromotionStartRequest
|
|
1982
|
+
*/
|
|
1983
|
+
'promotion_name'?: string;
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @type {string}
|
|
1987
|
+
* @memberof PromotionStartRequest
|
|
1988
|
+
*/
|
|
1989
|
+
'promotion_mechanic'?: string;
|
|
1990
|
+
/**
|
|
1991
|
+
*
|
|
1992
|
+
* @type {string}
|
|
1993
|
+
* @memberof PromotionStartRequest
|
|
1994
|
+
*/
|
|
1995
|
+
'data_inicio'?: string;
|
|
1996
|
+
/**
|
|
1997
|
+
*
|
|
1998
|
+
* @type {string}
|
|
1999
|
+
* @memberof PromotionStartRequest
|
|
2000
|
+
*/
|
|
2001
|
+
'data_fim'?: string;
|
|
1966
2002
|
/**
|
|
1967
2003
|
*
|
|
1968
2004
|
* @type {PromotionPullConfigurationRequestDb}
|
package/dist/api.d.ts
CHANGED
|
@@ -1954,6 +1954,42 @@ export type PromotionStart200ResponseUserPermissionsEnum = typeof PromotionStart
|
|
|
1954
1954
|
* @interface PromotionStartRequest
|
|
1955
1955
|
*/
|
|
1956
1956
|
export interface PromotionStartRequest {
|
|
1957
|
+
/**
|
|
1958
|
+
*
|
|
1959
|
+
* @type {number}
|
|
1960
|
+
* @memberof PromotionStartRequest
|
|
1961
|
+
*/
|
|
1962
|
+
'client_id'?: number;
|
|
1963
|
+
/**
|
|
1964
|
+
*
|
|
1965
|
+
* @type {number}
|
|
1966
|
+
* @memberof PromotionStartRequest
|
|
1967
|
+
*/
|
|
1968
|
+
'brand_id'?: number;
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @type {string}
|
|
1972
|
+
* @memberof PromotionStartRequest
|
|
1973
|
+
*/
|
|
1974
|
+
'promotion_name'?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
*
|
|
1977
|
+
* @type {string}
|
|
1978
|
+
* @memberof PromotionStartRequest
|
|
1979
|
+
*/
|
|
1980
|
+
'promotion_mechanic'?: string;
|
|
1981
|
+
/**
|
|
1982
|
+
*
|
|
1983
|
+
* @type {string}
|
|
1984
|
+
* @memberof PromotionStartRequest
|
|
1985
|
+
*/
|
|
1986
|
+
'data_inicio'?: string;
|
|
1987
|
+
/**
|
|
1988
|
+
*
|
|
1989
|
+
* @type {string}
|
|
1990
|
+
* @memberof PromotionStartRequest
|
|
1991
|
+
*/
|
|
1992
|
+
'data_fim'?: string;
|
|
1957
1993
|
/**
|
|
1958
1994
|
*
|
|
1959
1995
|
* @type {PromotionPullConfigurationRequestDb}
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
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]
|
|
8
14
|
**db** | [**PromotionPullConfigurationRequestDb**](PromotionPullConfigurationRequestDb.md) | | [optional] [default to undefined]
|
|
9
15
|
**user** | [**PromotionStartRequestUser**](PromotionStartRequestUser.md) | | [optional] [default to undefined]
|
|
10
16
|
**permissions** | **Array<string>** | | [optional] [default to undefined]
|
|
@@ -15,6 +21,12 @@ Name | Type | Description | Notes
|
|
|
15
21
|
import { PromotionStartRequest } from '@handsondigital/idplugger-admin';
|
|
16
22
|
|
|
17
23
|
const instance: PromotionStartRequest = {
|
|
24
|
+
client_id,
|
|
25
|
+
brand_id,
|
|
26
|
+
promotion_name,
|
|
27
|
+
promotion_mechanic,
|
|
28
|
+
data_inicio,
|
|
29
|
+
data_fim,
|
|
18
30
|
db,
|
|
19
31
|
user,
|
|
20
32
|
permissions,
|