@vertikalx/vtx-backend-client 1.0.0-dev.3 → 1.0.0-dev.30

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 (95) hide show
  1. package/package.json +3 -2
  2. package/src/api/api-call-headers.d.ts +16 -0
  3. package/src/api/api-call-headers.js +20 -0
  4. package/src/api/api-call-headers.js.map +1 -0
  5. package/src/api/backend-response.d.ts +4 -0
  6. package/src/api/backend-response.js +3 -0
  7. package/src/api/backend-response.js.map +1 -0
  8. package/src/api/response-builder.d.ts +4 -0
  9. package/src/api/response-builder.js +63 -0
  10. package/src/api/response-builder.js.map +1 -0
  11. package/src/api/vtx-apikey-api.d.ts +6 -0
  12. package/src/api/vtx-apikey-api.js +19 -0
  13. package/src/api/vtx-apikey-api.js.map +1 -0
  14. package/src/api/vtx-base-api.d.ts +23 -0
  15. package/src/api/vtx-base-api.js +753 -0
  16. package/src/api/vtx-base-api.js.map +1 -0
  17. package/src/api/vtx-mobile-api.d.ts +6 -0
  18. package/src/api/vtx-mobile-api.js +27 -0
  19. package/src/api/vtx-mobile-api.js.map +1 -0
  20. package/src/api/vtx-web-browser-api.d.ts +7 -0
  21. package/src/api/vtx-web-browser-api.js +36 -0
  22. package/src/api/vtx-web-browser-api.js.map +1 -0
  23. package/src/api/vtx-web-server-api.d.ts +7 -0
  24. package/src/api/vtx-web-server-api.js +33 -0
  25. package/src/api/vtx-web-server-api.js.map +1 -0
  26. package/src/client/index.js.map +1 -0
  27. package/src/client/runtime/batcher.js.map +1 -0
  28. package/{runtime → src/client/runtime}/createClient.d.ts +4 -10
  29. package/src/client/runtime/createClient.js.map +1 -0
  30. package/src/client/runtime/error.js.map +1 -0
  31. package/src/client/runtime/fetcher.js.map +1 -0
  32. package/{runtime → src/client/runtime}/generateGraphqlOperation.d.ts +1 -1
  33. package/src/client/runtime/generateGraphqlOperation.js.map +1 -0
  34. package/src/client/runtime/index.js.map +1 -0
  35. package/src/client/runtime/linkTypeMap.js.map +1 -0
  36. package/src/client/runtime/typeSelection.js.map +1 -0
  37. package/src/client/runtime/types.js.map +1 -0
  38. package/src/client/schema.d.ts +1678 -0
  39. package/src/client/schema.graphql +793 -0
  40. package/src/client/schema.js +404 -0
  41. package/src/client/schema.js.map +1 -0
  42. package/src/client/types.d.ts +876 -0
  43. package/src/client/types.js +2250 -0
  44. package/src/client/types.js.map +1 -0
  45. package/src/index.d.ts +9 -0
  46. package/src/index.js +26 -0
  47. package/src/index.js.map +1 -0
  48. package/tsconfig.lib.tsbuildinfo +1 -1
  49. package/index.js.map +0 -1
  50. package/index.ts +0 -65
  51. package/runtime/batcher.js.map +0 -1
  52. package/runtime/batcher.ts +0 -275
  53. package/runtime/createClient.js.map +0 -1
  54. package/runtime/createClient.ts +0 -68
  55. package/runtime/error.js.map +0 -1
  56. package/runtime/error.ts +0 -29
  57. package/runtime/fetcher.js.map +0 -1
  58. package/runtime/fetcher.ts +0 -97
  59. package/runtime/generateGraphqlOperation.js.map +0 -1
  60. package/runtime/generateGraphqlOperation.ts +0 -225
  61. package/runtime/index.js.map +0 -1
  62. package/runtime/index.ts +0 -13
  63. package/runtime/linkTypeMap.js.map +0 -1
  64. package/runtime/linkTypeMap.ts +0 -156
  65. package/runtime/typeSelection.js.map +0 -1
  66. package/runtime/typeSelection.ts +0 -95
  67. package/runtime/types.js.map +0 -1
  68. package/runtime/types.ts +0 -69
  69. package/schema.d.ts +0 -704
  70. package/schema.graphql +0 -293
  71. package/schema.js +0 -186
  72. package/schema.js.map +0 -1
  73. package/schema.ts +0 -795
  74. package/types.d.ts +0 -335
  75. package/types.js +0 -856
  76. package/types.js.map +0 -1
  77. package/types.ts +0 -853
  78. /package/{index.d.ts → src/client/index.d.ts} +0 -0
  79. /package/{index.js → src/client/index.js} +0 -0
  80. /package/{runtime → src/client/runtime}/batcher.d.ts +0 -0
  81. /package/{runtime → src/client/runtime}/batcher.js +0 -0
  82. /package/{runtime → src/client/runtime}/createClient.js +0 -0
  83. /package/{runtime → src/client/runtime}/error.d.ts +0 -0
  84. /package/{runtime → src/client/runtime}/error.js +0 -0
  85. /package/{runtime → src/client/runtime}/fetcher.d.ts +0 -0
  86. /package/{runtime → src/client/runtime}/fetcher.js +0 -0
  87. /package/{runtime → src/client/runtime}/generateGraphqlOperation.js +0 -0
  88. /package/{runtime → src/client/runtime}/index.d.ts +0 -0
  89. /package/{runtime → src/client/runtime}/index.js +0 -0
  90. /package/{runtime → src/client/runtime}/linkTypeMap.d.ts +0 -0
  91. /package/{runtime → src/client/runtime}/linkTypeMap.js +0 -0
  92. /package/{runtime → src/client/runtime}/typeSelection.d.ts +0 -0
  93. /package/{runtime → src/client/runtime}/typeSelection.js +0 -0
  94. /package/{runtime → src/client/runtime}/types.d.ts +0 -0
  95. /package/{runtime → src/client/runtime}/types.js +0 -0
