@dazl/internal-api-client 1.5.7 → 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/src/types.gen.ts CHANGED
@@ -305,6 +305,10 @@ export type GetByDazlIdErrors = {
305
305
  * Not Found
306
306
  */
307
307
  404: ErrorResponse;
308
+ /**
309
+ * Conflict
310
+ */
311
+ 409: ErrorResponse;
308
312
  /**
309
313
  * Internal server error
310
314
  */
@@ -363,6 +367,10 @@ export type UpdateByDazlIdErrors = {
363
367
  * Not Found
364
368
  */
365
369
  404: ErrorResponse;
370
+ /**
371
+ * Conflict
372
+ */
373
+ 409: ErrorResponse;
366
374
  /**
367
375
  * Internal server error
368
376
  */
@@ -415,6 +423,10 @@ export type GetHasSufficientCreditsByDazlIdErrors = {
415
423
  * Not Found
416
424
  */
417
425
  404: ErrorResponse;
426
+ /**
427
+ * Conflict
428
+ */
429
+ 409: ErrorResponse;
418
430
  /**
419
431
  * Internal server error
420
432
  */
@@ -465,6 +477,10 @@ export type GetAllProductsErrors = {
465
477
  * Not Found
466
478
  */
467
479
  404: ErrorResponse;
480
+ /**
481
+ * Conflict
482
+ */
483
+ 409: ErrorResponse;
468
484
  /**
469
485
  * Internal server error
470
486
  */
@@ -515,6 +531,10 @@ export type GetMaxCreditsForDefaultFreeErrors = {
515
531
  * Not Found
516
532
  */
517
533
  404: ErrorResponse;
534
+ /**
535
+ * Conflict
536
+ */
537
+ 409: ErrorResponse;
518
538
  /**
519
539
  * Internal server error
520
540
  */
@@ -567,6 +587,10 @@ export type GetPriceByIdErrors = {
567
587
  * Not Found
568
588
  */
569
589
  404: ErrorResponse;
590
+ /**
591
+ * Conflict
592
+ */
593
+ 409: ErrorResponse;
570
594
  /**
571
595
  * Internal server error
572
596
  */
@@ -630,6 +654,10 @@ export type GetCustomerInfoByDazlIdErrors = {
630
654
  * Not Found
631
655
  */
632
656
  404: ErrorResponse;
657
+ /**
658
+ * Conflict
659
+ */
660
+ 409: ErrorResponse;
633
661
  /**
634
662
  * Internal server error
635
663
  */
@@ -683,6 +711,10 @@ export type UpdateUserSubscriptionErrors = {
683
711
  * Not Found
684
712
  */
685
713
  404: ErrorResponse;
714
+ /**
715
+ * Conflict
716
+ */
717
+ 409: ErrorResponse;
686
718
  /**
687
719
  * Internal server error
688
720
  */
@@ -741,6 +773,10 @@ export type CancelScheduledUpdateByDazlIdErrors = {
741
773
  * Not Found
742
774
  */
743
775
  404: ErrorResponse;
776
+ /**
777
+ * Conflict
778
+ */
779
+ 409: ErrorResponse;
744
780
  /**
745
781
  * Internal server error
746
782
  */
@@ -794,6 +830,10 @@ export type CreateCustomerPortalSessionErrors = {
794
830
  * Not Found
795
831
  */
796
832
  404: ErrorResponse;
833
+ /**
834
+ * Conflict
835
+ */
836
+ 409: ErrorResponse;
797
837
  /**
798
838
  * Internal server error
799
839
  */
@@ -853,6 +893,10 @@ export type CreateCustomerWithDefaultSubscriptionErrors = {
853
893
  * Not Found
854
894
  */
855
895
  404: ErrorResponse;
896
+ /**
897
+ * Conflict
898
+ */
899
+ 409: ErrorResponse;
856
900
  /**
857
901
  * Internal server error
858
902
  */
@@ -906,6 +950,10 @@ export type GetUserInfoByDazlIdErrors = {
906
950
  * Not Found
907
951
  */
908
952
  404: ErrorResponse;
953
+ /**
954
+ * Conflict
955
+ */
956
+ 409: ErrorResponse;
909
957
  /**
910
958
  * Internal server error
911
959
  */
@@ -963,6 +1011,10 @@ export type ConnectUserErrors = {
963
1011
  * Not Found
964
1012
  */
965
1013
  404: ErrorResponse;
1014
+ /**
1015
+ * Conflict
1016
+ */
1017
+ 409: ErrorResponse;
966
1018
  /**
967
1019
  * Internal server error
968
1020
  */
@@ -1015,6 +1067,10 @@ export type GetUserInfoErrors = {
1015
1067
  * Not Found
1016
1068
  */
1017
1069
  404: ErrorResponse;
1070
+ /**
1071
+ * Conflict
1072
+ */
1073
+ 409: ErrorResponse;
1018
1074
  /**
1019
1075
  * Internal server error
1020
1076
  */
@@ -1067,6 +1123,10 @@ export type GetInstallationsErrors = {
1067
1123
  * Not Found
1068
1124
  */
1069
1125
  404: ErrorResponse;
1126
+ /**
1127
+ * Conflict
1128
+ */
1129
+ 409: ErrorResponse;
1070
1130
  /**
1071
1131
  * Internal server error
1072
1132
  */
@@ -1123,6 +1183,10 @@ export type GetInstallationTokenErrors = {
1123
1183
  * Not Found
1124
1184
  */
1125
1185
  404: ErrorResponse;
1186
+ /**
1187
+ * Conflict
1188
+ */
1189
+ 409: ErrorResponse;
1126
1190
  /**
1127
1191
  * Internal server error
1128
1192
  */
@@ -1146,6 +1210,131 @@ export type GetInstallationTokenResponses = {
1146
1210
 
1147
1211
  export type GetInstallationTokenResponse = GetInstallationTokenResponses[keyof GetInstallationTokenResponses];
1148
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
+
1149
1338
  export type GetInstallationUrlData = {
1150
1339
  body?: never;
1151
1340
  path?: never;
@@ -1175,6 +1364,10 @@ export type GetInstallationUrlErrors = {
1175
1364
  * Not Found
1176
1365
  */
1177
1366
  404: ErrorResponse;
1367
+ /**
1368
+ * Conflict
1369
+ */
1370
+ 409: ErrorResponse;
1178
1371
  /**
1179
1372
  * Internal server error
1180
1373
  */
@@ -1232,6 +1425,10 @@ export type EnsureSiteIdErrors = {
1232
1425
  * Not Found
1233
1426
  */
1234
1427
  404: ErrorResponse;
1428
+ /**
1429
+ * Conflict
1430
+ */
1431
+ 409: ErrorResponse;
1235
1432
  /**
1236
1433
  * Internal server error
1237
1434
  */
@@ -1285,6 +1482,10 @@ export type GetLatestDeployErrors = {
1285
1482
  * Not Found
1286
1483
  */
1287
1484
  404: ErrorResponse;
1485
+ /**
1486
+ * Conflict
1487
+ */
1488
+ 409: ErrorResponse;
1288
1489
  /**
1289
1490
  * Internal server error
1290
1491
  */
@@ -1340,6 +1541,10 @@ export type UpsertDeployInDbErrors = {
1340
1541
  * Not Found
1341
1542
  */
1342
1543
  404: ErrorResponse;
1544
+ /**
1545
+ * Conflict
1546
+ */
1547
+ 409: ErrorResponse;
1343
1548
  /**
1344
1549
  * Internal server error
1345
1550
  */
@@ -1393,6 +1598,10 @@ export type UpdateEnvVarsErrors = {
1393
1598
  * Not Found
1394
1599
  */
1395
1600
  404: ErrorResponse;
1601
+ /**
1602
+ * Conflict
1603
+ */
1604
+ 409: ErrorResponse;
1396
1605
  /**
1397
1606
  * Internal server error
1398
1607
  */
@@ -1447,6 +1656,10 @@ export type DeleteCustomDomainErrors = {
1447
1656
  * Not Found
1448
1657
  */
1449
1658
  404: ErrorResponse;
1659
+ /**
1660
+ * Conflict
1661
+ */
1662
+ 409: ErrorResponse;
1450
1663
  /**
1451
1664
  * Internal server error
1452
1665
  */
@@ -1500,6 +1713,10 @@ export type GetCustomDomainErrors = {
1500
1713
  * Not Found
1501
1714
  */
1502
1715
  404: ErrorResponse;
1716
+ /**
1717
+ * Conflict
1718
+ */
1719
+ 409: ErrorResponse;
1503
1720
  /**
1504
1721
  * Internal server error
1505
1722
  */
@@ -1554,6 +1771,10 @@ export type AddCustomDomainErrors = {
1554
1771
  * Not Found
1555
1772
  */
1556
1773
  404: ErrorResponse;
1774
+ /**
1775
+ * Conflict
1776
+ */
1777
+ 409: ErrorResponse;
1557
1778
  /**
1558
1779
  * Internal server error
1559
1780
  */
@@ -1612,6 +1833,10 @@ export type DuplicateProjectErrors = {
1612
1833
  * Not Found
1613
1834
  */
1614
1835
  404: ErrorResponse;
1836
+ /**
1837
+ * Conflict
1838
+ */
1839
+ 409: ErrorResponse;
1615
1840
  /**
1616
1841
  * Internal server error
1617
1842
  */
@@ -1664,6 +1889,10 @@ export type DeleteProjectErrors = {
1664
1889
  * Not Found
1665
1890
  */
1666
1891
  404: ErrorResponse;
1892
+ /**
1893
+ * Conflict
1894
+ */
1895
+ 409: ErrorResponse;
1667
1896
  /**
1668
1897
  * Internal server error
1669
1898
  */
@@ -1718,6 +1947,10 @@ export type GetProjectByIdErrors = {
1718
1947
  * Not Found
1719
1948
  */
1720
1949
  404: ErrorResponse;
1950
+ /**
1951
+ * Conflict
1952
+ */
1953
+ 409: ErrorResponse;
1721
1954
  /**
1722
1955
  * Internal server error
1723
1956
  */
@@ -1776,6 +2009,10 @@ export type UpdateProjectErrors = {
1776
2009
  * Not Found
1777
2010
  */
1778
2011
  404: ErrorResponse;
2012
+ /**
2013
+ * Conflict
2014
+ */
2015
+ 409: ErrorResponse;
1779
2016
  /**
1780
2017
  * Internal server error
1781
2018
  */
@@ -1831,6 +2068,10 @@ export type CreateProjectErrors = {
1831
2068
  * Not Found
1832
2069
  */
1833
2070
  404: ErrorResponse;
2071
+ /**
2072
+ * Conflict
2073
+ */
2074
+ 409: ErrorResponse;
1834
2075
  /**
1835
2076
  * Internal server error
1836
2077
  */
@@ -1892,6 +2133,10 @@ export type GetUserProjectsErrors = {
1892
2133
  * Not Found
1893
2134
  */
1894
2135
  404: ErrorResponse;
2136
+ /**
2137
+ * Conflict
2138
+ */
2139
+ 409: ErrorResponse;
1895
2140
  /**
1896
2141
  * Internal server error
1897
2142
  */
@@ -1954,6 +2199,10 @@ export type GetUserTemplatesErrors = {
1954
2199
  * Not Found
1955
2200
  */
1956
2201
  404: ErrorResponse;
2202
+ /**
2203
+ * Conflict
2204
+ */
2205
+ 409: ErrorResponse;
1957
2206
  /**
1958
2207
  * Internal server error
1959
2208
  */
@@ -2014,6 +2263,10 @@ export type DeleteTemplateErrors = {
2014
2263
  * Not Found
2015
2264
  */
2016
2265
  404: ErrorResponse;
2266
+ /**
2267
+ * Conflict
2268
+ */
2269
+ 409: ErrorResponse;
2017
2270
  /**
2018
2271
  * Internal server error
2019
2272
  */
@@ -2066,6 +2319,10 @@ export type GetTemplateErrors = {
2066
2319
  * Not Found
2067
2320
  */
2068
2321
  404: ErrorResponse;
2322
+ /**
2323
+ * Conflict
2324
+ */
2325
+ 409: ErrorResponse;
2069
2326
  /**
2070
2327
  * Internal server error
2071
2328
  */
@@ -2124,6 +2381,10 @@ export type UpdateTemplateErrors = {
2124
2381
  * Not Found
2125
2382
  */
2126
2383
  404: ErrorResponse;
2384
+ /**
2385
+ * Conflict
2386
+ */
2387
+ 409: ErrorResponse;
2127
2388
  /**
2128
2389
  * Internal server error
2129
2390
  */
@@ -2182,6 +2443,10 @@ export type CreateTemplateErrors = {
2182
2443
  * Not Found
2183
2444
  */
2184
2445
  404: ErrorResponse;
2446
+ /**
2447
+ * Conflict
2448
+ */
2449
+ 409: ErrorResponse;
2185
2450
  /**
2186
2451
  * Internal server error
2187
2452
  */
@@ -2261,6 +2526,10 @@ export type GetUploadConfigurationErrors = {
2261
2526
  404: {
2262
2527
  message: string;
2263
2528
  };
2529
+ /**
2530
+ * Conflict
2531
+ */
2532
+ 409: ErrorResponse;
2264
2533
  /**
2265
2534
  * Internal server error
2266
2535
  */
@@ -2342,6 +2611,10 @@ export type ListFilesErrors = {
2342
2611
  404: {
2343
2612
  message: string;
2344
2613
  };
2614
+ /**
2615
+ * Conflict
2616
+ */
2617
+ 409: ErrorResponse;
2345
2618
  /**
2346
2619
  * Internal server error
2347
2620
  */
@@ -2425,6 +2698,10 @@ export type CreateMediaErrors = {
2425
2698
  404: {
2426
2699
  message: string;
2427
2700
  };
2701
+ /**
2702
+ * Conflict
2703
+ */
2704
+ 409: ErrorResponse;
2428
2705
  /**
2429
2706
  * Internal server error
2430
2707
  */
@@ -2480,6 +2757,10 @@ export type GetAccountScreenshotsErrors = {
2480
2757
  404: {
2481
2758
  message: string;
2482
2759
  };
2760
+ /**
2761
+ * Conflict
2762
+ */
2763
+ 409: ErrorResponse;
2483
2764
  /**
2484
2765
  * Internal server error
2485
2766
  */
@@ -2541,6 +2822,10 @@ export type GetProjectScreenshotsErrors = {
2541
2822
  404: {
2542
2823
  message: string;
2543
2824
  };
2825
+ /**
2826
+ * Conflict
2827
+ */
2828
+ 409: ErrorResponse;
2544
2829
  /**
2545
2830
  * Internal server error
2546
2831
  */
@@ -2630,6 +2915,10 @@ export type TakeScreenshotErrors = {
2630
2915
  404: {
2631
2916
  message: string;
2632
2917
  };
2918
+ /**
2919
+ * Conflict
2920
+ */
2921
+ 409: ErrorResponse;
2633
2922
  /**
2634
2923
  * Internal server error
2635
2924
  */
@@ -2749,6 +3038,10 @@ export type ScrapePageContentErrors = {
2749
3038
  404: {
2750
3039
  message: string;
2751
3040
  };
3041
+ /**
3042
+ * Conflict
3043
+ */
3044
+ 409: ErrorResponse;
2752
3045
  /**
2753
3046
  * Internal server error
2754
3047
  */
@@ -2863,6 +3156,10 @@ export type GetUserByDazlIdErrors = {
2863
3156
  * Not Found
2864
3157
  */
2865
3158
  404: ErrorResponse;
3159
+ /**
3160
+ * Conflict
3161
+ */
3162
+ 409: ErrorResponse;
2866
3163
  /**
2867
3164
  * Internal server error
2868
3165
  */
@@ -2918,6 +3215,10 @@ export type UpdateUserErrors = {
2918
3215
  * Not Found
2919
3216
  */
2920
3217
  404: ErrorResponse;
3218
+ /**
3219
+ * Conflict
3220
+ */
3221
+ 409: ErrorResponse;
2921
3222
  /**
2922
3223
  * Internal server error
2923
3224
  */
@@ -2974,6 +3275,10 @@ export type CreateUserErrors = {
2974
3275
  * Not Found
2975
3276
  */
2976
3277
  404: ErrorResponse;
3278
+ /**
3279
+ * Conflict
3280
+ */
3281
+ 409: ErrorResponse;
2977
3282
  /**
2978
3283
  * Internal server error
2979
3284
  */
@@ -3073,6 +3378,10 @@ export type SearchWebErrors = {
3073
3378
  * Not Found
3074
3379
  */
3075
3380
  404: ErrorResponse;
3381
+ /**
3382
+ * Conflict
3383
+ */
3384
+ 409: ErrorResponse;
3076
3385
  /**
3077
3386
  * Internal server error
3078
3387
  */