@handsondigital/idplugger-admin 2.0.2 → 2.1.1

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,113 @@
1
+ # ApiLogsApi
2
+
3
+ All URIs are relative to *https://api.idplugger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**adminLogsGet**](#adminlogsget) | **GET** /admin/logs | List API logs|
8
+ |[**adminLogsIdGet**](#adminlogsidget) | **GET** /admin/logs/{id} | Get specific API log|
9
+
10
+ # **adminLogsGet**
11
+ > ApiLogPaginated adminLogsGet()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ ApiLogsApi,
19
+ Configuration
20
+ } from '@handsondigital/idplugger-admin';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new ApiLogsApi(configuration);
24
+
25
+ let q: string; //Search text (optional) (default to undefined)
26
+ let date: string; //Filter by date (YYYY-MM-DD) (optional) (default to undefined)
27
+
28
+ const { status, data } = await apiInstance.adminLogsGet(
29
+ q,
30
+ date
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **q** | [**string**] | Search text | (optional) defaults to undefined|
39
+ | **date** | [**string**] | Filter by date (YYYY-MM-DD) | (optional) defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **ApiLogPaginated**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Success | - |
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
+ # **adminLogsIdGet**
64
+ > ApiLog adminLogsIdGet()
65
+
66
+
67
+ ### Example
68
+
69
+ ```typescript
70
+ import {
71
+ ApiLogsApi,
72
+ Configuration
73
+ } from '@handsondigital/idplugger-admin';
74
+
75
+ const configuration = new Configuration();
76
+ const apiInstance = new ApiLogsApi(configuration);
77
+
78
+ let id: number; // (default to undefined)
79
+
80
+ const { status, data } = await apiInstance.adminLogsIdGet(
81
+ id
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **id** | [**number**] | | defaults to undefined|
90
+
91
+
92
+ ### Return type
93
+
94
+ **ApiLog**
95
+
96
+ ### Authorization
97
+
98
+ No authorization required
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: Not defined
103
+ - **Accept**: application/json
104
+
105
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | Success | - |
110
+ |**404** | Not found | - |
111
+
112
+ [[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)
113
+
@@ -0,0 +1,34 @@
1
+ # ErrorReport
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **trace** | **string** | | [optional] [default to undefined]
11
+ **exception_class** | **string** | | [optional] [default to undefined]
12
+ **file** | **string** | | [optional] [default to undefined]
13
+ **line** | **number** | | [optional] [default to undefined]
14
+ **context** | **object** | | [optional] [default to undefined]
15
+ **created_at** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { ErrorReport } from '@handsondigital/idplugger-admin';
21
+
22
+ const instance: ErrorReport = {
23
+ id,
24
+ message,
25
+ trace,
26
+ exception_class,
27
+ file,
28
+ line,
29
+ context,
30
+ created_at,
31
+ };
32
+ ```
33
+
34
+ [[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
+ # ErrorReportPaginated
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **content** | [**Array<ErrorReport>**](ErrorReport.md) | | [optional] [default to undefined]
10
+ **paging** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ErrorReportPaginated } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: ErrorReportPaginated = {
18
+ message,
19
+ content,
20
+ paging,
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,28 @@
1
+ # ErrorReportPaginatedResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array<ErrorReport>**](ErrorReport.md) | | [optional] [default to undefined]
9
+ **current_page** | **number** | | [optional] [default to undefined]
10
+ **last_page** | **number** | | [optional] [default to undefined]
11
+ **per_page** | **number** | | [optional] [default to undefined]
12
+ **total** | **number** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ErrorReportPaginatedResult } from '@handsondigital/idplugger-admin';
18
+
19
+ const instance: ErrorReportPaginatedResult = {
20
+ data,
21
+ current_page,
22
+ last_page,
23
+ per_page,
24
+ total,
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,168 @@
1
+ # ErrorReportsApi
2
+
3
+ All URIs are relative to *https://api.idplugger.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**adminErrorsGet**](#adminerrorsget) | **GET** /admin/errors | List error reports|
8
+ |[**adminErrorsIdDelete**](#adminerrorsiddelete) | **DELETE** /admin/errors/{id} | Delete error report|
9
+ |[**adminErrorsIdGet**](#adminerrorsidget) | **GET** /admin/errors/{id} | Get specific error report|
10
+
11
+ # **adminErrorsGet**
12
+ > ErrorReportPaginated adminErrorsGet()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ ErrorReportsApi,
20
+ Configuration
21
+ } from '@handsondigital/idplugger-admin';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new ErrorReportsApi(configuration);
25
+
26
+ let q: string; //Search through id, message, exception class, file (optional) (default to undefined)
27
+ let _class: string; //Filter by exception class (optional) (default to undefined)
28
+ let date: string; //Filter by date (optional) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.adminErrorsGet(
31
+ q,
32
+ _class,
33
+ date
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **q** | [**string**] | Search through id, message, exception class, file | (optional) defaults to undefined|
42
+ | **_class** | [**string**] | Filter by exception class | (optional) defaults to undefined|
43
+ | **date** | [**string**] | Filter by date | (optional) defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **ErrorReportPaginated**
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | Success | - |
64
+
65
+ [[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)
66
+
67
+ # **adminErrorsIdDelete**
68
+ > SuccessResponse adminErrorsIdDelete()
69
+
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ ErrorReportsApi,
76
+ Configuration
77
+ } from '@handsondigital/idplugger-admin';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new ErrorReportsApi(configuration);
81
+
82
+ let id: string; // (default to undefined)
83
+
84
+ const { status, data } = await apiInstance.adminErrorsIdDelete(
85
+ id
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **id** | [**string**] | | defaults to undefined|
94
+
95
+
96
+ ### Return type
97
+
98
+ **SuccessResponse**
99
+
100
+ ### Authorization
101
+
102
+ No authorization required
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/json
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | Deleted | - |
114
+ |**404** | Not found | - |
115
+
116
+ [[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)
117
+
118
+ # **adminErrorsIdGet**
119
+ > ErrorReport adminErrorsIdGet()
120
+
121
+
122
+ ### Example
123
+
124
+ ```typescript
125
+ import {
126
+ ErrorReportsApi,
127
+ Configuration
128
+ } from '@handsondigital/idplugger-admin';
129
+
130
+ const configuration = new Configuration();
131
+ const apiInstance = new ErrorReportsApi(configuration);
132
+
133
+ let id: string; // (default to undefined)
134
+
135
+ const { status, data } = await apiInstance.adminErrorsIdGet(
136
+ id
137
+ );
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ |Name | Type | Description | Notes|
143
+ |------------- | ------------- | ------------- | -------------|
144
+ | **id** | [**string**] | | defaults to undefined|
145
+
146
+
147
+ ### Return type
148
+
149
+ **ErrorReport**
150
+
151
+ ### Authorization
152
+
153
+ No authorization required
154
+
155
+ ### HTTP request headers
156
+
157
+ - **Content-Type**: Not defined
158
+ - **Accept**: application/json
159
+
160
+
161
+ ### HTTP response details
162
+ | Status code | Description | Response headers |
163
+ |-------------|-------------|------------------|
164
+ |**200** | Success | - |
165
+ |**404** | Not found | - |
166
+
167
+ [[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)
168
+
@@ -0,0 +1,22 @@
1
+ # ErrorResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [optional] [default to undefined]
9
+ **errors** | **{ [key: string]: Array<string>; }** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ErrorResponse } from '@handsondigital/idplugger-admin';
15
+
16
+ const instance: ErrorResponse = {
17
+ message,
18
+ errors,
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,42 @@
1
+ # Pagination
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **current_page** | **number** | | [optional] [default to undefined]
9
+ **first_page_url** | **string** | | [optional] [default to undefined]
10
+ **from** | **number** | | [optional] [default to undefined]
11
+ **last_page** | **number** | | [optional] [default to undefined]
12
+ **last_page_url** | **string** | | [optional] [default to undefined]
13
+ **links** | [**Array<PaginationLinksInner>**](PaginationLinksInner.md) | | [optional] [default to undefined]
14
+ **next_page_url** | **string** | | [optional] [default to undefined]
15
+ **path** | **string** | | [optional] [default to undefined]
16
+ **per_page** | **string** | | [optional] [default to undefined]
17
+ **prev_page_url** | **string** | | [optional] [default to undefined]
18
+ **to** | **number** | | [optional] [default to undefined]
19
+ **total** | **number** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { Pagination } from '@handsondigital/idplugger-admin';
25
+
26
+ const instance: Pagination = {
27
+ current_page,
28
+ first_page_url,
29
+ from,
30
+ last_page,
31
+ last_page_url,
32
+ links,
33
+ next_page_url,
34
+ path,
35
+ per_page,
36
+ prev_page_url,
37
+ to,
38
+ total,
39
+ };
40
+ ```
41
+
42
+ [[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
+ # PaginationLinksInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **url** | **string** | | [optional] [default to undefined]
9
+ **label** | **string** | | [optional] [default to undefined]
10
+ **active** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PaginationLinksInner } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: PaginationLinksInner = {
18
+ url,
19
+ label,
20
+ active,
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)
@@ -47,7 +47,7 @@ const { status, data } = await apiInstance.adminPromotionCacheClear(
47
47
 
48
48
  ### HTTP request headers
49
49
 
50
- - **Content-Type**: Not defined
50
+ - **Content-Type**: application/json
51
51
  - **Accept**: application/json
52
52
 
53
53
 
@@ -0,0 +1,20 @@
1
+ # SuccessResponse
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 { SuccessResponse } from '@handsondigital/idplugger-admin';
14
+
15
+ const instance: SuccessResponse = {
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,7 @@
1
+ {
2
+ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
+ "spaces": 2,
4
+ "generator-cli": {
5
+ "version": "7.14.0"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsondigital/idplugger-admin",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
4
4
  "description": "OpenAPI client for @handsondigital/idplugger-admin",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {