@devrev/typescript-sdk 1.1.25 → 1.1.27
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 +266 -4
- package/dist/auto-generated/beta/beta-devrev-sdk.js +59 -3
- package/dist/auto-generated/public-devrev-sdk.d.ts +87 -2
- package/dist/auto-generated/public-devrev-sdk.js +2 -0
- package/dist/snap-ins/index.d.ts +4 -0
- package/dist/snap-ins/index.js +20 -0
- package/dist/snap-ins/interfaces.d.ts +15 -0
- package/dist/snap-ins/interfaces.js +2 -0
- package/dist/snap-ins/schema.pb.d.ts +461 -0
- package/dist/snap-ins/schema.pb.js +678 -0
- package/dist/snap-ins/stock_objects.d.ts +16 -0
- package/dist/snap-ins/stock_objects.js +28 -0
- package/dist/snap-ins/struct.pb.d.ts +201 -0
- package/dist/snap-ins/struct.pb.js +491 -0
- package/dist/snap-ins/types.d.ts +166 -0
- package/dist/snap-ins/types.js +15 -0
- package/dist/snap-ins/types.test.d.ts +1 -0
- package/dist/snap-ins/types.test.js +81 -0
- package/package.json +2 -1
|
@@ -491,6 +491,11 @@ export interface ArticlesCountRequest {
|
|
|
491
491
|
* @example ["DEVU-12345"]
|
|
492
492
|
*/
|
|
493
493
|
created_by?: string[];
|
|
494
|
+
/**
|
|
495
|
+
* Filters for articles modified by any of the provided users.
|
|
496
|
+
* @example ["DEVU-12345"]
|
|
497
|
+
*/
|
|
498
|
+
modified_by?: string[];
|
|
494
499
|
/**
|
|
495
500
|
* Filters for articles owned by any of the provided users.
|
|
496
501
|
* @example ["DEVU-12345"]
|
|
@@ -644,6 +649,11 @@ export interface ArticlesListRequest {
|
|
|
644
649
|
* always be returned in the specified sort-by order.
|
|
645
650
|
*/
|
|
646
651
|
mode?: ListMode;
|
|
652
|
+
/**
|
|
653
|
+
* Filters for articles modified by any of the provided users.
|
|
654
|
+
* @example ["DEVU-12345"]
|
|
655
|
+
*/
|
|
656
|
+
modified_by?: string[];
|
|
647
657
|
/**
|
|
648
658
|
* Filters for articles owned by any of the provided users.
|
|
649
659
|
* @example ["DEVU-12345"]
|
|
@@ -2608,8 +2618,18 @@ export interface DevOrgAuthConnectionsUpdateResponse {
|
|
|
2608
2618
|
}
|
|
2609
2619
|
/** dev-user */
|
|
2610
2620
|
export type DevUser = UserBase & {
|
|
2621
|
+
/**
|
|
2622
|
+
* Start date of the user's employment.
|
|
2623
|
+
* @format date-time
|
|
2624
|
+
* @example "2023-01-01T12:00:00.000Z"
|
|
2625
|
+
*/
|
|
2626
|
+
experience_start_date?: string;
|
|
2611
2627
|
/** IDs of the Dev User outside the DevRev SOR. */
|
|
2612
2628
|
external_identities?: ExternalIdentity[];
|
|
2629
|
+
/** Job history of the user. */
|
|
2630
|
+
job_history?: JobHistoryItem[];
|
|
2631
|
+
/** Array of skills of the user. */
|
|
2632
|
+
skills?: UserSkill[];
|
|
2613
2633
|
};
|
|
2614
2634
|
/** dev-user-external-identity-filter */
|
|
2615
2635
|
export interface DevUserExternalIdentityFilter {
|
|
@@ -2650,6 +2670,41 @@ export interface DevUsersGetRequest {
|
|
|
2650
2670
|
export interface DevUsersGetResponse {
|
|
2651
2671
|
dev_user: DevUser;
|
|
2652
2672
|
}
|
|
2673
|
+
/**
|
|
2674
|
+
* dev-users-identities-link-request
|
|
2675
|
+
* Request to link external identity to a Dev user.
|
|
2676
|
+
*/
|
|
2677
|
+
export interface DevUsersIdentitiesLinkRequest {
|
|
2678
|
+
/** Display name of the Dev user in the external source. */
|
|
2679
|
+
display_name?: string;
|
|
2680
|
+
/** Unique ID of the Dev user in the external source. */
|
|
2681
|
+
id: string;
|
|
2682
|
+
/** Issuer of the external identity of the Dev user. */
|
|
2683
|
+
issuer: string;
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* dev-users-identities-link-response
|
|
2687
|
+
* Response for the request to link an external identity to a Dev user.
|
|
2688
|
+
*/
|
|
2689
|
+
export interface DevUsersIdentitiesLinkResponse {
|
|
2690
|
+
dev_user: DevUser;
|
|
2691
|
+
}
|
|
2692
|
+
/**
|
|
2693
|
+
* dev-users-identities-unlink-request
|
|
2694
|
+
* Request to unlink an external identity from a Dev user.
|
|
2695
|
+
*/
|
|
2696
|
+
export interface DevUsersIdentitiesUnlinkRequest {
|
|
2697
|
+
/** Issuer that needs to be unlinked from a Dev user. */
|
|
2698
|
+
issuer: string;
|
|
2699
|
+
}
|
|
2700
|
+
/**
|
|
2701
|
+
* dev-users-identities-unlink-response
|
|
2702
|
+
* Response for the request to unlink an external identity from a Dev
|
|
2703
|
+
* user.
|
|
2704
|
+
*/
|
|
2705
|
+
export interface DevUsersIdentitiesUnlinkResponse {
|
|
2706
|
+
dev_user: DevUser;
|
|
2707
|
+
}
|
|
2653
2708
|
/**
|
|
2654
2709
|
* dev-users-list-request
|
|
2655
2710
|
* A request to get the list of Dev user's information.
|
|
@@ -3024,6 +3079,24 @@ export interface EngagementsUpdateResponse {
|
|
|
3024
3079
|
export type Enhancement = PartBase;
|
|
3025
3080
|
/** enhancement-summary */
|
|
3026
3081
|
export type EnhancementSummary = PartBaseSummary;
|
|
3082
|
+
/**
|
|
3083
|
+
* enum-value
|
|
3084
|
+
* Enum Value defines the structure for an enum.
|
|
3085
|
+
*/
|
|
3086
|
+
export interface EnumValue {
|
|
3087
|
+
/**
|
|
3088
|
+
* Unique ID of the enum value. This is immutable.
|
|
3089
|
+
* @format int64
|
|
3090
|
+
*/
|
|
3091
|
+
id: number;
|
|
3092
|
+
/** Display label of the enum value. This is mutable. */
|
|
3093
|
+
label: string;
|
|
3094
|
+
/**
|
|
3095
|
+
* Order number of the enum value. This is mutable.
|
|
3096
|
+
* @format int64
|
|
3097
|
+
*/
|
|
3098
|
+
ordinal: number;
|
|
3099
|
+
}
|
|
3027
3100
|
/** error */
|
|
3028
3101
|
export interface Error {
|
|
3029
3102
|
/** Information about the error. */
|
|
@@ -3037,9 +3110,16 @@ export interface Error {
|
|
|
3037
3110
|
type?: string;
|
|
3038
3111
|
}
|
|
3039
3112
|
/** error-bad-request */
|
|
3040
|
-
export type ErrorBadRequest = ErrorBase & (ErrorBadRequestBadRequest | ErrorBadRequestInvalidApiVersion | ErrorBadRequestInvalidEnumValue | ErrorBadRequestInvalidField | ErrorBadRequestMissingDependency | ErrorBadRequestMissingRequiredField | ErrorBadRequestParseError | ErrorBadRequestStaleSchemaFragments | ErrorBadRequestUnexpectedJsonType | ErrorBadRequestValueNotPermitted) & {
|
|
3113
|
+
export type ErrorBadRequest = ErrorBase & (ErrorBadRequestArtifactAlreadyAttachedToAParent | ErrorBadRequestBadRequest | ErrorBadRequestInvalidApiVersion | ErrorBadRequestInvalidEnumValue | ErrorBadRequestInvalidField | ErrorBadRequestMissingDependency | ErrorBadRequestMissingRequiredField | ErrorBadRequestParseError | ErrorBadRequestStaleSchemaFragments | ErrorBadRequestUnexpectedJsonType | ErrorBadRequestValueNotPermitted) & {
|
|
3041
3114
|
type: ErrorBadRequestType;
|
|
3042
3115
|
};
|
|
3116
|
+
/** error-bad-request-artifact-already-attached-to-a-parent */
|
|
3117
|
+
export interface ErrorBadRequestArtifactAlreadyAttachedToAParent {
|
|
3118
|
+
/** The existing parent attached to the artifact. */
|
|
3119
|
+
existing_parent: string;
|
|
3120
|
+
/** Whether the existing parent is the same as the new parent. */
|
|
3121
|
+
is_same: boolean;
|
|
3122
|
+
}
|
|
3043
3123
|
/** error-bad-request-bad-request */
|
|
3044
3124
|
export type ErrorBadRequestBadRequest = object;
|
|
3045
3125
|
/** error-bad-request-invalid-api-version */
|
|
@@ -3098,6 +3178,7 @@ export type ErrorBadRequestParseError = object;
|
|
|
3098
3178
|
*/
|
|
3099
3179
|
export type ErrorBadRequestStaleSchemaFragments = object;
|
|
3100
3180
|
export declare enum ErrorBadRequestType {
|
|
3181
|
+
ArtifactAlreadyAttachedToAParent = "artifact_already_attached_to_a_parent",
|
|
3101
3182
|
BadRequest = "bad_request",
|
|
3102
3183
|
InvalidApiVersion = "invalid_api_version",
|
|
3103
3184
|
InvalidEnumValue = "invalid_enum_value",
|
|
@@ -3604,6 +3685,8 @@ export type GroupSearchSummary = SearchSummaryBase & {
|
|
|
3604
3685
|
};
|
|
3605
3686
|
/** group-summary */
|
|
3606
3687
|
export type GroupSummary = AtomBaseSummary & {
|
|
3688
|
+
/** Type of the members in the group. */
|
|
3689
|
+
member_type?: GroupMemberType;
|
|
3607
3690
|
/** Name of the group. */
|
|
3608
3691
|
name?: string;
|
|
3609
3692
|
};
|
|
@@ -3747,6 +3830,8 @@ export type Issue = WorkBase & {
|
|
|
3747
3830
|
developed_with?: PartSummary[];
|
|
3748
3831
|
/** Priority of the work based upon impact and criticality. */
|
|
3749
3832
|
priority?: IssuePriority;
|
|
3833
|
+
/** Vista group item. */
|
|
3834
|
+
sprint?: VistaGroupItemSummary;
|
|
3750
3835
|
/**
|
|
3751
3836
|
* Target start date for the object.
|
|
3752
3837
|
* @format date-time
|
|
@@ -3766,6 +3851,32 @@ export type IssueSummary = WorkBaseSummary & {
|
|
|
3766
3851
|
/** Priority of the work based upon impact and criticality. */
|
|
3767
3852
|
priority?: IssuePriority;
|
|
3768
3853
|
};
|
|
3854
|
+
/**
|
|
3855
|
+
* job-history-item
|
|
3856
|
+
* Defines a job history line item.
|
|
3857
|
+
*/
|
|
3858
|
+
export interface JobHistoryItem {
|
|
3859
|
+
/** Enum Value defines the structure for an enum. */
|
|
3860
|
+
employment_status?: EnumValue;
|
|
3861
|
+
/**
|
|
3862
|
+
* The end date of the job, or not specified if current.
|
|
3863
|
+
* @format date-time
|
|
3864
|
+
* @example "2023-01-01T12:00:00.000Z"
|
|
3865
|
+
*/
|
|
3866
|
+
end_date?: string;
|
|
3867
|
+
/** Is this the current active job for the user. */
|
|
3868
|
+
is_current?: boolean;
|
|
3869
|
+
/** The job location for the user. */
|
|
3870
|
+
location?: string;
|
|
3871
|
+
/**
|
|
3872
|
+
* The start date of the job.
|
|
3873
|
+
* @format date-time
|
|
3874
|
+
* @example "2023-01-01T12:00:00.000Z"
|
|
3875
|
+
*/
|
|
3876
|
+
start_date?: string;
|
|
3877
|
+
/** The job title for the user. */
|
|
3878
|
+
title?: string;
|
|
3879
|
+
}
|
|
3769
3880
|
/**
|
|
3770
3881
|
* legacy-stage
|
|
3771
3882
|
* Describes the current stage of a work item.
|
|
@@ -4077,6 +4188,7 @@ export type MetricDefinition = AtomBase & {
|
|
|
4077
4188
|
/** The list of item types on which the metric might be applied. */
|
|
4078
4189
|
export declare enum MetricDefinitionAppliesTo {
|
|
4079
4190
|
Conversation = "conversation",
|
|
4191
|
+
Issue = "issue",
|
|
4080
4192
|
Ticket = "ticket"
|
|
4081
4193
|
}
|
|
4082
4194
|
/**
|
|
@@ -4089,6 +4201,15 @@ export declare enum MetricDefinitionMetricType {
|
|
|
4089
4201
|
Time = "time",
|
|
4090
4202
|
Value = "value"
|
|
4091
4203
|
}
|
|
4204
|
+
/**
|
|
4205
|
+
* The status of the metric. 'active' metrics can be used to create new
|
|
4206
|
+
* SLAs, while 'inactive' metrics can not be used in new SLAs. Metrics can
|
|
4207
|
+
* be updated between 'active' and 'inactive' states.
|
|
4208
|
+
*/
|
|
4209
|
+
export declare enum MetricDefinitionStatus {
|
|
4210
|
+
Active = "active",
|
|
4211
|
+
Inactive = "inactive"
|
|
4212
|
+
}
|
|
4092
4213
|
/** metric-definition-summary */
|
|
4093
4214
|
export type MetricDefinitionSummary = AtomBaseSummary & {
|
|
4094
4215
|
/** Human readable name of the metric. */
|
|
@@ -4121,6 +4242,8 @@ export interface MetricDefinitionsListRequest {
|
|
|
4121
4242
|
* always be returned in the specified sort-by order.
|
|
4122
4243
|
*/
|
|
4123
4244
|
mode?: ListMode;
|
|
4245
|
+
/** The status of the metric definition. */
|
|
4246
|
+
status?: MetricDefinitionStatus[];
|
|
4124
4247
|
/** The type of metric definitions sought. */
|
|
4125
4248
|
type?: MetricDefinitionMetricType[];
|
|
4126
4249
|
}
|
|
@@ -4872,6 +4995,7 @@ export type QuestionAnswerSearchSummary = SearchSummaryBase & {
|
|
|
4872
4995
|
/** Status of the question answer. */
|
|
4873
4996
|
export declare enum QuestionAnswerStatus {
|
|
4874
4997
|
Archived = "archived",
|
|
4998
|
+
Discarded = "discarded",
|
|
4875
4999
|
Draft = "draft",
|
|
4876
5000
|
Published = "published",
|
|
4877
5001
|
ReviewNeeded = "review_needed"
|
|
@@ -6315,6 +6439,36 @@ export interface ServiceAccountsGetRequest {
|
|
|
6315
6439
|
export interface ServiceAccountsGetResponse {
|
|
6316
6440
|
service_account: ServiceAccount;
|
|
6317
6441
|
}
|
|
6442
|
+
/** set-issue-selector */
|
|
6443
|
+
export interface SetIssueSelector {
|
|
6444
|
+
/**
|
|
6445
|
+
* Custom fields on the issue with their fully qualified names and the
|
|
6446
|
+
* associated with their exact allowed values. The SLA policy applies
|
|
6447
|
+
* to issues where all named custom fields have exactly the specified
|
|
6448
|
+
* values.
|
|
6449
|
+
*/
|
|
6450
|
+
custom_fields?: object;
|
|
6451
|
+
/**
|
|
6452
|
+
* The SLA policy applies to the issues of these parts.
|
|
6453
|
+
* @example ["PROD-12345"]
|
|
6454
|
+
*/
|
|
6455
|
+
parts?: string[];
|
|
6456
|
+
/**
|
|
6457
|
+
* The SLA policy applies to the issues of these revorgs.
|
|
6458
|
+
* @example ["REV-AbCdEfGh"]
|
|
6459
|
+
*/
|
|
6460
|
+
rev_orgs?: string[];
|
|
6461
|
+
/** The SLA policy applies to issues with these stages. */
|
|
6462
|
+
stage_name?: string[];
|
|
6463
|
+
/** The issue subtype for which the SLA policy applies. */
|
|
6464
|
+
subtype?: string[];
|
|
6465
|
+
/**
|
|
6466
|
+
* The SLA policy applies to issues with these tags. If empty, the tag
|
|
6467
|
+
* filter isn't applied.
|
|
6468
|
+
* @example ["TAG-12345"]
|
|
6469
|
+
*/
|
|
6470
|
+
tags?: string[];
|
|
6471
|
+
}
|
|
6318
6472
|
/** set-org-schedule-fragment-summary */
|
|
6319
6473
|
export interface SetOrgScheduleFragmentSummary {
|
|
6320
6474
|
/** Organization schedule fragment ID. */
|
|
@@ -6344,6 +6498,7 @@ export interface SetSlaSelector {
|
|
|
6344
6498
|
* value is null, the field must have null value or not be present.
|
|
6345
6499
|
*/
|
|
6346
6500
|
custom_fields?: object;
|
|
6501
|
+
issue_selector?: SetIssueSelector;
|
|
6347
6502
|
/**
|
|
6348
6503
|
* The SLA policy applies to the tickets of these parts.
|
|
6349
6504
|
* @example ["PROD-12345"]
|
|
@@ -6448,6 +6603,8 @@ export type Sla = AtomBase & {
|
|
|
6448
6603
|
* priority.
|
|
6449
6604
|
*/
|
|
6450
6605
|
policies?: SlaPolicy[];
|
|
6606
|
+
/** Type of the SLA. */
|
|
6607
|
+
sla_type?: SlaType;
|
|
6451
6608
|
/**
|
|
6452
6609
|
* Status determines how an item can be used. In 'draft' status an item
|
|
6453
6610
|
* can be edited but can't be used. When 'published' the item can longer
|
|
@@ -6455,6 +6612,16 @@ export type Sla = AtomBase & {
|
|
|
6455
6612
|
*/
|
|
6456
6613
|
status: SlaStatus;
|
|
6457
6614
|
};
|
|
6615
|
+
/**
|
|
6616
|
+
* The object types on which the SLA applies. An external SLA can apply to
|
|
6617
|
+
* multiple object types, but an internal SLA can apply to only one object
|
|
6618
|
+
* type.
|
|
6619
|
+
*/
|
|
6620
|
+
export declare enum SlaAppliesTo {
|
|
6621
|
+
Conversation = "conversation",
|
|
6622
|
+
Issue = "issue",
|
|
6623
|
+
Ticket = "ticket"
|
|
6624
|
+
}
|
|
6458
6625
|
/** sla-assign-result */
|
|
6459
6626
|
export interface SlaAssignResult {
|
|
6460
6627
|
error?: Error;
|
|
@@ -6490,9 +6657,10 @@ export type SlaPolicy = object;
|
|
|
6490
6657
|
/** The item type for which the SLA policy applies. */
|
|
6491
6658
|
export declare enum SlaSelectorAppliesTo {
|
|
6492
6659
|
Conversation = "conversation",
|
|
6660
|
+
Issue = "issue",
|
|
6493
6661
|
Ticket = "ticket"
|
|
6494
6662
|
}
|
|
6495
|
-
/**
|
|
6663
|
+
/** The SLA policy applies to conversations with these priorities. */
|
|
6496
6664
|
export declare enum SlaSelectorPriority {
|
|
6497
6665
|
P0 = "p0",
|
|
6498
6666
|
P1 = "p1",
|
|
@@ -6579,6 +6747,11 @@ export interface SlaTrackersGetRequest {
|
|
|
6579
6747
|
export interface SlaTrackersGetResponse {
|
|
6580
6748
|
sla_tracker: SlaTracker;
|
|
6581
6749
|
}
|
|
6750
|
+
/** Type of the SLA. */
|
|
6751
|
+
export declare enum SlaType {
|
|
6752
|
+
External = "external",
|
|
6753
|
+
Internal = "internal"
|
|
6754
|
+
}
|
|
6582
6755
|
/** slas-assign-request */
|
|
6583
6756
|
export interface SlasAssignRequest {
|
|
6584
6757
|
/**
|
|
@@ -6601,6 +6774,8 @@ export interface SlasAssignResponse {
|
|
|
6601
6774
|
/** slas-create-request */
|
|
6602
6775
|
export interface SlasCreateRequest {
|
|
6603
6776
|
account_selector?: AccountsFilters;
|
|
6777
|
+
/** The object types this SLA can apply to. */
|
|
6778
|
+
applies_to?: SlaAppliesTo[];
|
|
6604
6779
|
/** Description of the purpose and capabilities of the SLA. */
|
|
6605
6780
|
description?: string;
|
|
6606
6781
|
/**
|
|
@@ -6619,11 +6794,17 @@ export interface SlasCreateRequest {
|
|
|
6619
6794
|
* priority.
|
|
6620
6795
|
*/
|
|
6621
6796
|
policies?: SetSlaPolicy[];
|
|
6797
|
+
/** Type of the SLA. */
|
|
6798
|
+
sla_type?: SlaType;
|
|
6622
6799
|
}
|
|
6623
6800
|
/** slas-create-response */
|
|
6624
6801
|
export interface SlasCreateResponse {
|
|
6625
6802
|
sla: Sla;
|
|
6626
6803
|
}
|
|
6804
|
+
export declare enum SlasFilterAppliesToOperatorType {
|
|
6805
|
+
All = "all",
|
|
6806
|
+
Any = "any"
|
|
6807
|
+
}
|
|
6627
6808
|
/** slas-get-request */
|
|
6628
6809
|
export interface SlasGetRequest {
|
|
6629
6810
|
/** The ID of the SLA to get. */
|
|
@@ -6635,6 +6816,9 @@ export interface SlasGetResponse {
|
|
|
6635
6816
|
}
|
|
6636
6817
|
/** slas-list-request */
|
|
6637
6818
|
export interface SlasListRequest {
|
|
6819
|
+
/** The object types the SLA applies to. */
|
|
6820
|
+
applies_to?: SlaAppliesTo[];
|
|
6821
|
+
applies_to_op?: SlasFilterAppliesToOperatorType;
|
|
6638
6822
|
/**
|
|
6639
6823
|
* The cursor to resume iteration from. If not provided, then
|
|
6640
6824
|
* iteration starts from the beginning.
|
|
@@ -6653,6 +6837,8 @@ export interface SlasListRequest {
|
|
|
6653
6837
|
* always be returned in the specified sort-by order.
|
|
6654
6838
|
*/
|
|
6655
6839
|
mode?: ListMode;
|
|
6840
|
+
/** The SLA types the filter matches. */
|
|
6841
|
+
sla_type?: SlaType[];
|
|
6656
6842
|
/** The SLA statuses the filter matches. */
|
|
6657
6843
|
status?: SlaStatus[];
|
|
6658
6844
|
}
|
|
@@ -6957,6 +7143,7 @@ export type SurveyResponse = AtomBase & {
|
|
|
6957
7143
|
dispatch_id?: string;
|
|
6958
7144
|
/** The ID of the object for which survey is taken. */
|
|
6959
7145
|
object?: string;
|
|
7146
|
+
recipient?: UserSummary;
|
|
6960
7147
|
/** Response for the survey. */
|
|
6961
7148
|
response?: object;
|
|
6962
7149
|
/** The ID of the survey for which response is taken. */
|
|
@@ -7072,6 +7259,8 @@ export interface SurveysResponsesListRequest {
|
|
|
7072
7259
|
* them.
|
|
7073
7260
|
*/
|
|
7074
7261
|
sort_by?: string[];
|
|
7262
|
+
/** Filters for survey response stages. */
|
|
7263
|
+
stages?: number[];
|
|
7075
7264
|
/** Filters for survey responses for the provided survey IDs. */
|
|
7076
7265
|
surveys?: string[];
|
|
7077
7266
|
}
|
|
@@ -7111,14 +7300,21 @@ export type SurveysSendResponse = object;
|
|
|
7111
7300
|
export interface SurveysSubmitRequest {
|
|
7112
7301
|
/** The unique ID associated with the dispatched survey. */
|
|
7113
7302
|
dispatch_id?: string;
|
|
7303
|
+
/** The ordinals of the source channels on which the survey is sent. */
|
|
7304
|
+
dispatched_channels?: number[];
|
|
7114
7305
|
/**
|
|
7115
7306
|
* The ID of the object this survey is on (e.g. ticket, conversation,
|
|
7116
7307
|
* etc).
|
|
7117
7308
|
* @example "ACC-12345"
|
|
7118
7309
|
*/
|
|
7119
7310
|
object: string;
|
|
7311
|
+
/**
|
|
7312
|
+
* The unique ID associated with the recipient of the survey.
|
|
7313
|
+
* @example "DEVU-12345"
|
|
7314
|
+
*/
|
|
7315
|
+
recipient?: string;
|
|
7120
7316
|
/** Survey response submitted for the object. */
|
|
7121
|
-
response
|
|
7317
|
+
response?: object;
|
|
7122
7318
|
/**
|
|
7123
7319
|
* The response score for the survey. Only applicable for CSAT and
|
|
7124
7320
|
* NPS.
|
|
@@ -7127,6 +7323,11 @@ export interface SurveysSubmitRequest {
|
|
|
7127
7323
|
response_score?: number;
|
|
7128
7324
|
/** The source channel from which survey response is submitted. */
|
|
7129
7325
|
source_channel?: string;
|
|
7326
|
+
/**
|
|
7327
|
+
* The stage ordinal of the survey response object.
|
|
7328
|
+
* @format int64
|
|
7329
|
+
*/
|
|
7330
|
+
stage?: number;
|
|
7130
7331
|
/** The ID of the survey to submit the response to. */
|
|
7131
7332
|
survey: string;
|
|
7132
7333
|
}
|
|
@@ -7460,7 +7661,8 @@ export type Ticket = WorkBase & {
|
|
|
7460
7661
|
export declare enum TicketChannels {
|
|
7461
7662
|
Email = "email",
|
|
7462
7663
|
Plug = "plug",
|
|
7463
|
-
Slack = "slack"
|
|
7664
|
+
Slack = "slack",
|
|
7665
|
+
Twilio = "twilio"
|
|
7464
7666
|
}
|
|
7465
7667
|
/** Severity of the ticket. */
|
|
7466
7668
|
export declare enum TicketSeverity {
|
|
@@ -8275,6 +8477,14 @@ export type UserBaseSummary = AtomBaseSummary & {
|
|
|
8275
8477
|
export type UserSearchSummary = SearchSummaryBase & {
|
|
8276
8478
|
user: UserSummary;
|
|
8277
8479
|
};
|
|
8480
|
+
/**
|
|
8481
|
+
* user-skill
|
|
8482
|
+
* Skill associated with the user.
|
|
8483
|
+
*/
|
|
8484
|
+
export interface UserSkill {
|
|
8485
|
+
/** Name of the skill. */
|
|
8486
|
+
name?: string;
|
|
8487
|
+
}
|
|
8278
8488
|
/** State of the user. */
|
|
8279
8489
|
export declare enum UserState {
|
|
8280
8490
|
Active = "active",
|
|
@@ -8299,6 +8509,11 @@ export type VistaBaseSummary = AtomBaseSummary & {
|
|
|
8299
8509
|
/** Name of the vista. */
|
|
8300
8510
|
name: string;
|
|
8301
8511
|
};
|
|
8512
|
+
/**
|
|
8513
|
+
* vista-group-item-summary
|
|
8514
|
+
* Vista group item.
|
|
8515
|
+
*/
|
|
8516
|
+
export type VistaGroupItemSummary = object;
|
|
8302
8517
|
/** vista-search-summary */
|
|
8303
8518
|
export type VistaSearchSummary = SearchSummaryBase & {
|
|
8304
8519
|
/** Represents a collection of DevRev objects. */
|
|
@@ -8891,6 +9106,8 @@ export interface WorksFilterIssue {
|
|
|
8891
9106
|
* @example ["REV-AbCdEfGh"]
|
|
8892
9107
|
*/
|
|
8893
9108
|
rev_orgs?: string[];
|
|
9109
|
+
/** Filters for issues with any of the sprint. */
|
|
9110
|
+
sprint?: string[];
|
|
8894
9111
|
/** Filters for issues with any of the provided subtypes. */
|
|
8895
9112
|
subtype?: string[];
|
|
8896
9113
|
/** Provides ways to specify date ranges on objects. */
|
|
@@ -9501,6 +9718,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9501
9718
|
* @example ["DEVU-12345"]
|
|
9502
9719
|
*/
|
|
9503
9720
|
created_by?: string[];
|
|
9721
|
+
/**
|
|
9722
|
+
* Filters for articles modified by any of the provided users.
|
|
9723
|
+
* @example ["DEVU-12345"]
|
|
9724
|
+
*/
|
|
9725
|
+
modified_by?: string[];
|
|
9504
9726
|
/**
|
|
9505
9727
|
* Filters for articles owned by any of the provided users.
|
|
9506
9728
|
* @example ["DEVU-12345"]
|
|
@@ -9597,6 +9819,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9597
9819
|
* used.
|
|
9598
9820
|
*/
|
|
9599
9821
|
mode?: ListMode;
|
|
9822
|
+
/**
|
|
9823
|
+
* Filters for articles modified by any of the provided users.
|
|
9824
|
+
* @example ["DEVU-12345"]
|
|
9825
|
+
*/
|
|
9826
|
+
modified_by?: string[];
|
|
9600
9827
|
/**
|
|
9601
9828
|
* Filters for articles owned by any of the provided users.
|
|
9602
9829
|
* @example ["DEVU-12345"]
|
|
@@ -10188,6 +10415,24 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10188
10415
|
* @secure
|
|
10189
10416
|
*/
|
|
10190
10417
|
devUsersGetPost: (data: DevUsersGetRequest, params?: RequestParams) => Promise<AxiosResponse<DevUsersGetResponse, any>>;
|
|
10418
|
+
/**
|
|
10419
|
+
* @description Links an external/secondary identity to the Dev user.
|
|
10420
|
+
*
|
|
10421
|
+
* @tags dev-users
|
|
10422
|
+
* @name DevUsersIdentitiesLink
|
|
10423
|
+
* @request POST:/dev-users.identities.link
|
|
10424
|
+
* @secure
|
|
10425
|
+
*/
|
|
10426
|
+
devUsersIdentitiesLink: (data: DevUsersIdentitiesLinkRequest, params?: RequestParams) => Promise<AxiosResponse<DevUsersIdentitiesLinkResponse, any>>;
|
|
10427
|
+
/**
|
|
10428
|
+
* @description Unlinks an external/secondary identity from the Dev user.
|
|
10429
|
+
*
|
|
10430
|
+
* @tags dev-users
|
|
10431
|
+
* @name DevUsersIdentitiesUnlink
|
|
10432
|
+
* @request POST:/dev-users.identities.unlink
|
|
10433
|
+
* @secure
|
|
10434
|
+
*/
|
|
10435
|
+
devUsersIdentitiesUnlink: (data: DevUsersIdentitiesUnlinkRequest, params?: RequestParams) => Promise<AxiosResponse<DevUsersIdentitiesUnlinkResponse, any>>;
|
|
10191
10436
|
/**
|
|
10192
10437
|
* @description Lists users within your organization.
|
|
10193
10438
|
*
|
|
@@ -10695,6 +10940,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10695
10940
|
* used.
|
|
10696
10941
|
*/
|
|
10697
10942
|
mode?: ListMode;
|
|
10943
|
+
/** The status of the metric definition. */
|
|
10944
|
+
status?: MetricDefinitionStatus[];
|
|
10698
10945
|
/** The type of metric definitions sought. */
|
|
10699
10946
|
type?: MetricDefinitionMetricType[];
|
|
10700
10947
|
}, params?: RequestParams) => Promise<AxiosResponse<MetricDefinitionsListResponse, any>>;
|
|
@@ -11737,6 +11984,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11737
11984
|
* @secure
|
|
11738
11985
|
*/
|
|
11739
11986
|
slasList: (query?: {
|
|
11987
|
+
/** The object types the SLA applies to. */
|
|
11988
|
+
applies_to?: SlaAppliesTo[];
|
|
11989
|
+
/**
|
|
11990
|
+
* The Filter operator to be applied on the applies to object types
|
|
11991
|
+
* filter.
|
|
11992
|
+
*/
|
|
11993
|
+
applies_to_op?: SlasFilterAppliesToOperatorType;
|
|
11740
11994
|
/**
|
|
11741
11995
|
* The cursor to resume iteration from. If not provided, then iteration
|
|
11742
11996
|
* starts from the beginning.
|
|
@@ -11752,6 +12006,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11752
12006
|
* used.
|
|
11753
12007
|
*/
|
|
11754
12008
|
mode?: ListMode;
|
|
12009
|
+
/** The SLA types the filter matches. */
|
|
12010
|
+
sla_type?: SlaType[];
|
|
11755
12011
|
/** The SLA statuses the filter matches. */
|
|
11756
12012
|
status?: SlaStatus[];
|
|
11757
12013
|
}, params?: RequestParams) => Promise<AxiosResponse<SlasListResponse, any>>;
|
|
@@ -12066,6 +12322,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12066
12322
|
* them.
|
|
12067
12323
|
*/
|
|
12068
12324
|
sort_by?: string[];
|
|
12325
|
+
/** Filters for survey response stages. */
|
|
12326
|
+
stages?: number[];
|
|
12069
12327
|
/** Filters for survey responses for the provided survey IDs. */
|
|
12070
12328
|
surveys?: string[];
|
|
12071
12329
|
}, params?: RequestParams) => Promise<AxiosResponse<SurveysResponsesListResponse, any>>;
|
|
@@ -12631,6 +12889,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12631
12889
|
* @example ["REV-AbCdEfGh"]
|
|
12632
12890
|
*/
|
|
12633
12891
|
'issue.rev_orgs'?: string[];
|
|
12892
|
+
/** Filters for issues with any of the sprint. */
|
|
12893
|
+
'issue.sprint'?: string[];
|
|
12634
12894
|
/** Filters for issues with any of the provided subtypes. */
|
|
12635
12895
|
'issue.subtype'?: string[];
|
|
12636
12896
|
/**
|
|
@@ -12771,6 +13031,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12771
13031
|
* @example ["REV-AbCdEfGh"]
|
|
12772
13032
|
*/
|
|
12773
13033
|
'issue.rev_orgs'?: string[];
|
|
13034
|
+
/** Filters for issues with any of the sprint. */
|
|
13035
|
+
'issue.sprint'?: string[];
|
|
12774
13036
|
/** Filters for issues with any of the provided subtypes. */
|
|
12775
13037
|
'issue.subtype'?: string[];
|
|
12776
13038
|
/**
|