yellowgrid-api-ts 3.2.239 → 3.2.241

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.
@@ -0,0 +1,37 @@
1
+ # ReportRequestDTO
2
+
3
+ Report Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **report** | **string** | Report | [optional] [default to undefined]
10
+ **start** | **string** | Start | [optional] [default to undefined]
11
+ **end** | **string** | End | [optional] [default to undefined]
12
+ **month** | **number** | Month | [optional] [default to undefined]
13
+ **year** | **number** | Year | [optional] [default to undefined]
14
+ **sku** | **string** | SKU | [optional] [default to undefined]
15
+ **price** | **number** | Price | [optional] [default to undefined]
16
+ **recipients** | **Array<string>** | Recipients | [optional] [default to undefined]
17
+ **graphType** | **string** | Graph Type | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { ReportRequestDTO } from 'yellowgrid-api-ts';
23
+
24
+ const instance: ReportRequestDTO = {
25
+ report,
26
+ start,
27
+ end,
28
+ month,
29
+ year,
30
+ sku,
31
+ price,
32
+ recipients,
33
+ graphType,
34
+ };
35
+ ```
36
+
37
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,6 +5,7 @@ All URIs are relative to *https://bitbucket.org*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetStockReport**](#getgetstockreport) | **GET** /reports/stock | |
8
+ |[**postGenerateReport**](#postgeneratereport) | **POST** /reports | Generate Reports|
8
9
 
9
10
  # **getGetStockReport**
10
11
  > StockReportModel getGetStockReport()
@@ -50,3 +51,57 @@ No authorization required
50
51
 
51
52
  [[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)
52
53
 
54
+ # **postGenerateReport**
55
+ > PostGenerateReport200Response postGenerateReport()
56
+
57
+ Generate Reports
58
+
59
+ ### Example
60
+
61
+ ```typescript
62
+ import {
63
+ ReportsApi,
64
+ Configuration,
65
+ ReportRequestDTO
66
+ } from 'yellowgrid-api-ts';
67
+
68
+ const configuration = new Configuration();
69
+ const apiInstance = new ReportsApi(configuration);
70
+
71
+ let reportRequestDTO: ReportRequestDTO; //Report Request (optional)
72
+
73
+ const { status, data } = await apiInstance.postGenerateReport(
74
+ reportRequestDTO
75
+ );
76
+ ```
77
+
78
+ ### Parameters
79
+
80
+ |Name | Type | Description | Notes|
81
+ |------------- | ------------- | ------------- | -------------|
82
+ | **reportRequestDTO** | **ReportRequestDTO**| Report Request | |
83
+
84
+
85
+ ### Return type
86
+
87
+ **PostGenerateReport200Response**
88
+
89
+ ### Authorization
90
+
91
+ No authorization required
92
+
93
+ ### HTTP request headers
94
+
95
+ - **Content-Type**: application/json
96
+ - **Accept**: application/json
97
+
98
+
99
+ ### HTTP response details
100
+ | Status code | Description | Response headers |
101
+ |-------------|-------------|------------------|
102
+ |**200** | Report generated | - |
103
+ |**204** | No Response | - |
104
+ |**400** | Bad Request | - |
105
+
106
+ [[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)
107
+
@@ -0,0 +1,27 @@
1
+ # SeriesDTO
2
+
3
+ Graph Series Data
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | Name | [optional] [default to undefined]
10
+ **type** | **string** | Type | [optional] [default to undefined]
11
+ **stack** | **string** | Stack | [optional] [default to undefined]
12
+ **data** | **Array<string>** | Data | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { SeriesDTO } from 'yellowgrid-api-ts';
18
+
19
+ const instance: SeriesDTO = {
20
+ name,
21
+ type,
22
+ stack,
23
+ data,
24
+ };
25
+ ```
26
+
27
+ [[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,25 @@
1
+ # TableDTO
2
+
3
+ Table
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | Title | [optional] [default to undefined]
10
+ **headers** | [**TableRowDTO**](TableRowDTO.md) | | [optional] [default to undefined]
11
+ **rows** | [**Array<TableRowDTO>**](TableRowDTO.md) | Rows | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { TableDTO } from 'yellowgrid-api-ts';
17
+
18
+ const instance: TableDTO = {
19
+ title,
20
+ headers,
21
+ rows,
22
+ };
23
+ ```
24
+
25
+ [[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,21 @@
1
+ # TableDataDTO
2
+
3
+ Table Data
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **value** | **string** | Value | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { TableDataDTO } from 'yellowgrid-api-ts';
15
+
16
+ const instance: TableDataDTO = {
17
+ value,
18
+ };
19
+ ```
20
+
21
+ [[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,21 @@
1
+ # TableRowDTO
2
+
3
+ Table Row
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **data** | [**Array<TableDataDTO>**](TableDataDTO.md) | Table Data | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { TableRowDTO } from 'yellowgrid-api-ts';
15
+
16
+ const instance: TableRowDTO = {
17
+ data,
18
+ };
19
+ ```
20
+
21
+ [[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,14 @@
1
+ export const GraphTypeEnum = {
2
+ "STACKED": {
3
+ "name": "STACKED",
4
+ "value": "stacked-area",
5
+ "publicValue": "Stacked Area"
6
+ },
7
+ "TABLE": {
8
+ "name": "TABLE",
9
+ "value": "table",
10
+ "publicValue": "Table"
11
+ }
12
+ } as const;
13
+
14
+ export type GraphTypeEnum = typeof GraphTypeEnum;
@@ -0,0 +1,54 @@
1
+ export const ReportEnum = {
2
+ "STOCK": {
3
+ "name": "STOCK",
4
+ "value": 1,
5
+ "publicValue": "Stock"
6
+ },
7
+ "POS": {
8
+ "name": "POS",
9
+ "value": 2,
10
+ "publicValue": "POS"
11
+ },
12
+ "CUSTOMER_SPEND": {
13
+ "name": "CUSTOMER_SPEND",
14
+ "value": 3,
15
+ "publicValue": "Customer Spend"
16
+ },
17
+ "MONTHLY_SALES": {
18
+ "name": "MONTHLY_SALES",
19
+ "value": 4,
20
+ "publicValue": "Monthly Sales"
21
+ },
22
+ "CUSTOMER_ANNUAL_COMPARISON": {
23
+ "name": "CUSTOMER_ANNUAL_COMPARISON",
24
+ "value": 5,
25
+ "publicValue": "Customer Annual Comparison"
26
+ },
27
+ "LOW_STOCK": {
28
+ "name": "LOW_STOCK",
29
+ "value": 6,
30
+ "publicValue": "Low Stock"
31
+ },
32
+ "LEAGUE_TABLE": {
33
+ "name": "LEAGUE_TABLE",
34
+ "value": 7,
35
+ "publicValue": "League Table"
36
+ },
37
+ "REVENUE": {
38
+ "name": "REVENUE",
39
+ "value": 8,
40
+ "publicValue": "Revenue"
41
+ },
42
+ "EXPENDITURE": {
43
+ "name": "EXPENDITURE",
44
+ "value": 9,
45
+ "publicValue": "Expenditure"
46
+ },
47
+ "TECH_SUPPORT_CUSTOMERS": {
48
+ "name": "TECH_SUPPORT_CUSTOMERS",
49
+ "value": 10,
50
+ "publicValue": "Tech Support Customers"
51
+ }
52
+ } as const;
53
+
54
+ export type ReportEnum = typeof ReportEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.239",
3
+ "version": "3.2.241",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {