@itentialopensource/adapter-gogetssl 0.1.1

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.
Files changed (100) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +5428 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Account/action.json +46 -0
  20. package/entities/Account/mockdatafiles/getAccountBalance-default.json +5 -0
  21. package/entities/Account/mockdatafiles/getAccountDetails-default.json +18 -0
  22. package/entities/Account/schema.json +31 -0
  23. package/entities/CSR/action.json +64 -0
  24. package/entities/CSR/mockdatafiles/decodeCSR-default.json +6 -0
  25. package/entities/CSR/mockdatafiles/generateCSR-default.json +5 -0
  26. package/entities/CSR/schema.json +98 -0
  27. package/entities/DCV/action.json +84 -0
  28. package/entities/DCV/mockdatafiles/domainGetFromWhois-default.json +5 -0
  29. package/entities/DCV/mockdatafiles/getDomainAlternative-default.json +24 -0
  30. package/entities/DCV/mockdatafiles/getDomainEmails-default.json +5 -0
  31. package/entities/DCV/mockdatafiles/getDomainEmailsForGeotrust-default.json +10 -0
  32. package/entities/DCV/schema.json +33 -0
  33. package/entities/Invoices/action.json +67 -0
  34. package/entities/Invoices/mockdatafiles/getAllInvoices-default.json +27 -0
  35. package/entities/Invoices/mockdatafiles/getOrderInvoice-default.json +13 -0
  36. package/entities/Invoices/mockdatafiles/getUnpaidInvoices-default.json +60 -0
  37. package/entities/Invoices/schema.json +43 -0
  38. package/entities/LEI/action.json +127 -0
  39. package/entities/LEI/mockdatafiles/createNewLEI-default.json +13 -0
  40. package/entities/LEI/mockdatafiles/getLeiStatus-default.json +5 -0
  41. package/entities/LEI/schema.json +46 -0
  42. package/entities/Orders/action.json +249 -0
  43. package/entities/Orders/mockdatafiles/addSSLOrder-default.json +59 -0
  44. package/entities/Orders/mockdatafiles/addSSLSANOrder-default.json +10 -0
  45. package/entities/Orders/mockdatafiles/cancelOrder-default.json +4 -0
  46. package/entities/Orders/mockdatafiles/comodoClaimFreeEV-default.json +5 -0
  47. package/entities/Orders/mockdatafiles/getAllSSLOrders-default.json +40 -0
  48. package/entities/Orders/mockdatafiles/getOrderStatus-default.json +105 -0
  49. package/entities/Orders/mockdatafiles/getOrdersStatuses-default.json +32 -0
  50. package/entities/Orders/mockdatafiles/getTotalOrders-default.json +4 -0
  51. package/entities/Orders/mockdatafiles/getUnpaidOrders-default.json +131 -0
  52. package/entities/Orders/mockdatafiles/recheckCAA-default.json +5 -0
  53. package/entities/Orders/schema.json +459 -0
  54. package/entities/Products/action.json +151 -0
  55. package/entities/Products/mockdatafiles/getAllProductPrices-default.json +10 -0
  56. package/entities/Products/mockdatafiles/getAllProducts-default.json +110 -0
  57. package/entities/Products/mockdatafiles/getProductAgreement-default.json +5 -0
  58. package/entities/Products/mockdatafiles/getProductPrice-default.json +50 -0
  59. package/entities/Products/mockdatafiles/getSslProduct-default.json +29 -0
  60. package/entities/Products/mockdatafiles/getSslProducts-default.json +325 -0
  61. package/entities/Products/schema.json +47 -0
  62. package/entities/Validation/action.json +145 -0
  63. package/entities/Validation/mockdatafiles/changeDcv-default.json +12 -0
  64. package/entities/Validation/mockdatafiles/changeDomainsValidationMethod-default.json +4 -0
  65. package/entities/Validation/mockdatafiles/resend-default.json +5 -0
  66. package/entities/Validation/mockdatafiles/resendValidationEmail-default.json +5 -0
  67. package/entities/Validation/mockdatafiles/revalidate-default.json +5 -0
  68. package/entities/Validation/schema.json +91 -0
  69. package/entities/Webservers/action.json +25 -0
  70. package/entities/Webservers/mockdatafiles/getWebServers-default.json +149 -0
  71. package/entities/Webservers/schema.json +41 -0
  72. package/error.json +184 -0
  73. package/package.json +83 -0
  74. package/pronghorn.json +8799 -0
  75. package/propertiesSchema.json +840 -0
  76. package/refs?service=git-upload-pack +0 -0
  77. package/report/creationReport.json +339 -0
  78. package/report/gogetssl_apimatic_openapi3.json +21135 -0
  79. package/sampleProperties.json +106 -0
  80. package/test/integration/adapterTestBasicGet.js +85 -0
  81. package/test/integration/adapterTestConnectivity.js +93 -0
  82. package/test/integration/adapterTestIntegration.js +1746 -0
  83. package/test/unit/adapterBaseTestUnit.js +944 -0
  84. package/test/unit/adapterTestUnit.js +4765 -0
  85. package/utils/addAuth.js +94 -0
  86. package/utils/artifactize.js +146 -0
  87. package/utils/basicGet.js +50 -0
  88. package/utils/checkMigrate.js +63 -0
  89. package/utils/entitiesToDB.js +224 -0
  90. package/utils/findPath.js +74 -0
  91. package/utils/modify.js +154 -0
  92. package/utils/packModificationScript.js +35 -0
  93. package/utils/pre-commit.sh +27 -0
  94. package/utils/removeHooks.js +20 -0
  95. package/utils/setup.js +33 -0
  96. package/utils/tbScript.js +169 -0
  97. package/utils/tbUtils.js +445 -0
  98. package/utils/testRunner.js +298 -0
  99. package/utils/troubleshootingAdapter.js +190 -0
  100. package/workflows/README.md +3 -0
