@ourskyai/platform-api 1.3.3931 → 1.3.4001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @ourskyai/platform-api@1.3.3931
1
+ ## @ourskyai/platform-api@1.3.4001
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @ourskyai/platform-api@1.3.3931 --save
39
+ npm install @ourskyai/platform-api@1.3.4001 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -815,31 +815,6 @@ export interface V1GainCurvePoint {
815
815
  */
816
816
  'eADU': number;
817
817
  }
818
- /**
819
- *
820
- * @export
821
- * @interface V1GetEmbeddedQueryUrlRequest
822
- */
823
- export interface V1GetEmbeddedQueryUrlRequest {
824
- /**
825
- *
826
- * @type {string}
827
- * @memberof V1GetEmbeddedQueryUrlRequest
828
- */
829
- 'questionType': string;
830
- /**
831
- *
832
- * @type {string}
833
- * @memberof V1GetEmbeddedQueryUrlRequest
834
- */
835
- 'nodeId'?: string;
836
- /**
837
- *
838
- * @type {number}
839
- * @memberof V1GetEmbeddedQueryUrlRequest
840
- */
841
- 'lookbackDays'?: number | null;
842
- }
843
818
  /**
844
819
  *
845
820
  * @export
@@ -1603,6 +1578,12 @@ export interface V1Node {
1603
1578
  * @memberof V1Node
1604
1579
  */
1605
1580
  'id': string;
1581
+ /**
1582
+ *
1583
+ * @type {Location}
1584
+ * @memberof V1Node
1585
+ */
1586
+ 'location': Location;
1606
1587
  }
1607
1588
 
1608
1589
 
@@ -3042,13 +3023,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3042
3023
  },
3043
3024
  /**
3044
3025
  * Create an embedding URL for a dashboard or question
3045
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
3026
+ * @param {string} questionType
3027
+ * @param {string} [nodeId]
3028
+ * @param {number} [lookbackDays]
3046
3029
  * @param {*} [options] Override http request option.
3047
3030
  * @throws {RequiredError}
3048
3031
  */
3049
- v1GetEmbeddedQueryUrl: async (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3050
- // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
3051
- assertParamExists('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest)
3032
+ v1GetEmbeddedQueryUrl: async (questionType: string, nodeId?: string, lookbackDays?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3033
+ // verify required parameter 'questionType' is not null or undefined
3034
+ assertParamExists('v1GetEmbeddedQueryUrl', 'questionType', questionType)
3052
3035
  const localVarPath = `/v1/analytics`;
3053
3036
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3054
3037
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3067,14 +3050,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3067
3050
  // http bearer authentication required
3068
3051
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3069
3052
 
3053
+ if (questionType !== undefined) {
3054
+ localVarQueryParameter['questionType'] = questionType;
3055
+ }
3070
3056
 
3071
-
3072
- localVarHeaderParameter['Content-Type'] = 'application/json';
3057
+ if (nodeId !== undefined) {
3058
+ localVarQueryParameter['nodeId'] = nodeId;
3059
+ }
3073
3060
 
3061
+ if (lookbackDays !== undefined) {
3062
+ localVarQueryParameter['lookbackDays'] = lookbackDays;
3063
+ }
3064
+
3065
+
3066
+
3074
3067
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3075
3068
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3076
3069
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3077
- localVarRequestOptions.data = serializeDataIfNeeded(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration)
3078
3070
 
3079
3071
  return {
3080
3072
  url: toPathString(localVarUrlObj),
@@ -4042,12 +4034,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4042
4034
  },
4043
4035
  /**
4044
4036
  * Create an embedding URL for a dashboard or question
4045
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
4037
+ * @param {string} questionType
4038
+ * @param {string} [nodeId]
4039
+ * @param {number} [lookbackDays]
4046
4040
  * @param {*} [options] Override http request option.
4047
4041
  * @throws {RequiredError}
4048
4042
  */
4049
- async v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>> {
4050
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
4043
+ async v1GetEmbeddedQueryUrl(questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>> {
4044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options);
4051
4045
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4052
4046
  },
4053
4047
  /**
@@ -4392,7 +4386,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4392
4386
  * @throws {RequiredError}
4393
4387
  */
4394
4388
  v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse> {
4395
- return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
4389
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(axios, basePath));
4396
4390
  },
4397
4391
  /**
4398
4392
  * Get an image set.
@@ -4806,10 +4800,24 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
4806
4800
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
4807
4801
  /**
4808
4802
  *
4809
- * @type {V1GetEmbeddedQueryUrlRequest}
4803
+ * @type {string}
4804
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
4805
+ */
4806
+ readonly questionType: string
4807
+
4808
+ /**
4809
+ *
4810
+ * @type {string}
4811
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
4812
+ */
4813
+ readonly nodeId?: string
4814
+
4815
+ /**
4816
+ *
4817
+ * @type {number}
4810
4818
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
4811
4819
  */
4812
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest
4820
+ readonly lookbackDays?: number
4813
4821
  }
4814
4822
 
4815
4823
  /**
@@ -5263,7 +5271,7 @@ export class DefaultApi extends BaseAPI {
5263
5271
  * @memberof DefaultApi
5264
5272
  */
5265
5273
  public v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) {
5266
- return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
5274
+ return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(this.axios, this.basePath));
5267
5275
  }
