@devrev/typescript-sdk 1.1.55 → 1.1.57
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
|
|
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.
|
|
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
|
|
@@ -4611,6 +4732,36 @@ export interface LinksListResponse {
|
|
|
4611
4732
|
*/
|
|
4612
4733
|
prev_cursor?: string;
|
|
4613
4734
|
}
|
|
4735
|
+
/**
|
|
4736
|
+
* links-replace-request
|
|
4737
|
+
* The request to replace a link.
|
|
4738
|
+
*/
|
|
4739
|
+
export interface LinksReplaceRequest {
|
|
4740
|
+
/**
|
|
4741
|
+
* The ID of the link to be replaced.
|
|
4742
|
+
* @format id
|
|
4743
|
+
*/
|
|
4744
|
+
id: string;
|
|
4745
|
+
/** Type of link used to define the relationship. */
|
|
4746
|
+
link_type: LinkType;
|
|
4747
|
+
/**
|
|
4748
|
+
* The ID of the source object.
|
|
4749
|
+
* @format id
|
|
4750
|
+
*/
|
|
4751
|
+
source: string;
|
|
4752
|
+
/**
|
|
4753
|
+
* The ID of the target object.
|
|
4754
|
+
* @format id
|
|
4755
|
+
*/
|
|
4756
|
+
target: string;
|
|
4757
|
+
}
|
|
4758
|
+
/**
|
|
4759
|
+
* links-replace-response
|
|
4760
|
+
* The response to replacing a link.
|
|
4761
|
+
*/
|
|
4762
|
+
export interface LinksReplaceResponse {
|
|
4763
|
+
link: Link;
|
|
4764
|
+
}
|
|
4614
4765
|
/**
|
|
4615
4766
|
* The iteration mode to use. If "after", then entries after the provided
|
|
4616
4767
|
* cursor will be returned, or if no cursor is provided, then from the
|
|
@@ -4725,6 +4876,29 @@ export interface MetricDefinitionsListResponse {
|
|
|
4725
4876
|
*/
|
|
4726
4877
|
prev_cursor?: string;
|
|
4727
4878
|
}
|
|
4879
|
+
/** metric-tracker */
|
|
4880
|
+
export interface MetricTracker {
|
|
4881
|
+
type: MetricTrackerType;
|
|
4882
|
+
}
|
|
4883
|
+
export type MetricTrackerType = string;
|
|
4884
|
+
/** metric-trackers-get-request */
|
|
4885
|
+
export interface MetricTrackersGetRequest {
|
|
4886
|
+
/**
|
|
4887
|
+
* The ID of the metric that is being tracked.
|
|
4888
|
+
* @format id
|
|
4889
|
+
*/
|
|
4890
|
+
metric: string;
|
|
4891
|
+
/**
|
|
4892
|
+
* The ID of the underlying object on which the metric is being
|
|
4893
|
+
* tracked.
|
|
4894
|
+
* @format id
|
|
4895
|
+
*/
|
|
4896
|
+
object: string;
|
|
4897
|
+
}
|
|
4898
|
+
/** metric-trackers-get-response */
|
|
4899
|
+
export interface MetricTrackersGetResponse {
|
|
4900
|
+
metric_tracker: MetricTracker;
|
|
4901
|
+
}
|
|
4728
4902
|
/** org-base */
|
|
4729
4903
|
export type OrgBase = AtomBase & {
|
|
4730
4904
|
/**
|
|
@@ -5190,6 +5364,12 @@ export type RevOrgSummary = OrgBaseSummary;
|
|
|
5190
5364
|
* organization.
|
|
5191
5365
|
*/
|
|
5192
5366
|
export interface RevOrgsCreateRequest {
|
|
5367
|
+
/**
|
|
5368
|
+
* Account Id to associate with this Rev organization.
|
|
5369
|
+
* @format id
|
|
5370
|
+
* @example "ACC-12345"
|
|
5371
|
+
*/
|
|
5372
|
+
account: string;
|
|
5193
5373
|
/**
|
|
5194
5374
|
* Description of the Rev organization.
|
|
5195
5375
|
* @format text
|
|
@@ -6229,6 +6409,31 @@ export type SchemaUnknownFieldDescriptor = SchemaFieldDescriptorBase;
|
|
|
6229
6409
|
export type ServiceAccount = UserBase;
|
|
6230
6410
|
/** service-account-summary */
|
|
6231
6411
|
export type ServiceAccountSummary = UserBaseSummary;
|
|
6412
|
+
/**
|
|
6413
|
+
* service-accounts-create-request
|
|
6414
|
+
* The request object to create a new service account.
|
|
6415
|
+
*/
|
|
6416
|
+
export interface ServiceAccountsCreateRequest {
|
|
6417
|
+
/**
|
|
6418
|
+
* The service account's display name. A unique, human readable name
|
|
6419
|
+
* to identify a service account.
|
|
6420
|
+
* @format text
|
|
6421
|
+
*/
|
|
6422
|
+
display_name: string;
|
|
6423
|
+
/**
|
|
6424
|
+
* Indicates whether to generate a keyring along with the new service
|
|
6425
|
+
* account. The default is false.
|
|
6426
|
+
*/
|
|
6427
|
+
gen_keyring?: boolean;
|
|
6428
|
+
}
|
|
6429
|
+
/**
|
|
6430
|
+
* service-accounts-create-response
|
|
6431
|
+
* The response object to the corresponding create service account
|
|
6432
|
+
* request.
|
|
6433
|
+
*/
|
|
6434
|
+
export interface ServiceAccountsCreateResponse {
|
|
6435
|
+
service_account: ServiceAccount;
|
|
6436
|
+
}
|
|
6232
6437
|
/**
|
|
6233
6438
|
* service-accounts-get-request
|
|
6234
6439
|
* The request object to get a service account's information.
|
|
@@ -7205,6 +7410,8 @@ export interface SyncMetadataFilterSyncInFilter {
|
|
|
7205
7410
|
status?: SyncMetadataFilterSyncInFilterStatus[];
|
|
7206
7411
|
/** Provides ways to specify date ranges on objects. */
|
|
7207
7412
|
sync_date?: DateFilter;
|
|
7413
|
+
/** Filters for works modified with selected sync history. */
|
|
7414
|
+
sync_history?: string[];
|
|
7208
7415
|
/** Filters for works modified with selected sync units. */
|
|
7209
7416
|
sync_unit?: string[];
|
|
7210
7417
|
}
|
|
@@ -7220,6 +7427,8 @@ export interface SyncMetadataFilterSyncOutFilter {
|
|
|
7220
7427
|
status?: SyncMetadataFilterSyncOutFilterStatus[];
|
|
7221
7428
|
/** Provides ways to specify date ranges on objects. */
|
|
7222
7429
|
sync_date?: DateFilter;
|
|
7430
|
+
/** Filters for works modified with selected sync history. */
|
|
7431
|
+
sync_history?: string[];
|
|
7223
7432
|
/** Filters for works modified with selected sync units. */
|
|
7224
7433
|
sync_unit?: string[];
|
|
7225
7434
|
}
|
|
@@ -8149,6 +8358,7 @@ export interface WebhookEventRequest {
|
|
|
8149
8358
|
rev_user_updated?: EventRevUserUpdated;
|
|
8150
8359
|
sla_tracker_created?: EventSlaTrackerCreated;
|
|
8151
8360
|
sla_tracker_deleted?: EventSlaTrackerDeleted;
|
|
8361
|
+
sla_tracker_fetched?: EventSlaTrackerFetched;
|
|
8152
8362
|
sla_tracker_updated?: EventSlaTrackerUpdated;
|
|
8153
8363
|
survey_created?: EventSurveyCreated;
|
|
8154
8364
|
survey_deleted?: EventSurveyDeleted;
|
|
@@ -8244,6 +8454,7 @@ export declare enum WebhookEventType {
|
|
|
8244
8454
|
RevUserUpdated = "rev_user_updated",
|
|
8245
8455
|
SlaTrackerCreated = "sla_tracker_created",
|
|
8246
8456
|
SlaTrackerDeleted = "sla_tracker_deleted",
|
|
8457
|
+
SlaTrackerFetched = "sla_tracker_fetched",
|
|
8247
8458
|
SlaTrackerUpdated = "sla_tracker_updated",
|
|
8248
8459
|
SurveyCreated = "survey_created",
|
|
8249
8460
|
SurveyDeleted = "survey_deleted",
|
|
@@ -9236,6 +9447,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9236
9447
|
sort_by?: string[];
|
|
9237
9448
|
/** Filters for accounts on specified stages. */
|
|
9238
9449
|
stage?: string[];
|
|
9450
|
+
/** Tier of the accounts to be filtered. */
|
|
9451
|
+
tier?: string[];
|
|
9239
9452
|
/** Array of websites of accounts to be filtered. */
|
|
9240
9453
|
websites?: string[];
|
|
9241
9454
|
}, params?: RequestParams) => Promise<AxiosResponse<AccountsExportResponse, any>>;
|
|
@@ -9339,6 +9552,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9339
9552
|
sort_by?: string[];
|
|
9340
9553
|
/** Filters for accounts on specified stages. */
|
|
9341
9554
|
stage?: string[];
|
|
9555
|
+
/** Tier of the accounts to be filtered. */
|
|
9556
|
+
tier?: string[];
|
|
9342
9557
|
/** Array of websites of accounts to be filtered. */
|
|
9343
9558
|
websites?: string[];
|
|
9344
9559
|
}, params?: RequestParams) => Promise<AxiosResponse<AccountsListResponse, any>>;
|
|
@@ -9603,6 +9818,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9603
9818
|
* @secure
|
|
9604
9819
|
*/
|
|
9605
9820
|
artifactsPrepare: (data: ArtifactsPrepareRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsPrepareResponse, any>>;
|
|
9821
|
+
/**
|
|
9822
|
+
* @description Permanently deletes a version of an artifact.
|
|
9823
|
+
*
|
|
9824
|
+
* @tags artifacts
|
|
9825
|
+
* @name ArtifactsHardDeleteVersion
|
|
9826
|
+
* @summary Delete Artifacts Version
|
|
9827
|
+
* @request POST:/artifacts.versions.delete
|
|
9828
|
+
* @secure
|
|
9829
|
+
*/
|
|
9830
|
+
artifactsHardDeleteVersion: (data: ArtifactsHardDeleteVersionRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
9831
|
+
/**
|
|
9832
|
+
* @description Prepares a new version for an artifact, returning the URL and form data to upload the updated file.
|
|
9833
|
+
*
|
|
9834
|
+
* @tags artifacts
|
|
9835
|
+
* @name ArtifactsVersionsPrepare
|
|
9836
|
+
* @summary Prepare Artifacts Versions
|
|
9837
|
+
* @request POST:/artifacts.versions.prepare
|
|
9838
|
+
* @secure
|
|
9839
|
+
*/
|
|
9840
|
+
artifactsVersionsPrepare: (data: ArtifactsVersionsPrepareRequest, params?: RequestParams) => Promise<AxiosResponse<ArtifactsVersionsPrepareResponse, any>>;
|
|
9606
9841
|
/**
|
|
9607
9842
|
* @description Gets the specified object.
|
|
9608
9843
|
*
|
|
@@ -9871,6 +10106,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9871
10106
|
source_channels?: string[];
|
|
9872
10107
|
/** Filters for records in the provided stage(s) by name. */
|
|
9873
10108
|
'stage.name'?: string[];
|
|
10109
|
+
/** Filters for conversations with any of the provided states. */
|
|
10110
|
+
state?: string[];
|
|
9874
10111
|
/**
|
|
9875
10112
|
* Filters for conversations with any of the provided tags.
|
|
9876
10113
|
* @deprecated
|
|
@@ -10161,6 +10398,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10161
10398
|
* @secure
|
|
10162
10399
|
*/
|
|
10163
10400
|
groupsList: (query?: {
|
|
10401
|
+
/** Filters the groups on the basis of creator. */
|
|
10402
|
+
created_by?: string[];
|
|
10164
10403
|
/**
|
|
10165
10404
|
* The cursor to resume iteration from. If not provided, then iteration
|
|
10166
10405
|
* starts from the beginning.
|
|
@@ -10185,8 +10424,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10185
10424
|
* used.
|
|
10186
10425
|
*/
|
|
10187
10426
|
mode?: ListMode;
|
|
10427
|
+
/** Filters the groups on the basis of group name. */
|
|
10428
|
+
name?: string[];
|
|
10188
10429
|
/** Comma-separated fields to sort the groups by. */
|
|
10189
10430
|
sort_by?: string[];
|
|
10431
|
+
/** Filters for issues with this specific external reference. */
|
|
10432
|
+
'sync_metadata.external_reference'?: string[];
|
|
10433
|
+
/** Filters for works with selected sync statuses. */
|
|
10434
|
+
'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
|
|
10435
|
+
/** Filters for works modified with selected sync history. */
|
|
10436
|
+
'sync_metadata.last_sync_in.sync_history'?: string[];
|
|
10437
|
+
/** Filters for works modified with selected sync units. */
|
|
10438
|
+
'sync_metadata.last_sync_in.sync_unit'?: string[];
|
|
10439
|
+
/** Filters for works with selected sync statuses. */
|
|
10440
|
+
'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
|
|
10441
|
+
/** Filters for works modified with selected sync history. */
|
|
10442
|
+
'sync_metadata.last_sync_out.sync_history'?: string[];
|
|
10443
|
+
/** Filters for works modified with selected sync units. */
|
|
10444
|
+
'sync_metadata.last_sync_out.sync_unit'?: string[];
|
|
10445
|
+
/** Filters for issues synced from this specific origin system. */
|
|
10446
|
+
'sync_metadata.origin_system'?: string[];
|
|
10190
10447
|
}, params?: RequestParams) => Promise<AxiosResponse<GroupsListResponse, any>>;
|
|
10191
10448
|
/**
|
|
10192
10449
|
* @description Lists the available groups.
|
|
@@ -10411,6 +10668,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10411
10668
|
* @secure
|
|
10412
10669
|
*/
|
|
10413
10670
|
linksListPost: (data: LinksListRequest, params?: RequestParams) => Promise<AxiosResponse<LinksListResponse, any>>;
|
|
10671
|
+
/**
|
|
10672
|
+
* @description Replaces a link.
|
|
10673
|
+
*
|
|
10674
|
+
* @tags links
|
|
10675
|
+
* @name LinksReplace
|
|
10676
|
+
* @summary Replace Links
|
|
10677
|
+
* @request POST:/links.replace
|
|
10678
|
+
* @secure
|
|
10679
|
+
*/
|
|
10680
|
+
linksReplace: (data: LinksReplaceRequest, params?: RequestParams) => Promise<AxiosResponse<LinksReplaceResponse, any>>;
|
|
10414
10681
|
/**
|
|
10415
10682
|
* @description Lists metric definitions matching a filter.
|
|
10416
10683
|
*
|
|
@@ -10461,6 +10728,37 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10461
10728
|
* @secure
|
|
10462
10729
|
*/
|
|
10463
10730
|
metricDefinitionsListPost: (data: MetricDefinitionsListRequest, params?: RequestParams) => Promise<AxiosResponse<MetricDefinitionsListResponse, any>>;
|
|
10731
|
+
/**
|
|
10732
|
+
* @description Gets a metric tracker.
|
|
10733
|
+
*
|
|
10734
|
+
* @tags slas
|
|
10735
|
+
* @name MetricTrackersGet
|
|
10736
|
+
* @summary Get Metric Tracker
|
|
10737
|
+
* @request GET:/metric-trackers.get
|
|
10738
|
+
* @secure
|
|
10739
|
+
*/
|
|
10740
|
+
metricTrackersGet: (query: {
|
|
10741
|
+
/**
|
|
10742
|
+
* The ID of the metric that is being tracked.
|
|
10743
|
+
* @format id
|
|
10744
|
+
*/
|
|
10745
|
+
metric: string;
|
|
10746
|
+
/**
|
|
10747
|
+
* The ID of the underlying object on which the metric is being tracked.
|
|
10748
|
+
* @format id
|
|
10749
|
+
*/
|
|
10750
|
+
object: string;
|
|
10751
|
+
}, params?: RequestParams) => Promise<AxiosResponse<MetricTrackersGetResponse, any>>;
|
|
10752
|
+
/**
|
|
10753
|
+
* @description Gets a metric tracker.
|
|
10754
|
+
*
|
|
10755
|
+
* @tags slas
|
|
10756
|
+
* @name MetricTrackersGetPost
|
|
10757
|
+
* @summary Get Metric Tracker (POST)
|
|
10758
|
+
* @request POST:/metric-trackers.get
|
|
10759
|
+
* @secure
|
|
10760
|
+
*/
|
|
10761
|
+
metricTrackersGetPost: (data: MetricTrackersGetRequest, params?: RequestParams) => Promise<AxiosResponse<MetricTrackersGetResponse, any>>;
|
|
10464
10762
|
/**
|
|
10465
10763
|
* @description Creates new [part](https://devrev.ai/docs/product/parts).
|
|
10466
10764
|
*
|
|
@@ -10866,6 +11164,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10866
11164
|
* @secure
|
|
10867
11165
|
*/
|
|
10868
11166
|
revUsersUpdate: (data: RevUsersUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<RevUsersUpdateResponse, any>>;
|
|
11167
|
+
/**
|
|
11168
|
+
* @description Creates a service account.
|
|
11169
|
+
*
|
|
11170
|
+
* @tags service-accounts
|
|
11171
|
+
* @name ServiceAccountsCreate
|
|
11172
|
+
* @summary Create Service Account
|
|
11173
|
+
* @request POST:/service-accounts.create
|
|
11174
|
+
* @secure
|
|
11175
|
+
*/
|
|
11176
|
+
serviceAccountsCreate: (data: ServiceAccountsCreateRequest, params?: RequestParams) => Promise<AxiosResponse<ServiceAccountsCreateResponse, any>>;
|
|
10869
11177
|
/**
|
|
10870
11178
|
* @description Gets a service account.
|
|
10871
11179
|
*
|
|
@@ -11613,10 +11921,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11613
11921
|
'sync_metadata.external_reference'?: string[];
|
|
11614
11922
|
/** Filters for works with selected sync statuses. */
|
|
11615
11923
|
'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
|
|
11924
|
+
/** Filters for works modified with selected sync history. */
|
|
11925
|
+
'sync_metadata.last_sync_in.sync_history'?: string[];
|
|
11616
11926
|
/** Filters for works modified with selected sync units. */
|
|
11617
11927
|
'sync_metadata.last_sync_in.sync_unit'?: string[];
|
|
11618
11928
|
/** Filters for works with selected sync statuses. */
|
|
11619
11929
|
'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
|
|
11930
|
+
/** Filters for works modified with selected sync history. */
|
|
11931
|
+
'sync_metadata.last_sync_out.sync_history'?: string[];
|
|
11620
11932
|
/** Filters for works modified with selected sync units. */
|
|
11621
11933
|
'sync_metadata.last_sync_out.sync_unit'?: string[];
|
|
11622
11934
|
/** Filters for issues synced from this specific origin system. */
|
|
@@ -11764,10 +12076,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11764
12076
|
'sync_metadata.external_reference'?: string[];
|
|
11765
12077
|
/** Filters for works with selected sync statuses. */
|
|
11766
12078
|
'sync_metadata.last_sync_in.status'?: SyncMetadataFilterSyncInFilterStatus[];
|
|
12079
|
+
/** Filters for works modified with selected sync history. */
|
|
12080
|
+
'sync_metadata.last_sync_in.sync_history'?: string[];
|
|
11767
12081
|
/** Filters for works modified with selected sync units. */
|
|
11768
12082
|
'sync_metadata.last_sync_in.sync_unit'?: string[];
|
|
11769
12083
|
/** Filters for works with selected sync statuses. */
|
|
11770
12084
|
'sync_metadata.last_sync_out.status'?: SyncMetadataFilterSyncOutFilterStatus[];
|
|
12085
|
+
/** Filters for works modified with selected sync history. */
|
|
12086
|
+
'sync_metadata.last_sync_out.sync_history'?: string[];
|
|
11771
12087
|
/** Filters for works modified with selected sync units. */
|
|
11772
12088
|
'sync_metadata.last_sync_out.sync_unit'?: string[];
|
|
11773
12089
|
/** Filters for issues synced from this specific origin system. */
|