@jrojaspin/security-map-api-cli 1.9.0 → 2.1.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 +6 -4
- package/src/apis/AccountApi.ts +58 -20
- package/src/apis/ArticleApi.ts +6 -6
- package/src/apis/ItemApi.ts +289 -71
- package/src/apis/JournalApi.ts +28 -28
- package/src/apis/LocationApi.ts +57 -14
- package/src/apis/LoginApi.ts +15 -15
- package/src/apis/MapApi.ts +46 -79
- package/src/apis/MultimediaApi.ts +6 -6
- package/src/apis/OrganizationApi.ts +41 -41
- package/src/apis/ReportApi.ts +37 -23
- package/src/apis/SearchApi.ts +9 -9
- package/src/apis/SourceApi.ts +17 -17
- package/src/apis/StateMachineApi.ts +6 -6
- package/src/apis/index.ts +0 -1
- package/src/models/{Def1.ts → AccountORM.ts} +15 -23
- 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/{Def57Data.ts → JournalEntryORM.ts} +25 -24
- 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/{Def44.ts → ManualLoginInput.ts} +13 -13
- package/src/models/{Def45.ts → ManualLoginPasswordUpdateInput.ts} +13 -13
- 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 -36
- package/src/models/{Def15CustomFieldValue.ts → MapItemDynamicFieldInputDto.ts} +19 -21
- 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/{Def54Data.ts → MapItemTypeORM.ts} +43 -35
- 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/{Def71Data.ts → MapORM.ts} +35 -32
- package/src/models/MapOutput.ts +74 -0
- package/src/models/MapZoneInput.ts +66 -0
- package/src/models/MapZoneORM.ts +83 -0
- 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/{Def18.ts → MultimediaORM.ts} +24 -31
- 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 -17
- package/src/models/{Def86.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/{Def83.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/{Def34RowsInner.ts → ReportDataRowORM.ts} +12 -12
- package/src/models/ReportDto.ts +75 -0
- package/src/models/ReportListOutput.ts +74 -0
- package/src/models/{Def58Data.ts → ReportORM.ts} +25 -32
- 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/{Def86Data.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/{Def98TransitionsInner.ts → StateMachineTransitionORM.ts} +18 -19
- package/src/models/{Def38.ts → StateMachineTransitionOutputDto.ts} +15 -24
- 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/{Def49.ts → UserInOrganizationDto.ts} +23 -32
- package/src/models/UserInOrganizationOutput.ts +74 -0
- package/src/models/{Def3.ts → UserORM.ts} +36 -38
- package/src/models/XAxisOptions.ts +83 -0
- package/src/models/YAxisOptions.ts +83 -0
- package/src/models/index.ts +130 -155
- package/src/apis/DefaultApi.ts +0 -224
- package/src/models/Def0.ts +0 -74
- package/src/models/Def10.ts +0 -105
- package/src/models/Def100.ts +0 -73
- package/src/models/Def100Data.ts +0 -73
- package/src/models/Def101.ts +0 -74
- package/src/models/Def101Data.ts +0 -73
- package/src/models/Def12.ts +0 -81
- package/src/models/Def15.ts +0 -90
- package/src/models/Def15CustomFieldDefinition.ts +0 -111
- 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 -128
- 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/Def33.ts +0 -66
- package/src/models/Def34.ts +0 -74
- package/src/models/Def35.ts +0 -98
- package/src/models/Def35LocationOrm.ts +0 -217
- package/src/models/Def35MapItemOrm.ts +0 -156
- package/src/models/Def36.ts +0 -84
- package/src/models/Def40.ts +0 -137
- package/src/models/Def41.ts +0 -187
- package/src/models/Def41Address.ts +0 -137
- package/src/models/Def42.ts +0 -74
- package/src/models/Def42Data.ts +0 -81
- package/src/models/Def46.ts +0 -90
- package/src/models/Def46OrganizationOrm.ts +0 -84
- package/src/models/Def46UserOrm.ts +0 -147
- package/src/models/Def47.ts +0 -74
- package/src/models/Def47UsersInner.ts +0 -75
- package/src/models/Def48.ts +0 -66
- package/src/models/Def5.ts +0 -89
- package/src/models/Def50.ts +0 -74
- package/src/models/Def50ArticlePresentationsInner.ts +0 -97
- package/src/models/Def50ArticleTypesInner.ts +0 -89
- package/src/models/Def50ArticlesInner.ts +0 -113
- package/src/models/Def50DataInner.ts +0 -138
- package/src/models/Def50MagnitudesInner.ts +0 -81
- package/src/models/Def50MeasureUnitsInner.ts +0 -97
- package/src/models/Def51.ts +0 -138
- package/src/models/Def51ArticlePresentationsInner.ts +0 -97
- package/src/models/Def51ArticleTypesInner.ts +0 -89
- package/src/models/Def51ArticlesInner.ts +0 -113
- package/src/models/Def51Data.ts +0 -138
- package/src/models/Def51MagnitudesInner.ts +0 -81
- package/src/models/Def51MeasureUnitsInner.ts +0 -97
- package/src/models/Def52.ts +0 -74
- package/src/models/Def52Data.ts +0 -138
- package/src/models/Def53.ts +0 -65
- package/src/models/Def53Data.ts +0 -127
- package/src/models/Def54.ts +0 -74
- package/src/models/Def54DataInner.ts +0 -246
- package/src/models/Def54DataInnerArticlesInner.ts +0 -105
- package/src/models/Def54DataInnerDynamicFieldsInner.ts +0 -90
- package/src/models/Def54DataInnerItemMultimediasInner.ts +0 -81
- package/src/models/Def54DataInnerLinkedItemsInner.ts +0 -105
- package/src/models/Def54DataInnerMapZoneDto.ts +0 -99
- package/src/models/Def54DataInnerMapZoneDtoLocationsInner.ts +0 -217
- package/src/models/Def55.ts +0 -74
- package/src/models/Def55DataInner.ts +0 -246
- package/src/models/Def55DataInnerArticlesInner.ts +0 -105
- package/src/models/Def55DataInnerDynamicFieldsInner.ts +0 -90
- package/src/models/Def55DataInnerItemMultimediasInner.ts +0 -81
- package/src/models/Def55DataInnerLinkedItemsInner.ts +0 -105
- package/src/models/Def55DataInnerMapZoneDto.ts +0 -99
- package/src/models/Def55DataInnerMapZoneDtoLocationsInner.ts +0 -217
- package/src/models/Def56.ts +0 -124
- package/src/models/Def57.ts +0 -66
- package/src/models/Def58.ts +0 -74
- package/src/models/Def58DataInner.ts +0 -124
- package/src/models/Def59.ts +0 -74
- package/src/models/Def59DataInner.ts +0 -124
- package/src/models/Def6.ts +0 -97
- package/src/models/Def60.ts +0 -66
- package/src/models/Def61.ts +0 -90
- package/src/models/Def61MapZoneInput.ts +0 -90
- package/src/models/Def62.ts +0 -223
- package/src/models/Def62MapZoneInput.ts +0 -90
- package/src/models/Def63.ts +0 -84
- package/src/models/Def63Data.ts +0 -121
- package/src/models/Def64.ts +0 -74
- package/src/models/Def64Data.ts +0 -121
- package/src/models/Def64DataInner.ts +0 -121
- package/src/models/Def65.ts +0 -74
- package/src/models/Def65DataInner.ts +0 -121
- package/src/models/Def66.ts +0 -246
- package/src/models/Def67.ts +0 -99
- package/src/models/Def68.ts +0 -74
- package/src/models/Def68DataInner.ts +0 -105
- package/src/models/Def69.ts +0 -74
- package/src/models/Def69DataInner.ts +0 -105
- package/src/models/Def70.ts +0 -74
- package/src/models/Def71.ts +0 -66
- package/src/models/Def72.ts +0 -74
- package/src/models/Def72Data.ts +0 -105
- package/src/models/Def73.ts +0 -74
- package/src/models/Def73Data.ts +0 -81
- package/src/models/Def73DataInner.ts +0 -128
- package/src/models/Def74.ts +0 -74
- package/src/models/Def74Data.ts +0 -128
- package/src/models/Def74DataInner.ts +0 -128
- package/src/models/Def75.ts +0 -74
- package/src/models/Def75Data.ts +0 -128
- package/src/models/Def76.ts +0 -74
- package/src/models/Def76Data.ts +0 -113
- package/src/models/Def77.ts +0 -74
- package/src/models/Def77Data.ts +0 -113
- package/src/models/Def77DataInner.ts +0 -113
- package/src/models/Def78.ts +0 -74
- package/src/models/Def78Data.ts +0 -246
- package/src/models/Def78DataInner.ts +0 -113
- package/src/models/Def79.ts +0 -74
- package/src/models/Def79Data.ts +0 -246
- package/src/models/Def8.ts +0 -156
- package/src/models/Def80.ts +0 -83
- package/src/models/Def80Data.ts +0 -83
- package/src/models/Def81.ts +0 -74
- package/src/models/Def81Data.ts +0 -83
- package/src/models/Def82.ts +0 -74
- package/src/models/Def82Data.ts +0 -113
- package/src/models/Def84.ts +0 -75
- package/src/models/Def85.ts +0 -73
- package/src/models/Def87.ts +0 -74
- package/src/models/Def87Data.ts +0 -73
- package/src/models/Def88.ts +0 -74
- package/src/models/Def88Data.ts +0 -75
- package/src/models/Def88DataInner.ts +0 -73
- package/src/models/Def89.ts +0 -74
- package/src/models/Def89DataInner.ts +0 -73
- package/src/models/Def9.ts +0 -113
- package/src/models/Def90.ts +0 -74
- package/src/models/Def90DataInner.ts +0 -75
- package/src/models/Def91.ts +0 -101
- package/src/models/Def91ItemsInner.ts +0 -101
- package/src/models/Def92.ts +0 -92
- package/src/models/Def92ItemsInner.ts +0 -101
- package/src/models/Def92SectionsInner.ts +0 -92
- package/src/models/Def93.ts +0 -74
- package/src/models/Def93Data.ts +0 -74
- package/src/models/Def93SectionsInner.ts +0 -92
- package/src/models/Def94.ts +0 -74
- package/src/models/Def94Data.ts +0 -74
- package/src/models/Def95.ts +0 -73
- package/src/models/Def95Data.ts +0 -73
- package/src/models/Def96.ts +0 -74
- package/src/models/Def96Data.ts +0 -73
- package/src/models/Def96DataInner.ts +0 -73
- package/src/models/Def97.ts +0 -74
- package/src/models/Def97DataInner.ts +0 -73
- package/src/models/Def97StatesInner.ts +0 -92
- package/src/models/Def97TransitionsInner.ts +0 -102
- package/src/models/Def98.ts +0 -116
- package/src/models/Def98DataInner.ts +0 -116
- package/src/models/Def98StatesInner.ts +0 -92
- package/src/models/Def99.ts +0 -74
- package/src/models/Def99DataInner.ts +0 -116
|
@@ -15,35 +15,35 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
AccountOutput,
|
|
19
|
+
AddUserToOrganizationDto,
|
|
20
|
+
OrganizationORM,
|
|
21
|
+
UpdateUserInOrganizationPasswordDto,
|
|
22
|
+
UserInOrganizationOutput,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
AccountOutputFromJSON,
|
|
26
|
+
AccountOutputToJSON,
|
|
27
|
+
AddUserToOrganizationDtoFromJSON,
|
|
28
|
+
AddUserToOrganizationDtoToJSON,
|
|
29
|
+
OrganizationORMFromJSON,
|
|
30
|
+
OrganizationORMToJSON,
|
|
31
|
+
UpdateUserInOrganizationPasswordDtoFromJSON,
|
|
32
|
+
UpdateUserInOrganizationPasswordDtoToJSON,
|
|
33
|
+
UserInOrganizationOutputFromJSON,
|
|
34
|
+
UserInOrganizationOutputToJSON,
|
|
35
35
|
} from '../models/index';
|
|
36
36
|
|
|
37
37
|
export interface ApiV1OrganizationPostRequest {
|
|
38
|
-
|
|
38
|
+
organizationORM?: OrganizationORM;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export interface ApiV1OrganizationPutRequest {
|
|
42
|
-
|
|
42
|
+
organizationORM?: OrganizationORM;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export interface ApiV1OrganizationUserPostRequest {
|
|
46
|
-
|
|
46
|
+
addUserToOrganizationDto?: AddUserToOrganizationDto;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export interface ApiV1OrganizationUserUserIdDeleteRequest {
|
|
@@ -52,7 +52,7 @@ export interface ApiV1OrganizationUserUserIdDeleteRequest {
|
|
|
52
52
|
|
|
53
53
|
export interface ApiV1OrganizationUserUserIdPasswordPutRequest {
|
|
54
54
|
userId: string;
|
|
55
|
-
|
|
55
|
+
updateUserInOrganizationPasswordDto?: UpdateUserInOrganizationPasswordDto;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/**
|
|
@@ -63,7 +63,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
63
63
|
/**
|
|
64
64
|
* Adds account organization
|
|
65
65
|
*/
|
|
66
|
-
async apiV1OrganizationPostRaw(requestParameters: ApiV1OrganizationPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
66
|
+
async apiV1OrganizationPostRaw(requestParameters: ApiV1OrganizationPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
|
|
67
67
|
const queryParameters: any = {};
|
|
68
68
|
|
|
69
69
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -79,16 +79,16 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
79
79
|
method: 'POST',
|
|
80
80
|
headers: headerParameters,
|
|
81
81
|
query: queryParameters,
|
|
82
|
-
body:
|
|
82
|
+
body: OrganizationORMToJSON(requestParameters['organizationORM']),
|
|
83
83
|
}, initOverrides);
|
|
84
84
|
|
|
85
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
85
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Adds account organization
|
|
90
90
|
*/
|
|
91
|
-
async apiV1OrganizationPost(requestParameters: ApiV1OrganizationPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
91
|
+
async apiV1OrganizationPost(requestParameters: ApiV1OrganizationPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
|
|
92
92
|
const response = await this.apiV1OrganizationPostRaw(requestParameters, initOverrides);
|
|
93
93
|
return await response.value();
|
|
94
94
|
}
|
|
@@ -96,7 +96,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
96
96
|
/**
|
|
97
97
|
* updates account organization
|
|
98
98
|
*/
|
|
99
|
-
async apiV1OrganizationPutRaw(requestParameters: ApiV1OrganizationPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
99
|
+
async apiV1OrganizationPutRaw(requestParameters: ApiV1OrganizationPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
|
|
100
100
|
const queryParameters: any = {};
|
|
101
101
|
|
|
102
102
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -112,16 +112,16 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
112
112
|
method: 'PUT',
|
|
113
113
|
headers: headerParameters,
|
|
114
114
|
query: queryParameters,
|
|
115
|
-
body:
|
|
115
|
+
body: OrganizationORMToJSON(requestParameters['organizationORM']),
|
|
116
116
|
}, initOverrides);
|
|
117
117
|
|
|
118
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
118
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* updates account organization
|
|
123
123
|
*/
|
|
124
|
-
async apiV1OrganizationPut(requestParameters: ApiV1OrganizationPutRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
124
|
+
async apiV1OrganizationPut(requestParameters: ApiV1OrganizationPutRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
|
|
125
125
|
const response = await this.apiV1OrganizationPutRaw(requestParameters, initOverrides);
|
|
126
126
|
return await response.value();
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
129
129
|
/**
|
|
130
130
|
* list all users in organization
|
|
131
131
|
*/
|
|
132
|
-
async apiV1OrganizationUserGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
132
|
+
async apiV1OrganizationUserGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserInOrganizationOutput>> {
|
|
133
133
|
const queryParameters: any = {};
|
|
134
134
|
|
|
135
135
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -145,13 +145,13 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
145
145
|
query: queryParameters,
|
|
146
146
|
}, initOverrides);
|
|
147
147
|
|
|
148
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
148
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserInOrganizationOutputFromJSON(jsonValue));
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* list all users in organization
|
|
153
153
|
*/
|
|
154
|
-
async apiV1OrganizationUserGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
154
|
+
async apiV1OrganizationUserGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserInOrganizationOutput> {
|
|
155
155
|
const response = await this.apiV1OrganizationUserGetRaw(initOverrides);
|
|
156
156
|
return await response.value();
|
|
157
157
|
}
|
|
@@ -159,7 +159,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
159
159
|
/**
|
|
160
160
|
* updates account organization
|
|
161
161
|
*/
|
|
162
|
-
async apiV1OrganizationUserPostRaw(requestParameters: ApiV1OrganizationUserPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
162
|
+
async apiV1OrganizationUserPostRaw(requestParameters: ApiV1OrganizationUserPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
|
|
163
163
|
const queryParameters: any = {};
|
|
164
164
|
|
|
165
165
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -175,16 +175,16 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
175
175
|
method: 'POST',
|
|
176
176
|
headers: headerParameters,
|
|
177
177
|
query: queryParameters,
|
|
178
|
-
body:
|
|
178
|
+
body: AddUserToOrganizationDtoToJSON(requestParameters['addUserToOrganizationDto']),
|
|
179
179
|
}, initOverrides);
|
|
180
180
|
|
|
181
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
181
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* updates account organization
|
|
186
186
|
*/
|
|
187
|
-
async apiV1OrganizationUserPost(requestParameters: ApiV1OrganizationUserPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
187
|
+
async apiV1OrganizationUserPost(requestParameters: ApiV1OrganizationUserPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
|
|
188
188
|
const response = await this.apiV1OrganizationUserPostRaw(requestParameters, initOverrides);
|
|
189
189
|
return await response.value();
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
192
192
|
/**
|
|
193
193
|
* delete user from organization (and forever)
|
|
194
194
|
*/
|
|
195
|
-
async apiV1OrganizationUserUserIdDeleteRaw(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
195
|
+
async apiV1OrganizationUserUserIdDeleteRaw(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
|
|
196
196
|
if (requestParameters['userId'] == null) {
|
|
197
197
|
throw new runtime.RequiredError(
|
|
198
198
|
'userId',
|
|
@@ -215,13 +215,13 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
215
215
|
query: queryParameters,
|
|
216
216
|
}, initOverrides);
|
|
217
217
|
|
|
218
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
218
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* delete user from organization (and forever)
|
|
223
223
|
*/
|
|
224
|
-
async apiV1OrganizationUserUserIdDelete(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
224
|
+
async apiV1OrganizationUserUserIdDelete(requestParameters: ApiV1OrganizationUserUserIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
|
|
225
225
|
const response = await this.apiV1OrganizationUserUserIdDeleteRaw(requestParameters, initOverrides);
|
|
226
226
|
return await response.value();
|
|
227
227
|
}
|
|
@@ -229,7 +229,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
229
229
|
/**
|
|
230
230
|
* updates account organization
|
|
231
231
|
*/
|
|
232
|
-
async apiV1OrganizationUserUserIdPasswordPutRaw(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
232
|
+
async apiV1OrganizationUserUserIdPasswordPutRaw(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOutput>> {
|
|
233
233
|
if (requestParameters['userId'] == null) {
|
|
234
234
|
throw new runtime.RequiredError(
|
|
235
235
|
'userId',
|
|
@@ -252,16 +252,16 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
252
252
|
method: 'PUT',
|
|
253
253
|
headers: headerParameters,
|
|
254
254
|
query: queryParameters,
|
|
255
|
-
body:
|
|
255
|
+
body: UpdateUserInOrganizationPasswordDtoToJSON(requestParameters['updateUserInOrganizationPasswordDto']),
|
|
256
256
|
}, initOverrides);
|
|
257
257
|
|
|
258
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
258
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountOutputFromJSON(jsonValue));
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* updates account organization
|
|
263
263
|
*/
|
|
264
|
-
async apiV1OrganizationUserUserIdPasswordPut(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
264
|
+
async apiV1OrganizationUserUserIdPasswordPut(requestParameters: ApiV1OrganizationUserUserIdPasswordPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOutput> {
|
|
265
265
|
const response = await this.apiV1OrganizationUserUserIdPasswordPutRaw(requestParameters, initOverrides);
|
|
266
266
|
return await response.value();
|
|
267
267
|
}
|
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,7 +49,7 @@ 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 = {};
|
|
@@ -64,13 +65,13 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
64
65
|
query: queryParameters,
|
|
65
66
|
}, initOverrides);
|
|
66
67
|
|
|
67
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
68
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportListOutputFromJSON(jsonValue));
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
/**
|
|
71
72
|
* Lists all reports
|
|
72
73
|
*/
|
|
73
|
-
async apiV1ReportGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
74
|
+
async apiV1ReportGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportListOutput> {
|
|
74
75
|
const response = await this.apiV1ReportGetRaw(initOverrides);
|
|
75
76
|
return await response.value();
|
|
76
77
|
}
|
|
@@ -78,7 +79,7 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
78
79
|
/**
|
|
79
80
|
* Downloads report data
|
|
80
81
|
*/
|
|
81
|
-
async apiV1ReportReportIdDataPostRaw(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
82
|
+
async apiV1ReportReportIdDataPostRaw(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReportDataOutput>> {
|
|
82
83
|
if (requestParameters['reportId'] == null) {
|
|
83
84
|
throw new runtime.RequiredError(
|
|
84
85
|
'reportId',
|
|
@@ -88,6 +89,10 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
88
89
|
|
|
89
90
|
const queryParameters: any = {};
|
|
90
91
|
|
|
92
|
+
if (requestParameters['format'] != null) {
|
|
93
|
+
queryParameters['format'] = requestParameters['format'];
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
92
97
|
|
|
93
98
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -101,16 +106,16 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
101
106
|
method: 'POST',
|
|
102
107
|
headers: headerParameters,
|
|
103
108
|
query: queryParameters,
|
|
104
|
-
body:
|
|
109
|
+
body: ReportConfigurationDtoToJSON(requestParameters['reportConfigurationDto']),
|
|
105
110
|
}, initOverrides);
|
|
106
111
|
|
|
107
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
112
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportDataOutputFromJSON(jsonValue));
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
/**
|
|
111
116
|
* Downloads report data
|
|
112
117
|
*/
|
|
113
|
-
async apiV1ReportReportIdDataPost(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
118
|
+
async apiV1ReportReportIdDataPost(requestParameters: ApiV1ReportReportIdDataPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportDataOutput> {
|
|
114
119
|
const response = await this.apiV1ReportReportIdDataPostRaw(requestParameters, initOverrides);
|
|
115
120
|
return await response.value();
|
|
116
121
|
}
|
|
@@ -119,7 +124,7 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
119
124
|
* Loads report metadata by id
|
|
120
125
|
* This does not download report data, you need to download that using the /data endpoint
|
|
121
126
|
*/
|
|
122
|
-
async apiV1ReportReportIdGetRaw(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
127
|
+
async apiV1ReportReportIdGetRaw(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReportOutput>> {
|
|
123
128
|
if (requestParameters['reportId'] == null) {
|
|
124
129
|
throw new runtime.RequiredError(
|
|
125
130
|
'reportId',
|
|
@@ -142,16 +147,25 @@ export class ReportApi extends runtime.BaseAPI {
|
|
|
142
147
|
query: queryParameters,
|
|
143
148
|
}, initOverrides);
|
|
144
149
|
|
|
145
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportOutputFromJSON(jsonValue));
|
|
146
151
|
}
|
|
147
152
|
|
|
148
153
|
/**
|
|
149
154
|
* Loads report metadata by id
|
|
150
155
|
* This does not download report data, you need to download that using the /data endpoint
|
|
151
156
|
*/
|
|
152
|
-
async apiV1ReportReportIdGet(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
157
|
+
async apiV1ReportReportIdGet(requestParameters: ApiV1ReportReportIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReportOutput> {
|
|
153
158
|
const response = await this.apiV1ReportReportIdGetRaw(requestParameters, initOverrides);
|
|
154
159
|
return await response.value();
|
|
155
160
|
}
|
|
156
161
|
|
|
157
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,11 +15,11 @@
|
|
|
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
25
|
export interface ApiV1SearchPostRequest {
|
|
@@ -35,7 +35,7 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
35
35
|
/**
|
|
36
36
|
* Searches for items in the database
|
|
37
37
|
*/
|
|
38
|
-
async apiV1SearchAutocompletePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
38
|
+
async apiV1SearchAutocompletePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SearchOutput>> {
|
|
39
39
|
const queryParameters: any = {};
|
|
40
40
|
|
|
41
41
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -51,13 +51,13 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
51
51
|
query: queryParameters,
|
|
52
52
|
}, initOverrides);
|
|
53
53
|
|
|
54
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SearchOutputFromJSON(jsonValue));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Searches for items in the database
|
|
59
59
|
*/
|
|
60
|
-
async apiV1SearchAutocompletePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
60
|
+
async apiV1SearchAutocompletePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchOutput> {
|
|
61
61
|
const response = await this.apiV1SearchAutocompletePostRaw(initOverrides);
|
|
62
62
|
return await response.value();
|
|
63
63
|
}
|
|
@@ -65,7 +65,7 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
65
65
|
/**
|
|
66
66
|
* Searches for items in the database
|
|
67
67
|
*/
|
|
68
|
-
async apiV1SearchPostRaw(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
68
|
+
async apiV1SearchPostRaw(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SearchOutput>> {
|
|
69
69
|
if (requestParameters['q'] == null) {
|
|
70
70
|
throw new runtime.RequiredError(
|
|
71
71
|
'q',
|
|
@@ -96,13 +96,13 @@ export class SearchApi extends runtime.BaseAPI {
|
|
|
96
96
|
query: queryParameters,
|
|
97
97
|
}, initOverrides);
|
|
98
98
|
|
|
99
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
99
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SearchOutputFromJSON(jsonValue));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Searches for items in the database
|
|
104
104
|
*/
|
|
105
|
-
async apiV1SearchPost(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
105
|
+
async apiV1SearchPost(requestParameters: ApiV1SearchPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchOutput> {
|
|
106
106
|
const response = await this.apiV1SearchPostRaw(requestParameters, initOverrides);
|
|
107
107
|
return await response.value();
|
|
108
108
|
}
|
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,7 +40,7 @@ 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 = {};
|
|
@@ -56,13 +56,13 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
56
56
|
query: queryParameters,
|
|
57
57
|
}, initOverrides);
|
|
58
58
|
|
|
59
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
59
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SourceListOutputFromJSON(jsonValue));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* List of all source
|
|
64
64
|
*/
|
|
65
|
-
async apiV1SourceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
65
|
+
async apiV1SourceGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceListOutput> {
|
|
66
66
|
const response = await this.apiV1SourceGetRaw(initOverrides);
|
|
67
67
|
return await response.value();
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
70
70
|
/**
|
|
71
71
|
* Adds source
|
|
72
72
|
*/
|
|
73
|
-
async apiV1SourcePostRaw(requestParameters: ApiV1SourcePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
73
|
+
async apiV1SourcePostRaw(requestParameters: ApiV1SourcePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SourceOutput>> {
|
|
74
74
|
const queryParameters: any = {};
|
|
75
75
|
|
|
76
76
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -86,16 +86,16 @@ export class SourceApi extends runtime.BaseAPI {
|
|
|
86
86
|
method: 'POST',
|
|
87
87
|
headers: headerParameters,
|
|
88
88
|
query: queryParameters,
|
|
89
|
-
body:
|
|
89
|
+
body: SourceDtoToJSON(requestParameters['sourceDto']),
|
|
90
90
|
}, initOverrides);
|
|
91
91
|
|
|
92
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
92
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SourceOutputFromJSON(jsonValue));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Adds source
|
|
97
97
|
*/
|
|
98
|
-
async apiV1SourcePost(requestParameters: ApiV1SourcePostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
98
|
+
async apiV1SourcePost(requestParameters: ApiV1SourcePostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceOutput> {
|
|
99
99
|
const response = await this.apiV1SourcePostRaw(requestParameters, initOverrides);
|
|
100
100
|
return await response.value();
|
|
101
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,7 +31,7 @@ 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 = {};
|
|
@@ -47,14 +47,14 @@ export class StateMachineApi extends runtime.BaseAPI {
|
|
|
47
47
|
query: queryParameters,
|
|
48
48
|
}, initOverrides);
|
|
49
49
|
|
|
50
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StateMachineDefinitionListOutputFromJSON(jsonValue));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* List all state machines
|
|
55
55
|
* It includes all transitions
|
|
56
56
|
*/
|
|
57
|
-
async apiV1StatemachineGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
57
|
+
async apiV1StatemachineGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StateMachineDefinitionListOutput> {
|
|
58
58
|
const response = await this.apiV1StatemachineGetRaw(initOverrides);
|
|
59
59
|
return await response.value();
|
|
60
60
|
}
|
package/src/apis/index.ts
CHANGED
|
@@ -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
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof Def1
|
|
26
|
-
*/
|
|
27
|
-
id?: number | null;
|
|
21
|
+
export interface AccountORM {
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
25
|
+
* @memberof AccountORM
|
|
32
26
|
*/
|
|
33
|
-
|
|
27
|
+
id?: number;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
31
|
+
* @memberof AccountORM
|
|
38
32
|
*/
|
|
39
|
-
defaultMapId?: number
|
|
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
|
}
|