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