expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.4 → 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.6

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 (26) hide show
  1. package/dist/src/i18n/es.d.ts +24 -0
  2. package/dist/src/i18n/es.js +24 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/production/dto/create-role.dto.d.ts +86 -0
  5. package/dist/src/production/dto/create-role.dto.js +16 -0
  6. package/dist/src/production/exports.d.ts +1 -0
  7. package/dist/src/production/exports.js +1 -0
  8. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +80 -0
  9. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +16 -0
  10. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +563 -0
  11. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +21 -0
  12. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +6 -6
  13. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +2 -2
  14. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +390 -0
  15. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +15 -0
  16. package/dist/src/production-affiliation-request/exports.d.ts +4 -0
  17. package/dist/src/production-affiliation-request/exports.js +21 -0
  18. package/dist/src/tag/dto/create-tag.dto.d.ts +34 -5
  19. package/dist/src/tag/dto/create-tag.dto.js +6 -5
  20. package/dist/types/prisma-schema/edge.js +3 -3
  21. package/dist/types/prisma-schema/index.d.ts +138 -181
  22. package/dist/types/prisma-schema/index.js +3 -3
  23. package/dist/types/prisma-schema/package.json +1 -1
  24. package/dist/types/prisma-schema/schema.prisma +3 -3
  25. package/dist/types/schema.d.ts +346 -0
  26. package/package.json +1 -1
@@ -1439,6 +1439,22 @@ export interface paths {
1439
1439
  patch?: never;
1440
1440
  trace?: never;
1441
1441
  };
1442
+ "/production/create-role": {
1443
+ parameters: {
1444
+ query?: never;
1445
+ header?: never;
1446
+ path?: never;
1447
+ cookie?: never;
1448
+ };
1449
+ get?: never;
1450
+ put?: never;
1451
+ post: operations["ProductionController_createRole"];
1452
+ delete?: never;
1453
+ options?: never;
1454
+ head?: never;
1455
+ patch?: never;
1456
+ trace?: never;
1457
+ };
1442
1458
  "/production/update/{id}": {
1443
1459
  parameters: {
1444
1460
  query?: never;
@@ -1471,6 +1487,70 @@ export interface paths {
1471
1487
  patch?: never;
1472
1488
  trace?: never;
1473
1489
  };
1490
+ "/production-affiliation-request/create": {
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_create"];
1500
+ delete?: never;
1501
+ options?: never;
1502
+ head?: never;
1503
+ patch?: never;
1504
+ trace?: never;
1505
+ };
1506
+ "/production-affiliation-request/accept/{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_accept"];
1516
+ delete?: never;
1517
+ options?: never;
1518
+ head?: never;
1519
+ patch?: never;
1520
+ trace?: never;
1521
+ };
1522
+ "/production-affiliation-request/reject/{id}": {
1523
+ parameters: {
1524
+ query?: never;
1525
+ header?: never;
1526
+ path?: never;
1527
+ cookie?: never;
1528
+ };
1529
+ get?: never;
1530
+ put?: never;
1531
+ post: operations["ProductionAffiliationRequestController_reject"];
1532
+ delete?: never;
1533
+ options?: never;
1534
+ head?: never;
1535
+ patch?: never;
1536
+ trace?: never;
1537
+ };
1538
+ "/production-affiliation-request/get-by-production/{id}": {
1539
+ parameters: {
1540
+ query?: never;
1541
+ header?: never;
1542
+ path?: never;
1543
+ cookie?: never;
1544
+ };
1545
+ get: operations["ProductionAffiliationRequestController_findByProduction"];
1546
+ put?: never;
1547
+ post?: never;
1548
+ delete?: never;
1549
+ options?: never;
1550
+ head?: never;
1551
+ patch?: never;
1552
+ trace?: never;
1553
+ };
1474
1554
  }
1475
1555
  export type webhooks = Record<string, never>;
