@lookiero/checkout 8.14.0-beta.102 → 8.14.0-beta.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.
Files changed (178) hide show
  1. package/dist/pact.config.d.ts +4 -12
  2. package/dist/pact.config.js +4 -11
  3. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +0 -1
  4. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +24 -24
  5. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +33 -40
  6. package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +6 -6
  7. package/dist/src/infrastructure/projection/checkout/checkout.mock.js +12 -15
  8. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +82 -89
  9. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +33 -40
  10. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +31 -38
  11. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +31 -38
  12. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +31 -38
  13. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +0 -1
  14. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +3 -3
  15. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +33 -40
  16. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +6 -10
  17. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +38 -39
  18. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +33 -40
  19. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +0 -1
  20. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +96 -97
  21. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +33 -40
  22. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +83 -94
  23. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +1 -7
  24. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +173 -178
  25. package/dist/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +1 -1
  26. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +33 -40
  27. package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +2 -3
  28. package/dist/src/infrastructure/projection/pricing/pricing.mock.js +34 -35
  29. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +33 -40
  30. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +0 -1
  31. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +377 -378
  32. package/dist/src/infrastructure/ui/Root.d.ts +2 -0
  33. package/dist/src/infrastructure/ui/Root.js +2 -2
  34. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +5 -0
  35. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.js +3 -3
  36. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +5 -0
  37. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.js +1 -1
  38. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +5 -0
  39. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +2 -2
  40. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +1 -1
  41. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +1 -1
  42. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.js +1 -1
  43. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +2 -2
  44. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +3 -1
  45. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +3 -3
  46. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +4 -4
  47. package/dist/src/infrastructure/ui/routing/Routing.d.ts +7 -0
  48. package/dist/src/infrastructure/ui/routing/Routing.js +5 -5
  49. package/dist/src/infrastructure/ui/views/App.d.ts +8 -0
  50. package/dist/src/infrastructure/ui/views/App.js +4 -4
  51. package/dist/src/infrastructure/ui/views/App.style.d.ts +3 -3
  52. package/dist/src/infrastructure/ui/views/App.style.js +3 -4
  53. package/dist/src/infrastructure/ui/views/item/Item.d.ts +5 -0
  54. package/dist/src/infrastructure/ui/views/item/Item.js +3 -3
  55. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +2 -0
  56. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +2 -2
  57. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +1 -1
  58. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +1 -1
  59. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +5 -1
  60. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +2 -2
  61. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +5 -0
  62. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +2 -2
  63. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.d.ts +3 -3
  64. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +2 -2
  65. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +1 -1
  66. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +1 -1
  67. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +2 -0
  68. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +2 -2
  69. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +5 -0
  70. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +2 -2
  71. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +5 -0
  72. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +2 -2
  73. package/dist/src/infrastructure/ui/views/return/Return.d.ts +5 -0
  74. package/dist/src/infrastructure/ui/views/return/Return.js +2 -2
  75. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +5 -0
  76. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +12 -14
  77. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +2 -6
  78. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.js +2 -6
  79. package/dist/src/version.d.ts +1 -1
  80. package/dist/src/version.js +1 -1
  81. package/jest.setup.js +20 -0
  82. package/package.json +5 -4
  83. package/pact.config.ts +31 -0
  84. package/pact.publish.js +32 -0
  85. package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.ts +62 -0
  86. package/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.ts +128 -0
  87. package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.ts +63 -0
  88. package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.ts +57 -0
  89. package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.ts +57 -0
  90. package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.ts +57 -0
  91. package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.ts +63 -0
  92. package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.ts +64 -0
  93. package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.ts +62 -0
  94. package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.ts +136 -0
  95. package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.ts +1 -1
  96. package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.ts +62 -0
  97. package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.ts +62 -0
  98. package/src/infrastructure/ui/Root.tsx +4 -1
  99. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.tsx +14 -1
  100. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.tsx +8 -1
  101. package/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.ts +6 -0
  102. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.ts +1 -1
  103. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +2 -1
  104. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.tsx +2 -0
  105. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +2 -0
  106. package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +5 -2
  107. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +3 -2
  108. package/src/infrastructure/ui/routing/Routing.tsx +13 -5
  109. package/{dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js → src/infrastructure/ui/views/App.style.ts} +2 -7
  110. package/src/infrastructure/ui/views/App.tsx +14 -7
  111. package/src/infrastructure/ui/views/item/Item.tsx +8 -2
  112. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.ts +1 -1
  113. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +9 -3
  114. package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +8 -1
  115. package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +12 -3
  116. package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.ts +1 -1
  117. package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +6 -6
  118. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +4 -3
  119. package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.tsx +12 -2
  120. package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.tsx +14 -4
  121. package/src/infrastructure/ui/views/return/Return.tsx +8 -1
  122. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.ts +2 -6
  123. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +33 -38
  124. package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -13
  125. package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -19
  126. package/dist/src/infrastructure/ui/components/layouts/layout/Layout.d.ts +0 -22
  127. package/dist/src/infrastructure/ui/components/layouts/layout/Layout.js +0 -1
  128. package/dist/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.d.ts +0 -7
  129. package/dist/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.js +0 -5
  130. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.d.ts +0 -7
  131. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.js +0 -6
  132. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.d.ts +0 -4
  133. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.js +0 -20
  134. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +0 -4
  135. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.js +0 -43
  136. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +0 -12
  137. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.d.ts +0 -7
  138. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +0 -21
  139. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.style.d.ts +0 -8
  140. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.style.js +0 -12
  141. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +0 -12
  142. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.js +0 -64
  143. package/dist/src/infrastructure/ui/i18n/fetchTranslations.d.ts +0 -10
  144. package/dist/src/infrastructure/ui/i18n/fetchTranslations.js +0 -17
  145. package/dist/src/infrastructure/ui/i18n/translationEndpoint.d.ts +0 -20
  146. package/dist/src/infrastructure/ui/i18n/translationEndpoint.js +0 -27
  147. package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -10
  148. package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -27
  149. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -7
  150. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -11
  151. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -12
  152. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -64
  153. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -12
  154. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -16
  155. package/dist/src/infrastructure/ui/views/return/Return.style.d.ts +0 -40
  156. package/dist/src/infrastructure/ui/views/return/Return.style.js +0 -44
  157. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -14
  158. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -28
  159. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -7
  160. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -11
  161. package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -26
  162. package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -21
  163. package/dist/src/projection/shared/country.d.ts +0 -14
  164. package/dist/src/projection/shared/country.js +0 -15
  165. package/dist/src/projection/shared/customer.d.ts +0 -9
  166. package/dist/src/projection/shared/customer.js +0 -1
  167. package/dist/src/projection/shared/locale.d.ts +0 -12
  168. package/dist/src/projection/shared/locale.js +0 -13
  169. package/dist/src/projection/shared/order.d.ts +0 -6
  170. package/dist/src/projection/shared/order.js +0 -1
  171. package/dist/src/projection/shared/price.d.ts +0 -11
  172. package/dist/src/projection/shared/price.js +0 -1
  173. package/dist/src/projection/shared/size.d.ts +0 -21
  174. package/dist/src/projection/shared/size.js +0 -4
  175. package/dist/src/projection/shared/subscription.d.ts +0 -2
  176. package/dist/src/projection/shared/subscription.js +0 -1
  177. package/dist/src/shared/ui/components/atoms/error/Error.d.ts +0 -11
  178. package/dist/src/shared/ui/components/atoms/error/Error.js +0 -6
