@infisale-client/api 1.2.86 → 1.2.88
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 +33 -41
- package/dist/api/api.js +15 -5
- package/dist/api/api.mjs +15 -5
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -6010,6 +6010,12 @@ export interface IPayment {
|
|
|
6010
6010
|
* @memberof IPayment
|
|
6011
6011
|
*/
|
|
6012
6012
|
'total': number;
|
|
6013
|
+
/**
|
|
6014
|
+
*
|
|
6015
|
+
* @type {string}
|
|
6016
|
+
* @memberof IPayment
|
|
6017
|
+
*/
|
|
6018
|
+
'iframe': string;
|
|
6013
6019
|
/**
|
|
6014
6020
|
*
|
|
6015
6021
|
* @type {PaymentStatusEnum}
|
|
@@ -6060,36 +6066,6 @@ export interface IPaymentPostRequest {
|
|
|
6060
6066
|
* @memberof IPaymentPostRequest
|
|
6061
6067
|
*/
|
|
6062
6068
|
'period': IPaymentPostRequestPeriodEnum;
|
|
6063
|
-
/**
|
|
6064
|
-
*
|
|
6065
|
-
* @type {string}
|
|
6066
|
-
* @memberof IPaymentPostRequest
|
|
6067
|
-
*/
|
|
6068
|
-
'cardOwner': string;
|
|
6069
|
-
/**
|
|
6070
|
-
*
|
|
6071
|
-
* @type {string}
|
|
6072
|
-
* @memberof IPaymentPostRequest
|
|
6073
|
-
*/
|
|
6074
|
-
'cardNumber': string;
|
|
6075
|
-
/**
|
|
6076
|
-
*
|
|
6077
|
-
* @type {string}
|
|
6078
|
-
* @memberof IPaymentPostRequest
|
|
6079
|
-
*/
|
|
6080
|
-
'cardExpiryMonth': string;
|
|
6081
|
-
/**
|
|
6082
|
-
*
|
|
6083
|
-
* @type {string}
|
|
6084
|
-
* @memberof IPaymentPostRequest
|
|
6085
|
-
*/
|
|
6086
|
-
'cardExpiryYear': string;
|
|
6087
|
-
/**
|
|
6088
|
-
*
|
|
6089
|
-
* @type {string}
|
|
6090
|
-
* @memberof IPaymentPostRequest
|
|
6091
|
-
*/
|
|
6092
|
-
'cardCvv': string;
|
|
6093
6069
|
}
|
|
6094
6070
|
export declare const IPaymentPostRequestPeriodEnum: {
|
|
6095
6071
|
readonly MONTHLY: "monthly";
|
|
@@ -6099,37 +6075,37 @@ export type IPaymentPostRequestPeriodEnum = typeof IPaymentPostRequestPeriodEnum
|
|
|
6099
6075
|
/**
|
|
6100
6076
|
*
|
|
6101
6077
|
* @export
|
|
6102
|
-
* @interface
|
|
6078
|
+
* @interface IPaymentsResponse
|
|
6103
6079
|
*/
|
|
6104
|
-
export interface
|
|
6080
|
+
export interface IPaymentsResponse {
|
|
6105
6081
|
/**
|
|
6106
6082
|
*
|
|
6107
6083
|
* @type {number}
|
|
6108
|
-
* @memberof
|
|
6084
|
+
* @memberof IPaymentsResponse
|
|
6109
6085
|
*/
|
|
6110
6086
|
'totalPages': number;
|
|
6111
6087
|
/**
|
|
6112
6088
|
*
|
|
6113
6089
|
* @type {number}
|
|
6114
|
-
* @memberof
|
|
6090
|
+
* @memberof IPaymentsResponse
|
|
6115
6091
|
*/
|
|
6116
6092
|
'page': number;
|
|
6117
6093
|
/**
|
|
6118
6094
|
*
|
|
6119
6095
|
* @type {number}
|
|
6120
|
-
* @memberof
|
|
6096
|
+
* @memberof IPaymentsResponse
|
|
6121
6097
|
*/
|
|
6122
6098
|
'itemsPerPage': number;
|
|
6123
6099
|
/**
|
|
6124
6100
|
*
|
|
6125
6101
|
* @type {number}
|
|
6126
|
-
* @memberof
|
|
6102
|
+
* @memberof IPaymentsResponse
|
|
6127
6103
|
*/
|
|
6128
6104
|
'total': number;
|
|
6129
6105
|
/**
|
|
6130
6106
|
*
|
|
6131
6107
|
* @type {Array<IPayment>}
|
|
6132
|
-
* @memberof
|
|
6108
|
+
* @memberof IPaymentsResponse
|
|
6133
6109
|
*/
|
|
6134
6110
|
'data': Array<IPayment>;
|
|
6135
6111
|
}
|
|
@@ -14041,10 +14017,12 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14041
14017
|
/**
|
|
14042
14018
|
*
|
|
14043
14019
|
* @param {string} id
|
|
14020
|
+
* @param {number} [itemsPerPage]
|
|
14021
|
+
* @param {number} [page]
|
|
14044
14022
|
* @param {*} [options] Override http request option.
|
|
14045
14023
|
* @throws {RequiredError}
|
|
14046
14024
|
*/
|
|
14047
|
-
getCompanyPayments: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14025
|
+
getCompanyPayments: (id: string, itemsPerPage?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14048
14026
|
/**
|
|
14049
14027
|
*
|
|
14050
14028
|
* @param {string} id
|
|
@@ -14289,10 +14267,12 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
14289
14267
|
/**
|
|
14290
14268
|
*
|
|
14291
14269
|
* @param {string} id
|
|
14270
|
+
* @param {number} [itemsPerPage]
|
|
14271
|
+
* @param {number} [page]
|
|
14292
14272
|
* @param {*} [options] Override http request option.
|
|
14293
14273
|
* @throws {RequiredError}
|
|
14294
14274
|
*/
|
|
14295
|
-
getCompanyPayments(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
14275
|
+
getCompanyPayments(id: string, itemsPerPage?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPaymentsResponse>>;
|
|
14296
14276
|
/**
|
|
14297
14277
|
*
|
|
14298
14278
|
* @param {string} id
|
|
@@ -14514,7 +14494,7 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
14514
14494
|
* @param {*} [options] Override http request option.
|
|
14515
14495
|
* @throws {RequiredError}
|
|
14516
14496
|
*/
|
|
14517
|
-
getCompanyPayments(requestParameters: CompanyApiGetCompanyPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
14497
|
+
getCompanyPayments(requestParameters: CompanyApiGetCompanyPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IPaymentsResponse>;
|
|
14518
14498
|
/**
|
|
14519
14499
|
*
|
|
14520
14500
|
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
@@ -14970,6 +14950,18 @@ export interface CompanyApiGetCompanyPaymentsRequest {
|
|
|
14970
14950
|
* @memberof CompanyApiGetCompanyPayments
|
|
14971
14951
|
*/
|
|
14972
14952
|
readonly id: string;
|
|
14953
|
+
/**
|
|
14954
|
+
*
|
|
14955
|
+
* @type {number}
|
|
14956
|
+
* @memberof CompanyApiGetCompanyPayments
|
|
14957
|
+
*/
|
|
14958
|
+
readonly itemsPerPage?: number;
|
|
14959
|
+
/**
|
|
14960
|
+
*
|
|
14961
|
+
* @type {number}
|
|
14962
|
+
* @memberof CompanyApiGetCompanyPayments
|
|
14963
|
+
*/
|
|
14964
|
+
readonly page?: number;
|
|
14973
14965
|
}
|
|
14974
14966
|
/**
|
|
14975
14967
|
* Request parameters for getCompanyProductReviews operation in CompanyApi.
|
|
@@ -15352,7 +15344,7 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
15352
15344
|
* @throws {RequiredError}
|
|
15353
15345
|
* @memberof CompanyApi
|
|
15354
15346
|
*/
|
|
15355
|
-
getCompanyPayments(requestParameters: CompanyApiGetCompanyPaymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
15347
|
+
getCompanyPayments(requestParameters: CompanyApiGetCompanyPaymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IPaymentsResponse, any>>;
|
|
15356
15348
|
/**
|
|
15357
15349
|
*
|
|
15358
15350
|
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -4213,10 +4213,12 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4213
4213
|
/**
|
|
4214
4214
|
*
|
|
4215
4215
|
* @param {string} id
|
|
4216
|
+
* @param {number} [itemsPerPage]
|
|
4217
|
+
* @param {number} [page]
|
|
4216
4218
|
* @param {*} [options] Override http request option.
|
|
4217
4219
|
* @throws {RequiredError}
|
|
4218
4220
|
*/
|
|
4219
|
-
getCompanyPayments: async (id, options = {}) => {
|
|
4221
|
+
getCompanyPayments: async (id, itemsPerPage, page, options = {}) => {
|
|
4220
4222
|
// verify required parameter 'id' is not null or undefined
|
|
4221
4223
|
(0, common_1.assertParamExists)('getCompanyPayments', 'id', id);
|
|
4222
4224
|
const localVarPath = `/api/companies/{id}/payments`
|
|
@@ -4230,6 +4232,12 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4230
4232
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4231
4233
|
const localVarHeaderParameter = {};
|
|
4232
4234
|
const localVarQueryParameter = {};
|
|
4235
|
+
if (itemsPerPage !== undefined) {
|
|
4236
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
4237
|
+
}
|
|
4238
|
+
if (page !== undefined) {
|
|
4239
|
+
localVarQueryParameter['page'] = page;
|
|
4240
|
+
}
|
|
4233
4241
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4234
4242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4235
4243
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4881,11 +4889,13 @@ const CompanyApiFp = function (configuration) {
|
|
|
4881
4889
|
/**
|
|
4882
4890
|
*
|
|
4883
4891
|
* @param {string} id
|
|
4892
|
+
* @param {number} [itemsPerPage]
|
|
4893
|
+
* @param {number} [page]
|
|
4884
4894
|
* @param {*} [options] Override http request option.
|
|
4885
4895
|
* @throws {RequiredError}
|
|
4886
4896
|
*/
|
|
4887
|
-
async getCompanyPayments(id, options) {
|
|
4888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPayments(id, options);
|
|
4897
|
+
async getCompanyPayments(id, itemsPerPage, page, options) {
|
|
4898
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPayments(id, itemsPerPage, page, options);
|
|
4889
4899
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4890
4900
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyPayments']?.[localVarOperationServerIndex]?.url;
|
|
4891
4901
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5211,7 +5221,7 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5211
5221
|
* @throws {RequiredError}
|
|
5212
5222
|
*/
|
|
5213
5223
|
getCompanyPayments(requestParameters, options) {
|
|
5214
|
-
return localVarFp.getCompanyPayments(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5224
|
+
return localVarFp.getCompanyPayments(requestParameters.id, requestParameters.itemsPerPage, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
5215
5225
|
},
|
|
5216
5226
|
/**
|
|
5217
5227
|
*
|
|
@@ -5498,7 +5508,7 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
5498
5508
|
* @memberof CompanyApi
|
|
5499
5509
|
*/
|
|
5500
5510
|
getCompanyPayments(requestParameters, options) {
|
|
5501
|
-
return (0, exports.CompanyApiFp)(this.configuration).getCompanyPayments(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5511
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyPayments(requestParameters.id, requestParameters.itemsPerPage, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
5502
5512
|
}
|
|
5503
5513
|
/**
|
|
5504
5514
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -4177,10 +4177,12 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4177
4177
|
/**
|
|
4178
4178
|
*
|
|
4179
4179
|
* @param {string} id
|
|
4180
|
+
* @param {number} [itemsPerPage]
|
|
4181
|
+
* @param {number} [page]
|
|
4180
4182
|
* @param {*} [options] Override http request option.
|
|
4181
4183
|
* @throws {RequiredError}
|
|
4182
4184
|
*/
|
|
4183
|
-
getCompanyPayments: async (id, options = {}) => {
|
|
4185
|
+
getCompanyPayments: async (id, itemsPerPage, page, options = {}) => {
|
|
4184
4186
|
// verify required parameter 'id' is not null or undefined
|
|
4185
4187
|
assertParamExists('getCompanyPayments', 'id', id);
|
|
4186
4188
|
const localVarPath = `/api/companies/{id}/payments`
|
|
@@ -4194,6 +4196,12 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4194
4196
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4195
4197
|
const localVarHeaderParameter = {};
|
|
4196
4198
|
const localVarQueryParameter = {};
|
|
4199
|
+
if (itemsPerPage !== undefined) {
|
|
4200
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
4201
|
+
}
|
|
4202
|
+
if (page !== undefined) {
|
|
4203
|
+
localVarQueryParameter['page'] = page;
|
|
4204
|
+
}
|
|
4197
4205
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4198
4206
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4199
4207
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4844,11 +4852,13 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4844
4852
|
/**
|
|
4845
4853
|
*
|
|
4846
4854
|
* @param {string} id
|
|
4855
|
+
* @param {number} [itemsPerPage]
|
|
4856
|
+
* @param {number} [page]
|
|
4847
4857
|
* @param {*} [options] Override http request option.
|
|
4848
4858
|
* @throws {RequiredError}
|
|
4849
4859
|
*/
|
|
4850
|
-
async getCompanyPayments(id, options) {
|
|
4851
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPayments(id, options);
|
|
4860
|
+
async getCompanyPayments(id, itemsPerPage, page, options) {
|
|
4861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPayments(id, itemsPerPage, page, options);
|
|
4852
4862
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4853
4863
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyPayments']?.[localVarOperationServerIndex]?.url;
|
|
4854
4864
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5173,7 +5183,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5173
5183
|
* @throws {RequiredError}
|
|
5174
5184
|
*/
|
|
5175
5185
|
getCompanyPayments(requestParameters, options) {
|
|
5176
|
-
return localVarFp.getCompanyPayments(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5186
|
+
return localVarFp.getCompanyPayments(requestParameters.id, requestParameters.itemsPerPage, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
5177
5187
|
},
|
|
5178
5188
|
/**
|
|
5179
5189
|
*
|
|
@@ -5459,7 +5469,7 @@ export class CompanyApi extends BaseAPI {
|
|
|
5459
5469
|
* @memberof CompanyApi
|
|
5460
5470
|
*/
|
|
5461
5471
|
getCompanyPayments(requestParameters, options) {
|
|
5462
|
-
return CompanyApiFp(this.configuration).getCompanyPayments(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5472
|
+
return CompanyApiFp(this.configuration).getCompanyPayments(requestParameters.id, requestParameters.itemsPerPage, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
5463
5473
|
}
|
|
5464
5474
|
/**
|
|
5465
5475
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.88",
|
|
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": "
|
|
40
|
+
"gitHead": "f7a54efa204f5c9e1df7b6a93d95fa632f8ad9f5"
|
|
41
41
|
}
|