@infisale-client/api-client 1.2.0 → 1.2.2

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
@@ -4739,6 +4739,18 @@ export interface IPageGetAllQueryParams {
4739
4739
  * @memberof IPageGetAllQueryParams
4740
4740
  */
4741
4741
  'domain'?: string;
4742
+ /**
4743
+ *
4744
+ * @type {string}
4745
+ * @memberof IPageGetAllQueryParams
4746
+ */
4747
+ 'search'?: string;
4748
+ /**
4749
+ *
4750
+ * @type {string}
4751
+ * @memberof IPageGetAllQueryParams
4752
+ */
4753
+ 'template'?: string;
4742
4754
  /**
4743
4755
  *
4744
4756
  * @type {Array<PageTypeEnum>}
@@ -9380,10 +9392,11 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
9380
9392
  * @param {string} type
9381
9393
  * @param {string} [companyId]
9382
9394
  * @param {string} [domain]
9395
+ * @param {string} [template]
9383
9396
  * @param {*} [options] Override http request option.
9384
9397
  * @throws {RequiredError}
9385
9398
  */
9386
- getPageByType: (type: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9399
+ getPageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9387
9400
  /**
9388
9401
  *
9389
9402
  * @param {number} [page]
@@ -9422,10 +9435,11 @@ export declare const PageApiFp: (configuration?: Configuration) => {
9422
9435
  * @param {string} type
9423
9436
  * @param {string} [companyId]
9424
9437
  * @param {string} [domain]
9438
+ * @param {string} [template]
9425
9439
  * @param {*} [options] Override http request option.
9426
9440
  * @throws {RequiredError}
9427
9441
  */
9428
- getPageByType(type: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
9442
+ getPageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
9429
9443
  /**
9430
9444
  *
9431
9445
  * @param {number} [page]
@@ -9521,6 +9535,12 @@ export interface PageApiGetPageByTypeRequest {
9521
9535
  * @memberof PageApiGetPageByType
9522
9536
  */
9523
9537
  readonly domain?: string;
9538
+ /**
9539
+ *
9540
+ * @type {string}
9541
+ * @memberof PageApiGetPageByType
9542
+ */
9543
+ readonly template?: string;
9524
9544
  }
9525
9545
  /**
9526
9546
  * Request parameters for getPages operation in PageApi.
package/dist/api/api.js CHANGED
@@ -1801,10 +1801,11 @@ const PageApiAxiosParamCreator = function (configuration) {
1801
1801
  * @param {string} type
1802
1802
  * @param {string} [companyId]
1803
1803
  * @param {string} [domain]
1804
+ * @param {string} [template]
1804
1805
  * @param {*} [options] Override http request option.
1805
1806
  * @throws {RequiredError}
1806
1807
  */
1807
- getPageByType: async (type, companyId, domain, options = {}) => {
1808
+ getPageByType: async (type, companyId, domain, template, options = {}) => {
1808
1809
  // verify required parameter 'type' is not null or undefined
1809
1810
  (0, common_1.assertParamExists)('getPageByType', 'type', type);
1810
1811
  const localVarPath = `/api/pages/type/{type}`
@@ -1824,6 +1825,9 @@ const PageApiAxiosParamCreator = function (configuration) {
1824
1825
  if (domain !== undefined) {
1825
1826
  localVarQueryParameter['domain'] = domain;
1826
1827
  }
1828
+ if (template !== undefined) {
1829
+ localVarQueryParameter['template'] = template;
1830
+ }
1827
1831
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1828
1832
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1829
1833
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1937,11 +1941,12 @@ const PageApiFp = function (configuration) {
1937
1941
  * @param {string} type
1938
1942
  * @param {string} [companyId]
1939
1943
  * @param {string} [domain]
1944
+ * @param {string} [template]
1940
1945
  * @param {*} [options] Override http request option.
1941
1946
  * @throws {RequiredError}
1942
1947
  */
1943
- async getPageByType(type, companyId, domain, options) {
1944
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, options);
1948
+ async getPageByType(type, companyId, domain, template, options) {
1949
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, template, options);
1945
1950
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1946
1951
  const localVarOperationServerBasePath = base_1.operationServerMap['PageApi.getPageByType']?.[localVarOperationServerIndex]?.url;
1947
1952
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1995,7 +2000,7 @@ const PageApiFactory = function (configuration, basePath, axios) {
1995
2000
  * @throws {RequiredError}
1996
2001
  */
1997
2002
  getPageByType(requestParameters, options) {
1998
- return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
2003
+ return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
1999
2004
  },
2000
2005
  /**
2001
2006
  *
@@ -2034,7 +2039,7 @@ class PageApi extends base_1.BaseAPI {
2034
2039
  * @memberof PageApi
2035
2040
  */
2036
2041
  getPageByType(requestParameters, options) {
2037
- return (0, exports.PageApiFp)(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2042
+ return (0, exports.PageApiFp)(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
2038
2043
  }
2039
2044
  /**
2040
2045
  *
package/dist/api/api.mjs CHANGED
@@ -1771,10 +1771,11 @@ export const PageApiAxiosParamCreator = function (configuration) {
1771
1771
  * @param {string} type
1772
1772
  * @param {string} [companyId]
1773
1773
  * @param {string} [domain]
1774
+ * @param {string} [template]
1774
1775
  * @param {*} [options] Override http request option.
1775
1776
  * @throws {RequiredError}
1776
1777
  */
1777
- getPageByType: async (type, companyId, domain, options = {}) => {
1778
+ getPageByType: async (type, companyId, domain, template, options = {}) => {
1778
1779
  // verify required parameter 'type' is not null or undefined
1779
1780
  assertParamExists('getPageByType', 'type', type);
1780
1781
  const localVarPath = `/api/pages/type/{type}`
@@ -1794,6 +1795,9 @@ export const PageApiAxiosParamCreator = function (configuration) {
1794
1795
  if (domain !== undefined) {
1795
1796
  localVarQueryParameter['domain'] = domain;
1796
1797
  }
1798
+ if (template !== undefined) {
1799
+ localVarQueryParameter['template'] = template;
1800
+ }
1797
1801
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1798
1802
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1799
1803
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1906,11 +1910,12 @@ export const PageApiFp = function (configuration) {
1906
1910
  * @param {string} type
1907
1911
  * @param {string} [companyId]
1908
1912
  * @param {string} [domain]
1913
+ * @param {string} [template]
1909
1914
  * @param {*} [options] Override http request option.
1910
1915
  * @throws {RequiredError}
1911
1916
  */
1912
- async getPageByType(type, companyId, domain, options) {
1913
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, options);
1917
+ async getPageByType(type, companyId, domain, template, options) {
1918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPageByType(type, companyId, domain, template, options);
1914
1919
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1915
1920
  const localVarOperationServerBasePath = operationServerMap['PageApi.getPageByType']?.[localVarOperationServerIndex]?.url;
1916
1921
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1963,7 +1968,7 @@ export const PageApiFactory = function (configuration, basePath, axios) {
1963
1968
  * @throws {RequiredError}
1964
1969
  */
1965
1970
  getPageByType(requestParameters, options) {
1966
- return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
1971
+ return localVarFp.getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
1967
1972
  },
1968
1973
  /**
1969
1974
  *
@@ -2001,7 +2006,7 @@ export class PageApi extends BaseAPI {
2001
2006
  * @memberof PageApi
2002
2007
  */
2003
2008
  getPageByType(requestParameters, options) {
2004
- return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2009
+ return PageApiFp(this.configuration).getPageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
2005
2010
  }
2006
2011
  /**
2007
2012
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "api-client-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": "7f3c350c684764a92afbbc687368fd94fa465e87"
40
+ "gitHead": "3cb2ec854a960845a98e9316932587953369cf49"
41
41
  }