repzo 1.0.162 → 1.0.164
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 -0
- package/package.json +1 -1
- package/src/types/index.ts +7 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -15204,6 +15204,8 @@ export declare namespace Service {
|
|
|
15204
15204
|
export type VisitDetails = {
|
|
15205
15205
|
activity_type: "visit";
|
|
15206
15206
|
activities: (ActivityAuditVisitDetails | ActivityPhotoVisitDetails | ActivityAvailabilityVisitDetails | ActivityNoteVisitDetails | ActivityTaskVisitDetails | ActivityPlanogramVisitDetails | ActivityShelfshareVisitDetails | ActivitySecondaryDisplayVisitDetails | ActivityCheckoutDisplayVisitDetails | ActivityItemStatusVisitDetails | ActivityFormResultVisitDetails | ActivityFormV2ResultVisitDetails | ActivityStorecheckVisitDetails | ActivityFeedbackVisitDetails | ApprovalRequestVisitDetails | AssetPartReceivalVisitDetails | AssetPartTransferVisitDetails | ReturnAssetPartUnitVisitDetails | StoreAssetPartUnitVisitDetails | PaymentVisitDetails | RefundVisitDetails | ConvertProformaVisitDetails | SettlementVisitDetails | FullInvoiceVisitDetails | ProformaVisitDetails | ReturnWholeInvoiceVisitDetails | VoidInvoiceVisitDetails)[];
|
|
15207
|
+
feed_back_option?: StringId;
|
|
15208
|
+
feed_back_option_label?: string;
|
|
15207
15209
|
} & Pick<Visit.Data, "closed_by_system" | "geoPoint" | "start_time" | "end_time" | "total_time" | "start_out_of_geofence" | "end_out_of_geofence" | "auto_closed_by_geofence" | "auto_closed_by_geofence_reason" | "client_geo_location" | "delta_distance">;
|
|
15208
15210
|
export type ActivityPhotoDetails = {
|
|
15209
15211
|
activity_type: "activity-photo";
|
|
@@ -15473,9 +15475,11 @@ export declare namespace Service {
|
|
|
15473
15475
|
} & Pick<Proforma.Data, "total" | "serial_number" | "currency" | "time" | "issue_date" | "external_serial_number">;
|
|
15474
15476
|
export type WorkorderDetails = {
|
|
15475
15477
|
activity_type: "workorder";
|
|
15478
|
+
media?: StringId[] | PopulatedMediaStorage[];
|
|
15476
15479
|
} & Pick<Workorder.Data, "name" | "serial_number" | "due_date" | "status" | "description" | "priority" | "media">;
|
|
15477
15480
|
export type WorkorderRequestDetails = {
|
|
15478
15481
|
activity_type: "workorder-request";
|
|
15482
|
+
media?: StringId[] | PopulatedMediaStorage[];
|
|
15479
15483
|
} & Pick<WorkorderRequest.Data, "name" | "media" | "description" | "priority" | "status">;
|
|
15480
15484
|
export type ReturnWholeInvoiceDetails = {
|
|
15481
15485
|
activity_type: "return-whole-invoice";
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -16949,6 +16949,8 @@ export namespace Service {
|
|
|
16949
16949
|
| ReturnWholeInvoiceVisitDetails
|
|
16950
16950
|
| VoidInvoiceVisitDetails
|
|
16951
16951
|
)[];
|
|
16952
|
+
feed_back_option?: StringId;
|
|
16953
|
+
feed_back_option_label?: string;
|
|
16952
16954
|
} & Pick<
|
|
16953
16955
|
Visit.Data,
|
|
16954
16956
|
| "closed_by_system"
|
|
@@ -17426,7 +17428,10 @@ export namespace Service {
|
|
|
17426
17428
|
>;
|
|
17427
17429
|
|
|
17428
17430
|
// Workorder ********************************************************************
|
|
17429
|
-
export type WorkorderDetails = {
|
|
17431
|
+
export type WorkorderDetails = {
|
|
17432
|
+
activity_type: "workorder";
|
|
17433
|
+
media?: StringId[] | PopulatedMediaStorage[];
|
|
17434
|
+
} & Pick<
|
|
17430
17435
|
Workorder.Data,
|
|
17431
17436
|
| "name"
|
|
17432
17437
|
| "serial_number"
|
|
@@ -17440,6 +17445,7 @@ export namespace Service {
|
|
|
17440
17445
|
// WorkorderRequest ********************************************************************
|
|
17441
17446
|
export type WorkorderRequestDetails = {
|
|
17442
17447
|
activity_type: "workorder-request";
|
|
17448
|
+
media?: StringId[] | PopulatedMediaStorage[];
|
|
17443
17449
|
} & Pick<
|
|
17444
17450
|
WorkorderRequest.Data,
|
|
17445
17451
|
"name" | "media" | "description" | "priority" | "status"
|