@itentialopensource/adapter-godaddy 0.2.0

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 (106) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +3 -0
  9. package/AUTH.md +34 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +748 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +13 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +9144 -0
  23. package/adapterBase.js +1452 -0
  24. package/changelogs/CHANGELOG.md +0 -0
  25. package/entities/.generic/action.json +214 -0
  26. package/entities/.generic/schema.json +28 -0
  27. package/entities/.system/action.json +50 -0
  28. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  29. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  30. package/entities/.system/schema.json +19 -0
  31. package/entities/.system/schemaTokenReq.json +53 -0
  32. package/entities/.system/schemaTokenResp.json +53 -0
  33. package/entities/Abuse/action.json +66 -0
  34. package/entities/Abuse/schema.json +21 -0
  35. package/entities/Actions/action.json +66 -0
  36. package/entities/Actions/mockdatafiles/getV2CustomersCustomerIdDomainsDomainActions-default.json +126 -0
  37. package/entities/Actions/schema.json +21 -0
  38. package/entities/Aftermarket/action.json +44 -0
  39. package/entities/Aftermarket/schema.json +20 -0
  40. package/entities/Agreements/action.json +25 -0
  41. package/entities/Agreements/mockdatafiles/getAgreements-default.json +8 -0
  42. package/entities/Agreements/schema.json +19 -0
  43. package/entities/Certificate/action.json +517 -0
  44. package/entities/Certificate/mockdatafiles/certificateGetEntitlement-default.json +205 -0
  45. package/entities/Certificate/mockdatafiles/getDomainInformationByCertificateId-default.json +32 -0
  46. package/entities/Certificate/schema.json +43 -0
  47. package/entities/Countries/action.json +46 -0
  48. package/entities/Countries/schema.json +20 -0
  49. package/entities/Domains/action.json +696 -0
  50. package/entities/Domains/mockdatafiles/domainsForwardsGet-default.json +12 -0
  51. package/entities/Domains/mockdatafiles/getAgreement-default.json +8 -0
  52. package/entities/Domains/mockdatafiles/listDomains-default.json +198 -0
  53. package/entities/Domains/mockdatafiles/recordGet-default.json +24 -0
  54. package/entities/Domains/mockdatafiles/suggest-default.json +11 -0
  55. package/entities/Domains/mockdatafiles/tlds-default.json +14 -0
  56. package/entities/Domains/schema.json +52 -0
  57. package/entities/Notifications/action.json +107 -0
  58. package/entities/Notifications/mockdatafiles/getV2CustomersCustomerIdDomainsNotificationsOptIn-default.json +32 -0
  59. package/entities/Notifications/schema.json +23 -0
  60. package/entities/Orders/action.json +46 -0
  61. package/entities/Orders/schema.json +20 -0
  62. package/entities/Parking/action.json +46 -0
  63. package/entities/Parking/schema.json +20 -0
  64. package/entities/Shoppers/action.json +126 -0
  65. package/entities/Shoppers/schema.json +24 -0
  66. package/entities/Subscriptions/action.json +107 -0
  67. package/entities/Subscriptions/mockdatafiles/productGroups-default.json +10 -0
  68. package/entities/Subscriptions/schema.json +23 -0
  69. package/error.json +190 -0
  70. package/metadata.json +54 -0
  71. package/package.json +82 -0
  72. package/pronghorn.json +15805 -0
  73. package/propertiesDecorators.json +14 -0
  74. package/propertiesSchema.json +1661 -0
  75. package/refs?service=git-upload-pack +0 -0
  76. package/report/adapter-openapi.json +13714 -0
  77. package/report/adapter-openapi.yaml +20419 -0
  78. package/report/adapterInfo.json +10 -0
  79. package/report/creationReport.json +765 -0
  80. package/report/godaddy.json +13714 -0
  81. package/report/updateReport1706477552013.json +120 -0
  82. package/sampleProperties.json +254 -0
  83. package/test/integration/adapterTestBasicGet.js +83 -0
  84. package/test/integration/adapterTestConnectivity.js +142 -0
  85. package/test/integration/adapterTestIntegration.js +2925 -0
  86. package/test/unit/adapterBaseTestUnit.js +1024 -0
  87. package/test/unit/adapterTestUnit.js +4900 -0
  88. package/utils/adapterInfo.js +206 -0
  89. package/utils/addAuth.js +94 -0
  90. package/utils/artifactize.js +146 -0
  91. package/utils/basicGet.js +50 -0
  92. package/utils/checkMigrate.js +63 -0
  93. package/utils/entitiesToDB.js +179 -0
  94. package/utils/findPath.js +74 -0
  95. package/utils/methodDocumentor.js +273 -0
  96. package/utils/modify.js +152 -0
  97. package/utils/packModificationScript.js +35 -0
  98. package/utils/patches2bundledDeps.js +90 -0
  99. package/utils/pre-commit.sh +32 -0
  100. package/utils/removeHooks.js +20 -0
  101. package/utils/setup.js +33 -0
  102. package/utils/taskMover.js +309 -0
  103. package/utils/tbScript.js +239 -0
  104. package/utils/tbUtils.js +489 -0
  105. package/utils/testRunner.js +298 -0
  106. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "fqdn": "string",
