@dazl/api-client 1.0.7 → 1.0.9
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/db/generated-types.d.ts +11 -0
- package/dist/db/generated-types.d.ts.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/sdk.gen.d.ts +9 -1
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +19 -0
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +142 -0
- 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 +5 -1
- package/dist/public/sdk.gen.d.ts.map +1 -1
- package/dist/public/sdk.gen.js +15 -0
- package/dist/public/sdk.gen.js.map +1 -1
- package/dist/public/types.gen.d.ts +104 -0
- package/dist/public/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/db/generated-types.ts +12 -0
- package/src/internal/index.ts +1 -1
- package/src/internal/sdk.gen.ts +22 -1
- package/src/internal/types.gen.ts +153 -0
- package/src/public/index.ts +2 -2
- package/src/public/sdk.gen.ts +18 -1
- package/src/public/types.gen.ts +114 -0
|
@@ -164,6 +164,14 @@ export type UserDisplayInfoResponse = {
|
|
|
164
164
|
export type UserMention = {
|
|
165
165
|
dazlUserId: string;
|
|
166
166
|
};
|
|
167
|
+
export type CommentGitInfo = {
|
|
168
|
+
repoFullName?: string;
|
|
169
|
+
branch?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Git commit SHA
|
|
172
|
+
*/
|
|
173
|
+
commit?: string | string;
|
|
174
|
+
};
|
|
167
175
|
export type CommentResolved = {
|
|
168
176
|
dazlUserId: string;
|
|
169
177
|
resolvedAt: string;
|
|
@@ -436,6 +444,7 @@ export type CreateCommentInput = {
|
|
|
436
444
|
content: string;
|
|
437
445
|
mentions?: Array<UserMention>;
|
|
438
446
|
context?: CommentContext;
|
|
447
|
+
gitInfo?: CommentGitInfo;
|
|
439
448
|
};
|
|
440
449
|
export type EditCommentInput = {
|
|
441
450
|
content: string;
|
|
@@ -444,6 +453,7 @@ export type EditCommentInput = {
|
|
|
444
453
|
export type CreateReplyInput = {
|
|
445
454
|
content: string;
|
|
446
455
|
mentions?: Array<UserMention>;
|
|
456
|
+
gitInfo?: CommentGitInfo;
|
|
447
457
|
};
|
|
448
458
|
export type EditReplyInput = {
|
|
449
459
|
content: string;
|
|
@@ -2948,9 +2958,11 @@ export type InternalGetProjectCommentResponses = {
|
|
|
2948
2958
|
mentions: Array<UserMention>;
|
|
2949
2959
|
createdAt: string;
|
|
2950
2960
|
updatedAt: string;
|
|
2961
|
+
gitInfo?: CommentGitInfo;
|
|
2951
2962
|
}>;
|
|
2952
2963
|
resolved?: CommentResolved;
|
|
2953
2964
|
context?: CommentContext;
|
|
2965
|
+
gitInfo?: CommentGitInfo;
|
|
2954
2966
|
};
|
|
2955
2967
|
};
|
|
2956
2968
|
};
|
|
@@ -3023,9 +3035,11 @@ export type InternalEditCommentResponses = {
|
|
|
3023
3035
|
mentions: Array<UserMention>;
|
|
3024
3036
|
createdAt: string;
|
|
3025
3037
|
updatedAt: string;
|
|
3038
|
+
gitInfo?: CommentGitInfo;
|
|
3026
3039
|
}>;
|
|
3027
3040
|
resolved?: CommentResolved;
|
|
3028
3041
|
context?: CommentContext;
|
|
3042
|
+
gitInfo?: CommentGitInfo;
|
|
3029
3043
|
};
|
|
3030
3044
|
};
|
|
3031
3045
|
};
|
|
@@ -3097,9 +3111,11 @@ export type InternalListProjectCommentsResponses = {
|
|
|
3097
3111
|
mentions: Array<UserMention>;
|
|
3098
3112
|
createdAt: string;
|
|
3099
3113
|
updatedAt: string;
|
|
3114
|
+
gitInfo?: CommentGitInfo;
|
|
3100
3115
|
}>;
|
|
3101
3116
|
resolved?: CommentResolved;
|
|
3102
3117
|
context?: CommentContext;
|
|
3118
|
+
gitInfo?: CommentGitInfo;
|
|
3103
3119
|
}>;
|
|
3104
3120
|
};
|
|
3105
3121
|
};
|
|
@@ -3171,9 +3187,11 @@ export type InternalCreateCommentResponses = {
|
|
|
3171
3187
|
mentions: Array<UserMention>;
|
|
3172
3188
|
createdAt: string;
|
|
3173
3189
|
updatedAt: string;
|
|
3190
|
+
gitInfo?: CommentGitInfo;
|
|
3174
3191
|
}>;
|
|
3175
3192
|
resolved?: CommentResolved;
|
|
3176
3193
|
context?: CommentContext;
|
|
3194
|
+
gitInfo?: CommentGitInfo;
|
|
3177
3195
|
};
|
|
3178
3196
|
};
|
|
3179
3197
|
};
|
|
@@ -3248,9 +3266,11 @@ export type InternalResolveCommentResponses = {
|
|
|
3248
3266
|
mentions: Array<UserMention>;
|
|
3249
3267
|
createdAt: string;
|
|
3250
3268
|
updatedAt: string;
|
|
3269
|
+
gitInfo?: CommentGitInfo;
|
|
3251
3270
|
}>;
|
|
3252
3271
|
resolved?: CommentResolved;
|
|
3253
3272
|
context?: CommentContext;
|
|
3273
|
+
gitInfo?: CommentGitInfo;
|
|
3254
3274
|
};
|
|
3255
3275
|
};
|
|
3256
3276
|
};
|
|
@@ -3323,9 +3343,11 @@ export type InternalReopenCommentResponses = {
|
|
|
3323
3343
|
mentions: Array<UserMention>;
|
|
3324
3344
|
createdAt: string;
|
|
3325
3345
|
updatedAt: string;
|
|
3346
|
+
gitInfo?: CommentGitInfo;
|
|
3326
3347
|
}>;
|
|
3327
3348
|
resolved?: CommentResolved;
|
|
3328
3349
|
context?: CommentContext;
|
|
3350
|
+
gitInfo?: CommentGitInfo;
|
|
3329
3351
|
};
|
|
3330
3352
|
};
|
|
3331
3353
|
};
|
|
@@ -3387,6 +3409,7 @@ export type InternalCreateReplyResponses = {
|
|
|
3387
3409
|
mentions: Array<UserMention>;
|
|
3388
3410
|
createdAt: string;
|
|
3389
3411
|
updatedAt: string;
|
|
3412
|
+
gitInfo?: CommentGitInfo;
|
|
3390
3413
|
};
|
|
3391
3414
|
};
|
|
3392
3415
|
};
|
|
@@ -3504,6 +3527,7 @@ export type InternalEditReplyResponses = {
|
|
|
3504
3527
|
mentions: Array<UserMention>;
|
|
3505
3528
|
createdAt: string;
|
|
3506
3529
|
updatedAt: string;
|
|
3530
|
+
gitInfo?: CommentGitInfo;
|
|
3507
3531
|
};
|
|
3508
3532
|
};
|
|
3509
3533
|
};
|
|
@@ -5930,9 +5954,11 @@ export type GetCommentResponses = {
|
|
|
5930
5954
|
mentions: Array<UserMention>;
|
|
5931
5955
|
createdAt: string;
|
|
5932
5956
|
updatedAt: string;
|
|
5957
|
+
gitInfo?: CommentGitInfo;
|
|
5933
5958
|
}>;
|
|
5934
5959
|
resolved?: CommentResolved;
|
|
5935
5960
|
context?: CommentContext;
|
|
5961
|
+
gitInfo?: CommentGitInfo;
|
|
5936
5962
|
};
|
|
5937
5963
|
};
|
|
5938
5964
|
};
|
|
@@ -6006,9 +6032,11 @@ export type EditCommentResponses = {
|
|
|
6006
6032
|
mentions: Array<UserMention>;
|
|
6007
6033
|
createdAt: string;
|
|
6008
6034
|
updatedAt: string;
|
|
6035
|
+
gitInfo?: CommentGitInfo;
|
|
6009
6036
|
}>;
|
|
6010
6037
|
resolved?: CommentResolved;
|
|
6011
6038
|
context?: CommentContext;
|
|
6039
|
+
gitInfo?: CommentGitInfo;
|
|
6012
6040
|
};
|
|
6013
6041
|
};
|
|
6014
6042
|
};
|
|
@@ -6081,9 +6109,11 @@ export type ListCommentsResponses = {
|
|
|
6081
6109
|
mentions: Array<UserMention>;
|
|
6082
6110
|
createdAt: string;
|
|
6083
6111
|
updatedAt: string;
|
|
6112
|
+
gitInfo?: CommentGitInfo;
|
|
6084
6113
|
}>;
|
|
6085
6114
|
resolved?: CommentResolved;
|
|
6086
6115
|
context?: CommentContext;
|
|
6116
|
+
gitInfo?: CommentGitInfo;
|
|
6087
6117
|
}>;
|
|
6088
6118
|
};
|
|
6089
6119
|
};
|
|
@@ -6156,9 +6186,11 @@ export type CreateCommentResponses = {
|
|
|
6156
6186
|
mentions: Array<UserMention>;
|
|
6157
6187
|
createdAt: string;
|
|
6158
6188
|
updatedAt: string;
|
|
6189
|
+
gitInfo?: CommentGitInfo;
|
|
6159
6190
|
}>;
|
|
6160
6191
|
resolved?: CommentResolved;
|
|
6161
6192
|
context?: CommentContext;
|
|
6193
|
+
gitInfo?: CommentGitInfo;
|
|
6162
6194
|
};
|
|
6163
6195
|
};
|
|
6164
6196
|
};
|
|
@@ -6232,9 +6264,11 @@ export type ResolveCommentResponses = {
|
|
|
6232
6264
|
mentions: Array<UserMention>;
|
|
6233
6265
|
createdAt: string;
|
|
6234
6266
|
updatedAt: string;
|
|
6267
|
+
gitInfo?: CommentGitInfo;
|
|
6235
6268
|
}>;
|
|
6236
6269
|
resolved?: CommentResolved;
|
|
6237
6270
|
context?: CommentContext;
|
|
6271
|
+
gitInfo?: CommentGitInfo;
|
|
6238
6272
|
};
|
|
6239
6273
|
};
|
|
6240
6274
|
};
|
|
@@ -6308,9 +6342,11 @@ export type ReopenCommentResponses = {
|
|
|
6308
6342
|
mentions: Array<UserMention>;
|
|
6309
6343
|
createdAt: string;
|
|
6310
6344
|
updatedAt: string;
|
|
6345
|
+
gitInfo?: CommentGitInfo;
|
|
6311
6346
|
}>;
|
|
6312
6347
|
resolved?: CommentResolved;
|
|
6313
6348
|
context?: CommentContext;
|
|
6349
|
+
gitInfo?: CommentGitInfo;
|
|
6314
6350
|
};
|
|
6315
6351
|
};
|
|
6316
6352
|
};
|
|
@@ -6373,6 +6409,7 @@ export type CreateReplyResponses = {
|
|
|
6373
6409
|
mentions: Array<UserMention>;
|
|
6374
6410
|
createdAt: string;
|
|
6375
6411
|
updatedAt: string;
|
|
6412
|
+
gitInfo?: CommentGitInfo;
|
|
6376
6413
|
};
|
|
6377
6414
|
};
|
|
6378
6415
|
};
|
|
@@ -6490,6 +6527,7 @@ export type EditReplyResponses = {
|
|
|
6490
6527
|
mentions: Array<UserMention>;
|
|
6491
6528
|
createdAt: string;
|
|
6492
6529
|
updatedAt: string;
|
|
6530
|
+
gitInfo?: CommentGitInfo;
|
|
6493
6531
|
};
|
|
6494
6532
|
};
|
|
6495
6533
|
};
|
|
@@ -6747,4 +6785,108 @@ export type GetAllWorkspacesResponses = {
|
|
|
6747
6785
|
};
|
|
6748
6786
|
};
|
|
6749
6787
|
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
|
6788
|
+
export type GetAllData = {
|
|
6789
|
+
body?: never;
|
|
6790
|
+
path?: never;
|
|
6791
|
+
query?: never;
|
|
6792
|
+
url: '/my-user-settings';
|
|
6793
|
+
};
|
|
6794
|
+
export type GetAllErrors = {
|
|
6795
|
+
/**
|
|
6796
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6797
|
+
*/
|
|
6798
|
+
400: {
|
|
6799
|
+
message: string;
|
|
6800
|
+
issues?: string;
|
|
6801
|
+
};
|
|
6802
|
+
/**
|
|
6803
|
+
* Unauthorized
|
|
6804
|
+
*/
|
|
6805
|
+
401: ErrorResponse;
|
|
6806
|
+
/**
|
|
6807
|
+
* Forbidden
|
|
6808
|
+
*/
|
|
6809
|
+
403: ErrorResponse;
|
|
6810
|
+
/**
|
|
6811
|
+
* Not Found
|
|
6812
|
+
*/
|
|
6813
|
+
404: ErrorResponse;
|
|
6814
|
+
/**
|
|
6815
|
+
* Conflict
|
|
6816
|
+
*/
|
|
6817
|
+
409: ErrorResponse;
|
|
6818
|
+
/**
|
|
6819
|
+
* Internal server error
|
|
6820
|
+
*/
|
|
6821
|
+
500: ErrorResponse;
|
|
6822
|
+
/**
|
|
6823
|
+
* Service Unavailable
|
|
6824
|
+
*/
|
|
6825
|
+
503: ErrorResponse;
|
|
6826
|
+
};
|
|
6827
|
+
export type GetAllError = GetAllErrors[keyof GetAllErrors];
|
|
6828
|
+
export type GetAllResponses = {
|
|
6829
|
+
/**
|
|
6830
|
+
* Returns user settings (empty object if none exist)
|
|
6831
|
+
*/
|
|
6832
|
+
200: {
|
|
6833
|
+
settings: {
|
|
6834
|
+
[key: string]: unknown;
|
|
6835
|
+
};
|
|
6836
|
+
};
|
|
6837
|
+
};
|
|
6838
|
+
export type GetAllResponse = GetAllResponses[keyof GetAllResponses];
|
|
6839
|
+
export type OverrideAllData = {
|
|
6840
|
+
body: {
|
|
6841
|
+
settings: {
|
|
6842
|
+
[key: string]: unknown;
|
|
6843
|
+
};
|
|
6844
|
+
};
|
|
6845
|
+
path?: never;
|
|
6846
|
+
query?: never;
|
|
6847
|
+
url: '/my-user-settings';
|
|
6848
|
+
};
|
|
6849
|
+
export type OverrideAllErrors = {
|
|
6850
|
+
/**
|
|
6851
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6852
|
+
*/
|
|
6853
|
+
400: {
|
|
6854
|
+
message: string;
|
|
6855
|
+
issues?: string;
|
|
6856
|
+
};
|
|
6857
|
+
/**
|
|
6858
|
+
* Unauthorized
|
|
6859
|
+
*/
|
|
6860
|
+
401: ErrorResponse;
|
|
6861
|
+
/**
|
|
6862
|
+
* Forbidden
|
|
6863
|
+
*/
|
|
6864
|
+
403: ErrorResponse;
|
|
6865
|
+
/**
|
|
6866
|
+
* Not Found
|
|
6867
|
+
*/
|
|
6868
|
+
404: ErrorResponse;
|
|
6869
|
+
/**
|
|
6870
|
+
* Conflict
|
|
6871
|
+
*/
|
|
6872
|
+
409: ErrorResponse;
|
|
6873
|
+
/**
|
|
6874
|
+
* Internal server error
|
|
6875
|
+
*/
|
|
6876
|
+
500: ErrorResponse;
|
|
6877
|
+
/**
|
|
6878
|
+
* Service Unavailable
|
|
6879
|
+
*/
|
|
6880
|
+
503: ErrorResponse;
|
|
6881
|
+
};
|
|
6882
|
+
export type OverrideAllError = OverrideAllErrors[keyof OverrideAllErrors];
|
|
6883
|
+
export type OverrideAllResponses = {
|
|
6884
|
+
/**
|
|
6885
|
+
* Settings updated successfully
|
|
6886
|
+
*/
|
|
6887
|
+
200: {
|
|
6888
|
+
success: boolean;
|
|
6889
|
+
};
|
|
6890
|
+
};
|
|
6891
|
+
export type OverrideAllResponse = OverrideAllResponses[keyof OverrideAllResponses];
|
|
6750
6892
|
//# sourceMappingURL=types.gen.d.ts.map
|