@seekora-ai/admin-api 1.1.6 → 1.1.8
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 +6 -2
- package/api.ts +936 -11
- package/dist/api.d.ts +797 -9
- package/dist/api.js +273 -16
- package/dist/esm/api.d.ts +797 -9
- package/dist/esm/api.js +263 -10
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.8.tgz +0 -0
- package/seekora-ai-admin-api-1.1.6.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -84,6 +84,11 @@ export const DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
|
84
84
|
ExpiringCredits: 'expiring_credits',
|
|
85
85
|
DaysRemaining: 'days_remaining'
|
|
86
86
|
};
|
|
87
|
+
export const DataTypesBillingAlertRequestThresholdUnitEnum = {
|
|
88
|
+
Credits: 'credits',
|
|
89
|
+
Days: 'days',
|
|
90
|
+
Percentage: 'percentage'
|
|
91
|
+
};
|
|
87
92
|
export const DataTypesCreateCustomWordListRequestTypeEnum = {
|
|
88
93
|
Stopwords: 'stopwords',
|
|
89
94
|
Synonyms: 'synonyms'
|
|
@@ -9996,6 +10001,170 @@ export class CommonApi extends BaseAPI {
|
|
|
9996
10001
|
return CommonApiFp(this.configuration).v1CommonLanguagesGet(options).then((request) => request(this.axios, this.basePath));
|
|
9997
10002
|
}
|
|
9998
10003
|
}
|
|
10004
|
+
/**
|
|
10005
|
+
* CompanyConfigApi - axios parameter creator
|
|
10006
|
+
* @export
|
|
10007
|
+
*/
|
|
10008
|
+
export const CompanyConfigApiAxiosParamCreator = function (configuration) {
|
|
10009
|
+
return {
|
|
10010
|
+
/**
|
|
10011
|
+
* Retrieves company information used on invoices and receipts
|
|
10012
|
+
* @summary Get company configuration
|
|
10013
|
+
* @param {*} [options] Override http request option.
|
|
10014
|
+
* @throws {RequiredError}
|
|
10015
|
+
*/
|
|
10016
|
+
adminV1ConfigCompanyGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
10017
|
+
const localVarPath = `/admin/v1/config/company`;
|
|
10018
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10020
|
+
let baseOptions;
|
|
10021
|
+
if (configuration) {
|
|
10022
|
+
baseOptions = configuration.baseOptions;
|
|
10023
|
+
}
|
|
10024
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10025
|
+
const localVarHeaderParameter = {};
|
|
10026
|
+
const localVarQueryParameter = {};
|
|
10027
|
+
// authentication BearerAuth required
|
|
10028
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
10029
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10031
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10032
|
+
return {
|
|
10033
|
+
url: toPathString(localVarUrlObj),
|
|
10034
|
+
options: localVarRequestOptions,
|
|
10035
|
+
};
|
|
10036
|
+
}),
|
|
10037
|
+
/**
|
|
10038
|
+
* Updates company information used on invoices and receipts
|
|
10039
|
+
* @summary Update company configuration
|
|
10040
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10041
|
+
* @param {*} [options] Override http request option.
|
|
10042
|
+
* @throws {RequiredError}
|
|
10043
|
+
*/
|
|
10044
|
+
adminV1ConfigCompanyPut: (dataTypesCompanyConfigRequest_1, ...args_1) => __awaiter(this, [dataTypesCompanyConfigRequest_1, ...args_1], void 0, function* (dataTypesCompanyConfigRequest, options = {}) {
|
|
10045
|
+
// verify required parameter 'dataTypesCompanyConfigRequest' is not null or undefined
|
|
10046
|
+
assertParamExists('adminV1ConfigCompanyPut', 'dataTypesCompanyConfigRequest', dataTypesCompanyConfigRequest);
|
|
10047
|
+
const localVarPath = `/admin/v1/config/company`;
|
|
10048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10049
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10050
|
+
let baseOptions;
|
|
10051
|
+
if (configuration) {
|
|
10052
|
+
baseOptions = configuration.baseOptions;
|
|
10053
|
+
}
|
|
10054
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
10055
|
+
const localVarHeaderParameter = {};
|
|
10056
|
+
const localVarQueryParameter = {};
|
|
10057
|
+
// authentication BearerAuth required
|
|
10058
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
10059
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10060
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10061
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10062
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10063
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCompanyConfigRequest, localVarRequestOptions, configuration);
|
|
10064
|
+
return {
|
|
10065
|
+
url: toPathString(localVarUrlObj),
|
|
10066
|
+
options: localVarRequestOptions,
|
|
10067
|
+
};
|
|
10068
|
+
}),
|
|
10069
|
+
};
|
|
10070
|
+
};
|
|
10071
|
+
/**
|
|
10072
|
+
* CompanyConfigApi - functional programming interface
|
|
10073
|
+
* @export
|
|
10074
|
+
*/
|
|
10075
|
+
export const CompanyConfigApiFp = function (configuration) {
|
|
10076
|
+
const localVarAxiosParamCreator = CompanyConfigApiAxiosParamCreator(configuration);
|
|
10077
|
+
return {
|
|
10078
|
+
/**
|
|
10079
|
+
* Retrieves company information used on invoices and receipts
|
|
10080
|
+
* @summary Get company configuration
|
|
10081
|
+
* @param {*} [options] Override http request option.
|
|
10082
|
+
* @throws {RequiredError}
|
|
10083
|
+
*/
|
|
10084
|
+
adminV1ConfigCompanyGet(options) {
|
|
10085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10086
|
+
var _a, _b, _c;
|
|
10087
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyGet(options);
|
|
10088
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10089
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CompanyConfigApi.adminV1ConfigCompanyGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10091
|
+
});
|
|
10092
|
+
},
|
|
10093
|
+
/**
|
|
10094
|
+
* Updates company information used on invoices and receipts
|
|
10095
|
+
* @summary Update company configuration
|
|
10096
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10097
|
+
* @param {*} [options] Override http request option.
|
|
10098
|
+
* @throws {RequiredError}
|
|
10099
|
+
*/
|
|
10100
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10102
|
+
var _a, _b, _c;
|
|
10103
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options);
|
|
10104
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10105
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CompanyConfigApi.adminV1ConfigCompanyPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10106
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10107
|
+
});
|
|
10108
|
+
},
|
|
10109
|
+
};
|
|
10110
|
+
};
|
|
10111
|
+
/**
|
|
10112
|
+
* CompanyConfigApi - factory interface
|
|
10113
|
+
* @export
|
|
10114
|
+
*/
|
|
10115
|
+
export const CompanyConfigApiFactory = function (configuration, basePath, axios) {
|
|
10116
|
+
const localVarFp = CompanyConfigApiFp(configuration);
|
|
10117
|
+
return {
|
|
10118
|
+
/**
|
|
10119
|
+
* Retrieves company information used on invoices and receipts
|
|
10120
|
+
* @summary Get company configuration
|
|
10121
|
+
* @param {*} [options] Override http request option.
|
|
10122
|
+
* @throws {RequiredError}
|
|
10123
|
+
*/
|
|
10124
|
+
adminV1ConfigCompanyGet(options) {
|
|
10125
|
+
return localVarFp.adminV1ConfigCompanyGet(options).then((request) => request(axios, basePath));
|
|
10126
|
+
},
|
|
10127
|
+
/**
|
|
10128
|
+
* Updates company information used on invoices and receipts
|
|
10129
|
+
* @summary Update company configuration
|
|
10130
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10131
|
+
* @param {*} [options] Override http request option.
|
|
10132
|
+
* @throws {RequiredError}
|
|
10133
|
+
*/
|
|
10134
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10135
|
+
return localVarFp.adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(axios, basePath));
|
|
10136
|
+
},
|
|
10137
|
+
};
|
|
10138
|
+
};
|
|
10139
|
+
/**
|
|
10140
|
+
* CompanyConfigApi - object-oriented interface
|
|
10141
|
+
* @export
|
|
10142
|
+
* @class CompanyConfigApi
|
|
10143
|
+
* @extends {BaseAPI}
|
|
10144
|
+
*/
|
|
10145
|
+
export class CompanyConfigApi extends BaseAPI {
|
|
10146
|
+
/**
|
|
10147
|
+
* Retrieves company information used on invoices and receipts
|
|
10148
|
+
* @summary Get company configuration
|
|
10149
|
+
* @param {*} [options] Override http request option.
|
|
10150
|
+
* @throws {RequiredError}
|
|
10151
|
+
* @memberof CompanyConfigApi
|
|
10152
|
+
*/
|
|
10153
|
+
adminV1ConfigCompanyGet(options) {
|
|
10154
|
+
return CompanyConfigApiFp(this.configuration).adminV1ConfigCompanyGet(options).then((request) => request(this.axios, this.basePath));
|
|
10155
|
+
}
|
|
10156
|
+
/**
|
|
10157
|
+
* Updates company information used on invoices and receipts
|
|
10158
|
+
* @summary Update company configuration
|
|
10159
|
+
* @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
|
|
10160
|
+
* @param {*} [options] Override http request option.
|
|
10161
|
+
* @throws {RequiredError}
|
|
10162
|
+
* @memberof CompanyConfigApi
|
|
10163
|
+
*/
|
|
10164
|
+
adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options) {
|
|
10165
|
+
return CompanyConfigApiFp(this.configuration).adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
9999
10168
|
/**
|
|
10000
10169
|
* ConnectorsApi - axios parameter creator
|
|
10001
10170
|
* @export
|
|
@@ -18213,10 +18382,22 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
18213
18382
|
* @summary List orders (paginated)
|
|
18214
18383
|
* @param {number} [page] Page number (default 1)
|
|
18215
18384
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
18216
|
-
* @param {
|
|
18217
|
-
* @
|
|
18218
|
-
|
|
18219
|
-
|
|
18385
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
18386
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
18387
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
18388
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
18389
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
18390
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
18391
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
18392
|
+
* @param {number} [amountMin] Minimum order amount
|
|
18393
|
+
* @param {number} [amountMax] Maximum order amount
|
|
18394
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
18395
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
18396
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18397
|
+
* @param {*} [options] Override http request option.
|
|
18398
|
+
* @throws {RequiredError}
|
|
18399
|
+
*/
|
|
18400
|
+
adminPaymentGatewayOrdersGet: (page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, statuses_1, paymentTypes_1, gateways_1, currencies_1, createdFrom_1, createdTo_1, amountMin_1, amountMax_1, sort_1, sortBy_1, sortOrder_1, ...args_1], void 0, function* (page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options = {}) {
|
|
18220
18401
|
const localVarPath = `/admin/payment-gateway/orders`;
|
|
18221
18402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18222
18403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18235,6 +18416,42 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
18235
18416
|
if (pageSize !== undefined) {
|
|
18236
18417
|
localVarQueryParameter['page_size'] = pageSize;
|
|
18237
18418
|
}
|
|
18419
|
+
if (search !== undefined) {
|
|
18420
|
+
localVarQueryParameter['search'] = search;
|
|
18421
|
+
}
|
|
18422
|
+
if (statuses !== undefined) {
|
|
18423
|
+
localVarQueryParameter['statuses'] = statuses;
|
|
18424
|
+
}
|
|
18425
|
+
if (paymentTypes !== undefined) {
|
|
18426
|
+
localVarQueryParameter['payment_types'] = paymentTypes;
|
|
18427
|
+
}
|
|
18428
|
+
if (gateways !== undefined) {
|
|
18429
|
+
localVarQueryParameter['gateways'] = gateways;
|
|
18430
|
+
}
|
|
18431
|
+
if (currencies !== undefined) {
|
|
18432
|
+
localVarQueryParameter['currencies'] = currencies;
|
|
18433
|
+
}
|
|
18434
|
+
if (createdFrom !== undefined) {
|
|
18435
|
+
localVarQueryParameter['created_from'] = createdFrom;
|
|
18436
|
+
}
|
|
18437
|
+
if (createdTo !== undefined) {
|
|
18438
|
+
localVarQueryParameter['created_to'] = createdTo;
|
|
18439
|
+
}
|
|
18440
|
+
if (amountMin !== undefined) {
|
|
18441
|
+
localVarQueryParameter['amount_min'] = amountMin;
|
|
18442
|
+
}
|
|
18443
|
+
if (amountMax !== undefined) {
|
|
18444
|
+
localVarQueryParameter['amount_max'] = amountMax;
|
|
18445
|
+
}
|
|
18446
|
+
if (sort !== undefined) {
|
|
18447
|
+
localVarQueryParameter['sort'] = sort;
|
|
18448
|
+
}
|
|
18449
|
+
if (sortBy !== undefined) {
|
|
18450
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
18451
|
+
}
|
|
18452
|
+
if (sortOrder !== undefined) {
|
|
18453
|
+
localVarQueryParameter['sort_order'] = sortOrder;
|
|
18454
|
+
}
|
|
18238
18455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18239
18456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18240
18457
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18579,13 +18796,25 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
18579
18796
|
* @summary List orders (paginated)
|
|
18580
18797
|
* @param {number} [page] Page number (default 1)
|
|
18581
18798
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
18799
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
18800
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
18801
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
18802
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
18803
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
18804
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
18805
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
18806
|
+
* @param {number} [amountMin] Minimum order amount
|
|
18807
|
+
* @param {number} [amountMax] Maximum order amount
|
|
18808
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
18809
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
18810
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18582
18811
|
* @param {*} [options] Override http request option.
|
|
18583
18812
|
* @throws {RequiredError}
|
|
18584
18813
|
*/
|
|
18585
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18814
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
18586
18815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18587
18816
|
var _a, _b, _c;
|
|
18588
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, options);
|
|
18817
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options);
|
|
18589
18818
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18590
18819
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18591
18820
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18777,11 +19006,23 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
18777
19006
|
* @summary List orders (paginated)
|
|
18778
19007
|
* @param {number} [page] Page number (default 1)
|
|
18779
19008
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
19009
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
19010
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
19011
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
19012
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
19013
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
19014
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
19015
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
19016
|
+
* @param {number} [amountMin] Minimum order amount
|
|
19017
|
+
* @param {number} [amountMax] Maximum order amount
|
|
19018
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
19019
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
19020
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18780
19021
|
* @param {*} [options] Override http request option.
|
|
18781
19022
|
* @throws {RequiredError}
|
|
18782
19023
|
*/
|
|
18783
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18784
|
-
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(axios, basePath));
|
|
19024
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
19025
|
+
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
18785
19026
|
},
|
|
18786
19027
|
/**
|
|
18787
19028
|
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
@@ -18918,12 +19159,24 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
18918
19159
|
* @summary List orders (paginated)
|
|
18919
19160
|
* @param {number} [page] Page number (default 1)
|
|
18920
19161
|
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
19162
|
+
* @param {string} [search] Search by order ID, gateway references, amount, or customer details
|
|
19163
|
+
* @param {string} [statuses] Comma-separated statuses to include
|
|
19164
|
+
* @param {string} [paymentTypes] Comma-separated payment types to include
|
|
19165
|
+
* @param {string} [gateways] Comma-separated gateways to include
|
|
19166
|
+
* @param {string} [currencies] Comma-separated currencies to include
|
|
19167
|
+
* @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
|
|
19168
|
+
* @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
|
|
19169
|
+
* @param {number} [amountMin] Minimum order amount
|
|
19170
|
+
* @param {number} [amountMax] Maximum order amount
|
|
19171
|
+
* @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
|
|
19172
|
+
* @param {string} [sortBy] Legacy single-field sort
|
|
19173
|
+
* @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
|
|
18921
19174
|
* @param {*} [options] Override http request option.
|
|
18922
19175
|
* @throws {RequiredError}
|
|
18923
19176
|
* @memberof PaymentGatewayApi
|
|
18924
19177
|
*/
|
|
18925
|
-
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18926
|
-
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
19178
|
+
adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options) {
|
|
19179
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, search, statuses, paymentTypes, gateways, currencies, createdFrom, createdTo, amountMin, amountMax, sort, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
18927
19180
|
}
|
|
18928
19181
|
/**
|
|
18929
19182
|
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|