@equisoft/equisoft-connect-sdk-typescript 10.26.3-snapshot.20220729160033 → 10.27.0

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.
@@ -18,6 +18,7 @@ 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
21
22
  src/models/CalendarDefaultCalendarId.ts
22
23
  src/models/CalendarsCalendar.ts
23
24
  src/models/CalendarsListCalendarResponse.ts
@@ -66,8 +67,6 @@ src/models/GatewaysAccessesEquisoftAnalyzeAccess.ts
66
67
  src/models/GatewaysAccessesListGatewayAccessesResponse.ts
67
68
  src/models/GatewaysAccessesPatchEquisoftAnalyzeAccessPayload.ts
68
69
  src/models/GatewaysAccessesUser.ts
69
- src/models/GatewaysAccessesValidationAdminCredentialResponse.ts
70
- src/models/GatewaysAccessesValidationGatewayAdminDto.ts
71
70
  src/models/GatewaysCredentials.ts
72
71
  src/models/GatewaysCredentialsWithSsn.ts
73
72
  src/models/GatewaysCredentialsWithSsnAllOf.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, CredentialsResponse, GatewaysAccessesCreateAccessResponse, GatewaysAccessesCreateEquisoftAnalyzeAccessPayload, GatewaysAccessesListGatewayAccessesResponse, GatewaysAccessesPatchEquisoftAnalyzeAccessPayload, GatewaysAccessesValidationAdminCredentialResponse, GatewaysListCredentialsResponse } from '../models';
13
+ import { AdminCredentialPayload, AdminCredentialResponse, CredentialsResponse, GatewaysAccessesCreateAccessResponse, GatewaysAccessesCreateEquisoftAnalyzeAccessPayload, GatewaysAccessesListGatewayAccessesResponse, GatewaysAccessesPatchEquisoftAnalyzeAccessPayload, GatewaysListCredentialsResponse } from '../models';
14
14
  export interface CreateEquisoftAnalyzeAccessRequest {
15
15
  gatewaysAccessesCreateEquisoftAnalyzeAccessPayload: GatewaysAccessesCreateEquisoftAnalyzeAccessPayload;
16
16
  }
@@ -18,6 +18,7 @@ export interface DeleteEquisoftAnalyzeAccessRequest {
18
18
  accessId: number;
19
19
  }
20
20
  export interface GatewayAdminLoginRequest {
21
+ gatewayName: string;
21
22
  authorization: string;
22
23
  adminCredentialPayload: AdminCredentialPayload;
23
24
  }
@@ -68,10 +69,10 @@ export declare class GatewaysApi extends runtime.BaseAPI {
68
69
  deleteEquisoftAnalyzeAccess(requestParameters: DeleteEquisoftAnalyzeAccessRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<void>;
69
70
  /**
70
71
  */
71
- gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysAccessesValidationAdminCredentialResponse>>;
72
+ gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AdminCredentialResponse>>;
72
73
  /**
73
74
  */
74
- gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysAccessesValidationAdminCredentialResponse>;
75
+ gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AdminCredentialResponse>;
75
76
  /**
76
77
  */
77
78
  listAssetBookCredentialsRaw(initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysListCredentialsResponse>>;
@@ -106,6 +106,9 @@ 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
+ }
109
112
  if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
110
113
  throw new runtime.RequiredError('authorization', 'Required parameter requestParameters.authorization was null or undefined when calling gatewayAdminLogin.');
111
114
  }
@@ -127,13 +130,13 @@ class GatewaysApi extends runtime.BaseAPI {
127
130
  }
128
131
  }
129
132
  const response = yield this.request({
130
- path: `/crm/api/v1/gateways/credentials-validation/admin-credentials/login`,
133
+ path: `/crm/api/v1/gateways/credentials-validation/{gatewayName}/admin-credentials/login`.replace(`{${"gatewayName"}}`, encodeURIComponent(String(requestParameters.gatewayName))),
131
134
  method: 'POST',
132
135
  headers: headerParameters,
133
136
  query: queryParameters,
134
137
  body: models_1.AdminCredentialPayloadToJSON(requestParameters.adminCredentialPayload),
135
138
  }, initOverrides);
136
- return new runtime.JSONApiResponse(response, (jsonValue) => models_1.GatewaysAccessesValidationAdminCredentialResponseFromJSON(jsonValue));
139
+ return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AdminCredentialResponseFromJSON(jsonValue));
137
140
  });
138
141
  }
