@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
- archive?: boolean;
204
- void?: boolean;
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
- archive: joi_1.default.boolean().optional(),
241
- void: joi_1.default.boolean().optional(),
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
- archive: boolean;
572
- void: boolean;
571
+ is_archived: boolean;
572
+ is_void: boolean;
573
573
  origin_id: string | null;
574
574
  created_at: Date;
575
575
  updated_at: Date;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.11.19",
12
+ "version": "0.11.20",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [