@teemill/countries 0.1.2 → 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/README.md +3 -3
- package/api.ts +4 -45
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +5 -46
- package/dist/api.js +1 -8
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +5 -46
- package/dist/esm/api.js +1 -8
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- 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/CountriesApi.md +2 -2
- package/docs/GetCountries200Response.md +20 -0
- package/index.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/countries@0.1.
|
|
1
|
+
## @teemill/countries@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/countries@0.1.
|
|
39
|
+
npm install @teemill/countries@0.1.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -58,7 +58,7 @@ Class | Method | HTTP request | Description
|
|
|
58
58
|
|
|
59
59
|
- [ApiError](docs/ApiError.md)
|
|
60
60
|
- [Country](docs/Country.md)
|
|
61
|
-
- [
|
|
61
|
+
- [GetCountries200Response](docs/GetCountries200Response.md)
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
<a id="documentation-for-authorization"></a>
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -23,61 +23,26 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface ApiError
|
|
30
|
-
*/
|
|
31
26
|
export interface ApiError {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ApiError
|
|
36
|
-
*/
|
|
37
27
|
'code'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ApiError
|
|
42
|
-
*/
|
|
43
28
|
'message': string;
|
|
44
29
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @interface Country
|
|
49
|
-
*/
|
|
50
30
|
export interface Country {
|
|
51
31
|
/**
|
|
52
32
|
* The unique identifier for the country
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Country
|
|
55
33
|
*/
|
|
56
34
|
'id': string;
|
|
57
35
|
/**
|
|
58
36
|
* The name of the country
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof Country
|
|
61
37
|
*/
|
|
62
38
|
'name': string;
|
|
63
39
|
}
|
|
64
|
-
|
|
65
|
-
*
|
|
66
|
-
* @export
|
|
67
|
-
* @interface InlineObject
|
|
68
|
-
*/
|
|
69
|
-
export interface InlineObject {
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Array<Country>}
|
|
73
|
-
* @memberof InlineObject
|
|
74
|
-
*/
|
|
40
|
+
export interface GetCountries200Response {
|
|
75
41
|
'countries'?: Array<Country>;
|
|
76
42
|
}
|
|
77
43
|
|
|
78
44
|
/**
|
|
79
45
|
* CountriesApi - axios parameter creator
|
|
80
|
-
* @export
|
|
81
46
|
*/
|
|
82
47
|
export const CountriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
83
48
|
return {
|
|
@@ -123,7 +88,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
123
88
|
|
|
124
89
|
/**
|
|
125
90
|
* CountriesApi - functional programming interface
|
|
126
|
-
* @export
|
|
127
91
|
*/
|
|
128
92
|
export const CountriesApiFp = function(configuration?: Configuration) {
|
|
129
93
|
const localVarAxiosParamCreator = CountriesApiAxiosParamCreator(configuration)
|
|
@@ -134,7 +98,7 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
134
98
|
* @param {*} [options] Override http request option.
|
|
135
99
|
* @throws {RequiredError}
|
|
136
100
|
*/
|
|
137
|
-
async getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
101
|
+
async getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCountries200Response>> {
|
|
138
102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCountries(options);
|
|
139
103
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
140
104
|
const localVarOperationServerBasePath = operationServerMap['CountriesApi.getCountries']?.[localVarOperationServerIndex]?.url;
|
|
@@ -145,7 +109,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
145
109
|
|
|
146
110
|
/**
|
|
147
111
|
* CountriesApi - factory interface
|
|
148
|
-
* @export
|
|
149
112
|
*/
|
|
150
113
|
export const CountriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
151
114
|
const localVarFp = CountriesApiFp(configuration)
|
|
@@ -156,7 +119,7 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
156
119
|
* @param {*} [options] Override http request option.
|
|
157
120
|
* @throws {RequiredError}
|
|
158
121
|
*/
|
|
159
|
-
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
122
|
+
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<GetCountries200Response> {
|
|
160
123
|
return localVarFp.getCountries(options).then((request) => request(axios, basePath));
|
|
161
124
|
},
|
|
162
125
|
};
|
|
@@ -164,9 +127,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
164
127
|
|
|
165
128
|
/**
|
|
166
129
|
* CountriesApi - object-oriented interface
|
|
167
|
-
* @export
|
|
168
|
-
* @class CountriesApi
|
|
169
|
-
* @extends {BaseAPI}
|
|
170
130
|
*/
|
|
171
131
|
export class CountriesApi extends BaseAPI {
|
|
172
132
|
/**
|
|
@@ -174,7 +134,6 @@ export class CountriesApi extends BaseAPI {
|
|
|
174
134
|
* @summary List countries
|
|
175
135
|
* @param {*} [options] Override http request option.
|
|
176
136
|
* @throws {RequiredError}
|
|
177
|
-
* @memberof CountriesApi
|
|
178
137
|
*/
|
|
179
138
|
public getCountries(options?: RawAxiosRequestConfig) {
|
|
180
139
|
return CountriesApiFp(this.configuration).getCountries(options).then((request) => request(this.axios, this.basePath));
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "https://localhost:8080".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
24
|
export const COLLECTION_FORMATS = {
|
|
29
25
|
csv: ",",
|
|
30
26
|
ssv: " ",
|
|
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
|
|
|
32
28
|
pipes: "|",
|
|
33
29
|
};
|
|
34
30
|
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface RequestArgs
|
|
39
|
-
*/
|
|
40
31
|
export interface RequestArgs {
|
|
41
32
|
url: string;
|
|
42
33
|
options: RawAxiosRequestConfig;
|
|
43
34
|
}
|
|
44
35
|
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class BaseAPI
|
|
49
|
-
*/
|
|
50
36
|
export class BaseAPI {
|
|
51
37
|
protected configuration: Configuration | undefined;
|
|
52
38
|
|
|
@@ -58,12 +44,6 @@ export class BaseAPI {
|
|
|
58
44
|
}
|
|
59
45
|
};
|
|
60
46
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
* @class RequiredError
|
|
65
|
-
* @extends {Error}
|
|
66
|
-
*/
|
|
67
47
|
export class RequiredError extends Error {
|
|
68
48
|
constructor(public field: string, msg?: string) {
|
|
69
49
|
super(msg);
|
|
@@ -78,9 +58,5 @@ interface ServerMap {
|
|
|
78
58
|
}[];
|
|
79
59
|
}
|
|
80
60
|
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
61
|
export const operationServerMap: ServerMap = {
|
|
86
62
|
}
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import type { Configuration } from "./configuration";
|
|
17
16
|
import type { RequestArgs } from "./base";
|
|
18
17
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -28,49 +28,32 @@ export class Configuration {
|
|
|
28
28
|
/**
|
|
29
29
|
* parameter for apiKey security
|
|
30
30
|
* @param name security name
|
|
31
|
-
* @memberof Configuration
|
|
32
31
|
*/
|
|
33
32
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
33
|
/**
|
|
35
34
|
* parameter for basic security
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Configuration
|
|
39
35
|
*/
|
|
40
36
|
username?: string;
|
|
41
37
|
/**
|
|
42
38
|
* parameter for basic security
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Configuration
|
|
46
39
|
*/
|
|
47
40
|
password?: string;
|
|
48
41
|
/**
|
|
49
42
|
* parameter for oauth2 security
|
|
50
43
|
* @param name security name
|
|
51
44
|
* @param scopes oauth2 scope
|
|
52
|
-
* @memberof Configuration
|
|
53
45
|
*/
|
|
54
46
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
47
|
/**
|
|
56
48
|
* override base path
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Configuration
|
|
60
49
|
*/
|
|
61
50
|
basePath?: string;
|
|
62
51
|
/**
|
|
63
52
|
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
53
|
*/
|
|
68
54
|
serverIndex?: number;
|
|
69
55
|
/**
|
|
70
56
|
* base options for axios calls
|
|
71
|
-
*
|
|
72
|
-
* @type {any}
|
|
73
|
-
* @memberof Configuration
|
|
74
57
|
*/
|
|
75
58
|
baseOptions?: any;
|
|
76
59
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -13,60 +13,25 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiError
|
|
20
|
-
*/
|
|
21
16
|
export interface ApiError {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiError
|
|
26
|
-
*/
|
|
27
17
|
'code'?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiError
|
|
32
|
-
*/
|
|
33
18
|
'message': string;
|
|
34
19
|
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface Country
|
|
39
|
-
*/
|
|
40
20
|
export interface Country {
|
|
41
21
|
/**
|
|
42
22
|
* The unique identifier for the country
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof Country
|
|
45
23
|
*/
|
|
46
24
|
'id': string;
|
|
47
25
|
/**
|
|
48
26
|
* The name of the country
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof Country
|
|
51
27
|
*/
|
|
52
28
|
'name': string;
|
|
53
29
|
}
|
|
54
|
-
|
|
55
|
-
*
|
|
56
|
-
* @export
|
|
57
|
-
* @interface InlineObject
|
|
58
|
-
*/
|
|
59
|
-
export interface InlineObject {
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<Country>}
|
|
63
|
-
* @memberof InlineObject
|
|
64
|
-
*/
|
|
30
|
+
export interface GetCountries200Response {
|
|
65
31
|
'countries'?: Array<Country>;
|
|
66
32
|
}
|
|
67
33
|
/**
|
|
68
34
|
* CountriesApi - axios parameter creator
|
|
69
|
-
* @export
|
|
70
35
|
*/
|
|
71
36
|
export declare const CountriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
72
37
|
/**
|
|
@@ -79,7 +44,6 @@ export declare const CountriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
79
44
|
};
|
|
80
45
|
/**
|
|
81
46
|
* CountriesApi - functional programming interface
|
|
82
|
-
* @export
|
|
83
47
|
*/
|
|
84
48
|
export declare const CountriesApiFp: (configuration?: Configuration) => {
|
|
85
49
|
/**
|
|
@@ -88,11 +52,10 @@ export declare const CountriesApiFp: (configuration?: Configuration) => {
|
|
|
88
52
|
* @param {*} [options] Override http request option.
|
|
89
53
|
* @throws {RequiredError}
|
|
90
54
|
*/
|
|
91
|
-
getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
55
|
+
getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCountries200Response>>;
|
|
92
56
|
};
|
|
93
57
|
/**
|
|
94
58
|
* CountriesApi - factory interface
|
|
95
|
-
* @export
|
|
96
59
|
*/
|
|
97
60
|
export declare const CountriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
98
61
|
/**
|
|
@@ -101,13 +64,10 @@ export declare const CountriesApiFactory: (configuration?: Configuration, basePa
|
|
|
101
64
|
* @param {*} [options] Override http request option.
|
|
102
65
|
* @throws {RequiredError}
|
|
103
66
|
*/
|
|
104
|
-
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
67
|
+
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<GetCountries200Response>;
|
|
105
68
|
};
|
|
106
69
|
/**
|
|
107
70
|
* CountriesApi - object-oriented interface
|
|
108
|
-
* @export
|
|
109
|
-
* @class CountriesApi
|
|
110
|
-
* @extends {BaseAPI}
|
|
111
71
|
*/
|
|
112
72
|
export declare class CountriesApi extends BaseAPI {
|
|
113
73
|
/**
|
|
@@ -115,7 +75,6 @@ export declare class CountriesApi extends BaseAPI {
|
|
|
115
75
|
* @summary List countries
|
|
116
76
|
* @param {*} [options] Override http request option.
|
|
117
77
|
* @throws {RequiredError}
|
|
118
|
-
* @memberof CountriesApi
|
|
119
78
|
*/
|
|
120
|
-
getCountries(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
79
|
+
getCountries(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCountries200Response, any, {}>>;
|
|
121
80
|
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Countries API
|
|
6
6
|
* Manage PodOS Countries
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.
|
|
8
|
+
* The version of the OpenAPI document: 0.1.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,6 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* CountriesApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
const CountriesApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -70,7 +69,6 @@ const CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
exports.CountriesApiAxiosParamCreator = CountriesApiAxiosParamCreator;
|
|
71
70
|
/**
|
|
72
71
|
* CountriesApi - functional programming interface
|
|
73
|
-
* @export
|
|
74
72
|
*/
|
|
75
73
|
const CountriesApiFp = function (configuration) {
|
|
76
74
|
const localVarAxiosParamCreator = (0, exports.CountriesApiAxiosParamCreator)(configuration);
|
|
@@ -95,7 +93,6 @@ const CountriesApiFp = function (configuration) {
|
|
|
95
93
|
exports.CountriesApiFp = CountriesApiFp;
|
|
96
94
|
/**
|
|
97
95
|
* CountriesApi - factory interface
|
|
98
|
-
* @export
|
|
99
96
|
*/
|
|
100
97
|
const CountriesApiFactory = function (configuration, basePath, axios) {
|
|
101
98
|
const localVarFp = (0, exports.CountriesApiFp)(configuration);
|
|
@@ -114,9 +111,6 @@ const CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
114
111
|
exports.CountriesApiFactory = CountriesApiFactory;
|
|
115
112
|
/**
|
|
116
113
|
* CountriesApi - object-oriented interface
|
|
117
|
-
* @export
|
|
118
|
-
* @class CountriesApi
|
|
119
|
-
* @extends {BaseAPI}
|
|
120
114
|
*/
|
|
121
115
|
class CountriesApi extends base_1.BaseAPI {
|
|
122
116
|
/**
|
|
@@ -124,7 +118,6 @@ class CountriesApi extends base_1.BaseAPI {
|
|
|
124
118
|
* @summary List countries
|
|
125
119
|
* @param {*} [options] Override http request option.
|
|
126
120
|
* @throws {RequiredError}
|
|
127
|
-
* @memberof CountriesApi
|
|
128
121
|
*/
|
|
129
122
|
getCountries(options) {
|
|
130
123
|
return (0, exports.CountriesApiFp)(this.configuration).getCountries(options).then((request) => request(this.axios, this.basePath));
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Countries API
|
|
6
6
|
* Manage PodOS Countries
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.
|
|
8
|
+
* The version of the OpenAPI document: 0.1.4
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
17
|
const axios_1 = require("axios");
|
|
18
18
|
exports.BASE_PATH = "https://localhost:8080".replace(/\/+$/, "");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
19
|
exports.COLLECTION_FORMATS = {
|
|
24
20
|
csv: ",",
|
|
25
21
|
ssv: " ",
|
|
26
22
|
tsv: "\t",
|
|
27
23
|
pipes: "|",
|
|
28
24
|
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @class BaseAPI
|
|
33
|
-
*/
|
|
34
25
|
class BaseAPI {
|
|
35
26
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
36
27
|
var _a;
|
|
@@ -44,12 +35,6 @@ class BaseAPI {
|
|
|
44
35
|
}
|
|
45
36
|
exports.BaseAPI = BaseAPI;
|
|
46
37
|
;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class RequiredError
|
|
51
|
-
* @extends {Error}
|
|
52
|
-
*/
|
|
53
38
|
class RequiredError extends Error {
|
|
54
39
|
constructor(field, msg) {
|
|
55
40
|
super(msg);
|
|
@@ -58,8 +43,4 @@ class RequiredError extends Error {
|
|
|
58
43
|
}
|
|
59
44
|
}
|
|
60
45
|
exports.RequiredError = RequiredError;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
46
|
exports.operationServerMap = {};
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -13,60 +13,25 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiError
|
|
20
|
-
*/
|
|
21
16
|
export interface ApiError {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiError
|
|
26
|
-
*/
|
|
27
17
|
'code'?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiError
|
|
32
|
-
*/
|
|
33
18
|
'message': string;
|
|
34
19
|
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface Country
|
|
39
|
-
*/
|
|
40
20
|
export interface Country {
|
|
41
21
|
/**
|
|
42
22
|
* The unique identifier for the country
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof Country
|
|
45
23
|
*/
|
|
46
24
|
'id': string;
|
|
47
25
|
/**
|
|
48
26
|
* The name of the country
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof Country
|
|
51
27
|
*/
|
|
52
28
|
'name': string;
|
|
53
29
|
}
|
|
54
|
-
|
|
55
|
-
*
|
|
56
|
-
* @export
|
|
57
|
-
* @interface InlineObject
|
|
58
|
-
*/
|
|
59
|
-
export interface InlineObject {
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<Country>}
|
|
63
|
-
* @memberof InlineObject
|
|
64
|
-
*/
|
|
30
|
+
export interface GetCountries200Response {
|
|
65
31
|
'countries'?: Array<Country>;
|
|
66
32
|
}
|
|
67
33
|
/**
|
|
68
34
|
* CountriesApi - axios parameter creator
|
|
69
|
-
* @export
|
|
70
35
|
*/
|
|
71
36
|
export declare const CountriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
72
37
|
/**
|
|
@@ -79,7 +44,6 @@ export declare const CountriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
79
44
|
};
|
|
80
45
|
/**
|
|
81
46
|
* CountriesApi - functional programming interface
|
|
82
|
-
* @export
|
|
83
47
|
*/
|
|
84
48
|
export declare const CountriesApiFp: (configuration?: Configuration) => {
|
|
85
49
|
/**
|
|
@@ -88,11 +52,10 @@ export declare const CountriesApiFp: (configuration?: Configuration) => {
|
|
|
88
52
|
* @param {*} [options] Override http request option.
|
|
89
53
|
* @throws {RequiredError}
|
|
90
54
|
*/
|
|
91
|
-
getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
55
|
+
getCountries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCountries200Response>>;
|
|
92
56
|
};
|
|
93
57
|
/**
|
|
94
58
|
* CountriesApi - factory interface
|
|
95
|
-
* @export
|
|
96
59
|
*/
|
|
97
60
|
export declare const CountriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
98
61
|
/**
|
|
@@ -101,13 +64,10 @@ export declare const CountriesApiFactory: (configuration?: Configuration, basePa
|
|
|
101
64
|
* @param {*} [options] Override http request option.
|
|
102
65
|
* @throws {RequiredError}
|
|
103
66
|
*/
|
|
104
|
-
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
67
|
+
getCountries(options?: RawAxiosRequestConfig): AxiosPromise<GetCountries200Response>;
|
|
105
68
|
};
|
|
106
69
|
/**
|
|
107
70
|
* CountriesApi - object-oriented interface
|
|
108
|
-
* @export
|
|
109
|
-
* @class CountriesApi
|
|
110
|
-
* @extends {BaseAPI}
|
|
111
71
|
*/
|
|
112
72
|
export declare class CountriesApi extends BaseAPI {
|
|
113
73
|
/**
|
|
@@ -115,7 +75,6 @@ export declare class CountriesApi extends BaseAPI {
|
|
|
115
75
|
* @summary List countries
|
|
116
76
|
* @param {*} [options] Override http request option.
|
|
117
77
|
* @throws {RequiredError}
|
|
118
|
-
* @memberof CountriesApi
|
|
119
78
|
*/
|
|
120
|
-
getCountries(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
79
|
+
getCountries(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCountries200Response, any, {}>>;
|
|
121
80
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -28,7 +28,6 @@ import { DUMMY_BASE_URL, setApiKeyToObject, setOAuthToObject, setSearchParams, t
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
30
|
* CountriesApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const CountriesApiAxiosParamCreator = function (configuration) {
|
|
34
33
|
return {
|
|
@@ -66,7 +65,6 @@ export const CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
66
65
|
};
|
|
67
66
|
/**
|
|
68
67
|
* CountriesApi - functional programming interface
|
|
69
|
-
* @export
|
|
70
68
|
*/
|
|
71
69
|
export const CountriesApiFp = function (configuration) {
|
|
72
70
|
const localVarAxiosParamCreator = CountriesApiAxiosParamCreator(configuration);
|
|
@@ -90,7 +88,6 @@ export const CountriesApiFp = function (configuration) {
|
|
|
90
88
|
};
|
|
91
89
|
/**
|
|
92
90
|
* CountriesApi - factory interface
|
|
93
|
-
* @export
|
|
94
91
|
*/
|
|
95
92
|
export const CountriesApiFactory = function (configuration, basePath, axios) {
|
|
96
93
|
const localVarFp = CountriesApiFp(configuration);
|
|
@@ -108,9 +105,6 @@ export const CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
108
105
|
};
|
|
109
106
|
/**
|
|
110
107
|
* CountriesApi - object-oriented interface
|
|
111
|
-
* @export
|
|
112
|
-
* @class CountriesApi
|
|
113
|
-
* @extends {BaseAPI}
|
|
114
108
|
*/
|
|
115
109
|
export class CountriesApi extends BaseAPI {
|
|
116
110
|
/**
|
|
@@ -118,7 +112,6 @@ export class CountriesApi extends BaseAPI {
|
|
|
118
112
|
* @summary List countries
|
|
119
113
|
* @param {*} [options] Override http request option.
|
|
120
114
|
* @throws {RequiredError}
|
|
121
|
-
* @memberof CountriesApi
|
|
122
115
|
*/
|
|
123
116
|
getCountries(options) {
|
|
124
117
|
return CountriesApiFp(this.configuration).getCountries(options).then((request) => request(this.axios, this.basePath));
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Countries API
|
|
5
5
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
export const BASE_PATH = "https://localhost:8080".replace(/\/+$/, "");
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
16
|
export const COLLECTION_FORMATS = {
|
|
21
17
|
csv: ",",
|
|
22
18
|
ssv: " ",
|
|
23
19
|
tsv: "\t",
|
|
24
20
|
pipes: "|",
|
|
25
21
|
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @class BaseAPI
|
|
30
|
-
*/
|
|
31
22
|
export class BaseAPI {
|
|
32
23
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
24
|
var _a;
|
|
@@ -40,12 +31,6 @@ export class BaseAPI {
|
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
33
|
;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @class RequiredError
|
|
47
|
-
* @extends {Error}
|
|
48
|
-
*/
|
|
49
34
|
export class RequiredError extends Error {
|
|
50
35
|
constructor(field, msg) {
|
|
51
36
|
super(msg);
|
|
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
|
|
|
53
38
|
this.name = "RequiredError";
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
41
|
export const operationServerMap = {};
|
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Countries API
|
|
3
3
|
* Manage PodOS Countries
|
|
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).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
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/CountriesApi.md
CHANGED
|
@@ -7,7 +7,7 @@ All URIs are relative to *https://localhost:8080*
|
|
|
7
7
|
|[**getCountries**](#getcountries) | **GET** /v1/countries | List countries|
|
|
8
8
|
|
|
9
9
|
# **getCountries**
|
|
10
|
-
>
|
|
10
|
+
> GetCountries200Response getCountries()
|
|
11
11
|
|
|
12
12
|
List all countries
|
|
13
13
|
|
|
@@ -31,7 +31,7 @@ This endpoint does not have any parameters.
|
|
|
31
31
|
|
|
32
32
|
### Return type
|
|
33
33
|
|
|
34
|
-
**
|
|
34
|
+
**GetCountries200Response**
|
|
35
35
|
|
|
36
36
|
### Authorization
|
|
37
37
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# GetCountries200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**countries** | [**Array<Country>**](Country.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { GetCountries200Response } from '@teemill/countries';
|
|
14
|
+
|
|
15
|
+
const instance: GetCountries200Response = {
|
|
16
|
+
countries,
|
|
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)
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/countries",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "OpenAPI client for @teemill/countries",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"axios": "
|
|
27
|
+
"axios": "1.12.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|