@dazl/internal-api-client 1.4.1 → 1.5.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 +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +9 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +27 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +412 -0
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/sdk.gen.ts +34 -1
- package/src/types.gen.ts +442 -0
package/dist/types.gen.d.ts
CHANGED
|
@@ -260,6 +260,10 @@ export type GetByDazlIdErrors = {
|
|
|
260
260
|
* Internal server error
|
|
261
261
|
*/
|
|
262
262
|
500: ErrorResponse;
|
|
263
|
+
/**
|
|
264
|
+
* Service Unavailable
|
|
265
|
+
*/
|
|
266
|
+
503: ErrorResponse;
|
|
263
267
|
};
|
|
264
268
|
export type GetByDazlIdError = GetByDazlIdErrors[keyof GetByDazlIdErrors];
|
|
265
269
|
export type GetByDazlIdResponses = {
|
|
@@ -309,6 +313,10 @@ export type UpdateByDazlIdErrors = {
|
|
|
309
313
|
* Internal server error
|
|
310
314
|
*/
|
|
311
315
|
500: ErrorResponse;
|
|
316
|
+
/**
|
|
317
|
+
* Service Unavailable
|
|
318
|
+
*/
|
|
319
|
+
503: ErrorResponse;
|
|
312
320
|
};
|
|
313
321
|
export type UpdateByDazlIdError = UpdateByDazlIdErrors[keyof UpdateByDazlIdErrors];
|
|
314
322
|
export type UpdateByDazlIdResponses = {
|
|
@@ -352,6 +360,10 @@ export type GetHasSufficientCreditsByDazlIdErrors = {
|
|
|
352
360
|
* Internal server error
|
|
353
361
|
*/
|
|
354
362
|
500: ErrorResponse;
|
|
363
|
+
/**
|
|
364
|
+
* Service Unavailable
|
|
365
|
+
*/
|
|
366
|
+
503: ErrorResponse;
|
|
355
367
|
};
|
|
356
368
|
export type GetHasSufficientCreditsByDazlIdError = GetHasSufficientCreditsByDazlIdErrors[keyof GetHasSufficientCreditsByDazlIdErrors];
|
|
357
369
|
export type GetHasSufficientCreditsByDazlIdResponses = {
|
|
@@ -393,6 +405,10 @@ export type GetAllProductsErrors = {
|
|
|
393
405
|
* Internal server error
|
|
394
406
|
*/
|
|
395
407
|
500: ErrorResponse;
|
|
408
|
+
/**
|
|
409
|
+
* Service Unavailable
|
|
410
|
+
*/
|
|
411
|
+
503: ErrorResponse;
|
|
396
412
|
};
|
|
397
413
|
export type GetAllProductsError = GetAllProductsErrors[keyof GetAllProductsErrors];
|
|
398
414
|
export type GetAllProductsResponses = {
|
|
@@ -434,6 +450,10 @@ export type GetMaxCreditsForDefaultFreeErrors = {
|
|
|
434
450
|
* Internal server error
|
|
435
451
|
*/
|
|
436
452
|
500: ErrorResponse;
|
|
453
|
+
/**
|
|
454
|
+
* Service Unavailable
|
|
455
|
+
*/
|
|
456
|
+
503: ErrorResponse;
|
|
437
457
|
};
|
|
438
458
|
export type GetMaxCreditsForDefaultFreeError = GetMaxCreditsForDefaultFreeErrors[keyof GetMaxCreditsForDefaultFreeErrors];
|
|
439
459
|
export type GetMaxCreditsForDefaultFreeResponses = {
|
|
@@ -477,6 +497,10 @@ export type GetCustomerInfoByDazlIdErrors = {
|
|
|
477
497
|
* Internal server error
|
|
478
498
|
*/
|
|
479
499
|
500: ErrorResponse;
|
|
500
|
+
/**
|
|
501
|
+
* Service Unavailable
|
|
502
|
+
*/
|
|
503
|
+
503: ErrorResponse;
|
|
480
504
|
};
|
|
481
505
|
export type GetCustomerInfoByDazlIdError = GetCustomerInfoByDazlIdErrors[keyof GetCustomerInfoByDazlIdErrors];
|
|
482
506
|
export type GetCustomerInfoByDazlIdResponses = {
|
|
@@ -521,6 +545,10 @@ export type UpdateUserSubscriptionErrors = {
|
|
|
521
545
|
* Internal server error
|
|
522
546
|
*/
|
|
523
547
|
500: ErrorResponse;
|
|
548
|
+
/**
|
|
549
|
+
* Service Unavailable
|
|
550
|
+
*/
|
|
551
|
+
503: ErrorResponse;
|
|
524
552
|
};
|
|
525
553
|
export type UpdateUserSubscriptionError = UpdateUserSubscriptionErrors[keyof UpdateUserSubscriptionErrors];
|
|
526
554
|
export type UpdateUserSubscriptionResponses = {
|
|
@@ -570,6 +598,10 @@ export type CancelScheduledUpdateByDazlIdErrors = {
|
|
|
570
598
|
* Internal server error
|
|
571
599
|
*/
|
|
572
600
|
500: ErrorResponse;
|
|
601
|
+
/**
|
|
602
|
+
* Service Unavailable
|
|
603
|
+
*/
|
|
604
|
+
503: ErrorResponse;
|
|
573
605
|
};
|
|
574
606
|
export type CancelScheduledUpdateByDazlIdError = CancelScheduledUpdateByDazlIdErrors[keyof CancelScheduledUpdateByDazlIdErrors];
|
|
575
607
|
export type CancelScheduledUpdateByDazlIdResponses = {
|
|
@@ -614,6 +646,10 @@ export type CreateCustomerPortalSessionErrors = {
|
|
|
614
646
|
* Internal server error
|
|
615
647
|
*/
|
|
616
648
|
500: ErrorResponse;
|
|
649
|
+
/**
|
|
650
|
+
* Service Unavailable
|
|
651
|
+
*/
|
|
652
|
+
503: ErrorResponse;
|
|
617
653
|
};
|
|
618
654
|
export type CreateCustomerPortalSessionError = CreateCustomerPortalSessionErrors[keyof CreateCustomerPortalSessionErrors];
|
|
619
655
|
export type CreateCustomerPortalSessionResponses = {
|
|
@@ -664,6 +700,10 @@ export type CreateCustomerWithDefaultSubscriptionErrors = {
|
|
|
664
700
|
* Internal server error
|
|
665
701
|
*/
|
|
666
702
|
500: ErrorResponse;
|
|
703
|
+
/**
|
|
704
|
+
* Service Unavailable
|
|
705
|
+
*/
|
|
706
|
+
503: ErrorResponse;
|
|
667
707
|
};
|
|
668
708
|
export type CreateCustomerWithDefaultSubscriptionError = CreateCustomerWithDefaultSubscriptionErrors[keyof CreateCustomerWithDefaultSubscriptionErrors];
|
|
669
709
|
export type CreateCustomerWithDefaultSubscriptionResponses = {
|
|
@@ -708,6 +748,10 @@ export type GetUserInfoByDazlIdErrors = {
|
|
|
708
748
|
* Internal server error
|
|
709
749
|
*/
|
|
710
750
|
500: ErrorResponse;
|
|
751
|
+
/**
|
|
752
|
+
* Service Unavailable
|
|
753
|
+
*/
|
|
754
|
+
503: ErrorResponse;
|
|
711
755
|
};
|
|
712
756
|
export type GetUserInfoByDazlIdError = GetUserInfoByDazlIdErrors[keyof GetUserInfoByDazlIdErrors];
|
|
713
757
|
export type GetUserInfoByDazlIdResponses = {
|
|
@@ -722,6 +766,247 @@ export type GetUserInfoByDazlIdResponses = {
|
|
|
722
766
|
};
|
|
723
767
|
};
|
|
724
768
|
export type GetUserInfoByDazlIdResponse = GetUserInfoByDazlIdResponses[keyof GetUserInfoByDazlIdResponses];
|
|
769
|
+
export type ConnectUserData = {
|
|
770
|
+
body?: {
|
|
771
|
+
code: string;
|
|
772
|
+
};
|
|
773
|
+
path: {
|
|
774
|
+
dazlId: string;
|
|
775
|
+
};
|
|
776
|
+
query?: never;
|
|
777
|
+
url: '/github/user/{dazlId}/connect';
|
|
778
|
+
};
|
|
779
|
+
export type ConnectUserErrors = {
|
|
780
|
+
/**
|
|
781
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
782
|
+
*/
|
|
783
|
+
400: {
|
|
784
|
+
message: string;
|
|
785
|
+
issues?: string;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Unauthorized
|
|
789
|
+
*/
|
|
790
|
+
401: ErrorResponse;
|
|
791
|
+
/**
|
|
792
|
+
* Forbidden
|
|
793
|
+
*/
|
|
794
|
+
403: ErrorResponse;
|
|
795
|
+
/**
|
|
796
|
+
* Not Found
|
|
797
|
+
*/
|
|
798
|
+
404: ErrorResponse;
|
|
799
|
+
/**
|
|
800
|
+
* Internal server error
|
|
801
|
+
*/
|
|
802
|
+
500: ErrorResponse;
|
|
803
|
+
/**
|
|
804
|
+
* Service Unavailable
|
|
805
|
+
*/
|
|
806
|
+
503: ErrorResponse;
|
|
807
|
+
};
|
|
808
|
+
export type ConnectUserError = ConnectUserErrors[keyof ConnectUserErrors];
|
|
809
|
+
export type ConnectUserResponses = {
|
|
810
|
+
/**
|
|
811
|
+
* User connected to GitHub successfully
|
|
812
|
+
*/
|
|
813
|
+
200: {
|
|
814
|
+
username: string;
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
export type ConnectUserResponse = ConnectUserResponses[keyof ConnectUserResponses];
|
|
818
|
+
export type GetUserInfoData = {
|
|
819
|
+
body?: never;
|
|
820
|
+
path: {
|
|
821
|
+
dazlId: string;
|
|
822
|
+
};
|
|
823
|
+
query?: never;
|
|
824
|
+
url: '/github/user/{dazlId}/info';
|
|
825
|
+
};
|
|
826
|
+
export type GetUserInfoErrors = {
|
|
827
|
+
/**
|
|
828
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
829
|
+
*/
|
|
830
|
+
400: {
|
|
831
|
+
message: string;
|
|
832
|
+
issues?: string;
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* Unauthorized
|
|
836
|
+
*/
|
|
837
|
+
401: ErrorResponse;
|
|
838
|
+
/**
|
|
839
|
+
* Forbidden
|
|
840
|
+
*/
|
|
841
|
+
403: ErrorResponse;
|
|
842
|
+
/**
|
|
843
|
+
* Not Found
|
|
844
|
+
*/
|
|
845
|
+
404: ErrorResponse;
|
|
846
|
+
/**
|
|
847
|
+
* Internal server error
|
|
848
|
+
*/
|
|
849
|
+
500: ErrorResponse;
|
|
850
|
+
/**
|
|
851
|
+
* Service Unavailable
|
|
852
|
+
*/
|
|
853
|
+
503: ErrorResponse;
|
|
854
|
+
};
|
|
855
|
+
export type GetUserInfoError = GetUserInfoErrors[keyof GetUserInfoErrors];
|
|
856
|
+
export type GetUserInfoResponses = {
|
|
857
|
+
/**
|
|
858
|
+
* Returns user's GitHub info
|
|
859
|
+
*/
|
|
860
|
+
200: {
|
|
861
|
+
username: string;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
export type GetUserInfoResponse = GetUserInfoResponses[keyof GetUserInfoResponses];
|
|
865
|
+
export type GetInstallationsData = {
|
|
866
|
+
body?: never;
|
|
867
|
+
path: {
|
|
868
|
+
dazlId: string;
|
|
869
|
+
};
|
|
870
|
+
query?: never;
|
|
871
|
+
url: '/github/user/{dazlId}/installations';
|
|
872
|
+
};
|
|
873
|
+
export type GetInstallationsErrors = {
|
|
874
|
+
/**
|
|
875
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
876
|
+
*/
|
|
877
|
+
400: {
|
|
878
|
+
message: string;
|
|
879
|
+
issues?: string;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* Unauthorized
|
|
883
|
+
*/
|
|
884
|
+
401: ErrorResponse;
|
|
885
|
+
/**
|
|
886
|
+
* Forbidden
|
|
887
|
+
*/
|
|
888
|
+
403: ErrorResponse;
|
|
889
|
+
/**
|
|
890
|
+
* Not Found
|
|
891
|
+
*/
|
|
892
|
+
404: ErrorResponse;
|
|
893
|
+
/**
|
|
894
|
+
* Internal server error
|
|
895
|
+
*/
|
|
896
|
+
500: ErrorResponse;
|
|
897
|
+
/**
|
|
898
|
+
* Service Unavailable
|
|
899
|
+
*/
|
|
900
|
+
503: ErrorResponse;
|
|
901
|
+
};
|
|
902
|
+
export type GetInstallationsError = GetInstallationsErrors[keyof GetInstallationsErrors];
|
|
903
|
+
export type GetInstallationsResponses = {
|
|
904
|
+
/**
|
|
905
|
+
* Returns user's GitHub App installations
|
|
906
|
+
*/
|
|
907
|
+
200: {
|
|
908
|
+
installations: Array<{
|
|
909
|
+
installationId: number;
|
|
910
|
+
accountType: 'User' | 'Organization';
|
|
911
|
+
accountLogin: string;
|
|
912
|
+
}>;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
export type GetInstallationsResponse = GetInstallationsResponses[keyof GetInstallationsResponses];
|
|
916
|
+
export type GetInstallationTokenData = {
|
|
917
|
+
body?: never;
|
|
918
|
+
path: {
|
|
919
|
+
projectId: string;
|
|
920
|
+
};
|
|
921
|
+
query?: never;
|
|
922
|
+
url: '/github/project/{projectId}/token';
|
|
923
|
+
};
|
|
924
|
+
export type GetInstallationTokenErrors = {
|
|
925
|
+
/**
|
|
926
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
927
|
+
*/
|
|
928
|
+
400: {
|
|
929
|
+
message: string;
|
|
930
|
+
issues?: string;
|
|
931
|
+
};
|
|
932
|
+
/**
|
|
933
|
+
* Unauthorized
|
|
934
|
+
*/
|
|
935
|
+
401: ErrorResponse;
|
|
936
|
+
/**
|
|
937
|
+
* Forbidden
|
|
938
|
+
*/
|
|
939
|
+
403: ErrorResponse;
|
|
940
|
+
/**
|
|
941
|
+
* Not Found
|
|
942
|
+
*/
|
|
943
|
+
404: ErrorResponse;
|
|
944
|
+
/**
|
|
945
|
+
* Internal server error
|
|
946
|
+
*/
|
|
947
|
+
500: ErrorResponse;
|
|
948
|
+
/**
|
|
949
|
+
* Service Unavailable
|
|
950
|
+
*/
|
|
951
|
+
503: ErrorResponse;
|
|
952
|
+
};
|
|
953
|
+
export type GetInstallationTokenError = GetInstallationTokenErrors[keyof GetInstallationTokenErrors];
|
|
954
|
+
export type GetInstallationTokenResponses = {
|
|
955
|
+
/**
|
|
956
|
+
* Returns installation access token for the project's linked GitHub installation
|
|
957
|
+
*/
|
|
958
|
+
200: {
|
|
959
|
+
token: string;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
export type GetInstallationTokenResponse = GetInstallationTokenResponses[keyof GetInstallationTokenResponses];
|
|
963
|
+
export type GetInstallationUrlData = {
|
|
964
|
+
body?: never;
|
|
965
|
+
path?: never;
|
|
966
|
+
query: {
|
|
967
|
+
state: string;
|
|
968
|
+
};
|
|
969
|
+
url: '/github/installation/url';
|
|
970
|
+
};
|
|
971
|
+
export type GetInstallationUrlErrors = {
|
|
972
|
+
/**
|
|
973
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
974
|
+
*/
|
|
975
|
+
400: {
|
|
976
|
+
message: string;
|
|
977
|
+
issues?: string;
|
|
978
|
+
};
|
|
979
|
+
/**
|
|
980
|
+
* Unauthorized
|
|
981
|
+
*/
|
|
982
|
+
401: ErrorResponse;
|
|
983
|
+
/**
|
|
984
|
+
* Forbidden
|
|
985
|
+
*/
|
|
986
|
+
403: ErrorResponse;
|
|
987
|
+
/**
|
|
988
|
+
* Not Found
|
|
989
|
+
*/
|
|
990
|
+
404: ErrorResponse;
|
|
991
|
+
/**
|
|
992
|
+
* Internal server error
|
|
993
|
+
*/
|
|
994
|
+
500: ErrorResponse;
|
|
995
|
+
/**
|
|
996
|
+
* Service Unavailable
|
|
997
|
+
*/
|
|
998
|
+
503: ErrorResponse;
|
|
999
|
+
};
|
|
1000
|
+
export type GetInstallationUrlError = GetInstallationUrlErrors[keyof GetInstallationUrlErrors];
|
|
1001
|
+
export type GetInstallationUrlResponses = {
|
|
1002
|
+
/**
|
|
1003
|
+
* Returns GitHub App installation URL
|
|
1004
|
+
*/
|
|
1005
|
+
200: {
|
|
1006
|
+
url: string;
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
export type GetInstallationUrlResponse = GetInstallationUrlResponses[keyof GetInstallationUrlResponses];
|
|
725
1010
|
export type EnsureSiteIdData = {
|
|
726
1011
|
body: {
|
|
727
1012
|
projectId: string;
|
|
@@ -759,6 +1044,10 @@ export type EnsureSiteIdErrors = {
|
|
|
759
1044
|
* Internal server error
|
|
760
1045
|
*/
|
|
761
1046
|
500: ErrorResponse;
|
|
1047
|
+
/**
|
|
1048
|
+
* Service Unavailable
|
|
1049
|
+
*/
|
|
1050
|
+
503: ErrorResponse;
|
|
762
1051
|
};
|
|
763
1052
|
export type EnsureSiteIdError = EnsureSiteIdErrors[keyof EnsureSiteIdErrors];
|
|
764
1053
|
export type EnsureSiteIdResponses = {
|
|
@@ -803,6 +1092,10 @@ export type GetLatestDeployErrors = {
|
|
|
803
1092
|
* Internal server error
|
|
804
1093
|
*/
|
|
805
1094
|
500: ErrorResponse;
|
|
1095
|
+
/**
|
|
1096
|
+
* Service Unavailable
|
|
1097
|
+
*/
|
|
1098
|
+
503: ErrorResponse;
|
|
806
1099
|
};
|
|
807
1100
|
export type GetLatestDeployError = GetLatestDeployErrors[keyof GetLatestDeployErrors];
|
|
808
1101
|
export type GetLatestDeployResponses = {
|
|
@@ -849,6 +1142,10 @@ export type UpsertDeployInDbErrors = {
|
|
|
849
1142
|
* Internal server error
|
|
850
1143
|
*/
|
|
851
1144
|
500: ErrorResponse;
|
|
1145
|
+
/**
|
|
1146
|
+
* Service Unavailable
|
|
1147
|
+
*/
|
|
1148
|
+
503: ErrorResponse;
|
|
852
1149
|
};
|
|
853
1150
|
export type UpsertDeployInDbError = UpsertDeployInDbErrors[keyof UpsertDeployInDbErrors];
|
|
854
1151
|
export type UpsertDeployInDbResponses = {
|
|
@@ -893,6 +1190,10 @@ export type UpdateEnvVarsErrors = {
|
|
|
893
1190
|
* Internal server error
|
|
894
1191
|
*/
|
|
895
1192
|
500: ErrorResponse;
|
|
1193
|
+
/**
|
|
1194
|
+
* Service Unavailable
|
|
1195
|
+
*/
|
|
1196
|
+
503: ErrorResponse;
|
|
896
1197
|
};
|
|
897
1198
|
export type UpdateEnvVarsError = UpdateEnvVarsErrors[keyof UpdateEnvVarsErrors];
|
|
898
1199
|
export type UpdateEnvVarsResponses = {
|
|
@@ -942,6 +1243,10 @@ export type DuplicateProjectErrors = {
|
|
|
942
1243
|
* Internal server error
|
|
943
1244
|
*/
|
|
944
1245
|
500: ErrorResponse;
|
|
1246
|
+
/**
|
|
1247
|
+
* Service Unavailable
|
|
1248
|
+
*/
|
|
1249
|
+
503: ErrorResponse;
|
|
945
1250
|
};
|
|
946
1251
|
export type DuplicateProjectError = DuplicateProjectErrors[keyof DuplicateProjectErrors];
|
|
947
1252
|
export type DuplicateProjectResponses = {
|
|
@@ -985,6 +1290,10 @@ export type DeleteProjectErrors = {
|
|
|
985
1290
|
* Internal server error
|
|
986
1291
|
*/
|
|
987
1292
|
500: ErrorResponse;
|
|
1293
|
+
/**
|
|
1294
|
+
* Service Unavailable
|
|
1295
|
+
*/
|
|
1296
|
+
503: ErrorResponse;
|
|
988
1297
|
};
|
|
989
1298
|
export type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
|
|
990
1299
|
export type DeleteProjectResponses = {
|
|
@@ -1030,6 +1339,10 @@ export type GetProjectByIdErrors = {
|
|
|
1030
1339
|
* Internal server error
|
|
1031
1340
|
*/
|
|
1032
1341
|
500: ErrorResponse;
|
|
1342
|
+
/**
|
|
1343
|
+
* Service Unavailable
|
|
1344
|
+
*/
|
|
1345
|
+
503: ErrorResponse;
|
|
1033
1346
|
};
|
|
1034
1347
|
export type GetProjectByIdError = GetProjectByIdErrors[keyof GetProjectByIdErrors];
|
|
1035
1348
|
export type GetProjectByIdResponses = {
|
|
@@ -1079,6 +1392,10 @@ export type UpdateProjectErrors = {
|
|
|
1079
1392
|
* Internal server error
|
|
1080
1393
|
*/
|
|
1081
1394
|
500: ErrorResponse;
|
|
1395
|
+
/**
|
|
1396
|
+
* Service Unavailable
|
|
1397
|
+
*/
|
|
1398
|
+
503: ErrorResponse;
|
|
1082
1399
|
};
|
|
1083
1400
|
export type UpdateProjectError = UpdateProjectErrors[keyof UpdateProjectErrors];
|
|
1084
1401
|
export type UpdateProjectResponses = {
|
|
@@ -1125,6 +1442,10 @@ export type CreateProjectErrors = {
|
|
|
1125
1442
|
* Internal server error
|
|
1126
1443
|
*/
|
|
1127
1444
|
500: ErrorResponse;
|
|
1445
|
+
/**
|
|
1446
|
+
* Service Unavailable
|
|
1447
|
+
*/
|
|
1448
|
+
503: ErrorResponse;
|
|
1128
1449
|
};
|
|
1129
1450
|
export type CreateProjectError = CreateProjectErrors[keyof CreateProjectErrors];
|
|
1130
1451
|
export type CreateProjectResponses = {
|
|
@@ -1136,6 +1457,69 @@ export type CreateProjectResponses = {
|
|
|
1136
1457
|
};
|
|
1137
1458
|
};
|
|
1138
1459
|
export type CreateProjectResponse = CreateProjectResponses[keyof CreateProjectResponses];
|
|
1460
|
+
export type GetUserProjectsData = {
|
|
1461
|
+
body?: never;
|
|
1462
|
+
path: {
|
|
1463
|
+
ownerDazlId: string;
|
|
1464
|
+
};
|
|
1465
|
+
query?: {
|
|
1466
|
+
/**
|
|
1467
|
+
* Include deployed projects info in the response
|
|
1468
|
+
*/
|
|
1469
|
+
withDeploy?: boolean | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Include project screenshots url in the response
|
|
1472
|
+
*/
|
|
1473
|
+
withScreenshot?: boolean | null;
|
|
1474
|
+
};
|
|
1475
|
+
url: '/project/user/{ownerDazlId}';
|
|
1476
|
+
};
|
|
1477
|
+
export type GetUserProjectsErrors = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1480
|
+
*/
|
|
1481
|
+
400: {
|
|
1482
|
+
message: string;
|
|
1483
|
+
issues?: string;
|
|
1484
|
+
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Unauthorized
|
|
1487
|
+
*/
|
|
1488
|
+
401: ErrorResponse;
|
|
1489
|
+
/**
|
|
1490
|
+
* Forbidden
|
|
1491
|
+
*/
|
|
1492
|
+
403: ErrorResponse;
|
|
1493
|
+
/**
|
|
1494
|
+
* Not Found
|
|
1495
|
+
*/
|
|
1496
|
+
404: ErrorResponse;
|
|
1497
|
+
/**
|
|
1498
|
+
* Internal server error
|
|
1499
|
+
*/
|
|
1500
|
+
500: ErrorResponse;
|
|
1501
|
+
/**
|
|
1502
|
+
* Service Unavailable
|
|
1503
|
+
*/
|
|
1504
|
+
503: ErrorResponse;
|
|
1505
|
+
};
|
|
1506
|
+
export type GetUserProjectsError = GetUserProjectsErrors[keyof GetUserProjectsErrors];
|
|
1507
|
+
export type GetUserProjectsResponses = {
|
|
1508
|
+
/**
|
|
1509
|
+
* Returns the list of projects for the specified user
|
|
1510
|
+
*/
|
|
1511
|
+
200: {
|
|
1512
|
+
projects: Array<ProjectRaw & {
|
|
1513
|
+
deploy: {
|
|
1514
|
+
publishedAt: string;
|
|
1515
|
+
productionURL: string;
|
|
1516
|
+
netlifyDeployId: string;
|
|
1517
|
+
} | null;
|
|
1518
|
+
screenshotUrl: string | null;
|
|
1519
|
+
}>;
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
export type GetUserProjectsResponse = GetUserProjectsResponses[keyof GetUserProjectsResponses];
|
|
1139
1523
|
export type GetUploadConfigurationData = {
|
|
1140
1524
|
body: {
|
|
1141
1525
|
/**
|
|
@@ -1195,6 +1579,10 @@ export type GetUploadConfigurationErrors = {
|
|
|
1195
1579
|
* Internal server error
|
|
1196
1580
|
*/
|
|
1197
1581
|
500: ErrorResponse;
|
|
1582
|
+
/**
|
|
1583
|
+
* Service Unavailable
|
|
1584
|
+
*/
|
|
1585
|
+
503: ErrorResponse;
|
|
1198
1586
|
};
|
|
1199
1587
|
export type GetUploadConfigurationError = GetUploadConfigurationErrors[keyof GetUploadConfigurationErrors];
|
|
1200
1588
|
export type GetUploadConfigurationResponses = {
|
|
@@ -1267,6 +1655,10 @@ export type ListFilesErrors = {
|
|
|
1267
1655
|
* Internal server error
|
|
1268
1656
|
*/
|
|
1269
1657
|
500: ErrorResponse;
|
|
1658
|
+
/**
|
|
1659
|
+
* Service Unavailable
|
|
1660
|
+
*/
|
|
1661
|
+
503: ErrorResponse;
|
|
1270
1662
|
};
|
|
1271
1663
|
export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
|
|
1272
1664
|
export type ListFilesResponses = {
|
|
@@ -1341,6 +1733,10 @@ export type CreateMediaErrors = {
|
|
|
1341
1733
|
* Internal server error
|
|
1342
1734
|
*/
|
|
1343
1735
|
500: ErrorResponse;
|
|
1736
|
+
/**
|
|
1737
|
+
* Service Unavailable
|
|
1738
|
+
*/
|
|
1739
|
+
503: ErrorResponse;
|
|
1344
1740
|
};
|
|
1345
1741
|
export type CreateMediaError = CreateMediaErrors[keyof CreateMediaErrors];
|
|
1346
1742
|
export type CreateMediaResponses = {
|
|
@@ -1388,6 +1784,10 @@ export type GetAccountScreenshotsErrors = {
|
|
|
1388
1784
|
* Internal server error
|
|
1389
1785
|
*/
|
|
1390
1786
|
500: ErrorResponse;
|
|
1787
|
+
/**
|
|
1788
|
+
* Service Unavailable
|
|
1789
|
+
*/
|
|
1790
|
+
503: ErrorResponse;
|
|
1391
1791
|
};
|
|
1392
1792
|
export type GetAccountScreenshotsError = GetAccountScreenshotsErrors[keyof GetAccountScreenshotsErrors];
|
|
1393
1793
|
export type GetAccountScreenshotsResponses = {
|
|
@@ -1440,6 +1840,10 @@ export type GetProjectScreenshotsErrors = {
|
|
|
1440
1840
|
* Internal server error
|
|
1441
1841
|
*/
|
|
1442
1842
|
500: ErrorResponse;
|
|
1843
|
+
/**
|
|
1844
|
+
* Service Unavailable
|
|
1845
|
+
*/
|
|
1846
|
+
503: ErrorResponse;
|
|
1443
1847
|
};
|
|
1444
1848
|
export type GetProjectScreenshotsError = GetProjectScreenshotsErrors[keyof GetProjectScreenshotsErrors];
|
|
1445
1849
|
export type GetProjectScreenshotsResponses = {
|
|
@@ -1516,6 +1920,10 @@ export type TakeScreenshotErrors = {
|
|
|
1516
1920
|
* Internal server error
|
|
1517
1921
|
*/
|
|
1518
1922
|
500: ErrorResponse;
|
|
1923
|
+
/**
|
|
1924
|
+
* Service Unavailable
|
|
1925
|
+
*/
|
|
1926
|
+
503: ErrorResponse;
|
|
1519
1927
|
};
|
|
1520
1928
|
export type TakeScreenshotError = TakeScreenshotErrors[keyof TakeScreenshotErrors];
|
|
1521
1929
|
export type TakeScreenshotResponses = {
|
|
@@ -1622,6 +2030,10 @@ export type ScrapePageContentErrors = {
|
|
|
1622
2030
|
* Internal server error
|
|
1623
2031
|
*/
|
|
1624
2032
|
500: ErrorResponse;
|
|
2033
|
+
/**
|
|
2034
|
+
* Service Unavailable
|
|
2035
|
+
*/
|
|
2036
|
+
503: ErrorResponse;
|
|
1625
2037
|
};
|
|
1626
2038
|
export type ScrapePageContentError = ScrapePageContentErrors[keyof ScrapePageContentErrors];
|
|
1627
2039
|
export type ScrapePageContentResponses = {
|