@atomsolution/invoice-sdk-api 1.29.0 → 1.30.0

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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
2
2
  import { Configuration } from './configuration';
3
- import { BaseAPI, RequestArgs } from './base';
3
+ import { RequestArgs } from './base';
4
4
  /**
5
5
  *
6
6
  * @export
@@ -1083,6 +1083,51 @@ export interface GetInvoiceSerialsError {
1083
1083
  */
1084
1084
  datail?: Array<any>;
1085
1085
  }
1086
+ /**
1087
+ *
1088
+ * @export
1089
+ * @interface GetQuotasRequest
1090
+ */
1091
+ export interface GetQuotasRequest {
1092
+ /**
1093
+ * Mã sản phẩm
1094
+ * @type {string}
1095
+ * @memberof GetQuotasRequest
1096
+ */
1097
+ product_code: string;
1098
+ }
1099
+ /**
1100
+ *
1101
+ * @export
1102
+ * @interface GetQuotasResponse
1103
+ */
1104
+ export interface GetQuotasResponse {
1105
+ /**
1106
+ * Trạng thái của yêu cầu
1107
+ * @type {string}
1108
+ * @memberof GetQuotasResponse
1109
+ */
1110
+ success?: string;
1111
+ /**
1112
+ * Dữ liệu thông tin số lượng hóa đơn
1113
+ * @type {Array<any>}
1114
+ * @memberof GetQuotasResponse
1115
+ */
1116
+ data?: Array<any>;
1117
+ }
1118
+ /**
1119
+ *
1120
+ * @export
1121
+ * @interface GetQuotasError
1122
+ */
1123
+ export interface GetQuotasError {
1124
+ /**
1125
+ * Lỗi khi lấy thông tin số lượng hóa đơn
1126
+ * @type {string}
1127
+ * @memberof GetQuotasError
1128
+ */
1129
+ error?: string;
1130
+ }
1086
1131
  /**
1087
1132
  * DefaultApi - axios parameter creator
1088
1133
  * @export
@@ -1191,6 +1236,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1191
1236
  * @throws {RequiredError}
1192
1237
  */
