@geosanja/geosanja-agent-frontend-api 4.8.0-build-1

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.
@@ -0,0 +1,17 @@
1
+ import { HttpUrlEncodingCodec } from '@angular/common/http';
2
+ /**
3
+ * CustomHttpUrlEncodingCodec
4
+ * Fix plus sign (+) not encoding, so sent as blank space
5
+ * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
6
+ */
7
+ export class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
8
+ encodeKey(k) {
9
+ k = super.encodeKey(k);
10
+ return k.replace(/\+/gi, '%2B');
11
+ }
12
+ encodeValue(v) {
13
+ v = super.encodeValue(v);
14
+ return v.replace(/\+/gi, '%2B');
15
+ }
16
+ }
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5jb2Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2VuY29kZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUksT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFFaEU7Ozs7RUFJRTtBQUNGLE1BQU0sT0FBTywwQkFBMkIsU0FBUSxvQkFBb0I7SUFDdkQsU0FBUyxDQUFDLENBQVM7UUFDeEIsQ0FBQyxHQUFHLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDdkIsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLE1BQU0sRUFBRSxLQUFLLENBQUMsQ0FBQztJQUNwQyxDQUFDO0lBQ1EsV0FBVyxDQUFDLENBQVM7UUFDMUIsQ0FBQyxHQUFHLEtBQUssQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDekIsT0FBTyxDQUFDLENBQUMsT0FBTyxDQUFDLE1BQU0sRUFBRSxLQUFLLENBQUMsQ0FBQztJQUNwQyxDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyIgICAgaW1wb3J0IHsgSHR0cFVybEVuY29kaW5nQ29kZWMgfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XG5cbi8qKlxuKiBDdXN0b21IdHRwVXJsRW5jb2RpbmdDb2RlY1xuKiBGaXggcGx1cyBzaWduICgrKSBub3QgZW5jb2RpbmcsIHNvIHNlbnQgYXMgYmxhbmsgc3BhY2VcbiogU2VlOiBodHRwczovL2dpdGh1Yi5jb20vYW5ndWxhci9hbmd1bGFyL2lzc3Vlcy8xMTA1OCNpc3N1ZWNvbW1lbnQtMjQ3MzY3MzE4XG4qL1xuZXhwb3J0IGNsYXNzIEN1c3RvbUh0dHBVcmxFbmNvZGluZ0NvZGVjIGV4dGVuZHMgSHR0cFVybEVuY29kaW5nQ29kZWMge1xuICAgIG92ZXJyaWRlIGVuY29kZUtleShrOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgICAgICBrID0gc3VwZXIuZW5jb2RlS2V5KGspO1xuICAgICAgICByZXR1cm4gay5yZXBsYWNlKC9cXCsvZ2ksICclMkInKTtcbiAgICB9XG4gICAgb3ZlcnJpZGUgZW5jb2RlVmFsdWUodjogc3RyaW5nKTogc3RyaW5nIHtcbiAgICAgICAgdiA9IHN1cGVyLmVuY29kZVZhbHVlKHYpO1xuICAgICAgICByZXR1cm4gdi5yZXBsYWNlKC9cXCsvZ2ksICclMkInKTtcbiAgICB9XG59XG5cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2Vvc2FuamEtZ2Vvc2FuamEtYWdlbnQtZnJvbnRlbmQtYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZ2Vvc2FuamEtZ2Vvc2FuamEtYWdlbnQtZnJvbnRlbmQtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,6 @@
1
+ export * from './api/api';
2
+ export * from './model/models';
3
+ export * from './variables';
4
+ export * from './configuration';
5
+ export * from './api.module';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwaS9hcGknO1xuZXhwb3J0ICogZnJvbSAnLi9tb2RlbC9tb2RlbHMnO1xuZXhwb3J0ICogZnJvbSAnLi92YXJpYWJsZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9jb25maWd1cmF0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vYXBpLm1vZHVsZSc7Il19
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia1ZQYXJhbWV0ZXJEVE8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2RlbC9rVlBhcmFtZXRlckRUTy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztHQVVHIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW9TYW5qYSBBUElcbiAqIEFQSSBwYXJhIEFwbGljYcOnw6NvIEdlb1NhbmphIEFnZW50XG4gKlxuICogT3BlbkFQSSBzcGVjIHZlcnNpb246IDEuMi44XG4gKiBDb250YWN0OiBjbGF1ZGlvLmJvZ29zc2lhbkBnbWFpbC5jb21cbiAqXG4gKiBOT1RFOiBUaGlzIGNsYXNzIGlzIGF1dG8gZ2VuZXJhdGVkIGJ5IHRoZSBzd2FnZ2VyIGNvZGUgZ2VuZXJhdG9yIHByb2dyYW0uXG4gKiBodHRwczovL2dpdGh1Yi5jb20vc3dhZ2dlci1hcGkvc3dhZ2dlci1jb2RlZ2VuLmdpdFxuICogRG8gbm90IGVkaXQgdGhlIGNsYXNzIG1hbnVhbGx5LlxuICovXG5cbmV4cG9ydCBpbnRlcmZhY2UgS1ZQYXJhbWV0ZXJEVE8geyBcbiAgICBwYXJhbUtleT86IHN0cmluZztcbiAgICBwYXJhbVZhbHVlPzogc3RyaW5nO1xufSJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './kVParameterDTO';
2
+ export * from './processProgressDTO';
3
+ export * from './uploadCamadaRasterFileDTO';
4
+ export * from './uploadCamadaRasterFileInfoDTO';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbW9kZWwvbW9kZWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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sbHkuXG4gKi9cbmltcG9ydCB7IEtWUGFyYW1ldGVyRFRPIH0gZnJvbSAnLi9rVlBhcmFtZXRlckRUTyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHJvY2Vzc1Byb2dyZXNzRFRPIHsgXG4gICAgcHJvY2Vzc0lkPzogbnVtYmVyO1xuICAgIHByb2Nlc3NUeXBlPzogbnVtYmVyO1xuICAgIHByb2dyZXNzPzogbnVtYmVyO1xuICAgIHBhcmFtcz86IEFycmF5PEtWUGFyYW1ldGVyRFRPPjtcbn0iXX0=
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkQ2FtYWRhUmFzdGVyRmlsZURUTy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3VwbG9hZENhbWFkYVJhc3RlckZpbGVEVE8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VvU2FuamEgQVBJXG4gKiBBUEkgcGFyYSBBcGxpY2HDp8OjbyBHZW9TYW5qYSBBZ2VudFxuICpcbiAqIE9wZW5BUEkgc3BlYyB2ZXJzaW9uOiAxLjIuOFxuICogQ29udGFjdDogY2xhdWRpby5ib2dvc3NpYW5AZ21haWwuY29tXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSB0aGUgc3dhZ2dlciBjb2RlIGdlbmVyYXRvciBwcm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RlcmZhY2UgVXBsb2FkQ2FtYWRhUmFzdGVyRmlsZUluZm9EVE8geyBcbiAgICBmaWxlcGF0aD86IHN0cmluZztcbiAgICBmaWxldHlwZT86IHN0cmluZztcbiAgICB3b3Jrc3BhY2U/OiBzdHJpbmc7XG4gICAgbGF5ZXJuYW1lPzogc3RyaW5nO1xuICAgIGVudmVsb3BlPzogc3RyaW5nO1xuICAgIHNycz86IHN0cmluZztcbiAgICB3aWR0aD86IG51bWJlcjtcbiAgICBoZWlnaHQ/OiBudW1iZXI7XG4gICAgYmFuZHM/OiBudW1iZXI7XG4gICAgZGF0YXR5cGU/OiBzdHJpbmc7XG4gICAgb3ZlcnZpZXdzPzogbnVtYmVyO1xuICAgIGVycm9yPzogYm9vbGVhbjtcbiAgICBtc2c/OiBzdHJpbmc7XG4gICAgYmFja2dyb3VuZFByb2Nlc3NJZD86IG51bWJlcjtcbiAgICBwcm9jZXNzTGlzdD86IEFycmF5PFByb2Nlc3NQcm9ncmVzc0RUTz47XG59Il19
@@ -0,0 +1,9 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export const BASE_PATH = new InjectionToken('basePath');
3
+ export const COLLECTION_FORMATS = {
4
+ 'csv': ',',
5
+ 'tsv': ' ',
6
+ 'ssv': ' ',
7
+ 'pipes': '|'
8
+ };
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFibGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdmFyaWFibGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sU0FBUyxHQUFHLElBQUksY0FBYyxDQUFTLFVBQVUsQ0FBQyxDQUFDO0FBQ2hFLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHO0lBQzlCLEtBQUssRUFBRSxHQUFHO0lBQ1YsS0FBSyxFQUFFLEtBQUs7SUFDWixLQUFLLEVBQUUsR0FBRztJQUNWLE9BQU8sRUFBRSxHQUFHO0NBQ2YsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBCQVNFX1BBVEggPSBuZXcgSW5qZWN0aW9uVG9rZW48c3RyaW5nPignYmFzZVBhdGgnKTtcbmV4cG9ydCBjb25zdCBDT0xMRUNUSU9OX0ZPUk1BVFMgPSB7XG4gICAgJ2Nzdic6ICcsJyxcbiAgICAndHN2JzogJyAgICcsXG4gICAgJ3Nzdic6ICcgJyxcbiAgICAncGlwZXMnOiAnfCdcbn1cbiJdfQ==
@@ -0,0 +1,331 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common/http';
4
+ import { HttpUrlEncodingCodec, HttpHeaders, HttpParams } from '@angular/common/http';
5
+
6
+ /**
7
+ * CustomHttpUrlEncodingCodec
8
+ * Fix plus sign (+) not encoding, so sent as blank space
9
+ * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
10
+ */
11
+ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
12
+ encodeKey(k) {
13
+ k = super.encodeKey(k);
14
+ return k.replace(/\+/gi, '%2B');
15
+ }
16
+ encodeValue(v) {
17
+ v = super.encodeValue(v);
18
+ return v.replace(/\+/gi, '%2B');
19
+ }
20
+ }
21
+
22
+ const BASE_PATH = new InjectionToken('basePath');
23
+ const COLLECTION_FORMATS = {
24
+ 'csv': ',',
25
+ 'tsv': ' ',
26
+ 'ssv': ' ',
27
+ 'pipes': '|'
28
+ };
29
+
30
+ class Configuration {
31
+ apiKeys;
32
+ username;
33
+ password;
34
+ accessToken;
35
+ basePath;
36
+ withCredentials;
37
+ constructor(configurationParameters = {}) {
38
+ this.apiKeys = configurationParameters.apiKeys;
39
+ this.username = configurationParameters.username;
40
+ this.password = configurationParameters.password;
41
+ this.accessToken = configurationParameters.accessToken;
42
+ this.basePath = configurationParameters.basePath;
43
+ this.withCredentials = configurationParameters.withCredentials;
44
+ }
45
+ /**
46
+ * Select the correct content-type to use for a request.
47
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
48
+ * If no content type is found return the first found type if the contentTypes is not empty
49
+ * @param contentTypes - the array of content types that are available for selection
50
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
51
+ */
52
+ selectHeaderContentType(contentTypes) {
53
+ if (contentTypes.length == 0) {
54
+ return undefined;
55
+ }
56
+ let type = contentTypes.find(x => this.isJsonMime(x));
57
+ if (type === undefined) {
58
+ return contentTypes[0];
59
+ }
60
+ return type;
61
+ }
62
+ /**
63
+ * Select the correct accept content-type to use for a request.
64
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
65
+ * If no content type is found return the first found type if the contentTypes is not empty
66
+ * @param accepts - the array of content types that are available for selection.
67
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
68
+ */
69
+ selectHeaderAccept(accepts) {
70
+ if (accepts.length == 0) {
71
+ return undefined;
72
+ }
73
+ let type = accepts.find(x => this.isJsonMime(x));
74
+ if (type === undefined) {
75
+ return accepts[0];
76
+ }
77
+ return type;
78
+ }
79
+ /**
80
+ * Check if the given MIME is a JSON MIME.
81
+ * JSON MIME examples:
82
+ * application/json
83
+ * application/json; charset=UTF8
84
+ * APPLICATION/JSON
85
+ * application/vnd.company+json
86
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
87
+ * @return True if the given MIME is JSON, false otherwise.
88
+ */
89
+ isJsonMime(mime) {
90
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
91
+ return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
92
+ }
93
+ }
94
+
95
+ /**
96
+ * GeoSanja API
97
+ * API para Aplicação GeoSanja Agent
98
+ *
99
+ * OpenAPI spec version: 1.2.8
100
+ * Contact: claudio.bogossian@gmail.com
101
+ *
102
+ * NOTE: This class is auto generated by the swagger code generator program.
103
+ * https://github.com/swagger-api/swagger-codegen.git
104
+ * Do not edit the class manually.
105
+ */ /* tslint:disable:no-unused-variable member-ordering */
106
+ class DefaultService {
107
+ httpClient;
108
+ basePath = '/';
109
+ defaultHeaders = new HttpHeaders();
110
+ configuration = new Configuration();
111
+ constructor(httpClient, basePath, configuration) {
112
+ this.httpClient = httpClient;
113
+ if (basePath) {
114
+ this.basePath = basePath;
115
+ }
116
+ if (configuration) {
117
+ this.configuration = configuration;
118
+ this.basePath = basePath || configuration.basePath || this.basePath;
119
+ }
120
+ }
121
+ /**
122
+ * @param consumes string[] mime-types
123
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
124
+ */
125
+ canConsumeForm(consumes) {
126
+ const form = 'multipart/form-data';
127
+ for (const consume of consumes) {
128
+ if (form === consume) {
129
+ return true;
130
+ }
131
+ }
132
+ return false;
133
+ }
134
+ processRasterFile(body, observe = 'body', reportProgress = false) {
135
+ if (body === null || body === undefined) {
136
+ throw new Error('Required parameter body was null or undefined when calling processRasterFile.');
137
+ }
138
+ let headers = this.defaultHeaders;
139
+ // authentication (BearerAuth) required
140
+ if (this.configuration.accessToken) {
141
+ const accessToken = typeof this.configuration.accessToken === 'function'
142
+ ? this.configuration.accessToken()
143
+ : this.configuration.accessToken;
144
+ headers = headers.set('Authorization', 'Bearer ' + accessToken);
145
+ }
146
+ // to determine the Accept header
147
+ let httpHeaderAccepts = [
148
+ 'application/json'
149
+ ];
150
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
151
+ if (httpHeaderAcceptSelected != undefined) {
152
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
153
+ }
154
+ // to determine the Content-Type header
155
+ const consumes = [
156
+ 'application/json'
157
+ ];
158
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
159
+ if (httpContentTypeSelected != undefined) {
160
+ headers = headers.set('Content-Type', httpContentTypeSelected);
161
+ }
162
+ return this.httpClient.request('post', `${this.basePath}/agent/raster/process/file`, {
163
+ body: body,
164
+ withCredentials: this.configuration.withCredentials,
165
+ headers: headers,
166
+ observe: observe,
167
+ reportProgress: reportProgress
168
+ });
169
+ }
170
+ ui(observe = 'body', reportProgress = false) {
171
+ let headers = this.defaultHeaders;
172
+ // to determine the Accept header
173
+ let httpHeaderAccepts = [
174
+ 'text/html'
175
+ ];
176
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
177
+ if (httpHeaderAcceptSelected != undefined) {
178
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
179
+ }
180
+ // to determine the Content-Type header
181
+ const consumes = [];
182
+ return this.httpClient.request('get', `${this.basePath}/ui`, {
183
+ withCredentials: this.configuration.withCredentials,
184
+ headers: headers,
185
+ observe: observe,
186
+ reportProgress: reportProgress
187
+ });
188
+ }
189
+ uploadRasterFileForm(filename, file, observe = 'body', reportProgress = false) {
190
+ if (filename === null || filename === undefined) {
191
+ throw new Error('Required parameter filename was null or undefined when calling uploadRasterFile.');
192
+ }
193
+ if (file === null || file === undefined) {
194
+ throw new Error('Required parameter file was null or undefined when calling uploadRasterFile.');
195
+ }
196
+ let headers = this.defaultHeaders;
197
+ // authentication (BearerAuth) required
198
+ if (this.configuration.accessToken) {
199
+ const accessToken = typeof this.configuration.accessToken === 'function'
200
+ ? this.configuration.accessToken()
201
+ : this.configuration.accessToken;
202
+ headers = headers.set('Authorization', 'Bearer ' + accessToken);
203
+ }
204
+ // to determine the Accept header
205
+ let httpHeaderAccepts = [
206
+ 'application/json'
207
+ ];
208
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
209
+ if (httpHeaderAcceptSelected != undefined) {
210
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
211
+ }
212
+ // to determine the Content-Type header
213
+ const consumes = [
214
+ 'multipart/form-data'
215
+ ];
216
+ const canConsumeForm = this.canConsumeForm(consumes);
217
+ let formParams;
218
+ let useForm = false;
219
+ let convertFormParamsToString = false;
220
+ // use FormData to transmit files using content-type "multipart/form-data"
221
+ // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
222
+ useForm = canConsumeForm;
223
+ if (useForm) {
224
+ formParams = new FormData();
225
+ }
226
+ else {
227
+ formParams = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
228
+ }
229
+ if (filename !== undefined) {
230
+ formParams = formParams.append('filename', filename) || formParams;
231
+ }
232
+ if (file !== undefined) {
233
+ formParams = formParams.append('file', file) || formParams;
234
+ }
235
+ return this.httpClient.request('post', `${this.basePath}/agent/raster/upload/file`, {
236
+ body: convertFormParamsToString ? formParams.toString() : formParams,
237
+ withCredentials: this.configuration.withCredentials,
238
+ headers: headers,
239
+ observe: observe,
240
+ reportProgress: reportProgress
241
+ });
242
+ }
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
244
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, providedIn: 'root' });
245
+ }
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DefaultService, decorators: [{
247
+ type: Injectable,
248
+ args: [{
249
+ providedIn: 'root'
250
+ }]
251
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
252
+ type: Optional
253
+ }, {
254
+ type: Inject,
255
+ args: [BASE_PATH]
256
+ }] }, { type: Configuration, decorators: [{
257
+ type: Optional
258
+ }] }] });
259
+
260
+ const APIS = [DefaultService];
261
+
262
+ /**
263
+ * GeoSanja API
264
+ * API para Aplicação GeoSanja Agent
265
+ *
266
+ * OpenAPI spec version: 1.2.8
267
+ * Contact: claudio.bogossian@gmail.com
268
+ *
269
+ * NOTE: This class is auto generated by the swagger code generator program.
270
+ * https://github.com/swagger-api/swagger-codegen.git
271
+ * Do not edit the class manually.
272
+ */
273
+
274
+ /**
275
+ * GeoSanja API
276
+ * API para Aplicação GeoSanja Agent
277
+ *
278
+ * OpenAPI spec version: 1.2.8
279
+ * Contact: claudio.bogossian@gmail.com
280
+ *
281
+ * NOTE: This class is auto generated by the swagger code generator program.
282
+ * https://github.com/swagger-api/swagger-codegen.git
283
+ * Do not edit the class manually.
284
+ */
285
+
286
+ class ApiModule {
287
+ static forRoot(configurationFactory) {
288
+ return {
289
+ ngModule: ApiModule,
290
+ providers: [{ provide: Configuration, useFactory: configurationFactory }]
291
+ };
292
+ }
293
+ constructor(parentModule, http) {
294
+ if (parentModule) {
295
+ throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
296
+ }
297
+ if (!http) {
298
+ throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
299
+ 'See also https://github.com/angular/angular/issues/20575');
300
+ }
301
+ }
302
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
303
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ApiModule });
304
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule, providers: [
305
+ DefaultService
306
+ ] });
307
+ }
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ApiModule, decorators: [{
309
+ type: NgModule,
310
+ args: [{
311
+ imports: [],
312
+ declarations: [],
313
+ exports: [],
314
+ providers: [
315
+ DefaultService
316
+ ]
317
+ }]
318
+ }], ctorParameters: () => [{ type: ApiModule, decorators: [{
319
+ type: Optional
320
+ }, {
321
+ type: SkipSelf
322
+ }] }, { type: i1.HttpClient, decorators: [{
323
+ type: Optional
324
+ }] }] });
325
+
326
+ /**
327
+ * Generated bundle index. Do not edit.
328
+ */
329
+
330
+ export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DefaultService };
331
+ //# sourceMappingURL=geosanja-geosanja-agent-frontend-api.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geosanja-geosanja-agent-frontend-api.mjs","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/default.service.ts","../../api/api.ts","../../model/kVParameterDTO.ts","../../model/uploadCamadaRasterFileDTO.ts","../../api.module.ts","../../geosanja-geosanja-agent-frontend-api.ts"],"sourcesContent":[" import { HttpUrlEncodingCodec } from '@angular/common/http';\n\n/**\n* CustomHttpUrlEncodingCodec\n* Fix plus sign (+) not encoding, so sent as blank space\n* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318\n*/\nexport class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {\n override encodeKey(k: string): string {\n k = super.encodeKey(k);\n return k.replace(/\\+/gi, '%2B');\n }\n override encodeValue(v: string): string {\n v = super.encodeValue(v);\n return v.replace(/\\+/gi, '%2B');\n }\n}\n\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","export interface ConfigurationParameters {\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n}\n\nexport class Configuration {\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length == 0) {\n return undefined;\n }\n\n let type = contentTypes.find(x => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length == 0) {\n return undefined;\n }\n\n let type = accepts.find(x => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\n","/**\n * GeoSanja API\n * API para Aplicação GeoSanja Agent\n *\n * OpenAPI spec version: 1.2.8\n * Contact: claudio.bogossian@gmail.com\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n *//* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent } from '@angular/common/http';\nimport { CustomHttpUrlEncodingCodec } from '../encoder';\n\nimport { Observable } from 'rxjs';\n\nimport { UploadCamadaRasterFileInfoDTO } from '../model/uploadCamadaRasterFileInfoDTO';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DefaultService {\n\n protected basePath = '/';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (basePath) {\n this.basePath = basePath;\n }\n if (configuration) {\n this.configuration = configuration;\n this.basePath = basePath || configuration.basePath || this.basePath;\n }\n }\n\n /**\n * @param consumes string[] mime-types\n * @return true: consumes contains 'multipart/form-data', false: otherwise\n */\n private canConsumeForm(consumes: string[]): boolean {\n const form = 'multipart/form-data';\n for (const consume of consumes) {\n if (form === consume) {\n return true;\n }\n }\n return false;\n }\n\n\n /**\n * Upload de camada na aplicação\n * \n * @param body \n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public processRasterFile(body: UploadCamadaRasterFileInfoDTO, observe?: 'body', reportProgress?: boolean): Observable<UploadCamadaRasterFileInfoDTO>;\n public processRasterFile(body: UploadCamadaRasterFileInfoDTO, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UploadCamadaRasterFileInfoDTO>>;\n public processRasterFile(body: UploadCamadaRasterFileInfoDTO, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UploadCamadaRasterFileInfoDTO>>;\n public processRasterFile(body: UploadCamadaRasterFileInfoDTO, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {\n\n if (body === null || body === undefined) {\n throw new Error('Required parameter body was null or undefined when calling processRasterFile.');\n }\n\n let headers = this.defaultHeaders;\n\n // authentication (BearerAuth) required\n if (this.configuration.accessToken) {\n const accessToken = typeof this.configuration.accessToken === 'function'\n ? this.configuration.accessToken()\n : this.configuration.accessToken;\n headers = headers.set('Authorization', 'Bearer ' + accessToken);\n }\n // to determine the Accept header\n let httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n if (httpHeaderAcceptSelected != undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected != undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n return this.httpClient.request<UploadCamadaRasterFileInfoDTO>('post',`${this.basePath}/agent/raster/process/file`,\n {\n body: body,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Returns the UI which allow the instances answer to be managed by a user\n * \n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public ui(observe?: 'body', reportProgress?: boolean): Observable<string>;\n public ui(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<string>>;\n public ui(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<string>>;\n public ui(observe: any = 'body', reportProgress: boolean = false ): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n // to determine the Accept header\n let httpHeaderAccepts: string[] = [\n 'text/html'\n ];\n const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n if (httpHeaderAcceptSelected != undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n // to determine the Content-Type header\n const consumes: string[] = [\n ];\n\n return this.httpClient.request<string>('get',`${this.basePath}/ui`,\n {\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Upload de camada na aplicação\n * \n * @param filename \n * @param file \n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public uploadRasterFileForm(filename: string, file: Blob, observe?: 'body', reportProgress?: boolean): Observable<UploadCamadaRasterFileInfoDTO>;\n public uploadRasterFileForm(filename: string, file: Blob, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UploadCamadaRasterFileInfoDTO>>;\n public uploadRasterFileForm(filename: string, file: Blob, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UploadCamadaRasterFileInfoDTO>>;\n public uploadRasterFileForm(filename: string, file: Blob, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {\n\n if (filename === null || filename === undefined) {\n throw new Error('Required parameter filename was null or undefined when calling uploadRasterFile.');\n }\n\n if (file === null || file === undefined) {\n throw new Error('Required parameter file was null or undefined when calling uploadRasterFile.');\n }\n\n let headers = this.defaultHeaders;\n\n // authentication (BearerAuth) required\n if (this.configuration.accessToken) {\n const accessToken = typeof this.configuration.accessToken === 'function'\n ? this.configuration.accessToken()\n : this.configuration.accessToken;\n headers = headers.set('Authorization', 'Bearer ' + accessToken);\n }\n // to determine the Accept header\n let httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n const httpHeaderAcceptSelected: string | undefined = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n if (httpHeaderAcceptSelected != undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'multipart/form-data'\n ];\n\n const canConsumeForm = this.canConsumeForm(consumes);\n\n let formParams: { append(param: string, value: any): void; };\n let useForm = false;\n let convertFormParamsToString = false;\n // use FormData to transmit files using content-type \"multipart/form-data\"\n // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data\n useForm = canConsumeForm;\n if (useForm) {\n formParams = new FormData();\n } else {\n formParams = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});\n }\n\n if (filename !== undefined) {\n formParams = formParams.append('filename', <any>filename) as any || formParams;\n }\n if (file !== undefined) {\n formParams = formParams.append('file', <any>file) as any || formParams;\n }\n\n return this.httpClient.request<UploadCamadaRasterFileInfoDTO>('post',`${this.basePath}/agent/raster/upload/file`,\n {\n body: convertFormParamsToString ? formParams.toString() : formParams,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './default.service';\nimport { DefaultService } from './default.service';\nexport const APIS = [DefaultService];\n","/**\n * GeoSanja API\n * API para Aplicação GeoSanja Agent\n *\n * OpenAPI spec version: 1.2.8\n * Contact: claudio.bogossian@gmail.com\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport interface KVParameterDTO { \n paramKey?: string;\n paramValue?: string;\n}","/**\n * GeoSanja API\n * API para Aplicação GeoSanja Agent\n *\n * OpenAPI spec version: 1.2.8\n * Contact: claudio.bogossian@gmail.com\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport interface UploadCamadaRasterFileDTO { \n filename?: string;\n file?: Blob;\n}","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\n\nimport { DefaultService } from './api/default.service';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: [\n DefaultService ]\n})\nexport class ApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('ApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;AAEA;;;;AAIE;AACI,MAAO,0BAA2B,SAAQ,oBAAoB,CAAA;AACvD,IAAA,SAAS,CAAC,CAAS,EAAA;AACxB,QAAA,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;QACtB,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC;IACnC;AACS,IAAA,WAAW,CAAC,CAAS,EAAA;AAC1B,QAAA,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;QACxB,OAAO,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC;IACnC;AACH;;MCdY,SAAS,GAAG,IAAI,cAAc,CAAS,UAAU;AACvD,MAAM,kBAAkB,GAAG;AAC9B,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,OAAO,EAAE;;;MCEA,aAAa,CAAA;AACtB,IAAA,OAAO;AACP,IAAA,QAAQ;AACR,IAAA,QAAQ;AACR,IAAA,WAAW;AACX,IAAA,QAAQ;AACR,IAAA,eAAe;AAEf,IAAA,WAAA,CAAY,0BAAmD,EAAE,EAAA;AAC7D,QAAA,IAAI,CAAC,OAAO,GAAG,uBAAuB,CAAC,OAAO;AAC9C,QAAA,IAAI,CAAC,QAAQ,GAAG,uBAAuB,CAAC,QAAQ;AAChD,QAAA,IAAI,CAAC,QAAQ,GAAG,uBAAuB,CAAC,QAAQ;AAChD,QAAA,IAAI,CAAC,WAAW,GAAG,uBAAuB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AA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,SAAS,EAAA,SAAA,EAHT;YACT;AAAgB,SAAA,EAAA,CAAA;;4FAEP,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,SAAS,EAAE;wBACT;AAAgB;AACnB,iBAAA;;0BASiB;;0BAAY;;0BACZ;;;ACvBlB;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ export * from './api/api';
2
+ export * from './model/models';
3
+ export * from './variables';
4
+ export * from './configuration';
5
+ export * from './api.module';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface KVParameterDTO {
13
+ paramKey?: string;
14
+ paramValue?: string;
15
+ }
@@ -0,0 +1,4 @@
1
+ export * from './kVParameterDTO';
2
+ export * from './processProgressDTO';
3
+ export * from './uploadCamadaRasterFileDTO';
4
+ export * from './uploadCamadaRasterFileInfoDTO';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { KVParameterDTO } from './kVParameterDTO';
13
+ export interface ProcessProgressDTO {
14
+ processId?: number;
15
+ processType?: number;
16
+ progress?: number;
17
+ params?: Array<KVParameterDTO>;
18
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface UploadCamadaRasterFileDTO {
13
+ filename?: string;
14
+ file?: Blob;
15
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GeoSanja API
3
+ * API para Aplicação GeoSanja Agent
4
+ *
5
+ * OpenAPI spec version: 1.2.8
6
+ * Contact: claudio.bogossian@gmail.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ProcessProgressDTO } from './processProgressDTO';
13
+ export interface UploadCamadaRasterFileInfoDTO {
14
+ filepath?: string;
15
+ filetype?: string;
16
+ workspace?: string;
17
+ layername?: string;
18
+ envelope?: string;
19
+ srs?: string;
20
+ width?: number;
21
+ height?: number;
22
+ bands?: number;
23
+ datatype?: string;
24
+ overviews?: number;
25
+ error?: boolean;
26
+ msg?: string;
27
+ backgroundProcessId?: number;
28
+ processList?: Array<ProcessProgressDTO>;
29
+ }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@geosanja/geosanja-agent-frontend-api",
3
+ "version": "4.8.0-build-1",
4
+ "description": "swagger client for @geosanja/geosanja-agent-frontend-api",
5
+ "author": "Swagger Codegen Contributors",
6
+ "keywords": [
7
+ "swagger-client"
8
+ ],
9
+ "license": "Unlicense",
10
+ "module": "fesm2022/geosanja-geosanja-agent-frontend-api.mjs",
11
+ "typings": "index.d.ts",
12
+ "exports": {
13
+ "./package.json": {
14
+ "default": "./package.json"
15
+ },
16
+ ".": {
17
+ "types": "./index.d.ts",
18
+ "esm2022": "./esm2022/geosanja-geosanja-agent-frontend-api.mjs",
19
+ "esm": "./esm2022/geosanja-geosanja-agent-frontend-api.mjs",
20
+ "default": "./fesm2022/geosanja-geosanja-agent-frontend-api.mjs"
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "dependencies": {
25
+ "tslib": "^2.3.0"
26
+ }
27
+ }
package/variables.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const BASE_PATH: InjectionToken<string>;
3
+ export declare const COLLECTION_FORMATS: {
4
+ csv: string;
5
+ tsv: string;
6
+ ssv: string;
7
+ pipes: string;
8
+ };