@infisale-client/api 1.3.55 → 1.3.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/api.d.ts CHANGED
@@ -5090,12 +5090,55 @@ export interface INavigationLink {
5090
5090
  * @memberof INavigationLink
5091
5091
  */
5092
5092
  'object': any;
5093
+ }
5094
+ /**
5095
+ *
5096
+ * @export
5097
+ * @interface INavigationLinkResponse
5098
+ */
5099
+ export interface INavigationLinkResponse {
5100
+ /**
5101
+ *
5102
+ * @type {any}
5103
+ * @memberof INavigationLinkResponse
5104
+ */
5105
+ 'object': any;
5106
+ /**
5107
+ *
5108
+ * @type {string}
5109
+ * @memberof INavigationLinkResponse
5110
+ */
5111
+ '_id': string;
5112
+ /**
5113
+ *
5114
+ * @type {string}
5115
+ * @memberof INavigationLinkResponse
5116
+ */
5117
+ 'title': string;
5118
+ /**
5119
+ *
5120
+ * @type {string}
5121
+ * @memberof INavigationLinkResponse
5122
+ */
5123
+ 'type': string;
5124
+ /**
5125
+ *
5126
+ * @type {string}
5127
+ * @memberof INavigationLinkResponse
5128
+ */
5129
+ 'url': string;
5093
5130
  /**
5094
5131
  *
5095
5132
  * @type {number}
5096
- * @memberof INavigationLink
5133
+ * @memberof INavigationLinkResponse
5097
5134
  */
5098
5135
  'levels': number;
5136
+ /**
5137
+ *
5138
+ * @type {Array<INavigationLinkResponse>}
5139
+ * @memberof INavigationLinkResponse
5140
+ */
5141
+ 'links': Array<INavigationLinkResponse>;
5099
5142
  }
5100
5143
  /**
5101
5144
  *
@@ -5111,16 +5154,16 @@ export interface INavigationPatchRequest {
5111
5154
  'title'?: string;
5112
5155
  /**
5113
5156
  *
5114
- * @type {LanguageEnum}
5157
+ * @type {Array<INavigationLink>}
5115
5158
  * @memberof INavigationPatchRequest
5116
5159
  */
5117
- 'locale'?: LanguageEnum;
5160
+ 'links'?: Array<INavigationLink>;
5118
5161
  /**
5119
5162
  *
5120
- * @type {Array<INavigationLink>}
5163
+ * @type {LanguageEnum}
5121
5164
  * @memberof INavigationPatchRequest
5122
5165
  */
5123
- 'links'?: Array<INavigationLink>;
5166
+ 'locale'?: LanguageEnum;
5124
5167
  }
5125
5168
  /**
5126
5169
  *
@@ -5148,16 +5191,16 @@ export interface INavigationPostRequest {
5148
5191
  'slug': string;
5149
5192
  /**
5150
5193
  *
5151
- * @type {LanguageEnum}
5194
+ * @type {Array<INavigationLink>}
5152
5195
  * @memberof INavigationPostRequest
5153
5196
  */
5154
- 'locale': LanguageEnum;
5197
+ 'links': Array<INavigationLink>;
5155
5198
  /**
5156
5199
  *
5157
- * @type {Array<INavigationLink>}
5200
+ * @type {LanguageEnum}
5158
5201
  * @memberof INavigationPostRequest
5159
5202
  */
5160
- 'links': Array<INavigationLink>;
5203
+ 'locale': LanguageEnum;
5161
5204
  }
5162
5205
  /**
5163
5206
  *
@@ -5165,6 +5208,12 @@ export interface INavigationPostRequest {
5165
5208
  * @interface INavigationResponse
5166
5209
  */
