@devrev/typescript-sdk 1.1.52 → 1.1.54
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.
|
@@ -638,6 +638,11 @@ export interface ArticlesListRequest {
|
|
|
638
638
|
scope?: number[];
|
|
639
639
|
/** Filter for articles based on intended audience. */
|
|
640
640
|
shared_with?: SharedWithMembershipFilter[];
|
|
641
|
+
/**
|
|
642
|
+
* Filters for article with any of the provided tags.
|
|
643
|
+
* @example ["TAG-12345"]
|
|
644
|
+
*/
|
|
645
|
+
tags?: string[];
|
|
641
646
|
}
|
|
642
647
|
/**
|
|
643
648
|
* articles-list-response
|
|
@@ -1475,6 +1480,8 @@ export type Capability = PartBase;
|
|
|
1475
1480
|
export type CapabilitySummary = PartBaseSummary;
|
|
1476
1481
|
/** conversation */
|
|
1477
1482
|
export type Conversation = AtomBase & {
|
|
1483
|
+
/** Channel IDs of the conversation. */
|
|
1484
|
+
channels?: ExternalCommunicationChannelSummary[];
|
|
1478
1485
|
/** Description of the conversation object. */
|
|
1479
1486
|
description?: string;
|
|
1480
1487
|
group?: GroupSummary;
|
|
@@ -1626,6 +1633,8 @@ export interface ConversationsListRequest {
|
|
|
1626
1633
|
group?: string[];
|
|
1627
1634
|
/** Filters for conversations that are created by verified users. */
|
|
1628
1635
|
is_creator_verified?: boolean;
|
|
1636
|
+
/** Filters for conversations that are frozen. */
|
|
1637
|
+
is_frozen?: boolean;
|
|
1629
1638
|
/** Filters for conversations that are spam. */
|
|
1630
1639
|
is_spam?: boolean;
|
|
1631
1640
|
/**
|
|
@@ -1725,6 +1734,8 @@ export interface ConversationsUpdateRequest {
|
|
|
1725
1734
|
group?: string;
|
|
1726
1735
|
/** The ID of the conversation to update. */
|
|
1727
1736
|
id: string;
|
|
1737
|
+
/** Whether the conversation is frozen. */
|
|
1738
|
+
is_frozen?: boolean;
|
|
1728
1739
|
/** Whether the conversation is spam. */
|
|
1729
1740
|
is_spam?: boolean;
|
|
1730
1741
|
members?: ConversationsUpdateRequestMembers;
|
|
@@ -2733,6 +2744,8 @@ export interface EventAccountUpdated {
|
|
|
2733
2744
|
}
|
|
2734
2745
|
/** event-ai-agent-response */
|
|
2735
2746
|
export interface EventAiAgentResponse {
|
|
2747
|
+
/** The ID of the AI agent that consumed the event. */
|
|
2748
|
+
agent: string;
|
|
2736
2749
|
agent_response?: 'error' | 'message' | 'progress';
|
|
2737
2750
|
/** The metadata given by client to be passed to the event source. */
|
|
2738
2751
|
client_metadata?: object;
|
|
@@ -2745,6 +2758,13 @@ export interface EventAiAgentResponse {
|
|
|
2745
2758
|
message?: string;
|
|
2746
2759
|
/** A progress object providing the status of the AI agent event execution. */
|
|
2747
2760
|
progress?: AiAgentEventExecuteProgress;
|
|
2761
|
+
/**
|
|
2762
|
+
* The agent session ID to track the asynchronous execution of this
|
|
2763
|
+
* session.
|
|
2764
|
+
*/
|
|
2765
|
+
session: string;
|
|
2766
|
+
/** An identifier of the session with the AI agent. */
|
|
2767
|
+
session_object: string;
|
|
2748
2768
|
}
|
|
2749
2769
|
/** event-conversation-created */
|
|
2750
2770
|
export interface EventConversationCreated {
|
|
@@ -2994,6 +3014,22 @@ export interface EventTimelineEntryDeleted {
|
|
|
2994
3014
|
export interface EventTimelineEntryUpdated {
|
|
2995
3015
|
entry: TimelineEntry;
|
|
2996
3016
|
old_entry?: TimelineEntry;
|
|
3017
|
+
/**
|
|
3018
|
+
* The reactions that were performed.
|
|
3019
|
+
* @maxItems 16
|
|
3020
|
+
*/
|
|
3021
|
+
reactions?: EventTimelineEntryUpdatedReaction[];
|
|
3022
|
+
}
|
|
3023
|
+
/** event-timeline-entry-updated-reaction */
|
|
3024
|
+
export interface EventTimelineEntryUpdatedReaction {
|
|
3025
|
+
action: EventTimelineEntryUpdatedReactionAction;
|
|
3026
|
+
/** The emoji for the reaction. */
|
|
3027
|
+
emoji: string;
|
|
3028
|
+
reactor?: UserSummary;
|
|
3029
|
+
}
|
|
3030
|
+
export declare enum EventTimelineEntryUpdatedReactionAction {
|
|
3031
|
+
Added = "added",
|
|
3032
|
+
Removed = "removed"
|
|
2997
3033
|
}
|
|
2998
3034
|
/** event-webhook-created */
|
|
2999
3035
|
export interface EventWebhookCreated {
|
|
@@ -3042,6 +3078,8 @@ export interface EventWorkUpdated {
|
|
|
3042
3078
|
old_work?: Work;
|
|
3043
3079
|
work: Work;
|
|
3044
3080
|
}
|
|
3081
|
+
/** external-communication-channel-summary */
|
|
3082
|
+
export type ExternalCommunicationChannelSummary = AtomBaseSummary;
|
|
3045
3083
|
/**
|
|
3046
3084
|
* external-identity
|
|
3047
3085
|
* External identity of a user.
|
|
@@ -3312,8 +3350,6 @@ export type Incident = AtomBase & {
|
|
|
3312
3350
|
identified_date?: string;
|
|
3313
3351
|
/** Details of the impact due to the incident. */
|
|
3314
3352
|
impact?: ImpactedCustomerDetails;
|
|
3315
|
-
/** List of customers impacted due to the incident. */
|
|
3316
|
-
impacted_customers?: AccountSummary[];
|
|
3317
3353
|
/**
|
|
3318
3354
|
* Timestamp when the incident was mitigated.
|
|
3319
3355
|
* @format date-time
|
|
@@ -3330,11 +3366,6 @@ export type Incident = AtomBase & {
|
|
|
3330
3366
|
source?: EnumValue;
|
|
3331
3367
|
/** Describes the current stage of a object. */
|
|
3332
3368
|
stage?: Stage;
|
|
3333
|
-
/**
|
|
3334
|
-
* Users, along with the incident commander, involved in resolving
|
|
3335
|
-
* incidents and handling communication.
|
|
3336
|
-
*/
|
|
3337
|
-
stakeholders?: UserSummary[];
|
|
3338
3369
|
/** Tags associated with the object. */
|
|
3339
3370
|
tags?: TagWithValue[];
|
|
3340
3371
|
/**
|
|
@@ -3825,6 +3856,8 @@ export type PartsCreateRequest = (PartsCreateRequestCapability | PartsCreateRequ
|
|
|
3825
3856
|
* @example ["DEVU-12345"]
|
|
3826
3857
|
*/
|
|
3827
3858
|
owned_by: string[];
|
|
3859
|
+
/** Tags associated with the part. */
|
|
3860
|
+
tags?: SetTagWithValue[];
|
|
3828
3861
|
};
|
|
3829
3862
|
/** parts-create-request-capability */
|
|
3830
3863
|
export interface PartsCreateRequestCapability {
|
|
@@ -3930,6 +3963,11 @@ export interface PartsListRequest {
|
|
|
3930
3963
|
owned_by?: string[];
|
|
3931
3964
|
/** The filter for specifying parent part. */
|
|
3932
3965
|
parent_part?: ParentPartFilter;
|
|
3966
|
+
/**
|
|
3967
|
+
* Filters for part with any of the provided tags.
|
|
3968
|
+
* @example ["TAG-12345"]
|
|
3969
|
+
*/
|
|
3970
|
+
tags?: string[];
|
|
3933
3971
|
}
|
|
3934
3972
|
/** parts-list-response */
|
|
3935
3973
|
export interface PartsListResponse {
|
|
@@ -3960,6 +3998,7 @@ export type PartsUpdateRequest = (Empty | PartsUpdateRequestCapability | PartsUp
|
|
|
3960
3998
|
/** The updated name of the part. */
|
|
3961
3999
|
name?: string;
|
|
3962
4000
|
owned_by?: PartsUpdateRequestOwnedBy;
|
|
4001
|
+
tags?: PartsUpdateRequestTags;
|
|
3963
4002
|
};
|
|
3964
4003
|
/** parts-update-request-artifacts */
|
|
3965
4004
|
export interface PartsUpdateRequestArtifacts {
|
|
@@ -4000,6 +4039,11 @@ export interface PartsUpdateRequestOwnedBy {
|
|
|
4000
4039
|
}
|
|
4001
4040
|
/** parts-update-request-product */
|
|
4002
4041
|
export type PartsUpdateRequestProduct = object;
|
|
4042
|
+
/** parts-update-request-tags */
|
|
4043
|
+
export interface PartsUpdateRequestTags {
|
|
4044
|
+
/** Sets the tags to the provided tags. */
|
|
4045
|
+
set?: SetTagWithValue[];
|
|
4046
|
+
}
|
|
4003
4047
|
/** parts-update-response */
|
|
4004
4048
|
export interface PartsUpdateResponse {
|
|
4005
4049
|
part: Part;
|
|
@@ -4012,8 +4056,12 @@ export type ProductSummary = PartBaseSummary;
|
|
|
4012
4056
|
export type QuestionAnswer = AtomBase & {
|
|
4013
4057
|
/** The Answer. */
|
|
4014
4058
|
answer?: string;
|
|
4059
|
+
/** Details of the parts relevant to the question_answer. */
|
|
4060
|
+
applies_to_parts?: PartSummary[];
|
|
4015
4061
|
/** The Question. */
|
|
4016
4062
|
question?: string;
|
|
4063
|
+
/** Status of the question answer. */
|
|
4064
|
+
status?: QuestionAnswerStatus;
|
|
4017
4065
|
/** An alternative answer suggested by the Q/A generation algorithm. */
|
|
4018
4066
|
suggested_answer?: string;
|
|
4019
4067
|
/**
|
|
@@ -4026,6 +4074,14 @@ export type QuestionAnswer = AtomBase & {
|
|
|
4026
4074
|
/** Whether the Q/A was verified. */
|
|
4027
4075
|
verified?: boolean;
|
|
4028
4076
|
};
|
|
4077
|
+
/** Status of the question answer. */
|
|
4078
|
+
export declare enum QuestionAnswerStatus {
|
|
4079
|
+
Archived = "archived",
|
|
4080
|
+
Discarded = "discarded",
|
|
4081
|
+
Draft = "draft",
|
|
4082
|
+
Published = "published",
|
|
4083
|
+
ReviewNeeded = "review_needed"
|
|
4084
|
+
}
|
|
4029
4085
|
/** remove-tag-with-value */
|
|
4030
4086
|
export interface RemoveTagWithValue {
|
|
4031
4087
|
/**
|
|
@@ -4533,11 +4589,11 @@ export type SchemaEnumListFieldDescriptor = SchemaFieldDescriptorBase & {
|
|
|
4533
4589
|
* schema-field-descriptor
|
|
4534
4590
|
* Set of field attributes.
|
|
4535
4591
|
*/
|
|
4536
|
-
export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
|
|
4592
|
+
export type SchemaFieldDescriptor = (SchemaBoolFieldDescriptor | SchemaCompositeFieldDescriptor | SchemaDateFieldDescriptor | SchemaDoubleFieldDescriptor | SchemaEnumFieldDescriptor | SchemaFieldDescriptorArrayType | SchemaIdFieldDescriptor | SchemaIntFieldDescriptor | SchemaJsonValueFieldDescriptor | SchemaRichTextFieldDescriptor | SchemaStructFieldDescriptor | SchemaTextFieldDescriptor | SchemaTimestampFieldDescriptor | SchemaTokensFieldDescriptor | SchemaUenumFieldDescriptor | SchemaUnknownFieldDescriptor) & {
|
|
4537
4593
|
field_type: SchemaFieldDescriptorFieldType;
|
|
4538
4594
|
};
|
|
4539
4595
|
/** schema-field-descriptor-array-type */
|
|
4540
|
-
export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
|
|
4596
|
+
export type SchemaFieldDescriptorArrayType = (SchemaBoolListFieldDescriptor | SchemaCompositeListFieldDescriptor | SchemaDateListFieldDescriptor | SchemaDoubleListFieldDescriptor | SchemaEnumListFieldDescriptor | SchemaIdListFieldDescriptor | SchemaIntListFieldDescriptor | SchemaJsonValueListFieldDescriptor | SchemaRichTextListFieldDescriptor | SchemaStructListFieldDescriptor | SchemaTextListFieldDescriptor | SchemaTimestampListFieldDescriptor | SchemaTokensListFieldDescriptor | SchemaUenumListFieldDescriptor) & {
|
|
4541
4597
|
base_type: SchemaFieldDescriptorArrayTypeBaseType;
|
|
4542
4598
|
/**
|
|
4543
4599
|
* The exact array length.
|
|
@@ -4563,6 +4619,7 @@ export declare enum SchemaFieldDescriptorArrayTypeBaseType {
|
|
|
4563
4619
|
Enum = "enum",
|
|
4564
4620
|
Id = "id",
|
|
4565
4621
|
Int = "int",
|
|
4622
|
+
JsonValue = "json_value",
|
|
4566
4623
|
RichText = "rich_text",
|
|
4567
4624
|
Struct = "struct",
|
|
4568
4625
|
Text = "text",
|
|
@@ -4605,6 +4662,7 @@ export declare enum SchemaFieldDescriptorFieldType {
|
|
|
4605
4662
|
Enum = "enum",
|
|
4606
4663
|
Id = "id",
|
|
4607
4664
|
Int = "int",
|
|
4665
|
+
JsonValue = "json_value",
|
|
4608
4666
|
RichText = "rich_text",
|
|
4609
4667
|
Struct = "struct",
|
|
4610
4668
|
Text = "text",
|
|
@@ -4700,6 +4758,16 @@ export type SchemaIntListFieldDescriptor = SchemaFieldDescriptorBase & {
|
|
|
4700
4758
|
*/
|
|
4701
4759
|
lte?: number;
|
|
4702
4760
|
};
|
|
4761
|
+
/** schema-json-value-field-descriptor */
|
|
4762
|
+
export type SchemaJsonValueFieldDescriptor = SchemaFieldDescriptorBase & {
|
|
4763
|
+
/** Default value. */
|
|
4764
|
+
default_value?: any;
|
|
4765
|
+
};
|
|
4766
|
+
/** schema-json-value-list-field-descriptor */
|
|
4767
|
+
export type SchemaJsonValueListFieldDescriptor = SchemaFieldDescriptorBase & {
|
|
4768
|
+
/** Default value. */
|
|
4769
|
+
default_value?: any[];
|
|
4770
|
+
};
|
|
4703
4771
|
/** schema-rich-text-field-descriptor */
|
|
4704
4772
|
export type SchemaRichTextFieldDescriptor = SchemaFieldDescriptorBase & {
|
|
4705
4773
|
/** The contained substring. */
|
|
@@ -5465,6 +5533,54 @@ export interface SlasUpdateRequest {
|
|
|
5465
5533
|
export interface SlasUpdateResponse {
|
|
5466
5534
|
sla: Sla;
|
|
5467
5535
|
}
|
|
5536
|
+
/** snap-kit-action-execute-deferred-request */
|
|
5537
|
+
export interface SnapKitActionExecuteDeferredRequest {
|
|
5538
|
+
/**
|
|
5539
|
+
* List of actions triggered in the request.
|
|
5540
|
+
* @maxItems 5
|
|
5541
|
+
*/
|
|
5542
|
+
actions: SnapKitActionRequest[];
|
|
5543
|
+
/** ID of the deferred snap-kit action to be executed. */
|
|
5544
|
+
id: string;
|
|
5545
|
+
}
|
|
5546
|
+
/** snap-kit-action-execute-deferred-response */
|
|
5547
|
+
export type SnapKitActionExecuteDeferredResponse = object;
|
|
5548
|
+
/** snap-kit-action-request */
|
|
5549
|
+
export type SnapKitActionRequest = (SnapKitActionRequestButton | SnapKitActionRequestForm) & {
|
|
5550
|
+
type: SnapKitActionRequestElementTypeValue;
|
|
5551
|
+
/**
|
|
5552
|
+
* Id of the interactive element specified by developer in a snap-kit
|
|
5553
|
+
* object.
|
|
5554
|
+
*/
|
|
5555
|
+
action_id: string;
|
|
5556
|
+
/** Action interaction type. */
|
|
5557
|
+
action_type?: string;
|
|
5558
|
+
/**
|
|
5559
|
+
* Id of the block within the surface which is the container for the
|
|
5560
|
+
* interactive element.
|
|
5561
|
+
*/
|
|
5562
|
+
block_id?: string;
|
|
5563
|
+
/**
|
|
5564
|
+
* Timestamp when the action was originated.
|
|
5565
|
+
* @format date-time
|
|
5566
|
+
* @example "2023-01-01T12:00:00.000Z"
|
|
5567
|
+
*/
|
|
5568
|
+
timestamp: string;
|
|
5569
|
+
};
|
|
5570
|
+
/** snap-kit-action-request-button */
|
|
5571
|
+
export interface SnapKitActionRequestButton {
|
|
5572
|
+
/** Value for the button interactive element. */
|
|
5573
|
+
value: string;
|
|
5574
|
+
}
|
|
5575
|
+
export declare enum SnapKitActionRequestElementTypeValue {
|
|
5576
|
+
Button = "button",
|
|
5577
|
+
Form = "form"
|
|
5578
|
+
}
|
|
5579
|
+
/** snap-kit-action-request-form */
|
|
5580
|
+
export interface SnapKitActionRequestForm {
|
|
5581
|
+
/** Value for the form interactive element. */
|
|
5582
|
+
value: object;
|
|
5583
|
+
}
|
|
5468
5584
|
/** snap-widget */
|
|
5469
5585
|
export interface SnapWidget {
|
|
5470
5586
|
type: SnapWidgetType;
|
|
@@ -5569,6 +5685,100 @@ export type SurveyResponse = AtomBase & {
|
|
|
5569
5685
|
/** The ID of the survey for which response is taken. */
|
|
5570
5686
|
survey?: string;
|
|
5571
5687
|
};
|
|
5688
|
+
/** surveys-responses-list-request */
|
|
5689
|
+
export interface SurveysResponsesListRequest {
|
|
5690
|
+
/**
|
|
5691
|
+
* Filters for survey responses created by any of these users.
|
|
5692
|
+
* @example ["DEVU-12345"]
|
|
5693
|
+
*/
|
|
5694
|
+
created_by?: string[];
|
|
5695
|
+
/** Provides ways to specify date ranges on objects. */
|
|
5696
|
+
created_date?: DateFilter;
|
|
5697
|
+
/**
|
|
5698
|
+
* The cursor to resume iteration from. If not provided, then
|
|
5699
|
+
* iteration starts from the beginning.
|
|
5700
|
+
*/
|
|
5701
|
+
cursor?: string;
|
|
5702
|
+
/** Filters for survey responses associated with these unique IDs. */
|
|
5703
|
+
dispatch_ids?: string[];
|
|
5704
|
+
/**
|
|
5705
|
+
* The maximum number of survey responses to return. If not set, then
|
|
5706
|
+
* the default is '50'.
|
|
5707
|
+
* @format int32
|
|
5708
|
+
*/
|
|
5709
|
+
limit?: number;
|
|
5710
|
+
/**
|
|
5711
|
+
* The iteration mode to use. If "after", then entries after the provided
|
|
5712
|
+
* cursor will be returned, or if no cursor is provided, then from the
|
|
5713
|
+
* beginning. If "before", then entries before the provided cursor will be
|
|
5714
|
+
* returned, or if no cursor is provided, then from the end. Entries will
|
|
5715
|
+
* always be returned in the specified sort-by order.
|
|
5716
|
+
*/
|
|
5717
|
+
mode?: ListMode;
|
|
5718
|
+
/** Provides ways to specify date ranges on objects. */
|
|
5719
|
+
modified_date?: DateFilter;
|
|
5720
|
+
/**
|
|
5721
|
+
* Filters for survey responses created for the objects.
|
|
5722
|
+
* @example ["ACC-12345"]
|
|
5723
|
+
*/
|
|
5724
|
+
objects?: string[];
|
|
5725
|
+
/**
|
|
5726
|
+
* Filters for survey responses dispatched to any of these users.
|
|
5727
|
+
* @example ["DEVU-12345"]
|
|
5728
|
+
*/
|
|
5729
|
+
recipient?: string[];
|
|
5730
|
+
/**
|
|
5731
|
+
* Fields to sort the survey responses by and the direction to sort
|
|
5732
|
+
* them.
|
|
5733
|
+
*/
|
|
5734
|
+
sort_by?: string[];
|
|
5735
|
+
/** Filters for survey response stages. */
|
|
5736
|
+
stages?: number[];
|
|
5737
|
+
/** Filters for survey responses for the provided survey IDs. */
|
|
5738
|
+
surveys?: string[];
|
|
5739
|
+
}
|
|
5740
|
+
/** surveys-responses-list-response */
|
|
5741
|
+
export interface SurveysResponsesListResponse {
|
|
5742
|
+
/**
|
|
5743
|
+
* The cursor used to iterate subsequent results in accordance to the
|
|
5744
|
+
* sort order. If not set, then no later elements exist.
|
|
5745
|
+
*/
|
|
5746
|
+
next_cursor?: string;
|
|
5747
|
+
/**
|
|
5748
|
+
* The cursor used to iterate preceding results in accordance to the
|
|
5749
|
+
* sort order. If not set, then no prior elements exist.
|
|
5750
|
+
*/
|
|
5751
|
+
prev_cursor?: string;
|
|
5752
|
+
/** The list of the survey responses. */
|
|
5753
|
+
survey_responses: SurveyResponse[];
|
|
5754
|
+
}
|
|
5755
|
+
/** surveys-responses-update-request */
|
|
5756
|
+
export interface SurveysResponsesUpdateRequest {
|
|
5757
|
+
/** The unique ID associated with the dispatched survey. */
|
|
5758
|
+
dispatch_id: string;
|
|
5759
|
+
/** Survey response submitted for the object. */
|
|
5760
|
+
response?: object;
|
|
5761
|
+
/**
|
|
5762
|
+
* The source channel ordinal which recorded the survey response.
|
|
5763
|
+
* @format int64
|
|
5764
|
+
*/
|
|
5765
|
+
response_channel?: number;
|
|
5766
|
+
/**
|
|
5767
|
+
* The response score for the survey. Only applicable for CSAT and
|
|
5768
|
+
* NPS.
|
|
5769
|
+
* @format int32
|
|
5770
|
+
* @min 1
|
|
5771
|
+
* @max 10
|
|
5772
|
+
*/
|
|
5773
|
+
response_score?: number;
|
|
5774
|
+
/**
|
|
5775
|
+
* The stage ordinal of the survey response object.
|
|
5776
|
+
* @format int64
|
|
5777
|
+
*/
|
|
5778
|
+
stage?: number;
|
|
5779
|
+
}
|
|
5780
|
+
/** surveys-responses-update-response */
|
|
5781
|
+
export type SurveysResponsesUpdateResponse = object;
|
|
5572
5782
|
/** sync-history */
|
|
5573
5783
|
export type SyncHistory = AtomBase & {
|
|
5574
5784
|
/** Object for holding run-specific data. */
|
|
@@ -5931,8 +6141,11 @@ export interface TagsUpdateResponse {
|
|
|
5931
6141
|
}
|
|
5932
6142
|
/** ticket */
|
|
5933
6143
|
export type Ticket = WorkBase & {
|
|
6144
|
+
account?: AccountSummary;
|
|
5934
6145
|
/** Channels of the ticket. */
|
|
5935
6146
|
channels?: TicketChannels[];
|
|
6147
|
+
/** Channel IDs of the ticket. */
|
|
6148
|
+
channels_v2?: ExternalCommunicationChannelSummary[];
|
|
5936
6149
|
group?: GroupSummary;
|
|
5937
6150
|
/** Whether the ticket needs a response. */
|
|
5938
6151
|
needs_response?: boolean;
|
|
@@ -5954,6 +6167,9 @@ export type Ticket = WorkBase & {
|
|
|
5954
6167
|
sla_tracker?: SlaTrackerSummary;
|
|
5955
6168
|
/** Source channel of the ticket. */
|
|
5956
6169
|
source_channel?: string;
|
|
6170
|
+
source_channel_v2?: ExternalCommunicationChannelSummary;
|
|
6171
|
+
/** The properties of an enum value. */
|
|
6172
|
+
visibility?: EnumValue;
|
|
5957
6173
|
};
|
|
5958
6174
|
/** Channels of the ticket. */
|
|
5959
6175
|
export declare enum TicketChannels {
|
|
@@ -5972,6 +6188,7 @@ export declare enum TicketSeverity {
|
|
|
5972
6188
|
}
|
|
5973
6189
|
/** ticket-summary */
|
|
5974
6190
|
export type TicketSummary = WorkBaseSummary & {
|
|
6191
|
+
account?: AccountSummary;
|
|
5975
6192
|
rev_org?: OrgSummary;
|
|
5976
6193
|
/** Severity of the ticket. */
|
|
5977
6194
|
severity?: TicketSeverity;
|
|
@@ -6792,6 +7009,11 @@ export interface WorksCreateRequestIssue {
|
|
|
6792
7009
|
}
|
|
6793
7010
|
/** works-create-request-ticket */
|
|
6794
7011
|
export interface WorksCreateRequestTicket {
|
|
7012
|
+
/**
|
|
7013
|
+
* The account that the ticket is associated with.
|
|
7014
|
+
* @example "ACC-12345"
|
|
7015
|
+
*/
|
|
7016
|
+
account?: string;
|
|
6795
7017
|
/** Channels of the ticket. */
|
|
6796
7018
|
channels?: TicketChannels[];
|
|
6797
7019
|
/** The group that the ticket is associated with. */
|
|
@@ -6884,7 +7106,7 @@ export interface WorksExportResponse {
|
|
|
6884
7106
|
/** works-filter-issue */
|
|
6885
7107
|
export interface WorksFilterIssue {
|
|
6886
7108
|
/**
|
|
6887
|
-
* Filters for issues with any of the provided
|
|
7109
|
+
* Filters for issues with any of the provided accounts.
|
|
6888
7110
|
* @example ["ACC-12345"]
|
|
6889
7111
|
*/
|
|
6890
7112
|
accounts?: string[];
|
|
@@ -7048,8 +7270,8 @@ export type WorksUpdateRequest = (Empty | WorksUpdateRequestIssue | WorksUpdateR
|
|
|
7048
7270
|
/** Updates an object's stage. */
|
|
7049
7271
|
stage?: StageUpdate;
|
|
7050
7272
|
/**
|
|
7051
|
-
* The type of stage validations options when updating the stage
|
|
7052
|
-
* object.
|
|
7273
|
+
* The type of stage validations options when updating the stage or
|
|
7274
|
+
* the stage diagram of an object.
|
|
7053
7275
|
*/
|
|
7054
7276
|
stage_validation_options?: StageValidationOptionForUpdate[];
|
|
7055
7277
|
staged_info?: WorksUpdateRequestStagedInfoUpdate;
|
|
@@ -7158,6 +7380,11 @@ export interface WorksUpdateRequestTags {
|
|
|
7158
7380
|
}
|
|
7159
7381
|
/** works-update-request-ticket */
|
|
7160
7382
|
export interface WorksUpdateRequestTicket {
|
|
7383
|
+
/**
|
|
7384
|
+
* Updates the account that the ticket is associated with.
|
|
7385
|
+
* @example "ACC-12345"
|
|
7386
|
+
*/
|
|
7387
|
+
account?: string | null;
|
|
7161
7388
|
channels?: WorksUpdateRequestTicketChannels;
|
|
7162
7389
|
/** Updates the group that the ticket is associated with. */
|
|
7163
7390
|
group?: string | null;
|
|
@@ -7552,6 +7779,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7552
7779
|
'shared_with.member'?: string;
|
|
7553
7780
|
/** Role ID of the group/member with whom the item is shared. */
|
|
7554
7781
|
'shared_with.role'?: string;
|
|
7782
|
+
/**
|
|
7783
|
+
* Filters for article with any of the provided tags.
|
|
7784
|
+
* @example ["TAG-12345"]
|
|
7785
|
+
*/
|
|
7786
|
+
tags?: string[];
|
|
7555
7787
|
}, params?: RequestParams) => Promise<AxiosResponse<ArticlesListResponse, any>>;
|
|
7556
7788
|
/**
|
|
7557
7789
|
* @description Lists a collection of articles.
|
|
@@ -7852,6 +8084,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7852
8084
|
group?: string[];
|
|
7853
8085
|
/** Filters for conversations that are created by verified users. */
|
|
7854
8086
|
is_creator_verified?: boolean;
|
|
8087
|
+
/** Filters for conversations that are frozen. */
|
|
8088
|
+
is_frozen?: boolean;
|
|
7855
8089
|
/** Filters for conversations that are spam. */
|
|
7856
8090
|
is_spam?: boolean;
|
|
7857
8091
|
/**
|
|
@@ -8560,6 +8794,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8560
8794
|
* @example ["PROD-12345"]
|
|
8561
8795
|
*/
|
|
8562
8796
|
'parent_part.parts'?: string[];
|
|
8797
|
+
/**
|
|
8798
|
+
* Filters for part with any of the provided tags.
|
|
8799
|
+
* @example ["TAG-12345"]
|
|
8800
|
+
*/
|
|
8801
|
+
tags?: string[];
|
|
8563
8802
|
/** Filters for parts of the provided type(s). */
|
|
8564
8803
|
type?: PartType[];
|
|
8565
8804
|
}, params?: RequestParams) => Promise<AxiosResponse<PartsListResponse, any>>;
|
|
@@ -9081,6 +9320,89 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9081
9320
|
* @secure
|
|
9082
9321
|
*/
|
|
9083
9322
|
slasUpdate: (data: SlasUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<SlasUpdateResponse, any>>;
|
|
9323
|
+
/**
|
|
9324
|
+
* @description Executes deferred snap-kit actions.
|
|
9325
|
+
*
|
|
9326
|
+
* @tags snap-kit-execution
|
|
9327
|
+
* @name SnapKitActionExecuteDeferred
|
|
9328
|
+
* @summary Deferred Snap Kit Action Execute
|
|
9329
|
+
* @request POST:/snap-kit-action.execute.deferred
|
|
9330
|
+
* @secure
|
|
9331
|
+
*/
|
|
9332
|
+
snapKitActionExecuteDeferred: (data: SnapKitActionExecuteDeferredRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
9333
|
+
/**
|
|
9334
|
+
* @description List survey responses requested by the user.
|
|
9335
|
+
*
|
|
9336
|
+
* @tags surveys
|
|
9337
|
+
* @name SurveysResponsesList
|
|
9338
|
+
* @summary List Surveys Responses
|
|
9339
|
+
* @request GET:/surveys.responses.list
|
|
9340
|
+
* @secure
|
|
9341
|
+
*/
|
|
9342
|
+
surveysResponsesList: (query?: {
|
|
9343
|
+
/**
|
|
9344
|
+
* Filters for survey responses created by any of these users.
|
|
9345
|
+
* @example ["DEVU-12345"]
|
|
9346
|
+
*/
|
|
9347
|
+
created_by?: string[];
|
|
9348
|
+
/**
|
|
9349
|
+
* The cursor to resume iteration from. If not provided, then iteration
|
|
9350
|
+
* starts from the beginning.
|
|
9351
|
+
*/
|
|
9352
|
+
cursor?: string;
|
|
9353
|
+
/** Filters for survey responses associated with these unique IDs. */
|
|
9354
|
+
dispatch_ids?: string[];
|
|
9355
|
+
/**
|
|
9356
|
+
* The maximum number of survey responses to return. If not set, then
|
|
9357
|
+
* the default is '50'.
|
|
9358
|
+
* @format int32
|
|
9359
|
+
*/
|
|
9360
|
+
limit?: number;
|
|
9361
|
+
/**
|
|
9362
|
+
* The iteration mode to use, otherwise if not set, then "after" is
|
|
9363
|
+
* used.
|
|
9364
|
+
*/
|
|
9365
|
+
mode?: ListMode;
|
|
9366
|
+
/**
|
|
9367
|
+
* Filters for survey responses created for the objects.
|
|
9368
|
+
* @example ["ACC-12345"]
|
|
9369
|
+
*/
|
|
9370
|
+
objects?: string[];
|
|
9371
|
+
/**
|
|
9372
|
+
* Filters for survey responses dispatched to any of these users.
|
|
9373
|
+
* @example ["DEVU-12345"]
|
|
9374
|
+
*/
|
|
9375
|
+
recipient?: string[];
|
|
9376
|
+
/**
|
|
9377
|
+
* Fields to sort the survey responses by and the direction to sort
|
|
9378
|
+
* them.
|
|
9379
|
+
*/
|
|
9380
|
+
sort_by?: string[];
|
|
9381
|
+
/** Filters for survey response stages. */
|
|
9382
|
+
stages?: number[];
|
|
9383
|
+
/** Filters for survey responses for the provided survey IDs. */
|
|
9384
|
+
surveys?: string[];
|
|
9385
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SurveysResponsesListResponse, any>>;
|
|
9386
|
+
/**
|
|
9387
|
+
* @description List survey responses requested by the user.
|
|
9388
|
+
*
|
|
9389
|
+
* @tags surveys
|
|
9390
|
+
* @name SurveysResponsesListPost
|
|
9391
|
+
* @summary List Surveys Responses (POST)
|
|
9392
|
+
* @request POST:/surveys.responses.list
|
|
9393
|
+
* @secure
|
|
9394
|
+
*/
|
|
9395
|
+
surveysResponsesListPost: (data: SurveysResponsesListRequest, params?: RequestParams) => Promise<AxiosResponse<SurveysResponsesListResponse, any>>;
|
|
9396
|
+
/**
|
|
9397
|
+
* @description Updates a user's survey response for the provided dispatch ID.
|
|
9398
|
+
*
|
|
9399
|
+
* @tags surveys
|
|
9400
|
+
* @name SurveysResponsesUpdate
|
|
9401
|
+
* @summary Update Surveys Response
|
|
9402
|
+
* @request POST:/surveys.responses.update
|
|
9403
|
+
* @secure
|
|
9404
|
+
*/
|
|
9405
|
+
surveysResponsesUpdate: (data: SurveysResponsesUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
9084
9406
|
/**
|
|
9085
9407
|
* @description Lists system users within your organization.
|
|
9086
9408
|
*
|
|
@@ -9463,7 +9785,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9463
9785
|
*/
|
|
9464
9786
|
first?: number;
|
|
9465
9787
|
/**
|
|
9466
|
-
* Filters for issues with any of the provided
|
|
9788
|
+
* Filters for issues with any of the provided accounts.
|
|
9467
9789
|
* @example ["ACC-12345"]
|
|
9468
9790
|
*/
|
|
9469
9791
|
'issue.accounts'?: string[];
|
|
@@ -9600,7 +9922,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9600
9922
|
*/
|
|
9601
9923
|
cursor?: string;
|
|
9602
9924
|
/**
|
|
9603
|
-
* Filters for issues with any of the provided
|
|
9925
|
+
* Filters for issues with any of the provided accounts.
|
|
9604
9926
|
* @example ["ACC-12345"]
|
|
9605
9927
|
*/
|
|
9606
9928
|
'issue.accounts'?: string[];
|