@breign/client 1.0.179 → 1.0.181

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 (40) hide show
  1. package/dist/apis/ScheduledTasksApi.d.ts +39 -1
  2. package/dist/apis/ScheduledTasksApi.js +94 -0
  3. package/dist/apis/SupportApi.d.ts +59 -0
  4. package/dist/apis/SupportApi.js +154 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AutomationDayCountUio.d.ts +44 -0
  8. package/dist/models/AutomationDayCountUio.js +58 -0
  9. package/dist/models/AutomationLastRunUio.d.ts +51 -0
  10. package/dist/models/AutomationLastRunUio.js +63 -0
  11. package/dist/models/AutomationListUio.d.ts +46 -0
  12. package/dist/models/AutomationListUio.js +60 -0
  13. package/dist/models/AutomationRunDeliveryUio.d.ts +60 -0
  14. package/dist/models/AutomationRunDeliveryUio.js +72 -0
  15. package/dist/models/AutomationRunListUio.d.ts +39 -0
  16. package/dist/models/AutomationRunListUio.js +55 -0
  17. package/dist/models/AutomationRunOutcomeUio.d.ts +26 -0
  18. package/dist/models/AutomationRunOutcomeUio.js +52 -0
  19. package/dist/models/AutomationRunSourceUio.d.ts +108 -0
  20. package/dist/models/AutomationRunSourceUio.js +82 -0
  21. package/dist/models/AutomationRunUio.d.ts +126 -0
  22. package/dist/models/AutomationRunUio.js +114 -0
  23. package/dist/models/AutomationStatsUio.d.ts +62 -0
  24. package/dist/models/AutomationStatsUio.js +70 -0
  25. package/dist/models/AutomationSummaryUio.d.ts +137 -0
  26. package/dist/models/AutomationSummaryUio.js +126 -0
  27. package/dist/models/AutomationTriggerKindUio.d.ts +26 -0
  28. package/dist/models/AutomationTriggerKindUio.js +52 -0
  29. package/dist/models/SupportRequestAcceptedUio.d.ts +38 -0
  30. package/dist/models/SupportRequestAcceptedUio.js +54 -0
  31. package/dist/models/SupportRequestAttachmentUio.d.ts +44 -0
  32. package/dist/models/SupportRequestAttachmentUio.js +58 -0
  33. package/dist/models/SupportRequestCreateUio.d.ts +85 -0
  34. package/dist/models/SupportRequestCreateUio.js +90 -0
  35. package/dist/models/SupportSettingsUio.d.ts +44 -0
  36. package/dist/models/SupportSettingsUio.js +58 -0
  37. package/dist/models/index.d.ts +15 -0
  38. package/dist/models/index.js +15 -0
  39. package/dist/openapi.json +754 -36
  40. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SupportRequestAttachmentUio