5167
5210
  export interface INavigationResponse {
5211
+ /**
5212
+ *
5213
+ * @type {string}
5214
+ * @memberof INavigationResponse
5215
+ */
5216
+ 'company': string;
5168
5217
  /**
5169
5218
  *
5170
5219
  * @type {string}
@@ -5194,31 +5243,25 @@ export interface INavigationResponse {
5194
5243
  * @type {string}
5195
5244
  * @memberof INavigationResponse
5196
5245
  */
5197
- 'company': string;
5198
- /**
5199
- *
5200
- * @type {LanguageEnum}
5201
- * @memberof INavigationResponse
5202
- */
5203
- 'locale': LanguageEnum;
5246
+ 'title': string;
5204
5247
  /**
5205
5248
  *
5206
5249
  * @type {string}
5207
5250
  * @memberof INavigationResponse
5208
5251
  */
5209
- 'title': string;
5252
+ 'slug': string;
5210
5253
  /**
5211
5254
  *
5212
- * @type {string}
5255
+ * @type {LanguageEnum}
5213
5256
  * @memberof INavigationResponse
5214
5257
  */
5215
- 'slug': string;
5258
+ 'locale': LanguageEnum;
5216
5259
  /**
5217
5260
  *
5218
- * @type {Array<INavigationLink>}
5261
+ * @type {Array<INavigationLinkResponse>}
5219
5262
  * @memberof INavigationResponse
5220
5263
  */
5221
- 'links': Array<INavigationLink>;
5264
+ 'links': Array<INavigationLinkResponse>;
5222
5265
  }
5223
5266
  /**
5224
5267
  *
@@ -11553,18 +11596,110 @@ export interface PickINavigationExcludeKeyofINavigationKeyofMongoResponse {
11553
11596
  * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11554
11597
  */
11555
11598
  'slug': string;
11599
+ /**
11600
+ *
11601
+ * @type {Array<INavigationLink>}
11602
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11603
+ */
11604
+ 'links': Array<INavigationLink>;
11556
11605
  /**
11557
11606
  *
11558
11607
  * @type {LanguageEnum}
11559
11608
  * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11560
11609
  */
11561
11610
  'locale': LanguageEnum;
11611
+ }
11612
+ /**
11613
+ * From T, pick a set of properties whose keys are in the union K
11614
+ * @export
11615
+ * @interface PickINavigationExcludeKeyofINavigationLinks
11616
+ */
11617
+ export interface PickINavigationExcludeKeyofINavigationLinks {
11618
+ /**
11619
+ *
11620
+ * @type {string}
11621
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11622
+ */
11623
+ 'company': string;
11624
+ /**
11625
+ *
11626
+ * @type {string}
11627
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11628
+ */
11629
+ '_id': string;
11630
+ /**
11631
+ *
11632
+ * @type {number}
11633
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11634
+ */
11635
+ '__v': number;
11636
+ /**
11637
+ *
11638
+ * @type {string}
11639
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11640
+ */
11641
+ 'createdAt': string;
11642
+ /**
11643
+ *
11644
+ * @type {string}
11645
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11646
+ */
11647
+ 'updatedAt': string;
11648
+ /**
11649
+ *
11650
+ * @type {string}
11651
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11652
+ */
11653
+ 'title': string;
11654
+ /**
11655
+ *
11656
+ * @type {string}
11657
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11658
+ */
11659
+ 'slug': string;
11660
+ /**
11661
+ *
11662
+ * @type {LanguageEnum}
11663
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11664
+ */
11665
+ 'locale': LanguageEnum;
11666
+ }
11667
+ /**
11668
+ * From T, pick a set of properties whose keys are in the union K
11669
+ * @export
11670
+ * @interface PickINavigationLinkExcludeKeyofINavigationLinkLinks
11671
+ */
11672
+ export interface PickINavigationLinkExcludeKeyofINavigationLinkLinks {
11562
11673
  /**
11563
11674
  *
11564
- * @type {Array<INavigationLink>}
11565
- * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11675
+ * @type {any}
11676
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11566
11677
  */
11567
- 'links': Array<INavigationLink>;
11678
+ 'object': any;
11679
+ /**
11680
+ *
11681
+ * @type {string}
11682
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11683
+ */
11684
+ '_id': string;
11685
+ /**
11686
+ *
11687
+ * @type {string}
11688
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11689
+ */
11690
+ 'title': string;
11691
+ /**
11692
+ *
11693
+ * @type {string}
11694
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11695
+ */
11696
+ 'type': string;
11697
+ /**
11698
+ *
11699
+ * @type {string}
11700
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11701
+ */
11702
+ 'url': string;
11568
11703
  }
11569
11704
  /**
11570
11705
  * From T, pick a set of properties whose keys are in the union K
@@ -22767,11 +22902,10 @@ export declare const TemplateApiAxiosParamCreator: (configuration?: Configuratio
22767
22902
  * @param {string} [type]
22768
22903
  * @param {string} [search]
22769
22904
  * @param {string} [theme]
22770
- * @param {boolean} [unique]
22771
22905
  * @param {*} [options] Override http request option.
22772
22906
  * @throws {RequiredError}
22773
22907
  */
22774
- getTemplates: (companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22908
+ getTemplates: (companyId: string, type?: string, search?: string, theme?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22775
22909
  /**
22776
22910
  *
22777
22911
  * @param {string} id
@@ -22806,11 +22940,10 @@ export declare const TemplateApiFp: (configuration?: Configuration) => {
22806
22940
  * @param {string} [type]
22807
22941
  * @param {string} [search]
22808
22942
  * @param {string} [theme]
22809
- * @param {boolean} [unique]
22810
22943
  * @param {*} [options] Override http request option.
22811
22944
  * @throws {RequiredError}
22812
22945
  */
22813
- getTemplates(companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
22946
+ getTemplates(companyId: string, type?: string, search?: string, theme?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
22814
22947
  /**
22815
22948
  *
22816
22949
  * @param {string} id
@@ -22910,12 +23043,6 @@ export interface TemplateApiGetTemplatesRequest {
22910
23043
  * @memberof TemplateApiGetTemplates
22911
23044
  */
22912
23045
  readonly theme?: string;
22913
- /**
22914
- *
22915
- * @type {boolean}
22916
- * @memberof TemplateApiGetTemplates
22917
- */
22918
- readonly unique?: boolean;
22919
23046
  }
22920
23047
  /**
22921
23048
  * Request parameters for updateTemplate operation in TemplateApi.
package/dist/api/api.js CHANGED
@@ -11762,11 +11762,10 @@ const TemplateApiAxiosParamCreator = function (configuration) {
11762
11762
  * @param {string} [type]
11763
11763
  * @param {string} [search]
11764
11764
  * @param {string} [theme]
11765
- * @param {boolean} [unique]
11766
11765
  * @param {*} [options] Override http request option.
11767
11766
  * @throws {RequiredError}
11768
11767
  */
11769
- getTemplates: async (companyId, type, search, theme, unique, options = {}) => {
11768
+ getTemplates: async (companyId, type, search, theme, options = {}) => {
11770
11769
  // verify required parameter 'companyId' is not null or undefined
11771
11770
  (0, common_1.assertParamExists)('getTemplates', 'companyId', companyId);
11772
11771
  const localVarPath = `/api/templates`;
@@ -11791,9 +11790,6 @@ const TemplateApiAxiosParamCreator = function (configuration) {
11791
11790
  if (theme !== undefined) {
11792
11791
  localVarQueryParameter['theme'] = theme;
11793
11792
  }
11794
- if (unique !== undefined) {
11795
- localVarQueryParameter['unique'] = unique;
11796
- }
11797
11793
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11798
11794
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11799
11795
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -11875,12 +11871,11 @@ const TemplateApiFp = function (configuration) {
11875
11871
  * @param {string} [type]
11876
11872
  * @param {string} [search]
11877
11873
  * @param {string} [theme]
11878
- * @param {boolean} [unique]
11879
11874
  * @param {*} [options] Override http request option.
11880
11875
  * @throws {RequiredError}
11881
11876
  */
11882
- async getTemplates(companyId, type, search, theme, unique, options) {
11883
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, unique, options);
11877
+ async getTemplates(companyId, type, search, theme, options) {
11878
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, options);
11884
11879
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11885
11880
  const localVarOperationServerBasePath = base_1.operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
11886
11881
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11933,7 +11928,7 @@ const TemplateApiFactory = function (configuration, basePath, axios) {
11933
11928
  * @throws {RequiredError}
11934
11929
  */
11935
11930
  getTemplates(requestParameters, options) {
11936
- return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(axios, basePath));
11931
+ return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(axios, basePath));
11937
11932
  },
11938
11933
  /**
11939
11934
  *
@@ -11982,7 +11977,7 @@ class TemplateApi extends base_1.BaseAPI {
11982
11977
  * @memberof TemplateApi
11983
11978
  */
11984
11979
  getTemplates(requestParameters, options) {
11985
- return (0, exports.TemplateApiFp)(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(this.axios, this.basePath));
11980
+ return (0, exports.TemplateApiFp)(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
11986
11981
  }
11987
11982
  /**
11988
11983
  *
package/dist/api/api.mjs CHANGED
@@ -11682,11 +11682,10 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
11682
11682
  * @param {string} [type]
11683
11683
  * @param {string} [search]
11684
11684
  * @param {string} [theme]
11685
- * @param {boolean} [unique]
11686
11685
  * @param {*} [options] Override http request option.
11687
11686
  * @throws {RequiredError}
11688
11687
  */
11689
- getTemplates: async (companyId, type, search, theme, unique, options = {}) => {
11688
+ getTemplates: async (companyId, type, search, theme, options = {}) => {
11690
11689
  // verify required parameter 'companyId' is not null or undefined
11691
11690
  assertParamExists('getTemplates', 'companyId', companyId);
11692
11691
  const localVarPath = `/api/templates`;
@@ -11711,9 +11710,6 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
11711
11710
  if (theme !== undefined) {
11712
11711
  localVarQueryParameter['theme'] = theme;
11713
11712
  }
11714
- if (unique !== undefined) {
11715
- localVarQueryParameter['unique'] = unique;
11716
- }
11717
11713
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11718
11714
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11719
11715
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -11794,12 +11790,11 @@ export const TemplateApiFp = function (configuration) {
11794
11790
  * @param {string} [type]
11795
11791
  * @param {string} [search]
11796
11792
  * @param {string} [theme]
11797
- * @param {boolean} [unique]
11798
11793
  * @param {*} [options] Override http request option.
11799
11794
  * @throws {RequiredError}
11800
11795
  */
11801
- async getTemplates(companyId, type, search, theme, unique, options) {
11802
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, unique, options);
11796
+ async getTemplates(companyId, type, search, theme, options) {
11797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, options);
11803
11798
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11804
11799
  const localVarOperationServerBasePath = operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
11805
11800
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11851,7 +11846,7 @@ export const TemplateApiFactory = function (configuration, basePath, axios) {
11851
11846
  * @throws {RequiredError}
11852
11847
  */
11853
11848
  getTemplates(requestParameters, options) {
11854
- return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(axios, basePath));
11849
+ return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(axios, basePath));
11855
11850
  },
11856
11851
  /**
11857
11852
  *
@@ -11899,7 +11894,7 @@ export class TemplateApi extends BaseAPI {
11899
11894
  * @memberof TemplateApi
11900
11895
  */
11901
11896
  getTemplates(requestParameters, options) {
11902
- return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(this.axios, this.basePath));
11897
+ return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
11903
11898
  }
11904
11899
  /**
11905
11900
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.55",
3
+ "version": "1.3.56",
4
4
  "description": "api-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "a1464e90c026cd04549482c0200787d645397c81"
40
+ "gitHead": "e29435b92aaa8ec010c486a6f3ed37019f3065cd"
41
41
  }