@snokam/mcp-api 0.180.0 → 0.180.2

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.
@@ -2975,23 +2975,6 @@
2975
2975
  },
2976
2976
  "components": {
2977
2977
  "schemas": {
2978
- "accountBalance": {
2979
- "type": "object",
2980
- "properties": {
2981
- "btc": {
2982
- "type": "number",
2983
- "format": "double"
2984
- },
2985
- "btcInNOK": {
2986
- "type": "number",
2987
- "format": "double"
2988
- },
2989
- "eur": {
2990
- "type": "number",
2991
- "format": "double"
2992
- }
2993
- }
2994
- },
2995
2978
  "accountingPayItem": {
2996
2979
  "type": "object",
2997
2980
  "properties": {
@@ -3006,32 +2989,6 @@
3006
2989
  }
3007
2990
  }
3008
2991
  },
3009
- "accountingProject": {
3010
- "type": "object",
3011
- "properties": {
3012
- "code": {
3013
- "type": "string"
3014
- },
3015
- "name": {
3016
- "type": "string"
3017
- },
3018
- "customerCode": {
3019
- "type": "integer",
3020
- "format": "int64",
3021
- "nullable": true
3022
- },
3023
- "startDate": {
3024
- "type": "string",
3025
- "format": "date-time",
3026
- "nullable": true
3027
- },
3028
- "endDate": {
3029
- "type": "string",
3030
- "format": "date-time",
3031
- "nullable": true
3032
- }
3033
- }
3034
- },
3035
2992
  "accountingSalaryLine": {
3036
2993
  "type": "object",
3037
2994
  "properties": {
@@ -3136,28 +3093,6 @@
3136
3093
  },
3137
3094
  "nullable": true
3138
3095
  },
3139
- "basis": {
3140
- "type": "object",
3141
- "properties": {
3142
- "salaryLines": {
3143
- "type": "array",
3144
- "items": {
3145
- "type": "object"
3146
- }
3147
- },
3148
- "timeTransactions": {
3149
- "type": "array",
3150
- "items": {
3151
- "type": "object"
3152
- }
3153
- },
3154
- "salary": {
3155
- "type": "integer",
3156
- "format": "int32"
3157
- }
3158
- },
3159
- "nullable": true
3160
- },
3161
3096
  "breakdownRow": {
3162
3097
  "type": "object",
3163
3098
  "properties": {
@@ -3183,48 +3118,6 @@
3183
3118
  }
3184
3119
  }
3185
3120
  },
3186
- "componentBlocksInnerOneOfChildrenInner": {
3187
- "type": "object",
3188
- "properties": {
3189
- "sanityType": {
3190
- "enum": [
3191
- "span"
3192
- ],
3193
- "type": "string",
3194
- "default": "span"
3195
- },
3196
- "marks": {
3197
- "type": "array",
3198
- "items": {
3199
- "type": "string"
3200
- }
3201
- },
3202
- "sanityKey": {
3203
- "type": "string"
3204
- },
3205
- "text": {
3206
- "type": "string"
3207
- }
3208
- }
3209
- },
3210
- "componentBlocksInnerOneOfMarkDefsInner": {
3211
- "type": "object",
3212
- "properties": {
3213
- "sanityType": {
3214
- "enum": [
3215
- "link"
3216
- ],
3217
- "type": "string",
3218
- "default": "link"
3219
- },
3220
- "href": {
3221
- "type": "string"
3222
- },
3223
- "sanityKey": {
3224
- "type": "string"
3225
- }
3226
- }
3227
- },
3228
3121
  "cryptoAccount": {
3229
3122
  "type": "object",
3230
3123
  "properties": {
@@ -3236,25 +3129,6 @@
3236
3129
  }
3237
3130
  }
3238
3131
  },
3239
- "cryptoBuys": {
3240
- "type": "object",
3241
- "properties": {
3242
- "sumBuysBTC": {
3243
- "type": "number",
3244
- "format": "double",
3245
- "nullable": true
3246
- },
3247
- "totalDepositNOK": {
3248
- "type": "number",
3249
- "format": "double"
3250
- },
3251
- "feesNOK": {
3252
- "type": "number",
3253
- "format": "double",
3254
- "nullable": true
3255
- }
3256
- }
3257
- },
3258
3132
  "cryptoMoney": {
3259
3133
  "type": "object",
3260
3134
  "properties": {
@@ -3267,27 +3141,6 @@
3267
3141
  }
3268
3142
  }
3269
3143
  },
3270
- "cryptoSells": {
3271
- "type": "object",
3272
- "properties": {
3273
- "sumSendsBTC": {
3274
- "type": "number",
3275
- "format": "double"
3276
- },
3277
- "sumSendsNOK": {
3278
- "type": "number",
3279
- "format": "double"
3280
- }
3281
- }
3282
- },
3283
- "cryptoUser": {
3284
- "type": "object",
3285
- "properties": {
3286
- "name": {
3287
- "type": "string"
3288
- }
3289
- }
3290
- },
3291
3144
  "detailedSalaryLine": {
3292
3145
  "type": "object",
3293
3146
  "properties": {
@@ -3511,114 +3364,6 @@
3511
3364
  }
3512
3365
  }
3513
3366
  },
3514
- "employeeSalary": {
3515
- "required": [
3516
- "name",
3517
- "email",
3518
- "salaryLines",
3519
- "salary"
3520
- ],
3521
- "type": "object",
3522
- "properties": {
3523
- "name": {
3524
- "minLength": 1,
3525
- "type": "string"
3526
- },
3527
- "email": {
3528
- "minLength": 1,
3529
- "type": "string"
3530
- },
3531
- "salaryLines": {
3532
- "type": "array",
3533
- "items": {
3534
- "$ref": "#/components/schemas/iSalary"
3535
- }
3536
- },
3537
- "salary": {
3538
- "type": "integer",
3539
- "format": "int32"
3540
- }
3541
- }
3542
- },
3543
- "employeeStockInfo": {
3544
- "required": [
3545
- "employeeId",
3546
- "employeeName",
3547
- "employeeEmail",
3548
- "shareholderId",
3549
- "shareholderName",
3550
- "shares",
3551
- "ownershipPercentage",
3552
- "value",
3553
- "transactionHistory",
3554
- "ownershipHistory"
3555
- ],
3556
- "type": "object",
3557
- "properties": {
3558
- "employeeId": {
3559
- "minLength": 1,
3560
- "type": "string"
3561
- },
3562
- "employeeName": {
3563
- "minLength": 1,
3564
- "type": "string"
3565
- },
3566
- "employeeEmail": {
3567
- "minLength": 1,
3568
- "type": "string"
3569
- },
3570
- "employeeImageUrl": {
3571
- "type": "string"
3572
- },
3573
- "shareholderId": {
3574
- "minLength": 1,
3575
- "type": "string"
3576
- },
3577
- "shareholderName": {
3578
- "minLength": 1,
3579
- "type": "string"
3580
- },
3581
- "shares": {
3582
- "type": "integer",
3583
- "format": "int32"
3584
- },
3585
- "ownershipPercentage": {
3586
- "type": "number",
3587
- "format": "double"
3588
- },
3589
- "value": {
3590
- "type": "number",
3591
- "format": "double"
3592
- },
3593
- "valueAtStart": {
3594
- "type": "number",
3595
- "format": "double",
3596
- "nullable": true
3597
- },
3598
- "valueChange": {
3599
- "type": "number",
3600
- "format": "double",
3601
- "nullable": true
3602
- },
3603
- "valueChangePercentage": {
3604
- "type": "number",
3605
- "format": "double",
3606
- "nullable": true
3607
- },
3608
- "transactionHistory": {
3609
- "type": "array",
3610
- "items": {
3611
- "$ref": "#/components/schemas/stockTransaction"
3612
- }
3613
- },
3614
- "ownershipHistory": {
3615
- "type": "array",
3616
- "items": {
3617
- "$ref": "#/components/schemas/ownershipSnapshot"
3618
- }
3619
- }
3620
- }
3621
- },
3622
3367
  "employeeTimeTransactionSummary": {
3623
3368
  "required": [
3624
3369
  "name",
@@ -3733,26 +3478,6 @@
3733
3478
  },
3734
3479
  "nullable": true
3735
3480
  },
