@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.
@@ -7090,7 +7090,7 @@ const URL_PATTERNS = [
7090
7090
  },
7091
7091
  { pattern: /^\/mf1\/receipts\/([^/]+)$/, resource: 'receipt' },
7092
7092
  {
7093
- pattern: /^\/mf1\/point-of-sales\/([^/]+)\/receipts$/,
7093
+ pattern: /^\/mf1\/pems\/([^/]+)\/receipts$/,
7094
7094
  resource: 'receipt',
7095
7095
  parent: 'point-of-sale',
7096
7096
  isList: true,
@@ -7107,8 +7107,8 @@ const URL_PATTERNS = [
7107
7107
  { pattern: /^\/mf1\/cash-registers\/([^/]+)$/, resource: 'cash-register' },
7108
7108
  { pattern: /^\/mf1\/cash-registers$/, resource: 'cash-register', isList: true },
7109
7109
  // Point of Sale (mf1)
7110
- { pattern: /^\/mf1\/point-of-sales\/([^/]+)$/, resource: 'point-of-sale' },
7111
- { pattern: /^\/mf1\/point-of-sales$/, resource: 'point-of-sale', isList: true },
7110
+ { pattern: /^\/mf1\/pems\/([^/]+)$/, resource: 'point-of-sale' },
7111
+ { pattern: /^\/mf1\/pems$/, resource: 'point-of-sale', isList: true },
7112
7112
  // Nested resources under merchant (mf2)
7113
7113
  {
7114
7114
  pattern: /^\/mf2\/merchants\/([^/]+)\/suppliers\/([^/]+)$/,
@@ -7135,15 +7135,15 @@ const URL_PATTERNS = [
7135
7135
  },
7136
7136
  // PEM (mf2)
7137
7137
  {
7138
- pattern: /^\/mf2\/point-of-sales\/([^/]+)\/certificates$/,
7138
+ pattern: /^\/mf2\/pems\/([^/]+)\/certificates$/,
7139
7139
  resource: 'pem',
7140
7140
  action: 'certificates',
7141
7141
  },
7142
- { pattern: /^\/mf2\/point-of-sales\/([^/]+)$/, resource: 'pem' },
7142
+ { pattern: /^\/mf2\/pems\/([^/]+)$/, resource: 'pem' },
7143
7143
  // Others
7144
7144
  { pattern: /^\/mf1\/notifications/, resource: 'notification', isList: true },
7145
7145
  {
7146
- pattern: /^\/mf1\/point-of-sales\/([^/]+)\/telemetry$/,
7146
+ pattern: /^\/mf1\/pems\/([^/]+)\/telemetry$/,
7147
7147
  resource: 'telemetry',
7148
7148
  },
7149
7149
  ];