@a-cube-io/ereceipts-js-sdk 2.0.6 → 2.0.7
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/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.js +6 -6
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7113,7 +7113,7 @@ const URL_PATTERNS = [
|
|
|
7113
7113
|
},
|
|
7114
7114
|
{ pattern: /^\/mf1\/receipts\/([^/]+)$/, resource: 'receipt' },
|
|
7115
7115
|
{
|
|
7116
|
-
pattern: /^\/mf1\/
|
|
7116
|
+
pattern: /^\/mf1\/pems\/([^/]+)\/receipts$/,
|
|
7117
7117
|
resource: 'receipt',
|
|
7118
7118
|
parent: 'point-of-sale',
|
|
7119
7119
|
isList: true,
|
|
@@ -7130,8 +7130,8 @@ const URL_PATTERNS = [
|
|
|
7130
7130
|
{ pattern: /^\/mf1\/cash-registers\/([^/]+)$/, resource: 'cash-register' },
|
|
7131
7131
|
{ pattern: /^\/mf1\/cash-registers$/, resource: 'cash-register', isList: true },
|
|
7132
7132
|
// Point of Sale (mf1)
|
|
7133
|
-
{ pattern: /^\/mf1\/
|
|
7134
|
-
{ pattern: /^\/mf1\/
|
|
7133
|
+
{ pattern: /^\/mf1\/pems\/([^/]+)$/, resource: 'point-of-sale' },
|
|
7134
|
+
{ pattern: /^\/mf1\/pems$/, resource: 'point-of-sale', isList: true },
|
|
7135
7135
|
// Nested resources under merchant (mf2)
|
|
7136
7136
|
{
|
|
7137
7137
|
pattern: /^\/mf2\/merchants\/([^/]+)\/suppliers\/([^/]+)$/,
|
|
@@ -7158,15 +7158,15 @@ const URL_PATTERNS = [
|
|
|
7158
7158
|
},
|
|
7159
7159
|
// PEM (mf2)
|
|
7160
7160
|
{
|
|
7161
|
-
pattern: /^\/mf2\/
|
|
7161
|
+
pattern: /^\/mf2\/pems\/([^/]+)\/certificates$/,
|
|
7162
7162
|
resource: 'pem',
|
|
7163
7163
|
action: 'certificates',
|
|
7164
7164
|
},
|
|
7165
|
-
{ pattern: /^\/mf2\/
|
|
7165
|
+
{ pattern: /^\/mf2\/pems\/([^/]+)$/, resource: 'pem' },
|
|
7166
7166
|
// Others
|
|
7167
7167
|
{ pattern: /^\/mf1\/notifications/, resource: 'notification', isList: true },
|
|
7168
7168
|
{
|
|
7169
|
-
pattern: /^\/mf1\/
|
|
7169
|
+
pattern: /^\/mf1\/pems\/([^/]+)\/telemetry$/,
|
|
7170
7170
|
resource: 'telemetry',
|
|
7171
7171
|
},
|
|
7172
7172
|
];
|