139
142
  /**
@@ -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 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;
@@ -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.AdminCredentialResponseToJSON = exports.AdminCredentialResponseFromJSONTyped = exports.AdminCredentialResponseFromJSON = void 0;
17
+ function AdminCredentialResponseFromJSON(json) {
18
+ return AdminCredentialResponseFromJSONTyped(json, false);
19
+ }
20
+ exports.AdminCredentialResponseFromJSON = AdminCredentialResponseFromJSON;
21
+ function AdminCredentialResponseFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'gatewayId': json['gatewayId'],
27
+ 'name': json['name'],
28
+ 'defaultLang': json['defaultLang'],
29
+ };
30
+ }
31
+ exports.AdminCredentialResponseFromJSONTyped = AdminCredentialResponseFromJSONTyped;
32
+ function AdminCredentialResponseToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'gatewayId': value.gatewayId,
41
+ 'name': value.name,
42
+ 'defaultLang': value.defaultLang,
43
+ };
44
+ }
45
+ exports.AdminCredentialResponseToJSON = AdminCredentialResponseToJSON;
@@ -1,5 +1,6 @@
1
1
  export * from './AccessRights';
2
2
  export * from './AdminCredentialPayload';
3
+ export * from './AdminCredentialResponse';
3
4
  export * from './CalendarDefaultCalendarId';
4
5
  export * from './CalendarsCalendar';
5
6
  export * from './CalendarsListCalendarResponse';
@@ -48,8 +49,6 @@ export * from './GatewaysAccessesEquisoftAnalyzeAccess';
48
49
  export * from './GatewaysAccessesListGatewayAccessesResponse';
49
50
  export * from './GatewaysAccessesPatchEquisoftAnalyzeAccessPayload';
50
51
  export * from './GatewaysAccessesUser';
51
- export * from './GatewaysAccessesValidationAdminCredentialResponse';
52
- export * from './GatewaysAccessesValidationGatewayAdminDto';
53
52
  export * from './GatewaysCredentials';
54
53
  export * from './GatewaysCredentialsWithSsn';
55
54
  export * from './GatewaysCredentialsWithSsnAllOf';
@@ -14,6 +14,7 @@ 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);
17
18
  __exportStar(require("./CalendarDefaultCalendarId"), exports);
18
19
  __exportStar(require("./CalendarsCalendar"), exports);
19
20
  __exportStar(require("./CalendarsListCalendarResponse"), exports);
@@ -62,8 +63,6 @@ __exportStar(require("./GatewaysAccessesEquisoftAnalyzeAccess"), exports);
62
63
  __exportStar(require("./GatewaysAccessesListGatewayAccessesResponse"), exports);
63
64
  __exportStar(require("./GatewaysAccessesPatchEquisoftAnalyzeAccessPayload"), exports);
64
65
  __exportStar(require("./GatewaysAccessesUser"), exports);
65
- __exportStar(require("./GatewaysAccessesValidationAdminCredentialResponse"), exports);
66
- __exportStar(require("./GatewaysAccessesValidationGatewayAdminDto"), exports);
67
66
  __exportStar(require("./GatewaysCredentials"), exports);
68
67
  __exportStar(require("./GatewaysCredentialsWithSsn"), exports);
69
68
  __exportStar(require("./GatewaysCredentialsWithSsnAllOf"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/equisoft-connect-sdk-typescript",
3
- "version": "10.26.3-snapshot.20220729160033",
3
+ "version": "10.27.0",
4
4
  "description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -18,6 +18,9 @@ import {
18
18
  AdminCredentialPayload,
19
19
  AdminCredentialPayloadFromJSON,
20
20
  AdminCredentialPayloadToJSON,
21
+ AdminCredentialResponse,
22
+ AdminCredentialResponseFromJSON,
23
+ AdminCredentialResponseToJSON,
21
24
  CredentialsResponse,
22
25
  CredentialsResponseFromJSON,
23
26
  CredentialsResponseToJSON,
@@ -36,9 +39,6 @@ import {
36
39
  GatewaysAccessesPatchEquisoftAnalyzeAccessPayload,
37
40
  GatewaysAccessesPatchEquisoftAnalyzeAccessPayloadFromJSON,
38
41
  GatewaysAccessesPatchEquisoftAnalyzeAccessPayloadToJSON,
39
- GatewaysAccessesValidationAdminCredentialResponse,
40
- GatewaysAccessesValidationAdminCredentialResponseFromJSON,
41
- GatewaysAccessesValidationAdminCredentialResponseToJSON,
42
42
  GatewaysListCredentialsResponse,
43
43
  GatewaysListCredentialsResponseFromJSON,
44
44
  GatewaysListCredentialsResponseToJSON,
@@ -53,6 +53,7 @@ export interface DeleteEquisoftAnalyzeAccessRequest {
53
53
  }
54
54
 
55
55
  export interface GatewayAdminLoginRequest {
56
+ gatewayName: string;
56
57
  authorization: string;
57
58
  adminCredentialPayload: AdminCredentialPayload;
58
59
  }
@@ -177,7 +178,11 @@ export class GatewaysApi extends runtime.BaseAPI {
177
178
 
178
179
  /**
179
180
  */
