getricky 0.1.22 → 0.1.23
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.
|
@@ -2808,13 +2808,26 @@ export type Workflow = {
|
|
|
2808
2808
|
type: 'conversation' | 'scheduled';
|
|
2809
2809
|
definition: {
|
|
2810
2810
|
/**
|
|
2811
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
2811
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
2812
2812
|
*/
|
|
2813
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
2813
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
2814
2814
|
/**
|
|
2815
2815
|
* Channels it listens to. See `GET /channels`.
|
|
2816
2816
|
*/
|
|
2817
2817
|
channel_ids: Array<string>;
|
|
2818
|
+
/**
|
|
2819
|
+
* Which messages a `message_received` workflow reacts to.
|
|
2820
|
+
*/
|
|
2821
|
+
message_filters?: {
|
|
2822
|
+
/**
|
|
2823
|
+
* Only while nobody has the conversation.
|
|
2824
|
+
*/
|
|
2825
|
+
only_unassigned: boolean;
|
|
2826
|
+
/**
|
|
2827
|
+
* Not when the customer taps a button.
|
|
2828
|
+
*/
|
|
2829
|
+
skip_buttons: boolean;
|
|
2830
|
+
};
|
|
2818
2831
|
/**
|
|
2819
2832
|
* When it runs; null runs at any hour.
|
|
2820
2833
|
*/
|
|
@@ -4283,13 +4296,26 @@ export type CreateWorkflow = {
|
|
|
4283
4296
|
*/
|
|
4284
4297
|
definition: {
|
|
4285
4298
|
/**
|
|
4286
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4299
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
4287
4300
|
*/
|
|
4288
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4301
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
4289
4302
|
/**
|
|
4290
4303
|
* Channels it listens to. See `GET /channels`.
|
|
4291
4304
|
*/
|
|
4292
4305
|
channel_ids: Array<string>;
|
|
4306
|
+
/**
|
|
4307
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4308
|
+
*/
|
|
4309
|
+
message_filters?: {
|
|
4310
|
+
/**
|
|
4311
|
+
* Only while nobody has the conversation.
|
|
4312
|
+
*/
|
|
4313
|
+
only_unassigned: boolean;
|
|
4314
|
+
/**
|
|
4315
|
+
* Not when the customer taps a button.
|
|
4316
|
+
*/
|
|
4317
|
+
skip_buttons: boolean;
|
|
4318
|
+
};
|
|
4293
4319
|
/**
|
|
4294
4320
|
* When it runs; null runs at any hour.
|
|
4295
4321
|
*/
|
|
@@ -4508,13 +4534,26 @@ export type UpdateWorkflow = {
|
|
|
4508
4534
|
*/
|
|
4509
4535
|
definition?: {
|
|
4510
4536
|
/**
|
|
4511
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4537
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
4512
4538
|
*/
|
|
4513
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4539
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
4514
4540
|
/**
|
|
4515
4541
|
* Channels it listens to. See `GET /channels`.
|
|
4516
4542
|
*/
|
|
4517
4543
|
channel_ids: Array<string>;
|
|
4544
|
+
/**
|
|
4545
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4546
|
+
*/
|
|
4547
|
+
message_filters?: {
|
|
4548
|
+
/**
|
|
4549
|
+
* Only while nobody has the conversation.
|
|
4550
|
+
*/
|
|
4551
|
+
only_unassigned: boolean;
|
|
4552
|
+
/**
|
|
4553
|
+
* Not when the customer taps a button.
|
|
4554
|
+
*/
|
|
4555
|
+
skip_buttons: boolean;
|
|
4556
|
+
};
|
|
4518
4557
|
/**
|
|
4519
4558
|
* When it runs; null runs at any hour.
|
|
4520
4559
|
*/
|
|
@@ -2808,13 +2808,26 @@ export type Workflow = {
|
|
|
2808
2808
|
type: 'conversation' | 'scheduled';
|
|
2809
2809
|
definition: {
|
|
2810
2810
|
/**
|
|
2811
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
2811
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
2812
2812
|
*/
|
|
2813
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
2813
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
2814
2814
|
/**
|
|
2815
2815
|
* Channels it listens to. See `GET /channels`.
|
|
2816
2816
|
*/
|
|
2817
2817
|
channel_ids: Array<string>;
|
|
2818
|
+
/**
|
|
2819
|
+
* Which messages a `message_received` workflow reacts to.
|
|
2820
|
+
*/
|
|
2821
|
+
message_filters?: {
|
|
2822
|
+
/**
|
|
2823
|
+
* Only while nobody has the conversation.
|
|
2824
|
+
*/
|
|
2825
|
+
only_unassigned: boolean;
|
|
2826
|
+
/**
|
|
2827
|
+
* Not when the customer taps a button.
|
|
2828
|
+
*/
|
|
2829
|
+
skip_buttons: boolean;
|
|
2830
|
+
};
|
|
2818
2831
|
/**
|
|
2819
2832
|
* When it runs; null runs at any hour.
|
|
2820
2833
|
*/
|
|
@@ -4283,13 +4296,26 @@ export type CreateWorkflow = {
|
|
|
4283
4296
|
*/
|
|
4284
4297
|
definition: {
|
|
4285
4298
|
/**
|
|
4286
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4299
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
4287
4300
|
*/
|
|
4288
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4301
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
4289
4302
|
/**
|
|
4290
4303
|
* Channels it listens to. See `GET /channels`.
|
|
4291
4304
|
*/
|
|
4292
4305
|
channel_ids: Array<string>;
|
|
4306
|
+
/**
|
|
4307
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4308
|
+
*/
|
|
4309
|
+
message_filters?: {
|
|
4310
|
+
/**
|
|
4311
|
+
* Only while nobody has the conversation.
|
|
4312
|
+
*/
|
|
4313
|
+
only_unassigned: boolean;
|
|
4314
|
+
/**
|
|
4315
|
+
* Not when the customer taps a button.
|
|
4316
|
+
*/
|
|
4317
|
+
skip_buttons: boolean;
|
|
4318
|
+
};
|
|
4293
4319
|
/**
|
|
4294
4320
|
* When it runs; null runs at any hour.
|
|
4295
4321
|
*/
|
|
@@ -4508,13 +4534,26 @@ export type UpdateWorkflow = {
|
|
|
4508
4534
|
*/
|
|
4509
4535
|
definition?: {
|
|
4510
4536
|
/**
|
|
4511
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4537
|
+
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives; `message_received` on every incoming message.
|
|
4512
4538
|
*/
|
|
4513
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4539
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received';
|
|
4514
4540
|
/**
|
|
4515
4541
|
* Channels it listens to. See `GET /channels`.
|
|
4516
4542
|
*/
|
|
4517
4543
|
channel_ids: Array<string>;
|
|
4544
|
+
/**
|
|
4545
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4546
|
+
*/
|
|
4547
|
+
message_filters?: {
|
|
4548
|
+
/**
|
|
4549
|
+
* Only while nobody has the conversation.
|
|
4550
|
+
*/
|
|
4551
|
+
only_unassigned: boolean;
|
|
4552
|
+
/**
|
|
4553
|
+
* Not when the customer taps a button.
|
|
4554
|
+
*/
|
|
4555
|
+
skip_buttons: boolean;
|
|
4556
|
+
};
|
|
4518
4557
|
/**
|
|
4519
4558
|
* When it runs; null runs at any hour.
|
|
4520
4559
|
*/
|