@@ -0,0 +1,249 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "addSSLOrder",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/orders/add_ssl_order?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "URLENCODE",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": "mockdatafiles/addSSLOrder-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "reissueSSLOrder",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/orders/ssl/reissue/{pathv1}?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "URLENCODE",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "addSSLRenewOrder",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/orders/add_ssl_renew_order?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "URLENCODE",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "addSSLSANOrder",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/orders/add_ssl_san_order?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "URLENCODE",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": "mockdatafiles/addSSLSANOrder-default.json"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "cancelOrder",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/orders/cancel_ssl_order?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "URLENCODE",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": "mockdatafiles/cancelOrder-default.json"
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "getOrdersStatuses",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/orders/statuses?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "URLENCODE",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": "mockdatafiles/getOrdersStatuses-default.json"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "name": "getOrderStatus",
125
+ "protocol": "REST",
126
+ "method": "GET",
127
+ "entitypath": "{base_path}/{version}/orders/status/{pathv1}?{query}",
128
+ "requestSchema": "schema.json",
129
+ "responseSchema": "schema.json",
130
+ "timeout": 0,
131
+ "sendEmpty": false,
132
+ "sendGetBody": false,
133
+ "requestDatatype": "JSON",
134
+ "responseDatatype": "JSON",
135
+ "headers": {},
136
+ "responseObjects": [
137
+ {
138
+ "type": "default",
139
+ "key": "",
140
+ "mockFile": "mockdatafiles/getOrderStatus-default.json"
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "name": "recheckCAA",
146
+ "protocol": "REST",
147
+ "method": "GET",
148
+ "entitypath": "{base_path}/{version}/orders/ssl/recheck-caa/{pathv1}?{query}",
149
+ "requestSchema": "schema.json",
150
+ "responseSchema": "schema.json",
151
+ "timeout": 0,
152
+ "sendEmpty": false,
153
+ "sendGetBody": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": "mockdatafiles/recheckCAA-default.json"
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name": "getUnpaidOrders",
167
+ "protocol": "REST",
168
+ "method": "GET",
169
+ "entitypath": "{base_path}/{version}/orders/list/unpaid?{query}",
170
+ "requestSchema": "schema.json",
171
+ "responseSchema": "schema.json",
172
+ "timeout": 0,
173
+ "sendEmpty": false,
174
+ "sendGetBody": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": "mockdatafiles/getUnpaidOrders-default.json"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "getAllSSLOrders",
188
+ "protocol": "REST",
189
+ "method": "GET",
190
+ "entitypath": "{base_path}/{version}/orders/ssl/all?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "sendGetBody": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": "mockdatafiles/getAllSSLOrders-default.json"
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "comodoClaimFreeEV",
209
+ "protocol": "REST",
210
+ "method": "POST",
211
+ "entitypath": "{base_path}/{version}/orders/ssl/comodo_claim_free_ev/{pathv1}?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": "mockdatafiles/comodoClaimFreeEV-default.json"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "getTotalOrders",
229
+ "protocol": "REST",
230
+ "method": "GET",
231
+ "entitypath": "{base_path}/{version}/account/total_orders?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "sendGetBody": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": "mockdatafiles/getTotalOrders-default.json"
245
+ }
246
+ ]
247
+ }
248
+ ]
249
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "product_id": "77",
3
+ "approver_method": {
4
+ "http": {
5
+ "link": "http://my-domain.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
6
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
7
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0767031001581598445"
8
+ }
9
+ },
10
+ "order_id": 1332864,
11
+ "invoice_id": 908032,
12
+ "order_status": "active",
13
+ "success": true,
14
+ "san": [
15
+ {
16
+ "san_name": "my-domain1.tld",
17
+ "validation_method": "http",
18
+ "status": 1,
19
+ "status_description": "Processing",
20
+ "validation": {
21
+ "http": {
22
+ "link": "http://my-domain1.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
23
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
24
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0767031001581598445"
25
+ }
26
+ }
27
+ },
28
+ {
29
+ "san_name": "my-domain2.tld",
30
+ "validation_method": "http",
31
+ "status": 1,
32
+ "status_description": "Processing",
33
+ "validation": {
34
+ "http": {
35
+ "link": "http://my-domain2.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
36
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
37
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0767031001581598445"
38
+ }
39
+ }
40
+ },
41
+ {
42
+ "san_name": "my-domain3.tld",
43
+ "validation_method": "http",
44
+ "status": 1,
45
+ "status_description": "Processing",
46
+ "validation": {
47
+ "http": {
48
+ "link": "http://my-domain3.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
49
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
50
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0767031001581598445"
51
+ }
52
+ }
53
+ }
54
+ ],
55
+ "order_amount": 67.61,
56
+ "currency": "EUR",
57
+ "tax": "12.64",
58
+ "tax_rate": "23%"
59
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "order_id": 1146951,
3
+ "invoice_id": 786148,
4
+ "order_status": "active",
5
+ "success": true,
6
+ "order_amount": 248.73,
7
+ "currency": "EUR",
8
+ "tax": "0.00",
9
+ "tax_rate": "0%"
10
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "message": "Cancell request submitted.",
3
+ "success": true
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "error": true,
3
+ "message": "124",
4
+ "description": "Order can't be processed with Free EV upgrade, wait for order to become active!"
5
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "orders": [
3
+ {
4
+ "order_id": "1495250",
5
+ "status": "processing"
6
+ },
7
+ {
8
+ "order_id": "1495250",
9
+ "status": "processing"
10
+ },
11
+ {
12
+ "order_id": "1495250",
13
+ "status": "processing"
14
+ },
15
+ {
16
+ "order_id": "1495250",
17
+ "status": "processing"
18
+ },
19
+ {
20
+ "order_id": "1495250",
21
+ "status": "processing"
22
+ },
23
+ {
24
+ "order_id": "1495250",
25
+ "status": "processing"
26
+ },
27
+ {
28
+ "order_id": "1495250",
29
+ "status": "processing"
30
+ },
31
+ {
32
+ "order_id": "1495250",
33
+ "status": "processing"
34
+ }
35
+ ],
36
+ "limit": 5,
37
+ "offset": 4,
38
+ "count": 2,
39
+ "success": true
40
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "order_id": 1146748,
3
+ "partner_order_id": 123456789,
4
+ "internal_id": "S1130555",
5
+ "status": "processing",
6
+ "status_description": "",
7
+ "dcv_status": "1",
8
+ "product_id": "77",
9
+ "domain": "my-domain.tld",
10
+ "approver_method": {
11
+ "http": {
12
+ "link": "http://my-domain.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
13
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
14
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0956924001563873438"
15
+ }
16
+ },
17
+ "domains": "my-domain.tld,www.my-domain.tld,my-domain1.tld",
18
+ "total_domains": 8,
19
+ "validity_period": 12,
20
+ "valid_from": "0000-00-00",
21
+ "valid_till": "0000-00-00",
22
+ "csr_code": "-----BEGIN CERTIFICATE REQUEST-----....-----END CERTIFICATE REQUEST-----",
23
+ "crt_code": "",
24
+ "ca_code": "",
25
+ "server_count": 1,
26
+ "reissue": 0,
27
+ "reissue_now": 0,
28
+ "renew": 0,
29
+ "webserver_type": 2,
30
+ "upgrade": 0,
31
+ "approver_emails": "",
32
+ "dcv_method": "http",
33
+ "admin_addressline1": "",
34
+ "admin_addressline2": "",
35
+ "admin_city": "Kowloon",
36
+ "admin_country": "HK",
37
+ "admin_fax": "",
38
+ "admin_phone": "0852183528",
39
+ "admin_postalcode": "",
40
+ "admin_region": "",
41
+ "admin_email": "admin@domain.tld",
42
+ "admin_firstname": "Jons",
43
+ "admin_lastname": "Smits",
44
+ "admin_organization": "",
45
+ "admin_title": "n/a",
46
+ "org_addressline3": "",
47
+ "org_city": "",
48
+ "org_country": "",
49
+ "org_fax": "",
50
+ "org_phone": "",
51
+ "org_postalcode": "",
52
+ "org_region": "",
53
+ "tech_organization": "",
54
+ "tech_addressline1": "",
55
+ "tech_addressline2": "",
56
+ "tech_addressline3": "",
57
+ "tech_city": "",
58
+ "tech_country": "",
59
+ "tech_fax": "",
60
+ "tech_phone": "777888999",
61
+ "tech_postalcode": "",
62
+ "tech_region": "",
63
+ "tech_email": "tech@my-domain.tld",
64
+ "tech_firstname": "Igor",
65
+ "tech_lastname": "Savin",
66
+ "tech_title": "n/a",
67
+ "ssl_price": "59.13",
68
+ "ssl_period": 12,
69
+ "manual_check": "0",
70
+ "pre_signing": "0",
71
+ "admin_msg": "",
72
+ "free_ev_upgrade": 0,
73
+ "codesigning_inviteurl": "",
74
+ "validation_description": "",
75
+ "san": [
76
+ {
77
+ "san_name": "www.my-domain.tld",
78
+ "validation_method": "http",
79
+ "status": "1",
80
+ "status_description": "Proccessing",
81
+ "validation": {
82
+ "http": {
83
+ "link": "http://my-domain.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
84
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
85
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0956924001563873438"
86
+ }
87
+ }
88
+ },
89
+ {
90
+ "san_name": "my-domain1.tld",
91
+ "validation_method": "http",
92
+ "status": "1",
93
+ "status_description": "Proccessing",
94
+ "validation": {
95
+ "http": {
96
+ "link": "http://my-domain1.tld/.well-known/pki-validation/FEA0F3C39F67CD7F1C40674447A9ED23.txt",
97
+ "filename": "FEA0F3C39F67CD7F1C40674447A9ED23.txt",
98
+ "content": "68499ECE7EC78ACD861FC94134127CA3153D96B3E138605624AB24DED7AED135\r\ncomodoca.com\r\nt0956924001563873438"
99
+ }
100
+ }
101
+ }
102
+ ],
103
+ "success": true,
104
+ "time_stamp": 1563873515
105
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "certificates": [
3
+ {
4
+ "order_id": "1289056",
5
+ "status": "active",
6
+ "expires": "2021-12-23"
7
+ },
8
+ {
9
+ "order_id": "1685483",
10
+ "status": "expired"
11
+ },
12
+ {
13
+ "order_id": "1743649",
14
+ "status": "active",
15
+ "expires": "2022-10-19"
16
+ },
17
+ {
18
+ "order_id": "2034100",
19
+ "status": "unpaid"
20
+ },
21
+ {
22
+ "order_id": "2036899",
23
+ "status": "cancelled"
24
+ },
25
+ {
26
+ "order_id": "2073461",
27
+ "status": "incomplete"
28
+ }
29
+ ],
30
+ "success": true,
31
+ "time_stamp": 1637157818
32
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "total_orders": 6,
3
+ "success": false
4
+ }
@@ -0,0 +1,131 @@
1
+ {
2
+ "orders": [
3
+ {
4
+ "id": "171385",
5
+ "total_price": "4.44",
6
+ "currency": "EUR",
7
+ "date": "2016-01-28 14:59:39"
8
+ },
9
+ {
10
+ "id": "178391",
11
+ "total_price": "0.00",
12
+ "currency": "EUR",
13
+ "date": "2016-02-18 18:35:10"
14
+ },
15
+ {
16
+ "id": "180366",
17
+ "total_price": "4.96",
18
+ "currency": "EUR",
19
+ "date": "2016-02-25 12:43:50"
20
+ },
21
+ {
22
+ "id": "186085",
23
+ "total_price": "4.37",
24
+ "currency": "EUR",
25
+ "date": "2016-03-12 15:17:47"
26
+ },
27
+ {
28
+ "id": "195034",
29
+ "total_price": "4.79",
30
+ "currency": "EUR",
31
+ "date": "2016-04-09 01:24:37"
32
+ },
33
+ {
34
+ "id": "201373",
35
+ "total_price": "4.82",
36
+ "currency": "EUR",
37
+ "date": "2016-04-28 13:59:24"
38
+ },
39
+ {
40
+ "id": "202454",
41
+ "total_price": "379.01",
42
+ "currency": "EUR",
43
+ "date": "2016-05-03 01:54:45"
44
+ },
45
+ {
46
+ "id": "202457",
47
+ "total_price": "379.01",
48
+ "currency": "EUR",
49
+ "date": "2016-05-03 01:57:25"
50
+ },
51
+ {
52
+ "id": "222256",
53
+ "total_price": "0.00",
54
+ "currency": "EUR",
55
+ "date": "2016-07-08 10:00:46"
56
+ },
57
+ {
58
+ "id": "222266",
59
+ "total_price": "0.00",
60
+ "currency": "EUR",
61
+ "date": "2016-07-08 10:39:52"
62
+ },
63
+ {
64
+ "id": "222267",
65
+ "total_price": "0.00",
66
+ "currency": "EUR",
67
+ "date": "2016-07-08 10:45:44"
68
+ },
69
+ {
70
+ "id": "222272",
71
+ "total_price": "0.00",
72
+ "currency": "EUR",
73
+ "date": "2016-07-08 10:56:31"
74
+ },
75
+ {
76
+ "id": "240207",
77
+ "total_price": "4.78",
78
+ "currency": "EUR",
79
+ "date": "2016-09-06 09:51:02"
80
+ },
81
+ {
82
+ "id": "240894",
83
+ "total_price": "4.80",
84
+ "currency": "EUR",
85
+ "date": "2016-09-07 14:17:23"
86
+ },
87
+ {
88
+ "id": "644782",
89
+ "total_price": "0.00",
90
+ "currency": "EUR",
91
+ "date": "2018-04-21 17:22:48"
92
+ },
93
+ {
94
+ "id": "1125151",
95
+ "total_price": "23.57",
96
+ "currency": "EUR",
97
+ "date": "2019-07-02 17:28:18"
98
+ },
99
+ {
100
+ "id": "1125167",
101
+ "total_price": "23.57",
102
+ "currency": "EUR",
103
+ "date": "2019-07-02 17:39:15"
104
+ },
105
+ {
106
+ "id": "1125168",
107
+ "total_price": "23.57",
108
+ "currency": "EUR",
109
+ "date": "2019-07-02 17:39:39"
110
+ },
111
+ {
112
+ "id": "1125169",
113
+ "total_price": "23.57",
114
+ "currency": "EUR",
115
+ "date": "2019-07-02 17:40:08"
116
+ },
117
+ {
118
+ "id": "1125171",
119
+ "total_price": "23.57",
120
+ "currency": "EUR",
121
+ "date": "2019-07-02 17:40:22"
122
+ },
123
+ {
124
+ "id": "1125182",
125
+ "total_price": "23.57",
126
+ "currency": "EUR",
127
+ "date": "2019-07-02 17:48:26"
128
+ }
129
+ ],
130
+ "success": true
131
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "error": false,
3
+ "message": "string",
4
+ "description": "string"
5
+ }