@snokam/mcp-server 0.1.0 → 0.2.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.
@@ -0,0 +1,2104 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Crypto Function",
5
+ "description": "Integration with Coinbase to calculate prepaid salary and pay out crypto",
6
+ "version": "v1.0.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://crypto.api.snokam.no"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1.0/account": {
15
+ "get": {
16
+ "tags": [
17
+ "Account"
18
+ ],
19
+ "operationId": "GetBtcAccount",
20
+ "responses": {
21
+ "200": {
22
+ "description": "The BTC account details",
23
+ "content": {
24
+ "application/json": {
25
+ "schema": {
26
+ "$ref": "#/components/schemas/response_account"
27
+ }
28
+ }
29
+ }
30
+ }
31
+ },
32
+ "security": [
33
+ {
34
+ "Implicit": [
35
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
36
+ ]
37
+ }
38
+ ]
39
+ }
40
+ },
41
+ "/v1.0/account/eur": {
42
+ "get": {
43
+ "tags": [
44
+ "Account"
45
+ ],
46
+ "operationId": "GetEurAccount",
47
+ "responses": {
48
+ "200": {
49
+ "description": "The EUR account details",
50
+ "content": {
51
+ "application/json": {
52
+ "schema": {
53
+ "$ref": "#/components/schemas/response_account"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "security": [
60
+ {
61
+ "Implicit": [
62
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
63
+ ]
64
+ }
65
+ ]
66
+ }
67
+ },
68
+ "/v1.0/summaries": {
69
+ "get": {
70
+ "tags": [
71
+ "Transaction"
72
+ ],
73
+ "operationId": "GetTransactionsSummaries",
74
+ "parameters": [
75
+ {
76
+ "name": "from",
77
+ "in": "query",
78
+ "description": "From datetime",
79
+ "schema": {
80
+ "type": "string",
81
+ "format": "date-time"
82
+ }
83
+ },
84
+ {
85
+ "name": "to",
86
+ "in": "query",
87
+ "description": "To datetime",
88
+ "schema": {
89
+ "type": "string",
90
+ "format": "date-time"
91
+ }
92
+ }
93
+ ],
94
+ "responses": {
95
+ "200": {
96
+ "description": "List of transaction summaries",
97
+ "content": {
98
+ "application/json": {
99
+ "schema": {
100
+ "type": "array",
101
+ "items": {
102
+ "$ref": "#/components/schemas/employeeTransactionSummary"
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ },
109
+ "security": [
110
+ {
111
+ "Implicit": [
112
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "/v1.0/summary": {
119
+ "get": {
120
+ "tags": [
121
+ "Transaction"
122
+ ],
123
+ "operationId": "GetTransactionsSummary",
124
+ "parameters": [
125
+ {
126
+ "name": "userEmail",
127
+ "in": "query",
128
+ "description": "Email of the user",
129
+ "required": true,
130
+ "schema": {
131
+ "type": "string"
132
+ }
133
+ },
134
+ {
135
+ "name": "from",
136
+ "in": "query",
137
+ "description": "From datetime",
138
+ "schema": {
139
+ "type": "string",
140
+ "format": "date-time"
141
+ }
142
+ },
143
+ {
144
+ "name": "to",
145
+ "in": "query",
146
+ "description": "To datetime",
147
+ "schema": {
148
+ "type": "string",
149
+ "format": "date-time"
150
+ }
151
+ }
152
+ ],
153
+ "responses": {
154
+ "200": {
155
+ "description": "Transaction summary for the specified user",
156
+ "content": {
157
+ "application/json": {
158
+ "schema": {
159
+ "$ref": "#/components/schemas/transactionSummary"
160
+ }
161
+ }
162
+ }
163
+ }
164
+ },
165
+ "security": [
166
+ {
167
+ "Implicit": [
168
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
169
+ ]
170
+ }
171
+ ]
172
+ }
173
+ },
174
+ "/v1.0/summary/me": {
175
+ "get": {
176
+ "tags": [
177
+ "Transaction"
178
+ ],
179
+ "operationId": "GetMyTransactionsSummary",
180
+ "parameters": [
181
+ {
182
+ "name": "from",
183
+ "in": "query",
184
+ "description": "From datetime",
185
+ "schema": {
186
+ "type": "string",
187
+ "format": "date-time"
188
+ }
189
+ },
190
+ {
191
+ "name": "to",
192
+ "in": "query",
193
+ "description": "To datetime",
194
+ "schema": {
195
+ "type": "string",
196
+ "format": "date-time"
197
+ }
198
+ }
199
+ ],
200
+ "responses": {
201
+ "200": {
202
+ "description": "Transaction summary for the authenticated user",
203
+ "content": {
204
+ "application/json": {
205
+ "schema": {
206
+ "$ref": "#/components/schemas/transactionSummary"
207
+ }
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "security": [
213
+ {
214
+ "Implicit": [
215
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
216
+ ]
217
+ }
218
+ ]
219
+ }
220
+ },
221
+ "/v1.0/transactions": {
222
+ "get": {
223
+ "tags": [
224
+ "Transaction"
225
+ ],
226
+ "operationId": "GetTransactions",
227
+ "parameters": [
228
+ {
229
+ "name": "from",
230
+ "in": "query",
231
+ "description": "From datetime",
232
+ "schema": {
233
+ "type": "string",
234
+ "format": "date-time"
235
+ }
236
+ },
237
+ {
238
+ "name": "to",
239
+ "in": "query",
240
+ "description": "To datetime",
241
+ "schema": {
242
+ "type": "string",
243
+ "format": "date-time"
244
+ }
245
+ }
246
+ ],
247
+ "responses": {
248
+ "200": {
249
+ "description": "List of transactions",
250
+ "content": {
251
+ "application/json": {
252
+ "schema": {
253
+ "type": "array",
254
+ "items": {
255
+ "$ref": "#/components/schemas/transaction"
256
+ }
257
+ }
258
+ }
259
+ }
260
+ }
261
+ },
262
+ "security": [
263
+ {
264
+ "Implicit": [
265
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
266
+ ]
267
+ }
268
+ ]
269
+ }
270
+ },
271
+ "/v1.0/transactions/{id}": {
272
+ "get": {
273
+ "tags": [
274
+ "Transaction"
275
+ ],
276
+ "operationId": "GetTransaction",
277
+ "parameters": [
278
+ {
279
+ "name": "id",
280
+ "in": "path",
281
+ "description": "ID of the transaction",
282
+ "required": true,
283
+ "schema": {
284
+ "type": "string"
285
+ }
286
+ }
287
+ ],
288
+ "responses": {
289
+ "200": {
290
+ "description": "Details of a specific transaction",
291
+ "content": {
292
+ "application/json": {
293
+ "schema": {
294
+ "$ref": "#/components/schemas/response_transaction"
295
+ }
296
+ }
297
+ }
298
+ }
299
+ },
300
+ "security": [
301
+ {
302
+ "Implicit": [
303
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
304
+ ]
305
+ }
306
+ ]
307
+ }
308
+ },
309
+ "/v1.0/statistics": {
310
+ "get": {
311
+ "tags": [
312
+ "Statistics"
313
+ ],
314
+ "operationId": "GetStatistics",
315
+ "responses": {
316
+ "200": {
317
+ "description": "Crypto statistics",
318
+ "content": {
319
+ "application/json": {
320
+ "schema": {
321
+ "$ref": "#/components/schemas/response_statistics"
322
+ }
323
+ }
324
+ }
325
+ }
326
+ },
327
+ "security": [
328
+ {
329
+ "Implicit": [
330
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
331
+ ]
332
+ }
333
+ ]
334
+ }
335
+ },
336
+ "/v1.0/employees": {
337
+ "get": {
338
+ "tags": [
339
+ "Employee"
340
+ ],
341
+ "operationId": "GetEmployeesWithInnovativeSalary",
342
+ "responses": {
343
+ "200": {
344
+ "description": "List of employees with innovative salary",
345
+ "content": {
346
+ "application/json": {
347
+ "schema": {
348
+ "type": "array",
349
+ "items": {
350
+ "$ref": "#/components/schemas/sanityEmployee"
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "security": [
358
+ {
359
+ "Implicit": [
360
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
361
+ ]
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ "/v1.0/salary/daily/me": {
367
+ "get": {
368
+ "tags": [
369
+ "Salary"
370
+ ],
371
+ "operationId": "GetMyDailySalary",
372
+ "responses": {
373
+ "200": {
374
+ "description": "Get my daily salary",
375
+ "content": {
376
+ "application/json": {
377
+ "schema": {
378
+ "$ref": "#/components/schemas/todaysSalarySummary"
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "204": {
384
+ "description": "No registered hours"
385
+ }
386
+ },
387
+ "security": [
388
+ {
389
+ "Implicit": [
390
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
391
+ ]
392
+ }
393
+ ]
394
+ }
395
+ },
396
+ "/v1.0/salaries/daily": {
397
+ "get": {
398
+ "tags": [
399
+ "Salary"
400
+ ],
401
+ "operationId": "GetDailySalaries",
402
+ "responses": {
403
+ "200": {
404
+ "description": "Get daily salaries",
405
+ "content": {
406
+ "application/json": {
407
+ "schema": {
408
+ "type": "array",
409
+ "items": {
410
+ "$ref": "#/components/schemas/todaysSalarySummary"
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "security": [
418
+ {
419
+ "Implicit": [
420
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
421
+ ]
422
+ }
423
+ ]
424
+ }
425
+ },
426
+ "/v1.0/salaries/daily/pay": {
427
+ "get": {
428
+ "tags": [
429
+ "Salary"
430
+ ],
431
+ "operationId": "PayDailySalaries",
432
+ "responses": {
433
+ "200": {
434
+ "description": "Pay daily salaries with CoinBase",
435
+ "content": {
436
+ "application/json": {
437
+ "schema": {
438
+ "type": "array",
439
+ "items": {
440
+ "$ref": "#/components/schemas/response_transaction"
441
+ }
442
+ }
443
+ }
444
+ }
445
+ }
446
+ },
447
+ "security": [
448
+ {
449
+ "Implicit": [
450
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
451
+ ]
452
+ }
453
+ ]
454
+ }
455
+ },
456
+ "/v1.0/user": {
457
+ "get": {
458
+ "tags": [
459
+ "User"
460
+ ],
461
+ "operationId": "GetUser",
462
+ "responses": {
463
+ "200": {
464
+ "description": "Details of the authenticated user",
465
+ "content": {
466
+ "application/json": {
467
+ "schema": {
468
+ "$ref": "#/components/schemas/response_user"
469
+ }
470
+ }
471
+ }
472
+ }
473
+ },
474
+ "security": [
475
+ {
476
+ "Implicit": [
477
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
478
+ ]
479
+ }
480
+ ]
481
+ }
482
+ },
483
+ "/v1.0/btc-nok": {
484
+ "get": {
485
+ "tags": [
486
+ "Price"
487
+ ],
488
+ "operationId": "GetBtcToNokSpotPrice",
489
+ "responses": {
490
+ "200": {
491
+ "description": "Current BTC to NOK spot price",
492
+ "content": {
493
+ "application/json": {
494
+ "schema": {
495
+ "type": "number",
496
+ "format": "double"
497
+ }
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "security": [
503
+ {
504
+ "Implicit": [
505
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
506
+ ]
507
+ }
508
+ ]
509
+ }
510
+ },
511
+ "/v1.0/save-coinbase-transactions-to-cosmos": {
512
+ "get": {
513
+ "tags": [
514
+ "Cosmos"
515
+ ],
516
+ "operationId": "SaveCoinbaseTransactionsToCosmos",
517
+ "responses": {
518
+ "200": {
519
+ "description": "Save Coinbase transactions to Cosmos",
520
+ "content": {
521
+ "application/json": {
522
+ "schema": {
523
+ "type": "number",
524
+ "format": "double"
525
+ }
526
+ }
527
+ }
528
+ }
529
+ },
530
+ "security": [
531
+ {
532
+ "Implicit": [
533
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
534
+ ]
535
+ }
536
+ ]
537
+ }
538
+ },
539
+ "/v1.0/database-validation": {
540
+ "get": {
541
+ "tags": [
542
+ "Transaction"
543
+ ],
544
+ "operationId": "DatabaseValidation",
545
+ "responses": {
546
+ "200": {
547
+ "description": "Check to see that transactions count is similar in Coinbase and Cosmos DB",
548
+ "content": {
549
+ "application/json": {
550
+ "schema": {
551
+ "type": "number",
552
+ "format": "double"
553
+ }
554
+ }
555
+ }
556
+ }
557
+ },
558
+ "security": [
559
+ {
560
+ "Implicit": [
561
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation"
562
+ ]
563
+ }
564
+ ]
565
+ }
566
+ }
567
+ },
568
+ "components": {
569
+ "schemas": {
570
+ "account": {
571
+ "type": "object",
572
+ "properties": {
573
+ "name": {
574
+ "type": "string",
575
+ "nullable": true
576
+ },
577
+ "primary": {
578
+ "type": "boolean",
579
+ "nullable": true
580
+ },
581
+ "type": {
582
+ "type": "string",
583
+ "nullable": true
584
+ },
585
+ "currency": {
586
+ "$ref": "#/components/schemas/accountCurrency"
587
+ },
588
+ "balance": {
589
+ "$ref": "#/components/schemas/money"
590
+ },
591
+ "created_at": {
592
+ "type": "string",
593
+ "format": "date-time",
594
+ "nullable": true
595
+ },
596
+ "updated_at": {
597
+ "type": "string",
598
+ "format": "date-time",
599
+ "nullable": true
600
+ },
601
+ "id": {
602
+ "type": "string",
603
+ "nullable": true
604
+ },
605
+ "resource": {
606
+ "type": "string",
607
+ "nullable": true
608
+ },
609
+ "resource_path": {
610
+ "type": "string",
611
+ "nullable": true
612
+ },
613
+ "extraJson": {
614
+ "type": "object",
615
+ "additionalProperties": {
616
+ "type": "object"
617
+ }
618
+ }
619
+ },
620
+ "nullable": true
621
+ },
622
+ "accountBalance": {
623
+ "type": "object",
624
+ "properties": {
625
+ "btc": {
626
+ "type": "number",
627
+ "format": "double"
628
+ },
629
+ "btcInNOK": {
630
+ "type": "number",
631
+ "format": "double"
632
+ },
633
+ "eur": {
634
+ "type": "number",
635
+ "format": "double"
636
+ }
637
+ }
638
+ },
639
+ "accountCurrency": {
640
+ "type": "object",
641
+ "properties": {
642
+ "code": {
643
+ "type": "string",
644
+ "nullable": true
645
+ },
646
+ "name": {
647
+ "type": "string",
648
+ "nullable": true
649
+ },
650
+ "color": {
651
+ "type": "string",
652
+ "nullable": true
653
+ },
654
+ "sort_index": {
655
+ "type": "string",
656
+ "nullable": true
657
+ },
658
+ "exponent": {
659
+ "type": "integer",
660
+ "format": "int32",
661
+ "nullable": true
662
+ },
663
+ "type": {
664
+ "type": "string",
665
+ "nullable": true
666
+ },
667
+ "address_regex": {
668
+ "type": "string",
669
+ "nullable": true
670
+ },
671
+ "asset_id": {
672
+ "type": "string",
673
+ "nullable": true
674
+ },
675
+ "extraJson": {
676
+ "type": "object",
677
+ "additionalProperties": {
678
+ "type": "object"
679
+ }
680
+ }
681
+ },
682
+ "nullable": true
683
+ },
684
+ "amount": {
685
+ "type": "object",
686
+ "properties": {
687
+ "btc": {
688
+ "type": "number",
689
+ "format": "double"
690
+ },
691
+ "nok": {
692
+ "type": "number",
693
+ "format": "double"
694
+ },
695
+ "tax": {
696
+ "$ref": "#/components/schemas/tax"
697
+ }
698
+ },
699
+ "nullable": true
700
+ },
701
+ "basis": {
702
+ "type": "object",
703
+ "properties": {
704
+ "salaryLines": {
705
+ "type": "array",
706
+ "items": {
707
+ "$ref": "#/components/schemas/iSalary"
708
+ }
709
+ },
710
+ "timeTransactions": {
711
+ "type": "array",
712
+ "items": {
713
+ "$ref": "#/components/schemas/timeTransactionSummary"
714
+ }
715
+ },
716
+ "salary": {
717
+ "type": "integer",
718
+ "format": "int32"
719
+ }
720
+ },
721
+ "nullable": true
722
+ },
723
+ "cryptoBuys": {
724
+ "type": "object",
725
+ "properties": {
726
+ "sumBuysBTC": {
727
+ "type": "number",
728
+ "format": "double",
729
+ "nullable": true
730
+ },
731
+ "totalDepositNOK": {
732
+ "type": "number",
733
+ "format": "double"
734
+ },
735
+ "feesNOK": {
736
+ "type": "number",
737
+ "format": "double",
738
+ "nullable": true
739
+ }
740
+ }
741
+ },
742
+ "cryptoSells": {
743
+ "type": "object",
744
+ "properties": {
745
+ "sumSendsBTC": {
746
+ "type": "number",
747
+ "format": "double"
748
+ },
749
+ "sumSendsNOK": {
750
+ "type": "number",
751
+ "format": "double"
752
+ }
753
+ }
754
+ },
755
+ "employeeTransactionSummary": {
756
+ "type": "object",
757
+ "properties": {
758
+ "name": {
759
+ "type": "string",
760
+ "nullable": true
761
+ },
762
+ "email": {
763
+ "type": "string",
764
+ "nullable": true
765
+ },
766
+ "summary": {
767
+ "$ref": "#/components/schemas/summary"
768
+ },
769
+ "transactions": {
770
+ "type": "array",
771
+ "items": {
772
+ "$ref": "#/components/schemas/transaction"
773
+ },
774
+ "nullable": true
775
+ }
776
+ }
777
+ },
778
+ "entity": {
779
+ "type": "object",
780
+ "properties": {
781
+ "id": {
782
+ "type": "string",
783
+ "nullable": true
784
+ },
785
+ "resource": {
786
+ "type": "string",
787
+ "nullable": true
788
+ },
789
+ "resource_path": {
790
+ "type": "string",
791
+ "nullable": true
792
+ },
793
+ "extraJson": {
794
+ "type": "object",
795
+ "additionalProperties": {
796
+ "type": "object"
797
+ }
798
+ }
799
+ },
800
+ "nullable": true
801
+ },
802
+ "error": {
803
+ "type": "object",
804
+ "properties": {
805
+ "id": {
806
+ "type": "string"
807
+ },
808
+ "message": {
809
+ "type": "string"
810
+ },
811
+ "url": {
812
+ "type": "string"
813
+ },
814
+ "extraJson": {
815
+ "type": "object",
816
+ "additionalProperties": {
817
+ "type": "object"
818
+ }
819
+ }
820
+ }
821
+ },
822
+ "from": {
823
+ "type": "object",
824
+ "properties": {
825
+ "address": {
826
+ "type": "string",
827
+ "nullable": true
828
+ },
829
+ "currency": {
830
+ "type": "string",
831
+ "nullable": true
832
+ },
833
+ "id": {
834
+ "type": "string",
835
+ "nullable": true
836
+ },
837
+ "resource": {
838
+ "type": "string",
839
+ "nullable": true
840
+ },
841
+ "resource_path": {
842
+ "type": "string",
843
+ "nullable": true
844
+ },
845
+ "extraJson": {
846
+ "type": "object",
847
+ "additionalProperties": {
848
+ "type": "object"
849
+ }
850
+ }
851
+ },
852
+ "nullable": true
853
+ },
854
+ "iSalary": {
855
+ "type": "object",
856
+ "properties": {
857
+ "salary": {
858
+ "type": "integer",
859
+ "format": "int32"
860
+ }
861
+ }
862
+ },
863
+ "jToken": {
864
+ "type": "object"
865
+ },
866
+ "money": {
867
+ "type": "object",
868
+ "properties": {
869
+ "amount": {
870
+ "type": "number",
871
+ "format": "double",
872
+ "nullable": true
873
+ },
874
+ "currency": {
875
+ "type": "string",
876
+ "nullable": true
877
+ },
878
+ "base": {
879
+ "type": "string",
880
+ "nullable": true
881
+ },
882
+ "extraJson": {
883
+ "type": "object",
884
+ "additionalProperties": {
885
+ "type": "object"
886
+ }
887
+ }
888
+ },
889
+ "nullable": true
890
+ },
891
+ "network": {
892
+ "type": "object",
893
+ "properties": {
894
+ "status": {
895
+ "type": "string",
896
+ "nullable": true
897
+ },
898
+ "name": {
899
+ "type": "string",
900
+ "nullable": true
901
+ },
902
+ "hash": {
903
+ "type": "string",
904
+ "nullable": true
905
+ },
906
+ "transaction_fee": {
907
+ "$ref": "#/components/schemas/networkMoney"
908
+ },
909
+ "transaction_amount": {
910
+ "$ref": "#/components/schemas/networkMoney"
911
+ },
912
+ "confirmations": {
913
+ "type": "integer",
914
+ "format": "int64",
915
+ "nullable": true
916
+ },
917
+ "extraJson": {
918
+ "type": "object",
919
+ "additionalProperties": {
920
+ "type": "object"
921
+ }
922
+ }
923
+ },
924
+ "nullable": true
925
+ },
926
+ "networkMoney": {
927
+ "type": "object",
928
+ "properties": {
929
+ "amount": {
930
+ "type": "number",
931
+ "format": "double",
932
+ "nullable": true
933
+ },
934
+ "currency": {
935
+ "type": "string",
936
+ "nullable": true
937
+ },
938
+ "extraJson": {
939
+ "type": "object",
940
+ "additionalProperties": {
941
+ "type": "object"
942
+ }
943
+ }
944
+ },
945
+ "nullable": true
946
+ },
947
+ "response_account": {
948
+ "type": "object",
949
+ "properties": {
950
+ "data": {
951
+ "$ref": "#/components/schemas/account"
952
+ },
953
+ "errors": {
954
+ "type": "array",
955
+ "items": {
956
+ "$ref": "#/components/schemas/error"
957
+ }
958
+ },
959
+ "warnings": {
960
+ "type": "array",
961
+ "items": {
962
+ "$ref": "#/components/schemas/warning"
963
+ }
964
+ },
965
+ "extraJson": {
966
+ "type": "object",
967
+ "additionalProperties": {
968
+ "type": "object"
969
+ }
970
+ }
971
+ }
972
+ },
973
+ "response_statistics": {
974
+ "type": "object",
975
+ "properties": {
976
+ "data": {
977
+ "$ref": "#/components/schemas/statistics"
978
+ },
979
+ "errors": {
980
+ "type": "array",
981
+ "items": {
982
+ "$ref": "#/components/schemas/error"
983
+ }
984
+ },
985
+ "warnings": {
986
+ "type": "array",
987
+ "items": {
988
+ "$ref": "#/components/schemas/warning"
989
+ }
990
+ },
991
+ "extraJson": {
992
+ "type": "object",
993
+ "additionalProperties": {
994
+ "type": "object"
995
+ }
996
+ }
997
+ }
998
+ },
999
+ "response_transaction": {
1000
+ "type": "object",
1001
+ "properties": {
1002
+ "data": {
1003
+ "$ref": "#/components/schemas/transaction"
1004
+ },
1005
+ "errors": {
1006
+ "type": "array",
1007
+ "items": {
1008
+ "$ref": "#/components/schemas/error"
1009
+ }
1010
+ },
1011
+ "warnings": {
1012
+ "type": "array",
1013
+ "items": {
1014
+ "$ref": "#/components/schemas/warning"
1015
+ }
1016
+ },
1017
+ "extraJson": {
1018
+ "type": "object",
1019
+ "additionalProperties": {
1020
+ "type": "object"
1021
+ }
1022
+ }
1023
+ }
1024
+ },
1025
+ "response_user": {
1026
+ "type": "object",
1027
+ "properties": {
1028
+ "data": {
1029
+ "$ref": "#/components/schemas/user"
1030
+ },
1031
+ "errors": {
1032
+ "type": "array",
1033
+ "items": {
1034
+ "$ref": "#/components/schemas/error"
1035
+ }
1036
+ },
1037
+ "warnings": {
1038
+ "type": "array",
1039
+ "items": {
1040
+ "$ref": "#/components/schemas/warning"
1041
+ }
1042
+ },
1043
+ "extraJson": {
1044
+ "type": "object",
1045
+ "additionalProperties": {
1046
+ "type": "object"
1047
+ }
1048
+ }
1049
+ }
1050
+ },
1051
+ "sanityEmployee": {
1052
+ "type": "object",
1053
+ "properties": {
1054
+ "maritalStatus": {
1055
+ "enum": [
1056
+ "cohabitant",
1057
+ "married",
1058
+ "single"
1059
+ ],
1060
+ "type": "string",
1061
+ "default": "cohabitant",
1062
+ "nullable": true
1063
+ },
1064
+ "gender": {
1065
+ "enum": [
1066
+ "female",
1067
+ "male",
1068
+ "These are not the genders you are looking for"
1069
+ ],
1070
+ "type": "string",
1071
+ "default": "female"
1072
+ },
1073
+ "sanityType": {
1074
+ "enum": [
1075
+ "employee"
1076
+ ],
1077
+ "type": "string",
1078
+ "default": "employee"
1079
+ },
1080
+ "manager": {
1081
+ "$ref": "#/components/schemas/sanityEmployeeManager"
1082
+ },
1083
+ "appRedemptionCode": {
1084
+ "type": "string"
1085
+ },
1086
+ "coinbaseAccountEmail": {
1087
+ "type": "string"
1088
+ },
1089
+ "innovativeSalaryPercentage": {
1090
+ "type": "number",
1091
+ "format": "double"
1092
+ },
1093
+ "innovativeSalary": {
1094
+ "type": "boolean"
1095
+ },
1096
+ "cliftonStrengths": {
1097
+ "type": "array",
1098
+ "items": {
1099
+ "$ref": "#/components/schemas/sanityEmployeeCliftonStrengthsInner"
1100
+ }
1101
+ },
1102
+ "media": {
1103
+ "type": "array",
1104
+ "items": {
1105
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1106
+ }
1107
+ },
1108
+ "equipment": {
1109
+ "type": "array",
1110
+ "items": {
1111
+ "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
1112
+ }
1113
+ },
1114
+ "groups": {
1115
+ "type": "array",
1116
+ "items": {
1117
+ "$ref": "#/components/schemas/sanityEmployeeGroupsInner"
1118
+ }
1119
+ },
1120
+ "technologies": {
1121
+ "type": "array",
1122
+ "items": {
1123
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInner"
1124
+ }
1125
+ },
1126
+ "tags": {
1127
+ "type": "array",
1128
+ "items": {
1129
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1130
+ }
1131
+ },
1132
+ "satisfaction": {
1133
+ "type": "number",
1134
+ "format": "double"
1135
+ },
1136
+ "commissionTier": {
1137
+ "$ref": "#/components/schemas/sanityEmployeeCommissionTier"
1138
+ },
1139
+ "start_date": {
1140
+ "type": "string"
1141
+ },
1142
+ "birth_date": {
1143
+ "type": "string"
1144
+ },
1145
+ "about": {
1146
+ "type": "string"
1147
+ },
1148
+ "education": {
1149
+ "type": "string"
1150
+ },
1151
+ "position": {
1152
+ "type": "string"
1153
+ },
1154
+ "nrOfChildren": {
1155
+ "type": "number",
1156
+ "format": "double"
1157
+ },
1158
+ "nextOfKin": {
1159
+ "type": "array",
1160
+ "items": {
1161
+ "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
1162
+ }
1163
+ },
1164
+ "allergies": {
1165
+ "type": "array",
1166
+ "items": {
1167
+ "type": "string"
1168
+ }
1169
+ },
1170
+ "address": {
1171
+ "type": "string"
1172
+ },
1173
+ "graduationYear": {
1174
+ "type": "number",
1175
+ "format": "double"
1176
+ },
1177
+ "email": {
1178
+ "type": "string"
1179
+ },
1180
+ "telephone": {
1181
+ "type": "string"
1182
+ },
1183
+ "blurred_image": {
1184
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1185
+ },
1186
+ "image": {
1187
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1188
+ },
1189
+ "ownership": {
1190
+ "type": "number",
1191
+ "format": "double"
1192
+ },
1193
+ "boardMember": {
1194
+ "type": "boolean"
1195
+ },
1196
+ "slug": {
1197
+ "$ref": "#/components/schemas/slug"
1198
+ },
1199
+ "name": {
1200
+ "type": "string"
1201
+ },
1202
+ "active": {
1203
+ "type": "boolean"
1204
+ },
1205
+ "sanityRev": {
1206
+ "type": "string"
1207
+ },
1208
+ "sanityUpdatedAt": {
1209
+ "type": "string"
1210
+ },
1211
+ "sanityCreatedAt": {
1212
+ "type": "string"
1213
+ },
1214
+ "sanityId": {
1215
+ "type": "string"
1216
+ },
1217
+ "additionalProperties": {
1218
+ "type": "object",
1219
+ "additionalProperties": {
1220
+ "type": "object"
1221
+ }
1222
+ }
1223
+ }
1224
+ },
1225
+ "sanityEmployeeCliftonStrengthsInner": {
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "domain": {
1229
+ "enum": [
1230
+ "executing",
1231
+ "influencing",
1232
+ "relationship_building",
1233
+ "strategic_thinking"
1234
+ ],
1235
+ "type": "string",
1236
+ "default": "executing",
1237
+ "nullable": true
1238
+ },
1239
+ "sanityType": {
1240
+ "enum": [
1241
+ "cliftonStrength"
1242
+ ],
1243
+ "type": "string",
1244
+ "default": "cliftonStrength"
1245
+ },
1246
+ "strength": {
1247
+ "type": "string"
1248
+ },
1249
+ "sanityRev": {
1250
+ "type": "string"
1251
+ },
1252
+ "sanityUpdatedAt": {
1253
+ "type": "string"
1254
+ },
1255
+ "sanityCreatedAt": {
1256
+ "type": "string"
1257
+ },
1258
+ "sanityId": {
1259
+ "type": "string"
1260
+ },
1261
+ "additionalProperties": {
1262
+ "type": "object",
1263
+ "additionalProperties": {
1264
+ "type": "object"
1265
+ }
1266
+ }
1267
+ }
1268
+ },
1269
+ "sanityEmployeeCommissionTier": {
1270
+ "type": "object",
1271
+ "properties": {
1272
+ "sanityType": {
1273
+ "enum": [
1274
+ "commissionTier"
1275
+ ],
1276
+ "type": "string",
1277
+ "default": "commissionTier"
1278
+ },
1279
+ "commission": {
1280
+ "type": "number",
1281
+ "format": "double"
1282
+ },
1283
+ "title": {
1284
+ "type": "string"
1285
+ },
1286
+ "sanityRev": {
1287
+ "type": "string"
1288
+ },
1289
+ "sanityUpdatedAt": {
1290
+ "type": "string"
1291
+ },
1292
+ "sanityCreatedAt": {
1293
+ "type": "string"
1294
+ },
1295
+ "sanityId": {
1296
+ "type": "string"
1297
+ },
1298
+ "additionalProperties": {
1299
+ "type": "object",
1300
+ "additionalProperties": {
1301
+ "type": "object"
1302
+ }
1303
+ }
1304
+ }
1305
+ },
1306
+ "sanityEmployeeEquipmentInner": {
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "sanityType": {
1310
+ "enum": [
1311
+ "equipment"
1312
+ ],
1313
+ "type": "string",
1314
+ "default": "equipment"
1315
+ },
1316
+ "images": {
1317
+ "type": "array",
1318
+ "items": {
1319
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1320
+ }
1321
+ },
1322
+ "image": {
1323
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
1324
+ },
1325
+ "description": {
1326
+ "type": "array",
1327
+ "items": {
1328
+ "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
1329
+ }
1330
+ },
1331
+ "title": {
1332
+ "type": "string"
1333
+ },
1334
+ "sanityId": {
1335
+ "type": "string"
1336
+ },
1337
+ "additionalProperties": {
1338
+ "type": "object",
1339
+ "additionalProperties": {
1340
+ "type": "object"
1341
+ }
1342
+ }
1343
+ }
1344
+ },
1345
+ "sanityEmployeeGroupsInner": {
1346
+ "type": "object",
1347
+ "properties": {
1348
+ "sanityType": {
1349
+ "enum": [
1350
+ "group"
1351
+ ],
1352
+ "type": "string",
1353
+ "default": "group"
1354
+ },
1355
+ "image": {
1356
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1357
+ },
1358
+ "leaders": {
1359
+ "type": "array",
1360
+ "items": {
1361
+ "$ref": "#/components/schemas/sanityEmployeeGroupsInnerLeadersInner"
1362
+ }
1363
+ },
1364
+ "description": {
1365
+ "type": "array",
1366
+ "items": {
1367
+ "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
1368
+ }
1369
+ },
1370
+ "name": {
1371
+ "type": "string"
1372
+ },
1373
+ "sanityRev": {
1374
+ "type": "string"
1375
+ },
1376
+ "sanityUpdatedAt": {
1377
+ "type": "string"
1378
+ },
1379
+ "sanityCreatedAt": {
1380
+ "type": "string"
1381
+ },
1382
+ "sanityId": {
1383
+ "type": "string"
1384
+ },
1385
+ "additionalProperties": {
1386
+ "type": "object",
1387
+ "additionalProperties": {
1388
+ "type": "object"
1389
+ }
1390
+ }
1391
+ }
1392
+ },
1393
+ "sanityEmployeeGroupsInnerLeadersInner": {
1394
+ "type": "object",
1395
+ "properties": {
1396
+ "sanityType": {
1397
+ "enum": [
1398
+ "reference"
1399
+ ],
1400
+ "type": "string",
1401
+ "default": "reference"
1402
+ },
1403
+ "sanityKey": {
1404
+ "type": "string"
1405
+ },
1406
+ "sanityWeak": {
1407
+ "type": "boolean"
1408
+ },
1409
+ "sanityRef": {
1410
+ "type": "string"
1411
+ },
1412
+ "additionalProperties": {
1413
+ "type": "object",
1414
+ "additionalProperties": {
1415
+ "type": "object"
1416
+ }
1417
+ }
1418
+ }
1419
+ },
1420
+ "sanityEmployeeManager": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "sanityType": {
1424
+ "enum": [
1425
+ "employee"
1426
+ ],
1427
+ "type": "string",
1428
+ "default": "employee"
1429
+ },
1430
+ "tags": {
1431
+ "type": "array",
1432
+ "items": {
1433
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1434
+ }
1435
+ },
1436
+ "image": {
1437
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1438
+ },
1439
+ "slug": {
1440
+ "$ref": "#/components/schemas/slug"
1441
+ },
1442
+ "email": {
1443
+ "type": "string"
1444
+ },
1445
+ "telephone": {
1446
+ "type": "string"
1447
+ },
1448
+ "name": {
1449
+ "type": "string"
1450
+ },
1451
+ "sanityId": {
1452
+ "type": "string"
1453
+ },
1454
+ "additionalProperties": {
1455
+ "type": "object",
1456
+ "additionalProperties": {
1457
+ "type": "object"
1458
+ }
1459
+ }
1460
+ }
1461
+ },
1462
+ "sanityEmployeeNextOfKinInner": {
1463
+ "type": "object",
1464
+ "properties": {
1465
+ "sanityType": {
1466
+ "enum": [
1467
+ "nextofkin"
1468
+ ],
1469
+ "type": "string",
1470
+ "default": "nextofkin"
1471
+ },
1472
+ "sanityKey": {
1473
+ "type": "string"
1474
+ },
1475
+ "telephone": {
1476
+ "type": "string"
1477
+ },
1478
+ "name": {
1479
+ "type": "string"
1480
+ },
1481
+ "additionalProperties": {
1482
+ "type": "object",
1483
+ "additionalProperties": {
1484
+ "type": "object"
1485
+ }
1486
+ }
1487
+ }
1488
+ },
1489
+ "sanitySystemsInnerDescriptionInner": {
1490
+ "type": "object",
1491
+ "properties": {
1492
+ "sanityType": {
1493
+ "enum": [
1494
+ "block"
1495
+ ],
1496
+ "type": "string",
1497
+ "default": "block"
1498
+ },
1499
+ "listItem": {
1500
+ "enum": [
1501
+ "bullet",
1502
+ "number"
1503
+ ],
1504
+ "type": "string",
1505
+ "default": "bullet",
1506
+ "nullable": true
1507
+ },
1508
+ "style": {
1509
+ "enum": [
1510
+ "blockquote",
1511
+ "h1",
1512
+ "h2",
1513
+ "h3",
1514
+ "h4",
1515
+ "h5",
1516
+ "h6",
1517
+ "normal"
1518
+ ],
1519
+ "type": "string",
1520
+ "default": "blockquote",
1521
+ "nullable": true
1522
+ },
1523
+ "sanityKey": {
1524
+ "type": "string"
1525
+ },
1526
+ "level": {
1527
+ "type": "number",
1528
+ "format": "double"
1529
+ },
1530
+ "markDefs": {
1531
+ "type": "array",
1532
+ "items": {
1533
+ "$ref": "#/components/schemas/sanityTechnologyDescriptionInnerOneOfMarkDefsInner"
1534
+ }
1535
+ },
1536
+ "children": {
1537
+ "type": "array",
1538
+ "items": {
1539
+ "$ref": "#/components/schemas/sanityTechnologyDescriptionInnerOneOfChildrenInner"
1540
+ }
1541
+ },
1542
+ "additionalProperties": {
1543
+ "type": "object",
1544
+ "additionalProperties": {
1545
+ "type": "object"
1546
+ }
1547
+ }
1548
+ }
1549
+ },
1550
+ "sanityTechnologyDescriptionInnerOneOfChildrenInner": {
1551
+ "type": "object",
1552
+ "properties": {
1553
+ "sanityType": {
1554
+ "enum": [
1555
+ "span"
1556
+ ],
1557
+ "type": "string",
1558
+ "default": "span"
1559
+ },
1560
+ "sanityKey": {
1561
+ "type": "string"
1562
+ },
1563
+ "text": {
1564
+ "type": "string"
1565
+ },
1566
+ "marks": {
1567
+ "type": "array",
1568
+ "items": {
1569
+ "type": "string"
1570
+ }
1571
+ },
1572
+ "additionalProperties": {
1573
+ "type": "object",
1574
+ "additionalProperties": {
1575
+ "type": "object"
1576
+ }
1577
+ }
1578
+ }
1579
+ },
1580
+ "sanityTechnologyDescriptionInnerOneOfMarkDefsInner": {
1581
+ "type": "object",
1582
+ "properties": {
1583
+ "sanityType": {
1584
+ "enum": [
1585
+ "link"
1586
+ ],
1587
+ "type": "string",
1588
+ "default": "link"
1589
+ },
1590
+ "sanityKey": {
1591
+ "type": "string"
1592
+ },
1593
+ "href": {
1594
+ "type": "string"
1595
+ },
1596
+ "additionalProperties": {
1597
+ "type": "object",
1598
+ "additionalProperties": {
1599
+ "type": "object"
1600
+ }
1601
+ }
1602
+ }
1603
+ },
1604
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
1605
+ "type": "object",
1606
+ "properties": {
1607
+ "sanityType": {
1608
+ "enum": [
1609
+ "technology"
1610
+ ],
1611
+ "type": "string",
1612
+ "default": "technology"
1613
+ },
1614
+ "parent": {
1615
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1616
+ },
1617
+ "slug": {
1618
+ "$ref": "#/components/schemas/slug"
1619
+ },
1620
+ "title": {
1621
+ "type": "string"
1622
+ },
1623
+ "sanityId": {
1624
+ "type": "string"
1625
+ },
1626
+ "additionalProperties": {
1627
+ "type": "object",
1628
+ "additionalProperties": {
1629
+ "type": "object"
1630
+ }
1631
+ }
1632
+ }
1633
+ },
1634
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
1635
+ "type": "object",
1636
+ "properties": {
1637
+ "sanityType": {
1638
+ "enum": [
1639
+ "tag"
1640
+ ],
1641
+ "type": "string",
1642
+ "default": "tag"
1643
+ },
1644
+ "slug": {
1645
+ "$ref": "#/components/schemas/slug"
1646
+ },
1647
+ "name": {
1648
+ "type": "string"
1649
+ },
1650
+ "sanityId": {
1651
+ "type": "string"
1652
+ },
1653
+ "additionalProperties": {
1654
+ "type": "object",
1655
+ "additionalProperties": {
1656
+ "type": "object"
1657
+ }
1658
+ }
1659
+ }
1660
+ },
1661
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner": {
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "actualInstance": {
1665
+ "type": "object"
1666
+ },
1667
+ "isNullable": {
1668
+ "type": "boolean"
1669
+ },
1670
+ "schemaType": {
1671
+ "type": "string"
1672
+ }
1673
+ }
1674
+ },
1675
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
1676
+ "type": "object",
1677
+ "properties": {
1678
+ "sanityType": {
1679
+ "enum": [
1680
+ "image"
1681
+ ],
1682
+ "type": "string",
1683
+ "default": "image"
1684
+ },
1685
+ "asset": {
1686
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
1687
+ },
1688
+ "additionalProperties": {
1689
+ "type": "object",
1690
+ "additionalProperties": {
1691
+ "type": "object"
1692
+ }
1693
+ }
1694
+ }
1695
+ },
1696
+ "sanityTvCategoryDashboardsInnerBackgroundImage": {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "sanityType": {
1700
+ "enum": [
1701
+ "image"
1702
+ ],
1703
+ "type": "string",
1704
+ "default": "image"
1705
+ },
1706
+ "asset": {
1707
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
1708
+ },
1709
+ "additionalProperties": {
1710
+ "type": "object",
1711
+ "additionalProperties": {
1712
+ "type": "object"
1713
+ }
1714
+ }
1715
+ }
1716
+ },
1717
+ "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
1718
+ "type": "object",
1719
+ "properties": {
1720
+ "sanityType": {
1721
+ "enum": [
1722
+ "sanity.imageAsset"
1723
+ ],
1724
+ "type": "string",
1725
+ "default": "sanity.imageAsset"
1726
+ },
1727
+ "mimeType": {
1728
+ "type": "string"
1729
+ },
1730
+ "originalFilename": {
1731
+ "type": "string"
1732
+ },
1733
+ "url": {
1734
+ "type": "string"
1735
+ },
1736
+ "sanityId": {
1737
+ "type": "string"
1738
+ },
1739
+ "additionalProperties": {
1740
+ "type": "object",
1741
+ "additionalProperties": {
1742
+ "type": "object"
1743
+ }
1744
+ }
1745
+ }
1746
+ },
1747
+ "slug": {
1748
+ "type": "object",
1749
+ "properties": {
1750
+ "sanityType": {
1751
+ "enum": [
1752
+ "slug"
1753
+ ],
1754
+ "type": "string",
1755
+ "default": "slug"
1756
+ },
1757
+ "source": {
1758
+ "type": "string"
1759
+ },
1760
+ "current": {
1761
+ "type": "string"
1762
+ },
1763
+ "additionalProperties": {
1764
+ "type": "object",
1765
+ "additionalProperties": {
1766
+ "type": "object"
1767
+ }
1768
+ }
1769
+ }
1770
+ },
1771
+ "statistics": {
1772
+ "type": "object",
1773
+ "properties": {
1774
+ "numberOfEmployeesActivated": {
1775
+ "type": "integer",
1776
+ "format": "int32"
1777
+ },
1778
+ "totalNumberOfEmployees": {
1779
+ "type": "integer",
1780
+ "format": "int32"
1781
+ },
1782
+ "numberOfEmployeesActivatedPercentage": {
1783
+ "type": "number",
1784
+ "format": "float"
1785
+ },
1786
+ "averagePercentageOfActivatedEmployees": {
1787
+ "type": "number",
1788
+ "format": "float"
1789
+ },
1790
+ "averagePercentageOfAllEmployees": {
1791
+ "type": "number",
1792
+ "format": "float"
1793
+ },
1794
+ "cryptoSends": {
1795
+ "$ref": "#/components/schemas/cryptoSells"
1796
+ },
1797
+ "cryptoBuys": {
1798
+ "$ref": "#/components/schemas/cryptoBuys"
1799
+ },
1800
+ "accountBalance": {
1801
+ "$ref": "#/components/schemas/accountBalance"
1802
+ },
1803
+ "totalProfitNOK": {
1804
+ "type": "number",
1805
+ "format": "double"
1806
+ }
1807
+ },
1808
+ "nullable": true
1809
+ },
1810
+ "summary": {
1811
+ "type": "object",
1812
+ "properties": {
1813
+ "amount": {
1814
+ "$ref": "#/components/schemas/amount"
1815
+ }
1816
+ },
1817
+ "nullable": true
1818
+ },
1819
+ "tax": {
1820
+ "type": "object",
1821
+ "properties": {
1822
+ "percent": {
1823
+ "type": "integer",
1824
+ "format": "int32"
1825
+ },
1826
+ "btc": {
1827
+ "type": "number",
1828
+ "format": "double"
1829
+ },
1830
+ "nok": {
1831
+ "type": "number",
1832
+ "format": "double"
1833
+ }
1834
+ }
1835
+ },
1836
+ "timeTransactionSummary": {
1837
+ "type": "object",
1838
+ "properties": {
1839
+ "activityCode": {
1840
+ "type": "string"
1841
+ },
1842
+ "activityName": {
1843
+ "type": "string"
1844
+ },
1845
+ "projectCode": {
1846
+ "type": "string"
1847
+ },
1848
+ "projectName": {
1849
+ "type": "string"
1850
+ },
1851
+ "hours": {
1852
+ "type": "number",
1853
+ "format": "double",
1854
+ "nullable": true
1855
+ },
1856
+ "hourlyRate": {
1857
+ "type": "integer",
1858
+ "format": "int32",
1859
+ "nullable": true
1860
+ },
1861
+ "commission": {
1862
+ "type": "number",
1863
+ "format": "float",
1864
+ "nullable": true
1865
+ }
1866
+ }
1867
+ },
1868
+ "to": {
1869
+ "type": "object",
1870
+ "properties": {
1871
+ "address": {
1872
+ "type": "string",
1873
+ "nullable": true
1874
+ },
1875
+ "currency": {
1876
+ "type": "string",
1877
+ "nullable": true
1878
+ },
1879
+ "id": {
1880
+ "type": "string",
1881
+ "nullable": true
1882
+ },
1883
+ "resource": {
1884
+ "type": "string",
1885
+ "nullable": true
1886
+ },
1887
+ "resource_path": {
1888
+ "type": "string",
1889
+ "nullable": true
1890
+ },
1891
+ "extraJson": {
1892
+ "type": "object",
1893
+ "additionalProperties": {
1894
+ "type": "object"
1895
+ }
1896
+ }
1897
+ },
1898
+ "nullable": true
1899
+ },
1900
+ "todaysSalarySummary": {
1901
+ "type": "object",
1902
+ "properties": {
1903
+ "name": {
1904
+ "type": "string",
1905
+ "nullable": true
1906
+ },
1907
+ "email": {
1908
+ "type": "string",
1909
+ "nullable": true
1910
+ },
1911
+ "todaysSalary": {
1912
+ "$ref": "#/components/schemas/amount"
1913
+ },
1914
+ "innovativeSalaryPercentage": {
1915
+ "type": "integer",
1916
+ "format": "int32"
1917
+ },
1918
+ "basis": {
1919
+ "$ref": "#/components/schemas/basis"
1920
+ }
1921
+ }
1922
+ },
1923
+ "transaction": {
1924
+ "type": "object",
1925
+ "properties": {
1926
+ "type": {
1927
+ "type": "string",
1928
+ "nullable": true
1929
+ },
1930
+ "status": {
1931
+ "type": "string",
1932
+ "nullable": true
1933
+ },
1934
+ "amount": {
1935
+ "$ref": "#/components/schemas/money"
1936
+ },
1937
+ "native_amount": {
1938
+ "$ref": "#/components/schemas/money"
1939
+ },
1940
+ "description": {
1941
+ "type": "string",
1942
+ "nullable": true
1943
+ },
1944
+ "created_at": {
1945
+ "type": "string",
1946
+ "format": "date-time",
1947
+ "nullable": true
1948
+ },
1949
+ "updated_at": {
1950
+ "type": "string",
1951
+ "format": "date-time",
1952
+ "nullable": true
1953
+ },
1954
+ "network": {
1955
+ "$ref": "#/components/schemas/network"
1956
+ },
1957
+ "to": {
1958
+ "$ref": "#/components/schemas/to"
1959
+ },
1960
+ "from": {
1961
+ "$ref": "#/components/schemas/from"
1962
+ },
1963
+ "instant_exchange": {
1964
+ "type": "boolean",
1965
+ "nullable": true
1966
+ },
1967
+ "details": {
1968
+ "type": "object",
1969
+ "additionalProperties": {
1970
+ "type": "object"
1971
+ },
1972
+ "nullable": true
1973
+ },
1974
+ "application": {
1975
+ "type": "object",
1976
+ "additionalProperties": {
1977
+ "type": "object"
1978
+ },
1979
+ "nullable": true
1980
+ },
1981
+ "buy": {
1982
+ "$ref": "#/components/schemas/entity"
1983
+ },
1984
+ "id": {
1985
+ "type": "string",
1986
+ "nullable": true
1987
+ },
1988
+ "resource": {
1989
+ "type": "string",
1990
+ "nullable": true
1991
+ },
1992
+ "resource_path": {
1993
+ "type": "string",
1994
+ "nullable": true
1995
+ },
1996
+ "extraJson": {
1997
+ "type": "object",
1998
+ "additionalProperties": {
1999
+ "type": "object"
2000
+ }
2001
+ }
2002
+ }
2003
+ },
2004
+ "transactionSummary": {
2005
+ "type": "object",
2006
+ "properties": {
2007
+ "summary": {
2008
+ "$ref": "#/components/schemas/summary"
2009
+ },
2010
+ "transactions": {
2011
+ "type": "array",
2012
+ "items": {
2013
+ "$ref": "#/components/schemas/transaction"
2014
+ },
2015
+ "nullable": true
2016
+ }
2017
+ }
2018
+ },
2019
+ "user": {
2020
+ "type": "object",
2021
+ "properties": {
2022
+ "name": {
2023
+ "type": "string",
2024
+ "nullable": true
2025
+ },
2026
+ "username": {
2027
+ "type": "string",
2028
+ "nullable": true
2029
+ },
2030
+ "profile_location": {
2031
+ "type": "string",
2032
+ "nullable": true
2033
+ },
2034
+ "profile_bio": {
2035
+ "type": "string",
2036
+ "nullable": true
2037
+ },
2038
+ "profile_url": {
2039
+ "type": "string",
2040
+ "nullable": true
2041
+ },
2042
+ "avatar_url": {
2043
+ "type": "string",
2044
+ "nullable": true
2045
+ },
2046
+ "id": {
2047
+ "type": "string",
2048
+ "nullable": true
2049
+ },
2050
+ "resource": {
2051
+ "type": "string",
2052
+ "nullable": true
2053
+ },
2054
+ "resource_path": {
2055
+ "type": "string",
2056
+ "nullable": true
2057
+ },
2058
+ "extraJson": {
2059
+ "type": "object",
2060
+ "additionalProperties": {
2061
+ "type": "object"
2062
+ }
2063
+ }
2064
+ },
2065
+ "nullable": true
2066
+ },
2067
+ "warning": {
2068
+ "type": "object",
2069
+ "properties": {
2070
+ "id": {
2071
+ "type": "string"
2072
+ },
2073
+ "message": {
2074
+ "type": "string"
2075
+ },
2076
+ "url": {
2077
+ "type": "string"
2078
+ },
2079
+ "extraJson": {
2080
+ "type": "object",
2081
+ "additionalProperties": {
2082
+ "type": "object"
2083
+ }
2084
+ }
2085
+ }
2086
+ }
2087
+ },
2088
+ "securitySchemes": {
2089
+ "Implicit": {
2090
+ "type": "oauth2",
2091
+ "flows": {
2092
+ "implicit": {
2093
+ "authorizationUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/authorize",
2094
+ "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
2095
+ "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
2096
+ "scopes": {
2097
+ "api://a2facada-53d1-4545-b1f7-d6aaed170709/user_impersonation": "Default function scope"
2098
+ }
2099
+ }
2100
+ }
2101
+ }
2102
+ }
2103
+ }
2104
+ }