3736
- "error": {
3737
- "type": "object",
3738
- "properties": {
3739
- "id": {
3740
- "type": "string"
3741
- },
3742
- "message": {
3743
- "type": "string"
3744
- },
3745
- "url": {
3746
- "type": "string"
3747
- },
3748
- "extraJson": {
3749
- "type": "object",
3750
- "additionalProperties": {
3751
- "type": "object"
3752
- }
3753
- }
3754
- }
3755
- },
3756
3481
  "estimatedSalary": {
3757
3482
  "type": "object",
3758
3483
  "properties": {
@@ -3876,29 +3601,6 @@
3876
3601
  }
3877
3602
  }
3878
3603
  },
3879
- "integrationHealthResult": {
3880
- "type": "object",
3881
- "properties": {
3882
- "key": {
3883
- "type": "string"
3884
- },
3885
- "status": {
3886
- "type": "string"
3887
- },
3888
- "message": {
3889
- "type": "string"
3890
- }
3891
- }
3892
- },
3893
- "iSalary": {
3894
- "type": "object",
3895
- "properties": {
3896
- "salary": {
3897
- "type": "integer",
3898
- "format": "int32"
3899
- }
3900
- }
3901
- },
3902
3604
  "jToken": {
3903
3605
  "type": "object"
3904
3606
  },
@@ -3983,71 +3685,20 @@
3983
3685
  },
3984
3686
  "nullable": true
3985
3687
  },
