getricky 0.1.22 → 0.1.24
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,43 @@ 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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
2812
2812
|
*/
|
|
2813
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
2813
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
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
|
+
};
|
|
2831
|
+
/**
|
|
2832
|
+
* The period of a `team_away` workflow.
|
|
2833
|
+
*/
|
|
2834
|
+
coverage?: {
|
|
2835
|
+
/**
|
|
2836
|
+
* When the team goes away.
|
|
2837
|
+
*/
|
|
2838
|
+
starts_at: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* When the team is back.
|
|
2841
|
+
*/
|
|
2842
|
+
ends_at: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* What the agent tells customers meanwhile.
|
|
2845
|
+
*/
|
|
2846
|
+
notice: string | null;
|
|
2847
|
+
};
|
|
2818
2848
|
/**
|
|
2819
2849
|
* When it runs; null runs at any hour.
|
|
2820
2850
|
*/
|
|
@@ -4283,13 +4313,43 @@ export type CreateWorkflow = {
|
|
|
4283
4313
|
*/
|
|
4284
4314
|
definition: {
|
|
4285
4315
|
/**
|
|
4286
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4316
|
+
* `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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
4287
4317
|
*/
|
|
4288
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4318
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
4289
4319
|
/**
|
|
4290
4320
|
* Channels it listens to. See `GET /channels`.
|
|
4291
4321
|
*/
|
|
4292
4322
|
channel_ids: Array<string>;
|
|
4323
|
+
/**
|
|
4324
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4325
|
+
*/
|
|
4326
|
+
message_filters?: {
|
|
4327
|
+
/**
|
|
4328
|
+
* Only while nobody has the conversation.
|
|
4329
|
+
*/
|
|
4330
|
+
only_unassigned: boolean;
|
|
4331
|
+
/**
|
|
4332
|
+
* Not when the customer taps a button.
|
|
4333
|
+
*/
|
|
4334
|
+
skip_buttons: boolean;
|
|
4335
|
+
};
|
|
4336
|
+
/**
|
|
4337
|
+
* The period of a `team_away` workflow.
|
|
4338
|
+
*/
|
|
4339
|
+
coverage?: {
|
|
4340
|
+
/**
|
|
4341
|
+
* When the team goes away.
|
|
4342
|
+
*/
|
|
4343
|
+
starts_at: string;
|
|
4344
|
+
/**
|
|
4345
|
+
* When the team is back.
|
|
4346
|
+
*/
|
|
4347
|
+
ends_at: string;
|
|
4348
|
+
/**
|
|
4349
|
+
* What the agent tells customers meanwhile.
|
|
4350
|
+
*/
|
|
4351
|
+
notice: string | null;
|
|
4352
|
+
};
|
|
4293
4353
|
/**
|
|
4294
4354
|
* When it runs; null runs at any hour.
|
|
4295
4355
|
*/
|
|
@@ -4508,13 +4568,43 @@ export type UpdateWorkflow = {
|
|
|
4508
4568
|
*/
|
|
4509
4569
|
definition?: {
|
|
4510
4570
|
/**
|
|
4511
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4571
|
+
* `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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
4512
4572
|
*/
|
|
4513
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4573
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
4514
4574
|
/**
|
|
4515
4575
|
* Channels it listens to. See `GET /channels`.
|
|
4516
4576
|
*/
|
|
4517
4577
|
channel_ids: Array<string>;
|
|
4578
|
+
/**
|
|
4579
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4580
|
+
*/
|
|
4581
|
+
message_filters?: {
|
|
4582
|
+
/**
|
|
4583
|
+
* Only while nobody has the conversation.
|
|
4584
|
+
*/
|
|
4585
|
+
only_unassigned: boolean;
|
|
4586
|
+
/**
|
|
4587
|
+
* Not when the customer taps a button.
|
|
4588
|
+
*/
|
|
4589
|
+
skip_buttons: boolean;
|
|
4590
|
+
};
|
|
4591
|
+
/**
|
|
4592
|
+
* The period of a `team_away` workflow.
|
|
4593
|
+
*/
|
|
4594
|
+
coverage?: {
|
|
4595
|
+
/**
|
|
4596
|
+
* When the team goes away.
|
|
4597
|
+
*/
|
|
4598
|
+
starts_at: string;
|
|
4599
|
+
/**
|
|
4600
|
+
* When the team is back.
|
|
4601
|
+
*/
|
|
4602
|
+
ends_at: string;
|
|
4603
|
+
/**
|
|
4604
|
+
* What the agent tells customers meanwhile.
|
|
4605
|
+
*/
|
|
4606
|
+
notice: string | null;
|
|
4607
|
+
};
|
|
4518
4608
|
/**
|
|
4519
4609
|
* When it runs; null runs at any hour.
|
|
4520
4610
|
*/
|
|
@@ -2808,13 +2808,43 @@ 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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
2812
2812
|
*/
|
|
2813
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
2813
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
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
|
+
};
|
|
2831
|
+
/**
|
|
2832
|
+
* The period of a `team_away` workflow.
|
|
2833
|
+
*/
|
|
2834
|
+
coverage?: {
|
|
2835
|
+
/**
|
|
2836
|
+
* When the team goes away.
|
|
2837
|
+
*/
|
|
2838
|
+
starts_at: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* When the team is back.
|
|
2841
|
+
*/
|
|
2842
|
+
ends_at: string;
|
|
2843
|
+
/**
|
|
2844
|
+
* What the agent tells customers meanwhile.
|
|
2845
|
+
*/
|
|
2846
|
+
notice: string | null;
|
|
2847
|
+
};
|
|
2818
2848
|
/**
|
|
2819
2849
|
* When it runs; null runs at any hour.
|
|
2820
2850
|
*/
|
|
@@ -4283,13 +4313,43 @@ export type CreateWorkflow = {
|
|
|
4283
4313
|
*/
|
|
4284
4314
|
definition: {
|
|
4285
4315
|
/**
|
|
4286
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4316
|
+
* `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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
4287
4317
|
*/
|
|
4288
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4318
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
4289
4319
|
/**
|
|
4290
4320
|
* Channels it listens to. See `GET /channels`.
|
|
4291
4321
|
*/
|
|
4292
4322
|
channel_ids: Array<string>;
|
|
4323
|
+
/**
|
|
4324
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4325
|
+
*/
|
|
4326
|
+
message_filters?: {
|
|
4327
|
+
/**
|
|
4328
|
+
* Only while nobody has the conversation.
|
|
4329
|
+
*/
|
|
4330
|
+
only_unassigned: boolean;
|
|
4331
|
+
/**
|
|
4332
|
+
* Not when the customer taps a button.
|
|
4333
|
+
*/
|
|
4334
|
+
skip_buttons: boolean;
|
|
4335
|
+
};
|
|
4336
|
+
/**
|
|
4337
|
+
* The period of a `team_away` workflow.
|
|
4338
|
+
*/
|
|
4339
|
+
coverage?: {
|
|
4340
|
+
/**
|
|
4341
|
+
* When the team goes away.
|
|
4342
|
+
*/
|
|
4343
|
+
starts_at: string;
|
|
4344
|
+
/**
|
|
4345
|
+
* When the team is back.
|
|
4346
|
+
*/
|
|
4347
|
+
ends_at: string;
|
|
4348
|
+
/**
|
|
4349
|
+
* What the agent tells customers meanwhile.
|
|
4350
|
+
*/
|
|
4351
|
+
notice: string | null;
|
|
4352
|
+
};
|
|
4293
4353
|
/**
|
|
4294
4354
|
* When it runs; null runs at any hour.
|
|
4295
4355
|
*/
|
|
@@ -4508,13 +4568,43 @@ export type UpdateWorkflow = {
|
|
|
4508
4568
|
*/
|
|
4509
4569
|
definition?: {
|
|
4510
4570
|
/**
|
|
4511
|
-
* `conversation_opened` runs when a conversation opens; `first_message_received` when the first message from the contact in a conversation arrives.
|
|
4571
|
+
* `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. `team_away` runs nothing: during `coverage` the agent of its only `assign_agent` step answers every conversation of its channels and no assignee moves.
|
|
4512
4572
|
*/
|
|
4513
|
-
trigger: 'conversation_opened' | 'first_message_received';
|
|
4573
|
+
trigger: 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away';
|
|
4514
4574
|
/**
|
|
4515
4575
|
* Channels it listens to. See `GET /channels`.
|
|
4516
4576
|
*/
|
|
4517
4577
|
channel_ids: Array<string>;
|
|
4578
|
+
/**
|
|
4579
|
+
* Which messages a `message_received` workflow reacts to.
|
|
4580
|
+
*/
|
|
4581
|
+
message_filters?: {
|
|
4582
|
+
/**
|
|
4583
|
+
* Only while nobody has the conversation.
|
|
4584
|
+
*/
|
|
4585
|
+
only_unassigned: boolean;
|
|
4586
|
+
/**
|
|
4587
|
+
* Not when the customer taps a button.
|
|
4588
|
+
*/
|
|
4589
|
+
skip_buttons: boolean;
|
|
4590
|
+
};
|
|
4591
|
+
/**
|
|
4592
|
+
* The period of a `team_away` workflow.
|
|
4593
|
+
*/
|
|
4594
|
+
coverage?: {
|
|
4595
|
+
/**
|
|
4596
|
+
* When the team goes away.
|
|
4597
|
+
*/
|
|
4598
|
+
starts_at: string;
|
|
4599
|
+
/**
|
|
4600
|
+
* When the team is back.
|
|
4601
|
+
*/
|
|
4602
|
+
ends_at: string;
|
|
4603
|
+
/**
|
|
4604
|
+
* What the agent tells customers meanwhile.
|
|
4605
|
+
*/
|
|
4606
|
+
notice: string | null;
|
|
4607
|
+
};
|
|
4518
4608
|
/**
|
|
4519
4609
|
* When it runs; null runs at any hour.
|
|
4520
4610
|
*/
|