@nomalism-com/types 0.11.19 → 0.11.20
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.
|
@@ -200,8 +200,8 @@ export interface IUpdateRequest {
|
|
|
200
200
|
commissioner_id?: string | null;
|
|
201
201
|
commission_percentage?: number;
|
|
202
202
|
commission_paid?: boolean;
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
is_archived?: boolean;
|
|
204
|
+
is_void?: boolean;
|
|
205
205
|
}
|
|
206
206
|
export interface IGetActionsResponse {
|
|
207
207
|
document_type: DocumentType;
|
|
@@ -237,8 +237,8 @@ var updateBodyKeys = {
|
|
|
237
237
|
commissioner_id: joi_1.default.string().uuid().allow(null).optional(),
|
|
238
238
|
commission_percentage: joi_1.default.number().positive().allow(0).optional(),
|
|
239
239
|
commission_paid: joi_1.default.boolean().optional(),
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
is_archived: joi_1.default.boolean().optional(),
|
|
241
|
+
is_void: joi_1.default.boolean().optional(),
|
|
242
242
|
};
|
|
243
243
|
exports.updateBody = joi_1.default
|
|
244
244
|
.object()
|
|
@@ -568,8 +568,8 @@ export type DocumentHeader = {
|
|
|
568
568
|
commission_percentage: number;
|
|
569
569
|
commission_paid: boolean;
|
|
570
570
|
return_reason: string | null;
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
is_archived: boolean;
|
|
572
|
+
is_void: boolean;
|
|
573
573
|
origin_id: string | null;
|
|
574
574
|
created_at: Date;
|
|
575
575
|
updated_at: Date;
|