@devrev/typescript-sdk 1.1.55 → 1.1.59

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.
@@ -117,6 +117,8 @@ export interface AccountsExportRequest {
117
117
  sort_by?: string[];
118
118
  /** Filters for accounts on specified stages. */
119
119
  stage?: string[];
120
+ /** Tier of the accounts to be filtered. */
121
+ tier?: string[];
120
122
  /** Array of websites of accounts to be filtered. */
121
123
  websites?: string[];
122
124
  }
@@ -140,6 +142,8 @@ export interface AccountsFilters {
140
142
  modified_date?: DateTimeFilter;
141
143
  /** Filters for accounts on specified stages. */
142
144
  stage?: string[];
145
+ /** Tier of the accounts to be filtered. */
146
+ tier?: string[];
143
147
  /** Array of websites of accounts to be filtered. */
144
148
  websites?: string[];
145
149
  }
@@ -199,6 +203,8 @@ export interface AccountsListRequest {
199
203
  sort_by?: string[];
200
204
  /** Filters for accounts on specified stages. */
201
205
  stage?: string[];
206
+ /** Tier of the accounts to be filtered. */
207
+ tier?: string[];
202
208
  /** Array of websites of accounts to be filtered. */
203
209
  websites?: string[];
204
210
  }
@@ -513,6 +519,33 @@ export type Article = AtomBase & {
513
519
  */
514
520
  title?: string;
515
521
  };
522
+ /** Content format of the article. */
523
+ export declare enum ArticleContentFormat {
524
+ Drdfv2 = "drdfv2",
525
+ Rt = "rt"
526
+ }
527
+ /** article-data-source-create */
528
+ export interface ArticleDataSourceCreate {
529
+ /** Indicates if the leaf type is custom. */
530
+ is_custom_leaf_type: boolean;
531
+ /** Indicates if the data source is default. */
532
+ is_default: boolean;
533
+ /**
534
+ * The object's type.
535
+ * @format text
536
+ */
537
+ leaf_type: string;
538
+ /**
539
+ * The ID of the object powering article.
540
+ * @format id
541
+ */
542
+ object: string;
543
+ /**
544
+ * The reference ID of the data source.
545
+ * @format text
546
+ */
547
+ reference_id: string;
548
+ }
516
549
  /** Status of the article. */
