getricky 0.1.36 → 0.1.38

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,9 +3318,9 @@ 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 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. `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.
3321
+ * `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; `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
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
3323
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
3324
3324
  /**
3325
3325
  * Channels it listens to. See `GET /channels`.
3326
3326
  */
@@ -3334,7 +3334,11 @@ export type Workflow = {
3334
3334
  */
3335
3335
  message_filters?: {
3336
3336
  /**
3337
- * Only while nobody has the conversation.
3337
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
3338
+ */
3339
+ first_message?: boolean;
3340
+ /**
3341
+ * Match while nobody has the conversation; OR first_message when selected.
3338
3342
  */
3339
3343
  only_unassigned: boolean;
3340
3344
  /**
@@ -3343,17 +3347,38 @@ export type Workflow = {
3343
3347
  skip_buttons: boolean;
3344
3348
  };
3345
3349
  /**
3346
- * The period of a `team_away` workflow.
3350
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
3351
+ */
3352
+ sent_message_filters?: {
3353
+ /**
3354
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
3355
+ */
3356
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
3357
+ /**
3358
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
3359
+ */
3360
+ text_contains?: string;
3361
+ };
3362
+ /**
3363
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
3347
3364
  */
3348
3365
  coverage?: {
3349
3366
  /**
3350
- * When the team goes away.
3367
+ * When the team goes away, for one period; with `ends_at`.
3368
+ */
3369
+ starts_at?: string;
3370
+ /**
3371
+ * When the team is back, for one period; with `starts_at`.
3372
+ */
3373
+ ends_at?: string;
3374
+ /**
3375
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
3351
3376
  */
3352
- starts_at: string;
3377
+ team_hours?: BusinessHours;
3353
3378
  /**
3354
- * When the team is back.
3379
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
3355
3380
  */
3356
- ends_at: string;
3381
+ assigned_user_ids?: Array<string>;
3357
3382
  /**
3358
3383
  * What the agent tells customers meanwhile.
3359
3384
  */
@@ -4966,9 +4991,9 @@ export type CreateWorkflow = {
4966
4991
  */
4967
4992
  definition: {
4968
4993
  /**
4969
- * `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. `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.
4994
+ * `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; `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.
4970
4995
  */
4971
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
4996
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
4972
4997
  /**
4973
4998
  * Channels it listens to. See `GET /channels`.
4974
4999
  */
@@ -4982,7 +5007,11 @@ export type CreateWorkflow = {
4982
5007
  */
4983
5008
  message_filters?: {
4984
5009
  /**
4985
- * Only while nobody has the conversation.
5010
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
5011
+ */
5012
+ first_message?: boolean;
5013
+ /**
5014
+ * Match while nobody has the conversation; OR first_message when selected.
4986
5015
  */
4987
5016
  only_unassigned: boolean;
4988
5017
  /**
@@ -4991,17 +5020,38 @@ export type CreateWorkflow = {
4991
5020
  skip_buttons: boolean;
4992
5021
  };
4993
5022
  /**
4994
- * The period of a `team_away` workflow.
5023
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
5024
+ */
5025
+ sent_message_filters?: {
5026
+ /**
5027
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
5028
+ */
5029
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
5030
+ /**
5031
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
5032
+ */
5033
+ text_contains?: string;
5034
+ };
5035
+ /**
5036
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
4995
5037
  */
4996
5038
  coverage?: {
4997
5039
  /**
4998
- * When the team goes away.
5040
+ * When the team goes away, for one period; with `ends_at`.
5041
+ */
5042
+ starts_at?: string;
5043
+ /**
5044
+ * When the team is back, for one period; with `starts_at`.
5045
+ */
5046
+ ends_at?: string;
5047
+ /**
5048
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
4999
5049
  */
5000
- starts_at: string;
5050
+ team_hours?: BusinessHoursInput;
5001
5051
  /**
5002
- * When the team is back.
5052
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
5003
5053
  */
5004
- ends_at: string;
5054
+ assigned_user_ids?: Array<string>;
5005
5055
  /**
5006
5056
  * What the agent tells customers meanwhile.
5007
5057
  */
@@ -5230,9 +5280,9 @@ export type UpdateWorkflow = {
5230
5280
  */
5231
5281
  definition?: {
5232
5282
  /**
5233
- * `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. `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.
5283
+ * `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; `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.
5234
5284
  */
5235
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
5285
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
5236
5286
  /**
5237
5287
  * Channels it listens to. See `GET /channels`.
5238
5288
  */
@@ -5246,7 +5296,11 @@ export type UpdateWorkflow = {
5246
5296
  */
5247
5297
  message_filters?: {
5248
5298
  /**
5249
- * Only while nobody has the conversation.
5299
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
5300
+ */
5301
+ first_message?: boolean;
5302
+ /**
5303
+ * Match while nobody has the conversation; OR first_message when selected.
5250
5304
  */
5251
5305
  only_unassigned: boolean;
5252
5306
  /**
@@ -5255,17 +5309,38 @@ export type UpdateWorkflow = {
5255
5309
  skip_buttons: boolean;
5256
5310
  };
5257
5311
  /**
5258
- * The period of a `team_away` workflow.
5312
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
5313
+ */
5314
+ sent_message_filters?: {
5315
+ /**
5316
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
5317
+ */
5318
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
5319
+ /**
5320
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
5321
+ */
5322
+ text_contains?: string;
5323
+ };
5324
+ /**
5325
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
5259
5326
  */
5260
5327
  coverage?: {
5261
5328
  /**
5262
- * When the team goes away.
5329
+ * When the team goes away, for one period; with `ends_at`.
5330
+ */
5331
+ starts_at?: string;
5332
+ /**
5333
+ * When the team is back, for one period; with `starts_at`.
5334
+ */
5335
+ ends_at?: string;
5336
+ /**
5337
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
5263
5338
  */
5264
- starts_at: string;
5339
+ team_hours?: BusinessHoursInput;
5265
5340
  /**
5266
- * When the team is back.
5341
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
5267
5342
  */
5268
- ends_at: string;
5343
+ assigned_user_ids?: Array<string>;
5269
5344
  /**
5270
5345
  * What the agent tells customers meanwhile.
5271
5346
  */
@@ -3318,9 +3318,9 @@ 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 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. `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.
3321
+ * `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; `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
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
3323
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
3324
3324
  /**
3325
3325
  * Channels it listens to. See `GET /channels`.
3326
3326
  */
