@unchainedshop/plugins 3.0.0-rc1 → 3.0.0-rc10

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 (74) hide show
  1. package/lib/events/node-event-emitter.js +1 -1
  2. package/lib/events/node-event-emitter.js.map +1 -1
  3. package/lib/files/gridfs/gridfs-adapter.d.ts +7 -1
  4. package/lib/files/gridfs/gridfs-adapter.d.ts.map +1 -1
  5. package/lib/files/gridfs/gridfs-adapter.js +2 -3
  6. package/lib/files/gridfs/gridfs-adapter.js.map +1 -1
  7. package/lib/files/gridfs/gridfs-webhook.js +2 -2
  8. package/lib/files/gridfs/gridfs-webhook.js.map +1 -1
  9. package/lib/files/gridfs/index.d.ts +1 -0
  10. package/lib/files/gridfs/index.d.ts.map +1 -1
  11. package/lib/files/minio/minio-adapter.d.ts.map +1 -1
  12. package/lib/files/minio/minio-adapter.js +6 -23
  13. package/lib/files/minio/minio-adapter.js.map +1 -1
  14. package/lib/payment/apple-iap/adapter.js +1 -1
  15. package/lib/payment/apple-iap/adapter.js.map +1 -1
  16. package/lib/payment/datatrans-v2/api/makeFetcher.d.ts.map +1 -1
  17. package/lib/payment/datatrans-v2/api/makeFetcher.js +5 -9
  18. package/lib/payment/datatrans-v2/api/makeFetcher.js.map +1 -1
  19. package/lib/payment/paypal-checkout.js +2 -0
  20. package/lib/payment/paypal-checkout.js.map +1 -1
  21. package/lib/payment/payrexx/api/makeFetcher.d.ts.map +1 -1
  22. package/lib/payment/payrexx/api/makeFetcher.js +7 -12
  23. package/lib/payment/payrexx/api/makeFetcher.js.map +1 -1
  24. package/lib/payment/stripe/stripe.d.ts.map +1 -1
  25. package/lib/payment/stripe/stripe.js +3 -1
  26. package/lib/payment/stripe/stripe.js.map +1 -1
  27. package/lib/pricing/discount-100-off.d.ts +2 -2
  28. package/lib/pricing/discount-100-off.d.ts.map +1 -1
  29. package/lib/pricing/discount-100-off.js.map +1 -1
  30. package/lib/pricing/discount-half-price-manual.d.ts +2 -2
  31. package/lib/pricing/discount-half-price-manual.d.ts.map +1 -1
  32. package/lib/pricing/discount-half-price-manual.js.map +1 -1
  33. package/lib/pricing/discount-half-price.d.ts +2 -2
  34. package/lib/pricing/discount-half-price.d.ts.map +1 -1
  35. package/lib/pricing/discount-half-price.js.map +1 -1
  36. package/lib/worker/email.d.ts.map +1 -1
  37. package/lib/worker/email.js +17 -14
  38. package/lib/worker/email.js.map +1 -1
  39. package/package.json +110 -27
  40. package/src/events/node-event-emitter.ts +1 -1
  41. package/src/files/gridfs/gridfs-adapter.ts +14 -7
  42. package/src/files/gridfs/gridfs-webhook.ts +2 -2
  43. package/src/files/gridfs/index.ts +2 -0
  44. package/src/files/minio/minio-adapter.ts +7 -26
  45. package/src/payment/apple-iap/adapter.ts +1 -1
  46. package/src/payment/datatrans-v2/api/makeFetcher.ts +8 -11
  47. package/src/payment/paypal-checkout.ts +2 -0
  48. package/src/payment/payrexx/api/makeFetcher.ts +10 -13
  49. package/src/payment/stripe/stripe.ts +3 -1
  50. package/src/pricing/discount-100-off.ts +1 -2
  51. package/src/pricing/discount-half-price-manual.ts +1 -2
  52. package/src/pricing/discount-half-price.ts +1 -2
  53. package/src/worker/email.ts +19 -14
  54. package/tests/mock/datatrans/v1/secure-fields.json +4 -0
  55. package/tests/mock/datatrans/v1/transactions/authorize.json +48 -0
  56. package/tests/mock/datatrans/v1/transactions/card_check_authorized.json +47 -0
  57. package/tests/mock/datatrans/v1/transactions/payment_alias_authorized/settle.json +1 -0
  58. package/tests/mock/datatrans/v1/transactions/payment_alias_authorized.json +48 -0
  59. package/tests/mock/datatrans/v1/transactions/payment_authorized/cancel.json +1 -0
  60. package/tests/mock/datatrans/v1/transactions/payment_authorized/settle.json +1 -0
  61. package/tests/mock/datatrans/v1/transactions/payment_authorized.json +48 -0
  62. package/tests/mock/datatrans/v1/transactions/payment_authorized_low_amount/cancel.json +1 -0
  63. package/tests/mock/datatrans/v1/transactions/payment_authorized_low_amount.json +48 -0
  64. package/tests/mock/datatrans/v1/transactions/validate.json +1 -0
  65. package/tests/mock/datatrans/v1/transactions.json +4 -0
  66. package/tests/mock/payrexx/Gateway/1000001.json +106 -0
  67. package/tests/mock/payrexx/Gateway.json +24 -0
  68. package/tests/mock/payrexx/transaction_example1.json +65 -0
  69. package/tests/mock/payrexx/transaction_example2.json +65 -0
  70. package/tests/mock/payrexx/transaction_example3.json +94 -0
  71. package/lib/payment/datatrans-v2/generateSignature copy.d.ts +0 -11
  72. package/lib/payment/datatrans-v2/generateSignature copy.d.ts.map +0 -1
  73. package/lib/payment/datatrans-v2/generateSignature copy.js +0 -19
  74. package/lib/payment/datatrans-v2/generateSignature copy.js.map +0 -1
@@ -0,0 +1,48 @@
1
+ {
2
+ "transactionId": "payment_authorized",
3
+ "type": "payment",
4
+ "status": "authorized",
5
+ "currency": "CHF",
6
+ "refno": "MTExMTExMjIyMjI=",
7
+ "refno2": "user",
8
+ "paymentMethod": "VIS",
9
+ "detail": {
10
+ "authorize": {
11
+ "amount": 10000,
12
+ "acquirerAuthorizationCode": "131704"
13
+ }
14
+ },
15
+ "language": "de",
16
+ "card": {
17
+ "alias": "70119122433810042",
18
+ "masked": "424242xxxxxx4242",
19
+ "expiryMonth": "12",
20
+ "expiryYear": "21",
21
+ "info": {
22
+ "brand": "VISA CREDIT",
23
+ "type": "credit",
24
+ "usage": "consumer",
25
+ "country": "GB",
26
+ "issuer": "DATATRANS"
27
+ },
28
+ "3D": {
29
+ "authenticationResponse": "D"
30
+ }
31
+ },
32
+ "history": [
33
+ {
34
+ "action": "init",
35
+ "source": "api",
36
+ "date": "2021-09-03T11:16:50Z",
37
+ "success": true,
38
+ "ip": "212.232.234.26"
39
+ },
40
+ {
41
+ "action": "authorize",
42
+ "source": "redirect",
43
+ "date": "2021-09-03T11:17:04Z",
44
+ "success": true,
45
+ "ip": "212.232.234.26"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "transactionId": "payment_authorized",
3
+ "type": "payment",
4
+ "status": "authorized",
5
+ "currency": "CHF",
6
+ "refno": "MTExMTExMjIyMjI=",
7
+ "refno2": "user",
8
+ "paymentMethod": "VIS",
9
+ "detail": {
10
+ "authorize": {
11
+ "amount": 30000,
12
+ "acquirerAuthorizationCode": "131704"
13
+ }
14
+ },
15
+ "language": "de",
16
+ "card": {
17
+ "alias": "70119122433810042",
18
+ "masked": "424242xxxxxx4242",
19
+ "expiryMonth": "12",
20
+ "expiryYear": "21",
21
+ "info": {
22
+ "brand": "VISA CREDIT",
23
+ "type": "credit",
24
+ "usage": "consumer",
25
+ "country": "GB",
26
+ "issuer": "DATATRANS"
27
+ },
28
+ "3D": {
29
+ "authenticationResponse": "D"
30
+ }
31
+ },
32
+ "history": [
33
+ {
34
+ "action": "init",
35
+ "source": "api",
36
+ "date": "2021-09-03T11:16:50Z",
37
+ "success": true,
38
+ "ip": "212.232.234.26"
39
+ },
40
+ {
41
+ "action": "authorize",
42
+ "source": "redirect",
43
+ "date": "2021-09-03T11:17:04Z",
44
+ "success": true,
45
+ "ip": "212.232.234.26"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "transactionId": "payment_authorized",
3
+ "type": "payment",
4
+ "status": "authorized",
5
+ "currency": "CHF",
6
+ "refno": "MTExMTExMjIyMjI=",
7
+ "refno2": "user",
8
+ "paymentMethod": "VIS",
9
+ "detail": {
10
+ "authorize": {
11
+ "amount": 200,
12
+ "acquirerAuthorizationCode": "131704"
13
+ }
14
+ },
15
+ "language": "de",
16
+ "card": {
17
+ "alias": "70119122433810042",
18
+ "masked": "424242xxxxxx4242",
19
+ "expiryMonth": "12",
20
+ "expiryYear": "21",
21
+ "info": {
22
+ "brand": "VISA CREDIT",
23
+ "type": "credit",
24
+ "usage": "consumer",
25
+ "country": "GB",
26
+ "issuer": "DATATRANS"
27
+ },
28
+ "3D": {
29
+ "authenticationResponse": "D"
30
+ }
31
+ },
32
+ "history": [
33
+ {
34
+ "action": "init",
35
+ "source": "api",
36
+ "date": "2021-09-03T11:16:50Z",
37
+ "success": true,
38
+ "ip": "212.232.234.26"
39
+ },
40
+ {
41
+ "action": "authorize",
42
+ "source": "redirect",
43
+ "date": "2021-09-03T11:17:04Z",
44
+ "success": true,
45
+ "ip": "212.232.234.26"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "location": "https://pay.sandbox.datatrans.com/v1/start/new-transaction",
3
+ "transactionId": "new-transaction"
4
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "amount": 30000,
5
+ "applicationFee": 0,
6
+ "createdAt": 1712144500,
7
+ "currency": "CHF",
8
+ "fields": [],
9
+ "hash": "8abaa0dd004e00ace22a85b93a2c5a3a",
10
+ "id": 15484649,
11
+ "invoices": [
12
+ {
13
+ "amount": 30000,
14
+ "currency": "CHF",
15
+ "discount": {
16
+ "amount": 0,
17
+ "code": null,
18
+ "percentage": null
19
+ },
20
+ "googleAnalyticProducts": [
21
+ {
22
+ "item_id": 18749023,
23
+ "item_name": "Unchained%20%23417c7af72c8e7579a5017397",
24
+ "price": 215.8,
25
+ "quantity": 1
26
+ }
27
+ ],
28
+ "number": "Unchained%20%23417c7af72c8e7579a5017397",
29
+ "paymentLink": {
30
+ "email": "",
31
+ "hash": "8abaa0dd004e00ace22a85b93a2c5a3a",
32
+ "referenceId": "1111112222"
33
+ },
34
+ "paymentRequestId": 15484649,
35
+ "products": [
36
+ {
37
+ "name": "Unchained%20%23417c7af72c8e7579a5017397",
38
+ "price": 30000,
39
+ "quantity": 1,
40
+ "sku": null,
41
+ "vatRate": null
42
+ }
43
+ ],
44
+ "referenceId": "1111112222",
45
+ "shippingAmount": null,
46
+ "test": 1,
47
+ "transactions": [
48
+ {
49
+ "amount": 30000,
50
+ "contact": {
51
+ "company": "",
52
+ "country": "",
53
+ "countryISO": "",
54
+ "date_of_birth": "",
55
+ "delivery_company": "",
56
+ "delivery_country": "",
57
+ "delivery_countryISO": "",
58
+ "delivery_firstname": "",
59
+ "delivery_lastname": "",
60
+ "delivery_place": "",
61
+ "delivery_street": "",
62
+ "delivery_title": "",
63
+ "delivery_zip": "",
64
+ "email": "",
65
+ "firstname": "",
66
+ "id": 7571542,
67
+ "lastname": "",
68
+ "phone": "",
69
+ "place": "",
70
+ "street": "",
71
+ "title": "",
72
+ "uuid": "b5b27055",
73
+ "zip": ""
74
+ },
75
+ "id": 14263484,
76
+ "lang": "de",
77
+ "metadata": [],
78
+ "mode": "TEST",
79
+ "pageUuid": null,
80
+ "payment": {
81
+ "brand": null
82
+ },
83
+ "payrexx_fee": 0,
84
+ "psp": "Reka",
85
+ "pspId": 23,
86
+ "referenceId": "1111112222",
87
+ "status": "confirmed",
88
+ "subscription": null,
89
+ "time": "2024-04-03 13:41:48",
90
+ "uuid": "58a18a83"
91
+ }
92
+ ]
93
+ }
94
+ ],
95
+ "link": "https://unchained-test.payrexx.com/?payment=8abaa0dd004e00ace22a85b93a2c5a3a",
96
+ "pm": [],
97
+ "preAuthorization": false,
98
+ "psp": [],
99
+ "referenceId": "1111112222",
100
+ "sku": null,
101
+ "status": "confirmed",
102
+ "vatRate": 0
103
+ }
104
+ ],
105
+ "status": "success"
106
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "amount": 30000,
5
+ "applicationFee": 0,
6
+ "createdAt": 1712144500,
7
+ "currency": "CHF",
8
+ "fields": [],
9
+ "hash": "8abaa0dd004e00ace22a85b93a2c5a3a",
10
+ "id": 15484649,
11
+ "invoices": [],
12
+ "link": "https://unchained-test.payrexx.com/?payment=8abaa0dd004e00ace22a85b93a2c5a3a",
13
+ "pm": [],
14
+ "preAuthorization": false,
15
+ "psp": [],
16
+ "referenceId": "1111112222",
17
+ "requestId": 15551049,
18
+ "sku": null,
19
+ "status": "waiting",
20
+ "vatRate": 0
21
+ }
22
+ ],
23
+ "status": "success"
24
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ id: 14447084,
3
+ uuid: '5d729516',
4
+ amount: 43160,
5
+ referenceId: '__IGNORE_WEBHOOK__',
6
+ time: '2024-04-13 16:46:55',
7
+ status: 'confirmed',
8
+ lang: 'de',
9
+ psp: 'Native_PSP',
10
+ pspId: 44,
11
+ mode: 'TEST',
12
+ refundable: true,
13
+ partiallyRefundable: true,
14
+ metadata: {},
15
+ invoice: {
16
+ number: 'Unchained%20%235c5201e91f9212eecb13e71a',
17
+ products: [ [Object] ],
18
+ discount: { code: null, amount: 0, percentage: null },
19
+ shippingAmount: null,
20
+ currency: 'CHF',
21
+ test: 1,
22
+ referenceId: '0d4dcfd7467f83b2336cc5a1',
23
+ paymentRequestId: 15716951,
24
+ paymentLink: {
25
+ hash: '5a38a636bc27b1ef3e3bbf114dde1781',
26
+ referenceId: '0d4dcfd7467f83b2336cc5a1',
27
+ email: ''
28
+ },
29
+ googleAnalyticProducts: [ [Object] ],
30
+ originalAmount: 43160,
31
+ refundedAmount: 0,
32
+ custom_fields: [ [Object] ]
33
+ },
34
+ contact: {
35
+ id: 7656364,
36
+ uuid: 'd67bd714',
37
+ title: '',
38
+ firstname: '',
39
+ lastname: '',
40
+ company: '',
41
+ street: '',
42
+ zip: '',
43
+ place: '',
44
+ country: '',
45
+ countryISO: '',
46
+ phone: '',
47
+ email: 'kaufmae@me.com',
48
+ date_of_birth: '',
49
+ delivery_title: '',
50
+ delivery_firstname: '',
51
+ delivery_lastname: '',
52
+ delivery_company: '',
53
+ delivery_street: '',
54
+ delivery_zip: '',
55
+ delivery_place: '',
56
+ delivery_country: '',
57
+ delivery_countryISO: ''
58
+ },
59
+ subscription: null,
60
+ pageUuid: null,
61
+ payrexxFee: 0,
62
+ payment: { brand: 'mastercard', wallet: null },
63
+ preAuthorizationId: 14447083,
64
+ payoutUuid: null
65
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ id: 14447083,
3
+ uuid: 'e2e292bd',
4
+ amount: 43160,
5
+ referenceId: '0d4dcfd7467f83b2336cc5a1',
6
+ time: '2024-04-13 16:46:52',
7
+ status: 'reserved',
8
+ lang: 'de',
9
+ psp: 'Native_PSP',
10
+ pspId: 44,
11
+ mode: 'TEST',
12
+ refundable: false,
13
+ partiallyRefundable: false,
14
+ metadata: {},
15
+ invoice: {
16
+ number: 'Unchained%20%235c5201e91f9212eecb13e71a',
17
+ products: [ [Object] ],
18
+ discount: { code: null, amount: 0, percentage: null },
19
+ shippingAmount: null,
20
+ currency: 'CHF',
21
+ test: 1,
22
+ referenceId: '0d4dcfd7467f83b2336cc5a1',
23
+ paymentRequestId: 15716951,
24
+ paymentLink: {
25
+ hash: '5a38a636bc27b1ef3e3bbf114dde1781',
26
+ referenceId: '0d4dcfd7467f83b2336cc5a1',
27
+ email: ''
28
+ },
29
+ googleAnalyticProducts: [ [Object] ],
30
+ originalAmount: 43160,
31
+ refundedAmount: 0,
32
+ custom_fields: [ [Object] ]
33
+ },
34
+ contact: {
35
+ id: 7656364,
36
+ uuid: 'd67bd714',
37
+ title: '',
38
+ firstname: '',
39
+ lastname: '',
40
+ company: '',
41
+ street: '',
42
+ zip: '',
43
+ place: '',
44
+ country: '',
45
+ countryISO: '',
46
+ phone: '',
47
+ email: 'kaufmae@me.com',
48
+ date_of_birth: '',
49
+ delivery_title: '',
50
+ delivery_firstname: '',
51
+ delivery_lastname: '',
52
+ delivery_company: '',
53
+ delivery_street: '',
54
+ delivery_zip: '',
55
+ delivery_place: '',
56
+ delivery_country: '',
57
+ delivery_countryISO: ''
58
+ },
59
+ subscription: null,
60
+ pageUuid: null,
61
+ payrexxFee: 0,
62
+ payment: { brand: 'mastercard', wallet: null },
63
+ payoutUuid: null
64
+ }
65
+
@@ -0,0 +1,94 @@
1
+ {
2
+ "transaction": {
3
+ "id": 14447028,
4
+ "psp": "Native_PSP",
5
+ "lang": "de",
6
+ "mode": "TEST",
7
+ "time": "2024-04-13 16:42:33",
8
+ "uuid": "27b4cf08",
9
+ "pspId": 44,
10
+ "amount": 21580,
11
+ "status": "reserved",
12
+ "contact": {
13
+ "id": 7656364,
14
+ "zip": "",
15
+ "uuid": "d67bd714",
16
+ "email": "kaufmae@me.com",
17
+ "phone": "",
18
+ "place": "",
19
+ "title": "",
20
+ "street": "",
21
+ "company": "",
22
+ "country": "",
23
+ "lastname": "",
24
+ "firstname": "",
25
+ "countryISO": "",
26
+ "delivery_zip": "",
27
+ "date_of_birth": "",
28
+ "delivery_place": "",
29
+ "delivery_title": "",
30
+ "delivery_street": "",
31
+ "delivery_company": "",
32
+ "delivery_country": "",
33
+ "delivery_lastname": "",
34
+ "delivery_firstname": "",
35
+ "delivery_countryISO": ""
36
+ },
37
+ "invoice": {
38
+ "test": 1,
39
+ "number": "Unchained%20%235c5201e91f9212eecb13e71a",
40
+ "currency": "CHF",
41
+ "discount": {
42
+ "code": null,
43
+ "amount": 0,
44
+ "percentage": null
45
+ },
46
+ "products": [
47
+ {
48
+ "sku": null,
49
+ "name": "Unchained%20%235c5201e91f9212eecb13e71a",
50
+ "price": 21580,
51
+ "vatRate": null,
52
+ "quantity": 1
53
+ }
54
+ ],
55
+ "paymentLink": {
56
+ "hash": "0bc521b98be6db1e6aad347b9527cbfb",
57
+ "email": "",
58
+ "referenceId": "0d4dcfd7467f83b2336cc5a1"
59
+ },
60
+ "referenceId": "0d4dcfd7467f83b2336cc5a1",
61
+ "custom_fields": [
62
+ {
63
+ "name": "E-Mail",
64
+ "type": "email",
65
+ "value": "kaufmae@me.com"
66
+ }
67
+ ],
68
+ "originalAmount": 21580,
69
+ "refundedAmount": 0,
70
+ "shippingAmount": null,
71
+ "paymentRequestId": 15716869,
72
+ "googleAnalyticProducts": [
73
+ {
74
+ "price": 215.8,
75
+ "item_id": 19052505,
76
+ "quantity": 1,
77
+ "item_name": "Unchained%20%235c5201e91f9212eecb13e71a"
78
+ }
79
+ ]
80
+ },
81
+ "payment": {
82
+ "brand": "visa",
83
+ "wallet": null
84
+ },
85
+ "metadata": {},
86
+ "pageUuid": null,
87
+ "payoutUuid": null,
88
+ "payrexxFee": 0,
89
+ "refundable": false,
90
+ "referenceId": "0d4dcfd7467f83b2336cc5a1",
91
+ "subscription": null,
92
+ "partiallyRefundable": false
93
+ }
94
+ }
@@ -1,11 +0,0 @@
1
- export declare const Security: {
2
- NONE: string;
3
- STATIC_SIGN: string;
4
- DYNAMIC_SIGN: string;
5
- };
6
- declare const generateSignature: ({ security, signKey }: {
7
- security: "" | "static-sign" | "dynamic-sign";
8
- signKey: string;
9
- }) => (...parts: any[]) => Promise<string>;
10
- export default generateSignature;
11
- //# sourceMappingURL=generateSignature%20copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateSignature copy.d.ts","sourceRoot":"","sources":["../../../src/payment/datatrans-v2/generateSignature copy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF,QAAA,MAAM,iBAAiB,0BACG;IAAE,QAAQ,EAAE,EAAE,GAAG,aAAa,GAAG,cAAc,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,yCAkBzF,CAAC;AAEJ,eAAe,iBAAiB,CAAC"}
@@ -1,19 +0,0 @@
1
- export const Security = {
2
- NONE: '',
3
- STATIC_SIGN: 'static-sign',
4
- DYNAMIC_SIGN: 'dynamic-sign',
5
- };
6
- const generateSignature = ({ security, signKey }) => async (...parts) => {
7
- // https://docs.datatrans.ch/docs/security-sign
8
- if (security.toLowerCase() === Security.STATIC_SIGN)
9
- return signKey;
10
- if (security.toLowerCase() === Security.NONE)
11
- return '';
12
- const resultString = parts.filter(Boolean).join('');
13
- const signKeyInBytes = Buffer.from(signKey, 'hex');
14
- const key = await crypto.subtle.importKey('raw', signKeyInBytes, { name: 'HMAC', hash: 'SHA-256' }, false, ['sign', 'verify']);
15
- const signature = await crypto.subtle.sign('HMAC', key, new TextEncoder().encode(resultString));
16
- return btoa(String.fromCharCode(...new Uint8Array(signature)));
17
- };
18
- export default generateSignature;
19
- //# sourceMappingURL=generateSignature%20copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generateSignature copy.js","sourceRoot":"","sources":["../../../src/payment/datatrans-v2/generateSignature copy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;CAC7B,CAAC;AAEF,MAAM,iBAAiB,GACrB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAsE,EAAE,EAAE,CAC9F,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE;IACjB,+CAA+C;IAC/C,IAAI,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,CAAC,WAAW;QAAE,OAAO,OAAO,CAAC;IACpE,IAAI,QAAQ,CAAC,WAAW,EAAE,KAAK,QAAQ,CAAC,IAAI;QAAE,OAAO,EAAE,CAAC;IAExD,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAEnD,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CACvC,KAAK,EACL,cAAc,EACd,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,EACjC,KAAK,EACL,CAAC,MAAM,EAAE,QAAQ,CAAC,CACnB,CAAC;IACF,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;IAChG,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AACjE,CAAC,CAAC;AAEJ,eAAe,iBAAiB,CAAC"}