@vertikalx/vtx-backend-client 1.0.0-dev-daniel.27 → 1.0.0-dev-daniel.29
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/package.json +1 -1
- package/src/client/runtime/createClient.d.ts +4 -10
- package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
- package/src/client/schema.d.ts +132 -2
- package/src/client/schema.graphql +66 -1
- package/src/client/schema.js +22 -1
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +79 -1
- package/src/client/types.js +236 -33
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -10,14 +10,8 @@ export type ClientOptions = Omit<RequestInit, 'body' | 'headers'> & {
|
|
|
10
10
|
fetch?: Function;
|
|
11
11
|
headers?: Headers;
|
|
12
12
|
};
|
|
13
|
-
export declare const createClient: ({ queryRoot, mutationRoot, subscriptionRoot, ...options }:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fetch?: Function | undefined;
|
|
18
|
-
headers?: Headers | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
queryRoot?: LinkedType | undefined;
|
|
21
|
-
mutationRoot?: LinkedType | undefined;
|
|
22
|
-
subscriptionRoot?: LinkedType | undefined;
|
|
13
|
+
export declare const createClient: ({ queryRoot, mutationRoot, subscriptionRoot, ...options }: ClientOptions & {
|
|
14
|
+
queryRoot?: LinkedType;
|
|
15
|
+
mutationRoot?: LinkedType;
|
|
16
|
+
subscriptionRoot?: LinkedType;
|
|
23
17
|
}) => any;
|
|
@@ -26,5 +26,5 @@ export interface GraphqlOperation {
|
|
|
26
26
|
};
|
|
27
27
|
operationName?: string;
|
|
28
28
|
}
|
|
29
|
-
export declare const generateGraphqlOperation: (operation:
|
|
29
|
+
export declare const generateGraphqlOperation: (operation: "query" | "mutation" | "subscription", root: LinkedType, fields?: Fields) => GraphqlOperation;
|
|
30
30
|
export declare const getFieldFromPath: (root: LinkedType | undefined, path: string[]) => LinkedField;
|
package/src/client/schema.d.ts
CHANGED
|
@@ -201,16 +201,37 @@ export interface SubscriptionPayment {
|
|
|
201
201
|
subscriber: PlanSubscription;
|
|
202
202
|
__typename: 'SubscriptionPayment';
|
|
203
203
|
}
|
|
204
|
+
export interface AWSS3File {
|
|
205
|
+
_id: Scalars['String'];
|
|
206
|
+
name: (Scalars['String'] | null);
|
|
207
|
+
contentType: (Scalars['String'] | null);
|
|
208
|
+
size: (Scalars['Float'] | null);
|
|
209
|
+
useType: (Scalars['String'] | null);
|
|
210
|
+
url: Scalars['String'];
|
|
211
|
+
key: Scalars['String'];
|
|
212
|
+
pendingDelete: Scalars['Boolean'];
|
|
213
|
+
__typename: 'AWSS3File';
|
|
214
|
+
}
|
|
204
215
|
export interface HttpRequestField {
|
|
205
216
|
key: Scalars['String'];
|
|
206
217
|
value: Scalars['String'];
|
|
207
218
|
__typename: 'HttpRequestField';
|
|
208
219
|
}
|
|
209
220
|
export interface AWSS3UploadUrl {
|
|
210
|
-
|
|
221
|
+
uploadUrl: Scalars['String'];
|
|
211
222
|
fields: HttpRequestField[];
|
|
223
|
+
downloadUrl: Scalars['String'];
|
|
224
|
+
bucket: Scalars['String'];
|
|
225
|
+
key: Scalars['String'];
|
|
212
226
|
__typename: 'AWSS3UploadUrl';
|
|
213
227
|
}
|
|
228
|
+
export interface AWSS3CallResult {
|
|
229
|
+
httpStatus: Scalars['Float'];
|
|
230
|
+
result: Scalars['String'];
|
|
231
|
+
message: Scalars['String'];
|
|
232
|
+
errors: (Scalars['String'][] | null);
|
|
233
|
+
__typename: 'AWSS3CallResult';
|
|
234
|
+
}
|
|
214
235
|
export interface BrandStatsType {
|
|
215
236
|
campaigns: (Scalars['Float'] | null);
|
|
216
237
|
sponsorships: (Scalars['Float'] | null);
|
|
@@ -259,6 +280,11 @@ export interface Athlete {
|
|
|
259
280
|
nationalityIso2: (Scalars['String'] | null);
|
|
260
281
|
__typename: 'Athlete';
|
|
261
282
|
}
|
|
283
|
+
export interface Sport {
|
|
284
|
+
_id: Scalars['String'];
|
|
285
|
+
name: Scalars['String'];
|
|
286
|
+
__typename: 'Sport';
|
|
287
|
+
}
|
|
262
288
|
export interface Query {
|
|
263
289
|
tenant: Tenant;
|
|
264
290
|
tenantByEmail: Tenant;
|
|
@@ -277,6 +303,8 @@ export interface Query {
|
|
|
277
303
|
sponsors: Sponsor[];
|
|
278
304
|
athlete: Athlete[];
|
|
279
305
|
findAthleteById: Athlete;
|
|
306
|
+
sports: Sport[];
|
|
307
|
+
findSportById: Sport;
|
|
280
308
|
__typename: 'Query';
|
|
281
309
|
}
|
|
282
310
|
export interface Mutation {
|
|
@@ -288,11 +316,16 @@ export interface Mutation {
|
|
|
288
316
|
createTenantUserTokenFromEmailAndUri: TenantUserTokenWithInfo;
|
|
289
317
|
createNonTenantedUserWithLogin: UserWithToken;
|
|
290
318
|
createNonTenantUserTokenFromEmail: UserToken;
|
|
319
|
+
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
320
|
+
deleteUploadedBucketFile: AWSS3CallResult;
|
|
321
|
+
registerS3UploadedFile: AWSS3File;
|
|
291
322
|
createIndustry: Industry;
|
|
292
323
|
createBrand: Brand;
|
|
293
324
|
registerSponsor: Sponsor;
|
|
294
325
|
createSponsor: Sponsor;
|
|
295
326
|
registerAthlete: Athlete;
|
|
327
|
+
createSport: Sport;
|
|
328
|
+
updateSport: Sport;
|
|
296
329
|
__typename: 'Mutation';
|
|
297
330
|
}
|
|
298
331
|
export interface ApiKeyGenqlSelection {
|
|
@@ -513,6 +546,18 @@ export interface SubscriptionPaymentGenqlSelection {
|
|
|
513
546
|
__typename?: boolean | number;
|
|
514
547
|
__scalar?: boolean | number;
|
|
515
548
|
}
|
|
549
|
+
export interface AWSS3FileGenqlSelection {
|
|
550
|
+
_id?: boolean | number;
|
|
551
|
+
name?: boolean | number;
|
|
552
|
+
contentType?: boolean | number;
|
|
553
|
+
size?: boolean | number;
|
|
554
|
+
useType?: boolean | number;
|
|
555
|
+
url?: boolean | number;
|
|
556
|
+
key?: boolean | number;
|
|
557
|
+
pendingDelete?: boolean | number;
|
|
558
|
+
__typename?: boolean | number;
|
|
559
|
+
__scalar?: boolean | number;
|
|
560
|
+
}
|
|
516
561
|
export interface HttpRequestFieldGenqlSelection {
|
|
517
562
|
key?: boolean | number;
|
|
518
563
|
value?: boolean | number;
|
|
@@ -520,8 +565,19 @@ export interface HttpRequestFieldGenqlSelection {
|
|
|
520
565
|
__scalar?: boolean | number;
|
|
521
566
|
}
|
|
522
567
|
export interface AWSS3UploadUrlGenqlSelection {
|
|
523
|
-
|
|
568
|
+
uploadUrl?: boolean | number;
|
|
524
569
|
fields?: HttpRequestFieldGenqlSelection;
|
|
570
|
+
downloadUrl?: boolean | number;
|
|
571
|
+
bucket?: boolean | number;
|
|
572
|
+
key?: boolean | number;
|
|
573
|
+
__typename?: boolean | number;
|
|
574
|
+
__scalar?: boolean | number;
|
|
575
|
+
}
|
|
576
|
+
export interface AWSS3CallResultGenqlSelection {
|
|
577
|
+
httpStatus?: boolean | number;
|
|
578
|
+
result?: boolean | number;
|
|
579
|
+
message?: boolean | number;
|
|
580
|
+
errors?: boolean | number;
|
|
525
581
|
__typename?: boolean | number;
|
|
526
582
|
__scalar?: boolean | number;
|
|
527
583
|
}
|
|
@@ -579,6 +635,12 @@ export interface AthleteGenqlSelection {
|
|
|
579
635
|
__typename?: boolean | number;
|
|
580
636
|
__scalar?: boolean | number;
|
|
581
637
|
}
|
|
638
|
+
export interface SportGenqlSelection {
|
|
639
|
+
_id?: boolean | number;
|
|
640
|
+
name?: boolean | number;
|
|
641
|
+
__typename?: boolean | number;
|
|
642
|
+
__scalar?: boolean | number;
|
|
643
|
+
}
|
|
582
644
|
export interface QueryGenqlSelection {
|
|
583
645
|
tenant?: (TenantGenqlSelection & {
|
|
584
646
|
__args: {
|
|
@@ -643,6 +705,12 @@ export interface QueryGenqlSelection {
|
|
|
643
705
|
athleteId: Scalars['String'];
|
|
644
706
|
};
|
|
645
707
|
});
|
|
708
|
+
sports?: SportGenqlSelection;
|
|
709
|
+
findSportById?: (SportGenqlSelection & {
|
|
710
|
+
__args: {
|
|
711
|
+
sportId: Scalars['String'];
|
|
712
|
+
};
|
|
713
|
+
});
|
|
646
714
|
__typename?: boolean | number;
|
|
647
715
|
__scalar?: boolean | number;
|
|
648
716
|
}
|
|
@@ -691,6 +759,21 @@ export interface MutationGenqlSelection {
|
|
|
691
759
|
email: Scalars['String'];
|
|
692
760
|
};
|
|
693
761
|
});
|
|
762
|
+
deleteUploadedUseTypeFile?: (AWSS3CallResultGenqlSelection & {
|
|
763
|
+
__args: {
|
|
764
|
+
input: AWSS3DeleteUseTypeFileDto;
|
|
765
|
+
};
|
|
766
|
+
});
|
|
767
|
+
deleteUploadedBucketFile?: (AWSS3CallResultGenqlSelection & {
|
|
768
|
+
__args: {
|
|
769
|
+
input: AWSS3DeleteBucketFileDto;
|
|
770
|
+
};
|
|
771
|
+
});
|
|
772
|
+
registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
|
|
773
|
+
__args: {
|
|
774
|
+
input: AWSS3UploadedFileDto;
|
|
775
|
+
};
|
|
776
|
+
});
|
|
694
777
|
createIndustry?: (IndustryGenqlSelection & {
|
|
695
778
|
__args: {
|
|
696
779
|
input: CreateIndustryDto;
|
|
@@ -716,6 +799,17 @@ export interface MutationGenqlSelection {
|
|
|
716
799
|
input: RegisterAthleteDto;
|
|
717
800
|
};
|
|
718
801
|
});
|
|
802
|
+
createSport?: (SportGenqlSelection & {
|
|
803
|
+
__args: {
|
|
804
|
+
input: CreateSportDto;
|
|
805
|
+
};
|
|
806
|
+
});
|
|
807
|
+
updateSport?: (SportGenqlSelection & {
|
|
808
|
+
__args: {
|
|
809
|
+
sportId: Scalars['String'];
|
|
810
|
+
input: UpdateSportDto;
|
|
811
|
+
};
|
|
812
|
+
});
|
|
719
813
|
__typename?: boolean | number;
|
|
720
814
|
__scalar?: boolean | number;
|
|
721
815
|
}
|
|
@@ -741,6 +835,23 @@ export interface CreateActiveUserInput {
|
|
|
741
835
|
loginEmail: Scalars['String'];
|
|
742
836
|
password?: (Scalars['String'] | null);
|
|
743
837
|
}
|
|
838
|
+
export interface AWSS3DeleteUseTypeFileDto {
|
|
839
|
+
name: Scalars['String'];
|
|
840
|
+
useType: Scalars['String'];
|
|
841
|
+
}
|
|
842
|
+
export interface AWSS3DeleteBucketFileDto {
|
|
843
|
+
key: Scalars['String'];
|
|
844
|
+
bucket: Scalars['String'];
|
|
845
|
+
credentialsId?: (Scalars['String'] | null);
|
|
846
|
+
}
|
|
847
|
+
export interface AWSS3UploadedFileDto {
|
|
848
|
+
key: Scalars['String'];
|
|
849
|
+
useType: Scalars['String'];
|
|
850
|
+
downloadUrl: Scalars['String'];
|
|
851
|
+
contentType: Scalars['String'];
|
|
852
|
+
originalFileName?: (Scalars['String'] | null);
|
|
853
|
+
fileSize?: (Scalars['Float'] | null);
|
|
854
|
+
}
|
|
744
855
|
export interface CreateIndustryDto {
|
|
745
856
|
name: Scalars['String'];
|
|
746
857
|
}
|
|
@@ -749,6 +860,8 @@ export interface CreateBrandDto {
|
|
|
749
860
|
description?: (Scalars['String'] | null);
|
|
750
861
|
slogan?: (Scalars['String'] | null);
|
|
751
862
|
website?: (Scalars['String'] | null);
|
|
863
|
+
logo?: (AWSS3UploadedFileDto | null);
|
|
864
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
752
865
|
translations?: (BrandTranslationDto[] | null);
|
|
753
866
|
}
|
|
754
867
|
export interface BrandTranslationDto {
|
|
@@ -757,6 +870,8 @@ export interface BrandTranslationDto {
|
|
|
757
870
|
name?: (Scalars['String'] | null);
|
|
758
871
|
description?: (Scalars['String'] | null);
|
|
759
872
|
slogan?: (Scalars['String'] | null);
|
|
873
|
+
logo?: (AWSS3UploadedFileDto | null);
|
|
874
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
760
875
|
}
|
|
761
876
|
export interface RegisterSponsorInput {
|
|
762
877
|
name: Scalars['String'];
|
|
@@ -787,6 +902,12 @@ export interface RegisterAthleteDto {
|
|
|
787
902
|
gender: Scalars['String'];
|
|
788
903
|
mainSport: Scalars['String'];
|
|
789
904
|
}
|
|
905
|
+
export interface CreateSportDto {
|
|
906
|
+
name: Scalars['String'];
|
|
907
|
+
}
|
|
908
|
+
export interface UpdateSportDto {
|
|
909
|
+
name: Scalars['String'];
|
|
910
|
+
}
|
|
790
911
|
export declare const isApiKey: (obj?: {
|
|
791
912
|
__typename?: any;
|
|
792
913
|
} | null) => obj is ApiKey;
|
|
@@ -850,12 +971,18 @@ export declare const isPlanSubscription: (obj?: {
|
|
|
850
971
|
export declare const isSubscriptionPayment: (obj?: {
|
|
851
972
|
__typename?: any;
|
|
852
973
|
} | null) => obj is SubscriptionPayment;
|
|
974
|
+
export declare const isAWSS3File: (obj?: {
|
|
975
|
+
__typename?: any;
|
|
976
|
+
} | null) => obj is AWSS3File;
|
|
853
977
|
export declare const isHttpRequestField: (obj?: {
|
|
854
978
|
__typename?: any;
|
|
855
979
|
} | null) => obj is HttpRequestField;
|
|
856
980
|
export declare const isAWSS3UploadUrl: (obj?: {
|
|
857
981
|
__typename?: any;
|
|
858
982
|
} | null) => obj is AWSS3UploadUrl;
|
|
983
|
+
export declare const isAWSS3CallResult: (obj?: {
|
|
984
|
+
__typename?: any;
|
|
985
|
+
} | null) => obj is AWSS3CallResult;
|
|
859
986
|
export declare const isBrandStatsType: (obj?: {
|
|
860
987
|
__typename?: any;
|
|
861
988
|
} | null) => obj is BrandStatsType;
|
|
@@ -874,6 +1001,9 @@ export declare const isIndustry: (obj?: {
|
|
|
874
1001
|
export declare const isAthlete: (obj?: {
|
|
875
1002
|
__typename?: any;
|
|
876
1003
|
} | null) => obj is Athlete;
|
|
1004
|
+
export declare const isSport: (obj?: {
|
|
1005
|
+
__typename?: any;
|
|
1006
|
+
} | null) => obj is Sport;
|
|
877
1007
|
export declare const isQuery: (obj?: {
|
|
878
1008
|
__typename?: any;
|
|
879
1009
|
} | null) => obj is Query;
|
|
@@ -200,14 +200,35 @@ type SubscriptionPayment {
|
|
|
200
200
|
subscriber: PlanSubscription!
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
type AWSS3File {
|
|
204
|
+
_id: String!
|
|
205
|
+
name: String
|
|
206
|
+
contentType: String
|
|
207
|
+
size: Float
|
|
208
|
+
useType: String
|
|
209
|
+
url: String!
|
|
210
|
+
key: String!
|
|
211
|
+
pendingDelete: Boolean!
|
|
212
|
+
}
|
|
213
|
+
|
|
203
214
|
type HttpRequestField {
|
|
204
215
|
key: String!
|
|
205
216
|
value: String!
|
|
206
217
|
}
|
|
207
218
|
|
|
208
219
|
type AWSS3UploadUrl {
|
|
209
|
-
|
|
220
|
+
uploadUrl: String!
|
|
210
221
|
fields: [HttpRequestField!]!
|
|
222
|
+
downloadUrl: String!
|
|
223
|
+
bucket: String!
|
|
224
|
+
key: String!
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
type AWSS3CallResult {
|
|
228
|
+
httpStatus: Float!
|
|
229
|
+
result: String!
|
|
230
|
+
message: String!
|
|
231
|
+
errors: [String!]
|
|
211
232
|
}
|
|
212
233
|
|
|
213
234
|
type BrandStatsType {
|
|
@@ -258,6 +279,11 @@ type Athlete {
|
|
|
258
279
|
nationalityIso2: String
|
|
259
280
|
}
|
|
260
281
|
|
|
282
|
+
type Sport {
|
|
283
|
+
_id: String!
|
|
284
|
+
name: String!
|
|
285
|
+
}
|
|
286
|
+
|
|
261
287
|
type Query {
|
|
262
288
|
tenant(_id: String!): Tenant!
|
|
263
289
|
tenantByEmail(email: String!): Tenant!
|
|
@@ -276,6 +302,8 @@ type Query {
|
|
|
276
302
|
sponsors: [Sponsor!]!
|
|
277
303
|
athlete: [Athlete!]!
|
|
278
304
|
findAthleteById(athleteId: String!): Athlete!
|
|
305
|
+
sports: [Sport!]!
|
|
306
|
+
findSportById(sportId: String!): Sport!
|
|
279
307
|
}
|
|
280
308
|
|
|
281
309
|
input AWSS3GetUploadDto {
|
|
@@ -292,11 +320,16 @@ type Mutation {
|
|
|
292
320
|
createTenantUserTokenFromEmailAndUri(requestTokenInfoDto: CreateTenantUserTokenFromEmailAndUriDto!): TenantUserTokenWithInfo!
|
|
293
321
|
createNonTenantedUserWithLogin(user: CreateActiveUserInput!): UserWithToken!
|
|
294
322
|
createNonTenantUserTokenFromEmail(email: String!): UserToken!
|
|
323
|
+
deleteUploadedUseTypeFile(input: AWSS3DeleteUseTypeFileDto!): AWSS3CallResult!
|
|
324
|
+
deleteUploadedBucketFile(input: AWSS3DeleteBucketFileDto!): AWSS3CallResult!
|
|
325
|
+
registerS3UploadedFile(input: AWSS3UploadedFileDto!): AWSS3File!
|
|
295
326
|
createIndustry(input: CreateIndustryDto!): Industry!
|
|
296
327
|
createBrand(input: CreateBrandDto!): Brand!
|
|
297
328
|
registerSponsor(input: RegisterSponsorInput!): Sponsor!
|
|
298
329
|
createSponsor(input: CreateSponsorDto!): Sponsor!
|
|
299
330
|
registerAthlete(input: RegisterAthleteDto!): Athlete!
|
|
331
|
+
createSport(input: CreateSportDto!): Sport!
|
|
332
|
+
updateSport(sportId: String!, input: UpdateSportDto!): Sport!
|
|
300
333
|
}
|
|
301
334
|
|
|
302
335
|
input CreateTenantInput {
|
|
@@ -326,6 +359,26 @@ input CreateActiveUserInput {
|
|
|
326
359
|
password: String
|
|
327
360
|
}
|
|
328
361
|
|
|
362
|
+
input AWSS3DeleteUseTypeFileDto {
|
|
363
|
+
name: String!
|
|
364
|
+
useType: String!
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
input AWSS3DeleteBucketFileDto {
|
|
368
|
+
key: String!
|
|
369
|
+
bucket: String!
|
|
370
|
+
credentialsId: String
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
input AWSS3UploadedFileDto {
|
|
374
|
+
key: String!
|
|
375
|
+
useType: String!
|
|
376
|
+
downloadUrl: String!
|
|
377
|
+
contentType: String!
|
|
378
|
+
originalFileName: String
|
|
379
|
+
fileSize: Float
|
|
380
|
+
}
|
|
381
|
+
|
|
329
382
|
input CreateIndustryDto {
|
|
330
383
|
name: String!
|
|
331
384
|
}
|
|
@@ -335,6 +388,8 @@ input CreateBrandDto {
|
|
|
335
388
|
description: String
|
|
336
389
|
slogan: String
|
|
337
390
|
website: String
|
|
391
|
+
logo: AWSS3UploadedFileDto
|
|
392
|
+
banner: AWSS3UploadedFileDto
|
|
338
393
|
translations: [BrandTranslationDto!]
|
|
339
394
|
}
|
|
340
395
|
|
|
@@ -344,6 +399,8 @@ input BrandTranslationDto {
|
|
|
344
399
|
name: String
|
|
345
400
|
description: String
|
|
346
401
|
slogan: String
|
|
402
|
+
logo: AWSS3UploadedFileDto
|
|
403
|
+
banner: AWSS3UploadedFileDto
|
|
347
404
|
}
|
|
348
405
|
|
|
349
406
|
input RegisterSponsorInput {
|
|
@@ -376,4 +433,12 @@ input RegisterAthleteDto {
|
|
|
376
433
|
team: String
|
|
377
434
|
gender: String!
|
|
378
435
|
mainSport: String!
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
input CreateSportDto {
|
|
439
|
+
name: String!
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
input UpdateSportDto {
|
|
443
|
+
name: String!
|
|
379
444
|
}
|
package/src/client/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isMutation = exports.isQuery = exports.isAthlete = exports.isIndustry = exports.isSponsor = exports.isBrand = exports.isBrandTranslation = exports.isBrandStatsType = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isTenantUserTokenWithInfo = exports.isTenantWithUserLogin = exports.isUriAvailableType = exports.isTenant = exports.isUserWithToken = exports.isUser = exports.isDomain = exports.isUserToken = exports.isApiKeyWithValue = exports.isApiKey = void 0;
|
|
3
|
+
exports.isMutation = exports.isQuery = exports.isSport = exports.isAthlete = exports.isIndustry = exports.isSponsor = exports.isBrand = exports.isBrandTranslation = exports.isBrandStatsType = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isTenantUserTokenWithInfo = exports.isTenantWithUserLogin = exports.isUriAvailableType = exports.isTenant = exports.isUserWithToken = exports.isUser = exports.isDomain = exports.isUserToken = exports.isApiKeyWithValue = exports.isApiKey = void 0;
|
|
4
4
|
const ApiKey_possibleTypes = ['ApiKey'];
|
|
5
5
|
const isApiKey = (obj) => {
|
|
6
6
|
if (!obj?.__typename)
|
|
@@ -148,6 +148,13 @@ const isSubscriptionPayment = (obj) => {
|
|
|
148
148
|
return SubscriptionPayment_possibleTypes.includes(obj.__typename);
|
|
149
149
|
};
|
|
150
150
|
exports.isSubscriptionPayment = isSubscriptionPayment;
|
|
151
|
+
const AWSS3File_possibleTypes = ['AWSS3File'];
|
|
152
|
+
const isAWSS3File = (obj) => {
|
|
153
|
+
if (!obj?.__typename)
|
|
154
|
+
throw new Error('__typename is missing in "isAWSS3File"');
|
|
155
|
+
return AWSS3File_possibleTypes.includes(obj.__typename);
|
|
156
|
+
};
|
|
157
|
+
exports.isAWSS3File = isAWSS3File;
|
|
151
158
|
const HttpRequestField_possibleTypes = ['HttpRequestField'];
|
|
152
159
|
const isHttpRequestField = (obj) => {
|
|
153
160
|
if (!obj?.__typename)
|
|
@@ -162,6 +169,13 @@ const isAWSS3UploadUrl = (obj) => {
|
|
|
162
169
|
return AWSS3UploadUrl_possibleTypes.includes(obj.__typename);
|
|
163
170
|
};
|
|
164
171
|
exports.isAWSS3UploadUrl = isAWSS3UploadUrl;
|
|
172
|
+
const AWSS3CallResult_possibleTypes = ['AWSS3CallResult'];
|
|
173
|
+
const isAWSS3CallResult = (obj) => {
|
|
174
|
+
if (!obj?.__typename)
|
|
175
|
+
throw new Error('__typename is missing in "isAWSS3CallResult"');
|
|
176
|
+
return AWSS3CallResult_possibleTypes.includes(obj.__typename);
|
|
177
|
+
};
|
|
178
|
+
exports.isAWSS3CallResult = isAWSS3CallResult;
|
|
165
179
|
const BrandStatsType_possibleTypes = ['BrandStatsType'];
|
|
166
180
|
const isBrandStatsType = (obj) => {
|
|
167
181
|
if (!obj?.__typename)
|
|
@@ -204,6 +218,13 @@ const isAthlete = (obj) => {
|
|
|
204
218
|
return Athlete_possibleTypes.includes(obj.__typename);
|
|
205
219
|
};
|
|
206
220
|
exports.isAthlete = isAthlete;
|
|
221
|
+
const Sport_possibleTypes = ['Sport'];
|
|
222
|
+
const isSport = (obj) => {
|
|
223
|
+
if (!obj?.__typename)
|
|
224
|
+
throw new Error('__typename is missing in "isSport"');
|
|
225
|
+
return Sport_possibleTypes.includes(obj.__typename);
|
|
226
|
+
};
|
|
227
|
+
exports.isSport = isSport;
|
|
207
228
|
const Query_possibleTypes = ['Query'];
|
|
208
229
|
const isQuery = (obj) => {
|
|
209
230
|
if (!obj?.__typename)
|
package/src/client/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/vtx-backend-client/src/client/schema.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/vtx-backend-client/src/client/schema.ts"],"names":[],"mappings":";;;AA6xBI,MAAM,oBAAoB,GAAa,CAAC,QAAQ,CAAC,CAAA;AAC1C,MAAM,QAAQ,GAAG,CAAC,GAAiC,EAAiB,EAAE;IAC3E,IAAI,CAAC,GAA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AC,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;AACrD,CAAC,CAAA;AAHY,QAAA,OAAO,WAGnB;AAID,MAAM,sBAAsB,GAAa,CAAC,UAAU,CAAC,CAAA;AAC9C,MAAM,UAAU,GAAG,CAAC,GAAiC,EAAmB,EAAE;IAC/E,IAAI,CAAC,GAAG,EAAE,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;IAC9E,OAAO,sBAAsB,CAAC,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;AACxD,CAAC,CAAA;AAHY,QAAA,UAAU,cAGtB"}
|
package/src/client/types.d.ts
CHANGED
|
@@ -202,14 +202,35 @@ declare const _default: {
|
|
|
202
202
|
subscriber: number[];
|
|
203
203
|
__typename: number[];
|
|
204
204
|
};
|
|
205
|
+
AWSS3File: {
|
|
206
|
+
_id: number[];
|
|
207
|
+
name: number[];
|
|
208
|
+
contentType: number[];
|
|
209
|
+
size: number[];
|
|
210
|
+
useType: number[];
|
|
211
|
+
url: number[];
|
|
212
|
+
key: number[];
|
|
213
|
+
pendingDelete: number[];
|
|
214
|
+
__typename: number[];
|
|
215
|
+
};
|
|
205
216
|
HttpRequestField: {
|
|
206
217
|
key: number[];
|
|
207
218
|
value: number[];
|
|
208
219
|
__typename: number[];
|
|
209
220
|
};
|
|
210
221
|
AWSS3UploadUrl: {
|
|
211
|
-
|
|
222
|
+
uploadUrl: number[];
|
|
212
223
|
fields: number[];
|
|
224
|
+
downloadUrl: number[];
|
|
225
|
+
bucket: number[];
|
|
226
|
+
key: number[];
|
|
227
|
+
__typename: number[];
|
|
228
|
+
};
|
|
229
|
+
AWSS3CallResult: {
|
|
230
|
+
httpStatus: number[];
|
|
231
|
+
result: number[];
|
|
232
|
+
message: number[];
|
|
233
|
+
errors: number[];
|
|
213
234
|
__typename: number[];
|
|
214
235
|
};
|
|
215
236
|
BrandStatsType: {
|
|
@@ -260,6 +281,11 @@ declare const _default: {
|
|
|
260
281
|
nationalityIso2: number[];
|
|
261
282
|
__typename: number[];
|
|
262
283
|
};
|
|
284
|
+
Sport: {
|
|
285
|
+
_id: number[];
|
|
286
|
+
name: number[];
|
|
287
|
+
__typename: number[];
|
|
288
|
+
};
|
|
263
289
|
Query: {
|
|
264
290
|
tenant: (number | {
|
|
265
291
|
_id: (string | number)[];
|
|
@@ -302,6 +328,10 @@ declare const _default: {
|
|
|
302
328
|
findAthleteById: (number | {
|
|
303
329
|
athleteId: (string | number)[];
|
|
304
330
|
})[];
|
|
331
|
+
sports: number[];
|
|
332
|
+
findSportById: (number | {
|
|
333
|
+
sportId: (string | number)[];
|
|
334
|
+
})[];
|
|
305
335
|
__typename: number[];
|
|
306
336
|
};
|
|
307
337
|
AWSS3GetUploadDto: {
|
|
@@ -334,6 +364,15 @@ declare const _default: {
|
|
|
334
364
|
createNonTenantUserTokenFromEmail: (number | {
|
|
335
365
|
email: (string | number)[];
|
|
336
366
|
})[];
|
|
367
|
+
deleteUploadedUseTypeFile: (number | {
|
|
368
|
+
input: (string | number)[];
|
|
369
|
+
})[];
|
|
370
|
+
deleteUploadedBucketFile: (number | {
|
|
371
|
+
input: (string | number)[];
|
|
372
|
+
})[];
|
|
373
|
+
registerS3UploadedFile: (number | {
|
|
374
|
+
input: (string | number)[];
|
|
375
|
+
})[];
|
|
337
376
|
createIndustry: (number | {
|
|
338
377
|
input: (string | number)[];
|
|
339
378
|
})[];
|
|
@@ -349,6 +388,13 @@ declare const _default: {
|
|
|
349
388
|
registerAthlete: (number | {
|
|
350
389
|
input: (string | number)[];
|
|
351
390
|
})[];
|
|
391
|
+
createSport: (number | {
|
|
392
|
+
input: (string | number)[];
|
|
393
|
+
})[];
|
|
394
|
+
updateSport: (number | {
|
|
395
|
+
sportId: (string | number)[];
|
|
396
|
+
input: (string | number)[];
|
|
397
|
+
})[];
|
|
352
398
|
__typename: number[];
|
|
353
399
|
};
|
|
354
400
|
CreateTenantInput: {
|
|
@@ -378,6 +424,26 @@ declare const _default: {
|
|
|
378
424
|
password: number[];
|
|
379
425
|
__typename: number[];
|
|
380
426
|
};
|
|
427
|
+
AWSS3DeleteUseTypeFileDto: {
|
|
428
|
+
name: number[];
|
|
429
|
+
useType: number[];
|
|
430
|
+
__typename: number[];
|
|
431
|
+
};
|
|
432
|
+
AWSS3DeleteBucketFileDto: {
|
|
433
|
+
key: number[];
|
|
434
|
+
bucket: number[];
|
|
435
|
+
credentialsId: number[];
|
|
436
|
+
__typename: number[];
|
|
437
|
+
};
|
|
438
|
+
AWSS3UploadedFileDto: {
|
|
439
|
+
key: number[];
|
|
440
|
+
useType: number[];
|
|
441
|
+
downloadUrl: number[];
|
|
442
|
+
contentType: number[];
|
|
443
|
+
originalFileName: number[];
|
|
444
|
+
fileSize: number[];
|
|
445
|
+
__typename: number[];
|
|
446
|
+
};
|
|
381
447
|
CreateIndustryDto: {
|
|
382
448
|
name: number[];
|
|
383
449
|
__typename: number[];
|
|
@@ -387,6 +453,8 @@ declare const _default: {
|
|
|
387
453
|
description: number[];
|
|
388
454
|
slogan: number[];
|
|
389
455
|
website: number[];
|
|
456
|
+
logo: number[];
|
|
457
|
+
banner: number[];
|
|
390
458
|
translations: number[];
|
|
391
459
|
__typename: number[];
|
|
392
460
|
};
|
|
@@ -396,6 +464,8 @@ declare const _default: {
|
|
|
396
464
|
name: number[];
|
|
397
465
|
description: number[];
|
|
398
466
|
slogan: number[];
|
|
467
|
+
logo: number[];
|
|
468
|
+
banner: number[];
|
|
399
469
|
__typename: number[];
|
|
400
470
|
};
|
|
401
471
|
RegisterSponsorInput: {
|
|
@@ -430,6 +500,14 @@ declare const _default: {
|
|
|
430
500
|
mainSport: number[];
|
|
431
501
|
__typename: number[];
|
|
432
502
|
};
|
|
503
|
+
CreateSportDto: {
|
|
504
|
+
name: number[];
|
|
505
|
+
__typename: number[];
|
|
506
|
+
};
|
|
507
|
+
UpdateSportDto: {
|
|
508
|
+
name: number[];
|
|
509
|
+
__typename: number[];
|
|
510
|
+
};
|
|
433
511
|
};
|
|
434
512
|
};
|
|
435
513
|
export default _default;
|