@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.
@@ -285,6 +285,10 @@ export type GetByDazlIdErrors = {
285
285
  * Not Found
286
286
  */
287
287
  404: ErrorResponse;
288
+ /**
289
+ * Conflict
290
+ */
291
+ 409: ErrorResponse;
288
292
  /**
289
293
  * Internal server error
290
294
  */
@@ -338,6 +342,10 @@ export type UpdateByDazlIdErrors = {
338
342
  * Not Found
339
343
  */
340
344
  404: ErrorResponse;
345
+ /**
346
+ * Conflict
347
+ */
348
+ 409: ErrorResponse;
341
349
  /**
342
350
  * Internal server error
343
351
  */
@@ -385,6 +393,10 @@ export type GetHasSufficientCreditsByDazlIdErrors = {
385
393
  * Not Found
386
394
  */
387
395
  404: ErrorResponse;
396
+ /**
397
+ * Conflict
398
+ */
399
+ 409: ErrorResponse;
388
400
  /**
389
401
  * Internal server error
390
402
  */
@@ -430,6 +442,10 @@ export type GetAllProductsErrors = {
430
442
  * Not Found
431
443
  */
432
444
  404: ErrorResponse;
445
+ /**
446
+ * Conflict
447
+ */
448
+ 409: ErrorResponse;
433
449
  /**
434
450
  * Internal server error
435
451
  */
@@ -475,6 +491,10 @@ export type GetMaxCreditsForDefaultFreeErrors = {
475
491
  * Not Found
476
492
  */
477
493
  404: ErrorResponse;
494
+ /**
495
+ * Conflict
496
+ */
497
+ 409: ErrorResponse;
478
498
  /**
479
499
  * Internal server error
480
500
  */
@@ -522,6 +542,10 @@ export type GetPriceByIdErrors = {
522
542
  * Not Found
523
543
  */
524
544
  404: ErrorResponse;
545
+ /**
546
+ * Conflict
547
+ */
548
+ 409: ErrorResponse;
525
549
  /**
526
550
  * Internal server error
527
551
  */
@@ -580,6 +604,10 @@ export type GetCustomerInfoByDazlIdErrors = {
580
604
  * Not Found
581
605
  */
582
606
  404: ErrorResponse;
607
+ /**
608
+ * Conflict
609
+ */
610
+ 409: ErrorResponse;
583
611
  /**
584
612
  * Internal server error
585
613
  */
@@ -628,6 +656,10 @@ export type UpdateUserSubscriptionErrors = {
628
656
  * Not Found
629
657
  */
630
658
  404: ErrorResponse;
659
+ /**
660
+ * Conflict
661
+ */
662
+ 409: ErrorResponse;
631
663
  /**
632
664
  * Internal server error
633
665
  */
@@ -681,6 +713,10 @@ export type CancelScheduledUpdateByDazlIdErrors = {
681
713
  * Not Found
682
714
  */
683
715
  404: ErrorResponse;
716
+ /**
717
+ * Conflict
718
+ */
719
+ 409: ErrorResponse;
684
720
  /**
685
721
  * Internal server error
686
722
  */
@@ -729,6 +765,10 @@ export type CreateCustomerPortalSessionErrors = {
729
765
  * Not Found
730
766
  */
731
767
  404: ErrorResponse;
768
+ /**
769
+ * Conflict
770
+ */
771
+ 409: ErrorResponse;
732
772
  /**
733
773
  * Internal server error
734
774
  */
@@ -783,6 +823,10 @@ export type CreateCustomerWithDefaultSubscriptionErrors = {
783
823
  * Not Found
784
824
  */
785
825
  404: ErrorResponse;
826
+ /**
827
+ * Conflict
828
+ */
829
+ 409: ErrorResponse;
786
830
  /**
787
831
  * Internal server error
788
832
  */
@@ -831,6 +875,10 @@ export type GetUserInfoByDazlIdErrors = {
831
875
  * Not Found
832
876
  */
833
877
  404: ErrorResponse;
878
+ /**
879
+ * Conflict
880
+ */
881
+ 409: ErrorResponse;
834
882
  /**
835
883
  * Internal server error
836
884
  */
@@ -883,6 +931,10 @@ export type ConnectUserErrors = {
883
931
  * Not Found
884
932
  */
885
933
  404: ErrorResponse;
934
+ /**
935
+ * Conflict
936
+ */
937
+ 409: ErrorResponse;
886
938
  /**
887
939
  * Internal server error
888
940
  */
@@ -930,6 +982,10 @@ export type GetUserInfoErrors = {
930
982
  * Not Found
931
983
  */
932
984
  404: ErrorResponse;
985
+ /**
986
+ * Conflict
987
+ */
988
+ 409: ErrorResponse;
933
989
  /**
934
990
  * Internal server error
935
991
  */
@@ -977,6 +1033,10 @@ export type GetInstallationsErrors = {
977
1033
  * Not Found
978
1034
  */
979
1035
  404: ErrorResponse;
1036
+ /**
1037
+ * Conflict
1038
+ */
1039
+ 409: ErrorResponse;
980
1040
  /**
981
1041
  * Internal server error
982
1042
  */
@@ -1028,6 +1088,10 @@ export type GetInstallationTokenErrors = {
1028
1088
  * Not Found
1029
1089
  */
1030
1090
  404: ErrorResponse;
1091
+ /**
1092
+ * Conflict
1093
+ */
1094
+ 409: ErrorResponse;
1031
1095
  /**
1032
1096
  * Internal server error
1033
1097
  */
@@ -1047,6 +1111,121 @@ export type GetInstallationTokenResponses = {
1047
1111
  };
1048
1112
  };
1049
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];
1050
1229
  export type GetInstallationUrlData = {
1051
1230
  body?: never;
1052
1231
  path?: never;
@@ -1075,6 +1254,10 @@ export type GetInstallationUrlErrors = {
1075
1254
  * Not Found
1076
1255
  */
1077
1256
  404: ErrorResponse;
1257
+ /**
1258
+ * Conflict
1259
+ */
1260
+ 409: ErrorResponse;
1078
1261
  /**
1079
1262
  * Internal server error
1080
1263
  */
@@ -1127,6 +1310,10 @@ export type EnsureSiteIdErrors = {
1127
1310
  * Not Found
1128
1311
  */
1129
1312
  404: ErrorResponse;
1313
+ /**
1314
+ * Conflict
1315
+ */
1316
+ 409: ErrorResponse;
1130
1317
  /**
1131
1318
  * Internal server error
1132
1319
  */
@@ -1175,6 +1362,10 @@ export type GetLatestDeployErrors = {
1175
1362
  * Not Found
1176
1363
  */
1177
1364
  404: ErrorResponse;
1365
+ /**
1366
+ * Conflict
1367
+ */
1368
+ 409: ErrorResponse;
1178
1369
  /**
1179
1370
  * Internal server error
1180
1371
  */
@@ -1225,6 +1416,10 @@ export type UpsertDeployInDbErrors = {
1225
1416
  * Not Found
1226
1417
  */
1227
1418
  404: ErrorResponse;
1419
+ /**
1420
+ * Conflict
1421
+ */
1422
+ 409: ErrorResponse;
1228
1423
  /**
1229
1424
  * Internal server error
1230
1425
  */
@@ -1273,6 +1468,10 @@ export type UpdateEnvVarsErrors = {
1273
1468
  * Not Found
1274
1469
  */
1275
1470
  404: ErrorResponse;
1471
+ /**
1472
+ * Conflict
1473
+ */
1474
+ 409: ErrorResponse;
1276
1475
  /**
1277
1476
  * Internal server error
1278
1477
  */
@@ -1322,6 +1521,10 @@ export type DeleteCustomDomainErrors = {
1322
1521
  * Not Found
1323
1522
  */
1324
1523
  404: ErrorResponse;
1524
+ /**
1525
+ * Conflict
1526
+ */
1527
+ 409: ErrorResponse;
1325
1528
  /**
1326
1529
  * Internal server error
1327
1530
  */
@@ -1370,6 +1573,10 @@ export type GetCustomDomainErrors = {
1370
1573
  * Not Found
1371
1574
  */
1372
1575
  404: ErrorResponse;
1576
+ /**
1577
+ * Conflict
1578
+ */
1579
+ 409: ErrorResponse;
1373
1580
  /**
1374
1581
  * Internal server error
1375
1582
  */
@@ -1419,6 +1626,10 @@ export type AddCustomDomainErrors = {
1419
1626
  * Not Found
1420
1627
  */
1421
1628
  404: ErrorResponse;
1629
+ /**
1630
+ * Conflict
1631
+ */
1632
+ 409: ErrorResponse;
1422
1633
  /**
1423
1634
  * Internal server error
1424
1635
  */
@@ -1472,6 +1683,10 @@ export type DuplicateProjectErrors = {
1472
1683
  * Not Found
1473
1684
  */
1474
1685
  404: ErrorResponse;
1686
+ /**
1687
+ * Conflict
1688
+ */
1689
+ 409: ErrorResponse;
1475
1690
  /**
1476
1691
  * Internal server error
1477
1692
  */
@@ -1519,6 +1734,10 @@ export type DeleteProjectErrors = {
1519
1734
  * Not Found
1520
1735
  */
1521
1736
  404: ErrorResponse;
1737
+ /**
1738
+ * Conflict
1739
+ */
1740
+ 409: ErrorResponse;
1522
1741
  /**
1523
1742
  * Internal server error
1524
1743
  */
@@ -1568,6 +1787,10 @@ export type GetProjectByIdErrors = {
1568
1787
  * Not Found
1569
1788
  */
1570
1789
  404: ErrorResponse;
1790
+ /**
1791
+ * Conflict
1792
+ */
1793
+ 409: ErrorResponse;
1571
1794
  /**
1572
1795
  * Internal server error
1573
1796
  */
@@ -1621,6 +1844,10 @@ export type UpdateProjectErrors = {
1621
1844
  * Not Found
1622
1845
  */
1623
1846
  404: ErrorResponse;
1847
+ /**
1848
+ * Conflict
1849
+ */
1850
+ 409: ErrorResponse;
1624
1851
  /**
1625
1852
  * Internal server error
1626
1853
  */
@@ -1671,6 +1898,10 @@ export type CreateProjectErrors = {
1671
1898
  * Not Found
1672
1899
  */
1673
1900
  404: ErrorResponse;
1901
+ /**
1902
+ * Conflict
1903
+ */
1904
+ 409: ErrorResponse;
1674
1905
  /**
1675
1906
  * Internal server error
1676
1907
  */
@@ -1727,6 +1958,10 @@ export type GetUserProjectsErrors = {
1727
1958
  * Not Found
1728
1959
  */
1729
1960
  404: ErrorResponse;
1961
+ /**
1962
+ * Conflict
1963
+ */
1964
+ 409: ErrorResponse;
1730
1965
  /**
1731
1966
  * Internal server error
1732
1967
  */
@@ -1784,6 +2019,10 @@ export type GetUserTemplatesErrors = {
1784
2019
  * Not Found
1785
2020
  */
1786
2021
  404: ErrorResponse;
2022
+ /**
2023
+ * Conflict
2024
+ */
2025
+ 409: ErrorResponse;
1787
2026
  /**
1788
2027
  * Internal server error
1789
2028
  */
@@ -1839,6 +2078,10 @@ export type DeleteTemplateErrors = {
1839
2078
  * Not Found
1840
2079
  */
1841
2080
  404: ErrorResponse;
2081
+ /**
2082
+ * Conflict
2083
+ */
2084
+ 409: ErrorResponse;
1842
2085
  /**
1843
2086
  * Internal server error
1844
2087
  */
@@ -1886,6 +2129,10 @@ export type GetTemplateErrors = {
1886
2129
  * Not Found
1887
2130
  */
1888
2131
  404: ErrorResponse;
2132
+ /**
2133
+ * Conflict
2134
+ */
2135
+ 409: ErrorResponse;
1889
2136
  /**
1890
2137
  * Internal server error
1891
2138
  */
@@ -1939,6 +2186,10 @@ export type UpdateTemplateErrors = {
1939
2186
  * Not Found
1940
2187
  */
1941
2188
  404: ErrorResponse;
2189
+ /**
2190
+ * Conflict
2191
+ */
2192
+ 409: ErrorResponse;
1942
2193
  /**
1943
2194
  * Internal server error
1944
2195
  */
@@ -1992,6 +2243,10 @@ export type CreateTemplateErrors = {
1992
2243
  * Not Found
1993
2244
  */
1994
2245
  404: ErrorResponse;
2246
+ /**
2247
+ * Conflict
2248
+ */
2249
+ 409: ErrorResponse;
1995
2250
  /**
1996
2251
  * Internal server error
1997
2252
  */
@@ -2066,6 +2321,10 @@ export type GetUploadConfigurationErrors = {
2066
2321
  404: {
2067
2322
  message: string;
2068
2323
  };
2324
+ /**
2325
+ * Conflict
2326
+ */
2327
+ 409: ErrorResponse;
2069
2328
  /**
2070
2329
  * Internal server error
2071
2330
  */
@@ -2142,6 +2401,10 @@ export type ListFilesErrors = {
2142
2401
  404: {
2143
2402
  message: string;
2144
2403
  };
2404
+ /**
2405
+ * Conflict
2406
+ */
2407
+ 409: ErrorResponse;
2145
2408
  /**
2146
2409
  * Internal server error
2147
2410
  */
@@ -2220,6 +2483,10 @@ export type CreateMediaErrors = {
2220
2483
  404: {
2221
2484
  message: string;
2222
2485
  };
2486
+ /**
2487
+ * Conflict
2488
+ */
2489
+ 409: ErrorResponse;
2223
2490
  /**
2224
2491
  * Internal server error
2225
2492
  */
@@ -2271,6 +2538,10 @@ export type GetAccountScreenshotsErrors = {
2271
2538
  404: {
2272
2539
  message: string;
2273
2540
  };
2541
+ /**
2542
+ * Conflict
2543
+ */
2544
+ 409: ErrorResponse;
2274
2545
  /**
2275
2546
  * Internal server error
2276
2547
  */
@@ -2327,6 +2598,10 @@ export type GetProjectScreenshotsErrors = {
2327
2598
  404: {
2328
2599
  message: string;
2329
2600
  };
2601
+ /**
2602
+ * Conflict
2603
+ */
2604
+ 409: ErrorResponse;
2330
2605
  /**
2331
2606
  * Internal server error
2332
2607
  */
@@ -2411,6 +2686,10 @@ export type TakeScreenshotErrors = {
2411
2686
  404: {
2412
2687
  message: string;
2413
2688
  };
2689
+ /**
2690
+ * Conflict
2691
+ */
2692
+ 409: ErrorResponse;
2414
2693
  /**
2415
2694
  * Internal server error
2416
2695
  */
@@ -2525,6 +2804,10 @@ export type ScrapePageContentErrors = {
2525
2804
  404: {
2526
2805
  message: string;
2527
2806
  };
2807
+ /**
2808
+ * Conflict
2809
+ */
2810
+ 409: ErrorResponse;
2528
2811
  /**
2529
2812
  * Internal server error
2530
2813
  */
@@ -2634,6 +2917,10 @@ export type GetUserByDazlIdErrors = {
2634
2917
  * Not Found
2635
2918
  */
2636
2919
  404: ErrorResponse;
2920
+ /**
2921
+ * Conflict
2922
+ */
2923
+ 409: ErrorResponse;
2637
2924
  /**
2638
2925
  * Internal server error
2639
2926
  */
@@ -2684,6 +2971,10 @@ export type UpdateUserErrors = {
2684
2971
  * Not Found
2685
2972
  */
2686
2973
  404: ErrorResponse;
2974
+ /**
2975
+ * Conflict
2976
+ */
2977
+ 409: ErrorResponse;
2687
2978
  /**
2688
2979
  * Internal server error
2689
2980
  */
@@ -2735,6 +3026,10 @@ export type CreateUserErrors = {
2735
3026
  * Not Found
2736
3027
  */
2737
3028
  404: ErrorResponse;
3029
+ /**
3030
+ * Conflict
3031
+ */
3032
+ 409: ErrorResponse;
2738
3033
  /**
2739
3034
  * Internal server error
2740
3035
  */
@@ -2829,6 +3124,10 @@ export type SearchWebErrors = {
2829
3124
  * Not Found
2830
3125
  */
2831
3126
  404: ErrorResponse;
3127
+ /**
3128
+ * Conflict
3129
+ */
3130
+ 409: ErrorResponse;
2832
3131
  /**
2833
3132
  * Internal server error
2834
3133
  */