flexinet-api 0.0.764-prerelease0 → 0.0.779-prerelease0

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
- ## flexinet-api@0.0.764-prerelease0
1
+ ## flexinet-api@0.0.779-prerelease0
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 flexinet-api@0.0.764-prerelease0 --save
39
+ npm install flexinet-api@0.0.779-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -2670,6 +2670,12 @@ export interface SystemUserDetails {
2670
2670
  * @interface Tag
2671
2671
  */
2672
2672
  export interface Tag {
2673
+ /**
2674
+ *
2675
+ * @type {string}
2676
+ * @memberof Tag
2677
+ */
2678
+ 'id': string;
2673
2679
  /**
2674
2680
  *
2675
2681
  * @type {string}
@@ -2715,6 +2721,12 @@ export interface TagCreationRequest {
2715
2721
  * @memberof TagCreationRequest
2716
2722
  */
2717
2723
  'key': string;
2724
+ /**
2725
+ *
2726
+ * @type {{ [key: string]: string; }}
2727
+ * @memberof TagCreationRequest
2728
+ */
2729
+ 'translations': { [key: string]: string; };
2718
2730
  /**
2719
2731
  *
2720
2732
  * @type {TagDataType}
@@ -2733,6 +2745,12 @@ export interface TagCreationRequest {
2733
2745
  * @memberof TagCreationRequest
2734
2746
  */
2735
2747
  'isRequired': boolean;
2748
+ /**
2749
+ *
2750
+ * @type {Array<TagValueCreationRequest>}
2751
+ * @memberof TagCreationRequest
2752
+ */
2753
+ 'values'?: Array<TagValueCreationRequest>;
2736
2754
  }
2737
2755
 
2738
2756
 
@@ -2758,6 +2776,12 @@ export type TagDataType = typeof TagDataType[keyof typeof TagDataType];
2758
2776
  * @interface TagDetailed
2759
2777
  */
2760
2778
  export interface TagDetailed {
2779
+ /**
2780
+ *
2781
+ * @type {string}
2782
+ * @memberof TagDetailed
2783
+ */
2784
+ 'id': string;
2761
2785
  /**
2762
2786
  *
2763
2787
  * @type {string}
@@ -2794,6 +2818,12 @@ export interface TagDetailed {
2794
2818
  * @memberof TagDetailed
2795
2819
  */
2796
2820
  'validators': Array<TagValidator>;
2821
+ /**
2822
+ *
2823
+ * @type {Array<TagValue>}
2824
+ * @memberof TagDetailed
2825
+ */
2826
+ 'values'?: Array<TagValue>;
2797
2827
  }
2798
2828
 
2799
2829
 
@@ -3012,13 +3042,56 @@ export interface TagValidator {
3012
3042
 
3013
3043
  export const TagValidatorType = {
3014
3044
  Pattern: 'pattern',
3015
- Range: 'range',
3016
- FixedValues: 'fixed_values'
3045
+ Range: 'range'
3017
3046
  } as const;
3018
3047
 
3019
3048
  export type TagValidatorType = typeof TagValidatorType[keyof typeof TagValidatorType];
3020
3049
 
3021
3050
 
3051
+ /**
3052
+ *
3053
+ * @export
3054
+ * @interface TagValue
3055
+ */
3056
+ export interface TagValue {
3057
+ /**
3058
+ *
3059
+ * @type {any}
3060
+ * @memberof TagValue
3061
+ */
3062
+ 'value': any;
3063
+ /**
3064
+ *
3065
+ * @type {string}
3066
+ * @memberof TagValue
3067
+ */
3068
+ 'description': string;
3069
+ }
3070
+ /**
3071
+ *
3072
+ * @export
3073
+ * @interface TagValueCreationRequest
3074
+ */
3075
+ export interface TagValueCreationRequest {
3076
+ /**
3077
+ *
3078
+ * @type {any}
3079
+ * @memberof TagValueCreationRequest
3080
+ */
3081
+ 'value': any;
3082
+ /**
3083
+ *
3084
+ * @type {string}
3085
+ * @memberof TagValueCreationRequest
3086
+ */
3087
+ 'description': string;
3088
+ /**
3089
+ *
3090
+ * @type {{ [key: string]: TagValue; }}
3091
+ * @memberof TagValueCreationRequest
3092
+ */
3093
+ 'translations': { [key: string]: TagValue; };
3094
+ }
3022
3095
  /**
3023
3096
  *
3024
3097
  * @export
@@ -3147,6 +3220,24 @@ export interface Tenant {
3147
3220
  * @memberof Tenant
3148
3221
  */
3149
3222
  'customerOpenIDParameters'?: { [key: string]: string; };
3223
+ /**
3224
+ *
3225
+ * @type {string}
3226
+ * @memberof Tenant
3227
+ */
3228
+ 'ppURL': string;
3229
+ /**
3230
+ *
3231
+ * @type {string}
3232
+ * @memberof Tenant
3233
+ */
3234
+ 'tcURL': string;
3235
+ /**
3236
+ *
3237
+ * @type {string}
3238
+ * @memberof Tenant
3239
+ */
3240
+ 'cookiesURL': string;
3150
3241
  }
3151
3242
  /**
3152
3243
  *
@@ -9649,15 +9740,15 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
9649
9740
  /**
9650
9741
  * This method allows deleting a tag from the system.
9651
9742
  * @summary Method allows to delete tag.
9652
- * @param {string} key Tag key
9743
+ * @param {string} id Tag id
9653
9744
  * @param {*} [options] Override http request option.
9654
9745
  * @throws {RequiredError}
9655
9746
  */
9656
- deleteTag: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9657
- // verify required parameter 'key' is not null or undefined
9658
- assertParamExists('deleteTag', 'key', key)
9659
- const localVarPath = `/admins/tags/{key}`
9660
- .replace(`{${"key"}}`, encodeURIComponent(String(key)));
9747
+ deleteTag: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9748
+ // verify required parameter 'id' is not null or undefined
9749
+ assertParamExists('deleteTag', 'id', id)
9750
+ const localVarPath = `/admins/tags/{id}`
9751
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9661
9752
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9662
9753
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9663
9754
  let baseOptions;
@@ -9687,15 +9778,15 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
9687
9778
  /**
9688
9779
  * This method returns all information about a specific tag.
9689
9780
  * @summary Method will return tag details.
9690
- * @param {string} key Tag key
9781
+ * @param {string} id Tag ID
9691
9782
  * @param {*} [options] Override http request option.
9692
9783
  * @throws {RequiredError}
9693
9784
  */
9694
- getTagByKey: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9695
- // verify required parameter 'key' is not null or undefined
9696
- assertParamExists('getTagByKey', 'key', key)
9697
- const localVarPath = `/admins/tags/{key}`
9698
- .replace(`{${"key"}}`, encodeURIComponent(String(key)));
9785
+ getTagByID: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9786
+ // verify required parameter 'id' is not null or undefined
9787
+ assertParamExists('getTagByID', 'id', id)
9788
+ const localVarPath = `/admins/tags/{id}`
9789
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9699
9790
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9700
9791
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9701
9792
  let baseOptions;
@@ -9726,10 +9817,11 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
9726
9817
  * This method returns a list of all tags in the system.
9727
9818
  * @summary Method returns tags list.
9728
9819
  * @param {string} [tagKey] Tag key
9820
+ * @param {string} [search] search string
9729
9821
  * @param {*} [options] Override http request option.
9730
9822
  * @throws {RequiredError}
9731
9823
  */
9732
- listTags: async (tagKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9824
+ listTags: async (tagKey?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9733
9825
  const localVarPath = `/admins/tags`;
9734
9826
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9735
9827
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9750,6 +9842,10 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
9750
9842
  localVarQueryParameter['tagKey'] = tagKey;
9751
9843
  }
9752
9844
 
9845
+ if (search !== undefined) {
9846
+ localVarQueryParameter['search'] = search;
9847
+ }
9848
+
9753
9849
 
9754
9850
 
9755
9851
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9764,16 +9860,16 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
9764
9860
  /**
9765
9861
  * This method allows updating a tag in the system.
9766
9862
  * @summary Method allows to update tag.
9767
- * @param {string} key Tag key
9863
+ * @param {string} id Tag id
9768
9864
  * @param {UpdateTagRequest} [updateTagRequest]
9769
9865
  * @param {*} [options] Override http request option.
9770
9866
  * @throws {RequiredError}
9771
9867
  */
9772
- updateTag: async (key: string, updateTagRequest?: UpdateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9773
- // verify required parameter 'key' is not null or undefined
9774
- assertParamExists('updateTag', 'key', key)
9775
- const localVarPath = `/admins/tags/{key}`
9776
- .replace(`{${"key"}}`, encodeURIComponent(String(key)));
9868
+ updateTag: async (id: string, updateTagRequest?: UpdateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9869
+ // verify required parameter 'id' is not null or undefined
9870
+ assertParamExists('updateTag', 'id', id)
9871
+ const localVarPath = `/admins/tags/{id}`
9872
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9777
9873
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9778
9874
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9779
9875
  let baseOptions;
@@ -9830,46 +9926,47 @@ export const TagApiFp = function(configuration?: Configuration) {
9830
9926
  /**
9831
9927
  * This method allows deleting a tag from the system.
9832
9928
  * @summary Method allows to delete tag.
9833
- * @param {string} key Tag key
9929
+ * @param {string} id Tag id
9834
9930
  * @param {*} [options] Override http request option.
9835
9931
  * @throws {RequiredError}
9836
9932
  */
9837
- async deleteTag(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9838
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTag(key, options);
9933
+ async deleteTag(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9934
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTag(id, options);
9839
9935
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9840
9936
  },
9841
9937
  /**
9842
9938
  * This method returns all information about a specific tag.
9843
9939
  * @summary Method will return tag details.
9844
- * @param {string} key Tag key
9940
+ * @param {string} id Tag ID
9845
9941
  * @param {*} [options] Override http request option.
9846
9942
  * @throws {RequiredError}
9847
9943
  */
9848
- async getTagByKey(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>> {
9849
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTagByKey(key, options);
9944
+ async getTagByID(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>> {
9945
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTagByID(id, options);
9850
9946
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9851
9947
  },
9852
9948
  /**
9853
9949
  * This method returns a list of all tags in the system.
9854
9950
  * @summary Method returns tags list.
9855
9951
  * @param {string} [tagKey] Tag key
9952
+ * @param {string} [search] search string
9856
9953
  * @param {*} [options] Override http request option.
9857
9954
  * @throws {RequiredError}
9858
9955
  */
9859
- async listTags(tagKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>> {
9860
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTags(tagKey, options);
9956
+ async listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>> {
9957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTags(tagKey, search, options);
9861
9958
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9862
9959
  },
9863
9960
  /**
9864
9961
  * This method allows updating a tag in the system.
9865
9962
  * @summary Method allows to update tag.
9866
- * @param {string} key Tag key
9963
+ * @param {string} id Tag id
9867
9964
  * @param {UpdateTagRequest} [updateTagRequest]
9868
9965
  * @param {*} [options] Override http request option.
9869
9966
  * @throws {RequiredError}
9870
9967
  */
9871
- async updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>> {
9872
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateTag(key, updateTagRequest, options);
9968
+ async updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>> {
9969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateTag(id, updateTagRequest, options);
9873
9970
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9874
9971
  },
9875
9972
  }
@@ -9895,43 +9992,44 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?:
9895
9992
  /**
9896
9993
  * This method allows deleting a tag from the system.
9897
9994
  * @summary Method allows to delete tag.
9898
- * @param {string} key Tag key
9995
+ * @param {string} id Tag id
9899
9996
  * @param {*} [options] Override http request option.
9900
9997
  * @throws {RequiredError}
9901
9998
  */
9902
- deleteTag(key: string, options?: any): AxiosPromise<void> {
9903
- return localVarFp.deleteTag(key, options).then((request) => request(axios, basePath));
9999
+ deleteTag(id: string, options?: any): AxiosPromise<void> {
10000
+ return localVarFp.deleteTag(id, options).then((request) => request(axios, basePath));
9904
10001
  },
9905
10002
  /**
9906
10003
  * This method returns all information about a specific tag.
9907
10004
  * @summary Method will return tag details.
9908
- * @param {string} key Tag key
10005
+ * @param {string} id Tag ID
9909
10006
  * @param {*} [options] Override http request option.
9910
10007
  * @throws {RequiredError}
9911
10008
  */
9912
- getTagByKey(key: string, options?: any): AxiosPromise<TagDetailed> {
9913
- return localVarFp.getTagByKey(key, options).then((request) => request(axios, basePath));
10009
+ getTagByID(id: string, options?: any): AxiosPromise<TagDetailed> {
10010
+ return localVarFp.getTagByID(id, options).then((request) => request(axios, basePath));
9914
10011
  },
9915
10012
  /**
9916
10013
  * This method returns a list of all tags in the system.
9917
10014
  * @summary Method returns tags list.
9918
10015
  * @param {string} [tagKey] Tag key
10016
+ * @param {string} [search] search string
9919
10017
  * @param {*} [options] Override http request option.
9920
10018
  * @throws {RequiredError}
9921
10019
  */
9922
- listTags(tagKey?: string, options?: any): AxiosPromise<TagListResponse> {
9923
- return localVarFp.listTags(tagKey, options).then((request) => request(axios, basePath));
10020
+ listTags(tagKey?: string, search?: string, options?: any): AxiosPromise<TagListResponse> {
10021
+ return localVarFp.listTags(tagKey, search, options).then((request) => request(axios, basePath));
9924
10022
  },
9925
10023
  /**
9926
10024
  * This method allows updating a tag in the system.
9927
10025
  * @summary Method allows to update tag.
9928
- * @param {string} key Tag key
10026
+ * @param {string} id Tag id
9929
10027
  * @param {UpdateTagRequest} [updateTagRequest]
9930
10028
  * @param {*} [options] Override http request option.
9931
10029
  * @throws {RequiredError}
9932
10030
  */
9933
- updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<Tag> {
9934
- return localVarFp.updateTag(key, updateTagRequest, options).then((request) => request(axios, basePath));
10031
+ updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed> {
10032
+ return localVarFp.updateTag(id, updateTagRequest, options).then((request) => request(axios, basePath));
9935
10033
  },
9936
10034
  };
9937
10035
  };
@@ -9958,50 +10056,51 @@ export class TagApi extends BaseAPI {
9958
10056
  /**
9959
10057
  * This method allows deleting a tag from the system.
9960
10058
  * @summary Method allows to delete tag.
9961
- * @param {string} key Tag key
10059
+ * @param {string} id Tag id
9962
10060
  * @param {*} [options] Override http request option.
9963
10061
  * @throws {RequiredError}
9964
10062
  * @memberof TagApi
9965
10063
  */
9966
- public deleteTag(key: string, options?: AxiosRequestConfig) {
9967
- return TagApiFp(this.configuration).deleteTag(key, options).then((request) => request(this.axios, this.basePath));
10064
+ public deleteTag(id: string, options?: AxiosRequestConfig) {
10065
+ return TagApiFp(this.configuration).deleteTag(id, options).then((request) => request(this.axios, this.basePath));
9968
10066
  }
9969
10067
 
9970
10068
  /**
9971
10069
  * This method returns all information about a specific tag.
9972
10070
  * @summary Method will return tag details.
9973
- * @param {string} key Tag key
10071
+ * @param {string} id Tag ID
9974
10072
  * @param {*} [options] Override http request option.
9975
10073
  * @throws {RequiredError}
9976
10074
  * @memberof TagApi
9977
10075
  */
9978
- public getTagByKey(key: string, options?: AxiosRequestConfig) {
9979
- return TagApiFp(this.configuration).getTagByKey(key, options).then((request) => request(this.axios, this.basePath));
10076
+ public getTagByID(id: string, options?: AxiosRequestConfig) {
10077
+ return TagApiFp(this.configuration).getTagByID(id, options).then((request) => request(this.axios, this.basePath));
9980
10078
  }
9981
10079
 
9982
10080
  /**
9983
10081
  * This method returns a list of all tags in the system.
9984
10082
  * @summary Method returns tags list.
9985
10083
  * @param {string} [tagKey] Tag key
10084
+ * @param {string} [search] search string
9986
10085
  * @param {*} [options] Override http request option.
9987
10086
  * @throws {RequiredError}
9988
10087
  * @memberof TagApi
9989
10088
  */
9990
- public listTags(tagKey?: string, options?: AxiosRequestConfig) {
9991
- return TagApiFp(this.configuration).listTags(tagKey, options).then((request) => request(this.axios, this.basePath));
10089
+ public listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig) {
10090
+ return TagApiFp(this.configuration).listTags(tagKey, search, options).then((request) => request(this.axios, this.basePath));
9992
10091
  }
9993
10092
 
9994
10093
  /**
9995
10094
  * This method allows updating a tag in the system.
9996
10095
  * @summary Method allows to update tag.
9997
- * @param {string} key Tag key
10096
+ * @param {string} id Tag id
9998
10097
  * @param {UpdateTagRequest} [updateTagRequest]
9999
10098
  * @param {*} [options] Override http request option.
10000
10099
  * @throws {RequiredError}
10001
10100
  * @memberof TagApi
10002
10101
  */
10003
- public updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) {
10004
- return TagApiFp(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
10102
+ public updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) {
10103
+ return TagApiFp(this.configuration).updateTag(id, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
10005
10104
  }
10006
10105
  }
10007
10106