@devrev/typescript-sdk 1.1.59 → 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.
@@ -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;
@@ -12140,6 +12249,11 @@ export interface PartsListRequest {
12140
12249
  * always be returned in the specified sort-by order.
12141
12250
  */
12142
12251
  mode?: ListMode;
12252
+ /**
12253
+ * Filters for parts modified by any of these users.
12254
+ * @example ["DEVU-12345"]
12255
+ */
12256
+ modified_by?: string[];
12143
12257
  /** Filters for parts of the provided name(s). */
12144
12258
  name?: string[];
12145
12259
  /**
@@ -15037,6 +15151,31 @@ export interface ServiceAccountsGetRequest {
15037
15151
  export interface ServiceAccountsGetResponse {
15038
15152
  service_account: ServiceAccount;
15039
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
+ }
15040
15179
  /** set-issue-selector */
15041
15180
  export interface SetIssueSelector {
15042
15181
  /**
@@ -16580,6 +16719,18 @@ export interface SurveysDeleteRequest {
16580
16719
  }
16581
16720
  /** surveys-delete-response */
16582
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
+ }
16583
16734
  /** surveys-list-request */
16584
16735
  export interface SurveysListRequest {
16585
16736
  /**
@@ -20636,6 +20787,11 @@ export interface WorksExportRequest {
20636
20787
  */
20637
20788
  first?: number;
20638
20789
  issue?: WorksFilterIssue;
20790
+ /**
20791
+ * Filters for work modified by any of these users.
20792
+ * @example ["DEVU-12345"]
20793
+ */
20794
+ modified_by?: string[];
20639
20795
  /** Provides ways to specify date ranges on objects. */
20640
20796
  modified_date?: DateFilter;
20641
20797
  opportunity?: WorksFilterOpportunity;
@@ -20718,6 +20874,8 @@ export interface WorksFilterOpportunity {
20718
20874
  }
20719
20875
  /** works-filter-ticket */
20720
20876
  export interface WorksFilterTicket {
20877
+ /** Filters for tickets that are associated with any of the brands. */
20878
+ brand?: string[];
20721
20879
  /** Filters for tickets with any of the provided channels. */
20722
20880
  channels?: TicketChannels[];
20723
20881
  /** Filters for tickets that are associated with any of the channels. */
@@ -20800,6 +20958,11 @@ export interface WorksListRequest {
20800
20958
  * always be returned in the specified sort-by order.
20801
20959
  */
20802
20960
  mode?: ListMode;
20961
+ /**
20962
+ * Filters for work modified by any of these users.
20963
+ * @example ["DEVU-12345"]
20964
+ */
20965
+ modified_by?: string[];
20803
20966
  /** Provides ways to specify date ranges on objects. */
20804
20967
  modified_date?: DateFilter;
20805
20968
  opportunity?: WorksFilterOpportunity;
@@ -21623,6 +21786,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
21623
21786
  * @example ["DEVU-12345"]
21624
21787
  */
21625
21788
  authored_by?: string[];
21789
+ /** Filters for articles belonging to any of the provided brands. */
21790
+ brands?: string[];
21626
21791
  /**
21627
21792
  * Filters for articles created by any of the provided users.
21628
21793
  * @example ["DEVU-12345"]
@@ -21738,6 +21903,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
21738
21903
  * @example ["DEVU-12345"]
21739
21904
  */
21740
21905
  authored_by?: string[];
21906
+ /** Filters for articles belonging to any of the provided brands. */
21907
+ brands?: string[];
21741
21908
  /**
21742
21909
  * Filters for articles created by any of the provided users.
21743
21910
  * @example ["DEVU-12345"]
@@ -22208,6 +22375,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
22208
22375
  * @secure
22209
22376
  */
22210
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>>;
22211
22388
  /**
22212
22389
  * @description Creates a code change object.
22213
22390
  *
@@ -22522,6 +22699,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
22522
22699
  * @example ["PROD-12345"]
22523
22700
  */
22524
22701
  applies_to_parts?: string[];
22702
+ /** Filters for tickets that are associated with any of the brands. */
22703
+ brand?: string[];
22525
22704
  /**
22526
22705
  * Filters for conversations that are associated with any of the
22527
22706
  * channels.
@@ -22664,6 +22843,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
22664
22843
  * @example ["PROD-12345"]
22665
22844
  */
22666
22845
  applies_to_parts?: string[];
22846
+ /** Filters for tickets that are associated with any of the brands. */
22847
+ brand?: string[];
22667
22848
  /**
22668
22849
  * Filters for conversations that are associated with any of the
22669
22850
  * channels.
@@ -24939,6 +25120,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
24939
25120
  * used.
24940
25121
  */
24941
25122
  mode?: ListMode;
25123
+ /**
25124
+ * Filters for parts modified by any of these users.
25125
+ * @example ["DEVU-12345"]
25126
+ */
25127
+ modified_by?: string[];
24942
25128
  /** Filters for parts of the provided name(s). */
24943
25129
  name?: string[];
24944
25130
  /**
@@ -26142,6 +26328,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
26142
26328
  * @secure
26143
26329
  */
26144
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>>;
26145
26341
  /**
26146
26342
  * @description Gets an SLA tracker.
26147
26343
  *
@@ -26760,6 +26956,32 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
26760
26956
  * @secure
26761
26957
  */
26762
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>>;
26763
26985
  /**
26764
26986
  * @description List surveys requested by the user.
26765
26987
  *
@@ -27638,6 +27860,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
27638
27860
  'issue.sprint'?: string[];
27639
27861
  /** Filters for issues with any of the provided subtypes. */
27640
27862
  'issue.subtype'?: string[];
27863
+ /**
27864
+ * Filters for work modified by any of these users.
27865
+ * @example ["DEVU-12345"]
27866
+ */
27867
+ modified_by?: string[];
27641
27868
  /**
27642
27869
  * Filters for opportunities belonging to any of the provided accounts.
27643
27870
  * @example ["ACC-12345"]
@@ -27691,6 +27918,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
27691
27918
  * @example ["TAG-12345"]
27692
27919
  */
27693
27920
  tags?: string[];
27921
+ /** Filters for tickets that are associated with any of the brands. */
27922
+ 'ticket.brand'?: string[];
27694
27923
  /** Filters for tickets with any of the provided channels. */
27695
27924
  'ticket.channels'?: TicketChannels[];
27696
27925
  /** Filters for tickets that are associated with any of the channels. */
@@ -27815,6 +28044,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
27815
28044
  * used.
27816
28045
  */
27817
28046
  mode?: ListMode;
28047
+ /**
28048
+ * Filters for work modified by any of these users.
28049
+ * @example ["DEVU-12345"]
28050
+ */
28051
+ modified_by?: string[];
27818
28052
  /**
27819
28053
  * Filters for opportunities belonging to any of the provided accounts.
27820
28054
  * @example ["ACC-12345"]
@@ -27868,6 +28102,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
27868
28102
  * @example ["TAG-12345"]
27869
28103
  */
27870
28104
  tags?: string[];
28105
+ /** Filters for tickets that are associated with any of the brands. */
28106
+ 'ticket.brand'?: string[];
27871
28107
  /** Filters for tickets with any of the provided channels. */
27872
28108
  'ticket.channels'?: TicketChannels[];
27873
28109
  /** Filters for tickets that are associated with any of the channels. */
@@ -33,10 +33,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33
33
  return (mod && mod.__esModule) ? mod : { "default": mod };
34
34
  };
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
- exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.RecordTemplateState = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = exports.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = void 0;
38
- exports.VisualizationAxisColorType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.TableVisualizationColumnPinPosition = exports.TableVisualizationColumnLockPosition = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SnapWidgetInteractionType = exports.SnapWidgetClickInteractionClickAction = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = void 0;
39
- exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = void 0;
36
+ exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestWorkflowComponentValidationErrorWorkflowComponentValidationLocationType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.ErrorBadRequestCustomizationValidationErrorSubtype = exports.EnhancementRevScoreTier = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatType = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArtifactConfigurationSet = exports.ArticleType = exports.ArticleStatus = exports.ArticleContentFormat = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
37
+ exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.RecordTemplateState = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = exports.MeerkatWidgetColumnProjectionType = exports.MeerkatWidgetColumnProjectionTimestampRollup = exports.MeerkatWidgetColumnFunctionType = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.KanbanVisualizationCardAttributePosition = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventTimelineEntryUpdatedReactionAction = exports.EventSourceStatus = exports.EventFetchedResult = void 0;
38
+ exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.TableVisualizationColumnPinPosition = exports.TableVisualizationColumnLockPosition = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SnapWidgetInteractionType = exports.SnapWidgetClickInteractionClickAction = exports.SnapKitActionRequestElementTypeValue = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = void 0;
39
+ exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WidgetVisualizationType = exports.WidgetQueryOrderByDirection = exports.WidgetDataSourceType = exports.WidgetColumnProjectionType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.WebCrawlerJobsControlRequestAction = exports.WebCrawlerJobState = exports.VisualizationAxisColorType = void 0;
40
40
  var AccessLevel;
41
41
  (function (AccessLevel) {
42
42
  AccessLevel["External"] = "external";
@@ -97,7 +97,26 @@ var ArticleType;
97
97
  (function (ArticleType) {
98
98
  ArticleType["Article"] = "article";
99
99
  ArticleType["ContentBlock"] = "content_block";
100
+ ArticleType["Page"] = "page";
100
101
  })(ArticleType = exports.ArticleType || (exports.ArticleType = {}));
102
+ /** Represents a set of configuration to be used with the artifacts object. */
103
+ var ArtifactConfigurationSet;
104
+ (function (ArtifactConfigurationSet) {
105
+ ArtifactConfigurationSet["ArticleMedia"] = "article_media";
106
+ ArtifactConfigurationSet["Default"] = "default";
107
+ ArtifactConfigurationSet["EmailMedia"] = "email_media";
108
+ ArtifactConfigurationSet["JobData"] = "job_data";
109
+ ArtifactConfigurationSet["MarketplaceListingIcon"] = "marketplace_listing_icon";
110
+ ArtifactConfigurationSet["MarketplaceMedia"] = "marketplace_media";
111
+ ArtifactConfigurationSet["OrgLogo"] = "org_logo";
112
+ ArtifactConfigurationSet["PlugSetting"] = "plug_setting";
113
+ ArtifactConfigurationSet["PlugSettingBannerCard"] = "plug_setting_banner_card";
114
+ ArtifactConfigurationSet["PortalCss"] = "portal_css";
115
+ ArtifactConfigurationSet["SnapInFunctionsCode"] = "snap_in_functions_code";
116
+ ArtifactConfigurationSet["SnapWidget"] = "snap_widget";
117
+ ArtifactConfigurationSet["UserProfilePicture"] = "user_profile_picture";
118
+ ArtifactConfigurationSet["Work"] = "work";
119
+ })(ArtifactConfigurationSet = exports.ArtifactConfigurationSet || (exports.ArtifactConfigurationSet = {}));
101
120
  var AssociatedToType;
102
121
  (function (AssociatedToType) {
103
122
  AssociatedToType["Account"] = "account";
@@ -2238,6 +2257,16 @@ class Api extends HttpClient {
2238
2257
  * @secure
2239
2258
  */
2240
2259
  this.chatsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/chats.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2260
+ /**
2261
+ * @description Updates a chat's information.
2262
+ *
2263
+ * @tags chats
2264
+ * @name ChatsUpdate
2265
+ * @summary Update Chat
2266
+ * @request POST:/chats.update
2267
+ * @secure
2268
+ */
2269
+ this.chatsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/chats.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
2241
2270
  /**
2242
2271
  * @description Creates a code change object.
2243
2272
  *
@@ -4469,6 +4498,16 @@ class Api extends HttpClient {
4469
4498
  * @secure
4470
4499
  */
4471
4500
  this.serviceAccountsGetPost = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4501
+ /**
4502
+ * @description Updates a service account.
4503
+ *
4504
+ * @tags service-accounts
4505
+ * @name ServiceAccountsUpdate
4506
+ * @summary Update Service Account
4507
+ * @request POST:/service-accounts.update
4508
+ * @secure
4509
+ */
4510
+ this.serviceAccountsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/service-accounts.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4472
4511
  /**
4473
4512
  * @description Gets an SLA tracker.
4474
4513
  *
@@ -4879,6 +4918,26 @@ class Api extends HttpClient {
4879
4918
  * @secure
4880
4919
  */
4881
4920
  this.surveysDelete = (data, params = {}) => this.request(Object.assign({ path: `/surveys.delete`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4921
+ /**
4922
+ * @description Gets a survey given the ID.
4923
+ *
4924
+ * @tags surveys
4925
+ * @name SurveysGet
4926
+ * @summary Get Survey
4927
+ * @request GET:/surveys.get
4928
+ * @secure
4929
+ */
4930
+ this.surveysGet = (query, params = {}) => this.request(Object.assign({ path: `/surveys.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
4931
+ /**
4932
+ * @description Gets a survey given the ID.
4933
+ *
4934
+ * @tags surveys
4935
+ * @name SurveysGetPost
4936
+ * @summary Get Survey (POST)
4937
+ * @request POST:/surveys.get
4938
+ * @secure
4939
+ */
4940
+ this.surveysGetPost = (data, params = {}) => this.request(Object.assign({ path: `/surveys.get`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
4882
4941
  /**
4883
4942
  * @description List surveys requested by the user.
4884
4943
  *