From a87a9d228b7ec82fbd2847dd1ee3974d67cf8687 Mon Sep 17 00:00:00 2001 From: renarde Date: Mon, 11 Nov 2024 15:46:39 +0100 Subject: [PATCH] Add exemples --- examples/new_sms_backup.json | 44 ++++++++++++++++++++++++++++++ examples/old_sms_backup.json | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 examples/new_sms_backup.json create mode 100644 examples/old_sms_backup.json diff --git a/examples/new_sms_backup.json b/examples/new_sms_backup.json new file mode 100644 index 0000000..8358a89 --- /dev/null +++ b/examples/new_sms_backup.json @@ -0,0 +1,44 @@ +[ + { + "subscriptionId": 1, + "address": "+XX12345678", + "body": "Also I want to eat cookies", + "date": 1731323046859, + "dateSent": 0, + "locked": 0, + "protocol": null, + "read": 1, + "status": -1, + "type": 2, + "serviceCenter": null, + "backupType": "sms" + }, + { + "subscriptionId": 1, + "address": "+XX12345678", + "body": "Ok I'll buy a box", + "date": 1731323030409, + "dateSent": 0, + "locked": 0, + "protocol": null, + "read": 1, + "status": -1, + "type": 2, + "serviceCenter": null, + "backupType": "sms" + }, + { + "subscriptionId": 1, + "address": "+XX12345678", + "body": "Just get flour I can make them", + "date": 1731322988053, + "dateSent": 0, + "locked": 0, + "protocol": null, + "read": 1, + "status": -1, + "type": 1, + "serviceCenter": null, + "backupType": "sms" + } +] \ No newline at end of file diff --git a/examples/old_sms_backup.json b/examples/old_sms_backup.json new file mode 100644 index 0000000..f4b022e --- /dev/null +++ b/examples/old_sms_backup.json @@ -0,0 +1,53 @@ +{ + "messageCount": 4, + "messages": [ + { + "type": 1, + "address": "+XX12345678", + "date": 1661085590000, + "dateSent": 1661085586000, + "read": true, + "status": -1, + "body": "Do you want to make pizza tn ?", + "protocol": 0, + "locked": false, + "subId": 1 + }, + { + "type": 2, + "address": "+XX12345678", + "date": 1661085639000, + "dateSent": 1661085636000, + "read": true, + "status": -1, + "body": "Yeah, what do I need to get ?", + "protocol": 0, + "locked": false, + "subId": 1 + }, + { + "type": 2, + "address": "+XX12345678", + "date": 1661085745000, + "dateSent": 1661085742000, + "read": true, + "status": -1, + "body": "If I do the groceries can you cook ?", + "protocol": 0, + "locked": false, + "subId": 1 + }, + { + "type": 1, + "address": "+XX12345678", + "date": 1661085799000, + "dateSent": 1661085795000, + "read": true, + "status": -1, + "body": "Ok get tomatoes and olives", + "protocol": 0, + "locked": false, + "subId": 1 + } + ] +} \ No newline at end of file