180
- async gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<GatewaysAccessesValidationAdminCredentialResponse>> {
181
+ async gatewayAdminLoginRaw(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<AdminCredentialResponse>> {
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
+
181
186
  if (requestParameters.authorization === null || requestParameters.authorization === undefined) {
182
187
  throw new runtime.RequiredError('authorization','Required parameter requestParameters.authorization was null or undefined when calling gatewayAdminLogin.');
183
188
  }
@@ -207,19 +212,19 @@ export class GatewaysApi extends runtime.BaseAPI {
207
212
  }
208
213
 
209
214
  const response = await this.request({
210
- path: `/crm/api/v1/gateways/credentials-validation/admin-credentials/login`,
215
+ path: `/crm/api/v1/gateways/credentials-validation/{gatewayName}/admin-credentials/login`.replace(`{${"gatewayName"}}`, encodeURIComponent(String(requestParameters.gatewayName))),
211
216
  method: 'POST',
212
217
  headers: headerParameters,
213
218
  query: queryParameters,
214
219
  body: AdminCredentialPayloadToJSON(requestParameters.adminCredentialPayload),
215
220
  }, initOverrides);
216
221
 
217
- return new runtime.JSONApiResponse(response, (jsonValue) => GatewaysAccessesValidationAdminCredentialResponseFromJSON(jsonValue));
222
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminCredentialResponseFromJSON(jsonValue));
218
223
  }
219
224
 
220
225
  /**
221
226
  */
222
- async gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<GatewaysAccessesValidationAdminCredentialResponse> {
227
+ async gatewayAdminLogin(requestParameters: GatewayAdminLoginRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<AdminCredentialResponse> {
223
228
  const response = await this.gatewayAdminLoginRaw(requestParameters, initOverrides);
224
229
  return await response.value();
225
230
  }
@@ -16,46 +16,46 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface GatewaysAccessesValidationGatewayAdminDto
19
+ * @interface AdminCredentialResponse
20
20
  */
21
- export interface GatewaysAccessesValidationGatewayAdminDto {
21
+ export interface AdminCredentialResponse {
22
22
  /**
23
23
  *
24
24
  * @type {number}
25
- * @memberof GatewaysAccessesValidationGatewayAdminDto
25
+ * @memberof AdminCredentialResponse
26
26
  */
27
- id: number;
27
+ gatewayId: number;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof GatewaysAccessesValidationGatewayAdminDto
31
+ * @memberof AdminCredentialResponse
32
32
  */
33
33
  name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof GatewaysAccessesValidationGatewayAdminDto
37
+ * @memberof AdminCredentialResponse
38
38
  */
39
- lang: string;
39
+ defaultLang: string;
40
40
  }
41
41
 
42
- export function GatewaysAccessesValidationGatewayAdminDtoFromJSON(json: any): GatewaysAccessesValidationGatewayAdminDto {
43
- return GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json, false);
42
+ export function AdminCredentialResponseFromJSON(json: any): AdminCredentialResponse {
43
+ return AdminCredentialResponseFromJSONTyped(json, false);
44
44
  }
45
45
 
46
- export function GatewaysAccessesValidationGatewayAdminDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysAccessesValidationGatewayAdminDto {
46
+ export function AdminCredentialResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminCredentialResponse {
47
47
  if ((json === undefined) || (json === null)) {
48
48
  return json;
49
49
  }
50
50
  return {
51
51
 
52
- 'id': json['id'],
52
+ 'gatewayId': json['gatewayId'],
53
53
  'name': json['name'],
54
- 'lang': json['lang'],
54
+ 'defaultLang': json['defaultLang'],
55
55
  };
56
56
  }
57
57
 
58
- export function GatewaysAccessesValidationGatewayAdminDtoToJSON(value?: GatewaysAccessesValidationGatewayAdminDto | null): any {
58
+ export function AdminCredentialResponseToJSON(value?: AdminCredentialResponse | null): any {
59
59
  if (value === undefined) {
60
60
  return undefined;
61
61
  }
@@ -64,9 +64,9 @@ export function GatewaysAccessesValidationGatewayAdminDtoToJSON(value?: Gateways
64
64
  }
65
65
  return {
66
66
 
67
- 'id': value.id,
67
+ 'gatewayId': value.gatewayId,
68
68
  'name': value.name,
69
- 'lang': value.lang,
69
+ 'defaultLang': value.defaultLang,
70
70
  };
71
71
  }
72
72
 
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable */
3
3
  export * from './AccessRights';
4
4
  export * from './AdminCredentialPayload';
5
+ export * from './AdminCredentialResponse';
5
6
  export * from './CalendarDefaultCalendarId';
6
7
  export * from './CalendarsCalendar';
7
8
  export * from './CalendarsListCalendarResponse';
@@ -50,8 +51,6 @@ export * from './GatewaysAccessesEquisoftAnalyzeAccess';
50
51
  export * from './GatewaysAccessesListGatewayAccessesResponse';
51
52
  export * from './GatewaysAccessesPatchEquisoftAnalyzeAccessPayload';
52
53
  export * from './GatewaysAccessesUser';
53
- export * from './GatewaysAccessesValidationAdminCredentialResponse';
54
- export * from './GatewaysAccessesValidationGatewayAdminDto';
55
54
  export * from './GatewaysCredentials';
56
55
  export * from './GatewaysCredentialsWithSsn';
57
56
  export * from './GatewaysCredentialsWithSsnAllOf';
@@ -1,28 +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
- 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;
@@ -1,42 +0,0 @@
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;
@@ -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 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;
@@ -1,45 +0,0 @@
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;
@@ -1,63 +0,0 @@
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
-