5268
5276
 
5269
5277
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -757,31 +757,6 @@ export interface V1GainCurvePoint {
757
757
  */
758
758
  'eADU': number;
759
759
  }
760
- /**
761
- *
762
- * @export
763
- * @interface V1GetEmbeddedQueryUrlRequest
764
- */
765
- export interface V1GetEmbeddedQueryUrlRequest {
766
- /**
767
- *
768
- * @type {string}
769
- * @memberof V1GetEmbeddedQueryUrlRequest
770
- */
771
- 'questionType': string;
772
- /**
773
- *
774
- * @type {string}
775
- * @memberof V1GetEmbeddedQueryUrlRequest
776
- */
777
- 'nodeId'?: string;
778
- /**
779
- *
780
- * @type {number}
781
- * @memberof V1GetEmbeddedQueryUrlRequest
782
- */
783
- 'lookbackDays'?: number | null;
784
- }
785
760
  /**
786
761
  *
787
762
  * @export
@@ -1533,6 +1508,12 @@ export interface V1Node {
1533
1508
  * @memberof V1Node
1534
1509
  */
1535
1510
  'id': string;
1511
+ /**
1512
+ *
1513
+ * @type {Location}
1514
+ * @memberof V1Node
1515
+ */
1516
+ 'location': Location;
1536
1517
  }
1537
1518
  /**
1538
1519
  *
@@ -2416,11 +2397,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2416
2397
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2417
2398
  /**
2418
2399
  * Create an embedding URL for a dashboard or question
2419
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2400
+ * @param {string} questionType
2401
+ * @param {string} [nodeId]
2402
+ * @param {number} [lookbackDays]
2420
2403
  * @param {*} [options] Override http request option.
2421
2404
  * @throws {RequiredError}
2422
2405
  */