1193
1238
  getInvoiceSerials: (params: GetInvoiceSerialsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1239
+ /**
1240
+ * Lấy thông tin số lượng hóa đơn dựa trên mã sản phẩm.
1241
+ * @summary API lấy thông tin số lượng hóa đơn
1242
+ * @param {GetQuotasRequest} params
1243
+ * @param {*} [options] Override http request option.
1244
+ * @throws {RequiredError}
1245
+ */
1246
+ getQuotas: (params: GetQuotasRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1194
1247
  };
1195
1248
  /**
1196
1249
  * DefaultApi - functional programming interface
@@ -1305,128 +1358,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1305
1358
  * @throws {RequiredError}
1306
1359
  */
1307
1360
  getInvoiceSerials(params: GetInvoiceSerialsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceSerialsResponse>>;
1308
- };
1309
- /**
1310
- * DefaultApi - object-oriented interface
1311
- * @export
1312
- * @class DefaultApi
1313
- * @extends {BaseAPI}
1314
- */
1315
- export declare class DefaultApi extends BaseAPI {
1316
- /**
1317
- * Tạo một hóa đơn mới theo định dạng dựa trên thông tin được cung cấp.
1318
- * @summary Create invoice
1319
- * @param {CreateInvoiceRequest} createInvoiceRequest
1320
- * @param {*} [options] Override http request option.
1321
- * @throws {RequiredError}
1322
- * @memberof DefaultApi
1323
- */
1324
- createInvoice(createInvoiceRequest: CreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CreateInvoiceSuccess, any>>;
1325
- /**
1326
- * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1327
- * @summary API lấy thông tin hóa đơn
1328
- * @param {string} id id hóa đơn.
1329
- * @param {string} stax mã số thuế bên bán
1330
- * @param {*} [options] Override http request option.
1331
- * @throws {RequiredError}
1332
- * @memberof DefaultApi
1333
- */
1334
- getInvoice(params: GetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceResponse, any>>;
1335
- /**
1336
- * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1337
- * @summary API lấy danh sách hóa đơn
1338
- * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1339
- * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1340
- * @param {string} stax mã số thuế bên bán
1341
- * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1342
- * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1343
- * @param {string} [serial] Ký hiệu hóa đơn để lọc
1344
- * @param {*} [options] Override http request option.
1345
- * @throws {RequiredError}
1346
- * @memberof DefaultApi
1347
- */
1348
- getInvoices(params: GetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoicesSuccess, any>>;
1349
- /**
1350
- * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1351
- * @summary API ký hóa đơn
1352
- * @param {SignContractRequest} signContractRequest
1353
- * @param {*} [options] Override http request option.
1354
- * @throws {RequiredError}
1355
- * @memberof DefaultApi
1356
- */
1357
- signContract(signContractRequest: SignContractRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignContractResponse, any>>;
1358
- /**
1359
- * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1360
- * @summary API đăng nhập
1361
- * @param {SignInRequest} signInRequest
1362
- * @param {*} [options] Override http request option.
1363
- * @throws {RequiredError}
1364
- * @memberof DefaultApi
1365
- */
1366
- signIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInResponse, any>>;
1367
- /**
1368
- * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1369
- * @summary API xem in hóa đơn
1370
- * @param {string} id id hóa đơn.
1371
- * @param {string} stax mã số thuế bên bán
1372
- * @param {*} [options] Override http request option.
1373
- * @throws {RequiredError}
1374
- * @memberof DefaultApi
1375
- */
1376
- viewPrintInvoice(id: string, stax?: string, template_code?: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ViewPrintInvoiceResponse, any>>;
1377
1361
  /**
1378
- * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1379
- * @summary API lấy thông tin số thuế
1380
- * @param {string} tax Mã số thuế cần tra cứu
1381
- * @param {*} [options] Override http request option.
1382
- * @throws {RequiredError}
1383
- * @memberof DefaultApi
1384
- */
1385
- taxInfo(tax: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<TaxInfoResponse, any>>;
1386
- /**
1387
- * Single Sign-On login for merchants using provider and tax code.
1388
- * @summary API merchant SSO login
1389
- * @param {SignInSSORequest} signInSSORequest
1362
+ * Lấy thông tin số lượng hóa đơn dựa trên mã sản phẩm.
1363
+ * @summary API lấy thông tin số lượng hóa đơn
1364
+ * @param {GetQuotasRequest} params
1390
1365
  * @param {*} [options] Override http request option.
1391
1366
  * @throws {RequiredError}
1392
- * @memberof DefaultApi
1393
1367
  */
1394
- signInSSO(signInSSORequest: SignInSSORequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInSSOResponse, any>>;
1395
- /**
1396
- * Single Sign-On logout for merchants using provider and tax code.
1397
- * @summary API merchant SSO logout
1398
- * @param {*} [options] Override http request option.
1399
- * @throws {RequiredError}
1400
- * @memberof DefaultApi
1401
- */
1402
- signOutSSO(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignOutSSOResponse, any>>;
1403
- /**
1404
- * Check authentication status for merchants using provider and tax code.
1405
- * @summary API check auth
1406
- * @param {*} [options] Override http request option.
1407
- * @throws {RequiredError}
1408
- * @memberof DefaultApi
1409
- */
1410
- checkAuth(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckAuthResponse, any>>;
1411
- /**
1412
- * Check customer declaration status with filtering options.
1413
- * @summary API check customer declaration status
1414
- * @param {CheckCustomerDeclarationStatusRequest} params
1415
- * @param {*} [options] Override http request option.
1416
- * @throws {RequiredError}
1417
- * @memberof DefaultApi
1418
- */
1419
- checkCustomerDeclarationStatus(params: CheckCustomerDeclarationStatusRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckCustomerDeclarationStatusResponse, any>>;
1420
- /**
1421
- * Check authentication status for merchants using provider and tax code.
1422
- * @summary API check auth
1423
- * @param {number} [invType]
1424
- * @param {*} [options] Override http request option.
1425
- * @throws {RequiredError}
1426
- * @memberof DefaultApi
1427
- */
1428
- getInvoiceSerials(params: GetInvoiceSerialsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceSerialsResponse, any>>;
1429
- }
1368
+ getQuotas(params: GetQuotasRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetQuotasResponse>>;
1369
+ };
1430
1370
  /**
1431
1371
  * Unified API functions distinguished by provider in configuration
1432
1372
  * @export
@@ -1486,4 +1426,8 @@ export declare const InvoiceApi: (configuration?: Configuration, basePath?: stri
1486
1426
  * Get invoice serials
1487
1427
  */
1488
1428
  getInvoiceSerials(params: GetInvoiceSerialsRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceSerialsResponse, any>>;
1429
+ /**
1430
+ * Get invoice quotas (Unified)
1431
+ */
1432
+ getQuotas(params: GetQuotasRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetQuotasResponse, any>>;
1489
1433
  };
package/dist/base.d.ts CHANGED
@@ -1,15 +1,4 @@
1
- import { Configuration } from './configuration';
2
- import { AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- /**
4
- *
5
- * @export
6
- */
7
- export declare const COLLECTION_FORMATS: {
8
- csv: string;
9
- ssv: string;
10
- tsv: string;
11
- pipes: string;
12
- };
1
+ import { RawAxiosRequestConfig } from 'axios';
13
2
  /**
14
3
  *
15
4
  * @export
@@ -19,17 +8,6 @@ export interface RequestArgs {
19
8
  url: string;
20
9
  options: RawAxiosRequestConfig;
21
10
  }
22
- /**
23
- *
24
- * @export
25
- * @class BaseAPI
26
- */
27
- export declare class BaseAPI {
28
- protected basePath: string;
29
- protected axios: AxiosInstance;
30
- protected configuration: Configuration | undefined;
31
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
32
- }
33
11
  /**
34
12
  *
35
13
  * @export
package/dist/index.esm.js CHANGED
@@ -194,19 +194,6 @@ function clearProvider(provider, merchantId) {
194
194
  function clearAllProviders(merchantId) {
195
195
  localStorage.removeItem("".concat(STORAGE_KEY, "_").concat(merchantId));
196
196
  }
197
- class BaseAPI {
198
- constructor(configuration, basePath = "", axios = globalAxios) {
199
- this.basePath = basePath;
200
- this.axios = axios;
201
- if (configuration) {
202
- this.configuration = configuration;
203
- this.basePath = configuration.basePath ? "".concat(configuration.basePath.replace(
204
- /\/+$/,
205
- ""
206
- ), "/").concat(configuration.provider.replace(/^\/+|\/+$/g, "")) : "".concat(basePath, "/").concat(configuration.provider.replace(/^\/+|\/+$/g, ""));
207
- }
208
- }
209
- }
210
197
  class RequiredError extends Error {
211
198
  constructor(field, msg) {
212
199
  super(msg);
@@ -797,6 +784,42 @@ const DefaultApiAxiosParamCreator = function(configuration) {
797
784
  url: localVarUrlObj ? toPathString(localVarUrlObj) : "",
798
785
  options: localVarRequestOptions
799
786
  };
787
+ }),
788
+ /**
789
+ * Lấy thông tin số lượng hóa đơn dựa trên mã sản phẩm.
790
+ * @summary API lấy thông tin số lượng hóa đơn
791
+ * @param {GetQuotasRequest} params
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ */
795
+ getQuotas: (_0, ..._1) => __async(null, [_0, ..._1], function* (params, options = {}) {
796
+ assertParamExists("getQuotas", "getQuotasRequest", params);
797
+ let baseOptions;
798
+ let localVarPath;
799
+ let localVarUrlObj;
800
+ if (configuration) {
801
+ baseOptions = configuration.baseOptions;
802
+ localVarPath = "".concat(configuration.provider, "/get-quotas");
803
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
804
+ }
805
+ const localVarRequestOptions = __spreadValues(__spreadValues({
806
+ method: "GET"
807
+ }, baseOptions), options);
808
+ const localVarHeaderParameter = {};
809
+ const localVarQueryParameter = {};
810
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
811
+ if (params.product_code !== void 0) {
812
+ localVarQueryParameter["product_code"] = params.product_code;
813
+ }
814
+ if (localVarUrlObj) {
815
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
816
+ }
817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
818
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
819
+ return {
820
+ url: localVarUrlObj ? toPathString(localVarUrlObj) : "",
821
+ options: localVarRequestOptions
822
+ };
800
823
  })
801
824
  };
802
825
  };
@@ -1100,148 +1123,33 @@ const DefaultApiFp = function(configuration) {
1100
1123
  configuration
1101
1124
  )(axios, localVarOperationServerBasePath || basePath);
1102
1125
  });
1126
+ },
1127
+ /**
1128
+ * Lấy thông tin số lượng hóa đơn dựa trên mã sản phẩm.
1129
+ * @summary API lấy thông tin số lượng hóa đơn
1130
+ * @param {GetQuotasRequest} params
1131
+ * @param {*} [options] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ getQuotas(params, options) {
1135
+ return __async(this, null, function* () {
1136
+ var _a2, _b, _c;
1137
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getQuotas(
1138
+ params,
1139
+ options
1140
+ );
1141
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
1142
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DefaultApi.getQuotas"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
1143
+ return (axios, basePath) => createRequestFunction(
1144
+ localVarAxiosArgs,
1145
+ globalAxios,
1146
+ BASE_PATH,
1147
+ configuration
1148
+ )(axios, localVarOperationServerBasePath || basePath);
1149
+ });
1103
1150
  }
1104
1151
  };
1105
1152
  };
1106
- class DefaultApi extends BaseAPI {
1107
- /**
1108
- * Tạo một hóa đơn mới theo định dạng dựa trên thông tin được cung cấp.
1109
- * @summary Create invoice
1110
- * @param {CreateInvoiceRequest} createInvoiceRequest
1111
- * @param {*} [options] Override http request option.
1112
- * @throws {RequiredError}
1113
- * @memberof DefaultApi
1114
- */
1115
- createInvoice(createInvoiceRequest, options) {
1116
- return DefaultApiFp(this.configuration).createInvoice(createInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
1117
- }
1118
- /**
1119
- * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1120
- * @summary API lấy thông tin hóa đơn
1121
- * @param {string} id id hóa đơn.
1122
- * @param {string} stax mã số thuế bên bán
1123
- * @param {*} [options] Override http request option.
1124
- * @throws {RequiredError}
1125
- * @memberof DefaultApi
1126
- */
1127
- getInvoice(params, options) {
1128
- return DefaultApiFp(this.configuration).getInvoice(params, options).then((request) => request(this.axios, this.basePath));
1129
- }
1130
- /**
1131
- * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1132
- * @summary API lấy danh sách hóa đơn
1133
- * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1134
- * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1135
- * @param {string} stax mã số thuế bên bán
1136
- * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1137
- * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1138
- * @param {string} [serial] Ký hiệu hóa đơn để lọc
1139
- * @param {*} [options] Override http request option.
1140
- * @throws {RequiredError}
1141
- * @memberof DefaultApi
1142
- */
1143
- getInvoices(params, options) {
1144
- return DefaultApiFp(this.configuration).getInvoices(params, options).then((request) => request(this.axios, this.basePath));
1145
- }
1146
- /**
1147
- * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1148
- * @summary API ký hóa đơn
1149
- * @param {SignContractRequest} signContractRequest
1150
- * @param {*} [options] Override http request option.
1151
- * @throws {RequiredError}
1152
- * @memberof DefaultApi
1153
- */
1154
- signContract(signContractRequest, options) {
1155
- return DefaultApiFp(this.configuration).signContract(signContractRequest, options).then((request) => request(this.axios, this.basePath));
1156
- }
1157
- /**
1158
- * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1159
- * @summary API đăng nhập
1160
- * @param {SignInRequest} signInRequest
1161
- * @param {*} [options] Override http request option.
1162
- * @throws {RequiredError}
1163
- * @memberof DefaultApi
1164
- */
1165
- signIn(signInRequest, options) {
1166
- return DefaultApiFp(this.configuration).signIn(signInRequest, options).then((request) => request(this.axios, this.basePath));
1167
- }
1168
- /**
1169
- * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1170
- * @summary API xem in hóa đơn
1171
- * @param {string} id id hóa đơn.
1172
- * @param {string} stax mã số thuế bên bán
1173
- * @param {*} [options] Override http request option.
1174
- * @throws {RequiredError}
1175
- * @memberof DefaultApi
1176
- */
1177
- viewPrintInvoice(id, stax, template_code, options) {
1178
- return DefaultApiFp(this.configuration).viewPrintInvoice(id, stax, template_code, options).then((request) => request(this.axios, this.basePath));
1179
- }
1180
- /**
1181
- * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1182
- * @summary API lấy thông tin mã số thuế
1183
- * @param {string} tax Mã số thuế cần tra cứu
1184
- * @param {*} [options] Override http request option.
1185
- * @throws {RequiredError}
1186
- * @memberof DefaultApi
1187
- */
1188
- taxInfo(tax, options) {
1189
- return DefaultApiFp(this.configuration).taxInfo(tax, options).then((request) => request(this.axios, this.basePath));
1190
- }
1191
- /**
1192
- * Single Sign-On login for merchants using provider and tax code.
1193
- * @summary API merchant SSO login
1194
- * @param {SignInSSORequest} signInSSORequest
1195
- * @param {*} [options] Override http request option.
1196
- * @throws {RequiredError}
1197
- * @memberof DefaultApi
1198
- */
1199
- signInSSO(signInSSORequest, options) {
1200
- return DefaultApiFp(this.configuration).signInSSO(signInSSORequest, options).then((request) => request(this.axios, this.basePath));
1201
- }
1202
- /**
1203
- * Single Sign-On logout for merchants using provider and tax code.
1204
- * @summary API merchant SSO logout
1205
- * @param {*} [options] Override http request option.
1206
- * @throws {RequiredError}
1207
- * @memberof DefaultApi
1208
- */
1209
- signOutSSO(options) {
1210
- return DefaultApiFp(this.configuration).signOutSSO(options).then((request) => request(this.axios, this.basePath));
1211
- }
1212
- /**
1213
- * Check authentication status for merchants using provider and tax code.
1214
- * @summary API check auth
1215
- * @param {*} [options] Override http request option.
1216
- * @throws {RequiredError}
1217
- * @memberof DefaultApi
1218
- */
1219
- checkAuth(options) {
1220
- return DefaultApiFp(this.configuration).checkAuth(options).then((request) => request(this.axios, this.basePath));
1221
- }
1222
- /**
1223
- * Check customer declaration status with filtering options.
1224
- * @summary API check customer declaration status
1225
- * @param {CheckCustomerDeclarationStatusRequest} params
1226
- * @param {*} [options] Override http request option.
1227
- * @throws {RequiredError}
1228
- * @memberof DefaultApi
1229
- */
1230
- checkCustomerDeclarationStatus(params, options) {
1231
- return DefaultApiFp(this.configuration).checkCustomerDeclarationStatus(params, options).then((request) => request(this.axios, this.basePath));
1232
- }
1233
- /**
1234
- * Check authentication status for merchants using provider and tax code.
1235
- * @summary API check auth
1236
- * @param {number} [invType]
1237
- * @param {*} [options] Override http request option.
1238
- * @throws {RequiredError}
1239
- * @memberof DefaultApi
1240
- */
1241
- getInvoiceSerials(params, options) {
1242
- return DefaultApiFp(this.configuration).getInvoiceSerials(params, options).then((request) => request(this.axios, this.basePath));
1243
- }
1244
- }
1245
1153
  const InvoiceApi = function(configuration, basePath, axios) {
1246
1154
  const localVarFp = DefaultApiFp(configuration);
1247
1155
  return {
@@ -1321,12 +1229,17 @@ const InvoiceApi = function(configuration, basePath, axios) {
1321
1229
  */
1322
1230
  getInvoiceSerials(params, options) {
1323
1231
  return localVarFp.getInvoiceSerials(params, options).then((request) => request(axios, basePath));
1232
+ },
1233
+ /**
1234
+ * Get invoice quotas (Unified)
1235
+ */
1236
+ getQuotas(params, options) {
1237
+ return localVarFp.getQuotas(params, options).then((request) => request(axios, basePath));
1324
1238
  }
1325
1239
  };
1326
1240
  };
1327
1241
  export {
1328
1242
  Configuration,
1329
- DefaultApi,
1330
1243
  DefaultApiAxiosParamCreator,
1331
1244
  DefaultApiFp,
1332
1245
  InvoiceApi,