@devrev/typescript-sdk 1.1.21 → 1.1.23

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.
@@ -1,5 +1,76 @@
1
+ /** account */
2
+ export type Account = OrgBase & {
3
+ /** Description of the corresponding Account. */
4
+ description?: string;
5
+ /** Company's domain names. Example - 'devrev.ai'. */
6
+ domains?: string[];
7
+ /**
8
+ * External refs are unique identifiers from your customer system of
9
+ * records, stored as a list.
10
+ */
11
+ external_refs: string[];
12
+ /** List of Dev user IDs owning this Account. */
13
+ owned_by: UserSummary[];
14
+ /** The Tier of the corresponding Account. */
15
+ tier?: string;
16
+ };
17
+ /** artifact */
18
+ export type Artifact = AtomBase;
1
19
  /** artifact-summary */
2
20
  export type ArtifactSummary = AtomBaseSummary;
21
+ /**
22
+ * artifact-version
23
+ * The version of the artifact.
24
+ */
25
+ export interface ArtifactVersion {
26
+ modified_by?: UserSummary;
27
+ /**
28
+ * The timestamp at which the version was created.
29
+ * @format date-time
30
+ * @example "2023-01-01T12:00:00.000Z"
31
+ */
32
+ timestamp: string;
33
+ /** The version of the artifact. */
34
+ version: string;
35
+ }
36
+ /**
37
+ * artifacts-get-request
38
+ * The request to get an artifact's information.
39
+ */
40
+ export interface ArtifactsGetRequest {
41
+ /**
42
+ * The requested artifact's ID.
43
+ * @example "ARTIFACT-12345"
44
+ */
45
+ id: string;
46
+ /** The version of the artifact that needs to be fetched. */
47
+ version?: string;
48
+ }
49
+ /**
50
+ * artifacts-get-response
51
+ * The response to getting an artifact's information.
52
+ */
53
+ export interface ArtifactsGetResponse {
54
+ artifact: Artifact;
55
+ /** The version of the artifact. */
56
+ version: ArtifactVersion;
57
+ }
58
+ /**
59
+ * artifacts-list-request
60
+ * The request to list artifacts attached to an object.
61
+ */
62
+ export interface ArtifactsListRequest {
63
+ /** The ID of the object to filter artifacts. */
64
+ parent_id: string;
65
+ }
66
+ /**
67
+ * artifacts-list-response
68
+ * The response to list artifacts attached to an object.
69
+ */
70
+ export interface ArtifactsListResponse {
71
+ /** The artifact's information. */
72
+ artifacts: Artifact[];
73
+ }
3
74
  /**
4
75
  * artifacts-locate-request
5
76
  * The request to get an artifact's download URL.
@@ -219,6 +290,7 @@ export declare enum AuthTokenRequestedTokenType {
219
290
  UrnDevrevParamsOauthTokenTypeAat = "urn:devrev:params:oauth:token-type:aat",
220
291
  UrnDevrevParamsOauthTokenTypeAatPublic = "urn:devrev:params:oauth:token-type:aat:public",
221
292
  UrnDevrevParamsOauthTokenTypeDev = "urn:devrev:params:oauth:token-type:dev",
293
+ UrnDevrevParamsOauthTokenTypeGat = "urn:devrev:params:oauth:token-type:gat",
222
294
  UrnDevrevParamsOauthTokenTypePat = "urn:devrev:params:oauth:token-type:pat",
223
295
  UrnDevrevParamsOauthTokenTypePatActAs = "urn:devrev:params:oauth:token-type:pat:act-as",
224
296
  UrnDevrevParamsOauthTokenTypeRat = "urn:devrev:params:oauth:token-type:rat",
@@ -226,6 +298,7 @@ export declare enum AuthTokenRequestedTokenType {
226
298
  UrnDevrevParamsOauthTokenTypeSession = "urn:devrev:params:oauth:token-type:session",
227
299
  UrnDevrevParamsOauthTokenTypeSessionDev0 = "urn:devrev:params:oauth:token-type:session:dev0",
228
300
  UrnDevrevParamsOauthTokenTypeSessionOnetime = "urn:devrev:params:oauth:token-type:session:onetime",
301
+ UrnDevrevParamsOauthTokenTypeSuper = "urn:devrev:params:oauth:token-type:super",
229
302
  UrnDevrevParamsOauthTokenTypeSys = "urn:devrev:params:oauth:token-type:sys",
230
303
  UrnIetfParamsOauthTokenTypeJwt = "urn:ietf:params:oauth:token-type:jwt"
231
304
  }
@@ -269,8 +342,10 @@ export interface AuthTokensCreateRequest {
269
342
  */
