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.
- package/lib/types/index.d.ts +4 -2
- package/package.json +1 -1
- package/src/types/index.ts +16 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
package/src/types/index.ts
CHANGED
|
@@ -17426,15 +17426,28 @@ export namespace Service {
|
|
|
17426
17426
|
>;
|
|
17427
17427
|
|
|
17428
17428
|
// Workorder ********************************************************************
|
|
17429
|
-
export type WorkorderDetails = {
|
|
17429
|
+
export type WorkorderDetails = {
|
|
17430
|
+
activity_type: "workorder";
|
|
17431
|
+
media?: StringId[] | PopulatedMediaStorage[];
|
|
17432
|
+
} & Pick<
|
|
17430
17433
|
Workorder.Data,
|
|
17431
|
-
|
|
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
|
-
|
|
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 = {
|