16
+ */
17
+ export interface SupportRequestAttachmentUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SupportRequestAttachmentUio
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SupportRequestAttachmentUio
28
+ */
29
+ contentType: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SupportRequestAttachmentUio
34
+ */
35
+ contentBase64: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SupportRequestAttachmentUio interface.
39
+ */
40
+ export declare function instanceOfSupportRequestAttachmentUio(value: object): value is SupportRequestAttachmentUio;
41
+ export declare function SupportRequestAttachmentUioFromJSON(json: any): SupportRequestAttachmentUio;
42
+ export declare function SupportRequestAttachmentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportRequestAttachmentUio;
43
+ export declare function SupportRequestAttachmentUioToJSON(json: any): SupportRequestAttachmentUio;
44
+ export declare function SupportRequestAttachmentUioToJSONTyped(value?: SupportRequestAttachmentUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSupportRequestAttachmentUio = instanceOfSupportRequestAttachmentUio;
17
+ exports.SupportRequestAttachmentUioFromJSON = SupportRequestAttachmentUioFromJSON;
18
+ exports.SupportRequestAttachmentUioFromJSONTyped = SupportRequestAttachmentUioFromJSONTyped;
19
+ exports.SupportRequestAttachmentUioToJSON = SupportRequestAttachmentUioToJSON;
20
+ exports.SupportRequestAttachmentUioToJSONTyped = SupportRequestAttachmentUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SupportRequestAttachmentUio interface.
23
+ */
24
+ function instanceOfSupportRequestAttachmentUio(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('contentType' in value) || value['contentType'] === undefined)
28
+ return false;
29
+ if (!('contentBase64' in value) || value['contentBase64'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SupportRequestAttachmentUioFromJSON(json) {
34
+ return SupportRequestAttachmentUioFromJSONTyped(json, false);
35
+ }
36
+ function SupportRequestAttachmentUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'name': json['name'],
42
+ 'contentType': json['contentType'],
43
+ 'contentBase64': json['contentBase64'],
44
+ };
45
+ }
46
+ function SupportRequestAttachmentUioToJSON(json) {
47
+ return SupportRequestAttachmentUioToJSONTyped(json, false);
48
+ }
49
+ function SupportRequestAttachmentUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'name': value['name'],
55
+ 'contentType': value['contentType'],
56
+ 'contentBase64': value['contentBase64'],
57
+ };
58
+ }
@@ -0,0 +1,85 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SupportRequestAttachmentUio } from './SupportRequestAttachmentUio';
13
+ /**
14
+ * Une demande de support ; le demandeur et son organisation sont ajoutés par l'API.
15
+ * @export
16
+ * @interface SupportRequestCreateUio
17
+ */
18
+ export interface SupportRequestCreateUio {
19
+ /**
20
+ * Tirée par le formulaire. Un second envoi avec la même clé ne crée rien de plus.
21
+ * @type {string}
22
+ * @memberof SupportRequestCreateUio
23
+ */
24
+ requestId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SupportRequestCreateUio
29
+ */
30
+ category: SupportRequestCreateUioCategoryEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SupportRequestCreateUio
35
+ */
36
+ subject: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SupportRequestCreateUio
41
+ */
42
+ description: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SupportRequestCreateUio
47
+ */
48
+ urgency: SupportRequestCreateUioUrgencyEnum;
49
+ /**
50
+ *
51
+ * @type {Array<SupportRequestAttachmentUio>}
52
+ * @memberof SupportRequestCreateUio
53
+ */
54
+ attachments?: Array<SupportRequestAttachmentUio>;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const SupportRequestCreateUioCategoryEnum: {
60
+ readonly Question: "question";
61
+ readonly Bug: "bug";
62
+ readonly Account: "account";
63
+ readonly Billing: "billing";
64
+ readonly Feature: "feature";
65
+ readonly Other: "other";
66
+ };
67
+ export type SupportRequestCreateUioCategoryEnum = typeof SupportRequestCreateUioCategoryEnum[keyof typeof SupportRequestCreateUioCategoryEnum];
68
+ /**
69
+ * @export
70
+ */
71
+ export declare const SupportRequestCreateUioUrgencyEnum: {
72
+ readonly Low: "low";
73
+ readonly Normal: "normal";
74
+ readonly High: "high";
75
+ readonly Critical: "critical";
76
+ };
77
+ export type SupportRequestCreateUioUrgencyEnum = typeof SupportRequestCreateUioUrgencyEnum[keyof typeof SupportRequestCreateUioUrgencyEnum];
78
+ /**
79
+ * Check if a given object implements the SupportRequestCreateUio interface.
80
+ */
81
+ export declare function instanceOfSupportRequestCreateUio(value: object): value is SupportRequestCreateUio;
82
+ export declare function SupportRequestCreateUioFromJSON(json: any): SupportRequestCreateUio;
83
+ export declare function SupportRequestCreateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportRequestCreateUio;
84
+ export declare function SupportRequestCreateUioToJSON(json: any): SupportRequestCreateUio;
85
+ export declare function SupportRequestCreateUioToJSONTyped(value?: SupportRequestCreateUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SupportRequestCreateUioUrgencyEnum = exports.SupportRequestCreateUioCategoryEnum = void 0;
17
+ exports.instanceOfSupportRequestCreateUio = instanceOfSupportRequestCreateUio;
18
+ exports.SupportRequestCreateUioFromJSON = SupportRequestCreateUioFromJSON;
19
+ exports.SupportRequestCreateUioFromJSONTyped = SupportRequestCreateUioFromJSONTyped;
20
+ exports.SupportRequestCreateUioToJSON = SupportRequestCreateUioToJSON;
21
+ exports.SupportRequestCreateUioToJSONTyped = SupportRequestCreateUioToJSONTyped;
22
+ const SupportRequestAttachmentUio_1 = require("./SupportRequestAttachmentUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.SupportRequestCreateUioCategoryEnum = {
27
+ Question: 'question',
28
+ Bug: 'bug',
29
+ Account: 'account',
30
+ Billing: 'billing',
31
+ Feature: 'feature',
32
+ Other: 'other'
33
+ };
34
+ /**
35
+ * @export
36
+ */
37
+ exports.SupportRequestCreateUioUrgencyEnum = {
38
+ Low: 'low',
39
+ Normal: 'normal',
40
+ High: 'high',
41
+ Critical: 'critical'
42
+ };
43
+ /**
44
+ * Check if a given object implements the SupportRequestCreateUio interface.
45
+ */
46
+ function instanceOfSupportRequestCreateUio(value) {
47
+ if (!('requestId' in value) || value['requestId'] === undefined)
48
+ return false;
49
+ if (!('category' in value) || value['category'] === undefined)
50
+ return false;
51
+ if (!('subject' in value) || value['subject'] === undefined)
52
+ return false;
53
+ if (!('description' in value) || value['description'] === undefined)
54
+ return false;
55
+ if (!('urgency' in value) || value['urgency'] === undefined)
56
+ return false;
57
+ return true;
58
+ }
59
+ function SupportRequestCreateUioFromJSON(json) {
60
+ return SupportRequestCreateUioFromJSONTyped(json, false);
61
+ }
62
+ function SupportRequestCreateUioFromJSONTyped(json, ignoreDiscriminator) {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+ 'requestId': json['requestId'],
68
+ 'category': json['category'],
69
+ 'subject': json['subject'],
70
+ 'description': json['description'],
71
+ 'urgency': json['urgency'],
72
+ 'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(SupportRequestAttachmentUio_1.SupportRequestAttachmentUioFromJSON)),
73
+ };
74
+ }
75
+ function SupportRequestCreateUioToJSON(json) {
76
+ return SupportRequestCreateUioToJSONTyped(json, false);
77
+ }
78
+ function SupportRequestCreateUioToJSONTyped(value, ignoreDiscriminator = false) {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+ return {
83
+ 'requestId': value['requestId'],
84
+ 'category': value['category'],
85
+ 'subject': value['subject'],
86
+ 'description': value['description'],
87
+ 'urgency': value['urgency'],
88
+ 'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(SupportRequestAttachmentUio_1.SupportRequestAttachmentUioToJSON)),
89
+ };
90
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * La page Support d'une organisation. Réglée par les superadmins ; lue par les membres pour afficher la page.
14
+ * @export
15
+ * @interface SupportSettingsUio
16
+ */
17
+ export interface SupportSettingsUio {
18
+ /**
19
+ * La page et son lien dans la barre latérale ne s'affichent que si elle est activée.
20
+ * @type {boolean}
21
+ * @memberof SupportSettingsUio
22
+ */
23
+ enabled: boolean;
24
+ /**
25
+ * Agent d'accueil de l'onglet Chat, de l'organisation. Null, pas d'onglet Chat.
26
+ * @type {string}
27
+ * @memberof SupportSettingsUio
28
+ */
29
+ chatAgentId: string | null;
30
+ /**
31
+ * Automatisation déclenchée par webhook, de l'organisation, qui reçoit les demandes du formulaire. Null, pas d'onglet Formulaire.
32
+ * @type {string}
33
+ * @memberof SupportSettingsUio
34
+ */
35
+ formAutomationId: string | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SupportSettingsUio interface.
39
+ */
40
+ export declare function instanceOfSupportSettingsUio(value: object): value is SupportSettingsUio;
41
+ export declare function SupportSettingsUioFromJSON(json: any): SupportSettingsUio;
42
+ export declare function SupportSettingsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportSettingsUio;
43
+ export declare function SupportSettingsUioToJSON(json: any): SupportSettingsUio;
44
+ export declare function SupportSettingsUioToJSONTyped(value?: SupportSettingsUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSupportSettingsUio = instanceOfSupportSettingsUio;
17
+ exports.SupportSettingsUioFromJSON = SupportSettingsUioFromJSON;
18
+ exports.SupportSettingsUioFromJSONTyped = SupportSettingsUioFromJSONTyped;
19
+ exports.SupportSettingsUioToJSON = SupportSettingsUioToJSON;
20
+ exports.SupportSettingsUioToJSONTyped = SupportSettingsUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SupportSettingsUio interface.
23
+ */
24
+ function instanceOfSupportSettingsUio(value) {
25
+ if (!('enabled' in value) || value['enabled'] === undefined)
26
+ return false;
27
+ if (!('chatAgentId' in value) || value['chatAgentId'] === undefined)
28
+ return false;
29
+ if (!('formAutomationId' in value) || value['formAutomationId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SupportSettingsUioFromJSON(json) {
34
+ return SupportSettingsUioFromJSONTyped(json, false);
35
+ }
36
+ function SupportSettingsUioFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'enabled': json['enabled'],
42
+ 'chatAgentId': json['chatAgentId'],
43
+ 'formAutomationId': json['formAutomationId'],
44
+ };
45
+ }
46
+ function SupportSettingsUioToJSON(json) {
47
+ return SupportSettingsUioToJSONTyped(json, false);
48
+ }
49
+ function SupportSettingsUioToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'enabled': value['enabled'],
55
+ 'chatAgentId': value['chatAgentId'],
56
+ 'formAutomationId': value['formAutomationId'],
57
+ };
58
+ }
@@ -181,6 +181,17 @@ export * from './AuthCodeConfirmResponseUio';
181
181
  export * from './AuthCodeRequestUio';
182
182
  export * from './AuthCodeRequestUserUio';
183
183
  export * from './AuthCodeResponseUio';
184
+ export * from './AutomationDayCountUio';
185
+ export * from './AutomationLastRunUio';
186
+ export * from './AutomationListUio';
187
+ export * from './AutomationRunDeliveryUio';
188
+ export * from './AutomationRunListUio';
189
+ export * from './AutomationRunOutcomeUio';
190
+ export * from './AutomationRunSourceUio';
191
+ export * from './AutomationRunUio';
192
+ export * from './AutomationStatsUio';
193
+ export * from './AutomationSummaryUio';
194
+ export * from './AutomationTriggerKindUio';
184
195
  export * from './AvailableCommandUio';
185
196
  export * from './BodyWithIdUio';
186
197
  export * from './BodyWithMessageUio';
@@ -545,6 +556,10 @@ export * from './SubscriptionAdditionalMetricUio';
545
556
  export * from './SubscriptionInteractionsMetricUio';
546
557
  export * from './SubscriptionMetricUio';
547
558
  export * from './SuggestionUio';
559
+ export * from './SupportRequestAcceptedUio';
560
+ export * from './SupportRequestAttachmentUio';
561
+ export * from './SupportRequestCreateUio';
562
+ export * from './SupportSettingsUio';
548
563
  export * from './SyncKnowledgeSiteScrapping200ResponseUio';
549
564
  export * from './SyncKnowledgeSiteScrappingRequestUio';
550
565
  export * from './TTSRequestUio';
@@ -199,6 +199,17 @@ __exportStar(require("./AuthCodeConfirmResponseUio"), exports);
199
199
  __exportStar(require("./AuthCodeRequestUio"), exports);
200
200
  __exportStar(require("./AuthCodeRequestUserUio"), exports);
201
201
  __exportStar(require("./AuthCodeResponseUio"), exports);
202
+ __exportStar(require("./AutomationDayCountUio"), exports);
203
+ __exportStar(require("./AutomationLastRunUio"), exports);
204
+ __exportStar(require("./AutomationListUio"), exports);
205
+ __exportStar(require("./AutomationRunDeliveryUio"), exports);
206
+ __exportStar(require("./AutomationRunListUio"), exports);
207
+ __exportStar(require("./AutomationRunOutcomeUio"), exports);
208
+ __exportStar(require("./AutomationRunSourceUio"), exports);
209
+ __exportStar(require("./AutomationRunUio"), exports);
210
+ __exportStar(require("./AutomationStatsUio"), exports);
211
+ __exportStar(require("./AutomationSummaryUio"), exports);
212
+ __exportStar(require("./AutomationTriggerKindUio"), exports);
202
213
  __exportStar(require("./AvailableCommandUio"), exports);
203
214
  __exportStar(require("./BodyWithIdUio"), exports);
204
215
  __exportStar(require("./BodyWithMessageUio"), exports);
@@ -563,6 +574,10 @@ __exportStar(require("./SubscriptionAdditionalMetricUio"), exports);
563
574
  __exportStar(require("./SubscriptionInteractionsMetricUio"), exports);
564
575
  __exportStar(require("./SubscriptionMetricUio"), exports);
565
576
  __exportStar(require("./SuggestionUio"), exports);
577
+ __exportStar(require("./SupportRequestAcceptedUio"), exports);
578
+ __exportStar(require("./SupportRequestAttachmentUio"), exports);
579
+ __exportStar(require("./SupportRequestCreateUio"), exports);
580
+ __exportStar(require("./SupportSettingsUio"), exports);
566
581
  __exportStar(require("./SyncKnowledgeSiteScrapping200ResponseUio"), exports);
567
582
  __exportStar(require("./SyncKnowledgeSiteScrappingRequestUio"), exports);
568
583
  __exportStar(require("./TTSRequestUio"), exports);