@api-client/core 0.8.2 → 0.8.4

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 (108) hide show
  1. package/build/src/amf/AmfMixin.d.ts +1 -1
  2. package/build/src/amf/definitions/Api.d.ts +6 -6
  3. package/build/src/amf/definitions/Shapes.d.ts +2 -2
  4. package/build/src/amf/models/AmfDataNode.d.ts +1 -1
  5. package/build/src/cookies/CookieParser.d.ts +1 -1
  6. package/build/src/lib/parsers/UrlProcessor.d.ts +1 -1
  7. package/build/src/lib/transformers/PayloadSerializer.d.ts +3 -3
  8. package/build/src/mocking/LegacyInterfaces.d.ts +1 -1
  9. package/build/src/models/Authorization.d.ts +3 -3
  10. package/build/src/models/ClientCertificate.d.ts +4 -4
  11. package/build/src/models/HttpCookie.d.ts +2 -2
  12. package/build/src/models/ProjectItem.d.ts +1 -1
  13. package/build/src/models/Property.d.ts +1 -1
  14. package/build/src/models/data/DataNamespace.d.ts +1 -1
  15. package/build/src/models/data/DataProperty.d.ts +2 -2
  16. package/build/src/models/legacy/actions/Actions.d.ts +5 -5
  17. package/build/src/models/legacy/authorization/Authorization.d.ts +2 -2
  18. package/build/src/models/store/Backend.d.ts +2 -2
  19. package/build/src/models/store/Permission.d.ts +3 -3
  20. package/build/src/models/transformers/PostmanTransformer.d.ts +1 -1
  21. package/build/src/models/transformers/PostmanV21Transformer.d.ts +1 -1
  22. package/build/src/models/transformers/har.d.ts +1 -1
  23. package/build/src/runtime/http-runner/HttpFlowRunner.d.ts +1 -1
  24. package/build/src/runtime/node/ProjectParallelRunner.d.ts +1 -1
  25. package/build/src/runtime/node/ProjectRunner.d.ts +1 -1
  26. package/build/src/runtime/store/FilesSdk.d.ts +1 -1
  27. package/data/apis/APIC-483/APIC-483.raml +16 -0
  28. package/data/apis/APIC-483/example/list-of-bank-succ.json +32 -0
  29. package/data/apis/APIC-483/schema/response-retrieve-list-bank.json +68 -0
  30. package/data/apis/arc-demo-api/arc-demo-api.raml +468 -0
  31. package/data/apis/arc-demo-api/examples/e400.xml +4 -0
  32. package/data/apis/arc-demo-api/examples/e401.xml +4 -0
  33. package/data/apis/arc-demo-api/examples/e404.xml +4 -0
  34. package/data/apis/arc-demo-api/examples/image.xml +5 -0
  35. package/data/apis/arc-demo-api/examples/messages-example.json +22 -0
  36. package/data/apis/arc-demo-api/examples/messages-sent-example.json +15 -0
  37. package/data/apis/arc-demo-api/examples/person.json +14 -0
  38. package/data/apis/arc-demo-api/examples/person.url.encoded +1 -0
  39. package/data/apis/arc-demo-api/examples/person.xml +14 -0
  40. package/data/apis/arc-demo-api/examples/product.xml +9 -0
  41. package/data/apis/arc-demo-api/library.raml +36 -0
  42. package/data/apis/arc-demo-api/resourceTypes/app-person.raml +49 -0
  43. package/data/apis/arc-demo-api/resourceTypes/example-types.raml +45 -0
  44. package/data/apis/arc-demo-api/resourceTypes/image.raml +23 -0
  45. package/data/apis/arc-demo-api/resourceTypes/message-sent-type.raml +23 -0
  46. package/data/apis/arc-demo-api/resourceTypes/message-type.raml +33 -0
  47. package/data/apis/arc-demo-api/resourceTypes/product.raml +52 -0
  48. package/data/apis/arc-demo-api/resourceTypes/resource.raml +11 -0
  49. package/data/apis/arc-demo-api/schemas/error-response.xsd +11 -0
  50. package/data/apis/arc-demo-api/schemas/image.xsd +11 -0
  51. package/data/apis/arc-demo-api/schemas/person.json +104 -0
  52. package/data/apis/arc-demo-api/schemas/person.xsd +26 -0
  53. package/data/apis/arc-demo-api/schemas/product.xsd +17 -0
  54. package/data/apis/arc-demo-api/securitySchemes/basic.raml +5 -0
  55. package/data/apis/arc-demo-api/securitySchemes/oauth_2_0.raml +29 -0
  56. package/data/apis/arc-demo-api/securitySchemes/x-custom.raml +26 -0
  57. package/data/apis/arc-demo-api/traits/adminable.raml +23 -0
  58. package/data/apis/arc-demo-api/traits/pagination.raml +83 -0
  59. package/data/apis/arc-demo-api/traits/rate-limited.raml +9 -0
  60. package/data/apis/oas-3-api/oas-3-api.yaml +356 -0
  61. package/data/apis/petstore/petstore.yaml +954 -0
  62. package/data/apis/secured-api/oauth-2-custom-settings.raml +143 -0
  63. package/data/apis/secured-api/oauth2-header-delivery.raml +13 -0
  64. package/data/apis/secured-api/oauth2-no-delivery.raml +8 -0
  65. package/data/apis/secured-api/oauth2-no-grants.raml +12 -0
  66. package/data/apis/secured-api/oauth2-pkce.raml +13 -0
  67. package/data/apis/secured-api/oauth2-query-delivery.raml +13 -0
  68. package/data/apis/secured-api/oauth_1_0.raml +8 -0
  69. package/data/apis/secured-api/oauth_1_0_no-settings.raml +3 -0
  70. package/data/apis/secured-api/oauth_1_0_no-signature.raml +7 -0
  71. package/data/apis/secured-api/oauth_1_0_signature.raml +8 -0
  72. package/data/apis/secured-api/passthrough-querystring.raml +16 -0
  73. package/data/apis/secured-api/passthrough.raml +24 -0
  74. package/data/apis/secured-api/secured-api.raml +231 -0
  75. package/data/apis/secured-api/x-custom.raml +33 -0
  76. package/data/apis/secured-api/x-other.raml +29 -0
  77. package/data/apis/secured-api/x-query-string.raml +16 -0
  78. package/data/model.js +5 -0
  79. package/data/models/APIC-187.json +13 -3
  80. package/data/models/APIC-188.json +13 -3
  81. package/data/models/APIC-233.json +1 -1
  82. package/data/models/APIC-391.json +23 -2
  83. package/data/models/APIC-483.json +3088 -0
  84. package/data/models/APIC-487.json +1 -1
  85. package/data/models/APIC-655.json +21 -1
  86. package/data/models/APIC-689.json +21 -1
  87. package/data/models/APIC-690.json +5 -5
  88. package/data/models/SE-10469.json +11 -1
  89. package/data/models/SE-13092.json +35 -5
  90. package/data/models/SE-22063.json +22 -2
  91. package/data/models/amf-helper-api.json +740 -42
  92. package/data/models/arc-demo-api.json +52994 -0
  93. package/data/models/async-api.json +86 -36
  94. package/data/models/example-generator-api.json +280 -10
  95. package/data/models/expanded-api.json +1 -1
  96. package/data/models/flattened-api.json +1 -1
  97. package/data/models/multiple-servers.json +1 -1
  98. package/data/models/oas-3-api.json +10534 -0
  99. package/data/models/oas-date.json +1 -1
  100. package/data/models/oas-types.json +1 -1
  101. package/data/models/oas-unions.json +31 -1
  102. package/data/models/petstore.json +27477 -0
  103. package/data/models/raml-date.json +11 -1
  104. package/data/models/recursive.json +1 -1
  105. package/data/models/schema-api.json +84 -4
  106. package/data/models/secured-api.json +19067 -0
  107. package/data/models/tracked-to-linked.json +88 -4
  108. package/package.json +3 -3
@@ -5,7 +5,7 @@
5
5
  "@type": [
6
6
  "doc:APIContractProcessingData"
7
7
  ],
8
- "apiContract:modelVersion": "3.7.0",
8
+ "apiContract:modelVersion": "3.8.0",
9
9
  "doc:transformed": true,
10
10
  "doc:sourceSpec": "RAML 1.0"
11
11
  },
@@ -222,6 +222,11 @@
222
222
  {
223
223
  "@id": "#27"
224
224
  }
225
+ ],
226
+ "sourcemaps:sources": [
227
+ {
228
+ "@id": "#26/source-map"
229
+ }
225
230
  ]
226
231
  },
227
232
  {
@@ -247,6 +252,11 @@
247
252
  {
248
253
  "@id": "#19"
249
254
  }
255
+ ],
256
+ "sourcemaps:sources": [
257
+ {
258
+ "@id": "#38/source-map"
259
+ }
250
260
  ]
251
261
  },
252
262
  {
@@ -272,6 +282,11 @@
272
282
  {
273
283
  "@id": "#20"
274
284
  }
285
+ ],
286
+ "sourcemaps:sources": [
287
+ {
288
+ "@id": "#40/source-map"
289
+ }
275
290
  ]
276
291
  },
277
292
  {
@@ -297,6 +312,11 @@
297
312
  {
298
313
  "@id": "#21"
299
314
  }
315
+ ],
316
+ "sourcemaps:sources": [
317
+ {
318
+ "@id": "#42/source-map"
319
+ }
300
320
  ]
301
321
  },
302
322
  {
@@ -338,6 +358,17 @@
338
358
  ]
339
359
  },
340
360
  {
361
+ "@id": "#26/source-map",
362
+ "@type": [
363
+ "sourcemaps:SourceMap"
364
+ ],
365
+ "sourcemaps:virtual-element": [
366
+ {
367
+ "@id": "#26/source-map/virtual-element/element_0"
368
+ }
369
+ ]
370
+ },
371
+ {
341
372
  "@id": "#25/source-map/lexical/element_0",
342
373
  "sourcemaps:element": "amf://id#25",
343
374
  "sourcemaps:value": "[(10,2)-(15,0)]"
@@ -360,6 +391,17 @@
360
391
  ]
361
392
  },
362
393
  {
394
+ "@id": "#38/source-map",
395
+ "@type": [
396
+ "sourcemaps:SourceMap"
397
+ ],
398
+ "sourcemaps:virtual-element": [
399
+ {
400
+ "@id": "#38/source-map/virtual-element/element_0"
401
+ }
402
+ ]
403
+ },
404
+ {
363
405
  "@id": "#37/source-map/lexical/element_0",
364
406
  "sourcemaps:element": "amf://id#37",
365
407
  "sourcemaps:value": "[(15,2)-(20,0)]"
@@ -382,6 +424,17 @@
382
424
  ]
383
425
  },
384
426
  {
427
+ "@id": "#40/source-map",
428
+ "@type": [
429
+ "sourcemaps:SourceMap"
430
+ ],
431
+ "sourcemaps:virtual-element": [
432
+ {
433
+ "@id": "#40/source-map/virtual-element/element_0"
434
+ }
435
+ ]
436
+ },
437
+ {
385
438
  "@id": "#39/source-map/lexical/element_0",
386
439
  "sourcemaps:element": "amf://id#39",
387
440
  "sourcemaps:value": "[(20,2)-(25,0)]"
@@ -404,6 +457,17 @@
404
457
  ]
405
458
  },
406
459
  {
460
+ "@id": "#42/source-map",
461
+ "@type": [
462
+ "sourcemaps:SourceMap"
463
+ ],
464
+ "sourcemaps:virtual-element": [
465
+ {
466
+ "@id": "#42/source-map/virtual-element/element_0"
467
+ }
468
+ ]
469
+ },
470
+ {
407
471
  "@id": "#41/source-map/lexical/element_0",
408
472
  "sourcemaps:element": "amf://id#41",
409
473
  "sourcemaps:value": "[(25,2)-(28,47)]"
@@ -444,6 +508,11 @@
444
508
  ]
445
509
  },
446
510
  {
511
+ "@id": "#26/source-map/virtual-element/element_0",
512
+ "sourcemaps:element": "amf://id#26",
513
+ "sourcemaps:value": "true"
514
+ },
515
+ {
447
516
  "@id": "#14",
448
517
  "@type": [
449
518
  "shacl:NodeShape",
@@ -485,6 +554,11 @@
485
554
  ]
486
555
  },
487
556
  {
557
+ "@id": "#38/source-map/virtual-element/element_0",
558
+ "sourcemaps:element": "amf://id#38",
559
+ "sourcemaps:value": "true"
560
+ },
561
+ {
488
562
  "@id": "#20/source-map",
489
563
  "@type": [
490
564
  "sourcemaps:SourceMap"
@@ -496,6 +570,11 @@
496
570
  ]
497
571
  },
498
572
  {
573
+ "@id": "#40/source-map/virtual-element/element_0",
574
+ "sourcemaps:element": "amf://id#40",
575
+ "sourcemaps:value": "true"
576
+ },
577
+ {
499
578
  "@id": "#21/source-map",
500
579
  "@type": [
501
580
  "sourcemaps:SourceMap"
@@ -507,6 +586,11 @@
507
586
  ]
508
587
  },
509
588
  {
589
+ "@id": "#42/source-map/virtual-element/element_0",
590
+ "sourcemaps:element": "amf://id#42",
591
+ "sourcemaps:value": "true"
592
+ },
593
+ {
510
594
  "@id": "#29",
511
595
  "@type": [
512
596
  "apiContract:Example",
@@ -1653,7 +1737,7 @@
1653
1737
  "@type": [
1654
1738
  "doc:APIContractProcessingData"
1655
1739
  ],
1656
- "apiContract:modelVersion": "3.7.0",
1740
+ "apiContract:modelVersion": "3.8.0",
1657
1741
  "doc:sourceSpec": "RAML 1.0"
1658
1742
  },
1659
1743
  {
@@ -1681,7 +1765,7 @@
1681
1765
  "@type": [
1682
1766
  "doc:APIContractProcessingData"
1683
1767
  ],
1684
- "apiContract:modelVersion": "3.7.0",
1768
+ "apiContract:modelVersion": "3.8.0",
1685
1769
  "doc:sourceSpec": "RAML 1.0"
1686
1770
  },
1687
1771
  {
@@ -1709,7 +1793,7 @@
1709
1793
  "@type": [
1710
1794
  "doc:APIContractProcessingData"
1711
1795
  ],
1712
- "apiContract:modelVersion": "3.7.0",
1796
+ "apiContract:modelVersion": "3.8.0",
1713
1797
  "doc:sourceSpec": "RAML 1.0"
1714
1798
  },
1715
1799
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@api-client/core",
3
3
  "description": "The API Client's core client library. Works in NodeJS and in a ES enabled browser.",
4
- "version": "0.8.2",
4
+ "version": "0.8.4",
5
5
  "license": "Apache-2.0",
6
6
  "main": "build/index.js",
7
7
  "module": "build/index.js",
@@ -38,8 +38,8 @@
38
38
  "@typescript-eslint/eslint-plugin": "^5.12.0",
39
39
  "@typescript-eslint/parser": "^5.12.0",
40
40
  "@web/dev-server-esbuild": "^0.3.0",
41
- "@web/test-runner": "^0.14.0",
42
- "@web/test-runner-playwright": "^0.8.8",
41
+ "@web/test-runner": "^0.15.0",
42
+ "@web/test-runner-playwright": "^0.9.0",
43
43
  "amf-client-js": "^5.1.0",
44
44
  "chai": "^4.3.4",
45
45
  "chai-as-promised": "^7.1.1",