@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/esm/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/esm/api.js CHANGED
@@ -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).
@@ -66,6 +66,13 @@ export const ImageSetType = {
66
66
  STACKED_ASTRONOMICAL: 'STACKED_ASTRONOMICAL',
67
67
  TERRESTRIAL_DOWNLINK: 'TERRESTRIAL_DOWNLINK'
68
68
  };
69
+ /**
70
+ * RAW for time-series photometry data with timestamps, PHASE_FOLDED for phase-folded data by rotation period
71
+ */
72
+ export const LightcurveDataType = {
73
+ RAW: 'RAW',
74
+ PHASE_FOLDED: 'PHASE_FOLDED'
75
+ };
69
76
  export const MountGeometry = {
70
77
  ALT_AZ: 'ALT_AZ',
71
78
  EQUATORIAL: 'EQUATORIAL'
@@ -101,6 +108,25 @@ export const OrbitType = {
101
108
  NSO: 'NSO',
102
109
  UFO: 'UFO'
103
110
  };
111
+ /**
112
+ * Outcome of period detection attempt
113
+ */
114
+ export const PeriodDetectionStatus = {
115
+ NOT_ATTEMPTED: 'NOT_ATTEMPTED',
116
+ INSUFFICIENT_DATA: 'INSUFFICIENT_DATA',
117
+ SUCCESS: 'SUCCESS',
118
+ LOW_CONFIDENCE: 'LOW_CONFIDENCE',
119
+ AMBIGUOUS: 'AMBIGUOUS'
120
+ };
121
+ /**
122
+ * Algorithm used to detect rotation period. NONE if period detection was not attempted.
123
+ */
124
+ export const PeriodicityAlgorithm = {
125
+ NONE: 'NONE',
126
+ STRING_LENGTH: 'STRING_LENGTH',
127
+ PHASE_DISPERSION_MINIMIZATION: 'PHASE_DISPERSION_MINIMIZATION',
128
+ BAYESIAN_PERIOD_SEARCH: 'BAYESIAN_PERIOD_SEARCH'
129
+ };
104
130
  export const SatelliteTargetTrackingStatus = {
105
131
  ACTIVE: 'ACTIVE',
106
132
  INACTIVE: 'INACTIVE',
@@ -1439,6 +1465,96 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1439
1465
  options: localVarRequestOptions,
1440
1466
  };
1441
1467
  }),
1468
+ /**
1469
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
1470
+ * @param {string} organizationTargetId
1471
+ * @param {*} [options] Override http request option.
1472
+ * @throws {RequiredError}
1473
+ */
1474
+ v1GetOrganizationTargetLightcurve: (organizationTargetId_1, ...args_1) => __awaiter(this, [organizationTargetId_1, ...args_1], void 0, function* (organizationTargetId, options = {}) {
1475
+ // verify required parameter 'organizationTargetId' is not null or undefined
1476
+ assertParamExists('v1GetOrganizationTargetLightcurve', 'organizationTargetId', organizationTargetId);
1477
+ const localVarPath = `/v1/organization-target/lightcurve`;
1478
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1479
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1480
+ let baseOptions;
1481
+ if (configuration) {
1482
+ baseOptions = configuration.baseOptions;
1483
+ }
1484
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1485
+ const localVarHeaderParameter = {};
1486
+ const localVarQueryParameter = {};
1487
+ // authentication Roles required
1488
+ // authentication BearerToken required
1489
+ // http bearer authentication required
1490
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1491
+ if (organizationTargetId !== undefined) {
1492
+ localVarQueryParameter['organizationTargetId'] = organizationTargetId;
1493
+ }
1494
+ localVarHeaderParameter['Accept'] = 'application/json';
1495
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1497
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1498
+ return {
1499
+ url: toPathString(localVarUrlObj),
1500
+ options: localVarRequestOptions,
1501
+ };
1502
+ }),
1503
+ /**
1504
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
1505
+ * @param {string} organizationTargetId
1506
+ * @param {string} [startDate]
1507
+ * @param {string} [endDate]
1508
+ * @param {number} [offset]
1509
+ * @param {number} [limit]
1510
+ * @param {*} [options] Override http request option.
1511
+ * @throws {RequiredError}
1512
+ */
1513
+ 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 = {}) {
1514
+ // verify required parameter 'organizationTargetId' is not null or undefined
1515
+ assertParamExists('v1GetOrganizationTargetLightcurves', 'organizationTargetId', organizationTargetId);
1516
+ const localVarPath = `/v1/organization-target/lightcurves`;
1517
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1518
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1519
+ let baseOptions;
1520
+ if (configuration) {
1521
+ baseOptions = configuration.baseOptions;
1522
+ }
1523
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1524
+ const localVarHeaderParameter = {};
1525
+ const localVarQueryParameter = {};
1526
+ // authentication Roles required
1527
+ // authentication BearerToken required
1528
+ // http bearer authentication required
1529
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1530
+ if (organizationTargetId !== undefined) {
1531
+ localVarQueryParameter['organizationTargetId'] = organizationTargetId;
1532
+ }
1533
+ if (startDate !== undefined) {
1534
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
1535
+ startDate.toISOString() :
1536
+ startDate;
1537
+ }
1538
+ if (endDate !== undefined) {
1539
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
1540
+ endDate.toISOString() :
1541
+ endDate;
1542
+ }
1543
+ if (offset !== undefined) {
1544
+ localVarQueryParameter['offset'] = offset;
1545
+ }
1546
+ if (limit !== undefined) {
1547
+ localVarQueryParameter['limit'] = limit;
1548
+ }
1549
+ localVarHeaderParameter['Accept'] = 'application/json';
1550
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1551
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1552
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1553
+ return {
1554
+ url: toPathString(localVarUrlObj),
1555
+ options: localVarRequestOptions,
1556
+ };
1557
+ }),
1442
1558
  /**
1443
1559
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
1444
1560
  * @param {*} [options] Override http request option.
@@ -2917,6 +3033,40 @@ export const DefaultApiFp = function (configuration) {
2917
3033
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2918
3034
  });
2919
3035
  },
3036
+ /**
3037
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
3038
+ * @param {string} organizationTargetId
3039
+ * @param {*} [options] Override http request option.
3040
+ * @throws {RequiredError}
3041
+ */
3042
+ v1GetOrganizationTargetLightcurve(organizationTargetId, options) {
3043
+ return __awaiter(this, void 0, void 0, function* () {
3044
+ var _a, _b, _c;
3045
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrganizationTargetLightcurve(organizationTargetId, options);
3046
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3047
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrganizationTargetLightcurve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3048
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3049
+ });
3050
+ },
3051
+ /**
3052
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
3053
+ * @param {string} organizationTargetId
3054
+ * @param {string} [startDate]
3055
+ * @param {string} [endDate]
3056
+ * @param {number} [offset]
3057
+ * @param {number} [limit]
3058
+ * @param {*} [options] Override http request option.
3059
+ * @throws {RequiredError}
3060
+ */
3061
+ v1GetOrganizationTargetLightcurves(organizationTargetId, startDate, endDate, offset, limit, options) {
3062
+ return __awaiter(this, void 0, void 0, function* () {
3063
+ var _a, _b, _c;
3064
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrganizationTargetLightcurves(organizationTargetId, startDate, endDate, offset, limit, options);
3065
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3066
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrganizationTargetLightcurves']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3067
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3068
+ });
3069
+ },
2920
3070
  /**
2921
3071
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
2922
3072
  * @param {*} [options] Override http request option.
@@ -3627,6 +3777,24 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
3627
3777
  v1GetOrganizationTarget(requestParameters, options) {
3628
3778
  return localVarFp.v1GetOrganizationTarget(requestParameters.organizationTargetId, options).then((request) => request(axios, basePath));
3629
3779
  },
3780
+ /**
3781
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
3782
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
3783
+ * @param {*} [options] Override http request option.
3784
+ * @throws {RequiredError}
3785
+ */
3786
+ v1GetOrganizationTargetLightcurve(requestParameters, options) {
3787
+ return localVarFp.v1GetOrganizationTargetLightcurve(requestParameters.organizationTargetId, options).then((request) => request(axios, basePath));
3788
+ },
3789
+ /**
3790
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
3791
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
3792
+ * @param {*} [options] Override http request option.
3793
+ * @throws {RequiredError}
3794
+ */
3795
+ v1GetOrganizationTargetLightcurves(requestParameters, options) {
3796
+ return localVarFp.v1GetOrganizationTargetLightcurves(requestParameters.organizationTargetId, requestParameters.startDate, requestParameters.endDate, requestParameters.offset, requestParameters.limit, options).then((request) => request(axios, basePath));
3797
+ },
3630
3798
  /**
3631
3799
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
3632
3800
  * @param {*} [options] Override http request option.
@@ -4164,6 +4332,24 @@ export class DefaultApi extends BaseAPI {
4164
4332
  v1GetOrganizationTarget(requestParameters, options) {
4165
4333
  return DefaultApiFp(this.configuration).v1GetOrganizationTarget(requestParameters.organizationTargetId, options).then((request) => request(this.axios, this.basePath));
4166
4334
  }
4335
+ /**
4336
+ * Get the latest lightcurve for a satellite target the organization is tracking. Requires the light curves product feature.
4337
+ * @param {DefaultApiV1GetOrganizationTargetLightcurveRequest} requestParameters Request parameters.
4338
+ * @param {*} [options] Override http request option.
4339
+ * @throws {RequiredError}
4340
+ */
4341
+ v1GetOrganizationTargetLightcurve(requestParameters, options) {
4342
+ return DefaultApiFp(this.configuration).v1GetOrganizationTargetLightcurve(requestParameters.organizationTargetId, options).then((request) => request(this.axios, this.basePath));
4343
+ }
4344
+ /**
4345
+ * Get lightcurves for a satellite target the organization is tracking. Requires the light curves product feature.
4346
+ * @param {DefaultApiV1GetOrganizationTargetLightcurvesRequest} requestParameters Request parameters.
4347
+ * @param {*} [options] Override http request option.
4348
+ * @throws {RequiredError}
4349
+ */
4350
+ v1GetOrganizationTargetLightcurves(requestParameters, options) {
4351
+ return DefaultApiFp(this.configuration).v1GetOrganizationTargetLightcurves(requestParameters.organizationTargetId, requestParameters.startDate, requestParameters.endDate, requestParameters.offset, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
4352
+ }
4167
4353
  /**
4168
4354
  * Get organization targets see the [create](#tag/organization-targets/POST/v1/organization-target) endpoint for more details.
4169
4355
  * @param {*} [options] Override http request option.
@@ -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/esm/base.js CHANGED
@@ -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).
@@ -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).
@@ -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).
@@ -3,7 +3,7 @@
3
3
  * OurSky SDA
4
4
  * 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.
5
5
  *
6
- * The version of the OpenAPI document: 1.4.133
6
+ * The version of the OpenAPI document: 1.4.158
7
7
  *
8
8
  *
9
9
  * 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).
package/dist/esm/index.js CHANGED
@@ -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).
package/dist/index.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/index.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).