expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.3 → 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.5

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.
Files changed (22) hide show
  1. package/dist/src/i18n/es.d.ts +19 -0
  2. package/dist/src/i18n/es.js +19 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/production/exports.d.ts +3 -0
  5. package/dist/src/production/exports.js +3 -0
  6. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +80 -0
  7. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +16 -0
  8. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +563 -0
  9. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +21 -0
  10. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +6 -6
  11. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +2 -2
  12. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +390 -0
  13. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +15 -0
  14. package/dist/src/production-affiliation-request/exports.d.ts +4 -0
  15. package/dist/src/production-affiliation-request/exports.js +21 -0
  16. package/dist/types/prisma-schema/edge.js +3 -3
  17. package/dist/types/prisma-schema/index.d.ts +138 -181
  18. package/dist/types/prisma-schema/index.js +3 -3
  19. package/dist/types/prisma-schema/package.json +1 -1
  20. package/dist/types/prisma-schema/schema.prisma +3 -3
  21. package/dist/types/schema.d.ts +301 -0
  22. package/package.json +1 -1
@@ -1471,6 +1471,70 @@ export interface paths {
1471
1471
  patch?: never;
1472
1472
  trace?: never;
1473
1473
  };
1474
+ "/production-affiliation-request/create": {
1475
+ parameters: {
1476
+ query?: never;
1477
+ header?: never;
1478
+ path?: never;
1479
+ cookie?: never;
1480
+ };
1481
+ get?: never;
1482
+ put?: never;
1483
+ post: operations["ProductionAffiliationRequestController_create"];
1484
+ delete?: never;
1485
+ options?: never;
1486
+ head?: never;
1487
+ patch?: never;
1488
+ trace?: never;
1489
+ };
1490
+ "/production-affiliation-request/accept/{id}": {
1491
+ parameters: {
1492
+ query?: never;
1493
+ header?: never;
1494
+ path?: never;
1495
+ cookie?: never;
1496
+ };
1497
+ get?: never;
1498
+ put?: never;
1499
+ post: operations["ProductionAffiliationRequestController_accept"];
1500
+ delete?: never;
1501
+ options?: never;
1502
+ head?: never;
1503
+ patch?: never;
1504
+ trace?: never;
1505
+ };
1506
+ "/production-affiliation-request/reject/{id}": {
1507
+ parameters: {
1508
+ query?: never;
1509
+ header?: never;
1510
+ path?: never;
1511
+ cookie?: never;
1512
+ };
1513
+ get?: never;
1514
+ put?: never;
1515
+ post: operations["ProductionAffiliationRequestController_reject"];
1516
+ delete?: never;
1517
+ options?: never;
1518
+ head?: never;
1519
+ patch?: never;
1520
+ trace?: never;
1521
+ };
1522
+ "/production-affiliation-request/get-by-production/{id}": {
1523
+ parameters: {
1524
+ query?: never;
1525
+ header?: never;
1526
+ path?: never;
1527
+ cookie?: never;
1528
+ };
1529
+ get: operations["ProductionAffiliationRequestController_findByProduction"];
1530
+ put?: never;
1531
+ post?: never;
1532
+ delete?: never;
1533
+ options?: never;
1534
+ head?: never;
1535
+ patch?: never;
1536
+ trace?: never;
1537
+ };
1474
1538
  }
1475
1539
  export type webhooks = Record<string, never>;
1476
1540
  export interface components {
@@ -3623,6 +3687,93 @@ export interface components {
3623
3687
  created_at: string;
3624
3688
  updated_at: string;
3625
3689
  };
3690
+ CreateProductionAffiliationRequestDto: {
3691
+ productionId: string;
3692
+ };
3693
+ UpdateProductionAffiliationRequestResponseDto: {
3694
+ id: string;
3695
+ productionId: string;
3696
+ profileId: string;
3697
+ status: "APPROVED" | "PENDING" | "REJECTED";
3698
+ created_at: string;
3699
+ updated_at: string;
3700
+ production: {
3701
+ id: string;
3702
+ name: string;
3703
+ administratorId: string | null;
3704
+ created_at: string;
3705
+ updated_at: string;
3706
+ };
3707
+ profile: {
3708
+ id: string;
3709
+ shortId: number;
3710
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3711
+ firstTimeMiExpo: boolean;
3712
+ username: string | null;
3713
+ password: string | null;
3714
+ phoneNumber: string;
3715
+ isPhoneVerified: boolean;
3716
+ secondaryPhoneNumber: string | null;
3717
+ fullName: string;
3718
+ firstName: string | null;
3719
+ gender: string | null;
3720
+ birthDate: string | null;
3721
+ profilePictureUrl: string | null;
3722
+ instagram: string | null;
3723
+ mail: string | null;
3724
+ dni: string | null;
3725
+ alternativeNames: string[];
3726
+ birthLocationId: string | null;
3727
+ residenceLocationId: string | null;
3728
+ isInTrash: boolean;
3729
+ movedToTrashDate: string | null;
3730
+ created_at: string;
3731
+ updated_at: string;
3732
+ };
3733
+ };
3734
+ FindByProductionAffiliationRequestResponseDto: {
3735
+ productions: {
3736
+ id: string;
3737
+ productionId: string;
3738
+ profileId: string;
3739
+ status: "APPROVED" | "PENDING" | "REJECTED";
3740
+ created_at: string;
3741
+ updated_at: string;
3742
+ production: {
3743
+ id: string;
3744
+ name: string;
3745
+ administratorId: string | null;
3746
+ created_at: string;
3747
+ updated_at: string;
3748
+ };
3749
+ profile: {
3750
+ id: string;
3751
+ shortId: number;
3752
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3753
+ firstTimeMiExpo: boolean;
3754
+ username: string | null;
3755
+ password: string | null;
3756
+ phoneNumber: string;
3757
+ isPhoneVerified: boolean;
3758
+ secondaryPhoneNumber: string | null;
3759
+ fullName: string;
3760
+ firstName: string | null;
3761
+ gender: string | null;
3762
+ birthDate: string | null;
3763
+ profilePictureUrl: string | null;
3764
+ instagram: string | null;
3765
+ mail: string | null;
3766
+ dni: string | null;
3767
+ alternativeNames: string[];
3768
+ birthLocationId: string | null;
3769
+ residenceLocationId: string | null;
3770
+ isInTrash: boolean;
3771
+ movedToTrashDate: string | null;
3772
+ created_at: string;
3773
+ updated_at: string;
3774
+ };
3775
+ }[];
3776
+ };
3626
3777
  };