4
+ "type": "REDIRECT_PERMANENT",
5
+ "url": "string",
6
+ "mask": {
7
+ "title": "string",
8
+ "description": "string",
9
+ "keywords": "string"
10
+ }
11
+ }
12
+ ]
@@ -0,0 +1,8 @@
1
+ [
2
+ {
3
+ "agreementKey": "string",
4
+ "content": "string",
5
+ "title": "string",
6
+ "url": "string"
7
+ }
8
+ ]
@@ -0,0 +1,198 @@
1
+ [
2
+ {
3
+ "authCode": "string",
4
+ "contactAdmin": {
5
+ "addressMailing": {
6
+ "address1": "string",
7
+ "address2": "string",
8
+ "city": "string",
9
+ "country": "US",
10
+ "postalCode": "string",
11
+ "state": "string"
12
+ },
13
+ "email": "string",
14
+ "fax": "string",
15
+ "jobTitle": "string",
16
+ "nameFirst": "string",
17
+ "nameLast": "string",
18
+ "nameMiddle": "string",
19
+ "organization": "string",
20
+ "phone": "string"
21
+ },
22
+ "contactBilling": {
23
+ "addressMailing": {
24
+ "address1": "string",
25
+ "address2": "string",
26
+ "city": "string",
27
+ "country": "US",
28
+ "postalCode": "string",
29
+ "state": "string"
30
+ },
31
+ "email": "string",
32
+ "fax": "string",
33
+ "jobTitle": "string",
34
+ "nameFirst": "string",
35
+ "nameLast": "string",
36
+ "nameMiddle": "string",
37
+ "organization": "string",
38
+ "phone": "string"
39
+ },
40
+ "contactRegistrant": {
41
+ "addressMailing": {
42
+ "address1": "string",
43
+ "address2": "string",
44
+ "city": "string",
45
+ "country": "US",
46
+ "postalCode": "string",
47
+ "state": "string"
48
+ },
49
+ "email": "string",
50
+ "fax": "string",
51
+ "jobTitle": "string",
52
+ "nameFirst": "string",
53
+ "nameLast": "string",
54
+ "nameMiddle": "string",
55
+ "organization": "string",
56
+ "phone": "string"
57
+ },
58
+ "contactTech": {
59
+ "addressMailing": {
60
+ "address1": "string",
61
+ "address2": "string",
62
+ "city": "string",
63
+ "country": "US",
64
+ "postalCode": "string",
65
+ "state": "string"
66
+ },
67
+ "email": "string",
68
+ "fax": "string",
69
+ "jobTitle": "string",
70
+ "nameFirst": "string",
71
+ "nameLast": "string",
72
+ "nameMiddle": "string",
73
+ "organization": "string",
74
+ "phone": "string"
75
+ },
76
+ "createdAt": "string",
77
+ "deletedAt": "string",
78
+ "transferAwayEligibleAt": "string",
79
+ "domain": "string",
80
+ "domainId": 4,
81
+ "expirationProtected": false,
82
+ "expires": "string",
83
+ "exposeWhois": false,
84
+ "holdRegistrar": true,
85
+ "locked": true,
86
+ "nameServers": [
87
+ "string",
88
+ "string"
89
+ ],
90
+ "privacy": true,
91
+ "registrarCreatedAt": "string",
92
+ "renewAuto": false,
93
+ "renewDeadline": "string",
94
+ "renewable": true,
95
+ "status": "string",
96
+ "transferProtected": true
97
+ },
98
+ {
99
+ "authCode": "string",
100
+ "contactAdmin": {
101
+ "addressMailing": {
102
+ "address1": "string",
103
+ "address2": "string",
104
+ "city": "string",
105
+ "country": "US",
106
+ "postalCode": "string",
107
+ "state": "string"
108
+ },
109
+ "email": "string",
110
+ "fax": "string",
111
+ "jobTitle": "string",
112
+ "nameFirst": "string",
113
+ "nameLast": "string",
114
+ "nameMiddle": "string",
115
+ "organization": "string",
116
+ "phone": "string"
117
+ },
118
+ "contactBilling": {
119
+ "addressMailing": {
120
+ "address1": "string",
121
+ "address2": "string",
122
+ "city": "string",
123
+ "country": "US",
124
+ "postalCode": "string",
125
+ "state": "string"
126
+ },
127
+ "email": "string",
128
+ "fax": "string",
129
+ "jobTitle": "string",
130
+ "nameFirst": "string",
131
+ "nameLast": "string",
132
+ "nameMiddle": "string",
133
+ "organization": "string",
134
+ "phone": "string"
135
+ },
136
+ "contactRegistrant": {
137
+ "addressMailing": {
138
+ "address1": "string",
139
+ "address2": "string",
140
+ "city": "string",
141
+ "country": "US",
142
+ "postalCode": "string",
143
+ "state": "string"
144
+ },
145
+ "email": "string",
146
+ "fax": "string",
147
+ "jobTitle": "string",
148
+ "nameFirst": "string",
149
+ "nameLast": "string",
150
+ "nameMiddle": "string",
151
+ "organization": "string",
152
+ "phone": "string"
153
+ },
154
+ "contactTech": {
155
+ "addressMailing": {
156
+ "address1": "string",
157
+ "address2": "string",
158
+ "city": "string",
159
+ "country": "US",
160
+ "postalCode": "string",
161
+ "state": "string"
162
+ },
163
+ "email": "string",
164
+ "fax": "string",
165
+ "jobTitle": "string",
166
+ "nameFirst": "string",
167
+ "nameLast": "string",
168
+ "nameMiddle": "string",
169
+ "organization": "string",
170
+ "phone": "string"
171
+ },
172
+ "createdAt": "string",
173
+ "deletedAt": "string",
174
+ "transferAwayEligibleAt": "string",
175
+ "domain": "string",
176
+ "domainId": 2,
177
+ "expirationProtected": false,
178
+ "expires": "string",
179
+ "exposeWhois": true,
180
+ "holdRegistrar": false,
181
+ "locked": true,
182
+ "nameServers": [
183
+ "string",
184
+ "string",
185
+ "string",
186
+ "string",
187
+ "string",
188
+ "string"
189
+ ],
190
+ "privacy": true,
191
+ "registrarCreatedAt": "string",
192
+ "renewAuto": true,
193
+ "renewDeadline": "string",
194
+ "renewable": false,
195
+ "status": "string",
196
+ "transferProtected": true
197
+ }
198
+ ]
@@ -0,0 +1,24 @@
1
+ [
2
+ {
3
+ "data": "string",
4
+ "name": "string",
5
+ "port": 3,
6
+ "priority": 8,
7
+ "protocol": "string",
8
+ "service": "string",
9
+ "ttl": 10,
10
+ "type": "A",
11
+ "weight": 7
12
+ },
13
+ {
14
+ "data": "string",
15
+ "name": "string",
16
+ "port": 1,
17
+ "priority": 2,
18
+ "protocol": "string",
19
+ "service": "string",
20
+ "ttl": 5,
21
+ "type": "TXT",
22
+ "weight": 2
23
+ }
24
+ ]
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "domain": "string"
4
+ },
5
+ {
6
+ "domain": "string"
7
+ },
8
+ {
9
+ "domain": "string"
10
+ }
11
+ ]
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "name": "string",
4
+ "type": "GENERIC"
5
+ },
6
+ {
7
+ "name": "string",
8
+ "type": "GENERIC"
9
+ },
10
+ {
11
+ "name": "string",
12
+ "type": "GENERIC"
13
+ }
14
+ ]
@@ -0,0 +1,52 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "listDomains",
12
+ "enum": [
13
+ "listDomains",
14
+ "getAgreement",
15
+ "available",
16
+ "availableBulk",
17
+ "contactsValidate",
18
+ "purchase",
19
+ "schema",
20
+ "validate",
21
+ "suggest",
22
+ "tlds",
23
+ "cancel",
24
+ "getDomain",
25
+ "update",
26
+ "updateContacts",
27
+ "cancelPrivacy",
28
+ "purchasePrivacy",
29
+ "recordAdd",
30
+ "recordReplace",
31
+ "recordGet",
32
+ "recordReplaceTypeName",
33
+ "recordDeleteTypeName",
34
+ "recordReplaceType",
35
+ "renew",
36
+ "transferIn",
37
+ "verifyEmail",
38
+ "getV2CustomersCustomerIdDomainsDomain",
39
+ "postV2CustomersCustomerIdDomainsDomainRedeem",
40
+ "postV2CustomersCustomerIdDomainsDomainTransferOut",
41
+ "domainsForwardsDelete",
42
+ "domainsForwardsGet",
43
+ "domainsForwardsPut",
44
+ "domainsForwardsPost",
45
+ "getV2DomainsMaintenances",
46
+ "getV2DomainsMaintenancesMaintenanceId"
47
+ ],
48
+ "external_name": "ph_request_type"
49
+ }
50
+ },
51
+ "definitions": {}
52
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getV2CustomersCustomerIdDomainsNotifications",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/domains/notifications?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getV2CustomersCustomerIdDomainsNotificationsOptIn",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/domains/notifications/optIn?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/getV2CustomersCustomerIdDomainsNotificationsOptIn-default.json"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "putV2CustomersCustomerIdDomainsNotificationsOptIn",
47
+ "protocol": "REST",
48
+ "method": "PUT",
49
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/domains/notifications/optIn?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getV2CustomersCustomerIdDomainsNotificationsSchemasType",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/domains/notifications/schemas/{pathv2}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "postV2CustomersCustomerIdDomainsNotificationsNotificationIdAcknowledge",
88
+ "protocol": "REST",
89
+ "method": "POST",
90
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/domains/notifications/{pathv2}/acknowledge?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ }
106
+ ]
107
+ }
@@ -0,0 +1,32 @@
1
+ [
2
+ {
3
+ "notificationId": "string",
4
+ "type": "RENEW_UNDO",
5
+ "resource": "string",
6
+ "resourceType": "DOMAIN",
7
+ "status": "PENDING",
8
+ "addedAt": "string",
9
+ "requestId": "string",
10
+ "metadata": {}
11
+ },
12
+ {
13
+ "notificationId": "string",
14
+ "type": "EXPIRY",
15
+ "resource": "string",
16
+ "resourceType": "HOST",
17
+ "status": "FAILED",
18
+ "addedAt": "string",
19
+ "requestId": "string",
20
+ "metadata": {}
21
+ },
22
+ {
23
+ "notificationId": "string",
24
+ "type": "REGISTER",
25
+ "resource": "string",
26
+ "resourceType": "CONTACT",
27
+ "status": "PENDING",
28
+ "addedAt": "string",
29
+ "requestId": "string",
30
+ "metadata": {}
31
+ }
32
+ ]
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getV2CustomersCustomerIdDomainsNotifications",
12
+ "enum": [
13
+ "getV2CustomersCustomerIdDomainsNotifications",
14
+ "getV2CustomersCustomerIdDomainsNotificationsOptIn",
15
+ "putV2CustomersCustomerIdDomainsNotificationsOptIn",
16
+ "getV2CustomersCustomerIdDomainsNotificationsSchemasType",
17
+ "postV2CustomersCustomerIdDomainsNotificationsNotificationIdAcknowledge"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listOrders",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v1/orders?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "get",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/v1/orders/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "listOrders",
12
+ "enum": [
13
+ "listOrders",
14
+ "get"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getMetrics",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v1/customers/{pathv1}/parking/metrics?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getMetricsByDomain",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/v1/customers/{pathv1}/parking/metricsByDomain?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getMetrics",
12
+ "enum": [
13
+ "getMetrics",
14
+ "getMetricsByDomain"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }