@teemill/file-processor 0.3.3 → 0.3.5
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/README.md +3 -3
- package/api.ts +7 -183
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +12 -188
- package/dist/api.js +1 -18
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +12 -188
- package/dist/esm/api.js +1 -18
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListJobs200Response.md +22 -0
- package/docs/ProcessorApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/file-processor@0.3.
|
|
1
|
+
## @teemill/file-processor@0.3.5
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/file-processor@0.3.
|
|
39
|
+
npm install @teemill/file-processor@0.3.5 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -63,10 +63,10 @@ Class | Method | HTTP request | Description
|
|
|
63
63
|
- [ApiError](docs/ApiError.md)
|
|
64
64
|
- [CreateJobRequest](docs/CreateJobRequest.md)
|
|
65
65
|
- [GetHealth200Response](docs/GetHealth200Response.md)
|
|
66
|
-
- [InlineObject](docs/InlineObject.md)
|
|
67
66
|
- [Job](docs/Job.md)
|
|
68
67
|
- [JobInput](docs/JobInput.md)
|
|
69
68
|
- [JobOutput](docs/JobOutput.md)
|
|
69
|
+
- [ListJobs200Response](docs/ListJobs200Response.md)
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
<a id="documentation-for-authorization"></a>
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,191 +23,57 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface ApiError
|
|
30
|
-
*/
|
|
31
26
|
export interface ApiError {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ApiError
|
|
36
|
-
*/
|
|
37
27
|
'code'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ApiError
|
|
42
|
-
*/
|
|
43
28
|
'message': string;
|
|
44
29
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @interface CreateJobRequest
|
|
49
|
-
*/
|
|
50
30
|
export interface CreateJobRequest {
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {JobInput}
|
|
54
|
-
* @memberof CreateJobRequest
|
|
55
|
-
*/
|
|
56
31
|
'input': JobInput;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof CreateJobRequest
|
|
61
|
-
*/
|
|
62
32
|
'pipeline': string;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {object}
|
|
66
|
-
* @memberof CreateJobRequest
|
|
67
|
-
*/
|
|
68
33
|
'configuration': object;
|
|
69
34
|
}
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @export
|
|
73
|
-
* @interface GetHealth200Response
|
|
74
|
-
*/
|
|
75
35
|
export interface GetHealth200Response {
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof GetHealth200Response
|
|
80
|
-
*/
|
|
81
36
|
'status'?: string;
|
|
82
37
|
}
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
* @interface InlineObject
|
|
87
|
-
*/
|
|
88
|
-
export interface InlineObject {
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<Job>}
|
|
92
|
-
* @memberof InlineObject
|
|
93
|
-
*/
|
|
94
|
-
'jobs': Array<Job>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {number}
|
|
98
|
-
* @memberof InlineObject
|
|
99
|
-
*/
|
|
100
|
-
'nextPageToken': number;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @export
|
|
105
|
-
* @interface Job
|
|
106
|
-
*/
|
|
107
38
|
export interface Job {
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof Job
|
|
112
|
-
*/
|
|
113
39
|
'id': string;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof Job
|
|
118
|
-
*/
|
|
119
40
|
'project': string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {JobInput}
|
|
123
|
-
* @memberof Job
|
|
124
|
-
*/
|
|
125
41
|
'input': JobInput;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {JobOutput}
|
|
129
|
-
* @memberof Job
|
|
130
|
-
*/
|
|
131
42
|
'output': JobOutput | null;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof Job
|
|
136
|
-
*/
|
|
137
43
|
'pipeline': string;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {object}
|
|
141
|
-
* @memberof Job
|
|
142
|
-
*/
|
|
143
44
|
'configuration': object;
|
|
144
45
|
/**
|
|
145
46
|
* ISO 8601 Timestamp
|
|
146
|
-
* @type {string}
|
|
147
|
-
* @memberof Job
|
|
148
47
|
*/
|
|
149
48
|
'createdAt': string;
|
|
150
49
|
/**
|
|
151
50
|
* ISO 8601 Timestamp
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof Job
|
|
154
51
|
*/
|
|
155
52
|
'startedAt'?: string;
|
|
156
53
|
/**
|
|
157
54
|
* ISO 8601 Timestamp
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof Job
|
|
160
55
|
*/
|
|
161
56
|
'completedAt'?: string;
|
|
162
57
|
/**
|
|
163
58
|
* ISO 8601 Timestamp
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof Job
|
|
166
59
|
*/
|
|
167
60
|
'failedAt'?: string;
|
|
168
61
|
}
|
|
169
|
-
/**
|
|
170
|
-
*
|
|
171
|
-
* @export
|
|
172
|
-
* @interface JobInput
|
|
173
|
-
*/
|
|
174
62
|
export interface JobInput {
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @type {string}
|
|
178
|
-
* @memberof JobInput
|
|
179
|
-
*/
|
|
180
63
|
'path': string;
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof JobInput
|
|
185
|
-
*/
|
|
186
64
|
'driver': string;
|
|
187
65
|
}
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
* @export
|
|
191
|
-
* @interface JobOutput
|
|
192
|
-
*/
|
|
193
66
|
export interface JobOutput {
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* @type {string}
|
|
197
|
-
* @memberof JobOutput
|
|
198
|
-
*/
|
|
199
67
|
'source': string;
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @type {string}
|
|
203
|
-
* @memberof JobOutput
|
|
204
|
-
*/
|
|
205
68
|
'thumbnail': string;
|
|
206
69
|
}
|
|
70
|
+
export interface ListJobs200Response {
|
|
71
|
+
'jobs': Array<Job>;
|
|
72
|
+
'nextPageToken': number;
|
|
73
|
+
}
|
|
207
74
|
|
|
208
75
|
/**
|
|
209
76
|
* HealthApi - axios parameter creator
|
|
210
|
-
* @export
|
|
211
77
|
*/
|
|
212
78
|
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
213
79
|
return {
|
|
@@ -253,7 +119,6 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
253
119
|
|
|
254
120
|
/**
|
|
255
121
|
* HealthApi - functional programming interface
|
|
256
|
-
* @export
|
|
257
122
|
*/
|
|
258
123
|
export const HealthApiFp = function(configuration?: Configuration) {
|
|
259
124
|
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
@@ -275,7 +140,6 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
275
140
|
|
|
276
141
|
/**
|
|
277
142
|
* HealthApi - factory interface
|
|
278
|
-
* @export
|
|
279
143
|
*/
|
|
280
144
|
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
281
145
|
const localVarFp = HealthApiFp(configuration)
|
|
@@ -294,9 +158,6 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
294
158
|
|
|
295
159
|
/**
|
|
296
160
|
* HealthApi - object-oriented interface
|
|
297
|
-
* @export
|
|
298
|
-
* @class HealthApi
|
|
299
|
-
* @extends {BaseAPI}
|
|
300
161
|
*/
|
|
301
162
|
export class HealthApi extends BaseAPI {
|
|
302
163
|
/**
|
|
@@ -304,7 +165,6 @@ export class HealthApi extends BaseAPI {
|
|
|
304
165
|
* @summary Get health
|
|
305
166
|
* @param {*} [options] Override http request option.
|
|
306
167
|
* @throws {RequiredError}
|
|
307
|
-
* @memberof HealthApi
|
|
308
168
|
*/
|
|
309
169
|
public getHealth(options?: RawAxiosRequestConfig) {
|
|
310
170
|
return HealthApiFp(this.configuration).getHealth(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -315,7 +175,6 @@ export class HealthApi extends BaseAPI {
|
|
|
315
175
|
|
|
316
176
|
/**
|
|
317
177
|
* ProcessorApi - axios parameter creator
|
|
318
|
-
* @export
|
|
319
178
|
*/
|
|
320
179
|
export const ProcessorApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
321
180
|
return {
|
|
@@ -524,7 +383,6 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
|
|
|
524
383
|
|
|
525
384
|
/**
|
|
526
385
|
* ProcessorApi - functional programming interface
|
|
527
|
-
* @export
|
|
528
386
|
*/
|
|
529
387
|
export const ProcessorApiFp = function(configuration?: Configuration) {
|
|
530
388
|
const localVarAxiosParamCreator = ProcessorApiAxiosParamCreator(configuration)
|
|
@@ -580,7 +438,7 @@ export const ProcessorApiFp = function(configuration?: Configuration) {
|
|
|
580
438
|
* @param {*} [options] Override http request option.
|
|
581
439
|
* @throws {RequiredError}
|
|
582
440
|
*/
|
|
583
|
-
async listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
441
|
+
async listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>> {
|
|
584
442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
|
|
585
443
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
586
444
|
const localVarOperationServerBasePath = operationServerMap['ProcessorApi.listJobs']?.[localVarOperationServerIndex]?.url;
|
|
@@ -591,7 +449,6 @@ export const ProcessorApiFp = function(configuration?: Configuration) {
|
|
|
591
449
|
|
|
592
450
|
/**
|
|
593
451
|
* ProcessorApi - factory interface
|
|
594
|
-
* @export
|
|
595
452
|
*/
|
|
596
453
|
export const ProcessorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
597
454
|
const localVarFp = ProcessorApiFp(configuration)
|
|
@@ -633,7 +490,7 @@ export const ProcessorApiFactory = function (configuration?: Configuration, base
|
|
|
633
490
|
* @param {*} [options] Override http request option.
|
|
634
491
|
* @throws {RequiredError}
|
|
635
492
|
*/
|
|
636
|
-
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
493
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response> {
|
|
637
494
|
return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
638
495
|
},
|
|
639
496
|
};
|
|
@@ -641,100 +498,71 @@ export const ProcessorApiFactory = function (configuration?: Configuration, base
|
|
|
641
498
|
|
|
642
499
|
/**
|
|
643
500
|
* Request parameters for createJob operation in ProcessorApi.
|
|
644
|
-
* @export
|
|
645
|
-
* @interface ProcessorApiCreateJobRequest
|
|
646
501
|
*/
|
|
647
502
|
export interface ProcessorApiCreateJobRequest {
|
|
648
503
|
/**
|
|
649
504
|
* Projects unique identifier
|
|
650
|
-
* @type {string}
|
|
651
|
-
* @memberof ProcessorApiCreateJob
|
|
652
505
|
*/
|
|
653
506
|
readonly project: string
|
|
654
507
|
|
|
655
508
|
/**
|
|
656
509
|
* Create a new job
|
|
657
|
-
* @type {CreateJobRequest}
|
|
658
|
-
* @memberof ProcessorApiCreateJob
|
|
659
510
|
*/
|
|
660
511
|
readonly createJobRequest: CreateJobRequest
|
|
661
512
|
}
|
|
662
513
|
|
|
663
514
|
/**
|
|
664
515
|
* Request parameters for deleteJob operation in ProcessorApi.
|
|
665
|
-
* @export
|
|
666
|
-
* @interface ProcessorApiDeleteJobRequest
|
|
667
516
|
*/
|
|
668
517
|
export interface ProcessorApiDeleteJobRequest {
|
|
669
518
|
/**
|
|
670
519
|
* Jobs unique identifier
|
|
671
|
-
* @type {string}
|
|
672
|
-
* @memberof ProcessorApiDeleteJob
|
|
673
520
|
*/
|
|
674
521
|
readonly job: string
|
|
675
522
|
|
|
676
523
|
/**
|
|
677
524
|
* Projects unique identifier
|
|
678
|
-
* @type {string}
|
|
679
|
-
* @memberof ProcessorApiDeleteJob
|
|
680
525
|
*/
|
|
681
526
|
readonly project: string
|
|
682
527
|
}
|
|
683
528
|
|
|
684
529
|
/**
|
|
685
530
|
* Request parameters for getJob operation in ProcessorApi.
|
|
686
|
-
* @export
|
|
687
|
-
* @interface ProcessorApiGetJobRequest
|
|
688
531
|
*/
|
|
689
532
|
export interface ProcessorApiGetJobRequest {
|
|
690
533
|
/**
|
|
691
534
|
* Jobs unique identifier
|
|
692
|
-
* @type {string}
|
|
693
|
-
* @memberof ProcessorApiGetJob
|
|
694
535
|
*/
|
|
695
536
|
readonly job: string
|
|
696
537
|
|
|
697
538
|
/**
|
|
698
539
|
* Projects unique identifier
|
|
699
|
-
* @type {string}
|
|
700
|
-
* @memberof ProcessorApiGetJob
|
|
701
540
|
*/
|
|
702
541
|
readonly project: string
|
|
703
542
|
}
|
|
704
543
|
|
|
705
544
|
/**
|
|
706
545
|
* Request parameters for listJobs operation in ProcessorApi.
|
|
707
|
-
* @export
|
|
708
|
-
* @interface ProcessorApiListJobsRequest
|
|
709
546
|
*/
|
|
710
547
|
export interface ProcessorApiListJobsRequest {
|
|
711
548
|
/**
|
|
712
549
|
* Projects unique identifier
|
|
713
|
-
* @type {string}
|
|
714
|
-
* @memberof ProcessorApiListJobs
|
|
715
550
|
*/
|
|
716
551
|
readonly project: string
|
|
717
552
|
|
|
718
553
|
/**
|
|
719
554
|
* Page reference token
|
|
720
|
-
* @type {number}
|
|
721
|
-
* @memberof ProcessorApiListJobs
|
|
722
555
|
*/
|
|
723
556
|
readonly pageToken?: number
|
|
724
557
|
|
|
725
558
|
/**
|
|
726
559
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
727
|
-
* @type {number}
|
|
728
|
-
* @memberof ProcessorApiListJobs
|
|
729
560
|
*/
|
|
730
561
|
readonly pageSize?: number
|
|
731
562
|
}
|
|
732
563
|
|
|
733
564
|
/**
|
|
734
565
|
* ProcessorApi - object-oriented interface
|
|
735
|
-
* @export
|
|
736
|
-
* @class ProcessorApi
|
|
737
|
-
* @extends {BaseAPI}
|
|
738
566
|
*/
|
|
739
567
|
export class ProcessorApi extends BaseAPI {
|
|
740
568
|
/**
|
|
@@ -743,7 +571,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
743
571
|
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
744
572
|
* @param {*} [options] Override http request option.
|
|
745
573
|
* @throws {RequiredError}
|
|
746
|
-
* @memberof ProcessorApi
|
|
747
574
|
*/
|
|
748
575
|
public createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig) {
|
|
749
576
|
return ProcessorApiFp(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -755,7 +582,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
755
582
|
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
756
583
|
* @param {*} [options] Override http request option.
|
|
757
584
|
* @throws {RequiredError}
|
|
758
|
-
* @memberof ProcessorApi
|
|
759
585
|
*/
|
|
760
586
|
public deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig) {
|
|
761
587
|
return ProcessorApiFp(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -767,7 +593,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
767
593
|
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
768
594
|
* @param {*} [options] Override http request option.
|
|
769
595
|
* @throws {RequiredError}
|
|
770
|
-
* @memberof ProcessorApi
|
|
771
596
|
*/
|
|
772
597
|
public getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig) {
|
|
773
598
|
return ProcessorApiFp(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -779,7 +604,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
779
604
|
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
780
605
|
* @param {*} [options] Override http request option.
|
|
781
606
|
* @throws {RequiredError}
|
|
782
|
-
* @memberof ProcessorApi
|
|
783
607
|
*/
|
|
784
608
|
public listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig) {
|
|
785
609
|
return ProcessorApiFp(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "https://api.localhost:8080".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
24
|
export const COLLECTION_FORMATS = {
|
|
29
25
|
csv: ",",
|
|
30
26
|
ssv: " ",
|
|
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
|
|
|
32
28
|
pipes: "|",
|
|
33
29
|
};
|
|
34
30
|
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface RequestArgs
|
|
39
|
-
*/
|
|
40
31
|
export interface RequestArgs {
|
|
41
32
|
url: string;
|
|
42
33
|
options: RawAxiosRequestConfig;
|
|
43
34
|
}
|
|
44
35
|
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class BaseAPI
|
|
49
|
-
*/
|
|
50
36
|
export class BaseAPI {
|
|
51
37
|
protected configuration: Configuration | undefined;
|
|
52
38
|
|
|
@@ -58,12 +44,6 @@ export class BaseAPI {
|
|
|
58
44
|
}
|
|
59
45
|
};
|
|
60
46
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
* @class RequiredError
|
|
65
|
-
* @extends {Error}
|
|
66
|
-
*/
|
|
67
47
|
export class RequiredError extends Error {
|
|
68
48
|
constructor(public field: string, msg?: string) {
|
|
69
49
|
super(msg);
|
|
@@ -78,9 +58,5 @@ interface ServerMap {
|
|
|
78
58
|
}[];
|
|
79
59
|
}
|
|
80
60
|
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
61
|
export const operationServerMap: ServerMap = {
|
|
86
62
|
}
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import type { Configuration } from "./configuration";
|
|
17
16
|
import type { RequestArgs } from "./base";
|
|
18
17
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,49 +28,32 @@ export class Configuration {
|
|
|
28
28
|
/**
|
|
29
29
|
* parameter for apiKey security
|
|
30
30
|
* @param name security name
|
|
31
|
-
* @memberof Configuration
|
|
32
31
|
*/
|
|
33
32
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
33
|
/**
|
|
35
34
|
* parameter for basic security
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Configuration
|
|
39
35
|
*/
|
|
40
36
|
username?: string;
|
|
41
37
|
/**
|
|
42
38
|
* parameter for basic security
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Configuration
|
|
46
39
|
*/
|
|
47
40
|
password?: string;
|
|
48
41
|
/**
|
|
49
42
|
* parameter for oauth2 security
|
|
50
43
|
* @param name security name
|
|
51
44
|
* @param scopes oauth2 scope
|
|
52
|
-
* @memberof Configuration
|
|
53
45
|
*/
|
|
54
46
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
47
|
/**
|
|
56
48
|
* override base path
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Configuration
|
|
60
49
|
*/
|
|
61
50
|
basePath?: string;
|
|
62
51
|
/**
|
|
63
52
|
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
53
|
*/
|
|
68
54
|
serverIndex?: number;
|
|
69
55
|
/**
|
|
70
56
|
* base options for axios calls
|
|
71
|
-
*
|
|
72
|
-
* @type {any}
|
|
73
|
-
* @memberof Configuration
|
|
74
57
|
*/
|
|
75
58
|
baseOptions?: any;
|
|
76
59
|
/**
|