@snokam/mcp-api 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1998 @@
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.test.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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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://be2aa791-358d-411a-a521-acccf0a6a77e/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
+ "componentBlocksInnerOneOfChildrenInner": {
724
+ "type": "object",
725
+ "properties": {
726
+ "sanityType": {
727
+ "enum": [
728
+ "span"
729
+ ],
730
+ "type": "string",
731
+ "default": "span"
732
+ },
733
+ "sanityKey": {
734
+ "type": "string"
735
+ },
736
+ "text": {
737
+ "type": "string"
738
+ },
739
+ "marks": {
740
+ "type": "array",
741
+ "items": {
742
+ "type": "string"
743
+ }
744
+ }
745
+ }
746
+ },
747
+ "componentBlocksInnerOneOfMarkDefsInner": {
748
+ "type": "object",
749
+ "properties": {
750
+ "sanityType": {
751
+ "enum": [
752
+ "link"
753
+ ],
754
+ "type": "string",
755
+ "default": "link"
756
+ },
757
+ "sanityKey": {
758
+ "type": "string"
759
+ },
760
+ "href": {
761
+ "type": "string"
762
+ }
763
+ }
764
+ },
765
+ "cryptoBuys": {
766
+ "type": "object",
767
+ "properties": {
768
+ "sumBuysBTC": {
769
+ "type": "number",
770
+ "format": "double",
771
+ "nullable": true
772
+ },
773
+ "totalDepositNOK": {
774
+ "type": "number",
775
+ "format": "double"
776
+ },
777
+ "feesNOK": {
778
+ "type": "number",
779
+ "format": "double",
780
+ "nullable": true
781
+ }
782
+ }
783
+ },
784
+ "cryptoSells": {
785
+ "type": "object",
786
+ "properties": {
787
+ "sumSendsBTC": {
788
+ "type": "number",
789
+ "format": "double"
790
+ },
791
+ "sumSendsNOK": {
792
+ "type": "number",
793
+ "format": "double"
794
+ }
795
+ }
796
+ },
797
+ "employeeTransactionSummary": {
798
+ "type": "object",
799
+ "properties": {
800
+ "name": {
801
+ "type": "string",
802
+ "nullable": true
803
+ },
804
+ "email": {
805
+ "type": "string",
806
+ "nullable": true
807
+ },
808
+ "summary": {
809
+ "$ref": "#/components/schemas/summary"
810
+ },
811
+ "transactions": {
812
+ "type": "array",
813
+ "items": {
814
+ "$ref": "#/components/schemas/transaction"
815
+ },
816
+ "nullable": true
817
+ }
818
+ }
819
+ },
820
+ "entity": {
821
+ "type": "object",
822
+ "properties": {
823
+ "id": {
824
+ "type": "string",
825
+ "nullable": true
826
+ },
827
+ "resource": {
828
+ "type": "string",
829
+ "nullable": true
830
+ },
831
+ "resource_path": {
832
+ "type": "string",
833
+ "nullable": true
834
+ },
835
+ "extraJson": {
836
+ "type": "object",
837
+ "additionalProperties": {
838
+ "type": "object"
839
+ }
840
+ }
841
+ },
842
+ "nullable": true
843
+ },
844
+ "error": {
845
+ "type": "object",
846
+ "properties": {
847
+ "id": {
848
+ "type": "string"
849
+ },
850
+ "message": {
851
+ "type": "string"
852
+ },
853
+ "url": {
854
+ "type": "string"
855
+ },
856
+ "extraJson": {
857
+ "type": "object",
858
+ "additionalProperties": {
859
+ "type": "object"
860
+ }
861
+ }
862
+ }
863
+ },
864
+ "from": {
865
+ "type": "object",
866
+ "properties": {
867
+ "address": {
868
+ "type": "string",
869
+ "nullable": true
870
+ },
871
+ "currency": {
872
+ "type": "string",
873
+ "nullable": true
874
+ },
875
+ "id": {
876
+ "type": "string",
877
+ "nullable": true
878
+ },
879
+ "resource": {
880
+ "type": "string",
881
+ "nullable": true
882
+ },
883
+ "resource_path": {
884
+ "type": "string",
885
+ "nullable": true
886
+ },
887
+ "extraJson": {
888
+ "type": "object",
889
+ "additionalProperties": {
890
+ "type": "object"
891
+ }
892
+ }
893
+ },
894
+ "nullable": true
895
+ },
896
+ "iSalary": {
897
+ "type": "object",
898
+ "properties": {
899
+ "salary": {
900
+ "type": "integer",
901
+ "format": "int32"
902
+ }
903
+ }
904
+ },
905
+ "jToken": {
906
+ "type": "object"
907
+ },
908
+ "money": {
909
+ "type": "object",
910
+ "properties": {
911
+ "amount": {
912
+ "type": "number",
913
+ "format": "double",
914
+ "nullable": true
915
+ },
916
+ "currency": {
917
+ "type": "string",
918
+ "nullable": true
919
+ },
920
+ "base": {
921
+ "type": "string",
922
+ "nullable": true
923
+ },
924
+ "extraJson": {
925
+ "type": "object",
926
+ "additionalProperties": {
927
+ "type": "object"
928
+ }
929
+ }
930
+ },
931
+ "nullable": true
932
+ },
933
+ "network": {
934
+ "type": "object",
935
+ "properties": {
936
+ "status": {
937
+ "type": "string",
938
+ "nullable": true
939
+ },
940
+ "name": {
941
+ "type": "string",
942
+ "nullable": true
943
+ },
944
+ "hash": {
945
+ "type": "string",
946
+ "nullable": true
947
+ },
948
+ "transaction_fee": {
949
+ "$ref": "#/components/schemas/networkMoney"
950
+ },
951
+ "transaction_amount": {
952
+ "$ref": "#/components/schemas/networkMoney"
953
+ },
954
+ "confirmations": {
955
+ "type": "integer",
956
+ "format": "int64",
957
+ "nullable": true
958
+ },
959
+ "extraJson": {
960
+ "type": "object",
961
+ "additionalProperties": {
962
+ "type": "object"
963
+ }
964
+ }
965
+ },
966
+ "nullable": true
967
+ },
968
+ "networkMoney": {
969
+ "type": "object",
970
+ "properties": {
971
+ "amount": {
972
+ "type": "number",
973
+ "format": "double",
974
+ "nullable": true
975
+ },
976
+ "currency": {
977
+ "type": "string",
978
+ "nullable": true
979
+ },
980
+ "extraJson": {
981
+ "type": "object",
982
+ "additionalProperties": {
983
+ "type": "object"
984
+ }
985
+ }
986
+ },
987
+ "nullable": true
988
+ },
989
+ "response_account": {
990
+ "type": "object",
991
+ "properties": {
992
+ "data": {
993
+ "$ref": "#/components/schemas/account"
994
+ },
995
+ "errors": {
996
+ "type": "array",
997
+ "items": {
998
+ "$ref": "#/components/schemas/error"
999
+ }
1000
+ },
1001
+ "warnings": {
1002
+ "type": "array",
1003
+ "items": {
1004
+ "$ref": "#/components/schemas/warning"
1005
+ }
1006
+ },
1007
+ "extraJson": {
1008
+ "type": "object",
1009
+ "additionalProperties": {
1010
+ "type": "object"
1011
+ }
1012
+ }
1013
+ }
1014
+ },
1015
+ "response_statistics": {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "data": {
1019
+ "$ref": "#/components/schemas/statistics"
1020
+ },
1021
+ "errors": {
1022
+ "type": "array",
1023
+ "items": {
1024
+ "$ref": "#/components/schemas/error"
1025
+ }
1026
+ },
1027
+ "warnings": {
1028
+ "type": "array",
1029
+ "items": {
1030
+ "$ref": "#/components/schemas/warning"
1031
+ }
1032
+ },
1033
+ "extraJson": {
1034
+ "type": "object",
1035
+ "additionalProperties": {
1036
+ "type": "object"
1037
+ }
1038
+ }
1039
+ }
1040
+ },
1041
+ "response_transaction": {
1042
+ "type": "object",
1043
+ "properties": {
1044
+ "data": {
1045
+ "$ref": "#/components/schemas/transaction"
1046
+ },
1047
+ "errors": {
1048
+ "type": "array",
1049
+ "items": {
1050
+ "$ref": "#/components/schemas/error"
1051
+ }
1052
+ },
1053
+ "warnings": {
1054
+ "type": "array",
1055
+ "items": {
1056
+ "$ref": "#/components/schemas/warning"
1057
+ }
1058
+ },
1059
+ "extraJson": {
1060
+ "type": "object",
1061
+ "additionalProperties": {
1062
+ "type": "object"
1063
+ }
1064
+ }
1065
+ }
1066
+ },
1067
+ "response_user": {
1068
+ "type": "object",
1069
+ "properties": {
1070
+ "data": {
1071
+ "$ref": "#/components/schemas/user"
1072
+ },
1073
+ "errors": {
1074
+ "type": "array",
1075
+ "items": {
1076
+ "$ref": "#/components/schemas/error"
1077
+ }
1078
+ },
1079
+ "warnings": {
1080
+ "type": "array",
1081
+ "items": {
1082
+ "$ref": "#/components/schemas/warning"
1083
+ }
1084
+ },
1085
+ "extraJson": {
1086
+ "type": "object",
1087
+ "additionalProperties": {
1088
+ "type": "object"
1089
+ }
1090
+ }
1091
+ }
1092
+ },
1093
+ "sanityEmployee": {
1094
+ "type": "object",
1095
+ "properties": {
1096
+ "maritalStatus": {
1097
+ "enum": [
1098
+ "cohabitant",
1099
+ "married",
1100
+ "single"
1101
+ ],
1102
+ "type": "string",
1103
+ "default": "cohabitant",
1104
+ "nullable": true
1105
+ },
1106
+ "gender": {
1107
+ "enum": [
1108
+ "female",
1109
+ "male",
1110
+ "These are not the genders you are looking for"
1111
+ ],
1112
+ "type": "string",
1113
+ "default": "female"
1114
+ },
1115
+ "sanityType": {
1116
+ "enum": [
1117
+ "employee"
1118
+ ],
1119
+ "type": "string",
1120
+ "default": "employee"
1121
+ },
1122
+ "commissionTier": {
1123
+ "$ref": "#/components/schemas/sanityEmployeeCommissionTier"
1124
+ },
1125
+ "boardMember": {
1126
+ "type": "boolean"
1127
+ },
1128
+ "appRedemptionCode": {
1129
+ "type": "string"
1130
+ },
1131
+ "coinbaseAccountEmail": {
1132
+ "type": "string"
1133
+ },
1134
+ "innovativeSalaryPercentage": {
1135
+ "type": "number",
1136
+ "format": "double"
1137
+ },
1138
+ "innovativeSalary": {
1139
+ "type": "boolean"
1140
+ },
1141
+ "cliftonStrengths": {
1142
+ "type": "array",
1143
+ "items": {
1144
+ "$ref": "#/components/schemas/sanityEmployeeCliftonStrengthsInner"
1145
+ }
1146
+ },
1147
+ "media": {
1148
+ "type": "array",
1149
+ "items": {
1150
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner"
1151
+ }
1152
+ },
1153
+ "equipment": {
1154
+ "type": "array",
1155
+ "items": {
1156
+ "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
1157
+ }
1158
+ },
1159
+ "groups": {
1160
+ "type": "array",
1161
+ "items": {
1162
+ "$ref": "#/components/schemas/sanityEmployeeGroupsInner"
1163
+ }
1164
+ },
1165
+ "satisfaction": {
1166
+ "type": "number",
1167
+ "format": "double"
1168
+ },
1169
+ "about": {
1170
+ "type": "string"
1171
+ },
1172
+ "education": {
1173
+ "type": "string"
1174
+ },
1175
+ "position": {
1176
+ "type": "string"
1177
+ },
1178
+ "nrOfChildren": {
1179
+ "type": "number",
1180
+ "format": "double"
1181
+ },
1182
+ "nextOfKin": {
1183
+ "type": "array",
1184
+ "items": {
1185
+ "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
1186
+ }
1187
+ },
1188
+ "allergies": {
1189
+ "type": "array",
1190
+ "items": {
1191
+ "type": "string"
1192
+ }
1193
+ },
1194
+ "graduationYear": {
1195
+ "type": "number",
1196
+ "format": "double"
1197
+ },
1198
+ "email": {
1199
+ "type": "string"
1200
+ },
1201
+ "telephone": {
1202
+ "type": "string"
1203
+ },
1204
+ "blurred_image": {
1205
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1206
+ },
1207
+ "image": {
1208
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1209
+ },
1210
+ "technologies": {
1211
+ "type": "array",
1212
+ "items": {
1213
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInner"
1214
+ }
1215
+ },
1216
+ "tags": {
1217
+ "type": "array",
1218
+ "items": {
1219
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1220
+ }
1221
+ },
1222
+ "start_date": {
1223
+ "type": "string"
1224
+ },
1225
+ "birth_date": {
1226
+ "type": "string"
1227
+ },
1228
+ "address": {
1229
+ "type": "string"
1230
+ },
1231
+ "manager": {
1232
+ "$ref": "#/components/schemas/sanityEmployeeManager"
1233
+ },
1234
+ "slug": {
1235
+ "$ref": "#/components/schemas/slug"
1236
+ },
1237
+ "name": {
1238
+ "type": "string"
1239
+ },
1240
+ "active": {
1241
+ "type": "boolean"
1242
+ },
1243
+ "sanityRev": {
1244
+ "type": "string"
1245
+ },
1246
+ "sanityUpdatedAt": {
1247
+ "type": "string"
1248
+ },
1249
+ "sanityCreatedAt": {
1250
+ "type": "string"
1251
+ },
1252
+ "sanityId": {
1253
+ "type": "string"
1254
+ }
1255
+ }
1256
+ },
1257
+ "sanityEmployeeCliftonStrengthsInner": {
1258
+ "type": "object",
1259
+ "properties": {
1260
+ "domain": {
1261
+ "enum": [
1262
+ "executing",
1263
+ "influencing",
1264
+ "relationship_building",
1265
+ "strategic_thinking"
1266
+ ],
1267
+ "type": "string",
1268
+ "default": "executing",
1269
+ "nullable": true
1270
+ },
1271
+ "sanityType": {
1272
+ "enum": [
1273
+ "cliftonStrength"
1274
+ ],
1275
+ "type": "string",
1276
+ "default": "cliftonStrength"
1277
+ },
1278
+ "strength": {
1279
+ "type": "string"
1280
+ },
1281
+ "sanityRev": {
1282
+ "type": "string"
1283
+ },
1284
+ "sanityUpdatedAt": {
1285
+ "type": "string"
1286
+ },
1287
+ "sanityCreatedAt": {
1288
+ "type": "string"
1289
+ },
1290
+ "sanityId": {
1291
+ "type": "string"
1292
+ }
1293
+ }
1294
+ },
1295
+ "sanityEmployeeCommissionTier": {
1296
+ "type": "object",
1297
+ "properties": {
1298
+ "sanityType": {
1299
+ "enum": [
1300
+ "commissionTier"
1301
+ ],
1302
+ "type": "string",
1303
+ "default": "commissionTier"
1304
+ },
1305
+ "commission": {
1306
+ "type": "number",
1307
+ "format": "double"
1308
+ },
1309
+ "title": {
1310
+ "type": "string"
1311
+ },
1312
+ "sanityRev": {
1313
+ "type": "string"
1314
+ },
1315
+ "sanityUpdatedAt": {
1316
+ "type": "string"
1317
+ },
1318
+ "sanityCreatedAt": {
1319
+ "type": "string"
1320
+ },
1321
+ "sanityId": {
1322
+ "type": "string"
1323
+ }
1324
+ }
1325
+ },
1326
+ "sanityEmployeeEquipmentInner": {
1327
+ "type": "object",
1328
+ "properties": {
1329
+ "sanityType": {
1330
+ "enum": [
1331
+ "equipment"
1332
+ ],
1333
+ "type": "string",
1334
+ "default": "equipment"
1335
+ },
1336
+ "images": {
1337
+ "type": "array",
1338
+ "items": {
1339
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1340
+ }
1341
+ },
1342
+ "image": {
1343
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
1344
+ },
1345
+ "description": {
1346
+ "type": "array",
1347
+ "items": {
1348
+ "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
1349
+ }
1350
+ },
1351
+ "title": {
1352
+ "type": "string"
1353
+ },
1354
+ "sanityId": {
1355
+ "type": "string"
1356
+ }
1357
+ }
1358
+ },
1359
+ "sanityEmployeeGroupsInner": {
1360
+ "type": "object",
1361
+ "properties": {
1362
+ "sanityType": {
1363
+ "enum": [
1364
+ "group"
1365
+ ],
1366
+ "type": "string",
1367
+ "default": "group"
1368
+ },
1369
+ "image": {
1370
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1371
+ },
1372
+ "leaders": {
1373
+ "type": "array",
1374
+ "items": {
1375
+ "$ref": "#/components/schemas/sanityEmployeeGroupsInnerLeadersInner"
1376
+ }
1377
+ },
1378
+ "description": {
1379
+ "type": "array",
1380
+ "items": {
1381
+ "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
1382
+ }
1383
+ },
1384
+ "name": {
1385
+ "type": "string"
1386
+ },
1387
+ "sanityRev": {
1388
+ "type": "string"
1389
+ },
1390
+ "sanityUpdatedAt": {
1391
+ "type": "string"
1392
+ },
1393
+ "sanityCreatedAt": {
1394
+ "type": "string"
1395
+ },
1396
+ "sanityId": {
1397
+ "type": "string"
1398
+ }
1399
+ }
1400
+ },
1401
+ "sanityEmployeeGroupsInnerLeadersInner": {
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "sanityType": {
1405
+ "enum": [
1406
+ "reference"
1407
+ ],
1408
+ "type": "string",
1409
+ "default": "reference"
1410
+ },
1411
+ "sanityWeak": {
1412
+ "type": "boolean"
1413
+ },
1414
+ "sanityRef": {
1415
+ "type": "string"
1416
+ },
1417
+ "sanityKey": {
1418
+ "type": "string"
1419
+ }
1420
+ }
1421
+ },
1422
+ "sanityEmployeeManager": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "sanityType": {
1426
+ "enum": [
1427
+ "employee"
1428
+ ],
1429
+ "type": "string",
1430
+ "default": "employee"
1431
+ },
1432
+ "tags": {
1433
+ "type": "array",
1434
+ "items": {
1435
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1436
+ }
1437
+ },
1438
+ "image": {
1439
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
1440
+ },
1441
+ "slug": {
1442
+ "$ref": "#/components/schemas/slug"
1443
+ },
1444
+ "email": {
1445
+ "type": "string"
1446
+ },
1447
+ "telephone": {
1448
+ "type": "string"
1449
+ },
1450
+ "name": {
1451
+ "type": "string"
1452
+ },
1453
+ "sanityId": {
1454
+ "type": "string"
1455
+ }
1456
+ }
1457
+ },
1458
+ "sanityEmployeeNextOfKinInner": {
1459
+ "type": "object",
1460
+ "properties": {
1461
+ "sanityType": {
1462
+ "enum": [
1463
+ "nextofkin"
1464
+ ],
1465
+ "type": "string",
1466
+ "default": "nextofkin"
1467
+ },
1468
+ "sanityKey": {
1469
+ "type": "string"
1470
+ },
1471
+ "telephone": {
1472
+ "type": "string"
1473
+ },
1474
+ "name": {
1475
+ "type": "string"
1476
+ }
1477
+ }
1478
+ },
1479
+ "sanitySystemsInnerDescriptionInner": {
1480
+ "type": "object",
1481
+ "properties": {
1482
+ "sanityType": {
1483
+ "enum": [
1484
+ "block"
1485
+ ],
1486
+ "type": "string",
1487
+ "default": "block"
1488
+ },
1489
+ "listItem": {
1490
+ "enum": [
1491
+ "bullet",
1492
+ "number"
1493
+ ],
1494
+ "type": "string",
1495
+ "default": "bullet",
1496
+ "nullable": true
1497
+ },
1498
+ "style": {
1499
+ "enum": [
1500
+ "blockquote",
1501
+ "h1",
1502
+ "h2",
1503
+ "h3",
1504
+ "h4",
1505
+ "h5",
1506
+ "h6",
1507
+ "normal"
1508
+ ],
1509
+ "type": "string",
1510
+ "default": "blockquote",
1511
+ "nullable": true
1512
+ },
1513
+ "sanityKey": {
1514
+ "type": "string"
1515
+ },
1516
+ "level": {
1517
+ "type": "number",
1518
+ "format": "double"
1519
+ },
1520
+ "markDefs": {
1521
+ "type": "array",
1522
+ "items": {
1523
+ "$ref": "#/components/schemas/componentBlocksInnerOneOfMarkDefsInner"
1524
+ }
1525
+ },
1526
+ "children": {
1527
+ "type": "array",
1528
+ "items": {
1529
+ "$ref": "#/components/schemas/componentBlocksInnerOneOfChildrenInner"
1530
+ }
1531
+ }
1532
+ }
1533
+ },
1534
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
1535
+ "type": "object",
1536
+ "properties": {
1537
+ "sanityType": {
1538
+ "enum": [
1539
+ "technology"
1540
+ ],
1541
+ "type": "string",
1542
+ "default": "technology"
1543
+ },
1544
+ "parent": {
1545
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
1546
+ },
1547
+ "slug": {
1548
+ "$ref": "#/components/schemas/slug"
1549
+ },
1550
+ "title": {
1551
+ "type": "string"
1552
+ },
1553
+ "sanityId": {
1554
+ "type": "string"
1555
+ }
1556
+ }
1557
+ },
1558
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "sanityType": {
1562
+ "enum": [
1563
+ "tag"
1564
+ ],
1565
+ "type": "string",
1566
+ "default": "tag"
1567
+ },
1568
+ "slug": {
1569
+ "$ref": "#/components/schemas/slug"
1570
+ },
1571
+ "name": {
1572
+ "type": "string"
1573
+ },
1574
+ "sanityId": {
1575
+ "type": "string"
1576
+ }
1577
+ }
1578
+ },
1579
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerContentInnerOneOf4MediaInner": {
1580
+ "type": "object",
1581
+ "properties": {
1582
+ "actualInstance": {
1583
+ "type": "object"
1584
+ },
1585
+ "isNullable": {
1586
+ "type": "boolean"
1587
+ },
1588
+ "schemaType": {
1589
+ "type": "string"
1590
+ }
1591
+ }
1592
+ },
1593
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "sanityType": {
1597
+ "enum": [
1598
+ "image"
1599
+ ],
1600
+ "type": "string",
1601
+ "default": "image"
1602
+ },
1603
+ "asset": {
1604
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
1605
+ }
1606
+ }
1607
+ },
1608
+ "sanityTvCategoryDashboardsInnerBackgroundImage": {
1609
+ "type": "object",
1610
+ "properties": {
1611
+ "sanityType": {
1612
+ "enum": [
1613
+ "image"
1614
+ ],
1615
+ "type": "string",
1616
+ "default": "image"
1617
+ },
1618
+ "asset": {
1619
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
1620
+ }
1621
+ }
1622
+ },
1623
+ "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "sanityType": {
1627
+ "enum": [
1628
+ "sanity.imageAsset"
1629
+ ],
1630
+ "type": "string",
1631
+ "default": "sanity.imageAsset"
1632
+ },
1633
+ "mimeType": {
1634
+ "type": "string"
1635
+ },
1636
+ "originalFilename": {
1637
+ "type": "string"
1638
+ },
1639
+ "url": {
1640
+ "type": "string"
1641
+ },
1642
+ "sanityId": {
1643
+ "type": "string"
1644
+ }
1645
+ }
1646
+ },
1647
+ "slug": {
1648
+ "type": "object",
1649
+ "properties": {
1650
+ "sanityType": {
1651
+ "enum": [
1652
+ "slug"
1653
+ ],
1654
+ "type": "string",
1655
+ "default": "slug"
1656
+ },
1657
+ "source": {
1658
+ "type": "string"
1659
+ },
1660
+ "current": {
1661
+ "type": "string"
1662
+ }
1663
+ }
1664
+ },
1665
+ "statistics": {
1666
+ "type": "object",
1667
+ "properties": {
1668
+ "numberOfEmployeesActivated": {
1669
+ "type": "integer",
1670
+ "format": "int32"
1671
+ },
1672
+ "totalNumberOfEmployees": {
1673
+ "type": "integer",
1674
+ "format": "int32"
1675
+ },
1676
+ "numberOfEmployeesActivatedPercentage": {
1677
+ "type": "number",
1678
+ "format": "float"
1679
+ },
1680
+ "averagePercentageOfActivatedEmployees": {
1681
+ "type": "number",
1682
+ "format": "float"
1683
+ },
1684
+ "averagePercentageOfAllEmployees": {
1685
+ "type": "number",
1686
+ "format": "float"
1687
+ },
1688
+ "cryptoSends": {
1689
+ "$ref": "#/components/schemas/cryptoSells"
1690
+ },
1691
+ "cryptoBuys": {
1692
+ "$ref": "#/components/schemas/cryptoBuys"
1693
+ },
1694
+ "accountBalance": {
1695
+ "$ref": "#/components/schemas/accountBalance"
1696
+ },
1697
+ "totalProfitNOK": {
1698
+ "type": "number",
1699
+ "format": "double"
1700
+ }
1701
+ },
1702
+ "nullable": true
1703
+ },
1704
+ "summary": {
1705
+ "type": "object",
1706
+ "properties": {
1707
+ "amount": {
1708
+ "$ref": "#/components/schemas/amount"
1709
+ }
1710
+ },
1711
+ "nullable": true
1712
+ },
1713
+ "tax": {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "percent": {
1717
+ "type": "integer",
1718
+ "format": "int32"
1719
+ },
1720
+ "btc": {
1721
+ "type": "number",
1722
+ "format": "double"
1723
+ },
1724
+ "nok": {
1725
+ "type": "number",
1726
+ "format": "double"
1727
+ }
1728
+ }
1729
+ },
1730
+ "timeTransactionSummary": {
1731
+ "type": "object",
1732
+ "properties": {
1733
+ "activityCode": {
1734
+ "type": "string"
1735
+ },
1736
+ "activityName": {
1737
+ "type": "string"
1738
+ },
1739
+ "projectCode": {
1740
+ "type": "string"
1741
+ },
1742
+ "projectName": {
1743
+ "type": "string"
1744
+ },
1745
+ "hours": {
1746
+ "type": "number",
1747
+ "format": "double",
1748
+ "nullable": true
1749
+ },
1750
+ "hourlyRate": {
1751
+ "type": "integer",
1752
+ "format": "int32",
1753
+ "nullable": true
1754
+ },
1755
+ "commission": {
1756
+ "type": "number",
1757
+ "format": "float",
1758
+ "nullable": true
1759
+ }
1760
+ }
1761
+ },
1762
+ "to": {
1763
+ "type": "object",
1764
+ "properties": {
1765
+ "address": {
1766
+ "type": "string",
1767
+ "nullable": true
1768
+ },
1769
+ "currency": {
1770
+ "type": "string",
1771
+ "nullable": true
1772
+ },
1773
+ "id": {
1774
+ "type": "string",
1775
+ "nullable": true
1776
+ },
1777
+ "resource": {
1778
+ "type": "string",
1779
+ "nullable": true
1780
+ },
1781
+ "resource_path": {
1782
+ "type": "string",
1783
+ "nullable": true
1784
+ },
1785
+ "extraJson": {
1786
+ "type": "object",
1787
+ "additionalProperties": {
1788
+ "type": "object"
1789
+ }
1790
+ }
1791
+ },
1792
+ "nullable": true
1793
+ },
1794
+ "todaysSalarySummary": {
1795
+ "type": "object",
1796
+ "properties": {
1797
+ "name": {
1798
+ "type": "string",
1799
+ "nullable": true
1800
+ },
1801
+ "email": {
1802
+ "type": "string",
1803
+ "nullable": true
1804
+ },
1805
+ "todaysSalary": {
1806
+ "$ref": "#/components/schemas/amount"
1807
+ },
1808
+ "innovativeSalaryPercentage": {
1809
+ "type": "integer",
1810
+ "format": "int32"
1811
+ },
1812
+ "basis": {
1813
+ "$ref": "#/components/schemas/basis"
1814
+ }
1815
+ }
1816
+ },
1817
+ "transaction": {
1818
+ "type": "object",
1819
+ "properties": {
1820
+ "type": {
1821
+ "type": "string",
1822
+ "nullable": true
1823
+ },
1824
+ "status": {
1825
+ "type": "string",
1826
+ "nullable": true
1827
+ },
1828
+ "amount": {
1829
+ "$ref": "#/components/schemas/money"
1830
+ },
1831
+ "native_amount": {
1832
+ "$ref": "#/components/schemas/money"
1833
+ },
1834
+ "description": {
1835
+ "type": "string",
1836
+ "nullable": true
1837
+ },
1838
+ "created_at": {
1839
+ "type": "string",
1840
+ "format": "date-time",
1841
+ "nullable": true
1842
+ },
1843
+ "updated_at": {
1844
+ "type": "string",
1845
+ "format": "date-time",
1846
+ "nullable": true
1847
+ },
1848
+ "network": {
1849
+ "$ref": "#/components/schemas/network"
1850
+ },
1851
+ "to": {
1852
+ "$ref": "#/components/schemas/to"
1853
+ },
1854
+ "from": {
1855
+ "$ref": "#/components/schemas/from"
1856
+ },
1857
+ "instant_exchange": {
1858
+ "type": "boolean",
1859
+ "nullable": true
1860
+ },
1861
+ "details": {
1862
+ "type": "object",
1863
+ "additionalProperties": {
1864
+ "type": "object"
1865
+ },
1866
+ "nullable": true
1867
+ },
1868
+ "application": {
1869
+ "type": "object",
1870
+ "additionalProperties": {
1871
+ "type": "object"
1872
+ },
1873
+ "nullable": true
1874
+ },
1875
+ "buy": {
1876
+ "$ref": "#/components/schemas/entity"
1877
+ },
1878
+ "id": {
1879
+ "type": "string",
1880
+ "nullable": true
1881
+ },
1882
+ "resource": {
1883
+ "type": "string",
1884
+ "nullable": true
1885
+ },
1886
+ "resource_path": {
1887
+ "type": "string",
1888
+ "nullable": true
1889
+ },
1890
+ "extraJson": {
1891
+ "type": "object",
1892
+ "additionalProperties": {
1893
+ "type": "object"
1894
+ }
1895
+ }
1896
+ }
1897
+ },
1898
+ "transactionSummary": {
1899
+ "type": "object",
1900
+ "properties": {
1901
+ "summary": {
1902
+ "$ref": "#/components/schemas/summary"
1903
+ },
1904
+ "transactions": {
1905
+ "type": "array",
1906
+ "items": {
1907
+ "$ref": "#/components/schemas/transaction"
1908
+ },
1909
+ "nullable": true
1910
+ }
1911
+ }
1912
+ },
1913
+ "user": {
1914
+ "type": "object",
1915
+ "properties": {
1916
+ "name": {
1917
+ "type": "string",
1918
+ "nullable": true
1919
+ },
1920
+ "username": {
1921
+ "type": "string",
1922
+ "nullable": true
1923
+ },
1924
+ "profile_location": {
1925
+ "type": "string",
1926
+ "nullable": true
1927
+ },
1928
+ "profile_bio": {
1929
+ "type": "string",
1930
+ "nullable": true
1931
+ },
1932
+ "profile_url": {
1933
+ "type": "string",
1934
+ "nullable": true
1935
+ },
1936
+ "avatar_url": {
1937
+ "type": "string",
1938
+ "nullable": true
1939
+ },
1940
+ "id": {
1941
+ "type": "string",
1942
+ "nullable": true
1943
+ },
1944
+ "resource": {
1945
+ "type": "string",
1946
+ "nullable": true
1947
+ },
1948
+ "resource_path": {
1949
+ "type": "string",
1950
+ "nullable": true
1951
+ },
1952
+ "extraJson": {
1953
+ "type": "object",
1954
+ "additionalProperties": {
1955
+ "type": "object"
1956
+ }
1957
+ }
1958
+ },
1959
+ "nullable": true
1960
+ },
1961
+ "warning": {
1962
+ "type": "object",
1963
+ "properties": {
1964
+ "id": {
1965
+ "type": "string"
1966
+ },
1967
+ "message": {
1968
+ "type": "string"
1969
+ },
1970
+ "url": {
1971
+ "type": "string"
1972
+ },
1973
+ "extraJson": {
1974
+ "type": "object",
1975
+ "additionalProperties": {
1976
+ "type": "object"
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+ },
1982
+ "securitySchemes": {
1983
+ "Implicit": {
1984
+ "type": "oauth2",
1985
+ "flows": {
1986
+ "implicit": {
1987
+ "authorizationUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/authorize",
1988
+ "tokenUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
1989
+ "refreshUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
1990
+ "scopes": {
1991
+ "api://be2aa791-358d-411a-a521-acccf0a6a77e/user_impersonation": "Default function scope"
1992
+ }
1993
+ }
1994
+ }
1995
+ }
1996
+ }
1997
+ }
1998
+ }