2423
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2406
+ v1GetEmbeddedQueryUrl: (questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2424
2407
  /**
2425
2408
  * Get an image set.
2426
2409
  * @param {string} id
@@ -2674,11 +2657,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2674
2657
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2675
2658
  /**
2676
2659
  * Create an embedding URL for a dashboard or question
2677
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2660
+ * @param {string} questionType
2661
+ * @param {string} [nodeId]
2662
+ * @param {number} [lookbackDays]
2678
2663
  * @param {*} [options] Override http request option.
2679
2664
  * @throws {RequiredError}
2680
2665
  */
2681
- v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2666
+ v1GetEmbeddedQueryUrl(questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2682
2667
  /**
2683
2668
  * Get an image set.
2684
2669
  * @param {string} id
@@ -3282,10 +3267,22 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3282
3267
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3283
3268
  /**
3284
3269
  *
3285
- * @type {V1GetEmbeddedQueryUrlRequest}
3270
+ * @type {string}
3271
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3272
+ */
3273
+ readonly questionType: string;
3274
+ /**
3275
+ *
3276
+ * @type {string}
3277
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3278
+ */
3279
+ readonly nodeId?: string;
3280
+ /**
3281
+ *
3282
+ * @type {number}
3286
3283
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
3287
3284
  */
3288
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3285
+ readonly lookbackDays?: number;
3289
3286
  }
3290
3287
  /**
3291
3288
  * Request parameters for v1GetImageSet operation in DefaultApi.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.3931
8
+ * The version of the OpenAPI document: 1.3.4001
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -698,13 +698,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
698
698
  }),
699
699
  /**
700
700
  * Create an embedding URL for a dashboard or question
701
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
701
+ * @param {string} questionType
702
+ * @param {string} [nodeId]
703
+ * @param {number} [lookbackDays]
702
704
  * @param {*} [options] Override http request option.
703
705
  * @throws {RequiredError}
704
706
  */
705
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
706
- // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
707
- (0, common_1.assertParamExists)('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest);
707
+ v1GetEmbeddedQueryUrl: (questionType, nodeId, lookbackDays, options = {}) => __awaiter(this, void 0, void 0, function* () {
708
+ // verify required parameter 'questionType' is not null or undefined
709
+ (0, common_1.assertParamExists)('v1GetEmbeddedQueryUrl', 'questionType', questionType);
708
710
  const localVarPath = `/v1/analytics`;
709
711
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
710
712
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -719,11 +721,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
719
721
  // authentication BearerToken required
720
722
  // http bearer authentication required
721
723
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
722
- localVarHeaderParameter['Content-Type'] = 'application/json';
724
+ if (questionType !== undefined) {
725
+ localVarQueryParameter['questionType'] = questionType;
726
+ }
727
+ if (nodeId !== undefined) {
728
+ localVarQueryParameter['nodeId'] = nodeId;
729
+ }
730
+ if (lookbackDays !== undefined) {
731
+ localVarQueryParameter['lookbackDays'] = lookbackDays;
732
+ }
723
733
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
724
734
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
725
735
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
726
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration);
727
736
  return {
728
737
  url: (0, common_1.toPathString)(localVarUrlObj),
729
738
  options: localVarRequestOptions,
@@ -1566,13 +1575,15 @@ const DefaultApiFp = function (configuration) {
1566
1575
  },
1567
1576
  /**
1568
1577
  * Create an embedding URL for a dashboard or question
1569
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
1578
+ * @param {string} questionType
1579
+ * @param {string} [nodeId]
1580
+ * @param {number} [lookbackDays]
1570
1581
  * @param {*} [options] Override http request option.
1571
1582
  * @throws {RequiredError}
1572
1583
  */
1573
- v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options) {
1584
+ v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options) {
1574
1585
  return __awaiter(this, void 0, void 0, function* () {
1575
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
1586
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options);
1576
1587
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1577
1588
  });
1578
1589
  },
@@ -1956,7 +1967,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1956
1967
  * @throws {RequiredError}
1957
1968
  */
1958
1969
  v1GetEmbeddedQueryUrl(requestParameters, options) {
1959
- return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
1970
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(axios, basePath));
1960
1971
  },
1961
1972
  /**
1962
1973
  * Get an image set.
@@ -2294,7 +2305,7 @@ class DefaultApi extends base_1.BaseAPI {
2294
2305
  * @memberof DefaultApi
2295
2306
  */
2296
2307
  v1GetEmbeddedQueryUrl(requestParameters, options) {
2297
- return (0, exports.DefaultApiFp)(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
2308
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(this.axios, this.basePath));
2298
2309
  }
2299
2310
  /**
2300
2311
  * Get an image set.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.3931
8
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.3931
8
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.3931
8
+ * The version of the OpenAPI document: 1.3.4001
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -757,31 +757,6 @@ export interface V1GainCurvePoint {
757
757
  */
758
758
  'eADU': number;
759
759
  }
760
- /**
761
- *
762
- * @export
763
- * @interface V1GetEmbeddedQueryUrlRequest
764
- */
765
- export interface V1GetEmbeddedQueryUrlRequest {
766
- /**
767
- *
768
- * @type {string}
769
- * @memberof V1GetEmbeddedQueryUrlRequest
770
- */
771
- 'questionType': string;
772
- /**
773
- *
774
- * @type {string}
775
- * @memberof V1GetEmbeddedQueryUrlRequest
776
- */
777
- 'nodeId'?: string;
778
- /**
779
- *
780
- * @type {number}
781
- * @memberof V1GetEmbeddedQueryUrlRequest
782
- */
783
- 'lookbackDays'?: number | null;
784
- }
785
760
  /**
786
761
  *
787
762
  * @export
@@ -1533,6 +1508,12 @@ export interface V1Node {
1533
1508
  * @memberof V1Node
1534
1509
  */
1535
1510
  'id': string;
1511
+ /**
1512
+ *
1513
+ * @type {Location}
1514
+ * @memberof V1Node
1515
+ */
1516
+ 'location': Location;
1536
1517
  }
1537
1518
  /**
1538
1519
  *
@@ -2416,11 +2397,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2416
2397
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2417
2398
  /**
2418
2399
  * Create an embedding URL for a dashboard or question
2419
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2400
+ * @param {string} questionType
2401
+ * @param {string} [nodeId]
2402
+ * @param {number} [lookbackDays]
2420
2403
  * @param {*} [options] Override http request option.
2421
2404
  * @throws {RequiredError}
2422
2405
  */
