@drxsuperapp/sdk 1.1.7 → 1.1.8

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,20 @@
1
+ # ApiNewsIdGet200ResponseResponseObjectLeaguesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **league** | [**ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague**](ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ApiNewsIdGet200ResponseResponseObjectLeaguesInner } from './api';
14
+
15
+ const instance: ApiNewsIdGet200ResponseResponseObjectLeaguesInner = {
16
+ league,
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,24 @@
1
+ # ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [default to undefined]
9
+ **description** | **string** | | [default to undefined]
10
+ **abbreviation** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague } from './api';
16
+
17
+ const instance: ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague = {
18
+ id,
19
+ description,
20
+ abbreviation,
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,119 @@
1
+ # NewsApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**apiNewsGet**](#apinewsget) | **GET** /api/news | |
8
+ |[**apiNewsIdGet**](#apinewsidget) | **GET** /api/news/{id} | |
9
+
10
+ # **apiNewsGet**
11
+ > ApiNewsGet200Response apiNewsGet()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ NewsApi,
19
+ Configuration
20
+ } from './api';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new NewsApi(configuration);
24
+
25
+ let page: string; // (optional) (default to undefined)
26
+ let perPage: string; // (optional) (default to undefined)
27
+ let leagueDescription: string; // (optional) (default to undefined)
28
+ let searchTerm: string; // (optional) (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.apiNewsGet(
31
+ page,
32
+ perPage,
33
+ leagueDescription,
34
+ searchTerm
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **page** | [**string**] | | (optional) defaults to undefined|
43
+ | **perPage** | [**string**] | | (optional) defaults to undefined|
44
+ | **leagueDescription** | [**string**] | | (optional) defaults to undefined|
45
+ | **searchTerm** | [**string**] | | (optional) defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **ApiNewsGet200Response**
51
+
52
+ ### Authorization
53
+
54
+ No authorization required
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**200** | success | - |
66
+
67
+ [[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)
68
+
69
+ # **apiNewsIdGet**
70
+ > ApiNewsIdGet200Response apiNewsIdGet()
71
+
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ NewsApi,
78
+ Configuration
79
+ } from './api';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new NewsApi(configuration);
83
+
84
+ let id: string; // (default to undefined)
85
+
86
+ const { status, data } = await apiInstance.apiNewsIdGet(
87
+ id
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **id** | [**string**] | | defaults to undefined|
96
+
97
+
98
+ ### Return type
99
+
100
+ **ApiNewsIdGet200Response**
101
+
102
+ ### Authorization
103
+
104
+ No authorization required
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ### HTTP response details
113
+ | Status code | Description | Response headers |
114
+ |-------------|-------------|------------------|
115
+ |**200** | success | - |
116
+ |**404** | News item not found | - |
117
+
118
+ [[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)
119
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {