@api-client/core 0.14.9 → 0.15.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 (110) hide show
  1. package/RELEASE.md +163 -0
  2. package/RELEASE_SETUP.md +235 -0
  3. package/build/src/events/authorization/AuthorizationEvents.d.ts +1 -1
  4. package/build/src/events/authorization/AuthorizationEvents.d.ts.map +1 -1
  5. package/build/src/events/authorization/AuthorizationEvents.js +1 -1
  6. package/build/src/events/authorization/AuthorizationEvents.js.map +1 -1
  7. package/build/src/events/cookies/CookieEvents.d.ts +1 -1
  8. package/build/src/events/cookies/CookieEvents.d.ts.map +1 -1
  9. package/build/src/events/cookies/CookieEvents.js +1 -1
  10. package/build/src/events/cookies/CookieEvents.js.map +1 -1
  11. package/build/src/modeling/DataDomain.d.ts +45 -3
  12. package/build/src/modeling/DataDomain.d.ts.map +1 -1
  13. package/build/src/modeling/DataDomain.js +81 -3
  14. package/build/src/modeling/DataDomain.js.map +1 -1
  15. package/build/src/modeling/DomainElement.d.ts +7 -0
  16. package/build/src/modeling/DomainElement.d.ts.map +1 -1
  17. package/build/src/modeling/DomainElement.js +14 -0
  18. package/build/src/modeling/DomainElement.js.map +1 -1
  19. package/build/src/modeling/DomainImpactAnalysis.d.ts +22 -119
  20. package/build/src/modeling/DomainImpactAnalysis.d.ts.map +1 -1
  21. package/build/src/modeling/DomainImpactAnalysis.js +49 -155
  22. package/build/src/modeling/DomainImpactAnalysis.js.map +1 -1
  23. package/build/src/modeling/DomainValidation.d.ts +8 -0
  24. package/build/src/modeling/DomainValidation.d.ts.map +1 -0
  25. package/build/src/modeling/DomainValidation.js +99 -0
  26. package/build/src/modeling/DomainValidation.js.map +1 -0
  27. package/build/src/modeling/types.d.ts +70 -0
  28. package/build/src/modeling/types.d.ts.map +1 -1
  29. package/build/src/modeling/types.js.map +1 -1
  30. package/build/src/modeling/validation/entity_validation.js +1 -1
  31. package/build/src/modeling/validation/entity_validation.js.map +1 -1
  32. package/build/src/modeling/validation/rules.d.ts +2 -3
  33. package/build/src/modeling/validation/rules.d.ts.map +1 -1
  34. package/build/src/modeling/validation/rules.js.map +1 -1
  35. package/build/src/modeling/validation/semantic_validation.d.ts +31 -0
  36. package/build/src/modeling/validation/semantic_validation.d.ts.map +1 -0
  37. package/build/src/modeling/validation/semantic_validation.js +126 -0
  38. package/build/src/modeling/validation/semantic_validation.js.map +1 -0
  39. package/build/tsconfig.tsbuildinfo +1 -1
  40. package/data/models/example-generator-api.json +12 -12
  41. package/noop.ts +3 -0
  42. package/package.json +9 -4
  43. package/src/events/authorization/AuthorizationEvents.ts +1 -1
  44. package/src/events/cookies/CookieEvents.ts +1 -1
  45. package/src/modeling/DataDomain.ts +84 -3
  46. package/src/modeling/DomainElement.ts +16 -0
  47. package/src/modeling/DomainImpactAnalysis.ts +54 -239
  48. package/src/modeling/DomainValidation.ts +105 -0
  49. package/src/modeling/types.ts +86 -0
  50. package/src/modeling/validation/entity_validation.ts +1 -1
  51. package/src/modeling/validation/rules.ts +2 -4
  52. package/src/modeling/validation/semantic_validation.ts +145 -0
  53. package/tests/unit/events/EventsTestHelpers.ts +16 -0
  54. package/tests/unit/events/amf.spec.ts +151 -0
  55. package/tests/unit/events/authorization.spec.ts +150 -0
  56. package/tests/unit/events/cookie.spec.ts +274 -0
  57. package/tests/unit/events/encryption.spec.ts +108 -0
  58. package/tests/unit/events/events_polyfills.ts +77 -0
  59. package/tests/unit/events/process.spec.ts +120 -0
  60. package/tests/unit/events/reporting.spec.ts +82 -0
  61. package/tests/unit/events/telemetry.spec.ts +224 -0
  62. package/tests/unit/events/transport.spec.ts +139 -0
  63. package/tests/unit/modeling/data_domain_foreign.spec.ts +244 -0
  64. package/tests/unit/modeling/domain_impact_analysis.spec.ts +0 -110
  65. package/tests/unit/modeling/domain_validation.spec.ts +94 -0
  66. package/tests/unit/modeling/validation/semantic_validation.spec.ts +91 -0
  67. package/tests/unit/models/environment.spec.ts +574 -0
  68. package/tests/unit/models/error_response.spec.ts +183 -0
  69. package/tests/unit/models/headers_array.spec.ts +86 -0
  70. package/tests/unit/models/http-actions/assertion/equal_assertion.spec.ts +103 -0
  71. package/tests/unit/models/http-actions/assertion/greater_than_assertion.spec.ts +91 -0
  72. package/tests/unit/models/http-actions/assertion/includes_assertion.spec.ts +71 -0
  73. package/tests/unit/models/http-actions/assertion/less_than_assertion.spec.ts +91 -0
  74. package/tests/unit/models/http-actions/assertion/matches_assertion.spec.ts +71 -0
  75. package/tests/unit/models/http-actions/assertion/matches_schema_assertion.spec.ts +117 -0
  76. package/tests/unit/models/http-actions/assertion/not_equal_assertion.spec.ts +103 -0
  77. package/tests/unit/models/http-actions/assertion/not_includes_assertion.spec.ts +71 -0
  78. package/tests/unit/models/http-actions/assertion/not_ok_assertion.spec.ts +47 -0
  79. package/tests/unit/models/http-actions/assertion/not_to_be_assertion.spec.ts +72 -0
  80. package/tests/unit/models/http-actions/assertion/ok_assertion.spec.ts +44 -0
  81. package/tests/unit/models/http-actions/assertion/to_be_assertion.spec.ts +71 -0
  82. package/tests/unit/models/http-actions/transformation/as_lower_case_step.spec.ts +47 -0
  83. package/tests/unit/models/http-actions/transformation/as_number_step.spec.ts +47 -0
  84. package/tests/unit/models/http-actions/transformation/as_upper_case_step.spec.ts +47 -0
  85. package/tests/unit/models/http-actions/transformation/round_step.spec.ts +69 -0
  86. package/tests/unit/models/http-actions/transformation/substring_step.spec.ts +85 -0
  87. package/tests/unit/models/http-actions/transformation/trim_step.spec.ts +44 -0
  88. package/tests/unit/models/http_cookie.spec.ts +516 -0
  89. package/tests/unit/models/http_history.spec.ts +443 -0
  90. package/tests/unit/models/project_folder.spec.ts +926 -0
  91. package/tests/unit/models/project_item.spec.ts +137 -0
  92. package/tests/unit/models/project_request.spec.ts +1047 -0
  93. package/tests/unit/models/project_schema.spec.ts +236 -0
  94. package/tests/unit/models/property.spec.ts +625 -0
  95. package/tests/unit/models/provider.spec.ts +102 -0
  96. package/tests/unit/models/request.spec.ts +1206 -0
  97. package/tests/unit/models/request_log.spec.ts +308 -0
  98. package/tests/unit/models/request_time.spec.ts +138 -0
  99. package/tests/unit/models/response_redirect.spec.ts +303 -0
  100. package/tests/unit/models/sent_request.spec.ts +206 -0
  101. package/tests/unit/models/server.spec.ts +195 -0
  102. package/tests/unit/models/thing.spec.ts +154 -0
  103. package/build/oauth-popup.html +0 -33
  104. /package/tests/unit/models/{Certificate.spec.ts → certificate.spec.ts} +0 -0
  105. /package/tests/unit/models/{HostRule.spec.ts → host_rule.spec.ts} +0 -0
  106. /package/tests/unit/models/{HttpProject.spec.ts → http_project.spec.ts} +0 -0
  107. /package/tests/unit/models/{HttpRequest.spec.ts → http_request.spec.ts} +0 -0
  108. /package/tests/unit/models/{HttpResponse.spec.ts → http_response.spec.ts} +0 -0
  109. /package/tests/unit/models/{License.spec.ts → license.spec.ts} +0 -0
  110. /package/tests/unit/models/{Response.spec.ts → response.spec.ts} +0 -0
