@lokalise/chatter-api-contracts 0.1.1 → 0.1.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.
@@ -0,0 +1,140 @@
1
+ import z from 'zod/v4';
2
+ declare const GET_COMMENT_PATH_PARAMS_SCHEMA: z.ZodObject<{
3
+ teamId: z.ZodUUID;
4
+ commentId: z.ZodUUID;
5
+ }, z.core.$strip>;
6
+ export type GetCommentPathParams = z.infer<typeof GET_COMMENT_PATH_PARAMS_SCHEMA>;
7
+ declare const GET_COMMENT_RESPONSE_BODY_SCHEMA: z.ZodObject<{
8
+ data: z.ZodObject<{
9
+ id: z.ZodUUID;
10
+ teamId: z.ZodUUID;
11
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
12
+ entityType: z.ZodEnum<{
13
+ readonly SEGMENT: 'SEGMENT';
14
+ }>;
15
+ entityId: z.ZodUUID;
16
+ status: z.ZodEnum<{
17
+ readonly OPEN: 'OPEN';
18
+ readonly RESOLVED: 'RESOLVED';
19
+ }>;
20
+ message: z.ZodObject<{
21
+ version: z.ZodLiteral<1>;
22
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ type: z.ZodLiteral<"paragraph">;
24
+ content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25
+ type: z.ZodLiteral<"text">;
26
+ text: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ type: z.ZodLiteral<"userMention">;
29
+ userId: z.ZodUUID;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ type: z.ZodLiteral<"link">;
32
+ href: z.ZodURL;
33
+ text: z.ZodString;
34
+ }, z.core.$strip>], "type">>;
35
+ }, z.core.$strip>], "type">>;
36
+ }, z.core.$strip>;
37
+ messageUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
38
+ resolvedBy: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
39
+ resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
40
+ replyCount: z.ZodInt;
41
+ lastActivityAt: z.ZodISODateTime;
42
+ lastReadAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
43
+ subscribed: z.ZodBoolean;
44
+ createdBy: z.ZodUUID;
45
+ createdAt: z.ZodISODateTime;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>;
48
+ export type GetCommentResponseBody = z.infer<typeof GET_COMMENT_RESPONSE_BODY_SCHEMA>;
49
+ export declare const getCommentContract: Omit<{
50
+ readonly method: "get";
51
+ readonly visibility: "internal";
52
+ readonly summary: "Get a comment";
53
+ readonly description: string;
54
+ readonly tags: readonly ["Comments"];
55
+ readonly requestHeaderSchema: z.ZodObject<{
56
+ authorization: z.ZodString;
57
+ }, z.core.$strip>;
58
+ readonly requestPathParamsSchema: z.ZodObject<{
59
+ teamId: z.ZodUUID;
60
+ commentId: z.ZodUUID;
61
+ }, z.core.$strip>;
62
+ readonly pathResolver: ({ teamId, commentId }: {
63
+ teamId: string;
64
+ commentId: string;
65
+ }) => `/v1/teams/${string}/comments/${string}`;
66
+ readonly responsesByStatusCode: {
67
+ 200: z.ZodObject<{
68
+ data: z.ZodObject<{
69
+ id: z.ZodUUID;
70
+ teamId: z.ZodUUID;
71
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
72
+ entityType: z.ZodEnum<{
73
+ readonly SEGMENT: 'SEGMENT';
74
+ }>;
75
+ entityId: z.ZodUUID;
76
+ status: z.ZodEnum<{
77
+ readonly OPEN: 'OPEN';
78
+ readonly RESOLVED: 'RESOLVED';
79
+ }>;
80
+ message: z.ZodObject<{
81
+ version: z.ZodLiteral<1>;
82
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
83
+ type: z.ZodLiteral<"paragraph">;
84
+ content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ type: z.ZodLiteral<"text">;
86
+ text: z.ZodString;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ type: z.ZodLiteral<"userMention">;
89
+ userId: z.ZodUUID;
90
+ }, z.core.$strip>, z.ZodObject<{
91
+ type: z.ZodLiteral<"link">;
92
+ href: z.ZodURL;
93
+ text: z.ZodString;
94
+ }, z.core.$strip>], "type">>;
95
+ }, z.core.$strip>], "type">>;
96
+ }, z.core.$strip>;
97
+ messageUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
98
+ resolvedBy: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
99
+ resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
100
+ replyCount: z.ZodInt;
101
+ lastActivityAt: z.ZodISODateTime;
102
+ lastReadAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
103
+ subscribed: z.ZodBoolean;
104
+ createdBy: z.ZodUUID;
105
+ createdAt: z.ZodISODateTime;
106
+ }, z.core.$strip>;
107
+ }, z.core.$strip>;
108
+ 400: z.ZodObject<{
109
+ message: z.ZodString;
110
+ code: z.ZodString;
111
+ errorCode: z.ZodString;
112
+ details: z.ZodOptional<z.ZodUnknown>;
113
+ }, z.core.$strip>;
114
+ 401: z.ZodObject<{
115
+ message: z.ZodString;
116
+ code: z.ZodString;
117
+ errorCode: z.ZodString;
118
+ details: z.ZodOptional<z.ZodUnknown>;
119
+ }, z.core.$strip>;
120
+ 403: z.ZodObject<{
121
+ message: z.ZodString;
122
+ code: z.ZodLiteral<"TEAM_ACCESS_DENIED">;
123
+ errorCode: z.ZodLiteral<"TEAM_ACCESS_DENIED">;
124
+ }, z.core.$strip>;
125
+ 404: z.ZodObject<{
126
+ message: z.ZodString;
127
+ code: z.ZodLiteral<"RESOURCE_NOT_FOUND">;
128
+ errorCode: z.ZodLiteral<"RESOURCE_NOT_FOUND">;
129
+ }, z.core.$strip>;
130
+ 500: z.ZodObject<{
131
+ message: z.ZodString;
132
+ code: z.ZodString;
133
+ errorCode: z.ZodString;
134
+ details: z.ZodOptional<z.ZodUnknown>;
135
+ }, z.core.$strip>;
136
+ };
137
+ }, "visibility"> & {
138
+ visibility: import("@lokalise/api-contracts").RouteVisibility;
139
+ };
140
+ export {};
@@ -0,0 +1,37 @@
1
+ import { defineApiContract } from '@lokalise/api-contracts';
2
+ import z from 'zod/v4';
3
+ import { resourceNotFoundErrorDefinition, teamAccessDeniedErrorDefinition, } from '../../errors/index.js';
4
+ import { COMMENT_SCHEMA } from '../../objects/comment.js';
5
+ import { OpenApiTags } from '../../open-api-tags.js';
6
+ import { AUTH_HEADERS, ERROR_RESPONSE_SCHEMA } from '../common.js';
7
+ // ------------------------------------------------------------
8
+ // GET /v1/teams/:teamId/comments/:commentId
9
+ // ------------------------------------------------------------
10
+ const GET_COMMENT_PATH_PARAMS_SCHEMA = z.compile(z.object({
11
+ teamId: z.uuid().describe('Id of the team'),
12
+ commentId: z.uuid().describe('Id of the comment'),
13
+ }));
14
+ const GET_COMMENT_RESPONSE_BODY_SCHEMA = z.compile(z.object({
15
+ data: COMMENT_SCHEMA,
16
+ }));
17
+ export const getCommentContract = defineApiContract({
18
+ method: 'get',
19
+ visibility: 'internal',
20
+ summary: 'Get a comment',
21
+ description: 'Returns the root comment of a thread, with its reply count and the read state and ' +
22
+ 'subscription of the requesting user. Deleted and orphaned comments are not found. ' +
23
+ 'Use the replies endpoint to read the thread itself.',
24
+ tags: [OpenApiTags.Comments.name],
25
+ requestHeaderSchema: AUTH_HEADERS,
26
+ requestPathParamsSchema: GET_COMMENT_PATH_PARAMS_SCHEMA,
27
+ pathResolver: ({ teamId, commentId }) => `/v1/teams/${teamId}/comments/${commentId}`,
28
+ responsesByStatusCode: {
29
+ 200: GET_COMMENT_RESPONSE_BODY_SCHEMA,
30
+ 400: ERROR_RESPONSE_SCHEMA,
31
+ 401: ERROR_RESPONSE_SCHEMA,
32
+ 403: teamAccessDeniedErrorDefinition.schema,
33
+ 404: resourceNotFoundErrorDefinition.schema,
34
+ 500: ERROR_RESPONSE_SCHEMA,
35
+ },
36
+ });
37
+ //# sourceMappingURL=get-comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-comment.js","sourceRoot":"","sources":["../../../../src/api/contracts/comments/get-comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,CAAC,MAAM,QAAQ,CAAA;AACtB,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAElE,+DAA+D;AAC/D,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,OAAO,CAC9C,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;CAClD,CAAC,CACH,CAAA;AAGD,MAAM,gCAAgC,GAAG,CAAC,CAAC,OAAO,CAChD,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,cAAc;CACrB,CAAC,CACH,CAAA;AAGD,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IAClD,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,eAAe;IACxB,WAAW,EACT,oFAAoF;QACpF,oFAAoF;QACpF,qDAAqD;IACvD,IAAI,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC;IACjC,mBAAmB,EAAE,YAAY;IACjC,uBAAuB,EAAE,8BAA8B;IACvD,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,aAAa,MAAM,aAAa,SAAS,EAAE;IACpF,qBAAqB,EAAE;QACrB,GAAG,EAAE,gCAAgC;QACrC,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,qBAAqB;KAC3B;CACF,CAAC,CAAA"}
@@ -5,7 +5,7 @@ declare const POST_SEARCH_COMMENTS_PATH_PARAMS_SCHEMA: z.ZodObject<{
5
5
  export type PostSearchCommentsPathParams = z.infer<typeof POST_SEARCH_COMMENTS_PATH_PARAMS_SCHEMA>;
6
6
  export declare const POST_SEARCH_COMMENTS_QUERY_SCHEMA: z.ZodObject<{
7
7
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
8
- after: z.ZodOptional<z.ZodString>;
8
+ after: z.ZodOptional<z.ZodUUID>;
9
9
  }, z.core.$strip>;
10
10
  export type PostSearchCommentsQuery = z.infer<typeof POST_SEARCH_COMMENTS_QUERY_SCHEMA>;
11
11
  declare const POST_SEARCH_COMMENTS_REQUEST_BODY_SCHEMA: z.ZodObject<{
@@ -77,7 +77,7 @@ export declare const postSearchCommentsContract: Omit<{
77
77
  }, z.core.$strip>;
78
78
  readonly requestQuerySchema: z.ZodObject<{
79
79
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
80
- after: z.ZodOptional<z.ZodString>;
80
+ after: z.ZodOptional<z.ZodUUID>;
81
81
  }, z.core.$strip>;
82
82
  readonly requestBodySchema: z.ZodObject<{
83
83
  projectId: z.ZodUUID;
@@ -22,10 +22,9 @@ export const POST_SEARCH_COMMENTS_QUERY_SCHEMA = z.compile(z.object({
22
22
  .default(COMMENTS_DEFAULT_LIMIT)
23
23
  .describe('Number of comments to return per page'),
24
24
  after: z
25
- .string()
26
- .min(1)
25
+ .uuid()
27
26
  .optional()
28
- .describe('Opaque cursor from the previous response `meta.cursor`. Omit to read the first page'),
27
+ .describe('Cursor from the previous response `meta.cursor`. Omit to read the first page'),
29
28
  }));
30
29
  const COMMENTS_MAX_FILTER_IDS = 100;
31
30
  const POST_SEARCH_COMMENTS_REQUEST_BODY_SCHEMA = z.compile(z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"post-comments-actions-search.js","sourceRoot":"","sources":["../../../../src/api/contracts/comments/post-comments-actions-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,CAAC,MAAM,QAAQ,CAAA;AACtB,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAElE,+DAA+D;AAC/D,iDAAiD;AACjD,+DAA+D;AAC/D,MAAM,uCAAuC,GAAG,CAAC,CAAC,OAAO,CACvD,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CAC5C,CAAC,CACH,CAAA;AAGD,MAAM,sBAAsB,GAAG,GAAG,CAAA;AAClC,MAAM,kBAAkB,GAAG,GAAG,CAAA;AAC9B,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,OAAO,CACxD,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,kBAAkB,CAAC;SACvB,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,C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yCAAyC;QAC9C,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,qBAAqB;KAC3B;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"post-comments-actions-search.js","sourceRoot":"","sources":["../../../../src/api/contracts/comments/post-comments-actions-search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,CAAC,MAAM,QAAQ,CAAA;AACtB,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAElE,+DAA+D;AAC/D,iDAAiD;AACjD,+DAA+D;AAC/D,MAAM,uCAAuC,GAAG,CAAC,CAAC,OAAO,CACvD,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CAC5C,CAAC,CACH,CAAA;AAGD,MAAM,sBAAsB,GAAG,GAAG,CAAA;AAClC,MAAM,kBAAkB,GAAG,GAAG,CAAA;AAC9B,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,OAAO,CACxD,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM;SACZ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,kBAAkB,CAAC;SACvB,OAAO,CAAC,sBAAsB,CAAC;S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9C,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,qBAAqB;QAC1B,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,+BAA+B,CAAC,MAAM;QAC3C,GAAG,EAAE,qBAAqB;KAC3B;CACF,CAAC,CAAA"}
@@ -1,5 +1,6 @@
1
1
  export * from './comments/delete-comment.ts';
2
2
  export * from './comments/delete-comment-reply.ts';
3
+ export * from './comments/get-comment.ts';
3
4
  export * from './comments/get-comment-replies.ts';
4
5
  export * from './comments/get-comments.ts';
5
6
  export * from './comments/patch-comment.ts';
@@ -1,5 +1,6 @@
1
1
  export * from './comments/delete-comment.js';
2
2
  export * from './comments/delete-comment-reply.js';
3
+ export * from './comments/get-comment.js';
3
4
  export * from './comments/get-comment-replies.js';
4
5
  export * from './comments/get-comments.js';
5
6
  export * from './comments/patch-comment.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,sCAAsC,CAAA;AACpD,cAAc,wCAAwC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,2BAA2B,CAAA;AACzC,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,4CAA4C,CAAA;AAC1D,cAAc,sCAAsC,CAAA;AACpD,cAAc,wCAAwC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/chatter-api-contracts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "API contracts for chatter",
5
5
  "license": "MIT",
6
6
  "repository": {