@dazl/internal-api-client 1.5.6 → 1.5.8
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/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +7 -1
- package/dist/client/client.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +6 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +29 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +461 -4
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/client.gen.ts +7 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +35 -1
- package/src/types.gen.ts +486 -4
package/src/types.gen.ts
CHANGED
|
@@ -121,6 +121,10 @@ export type UploadConfiguration = {
|
|
|
121
121
|
* Optional token for authenticated uploads
|
|
122
122
|
*/
|
|
123
123
|
uploadToken?: string;
|
|
124
|
+
/**
|
|
125
|
+
* The computed storage path for the file (e.g., /projects/{projectId}/attachments/... or /uploads/...)
|
|
126
|
+
*/
|
|
127
|
+
path: string;
|
|
124
128
|
};
|
|
125
129
|
|
|
126
130
|
export type MediaFileList = {
|
|
@@ -301,6 +305,10 @@ export type GetByDazlIdErrors = {
|
|
|
301
305
|
* Not Found
|
|
302
306
|
*/
|
|
303
307
|
404: ErrorResponse;
|
|
308
|
+
/**
|
|
309
|
+
* Conflict
|
|
310
|
+
*/
|
|
311
|
+
409: ErrorResponse;
|
|
304
312
|
/**
|
|
305
313
|
* Internal server error
|
|
306
314
|
*/
|
|
@@ -359,6 +367,10 @@ export type UpdateByDazlIdErrors = {
|
|
|
359
367
|
* Not Found
|
|
360
368
|
*/
|
|
361
369
|
404: ErrorResponse;
|
|
370
|
+
/**
|
|
371
|
+
* Conflict
|
|
372
|
+
*/
|
|
373
|
+
409: ErrorResponse;
|
|
362
374
|
/**
|
|
363
375
|
* Internal server error
|
|
364
376
|
*/
|
|
@@ -411,6 +423,10 @@ export type GetHasSufficientCreditsByDazlIdErrors = {
|
|
|
411
423
|
* Not Found
|
|
412
424
|
*/
|
|
413
425
|
404: ErrorResponse;
|
|
426
|
+
/**
|
|
427
|
+
* Conflict
|
|
428
|
+
*/
|
|
429
|
+
409: ErrorResponse;
|
|
414
430
|
/**
|
|
415
431
|
* Internal server error
|
|
416
432
|
*/
|
|
@@ -461,6 +477,10 @@ export type GetAllProductsErrors = {
|
|
|
461
477
|
* Not Found
|
|
462
478
|
*/
|
|
463
479
|
404: ErrorResponse;
|
|
480
|
+
/**
|
|
481
|
+
* Conflict
|
|
482
|
+
*/
|
|
483
|
+
409: ErrorResponse;
|
|
464
484
|
/**
|
|
465
485
|
* Internal server error
|
|
466
486
|
*/
|
|
@@ -511,6 +531,10 @@ export type GetMaxCreditsForDefaultFreeErrors = {
|
|
|
511
531
|
* Not Found
|
|
512
532
|
*/
|
|
513
533
|
404: ErrorResponse;
|
|
534
|
+
/**
|
|
535
|
+
* Conflict
|
|
536
|
+
*/
|
|
537
|
+
409: ErrorResponse;
|
|
514
538
|
/**
|
|
515
539
|
* Internal server error
|
|
516
540
|
*/
|
|
@@ -563,6 +587,10 @@ export type GetPriceByIdErrors = {
|
|
|
563
587
|
* Not Found
|
|
564
588
|
*/
|
|
565
589
|
404: ErrorResponse;
|
|
590
|
+
/**
|
|
591
|
+
* Conflict
|
|
592
|
+
*/
|
|
593
|
+
409: ErrorResponse;
|
|
566
594
|
/**
|
|
567
595
|
* Internal server error
|
|
568
596
|
*/
|
|
@@ -626,6 +654,10 @@ export type GetCustomerInfoByDazlIdErrors = {
|
|
|
626
654
|
* Not Found
|
|
627
655
|
*/
|
|
628
656
|
404: ErrorResponse;
|
|
657
|
+
/**
|
|
658
|
+
* Conflict
|
|
659
|
+
*/
|
|
660
|
+
409: ErrorResponse;
|
|
629
661
|
/**
|
|
630
662
|
* Internal server error
|
|
631
663
|
*/
|
|
@@ -679,6 +711,10 @@ export type UpdateUserSubscriptionErrors = {
|
|
|
679
711
|
* Not Found
|
|
680
712
|
*/
|
|
681
713
|
404: ErrorResponse;
|
|
714
|
+
/**
|
|
715
|
+
* Conflict
|
|
716
|
+
*/
|
|
717
|
+
409: ErrorResponse;
|
|
682
718
|
/**
|
|
683
719
|
* Internal server error
|
|
684
720
|
*/
|
|
@@ -737,6 +773,10 @@ export type CancelScheduledUpdateByDazlIdErrors = {
|
|
|
737
773
|
* Not Found
|
|
738
774
|
*/
|
|
739
775
|
404: ErrorResponse;
|
|
776
|
+
/**
|
|
777
|
+
* Conflict
|
|
778
|
+
*/
|
|
779
|
+
409: ErrorResponse;
|
|
740
780
|
/**
|
|
741
781
|
* Internal server error
|
|
742
782
|
*/
|
|
@@ -790,6 +830,10 @@ export type CreateCustomerPortalSessionErrors = {
|
|
|
790
830
|
* Not Found
|
|
791
831
|
*/
|
|
792
832
|
404: ErrorResponse;
|
|
833
|
+
/**
|
|
834
|
+
* Conflict
|
|
835
|
+
*/
|
|
836
|
+
409: ErrorResponse;
|
|
793
837
|
/**
|
|
794
838
|
* Internal server error
|
|
795
839
|
*/
|
|
@@ -849,6 +893,10 @@ export type CreateCustomerWithDefaultSubscriptionErrors = {
|
|
|
849
893
|
* Not Found
|
|
850
894
|
*/
|
|
851
895
|
404: ErrorResponse;
|
|
896
|
+
/**
|
|
897
|
+
* Conflict
|
|
898
|
+
*/
|
|
899
|
+
409: ErrorResponse;
|
|
852
900
|
/**
|
|
853
901
|
* Internal server error
|
|
854
902
|
*/
|
|
@@ -902,6 +950,10 @@ export type GetUserInfoByDazlIdErrors = {
|
|
|
902
950
|
* Not Found
|
|
903
951
|
*/
|
|
904
952
|
404: ErrorResponse;
|
|
953
|
+
/**
|
|
954
|
+
* Conflict
|
|
955
|
+
*/
|
|
956
|
+
409: ErrorResponse;
|
|
905
957
|
/**
|
|
906
958
|
* Internal server error
|
|
907
959
|
*/
|
|
@@ -959,6 +1011,10 @@ export type ConnectUserErrors = {
|
|
|
959
1011
|
* Not Found
|
|
960
1012
|
*/
|
|
961
1013
|
404: ErrorResponse;
|
|
1014
|
+
/**
|
|
1015
|
+
* Conflict
|
|
1016
|
+
*/
|
|
1017
|
+
409: ErrorResponse;
|
|
962
1018
|
/**
|
|
963
1019
|
* Internal server error
|
|
964
1020
|
*/
|
|
@@ -1011,6 +1067,10 @@ export type GetUserInfoErrors = {
|
|
|
1011
1067
|
* Not Found
|
|
1012
1068
|
*/
|
|
1013
1069
|
404: ErrorResponse;
|
|
1070
|
+
/**
|
|
1071
|
+
* Conflict
|
|
1072
|
+
*/
|
|
1073
|
+
409: ErrorResponse;
|
|
1014
1074
|
/**
|
|
1015
1075
|
* Internal server error
|
|
1016
1076
|
*/
|
|
@@ -1063,6 +1123,10 @@ export type GetInstallationsErrors = {
|
|
|
1063
1123
|
* Not Found
|
|
1064
1124
|
*/
|
|
1065
1125
|
404: ErrorResponse;
|
|
1126
|
+
/**
|
|
1127
|
+
* Conflict
|
|
1128
|
+
*/
|
|
1129
|
+
409: ErrorResponse;
|
|
1066
1130
|
/**
|
|
1067
1131
|
* Internal server error
|
|
1068
1132
|
*/
|
|
@@ -1119,6 +1183,10 @@ export type GetInstallationTokenErrors = {
|
|
|
1119
1183
|
* Not Found
|
|
1120
1184
|
*/
|
|
1121
1185
|
404: ErrorResponse;
|
|
1186
|
+
/**
|
|
1187
|
+
* Conflict
|
|
1188
|
+
*/
|
|
1189
|
+
409: ErrorResponse;
|
|
1122
1190
|
/**
|
|
1123
1191
|
* Internal server error
|
|
1124
1192
|
*/
|
|
@@ -1142,6 +1210,131 @@ export type GetInstallationTokenResponses = {
|
|
|
1142
1210
|
|
|
1143
1211
|
export type GetInstallationTokenResponse = GetInstallationTokenResponses[keyof GetInstallationTokenResponses];
|
|
1144
1212
|
|
|
1213
|
+
export type GetProjectInfoData = {
|
|
1214
|
+
body?: never;
|
|
1215
|
+
path: {
|
|
1216
|
+
projectId: string;
|
|
1217
|
+
};
|
|
1218
|
+
query?: never;
|
|
1219
|
+
url: '/github/project/{projectId}/info';
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
export type GetProjectInfoErrors = {
|
|
1223
|
+
/**
|
|
1224
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1225
|
+
*/
|
|
1226
|
+
400: {
|
|
1227
|
+
message: string;
|
|
1228
|
+
issues?: string;
|
|
1229
|
+
};
|
|
1230
|
+
/**
|
|
1231
|
+
* Unauthorized
|
|
1232
|
+
*/
|
|
1233
|
+
401: ErrorResponse;
|
|
1234
|
+
/**
|
|
1235
|
+
* Forbidden
|
|
1236
|
+
*/
|
|
1237
|
+
403: ErrorResponse;
|
|
1238
|
+
/**
|
|
1239
|
+
* Not Found
|
|
1240
|
+
*/
|
|
1241
|
+
404: ErrorResponse;
|
|
1242
|
+
/**
|
|
1243
|
+
* Conflict
|
|
1244
|
+
*/
|
|
1245
|
+
409: ErrorResponse;
|
|
1246
|
+
/**
|
|
1247
|
+
* Internal server error
|
|
1248
|
+
*/
|
|
1249
|
+
500: ErrorResponse;
|
|
1250
|
+
/**
|
|
1251
|
+
* Service Unavailable
|
|
1252
|
+
*/
|
|
1253
|
+
503: ErrorResponse;
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
export type GetProjectInfoError = GetProjectInfoErrors[keyof GetProjectInfoErrors];
|
|
1257
|
+
|
|
1258
|
+
export type GetProjectInfoResponses = {
|
|
1259
|
+
/**
|
|
1260
|
+
* Returns project's GitHub info
|
|
1261
|
+
*/
|
|
1262
|
+
200: {
|
|
1263
|
+
createdAt: string;
|
|
1264
|
+
updatedAt: string;
|
|
1265
|
+
installationId: number;
|
|
1266
|
+
projectId: string;
|
|
1267
|
+
branch: string;
|
|
1268
|
+
repoFullName: string;
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
export type GetProjectInfoResponse = GetProjectInfoResponses[keyof GetProjectInfoResponses];
|
|
1273
|
+
|
|
1274
|
+
export type CreateRepositoryData = {
|
|
1275
|
+
body?: {
|
|
1276
|
+
dazlId: string;
|
|
1277
|
+
installationId: number;
|
|
1278
|
+
repoName: string;
|
|
1279
|
+
isPrivate?: boolean;
|
|
1280
|
+
description?: string;
|
|
1281
|
+
};
|
|
1282
|
+
path: {
|
|
1283
|
+
projectId: string;
|
|
1284
|
+
};
|
|
1285
|
+
query?: never;
|
|
1286
|
+
url: '/github/project/{projectId}/repo';
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
export type CreateRepositoryErrors = {
|
|
1290
|
+
/**
|
|
1291
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1292
|
+
*/
|
|
1293
|
+
400: {
|
|
1294
|
+
message: string;
|
|
1295
|
+
issues?: string;
|
|
1296
|
+
};
|
|
1297
|
+
/**
|
|
1298
|
+
* Unauthorized
|
|
1299
|
+
*/
|
|
1300
|
+
401: ErrorResponse;
|
|
1301
|
+
/**
|
|
1302
|
+
* Forbidden
|
|
1303
|
+
*/
|
|
1304
|
+
403: ErrorResponse;
|
|
1305
|
+
/**
|
|
1306
|
+
* Not Found
|
|
1307
|
+
*/
|
|
1308
|
+
404: ErrorResponse;
|
|
1309
|
+
/**
|
|
1310
|
+
* Conflict
|
|
1311
|
+
*/
|
|
1312
|
+
409: ErrorResponse;
|
|
1313
|
+
/**
|
|
1314
|
+
* Internal server error
|
|
1315
|
+
*/
|
|
1316
|
+
500: ErrorResponse;
|
|
1317
|
+
/**
|
|
1318
|
+
* Service Unavailable
|
|
1319
|
+
*/
|
|
1320
|
+
503: ErrorResponse;
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1323
|
+
export type CreateRepositoryError = CreateRepositoryErrors[keyof CreateRepositoryErrors];
|
|
1324
|
+
|
|
1325
|
+
export type CreateRepositoryResponses = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Repository created and linked to project
|
|
1328
|
+
*/
|
|
1329
|
+
200: {
|
|
1330
|
+
repoFullName: string;
|
|
1331
|
+
repoUrl: string;
|
|
1332
|
+
branch: string;
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
export type CreateRepositoryResponse = CreateRepositoryResponses[keyof CreateRepositoryResponses];
|
|
1337
|
+
|
|
1145
1338
|
export type GetInstallationUrlData = {
|
|
1146
1339
|
body?: never;
|
|
1147
1340
|
path?: never;
|
|
@@ -1171,6 +1364,10 @@ export type GetInstallationUrlErrors = {
|
|
|
1171
1364
|
* Not Found
|
|
1172
1365
|
*/
|
|
1173
1366
|
404: ErrorResponse;
|
|
1367
|
+
/**
|
|
1368
|
+
* Conflict
|
|
1369
|
+
*/
|
|
1370
|
+
409: ErrorResponse;
|
|
1174
1371
|
/**
|
|
1175
1372
|
* Internal server error
|
|
1176
1373
|
*/
|
|
@@ -1228,6 +1425,10 @@ export type EnsureSiteIdErrors = {
|
|
|
1228
1425
|
* Not Found
|
|
1229
1426
|
*/
|
|
1230
1427
|
404: ErrorResponse;
|
|
1428
|
+
/**
|
|
1429
|
+
* Conflict
|
|
1430
|
+
*/
|
|
1431
|
+
409: ErrorResponse;
|
|
1231
1432
|
/**
|
|
1232
1433
|
* Internal server error
|
|
1233
1434
|
*/
|
|
@@ -1281,6 +1482,10 @@ export type GetLatestDeployErrors = {
|
|
|
1281
1482
|
* Not Found
|
|
1282
1483
|
*/
|
|
1283
1484
|
404: ErrorResponse;
|
|
1485
|
+
/**
|
|
1486
|
+
* Conflict
|
|
1487
|
+
*/
|
|
1488
|
+
409: ErrorResponse;
|
|
1284
1489
|
/**
|
|
1285
1490
|
* Internal server error
|
|
1286
1491
|
*/
|
|
@@ -1336,6 +1541,10 @@ export type UpsertDeployInDbErrors = {
|
|
|
1336
1541
|
* Not Found
|
|
1337
1542
|
*/
|
|
1338
1543
|
404: ErrorResponse;
|
|
1544
|
+
/**
|
|
1545
|
+
* Conflict
|
|
1546
|
+
*/
|
|
1547
|
+
409: ErrorResponse;
|
|
1339
1548
|
/**
|
|
1340
1549
|
* Internal server error
|
|
1341
1550
|
*/
|
|
@@ -1389,6 +1598,10 @@ export type UpdateEnvVarsErrors = {
|
|
|
1389
1598
|
* Not Found
|
|
1390
1599
|
*/
|
|
1391
1600
|
404: ErrorResponse;
|
|
1601
|
+
/**
|
|
1602
|
+
* Conflict
|
|
1603
|
+
*/
|
|
1604
|
+
409: ErrorResponse;
|
|
1392
1605
|
/**
|
|
1393
1606
|
* Internal server error
|
|
1394
1607
|
*/
|
|
@@ -1412,6 +1625,179 @@ export type UpdateEnvVarsResponses = {
|
|
|
1412
1625
|
|
|
1413
1626
|
export type UpdateEnvVarsResponse = UpdateEnvVarsResponses[keyof UpdateEnvVarsResponses];
|
|
1414
1627
|
|
|
1628
|
+
export type DeleteCustomDomainData = {
|
|
1629
|
+
body?: never;
|
|
1630
|
+
path?: never;
|
|
1631
|
+
query: {
|
|
1632
|
+
projectId: string;
|
|
1633
|
+
dazlId: string;
|
|
1634
|
+
domain: string;
|
|
1635
|
+
};
|
|
1636
|
+
url: '/publish/custom-domain';
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
export type DeleteCustomDomainErrors = {
|
|
1640
|
+
/**
|
|
1641
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1642
|
+
*/
|
|
1643
|
+
400: {
|
|
1644
|
+
message: string;
|
|
1645
|
+
issues?: string;
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* Unauthorized
|
|
1649
|
+
*/
|
|
1650
|
+
401: ErrorResponse;
|
|
1651
|
+
/**
|
|
1652
|
+
* Forbidden
|
|
1653
|
+
*/
|
|
1654
|
+
403: ErrorResponse;
|
|
1655
|
+
/**
|
|
1656
|
+
* Not Found
|
|
1657
|
+
*/
|
|
1658
|
+
404: ErrorResponse;
|
|
1659
|
+
/**
|
|
1660
|
+
* Conflict
|
|
1661
|
+
*/
|
|
1662
|
+
409: ErrorResponse;
|
|
1663
|
+
/**
|
|
1664
|
+
* Internal server error
|
|
1665
|
+
*/
|
|
1666
|
+
500: ErrorResponse;
|
|
1667
|
+
/**
|
|
1668
|
+
* Service Unavailable
|
|
1669
|
+
*/
|
|
1670
|
+
503: ErrorResponse;
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
export type DeleteCustomDomainError = DeleteCustomDomainErrors[keyof DeleteCustomDomainErrors];
|
|
1674
|
+
|
|
1675
|
+
export type DeleteCustomDomainResponses = {
|
|
1676
|
+
/**
|
|
1677
|
+
* Removes a custom domain from the project
|
|
1678
|
+
*/
|
|
1679
|
+
200: {
|
|
1680
|
+
success: boolean;
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
export type DeleteCustomDomainResponse = DeleteCustomDomainResponses[keyof DeleteCustomDomainResponses];
|
|
1685
|
+
|
|
1686
|
+
export type GetCustomDomainData = {
|
|
1687
|
+
body?: never;
|
|
1688
|
+
path?: never;
|
|
1689
|
+
query: {
|
|
1690
|
+
projectId: string;
|
|
1691
|
+
dazlId: string;
|
|
1692
|
+
};
|
|
1693
|
+
url: '/publish/custom-domain';
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
export type GetCustomDomainErrors = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1699
|
+
*/
|
|
1700
|
+
400: {
|
|
1701
|
+
message: string;
|
|
1702
|
+
issues?: string;
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* Unauthorized
|
|
1706
|
+
*/
|
|
1707
|
+
401: ErrorResponse;
|
|
1708
|
+
/**
|
|
1709
|
+
* Forbidden
|
|
1710
|
+
*/
|
|
1711
|
+
403: ErrorResponse;
|
|
1712
|
+
/**
|
|
1713
|
+
* Not Found
|
|
1714
|
+
*/
|
|
1715
|
+
404: ErrorResponse;
|
|
1716
|
+
/**
|
|
1717
|
+
* Conflict
|
|
1718
|
+
*/
|
|
1719
|
+
409: ErrorResponse;
|
|
1720
|
+
/**
|
|
1721
|
+
* Internal server error
|
|
1722
|
+
*/
|
|
1723
|
+
500: ErrorResponse;
|
|
1724
|
+
/**
|
|
1725
|
+
* Service Unavailable
|
|
1726
|
+
*/
|
|
1727
|
+
503: ErrorResponse;
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1730
|
+
export type GetCustomDomainError = GetCustomDomainErrors[keyof GetCustomDomainErrors];
|
|
1731
|
+
|
|
1732
|
+
export type GetCustomDomainResponses = {
|
|
1733
|
+
/**
|
|
1734
|
+
* Returns the custom domain for the given project
|
|
1735
|
+
*/
|
|
1736
|
+
200: {
|
|
1737
|
+
domain: string | null;
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
|
|
1741
|
+
export type GetCustomDomainResponse = GetCustomDomainResponses[keyof GetCustomDomainResponses];
|
|
1742
|
+
|
|
1743
|
+
export type AddCustomDomainData = {
|
|
1744
|
+
body: {
|
|
1745
|
+
projectId: string;
|
|
1746
|
+
dazlId: string;
|
|
1747
|
+
domain: string;
|
|
1748
|
+
};
|
|
1749
|
+
path?: never;
|
|
1750
|
+
query?: never;
|
|
1751
|
+
url: '/publish/custom-domain';
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
export type AddCustomDomainErrors = {
|
|
1755
|
+
/**
|
|
1756
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1757
|
+
*/
|
|
1758
|
+
400: {
|
|
1759
|
+
message: string;
|
|
1760
|
+
issues?: string;
|
|
1761
|
+
};
|
|
1762
|
+
/**
|
|
1763
|
+
* Unauthorized
|
|
1764
|
+
*/
|
|
1765
|
+
401: ErrorResponse;
|
|
1766
|
+
/**
|
|
1767
|
+
* Forbidden
|
|
1768
|
+
*/
|
|
1769
|
+
403: ErrorResponse;
|
|
1770
|
+
/**
|
|
1771
|
+
* Not Found
|
|
1772
|
+
*/
|
|
1773
|
+
404: ErrorResponse;
|
|
1774
|
+
/**
|
|
1775
|
+
* Conflict
|
|
1776
|
+
*/
|
|
1777
|
+
409: ErrorResponse;
|
|
1778
|
+
/**
|
|
1779
|
+
* Internal server error
|
|
1780
|
+
*/
|
|
1781
|
+
500: ErrorResponse;
|
|
1782
|
+
/**
|
|
1783
|
+
* Service Unavailable
|
|
1784
|
+
*/
|
|
1785
|
+
503: ErrorResponse;
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
export type AddCustomDomainError = AddCustomDomainErrors[keyof AddCustomDomainErrors];
|
|
1789
|
+
|
|
1790
|
+
export type AddCustomDomainResponses = {
|
|
1791
|
+
/**
|
|
1792
|
+
* Adds a custom domain to the project
|
|
1793
|
+
*/
|
|
1794
|
+
200: {
|
|
1795
|
+
success: boolean;
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
export type AddCustomDomainResponse = AddCustomDomainResponses[keyof AddCustomDomainResponses];
|
|
1800
|
+
|
|
1415
1801
|
export type DuplicateProjectData = {
|
|
1416
1802
|
body: {
|
|
1417
1803
|
ownerDazlId: string;
|
|
@@ -1447,6 +1833,10 @@ export type DuplicateProjectErrors = {
|
|
|
1447
1833
|
* Not Found
|
|
1448
1834
|
*/
|
|
1449
1835
|
404: ErrorResponse;
|
|
1836
|
+
/**
|
|
1837
|
+
* Conflict
|
|
1838
|
+
*/
|
|
1839
|
+
409: ErrorResponse;
|
|
1450
1840
|
/**
|
|
1451
1841
|
* Internal server error
|
|
1452
1842
|
*/
|
|
@@ -1499,6 +1889,10 @@ export type DeleteProjectErrors = {
|
|
|
1499
1889
|
* Not Found
|
|
1500
1890
|
*/
|
|
1501
1891
|
404: ErrorResponse;
|
|
1892
|
+
/**
|
|
1893
|
+
* Conflict
|
|
1894
|
+
*/
|
|
1895
|
+
409: ErrorResponse;
|
|
1502
1896
|
/**
|
|
1503
1897
|
* Internal server error
|
|
1504
1898
|
*/
|
|
@@ -1553,6 +1947,10 @@ export type GetProjectByIdErrors = {
|
|
|
1553
1947
|
* Not Found
|
|
1554
1948
|
*/
|
|
1555
1949
|
404: ErrorResponse;
|
|
1950
|
+
/**
|
|
1951
|
+
* Conflict
|
|
1952
|
+
*/
|
|
1953
|
+
409: ErrorResponse;
|
|
1556
1954
|
/**
|
|
1557
1955
|
* Internal server error
|
|
1558
1956
|
*/
|
|
@@ -1611,6 +2009,10 @@ export type UpdateProjectErrors = {
|
|
|
1611
2009
|
* Not Found
|
|
1612
2010
|
*/
|
|
1613
2011
|
404: ErrorResponse;
|
|
2012
|
+
/**
|
|
2013
|
+
* Conflict
|
|
2014
|
+
*/
|
|
2015
|
+
409: ErrorResponse;
|
|
1614
2016
|
/**
|
|
1615
2017
|
* Internal server error
|
|
1616
2018
|
*/
|
|
@@ -1666,6 +2068,10 @@ export type CreateProjectErrors = {
|
|
|
1666
2068
|
* Not Found
|
|
1667
2069
|
*/
|
|
1668
2070
|
404: ErrorResponse;
|
|
2071
|
+
/**
|
|
2072
|
+
* Conflict
|
|
2073
|
+
*/
|
|
2074
|
+
409: ErrorResponse;
|
|
1669
2075
|
/**
|
|
1670
2076
|
* Internal server error
|
|
1671
2077
|
*/
|
|
@@ -1727,6 +2133,10 @@ export type GetUserProjectsErrors = {
|
|
|
1727
2133
|
* Not Found
|
|
1728
2134
|
*/
|
|
1729
2135
|
404: ErrorResponse;
|
|
2136
|
+
/**
|
|
2137
|
+
* Conflict
|
|
2138
|
+
*/
|
|
2139
|
+
409: ErrorResponse;
|
|
1730
2140
|
/**
|
|
1731
2141
|
* Internal server error
|
|
1732
2142
|
*/
|
|
@@ -1789,6 +2199,10 @@ export type GetUserTemplatesErrors = {
|
|
|
1789
2199
|
* Not Found
|
|
1790
2200
|
*/
|
|
1791
2201
|
404: ErrorResponse;
|
|
2202
|
+
/**
|
|
2203
|
+
* Conflict
|
|
2204
|
+
*/
|
|
2205
|
+
409: ErrorResponse;
|
|
1792
2206
|
/**
|
|
1793
2207
|
* Internal server error
|
|
1794
2208
|
*/
|
|
@@ -1849,6 +2263,10 @@ export type DeleteTemplateErrors = {
|
|
|
1849
2263
|
* Not Found
|
|
1850
2264
|
*/
|
|
1851
2265
|
404: ErrorResponse;
|
|
2266
|
+
/**
|
|
2267
|
+
* Conflict
|
|
2268
|
+
*/
|
|
2269
|
+
409: ErrorResponse;
|
|
1852
2270
|
/**
|
|
1853
2271
|
* Internal server error
|
|
1854
2272
|
*/
|
|
@@ -1901,6 +2319,10 @@ export type GetTemplateErrors = {
|
|
|
1901
2319
|
* Not Found
|
|
1902
2320
|
*/
|
|
1903
2321
|
404: ErrorResponse;
|
|
2322
|
+
/**
|
|
2323
|
+
* Conflict
|
|
2324
|
+
*/
|
|
2325
|
+
409: ErrorResponse;
|
|
1904
2326
|
/**
|
|
1905
2327
|
* Internal server error
|
|
1906
2328
|
*/
|
|
@@ -1959,6 +2381,10 @@ export type UpdateTemplateErrors = {
|
|
|
1959
2381
|
* Not Found
|
|
1960
2382
|
*/
|
|
1961
2383
|
404: ErrorResponse;
|
|
2384
|
+
/**
|
|
2385
|
+
* Conflict
|
|
2386
|
+
*/
|
|
2387
|
+
409: ErrorResponse;
|
|
1962
2388
|
/**
|
|
1963
2389
|
* Internal server error
|
|
1964
2390
|
*/
|
|
@@ -2017,6 +2443,10 @@ export type CreateTemplateErrors = {
|
|
|
2017
2443
|
* Not Found
|
|
2018
2444
|
*/
|
|
2019
2445
|
404: ErrorResponse;
|
|
2446
|
+
/**
|
|
2447
|
+
* Conflict
|
|
2448
|
+
*/
|
|
2449
|
+
409: ErrorResponse;
|
|
2020
2450
|
/**
|
|
2021
2451
|
* Internal server error
|
|
2022
2452
|
*/
|
|
@@ -2047,9 +2477,9 @@ export type GetUploadConfigurationData = {
|
|
|
2047
2477
|
*/
|
|
2048
2478
|
path: string;
|
|
2049
2479
|
/**
|
|
2050
|
-
* Project identifier
|
|
2480
|
+
* Project identifier (optional for account-level uploads)
|
|
2051
2481
|
*/
|
|
2052
|
-
projectId
|
|
2482
|
+
projectId?: string;
|
|
2053
2483
|
/**
|
|
2054
2484
|
* MIME type of the file to upload
|
|
2055
2485
|
*/
|
|
@@ -2096,6 +2526,10 @@ export type GetUploadConfigurationErrors = {
|
|
|
2096
2526
|
404: {
|
|
2097
2527
|
message: string;
|
|
2098
2528
|
};
|
|
2529
|
+
/**
|
|
2530
|
+
* Conflict
|
|
2531
|
+
*/
|
|
2532
|
+
409: ErrorResponse;
|
|
2099
2533
|
/**
|
|
2100
2534
|
* Internal server error
|
|
2101
2535
|
*/
|
|
@@ -2177,6 +2611,10 @@ export type ListFilesErrors = {
|
|
|
2177
2611
|
404: {
|
|
2178
2612
|
message: string;
|
|
2179
2613
|
};
|
|
2614
|
+
/**
|
|
2615
|
+
* Conflict
|
|
2616
|
+
*/
|
|
2617
|
+
409: ErrorResponse;
|
|
2180
2618
|
/**
|
|
2181
2619
|
* Internal server error
|
|
2182
2620
|
*/
|
|
@@ -2260,6 +2698,10 @@ export type CreateMediaErrors = {
|
|
|
2260
2698
|
404: {
|
|
2261
2699
|
message: string;
|
|
2262
2700
|
};
|
|
2701
|
+
/**
|
|
2702
|
+
* Conflict
|
|
2703
|
+
*/
|
|
2704
|
+
409: ErrorResponse;
|
|
2263
2705
|
/**
|
|
2264
2706
|
* Internal server error
|
|
2265
2707
|
*/
|
|
@@ -2315,6 +2757,10 @@ export type GetAccountScreenshotsErrors = {
|
|
|
2315
2757
|
404: {
|
|
2316
2758
|
message: string;
|
|
2317
2759
|
};
|
|
2760
|
+
/**
|
|
2761
|
+
* Conflict
|
|
2762
|
+
*/
|
|
2763
|
+
409: ErrorResponse;
|
|
2318
2764
|
/**
|
|
2319
2765
|
* Internal server error
|
|
2320
2766
|
*/
|
|
@@ -2376,6 +2822,10 @@ export type GetProjectScreenshotsErrors = {
|
|
|
2376
2822
|
404: {
|
|
2377
2823
|
message: string;
|
|
2378
2824
|
};
|
|
2825
|
+
/**
|
|
2826
|
+
* Conflict
|
|
2827
|
+
*/
|
|
2828
|
+
409: ErrorResponse;
|
|
2379
2829
|
/**
|
|
2380
2830
|
* Internal server error
|
|
2381
2831
|
*/
|
|
@@ -2411,6 +2861,10 @@ export type TakeScreenshotData = {
|
|
|
2411
2861
|
* Viewport height in pixels
|
|
2412
2862
|
*/
|
|
2413
2863
|
height?: number;
|
|
2864
|
+
/**
|
|
2865
|
+
* Capture the full scrollable page
|
|
2866
|
+
*/
|
|
2867
|
+
fullPage?: boolean;
|
|
2414
2868
|
/**
|
|
2415
2869
|
* Screenshot image format
|
|
2416
2870
|
*/
|
|
@@ -2461,6 +2915,10 @@ export type TakeScreenshotErrors = {
|
|
|
2461
2915
|
404: {
|
|
2462
2916
|
message: string;
|
|
2463
2917
|
};
|
|
2918
|
+
/**
|
|
2919
|
+
* Conflict
|
|
2920
|
+
*/
|
|
2921
|
+
409: ErrorResponse;
|
|
2464
2922
|
/**
|
|
2465
2923
|
* Internal server error
|
|
2466
2924
|
*/
|
|
@@ -2501,11 +2959,15 @@ export type TakeScreenshotResponses = {
|
|
|
2501
2959
|
/**
|
|
2502
2960
|
* Viewport width used
|
|
2503
2961
|
*/
|
|
2504
|
-
width
|
|
2962
|
+
width?: number;
|
|
2505
2963
|
/**
|
|
2506
2964
|
* Viewport height used
|
|
2507
2965
|
*/
|
|
2508
|
-
height
|
|
2966
|
+
height?: number;
|
|
2967
|
+
/**
|
|
2968
|
+
* Whether full page was captured
|
|
2969
|
+
*/
|
|
2970
|
+
fullPage?: boolean;
|
|
2509
2971
|
/**
|
|
2510
2972
|
* Image format
|
|
2511
2973
|
*/
|
|
@@ -2576,6 +3038,10 @@ export type ScrapePageContentErrors = {
|
|
|
2576
3038
|
404: {
|
|
2577
3039
|
message: string;
|
|
2578
3040
|
};
|
|
3041
|
+
/**
|
|
3042
|
+
* Conflict
|
|
3043
|
+
*/
|
|
3044
|
+
409: ErrorResponse;
|
|
2579
3045
|
/**
|
|
2580
3046
|
* Internal server error
|
|
2581
3047
|
*/
|
|
@@ -2690,6 +3156,10 @@ export type GetUserByDazlIdErrors = {
|
|
|
2690
3156
|
* Not Found
|
|
2691
3157
|
*/
|
|
2692
3158
|
404: ErrorResponse;
|
|
3159
|
+
/**
|
|
3160
|
+
* Conflict
|
|
3161
|
+
*/
|
|
3162
|
+
409: ErrorResponse;
|
|
2693
3163
|
/**
|
|
2694
3164
|
* Internal server error
|
|
2695
3165
|
*/
|
|
@@ -2745,6 +3215,10 @@ export type UpdateUserErrors = {
|
|
|
2745
3215
|
* Not Found
|
|
2746
3216
|
*/
|
|
2747
3217
|
404: ErrorResponse;
|
|
3218
|
+
/**
|
|
3219
|
+
* Conflict
|
|
3220
|
+
*/
|
|
3221
|
+
409: ErrorResponse;
|
|
2748
3222
|
/**
|
|
2749
3223
|
* Internal server error
|
|
2750
3224
|
*/
|
|
@@ -2801,6 +3275,10 @@ export type CreateUserErrors = {
|
|
|
2801
3275
|
* Not Found
|
|
2802
3276
|
*/
|
|
2803
3277
|
404: ErrorResponse;
|
|
3278
|
+
/**
|
|
3279
|
+
* Conflict
|
|
3280
|
+
*/
|
|
3281
|
+
409: ErrorResponse;
|
|
2804
3282
|
/**
|
|
2805
3283
|
* Internal server error
|
|
2806
3284
|
*/
|
|
@@ -2900,6 +3378,10 @@ export type SearchWebErrors = {
|
|
|
2900
3378
|
* Not Found
|
|
2901
3379
|
*/
|
|
2902
3380
|
404: ErrorResponse;
|
|
3381
|
+
/**
|
|
3382
|
+
* Conflict
|
|
3383
|
+
*/
|
|
3384
|
+
409: ErrorResponse;
|
|
2903
3385
|
/**
|
|
2904
3386
|
* Internal server error
|
|
2905
3387
|
*/
|