@@ -0,0 +1,126 @@
1
+ import { DomainEntityKind } from '../../models/kinds.js';
2
+ import { SemanticType } from '../Semantics.js';
3
+ /**
4
+ * SemanticValidation is a class that performs validation on semantics in a data domain.
5
+ * It checks for required and recommended semantics in entities, properties, and associations.
6
+ */
7
+ export class SemanticValidation {
8
+ domain;
9
+ constructor(domain) {
10
+ this.domain = domain;
11
+ }
12
+ /**
13
+ * Performs all the semantic validation rules on the domain.
14
+ * @returns The list of validation messages.
15
+ */
16
+ validate() {
17
+ const results = [];
18
+ // Check for User entity semantic
19
+ const hasUserEntity = this.validateUserEntity();
20
+ results.push(...hasUserEntity);
21
+ // Check for timestamp semantics
22
+ const timestampSemantics = this.validateTimestampSemantics();
23
+ results.push(...timestampSemantics);
24
+ // Check for soft delete semantics
25
+ const softDeleteSemantics = this.validateSoftDeleteSemantics();
26
+ results.push(...softDeleteSemantics);
27
+ return results;
28
+ }
29
+ /**
30
+ * Validates if there is at least one entity with the User semantic.
31
+ * This is a recommended semantic for authentication purposes.
32
+ */
33
+ validateUserEntity() {
34
+ const results = [];
35
+ let hasUserEntity = false;
36
+ for (const entity of this.domain.listEntities()) {
37
+ if (entity.hasSemantic(SemanticType.User)) {
38
+ hasUserEntity = true;
39
+ break;
40
+ }
41
+ }
42
+ if (!hasUserEntity) {
43
+ results.push({
44
+ field: 'semantics',
45
+ rule: 'recommended',
46
+ message: 'No entity with User taxonomy found in the domain.',
47
+ help: 'It is recommended to have at least one entity with the User taxonomy for authentication purposes.',
48
+ severity: 'warning',
49
+ key: 'user_semantic',
50
+ kind: DomainEntityKind,
51
+ });
52
+ }
53
+ return results;
54
+ }
55
+ /**
56
+ * Validates if entities have the recommended timestamp semantics.
57
+ * This includes CreatedTimestamp and UpdatedTimestamp.
58
+ */
59
+ validateTimestampSemantics() {
60
+ const results = [];
61
+ for (const entity of this.domain.listEntities()) {
62
+ let hasCreatedTimestamp = false;
63
+ let hasUpdatedTimestamp = false;
64
+ for (const property of entity.listProperties()) {
65
+ if (property.hasSemantic(SemanticType.CreatedTimestamp)) {
66
+ hasCreatedTimestamp = true;
67
+ }
68
+ if (property.hasSemantic(SemanticType.UpdatedTimestamp)) {
69
+ hasUpdatedTimestamp = true;
70
+ }
71
+ }
72
+ if (!hasCreatedTimestamp) {
73
+ results.push({
74
+ field: 'semantics',
75
+ rule: 'recommended',
76
+ message: `The "${entity.info.getLabel()}" entity does not have a CreatedTimestamp taxonomy.`,
77
+ help: 'It is recommended to have a CreatedTimestamp property to track when the entity was created.',
78
+ severity: 'info',
79
+ key: entity.key,
80
+ kind: entity.kind,
81
+ });
82
+ }
83
+ if (!hasUpdatedTimestamp) {
84
+ results.push({
85
+ field: 'semantics',
86
+ rule: 'recommended',
87
+ message: `The "${entity.info.getLabel()}" entity does not have an UpdatedTimestamp taxonomy.`,
88
+ help: 'It is recommended to have an UpdatedTimestamp property to track when the entity was last modified.',
89
+ severity: 'info',
90
+ key: entity.key,
91
+ kind: entity.kind,
92
+ });
93
+ }
94
+ }
95
+ return results;
96
+ }
97
+ /**
98
+ * Validates if entities have the recommended soft delete semantics.
99
+ * This includes either DeletedTimestamp or DeletedFlag.
100
+ */
101
+ validateSoftDeleteSemantics() {
102
+ const results = [];
103
+ for (const entity of this.domain.listEntities()) {
104
+ let hasSoftDelete = false;
105
+ for (const property of entity.listProperties()) {
106
+ if (property.hasSemantic(SemanticType.DeletedTimestamp) || property.hasSemantic(SemanticType.DeletedFlag)) {
107
+ hasSoftDelete = true;
108
+ break;
109
+ }
110
+ }
111
+ if (!hasSoftDelete) {
112
+ results.push({
113
+ field: 'semantics',
114
+ rule: 'recommended',
115
+ message: `The "${entity.info.getLabel()}" entity does not have soft delete taxonomy.`,
116
+ help: 'It is recommended to have either a DeletedTimestamp or DeletedFlag property for soft deletion.',
117
+ severity: 'info',
118
+ key: entity.key,
119
+ kind: entity.kind,
120
+ });
121
+ }
122
+ }
123
+ return results;
124
+ }
125
+ }
126
+ //# sourceMappingURL=semantic_validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semantic_validation.js","sourceRoot":"","sources":["../../../../src/modeling/validation/semantic_validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAG9C;;;GAGG;AACH,MAAM,OAAO,kBAAkB;IACP;IAAtB,YAAsB,MAAkB;QAAlB,WAAM,GAAN,MAAM,CAAY;IAAG,CAAC;IAE5C;;;OAGG;IACH,QAAQ;QACN,MAAM,OAAO,GAAuB,EAAE,CAAA;QAEtC,iCAAiC;QACjC,MAAM,aAAa,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAA;QAC/C,OAAO,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAA;QAE9B,gCAAgC;QAChC,MAAM,kBAAkB,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAA;QAC5D,OAAO,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAA;QAEnC,kCAAkC;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AC;oBAC1G,aAAa,GAAG,IAAI,CAAA;oBACpB,MAAK;gBACP,CAAC;YACH,CAAC;YAED,IAAI,CAAC,aAAa,EAAE,CAAC;gBACnB,OAAO,CAAC,IAAI,CAAC;oBACX,KAAK,EAAE,WAAW;oBAClB,IAAI,EAAE,aAAa;oBACnB,OAAO,EAAE,QAAQ,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,8CAA8C;oBACrF,IAAI,EAAE,gGAAgG;oBACtG,QAAQ,EAAE,MAAM;oBAChB,GAAG,EAAE,MAAM,CAAC,GAAG;oBACf,IAAI,EAAE,MAAM,CAAC,IAAI;iBAClB,CAAC,CAAA;YACJ,CAAC;QACH,CAAC;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CACF","sourcesContent":["import { DomainEntityKind } from '../../models/kinds.js'\nimport type { DataDomain } from '../DataDomain.js'\nimport { SemanticType } from '../Semantics.js'\nimport type { DomainValidation } from './rules.js'\n\n/**\n * SemanticValidation is a class that performs validation on semantics in a data domain.\n * It checks for required and recommended semantics in entities, properties, and associations.\n */\nexport class SemanticValidation {\n constructor(protected domain: DataDomain) {}\n\n /**\n * Performs all the semantic validation rules on the domain.\n * @returns The list of validation messages.\n */\n validate(): DomainValidation[] {\n const results: DomainValidation[] = []\n\n // Check for User entity semantic\n const hasUserEntity = this.validateUserEntity()\n results.push(...hasUserEntity)\n\n // Check for timestamp semantics\n const timestampSemantics = this.validateTimestampSemantics()\n results.push(...timestampSemantics)\n\n // Check for soft delete semantics\n const softDeleteSemantics = this.validateSoftDeleteSemantics()\n results.push(...softDeleteSemantics)\n\n return results\n }\n\n /**\n * Validates if there is at least one entity with the User semantic.\n * This is a recommended semantic for authentication purposes.\n */\n private validateUserEntity(): DomainValidation[] {\n const results: DomainValidation[] = []\n let hasUserEntity = false\n\n for (const entity of this.domain.listEntities()) {\n if (entity.hasSemantic(SemanticType.User)) {\n hasUserEntity = true\n break\n }\n }\n\n if (!hasUserEntity) {\n results.push({\n field: 'semantics',\n rule: 'recommended',\n message: 'No entity with User taxonomy found in the domain.',\n help: 'It is recommended to have at least one entity with the User taxonomy for authentication purposes.',\n severity: 'warning',\n key: 'user_semantic',\n kind: DomainEntityKind,\n })\n }\n\n return results\n }\n\n /**\n * Validates if entities have the recommended timestamp semantics.\n * This includes CreatedTimestamp and UpdatedTimestamp.\n */\n private validateTimestampSemantics(): DomainValidation[] {\n const results: DomainValidation[] = []\n\n for (const entity of this.domain.listEntities()) {\n let hasCreatedTimestamp = false\n let hasUpdatedTimestamp = false\n\n for (const property of entity.listProperties()) {\n if (property.hasSemantic(SemanticType.CreatedTimestamp)) {\n hasCreatedTimestamp = true\n }\n if (property.hasSemantic(SemanticType.UpdatedTimestamp)) {\n hasUpdatedTimestamp = true\n }\n }\n\n if (!hasCreatedTimestamp) {\n results.push({\n field: 'semantics',\n rule: 'recommended',\n message: `The \"${entity.info.getLabel()}\" entity does not have a CreatedTimestamp taxonomy.`,\n help: 'It is recommended to have a CreatedTimestamp property to track when the entity was created.',\n severity: 'info',\n key: entity.key,\n kind: entity.kind,\n })\n }\n\n if (!hasUpdatedTimestamp) {\n results.push({\n field: 'semantics',\n rule: 'recommended',\n message: `The \"${entity.info.getLabel()}\" entity does not have an UpdatedTimestamp taxonomy.`,\n help: 'It is recommended to have an UpdatedTimestamp property to track when the entity was last modified.',\n severity: 'info',\n key: entity.key,\n kind: entity.kind,\n })\n }\n }\n\n return results\n }\n\n /**\n * Validates if entities have the recommended soft delete semantics.\n * This includes either DeletedTimestamp or DeletedFlag.\n */\n private validateSoftDeleteSemantics(): DomainValidation[] {\n const results: DomainValidation[] = []\n\n for (const entity of this.domain.listEntities()) {\n let hasSoftDelete = false\n\n for (const property of entity.listProperties()) {\n if (property.hasSemantic(SemanticType.DeletedTimestamp) || property.hasSemantic(SemanticType.DeletedFlag)) {\n hasSoftDelete = true\n break\n }\n }\n\n if (!hasSoftDelete) {\n results.push({\n field: 'semantics',\n rule: 'recommended',\n message: `The \"${entity.info.getLabel()}\" entity does not have soft delete taxonomy.`,\n help: 'It is recommended to have either a DeletedTimestamp or DeletedFlag property for soft deletion.',\n severity: 'info',\n key: entity.key,\n kind: entity.kind,\n })\n }\n }\n\n return results\n }\n}\n"]}