@atomsolution/invoice-sdk-api 1.22.1 → 1.24.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 +143 -0
- package/dist/auth.d.ts +1 -0
- package/dist/index.esm.js +132 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1149,6 +1149,99 @@ export interface ViewPrintInvoiceResponse {
|
|
|
1149
1149
|
*/
|
|
1150
1150
|
status?: string;
|
|
1151
1151
|
}
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @export
|
|
1155
|
+
* @interface CheckCustomerDeclarationStatusRequest
|
|
1156
|
+
*/
|
|
1157
|
+
export interface CheckCustomerDeclarationStatusRequest {
|
|
1158
|
+
/**
|
|
1159
|
+
* Provider identifier (required)
|
|
1160
|
+
* @type {string}
|
|
1161
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1162
|
+
*/
|
|
1163
|
+
provider: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Tax code for merchant (required)
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1168
|
+
*/
|
|
1169
|
+
taxCode: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* Tổng số bản ghi muốn lấy
|
|
1172
|
+
* @type {number}
|
|
1173
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1174
|
+
*/
|
|
1175
|
+
maxResultCount?: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* Sắp xếp theo trường (tên trường)
|
|
1178
|
+
* @type {string}
|
|
1179
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1180
|
+
*/
|
|
1181
|
+
sorting?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Kiểu sắp xếp (DESCEND: Giảm dần, ASCEND: Tăng dần)
|
|
1184
|
+
* @type {string}
|
|
1185
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1186
|
+
*/
|
|
1187
|
+
sortType?: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* Ngày lập từ ngày (2025-06-23T00:00:00)
|
|
1190
|
+
* @type {string}
|
|
1191
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1192
|
+
*/
|
|
1193
|
+
fromDate?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Ngày lập đến ngày (2025-06-23T00:00:00)
|
|
1196
|
+
* @type {string}
|
|
1197
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1198
|
+
*/
|
|
1199
|
+
toDate?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Phản hồi của CQT (1: Tiếp nhận, 2: Không tiếp nhận, 3: Chập nhận, 4: Không chấp nhận)
|
|
1202
|
+
* @type {number}
|
|
1203
|
+
* @memberof CheckCustomerDeclarationStatusRequest
|
|
1204
|
+
*/
|
|
1205
|
+
taxAuthorityFeedback?: number;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @export
|
|
1210
|
+
* @interface CheckCustomerDeclarationStatusResponse
|
|
1211
|
+
*/
|
|
1212
|
+
export interface CheckCustomerDeclarationStatusResponse {
|
|
1213
|
+
/**
|
|
1214
|
+
* Trạng thái của yêu cầu
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof CheckCustomerDeclarationStatusResponse
|
|
1217
|
+
*/
|
|
1218
|
+
success?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Dữ liệu chi tiết
|
|
1221
|
+
* @type {Array<any>}
|
|
1222
|
+
* @memberof CheckCustomerDeclarationStatusResponse
|
|
1223
|
+
*/
|
|
1224
|
+
data?: Array<any>;
|
|
1225
|
+
}
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @export
|
|
1229
|
+
* @interface CheckCustomerDeclarationStatusError
|
|
1230
|
+
*/
|
|
1231
|
+
export interface CheckCustomerDeclarationStatusError {
|
|
1232
|
+
/**
|
|
1233
|
+
* Lỗi khi kiểm tra trạng thái tờ khai khách hàng
|
|
1234
|
+
* @type {string}
|
|
1235
|
+
* @memberof CheckCustomerDeclarationStatusError
|
|
1236
|
+
*/
|
|
1237
|
+
message?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {Array<any>}
|
|
1241
|
+
* @memberof CheckAuthResponse
|
|
1242
|
+
*/
|
|
1243
|
+
datail?: Array<any>;
|
|
1244
|
+
}
|
|
1152
1245
|
/**
|
|
1153
1246
|
* DefaultApi - axios parameter creator
|
|
1154
1247
|
* @export
|
|
@@ -1291,6 +1384,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1291
1384
|
* @throws {RequiredError}
|
|
1292
1385
|
*/
|
|
1293
1386
|
checkAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Check customer declaration status with filtering options.
|
|
1389
|
+
* @summary API check customer declaration status
|
|
1390
|
+
* @param {string} provider Provider identifier (required)
|
|
1391
|
+
* @param {string} taxCode Tax code for merchant (required)
|
|
1392
|
+
* @param {number} [maxResultCount] Tổng số bản ghi muốn lấy
|
|
1393
|
+
* @param {string} [sorting] Sắp xếp theo trường (tên trường)
|
|
1394
|
+
* @param {string} [sortType] Kiểu sắp xếp (DESCEND: Giảm dần, ASCEND: Tăng dần)
|
|
1395
|
+
* @param {string} [fromDate] Ngày lập từ ngày (2025-06-23T00:00:00)
|
|
1396
|
+
* @param {string} [toDate] Ngày lập đến ngày (2025-06-23T00:00:00)
|
|
1397
|
+
* @param {number} [taxAuthorityFeedback] Phản hồi của CQT (1: Tiếp nhận, 2: Không tiếp nhận, 3: Chập nhận, 4: Không chấp nhận)
|
|
1398
|
+
* @param {*} [options] Override http request option.
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
*/
|
|
1401
|
+
checkCustomerDeclarationStatus: (params: CheckCustomerDeclarationStatusRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1294
1402
|
};
|
|
1295
1403
|
/**
|
|
1296
1404
|
* DefaultApi - functional programming interface
|
|
@@ -1434,6 +1542,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1434
1542
|
* @throws {RequiredError}
|
|
1435
1543
|
*/
|
|
1436
1544
|
checkAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckAuthResponse>>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Check customer declaration status with filtering options.
|
|
1547
|
+
* @summary API check customer declaration status
|
|
1548
|
+
* @param {string} provider Provider identifier (required)
|
|
1549
|
+
* @param {string} taxCode Tax code for merchant (required)
|
|
1550
|
+
* @param {number} [maxResultCount] Tổng số bản ghi muốn lấy
|
|
1551
|
+
* @param {string} [sorting] Sắp xếp theo trường (tên trường)
|
|
1552
|
+
* @param {string} [sortType] Kiểu sắp xếp (DESCEND: Giảm dần, ASCEND: Tăng dần)
|
|
1553
|
+
* @param {string} [fromDate] Ngày lập từ ngày (2025-06-23T00:00:00)
|
|
1554
|
+
* @param {string} [toDate] Ngày lập đến ngày (2025-06-23T00:00:00)
|
|
1555
|
+
* @param {number} [taxAuthorityFeedback] Phản hồi của CQT (1: Tiếp nhận, 2: Không tiếp nhận, 3: Chập nhận, 4: Không chấp nhận)
|
|
1556
|
+
* @param {*} [options] Override http request option.
|
|
1557
|
+
* @throws {RequiredError}
|
|
1558
|
+
*/
|
|
1559
|
+
checkCustomerDeclarationStatus(params: CheckCustomerDeclarationStatusRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckCustomerDeclarationStatusResponse>>;
|
|
1437
1560
|
};
|
|
1438
1561
|
/**
|
|
1439
1562
|
* DefaultApi - object-oriented interface
|
|
@@ -1595,6 +1718,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1595
1718
|
* @memberof DefaultApi
|
|
1596
1719
|
*/
|
|
1597
1720
|
checkAuth(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckAuthResponse, any>>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Check customer declaration status with filtering options.
|
|
1723
|
+
* @summary API check customer declaration status
|
|
1724
|
+
* @param {string} provider Provider identifier (required)
|
|
1725
|
+
* @param {string} taxCode Tax code for merchant (required)
|
|
1726
|
+
* @param {number} [maxResultCount] Tổng số bản ghi muốn lấy
|
|
1727
|
+
* @param {string} [sorting] Sắp xếp theo trường (tên trường)
|
|
1728
|
+
* @param {string} [sortType] Kiểu sắp xếp (DESCEND: Giảm dần, ASCEND: Tăng dần)
|
|
1729
|
+
* @param {string} [fromDate] Ngày lập từ ngày (2025-06-23T00:00:00)
|
|
1730
|
+
* @param {string} [toDate] Ngày lập đến ngày (2025-06-23T00:00:00)
|
|
1731
|
+
* @param {number} [taxAuthorityFeedback] Phản hồi của CQT (1: Tiếp nhận, 2: Không tiếp nhận, 3: Chập nhận, 4: Không chấp nhận)
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
* @memberof DefaultApi
|
|
1735
|
+
*/
|
|
1736
|
+
checkCustomerDeclarationStatus(params: CheckCustomerDeclarationStatusRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckCustomerDeclarationStatusResponse, any>>;
|
|
1598
1737
|
}
|
|
1599
1738
|
/**
|
|
1600
1739
|
* Unified API functions distinguished by provider in configuration
|
|
@@ -1656,4 +1795,8 @@ export declare const InvoiceApi: (configuration?: Configuration, basePath?: stri
|
|
|
1656
1795
|
* Check authentication status for merchants (Unified)
|
|
1657
1796
|
*/
|
|
1658
1797
|
checkAuth(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckAuthResponse, any>>;
|
|
1798
|
+
/**
|
|
1799
|
+
* Check customer declaration status with filtering options (Unified)
|
|
1800
|
+
*/
|
|
1801
|
+
checkCustomerDeclarationStatus(params: CheckCustomerDeclarationStatusRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckCustomerDeclarationStatusResponse, any>>;
|
|
1659
1802
|
};
|