@dazl/internal-api-client 1.24.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 +1 -207
- 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 +1 -219
package/src/types.gen.ts
CHANGED
|
@@ -315,98 +315,6 @@ export type MediaItem = {
|
|
|
315
315
|
updatedAt: string;
|
|
316
316
|
};
|
|
317
317
|
|
|
318
|
-
export type ProjectWithScreenshot = {
|
|
319
|
-
/**
|
|
320
|
-
* Project identifier
|
|
321
|
-
*/
|
|
322
|
-
id: string;
|
|
323
|
-
/**
|
|
324
|
-
* Project name
|
|
325
|
-
*/
|
|
326
|
-
name: string;
|
|
327
|
-
/**
|
|
328
|
-
* User's Dazl ID
|
|
329
|
-
*/
|
|
330
|
-
dazlUserId: string;
|
|
331
|
-
/**
|
|
332
|
-
* ISO 8601 creation timestamp
|
|
333
|
-
*/
|
|
334
|
-
createdAt: string;
|
|
335
|
-
/**
|
|
336
|
-
* ISO 8601 timestamp of last open, null if never opened
|
|
337
|
-
*/
|
|
338
|
-
lastOpenedAt: string | null;
|
|
339
|
-
/**
|
|
340
|
-
* ISO 8601 timestamp of archival, null if not archived
|
|
341
|
-
*/
|
|
342
|
-
archivedAt: string | null;
|
|
343
|
-
/**
|
|
344
|
-
* Latest screenshot for the project, null if none exists
|
|
345
|
-
*/
|
|
346
|
-
screenshot: {
|
|
347
|
-
/**
|
|
348
|
-
* MIME type of the screenshot
|
|
349
|
-
*/
|
|
350
|
-
mimeType: string;
|
|
351
|
-
/**
|
|
352
|
-
* URL where the screenshot is accessible
|
|
353
|
-
*/
|
|
354
|
-
url: string;
|
|
355
|
-
/**
|
|
356
|
-
* Git commit hash when screenshot was taken
|
|
357
|
-
*/
|
|
358
|
-
gitCommit: string;
|
|
359
|
-
/**
|
|
360
|
-
* Additional metadata
|
|
361
|
-
*/
|
|
362
|
-
descriptor: {
|
|
363
|
-
[key: string]: unknown;
|
|
364
|
-
} | null;
|
|
365
|
-
/**
|
|
366
|
-
* ISO 8601 creation timestamp
|
|
367
|
-
*/
|
|
368
|
-
createdAt: string;
|
|
369
|
-
id: string;
|
|
370
|
-
} | null;
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
export type Screenshot = {
|
|
374
|
-
/**
|
|
375
|
-
* Unique screenshot identifier
|
|
376
|
-
*/
|
|
377
|
-
id: string;
|
|
378
|
-
/**
|
|
379
|
-
* MIME type of the screenshot
|
|
380
|
-
*/
|
|
381
|
-
mimeType: string;
|
|
382
|
-
/**
|
|
383
|
-
* URL where the screenshot is accessible
|
|
384
|
-
*/
|
|
385
|
-
url: string;
|
|
386
|
-
/**
|
|
387
|
-
* Project identifier
|
|
388
|
-
*/
|
|
389
|
-
projectId: string;
|
|
390
|
-
/**
|
|
391
|
-
* User's Dazl ID
|
|
392
|
-
*/
|
|
393
|
-
dazlUserId: string;
|
|
394
|
-
/**
|
|
395
|
-
* Git commit hash when screenshot was taken
|
|
396
|
-
*/
|
|
397
|
-
gitCommit: string;
|
|
398
|
-
/**
|
|
399
|
-
* Additional metadata
|
|
400
|
-
*/
|
|
401
|
-
descriptor: {
|
|
402
|
-
[key: string]: unknown;
|
|
403
|
-
} | null;
|
|
404
|
-
/**
|
|
405
|
-
* ISO 8601 creation timestamp
|
|
406
|
-
*/
|
|
407
|
-
createdAt: string;
|
|
408
|
-
};
|
|
409
|
-
|
|
410
318
|
export type UserRaw = {
|
|
411
319
|
id: number;
|
|
412
320
|
createdAt: string;
|
|
@@ -550,7 +458,7 @@ export type PurgeUserAccountInput = {
|
|
|
550
458
|
*/
|
|
551
459
|
deletionBatchId: string;
|
|
552
460
|
/**
|
|
553
|
-
*
|
|
461
|
+
* ignored- to be deprecated
|
|
554
462
|
*/
|
|
555
463
|
dryRun?: boolean;
|
|
556
464
|
};
|
|
@@ -4505,132 +4413,6 @@ export type SaveMediaResponses = {
|
|
|
4505
4413
|
200: unknown;
|
|
4506
4414
|
};
|
|
4507
4415
|
|
|
4508
|
-
export type GetAccountScreenshotsData = {
|
|
4509
|
-
body?: never;
|
|
4510
|
-
path?: never;
|
|
4511
|
-
query?: {
|
|
4512
|
-
/**
|
|
4513
|
-
* User's Dazl ID (required for internal API calls without authentication)
|
|
4514
|
-
*/
|
|
4515
|
-
dazlId?: string;
|
|
4516
|
-
};
|
|
4517
|
-
url: '/media/account-screenshots';
|
|
4518
|
-
};
|
|
4519
|
-
|
|
4520
|
-
export type GetAccountScreenshotsErrors = {
|
|
4521
|
-
/**
|
|
4522
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
4523
|
-
*/
|
|
4524
|
-
400: {
|
|
4525
|
-
message: string;
|
|
4526
|
-
issues?: string;
|
|
4527
|
-
};
|
|
4528
|
-
/**
|
|
4529
|
-
* Unauthorized
|
|
4530
|
-
*/
|
|
4531
|
-
401: ErrorResponse;
|
|
4532
|
-
/**
|
|
4533
|
-
* Forbidden - Permission denied
|
|
4534
|
-
*/
|
|
4535
|
-
403: {
|
|
4536
|
-
message: string;
|
|
4537
|
-
};
|
|
4538
|
-
/**
|
|
4539
|
-
* Not found
|
|
4540
|
-
*/
|
|
4541
|
-
404: {
|
|
4542
|
-
message: string;
|
|
4543
|
-
};
|
|
4544
|
-
/**
|
|
4545
|
-
* Conflict
|
|
4546
|
-
*/
|
|
4547
|
-
409: ErrorResponse;
|
|
4548
|
-
/**
|
|
4549
|
-
* Internal server error
|
|
4550
|
-
*/
|
|
4551
|
-
500: ErrorResponse;
|
|
4552
|
-
/**
|
|
4553
|
-
* Service Unavailable
|
|
4554
|
-
*/
|
|
4555
|
-
503: ErrorResponse;
|
|
4556
|
-
};
|
|
4557
|
-
|
|
4558
|
-
export type GetAccountScreenshotsError = GetAccountScreenshotsErrors[keyof GetAccountScreenshotsErrors];
|
|
4559
|
-
|
|
4560
|
-
export type GetAccountScreenshotsResponses = {
|
|
4561
|
-
/**
|
|
4562
|
-
* Returns all projects with their latest screenshots
|
|
4563
|
-
*/
|
|
4564
|
-
200: Array<ProjectWithScreenshot>;
|
|
4565
|
-
};
|
|
4566
|
-
|
|
4567
|
-
export type GetAccountScreenshotsResponse = GetAccountScreenshotsResponses[keyof GetAccountScreenshotsResponses];
|
|
4568
|
-
|
|
4569
|
-
export type GetProjectScreenshotsData = {
|
|
4570
|
-
body?: never;
|
|
4571
|
-
path?: never;
|
|
4572
|
-
query: {
|
|
4573
|
-
/**
|
|
4574
|
-
* Project identifier
|
|
4575
|
-
*/
|
|
4576
|
-
projectId: string;
|
|
4577
|
-
/**
|
|
4578
|
-
* User's Dazl ID (required for internal API calls without authentication)
|
|
4579
|
-
*/
|
|
4580
|
-
dazlId?: string;
|
|
4581
|
-
};
|
|
4582
|
-
url: '/media/project-screenshots';
|
|
4583
|
-
};
|
|
4584
|
-
|
|
4585
|
-
export type GetProjectScreenshotsErrors = {
|
|
4586
|
-
/**
|
|
4587
|
-
* Bad request - Invalid parameters or malformed JSON
|
|
4588
|
-
*/
|
|
4589
|
-
400: {
|
|
4590
|
-
message: string;
|
|
4591
|
-
issues?: string;
|
|
4592
|
-
};
|
|
4593
|
-
/**
|
|
4594
|
-
* Unauthorized
|
|
4595
|
-
*/
|
|
4596
|
-
401: ErrorResponse;
|
|
4597
|
-
/**
|
|
4598
|
-
* Forbidden - Permission denied
|
|
4599
|
-
*/
|
|
4600
|
-
403: {
|
|
4601
|
-
message: string;
|
|
4602
|
-
};
|
|
4603
|
-
/**
|
|
4604
|
-
* Not found
|
|
4605
|
-
*/
|
|
4606
|
-
404: {
|
|
4607
|
-
message: string;
|
|
4608
|
-
};
|
|
4609
|
-
/**
|
|
4610
|
-
* Conflict
|
|
4611
|
-
*/
|
|
4612
|
-
409: ErrorResponse;
|
|
4613
|
-
/**
|
|
4614
|
-
* Internal server error
|
|
4615
|
-
*/
|
|
4616
|
-
500: ErrorResponse;
|
|
4617
|
-
/**
|
|
4618
|
-
* Service Unavailable
|
|
4619
|
-
*/
|
|
4620
|
-
503: ErrorResponse;
|
|
4621
|
-
};
|
|
4622
|
-
|
|
4623
|
-
export type GetProjectScreenshotsError = GetProjectScreenshotsErrors[keyof GetProjectScreenshotsErrors];
|
|
4624
|
-
|
|
4625
|
-
export type GetProjectScreenshotsResponses = {
|
|
4626
|
-
/**
|
|
4627
|
-
* Returns all screenshots for the specified project
|
|
4628
|
-
*/
|
|
4629
|
-
200: Array<Screenshot>;
|
|
4630
|
-
};
|
|
4631
|
-
|
|
4632
|
-
export type GetProjectScreenshotsResponse = GetProjectScreenshotsResponses[keyof GetProjectScreenshotsResponses];
|
|
4633
|
-
|
|
4634
4416
|
export type TakeScreenshotData = {
|
|
4635
4417
|
body: {
|
|
4636
4418
|
/**
|