Initial commit
This commit is contained in:
commit
040f155b3a
19 changed files with 741 additions and 0 deletions
27
zuginfo_playbooks/templates/account_or_whatever.json.j2
Normal file
27
zuginfo_playbooks/templates/account_or_whatever.json.j2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrUserDetails",
|
||||
"req": {
|
||||
"userId": null
|
||||
},
|
||||
"id": "1|2|"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrUserCreate",
|
||||
"req": {
|
||||
"language": "de",
|
||||
"availableChannels": [
|
||||
{
|
||||
"channelId": "",
|
||||
"type": "WEBPUSH",
|
||||
"address": "{\"endpoint\":\"{{ push_endpoint }}\",\"keys\":{\"auth\":\"{{ push_key_auth }}\",\"p256dh\":\"{{ push_key_p256dh }}\"}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "1|3|"
|
||||
}
|
||||
]
|
||||
}
|
||||
27
zuginfo_playbooks/templates/delete_account.json.j2
Normal file
27
zuginfo_playbooks/templates/delete_account.json.j2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrUserDelete",
|
||||
"req": {
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|5|"
|
||||
}
|
||||
]
|
||||
}
|
||||
28
zuginfo_playbooks/templates/delete_subscription.json.j2
Normal file
28
zuginfo_playbooks/templates/delete_subscription.json.j2
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrDelete",
|
||||
"req": {
|
||||
"subscrId": {{ subscription_id }},
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|13|"
|
||||
}
|
||||
]
|
||||
}
|
||||
28
zuginfo_playbooks/templates/detail_subscriptions.json.j2
Normal file
28
zuginfo_playbooks/templates/detail_subscriptions.json.j2
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrDetails",
|
||||
"req": {
|
||||
"subscrId": {{ subscription_id }},
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|10|"
|
||||
}
|
||||
]
|
||||
}
|
||||
27
zuginfo_playbooks/templates/get_channel_id.json.j2
Normal file
27
zuginfo_playbooks/templates/get_channel_id.json.j2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrUserDetails",
|
||||
"req": {
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|4|"
|
||||
}
|
||||
]
|
||||
}
|
||||
27
zuginfo_playbooks/templates/list_subscriptions.json.j2
Normal file
27
zuginfo_playbooks/templates/list_subscriptions.json.j2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrSearch",
|
||||
"req": {
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|9|"
|
||||
}
|
||||
]
|
||||
}
|
||||
30
zuginfo_playbooks/templates/mysterious_id.json.j2
Normal file
30
zuginfo_playbooks/templates/mysterious_id.json.j2
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"req": {
|
||||
"getMapLayerConfig": true,
|
||||
"getConGroups": false,
|
||||
"getServerDateTime": true,
|
||||
"getTimeTablePeriod": true,
|
||||
"getEuSpiritRegions": true
|
||||
},
|
||||
"meth": "ServerInfo",
|
||||
"id": "1|0|"
|
||||
}
|
||||
]
|
||||
}
|
||||
77
zuginfo_playbooks/templates/subscription_s4.json.j2
Normal file
77
zuginfo_playbooks/templates/subscription_s4.json.j2
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrCreate",
|
||||
"req": {
|
||||
"statSubscr": {
|
||||
"hysteresis": {
|
||||
"himFltrL": [
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jnyFltrL": [
|
||||
{
|
||||
"type": "LINEID",
|
||||
"mode": "INC",
|
||||
"value": 92404
|
||||
}
|
||||
],
|
||||
"serviceDays": {
|
||||
"selectedWeekdays": "1111111",
|
||||
"beginDate": "20250615",
|
||||
"endDate": "20331211",
|
||||
"beginTime": "000000",
|
||||
"endTime": "235959"
|
||||
}
|
||||
},
|
||||
"userId": "{{ user_id }}",
|
||||
"channels": [
|
||||
{
|
||||
"channelId": "{{ channel_id }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "1|5|"
|
||||
}
|
||||
]
|
||||
}
|
||||
78
zuginfo_playbooks/templates/update_subscription.json.j2
Normal file
78
zuginfo_playbooks/templates/update_subscription.json.j2
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrUpdate",
|
||||
"req": {
|
||||
"userId": "{{ user_id }}",
|
||||
"subscrId": {{ subscription_id }},
|
||||
"statSubscr": {
|
||||
"hysteresis": {
|
||||
"himFltrL": [
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "4"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "3"
|
||||
},
|
||||
{
|
||||
"type": "HIMCAT",
|
||||
"mode": "INC",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jnyFltrL": [
|
||||
{
|
||||
"type": "LINEID",
|
||||
"mode": "INC",
|
||||
"value": 92404
|
||||
}
|
||||
],
|
||||
"serviceDays": {
|
||||
"selectedWeekdays": "1111110",
|
||||
"beginDate": "20250615",
|
||||
"endDate": "20331211",
|
||||
"beginTime": "00000000",
|
||||
"endTime": "00235959"
|
||||
}
|
||||
},
|
||||
"channels": [
|
||||
{
|
||||
"channelId": "{{ channel_id }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "1|12|"
|
||||
}
|
||||
]
|
||||
}
|
||||
28
zuginfo_playbooks/templates/verify_subscription.json.j2
Normal file
28
zuginfo_playbooks/templates/verify_subscription.json.j2
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"id": "{{ mysterious_id }}",
|
||||
"ver": "1.24",
|
||||
"lang": "deu",
|
||||
"auth": {
|
||||
"type": "AID",
|
||||
"aid": "{{ aid }}"
|
||||
},
|
||||
"client": {
|
||||
"id": "HAFAS",
|
||||
"type": "WEB",
|
||||
"name": "webapp",
|
||||
"l": "vs_webapp",
|
||||
"v": 10104
|
||||
},
|
||||
"formatted": false,
|
||||
"ext": "VRR.1",
|
||||
"svcReqL": [
|
||||
{
|
||||
"meth": "SubscrDetails",
|
||||
"req": {
|
||||
"subscrId": {{ subscription_id }},
|
||||
"userId": "{{ user_id }}"
|
||||
},
|
||||
"id": "1|6|"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue