Commit 79702551 authored by Volker Krause's avatar Volker Krause
Browse files

Add a few more missing filter scopes

parent 710768f7
......@@ -2,7 +2,7 @@
"mimeType": "application/pdf",
"filter": [
{ "field": "From", "match": "@airbaltic.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
{ "field": "reservationFor.airline.iataCode", "match": "BT", "mimeType": "application/ld+json" }
{ "field": "reservationFor.airline.iataCode", "match": "BT", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "airbaltic.js"
}
......@@ -2,7 +2,7 @@
"mimeType": "application/pdf",
"filter": [
{ "field": "From", "match": "americanairlines@aa.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
{ "field": "reservationFor.airline.iataCode", "match": "AA", "mimeType": "application/ld+json" }
{ "field": "reservationFor.airline.iataCode", "match": "AA", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "americanairlines.js"
}
......@@ -10,7 +10,7 @@
"mimeType": "application/pdf",
"filter": [
{ "field": "From", "match": "brusselsairlines.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
{ "field": "reservationFor.airline.iataCode", "match": "SN", "mimeType": "application/ld+json" }
{ "field": "reservationFor.airline.iataCode", "match": "SN", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "brusselsairlines-receipt.js"
}
......
......@@ -3,7 +3,8 @@
{
"match": "uic:9997",
"field": "reservationFor.provider.identifier",
"mimeType": "application/ld+json"
"mimeType": "application/ld+json",
"scope": "Descendants"
}
],
"function": "parsePdf",
......
......@@ -8,9 +8,9 @@
{
"mimeType": "application/pdf",
"filter": [
{ "field": "reservationFor.airline.iataCode", "match": "EJU", "mimeType": "application/ld+json" },
{ "field": "reservationFor.airline.iataCode", "match": "EZS", "mimeType": "application/ld+json" },
{ "field": "reservationFor.airline.iataCode", "match": "EZY", "mimeType": "application/ld+json" }
{ "field": "reservationFor.airline.iataCode", "match": "EJU", "mimeType": "application/ld+json", "scope": "Descendants" },
{ "field": "reservationFor.airline.iataCode", "match": "EZS", "mimeType": "application/ld+json", "scope": "Descendants" },
{ "field": "reservationFor.airline.iataCode", "match": "EZY", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "easyjet.js",
"function": "parsePdfBoardingPass"
......
......@@ -4,7 +4,8 @@
{
"match": "6E",
"field": "reservationFor.airline.iataCode",
"mimeType": "application/ld+json"
"mimeType": "application/ld+json",
"scope": "Descendants"
}
],
"function": "main",
......
......@@ -3,7 +3,8 @@
{
"match": "uic:1181",
"field": "reservationFor.provider.identifier",
"mimeType": "application/ld+json"
"mimeType": "application/ld+json",
"scope": "Descendants"
}
],
"function": "parsePdf",
......
......@@ -3,7 +3,7 @@
"mimeType": "application/pdf",
"filter": [
{ "field": "From", "match": "no-reply@flysas.com", "mimeType": "message/rfc822", "scope": "Ancestors" },
{ "field": "reservationFor.airline.iataCode", "match": "SK", "mimeType": "application/ld+json" }
{ "field": "reservationFor.airline.iataCode", "match": "SK", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "sas-boardingpass.js"
},
......
......@@ -2,7 +2,7 @@
{
"mimeType": "application/pdf",
"filter": [
{ "field": "reservationFor.provider.identifier", "match": "3415", "mimeType": "application/ld+json" }
{ "field": "reservationFor.provider.identifier", "match": "3415", "mimeType": "application/ld+json", "scope": "Descendants" }
],
"script": "vgn.js",
"function": "parsePdf"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment