@cognigy/rest-api-client 0.17.0 → 0.18.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 (87) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/GenericTusFn.js +6 -1
  3. package/build/GenericUploadFn.js +3 -5
  4. package/build/apigroups/ResourcesAPIGroup_2_0.js +12 -1
  5. package/build/connector/AxiosAdapter.js +35 -15
  6. package/build/shared/charts/createNodeDescriptor.js +5 -5
  7. package/build/shared/charts/descriptors/agentAssist/constants/constants.js +16 -1
  8. package/build/shared/charts/descriptors/agentAssist/helpers/agentAssistTranslator.helper.js +19 -0
  9. package/build/shared/charts/descriptors/agentAssist/helpers/getFontSizeFieldOptions.js +84 -0
  10. package/build/shared/charts/descriptors/agentAssist/helpers/getLanguageName.helper.js +33 -0
  11. package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/answerExtraction.helper.js +59 -0
  12. package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/configValidator.helper.js +20 -0
  13. package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/errorHandler.helper.js +64 -0
  14. package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/followUpDetection.helper.js +72 -0
  15. package/build/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/knowledgeSearch.helper.js +58 -0
  16. package/build/shared/charts/descriptors/agentAssist/helpers/sentiment.helper.js +7 -13
  17. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/identityAssistTemplate.js +17 -18
  18. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +330 -153
  19. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/nextActionWidgetTemplate.js +212 -80
  20. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/sentimentAnalysisTemplate.js +11 -6
  21. package/build/shared/charts/descriptors/agentAssist/htmlTemplates/transcriptAssistTemplate.js +15 -13
  22. package/build/shared/charts/descriptors/agentAssist/identityAssist.js +87 -14
  23. package/build/shared/charts/descriptors/agentAssist/knowledgeAssist.js +192 -327
  24. package/build/shared/charts/descriptors/agentAssist/locales/cs.locale.js +11 -0
  25. package/build/shared/charts/descriptors/agentAssist/locales/de.locale.js +11 -0
  26. package/build/shared/charts/descriptors/agentAssist/locales/en.locale.js +11 -0
  27. package/build/shared/charts/descriptors/agentAssist/locales/es.locale.js +11 -0
  28. package/build/shared/charts/descriptors/agentAssist/locales/fr.locale.js +11 -0
  29. package/build/shared/charts/descriptors/agentAssist/locales/index.js +22 -0
  30. package/build/shared/charts/descriptors/agentAssist/locales/ja.locale.js +11 -0
  31. package/build/shared/charts/descriptors/agentAssist/locales/ko.locale.js +11 -0
  32. package/build/shared/charts/descriptors/agentAssist/locales/pt.locale.js +11 -0
  33. package/build/shared/charts/descriptors/agentAssist/nextActionAssist.js +485 -10
  34. package/build/shared/charts/descriptors/agentAssist/sentimentAssist.js +31 -8
  35. package/build/shared/charts/descriptors/agentAssist/transcriptAssist.js +40 -2
  36. package/build/shared/charts/descriptors/analytics/requestRating.js +56 -2
  37. package/build/shared/charts/descriptors/index.js +1 -3
  38. package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +1 -1
  39. package/build/shared/charts/descriptors/message/question/optionalQuestion.js +1 -1
  40. package/build/shared/charts/descriptors/message/question/question.js +123 -2
  41. package/build/shared/charts/descriptors/message/question/utils/evaluateQuestionAnswer.js +44 -3
  42. package/build/shared/charts/descriptors/nlu/generativeSlotFiller/prompt.js +28 -12
  43. package/build/shared/charts/descriptors/nlu/index.js +1 -3
  44. package/build/shared/charts/descriptors/service/GPTPrompt.js +320 -22
  45. package/build/shared/charts/descriptors/service/LLMEntityExtract.js +274 -0
  46. package/build/shared/charts/descriptors/service/httpRequest.js +33 -1
  47. package/build/shared/charts/descriptors/service/index.js +3 -1
  48. package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +17 -13
  49. package/build/shared/charts/descriptors/voice/mappers/transfer.mapper.js +4 -4
  50. package/build/shared/charts/descriptors/voice/nodes/play.js +8 -1
  51. package/build/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +44 -45
  52. package/build/shared/charts/descriptors/voicegateway2/nodes/play.js +0 -1
  53. package/build/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +31 -39
  54. package/build/shared/charts/descriptors/voicegateway2/nodes/transfer.js +17 -25
  55. package/build/shared/charts/helpers/generativeAI/generativeAIPrompts.js +55 -0
  56. package/build/shared/interfaces/appsession/IAppSession.js +3 -0
  57. package/build/shared/interfaces/appsession/ISetAppState.js +3 -0
  58. package/build/shared/interfaces/appsession/index.js +3 -0
  59. package/build/shared/interfaces/fileStorage.js +6 -0
  60. package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +32 -3
  61. package/build/shared/interfaces/handover.js +2 -1
  62. package/build/shared/interfaces/messageAPI/endpoints.js +15 -2
  63. package/build/shared/interfaces/messageAPI/handover.js +5 -1
  64. package/build/shared/interfaces/nlu/nlu.js +3 -0
  65. package/build/shared/interfaces/resources/IAuditEvent.js +10 -9
  66. package/build/shared/interfaces/resources/ILargeLanguageModel.js +34 -20
  67. package/build/shared/interfaces/resources/IMilestone.js +50 -0
  68. package/build/shared/interfaces/resources/INodeDescriptorSet.js +84 -75
  69. package/build/shared/interfaces/resources/TResourceType.js +12 -5
  70. package/build/shared/interfaces/resources/settings/IGenerativeAISettings.js +4 -0
  71. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/ICloneMilestoneRest_2_0.js +3 -0
  72. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/ICreateMilestoneRest_2_0.js +3 -0
  73. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IDeleteMilestoneRest_2_0.js +3 -0
  74. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IIndexMilestonesRest_2_0.js +3 -0
  75. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneIndexItem_2_0.js +3 -0
  76. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneStepMetric_2_0.js +3 -0
  77. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestoneStep_2_0.js +3 -0
  78. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IMilestone_2_0.js +3 -0
  79. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IReadMilestoneRest_2_0.js +3 -0
  80. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/IUpdateMilestoneRest_2_0.js +3 -0
  81. package/build/shared/interfaces/restAPI/resources/milestone/v2.0/index.js +3 -0
  82. package/build/shared/interfaces/restAPI/resources/uploadResumable/v2.0/IUploadResumableRest_2_0.js +3 -1
  83. package/build/shared/interfaces/security/IPermission.js +4 -2
  84. package/build/shared/interfaces/security/index.js +1 -1
  85. package/package.json +2 -2
  86. package/types/index.d.ts +938 -285
  87. package/build/shared/charts/descriptors/nlu/extractAnswer.js +0 -115
@@ -12,8 +12,8 @@ const nodeAppearanceSchema = {
12
12
  textColor: { type: "string", format: "color" },
13
13
  contrastTextColor: { type: "string", format: "color" },
14
14
  showIcon: { type: "boolean" },
15
- variant: { type: "string", enum: ["regular", "mini", "hexagon"] }
16
- }
15
+ variant: { type: "string", enum: ["regular", "mini", "hexagon"] },
16
+ },
17
17
  };
18
18
  const nodeBehaviorSchema = {
19
19
  title: "nodeBehaviorSchema",
@@ -21,18 +21,24 @@ const nodeBehaviorSchema = {
21
21
  additionalProperties: false,
22
22
  properties: {
23
23
  stopping: { type: "boolean" },
24
- entrypoint: { type: "boolean" }
25
- }
24
+ entrypoint: { type: "boolean" },
25
+ },
26
26
  };
27
- exports.nodePreviewTypes = ["text", "sayNode", "custom", "resource", "image"];
27
+ exports.nodePreviewTypes = [
28
+ "text",
29
+ "sayNode",
30
+ "custom",
31
+ "resource",
32
+ "image",
33
+ ];
28
34
  const nodePreviewSchema = {
29
35
  title: "nodePreviewSchema",
30
36
  type: "object",
31
37
  additionalProperties: false,
32
38
  properties: {
33
39
  key: { type: "string", minLength: 1, maxLength: 200 },
34
- type: { type: "string", enum: [...exports.nodePreviewTypes] }
35
- }
40
+ type: { type: "string", enum: [...exports.nodePreviewTypes] },
41
+ },
36
42
  };
37
43
  const nodeConstraintSchema = {
38
44
  title: "nodeConstraintSchema",
@@ -41,13 +47,13 @@ const nodeConstraintSchema = {
41
47
  properties: {
42
48
  blacklist: {
43
49
  type: "array",
44
- items: { type: "string", minLength: 1, maxLength: 200 }
50
+ items: { type: "string", minLength: 1, maxLength: 200 },
45
51
  },
46
52
  whitelist: {
47
53
  type: "array",
48
- items: { type: "string", minLength: 1, maxLength: 200 }
49
- }
50
- }
54
+ items: { type: "string", minLength: 1, maxLength: 200 },
55
+ },
56
+ },
51
57
  };
52
58
  const nodeConstraintsSchema = {
53
59
  title: "nodeConstraintsSchema",
@@ -66,10 +72,10 @@ const nodeConstraintsSchema = {
66
72
  properties: {
67
73
  children: nodeConstraintSchema,
68
74
  predecessor: nodeConstraintSchema,
69
- successor: nodeConstraintSchema
70
- }
71
- }
72
- }
75
+ successor: nodeConstraintSchema,
76
+ },
77
+ },
78
+ },
73
79
  };
74
80
  const nodeDependenciesSchema = {
75
81
  title: "nodeDependenciesSchema",
@@ -78,9 +84,9 @@ const nodeDependenciesSchema = {
78
84
  properties: {
79
85
  children: {
80
86
  type: "array",
81
- items: { type: "string", minLength: 1, maxLength: 200 }
82
- }
83
- }
87
+ items: { type: "string", minLength: 1, maxLength: 200 },
88
+ },
89
+ },
84
90
  };
85
91
  exports.nodeFieldTypes = [
86
92
  "adaptivecard",
@@ -142,7 +148,7 @@ exports.searchableNodeFieldTypes = [
142
148
  "say",
143
149
  "code",
144
150
  "caseNode",
145
- "select"
151
+ "select",
146
152
  ];
147
153
  exports.nodeFieldSingleConditionSchema = {
148
154
  title: "nodeFieldSingleConditionSchema",
@@ -159,11 +165,11 @@ exports.nodeFieldSingleConditionSchema = {
159
165
  { type: "number" },
160
166
  { type: "array", items: { type: "number" } },
161
167
  { type: "boolean" },
162
- { type: "array", items: { type: "boolean" } }
163
- ]
168
+ { type: "array", items: { type: "boolean" } },
169
+ ],
164
170
  },
165
- negate: { type: "boolean" }
166
- }
171
+ negate: { type: "boolean" },
172
+ },
167
173
  };
168
174
  exports.nodeFieldANDConditionSchema = {
169
175
  title: "nodeFieldANDConditionSchema",
@@ -171,8 +177,8 @@ exports.nodeFieldANDConditionSchema = {
171
177
  additionalProperties: false,
172
178
  required: ["and"],
173
179
  properties: {
174
- and: { type: "array", items: { $ref: "nodeFieldConditionSchema" } }
175
- }
180
+ and: { type: "array", items: { $ref: "nodeFieldConditionSchema" } },
181
+ },
176
182
  };
177
183
  exports.nodeFieldORConditionSchema = {
178
184
  title: "nodeFieldORConditionSchema",
@@ -180,8 +186,8 @@ exports.nodeFieldORConditionSchema = {
180
186
  additionalProperties: false,
181
187
  required: ["or"],
182
188
  properties: {
183
- or: { type: "array", items: { $ref: "nodeFieldConditionSchema" } }
184
- }
189
+ or: { type: "array", items: { $ref: "nodeFieldConditionSchema" } },
190
+ },
185
191
  };
186
192
  // @ts-ignore
187
193
  exports.nodeFieldConditionSchema = {
@@ -194,17 +200,20 @@ exports.nodeFieldConditionSchema = {
194
200
  // @ts-ignore
195
201
  exports.nodeFieldANDConditionSchema,
196
202
  // @ts-ignore
197
- exports.nodeFieldORConditionSchema
198
- ]
203
+ exports.nodeFieldORConditionSchema,
204
+ ],
199
205
  };
200
206
  exports.nodeOptionsResolverSchema = {
201
207
  title: "nodeOptionsResolverSchema",
202
208
  type: "object",
203
209
  additionalProperties: false,
204
210
  properties: {
205
- dependencies: { type: "array", items: { type: "string", minLength: 1, maxLength: 200 } },
206
- resolverFunction: {}
207
- }
211
+ dependencies: {
212
+ type: "array",
213
+ items: { type: "string", minLength: 1, maxLength: 200 },
214
+ },
215
+ resolverFunction: {},
216
+ },
208
217
  };
209
218
  exports.nodeFieldSchema = {
210
219
  title: "nodeFieldSchema",
@@ -225,10 +234,10 @@ exports.nodeFieldSchema = {
225
234
  deDE: { type: "string", maxLength: 200 },
226
235
  jaJP: { type: "string", maxLength: 200 },
227
236
  esES: { type: "string", maxLength: 200 },
228
- koKR: { type: "string", maxLength: 200 }
229
- }
230
- }
231
- ]
237
+ koKR: { type: "string", maxLength: 200 },
238
+ },
239
+ },
240
+ ],
232
241
  },
233
242
  condition: exports.nodeFieldConditionSchema,
234
243
  defaultValue: {
@@ -238,8 +247,8 @@ exports.nodeFieldSchema = {
238
247
  { type: "number" },
239
248
  { type: "null" },
240
249
  { type: "object" },
241
- { type: "string" }
242
- ]
250
+ { type: "string" },
251
+ ],
243
252
  },
244
253
  description: {
245
254
  oneOf: [
@@ -253,14 +262,14 @@ exports.nodeFieldSchema = {
253
262
  deDE: { type: "string", maxLength: 200 },
254
263
  jaJP: { type: "string", maxLength: 200 },
255
264
  esES: { type: "string", maxLength: 200 },
256
- koKR: { type: "string", maxLength: 200 }
257
- }
258
- }
259
- ]
265
+ koKR: { type: "string", maxLength: 200 },
266
+ },
267
+ },
268
+ ],
260
269
  },
261
270
  params: { type: "object" },
262
- optionsResolver: exports.nodeOptionsResolverSchema
263
- }
271
+ optionsResolver: exports.nodeOptionsResolverSchema,
272
+ },
264
273
  };
265
274
  exports.nodeSectionSchema = {
266
275
  title: "nodeSectionSchema",
@@ -280,10 +289,10 @@ exports.nodeSectionSchema = {
280
289
  deDE: { type: "string", maxLength: 200 },
281
290
  jaJP: { type: "string", maxLength: 200 },
282
291
  esES: { type: "string", maxLength: 200 },
283
- koKR: { type: "string", maxLength: 200 }
284
- }
285
- }
286
- ]
292
+ koKR: { type: "string", maxLength: 200 },
293
+ },
294
+ },
295
+ ],
287
296
  },
288
297
  description: {
289
298
  oneOf: [
@@ -297,10 +306,10 @@ exports.nodeSectionSchema = {
297
306
  deDE: { type: "string", maxLength: 200 },
298
307
  jaJP: { type: "string", maxLength: 200 },
299
308
  esES: { type: "string", maxLength: 200 },
300
- koKR: { type: "string", maxLength: 200 }
301
- }
302
- }
303
- ]
309
+ koKR: { type: "string", maxLength: 200 },
310
+ },
311
+ },
312
+ ],
304
313
  },
305
314
  condition: exports.nodeFieldConditionSchema,
306
315
  defaultCollapsed: { type: "boolean" },
@@ -312,10 +321,10 @@ exports.nodeSectionSchema = {
312
321
  items: {
313
322
  type: "string",
314
323
  minLength: 1,
315
- maxLength: 200
316
- }
317
- }
318
- }
324
+ maxLength: 200,
325
+ },
326
+ },
327
+ },
319
328
  };
320
329
  exports.nodeFieldAndSectionFormElementSchema = {
321
330
  title: "nodeFieldAndSectionFormElementSchema",
@@ -323,8 +332,8 @@ exports.nodeFieldAndSectionFormElementSchema = {
323
332
  required: ["key", "type"],
324
333
  properties: {
325
334
  key: { type: "string", minLength: 1, maxLength: 200 },
326
- type: { type: "string", enum: ["field", "section"] }
327
- }
335
+ type: { type: "string", enum: ["field", "section"] },
336
+ },
328
337
  };
329
338
  exports.nodeDescriptorSchema = {
330
339
  title: "nodeDescriptorSchema",
@@ -346,10 +355,10 @@ exports.nodeDescriptorSchema = {
346
355
  deDE: { type: "string", maxLength: 200 },
347
356
  jaJP: { type: "string", maxLength: 200 },
348
357
  esES: { type: "string", maxLength: 200 },
349
- koKR: { type: "string", maxLength: 200 }
350
- }
351
- }
352
- ]
358
+ koKR: { type: "string", maxLength: 200 },
359
+ },
360
+ },
361
+ ],
353
362
  },
354
363
  summary: {
355
364
  oneOf: [
@@ -363,10 +372,10 @@ exports.nodeDescriptorSchema = {
363
372
  deDE: { type: "string", maxLength: 200 },
364
373
  jaJP: { type: "string", maxLength: 200 },
365
374
  esES: { type: "string", maxLength: 200 },
366
- koKR: { type: "string", maxLength: 200 }
367
- }
368
- }
369
- ]
375
+ koKR: { type: "string", maxLength: 200 },
376
+ },
377
+ },
378
+ ],
370
379
  },
371
380
  appearance: nodeAppearanceSchema,
372
381
  behavior: nodeBehaviorSchema,
@@ -379,25 +388,25 @@ exports.nodeDescriptorSchema = {
379
388
  type: "array",
380
389
  items: { type: "string" },
381
390
  uniqueItems: true,
382
- minItems: 0
391
+ minItems: 0,
383
392
  },
384
393
  tokens: {
385
394
  type: "array",
386
395
  items: ISnippet_1.snippetDataSchema,
387
- uniqueItems: true
396
+ uniqueItems: true,
388
397
  },
389
398
  sections: {
390
399
  type: "array",
391
400
  additionalItems: false,
392
- items: exports.nodeSectionSchema
401
+ items: exports.nodeSectionSchema,
393
402
  },
394
403
  form: {
395
404
  type: "array",
396
405
  additionalItems: false,
397
406
  maxLength: 25,
398
- items: exports.nodeFieldAndSectionFormElementSchema
399
- }
400
- }
407
+ items: exports.nodeFieldAndSectionFormElementSchema,
408
+ },
409
+ },
401
410
  };
402
411
  exports.nodeDescriptorSetSchema = {
403
412
  title: "nodeDescriptorSetSchema",
@@ -413,10 +422,10 @@ exports.nodeDescriptorSetSchema = {
413
422
  descriptors: {
414
423
  type: "array",
415
424
  additionalItems: false,
416
- items: exports.nodeDescriptorSchema
425
+ items: exports.nodeDescriptorSchema,
417
426
  },
418
427
  resourceType: { type: "string", enum: TResourceType_1.chartableResourceTypes },
419
- trustedCode: { type: "boolean" }
420
- }
428
+ trustedCode: { type: "boolean" },
429
+ },
421
430
  };
422
431
  //# sourceMappingURL=INodeDescriptorSet.js.map
@@ -35,6 +35,7 @@ exports.primaryResourceTypes = exports.packageableResourceTypes = exports.search
35
35
  * - lexiconKeyphrase
36
36
  * - lexiconSlot
37
37
  * - locale
38
+ * - milestone
38
39
  * - nluconnector
39
40
  * - nodeData
40
41
  * - nodeDescriptorSet
