project-booster-vue 10.7.0 → 10.7.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "10.7.0",
3
+ "version": "10.7.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -35,11 +35,12 @@ const props = defineProps({
35
35
 
36
36
  const iframeUri = ref('https://book.timify.com/services?');
37
37
  const store = useStore();
38
- const showClicRDV = computed(() => store.getters['timify/showClicRDV']);
38
+ const showClicRDV = computed(() => store.getters['timify/getShowClicRDV']);
39
39
  const getShowServices = computed(() => store.getters['timify/getShowServices']);
40
40
  const getAccountId = computed(() => store.getters['timify/getAccountId']);
41
- const currentUser = store.getters['inhabitants/getCurrentInhabitant'];
42
- const projectId = store.getters['appointmentQualification/getCurrentAppointmentQualification'];
41
+ const currentUser = computed(() => store.getters['inhabitants/getCurrentInhabitant']);
42
+ const projectId = computed(() => store.getters['appointmentQualification/getCurrentAppointmentQualification']);
43
+ const collaboratorUri = computed(() => store.getters['timify/getCollaboratorUri']);
43
44
 
44
45
  onBeforeMount(() => {
45
46
  store.dispatch('timify/loadTimify', {
@@ -51,11 +52,9 @@ onBeforeMount(() => {
51
52
  projectId,
52
53
  });
53
54
 
54
- const collaboratorUri = store.getters['timify/getCollaboratorUri'];
55
-
56
- iframeUri.value += `accountId=${getAccountId}&showServices=${getShowServices}`;
57
- iframeUri.value += `&guestFirstName=${currentUser.firstname}&guestLastName=${currentUser.lastname}&guestEmail=${currentUser.email}&guestPhone=${currentUser.phone}`;
58
- iframeUri.value += `&externalCustomerField[inhabitantProjectId]=${projectId}&externalCustomerField[collaboratorLink]=${collaboratorUri}&hideCloseButton=true`;
55
+ iframeUri.value += `accountId=${getAccountId.value}&showServices=${getShowServices.value}`;
56
+ iframeUri.value += `&guestFirstName=${currentUser.value.firstname}&guestLastName=${currentUser.value.lastname}&guestEmail=${currentUser.value.email}&guestPhone=${currentUser.value.phone}`;
57
+ iframeUri.value += `&externalCustomerField[inhabitantProjectId]=${projectId.value}&externalCustomerField[collaboratorLink]=${collaboratorUri.value}&hideCloseButton=true`;
59
58
  });
60
59
  </script>
61
60
 
@@ -56,44 +56,44 @@ const generateStory =
56
56
  });
57
57
 
58
58
  export const estimateNewConstructionPrep = generateStory(
59
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/6e3e9d6d-a019-4c1c-8d25-002a4ebfcb46',
60
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
59
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/6e3e9d6d-a019-4c1c-8d25-002a4ebfcb46',
60
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
61
61
  );
62
62
  export const estimateDressingPrep = generateStory(
63
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/10df6aa4-4ae0-41a0-93e3-dc66eb9d39c8',
64
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
63
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/10df6aa4-4ae0-41a0-93e3-dc66eb9d39c8',
64
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
65
65
  );
66
66
  export const estimateBookcasePrep = generateStory(
67
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/88d96e4c-685b-4275-8eae-f50828fe4755',
68
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
67
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/88d96e4c-685b-4275-8eae-f50828fe4755',
68
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
69
69
  );
70
70
  export const estimateKitchenPrep = generateStory(
71
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/068160b2-b28a-46fa-8fd6-4775450fa7b4',
72
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
71
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/068160b2-b28a-46fa-8fd6-4775450fa7b4',
72
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
73
73
  );
74
74
  export const estimateInsulationPrep = generateStory(
75
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/60100496-92ea-49ab-8a43-c08afa57cd60',
76
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
75
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/60100496-92ea-49ab-8a43-c08afa57cd60',
76
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
77
77
  );
78
78
  export const estimateTvPrep = generateStory(
79
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/dc5370cf-0761-43a0-8309-ced76be08d8b',
80
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
79
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/dc5370cf-0761-43a0-8309-ced76be08d8b',
80
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
81
81
  );
82
82
  export const estimateStoragePrep = generateStory(
83
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/e39126db-03f7-4b07-975a-97b4cf603ef1',
84
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
83
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/e39126db-03f7-4b07-975a-97b4cf603ef1',
84
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
85
85
  );
86
86
  export const estimateHeatingPrep = generateStory(
87
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/eaba8264-620d-475e-830f-89166b49a667',
88
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
87
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/eaba8264-620d-475e-830f-89166b49a667',
88
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
89
89
  );
90
90
  export const estimateBathroomPrep = generateStory(
91
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/c9c4df50-cbcb-4265-b9a7-6645d3adb03b',
92
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
91
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/c9c4df50-cbcb-4265-b9a7-6645d3adb03b',
92
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
93
93
  );
94
94
  export const estimateFloorPrep = generateStory(
95
- 'https://api-prep.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/LMFR_FLOOR',
96
- { 'X-gateway-apikey': 'nII0D8gvbudmDONHRJo0wbYKJAytn97x' },
95
+ 'https://ccdp-prep.priv.nprd.api.devportal.adeo.cloud/api-project-booster-budget-estimate/v1/scenarios/LMFR_FLOOR',
96
+ { 'X-gateway-apikey': 'MHe9fF1snj83vG57ZW9kmWh1YselNQeS' },
97
97
  );
98
98
 
99
99
  export const projectDeclarationGenericPrep = generateStory(