517
550
  export declare enum ArticleStatus {
518
551
  Archived = "archived",
@@ -538,10 +571,9 @@ export interface ArticlesCreateRequest {
538
571
  aliases?: string[];
539
572
  /**
540
573
  * The parts that the article applies to.
541
- * @minItems 1
542
574
  * @example ["PROD-12345"]
543
575
  */
544
- applies_to_parts: string[];
576
+ applies_to_parts?: string[];
545
577
  /** Type of the article. */
546
578
  article_type?: ArticleType;
547
579
  /**
@@ -549,6 +581,8 @@ export interface ArticlesCreateRequest {
549
581
  * @example ["DEVU-12345"]
550
582
  */
551
583
  authored_by?: string[];
584
+ /** Content format of the article. */
585
+ content_format?: ArticleContentFormat;
552
586
  /** Application-defined custom fields. */
553
587
  custom_fields?: object;
554
588
  /**
@@ -560,6 +594,8 @@ export interface ArticlesCreateRequest {
560
594
  * validate_required_fields: true.
561
595
  */
562
596
  custom_schema_spec?: CustomSchemaSpec;
597
+ /** Data sources provide the backing data for the article. */
598
+ data_sources?: ArticleDataSourceCreate[];
563
599
  /**
564
600
  * Description for the article.
565
601
  * @format text
@@ -779,6 +815,8 @@ export interface ArticlesUpdateRequest {
779
815
  artifacts?: ArticlesUpdateRequestArtifacts;
780
816
  authored_by?: ArticlesUpdateRequestAuthoredBy;
781
817
  content_blocks?: ArticlesUpdateRequestContentBlocks;
818
+ /** Content format of the article. */
819
+ content_format?: ArticleContentFormat;
782
820
  /** Application-defined custom fields. */
783
821
  custom_fields?: object;
784
822
  /**
@@ -790,6 +828,7 @@ export interface ArticlesUpdateRequest {
790
828
  * validate_required_fields: true.
791
829
  */
792
830
  custom_schema_spec?: CustomSchemaSpec;
831
+ data_sources?: ArticlesUpdateRequestArticleDataSourceUpdate;
793
832
  /**
794
833
  * Updated description of the article object, or unchanged if not
795
834
  * provided.
@@ -858,6 +897,11 @@ export interface ArticlesUpdateRequestAppliesToParts {
858
897
  */
859
898
  set?: string[];
860
899
  }
900
+ /** articles-update-request-article-data-source-update */
901
+ export interface ArticlesUpdateRequestArticleDataSourceUpdate {
902
+ /** Updates data sources provide the backing data for the article. */
903
+ set?: ArticleDataSourceCreate[];
904
+ }
861
905
  /** articles-update-request-artifacts */
862
906
  export interface ArticlesUpdateRequestArtifacts {
863
907
  /**
@@ -1024,6 +1068,25 @@ export interface ArtifactsGetResponse {
1024
1068
  /** The version of the artifact. */
1025
1069
  version: ArtifactVersion;
1026
1070
  }
1071
+ /**
1072
+ * artifacts-hard-delete-version-request
1073
+ * The request to permnanently delete an artifact's version.
1074
+ */
1075
+ export interface ArtifactsHardDeleteVersionRequest {
1076
+ /**
1077
+ * The ID of the artifact to delete the version for.
1078
+ * @format id
1079
+ * @example "ARTIFACT-12345"
1080
+ */
1081
+ id: string;
1082
+ /**
1083
+ * The version of the artifact that needs to be deleted.
1084
+ * @format text
1085
+ */
1086
+ version?: string;
1087
+ }
1088
+ /** artifacts-hard-delete-version-response */
1089
+ export type ArtifactsHardDeleteVersionResponse = object;
1027
1090
  /**
1028
1091
  * artifacts-list-request
1029
1092
  * The request to list artifacts attached to an object.
@@ -1125,6 +1188,44 @@ export interface ArtifactsPrepareResponseFormData {
1125
1188
  */
1126
1189
  value: string;
1127
1190
  }
1191
+ /**
1192
+ * artifacts-versions-prepare-request
1193
+ * The request to prepare a new version of an artifact.
1194
+ */
1195
+ export interface ArtifactsVersionsPrepareRequest {
1196
+ /**
1197
+ * The ID of the artifact to prepare a new version for.
1198
+ * @format id
1199
+ * @example "ARTIFACT-12345"
1200
+ */
1201
+ id: string;
1202
+ }
1203
+ /**
1204
+ * artifacts-versions-prepare-response
1205
+ * The response to preparing a new artifact version.
1206
+ */
1207
+ export interface ArtifactsVersionsPrepareResponse {
1208
+ /** The POST policy form data. */
1209
+ form_data: ArtifactsVersionsPrepareResponseFormData[];
1210
+ /**
1211
+ * The URL that the file's data should be uploaded to.
1212
+ * @format text
1213
+ */
1214
+ url: string;
1215
+ }
1216
+ /** artifacts-versions-prepare-response-form-data */
1217
+ export interface ArtifactsVersionsPrepareResponseFormData {
1218
+ /**
1219
+ * Key of the form field.
1220
+ * @format text
1221
+ */
1222
+ key: string;
1223
+ /**
1224
+ * Value corresponding to the key.
1225
+ * @format text
1226
+ */
1227
+ value: string;
1228
+ }
1128
1229
  /** atom */
