@ourskyai/platform-api 1.3.3942 → 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.3942
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.3942 --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.3942
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
@@ -3048,13 +3023,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3048
3023
  },
3049
3024
  /**
3050
3025
  * Create an embedding URL for a dashboard or question
3051
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
3026
+ * @param {string} questionType
3027
+ * @param {string} [nodeId]
3028
+ * @param {number} [lookbackDays]
3052
3029
  * @param {*} [options] Override http request option.
3053
3030
  * @throws {RequiredError}
3054
3031
  */
3055
- v1GetEmbeddedQueryUrl: async (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3056
- // verify required parameter 'v1GetEmbeddedQueryUrlRequest' is not null or undefined
3057
- 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)
3058
3035
  const localVarPath = `/v1/analytics`;
3059
3036
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3060
3037
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3073,14 +3050,23 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3073
3050
  // http bearer authentication required
3074
3051
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3075
3052
 
3053
+ if (questionType !== undefined) {
3054
+ localVarQueryParameter['questionType'] = questionType;
3055
+ }
3076
3056
 
3077
-
3078
- localVarHeaderParameter['Content-Type'] = 'application/json';
3057
+ if (nodeId !== undefined) {
3058
+ localVarQueryParameter['nodeId'] = nodeId;
3059
+ }
3060
+
3061
+ if (lookbackDays !== undefined) {
3062
+ localVarQueryParameter['lookbackDays'] = lookbackDays;
3063
+ }
3079
3064
 
3065
+
3066
+
3080
3067
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3081
3068
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3082
3069
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3083
- localVarRequestOptions.data = serializeDataIfNeeded(v1GetEmbeddedQueryUrlRequest, localVarRequestOptions, configuration)
3084
3070
 
3085
3071
  return {
3086
3072
  url: toPathString(localVarUrlObj),
@@ -4048,12 +4034,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4048
4034
  },
4049
4035
  /**
4050
4036
  * Create an embedding URL for a dashboard or question
4051
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
4037
+ * @param {string} questionType
4038
+ * @param {string} [nodeId]
4039
+ * @param {number} [lookbackDays]
4052
4040
  * @param {*} [options] Override http request option.
4053
4041
  * @throws {RequiredError}
4054
4042
  */
4055
- async v1GetEmbeddedQueryUrl(v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>> {
4056
- 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);
4057
4045
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4058
4046
  },
4059
4047
  /**
@@ -4398,7 +4386,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4398
4386
  * @throws {RequiredError}
4399
4387
  */
4400
4388
  v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse> {
4401
- 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));
4402
4390
  },
4403
4391
  /**
4404
4392
  * Get an image set.
@@ -4812,10 +4800,24 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
4812
4800
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
4813
4801
  /**
4814
4802
  *
4815
- * @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}
4816
4818
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
4817
4819
  */
4818
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest
4820
+ readonly lookbackDays?: number
4819
4821
  }
4820
4822
 
4821
4823
  /**
@@ -5269,7 +5271,7 @@ export class DefaultApi extends BaseAPI {
5269
5271
  * @memberof DefaultApi
5270
5272
  */
5271
5273
  public v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) {
5272
- 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));
5273
5275
  }
5274
5276
 
5275
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.3942
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.3942
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.3942
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.3942
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
@@ -2422,11 +2397,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2422
2397
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2423
2398
  /**
2424
2399
  * Create an embedding URL for a dashboard or question
2425
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2400
+ * @param {string} questionType
2401
+ * @param {string} [nodeId]
2402
+ * @param {number} [lookbackDays]
2426
2403
  * @param {*} [options] Override http request option.
2427
2404
  * @throws {RequiredError}
2428
2405
  */
2429
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2406
+ v1GetEmbeddedQueryUrl: (questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2430
2407
  /**
2431
2408
  * Get an image set.
2432
2409
  * @param {string} id
@@ -2680,11 +2657,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2680
2657
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2681
2658
  /**
2682
2659
  * Create an embedding URL for a dashboard or question
2683
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2660
+ * @param {string} questionType
2661
+ * @param {string} [nodeId]
2662
+ * @param {number} [lookbackDays]
2684
2663
  * @param {*} [options] Override http request option.
2685
2664
  * @throws {RequiredError}
2686
2665
  */
2687
- 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>>;
2688
2667
  /**
2689
2668
  * Get an image set.
2690
2669
  * @param {string} id
@@ -3288,10 +3267,22 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3288
3267
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3289
3268
  /**
3290
3269
  *
3291
- * @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}
3292
3283
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
3293
3284
  */
3294
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3285
+ readonly lookbackDays?: number;
3295
3286
  }
3296
3287
  /**
3297
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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
@@ -2422,11 +2397,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2422
2397
  v1GetCameras: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2423
2398
  /**
2424
2399
  * Create an embedding URL for a dashboard or question
2425
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2400
+ * @param {string} questionType
2401
+ * @param {string} [nodeId]
2402
+ * @param {number} [lookbackDays]
2426
2403
  * @param {*} [options] Override http request option.
2427
2404
  * @throws {RequiredError}
2428
2405
  */
2429
- v1GetEmbeddedQueryUrl: (v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2406
+ v1GetEmbeddedQueryUrl: (questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2430
2407
  /**
2431
2408
  * Get an image set.
2432
2409
  * @param {string} id
@@ -2680,11 +2657,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2680
2657
  v1GetCameras(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Camera>>>;
2681
2658
  /**
2682
2659
  * Create an embedding URL for a dashboard or question
2683
- * @param {V1GetEmbeddedQueryUrlRequest} v1GetEmbeddedQueryUrlRequest
2660
+ * @param {string} questionType
2661
+ * @param {string} [nodeId]
2662
+ * @param {number} [lookbackDays]
2684
2663
  * @param {*} [options] Override http request option.
2685
2664
  * @throws {RequiredError}
2686
2665
  */
2687
- 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>>;
2688
2667
  /**
2689
2668
  * Get an image set.
2690
2669
  * @param {string} id
@@ -3288,10 +3267,22 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
3288
3267
  export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
3289
3268
  /**
3290
3269
  *
3291
- * @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}
3292
3283
  * @memberof DefaultApiV1GetEmbeddedQueryUrl
3293
3284
  */
3294
- readonly v1GetEmbeddedQueryUrlRequest: V1GetEmbeddedQueryUrlRequest;
3285
+ readonly lookbackDays?: number;
3295
3286
  }
3296
3287
  /**
3297
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942
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.3942",
3
+ "version": "1.3.4001",
4
4
  "description": "OpenAPI client for @ourskyai/platform-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {