@ourskyai/sda-api 1.3.1734

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/api.ts ADDED
@@ -0,0 +1,2277 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OurSky SDA
5
+ * Once your organization has been signed up for the platform you will be able to log in and use the APIs under the \"Default\" section. Login by navigating to `https://api.<dev|prod>.oursky.ai/v1/auth/login` and use your email that ends in your organization domain. After entering your email you will receive a one time use email with a code, use that code to complete the login flow. After completing the login flow the browser will re-direct you to a page that displays a json object with your API token as the value of the `jwt` key. This is the only time your token will be displayed to you so please save it. To use this documentation site please select the \"Authorize\" button at the top right of the page and enter your token and select the correct environment (dev or prod) in the \"Servers\" dropdown. If you are using making api calls directly please ensure you include the header `Authorization: Bearer <your token>`. The basic api flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#default/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#default/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#default/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#default/v1GetTdms) endpoint to poll for TDMs.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.1734
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from './configuration';
17
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
+ import type { RequestArgs } from './base';
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
+
26
+ /**
27
+ * astrometricOffsets
28
+ * @export
29
+ * @interface AstrometricOffsets
30
+ */
31
+ export interface AstrometricOffsets {
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof AstrometricOffsets
36
+ */
37
+ 'raPlateSolveOffsetAverage': number;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof AstrometricOffsets
42
+ */
43
+ 'raPlateSolveOffsetStdDev': number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof AstrometricOffsets
48
+ */
49
+ 'decPlateSolveOffsetAverage': number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof AstrometricOffsets
54
+ */
55
+ 'decPlateSolveOffsetStdDev': number;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof AstrometricOffsets
60
+ */
61
+ 'fwhmStdDev': number;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof AstrometricOffsets
66
+ */
67
+ 'fwhmAverage': number;
68
+ }
69
+ /**
70
+ * successful action
71
+ * @export
72
+ * @interface EmptySuccess
73
+ */
74
+ export interface EmptySuccess {
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof EmptySuccess
79
+ */
80
+ 'message'?: string;
81
+ }
82
+ /**
83
+ *
84
+ * @export
85
+ * @enum {string}
86
+ */
87
+
88
+ export const FilterType = {
89
+ NONE: 'NONE',
90
+ RED: 'RED',
91
+ BLUE: 'BLUE',
92
+ GREEN: 'GREEN',
93
+ UV: 'UV',
94
+ IR: 'IR',
95
+ LUMINANCE: 'LUMINANCE',
96
+ ENHANCED_LUMINANCE: 'ENHANCED_LUMINANCE',
97
+ H_ALPHA: 'H_ALPHA',
98
+ H_BETA: 'H_BETA',
99
+ S_II: 'S_II',
100
+ O_III: 'O_III',
101
+ DUAL_BAND: 'DUAL_BAND',
102
+ PHOTO_JOHNSON_U: 'PHOTO_JOHNSON_U',
103
+ PHOTO_JOHNSON_B: 'PHOTO_JOHNSON_B',
104
+ PHOTO_JOHNSON_V: 'PHOTO_JOHNSON_V',
105
+ PHOTO_COUSINS_R: 'PHOTO_COUSINS_R',
106
+ PHOTO_COUSINS_I: 'PHOTO_COUSINS_I'
107
+ } as const;
108
+
109
+ export type FilterType = typeof FilterType[keyof typeof FilterType];
110
+
111
+
112
+ /**
113
+ * A single observation result. This is a 1:1 mapping with a single image
114
+ * @export
115
+ * @interface ObservationResult
116
+ */
117
+ export interface ObservationResult {
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof ObservationResult
122
+ */
123
+ 'imageId': string;
124
+ /**
125
+ *
126
+ * @type {AstrometricOffsets}
127
+ * @memberof ObservationResult
128
+ */
129
+ 'astrometricOffsets': AstrometricOffsets;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof ObservationResult
134
+ */
135
+ 'imageUrl'?: string;
136
+ /**
137
+ *
138
+ * @type {number}
139
+ * @memberof ObservationResult
140
+ */
141
+ 'ra': number;
142
+ /**
143
+ *
144
+ * @type {number}
145
+ * @memberof ObservationResult
146
+ */
147
+ 'dec': number;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof ObservationResult
152
+ */
153
+ 'timestamp': string;
154
+ /**
155
+ * BETA: the apparent magnitude of the target at the time of the observation
156
+ * @type {number}
157
+ * @memberof ObservationResult
158
+ */
159
+ 'apparentMagnitude'?: number;
160
+ }
161
+ /**
162
+ * orbit type
163
+ * @export
164
+ * @enum {string}
165
+ */
166
+
167
+ export const OrbitType = {
168
+ GEOSTATIONARY: 'GEOSTATIONARY',
169
+ GEOSYNCHRONOUS: 'GEOSYNCHRONOUS',
170
+ MEO: 'MEO',
171
+ LEO: 'LEO',
172
+ GTO: 'GTO',
173
+ SSO: 'SSO',
174
+ TUNDRA: 'TUNDRA',
175
+ MOLNIYA: 'MOLNIYA'
176
+ } as const;
177
+
178
+ export type OrbitType = typeof OrbitType[keyof typeof OrbitType];
179
+
180
+
181
+ /**
182
+ * successful create
183
+ * @export
184
+ * @interface SuccessfulCreate
185
+ */
186
+ export interface SuccessfulCreate {
187
+ /**
188
+ *
189
+ * @type {string}
190
+ * @memberof SuccessfulCreate
191
+ */
192
+ 'id': string;
193
+ }
194
+ /**
195
+ * target tracking type
196
+ * @export
197
+ * @enum {string}
198
+ */
199
+
200
+ export const TrackingType = {
201
+ SIDEREAL: 'SIDEREAL',
202
+ TARGET_RATE: 'TARGET_RATE'
203
+ } as const;
204
+
205
+ export type TrackingType = typeof TrackingType[keyof typeof TrackingType];
206
+
207
+
208
+ /**
209
+ * create image set
210
+ * @export
211
+ * @interface V1CreateImageSet
212
+ */
213
+ export interface V1CreateImageSet {
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof V1CreateImageSet
218
+ */
219
+ 'targetId': string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof V1CreateImageSet
224
+ */
225
+ 'nodeId': string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof V1CreateImageSet
230
+ */
231
+ 'observationId'?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof V1CreateImageSet
236
+ * @deprecated
237
+ */
238
+ 'ourskyPluginVersion'?: string;
239
+ /**
240
+ *
241
+ * @type {TrackingType}
242
+ * @memberof V1CreateImageSet
243
+ */
244
+ 'trackingType'?: TrackingType;
245
+ /**
246
+ *
247
+ * @type {FilterType}
248
+ * @memberof V1CreateImageSet
249
+ */
250
+ 'filterType'?: FilterType;
251
+ }
252
+
253
+
254
+ /**
255
+ * create image set image
256
+ * @export
257
+ * @interface V1CreateImageSetImage
258
+ */
259
+ export interface V1CreateImageSetImage {
260
+ /**
261
+ *
262
+ * @type {string}
263
+ * @memberof V1CreateImageSetImage
264
+ */
265
+ 'imageSetId': string;
266
+ }
267
+ /**
268
+ * successful create of image set image
269
+ * @export
270
+ * @interface V1CreateImageSetImageResponse
271
+ */
272
+ export interface V1CreateImageSetImageResponse {
273
+ /**
274
+ *
275
+ * @type {string}
276
+ * @memberof V1CreateImageSetImageResponse
277
+ */
278
+ 'id': string;
279
+ /**
280
+ *
281
+ * @type {string}
282
+ * @memberof V1CreateImageSetImageResponse
283
+ */
284
+ 'uploadUrl': string;
285
+ }
286
+ /**
287
+ *
288
+ * @export
289
+ * @interface V1GetOrganizationTarget
290
+ */
291
+ export interface V1GetOrganizationTarget {
292
+ /**
293
+ *
294
+ * @type {string}
295
+ * @memberof V1GetOrganizationTarget
296
+ */
297
+ 'id': string;
298
+ /**
299
+ *
300
+ * @type {V1SatelliteTarget}
301
+ * @memberof V1GetOrganizationTarget
302
+ */
303
+ 'satelliteTarget': V1SatelliteTarget;
304
+ /**
305
+ *
306
+ * @type {string}
307
+ * @memberof V1GetOrganizationTarget
308
+ */
309
+ 'createdBy': string;
310
+ /**
311
+ *
312
+ * @type {string}
313
+ * @memberof V1GetOrganizationTarget
314
+ */
315
+ 'createdAt': string;
316
+ }
317
+ /**
318
+ * v1GetSatelliteTargets
319
+ * @export
320
+ * @interface V1GetSatelliteTargets
321
+ */
322
+ export interface V1GetSatelliteTargets {
323
+ /**
324
+ *
325
+ * @type {Array<V1SatelliteTarget>}
326
+ * @memberof V1GetSatelliteTargets
327
+ */
328
+ 'targets': Array<V1SatelliteTarget>;
329
+ }
330
+ /**
331
+ * v1GetImageSet
332
+ * @export
333
+ * @interface V1ImageSet
334
+ */
335
+ export interface V1ImageSet {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof V1ImageSet
340
+ */
341
+ 'id': string;
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof V1ImageSet
346
+ */
347
+ 'targetId'?: string;
348
+ /**
349
+ *
350
+ * @type {number}
351
+ * @memberof V1ImageSet
352
+ */
353
+ 'ra'?: number;
354
+ /**
355
+ *
356
+ * @type {number}
357
+ * @memberof V1ImageSet
358
+ */
359
+ 'dec'?: number;
360
+ /**
361
+ *
362
+ * @type {string}
363
+ * @memberof V1ImageSet
364
+ */
365
+ 'nodeId': string;
366
+ /**
367
+ *
368
+ * @type {string}
369
+ * @memberof V1ImageSet
370
+ */
371
+ 'observationId'?: string;
372
+ /**
373
+ *
374
+ * @type {TrackingType}
375
+ * @memberof V1ImageSet
376
+ */
377
+ 'trackingType': TrackingType;
378
+ /**
379
+ *
380
+ * @type {FilterType}
381
+ * @memberof V1ImageSet
382
+ */
383
+ 'filterType'?: FilterType;
384
+ /**
385
+ *
386
+ * @type {string}
387
+ * @memberof V1ImageSet
388
+ */
389
+ 'createdAt': string;
390
+ /**
391
+ *
392
+ * @type {string}
393
+ * @memberof V1ImageSet
394
+ */
395
+ 'updatedAt'?: string;
396
+ /**
397
+ *
398
+ * @type {string}
399
+ * @memberof V1ImageSet
400
+ */
401
+ 'ourskyPluginVersion'?: string;
402
+ }
403
+
404
+
405
+ /**
406
+ * v1GetImageSetImage
407
+ * @export
408
+ * @interface V1ImageSetImage
409
+ */
410
+ export interface V1ImageSetImage {
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof V1ImageSetImage
415
+ */
416
+ 'id': string;
417
+ /**
418
+ *
419
+ * @type {string}
420
+ * @memberof V1ImageSetImage
421
+ */
422
+ 'thumbnailUrl'?: string;
423
+ /**
424
+ *
425
+ * @type {string}
426
+ * @memberof V1ImageSetImage
427
+ */
428
+ 'imageUrl': string;
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof V1ImageSetImage
433
+ */
434
+ 'nodeId': string;
435
+ /**
436
+ *
437
+ * @type {string}
438
+ * @memberof V1ImageSetImage
439
+ */
440
+ 'targetId'?: string;
441
+ /**
442
+ *
443
+ * @type {number}
444
+ * @memberof V1ImageSetImage
445
+ */
446
+ 'ra'?: number;
447
+ /**
448
+ *
449
+ * @type {number}
450
+ * @memberof V1ImageSetImage
451
+ */
452
+ 'dec'?: number;
453
+ /**
454
+ *
455
+ * @type {string}
456
+ * @memberof V1ImageSetImage
457
+ */
458
+ 'imageSetId': string;
459
+ /**
460
+ *
461
+ * @type {boolean}
462
+ * @memberof V1ImageSetImage
463
+ */
464
+ 'darkCalibrated': boolean;
465
+ /**
466
+ *
467
+ * @type {boolean}
468
+ * @memberof V1ImageSetImage
469
+ */
470
+ 'flatCalibrated': boolean;
471
+ /**
472
+ *
473
+ * @type {boolean}
474
+ * @memberof V1ImageSetImage
475
+ */
476
+ 'biasCalibrated': boolean;
477
+ /**
478
+ *
479
+ * @type {number}
480
+ * @memberof V1ImageSetImage
481
+ */
482
+ 'fwhmAverage'?: number;
483
+ /**
484
+ *
485
+ * @type {number}
486
+ * @memberof V1ImageSetImage
487
+ */
488
+ 'fwhmStdDev'?: number;
489
+ /**
490
+ *
491
+ * @type {number}
492
+ * @memberof V1ImageSetImage
493
+ */
494
+ 'fwhmAngle'?: number;
495
+ /**
496
+ *
497
+ * @type {number}
498
+ * @memberof V1ImageSetImage
499
+ */
500
+ 'raOffset'?: number;
501
+ /**
502
+ *
503
+ * @type {number}
504
+ * @memberof V1ImageSetImage
505
+ */
506
+ 'decOffset'?: number;
507
+ /**
508
+ *
509
+ * @type {number}
510
+ * @memberof V1ImageSetImage
511
+ */
512
+ 'totalOffset'?: number;
513
+ /**
514
+ *
515
+ * @type {number}
516
+ * @memberof V1ImageSetImage
517
+ */
518
+ 'totalOffsetStdDev'?: number;
519
+ /**
520
+ *
521
+ * @type {number}
522
+ * @memberof V1ImageSetImage
523
+ */
524
+ 'totalOffsetRMS'?: number;
525
+ /**
526
+ *
527
+ * @type {string}
528
+ * @memberof V1ImageSetImage
529
+ */
530
+ 'capturedAt': string;
531
+ /**
532
+ *
533
+ * @type {string}
534
+ * @memberof V1ImageSetImage
535
+ */
536
+ 'createdAt': string;
537
+ /**
538
+ *
539
+ * @type {number}
540
+ * @memberof V1ImageSetImage
541
+ */
542
+ 'binning'?: number;
543
+ /**
544
+ *
545
+ * @type {number}
546
+ * @memberof V1ImageSetImage
547
+ */
548
+ 'exposureLength': number;
549
+ }
550
+ /**
551
+ * v1ObservationSequenceResult
552
+ * @export
553
+ * @interface V1ObservationSequenceResult
554
+ */
555
+ export interface V1ObservationSequenceResult {
556
+ /**
557
+ *
558
+ * @type {string}
559
+ * @memberof V1ObservationSequenceResult
560
+ */
561
+ 'id': string;
562
+ /**
563
+ *
564
+ * @type {string}
565
+ * @memberof V1ObservationSequenceResult
566
+ */
567
+ 'targetId': string;
568
+ /**
569
+ * The NORAD ID of the target, if available
570
+ * @type {string}
571
+ * @memberof V1ObservationSequenceResult
572
+ */
573
+ 'noradId'?: string;
574
+ /**
575
+ * An array of image sets. Each image set represents a contiguous set of observations of the same target captured by the same node
576
+ * @type {Array<V1ObservationSequenceResultImageSetsInner>}
577
+ * @memberof V1ObservationSequenceResult
578
+ */
579
+ 'imageSets': Array<V1ObservationSequenceResultImageSetsInner>;
580
+ /**
581
+ *
582
+ * @type {string}
583
+ * @memberof V1ObservationSequenceResult
584
+ */
585
+ 'createdAt': string;
586
+ /**
587
+ *
588
+ * @type {string}
589
+ * @memberof V1ObservationSequenceResult
590
+ */
591
+ 'createdBy': string;
592
+ }
593
+ /**
594
+ *
595
+ * @export
596
+ * @interface V1ObservationSequenceResultImageSetsInner
597
+ */
598
+ export interface V1ObservationSequenceResultImageSetsInner {
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof V1ObservationSequenceResultImageSetsInner
603
+ */
604
+ 'id': string;
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof V1ObservationSequenceResultImageSetsInner
609
+ */
610
+ 'nodeId': string;
611
+ /**
612
+ * The covariance matrix of the image set RA and Dec platesolve offset average. This is a 2D array of doubles - rows of columns
613
+ * @type {Array<Array<number>>}
614
+ * @memberof V1ObservationSequenceResultImageSetsInner
615
+ */
616
+ 'covariance': Array<Array<number>>;
617
+ /**
618
+ *
619
+ * @type {Array<ObservationResult>}
620
+ * @memberof V1ObservationSequenceResultImageSetsInner
621
+ */
622
+ 'observationResults': Array<ObservationResult>;
623
+ }
624
+ /**
625
+ * create an organization target
626
+ * @export
627
+ * @interface V1OrganizationTarget
628
+ */
629
+ export interface V1OrganizationTarget {
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof V1OrganizationTarget
634
+ */
635
+ 'satelliteTargetId': string;
636
+ }
637
+ /**
638
+ * v1SatelliteTarget
639
+ * @export
640
+ * @interface V1SatelliteTarget
641
+ */
642
+ export interface V1SatelliteTarget {
643
+ /**
644
+ *
645
+ * @type {string}
646
+ * @memberof V1SatelliteTarget
647
+ */
648
+ 'id': string;
649
+ /**
650
+ *
651
+ * @type {string}
652
+ * @memberof V1SatelliteTarget
653
+ */
654
+ 'cosparId'?: string;
655
+ /**
656
+ *
657
+ * @type {string}
658
+ * @memberof V1SatelliteTarget
659
+ */
660
+ 'noradId'?: string;
661
+ /**
662
+ *
663
+ * @type {OrbitType}
664
+ * @memberof V1SatelliteTarget
665
+ */
666
+ 'orbitType': OrbitType;
667
+ }
668
+
669
+
670
+ /**
671
+ * v1Tdm
672
+ * @export
673
+ * @interface V1Tdm
674
+ */
675
+ export interface V1Tdm {
676
+ /**
677
+ *
678
+ * @type {string}
679
+ * @memberof V1Tdm
680
+ */
681
+ 'id': string;
682
+ /**
683
+ *
684
+ * @type {string}
685
+ * @memberof V1Tdm
686
+ */
687
+ 'targetId': string;
688
+ /**
689
+ *
690
+ * @type {Array<string>}
691
+ * @memberof V1Tdm
692
+ */
693
+ 'streaks': Array<string>;
694
+ /**
695
+ *
696
+ * @type {string}
697
+ * @memberof V1Tdm
698
+ */
699
+ 'assetUrl': string;
700
+ /**
701
+ *
702
+ * @type {string}
703
+ * @memberof V1Tdm
704
+ */
705
+ 'imageSetId': string;
706
+ /**
707
+ *
708
+ * @type {Array<string>}
709
+ * @memberof V1Tdm
710
+ */
711
+ 'imageUrls': Array<string>;
712
+ /**
713
+ *
714
+ * @type {string}
715
+ * @memberof V1Tdm
716
+ */
717
+ 'createdAt': string;
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof V1Tdm
722
+ */
723
+ 'createdBy': string;
724
+ }
725
+ /**
726
+ * update email configuration
727
+ * @export
728
+ * @interface V1UpdateEmailConfiguration
729
+ */
730
+ export interface V1UpdateEmailConfiguration {
731
+ /**
732
+ *
733
+ * @type {Array<string>}
734
+ * @memberof V1UpdateEmailConfiguration
735
+ */
736
+ 'emails': Array<string>;
737
+ }
738
+ /**
739
+ * update webhook configuration body
740
+ * @export
741
+ * @interface V1UpdateWebhookConfiguration
742
+ */
743
+ export interface V1UpdateWebhookConfiguration {
744
+ /**
745
+ *
746
+ * @type {string}
747
+ * @memberof V1UpdateWebhookConfiguration
748
+ */
749
+ 'url': string;
750
+ /**
751
+ *
752
+ * @type {string}
753
+ * @memberof V1UpdateWebhookConfiguration
754
+ */
755
+ 'secret': string;
756
+ /**
757
+ *
758
+ * @type {Array<WebhookEvent>}
759
+ * @memberof V1UpdateWebhookConfiguration
760
+ */
761
+ 'events': Array<WebhookEvent>;
762
+ }
763
+ /**
764
+ * webhook configuration
765
+ * @export
766
+ * @interface V1WebhookConfiguration
767
+ */
768
+ export interface V1WebhookConfiguration {
769
+ /**
770
+ *
771
+ * @type {string}
772
+ * @memberof V1WebhookConfiguration
773
+ */
774
+ 'id': string;
775
+ /**
776
+ *
777
+ * @type {string}
778
+ * @memberof V1WebhookConfiguration
779
+ */
780
+ 'url': string;
781
+ /**
782
+ *
783
+ * @type {Array<WebhookEvent>}
784
+ * @memberof V1WebhookConfiguration
785
+ */
786
+ 'events': Array<WebhookEvent>;
787
+ /**
788
+ *
789
+ * @type {string}
790
+ * @memberof V1WebhookConfiguration
791
+ */
792
+ 'createdBy': string;
793
+ /**
794
+ *
795
+ * @type {string}
796
+ * @memberof V1WebhookConfiguration
797
+ */
798
+ 'createdAt': string;
799
+ }
800
+ /**
801
+ * webhook event types
802
+ * @export
803
+ * @enum {string}
804
+ */
805
+
806
+ export const WebhookEvent = {
807
+ TDM_CREATED: 'V1_TDM_CREATED',
808
+ OBSERVATION_SEQUENCE_RESULT_CREATED: 'V1_OBSERVATION_SEQUENCE_RESULT_CREATED',
809
+ OBSERVATION_CREATED: 'V1_OBSERVATION_CREATED',
810
+ IMAGE_CREATED: 'V1_IMAGE_CREATED'
811
+ } as const;
812
+
813
+ export type WebhookEvent = typeof WebhookEvent[keyof typeof WebhookEvent];
814
+
815
+
816
+
817
+ /**
818
+ * DefaultApi - axios parameter creator
819
+ * @export
820
+ */
821
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
822
+ return {
823
+ /**
824
+ * create an image set
825
+ * @param {V1CreateImageSet} v1CreateImageSet request to create the Image Set
826
+ * @param {*} [options] Override http request option.
827
+ * @throws {RequiredError}
828
+ */
829
+ v1CreateImageSet: async (v1CreateImageSet: V1CreateImageSet, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
830
+ // verify required parameter 'v1CreateImageSet' is not null or undefined
831
+ assertParamExists('v1CreateImageSet', 'v1CreateImageSet', v1CreateImageSet)
832
+ const localVarPath = `/v1/image-set`;
833
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
834
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
835
+ let baseOptions;
836
+ if (configuration) {
837
+ baseOptions = configuration.baseOptions;
838
+ }
839
+
840
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
841
+ const localVarHeaderParameter = {} as any;
842
+ const localVarQueryParameter = {} as any;
843
+
844
+ // authentication Roles required
845
+
846
+ // authentication BearerToken required
847
+ // http bearer authentication required
848
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
849
+
850
+
851
+
852
+ localVarHeaderParameter['Content-Type'] = 'application/json';
853
+
854
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
855
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
856
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
857
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateImageSet, localVarRequestOptions, configuration)
858
+
859
+ return {
860
+ url: toPathString(localVarUrlObj),
861
+ options: localVarRequestOptions,
862
+ };
863
+ },
864
+ /**
865
+ * create an image set image
866
+ * @param {V1CreateImageSetImage} v1CreateImageSetImage request to create an image set image
867
+ * @param {*} [options] Override http request option.
868
+ * @throws {RequiredError}
869
+ */
870
+ v1CreateImageSetImage: async (v1CreateImageSetImage: V1CreateImageSetImage, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
871
+ // verify required parameter 'v1CreateImageSetImage' is not null or undefined
872
+ assertParamExists('v1CreateImageSetImage', 'v1CreateImageSetImage', v1CreateImageSetImage)
873
+ const localVarPath = `/v1/image-set-image`;
874
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
875
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
876
+ let baseOptions;
877
+ if (configuration) {
878
+ baseOptions = configuration.baseOptions;
879
+ }
880
+
881
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
882
+ const localVarHeaderParameter = {} as any;
883
+ const localVarQueryParameter = {} as any;
884
+
885
+ // authentication Roles required
886
+
887
+ // authentication BearerToken required
888
+ // http bearer authentication required
889
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
890
+
891
+
892
+
893
+ localVarHeaderParameter['Content-Type'] = 'application/json';
894
+
895
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
897
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
898
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateImageSetImage, localVarRequestOptions, configuration)
899
+
900
+ return {
901
+ url: toPathString(localVarUrlObj),
902
+ options: localVarRequestOptions,
903
+ };
904
+ },
905
+ /**
906
+ * Request observations for a satellite target. By creating an organization target you are requesting for a specific target to be observed. The target will be observed best effort by the OurSky network. At the current time OurSky only supports observing satellite targets that are already registered with the platform. To see all possible satellite targets see the [satellite targets](#default/v1GetSatelliteTargets) endpoint. Organization targets also control which events are sent to your organization via webhooks. Webhooks are only sent for targets that you have an active \"organization target\" for.
907
+ * @param {V1OrganizationTarget} v1OrganizationTarget create organization target
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ v1CreateOrganizationTarget: async (v1OrganizationTarget: V1OrganizationTarget, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
912
+ // verify required parameter 'v1OrganizationTarget' is not null or undefined
913
+ assertParamExists('v1CreateOrganizationTarget', 'v1OrganizationTarget', v1OrganizationTarget)
914
+ const localVarPath = `/v1/organization-target`;
915
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
916
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
917
+ let baseOptions;
918
+ if (configuration) {
919
+ baseOptions = configuration.baseOptions;
920
+ }
921
+
922
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
923
+ const localVarHeaderParameter = {} as any;
924
+ const localVarQueryParameter = {} as any;
925
+
926
+ // authentication Roles required
927
+
928
+ // authentication BearerToken required
929
+ // http bearer authentication required
930
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
931
+
932
+
933
+
934
+ localVarHeaderParameter['Content-Type'] = 'application/json';
935
+
936
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
937
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
938
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
939
+ localVarRequestOptions.data = serializeDataIfNeeded(v1OrganizationTarget, localVarRequestOptions, configuration)
940
+
941
+ return {
942
+ url: toPathString(localVarUrlObj),
943
+ options: localVarRequestOptions,
944
+ };
945
+ },
946
+ /**
947
+ * Create an organization webhook. Organization webhooks are used to send specific events to a remote http endpoint. A webhook can be configured for a list of event type. Please see the webhook event types for the currently supported types. The schemas are considered stable and will match their corresponding GET response schema. \"V1_TDM_CREATED\" -> GET /v1/tdm?id={id} The payload sent to the webhook endpoint will include a header field \"X-OurSky-Signature\" which is an HMAC-SHA256 using the secret as the key and the payload as the message. The payload is the byte stream of the entire JSON payload The signature is base64 encoded.
948
+ * @param {V1UpdateWebhookConfiguration} v1UpdateWebhookConfiguration request to create an organization webhook
949
+ * @param {*} [options] Override http request option.
950
+ * @throws {RequiredError}
951
+ */
952
+ v1CreateWebhookConfiguration: async (v1UpdateWebhookConfiguration: V1UpdateWebhookConfiguration, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
953
+ // verify required parameter 'v1UpdateWebhookConfiguration' is not null or undefined
954
+ assertParamExists('v1CreateWebhookConfiguration', 'v1UpdateWebhookConfiguration', v1UpdateWebhookConfiguration)
955
+ const localVarPath = `/v1/communications/webhook`;
956
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
957
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
958
+ let baseOptions;
959
+ if (configuration) {
960
+ baseOptions = configuration.baseOptions;
961
+ }
962
+
963
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
964
+ const localVarHeaderParameter = {} as any;
965
+ const localVarQueryParameter = {} as any;
966
+
967
+ // authentication Roles required
968
+
969
+ // authentication BearerToken required
970
+ // http bearer authentication required
971
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
972
+
973
+
974
+
975
+ localVarHeaderParameter['Content-Type'] = 'application/json';
976
+
977
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
978
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
979
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
980
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateWebhookConfiguration, localVarRequestOptions, configuration)
981
+
982
+ return {
983
+ url: toPathString(localVarUrlObj),
984
+ options: localVarRequestOptions,
985
+ };
986
+ },
987
+ /**
988
+ * delete an organization target
989
+ * @param {string} satelliteTargetId
990
+ * @param {*} [options] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ v1DeleteOrganizationTarget: async (satelliteTargetId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
994
+ // verify required parameter 'satelliteTargetId' is not null or undefined
995
+ assertParamExists('v1DeleteOrganizationTarget', 'satelliteTargetId', satelliteTargetId)
996
+ const localVarPath = `/v1/organization-target`;
997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
999
+ let baseOptions;
1000
+ if (configuration) {
1001
+ baseOptions = configuration.baseOptions;
1002
+ }
1003
+
1004
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1005
+ const localVarHeaderParameter = {} as any;
1006
+ const localVarQueryParameter = {} as any;
1007
+
1008
+ // authentication Roles required
1009
+
1010
+ // authentication BearerToken required
1011
+ // http bearer authentication required
1012
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1013
+
1014
+ if (satelliteTargetId !== undefined) {
1015
+ localVarQueryParameter['satelliteTargetId'] = satelliteTargetId;
1016
+ }
1017
+
1018
+
1019
+
1020
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1021
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1022
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1023
+
1024
+ return {
1025
+ url: toPathString(localVarUrlObj),
1026
+ options: localVarRequestOptions,
1027
+ };
1028
+ },
1029
+ /**
1030
+ * Delete an existing webhook configuration
1031
+ * @param {string} id webhook id
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ */
1035
+ v1DeleteWebhookConfiguration: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1036
+ // verify required parameter 'id' is not null or undefined
1037
+ assertParamExists('v1DeleteWebhookConfiguration', 'id', id)
1038
+ const localVarPath = `/v1/communications/webhook`;
1039
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1040
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1041
+ let baseOptions;
1042
+ if (configuration) {
1043
+ baseOptions = configuration.baseOptions;
1044
+ }
1045
+
1046
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
1047
+ const localVarHeaderParameter = {} as any;
1048
+ const localVarQueryParameter = {} as any;
1049
+
1050
+ // authentication Roles required
1051
+
1052
+ // authentication BearerToken required
1053
+ // http bearer authentication required
1054
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1055
+
1056
+ if (id !== undefined) {
1057
+ localVarQueryParameter['id'] = id;
1058
+ }
1059
+
1060
+
1061
+
1062
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1063
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1064
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1065
+
1066
+ return {
1067
+ url: toPathString(localVarUrlObj),
1068
+ options: localVarRequestOptions,
1069
+ };
1070
+ },
1071
+ /**
1072
+ * get an image set
1073
+ * @param {string} id
1074
+ * @param {*} [options] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ */
1077
+ v1GetImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1078
+ // verify required parameter 'id' is not null or undefined
1079
+ assertParamExists('v1GetImageSet', 'id', id)
1080
+ const localVarPath = `/v1/image-set`;
1081
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1082
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1083
+ let baseOptions;
1084
+ if (configuration) {
1085
+ baseOptions = configuration.baseOptions;
1086
+ }
1087
+
1088
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1089
+ const localVarHeaderParameter = {} as any;
1090
+ const localVarQueryParameter = {} as any;
1091
+
1092
+ // authentication Roles required
1093
+
1094
+ // authentication BearerToken required
1095
+ // http bearer authentication required
1096
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1097
+
1098
+ if (id !== undefined) {
1099
+ localVarQueryParameter['id'] = id;
1100
+ }
1101
+
1102
+
1103
+
1104
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1106
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1107
+
1108
+ return {
1109
+ url: toPathString(localVarUrlObj),
1110
+ options: localVarRequestOptions,
1111
+ };
1112
+ },
1113
+ /**
1114
+ * get an image
1115
+ * @param {string} imageId
1116
+ * @param {*} [options] Override http request option.
1117
+ * @throws {RequiredError}
1118
+ */
1119
+ v1GetImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1120
+ // verify required parameter 'imageId' is not null or undefined
1121
+ assertParamExists('v1GetImageSetImage', 'imageId', imageId)
1122
+ const localVarPath = `/v1/image-set-image`;
1123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1124
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1125
+ let baseOptions;
1126
+ if (configuration) {
1127
+ baseOptions = configuration.baseOptions;
1128
+ }
1129
+
1130
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1131
+ const localVarHeaderParameter = {} as any;
1132
+ const localVarQueryParameter = {} as any;
1133
+
1134
+ // authentication Roles required
1135
+
1136
+ // authentication BearerToken required
1137
+ // http bearer authentication required
1138
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1139
+
1140
+ if (imageId !== undefined) {
1141
+ localVarQueryParameter['imageId'] = imageId;
1142
+ }
1143
+
1144
+
1145
+
1146
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1148
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1149
+
1150
+ return {
1151
+ url: toPathString(localVarUrlObj),
1152
+ options: localVarRequestOptions,
1153
+ };
1154
+ },
1155
+ /**
1156
+ * get image set images
1157
+ * @param {Array<string>} imageSets
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ */
1161
+ v1GetImageSetImages: async (imageSets: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1162
+ // verify required parameter 'imageSets' is not null or undefined
1163
+ assertParamExists('v1GetImageSetImages', 'imageSets', imageSets)
1164
+ const localVarPath = `/v1/image-set-images`;
1165
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1166
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1167
+ let baseOptions;
1168
+ if (configuration) {
1169
+ baseOptions = configuration.baseOptions;
1170
+ }
1171
+
1172
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1173
+ const localVarHeaderParameter = {} as any;
1174
+ const localVarQueryParameter = {} as any;
1175
+
1176
+ // authentication Roles required
1177
+
1178
+ // authentication BearerToken required
1179
+ // http bearer authentication required
1180
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1181
+
1182
+ if (imageSets) {
1183
+ localVarQueryParameter['imageSets'] = imageSets.join(COLLECTION_FORMATS.csv);
1184
+ }
1185
+
1186
+
1187
+
1188
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1189
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1190
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1191
+
1192
+ return {
1193
+ url: toPathString(localVarUrlObj),
1194
+ options: localVarRequestOptions,
1195
+ };
1196
+ },
1197
+ /**
1198
+ * get image sets for targets observed for your organization
1199
+ * @param {*} [options] Override http request option.
1200
+ * @throws {RequiredError}
1201
+ */
1202
+ v1GetImageSets: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1203
+ const localVarPath = `/v1/image-sets`;
1204
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1205
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1206
+ let baseOptions;
1207
+ if (configuration) {
1208
+ baseOptions = configuration.baseOptions;
1209
+ }
1210
+
1211
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1212
+ const localVarHeaderParameter = {} as any;
1213
+ const localVarQueryParameter = {} as any;
1214
+
1215
+ // authentication Roles required
1216
+
1217
+ // authentication BearerToken required
1218
+ // http bearer authentication required
1219
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1220
+
1221
+
1222
+
1223
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1224
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1225
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1226
+
1227
+ return {
1228
+ url: toPathString(localVarUrlObj),
1229
+ options: localVarRequestOptions,
1230
+ };
1231
+ },
1232
+ /**
1233
+ * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1234
+ * @param {string} [targetId]
1235
+ * @param {string} [after]
1236
+ * @param {*} [options] Override http request option.
1237
+ * @throws {RequiredError}
1238
+ */
1239
+ v1GetObservationSequenceResults: async (targetId?: string, after?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1240
+ const localVarPath = `/v1/observation-sequence-results`;
1241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1242
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1243
+ let baseOptions;
1244
+ if (configuration) {
1245
+ baseOptions = configuration.baseOptions;
1246
+ }
1247
+
1248
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1249
+ const localVarHeaderParameter = {} as any;
1250
+ const localVarQueryParameter = {} as any;
1251
+
1252
+ // authentication Roles required
1253
+
1254
+ // authentication BearerToken required
1255
+ // http bearer authentication required
1256
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1257
+
1258
+ if (targetId !== undefined) {
1259
+ localVarQueryParameter['targetId'] = targetId;
1260
+ }
1261
+
1262
+ if (after !== undefined) {
1263
+ localVarQueryParameter['after'] = (after as any instanceof Date) ?
1264
+ (after as any).toISOString() :
1265
+ after;
1266
+ }
1267
+
1268
+
1269
+
1270
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1271
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1272
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1273
+
1274
+ return {
1275
+ url: toPathString(localVarUrlObj),
1276
+ options: localVarRequestOptions,
1277
+ };
1278
+ },
1279
+ /**
1280
+ * get organization targets see the [create](#default/v1CreateOrganizationTarget) endpoint for more details
1281
+ * @param {*} [options] Override http request option.
1282
+ * @throws {RequiredError}
1283
+ */
1284
+ v1GetOrganizationTargets: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1285
+ const localVarPath = `/v1/organization-targets`;
1286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1287
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1288
+ let baseOptions;
1289
+ if (configuration) {
1290
+ baseOptions = configuration.baseOptions;
1291
+ }
1292
+
1293
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1294
+ const localVarHeaderParameter = {} as any;
1295
+ const localVarQueryParameter = {} as any;
1296
+
1297
+ // authentication Roles required
1298
+
1299
+ // authentication BearerToken required
1300
+ // http bearer authentication required
1301
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1302
+
1303
+
1304
+
1305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1307
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1308
+
1309
+ return {
1310
+ url: toPathString(localVarUrlObj),
1311
+ options: localVarRequestOptions,
1312
+ };
1313
+ },
1314
+ /**
1315
+ * The available satellite objects that the OurSky platform can currently track.
1316
+ * @param {OrbitType} [orbitType] orbit type
1317
+ * @param {string} [noradId] norad id
1318
+ * @param {*} [options] Override http request option.
1319
+ * @throws {RequiredError}
1320
+ */
1321
+ v1GetSatelliteTargets: async (orbitType?: OrbitType, noradId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1322
+ const localVarPath = `/v1/satellite-targets`;
1323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1325
+ let baseOptions;
1326
+ if (configuration) {
1327
+ baseOptions = configuration.baseOptions;
1328
+ }
1329
+
1330
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1331
+ const localVarHeaderParameter = {} as any;
1332
+ const localVarQueryParameter = {} as any;
1333
+
1334
+ // authentication Roles required
1335
+
1336
+ // authentication BearerToken required
1337
+ // http bearer authentication required
1338
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1339
+
1340
+ if (orbitType !== undefined) {
1341
+ localVarQueryParameter['orbitType'] = orbitType;
1342
+ }
1343
+
1344
+ if (noradId !== undefined) {
1345
+ localVarQueryParameter['noradId'] = noradId;
1346
+ }
1347
+
1348
+
1349
+
1350
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1351
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1352
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1353
+
1354
+ return {
1355
+ url: toPathString(localVarUrlObj),
1356
+ options: localVarRequestOptions,
1357
+ };
1358
+ },
1359
+ /**
1360
+ * get tdm
1361
+ * @param {string} tdmId
1362
+ * @param {*} [options] Override http request option.
1363
+ * @throws {RequiredError}
1364
+ */
1365
+ v1GetTdm: async (tdmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1366
+ // verify required parameter 'tdmId' is not null or undefined
1367
+ assertParamExists('v1GetTdm', 'tdmId', tdmId)
1368
+ const localVarPath = `/v1/tdm`;
1369
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1370
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1371
+ let baseOptions;
1372
+ if (configuration) {
1373
+ baseOptions = configuration.baseOptions;
1374
+ }
1375
+
1376
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1377
+ const localVarHeaderParameter = {} as any;
1378
+ const localVarQueryParameter = {} as any;
1379
+
1380
+ // authentication Roles required
1381
+
1382
+ // authentication BearerToken required
1383
+ // http bearer authentication required
1384
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1385
+
1386
+ if (tdmId !== undefined) {
1387
+ localVarQueryParameter['tdmId'] = tdmId;
1388
+ }
1389
+
1390
+
1391
+
1392
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1393
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1394
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1395
+
1396
+ return {
1397
+ url: toPathString(localVarUrlObj),
1398
+ options: localVarRequestOptions,
1399
+ };
1400
+ },
1401
+ /**
1402
+ * Get all TDMS or all TDMS for a specific target. This response is paginated. It will only return at most 20 TDMs at a time. To get the next page, pass in the `created_at` timestamp of the last TDM in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1403
+ * @param {string} [targetId]
1404
+ * @param {string} [after]
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ */
1408
+ v1GetTdms: async (targetId?: string, after?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1409
+ const localVarPath = `/v1/tdms`;
1410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1412
+ let baseOptions;
1413
+ if (configuration) {
1414
+ baseOptions = configuration.baseOptions;
1415
+ }
1416
+
1417
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1418
+ const localVarHeaderParameter = {} as any;
1419
+ const localVarQueryParameter = {} as any;
1420
+
1421
+ // authentication Roles required
1422
+
1423
+ // authentication BearerToken required
1424
+ // http bearer authentication required
1425
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1426
+
1427
+ if (targetId !== undefined) {
1428
+ localVarQueryParameter['targetId'] = targetId;
1429
+ }
1430
+
1431
+ if (after !== undefined) {
1432
+ localVarQueryParameter['after'] = (after as any instanceof Date) ?
1433
+ (after as any).toISOString() :
1434
+ after;
1435
+ }
1436
+
1437
+
1438
+
1439
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1440
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1441
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1442
+
1443
+ return {
1444
+ url: toPathString(localVarUrlObj),
1445
+ options: localVarRequestOptions,
1446
+ };
1447
+ },
1448
+ /**
1449
+ * Get the currently configured webhooks
1450
+ * @param {*} [options] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ v1GetWebhookConfigurations: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1454
+ const localVarPath = `/v1/communications/webhooks`;
1455
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1456
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1457
+ let baseOptions;
1458
+ if (configuration) {
1459
+ baseOptions = configuration.baseOptions;
1460
+ }
1461
+
1462
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1463
+ const localVarHeaderParameter = {} as any;
1464
+ const localVarQueryParameter = {} as any;
1465
+
1466
+ // authentication Roles required
1467
+
1468
+ // authentication BearerToken required
1469
+ // http bearer authentication required
1470
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1471
+
1472
+
1473
+
1474
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1475
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1476
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1477
+
1478
+ return {
1479
+ url: toPathString(localVarUrlObj),
1480
+ options: localVarRequestOptions,
1481
+ };
1482
+ },
1483
+ /**
1484
+ * Update your organization email communication preferences. This will overwrite any existing preferences. This communication preference is meant as an audit log, it is a fire hose of all events. The schemas are not considered stable and may change at any time. If you are looking for machine to machine communication, please use webhooks.
1485
+ * @param {V1UpdateEmailConfiguration} v1UpdateEmailConfiguration request to update an organization email preference
1486
+ * @param {*} [options] Override http request option.
1487
+ * @throws {RequiredError}
1488
+ */
1489
+ v1UpdateEmailConfiguration: async (v1UpdateEmailConfiguration: V1UpdateEmailConfiguration, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1490
+ // verify required parameter 'v1UpdateEmailConfiguration' is not null or undefined
1491
+ assertParamExists('v1UpdateEmailConfiguration', 'v1UpdateEmailConfiguration', v1UpdateEmailConfiguration)
1492
+ const localVarPath = `/v1/communications/email`;
1493
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1494
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1495
+ let baseOptions;
1496
+ if (configuration) {
1497
+ baseOptions = configuration.baseOptions;
1498
+ }
1499
+
1500
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1501
+ const localVarHeaderParameter = {} as any;
1502
+ const localVarQueryParameter = {} as any;
1503
+
1504
+ // authentication Roles required
1505
+
1506
+ // authentication BearerToken required
1507
+ // http bearer authentication required
1508
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1509
+
1510
+
1511
+
1512
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1513
+
1514
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1515
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1516
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1517
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateEmailConfiguration, localVarRequestOptions, configuration)
1518
+
1519
+ return {
1520
+ url: toPathString(localVarUrlObj),
1521
+ options: localVarRequestOptions,
1522
+ };
1523
+ },
1524
+ }
1525
+ };
1526
+
1527
+ /**
1528
+ * DefaultApi - functional programming interface
1529
+ * @export
1530
+ */
1531
+ export const DefaultApiFp = function(configuration?: Configuration) {
1532
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
1533
+ return {
1534
+ /**
1535
+ * create an image set
1536
+ * @param {V1CreateImageSet} v1CreateImageSet request to create the Image Set
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ async v1CreateImageSet(v1CreateImageSet: V1CreateImageSet, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
1541
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateImageSet(v1CreateImageSet, options);
1542
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1543
+ },
1544
+ /**
1545
+ * create an image set image
1546
+ * @param {V1CreateImageSetImage} v1CreateImageSetImage request to create an image set image
1547
+ * @param {*} [options] Override http request option.
1548
+ * @throws {RequiredError}
1549
+ */
1550
+ async v1CreateImageSetImage(v1CreateImageSetImage: V1CreateImageSetImage, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1CreateImageSetImageResponse>> {
1551
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateImageSetImage(v1CreateImageSetImage, options);
1552
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1553
+ },
1554
+ /**
1555
+ * Request observations for a satellite target. By creating an organization target you are requesting for a specific target to be observed. The target will be observed best effort by the OurSky network. At the current time OurSky only supports observing satellite targets that are already registered with the platform. To see all possible satellite targets see the [satellite targets](#default/v1GetSatelliteTargets) endpoint. Organization targets also control which events are sent to your organization via webhooks. Webhooks are only sent for targets that you have an active \"organization target\" for.
1556
+ * @param {V1OrganizationTarget} v1OrganizationTarget create organization target
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ async v1CreateOrganizationTarget(v1OrganizationTarget: V1OrganizationTarget, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
1561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateOrganizationTarget(v1OrganizationTarget, options);
1562
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1563
+ },
1564
+ /**
1565
+ * Create an organization webhook. Organization webhooks are used to send specific events to a remote http endpoint. A webhook can be configured for a list of event type. Please see the webhook event types for the currently supported types. The schemas are considered stable and will match their corresponding GET response schema. \"V1_TDM_CREATED\" -> GET /v1/tdm?id={id} The payload sent to the webhook endpoint will include a header field \"X-OurSky-Signature\" which is an HMAC-SHA256 using the secret as the key and the payload as the message. The payload is the byte stream of the entire JSON payload The signature is base64 encoded.
1566
+ * @param {V1UpdateWebhookConfiguration} v1UpdateWebhookConfiguration request to create an organization webhook
1567
+ * @param {*} [options] Override http request option.
1568
+ * @throws {RequiredError}
1569
+ */
1570
+ async v1CreateWebhookConfiguration(v1UpdateWebhookConfiguration: V1UpdateWebhookConfiguration, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
1571
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateWebhookConfiguration(v1UpdateWebhookConfiguration, options);
1572
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1573
+ },
1574
+ /**
1575
+ * delete an organization target
1576
+ * @param {string} satelliteTargetId
1577
+ * @param {*} [options] Override http request option.
1578
+ * @throws {RequiredError}
1579
+ */
1580
+ async v1DeleteOrganizationTarget(satelliteTargetId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
1581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteOrganizationTarget(satelliteTargetId, options);
1582
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1583
+ },
1584
+ /**
1585
+ * Delete an existing webhook configuration
1586
+ * @param {string} id webhook id
1587
+ * @param {*} [options] Override http request option.
1588
+ * @throws {RequiredError}
1589
+ */
1590
+ async v1DeleteWebhookConfiguration(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
1591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteWebhookConfiguration(id, options);
1592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1593
+ },
1594
+ /**
1595
+ * get an image set
1596
+ * @param {string} id
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ */
1600
+ async v1GetImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ImageSet>> {
1601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSet(id, options);
1602
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1603
+ },
1604
+ /**
1605
+ * get an image
1606
+ * @param {string} imageId
1607
+ * @param {*} [options] Override http request option.
1608
+ * @throws {RequiredError}
1609
+ */
1610
+ async v1GetImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ImageSetImage>> {
1611
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSetImage(imageId, options);
1612
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1613
+ },
1614
+ /**
1615
+ * get image set images
1616
+ * @param {Array<string>} imageSets
1617
+ * @param {*} [options] Override http request option.
1618
+ * @throws {RequiredError}
1619
+ */
1620
+ async v1GetImageSetImages(imageSets: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSetImage>>> {
1621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSetImages(imageSets, options);
1622
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1623
+ },
1624
+ /**
1625
+ * get image sets for targets observed for your organization
1626
+ * @param {*} [options] Override http request option.
1627
+ * @throws {RequiredError}
1628
+ */
1629
+ async v1GetImageSets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSet>>> {
1630
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSets(options);
1631
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1632
+ },
1633
+ /**
1634
+ * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1635
+ * @param {string} [targetId]
1636
+ * @param {string} [after]
1637
+ * @param {*} [options] Override http request option.
1638
+ * @throws {RequiredError}
1639
+ */
1640
+ async v1GetObservationSequenceResults(targetId?: string, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationSequenceResult>>> {
1641
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationSequenceResults(targetId, after, options);
1642
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1643
+ },
1644
+ /**
1645
+ * get organization targets see the [create](#default/v1CreateOrganizationTarget) endpoint for more details
1646
+ * @param {*} [options] Override http request option.
1647
+ * @throws {RequiredError}
1648
+ */
1649
+ async v1GetOrganizationTargets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1GetOrganizationTarget>>> {
1650
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrganizationTargets(options);
1651
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1652
+ },
1653
+ /**
1654
+ * The available satellite objects that the OurSky platform can currently track.
1655
+ * @param {OrbitType} [orbitType] orbit type
1656
+ * @param {string} [noradId] norad id
1657
+ * @param {*} [options] Override http request option.
1658
+ * @throws {RequiredError}
1659
+ */
1660
+ async v1GetSatelliteTargets(orbitType?: OrbitType, noradId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetSatelliteTargets>> {
1661
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetSatelliteTargets(orbitType, noradId, options);
1662
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1663
+ },
1664
+ /**
1665
+ * get tdm
1666
+ * @param {string} tdmId
1667
+ * @param {*} [options] Override http request option.
1668
+ * @throws {RequiredError}
1669
+ */
1670
+ async v1GetTdm(tdmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Tdm>> {
1671
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetTdm(tdmId, options);
1672
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1673
+ },
1674
+ /**
1675
+ * Get all TDMS or all TDMS for a specific target. This response is paginated. It will only return at most 20 TDMs at a time. To get the next page, pass in the `created_at` timestamp of the last TDM in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1676
+ * @param {string} [targetId]
1677
+ * @param {string} [after]
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ */
1681
+ async v1GetTdms(targetId?: string, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Tdm>>> {
1682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetTdms(targetId, after, options);
1683
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1684
+ },
1685
+ /**
1686
+ * Get the currently configured webhooks
1687
+ * @param {*} [options] Override http request option.
1688
+ * @throws {RequiredError}
1689
+ */
1690
+ async v1GetWebhookConfigurations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1WebhookConfiguration>>> {
1691
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetWebhookConfigurations(options);
1692
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1693
+ },
1694
+ /**
1695
+ * Update your organization email communication preferences. This will overwrite any existing preferences. This communication preference is meant as an audit log, it is a fire hose of all events. The schemas are not considered stable and may change at any time. If you are looking for machine to machine communication, please use webhooks.
1696
+ * @param {V1UpdateEmailConfiguration} v1UpdateEmailConfiguration request to update an organization email preference
1697
+ * @param {*} [options] Override http request option.
1698
+ * @throws {RequiredError}
1699
+ */
1700
+ async v1UpdateEmailConfiguration(v1UpdateEmailConfiguration: V1UpdateEmailConfiguration, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
1701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateEmailConfiguration(v1UpdateEmailConfiguration, options);
1702
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1703
+ },
1704
+ }
1705
+ };
1706
+
1707
+ /**
1708
+ * DefaultApi - factory interface
1709
+ * @export
1710
+ */
1711
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1712
+ const localVarFp = DefaultApiFp(configuration)
1713
+ return {
1714
+ /**
1715
+ * create an image set
1716
+ * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
1717
+ * @param {*} [options] Override http request option.
1718
+ * @throws {RequiredError}
1719
+ */
1720
+ v1CreateImageSet(requestParameters: DefaultApiV1CreateImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
1721
+ return localVarFp.v1CreateImageSet(requestParameters.v1CreateImageSet, options).then((request) => request(axios, basePath));
1722
+ },
1723
+ /**
1724
+ * create an image set image
1725
+ * @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
1726
+ * @param {*} [options] Override http request option.
1727
+ * @throws {RequiredError}
1728
+ */
1729
+ v1CreateImageSetImage(requestParameters: DefaultApiV1CreateImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<V1CreateImageSetImageResponse> {
1730
+ return localVarFp.v1CreateImageSetImage(requestParameters.v1CreateImageSetImage, options).then((request) => request(axios, basePath));
1731
+ },
1732
+ /**
1733
+ * Request observations for a satellite target. By creating an organization target you are requesting for a specific target to be observed. The target will be observed best effort by the OurSky network. At the current time OurSky only supports observing satellite targets that are already registered with the platform. To see all possible satellite targets see the [satellite targets](#default/v1GetSatelliteTargets) endpoint. Organization targets also control which events are sent to your organization via webhooks. Webhooks are only sent for targets that you have an active \"organization target\" for.
1734
+ * @param {DefaultApiV1CreateOrganizationTargetRequest} requestParameters Request parameters.
1735
+ * @param {*} [options] Override http request option.
1736
+ * @throws {RequiredError}
1737
+ */
1738
+ v1CreateOrganizationTarget(requestParameters: DefaultApiV1CreateOrganizationTargetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
1739
+ return localVarFp.v1CreateOrganizationTarget(requestParameters.v1OrganizationTarget, options).then((request) => request(axios, basePath));
1740
+ },
1741
+ /**
1742
+ * Create an organization webhook. Organization webhooks are used to send specific events to a remote http endpoint. A webhook can be configured for a list of event type. Please see the webhook event types for the currently supported types. The schemas are considered stable and will match their corresponding GET response schema. \"V1_TDM_CREATED\" -> GET /v1/tdm?id={id} The payload sent to the webhook endpoint will include a header field \"X-OurSky-Signature\" which is an HMAC-SHA256 using the secret as the key and the payload as the message. The payload is the byte stream of the entire JSON payload The signature is base64 encoded.
1743
+ * @param {DefaultApiV1CreateWebhookConfigurationRequest} requestParameters Request parameters.
1744
+ * @param {*} [options] Override http request option.
1745
+ * @throws {RequiredError}
1746
+ */
1747
+ v1CreateWebhookConfiguration(requestParameters: DefaultApiV1CreateWebhookConfigurationRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
1748
+ return localVarFp.v1CreateWebhookConfiguration(requestParameters.v1UpdateWebhookConfiguration, options).then((request) => request(axios, basePath));
1749
+ },
1750
+ /**
1751
+ * delete an organization target
1752
+ * @param {DefaultApiV1DeleteOrganizationTargetRequest} requestParameters Request parameters.
1753
+ * @param {*} [options] Override http request option.
1754
+ * @throws {RequiredError}
1755
+ */
1756
+ v1DeleteOrganizationTarget(requestParameters: DefaultApiV1DeleteOrganizationTargetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
1757
+ return localVarFp.v1DeleteOrganizationTarget(requestParameters.satelliteTargetId, options).then((request) => request(axios, basePath));
1758
+ },
1759
+ /**
1760
+ * Delete an existing webhook configuration
1761
+ * @param {DefaultApiV1DeleteWebhookConfigurationRequest} requestParameters Request parameters.
1762
+ * @param {*} [options] Override http request option.
1763
+ * @throws {RequiredError}
1764
+ */
1765
+ v1DeleteWebhookConfiguration(requestParameters: DefaultApiV1DeleteWebhookConfigurationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
1766
+ return localVarFp.v1DeleteWebhookConfiguration(requestParameters.id, options).then((request) => request(axios, basePath));
1767
+ },
1768
+ /**
1769
+ * get an image set
1770
+ * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
1771
+ * @param {*} [options] Override http request option.
1772
+ * @throws {RequiredError}
1773
+ */
1774
+ v1GetImageSet(requestParameters: DefaultApiV1GetImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<V1ImageSet> {
1775
+ return localVarFp.v1GetImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
1776
+ },
1777
+ /**
1778
+ * get an image
1779
+ * @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
1780
+ * @param {*} [options] Override http request option.
1781
+ * @throws {RequiredError}
1782
+ */
1783
+ v1GetImageSetImage(requestParameters: DefaultApiV1GetImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<V1ImageSetImage> {
1784
+ return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
1785
+ },
1786
+ /**
1787
+ * get image set images
1788
+ * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
1789
+ * @param {*} [options] Override http request option.
1790
+ * @throws {RequiredError}
1791
+ */
1792
+ v1GetImageSetImages(requestParameters: DefaultApiV1GetImageSetImagesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSetImage>> {
1793
+ return localVarFp.v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(axios, basePath));
1794
+ },
1795
+ /**
1796
+ * get image sets for targets observed for your organization
1797
+ * @param {*} [options] Override http request option.
1798
+ * @throws {RequiredError}
1799
+ */
1800
+ v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>> {
1801
+ return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
1802
+ },
1803
+ /**
1804
+ * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1805
+ * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
1806
+ * @param {*} [options] Override http request option.
1807
+ * @throws {RequiredError}
1808
+ */
1809
+ v1GetObservationSequenceResults(requestParameters: DefaultApiV1GetObservationSequenceResultsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationSequenceResult>> {
1810
+ return localVarFp.v1GetObservationSequenceResults(requestParameters.targetId, requestParameters.after, options).then((request) => request(axios, basePath));
1811
+ },
1812
+ /**
1813
+ * get organization targets see the [create](#default/v1CreateOrganizationTarget) endpoint for more details
1814
+ * @param {*} [options] Override http request option.
1815
+ * @throws {RequiredError}
1816
+ */
1817
+ v1GetOrganizationTargets(options?: AxiosRequestConfig): AxiosPromise<Array<V1GetOrganizationTarget>> {
1818
+ return localVarFp.v1GetOrganizationTargets(options).then((request) => request(axios, basePath));
1819
+ },
1820
+ /**
1821
+ * The available satellite objects that the OurSky platform can currently track.
1822
+ * @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
1823
+ * @param {*} [options] Override http request option.
1824
+ * @throws {RequiredError}
1825
+ */
1826
+ v1GetSatelliteTargets(requestParameters: DefaultApiV1GetSatelliteTargetsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<V1GetSatelliteTargets> {
1827
+ return localVarFp.v1GetSatelliteTargets(requestParameters.orbitType, requestParameters.noradId, options).then((request) => request(axios, basePath));
1828
+ },
1829
+ /**
1830
+ * get tdm
1831
+ * @param {DefaultApiV1GetTdmRequest} requestParameters Request parameters.
1832
+ * @param {*} [options] Override http request option.
1833
+ * @throws {RequiredError}
1834
+ */
1835
+ v1GetTdm(requestParameters: DefaultApiV1GetTdmRequest, options?: AxiosRequestConfig): AxiosPromise<V1Tdm> {
1836
+ return localVarFp.v1GetTdm(requestParameters.tdmId, options).then((request) => request(axios, basePath));
1837
+ },
1838
+ /**
1839
+ * Get all TDMS or all TDMS for a specific target. This response is paginated. It will only return at most 20 TDMs at a time. To get the next page, pass in the `created_at` timestamp of the last TDM in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1840
+ * @param {DefaultApiV1GetTdmsRequest} requestParameters Request parameters.
1841
+ * @param {*} [options] Override http request option.
1842
+ * @throws {RequiredError}
1843
+ */
1844
+ v1GetTdms(requestParameters: DefaultApiV1GetTdmsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1Tdm>> {
1845
+ return localVarFp.v1GetTdms(requestParameters.targetId, requestParameters.after, options).then((request) => request(axios, basePath));
1846
+ },
1847
+ /**
1848
+ * Get the currently configured webhooks
1849
+ * @param {*} [options] Override http request option.
1850
+ * @throws {RequiredError}
1851
+ */
1852
+ v1GetWebhookConfigurations(options?: AxiosRequestConfig): AxiosPromise<Array<V1WebhookConfiguration>> {
1853
+ return localVarFp.v1GetWebhookConfigurations(options).then((request) => request(axios, basePath));
1854
+ },
1855
+ /**
1856
+ * Update your organization email communication preferences. This will overwrite any existing preferences. This communication preference is meant as an audit log, it is a fire hose of all events. The schemas are not considered stable and may change at any time. If you are looking for machine to machine communication, please use webhooks.
1857
+ * @param {DefaultApiV1UpdateEmailConfigurationRequest} requestParameters Request parameters.
1858
+ * @param {*} [options] Override http request option.
1859
+ * @throws {RequiredError}
1860
+ */
1861
+ v1UpdateEmailConfiguration(requestParameters: DefaultApiV1UpdateEmailConfigurationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
1862
+ return localVarFp.v1UpdateEmailConfiguration(requestParameters.v1UpdateEmailConfiguration, options).then((request) => request(axios, basePath));
1863
+ },
1864
+ };
1865
+ };
1866
+
1867
+ /**
1868
+ * Request parameters for v1CreateImageSet operation in DefaultApi.
1869
+ * @export
1870
+ * @interface DefaultApiV1CreateImageSetRequest
1871
+ */
1872
+ export interface DefaultApiV1CreateImageSetRequest {
1873
+ /**
1874
+ * request to create the Image Set
1875
+ * @type {V1CreateImageSet}
1876
+ * @memberof DefaultApiV1CreateImageSet
1877
+ */
1878
+ readonly v1CreateImageSet: V1CreateImageSet
1879
+ }
1880
+
1881
+ /**
1882
+ * Request parameters for v1CreateImageSetImage operation in DefaultApi.
1883
+ * @export
1884
+ * @interface DefaultApiV1CreateImageSetImageRequest
1885
+ */
1886
+ export interface DefaultApiV1CreateImageSetImageRequest {
1887
+ /**
1888
+ * request to create an image set image
1889
+ * @type {V1CreateImageSetImage}
1890
+ * @memberof DefaultApiV1CreateImageSetImage
1891
+ */
1892
+ readonly v1CreateImageSetImage: V1CreateImageSetImage
1893
+ }
1894
+
1895
+ /**
1896
+ * Request parameters for v1CreateOrganizationTarget operation in DefaultApi.
1897
+ * @export
1898
+ * @interface DefaultApiV1CreateOrganizationTargetRequest
1899
+ */
1900
+ export interface DefaultApiV1CreateOrganizationTargetRequest {
1901
+ /**
1902
+ * create organization target
1903
+ * @type {V1OrganizationTarget}
1904
+ * @memberof DefaultApiV1CreateOrganizationTarget
1905
+ */
1906
+ readonly v1OrganizationTarget: V1OrganizationTarget
1907
+ }
1908
+
1909
+ /**
1910
+ * Request parameters for v1CreateWebhookConfiguration operation in DefaultApi.
1911
+ * @export
1912
+ * @interface DefaultApiV1CreateWebhookConfigurationRequest
1913
+ */
1914
+ export interface DefaultApiV1CreateWebhookConfigurationRequest {
1915
+ /**
1916
+ * request to create an organization webhook
1917
+ * @type {V1UpdateWebhookConfiguration}
1918
+ * @memberof DefaultApiV1CreateWebhookConfiguration
1919
+ */
1920
+ readonly v1UpdateWebhookConfiguration: V1UpdateWebhookConfiguration
1921
+ }
1922
+
1923
+ /**
1924
+ * Request parameters for v1DeleteOrganizationTarget operation in DefaultApi.
1925
+ * @export
1926
+ * @interface DefaultApiV1DeleteOrganizationTargetRequest
1927
+ */
1928
+ export interface DefaultApiV1DeleteOrganizationTargetRequest {
1929
+ /**
1930
+ *
1931
+ * @type {string}
1932
+ * @memberof DefaultApiV1DeleteOrganizationTarget
1933
+ */
1934
+ readonly satelliteTargetId: string
1935
+ }
1936
+
1937
+ /**
1938
+ * Request parameters for v1DeleteWebhookConfiguration operation in DefaultApi.
1939
+ * @export
1940
+ * @interface DefaultApiV1DeleteWebhookConfigurationRequest
1941
+ */
1942
+ export interface DefaultApiV1DeleteWebhookConfigurationRequest {
1943
+ /**
1944
+ * webhook id
1945
+ * @type {string}
1946
+ * @memberof DefaultApiV1DeleteWebhookConfiguration
1947
+ */
1948
+ readonly id: string
1949
+ }
1950
+
1951
+ /**
1952
+ * Request parameters for v1GetImageSet operation in DefaultApi.
1953
+ * @export
1954
+ * @interface DefaultApiV1GetImageSetRequest
1955
+ */
1956
+ export interface DefaultApiV1GetImageSetRequest {
1957
+ /**
1958
+ *
1959
+ * @type {string}
1960
+ * @memberof DefaultApiV1GetImageSet
1961
+ */
1962
+ readonly id: string
1963
+ }
1964
+
1965
+ /**
1966
+ * Request parameters for v1GetImageSetImage operation in DefaultApi.
1967
+ * @export
1968
+ * @interface DefaultApiV1GetImageSetImageRequest
1969
+ */
1970
+ export interface DefaultApiV1GetImageSetImageRequest {
1971
+ /**
1972
+ *
1973
+ * @type {string}
1974
+ * @memberof DefaultApiV1GetImageSetImage
1975
+ */
1976
+ readonly imageId: string
1977
+ }
1978
+
1979
+ /**
1980
+ * Request parameters for v1GetImageSetImages operation in DefaultApi.
1981
+ * @export
1982
+ * @interface DefaultApiV1GetImageSetImagesRequest
1983
+ */
1984
+ export interface DefaultApiV1GetImageSetImagesRequest {
1985
+ /**
1986
+ *
1987
+ * @type {Array<string>}
1988
+ * @memberof DefaultApiV1GetImageSetImages
1989
+ */
1990
+ readonly imageSets: Array<string>
1991
+ }
1992
+
1993
+ /**
1994
+ * Request parameters for v1GetObservationSequenceResults operation in DefaultApi.
1995
+ * @export
1996
+ * @interface DefaultApiV1GetObservationSequenceResultsRequest
1997
+ */
1998
+ export interface DefaultApiV1GetObservationSequenceResultsRequest {
1999
+ /**
2000
+ *
2001
+ * @type {string}
2002
+ * @memberof DefaultApiV1GetObservationSequenceResults
2003
+ */
2004
+ readonly targetId?: string
2005
+
2006
+ /**
2007
+ *
2008
+ * @type {string}
2009
+ * @memberof DefaultApiV1GetObservationSequenceResults
2010
+ */
2011
+ readonly after?: string
2012
+ }
2013
+
2014
+ /**
2015
+ * Request parameters for v1GetSatelliteTargets operation in DefaultApi.
2016
+ * @export
2017
+ * @interface DefaultApiV1GetSatelliteTargetsRequest
2018
+ */
2019
+ export interface DefaultApiV1GetSatelliteTargetsRequest {
2020
+ /**
2021
+ * orbit type
2022
+ * @type {OrbitType}
2023
+ * @memberof DefaultApiV1GetSatelliteTargets
2024
+ */
2025
+ readonly orbitType?: OrbitType
2026
+
2027
+ /**
2028
+ * norad id
2029
+ * @type {string}
2030
+ * @memberof DefaultApiV1GetSatelliteTargets
2031
+ */
2032
+ readonly noradId?: string
2033
+ }
2034
+
2035
+ /**
2036
+ * Request parameters for v1GetTdm operation in DefaultApi.
2037
+ * @export
2038
+ * @interface DefaultApiV1GetTdmRequest
2039
+ */
2040
+ export interface DefaultApiV1GetTdmRequest {
2041
+ /**
2042
+ *
2043
+ * @type {string}
2044
+ * @memberof DefaultApiV1GetTdm
2045
+ */
2046
+ readonly tdmId: string
2047
+ }
2048
+
2049
+ /**
2050
+ * Request parameters for v1GetTdms operation in DefaultApi.
2051
+ * @export
2052
+ * @interface DefaultApiV1GetTdmsRequest
2053
+ */
2054
+ export interface DefaultApiV1GetTdmsRequest {
2055
+ /**
2056
+ *
2057
+ * @type {string}
2058
+ * @memberof DefaultApiV1GetTdms
2059
+ */
2060
+ readonly targetId?: string
2061
+
2062
+ /**
2063
+ *
2064
+ * @type {string}
2065
+ * @memberof DefaultApiV1GetTdms
2066
+ */
2067
+ readonly after?: string
2068
+ }
2069
+
2070
+ /**
2071
+ * Request parameters for v1UpdateEmailConfiguration operation in DefaultApi.
2072
+ * @export
2073
+ * @interface DefaultApiV1UpdateEmailConfigurationRequest
2074
+ */
2075
+ export interface DefaultApiV1UpdateEmailConfigurationRequest {
2076
+ /**
2077
+ * request to update an organization email preference
2078
+ * @type {V1UpdateEmailConfiguration}
2079
+ * @memberof DefaultApiV1UpdateEmailConfiguration
2080
+ */
2081
+ readonly v1UpdateEmailConfiguration: V1UpdateEmailConfiguration
2082
+ }
2083
+
2084
+ /**
2085
+ * DefaultApi - object-oriented interface
2086
+ * @export
2087
+ * @class DefaultApi
2088
+ * @extends {BaseAPI}
2089
+ */
2090
+ export class DefaultApi extends BaseAPI {
2091
+ /**
2092
+ * create an image set
2093
+ * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
2094
+ * @param {*} [options] Override http request option.
2095
+ * @throws {RequiredError}
2096
+ * @memberof DefaultApi
2097
+ */
2098
+ public v1CreateImageSet(requestParameters: DefaultApiV1CreateImageSetRequest, options?: AxiosRequestConfig) {
2099
+ return DefaultApiFp(this.configuration).v1CreateImageSet(requestParameters.v1CreateImageSet, options).then((request) => request(this.axios, this.basePath));
2100
+ }
2101
+
2102
+ /**
2103
+ * create an image set image
2104
+ * @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
2105
+ * @param {*} [options] Override http request option.
2106
+ * @throws {RequiredError}
2107
+ * @memberof DefaultApi
2108
+ */
2109
+ public v1CreateImageSetImage(requestParameters: DefaultApiV1CreateImageSetImageRequest, options?: AxiosRequestConfig) {
2110
+ return DefaultApiFp(this.configuration).v1CreateImageSetImage(requestParameters.v1CreateImageSetImage, options).then((request) => request(this.axios, this.basePath));
2111
+ }
2112
+
2113
+ /**
2114
+ * Request observations for a satellite target. By creating an organization target you are requesting for a specific target to be observed. The target will be observed best effort by the OurSky network. At the current time OurSky only supports observing satellite targets that are already registered with the platform. To see all possible satellite targets see the [satellite targets](#default/v1GetSatelliteTargets) endpoint. Organization targets also control which events are sent to your organization via webhooks. Webhooks are only sent for targets that you have an active \"organization target\" for.
2115
+ * @param {DefaultApiV1CreateOrganizationTargetRequest} requestParameters Request parameters.
2116
+ * @param {*} [options] Override http request option.
2117
+ * @throws {RequiredError}
2118
+ * @memberof DefaultApi
2119
+ */
2120
+ public v1CreateOrganizationTarget(requestParameters: DefaultApiV1CreateOrganizationTargetRequest, options?: AxiosRequestConfig) {
2121
+ return DefaultApiFp(this.configuration).v1CreateOrganizationTarget(requestParameters.v1OrganizationTarget, options).then((request) => request(this.axios, this.basePath));
2122
+ }
2123
+
2124
+ /**
2125
+ * Create an organization webhook. Organization webhooks are used to send specific events to a remote http endpoint. A webhook can be configured for a list of event type. Please see the webhook event types for the currently supported types. The schemas are considered stable and will match their corresponding GET response schema. \"V1_TDM_CREATED\" -> GET /v1/tdm?id={id} The payload sent to the webhook endpoint will include a header field \"X-OurSky-Signature\" which is an HMAC-SHA256 using the secret as the key and the payload as the message. The payload is the byte stream of the entire JSON payload The signature is base64 encoded.
2126
+ * @param {DefaultApiV1CreateWebhookConfigurationRequest} requestParameters Request parameters.
2127
+ * @param {*} [options] Override http request option.
2128
+ * @throws {RequiredError}
2129
+ * @memberof DefaultApi
2130
+ */
2131
+ public v1CreateWebhookConfiguration(requestParameters: DefaultApiV1CreateWebhookConfigurationRequest, options?: AxiosRequestConfig) {
2132
+ return DefaultApiFp(this.configuration).v1CreateWebhookConfiguration(requestParameters.v1UpdateWebhookConfiguration, options).then((request) => request(this.axios, this.basePath));
2133
+ }
2134
+
2135
+ /**
2136
+ * delete an organization target
2137
+ * @param {DefaultApiV1DeleteOrganizationTargetRequest} requestParameters Request parameters.
2138
+ * @param {*} [options] Override http request option.
2139
+ * @throws {RequiredError}
2140
+ * @memberof DefaultApi
2141
+ */
2142
+ public v1DeleteOrganizationTarget(requestParameters: DefaultApiV1DeleteOrganizationTargetRequest, options?: AxiosRequestConfig) {
2143
+ return DefaultApiFp(this.configuration).v1DeleteOrganizationTarget(requestParameters.satelliteTargetId, options).then((request) => request(this.axios, this.basePath));
2144
+ }
2145
+
2146
+ /**
2147
+ * Delete an existing webhook configuration
2148
+ * @param {DefaultApiV1DeleteWebhookConfigurationRequest} requestParameters Request parameters.
2149
+ * @param {*} [options] Override http request option.
2150
+ * @throws {RequiredError}
2151
+ * @memberof DefaultApi
2152
+ */
2153
+ public v1DeleteWebhookConfiguration(requestParameters: DefaultApiV1DeleteWebhookConfigurationRequest, options?: AxiosRequestConfig) {
2154
+ return DefaultApiFp(this.configuration).v1DeleteWebhookConfiguration(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2155
+ }
2156
+
2157
+ /**
2158
+ * get an image set
2159
+ * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
2160
+ * @param {*} [options] Override http request option.
2161
+ * @throws {RequiredError}
2162
+ * @memberof DefaultApi
2163
+ */
2164
+ public v1GetImageSet(requestParameters: DefaultApiV1GetImageSetRequest, options?: AxiosRequestConfig) {
2165
+ return DefaultApiFp(this.configuration).v1GetImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2166
+ }
2167
+
2168
+ /**
2169
+ * get an image
2170
+ * @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
2171
+ * @param {*} [options] Override http request option.
2172
+ * @throws {RequiredError}
2173
+ * @memberof DefaultApi
2174
+ */
2175
+ public v1GetImageSetImage(requestParameters: DefaultApiV1GetImageSetImageRequest, options?: AxiosRequestConfig) {
2176
+ return DefaultApiFp(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
2177
+ }
2178
+
2179
+ /**
2180
+ * get image set images
2181
+ * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
2182
+ * @param {*} [options] Override http request option.
2183
+ * @throws {RequiredError}
2184
+ * @memberof DefaultApi
2185
+ */
2186
+ public v1GetImageSetImages(requestParameters: DefaultApiV1GetImageSetImagesRequest, options?: AxiosRequestConfig) {
2187
+ return DefaultApiFp(this.configuration).v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(this.axios, this.basePath));
2188
+ }
2189
+
2190
+ /**
2191
+ * get image sets for targets observed for your organization
2192
+ * @param {*} [options] Override http request option.
2193
+ * @throws {RequiredError}
2194
+ * @memberof DefaultApi
2195
+ */
2196
+ public v1GetImageSets(options?: AxiosRequestConfig) {
2197
+ return DefaultApiFp(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
2198
+ }
2199
+
2200
+ /**
2201
+ * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
2202
+ * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
2203
+ * @param {*} [options] Override http request option.
2204
+ * @throws {RequiredError}
2205
+ * @memberof DefaultApi
2206
+ */
2207
+ public v1GetObservationSequenceResults(requestParameters: DefaultApiV1GetObservationSequenceResultsRequest = {}, options?: AxiosRequestConfig) {
2208
+ return DefaultApiFp(this.configuration).v1GetObservationSequenceResults(requestParameters.targetId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
2209
+ }
2210
+
2211
+ /**
2212
+ * get organization targets see the [create](#default/v1CreateOrganizationTarget) endpoint for more details
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ * @memberof DefaultApi
2216
+ */
2217
+ public v1GetOrganizationTargets(options?: AxiosRequestConfig) {
2218
+ return DefaultApiFp(this.configuration).v1GetOrganizationTargets(options).then((request) => request(this.axios, this.basePath));
2219
+ }
2220
+
2221
+ /**
2222
+ * The available satellite objects that the OurSky platform can currently track.
2223
+ * @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
2224
+ * @param {*} [options] Override http request option.
2225
+ * @throws {RequiredError}
2226
+ * @memberof DefaultApi
2227
+ */
2228
+ public v1GetSatelliteTargets(requestParameters: DefaultApiV1GetSatelliteTargetsRequest = {}, options?: AxiosRequestConfig) {
2229
+ return DefaultApiFp(this.configuration).v1GetSatelliteTargets(requestParameters.orbitType, requestParameters.noradId, options).then((request) => request(this.axios, this.basePath));
2230
+ }
2231
+
2232
+ /**
2233
+ * get tdm
2234
+ * @param {DefaultApiV1GetTdmRequest} requestParameters Request parameters.
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ * @memberof DefaultApi
2238
+ */
2239
+ public v1GetTdm(requestParameters: DefaultApiV1GetTdmRequest, options?: AxiosRequestConfig) {
2240
+ return DefaultApiFp(this.configuration).v1GetTdm(requestParameters.tdmId, options).then((request) => request(this.axios, this.basePath));
2241
+ }
2242
+
2243
+ /**
2244
+ * Get all TDMS or all TDMS for a specific target. This response is paginated. It will only return at most 20 TDMs at a time. To get the next page, pass in the `created_at` timestamp of the last TDM in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
2245
+ * @param {DefaultApiV1GetTdmsRequest} requestParameters Request parameters.
2246
+ * @param {*} [options] Override http request option.
2247
+ * @throws {RequiredError}
2248
+ * @memberof DefaultApi
2249
+ */
2250
+ public v1GetTdms(requestParameters: DefaultApiV1GetTdmsRequest = {}, options?: AxiosRequestConfig) {
2251
+ return DefaultApiFp(this.configuration).v1GetTdms(requestParameters.targetId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
2252
+ }
2253
+
2254
+ /**
2255
+ * Get the currently configured webhooks
2256
+ * @param {*} [options] Override http request option.
2257
+ * @throws {RequiredError}
2258
+ * @memberof DefaultApi
2259
+ */
2260
+ public v1GetWebhookConfigurations(options?: AxiosRequestConfig) {
2261
+ return DefaultApiFp(this.configuration).v1GetWebhookConfigurations(options).then((request) => request(this.axios, this.basePath));
2262
+ }
2263
+
2264
+ /**
2265
+ * Update your organization email communication preferences. This will overwrite any existing preferences. This communication preference is meant as an audit log, it is a fire hose of all events. The schemas are not considered stable and may change at any time. If you are looking for machine to machine communication, please use webhooks.
2266
+ * @param {DefaultApiV1UpdateEmailConfigurationRequest} requestParameters Request parameters.
2267
+ * @param {*} [options] Override http request option.
2268
+ * @throws {RequiredError}
2269
+ * @memberof DefaultApi
2270
+ */
2271
+ public v1UpdateEmailConfiguration(requestParameters: DefaultApiV1UpdateEmailConfigurationRequest, options?: AxiosRequestConfig) {
2272
+ return DefaultApiFp(this.configuration).v1UpdateEmailConfiguration(requestParameters.v1UpdateEmailConfiguration, options).then((request) => request(this.axios, this.basePath));
2273
+ }
2274
+ }
2275
+
2276
+
2277
+