1129
1230
  export type Atom = (AuthToken | Capability | Conversation | DevUser | Enhancement | Feature | Group | Issue | Link | Product | RevOrg | RevUser | ServiceAccount | Sla | SlaTracker | SysUser | Tag | Ticket | TimelineComment | Webhook) & {
1130
1231
  type: AtomType;
@@ -1964,6 +2065,8 @@ export interface ConversationsGetResponse {
1964
2065
  * The request to get information about a list of conversations.
1965
2066
  */
1966
2067
  export interface ConversationsListRequest {
2068
+ /** Provides ways to specify date ranges on objects. */
2069
+ actual_close_date?: DateFilter;
1967
2070
  /**
1968
2071
  * Filters for conversations belonging to any of the provided parts.
1969
2072
  * @example ["PROD-12345"]
@@ -2036,6 +2139,8 @@ export interface ConversationsListRequest {
2036
2139
  source_channels?: string[];
2037
2140
  /** The filter for stages. */
2038
2141
  stage?: StageFilter;
2142
+ /** Filters for conversations with any of the provided states. */
2143
+ state?: string[];
2039
2144
  /**
2040
2145
  * Filters for conversations with any of the provided tags.
2041
2146
  * @deprecated
@@ -2149,9 +2254,7 @@ export interface ConversationsUpdateRequestMetadata {
2149
2254
  /** conversations-update-request-owned-by */
2150
2255
  export interface ConversationsUpdateRequestOwnedBy {
2151
2256
  /**
2152
- * Sets the owner IDs to the provided user IDs. This must not be
2153
- * empty.
2154
- * @minItems 1
2257
+ * Sets the owner IDs to the provided user IDs.
2155
2258
  * @example ["DEVU-12345"]
2156
2259
  */
2157
2260
  set?: string[];
@@ -3768,6 +3871,19 @@ export interface EventSlaTrackerDeleted {
3768
3871
  id: string;
3769
3872
  old_sla_tracker?: SlaTracker;
3770
3873
  }
3874
+ /** event-sla-tracker-fetched */
3875
+ export type EventSlaTrackerFetched = (Empty | EventSlaTrackerFetchedOk) & {
3876
+ /**
3877
+ * The ID of the SLA tracker that was fetched.
3878
+ * @format id
3879
+ */
3880
+ id: string;
3881
+ result: EventFetchedResult;
3882
+ };
3883
+ /** event-sla-tracker-fetched-ok */
3884
+ export interface EventSlaTrackerFetchedOk {
3885
+ sla_tracker?: SlaTracker;
3886
+ }
3771
3887
  /** event-sla-tracker-updated */
3772
3888
  export interface EventSlaTrackerUpdated {
3773
3889
  old_sla_tracker?: SlaTracker;
@@ -4167,6 +4283,8 @@ export interface GroupsGetResponse {
4167
4283
  * A request to get information about a list of groups.
4168
4284
  */
4169
4285
  export interface GroupsListRequest {
4286
+ /** Filters the groups on the basis of creator. */
4287
+ created_by?: string[];
4170
4288
  /**
4171
4289
  * The cursor to resume iteration from. If not provided, then
4172
4290
  * iteration starts from the beginning.
@@ -4194,8 +4312,11 @@ export interface GroupsListRequest {
4194
4312
  * always be returned in the specified sort-by order.
4195
4313
  */
4196
4314
  mode?: ListMode;
4315
+ /** Filters the groups on the basis of group name. */
4316
+ name?: string[];
4197
4317
  /** Comma-separated fields to sort the groups by. */
4198
4318
  sort_by?: string[];
4319
+ sync_metadata?: SyncMetadataFilter;
4199
4320
  }
4200
4321
  /**
4201
4322
  * groups-list-response
@@ -4475,6 +4596,11 @@ export declare enum LinkType {
4475
4596
  * The request to create a new link.
4476
4597
  */
4477
4598
  export interface LinksCreateRequest {
4599
+ /**
4600
+ * The ID of the custom link type.
4601
+ * @format id
4602
+ */
4603
+ custom_link_type?: string;
4478
4604
  /** Type of link used to define the relationship. */
4479
4605
  link_type: LinkType;
4480
4606
  /**
@@ -4611,6 +4737,36 @@ export interface LinksListResponse {
4611
4737
  */
4612
4738
  prev_cursor?: string;
4613
4739
  }
4740
+ /**
4741
+ * links-replace-request
4742
+ * The request to replace a link.
4743
+ */
4744
+ export interface LinksReplaceRequest {
4745
+ /**
4746
+ * The ID of the link to be replaced.
4747
+ * @format id
4748
+ */
4749
+ id: string;
4750
+ /** Type of link used to define the relationship. */
4751
+ link_type: LinkType;
4752
+ /**
4753
+ * The ID of the source object.
4754
+ * @format id
4755
+ */
4756
+ source: string;
4757
+ /**
4758
+ * The ID of the target object.
4759
+ * @format id
4760
+ */
4761
+ target: string;
4762
+ }
4763
+ /**
4764
+ * links-replace-response
4765
+ * The response to replacing a link.
4766
+ */
4767
+ export interface LinksReplaceResponse {
4768
+ link: Link;
4769
+ }
4614
4770
  /**
4615
4771
  * The iteration mode to use. If "after", then entries after the provided
4616
4772
  * cursor will be returned, or if no cursor is provided, then from the
@@ -4725,6 +4881,29 @@ export interface MetricDefinitionsListResponse {
4725
4881
  */
4726
4882
  prev_cursor?: string;
4727
4883
  }
4884
+ /** metric-tracker */
4885
+ export interface MetricTracker {
4886
+ type: MetricTrackerType;
4887
+ }
4888
+ export type MetricTrackerType = string;
4889
+ /** metric-trackers-get-request */
4890
+ export interface MetricTrackersGetRequest {
4891
+ /**
4892
+ * The ID of the metric that is being tracked.
4893
+ * @format id
4894
+ */
4895
+ metric: string;
4896
+ /**
4897
+ * The ID of the underlying object on which the metric is being
4898
+ * tracked.
4899
+ * @format id
4900
+ */
4901
+ object: string;
4902
+ }
4903
+ /** metric-trackers-get-response */
4904
+ export interface MetricTrackersGetResponse {
4905
+ metric_tracker: MetricTracker;
4906
+ }
4728
4907
  /** org-base */
4729
4908
  export type OrgBase = AtomBase & {
4730
4909
  /**
@@ -5190,6 +5369,12 @@ export type RevOrgSummary = OrgBaseSummary;
5190
5369
  * organization.
5191
5370
  */
5192
5371
  export interface RevOrgsCreateRequest {
5372
+ /**
5373
+ * Account Id to associate with this Rev organization.
5374
+ * @format id
5375
+ * @example "ACC-12345"
5376
+ */
5377
+ account: string;
5193
5378
  /**
5194
5379
  * Description of the Rev organization.
5195
5380
  * @format text
@@ -6229,6 +6414,31 @@ export type SchemaUnknownFieldDescriptor = SchemaFieldDescriptorBase;
6229
6414
  export type ServiceAccount = UserBase;
6230
6415
  /** service-account-summary */
6231
6416
  export type ServiceAccountSummary = UserBaseSummary;
6417
+ /**
6418
+ * service-accounts-create-request
6419
+ * The request object to create a new service account.
6420
+ */
6421
+ export interface ServiceAccountsCreateRequest {
6422
+ /**
6423
+ * The service account's display name. A unique, human readable name
6424
+ * to identify a service account.
6425
+ * @format text
6426
+ */
6427
+ display_name: string;
6428
+ /**
6429
+ * Indicates whether to generate a keyring along with the new service
6430
+ * account. The default is false.
6431
+ */
6432
+ gen_keyring?: boolean;
6433
+ }
6434
+ /**
6435
+ * service-accounts-create-response
6436
+ * The response object to the corresponding create service account
6437
+ * request.
6438
+ */
6439
+ export interface ServiceAccountsCreateResponse {
6440
+ service_account: ServiceAccount;
6441
+ }
6232
6442
  /**
6233
6443
  * service-accounts-get-request
6234
6444
  * The request object to get a service account's information.
@@ -7205,6 +7415,8 @@ export interface SyncMetadataFilterSyncInFilter {
7205
7415
  status?: SyncMetadataFilterSyncInFilterStatus[];
7206
7416
  /** Provides ways to specify date ranges on objects. */
7207
7417
  sync_date?: DateFilter;
7418
+ /** Filters for works modified with selected sync history. */
7419
+ sync_history?: string[];
7208
7420
  /** Filters for works modified with selected sync units. */
7209
7421
  sync_unit?: string[];
7210
7422
  }
@@ -7220,6 +7432,8 @@ export interface SyncMetadataFilterSyncOutFilter {
7220
7432
  status?: SyncMetadataFilterSyncOutFilterStatus[];
7221
7433
  /** Provides ways to specify date ranges on objects. */
7222
7434
  sync_date?: DateFilter;
7435
+ /** Filters for works modified with selected sync history. */
7436
+ sync_history?: string[];
7223
7437
  /** Filters for works modified with selected sync units. */
7224
7438
  sync_unit?: string[];
7225
7439
  }
@@ -8149,6 +8363,7 @@ export interface WebhookEventRequest {
8149
8363
  rev_user_updated?: EventRevUserUpdated;
8150
8364
  sla_tracker_created?: EventSlaTrackerCreated;
8151
8365
  sla_tracker_deleted?: EventSlaTrackerDeleted;
8366
+ sla_tracker_fetched?: EventSlaTrackerFetched;
8152
8367
  sla_tracker_updated?: EventSlaTrackerUpdated;
8153
8368
  survey_created?: EventSurveyCreated;
8154
8369
  survey_deleted?: EventSurveyDeleted;
@@ -8244,6 +8459,7 @@ export declare enum WebhookEventType {
8244
8459
  RevUserUpdated = "rev_user_updated",
8245
8460
  SlaTrackerCreated = "sla_tracker_created",
8246
8461
  SlaTrackerDeleted = "sla_tracker_deleted",
8462
+ SlaTrackerFetched = "sla_tracker_fetched",
8247
8463
  SlaTrackerUpdated = "sla_tracker_updated",
8248
8464
  SurveyCreated = "survey_created",
8249
8465
  SurveyDeleted = "survey_deleted",
@@ -9236,6 +9452,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9236
9452
  sort_by?: string[];
9237
9453
  /** Filters for accounts on specified stages. */
9238
9454
  stage?: string[];
9455
+ /** Tier of the accounts to be filtered. */
9456
+ tier?: string[];
9239
9457
  /** Array of websites of accounts to be filtered. */
9240
9458
  websites?: string[];
9241
9459
  }, params?: RequestParams) => Promise<AxiosResponse<AccountsExportResponse, any>>;
@@ -9339,6 +9557,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9339
9557
  sort_by?: string[];
9340
9558
  /** Filters for accounts on specified stages. */
9341
9559
  stage?: string[];
9560
+ /** Tier of the accounts to be filtered. */
9561
+ tier?: string[];
9342
9562
  /** Array of websites of accounts to be filtered. */
9343
9563
  websites?: string[];
9344
9564
  }, params?: RequestParams) => Promise<AxiosResponse<AccountsListResponse, any>>;
@@ -9603,6 +9823,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9603
9823
  * @secure
9604
9824
  */
9605
9825
  artifactsPrepare: (data: ArtifactsPrepareRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsPrepareResponse, any>>;
9826
+ /**
9827
+ * @description Permanently deletes a version of an artifact.
9828
+ *
9829
+ * @tags artifacts
9830
+ * @name ArtifactsHardDeleteVersion
9831
+ * @summary Delete Artifacts Version
9832
+ * @request POST:/artifacts.versions.delete
9833
+ * @secure
9834
+ */
9835
+ artifactsHardDeleteVersion: (data: ArtifactsHardDeleteVersionRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
9836
+ /**
9837
+ * @description Prepares a new version for an artifact, returning the URL and form data to upload the updated file.
9838
+ *
9839
+ * @tags artifacts
9840
+ * @name ArtifactsVersionsPrepare
9841
+ * @summary Prepare Artifacts Versions
9842
+ * @request POST:/artifacts.versions.prepare
9843
+ * @secure
9844
+ */
9845
+ artifactsVersionsPrepare: (data: ArtifactsVersionsPrepareRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsVersionsPrepareResponse, any>>;
9606
9846
  /**
9607
9847
  * @description Gets the specified object.
9608
9848
  *
@@ -9871,6 +10111,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9871
10111
  source_channels?: string[];
9872
10112
  /** Filters for records in the provided stage(s) by name. */
9873
10113
  'stage.name'?: string[];
10114
+ /** Filters for conversations with any of the provided states. */
10115
+ state?: string[];
9874
10116
  /**
9875
10117
  * Filters for conversations with any of the provided tags.
9876
10118
  * @deprecated
@@ -10161,6 +10403,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10161
10403
  * @secure
10162
10404
  */
10163
10405
  groupsList: (query?: {
10406
+ /** Filters the groups on the basis of creator. */
10407
+ created_by?: string[];
10164
10408
  /**
10165
10409
  * The cursor to resume iteration from. If not provided, then iteration
10166
10410
  * starts from the beginning.
@@ -10185,8 +10429,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10185
10429
  * used.
10186
10430
  */
10187
10431
  mode?: ListMode;
10432
+ /** Filters the groups on the basis of group name. */
10433
+ name?: string[];
10188
10434
  /** Comma-separated fields to sort the groups by. */
10189
10435
  sort_by?: string[];
10436
+ /** Filters for issues with this specific external reference. */
10437
+ 'sync_metadata.external_reference'?: string[];
10438
+ /** Filters for works with selected sync statuses. */
10439
+ 'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
10440
+ /** Filters for works modified with selected sync history. */
10441
+ 'sync_metadata.last_sync_in.sync_history'?: string[];
10442
+ /** Filters for works modified with selected sync units. */
10443
+ 'sync_metadata.last_sync_in.sync_unit'?: string[];
10444
+ /** Filters for works with selected sync statuses. */
10445
+ 'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
10446
+ /** Filters for works modified with selected sync history. */
10447
+ 'sync_metadata.last_sync_out.sync_history'?: string[];
10448
+ /** Filters for works modified with selected sync units. */
10449
+ 'sync_metadata.last_sync_out.sync_unit'?: string[];
10450
+ /** Filters for issues synced from this specific origin system. */
10451
+ 'sync_metadata.origin_system'?: string[];
10190
10452
  }, params?: RequestParams) => Promise<AxiosResponse<GroupsListResponse, any>>;
10191
10453
  /**
10192
10454
  * @description Lists the available groups.
@@ -10411,6 +10673,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10411
10673
  * @secure
10412
10674
  */
10413
10675
  linksListPost: (data: LinksListRequest, params?: RequestParams) => Promise<AxiosResponse<LinksListResponse, any>>;
10676
+ /**
10677
+ * @description Replaces a link.
10678
+ *
10679
+ * @tags links
10680
+ * @name LinksReplace
10681
+ * @summary Replace Links
10682
+ * @request POST:/links.replace
10683
+ * @secure
10684
+ */
10685
+ linksReplace: (data: LinksReplaceRequest, params?: RequestParams) => Promise<AxiosResponse<LinksReplaceResponse, any>>;
10414
10686
  /**
10415
10687
  * @description Lists metric definitions matching a filter.
10416
10688
  *
@@ -10461,6 +10733,37 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10461
10733
  * @secure
10462
10734
  */
10463
10735
  metricDefinitionsListPost: (data: MetricDefinitionsListRequest, params?: RequestParams) => Promise<AxiosResponse<MetricDefinitionsListResponse, any>>;
10736
+ /**
10737
+ * @description Gets a metric tracker.
10738
+ *
10739
+ * @tags slas
10740
+ * @name MetricTrackersGet
10741
+ * @summary Get Metric Tracker
10742
+ * @request GET:/metric-trackers.get
10743
+ * @secure
10744
+ */
10745
+ metricTrackersGet: (query: {
10746
+ /**
10747
+ * The ID of the metric that is being tracked.
10748
+ * @format id
10749
+ */
10750
+ metric: string;
10751
+ /**
10752
+ * The ID of the underlying object on which the metric is being tracked.
10753
+ * @format id
10754
+ */
10755
+ object: string;
10756
+ }, params?: RequestParams) => Promise<AxiosResponse<MetricTrackersGetResponse, any>>;
10757
+ /**
10758
+ * @description Gets a metric tracker.
10759
+ *
10760
+ * @tags slas
10761
+ * @name MetricTrackersGetPost
10762
+ * @summary Get Metric Tracker (POST)
10763
+ * @request POST:/metric-trackers.get
10764
+ * @secure
10765
+ */
10766
+ metricTrackersGetPost: (data: MetricTrackersGetRequest, params?: RequestParams) => Promise<AxiosResponse<MetricTrackersGetResponse, any>>;
10464
10767
  /**
10465
10768
  * @description Creates new [part](https://devrev.ai/docs/product/parts).
10466
10769
  *
@@ -10866,6 +11169,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10866
11169
  * @secure
10867
11170
  */
10868
11171
  revUsersUpdate: (data: RevUsersUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<RevUsersUpdateResponse, any>>;
11172
+ /**
11173
+ * @description Creates a service account.
11174
+ *
11175
+ * @tags service-accounts
11176
+ * @name ServiceAccountsCreate
11177
+ * @summary Create Service Account
11178
+ * @request POST:/service-accounts.create
11179
+ * @secure
11180
+ */
11181
+ serviceAccountsCreate: (data: ServiceAccountsCreateRequest, params?: RequestParams) => Promise<AxiosResponse<ServiceAccountsCreateResponse, any>>;
10869
11182
  /**
10870
11183
  * @description Gets a service account.
10871
11184
  *
@@ -11613,10 +11926,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11613
11926
  'sync_metadata.external_reference'?: string[];
11614
11927
  /** Filters for works with selected sync statuses. */
11615
11928
  'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
11929
+ /** Filters for works modified with selected sync history. */
11930
+ 'sync_metadata.last_sync_in.sync_history'?: string[];
11616
11931
  /** Filters for works modified with selected sync units. */
11617
11932
  'sync_metadata.last_sync_in.sync_unit'?: string[];
11618
11933
  /** Filters for works with selected sync statuses. */
11619
11934
  'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
11935
+ /** Filters for works modified with selected sync history. */
11936
+ 'sync_metadata.last_sync_out.sync_history'?: string[];
11620
11937
  /** Filters for works modified with selected sync units. */
11621
11938
  'sync_metadata.last_sync_out.sync_unit'?: string[];
11622
11939
  /** Filters for issues synced from this specific origin system. */
@@ -11764,10 +12081,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11764
12081
  'sync_metadata.external_reference'?: string[];
11765
12082
  /** Filters for works with selected sync statuses. */
11766
12083
  'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
12084
+ /** Filters for works modified with selected sync history. */
12085
+ 'sync_metadata.last_sync_in.sync_history'?: string[];
11767
12086
  /** Filters for works modified with selected sync units. */
11768
12087
  'sync_metadata.last_sync_in.sync_unit'?: string[];
11769
12088
  /** Filters for works with selected sync statuses. */
11770
12089
  'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
12090
+ /** Filters for works modified with selected sync history. */
12091
+ 'sync_metadata.last_sync_out.sync_history'?: string[];
11771
12092
  /** Filters for works modified with selected sync units. */
11772
12093
  'sync_metadata.last_sync_out.sync_unit'?: string[];
11773
12094
  /** Filters for issues synced from this specific origin system. */