@opencx/mcp 1.15.83 → 1.15.85
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.
- package/dist/filter-sessions-dates.spec.js +2 -2
- package/dist/filter-sessions-dates.spec.js.map +1 -1
- package/dist/schema.d.ts +100 -83
- package/dist/schema.d.ts.map +1 -1
- package/dist/spec-helpers.d.ts +2 -20
- package/dist/spec-helpers.d.ts.map +1 -1
- package/dist/tools/contact-segment-schemas.d.ts +42 -580
- package/dist/tools/contact-segment-schemas.d.ts.map +1 -1
- package/dist/tools/office-hours.js.map +1 -1
- package/dist/tools/phone.js +1 -1
- package/dist/tools/phone.js.map +1 -1
- package/dist/tools/sessions.js +1 -1
- package/dist/tools/sessions.js.map +1 -1
- package/dist/tools/structured-fields.d.ts.map +1 -1
- package/dist/tools/structured-fields.js +4 -2
- package/dist/tools/structured-fields.js.map +1 -1
- package/dist/tools/team-settings.d.ts +11 -4
- package/dist/tools/team-settings.d.ts.map +1 -1
- package/dist/utils/session-channel.d.ts +16 -1
- package/dist/utils/session-channel.d.ts.map +1 -1
- package/dist/utils/structured-field-values.d.ts +2 -10
- package/dist/utils/structured-field-values.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -36,7 +36,7 @@ describe('filter_sessions date validation', () => {
|
|
|
36
36
|
});
|
|
37
37
|
expect(result.isError).toBe(true);
|
|
38
38
|
const text = JSON.stringify(result.content);
|
|
39
|
-
expect(text).toContain('Invalid datetime');
|
|
39
|
+
expect(text).toContain('Invalid ISO datetime');
|
|
40
40
|
expect(text).toContain('date_from');
|
|
41
41
|
expect(fetchSpy).not.toHaveBeenCalled();
|
|
42
42
|
});
|
|
@@ -49,7 +49,7 @@ describe('filter_sessions date validation', () => {
|
|
|
49
49
|
arguments: { date_from: '2026-06-01T00:00:00+02:00' },
|
|
50
50
|
});
|
|
51
51
|
expect(result.isError).toBe(true);
|
|
52
|
-
expect(JSON.stringify(result.content)).toContain('Invalid datetime');
|
|
52
|
+
expect(JSON.stringify(result.content)).toContain('Invalid ISO datetime');
|
|
53
53
|
expect(fetchSpy).not.toHaveBeenCalled();
|
|
54
54
|
});
|
|
55
55
|
it('still works with no dates at all (most common call)', async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-sessions-dates.spec.js","sourceRoot":"","sources":["../src/filter-sessions-dates.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,+DAA+D;AAC/D,qEAAqE;AACrE,yEAAyE;AACzE,uEAAuE;AACvE,6DAA6D;AAE7D,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC/C,IAAI,MAAc,CAAC;IACnB,IAAI,OAA4B,CAAC;IACjC,IAAI,QAAkC,CAAC;IAEvC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,QAAQ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACnB,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEjC,MAAM,MAAM,GAAG,YAAY,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;QACpE,MAAM,CAAC,eAAe,EAAE,eAAe,CAAC,GAAG,iBAAiB,CAAC,gBAAgB,EAAE,CAAC;QAChF,MAAM,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QAEtC,MAAM,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;QAC/D,M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AC,SAAS,EAAE,CAAC;QAEnC,MAAM,CAAC,QAAQ,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;QAC1C,sEAAsE;QACtE,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACxC,IAAI,CAAC,CAAC,GAAG,YAAY,OAAO,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;QACtF,MAAM,IAAI,GAAG,CAAC;aACX,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;aACvF,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAC/C,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,sBAAsB;YAC5B,EAAE,EAAE,sBAAsB;SAC3B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/schema.d.ts
CHANGED
|
@@ -268,7 +268,7 @@ export interface paths {
|
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
270
|
* Export session events
|
|
271
|
-
* @description Pull existing session history across your organization, including system events and internal notes. Uses the same id, created_at and typed event structure as GET /chat/sessions/{session_id}/history, with session/contact IDs, the stored message_type and export metadata. Types without a history mapping are retained as unmapped_event; checkpoint payloads are omitted. created_after is inclusive; created_before is exclusive. Both date bounds are optional. include_message_types overrides exclude_message_types; neither filter returns all message types. Returns recorded actor identities, assignment targets, sub-status IDs and workflow details when available. Does not reconstruct missing historical identities or track session/contact attribute changes. Use a fixed date window when paging, retain the same filters, and deduplicate by event ID. Timestamps are event times: historical imports can arrive later and edits do not change original creation times; reconcile previously exported windows to pick up late or edited history. Requires chat-sessions:read.
|
|
271
|
+
* @description Pull existing session history across your organization, including system events and internal notes. Uses the same id, created_at and typed event structure as GET /chat/sessions/{session_id}/history, with session/contact IDs, the stored message_type and export metadata. Per-message email headers are excluded from exports; retrieve them from session history. Types without a history mapping are retained as unmapped_event; checkpoint payloads are omitted. created_after is inclusive; created_before is exclusive. Both date bounds are optional. include_message_types overrides exclude_message_types; neither filter returns all message types. Returns recorded actor identities, assignment targets, sub-status IDs and workflow details when available. Does not reconstruct missing historical identities or track session/contact attribute changes. Use a fixed date window when paging, retain the same filters, and deduplicate by event ID. Timestamps are event times: historical imports can arrive later and edits do not change original creation times; reconcile previously exported windows to pick up late or edited history. Requires chat-sessions:read.
|
|
272
272
|
*/
|
|
273
273
|
get: operations["listSessionEvents"];
|
|
274
274
|
put?: never;
|
|
@@ -3625,7 +3625,7 @@ export interface paths {
|
|
|
3625
3625
|
put?: never;
|
|
3626
3626
|
/**
|
|
3627
3627
|
* Redact all messages in a session
|
|
3628
|
-
* @description Redact
|
|
3628
|
+
* @description Redact a session by session ID, including its messages, attached images, and saved Session notes
|
|
3629
3629
|
*/
|
|
3630
3630
|
post: operations["redactSession"];
|
|
3631
3631
|
delete?: never;
|
|
@@ -8051,15 +8051,9 @@ export interface components {
|
|
|
8051
8051
|
MessageOptionType: "text" | "workflow";
|
|
8052
8052
|
OfficeHoursExceptionDto: {
|
|
8053
8053
|
name: string;
|
|
8054
|
-
/**
|
|
8055
|
-
* Format: date-time
|
|
8056
|
-
* @description Inclusive local start, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
8057
|
-
*/
|
|
8054
|
+
/** @description Inclusive local start, YYYY-MM-DDTHH:mm:ss, in the schedule timezone */
|
|
8058
8055
|
starts_at: string;
|
|
8059
|
-
/**
|
|
8060
|
-
* Format: date-time
|
|
8061
|
-
* @description Exclusive local end, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
8062
|
-
*/
|
|
8056
|
+
/** @description Exclusive local end, YYYY-MM-DDTHH:mm:ss, in the schedule timezone */
|
|
8063
8057
|
ends_at: string;
|
|
8064
8058
|
/**
|
|
8065
8059
|
* @description Holiday and closed periods override opening hours. Holiday takes precedence.
|
|
@@ -9822,7 +9816,7 @@ export interface components {
|
|
|
9822
9816
|
summary?: string | null;
|
|
9823
9817
|
/** @description Session-level custom data to merge into the chat session: keys you send are added or overwritten, a null value removes the key, and keys you leave out are kept. Changes made here do not start Session Updated workflows or sync to connected integrations. */
|
|
9824
9818
|
custom_data?: {
|
|
9825
|
-
[key: string]:
|
|
9819
|
+
[key: string]: string | number | boolean | null;
|
|
9826
9820
|
};
|
|
9827
9821
|
};
|
|
9828
9822
|
SessionAssigneeUpdateInput: {
|
|
@@ -10420,7 +10414,7 @@ export interface components {
|
|
|
10420
10414
|
transfer_destination_ids?: string[];
|
|
10421
10415
|
/** @description Destination the call is transferred to if the voice pipeline fails mid-call. Any destination of your organization; null falls back to the first allowed destination, then to a graceful hangup. */
|
|
10422
10416
|
failover_transfer_destination_id?: string | null;
|
|
10423
|
-
/** @description Speaking speed on a 1-100 scale (null = the voice default). Lower is slower; natural-sounding voices in some languages (e.g. Dutch) run best around 80-85. */
|
|
10417
|
+
/** @description Speaking speed on a 1-100 scale (null = the voice default). Lower is slower; natural-sounding voices in some languages (e.g. Dutch) run best around 80-85. On voices whose id starts with "hamsa:" the same field sets expressiveness instead: the value divided by 50 (null or 50 = 1, the default; 100 = 2, the most expressive). Omitted on create, it starts at the voice's default. */
|
|
10424
10418
|
tts_speed_pct?: number | null;
|
|
10425
10419
|
/** @description Custom vocabulary to boost in speech recognition: brand and product names, jargon, spellings the transcriber typically mishears. The agent name is merged in automatically. */
|
|
10426
10420
|
stt_keyterms?: string[] | null;
|
|
@@ -10454,7 +10448,7 @@ export interface components {
|
|
|
10454
10448
|
transfer_destination_ids?: string[];
|
|
10455
10449
|
/** @description Destination the call is transferred to if the voice pipeline fails mid-call. Any destination of your organization; null falls back to the first allowed destination, then to a graceful hangup. */
|
|
10456
10450
|
failover_transfer_destination_id?: string | null;
|
|
10457
|
-
/** @description Speaking speed on a 1-100 scale (null = the voice default). Lower is slower; natural-sounding voices in some languages (e.g. Dutch) run best around 80-85. */
|
|
10451
|
+
/** @description Speaking speed on a 1-100 scale (null = the voice default). Lower is slower; natural-sounding voices in some languages (e.g. Dutch) run best around 80-85. On voices whose id starts with "hamsa:" the same field sets expressiveness instead: the value divided by 50 (null or 50 = 1, the default; 100 = 2, the most expressive). Omitted on create, it starts at the voice's default. */
|
|
10458
10452
|
tts_speed_pct?: number | null;
|
|
10459
10453
|
/** @description Custom vocabulary to boost in speech recognition: brand and product names, jargon, spellings the transcriber typically mishears. The agent name is merged in automatically. */
|
|
10460
10454
|
stt_keyterms?: string[] | null;
|
|
@@ -11270,11 +11264,11 @@ export interface components {
|
|
|
11270
11264
|
id: string;
|
|
11271
11265
|
openapi?: {
|
|
11272
11266
|
openapi_spec_id?: string;
|
|
11273
|
-
operation_spec
|
|
11267
|
+
operation_spec?: unknown;
|
|
11274
11268
|
operation_id?: string;
|
|
11275
11269
|
operation_method?: string;
|
|
11276
11270
|
};
|
|
11277
|
-
metadata
|
|
11271
|
+
metadata?: unknown;
|
|
11278
11272
|
required_form_submission?: boolean;
|
|
11279
11273
|
is_handoff_like?: boolean;
|
|
11280
11274
|
};
|
|
@@ -11342,11 +11336,11 @@ export interface components {
|
|
|
11342
11336
|
id: string;
|
|
11343
11337
|
openapi?: {
|
|
11344
11338
|
openapi_spec_id?: string;
|
|
11345
|
-
operation_spec
|
|
11339
|
+
operation_spec?: unknown;
|
|
11346
11340
|
operation_id?: string;
|
|
11347
11341
|
operation_method?: string;
|
|
11348
11342
|
};
|
|
11349
|
-
metadata
|
|
11343
|
+
metadata?: unknown;
|
|
11350
11344
|
required_form_submission?: boolean;
|
|
11351
11345
|
is_handoff_like?: boolean;
|
|
11352
11346
|
};
|
|
@@ -11381,16 +11375,16 @@ export interface components {
|
|
|
11381
11375
|
id: string;
|
|
11382
11376
|
openapi?: {
|
|
11383
11377
|
openapi_spec_id?: string;
|
|
11384
|
-
operation_spec
|
|
11378
|
+
operation_spec?: unknown;
|
|
11385
11379
|
operation_id?: string;
|
|
11386
11380
|
operation_method?: string;
|
|
11387
11381
|
};
|
|
11388
|
-
metadata
|
|
11382
|
+
metadata?: unknown;
|
|
11389
11383
|
required_form_submission?: boolean;
|
|
11390
11384
|
is_handoff_like?: boolean;
|
|
11391
11385
|
};
|
|
11392
|
-
arguments
|
|
11393
|
-
result
|
|
11386
|
+
arguments?: unknown;
|
|
11387
|
+
result?: unknown;
|
|
11394
11388
|
}[];
|
|
11395
11389
|
/** @default null */
|
|
11396
11390
|
assignment_choice_summary: {
|
|
@@ -11456,16 +11450,16 @@ export interface components {
|
|
|
11456
11450
|
id: string;
|
|
11457
11451
|
openapi?: {
|
|
11458
11452
|
openapi_spec_id?: string;
|
|
11459
|
-
operation_spec
|
|
11453
|
+
operation_spec?: unknown;
|
|
11460
11454
|
operation_id?: string;
|
|
11461
11455
|
operation_method?: string;
|
|
11462
11456
|
};
|
|
11463
|
-
metadata
|
|
11457
|
+
metadata?: unknown;
|
|
11464
11458
|
required_form_submission?: boolean;
|
|
11465
11459
|
is_handoff_like?: boolean;
|
|
11466
11460
|
};
|
|
11467
|
-
arguments
|
|
11468
|
-
result
|
|
11461
|
+
arguments?: unknown;
|
|
11462
|
+
result?: unknown;
|
|
11469
11463
|
}[];
|
|
11470
11464
|
actionSearchQuery?: string;
|
|
11471
11465
|
knowledge?: {
|
|
@@ -11659,7 +11653,7 @@ export interface components {
|
|
|
11659
11653
|
twitter_failed_at?: string | null;
|
|
11660
11654
|
twitter_error_title?: string | null;
|
|
11661
11655
|
twitter_error_details?: string | null;
|
|
11662
|
-
session_closed_payload
|
|
11656
|
+
session_closed_payload?: unknown;
|
|
11663
11657
|
agent_changed_payload?: components["schemas"]["AgentChangedPayload"] | null;
|
|
11664
11658
|
comment_thread_id?: string | null;
|
|
11665
11659
|
edited_at?: string | null;
|
|
@@ -12025,7 +12019,7 @@ export interface components {
|
|
|
12025
12019
|
first_name?: string;
|
|
12026
12020
|
last_name?: string;
|
|
12027
12021
|
company?: string;
|
|
12028
|
-
salesforce_data
|
|
12022
|
+
salesforce_data?: unknown;
|
|
12029
12023
|
cached_at: string;
|
|
12030
12024
|
salesforce_link: string;
|
|
12031
12025
|
};
|
|
@@ -12039,7 +12033,7 @@ export interface components {
|
|
|
12039
12033
|
billing_city?: string;
|
|
12040
12034
|
billing_state?: string;
|
|
12041
12035
|
billing_country?: string;
|
|
12042
|
-
salesforce_data
|
|
12036
|
+
salesforce_data?: unknown;
|
|
12043
12037
|
salesforce_link: string;
|
|
12044
12038
|
};
|
|
12045
12039
|
SalesforceCrmOpportunityDetailsDto: {
|
|
@@ -12050,7 +12044,7 @@ export interface components {
|
|
|
12050
12044
|
close_date?: string;
|
|
12051
12045
|
is_closed?: boolean;
|
|
12052
12046
|
is_won?: boolean;
|
|
12053
|
-
salesforce_data
|
|
12047
|
+
salesforce_data?: unknown;
|
|
12054
12048
|
salesforce_link: string;
|
|
12055
12049
|
};
|
|
12056
12050
|
SalesforceCrmCaseDetailsDto: {
|
|
@@ -12062,7 +12056,7 @@ export interface components {
|
|
|
12062
12056
|
origin?: string;
|
|
12063
12057
|
created_date?: string;
|
|
12064
12058
|
last_modified_date?: string;
|
|
12065
|
-
salesforce_data
|
|
12059
|
+
salesforce_data?: unknown;
|
|
12066
12060
|
salesforce_link: string;
|
|
12067
12061
|
};
|
|
12068
12062
|
SalesforceCrmCustomObjectRecordDto: {
|
|
@@ -14918,7 +14912,7 @@ export interface components {
|
|
|
14918
14912
|
/** @description Upstream HTTP status code */
|
|
14919
14913
|
status: number;
|
|
14920
14914
|
/** @description Parsed JSON when the response is JSON, else the raw text */
|
|
14921
|
-
body
|
|
14915
|
+
body?: unknown;
|
|
14922
14916
|
};
|
|
14923
14917
|
AgentAvailability: {
|
|
14924
14918
|
id: string;
|
|
@@ -15099,6 +15093,34 @@ export interface components {
|
|
|
15099
15093
|
id: string;
|
|
15100
15094
|
created_at: string;
|
|
15101
15095
|
event: {
|
|
15096
|
+
/** @constant */
|
|
15097
|
+
type: "message";
|
|
15098
|
+
sender: components["schemas"]["ChatMessageSender"];
|
|
15099
|
+
/** @description Per-message email headers. Omitted when no email metadata is stored. Does not include BCC recipients. */
|
|
15100
|
+
email?: {
|
|
15101
|
+
/** @description Original sender address, when stored; may differ from the session contact when Reply-To is used. */
|
|
15102
|
+
from?: string;
|
|
15103
|
+
/** @description Visible To recipients recorded for this message. */
|
|
15104
|
+
to: string[];
|
|
15105
|
+
/** @description Visible CC recipients recorded for this message. */
|
|
15106
|
+
cc: string[];
|
|
15107
|
+
};
|
|
15108
|
+
content: {
|
|
15109
|
+
/** @constant */
|
|
15110
|
+
type: "text";
|
|
15111
|
+
text: string;
|
|
15112
|
+
};
|
|
15113
|
+
context?: {
|
|
15114
|
+
[key: string]: unknown;
|
|
15115
|
+
};
|
|
15116
|
+
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15117
|
+
custom_data?: {
|
|
15118
|
+
[key: string]: unknown;
|
|
15119
|
+
};
|
|
15120
|
+
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15121
|
+
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15122
|
+
options?: components["schemas"]["MessageOptionDto"][];
|
|
15123
|
+
} | {
|
|
15102
15124
|
/** @constant */
|
|
15103
15125
|
type: "session_merged";
|
|
15104
15126
|
/** @constant */
|
|
@@ -15119,6 +15141,13 @@ export interface components {
|
|
|
15119
15141
|
} | {
|
|
15120
15142
|
/** @constant */
|
|
15121
15143
|
type: "api";
|
|
15144
|
+
} | {
|
|
15145
|
+
/** @constant */
|
|
15146
|
+
type: "workflow";
|
|
15147
|
+
/** @description The workflow that performed the merge. */
|
|
15148
|
+
id: string;
|
|
15149
|
+
/** @description The workflow run that performed the merge. */
|
|
15150
|
+
workflow_run_id: string;
|
|
15122
15151
|
};
|
|
15123
15152
|
redacted?: boolean;
|
|
15124
15153
|
};
|
|
@@ -15162,25 +15191,6 @@ export interface components {
|
|
|
15162
15191
|
text: string;
|
|
15163
15192
|
};
|
|
15164
15193
|
comment_thread_id: string | null;
|
|
15165
|
-
} | {
|
|
15166
|
-
/** @constant */
|
|
15167
|
-
type: "message";
|
|
15168
|
-
sender: components["schemas"]["ChatMessageSender"];
|
|
15169
|
-
content: {
|
|
15170
|
-
/** @constant */
|
|
15171
|
-
type: "text";
|
|
15172
|
-
text: string;
|
|
15173
|
-
};
|
|
15174
|
-
context?: {
|
|
15175
|
-
[key: string]: unknown;
|
|
15176
|
-
};
|
|
15177
|
-
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15178
|
-
custom_data?: {
|
|
15179
|
-
[key: string]: unknown;
|
|
15180
|
-
};
|
|
15181
|
-
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15182
|
-
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15183
|
-
options?: components["schemas"]["MessageOptionDto"][];
|
|
15184
15194
|
} | {
|
|
15185
15195
|
/**
|
|
15186
15196
|
* @description An AI draft reply produced in assist mode — suggested to the human support team, never delivered to the contact.
|
|
@@ -15336,7 +15346,7 @@ export interface components {
|
|
|
15336
15346
|
} | {
|
|
15337
15347
|
/** @constant */
|
|
15338
15348
|
type: "state_checkpoint";
|
|
15339
|
-
payload
|
|
15349
|
+
payload?: unknown;
|
|
15340
15350
|
} | {
|
|
15341
15351
|
/** @constant */
|
|
15342
15352
|
type: "csat_requested";
|
|
@@ -15429,6 +15439,25 @@ export interface components {
|
|
|
15429
15439
|
id: string;
|
|
15430
15440
|
created_at: string;
|
|
15431
15441
|
event: {
|
|
15442
|
+
/** @constant */
|
|
15443
|
+
type: "message";
|
|
15444
|
+
sender: components["schemas"]["ChatMessageSender"];
|
|
15445
|
+
content: {
|
|
15446
|
+
/** @constant */
|
|
15447
|
+
type: "text";
|
|
15448
|
+
text: string;
|
|
15449
|
+
};
|
|
15450
|
+
context?: {
|
|
15451
|
+
[key: string]: unknown;
|
|
15452
|
+
};
|
|
15453
|
+
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15454
|
+
custom_data?: {
|
|
15455
|
+
[key: string]: unknown;
|
|
15456
|
+
};
|
|
15457
|
+
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15458
|
+
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15459
|
+
options?: components["schemas"]["MessageOptionDto"][];
|
|
15460
|
+
} | {
|
|
15432
15461
|
/** @constant */
|
|
15433
15462
|
type: "session_merged";
|
|
15434
15463
|
/** @constant */
|
|
@@ -15449,6 +15478,13 @@ export interface components {
|
|
|
15449
15478
|
} | {
|
|
15450
15479
|
/** @constant */
|
|
15451
15480
|
type: "api";
|
|
15481
|
+
} | {
|
|
15482
|
+
/** @constant */
|
|
15483
|
+
type: "workflow";
|
|
15484
|
+
/** @description The workflow that performed the merge. */
|
|
15485
|
+
id: string;
|
|
15486
|
+
/** @description The workflow run that performed the merge. */
|
|
15487
|
+
workflow_run_id: string;
|
|
15452
15488
|
};
|
|
15453
15489
|
redacted?: boolean;
|
|
15454
15490
|
};
|
|
@@ -15492,25 +15528,6 @@ export interface components {
|
|
|
15492
15528
|
text: string;
|
|
15493
15529
|
};
|
|
15494
15530
|
comment_thread_id: string | null;
|
|
15495
|
-
} | {
|
|
15496
|
-
/** @constant */
|
|
15497
|
-
type: "message";
|
|
15498
|
-
sender: components["schemas"]["ChatMessageSender"];
|
|
15499
|
-
content: {
|
|
15500
|
-
/** @constant */
|
|
15501
|
-
type: "text";
|
|
15502
|
-
text: string;
|
|
15503
|
-
};
|
|
15504
|
-
context?: {
|
|
15505
|
-
[key: string]: unknown;
|
|
15506
|
-
};
|
|
15507
|
-
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15508
|
-
custom_data?: {
|
|
15509
|
-
[key: string]: unknown;
|
|
15510
|
-
};
|
|
15511
|
-
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15512
|
-
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15513
|
-
options?: components["schemas"]["MessageOptionDto"][];
|
|
15514
15531
|
} | {
|
|
15515
15532
|
/**
|
|
15516
15533
|
* @description An AI draft reply produced in assist mode — suggested to the human support team, never delivered to the contact.
|
|
@@ -15666,7 +15683,7 @@ export interface components {
|
|
|
15666
15683
|
} | {
|
|
15667
15684
|
/** @constant */
|
|
15668
15685
|
type: "state_checkpoint";
|
|
15669
|
-
payload
|
|
15686
|
+
payload?: unknown;
|
|
15670
15687
|
} | {
|
|
15671
15688
|
/** @constant */
|
|
15672
15689
|
type: "csat_requested";
|
|
@@ -16198,16 +16215,16 @@ export interface components {
|
|
|
16198
16215
|
id: string;
|
|
16199
16216
|
openapi?: {
|
|
16200
16217
|
openapi_spec_id?: string;
|
|
16201
|
-
operation_spec
|
|
16218
|
+
operation_spec?: unknown;
|
|
16202
16219
|
operation_id?: string;
|
|
16203
16220
|
operation_method?: string;
|
|
16204
16221
|
};
|
|
16205
|
-
metadata
|
|
16222
|
+
metadata?: unknown;
|
|
16206
16223
|
required_form_submission?: boolean;
|
|
16207
16224
|
is_handoff_like?: boolean;
|
|
16208
16225
|
};
|
|
16209
|
-
arguments
|
|
16210
|
-
result
|
|
16226
|
+
arguments?: unknown;
|
|
16227
|
+
result?: unknown;
|
|
16211
16228
|
}[];
|
|
16212
16229
|
actionSearchQuery?: string;
|
|
16213
16230
|
knowledge?: {
|
|
@@ -16355,7 +16372,7 @@ export interface components {
|
|
|
16355
16372
|
value: {
|
|
16356
16373
|
/** @constant */
|
|
16357
16374
|
type: "ui_component";
|
|
16358
|
-
request_response
|
|
16375
|
+
request_response?: unknown;
|
|
16359
16376
|
name: string;
|
|
16360
16377
|
content?: string;
|
|
16361
16378
|
};
|
|
@@ -16716,7 +16733,7 @@ export interface components {
|
|
|
16716
16733
|
sender_signature: string | null;
|
|
16717
16734
|
};
|
|
16718
16735
|
PutCustomDomainOutput: {
|
|
16719
|
-
domainRecords
|
|
16736
|
+
domainRecords?: unknown | null;
|
|
16720
16737
|
domainStatus: string | null;
|
|
16721
16738
|
};
|
|
16722
16739
|
MacroSettingsDto: {
|
|
@@ -17215,7 +17232,7 @@ export interface components {
|
|
|
17215
17232
|
/** Format: date-time */
|
|
17216
17233
|
updated_at: string;
|
|
17217
17234
|
provider_external_id: string | null;
|
|
17218
|
-
flow
|
|
17235
|
+
flow?: unknown | null;
|
|
17219
17236
|
use_org_knowledgebase: boolean;
|
|
17220
17237
|
background_noise_preset: ("office" | "bar" | "city-street") | null;
|
|
17221
17238
|
recording_enabled: boolean;
|
|
@@ -17507,7 +17524,7 @@ export interface components {
|
|
|
17507
17524
|
/** Format: email */
|
|
17508
17525
|
email: string;
|
|
17509
17526
|
avatar_url?: string | null;
|
|
17510
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
17527
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-security:read" | "settings-security:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
17511
17528
|
roles: components["schemas"]["OrgUserRole"][];
|
|
17512
17529
|
};
|
|
17513
17530
|
OrgUserDetail: {
|
|
@@ -17517,7 +17534,7 @@ export interface components {
|
|
|
17517
17534
|
/** Format: email */
|
|
17518
17535
|
email: string;
|
|
17519
17536
|
avatar_url?: string | null;
|
|
17520
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
17537
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-security:read" | "settings-security:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
17521
17538
|
roles: components["schemas"]["OrgUserRole"][];
|
|
17522
17539
|
teams: {
|
|
17523
17540
|
group: components["schemas"]["GroupDto"];
|
|
@@ -17539,7 +17556,7 @@ export interface components {
|
|
|
17539
17556
|
id: string;
|
|
17540
17557
|
name: string;
|
|
17541
17558
|
description: string | null;
|
|
17542
|
-
permissions: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[];
|
|
17559
|
+
permissions: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-security:read" | "settings-security:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[];
|
|
17543
17560
|
};
|
|
17544
17561
|
PublicInsight: {
|
|
17545
17562
|
/** Format: uuid */
|
|
@@ -18301,7 +18318,7 @@ export interface components {
|
|
|
18301
18318
|
/** @description Saved sending region, or null for older domains without a recorded region. */
|
|
18302
18319
|
region: ("eu-west-1" | "us-east-1") | null;
|
|
18303
18320
|
domainNameVerificationStatus: string | null;
|
|
18304
|
-
records
|
|
18321
|
+
records?: unknown | null;
|
|
18305
18322
|
}[];
|
|
18306
18323
|
ListEmailChannelsOutput: components["schemas"]["PublicEmailChannelDto"][];
|
|
18307
18324
|
ListEmailTemplatesOutput: components["schemas"]["EmailTemplateDto"][];
|
|
@@ -18906,7 +18923,7 @@ export interface operations {
|
|
|
18906
18923
|
query?: {
|
|
18907
18924
|
startDate?: string;
|
|
18908
18925
|
endDate?: string;
|
|
18909
|
-
/** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, genesys_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation, workspace_settings. */
|
|
18926
|
+
/** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, genesys_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation, workspace_settings. */
|
|
18910
18927
|
entityType?: string | string[];
|
|
18911
18928
|
entityId?: string;
|
|
18912
18929
|
/** @description Repeat to match any of several. Known values: create, update, delete, archive, restore, delete_multiple, unpublish, login, logout, password_change, password_reset, token_create, token_revoke, idle_exit, settings_update, handoff_settings_update, translation_settings_update, integration_connect, mcp_tool_call, access_token_retrieved, integration_disconnect, secret_rotate, webhook_create, webhook_update, webhook_delete, permission_grant, permission_revoke, api_key_create, api_key_delete, twitter_chat_passcode_reveal, user_invite, user_invite_accept, user_remove, email_send, message_send, teammate_call_started, teammate_call_ended, conference_participant_invited, conference_participant_removed, session_takeover, session_assignee_update, organization_update, ownership_transfer, organization_ai_profile_update, organization_global_variable_delete, update_agent_availability_status, redaction, message_deleted, user_invite_delete, user_invite_resend, user_invite_link_copied, super_invite_link_created, super_invite_link_used, alert_rule.created, alert_rule.updated, alert_rule.deleted, publish, share. */
|