@@ -72,6 +73,7 @@ exports.arrayTResourceType = [
72
73
  "lexiconKeyphrase",
73
74
  "lexiconSlot",
74
75
  "locale",
76
+ "milestone",
75
77
  "nluconnector",
76
78
  "nodeData",
77
79
  "nodeDescriptorSet",
@@ -80,7 +82,7 @@ exports.arrayTResourceType = [
80
82
  "playbookRun",
81
83
  "slotFiller",
82
84
  "snapshot",
83
- "snippet"
85
+ "snippet",
84
86
  ];
85
87
  exports.arrayTSnapshottableResourceType = [
86
88
  "agentSettings",
@@ -104,12 +106,13 @@ exports.arrayTSnapshottableResourceType = [
104
106
  "lexiconKeyphrase",
105
107
  "lexiconSlot",
106
108
  "locale",
109
+ "milestone",
107
110
  "nluconnector",
108
111
  "nodeData",
109
112
  "nodeDescriptorSet",
110
113
  "playbook",
111
114
  "slotFiller",
112
- "snippet"
115
+ "snippet",
113
116
  ];
114
117
  exports.arrayTChartableResourceType = ["flow"];
115
118
  exports.resourceTypes = [...exports.arrayTResourceType];
@@ -128,6 +131,7 @@ exports.chartableResourceTypes = [...exports.arrayTChartableResourceType];
128
131
  * - flow
129
132
  * - function
130
133
  * - lexicon
134
+ * - milestone
131
135
  * - nluconnector
132
136
  * - playbook
133
137
  * - project
@@ -140,10 +144,11 @@ exports.searchableResourceTypes = [
140
144
  "function",
141
145
  "largeLanguageModel",
142
146
  "lexicon",
147
+ "milestone",
143
148
  "nluconnector",
144
149
  "playbook",
145
150
  "project",
146
- "snapshot"
151
+ "snapshot",
147
152
  ];
148
153
  exports.packageableResourceTypes = [
149
154
  "agentAssistConfig",
@@ -157,9 +162,10 @@ exports.packageableResourceTypes = [
157
162
  "knowledgeStore",
158
163
  "lexicon",
159
164
  "locale",
165
+ "milestone",
160
166
  "nluconnector",
161
167
  "playbook",
162
- "snippet"
168
+ "snippet",
163
169
  ];
164
170
  exports.primaryResourceTypes = [
165
171
  "connection",
@@ -171,8 +177,9 @@ exports.primaryResourceTypes = [
171
177
  "largeLanguageModel",
172
178
  "lexicon",
173
179
  "locale",
180
+ "milestone",
174
181
  "nluconnector",
175
182
  "playbook",
176
- "snippet"
183
+ "snippet",
177
184
  ];
178
185
  //# sourceMappingURL=TResourceType.js.map
@@ -65,6 +65,10 @@ exports.generativeAISettingsDataSchema = {
65
65
  sentimentAnalysis: {
66
66
  type: "object",
67
67
  properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
68
+ },
69
+ nlu: {
70
+ type: "object",
71
+ properties: Object.assign({}, exports.generativeAIUseCaseDataSchema.properties)
68
72
  }
69
73
  }
70
74
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICloneMilestoneRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ICreateMilestoneRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IDeleteMilestoneRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IIndexMilestonesRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMilestoneIndexItem_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMilestoneStepMetric_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMilestoneStep_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMilestone_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IReadMilestoneRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IUpdateMilestoneRest_2_0.js.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -10,8 +10,10 @@ exports.uploadResumableTypes = void 0;
10
10
  * type: string
11
11
  * enum:
12
12
  * - snapshots
13
+ * - packages
13
14
  */
14
15
  exports.uploadResumableTypes = [
15
- "snapshots"
16
+ "snapshots",
17
+ "packages"
16
18
  ];
17
19
  //# sourceMappingURL=IUploadResumableRest_2_0.js.map
@@ -57,6 +57,7 @@ exports.organisationWidePermissions = [
57
57
  * - logs
58
58
  * - memberDetails
59
59
  * - members
60
+ * - milestones
60
61
  * - nluConnectors
61
62
  * - packages
62
63
  * - playbooks
@@ -94,6 +95,7 @@ exports.projectWidePermissions = [
94
95
  "logs",
95
96
  "memberDetails",
96
97
  "members",
98
+ "milestones",
97
99
  "nluConnectors",
98
100
  "packages",
99
101
  "playbooks",
@@ -104,10 +106,10 @@ exports.projectWidePermissions = [
104
106
  "tasks",
105
107
  "tokens",
106
108
  "yesNoIntents",
107
- "dataPrivacySettings"
109
+ "dataPrivacySettings",
108
110
  ];
109
111
  exports.availablePermissions = [
110
112
  ...exports.organisationWidePermissions,
111
- ...exports.projectWidePermissions
113
+ ...exports.projectWidePermissions,
112
114
  ];
113
115
  //# sourceMappingURL=IPermission.js.map
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.identityProviderSchema = exports.oidcIdentityProviderDataSchema = exports.samlIdentityProviderDataSchema = exports.CrudOperation = exports.operations = exports.availableRoles = exports.projectWideRoles = exports.organisationWideRoles = exports.availablePermissions = exports.COMPUTED_ACL_HASH_VERSION = void 0;
4
- exports.COMPUTED_ACL_HASH_VERSION = "v11";
4
+ exports.COMPUTED_ACL_HASH_VERSION = "v13";
5
5
  var IPermission_1 = require("./IPermission");
6
6
  Object.defineProperty(exports, "availablePermissions", { enumerable: true, get: function () { return IPermission_1.availablePermissions; } });
7
7
  var IRole_1 = require("./IRole");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognigy/rest-api-client",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Cognigy REST-Client",
5
5
  "main": "build/index.js",
6
6
  "module": "dist/rollup-plugin-babel.esm.js",
@@ -31,7 +31,7 @@
31
31
  "license": "Cognigy Proprietary License",
32
32
  "dependencies": {
33
33
  "ajv": "6.12.6",
34
- "axios": "1.6.4",
34
+ "axios": "1.6.8",
35
35
  "form-data": "4.0.0",
36
36
  "tus-js-client": "^3.1.1",
37
37
  "uuidv4": "6.2.13"