@devrev/typescript-sdk 1.1.39 → 1.1.41
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.
|
@@ -13,7 +13,7 @@ export type Account = OrgBase & {
|
|
|
13
13
|
custom_fields?: object;
|
|
14
14
|
/**
|
|
15
15
|
* Custom schema fragments.
|
|
16
|
-
* @example ["don:core
|
|
16
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
17
17
|
*/
|
|
18
18
|
custom_schema_fragments?: string[];
|
|
19
19
|
/** Description of the corresponding Account. */
|
|
@@ -24,12 +24,12 @@ export type Account = OrgBase & {
|
|
|
24
24
|
* External refs are unique identifiers from your customer system of
|
|
25
25
|
* records, stored as a list.
|
|
26
26
|
*/
|
|
27
|
-
external_refs
|
|
27
|
+
external_refs?: string[];
|
|
28
28
|
/** List of Dev user IDs owning this Account. */
|
|
29
29
|
owned_by: UserSummary[];
|
|
30
30
|
/**
|
|
31
31
|
* Stock schema fragment.
|
|
32
|
-
* @example "don:core
|
|
32
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
33
33
|
*/
|
|
34
34
|
stock_schema_fragment?: string;
|
|
35
35
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -91,7 +91,7 @@ export interface AccountsCreateRequest {
|
|
|
91
91
|
/**
|
|
92
92
|
* Schema fragment IDs associated with this account SOR.
|
|
93
93
|
* @deprecated
|
|
94
|
-
* @example ["don:core
|
|
94
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
95
95
|
*/
|
|
96
96
|
schema_fragment_ids?: string[];
|
|
97
97
|
/** Tags associated with the account. */
|
|
@@ -333,7 +333,7 @@ export interface AccountsUpdateRequest {
|
|
|
333
333
|
/**
|
|
334
334
|
* Schema fragment IDs associated with this account SOR.
|
|
335
335
|
* @deprecated
|
|
336
|
-
* @example ["don:core
|
|
336
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
337
337
|
*/
|
|
338
338
|
schema_fragment_ids?: string[];
|
|
339
339
|
/** Updated tags list associated with the account. */
|
|
@@ -1268,6 +1268,14 @@ export interface ArtifactsVersionsPrepareResponseFormData {
|
|
|
1268
1268
|
/** Value corresponding to the key. */
|
|
1269
1269
|
value: string;
|
|
1270
1270
|
}
|
|
1271
|
+
/** associated-to-summary */
|
|
1272
|
+
export type AssociatedToSummary = (AccountSummary | RevOrgSummary) & {
|
|
1273
|
+
type: AssociatedToType;
|
|
1274
|
+
};
|
|
1275
|
+
export declare enum AssociatedToType {
|
|
1276
|
+
Account = "account",
|
|
1277
|
+
RevOrg = "rev_org"
|
|
1278
|
+
}
|
|
1271
1279
|
/** atom-base */
|
|
1272
1280
|
export interface AtomBase {
|
|
1273
1281
|
created_by?: UserSummary;
|
|
@@ -2171,6 +2179,208 @@ export interface CodeChangesUpdateRequest {
|
|
|
2171
2179
|
export interface CodeChangesUpdateResponse {
|
|
2172
2180
|
code_change: CodeChange;
|
|
2173
2181
|
}
|
|
2182
|
+
/** command */
|
|
2183
|
+
export type Command = AtomBase & {
|
|
2184
|
+
/** Description of the command. */
|
|
2185
|
+
description?: string;
|
|
2186
|
+
/** Display name of the command. */
|
|
2187
|
+
display_name?: string;
|
|
2188
|
+
/** Name of the command. */
|
|
2189
|
+
name?: string;
|
|
2190
|
+
/** Namespace of the command. */
|
|
2191
|
+
namespace?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* The list of users, groups and audiences with whom the command is
|
|
2194
|
+
* shared.
|
|
2195
|
+
*/
|
|
2196
|
+
shared_with?: SharedWithMembership[];
|
|
2197
|
+
/** Status of the command. */
|
|
2198
|
+
status?: CommandStatus;
|
|
2199
|
+
/** Surfaces where this command can be invoked. */
|
|
2200
|
+
surfaces?: CommandSurface[];
|
|
2201
|
+
/**
|
|
2202
|
+
* A user friendly description of the parameters which can be passed
|
|
2203
|
+
* to the command.
|
|
2204
|
+
*/
|
|
2205
|
+
usage_hint?: string;
|
|
2206
|
+
};
|
|
2207
|
+
/** Specifies how the action is defined. */
|
|
2208
|
+
export declare enum CommandActionExecutorType {
|
|
2209
|
+
Rego = "rego",
|
|
2210
|
+
Workflow = "workflow"
|
|
2211
|
+
}
|
|
2212
|
+
/** The template engine for resolving message. */
|
|
2213
|
+
export declare enum CommandActionTemplateType {
|
|
2214
|
+
DevrevV1 = "devrev_v1"
|
|
2215
|
+
}
|
|
2216
|
+
/**
|
|
2217
|
+
* command-create-request
|
|
2218
|
+
* The request to create a command.
|
|
2219
|
+
*/
|
|
2220
|
+
export interface CommandCreateRequest {
|
|
2221
|
+
action?: CreateCommandAction;
|
|
2222
|
+
/** Description of the command. */
|
|
2223
|
+
description?: string;
|
|
2224
|
+
/** Display name of the command. */
|
|
2225
|
+
display_name?: string;
|
|
2226
|
+
/** Name of the command. */
|
|
2227
|
+
name: string;
|
|
2228
|
+
/** Namespace of the command. */
|
|
2229
|
+
namespace: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* The list of users, groups and audiences with whom the command is
|
|
2232
|
+
* shared.
|
|
2233
|
+
*/
|
|
2234
|
+
shared_with?: SetSharedWithMembership[];
|
|
2235
|
+
/** ID of the source which created this command. */
|
|
2236
|
+
source?: string;
|
|
2237
|
+
/** Status of the command. */
|
|
2238
|
+
status?: CommandStatus;
|
|
2239
|
+
/** Surfaces where this command can be invoked. */
|
|
2240
|
+
surfaces?: CreateCommandSurface[];
|
|
2241
|
+
/**
|
|
2242
|
+
* A user friendly description of the parameters which can be passed
|
|
2243
|
+
* to the command.
|
|
2244
|
+
*/
|
|
2245
|
+
usage_hint?: string;
|
|
2246
|
+
}
|
|
2247
|
+
/** command-create-response */
|
|
2248
|
+
export interface CommandCreateResponse {
|
|
2249
|
+
command: Command;
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
* command-get-request
|
|
2253
|
+
* The request to get a command.
|
|
2254
|
+
*/
|
|
2255
|
+
export interface CommandGetRequest {
|
|
2256
|
+
/** The command's ID. */
|
|
2257
|
+
id: string;
|
|
2258
|
+
}
|
|
2259
|
+
/** command-get-response */
|
|
2260
|
+
export interface CommandGetResponse {
|
|
2261
|
+
command: Command;
|
|
2262
|
+
}
|
|
2263
|
+
/** Status of the command. */
|
|
2264
|
+
export declare enum CommandStatus {
|
|
2265
|
+
Disabled = "disabled",
|
|
2266
|
+
Draft = "draft",
|
|
2267
|
+
Enabled = "enabled"
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* command-surface
|
|
2271
|
+
* Metadata defining which surfaces this command can be executed on.
|
|
2272
|
+
*/
|
|
2273
|
+
export interface CommandSurface {
|
|
2274
|
+
/** Objects types on which a command can be invoked. */
|
|
2275
|
+
object_types?: CommandSurfaceObjectTypes[];
|
|
2276
|
+
/** Surfaces from where this command can be invoked. */
|
|
2277
|
+
surface?: CommandSurfaceSurface;
|
|
2278
|
+
}
|
|
2279
|
+
/** Objects types on which a command can be invoked. */
|
|
2280
|
+
export declare enum CommandSurfaceObjectTypes {
|
|
2281
|
+
Account = "account",
|
|
2282
|
+
Article = "article",
|
|
2283
|
+
Conversation = "conversation",
|
|
2284
|
+
Engagement = "engagement",
|
|
2285
|
+
Flow = "flow",
|
|
2286
|
+
Incident = "incident",
|
|
2287
|
+
Issue = "issue",
|
|
2288
|
+
Opportunity = "opportunity",
|
|
2289
|
+
Part = "part",
|
|
2290
|
+
RevOrg = "rev_org",
|
|
2291
|
+
RevUser = "rev_user",
|
|
2292
|
+
SnapIn = "snap_in",
|
|
2293
|
+
Ticket = "ticket"
|
|
2294
|
+
}
|
|
2295
|
+
/** Surfaces from where this command can be invoked. */
|
|
2296
|
+
export declare enum CommandSurfaceSurface {
|
|
2297
|
+
CustomerChat = "customer_chat",
|
|
2298
|
+
Discussions = "discussions"
|
|
2299
|
+
}
|
|
2300
|
+
/**
|
|
2301
|
+
* command-update-request
|
|
2302
|
+
* The request to update a command.
|
|
2303
|
+
*/
|
|
2304
|
+
export interface CommandUpdateRequest {
|
|
2305
|
+
action?: UpdateCommandAction;
|
|
2306
|
+
/** Description of the command. */
|
|
2307
|
+
description?: string;
|
|
2308
|
+
/** Display name of the command. */
|
|
2309
|
+
display_name?: string;
|
|
2310
|
+
/** The ID of the command to update. */
|
|
2311
|
+
id: string;
|
|
2312
|
+
/** Name of the command. */
|
|
2313
|
+
name?: string;
|
|
2314
|
+
/** Namespace of the command. */
|
|
2315
|
+
namespace?: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* The list of users, groups and audiences with whom the command is
|
|
2318
|
+
* shared.
|
|
2319
|
+
*/
|
|
2320
|
+
shared_with?: SetSharedWithMembership[];
|
|
2321
|
+
/** ID of the source which created this command. */
|
|
2322
|
+
source?: string;
|
|
2323
|
+
/** Status of the command. */
|
|
2324
|
+
status?: CommandStatus;
|
|
2325
|
+
/** Surfaces where this command can be invoked. */
|
|
2326
|
+
surfaces?: UpdateCommandSurface[];
|
|
2327
|
+
/**
|
|
2328
|
+
* A user friendly description of the parameters which can be passed
|
|
2329
|
+
* to the command.
|
|
2330
|
+
*/
|
|
2331
|
+
usage_hint?: string;
|
|
2332
|
+
}
|
|
2333
|
+
/** command-update-response */
|
|
2334
|
+
export interface CommandUpdateResponse {
|
|
2335
|
+
command: Command;
|
|
2336
|
+
}
|
|
2337
|
+
/** commands-list-request */
|
|
2338
|
+
export interface CommandsListRequest {
|
|
2339
|
+
/**
|
|
2340
|
+
* The cursor to resume iteration from. If not provided, then
|
|
2341
|
+
* iteration starts from the beginning.
|
|
2342
|
+
*/
|
|
2343
|
+
cursor?: string;
|
|
2344
|
+
/** Filtering based on executor_type. */
|
|
2345
|
+
executor_type?: CommandActionExecutorType[];
|
|
2346
|
+
/**
|
|
2347
|
+
* The maximum number of commands to return per page. The default is
|
|
2348
|
+
* '50'.
|
|
2349
|
+
* @format int32
|
|
2350
|
+
*/
|
|
2351
|
+
limit?: number;
|
|
2352
|
+
/**
|
|
2353
|
+
* The iteration mode to use. If "after", then entries after the provided
|
|
2354
|
+
* cursor will be returned, or if no cursor is provided, then from the
|
|
2355
|
+
* beginning. If "before", then entries before the provided cursor will be
|
|
2356
|
+
* returned, or if no cursor is provided, then from the end. Entries will
|
|
2357
|
+
* always be returned in the specified sort-by order.
|
|
2358
|
+
*/
|
|
2359
|
+
mode?: ListMode;
|
|
2360
|
+
/** Filter commands based on namespace. */
|
|
2361
|
+
namespace?: string[];
|
|
2362
|
+
/** List of fields to sort the commands items by and how to sort them. */
|
|
2363
|
+
sort_by?: string[];
|
|
2364
|
+
/** ID of the object where command is invoked (work/part/conversation). */
|
|
2365
|
+
source_object_id?: string;
|
|
2366
|
+
/** Filter commands based on status. */
|
|
2367
|
+
status?: CommandStatus[];
|
|
2368
|
+
}
|
|
2369
|
+
/** commands-list-response */
|
|
2370
|
+
export interface CommandsListResponse {
|
|
2371
|
+
/** List of commands. */
|
|
2372
|
+
commands: Command[];
|
|
2373
|
+
/**
|
|
2374
|
+
* The cursor used to iterate subsequent results in accordance to the
|
|
2375
|
+
* sort order. If not set, then no later elements exist.
|
|
2376
|
+
*/
|
|
2377
|
+
next_cursor?: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* The cursor used to iterate preceding results in accordance to the
|
|
2380
|
+
* sort order. If not set, then no prior elements exist.
|
|
2381
|
+
*/
|
|
2382
|
+
prev_cursor?: string;
|
|
2383
|
+
}
|
|
2174
2384
|
/** comment-search-summary */
|
|
2175
2385
|
export interface CommentSearchSummary {
|
|
2176
2386
|
comment?: TimelineCommentSummary;
|
|
@@ -2690,6 +2900,49 @@ export interface ConversationsUpdateRequestUserSessions {
|
|
|
2690
2900
|
export interface ConversationsUpdateResponse {
|
|
2691
2901
|
conversation: Conversation;
|
|
2692
2902
|
}
|
|
2903
|
+
/** create-command-action */
|
|
2904
|
+
export interface CreateCommandAction {
|
|
2905
|
+
action_details?: CreateCommandActionDetails;
|
|
2906
|
+
/**
|
|
2907
|
+
* IDs of the new artifact items
|
|
2908
|
+
* @example ["ARTIFACT-12345"]
|
|
2909
|
+
*/
|
|
2910
|
+
artifacts?: string[];
|
|
2911
|
+
/**
|
|
2912
|
+
* The raw code to execute, defined in the language specified by
|
|
2913
|
+
* executor
|
|
2914
|
+
*/
|
|
2915
|
+
code?: string;
|
|
2916
|
+
/** Executor specific config */
|
|
2917
|
+
executor_config?: object;
|
|
2918
|
+
/** Specifies how the action is defined. */
|
|
2919
|
+
executor_type: CommandActionExecutorType;
|
|
2920
|
+
/**
|
|
2921
|
+
* The message to populate in discussion box, when the command is
|
|
2922
|
+
* selected to execute.
|
|
2923
|
+
*/
|
|
2924
|
+
message?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Function containing logic for the command. If function ID is
|
|
2927
|
+
* specified the executor config is ignored and command is executed by
|
|
2928
|
+
* functions.
|
|
2929
|
+
*/
|
|
2930
|
+
snap_in_function_id?: string;
|
|
2931
|
+
/** The template engine for resolving message. */
|
|
2932
|
+
template_type?: CommandActionTemplateType;
|
|
2933
|
+
}
|
|
2934
|
+
/** create-command-action-details */
|
|
2935
|
+
export interface CreateCommandActionDetails {
|
|
2936
|
+
/** The payload to update the object in context upon command execution. */
|
|
2937
|
+
object_update_payload?: object;
|
|
2938
|
+
}
|
|
2939
|
+
/** create-command-surface */
|
|
2940
|
+
export interface CreateCommandSurface {
|
|
2941
|
+
/** Objects types on which a command can be invoked */
|
|
2942
|
+
object_types?: CommandSurfaceObjectTypes[];
|
|
2943
|
+
/** Surfaces from where this command can be invoked. */
|
|
2944
|
+
surface: CommandSurfaceSurface;
|
|
2945
|
+
}
|
|
2693
2946
|
/**
|
|
2694
2947
|
* create-email-info
|
|
2695
2948
|
* Information related to an email.
|
|
@@ -2941,12 +3194,12 @@ export type CustomObject = AtomBase & {
|
|
|
2941
3194
|
custom_fields?: object;
|
|
2942
3195
|
/**
|
|
2943
3196
|
* Custom schema fragments.
|
|
2944
|
-
* @example ["don:core
|
|
3197
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
2945
3198
|
*/
|
|
2946
3199
|
custom_schema_fragments?: string[];
|
|
2947
3200
|
/**
|
|
2948
3201
|
* Stock schema fragment.
|
|
2949
|
-
* @example "don:core
|
|
3202
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
2950
3203
|
*/
|
|
2951
3204
|
stock_schema_fragment?: string;
|
|
2952
3205
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -3879,7 +4132,7 @@ export type DevUser = UserBase & {
|
|
|
3879
4132
|
custom_fields?: object;
|
|
3880
4133
|
/**
|
|
3881
4134
|
* Custom schema fragments.
|
|
3882
|
-
* @example ["don:core
|
|
4135
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
3883
4136
|
*/
|
|
3884
4137
|
custom_schema_fragments?: string[];
|
|
3885
4138
|
/**
|
|
@@ -3896,7 +4149,7 @@ export type DevUser = UserBase & {
|
|
|
3896
4149
|
skills?: UserSkill[];
|
|
3897
4150
|
/**
|
|
3898
4151
|
* Stock schema fragment.
|
|
3899
|
-
* @example "don:core
|
|
4152
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
3900
4153
|
*/
|
|
3901
4154
|
stock_schema_fragment?: string;
|
|
3902
4155
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -5315,7 +5568,7 @@ export interface EventTimelineEntryCreated {
|
|
|
5315
5568
|
export interface EventTimelineEntryDeleted {
|
|
5316
5569
|
/**
|
|
5317
5570
|
* The ID of the timeline entry that was deleted.
|
|
5318
|
-
* @example "don:core
|
|
5571
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
5319
5572
|
*/
|
|
5320
5573
|
id: string;
|
|
5321
5574
|
old_entry?: TimelineEntry;
|
|
@@ -5333,7 +5586,7 @@ export interface EventWebhookCreated {
|
|
|
5333
5586
|
export interface EventWebhookDeleted {
|
|
5334
5587
|
/**
|
|
5335
5588
|
* The ID of the webhook that was deleted.
|
|
5336
|
-
* @example "don:integration
|
|
5589
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
5337
5590
|
*/
|
|
5338
5591
|
id: string;
|
|
5339
5592
|
}
|
|
@@ -5905,7 +6158,7 @@ export type Incident = AtomBase & {
|
|
|
5905
6158
|
custom_fields?: object;
|
|
5906
6159
|
/**
|
|
5907
6160
|
* Custom schema fragments.
|
|
5908
|
-
* @example ["don:core
|
|
6161
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
5909
6162
|
*/
|
|
5910
6163
|
custom_schema_fragments?: string[];
|
|
5911
6164
|
/**
|
|
@@ -5945,7 +6198,7 @@ export type Incident = AtomBase & {
|
|
|
5945
6198
|
stakeholders?: UserSummary[];
|
|
5946
6199
|
/**
|
|
5947
6200
|
* Stock schema fragment.
|
|
5948
|
-
* @example "don:core
|
|
6201
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
5949
6202
|
*/
|
|
5950
6203
|
stock_schema_fragment?: string;
|
|
5951
6204
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -6743,7 +6996,7 @@ export type Meeting = AtomBase & {
|
|
|
6743
6996
|
custom_fields?: object;
|
|
6744
6997
|
/**
|
|
6745
6998
|
* Custom schema fragments.
|
|
6746
|
-
* @example ["don:core
|
|
6999
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
6747
7000
|
*/
|
|
6748
7001
|
custom_schema_fragments?: string[];
|
|
6749
7002
|
/** Description of the meeting. */
|
|
@@ -6777,7 +7030,7 @@ export type Meeting = AtomBase & {
|
|
|
6777
7030
|
state?: MeetingState;
|
|
6778
7031
|
/**
|
|
6779
7032
|
* Stock schema fragment.
|
|
6780
|
-
* @example "don:core
|
|
7033
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
6781
7034
|
*/
|
|
6782
7035
|
stock_schema_fragment?: string;
|
|
6783
7036
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -6815,6 +7068,8 @@ export interface MeetingsCountRequest {
|
|
|
6815
7068
|
created_date?: DateFilter;
|
|
6816
7069
|
/** Filters for meeting on custom fields. */
|
|
6817
7070
|
custom_fields?: object;
|
|
7071
|
+
/** Provides ways to specify date ranges on objects. */
|
|
7072
|
+
ended_date?: DateFilter;
|
|
6818
7073
|
/** Filters for meetings with the provided external_ref(s). */
|
|
6819
7074
|
external_ref?: string[];
|
|
6820
7075
|
/** Filters for links associated with the meeting. */
|
|
@@ -6830,6 +7085,8 @@ export interface MeetingsCountRequest {
|
|
|
6830
7085
|
* @example ["ACC-12345"]
|
|
6831
7086
|
*/
|
|
6832
7087
|
parent?: string[];
|
|
7088
|
+
/** Provides ways to specify date ranges on objects. */
|
|
7089
|
+
scheduled_date?: DateFilter;
|
|
6833
7090
|
/** Filters for meeting on specified state or outcomes. */
|
|
6834
7091
|
state?: MeetingState[];
|
|
6835
7092
|
/** Filters for meeting by tags. */
|
|
@@ -6944,6 +7201,8 @@ export interface MeetingsListRequest {
|
|
|
6944
7201
|
cursor?: string;
|
|
6945
7202
|
/** Filters for meeting on custom fields. */
|
|
6946
7203
|
custom_fields?: object;
|
|
7204
|
+
/** Provides ways to specify date ranges on objects. */
|
|
7205
|
+
ended_date?: DateFilter;
|
|
6947
7206
|
/** Filters for meetings with the provided external_ref(s). */
|
|
6948
7207
|
external_ref?: string[];
|
|
6949
7208
|
/**
|
|
@@ -6972,6 +7231,8 @@ export interface MeetingsListRequest {
|
|
|
6972
7231
|
* @example ["ACC-12345"]
|
|
6973
7232
|
*/
|
|
6974
7233
|
parent?: string[];
|
|
7234
|
+
/** Provides ways to specify date ranges on objects. */
|
|
7235
|
+
scheduled_date?: DateFilter;
|
|
6975
7236
|
/** Fields to sort the meetings by and the direction to sort them. */
|
|
6976
7237
|
sort_by?: string[];
|
|
6977
7238
|
/** Filters for meeting on specified state or outcomes. */
|
|
@@ -7798,7 +8059,7 @@ export type PartBase = AtomBase & {
|
|
|
7798
8059
|
custom_fields?: object;
|
|
7799
8060
|
/**
|
|
7800
8061
|
* Custom schema fragments.
|
|
7801
|
-
* @example ["don:core
|
|
8062
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
7802
8063
|
*/
|
|
7803
8064
|
custom_schema_fragments?: string[];
|
|
7804
8065
|
/** Description of the part. */
|
|
@@ -7809,7 +8070,7 @@ export type PartBase = AtomBase & {
|
|
|
7809
8070
|
owned_by: UserSummary[];
|
|
7810
8071
|
/**
|
|
7811
8072
|
* Stock schema fragment.
|
|
7812
|
-
* @example "don:core
|
|
8073
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
7813
8074
|
*/
|
|
7814
8075
|
stock_schema_fragment?: string;
|
|
7815
8076
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -7855,7 +8116,7 @@ export type PartsCreateRequest = (PartsCreateRequestCapability | PartsCreateRequ
|
|
|
7855
8116
|
custom_fields?: object;
|
|
7856
8117
|
/**
|
|
7857
8118
|
* The custom schema fragments to use.
|
|
7858
|
-
* @example ["don:core
|
|
8119
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
7859
8120
|
*/
|
|
7860
8121
|
custom_schema_fragments?: string[];
|
|
7861
8122
|
/**
|
|
@@ -8004,7 +8265,7 @@ export type PartsUpdateRequest = (Empty | PartsUpdateRequestCapability | PartsUp
|
|
|
8004
8265
|
custom_fields?: object;
|
|
8005
8266
|
/**
|
|
8006
8267
|
* The custom schema fragments to use.
|
|
8007
|
-
* @example ["don:core
|
|
8268
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8008
8269
|
*/
|
|
8009
8270
|
custom_schema_fragments?: string[];
|
|
8010
8271
|
/**
|
|
@@ -8380,6 +8641,59 @@ export interface QuestionAnswersUpdateRequestTags {
|
|
|
8380
8641
|
export interface QuestionAnswersUpdateResponse {
|
|
8381
8642
|
question_answer: QuestionAnswer;
|
|
8382
8643
|
}
|
|
8644
|
+
/** reactions-list-request */
|
|
8645
|
+
export interface ReactionsListRequest {
|
|
8646
|
+
/**
|
|
8647
|
+
* The cursor to resume iteration from, otherwise if not provided,
|
|
8648
|
+
* then iteration starts from the beginning.
|
|
8649
|
+
*/
|
|
8650
|
+
cursor?: string;
|
|
8651
|
+
/**
|
|
8652
|
+
* The emoji to list the reactors for. This can be the short name of
|
|
8653
|
+
* the emoji (e.g. "joy"), or the code point (e.g. "1f602").
|
|
8654
|
+
*/
|
|
8655
|
+
emoji: string;
|
|
8656
|
+
/**
|
|
8657
|
+
* The maximum number of reactors to return.
|
|
8658
|
+
* @format int32
|
|
8659
|
+
*/
|
|
8660
|
+
limit?: number;
|
|
8661
|
+
/**
|
|
8662
|
+
* The ID of the object to list reactors for.
|
|
8663
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
8664
|
+
*/
|
|
8665
|
+
object: string;
|
|
8666
|
+
}
|
|
8667
|
+
/** reactions-list-response */
|
|
8668
|
+
export interface ReactionsListResponse {
|
|
8669
|
+
/**
|
|
8670
|
+
* The cursor that should be used to iterate the next sequence of
|
|
8671
|
+
* results, otherwise if not set, then no elements exist after.
|
|
8672
|
+
*/
|
|
8673
|
+
next_cursor?: string;
|
|
8674
|
+
/** The users that have reacted. */
|
|
8675
|
+
reactors: UserSummary[];
|
|
8676
|
+
}
|
|
8677
|
+
/** reactions-update-request */
|
|
8678
|
+
export interface ReactionsUpdateRequest {
|
|
8679
|
+
action: ReactionsUpdateRequestAction;
|
|
8680
|
+
/**
|
|
8681
|
+
* The emoji for the reaction. This can be the short name of the emoji
|
|
8682
|
+
* (e.g. "joy"), or the code point (e.g. "1f602").
|
|
8683
|
+
*/
|
|
8684
|
+
emoji: string;
|
|
8685
|
+
/**
|
|
8686
|
+
* The object to update the reaction for.
|
|
8687
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
8688
|
+
*/
|
|
8689
|
+
object: string;
|
|
8690
|
+
}
|
|
8691
|
+
export declare enum ReactionsUpdateRequestAction {
|
|
8692
|
+
Add = "add",
|
|
8693
|
+
Remove = "remove"
|
|
8694
|
+
}
|
|
8695
|
+
/** reactions-update-response */
|
|
8696
|
+
export type ReactionsUpdateResponse = object;
|
|
8383
8697
|
/** remove-tag-with-value */
|
|
8384
8698
|
export interface RemoveTagWithValue {
|
|
8385
8699
|
/**
|
|
@@ -8422,7 +8736,7 @@ export type RevOrg = OrgBase & {
|
|
|
8422
8736
|
custom_fields?: object;
|
|
8423
8737
|
/**
|
|
8424
8738
|
* Custom schema fragments.
|
|
8425
|
-
* @example ["don:core
|
|
8739
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8426
8740
|
*/
|
|
8427
8741
|
custom_schema_fragments?: string[];
|
|
8428
8742
|
/** Description of the Rev organization. */
|
|
@@ -8438,7 +8752,7 @@ export type RevOrg = OrgBase & {
|
|
|
8438
8752
|
external_ref?: string;
|
|
8439
8753
|
/**
|
|
8440
8754
|
* Stock schema fragment.
|
|
8441
|
-
* @example "don:core
|
|
8755
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
8442
8756
|
*/
|
|
8443
8757
|
stock_schema_fragment?: string;
|
|
8444
8758
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -8468,7 +8782,7 @@ export interface RevOrgsCreateRequest {
|
|
|
8468
8782
|
custom_fields?: object;
|
|
8469
8783
|
/**
|
|
8470
8784
|
* Schema fragment IDs associated with this Rev organization.
|
|
8471
|
-
* @example ["don:core
|
|
8785
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8472
8786
|
*/
|
|
8473
8787
|
custom_schema_fragments?: string[];
|
|
8474
8788
|
/** Description of the Rev organization. */
|
|
@@ -8623,7 +8937,7 @@ export interface RevOrgsUpdateRequest {
|
|
|
8623
8937
|
artifacts?: RevOrgsUpdateRequestArtifacts;
|
|
8624
8938
|
/**
|
|
8625
8939
|
* Schema fragment IDs associated with this Rev organization.
|
|
8626
|
-
* @example ["don:core
|
|
8940
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8627
8941
|
*/
|
|
8628
8942
|
custom_schema_fragments?: string[];
|
|
8629
8943
|
/** Description of the Rev organization. */
|
|
@@ -8676,7 +8990,7 @@ export type RevUser = UserBase & {
|
|
|
8676
8990
|
custom_fields?: object;
|
|
8677
8991
|
/**
|
|
8678
8992
|
* Custom schema fragments.
|
|
8679
|
-
* @example ["don:core
|
|
8993
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8680
8994
|
*/
|
|
8681
8995
|
custom_schema_fragments?: string[];
|
|
8682
8996
|
/** Description of the Rev user. */
|
|
@@ -8694,7 +9008,7 @@ export type RevUser = UserBase & {
|
|
|
8694
9008
|
rev_org?: OrgSummary;
|
|
8695
9009
|
/**
|
|
8696
9010
|
* Stock schema fragment.
|
|
8697
|
-
* @example "don:core
|
|
9011
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
8698
9012
|
*/
|
|
8699
9013
|
stock_schema_fragment?: string;
|
|
8700
9014
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -8702,6 +9016,15 @@ export type RevUser = UserBase & {
|
|
|
8702
9016
|
/** Tags associated with the object. */
|
|
8703
9017
|
tags?: TagWithValue[];
|
|
8704
9018
|
};
|
|
9019
|
+
/**
|
|
9020
|
+
* rev-user-association
|
|
9021
|
+
* Association of Rev users with Rev orgs or accounts. A Rev user can be
|
|
9022
|
+
* associated with 0 or more accounts and Rev orgs. A Rev org association
|
|
9023
|
+
* automatically adds an account association.
|
|
9024
|
+
*/
|
|
9025
|
+
export interface RevUserAssociation {
|
|
9026
|
+
associated_to?: AssociatedToSummary;
|
|
9027
|
+
}
|
|
8705
9028
|
/** rev-user-summary */
|
|
8706
9029
|
export type RevUserSummary = UserBaseSummary & {
|
|
8707
9030
|
/**
|
|
@@ -8714,6 +9037,51 @@ export type RevUserSummary = UserBaseSummary & {
|
|
|
8714
9037
|
external_ref?: string;
|
|
8715
9038
|
rev_org?: OrgSummary;
|
|
8716
9039
|
};
|
|
9040
|
+
/**
|
|
9041
|
+
* rev-users-associations-list-request
|
|
9042
|
+
* Gets the list of Rev user associations.
|
|
9043
|
+
*/
|
|
9044
|
+
export interface RevUsersAssociationsListRequest {
|
|
9045
|
+
/**
|
|
9046
|
+
* The cursor to resume iteration from. If not provided, then
|
|
9047
|
+
* iteration starts from the beginning.
|
|
9048
|
+
*/
|
|
9049
|
+
cursor?: string;
|
|
9050
|
+
/**
|
|
9051
|
+
* The maximum number of Associations to return per page. The default
|
|
9052
|
+
* is '50'.
|
|
9053
|
+
* @format int32
|
|
9054
|
+
*/
|
|
9055
|
+
limit?: number;
|
|
9056
|
+
/**
|
|
9057
|
+
* The iteration mode to use. If "after", then entries after the provided
|
|
9058
|
+
* cursor will be returned, or if no cursor is provided, then from the
|
|
9059
|
+
* beginning. If "before", then entries before the provided cursor will be
|
|
9060
|
+
* returned, or if no cursor is provided, then from the end. Entries will
|
|
9061
|
+
* always be returned in the specified sort-by order.
|
|
9062
|
+
*/
|
|
9063
|
+
mode?: ListMode;
|
|
9064
|
+
/** The ID of Rev user to list all associations of. */
|
|
9065
|
+
rev_user_id: string;
|
|
9066
|
+
}
|
|
9067
|
+
/**
|
|
9068
|
+
* rev-users-associations-list-response
|
|
9069
|
+
* The response to listing all the associations of a Rev user.
|
|
9070
|
+
*/
|
|
9071
|
+
export interface RevUsersAssociationsListResponse {
|
|
9072
|
+
/** The associations of a Rev user. */
|
|
9073
|
+
associations: RevUserAssociation[];
|
|
9074
|
+
/**
|
|
9075
|
+
* The cursor used to iterate subsequent results in accordance to the
|
|
9076
|
+
* sort order. If not set, then no later elements exist.
|
|
9077
|
+
*/
|
|
9078
|
+
next_cursor?: string;
|
|
9079
|
+
/**
|
|
9080
|
+
* The cursor used to iterate preceding results in accordance to the
|
|
9081
|
+
* sort order. If not set, then no prior elements exist.
|
|
9082
|
+
*/
|
|
9083
|
+
prev_cursor?: string;
|
|
9084
|
+
}
|
|
8717
9085
|
/**
|
|
8718
9086
|
* rev-users-create-request
|
|
8719
9087
|
* Request object to create a new Rev user for a Rev organization.
|
|
@@ -8734,7 +9102,7 @@ export interface RevUsersCreateRequest {
|
|
|
8734
9102
|
/**
|
|
8735
9103
|
* The schema fragment IDs associated with the Rev user.
|
|
8736
9104
|
* @deprecated
|
|
8737
|
-
* @example ["don:core
|
|
9105
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8738
9106
|
*/
|
|
8739
9107
|
custom_schema_fragments?: string[];
|
|
8740
9108
|
/**
|
|
@@ -8811,6 +9179,11 @@ export interface RevUsersGetResponse {
|
|
|
8811
9179
|
* Organization which the user is also authorized to access.
|
|
8812
9180
|
*/
|
|
8813
9181
|
export interface RevUsersListRequest {
|
|
9182
|
+
/**
|
|
9183
|
+
* Filters for Rev users with specified associations
|
|
9184
|
+
* (account/workspace).
|
|
9185
|
+
*/
|
|
9186
|
+
associations?: string[];
|
|
8814
9187
|
/** Filters for Rev users that were created by the specified user(s). */
|
|
8815
9188
|
created_by?: string[];
|
|
8816
9189
|
created_date?: DateTimeFilter;
|
|
@@ -8895,6 +9268,11 @@ export type RevUsersMergeResponse = object;
|
|
|
8895
9268
|
* Scans the list of Rev users.
|
|
8896
9269
|
*/
|
|
8897
9270
|
export interface RevUsersScanRequest {
|
|
9271
|
+
/**
|
|
9272
|
+
* Filters for Rev users with specified associations
|
|
9273
|
+
* (account/workspace).
|
|
9274
|
+
*/
|
|
9275
|
+
associations?: string[];
|
|
8898
9276
|
/** Filters for Rev users that were created by the specified user(s). */
|
|
8899
9277
|
created_by?: string[];
|
|
8900
9278
|
created_date?: DateTimeFilter;
|
|
@@ -8979,7 +9357,7 @@ export interface RevUsersUpdateRequestArtifacts {
|
|
|
8979
9357
|
export interface RevUsersUpdateRequestCustomSchemaFragments {
|
|
8980
9358
|
/**
|
|
8981
9359
|
* Sets the IDs to the provided schema fragment IDs.
|
|
8982
|
-
* @example ["don:core
|
|
9360
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
8983
9361
|
*/
|
|
8984
9362
|
set?: string[];
|
|
8985
9363
|
}
|
|
@@ -8990,6 +9368,8 @@ export interface RevUsersUpdateRequestCustomSchemaFragments {
|
|
|
8990
9368
|
export interface RevUsersUpdateResponse {
|
|
8991
9369
|
rev_user: RevUser;
|
|
8992
9370
|
}
|
|
9371
|
+
/** role-summary */
|
|
9372
|
+
export type RoleSummary = AtomBaseSummary;
|
|
8993
9373
|
/** saml-connection-fields-map */
|
|
8994
9374
|
export interface SamlConnectionFieldsMap {
|
|
8995
9375
|
/**
|
|
@@ -9944,6 +10324,14 @@ export interface SetWeeklyOrgSchedule {
|
|
|
9944
10324
|
*/
|
|
9945
10325
|
period_name: string;
|
|
9946
10326
|
}
|
|
10327
|
+
/**
|
|
10328
|
+
* shared-with-membership
|
|
10329
|
+
* Information about the role the member receives due to the share.
|
|
10330
|
+
*/
|
|
10331
|
+
export interface SharedWithMembership {
|
|
10332
|
+
member?: MemberSummary;
|
|
10333
|
+
role?: RoleSummary;
|
|
10334
|
+
}
|
|
9947
10335
|
/**
|
|
9948
10336
|
* shared-with-membership-filter
|
|
9949
10337
|
* Filter on target item based on intended audience.
|
|
@@ -11626,14 +12014,14 @@ export interface TimelineEntriesCreateRequestTimelineComment {
|
|
|
11626
12014
|
external_ref?: string;
|
|
11627
12015
|
/**
|
|
11628
12016
|
* The IDs of the previews of the links posted in the comment.
|
|
11629
|
-
* @example ["don:core
|
|
12017
|
+
* @example ["don:core:dvrv-us-1:devo/example:snap_widget/snap-widget-id"]
|
|
11630
12018
|
*/
|
|
11631
12019
|
link_previews?: string[];
|
|
11632
12020
|
/** Snap Kit Body of the comment. */
|
|
11633
12021
|
snap_kit_body?: TimelineSnapKitBody;
|
|
11634
12022
|
/**
|
|
11635
12023
|
* The snap widget body of the comment.
|
|
11636
|
-
* @example ["don:core
|
|
12024
|
+
* @example ["don:core:dvrv-us-1:devo/example:snap_widget/snap-widget-id"]
|
|
11637
12025
|
*/
|
|
11638
12026
|
snap_widget_body?: string[];
|
|
11639
12027
|
}
|
|
@@ -11654,7 +12042,7 @@ export interface TimelineEntriesCreateResponse {
|
|
|
11654
12042
|
export interface TimelineEntriesDeleteRequest {
|
|
11655
12043
|
/**
|
|
11656
12044
|
* The ID of the timeline entry to delete.
|
|
11657
|
-
* @example "don:core
|
|
12045
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
11658
12046
|
*/
|
|
11659
12047
|
id: string;
|
|
11660
12048
|
}
|
|
@@ -11677,7 +12065,7 @@ export interface TimelineEntriesGetRequest {
|
|
|
11677
12065
|
external_ref?: string;
|
|
11678
12066
|
/**
|
|
11679
12067
|
* The ID of the timeline entry to get.
|
|
11680
|
-
* @example "don:core
|
|
12068
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
11681
12069
|
*/
|
|
11682
12070
|
id: string;
|
|
11683
12071
|
}
|
|
@@ -11763,7 +12151,7 @@ export type TimelineEntriesUpdateRequest = TimelineEntriesUpdateRequestTimelineC
|
|
|
11763
12151
|
type: TimelineEntriesUpdateRequestType;
|
|
11764
12152
|
/**
|
|
11765
12153
|
* The ID of the timeline entry to update.
|
|
11766
|
-
* @example "don:core
|
|
12154
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
11767
12155
|
*/
|
|
11768
12156
|
id: string;
|
|
11769
12157
|
};
|
|
@@ -11816,19 +12204,19 @@ export interface TimelineEntriesUpdateRequestTimelineCommentLinkPreviews {
|
|
|
11816
12204
|
* Adds the provided link previews to the comment. A link preview
|
|
11817
12205
|
* cannot be added more than once, i.e. nothing is done if the link
|
|
11818
12206
|
* preview is already present. Mutually exclusive with `set`.
|
|
11819
|
-
* @example ["don:core
|
|
12207
|
+
* @example ["don:core:dvrv-us-1:devo/example:snap_widget/snap-widget-id"]
|
|
11820
12208
|
*/
|
|
11821
12209
|
add?: string[];
|
|
11822
12210
|
/**
|
|
11823
12211
|
* Removes the provided link previews from the comment. If a link
|
|
11824
12212
|
* preview is not present, then it's ignored. Mutually exclusive with
|
|
11825
12213
|
* `set`.
|
|
11826
|
-
* @example ["don:core
|
|
12214
|
+
* @example ["don:core:dvrv-us-1:devo/example:snap_widget/snap-widget-id"]
|
|
11827
12215
|
*/
|
|
11828
12216
|
remove?: string[];
|
|
11829
12217
|
/**
|
|
11830
12218
|
* Set the link previews to the provided IDs.
|
|
11831
|
-
* @example ["don:core
|
|
12219
|
+
* @example ["don:core:dvrv-us-1:devo/example:snap_widget/snap-widget-id"]
|
|
11832
12220
|
*/
|
|
11833
12221
|
set?: string[];
|
|
11834
12222
|
}
|
|
@@ -12332,6 +12720,47 @@ export interface UomsUpdateRequestDimensions {
|
|
|
12332
12720
|
export interface UomsUpdateResponse {
|
|
12333
12721
|
uom: Uom;
|
|
12334
12722
|
}
|
|
12723
|
+
/** update-command-action */
|
|
12724
|
+
export interface UpdateCommandAction {
|
|
12725
|
+
action_details?: UpdateCommandActionDetails;
|
|
12726
|
+
/**
|
|
12727
|
+
* IDs of the new artifact items
|
|
12728
|
+
* @example ["ARTIFACT-12345"]
|
|
12729
|
+
*/
|
|
12730
|
+
artifacts?: string[];
|
|
12731
|
+
/**
|
|
12732
|
+
* The raw code to execute, defined in the language specified by
|
|
12733
|
+
* executor
|
|
12734
|
+
*/
|
|
12735
|
+
code?: string;
|
|
12736
|
+
/** Executor specific config */
|
|
12737
|
+
executor_config?: object;
|
|
12738
|
+
/**
|
|
12739
|
+
* The message to populate in discussion box, when the command is
|
|
12740
|
+
* selected to execute.
|
|
12741
|
+
*/
|
|
12742
|
+
message?: string;
|
|
12743
|
+
/**
|
|
12744
|
+
* Function containing logic for the command. If function ID is
|
|
12745
|
+
* specified the executor config is ignored and command is executed by
|
|
12746
|
+
* functions.
|
|
12747
|
+
*/
|
|
12748
|
+
snap_in_function_id?: string;
|
|
12749
|
+
/** The template engine for resolving message. */
|
|
12750
|
+
template_type?: CommandActionTemplateType;
|
|
12751
|
+
}
|
|
12752
|
+
/** update-command-action-details */
|
|
12753
|
+
export interface UpdateCommandActionDetails {
|
|
12754
|
+
/** The payload to update the object in context upon command execution. */
|
|
12755
|
+
object_update_payload?: object;
|
|
12756
|
+
}
|
|
12757
|
+
/** update-command-surface */
|
|
12758
|
+
export interface UpdateCommandSurface {
|
|
12759
|
+
/** Objects types on which a command can be invoked */
|
|
12760
|
+
object_types?: CommandSurfaceObjectTypes[];
|
|
12761
|
+
/** Surfaces from where this command can be invoked. */
|
|
12762
|
+
surface?: CommandSurfaceSurface;
|
|
12763
|
+
}
|
|
12335
12764
|
/** update-impacted-customer-details */
|
|
12336
12765
|
export interface UpdateImpactedCustomerDetails {
|
|
12337
12766
|
/**
|
|
@@ -12648,7 +13077,7 @@ export interface WebhookEventRequest {
|
|
|
12648
13077
|
webhook_deleted?: EventWebhookDeleted;
|
|
12649
13078
|
/**
|
|
12650
13079
|
* ID of the webhook for the event.
|
|
12651
|
-
* @example "don:integration
|
|
13080
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
12652
13081
|
*/
|
|
12653
13082
|
webhook_id: string;
|
|
12654
13083
|
webhook_updated?: EventWebhookUpdated;
|
|
@@ -12791,7 +13220,7 @@ export interface WebhooksCreateResponse {
|
|
|
12791
13220
|
export interface WebhooksDeleteRequest {
|
|
12792
13221
|
/**
|
|
12793
13222
|
* ID for the webhook.
|
|
12794
|
-
* @example "don:integration
|
|
13223
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
12795
13224
|
*/
|
|
12796
13225
|
id: string;
|
|
12797
13226
|
}
|
|
@@ -12807,7 +13236,7 @@ export type WebhooksDeleteResponse = object;
|
|
|
12807
13236
|
export interface WebhooksFetchRequest {
|
|
12808
13237
|
/**
|
|
12809
13238
|
* The ID of the webhook to fetch the object for.
|
|
12810
|
-
* @example "don:integration
|
|
13239
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
12811
13240
|
*/
|
|
12812
13241
|
id: string;
|
|
12813
13242
|
/**
|
|
@@ -12828,7 +13257,7 @@ export type WebhooksFetchResponse = object;
|
|
|
12828
13257
|
export interface WebhooksGetRequest {
|
|
12829
13258
|
/**
|
|
12830
13259
|
* ID for the webhook.
|
|
12831
|
-
* @example "don:integration
|
|
13260
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
12832
13261
|
*/
|
|
12833
13262
|
id: string;
|
|
12834
13263
|
}
|
|
@@ -12868,7 +13297,7 @@ export interface WebhooksUpdateRequest {
|
|
|
12868
13297
|
headers?: WebhooksUpdateRequestHeaders;
|
|
12869
13298
|
/**
|
|
12870
13299
|
* ID for the webhook.
|
|
12871
|
-
* @example "don:integration
|
|
13300
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
12872
13301
|
*/
|
|
12873
13302
|
id: string;
|
|
12874
13303
|
/**
|
|
@@ -12962,7 +13391,7 @@ export type WorkBase = AtomBase & {
|
|
|
12962
13391
|
custom_fields?: object;
|
|
12963
13392
|
/**
|
|
12964
13393
|
* Custom schema fragments.
|
|
12965
|
-
* @example ["don:core
|
|
13394
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
12966
13395
|
*/
|
|
12967
13396
|
custom_schema_fragments?: string[];
|
|
12968
13397
|
/** The users that own the work. */
|
|
@@ -12973,7 +13402,7 @@ export type WorkBase = AtomBase & {
|
|
|
12973
13402
|
stage?: LegacyStage;
|
|
12974
13403
|
/**
|
|
12975
13404
|
* Stock schema fragment.
|
|
12976
|
-
* @example "don:core
|
|
13405
|
+
* @example "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
|
|
12977
13406
|
*/
|
|
12978
13407
|
stock_schema_fragment?: string;
|
|
12979
13408
|
/** Subtype corresponding to the custom type fragment. */
|
|
@@ -13044,7 +13473,7 @@ export type WorksCreateRequest = (WorksCreateRequestIssue | WorksCreateRequestOp
|
|
|
13044
13473
|
custom_fields?: object;
|
|
13045
13474
|
/**
|
|
13046
13475
|
* The custom schema fragments to use.
|
|
13047
|
-
* @example ["don:core
|
|
13476
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
13048
13477
|
*/
|
|
13049
13478
|
custom_schema_fragments?: string[];
|
|
13050
13479
|
/**
|
|
@@ -13430,7 +13859,7 @@ export type WorksUpdateRequest = (Empty | WorksUpdateRequestIssue | WorksUpdateR
|
|
|
13430
13859
|
custom_fields?: object;
|
|
13431
13860
|
/**
|
|
13432
13861
|
* The custom schema fragments to use.
|
|
13433
|
-
* @example ["don:core
|
|
13862
|
+
* @example ["don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"]
|
|
13434
13863
|
*/
|
|
13435
13864
|
custom_schema_fragments?: string[];
|
|
13436
13865
|
/**
|
|
@@ -14450,6 +14879,90 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14450
14879
|
* @secure
|
|
14451
14880
|
*/
|
|
14452
14881
|
codeChangesUpdate: (data: CodeChangesUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<CodeChangesUpdateResponse, any>>;
|
|
14882
|
+
/**
|
|
14883
|
+
* @description Creates a command.
|
|
14884
|
+
*
|
|
14885
|
+
* @tags command
|
|
14886
|
+
* @name CommandsCreate
|
|
14887
|
+
* @request POST:/commands.create
|
|
14888
|
+
* @secure
|
|
14889
|
+
*/
|
|
14890
|
+
commandsCreate: (data: CommandCreateRequest, params?: RequestParams) => Promise<AxiosResponse<CommandCreateResponse, any>>;
|
|
14891
|
+
/**
|
|
14892
|
+
* @description Gets a command.
|
|
14893
|
+
*
|
|
14894
|
+
* @tags command
|
|
14895
|
+
* @name CommandsGet
|
|
14896
|
+
* @request GET:/commands.get
|
|
14897
|
+
* @secure
|
|
14898
|
+
*/
|
|
14899
|
+
commandsGet: (query: {
|
|
14900
|
+
/** The command's ID. */
|
|
14901
|
+
id: string;
|
|
14902
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CommandGetResponse, any>>;
|
|
14903
|
+
/**
|
|
14904
|
+
* @description Gets a command.
|
|
14905
|
+
*
|
|
14906
|
+
* @tags command
|
|
14907
|
+
* @name CommandsGetPost
|
|
14908
|
+
* @request POST:/commands.get
|
|
14909
|
+
* @secure
|
|
14910
|
+
*/
|
|
14911
|
+
commandsGetPost: (data: CommandGetRequest, params?: RequestParams) => Promise<AxiosResponse<CommandGetResponse, any>>;
|
|
14912
|
+
/**
|
|
14913
|
+
* @description Lists commands for a Dev organization.
|
|
14914
|
+
*
|
|
14915
|
+
* @tags command
|
|
14916
|
+
* @name CommandsList
|
|
14917
|
+
* @request GET:/commands.list
|
|
14918
|
+
* @secure
|
|
14919
|
+
*/
|
|
14920
|
+
commandsList: (query?: {
|
|
14921
|
+
/**
|
|
14922
|
+
* The cursor to resume iteration from. If not provided, then iteration
|
|
14923
|
+
* starts from the beginning.
|
|
14924
|
+
*/
|
|
14925
|
+
cursor?: string;
|
|
14926
|
+
/** Filtering based on executor_type. */
|
|
14927
|
+
executor_type?: CommandActionExecutorType[];
|
|
14928
|
+
/**
|
|
14929
|
+
* The maximum number of commands to return per page. The default is
|
|
14930
|
+
* '50'.
|
|
14931
|
+
* @format int32
|
|
14932
|
+
*/
|
|
14933
|
+
limit?: number;
|
|
14934
|
+
/**
|
|
14935
|
+
* The iteration mode to use, otherwise if not set, then "after" is
|
|
14936
|
+
* used.
|
|
14937
|
+
*/
|
|
14938
|
+
mode?: ListMode;
|
|
14939
|
+
/** Filter commands based on namespace. */
|
|
14940
|
+
namespace?: string[];
|
|
14941
|
+
/** List of fields to sort the commands items by and how to sort them. */
|
|
14942
|
+
sort_by?: string[];
|
|
14943
|
+
/** ID of the object where command is invoked (work/part/conversation). */
|
|
14944
|
+
source_object_id?: string;
|
|
14945
|
+
/** Filter commands based on status. */
|
|
14946
|
+
status?: CommandStatus[];
|
|
14947
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CommandsListResponse, any>>;
|
|
14948
|
+
/**
|
|
14949
|
+
* @description Lists commands for a Dev organization.
|
|
14950
|
+
*
|
|
14951
|
+
* @tags command
|
|
14952
|
+
* @name CommandsListPost
|
|
14953
|
+
* @request POST:/commands.list
|
|
14954
|
+
* @secure
|
|
14955
|
+
*/
|
|
14956
|
+
commandsListPost: (data: CommandsListRequest, params?: RequestParams) => Promise<AxiosResponse<CommandsListResponse, any>>;
|
|
14957
|
+
/**
|
|
14958
|
+
* @description Updates a command.
|
|
14959
|
+
*
|
|
14960
|
+
* @tags command
|
|
14961
|
+
* @name CommandsUpdate
|
|
14962
|
+
* @request POST:/commands.update
|
|
14963
|
+
* @secure
|
|
14964
|
+
*/
|
|
14965
|
+
commandsUpdate: (data: CommandUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<CommandUpdateResponse, any>>;
|
|
14453
14966
|
/**
|
|
14454
14967
|
* @description Create the content template.
|
|
14455
14968
|
*
|
|
@@ -16609,6 +17122,54 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
16609
17122
|
* @secure
|
|
16610
17123
|
*/
|
|
16611
17124
|
updateQuestionAnswer: (data: QuestionAnswersUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<QuestionAnswersUpdateResponse, any>>;
|
|
17125
|
+
/**
|
|
17126
|
+
* @description Lists the reactors for an object.
|
|
17127
|
+
*
|
|
17128
|
+
* @tags timeline-entries, works
|
|
17129
|
+
* @name ReactionsList
|
|
17130
|
+
* @request GET:/reactions.list
|
|
17131
|
+
* @secure
|
|
17132
|
+
*/
|
|
17133
|
+
reactionsList: (query: {
|
|
17134
|
+
/**
|
|
17135
|
+
* The emoji to list the reactors for. This can be the short name of the
|
|
17136
|
+
* emoji (e.g. "joy"), or the code point (e.g. "1f602").
|
|
17137
|
+
*/
|
|
17138
|
+
emoji: string;
|
|
17139
|
+
/**
|
|
17140
|
+
* The ID of the object to list reactors for.
|
|
17141
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
17142
|
+
*/
|
|
17143
|
+
object: string;
|
|
17144
|
+
/**
|
|
17145
|
+
* The cursor to resume iteration from, otherwise if not provided, then
|
|
17146
|
+
* iteration starts from the beginning.
|
|
17147
|
+
*/
|
|
17148
|
+
cursor?: string;
|
|
17149
|
+
/**
|
|
17150
|
+
* The maximum number of reactors to return.
|
|
17151
|
+
* @format int32
|
|
17152
|
+
*/
|
|
17153
|
+
limit?: number;
|
|
17154
|
+
}, params?: RequestParams) => Promise<AxiosResponse<ReactionsListResponse, any>>;
|
|
17155
|
+
/**
|
|
17156
|
+
* @description Lists the reactors for an object.
|
|
17157
|
+
*
|
|
17158
|
+
* @tags timeline-entries, works
|
|
17159
|
+
* @name ReactionsListPost
|
|
17160
|
+
* @request POST:/reactions.list
|
|
17161
|
+
* @secure
|
|
17162
|
+
*/
|
|
17163
|
+
reactionsListPost: (data: ReactionsListRequest, params?: RequestParams) => Promise<AxiosResponse<ReactionsListResponse, any>>;
|
|
17164
|
+
/**
|
|
17165
|
+
* @description Updates a reaction for an object.
|
|
17166
|
+
*
|
|
17167
|
+
* @tags timeline-entries, works
|
|
17168
|
+
* @name ReactionsUpdate
|
|
17169
|
+
* @request POST:/reactions.update
|
|
17170
|
+
* @secure
|
|
17171
|
+
*/
|
|
17172
|
+
reactionsUpdate: (data: ReactionsUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<object, any>>;
|
|
16612
17173
|
/**
|
|
16613
17174
|
* @description Returns a response for the chat conversation.
|
|
16614
17175
|
*
|
|
@@ -16769,6 +17330,43 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
16769
17330
|
* @secure
|
|
16770
17331
|
*/
|
|
16771
17332
|
revOrgsUpdate: (data: RevOrgsUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<RevOrgsUpdateResponse, any>>;
|
|
17333
|
+
/**
|
|
17334
|
+
* @description Returns a list of associations on a Rev user.
|
|
17335
|
+
*
|
|
17336
|
+
* @tags rev-users
|
|
17337
|
+
* @name RevUsersAssociationsList
|
|
17338
|
+
* @request GET:/rev-users.associations.list
|
|
17339
|
+
* @secure
|
|
17340
|
+
*/
|
|
17341
|
+
revUsersAssociationsList: (query: {
|
|
17342
|
+
/** The ID of Rev user to list all associations of. */
|
|
17343
|
+
rev_user_id: string;
|
|
17344
|
+
/**
|
|
17345
|
+
* The cursor to resume iteration from. If not provided, then iteration
|
|
17346
|
+
* starts from the beginning.
|
|
17347
|
+
*/
|
|
17348
|
+
cursor?: string;
|
|
17349
|
+
/**
|
|
17350
|
+
* The maximum number of Associations to return per page. The default is
|
|
17351
|
+
* '50'.
|
|
17352
|
+
* @format int32
|
|
17353
|
+
*/
|
|
17354
|
+
limit?: number;
|
|
17355
|
+
/**
|
|
17356
|
+
* The iteration mode to use, otherwise if not set, then "after" is
|
|
17357
|
+
* used.
|
|
17358
|
+
*/
|
|
17359
|
+
mode?: ListMode;
|
|
17360
|
+
}, params?: RequestParams) => Promise<AxiosResponse<RevUsersAssociationsListResponse, any>>;
|
|
17361
|
+
/**
|
|
17362
|
+
* @description Returns a list of associations on a Rev user.
|
|
17363
|
+
*
|
|
17364
|
+
* @tags rev-users
|
|
17365
|
+
* @name RevUsersAssociationsListPost
|
|
17366
|
+
* @request POST:/rev-users.associations.list
|
|
17367
|
+
* @secure
|
|
17368
|
+
*/
|
|
17369
|
+
revUsersAssociationsListPost: (data: RevUsersAssociationsListRequest, params?: RequestParams) => Promise<AxiosResponse<RevUsersAssociationsListResponse, any>>;
|
|
16772
17370
|
/**
|
|
16773
17371
|
* @description Creates a Rev user for a Rev organization. Rev user can be a customer or a lead of an organization.
|
|
16774
17372
|
*
|
|
@@ -16835,6 +17433,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
16835
17433
|
* @secure
|
|
16836
17434
|
*/
|
|
16837
17435
|
revUsersList: (query?: {
|
|
17436
|
+
/**
|
|
17437
|
+
* Filters for Rev users with specified associations
|
|
17438
|
+
* (account/workspace).
|
|
17439
|
+
*/
|
|
17440
|
+
associations?: string[];
|
|
16838
17441
|
/** Filters for Rev users that were created by the specified user(s). */
|
|
16839
17442
|
created_by?: string[];
|
|
16840
17443
|
/**
|
|
@@ -16934,6 +17537,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
16934
17537
|
* @secure
|
|
16935
17538
|
*/
|
|
16936
17539
|
revUsersScan: (query?: {
|
|
17540
|
+
/**
|
|
17541
|
+
* Filters for Rev users with specified associations
|
|
17542
|
+
* (account/workspace).
|
|
17543
|
+
*/
|
|
17544
|
+
associations?: string[];
|
|
16937
17545
|
/** Filters for Rev users that were created by the specified user(s). */
|
|
16938
17546
|
created_by?: string[];
|
|
16939
17547
|
/**
|
|
@@ -18020,7 +18628,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18020
18628
|
timelineEntriesGet: (query: {
|
|
18021
18629
|
/**
|
|
18022
18630
|
* The ID of the timeline entry to get.
|
|
18023
|
-
* @example "don:core
|
|
18631
|
+
* @example "don:core:dvrv-us-1:devo/example:ticket/123:comment/comment-id"
|
|
18024
18632
|
*/
|
|
18025
18633
|
id: string;
|
|
18026
18634
|
/**
|
|
@@ -18312,7 +18920,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18312
18920
|
webhooksGet: (query: {
|
|
18313
18921
|
/**
|
|
18314
18922
|
* ID for the webhook.
|
|
18315
|
-
* @example "don:integration
|
|
18923
|
+
* @example "don:integration:dvrv-us-1:devo/example:webhook/webhook-id"
|
|
18316
18924
|
*/
|
|
18317
18925
|
id: string;
|
|
18318
18926
|
}, params?: RequestParams) => Promise<AxiosResponse<WebhooksGetResponse, any>>;
|
|
@@ -18353,7 +18961,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18353
18961
|
*/
|
|
18354
18962
|
webhooksUpdate: (data: WebhooksUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<WebhooksUpdateResponse, any>>;
|
|
18355
18963
|
/**
|
|
18356
|
-
* @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://
|
|
18964
|
+
* @description Creates new work ([issue](https://devrev.ai/docs/product/build), [ticket](https://devrev.ai/docs/product/support)) item. [task](https://devrev.ai/docs/product/tasks) and opportunity work types are supported in the beta version.
|
|
18357
18965
|
*
|
|
18358
18966
|
* @tags works
|
|
18359
18967
|
* @name WorksCreate
|