@dazl/internal-api-client 1.23.0 → 1.24.1
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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +4 -3
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +3 -6
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +9 -208
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +4 -9
- package/src/types.gen.ts +10 -220
package/src/types.gen.ts
CHANGED
|
@@ -139,7 +139,9 @@ export type CommentContext = ({
|
|
|
139
139
|
type: 'stage';
|
|
140
140
|
} & StageCommentContext) | ({
|
|
141
141
|
type: 'plan';
|
|
142
|
-
} & PlanCommentContext)
|
|
142
|
+
} & PlanCommentContext) | ({
|
|
143
|
+
type: 'file';
|
|
144
|
+
} & FileCommentContext);
|
|
143
145
|
|
|
144
146
|
export type PageCommentContext = {
|
|
145
147
|
type: 'page';
|
|
@@ -177,6 +179,12 @@ export type PlanCommentContext = {
|
|
|
177
179
|
type: 'plan';
|
|
178
180
|
};
|
|
179
181
|
|
|
182
|
+
export type FileCommentContext = {
|
|
183
|
+
type: 'file';
|
|
184
|
+
filePath: string;
|
|
185
|
+
anchor?: string;
|
|
186
|
+
};
|
|
187
|
+
|
|
180
188
|
export type InternalCreateCommentInput = {
|
|
181
189
|
content: string;
|
|
182
190
|
authorDazlUserId: string;
|
|
@@ -307,98 +315,6 @@ export type MediaItem = {
|
|
|
307
315
|
updatedAt: string;
|
|
308
316
|
};
|
|
309
317
|
|
|
310
|
-
export type ProjectWithScreenshot = {
|
|
311
|
-
/**
|
|
312
|
-
* Project identifier
|
|
313
|
-
*/
|
|
314
|
-
id: string;
|
|
315
|
-
/**
|
|
316
|
-
* Project name
|
|
317
|
-
*/
|
|
318
|
-
name: string;
|
|
319
|
-
/**
|
|
320
|
-
* User's Dazl ID
|
|
321
|
-
*/
|
|
322
|
-
dazlUserId: string;
|
|
323
|
-
/**
|
|
324
|
-
* ISO 8601 creation timestamp
|
|
325
|
-
*/
|
|
326
|
-
createdAt: string;
|
|
327
|
-
/**
|
|
328
|
-
* ISO 8601 timestamp of last open, null if never opened
|
|
329
|
-
*/
|
|
330
|
-
lastOpenedAt: string | null;
|
|
331
|
-
/**
|
|
332
|
-
* ISO 8601 timestamp of archival, null if not archived
|
|
333
|
-
*/
|
|
334
|
-
archivedAt: string | null;
|
|
335
|
-
/**
|
|
336
|
-
* Latest screenshot for the project, null if none exists
|
|
337
|
-
*/
|
|
338
|
-
screenshot: {
|
|
339
|
-
/**
|
|
340
|
-
* MIME type of the screenshot
|
|
341
|
-
*/
|
|
342
|
-
mimeType: string;
|
|
343
|
-
/**
|
|
344
|
-
* URL where the screenshot is accessible
|
|
345
|
-
*/
|
|
346
|
-
url: string;
|
|
347
|
-
/**
|
|
348
|
-
* Git commit hash when screenshot was taken
|
|
349
|
-
*/
|
|
350
|
-
gitCommit: string;
|
|
351
|
-
/**
|
|
352
|
-
* Additional metadata
|
|
353
|
-
*/
|
|
354
|
-
descriptor: {
|
|
355
|
-
[key: string]: unknown;
|
|
356
|
-
} | null;
|
|
357
|
-
/**
|
|
358
|
-
* ISO 8601 creation timestamp
|
|
359
|
-
*/
|
|
360
|
-
createdAt: string;
|
|
361
|
-
id: string;
|
|
362
|
-
} | null;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
export type Screenshot = {
|
|
366
|
-
/**
|
|
367
|
-
* Unique screenshot identifier
|
|
368
|
-
*/
|
|
369
|
-
id: string;
|
|
370
|
-
/**
|
|
371
|
-
* MIME type of the screenshot
|
|
372
|
-
*/
|
|
373
|
-
mimeType: string;
|
|
374
|
-
/**
|
|
375
|
-
* URL where the screenshot is accessible
|
|
376
|
-
*/
|
|
377
|
-
url: string;
|
|
378
|
-
/**
|
|
379
|
-
* Project identifier
|
|
380
|
-
*/
|
|
381
|
-
projectId: string;
|
|
382
|
-
/**
|
|
383
|
-
* User's Dazl ID
|
|
384
|
-
*/
|
|
385
|
-
dazlUserId: string;
|
|
386
|
-
/**
|
|
387
|
-
* Git commit hash when screenshot was taken
|
|
388
|
-
*/
|
|
389
|
-
gitCommit: string;
|
|
390
|
-
/**
|
|
391
|
-
* Additional metadata
|
|
392
|
-
*/
|
|
393
|
-
descriptor: {
|
|
394
|
-
[key: string]: unknown;
|
|
395
|
-
} | null;
|
|
396
|
-
/**
|
|
397
|
-
* ISO 8601 creation timestamp
|
|
398
|
-
*/
|
|
399
|
-
createdAt: string;
|
|
400
|
-
};
|
|
401
|
-
|
|
402
318
|
export type UserRaw = {
|
|
403
319
|
id: number;
|
|
404
320
|
createdAt: string;
|
|
@@ -542,7 +458,7 @@ export type PurgeUserAccountInput = {
|
|
|
542
458
|
*/
|
|
543
459
|
deletionBatchId: string;
|
|
544
460
|
/**
|
|
545
|
-
*
|
|
461
|
+
* ignored- to be deprecated
|
|
546
462
|
*/
|
|
547
463
|
dryRun?: boolean;
|
|
548
464
|
};
|
|
@@ -4497,132 +4413,6 @@ export type SaveMediaResponses = {
|
|
|
4497
4413
|
200: unknown;
|
|
4498
4414
|
};
|
|
4499
4415
|
|
|
4500
|
-
export type GetAccountScreenshotsData = {
|
|
4501
|
-
body?: never;
|
|
4502
|
-
path?: never;
|
|
4503
|
-
query?: {
|
|
4504
|
-
/**
|
|
4505
|
-
* User's Dazl ID (required for internal API calls without authentication)
|
|
4506
|
-
*/
|
|
4507
|
-
dazlId?: string;
|
|
4508
|
-
};
|
|
4509
|
-
url: '/media/account-screenshots';
|
|
4510
|
-
};
|
|
4511
|
-
|
|
4512
|
-
export type GetAccountScreenshotsErrors = {
|
|
4513
|
-
/**
|
|
4514
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
4515
|
-
*/
|
|
4516
|
-
400: {
|
|
4517
|
-
message: string;
|
|
4518
|
-
issues?: string;
|
|
4519
|
-
};
|
|
4520
|
-
/**
|
|
4521
|
-
* Unauthorized
|
|
4522
|
-
*/
|
|
4523
|
-
401: ErrorResponse;
|
|
4524
|
-
/**
|
|
4525
|
-
* Forbidden - Permission denied
|
|
4526
|
-
*/
|
|
4527
|
-
403: {
|
|
4528
|
-
message: string;
|
|
4529
|
-
};
|
|
4530
|
-
/**
|
|
4531
|
-
* Not found
|
|
4532
|
-
*/
|
|
4533
|
-
404: {
|
|
4534
|
-
message: string;
|
|
4535
|
-
};
|
|
4536
|
-
/**
|
|
4537
|
-
* Conflict
|
|
4538
|
-
*/
|
|
4539
|
-
409: ErrorResponse;
|
|
4540
|
-
/**
|
|
4541
|
-
* Internal server error
|
|
4542
|
-
*/
|
|
4543
|
-
500: ErrorResponse;
|
|
4544
|
-
/**
|
|
4545
|
-
* Service Unavailable
|
|
4546
|
-
*/
|
|
4547
|
-
503: ErrorResponse;
|
|
4548
|
-
};
|
|
4549
|
-
|
|
4550
|
-
export type GetAccountScreenshotsError = GetAccountScreenshotsErrors[keyof GetAccountScreenshotsErrors];
|
|
4551
|
-
|
|
4552
|
-
export type GetAccountScreenshotsResponses = {
|
|
4553
|
-
/**
|
|
4554
|
-
* Returns all projects with their latest screenshots
|
|
4555
|
-
*/
|
|
4556
|
-
200: Array<ProjectWithScreenshot>;
|
|
4557
|
-
};
|
|
4558
|
-
|
|
4559
|
-
export type GetAccountScreenshotsResponse = GetAccountScreenshotsResponses[keyof GetAccountScreenshotsResponses];
|
|
4560
|
-
|
|
4561
|
-
export type GetProjectScreenshotsData = {
|
|
4562
|
-
body?: never;
|
|
4563
|
-
path?: never;
|
|
4564
|
-
query: {
|
|
4565
|
-
/**
|
|
4566
|
-
* Project identifier
|
|
4567
|
-
*/
|
|
4568
|
-
projectId: string;
|
|
4569
|
-
/**
|
|
4570
|
-
* User's Dazl ID (required for internal API calls without authentication)
|
|
4571
|
-
*/
|
|
4572
|
-
dazlId?: string;
|
|
4573
|
-
};
|
|
4574
|
-
url: '/media/project-screenshots';
|
|
4575
|
-
};
|
|
4576
|
-
|
|
4577
|
-
export type GetProjectScreenshotsErrors = {
|
|
4578
|
-
/**
|
|
4579
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
4580
|
-
*/
|
|
4581
|
-
400: {
|
|
4582
|
-
message: string;
|
|
4583
|
-
issues?: string;
|
|
4584
|
-
};
|
|
4585
|
-
/**
|
|
4586
|
-
* Unauthorized
|
|
4587
|
-
*/
|
|
4588
|
-
401: ErrorResponse;
|
|
4589
|
-
/**
|
|
4590
|
-
* Forbidden - Permission denied
|
|
4591
|
-
*/
|
|
4592
|
-
403: {
|
|
4593
|
-
message: string;
|
|
4594
|
-
};
|
|
4595
|
-
/**
|
|
4596
|
-
* Not found
|
|
4597
|
-
*/
|
|
4598
|
-
404: {
|
|
4599
|
-
message: string;
|
|
4600
|
-
};
|
|
4601
|
-
/**
|
|
4602
|
-
* Conflict
|
|
4603
|
-
*/
|
|
4604
|
-
409: ErrorResponse;
|
|
4605
|
-
/**
|
|
4606
|
-
* Internal server error
|
|
4607
|
-
*/
|
|
4608
|
-
500: ErrorResponse;
|
|
4609
|
-
/**
|
|
4610
|
-
* Service Unavailable
|
|
4611
|
-
*/
|
|
4612
|
-
503: ErrorResponse;
|
|
4613
|
-
};
|
|
4614
|
-
|
|
4615
|
-
export type GetProjectScreenshotsError = GetProjectScreenshotsErrors[keyof GetProjectScreenshotsErrors];
|
|
4616
|
-
|
|
4617
|
-
export type GetProjectScreenshotsResponses = {
|
|
4618
|
-
/**
|
|
4619
|
-
* Returns all screenshots for the specified project
|
|
4620
|
-
*/
|
|
4621
|
-
200: Array<Screenshot>;
|
|
4622
|
-
};
|
|
4623
|
-
|
|
4624
|
-
export type GetProjectScreenshotsResponse = GetProjectScreenshotsResponses[keyof GetProjectScreenshotsResponses];
|
|
4625
|
-
|
|
4626
4416
|
export type TakeScreenshotData = {
|
|
4627
4417
|
body: {
|
|
4628
4418
|
/**
|