@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,517 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "certificateCreate",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1/certificates?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "certificateValidate",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/v1/certificates/validate?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "certificateGet",
45
+ "protocol": "REST",
46
+ "method": "GET",
47
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "sendGetBody": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "certificateActionRetrieve",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/actions?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "certificateResendEmail",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/email/{pathv2}/resend?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "certificateAlternateEmailAddress",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/email/resend/{pathv2}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "certificateResendEmailAddress",
127
+ "protocol": "REST",
128
+ "method": "POST",
129
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/email/{pathv2}/resend/{pathv3}?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "certificateEmailHistory",
147
+ "protocol": "REST",
148
+ "method": "GET",
149
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/email/history?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "sendGetBody": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "certificateCallbackDelete",
168
+ "protocol": "REST",
169
+ "method": "DELETE",
170
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/callback?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "certificateCallbackGet",
188
+ "protocol": "REST",
189
+ "method": "GET",
190
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/callback?{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": ""
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "certificateCallbackReplace",
209
+ "protocol": "REST",
210
+ "method": "PUT",
211
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/callback?{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": ""
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "certificateCancel",
229
+ "protocol": "REST",
230
+ "method": "POST",
231
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/cancel?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "requestDatatype": "JSON",
237
+ "responseDatatype": "JSON",
238
+ "headers": {},
239
+ "responseObjects": [
240
+ {
241
+ "type": "default",
242
+ "key": "",
243
+ "mockFile": ""
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "name": "certificateDownload",
249
+ "protocol": "REST",
250
+ "method": "GET",
251
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/download?{query}",
252
+ "requestSchema": "schema.json",
253
+ "responseSchema": "schema.json",
254
+ "timeout": 0,
255
+ "sendEmpty": false,
256
+ "sendGetBody": false,
257
+ "requestDatatype": "JSON",
258
+ "responseDatatype": "JSON",
259
+ "headers": {},
260
+ "responseObjects": [
261
+ {
262
+ "type": "default",
263
+ "key": "",
264
+ "mockFile": ""
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "name": "certificateReissue",
270
+ "protocol": "REST",
271
+ "method": "POST",
272
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/reissue?{query}",
273
+ "requestSchema": "schema.json",
274
+ "responseSchema": "schema.json",
275
+ "timeout": 0,
276
+ "sendEmpty": false,
277
+ "requestDatatype": "JSON",
278
+ "responseDatatype": "JSON",
279
+ "headers": {},
280
+ "responseObjects": [
281
+ {
282
+ "type": "default",
283
+ "key": "",
284
+ "mockFile": ""
285
+ }
286
+ ]
287
+ },
288
+ {
289
+ "name": "certificateRenew",
290
+ "protocol": "REST",
291
+ "method": "POST",
292
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/renew?{query}",
293
+ "requestSchema": "schema.json",
294
+ "responseSchema": "schema.json",
295
+ "timeout": 0,
296
+ "sendEmpty": false,
297
+ "requestDatatype": "JSON",
298
+ "responseDatatype": "JSON",
299
+ "headers": {},
300
+ "responseObjects": [
301
+ {
302
+ "type": "default",
303
+ "key": "",
304
+ "mockFile": ""
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "name": "certificateRevoke",
310
+ "protocol": "REST",
311
+ "method": "POST",
312
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/revoke?{query}",
313
+ "requestSchema": "schema.json",
314
+ "responseSchema": "schema.json",
315
+ "timeout": 0,
316
+ "sendEmpty": false,
317
+ "requestDatatype": "JSON",
318
+ "responseDatatype": "JSON",
319
+ "headers": {},
320
+ "responseObjects": [
321
+ {
322
+ "type": "default",
323
+ "key": "",
324
+ "mockFile": ""
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "name": "certificateSitesealGet",
330
+ "protocol": "REST",
331
+ "method": "GET",
332
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/siteSeal?{query}",
333
+ "requestSchema": "schema.json",
334
+ "responseSchema": "schema.json",
335
+ "timeout": 0,
336
+ "sendEmpty": false,
337
+ "sendGetBody": false,
338
+ "requestDatatype": "JSON",
339
+ "responseDatatype": "JSON",
340
+ "headers": {},
341
+ "responseObjects": [
342
+ {
343
+ "type": "default",
344
+ "key": "",
345
+ "mockFile": ""
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "name": "certificateVerifydomaincontrol",
351
+ "protocol": "REST",
352
+ "method": "POST",
353
+ "entitypath": "{base_path}/{version}/v1/certificates/{pathv1}/verifyDomainControl?{query}",
354
+ "requestSchema": "schema.json",
355
+ "responseSchema": "schema.json",
356
+ "timeout": 0,
357
+ "sendEmpty": false,
358
+ "requestDatatype": "JSON",
359
+ "responseDatatype": "JSON",
360
+ "headers": {},
361
+ "responseObjects": [
362
+ {
363
+ "type": "default",
364
+ "key": "",
365
+ "mockFile": ""
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "name": "certificateGetEntitlement",
371
+ "protocol": "REST",
372
+ "method": "GET",
373
+ "entitypath": "{base_path}/{version}/v2/certificates?{query}",
374
+ "requestSchema": "schema.json",
375
+ "responseSchema": "schema.json",
376
+ "timeout": 0,
377
+ "sendEmpty": false,
378
+ "sendGetBody": false,
379
+ "requestDatatype": "JSON",
380
+ "responseDatatype": "JSON",
381
+ "headers": {},
382
+ "responseObjects": [
383
+ {
384
+ "type": "default",
385
+ "key": "",
386
+ "mockFile": "mockdatafiles/certificateGetEntitlement-default.json"
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "name": "certificateDownloadEntitlement",
392
+ "protocol": "REST",
393
+ "method": "GET",
394
+ "entitypath": "{base_path}/{version}/v2/certificates/download?{query}",
395
+ "requestSchema": "schema.json",
396
+ "responseSchema": "schema.json",
397
+ "timeout": 0,
398
+ "sendEmpty": false,
399
+ "sendGetBody": false,
400
+ "requestDatatype": "JSON",
401
+ "responseDatatype": "JSON",
402
+ "headers": {},
403
+ "responseObjects": [
404
+ {
405
+ "type": "default",
406
+ "key": "",
407
+ "mockFile": ""
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "name": "getCustomerCertificatesByCustomerId",
413
+ "protocol": "REST",
414
+ "method": "GET",
415
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/certificates?{query}",
416
+ "requestSchema": "schema.json",
417
+ "responseSchema": "schema.json",
418
+ "timeout": 0,
419
+ "sendEmpty": false,
420
+ "sendGetBody": false,
421
+ "requestDatatype": "JSON",
422
+ "responseDatatype": "JSON",
423
+ "headers": {},
424
+ "responseObjects": [
425
+ {
426
+ "type": "default",
427
+ "key": "",
428
+ "mockFile": ""
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "name": "getCertificateDetailByCertIdentifier",
434
+ "protocol": "REST",
435
+ "method": "GET",
436
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/certificates/{pathv2}?{query}",
437
+ "requestSchema": "schema.json",
438
+ "responseSchema": "schema.json",
439
+ "timeout": 0,
440
+ "sendEmpty": false,
441
+ "sendGetBody": false,
442
+ "requestDatatype": "JSON",
443
+ "responseDatatype": "JSON",
444
+ "headers": {},
445
+ "responseObjects": [
446
+ {
447
+ "type": "default",
448
+ "key": "",
449
+ "mockFile": ""
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "name": "getDomainInformationByCertificateId",
455
+ "protocol": "REST",
456
+ "method": "GET",
457
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/certificates/{pathv2}/domainVerifications?{query}",
458
+ "requestSchema": "schema.json",
459
+ "responseSchema": "schema.json",
460
+ "timeout": 0,
461
+ "sendEmpty": false,
462
+ "sendGetBody": false,
463
+ "requestDatatype": "JSON",
464
+ "responseDatatype": "JSON",
465
+ "headers": {},
466
+ "responseObjects": [
467
+ {
468
+ "type": "default",
469
+ "key": "",
470
+ "mockFile": "mockdatafiles/getDomainInformationByCertificateId-default.json"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "name": "getDomainDetailsByDomain",
476
+ "protocol": "REST",
477
+ "method": "GET",
478
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/certificates/{pathv2}/domainVerifications/{pathv3}?{query}",
479
+ "requestSchema": "schema.json",
480
+ "responseSchema": "schema.json",
481
+ "timeout": 0,
482
+ "sendEmpty": false,
483
+ "sendGetBody": false,
484
+ "requestDatatype": "JSON",
485
+ "responseDatatype": "JSON",
486
+ "headers": {},
487
+ "responseObjects": [
488
+ {
489
+ "type": "default",
490
+ "key": "",
491
+ "mockFile": ""
492
+ }
493
+ ]
494
+ },
495
+ {
496
+ "name": "getAcmeExternalAccountBinding",
497
+ "protocol": "REST",
498
+ "method": "GET",
499
+ "entitypath": "{base_path}/{version}/v2/customers/{pathv1}/certificates/acme/externalAccountBinding?{query}",
500
+ "requestSchema": "schema.json",
501
+ "responseSchema": "schema.json",
502
+ "timeout": 0,
503
+ "sendEmpty": false,
504
+ "sendGetBody": false,
505
+ "requestDatatype": "JSON",
506
+ "responseDatatype": "JSON",
507
+ "headers": {},
508
+ "responseObjects": [
509
+ {
510
+ "type": "default",
511
+ "key": "",
512
+ "mockFile": ""
513
+ }
514
+ ]
515
+ }
516
+ ]
517
+ }