@teemill/teemill-clients 0.1.3 → 0.1.4
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/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +13 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +13 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +13 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Client.md +4 -0
- package/docs/UpdateClientRequest.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.26.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/teemill-clients@0.1.
|
|
1
|
+
## @teemill/teemill-clients@0.1.4
|
|
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 @teemill/teemill-clients@0.1.
|
|
39
|
+
npm install @teemill/teemill-clients@0.1.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Teemill Clients
|
|
5
5
|
* Manage Teemill Client Projects.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.
|
|
7
|
+
* The version of the OpenAPI document: 0.1.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,6 +36,14 @@ export interface Client {
|
|
|
36
36
|
*/
|
|
37
37
|
'proEnabled': boolean;
|
|
38
38
|
'paymentInterval': PaymentInterval;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the client\'s store is disabled
|
|
41
|
+
*/
|
|
42
|
+
'disabled': boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the client has been flagged as fraudulent by moderation. Cleared when the store is re-enabled with `disabled` set to `false`.
|
|
45
|
+
*/
|
|
46
|
+
'fraud': boolean;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
|
|
@@ -57,6 +65,10 @@ export interface UpdateClientRequest {
|
|
|
57
65
|
*/
|
|
58
66
|
'enablePro'?: boolean;
|
|
59
67
|
'paymentInterval'?: PaymentInterval;
|
|
68
|
+
/**
|
|
69
|
+
* Set `true` to disable the client\'s store or `false` to re-enable it. Omit to leave it unchanged. Re-enabling a store flagged as fraud also approves the client, unfreezes their royalties and releases orders frozen for fraud.
|
|
70
|
+
*/
|
|
71
|
+
'disabled'?: boolean;
|
|
60
72
|
}
|
|
61
73
|
|
|
62
74
|
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Teemill Clients
|
|
3
3
|
* Manage Teemill Client Projects.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,6 +26,14 @@ export interface Client {
|
|
|
26
26
|
*/
|
|
27
27
|
'proEnabled': boolean;
|
|
28
28
|
'paymentInterval': PaymentInterval;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the client\'s store is disabled
|
|
31
|
+
*/
|
|
32
|
+
'disabled': boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the client has been flagged as fraudulent by moderation. Cleared when the store is re-enabled with `disabled` set to `false`.
|
|
35
|
+
*/
|
|
36
|
+
'fraud': boolean;
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* How often the client is paid their royalties. `daily` pays out every day, `monthly` pays out once a month.
|
|
@@ -41,6 +49,10 @@ export interface UpdateClientRequest {
|
|
|
41
49
|
*/
|
|
42
50
|
'enablePro'?: boolean;
|
|
43
51
|
'paymentInterval'?: PaymentInterval;
|
|
52
|
+
/**
|
|
53
|
+
* Set `true` to disable the client\'s store or `false` to re-enable it. Omit to leave it unchanged. Re-enabling a store flagged as fraud also approves the client, unfreezes their royalties and releases orders frozen for fraud.
|
|
54
|
+
*/
|
|
55
|
+
'disabled'?: boolean;
|
|
44
56
|
}
|
|
45
57
|
/**
|
|
46
58
|
* TeemillClientsApi - axios parameter creator
|
package/dist/api.js
CHANGED
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Teemill Clients
|
|
3
3
|
* Manage Teemill Client Projects.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.4
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,6 +26,14 @@ export interface Client {
|
|
|
26
26
|
*/
|
|
27
27
|
'proEnabled': boolean;
|
|
28
28
|
'paymentInterval': PaymentInterval;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the client\'s store is disabled
|
|
31
|
+
*/
|
|
32
|
+
'disabled': boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the client has been flagged as fraudulent by moderation. Cleared when the store is re-enabled with `disabled` set to `false`.
|
|
35
|
+
*/
|
|
36
|
+
'fraud': boolean;
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* How often the client is paid their royalties. `daily` pays out every day, `monthly` pays out once a month.
|
|
@@ -41,6 +49,10 @@ export interface UpdateClientRequest {
|
|
|
41
49
|
*/
|
|
42
50
|
'enablePro'?: boolean;
|
|
43
51
|
'paymentInterval'?: PaymentInterval;
|
|
52
|
+
/**
|
|
53
|
+
* Set `true` to disable the client\'s store or `false` to re-enable it. Omit to leave it unchanged. Re-enabling a store flagged as fraud also approves the client, unfreezes their royalties and releases orders frozen for fraud.
|
|
54
|
+
*/
|
|
55
|
+
'disabled'?: boolean;
|
|
44
56
|
}
|
|
45
57
|
/**
|
|
46
58
|
* TeemillClientsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/Client.md
CHANGED
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**proEnabled** | **boolean** | Whether the client has a Teemill Pro subscription | [default to undefined]
|
|
10
10
|
**paymentInterval** | [**PaymentInterval**](PaymentInterval.md) | | [default to undefined]
|
|
11
|
+
**disabled** | **boolean** | Whether the client\'s store is disabled | [default to undefined]
|
|
12
|
+
**fraud** | **boolean** | Whether the client has been flagged as fraudulent by moderation. Cleared when the store is re-enabled with `disabled` set to `false`. | [default to undefined]
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -17,6 +19,8 @@ import { Client } from '@teemill/teemill-clients';
|
|
|
17
19
|
const instance: Client = {
|
|
18
20
|
proEnabled,
|
|
19
21
|
paymentInterval,
|
|
22
|
+
disabled,
|
|
23
|
+
fraud,
|
|
20
24
|
};
|
|
21
25
|
```
|
|
22
26
|
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**enablePro** | **boolean** | Whether to enable Teemill Pro for the client | [optional] [default to false]
|
|
9
9
|
**paymentInterval** | [**PaymentInterval**](PaymentInterval.md) | | [optional] [default to undefined]
|
|
10
|
+
**disabled** | **boolean** | Set `true` to disable the client\'s store or `false` to re-enable it. Omit to leave it unchanged. Re-enabling a store flagged as fraud also approves the client, unfreezes their royalties and releases orders frozen for fraud. | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { UpdateClientRequest } from '@teemill/teemill-clients';
|
|
|
16
17
|
const instance: UpdateClientRequest = {
|
|
17
18
|
enablePro,
|
|
18
19
|
paymentInterval,
|
|
20
|
+
disabled,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
package/index.ts
CHANGED