1476
1556
  export interface components {
@@ -1508,12 +1588,15 @@ export interface components {
1508
1588
  CreateTagDto: {
1509
1589
  name: string;
1510
1590
  groupId: string;
1591
+ type?: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1511
1592
  };
1512
1593
  CreateTagResponseDto: {
1513
1594
  id: string;
1514
1595
  name: string;
1515
1596
  groupId: string;
1516
1597
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1598
+ created_at: string;
1599
+ updated_at: string;
1517
1600
  };
1518
1601
  FindAllTagResponseDto: {
1519
1602
  tags: {
@@ -3605,6 +3688,9 @@ export interface components {
3605
3688
  CreateProductionDto: {
3606
3689
  name: string;
3607
3690
  };
3691
+ CreateProductionRoleDto: {
3692
+ name: string;
3693
+ };
3608
3694
  UpdateProductionDto: {
3609
3695
  name?: string;
3610
3696
  administratorId?: string | null;
@@ -3623,6 +3709,93 @@ export interface components {
3623
3709
  created_at: string;
3624
3710
  updated_at: string;
3625
3711
  };
3712
+ CreateProductionAffiliationRequestDto: {
3713
+ productionId: string;
3714
+ };
3715
+ UpdateProductionAffiliationRequestResponseDto: {
3716
+ id: string;
3717
+ productionId: string;
3718
+ profileId: string;
3719
+ status: "APPROVED" | "PENDING" | "REJECTED";
3720
+ created_at: string;
3721
+ updated_at: string;
3722
+ production: {
3723
+ id: string;
3724
+ name: string;
3725
+ administratorId: string | null;
3726
+ created_at: string;
3727
+ updated_at: string;
3728
+ };
3729
+ profile: {
3730
+ id: string;
3731
+ shortId: number;
3732
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3733
+ firstTimeMiExpo: boolean;
3734
+ username: string | null;
3735
+ password: string | null;
3736
+ phoneNumber: string;
3737
+ isPhoneVerified: boolean;
3738
+ secondaryPhoneNumber: string | null;
3739
+ fullName: string;
3740
+ firstName: string | null;
3741
+ gender: string | null;
3742
+ birthDate: string | null;
3743
+ profilePictureUrl: string | null;
3744
+ instagram: string | null;
3745
+ mail: string | null;
3746
+ dni: string | null;
3747
+ alternativeNames: string[];
3748
+ birthLocationId: string | null;
3749
+ residenceLocationId: string | null;
3750
+ isInTrash: boolean;
3751
+ movedToTrashDate: string | null;
3752
+ created_at: string;
3753
+ updated_at: string;
3754
+ };
3755
+ };
3756
+ FindByProductionAffiliationRequestResponseDto: {
3757
+ productions: {
3758
+ id: string;
3759
+ productionId: string;
3760
+ profileId: string;
3761
+ status: "APPROVED" | "PENDING" | "REJECTED";
3762
+ created_at: string;
3763
+ updated_at: string;
3764
+ production: {
3765
+ id: string;
3766
+ name: string;
3767
+ administratorId: string | null;
3768
+ created_at: string;
3769
+ updated_at: string;
3770
+ };
3771
+ profile: {
3772
+ id: string;
3773
+ shortId: number;
3774
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3775
+ firstTimeMiExpo: boolean;
3776
+ username: string | null;
3777
+ password: string | null;
3778
+ phoneNumber: string;
3779
+ isPhoneVerified: boolean;
3780
+ secondaryPhoneNumber: string | null;
3781
+ fullName: string;
3782
+ firstName: string | null;
3783
+ gender: string | null;
3784
+ birthDate: string | null;
3785
+ profilePictureUrl: string | null;
3786
+ instagram: string | null;
3787
+ mail: string | null;
3788
+ dni: string | null;
3789
+ alternativeNames: string[];
3790
+ birthLocationId: string | null;
3791
+ residenceLocationId: string | null;
3792
+ isInTrash: boolean;
3793
+ movedToTrashDate: string | null;
3794
+ created_at: string;
3795
+ updated_at: string;
3796
+ };
3797
+ }[];
3798
+ };
3626
3799
  };
3627
3800
  responses: never;
3628
3801
  parameters: never;
@@ -6548,6 +6721,29 @@ export interface operations {
6548
6721
  };
6549
6722
  };
6550
6723
  };
6724
+ ProductionController_createRole: {
6725
+ parameters: {
6726
+ query?: never;
6727
+ header?: never;
6728
+ path?: never;
6729
+ cookie?: never;
6730
+ };
6731
+ requestBody: {
6732
+ content: {
6733
+ "application/json": components["schemas"]["CreateProductionRoleDto"];
6734
+ };
6735
+ };
6736
+ responses: {
6737
+ 201: {
6738
+ headers: {
6739
+ [name: string]: unknown;
6740
+ };
6741
+ content: {
6742
+ "application/json": components["schemas"]["CreateProductionDto"];
6743
+ };
6744
+ };
6745
+ };
6746
+ };
6551
6747
  ProductionController_update: {
6552
6748
  parameters: {
6553
6749
  query?: never;
@@ -6571,6 +6767,14 @@ export interface operations {
6571
6767
  "application/json": components["schemas"]["UpdateProductionResponseDto"];
6572
6768
  };
6573
6769
  };
6770
+ 404: {
6771
+ headers: {
6772
+ [name: string]: unknown;
6773
+ };
6774
+ content: {
6775
+ "application/json": components["schemas"]["ErrorDto"];
6776
+ };
6777
+ };
6574
6778
  409: {
6575
6779
  headers: {
6576
6780
  [name: string]: unknown;
@@ -6600,6 +6804,45 @@ export interface operations {
6600
6804
  "application/json": components["schemas"]["DeleteProductionResponseDto"];
6601
6805
  };
6602
6806
  };
6807
+ 404: {
6808
+ headers: {
6809
+ [name: string]: unknown;
6810
+ };
6811
+ content: {
6812
+ "application/json": components["schemas"]["ErrorDto"];
6813
+ };
6814
+ };
6815
+ 409: {
6816
+ headers: {
6817
+ [name: string]: unknown;
6818
+ };
6819
+ content: {
6820
+ "application/json": components["schemas"]["ErrorDto"];
6821
+ };
6822
+ };
6823
+ };
6824
+ };
6825
+ ProductionAffiliationRequestController_create: {
6826
+ parameters: {
6827
+ query?: never;
6828
+ header?: never;
6829
+ path?: never;
6830
+ cookie?: never;
6831
+ };
6832
+ requestBody: {
6833
+ content: {
6834
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6835
+ };
6836
+ };
6837
+ responses: {
6838
+ 201: {
6839
+ headers: {
6840
+ [name: string]: unknown;
6841
+ };
6842
+ content: {
6843
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6844
+ };
6845
+ };
6603
6846
  409: {
6604
6847
  headers: {
6605
6848
  [name: string]: unknown;
@@ -6610,4 +6853,107 @@ export interface operations {
6610
6853
  };
6611
6854
  };
6612
6855
  };
6856
+ ProductionAffiliationRequestController_accept: {
6857
+ parameters: {
6858
+ query?: never;
6859
+ header?: never;
6860
+ path: {
6861
+ id: string;
6862
+ };
6863
+ cookie?: never;
6864
+ };
6865
+ requestBody?: never;
6866
+ responses: {
6867
+ 200: {
6868
+ headers: {
6869
+ [name: string]: unknown;
6870
+ };
6871
+ content: {
6872
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6873
+ };
6874
+ };
6875
+ 401: {
6876
+ headers: {
6877
+ [name: string]: unknown;
6878
+ };
6879
+ content: {
6880
+ "application/json": components["schemas"]["ErrorDto"];
6881
+ };
6882
+ };
6883
+ 404: {
6884
+ headers: {
6885
+ [name: string]: unknown;
6886
+ };
6887
+ content: {
6888
+ "application/json": components["schemas"]["ErrorDto"];
6889
+ };
6890
+ };
6891
+ };
6892
+ };
6893
+ ProductionAffiliationRequestController_reject: {
6894
+ parameters: {
6895
+ query?: never;
6896
+ header?: never;
6897
+ path: {
6898
+ id: string;
6899
+ };
6900
+ cookie?: never;
6901
+ };
6902
+ requestBody?: never;
6903
+ responses: {
6904
+ 200: {
6905
+ headers: {
6906
+ [name: string]: unknown;
6907
+ };
6908
+ content: {
6909
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6910
+ };
6911
+ };
6912
+ 401: {
6913
+ headers: {
6914
+ [name: string]: unknown;
6915
+ };
6916
+ content: {
6917
+ "application/json": components["schemas"]["ErrorDto"];
6918
+ };
6919
+ };
6920
+ 404: {
6921
+ headers: {
6922
+ [name: string]: unknown;
6923
+ };
6924
+ content: {
6925
+ "application/json": components["schemas"]["ErrorDto"];
6926
+ };
6927
+ };
6928
+ };
6929
+ };
6930
+ ProductionAffiliationRequestController_findByProduction: {
6931
+ parameters: {
6932
+ query?: never;
6933
+ header?: never;
6934
+ path: {
6935
+ id: string;
6936
+ };
6937
+ cookie?: never;
6938
+ };
6939
+ requestBody?: never;
6940
+ responses: {
6941
+ 200: {
6942
+ headers: {
6943
+ [name: string]: unknown;
6944
+ };
6945
+ content: {
6946
+ "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
6947
+ };
6948
+ };
6949
+ 404: {
6950
+ headers: {
6951
+ [name: string]: unknown;
6952
+ };
6953
+ content: {
6954
+ "application/json": components["schemas"]["ErrorDto"];
6955
+ };
6956
+ };
6957
+ };
6958
+ };
6613
6959
  }
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.4",
3
+ "version": "0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.6",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,