@@ -3334,7 +3334,11 @@ export type Workflow = {
3334
3334
  */
3335
3335
  message_filters?: {
3336
3336
  /**
3337
- * Only while nobody has the conversation.
3337
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
3338
+ */
3339
+ first_message?: boolean;
3340
+ /**
3341
+ * Match while nobody has the conversation; OR first_message when selected.
3338
3342
  */
3339
3343
  only_unassigned: boolean;
3340
3344
  /**
@@ -3343,17 +3347,38 @@ export type Workflow = {
3343
3347
  skip_buttons: boolean;
3344
3348
  };
3345
3349
  /**
3346
- * The period of a `team_away` workflow.
3350
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
3351
+ */
3352
+ sent_message_filters?: {
3353
+ /**
3354
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
3355
+ */
3356
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
3357
+ /**
3358
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
3359
+ */
3360
+ text_contains?: string;
3361
+ };
3362
+ /**
3363
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
3347
3364
  */
3348
3365
  coverage?: {
3349
3366
  /**
3350
- * When the team goes away.
3367
+ * When the team goes away, for one period; with `ends_at`.
3368
+ */
3369
+ starts_at?: string;
3370
+ /**
3371
+ * When the team is back, for one period; with `starts_at`.
3372
+ */
3373
+ ends_at?: string;
3374
+ /**
3375
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
3351
3376
  */
3352
- starts_at: string;
3377
+ team_hours?: BusinessHours;
3353
3378
  /**
3354
- * When the team is back.
3379
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
3355
3380
  */
3356
- ends_at: string;
3381
+ assigned_user_ids?: Array<string>;
3357
3382
  /**
3358
3383
  * What the agent tells customers meanwhile.
3359
3384
  */
@@ -4966,9 +4991,9 @@ export type CreateWorkflow = {
4966
4991
  */
4967
4992
  definition: {
4968
4993
  /**
4969
- * `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. `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.
4994
+ * `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; `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.
4970
4995
  */
4971
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
4996
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
4972
4997
  /**
4973
4998
  * Channels it listens to. See `GET /channels`.
4974
4999
  */
@@ -4982,7 +5007,11 @@ export type CreateWorkflow = {
4982
5007
  */
4983
5008
  message_filters?: {
4984
5009
  /**
4985
- * Only while nobody has the conversation.
5010
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
5011
+ */
5012
+ first_message?: boolean;
5013
+ /**
5014
+ * Match while nobody has the conversation; OR first_message when selected.
4986
5015
  */
4987
5016
  only_unassigned: boolean;
4988
5017
  /**
@@ -4991,17 +5020,38 @@ export type CreateWorkflow = {
4991
5020
  skip_buttons: boolean;
4992
5021
  };
4993
5022
  /**
4994
- * The period of a `team_away` workflow.
5023
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
5024
+ */
5025
+ sent_message_filters?: {
5026
+ /**
5027
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
5028
+ */
5029
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
5030
+ /**
5031
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
5032
+ */
5033
+ text_contains?: string;
5034
+ };
5035
+ /**
5036
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
4995
5037
  */
4996
5038
  coverage?: {
4997
5039
  /**
4998
- * When the team goes away.
5040
+ * When the team goes away, for one period; with `ends_at`.
5041
+ */
5042
+ starts_at?: string;
5043
+ /**
5044
+ * When the team is back, for one period; with `starts_at`.
5045
+ */
5046
+ ends_at?: string;
5047
+ /**
5048
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
4999
5049
  */
5000
- starts_at: string;
5050
+ team_hours?: BusinessHoursInput;
5001
5051
  /**
5002
- * When the team is back.
5052
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
5003
5053
  */
5004
- ends_at: string;
5054
+ assigned_user_ids?: Array<string>;
5005
5055
  /**
5006
5056
  * What the agent tells customers meanwhile.
5007
5057
  */
@@ -5230,9 +5280,9 @@ export type UpdateWorkflow = {
5230
5280
  */
5231
5281
  definition?: {
5232
5282
  /**
5233
- * `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. `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.
5283
+ * `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; `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.
5234
5284
  */
5235
- trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'team_away' | 'team_message_unanswered' | 'call_received';
5285
+ trigger: 'conversation_inactive' | 'conversation_opened' | 'first_message_received' | 'message_received' | 'message_sent' | 'team_away' | 'team_message_unanswered' | 'call_received';
5236
5286
  /**
5237
5287
  * Channels it listens to. See `GET /channels`.
5238
5288
  */
@@ -5246,7 +5296,11 @@ export type UpdateWorkflow = {
5246
5296
  */
5247
5297
  message_filters?: {
5248
5298
  /**
5249
- * Only while nobody has the conversation.
5299
+ * Match the first inbound message OR only_unassigned. Neither selected matches every message.
5300
+ */
5301
+ first_message?: boolean;
5302
+ /**
5303
+ * Match while nobody has the conversation; OR first_message when selected.
5250
5304
  */
5251
5305
  only_unassigned: boolean;
5252
5306
  /**
@@ -5255,17 +5309,38 @@ export type UpdateWorkflow = {
5255
5309
  skip_buttons: boolean;
5256
5310
  };
5257
5311
  /**
5258
- * The period of a `team_away` workflow.
5312
+ * Which outgoing messages a `message_sent` workflow reacts to; required for it.
5313
+ */
5314
+ sent_message_filters?: {
5315
+ /**
5316
+ * Who sent it: `person` (the team), `ai` (an AI agent, including its tools), `automation` (a workflow), `broadcast`, or `external_app` (another app connected to the channel). Each at most once.
5317
+ */
5318
+ senders: Array<'person' | 'ai' | 'automation' | 'broadcast' | 'external_app'>;
5319
+ /**
5320
+ * Only when the message contains this text, ignoring case, accents and repeated spaces.
5321
+ */
5322
+ text_contains?: string;
5323
+ };
5324
+ /**
5325
+ * When a `team_away` workflow covers: one period, or every week outside the team's hours.
5259
5326
  */
5260
5327
  coverage?: {
5261
5328
  /**
5262
- * When the team goes away.
5329
+ * When the team goes away, for one period; with `ends_at`.
5330
+ */
5331
+ starts_at?: string;
5332
+ /**
5333
+ * When the team is back, for one period; with `starts_at`.
5334
+ */
5335
+ ends_at?: string;
5336
+ /**
5337
+ * The team's hours, instead of `starts_at` and `ends_at`: the agent covers every week outside them, each closing starting a period.
5263
5338
  */
5264
- starts_at: string;
5339
+ team_hours?: BusinessHoursInput;
5265
5340
  /**
5266
- * When the team is back.
5341
+ * Covers only the conversations assigned to these members; omitted, every conversation of its channels. See `GET /members`.
5267
5342
  */
5268
- ends_at: string;
5343
+ assigned_user_ids?: Array<string>;
5269
5344
  /**
5270
5345
  * What the agent tells customers meanwhile.
5271
5346
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getricky",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "Official TypeScript SDK for the Ricky REST API",
5
5
  "keywords": [
6
6
  "api",