repzo 1.0.161 → 1.0.163

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.
@@ -15473,10 +15473,12 @@ export declare namespace Service {
15473
15473
  } & Pick<Proforma.Data, "total" | "serial_number" | "currency" | "time" | "issue_date" | "external_serial_number">;
15474
15474
  export type WorkorderDetails = {
15475
15475
  activity_type: "workorder";
15476
- } & Pick<Workorder.Data, "name" | "serial_number" | "due_date">;
15476
+ media?: StringId[] | PopulatedMediaStorage[];
15477
+ } & Pick<Workorder.Data, "name" | "serial_number" | "due_date" | "status" | "description" | "priority" | "media">;
15477
15478
  export type WorkorderRequestDetails = {
15478
15479
  activity_type: "workorder-request";
15479
- } & Pick<WorkorderRequest.Data, "name">;
15480
+ media?: StringId[] | PopulatedMediaStorage[];
15481
+ } & Pick<WorkorderRequest.Data, "name" | "media" | "description" | "priority" | "status">;
15480
15482
  export type ReturnWholeInvoiceDetails = {
15481
15483
  activity_type: "return-whole-invoice";
15482
15484
  returned_from_serial_number: FullInvoice.Data["returned_from_serial_number"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.161",
3
+ "version": "1.0.163",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -17426,15 +17426,28 @@ export namespace Service {
17426
17426
  >;
17427
17427
 
17428
17428
  // Workorder ********************************************************************
17429
- export type WorkorderDetails = { activity_type: "workorder" } & Pick<
17429
+ export type WorkorderDetails = {
17430
+ activity_type: "workorder";
17431
+ media?: StringId[] | PopulatedMediaStorage[];
17432
+ } & Pick<
17430
17433
  Workorder.Data,
17431
- "name" | "serial_number" | "due_date"
17434
+ | "name"
17435
+ | "serial_number"
17436
+ | "due_date"
17437
+ | "status"
17438
+ | "description"
17439
+ | "priority"
17440
+ | "media"
17432
17441
  >;
17433
17442
 
17434
17443
  // WorkorderRequest ********************************************************************
17435
17444
  export type WorkorderRequestDetails = {
17436
17445
  activity_type: "workorder-request";
17437
- } & Pick<WorkorderRequest.Data, "name">;
17446
+ media?: StringId[] | PopulatedMediaStorage[];
17447
+ } & Pick<
17448
+ WorkorderRequest.Data,
17449
+ "name" | "media" | "description" | "priority" | "status"
17450
+ >;
17438
17451
 
17439
17452
  // ReturnWholeInvoice ********************************************************************
17440
17453
  export type ReturnWholeInvoiceDetails = {