@equisoft/equisoft-connect-sdk-typescript 10.27.0 → 10.27.1-snapshot.20220801193300
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/FILES +4 -1
- package/dist/apis/GatewaysApi.d.ts +13 -4
- package/dist/apis/GatewaysApi.js +42 -5
- package/dist/models/GatewaysAccessesValidationAdminCredentialResponse.d.ts +28 -0
- package/dist/models/GatewaysAccessesValidationAdminCredentialResponse.js +42 -0
- package/dist/models/GatewaysAccessesValidationGatewayAdminDto.d.ts +39 -0
- package/dist/models/GatewaysAccessesValidationGatewayAdminDto.js +45 -0
- package/dist/models/GatewaysGatewayDto.d.ts +39 -0
- package/dist/models/{AdminCredentialResponse.js → GatewaysGatewayDto.js} +13 -12
- package/dist/models/GatewaysGatewaysResponse.d.ts +28 -0
- package/dist/models/GatewaysGatewaysResponse.js +42 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/GatewaysApi.ts +61 -12
- package/src/models/GatewaysAccessesValidationAdminCredentialResponse.ts +63 -0
- package/src/models/GatewaysAccessesValidationGatewayAdminDto.ts +72 -0
- package/src/models/{AdminCredentialResponse.ts → GatewaysGatewayDto.ts} +15 -15
- package/src/models/GatewaysGatewaysResponse.ts +63 -0
- package/src/models/index.ts +4 -1
- package/dist/models/AdminCredentialResponse.d.ts +0 -39
package/.openapi-generator/FILES
CHANGED
|
@@ -18,7 +18,6 @@ src/apis/index.ts
|
|
|
18
18
|
src/index.ts
|
|
19
19
|
src/models/AccessRights.ts
|
|
20
20
|
src/models/AdminCredentialPayload.ts
|
|
21
|
-
src/models/AdminCredentialResponse.ts
|
|
22
21
|
src/models/CalendarDefaultCalendarId.ts
|
|
23
22
|
src/models/CalendarsCalendar.ts
|
|
24
23
|
src/models/CalendarsListCalendarResponse.ts
|
|
@@ -67,13 +66,17 @@ src/models/GatewaysAccessesEquisoftAnalyzeAccess.ts
|
|
|
67
66
|
src/models/GatewaysAccessesListGatewayAccessesResponse.ts
|
|
68
67
|
src/models/GatewaysAccessesPatchEquisoftAnalyzeAccessPayload.ts
|
|
69
68
|
src/models/GatewaysAccessesUser.ts
|
|
69
|
+
src/models/GatewaysAccessesValidationAdminCredentialResponse.ts
|
|
70
|
+
src/models/GatewaysAccessesValidationGatewayAdminDto.ts
|
|
70
71
|
src/models/GatewaysCredentials.ts
|
|
71
72
|
src/models/GatewaysCredentialsWithSsn.ts
|
|
72
73
|
src/models/GatewaysCredentialsWithSsnAllOf.ts
|
|
73
74
|
src/models/GatewaysFullfinanceScrapeJob.ts
|
|
74
75
|
src/models/GatewaysFullfinanceScrapeJobStatus.ts
|
|
76
|
+
src/models/GatewaysGatewayDto.ts
|
|
75
77
|
src/models/GatewaysGatewayName.ts
|
|
76
78
|
src/models/GatewaysGatewayType.ts
|
|
79
|
+
src/models/GatewaysGatewaysResponse.ts
|
|
77
80
|
src/models/GatewaysListCredentialsResponse.ts
|
|
78
81
|
src/models/HandlersOauth2AssetbookAssetBookTokenPostBody.ts
|
|
79
82
|
src/models/InternalNotesAuthor.ts
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AdminCredentialPayload,
|
|
13
|
+
import { AdminCredentialPayload, CredentialsResponse, GatewaysAccessesCreateAccessResponse, GatewaysAccessesCreateEquisoftAnalyzeAccessPayload, GatewaysAccessesListGatewayAccessesResponse, GatewaysAccessesPatchEquisoftAnalyzeAccessPayload, GatewaysAccessesValidationAdminCredentialResponse, GatewaysGatewaysResponse, GatewaysListCredentialsResponse } from '../models';
|
|
14
14
|
export interface CreateEquisoftAnalyzeAccessRequest {
|
|
15
15
|
gatewaysAccessesCreateEquisoftAnalyzeAccessPayload: GatewaysAccessesCreateEquisoftAnalyzeAccessPayload;
|
|
16
16
|
}
|
|
@@ -18,7 +18,6 @@ export interface DeleteEquisoftAnalyzeAccessRequest {
|
|
|
18
18
|
accessId: number;
|
|
19
19
|
}
|
|
20
20
|
export interface GatewayAdminLoginRequest {
|
|
21
|
-
gatewayName: string;
|
|
22
21
|
authorization: string;
|
|
23
22
|
adminCredentialPayload: AdminCredentialPayload;
|
|
24
23
|
}
|
|
@@ -33,6 +32,10 @@ export interface ListEquisoftAnalyzeAccessesRequest {
|
|
|
33
32
|
export interface ListGatewayConfigurationsRequest {
|
|
34
33
|
gatewayName: string;
|
|
35
34
|
}
|
|
35
|
+
export interface ListGatewaysRequest {
|
|
36
|
+
authorization: string;
|
|
37
|
+
gatewaysId?: string;
|
|
38
|
+
}
|
|
36
39
|
export interface ListGenericCredentialsRequest {
|
|
37
40
|
gatewayName: string;
|
|
38
41
|
includeSsn?: boolean;
|
|
@@ -69,10 +72,10 @@ export declare class GatewaysApi extends runtime.BaseAPI {
|
|
|
69
72
|
deleteEquisoftAnalyzeAccess(requestParameters: DeleteEquisoftAnalyzeAccessRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
70
73
|
/**
|
|
71
74
|
*/
|
|
72
|
-
gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
75
|
+
gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysAccessesValidationAdminCredentialResponse>>;
|
|
73
76
|
/**
|
|
74
77
|
*/
|
|
75
|
-
gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
78
|
+
gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysAccessesValidationAdminCredentialResponse>;
|
|
76
79
|
/**
|
|
77
80
|
*/
|
|
78
81
|
listAssetBookCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysListCredentialsResponse>>;
|
|
@@ -99,6 +102,12 @@ export declare class GatewaysApi extends runtime.BaseAPI {
|
|
|
99
102
|
/**
|
|
100
103
|
*/
|
|
101
104
|
listGatewayConfigurations(requestParameters: ListGatewayConfigurationsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
*/
|
|
107
|
+
listGatewaysRaw(requestParameters: ListGatewaysRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysGatewaysResponse>>;
|
|
108
|
+
/**
|
|
109
|
+
*/
|
|
110
|
+
listGateways(requestParameters: ListGatewaysRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysGatewaysResponse>;
|
|
102
111
|
/**
|
|
103
112
|
*/
|
|
104
113
|
listGenericCredentialsRaw(requestParameters: ListGenericCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysListCredentialsResponse>>;
|
package/dist/apis/GatewaysApi.js
CHANGED
|
@@ -106,9 +106,6 @@ class GatewaysApi extends runtime.BaseAPI {
|
|
|
106
106
|
*/
|
|
107
107
|
gatewayAdminLoginRaw(requestParameters, initOverrides) {
|
|
108
108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
-
if (requestParameters.gatewayName === null || requestParameters.gatewayName === undefined) {
|
|
110
|
-
throw new runtime.RequiredError('gatewayName', 'Required parameter requestParameters.gatewayName was null or undefined when calling gatewayAdminLogin.');
|
|
111
|
-
}
|
|
112
109
|
if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
|
|
113
110
|
throw new runtime.RequiredError('authorization', 'Required parameter requestParameters.authorization was null or undefined when calling gatewayAdminLogin.');
|
|
114
111
|
}
|
|
@@ -130,13 +127,13 @@ class GatewaysApi extends runtime.BaseAPI {
|
|
|
130
127
|
}
|
|
131
128
|
}
|
|
132
129
|
const response = yield this.request({
|
|
133
|
-
path: `/crm/api/v1/gateways/credentials-validation/
|
|
130
|
+
path: `/crm/api/v1/gateways/credentials-validation/admin-credentials/login`,
|
|
134
131
|
method: 'POST',
|
|
135
132
|
headers: headerParameters,
|
|
136
133
|
query: queryParameters,
|
|
137
134
|
body: models_1.AdminCredentialPayloadToJSON(requestParameters.adminCredentialPayload),
|
|
138
135
|
}, initOverrides);
|
|
139
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.
|
|
136
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.GatewaysAccessesValidationAdminCredentialResponseFromJSON(jsonValue));
|
|
140
137
|
});
|
|
141
138
|
}
|
|
142
139
|
/**
|
|
@@ -290,6 +287,46 @@ class GatewaysApi extends runtime.BaseAPI {
|
|
|
290
287
|
yield this.listGatewayConfigurationsRaw(requestParameters, initOverrides);
|
|
291
288
|
});
|
|
292
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
*/
|
|
292
|
+
listGatewaysRaw(requestParameters, initOverrides) {
|
|
293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
|
|
295
|
+
throw new runtime.RequiredError('authorization', 'Required parameter requestParameters.authorization was null or undefined when calling listGateways.');
|
|
296
|
+
}
|
|
297
|
+
const queryParameters = {};
|
|
298
|
+
if (requestParameters.gatewaysId !== undefined) {
|
|
299
|
+
queryParameters['gatewaysId'] = requestParameters.gatewaysId;
|
|
300
|
+
}
|
|
301
|
+
const headerParameters = {};
|
|
302
|
+
if (requestParameters.authorization !== undefined && requestParameters.authorization !== null) {
|
|
303
|
+
headerParameters['Authorization'] = String(requestParameters.authorization);
|
|
304
|
+
}
|
|
305
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
306
|
+
// oauth required
|
|
307
|
+
const token = this.configuration.accessToken;
|
|
308
|
+
const tokenString = yield token("OAuth2", []);
|
|
309
|
+
if (tokenString) {
|
|
310
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
const response = yield this.request({
|
|
314
|
+
path: `/crm/api/v1/gateways/credentials-validation`,
|
|
315
|
+
method: 'GET',
|
|
316
|
+
headers: headerParameters,
|
|
317
|
+
query: queryParameters,
|
|
318
|
+
}, initOverrides);
|
|
319
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.GatewaysGatewaysResponseFromJSON(jsonValue));
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
*/
|
|
324
|
+
listGateways(requestParameters, initOverrides) {
|
|
325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
326
|
+
const response = yield this.listGatewaysRaw(requestParameters, initOverrides);
|
|
327
|
+
return yield response.value();
|
|
328
|
+
});
|
|
329
|
+
}
|
|
293
330
|
/**
|
|
294
331
|
*/
|
|
295
332
|
listGenericCredentialsRaw(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GatewaysAccessesValidationGatewayAdminDto } from './GatewaysAccessesValidationGatewayAdminDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GatewaysAccessesValidationAdminCredentialResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GatewaysAccessesValidationAdminCredentialResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GatewaysAccessesValidationGatewayAdminDto>}
|
|
22
|
+
* @memberof GatewaysAccessesValidationAdminCredentialResponse
|
|
23
|
+
*/
|
|
24
|
+
adminGateways: Array<GatewaysAccessesValidationGatewayAdminDto>;
|
|
25
|
+
}
|
|
26
|
+
export declare function GatewaysAccessesValidationAdminCredentialResponseFromJSON(json: any): GatewaysAccessesValidationAdminCredentialResponse;
|
|
27
|
+
export declare function GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysAccessesValidationAdminCredentialResponse;
|
|
28
|
+
export declare function GatewaysAccessesValidationAdminCredentialResponseToJSON(value?: GatewaysAccessesValidationAdminCredentialResponse | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GatewaysAccessesValidationAdminCredentialResponseToJSON = exports.GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped = exports.GatewaysAccessesValidationAdminCredentialResponseFromJSON = void 0;
|
|
17
|
+
const GatewaysAccessesValidationGatewayAdminDto_1 = require("./GatewaysAccessesValidationGatewayAdminDto");
|
|
18
|
+
function GatewaysAccessesValidationAdminCredentialResponseFromJSON(json) {
|
|
19
|
+
return GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.GatewaysAccessesValidationAdminCredentialResponseFromJSON = GatewaysAccessesValidationAdminCredentialResponseFromJSON;
|
|
22
|
+
function GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'adminGateways': (json['adminGateways'].map(GatewaysAccessesValidationGatewayAdminDto_1.GatewaysAccessesValidationGatewayAdminDtoFromJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped = GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped;
|
|
31
|
+
function GatewaysAccessesValidationAdminCredentialResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'adminGateways': (value.adminGateways.map(GatewaysAccessesValidationGatewayAdminDto_1.GatewaysAccessesValidationGatewayAdminDtoToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GatewaysAccessesValidationAdminCredentialResponseToJSON = GatewaysAccessesValidationAdminCredentialResponseToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GatewaysAccessesValidationGatewayAdminDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GatewaysAccessesValidationGatewayAdminDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
34
|
+
*/
|
|
35
|
+
lang: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function GatewaysAccessesValidationGatewayAdminDtoFromJSON(json: any): GatewaysAccessesValidationGatewayAdminDto;
|
|
38
|
+
export declare function GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysAccessesValidationGatewayAdminDto;
|
|
39
|
+
export declare function GatewaysAccessesValidationGatewayAdminDtoToJSON(value?: GatewaysAccessesValidationGatewayAdminDto | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GatewaysAccessesValidationGatewayAdminDtoToJSON = exports.GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped = exports.GatewaysAccessesValidationGatewayAdminDtoFromJSON = void 0;
|
|
17
|
+
function GatewaysAccessesValidationGatewayAdminDtoFromJSON(json) {
|
|
18
|
+
return GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.GatewaysAccessesValidationGatewayAdminDtoFromJSON = GatewaysAccessesValidationGatewayAdminDtoFromJSON;
|
|
21
|
+
function GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'id': json['id'],
|
|
27
|
+
'name': json['name'],
|
|
28
|
+
'lang': json['lang'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped = GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped;
|
|
32
|
+
function GatewaysAccessesValidationGatewayAdminDtoToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value.id,
|
|
41
|
+
'name': value.name,
|
|
42
|
+
'lang': value.lang,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.GatewaysAccessesValidationGatewayAdminDtoToJSON = GatewaysAccessesValidationGatewayAdminDtoToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GatewaysGatewayDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GatewaysGatewayDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GatewaysGatewayDto
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GatewaysGatewayDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GatewaysGatewayDto
|
|
34
|
+
*/
|
|
35
|
+
dealerName?: string | null;
|
|
36
|
+
}
|
|
37
|
+
export declare function GatewaysGatewayDtoFromJSON(json: any): GatewaysGatewayDto;
|
|
38
|
+
export declare function GatewaysGatewayDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysGatewayDto;
|
|
39
|
+
export declare function GatewaysGatewayDtoToJSON(value?: GatewaysGatewayDto | null): any;
|
|
@@ -13,23 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
exports.GatewaysGatewayDtoToJSON = exports.GatewaysGatewayDtoFromJSONTyped = exports.GatewaysGatewayDtoFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
function GatewaysGatewayDtoFromJSON(json) {
|
|
19
|
+
return GatewaysGatewayDtoFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
20
|
-
exports.
|
|
21
|
-
function
|
|
21
|
+
exports.GatewaysGatewayDtoFromJSON = GatewaysGatewayDtoFromJSON;
|
|
22
|
+
function GatewaysGatewayDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
23
|
if ((json === undefined) || (json === null)) {
|
|
23
24
|
return json;
|
|
24
25
|
}
|
|
25
26
|
return {
|
|
26
|
-
'
|
|
27
|
+
'id': json['id'],
|
|
27
28
|
'name': json['name'],
|
|
28
|
-
'
|
|
29
|
+
'dealerName': !runtime_1.exists(json, 'dealerName') ? undefined : json['dealerName'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
|
-
exports.
|
|
32
|
-
function
|
|
32
|
+
exports.GatewaysGatewayDtoFromJSONTyped = GatewaysGatewayDtoFromJSONTyped;
|
|
33
|
+
function GatewaysGatewayDtoToJSON(value) {
|
|
33
34
|
if (value === undefined) {
|
|
34
35
|
return undefined;
|
|
35
36
|
}
|
|
@@ -37,9 +38,9 @@ function AdminCredentialResponseToJSON(value) {
|
|
|
37
38
|
return null;
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
|
-
'
|
|
41
|
+
'id': value.id,
|
|
41
42
|
'name': value.name,
|
|
42
|
-
'
|
|
43
|
+
'dealerName': value.dealerName,
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
|
-
exports.
|
|
46
|
+
exports.GatewaysGatewayDtoToJSON = GatewaysGatewayDtoToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GatewaysGatewayDto } from './GatewaysGatewayDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GatewaysGatewaysResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GatewaysGatewaysResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GatewaysGatewayDto>}
|
|
22
|
+
* @memberof GatewaysGatewaysResponse
|
|
23
|
+
*/
|
|
24
|
+
gateways: Array<GatewaysGatewayDto>;
|
|
25
|
+
}
|
|
26
|
+
export declare function GatewaysGatewaysResponseFromJSON(json: any): GatewaysGatewaysResponse;
|
|
27
|
+
export declare function GatewaysGatewaysResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysGatewaysResponse;
|
|
28
|
+
export declare function GatewaysGatewaysResponseToJSON(value?: GatewaysGatewaysResponse | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GatewaysGatewaysResponseToJSON = exports.GatewaysGatewaysResponseFromJSONTyped = exports.GatewaysGatewaysResponseFromJSON = void 0;
|
|
17
|
+
const GatewaysGatewayDto_1 = require("./GatewaysGatewayDto");
|
|
18
|
+
function GatewaysGatewaysResponseFromJSON(json) {
|
|
19
|
+
return GatewaysGatewaysResponseFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.GatewaysGatewaysResponseFromJSON = GatewaysGatewaysResponseFromJSON;
|
|
22
|
+
function GatewaysGatewaysResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'gateways': (json['gateways'].map(GatewaysGatewayDto_1.GatewaysGatewayDtoFromJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.GatewaysGatewaysResponseFromJSONTyped = GatewaysGatewaysResponseFromJSONTyped;
|
|
31
|
+
function GatewaysGatewaysResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'gateways': (value.gateways.map(GatewaysGatewayDto_1.GatewaysGatewayDtoToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GatewaysGatewaysResponseToJSON = GatewaysGatewaysResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './AccessRights';
|
|
2
2
|
export * from './AdminCredentialPayload';
|
|
3
|
-
export * from './AdminCredentialResponse';
|
|
4
3
|
export * from './CalendarDefaultCalendarId';
|
|
5
4
|
export * from './CalendarsCalendar';
|
|
6
5
|
export * from './CalendarsListCalendarResponse';
|
|
@@ -49,13 +48,17 @@ export * from './GatewaysAccessesEquisoftAnalyzeAccess';
|
|
|
49
48
|
export * from './GatewaysAccessesListGatewayAccessesResponse';
|
|
50
49
|
export * from './GatewaysAccessesPatchEquisoftAnalyzeAccessPayload';
|
|
51
50
|
export * from './GatewaysAccessesUser';
|
|
51
|
+
export * from './GatewaysAccessesValidationAdminCredentialResponse';
|
|
52
|
+
export * from './GatewaysAccessesValidationGatewayAdminDto';
|
|
52
53
|
export * from './GatewaysCredentials';
|
|
53
54
|
export * from './GatewaysCredentialsWithSsn';
|
|
54
55
|
export * from './GatewaysCredentialsWithSsnAllOf';
|
|
55
56
|
export * from './GatewaysFullfinanceScrapeJob';
|
|
56
57
|
export * from './GatewaysFullfinanceScrapeJobStatus';
|
|
58
|
+
export * from './GatewaysGatewayDto';
|
|
57
59
|
export * from './GatewaysGatewayName';
|
|
58
60
|
export * from './GatewaysGatewayType';
|
|
61
|
+
export * from './GatewaysGatewaysResponse';
|
|
59
62
|
export * from './GatewaysListCredentialsResponse';
|
|
60
63
|
export * from './HandlersOauth2AssetbookAssetBookTokenPostBody';
|
|
61
64
|
export * from './InternalNotesAuthor';
|
package/dist/models/index.js
CHANGED
|
@@ -14,7 +14,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
__exportStar(require("./AccessRights"), exports);
|
|
16
16
|
__exportStar(require("./AdminCredentialPayload"), exports);
|
|
17
|
-
__exportStar(require("./AdminCredentialResponse"), exports);
|
|
18
17
|
__exportStar(require("./CalendarDefaultCalendarId"), exports);
|
|
19
18
|
__exportStar(require("./CalendarsCalendar"), exports);
|
|
20
19
|
__exportStar(require("./CalendarsListCalendarResponse"), exports);
|
|
@@ -63,13 +62,17 @@ __exportStar(require("./GatewaysAccessesEquisoftAnalyzeAccess"), exports);
|
|
|
63
62
|
__exportStar(require("./GatewaysAccessesListGatewayAccessesResponse"), exports);
|
|
64
63
|
__exportStar(require("./GatewaysAccessesPatchEquisoftAnalyzeAccessPayload"), exports);
|
|
65
64
|
__exportStar(require("./GatewaysAccessesUser"), exports);
|
|
65
|
+
__exportStar(require("./GatewaysAccessesValidationAdminCredentialResponse"), exports);
|
|
66
|
+
__exportStar(require("./GatewaysAccessesValidationGatewayAdminDto"), exports);
|
|
66
67
|
__exportStar(require("./GatewaysCredentials"), exports);
|
|
67
68
|
__exportStar(require("./GatewaysCredentialsWithSsn"), exports);
|
|
68
69
|
__exportStar(require("./GatewaysCredentialsWithSsnAllOf"), exports);
|
|
69
70
|
__exportStar(require("./GatewaysFullfinanceScrapeJob"), exports);
|
|
70
71
|
__exportStar(require("./GatewaysFullfinanceScrapeJobStatus"), exports);
|
|
72
|
+
__exportStar(require("./GatewaysGatewayDto"), exports);
|
|
71
73
|
__exportStar(require("./GatewaysGatewayName"), exports);
|
|
72
74
|
__exportStar(require("./GatewaysGatewayType"), exports);
|
|
75
|
+
__exportStar(require("./GatewaysGatewaysResponse"), exports);
|
|
73
76
|
__exportStar(require("./GatewaysListCredentialsResponse"), exports);
|
|
74
77
|
__exportStar(require("./HandlersOauth2AssetbookAssetBookTokenPostBody"), exports);
|
|
75
78
|
__exportStar(require("./InternalNotesAuthor"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/equisoft-connect-sdk-typescript",
|
|
3
|
-
"version": "10.27.
|
|
3
|
+
"version": "10.27.1-snapshot.20220801193300",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"main": "./dist/index.js",
|
package/src/apis/GatewaysApi.ts
CHANGED
|
@@ -18,9 +18,6 @@ import {
|
|
|
18
18
|
AdminCredentialPayload,
|
|
19
19
|
AdminCredentialPayloadFromJSON,
|
|
20
20
|
AdminCredentialPayloadToJSON,
|
|
21
|
-
AdminCredentialResponse,
|
|
22
|
-
AdminCredentialResponseFromJSON,
|
|
23
|
-
AdminCredentialResponseToJSON,
|
|
24
21
|
CredentialsResponse,
|
|
25
22
|
CredentialsResponseFromJSON,
|
|
26
23
|
CredentialsResponseToJSON,
|
|
@@ -39,6 +36,12 @@ import {
|
|
|
39
36
|
GatewaysAccessesPatchEquisoftAnalyzeAccessPayload,
|
|
40
37
|
GatewaysAccessesPatchEquisoftAnalyzeAccessPayloadFromJSON,
|
|
41
38
|
GatewaysAccessesPatchEquisoftAnalyzeAccessPayloadToJSON,
|
|
39
|
+
GatewaysAccessesValidationAdminCredentialResponse,
|
|
40
|
+
GatewaysAccessesValidationAdminCredentialResponseFromJSON,
|
|
41
|
+
GatewaysAccessesValidationAdminCredentialResponseToJSON,
|
|
42
|
+
GatewaysGatewaysResponse,
|
|
43
|
+
GatewaysGatewaysResponseFromJSON,
|
|
44
|
+
GatewaysGatewaysResponseToJSON,
|
|
42
45
|
GatewaysListCredentialsResponse,
|
|
43
46
|
GatewaysListCredentialsResponseFromJSON,
|
|
44
47
|
GatewaysListCredentialsResponseToJSON,
|
|
@@ -53,7 +56,6 @@ export interface DeleteEquisoftAnalyzeAccessRequest {
|
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
export interface GatewayAdminLoginRequest {
|
|
56
|
-
gatewayName: string;
|
|
57
59
|
authorization: string;
|
|
58
60
|
adminCredentialPayload: AdminCredentialPayload;
|
|
59
61
|
}
|
|
@@ -72,6 +74,11 @@ export interface ListGatewayConfigurationsRequest {
|
|
|
72
74
|
gatewayName: string;
|
|
73
75
|
}
|
|
74
76
|
|
|
77
|
+
export interface ListGatewaysRequest {
|
|
78
|
+
authorization: string;
|
|
79
|
+
gatewaysId?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
75
82
|
export interface ListGenericCredentialsRequest {
|
|
76
83
|
gatewayName: string;
|
|
77
84
|
includeSsn?: boolean;
|
|
@@ -178,11 +185,7 @@ export class GatewaysApi extends runtime.BaseAPI {
|
|
|
178
185
|
|
|
179
186
|
/**
|
|
180
187
|
*/
|
|
181
|
-
async gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<
|
|
182
|
-
if (requestParameters.gatewayName === null || requestParameters.gatewayName === undefined) {
|
|
183
|
-
throw new runtime.RequiredError('gatewayName','Required parameter requestParameters.gatewayName was null or undefined when calling gatewayAdminLogin.');
|
|
184
|
-
}
|
|
185
|
-
|
|
188
|
+
async gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysAccessesValidationAdminCredentialResponse>> {
|
|
186
189
|
if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
|
|
187
190
|
throw new runtime.RequiredError('authorization','Required parameter requestParameters.authorization was null or undefined when calling gatewayAdminLogin.');
|
|
188
191
|
}
|
|
@@ -212,19 +215,19 @@ export class GatewaysApi extends runtime.BaseAPI {
|
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
const response = await this.request({
|
|
215
|
-
path: `/crm/api/v1/gateways/credentials-validation/
|
|
218
|
+
path: `/crm/api/v1/gateways/credentials-validation/admin-credentials/login`,
|
|
216
219
|
method: 'POST',
|
|
217
220
|
headers: headerParameters,
|
|
218
221
|
query: queryParameters,
|
|
219
222
|
body: AdminCredentialPayloadToJSON(requestParameters.adminCredentialPayload),
|
|
220
223
|
}, initOverrides);
|
|
221
224
|
|
|
222
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
225
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GatewaysAccessesValidationAdminCredentialResponseFromJSON(jsonValue));
|
|
223
226
|
}
|
|
224
227
|
|
|
225
228
|
/**
|
|
226
229
|
*/
|
|
227
|
-
async gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<
|
|
230
|
+
async gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysAccessesValidationAdminCredentialResponse> {
|
|
228
231
|
const response = await this.gatewayAdminLoginRaw(requestParameters, initOverrides);
|
|
229
232
|
return await response.value();
|
|
230
233
|
}
|
|
@@ -390,6 +393,52 @@ export class GatewaysApi extends runtime.BaseAPI {
|
|
|
390
393
|
await this.listGatewayConfigurationsRaw(requestParameters, initOverrides);
|
|
391
394
|
}
|
|
392
395
|
|
|
396
|
+
/**
|
|
397
|
+
*/
|
|
398
|
+
async listGatewaysRaw(requestParameters: ListGatewaysRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysGatewaysResponse>> {
|
|
399
|
+
if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
|
|
400
|
+
throw new runtime.RequiredError('authorization','Required parameter requestParameters.authorization was null or undefined when calling listGateways.');
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
const queryParameters: any = {};
|
|
404
|
+
|
|
405
|
+
if (requestParameters.gatewaysId !== undefined) {
|
|
406
|
+
queryParameters['gatewaysId'] = requestParameters.gatewaysId;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
410
|
+
|
|
411
|
+
if (requestParameters.authorization !== undefined && requestParameters.authorization !== null) {
|
|
412
|
+
headerParameters['Authorization'] = String(requestParameters.authorization);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
416
|
+
// oauth required
|
|
417
|
+
const token = this.configuration.accessToken;
|
|
418
|
+
const tokenString = await token("OAuth2", []);
|
|
419
|
+
|
|
420
|
+
if (tokenString) {
|
|
421
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
const response = await this.request({
|
|
426
|
+
path: `/crm/api/v1/gateways/credentials-validation`,
|
|
427
|
+
method: 'GET',
|
|
428
|
+
headers: headerParameters,
|
|
429
|
+
query: queryParameters,
|
|
430
|
+
}, initOverrides);
|
|
431
|
+
|
|
432
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GatewaysGatewaysResponseFromJSON(jsonValue));
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
*/
|
|
437
|
+
async listGateways(requestParameters: ListGatewaysRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysGatewaysResponse> {
|
|
438
|
+
const response = await this.listGatewaysRaw(requestParameters, initOverrides);
|
|
439
|
+
return await response.value();
|
|
440
|
+
}
|
|
441
|
+
|
|
393
442
|
/**
|
|
394
443
|
*/
|
|
395
444
|
async listGenericCredentialsRaw(requestParameters: ListGenericCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysListCredentialsResponse>> {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
GatewaysAccessesValidationGatewayAdminDto,
|
|
18
|
+
GatewaysAccessesValidationGatewayAdminDtoFromJSON,
|
|
19
|
+
GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped,
|
|
20
|
+
GatewaysAccessesValidationGatewayAdminDtoToJSON,
|
|
21
|
+
} from './GatewaysAccessesValidationGatewayAdminDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GatewaysAccessesValidationAdminCredentialResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface GatewaysAccessesValidationAdminCredentialResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<GatewaysAccessesValidationGatewayAdminDto>}
|
|
32
|
+
* @memberof GatewaysAccessesValidationAdminCredentialResponse
|
|
33
|
+
*/
|
|
34
|
+
adminGateways: Array<GatewaysAccessesValidationGatewayAdminDto>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function GatewaysAccessesValidationAdminCredentialResponseFromJSON(json: any): GatewaysAccessesValidationAdminCredentialResponse {
|
|
38
|
+
return GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function GatewaysAccessesValidationAdminCredentialResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysAccessesValidationAdminCredentialResponse {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'adminGateways': ((json['adminGateways'] as Array<any>).map(GatewaysAccessesValidationGatewayAdminDtoFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function GatewaysAccessesValidationAdminCredentialResponseToJSON(value?: GatewaysAccessesValidationAdminCredentialResponse | null): any {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'adminGateways': ((value.adminGateways as Array<any>).map(GatewaysAccessesValidationGatewayAdminDtoToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GatewaysAccessesValidationGatewayAdminDto
|
|
20
|
+
*/
|
|
21
|
+
export interface GatewaysAccessesValidationGatewayAdminDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GatewaysAccessesValidationGatewayAdminDto
|
|
38
|
+
*/
|
|
39
|
+
lang: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function GatewaysAccessesValidationGatewayAdminDtoFromJSON(json: any): GatewaysAccessesValidationGatewayAdminDto {
|
|
43
|
+
return GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysAccessesValidationGatewayAdminDto {
|
|
47
|
+
if ((json === undefined) || (json === null)) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'lang': json['lang'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GatewaysAccessesValidationGatewayAdminDtoToJSON(value?: GatewaysAccessesValidationGatewayAdminDto | null): any {
|
|
59
|
+
if (value === undefined) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
if (value === null) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'id': value.id,
|
|
68
|
+
'name': value.name,
|
|
69
|
+
'lang': value.lang,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -16,46 +16,46 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface GatewaysGatewayDto
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface GatewaysGatewayDto {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof GatewaysGatewayDto
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
id: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof GatewaysGatewayDto
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof GatewaysGatewayDto
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
dealerName?: string | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export function
|
|
43
|
-
return
|
|
42
|
+
export function GatewaysGatewayDtoFromJSON(json: any): GatewaysGatewayDto {
|
|
43
|
+
return GatewaysGatewayDtoFromJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export function
|
|
46
|
+
export function GatewaysGatewayDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysGatewayDto {
|
|
47
47
|
if ((json === undefined) || (json === null)) {
|
|
48
48
|
return json;
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
|
|
52
|
-
'
|
|
52
|
+
'id': json['id'],
|
|
53
53
|
'name': json['name'],
|
|
54
|
-
'
|
|
54
|
+
'dealerName': !exists(json, 'dealerName') ? undefined : json['dealerName'],
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function
|
|
58
|
+
export function GatewaysGatewayDtoToJSON(value?: GatewaysGatewayDto | null): any {
|
|
59
59
|
if (value === undefined) {
|
|
60
60
|
return undefined;
|
|
61
61
|
}
|
|
@@ -64,9 +64,9 @@ export function AdminCredentialResponseToJSON(value?: AdminCredentialResponse |
|
|
|
64
64
|
}
|
|
65
65
|
return {
|
|
66
66
|
|
|
67
|
-
'
|
|
67
|
+
'id': value.id,
|
|
68
68
|
'name': value.name,
|
|
69
|
-
'
|
|
69
|
+
'dealerName': value.dealerName,
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
GatewaysGatewayDto,
|
|
18
|
+
GatewaysGatewayDtoFromJSON,
|
|
19
|
+
GatewaysGatewayDtoFromJSONTyped,
|
|
20
|
+
GatewaysGatewayDtoToJSON,
|
|
21
|
+
} from './GatewaysGatewayDto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GatewaysGatewaysResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface GatewaysGatewaysResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<GatewaysGatewayDto>}
|
|
32
|
+
* @memberof GatewaysGatewaysResponse
|
|
33
|
+
*/
|
|
34
|
+
gateways: Array<GatewaysGatewayDto>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function GatewaysGatewaysResponseFromJSON(json: any): GatewaysGatewaysResponse {
|
|
38
|
+
return GatewaysGatewaysResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function GatewaysGatewaysResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysGatewaysResponse {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'gateways': ((json['gateways'] as Array<any>).map(GatewaysGatewayDtoFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function GatewaysGatewaysResponseToJSON(value?: GatewaysGatewaysResponse | null): any {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
|
|
60
|
+
'gateways': ((value.gateways as Array<any>).map(GatewaysGatewayDtoToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AccessRights';
|
|
4
4
|
export * from './AdminCredentialPayload';
|
|
5
|
-
export * from './AdminCredentialResponse';
|
|
6
5
|
export * from './CalendarDefaultCalendarId';
|
|
7
6
|
export * from './CalendarsCalendar';
|
|
8
7
|
export * from './CalendarsListCalendarResponse';
|
|
@@ -51,13 +50,17 @@ export * from './GatewaysAccessesEquisoftAnalyzeAccess';
|
|
|
51
50
|
export * from './GatewaysAccessesListGatewayAccessesResponse';
|
|
52
51
|
export * from './GatewaysAccessesPatchEquisoftAnalyzeAccessPayload';
|
|
53
52
|
export * from './GatewaysAccessesUser';
|
|
53
|
+
export * from './GatewaysAccessesValidationAdminCredentialResponse';
|
|
54
|
+
export * from './GatewaysAccessesValidationGatewayAdminDto';
|
|
54
55
|
export * from './GatewaysCredentials';
|
|
55
56
|
export * from './GatewaysCredentialsWithSsn';
|
|
56
57
|
export * from './GatewaysCredentialsWithSsnAllOf';
|
|
57
58
|
export * from './GatewaysFullfinanceScrapeJob';
|
|
58
59
|
export * from './GatewaysFullfinanceScrapeJobStatus';
|
|
60
|
+
export * from './GatewaysGatewayDto';
|
|
59
61
|
export * from './GatewaysGatewayName';
|
|
60
62
|
export * from './GatewaysGatewayType';
|
|
63
|
+
export * from './GatewaysGatewaysResponse';
|
|
61
64
|
export * from './GatewaysListCredentialsResponse';
|
|
62
65
|
export * from './HandlersOauth2AssetbookAssetBookTokenPostBody';
|
|
63
66
|
export * from './InternalNotesAuthor';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equisoft /connect API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: latest
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AdminCredentialResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface AdminCredentialResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AdminCredentialResponse
|
|
22
|
-
*/
|
|
23
|
-
gatewayId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AdminCredentialResponse
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AdminCredentialResponse
|
|
34
|
-
*/
|
|
35
|
-
defaultLang: string;
|
|
36
|
-
}
|
|
37
|
-
export declare function AdminCredentialResponseFromJSON(json: any): AdminCredentialResponse;
|
|
38
|
-
export declare function AdminCredentialResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminCredentialResponse;
|
|
39
|
-
export declare function AdminCredentialResponseToJSON(value?: AdminCredentialResponse | null): any;
|