2423
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2406
+ v1GetEmbeddedQueryUrl: (questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2424
2407
  /**
2425
2408
  * Get an image set.
2426
2409
  * @param {string} id
@@ -2674,11 +2657,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2674
2657
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2675
2658
  /**
2676
2659
  * Create an embedding URL for a dashboard or question
2677
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2660
+ * @param {string} questionType
2661
+ * @param {string} [nodeId]
2662
+ * @param {number} [lookbackDays]
2678
2663
  * @param {*} [options] Override http request option.
2679
2664
  * @throws {RequiredError}
2680
2665
  */
2681
- v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2666
+ v1GetEmbeddedQueryUrl(questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>>;
2682
2667
  /**
2683
2668
  * Get an image set.
2684
2669
  * @param {string} id
@@ -3282,10 +3267,22 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3282
3267
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3283
3268
  /**
3284
3269
  *
3285
- * @type {V1GetEmbeddedQueryUrlRequest}
3270
+ * @type {string}
3271
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3272
+ */
3273
+ readonly questionType: string;
3274
+ /**
3275
+ *
3276
+ * @type {string}
3277
+ * @memberof DefaultApiV1GetEmbeddedQueryUrl
3278
+ */
3279
+ readonly nodeId?: string;
3280
+ /**
3281
+ *
3282
+ * @type {number}
3286
3283
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
3287
3284
  */
3288
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3285
+ readonly lookbackDays?: number;
3289
3286
  }
3290
3287
  /**
3291
3288
  * Request parameters for v1GetImageSet operation in DefaultApi.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -695,13 +695,15 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
695
695
  }),
696
696
  /**
697
697
  * Create an embedding URL for a dashboard or question
698
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
698
+ * @param {string} questionType
699
+ * @param {string} [nodeId]
700
+ * @param {number} [lookbackDays]
699
701
  * @param {*} [options] Override http request option.
700
702
  * @throws {RequiredError}
701
703
  */
702
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
703
- // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
704
- assertParamExists('v1GetEmbeddedQueryUrl', 'v1GetEmbeddedQueryUrlRequest', v1GetEmbeddedQueryUrlRequest);
704
+ v1GetEmbeddedQueryUrl: (questionType, nodeId, lookbackDays, options = {}) => __awaiter(this, void 0, void 0, function* () {
705
+ // verify required parameter 'questionType' is not null or undefined
706
+ assertParamExists('v1GetEmbeddedQueryUrl', 'questionType', questionType);
705
707
  const localVarPath = `/v1/analytics`;
706
708
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
707
709
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -716,11 +718,18 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
716
718
  // authentication BearerToken required
717
719
  // http bearer authentication required
718
720
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
719
- localVarHeaderParameter['Content-Type'] = 'application/json';
721
+ if (questionType !== undefined) {
722
+ localVarQueryParameter['questionType'] = questionType;
723
+ }
724
+ if (nodeId !== undefined) {
725
+ localVarQueryParameter['nodeId'] = nodeId;
726
+ }
727
+ if (lookbackDays !== undefined) {
728
+ localVarQueryParameter['lookbackDays'] = lookbackDays;
729
+ }
720
730
  setSearchParams(localVarUrlObj, localVarQueryParameter);
721
731
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
722
732
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
723
- localVarRequestOptions.data = serializeDataIfNeeded(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration);
724
733
  return {
725
734
  url: toPathString(localVarUrlObj),
726
735
  options: localVarRequestOptions,
@@ -1562,13 +1571,15 @@ export const DefaultApiFp = function (configuration) {
1562
1571
  },
1563
1572
  /**
1564
1573
  * Create an embedding URL for a dashboard or question
1565
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
1574
+ * @param {string} questionType
1575
+ * @param {string} [nodeId]
1576
+ * @param {number} [lookbackDays]
1566
1577
  * @param {*} [options] Override http request option.
1567
1578
  * @throws {RequiredError}
1568
1579
  */
1569
- v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options) {
1580
+ v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options) {
1570
1581
  return __awaiter(this, void 0, void 0, function* () {
1571
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest, options);
1582
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options);
1572
1583
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1573
1584
  });
1574
1585
  },
@@ -1951,7 +1962,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1951
1962
  * @throws {RequiredError}
1952
1963
  */
1953
1964
  v1GetEmbeddedQueryUrl(requestParameters, options) {
1954
- return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(axios, basePath));
1965
+ return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(axios, basePath));
1955
1966
  },
1956
1967
  /**
1957
1968
  * Get an image set.
@@ -2288,7 +2299,7 @@ export class DefaultApi extends BaseAPI {
2288
2299
  * @memberof DefaultApi
2289
2300
  */
2290
2301
  v1GetEmbeddedQueryUrl(requestParameters, options) {
2291
- return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.v1GetEmbeddedQueryUrlRequest, options).then((request) => request(this.axios, this.basePath));
2302
+ return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(this.axios, this.basePath));
2292
2303
  }
2293
2304
  /**
2294
2305
  * Get an image set.
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.3931
5
+ * The version of the OpenAPI document: 1.3.4001
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 Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.3931
8
+ * The version of the OpenAPI document: 1.3.4001
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.3931
7
+ * The version of the OpenAPI document: 1.3.4001
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ourskyai/platform-api",
3
- "version": "1.3.3931",
3
+ "version": "1.3.4001",
4
4
  "description": "OpenAPI client for @ourskyai/platform-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {