@carlonicora/nestjs-neo4jsonapi 1.76.0 → 1.77.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 (136) hide show
  1. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.d.ts.map +1 -1
  2. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js +7 -0
  3. package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js.map +1 -1
  4. package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts +1 -0
  5. package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts.map +1 -1
  6. package/dist/agents/contextualiser/nodes/chunk.node.service.js +10 -2
  7. package/dist/agents/contextualiser/nodes/chunk.node.service.js.map +1 -1
  8. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts +1 -0
  9. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts.map +1 -1
  10. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js +12 -2
  11. package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js.map +1 -1
  12. package/dist/agents/contextualiser/services/contextualiser.service.d.ts +1 -0
  13. package/dist/agents/contextualiser/services/contextualiser.service.d.ts.map +1 -1
  14. package/dist/agents/contextualiser/services/contextualiser.service.js +14 -2
  15. package/dist/agents/contextualiser/services/contextualiser.service.js.map +1 -1
  16. package/dist/agents/responder/nodes/responder.answer.node.service.d.ts.map +1 -1
  17. package/dist/agents/responder/nodes/responder.answer.node.service.js +4 -0
  18. package/dist/agents/responder/nodes/responder.answer.node.service.js.map +1 -1
  19. package/dist/agents/responder/services/responder.service.d.ts.map +1 -1
  20. package/dist/agents/responder/services/responder.service.js +68 -48
  21. package/dist/agents/responder/services/responder.service.js.map +1 -1
  22. package/dist/bootstrap/app.module.factory.d.ts.map +1 -1
  23. package/dist/bootstrap/app.module.factory.js +5 -0
  24. package/dist/bootstrap/app.module.factory.js.map +1 -1
  25. package/dist/bootstrap/bootstrap.options.d.ts +9 -0
  26. package/dist/bootstrap/bootstrap.options.d.ts.map +1 -1
  27. package/dist/common/types/data.limits.d.ts +6 -1
  28. package/dist/common/types/data.limits.d.ts.map +1 -1
  29. package/dist/core/redis/redis.module.d.ts.map +1 -1
  30. package/dist/core/redis/redis.module.js +3 -2
  31. package/dist/core/redis/redis.module.js.map +1 -1
  32. package/dist/core/redis/services/redis.lock.service.d.ts +13 -0
  33. package/dist/core/redis/services/redis.lock.service.d.ts.map +1 -0
  34. package/dist/core/redis/services/redis.lock.service.js +57 -0
  35. package/dist/core/redis/services/redis.lock.service.js.map +1 -0
  36. package/dist/foundations/assistant/controllers/assistant.controller.d.ts.map +1 -1
  37. package/dist/foundations/assistant/controllers/assistant.controller.js +11 -6
  38. package/dist/foundations/assistant/controllers/assistant.controller.js.map +1 -1
  39. package/dist/foundations/assistant/dtos/assistant-append.dto.d.ts +2 -0
  40. package/dist/foundations/assistant/dtos/assistant-append.dto.d.ts.map +1 -1
  41. package/dist/foundations/assistant/dtos/assistant-append.dto.js +10 -0
  42. package/dist/foundations/assistant/dtos/assistant-append.dto.js.map +1 -1
  43. package/dist/foundations/assistant/dtos/assistant-post.dto.d.ts +2 -0
  44. package/dist/foundations/assistant/dtos/assistant-post.dto.d.ts.map +1 -1
  45. package/dist/foundations/assistant/dtos/assistant-post.dto.js +10 -0
  46. package/dist/foundations/assistant/dtos/assistant-post.dto.js.map +1 -1
  47. package/dist/foundations/assistant/services/assistant.service.d.ts +4 -0
  48. package/dist/foundations/assistant/services/assistant.service.d.ts.map +1 -1
  49. package/dist/foundations/assistant/services/assistant.service.js +8 -1
  50. package/dist/foundations/assistant/services/assistant.service.js.map +1 -1
  51. package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts +7 -0
  52. package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts.map +1 -1
  53. package/dist/foundations/atomicfact/repositories/atomicfact.repository.js +36 -3
  54. package/dist/foundations/atomicfact/repositories/atomicfact.repository.js.map +1 -1
  55. package/dist/foundations/chunk/repositories/chunk.repository.d.ts +7 -0
  56. package/dist/foundations/chunk/repositories/chunk.repository.d.ts.map +1 -1
  57. package/dist/foundations/chunk/repositories/chunk.repository.js +43 -9
  58. package/dist/foundations/chunk/repositories/chunk.repository.js.map +1 -1
  59. package/dist/foundations/chunk/services/chunk.service.js +1 -1
  60. package/dist/foundations/chunk/services/chunk.service.js.map +1 -1
  61. package/dist/foundations/help-content-sync/help-content-sync.module.d.ts +6 -0
  62. package/dist/foundations/help-content-sync/help-content-sync.module.d.ts.map +1 -0
  63. package/dist/foundations/help-content-sync/help-content-sync.module.js +35 -0
  64. package/dist/foundations/help-content-sync/help-content-sync.module.js.map +1 -0
  65. package/dist/foundations/help-content-sync/helpers/create-help-content-reader.d.ts +5 -0
  66. package/dist/foundations/help-content-sync/helpers/create-help-content-reader.d.ts.map +1 -0
  67. package/dist/foundations/help-content-sync/helpers/create-help-content-reader.js +9 -0
  68. package/dist/foundations/help-content-sync/helpers/create-help-content-reader.js.map +1 -0
  69. package/dist/foundations/help-content-sync/helpers/to-content-id.d.ts +3 -0
  70. package/dist/foundations/help-content-sync/helpers/to-content-id.d.ts.map +1 -0
  71. package/dist/foundations/help-content-sync/helpers/to-content-id.js +8 -0
  72. package/dist/foundations/help-content-sync/helpers/to-content-id.js.map +1 -0
  73. package/dist/foundations/help-content-sync/index.d.ts +7 -0
  74. package/dist/foundations/help-content-sync/index.d.ts.map +1 -0
  75. package/dist/foundations/help-content-sync/index.js +28 -0
  76. package/dist/foundations/help-content-sync/index.js.map +1 -0
  77. package/dist/foundations/help-content-sync/interfaces/help-article.interface.d.ts +29 -0
  78. package/dist/foundations/help-content-sync/interfaces/help-article.interface.d.ts.map +1 -0
  79. package/dist/foundations/help-content-sync/interfaces/help-article.interface.js +5 -0
  80. package/dist/foundations/help-content-sync/interfaces/help-article.interface.js.map +1 -0
  81. package/dist/foundations/help-content-sync/interfaces/help-content-config.interface.d.ts +8 -0
  82. package/dist/foundations/help-content-sync/interfaces/help-content-config.interface.d.ts.map +1 -0
  83. package/dist/foundations/help-content-sync/interfaces/help-content-config.interface.js +3 -0
  84. package/dist/foundations/help-content-sync/interfaces/help-content-config.interface.js.map +1 -0
  85. package/dist/foundations/help-content-sync/schema/frontmatter.schema.d.ts +19 -0
  86. package/dist/foundations/help-content-sync/schema/frontmatter.schema.d.ts.map +1 -0
  87. package/dist/foundations/help-content-sync/schema/frontmatter.schema.js +20 -0
  88. package/dist/foundations/help-content-sync/schema/frontmatter.schema.js.map +1 -0
  89. package/dist/foundations/help-content-sync/services/help-content-sync.service.d.ts +21 -0
  90. package/dist/foundations/help-content-sync/services/help-content-sync.service.d.ts.map +1 -0
  91. package/dist/foundations/help-content-sync/services/help-content-sync.service.js +111 -0
  92. package/dist/foundations/help-content-sync/services/help-content-sync.service.js.map +1 -0
  93. package/dist/foundations/help-content-sync/services/mdx-to-markdown.service.d.ts +13 -0
  94. package/dist/foundations/help-content-sync/services/mdx-to-markdown.service.d.ts.map +1 -0
  95. package/dist/foundations/help-content-sync/services/mdx-to-markdown.service.js +104 -0
  96. package/dist/foundations/help-content-sync/services/mdx-to-markdown.service.js.map +1 -0
  97. package/dist/foundations/help-content-sync/tokens.d.ts +2 -0
  98. package/dist/foundations/help-content-sync/tokens.d.ts.map +1 -0
  99. package/dist/foundations/help-content-sync/tokens.js +5 -0
  100. package/dist/foundations/help-content-sync/tokens.js.map +1 -0
  101. package/dist/foundations/how-to/entities/how-to.d.ts +2 -0
  102. package/dist/foundations/how-to/entities/how-to.d.ts.map +1 -1
  103. package/dist/foundations/how-to/entities/how-to.js +2 -0
  104. package/dist/foundations/how-to/entities/how-to.js.map +1 -1
  105. package/dist/foundations/how-to/repositories/how-to.repository.d.ts +6 -0
  106. package/dist/foundations/how-to/repositories/how-to.repository.d.ts.map +1 -1
  107. package/dist/foundations/how-to/repositories/how-to.repository.js +14 -0
  108. package/dist/foundations/how-to/repositories/how-to.repository.js.map +1 -1
  109. package/dist/foundations/how-to/services/how-to.service.d.ts +13 -1
  110. package/dist/foundations/how-to/services/how-to.service.d.ts.map +1 -1
  111. package/dist/foundations/how-to/services/how-to.service.js +16 -2
  112. package/dist/foundations/how-to/services/how-to.service.js.map +1 -1
  113. package/dist/foundations/index.d.ts +1 -0
  114. package/dist/foundations/index.d.ts.map +1 -1
  115. package/dist/foundations/index.js +1 -0
  116. package/dist/foundations/index.js.map +1 -1
  117. package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts +15 -1
  118. package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts.map +1 -1
  119. package/dist/foundations/keyconcept/repositories/keyconcept.repository.js +121 -23
  120. package/dist/foundations/keyconcept/repositories/keyconcept.repository.js.map +1 -1
  121. package/dist/foundations/keyconcept/services/keyconcept.service.d.ts +1 -1
  122. package/dist/foundations/keyconcept/services/keyconcept.service.d.ts.map +1 -1
  123. package/dist/foundations/stripe/__tests__/mocks/stripe.mock.d.ts +62 -62
  124. package/dist/index.d.ts +1 -0
  125. package/dist/index.d.ts.map +1 -1
  126. package/dist/index.js +4 -0
  127. package/dist/index.js.map +1 -1
  128. package/dist/tools/help-content-build/build-manifest.d.ts +31 -0
  129. package/dist/tools/help-content-build/build-manifest.d.ts.map +1 -0
  130. package/dist/tools/help-content-build/build-manifest.js +134 -0
  131. package/dist/tools/help-content-build/build-manifest.js.map +1 -0
  132. package/dist/tools/help-content-build/index.d.ts +2 -0
  133. package/dist/tools/help-content-build/index.d.ts.map +1 -0
  134. package/dist/tools/help-content-build/index.js +6 -0
  135. package/dist/tools/help-content-build/index.js.map +1 -0
  136. package/package.json +15 -2
