@dazl/api-client 1.0.1 → 1.0.2

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.
Files changed (95) hide show
  1. package/dist/db/generated-types.d.ts +1 -0
  2. package/dist/db/generated-types.d.ts.map +1 -1
  3. package/dist/internal/index.d.ts +1 -1
  4. package/dist/internal/index.d.ts.map +1 -1
  5. package/dist/internal/sdk.gen.d.ts +41 -1
  6. package/dist/internal/sdk.gen.d.ts.map +1 -1
  7. package/dist/internal/sdk.gen.js +88 -0
  8. package/dist/internal/sdk.gen.js.map +1 -1
  9. package/dist/internal/types.gen.d.ts +703 -0
  10. package/dist/internal/types.gen.d.ts.map +1 -1
  11. package/dist/public/client/client.gen.d.ts +3 -0
  12. package/dist/public/client/client.gen.d.ts.map +1 -0
  13. package/dist/public/client/client.gen.js +217 -0
  14. package/dist/public/client/client.gen.js.map +1 -0
  15. package/dist/public/client/index.d.ts +11 -0
  16. package/dist/public/client/index.d.ts.map +1 -0
  17. package/dist/public/client/index.js +7 -0
  18. package/dist/public/client/index.js.map +1 -0
  19. package/dist/public/client/types.gen.d.ts +121 -0
  20. package/dist/public/client/types.gen.d.ts.map +1 -0
  21. package/dist/public/client/types.gen.js +3 -0
  22. package/dist/public/client/types.gen.js.map +1 -0
  23. package/dist/public/client/utils.gen.d.ts +38 -0
  24. package/dist/public/client/utils.gen.d.ts.map +1 -0
  25. package/dist/public/client/utils.gen.js +229 -0
  26. package/dist/public/client/utils.gen.js.map +1 -0
  27. package/dist/public/client.gen.d.ts +13 -0
  28. package/dist/public/client.gen.d.ts.map +1 -0
  29. package/dist/public/client.gen.js +4 -0
  30. package/dist/public/client.gen.js.map +1 -0
  31. package/dist/public/core/auth.gen.d.ts +26 -0
  32. package/dist/public/core/auth.gen.d.ts.map +1 -0
  33. package/dist/public/core/auth.gen.js +15 -0
  34. package/dist/public/core/auth.gen.js.map +1 -0
  35. package/dist/public/core/bodySerializer.gen.d.ts +26 -0
  36. package/dist/public/core/bodySerializer.gen.d.ts.map +1 -0
  37. package/dist/public/core/bodySerializer.gen.js +58 -0
  38. package/dist/public/core/bodySerializer.gen.js.map +1 -0
  39. package/dist/public/core/params.gen.d.ts +44 -0
  40. package/dist/public/core/params.gen.d.ts.map +1 -0
  41. package/dist/public/core/params.gen.js +110 -0
  42. package/dist/public/core/params.gen.js.map +1 -0
  43. package/dist/public/core/pathSerializer.gen.d.ts +34 -0
  44. package/dist/public/core/pathSerializer.gen.d.ts.map +1 -0
  45. package/dist/public/core/pathSerializer.gen.js +107 -0
  46. package/dist/public/core/pathSerializer.gen.js.map +1 -0
  47. package/dist/public/core/queryKeySerializer.gen.d.ts +19 -0
  48. package/dist/public/core/queryKeySerializer.gen.d.ts.map +1 -0
  49. package/dist/public/core/queryKeySerializer.gen.js +93 -0
  50. package/dist/public/core/queryKeySerializer.gen.js.map +1 -0
  51. package/dist/public/core/serverSentEvents.gen.d.ts +72 -0
  52. package/dist/public/core/serverSentEvents.gen.d.ts.map +1 -0
  53. package/dist/public/core/serverSentEvents.gen.js +133 -0
  54. package/dist/public/core/serverSentEvents.gen.js.map +1 -0
  55. package/dist/public/core/types.gen.d.ts +84 -0
  56. package/dist/public/core/types.gen.d.ts.map +1 -0
  57. package/dist/public/core/types.gen.js +3 -0
  58. package/dist/public/core/types.gen.js.map +1 -0
  59. package/dist/public/core/utils.gen.d.ts +20 -0
  60. package/dist/public/core/utils.gen.d.ts.map +1 -0
  61. package/dist/public/core/utils.gen.js +88 -0
  62. package/dist/public/core/utils.gen.js.map +1 -0
  63. package/dist/public/index.d.ts +3 -0
  64. package/dist/public/index.d.ts.map +1 -0
  65. package/dist/public/index.js +3 -0
  66. package/dist/public/index.js.map +1 -0
  67. package/dist/public/sdk.gen.d.ts +22 -0
  68. package/dist/public/sdk.gen.d.ts.map +1 -0
  69. package/dist/public/sdk.gen.js +10 -0
  70. package/dist/public/sdk.gen.js.map +1 -0
  71. package/dist/public/types.gen.d.ts +56 -0
  72. package/dist/public/types.gen.d.ts.map +1 -0
  73. package/dist/public/types.gen.js +3 -0
  74. package/dist/public/types.gen.js.map +1 -0
  75. package/package.json +4 -1
  76. package/src/db/generated-types.ts +1 -0
  77. package/src/internal/index.ts +1 -1
  78. package/src/internal/sdk.gen.ts +99 -1
  79. package/src/internal/types.gen.ts +757 -0
  80. package/src/public/client/client.gen.ts +277 -0
  81. package/src/public/client/index.ts +27 -0
  82. package/src/public/client/types.gen.ts +218 -0
  83. package/src/public/client/utils.gen.ts +316 -0
  84. package/src/public/client.gen.ts +16 -0
  85. package/src/public/core/auth.gen.ts +48 -0
  86. package/src/public/core/bodySerializer.gen.ts +82 -0
  87. package/src/public/core/params.gen.ts +178 -0
  88. package/src/public/core/pathSerializer.gen.ts +171 -0
  89. package/src/public/core/queryKeySerializer.gen.ts +117 -0
  90. package/src/public/core/serverSentEvents.gen.ts +242 -0
  91. package/src/public/core/types.gen.ts +110 -0
  92. package/src/public/core/utils.gen.ts +140 -0
  93. package/src/public/index.ts +4 -0
  94. package/src/public/sdk.gen.ts +27 -0
  95. package/src/public/types.gen.ts +63 -0
