@nextxai/sdk 0.3.3 → 0.3.5-beta.55
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/CHANGELOG.md +10 -0
- package/dist/cjs/schema.d.ts +840 -50
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/schema.d.ts +840 -50
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
package/dist/esm/schema.d.ts
CHANGED
|
@@ -1179,6 +1179,26 @@ export interface paths {
|
|
|
1179
1179
|
patch?: never;
|
|
1180
1180
|
trace?: never;
|
|
1181
1181
|
};
|
|
1182
|
+
"/api/v1/sales/cashbook/transactions": {
|
|
1183
|
+
parameters: {
|
|
1184
|
+
query?: never;
|
|
1185
|
+
header?: never;
|
|
1186
|
+
path?: never;
|
|
1187
|
+
cookie?: never;
|
|
1188
|
+
};
|
|
1189
|
+
/**
|
|
1190
|
+
* Danh sách bút toán quỹ (append-only)
|
|
1191
|
+
* @description Nguồn của báo cáo dòng tiền. Lọc theo quỹ, loại giao dịch (CREDIT/DEBIT), khoảng ngày, tài khoản ngân hàng.
|
|
1192
|
+
*/
|
|
1193
|
+
get: operations["cashbook_transactions_list"];
|
|
1194
|
+
put?: never;
|
|
1195
|
+
post?: never;
|
|
1196
|
+
delete?: never;
|
|
1197
|
+
options?: never;
|
|
1198
|
+
head?: never;
|
|
1199
|
+
patch?: never;
|
|
1200
|
+
trace?: never;
|
|
1201
|
+
};
|
|
1182
1202
|
"/api/v1/sales/customers": {
|
|
1183
1203
|
parameters: {
|
|
1184
1204
|
query?: never;
|
|
@@ -1199,6 +1219,66 @@ export interface paths {
|
|
|
1199
1219
|
patch?: never;
|
|
1200
1220
|
trace?: never;
|
|
1201
1221
|
};
|
|
1222
|
+
"/api/v1/sales/goods-receipts": {
|
|
1223
|
+
parameters: {
|
|
1224
|
+
query?: never;
|
|
1225
|
+
header?: never;
|
|
1226
|
+
path?: never;
|
|
1227
|
+
cookie?: never;
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* Danh sách phiếu nhập
|
|
1231
|
+
* @description Hỗ trợ search theo mã phiếu, filter branch/supplier/status, pagination.
|
|
1232
|
+
*/
|
|
1233
|
+
get: operations["goods_receipts_list"];
|
|
1234
|
+
put?: never;
|
|
1235
|
+
post?: never;
|
|
1236
|
+
delete?: never;
|
|
1237
|
+
options?: never;
|
|
1238
|
+
head?: never;
|
|
1239
|
+
patch?: never;
|
|
1240
|
+
trace?: never;
|
|
1241
|
+
};
|
|
1242
|
+
"/api/v1/sales/inventory": {
|
|
1243
|
+
parameters: {
|
|
1244
|
+
query?: never;
|
|
1245
|
+
header?: never;
|
|
1246
|
+
path?: never;
|
|
1247
|
+
cookie?: never;
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* Tồn kho hiện tại theo chi nhánh
|
|
1251
|
+
* @description Tổng hợp tồn kho theo chi nhánh (nguồn stock_by_branch). Filter: branchId, productId, status (out_of_stock|low_stock|in_stock), search (mã hoặc tên SP). sortBy: sku|name|onhand|reserved|available|avgcost|status (mặc định tên SP tăng dần), sortDir: asc|desc. Lọc/sắp xếp/phân trang chạy dưới SQL. pageSize = 0 → lấy TẤT CẢ.
|
|
1252
|
+
*/
|
|
1253
|
+
get: operations["inventory_get"];
|
|
1254
|
+
put?: never;
|
|
1255
|
+
post?: never;
|
|
1256
|
+
delete?: never;
|
|
1257
|
+
options?: never;
|
|
1258
|
+
head?: never;
|
|
1259
|
+
patch?: never;
|
|
1260
|
+
trace?: never;
|
|
1261
|
+
};
|
|
1262
|
+
"/api/v1/sales/inventory/movements": {
|
|
1263
|
+
parameters: {
|
|
1264
|
+
query?: never;
|
|
1265
|
+
header?: never;
|
|
1266
|
+
path?: never;
|
|
1267
|
+
cookie?: never;
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* Sổ cái biến động tồn kho toàn cục
|
|
1271
|
+
* @description Hợp nhất nhập–xuất vật lý (stock_movements) + đặt giữ (stock_reservations) của mọi sản phẩm. Filter: branchId, group (RECEIPT/ISSUE/RETURN/ADJUST/TRANSFER/DISPOSAL/RESERVE), productId, search, dateFrom, dateTo. Mặc định FE lọc theo chi nhánh đang chọn. Server resolve sẵn tên SP / kho / người tạo / mã chứng từ. sortBy: quantity/type/before/balance/document (mặc định thời gian desc); sortDir: asc/desc. Tên SP / SKU / kho / người tạo / khách / nhóm hàng KHÔNG sort được: chúng được gắn SAU khi phân trang. categoryId: lọc theo nhóm hàng hoá (gồm cả nhóm con); mỗi dòng trả kèm categoryId/categoryName.
|
|
1272
|
+
*/
|
|
1273
|
+
get: operations["inventory_movements_list"];
|
|
1274
|
+
put?: never;
|
|
1275
|
+
post?: never;
|
|
1276
|
+
delete?: never;
|
|
1277
|
+
options?: never;
|
|
1278
|
+
head?: never;
|
|
1279
|
+
patch?: never;
|
|
1280
|
+
trace?: never;
|
|
1281
|
+
};
|
|
1202
1282
|
"/api/v1/sales/orders/stats": {
|
|
1203
1283
|
parameters: {
|
|
1204
1284
|
query?: never;
|
|
@@ -1239,6 +1319,26 @@ export interface paths {
|
|
|
1239
1319
|
patch?: never;
|
|
1240
1320
|
trace?: never;
|
|
1241
1321
|
};
|
|
1322
|
+
"/api/v1/sales/orders/changes": {
|
|
1323
|
+
parameters: {
|
|
1324
|
+
query?: never;
|
|
1325
|
+
header?: never;
|
|
1326
|
+
path?: never;
|
|
1327
|
+
cookie?: never;
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* Thay đổi đơn hàng để tải tăng dần
|
|
1331
|
+
* @description Phân trang bằng cursor, không đếm và không tính tổng. Có đơn đã xoá (isDeleted). Lần đầu truyền updatedSince, các lần sau truyền nextCursor. limit tối đa 1000.
|
|
1332
|
+
*/
|
|
1333
|
+
get: operations["orders_changes_list"];
|
|
1334
|
+
put?: never;
|
|
1335
|
+
post?: never;
|
|
1336
|
+
delete?: never;
|
|
1337
|
+
options?: never;
|
|
1338
|
+
head?: never;
|
|
1339
|
+
patch?: never;
|
|
1340
|
+
trace?: never;
|
|
1341
|
+
};
|
|
1242
1342
|
"/api/v1/sales/orders": {
|
|
1243
1343
|
parameters: {
|
|
1244
1344
|
query?: never;
|
|
@@ -1279,6 +1379,26 @@ export interface paths {
|
|
|
1279
1379
|
patch?: never;
|
|
1280
1380
|
trace?: never;
|
|
1281
1381
|
};
|
|
1382
|
+
"/api/v1/sales/order-returns": {
|
|
1383
|
+
parameters: {
|
|
1384
|
+
query?: never;
|
|
1385
|
+
header?: never;
|
|
1386
|
+
path?: never;
|
|
1387
|
+
cookie?: never;
|
|
1388
|
+
};
|
|
1389
|
+
/**
|
|
1390
|
+
* Danh sách đơn hoàn trả
|
|
1391
|
+
* @description Filter: status, orderId, returnType, branchId, date range, reason (lý do trả hàng — so khớp chính xác), crmContactId, outletId (match cả phiếu tự ghi lẫn phiếu suy từ đơn gốc). Tìm kiếm theo mã phiếu hoàn.
|
|
1392
|
+
*/
|
|
1393
|
+
get: operations["order_returns_list"];
|
|
1394
|
+
put?: never;
|
|
1395
|
+
post?: never;
|
|
1396
|
+
delete?: never;
|
|
1397
|
+
options?: never;
|
|
1398
|
+
head?: never;
|
|
1399
|
+
patch?: never;
|
|
1400
|
+
trace?: never;
|
|
1401
|
+
};
|
|
1282
1402
|
"/api/v1/sales/products/stats": {
|
|
1283
1403
|
parameters: {
|
|
1284
1404
|
query?: never;
|
|
@@ -1597,6 +1717,26 @@ export interface paths {
|
|
|
1597
1717
|
patch?: never;
|
|
1598
1718
|
trace?: never;
|
|
1599
1719
|
};
|
|
1720
|
+
"/api/v1/crm/contacts/changes": {
|
|
1721
|
+
parameters: {
|
|
1722
|
+
query?: never;
|
|
1723
|
+
header?: never;
|
|
1724
|
+
path?: never;
|
|
1725
|
+
cookie?: never;
|
|
1726
|
+
};
|
|
1727
|
+
/**
|
|
1728
|
+
* Thay đổi contacts để tải tăng dần
|
|
1729
|
+
* @description Phân trang bằng cursor, không đếm. Có bản ghi đã xoá (isDeleted), không có tên, SĐT, email. limit tối đa 1000.
|
|
1730
|
+
*/
|
|
1731
|
+
get: operations["contacts_changes_list"];
|
|
1732
|
+
put?: never;
|
|
1733
|
+
post?: never;
|
|
1734
|
+
delete?: never;
|
|
1735
|
+
options?: never;
|
|
1736
|
+
head?: never;
|
|
1737
|
+
patch?: never;
|
|
1738
|
+
trace?: never;
|
|
1739
|
+
};
|
|
1600
1740
|
"/api/v1/crm/contacts/facets": {
|
|
1601
1741
|
parameters: {
|
|
1602
1742
|
query?: never;
|
|
@@ -1657,6 +1797,26 @@ export interface paths {
|
|
|
1657
1797
|
patch?: never;
|
|
1658
1798
|
trace?: never;
|
|
1659
1799
|
};
|
|
1800
|
+
"/api/v1/crm/opportunities/changes": {
|
|
1801
|
+
parameters: {
|
|
1802
|
+
query?: never;
|
|
1803
|
+
header?: never;
|
|
1804
|
+
path?: never;
|
|
1805
|
+
cookie?: never;
|
|
1806
|
+
};
|
|
1807
|
+
/**
|
|
1808
|
+
* Thay đổi cơ hội để tải tăng dần
|
|
1809
|
+
* @description Phân trang bằng cursor, không đếm. Có bản ghi đã xoá (isDeleted). limit tối đa 1000.
|
|
1810
|
+
*/
|
|
1811
|
+
get: operations["opportunities_changes_list"];
|
|
1812
|
+
put?: never;
|
|
1813
|
+
post?: never;
|
|
1814
|
+
delete?: never;
|
|
1815
|
+
options?: never;
|
|
1816
|
+
head?: never;
|
|
1817
|
+
patch?: never;
|
|
1818
|
+
trace?: never;
|
|
1819
|
+
};
|
|
1660
1820
|
"/api/v1/crm/opportunities": {
|
|
1661
1821
|
parameters: {
|
|
1662
1822
|
query?: never;
|
|
@@ -4039,6 +4199,129 @@ export interface components {
|
|
|
4039
4199
|
/** Format: double */
|
|
4040
4200
|
totalQuantity?: number;
|
|
4041
4201
|
};
|
|
4202
|
+
OrderReturnListResult: {
|
|
4203
|
+
items?: components["schemas"]["OrderReturnListDto"][] | null;
|
|
4204
|
+
/** Format: int32 */
|
|
4205
|
+
totalCount?: number;
|
|
4206
|
+
/** Format: int32 */
|
|
4207
|
+
page?: number;
|
|
4208
|
+
/** Format: int32 */
|
|
4209
|
+
pageSize?: number;
|
|
4210
|
+
/** Format: int32 */
|
|
4211
|
+
readonly totalPages?: number;
|
|
4212
|
+
readonly hasNextPage?: boolean;
|
|
4213
|
+
readonly hasPreviousPage?: boolean;
|
|
4214
|
+
summary?: components["schemas"]["OrderReturnListSummaryDto"];
|
|
4215
|
+
};
|
|
4216
|
+
OrderReturnListSummaryDto: {
|
|
4217
|
+
/** Format: double */
|
|
4218
|
+
totalRefund?: number;
|
|
4219
|
+
/** Format: double */
|
|
4220
|
+
totalGrandTotal?: number;
|
|
4221
|
+
};
|
|
4222
|
+
OrderReturnListDto: {
|
|
4223
|
+
/** Format: uuid */
|
|
4224
|
+
id?: string;
|
|
4225
|
+
returnCode?: string | null;
|
|
4226
|
+
/** Format: uuid */
|
|
4227
|
+
orderId?: string;
|
|
4228
|
+
status?: string | null;
|
|
4229
|
+
reason?: string | null;
|
|
4230
|
+
returnType?: string | null;
|
|
4231
|
+
/** Format: double */
|
|
4232
|
+
refundAmount?: number;
|
|
4233
|
+
refundMethod?: string | null;
|
|
4234
|
+
/** Format: date-time */
|
|
4235
|
+
createdAt?: string;
|
|
4236
|
+
isFullReturn?: boolean;
|
|
4237
|
+
notes?: string | null;
|
|
4238
|
+
/** Format: date-time */
|
|
4239
|
+
completedAt?: string | null;
|
|
4240
|
+
/** Format: uuid */
|
|
4241
|
+
branchId?: string | null;
|
|
4242
|
+
/** Format: double */
|
|
4243
|
+
grandTotal?: number;
|
|
4244
|
+
/** Format: double */
|
|
4245
|
+
refundPercent?: number;
|
|
4246
|
+
createdByName?: string | null;
|
|
4247
|
+
contactName?: string | null;
|
|
4248
|
+
contactPhone?: string | null;
|
|
4249
|
+
refundPaymentRows?: components["schemas"]["OrderReturnRefundPaymentRowDto"][] | null;
|
|
4250
|
+
/** Format: double */
|
|
4251
|
+
settlementAmount?: number;
|
|
4252
|
+
settlementDirection?: string | null;
|
|
4253
|
+
/** Format: double */
|
|
4254
|
+
settledAmount?: number;
|
|
4255
|
+
settledPaymentRows?: components["schemas"]["OrderReturnRefundPaymentRowDto"][] | null;
|
|
4256
|
+
/** Format: uuid */
|
|
4257
|
+
exchangeNewOrderId?: string | null;
|
|
4258
|
+
/** Format: double */
|
|
4259
|
+
exchangeGrandTotal?: number;
|
|
4260
|
+
/** Format: double */
|
|
4261
|
+
priceDiff?: number;
|
|
4262
|
+
/** Format: date-time */
|
|
4263
|
+
returnDate?: string | null;
|
|
4264
|
+
/** Format: uuid */
|
|
4265
|
+
crmContactId?: string | null;
|
|
4266
|
+
/** Format: uuid */
|
|
4267
|
+
outletId?: string | null;
|
|
4268
|
+
/** Format: double */
|
|
4269
|
+
maxCashRefund?: number;
|
|
4270
|
+
forceFullCashRefund?: boolean;
|
|
4271
|
+
/** Format: uuid */
|
|
4272
|
+
refundBankAccountId?: string | null;
|
|
4273
|
+
refundBankAccountLabel?: string | null;
|
|
4274
|
+
branchName?: string | null;
|
|
4275
|
+
deliveryAddress?: string | null;
|
|
4276
|
+
assignedToName?: string | null;
|
|
4277
|
+
assignees?: components["schemas"]["OrderAssigneeDto"][] | null;
|
|
4278
|
+
receivingBranchIds?: string[] | null;
|
|
4279
|
+
receivingBranchNames?: string[] | null;
|
|
4280
|
+
deliveryEmployee?: components["schemas"]["UserRefDto"];
|
|
4281
|
+
/** Format: date-time */
|
|
4282
|
+
deliveredAt?: string | null;
|
|
4283
|
+
customerCode?: string | null;
|
|
4284
|
+
customerInfo?: components["schemas"]["OrderListCustomerInfoDto"];
|
|
4285
|
+
outletInfo?: components["schemas"]["OrderListOutletInfoDto"];
|
|
4286
|
+
};
|
|
4287
|
+
OrderListOutletInfoDto: {
|
|
4288
|
+
code?: string | null;
|
|
4289
|
+
name?: string | null;
|
|
4290
|
+
ownerName?: string | null;
|
|
4291
|
+
ownerPhone?: string | null;
|
|
4292
|
+
address?: string | null;
|
|
4293
|
+
channelCode?: string | null;
|
|
4294
|
+
tier?: string | null;
|
|
4295
|
+
repNames?: string | null;
|
|
4296
|
+
routeNames?: string | null;
|
|
4297
|
+
taxCode?: string | null;
|
|
4298
|
+
};
|
|
4299
|
+
OrderListCustomerInfoDto: {
|
|
4300
|
+
groupName?: string | null;
|
|
4301
|
+
email?: string | null;
|
|
4302
|
+
companyName?: string | null;
|
|
4303
|
+
taxCode?: string | null;
|
|
4304
|
+
/** Format: double */
|
|
4305
|
+
netDebt?: number;
|
|
4306
|
+
ownerName?: string | null;
|
|
4307
|
+
};
|
|
4308
|
+
UserRefDto: {
|
|
4309
|
+
/** Format: uuid */
|
|
4310
|
+
id?: string;
|
|
4311
|
+
name?: string | null;
|
|
4312
|
+
};
|
|
4313
|
+
OrderAssigneeDto: {
|
|
4314
|
+
/** Format: uuid */
|
|
4315
|
+
userId?: string;
|
|
4316
|
+
name?: string | null;
|
|
4317
|
+
/** Format: double */
|
|
4318
|
+
commissionPercent?: number;
|
|
4319
|
+
};
|
|
4320
|
+
OrderReturnRefundPaymentRowDto: {
|
|
4321
|
+
method?: string | null;
|
|
4322
|
+
/** Format: double */
|
|
4323
|
+
amount?: number;
|
|
4324
|
+
};
|
|
4042
4325
|
OrderDetailDto: {
|
|
4043
4326
|
/** Format: uuid */
|
|
4044
4327
|
id?: string;
|
|
@@ -4231,18 +4514,6 @@ export interface components {
|
|
|
4231
4514
|
/** Format: double */
|
|
4232
4515
|
amount?: number;
|
|
4233
4516
|
};
|
|
4234
|
-
OrderAssigneeDto: {
|
|
4235
|
-
/** Format: uuid */
|
|
4236
|
-
userId?: string;
|
|
4237
|
-
name?: string | null;
|
|
4238
|
-
/** Format: double */
|
|
4239
|
-
commissionPercent?: number;
|
|
4240
|
-
};
|
|
4241
|
-
UserRefDto: {
|
|
4242
|
-
/** Format: uuid */
|
|
4243
|
-
id?: string;
|
|
4244
|
-
name?: string | null;
|
|
4245
|
-
};
|
|
4246
4517
|
OrderItemDto: {
|
|
4247
4518
|
/** Format: uuid */
|
|
4248
4519
|
id?: string;
|
|
@@ -4463,27 +4734,8 @@ export interface components {
|
|
|
4463
4734
|
customerInfo?: components["schemas"]["OrderListCustomerInfoDto"];
|
|
4464
4735
|
outletInfo?: components["schemas"]["OrderListOutletInfoDto"];
|
|
4465
4736
|
receivingBankLabel?: string | null;
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
code?: string | null;
|
|
4469
|
-
name?: string | null;
|
|
4470
|
-
ownerName?: string | null;
|
|
4471
|
-
ownerPhone?: string | null;
|
|
4472
|
-
address?: string | null;
|
|
4473
|
-
channelCode?: string | null;
|
|
4474
|
-
tier?: string | null;
|
|
4475
|
-
repNames?: string | null;
|
|
4476
|
-
routeNames?: string | null;
|
|
4477
|
-
taxCode?: string | null;
|
|
4478
|
-
};
|
|
4479
|
-
OrderListCustomerInfoDto: {
|
|
4480
|
-
groupName?: string | null;
|
|
4481
|
-
email?: string | null;
|
|
4482
|
-
companyName?: string | null;
|
|
4483
|
-
taxCode?: string | null;
|
|
4484
|
-
/** Format: double */
|
|
4485
|
-
netDebt?: number;
|
|
4486
|
-
ownerName?: string | null;
|
|
4737
|
+
/** Format: date-time */
|
|
4738
|
+
updatedAt?: string | null;
|
|
4487
4739
|
};
|
|
4488
4740
|
OrderPaymentEntryDto: {
|
|
4489
4741
|
/** Format: uuid */
|
|
@@ -4498,6 +4750,48 @@ export interface components {
|
|
|
4498
4750
|
bankAccountId?: string | null;
|
|
4499
4751
|
bankAccountLabel?: string | null;
|
|
4500
4752
|
};
|
|
4753
|
+
OrderChangesResult: {
|
|
4754
|
+
items?: components["schemas"]["OrderChangeDto"][] | null;
|
|
4755
|
+
nextCursor?: string | null;
|
|
4756
|
+
hasMore?: boolean;
|
|
4757
|
+
};
|
|
4758
|
+
OrderChangeDto: {
|
|
4759
|
+
/** Format: uuid */
|
|
4760
|
+
id?: string;
|
|
4761
|
+
code?: string | null;
|
|
4762
|
+
orderType?: string | null;
|
|
4763
|
+
status?: string | null;
|
|
4764
|
+
/** Format: uuid */
|
|
4765
|
+
crmContactId?: string | null;
|
|
4766
|
+
/** Format: uuid */
|
|
4767
|
+
branchId?: string;
|
|
4768
|
+
/** Format: double */
|
|
4769
|
+
subtotal?: number;
|
|
4770
|
+
/** Format: double */
|
|
4771
|
+
discountAmount?: number;
|
|
4772
|
+
/** Format: double */
|
|
4773
|
+
taxAmount?: number;
|
|
4774
|
+
/** Format: double */
|
|
4775
|
+
shippingFee?: number;
|
|
4776
|
+
/** Format: double */
|
|
4777
|
+
total?: number;
|
|
4778
|
+
/** Format: double */
|
|
4779
|
+
paidAmount?: number;
|
|
4780
|
+
channelCode?: string | null;
|
|
4781
|
+
/** Format: date-time */
|
|
4782
|
+
orderDate?: string | null;
|
|
4783
|
+
/** Format: date-time */
|
|
4784
|
+
createdAt?: string;
|
|
4785
|
+
/** Format: date-time */
|
|
4786
|
+
confirmedAt?: string | null;
|
|
4787
|
+
/** Format: date-time */
|
|
4788
|
+
cancelledAt?: string | null;
|
|
4789
|
+
/** Format: date-time */
|
|
4790
|
+
updatedAt?: string;
|
|
4791
|
+
isDeleted?: boolean;
|
|
4792
|
+
/** Format: date-time */
|
|
4793
|
+
deletedAt?: string | null;
|
|
4794
|
+
};
|
|
4501
4795
|
ExportOrdersResult: {
|
|
4502
4796
|
/** Format: uuid */
|
|
4503
4797
|
jobId?: string;
|
|
@@ -4518,6 +4812,187 @@ export interface components {
|
|
|
4518
4812
|
/** Format: double */
|
|
4519
4813
|
debtAmount?: number;
|
|
4520
4814
|
};
|
|
4815
|
+
StockMovementListResult: {
|
|
4816
|
+
items?: components["schemas"]["StockMovementListDto"][] | null;
|
|
4817
|
+
/** Format: int32 */
|
|
4818
|
+
totalCount?: number;
|
|
4819
|
+
/** Format: int32 */
|
|
4820
|
+
page?: number;
|
|
4821
|
+
/** Format: int32 */
|
|
4822
|
+
pageSize?: number;
|
|
4823
|
+
/** Format: int32 */
|
|
4824
|
+
readonly totalPages?: number;
|
|
4825
|
+
readonly hasNextPage?: boolean;
|
|
4826
|
+
readonly hasPreviousPage?: boolean;
|
|
4827
|
+
summary?: components["schemas"]["StockMovementListSummaryDto"];
|
|
4828
|
+
};
|
|
4829
|
+
StockMovementListSummaryDto: {
|
|
4830
|
+
/** Format: double */
|
|
4831
|
+
totalIn?: number;
|
|
4832
|
+
/** Format: double */
|
|
4833
|
+
totalOut?: number;
|
|
4834
|
+
/** Format: double */
|
|
4835
|
+
totalValue?: number;
|
|
4836
|
+
};
|
|
4837
|
+
StockMovementListDto: {
|
|
4838
|
+
/** Format: uuid */
|
|
4839
|
+
id?: string;
|
|
4840
|
+
/** Format: date-time */
|
|
4841
|
+
occurredAt?: string;
|
|
4842
|
+
source?: string | null;
|
|
4843
|
+
/** Format: uuid */
|
|
4844
|
+
productId?: string;
|
|
4845
|
+
productName?: string | null;
|
|
4846
|
+
sku?: string | null;
|
|
4847
|
+
movementType?: string | null;
|
|
4848
|
+
group?: string | null;
|
|
4849
|
+
direction?: string | null;
|
|
4850
|
+
/** Format: double */
|
|
4851
|
+
quantity?: number;
|
|
4852
|
+
/** Format: double */
|
|
4853
|
+
beforeQuantity?: number | null;
|
|
4854
|
+
/** Format: double */
|
|
4855
|
+
afterQuantity?: number | null;
|
|
4856
|
+
/** Format: uuid */
|
|
4857
|
+
branchId?: string;
|
|
4858
|
+
branchName?: string | null;
|
|
4859
|
+
referenceType?: string | null;
|
|
4860
|
+
/** Format: uuid */
|
|
4861
|
+
referenceId?: string | null;
|
|
4862
|
+
referenceCode?: string | null;
|
|
4863
|
+
customerCode?: string | null;
|
|
4864
|
+
customerName?: string | null;
|
|
4865
|
+
/** Format: uuid */
|
|
4866
|
+
createdById?: string | null;
|
|
4867
|
+
createdByName?: string | null;
|
|
4868
|
+
isReversal?: boolean;
|
|
4869
|
+
/** Format: double */
|
|
4870
|
+
unitPrice?: number | null;
|
|
4871
|
+
/** Format: double */
|
|
4872
|
+
unitCost?: number | null;
|
|
4873
|
+
notes?: string | null;
|
|
4874
|
+
/** Format: uuid */
|
|
4875
|
+
categoryId?: string | null;
|
|
4876
|
+
categoryName?: string | null;
|
|
4877
|
+
};
|
|
4878
|
+
PagedResultOfInventoryItemDto: {
|
|
4879
|
+
items?: components["schemas"]["InventoryItemDto"][] | null;
|
|
4880
|
+
/** Format: int32 */
|
|
4881
|
+
totalCount?: number;
|
|
4882
|
+
/** Format: int32 */
|
|
4883
|
+
page?: number;
|
|
4884
|
+
/** Format: int32 */
|
|
4885
|
+
pageSize?: number;
|
|
4886
|
+
/** Format: int32 */
|
|
4887
|
+
readonly totalPages?: number;
|
|
4888
|
+
readonly hasNextPage?: boolean;
|
|
4889
|
+
readonly hasPreviousPage?: boolean;
|
|
4890
|
+
};
|
|
4891
|
+
InventoryItemDto: {
|
|
4892
|
+
/** Format: uuid */
|
|
4893
|
+
productId?: string;
|
|
4894
|
+
sku?: string | null;
|
|
4895
|
+
productName?: string | null;
|
|
4896
|
+
productType?: string | null;
|
|
4897
|
+
/** Format: double */
|
|
4898
|
+
qtyOnHand?: number;
|
|
4899
|
+
/** Format: double */
|
|
4900
|
+
qtyReserved?: number;
|
|
4901
|
+
/** Format: double */
|
|
4902
|
+
qtyAvailable?: number;
|
|
4903
|
+
/** Format: int64 */
|
|
4904
|
+
avgCost?: number;
|
|
4905
|
+
unitName?: string | null;
|
|
4906
|
+
stockStatus?: string | null;
|
|
4907
|
+
};
|
|
4908
|
+
GoodsReceiptListResult: {
|
|
4909
|
+
items?: components["schemas"]["GoodsReceiptListDto"][] | null;
|
|
4910
|
+
/** Format: int32 */
|
|
4911
|
+
totalCount?: number;
|
|
4912
|
+
/** Format: int32 */
|
|
4913
|
+
page?: number;
|
|
4914
|
+
/** Format: int32 */
|
|
4915
|
+
pageSize?: number;
|
|
4916
|
+
/** Format: int32 */
|
|
4917
|
+
readonly totalPages?: number;
|
|
4918
|
+
readonly hasNextPage?: boolean;
|
|
4919
|
+
readonly hasPreviousPage?: boolean;
|
|
4920
|
+
summary?: components["schemas"]["GoodsReceiptListSummaryDto"];
|
|
4921
|
+
};
|
|
4922
|
+
GoodsReceiptListSummaryDto: {
|
|
4923
|
+
/** Format: double */
|
|
4924
|
+
totalAmount?: number;
|
|
4925
|
+
/** Format: double */
|
|
4926
|
+
totalImportCost?: number;
|
|
4927
|
+
/** Format: double */
|
|
4928
|
+
totalPaid?: number;
|
|
4929
|
+
/** Format: double */
|
|
4930
|
+
totalDebt?: number;
|
|
4931
|
+
};
|
|
4932
|
+
GoodsReceiptListDto: {
|
|
4933
|
+
/** Format: uuid */
|
|
4934
|
+
id?: string;
|
|
4935
|
+
code?: string | null;
|
|
4936
|
+
/** Format: uuid */
|
|
4937
|
+
branchId?: string;
|
|
4938
|
+
branchName?: string | null;
|
|
4939
|
+
/** Format: uuid */
|
|
4940
|
+
supplierId?: string | null;
|
|
4941
|
+
supplierName?: string | null;
|
|
4942
|
+
/** Format: uuid */
|
|
4943
|
+
purchaseOrderId?: string | null;
|
|
4944
|
+
/** Format: date */
|
|
4945
|
+
receiptDate?: string;
|
|
4946
|
+
status?: string | null;
|
|
4947
|
+
source?: string | null;
|
|
4948
|
+
/** Format: double */
|
|
4949
|
+
totalAmount?: number;
|
|
4950
|
+
/** Format: double */
|
|
4951
|
+
discountAmount?: number;
|
|
4952
|
+
/** Format: double */
|
|
4953
|
+
shippingFee?: number;
|
|
4954
|
+
/** Format: double */
|
|
4955
|
+
taxAmount?: number;
|
|
4956
|
+
/** Format: double */
|
|
4957
|
+
grandTotal?: number;
|
|
4958
|
+
/** Format: int32 */
|
|
4959
|
+
lineCount?: number;
|
|
4960
|
+
/** Format: int32 */
|
|
4961
|
+
totalQuantity?: number;
|
|
4962
|
+
/** Format: date-time */
|
|
4963
|
+
createdAt?: string;
|
|
4964
|
+
createdByName?: string | null;
|
|
4965
|
+
/** Format: double */
|
|
4966
|
+
paidAmount?: number;
|
|
4967
|
+
paymentStatus?: string | null;
|
|
4968
|
+
/** Format: date */
|
|
4969
|
+
paymentDueDate?: string | null;
|
|
4970
|
+
paymentMethod?: string | null;
|
|
4971
|
+
/** Format: double */
|
|
4972
|
+
deductFromPo?: number;
|
|
4973
|
+
paymentBreakdown?: components["schemas"]["PaymentRowDto"][] | null;
|
|
4974
|
+
hasReturnableLines?: boolean;
|
|
4975
|
+
returnStatus?: string | null;
|
|
4976
|
+
/** Format: double */
|
|
4977
|
+
importCostTotal?: number;
|
|
4978
|
+
notes?: string | null;
|
|
4979
|
+
/** Format: date-time */
|
|
4980
|
+
postedAt?: string | null;
|
|
4981
|
+
supplierInfo?: components["schemas"]["SupplierListInfoDto"];
|
|
4982
|
+
paymentBankLabel?: string | null;
|
|
4983
|
+
};
|
|
4984
|
+
SupplierListInfoDto: {
|
|
4985
|
+
code?: string | null;
|
|
4986
|
+
phone?: string | null;
|
|
4987
|
+
email?: string | null;
|
|
4988
|
+
taxCode?: string | null;
|
|
4989
|
+
contactPerson?: string | null;
|
|
4990
|
+
contactPhone?: string | null;
|
|
4991
|
+
address?: string | null;
|
|
4992
|
+
category?: string | null;
|
|
4993
|
+
/** Format: double */
|
|
4994
|
+
totalDebt?: number;
|
|
4995
|
+
};
|
|
4521
4996
|
CustomerListResult: {
|
|
4522
4997
|
items?: components["schemas"]["CustomerListDto"][] | null;
|
|
4523
4998
|
/** Format: int32 */
|
|
@@ -4859,25 +5334,61 @@ export interface components {
|
|
|
4859
5334
|
contractCount?: number;
|
|
4860
5335
|
latestCommentText?: string | null;
|
|
4861
5336
|
/** Format: date-time */
|
|
4862
|
-
latestCommentAt?: string | null;
|
|
4863
|
-
/** Format: int32 */
|
|
4864
|
-
reopenCount?: number;
|
|
4865
|
-
contactPhone?: string | null;
|
|
4866
|
-
campaignName?: string | null;
|
|
5337
|
+
latestCommentAt?: string | null;
|
|
5338
|
+
/** Format: int32 */
|
|
5339
|
+
reopenCount?: number;
|
|
5340
|
+
contactPhone?: string | null;
|
|
5341
|
+
campaignName?: string | null;
|
|
5342
|
+
/** Format: date-time */
|
|
5343
|
+
nextCallAt?: string | null;
|
|
5344
|
+
/** Format: int32 */
|
|
5345
|
+
callCount?: number;
|
|
5346
|
+
lastDisposition?: string | null;
|
|
5347
|
+
/** Format: date-time */
|
|
5348
|
+
lastCalledAt?: string | null;
|
|
5349
|
+
tags?: components["schemas"]["OpportunityTagDto"][] | null;
|
|
5350
|
+
/** Format: date-time */
|
|
5351
|
+
updatedAt?: string | null;
|
|
5352
|
+
};
|
|
5353
|
+
OpportunityTagDto: {
|
|
5354
|
+
/** Format: uuid */
|
|
5355
|
+
id?: string;
|
|
5356
|
+
name?: string | null;
|
|
5357
|
+
color?: string | null;
|
|
5358
|
+
};
|
|
5359
|
+
OpportunityChangesResult: {
|
|
5360
|
+
items?: components["schemas"]["OpportunityChangeDto"][] | null;
|
|
5361
|
+
nextCursor?: string | null;
|
|
5362
|
+
hasMore?: boolean;
|
|
5363
|
+
};
|
|
5364
|
+
OpportunityChangeDto: {
|
|
5365
|
+
/** Format: uuid */
|
|
5366
|
+
id?: string;
|
|
5367
|
+
code?: string | null;
|
|
5368
|
+
/** Format: uuid */
|
|
5369
|
+
contactId?: string | null;
|
|
5370
|
+
/** Format: uuid */
|
|
5371
|
+
pipelineId?: string;
|
|
5372
|
+
/** Format: uuid */
|
|
5373
|
+
pipelineStageId?: string;
|
|
5374
|
+
/** Format: double */
|
|
5375
|
+
estimatedValue?: number | null;
|
|
5376
|
+
/** Format: int32 */
|
|
5377
|
+
probability?: number | null;
|
|
5378
|
+
/** Format: date */
|
|
5379
|
+
expectedCloseDate?: string;
|
|
5380
|
+
/** Format: uuid */
|
|
5381
|
+
assigneeId?: string;
|
|
5382
|
+
status?: string | null;
|
|
5383
|
+
/** Format: date-time */
|
|
5384
|
+
wonAt?: string | null;
|
|
5385
|
+
/** Format: date-time */
|
|
5386
|
+
createdAt?: string;
|
|
4867
5387
|
/** Format: date-time */
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
callCount?: number;
|
|
4871
|
-
lastDisposition?: string | null;
|
|
5388
|
+
updatedAt?: string;
|
|
5389
|
+
isDeleted?: boolean;
|
|
4872
5390
|
/** Format: date-time */
|
|
4873
|
-
|
|
4874
|
-
tags?: components["schemas"]["OpportunityTagDto"][] | null;
|
|
4875
|
-
};
|
|
4876
|
-
OpportunityTagDto: {
|
|
4877
|
-
/** Format: uuid */
|
|
4878
|
-
id?: string;
|
|
4879
|
-
name?: string | null;
|
|
4880
|
-
color?: string | null;
|
|
5391
|
+
deletedAt?: string | null;
|
|
4881
5392
|
};
|
|
4882
5393
|
ContactListStatsDto: {
|
|
4883
5394
|
/** Format: int32 */
|
|
@@ -4894,6 +5405,36 @@ export interface components {
|
|
|
4894
5405
|
[key: string]: number;
|
|
4895
5406
|
} | null;
|
|
4896
5407
|
};
|
|
5408
|
+
ContactChangesResult: {
|
|
5409
|
+
items?: components["schemas"]["ContactChangeDto"][] | null;
|
|
5410
|
+
nextCursor?: string | null;
|
|
5411
|
+
hasMore?: boolean;
|
|
5412
|
+
};
|
|
5413
|
+
ContactChangeDto: {
|
|
5414
|
+
/** Format: uuid */
|
|
5415
|
+
id?: string;
|
|
5416
|
+
code?: string | null;
|
|
5417
|
+
contactType?: string | null;
|
|
5418
|
+
lifecycleStage?: string | null;
|
|
5419
|
+
city?: string | null;
|
|
5420
|
+
provinceCode?: string | null;
|
|
5421
|
+
/** Format: uuid */
|
|
5422
|
+
assigneeId?: string | null;
|
|
5423
|
+
/** Format: uuid */
|
|
5424
|
+
branchId?: string | null;
|
|
5425
|
+
/** Format: uuid */
|
|
5426
|
+
sourceId?: string | null;
|
|
5427
|
+
/** Format: int32 */
|
|
5428
|
+
leadScore?: number;
|
|
5429
|
+
leadTier?: string | null;
|
|
5430
|
+
/** Format: date-time */
|
|
5431
|
+
createdAt?: string;
|
|
5432
|
+
/** Format: date-time */
|
|
5433
|
+
updatedAt?: string;
|
|
5434
|
+
isDeleted?: boolean;
|
|
5435
|
+
/** Format: date-time */
|
|
5436
|
+
deletedAt?: string | null;
|
|
5437
|
+
};
|
|
4897
5438
|
ContactBranchLookupDto: {
|
|
4898
5439
|
/** Format: uuid */
|
|
4899
5440
|
contactId?: string;
|
|
@@ -5013,6 +5554,8 @@ export interface components {
|
|
|
5013
5554
|
slaStage?: number;
|
|
5014
5555
|
/** Format: date-time */
|
|
5015
5556
|
slaContactedAt?: string | null;
|
|
5557
|
+
/** Format: date-time */
|
|
5558
|
+
updatedAt?: string | null;
|
|
5016
5559
|
};
|
|
5017
5560
|
ContactChatSummaryDto: {
|
|
5018
5561
|
/** Format: int32 */
|
|
@@ -7885,6 +8428,34 @@ export interface operations {
|
|
|
7885
8428
|
};
|
|
7886
8429
|
};
|
|
7887
8430
|
};
|
|
8431
|
+
cashbook_transactions_list: {
|
|
8432
|
+
parameters: {
|
|
8433
|
+
query?: {
|
|
8434
|
+
accountId?: string;
|
|
8435
|
+
transactionType?: string;
|
|
8436
|
+
dateFrom?: string;
|
|
8437
|
+
dateTo?: string;
|
|
8438
|
+
pageNumber?: number;
|
|
8439
|
+
pageSize?: number;
|
|
8440
|
+
bankAccountIds?: string[];
|
|
8441
|
+
};
|
|
8442
|
+
header?: never;
|
|
8443
|
+
path?: never;
|
|
8444
|
+
cookie?: never;
|
|
8445
|
+
};
|
|
8446
|
+
requestBody?: never;
|
|
8447
|
+
responses: {
|
|
8448
|
+
/** @description OK */
|
|
8449
|
+
200: {
|
|
8450
|
+
headers: {
|
|
8451
|
+
[name: string]: unknown;
|
|
8452
|
+
};
|
|
8453
|
+
content: {
|
|
8454
|
+
"application/json": unknown;
|
|
8455
|
+
};
|
|
8456
|
+
};
|
|
8457
|
+
};
|
|
8458
|
+
};
|
|
7888
8459
|
customers_list: {
|
|
7889
8460
|
parameters: {
|
|
7890
8461
|
query?: {
|
|
@@ -7930,6 +8501,106 @@ export interface operations {
|
|
|
7930
8501
|
};
|
|
7931
8502
|
};
|
|
7932
8503
|
};
|
|
8504
|
+
goods_receipts_list: {
|
|
8505
|
+
parameters: {
|
|
8506
|
+
query?: {
|
|
8507
|
+
search?: string;
|
|
8508
|
+
branchId?: string;
|
|
8509
|
+
supplierId?: string;
|
|
8510
|
+
purchaseOrderId?: string;
|
|
8511
|
+
status?: string;
|
|
8512
|
+
source?: string;
|
|
8513
|
+
paymentStatus?: string;
|
|
8514
|
+
fromDate?: string;
|
|
8515
|
+
toDate?: string;
|
|
8516
|
+
pageNumber?: number;
|
|
8517
|
+
pageSize?: number;
|
|
8518
|
+
sortBy?: string;
|
|
8519
|
+
totalFrom?: number;
|
|
8520
|
+
totalTo?: number;
|
|
8521
|
+
columnFilters?: {
|
|
8522
|
+
[key: string]: string;
|
|
8523
|
+
};
|
|
8524
|
+
bankAccountId?: string;
|
|
8525
|
+
};
|
|
8526
|
+
header?: never;
|
|
8527
|
+
path?: never;
|
|
8528
|
+
cookie?: never;
|
|
8529
|
+
};
|
|
8530
|
+
requestBody?: never;
|
|
8531
|
+
responses: {
|
|
8532
|
+
/** @description OK */
|
|
8533
|
+
200: {
|
|
8534
|
+
headers: {
|
|
8535
|
+
[name: string]: unknown;
|
|
8536
|
+
};
|
|
8537
|
+
content: {
|
|
8538
|
+
"application/json": components["schemas"]["GoodsReceiptListResult"];
|
|
8539
|
+
};
|
|
8540
|
+
};
|
|
8541
|
+
};
|
|
8542
|
+
};
|
|
8543
|
+
inventory_get: {
|
|
8544
|
+
parameters: {
|
|
8545
|
+
query?: {
|
|
8546
|
+
branchId?: string;
|
|
8547
|
+
productId?: string;
|
|
8548
|
+
status?: string;
|
|
8549
|
+
pageNumber?: number;
|
|
8550
|
+
pageSize?: number;
|
|
8551
|
+
search?: string;
|
|
8552
|
+
sortBy?: string;
|
|
8553
|
+
sortDir?: string;
|
|
8554
|
+
};
|
|
8555
|
+
header?: never;
|
|
8556
|
+
path?: never;
|
|
8557
|
+
cookie?: never;
|
|
8558
|
+
};
|
|
8559
|
+
requestBody?: never;
|
|
8560
|
+
responses: {
|
|
8561
|
+
/** @description OK */
|
|
8562
|
+
200: {
|
|
8563
|
+
headers: {
|
|
8564
|
+
[name: string]: unknown;
|
|
8565
|
+
};
|
|
8566
|
+
content: {
|
|
8567
|
+
"application/json": components["schemas"]["PagedResultOfInventoryItemDto"];
|
|
8568
|
+
};
|
|
8569
|
+
};
|
|
8570
|
+
};
|
|
8571
|
+
};
|
|
8572
|
+
inventory_movements_list: {
|
|
8573
|
+
parameters: {
|
|
8574
|
+
query?: {
|
|
8575
|
+
branchId?: string;
|
|
8576
|
+
group?: string;
|
|
8577
|
+
productId?: string;
|
|
8578
|
+
search?: string;
|
|
8579
|
+
dateFrom?: string;
|
|
8580
|
+
dateTo?: string;
|
|
8581
|
+
pageNumber?: number;
|
|
8582
|
+
pageSize?: number;
|
|
8583
|
+
sortBy?: string;
|
|
8584
|
+
sortDir?: string;
|
|
8585
|
+
categoryId?: string;
|
|
8586
|
+
};
|
|
8587
|
+
header?: never;
|
|
8588
|
+
path?: never;
|
|
8589
|
+
cookie?: never;
|
|
8590
|
+
};
|
|
8591
|
+
requestBody?: never;
|
|
8592
|
+
responses: {
|
|
8593
|
+
/** @description OK */
|
|
8594
|
+
200: {
|
|
8595
|
+
headers: {
|
|
8596
|
+
[name: string]: unknown;
|
|
8597
|
+
};
|
|
8598
|
+
content: {
|
|
8599
|
+
"application/json": components["schemas"]["StockMovementListResult"];
|
|
8600
|
+
};
|
|
8601
|
+
};
|
|
8602
|
+
};
|
|
8603
|
+
};
|
|
7933
8604
|
orders_stats_get: {
|
|
7934
8605
|
parameters: {
|
|
7935
8606
|
query?: {
|
|
@@ -7998,6 +8669,39 @@ export interface operations {
|
|
|
7998
8669
|
};
|
|
7999
8670
|
};
|
|
8000
8671
|
};
|
|
8672
|
+
orders_changes_list: {
|
|
8673
|
+
parameters: {
|
|
8674
|
+
query?: {
|
|
8675
|
+
cursor?: string;
|
|
8676
|
+
updatedSince?: string;
|
|
8677
|
+
limit?: number;
|
|
8678
|
+
};
|
|
8679
|
+
header?: never;
|
|
8680
|
+
path?: never;
|
|
8681
|
+
cookie?: never;
|
|
8682
|
+
};
|
|
8683
|
+
requestBody?: never;
|
|
8684
|
+
responses: {
|
|
8685
|
+
/** @description OK */
|
|
8686
|
+
200: {
|
|
8687
|
+
headers: {
|
|
8688
|
+
[name: string]: unknown;
|
|
8689
|
+
};
|
|
8690
|
+
content: {
|
|
8691
|
+
"application/json": components["schemas"]["OrderChangesResult"];
|
|
8692
|
+
};
|
|
8693
|
+
};
|
|
8694
|
+
/** @description Bad Request */
|
|
8695
|
+
400: {
|
|
8696
|
+
headers: {
|
|
8697
|
+
[name: string]: unknown;
|
|
8698
|
+
};
|
|
8699
|
+
content: {
|
|
8700
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
8701
|
+
};
|
|
8702
|
+
};
|
|
8703
|
+
};
|
|
8704
|
+
};
|
|
8001
8705
|
sales_orders_list: {
|
|
8002
8706
|
parameters: {
|
|
8003
8707
|
query?: {
|
|
@@ -8036,6 +8740,7 @@ export interface operations {
|
|
|
8036
8740
|
bankAccountId?: string;
|
|
8037
8741
|
unassigned?: boolean;
|
|
8038
8742
|
approved?: boolean;
|
|
8743
|
+
updatedSince?: string;
|
|
8039
8744
|
};
|
|
8040
8745
|
header?: never;
|
|
8041
8746
|
path?: never;
|
|
@@ -8096,6 +8801,41 @@ export interface operations {
|
|
|
8096
8801
|
};
|
|
8097
8802
|
};
|
|
8098
8803
|
};
|
|
8804
|
+
order_returns_list: {
|
|
8805
|
+
parameters: {
|
|
8806
|
+
query?: {
|
|
8807
|
+
status?: string;
|
|
8808
|
+
pageNumber?: number;
|
|
8809
|
+
pageSize?: number;
|
|
8810
|
+
orderId?: string;
|
|
8811
|
+
returnType?: string;
|
|
8812
|
+
dateFrom?: string;
|
|
8813
|
+
dateTo?: string;
|
|
8814
|
+
search?: string;
|
|
8815
|
+
branchId?: string;
|
|
8816
|
+
reason?: string;
|
|
8817
|
+
sortBy?: string;
|
|
8818
|
+
crmContactId?: string;
|
|
8819
|
+
outletId?: string;
|
|
8820
|
+
refundBankAccountId?: string;
|
|
8821
|
+
};
|
|
8822
|
+
header?: never;
|
|
8823
|
+
path?: never;
|
|
8824
|
+
cookie?: never;
|
|
8825
|
+
};
|
|
8826
|
+
requestBody?: never;
|
|
8827
|
+
responses: {
|
|
8828
|
+
/** @description OK */
|
|
8829
|
+
200: {
|
|
8830
|
+
headers: {
|
|
8831
|
+
[name: string]: unknown;
|
|
8832
|
+
};
|
|
8833
|
+
content: {
|
|
8834
|
+
"application/json": components["schemas"]["OrderReturnListResult"];
|
|
8835
|
+
};
|
|
8836
|
+
};
|
|
8837
|
+
};
|
|
8838
|
+
};
|
|
8099
8839
|
products_stats_get: {
|
|
8100
8840
|
parameters: {
|
|
8101
8841
|
query?: never;
|
|
@@ -8498,6 +9238,7 @@ export interface operations {
|
|
|
8498
9238
|
branchId?: string;
|
|
8499
9239
|
allBranches?: boolean;
|
|
8500
9240
|
slaOverdue?: boolean;
|
|
9241
|
+
updatedSince?: string;
|
|
8501
9242
|
};
|
|
8502
9243
|
header?: never;
|
|
8503
9244
|
path?: never;
|
|
@@ -8627,6 +9368,30 @@ export interface operations {
|
|
|
8627
9368
|
};
|
|
8628
9369
|
};
|
|
8629
9370
|
};
|
|
9371
|
+
contacts_changes_list: {
|
|
9372
|
+
parameters: {
|
|
9373
|
+
query?: {
|
|
9374
|
+
cursor?: string;
|
|
9375
|
+
updatedSince?: string;
|
|
9376
|
+
limit?: number;
|
|
9377
|
+
};
|
|
9378
|
+
header?: never;
|
|
9379
|
+
path?: never;
|
|
9380
|
+
cookie?: never;
|
|
9381
|
+
};
|
|
9382
|
+
requestBody?: never;
|
|
9383
|
+
responses: {
|
|
9384
|
+
/** @description OK */
|
|
9385
|
+
200: {
|
|
9386
|
+
headers: {
|
|
9387
|
+
[name: string]: unknown;
|
|
9388
|
+
};
|
|
9389
|
+
content: {
|
|
9390
|
+
"application/json": components["schemas"]["ContactChangesResult"];
|
|
9391
|
+
};
|
|
9392
|
+
};
|
|
9393
|
+
};
|
|
9394
|
+
};
|
|
8630
9395
|
contacts_facets_list: {
|
|
8631
9396
|
parameters: {
|
|
8632
9397
|
query?: {
|
|
@@ -8705,6 +9470,30 @@ export interface operations {
|
|
|
8705
9470
|
};
|
|
8706
9471
|
};
|
|
8707
9472
|
};
|
|
9473
|
+
opportunities_changes_list: {
|
|
9474
|
+
parameters: {
|
|
9475
|
+
query?: {
|
|
9476
|
+
cursor?: string;
|
|
9477
|
+
updatedSince?: string;
|
|
9478
|
+
limit?: number;
|
|
9479
|
+
};
|
|
9480
|
+
header?: never;
|
|
9481
|
+
path?: never;
|
|
9482
|
+
cookie?: never;
|
|
9483
|
+
};
|
|
9484
|
+
requestBody?: never;
|
|
9485
|
+
responses: {
|
|
9486
|
+
/** @description OK */
|
|
9487
|
+
200: {
|
|
9488
|
+
headers: {
|
|
9489
|
+
[name: string]: unknown;
|
|
9490
|
+
};
|
|
9491
|
+
content: {
|
|
9492
|
+
"application/json": components["schemas"]["OpportunityChangesResult"];
|
|
9493
|
+
};
|
|
9494
|
+
};
|
|
9495
|
+
};
|
|
9496
|
+
};
|
|
8708
9497
|
opportunities_list: {
|
|
8709
9498
|
parameters: {
|
|
8710
9499
|
query?: {
|
|
@@ -8730,6 +9519,7 @@ export interface operations {
|
|
|
8730
9519
|
sortBy?: string;
|
|
8731
9520
|
nextCallFrom?: string;
|
|
8732
9521
|
nextCallTo?: string;
|
|
9522
|
+
updatedSince?: string;
|
|
8733
9523
|
};
|
|
8734
9524
|
header?: never;
|
|
8735
9525
|
path?: never;
|