@devrev/typescript-sdk 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/** account */
|
|
2
|
+
export type Account = OrgBase & {
|
|
3
|
+
/** Description of the corresponding Account. */
|
|
4
|
+
description?: string;
|
|
5
|
+
/** Company's domain names. Example - 'devrev.ai'. */
|
|
6
|
+
domains?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* External refs are unique identifiers from your customer system of
|
|
9
|
+
* records, stored as a list.
|
|
10
|
+
*/
|
|
11
|
+
external_refs: string[];
|
|
12
|
+
/** List of Dev user IDs owning this Account. */
|
|
13
|
+
owned_by: UserSummary[];
|
|
14
|
+
/** The Tier of the corresponding Account. */
|
|
15
|
+
tier?: string;
|
|
16
|
+
};
|
|
1
17
|
/** artifact-summary */
|
|
2
18
|
export type ArtifactSummary = AtomBaseSummary;
|
|
3
19
|
/**
|
|
@@ -219,6 +235,7 @@ export declare enum AuthTokenRequestedTokenType {
|
|
|
219
235
|
UrnDevrevParamsOauthTokenTypeAat = "urn:devrev:params:oauth:token-type:aat",
|
|
220
236
|
UrnDevrevParamsOauthTokenTypeAatPublic = "urn:devrev:params:oauth:token-type:aat:public",
|
|
221
237
|
UrnDevrevParamsOauthTokenTypeDev = "urn:devrev:params:oauth:token-type:dev",
|
|
238
|
+
UrnDevrevParamsOauthTokenTypeGat = "urn:devrev:params:oauth:token-type:gat",
|
|
222
239
|
UrnDevrevParamsOauthTokenTypePat = "urn:devrev:params:oauth:token-type:pat",
|
|
223
240
|
UrnDevrevParamsOauthTokenTypePatActAs = "urn:devrev:params:oauth:token-type:pat:act-as",
|
|
224
241
|
UrnDevrevParamsOauthTokenTypeRat = "urn:devrev:params:oauth:token-type:rat",
|
|
@@ -226,6 +243,7 @@ export declare enum AuthTokenRequestedTokenType {
|
|
|
226
243
|
UrnDevrevParamsOauthTokenTypeSession = "urn:devrev:params:oauth:token-type:session",
|
|
227
244
|
UrnDevrevParamsOauthTokenTypeSessionDev0 = "urn:devrev:params:oauth:token-type:session:dev0",
|
|
228
245
|
UrnDevrevParamsOauthTokenTypeSessionOnetime = "urn:devrev:params:oauth:token-type:session:onetime",
|
|
246
|
+
UrnDevrevParamsOauthTokenTypeSuper = "urn:devrev:params:oauth:token-type:super",
|
|
229
247
|
UrnDevrevParamsOauthTokenTypeSys = "urn:devrev:params:oauth:token-type:sys",
|
|
230
248
|
UrnIetfParamsOauthTokenTypeJwt = "urn:ietf:params:oauth:token-type:jwt"
|
|
231
249
|
}
|
|
@@ -269,8 +287,10 @@ export interface AuthTokensCreateRequest {
|
|
|
269
287
|
*/
|
|
270
288
|
client_id?: string;
|
|
271
289
|
/**
|
|
272
|
-
* The expected validity lifetime of the token in number of days.
|
|
273
|
-
*
|
|
290
|
+
* The expected validity lifetime of the token in number of days. In
|
|
291
|
+
* practice, the value should be based on the usage of the token.
|
|
292
|
+
* @min 0
|
|
293
|
+
* @max 4294967295
|
|
274
294
|
*/
|
|
275
295
|
expires_in?: number;
|
|
276
296
|
/** Specifies the process of obtaining a token. */
|
|
@@ -390,10 +410,18 @@ export interface AuthTokensListResponse {
|
|
|
390
410
|
* Carries Rev org info.
|
|
391
411
|
*/
|
|
392
412
|
export interface AuthTokensOrgTraits {
|
|
413
|
+
/** Application-defined custom fields of the Rev org. */
|
|
414
|
+
custom_fields?: object;
|
|
415
|
+
/** The description of the Rev org. */
|
|
416
|
+
description?: string;
|
|
393
417
|
/** The display name of the Rev org. */
|
|
394
418
|
display_name?: string;
|
|
395
419
|
/** The domain of the Rev org. */
|
|
396
420
|
domain?: string;
|
|
421
|
+
/** Phone numbers of the Rev org. */
|
|
422
|
+
phone_numbers?: string[];
|
|
423
|
+
/** The tier of the Rev org. */
|
|
424
|
+
tier?: string;
|
|
397
425
|
}
|
|
398
426
|
/**
|
|
399
427
|
* auth-tokens-rev-info
|
|
@@ -443,13 +471,18 @@ export interface AuthTokensUpdateResponse {
|
|
|
443
471
|
* Carries Rev user info.
|
|
444
472
|
*/
|
|
445
473
|
export interface AuthTokensUserTraits {
|
|
446
|
-
/** Application-defined custom fields. */
|
|
474
|
+
/** Application-defined custom fields of the Rev user. */
|
|
447
475
|
custom_fields?: object;
|
|
476
|
+
/** The description of the Rev user. */
|
|
477
|
+
description?: string;
|
|
448
478
|
/** The display name of the Rev user. */
|
|
449
479
|
display_name?: string;
|
|
450
480
|
/** The email address of the Rev user. */
|
|
451
481
|
email?: string;
|
|
452
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* The full name of the Rev user.
|
|
484
|
+
* @deprecated
|
|
485
|
+
*/
|
|
453
486
|
full_name?: string;
|
|
454
487
|
/** Phone numbers of the Rev user. */
|
|
455
488
|
phone_numbers?: string[];
|
|
@@ -458,6 +491,37 @@ export interface AuthTokensUserTraits {
|
|
|
458
491
|
export type Capability = PartBase;
|
|
459
492
|
/** capability-summary */
|
|
460
493
|
export type CapabilitySummary = PartBaseSummary;
|
|
494
|
+
/** conversation */
|
|
495
|
+
export type Conversation = AtomBase & {
|
|
496
|
+
/** Description of the conversation object. */
|
|
497
|
+
description?: string;
|
|
498
|
+
group?: GroupSummary;
|
|
499
|
+
/** The users in the conversation. */
|
|
500
|
+
members: UserSummary[];
|
|
501
|
+
/** The latest messages on the conversation. */
|
|
502
|
+
messages?: TimelineEntry[];
|
|
503
|
+
/** Metadata on conversation. */
|
|
504
|
+
metadata?: ConversationMetadata;
|
|
505
|
+
/** Owner IDs for the conversation. */
|
|
506
|
+
owned_by?: UserSummary[];
|
|
507
|
+
/** Describes the current stage of a work item. */
|
|
508
|
+
stage?: LegacyStage;
|
|
509
|
+
/** Tags associated with the object. */
|
|
510
|
+
tags?: TagWithValue[];
|
|
511
|
+
/** Title of the conversation object. */
|
|
512
|
+
title?: string;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* conversation-metadata
|
|
516
|
+
* Metadata on conversation.
|
|
517
|
+
*/
|
|
518
|
+
export interface ConversationMetadata {
|
|
519
|
+
/**
|
|
520
|
+
* URL from which the conversation was created if the conversation was
|
|
521
|
+
* created via PLuG.
|
|
522
|
+
*/
|
|
523
|
+
url_context?: string;
|
|
524
|
+
}
|
|
461
525
|
/**
|
|
462
526
|
* date-filter
|
|
463
527
|
* Provides ways to specify date ranges on objects.
|
|
@@ -665,6 +729,13 @@ export type DevUser = UserBase & {
|
|
|
665
729
|
/** IDs of the Dev User outside the DevRev SOR. */
|
|
666
730
|
external_identities?: ExternalIdentity[];
|
|
667
731
|
};
|
|
732
|
+
/** dev-user-external-identity-filter */
|
|
733
|
+
export interface DevUserExternalIdentityFilter {
|
|
734
|
+
/** Unique ID of the user in the external source. */
|
|
735
|
+
id?: string;
|
|
736
|
+
/** Issuer of the external identity of the user. */
|
|
737
|
+
issuer?: string;
|
|
738
|
+
}
|
|
668
739
|
/** dev-user-summary */
|
|
669
740
|
export type DevUserSummary = UserBaseSummary;
|
|
670
741
|
/**
|
|
@@ -694,6 +765,8 @@ export interface DevUsersListRequest {
|
|
|
694
765
|
cursor?: string;
|
|
695
766
|
/** Filters Dev users based on email addresses. */
|
|
696
767
|
email?: string[];
|
|
768
|
+
/** Filters Dev users based on external identity. */
|
|
769
|
+
external_identity?: DevUserExternalIdentityFilter[];
|
|
697
770
|
/**
|
|
698
771
|
* The maximum number of Dev users to return. The default is '50'.
|
|
699
772
|
* @format int32
|
|
@@ -873,6 +946,48 @@ export declare enum ErrorUnauthorizedType {
|
|
|
873
946
|
}
|
|
874
947
|
/** error-unauthorized-unauthenticated */
|
|
875
948
|
export type ErrorUnauthorizedUnauthenticated = object;
|
|
949
|
+
/** event-account-created */
|
|
950
|
+
export interface EventAccountCreated {
|
|
951
|
+
account: Account;
|
|
952
|
+
}
|
|
953
|
+
/** event-account-deleted */
|
|
954
|
+
export interface EventAccountDeleted {
|
|
955
|
+
/**
|
|
956
|
+
* The ID of the account that was deleted.
|
|
957
|
+
* @example "ACC-12345"
|
|
958
|
+
*/
|
|
959
|
+
id: string;
|
|
960
|
+
}
|
|
961
|
+
/** event-account-updated */
|
|
962
|
+
export interface EventAccountUpdated {
|
|
963
|
+
account: Account;
|
|
964
|
+
}
|
|
965
|
+
/** event-conversation-created */
|
|
966
|
+
export interface EventConversationCreated {
|
|
967
|
+
conversation: Conversation;
|
|
968
|
+
}
|
|
969
|
+
/** event-conversation-deleted */
|
|
970
|
+
export interface EventConversationDeleted {
|
|
971
|
+
/** The ID of the conversation that was deleted. */
|
|
972
|
+
id: string;
|
|
973
|
+
}
|
|
974
|
+
/** event-conversation-updated */
|
|
975
|
+
export interface EventConversationUpdated {
|
|
976
|
+
conversation: Conversation;
|
|
977
|
+
}
|
|
978
|
+
/** event-dev-user-created */
|
|
979
|
+
export interface EventDevUserCreated {
|
|
980
|
+
dev_user: DevUser;
|
|
981
|
+
}
|
|
982
|
+
/** event-dev-user-deleted */
|
|
983
|
+
export interface EventDevUserDeleted {
|
|
984
|
+
/** The ID of the Dev user that was deleted. */
|
|
985
|
+
id: string;
|
|
986
|
+
}
|
|
987
|
+
/** event-dev-user-updated */
|
|
988
|
+
export interface EventDevUserUpdated {
|
|
989
|
+
dev_user: DevUser;
|
|
990
|
+
}
|
|
876
991
|
/** event-part-created */
|
|
877
992
|
export interface EventPartCreated {
|
|
878
993
|
part: Part;
|
|
@@ -1546,6 +1661,11 @@ export declare enum SlaSummaryStage {
|
|
|
1546
1661
|
}
|
|
1547
1662
|
/** sla-tracker */
|
|
1548
1663
|
export type SlaTracker = AtomBase;
|
|
1664
|
+
/** snap-widget */
|
|
1665
|
+
export interface SnapWidget {
|
|
1666
|
+
type: SnapWidgetType;
|
|
1667
|
+
}
|
|
1668
|
+
export type SnapWidgetType = string;
|
|
1549
1669
|
/**
|
|
1550
1670
|
* stage-filter
|
|
1551
1671
|
* The filter for stages.
|
|
@@ -1755,6 +1875,8 @@ export type Ticket = WorkBase & {
|
|
|
1755
1875
|
rev_org?: OrgSummary;
|
|
1756
1876
|
/** Severity of the ticket. */
|
|
1757
1877
|
severity?: TicketSeverity;
|
|
1878
|
+
/** Source channel of the ticket. */
|
|
1879
|
+
source_channel?: string;
|
|
1758
1880
|
};
|
|
1759
1881
|
/** Severity of the ticket. */
|
|
1760
1882
|
export declare enum TicketSeverity {
|
|
@@ -1776,10 +1898,13 @@ export type TimelineComment = TimelineEntryBase & {
|
|
|
1776
1898
|
body_type?: TimelineCommentBodyType;
|
|
1777
1899
|
/** Snap Kit Body of the comment. */
|
|
1778
1900
|
snap_kit_body?: TimelineSnapKitBody;
|
|
1901
|
+
/** The snap widget body of the comment. */
|
|
1902
|
+
snap_widget_body?: SnapWidget[];
|
|
1779
1903
|
};
|
|
1780
1904
|
/** The type of the body to use for the comment. */
|
|
1781
1905
|
export declare enum TimelineCommentBodyType {
|
|
1782
1906
|
SnapKit = "snap_kit",
|
|
1907
|
+
SnapWidget = "snap_widget",
|
|
1783
1908
|
Text = "text"
|
|
1784
1909
|
}
|
|
1785
1910
|
/**
|
|
@@ -1994,6 +2119,8 @@ export type TimelineEntry = TimelineComment & {
|
|
|
1994
2119
|
export type TimelineEntryBase = AtomBase & {
|
|
1995
2120
|
/** The object that the Timeline entry belongs to. */
|
|
1996
2121
|
object: string;
|
|
2122
|
+
/** The display ID of the object that the Timeline entry belongs to. */
|
|
2123
|
+
object_display_id: string;
|
|
1997
2124
|
/** The type of object that the Timeline entry belongs to. */
|
|
1998
2125
|
object_type?: TimelineEntryObjectType;
|
|
1999
2126
|
/**
|
|
@@ -2111,6 +2238,15 @@ export type Webhook = AtomBase & {
|
|
|
2111
2238
|
};
|
|
2112
2239
|
/** webhook-event-request */
|
|
2113
2240
|
export interface WebhookEventRequest {
|
|
2241
|
+
account_created?: EventAccountCreated;
|
|
2242
|
+
account_deleted?: EventAccountDeleted;
|
|
2243
|
+
account_updated?: EventAccountUpdated;
|
|
2244
|
+
conversation_created?: EventConversationCreated;
|
|
2245
|
+
conversation_deleted?: EventConversationDeleted;
|
|
2246
|
+
conversation_updated?: EventConversationUpdated;
|
|
2247
|
+
dev_user_created?: EventDevUserCreated;
|
|
2248
|
+
dev_user_deleted?: EventDevUserDeleted;
|
|
2249
|
+
dev_user_updated?: EventDevUserUpdated;
|
|
2114
2250
|
/** The event's ID. */
|
|
2115
2251
|
id: string;
|
|
2116
2252
|
part_created?: EventPartCreated;
|
|
@@ -2166,6 +2302,15 @@ export interface WebhookEventResponse {
|
|
|
2166
2302
|
}
|
|
2167
2303
|
/** The event types that the webhook will receive. */
|
|
2168
2304
|
export declare enum WebhookEventType {
|
|
2305
|
+
AccountCreated = "account_created",
|
|
2306
|
+
AccountDeleted = "account_deleted",
|
|
2307
|
+
AccountUpdated = "account_updated",
|
|
2308
|
+
ConversationCreated = "conversation_created",
|
|
2309
|
+
ConversationDeleted = "conversation_deleted",
|
|
2310
|
+
ConversationUpdated = "conversation_updated",
|
|
2311
|
+
DevUserCreated = "dev_user_created",
|
|
2312
|
+
DevUserDeleted = "dev_user_deleted",
|
|
2313
|
+
DevUserUpdated = "dev_user_updated",
|
|
2169
2314
|
PartCreated = "part_created",
|
|
2170
2315
|
PartDeleted = "part_deleted",
|
|
2171
2316
|
PartUpdated = "part_updated",
|
|
@@ -2419,6 +2564,11 @@ export interface WorksCreateRequestIssue {
|
|
|
2419
2564
|
developed_with?: string[];
|
|
2420
2565
|
/** Priority of the work based upon impact and criticality. */
|
|
2421
2566
|
priority?: IssuePriority;
|
|
2567
|
+
/**
|
|
2568
|
+
* Priority enum id of the work based upon impact and criticality.
|
|
2569
|
+
* @format int64
|
|
2570
|
+
*/
|
|
2571
|
+
priority_v2?: number;
|
|
2422
2572
|
/** The sprint that the issue belongs to. */
|
|
2423
2573
|
sprint?: string;
|
|
2424
2574
|
}
|
|
@@ -2502,8 +2652,15 @@ export interface WorksExportResponse {
|
|
|
2502
2652
|
}
|
|
2503
2653
|
/** works-filter-issue */
|
|
2504
2654
|
export interface WorksFilterIssue {
|
|
2655
|
+
/**
|
|
2656
|
+
* Filters for issues with any of the provided Accounts.
|
|
2657
|
+
* @example ["ACC-12345"]
|
|
2658
|
+
*/
|
|
2659
|
+
accounts?: string[];
|
|
2505
2660
|
/** Filters for issues with any of the provided priorities. */
|
|
2506
2661
|
priority?: IssuePriority[];
|
|
2662
|
+
/** Filters for issues with any of the provided priority enum ids. */
|
|
2663
|
+
priority_v2?: number[];
|
|
2507
2664
|
/**
|
|
2508
2665
|
* Filters for issues with any of the provided Rev organizations.
|
|
2509
2666
|
* @example ["REV-AbCdEfGh"]
|
|
@@ -2634,6 +2791,7 @@ export type WorksUpdateRequest = (Empty | WorksUpdateRequestIssue | WorksUpdateR
|
|
|
2634
2791
|
reported_by?: WorksUpdateRequestReportedBy;
|
|
2635
2792
|
/** Updates an object's stage. */
|
|
2636
2793
|
stage?: StageUpdate;
|
|
2794
|
+
staged_info?: WorksUpdateRequestStagedInfoStagedInfoUpdate;
|
|
2637
2795
|
tags?: WorksUpdateRequestTags;
|
|
2638
2796
|
/**
|
|
2639
2797
|
* Updates the timestamp for when the work is expected to be complete.
|
|
@@ -2658,6 +2816,11 @@ export interface WorksUpdateRequestIssue {
|
|
|
2658
2816
|
developed_with?: WorksUpdateRequestIssueDevelopedWith;
|
|
2659
2817
|
/** Priority of the work based upon impact and criticality. */
|
|
2660
2818
|
priority?: IssuePriority;
|
|
2819
|
+
/**
|
|
2820
|
+
* Priority enum id of the work based upon impact and criticality.
|
|
2821
|
+
* @format int64
|
|
2822
|
+
*/
|
|
2823
|
+
priority_v2?: number;
|
|
2661
2824
|
/** Updates the sprint that the issue belongs to. */
|
|
2662
2825
|
sprint?: string | null;
|
|
2663
2826
|
}
|
|
@@ -2687,6 +2850,11 @@ export interface WorksUpdateRequestReportedBy {
|
|
|
2687
2850
|
*/
|
|
2688
2851
|
set?: string[];
|
|
2689
2852
|
}
|
|
2853
|
+
/** works-update-request-staged-info-staged-info-update */
|
|
2854
|
+
export interface WorksUpdateRequestStagedInfoStagedInfoUpdate {
|
|
2855
|
+
/** Updates the unresolved fields of the staged work. */
|
|
2856
|
+
unresolved_fields: string[];
|
|
2857
|
+
}
|
|
2690
2858
|
/** works-update-request-tags */
|
|
2691
2859
|
export interface WorksUpdateRequestTags {
|
|
2692
2860
|
/** Sets the provided tags on the work item. */
|
|
@@ -2694,8 +2862,8 @@ export interface WorksUpdateRequestTags {
|
|
|
2694
2862
|
}
|
|
2695
2863
|
/** works-update-request-ticket */
|
|
2696
2864
|
export interface WorksUpdateRequestTicket {
|
|
2697
|
-
/**
|
|
2698
|
-
group?: string;
|
|
2865
|
+
/** Updates the group that the ticket is associated with. */
|
|
2866
|
+
group?: string | null;
|
|
2699
2867
|
/** Updates whether the ticket is spam. */
|
|
2700
2868
|
is_spam?: boolean;
|
|
2701
2869
|
/**
|
|
@@ -2998,6 +3166,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2998
3166
|
cursor?: string;
|
|
2999
3167
|
/** Filters Dev users based on email addresses. */
|
|
3000
3168
|
email?: string[];
|
|
3169
|
+
/** Unique ID of the user in the external source. */
|
|
3170
|
+
'external_identity.id'?: string;
|
|
3171
|
+
/** Issuer of the external identity of the user. */
|
|
3172
|
+
'external_identity.issuer'?: string;
|
|
3001
3173
|
/**
|
|
3002
3174
|
* The maximum number of Dev users to return. The default is '50'.
|
|
3003
3175
|
* @format int32
|
|
@@ -3576,8 +3748,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3576
3748
|
* @format int32
|
|
3577
3749
|
*/
|
|
3578
3750
|
first?: number;
|
|
3751
|
+
/**
|
|
3752
|
+
* Filters for issues with any of the provided Accounts.
|
|
3753
|
+
* @example ["ACC-12345"]
|
|
3754
|
+
*/
|
|
3755
|
+
'issue.accounts'?: string[];
|
|
3579
3756
|
/** Filters for issues with any of the provided priorities. */
|
|
3580
3757
|
'issue.priority'?: IssuePriority[];
|
|
3758
|
+
/** Filters for issues with any of the provided priority enum ids. */
|
|
3759
|
+
'issue.priority_v2'?: number[];
|
|
3581
3760
|
/**
|
|
3582
3761
|
* Filters for issues with any of the provided Rev organizations.
|
|
3583
3762
|
* @example ["REV-AbCdEfGh"]
|
|
@@ -3673,8 +3852,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
3673
3852
|
* starts from the beginning.
|
|
3674
3853
|
*/
|
|
3675
3854
|
cursor?: string;
|
|
3855
|
+
/**
|
|
3856
|
+
* Filters for issues with any of the provided Accounts.
|
|
3857
|
+
* @example ["ACC-12345"]
|
|
3858
|
+
*/
|
|
3859
|
+
'issue.accounts'?: string[];
|
|
3676
3860
|
/** Filters for issues with any of the provided priorities. */
|
|
3677
3861
|
'issue.priority'?: IssuePriority[];
|
|
3862
|
+
/** Filters for issues with any of the provided priority enum ids. */
|
|
3863
|
+
'issue.priority_v2'?: number[];
|
|
3678
3864
|
/**
|
|
3679
3865
|
* Filters for issues with any of the provided Rev organizations.
|
|
3680
3866
|
* @example ["REV-AbCdEfGh"]
|
|
@@ -63,6 +63,7 @@ var AuthTokenRequestedTokenType;
|
|
|
63
63
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAat"] = "urn:devrev:params:oauth:token-type:aat";
|
|
64
64
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeAatPublic"] = "urn:devrev:params:oauth:token-type:aat:public";
|
|
65
65
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeDev"] = "urn:devrev:params:oauth:token-type:dev";
|
|
66
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeGat"] = "urn:devrev:params:oauth:token-type:gat";
|
|
66
67
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePat"] = "urn:devrev:params:oauth:token-type:pat";
|
|
67
68
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypePatActAs"] = "urn:devrev:params:oauth:token-type:pat:act-as";
|
|
68
69
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeRat"] = "urn:devrev:params:oauth:token-type:rat";
|
|
@@ -70,6 +71,7 @@ var AuthTokenRequestedTokenType;
|
|
|
70
71
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSession"] = "urn:devrev:params:oauth:token-type:session";
|
|
71
72
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionDev0"] = "urn:devrev:params:oauth:token-type:session:dev0";
|
|
72
73
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSessionOnetime"] = "urn:devrev:params:oauth:token-type:session:onetime";
|
|
74
|
+
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSuper"] = "urn:devrev:params:oauth:token-type:super";
|
|
73
75
|
AuthTokenRequestedTokenType["UrnDevrevParamsOauthTokenTypeSys"] = "urn:devrev:params:oauth:token-type:sys";
|
|
74
76
|
AuthTokenRequestedTokenType["UrnIetfParamsOauthTokenTypeJwt"] = "urn:ietf:params:oauth:token-type:jwt";
|
|
75
77
|
})(AuthTokenRequestedTokenType = exports.AuthTokenRequestedTokenType || (exports.AuthTokenRequestedTokenType = {}));
|
|
@@ -230,6 +232,7 @@ var TicketSeverity;
|
|
|
230
232
|
var TimelineCommentBodyType;
|
|
231
233
|
(function (TimelineCommentBodyType) {
|
|
232
234
|
TimelineCommentBodyType["SnapKit"] = "snap_kit";
|
|
235
|
+
TimelineCommentBodyType["SnapWidget"] = "snap_widget";
|
|
233
236
|
TimelineCommentBodyType["Text"] = "text";
|
|
234
237
|
})(TimelineCommentBodyType = exports.TimelineCommentBodyType || (exports.TimelineCommentBodyType = {}));
|
|
235
238
|
var TimelineEntriesCreateRequestType;
|
|
@@ -291,6 +294,15 @@ var UserType;
|
|
|
291
294
|
/** The event types that the webhook will receive. */
|
|
292
295
|
var WebhookEventType;
|
|
293
296
|
(function (WebhookEventType) {
|
|
297
|
+
WebhookEventType["AccountCreated"] = "account_created";
|
|
298
|
+
WebhookEventType["AccountDeleted"] = "account_deleted";
|
|
299
|
+
WebhookEventType["AccountUpdated"] = "account_updated";
|
|
300
|
+
WebhookEventType["ConversationCreated"] = "conversation_created";
|
|
301
|
+
WebhookEventType["ConversationDeleted"] = "conversation_deleted";
|
|
302
|
+
WebhookEventType["ConversationUpdated"] = "conversation_updated";
|
|
303
|
+
WebhookEventType["DevUserCreated"] = "dev_user_created";
|
|
304
|
+
WebhookEventType["DevUserDeleted"] = "dev_user_deleted";
|
|
305
|
+
WebhookEventType["DevUserUpdated"] = "dev_user_updated";
|
|
294
306
|
WebhookEventType["PartCreated"] = "part_created";
|
|
295
307
|
WebhookEventType["PartDeleted"] = "part_deleted";
|
|
296
308
|
WebhookEventType["PartUpdated"] = "part_updated";
|