3986
- "ownershipSnapshot": {
3987
- "required": [
3988
- "date",
3989
- "totalShares",
3990
- "shareholders"
3991
- ],
3688
+ "pension": {
3992
3689
  "type": "object",
3993
3690
  "properties": {
3994
- "date": {
3995
- "minLength": 1,
3996
- "type": "string",
3997
- "format": "date-time"
3998
- },
3999
- "totalShares": {
3691
+ "under12G": {
4000
3692
  "type": "integer",
4001
3693
  "format": "int32"
4002
3694
  },
4003
- "shareholders": {
4004
- "type": "array",
4005
- "items": {
4006
- "$ref": "#/components/schemas/shareholderOwnership"
4007
- }
3695
+ "above7G": {
3696
+ "type": "integer",
3697
+ "format": "int32"
4008
3698
  },
4009
- "companyValuation": {
4010
- "type": "number",
4011
- "format": "double",
4012
- "nullable": true
4013
- }
4014
- }
4015
- },
4016
- "pageEmployeeOrderInner": {
4017
- "type": "object",
4018
- "properties": {
4019
- "sanityType": {
4020
- "enum": [
4021
- "reference"
4022
- ],
4023
- "type": "string",
4024
- "default": "reference"
4025
- },
4026
- "sanityKey": {
4027
- "type": "string"
4028
- },
4029
- "sanityRef": {
4030
- "type": "string"
4031
- },
4032
- "sanityWeak": {
4033
- "type": "boolean"
4034
- }
4035
- }
4036
- },
4037
- "pension": {
4038
- "type": "object",
4039
- "properties": {
4040
- "under12G": {
4041
- "type": "integer",
4042
- "format": "int32"
4043
- },
4044
- "above7G": {
4045
- "type": "integer",
4046
- "format": "int32"
4047
- },
4048
- "total": {
4049
- "type": "integer",
4050
- "format": "int32"
3699
+ "total": {
3700
+ "type": "integer",
3701
+ "format": "int32"
4051
3702
  }
4052
3703
  }
4053
3704
  },
@@ -4116,152 +3767,6 @@
4116
3767
  }
4117
3768
  }
4118
3769
  },
4119
- "projectSubcontractor": {
4120
- "type": "object",
4121
- "properties": {
4122
- "supplierCode": {
4123
- "type": "integer",
4124
- "format": "int64"
4125
- },
4126
- "supplierName": {
4127
- "type": "string"
4128
- },
4129
- "incomingInvoices": {
4130
- "type": "array",
4131
- "items": {
4132
- "$ref": "#/components/schemas/subcontractorSourceInvoiceSummary"
4133
- }
4134
- },
4135
- "outgoingInvoices": {
4136
- "type": "array",
4137
- "items": {
4138
- "$ref": "#/components/schemas/subcontractorDraftInvoiceSummary"
4139
- }
4140
- }
4141
- }
4142
- },
4143
- "provisionSalaryResult": {
4144
- "required": [
4145
- "salary",
4146
- "pension",
4147
- "employerTax"
4148
- ],
4149
- "type": "object",
4150
- "properties": {
4151
- "salary": {
4152
- "type": "integer",
4153
- "format": "int32"
4154
- },
4155
- "holidayPay": {
4156
- "type": "integer",
4157
- "format": "int32",
4158
- "nullable": true
4159
- },
4160
- "pension": {
4161
- "$ref": "#/components/schemas/pension"
4162
- },
4163
- "employerTax": {
4164
- "$ref": "#/components/schemas/employerTax"
4165
- }
4166
- }
4167
- },
4168
- "response_statistics": {
4169
- "type": "object",
4170
- "properties": {
4171
- "data": {
4172
- "$ref": "#/components/schemas/statistics"
4173
- },
4174
- "errors": {
4175
- "type": "array",
4176
- "items": {
4177
- "$ref": "#/components/schemas/error"
4178
- }
4179
- },
4180
- "warnings": {
4181
- "type": "array",
4182
- "items": {
4183
- "$ref": "#/components/schemas/warning"
4184
- }
4185
- },
4186
- "extraJson": {
4187
- "type": "object",
4188
- "additionalProperties": {
4189
- "type": "object"
4190
- }
4191
- }
4192
- }
4193
- },
4194
- "response_transaction": {
4195
- "type": "object",
4196
- "properties": {
4197
- "data": {
4198
- "$ref": "#/components/schemas/transaction"
4199
- },
4200
- "errors": {
4201
- "type": "array",
4202
- "items": {
4203
- "$ref": "#/components/schemas/error"
4204
- }
4205
- },
4206
- "warnings": {
4207
- "type": "array",
4208
- "items": {
4209
- "$ref": "#/components/schemas/warning"
4210
- }
4211
- },
4212
- "extraJson": {
4213
- "type": "object",
4214
- "additionalProperties": {
4215
- "type": "object"
4216
- }
4217
- }
4218
- }
4219
- },
4220
- "salaryEstimate": {
4221
- "required": [
4222
- "title",
4223
- "hours",
4224
- "commission",
4225
- "hourlyRate",
4226
- "salary",
4227
- "pension",
4228
- "employerTax"
4229
- ],
4230
- "type": "object",
4231
- "properties": {
4232
- "title": {
4233
- "minLength": 1,
4234
- "type": "string"
4235
- },
4236
- "hours": {
4237
- "type": "number",
4238
- "format": "float"
4239
- },
4240
- "commission": {
4241
- "type": "number",
4242
- "format": "float"
4243
- },
4244
- "hourlyRate": {
4245
- "type": "integer",
4246
- "format": "int32"
4247
- },
4248
- "salary": {
4249
- "type": "integer",
4250
- "format": "int32"
4251
- },
4252
- "holidayPay": {
4253
- "type": "integer",
4254
- "format": "int32",
4255
- "nullable": true
4256
- },
4257
- "pension": {
4258
- "$ref": "#/components/schemas/pension"
4259
- },
4260
- "employerTax": {
4261
- "$ref": "#/components/schemas/employerTax"
4262
- }
4263
- }
4264
- },
4265
3770
  "salaryEstimateInput": {
4266
3771
  "required": [
4267
3772
  "name",
@@ -4278,1239 +3783,45 @@
4278
3783
  "type": "string"
4279
3784
  },
4280
3785
  "email": {
4281
- "minLength": 1,
4282
- "type": "string"
4283
- },
4284
- "title": {
4285
- "minLength": 1,
4286
- "type": "string"
4287
- },
4288
- "hours": {
4289
- "type": "number",
4290
- "format": "float"
4291
- },
4292
- "commission": {
4293
- "type": "number",
4294
- "format": "float"
4295
- },
4296
- "hourlyRate": {
4297
- "type": "integer",
4298
- "format": "int32"
4299
- }
4300
- }
4301
- },
4302
- "salaryEstimateWithEmployee": {
4303
- "required": [
4304
- "name",
4305
- "email",
4306
- "title",
4307
- "hours",
4308
- "commission",
4309
- "hourlyRate",
4310
- "salary",
4311
- "pension",
4312
- "employerTax"
4313
- ],
4314
- "type": "object",
4315
- "properties": {
4316
- "name": {
4317
- "minLength": 1,
4318
- "type": "string"
4319
- },
4320
- "email": {
4321
- "minLength": 1,
4322
- "type": "string"
4323
- },
4324
- "title": {
4325
- "minLength": 1,
4326
- "type": "string"
4327
- },
4328
- "hours": {
4329
- "type": "number",
4330
- "format": "float"
4331
- },
4332
- "commission": {
4333
- "type": "number",
4334
- "format": "float"
4335
- },
4336
- "hourlyRate": {
4337
- "type": "integer",
4338
- "format": "int32"
4339
- },
4340
- "salary": {
4341
- "type": "integer",
4342
- "format": "int32"
4343
- },
4344
- "holidayPay": {
4345
- "type": "integer",
4346
- "format": "int32",
4347
- "nullable": true
4348
- },
4349
- "pension": {
4350
- "$ref": "#/components/schemas/pension"
4351
- },
4352
- "employerTax": {
4353
- "$ref": "#/components/schemas/employerTax"
4354
- }
4355
- }
4356
- },
4357
- "salarySummary": {
4358
- "required": [
4359
- "salary",
4360
- "salaryLines"
4361
- ],
4362
- "type": "object",
4363
- "properties": {
4364
- "salary": {
4365
- "type": "integer",
4366
- "format": "int32"
4367
- },
4368
- "salaryLines": {
4369
- "type": "array",
4370
- "items": {
4371
- "$ref": "#/components/schemas/iSalary"
4372
- }
4373
- }
4374
- }
4375
- },
4376
- "sanityEmployee": {
4377
- "type": "object",
4378
- "properties": {
4379
- "gender": {
4380
- "enum": [
4381
- "female",
4382
- "male",
4383
- "These are not the genders you are looking for"
4384
- ],
4385
- "type": "string",
4386
- "default": "female"
4387
- },
4388
- "maritalStatus": {
4389
- "enum": [
4390
- "cohabitant",
4391
- "married",
4392
- "single"
4393
- ],
4394
- "type": "string",
4395
- "default": "cohabitant",
4396
- "nullable": true
4397
- },
4398
- "parentalLeaveCoverage": {
4399
- "enum": [
4400
- "80",
4401
- "100"
4402
- ],
4403
- "type": "string",
4404
- "default": "80",
4405
- "nullable": true
4406
- },
4407
- "sanityType": {
4408
- "enum": [
4409
- "employee"
4410
- ],
4411
- "type": "string",
4412
- "default": "employee"
4413
- },
4414
- "about": {
4415
- "type": "string"
4416
- },
4417
- "active": {
4418
- "type": "boolean"
4419
- },
4420
- "address": {
4421
- "type": "string"
4422
- },
4423
- "allergies": {
4424
- "type": "array",
4425
- "items": {
4426
- "type": "string"
4427
- }
4428
- },
4429
- "birth_date": {
4430
- "type": "string"
4431
- },
4432
- "blurred_image": {
4433
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
4434
- },
4435
- "boardMember": {
4436
- "type": "boolean"
4437
- },
4438
- "cliftonStrengths": {
4439
- "type": "array",
4440
- "items": {
4441
- "$ref": "#/components/schemas/sanityEmployeeCliftonStrengthsInner"
4442
- }
4443
- },
4444
- "coinbaseAccountEmail": {
4445
- "type": "string"
4446
- },
4447
- "commissionTier": {
4448
- "$ref": "#/components/schemas/sanityEmployeeCommissionTier"
4449
- },
4450
- "education": {
4451
- "type": "string"
4452
- },
4453
- "email": {
4454
- "type": "string"
4455
- },
4456
- "equipment": {
4457
- "type": "array",
4458
- "items": {
4459
- "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
4460
- }
4461
- },
4462
- "externalId": {
4463
- "type": "string"
4464
- },
4465
- "github": {
4466
- "type": "string"
4467
- },
4468
- "graduationYear": {
4469
- "type": "number",
4470
- "format": "double"
4471
- },
4472
- "groups": {
4473
- "type": "array",
4474
- "items": {
4475
- "$ref": "#/components/schemas/sanityEmployeeGroupsInner"
4476
- }
4477
- },
4478
- "image": {
4479
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
4480
- },
4481
- "innovativeSalary": {
4482
- "type": "boolean"
4483
- },
4484
- "innovativeSalaryPercentage": {
4485
- "type": "number",
4486
- "format": "double"
4487
- },
4488
- "isBot": {
4489
- "type": "boolean"
4490
- },
4491
- "isExternal": {
4492
- "type": "boolean"
4493
- },
4494
- "isPublic": {
4495
- "type": "boolean"
4496
- },
4497
- "isSeekingProject": {
4498
- "type": "boolean"
4499
- },
4500
- "linkedin": {
4501
- "type": "string"
4502
- },
4503
- "manager": {
4504
- "$ref": "#/components/schemas/sanityEmployeeManager"
4505
- },
4506
- "media": {
4507
- "type": "array",
4508
- "items": {
4509
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner"
4510
- }
4511
- },
4512
- "name": {
4513
- "type": "string"
4514
- },
4515
- "nextOfKin": {
4516
- "type": "array",
4517
- "items": {
4518
- "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
4519
- }
4520
- },
4521
- "nrOfChildren": {
4522
- "type": "number",
4523
- "format": "double"
4524
- },
4525
- "parentalLeaveStartDate": {
4526
- "type": "string"
4527
- },
4528
- "personalProjectRequirements": {
4529
- "type": "string"
4530
- },
4531
- "position": {
4532
- "type": "string"
4533
- },
4534
- "salaryConfig": {
4535
- "$ref": "#/components/schemas/sanityEmployeeSalaryConfig"
4536
- },
4537
- "sanityCreatedAt": {
4538
- "type": "string"
4539
- },
4540
- "sanityId": {
4541
- "type": "string"
4542
- },
4543
- "sanityRev": {
4544
- "type": "string"
4545
- },
4546
- "sanityUpdatedAt": {
4547
- "type": "string"
4548
- },
4549
- "scopeGrants": {
4550
- "type": "array",
4551
- "items": {
4552
- "type": "string"
4553
- }
4554
- },
4555
- "settings": {
4556
- "$ref": "#/components/schemas/sanityEmployeeSettings"
4557
- },
4558
- "slug": {
4559
- "$ref": "#/components/schemas/slug"
4560
- },
4561
- "start_date": {
4562
- "type": "string"
4563
- },
4564
- "tags": {
4565
- "type": "array",
4566
- "items": {
4567
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
4568
- }
4569
- },
4570
- "technologies": {
4571
- "type": "array",
4572
- "items": {
4573
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInner"
4574
- }
4575
- },
4576
- "telephone": {
4577
- "type": "string"
4578
- }
4579
- }
4580
- },
4581
- "sanityEmployeeCliftonStrengthsInner": {
4582
- "type": "object",
4583
- "properties": {
4584
- "domain": {
4585
- "enum": [
4586
- "executing",
4587
- "influencing",
4588
- "relationship_building",
4589
- "strategic_thinking"
4590
- ],
4591
- "type": "string",
4592
- "default": "executing",
4593
- "nullable": true
4594
- },
4595
- "sanityType": {
4596
- "enum": [
4597
- "cliftonStrength"
4598
- ],
4599
- "type": "string",
4600
- "default": "cliftonStrength"
4601
- },
4602
- "sanityCreatedAt": {
4603
- "type": "string"
4604
- },
4605
- "sanityId": {
4606
- "type": "string"
4607
- },
4608
- "sanityRev": {
4609
- "type": "string"
4610
- },
4611
- "sanityUpdatedAt": {
4612
- "type": "string"
4613
- },
4614
- "strength": {
4615
- "type": "string"
4616
- }
4617
- }
4618
- },
4619
- "sanityEmployeeCommissionTier": {
4620
- "type": "object",
4621
- "properties": {
4622
- "sanityType": {
4623
- "enum": [
4624
- "commissionTier"
4625
- ],
4626
- "type": "string",
4627
- "default": "commissionTier"
4628
- },
4629
- "commission": {
4630
- "type": "number",
4631
- "format": "double"
4632
- },
4633
- "sanityCreatedAt": {
4634
- "type": "string"
4635
- },
4636
- "sanityId": {
4637
- "type": "string"
4638
- },
4639
- "sanityRev": {
4640
- "type": "string"
4641
- },
4642
- "sanityUpdatedAt": {
4643
- "type": "string"
4644
- },
4645
- "title": {
4646
- "type": "string"
4647
- }
4648
- }
4649
- },
4650
- "sanityEmployeeEquipmentInner": {
4651
- "type": "object",
4652
- "properties": {
4653
- "sanityType": {
4654
- "enum": [
4655
- "equipment"
4656
- ],
4657
- "type": "string",
4658
- "default": "equipment"
4659
- },
4660
- "description": {
4661
- "type": "array",
4662
- "items": {
4663
- "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
4664
- }
4665
- },
4666
- "image": {
4667
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
4668
- },
4669
- "images": {
4670
- "type": "array",
4671
- "items": {
4672
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
4673
- }
4674
- },
4675
- "sanityId": {
4676
- "type": "string"
4677
- },
4678
- "title": {
4679
- "type": "string"
4680
- }
4681
- }
4682
- },
4683
- "sanityEmployeeGroupsInner": {
4684
- "type": "object",
4685
- "properties": {
4686
- "sanityType": {
4687
- "enum": [
4688
- "group"
4689
- ],
4690
- "type": "string",
4691
- "default": "group"
4692
- },
4693
- "description": {
4694
- "type": "array",
4695
- "items": {
4696
- "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
4697
- }
4698
- },
4699
- "image": {
4700
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
4701
- },
4702
- "leaders": {
4703
- "type": "array",
4704
- "items": {
4705
- "$ref": "#/components/schemas/pageEmployeeOrderInner"
4706
- }
4707
- },
4708
- "name": {
4709
- "type": "string"
4710
- },
4711
- "permissions": {
4712
- "type": "string"
4713
- },
4714
- "sanityCreatedAt": {
4715
- "type": "string"
4716
- },
4717
- "sanityId": {
4718
- "type": "string"
4719
- },
4720
- "sanityRev": {
4721
- "type": "string"
4722
- },
4723
- "sanityUpdatedAt": {
4724
- "type": "string"
4725
- },
4726
- "scopeGrants": {
4727
- "type": "array",
4728
- "items": {
4729
- "type": "string"
4730
- }
4731
- }
4732
- }
4733
- },
4734
- "sanityEmployeeManager": {
4735
- "type": "object",
4736
- "properties": {
4737
- "sanityType": {
4738
- "enum": [
4739
- "employee"
4740
- ],
4741
- "type": "string",
4742
- "default": "employee"
4743
- },
4744
- "email": {
4745
- "type": "string"
4746
- },
4747
- "image": {
4748
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
4749
- },
4750
- "isBot": {
4751
- "type": "boolean",
4752
- "nullable": true
4753
- },
4754
- "isExternal": {
4755
- "type": "boolean",
4756
- "nullable": true
4757
- },
4758
- "name": {
4759
- "type": "string"
4760
- },
4761
- "sanityId": {
4762
- "type": "string"
4763
- },
4764
- "slug": {
4765
- "$ref": "#/components/schemas/slug"
4766
- },
4767
- "tags": {
4768
- "type": "array",
4769
- "items": {
4770
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
4771
- }
4772
- },
4773
- "telephone": {
4774
- "type": "string"
4775
- }
4776
- }
4777
- },
4778
- "sanityEmployeeNextOfKinInner": {
4779
- "type": "object",
4780
- "properties": {
4781
- "sanityType": {
4782
- "enum": [
4783
- "nextofkin"
4784
- ],
4785
- "type": "string",
4786
- "default": "nextofkin"
4787
- },
4788
- "name": {
4789
- "type": "string"
4790
- },
4791
- "sanityKey": {
4792
- "type": "string"
4793
- },
4794
- "telephone": {
4795
- "type": "string"
4796
- }
4797
- }
4798
- },
4799
- "sanityEmployeeSalaryConfig": {
4800
- "type": "object",
4801
- "properties": {
4802
- "model": {
4803
- "enum": [
4804
- "snokam.ceo",
4805
- "snokam.employee"
4806
- ],
4807
- "type": "string",
4808
- "default": "snokam.ceo",
4809
- "nullable": true
4810
- }
4811
- }
4812
- },
4813
- "sanityEmployeeSettings": {
4814
- "type": "object",
4815
- "properties": {
4816
- "colorScheme": {
4817
- "enum": [
4818
- "dark",
4819
- "light",
4820
- "system"
4821
- ],
4822
- "type": "string",
4823
- "default": "dark",
4824
- "nullable": true
4825
- }
4826
- }
4827
- },
4828
- "sanitySystemsInnerDescriptionInner": {
4829
- "type": "object",
4830
- "properties": {
4831
- "listItem": {
4832
- "enum": [
4833
- "bullet",
4834
- "number"
4835
- ],
4836
- "type": "string",
4837
- "default": "bullet",
4838
- "nullable": true
4839
- },
4840
- "sanityType": {
4841
- "enum": [
4842
- "block"
4843
- ],
4844
- "type": "string",
4845
- "default": "block"
4846
- },
4847
- "style": {
4848
- "enum": [
4849
- "blockquote",
4850
- "h1",
4851
- "h2",
4852
- "h3",
4853
- "h4",
4854
- "h5",
4855
- "h6",
4856
- "normal"
4857
- ],
4858
- "type": "string",
4859
- "default": "blockquote",
4860
- "nullable": true
4861
- },
4862
- "children": {
4863
- "type": "array",
4864
- "items": {
4865
- "$ref": "#/components/schemas/componentBlocksInnerOneOfChildrenInner"
4866
- }
4867
- },
4868
- "level": {
4869
- "type": "number",
4870
- "format": "double"
4871
- },
4872
- "markDefs": {
4873
- "type": "array",
4874
- "items": {
4875
- "$ref": "#/components/schemas/componentBlocksInnerOneOfMarkDefsInner"
4876
- }
4877
- },
4878
- "sanityKey": {
4879
- "type": "string"
4880
- }
4881
- }
4882
- },
4883
- "sanityTechnologyWithRelationsArticlesInnerMediaOneOf": {
4884
- "type": "object",
4885
- "properties": {
4886
- "sanityType": {
4887
- "enum": [
4888
- "image"
4889
- ],
4890
- "type": "string",
4891
- "default": "image"
4892
- },
4893
- "asset": {
4894
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
4895
- }
4896
- }
4897
- },
4898
- "sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner": {
4899
- "type": "object",
4900
- "properties": {
4901
- "actualInstance": {
4902
- "type": "object"
4903
- },
4904
- "isNullable": {
4905
- "type": "boolean"
4906
- },
4907
- "schemaType": {
4908
- "type": "string"
4909
- }
4910
- }
4911
- },
4912
- "sanityTechnologyWithRelationsEmployeesInnerTagsInner": {
4913
- "type": "object",
4914
- "properties": {
4915
- "sanityType": {
4916
- "enum": [
4917
- "tag"
4918
- ],
4919
- "type": "string",
4920
- "default": "tag"
4921
- },
4922
- "name": {
4923
- "type": "string"
4924
- },
4925
- "sanityId": {
4926
- "type": "string"
4927
- },
4928
- "slug": {
4929
- "$ref": "#/components/schemas/slug"
4930
- }
4931
- }
4932
- },
4933
- "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
4934
- "type": "object",
4935
- "properties": {
4936
- "sanityType": {
4937
- "enum": [
4938
- "technology"
4939
- ],
4940
- "type": "string",
4941
- "default": "technology"
4942
- },
4943
- "parent": {
4944
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
4945
- },
4946
- "sanityId": {
4947
- "type": "string"
4948
- },
4949
- "slug": {
4950
- "$ref": "#/components/schemas/slug"
4951
- },
4952
- "title": {
4953
- "type": "string"
4954
- }
4955
- }
4956
- },
4957
- "sanityTvCategoryDashboardsInnerBackgroundImage": {
4958
- "type": "object",
4959
- "properties": {
4960
- "sanityType": {
4961
- "enum": [
4962
- "image"
4963
- ],
4964
- "type": "string",
4965
- "default": "image"
4966
- },
4967
- "asset": {
4968
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
4969
- }
4970
- }
4971
- },
4972
- "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
4973
- "type": "object",
4974
- "properties": {
4975
- "sanityType": {
4976
- "enum": [
4977
- "sanity.imageAsset"
4978
- ],
4979
- "type": "string",
4980
- "default": "sanity.imageAsset"
4981
- },
4982
- "mimeType": {
4983
- "type": "string"
4984
- },
4985
- "originalFilename": {
4986
- "type": "string"
4987
- },
4988
- "sanityId": {
4989
- "type": "string"
4990
- },
4991
- "url": {
4992
- "type": "string"
4993
- }
4994
- }
4995
- },
4996
- "shareholder": {
4997
- "required": [
4998
- "id",
4999
- "name",
5000
- "type"
5001
- ],
5002
- "type": "object",
5003
- "properties": {
5004
- "id": {
5005
- "minLength": 1,
5006
- "type": "string"
5007
- },
5008
- "name": {
5009
- "minLength": 1,
5010
- "type": "string"
5011
- },
5012
- "type": {
5013
- "minLength": 1,
5014
- "type": "string"
5015
- },
5016
- "organizationNumber": {
5017
- "type": "string"
5018
- },
5019
- "personalNumber": {
5020
- "type": "string"
5021
- },
5022
- "employeeId": {
5023
- "type": "string"
5024
- },
5025
- "employeeName": {
5026
- "type": "string"
5027
- },
5028
- "employeeEmail": {
5029
- "type": "string"
5030
- },
5031
- "employeeImageUrl": {
5032
- "type": "string"
5033
- }
5034
- }
5035
- },
5036
- "shareholderOwnership": {
5037
- "required": [
5038
- "shareholderId",
5039
- "shareholderName",
5040
- "shareholderType",
5041
- "shares",
5042
- "ownershipPercentage"
5043
- ],
5044
- "type": "object",
5045
- "properties": {
5046
- "shareholderId": {
5047
- "minLength": 1,
5048
- "type": "string"
5049
- },
5050
- "shareholderName": {
5051
- "minLength": 1,
5052
- "type": "string"
5053
- },
5054
- "shareholderType": {
5055
- "minLength": 1,
5056
- "type": "string"
5057
- },
5058
- "employeeId": {
5059
- "type": "string"
5060
- },
5061
- "employeeName": {
5062
- "type": "string"
5063
- },
5064
- "employeeEmail": {
5065
- "type": "string"
5066
- },
5067
- "employeeImageUrl": {
5068
- "type": "string"
5069
- },
5070
- "holderOwnerId": {
5071
- "type": "string"
5072
- },
5073
- "holderOwnerName": {
5074
- "type": "string"
5075
- },
5076
- "shares": {
5077
- "type": "integer",
5078
- "format": "int32"
5079
- },
5080
- "ownershipPercentage": {
5081
- "type": "number",
5082
- "format": "double"
5083
- },
5084
- "value": {
5085
- "type": "number",
5086
- "format": "double",
5087
- "nullable": true
5088
- },
5089
- "asOfDate": {
5090
- "type": "string",
5091
- "format": "date-time",
5092
- "nullable": true
5093
- }
5094
- }
5095
- },
5096
- "slug": {
5097
- "type": "object",
5098
- "properties": {
5099
- "sanityType": {
5100
- "enum": [
5101
- "slug"
5102
- ],
5103
- "type": "string",
5104
- "default": "slug"
5105
- },
5106
- "current": {
5107
- "type": "string"
5108
- },
5109
- "source": {
5110
- "type": "string"
5111
- }
5112
- }
5113
- },
5114
- "statistics": {
5115
- "type": "object",
5116
- "properties": {
5117
- "numberOfEmployeesActivated": {
5118
- "type": "integer",
5119
- "format": "int32"
5120
- },
5121
- "totalNumberOfEmployees": {
5122
- "type": "integer",
5123
- "format": "int32"
5124
- },
5125
- "numberOfEmployeesActivatedPercentage": {
5126
- "type": "number",
5127
- "format": "float"
5128
- },
5129
- "averagePercentageOfActivatedEmployees": {
5130
- "type": "number",
5131
- "format": "float"
5132
- },
5133
- "averagePercentageOfAllEmployees": {
5134
- "type": "number",
5135
- "format": "float"
5136
- },
5137
- "cryptoSends": {
5138
- "$ref": "#/components/schemas/cryptoSells"
5139
- },
5140
- "cryptoBuys": {
5141
- "$ref": "#/components/schemas/cryptoBuys"
5142
- },
5143
- "accountBalance": {
5144
- "$ref": "#/components/schemas/accountBalance"
5145
- },
5146
- "totalProfitNOK": {
5147
- "type": "number",
5148
- "format": "double"
5149
- }
5150
- },
5151
- "nullable": true
5152
- },
5153
- "stockOverview": {
5154
- "required": [
5155
- "totalShares",
5156
- "currentOwnership",
5157
- "recentTransactions",
5158
- "ownershipHistory",
5159
- "valuationParameters"
5160
- ],
5161
- "type": "object",
5162
- "properties": {
5163
- "totalShares": {
5164
- "type": "integer",
5165
- "format": "int32"
5166
- },
5167
- "currentOwnership": {
5168
- "type": "array",
5169
- "items": {
5170
- "$ref": "#/components/schemas/shareholderOwnership"
5171
- }
5172
- },
5173
- "recentTransactions": {
5174
- "type": "array",
5175
- "items": {
5176
- "$ref": "#/components/schemas/stockTransaction"
5177
- }
5178
- },
5179
- "ownershipHistory": {
5180
- "type": "array",
5181
- "items": {
5182
- "$ref": "#/components/schemas/ownershipSnapshot"
5183
- }
5184
- },
5185
- "valuationHistory": {
5186
- "type": "array",
5187
- "items": {
5188
- "$ref": "#/components/schemas/valuationHistoryItem"
5189
- }
5190
- },
5191
- "companyValuation": {
5192
- "type": "number",
5193
- "format": "double",
5194
- "nullable": true
5195
- },
5196
- "valuationParameters": {
5197
- "$ref": "#/components/schemas/valuationParameters"
5198
- }
5199
- }
5200
- },
5201
- "stockTransaction": {
5202
- "required": [
5203
- "id",
5204
- "transactionNumber",
5205
- "date",
5206
- "transactionType",
5207
- "toShareholderId",
5208
- "toShareholderName",
5209
- "shares"
5210
- ],
5211
- "type": "object",
5212
- "properties": {
5213
- "id": {
5214
- "minLength": 1,
5215
- "type": "string"
5216
- },
5217
- "transactionNumber": {
5218
- "type": "integer",
5219
- "format": "int32"
5220
- },
5221
- "date": {
5222
- "minLength": 1,
5223
- "type": "string",
5224
- "format": "date-time"
5225
- },
5226
- "transactionType": {
5227
- "minLength": 1,
5228
- "type": "string"
5229
- },
5230
- "splitRatio": {
5231
- "type": "integer",
5232
- "format": "int32",
5233
- "nullable": true
5234
- },
5235
- "fromShareholderId": {
5236
- "type": "string"
5237
- },
5238
- "fromShareholderName": {
5239
- "type": "string"
5240
- },
5241
- "toShareholderId": {
5242
- "minLength": 1,
5243
- "type": "string"
5244
- },
5245
- "toShareholderName": {
5246
- "minLength": 1,
5247
- "type": "string"
5248
- },
5249
- "shares": {
5250
- "type": "integer",
5251
- "format": "int32"
5252
- },
5253
- "pricePerShare": {
5254
- "type": "number",
5255
- "format": "double",
5256
- "nullable": true
5257
- },
5258
- "totalValue": {
5259
- "type": "number",
5260
- "format": "double",
5261
- "nullable": true
5262
- },
5263
- "notes": {
5264
- "type": "string"
5265
- }
5266
- }
5267
- },
5268
- "subcontractorConfig": {
5269
- "type": "object",
5270
- "properties": {
5271
- "name": {
5272
- "type": "string"
5273
- },
5274
- "supplierCode": {
5275
- "type": "integer",
5276
- "format": "int64"
5277
- },
5278
- "cutPercent": {
5279
- "type": "number",
5280
- "format": "double"
5281
- },
5282
- "customerCode": {
5283
- "type": "integer",
5284
- "format": "int64",
5285
- "nullable": true
5286
- }
5287
- }
5288
- },
5289
- "subcontractorDraftInvoiceSummary": {
5290
- "type": "object",
5291
- "properties": {
5292
- "supplierInvoiceId": {
5293
- "type": "string",
5294
- "format": "uuid"
5295
- },
5296
- "invoiceId": {
5297
- "type": "string",
5298
- "format": "uuid",
5299
- "nullable": true
5300
- },
5301
- "customerCode": {
5302
- "type": "integer",
5303
- "format": "int64"
5304
- },
5305
- "currency": {
5306
- "type": "string"
5307
- },
5308
- "totalAmount": {
5309
- "type": "number",
5310
- "format": "double"
5311
- },
5312
- "status": {
5313
- "type": "string"
5314
- }
5315
- }
5316
- },
5317
- "subcontractorIncomePoint": {
5318
- "type": "object",
5319
- "properties": {
5320
- "year": {
5321
- "type": "integer",
5322
- "format": "int32"
5323
- },
5324
- "month": {
5325
- "type": "integer",
5326
- "format": "int32"
5327
- },
5328
- "incoming": {
5329
- "type": "number",
5330
- "format": "double"
5331
- },
5332
- "outgoing": {
5333
- "type": "number",
5334
- "format": "double"
5335
- },
5336
- "margin": {
5337
- "type": "number",
5338
- "format": "double"
5339
- },
5340
- "accumulatedMargin": {
5341
- "type": "number",
5342
- "format": "double"
5343
- }
5344
- }
5345
- },
5346
- "subcontractorInvoiceDraft": {
5347
- "type": "object",
5348
- "properties": {
5349
- "customerCode": {
5350
- "type": "integer",
5351
- "format": "int64"
5352
- },
5353
- "invoiceId": {
5354
- "type": "string",
5355
- "format": "uuid",
5356
- "nullable": true
5357
- }
5358
- }
5359
- },
5360
- "subcontractorInvoiceLine": {
5361
- "type": "object",
5362
- "properties": {
5363
- "description": {
5364
- "type": "string"
5365
- },
5366
- "quantity": {
5367
- "type": "number",
5368
- "format": "double"
5369
- },
5370
- "unitPrice": {
5371
- "type": "number",
5372
- "format": "double"
5373
- },
5374
- "amount": {
5375
- "type": "number",
5376
- "format": "double"
5377
- }
5378
- }
5379
- },
5380
- "subcontractorInvoiceRequest": {
5381
- "type": "object",
5382
- "properties": {
5383
- "supplierInvoiceId": {
5384
- "type": "string"
5385
- },
5386
- "variant": {
5387
- "type": "string"
5388
- },
5389
- "customerCode": {
5390
- "type": "integer",
5391
- "format": "int64",
5392
- "nullable": true
5393
- },
5394
- "cutPercent": {
5395
- "type": "number",
5396
- "format": "double",
5397
- "nullable": true
5398
- }
5399
- }
5400
- },
5401
- "subcontractorInvoiceResult": {
5402
- "type": "object",
5403
- "properties": {
5404
- "supplierInvoiceId": {
5405
- "type": "string",
5406
- "format": "uuid"
5407
- },
5408
- "supplierCode": {
5409
- "type": "integer",
5410
- "format": "int64"
5411
- },
5412
- "customerCode": {
5413
- "type": "integer",
5414
- "format": "int64"
5415
- },
5416
- "cutPercent": {
5417
- "type": "number",
5418
- "format": "double"
5419
- },
5420
- "currency": {
5421
- "type": "string"
5422
- },
5423
- "totalAmount": {
5424
- "type": "number",
5425
- "format": "double"
5426
- },
5427
- "lines": {
5428
- "type": "array",
5429
- "items": {
5430
- "$ref": "#/components/schemas/subcontractorInvoiceLine"
5431
- }
5432
- },
5433
- "draft": {
5434
- "$ref": "#/components/schemas/subcontractorInvoiceDraft"
5435
- }
5436
- }
5437
- },
5438
- "subcontractorMonthlySummary": {
5439
- "type": "object",
5440
- "properties": {
5441
- "supplierCode": {
5442
- "type": "integer",
5443
- "format": "int64"
5444
- },
5445
- "name": {
5446
- "type": "string"
5447
- },
5448
- "cutPercent": {
5449
- "type": "number",
5450
- "format": "double"
5451
- },
5452
- "customerCode": {
5453
- "type": "integer",
5454
- "format": "int64",
5455
- "nullable": true
5456
- },
5457
- "currency": {
3786
+ "minLength": 1,
5458
3787
  "type": "string"
5459
3788
  },
5460
- "incomingTotal": {
5461
- "type": "number",
5462
- "format": "double"
3789
+ "title": {
3790
+ "minLength": 1,
3791
+ "type": "string"
5463
3792
  },
5464
- "outgoingTotal": {
3793
+ "hours": {
5465
3794
  "type": "number",
5466
- "format": "double"
3795
+ "format": "float"
5467
3796
  },
5468
- "margin": {
3797
+ "commission": {
5469
3798
  "type": "number",
5470
- "format": "double"
5471
- },
5472
- "incomingCount": {
5473
- "type": "integer",
5474
- "format": "int32"
3799
+ "format": "float"
5475
3800
  },
5476
- "outgoingCount": {
3801
+ "hourlyRate": {
5477
3802
  "type": "integer",
5478
3803
  "format": "int32"
5479
3804
  }
5480
3805
  }
5481
3806
  },
5482
- "subcontractorSourceInvoiceSummary": {
3807
+ "subcontractorInvoiceRequest": {
5483
3808
  "type": "object",
5484
3809
  "properties": {
5485
- "id": {
5486
- "type": "string",
5487
- "format": "uuid"
5488
- },
5489
- "supplierCode": {
5490
- "type": "integer",
5491
- "format": "int64"
5492
- },
5493
- "invoiceNo": {
5494
- "type": "string"
5495
- },
5496
- "voucherDate": {
5497
- "type": "string",
5498
- "format": "date-time"
5499
- },
5500
- "projectCode": {
3810
+ "supplierInvoiceId": {
5501
3811
  "type": "string"
5502
3812
  },
5503
- "currency": {
3813
+ "variant": {
5504
3814
  "type": "string"
5505
3815
  },
5506
- "amount": {
5507
- "type": "number",
5508
- "format": "double"
5509
- },
5510
- "resolvedCustomerCode": {
3816
+ "customerCode": {
5511
3817
  "type": "integer",
5512
3818
  "format": "int64",
5513
3819
  "nullable": true
3820
+ },
3821
+ "cutPercent": {
3822
+ "type": "number",
3823
+ "format": "double",
3824
+ "nullable": true
5514
3825
  }
5515
3826
  }
5516
3827
  },
@@ -5652,29 +3963,6 @@
5652
3963
  },
5653
3964
  "nullable": true
5654
3965
  },
5655
- "todaysSalarySummary": {
5656
- "type": "object",
5657
- "properties": {
5658
- "name": {
5659
- "type": "string",
5660
- "nullable": true
5661
- },
5662
- "email": {
5663
- "type": "string",
5664
- "nullable": true
5665
- },
5666
- "todaysSalary": {
5667
- "$ref": "#/components/schemas/amount"
5668
- },
5669
- "innovativeSalaryPercentage": {
5670
- "type": "integer",
5671
- "format": "int32"
5672
- },
5673
- "basis": {
5674
- "$ref": "#/components/schemas/basis"
5675
- }
5676
- }
5677
- },
5678
3966
  "transaction": {
5679
3967
  "type": "object",
5680
3968
  "properties": {
@@ -5757,277 +4045,7 @@
5757
4045
  }
5758
4046
  },
5759
4047
  "transactionSummary": {
5760
- "type": "object",
5761
- "properties": {
5762
- "summary": {
5763
- "$ref": "#/components/schemas/summary"
5764
- },
5765
- "transactions": {
5766
- "type": "array",
5767
- "items": {
5768
- "$ref": "#/components/schemas/transaction"
5769
- },
5770
- "nullable": true
5771
- }
5772
- }
5773
- },
5774
- "validationFailure": {
5775
- "type": "object",
5776
- "properties": {
5777
- "propertyName": {
5778
- "type": "string"
5779
- },
5780
- "errorMessage": {
5781
- "type": "string"
5782
- },
5783
- "attemptedValue": {
5784
- "type": "object"
5785
- },
5786
- "customState": {
5787
- "type": "object"
5788
- },
5789
- "severity": {
5790
- "enum": [
5791
- 0,
5792
- 1,
5793
- 2
5794
- ],
5795
- "type": "integer",
5796
- "format": "int32",
5797
- "default": 0
5798
- },
5799
- "errorCode": {
5800
- "type": "string"
5801
- },
5802
- "formattedMessagePlaceholderValues": {
5803
- "type": "object",
5804
- "additionalProperties": {
5805
- "type": "object"
5806
- }
5807
- }
5808
- }
5809
- },
5810
- "valuation": {
5811
- "required": [
5812
- "name",
5813
- "email",
5814
- "image",
5815
- "company",
5816
- "employee",
5817
- "nextEmployee",
5818
- "date",
5819
- "numberOfEmployees",
5820
- "employeesStartingThisMonth",
5821
- "employeeHasStarted",
5822
- "employeeStartedThisMonth",
5823
- "history"
5824
- ],
5825
- "type": "object",
5826
- "properties": {
5827
- "name": {
5828
- "minLength": 1,
5829
- "type": "string"
5830
- },
5831
- "email": {
5832
- "minLength": 1,
5833
- "type": "string"
5834
- },
5835
- "image": {
5836
- "minLength": 1,
5837
- "type": "string"
5838
- },
5839
- "company": {
5840
- "type": "number",
5841
- "format": "float"
5842
- },
5843
- "employee": {
5844
- "type": "number",
5845
- "format": "float"
5846
- },
5847
- "nextEmployee": {
5848
- "type": "number",
5849
- "format": "float"
5850
- },
5851
- "date": {
5852
- "minLength": 1,
5853
- "type": "string"
5854
- },
5855
- "numberOfEmployees": {
5856
- "type": "integer",
5857
- "format": "int32"
5858
- },
5859
- "employeesStartingThisMonth": {
5860
- "type": "array",
5861
- "items": {
5862
- "$ref": "#/components/schemas/valuationEmployee"
5863
- }
5864
- },
5865
- "employeeHasStarted": {
5866
- "type": "boolean"
5867
- },
5868
- "employeeStartedThisMonth": {
5869
- "type": "boolean"
5870
- },
5871
- "history": {
5872
- "type": "array",
5873
- "items": {
5874
- "$ref": "#/components/schemas/valuation"
5875
- }
5876
- }
5877
- }
5878
- },
5879
- "valuationEmployee": {
5880
- "required": [
5881
- "name",
5882
- "email",
5883
- "image"
5884
- ],
5885
- "type": "object",
5886
- "properties": {
5887
- "name": {
5888
- "minLength": 1,
5889
- "type": "string"
5890
- },
5891
- "email": {
5892
- "minLength": 1,
5893
- "type": "string"
5894
- },
5895
- "image": {
5896
- "minLength": 1,
5897
- "type": "string"
5898
- }
5899
- }
5900
- },
5901
- "valuationHistoryItem": {
5902
- "required": [
5903
- "date",
5904
- "companyValuation"
5905
- ],
5906
- "type": "object",
5907
- "properties": {
5908
- "date": {
5909
- "minLength": 1,
5910
- "type": "string",
5911
- "format": "date-time"
5912
- },
5913
- "companyValuation": {
5914
- "type": "number",
5915
- "format": "double"
5916
- },
5917
- "numberOfEmployees": {
5918
- "type": "integer",
5919
- "format": "int32"
5920
- },
5921
- "employeesStartingThisMonth": {
5922
- "type": "array",
5923
- "items": {
5924
- "$ref": "#/components/schemas/valuationEmployee"
5925
- }
5926
- }
5927
- }
5928
- },
5929
- "valuationParameters": {
5930
- "required": [
5931
- "hourlyRate",
5932
- "billableHours",
5933
- "invoicingRate",
5934
- "margin",
5935
- "multiple"
5936
- ],
5937
- "type": "object",
5938
- "properties": {
5939
- "hourlyRate": {
5940
- "type": "integer",
5941
- "format": "int32"
5942
- },
5943
- "billableHours": {
5944
- "type": "integer",
5945
- "format": "int32"
5946
- },
5947
- "invoicingRate": {
5948
- "type": "number",
5949
- "format": "double"
5950
- },
5951
- "margin": {
5952
- "type": "number",
5953
- "format": "double"
5954
- },
5955
- "multiple": {
5956
- "type": "number",
5957
- "format": "double"
5958
- }
5959
- }
5960
- },
5961
- "voucherDocument": {
5962
- "type": "object",
5963
- "properties": {
5964
- "fileName": {
5965
- "type": "string"
5966
- },
5967
- "contentBase64": {
5968
- "type": "string"
5969
- },
5970
- "contentType": {
5971
- "type": "string"
5972
- }
5973
- }
5974
- },
5975
- "wageRate": {
5976
- "required": [
5977
- "sickLeave",
5978
- "militaryService",
5979
- "baseSalary",
5980
- "tenGHourly",
5981
- "basicAmount",
5982
- "hoursThisYear"
5983
- ],
5984
- "type": "object",
5985
- "properties": {
5986
- "sickLeave": {
5987
- "type": "integer",
5988
- "format": "int32"
5989
- },
5990
- "militaryService": {
5991
- "type": "integer",
5992
- "format": "int32"
5993
- },
5994
- "baseSalary": {
5995
- "type": "integer",
5996
- "format": "int32"
5997
- },
5998
- "tenGHourly": {
5999
- "type": "integer",
6000
- "format": "int32"
6001
- },
6002
- "basicAmount": {
6003
- "type": "integer",
6004
- "format": "int32"
6005
- },
6006
- "hoursThisYear": {
6007
- "type": "integer",
6008
- "format": "int32"
6009
- }
6010
- }
6011
- },
6012
- "warning": {
6013
- "type": "object",
6014
- "properties": {
6015
- "id": {
6016
- "type": "string"
6017
- },
6018
- "message": {
6019
- "type": "string"
6020
- },
6021
- "url": {
6022
- "type": "string"
6023
- },
6024
- "extraJson": {
6025
- "type": "object",
6026
- "additionalProperties": {
6027
- "type": "object"
6028
- }
6029
- }
6030
- }
4048
+ "type": "object"
6031
4049
  }
6032
4050
  },
6033
4051
  "securitySchemes": {