@dazl/api-client 1.0.15 → 1.0.16
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.
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/sdk.gen.d.ts +4 -2
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +16 -10
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +738 -632
- package/dist/internal/types.gen.d.ts.map +1 -1
- package/dist/public/index.d.ts +2 -2
- package/dist/public/index.d.ts.map +1 -1
- package/dist/public/index.js +1 -1
- package/dist/public/index.js.map +1 -1
- package/dist/public/sdk.gen.d.ts +16 -1
- package/dist/public/sdk.gen.d.ts.map +1 -1
- package/dist/public/sdk.gen.js +76 -0
- package/dist/public/sdk.gen.js.map +1 -1
- package/dist/public/types.gen.d.ts +937 -1
- package/dist/public/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/internal/index.ts +1 -1
- package/src/internal/sdk.gen.ts +20 -12
- package/src/internal/types.gen.ts +755 -639
- package/src/public/index.ts +2 -2
- package/src/public/sdk.gen.ts +90 -1
- package/src/public/types.gen.ts +1014 -1
|
@@ -480,29 +480,6 @@ export type PurgeUserAccountInput = {
|
|
|
480
480
|
dryRun?: boolean;
|
|
481
481
|
};
|
|
482
482
|
|
|
483
|
-
export type CreateCommentInput = {
|
|
484
|
-
content: string;
|
|
485
|
-
mentions?: Array<UserMention>;
|
|
486
|
-
context?: CommentContext;
|
|
487
|
-
gitInfo?: CommentGitInfo;
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
export type EditCommentInput = {
|
|
491
|
-
content: string;
|
|
492
|
-
mentions?: Array<UserMention>;
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
export type CreateReplyInput = {
|
|
496
|
-
content: string;
|
|
497
|
-
mentions?: Array<UserMention>;
|
|
498
|
-
gitInfo?: CommentGitInfo;
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
export type EditReplyInput = {
|
|
502
|
-
content: string;
|
|
503
|
-
mentions?: Array<UserMention>;
|
|
504
|
-
};
|
|
505
|
-
|
|
506
483
|
export type FeatureToggle = {
|
|
507
484
|
name: string;
|
|
508
485
|
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
@@ -539,6 +516,29 @@ export type ConnectionStatus = {
|
|
|
539
516
|
isConnected: boolean;
|
|
540
517
|
};
|
|
541
518
|
|
|
519
|
+
export type CreateCommentInput = {
|
|
520
|
+
content: string;
|
|
521
|
+
mentions?: Array<UserMention>;
|
|
522
|
+
context?: CommentContext;
|
|
523
|
+
gitInfo?: CommentGitInfo;
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
export type EditCommentInput = {
|
|
527
|
+
content: string;
|
|
528
|
+
mentions?: Array<UserMention>;
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
export type CreateReplyInput = {
|
|
532
|
+
content: string;
|
|
533
|
+
mentions?: Array<UserMention>;
|
|
534
|
+
gitInfo?: CommentGitInfo;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
export type EditReplyInput = {
|
|
538
|
+
content: string;
|
|
539
|
+
mentions?: Array<UserMention>;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
542
|
export type EnsureMyUserData = {
|
|
543
543
|
body?: {
|
|
544
544
|
name?: string;
|
|
@@ -2859,63 +2859,6 @@ export type InviteProjectMemberResponses = {
|
|
|
2859
2859
|
|
|
2860
2860
|
export type InviteProjectMemberResponse = InviteProjectMemberResponses[keyof InviteProjectMemberResponses];
|
|
2861
2861
|
|
|
2862
|
-
export type AcceptProjectInvitationData = {
|
|
2863
|
-
body: {
|
|
2864
|
-
token: string;
|
|
2865
|
-
userDazlId: string;
|
|
2866
|
-
};
|
|
2867
|
-
path?: never;
|
|
2868
|
-
query?: never;
|
|
2869
|
-
url: '/project/members/accept-invitation';
|
|
2870
|
-
};
|
|
2871
|
-
|
|
2872
|
-
export type AcceptProjectInvitationErrors = {
|
|
2873
|
-
/**
|
|
2874
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
2875
|
-
*/
|
|
2876
|
-
400: {
|
|
2877
|
-
message: string;
|
|
2878
|
-
issues?: string;
|
|
2879
|
-
};
|
|
2880
|
-
/**
|
|
2881
|
-
* Unauthorized
|
|
2882
|
-
*/
|
|
2883
|
-
401: ErrorResponse;
|
|
2884
|
-
/**
|
|
2885
|
-
* Forbidden
|
|
2886
|
-
*/
|
|
2887
|
-
403: ErrorResponse;
|
|
2888
|
-
/**
|
|
2889
|
-
* Not Found
|
|
2890
|
-
*/
|
|
2891
|
-
404: ErrorResponse;
|
|
2892
|
-
/**
|
|
2893
|
-
* Conflict
|
|
2894
|
-
*/
|
|
2895
|
-
409: ErrorResponse;
|
|
2896
|
-
/**
|
|
2897
|
-
* Internal server error
|
|
2898
|
-
*/
|
|
2899
|
-
500: ErrorResponse;
|
|
2900
|
-
/**
|
|
2901
|
-
* Service Unavailable
|
|
2902
|
-
*/
|
|
2903
|
-
503: ErrorResponse;
|
|
2904
|
-
};
|
|
2905
|
-
|
|
2906
|
-
export type AcceptProjectInvitationError = AcceptProjectInvitationErrors[keyof AcceptProjectInvitationErrors];
|
|
2907
|
-
|
|
2908
|
-
export type AcceptProjectInvitationResponses = {
|
|
2909
|
-
/**
|
|
2910
|
-
* Acknowledges that the invitation was accepted
|
|
2911
|
-
*/
|
|
2912
|
-
200: {
|
|
2913
|
-
status: 'accepted';
|
|
2914
|
-
};
|
|
2915
|
-
};
|
|
2916
|
-
|
|
2917
|
-
export type AcceptProjectInvitationResponse = AcceptProjectInvitationResponses[keyof AcceptProjectInvitationResponses];
|
|
2918
|
-
|
|
2919
2862
|
export type GetProjectCollaboratorsData = {
|
|
2920
2863
|
body?: never;
|
|
2921
2864
|
path: {
|
|
@@ -6345,18 +6288,16 @@ export type GetUserActivePromotionsResponses = {
|
|
|
6345
6288
|
|
|
6346
6289
|
export type GetUserActivePromotionsResponse = GetUserActivePromotionsResponses[keyof GetUserActivePromotionsResponses];
|
|
6347
6290
|
|
|
6348
|
-
export type
|
|
6291
|
+
export type GetFeatureTogglesData = {
|
|
6349
6292
|
body?: never;
|
|
6350
|
-
path
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
commentId: string;
|
|
6293
|
+
path?: never;
|
|
6294
|
+
query?: {
|
|
6295
|
+
scope?: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
6354
6296
|
};
|
|
6355
|
-
|
|
6356
|
-
url: '/comments/{hostType}/{hostId}/{commentId}';
|
|
6297
|
+
url: '/env-config';
|
|
6357
6298
|
};
|
|
6358
6299
|
|
|
6359
|
-
export type
|
|
6300
|
+
export type GetFeatureTogglesErrors = {
|
|
6360
6301
|
/**
|
|
6361
6302
|
* Bad request - Invalid parameters or malformed JSON
|
|
6362
6303
|
*/
|
|
@@ -6390,31 +6331,27 @@ export type DeleteCommentErrors = {
|
|
|
6390
6331
|
503: ErrorResponse;
|
|
6391
6332
|
};
|
|
6392
6333
|
|
|
6393
|
-
export type
|
|
6334
|
+
export type GetFeatureTogglesError = GetFeatureTogglesErrors[keyof GetFeatureTogglesErrors];
|
|
6394
6335
|
|
|
6395
|
-
export type
|
|
6336
|
+
export type GetFeatureTogglesResponses = {
|
|
6396
6337
|
/**
|
|
6397
|
-
*
|
|
6338
|
+
* Returns feature toggles, optionally filtered by scope
|
|
6398
6339
|
*/
|
|
6399
6340
|
200: {
|
|
6400
|
-
|
|
6341
|
+
toggles: Array<FeatureToggle>;
|
|
6401
6342
|
};
|
|
6402
6343
|
};
|
|
6403
6344
|
|
|
6404
|
-
export type
|
|
6345
|
+
export type GetFeatureTogglesResponse = GetFeatureTogglesResponses[keyof GetFeatureTogglesResponses];
|
|
6405
6346
|
|
|
6406
|
-
export type
|
|
6347
|
+
export type GetMyUserData = {
|
|
6407
6348
|
body?: never;
|
|
6408
|
-
path
|
|
6409
|
-
hostType: 'project' | 'workspace';
|
|
6410
|
-
hostId: string;
|
|
6411
|
-
commentId: string;
|
|
6412
|
-
};
|
|
6349
|
+
path?: never;
|
|
6413
6350
|
query?: never;
|
|
6414
|
-
url: '/
|
|
6351
|
+
url: '/my-user/me';
|
|
6415
6352
|
};
|
|
6416
6353
|
|
|
6417
|
-
export type
|
|
6354
|
+
export type GetMyUserErrors = {
|
|
6418
6355
|
/**
|
|
6419
6356
|
* Bad request - Invalid parameters or malformed JSON
|
|
6420
6357
|
*/
|
|
@@ -6448,56 +6385,31 @@ export type GetCommentErrors = {
|
|
|
6448
6385
|
503: ErrorResponse;
|
|
6449
6386
|
};
|
|
6450
6387
|
|
|
6451
|
-
export type
|
|
6388
|
+
export type GetMyUserError = GetMyUserErrors[keyof GetMyUserErrors];
|
|
6452
6389
|
|
|
6453
|
-
export type
|
|
6390
|
+
export type GetMyUserResponses = {
|
|
6454
6391
|
/**
|
|
6455
|
-
* Returns
|
|
6392
|
+
* Returns the requested user
|
|
6456
6393
|
*/
|
|
6457
6394
|
200: {
|
|
6458
|
-
|
|
6459
|
-
commentId: string;
|
|
6460
|
-
author: {
|
|
6461
|
-
dazlUserId: string;
|
|
6462
|
-
};
|
|
6463
|
-
content: string;
|
|
6464
|
-
mentions: Array<UserMention>;
|
|
6465
|
-
createdAt: string;
|
|
6466
|
-
updatedAt: string;
|
|
6467
|
-
lastActivityAt: string;
|
|
6468
|
-
isEdited: boolean;
|
|
6469
|
-
replies: Array<{
|
|
6470
|
-
replyId: string;
|
|
6471
|
-
author: {
|
|
6472
|
-
dazlUserId: string;
|
|
6473
|
-
};
|
|
6474
|
-
content: string;
|
|
6475
|
-
mentions: Array<UserMention>;
|
|
6476
|
-
createdAt: string;
|
|
6477
|
-
updatedAt: string;
|
|
6478
|
-
gitInfo?: CommentGitInfo;
|
|
6479
|
-
}>;
|
|
6480
|
-
resolved?: CommentResolved;
|
|
6481
|
-
context?: CommentContext;
|
|
6482
|
-
gitInfo?: CommentGitInfo;
|
|
6483
|
-
};
|
|
6395
|
+
user: UserRaw;
|
|
6484
6396
|
};
|
|
6485
6397
|
};
|
|
6486
6398
|
|
|
6487
|
-
export type
|
|
6399
|
+
export type GetMyUserResponse = GetMyUserResponses[keyof GetMyUserResponses];
|
|
6488
6400
|
|
|
6489
|
-
export type
|
|
6490
|
-
body:
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
commentId: string;
|
|
6401
|
+
export type UpdateMyUserData = {
|
|
6402
|
+
body: {
|
|
6403
|
+
picture?: string | null;
|
|
6404
|
+
name?: string;
|
|
6405
|
+
jobRole?: string | null;
|
|
6495
6406
|
};
|
|
6407
|
+
path?: never;
|
|
6496
6408
|
query?: never;
|
|
6497
|
-
url: '/
|
|
6409
|
+
url: '/my-user/me';
|
|
6498
6410
|
};
|
|
6499
6411
|
|
|
6500
|
-
export type
|
|
6412
|
+
export type UpdateMyUserErrors = {
|
|
6501
6413
|
/**
|
|
6502
6414
|
* Bad request - Invalid parameters or malformed JSON
|
|
6503
6415
|
*/
|
|
@@ -6531,55 +6443,29 @@ export type EditCommentErrors = {
|
|
|
6531
6443
|
503: ErrorResponse;
|
|
6532
6444
|
};
|
|
6533
6445
|
|
|
6534
|
-
export type
|
|
6446
|
+
export type UpdateMyUserError = UpdateMyUserErrors[keyof UpdateMyUserErrors];
|
|
6535
6447
|
|
|
6536
|
-
export type
|
|
6448
|
+
export type UpdateMyUserResponses = {
|
|
6537
6449
|
/**
|
|
6538
|
-
*
|
|
6450
|
+
* Updates user information
|
|
6539
6451
|
*/
|
|
6540
6452
|
200: {
|
|
6541
|
-
|
|
6542
|
-
commentId: string;
|
|
6543
|
-
author: {
|
|
6544
|
-
dazlUserId: string;
|
|
6545
|
-
};
|
|
6546
|
-
content: string;
|
|
6547
|
-
mentions: Array<UserMention>;
|
|
6548
|
-
createdAt: string;
|
|
6549
|
-
updatedAt: string;
|
|
6550
|
-
lastActivityAt: string;
|
|
6551
|
-
isEdited: boolean;
|
|
6552
|
-
replies: Array<{
|
|
6553
|
-
replyId: string;
|
|
6554
|
-
author: {
|
|
6555
|
-
dazlUserId: string;
|
|
6556
|
-
};
|
|
6557
|
-
content: string;
|
|
6558
|
-
mentions: Array<UserMention>;
|
|
6559
|
-
createdAt: string;
|
|
6560
|
-
updatedAt: string;
|
|
6561
|
-
gitInfo?: CommentGitInfo;
|
|
6562
|
-
}>;
|
|
6563
|
-
resolved?: CommentResolved;
|
|
6564
|
-
context?: CommentContext;
|
|
6565
|
-
gitInfo?: CommentGitInfo;
|
|
6566
|
-
};
|
|
6453
|
+
user: UserRaw;
|
|
6567
6454
|
};
|
|
6568
6455
|
};
|
|
6569
6456
|
|
|
6570
|
-
export type
|
|
6457
|
+
export type UpdateMyUserResponse = UpdateMyUserResponses[keyof UpdateMyUserResponses];
|
|
6571
6458
|
|
|
6572
|
-
export type
|
|
6573
|
-
body
|
|
6574
|
-
|
|
6575
|
-
hostType: 'project' | 'workspace';
|
|
6576
|
-
hostId: string;
|
|
6459
|
+
export type CreateWorkspaceData = {
|
|
6460
|
+
body: {
|
|
6461
|
+
name: string;
|
|
6577
6462
|
};
|
|
6463
|
+
path?: never;
|
|
6578
6464
|
query?: never;
|
|
6579
|
-
url: '/
|
|
6465
|
+
url: '/workspace/create';
|
|
6580
6466
|
};
|
|
6581
6467
|
|
|
6582
|
-
export type
|
|
6468
|
+
export type CreateWorkspaceErrors = {
|
|
6583
6469
|
/**
|
|
6584
6470
|
* Bad request - Invalid parameters or malformed JSON
|
|
6585
6471
|
*/
|
|
@@ -6613,55 +6499,32 @@ export type ListCommentsErrors = {
|
|
|
6613
6499
|
503: ErrorResponse;
|
|
6614
6500
|
};
|
|
6615
6501
|
|
|
6616
|
-
export type
|
|
6502
|
+
export type CreateWorkspaceError = CreateWorkspaceErrors[keyof CreateWorkspaceErrors];
|
|
6617
6503
|
|
|
6618
|
-
export type
|
|
6504
|
+
export type CreateWorkspaceResponses = {
|
|
6619
6505
|
/**
|
|
6620
|
-
* Returns the
|
|
6506
|
+
* Returns the created workspace
|
|
6621
6507
|
*/
|
|
6622
6508
|
200: {
|
|
6623
|
-
|
|
6624
|
-
commentId: string;
|
|
6625
|
-
author: {
|
|
6626
|
-
dazlUserId: string;
|
|
6627
|
-
};
|
|
6628
|
-
content: string;
|
|
6629
|
-
mentions: Array<UserMention>;
|
|
6630
|
-
createdAt: string;
|
|
6631
|
-
updatedAt: string;
|
|
6632
|
-
lastActivityAt: string;
|
|
6633
|
-
isEdited: boolean;
|
|
6634
|
-
replies: Array<{
|
|
6635
|
-
replyId: string;
|
|
6636
|
-
author: {
|
|
6637
|
-
dazlUserId: string;
|
|
6638
|
-
};
|
|
6639
|
-
content: string;
|
|
6640
|
-
mentions: Array<UserMention>;
|
|
6641
|
-
createdAt: string;
|
|
6642
|
-
updatedAt: string;
|
|
6643
|
-
gitInfo?: CommentGitInfo;
|
|
6644
|
-
}>;
|
|
6645
|
-
resolved?: CommentResolved;
|
|
6646
|
-
context?: CommentContext;
|
|
6647
|
-
gitInfo?: CommentGitInfo;
|
|
6648
|
-
}>;
|
|
6509
|
+
workspace: Workspace;
|
|
6649
6510
|
};
|
|
6650
6511
|
};
|
|
6651
6512
|
|
|
6652
|
-
export type
|
|
6513
|
+
export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
|
|
6653
6514
|
|
|
6654
|
-
export type
|
|
6655
|
-
body
|
|
6656
|
-
path
|
|
6657
|
-
|
|
6658
|
-
|
|
6515
|
+
export type GetAllWorkspacesData = {
|
|
6516
|
+
body?: never;
|
|
6517
|
+
path?: never;
|
|
6518
|
+
query?: {
|
|
6519
|
+
/**
|
|
6520
|
+
* Whether to include the members of each workspace
|
|
6521
|
+
*/
|
|
6522
|
+
withMembers?: boolean;
|
|
6659
6523
|
};
|
|
6660
|
-
|
|
6661
|
-
url: '/comments/{hostType}/{hostId}';
|
|
6524
|
+
url: '/workspace/list-my';
|
|
6662
6525
|
};
|
|
6663
6526
|
|
|
6664
|
-
export type
|
|
6527
|
+
export type GetAllWorkspacesErrors = {
|
|
6665
6528
|
/**
|
|
6666
6529
|
* Bad request - Invalid parameters or malformed JSON
|
|
6667
6530
|
*/
|
|
@@ -6695,56 +6558,61 @@ export type CreateCommentErrors = {
|
|
|
6695
6558
|
503: ErrorResponse;
|
|
6696
6559
|
};
|
|
6697
6560
|
|
|
6698
|
-
export type
|
|
6561
|
+
export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
|
|
6699
6562
|
|
|
6700
|
-
export type
|
|
6563
|
+
export type GetAllWorkspacesResponses = {
|
|
6701
6564
|
/**
|
|
6702
|
-
* Returns the
|
|
6565
|
+
* Returns the list of workspaces that the user is a member of
|
|
6703
6566
|
*/
|
|
6704
6567
|
200: {
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6568
|
+
workspaces: Array<{
|
|
6569
|
+
id: string;
|
|
6570
|
+
name: string;
|
|
6571
|
+
/**
|
|
6572
|
+
* The user which created the workspace. Null if the user was deleted.
|
|
6573
|
+
*/
|
|
6574
|
+
dazlUserId: string | null;
|
|
6712
6575
|
createdAt: string;
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6576
|
+
isDefault: boolean;
|
|
6577
|
+
owner?: {
|
|
6578
|
+
/**
|
|
6579
|
+
* Dazl ID for the type = "user"
|
|
6580
|
+
*/
|
|
6581
|
+
id: string;
|
|
6582
|
+
email: string;
|
|
6583
|
+
name?: string;
|
|
6584
|
+
picture?: string;
|
|
6585
|
+
role: 'workspace_member' | 'owner';
|
|
6586
|
+
} | null;
|
|
6587
|
+
members?: Array<{
|
|
6588
|
+
/**
|
|
6589
|
+
* Dazl ID for the type = "user"
|
|
6590
|
+
*/
|
|
6591
|
+
id: string;
|
|
6592
|
+
email: string;
|
|
6593
|
+
name?: string;
|
|
6594
|
+
picture?: string;
|
|
6595
|
+
role: 'workspace_member' | 'owner';
|
|
6726
6596
|
}>;
|
|
6727
|
-
|
|
6728
|
-
context?: CommentContext;
|
|
6729
|
-
gitInfo?: CommentGitInfo;
|
|
6730
|
-
};
|
|
6597
|
+
}>;
|
|
6731
6598
|
};
|
|
6732
6599
|
};
|
|
6733
6600
|
|
|
6734
|
-
export type
|
|
6601
|
+
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
|
6735
6602
|
|
|
6736
|
-
export type
|
|
6737
|
-
body
|
|
6603
|
+
export type InviteWorkspaceMemberData = {
|
|
6604
|
+
body: {
|
|
6605
|
+
email: string;
|
|
6606
|
+
role: 'workspace_member';
|
|
6607
|
+
};
|
|
6738
6608
|
path: {
|
|
6739
|
-
|
|
6740
|
-
hostId: string;
|
|
6741
|
-
commentId: string;
|
|
6609
|
+
workspaceId: string;
|
|
6742
6610
|
};
|
|
6743
6611
|
query?: never;
|
|
6744
|
-
url: '/
|
|
6612
|
+
url: '/workspace/{workspaceId}/members/invite';
|
|
6745
6613
|
};
|
|
6746
6614
|
|
|
6747
|
-
export type
|
|
6615
|
+
export type InviteWorkspaceMemberErrors = {
|
|
6748
6616
|
/**
|
|
6749
6617
|
* Bad request - Invalid parameters or malformed JSON
|
|
6750
6618
|
*/
|
|
@@ -6778,56 +6646,29 @@ export type ResolveCommentErrors = {
|
|
|
6778
6646
|
503: ErrorResponse;
|
|
6779
6647
|
};
|
|
6780
6648
|
|
|
6781
|
-
export type
|
|
6649
|
+
export type InviteWorkspaceMemberError = InviteWorkspaceMemberErrors[keyof InviteWorkspaceMemberErrors];
|
|
6782
6650
|
|
|
6783
|
-
export type
|
|
6651
|
+
export type InviteWorkspaceMemberResponses = {
|
|
6784
6652
|
/**
|
|
6785
|
-
* Returns the
|
|
6653
|
+
* Returns the invitation token, or null if user was auto-added to workspace
|
|
6786
6654
|
*/
|
|
6787
6655
|
200: {
|
|
6788
|
-
|
|
6789
|
-
commentId: string;
|
|
6790
|
-
author: {
|
|
6791
|
-
dazlUserId: string;
|
|
6792
|
-
};
|
|
6793
|
-
content: string;
|
|
6794
|
-
mentions: Array<UserMention>;
|
|
6795
|
-
createdAt: string;
|
|
6796
|
-
updatedAt: string;
|
|
6797
|
-
lastActivityAt: string;
|
|
6798
|
-
isEdited: boolean;
|
|
6799
|
-
replies: Array<{
|
|
6800
|
-
replyId: string;
|
|
6801
|
-
author: {
|
|
6802
|
-
dazlUserId: string;
|
|
6803
|
-
};
|
|
6804
|
-
content: string;
|
|
6805
|
-
mentions: Array<UserMention>;
|
|
6806
|
-
createdAt: string;
|
|
6807
|
-
updatedAt: string;
|
|
6808
|
-
gitInfo?: CommentGitInfo;
|
|
6809
|
-
}>;
|
|
6810
|
-
resolved?: CommentResolved;
|
|
6811
|
-
context?: CommentContext;
|
|
6812
|
-
gitInfo?: CommentGitInfo;
|
|
6813
|
-
};
|
|
6656
|
+
token: string | null;
|
|
6814
6657
|
};
|
|
6815
6658
|
};
|
|
6816
6659
|
|
|
6817
|
-
export type
|
|
6660
|
+
export type InviteWorkspaceMemberResponse = InviteWorkspaceMemberResponses[keyof InviteWorkspaceMemberResponses];
|
|
6818
6661
|
|
|
6819
|
-
export type
|
|
6662
|
+
export type GetWorkspaceMembersData = {
|
|
6820
6663
|
body?: never;
|
|
6821
6664
|
path: {
|
|
6822
|
-
|
|
6823
|
-
hostId: string;
|
|
6824
|
-
commentId: string;
|
|
6665
|
+
workspaceId: string;
|
|
6825
6666
|
};
|
|
6826
6667
|
query?: never;
|
|
6827
|
-
url: '/
|
|
6668
|
+
url: '/workspace/{workspaceId}/all-members';
|
|
6828
6669
|
};
|
|
6829
6670
|
|
|
6830
|
-
export type
|
|
6671
|
+
export type GetWorkspaceMembersErrors = {
|
|
6831
6672
|
/**
|
|
6832
6673
|
* Bad request - Invalid parameters or malformed JSON
|
|
6833
6674
|
*/
|
|
@@ -6861,56 +6702,49 @@ export type ReopenCommentErrors = {
|
|
|
6861
6702
|
503: ErrorResponse;
|
|
6862
6703
|
};
|
|
6863
6704
|
|
|
6864
|
-
export type
|
|
6705
|
+
export type GetWorkspaceMembersError = GetWorkspaceMembersErrors[keyof GetWorkspaceMembersErrors];
|
|
6865
6706
|
|
|
6866
|
-
export type
|
|
6707
|
+
export type GetWorkspaceMembersResponses = {
|
|
6867
6708
|
/**
|
|
6868
|
-
* Returns the
|
|
6709
|
+
* Returns the list of workspace collaborators: members and owner
|
|
6869
6710
|
*/
|
|
6870
6711
|
200: {
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
gitInfo?: CommentGitInfo;
|
|
6892
|
-
}>;
|
|
6893
|
-
resolved?: CommentResolved;
|
|
6894
|
-
context?: CommentContext;
|
|
6895
|
-
gitInfo?: CommentGitInfo;
|
|
6896
|
-
};
|
|
6712
|
+
owner: {
|
|
6713
|
+
/**
|
|
6714
|
+
* Dazl ID for the type = "user"
|
|
6715
|
+
*/
|
|
6716
|
+
id: string;
|
|
6717
|
+
email: string;
|
|
6718
|
+
name?: string;
|
|
6719
|
+
picture?: string;
|
|
6720
|
+
role: 'workspace_member' | 'owner';
|
|
6721
|
+
} | null;
|
|
6722
|
+
members: Array<{
|
|
6723
|
+
/**
|
|
6724
|
+
* Dazl ID for the type = "user"
|
|
6725
|
+
*/
|
|
6726
|
+
id: string;
|
|
6727
|
+
email: string;
|
|
6728
|
+
name?: string;
|
|
6729
|
+
picture?: string;
|
|
6730
|
+
role: 'workspace_member' | 'owner';
|
|
6731
|
+
}>;
|
|
6897
6732
|
};
|
|
6898
6733
|
};
|
|
6899
6734
|
|
|
6900
|
-
export type
|
|
6735
|
+
export type GetWorkspaceMembersResponse = GetWorkspaceMembersResponses[keyof GetWorkspaceMembersResponses];
|
|
6901
6736
|
|
|
6902
|
-
export type
|
|
6903
|
-
body
|
|
6737
|
+
export type DeleteWorkspaceMemberData = {
|
|
6738
|
+
body?: never;
|
|
6904
6739
|
path: {
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
commentId: string;
|
|
6740
|
+
workspaceId: string;
|
|
6741
|
+
memberId: string;
|
|
6908
6742
|
};
|
|
6909
6743
|
query?: never;
|
|
6910
|
-
url: '/
|
|
6744
|
+
url: '/workspace/{workspaceId}/members/{memberId}';
|
|
6911
6745
|
};
|
|
6912
6746
|
|
|
6913
|
-
export type
|
|
6747
|
+
export type DeleteWorkspaceMemberErrors = {
|
|
6914
6748
|
/**
|
|
6915
6749
|
* Bad request - Invalid parameters or malformed JSON
|
|
6916
6750
|
*/
|
|
@@ -6944,42 +6778,30 @@ export type CreateReplyErrors = {
|
|
|
6944
6778
|
503: ErrorResponse;
|
|
6945
6779
|
};
|
|
6946
6780
|
|
|
6947
|
-
export type
|
|
6781
|
+
export type DeleteWorkspaceMemberError = DeleteWorkspaceMemberErrors[keyof DeleteWorkspaceMemberErrors];
|
|
6948
6782
|
|
|
6949
|
-
export type
|
|
6783
|
+
export type DeleteWorkspaceMemberResponses = {
|
|
6950
6784
|
/**
|
|
6951
|
-
*
|
|
6785
|
+
* Acknowledges that the workspace member was deleted
|
|
6952
6786
|
*/
|
|
6953
6787
|
200: {
|
|
6954
|
-
|
|
6955
|
-
replyId: string;
|
|
6956
|
-
author: {
|
|
6957
|
-
dazlUserId: string;
|
|
6958
|
-
};
|
|
6959
|
-
content: string;
|
|
6960
|
-
mentions: Array<UserMention>;
|
|
6961
|
-
createdAt: string;
|
|
6962
|
-
updatedAt: string;
|
|
6963
|
-
gitInfo?: CommentGitInfo;
|
|
6964
|
-
};
|
|
6788
|
+
status: 'deleted';
|
|
6965
6789
|
};
|
|
6966
6790
|
};
|
|
6967
6791
|
|
|
6968
|
-
export type
|
|
6792
|
+
export type DeleteWorkspaceMemberResponse = DeleteWorkspaceMemberResponses[keyof DeleteWorkspaceMemberResponses];
|
|
6969
6793
|
|
|
6970
|
-
export type
|
|
6794
|
+
export type DeleteWorkspaceInvitationData = {
|
|
6971
6795
|
body?: never;
|
|
6972
6796
|
path: {
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
commentId: string;
|
|
6976
|
-
replyId: string;
|
|
6797
|
+
workspaceId: string;
|
|
6798
|
+
invitationId: string;
|
|
6977
6799
|
};
|
|
6978
6800
|
query?: never;
|
|
6979
|
-
url: '/
|
|
6801
|
+
url: '/workspace/{workspaceId}/invitations/{invitationId}';
|
|
6980
6802
|
};
|
|
6981
6803
|
|
|
6982
|
-
export type
|
|
6804
|
+
export type DeleteWorkspaceInvitationErrors = {
|
|
6983
6805
|
/**
|
|
6984
6806
|
* Bad request - Invalid parameters or malformed JSON
|
|
6985
6807
|
*/
|
|
@@ -7013,32 +6835,32 @@ export type DeleteReplyErrors = {
|
|
|
7013
6835
|
503: ErrorResponse;
|
|
7014
6836
|
};
|
|
7015
6837
|
|
|
7016
|
-
export type
|
|
6838
|
+
export type DeleteWorkspaceInvitationError = DeleteWorkspaceInvitationErrors[keyof DeleteWorkspaceInvitationErrors];
|
|
7017
6839
|
|
|
7018
|
-
export type
|
|
6840
|
+
export type DeleteWorkspaceInvitationResponses = {
|
|
7019
6841
|
/**
|
|
7020
|
-
* Acknowledges that the
|
|
6842
|
+
* Acknowledges that the workspace invitation was deleted
|
|
7021
6843
|
*/
|
|
7022
6844
|
200: {
|
|
7023
|
-
|
|
6845
|
+
status: 'deleted';
|
|
7024
6846
|
};
|
|
7025
6847
|
};
|
|
7026
6848
|
|
|
7027
|
-
export type
|
|
6849
|
+
export type DeleteWorkspaceInvitationResponse = DeleteWorkspaceInvitationResponses[keyof DeleteWorkspaceInvitationResponses];
|
|
7028
6850
|
|
|
7029
|
-
export type
|
|
7030
|
-
body
|
|
7031
|
-
path
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
6851
|
+
export type GetMyValuesData = {
|
|
6852
|
+
body?: never;
|
|
6853
|
+
path?: never;
|
|
6854
|
+
query?: {
|
|
6855
|
+
/**
|
|
6856
|
+
* Filter results to this category
|
|
6857
|
+
*/
|
|
6858
|
+
categ?: string;
|
|
7036
6859
|
};
|
|
7037
|
-
|
|
7038
|
-
url: '/comments/{hostType}/{hostId}/{commentId}/replies/{replyId}';
|
|
6860
|
+
url: '/my-user-key-value/values';
|
|
7039
6861
|
};
|
|
7040
6862
|
|
|
7041
|
-
export type
|
|
6863
|
+
export type GetMyValuesErrors = {
|
|
7042
6864
|
/**
|
|
7043
6865
|
* Bad request - Invalid parameters or malformed JSON
|
|
7044
6866
|
*/
|
|
@@ -7072,39 +6894,43 @@ export type EditReplyErrors = {
|
|
|
7072
6894
|
503: ErrorResponse;
|
|
7073
6895
|
};
|
|
7074
6896
|
|
|
7075
|
-
export type
|
|
6897
|
+
export type GetMyValuesError = GetMyValuesErrors[keyof GetMyValuesErrors];
|
|
7076
6898
|
|
|
7077
|
-
export type
|
|
6899
|
+
export type GetMyValuesResponses = {
|
|
7078
6900
|
/**
|
|
7079
|
-
* Returns the
|
|
6901
|
+
* Returns key values for the current user
|
|
7080
6902
|
*/
|
|
7081
6903
|
200: {
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
6904
|
+
values: Array<{
|
|
6905
|
+
id: string;
|
|
6906
|
+
dazlUserId: string;
|
|
6907
|
+
category: string;
|
|
6908
|
+
name: string;
|
|
6909
|
+
strVal: string | null;
|
|
6910
|
+
encryptedValId: string | null;
|
|
7089
6911
|
createdAt: string;
|
|
7090
6912
|
updatedAt: string;
|
|
7091
|
-
|
|
7092
|
-
}
|
|
6913
|
+
encryptedValue: string | null;
|
|
6914
|
+
}>;
|
|
7093
6915
|
};
|
|
7094
6916
|
};
|
|
7095
6917
|
|
|
7096
|
-
export type
|
|
6918
|
+
export type GetMyValuesResponse = GetMyValuesResponses[keyof GetMyValuesResponses];
|
|
7097
6919
|
|
|
7098
|
-
export type
|
|
7099
|
-
body
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
scope?: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
6920
|
+
export type SetMyValueData = {
|
|
6921
|
+
body: {
|
|
6922
|
+
value: string;
|
|
6923
|
+
isSecret?: boolean;
|
|
7103
6924
|
};
|
|
7104
|
-
|
|
6925
|
+
path: {
|
|
6926
|
+
categ: string;
|
|
6927
|
+
name: string;
|
|
6928
|
+
};
|
|
6929
|
+
query?: never;
|
|
6930
|
+
url: '/my-user-key-value/values/{categ}/{name}';
|
|
7105
6931
|
};
|
|
7106
6932
|
|
|
7107
|
-
export type
|
|
6933
|
+
export type SetMyValueErrors = {
|
|
7108
6934
|
/**
|
|
7109
6935
|
* Bad request - Invalid parameters or malformed JSON
|
|
7110
6936
|
*/
|
|
@@ -7138,27 +6964,29 @@ export type GetFeatureTogglesErrors = {
|
|
|
7138
6964
|
503: ErrorResponse;
|
|
7139
6965
|
};
|
|
7140
6966
|
|
|
7141
|
-
export type
|
|
6967
|
+
export type SetMyValueError = SetMyValueErrors[keyof SetMyValueErrors];
|
|
7142
6968
|
|
|
7143
|
-
export type
|
|
6969
|
+
export type SetMyValueResponses = {
|
|
7144
6970
|
/**
|
|
7145
|
-
*
|
|
6971
|
+
* Sets a single key value and returns its id
|
|
7146
6972
|
*/
|
|
7147
6973
|
200: {
|
|
7148
|
-
|
|
6974
|
+
id: string;
|
|
7149
6975
|
};
|
|
7150
6976
|
};
|
|
7151
6977
|
|
|
7152
|
-
export type
|
|
6978
|
+
export type SetMyValueResponse = SetMyValueResponses[keyof SetMyValueResponses];
|
|
7153
6979
|
|
|
7154
|
-
export type
|
|
6980
|
+
export type DeleteMyCategValuesData = {
|
|
7155
6981
|
body?: never;
|
|
7156
|
-
path
|
|
6982
|
+
path: {
|
|
6983
|
+
categ: string;
|
|
6984
|
+
};
|
|
7157
6985
|
query?: never;
|
|
7158
|
-
url: '/my-user/
|
|
6986
|
+
url: '/my-user-key-value/values/{categ}';
|
|
7159
6987
|
};
|
|
7160
6988
|
|
|
7161
|
-
export type
|
|
6989
|
+
export type DeleteMyCategValuesErrors = {
|
|
7162
6990
|
/**
|
|
7163
6991
|
* Bad request - Invalid parameters or malformed JSON
|
|
7164
6992
|
*/
|
|
@@ -7192,31 +7020,35 @@ export type GetMyUserErrors = {
|
|
|
7192
7020
|
503: ErrorResponse;
|
|
7193
7021
|
};
|
|
7194
7022
|
|
|
7195
|
-
export type
|
|
7023
|
+
export type DeleteMyCategValuesError = DeleteMyCategValuesErrors[keyof DeleteMyCategValuesErrors];
|
|
7196
7024
|
|
|
7197
|
-
export type
|
|
7025
|
+
export type DeleteMyCategValuesResponses = {
|
|
7198
7026
|
/**
|
|
7199
|
-
*
|
|
7027
|
+
* Deletes all values for the category
|
|
7200
7028
|
*/
|
|
7201
7029
|
200: {
|
|
7202
|
-
|
|
7030
|
+
categ: string;
|
|
7203
7031
|
};
|
|
7204
7032
|
};
|
|
7205
7033
|
|
|
7206
|
-
export type
|
|
7034
|
+
export type DeleteMyCategValuesResponse = DeleteMyCategValuesResponses[keyof DeleteMyCategValuesResponses];
|
|
7207
7035
|
|
|
7208
|
-
export type
|
|
7036
|
+
export type ReplaceMyCategValuesData = {
|
|
7209
7037
|
body: {
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7038
|
+
values: Array<{
|
|
7039
|
+
name: string;
|
|
7040
|
+
value: string;
|
|
7041
|
+
isSecret?: boolean;
|
|
7042
|
+
}>;
|
|
7043
|
+
};
|
|
7044
|
+
path: {
|
|
7045
|
+
categ: string;
|
|
7213
7046
|
};
|
|
7214
|
-
path?: never;
|
|
7215
7047
|
query?: never;
|
|
7216
|
-
url: '/my-user/
|
|
7048
|
+
url: '/my-user-key-value/values/{categ}';
|
|
7217
7049
|
};
|
|
7218
7050
|
|
|
7219
|
-
export type
|
|
7051
|
+
export type ReplaceMyCategValuesErrors = {
|
|
7220
7052
|
/**
|
|
7221
7053
|
* Bad request - Invalid parameters or malformed JSON
|
|
7222
7054
|
*/
|
|
@@ -7250,29 +7082,31 @@ export type UpdateMyUserErrors = {
|
|
|
7250
7082
|
503: ErrorResponse;
|
|
7251
7083
|
};
|
|
7252
7084
|
|
|
7253
|
-
export type
|
|
7085
|
+
export type ReplaceMyCategValuesError = ReplaceMyCategValuesErrors[keyof ReplaceMyCategValuesErrors];
|
|
7254
7086
|
|
|
7255
|
-
export type
|
|
7087
|
+
export type ReplaceMyCategValuesResponses = {
|
|
7256
7088
|
/**
|
|
7257
|
-
*
|
|
7089
|
+
* Replaces all values for the category and returns the upserted rows
|
|
7258
7090
|
*/
|
|
7259
7091
|
200: {
|
|
7260
|
-
|
|
7092
|
+
values: Array<{
|
|
7093
|
+
id: string;
|
|
7094
|
+
name: string;
|
|
7095
|
+
}>;
|
|
7096
|
+
replaced: boolean;
|
|
7261
7097
|
};
|
|
7262
7098
|
};
|
|
7263
7099
|
|
|
7264
|
-
export type
|
|
7100
|
+
export type ReplaceMyCategValuesResponse = ReplaceMyCategValuesResponses[keyof ReplaceMyCategValuesResponses];
|
|
7265
7101
|
|
|
7266
|
-
export type
|
|
7267
|
-
body
|
|
7268
|
-
name: string;
|
|
7269
|
-
};
|
|
7102
|
+
export type GetAllData = {
|
|
7103
|
+
body?: never;
|
|
7270
7104
|
path?: never;
|
|
7271
7105
|
query?: never;
|
|
7272
|
-
url: '/
|
|
7106
|
+
url: '/my-user-settings';
|
|
7273
7107
|
};
|
|
7274
7108
|
|
|
7275
|
-
export type
|
|
7109
|
+
export type GetAllErrors = {
|
|
7276
7110
|
/**
|
|
7277
7111
|
* Bad request - Invalid parameters or malformed JSON
|
|
7278
7112
|
*/
|
|
@@ -7306,32 +7140,33 @@ export type CreateWorkspaceErrors = {
|
|
|
7306
7140
|
503: ErrorResponse;
|
|
7307
7141
|
};
|
|
7308
7142
|
|
|
7309
|
-
export type
|
|
7143
|
+
export type GetAllError = GetAllErrors[keyof GetAllErrors];
|
|
7310
7144
|
|
|
7311
|
-
export type
|
|
7145
|
+
export type GetAllResponses = {
|
|
7312
7146
|
/**
|
|
7313
|
-
* Returns
|
|
7147
|
+
* Returns user settings (empty object if none exist)
|
|
7314
7148
|
*/
|
|
7315
7149
|
200: {
|
|
7316
|
-
|
|
7150
|
+
settings: {
|
|
7151
|
+
[key: string]: unknown;
|
|
7152
|
+
};
|
|
7317
7153
|
};
|
|
7318
7154
|
};
|
|
7319
7155
|
|
|
7320
|
-
export type
|
|
7156
|
+
export type GetAllResponse = GetAllResponses[keyof GetAllResponses];
|
|
7321
7157
|
|
|
7322
|
-
export type
|
|
7323
|
-
body
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
* Whether to include the members of each workspace
|
|
7328
|
-
*/
|
|
7329
|
-
withMembers?: boolean;
|
|
7158
|
+
export type OverrideAllData = {
|
|
7159
|
+
body: {
|
|
7160
|
+
settings: {
|
|
7161
|
+
[key: string]: unknown;
|
|
7162
|
+
};
|
|
7330
7163
|
};
|
|
7331
|
-
|
|
7164
|
+
path?: never;
|
|
7165
|
+
query?: never;
|
|
7166
|
+
url: '/my-user-settings';
|
|
7332
7167
|
};
|
|
7333
7168
|
|
|
7334
|
-
export type
|
|
7169
|
+
export type OverrideAllErrors = {
|
|
7335
7170
|
/**
|
|
7336
7171
|
* Bad request - Invalid parameters or malformed JSON
|
|
7337
7172
|
*/
|
|
@@ -7365,58 +7200,29 @@ export type GetAllWorkspacesErrors = {
|
|
|
7365
7200
|
503: ErrorResponse;
|
|
7366
7201
|
};
|
|
7367
7202
|
|
|
7368
|
-
export type
|
|
7203
|
+
export type OverrideAllError = OverrideAllErrors[keyof OverrideAllErrors];
|
|
7369
7204
|
|
|
7370
|
-
export type
|
|
7205
|
+
export type OverrideAllResponses = {
|
|
7371
7206
|
/**
|
|
7372
|
-
*
|
|
7207
|
+
* Settings updated successfully
|
|
7373
7208
|
*/
|
|
7374
7209
|
200: {
|
|
7375
|
-
|
|
7376
|
-
id: string;
|
|
7377
|
-
name: string;
|
|
7378
|
-
/**
|
|
7379
|
-
* The user which created the workspace. Null if the user was deleted.
|
|
7380
|
-
*/
|
|
7381
|
-
dazlUserId: string | null;
|
|
7382
|
-
createdAt: string;
|
|
7383
|
-
isDefault: boolean;
|
|
7384
|
-
owner?: {
|
|
7385
|
-
/**
|
|
7386
|
-
* Dazl ID for the type = "user"
|
|
7387
|
-
*/
|
|
7388
|
-
id: string;
|
|
7389
|
-
email: string;
|
|
7390
|
-
name?: string;
|
|
7391
|
-
picture?: string;
|
|
7392
|
-
role: 'workspace_member' | 'owner';
|
|
7393
|
-
} | null;
|
|
7394
|
-
members?: Array<{
|
|
7395
|
-
/**
|
|
7396
|
-
* Dazl ID for the type = "user"
|
|
7397
|
-
*/
|
|
7398
|
-
id: string;
|
|
7399
|
-
email: string;
|
|
7400
|
-
name?: string;
|
|
7401
|
-
picture?: string;
|
|
7402
|
-
role: 'workspace_member' | 'owner';
|
|
7403
|
-
}>;
|
|
7404
|
-
}>;
|
|
7210
|
+
success: boolean;
|
|
7405
7211
|
};
|
|
7406
7212
|
};
|
|
7407
7213
|
|
|
7408
|
-
export type
|
|
7214
|
+
export type OverrideAllResponse = OverrideAllResponses[keyof OverrideAllResponses];
|
|
7409
7215
|
|
|
7410
|
-
export type
|
|
7411
|
-
body
|
|
7412
|
-
|
|
7413
|
-
workspaceId: string;
|
|
7216
|
+
export type CreateSessionData = {
|
|
7217
|
+
body: {
|
|
7218
|
+
integrationName: IntegrationName;
|
|
7414
7219
|
};
|
|
7220
|
+
path?: never;
|
|
7415
7221
|
query?: never;
|
|
7416
|
-
url: '/
|
|
7222
|
+
url: '/mcp/create-session';
|
|
7417
7223
|
};
|
|
7418
7224
|
|
|
7419
|
-
export type
|
|
7225
|
+
export type CreateSessionErrors = {
|
|
7420
7226
|
/**
|
|
7421
7227
|
* Bad request - Invalid parameters or malformed JSON
|
|
7422
7228
|
*/
|
|
@@ -7450,51 +7256,35 @@ export type GetWorkspaceMembersErrors = {
|
|
|
7450
7256
|
503: ErrorResponse;
|
|
7451
7257
|
};
|
|
7452
7258
|
|
|
7453
|
-
export type
|
|
7259
|
+
export type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors];
|
|
7454
7260
|
|
|
7455
|
-
export type
|
|
7261
|
+
export type CreateSessionResponses = {
|
|
7456
7262
|
/**
|
|
7457
|
-
*
|
|
7263
|
+
* An authorized MCP session (opaque access-token header) or an unauthorized marker
|
|
7458
7264
|
*/
|
|
7459
|
-
200: {
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
id: string;
|
|
7465
|
-
email: string;
|
|
7466
|
-
name?: string;
|
|
7467
|
-
picture?: string;
|
|
7468
|
-
role: 'workspace_member' | 'owner';
|
|
7469
|
-
} | null;
|
|
7470
|
-
members: Array<{
|
|
7471
|
-
/**
|
|
7472
|
-
* Dazl ID for the type = "user"
|
|
7473
|
-
*/
|
|
7474
|
-
id: string;
|
|
7475
|
-
email: string;
|
|
7476
|
-
name?: string;
|
|
7477
|
-
picture?: string;
|
|
7478
|
-
role: 'workspace_member' | 'owner';
|
|
7479
|
-
}>;
|
|
7480
|
-
};
|
|
7265
|
+
200: ({
|
|
7266
|
+
status: 'authorized';
|
|
7267
|
+
} & CreateSessionAuthorized) | ({
|
|
7268
|
+
status: 'unauthorized';
|
|
7269
|
+
} & CreateSessionUnauthorized);
|
|
7481
7270
|
};
|
|
7482
7271
|
|
|
7483
|
-
export type
|
|
7272
|
+
export type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses];
|
|
7484
7273
|
|
|
7485
|
-
export type
|
|
7486
|
-
body
|
|
7487
|
-
|
|
7488
|
-
query?: {
|
|
7274
|
+
export type InitiateConnectionData = {
|
|
7275
|
+
body: {
|
|
7276
|
+
integrationName: IntegrationName;
|
|
7489
7277
|
/**
|
|
7490
|
-
*
|
|
7278
|
+
* Where the browser lands after OAuth; built by the caller
|
|
7491
7279
|
*/
|
|
7492
|
-
|
|
7280
|
+
callbackUrl: string;
|
|
7493
7281
|
};
|
|
7494
|
-
|
|
7282
|
+
path?: never;
|
|
7283
|
+
query?: never;
|
|
7284
|
+
url: '/mcp/connections';
|
|
7495
7285
|
};
|
|
7496
7286
|
|
|
7497
|
-
export type
|
|
7287
|
+
export type InitiateConnectionErrors = {
|
|
7498
7288
|
/**
|
|
7499
7289
|
* Bad request - Invalid parameters or malformed JSON
|
|
7500
7290
|
*/
|
|
@@ -7528,43 +7318,32 @@ export type GetMyValuesErrors = {
|
|
|
7528
7318
|
503: ErrorResponse;
|
|
7529
7319
|
};
|
|
7530
7320
|
|
|
7531
|
-
export type
|
|
7321
|
+
export type InitiateConnectionError = InitiateConnectionErrors[keyof InitiateConnectionErrors];
|
|
7532
7322
|
|
|
7533
|
-
export type
|
|
7323
|
+
export type InitiateConnectionResponses = {
|
|
7534
7324
|
/**
|
|
7535
|
-
*
|
|
7325
|
+
* The OAuth connection request id and the redirect URL to send the user to
|
|
7536
7326
|
*/
|
|
7537
7327
|
200: {
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
dazlUserId: string;
|
|
7541
|
-
category: string;
|
|
7542
|
-
name: string;
|
|
7543
|
-
strVal: string | null;
|
|
7544
|
-
encryptedValId: string | null;
|
|
7545
|
-
createdAt: string;
|
|
7546
|
-
updatedAt: string;
|
|
7547
|
-
encryptedValue: string | null;
|
|
7548
|
-
}>;
|
|
7328
|
+
connectionRequestId: string;
|
|
7329
|
+
redirectUrl: string;
|
|
7549
7330
|
};
|
|
7550
7331
|
};
|
|
7551
7332
|
|
|
7552
|
-
export type
|
|
7333
|
+
export type InitiateConnectionResponse = InitiateConnectionResponses[keyof InitiateConnectionResponses];
|
|
7553
7334
|
|
|
7554
|
-
export type
|
|
7335
|
+
export type FinalizeConnectionData = {
|
|
7555
7336
|
body: {
|
|
7556
|
-
|
|
7557
|
-
isSecret?: boolean;
|
|
7337
|
+
integrationName: IntegrationName;
|
|
7558
7338
|
};
|
|
7559
7339
|
path: {
|
|
7560
|
-
|
|
7561
|
-
name: string;
|
|
7340
|
+
connectionRequestId: string;
|
|
7562
7341
|
};
|
|
7563
7342
|
query?: never;
|
|
7564
|
-
url: '/
|
|
7343
|
+
url: '/mcp/connections/{connectionRequestId}/finalize';
|
|
7565
7344
|
};
|
|
7566
7345
|
|
|
7567
|
-
export type
|
|
7346
|
+
export type FinalizeConnectionErrors = {
|
|
7568
7347
|
/**
|
|
7569
7348
|
* Bad request - Invalid parameters or malformed JSON
|
|
7570
7349
|
*/
|
|
@@ -7598,29 +7377,32 @@ export type SetMyValueErrors = {
|
|
|
7598
7377
|
503: ErrorResponse;
|
|
7599
7378
|
};
|
|
7600
7379
|
|
|
7601
|
-
export type
|
|
7380
|
+
export type FinalizeConnectionError = FinalizeConnectionErrors[keyof FinalizeConnectionErrors];
|
|
7602
7381
|
|
|
7603
|
-
export type
|
|
7382
|
+
export type FinalizeConnectionResponses = {
|
|
7604
7383
|
/**
|
|
7605
|
-
*
|
|
7384
|
+
* The persisted connected-account id (ca_...)
|
|
7606
7385
|
*/
|
|
7607
7386
|
200: {
|
|
7608
|
-
|
|
7387
|
+
connectionId: string;
|
|
7609
7388
|
};
|
|
7610
7389
|
};
|
|
7611
7390
|
|
|
7612
|
-
export type
|
|
7391
|
+
export type FinalizeConnectionResponse = FinalizeConnectionResponses[keyof FinalizeConnectionResponses];
|
|
7613
7392
|
|
|
7614
|
-
export type
|
|
7393
|
+
export type GetConnectionStatusData = {
|
|
7615
7394
|
body?: never;
|
|
7616
|
-
path
|
|
7617
|
-
|
|
7395
|
+
path?: never;
|
|
7396
|
+
query?: {
|
|
7397
|
+
/**
|
|
7398
|
+
* If omitted, returns status for all integrations
|
|
7399
|
+
*/
|
|
7400
|
+
integrationName?: 'confluence' | 'figma' | 'google-docs' | 'google-sheets' | 'google-slides' | 'jira' | 'linear' | 'miro' | 'notion';
|
|
7618
7401
|
};
|
|
7619
|
-
|
|
7620
|
-
url: '/my-user-key-value/values/{categ}';
|
|
7402
|
+
url: '/mcp/connections/status';
|
|
7621
7403
|
};
|
|
7622
7404
|
|
|
7623
|
-
export type
|
|
7405
|
+
export type GetConnectionStatusErrors = {
|
|
7624
7406
|
/**
|
|
7625
7407
|
* Bad request - Invalid parameters or malformed JSON
|
|
7626
7408
|
*/
|
|
@@ -7654,35 +7436,29 @@ export type DeleteMyCategValuesErrors = {
|
|
|
7654
7436
|
503: ErrorResponse;
|
|
7655
7437
|
};
|
|
7656
7438
|
|
|
7657
|
-
export type
|
|
7439
|
+
export type GetConnectionStatusError = GetConnectionStatusErrors[keyof GetConnectionStatusErrors];
|
|
7658
7440
|
|
|
7659
|
-
export type
|
|
7441
|
+
export type GetConnectionStatusResponses = {
|
|
7660
7442
|
/**
|
|
7661
|
-
*
|
|
7443
|
+
* Active-connection status for the requested integration(s)
|
|
7662
7444
|
*/
|
|
7663
|
-
200:
|
|
7664
|
-
categ: string;
|
|
7665
|
-
};
|
|
7445
|
+
200: Array<ConnectionStatus>;
|
|
7666
7446
|
};
|
|
7667
7447
|
|
|
7668
|
-
export type
|
|
7448
|
+
export type GetConnectionStatusResponse = GetConnectionStatusResponses[keyof GetConnectionStatusResponses];
|
|
7669
7449
|
|
|
7670
|
-
export type
|
|
7671
|
-
body
|
|
7672
|
-
values: Array<{
|
|
7673
|
-
name: string;
|
|
7674
|
-
value: string;
|
|
7675
|
-
isSecret?: boolean;
|
|
7676
|
-
}>;
|
|
7677
|
-
};
|
|
7450
|
+
export type DeleteCommentData = {
|
|
7451
|
+
body?: never;
|
|
7678
7452
|
path: {
|
|
7679
|
-
|
|
7453
|
+
hostType: 'project' | 'workspace';
|
|
7454
|
+
hostId: string;
|
|
7455
|
+
commentId: string;
|
|
7680
7456
|
};
|
|
7681
7457
|
query?: never;
|
|
7682
|
-
url: '/
|
|
7458
|
+
url: '/comments/{hostType}/{hostId}/{commentId}';
|
|
7683
7459
|
};
|
|
7684
7460
|
|
|
7685
|
-
export type
|
|
7461
|
+
export type DeleteCommentErrors = {
|
|
7686
7462
|
/**
|
|
7687
7463
|
* Bad request - Invalid parameters or malformed JSON
|
|
7688
7464
|
*/
|
|
@@ -7716,31 +7492,31 @@ export type ReplaceMyCategValuesErrors = {
|
|
|
7716
7492
|
503: ErrorResponse;
|
|
7717
7493
|
};
|
|
7718
7494
|
|
|
7719
|
-
export type
|
|
7495
|
+
export type DeleteCommentError = DeleteCommentErrors[keyof DeleteCommentErrors];
|
|
7720
7496
|
|
|
7721
|
-
export type
|
|
7497
|
+
export type DeleteCommentResponses = {
|
|
7722
7498
|
/**
|
|
7723
|
-
*
|
|
7499
|
+
* Acknowledges that the comment was deleted
|
|
7724
7500
|
*/
|
|
7725
7501
|
200: {
|
|
7726
|
-
|
|
7727
|
-
id: string;
|
|
7728
|
-
name: string;
|
|
7729
|
-
}>;
|
|
7730
|
-
replaced: boolean;
|
|
7502
|
+
success: true;
|
|
7731
7503
|
};
|
|
7732
7504
|
};
|
|
7733
7505
|
|
|
7734
|
-
export type
|
|
7506
|
+
export type DeleteCommentResponse = DeleteCommentResponses[keyof DeleteCommentResponses];
|
|
7735
7507
|
|
|
7736
|
-
export type
|
|
7508
|
+
export type GetCommentData = {
|
|
7737
7509
|
body?: never;
|
|
7738
|
-
path
|
|
7510
|
+
path: {
|
|
7511
|
+
hostType: 'project' | 'workspace';
|
|
7512
|
+
hostId: string;
|
|
7513
|
+
commentId: string;
|
|
7514
|
+
};
|
|
7739
7515
|
query?: never;
|
|
7740
|
-
url: '/
|
|
7516
|
+
url: '/comments/{hostType}/{hostId}/{commentId}';
|
|
7741
7517
|
};
|
|
7742
7518
|
|
|
7743
|
-
export type
|
|
7519
|
+
export type GetCommentErrors = {
|
|
7744
7520
|
/**
|
|
7745
7521
|
* Bad request - Invalid parameters or malformed JSON
|
|
7746
7522
|
*/
|
|
@@ -7774,33 +7550,56 @@ export type GetAllErrors = {
|
|
|
7774
7550
|
503: ErrorResponse;
|
|
7775
7551
|
};
|
|
7776
7552
|
|
|
7777
|
-
export type
|
|
7553
|
+
export type GetCommentError = GetCommentErrors[keyof GetCommentErrors];
|
|
7778
7554
|
|
|
7779
|
-
export type
|
|
7555
|
+
export type GetCommentResponses = {
|
|
7780
7556
|
/**
|
|
7781
|
-
* Returns
|
|
7557
|
+
* Returns comment by id for the host entity
|
|
7782
7558
|
*/
|
|
7783
7559
|
200: {
|
|
7784
|
-
|
|
7785
|
-
|
|
7560
|
+
comment: {
|
|
7561
|
+
commentId: string;
|
|
7562
|
+
author: {
|
|
7563
|
+
dazlUserId: string;
|
|
7564
|
+
};
|
|
7565
|
+
content: string;
|
|
7566
|
+
mentions: Array<UserMention>;
|
|
7567
|
+
createdAt: string;
|
|
7568
|
+
updatedAt: string;
|
|
7569
|
+
lastActivityAt: string;
|
|
7570
|
+
isEdited: boolean;
|
|
7571
|
+
replies: Array<{
|
|
7572
|
+
replyId: string;
|
|
7573
|
+
author: {
|
|
7574
|
+
dazlUserId: string;
|
|
7575
|
+
};
|
|
7576
|
+
content: string;
|
|
7577
|
+
mentions: Array<UserMention>;
|
|
7578
|
+
createdAt: string;
|
|
7579
|
+
updatedAt: string;
|
|
7580
|
+
gitInfo?: CommentGitInfo;
|
|
7581
|
+
}>;
|
|
7582
|
+
resolved?: CommentResolved;
|
|
7583
|
+
context?: CommentContext;
|
|
7584
|
+
gitInfo?: CommentGitInfo;
|
|
7786
7585
|
};
|
|
7787
7586
|
};
|
|
7788
7587
|
};
|
|
7789
7588
|
|
|
7790
|
-
export type
|
|
7589
|
+
export type GetCommentResponse = GetCommentResponses[keyof GetCommentResponses];
|
|
7791
7590
|
|
|
7792
|
-
export type
|
|
7793
|
-
body:
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7591
|
+
export type EditCommentData = {
|
|
7592
|
+
body: EditCommentInput;
|
|
7593
|
+
path: {
|
|
7594
|
+
hostType: 'project' | 'workspace';
|
|
7595
|
+
hostId: string;
|
|
7596
|
+
commentId: string;
|
|
7797
7597
|
};
|
|
7798
|
-
path?: never;
|
|
7799
7598
|
query?: never;
|
|
7800
|
-
url: '/
|
|
7599
|
+
url: '/comments/{hostType}/{hostId}/{commentId}';
|
|
7801
7600
|
};
|
|
7802
7601
|
|
|
7803
|
-
export type
|
|
7602
|
+
export type EditCommentErrors = {
|
|
7804
7603
|
/**
|
|
7805
7604
|
* Bad request - Invalid parameters or malformed JSON
|
|
7806
7605
|
*/
|
|
@@ -7834,29 +7633,55 @@ export type OverrideAllErrors = {
|
|
|
7834
7633
|
503: ErrorResponse;
|
|
7835
7634
|
};
|
|
7836
7635
|
|
|
7837
|
-
export type
|
|
7636
|
+
export type EditCommentError = EditCommentErrors[keyof EditCommentErrors];
|
|
7838
7637
|
|
|
7839
|
-
export type
|
|
7638
|
+
export type EditCommentResponses = {
|
|
7840
7639
|
/**
|
|
7841
|
-
*
|
|
7640
|
+
* Returns the updated comment
|
|
7842
7641
|
*/
|
|
7843
7642
|
200: {
|
|
7844
|
-
|
|
7643
|
+
comment: {
|
|
7644
|
+
commentId: string;
|
|
7645
|
+
author: {
|
|
7646
|
+
dazlUserId: string;
|
|
7647
|
+
};
|
|
7648
|
+
content: string;
|
|
7649
|
+
mentions: Array<UserMention>;
|
|
7650
|
+
createdAt: string;
|
|
7651
|
+
updatedAt: string;
|
|
7652
|
+
lastActivityAt: string;
|
|
7653
|
+
isEdited: boolean;
|
|
7654
|
+
replies: Array<{
|
|
7655
|
+
replyId: string;
|
|
7656
|
+
author: {
|
|
7657
|
+
dazlUserId: string;
|
|
7658
|
+
};
|
|
7659
|
+
content: string;
|
|
7660
|
+
mentions: Array<UserMention>;
|
|
7661
|
+
createdAt: string;
|
|
7662
|
+
updatedAt: string;
|
|
7663
|
+
gitInfo?: CommentGitInfo;
|
|
7664
|
+
}>;
|
|
7665
|
+
resolved?: CommentResolved;
|
|
7666
|
+
context?: CommentContext;
|
|
7667
|
+
gitInfo?: CommentGitInfo;
|
|
7668
|
+
};
|
|
7845
7669
|
};
|
|
7846
7670
|
};
|
|
7847
7671
|
|
|
7848
|
-
export type
|
|
7672
|
+
export type EditCommentResponse = EditCommentResponses[keyof EditCommentResponses];
|
|
7849
7673
|
|
|
7850
|
-
export type
|
|
7851
|
-
body
|
|
7852
|
-
|
|
7674
|
+
export type ListCommentsData = {
|
|
7675
|
+
body?: never;
|
|
7676
|
+
path: {
|
|
7677
|
+
hostType: 'project' | 'workspace';
|
|
7678
|
+
hostId: string;
|
|
7853
7679
|
};
|
|
7854
|
-
path?: never;
|
|
7855
7680
|
query?: never;
|
|
7856
|
-
url: '/
|
|
7681
|
+
url: '/comments/{hostType}/{hostId}';
|
|
7857
7682
|
};
|
|
7858
7683
|
|
|
7859
|
-
export type
|
|
7684
|
+
export type ListCommentsErrors = {
|
|
7860
7685
|
/**
|
|
7861
7686
|
* Bad request - Invalid parameters or malformed JSON
|
|
7862
7687
|
*/
|
|
@@ -7890,35 +7715,55 @@ export type CreateSessionErrors = {
|
|
|
7890
7715
|
503: ErrorResponse;
|
|
7891
7716
|
};
|
|
7892
7717
|
|
|
7893
|
-
export type
|
|
7718
|
+
export type ListCommentsError = ListCommentsErrors[keyof ListCommentsErrors];
|
|
7894
7719
|
|
|
7895
|
-
export type
|
|
7720
|
+
export type ListCommentsResponses = {
|
|
7896
7721
|
/**
|
|
7897
|
-
*
|
|
7722
|
+
* Returns the list of comments for the host entity
|
|
7898
7723
|
*/
|
|
7899
|
-
200:
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7724
|
+
200: {
|
|
7725
|
+
comments: Array<{
|
|
7726
|
+
commentId: string;
|
|
7727
|
+
author: {
|
|
7728
|
+
dazlUserId: string;
|
|
7729
|
+
};
|
|
7730
|
+
content: string;
|
|
7731
|
+
mentions: Array<UserMention>;
|
|
7732
|
+
createdAt: string;
|
|
7733
|
+
updatedAt: string;
|
|
7734
|
+
lastActivityAt: string;
|
|
7735
|
+
isEdited: boolean;
|
|
7736
|
+
replies: Array<{
|
|
7737
|
+
replyId: string;
|
|
7738
|
+
author: {
|
|
7739
|
+
dazlUserId: string;
|
|
7740
|
+
};
|
|
7741
|
+
content: string;
|
|
7742
|
+
mentions: Array<UserMention>;
|
|
7743
|
+
createdAt: string;
|
|
7744
|
+
updatedAt: string;
|
|
7745
|
+
gitInfo?: CommentGitInfo;
|
|
7746
|
+
}>;
|
|
7747
|
+
resolved?: CommentResolved;
|
|
7748
|
+
context?: CommentContext;
|
|
7749
|
+
gitInfo?: CommentGitInfo;
|
|
7750
|
+
}>;
|
|
7751
|
+
};
|
|
7904
7752
|
};
|
|
7905
7753
|
|
|
7906
|
-
export type
|
|
7754
|
+
export type ListCommentsResponse = ListCommentsResponses[keyof ListCommentsResponses];
|
|
7907
7755
|
|
|
7908
|
-
export type
|
|
7909
|
-
body:
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
*/
|
|
7914
|
-
callbackUrl: string;
|
|
7756
|
+
export type CreateCommentData = {
|
|
7757
|
+
body: CreateCommentInput;
|
|
7758
|
+
path: {
|
|
7759
|
+
hostType: 'project' | 'workspace';
|
|
7760
|
+
hostId: string;
|
|
7915
7761
|
};
|
|
7916
|
-
path?: never;
|
|
7917
7762
|
query?: never;
|
|
7918
|
-
url: '/
|
|
7763
|
+
url: '/comments/{hostType}/{hostId}';
|
|
7919
7764
|
};
|
|
7920
7765
|
|
|
7921
|
-
export type
|
|
7766
|
+
export type CreateCommentErrors = {
|
|
7922
7767
|
/**
|
|
7923
7768
|
* Bad request - Invalid parameters or malformed JSON
|
|
7924
7769
|
*/
|
|
@@ -7952,32 +7797,139 @@ export type InitiateConnectionErrors = {
|
|
|
7952
7797
|
503: ErrorResponse;
|
|
7953
7798
|
};
|
|
7954
7799
|
|
|
7955
|
-
export type
|
|
7800
|
+
export type CreateCommentError = CreateCommentErrors[keyof CreateCommentErrors];
|
|
7956
7801
|
|
|
7957
|
-
export type
|
|
7802
|
+
export type CreateCommentResponses = {
|
|
7958
7803
|
/**
|
|
7959
|
-
*
|
|
7804
|
+
* Returns the created comment
|
|
7960
7805
|
*/
|
|
7961
7806
|
200: {
|
|
7962
|
-
|
|
7963
|
-
|
|
7807
|
+
comment: {
|
|
7808
|
+
commentId: string;
|
|
7809
|
+
author: {
|
|
7810
|
+
dazlUserId: string;
|
|
7811
|
+
};
|
|
7812
|
+
content: string;
|
|
7813
|
+
mentions: Array<UserMention>;
|
|
7814
|
+
createdAt: string;
|
|
7815
|
+
updatedAt: string;
|
|
7816
|
+
lastActivityAt: string;
|
|
7817
|
+
isEdited: boolean;
|
|
7818
|
+
replies: Array<{
|
|
7819
|
+
replyId: string;
|
|
7820
|
+
author: {
|
|
7821
|
+
dazlUserId: string;
|
|
7822
|
+
};
|
|
7823
|
+
content: string;
|
|
7824
|
+
mentions: Array<UserMention>;
|
|
7825
|
+
createdAt: string;
|
|
7826
|
+
updatedAt: string;
|
|
7827
|
+
gitInfo?: CommentGitInfo;
|
|
7828
|
+
}>;
|
|
7829
|
+
resolved?: CommentResolved;
|
|
7830
|
+
context?: CommentContext;
|
|
7831
|
+
gitInfo?: CommentGitInfo;
|
|
7832
|
+
};
|
|
7964
7833
|
};
|
|
7965
7834
|
};
|
|
7966
7835
|
|
|
7967
|
-
export type
|
|
7836
|
+
export type CreateCommentResponse = CreateCommentResponses[keyof CreateCommentResponses];
|
|
7968
7837
|
|
|
7969
|
-
export type
|
|
7970
|
-
body
|
|
7971
|
-
|
|
7838
|
+
export type ResolveCommentData = {
|
|
7839
|
+
body?: never;
|
|
7840
|
+
path: {
|
|
7841
|
+
hostType: 'project' | 'workspace';
|
|
7842
|
+
hostId: string;
|
|
7843
|
+
commentId: string;
|
|
7972
7844
|
};
|
|
7845
|
+
query?: never;
|
|
7846
|
+
url: '/comments/{hostType}/{hostId}/{commentId}/resolve';
|
|
7847
|
+
};
|
|
7848
|
+
|
|
7849
|
+
export type ResolveCommentErrors = {
|
|
7850
|
+
/**
|
|
7851
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7852
|
+
*/
|
|
7853
|
+
400: {
|
|
7854
|
+
message: string;
|
|
7855
|
+
issues?: string;
|
|
7856
|
+
};
|
|
7857
|
+
/**
|
|
7858
|
+
* Unauthorized
|
|
7859
|
+
*/
|
|
7860
|
+
401: ErrorResponse;
|
|
7861
|
+
/**
|
|
7862
|
+
* Forbidden
|
|
7863
|
+
*/
|
|
7864
|
+
403: ErrorResponse;
|
|
7865
|
+
/**
|
|
7866
|
+
* Not Found
|
|
7867
|
+
*/
|
|
7868
|
+
404: ErrorResponse;
|
|
7869
|
+
/**
|
|
7870
|
+
* Conflict
|
|
7871
|
+
*/
|
|
7872
|
+
409: ErrorResponse;
|
|
7873
|
+
/**
|
|
7874
|
+
* Internal server error
|
|
7875
|
+
*/
|
|
7876
|
+
500: ErrorResponse;
|
|
7877
|
+
/**
|
|
7878
|
+
* Service Unavailable
|
|
7879
|
+
*/
|
|
7880
|
+
503: ErrorResponse;
|
|
7881
|
+
};
|
|
7882
|
+
|
|
7883
|
+
export type ResolveCommentError = ResolveCommentErrors[keyof ResolveCommentErrors];
|
|
7884
|
+
|
|
7885
|
+
export type ResolveCommentResponses = {
|
|
7886
|
+
/**
|
|
7887
|
+
* Returns the resolved comment
|
|
7888
|
+
*/
|
|
7889
|
+
200: {
|
|
7890
|
+
comment: {
|
|
7891
|
+
commentId: string;
|
|
7892
|
+
author: {
|
|
7893
|
+
dazlUserId: string;
|
|
7894
|
+
};
|
|
7895
|
+
content: string;
|
|
7896
|
+
mentions: Array<UserMention>;
|
|
7897
|
+
createdAt: string;
|
|
7898
|
+
updatedAt: string;
|
|
7899
|
+
lastActivityAt: string;
|
|
7900
|
+
isEdited: boolean;
|
|
7901
|
+
replies: Array<{
|
|
7902
|
+
replyId: string;
|
|
7903
|
+
author: {
|
|
7904
|
+
dazlUserId: string;
|
|
7905
|
+
};
|
|
7906
|
+
content: string;
|
|
7907
|
+
mentions: Array<UserMention>;
|
|
7908
|
+
createdAt: string;
|
|
7909
|
+
updatedAt: string;
|
|
7910
|
+
gitInfo?: CommentGitInfo;
|
|
7911
|
+
}>;
|
|
7912
|
+
resolved?: CommentResolved;
|
|
7913
|
+
context?: CommentContext;
|
|
7914
|
+
gitInfo?: CommentGitInfo;
|
|
7915
|
+
};
|
|
7916
|
+
};
|
|
7917
|
+
};
|
|
7918
|
+
|
|
7919
|
+
export type ResolveCommentResponse = ResolveCommentResponses[keyof ResolveCommentResponses];
|
|
7920
|
+
|
|
7921
|
+
export type ReopenCommentData = {
|
|
7922
|
+
body?: never;
|
|
7973
7923
|
path: {
|
|
7974
|
-
|
|
7924
|
+
hostType: 'project' | 'workspace';
|
|
7925
|
+
hostId: string;
|
|
7926
|
+
commentId: string;
|
|
7975
7927
|
};
|
|
7976
7928
|
query?: never;
|
|
7977
|
-
url: '/
|
|
7929
|
+
url: '/comments/{hostType}/{hostId}/{commentId}/reopen';
|
|
7978
7930
|
};
|
|
7979
7931
|
|
|
7980
|
-
export type
|
|
7932
|
+
export type ReopenCommentErrors = {
|
|
7981
7933
|
/**
|
|
7982
7934
|
* Bad request - Invalid parameters or malformed JSON
|
|
7983
7935
|
*/
|
|
@@ -8011,32 +7963,125 @@ export type FinalizeConnectionErrors = {
|
|
|
8011
7963
|
503: ErrorResponse;
|
|
8012
7964
|
};
|
|
8013
7965
|
|
|
8014
|
-
export type
|
|
7966
|
+
export type ReopenCommentError = ReopenCommentErrors[keyof ReopenCommentErrors];
|
|
8015
7967
|
|
|
8016
|
-
export type
|
|
7968
|
+
export type ReopenCommentResponses = {
|
|
8017
7969
|
/**
|
|
8018
|
-
*
|
|
7970
|
+
* Returns the reopened comment
|
|
8019
7971
|
*/
|
|
8020
7972
|
200: {
|
|
8021
|
-
|
|
7973
|
+
comment: {
|
|
7974
|
+
commentId: string;
|
|
7975
|
+
author: {
|
|
7976
|
+
dazlUserId: string;
|
|
7977
|
+
};
|
|
7978
|
+
content: string;
|
|
7979
|
+
mentions: Array<UserMention>;
|
|
7980
|
+
createdAt: string;
|
|
7981
|
+
updatedAt: string;
|
|
7982
|
+
lastActivityAt: string;
|
|
7983
|
+
isEdited: boolean;
|
|
7984
|
+
replies: Array<{
|
|
7985
|
+
replyId: string;
|
|
7986
|
+
author: {
|
|
7987
|
+
dazlUserId: string;
|
|
7988
|
+
};
|
|
7989
|
+
content: string;
|
|
7990
|
+
mentions: Array<UserMention>;
|
|
7991
|
+
createdAt: string;
|
|
7992
|
+
updatedAt: string;
|
|
7993
|
+
gitInfo?: CommentGitInfo;
|
|
7994
|
+
}>;
|
|
7995
|
+
resolved?: CommentResolved;
|
|
7996
|
+
context?: CommentContext;
|
|
7997
|
+
gitInfo?: CommentGitInfo;
|
|
7998
|
+
};
|
|
8022
7999
|
};
|
|
8023
8000
|
};
|
|
8024
8001
|
|
|
8025
|
-
export type
|
|
8002
|
+
export type ReopenCommentResponse = ReopenCommentResponses[keyof ReopenCommentResponses];
|
|
8026
8003
|
|
|
8027
|
-
export type
|
|
8004
|
+
export type CreateReplyData = {
|
|
8005
|
+
body: CreateReplyInput;
|
|
8006
|
+
path: {
|
|
8007
|
+
hostType: 'project' | 'workspace';
|
|
8008
|
+
hostId: string;
|
|
8009
|
+
commentId: string;
|
|
8010
|
+
};
|
|
8011
|
+
query?: never;
|
|
8012
|
+
url: '/comments/{hostType}/{hostId}/{commentId}/replies';
|
|
8013
|
+
};
|
|
8014
|
+
|
|
8015
|
+
export type CreateReplyErrors = {
|
|
8016
|
+
/**
|
|
8017
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8018
|
+
*/
|
|
8019
|
+
400: {
|
|
8020
|
+
message: string;
|
|
8021
|
+
issues?: string;
|
|
8022
|
+
};
|
|
8023
|
+
/**
|
|
8024
|
+
* Unauthorized
|
|
8025
|
+
*/
|
|
8026
|
+
401: ErrorResponse;
|
|
8027
|
+
/**
|
|
8028
|
+
* Forbidden
|
|
8029
|
+
*/
|
|
8030
|
+
403: ErrorResponse;
|
|
8031
|
+
/**
|
|
8032
|
+
* Not Found
|
|
8033
|
+
*/
|
|
8034
|
+
404: ErrorResponse;
|
|
8035
|
+
/**
|
|
8036
|
+
* Conflict
|
|
8037
|
+
*/
|
|
8038
|
+
409: ErrorResponse;
|
|
8039
|
+
/**
|
|
8040
|
+
* Internal server error
|
|
8041
|
+
*/
|
|
8042
|
+
500: ErrorResponse;
|
|
8043
|
+
/**
|
|
8044
|
+
* Service Unavailable
|
|
8045
|
+
*/
|
|
8046
|
+
503: ErrorResponse;
|
|
8047
|
+
};
|
|
8048
|
+
|
|
8049
|
+
export type CreateReplyError = CreateReplyErrors[keyof CreateReplyErrors];
|
|
8050
|
+
|
|
8051
|
+
export type CreateReplyResponses = {
|
|
8052
|
+
/**
|
|
8053
|
+
* Returns the created reply
|
|
8054
|
+
*/
|
|
8055
|
+
200: {
|
|
8056
|
+
reply: {
|
|
8057
|
+
replyId: string;
|
|
8058
|
+
author: {
|
|
8059
|
+
dazlUserId: string;
|
|
8060
|
+
};
|
|
8061
|
+
content: string;
|
|
8062
|
+
mentions: Array<UserMention>;
|
|
8063
|
+
createdAt: string;
|
|
8064
|
+
updatedAt: string;
|
|
8065
|
+
gitInfo?: CommentGitInfo;
|
|
8066
|
+
};
|
|
8067
|
+
};
|
|
8068
|
+
};
|
|
8069
|
+
|
|
8070
|
+
export type CreateReplyResponse = CreateReplyResponses[keyof CreateReplyResponses];
|
|
8071
|
+
|
|
8072
|
+
export type DeleteReplyData = {
|
|
8028
8073
|
body?: never;
|
|
8029
|
-
path
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
integrationName?: 'confluence' | 'figma' | 'google-docs' | 'google-sheets' | 'google-slides' | 'jira' | 'linear' | 'miro' | 'notion';
|
|
8074
|
+
path: {
|
|
8075
|
+
hostType: 'project' | 'workspace';
|
|
8076
|
+
hostId: string;
|
|
8077
|
+
commentId: string;
|
|
8078
|
+
replyId: string;
|
|
8035
8079
|
};
|
|
8036
|
-
|
|
8080
|
+
query?: never;
|
|
8081
|
+
url: '/comments/{hostType}/{hostId}/{commentId}/replies/{replyId}';
|
|
8037
8082
|
};
|
|
8038
8083
|
|
|
8039
|
-
export type
|
|
8084
|
+
export type DeleteReplyErrors = {
|
|
8040
8085
|
/**
|
|
8041
8086
|
* Bad request - Invalid parameters or malformed JSON
|
|
8042
8087
|
*/
|
|
@@ -8070,13 +8115,84 @@ export type GetConnectionStatusErrors = {
|
|
|
8070
8115
|
503: ErrorResponse;
|
|
8071
8116
|
};
|
|
8072
8117
|
|
|
8073
|
-
export type
|
|
8118
|
+
export type DeleteReplyError = DeleteReplyErrors[keyof DeleteReplyErrors];
|
|
8074
8119
|
|
|
8075
|
-
export type
|
|
8120
|
+
export type DeleteReplyResponses = {
|
|
8076
8121
|
/**
|
|
8077
|
-
*
|
|
8122
|
+
* Acknowledges that the reply was deleted
|
|
8078
8123
|
*/
|
|
8079
|
-
200:
|
|
8124
|
+
200: {
|
|
8125
|
+
success: true;
|
|
8126
|
+
};
|
|
8080
8127
|
};
|
|
8081
8128
|
|
|
8082
|
-
export type
|
|
8129
|
+
export type DeleteReplyResponse = DeleteReplyResponses[keyof DeleteReplyResponses];
|
|
8130
|
+
|
|
8131
|
+
export type EditReplyData = {
|
|
8132
|
+
body: EditReplyInput;
|
|
8133
|
+
path: {
|
|
8134
|
+
hostType: 'project' | 'workspace';
|
|
8135
|
+
hostId: string;
|
|
8136
|
+
commentId: string;
|
|
8137
|
+
replyId: string;
|
|
8138
|
+
};
|
|
8139
|
+
query?: never;
|
|
8140
|
+
url: '/comments/{hostType}/{hostId}/{commentId}/replies/{replyId}';
|
|
8141
|
+
};
|
|
8142
|
+
|
|
8143
|
+
export type EditReplyErrors = {
|
|
8144
|
+
/**
|
|
8145
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8146
|
+
*/
|
|
8147
|
+
400: {
|
|
8148
|
+
message: string;
|
|
8149
|
+
issues?: string;
|
|
8150
|
+
};
|
|
8151
|
+
/**
|
|
8152
|
+
* Unauthorized
|
|
8153
|
+
*/
|
|
8154
|
+
401: ErrorResponse;
|
|
8155
|
+
/**
|
|
8156
|
+
* Forbidden
|
|
8157
|
+
*/
|
|
8158
|
+
403: ErrorResponse;
|
|
8159
|
+
/**
|
|
8160
|
+
* Not Found
|
|
8161
|
+
*/
|
|
8162
|
+
404: ErrorResponse;
|
|
8163
|
+
/**
|
|
8164
|
+
* Conflict
|
|
8165
|
+
*/
|
|
8166
|
+
409: ErrorResponse;
|
|
8167
|
+
/**
|
|
8168
|
+
* Internal server error
|
|
8169
|
+
*/
|
|
8170
|
+
500: ErrorResponse;
|
|
8171
|
+
/**
|
|
8172
|
+
* Service Unavailable
|
|
8173
|
+
*/
|
|
8174
|
+
503: ErrorResponse;
|
|
8175
|
+
};
|
|
8176
|
+
|
|
8177
|
+
export type EditReplyError = EditReplyErrors[keyof EditReplyErrors];
|
|
8178
|
+
|
|
8179
|
+
export type EditReplyResponses = {
|
|
8180
|
+
/**
|
|
8181
|
+
* Returns the updated reply
|
|
8182
|
+
*/
|
|
8183
|
+
200: {
|
|
8184
|
+
reply: {
|
|
8185
|
+
replyId: string;
|
|
8186
|
+
author: {
|
|
8187
|
+
dazlUserId: string;
|
|
8188
|
+
};
|
|
8189
|
+
content: string;
|
|
8190
|
+
mentions: Array<UserMention>;
|
|
8191
|
+
createdAt: string;
|
|
8192
|
+
updatedAt: string;
|
|
8193
|
+
gitInfo?: CommentGitInfo;
|
|
8194
|
+
};
|
|
8195
|
+
};
|
|
8196
|
+
};
|
|
8197
|
+
|
|
8198
|
+
export type EditReplyResponse = EditReplyResponses[keyof EditReplyResponses];
|