@@ -48,6 +48,11 @@ let KeyConceptRepository = class KeyConceptRepository {
48
48
  });
49
49
  }
50
50
  async findNeighboursByKeyConcepts(params) {
51
+ // SECURITY: HowTo retrieval intentionally bypasses company filtering.
52
+ // Dispatch to the private method so the bypass is visible and quarantined here.
53
+ if (params.dataLimits.howToMode || params.dataLimits.limitToHowToId) {
54
+ return this.findNeighboursByKeyConceptsFromHowTos(params);
55
+ }
51
56
  const query = this.neo4j.initQuery({ serialiser: key_concept_model_1.KeyConceptModel });
52
57
  query.queryParams = {
53
58
  ...query.queryParams,
@@ -55,7 +60,7 @@ let KeyConceptRepository = class KeyConceptRepository {
55
60
  };
56
61
  query.query += `
57
62
  MATCH (startingKeyConcept:KeyConcept)<-[:RELATES_TO]-(keyConceptRelationship:KeyConceptRelationship)-[:RELATES_TO]->(keyconcept:KeyConcept)
58
- WHERE startingKeyConcept.value IN $keyConcepts
63
+ WHERE startingKeyConcept.value IN $keyConcepts
59
64
  AND NOT keyconcept.value IN $keyConcepts
60
65
  AND NOT EXISTS {
61
66
  MATCH (startingKeyConcept)<-[:HAS_KEY_CONCEPT]-()<-[:HAS_ATOMIC_FACT]-()-[:HAS_ATOMIC_FACT]->()-[:HAS_KEY_CONCEPT]->(keyconcept)
@@ -79,7 +84,49 @@ let KeyConceptRepository = class KeyConceptRepository {
79
84
  `;
80
85
  return this.neo4j.readMany(query);
81
86
  }
87
+ /**
88
+ * Help-content retrieval. Intentionally bypasses company filtering — `(data:HowTo)`
89
+ * nodes are global and have no `BELONGS_TO Company` edge. Only callable from inside
90
+ * this repository; `findNeighboursByKeyConcepts` dispatches here based on
91
+ * `dataLimits.howToMode` / `dataLimits.limitToHowToId`.
92
+ */
93
+ async findNeighboursByKeyConceptsFromHowTos(params) {
94
+ const query = this.neo4j.initQuery({ serialiser: key_concept_model_1.KeyConceptModel });
95
+ query.queryParams = {
96
+ ...query.queryParams,
97
+ keyConcepts: params.keyConcepts,
98
+ ...(params.dataLimits.limitToHowToId ? { limitToHowToId: params.dataLimits.limitToHowToId } : {}),
99
+ };
100
+ const limitClause = params.dataLimits.limitToHowToId ? `WHERE data.id = $limitToHowToId` : "";
101
+ query.query += `
102
+ MATCH (data:HowTo)
103
+ ${limitClause}
104
+ WITH data
105
+ MATCH (startingKeyConcept:KeyConcept)<-[:RELATES_TO]-(keyConceptRelationship:KeyConceptRelationship)-[:RELATES_TO]->(keyconcept:KeyConcept)
106
+ WHERE startingKeyConcept.value IN $keyConcepts
107
+ AND NOT keyconcept.value IN $keyConcepts
108
+ AND NOT EXISTS {
109
+ MATCH (startingKeyConcept)<-[:HAS_KEY_CONCEPT]-()<-[:HAS_ATOMIC_FACT]-()-[:HAS_ATOMIC_FACT]->()-[:HAS_KEY_CONCEPT]->(keyconcept)
110
+ }
111
+ WITH keyconcept
112
+ WITH COLLECT(DISTINCT keyconcept.id) AS topicKeyConceptIds
113
+
114
+ CALL db.index.vector.queryNodes('keyconcepts', 1000, $queryEmbedding)
115
+ YIELD node AS candidateKeyConcept, score
116
+ WHERE candidateKeyConcept.id IN topicKeyConceptIds
117
+
118
+ RETURN candidateKeyConcept, score
119
+ ORDER BY score DESC
120
+ LIMIT 100
121
+ `;
122
+ return this.neo4j.readMany(query);
123
+ }
82
124
  async findPotentialKeyConcepts(params) {
125
+ // SECURITY: HowTo retrieval intentionally bypasses company filtering.
126
+ // Dispatch to the private method so the bypass is visible and quarantined here.
127
+ if (params.dataLimits.howToMode || params.dataLimits.limitToHowToId) {
128
+ return this.findPotentialKeyConceptsFromHowTos(params);
129
+ }
83
130
  const query = this.neo4j.initQuery({ serialiser: key_concept_model_1.KeyConceptModel });
84
131
  const queryEmbedding = await this.embedderService.vectoriseText({ text: params.question });
85
132
  query.queryParams = {
@@ -107,6 +154,38 @@ let KeyConceptRepository = class KeyConceptRepository {
107
154
  `;
108
155
  return this.neo4j.readMany(query);
109
156
  }
157
+ /**
158
+ * Help-content retrieval. Intentionally bypasses company filtering — `(data:HowTo)`
159
+ * nodes are global and have no `BELONGS_TO Company` edge. Only callable from inside
160
+ * this repository; `findPotentialKeyConcepts` dispatches here based on
161
+ * `dataLimits.howToMode` / `dataLimits.limitToHowToId`.
162
+ */
163
+ async findPotentialKeyConceptsFromHowTos(params) {
164
+ const query = this.neo4j.initQuery({ serialiser: key_concept_model_1.KeyConceptModel });
165
+ const queryEmbedding = await this.embedderService.vectoriseText({ text: params.question });
166
+ query.queryParams = {
167
+ ...query.queryParams,
168
+ queryEmbedding,
169
+ ...(params.dataLimits.limitToHowToId ? { limitToHowToId: params.dataLimits.limitToHowToId } : {}),
170
+ };
171
+ const limitClause = params.dataLimits.limitToHowToId ? `WHERE data.id = $limitToHowToId` : "";
172
+ query.query += `
173
+ MATCH (data:HowTo)
174
+ ${limitClause}
175
+ WITH data
176
+ MATCH (data)-[:HAS_CHUNK]->()-[:HAS_ATOMIC_FACT]->()-[:HAS_KEY_CONCEPT]->(keyconcept:KeyConcept)
177
+ WITH COLLECT(DISTINCT keyconcept.id) AS topicKeyConceptIds
178
+
179
+ CALL db.index.vector.queryNodes('keyconcepts', 1000, $queryEmbedding)
180
+ YIELD node AS candidateKeyConcept, score
181
+ WHERE candidateKeyConcept.id IN topicKeyConceptIds
182
+
183
+ RETURN candidateKeyConcept as ${key_concept_meta_1.keyConceptMeta.nodeName}, score
184
+ ORDER BY score DESC
185
+ LIMIT 100
186
+ `;
187
+ return this.neo4j.readMany(query);
188
+ }
110
189
  //TODO: Change the implementation to remove key Concepts that are not connected to any atomic fact (but they can be connected to KeyConceptRelationships)
111
190
  async deleteDisconnectedKeyConcepts() {
112
191
  const query = this.neo4j.initQuery();
@@ -134,7 +213,7 @@ let KeyConceptRepository = class KeyConceptRepository {
134
213
  keyConceptValue: params.keyConceptValue,
135
214
  };
136
215
  query.query = `
137
- MATCH (company)<-[:BELONGS_TO]-()-[:HAS_CHUNK]->()-[:HAS_ATOMIC_FACT]->()-[:HAS_KEY_CONCEPT]->(keyconcept:KeyConcept {value: $keyConceptValue})
216
+ MATCH (keyconcept:KeyConcept {value: $keyConceptValue})
138
217
  RETURN keyconcept
139
218
  `;
140
219
  return this.neo4j.readOne(query);
@@ -242,25 +321,45 @@ let KeyConceptRepository = class KeyConceptRepository {
242
321
  try {
243
322
  const sortedKeys = [relationship.keyConcept1, relationship.keyConcept2].sort();
244
323
  const query = this.neo4j.initQuery();
245
- query.queryParams = {
246
- companyId: params.companyId,
247
- chunkId: params.chunkId,
248
- sortedKey1: sortedKeys[0],
249
- sortedKey2: sortedKeys[1],
250
- };
251
- query.query = `
252
- MATCH (company:Company {id: $companyId})
253
- MATCH (keyConcept1:KeyConcept {value: $sortedKey1})
254
- MATCH (keyConcept2:KeyConcept {value: $sortedKey2})
255
- MATCH (chunk:Chunk {id: $chunkId})
256
- MERGE (rel:KeyConceptRelationship {key1: $sortedKey1, key2: $sortedKey2})
257
- ON CREATE SET rel.weight = 1
258
- ON MATCH SET rel.weight = rel.weight + 1
259
- MERGE (rel)-[:BELONGS_TO]->(company)
260
- MERGE (rel)-[:RELATES_TO]->(keyConcept1)
261
- MERGE (rel)-[:RELATES_TO]->(keyConcept2)
262
- MERGE (rel)-[:OCCURS_IN]->(chunk)
263
- `;
324
+ if (params.companyId) {
325
+ query.queryParams = {
326
+ companyId: params.companyId,
327
+ chunkId: params.chunkId,
328
+ sortedKey1: sortedKeys[0],
329
+ sortedKey2: sortedKeys[1],
330
+ };
331
+ query.query = `
332
+ MATCH (company:Company {id: $companyId})
333
+ MATCH (keyConcept1:KeyConcept {value: $sortedKey1})
334
+ MATCH (keyConcept2:KeyConcept {value: $sortedKey2})
335
+ MATCH (chunk:Chunk {id: $chunkId})
336
+ MERGE (rel:KeyConceptRelationship {key1: $sortedKey1, key2: $sortedKey2})
337
+ ON CREATE SET rel.weight = 1
338
+ ON MATCH SET rel.weight = rel.weight + 1
339
+ MERGE (rel)-[:BELONGS_TO]->(company)
340
+ MERGE (rel)-[:RELATES_TO]->(keyConcept1)
341
+ MERGE (rel)-[:RELATES_TO]->(keyConcept2)
342
+ MERGE (rel)-[:OCCURS_IN]->(chunk)
343
+ `;
344
+ }
345
+ else {
346
+ query.queryParams = {
347
+ chunkId: params.chunkId,
348
+ sortedKey1: sortedKeys[0],
349
+ sortedKey2: sortedKeys[1],
350
+ };
351
+ query.query = `
352
+ MATCH (keyConcept1:KeyConcept {value: $sortedKey1})
353
+ MATCH (keyConcept2:KeyConcept {value: $sortedKey2})
354
+ MATCH (chunk:Chunk {id: $chunkId})
355
+ MERGE (rel:KeyConceptRelationship {key1: $sortedKey1, key2: $sortedKey2})
356
+ ON CREATE SET rel.weight = 1
357
+ ON MATCH SET rel.weight = rel.weight + 1
358
+ MERGE (rel)-[:RELATES_TO]->(keyConcept1)
359
+ MERGE (rel)-[:RELATES_TO]->(keyConcept2)
360
+ MERGE (rel)-[:OCCURS_IN]->(chunk)
361
+ `;
362
+ }
264
363
  await this.neo4j.writeOne(query);
265
364
  }
266
365
  catch (error) {
@@ -285,8 +384,7 @@ let KeyConceptRepository = class KeyConceptRepository {
285
384
  chunkId: params.chunkId,
286
385
  };
287
386
  query.query += `
288
- MATCH (rel:KeyConceptRelationship)-[:BELONGS_TO]->(company)
289
- MATCH (rel)-[occursIn:OCCURS_IN]->(chunk:Chunk {id: $chunkId})
387
+ MATCH (rel:KeyConceptRelationship)-[occursIn:OCCURS_IN]->(chunk:Chunk {id: $chunkId})
290
388
  SET rel.weight = rel.weight - 1
291
389
  DELETE occursIn
292
390
  WITH rel
@@ -1 +1 @@
1
- {"version":3,"file":"keyconcept.repository.js","sourceRoot":"","sources":["../../../../src/foundations/keyconcept/repositories/keyconcept.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA0D;AAC1D,mCAAoC;AACpC,2CAAwC;AACxC,kFAA6E;AAE7E,wCAA8D;AAC9D,8EAA0E;AAC1E,uFAAmF;AAEnF,iFAA4E;AAC5E,mFAA8E;AAGvE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,KAAmB,EACnB,eAAgC,EAChC,YAA0B,EAC1B,eAAgC,EAChC,UAAsB;QAJtB,UAAK,GAAL,KAAK,CAAc;QACnB,oBAAe,GAAf,eAAe,CAAiB;QAChC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,oBAAe,GAAf,eAAe,CAAiB;QAChC,eAAU,GAAV,UAAU,CAAY;IACtC,CAAC;IAEJ,KAAK,CAAC,Y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C,CAAC;QAChD,CAAC;QAED,MAAM,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,kDAAkD,CAAC,MAA2B;QAClF,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;QAErC,KAAK,CAAC,WAAW,GAAG;YAClB,GAAG,KAAK,CAAC,WAAW;YACpB,OAAO,EAAE,MAAM,CAAC,OAAO;SACxB,CAAC;QAEF,KAAK,CAAC,KAAK,IAAI;;;;;;;;;;KAUd,CAAC;QAEF,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;CACF,CAAA;AAhWY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAGe,4BAAY;QACF,sBAAe;QAClB,mBAAY;QACT,kCAAe;QACpB,uBAAU;GAN9B,oBAAoB,CAgWhC"}
1
+ {"version":3,"file":"keyconcept.repository.js","sourceRoot":"","sources":["../../../../src/foundations/keyconcept/repositories/keyconcept.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA0D;AAC1D,mCAAoC;AACpC,2CAAwC;AACxC,kFAA6E;AAE7E,wCAA8D;AAC9D,8EAA0E;AAC1E,uFAAmF;AAEnF,iFAA4E;AAC5E,mFAA8E;AAGvE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YACmB,KAAmB,EACnB,eAAgC,EAChC,YAA0B,EAC1B,eAAgC,EAChC,UAAsB;QAJtB,UAAK,GAAL,KAAK,CAAc;QACnB,oBAAe,GAAf,eAAe,CAAiB;QAChC,iBAAY,GAAZ,YAAY,CAAc;QAC1B,oBAAe,GAAf,eAAe,CAAiB;QAChC,eAAU,GAAV,UAAU,CAAY;IACtC,CAAC;IAEJ,KAAK,CAAC,YAAY;QAChB,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;YACxB,KAAK,EAAE,2GAA2G;SAC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AC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;CACF,CAAA;AArdY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAGe,4BAAY;QACF,sBAAe;QAClB,mBAAY;QACT,kCAAe;QACpB,uBAAU;GAN9B,oBAAoB,CAqdhC"}
@@ -13,7 +13,7 @@ export declare class KeyConceptService {
13
13
  chunkId: string;
14
14
  }): Promise<void>;
15
15
  addKeyConceptRelationships(params: {
16
- companyId: string;
16
+ companyId?: string;
17
17
  chunkId: string;
18
18
  relationships: {
19
19
  keyConcept1: string;
@@ -1 +1 @@
1
- {"version":3,"file":"keyconcept.service.d.ts","sourceRoot":"","sources":["../../../../src/foundations/keyconcept/services/keyconcept.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F,qBACa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;gBAApB,oBAAoB,EAAE,oBAAoB;IAEjE,uBAAuB,CAAC,MAAM,EAAE;QAAE,gBAAgB,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAc9E,gBAAgB,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBlF,kDAAkD,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9F,0BAA0B,CAAC,MAAM,EAAE;QACvC,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE;YACb,WAAW,EAAE,MAAM,CAAC;YACpB,WAAW,EAAE,MAAM,CAAC;YACpB,YAAY,EAAE,MAAM,CAAC;SACtB,EAAE,CAAC;KACL,GAAG,OAAO,CAAC,IAAI,CAAC;IAQX,6BAA6B,IAAI,OAAO,CAAC,IAAI,CAAC;CAGrD"}
1
+ {"version":3,"file":"keyconcept.service.d.ts","sourceRoot":"","sources":["../../../../src/foundations/keyconcept/services/keyconcept.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F,qBACa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;gBAApB,oBAAoB,EAAE,oBAAoB;IAEjE,uBAAuB,CAAC,MAAM,EAAE;QAAE,gBAAgB,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAc9E,gBAAgB,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBlF,kDAAkD,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9F,0BAA0B,CAAC,MAAM,EAAE;QACvC,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE;YACb,WAAW,EAAE,MAAM,CAAC;YACpB,WAAW,EAAE,MAAM,CAAC;YACpB,YAAY,EAAE,MAAM,CAAC;SACtB,EAAE,CAAC;KACL,GAAG,OAAO,CAAC,IAAI,CAAC;IAQX,6BAA6B,IAAI,OAAO,CAAC,IAAI,CAAC;CAGrD"}
@@ -6,112 +6,112 @@
6
6
  */
7
7
  export declare const createMockStripeClient: () => {
8
8
  customers: {
9
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
10
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
11
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
12
- del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
13
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
9
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
10
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
11
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
12
+ del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
13
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
14
14
  };
15
15
  subscriptions: {
16
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
17
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
18
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
19
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
20
- pause: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
21
- resume: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
22
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
16
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
17
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
18
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
19
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
20
+ pause: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
21
+ resume: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
22
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
23
23
  };
24
24
  products: {
25
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
26
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
27
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
28
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
25
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
26
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
27
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
28
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
29
29
  };
30
30
  prices: {
31
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
32
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
33
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
34
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
31
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
32
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
33
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
34
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
35
35
  };
36
36
  paymentIntents: {
37
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
38
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
39
- confirm: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
40
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
37
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
38
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
39
+ confirm: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
40
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
41
41
  };
42
42
  setupIntents: {
43
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
44
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
43
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
44
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
45
45
  };
46
46
  paymentMethods: {
47
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
48
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
49
- attach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
50
- detach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
47
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
48
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
49
+ attach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
50
+ detach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
51
51
  };
52
52
  invoices: {
53
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
54
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
55
- pay: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
56
- voidInvoice: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
57
- retrieveUpcoming: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
58
- createPreview: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
53
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
54
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
55
+ pay: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
56
+ voidInvoice: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
57
+ retrieveUpcoming: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
58
+ createPreview: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
59
59
  };
60
60
  billingPortal: {
61
61
  sessions: {
62
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
62
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
63
63
  };
64
64
  };
65
65
  webhooks: {
66
- constructEvent: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
66
+ constructEvent: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
67
67
  };
68
68
  v2: {
69
69
  billing: {
70
70
  meterEvents: {
71
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
71
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
72
72
  };
73
73
  meterEventSummaries: {
74
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
74
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
75
75
  };
76
76
  };
77
77
  };
78
78
  billing: {
79
79
  meters: {
80
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
81
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
82
- listEventSummaries: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
80
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
81
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
82
+ listEventSummaries: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
83
83
  };
84
84
  };
85
85
  coupons: {
86
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
87
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
88
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
89
- del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
90
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
86
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
87
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
88
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
89
+ del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
90
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
91
91
  };
92
92
  refunds: {
93
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
94
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
95
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
96
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
97
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
93
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
94
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
95
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
96
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
97
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
98
98
  };
99
99
  taxRates: {
100
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
101
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
102
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
103
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
100
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
101
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
102
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
103
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
104
104
  };
105
105
  tax: {
106
106
  calculations: {
107
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
107
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
108
108
  };
109
109
  };
110
110
  disputes: {
111
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
112
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
113
- close: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
114
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.7/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
111
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
112
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
113
+ close: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
114
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.1.8/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
115
115
  };
116
116
  };
117
117
  /**
package/dist/index.d.ts CHANGED
@@ -12,4 +12,5 @@ export * from "./foundations";
12
12
  export * from "./agents";
13
13
  export * from "./bootstrap";
14
14
  export * from "./openapi";
15
+ export { RedisLockService } from "./core/redis/services/redis.lock.service";
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,eAAe,CAAC;AAG9B,cAAc,UAAU,CAAC;AAGzB,cAAc,aAAa,CAAC;AAG5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,eAAe,CAAC;AAG9B,cAAc,UAAU,CAAC;AAGzB,cAAc,aAAa,CAAC;AAG5B,cAAc,WAAW,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC"}
package/dist/index.js CHANGED
@@ -19,6 +19,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.RedisLockService = void 0;
22
23
  // Common exports
23
24
  __exportStar(require("./common"), exports);
24
25
  // Config exports
@@ -35,4 +36,7 @@ __exportStar(require("./agents"), exports);
35
36
  __exportStar(require("./bootstrap"), exports);
36
37
  // OpenAPI module exports
37
38
  __exportStar(require("./openapi"), exports);
39
+ // RedisLockService is not re-exported by core/redis/index.ts, so export explicitly here.
40
+ var redis_lock_service_1 = require("./core/redis/services/redis.lock.service");
41
+ Object.defineProperty(exports, "RedisLockService", { enumerable: true, get: function () { return redis_lock_service_1.RedisLockService; } });
38
42
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,iBAAiB;AACjB,2CAAyB;AAEzB,iBAAiB;AACjB,2CAAyB;AAEzB,sBAAsB;AACtB,yCAAuB;AACvB,6CAA2B;AAC3B,kDAAgC;AAEhC,4BAA4B;AAC5B,gDAA8B;AAE9B,uBAAuB;AACvB,2CAAyB;AAEzB,sBAAsB;AACtB,8CAA4B;AAE5B,yBAAyB;AACzB,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;AAEH,iBAAiB;AACjB,2CAAyB;AAEzB,iBAAiB;AACjB,2CAAyB;AAEzB,sBAAsB;AACtB,yCAAuB;AACvB,6CAA2B;AAC3B,kDAAgC;AAEhC,4BAA4B;AAC5B,gDAA8B;AAE9B,uBAAuB;AACvB,2CAAyB;AAEzB,sBAAsB;AACtB,8CAA4B;AAE5B,yBAAyB;AACzB,4CAA0B;AAE1B,yFAAyF;AACzF,+EAA4E;AAAnE,sHAAA,gBAAgB,OAAA"}
@@ -0,0 +1,31 @@
1
+ import { HelpMode } from "../../foundations/help-content-sync/interfaces/help-article.interface";
2
+ export interface BuildManifestOptions {
3
+ srcDir: string;
4
+ outputPath: string;
5
+ namespaceUuid: string;
6
+ includeDrafts?: boolean;
7
+ }
8
+ interface BuiltEntry {
9
+ id: string;
10
+ slug: string;
11
+ mode: HelpMode;
12
+ title: string;
13
+ summary: string;
14
+ order: number;
15
+ tags: string[];
16
+ contextualKeys: string[];
17
+ aiIndexed: boolean;
18
+ draft: boolean;
19
+ contentHash: string;
20
+ path: string;
21
+ headings: {
22
+ depth: 2 | 3;
23
+ slug: string;
24
+ text: string;
25
+ }[];
26
+ relatedSlugs: string[];
27
+ lastUpdated: string;
28
+ }
29
+ export declare function buildManifest(opts: BuildManifestOptions): Promise<BuiltEntry[]>;
30
+ export {};
31
+ //# sourceMappingURL=build-manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-manifest.d.ts","sourceRoot":"","sources":["../../../src/tools/help-content-build/build-manifest.ts"],"names":[],"mappings":"AAUA,OAAO,EAAc,QAAQ,EAAE,MAAM,uEAAuE,CAAC;AAM7G,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,UAAU;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE;QAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACzD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAmDD,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAiErF"}