@dazl/internal-api-client 1.15.0 → 1.17.0
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/client/utils.gen.js +1 -1
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +5 -3
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +23 -10
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +174 -36
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/utils.gen.ts +1 -1
- package/src/core/types.gen.ts +1 -1
- package/src/core/utils.gen.ts +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +26 -11
- package/src/types.gen.ts +185 -36
package/src/types.gen.ts
CHANGED
|
@@ -147,6 +147,7 @@ export type InternalCreateCommentInput = {
|
|
|
147
147
|
export type InternalEditCommentInput = {
|
|
148
148
|
content: string;
|
|
149
149
|
mentions?: Array<UserMention>;
|
|
150
|
+
editorDazlUserId?: string;
|
|
150
151
|
};
|
|
151
152
|
|
|
152
153
|
export type InternalCreateReplyInput = {
|
|
@@ -158,6 +159,7 @@ export type InternalCreateReplyInput = {
|
|
|
158
159
|
export type InternalEditReplyInput = {
|
|
159
160
|
content: string;
|
|
160
161
|
mentions?: Array<UserMention>;
|
|
162
|
+
editorDazlUserId?: string;
|
|
161
163
|
};
|
|
162
164
|
|
|
163
165
|
export type TemplateRaw = {
|
|
@@ -349,6 +351,13 @@ export type UserRaw = {
|
|
|
349
351
|
picture?: string | null;
|
|
350
352
|
};
|
|
351
353
|
|
|
354
|
+
export type UserDisplayInfoResponse = {
|
|
355
|
+
dazlId: string;
|
|
356
|
+
name: string;
|
|
357
|
+
email: string;
|
|
358
|
+
picture?: string | null;
|
|
359
|
+
};
|
|
360
|
+
|
|
352
361
|
export type DeleteProjectInput = {
|
|
353
362
|
/**
|
|
354
363
|
* The admin user's internal ID
|
|
@@ -2735,16 +2744,76 @@ export type DeleteProjectInvitationResponses = {
|
|
|
2735
2744
|
|
|
2736
2745
|
export type DeleteProjectInvitationResponse = DeleteProjectInvitationResponses[keyof DeleteProjectInvitationResponses];
|
|
2737
2746
|
|
|
2738
|
-
export type
|
|
2747
|
+
export type InternalDeleteCommentData = {
|
|
2739
2748
|
body?: never;
|
|
2740
2749
|
path: {
|
|
2741
2750
|
projectId: string;
|
|
2751
|
+
commentId: string;
|
|
2752
|
+
};
|
|
2753
|
+
query?: {
|
|
2754
|
+
editorDazlUserId?: string;
|
|
2755
|
+
};
|
|
2756
|
+
url: '/project/{projectId}/comments/{commentId}';
|
|
2757
|
+
};
|
|
2758
|
+
|
|
2759
|
+
export type InternalDeleteCommentErrors = {
|
|
2760
|
+
/**
|
|
2761
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
2762
|
+
*/
|
|
2763
|
+
400: {
|
|
2764
|
+
message: string;
|
|
2765
|
+
issues?: string;
|
|
2766
|
+
};
|
|
2767
|
+
/**
|
|
2768
|
+
* Unauthorized
|
|
2769
|
+
*/
|
|
2770
|
+
401: ErrorResponse;
|
|
2771
|
+
/**
|
|
2772
|
+
* Forbidden
|
|
2773
|
+
*/
|
|
2774
|
+
403: ErrorResponse;
|
|
2775
|
+
/**
|
|
2776
|
+
* Not Found
|
|
2777
|
+
*/
|
|
2778
|
+
404: ErrorResponse;
|
|
2779
|
+
/**
|
|
2780
|
+
* Conflict
|
|
2781
|
+
*/
|
|
2782
|
+
409: ErrorResponse;
|
|
2783
|
+
/**
|
|
2784
|
+
* Internal server error
|
|
2785
|
+
*/
|
|
2786
|
+
500: ErrorResponse;
|
|
2787
|
+
/**
|
|
2788
|
+
* Service Unavailable
|
|
2789
|
+
*/
|
|
2790
|
+
503: ErrorResponse;
|
|
2791
|
+
};
|
|
2792
|
+
|
|
2793
|
+
export type InternalDeleteCommentError = InternalDeleteCommentErrors[keyof InternalDeleteCommentErrors];
|
|
2794
|
+
|
|
2795
|
+
export type InternalDeleteCommentResponses = {
|
|
2796
|
+
/**
|
|
2797
|
+
* Acknowledges that the comment was deleted
|
|
2798
|
+
*/
|
|
2799
|
+
200: {
|
|
2800
|
+
success: true;
|
|
2801
|
+
};
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
export type InternalDeleteCommentResponse = InternalDeleteCommentResponses[keyof InternalDeleteCommentResponses];
|
|
2805
|
+
|
|
2806
|
+
export type InternalGetProjectCommentData = {
|
|
2807
|
+
body?: never;
|
|
2808
|
+
path: {
|
|
2809
|
+
projectId: string;
|
|
2810
|
+
commentId: string;
|
|
2742
2811
|
};
|
|
2743
2812
|
query?: never;
|
|
2744
|
-
url: '/project/{projectId}/comments';
|
|
2813
|
+
url: '/project/{projectId}/comments/{commentId}';
|
|
2745
2814
|
};
|
|
2746
2815
|
|
|
2747
|
-
export type
|
|
2816
|
+
export type InternalGetProjectCommentErrors = {
|
|
2748
2817
|
/**
|
|
2749
2818
|
* Bad request - Invalid parameters or malformed JSON
|
|
2750
2819
|
*/
|
|
@@ -2778,14 +2847,14 @@ export type InternalListProjectCommentsErrors = {
|
|
|
2778
2847
|
503: ErrorResponse;
|
|
2779
2848
|
};
|
|
2780
2849
|
|
|
2781
|
-
export type
|
|
2850
|
+
export type InternalGetProjectCommentError = InternalGetProjectCommentErrors[keyof InternalGetProjectCommentErrors];
|
|
2782
2851
|
|
|
2783
|
-
export type
|
|
2852
|
+
export type InternalGetProjectCommentResponses = {
|
|
2784
2853
|
/**
|
|
2785
|
-
* Returns
|
|
2854
|
+
* Returns comment by id for the project
|
|
2786
2855
|
*/
|
|
2787
2856
|
200: {
|
|
2788
|
-
|
|
2857
|
+
comment: {
|
|
2789
2858
|
commentId: string;
|
|
2790
2859
|
author: {
|
|
2791
2860
|
dazlUserId: string;
|
|
@@ -2808,22 +2877,23 @@ export type InternalListProjectCommentsResponses = {
|
|
|
2808
2877
|
}>;
|
|
2809
2878
|
resolved?: CommentResolved;
|
|
2810
2879
|
context?: CommentContext;
|
|
2811
|
-
}
|
|
2880
|
+
};
|
|
2812
2881
|
};
|
|
2813
2882
|
};
|
|
2814
2883
|
|
|
2815
|
-
export type
|
|
2884
|
+
export type InternalGetProjectCommentResponse = InternalGetProjectCommentResponses[keyof InternalGetProjectCommentResponses];
|
|
2816
2885
|
|
|
2817
|
-
export type
|
|
2818
|
-
body:
|
|
2886
|
+
export type InternalEditCommentData = {
|
|
2887
|
+
body: InternalEditCommentInput;
|
|
2819
2888
|
path: {
|
|
2820
2889
|
projectId: string;
|
|
2890
|
+
commentId: string;
|
|
2821
2891
|
};
|
|
2822
2892
|
query?: never;
|
|
2823
|
-
url: '/project/{projectId}/comments';
|
|
2893
|
+
url: '/project/{projectId}/comments/{commentId}';
|
|
2824
2894
|
};
|
|
2825
2895
|
|
|
2826
|
-
export type
|
|
2896
|
+
export type InternalEditCommentErrors = {
|
|
2827
2897
|
/**
|
|
2828
2898
|
* Bad request - Invalid parameters or malformed JSON
|
|
2829
2899
|
*/
|
|
@@ -2857,11 +2927,11 @@ export type InternalCreateCommentErrors = {
|
|
|
2857
2927
|
503: ErrorResponse;
|
|
2858
2928
|
};
|
|
2859
2929
|
|
|
2860
|
-
export type
|
|
2930
|
+
export type InternalEditCommentError = InternalEditCommentErrors[keyof InternalEditCommentErrors];
|
|
2861
2931
|
|
|
2862
|
-
export type
|
|
2932
|
+
export type InternalEditCommentResponses = {
|
|
2863
2933
|
/**
|
|
2864
|
-
* Returns the
|
|
2934
|
+
* Returns the updated comment
|
|
2865
2935
|
*/
|
|
2866
2936
|
200: {
|
|
2867
2937
|
comment: {
|
|
@@ -2891,19 +2961,18 @@ export type InternalCreateCommentResponses = {
|
|
|
2891
2961
|
};
|
|
2892
2962
|
};
|
|
2893
2963
|
|
|
2894
|
-
export type
|
|
2964
|
+
export type InternalEditCommentResponse = InternalEditCommentResponses[keyof InternalEditCommentResponses];
|
|
2895
2965
|
|
|
2896
|
-
export type
|
|
2966
|
+
export type InternalListProjectCommentsData = {
|
|
2897
2967
|
body?: never;
|
|
2898
2968
|
path: {
|
|
2899
2969
|
projectId: string;
|
|
2900
|
-
commentId: string;
|
|
2901
2970
|
};
|
|
2902
2971
|
query?: never;
|
|
2903
|
-
url: '/project/{projectId}/comments
|
|
2972
|
+
url: '/project/{projectId}/comments';
|
|
2904
2973
|
};
|
|
2905
2974
|
|
|
2906
|
-
export type
|
|
2975
|
+
export type InternalListProjectCommentsErrors = {
|
|
2907
2976
|
/**
|
|
2908
2977
|
* Bad request - Invalid parameters or malformed JSON
|
|
2909
2978
|
*/
|
|
@@ -2937,30 +3006,52 @@ export type InternalDeleteCommentErrors = {
|
|
|
2937
3006
|
503: ErrorResponse;
|
|
2938
3007
|
};
|
|
2939
3008
|
|
|
2940
|
-
export type
|
|
3009
|
+
export type InternalListProjectCommentsError = InternalListProjectCommentsErrors[keyof InternalListProjectCommentsErrors];
|
|
2941
3010
|
|
|
2942
|
-
export type
|
|
3011
|
+
export type InternalListProjectCommentsResponses = {
|
|
2943
3012
|
/**
|
|
2944
|
-
*
|
|
3013
|
+
* Returns the list of comments for the project
|
|
2945
3014
|
*/
|
|
2946
3015
|
200: {
|
|
2947
|
-
|
|
3016
|
+
comments: Array<{
|
|
3017
|
+
commentId: string;
|
|
3018
|
+
author: {
|
|
3019
|
+
dazlUserId: string;
|
|
3020
|
+
};
|
|
3021
|
+
content: string;
|
|
3022
|
+
mentions: Array<UserMention>;
|
|
3023
|
+
createdAt: string;
|
|
3024
|
+
updatedAt: string;
|
|
3025
|
+
lastActivityAt: string;
|
|
3026
|
+
isEdited: boolean;
|
|
3027
|
+
replies: Array<{
|
|
3028
|
+
replyId: string;
|
|
3029
|
+
author: {
|
|
3030
|
+
dazlUserId: string;
|
|
3031
|
+
};
|
|
3032
|
+
content: string;
|
|
3033
|
+
mentions: Array<UserMention>;
|
|
3034
|
+
createdAt: string;
|
|
3035
|
+
updatedAt: string;
|
|
3036
|
+
}>;
|
|
3037
|
+
resolved?: CommentResolved;
|
|
3038
|
+
context?: CommentContext;
|
|
3039
|
+
}>;
|
|
2948
3040
|
};
|
|
2949
3041
|
};
|
|
2950
3042
|
|
|
2951
|
-
export type
|
|
3043
|
+
export type InternalListProjectCommentsResponse = InternalListProjectCommentsResponses[keyof InternalListProjectCommentsResponses];
|
|
2952
3044
|
|
|
2953
|
-
export type
|
|
2954
|
-
body:
|
|
3045
|
+
export type InternalCreateCommentData = {
|
|
3046
|
+
body: InternalCreateCommentInput;
|
|
2955
3047
|
path: {
|
|
2956
3048
|
projectId: string;
|
|
2957
|
-
commentId: string;
|
|
2958
3049
|
};
|
|
2959
3050
|
query?: never;
|
|
2960
|
-
url: '/project/{projectId}/comments
|
|
3051
|
+
url: '/project/{projectId}/comments';
|
|
2961
3052
|
};
|
|
2962
3053
|
|
|
2963
|
-
export type
|
|
3054
|
+
export type InternalCreateCommentErrors = {
|
|
2964
3055
|
/**
|
|
2965
3056
|
* Bad request - Invalid parameters or malformed JSON
|
|
2966
3057
|
*/
|
|
@@ -2994,11 +3085,11 @@ export type InternalEditCommentErrors = {
|
|
|
2994
3085
|
503: ErrorResponse;
|
|
2995
3086
|
};
|
|
2996
3087
|
|
|
2997
|
-
export type
|
|
3088
|
+
export type InternalCreateCommentError = InternalCreateCommentErrors[keyof InternalCreateCommentErrors];
|
|
2998
3089
|
|
|
2999
|
-
export type
|
|
3090
|
+
export type InternalCreateCommentResponses = {
|
|
3000
3091
|
/**
|
|
3001
|
-
* Returns the
|
|
3092
|
+
* Returns the created comment
|
|
3002
3093
|
*/
|
|
3003
3094
|
200: {
|
|
3004
3095
|
comment: {
|
|
@@ -3028,7 +3119,7 @@ export type InternalEditCommentResponses = {
|
|
|
3028
3119
|
};
|
|
3029
3120
|
};
|
|
3030
3121
|
|
|
3031
|
-
export type
|
|
3122
|
+
export type InternalCreateCommentResponse = InternalCreateCommentResponses[keyof InternalCreateCommentResponses];
|
|
3032
3123
|
|
|
3033
3124
|
export type InternalResolveCommentData = {
|
|
3034
3125
|
body?: never;
|
|
@@ -3265,7 +3356,9 @@ export type InternalDeleteReplyData = {
|
|
|
3265
3356
|
commentId: string;
|
|
3266
3357
|
replyId: string;
|
|
3267
3358
|
};
|
|
3268
|
-
query?:
|
|
3359
|
+
query?: {
|
|
3360
|
+
editorDazlUserId?: string;
|
|
3361
|
+
};
|
|
3269
3362
|
url: '/project/{projectId}/comments/{commentId}/replies/{replyId}';
|
|
3270
3363
|
};
|
|
3271
3364
|
|
|
@@ -4496,6 +4589,62 @@ export type UpdateUserResponses = {
|
|
|
4496
4589
|
|
|
4497
4590
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
4498
4591
|
|
|
4592
|
+
export type GetUsersByDazlIdsData = {
|
|
4593
|
+
body: {
|
|
4594
|
+
dazlIds: Array<string>;
|
|
4595
|
+
};
|
|
4596
|
+
path?: never;
|
|
4597
|
+
query?: never;
|
|
4598
|
+
url: '/user/list-by-dazl-ids';
|
|
4599
|
+
};
|
|
4600
|
+
|
|
4601
|
+
export type GetUsersByDazlIdsErrors = {
|
|
4602
|
+
/**
|
|
4603
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
4604
|
+
*/
|
|
4605
|
+
400: {
|
|
4606
|
+
message: string;
|
|
4607
|
+
issues?: string;
|
|
4608
|
+
};
|
|
4609
|
+
/**
|
|
4610
|
+
* Unauthorized
|
|
4611
|
+
*/
|
|
4612
|
+
401: ErrorResponse;
|
|
4613
|
+
/**
|
|
4614
|
+
* Forbidden
|
|
4615
|
+
*/
|
|
4616
|
+
403: ErrorResponse;
|
|
4617
|
+
/**
|
|
4618
|
+
* Not Found
|
|
4619
|
+
*/
|
|
4620
|
+
404: ErrorResponse;
|
|
4621
|
+
/**
|
|
4622
|
+
* Conflict
|
|
4623
|
+
*/
|
|
4624
|
+
409: ErrorResponse;
|
|
4625
|
+
/**
|
|
4626
|
+
* Internal server error
|
|
4627
|
+
*/
|
|
4628
|
+
500: ErrorResponse;
|
|
4629
|
+
/**
|
|
4630
|
+
* Service Unavailable
|
|
4631
|
+
*/
|
|
4632
|
+
503: ErrorResponse;
|
|
4633
|
+
};
|
|
4634
|
+
|
|
4635
|
+
export type GetUsersByDazlIdsError = GetUsersByDazlIdsErrors[keyof GetUsersByDazlIdsErrors];
|
|
4636
|
+
|
|
4637
|
+
export type GetUsersByDazlIdsResponses = {
|
|
4638
|
+
/**
|
|
4639
|
+
* Returns the requested users
|
|
4640
|
+
*/
|
|
4641
|
+
200: {
|
|
4642
|
+
users: Array<UserDisplayInfoResponse>;
|
|
4643
|
+
};
|
|
4644
|
+
};
|
|
4645
|
+
|
|
4646
|
+
export type GetUsersByDazlIdsResponse = GetUsersByDazlIdsResponses[keyof GetUsersByDazlIdsResponses];
|
|
4647
|
+
|
|
4499
4648
|
export type CreateUserData = {
|
|
4500
4649
|
body: {
|
|
4501
4650
|
dazlId: string;
|