@ourskyai/sda-api 1.4.133 → 1.4.158

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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
4
4
  *
5
- * The version of the OpenAPI document: 1.4.133
5
+ * The version of the OpenAPI document: 1.4.158
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -91,6 +91,14 @@ export declare const ImageSetType: {
91
91
  readonly TERRESTRIAL_DOWNLINK: "TERRESTRIAL_DOWNLINK";
92
92
  };
93
93
  export type ImageSetType = typeof ImageSetType[keyof typeof ImageSetType];
94
+ /**
95
+ * RAW for time-series photometry data with timestamps, PHASE_FOLDED for phase-folded data by rotation period
96
+ */
97
+ export declare const LightcurveDataType: {
98
+ readonly RAW: "RAW";
99
+ readonly PHASE_FOLDED: "PHASE_FOLDED";
100
+ };
101
+ export type LightcurveDataType = typeof LightcurveDataType[keyof typeof LightcurveDataType];
94
102
  /**
95
103
  * Location
96
104
  */
@@ -219,6 +227,27 @@ export declare const OrbitType: {
219
227
  readonly UFO: "UFO";
220
228
  };
221
229
  export type OrbitType = typeof OrbitType[keyof typeof OrbitType];
230
+ /**
231
+ * Outcome of period detection attempt
232
+ */
233
+ export declare const PeriodDetectionStatus: {
234
+ readonly NOT_ATTEMPTED: "NOT_ATTEMPTED";
235
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
236
+ readonly SUCCESS: "SUCCESS";
237
+ readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
238
+ readonly AMBIGUOUS: "AMBIGUOUS";
239
+ };
240
+ export type PeriodDetectionStatus = typeof PeriodDetectionStatus[keyof typeof PeriodDetectionStatus];
241
+ /**
242
+ * Algorithm used to detect rotation period. NONE if period detection was not attempted.
243
+ */
244
+ export declare const PeriodicityAlgorithm: {
245
+ readonly NONE: "NONE";
246
+ readonly STRING_LENGTH: "STRING_LENGTH";
247
+ readonly PHASE_DISPERSION_MINIMIZATION: "PHASE_DISPERSION_MINIMIZATION";
248
+ readonly BAYESIAN_PERIOD_SEARCH: "BAYESIAN_PERIOD_SEARCH";
249
+ };
250
+ export type PeriodicityAlgorithm = typeof PeriodicityAlgorithm[keyof typeof PeriodicityAlgorithm];
222
251
  export declare const SatelliteTargetTrackingStatus: {
223
252
  readonly ACTIVE: "ACTIVE";
224
253
  readonly INACTIVE: "INACTIVE";
@@ -387,6 +416,10 @@ export interface V1CreateWebhookConfigurationRequest {
387
416
  export interface V1CreateWebhookTestRequest {
388
417
  'events': Array<WebhookEvent>;
389
418
  }
419
+ export interface V1GetLightcurvesResponse {
420
+ 'lightcurves': Array<V1Lightcurve>;
421
+ 'total': number;
422
+ }
390
423
  export interface V1GetSatelliteTargetsResponse {
391
424
  'targets': Array<V1SatelliteTarget>;
392
425
  }
@@ -532,6 +565,67 @@ export interface V1ImageSetImage {
532
565
  'featureSharpnessScore'?: number;
533
566
  'executionEnvironment'?: string;
534
567
  }
568
+ export interface V1Lightcurve {
569
+ 'id': string;
570
+ 'targetId': string;
571
+ 'createdAt': string;
572
+ 'dataSpanStart': string;
573
+ 'dataSpanEnd': string;
574
+ 'dataType': LightcurveDataType;
575
+ /**
576
+ * For phase-folded lightcurves, references the source raw lightcurve
577
+ */
578
+ 'rawLightcurveId'?: string | null;
579
+ /**
580
+ * Total number of points in the raw lightcurve
581
+ */
582
+ 'totalPointCount': number;
583
+ 'periodDetectionStatus': PeriodDetectionStatus;
584
+ 'periodicityAlgorithm'?: PeriodicityAlgorithm;
585
+ /**
586
+ * Detected rotation period in seconds (null if not periodic)
587
+ */
588
+ 'periodSeconds'?: number | null;
589
+ /**
590
+ * Confidence score 0-1 for the detected period
591
+ */
592
+ 'periodConfidence'?: number | null;
593
+ /**
594
+ * Minimum period searched
595
+ */
596
+ 'periodSearchMinSeconds'?: number | null;
597
+ /**
598
+ * Maximum period searched
599
+ */
600
+ 'periodSearchMaxSeconds'?: number | null;
601
+ /**
602
+ * Number of points that passed Nyquist filtering for the best period
603
+ */
604
+ 'validPointCount'?: number | null;
605
+ /**
606
+ * Photometry measurements
607
+ */
608
+ 'points': Array<V1LightcurveDataPoint>;
609
+ }
610
+ export interface V1LightcurveDataPoint {
611
+ 'timestamp': string;
612
+ /**
613
+ * Phase within the rotation period (0.0-1.0). Only present for PHASE_FOLDED data.
614
+ */
615
+ 'fractionalPeriod'?: number | null;
616
+ /**
617
+ * Magnitude normalized to standard range (1000 km) and solar phase angle (90 degrees)
618
+ */
619
+ 'standardMagnitude': number;
620
+ /**
621
+ * Observed apparent magnitude
622
+ */
623
+ 'rawMagnitude': number;
624
+ /**
625
+ * Sun-satellite-observer angle in radians
626
+ */
627
+ 'solarPhaseAngleRadians': number;
628
+ }
535
629
  /**
536
630
  * Extracted stars that matched during plate solving
537
631
  */
@@ -1744,6 +1838,24 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1744
1838
  * @throws {RequiredError}
1745
1839
  */
1746
1840
  v1GetOrganizationTarget: (organizationTargetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1841
+ /**
1842
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
1843
+ * @param {string} organizationTargetId
1844
+ * @param {*} [options] Override http request option.
1845
+ * @throws {RequiredError}
1846
+ */
1847
+ v1GetOrganizationTargetLightcurve: (organizationTargetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1848
+ /**
1849
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
1850
+ * @param {string} organizationTargetId
1851
+ * @param {string} [startDate]
1852
+ * @param {string} [endDate]
1853
+ * @param {number} [offset]
1854
+ * @param {number} [limit]
1855
+ * @param {*} [options] Override http request option.
1856
+ * @throws {RequiredError}
1857
+ */
1858
+ v1GetOrganizationTargetLightcurves: (organizationTargetId: string, startDate?: string, endDate?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1747
1859
  /**
1748
1860
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
1749
1861
  * @param {*} [options] Override http request option.
@@ -2191,6 +2303,24 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2191
2303
  * @throws {RequiredError}
2192
2304
  */
2193
2305
  v1GetOrganizationTarget(organizationTargetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1OrganizationTarget>>;
2306
+ /**
2307
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
2308
+ * @param {string} organizationTargetId
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ v1GetOrganizationTargetLightcurve(organizationTargetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Lightcurve>>;
2313
+ /**
2314
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
2315
+ * @param {string} organizationTargetId
2316
+ * @param {string} [startDate]
2317
+ * @param {string} [endDate]
2318
+ * @param {number} [offset]
2319
+ * @param {number} [limit]
2320
+ * @param {*} [options] Override http request option.
2321
+ * @throws {RequiredError}
2322
+ */
2323
+ v1GetOrganizationTargetLightcurves(organizationTargetId: string, startDate?: string, endDate?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetLightcurvesResponse>>;
2194
2324
  /**
2195
2325
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
2196
2326
  * @param {*} [options] Override http request option.
@@ -2624,6 +2754,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2624
2754
  * @throws {RequiredError}
2625
2755
  */
2626
2756
  v1GetOrganizationTarget(requestParameters: DefaultApiV1GetOrganizationTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1OrganizationTarget>;
2757
+ /**
2758
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
2759
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
2760
+ * @param {*} [options] Override http request option.
2761
+ * @throws {RequiredError}
2762
+ */
2763
+ v1GetOrganizationTargetLightcurve(requestParameters: DefaultApiV1GetOrganizationTargetLightcurveRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1Lightcurve>;
2764
+ /**
2765
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
2766
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
2767
+ * @param {*} [options] Override http request option.
2768
+ * @throws {RequiredError}
2769
+ */
2770
+ v1GetOrganizationTargetLightcurves(requestParameters: DefaultApiV1GetOrganizationTargetLightcurvesRequest, options?: RawAxiosRequestConfig): AxiosPromise<V1GetLightcurvesResponse>;
2627
2771
  /**
2628
2772
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
2629
2773
  * @param {*} [options] Override http request option.
@@ -3026,6 +3170,22 @@ export interface DefaultApiV1GetOrganizationSatellitePotentialsRequest {
3026
3170
  export interface DefaultApiV1GetOrganizationTargetRequest {
3027
3171
  readonly organizationTargetId: string;
3028
3172
  }
3173
+ /**
3174
+ * Request parameters for v1GetOrganizationTargetLightcurve operation in DefaultApi.
3175
+ */
3176
+ export interface DefaultApiV1GetOrganizationTargetLightcurveRequest {
3177
+ readonly organizationTargetId: string;
3178
+ }
3179
+ /**
3180
+ * Request parameters for v1GetOrganizationTargetLightcurves operation in DefaultApi.
3181
+ */
3182
+ export interface DefaultApiV1GetOrganizationTargetLightcurvesRequest {
3183
+ readonly organizationTargetId: string;
3184
+ readonly startDate?: string;
3185
+ readonly endDate?: string;
3186
+ readonly offset?: number;
3187
+ readonly limit?: number;
3188
+ }
3029
3189
  /**
3030
3190
  * Request parameters for v1GetResolvedImageMetadata operation in DefaultApi.
3031
3191
  */
@@ -3452,6 +3612,20 @@ export declare class DefaultApi extends BaseAPI {
3452
3612
  * @throws {RequiredError}
3453
3613
  */
3454
3614
  v1GetOrganizationTarget(requestParameters: DefaultApiV1GetOrganizationTargetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1OrganizationTarget, any, {}>>;
3615
+ /**
3616
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
3617
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
3618
+ * @param {*} [options] Override http request option.
3619
+ * @throws {RequiredError}
3620
+ */
3621
+ v1GetOrganizationTargetLightcurve(requestParameters: DefaultApiV1GetOrganizationTargetLightcurveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Lightcurve, any, {}>>;
3622
+ /**
3623
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
3624
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
3625
+ * @param {*} [options] Override http request option.
3626
+ * @throws {RequiredError}
3627
+ */
3628
+ v1GetOrganizationTargetLightcurves(requestParameters: DefaultApiV1GetOrganizationTargetLightcurvesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GetLightcurvesResponse, any, {}>>;
3455
3629
  /**
3456
3630
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
3457
3631
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky SDA
6
6
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
7
7
  *
8
- * The version of the OpenAPI document: 1.4.133
8
+ * The version of the OpenAPI document: 1.4.158
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.V2GetSearchesStatusEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WebhookEvent = exports.WebhookAuthType = exports.WeatherCondition = exports.V1StateVectorReferenceFrameEnum = exports.V1SharpeningMethod = exports.V1SatelliteCalibrationFamily = exports.V1PlateSolveStatus = exports.V1PassStage = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.V1BlackoutVolumeRequestReferenceFrameEnum = exports.V1AllSkyPredictionLabel = exports.TrackingType = exports.ShutterType = exports.SearchCompletedReason = exports.SatelliteTargetTrackingStatus = exports.OrbitType = exports.ObservationState = exports.MountType = exports.MountGeometry = exports.ImageSetType = exports.FilterType = void 0;
25
+ exports.V2GetSearchesStatusEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WebhookEvent = exports.WebhookAuthType = exports.WeatherCondition = exports.V1StateVectorReferenceFrameEnum = exports.V1SharpeningMethod = exports.V1SatelliteCalibrationFamily = exports.V1PlateSolveStatus = exports.V1PassStage = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.V1BlackoutVolumeRequestReferenceFrameEnum = exports.V1AllSkyPredictionLabel = exports.TrackingType = exports.ShutterType = exports.SearchCompletedReason = exports.SatelliteTargetTrackingStatus = exports.PeriodicityAlgorithm = exports.PeriodDetectionStatus = exports.OrbitType = exports.ObservationState = exports.MountType = exports.MountGeometry = exports.LightcurveDataType = exports.ImageSetType = exports.FilterType = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -69,6 +69,13 @@ exports.ImageSetType = {
69
69
  STACKED_ASTRONOMICAL: 'STACKED_ASTRONOMICAL',
70
70
  TERRESTRIAL_DOWNLINK: 'TERRESTRIAL_DOWNLINK'
71
71
  };
72
+ /**
73
+ * RAW for time-series photometry data with timestamps, PHASE_FOLDED for phase-folded data by rotation period
74
+ */
75
+ exports.LightcurveDataType = {
76
+ RAW: 'RAW',
77
+ PHASE_FOLDED: 'PHASE_FOLDED'
78
+ };
72
79
  exports.MountGeometry = {
73
80
  ALT_AZ: 'ALT_AZ',
74
81
  EQUATORIAL: 'EQUATORIAL'
@@ -104,6 +111,25 @@ exports.OrbitType = {
104
111
  NSO: 'NSO',
105
112
  UFO: 'UFO'
106
113
  };
114
+ /**
115
+ * Outcome of period detection attempt
116
+ */
117
+ exports.PeriodDetectionStatus = {
118
+ NOT_ATTEMPTED: 'NOT_ATTEMPTED',
119
+ INSUFFICIENT_DATA: 'INSUFFICIENT_DATA',
120
+ SUCCESS: 'SUCCESS',
121
+ LOW_CONFIDENCE: 'LOW_CONFIDENCE',
122
+ AMBIGUOUS: 'AMBIGUOUS'
123
+ };
124
+ /**
125
+ * Algorithm used to detect rotation period. NONE if period detection was not attempted.
126
+ */
127
+ exports.PeriodicityAlgorithm = {
128
+ NONE: 'NONE',
129
+ STRING_LENGTH: 'STRING_LENGTH',
130
+ PHASE_DISPERSION_MINIMIZATION: 'PHASE_DISPERSION_MINIMIZATION',
131
+ BAYESIAN_PERIOD_SEARCH: 'BAYESIAN_PERIOD_SEARCH'
132
+ };
107
133
  exports.SatelliteTargetTrackingStatus = {
108
134
  ACTIVE: 'ACTIVE',
109
135
  INACTIVE: 'INACTIVE',
@@ -1442,6 +1468,96 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1442
1468
  options: localVarRequestOptions,
1443
1469
  };
1444
1470
  }),
1471
+ /**
1472
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
1473
+ * @param {string} organizationTargetId
1474
+ * @param {*} [options] Override http request option.
1475
+ * @throws {RequiredError}
1476
+ */
1477
+ v1GetOrganizationTargetLightcurve: (organizationTargetId_1, ...args_1) => __awaiter(this, [organizationTargetId_1, ...args_1], void 0, function* (organizationTargetId, options = {}) {
1478
+ // verify required parameter 'organizationTargetId' is not null or undefined
1479
+ (0, common_1.assertParamExists)('v1GetOrganizationTargetLightcurve', 'organizationTargetId', organizationTargetId);
1480
+ const localVarPath = `/v1/organization-target/lightcurve`;
1481
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1482
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1483
+ let baseOptions;
1484
+ if (configuration) {
1485
+ baseOptions = configuration.baseOptions;
1486
+ }
1487
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1488
+ const localVarHeaderParameter = {};
1489
+ const localVarQueryParameter = {};
1490
+ // authentication Roles required
1491
+ // authentication BearerToken required
1492
+ // http bearer authentication required
1493
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1494
+ if (organizationTargetId !== undefined) {
1495
+ localVarQueryParameter['organizationTargetId'] = organizationTargetId;
1496
+ }
1497
+ localVarHeaderParameter['Accept'] = 'application/json';
1498
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1499
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1500
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1501
+ return {
1502
+ url: (0, common_1.toPathString)(localVarUrlObj),
1503
+ options: localVarRequestOptions,
1504
+ };
1505
+ }),
1506
+ /**
1507
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
1508
+ * @param {string} organizationTargetId
1509
+ * @param {string} [startDate]
1510
+ * @param {string} [endDate]
1511
+ * @param {number} [offset]
1512
+ * @param {number} [limit]
1513
+ * @param {*} [options] Override http request option.
1514
+ * @throws {RequiredError}
1515
+ */
1516
+ v1GetOrganizationTargetLightcurves: (organizationTargetId_1, startDate_1, endDate_1, offset_1, limit_1, ...args_1) => __awaiter(this, [organizationTargetId_1, startDate_1, endDate_1, offset_1, limit_1, ...args_1], void 0, function* (organizationTargetId, startDate, endDate, offset, limit, options = {}) {
1517
+ // verify required parameter 'organizationTargetId' is not null or undefined
1518
+ (0, common_1.assertParamExists)('v1GetOrganizationTargetLightcurves', 'organizationTargetId', organizationTargetId);
1519
+ const localVarPath = `/v1/organization-target/lightcurves`;
1520
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1521
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1522
+ let baseOptions;
1523
+ if (configuration) {
1524
+ baseOptions = configuration.baseOptions;
1525
+ }
1526
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1527
+ const localVarHeaderParameter = {};
1528
+ const localVarQueryParameter = {};
1529
+ // authentication Roles required
1530
+ // authentication BearerToken required
1531
+ // http bearer authentication required
1532
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1533
+ if (organizationTargetId !== undefined) {
1534
+ localVarQueryParameter['organizationTargetId'] = organizationTargetId;
1535
+ }
1536
+ if (startDate !== undefined) {
1537
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
1538
+ startDate.toISOString() :
1539
+ startDate;
1540
+ }
1541
+ if (endDate !== undefined) {
1542
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
1543
+ endDate.toISOString() :
1544
+ endDate;
1545
+ }
1546
+ if (offset !== undefined) {
1547
+ localVarQueryParameter['offset'] = offset;
1548
+ }
1549
+ if (limit !== undefined) {
1550
+ localVarQueryParameter['limit'] = limit;
1551
+ }
1552
+ localVarHeaderParameter['Accept'] = 'application/json';
1553
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1554
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1555
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1556
+ return {
1557
+ url: (0, common_1.toPathString)(localVarUrlObj),
1558
+ options: localVarRequestOptions,
1559
+ };
1560
+ }),
1445
1561
  /**
1446
1562
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
1447
1563
  * @param {*} [options] Override http request option.
@@ -2921,6 +3037,40 @@ const DefaultApiFp = function (configuration) {
2921
3037
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2922
3038
  });
2923
3039
  },
3040
+ /**
3041
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
3042
+ * @param {string} organizationTargetId
3043
+ * @param {*} [options] Override http request option.
3044
+ * @throws {RequiredError}
3045
+ */
3046
+ v1GetOrganizationTargetLightcurve(organizationTargetId, options) {
3047
+ return __awaiter(this, void 0, void 0, function* () {
3048
+ var _a, _b, _c;
3049
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrganizationTargetLightcurve(organizationTargetId, options);
3050
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3051
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrganizationTargetLightcurve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3052
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3053
+ });
3054
+ },
3055
+ /**
3056
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
3057
+ * @param {string} organizationTargetId
3058
+ * @param {string} [startDate]
3059
+ * @param {string} [endDate]
3060
+ * @param {number} [offset]
3061
+ * @param {number} [limit]
3062
+ * @param {*} [options] Override http request option.
3063
+ * @throws {RequiredError}
3064
+ */
3065
+ v1GetOrganizationTargetLightcurves(organizationTargetId, startDate, endDate, offset, limit, options) {
3066
+ return __awaiter(this, void 0, void 0, function* () {
3067
+ var _a, _b, _c;
3068
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrganizationTargetLightcurves(organizationTargetId, startDate, endDate, offset, limit, options);
3069
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3070
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrganizationTargetLightcurves']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3071
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3072
+ });
3073
+ },
2924
3074
  /**
2925
3075
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
2926
3076
  * @param {*} [options] Override http request option.
@@ -3632,6 +3782,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3632
3782
  v1GetOrganizationTarget(requestParameters, options) {
3633
3783
  return localVarFp.v1GetOrganizationTarget(requestParameters.organizationTargetId, options).then((request) => request(axios, basePath));
3634
3784
  },
3785
+ /**
3786
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
3787
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
3788
+ * @param {*} [options] Override http request option.
3789
+ * @throws {RequiredError}
3790
+ */
3791
+ v1GetOrganizationTargetLightcurve(requestParameters, options) {
3792
+ return localVarFp.v1GetOrganizationTargetLightcurve(requestParameters.organizationTargetId, options).then((request) => request(axios, basePath));
3793
+ },
3794
+ /**
3795
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
3796
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
3797
+ * @param {*} [options] Override http request option.
3798
+ * @throws {RequiredError}
3799
+ */
3800
+ v1GetOrganizationTargetLightcurves(requestParameters, options) {
3801
+ return localVarFp.v1GetOrganizationTargetLightcurves(requestParameters.organizationTargetId, requestParameters.startDate, requestParameters.endDate, requestParameters.offset, requestParameters.limit, options).then((request) => request(axios, basePath));
3802
+ },
3635
3803
  /**
3636
3804
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
3637
3805
  * @param {*} [options] Override http request option.
@@ -4170,6 +4338,24 @@ class DefaultApi extends base_1.BaseAPI {
4170
4338
  v1GetOrganizationTarget(requestParameters, options) {
4171
4339
  return (0, exports.DefaultApiFp)(this.configuration).v1GetOrganizationTarget(requestParameters.organizationTargetId, options).then((request) => request(this.axios, this.basePath));
4172
4340
  }
4341
+ /**
4342
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
4343
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
4344
+ * @param {*} [options] Override http request option.
4345
+ * @throws {RequiredError}
4346
+ */
4347
+ v1GetOrganizationTargetLightcurve(requestParameters, options) {
4348
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetOrganizationTargetLightcurve(requestParameters.organizationTargetId, options).then((request) => request(this.axios, this.basePath));
4349
+ }
4350
+ /**
4351
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
4352
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
4353
+ * @param {*} [options] Override http request option.
4354
+ * @throws {RequiredError}
4355
+ */
4356
+ v1GetOrganizationTargetLightcurves(requestParameters, options) {
4357
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetOrganizationTargetLightcurves(requestParameters.organizationTargetId, requestParameters.startDate, requestParameters.endDate, requestParameters.offset, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
4358
+ }
4173
4359
  /**
4174
4360
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
4175
4361
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
4
4
  *
5
- * The version of the OpenAPI document: 1.4.133
5
+ * The version of the OpenAPI document: 1.4.158
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky SDA
6
6
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
7
7
  *
8
- * The version of the OpenAPI document: 1.4.133
8
+ * The version of the OpenAPI document: 1.4.158
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
4
4
  *
5
- * The version of the OpenAPI document: 1.4.133
5
+ * The version of the OpenAPI document: 1.4.158
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky SDA
6
6
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
7
7
  *
8
- * The version of the OpenAPI document: 1.4.133
8
+ * The version of the OpenAPI document: 1.4.158
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
4
4
  *
5
- * The version of the OpenAPI document: 1.4.133
5
+ * The version of the OpenAPI document: 1.4.158
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
6
6
  *
7
- * The version of the OpenAPI document: 1.4.133
7
+ * The version of the OpenAPI document: 1.4.158
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).