tsv2-library 1.0.61-alpha.59 → 1.0.61-alpha.60

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.
@@ -17,6 +17,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
17
17
  type: __PropType<boolean | undefined>;
18
18
  required: false;
19
19
  };
20
+ isFromUser: {
21
+ type: __PropType<boolean | undefined>;
22
+ required: false;
23
+ };
20
24
  successMessage: {
21
25
  type: __PropType<string | undefined>;
22
26
  required: false;
@@ -48,6 +52,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
48
52
  type: __PropType<boolean | undefined>;
49
53
  required: false;
50
54
  };
55
+ isFromUser: {
56
+ type: __PropType<boolean | undefined>;
57
+ required: false;
58
+ };
51
59
  successMessage: {
52
60
  type: __PropType<string | undefined>;
53
61
  required: false;
@@ -21,6 +21,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  type: __PropType<boolean | undefined>;
22
22
  required: false;
23
23
  };
24
+ isFromUser: {
25
+ type: __PropType<boolean | undefined>;
26
+ required: false;
27
+ };
24
28
  successMessage: {
25
29
  type: __PropType<string | undefined>;
26
30
  required: false;
@@ -59,6 +63,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
59
63
  type: __PropType<boolean | undefined>;
60
64
  required: false;
61
65
  };
66
+ isFromUser: {
67
+ type: __PropType<boolean | undefined>;
68
+ required: false;
69
+ };
62
70
  successMessage: {
63
71
  type: __PropType<string | undefined>;
64
72
  required: false;
@@ -1,5 +1,6 @@
1
1
  export type ReportMissingBody = {
2
2
  notes: string;
3
3
  reportSource: ReportSourceType;
4
+ isFromUser?: boolean;
4
5
  };
5
6
  export type ReportSourceType = 'Available Asset' | 'Audit Asset' | 'Borrowed Asset' | 'Assigned Asset' | 'Tracking Asset' | 'Maintenance Asset';
@@ -65551,6 +65551,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
65551
65551
  reportSource: {},
65552
65552
  visible: { type: Boolean },
65553
65553
  byUser: { type: Boolean },
65554
+ isFromUser: { type: Boolean },
65554
65555
  successMessage: {},
65555
65556
  submitFunction: { type: Function }
65556
65557
  },
@@ -65606,7 +65607,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
65606
65607
  notes: payload.formValues.notes,
65607
65608
  image: payload.formValues.image,
65608
65609
  reportSource: props.reportSource,
65609
- serialNumber: serialNumber.value
65610
+ serialNumber: serialNumber.value,
65611
+ isFromUser: props.isFromUser ?? void 0
65610
65612
  };
65611
65613
  const message2 = "Success, damaged asset report has been submitted.";
65612
65614
  if (props.submitFunction) {
@@ -65866,6 +65868,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
65866
65868
  trackingId: {},
65867
65869
  visible: { type: Boolean },
65868
65870
  permanentlyMissing: { type: Boolean },
65871
+ isFromUser: { type: Boolean },
65869
65872
  successMessage: {},
65870
65873
  submitWithoutApi: { type: Boolean },
65871
65874
  submitFunction: { type: Function }
@@ -65889,7 +65892,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
65889
65892
  setLoading(true);
65890
65893
  const body = {
65891
65894
  notes: payload.formValues.notes,
65892
- reportSource: props.reportSource
65895
+ reportSource: props.reportSource,
65896
+ isFromUser: props.isFromUser ?? void 0
65893
65897
  };
65894
65898
  const message2 = props.permanentlyMissing ? "Success, asset has been reported as permanently missing." : "Success, missing asset has been reported.";
65895
65899
  if (props.submitWithoutApi) {