@@ -437,6 +437,23 @@ export type PurgeUserAccountInput = {
437
437
  */
438
438
  dryRun?: boolean;
439
439
  };
440
+ export type CreateCommentInput = {
441
+ content: string;
442
+ mentions?: Array<UserMention>;
443
+ context?: CommentContext;
444
+ };
445
+ export type EditCommentInput = {
446
+ content: string;
447
+ mentions?: Array<UserMention>;
448
+ };
449
+ export type CreateReplyInput = {
450
+ content: string;
451
+ mentions?: Array<UserMention>;
452
+ };
453
+ export type EditReplyInput = {
454
+ content: string;
455
+ mentions?: Array<UserMention>;
456
+ };
440
457
  export type EnsureMyUserData = {
441
458
  body?: {
442
459
  name?: string;
@@ -5714,4 +5731,690 @@ export type GetUserActivePromotionsResponses = {
5714
5731
  };
5715
5732
  };
5716
5733
  export type GetUserActivePromotionsResponse = GetUserActivePromotionsResponses[keyof GetUserActivePromotionsResponses];
5734
+ export type DeleteCommentData = {
5735
+ body?: never;
5736
+ path: {
5737
+ hostType: 'project' | 'product';
5738
+ hostId: string;
5739
+ commentId: string;
5740
+ };
5741
+ query?: never;
5742
+ url: '/comments/{hostType}/{hostId}/{commentId}';
5743
+ };
5744
+ export type DeleteCommentErrors = {
5745
+ /**
5746
+ * Bad request - Invalid parameters or malformed JSON
5747
+ */
5748
+ 400: {
5749
+ message: string;
5750
+ issues?: string;
5751
+ };
5752
+ /**
5753
+ * Unauthorized
5754
+ */
5755
+ 401: ErrorResponse;
5756
+ /**
5757
+ * Forbidden
5758
+ */
5759
+ 403: ErrorResponse;
5760
+ /**
5761
+ * Not Found
5762
+ */
5763
+ 404: ErrorResponse;
5764
+ /**
5765
+ * Conflict
5766
+ */
5767
+ 409: ErrorResponse;
5768
+ /**
5769
+ * Internal server error
5770
+ */
5771
+ 500: ErrorResponse;
5772
+ /**
5773
+ * Service Unavailable
5774
+ */
5775
+ 503: ErrorResponse;
5776
+ };
5777
+ export type DeleteCommentError = DeleteCommentErrors[keyof DeleteCommentErrors];
5778
+ export type DeleteCommentResponses = {
5779
+ /**
5780
+ * Acknowledges that the comment was deleted
5781
+ */
5782
+ 200: {
5783
+ success: true;
5784
+ };
5785
+ };
5786
+ export type DeleteCommentResponse = DeleteCommentResponses[keyof DeleteCommentResponses];
5787
+ export type GetCommentData = {
5788
+ body?: never;
5789
+ path: {
5790
+ hostType: 'project' | 'product';
5791
+ hostId: string;
5792
+ commentId: string;
5793
+ };
5794
+ query?: never;
5795
+ url: '/comments/{hostType}/{hostId}/{commentId}';
5796
+ };
5797
+ export type GetCommentErrors = {
5798
+ /**
5799
+ * Bad request - Invalid parameters or malformed JSON
5800
+ */
5801
+ 400: {
5802
+ message: string;
5803
+ issues?: string;
5804
+ };
5805
+ /**
5806
+ * Unauthorized
5807
+ */
5808
+ 401: ErrorResponse;
5809
+ /**
5810
+ * Forbidden
5811
+ */
5812
+ 403: ErrorResponse;
5813
+ /**
5814
+ * Not Found
5815
+ */
5816
+ 404: ErrorResponse;
5817
+ /**
5818
+ * Conflict
5819
+ */
5820
+ 409: ErrorResponse;
5821
+ /**
5822
+ * Internal server error
5823
+ */
5824
+ 500: ErrorResponse;
5825
+ /**
5826
+ * Service Unavailable
5827
+ */
5828
+ 503: ErrorResponse;
5829
+ };
5830
+ export type GetCommentError = GetCommentErrors[keyof GetCommentErrors];
5831
+ export type GetCommentResponses = {
5832
+ /**
5833
+ * Returns comment by id for the host entity
5834
+ */
5835
+ 200: {
5836
+ comment: {
5837
+ commentId: string;
5838
+ author: {
5839
+ dazlUserId: string;
5840
+ };
5841
+ content: string;
5842
+ mentions: Array<UserMention>;
5843
+ createdAt: string;
5844
+ updatedAt: string;
5845
+ lastActivityAt: string;
5846
+ isEdited: boolean;
5847
+ replies: Array<{
5848
+ replyId: string;
5849
+ author: {
5850
+ dazlUserId: string;
5851
+ };
5852
+ content: string;
5853
+ mentions: Array<UserMention>;
5854
+ createdAt: string;
5855
+ updatedAt: string;
5856
+ }>;
5857
+ resolved?: CommentResolved;
5858
+ context?: CommentContext;
5859
+ };
5860
+ };
5861
+ };
5862
+ export type GetCommentResponse = GetCommentResponses[keyof GetCommentResponses];
5863
+ export type EditCommentData = {
5864
+ body: EditCommentInput;
5865
+ path: {
5866
+ hostType: 'project' | 'product';
5867
+ hostId: string;
5868
+ commentId: string;
5869
+ };
5870
+ query?: never;
5871
+ url: '/comments/{hostType}/{hostId}/{commentId}';
5872
+ };
5873
+ export type EditCommentErrors = {
5874
+ /**
5875
+ * Bad request - Invalid parameters or malformed JSON
5876
+ */
5877
+ 400: {
5878
+ message: string;
5879
+ issues?: string;
5880
+ };
5881
+ /**
5882
+ * Unauthorized
5883
+ */
5884
+ 401: ErrorResponse;
5885
+ /**
5886
+ * Forbidden
5887
+ */
5888
+ 403: ErrorResponse;
5889
+ /**
5890
+ * Not Found
5891
+ */
5892
+ 404: ErrorResponse;
5893
+ /**
5894
+ * Conflict
5895
+ */
5896
+ 409: ErrorResponse;
5897
+ /**
5898
+ * Internal server error
5899
+ */
5900
+ 500: ErrorResponse;
5901
+ /**
5902
+ * Service Unavailable
5903
+ */
5904
+ 503: ErrorResponse;
5905
+ };
5906
+ export type EditCommentError = EditCommentErrors[keyof EditCommentErrors];
5907
+ export type EditCommentResponses = {
5908
+ /**
5909
+ * Returns the updated comment
5910
+ */
5911
+ 200: {
5912
+ comment: {
5913
+ commentId: string;
5914
+ author: {
5915
+ dazlUserId: string;
5916
+ };
5917
+ content: string;
5918
+ mentions: Array<UserMention>;
5919
+ createdAt: string;
5920
+ updatedAt: string;
5921
+ lastActivityAt: string;
5922
+ isEdited: boolean;
5923
+ replies: Array<{
5924
+ replyId: string;
5925
+ author: {
5926
+ dazlUserId: string;
5927
+ };
5928
+ content: string;
5929
+ mentions: Array<UserMention>;
5930
+ createdAt: string;
5931
+ updatedAt: string;
5932
+ }>;
5933
+ resolved?: CommentResolved;
5934
+ context?: CommentContext;
5935
+ };
5936
+ };
5937
+ };
5938
+ export type EditCommentResponse = EditCommentResponses[keyof EditCommentResponses];
5939
+ export type ListCommentsData = {
5940
+ body?: never;
5941
+ path: {
5942
+ hostType: 'project' | 'product';
5943
+ hostId: string;
5944
+ };
5945
+ query?: never;
5946
+ url: '/comments/{hostType}/{hostId}';
5947
+ };
5948
+ export type ListCommentsErrors = {
5949
+ /**
5950
+ * Bad request - Invalid parameters or malformed JSON
5951
+ */
5952
+ 400: {
5953
+ message: string;
5954
+ issues?: string;
5955
+ };
5956
+ /**
5957
+ * Unauthorized
5958
+ */
5959
+ 401: ErrorResponse;
5960
+ /**
5961
+ * Forbidden
5962
+ */
5963
+ 403: ErrorResponse;
5964
+ /**
5965
+ * Not Found
5966
+ */
5967
+ 404: ErrorResponse;
5968
+ /**
5969
+ * Conflict
5970
+ */
5971
+ 409: ErrorResponse;
5972
+ /**
5973
+ * Internal server error
5974
+ */
5975
+ 500: ErrorResponse;
5976
+ /**
5977
+ * Service Unavailable
5978
+ */
5979
+ 503: ErrorResponse;
5980
+ };
5981
+ export type ListCommentsError = ListCommentsErrors[keyof ListCommentsErrors];
5982
+ export type ListCommentsResponses = {
5983
+ /**
5984
+ * Returns the list of comments for the host entity
5985
+ */
5986
+ 200: {
5987
+ comments: Array<{
5988
+ commentId: string;
5989
+ author: {
5990
+ dazlUserId: string;
5991
+ };
5992
+ content: string;
5993
+ mentions: Array<UserMention>;
5994
+ createdAt: string;
5995
+ updatedAt: string;
5996
+ lastActivityAt: string;
5997
+ isEdited: boolean;
5998
+ replies: Array<{
5999
+ replyId: string;
6000
+ author: {
6001
+ dazlUserId: string;
6002
+ };
6003
+ content: string;
6004
+ mentions: Array<UserMention>;
6005
+ createdAt: string;
6006
+ updatedAt: string;
6007
+ }>;
6008
+ resolved?: CommentResolved;
6009
+ context?: CommentContext;
6010
+ }>;
6011
+ };
6012
+ };
6013
+ export type ListCommentsResponse = ListCommentsResponses[keyof ListCommentsResponses];
6014
+ export type CreateCommentData = {
6015
+ body: CreateCommentInput;
6016
+ path: {
6017
+ hostType: 'project' | 'product';
6018
+ hostId: string;
6019
+ };
6020
+ query?: never;
6021
+ url: '/comments/{hostType}/{hostId}';
6022
+ };
6023
+ export type CreateCommentErrors = {
6024
+ /**
6025
+ * Bad request - Invalid parameters or malformed JSON
6026
+ */
6027
+ 400: {
6028
+ message: string;
6029
+ issues?: string;
6030
+ };
6031
+ /**
6032
+ * Unauthorized
6033
+ */
6034
+ 401: ErrorResponse;
6035
+ /**
6036
+ * Forbidden
6037
+ */
6038
+ 403: ErrorResponse;
6039
+ /**
6040
+ * Not Found
6041
+ */
6042
+ 404: ErrorResponse;
6043
+ /**
6044
+ * Conflict
6045
+ */
6046
+ 409: ErrorResponse;
6047
+ /**
6048
+ * Internal server error
6049
+ */
6050
+ 500: ErrorResponse;
6051
+ /**
6052
+ * Service Unavailable
6053
+ */
6054
+ 503: ErrorResponse;
6055
+ };
6056
+ export type CreateCommentError = CreateCommentErrors[keyof CreateCommentErrors];
6057
+ export type CreateCommentResponses = {
6058
+ /**
6059
+ * Returns the created comment
6060
+ */
6061
+ 200: {
6062
+ comment: {
6063
+ commentId: string;
6064
+ author: {
6065
+ dazlUserId: string;
6066
+ };
6067
+ content: string;
6068
+ mentions: Array<UserMention>;
6069
+ createdAt: string;
6070
+ updatedAt: string;
6071
+ lastActivityAt: string;
6072
+ isEdited: boolean;
6073
+ replies: Array<{
6074
+ replyId: string;
6075
+ author: {
6076
+ dazlUserId: string;
6077
+ };
6078
+ content: string;
6079
+ mentions: Array<UserMention>;
6080
+ createdAt: string;
6081
+ updatedAt: string;
6082
+ }>;
6083
+ resolved?: CommentResolved;
6084
+ context?: CommentContext;
6085
+ };
6086
+ };
6087
+ };
6088
+ export type CreateCommentResponse = CreateCommentResponses[keyof CreateCommentResponses];
6089
+ export type ResolveCommentData = {
6090
+ body?: never;
6091
+ path: {
6092
+ hostType: 'project' | 'product';
6093
+ hostId: string;
6094
+ commentId: string;
6095
+ };
6096
+ query?: never;
6097
+ url: '/comments/{hostType}/{hostId}/{commentId}/resolve';
6098
+ };
6099
+ export type ResolveCommentErrors = {
6100
+ /**
6101
+ * Bad request - Invalid parameters or malformed JSON
6102
+ */
6103
+ 400: {
6104
+ message: string;
6105
+ issues?: string;
6106
+ };
6107
+ /**
6108
+ * Unauthorized
6109
+ */
6110
+ 401: ErrorResponse;
6111
+ /**
6112
+ * Forbidden
6113
+ */
6114
+ 403: ErrorResponse;
6115
+ /**
6116
+ * Not Found
6117
+ */
6118
+ 404: ErrorResponse;
6119
+ /**
6120
+ * Conflict
6121
+ */
6122
+ 409: ErrorResponse;
6123
+ /**
6124
+ * Internal server error
6125
+ */
6126
+ 500: ErrorResponse;
6127
+ /**
6128
+ * Service Unavailable
6129
+ */
6130
+ 503: ErrorResponse;
6131
+ };
6132
+ export type ResolveCommentError = ResolveCommentErrors[keyof ResolveCommentErrors];
6133
+ export type ResolveCommentResponses = {
6134
+ /**
6135
+ * Returns the resolved comment
6136
+ */
6137
+ 200: {
6138
+ comment: {
6139
+ commentId: string;
6140
+ author: {
6141
+ dazlUserId: string;
6142
+ };
6143
+ content: string;
6144
+ mentions: Array<UserMention>;
6145
+ createdAt: string;
6146
+ updatedAt: string;
6147
+ lastActivityAt: string;
6148
+ isEdited: boolean;
6149
+ replies: Array<{
6150
+ replyId: string;
6151
+ author: {
6152
+ dazlUserId: string;
6153
+ };
6154
+ content: string;
6155
+ mentions: Array<UserMention>;
6156
+ createdAt: string;
6157
+ updatedAt: string;
6158
+ }>;
6159
+ resolved?: CommentResolved;
6160
+ context?: CommentContext;
6161
+ };
6162
+ };
6163
+ };
6164
+ export type ResolveCommentResponse = ResolveCommentResponses[keyof ResolveCommentResponses];
6165
+ export type ReopenCommentData = {
6166
+ body?: never;
6167
+ path: {
6168
+ hostType: 'project' | 'product';
6169
+ hostId: string;
6170
+ commentId: string;
6171
+ };
6172
+ query?: never;
6173
+ url: '/comments/{hostType}/{hostId}/{commentId}/reopen';
6174
+ };
6175
+ export type ReopenCommentErrors = {
6176
+ /**
6177
+ * Bad request - Invalid parameters or malformed JSON
6178
+ */
6179
+ 400: {
6180
+ message: string;
6181
+ issues?: string;
6182
+ };
6183
+ /**
6184
+ * Unauthorized
6185
+ */
6186
+ 401: ErrorResponse;
6187
+ /**
6188
+ * Forbidden
6189
+ */
6190
+ 403: ErrorResponse;
6191
+ /**
6192
+ * Not Found
6193
+ */
6194
+ 404: ErrorResponse;
6195
+ /**
6196
+ * Conflict
6197
+ */
6198
+ 409: ErrorResponse;
6199
+ /**
6200
+ * Internal server error
6201
+ */
6202
+ 500: ErrorResponse;
6203
+ /**
6204
+ * Service Unavailable
6205
+ */
6206
+ 503: ErrorResponse;
6207
+ };
6208
+ export type ReopenCommentError = ReopenCommentErrors[keyof ReopenCommentErrors];
6209
+ export type ReopenCommentResponses = {
6210
+ /**
6211
+ * Returns the reopened comment
6212
+ */
6213
+ 200: {
6214
+ comment: {
6215
+ commentId: string;
6216
+ author: {
6217
+ dazlUserId: string;
6218
+ };
6219
+ content: string;
6220
+ mentions: Array<UserMention>;
6221
+ createdAt: string;
6222
+ updatedAt: string;
6223
+ lastActivityAt: string;
6224
+ isEdited: boolean;
6225
+ replies: Array<{
6226
+ replyId: string;
6227
+ author: {
6228
+ dazlUserId: string;
6229
+ };
6230
+ content: string;
6231
+ mentions: Array<UserMention>;
6232
+ createdAt: string;
6233
+ updatedAt: string;
6234
+ }>;
6235
+ resolved?: CommentResolved;
6236
+ context?: CommentContext;
6237
+ };
6238
+ };
6239
+ };
6240
+ export type ReopenCommentResponse = ReopenCommentResponses[keyof ReopenCommentResponses];
6241
+ export type CreateReplyData = {
6242
+ body: CreateReplyInput;
6243
+ path: {
6244
+ hostType: 'project' | 'product';
6245
+ hostId: string;
6246
+ commentId: string;
6247
+ };
6248
+ query?: never;
6249
+ url: '/comments/{hostType}/{hostId}/{commentId}/replies';
6250
+ };
6251
+ export type CreateReplyErrors = {
6252
+ /**
6253
+ * Bad request - Invalid parameters or malformed JSON
6254
+ */
6255
+ 400: {
6256
+ message: string;
6257
+ issues?: string;
6258
+ };
6259
+ /**
6260
+ * Unauthorized
6261
+ */
6262
+ 401: ErrorResponse;
6263
+ /**
6264
+ * Forbidden
6265
+ */
6266
+ 403: ErrorResponse;
6267
+ /**
6268
+ * Not Found
6269
+ */
6270
+ 404: ErrorResponse;
6271
+ /**
6272
+ * Conflict
6273
+ */
6274
+ 409: ErrorResponse;
6275
+ /**
6276
+ * Internal server error
6277
+ */
6278
+ 500: ErrorResponse;
6279
+ /**
6280
+ * Service Unavailable
6281
+ */
6282
+ 503: ErrorResponse;
6283
+ };
6284
+ export type CreateReplyError = CreateReplyErrors[keyof CreateReplyErrors];
6285
+ export type CreateReplyResponses = {
6286
+ /**
6287
+ * Returns the created reply
6288
+ */
6289
+ 200: {
6290
+ reply: {
6291
+ replyId: string;
6292
+ author: {
6293
+ dazlUserId: string;
6294
+ };
6295
+ content: string;
6296
+ mentions: Array<UserMention>;
6297
+ createdAt: string;
6298
+ updatedAt: string;
6299
+ };
6300
+ };
6301
+ };
6302
+ export type CreateReplyResponse = CreateReplyResponses[keyof CreateReplyResponses];
6303
+ export type DeleteReplyData = {
6304
+ body?: never;
6305
+ path: {
6306
+ hostType: 'project' | 'product';
6307
+ hostId: string;
6308
+ commentId: string;
6309
+ replyId: string;
6310
+ };
6311
+ query?: never;
6312
+ url: '/comments/{hostType}/{hostId}/{commentId}/replies/{replyId}';
6313
+ };
6314
+ export type DeleteReplyErrors = {
6315
+ /**
6316
+ * Bad request - Invalid parameters or malformed JSON
6317
+ */
6318
+ 400: {
6319
+ message: string;
6320
+ issues?: string;
6321
+ };
6322
+ /**
6323
+ * Unauthorized
6324
+ */
6325
+ 401: ErrorResponse;
6326
+ /**
6327
+ * Forbidden
6328
+ */
6329
+ 403: ErrorResponse;
6330
+ /**
6331
+ * Not Found
6332
+ */
6333
+ 404: ErrorResponse;
6334
+ /**
6335
+ * Conflict
6336
+ */
6337
+ 409: ErrorResponse;
6338
+ /**
6339
+ * Internal server error
6340
+ */
6341
+ 500: ErrorResponse;
6342
+ /**
6343
+ * Service Unavailable
6344
+ */
6345
+ 503: ErrorResponse;
6346
+ };
6347
+ export type DeleteReplyError = DeleteReplyErrors[keyof DeleteReplyErrors];
6348
+ export type DeleteReplyResponses = {
6349
+ /**
6350
+ * Acknowledges that the reply was deleted
6351
+ */
6352
+ 200: {
6353
+ success: true;
6354
+ };
6355
+ };
6356
+ export type DeleteReplyResponse = DeleteReplyResponses[keyof DeleteReplyResponses];
6357
+ export type EditReplyData = {
6358
+ body: EditReplyInput;
6359
+ path: {
6360
+ hostType: 'project' | 'product';
6361
+ hostId: string;
6362
+ commentId: string;
6363
+ replyId: string;
6364
+ };
6365
+ query?: never;
6366
+ url: '/comments/{hostType}/{hostId}/{commentId}/replies/{replyId}';
6367
+ };
6368
+ export type EditReplyErrors = {
6369
+ /**
6370
+ * Bad request - Invalid parameters or malformed JSON
6371
+ */
6372
+ 400: {
6373
+ message: string;
6374
+ issues?: string;
6375
+ };
6376
+ /**
6377
+ * Unauthorized
6378
+ */
6379
+ 401: ErrorResponse;
6380
+ /**
6381
+ * Forbidden
6382
+ */
6383
+ 403: ErrorResponse;
6384
+ /**
6385
+ * Not Found
6386
+ */
6387
+ 404: ErrorResponse;
6388
+ /**
6389
+ * Conflict
6390
+ */
6391
+ 409: ErrorResponse;
6392
+ /**
6393
+ * Internal server error
6394
+ */
6395
+ 500: ErrorResponse;
6396
+ /**
6397
+ * Service Unavailable
6398
+ */
6399
+ 503: ErrorResponse;
6400
+ };
6401
+ export type EditReplyError = EditReplyErrors[keyof EditReplyErrors];
6402
+ export type EditReplyResponses = {
6403
+ /**
6404
+ * Returns the updated reply
6405
+ */
6406
+ 200: {
6407
+ reply: {
6408
+ replyId: string;
6409
+ author: {
6410
+ dazlUserId: string;
6411
+ };
6412
+ content: string;
6413
+ mentions: Array<UserMention>;
6414
+ createdAt: string;
6415
+ updatedAt: string;
6416
+ };
6417
+ };
6418
+ };
6419
+ export type EditReplyResponse = EditReplyResponses[keyof EditReplyResponses];
5717
6420
  //# sourceMappingURL=types.gen.d.ts.map