@onylab/common-api 1.0.0 → 1.1.1

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.
@@ -319,6 +319,7 @@ declare module "templating/view/email/ViewEmailElementBaseContract" {
319
319
  name: string;
320
320
  url: string;
321
321
  logo: string;
322
+ email: string;
322
323
  social: {
323
324
  facebook: {
324
325
  url: string;
@@ -333,6 +334,7 @@ declare module "templating/view/email/ViewEmailElementBaseContract" {
333
334
  logo: string;
334
335
  };
335
336
  };
337
+ terms: string;
336
338
  };
337
339
  copyright?: {
338
340
  year: string;
@@ -1,16 +1,16 @@
1
1
  <tr class="Section Image">
2
2
  <td class="Image-topLeft Target"
3
3
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
4
- <img alt="" height="12" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--topleft.png"
4
+ <img alt="" height="12" width="64" src="https://cdn.onylab.com/image/email/ui/image--topleft.png"
5
5
  style="display:block;border-width:0;line-height:100%;"/></td>
6
6
  <td class="Image-topMiddle Target"
7
7
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
8
- <img alt="" height="12" width="472" src="https://burgerbreton.net/cdn/image/email/ui/image--topmiddle.png"
8
+ <img alt="" height="12" width="472" src="https://cdn.onylab.com/image/email/ui/image--topmiddle.png"
9
9
  style="display:block;border-width:0;line-height:100%;"/></td>
10
10
  <td class="Image-topRight Target"
11
11
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
12
12
  <img alt=""
13
- height="12" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--topright.png"
13
+ height="12" width="64" src="https://cdn.onylab.com/image/email/ui/image--topright.png"
14
14
  style="display:block;border-width:0;line-height:100%;"/></td>
15
15
  </tr>
16
16
  <tr class="Section Image">
@@ -21,16 +21,16 @@
21
21
  <tr class="Section Image">
22
22
  <td class="Image-bottomLeft Target"
23
23
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
24
- <img alt="" height="40" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--bottomleft.png"
24
+ <img alt="" height="40" width="64" src="https://cdn.onylab.com/image/email/ui/image--bottomleft.png"
25
25
  style="display:block;border-width:0;line-height:100%;"/></td>
26
26
  <td class="Image-bottomMiddle Target"
27
27
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
28
- <img alt="" height="40" width="472" src="https://burgerbreton.net/cdn/image/email/ui/image--bottommiddle.png"
28
+ <img alt="" height="40" width="472" src="https://cdn.onylab.com/image/email/ui/image--bottommiddle.png"
29
29
  style="display:block;border-width:0;line-height:100%;"/></td>
30
30
  <td class="Image-bottomRight Target"
31
31
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
32
32
  <img alt=""
33
- height="40" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--bottomright.png"
33
+ height="40" width="64" src="https://cdn.onylab.com/image/email/ui/image--bottomright.png"
34
34
  style="display:block;border-width:0;line-height:100%;"/></td>
35
35
  </tr>
36
36
  <tr>
@@ -1,22 +1,22 @@
1
1
  <tr class="Section Image">
2
2
  <td class="Image-topLeft Target"
3
3
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
4
- <img alt="" height="12" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--topleft.png"
4
+ <img alt="" height="12" width="64" src="https://cdn.onylab.com/image/email/ui/image--topleft.png"
5
5
  style="display:block;border-width:0;line-height:100%;"/></td>
6
6
  <td class="Image-topMiddle Target"
7
7
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
8
- <img alt="" height="12" width="472" src="https://burgerbreton.net/cdn/image/email/ui/image--topmiddle.png"
8
+ <img alt="" height="12" width="472" src="https://cdn.onylab.com/image/email/ui/image--topmiddle.png"
9
9
  style="display:block;border-width:0;line-height:100%;"/></td>
10
10
  <td class="Image-topRight Target"
11
11
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
12
12
  <img alt=""
13
- height="12" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--topright.png"
13
+ height="12" width="64" src="https://cdn.onylab.com/image/email/ui/image--topright.png"
14
14
  style="display:block;border-width:0;line-height:100%;"/></td>
15
15
  </tr>
16
16
  <tr class="Section Image">
17
17
  <td class="Image-left Target"
18
18
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
19
- <img alt="" height="264" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--left.png"
19
+ <img alt="" height="264" width="64" src="https://cdn.onylab.com/image/email/ui/image--left.png"
20
20
  style="display:block;border-width:0;line-height:100%;"/></td>
21
21
  <td class="Image-content"
22
22
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#434770;text-align:center;">
@@ -25,22 +25,22 @@
25
25
  <td class="Image-right Target"
26
26
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
27
27
  <img
28
- alt="" height="264" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--right.png"
28
+ alt="" height="264" width="64" src="https://cdn.onylab.com/image/email/ui/image--right.png"
29
29
  style="display:block;border-width:0;line-height:100%;"/></td>
30
30
  </tr>
31
31
  <tr class="Section Image">
32
32
  <td class="Image-bottomLeft Target"
33
33
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
34
- <img alt="" height="40" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--bottomleft.png"
34
+ <img alt="" height="40" width="64" src="https://cdn.onylab.com/image/email/ui/image--bottomleft.png"
35
35
  style="display:block;border-width:0;line-height:100%;"/></td>
36
36
  <td class="Image-bottomMiddle Target"
37
37
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
38
- <img alt="" height="40" width="472" src="https://burgerbreton.net/cdn/image/email/ui/image--bottommiddle.png"
38
+ <img alt="" height="40" width="472" src="https://cdn.onylab.com/image/email/ui/image--bottommiddle.png"
39
39
  style="display:block;border-width:0;line-height:100%;"/></td>
40
40
  <td class="Image-bottomRight Target"
41
41
  style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:0;line-height:0px;mso-line-height-rule:exactly;background-size:100% 100%;">
42
42
  <img alt=""
43
- height="40" width="64" src="https://burgerbreton.net/cdn/image/email/ui/image--bottomright.png"
43
+ height="40" width="64" src="https://cdn.onylab.com/image/email/ui/image--bottomright.png"
44
44
  style="display:block;border-width:0;line-height:100%;"/></td>
45
45
  </tr>
46
46
  <tr>
@@ -230,36 +230,36 @@
230
230
  width: 20px !important;
231
231
  }
232
232
  .Image-bottomLeft {
233
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--bottomleft--mobile.png") !important;
233
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--bottomleft--mobile.png") !important;
234
234
  }
235
235
  .Image-bottomRight {
236
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--bottomright--mobile.png") !important;
236
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--bottomright--mobile.png") !important;
237
237
  }
238
238
  .Image-topLeft {
239
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--topleft--mobile.png") !important;
239
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--topleft--mobile.png") !important;
240
240
  }
241
241
  .Image-topRight {
242
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--topright--mobile.png") !important;
242
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--topright--mobile.png") !important;
243
243
  }
244
244
  .Image-bottomMiddle, .Image-bottomMiddle::before, .Image-topMiddle, .Image-topMiddle::before {
245
245
  height: 24px !important;
246
246
  width: 100% !important;
247
247
  }
248
248
  .Image-bottomMiddle {
249
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--bottommiddle--mobile.png") !important;
249
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--bottommiddle--mobile.png") !important;
250
250
  }
251
251
  .Image-topMiddle {
252
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--topmiddle--mobile.png") !important;
252
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--topmiddle--mobile.png") !important;
253
253
  }
254
254
  .Image-left, .Image-left::before, .Image-right, .Image-right::before {
255
255
  height: auto !important;
256
256
  width: 20px !important;
257
257
  }
258
258
  .Image-left {
259
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--left--mobile.png") !important;
259
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--left--mobile.png") !important;
260
260
  }
261
261
  .Image-right {
262
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/image--right--mobile.png") !important;
262
+ background-image: url("https://cdn.onylab.com/image/email/ui/image--right--mobile.png") !important;
263
263
  }
264
264
  .Image-content {
265
265
  height: auto !important;
@@ -277,7 +277,7 @@
277
277
  .ListItem-bulletArea {
278
278
  height: 20px !important;
279
279
  width: 12px !important;
280
- background-image: url("https://burgerbreton.net/cdn/image/email/ui/bullet.png") !important;
280
+ background-image: url("https://cdn.onylab.com/image/email/ui/bullet.png") !important;
281
281
  background-size: 12px 20px !important;
282
282
  }
283
283
  .Footer-logoArea {
@@ -516,11 +516,11 @@
516
516
  <img alt="logo" height="20" width="42" src="{{ base.shop.logo }}" style="display:block;line-height:100%;border-width:0;"/>
517
517
  </a>
518
518
  <br>-->
519
- <a href="https://burgerbreton.com/policies/terms-of-service" style="-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline-color:0;text-decoration:none;color:white;">
519
+ <a href="{{ base.shop.terms }}" style="-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline-color:0;text-decoration:none;color:white;">
520
520
  Conditions
521
521
  </a>
522
522
  &nbsp;|&nbsp;
523
- <a href="mailto:bonjour@burgerbreton.com" style="-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline-color:0;text-decoration:none;color:white;">
523
+ <a href="mailto:{{ base.shop.email }}" style="-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline-color:0;text-decoration:none;color:white;">
524
524
  Service Client
525
525
  </a>
526
526
  {{#isCommercial}}
package/package.json CHANGED
@@ -3,11 +3,11 @@
3
3
  "description": "Common API",
4
4
  "main": "dist/common-api.node.min.js",
5
5
  "types": "dist/common-api.d.ts",
6
- "version": "1.0.0",
6
+ "version": "1.1.1",
7
7
  "author": "Paul M.",
8
8
  "license": "NO LICENSE",
9
9
  "engines": {
10
- "node": "17.1"
10
+ "node": ">=18"
11
11
  },
12
12
  "private": false,
13
13
  "scripts": {
@@ -50,7 +50,7 @@
50
50
  "retry": "^0.13.1",
51
51
  "shopify-api-node": "^3.14.0",
52
52
  "shopify-token": "^4.1.0",
53
- "typeorm": "^0.3.20"
53
+ "typeorm": "^0.2.45"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@faker-js/faker": "^9.1.0",