3627
3778
  responses: never;
3628
3779
  parameters: never;
@@ -6571,6 +6722,14 @@ export interface operations {
6571
6722
  "application/json": components["schemas"]["UpdateProductionResponseDto"];
6572
6723
  };
6573
6724
  };
6725
+ 404: {
6726
+ headers: {
6727
+ [name: string]: unknown;
6728
+ };
6729
+ content: {
6730
+ "application/json": components["schemas"]["ErrorDto"];
6731
+ };
6732
+ };
6574
6733
  409: {
6575
6734
  headers: {
6576
6735
  [name: string]: unknown;
@@ -6600,6 +6759,45 @@ export interface operations {
6600
6759
  "application/json": components["schemas"]["DeleteProductionResponseDto"];
6601
6760
  };
6602
6761
  };
6762
+ 404: {
6763
+ headers: {
6764
+ [name: string]: unknown;
6765
+ };
6766
+ content: {
6767
+ "application/json": components["schemas"]["ErrorDto"];
6768
+ };
6769
+ };
6770
+ 409: {
6771
+ headers: {
6772
+ [name: string]: unknown;
6773
+ };
6774
+ content: {
6775
+ "application/json": components["schemas"]["ErrorDto"];
6776
+ };
6777
+ };
6778
+ };
6779
+ };
6780
+ ProductionAffiliationRequestController_create: {
6781
+ parameters: {
6782
+ query?: never;
6783
+ header?: never;
6784
+ path?: never;
6785
+ cookie?: never;
6786
+ };
6787
+ requestBody: {
6788
+ content: {
6789
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6790
+ };
6791
+ };
6792
+ responses: {
6793
+ 201: {
6794
+ headers: {
6795
+ [name: string]: unknown;
6796
+ };
6797
+ content: {
6798
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6799
+ };
6800
+ };
6603
6801
  409: {
6604
6802
  headers: {
6605
6803
  [name: string]: unknown;
@@ -6610,4 +6808,107 @@ export interface operations {
6610
6808
  };
6611
6809
  };
6612
6810
  };
6811
+ ProductionAffiliationRequestController_accept: {
6812
+ parameters: {
6813
+ query?: never;
6814
+ header?: never;
6815
+ path: {
6816
+ id: string;
6817
+ };
6818
+ cookie?: never;
6819
+ };
6820
+ requestBody?: never;
6821
+ responses: {
6822
+ 200: {
6823
+ headers: {
6824
+ [name: string]: unknown;
6825
+ };
6826
+ content: {
6827
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6828
+ };
6829
+ };
6830
+ 401: {
6831
+ headers: {
6832
+ [name: string]: unknown;
6833
+ };
6834
+ content: {
6835
+ "application/json": components["schemas"]["ErrorDto"];
6836
+ };
6837
+ };
6838
+ 404: {
6839
+ headers: {
6840
+ [name: string]: unknown;
6841
+ };
6842
+ content: {
6843
+ "application/json": components["schemas"]["ErrorDto"];
6844
+ };
6845
+ };
6846
+ };
6847
+ };
6848
+ ProductionAffiliationRequestController_reject: {
6849
+ parameters: {
6850
+ query?: never;
6851
+ header?: never;
6852
+ path: {
6853
+ id: string;
6854
+ };
6855
+ cookie?: never;
6856
+ };
6857
+ requestBody?: never;
6858
+ responses: {
6859
+ 200: {
6860
+ headers: {
6861
+ [name: string]: unknown;
6862
+ };
6863
+ content: {
6864
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6865
+ };
6866
+ };
6867
+ 401: {
6868
+ headers: {
6869
+ [name: string]: unknown;
6870
+ };
6871
+ content: {
6872
+ "application/json": components["schemas"]["ErrorDto"];
6873
+ };
6874
+ };
6875
+ 404: {
6876
+ headers: {
6877
+ [name: string]: unknown;
6878
+ };
6879
+ content: {
6880
+ "application/json": components["schemas"]["ErrorDto"];
6881
+ };
6882
+ };
6883
+ };
6884
+ };
6885
+ ProductionAffiliationRequestController_findByProduction: {
6886
+ parameters: {
6887
+ query?: never;
6888
+ header?: never;
6889
+ path: {
6890
+ id: string;
6891
+ };
6892
+ cookie?: never;
6893
+ };
6894
+ requestBody?: never;
6895
+ responses: {
6896
+ 200: {
6897
+ headers: {
6898
+ [name: string]: unknown;
6899
+ };
6900
+ content: {
6901
+ "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
6902
+ };
6903
+ };
6904
+ 404: {
6905
+ headers: {
6906
+ [name: string]: unknown;
6907
+ };
6908
+ content: {
6909
+ "application/json": components["schemas"]["ErrorDto"];
6910
+ };
6911
+ };
6912
+ };
6913
+ };
6613
6914
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.3",
3
+ "version": "0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.5",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,