@infisale-client/api-client 1.1.24 → 1.1.26
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 +20 -14
- package/dist/api/api.js +11 -11
- package/dist/api/api.mjs +11 -11
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -779,7 +779,13 @@ export interface IBrandCollectionQueryParams {
|
|
|
779
779
|
* @type {string}
|
|
780
780
|
* @memberof IBrandCollectionQueryParams
|
|
781
781
|
*/
|
|
782
|
-
'company_id'
|
|
782
|
+
'company_id'?: string;
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof IBrandCollectionQueryParams
|
|
787
|
+
*/
|
|
788
|
+
'domain'?: string;
|
|
783
789
|
/**
|
|
784
790
|
*
|
|
785
791
|
* @type {ContentStatusEnum}
|
|
@@ -1065,7 +1071,13 @@ export interface ICategoryCollectionQueryParams {
|
|
|
1065
1071
|
* @type {string}
|
|
1066
1072
|
* @memberof ICategoryCollectionQueryParams
|
|
1067
1073
|
*/
|
|
1068
|
-
'company_id'
|
|
1074
|
+
'company_id'?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof ICategoryCollectionQueryParams
|
|
1079
|
+
*/
|
|
1080
|
+
'domain'?: string;
|
|
1069
1081
|
/**
|
|
1070
1082
|
*
|
|
1071
1083
|
* @type {ContentStatusEnum}
|
|
@@ -1426,7 +1438,7 @@ export interface ICollectionCollectionsQueryParams {
|
|
|
1426
1438
|
* @type {string}
|
|
1427
1439
|
* @memberof ICollectionCollectionsQueryParams
|
|
1428
1440
|
*/
|
|
1429
|
-
'
|
|
1441
|
+
'company_id': string;
|
|
1430
1442
|
/**
|
|
1431
1443
|
*
|
|
1432
1444
|
* @type {ContentStatusEnum}
|
|
@@ -5600,12 +5612,6 @@ export interface IResetPasswordRequest {
|
|
|
5600
5612
|
* @memberof IResetPasswordRequest
|
|
5601
5613
|
*/
|
|
5602
5614
|
'code': string;
|
|
5603
|
-
/**
|
|
5604
|
-
*
|
|
5605
|
-
* @type {string}
|
|
5606
|
-
* @memberof IResetPasswordRequest
|
|
5607
|
-
*/
|
|
5608
|
-
'email': string;
|
|
5609
5615
|
}
|
|
5610
5616
|
/**
|
|
5611
5617
|
*
|
|
@@ -8530,7 +8536,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8530
8536
|
getCollectionBySlug: (slug: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8531
8537
|
/**
|
|
8532
8538
|
*
|
|
8533
|
-
* @param {string}
|
|
8539
|
+
* @param {string} companyId
|
|
8534
8540
|
* @param {number} [page]
|
|
8535
8541
|
* @param {number} [itemsPerPage]
|
|
8536
8542
|
* @param {string} [search]
|
|
@@ -8543,7 +8549,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
8543
8549
|
* @param {*} [options] Override http request option.
|
|
8544
8550
|
* @throws {RequiredError}
|
|
8545
8551
|
*/
|
|
8546
|
-
getCollections: (
|
|
8552
|
+
getCollections: (companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8547
8553
|
};
|
|
8548
8554
|
/**
|
|
8549
8555
|
* CollectionApi - functional programming interface
|
|
@@ -8560,7 +8566,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
8560
8566
|
getCollectionBySlug(slug: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICollectionResponse>>;
|
|
8561
8567
|
/**
|
|
8562
8568
|
*
|
|
8563
|
-
* @param {string}
|
|
8569
|
+
* @param {string} companyId
|
|
8564
8570
|
* @param {number} [page]
|
|
8565
8571
|
* @param {number} [itemsPerPage]
|
|
8566
8572
|
* @param {string} [search]
|
|
@@ -8573,7 +8579,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
8573
8579
|
* @param {*} [options] Override http request option.
|
|
8574
8580
|
* @throws {RequiredError}
|
|
8575
8581
|
*/
|
|
8576
|
-
getCollections(
|
|
8582
|
+
getCollections(companyId: string, page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: string, order?: OrderEnum, sort?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ICollectionsResponse>>;
|
|
8577
8583
|
};
|
|
8578
8584
|
/**
|
|
8579
8585
|
* CollectionApi - factory interface
|
|
@@ -8625,7 +8631,7 @@ export interface CollectionApiGetCollectionsRequest {
|
|
|
8625
8631
|
* @type {string}
|
|
8626
8632
|
* @memberof CollectionApiGetCollections
|
|
8627
8633
|
*/
|
|
8628
|
-
readonly
|
|
8634
|
+
readonly companyId: string;
|
|
8629
8635
|
/**
|
|
8630
8636
|
*
|
|
8631
8637
|
* @type {number}
|
package/dist/api/api.js
CHANGED
|
@@ -1365,7 +1365,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1365
1365
|
},
|
|
1366
1366
|
/**
|
|
1367
1367
|
*
|
|
1368
|
-
* @param {string}
|
|
1368
|
+
* @param {string} companyId
|
|
1369
1369
|
* @param {number} [page]
|
|
1370
1370
|
* @param {number} [itemsPerPage]
|
|
1371
1371
|
* @param {string} [search]
|
|
@@ -1378,9 +1378,9 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1378
1378
|
* @param {*} [options] Override http request option.
|
|
1379
1379
|
* @throws {RequiredError}
|
|
1380
1380
|
*/
|
|
1381
|
-
getCollections: async (
|
|
1382
|
-
// verify required parameter '
|
|
1383
|
-
(0, common_1.assertParamExists)('getCollections', '
|
|
1381
|
+
getCollections: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
|
|
1382
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
1383
|
+
(0, common_1.assertParamExists)('getCollections', 'companyId', companyId);
|
|
1384
1384
|
const localVarPath = `/api/collections`;
|
|
1385
1385
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1386
1386
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1419,8 +1419,8 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1419
1419
|
if (sort !== undefined) {
|
|
1420
1420
|
localVarQueryParameter['sort'] = sort;
|
|
1421
1421
|
}
|
|
1422
|
-
if (
|
|
1423
|
-
localVarQueryParameter['
|
|
1422
|
+
if (companyId !== undefined) {
|
|
1423
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
1424
1424
|
}
|
|
1425
1425
|
if (status !== undefined) {
|
|
1426
1426
|
localVarQueryParameter['status'] = status;
|
|
@@ -1458,7 +1458,7 @@ const CollectionApiFp = function (configuration) {
|
|
|
1458
1458
|
},
|
|
1459
1459
|
/**
|
|
1460
1460
|
*
|
|
1461
|
-
* @param {string}
|
|
1461
|
+
* @param {string} companyId
|
|
1462
1462
|
* @param {number} [page]
|
|
1463
1463
|
* @param {number} [itemsPerPage]
|
|
1464
1464
|
* @param {string} [search]
|
|
@@ -1471,8 +1471,8 @@ const CollectionApiFp = function (configuration) {
|
|
|
1471
1471
|
* @param {*} [options] Override http request option.
|
|
1472
1472
|
* @throws {RequiredError}
|
|
1473
1473
|
*/
|
|
1474
|
-
async getCollections(
|
|
1475
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollections(
|
|
1474
|
+
async getCollections(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
|
|
1475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollections(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
|
|
1476
1476
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1477
1477
|
const localVarOperationServerBasePath = base_1.operationServerMap['CollectionApi.getCollections']?.[localVarOperationServerIndex]?.url;
|
|
1478
1478
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1503,7 +1503,7 @@ const CollectionApiFactory = function (configuration, basePath, axios) {
|
|
|
1503
1503
|
* @throws {RequiredError}
|
|
1504
1504
|
*/
|
|
1505
1505
|
getCollections(requestParameters, options) {
|
|
1506
|
-
return localVarFp.getCollections(requestParameters.
|
|
1506
|
+
return localVarFp.getCollections(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
1507
1507
|
},
|
|
1508
1508
|
};
|
|
1509
1509
|
};
|
|
@@ -1533,7 +1533,7 @@ class CollectionApi extends base_1.BaseAPI {
|
|
|
1533
1533
|
* @memberof CollectionApi
|
|
1534
1534
|
*/
|
|
1535
1535
|
getCollections(requestParameters, options) {
|
|
1536
|
-
return (0, exports.CollectionApiFp)(this.configuration).getCollections(requestParameters.
|
|
1536
|
+
return (0, exports.CollectionApiFp)(this.configuration).getCollections(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
1539
|
exports.CollectionApi = CollectionApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -1347,7 +1347,7 @@ export const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1347
1347
|
},
|
|
1348
1348
|
/**
|
|
1349
1349
|
*
|
|
1350
|
-
* @param {string}
|
|
1350
|
+
* @param {string} companyId
|
|
1351
1351
|
* @param {number} [page]
|
|
1352
1352
|
* @param {number} [itemsPerPage]
|
|
1353
1353
|
* @param {string} [search]
|
|
@@ -1360,9 +1360,9 @@ export const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1360
1360
|
* @param {*} [options] Override http request option.
|
|
1361
1361
|
* @throws {RequiredError}
|
|
1362
1362
|
*/
|
|
1363
|
-
getCollections: async (
|
|
1364
|
-
// verify required parameter '
|
|
1365
|
-
assertParamExists('getCollections', '
|
|
1363
|
+
getCollections: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
|
|
1364
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
1365
|
+
assertParamExists('getCollections', 'companyId', companyId);
|
|
1366
1366
|
const localVarPath = `/api/collections`;
|
|
1367
1367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1368
1368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1401,8 +1401,8 @@ export const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
1401
1401
|
if (sort !== undefined) {
|
|
1402
1402
|
localVarQueryParameter['sort'] = sort;
|
|
1403
1403
|
}
|
|
1404
|
-
if (
|
|
1405
|
-
localVarQueryParameter['
|
|
1404
|
+
if (companyId !== undefined) {
|
|
1405
|
+
localVarQueryParameter['company_id'] = companyId;
|
|
1406
1406
|
}
|
|
1407
1407
|
if (status !== undefined) {
|
|
1408
1408
|
localVarQueryParameter['status'] = status;
|
|
@@ -1439,7 +1439,7 @@ export const CollectionApiFp = function (configuration) {
|
|
|
1439
1439
|
},
|
|
1440
1440
|
/**
|
|
1441
1441
|
*
|
|
1442
|
-
* @param {string}
|
|
1442
|
+
* @param {string} companyId
|
|
1443
1443
|
* @param {number} [page]
|
|
1444
1444
|
* @param {number} [itemsPerPage]
|
|
1445
1445
|
* @param {string} [search]
|
|
@@ -1452,8 +1452,8 @@ export const CollectionApiFp = function (configuration) {
|
|
|
1452
1452
|
* @param {*} [options] Override http request option.
|
|
1453
1453
|
* @throws {RequiredError}
|
|
1454
1454
|
*/
|
|
1455
|
-
async getCollections(
|
|
1456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollections(
|
|
1455
|
+
async getCollections(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
|
|
1456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollections(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
|
|
1457
1457
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1458
1458
|
const localVarOperationServerBasePath = operationServerMap['CollectionApi.getCollections']?.[localVarOperationServerIndex]?.url;
|
|
1459
1459
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1483,7 +1483,7 @@ export const CollectionApiFactory = function (configuration, basePath, axios) {
|
|
|
1483
1483
|
* @throws {RequiredError}
|
|
1484
1484
|
*/
|
|
1485
1485
|
getCollections(requestParameters, options) {
|
|
1486
|
-
return localVarFp.getCollections(requestParameters.
|
|
1486
|
+
return localVarFp.getCollections(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
1487
1487
|
},
|
|
1488
1488
|
};
|
|
1489
1489
|
};
|
|
@@ -1512,7 +1512,7 @@ export class CollectionApi extends BaseAPI {
|
|
|
1512
1512
|
* @memberof CollectionApi
|
|
1513
1513
|
*/
|
|
1514
1514
|
getCollections(requestParameters, options) {
|
|
1515
|
-
return CollectionApiFp(this.configuration).getCollections(requestParameters.
|
|
1515
|
+
return CollectionApiFp(this.configuration).getCollections(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.26",
|
|
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",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"bugs": {
|
|
37
37
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c3d8bb7be01888d5dd08ea8d1083c0f7628a50e4"
|
|
40
40
|
}
|