@@ -1,401 +1,400 @@
1
1
  import { ReturnQuestionType } from "../../../projection/returnQuestion/returnQuestion";
2
-
3
2
  const returnQuestions = [
4
- {
5
- id: "efe07b97-f6fb-4b6a-ba92-b68519320b2c",
6
- name: "main_title",
7
- placeholder: "",
8
- type: ReturnQuestionType.HOST_DEFAULT,
9
- children: [
10
- {
11
- id: "ed396b68-1436-48ab-842f-fbfea996fad4",
12
- name: "size",
13
- placeholder: "size_placeholder",
14
- type: ReturnQuestionType.HOST_SELECT,
3
+ {
4
+ id: "efe07b97-f6fb-4b6a-ba92-b68519320b2c",
5
+ name: "main_title",
6
+ placeholder: "",
7
+ type: ReturnQuestionType.HOST_DEFAULT,
15
8
  children: [
16
- {
17
- id: "0ad1dba8-b02c-4121-a1e3-981f1c30800d",
18
- name: "size_title",
19
- placeholder: "",
20
- type: ReturnQuestionType.HOST_STACK,
21
- children: [
22
- {
23
- id: "9251dc2c-d76a-484d-9299-346929af932f",
24
- name: "size_large",
25
- placeholder: "",
26
- type: ReturnQuestionType.OPTION,
9
+ {
10
+ id: "ed396b68-1436-48ab-842f-fbfea996fad4",
11
+ name: "size",
12
+ placeholder: "size_placeholder",
13
+ type: ReturnQuestionType.HOST_SELECT,
27
14
  children: [
28
- {
29
- id: "542c4d24-e1da-484f-8c3a-7d89ee135adc",
30
- name: "",
31
- placeholder: "",
32
- type: ReturnQuestionType.HOST_STACK,
33
- children: [
34
- {
35
- id: "68c0bb98-b00a-4b86-af43-528fe903cb69",
36
- name: "size_overall",
15
+ {
16
+ id: "0ad1dba8-b02c-4121-a1e3-981f1c30800d",
17
+ name: "size_title",
37
18
  placeholder: "",
38
- type: ReturnQuestionType.OPTION,
39
- },
40
- {
41
- id: "85e84a77-461c-41e6-8544-95b5294d0b80",
42
- name: "size_trousers_too_long",
43
- placeholder: "",
44
- type: ReturnQuestionType.OPTION,
45
- },
46
- {
47
- id: "29441d25-8d9f-471e-a13e-a03f61c88091",
48
- name: "size_fit_cut_does_not_fit",
49
- placeholder: "",
50
- type: ReturnQuestionType.OPTION,
51
- },
52
- ],
53
- },
19
+ type: ReturnQuestionType.HOST_STACK,
20
+ children: [
21
+ {
22
+ id: "9251dc2c-d76a-484d-9299-346929af932f",
23
+ name: "size_large",
24
+ placeholder: "",
25
+ type: ReturnQuestionType.OPTION,
26
+ children: [
27
+ {
28
+ id: "542c4d24-e1da-484f-8c3a-7d89ee135adc",
29
+ name: "",
30
+ placeholder: "",
31
+ type: ReturnQuestionType.HOST_STACK,
32
+ children: [
33
+ {
34
+ id: "68c0bb98-b00a-4b86-af43-528fe903cb69",
35
+ name: "size_overall",
36
+ placeholder: "",
37
+ type: ReturnQuestionType.OPTION,
38
+ },
39
+ {
40
+ id: "85e84a77-461c-41e6-8544-95b5294d0b80",
41
+ name: "size_trousers_too_long",
42
+ placeholder: "",
43
+ type: ReturnQuestionType.OPTION,
44
+ },
45
+ {
46
+ id: "29441d25-8d9f-471e-a13e-a03f61c88091",
47
+ name: "size_fit_cut_does_not_fit",
48
+ placeholder: "",
49
+ type: ReturnQuestionType.OPTION,
50
+ },
51
+ ],
52
+ },
53
+ ],
54
+ },
55
+ {
56
+ id: "a081c3e9-1904-4a60-8899-b72c1a3a0291",
57
+ name: "size_correct",
58
+ placeholder: "",
59
+ type: ReturnQuestionType.OPTION,
60
+ },
61
+ {
62
+ id: "624cce3d-bd86-463a-b16b-c862ad73d5f3",
63
+ name: "size_small",
64
+ placeholder: "",
65
+ type: ReturnQuestionType.OPTION,
66
+ children: [
67
+ {
68
+ id: "58e5ae9a-bc0d-4d27-b267-854a51c2a79a",
69
+ name: "",
70
+ placeholder: "",
71
+ type: ReturnQuestionType.HOST_STACK,
72
+ children: [
73
+ {
74
+ id: "6a3d11fc-570c-4085-a850-1967228cdd4c",
75
+ name: "size_overall",
76
+ placeholder: "",
77
+ type: ReturnQuestionType.OPTION,
78
+ },
79
+ {
80
+ id: "c27e1936-deea-4dbe-a8f1-fe4fb8564deb",
81
+ name: "size_trousers_too_short",
82
+ placeholder: "",
83
+ type: ReturnQuestionType.OPTION,
84
+ },
85
+ {
86
+ id: "e77232ae-eeec-4722-b2d3-f5c0d34fd0ca",
87
+ name: "size_fit_cut_does_not_fit",
88
+ placeholder: "",
89
+ type: ReturnQuestionType.OPTION,
90
+ },
91
+ ],
92
+ },
93
+ ],
94
+ },
95
+ ],
96
+ },
54
97
  ],
55
- },
56
- {
57
- id: "a081c3e9-1904-4a60-8899-b72c1a3a0291",
58
- name: "size_correct",
59
- placeholder: "",
60
- type: ReturnQuestionType.OPTION,
61
- },
62
- {
63
- id: "624cce3d-bd86-463a-b16b-c862ad73d5f3",
64
- name: "size_small",
65
- placeholder: "",
66
- type: ReturnQuestionType.OPTION,
98
+ },
99
+ {
100
+ id: "6a6d3878-5561-412c-96f3-7ed79ee587bb",
101
+ name: "style",
102
+ placeholder: "style_placeholder",
103
+ type: ReturnQuestionType.HOST_SELECT,
67
104
  children: [
68
- {
69
- id: "58e5ae9a-bc0d-4d27-b267-854a51c2a79a",
70
- name: "",
71
- placeholder: "",
72
- type: ReturnQuestionType.HOST_STACK,
73
- children: [
74
- {
75
- id: "6a3d11fc-570c-4085-a850-1967228cdd4c",
76
- name: "size_overall",
77
- placeholder: "",
78
- type: ReturnQuestionType.OPTION,
79
- },
80
- {
81
- id: "c27e1936-deea-4dbe-a8f1-fe4fb8564deb",
82
- name: "size_trousers_too_short",
83
- placeholder: "",
84
- type: ReturnQuestionType.OPTION,
85
- },
86
- {
87
- id: "e77232ae-eeec-4722-b2d3-f5c0d34fd0ca",
88
- name: "size_fit_cut_does_not_fit",
105
+ {
106
+ id: "fd7ff4a0-78ed-4c0d-aa4d-64962739c322",
107
+ name: "style_title",
89
108
  placeholder: "",
90
- type: ReturnQuestionType.OPTION,
91
- },
92
- ],
93
- },
109
+ type: ReturnQuestionType.HOST_STACK,
110
+ children: [
111
+ {
112
+ id: "56631448-d33d-49fb-b3f8-4486b68b60c3",
113
+ name: "style_i_love_it_but",
114
+ placeholder: "",
115
+ type: ReturnQuestionType.OPTION,
116
+ children: [
117
+ {
118
+ id: "90329d91-bd5d-4439-bb0a-b338caaeff2b",
119
+ name: "",
120
+ placeholder: "",
121
+ type: ReturnQuestionType.HOST_STACK,
122
+ children: [
123
+ {
124
+ id: "a3d937b6-7499-4a3c-86bf-5c0af9ab2e23",
125
+ name: "style_i_already_have_something_similar",
126
+ placeholder: "",
127
+ type: ReturnQuestionType.OPTION,
128
+ },
129
+ {
130
+ id: "7970edd3-fb5c-42d3-afe3-ce31bcbb856c",
131
+ name: "style_very_basic_simple",
132
+ placeholder: "",
133
+ type: ReturnQuestionType.OPTION,
134
+ },
135
+ {
136
+ id: "bab3d4f9-0227-4550-a53f-3c125d68429c",
137
+ name: "style_i_dont_need_it_at_the_moment",
138
+ placeholder: "",
139
+ type: ReturnQuestionType.OPTION,
140
+ },
141
+ ],
142
+ },
143
+ ],
144
+ },
145
+ {
146
+ id: "5287d1df-a28a-42cd-9138-01f82aeea4c2",
147
+ name: "style_i_like_it_but",
148
+ placeholder: "",
149
+ type: ReturnQuestionType.OPTION,
150
+ children: [
151
+ {
152
+ id: "35b86395-6b6b-4a39-ab16-05511f58acdd",
153
+ name: "",
154
+ placeholder: "",
155
+ type: ReturnQuestionType.HOST_STACK,
156
+ children: [
157
+ {
158
+ id: "e1f6ac53-f203-4b32-9ff0-782c028d9e95",
159
+ name: "style_i_already_have_something_similar",
160
+ placeholder: "",
161
+ type: ReturnQuestionType.OPTION,
162
+ },
163
+ {
164
+ id: "12875926-b67a-4ad3-852c-1608c7dcc558",
165
+ name: "style_very_basic_simple",
166
+ placeholder: "",
167
+ type: ReturnQuestionType.OPTION,
168
+ },
169
+ {
170
+ id: "a5eb96bf-73d4-4df5-8ad8-097410b24526",
171
+ name: "style_i_dont_need_it_at_the_moment",
172
+ placeholder: "",
173
+ type: ReturnQuestionType.OPTION,
174
+ },
175
+ ],
176
+ },
177
+ ],
178
+ },
179
+ {
180
+ id: "757107a9-8e2d-4194-a7fe-0d55cde49c11",
181
+ name: "style_not_bad_but",
182
+ placeholder: "",
183
+ type: ReturnQuestionType.OPTION,
184
+ children: [
185
+ {
186
+ id: "c6f75ee3-a445-4103-a682-f0c3a742108d",
187
+ name: "",
188
+ placeholder: "",
189
+ type: ReturnQuestionType.HOST_STACK,
190
+ children: [
191
+ {
192
+ id: "4f46d4b1-b103-43b2-b669-be721ab46e03",
193
+ name: "style_i_dont_like_the_color",
194
+ placeholder: "",
195
+ type: ReturnQuestionType.OPTION,
196
+ },
197
+ {
198
+ id: "48412165-5e05-4806-8e21-ea59c41d0479",
199
+ name: "style_very_basic_simple",
200
+ placeholder: "",
201
+ type: ReturnQuestionType.OPTION,
202
+ },
203
+ {
204
+ id: "51262c01-eaa3-4d3a-aeb9-95dc8b0dd687",
205
+ name: "style_i_dont_like_the_fabric",
206
+ placeholder: "",
207
+ type: ReturnQuestionType.OPTION,
208
+ },
209
+ {
210
+ id: "9dea1c2b-4f8c-4192-a547-999df55e77e4",
211
+ name: "style_i_dont_like_the_print",
212
+ placeholder: "",
213
+ type: ReturnQuestionType.OPTION,
214
+ },
215
+ {
216
+ id: "b1277bf3-4bbb-487a-8e58-88efecc61c3f",
217
+ name: "style_not_my_style_in_general",
218
+ placeholder: "",
219
+ type: ReturnQuestionType.OPTION,
220
+ },
221
+ ],
222
+ },
223
+ ],
224
+ },
225
+ {
226
+ id: "8a9cd6f8-db4b-4904-8a48-3d9bbd6f7a69",
227
+ name: "style_i_dont_like",
228
+ placeholder: "",
229
+ type: ReturnQuestionType.OPTION,
230
+ children: [
231
+ {
232
+ id: "f604240d-c093-4a9e-ab85-4adc0744066a",
233
+ name: "",
234
+ placeholder: "",
235
+ type: ReturnQuestionType.HOST_STACK,
236
+ children: [
237
+ {
238
+ id: "42dbbb93-7808-4ac3-8431-582f812cb314",
239
+ name: "style_i_dont_like_the_color",
240
+ placeholder: "",
241
+ type: ReturnQuestionType.OPTION,
242
+ },
243
+ {
244
+ id: "af1ade81-7b22-4f7e-a505-2ae275a6440f",
245
+ name: "style_very_basic_simple",
246
+ placeholder: "",
247
+ type: ReturnQuestionType.OPTION,
248
+ },
249
+ {
250
+ id: "26d073b4-2588-4391-9b4c-e8e4a8eba2a8",
251
+ name: "style_i_dont_like_the_fabric",
252
+ placeholder: "",
253
+ type: ReturnQuestionType.OPTION,
254
+ },
255
+ {
256
+ id: "ee50ab07-b7a6-415e-a04a-c9f350396185",
257
+ name: "style_i_dont_like_the_print",
258
+ placeholder: "",
259
+ type: ReturnQuestionType.OPTION,
260
+ },
261
+ {
262
+ id: "ce3227e4-851e-47b7-98c1-c63a402e8477",
263
+ name: "style_not_my_style_in_general",
264
+ placeholder: "",
265
+ type: ReturnQuestionType.OPTION,
266
+ },
267
+ ],
268
+ },
269
+ ],
270
+ },
271
+ ],
272
+ },
94
273
  ],
95
- },
96
- ],
97
- },
98
- ],
99
- },
100
- {
101
- id: "6a6d3878-5561-412c-96f3-7ed79ee587bb",
102
- name: "style",
103
- placeholder: "style_placeholder",
104
- type: ReturnQuestionType.HOST_SELECT,
105
- children: [
106
- {
107
- id: "fd7ff4a0-78ed-4c0d-aa4d-64962739c322",
108
- name: "style_title",
109
- placeholder: "",
110
- type: ReturnQuestionType.HOST_STACK,
111
- children: [
112
- {
113
- id: "56631448-d33d-49fb-b3f8-4486b68b60c3",
114
- name: "style_i_love_it_but",
115
- placeholder: "",
116
- type: ReturnQuestionType.OPTION,
274
+ },
275
+ {
276
+ id: "a1acdb2d-62c8-467f-b7cc-dc24d967290c",
277
+ name: "quality",
278
+ placeholder: "quality_placeholder",
279
+ type: ReturnQuestionType.HOST_SELECT,
117
280
  children: [
118
- {
119
- id: "90329d91-bd5d-4439-bb0a-b338caaeff2b",
120
- name: "",
121
- placeholder: "",
122
- type: ReturnQuestionType.HOST_STACK,
123
- children: [
124
- {
125
- id: "a3d937b6-7499-4a3c-86bf-5c0af9ab2e23",
126
- name: "style_i_already_have_something_similar",
127
- placeholder: "",
128
- type: ReturnQuestionType.OPTION,
129
- },
130
- {
131
- id: "7970edd3-fb5c-42d3-afe3-ce31bcbb856c",
132
- name: "style_very_basic_simple",
281
+ {
282
+ id: "405de847-188f-46c1-b66d-941c22a6b7a9",
283
+ name: "quality_title",
133
284
  placeholder: "",
134
- type: ReturnQuestionType.OPTION,
135
- },
136
- {
137
- id: "bab3d4f9-0227-4550-a53f-3c125d68429c",
138
- name: "style_i_dont_need_it_at_the_moment",
139
- placeholder: "",
140
- type: ReturnQuestionType.OPTION,
141
- },
142
- ],
143
- },
285
+ type: ReturnQuestionType.HOST_STACK,
286
+ children: [
287
+ {
288
+ id: "cce7851c-92c7-461b-8dcb-903c5de59ed1",
289
+ name: "quality_good",
290
+ placeholder: "",
291
+ type: ReturnQuestionType.OPTION,
292
+ },
293
+ {
294
+ id: "4bf8f27d-669b-4d36-8d39-b5599c671816",
295
+ name: "quality_regular",
296
+ placeholder: "",
297
+ type: ReturnQuestionType.OPTION,
298
+ },
299
+ {
300
+ id: "48bfe766-92c0-4ff5-a793-e107b60786ff",
301
+ name: "quality_bad",
302
+ placeholder: "",
303
+ type: ReturnQuestionType.OPTION,
304
+ },
305
+ ],
306
+ },
144
307
  ],
145
- },
146
- {
147
- id: "5287d1df-a28a-42cd-9138-01f82aeea4c2",
148
- name: "style_i_like_it_but",
149
- placeholder: "",
150
- type: ReturnQuestionType.OPTION,
308
+ },
309
+ {
310
+ id: "f25ccdcf-b648-479e-b4a1-86129e3e8c0b",
311
+ name: "price",
312
+ placeholder: "price_placeholder",
313
+ type: ReturnQuestionType.HOST_SELECT,
151
314
  children: [
152
- {
153
- id: "35b86395-6b6b-4a39-ab16-05511f58acdd",
154
- name: "",
155
- placeholder: "",
156
- type: ReturnQuestionType.HOST_STACK,
157
- children: [
158
- {
159
- id: "e1f6ac53-f203-4b32-9ff0-782c028d9e95",
160
- name: "style_i_already_have_something_similar",
161
- placeholder: "",
162
- type: ReturnQuestionType.OPTION,
163
- },
164
- {
165
- id: "12875926-b67a-4ad3-852c-1608c7dcc558",
166
- name: "style_very_basic_simple",
167
- placeholder: "",
168
- type: ReturnQuestionType.OPTION,
169
- },
170
- {
171
- id: "a5eb96bf-73d4-4df5-8ad8-097410b24526",
172
- name: "style_i_dont_need_it_at_the_moment",
315
+ {
316
+ id: "b0e0463c-787f-4d6c-adf3-5151ab6fc959",
317
+ name: "price_title",
173
318
  placeholder: "",
174
- type: ReturnQuestionType.OPTION,
175
- },
176
- ],
177
- },
319
+ type: ReturnQuestionType.HOST_STACK,
320
+ children: [
321
+ {
322
+ id: "9c59e396-4135-4255-9437-22555837d686",
323
+ name: "price_expensive",
324
+ placeholder: "",
325
+ type: ReturnQuestionType.OPTION,
326
+ },
327
+ {
328
+ id: "10db17f8-0982-49ee-9aeb-f752d953654c",
329
+ name: "price_cheap",
330
+ placeholder: "",
331
+ type: ReturnQuestionType.OPTION,
332
+ },
333
+ {
334
+ id: "acf64bb3-b91b-48e7-bba1-0541620ed1c5",
335
+ name: "price_fair",
336
+ placeholder: "",
337
+ type: ReturnQuestionType.OPTION,
338
+ },
339
+ ],
340
+ },
178
341
  ],
179
- },
180
- {
181
- id: "757107a9-8e2d-4194-a7fe-0d55cde49c11",
182
- name: "style_not_bad_but",
183
- placeholder: "",
184
- type: ReturnQuestionType.OPTION,
342
+ },
343
+ {
344
+ id: "b7ad1665-5e54-4ee4-b455-e7189f33083c",
345
+ name: "others",
346
+ placeholder: "others_placeholder",
347
+ type: ReturnQuestionType.HOST_SELECT,
185
348
  children: [
186
- {
187
- id: "c6f75ee3-a445-4103-a682-f0c3a742108d",
188
- name: "",
189
- placeholder: "",
190
- type: ReturnQuestionType.HOST_STACK,
191
- children: [
192
- {
193
- id: "4f46d4b1-b103-43b2-b669-be721ab46e03",
194
- name: "style_i_dont_like_the_color",
195
- placeholder: "",
196
- type: ReturnQuestionType.OPTION,
197
- },
198
- {
199
- id: "48412165-5e05-4806-8e21-ea59c41d0479",
200
- name: "style_very_basic_simple",
201
- placeholder: "",
202
- type: ReturnQuestionType.OPTION,
203
- },
204
- {
205
- id: "51262c01-eaa3-4d3a-aeb9-95dc8b0dd687",
206
- name: "style_i_dont_like_the_fabric",
207
- placeholder: "",
208
- type: ReturnQuestionType.OPTION,
209
- },
210
- {
211
- id: "9dea1c2b-4f8c-4192-a547-999df55e77e4",
212
- name: "style_i_dont_like_the_print",
349
+ {
350
+ id: "32cd0ef9-78d7-4605-a279-556749b36d4a",
351
+ name: "others_title",
213
352
  placeholder: "",
214
- type: ReturnQuestionType.OPTION,
215
- },
216
- {
217
- id: "b1277bf3-4bbb-487a-8e58-88efecc61c3f",
218
- name: "style_not_my_style_in_general",
219
- placeholder: "",
220
- type: ReturnQuestionType.OPTION,
221
- },
222
- ],
223
- },
224
- ],
225
- },
226
- {
227
- id: "8a9cd6f8-db4b-4904-8a48-3d9bbd6f7a69",
228
- name: "style_i_dont_like",
229
- placeholder: "",
230
- type: ReturnQuestionType.OPTION,
231
- children: [
232
- {
233
- id: "f604240d-c093-4a9e-ab85-4adc0744066a",
234
- name: "",
235
- placeholder: "",
236
- type: ReturnQuestionType.HOST_STACK,
237
- children: [
238
- {
239
- id: "42dbbb93-7808-4ac3-8431-582f812cb314",
240
- name: "style_i_dont_like_the_color",
241
- placeholder: "",
242
- type: ReturnQuestionType.OPTION,
243
- },
244
- {
245
- id: "af1ade81-7b22-4f7e-a505-2ae275a6440f",
246
- name: "style_very_basic_simple",
247
- placeholder: "",
248
- type: ReturnQuestionType.OPTION,
249
- },
250
- {
251
- id: "26d073b4-2588-4391-9b4c-e8e4a8eba2a8",
252
- name: "style_i_dont_like_the_fabric",
253
- placeholder: "",
254
- type: ReturnQuestionType.OPTION,
255
- },
256
- {
257
- id: "ee50ab07-b7a6-415e-a04a-c9f350396185",
258
- name: "style_i_dont_like_the_print",
259
- placeholder: "",
260
- type: ReturnQuestionType.OPTION,
261
- },
262
- {
263
- id: "ce3227e4-851e-47b7-98c1-c63a402e8477",
264
- name: "style_not_my_style_in_general",
265
- placeholder: "",
266
- type: ReturnQuestionType.OPTION,
267
- },
268
- ],
269
- },
353
+ type: ReturnQuestionType.HOST_STACK,
354
+ children: [
355
+ {
356
+ id: "95c4fd13-9ca3-45a6-8795-23415bbd0a5e",
357
+ name: "others_i_dont_like_the_brand",
358
+ placeholder: "",
359
+ type: ReturnQuestionType.OPTION,
360
+ },
361
+ {
362
+ id: "f25c63bd-42d3-4242-9b81-927025aa9d67",
363
+ name: "others_different_from_preview",
364
+ placeholder: "",
365
+ type: ReturnQuestionType.OPTION,
366
+ },
367
+ {
368
+ id: "0e0b16c1-a721-4a14-aea6-e0cf5c262222",
369
+ name: "others_delivery_delay",
370
+ placeholder: "",
371
+ type: ReturnQuestionType.OPTION,
372
+ },
373
+ {
374
+ id: "11699ae8-325d-429c-9c05-ff2d6cc45d54",
375
+ name: "others_item_is_defective",
376
+ placeholder: "",
377
+ type: ReturnQuestionType.OPTION,
378
+ },
379
+ ],
380
+ },
270
381
  ],
271
- },
272
- ],
273
- },
274
- ],
275
- },
276
- {
277
- id: "a1acdb2d-62c8-467f-b7cc-dc24d967290c",
278
- name: "quality",
279
- placeholder: "quality_placeholder",
280
- type: ReturnQuestionType.HOST_SELECT,
281
- children: [
282
- {
283
- id: "405de847-188f-46c1-b66d-941c22a6b7a9",
284
- name: "quality_title",
285
- placeholder: "",
286
- type: ReturnQuestionType.HOST_STACK,
287
- children: [
288
- {
289
- id: "cce7851c-92c7-461b-8dcb-903c5de59ed1",
290
- name: "quality_good",
291
- placeholder: "",
292
- type: ReturnQuestionType.OPTION,
293
- },
294
- {
295
- id: "4bf8f27d-669b-4d36-8d39-b5599c671816",
296
- name: "quality_regular",
297
- placeholder: "",
298
- type: ReturnQuestionType.OPTION,
299
- },
300
- {
301
- id: "48bfe766-92c0-4ff5-a793-e107b60786ff",
302
- name: "quality_bad",
303
- placeholder: "",
304
- type: ReturnQuestionType.OPTION,
305
- },
306
- ],
307
- },
308
- ],
309
- },
310
- {
311
- id: "f25ccdcf-b648-479e-b4a1-86129e3e8c0b",
312
- name: "price",
313
- placeholder: "price_placeholder",
314
- type: ReturnQuestionType.HOST_SELECT,
315
- children: [
316
- {
317
- id: "b0e0463c-787f-4d6c-adf3-5151ab6fc959",
318
- name: "price_title",
319
- placeholder: "",
320
- type: ReturnQuestionType.HOST_STACK,
321
- children: [
322
- {
323
- id: "9c59e396-4135-4255-9437-22555837d686",
324
- name: "price_expensive",
325
- placeholder: "",
326
- type: ReturnQuestionType.OPTION,
327
- },
328
- {
329
- id: "10db17f8-0982-49ee-9aeb-f752d953654c",
330
- name: "price_cheap",
331
- placeholder: "",
332
- type: ReturnQuestionType.OPTION,
333
- },
334
- {
335
- id: "acf64bb3-b91b-48e7-bba1-0541620ed1c5",
336
- name: "price_fair",
337
- placeholder: "",
338
- type: ReturnQuestionType.OPTION,
339
- },
340
- ],
341
- },
382
+ },
342
383
  ],
343
- },
344
- {
345
- id: "b7ad1665-5e54-4ee4-b455-e7189f33083c",
346
- name: "others",
347
- placeholder: "others_placeholder",
348
- type: ReturnQuestionType.HOST_SELECT,
384
+ },
385
+ {
386
+ id: "ce3e8d57-5eea-4dd3-bef4-2e811a143612",
387
+ name: "comment_title",
388
+ placeholder: "",
389
+ type: ReturnQuestionType.HOST_TEXTAREA,
349
390
  children: [
350
- {
351
- id: "32cd0ef9-78d7-4605-a279-556749b36d4a",
352
- name: "others_title",
353
- placeholder: "",
354
- type: ReturnQuestionType.HOST_STACK,
355
- children: [
356
- {
357
- id: "95c4fd13-9ca3-45a6-8795-23415bbd0a5e",
358
- name: "others_i_dont_like_the_brand",
359
- placeholder: "",
360
- type: ReturnQuestionType.OPTION,
361
- },
362
- {
363
- id: "f25c63bd-42d3-4242-9b81-927025aa9d67",
364
- name: "others_different_from_preview",
365
- placeholder: "",
366
- type: ReturnQuestionType.OPTION,
367
- },
368
- {
369
- id: "0e0b16c1-a721-4a14-aea6-e0cf5c262222",
370
- name: "others_delivery_delay",
371
- placeholder: "",
372
- type: ReturnQuestionType.OPTION,
373
- },
374
- {
375
- id: "11699ae8-325d-429c-9c05-ff2d6cc45d54",
376
- name: "others_item_is_defective",
377
- placeholder: "",
378
- type: ReturnQuestionType.OPTION,
379
- },
380
- ],
381
- },
391
+ {
392
+ id: "1123a37d-bc00-43a4-9d28-cee1dfaf356c",
393
+ name: "comment_textarea",
394
+ placeholder: "comment_textarea_placeholder",
395
+ type: ReturnQuestionType.TEXTAREA,
396
+ },
382
397
  ],
383
- },
384
- ],
385
- },
386
- {
387
- id: "ce3e8d57-5eea-4dd3-bef4-2e811a143612",
388
- name: "comment_title",
389
- placeholder: "",
390
- type: ReturnQuestionType.HOST_TEXTAREA,
391
- children: [
392
- {
393
- id: "1123a37d-bc00-43a4-9d28-cee1dfaf356c",
394
- name: "comment_textarea",
395
- placeholder: "comment_textarea_placeholder",
396
- type: ReturnQuestionType.TEXTAREA,
397
- },
398
- ],
399
- },
398
+ },
400
399
  ];
401
400
  export { returnQuestions };