sinfactura-types 1.10.486 → 1.10.487
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/cjs/supplier.js +9 -1
- package/dist/supplier.d.ts +9 -0
- package/dist/supplier.js +8 -0
- package/package.json +1 -1
package/dist/cjs/supplier.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUPPLIER_PAYABLES_ERROR_CODES = exports.MAX_SUPPLIER_PAYMENT_APPLICATIONS = exports.SUPPLIER_INVOICE_PAYMENT_STATUSES = exports.SUPPLIER_INVOICE_MATCH_ERROR_CODES = exports.DEFAULT_PURCHASE_MATCH_TOLERANCE = exports.SUPPLIER_INVOICE_MATCH_STATUSES = exports.SUPPLIER_INVOICE_LINES_TOTAL_TOLERANCE = exports.SUPPLIER_INVOICE_MAX_LINES = void 0;
|
|
3
|
+
exports.SUPPLIER_INVOICE_FCE_ERROR_CODES = exports.SUPPLIER_PAYABLES_ERROR_CODES = exports.MAX_SUPPLIER_PAYMENT_APPLICATIONS = exports.SUPPLIER_INVOICE_PAYMENT_STATUSES = exports.SUPPLIER_INVOICE_MATCH_ERROR_CODES = exports.DEFAULT_PURCHASE_MATCH_TOLERANCE = exports.SUPPLIER_INVOICE_MATCH_STATUSES = exports.SUPPLIER_INVOICE_LINES_TOTAL_TOLERANCE = exports.SUPPLIER_INVOICE_MAX_LINES = void 0;
|
|
4
4
|
/** Most lines one vendor bill may carry — the purchase order's own line cap. */
|
|
5
5
|
exports.SUPPLIER_INVOICE_MAX_LINES = 500;
|
|
6
6
|
/**
|
|
@@ -89,3 +89,11 @@ exports.SUPPLIER_PAYABLES_ERROR_CODES = [
|
|
|
89
89
|
'INVOICE_PAYMENT_CONFLICT',
|
|
90
90
|
'INVOICE_HAS_PAYMENTS',
|
|
91
91
|
];
|
|
92
|
+
/**
|
|
93
|
+
* Refusals the buyer-side FCE block adds to `POST /suppliers` (`mode: 'invoice'`).
|
|
94
|
+
*
|
|
95
|
+
* - `SUPPLIER_INVOICE_FCE_STATUS_CONFLICT` · 409 — an edit carrying `fce` was
|
|
96
|
+
* merged onto a block whose `status` (or the block itself) changed between
|
|
97
|
+
* read and write, e.g. an accept/reject landing mid-save; re-read and retry.
|
|
98
|
+
*/
|
|
99
|
+
exports.SUPPLIER_INVOICE_FCE_ERROR_CODES = ['SUPPLIER_INVOICE_FCE_STATUS_CONFLICT'];
|
package/dist/supplier.d.ts
CHANGED
|
@@ -608,4 +608,13 @@ export declare const MAX_SUPPLIER_PAYMENT_APPLICATIONS = 25;
|
|
|
608
608
|
*/
|
|
609
609
|
export declare const SUPPLIER_PAYABLES_ERROR_CODES: readonly ["PAYMENT_OVERAPPLIED", "PAYMENT_APPLICATION_INVALID", "SUPPLIER_INVOICE_NOT_FOUND", "INVOICE_OVERPAID", "INVOICE_MATCH_EXCEPTION", "INVOICE_PAYMENT_CONFLICT", "INVOICE_HAS_PAYMENTS"];
|
|
610
610
|
export type SupplierPayablesErrorCode = (typeof SUPPLIER_PAYABLES_ERROR_CODES)[number];
|
|
611
|
+
/**
|
|
612
|
+
* Refusals the buyer-side FCE block adds to `POST /suppliers` (`mode: 'invoice'`).
|
|
613
|
+
*
|
|
614
|
+
* - `SUPPLIER_INVOICE_FCE_STATUS_CONFLICT` · 409 — an edit carrying `fce` was
|
|
615
|
+
* merged onto a block whose `status` (or the block itself) changed between
|
|
616
|
+
* read and write, e.g. an accept/reject landing mid-save; re-read and retry.
|
|
617
|
+
*/
|
|
618
|
+
export declare const SUPPLIER_INVOICE_FCE_ERROR_CODES: readonly ["SUPPLIER_INVOICE_FCE_STATUS_CONFLICT"];
|
|
619
|
+
export type SupplierInvoiceFceErrorCode = (typeof SUPPLIER_INVOICE_FCE_ERROR_CODES)[number];
|
|
611
620
|
export {};
|
package/dist/supplier.js
CHANGED
|
@@ -86,3 +86,11 @@ export const SUPPLIER_PAYABLES_ERROR_CODES = [
|
|
|
86
86
|
'INVOICE_PAYMENT_CONFLICT',
|
|
87
87
|
'INVOICE_HAS_PAYMENTS',
|
|
88
88
|
];
|
|
89
|
+
/**
|
|
90
|
+
* Refusals the buyer-side FCE block adds to `POST /suppliers` (`mode: 'invoice'`).
|
|
91
|
+
*
|
|
92
|
+
* - `SUPPLIER_INVOICE_FCE_STATUS_CONFLICT` · 409 — an edit carrying `fce` was
|
|
93
|
+
* merged onto a block whose `status` (or the block itself) changed between
|
|
94
|
+
* read and write, e.g. an accept/reject landing mid-save; re-read and retry.
|
|
95
|
+
*/
|
|
96
|
+
export const SUPPLIER_INVOICE_FCE_ERROR_CODES = ['SUPPLIER_INVOICE_FCE_STATUS_CONFLICT'];
|