@jrojaspin/security-map-api-cli 1.8.0 → 2.0.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.
- package/package.json +3 -3
- package/src/apis/AccountApi.ts +56 -46
- package/src/apis/ArticleApi.ts +10 -6
- package/src/apis/HealthcheckApi.ts +4 -0
- package/src/apis/ItemApi.ts +359 -66
- package/src/apis/JournalApi.ts +40 -25
- package/src/apis/LocationApi.ts +61 -14
- package/src/apis/LoginApi.ts +86 -10
- package/src/apis/MapApi.ts +74 -75
- package/src/apis/MultimediaApi.ts +18 -6
- package/src/apis/OrganizationApi.ts +269 -0
- package/src/apis/ReportApi.ts +49 -23
- package/src/apis/SearchApi.ts +38 -10
- package/src/apis/SourceApi.ts +25 -17
- package/src/apis/StateMachineApi.ts +10 -6
- package/src/apis/index.ts +1 -1
- package/src/models/{Def1.ts → AccountORM.ts} +13 -21
- package/src/models/AccountOutput.ts +74 -0
- package/src/models/AddUserToOrganizationDto.ts +74 -0
- package/src/models/{Def4.ts → ArticleORM.ts} +26 -31
- package/src/models/ArticlePresentationORM.ts +83 -0
- package/src/models/ArticleTypeORM.ts +74 -0
- package/src/models/AutoCompleteORM.ts +98 -0
- package/src/models/AvailableArticlesDto.ts +138 -0
- package/src/models/AvailableArticlesOutput.ts +74 -0
- package/src/models/AxisTitle.ts +75 -0
- package/src/models/ChartConfiguration.ts +99 -0
- package/src/models/ChartData.ts +74 -0
- package/src/models/ChartDataset.ts +131 -0
- package/src/models/ChartLegend.ts +79 -0
- package/src/models/ChartOptions.ts +99 -0
- package/src/models/ChartPlugins.ts +90 -0
- package/src/models/ChartScales.ts +90 -0
- package/src/models/ChartTitle.ts +75 -0
- package/src/models/DataPoint.ts +75 -0
- package/src/models/ItemLayerLinkInputDto.ts +66 -0
- package/src/models/ItemLinkToLayerOutput.ts +66 -0
- package/src/models/ItemTypeFormDto.ts +106 -0
- package/src/models/ItemTypeFormOutput.ts +74 -0
- package/src/models/{Def16.ts → ItemTypeORM.ts} +19 -38
- package/src/models/ItemTypeOutput.ts +74 -0
- package/src/models/ItemsOutput.ts +74 -0
- package/src/models/JournalBookORM.ts +84 -0
- package/src/models/JournalEntryArticleORM.ts +110 -0
- package/src/models/JournalEntryListOutput.ts +74 -0
- package/src/models/JournalEntryMultimediaInput.ts +66 -0
- package/src/models/JournalEntryMultimediaORM.ts +83 -0
- package/src/models/JournalEntryMultimediaOutput.ts +66 -0
- package/src/models/{Def18.ts → JournalEntryORM.ts} +25 -23
- package/src/models/JournalEntryOutput.ts +74 -0
- package/src/models/JournalEntryOutputDto.ts +75 -0
- package/src/models/LegendPosition.ts +55 -0
- package/src/models/LocationORM.ts +218 -0
- package/src/models/LocationOutput.ts +74 -0
- package/src/models/MagnitudeORM.ts +74 -0
- package/src/models/ManualLoginInput.ts +75 -0
- package/src/models/ManualLoginPasswordUpdateInput.ts +75 -0
- package/src/models/{Def43.ts → ManualRegisterInput.ts} +14 -14
- package/src/models/MapItemArticleInputDto.ts +109 -0
- package/src/models/MapItemArticleORM.ts +110 -0
- package/src/models/{Def14.ts → MapItemCustomFieldDefinitionORM.ts} +17 -18
- package/src/models/MapItemDynamicFieldInputDto.ts +91 -0
- package/src/models/{Def13.ts → MapItemDynamicFieldORM.ts} +17 -18
- package/src/models/MapItemDynamicFieldWithDefinitionORM.ts +90 -0
- package/src/models/MapItemInput.ts +191 -0
- package/src/models/{Def11.ts → MapItemLinkORM.ts} +26 -23
- package/src/models/MapItemLinkOutput.ts +74 -0
- package/src/models/MapItemListOutput.ts +74 -0
- package/src/models/MapItemMultimediaORM.ts +83 -0
- package/src/models/MapItemMultimediaOutput.ts +74 -0
- package/src/models/MapItemNearByORM.ts +75 -0
- package/src/models/MapItemORM.ts +133 -0
- package/src/models/MapItemOutput.ts +74 -0
- package/src/models/MapItemOutputDto.ts +225 -0
- package/src/models/MapItemOutputDtoProps.ts +225 -0
- package/src/models/MapItemTypeDynamicFieldDefinitionOutput.ts +74 -0
- package/src/models/MapItemTypeDynamicFieldDefinitionValuesOutput.ts +66 -0
- package/src/models/MapItemTypeFormORM.ts +83 -0
- package/src/models/MapItemTypeFormSectionDto.ts +90 -0
- package/src/models/MapItemTypeFormSectionFieldORM.ts +101 -0
- package/src/models/MapItemTypeFormSectionORM.ts +92 -0
- package/src/models/MapItemTypeORM.ts +135 -0
- package/src/models/MapItemTypeOutput.ts +74 -0
- package/src/models/MapLayerInput.ts +84 -0
- package/src/models/MapLayerItemListOutput.ts +74 -0
- package/src/models/MapLayerItemORM.ts +101 -0
- package/src/models/MapLayerItemOutput.ts +74 -0
- package/src/models/MapLayerListOutput.ts +74 -0
- package/src/models/{Def7.ts → MapLayerORM.ts} +27 -33
- package/src/models/MapLayerOutput.ts +74 -0
- package/src/models/MapLayerOutputDto.ts +118 -0
- package/src/models/MapListOutput.ts +74 -0
- package/src/models/MapORM.ts +108 -0
- package/src/models/MapOutput.ts +74 -0
- package/src/models/MapZoneInput.ts +66 -0
- package/src/models/{Def62.ts → MapZoneORM.ts} +17 -25
- package/src/models/MapZoneOutput.ts +74 -0
- package/src/models/MapZoneOutputDto.ts +100 -0
- package/src/models/MapZonePointORM.ts +83 -0
- package/src/models/MeasureUnitORM.ts +92 -0
- package/src/models/ModelRequestContext.ts +74 -0
- package/src/models/MultimediaORM.ts +99 -0
- package/src/models/MultimediaOutput.ts +74 -0
- package/src/models/NominatimAddressORM.ts +147 -0
- package/src/models/NominatimORM.ts +192 -0
- package/src/models/{Def2.ts → OrganizationORM.ts} +16 -16
- package/src/models/{Def81.ts → ReportAvailableColumnDto.ts} +13 -13
- package/src/models/ReportAvailableColumnsListOutput.ts +74 -0
- package/src/models/ReportColumnFilterORM.ts +101 -0
- package/src/models/ReportColumnORM.ts +135 -0
- package/src/models/{Def78.ts → ReportConfigurationDto.ts} +13 -22
- package/src/models/ReportDataCSVDto.ts +66 -0
- package/src/models/ReportDataDto.ts +88 -0
- package/src/models/ReportDataJSONDto.ts +74 -0
- package/src/models/ReportDataORM.ts +74 -0
- package/src/models/ReportDataOutput.ts +74 -0
- package/src/models/{Def33.ts → ReportDataRowORM.ts} +12 -12
- package/src/models/ReportDto.ts +75 -0
- package/src/models/ReportListOutput.ts +74 -0
- package/src/models/ReportORM.ts +99 -0
- package/src/models/ReportOutput.ts +74 -0
- package/src/models/SearchORM.ts +84 -0
- package/src/models/SearchOutput.ts +74 -0
- package/src/models/SearchResultDto.ts +74 -0
- package/src/models/SearchResultSectionDto.ts +92 -0
- package/src/models/SearchResultSectionItem.ts +100 -0
- package/src/models/{Def90.ts → SourceDto.ts} +16 -15
- package/src/models/SourceListOutput.ts +74 -0
- package/src/models/SourceOutput.ts +74 -0
- package/src/models/StateMachineDefinitionListOutput.ts +74 -0
- package/src/models/StateMachineDefinitionOutputDto.ts +117 -0
- package/src/models/StateMachineORM.ts +82 -0
- package/src/models/{Def37.ts → StateMachineStateORM.ts} +20 -20
- package/src/models/StateMachineStateOutputDto.ts +84 -0
- package/src/models/{Def39.ts → StateMachineTransitionLogORM.ts} +20 -22
- package/src/models/{Def38.ts → StateMachineTransitionORM.ts} +18 -19
- package/src/models/StateMachineTransitionOutputDto.ts +93 -0
- package/src/models/UpdateUserInOrganizationPasswordDto.ts +66 -0
- package/src/models/UploadDto.ts +75 -0
- package/src/models/UploadOutput.ts +74 -0
- package/src/models/UserDto.ts +83 -0
- package/src/models/UserInOrganizationDto.ts +129 -0
- package/src/models/UserInOrganizationOutput.ts +74 -0
- package/src/models/{Def3.ts → UserORM.ts} +44 -34
- package/src/models/XAxisOptions.ts +83 -0
- package/src/models/YAxisOptions.ts +83 -0
- package/src/models/index.ts +130 -96
- package/src/.openapi-generator/FILES +0 -7
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/apis/DefaultApi.ts +0 -200
- package/src/models/Def0.ts +0 -73
- package/src/models/Def10.ts +0 -105
- package/src/models/Def12.ts +0 -81
- package/src/models/Def15.ts +0 -75
- package/src/models/Def17.ts +0 -81
- package/src/models/Def19.ts +0 -81
- package/src/models/Def20.ts +0 -105
- package/src/models/Def21.ts +0 -81
- package/src/models/Def22.ts +0 -217
- package/src/models/Def23.ts +0 -97
- package/src/models/Def24.ts +0 -127
- package/src/models/Def25.ts +0 -81
- package/src/models/Def26.ts +0 -81
- package/src/models/Def27.ts +0 -105
- package/src/models/Def28.ts +0 -121
- package/src/models/Def29.ts +0 -97
- package/src/models/Def30.ts +0 -113
- package/src/models/Def31.ts +0 -116
- package/src/models/Def32.ts +0 -121
- package/src/models/Def34.ts +0 -66
- package/src/models/Def35.ts +0 -81
- package/src/models/Def36.ts +0 -84
- package/src/models/Def40.ts +0 -137
- package/src/models/Def41.ts +0 -178
- package/src/models/Def42.ts +0 -66
- package/src/models/Def44.ts +0 -75
- package/src/models/Def45.ts +0 -74
- package/src/models/Def46.ts +0 -102
- package/src/models/Def47.ts +0 -66
- package/src/models/Def48.ts +0 -65
- package/src/models/Def49.ts +0 -66
- package/src/models/Def5.ts +0 -89
- package/src/models/Def50.ts +0 -66
- package/src/models/Def51.ts +0 -123
- package/src/models/Def52.ts +0 -66
- package/src/models/Def53.ts +0 -66
- package/src/models/Def54.ts +0 -66
- package/src/models/Def56.ts +0 -90
- package/src/models/Def57.ts +0 -182
- package/src/models/Def58.ts +0 -84
- package/src/models/Def59.ts +0 -66
- package/src/models/Def6.ts +0 -97
- package/src/models/Def60.ts +0 -66
- package/src/models/Def61.ts +0 -189
- package/src/models/Def63.ts +0 -66
- package/src/models/Def64.ts +0 -66
- package/src/models/Def65.ts +0 -66
- package/src/models/Def66.ts +0 -66
- package/src/models/Def67.ts +0 -66
- package/src/models/Def68.ts +0 -66
- package/src/models/Def69.ts +0 -66
- package/src/models/Def70.ts +0 -66
- package/src/models/Def71.ts +0 -66
- package/src/models/Def72.ts +0 -66
- package/src/models/Def73.ts +0 -66
- package/src/models/Def74.ts +0 -66
- package/src/models/Def75.ts +0 -75
- package/src/models/Def76.ts +0 -66
- package/src/models/Def77.ts +0 -66
- package/src/models/Def79.ts +0 -75
- package/src/models/Def8.ts +0 -137
- package/src/models/Def80.ts +0 -73
- package/src/models/Def82.ts +0 -66
- package/src/models/Def83.ts +0 -66
- package/src/models/Def84.ts +0 -66
- package/src/models/Def85.ts +0 -66
- package/src/models/Def86.ts +0 -92
- package/src/models/Def87.ts +0 -84
- package/src/models/Def88.ts +0 -66
- package/src/models/Def89.ts +0 -66
- package/src/models/Def9.ts +0 -113
- package/src/models/Def91.ts +0 -66
- package/src/models/Def92.ts +0 -66
- package/src/models/Def93.ts +0 -101
- package/src/models/Def94.ts +0 -66
- package/src/models/Def95.ts +0 -73
- package/src/models/Def96.ts +0 -66
- package/src/models/User.ts +0 -91
package/src/apis/ReportApi.ts
CHANGED
|
@@ -15,25 +15,26 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
ReportConfigurationDto,
|
|
19
|
+
ReportDataOutput,
|
|
20
|
+
ReportListOutput,
|
|
21
|
+
ReportOutput,
|
|
22
22
|
} from '../models/index';
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
ReportConfigurationDtoFromJSON,
|
|
25
|
+
ReportConfigurationDtoToJSON,
|
|
26
|
+
ReportDataOutputFromJSON,
|
|
27
|
+
ReportDataOutputToJSON,
|
|
28
|
+
ReportListOutputFromJSON,
|
|
29
|
+
ReportListOutputToJSON,
|
|
30
|
+
ReportOutputFromJSON,
|
|
31
|
+
ReportOutputToJSON,
|
|
32
32
|
} from '../models/index';
|
|
33
33
|
|
|
34
34
|
export interface ApiV1ReportReportIdDataPostRequest {
|
|
35
35
|
reportId: string;
|
|
36
|
-
|
|
36
|
+
format?: ApiV1ReportReportIdDataPostFormatEnum;
|
|
37
|
+
reportConfigurationDto?: ReportConfigurationDto;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export interface ApiV1ReportReportIdGetRequest {
|
|
@@ -48,11 +49,15 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
48
49
|
/**
|
|
49
50
|
* Lists all reports
|
|
50
51
|
*/
|
|
51
|
-
async apiV1ReportGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
52
|
+
async apiV1ReportGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReportListOutput>> {
|
|
52
53
|
const queryParameters: any = {};
|
|
53
54
|
|
|
54
55
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
55
56
|
|
|
57
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
58
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
59
|
+
}
|
|
60
|
+
|
|
56
61
|
const response = await this.request({
|
|
57
62
|
path: `/api/v1/report`,
|
|
58
63
|
method: 'GET',
|
|
@@ -60,13 +65,13 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
60
65
|
query: queryParameters,
|
|
61
66
|
}, initOverrides);
|
|
62
67
|
|
|
63
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
68
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportListOutputFromJSON(jsonValue));
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
/**
|
|
67
72
|
* Lists all reports
|
|
68
73
|
*/
|
|
69
|
-
async apiV1ReportGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
74
|
+
async apiV1ReportGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportListOutput> {
|
|
70
75
|
const response = await this.apiV1ReportGetRaw(initOverrides);
|
|
71
76
|
return await response.value();
|
|
72
77
|
}
|
|
@@ -74,7 +79,7 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
74
79
|
/**
|
|
75
80
|
* Downloads report data
|
|
76
81
|
*/
|
|
77
|
-
async apiV1ReportReportIdDataPostRaw(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
82
|
+
async apiV1ReportReportIdDataPostRaw(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReportDataOutput>> {
|
|
78
83
|
if (requestParameters['reportId'] == null) {
|
|
79
84
|
throw new runtime.RequiredError(
|
|
80
85
|
'reportId',
|
|
@@ -84,25 +89,33 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
84
89
|
|
|
85
90
|
const queryParameters: any = {};
|
|
86
91
|
|
|
92
|
+
if (requestParameters['format'] != null) {
|
|
93
|
+
queryParameters['format'] = requestParameters['format'];
|
|
94
|
+
}
|
|
95
|
+
|
|
87
96
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
88
97
|
|
|
89
98
|
headerParameters['Content-Type'] = 'application/json';
|
|
90
99
|
|
|
100
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
101
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
102
|
+
}
|
|
103
|
+
|
|
91
104
|
const response = await this.request({
|
|
92
105
|
path: `/api/v1/report/{reportId}/data`.replace(`{${"reportId"}}`, encodeURIComponent(String(requestParameters['reportId']))),
|
|
93
106
|
method: 'POST',
|
|
94
107
|
headers: headerParameters,
|
|
95
108
|
query: queryParameters,
|
|
96
|
-
body:
|
|
109
|
+
body: ReportConfigurationDtoToJSON(requestParameters['reportConfigurationDto']),
|
|
97
110
|
}, initOverrides);
|
|
98
111
|
|
|
99
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
112
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportDataOutputFromJSON(jsonValue));
|
|
100
113
|
}
|
|
101
114
|
|
|
102
115
|
/**
|
|
103
116
|
* Downloads report data
|
|
104
117
|
*/
|
|
105
|
-
async apiV1ReportReportIdDataPost(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
118
|
+
async apiV1ReportReportIdDataPost(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportDataOutput> {
|
|
106
119
|
const response = await this.apiV1ReportReportIdDataPostRaw(requestParameters, initOverrides);
|
|
107
120
|
return await response.value();
|
|
108
121
|
}
|
|
@@ -111,7 +124,7 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
111
124
|
* Loads report metadata by id
|
|
112
125
|
* This does not download report data, you need to download that using the /data endpoint
|
|
113
126
|
*/
|
|
114
|
-
async apiV1ReportReportIdGetRaw(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
127
|
+
async apiV1ReportReportIdGetRaw(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReportOutput>> {
|
|
115
128
|
if (requestParameters['reportId'] == null) {
|
|
116
129
|
throw new runtime.RequiredError(
|
|
117
130
|
'reportId',
|
|
@@ -123,6 +136,10 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
123
136
|
|
|
124
137
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
125
138
|
|
|
139
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
140
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
141
|
+
}
|
|
142
|
+
|
|
126
143
|
const response = await this.request({
|
|
127
144
|
path: `/api/v1/report/{reportId}`.replace(`{${"reportId"}}`, encodeURIComponent(String(requestParameters['reportId']))),
|
|
128
145
|
method: 'GET',
|
|
@@ -130,16 +147,25 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
130
147
|
query: queryParameters,
|
|
131
148
|
}, initOverrides);
|
|
132
149
|
|
|
133
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportOutputFromJSON(jsonValue));
|
|
134
151
|
}
|
|
135
152
|
|
|
136
153
|
/**
|
|
137
154
|
* Loads report metadata by id
|
|
138
155
|
* This does not download report data, you need to download that using the /data endpoint
|
|
139
156
|
*/
|
|
140
|
-
async apiV1ReportReportIdGet(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
157
|
+
async apiV1ReportReportIdGet(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportOutput> {
|
|
141
158
|
const response = await this.apiV1ReportReportIdGetRaw(requestParameters, initOverrides);
|
|
142
159
|
return await response.value();
|
|
143
160
|
}
|
|
144
161
|
|
|
145
162
|
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @export
|
|
166
|
+
*/
|
|
167
|
+
export const ApiV1ReportReportIdDataPostFormatEnum = {
|
|
168
|
+
Json: 'json',
|
|
169
|
+
Csv: 'csv'
|
|
170
|
+
} as const;
|
|
171
|
+
export type ApiV1ReportReportIdDataPostFormatEnum = typeof ApiV1ReportReportIdDataPostFormatEnum[keyof typeof ApiV1ReportReportIdDataPostFormatEnum];
|
package/src/apis/SearchApi.ts
CHANGED
|
@@ -15,13 +15,18 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
SearchOutput,
|
|
19
19
|
} from '../models/index';
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
SearchOutputFromJSON,
|
|
22
|
+
SearchOutputToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
+
export interface ApiV1SearchPostRequest {
|
|
26
|
+
q: string;
|
|
27
|
+
itemTypes?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
/**
|
|
26
31
|
*
|
|
27
32
|
*/
|
|
@@ -30,11 +35,15 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
30
35
|
/**
|
|
31
36
|
* Searches for items in the database
|
|
32
37
|
*/
|
|
33
|
-
async apiV1SearchAutocompletePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
38
|
+
async apiV1SearchAutocompletePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SearchOutput>> {
|
|
34
39
|
const queryParameters: any = {};
|
|
35
40
|
|
|
36
41
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
37
42
|
|
|
43
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
44
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
45
|
+
}
|
|
46
|
+
|
|
38
47
|
const response = await this.request({
|
|
39
48
|
path: `/api/v1/search/autocomplete`,
|
|
40
49
|
method: 'POST',
|
|
@@ -42,13 +51,13 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
42
51
|
query: queryParameters,
|
|
43
52
|
}, initOverrides);
|
|
44
53
|
|
|
45
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SearchOutputFromJSON(jsonValue));
|
|
46
55
|
}
|
|
47
56
|
|
|
48
57
|
/**
|
|
49
58
|
* Searches for items in the database
|
|
50
59
|
*/
|
|
51
|
-
async apiV1SearchAutocompletePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
60
|
+
async apiV1SearchAutocompletePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchOutput> {
|
|
52
61
|
const response = await this.apiV1SearchAutocompletePostRaw(initOverrides);
|
|
53
62
|
return await response.value();
|
|
54
63
|
}
|
|
@@ -56,11 +65,30 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
56
65
|
/**
|
|
57
66
|
* Searches for items in the database
|
|
58
67
|
*/
|
|
59
|
-
async apiV1SearchPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
68
|
+
async apiV1SearchPostRaw(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SearchOutput>> {
|
|
69
|
+
if (requestParameters['q'] == null) {
|
|
70
|
+
throw new runtime.RequiredError(
|
|
71
|
+
'q',
|
|
72
|
+
'Required parameter "q" was null or undefined when calling apiV1SearchPost().'
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
|
|
60
76
|
const queryParameters: any = {};
|
|
61
77
|
|
|
78
|
+
if (requestParameters['q'] != null) {
|
|
79
|
+
queryParameters['q'] = requestParameters['q'];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (requestParameters['itemTypes'] != null) {
|
|
83
|
+
queryParameters['itemTypes'] = requestParameters['itemTypes'];
|
|
84
|
+
}
|
|
85
|
+
|
|
62
86
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
63
87
|
|
|
88
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
89
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
90
|
+
}
|
|
91
|
+
|
|
64
92
|
const response = await this.request({
|
|
65
93
|
path: `/api/v1/search`,
|
|
66
94
|
method: 'POST',
|
|
@@ -68,14 +96,14 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
68
96
|
query: queryParameters,
|
|
69
97
|
}, initOverrides);
|
|
70
98
|
|
|
71
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
99
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SearchOutputFromJSON(jsonValue));
|
|
72
100
|
}
|
|
73
101
|
|
|
74
102
|
/**
|
|
75
103
|
* Searches for items in the database
|
|
76
104
|
*/
|
|
77
|
-
async apiV1SearchPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
78
|
-
const response = await this.apiV1SearchPostRaw(initOverrides);
|
|
105
|
+
async apiV1SearchPost(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchOutput> {
|
|
106
|
+
const response = await this.apiV1SearchPostRaw(requestParameters, initOverrides);
|
|
79
107
|
return await response.value();
|
|
80
108
|
}
|
|
81
109
|
|
package/src/apis/SourceApi.ts
CHANGED
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
SourceDto,
|
|
19
|
+
SourceListOutput,
|
|
20
|
+
SourceOutput,
|
|
21
21
|
} from '../models/index';
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
SourceDtoFromJSON,
|
|
24
|
+
SourceDtoToJSON,
|
|
25
|
+
SourceListOutputFromJSON,
|
|
26
|
+
SourceListOutputToJSON,
|
|
27
|
+
SourceOutputFromJSON,
|
|
28
|
+
SourceOutputToJSON,
|
|
29
29
|
} from '../models/index';
|
|
30
30
|
|
|
31
31
|
export interface ApiV1SourcePostRequest {
|
|
32
|
-
|
|
32
|
+
sourceDto?: SourceDto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -40,11 +40,15 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
40
40
|
/**
|
|
41
41
|
* List of all source
|
|
42
42
|
*/
|
|
43
|
-
async apiV1SourceGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
43
|
+
async apiV1SourceGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SourceListOutput>> {
|
|
44
44
|
const queryParameters: any = {};
|
|
45
45
|
|
|
46
46
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
47
47
|
|
|
48
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
49
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
50
|
+
}
|
|
51
|
+
|
|
48
52
|
const response = await this.request({
|
|
49
53
|
path: `/api/v1/source`,
|
|
50
54
|
method: 'GET',
|
|
@@ -52,13 +56,13 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
52
56
|
query: queryParameters,
|
|
53
57
|
}, initOverrides);
|
|
54
58
|
|
|
55
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
59
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SourceListOutputFromJSON(jsonValue));
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
/**
|
|
59
63
|
* List of all source
|
|
60
64
|
*/
|
|
61
|
-
async apiV1SourceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
65
|
+
async apiV1SourceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceListOutput> {
|
|
62
66
|
const response = await this.apiV1SourceGetRaw(initOverrides);
|
|
63
67
|
return await response.value();
|
|
64
68
|
}
|
|
@@ -66,28 +70,32 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
66
70
|
/**
|
|
67
71
|
* Adds source
|
|
68
72
|
*/
|
|
69
|
-
async apiV1SourcePostRaw(requestParameters: ApiV1SourcePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
73
|
+
async apiV1SourcePostRaw(requestParameters: ApiV1SourcePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SourceOutput>> {
|
|
70
74
|
const queryParameters: any = {};
|
|
71
75
|
|
|
72
76
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
73
77
|
|
|
74
78
|
headerParameters['Content-Type'] = 'application/json';
|
|
75
79
|
|
|
80
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
81
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
82
|
+
}
|
|
83
|
+
|
|
76
84
|
const response = await this.request({
|
|
77
85
|
path: `/api/v1/source`,
|
|
78
86
|
method: 'POST',
|
|
79
87
|
headers: headerParameters,
|
|
80
88
|
query: queryParameters,
|
|
81
|
-
body:
|
|
89
|
+
body: SourceDtoToJSON(requestParameters['sourceDto']),
|
|
82
90
|
}, initOverrides);
|
|
83
91
|
|
|
84
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
92
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SourceOutputFromJSON(jsonValue));
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
/**
|
|
88
96
|
* Adds source
|
|
89
97
|
*/
|
|
90
|
-
async apiV1SourcePost(requestParameters: ApiV1SourcePostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
98
|
+
async apiV1SourcePost(requestParameters: ApiV1SourcePostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceOutput> {
|
|
91
99
|
const response = await this.apiV1SourcePostRaw(requestParameters, initOverrides);
|
|
92
100
|
return await response.value();
|
|
93
101
|
}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
StateMachineDefinitionListOutput,
|
|
19
19
|
} from '../models/index';
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
StateMachineDefinitionListOutputFromJSON,
|
|
22
|
+
StateMachineDefinitionListOutputToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -31,11 +31,15 @@ export class StateMachineApi extends runtime.BaseAPI {
|
|
|
31
31
|
* List all state machines
|
|
32
32
|
* It includes all transitions
|
|
33
33
|
*/
|
|
34
|
-
async apiV1StatemachineGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
34
|
+
async apiV1StatemachineGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StateMachineDefinitionListOutput>> {
|
|
35
35
|
const queryParameters: any = {};
|
|
36
36
|
|
|
37
37
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
38
38
|
|
|
39
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
40
|
+
headerParameters["apiKey"] = await this.configuration.apiKey("apiKey"); // apiKey authentication
|
|
41
|
+
}
|
|
42
|
+
|
|
39
43
|
const response = await this.request({
|
|
40
44
|
path: `/api/v1/statemachine`,
|
|
41
45
|
method: 'GET',
|
|
@@ -43,14 +47,14 @@ export class StateMachineApi extends runtime.BaseAPI {
|
|
|
43
47
|
query: queryParameters,
|
|
44
48
|
}, initOverrides);
|
|
45
49
|
|
|
46
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StateMachineDefinitionListOutputFromJSON(jsonValue));
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
/**
|
|
50
54
|
* List all state machines
|
|
51
55
|
* It includes all transitions
|
|
52
56
|
*/
|
|
53
|
-
async apiV1StatemachineGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
57
|
+
async apiV1StatemachineGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StateMachineDefinitionListOutput> {
|
|
54
58
|
const response = await this.apiV1StatemachineGetRaw(initOverrides);
|
|
55
59
|
return await response.value();
|
|
56
60
|
}
|
package/src/apis/index.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AccountApi';
|
|
4
4
|
export * from './ArticleApi';
|
|
5
|
-
export * from './DefaultApi';
|
|
6
5
|
export * from './HealthcheckApi';
|
|
7
6
|
export * from './ItemApi';
|
|
8
7
|
export * from './JournalApi';
|
|
@@ -10,6 +9,7 @@ export * from './LocationApi';
|
|
|
10
9
|
export * from './LoginApi';
|
|
11
10
|
export * from './MapApi';
|
|
12
11
|
export * from './MultimediaApi';
|
|
12
|
+
export * from './OrganizationApi';
|
|
13
13
|
export * from './ReportApi';
|
|
14
14
|
export * from './SearchApi';
|
|
15
15
|
export * from './SourceApi';
|
|
@@ -14,59 +14,52 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AccountORM
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface AccountORM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof AccountORM
|
|
26
26
|
*/
|
|
27
27
|
id?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
32
|
-
*/
|
|
33
|
-
userId?: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof Def1
|
|
31
|
+
* @memberof AccountORM
|
|
38
32
|
*/
|
|
39
33
|
defaultMapId?: number;
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
/**
|
|
43
|
-
* Check if a given object implements the
|
|
37
|
+
* Check if a given object implements the AccountORM interface.
|
|
44
38
|
*/
|
|
45
|
-
export function
|
|
39
|
+
export function instanceOfAccountORM(value: object): value is AccountORM {
|
|
46
40
|
return true;
|
|
47
41
|
}
|
|
48
42
|
|
|
49
|
-
export function
|
|
50
|
-
return
|
|
43
|
+
export function AccountORMFromJSON(json: any): AccountORM {
|
|
44
|
+
return AccountORMFromJSONTyped(json, false);
|
|
51
45
|
}
|
|
52
46
|
|
|
53
|
-
export function
|
|
47
|
+
export function AccountORMFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountORM {
|
|
54
48
|
if (json == null) {
|
|
55
49
|
return json;
|
|
56
50
|
}
|
|
57
51
|
return {
|
|
58
52
|
|
|
59
53
|
'id': json['id'] == null ? undefined : json['id'],
|
|
60
|
-
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
61
54
|
'defaultMapId': json['defaultMapId'] == null ? undefined : json['defaultMapId'],
|
|
62
55
|
};
|
|
63
56
|
}
|
|
64
57
|
|
|
65
|
-
export function
|
|
66
|
-
return
|
|
58
|
+
export function AccountORMToJSON(json: any): AccountORM {
|
|
59
|
+
return AccountORMToJSONTyped(json, false);
|
|
67
60
|
}
|
|
68
61
|
|
|
69
|
-
export function
|
|
62
|
+
export function AccountORMToJSONTyped(value?: AccountORM | null, ignoreDiscriminator: boolean = false): any {
|
|
70
63
|
if (value == null) {
|
|
71
64
|
return value;
|
|
72
65
|
}
|
|
@@ -74,7 +67,6 @@ export function Def1ToJSONTyped(value?: Def1 | null, ignoreDiscriminator: boolea
|
|
|
74
67
|
return {
|
|
75
68
|
|
|
76
69
|
'id': value['id'],
|
|
77
|
-
'userId': value['userId'],
|
|
78
70
|
'defaultMapId': value['defaultMapId'],
|
|
79
71
|
};
|
|
80
72
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
import type { AccountORM } from './AccountORM';
|
|
17
|
+
import {
|
|
18
|
+
AccountORMFromJSON,
|
|
19
|
+
AccountORMFromJSONTyped,
|
|
20
|
+
AccountORMToJSON,
|
|
21
|
+
AccountORMToJSONTyped,
|
|
22
|
+
} from './AccountORM';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AccountOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface AccountOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {AccountORM}
|
|
33
|
+
* @memberof AccountOutput
|
|
34
|
+
*/
|
|
35
|
+
data: AccountORM;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AccountOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAccountOutput(value: object): value is AccountOutput {
|
|
42
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AccountOutputFromJSON(json: any): AccountOutput {
|
|
47
|
+
return AccountOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AccountOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'data': AccountORMFromJSON(json['data']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AccountOutputToJSON(json: any): AccountOutput {
|
|
61
|
+
return AccountOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AccountOutputToJSONTyped(value?: AccountOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'data': AccountORMToJSON(value['data']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Security Map API
|
|
5
|
+
* Security Map API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
import type { ManualLoginInput } from './ManualLoginInput';
|
|
17
|
+
import {
|
|
18
|
+
ManualLoginInputFromJSON,
|
|
19
|
+
ManualLoginInputFromJSONTyped,
|
|
20
|
+
ManualLoginInputToJSON,
|
|
21
|
+
ManualLoginInputToJSONTyped,
|
|
22
|
+
} from './ManualLoginInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AddUserToOrganizationDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AddUserToOrganizationDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ManualLoginInput>}
|
|
33
|
+
* @memberof AddUserToOrganizationDto
|
|
34
|
+
*/
|
|
35
|
+
users: Array<ManualLoginInput>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AddUserToOrganizationDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfAddUserToOrganizationDto(value: object): value is AddUserToOrganizationDto {
|
|
42
|
+
if (!('users' in value) || value['users'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function AddUserToOrganizationDtoFromJSON(json: any): AddUserToOrganizationDto {
|
|
47
|
+
return AddUserToOrganizationDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AddUserToOrganizationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddUserToOrganizationDto {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'users': ((json['users'] as Array<any>).map(ManualLoginInputFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AddUserToOrganizationDtoToJSON(json: any): AddUserToOrganizationDto {
|
|
61
|
+
return AddUserToOrganizationDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AddUserToOrganizationDtoToJSONTyped(value?: AddUserToOrganizationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'users': ((value['users'] as Array<any>).map(ManualLoginInputToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|