package/types.ts DELETED
@@ -1,853 +0,0 @@
1
- export default {
2
- "scalars": [
3
- 1,
4
- 2,
5
- 13,
6
- 16
7
- ],
8
- "types": {
9
- "ApiKey": {
10
- "_id": [
11
- 1
12
- ],
13
- "keyName": [
14
- 1
15
- ],
16
- "readAccess": [
17
- 2
18
- ],
19
- "writeAccess": [
20
- 2
21
- ],
22
- "__typename": [
23
- 1
24
- ]
25
- },
26
- "String": {},
27
- "Boolean": {},
28
- "ApiKeyWithValue": {
29
- "_id": [
30
- 1
31
- ],
32
- "keyName": [
33
- 1
34
- ],
35
- "readAccess": [
36
- 2
37
- ],
38
- "writeAccess": [
39
- 2
40
- ],
41
- "actualKey": [
42
- 1
43
- ],
44
- "__typename": [
45
- 1
46
- ]
47
- },
48
- "UserToken": {
49
- "actualToken": [
50
- 1
51
- ],
52
- "refreshToken": [
53
- 1
54
- ],
55
- "__typename": [
56
- 1
57
- ]
58
- },
59
- "Domain": {
60
- "_id": [
61
- 1
62
- ],
63
- "name": [
64
- 1
65
- ],
66
- "description": [
67
- 1
68
- ],
69
- "__typename": [
70
- 1
71
- ]
72
- },
73
- "User": {
74
- "_id": [
75
- 1
76
- ],
77
- "loginEmail": [
78
- 1
79
- ],
80
- "suspended": [
81
- 2
82
- ],
83
- "domains": [
84
- 5
85
- ],
86
- "__typename": [
87
- 1
88
- ]
89
- },
90
- "UserWithToken": {
91
- "_id": [
92
- 1
93
- ],
94
- "loginEmail": [
95
- 1
96
- ],
97
- "suspended": [
98
- 2
99
- ],
100
- "domains": [
101
- 5
102
- ],
103
- "token": [
104
- 4
105
- ],
106
- "__typename": [
107
- 1
108
- ]
109
- },
110
- "Tenant": {
111
- "_id": [
112
- 1
113
- ],
114
- "name": [
115
- 1
116
- ],
117
- "email": [
118
- 1
119
- ],
120
- "tenant_uri": [
121
- 1
122
- ],
123
- "__typename": [
124
- 1
125
- ]
126
- },
127
- "UriAvailableType": {
128
- "available": [
129
- 2
130
- ],
131
- "valid": [
132
- 2
133
- ],
134
- "__typename": [
135
- 1
136
- ]
137
- },
138
- "TenantWithUserLogin": {
139
- "_id": [
140
- 1
141
- ],
142
- "name": [
143
- 1
144
- ],
145
- "email": [
146
- 1
147
- ],
148
- "tenant_uri": [
149
- 1
150
- ],
151
- "user": [
152
- 7
153
- ],
154
- "__typename": [
155
- 1
156
- ]
157
- },
158
- "TenantUserTokenWithInfo": {
159
- "actualToken": [
160
- 1
161
- ],
162
- "refreshToken": [
163
- 1
164
- ],
165
- "tenantId": [
166
- 1
167
- ],
168
- "tenantUri": [
169
- 1
170
- ],
171
- "loginEmail": [
172
- 1
173
- ],
174
- "__typename": [
175
- 1
176
- ]
177
- },
178
- "Agreement": {
179
- "_id": [
180
- 1
181
- ],
182
- "kind": [
183
- 1
184
- ],
185
- "domain": [
186
- 1
187
- ],
188
- "isActiveAgreement": [
189
- 2
190
- ],
191
- "version": [
192
- 1
193
- ],
194
- "publishedDate": [
195
- 13
196
- ],
197
- "unPublishedDate": [
198
- 13
199
- ],
200
- "locked": [
201
- 2
202
- ],
203
- "name": [
204
- 1
205
- ],
206
- "description": [
207
- 1
208
- ],
209
- "content": [
210
- 1
211
- ],
212
- "createdDate": [
213
- 13
214
- ],
215
- "updatedDate": [
216
- 13
217
- ],
218
- "__typename": [
219
- 1
220
- ]
221
- },
222
- "DateTime": {},
223
- "BillEntity": {
224
- "name": [
225
- 1
226
- ],
227
- "taxId": [
228
- 1
229
- ],
230
- "line1": [
231
- 1
232
- ],
233
- "line2": [
234
- 1
235
- ],
236
- "line3": [
237
- 1
238
- ],
239
- "city": [
240
- 1
241
- ],
242
- "state": [
243
- 1
244
- ],
245
- "country": [
246
- 1
247
- ],
248
- "zip": [
249
- 1
250
- ],
251
- "__typename": [
252
- 1
253
- ]
254
- },
255
- "InvoiceItem": {
256
- "_id": [
257
- 1
258
- ],
259
- "unitPrice": [
260
- 16
261
- ],
262
- "unitTax": [
263
- 16
264
- ],
265
- "quantity": [
266
- 16
267
- ],
268
- "unit": [
269
- 1
270
- ],
271
- "itemPrice": [
272
- 16
273
- ],
274
- "itemTotal": [
275
- 16
276
- ],
277
- "__typename": [
278
- 1
279
- ]
280
- },
281
- "Float": {},
282
- "Payment": {
283
- "_id": [
284
- 1
285
- ],
286
- "amount": [
287
- 16
288
- ],
289
- "currency": [
290
- 1
291
- ],
292
- "datePaid": [
293
- 13
294
- ],
295
- "paymentComment": [
296
- 1
297
- ],
298
- "transactionId": [
299
- 1
300
- ],
301
- "processorType": [
302
- 1
303
- ],
304
- "processorReference": [
305
- 1
306
- ],
307
- "paidItemReference": [
308
- 1
309
- ],
310
- "payeeReference": [
311
- 1
312
- ],
313
- "payorReference": [
314
- 1
315
- ],
316
- "paymentMethodType": [
317
- 1
318
- ],
319
- "paymentMethodReference": [
320
- 1
321
- ],
322
- "__typename": [
323
- 1
324
- ]
325
- },
326
- "PlaFeature": {
327
- "_id": [
328
- 1
329
- ],
330
- "title": [
331
- 1
332
- ],
333
- "description": [
334
- 1
335
- ],
336
- "quantity": [
337
- 16
338
- ],
339
- "quantityUnit": [
340
- 1
341
- ],
342
- "__typename": [
343
- 1
344
- ]
345
- },
346
- "Plan": {
347
- "_id": [
348
- 1
349
- ],
350
- "name": [
351
- 1
352
- ],
353
- "description": [
354
- 1
355
- ],
356
- "prices": [
357
- 20
358
- ],
359
- "features": [
360
- 18
361
- ],
362
- "isPublic": [
363
- 2
364
- ],
365
- "active": [
366
- 2
367
- ],
368
- "startOfferingDate": [
369
- 13
370
- ],
371
- "endOfferingDate": [
372
- 13
373
- ],
374
- "termsAndConditions": [
375
- 1
376
- ],
377
- "__typename": [
378
- 1
379
- ]
380
- },
381
- "PlanPrice": {
382
- "_id": [
383
- 1
384
- ],
385
- "currency": [
386
- 1
387
- ],
388
- "price": [
389
- 16
390
- ],
391
- "taxMode": [
392
- 1
393
- ],
394
- "period": [
395
- 1
396
- ],
397
- "customDays": [
398
- 16
399
- ],
400
- "plan": [
401
- 19
402
- ],
403
- "__typename": [
404
- 1
405
- ]
406
- },
407
- "Invoice": {
408
- "_id": [
409
- 1
410
- ],
411
- "invoiceDate": [
412
- 13
413
- ],
414
- "billedEntity": [
415
- 14
416
- ],
417
- "dueDate": [
418
- 13
419
- ],
420
- "billAmount": [
421
- 16
422
- ],
423
- "tax": [
424
- 16
425
- ],
426
- "total": [
427
- 16
428
- ],
429
- "currency": [
430
- 1
431
- ],
432
- "items": [
433
- 15
434
- ],
435
- "payment": [
436
- 17
437
- ],
438
- "__typename": [
439
- 1
440
- ]
441
- },
442
- "SubscriptionInvoice": {
443
- "_id": [
444
- 1
445
- ],
446
- "invoice": [
447
- 21
448
- ],
449
- "billedPlan": [
450
- 20
451
- ],
452
- "subscriber": [
453
- 23
454
- ],
455
- "__typename": [
456
- 1
457
- ]
458
- },
459
- "PlanSubscription": {
460
- "_id": [
461
- 1
462
- ],
463
- "currentPlan": [
464
- 20
465
- ],
466
- "billPrice": [
467
- 16
468
- ],
469
- "billCurrency": [
470
- 1
471
- ],
472
- "billPriceComment": [
473
- 1
474
- ],
475
- "lastBillDate": [
476
- 13
477
- ],
478
- "endAccessDate": [
479
- 13
480
- ],
481
- "autoRenew": [
482
- 2
483
- ],
484
- "autoRenewPlan": [
485
- 20
486
- ],
487
- "autoRenewDate": [
488
- 13
489
- ],
490
- "payments": [
491
- 24
492
- ],
493
- "invoices": [
494
- 22
495
- ],
496
- "__typename": [
497
- 1
498
- ]
499
- },
500
- "SubscriptionPayment": {
501
- "_id": [
502
- 1
503
- ],
504
- "payment": [
505
- 17
506
- ],
507
- "subscriber": [
508
- 23
509
- ],
510
- "__typename": [
511
- 1
512
- ]
513
- },
514
- "Brand": {
515
- "_id": [
516
- 1
517
- ],
518
- "name": [
519
- 1
520
- ],
521
- "description": [
522
- 1
523
- ],
524
- "approved": [
525
- 2
526
- ],
527
- "published": [
528
- 2
529
- ],
530
- "__typename": [
531
- 1
532
- ]
533
- },
534
- "Sponsor": {
535
- "_id": [
536
- 1
537
- ],
538
- "name": [
539
- 1
540
- ],
541
- "__typename": [
542
- 1
543
- ]
544
- },
545
- "Industry": {
546
- "_id": [
547
- 1
548
- ],
549
- "name": [
550
- 1
551
- ],
552
- "__typename": [
553
- 1
554
- ]
555
- },
556
- "Query": {
557
- "tenant": [
558
- 8,
559
- {
560
- "_id": [
561
- 1,
562
- "String!"
563
- ]
564
- }
565
- ],
566
- "tenantByEmail": [
567
- 8,
568
- {
569
- "email": [
570
- 1,
571
- "String!"
572
- ]
573
- }
574
- ],
575
- "tenants": [
576
- 8
577
- ],
578
- "isTenantUriAvailable": [
579
- 9,
580
- {
581
- "tenant_uri": [
582
- 1,
583
- "String!"
584
- ]
585
- }
586
- ],
587
- "tenantApiKeys": [
588
- 0
589
- ],
590
- "nontenantedUserById": [
591
- 6,
592
- {
593
- "_id": [
594
- 1,
595
- "String!"
596
- ]
597
- }
598
- ],
599
- "nontenantedUserByEmail": [
600
- 6,
601
- {
602
- "email": [
603
- 1,
604
- "String!"
605
- ]
606
- }
607
- ],
608
- "industries": [
609
- 27
610
- ],
611
- "findIndustryById": [
612
- 27,
613
- {
614
- "industryId": [
615
- 1,
616
- "String!"
617
- ]
618
- }
619
- ],
620
- "brands": [
621
- 25
622
- ],
623
- "existsValidSponsorForEmail": [
624
- 26,
625
- {
626
- "loginEmail": [
627
- 1,
628
- "String!"
629
- ]
630
- }
631
- ],
632
- "__typename": [
633
- 1
634
- ]
635
- },
636
- "Mutation": {
637
- "createTenant": [
638
- 8,
639
- {
640
- "tenant": [
641
- 30,
642
- "CreateTenantInput!"
643
- ]
644
- }
645
- ],
646
- "createTenantApiKey": [
647
- 0,
648
- {
649
- "newKeyInfo": [
650
- 31,
651
- "CreateApiKeyInput!"
652
- ]
653
- }
654
- ],
655
- "createTenantApiKeyWithSystemKey": [
656
- 3,
657
- {
658
- "newKeyInfo": [
659
- 31,
660
- "CreateApiKeyInput!"
661
- ]
662
- }
663
- ],
664
- "createTenantWithLogin": [
665
- 10,
666
- {
667
- "tenant": [
668
- 30,
669
- "CreateTenantInput!"
670
- ]
671
- }
672
- ],
673
- "createTenantUserToken": [
674
- 11,
675
- {
676
- "requestTokenDto": [
677
- 32,
678
- "CreateTenantUserTokenDto!"
679
- ]
680
- }
681
- ],
682
- "createTenantUserTokenFromEmailAndUri": [
683
- 11,
684
- {
685
- "requestTokenInfoDto": [
686
- 33,
687
- "CreateTenantUserTokenFromEmailAndUriDto!"
688
- ]
689
- }
690
- ],
691
- "createNonTenantedUserWithLogin": [
692
- 7,
693
- {
694
- "user": [
695
- 34,
696
- "CreateActiveUserInput!"
697
- ]
698
- }
699
- ],
700
- "createNonTenantUserTokenFromEmail": [
701
- 4,
702
- {
703
- "email": [
704
- 1,
705
- "String!"
706
- ]
707
- }
708
- ],
709
- "createIndustry": [
710
- 27,
711
- {
712
- "input": [
713
- 35,
714
- "CreateIndustryDto!"
715
- ]
716
- }
717
- ],
718
- "createBrand": [
719
- 25,
720
- {
721
- "input": [
722
- 36,
723
- "CreateBrandDto!"
724
- ]
725
- }
726
- ],
727
- "registerSponsor": [
728
- 26,
729
- {
730
- "input": [
731
- 37,
732
- "RegisterSponsorInput!"
733
- ]
734
- }
735
- ],
736
- "__typename": [
737
- 1
738
- ]
739
- },
740
- "CreateTenantInput": {
741
- "name": [
742
- 1
743
- ],
744
- "email": [
745
- 1
746
- ],
747
- "tenant_uri": [
748
- 1
749
- ],
750
- "__typename": [
751
- 1
752
- ]
753
- },
754
- "CreateApiKeyInput": {
755
- "keyName": [
756
- 1
757
- ],
758
- "readAccess": [
759
- 2
760
- ],
761
- "writeAccess": [
762
- 2
763
- ],
764
- "__typename": [
765
- 1
766
- ]
767
- },
768
- "CreateTenantUserTokenDto": {
769
- "requestToken": [
770
- 1
771
- ],
772
- "__typename": [
773
- 1
774
- ]
775
- },
776
- "CreateTenantUserTokenFromEmailAndUriDto": {
777
- "email": [
778
- 1
779
- ],
780
- "tenant_uri": [
781
- 1
782
- ],
783
- "__typename": [
784
- 1
785
- ]
786
- },
787
- "CreateActiveUserInput": {
788
- "loginEmail": [
789
- 1
790
- ],
791
- "password": [
792
- 1
793
- ],
794
- "__typename": [
795
- 1
796
- ]
797
- },
798
- "CreateIndustryDto": {
799
- "name": [
800
- 1
801
- ],
802
- "__typename": [
803
- 1
804
- ]
805
- },
806
- "CreateBrandDto": {
807
- "name": [
808
- 1
809
- ],
810
- "description": [
811
- 1
812
- ],
813
- "__typename": [
814
- 1
815
- ]
816
- },
817
- "RegisterSponsorInput": {
818
- "name": [
819
- 1
820
- ],
821
- "phone": [
822
- 1
823
- ],
824
- "hasWhatsapp": [
825
- 2
826
- ],
827
- "companyName": [
828
- 1
829
- ],
830
- "companyEmail": [
831
- 1
832
- ],
833
- "industryId": [
834
- 1
835
- ],
836
- "companySize": [
837
- 1
838
- ],
839
- "operatorType": [
840
- 1
841
- ],
842
- "numberOfAthletes": [
843
- 1
844
- ],
845
- "brands": [
846
- 1
847
- ],
848
- "__typename": [
849
- 1
850
- ]
851
- }
852
- }
853
- }