expo-backend-types 0.57.0-EXPO-377-Etapa-4-Paquete-02.7 → 0.57.0
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/dynamic-form/dto/create-dynamic-form.dto.d.ts +0 -10
- package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +0 -27
- package/dist/src/dynamic-form/dto/dynamic-form.dto.js +1 -8
- package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +0 -14
- package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +0 -19
- package/dist/src/dynamic-form/exports.d.ts +0 -2
- package/dist/src/dynamic-form/exports.js +0 -2
- package/dist/src/i18n/es.d.ts +0 -21
- package/dist/src/i18n/es.js +0 -21
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -20
- package/dist/src/mi-expo/exports.d.ts +0 -1
- package/dist/src/mi-expo/exports.js +0 -1
- package/dist/src/production/dto/create-production.dto.d.ts +1 -8
- package/dist/src/production/dto/create-production.dto.js +0 -1
- package/dist/src/production/dto/delete-production.dto.d.ts +0 -6
- package/dist/src/production/dto/get-all-production.dto.d.ts +0 -10
- package/dist/src/production/dto/production.dto.d.ts +0 -3
- package/dist/src/production/dto/production.dto.js +0 -3
- package/dist/src/production/dto/update-production.dto.d.ts +0 -12
- package/dist/src/production/dto/update-production.dto.js +0 -1
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -14
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -10
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -141
- package/dist/src/profile/dto/find-by-phone-number.dto.js +1 -21
- package/dist/src/schema/profile.schema.js +2 -16
- package/dist/types/prisma-schema/edge.js +3 -11
- package/dist/types/prisma-schema/index-browser.js +0 -8
- package/dist/types/prisma-schema/index.d.ts +2 -150
- package/dist/types/prisma-schema/index.js +3 -11
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +3 -11
- package/dist/types/prisma-schema/wasm.js +0 -8
- package/dist/types/schema.d.ts +0 -274
- package/package.json +1 -1
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +0 -266
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +0 -19
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +0 -266
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +0 -18
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +0 -350
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +0 -23
- package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +0 -382
- package/dist/src/mi-expo/dto/update-me-first-time.dto.js +0 -35
@@ -342,8 +342,7 @@ model EventTicket {
|
|
342
342
|
model Production {
|
343
343
|
id String @id @default(uuid())
|
344
344
|
|
345
|
-
name
|
346
|
-
description String @default("")
|
345
|
+
name String @unique
|
347
346
|
|
348
347
|
administratorId String? @map("adminstrator_id")
|
349
348
|
administrator Profile? @relation("PRODUCTION_X_ADMINISTRATOR", fields: [administratorId], references: [id])
|
@@ -377,9 +376,8 @@ model ProductionAffiliationRequest {
|
|
377
376
|
}
|
378
377
|
|
379
378
|
model DynamicForm {
|
380
|
-
id String
|
381
|
-
name String
|
382
|
-
type DynamicFormType @default(PERSONAL_INFO)
|
379
|
+
id String @id @default(uuid())
|
380
|
+
name String @unique
|
383
381
|
|
384
382
|
questions DynamicQuestion[] @relation("DYNAMIC_FORM_X_QUESTION")
|
385
383
|
|
@@ -470,9 +468,3 @@ enum TicketGroupStatus {
|
|
470
468
|
PAID
|
471
469
|
FREE
|
472
470
|
}
|
473
|
-
|
474
|
-
enum DynamicFormType {
|
475
|
-
PERSONAL_INFO
|
476
|
-
PRODUCTION
|
477
|
-
PARTICIPANT
|
478
|
-
}
|
@@ -297,7 +297,6 @@ exports.Prisma.EventTicketScalarFieldEnum = {
|
|
297
297
|
exports.Prisma.ProductionScalarFieldEnum = {
|
298
298
|
id: 'id',
|
299
299
|
name: 'name',
|
300
|
-
description: 'description',
|
301
300
|
administratorId: 'administratorId',
|
302
301
|
created_at: 'created_at',
|
303
302
|
updated_at: 'updated_at'
|
@@ -316,7 +315,6 @@ exports.Prisma.ProductionAffiliationRequestScalarFieldEnum = {
|
|
316
315
|
exports.Prisma.DynamicFormScalarFieldEnum = {
|
317
316
|
id: 'id',
|
318
317
|
name: 'name',
|
319
|
-
type: 'type',
|
320
318
|
created_at: 'created_at',
|
321
319
|
updated_at: 'updated_at'
|
322
320
|
};
|
@@ -419,12 +417,6 @@ exports.AffiliationStatus = exports.$Enums.AffiliationStatus = {
|
|
419
417
|
REJECTED: 'REJECTED'
|
420
418
|
};
|
421
419
|
|
422
|
-
exports.DynamicFormType = exports.$Enums.DynamicFormType = {
|
423
|
-
PERSONAL_INFO: 'PERSONAL_INFO',
|
424
|
-
PRODUCTION: 'PRODUCTION',
|
425
|
-
PARTICIPANT: 'PARTICIPANT'
|
426
|
-
};
|
427
|
-
|
428
420
|
exports.Prisma.ModelName = {
|
429
421
|
Account: 'Account',
|
430
422
|
Profile: 'Profile',
|
package/dist/types/schema.d.ts
CHANGED
@@ -1471,22 +1471,6 @@ export interface paths {
|
|
1471
1471
|
patch: operations["MiExpoController_updateMe"];
|
1472
1472
|
trace?: never;
|
1473
1473
|
};
|
1474
|
-
"/mi-expo/me-first-time": {
|
1475
|
-
parameters: {
|
1476
|
-
query?: never;
|
1477
|
-
header?: never;
|
1478
|
-
path?: never;
|
1479
|
-
cookie?: never;
|
1480
|
-
};
|
1481
|
-
get?: never;
|
1482
|
-
put?: never;
|
1483
|
-
post?: never;
|
1484
|
-
delete?: never;
|
1485
|
-
options?: never;
|
1486
|
-
head?: never;
|
1487
|
-
patch: operations["MiExpoController_updateMeWithoutLogin"];
|
1488
|
-
trace?: never;
|
1489
|
-
};
|
1490
1474
|
"/mi-expo/invitations": {
|
1491
1475
|
parameters: {
|
1492
1476
|
query?: never;
|
@@ -1727,22 +1711,6 @@ export interface paths {
|
|
1727
1711
|
patch?: never;
|
1728
1712
|
trace?: never;
|
1729
1713
|
};
|
1730
|
-
"/dynamic-form/submit/{id}": {
|
1731
|
-
parameters: {
|
1732
|
-
query?: never;
|
1733
|
-
header?: never;
|
1734
|
-
path?: never;
|
1735
|
-
cookie?: never;
|
1736
|
-
};
|
1737
|
-
get?: never;
|
1738
|
-
put?: never;
|
1739
|
-
post: operations["DynamicFormController_submit"];
|
1740
|
-
delete?: never;
|
1741
|
-
options?: never;
|
1742
|
-
head?: never;
|
1743
|
-
patch?: never;
|
1744
|
-
trace?: never;
|
1745
|
-
};
|
1746
1714
|
"/dynamic-form/update/{id}": {
|
1747
1715
|
parameters: {
|
1748
1716
|
query?: never;
|
@@ -1775,22 +1743,6 @@ export interface paths {
|
|
1775
1743
|
patch?: never;
|
1776
1744
|
trace?: never;
|
1777
1745
|
};
|
1778
|
-
"/dynamic-form/by-type/{type}": {
|
1779
|
-
parameters: {
|
1780
|
-
query?: never;
|
1781
|
-
header?: never;
|
1782
|
-
path?: never;
|
1783
|
-
cookie?: never;
|
1784
|
-
};
|
1785
|
-
get: operations["DynamicFormController_getByType"];
|
1786
|
-
put?: never;
|
1787
|
-
post?: never;
|
1788
|
-
delete?: never;
|
1789
|
-
options?: never;
|
1790
|
-
head?: never;
|
1791
|
-
patch?: never;
|
1792
|
-
trace?: never;
|
1793
|
-
};
|
1794
1746
|
"/dynamic-form/delete/{id}": {
|
1795
1747
|
parameters: {
|
1796
1748
|
query?: never;
|
@@ -3101,20 +3053,6 @@ export interface components {
|
|
3101
3053
|
created_at: string;
|
3102
3054
|
updated_at: string;
|
3103
3055
|
referralCode: string;
|
3104
|
-
residenceLocation: {
|
3105
|
-
city: string;
|
3106
|
-
state: string;
|
3107
|
-
country: string;
|
3108
|
-
latitude: number;
|
3109
|
-
longitude: number;
|
3110
|
-
} | null;
|
3111
|
-
birthLocation: {
|
3112
|
-
city: string;
|
3113
|
-
state: string;
|
3114
|
-
country: string;
|
3115
|
-
latitude: number;
|
3116
|
-
longitude: number;
|
3117
|
-
} | null;
|
3118
3056
|
};
|
3119
3057
|
FindTrashResponseDto: {
|
3120
3058
|
profiles: {
|
@@ -4012,7 +3950,6 @@ export interface components {
|
|
4012
3950
|
productionsAdministrated: {
|
4013
3951
|
id: string;
|
4014
3952
|
name: string;
|
4015
|
-
description: string;
|
4016
3953
|
administratorId: string | null;
|
4017
3954
|
created_at: string;
|
4018
3955
|
updated_at: string;
|
@@ -4020,7 +3957,6 @@ export interface components {
|
|
4020
3957
|
productionsParticipated: {
|
4021
3958
|
id: string;
|
4022
3959
|
name: string;
|
4023
|
-
description: string;
|
4024
3960
|
administratorId: string | null;
|
4025
3961
|
created_at: string;
|
4026
3962
|
updated_at: string;
|
@@ -4060,33 +3996,6 @@ export interface components {
|
|
4060
3996
|
state: string;
|
4061
3997
|
};
|
4062
3998
|
};
|
4063
|
-
UpdateMiExpoMeFirstTimeDto: {
|
4064
|
-
birthDate: string | null;
|
4065
|
-
dni: string | null;
|
4066
|
-
fullName: string;
|
4067
|
-
gender: string | null;
|
4068
|
-
instagram: string | null;
|
4069
|
-
mail: string | null;
|
4070
|
-
password: string | null;
|
4071
|
-
phoneNumber: string;
|
4072
|
-
secondaryPhoneNumber: string | null;
|
4073
|
-
username: string | null;
|
4074
|
-
birth: {
|
4075
|
-
city: string;
|
4076
|
-
country: string;
|
4077
|
-
latitude: number;
|
4078
|
-
longitude: number;
|
4079
|
-
state: string;
|
4080
|
-
};
|
4081
|
-
residence: {
|
4082
|
-
city: string;
|
4083
|
-
country: string;
|
4084
|
-
latitude: number;
|
4085
|
-
longitude: number;
|
4086
|
-
state: string;
|
4087
|
-
};
|
4088
|
-
id: string;
|
4089
|
-
};
|
4090
3999
|
GetInvitationsResponseDto: {
|
4091
4000
|
events: {
|
4092
4001
|
date: string;
|
@@ -4167,7 +4076,6 @@ export interface components {
|
|
4167
4076
|
productions: {
|
4168
4077
|
id: string;
|
4169
4078
|
name: string;
|
4170
|
-
description: string;
|
4171
4079
|
administratorId: string | null;
|
4172
4080
|
created_at: string;
|
4173
4081
|
updated_at: string;
|
@@ -4202,7 +4110,6 @@ export interface components {
|
|
4202
4110
|
};
|
4203
4111
|
CreateProductionDto: {
|
4204
4112
|
name: string;
|
4205
|
-
description: string;
|
4206
4113
|
administratorId: string | null;
|
4207
4114
|
};
|
4208
4115
|
CreateProductionRoleDto: {
|
@@ -4210,13 +4117,11 @@ export interface components {
|
|
4210
4117
|
};
|
4211
4118
|
UpdateProductionDto: {
|
4212
4119
|
name?: string;
|
4213
|
-
description?: string;
|
4214
4120
|
administratorId?: string | null;
|
4215
4121
|
};
|
4216
4122
|
UpdateProductionResponseDto: {
|
4217
4123
|
id: string;
|
4218
4124
|
name: string;
|
4219
|
-
description: string;
|
4220
4125
|
administratorId: string | null;
|
4221
4126
|
created_at: string;
|
4222
4127
|
updated_at: string;
|
@@ -4224,7 +4129,6 @@ export interface components {
|
|
4224
4129
|
DeleteProductionResponseDto: {
|
4225
4130
|
id: string;
|
4226
4131
|
name: string;
|
4227
|
-
description: string;
|
4228
4132
|
administratorId: string | null;
|
4229
4133
|
created_at: string;
|
4230
4134
|
updated_at: string;
|
@@ -4242,7 +4146,6 @@ export interface components {
|
|
4242
4146
|
production: {
|
4243
4147
|
id: string;
|
4244
4148
|
name: string;
|
4245
|
-
description: string;
|
4246
4149
|
administratorId: string | null;
|
4247
4150
|
created_at: string;
|
4248
4151
|
updated_at: string;
|
@@ -4286,7 +4189,6 @@ export interface components {
|
|
4286
4189
|
production: {
|
4287
4190
|
id: string;
|
4288
4191
|
name: string;
|
4289
|
-
description: string;
|
4290
4192
|
administratorId: string | null;
|
4291
4193
|
created_at: string;
|
4292
4194
|
updated_at: string;
|
@@ -4349,45 +4251,6 @@ export interface components {
|
|
4349
4251
|
}[];
|
4350
4252
|
}[];
|
4351
4253
|
};
|
4352
|
-
SubmitDynamicFormsDto: {
|
4353
|
-
id: string;
|
4354
|
-
formId: string;
|
4355
|
-
text: string;
|
4356
|
-
disabled: boolean;
|
4357
|
-
required: boolean;
|
4358
|
-
multipleChoice: boolean;
|
4359
|
-
tagGroupId: string;
|
4360
|
-
answers: string[];
|
4361
|
-
}[];
|
4362
|
-
SubmitDynamicFormsResponseDto: {
|
4363
|
-
profiles: {
|
4364
|
-
id: string;
|
4365
|
-
shortId: number;
|
4366
|
-
role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
|
4367
|
-
firstTimeMiExpo: boolean;
|
4368
|
-
username: string | null;
|
4369
|
-
password: string | null;
|
4370
|
-
phoneNumber: string;
|
4371
|
-
isPhoneVerified: boolean;
|
4372
|
-
secondaryPhoneNumber: string | null;
|
4373
|
-
fullName: string;
|
4374
|
-
firstName: string | null;
|
4375
|
-
gender: string | null;
|
4376
|
-
birthDate: string | null;
|
4377
|
-
profilePictureUrl: string | null;
|
4378
|
-
instagram: string | null;
|
4379
|
-
mail: string | null;
|
4380
|
-
dni: string | null;
|
4381
|
-
alternativeNames: string[];
|
4382
|
-
birthLocationId: string | null;
|
4383
|
-
residenceLocationId: string | null;
|
4384
|
-
isInTrash: boolean;
|
4385
|
-
movedToTrashDate: string | null;
|
4386
|
-
created_at: string;
|
4387
|
-
updated_at: string;
|
4388
|
-
referralCode: string;
|
4389
|
-
}[];
|
4390
|
-
};
|
4391
4254
|
UpdateDynamicFormDto: {
|
4392
4255
|
name: string;
|
4393
4256
|
questions: {
|
@@ -4405,7 +4268,6 @@ export interface components {
|
|
4405
4268
|
UpdateDynamicFormResponseDto: {
|
4406
4269
|
id: string;
|
4407
4270
|
name: string;
|
4408
|
-
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
4409
4271
|
created_at: string;
|
4410
4272
|
updated_at: string;
|
4411
4273
|
questions: {
|
@@ -4431,7 +4293,6 @@ export interface components {
|
|
4431
4293
|
FindAllDynamicFormsResponseDto: {
|
4432
4294
|
id: string;
|
4433
4295
|
name: string;
|
4434
|
-
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
4435
4296
|
created_at: string;
|
4436
4297
|
updated_at: string;
|
4437
4298
|
questions: {
|
@@ -4470,32 +4331,6 @@ export interface components {
|
|
4470
4331
|
}[];
|
4471
4332
|
}[];
|
4472
4333
|
}[];
|
4473
|
-
FindByTypeDynamicFormsResponseDto: {
|
4474
|
-
id: string;
|
4475
|
-
name: string;
|
4476
|
-
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
4477
|
-
created_at: string;
|
4478
|
-
updated_at: string;
|
4479
|
-
questions: {
|
4480
|
-
id: string;
|
4481
|
-
formId: string;
|
4482
|
-
text: string;
|
4483
|
-
disabled: boolean;
|
4484
|
-
required: boolean;
|
4485
|
-
multipleChoice: boolean;
|
4486
|
-
tagGroupId: string;
|
4487
|
-
created_at: string;
|
4488
|
-
updated_at: string;
|
4489
|
-
options: {
|
4490
|
-
id: string;
|
4491
|
-
text: string;
|
4492
|
-
tagId: string;
|
4493
|
-
questionId: string;
|
4494
|
-
created_at: string;
|
4495
|
-
updated_at: string;
|
4496
|
-
}[];
|
4497
|
-
}[];
|
4498
|
-
};
|
4499
4334
|
DeleteDynamicFormDto: {
|
4500
4335
|
id: string;
|
4501
4336
|
};
|
@@ -7516,29 +7351,6 @@ export interface operations {
|
|
7516
7351
|
};
|
7517
7352
|
};
|
7518
7353
|
};
|
7519
|
-
MiExpoController_updateMeWithoutLogin: {
|
7520
|
-
parameters: {
|
7521
|
-
query?: never;
|
7522
|
-
header?: never;
|
7523
|
-
path?: never;
|
7524
|
-
cookie?: never;
|
7525
|
-
};
|
7526
|
-
requestBody: {
|
7527
|
-
content: {
|
7528
|
-
"application/json": components["schemas"]["UpdateMiExpoMeFirstTimeDto"];
|
7529
|
-
};
|
7530
|
-
};
|
7531
|
-
responses: {
|
7532
|
-
200: {
|
7533
|
-
headers: {
|
7534
|
-
[name: string]: unknown;
|
7535
|
-
};
|
7536
|
-
content: {
|
7537
|
-
"application/json": components["schemas"]["GetMiExpoMeResponseDto"];
|
7538
|
-
};
|
7539
|
-
};
|
7540
|
-
};
|
7541
|
-
};
|
7542
7354
|
MiExpoController_invitations: {
|
7543
7355
|
parameters: {
|
7544
7356
|
query?: never;
|
@@ -8005,63 +7817,6 @@ export interface operations {
|
|
8005
7817
|
};
|
8006
7818
|
};
|
8007
7819
|
};
|
8008
|
-
DynamicFormController_submit: {
|
8009
|
-
parameters: {
|
8010
|
-
query?: never;
|
8011
|
-
header?: never;
|
8012
|
-
path: {
|
8013
|
-
id: string;
|
8014
|
-
};
|
8015
|
-
cookie?: never;
|
8016
|
-
};
|
8017
|
-
requestBody: {
|
8018
|
-
content: {
|
8019
|
-
"application/json": components["schemas"]["SubmitDynamicFormsDto"];
|
8020
|
-
};
|
8021
|
-
};
|
8022
|
-
responses: {
|
8023
|
-
200: {
|
8024
|
-
headers: {
|
8025
|
-
[name: string]: unknown;
|
8026
|
-
};
|
8027
|
-
content: {
|
8028
|
-
"application/json": components["schemas"]["SubmitDynamicFormsResponseDto"];
|
8029
|
-
};
|
8030
|
-
};
|
8031
|
-
400: {
|
8032
|
-
headers: {
|
8033
|
-
[name: string]: unknown;
|
8034
|
-
};
|
8035
|
-
content: {
|
8036
|
-
"application/json": components["schemas"]["ErrorDto"];
|
8037
|
-
};
|
8038
|
-
};
|
8039
|
-
404: {
|
8040
|
-
headers: {
|
8041
|
-
[name: string]: unknown;
|
8042
|
-
};
|
8043
|
-
content: {
|
8044
|
-
"application/json": components["schemas"]["ErrorDto"];
|
8045
|
-
};
|
8046
|
-
};
|
8047
|
-
406: {
|
8048
|
-
headers: {
|
8049
|
-
[name: string]: unknown;
|
8050
|
-
};
|
8051
|
-
content: {
|
8052
|
-
"application/json": components["schemas"]["ErrorDto"];
|
8053
|
-
};
|
8054
|
-
};
|
8055
|
-
409: {
|
8056
|
-
headers: {
|
8057
|
-
[name: string]: unknown;
|
8058
|
-
};
|
8059
|
-
content: {
|
8060
|
-
"application/json": components["schemas"]["ErrorDto"];
|
8061
|
-
};
|
8062
|
-
};
|
8063
|
-
};
|
8064
|
-
};
|
8065
7820
|
DynamicFormController_update: {
|
8066
7821
|
parameters: {
|
8067
7822
|
query?: never;
|
@@ -8114,35 +7869,6 @@ export interface operations {
|
|
8114
7869
|
};
|
8115
7870
|
};
|
8116
7871
|
};
|
8117
|
-
DynamicFormController_getByType: {
|
8118
|
-
parameters: {
|
8119
|
-
query?: never;
|
8120
|
-
header?: never;
|
8121
|
-
path: {
|
8122
|
-
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
8123
|
-
};
|
8124
|
-
cookie?: never;
|
8125
|
-
};
|
8126
|
-
requestBody?: never;
|
8127
|
-
responses: {
|
8128
|
-
200: {
|
8129
|
-
headers: {
|
8130
|
-
[name: string]: unknown;
|
8131
|
-
};
|
8132
|
-
content: {
|
8133
|
-
"application/json": components["schemas"]["FindByTypeDynamicFormsResponseDto"];
|
8134
|
-
};
|
8135
|
-
};
|
8136
|
-
404: {
|
8137
|
-
headers: {
|
8138
|
-
[name: string]: unknown;
|
8139
|
-
};
|
8140
|
-
content: {
|
8141
|
-
"application/json": components["schemas"]["ErrorDto"];
|
8142
|
-
};
|
8143
|
-
};
|
8144
|
-
};
|
8145
|
-
};
|
8146
7872
|
DynamicFormController_delete: {
|
8147
7873
|
parameters: {
|
8148
7874
|
query?: never;
|