expo-backend-types 0.54.0 → 0.55.0-EXPO-366-EB-Schema-codigo-referido.2
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/src/event/dto/get-all-statistics.dto.d.ts +5 -0
- package/dist/src/i18n/es.d.ts +6 -0
- package/dist/src/i18n/es.js +6 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +10 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -0
- package/dist/src/production/dto/get-all-production.dto.d.ts +14 -0
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +14 -0
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +10 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -0
- package/dist/src/profile/dto/find-referral-code-exists.dto.d.ts +18 -0
- package/dist/src/profile/dto/find-referral-code-exists.dto.js +15 -0
- package/dist/src/profile/dto/find-referral-code-usage.dto.d.ts +18 -0
- package/dist/src/profile/dto/find-referral-code-usage.dto.js +15 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -0
- package/dist/src/profile/dto/profile.dto.d.ts +3 -0
- package/dist/src/profile/dto/update-profile.dto.d.ts +6 -0
- package/dist/src/schema/profile.schema.d.ts +3 -0
- package/dist/src/schema/profile.schema.js +1 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +6 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +7 -0
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +6 -0
- package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +6 -0
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +6 -0
- package/dist/src/ticket-group/dto/ticket-group.dto.js +1 -0
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +12 -0
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +1 -0
- package/dist/types/prisma-schema/edge.js +5 -3
- package/dist/types/prisma-schema/index-browser.js +2 -0
- package/dist/types/prisma-schema/index.d.ts +556 -25
- package/dist/types/prisma-schema/index.js +5 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +8 -0
- package/dist/types/prisma-schema/wasm.js +2 -0
- package/dist/types/schema.d.ts +106 -0
- package/package.json +2 -1
package/dist/types/schema.d.ts
CHANGED
@@ -799,6 +799,38 @@ export interface paths {
|
|
799
799
|
patch?: never;
|
800
800
|
trace?: never;
|
801
801
|
};
|
802
|
+
"/profile/referral-code-usage/{code}": {
|
803
|
+
parameters: {
|
804
|
+
query?: never;
|
805
|
+
header?: never;
|
806
|
+
path?: never;
|
807
|
+
cookie?: never;
|
808
|
+
};
|
809
|
+
get: operations["ProfileController_findReferralCodeUsage"];
|
810
|
+
put?: never;
|
811
|
+
post?: never;
|
812
|
+
delete?: never;
|
813
|
+
options?: never;
|
814
|
+
head?: never;
|
815
|
+
patch?: never;
|
816
|
+
trace?: never;
|
817
|
+
};
|
818
|
+
"/profile/referral-code-exists/{code}": {
|
819
|
+
parameters: {
|
820
|
+
query?: never;
|
821
|
+
header?: never;
|
822
|
+
path?: never;
|
823
|
+
cookie?: never;
|
824
|
+
};
|
825
|
+
get: operations["ProfileController_findReferralCodeExists"];
|
826
|
+
put?: never;
|
827
|
+
post?: never;
|
828
|
+
delete?: never;
|
829
|
+
options?: never;
|
830
|
+
head?: never;
|
831
|
+
patch?: never;
|
832
|
+
trace?: never;
|
833
|
+
};
|
802
834
|
"/profile/create": {
|
803
835
|
parameters: {
|
804
836
|
query?: never;
|
@@ -1812,6 +1844,7 @@ export interface components {
|
|
1812
1844
|
movedToTrashDate: string | null;
|
1813
1845
|
created_at: string;
|
1814
1846
|
updated_at: string;
|
1847
|
+
referralCode: string;
|
1815
1848
|
}[];
|
1816
1849
|
};
|
1817
1850
|
MassiveDeallocationDto: {
|
@@ -1844,6 +1877,7 @@ export interface components {
|
|
1844
1877
|
movedToTrashDate: string | null;
|
1845
1878
|
created_at: string;
|
1846
1879
|
updated_at: string;
|
1880
|
+
referralCode: string;
|
1847
1881
|
}[];
|
1848
1882
|
};
|
1849
1883
|
CreateAccountDto: {
|
@@ -2736,6 +2770,7 @@ export interface components {
|
|
2736
2770
|
movedToTrashDate: string | null;
|
2737
2771
|
created_at: string;
|
2738
2772
|
updated_at: string;
|
2773
|
+
referralCode: string;
|
2739
2774
|
tags: {
|
2740
2775
|
id: string;
|
2741
2776
|
name: string;
|
@@ -2776,6 +2811,7 @@ export interface components {
|
|
2776
2811
|
movedToTrashDate: string | null;
|
2777
2812
|
created_at: string;
|
2778
2813
|
updated_at: string;
|
2814
|
+
referralCode: string;
|
2779
2815
|
tags: {
|
2780
2816
|
id: string;
|
2781
2817
|
name: string;
|
@@ -2834,6 +2870,7 @@ export interface components {
|
|
2834
2870
|
movedToTrashDate: string | null;
|
2835
2871
|
created_at: string;
|
2836
2872
|
updated_at: string;
|
2873
|
+
referralCode: string;
|
2837
2874
|
tags: {
|
2838
2875
|
id: string;
|
2839
2876
|
name: string;
|
@@ -2875,6 +2912,7 @@ export interface components {
|
|
2875
2912
|
movedToTrashDate: string | null;
|
2876
2913
|
created_at: string;
|
2877
2914
|
updated_at: string;
|
2915
|
+
referralCode: string;
|
2878
2916
|
tags: {
|
2879
2917
|
id: string;
|
2880
2918
|
name: string;
|
@@ -2911,6 +2949,7 @@ export interface components {
|
|
2911
2949
|
movedToTrashDate: string | null;
|
2912
2950
|
created_at: string;
|
2913
2951
|
updated_at: string;
|
2952
|
+
referralCode: string;
|
2914
2953
|
tags: {
|
2915
2954
|
id: string;
|
2916
2955
|
name: string;
|
@@ -2949,6 +2988,7 @@ export interface components {
|
|
2949
2988
|
movedToTrashDate: string | null;
|
2950
2989
|
created_at: string;
|
2951
2990
|
updated_at: string;
|
2991
|
+
referralCode: string;
|
2952
2992
|
};
|
2953
2993
|
FindTrashResponseDto: {
|
2954
2994
|
profiles: {
|
@@ -2961,6 +3001,12 @@ export interface components {
|
|
2961
3001
|
movedToTrashDate: string | null;
|
2962
3002
|
}[];
|
2963
3003
|
};
|
3004
|
+
FindReferralCodeUsageResponseDto: {
|
3005
|
+
amount: number;
|
3006
|
+
};
|
3007
|
+
FindReferralCodeExistsResponseDto: {
|
3008
|
+
exists: boolean;
|
3009
|
+
};
|
2964
3010
|
CreateProfileDto: {
|
2965
3011
|
profile: {
|
2966
3012
|
alternativeNames: string[];
|
@@ -3047,6 +3093,7 @@ export interface components {
|
|
3047
3093
|
movedToTrashDate: string | null;
|
3048
3094
|
created_at: string;
|
3049
3095
|
updated_at: string;
|
3096
|
+
referralCode: string;
|
3050
3097
|
residenceLocation: {
|
3051
3098
|
id: string;
|
3052
3099
|
latitude: number;
|
@@ -3106,6 +3153,7 @@ export interface components {
|
|
3106
3153
|
movedToTrashDate: string | null;
|
3107
3154
|
created_at: string;
|
3108
3155
|
updated_at: string;
|
3156
|
+
referralCode: string;
|
3109
3157
|
};
|
3110
3158
|
UpdateProfileDto: {
|
3111
3159
|
alternativeNames?: string[];
|
@@ -3291,6 +3339,7 @@ export interface components {
|
|
3291
3339
|
ticketGroupId: string | null;
|
3292
3340
|
profileId?: string;
|
3293
3341
|
}[];
|
3342
|
+
referralCode?: string | null;
|
3294
3343
|
};
|
3295
3344
|
CreateManyTicketResponseDto: {
|
3296
3345
|
id: string;
|
@@ -3408,6 +3457,7 @@ export interface components {
|
|
3408
3457
|
movedToTrashDate: string | null;
|
3409
3458
|
created_at: string;
|
3410
3459
|
updated_at: string;
|
3460
|
+
referralCode: string;
|
3411
3461
|
} | null;
|
3412
3462
|
profileId: string | null;
|
3413
3463
|
};
|
@@ -3456,6 +3506,7 @@ export interface components {
|
|
3456
3506
|
movedToTrashDate: string | null;
|
3457
3507
|
created_at: string;
|
3458
3508
|
updated_at: string;
|
3509
|
+
referralCode: string;
|
3459
3510
|
} | null;
|
3460
3511
|
}[];
|
3461
3512
|
};
|
@@ -3503,6 +3554,7 @@ export interface components {
|
|
3503
3554
|
movedToTrashDate: string | null;
|
3504
3555
|
created_at: string;
|
3505
3556
|
updated_at: string;
|
3557
|
+
referralCode: string;
|
3506
3558
|
} | null;
|
3507
3559
|
}[];
|
3508
3560
|
};
|
@@ -3619,6 +3671,7 @@ export interface components {
|
|
3619
3671
|
amountTickets: number;
|
3620
3672
|
status: "BOOKED" | "PAID" | "FREE";
|
3621
3673
|
eventId: string;
|
3674
|
+
referralCode: string | null;
|
3622
3675
|
created_at: string;
|
3623
3676
|
updated_at: string;
|
3624
3677
|
tickets: {
|
@@ -3662,17 +3715,20 @@ export interface components {
|
|
3662
3715
|
amountTickets: number;
|
3663
3716
|
status: "BOOKED" | "PAID" | "FREE";
|
3664
3717
|
eventId: string;
|
3718
|
+
referralCode: string | null;
|
3665
3719
|
created_at: string;
|
3666
3720
|
updated_at: string;
|
3667
3721
|
};
|
3668
3722
|
UpdateTicketGroupDto: {
|
3669
3723
|
status?: "BOOKED" | "PAID" | "FREE";
|
3724
|
+
referralCode?: string | null;
|
3670
3725
|
};
|
3671
3726
|
UpdateTicketGroupResponseDto: {
|
3672
3727
|
id: string;
|
3673
3728
|
amountTickets: number;
|
3674
3729
|
status: "BOOKED" | "PAID" | "FREE";
|
3675
3730
|
eventId: string;
|
3731
|
+
referralCode: string | null;
|
3676
3732
|
created_at: string;
|
3677
3733
|
updated_at: string;
|
3678
3734
|
};
|
@@ -3681,6 +3737,7 @@ export interface components {
|
|
3681
3737
|
amountTickets: number;
|
3682
3738
|
status: "BOOKED" | "PAID" | "FREE";
|
3683
3739
|
eventId: string;
|
3740
|
+
referralCode: string | null;
|
3684
3741
|
created_at: string;
|
3685
3742
|
updated_at: string;
|
3686
3743
|
};
|
@@ -3730,6 +3787,7 @@ export interface components {
|
|
3730
3787
|
movedToTrashDate: string | null;
|
3731
3788
|
created_at: string;
|
3732
3789
|
updated_at: string;
|
3790
|
+
referralCode: string;
|
3733
3791
|
residenceLocation: {
|
3734
3792
|
city: string;
|
3735
3793
|
country: string;
|
@@ -3777,6 +3835,7 @@ export interface components {
|
|
3777
3835
|
movedToTrashDate: string | null;
|
3778
3836
|
created_at: string;
|
3779
3837
|
updated_at: string;
|
3838
|
+
referralCode: string;
|
3780
3839
|
};
|
3781
3840
|
};
|
3782
3841
|
GetMiExpoMeResponseDto: {
|
@@ -3803,6 +3862,7 @@ export interface components {
|
|
3803
3862
|
movedToTrashDate: string | null;
|
3804
3863
|
created_at: string;
|
3805
3864
|
updated_at: string;
|
3865
|
+
referralCode: string;
|
3806
3866
|
residenceLocation: {
|
3807
3867
|
id: string;
|
3808
3868
|
latitude: number;
|
@@ -3890,6 +3950,7 @@ export interface components {
|
|
3890
3950
|
movedToTrashDate: string | null;
|
3891
3951
|
created_at: string;
|
3892
3952
|
updated_at: string;
|
3953
|
+
referralCode: string;
|
3893
3954
|
};
|
3894
3955
|
backendTokens: {
|
3895
3956
|
accessToken: string;
|
@@ -3957,6 +4018,7 @@ export interface components {
|
|
3957
4018
|
movedToTrashDate: string | null;
|
3958
4019
|
created_at: string;
|
3959
4020
|
updated_at: string;
|
4021
|
+
referralCode: string;
|
3960
4022
|
} | null;
|
3961
4023
|
}[];
|
3962
4024
|
};
|
@@ -4027,6 +4089,7 @@ export interface components {
|
|
4027
4089
|
movedToTrashDate: string | null;
|
4028
4090
|
created_at: string;
|
4029
4091
|
updated_at: string;
|
4092
|
+
referralCode: string;
|
4030
4093
|
};
|
4031
4094
|
};
|
4032
4095
|
FindByProductionAffiliationRequestResponseDto: {
|
@@ -4069,6 +4132,7 @@ export interface components {
|
|
4069
4132
|
movedToTrashDate: string | null;
|
4070
4133
|
created_at: string;
|
4071
4134
|
updated_at: string;
|
4135
|
+
referralCode: string;
|
4072
4136
|
};
|
4073
4137
|
}[];
|
4074
4138
|
};
|
@@ -5650,6 +5714,48 @@ export interface operations {
|
|
5650
5714
|
};
|
5651
5715
|
};
|
5652
5716
|
};
|
5717
|
+
ProfileController_findReferralCodeUsage: {
|
5718
|
+
parameters: {
|
5719
|
+
query?: never;
|
5720
|
+
header?: never;
|
5721
|
+
path: {
|
5722
|
+
code: string;
|
5723
|
+
};
|
5724
|
+
cookie?: never;
|
5725
|
+
};
|
5726
|
+
requestBody?: never;
|
5727
|
+
responses: {
|
5728
|
+
200: {
|
5729
|
+
headers: {
|
5730
|
+
[name: string]: unknown;
|
5731
|
+
};
|
5732
|
+
content: {
|
5733
|
+
"application/json": components["schemas"]["FindReferralCodeUsageResponseDto"];
|
5734
|
+
};
|
5735
|
+
};
|
5736
|
+
};
|
5737
|
+
};
|
5738
|
+
ProfileController_findReferralCodeExists: {
|
5739
|
+
parameters: {
|
5740
|
+
query?: never;
|
5741
|
+
header?: never;
|
5742
|
+
path: {
|
5743
|
+
code: string;
|
5744
|
+
};
|
5745
|
+
cookie?: never;
|
5746
|
+
};
|
5747
|
+
requestBody?: never;
|
5748
|
+
responses: {
|
5749
|
+
200: {
|
5750
|
+
headers: {
|
5751
|
+
[name: string]: unknown;
|
5752
|
+
};
|
5753
|
+
content: {
|
5754
|
+
"application/json": components["schemas"]["FindReferralCodeExistsResponseDto"];
|
5755
|
+
};
|
5756
|
+
};
|
5757
|
+
};
|
5758
|
+
};
|
5653
5759
|
ProfileController_create: {
|
5654
5760
|
parameters: {
|
5655
5761
|
query?: never;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.55.0-EXPO-366-EB-Schema-codigo-referido.2",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -35,6 +35,7 @@
|
|
35
35
|
"dependencies": {
|
36
36
|
"@anatine/zod-nestjs": "^2.0.10",
|
37
37
|
"@anatine/zod-openapi": "^2.2.6",
|
38
|
+
"an-array-of-spanish-words": "^2.0.0",
|
38
39
|
"i18n-js": "^4.4.3",
|
39
40
|
"libphonenumber-js": "^1.12.6",
|
40
41
|
"mercadopago": "^2.4.0",
|