@devrev/typescript-sdk 1.1.57 → 1.1.60
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.
- package/dist/auto-generated/beta/beta-devrev-sdk.d.ts +452 -1
- package/dist/auto-generated/beta/beta-devrev-sdk.js +121 -4
- package/dist/auto-generated/public-devrev-sdk.d.ts +6461 -2270
- package/dist/auto-generated/public-devrev-sdk.js +1026 -2
- package/dist/snap-ins/schema.pb.d.ts +1 -0
- package/dist/snap-ins/schema.pb.js +6 -0
- package/dist/snap-ins/struct.pb.js +1 -1
- package/package.json +3 -3
|
@@ -603,6 +603,11 @@ export interface AiAgentEventExecuteProgress {
|
|
|
603
603
|
export interface AiAgentEventExecuteProgressSkillExecuted {
|
|
604
604
|
/** The arguments for the skill call. */
|
|
605
605
|
args?: object;
|
|
606
|
+
/**
|
|
607
|
+
* The metadata of the skill call. The fields depend on the skill that
|
|
608
|
+
* was executed.
|
|
609
|
+
*/
|
|
610
|
+
metadata?: object;
|
|
606
611
|
/** The output of the skill call. */
|
|
607
612
|
output: object;
|
|
608
613
|
/**
|
|
@@ -1018,6 +1023,8 @@ export declare enum ArticleStatus {
|
|
|
1018
1023
|
}
|
|
1019
1024
|
/** article-summary */
|
|
1020
1025
|
export type ArticleSummary = AtomBaseSummary & {
|
|
1026
|
+
/** Type of the article. */
|
|
1027
|
+
article_type?: ArticleType;
|
|
1021
1028
|
/** Resource details. */
|
|
1022
1029
|
resource?: ResourceSummary;
|
|
1023
1030
|
/** Sync information for records synced into/from DevRev. */
|
|
@@ -1031,7 +1038,8 @@ export type ArticleSummary = AtomBaseSummary & {
|
|
|
1031
1038
|
/** Type of the article. */
|
|
1032
1039
|
export declare enum ArticleType {
|
|
1033
1040
|
Article = "article",
|
|
1034
|
-
ContentBlock = "content_block"
|
|
1041
|
+
ContentBlock = "content_block",
|
|
1042
|
+
Page = "page"
|
|
1035
1043
|
}
|
|
1036
1044
|
/** articles-count-request */
|
|
1037
1045
|
export interface ArticlesCountRequest {
|
|
@@ -1055,6 +1063,8 @@ export interface ArticlesCountRequest {
|
|
|
1055
1063
|
* @example ["DEVU-12345"]
|
|
1056
1064
|
*/
|
|
1057
1065
|
authored_by?: string[];
|
|
1066
|
+
/** Filters for articles belonging to any of the provided brands. */
|
|
1067
|
+
brands?: string[];
|
|
1058
1068
|
/**
|
|
1059
1069
|
* Filters for articles created by any of the provided users.
|
|
1060
1070
|
* @example ["DEVU-12345"]
|
|
@@ -1111,6 +1121,11 @@ export interface ArticlesCreateRequest {
|
|
|
1111
1121
|
* @example ["DEVU-12345"]
|
|
1112
1122
|
*/
|
|
1113
1123
|
authored_by?: string[];
|
|
1124
|
+
/**
|
|
1125
|
+
* The brand associated with the article.
|
|
1126
|
+
* @format id
|
|
1127
|
+
*/
|
|
1128
|
+
brand?: string;
|
|
1114
1129
|
/** Content format of the article. */
|
|
1115
1130
|
content_format?: ArticleContentFormat;
|
|
1116
1131
|
/** Application-defined custom fields. */
|
|
@@ -1265,6 +1280,8 @@ export interface ArticlesListRequest {
|
|
|
1265
1280
|
* @example ["DEVU-12345"]
|
|
1266
1281
|
*/
|
|
1267
1282
|
authored_by?: string[];
|
|
1283
|
+
/** Filters for articles belonging to any of the provided brands. */
|
|
1284
|
+
brands?: string[];
|
|
1268
1285
|
/**
|
|
1269
1286
|
* Filters for articles created by any of the provided users.
|
|
1270
1287
|
* @example ["DEVU-12345"]
|
|
@@ -1344,6 +1361,11 @@ export interface ArticlesUpdateRequest {
|
|
|
1344
1361
|
applies_to_parts?: ArticlesUpdateRequestAppliesToParts;
|
|
1345
1362
|
artifacts?: ArticlesUpdateRequestArtifacts;
|
|
1346
1363
|
authored_by?: ArticlesUpdateRequestAuthoredBy;
|
|
1364
|
+
/**
|
|
1365
|
+
* The updated brand of the article.
|
|
1366
|
+
* @format id
|
|
1367
|
+
*/
|
|
1368
|
+
brand?: string | null;
|
|
1347
1369
|
content_blocks?: ArticlesUpdateRequestContentBlocks;
|
|
1348
1370
|
/** Content format of the article. */
|
|
1349
1371
|
content_format?: ArticleContentFormat;
|
|
@@ -1507,6 +1529,23 @@ export type Artifact = AtomBase & {
|
|
|
1507
1529
|
/** Defines a file object. */
|
|
1508
1530
|
file?: ArtifactFile;
|
|
1509
1531
|
};
|
|
1532
|
+
/** Represents a set of configuration to be used with the artifacts object. */
|
|
1533
|
+
export declare enum ArtifactConfigurationSet {
|
|
1534
|
+
ArticleMedia = "article_media",
|
|
1535
|
+
Default = "default",
|
|
1536
|
+
EmailMedia = "email_media",
|
|
1537
|
+
JobData = "job_data",
|
|
1538
|
+
MarketplaceListingIcon = "marketplace_listing_icon",
|
|
1539
|
+
MarketplaceMedia = "marketplace_media",
|
|
1540
|
+
OrgLogo = "org_logo",
|
|
1541
|
+
PlugSetting = "plug_setting",
|
|
1542
|
+
PlugSettingBannerCard = "plug_setting_banner_card",
|
|
1543
|
+
PortalCss = "portal_css",
|
|
1544
|
+
SnapInFunctionsCode = "snap_in_functions_code",
|
|
1545
|
+
SnapWidget = "snap_widget",
|
|
1546
|
+
UserProfilePicture = "user_profile_picture",
|
|
1547
|
+
Work = "work"
|
|
1548
|
+
}
|
|
1510
1549
|
/**
|
|
1511
1550
|
* artifact-file
|
|
1512
1551
|
* Defines a file object.
|
|
@@ -1679,6 +1718,8 @@ export interface ArtifactsLocateResponse {
|
|
|
1679
1718
|
* The request to prepare a URL to upload a file.
|
|
1680
1719
|
*/
|
|
1681
1720
|
export interface ArtifactsPrepareRequest {
|
|
1721
|
+
/** Represents a set of configuration to be used with the artifacts object. */
|
|
1722
|
+
configuration_set?: ArtifactConfigurationSet;
|
|
1682
1723
|
/**
|
|
1683
1724
|
* The name of the file that's being uploaded.
|
|
1684
1725
|
* @format text
|
|
@@ -2929,6 +2970,60 @@ export interface ChatsGetRequestDm {
|
|
|
2929
2970
|
export interface ChatsGetResponse {
|
|
2930
2971
|
chat: Chat;
|
|
2931
2972
|
}
|
|
2973
|
+
/** chats-update-request */
|
|
2974
|
+
export type ChatsUpdateRequest = (ChatsUpdateRequestDm | Empty) & {
|
|
2975
|
+
type?: ChatType;
|
|
2976
|
+
/** Application-defined custom fields. */
|
|
2977
|
+
custom_fields?: object;
|
|
2978
|
+
/**
|
|
2979
|
+
* Custom schemas described using identifiers. Each custom field in the
|
|
2980
|
+
* request must have the corresponding schema specified; omission results
|
|
2981
|
+
* in a Bad Request error. If a custom schema is not included in the
|
|
2982
|
+
* specifier, it remains unchanged. For surfaces with human interactors,
|
|
2983
|
+
* it is recommended to provide tenant_fragment: true and
|
|
2984
|
+
* validate_required_fields: true.
|
|
2985
|
+
*/
|
|
2986
|
+
custom_schema_spec?: CustomSchemaSpec;
|
|
2987
|
+
/**
|
|
2988
|
+
* The chat's ID.
|
|
2989
|
+
* @format id
|
|
2990
|
+
* @example "CHAN-AbCdEfGh"
|
|
2991
|
+
*/
|
|
2992
|
+
id: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* The updated title for the chat, or unchanged if not provided.
|
|
2995
|
+
* @format text
|
|
2996
|
+
*/
|
|
2997
|
+
title?: string;
|
|
2998
|
+
};
|
|
2999
|
+
/** chats-update-request-dm */
|
|
3000
|
+
export interface ChatsUpdateRequestDm {
|
|
3001
|
+
records?: ChatsUpdateRequestDmRecords;
|
|
3002
|
+
users?: ChatsUpdateRequestDmUsers;
|
|
3003
|
+
}
|
|
3004
|
+
/** chats-update-request-dm-records */
|
|
3005
|
+
export interface ChatsUpdateRequestDmRecords {
|
|
3006
|
+
/**
|
|
3007
|
+
* The associated records to set for this DM.
|
|
3008
|
+
* @maxItems 16
|
|
3009
|
+
*/
|
|
3010
|
+
set?: string[];
|
|
3011
|
+
}
|
|
3012
|
+
/** chats-update-request-dm-users */
|
|
3013
|
+
export interface ChatsUpdateRequestDmUsers {
|
|
3014
|
+
/**
|
|
3015
|
+
* The updated list of users to send direct messages to. The
|
|
3016
|
+
* authenticated user must be included in this list.
|
|
3017
|
+
* @maxItems 16
|
|
3018
|
+
* @minItems 1
|
|
3019
|
+
* @example ["DEVU-12345"]
|
|
3020
|
+
*/
|
|
3021
|
+
set: string[];
|
|
3022
|
+
}
|
|
3023
|
+
/** chats-update-response */
|
|
3024
|
+
export interface ChatsUpdateResponse {
|
|
3025
|
+
chat: Chat;
|
|
3026
|
+
}
|
|
2932
3027
|
/**
|
|
2933
3028
|
* client-context
|
|
2934
3029
|
* Properties of client to be used in track API.
|
|
@@ -3862,6 +3957,11 @@ export type ConversationSummary = AtomBaseSummary & {
|
|
|
3862
3957
|
*/
|
|
3863
3958
|
export interface ConversationsCreateRequest {
|
|
3864
3959
|
type: ConversationsCreateRequestTypeValue;
|
|
3960
|
+
/**
|
|
3961
|
+
* The brand associated with the conversation.
|
|
3962
|
+
* @format id
|
|
3963
|
+
*/
|
|
3964
|
+
brand?: string;
|
|
3865
3965
|
/** Channel IDs of the conversation. */
|
|
3866
3966
|
channels?: string[];
|
|
3867
3967
|
/** Application-defined custom fields. */
|
|
@@ -3967,6 +4067,8 @@ export interface ConversationsExportRequest {
|
|
|
3967
4067
|
* @example ["PROD-12345"]
|
|
3968
4068
|
*/
|
|
3969
4069
|
applies_to_parts?: string[];
|
|
4070
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
4071
|
+
brand?: string[];
|
|
3970
4072
|
/**
|
|
3971
4073
|
* Filters for conversations that are associated with any of the
|
|
3972
4074
|
* channels.
|
|
@@ -4071,6 +4173,8 @@ export interface ConversationsListRequest {
|
|
|
4071
4173
|
* @example ["PROD-12345"]
|
|
4072
4174
|
*/
|
|
4073
4175
|
applies_to_parts?: string[];
|
|
4176
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
4177
|
+
brand?: string[];
|
|
4074
4178
|
/**
|
|
4075
4179
|
* Filters for conversations that are associated with any of the
|
|
4076
4180
|
* channels.
|
|
@@ -4179,6 +4283,11 @@ export interface ConversationsListResponse {
|
|
|
4179
4283
|
*/
|
|
4180
4284
|
export interface ConversationsUpdateRequest {
|
|
4181
4285
|
applies_to_parts?: ConversationsUpdateRequestAppliesToParts;
|
|
4286
|
+
/**
|
|
4287
|
+
* The brand associated with the conversation.
|
|
4288
|
+
* @format id
|
|
4289
|
+
*/
|
|
4290
|
+
brand?: string;
|
|
4182
4291
|
channels?: ConversationsUpdateRequestChannels;
|
|
4183
4292
|
/** Application-defined custom fields. */
|
|
4184
4293
|
custom_fields?: object;
|
|
@@ -10197,6 +10306,11 @@ export type LinkableSummary = PartBaseSummary;
|
|
|
10197
10306
|
* The request to create a new link.
|
|
10198
10307
|
*/
|
|
10199
10308
|
export interface LinksCreateRequest {
|
|
10309
|
+
/**
|
|
10310
|
+
* The ID of the custom link type.
|
|
10311
|
+
* @format id
|
|
10312
|
+
*/
|
|
10313
|
+
custom_link_type?: string;
|
|
10200
10314
|
/** Type of link used to define the relationship. */
|
|
10201
10315
|
link_type: LinkType;
|
|
10202
10316
|
/**
|
|
@@ -12135,6 +12249,11 @@ export interface PartsListRequest {
|
|
|
12135
12249
|
* always be returned in the specified sort-by order.
|
|
12136
12250
|
*/
|
|
12137
12251
|
mode?: ListMode;
|
|
12252
|
+
/**
|
|
12253
|
+
* Filters for parts modified by any of these users.
|
|
12254
|
+
* @example ["DEVU-12345"]
|
|
12255
|
+
*/
|
|
12256
|
+
modified_by?: string[];
|
|
12138
12257
|
/** Filters for parts of the provided name(s). */
|
|
12139
12258
|
name?: string[];
|
|
12140
12259
|
/**
|
|
@@ -12795,6 +12914,84 @@ export declare enum ReactionsUpdateRequestAction {
|
|
|
12795
12914
|
}
|
|
12796
12915
|
/** reactions-update-response */
|
|
12797
12916
|
export type ReactionsUpdateResponse = object;
|
|
12917
|
+
/** record-template */
|
|
12918
|
+
export type RecordTemplate = AtomBase & {
|
|
12919
|
+
/**
|
|
12920
|
+
* Custom Fields of the object that the record template is associated
|
|
12921
|
+
* with.
|
|
12922
|
+
*/
|
|
12923
|
+
custom_fields?: RecordTemplateFieldValues[];
|
|
12924
|
+
/**
|
|
12925
|
+
* Description of the record template.
|
|
12926
|
+
* @format text
|
|
12927
|
+
*/
|
|
12928
|
+
description?: string;
|
|
12929
|
+
/**
|
|
12930
|
+
* Type of object that the record template is associated with.
|
|
12931
|
+
* @format text
|
|
12932
|
+
*/
|
|
12933
|
+
leaf_type?: string;
|
|
12934
|
+
/**
|
|
12935
|
+
* Name of the record template.
|
|
12936
|
+
* @format text
|
|
12937
|
+
*/
|
|
12938
|
+
name?: string;
|
|
12939
|
+
/** Shared with membership. */
|
|
12940
|
+
shared_with?: SharedWithMembership[];
|
|
12941
|
+
/** State of the record template. */
|
|
12942
|
+
state?: RecordTemplateState;
|
|
12943
|
+
/**
|
|
12944
|
+
* Stock Fields of the object that the record template is associated
|
|
12945
|
+
* with.
|
|
12946
|
+
*/
|
|
12947
|
+
stock_fields?: RecordTemplateFieldValues[];
|
|
12948
|
+
/**
|
|
12949
|
+
* Subtype of the object that the record template is associated with.
|
|
12950
|
+
* @format text
|
|
12951
|
+
*/
|
|
12952
|
+
subtype?: string;
|
|
12953
|
+
};
|
|
12954
|
+
/**
|
|
12955
|
+
* record-template-field-values
|
|
12956
|
+
* Information about the field values.
|
|
12957
|
+
*/
|
|
12958
|
+
export interface RecordTemplateFieldValues {
|
|
12959
|
+
/**
|
|
12960
|
+
* The field's name.
|
|
12961
|
+
* @format text
|
|
12962
|
+
*/
|
|
12963
|
+
field_name?: string;
|
|
12964
|
+
/** Value of the given field. */
|
|
12965
|
+
field_value?: any;
|
|
12966
|
+
}
|
|
12967
|
+
/** record-template-get-request */
|
|
12968
|
+
export interface RecordTemplateGetRequest {
|
|
12969
|
+
/**
|
|
12970
|
+
* The ID of the record template.
|
|
12971
|
+
* @format id
|
|
12972
|
+
*/
|
|
12973
|
+
id: string;
|
|
12974
|
+
}
|
|
12975
|
+
/** record-template-get-response */
|
|
12976
|
+
export interface RecordTemplateGetResponse {
|
|
12977
|
+
record_template_info: RecordTemplateInfo;
|
|
12978
|
+
}
|
|
12979
|
+
/** record-template-info */
|
|
12980
|
+
export interface RecordTemplateInfo {
|
|
12981
|
+
record_template: RecordTemplate;
|
|
12982
|
+
/**
|
|
12983
|
+
* List of fields that do not conform to the expected schema of the
|
|
12984
|
+
* underlying leaf type of the template object.
|
|
12985
|
+
*/
|
|
12986
|
+
stale_fields?: RecordTemplateFieldValues[];
|
|
12987
|
+
}
|
|
12988
|
+
/** State of the record template. */
|
|
12989
|
+
export declare enum RecordTemplateState {
|
|
12990
|
+
Active = "active",
|
|
12991
|
+
Draft = "draft",
|
|
12992
|
+
Inactive = "inactive",
|
|
12993
|
+
NeedsAttention = "needs_attention"
|
|
12994
|
+
}
|
|
12798
12995
|
/** remove-tag-with-value */
|
|
12799
12996
|
export interface RemoveTagWithValue {
|
|
12800
12997
|
/**
|
|
@@ -14954,6 +15151,31 @@ export interface ServiceAccountsGetRequest {
|
|
|
14954
15151
|
export interface ServiceAccountsGetResponse {
|
|
14955
15152
|
service_account: ServiceAccount;
|
|
14956
15153
|
}
|
|
15154
|
+
/**
|
|
15155
|
+
* service-accounts-update-request
|
|
15156
|
+
* The request object to update a service account.
|
|
15157
|
+
*/
|
|
15158
|
+
export interface ServiceAccountsUpdateRequest {
|
|
15159
|
+
/**
|
|
15160
|
+
* The service account's display name to be updated. A unique, human
|
|
15161
|
+
* readable name to identify a service account.
|
|
15162
|
+
* @format text
|
|
15163
|
+
*/
|
|
15164
|
+
display_name?: string;
|
|
15165
|
+
/**
|
|
15166
|
+
* The ID of the requested service account.
|
|
15167
|
+
* @format id
|
|
15168
|
+
*/
|
|
15169
|
+
id: string;
|
|
15170
|
+
}
|
|
15171
|
+
/**
|
|
15172
|
+
* service-accounts-update-response
|
|
15173
|
+
* The response object that carries the updated service account's
|
|
15174
|
+
* information.
|
|
15175
|
+
*/
|
|
15176
|
+
export interface ServiceAccountsUpdateResponse {
|
|
15177
|
+
service_account: ServiceAccount;
|
|
15178
|
+
}
|
|
14957
15179
|
/** set-issue-selector */
|
|
14958
15180
|
export interface SetIssueSelector {
|
|
14959
15181
|
/**
|
|
@@ -16230,6 +16452,63 @@ export interface SubWidget {
|
|
|
16230
16452
|
*/
|
|
16231
16453
|
visualization: WidgetVisualization;
|
|
16232
16454
|
}
|
|
16455
|
+
/** subscribers-list-request */
|
|
16456
|
+
export interface SubscribersListRequest {
|
|
16457
|
+
/**
|
|
16458
|
+
* The cursor to resume iteration from, otherwise if not provided,
|
|
16459
|
+
* then iteration starts from the beginning.
|
|
16460
|
+
* @format text
|
|
16461
|
+
*/
|
|
16462
|
+
cursor?: string;
|
|
16463
|
+
/**
|
|
16464
|
+
* The object's ID.
|
|
16465
|
+
* @format id
|
|
16466
|
+
* @example "ISS-12345"
|
|
16467
|
+
*/
|
|
16468
|
+
id: string;
|
|
16469
|
+
/**
|
|
16470
|
+
* The maximum number of subscribers to return. If not set or `<= 0`,
|
|
16471
|
+
* then this defaults to `50`.
|
|
16472
|
+
* @format int32
|
|
16473
|
+
*/
|
|
16474
|
+
limit?: number;
|
|
16475
|
+
}
|
|
16476
|
+
/** subscribers-list-response */
|
|
16477
|
+
export interface SubscribersListResponse {
|
|
16478
|
+
/**
|
|
16479
|
+
* The cursor that should be used to iterate the next sequence of
|
|
16480
|
+
* results, otherwise if not set, then no elements exist after.
|
|
16481
|
+
* @format text
|
|
16482
|
+
*/
|
|
16483
|
+
next_cursor?: string;
|
|
16484
|
+
/** The list of subscribers on the object. */
|
|
16485
|
+
users: UserSummary[];
|
|
16486
|
+
}
|
|
16487
|
+
/** subscribers-update-request */
|
|
16488
|
+
export interface SubscribersUpdateRequest {
|
|
16489
|
+
/**
|
|
16490
|
+
* The object's ID.
|
|
16491
|
+
* @format id
|
|
16492
|
+
* @example "ISS-12345"
|
|
16493
|
+
*/
|
|
16494
|
+
id: string;
|
|
16495
|
+
subscribers?: SubscribersUpdateRequestSubscribers;
|
|
16496
|
+
}
|
|
16497
|
+
/** subscribers-update-request-subscribers */
|
|
16498
|
+
export interface SubscribersUpdateRequestSubscribers {
|
|
16499
|
+
/**
|
|
16500
|
+
* The list of users to add as subscribers on the object.
|
|
16501
|
+
* @example ["DEVU-12345"]
|
|
16502
|
+
*/
|
|
16503
|
+
add?: string[];
|
|
16504
|
+
/**
|
|
16505
|
+
* The list of users to remove as subscribers on the object.
|
|
16506
|
+
* @example ["DEVU-12345"]
|
|
16507
|
+
*/
|
|
16508
|
+
remove?: string[];
|
|
16509
|
+
}
|
|
16510
|
+
/** subscribers-update-response */
|
|
16511
|
+
export type SubscribersUpdateResponse = object;
|
|
16233
16512
|
/** subtype */
|
|
16234
16513
|
export interface Subtype {
|
|
16235
16514
|
/**
|
|
@@ -16440,6 +16719,18 @@ export interface SurveysDeleteRequest {
|
|
|
16440
16719
|
}
|
|
16441
16720
|
/** surveys-delete-response */
|
|
16442
16721
|
export type SurveysDeleteResponse = object;
|
|
16722
|
+
/** surveys-get-request */
|
|
16723
|
+
export interface SurveysGetRequest {
|
|
16724
|
+
/**
|
|
16725
|
+
* The ID of the survey to get.
|
|
16726
|
+
* @format id
|
|
16727
|
+
*/
|
|
16728
|
+
id: string;
|
|
16729
|
+
}
|
|
16730
|
+
/** surveys-get-response */
|
|
16731
|
+
export interface SurveysGetResponse {
|
|
16732
|
+
survey: Survey;
|
|
16733
|
+
}
|
|
16443
16734
|
/** surveys-list-request */
|
|
16444
16735
|
export interface SurveysListRequest {
|
|
16445
16736
|
/**
|
|
@@ -20496,6 +20787,11 @@ export interface WorksExportRequest {
|
|
|
20496
20787
|
*/
|
|
20497
20788
|
first?: number;
|
|
20498
20789
|
issue?: WorksFilterIssue;
|
|
20790
|
+
/**
|
|
20791
|
+
* Filters for work modified by any of these users.
|
|
20792
|
+
* @example ["DEVU-12345"]
|
|
20793
|
+
*/
|
|
20794
|
+
modified_by?: string[];
|
|
20499
20795
|
/** Provides ways to specify date ranges on objects. */
|
|
20500
20796
|
modified_date?: DateFilter;
|
|
20501
20797
|
opportunity?: WorksFilterOpportunity;
|
|
@@ -20578,6 +20874,8 @@ export interface WorksFilterOpportunity {
|
|
|
20578
20874
|
}
|
|
20579
20875
|
/** works-filter-ticket */
|
|
20580
20876
|
export interface WorksFilterTicket {
|
|
20877
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
20878
|
+
brand?: string[];
|
|
20581
20879
|
/** Filters for tickets with any of the provided channels. */
|
|
20582
20880
|
channels?: TicketChannels[];
|
|
20583
20881
|
/** Filters for tickets that are associated with any of the channels. */
|
|
@@ -20660,6 +20958,11 @@ export interface WorksListRequest {
|
|
|
20660
20958
|
* always be returned in the specified sort-by order.
|
|
20661
20959
|
*/
|
|
20662
20960
|
mode?: ListMode;
|
|
20961
|
+
/**
|
|
20962
|
+
* Filters for work modified by any of these users.
|
|
20963
|
+
* @example ["DEVU-12345"]
|
|
20964
|
+
*/
|
|
20965
|
+
modified_by?: string[];
|
|
20663
20966
|
/** Provides ways to specify date ranges on objects. */
|
|
20664
20967
|
modified_date?: DateFilter;
|
|
20665
20968
|
opportunity?: WorksFilterOpportunity;
|
|
@@ -21483,6 +21786,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
21483
21786
|
* @example ["DEVU-12345"]
|
|
21484
21787
|
*/
|
|
21485
21788
|
authored_by?: string[];
|
|
21789
|
+
/** Filters for articles belonging to any of the provided brands. */
|
|
21790
|
+
brands?: string[];
|
|
21486
21791
|
/**
|
|
21487
21792
|
* Filters for articles created by any of the provided users.
|
|
21488
21793
|
* @example ["DEVU-12345"]
|
|
@@ -21598,6 +21903,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
21598
21903
|
* @example ["DEVU-12345"]
|
|
21599
21904
|
*/
|
|
21600
21905
|
authored_by?: string[];
|
|
21906
|
+
/** Filters for articles belonging to any of the provided brands. */
|
|
21907
|
+
brands?: string[];
|
|
21601
21908
|
/**
|
|
21602
21909
|
* Filters for articles created by any of the provided users.
|
|
21603
21910
|
* @example ["DEVU-12345"]
|
|
@@ -22068,6 +22375,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
22068
22375
|
* @secure
|
|
22069
22376
|
*/
|
|
22070
22377
|
chatsGetPost: (data: ChatsGetRequest, params?: RequestParams) => Promise<AxiosResponse<ChatsGetResponse, any>>;
|
|
22378
|
+
/**
|
|
22379
|
+
* @description Updates a chat's information.
|
|
22380
|
+
*
|
|
22381
|
+
* @tags chats
|
|
22382
|
+
* @name ChatsUpdate
|
|
22383
|
+
* @summary Update Chat
|
|
22384
|
+
* @request POST:/chats.update
|
|
22385
|
+
* @secure
|
|
22386
|
+
*/
|
|
22387
|
+
chatsUpdate: (data: ChatsUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<ChatsUpdateResponse, any>>;
|
|
22071
22388
|
/**
|
|
22072
22389
|
* @description Creates a code change object.
|
|
22073
22390
|
*
|
|
@@ -22382,6 +22699,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
22382
22699
|
* @example ["PROD-12345"]
|
|
22383
22700
|
*/
|
|
22384
22701
|
applies_to_parts?: string[];
|
|
22702
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
22703
|
+
brand?: string[];
|
|
22385
22704
|
/**
|
|
22386
22705
|
* Filters for conversations that are associated with any of the
|
|
22387
22706
|
* channels.
|
|
@@ -22524,6 +22843,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
22524
22843
|
* @example ["PROD-12345"]
|
|
22525
22844
|
*/
|
|
22526
22845
|
applies_to_parts?: string[];
|
|
22846
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
22847
|
+
brand?: string[];
|
|
22527
22848
|
/**
|
|
22528
22849
|
* Filters for conversations that are associated with any of the
|
|
22529
22850
|
* channels.
|
|
@@ -24799,6 +25120,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
24799
25120
|
* used.
|
|
24800
25121
|
*/
|
|
24801
25122
|
mode?: ListMode;
|
|
25123
|
+
/**
|
|
25124
|
+
* Filters for parts modified by any of these users.
|
|
25125
|
+
* @example ["DEVU-12345"]
|
|
25126
|
+
*/
|
|
25127
|
+
modified_by?: string[];
|
|
24802
25128
|
/** Filters for parts of the provided name(s). */
|
|
24803
25129
|
name?: string[];
|
|
24804
25130
|
/**
|
|
@@ -25081,6 +25407,32 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
25081
25407
|
* @secure
|
|
25082
25408
|
*/
|
|
25083
25409
|
getReply: (data: GetReplyRequest, params?: RequestParams) => Promise<AxiosResponse<GetReplyResponse, any>>;
|
|
25410
|
+
/**
|
|
25411
|
+
* @description Gets a record template object.
|
|
25412
|
+
*
|
|
25413
|
+
* @tags record-templates
|
|
25414
|
+
* @name RecordTemplateGet
|
|
25415
|
+
* @summary Get Record Template
|
|
25416
|
+
* @request GET:/record-templates.get
|
|
25417
|
+
* @secure
|
|
25418
|
+
*/
|
|
25419
|
+
recordTemplateGet: (query: {
|
|
25420
|
+
/**
|
|
25421
|
+
* The ID of the record template.
|
|
25422
|
+
* @format id
|
|
25423
|
+
*/
|
|
25424
|
+
id: string;
|
|
25425
|
+
}, params?: RequestParams) => Promise<AxiosResponse<RecordTemplateGetResponse, any>>;
|
|
25426
|
+
/**
|
|
25427
|
+
* @description Gets a record template object.
|
|
25428
|
+
*
|
|
25429
|
+
* @tags record-templates
|
|
25430
|
+
* @name RecordTemplateGetPost
|
|
25431
|
+
* @summary Get Record Template (POST)
|
|
25432
|
+
* @request POST:/record-templates.get
|
|
25433
|
+
* @secure
|
|
25434
|
+
*/
|
|
25435
|
+
recordTemplateGetPost: (data: RecordTemplateGetRequest, params?: RequestParams) => Promise<AxiosResponse<RecordTemplateGetResponse, any>>;
|
|
25084
25436
|
/**
|
|
25085
25437
|
* @description Creates a Rev organization in the authenticated user's Dev organization.
|
|
25086
25438
|
*
|
|
@@ -25976,6 +26328,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
25976
26328
|
* @secure
|
|
25977
26329
|
*/
|
|
25978
26330
|
serviceAccountsGetPost: (data: ServiceAccountsGetRequest, params?: RequestParams) => Promise<AxiosResponse<ServiceAccountsGetResponse, any>>;
|
|
26331
|
+
/**
|
|
26332
|
+
* @description Updates a service account.
|
|
26333
|
+
*
|
|
26334
|
+
* @tags service-accounts
|
|
26335
|
+
* @name ServiceAccountsUpdate
|
|
26336
|
+
* @summary Update Service Account
|
|
26337
|
+
* @request POST:/service-accounts.update
|
|
26338
|
+
* @secure
|
|
26339
|
+
*/
|
|
26340
|
+
serviceAccountsUpdate: (data: ServiceAccountsUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<ServiceAccountsUpdateResponse, any>>;
|
|
25979
26341
|
/**
|
|
25980
26342
|
* @description Gets an SLA tracker.
|
|
25981
26343
|
*
|
|
@@ -26525,6 +26887,55 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
26525
26887
|
* @secure
|
|
26526
26888
|
*/
|
|
26527
26889
|
customStatesUpdate: (data: CustomStatesUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<CustomStatesUpdateResponse, any>>;
|
|
26890
|
+
/**
|
|
26891
|
+
* @description Lists subscribers of an object.
|
|
26892
|
+
*
|
|
26893
|
+
* @tags subscribers
|
|
26894
|
+
* @name SubscribersList
|
|
26895
|
+
* @summary List Subscribers
|
|
26896
|
+
* @request GET:/subscribers.list
|
|
26897
|
+
* @secure
|
|
26898
|
+
*/
|
|
26899
|
+
subscribersList: (query: {
|
|
26900
|
+
/**
|
|
26901
|
+
* The object's ID.
|
|
26902
|
+
* @format id
|
|
26903
|
+
* @example "ISS-12345"
|
|
26904
|
+
*/
|
|
26905
|
+
id: string;
|
|
26906
|
+
/**
|
|
26907
|
+
* The cursor to resume iteration from, otherwise if not provided, then
|
|
26908
|
+
* iteration starts from the beginning.
|
|
26909
|
+
* @format text
|
|
26910
|
+
*/
|
|
26911
|
+
cursor?: string;
|
|
26912
|
+
/**
|
|
26913
|
+
* The maximum number of subscribers to return. If not set or `<= 0`,
|
|
26914
|
+
* then this defaults to `50`.
|
|
26915
|
+
* @format int32
|
|
26916
|
+
*/
|
|
26917
|
+
limit?: number;
|
|
26918
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SubscribersListResponse, any>>;
|
|
26919
|
+
/**
|
|
26920
|
+
* @description Lists subscribers of an object.
|
|
26921
|
+
*
|
|
26922
|
+
* @tags subscribers
|
|
26923
|
+
* @name SubscribersListPost
|
|
26924
|
+
* @summary List Subscribers (POST)
|
|
26925
|
+
* @request POST:/subscribers.list
|
|
26926
|
+
* @secure
|
|
26927
|
+
*/
|
|
26928
|
+
subscribersListPost: (data: SubscribersListRequest, params?: RequestParams) => Promise<AxiosResponse<SubscribersListResponse, any>>;
|
|
26929
|
+
/**
|
|
26930
|
+
* @description Updates subscribers on the object.
|
|
26931
|
+
*
|
|
26932
|
+
* @tags subscribers
|
|
26933
|
+
* @name SubscribersUpdate
|
|
26934
|
+
* @summary Update Subscriber
|
|
26935
|
+
* @request POST:/subscribers.update
|
|
26936
|
+
* @secure
|
|
26937
|
+
*/
|
|
26938
|
+
subscribersUpdate: (data: SubscribersUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
26528
26939
|
/**
|
|
26529
26940
|
* @description Creates a schema for survey, which includes name and description of schema.
|
|
26530
26941
|
*
|
|
@@ -26545,6 +26956,32 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
26545
26956
|
* @secure
|
|
26546
26957
|
*/
|
|
26547
26958
|
surveysDelete: (data: SurveysDeleteRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
26959
|
+
/**
|
|
26960
|
+
* @description Gets a survey given the ID.
|
|
26961
|
+
*
|
|
26962
|
+
* @tags surveys
|
|
26963
|
+
* @name SurveysGet
|
|
26964
|
+
* @summary Get Survey
|
|
26965
|
+
* @request GET:/surveys.get
|
|
26966
|
+
* @secure
|
|
26967
|
+
*/
|
|
26968
|
+
surveysGet: (query: {
|
|
26969
|
+
/**
|
|
26970
|
+
* The ID of the survey to get.
|
|
26971
|
+
* @format id
|
|
26972
|
+
*/
|
|
26973
|
+
id: string;
|
|
26974
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SurveysGetResponse, any>>;
|
|
26975
|
+
/**
|
|
26976
|
+
* @description Gets a survey given the ID.
|
|
26977
|
+
*
|
|
26978
|
+
* @tags surveys
|
|
26979
|
+
* @name SurveysGetPost
|
|
26980
|
+
* @summary Get Survey (POST)
|
|
26981
|
+
* @request POST:/surveys.get
|
|
26982
|
+
* @secure
|
|
26983
|
+
*/
|
|
26984
|
+
surveysGetPost: (data: SurveysGetRequest, params?: RequestParams) => Promise<AxiosResponse<SurveysGetResponse, any>>;
|
|
26548
26985
|
/**
|
|
26549
26986
|
* @description List surveys requested by the user.
|
|
26550
26987
|
*
|
|
@@ -27423,6 +27860,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
27423
27860
|
'issue.sprint'?: string[];
|
|
27424
27861
|
/** Filters for issues with any of the provided subtypes. */
|
|
27425
27862
|
'issue.subtype'?: string[];
|
|
27863
|
+
/**
|
|
27864
|
+
* Filters for work modified by any of these users.
|
|
27865
|
+
* @example ["DEVU-12345"]
|
|
27866
|
+
*/
|
|
27867
|
+
modified_by?: string[];
|
|
27426
27868
|
/**
|
|
27427
27869
|
* Filters for opportunities belonging to any of the provided accounts.
|
|
27428
27870
|
* @example ["ACC-12345"]
|
|
@@ -27476,6 +27918,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
27476
27918
|
* @example ["TAG-12345"]
|
|
27477
27919
|
*/
|
|
27478
27920
|
tags?: string[];
|
|
27921
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
27922
|
+
'ticket.brand'?: string[];
|
|
27479
27923
|
/** Filters for tickets with any of the provided channels. */
|
|
27480
27924
|
'ticket.channels'?: TicketChannels[];
|
|
27481
27925
|
/** Filters for tickets that are associated with any of the channels. */
|
|
@@ -27600,6 +28044,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
27600
28044
|
* used.
|
|
27601
28045
|
*/
|
|
27602
28046
|
mode?: ListMode;
|
|
28047
|
+
/**
|
|
28048
|
+
* Filters for work modified by any of these users.
|
|
28049
|
+
* @example ["DEVU-12345"]
|
|
28050
|
+
*/
|
|
28051
|
+
modified_by?: string[];
|
|
27603
28052
|
/**
|
|
27604
28053
|
* Filters for opportunities belonging to any of the provided accounts.
|
|
27605
28054
|
* @example ["ACC-12345"]
|
|
@@ -27653,6 +28102,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
27653
28102
|
* @example ["TAG-12345"]
|
|
27654
28103
|
*/
|
|
27655
28104
|
tags?: string[];
|
|
28105
|
+
/** Filters for tickets that are associated with any of the brands. */
|
|
28106
|
+
'ticket.brand'?: string[];
|
|
27656
28107
|
/** Filters for tickets with any of the provided channels. */
|
|
27657
28108
|
'ticket.channels'?: TicketChannels[];
|
|
27658
28109
|
/** Filters for tickets that are associated with any of the channels. */
|