getricky 0.1.38 → 0.1.39
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.
|
@@ -3318,7 +3318,7 @@ export type Workflow = {
|
|
|
3318
3318
|
type: 'conversation' | 'scheduled';
|
|
3319
3319
|
definition: {
|
|
3320
3320
|
/**
|
|
3321
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
3321
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
3322
3322
|
*/
|
|
3323
3323
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
3324
3324
|
/**
|
|
@@ -3334,7 +3334,7 @@ export type Workflow = {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
message_filters?: {
|
|
3336
3336
|
/**
|
|
3337
|
-
* Match the first
|
|
3337
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
3338
3338
|
*/
|
|
3339
3339
|
first_message?: boolean;
|
|
3340
3340
|
/**
|
|
@@ -4991,7 +4991,7 @@ export type CreateWorkflow = {
|
|
|
4991
4991
|
*/
|
|
4992
4992
|
definition: {
|
|
4993
4993
|
/**
|
|
4994
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
4994
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
4995
4995
|
*/
|
|
4996
4996
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
4997
4997
|
/**
|
|
@@ -5007,7 +5007,7 @@ export type CreateWorkflow = {
|
|
|
5007
5007
|
*/
|
|
5008
5008
|
message_filters?: {
|
|
5009
5009
|
/**
|
|
5010
|
-
* Match the first
|
|
5010
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
5011
5011
|
*/
|
|
5012
5012
|
first_message?: boolean;
|
|
5013
5013
|
/**
|
|
@@ -5280,7 +5280,7 @@ export type UpdateWorkflow = {
|
|
|
5280
5280
|
*/
|
|
5281
5281
|
definition?: {
|
|
5282
5282
|
/**
|
|
5283
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
5283
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
5284
5284
|
*/
|
|
5285
5285
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
5286
5286
|
/**
|
|
@@ -5296,7 +5296,7 @@ export type UpdateWorkflow = {
|
|
|
5296
5296
|
*/
|
|
5297
5297
|
message_filters?: {
|
|
5298
5298
|
/**
|
|
5299
|
-
* Match the first
|
|
5299
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
5300
5300
|
*/
|
|
5301
5301
|
first_message?: boolean;
|
|
5302
5302
|
/**
|
|
@@ -3318,7 +3318,7 @@ export type Workflow = {
|
|
|
3318
3318
|
type: 'conversation' | 'scheduled';
|
|
3319
3319
|
definition: {
|
|
3320
3320
|
/**
|
|
3321
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
3321
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
3322
3322
|
*/
|
|
3323
3323
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
3324
3324
|
/**
|
|
@@ -3334,7 +3334,7 @@ export type Workflow = {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
message_filters?: {
|
|
3336
3336
|
/**
|
|
3337
|
-
* Match the first
|
|
3337
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
3338
3338
|
*/
|
|
3339
3339
|
first_message?: boolean;
|
|
3340
3340
|
/**
|
|
@@ -4991,7 +4991,7 @@ export type CreateWorkflow = {
|
|
|
4991
4991
|
*/
|
|
4992
4992
|
definition: {
|
|
4993
4993
|
/**
|
|
4994
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
4994
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
4995
4995
|
*/
|
|
4996
4996
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
4997
4997
|
/**
|
|
@@ -5007,7 +5007,7 @@ export type CreateWorkflow = {
|
|
|
5007
5007
|
*/
|
|
5008
5008
|
message_filters?: {
|
|
5009
5009
|
/**
|
|
5010
|
-
* Match the first
|
|
5010
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
5011
5011
|
*/
|
|
5012
5012
|
first_message?: boolean;
|
|
5013
5013
|
/**
|
|
@@ -5280,7 +5280,7 @@ export type UpdateWorkflow = {
|
|
|
5280
5280
|
*/
|
|
5281
5281
|
definition?: {
|
|
5282
5282
|
/**
|
|
5283
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the
|
|
5283
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the contact writes first in a conversation, before any message from the business; `message_received` on every incoming message; `message_sent` within 15 minutes of an outgoing message that passes `sent_message_filters`, unless the contact replied first. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers the conversations of its channels (only those assigned to `coverage.assigned_user_ids` when given) and no assignee moves; when each period starts it answers those already waiting for a reply. `call_received` decides who answers a WhatsApp call on its channels (WhatsApp numbers with AI calls on): its flow takes only `answer_call`, `decline_call` and a `branch` on `business_hours`, and the first active one that reaches a call step decides, over whoever holds the conversation.
|
|
5284
5284
|
*/
|
|
5285
5285
|
trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
|
|
5286
5286
|
/**
|
|
@@ -5296,7 +5296,7 @@ export type UpdateWorkflow = {
|
|
|
5296
5296
|
*/
|
|
5297
5297
|
message_filters?: {
|
|
5298
5298
|
/**
|
|
5299
|
-
* Match the first
|
|
5299
|
+
* Match the contact writing first, before any message from the business, OR only_unassigned. Neither selected matches every message.
|
|
5300
5300
|
*/
|
|
5301
5301
|
first_message?: boolean;
|
|
5302
5302
|
/**
|