expo-backend-types 0.57.0 → 0.58.0-EXPO-405-EB-Rutas-necesarias.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/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +10 -0
- package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +27 -0
- package/dist/src/dynamic-form/dto/dynamic-form.dto.js +8 -1
- package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +14 -0
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +266 -0
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +19 -0
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +266 -0
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +18 -0
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +350 -0
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +23 -0
- package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +19 -0
- package/dist/src/dynamic-form/exports.d.ts +2 -0
- package/dist/src/dynamic-form/exports.js +2 -0
- package/dist/src/i18n/es.d.ts +21 -0
- package/dist/src/i18n/es.js +21 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +20 -0
- package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +382 -0
- package/dist/src/mi-expo/dto/update-me-first-time.dto.js +35 -0
- package/dist/src/mi-expo/exports.d.ts +1 -0
- package/dist/src/mi-expo/exports.js +1 -0
- package/dist/src/production/dto/create-production.dto.d.ts +8 -1
- package/dist/src/production/dto/create-production.dto.js +1 -0
- package/dist/src/production/dto/delete-production.dto.d.ts +6 -0
- package/dist/src/production/dto/get-all-production.dto.d.ts +10 -0
- package/dist/src/production/dto/production.dto.d.ts +3 -0
- package/dist/src/production/dto/production.dto.js +3 -0
- package/dist/src/production/dto/update-production.dto.d.ts +12 -0
- package/dist/src/production/dto/update-production.dto.js +1 -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/find-by-phone-number.dto.d.ts +141 -2
- package/dist/src/profile/dto/find-by-phone-number.dto.js +21 -1
- package/dist/src/schema/profile.schema.js +16 -2
- package/dist/types/prisma-schema/edge.js +11 -3
- package/dist/types/prisma-schema/index-browser.js +8 -0
- package/dist/types/prisma-schema/index.d.ts +150 -2
- package/dist/types/prisma-schema/index.js +11 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +11 -3
- package/dist/types/prisma-schema/wasm.js +8 -0
- package/dist/types/schema.d.ts +274 -0
- package/package.json +1 -1
@@ -342,7 +342,8 @@ model EventTicket {
|
|
342
342
|
model Production {
|
343
343
|
id String @id @default(uuid())
|
344
344
|
|
345
|
-
name
|
345
|
+
name String @unique
|
346
|
+
description String @default("")
|
346
347
|
|
347
348
|
administratorId String? @map("adminstrator_id")
|
348
349
|
administrator Profile? @relation("PRODUCTION_X_ADMINISTRATOR", fields: [administratorId], references: [id])
|
@@ -376,8 +377,9 @@ model ProductionAffiliationRequest {
|
|
376
377
|
}
|
377
378
|
|
378
379
|
model DynamicForm {
|
379
|
-
id String
|
380
|
-
name String
|
380
|
+
id String @id @default(uuid())
|
381
|
+
name String @unique
|
382
|
+
type DynamicFormType @default(PERSONAL_INFO)
|
381
383
|
|
382
384
|
questions DynamicQuestion[] @relation("DYNAMIC_FORM_X_QUESTION")
|
383
385
|
|
@@ -468,3 +470,9 @@ enum TicketGroupStatus {
|
|
468
470
|
PAID
|
469
471
|
FREE
|
470
472
|
}
|
473
|
+
|
474
|
+
enum DynamicFormType {
|
475
|
+
PERSONAL_INFO
|
476
|
+
PRODUCTION
|
477
|
+
PARTICIPANT
|
478
|
+
}
|
@@ -297,6 +297,7 @@ exports.Prisma.EventTicketScalarFieldEnum = {
|
|
297
297
|
exports.Prisma.ProductionScalarFieldEnum = {
|
298
298
|
id: 'id',
|
299
299
|
name: 'name',
|
300
|
+
description: 'description',
|
300
301
|
administratorId: 'administratorId',
|
301
302
|
created_at: 'created_at',
|
302
303
|
updated_at: 'updated_at'
|
@@ -315,6 +316,7 @@ exports.Prisma.ProductionAffiliationRequestScalarFieldEnum = {
|
|
315
316
|
exports.Prisma.DynamicFormScalarFieldEnum = {
|
316
317
|
id: 'id',
|
317
318
|
name: 'name',
|
319
|
+
type: 'type',
|
318
320
|
created_at: 'created_at',
|
319
321
|
updated_at: 'updated_at'
|
320
322
|
};
|
@@ -417,6 +419,12 @@ exports.AffiliationStatus = exports.$Enums.AffiliationStatus = {
|
|
417
419
|
REJECTED: 'REJECTED'
|
418
420
|
};
|
419
421
|
|
422
|
+
exports.DynamicFormType = exports.$Enums.DynamicFormType = {
|
423
|
+
PERSONAL_INFO: 'PERSONAL_INFO',
|
424
|
+
PRODUCTION: 'PRODUCTION',
|
425
|
+
PARTICIPANT: 'PARTICIPANT'
|
426
|
+
};
|
427
|
+
|
420
428
|
exports.Prisma.ModelName = {
|
421
429
|
Account: 'Account',
|
422
430
|
Profile: 'Profile',
|
package/dist/types/schema.d.ts
CHANGED
@@ -1471,6 +1471,22 @@ 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
|
+
};
|
1474
1490
|
"/mi-expo/invitations": {
|
1475
1491
|
parameters: {
|
1476
1492
|
query?: never;
|
@@ -1711,6 +1727,22 @@ export interface paths {
|
|
1711
1727
|
patch?: never;
|
1712
1728
|
trace?: never;
|
1713
1729
|
};
|
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
|
+
};
|
1714
1746
|
"/dynamic-form/update/{id}": {
|
1715
1747
|
parameters: {
|
1716
1748
|
query?: never;
|
@@ -1743,6 +1775,22 @@ export interface paths {
|
|
1743
1775
|
patch?: never;
|
1744
1776
|
trace?: never;
|
1745
1777
|
};
|
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
|
+
};
|
1746
1794
|
"/dynamic-form/delete/{id}": {
|
1747
1795
|
parameters: {
|
1748
1796
|
query?: never;
|
@@ -3053,6 +3101,20 @@ export interface components {
|
|
3053
3101
|
created_at: string;
|
3054
3102
|
updated_at: string;
|
3055
3103
|
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;
|
3056
3118
|
};
|
3057
3119
|
FindTrashResponseDto: {
|
3058
3120
|
profiles: {
|
@@ -3950,6 +4012,7 @@ export interface components {
|
|
3950
4012
|
productionsAdministrated: {
|
3951
4013
|
id: string;
|
3952
4014
|
name: string;
|
4015
|
+
description: string;
|
3953
4016
|
administratorId: string | null;
|
3954
4017
|
created_at: string;
|
3955
4018
|
updated_at: string;
|
@@ -3957,6 +4020,7 @@ export interface components {
|
|
3957
4020
|
productionsParticipated: {
|
3958
4021
|
id: string;
|
3959
4022
|
name: string;
|
4023
|
+
description: string;
|
3960
4024
|
administratorId: string | null;
|
3961
4025
|
created_at: string;
|
3962
4026
|
updated_at: string;
|
@@ -3996,6 +4060,33 @@ export interface components {
|
|
3996
4060
|
state: string;
|
3997
4061
|
};
|
3998
4062
|
};
|
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
|
+
};
|
3999
4090
|
GetInvitationsResponseDto: {
|
4000
4091
|
events: {
|
4001
4092
|
date: string;
|
@@ -4076,6 +4167,7 @@ export interface components {
|
|
4076
4167
|
productions: {
|
4077
4168
|
id: string;
|
4078
4169
|
name: string;
|
4170
|
+
description: string;
|
4079
4171
|
administratorId: string | null;
|
4080
4172
|
created_at: string;
|
4081
4173
|
updated_at: string;
|
@@ -4110,6 +4202,7 @@ export interface components {
|
|
4110
4202
|
};
|
4111
4203
|
CreateProductionDto: {
|
4112
4204
|
name: string;
|
4205
|
+
description: string;
|
4113
4206
|
administratorId: string | null;
|
4114
4207
|
};
|
4115
4208
|
CreateProductionRoleDto: {
|
@@ -4117,11 +4210,13 @@ export interface components {
|
|
4117
4210
|
};
|
4118
4211
|
UpdateProductionDto: {
|
4119
4212
|
name?: string;
|
4213
|
+
description?: string;
|
4120
4214
|
administratorId?: string | null;
|
4121
4215
|
};
|
4122
4216
|
UpdateProductionResponseDto: {
|
4123
4217
|
id: string;
|
4124
4218
|
name: string;
|
4219
|
+
description: string;
|
4125
4220
|
administratorId: string | null;
|
4126
4221
|
created_at: string;
|
4127
4222
|
updated_at: string;
|
@@ -4129,6 +4224,7 @@ export interface components {
|
|
4129
4224
|
DeleteProductionResponseDto: {
|
4130
4225
|
id: string;
|
4131
4226
|
name: string;
|
4227
|
+
description: string;
|
4132
4228
|
administratorId: string | null;
|
4133
4229
|
created_at: string;
|
4134
4230
|
updated_at: string;
|
@@ -4146,6 +4242,7 @@ export interface components {
|
|
4146
4242
|
production: {
|
4147
4243
|
id: string;
|
4148
4244
|
name: string;
|
4245
|
+
description: string;
|
4149
4246
|
administratorId: string | null;
|
4150
4247
|
created_at: string;
|
4151
4248
|
updated_at: string;
|
@@ -4189,6 +4286,7 @@ export interface components {
|
|
4189
4286
|
production: {
|
4190
4287
|
id: string;
|
4191
4288
|
name: string;
|
4289
|
+
description: string;
|
4192
4290
|
administratorId: string | null;
|
4193
4291
|
created_at: string;
|
4194
4292
|
updated_at: string;
|
@@ -4251,6 +4349,45 @@ export interface components {
|
|
4251
4349
|
}[];
|
4252
4350
|
}[];
|
4253
4351
|
};
|
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
|
+
};
|
4254
4391
|
UpdateDynamicFormDto: {
|
4255
4392
|
name: string;
|
4256
4393
|
questions: {
|
@@ -4268,6 +4405,7 @@ export interface components {
|
|
4268
4405
|
UpdateDynamicFormResponseDto: {
|
4269
4406
|
id: string;
|
4270
4407
|
name: string;
|
4408
|
+
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
4271
4409
|
created_at: string;
|
4272
4410
|
updated_at: string;
|
4273
4411
|
questions: {
|
@@ -4293,6 +4431,7 @@ export interface components {
|
|
4293
4431
|
FindAllDynamicFormsResponseDto: {
|
4294
4432
|
id: string;
|
4295
4433
|
name: string;
|
4434
|
+
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
4296
4435
|
created_at: string;
|
4297
4436
|
updated_at: string;
|
4298
4437
|
questions: {
|
@@ -4331,6 +4470,32 @@ export interface components {
|
|
4331
4470
|
}[];
|
4332
4471
|
}[];
|
4333
4472
|
}[];
|
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
|
+
};
|
4334
4499
|
DeleteDynamicFormDto: {
|
4335
4500
|
id: string;
|
4336
4501
|
};
|
@@ -7351,6 +7516,29 @@ export interface operations {
|
|
7351
7516
|
};
|
7352
7517
|
};
|
7353
7518
|
};
|
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
|
+
};
|
7354
7542
|
MiExpoController_invitations: {
|
7355
7543
|
parameters: {
|
7356
7544
|
query?: never;
|
@@ -7817,6 +8005,63 @@ export interface operations {
|
|
7817
8005
|
};
|
7818
8006
|
};
|
7819
8007
|
};
|
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
|
+
};
|
7820
8065
|
DynamicFormController_update: {
|
7821
8066
|
parameters: {
|
7822
8067
|
query?: never;
|
@@ -7869,6 +8114,35 @@ export interface operations {
|
|
7869
8114
|
};
|
7870
8115
|
};
|
7871
8116
|
};
|
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
|
+
};
|
7872
8146
|
DynamicFormController_delete: {
|
7873
8147
|
parameters: {
|
7874
8148
|
query?: never;
|