270
343
  client_id?: string;
271
344
  /**
272
- * The expected validity lifetime of the token in number of days.
273
- * @format int64
345
+ * The expected validity lifetime of the token in number of days. In
346
+ * practice, the value should be based on the usage of the token.
347
+ * @min 0
348
+ * @max 4294967295
274
349
  */
275
350
  expires_in?: number;
276
351
  /** Specifies the process of obtaining a token. */
@@ -390,10 +465,18 @@ export interface AuthTokensListResponse {
390
465
  * Carries Rev org info.
391
466
  */
392
467
  export interface AuthTokensOrgTraits {
468
+ /** Application-defined custom fields of the Rev org. */
469
+ custom_fields?: object;
470
+ /** The description of the Rev org. */
471
+ description?: string;
393
472
  /** The display name of the Rev org. */
394
473
  display_name?: string;
395
474
  /** The domain of the Rev org. */
396
475
  domain?: string;
476
+ /** Phone numbers of the Rev org. */
477
+ phone_numbers?: string[];
478
+ /** The tier of the Rev org. */
479
+ tier?: string;
397
480
  }
398
481
  /**
399
482
  * auth-tokens-rev-info
@@ -443,13 +526,18 @@ export interface AuthTokensUpdateResponse {
443
526
  * Carries Rev user info.
444
527
  */
445
528
  export interface AuthTokensUserTraits {
446
- /** Application-defined custom fields. */
529
+ /** Application-defined custom fields of the Rev user. */
447
530
  custom_fields?: object;
531
+ /** The description of the Rev user. */
532
+ description?: string;
448
533
  /** The display name of the Rev user. */
449
534
  display_name?: string;
450
535
  /** The email address of the Rev user. */
451
536
  email?: string;
452
- /** The full name of the Rev user. */
537
+ /**
538
+ * The full name of the Rev user.
539
+ * @deprecated
540
+ */
453
541
  full_name?: string;
454
542
  /** Phone numbers of the Rev user. */
455
543
  phone_numbers?: string[];
@@ -458,6 +546,37 @@ export interface AuthTokensUserTraits {
458
546
  export type Capability = PartBase;
459
547
  /** capability-summary */
460
548
  export type CapabilitySummary = PartBaseSummary;
549
+ /** conversation */
550
+ export type Conversation = AtomBase & {
551
+ /** Description of the conversation object. */
552
+ description?: string;
553
+ group?: GroupSummary;
554
+ /** The users in the conversation. */
555
+ members: UserSummary[];
556
+ /** The latest messages on the conversation. */
557
+ messages?: TimelineEntry[];
558
+ /** Metadata on conversation. */
559
+ metadata?: ConversationMetadata;
560
+ /** Owner IDs for the conversation. */
561
+ owned_by?: UserSummary[];
562
+ /** Describes the current stage of a work item. */
563
+ stage?: LegacyStage;
564
+ /** Tags associated with the object. */
565
+ tags?: TagWithValue[];
566
+ /** Title of the conversation object. */
567
+ title?: string;
568
+ };
569
+ /**
570
+ * conversation-metadata
571
+ * Metadata on conversation.
572
+ */
573
+ export interface ConversationMetadata {
574
+ /**
575
+ * URL from which the conversation was created if the conversation was
576
+ * created via PLuG.
577
+ */
578
+ url_context?: string;
579
+ }
461
580
  /**
462
581
  * date-filter
463
582
  * Provides ways to specify date ranges on objects.
@@ -665,6 +784,13 @@ export type DevUser = UserBase & {
665
784
  /** IDs of the Dev User outside the DevRev SOR. */
666
785
  external_identities?: ExternalIdentity[];
667
786
  };
787
+ /** dev-user-external-identity-filter */
788
+ export interface DevUserExternalIdentityFilter {
789
+ /** Unique ID of the user in the external source. */
790
+ id?: string;
791
+ /** Issuer of the external identity of the user. */
792
+ issuer?: string;
793
+ }
668
794
  /** dev-user-summary */
669
795
  export type DevUserSummary = UserBaseSummary;
670
796
  /**
@@ -694,6 +820,8 @@ export interface DevUsersListRequest {
694
820
  cursor?: string;
695
821
  /** Filters Dev users based on email addresses. */
696
822
  email?: string[];
823
+ /** Filters Dev users based on external identity. */
824
+ external_identity?: DevUserExternalIdentityFilter[];
697
825
  /**
698
826
  * The maximum number of Dev users to return. The default is '50'.
699
827
  * @format int32
@@ -749,11 +877,16 @@ export type Enhancement = PartBase;
749
877
  /** enhancement-summary */
750
878
  export type EnhancementSummary = PartBaseSummary;
751
879
  /** error-bad-request */
752
- export type ErrorBadRequest = ErrorBase & (ErrorBadRequestBadRequest | ErrorBadRequestInvalidEnumValue | ErrorBadRequestInvalidField | ErrorBadRequestMissingDependency | ErrorBadRequestMissingRequiredField | ErrorBadRequestParseError | ErrorBadRequestValueNotPermitted) & {
880
+ export type ErrorBadRequest = ErrorBase & (ErrorBadRequestBadRequest | ErrorBadRequestInvalidApiVersion | ErrorBadRequestInvalidEnumValue | ErrorBadRequestInvalidField | ErrorBadRequestMissingDependency | ErrorBadRequestMissingRequiredField | ErrorBadRequestParseError | ErrorBadRequestStaleSchemaFragments | ErrorBadRequestValueNotPermitted) & {
753
881
  type: ErrorBadRequestType;
754
882
  };
755
883
  /** error-bad-request-bad-request */
756
884
  export type ErrorBadRequestBadRequest = object;
885
+ /** error-bad-request-invalid-api-version */
886
+ export interface ErrorBadRequestInvalidApiVersion {
887
+ /** The provided API version. */
888
+ value: string;
889
+ }
757
890
  /** error-bad-request-invalid-enum-value */
758
891
  export interface ErrorBadRequestInvalidEnumValue {
759
892
  /** The allowed values for the field. */
@@ -786,13 +919,24 @@ export interface ErrorBadRequestMissingRequiredField {
786
919
  }
787
920
  /** error-bad-request-parse-error */
788
921
  export type ErrorBadRequestParseError = object;
922
+ /**
923
+ * error-bad-request-stale-schema-fragments
924
+ * Error indicating that the request contained one or more stale schema
925
+ * fragments, which are schema fragments that have been replaced by a
926
+ * newer version and are therefore considered deprecated schema fragments.
927
+ * The caller should refresh and use the latest schema fragments in their
928
+ * request.
929
+ */
930
+ export type ErrorBadRequestStaleSchemaFragments = object;
789
931
  export declare enum ErrorBadRequestType {
790
932
  BadRequest = "bad_request",
933
+ InvalidApiVersion = "invalid_api_version",
791
934
  InvalidEnumValue = "invalid_enum_value",
792
935
  InvalidField = "invalid_field",
793
936
  MissingDependency = "missing_dependency",
794
937
  MissingRequiredField = "missing_required_field",
795
938
  ParseError = "parse_error",
939
+ StaleSchemaFragments = "stale_schema_fragments",
796
940
  ValueNotPermitted = "value_not_permitted"
797
941
  }
798
942
  /** error-bad-request-value-not-permitted */
@@ -873,6 +1017,48 @@ export declare enum ErrorUnauthorizedType {
873
1017
  }
874
1018
  /** error-unauthorized-unauthenticated */
875
1019
  export type ErrorUnauthorizedUnauthenticated = object;
1020
+ /** event-account-created */
1021
+ export interface EventAccountCreated {
1022
+ account: Account;
1023
+ }
1024
+ /** event-account-deleted */
1025
+ export interface EventAccountDeleted {
1026
+ /**
1027
+ * The ID of the account that was deleted.
1028
+ * @example "ACC-12345"
1029
+ */
1030
+ id: string;
1031
+ }
1032
+ /** event-account-updated */
1033
+ export interface EventAccountUpdated {
1034
+ account: Account;
1035
+ }
1036
+ /** event-conversation-created */
1037
+ export interface EventConversationCreated {
1038
+ conversation: Conversation;
1039
+ }
1040
+ /** event-conversation-deleted */
1041
+ export interface EventConversationDeleted {
1042
+ /** The ID of the conversation that was deleted. */
1043
+ id: string;
1044
+ }
1045
+ /** event-conversation-updated */
1046
+ export interface EventConversationUpdated {
1047
+ conversation: Conversation;
1048
+ }
1049
+ /** event-dev-user-created */
1050
+ export interface EventDevUserCreated {
1051
+ dev_user: DevUser;
1052
+ }
1053
+ /** event-dev-user-deleted */
1054
+ export interface EventDevUserDeleted {
1055
+ /** The ID of the Dev user that was deleted. */
1056
+ id: string;
1057
+ }
1058
+ /** event-dev-user-updated */
1059
+ export interface EventDevUserUpdated {
1060
+ dev_user: DevUser;
1061
+ }
876
1062
  /** event-part-created */
877
1063
  export interface EventPartCreated {
878
1064
  part: Part;
@@ -1532,6 +1718,8 @@ export interface SetTagWithValue {
1532
1718
  export interface SlaSummaryFilter {
1533
1719
  /** Filters for records with any of the provided SLA stages. */
1534
1720
  stage?: SlaSummaryStage[];
1721
+ /** Provides ways to specify date ranges on objects. */
1722
+ target_time?: DateFilter;
1535
1723
  }
1536
1724
  /**
1537
1725
  * The stage of the SLA. This is the metric stage which is closest to
@@ -1546,6 +1734,11 @@ export declare enum SlaSummaryStage {
1546
1734
  }
1547
1735
  /** sla-tracker */
1548
1736
  export type SlaTracker = AtomBase;
1737
+ /** snap-widget */
1738
+ export interface SnapWidget {
1739
+ type: SnapWidgetType;
1740
+ }
1741
+ export type SnapWidgetType = string;
1549
1742
  /**
1550
1743
  * stage-filter
1551
1744
  * The filter for stages.
@@ -1751,11 +1944,21 @@ export interface TagsUpdateResponse {
1751
1944
  }
1752
1945
  /** ticket */
1753
1946
  export type Ticket = WorkBase & {
1947
+ /** Channels of the ticket. */
1948
+ channels?: TicketChannels[];
1754
1949
  group?: GroupSummary;
1755
1950
  rev_org?: OrgSummary;
1756
1951
  /** Severity of the ticket. */
1757
1952
  severity?: TicketSeverity;
1953
+ /** Source channel of the ticket. */
1954
+ source_channel?: string;
1758
1955
  };
1956
+ /** Channels of the ticket. */
1957
+ export declare enum TicketChannels {
1958
+ Email = "email",
1959
+ Plug = "plug",
1960
+ Slack = "slack"
1961
+ }
1759
1962
  /** Severity of the ticket. */
1760
1963
  export declare enum TicketSeverity {
1761
1964
  Blocker = "blocker",
@@ -1776,10 +1979,13 @@ export type TimelineComment = TimelineEntryBase & {
1776
1979
  body_type?: TimelineCommentBodyType;
1777
1980
  /** Snap Kit Body of the comment. */
1778
1981
  snap_kit_body?: TimelineSnapKitBody;
1982
+ /** The snap widget body of the comment. */
1983
+ snap_widget_body?: SnapWidget[];
1779
1984
  };
1780
1985
  /** The type of the body to use for the comment. */
1781
1986
  export declare enum TimelineCommentBodyType {
1782
1987
  SnapKit = "snap_kit",
1988
+ SnapWidget = "snap_widget",
1783
1989
  Text = "text"
1784
1990
  }
1785
1991
  /**
@@ -1994,6 +2200,8 @@ export type TimelineEntry = TimelineComment & {
1994
2200
  export type TimelineEntryBase = AtomBase & {
1995
2201
  /** The object that the Timeline entry belongs to. */
1996
2202
  object: string;
2203
+ /** The display ID of the object that the Timeline entry belongs to. */
2204
+ object_display_id: string;
1997
2205
  /** The type of object that the Timeline entry belongs to. */
1998
2206
  object_type?: TimelineEntryObjectType;
1999
2207
  /**
@@ -2111,6 +2319,15 @@ export type Webhook = AtomBase & {
2111
2319
  };
2112
2320
  /** webhook-event-request */
2113
2321
  export interface WebhookEventRequest {
2322
+ account_created?: EventAccountCreated;
2323
+ account_deleted?: EventAccountDeleted;
2324
+ account_updated?: EventAccountUpdated;
2325
+ conversation_created?: EventConversationCreated;
2326
+ conversation_deleted?: EventConversationDeleted;
2327
+ conversation_updated?: EventConversationUpdated;
2328
+ dev_user_created?: EventDevUserCreated;
2329
+ dev_user_deleted?: EventDevUserDeleted;
2330
+ dev_user_updated?: EventDevUserUpdated;
2114
2331
  /** The event's ID. */
2115
2332
  id: string;
2116
2333
  part_created?: EventPartCreated;
@@ -2166,6 +2383,15 @@ export interface WebhookEventResponse {
2166
2383
  }
2167
2384
  /** The event types that the webhook will receive. */
2168
2385
  export declare enum WebhookEventType {
2386
+ AccountCreated = "account_created",
2387
+ AccountDeleted = "account_deleted",
2388
+ AccountUpdated = "account_updated",
2389
+ ConversationCreated = "conversation_created",
2390
+ ConversationDeleted = "conversation_deleted",
2391
+ ConversationUpdated = "conversation_updated",
2392
+ DevUserCreated = "dev_user_created",
2393
+ DevUserDeleted = "dev_user_deleted",
2394
+ DevUserUpdated = "dev_user_updated",
2169
2395
  PartCreated = "part_created",
2170
2396
  PartDeleted = "part_deleted",
2171
2397
  PartUpdated = "part_updated",
@@ -2419,11 +2645,18 @@ export interface WorksCreateRequestIssue {
2419
2645
  developed_with?: string[];
2420
2646
  /** Priority of the work based upon impact and criticality. */
2421
2647
  priority?: IssuePriority;
2648
+ /**
2649
+ * Priority enum id of the work based upon impact and criticality.
2650
+ * @format int64
2651
+ */
2652
+ priority_v2?: number;
2422
2653
  /** The sprint that the issue belongs to. */
2423
2654
  sprint?: string;
2424
2655
  }
2425
2656
  /** works-create-request-ticket */
2426
2657
  export interface WorksCreateRequestTicket {
2658
+ /** Channels of the ticket. */
2659
+ channels?: TicketChannels[];
2427
2660
  /** The group that the ticket is associated with. */
2428
2661
  group?: string;
2429
2662
  /** Whether the ticket is spam. */
@@ -2482,6 +2715,11 @@ export interface WorksExportRequest {
2482
2715
  * @example ["DEVU-12345"]
2483
2716
  */
2484
2717
  owned_by?: string[];
2718
+ /**
2719
+ * Filters for work reported by any of these users.
2720
+ * @example ["DEVU-12345"]
2721
+ */
2722
+ reported_by?: string[];
2485
2723
  /** The filter for stages. */
2486
2724
  stage?: StageFilter;
2487
2725
  /**
@@ -2502,8 +2740,15 @@ export interface WorksExportResponse {
2502
2740
  }
2503
2741
  /** works-filter-issue */
2504
2742
  export interface WorksFilterIssue {
2743
+ /**
2744
+ * Filters for issues with any of the provided Accounts.
2745
+ * @example ["ACC-12345"]
2746
+ */
2747
+ accounts?: string[];
2505
2748
  /** Filters for issues with any of the provided priorities. */
2506
2749
  priority?: IssuePriority[];
2750
+ /** Filters for issues with any of the provided priority enum ids. */
2751
+ priority_v2?: number[];
2507
2752
  /**
2508
2753
  * Filters for issues with any of the provided Rev organizations.
2509
2754
  * @example ["REV-AbCdEfGh"]
@@ -2512,6 +2757,8 @@ export interface WorksFilterIssue {
2512
2757
  }
2513
2758
  /** works-filter-ticket */
2514
2759
  export interface WorksFilterTicket {
2760
+ /** Filters for tickets with any of the provided channels. */
2761
+ channels?: TicketChannels[];
2515
2762
  /** Filters for tickets belonging to specific groups. */
2516
2763
  group?: string[];
2517
2764
  /** Filters for tickets that are spam. */
@@ -2587,6 +2834,11 @@ export interface WorksListRequest {
2587
2834
  * @example ["DEVU-12345"]
2588
2835
  */
2589
2836
  owned_by?: string[];
2837
+ /**
2838
+ * Filters for work reported by any of these users.
2839
+ * @example ["DEVU-12345"]
2840
+ */
2841
+ reported_by?: string[];
2590
2842
  /** The filter for stages. */
2591
2843
  stage?: StageFilter;
2592
2844
  /**
@@ -2634,6 +2886,7 @@ export type WorksUpdateRequest = (Empty | WorksUpdateRequestIssue | WorksUpdateR
2634
2886
  reported_by?: WorksUpdateRequestReportedBy;
2635
2887
  /** Updates an object's stage. */
2636
2888
  stage?: StageUpdate;
2889
+ staged_info?: WorksUpdateRequestStagedInfoStagedInfoUpdate;
2637
2890
  tags?: WorksUpdateRequestTags;
2638
2891
  /**
2639
2892
  * Updates the timestamp for when the work is expected to be complete.
@@ -2658,6 +2911,11 @@ export interface WorksUpdateRequestIssue {
2658
2911
  developed_with?: WorksUpdateRequestIssueDevelopedWith;
2659
2912
  /** Priority of the work based upon impact and criticality. */
2660
2913
  priority?: IssuePriority;
2914
+ /**
2915
+ * Priority enum id of the work based upon impact and criticality.
2916
+ * @format int64
2917
+ */
2918
+ priority_v2?: number;
2661
2919
  /** Updates the sprint that the issue belongs to. */
2662
2920
  sprint?: string | null;
2663
2921
  }
@@ -2687,6 +2945,11 @@ export interface WorksUpdateRequestReportedBy {
2687
2945
  */
2688
2946
  set?: string[];
2689
2947
  }
2948
+ /** works-update-request-staged-info-staged-info-update */
2949
+ export interface WorksUpdateRequestStagedInfoStagedInfoUpdate {
2950
+ /** Updates the unresolved fields of the staged work. */
2951
+ unresolved_fields: string[];
2952
+ }
2690
2953
  /** works-update-request-tags */
2691
2954
  export interface WorksUpdateRequestTags {
2692
2955
  /** Sets the provided tags on the work item. */
@@ -2694,8 +2957,9 @@ export interface WorksUpdateRequestTags {
2694
2957
  }
2695
2958
  /** works-update-request-ticket */
2696
2959
  export interface WorksUpdateRequestTicket {
2697
- /** The group that the ticket is associated with. */
2698
- group?: string;
2960
+ channels?: WorksUpdateRequestTicketChannels;
2961
+ /** Updates the group that the ticket is associated with. */
2962
+ group?: string | null;
2699
2963
  /** Updates whether the ticket is spam. */
2700
2964
  is_spam?: boolean;
2701
2965
  /**
@@ -2706,6 +2970,11 @@ export interface WorksUpdateRequestTicket {
2706
2970
  /** Severity of the ticket. */
2707
2971
  severity?: TicketSeverity;
2708
2972
  }
2973
+ /** works-update-request-ticket-channels */
2974
+ export interface WorksUpdateRequestTicketChannels {
2975
+ /** Sets the channels to the provided channels. */
2976
+ set?: TicketChannels[];
2977
+ }
2709
2978
  /** works-update-response */
2710
2979
  export interface WorksUpdateResponse {
2711
2980
  work: Work;
@@ -2759,6 +3028,53 @@ export declare class HttpClient<SecurityDataType = unknown> {
2759
3028
  * DevRev's REST API.
2760
3029
  */
2761
3030
  export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
3031
+ /**
3032
+ * @description Gets the requested artifact's information.
3033
+ *
3034
+ * @tags artifacts
3035
+ * @name ArtifactsGet
3036
+ * @request GET:/artifacts.get
3037
+ * @secure
3038
+ */
3039
+ artifactsGet: (query: {
3040
+ /**
3041
+ * The requested artifact's ID.
3042
+ * @example "ARTIFACT-12345"
3043
+ */
3044
+ id: string;
3045
+ /** The version of the artifact that needs to be fetched. */
3046
+ version?: string;
3047
+ }, params?: RequestParams) => Promise<AxiosResponse<ArtifactsGetResponse, any>>;
3048
+ /**
3049
+ * @description Gets the requested artifact's information.
3050
+ *
3051
+ * @tags artifacts
3052
+ * @name ArtifactsGetPost
3053
+ * @request POST:/artifacts.get
3054
+ * @secure
3055
+ */
3056
+ artifactsGetPost: (data: ArtifactsGetRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsGetResponse, any>>;
3057
+ /**
3058
+ * @description List the artifacts attached to an object.
3059
+ *
3060
+ * @tags artifacts
3061
+ * @name ArtifactsList
3062
+ * @request GET:/artifacts.list
3063
+ * @secure
3064
+ */
3065
+ artifactsList: (query: {
3066
+ /** The ID of the object to filter artifacts. */
3067
+ parent_id: string;
3068
+ }, params?: RequestParams) => Promise<AxiosResponse<ArtifactsListResponse, any>>;
3069
+ /**
3070
+ * @description List the artifacts attached to an object.
3071
+ *
3072
+ * @tags artifacts
3073
+ * @name ArtifactsListPost
3074
+ * @request POST:/artifacts.list
3075
+ * @secure
3076
+ */
3077
+ artifactsListPost: (data: ArtifactsListRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsListResponse, any>>;
2762
3078
  /**
2763
3079
  * @description Gets the download URL for the artifact.
2764
3080
  *
@@ -2998,6 +3314,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2998
3314
  cursor?: string;
2999
3315
  /** Filters Dev users based on email addresses. */
3000
3316
  email?: string[];
3317
+ /** Unique ID of the user in the external source. */
3318
+ 'external_identity.id'?: string;
3319
+ /** Issuer of the external identity of the user. */
3320
+ 'external_identity.issuer'?: string;
3001
3321
  /**
3002
3322
  * The maximum number of Dev users to return. The default is '50'.
3003
3323
  * @format int32
@@ -3576,8 +3896,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3576
3896
  * @format int32
3577
3897
  */
3578
3898
  first?: number;
3899
+ /**
3900
+ * Filters for issues with any of the provided Accounts.
3901
+ * @example ["ACC-12345"]
3902
+ */
3903
+ 'issue.accounts'?: string[];
3579
3904
  /** Filters for issues with any of the provided priorities. */
3580
3905
  'issue.priority'?: IssuePriority[];
3906
+ /** Filters for issues with any of the provided priority enum ids. */
3907
+ 'issue.priority_v2'?: number[];
3581
3908
  /**
3582
3909
  * Filters for issues with any of the provided Rev organizations.
3583
3910
  * @example ["REV-AbCdEfGh"]
@@ -3588,6 +3915,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3588
3915
  * @example ["DEVU-12345"]
3589
3916
  */
3590
3917
  owned_by?: string[];
3918
+ /**
3919
+ * Filters for work reported by any of these users.
3920
+ * @example ["DEVU-12345"]
3921
+ */
3922
+ reported_by?: string[];
3591
3923
  /** Filters for records in the provided stage(s) by name. */
3592
3924
  'stage.name'?: string[];
3593
3925
  /**
@@ -3595,6 +3927,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3595
3927
  * @example ["TAG-12345"]
3596
3928
  */
3597
3929
  tags?: string[];
3930
+ /** Filters for tickets with any of the provided channels. */
3931
+ 'ticket.channels'?: TicketChannels[];
3598
3932
  /** Filters for tickets belonging to specific groups. */
3599
3933
  'ticket.group'?: string[];
3600
3934
  /** Filters for tickets that are spam. */
@@ -3673,8 +4007,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3673
4007
  * starts from the beginning.
3674
4008
  */
3675
4009
  cursor?: string;
4010
+ /**
4011
+ * Filters for issues with any of the provided Accounts.
4012
+ * @example ["ACC-12345"]
4013
+ */
4014
+ 'issue.accounts'?: string[];
3676
4015
  /** Filters for issues with any of the provided priorities. */
3677
4016
  'issue.priority'?: IssuePriority[];
4017
+ /** Filters for issues with any of the provided priority enum ids. */
4018
+ 'issue.priority_v2'?: number[];
3678
4019
  /**
3679
4020
  * Filters for issues with any of the provided Rev organizations.
3680
4021
  * @example ["REV-AbCdEfGh"]
@@ -3695,6 +4036,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3695
4036
  * @example ["DEVU-12345"]
3696
4037
  */
3697
4038
  owned_by?: string[];
4039
+ /**
4040
+ * Filters for work reported by any of these users.
4041
+ * @example ["DEVU-12345"]
4042
+ */
4043
+ reported_by?: string[];
3698
4044
  /** Filters for records in the provided stage(s) by name. */
3699
4045
  'stage.name'?: string[];
3700
4046
  /**
@@ -3702,6 +4048,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3702
4048
  * @example ["TAG-12345"]
3703
4049
  */
3704
4050
  tags?: string[];
4051
+ /** Filters for tickets with any of the provided channels. */
4052
+ 'ticket.channels'?: TicketChannels[];
3705
4053
  /** Filters for tickets belonging to specific groups. */
3706
4054
  'ticket.group'?: string[];
3707
4055
  /** Filters for tickets that are spam. */