@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/dist/types.gen.d.ts
CHANGED
|
@@ -108,6 +108,10 @@ export type UploadConfiguration = {
|
|
|
108
108
|
* Optional token for authenticated uploads
|
|
109
109
|
*/
|
|
110
110
|
uploadToken?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The computed storage path for the file (e.g., /projects/{projectId}/attachments/... or /uploads/...)
|
|
113
|
+
*/
|
|
114
|
+
path: string;
|
|
111
115
|
};
|
|
112
116
|
export type MediaFileList = {
|
|
113
117
|
/**
|
|
@@ -281,6 +285,10 @@ export type GetByDazlIdErrors = {
|
|
|
281
285
|
* Not Found
|
|
282
286
|
*/
|
|
283
287
|
404: ErrorResponse;
|
|
288
|
+
/**
|
|
289
|
+
* Conflict
|
|
290
|
+
*/
|
|
291
|
+
409: ErrorResponse;
|
|
284
292
|
/**
|
|
285
293
|
* Internal server error
|
|
286
294
|
*/
|
|
@@ -334,6 +342,10 @@ export type UpdateByDazlIdErrors = {
|
|
|
334
342
|
* Not Found
|
|
335
343
|
*/
|
|
336
344
|
404: ErrorResponse;
|
|
345
|
+
/**
|
|
346
|
+
* Conflict
|
|
347
|
+
*/
|
|
348
|
+
409: ErrorResponse;
|
|
337
349
|
/**
|
|
338
350
|
* Internal server error
|
|
339
351
|
*/
|
|
@@ -381,6 +393,10 @@ export type GetHasSufficientCreditsByDazlIdErrors = {
|
|
|
381
393
|
* Not Found
|
|
382
394
|
*/
|
|
383
395
|
404: ErrorResponse;
|
|
396
|
+
/**
|
|
397
|
+
* Conflict
|
|
398
|
+
*/
|
|
399
|
+
409: ErrorResponse;
|
|
384
400
|
/**
|
|
385
401
|
* Internal server error
|
|
386
402
|
*/
|
|
@@ -426,6 +442,10 @@ export type GetAllProductsErrors = {
|
|
|
426
442
|
* Not Found
|
|
427
443
|
*/
|
|
428
444
|
404: ErrorResponse;
|
|
445
|
+
/**
|
|
446
|
+
* Conflict
|
|
447
|
+
*/
|
|
448
|
+
409: ErrorResponse;
|
|
429
449
|
/**
|
|
430
450
|
* Internal server error
|
|
431
451
|
*/
|
|
@@ -471,6 +491,10 @@ export type GetMaxCreditsForDefaultFreeErrors = {
|
|
|
471
491
|
* Not Found
|
|
472
492
|
*/
|
|
473
493
|
404: ErrorResponse;
|
|
494
|
+
/**
|
|
495
|
+
* Conflict
|
|
496
|
+
*/
|
|
497
|
+
409: ErrorResponse;
|
|
474
498
|
/**
|
|
475
499
|
* Internal server error
|
|
476
500
|
*/
|
|
@@ -518,6 +542,10 @@ export type GetPriceByIdErrors = {
|
|
|
518
542
|
* Not Found
|
|
519
543
|
*/
|
|
520
544
|
404: ErrorResponse;
|
|
545
|
+
/**
|
|
546
|
+
* Conflict
|
|
547
|
+
*/
|
|
548
|
+
409: ErrorResponse;
|
|
521
549
|
/**
|
|
522
550
|
* Internal server error
|
|
523
551
|
*/
|
|
@@ -576,6 +604,10 @@ export type GetCustomerInfoByDazlIdErrors = {
|
|
|
576
604
|
* Not Found
|
|
577
605
|
*/
|
|
578
606
|
404: ErrorResponse;
|
|
607
|
+
/**
|
|
608
|
+
* Conflict
|
|
609
|
+
*/
|
|
610
|
+
409: ErrorResponse;
|
|
579
611
|
/**
|
|
580
612
|
* Internal server error
|
|
581
613
|
*/
|
|
@@ -624,6 +656,10 @@ export type UpdateUserSubscriptionErrors = {
|
|
|
624
656
|
* Not Found
|
|
625
657
|
*/
|
|
626
658
|
404: ErrorResponse;
|
|
659
|
+
/**
|
|
660
|
+
* Conflict
|
|
661
|
+
*/
|
|
662
|
+
409: ErrorResponse;
|
|
627
663
|
/**
|
|
628
664
|
* Internal server error
|
|
629
665
|
*/
|
|
@@ -677,6 +713,10 @@ export type CancelScheduledUpdateByDazlIdErrors = {
|
|
|
677
713
|
* Not Found
|
|
678
714
|
*/
|
|
679
715
|
404: ErrorResponse;
|
|
716
|
+
/**
|
|
717
|
+
* Conflict
|
|
718
|
+
*/
|
|
719
|
+
409: ErrorResponse;
|
|
680
720
|
/**
|
|
681
721
|
* Internal server error
|
|
682
722
|
*/
|
|
@@ -725,6 +765,10 @@ export type CreateCustomerPortalSessionErrors = {
|
|
|
725
765
|
* Not Found
|
|
726
766
|
*/
|
|
727
767
|
404: ErrorResponse;
|
|
768
|
+
/**
|
|
769
|
+
* Conflict
|
|
770
|
+
*/
|
|
771
|
+
409: ErrorResponse;
|
|
728
772
|
/**
|
|
729
773
|
* Internal server error
|
|
730
774
|
*/
|
|
@@ -779,6 +823,10 @@ export type CreateCustomerWithDefaultSubscriptionErrors = {
|
|
|
779
823
|
* Not Found
|
|
780
824
|
*/
|
|
781
825
|
404: ErrorResponse;
|
|
826
|
+
/**
|
|
827
|
+
* Conflict
|
|
828
|
+
*/
|
|
829
|
+
409: ErrorResponse;
|
|
782
830
|
/**
|
|
783
831
|
* Internal server error
|
|
784
832
|
*/
|
|
@@ -827,6 +875,10 @@ export type GetUserInfoByDazlIdErrors = {
|
|
|
827
875
|
* Not Found
|
|
828
876
|
*/
|
|
829
877
|
404: ErrorResponse;
|
|
878
|
+
/**
|
|
879
|
+
* Conflict
|
|
880
|
+
*/
|
|
881
|
+
409: ErrorResponse;
|
|
830
882
|
/**
|
|
831
883
|
* Internal server error
|
|
832
884
|
*/
|
|
@@ -879,6 +931,10 @@ export type ConnectUserErrors = {
|
|
|
879
931
|
* Not Found
|
|
880
932
|
*/
|
|
881
933
|
404: ErrorResponse;
|
|
934
|
+
/**
|
|
935
|
+
* Conflict
|
|
936
|
+
*/
|
|
937
|
+
409: ErrorResponse;
|
|
882
938
|
/**
|
|
883
939
|
* Internal server error
|
|
884
940
|
*/
|
|
@@ -926,6 +982,10 @@ export type GetUserInfoErrors = {
|
|
|
926
982
|
* Not Found
|
|
927
983
|
*/
|
|
928
984
|
404: ErrorResponse;
|
|
985
|
+
/**
|
|
986
|
+
* Conflict
|
|
987
|
+
*/
|
|
988
|
+
409: ErrorResponse;
|
|
929
989
|
/**
|
|
930
990
|
* Internal server error
|
|
931
991
|
*/
|
|
@@ -973,6 +1033,10 @@ export type GetInstallationsErrors = {
|
|
|
973
1033
|
* Not Found
|
|
974
1034
|
*/
|
|
975
1035
|
404: ErrorResponse;
|
|
1036
|
+
/**
|
|
1037
|
+
* Conflict
|
|
1038
|
+
*/
|
|
1039
|
+
409: ErrorResponse;
|
|
976
1040
|
/**
|
|
977
1041
|
* Internal server error
|
|
978
1042
|
*/
|
|
@@ -1024,6 +1088,10 @@ export type GetInstallationTokenErrors = {
|
|
|
1024
1088
|
* Not Found
|
|
1025
1089
|
*/
|
|
1026
1090
|
404: ErrorResponse;
|
|
1091
|
+
/**
|
|
1092
|
+
* Conflict
|
|
1093
|
+
*/
|
|
1094
|
+
409: ErrorResponse;
|
|
1027
1095
|
/**
|
|
1028
1096
|
* Internal server error
|
|
1029
1097
|
*/
|
|
@@ -1043,6 +1111,121 @@ export type GetInstallationTokenResponses = {
|
|
|
1043
1111
|
};
|
|
1044
1112
|
};
|
|
1045
1113
|
export type GetInstallationTokenResponse = GetInstallationTokenResponses[keyof GetInstallationTokenResponses];
|
|
1114
|
+
export type GetProjectInfoData = {
|
|
1115
|
+
body?: never;
|
|
1116
|
+
path: {
|
|
1117
|
+
projectId: string;
|
|
1118
|
+
};
|
|
1119
|
+
query?: never;
|
|
1120
|
+
url: '/github/project/{projectId}/info';
|
|
1121
|
+
};
|
|
1122
|
+
export type GetProjectInfoErrors = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1125
|
+
*/
|
|
1126
|
+
400: {
|
|
1127
|
+
message: string;
|
|
1128
|
+
issues?: string;
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* Unauthorized
|
|
1132
|
+
*/
|
|
1133
|
+
401: ErrorResponse;
|
|
1134
|
+
/**
|
|
1135
|
+
* Forbidden
|
|
1136
|
+
*/
|
|
1137
|
+
403: ErrorResponse;
|
|
1138
|
+
/**
|
|
1139
|
+
* Not Found
|
|
1140
|
+
*/
|
|
1141
|
+
404: ErrorResponse;
|
|
1142
|
+
/**
|
|
1143
|
+
* Conflict
|
|
1144
|
+
*/
|
|
1145
|
+
409: ErrorResponse;
|
|
1146
|
+
/**
|
|
1147
|
+
* Internal server error
|
|
1148
|
+
*/
|
|
1149
|
+
500: ErrorResponse;
|
|
1150
|
+
/**
|
|
1151
|
+
* Service Unavailable
|
|
1152
|
+
*/
|
|
1153
|
+
503: ErrorResponse;
|
|
1154
|
+
};
|
|
1155
|
+
export type GetProjectInfoError = GetProjectInfoErrors[keyof GetProjectInfoErrors];
|
|
1156
|
+
export type GetProjectInfoResponses = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Returns project's GitHub info
|
|
1159
|
+
*/
|
|
1160
|
+
200: {
|
|
1161
|
+
createdAt: string;
|
|
1162
|
+
updatedAt: string;
|
|
1163
|
+
installationId: number;
|
|
1164
|
+
projectId: string;
|
|
1165
|
+
branch: string;
|
|
1166
|
+
repoFullName: string;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
export type GetProjectInfoResponse = GetProjectInfoResponses[keyof GetProjectInfoResponses];
|
|
1170
|
+
export type CreateRepositoryData = {
|
|
1171
|
+
body?: {
|
|
1172
|
+
dazlId: string;
|
|
1173
|
+
installationId: number;
|
|
1174
|
+
repoName: string;
|
|
1175
|
+
isPrivate?: boolean;
|
|
1176
|
+
description?: string;
|
|
1177
|
+
};
|
|
1178
|
+
path: {
|
|
1179
|
+
projectId: string;
|
|
1180
|
+
};
|
|
1181
|
+
query?: never;
|
|
1182
|
+
url: '/github/project/{projectId}/repo';
|
|
1183
|
+
};
|
|
1184
|
+
export type CreateRepositoryErrors = {
|
|
1185
|
+
/**
|
|
1186
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1187
|
+
*/
|
|
1188
|
+
400: {
|
|
1189
|
+
message: string;
|
|
1190
|
+
issues?: string;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* Unauthorized
|
|
1194
|
+
*/
|
|
1195
|
+
401: ErrorResponse;
|
|
1196
|
+
/**
|
|
1197
|
+
* Forbidden
|
|
1198
|
+
*/
|
|
1199
|
+
403: ErrorResponse;
|
|
1200
|
+
/**
|
|
1201
|
+
* Not Found
|
|
1202
|
+
*/
|
|
1203
|
+
404: ErrorResponse;
|
|
1204
|
+
/**
|
|
1205
|
+
* Conflict
|
|
1206
|
+
*/
|
|
1207
|
+
409: ErrorResponse;
|
|
1208
|
+
/**
|
|
1209
|
+
* Internal server error
|
|
1210
|
+
*/
|
|
1211
|
+
500: ErrorResponse;
|
|
1212
|
+
/**
|
|
1213
|
+
* Service Unavailable
|
|
1214
|
+
*/
|
|
1215
|
+
503: ErrorResponse;
|
|
1216
|
+
};
|
|
1217
|
+
export type CreateRepositoryError = CreateRepositoryErrors[keyof CreateRepositoryErrors];
|
|
1218
|
+
export type CreateRepositoryResponses = {
|
|
1219
|
+
/**
|
|
1220
|
+
* Repository created and linked to project
|
|
1221
|
+
*/
|
|
1222
|
+
200: {
|
|
1223
|
+
repoFullName: string;
|
|
1224
|
+
repoUrl: string;
|
|
1225
|
+
branch: string;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
export type CreateRepositoryResponse = CreateRepositoryResponses[keyof CreateRepositoryResponses];
|
|
1046
1229
|
export type GetInstallationUrlData = {
|
|
1047
1230
|
body?: never;
|
|
1048
1231
|
path?: never;
|
|
@@ -1071,6 +1254,10 @@ export type GetInstallationUrlErrors = {
|
|
|
1071
1254
|
* Not Found
|
|
1072
1255
|
*/
|
|
1073
1256
|
404: ErrorResponse;
|
|
1257
|
+
/**
|
|
1258
|
+
* Conflict
|
|
1259
|
+
*/
|
|
1260
|
+
409: ErrorResponse;
|
|
1074
1261
|
/**
|
|
1075
1262
|
* Internal server error
|
|
1076
1263
|
*/
|
|
@@ -1123,6 +1310,10 @@ export type EnsureSiteIdErrors = {
|
|
|
1123
1310
|
* Not Found
|
|
1124
1311
|
*/
|
|
1125
1312
|
404: ErrorResponse;
|
|
1313
|
+
/**
|
|
1314
|
+
* Conflict
|
|
1315
|
+
*/
|
|
1316
|
+
409: ErrorResponse;
|
|
1126
1317
|
/**
|
|
1127
1318
|
* Internal server error
|
|
1128
1319
|
*/
|
|
@@ -1171,6 +1362,10 @@ export type GetLatestDeployErrors = {
|
|
|
1171
1362
|
* Not Found
|
|
1172
1363
|
*/
|
|
1173
1364
|
404: ErrorResponse;
|
|
1365
|
+
/**
|
|
1366
|
+
* Conflict
|
|
1367
|
+
*/
|
|
1368
|
+
409: ErrorResponse;
|
|
1174
1369
|
/**
|
|
1175
1370
|
* Internal server error
|
|
1176
1371
|
*/
|
|
@@ -1221,6 +1416,10 @@ export type UpsertDeployInDbErrors = {
|
|
|
1221
1416
|
* Not Found
|
|
1222
1417
|
*/
|
|
1223
1418
|
404: ErrorResponse;
|
|
1419
|
+
/**
|
|
1420
|
+
* Conflict
|
|
1421
|
+
*/
|
|
1422
|
+
409: ErrorResponse;
|
|
1224
1423
|
/**
|
|
1225
1424
|
* Internal server error
|
|
1226
1425
|
*/
|
|
@@ -1269,6 +1468,10 @@ export type UpdateEnvVarsErrors = {
|
|
|
1269
1468
|
* Not Found
|
|
1270
1469
|
*/
|
|
1271
1470
|
404: ErrorResponse;
|
|
1471
|
+
/**
|
|
1472
|
+
* Conflict
|
|
1473
|
+
*/
|
|
1474
|
+
409: ErrorResponse;
|
|
1272
1475
|
/**
|
|
1273
1476
|
* Internal server error
|
|
1274
1477
|
*/
|
|
@@ -1288,6 +1491,164 @@ export type UpdateEnvVarsResponses = {
|
|
|
1288
1491
|
};
|
|
1289
1492
|
};
|
|
1290
1493
|
export type UpdateEnvVarsResponse = UpdateEnvVarsResponses[keyof UpdateEnvVarsResponses];
|
|
1494
|
+
export type DeleteCustomDomainData = {
|
|
1495
|
+
body?: never;
|
|
1496
|
+
path?: never;
|
|
1497
|
+
query: {
|
|
1498
|
+
projectId: string;
|
|
1499
|
+
dazlId: string;
|
|
1500
|
+
domain: string;
|
|
1501
|
+
};
|
|
1502
|
+
url: '/publish/custom-domain';
|
|
1503
|
+
};
|
|
1504
|
+
export type DeleteCustomDomainErrors = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1507
|
+
*/
|
|
1508
|
+
400: {
|
|
1509
|
+
message: string;
|
|
1510
|
+
issues?: string;
|
|
1511
|
+
};
|
|
1512
|
+
/**
|
|
1513
|
+
* Unauthorized
|
|
1514
|
+
*/
|
|
1515
|
+
401: ErrorResponse;
|
|
1516
|
+
/**
|
|
1517
|
+
* Forbidden
|
|
1518
|
+
*/
|
|
1519
|
+
403: ErrorResponse;
|
|
1520
|
+
/**
|
|
1521
|
+
* Not Found
|
|
1522
|
+
*/
|
|
1523
|
+
404: ErrorResponse;
|
|
1524
|
+
/**
|
|
1525
|
+
* Conflict
|
|
1526
|
+
*/
|
|
1527
|
+
409: ErrorResponse;
|
|
1528
|
+
/**
|
|
1529
|
+
* Internal server error
|
|
1530
|
+
*/
|
|
1531
|
+
500: ErrorResponse;
|
|
1532
|
+
/**
|
|
1533
|
+
* Service Unavailable
|
|
1534
|
+
*/
|
|
1535
|
+
503: ErrorResponse;
|
|
1536
|
+
};
|
|
1537
|
+
export type DeleteCustomDomainError = DeleteCustomDomainErrors[keyof DeleteCustomDomainErrors];
|
|
1538
|
+
export type DeleteCustomDomainResponses = {
|
|
1539
|
+
/**
|
|
1540
|
+
* Removes a custom domain from the project
|
|
1541
|
+
*/
|
|
1542
|
+
200: {
|
|
1543
|
+
success: boolean;
|
|
1544
|
+
};
|
|
1545
|
+
};
|
|
1546
|
+
export type DeleteCustomDomainResponse = DeleteCustomDomainResponses[keyof DeleteCustomDomainResponses];
|
|
1547
|
+
export type GetCustomDomainData = {
|
|
1548
|
+
body?: never;
|
|
1549
|
+
path?: never;
|
|
1550
|
+
query: {
|
|
1551
|
+
projectId: string;
|
|
1552
|
+
dazlId: string;
|
|
1553
|
+
};
|
|
1554
|
+
url: '/publish/custom-domain';
|
|
1555
|
+
};
|
|
1556
|
+
export type GetCustomDomainErrors = {
|
|
1557
|
+
/**
|
|
1558
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1559
|
+
*/
|
|
1560
|
+
400: {
|
|
1561
|
+
message: string;
|
|
1562
|
+
issues?: string;
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* Unauthorized
|
|
1566
|
+
*/
|
|
1567
|
+
401: ErrorResponse;
|
|
1568
|
+
/**
|
|
1569
|
+
* Forbidden
|
|
1570
|
+
*/
|
|
1571
|
+
403: ErrorResponse;
|
|
1572
|
+
/**
|
|
1573
|
+
* Not Found
|
|
1574
|
+
*/
|
|
1575
|
+
404: ErrorResponse;
|
|
1576
|
+
/**
|
|
1577
|
+
* Conflict
|
|
1578
|
+
*/
|
|
1579
|
+
409: ErrorResponse;
|
|
1580
|
+
/**
|
|
1581
|
+
* Internal server error
|
|
1582
|
+
*/
|
|
1583
|
+
500: ErrorResponse;
|
|
1584
|
+
/**
|
|
1585
|
+
* Service Unavailable
|
|
1586
|
+
*/
|
|
1587
|
+
503: ErrorResponse;
|
|
1588
|
+
};
|
|
1589
|
+
export type GetCustomDomainError = GetCustomDomainErrors[keyof GetCustomDomainErrors];
|
|
1590
|
+
export type GetCustomDomainResponses = {
|
|
1591
|
+
/**
|
|
1592
|
+
* Returns the custom domain for the given project
|
|
1593
|
+
*/
|
|
1594
|
+
200: {
|
|
1595
|
+
domain: string | null;
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
export type GetCustomDomainResponse = GetCustomDomainResponses[keyof GetCustomDomainResponses];
|
|
1599
|
+
export type AddCustomDomainData = {
|
|
1600
|
+
body: {
|
|
1601
|
+
projectId: string;
|
|
1602
|
+
dazlId: string;
|
|
1603
|
+
domain: string;
|
|
1604
|
+
};
|
|
1605
|
+
path?: never;
|
|
1606
|
+
query?: never;
|
|
1607
|
+
url: '/publish/custom-domain';
|
|
1608
|
+
};
|
|
1609
|
+
export type AddCustomDomainErrors = {
|
|
1610
|
+
/**
|
|
1611
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1612
|
+
*/
|
|
1613
|
+
400: {
|
|
1614
|
+
message: string;
|
|
1615
|
+
issues?: string;
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Unauthorized
|
|
1619
|
+
*/
|
|
1620
|
+
401: ErrorResponse;
|
|
1621
|
+
/**
|
|
1622
|
+
* Forbidden
|
|
1623
|
+
*/
|
|
1624
|
+
403: ErrorResponse;
|
|
1625
|
+
/**
|
|
1626
|
+
* Not Found
|
|
1627
|
+
*/
|
|
1628
|
+
404: ErrorResponse;
|
|
1629
|
+
/**
|
|
1630
|
+
* Conflict
|
|
1631
|
+
*/
|
|
1632
|
+
409: ErrorResponse;
|
|
1633
|
+
/**
|
|
1634
|
+
* Internal server error
|
|
1635
|
+
*/
|
|
1636
|
+
500: ErrorResponse;
|
|
1637
|
+
/**
|
|
1638
|
+
* Service Unavailable
|
|
1639
|
+
*/
|
|
1640
|
+
503: ErrorResponse;
|
|
1641
|
+
};
|
|
1642
|
+
export type AddCustomDomainError = AddCustomDomainErrors[keyof AddCustomDomainErrors];
|
|
1643
|
+
export type AddCustomDomainResponses = {
|
|
1644
|
+
/**
|
|
1645
|
+
* Adds a custom domain to the project
|
|
1646
|
+
*/
|
|
1647
|
+
200: {
|
|
1648
|
+
success: boolean;
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
export type AddCustomDomainResponse = AddCustomDomainResponses[keyof AddCustomDomainResponses];
|
|
1291
1652
|
export type DuplicateProjectData = {
|
|
1292
1653
|
body: {
|
|
1293
1654
|
ownerDazlId: string;
|
|
@@ -1322,6 +1683,10 @@ export type DuplicateProjectErrors = {
|
|
|
1322
1683
|
* Not Found
|
|
1323
1684
|
*/
|
|
1324
1685
|
404: ErrorResponse;
|
|
1686
|
+
/**
|
|
1687
|
+
* Conflict
|
|
1688
|
+
*/
|
|
1689
|
+
409: ErrorResponse;
|
|
1325
1690
|
/**
|
|
1326
1691
|
* Internal server error
|
|
1327
1692
|
*/
|
|
@@ -1369,6 +1734,10 @@ export type DeleteProjectErrors = {
|
|
|
1369
1734
|
* Not Found
|
|
1370
1735
|
*/
|
|
1371
1736
|
404: ErrorResponse;
|
|
1737
|
+
/**
|
|
1738
|
+
* Conflict
|
|
1739
|
+
*/
|
|
1740
|
+
409: ErrorResponse;
|
|
1372
1741
|
/**
|
|
1373
1742
|
* Internal server error
|
|
1374
1743
|
*/
|
|
@@ -1418,6 +1787,10 @@ export type GetProjectByIdErrors = {
|
|
|
1418
1787
|
* Not Found
|
|
1419
1788
|
*/
|
|
1420
1789
|
404: ErrorResponse;
|
|
1790
|
+
/**
|
|
1791
|
+
* Conflict
|
|
1792
|
+
*/
|
|
1793
|
+
409: ErrorResponse;
|
|
1421
1794
|
/**
|
|
1422
1795
|
* Internal server error
|
|
1423
1796
|
*/
|
|
@@ -1471,6 +1844,10 @@ export type UpdateProjectErrors = {
|
|
|
1471
1844
|
* Not Found
|
|
1472
1845
|
*/
|
|
1473
1846
|
404: ErrorResponse;
|
|
1847
|
+
/**
|
|
1848
|
+
* Conflict
|
|
1849
|
+
*/
|
|
1850
|
+
409: ErrorResponse;
|
|
1474
1851
|
/**
|
|
1475
1852
|
* Internal server error
|
|
1476
1853
|
*/
|
|
@@ -1521,6 +1898,10 @@ export type CreateProjectErrors = {
|
|
|
1521
1898
|
* Not Found
|
|
1522
1899
|
*/
|
|
1523
1900
|
404: ErrorResponse;
|
|
1901
|
+
/**
|
|
1902
|
+
* Conflict
|
|
1903
|
+
*/
|
|
1904
|
+
409: ErrorResponse;
|
|
1524
1905
|
/**
|
|
1525
1906
|
* Internal server error
|
|
1526
1907
|
*/
|
|
@@ -1577,6 +1958,10 @@ export type GetUserProjectsErrors = {
|
|
|
1577
1958
|
* Not Found
|
|
1578
1959
|
*/
|
|
1579
1960
|
404: ErrorResponse;
|
|
1961
|
+
/**
|
|
1962
|
+
* Conflict
|
|
1963
|
+
*/
|
|
1964
|
+
409: ErrorResponse;
|
|
1580
1965
|
/**
|
|
1581
1966
|
* Internal server error
|
|
1582
1967
|
*/
|
|
@@ -1634,6 +2019,10 @@ export type GetUserTemplatesErrors = {
|
|
|
1634
2019
|
* Not Found
|
|
1635
2020
|
*/
|
|
1636
2021
|
404: ErrorResponse;
|
|
2022
|
+
/**
|
|
2023
|
+
* Conflict
|
|
2024
|
+
*/
|
|
2025
|
+
409: ErrorResponse;
|
|
1637
2026
|
/**
|
|
1638
2027
|
* Internal server error
|
|
1639
2028
|
*/
|
|
@@ -1689,6 +2078,10 @@ export type DeleteTemplateErrors = {
|
|
|
1689
2078
|
* Not Found
|
|
1690
2079
|
*/
|
|
1691
2080
|
404: ErrorResponse;
|
|
2081
|
+
/**
|
|
2082
|
+
* Conflict
|
|
2083
|
+
*/
|
|
2084
|
+
409: ErrorResponse;
|
|
1692
2085
|
/**
|
|
1693
2086
|
* Internal server error
|
|
1694
2087
|
*/
|
|
@@ -1736,6 +2129,10 @@ export type GetTemplateErrors = {
|
|
|
1736
2129
|
* Not Found
|
|
1737
2130
|
*/
|
|
1738
2131
|
404: ErrorResponse;
|
|
2132
|
+
/**
|
|
2133
|
+
* Conflict
|
|
2134
|
+
*/
|
|
2135
|
+
409: ErrorResponse;
|
|
1739
2136
|
/**
|
|
1740
2137
|
* Internal server error
|
|
1741
2138
|
*/
|
|
@@ -1789,6 +2186,10 @@ export type UpdateTemplateErrors = {
|
|
|
1789
2186
|
* Not Found
|
|
1790
2187
|
*/
|
|
1791
2188
|
404: ErrorResponse;
|
|
2189
|
+
/**
|
|
2190
|
+
* Conflict
|
|
2191
|
+
*/
|
|
2192
|
+
409: ErrorResponse;
|
|
1792
2193
|
/**
|
|
1793
2194
|
* Internal server error
|
|
1794
2195
|
*/
|
|
@@ -1842,6 +2243,10 @@ export type CreateTemplateErrors = {
|
|
|
1842
2243
|
* Not Found
|
|
1843
2244
|
*/
|
|
1844
2245
|
404: ErrorResponse;
|
|
2246
|
+
/**
|
|
2247
|
+
* Conflict
|
|
2248
|
+
*/
|
|
2249
|
+
409: ErrorResponse;
|
|
1845
2250
|
/**
|
|
1846
2251
|
* Internal server error
|
|
1847
2252
|
*/
|
|
@@ -1868,9 +2273,9 @@ export type GetUploadConfigurationData = {
|
|
|
1868
2273
|
*/
|
|
1869
2274
|
path: string;
|
|
1870
2275
|
/**
|
|
1871
|
-
* Project identifier
|
|
2276
|
+
* Project identifier (optional for account-level uploads)
|
|
1872
2277
|
*/
|
|
1873
|
-
projectId
|
|
2278
|
+
projectId?: string;
|
|
1874
2279
|
/**
|
|
1875
2280
|
* MIME type of the file to upload
|
|
1876
2281
|
*/
|
|
@@ -1916,6 +2321,10 @@ export type GetUploadConfigurationErrors = {
|
|
|
1916
2321
|
404: {
|
|
1917
2322
|
message: string;
|
|
1918
2323
|
};
|
|
2324
|
+
/**
|
|
2325
|
+
* Conflict
|
|
2326
|
+
*/
|
|
2327
|
+
409: ErrorResponse;
|
|
1919
2328
|
/**
|
|
1920
2329
|
* Internal server error
|
|
1921
2330
|
*/
|
|
@@ -1992,6 +2401,10 @@ export type ListFilesErrors = {
|
|
|
1992
2401
|
404: {
|
|
1993
2402
|
message: string;
|
|
1994
2403
|
};
|
|
2404
|
+
/**
|
|
2405
|
+
* Conflict
|
|
2406
|
+
*/
|
|
2407
|
+
409: ErrorResponse;
|
|
1995
2408
|
/**
|
|
1996
2409
|
* Internal server error
|
|
1997
2410
|
*/
|
|
@@ -2070,6 +2483,10 @@ export type CreateMediaErrors = {
|
|
|
2070
2483
|
404: {
|
|
2071
2484
|
message: string;
|
|
2072
2485
|
};
|
|
2486
|
+
/**
|
|
2487
|
+
* Conflict
|
|
2488
|
+
*/
|
|
2489
|
+
409: ErrorResponse;
|
|
2073
2490
|
/**
|
|
2074
2491
|
* Internal server error
|
|
2075
2492
|
*/
|
|
@@ -2121,6 +2538,10 @@ export type GetAccountScreenshotsErrors = {
|
|
|
2121
2538
|
404: {
|
|
2122
2539
|
message: string;
|
|
2123
2540
|
};
|
|
2541
|
+
/**
|
|
2542
|
+
* Conflict
|
|
2543
|
+
*/
|
|
2544
|
+
409: ErrorResponse;
|
|
2124
2545
|
/**
|
|
2125
2546
|
* Internal server error
|
|
2126
2547
|
*/
|
|
@@ -2177,6 +2598,10 @@ export type GetProjectScreenshotsErrors = {
|
|
|
2177
2598
|
404: {
|
|
2178
2599
|
message: string;
|
|
2179
2600
|
};
|
|
2601
|
+
/**
|
|
2602
|
+
* Conflict
|
|
2603
|
+
*/
|
|
2604
|
+
409: ErrorResponse;
|
|
2180
2605
|
/**
|
|
2181
2606
|
* Internal server error
|
|
2182
2607
|
*/
|
|
@@ -2208,6 +2633,10 @@ export type TakeScreenshotData = {
|
|
|
2208
2633
|
* Viewport height in pixels
|
|
2209
2634
|
*/
|
|
2210
2635
|
height?: number;
|
|
2636
|
+
/**
|
|
2637
|
+
* Capture the full scrollable page
|
|
2638
|
+
*/
|
|
2639
|
+
fullPage?: boolean;
|
|
2211
2640
|
/**
|
|
2212
2641
|
* Screenshot image format
|
|
2213
2642
|
*/
|
|
@@ -2257,6 +2686,10 @@ export type TakeScreenshotErrors = {
|
|
|
2257
2686
|
404: {
|
|
2258
2687
|
message: string;
|
|
2259
2688
|
};
|
|
2689
|
+
/**
|
|
2690
|
+
* Conflict
|
|
2691
|
+
*/
|
|
2692
|
+
409: ErrorResponse;
|
|
2260
2693
|
/**
|
|
2261
2694
|
* Internal server error
|
|
2262
2695
|
*/
|
|
@@ -2295,11 +2728,15 @@ export type TakeScreenshotResponses = {
|
|
|
2295
2728
|
/**
|
|
2296
2729
|
* Viewport width used
|
|
2297
2730
|
*/
|
|
2298
|
-
width
|
|
2731
|
+
width?: number;
|
|
2299
2732
|
/**
|
|
2300
2733
|
* Viewport height used
|
|
2301
2734
|
*/
|
|
2302
|
-
height
|
|
2735
|
+
height?: number;
|
|
2736
|
+
/**
|
|
2737
|
+
* Whether full page was captured
|
|
2738
|
+
*/
|
|
2739
|
+
fullPage?: boolean;
|
|
2303
2740
|
/**
|
|
2304
2741
|
* Image format
|
|
2305
2742
|
*/
|
|
@@ -2367,6 +2804,10 @@ export type ScrapePageContentErrors = {
|
|
|
2367
2804
|
404: {
|
|
2368
2805
|
message: string;
|
|
2369
2806
|
};
|
|
2807
|
+
/**
|
|
2808
|
+
* Conflict
|
|
2809
|
+
*/
|
|
2810
|
+
409: ErrorResponse;
|
|
2370
2811
|
/**
|
|
2371
2812
|
* Internal server error
|
|
2372
2813
|
*/
|
|
@@ -2476,6 +2917,10 @@ export type GetUserByDazlIdErrors = {
|
|
|
2476
2917
|
* Not Found
|
|
2477
2918
|
*/
|
|
2478
2919
|
404: ErrorResponse;
|
|
2920
|
+
/**
|
|
2921
|
+
* Conflict
|
|
2922
|
+
*/
|
|
2923
|
+
409: ErrorResponse;
|
|
2479
2924
|
/**
|
|
2480
2925
|
* Internal server error
|
|
2481
2926
|
*/
|
|
@@ -2526,6 +2971,10 @@ export type UpdateUserErrors = {
|
|
|
2526
2971
|
* Not Found
|
|
2527
2972
|
*/
|
|
2528
2973
|
404: ErrorResponse;
|
|
2974
|
+
/**
|
|
2975
|
+
* Conflict
|
|
2976
|
+
*/
|
|
2977
|
+
409: ErrorResponse;
|
|
2529
2978
|
/**
|
|
2530
2979
|
* Internal server error
|
|
2531
2980
|
*/
|
|
@@ -2577,6 +3026,10 @@ export type CreateUserErrors = {
|
|
|
2577
3026
|
* Not Found
|
|
2578
3027
|
*/
|
|
2579
3028
|
404: ErrorResponse;
|
|
3029
|
+
/**
|
|
3030
|
+
* Conflict
|
|
3031
|
+
*/
|
|
3032
|
+
409: ErrorResponse;
|
|
2580
3033
|
/**
|
|
2581
3034
|
* Internal server error
|
|
2582
3035
|
*/
|
|
@@ -2671,6 +3124,10 @@ export type SearchWebErrors = {
|
|
|
2671
3124
|
* Not Found
|
|
2672
3125
|
*/
|
|
2673
3126
|
404: ErrorResponse;
|
|
3127
|
+
/**
|
|
3128
|
+
* Conflict
|
|
3129
|
+
*/
|
|
3130
|
+
409: ErrorResponse;
|
|
2674
3131
|
/**
|
|
2675
3132
|
* Internal server error
|
|
2676
3133
|
*/
|