@snokam/mcp-api 0.186.0 → 0.187.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.
@@ -24238,6 +24238,21 @@
24238
24238
  "type": "object",
24239
24239
  "additionalProperties": true
24240
24240
  },
24241
+ "SanitySetGroupScopeGrants": {
24242
+ "properties": {
24243
+ "scopeGrants": {
24244
+ "items": {
24245
+ "type": "string"
24246
+ },
24247
+ "type": "array"
24248
+ }
24249
+ },
24250
+ "required": [
24251
+ "scopeGrants"
24252
+ ],
24253
+ "type": "object",
24254
+ "additionalProperties": true
24255
+ },
24241
24256
  "SanityGoodie": {
24242
24257
  "properties": {
24243
24258
  "description": {
@@ -33277,7 +33292,7 @@
33277
33292
  "type": "object",
33278
33293
  "additionalProperties": true
33279
33294
  },
33280
- "SanityPatchEmployee": {
33295
+ "Pick_SanityPatch_Employee_.Exclude_keyofSanityPatch_Employee_.scopeGrants__": {
33281
33296
  "properties": {
33282
33297
  "sanityType": {
33283
33298
  "type": "string",
@@ -33414,13 +33429,6 @@
33414
33429
  "type": "boolean",
33415
33430
  "nullable": true
33416
33431
  },
33417
- "scopeGrants": {
33418
- "items": {
33419
- "type": "string"
33420
- },
33421
- "type": "array",
33422
- "nullable": true
33423
- },
33424
33432
  "isPublic": {
33425
33433
  "type": "boolean",
33426
33434
  "nullable": true
@@ -33732,255 +33740,742 @@
33732
33740
  }
33733
33741
  },
33734
33742
  "type": "object",
33735
- "additionalProperties": true
33743
+ "description": "From T, pick a set of properties whose keys are in the union K"
33736
33744
  },
33737
- "SanityDoc": {
33745
+ "SanityPatchEmployee": {
33738
33746
  "properties": {
33739
- "tags": {
33740
- "items": {
33741
- "type": "string"
33742
- },
33743
- "type": "array"
33744
- },
33745
- "file": {
33746
- "properties": {
33747
- "sanityType": {
33748
- "type": "string",
33749
- "enum": [
33750
- "file"
33751
- ],
33752
- "nullable": false
33753
- },
33754
- "media": {},
33755
- "asset": {
33756
- "properties": {
33757
- "source": {
33758
- "$ref": "#/components/schemas/SanityAssetSourceData"
33759
- },
33760
- "url": {
33761
- "type": "string"
33762
- },
33763
- "path": {
33764
- "type": "string"
33765
- },
33766
- "uploadId": {
33767
- "type": "string"
33768
- },
33769
- "assetId": {
33770
- "type": "string"
33771
- },
33772
- "size": {
33773
- "type": "number",
33774
- "format": "double"
33775
- },
33776
- "mimeType": {
33777
- "type": "string"
33778
- },
33779
- "extension": {
33780
- "type": "string"
33781
- },
33782
- "sha1hash": {
33783
- "type": "string"
33784
- },
33785
- "altText": {
33786
- "type": "string"
33787
- },
33788
- "description": {
33789
- "type": "string"
33790
- },
33791
- "title": {
33792
- "type": "string"
33793
- },
33794
- "label": {
33795
- "type": "string"
33796
- },
33797
- "originalFilename": {
33798
- "type": "string"
33799
- },
33800
- "sanityRev": {
33801
- "type": "string"
33802
- },
33803
- "sanityUpdatedAt": {
33804
- "type": "string"
33805
- },
33806
- "sanityCreatedAt": {
33807
- "type": "string"
33808
- },
33809
- "sanityType": {
33810
- "type": "string",
33811
- "enum": [
33812
- "sanity.fileAsset"
33813
- ],
33814
- "nullable": false
33815
- },
33816
- "sanityId": {
33817
- "type": "string"
33818
- }
33819
- },
33820
- "required": [
33821
- "url",
33822
- "path",
33823
- "assetId",
33824
- "size",
33825
- "mimeType",
33826
- "extension",
33827
- "sha1hash",
33828
- "sanityRev",
33829
- "sanityUpdatedAt",
33830
- "sanityCreatedAt",
33831
- "sanityType",
33832
- "sanityId"
33833
- ],
33834
- "type": "object",
33835
- "nullable": true
33836
- }
33837
- },
33838
- "required": [
33839
- "sanityType",
33840
- "asset"
33841
- ],
33842
- "type": "object"
33843
- },
33844
- "description": {
33845
- "items": {
33846
- "properties": {
33847
- "sanityKey": {
33848
- "type": "string"
33849
- },
33850
- "sanityType": {
33851
- "type": "string",
33852
- "enum": [
33853
- "block"
33854
- ],
33855
- "nullable": false
33856
- },
33857
- "level": {
33858
- "type": "number",
33859
- "format": "double"
33860
- },
33861
- "markDefs": {
33862
- "items": {
33863
- "properties": {
33864
- "sanityKey": {
33865
- "type": "string"
33866
- },
33867
- "sanityType": {
33868
- "type": "string",
33869
- "enum": [
33870
- "link"
33871
- ],
33872
- "nullable": false
33873
- },
33874
- "href": {
33875
- "type": "string"
33876
- }
33877
- },
33878
- "required": [
33879
- "sanityKey",
33880
- "sanityType"
33881
- ],
33882
- "type": "object"
33883
- },
33884
- "type": "array"
33885
- },
33886
- "listItem": {
33887
- "type": "string",
33888
- "enum": [
33889
- "bullet",
33890
- "number"
33891
- ]
33892
- },
33893
- "style": {
33894
- "type": "string",
33895
- "enum": [
33896
- "blockquote",
33897
- "h1",
33898
- "h2",
33899
- "h3",
33900
- "h4",
33901
- "h5",
33902
- "h6",
33903
- "normal"
33904
- ]
33905
- },
33906
- "children": {
33907
- "items": {
33908
- "properties": {
33909
- "sanityKey": {
33910
- "type": "string"
33911
- },
33912
- "sanityType": {
33913
- "type": "string",
33914
- "enum": [
33915
- "span"
33916
- ],
33917
- "nullable": false
33918
- },
33919
- "text": {
33920
- "type": "string"
33921
- },
33922
- "marks": {
33923
- "items": {
33924
- "type": "string"
33925
- },
33926
- "type": "array"
33927
- }
33928
- },
33929
- "required": [
33930
- "sanityKey",
33931
- "sanityType"
33932
- ],
33933
- "type": "object"
33934
- },
33935
- "type": "array"
33936
- }
33937
- },
33938
- "required": [
33939
- "sanityKey",
33940
- "sanityType"
33941
- ],
33942
- "type": "object"
33943
- },
33944
- "type": "array"
33945
- },
33946
- "title": {
33947
- "type": "string"
33948
- },
33949
- "sanityRev": {
33950
- "type": "string"
33951
- },
33952
- "sanityUpdatedAt": {
33953
- "type": "string"
33954
- },
33955
- "sanityCreatedAt": {
33956
- "type": "string"
33957
- },
33958
33747
  "sanityType": {
33959
33748
  "type": "string",
33960
33749
  "enum": [
33961
- "doc"
33750
+ "employee",
33751
+ null
33962
33752
  ],
33963
- "nullable": false
33753
+ "nullable": true
33964
33754
  },
33965
- "sanityId": {
33966
- "type": "string"
33967
- }
33968
- },
33969
- "required": [
33970
- "file",
33971
- "title",
33972
- "sanityRev",
33973
- "sanityUpdatedAt",
33974
- "sanityCreatedAt",
33975
- "sanityType",
33976
- "sanityId"
33977
- ],
33978
- "type": "object",
33979
- "nullable": true
33980
- },
33981
- "SanityCustomer": {
33982
- "properties": {
33983
- "favicon": {
33755
+ "image": {
33756
+ "properties": {
33757
+ "sanityType": {
33758
+ "type": "string",
33759
+ "enum": [
33760
+ "image"
33761
+ ],
33762
+ "nullable": false
33763
+ },
33764
+ "crop": {
33765
+ "$ref": "#/components/schemas/SanityImageCrop"
33766
+ },
33767
+ "hotspot": {
33768
+ "$ref": "#/components/schemas/SanityImageHotspot"
33769
+ },
33770
+ "media": {},
33771
+ "asset": {
33772
+ "$ref": "#/components/schemas/SanityImageAssetReference"
33773
+ }
33774
+ },
33775
+ "required": [
33776
+ "sanityType"
33777
+ ],
33778
+ "type": "object",
33779
+ "nullable": true
33780
+ },
33781
+ "slug": {
33782
+ "allOf": [
33783
+ {
33784
+ "$ref": "#/components/schemas/Slug"
33785
+ }
33786
+ ],
33787
+ "nullable": true
33788
+ },
33789
+ "name": {
33790
+ "type": "string",
33791
+ "nullable": true
33792
+ },
33793
+ "email": {
33794
+ "type": "string",
33795
+ "nullable": true
33796
+ },
33797
+ "equipment": {
33798
+ "items": {
33799
+ "allOf": [
33800
+ {
33801
+ "properties": {
33802
+ "sanityKey": {
33803
+ "type": "string"
33804
+ }
33805
+ },
33806
+ "required": [
33807
+ "sanityKey"
33808
+ ],
33809
+ "type": "object"
33810
+ },
33811
+ {
33812
+ "$ref": "#/components/schemas/EquipmentReference"
33813
+ }
33814
+ ]
33815
+ },
33816
+ "type": "array",
33817
+ "nullable": true
33818
+ },
33819
+ "media": {
33820
+ "items": {
33821
+ "oneOf": [
33822
+ {
33823
+ "properties": {
33824
+ "sanityKey": {
33825
+ "type": "string"
33826
+ },
33827
+ "sanityType": {
33828
+ "type": "string",
33829
+ "enum": [
33830
+ "image"
33831
+ ],
33832
+ "nullable": false
33833
+ },
33834
+ "crop": {
33835
+ "$ref": "#/components/schemas/SanityImageCrop"
33836
+ },
33837
+ "hotspot": {
33838
+ "$ref": "#/components/schemas/SanityImageHotspot"
33839
+ },
33840
+ "media": {},
33841
+ "asset": {
33842
+ "$ref": "#/components/schemas/SanityImageAssetReference"
33843
+ }
33844
+ },
33845
+ "required": [
33846
+ "sanityKey",
33847
+ "sanityType"
33848
+ ],
33849
+ "type": "object"
33850
+ },
33851
+ {
33852
+ "allOf": [
33853
+ {
33854
+ "properties": {
33855
+ "sanityKey": {
33856
+ "type": "string"
33857
+ }
33858
+ },
33859
+ "required": [
33860
+ "sanityKey"
33861
+ ],
33862
+ "type": "object"
33863
+ },
33864
+ {
33865
+ "$ref": "#/components/schemas/MuxVideo"
33866
+ }
33867
+ ]
33868
+ }
33869
+ ]
33870
+ },
33871
+ "type": "array",
33872
+ "nullable": true
33873
+ },
33874
+ "telephone": {
33875
+ "type": "string",
33876
+ "nullable": true
33877
+ },
33878
+ "active": {
33879
+ "type": "boolean",
33880
+ "nullable": true
33881
+ },
33882
+ "isPublic": {
33883
+ "type": "boolean",
33884
+ "nullable": true
33885
+ },
33886
+ "isSeekingProject": {
33887
+ "type": "boolean",
33888
+ "nullable": true
33889
+ },
33890
+ "personalProjectRequirements": {
33891
+ "type": "string",
33892
+ "nullable": true
33893
+ },
33894
+ "boardMember": {
33895
+ "type": "boolean",
33896
+ "nullable": true
33897
+ },
33898
+ "isBot": {
33899
+ "type": "boolean",
33900
+ "nullable": true
33901
+ },
33902
+ "isExternal": {
33903
+ "type": "boolean",
33904
+ "nullable": true
33905
+ },
33906
+ "externalId": {
33907
+ "type": "string",
33908
+ "nullable": true
33909
+ },
33910
+ "gender": {
33911
+ "type": "string",
33912
+ "enum": [
33913
+ "male",
33914
+ "female",
33915
+ "These are not the genders you are looking for",
33916
+ null
33917
+ ],
33918
+ "nullable": true
33919
+ },
33920
+ "manager": {
33921
+ "allOf": [
33922
+ {
33923
+ "$ref": "#/components/schemas/EmployeeReference"
33924
+ }
33925
+ ],
33926
+ "nullable": true
33927
+ },
33928
+ "address": {
33929
+ "type": "string",
33930
+ "nullable": true
33931
+ },
33932
+ "birth_date": {
33933
+ "type": "string",
33934
+ "nullable": true
33935
+ },
33936
+ "start_date": {
33937
+ "type": "string",
33938
+ "nullable": true
33939
+ },
33940
+ "linkedin": {
33941
+ "type": "string",
33942
+ "nullable": true
33943
+ },
33944
+ "github": {
33945
+ "type": "string",
33946
+ "nullable": true
33947
+ },
33948
+ "graduationYear": {
33949
+ "type": "number",
33950
+ "format": "double",
33951
+ "nullable": true
33952
+ },
33953
+ "allergies": {
33954
+ "items": {
33955
+ "type": "string"
33956
+ },
33957
+ "type": "array",
33958
+ "nullable": true
33959
+ },
33960
+ "nextOfKin": {
33961
+ "items": {
33962
+ "properties": {
33963
+ "sanityKey": {
33964
+ "type": "string"
33965
+ },
33966
+ "sanityType": {
33967
+ "type": "string",
33968
+ "enum": [
33969
+ "nextofkin"
33970
+ ],
33971
+ "nullable": false
33972
+ },
33973
+ "telephone": {
33974
+ "type": "string"
33975
+ },
33976
+ "name": {
33977
+ "type": "string"
33978
+ }
33979
+ },
33980
+ "required": [
33981
+ "sanityKey",
33982
+ "sanityType"
33983
+ ],
33984
+ "type": "object"
33985
+ },
33986
+ "type": "array",
33987
+ "nullable": true
33988
+ },
33989
+ "nrOfChildren": {
33990
+ "type": "number",
33991
+ "format": "double",
33992
+ "nullable": true
33993
+ },
33994
+ "maritalStatus": {
33995
+ "type": "string",
33996
+ "enum": [
33997
+ "single",
33998
+ "married",
33999
+ "cohabitant",
34000
+ null
34001
+ ],
34002
+ "nullable": true
34003
+ },
34004
+ "position": {
34005
+ "type": "string",
34006
+ "nullable": true
34007
+ },
34008
+ "education": {
34009
+ "type": "string",
34010
+ "nullable": true
34011
+ },
34012
+ "about": {
34013
+ "type": "string",
34014
+ "nullable": true
34015
+ },
34016
+ "tags": {
34017
+ "items": {
34018
+ "allOf": [
34019
+ {
34020
+ "properties": {
34021
+ "sanityKey": {
34022
+ "type": "string"
34023
+ }
34024
+ },
34025
+ "required": [
34026
+ "sanityKey"
34027
+ ],
34028
+ "type": "object"
34029
+ },
34030
+ {
34031
+ "$ref": "#/components/schemas/TagReference"
34032
+ }
34033
+ ]
34034
+ },
34035
+ "type": "array",
34036
+ "nullable": true
34037
+ },
34038
+ "technologies": {
34039
+ "items": {
34040
+ "allOf": [
34041
+ {
34042
+ "properties": {
34043
+ "sanityKey": {
34044
+ "type": "string"
34045
+ }
34046
+ },
34047
+ "required": [
34048
+ "sanityKey"
34049
+ ],
34050
+ "type": "object"
34051
+ },
34052
+ {
34053
+ "$ref": "#/components/schemas/TechnologyReference"
34054
+ }
34055
+ ]
34056
+ },
34057
+ "type": "array",
34058
+ "nullable": true
34059
+ },
34060
+ "groups": {
34061
+ "items": {
34062
+ "allOf": [
34063
+ {
34064
+ "properties": {
34065
+ "sanityKey": {
34066
+ "type": "string"
34067
+ }
34068
+ },
34069
+ "required": [
34070
+ "sanityKey"
34071
+ ],
34072
+ "type": "object"
34073
+ },
34074
+ {
34075
+ "$ref": "#/components/schemas/GroupReference"
34076
+ }
34077
+ ]
34078
+ },
34079
+ "type": "array",
34080
+ "nullable": true
34081
+ },
34082
+ "cliftonStrengths": {
34083
+ "items": {
34084
+ "allOf": [
34085
+ {
34086
+ "properties": {
34087
+ "sanityKey": {
34088
+ "type": "string"
34089
+ }
34090
+ },
34091
+ "required": [
34092
+ "sanityKey"
34093
+ ],
34094
+ "type": "object"
34095
+ },
34096
+ {
34097
+ "$ref": "#/components/schemas/CliftonStrengthReference"
34098
+ }
34099
+ ]
34100
+ },
34101
+ "type": "array",
34102
+ "nullable": true
34103
+ },
34104
+ "blurred_image": {
34105
+ "properties": {
34106
+ "sanityType": {
34107
+ "type": "string",
34108
+ "enum": [
34109
+ "image"
34110
+ ],
34111
+ "nullable": false
34112
+ },
34113
+ "crop": {
34114
+ "$ref": "#/components/schemas/SanityImageCrop"
34115
+ },
34116
+ "hotspot": {
34117
+ "$ref": "#/components/schemas/SanityImageHotspot"
34118
+ },
34119
+ "media": {},
34120
+ "asset": {
34121
+ "$ref": "#/components/schemas/SanityImageAssetReference"
34122
+ }
34123
+ },
34124
+ "required": [
34125
+ "sanityType"
34126
+ ],
34127
+ "type": "object",
34128
+ "nullable": true
34129
+ },
34130
+ "innovativeSalary": {
34131
+ "type": "boolean",
34132
+ "nullable": true
34133
+ },
34134
+ "innovativeSalaryPercentage": {
34135
+ "type": "number",
34136
+ "format": "double",
34137
+ "nullable": true
34138
+ },
34139
+ "coinbaseAccountEmail": {
34140
+ "type": "string",
34141
+ "nullable": true
34142
+ },
34143
+ "commissionTier": {
34144
+ "allOf": [
34145
+ {
34146
+ "$ref": "#/components/schemas/CommissionTierReference"
34147
+ }
34148
+ ],
34149
+ "nullable": true
34150
+ },
34151
+ "parentalLeaveCoverage": {
34152
+ "type": "number",
34153
+ "enum": [
34154
+ 80,
34155
+ 100,
34156
+ null
34157
+ ],
34158
+ "nullable": true
34159
+ },
34160
+ "parentalLeaveStartDate": {
34161
+ "type": "string",
34162
+ "nullable": true
34163
+ },
34164
+ "salaryConfig": {
34165
+ "properties": {
34166
+ "model": {
34167
+ "type": "string",
34168
+ "enum": [
34169
+ "snokam.ceo",
34170
+ "snokam.employee"
34171
+ ]
34172
+ }
34173
+ },
34174
+ "type": "object",
34175
+ "nullable": true
34176
+ },
34177
+ "settings": {
34178
+ "properties": {
34179
+ "colorScheme": {
34180
+ "type": "string",
34181
+ "enum": [
34182
+ "dark",
34183
+ "light",
34184
+ "system"
34185
+ ]
34186
+ }
34187
+ },
34188
+ "type": "object",
34189
+ "nullable": true
34190
+ }
34191
+ },
34192
+ "type": "object",
34193
+ "additionalProperties": true
34194
+ },
34195
+ "SanitySetEmployeeScopeGrants": {
34196
+ "properties": {
34197
+ "scopeGrants": {
34198
+ "items": {
34199
+ "type": "string"
34200
+ },
34201
+ "type": "array"
34202
+ }
34203
+ },
34204
+ "required": [
34205
+ "scopeGrants"
34206
+ ],
34207
+ "type": "object",
34208
+ "additionalProperties": true
34209
+ },
34210
+ "SanityDoc": {
34211
+ "properties": {
34212
+ "tags": {
34213
+ "items": {
34214
+ "type": "string"
34215
+ },
34216
+ "type": "array"
34217
+ },
34218
+ "file": {
34219
+ "properties": {
34220
+ "sanityType": {
34221
+ "type": "string",
34222
+ "enum": [
34223
+ "file"
34224
+ ],
34225
+ "nullable": false
34226
+ },
34227
+ "media": {},
34228
+ "asset": {
34229
+ "properties": {
34230
+ "source": {
34231
+ "$ref": "#/components/schemas/SanityAssetSourceData"
34232
+ },
34233
+ "url": {
34234
+ "type": "string"
34235
+ },
34236
+ "path": {
34237
+ "type": "string"
34238
+ },
34239
+ "uploadId": {
34240
+ "type": "string"
34241
+ },
34242
+ "assetId": {
34243
+ "type": "string"
34244
+ },
34245
+ "size": {
34246
+ "type": "number",
34247
+ "format": "double"
34248
+ },
34249
+ "mimeType": {
34250
+ "type": "string"
34251
+ },
34252
+ "extension": {
34253
+ "type": "string"
34254
+ },
34255
+ "sha1hash": {
34256
+ "type": "string"
34257
+ },
34258
+ "altText": {
34259
+ "type": "string"
34260
+ },
34261
+ "description": {
34262
+ "type": "string"
34263
+ },
34264
+ "title": {
34265
+ "type": "string"
34266
+ },
34267
+ "label": {
34268
+ "type": "string"
34269
+ },
34270
+ "originalFilename": {
34271
+ "type": "string"
34272
+ },
34273
+ "sanityRev": {
34274
+ "type": "string"
34275
+ },
34276
+ "sanityUpdatedAt": {
34277
+ "type": "string"
34278
+ },
34279
+ "sanityCreatedAt": {
34280
+ "type": "string"
34281
+ },
34282
+ "sanityType": {
34283
+ "type": "string",
34284
+ "enum": [
34285
+ "sanity.fileAsset"
34286
+ ],
34287
+ "nullable": false
34288
+ },
34289
+ "sanityId": {
34290
+ "type": "string"
34291
+ }
34292
+ },
34293
+ "required": [
34294
+ "url",
34295
+ "path",
34296
+ "assetId",
34297
+ "size",
34298
+ "mimeType",
34299
+ "extension",
34300
+ "sha1hash",
34301
+ "sanityRev",
34302
+ "sanityUpdatedAt",
34303
+ "sanityCreatedAt",
34304
+ "sanityType",
34305
+ "sanityId"
34306
+ ],
34307
+ "type": "object",
34308
+ "nullable": true
34309
+ }
34310
+ },
34311
+ "required": [
34312
+ "sanityType",
34313
+ "asset"
34314
+ ],
34315
+ "type": "object"
34316
+ },
34317
+ "description": {
34318
+ "items": {
34319
+ "properties": {
34320
+ "sanityKey": {
34321
+ "type": "string"
34322
+ },
34323
+ "sanityType": {
34324
+ "type": "string",
34325
+ "enum": [
34326
+ "block"
34327
+ ],
34328
+ "nullable": false
34329
+ },
34330
+ "level": {
34331
+ "type": "number",
34332
+ "format": "double"
34333
+ },
34334
+ "markDefs": {
34335
+ "items": {
34336
+ "properties": {
34337
+ "sanityKey": {
34338
+ "type": "string"
34339
+ },
34340
+ "sanityType": {
34341
+ "type": "string",
34342
+ "enum": [
34343
+ "link"
34344
+ ],
34345
+ "nullable": false
34346
+ },
34347
+ "href": {
34348
+ "type": "string"
34349
+ }
34350
+ },
34351
+ "required": [
34352
+ "sanityKey",
34353
+ "sanityType"
34354
+ ],
34355
+ "type": "object"
34356
+ },
34357
+ "type": "array"
34358
+ },
34359
+ "listItem": {
34360
+ "type": "string",
34361
+ "enum": [
34362
+ "bullet",
34363
+ "number"
34364
+ ]
34365
+ },
34366
+ "style": {
34367
+ "type": "string",
34368
+ "enum": [
34369
+ "blockquote",
34370
+ "h1",
34371
+ "h2",
34372
+ "h3",
34373
+ "h4",
34374
+ "h5",
34375
+ "h6",
34376
+ "normal"
34377
+ ]
34378
+ },
34379
+ "children": {
34380
+ "items": {
34381
+ "properties": {
34382
+ "sanityKey": {
34383
+ "type": "string"
34384
+ },
34385
+ "sanityType": {
34386
+ "type": "string",
34387
+ "enum": [
34388
+ "span"
34389
+ ],
34390
+ "nullable": false
34391
+ },
34392
+ "text": {
34393
+ "type": "string"
34394
+ },
34395
+ "marks": {
34396
+ "items": {
34397
+ "type": "string"
34398
+ },
34399
+ "type": "array"
34400
+ }
34401
+ },
34402
+ "required": [
34403
+ "sanityKey",
34404
+ "sanityType"
34405
+ ],
34406
+ "type": "object"
34407
+ },
34408
+ "type": "array"
34409
+ }
34410
+ },
34411
+ "required": [
34412
+ "sanityKey",
34413
+ "sanityType"
34414
+ ],
34415
+ "type": "object"
34416
+ },
34417
+ "type": "array"
34418
+ },
34419
+ "title": {
34420
+ "type": "string"
34421
+ },
34422
+ "sanityRev": {
34423
+ "type": "string"
34424
+ },
34425
+ "sanityUpdatedAt": {
34426
+ "type": "string"
34427
+ },
34428
+ "sanityCreatedAt": {
34429
+ "type": "string"
34430
+ },
34431
+ "sanityType": {
34432
+ "type": "string",
34433
+ "enum": [
34434
+ "doc"
34435
+ ],
34436
+ "nullable": false
34437
+ },
34438
+ "sanityId": {
34439
+ "type": "string"
34440
+ }
34441
+ },
34442
+ "required": [
34443
+ "file",
34444
+ "title",
34445
+ "sanityRev",
34446
+ "sanityUpdatedAt",
34447
+ "sanityCreatedAt",
34448
+ "sanityType",
34449
+ "sanityId"
34450
+ ],
34451
+ "type": "object",
34452
+ "nullable": true
34453
+ },
34454
+ "SanityContentSignals": {
34455
+ "properties": {
34456
+ "employeeCount": {
34457
+ "type": "number",
34458
+ "format": "double"
34459
+ },
34460
+ "hasBranding": {
34461
+ "type": "boolean"
34462
+ },
34463
+ "customizedDocumentCount": {
34464
+ "type": "number",
34465
+ "format": "double"
34466
+ }
34467
+ },
34468
+ "required": [
34469
+ "employeeCount",
34470
+ "hasBranding",
34471
+ "customizedDocumentCount"
34472
+ ],
34473
+ "type": "object",
34474
+ "additionalProperties": true
34475
+ },
34476
+ "SanityCustomer": {
34477
+ "properties": {
34478
+ "favicon": {
33984
34479
  "properties": {
33985
34480
  "sanityType": {
33986
34481
  "type": "string",
@@ -54688,22 +55183,105 @@
54688
55183
  }
54689
55184
  ]
54690
55185
  },
54691
- "patch": {
54692
- "operationId": "PatchOffice",
55186
+ "patch": {
55187
+ "operationId": "PatchOffice",
55188
+ "responses": {
55189
+ "200": {
55190
+ "description": "Ok",
55191
+ "content": {
55192
+ "application/json": {
55193
+ "schema": {
55194
+ "$ref": "#/components/schemas/SanityOffice"
55195
+ }
55196
+ }
55197
+ }
55198
+ }
55199
+ },
55200
+ "tags": [
55201
+ "Office"
55202
+ ],
55203
+ "security": [
55204
+ {
55205
+ "Implicit": [
55206
+ "WILL BE REPLACED"
55207
+ ]
55208
+ }
55209
+ ],
55210
+ "parameters": [],
55211
+ "requestBody": {
55212
+ "required": true,
55213
+ "content": {
55214
+ "application/json": {
55215
+ "schema": {
55216
+ "$ref": "#/components/schemas/SanityPatchOffice"
55217
+ }
55218
+ }
55219
+ }
55220
+ }
55221
+ }
55222
+ },
55223
+ "/v1.0/notifications/routing": {
55224
+ "get": {
55225
+ "operationId": "GetNotificationRouting",
55226
+ "responses": {
55227
+ "200": {
55228
+ "description": "Ok",
55229
+ "content": {
55230
+ "application/json": {
55231
+ "schema": {
55232
+ "$ref": "#/components/schemas/SanityNotificationRouting"
55233
+ }
55234
+ }
55235
+ }
55236
+ }
55237
+ },
55238
+ "tags": [
55239
+ "Notification routing"
55240
+ ],
55241
+ "security": [
55242
+ {
55243
+ "Implicit": [
55244
+ "WILL BE REPLACED"
55245
+ ]
55246
+ }
55247
+ ],
55248
+ "parameters": [
55249
+ {
55250
+ "in": "query",
55251
+ "name": "useCache",
55252
+ "required": false,
55253
+ "schema": {
55254
+ "default": true,
55255
+ "type": "boolean"
55256
+ }
55257
+ },
55258
+ {
55259
+ "in": "query",
55260
+ "name": "useCdn",
55261
+ "required": false,
55262
+ "schema": {
55263
+ "default": false,
55264
+ "type": "boolean"
55265
+ }
55266
+ }
55267
+ ]
55268
+ },
55269
+ "put": {
55270
+ "operationId": "UpsertNotificationRouting",
54693
55271
  "responses": {
54694
55272
  "200": {
54695
55273
  "description": "Ok",
54696
55274
  "content": {
54697
55275
  "application/json": {
54698
55276
  "schema": {
54699
- "$ref": "#/components/schemas/SanityOffice"
55277
+ "$ref": "#/components/schemas/SanityNotificationRouting"
54700
55278
  }
54701
55279
  }
54702
55280
  }
54703
55281
  }
54704
55282
  },
54705
55283
  "tags": [
54706
- "Office"
55284
+ "Notification routing"
54707
55285
  ],
54708
55286
  "security": [
54709
55287
  {
@@ -54718,30 +55296,30 @@
54718
55296
  "content": {
54719
55297
  "application/json": {
54720
55298
  "schema": {
54721
- "$ref": "#/components/schemas/SanityPatchOffice"
55299
+ "$ref": "#/components/schemas/SanityNotificationRouting"
54722
55300
  }
54723
55301
  }
54724
55302
  }
54725
55303
  }
54726
55304
  }
54727
55305
  },
54728
- "/v1.0/notifications/routing": {
55306
+ "/v1.0/newsletters": {
54729
55307
  "get": {
54730
- "operationId": "GetNotificationRouting",
55308
+ "operationId": "GetNewsletters",
54731
55309
  "responses": {
54732
55310
  "200": {
54733
55311
  "description": "Ok",
54734
55312
  "content": {
54735
55313
  "application/json": {
54736
55314
  "schema": {
54737
- "$ref": "#/components/schemas/SanityNotificationRouting"
55315
+ "$ref": "#/components/schemas/GetNewslettersBySeriesSinceQueryResult"
54738
55316
  }
54739
55317
  }
54740
55318
  }
54741
55319
  }
54742
55320
  },
54743
55321
  "tags": [
54744
- "Notification routing"
55322
+ "Newsletters"
54745
55323
  ],
54746
55324
  "security": [
54747
55325
  {
@@ -54751,12 +55329,28 @@
54751
55329
  }
54752
55330
  ],
54753
55331
  "parameters": [
55332
+ {
55333
+ "in": "query",
55334
+ "name": "seriesId",
55335
+ "required": true,
55336
+ "schema": {
55337
+ "type": "string"
55338
+ }
55339
+ },
55340
+ {
55341
+ "in": "query",
55342
+ "name": "sentSince",
55343
+ "required": false,
55344
+ "schema": {
55345
+ "type": "string"
55346
+ }
55347
+ },
54754
55348
  {
54755
55349
  "in": "query",
54756
55350
  "name": "useCache",
54757
55351
  "required": false,
54758
55352
  "schema": {
54759
- "default": true,
55353
+ "default": false,
54760
55354
  "type": "boolean"
54761
55355
  }
54762
55356
  },
@@ -54771,22 +55365,22 @@
54771
55365
  }
54772
55366
  ]
54773
55367
  },
54774
- "put": {
54775
- "operationId": "UpsertNotificationRouting",
55368
+ "post": {
55369
+ "operationId": "CreateNewsletter",
54776
55370
  "responses": {
54777
55371
  "200": {
54778
55372
  "description": "Ok",
54779
55373
  "content": {
54780
55374
  "application/json": {
54781
55375
  "schema": {
54782
- "$ref": "#/components/schemas/SanityNotificationRouting"
55376
+ "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
54783
55377
  }
54784
55378
  }
54785
55379
  }
54786
55380
  }
54787
55381
  },
54788
55382
  "tags": [
54789
- "Notification routing"
55383
+ "Newsletters"
54790
55384
  ],
54791
55385
  "security": [
54792
55386
  {
@@ -54801,23 +55395,23 @@
54801
55395
  "content": {
54802
55396
  "application/json": {
54803
55397
  "schema": {
54804
- "$ref": "#/components/schemas/SanityNotificationRouting"
55398
+ "$ref": "#/components/schemas/SanityCreateNewsletter"
54805
55399
  }
54806
55400
  }
54807
55401
  }
54808
55402
  }
54809
55403
  }
54810
55404
  },
54811
- "/v1.0/newsletters": {
55405
+ "/v1.0/newsletters/{id}": {
54812
55406
  "get": {
54813
- "operationId": "GetNewsletters",
55407
+ "operationId": "GetNewsletterById",
54814
55408
  "responses": {
54815
55409
  "200": {
54816
55410
  "description": "Ok",
54817
55411
  "content": {
54818
55412
  "application/json": {
54819
55413
  "schema": {
54820
- "$ref": "#/components/schemas/GetNewslettersBySeriesSinceQueryResult"
55414
+ "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
54821
55415
  }
54822
55416
  }
54823
55417
  }
@@ -54835,8 +55429,8 @@
54835
55429
  ],
54836
55430
  "parameters": [
54837
55431
  {
54838
- "in": "query",
54839
- "name": "seriesId",
55432
+ "in": "path",
55433
+ "name": "id",
54840
55434
  "required": true,
54841
55435
  "schema": {
54842
55436
  "type": "string"
@@ -54844,12 +55438,96 @@
54844
55438
  },
54845
55439
  {
54846
55440
  "in": "query",
54847
- "name": "sentSince",
55441
+ "name": "useCache",
54848
55442
  "required": false,
54849
55443
  "schema": {
54850
- "type": "string"
55444
+ "default": false,
55445
+ "type": "boolean"
54851
55446
  }
54852
55447
  },
55448
+ {
55449
+ "in": "query",
55450
+ "name": "useCdn",
55451
+ "required": false,
55452
+ "schema": {
55453
+ "default": false,
55454
+ "type": "boolean"
55455
+ }
55456
+ }
55457
+ ]
55458
+ },
55459
+ "patch": {
55460
+ "operationId": "PatchNewsletter",
55461
+ "responses": {
55462
+ "200": {
55463
+ "description": "Ok",
55464
+ "content": {
55465
+ "application/json": {
55466
+ "schema": {
55467
+ "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
55468
+ }
55469
+ }
55470
+ }
55471
+ }
55472
+ },
55473
+ "tags": [
55474
+ "Newsletters"
55475
+ ],
55476
+ "security": [
55477
+ {
55478
+ "Implicit": [
55479
+ "WILL BE REPLACED"
55480
+ ]
55481
+ }
55482
+ ],
55483
+ "parameters": [
55484
+ {
55485
+ "in": "path",
55486
+ "name": "id",
55487
+ "required": true,
55488
+ "schema": {
55489
+ "type": "string"
55490
+ }
55491
+ }
55492
+ ],
55493
+ "requestBody": {
55494
+ "required": true,
55495
+ "content": {
55496
+ "application/json": {
55497
+ "schema": {
55498
+ "$ref": "#/components/schemas/SanityPatchNewsletter"
55499
+ }
55500
+ }
55501
+ }
55502
+ }
55503
+ }
55504
+ },
55505
+ "/v1.0/newsletter-series": {
55506
+ "get": {
55507
+ "operationId": "GetActiveNewsletterSeries",
55508
+ "responses": {
55509
+ "200": {
55510
+ "description": "Ok",
55511
+ "content": {
55512
+ "application/json": {
55513
+ "schema": {
55514
+ "$ref": "#/components/schemas/GetActiveNewsletterSeriesQueryResult"
55515
+ }
55516
+ }
55517
+ }
55518
+ }
55519
+ },
55520
+ "tags": [
55521
+ "Newsletter Series"
55522
+ ],
55523
+ "security": [
55524
+ {
55525
+ "Implicit": [
55526
+ "WILL BE REPLACED"
55527
+ ]
55528
+ }
55529
+ ],
55530
+ "parameters": [
54853
55531
  {
54854
55532
  "in": "query",
54855
55533
  "name": "useCache",
@@ -54871,21 +55549,21 @@
54871
55549
  ]
54872
55550
  },
54873
55551
  "post": {
54874
- "operationId": "CreateNewsletter",
55552
+ "operationId": "CreateNewsletterSeries",
54875
55553
  "responses": {
54876
55554
  "200": {
54877
55555
  "description": "Ok",
54878
55556
  "content": {
54879
55557
  "application/json": {
54880
55558
  "schema": {
54881
- "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
55559
+ "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
54882
55560
  }
54883
55561
  }
54884
55562
  }
54885
55563
  }
54886
55564
  },
54887
55565
  "tags": [
54888
- "Newsletters"
55566
+ "Newsletter Series"
54889
55567
  ],
54890
55568
  "security": [
54891
55569
  {
@@ -54900,30 +55578,30 @@
54900
55578
  "content": {
54901
55579
  "application/json": {
54902
55580
  "schema": {
54903
- "$ref": "#/components/schemas/SanityCreateNewsletter"
55581
+ "$ref": "#/components/schemas/SanityCreateNewsletterSeries"
54904
55582
  }
54905
55583
  }
54906
55584
  }
54907
55585
  }
54908
55586
  }
54909
55587
  },
54910
- "/v1.0/newsletters/{id}": {
55588
+ "/v1.0/newsletter-series/{id}": {
54911
55589
  "get": {
54912
- "operationId": "GetNewsletterById",
55590
+ "operationId": "GetNewsletterSeriesById",
54913
55591
  "responses": {
54914
55592
  "200": {
54915
55593
  "description": "Ok",
54916
55594
  "content": {
54917
55595
  "application/json": {
54918
55596
  "schema": {
54919
- "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
55597
+ "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
54920
55598
  }
54921
55599
  }
54922
55600
  }
54923
55601
  }
54924
55602
  },
54925
55603
  "tags": [
54926
- "Newsletters"
55604
+ "Newsletter Series"
54927
55605
  ],
54928
55606
  "security": [
54929
55607
  {
@@ -54962,21 +55640,21 @@
54962
55640
  ]
54963
55641
  },
54964
55642
  "patch": {
54965
- "operationId": "PatchNewsletter",
55643
+ "operationId": "PatchNewsletterSeries",
54966
55644
  "responses": {
54967
55645
  "200": {
54968
55646
  "description": "Ok",
54969
55647
  "content": {
54970
55648
  "application/json": {
54971
55649
  "schema": {
54972
- "$ref": "#/components/schemas/GetNewsletterByIdQueryResult"
55650
+ "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
54973
55651
  }
54974
55652
  }
54975
55653
  }
54976
55654
  }
54977
55655
  },
54978
55656
  "tags": [
54979
- "Newsletters"
55657
+ "Newsletter Series"
54980
55658
  ],
54981
55659
  "security": [
54982
55660
  {
@@ -55000,30 +55678,33 @@
55000
55678
  "content": {
55001
55679
  "application/json": {
55002
55680
  "schema": {
55003
- "$ref": "#/components/schemas/SanityPatchNewsletter"
55681
+ "$ref": "#/components/schemas/SanityPatchNewsletterSeries"
55004
55682
  }
55005
55683
  }
55006
55684
  }
55007
55685
  }
55008
55686
  }
55009
55687
  },
55010
- "/v1.0/newsletter-series": {
55688
+ "/v1.0/job-positions": {
55011
55689
  "get": {
55012
- "operationId": "GetActiveNewsletterSeries",
55690
+ "operationId": "GetJobPositions",
55013
55691
  "responses": {
55014
55692
  "200": {
55015
55693
  "description": "Ok",
55016
55694
  "content": {
55017
55695
  "application/json": {
55018
55696
  "schema": {
55019
- "$ref": "#/components/schemas/GetActiveNewsletterSeriesQueryResult"
55697
+ "items": {
55698
+ "$ref": "#/components/schemas/SanityJobPosition"
55699
+ },
55700
+ "type": "array"
55020
55701
  }
55021
55702
  }
55022
55703
  }
55023
55704
  }
55024
55705
  },
55025
55706
  "tags": [
55026
- "Newsletter Series"
55707
+ "Job positions"
55027
55708
  ],
55028
55709
  "security": [
55029
55710
  {
@@ -55038,7 +55719,7 @@
55038
55719
  "name": "useCache",
55039
55720
  "required": false,
55040
55721
  "schema": {
55041
- "default": false,
55722
+ "default": true,
55042
55723
  "type": "boolean"
55043
55724
  }
55044
55725
  },
@@ -55047,28 +55728,28 @@
55047
55728
  "name": "useCdn",
55048
55729
  "required": false,
55049
55730
  "schema": {
55050
- "default": false,
55731
+ "default": true,
55051
55732
  "type": "boolean"
55052
55733
  }
55053
55734
  }
55054
55735
  ]
55055
55736
  },
55056
55737
  "post": {
55057
- "operationId": "CreateNewsletterSeries",
55738
+ "operationId": "CreateJobPosition",
55058
55739
  "responses": {
55059
55740
  "200": {
55060
55741
  "description": "Ok",
55061
55742
  "content": {
55062
55743
  "application/json": {
55063
55744
  "schema": {
55064
- "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
55745
+ "$ref": "#/components/schemas/SanityJobPosition"
55065
55746
  }
55066
55747
  }
55067
55748
  }
55068
55749
  }
55069
55750
  },
55070
55751
  "tags": [
55071
- "Newsletter Series"
55752
+ "Job positions"
55072
55753
  ],
55073
55754
  "security": [
55074
55755
  {
@@ -55083,30 +55764,30 @@
55083
55764
  "content": {
55084
55765
  "application/json": {
55085
55766
  "schema": {
55086
- "$ref": "#/components/schemas/SanityCreateNewsletterSeries"
55767
+ "$ref": "#/components/schemas/SanityCreateJobPosition"
55087
55768
  }
55088
55769
  }
55089
55770
  }
55090
55771
  }
55091
55772
  }
55092
55773
  },
55093
- "/v1.0/newsletter-series/{id}": {
55774
+ "/v1.0/job-positions/{slugOrId}": {
55094
55775
  "get": {
55095
- "operationId": "GetNewsletterSeriesById",
55776
+ "operationId": "GetJobPositionBySlugOrId",
55096
55777
  "responses": {
55097
55778
  "200": {
55098
55779
  "description": "Ok",
55099
55780
  "content": {
55100
55781
  "application/json": {
55101
55782
  "schema": {
55102
- "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
55783
+ "$ref": "#/components/schemas/SanityJobPosition"
55103
55784
  }
55104
55785
  }
55105
55786
  }
55106
55787
  }
55107
55788
  },
55108
55789
  "tags": [
55109
- "Newsletter Series"
55790
+ "Job positions"
55110
55791
  ],
55111
55792
  "security": [
55112
55793
  {
@@ -55118,7 +55799,7 @@
55118
55799
  "parameters": [
55119
55800
  {
55120
55801
  "in": "path",
55121
- "name": "id",
55802
+ "name": "slugOrId",
55122
55803
  "required": true,
55123
55804
  "schema": {
55124
55805
  "type": "string"
@@ -55129,7 +55810,7 @@
55129
55810
  "name": "useCache",
55130
55811
  "required": false,
55131
55812
  "schema": {
55132
- "default": false,
55813
+ "default": true,
55133
55814
  "type": "boolean"
55134
55815
  }
55135
55816
  },
@@ -55138,28 +55819,28 @@
55138
55819
  "name": "useCdn",
55139
55820
  "required": false,
55140
55821
  "schema": {
55141
- "default": false,
55822
+ "default": true,
55142
55823
  "type": "boolean"
55143
55824
  }
55144
55825
  }
55145
55826
  ]
55146
55827
  },
55147
55828
  "patch": {
55148
- "operationId": "PatchNewsletterSeries",
55829
+ "operationId": "PatchJobPosition",
55149
55830
  "responses": {
55150
55831
  "200": {
55151
55832
  "description": "Ok",
55152
55833
  "content": {
55153
55834
  "application/json": {
55154
55835
  "schema": {
55155
- "$ref": "#/components/schemas/GetNewsletterSeriesByIdQueryResult"
55836
+ "$ref": "#/components/schemas/SanityJobPosition"
55156
55837
  }
55157
55838
  }
55158
55839
  }
55159
55840
  }
55160
55841
  },
55161
55842
  "tags": [
55162
- "Newsletter Series"
55843
+ "Job positions"
55163
55844
  ],
55164
55845
  "security": [
55165
55846
  {
@@ -55171,7 +55852,7 @@
55171
55852
  "parameters": [
55172
55853
  {
55173
55854
  "in": "path",
55174
- "name": "id",
55855
+ "name": "slugOrId",
55175
55856
  "required": true,
55176
55857
  "schema": {
55177
55858
  "type": "string"
@@ -55183,16 +55864,88 @@
55183
55864
  "content": {
55184
55865
  "application/json": {
55185
55866
  "schema": {
55186
- "$ref": "#/components/schemas/SanityPatchNewsletterSeries"
55867
+ "$ref": "#/components/schemas/SanityPatchJobPosition"
55187
55868
  }
55188
55869
  }
55189
55870
  }
55190
55871
  }
55872
+ },
55873
+ "delete": {
55874
+ "operationId": "DeleteJobPosition",
55875
+ "responses": {
55876
+ "200": {
55877
+ "description": "Ok",
55878
+ "content": {
55879
+ "application/json": {
55880
+ "schema": {
55881
+ "$ref": "#/components/schemas/SanityJobPosition"
55882
+ }
55883
+ }
55884
+ }
55885
+ }
55886
+ },
55887
+ "tags": [
55888
+ "Job positions"
55889
+ ],
55890
+ "security": [
55891
+ {
55892
+ "Implicit": [
55893
+ "WILL BE REPLACED"
55894
+ ]
55895
+ }
55896
+ ],
55897
+ "parameters": [
55898
+ {
55899
+ "in": "path",
55900
+ "name": "slugOrId",
55901
+ "required": true,
55902
+ "schema": {
55903
+ "type": "string"
55904
+ }
55905
+ }
55906
+ ]
55191
55907
  }
55192
55908
  },
55193
- "/v1.0/job-positions": {
55909
+ "/v1.0/protected/health/{provider}": {
55194
55910
  "get": {
55195
- "operationId": "GetJobPositions",
55911
+ "operationId": "CheckHealth",
55912
+ "responses": {
55913
+ "200": {
55914
+ "description": "Ok",
55915
+ "content": {
55916
+ "application/json": {
55917
+ "schema": {
55918
+ "$ref": "#/components/schemas/IntegrationHealthResult"
55919
+ }
55920
+ }
55921
+ }
55922
+ }
55923
+ },
55924
+ "tags": [
55925
+ "Health"
55926
+ ],
55927
+ "security": [
55928
+ {
55929
+ "Implicit": [
55930
+ "WILL BE REPLACED"
55931
+ ]
55932
+ }
55933
+ ],
55934
+ "parameters": [
55935
+ {
55936
+ "in": "path",
55937
+ "name": "provider",
55938
+ "required": true,
55939
+ "schema": {
55940
+ "type": "string"
55941
+ }
55942
+ }
55943
+ ]
55944
+ }
55945
+ },
55946
+ "/v1.0/groups": {
55947
+ "get": {
55948
+ "operationId": "GetGroups",
55196
55949
  "responses": {
55197
55950
  "200": {
55198
55951
  "description": "Ok",
@@ -55200,7 +55953,7 @@
55200
55953
  "application/json": {
55201
55954
  "schema": {
55202
55955
  "items": {
55203
- "$ref": "#/components/schemas/SanityJobPosition"
55956
+ "$ref": "#/components/schemas/SanityGroup"
55204
55957
  },
55205
55958
  "type": "array"
55206
55959
  }
@@ -55209,7 +55962,7 @@
55209
55962
  }
55210
55963
  },
55211
55964
  "tags": [
55212
- "Job positions"
55965
+ "Group"
55213
55966
  ],
55214
55967
  "security": [
55215
55968
  {
@@ -55233,28 +55986,28 @@
55233
55986
  "name": "useCdn",
55234
55987
  "required": false,
55235
55988
  "schema": {
55236
- "default": true,
55989
+ "default": false,
55237
55990
  "type": "boolean"
55238
55991
  }
55239
55992
  }
55240
55993
  ]
55241
55994
  },
55242
55995
  "post": {
55243
- "operationId": "CreateJobPosition",
55996
+ "operationId": "CreateGroup",
55244
55997
  "responses": {
55245
55998
  "200": {
55246
55999
  "description": "Ok",
55247
56000
  "content": {
55248
56001
  "application/json": {
55249
56002
  "schema": {
55250
- "$ref": "#/components/schemas/SanityJobPosition"
56003
+ "$ref": "#/components/schemas/SanityGroup"
55251
56004
  }
55252
56005
  }
55253
56006
  }
55254
56007
  }
55255
56008
  },
55256
56009
  "tags": [
55257
- "Job positions"
56010
+ "Group"
55258
56011
  ],
55259
56012
  "security": [
55260
56013
  {
@@ -55269,30 +56022,30 @@
55269
56022
  "content": {
55270
56023
  "application/json": {
55271
56024
  "schema": {
55272
- "$ref": "#/components/schemas/SanityCreateJobPosition"
56025
+ "$ref": "#/components/schemas/SanityCreateGroup"
55273
56026
  }
55274
56027
  }
55275
56028
  }
55276
56029
  }
55277
56030
  }
55278
56031
  },
55279
- "/v1.0/job-positions/{slugOrId}": {
56032
+ "/v1.0/groups/{id}": {
55280
56033
  "get": {
55281
- "operationId": "GetJobPositionBySlugOrId",
56034
+ "operationId": "GetById",
55282
56035
  "responses": {
55283
56036
  "200": {
55284
56037
  "description": "Ok",
55285
56038
  "content": {
55286
56039
  "application/json": {
55287
56040
  "schema": {
55288
- "$ref": "#/components/schemas/SanityJobPosition"
56041
+ "$ref": "#/components/schemas/SanityGroup"
55289
56042
  }
55290
56043
  }
55291
56044
  }
55292
56045
  }
55293
56046
  },
55294
56047
  "tags": [
55295
- "Job positions"
56048
+ "Group"
55296
56049
  ],
55297
56050
  "security": [
55298
56051
  {
@@ -55304,7 +56057,7 @@
55304
56057
  "parameters": [
55305
56058
  {
55306
56059
  "in": "path",
55307
- "name": "slugOrId",
56060
+ "name": "id",
55308
56061
  "required": true,
55309
56062
  "schema": {
55310
56063
  "type": "string"
@@ -55331,21 +56084,21 @@
55331
56084
  ]
55332
56085
  },
55333
56086
  "patch": {
55334
- "operationId": "PatchJobPosition",
56087
+ "operationId": "PatchGroup",
55335
56088
  "responses": {
55336
56089
  "200": {
55337
56090
  "description": "Ok",
55338
56091
  "content": {
55339
56092
  "application/json": {
55340
56093
  "schema": {
55341
- "$ref": "#/components/schemas/SanityJobPosition"
56094
+ "$ref": "#/components/schemas/SanityGroup"
55342
56095
  }
55343
56096
  }
55344
56097
  }
55345
56098
  }
55346
56099
  },
55347
56100
  "tags": [
55348
- "Job positions"
56101
+ "Group"
55349
56102
  ],
55350
56103
  "security": [
55351
56104
  {
@@ -55357,7 +56110,7 @@
55357
56110
  "parameters": [
55358
56111
  {
55359
56112
  "in": "path",
55360
- "name": "slugOrId",
56113
+ "name": "id",
55361
56114
  "required": true,
55362
56115
  "schema": {
55363
56116
  "type": "string"
@@ -55369,174 +56122,14 @@
55369
56122
  "content": {
55370
56123
  "application/json": {
55371
56124
  "schema": {
55372
- "$ref": "#/components/schemas/SanityPatchJobPosition"
56125
+ "$ref": "#/components/schemas/SanityPatchGroup"
55373
56126
  }
55374
56127
  }
55375
56128
  }
55376
56129
  }
55377
56130
  },
55378
56131
  "delete": {
55379
- "operationId": "DeleteJobPosition",
55380
- "responses": {
55381
- "200": {
55382
- "description": "Ok",
55383
- "content": {
55384
- "application/json": {
55385
- "schema": {
55386
- "$ref": "#/components/schemas/SanityJobPosition"
55387
- }
55388
- }
55389
- }
55390
- }
55391
- },
55392
- "tags": [
55393
- "Job positions"
55394
- ],
55395
- "security": [
55396
- {
55397
- "Implicit": [
55398
- "WILL BE REPLACED"
55399
- ]
55400
- }
55401
- ],
55402
- "parameters": [
55403
- {
55404
- "in": "path",
55405
- "name": "slugOrId",
55406
- "required": true,
55407
- "schema": {
55408
- "type": "string"
55409
- }
55410
- }
55411
- ]
55412
- }
55413
- },
55414
- "/v1.0/protected/health/{provider}": {
55415
- "get": {
55416
- "operationId": "CheckHealth",
55417
- "responses": {
55418
- "200": {
55419
- "description": "Ok",
55420
- "content": {
55421
- "application/json": {
55422
- "schema": {
55423
- "$ref": "#/components/schemas/IntegrationHealthResult"
55424
- }
55425
- }
55426
- }
55427
- }
55428
- },
55429
- "tags": [
55430
- "Health"
55431
- ],
55432
- "security": [
55433
- {
55434
- "Implicit": [
55435
- "WILL BE REPLACED"
55436
- ]
55437
- }
55438
- ],
55439
- "parameters": [
55440
- {
55441
- "in": "path",
55442
- "name": "provider",
55443
- "required": true,
55444
- "schema": {
55445
- "type": "string"
55446
- }
55447
- }
55448
- ]
55449
- }
55450
- },
55451
- "/v1.0/groups": {
55452
- "get": {
55453
- "operationId": "GetGroups",
55454
- "responses": {
55455
- "200": {
55456
- "description": "Ok",
55457
- "content": {
55458
- "application/json": {
55459
- "schema": {
55460
- "items": {
55461
- "$ref": "#/components/schemas/SanityGroup"
55462
- },
55463
- "type": "array"
55464
- }
55465
- }
55466
- }
55467
- }
55468
- },
55469
- "tags": [
55470
- "Group"
55471
- ],
55472
- "security": [
55473
- {
55474
- "Implicit": [
55475
- "WILL BE REPLACED"
55476
- ]
55477
- }
55478
- ],
55479
- "parameters": [
55480
- {
55481
- "in": "query",
55482
- "name": "useCache",
55483
- "required": false,
55484
- "schema": {
55485
- "default": true,
55486
- "type": "boolean"
55487
- }
55488
- },
55489
- {
55490
- "in": "query",
55491
- "name": "useCdn",
55492
- "required": false,
55493
- "schema": {
55494
- "default": false,
55495
- "type": "boolean"
55496
- }
55497
- }
55498
- ]
55499
- },
55500
- "post": {
55501
- "operationId": "CreateGroup",
55502
- "responses": {
55503
- "200": {
55504
- "description": "Ok",
55505
- "content": {
55506
- "application/json": {
55507
- "schema": {
55508
- "$ref": "#/components/schemas/SanityGroup"
55509
- }
55510
- }
55511
- }
55512
- }
55513
- },
55514
- "tags": [
55515
- "Group"
55516
- ],
55517
- "security": [
55518
- {
55519
- "Implicit": [
55520
- "WILL BE REPLACED"
55521
- ]
55522
- }
55523
- ],
55524
- "parameters": [],
55525
- "requestBody": {
55526
- "required": true,
55527
- "content": {
55528
- "application/json": {
55529
- "schema": {
55530
- "$ref": "#/components/schemas/SanityCreateGroup"
55531
- }
55532
- }
55533
- }
55534
- }
55535
- }
55536
- },
55537
- "/v1.0/groups/{id}": {
55538
- "get": {
55539
- "operationId": "GetById",
56132
+ "operationId": "DeleteGroup",
55540
56133
  "responses": {
55541
56134
  "200": {
55542
56135
  "description": "Ok",
@@ -55567,29 +56160,13 @@
55567
56160
  "schema": {
55568
56161
  "type": "string"
55569
56162
  }
55570
- },
55571
- {
55572
- "in": "query",
55573
- "name": "useCache",
55574
- "required": false,
55575
- "schema": {
55576
- "default": true,
55577
- "type": "boolean"
55578
- }
55579
- },
55580
- {
55581
- "in": "query",
55582
- "name": "useCdn",
55583
- "required": false,
55584
- "schema": {
55585
- "default": true,
55586
- "type": "boolean"
55587
- }
55588
56163
  }
55589
56164
  ]
55590
- },
55591
- "patch": {
55592
- "operationId": "PatchGroup",
56165
+ }
56166
+ },
56167
+ "/v1.0/groups/{id}/scope-grants": {
56168
+ "put": {
56169
+ "operationId": "SetGroupScopeGrants",
55593
56170
  "responses": {
55594
56171
  "200": {
55595
56172
  "description": "Ok",
@@ -55627,46 +56204,11 @@
55627
56204
  "content": {
55628
56205
  "application/json": {
55629
56206
  "schema": {
55630
- "$ref": "#/components/schemas/SanityPatchGroup"
56207
+ "$ref": "#/components/schemas/SanitySetGroupScopeGrants"
55631
56208
  }
55632
56209
  }
55633
56210
  }
55634
56211
  }
55635
- },
55636
- "delete": {
55637
- "operationId": "DeleteGroup",
55638
- "responses": {
55639
- "200": {
55640
- "description": "Ok",
55641
- "content": {
55642
- "application/json": {
55643
- "schema": {
55644
- "$ref": "#/components/schemas/SanityGroup"
55645
- }
55646
- }
55647
- }
55648
- }
55649
- },
55650
- "tags": [
55651
- "Group"
55652
- ],
55653
- "security": [
55654
- {
55655
- "Implicit": [
55656
- "WILL BE REPLACED"
55657
- ]
55658
- }
55659
- ],
55660
- "parameters": [
55661
- {
55662
- "in": "path",
55663
- "name": "id",
55664
- "required": true,
55665
- "schema": {
55666
- "type": "string"
55667
- }
55668
- }
55669
- ]
55670
56212
  }
55671
56213
  },
55672
56214
  "/v1.0/goods": {
@@ -58618,6 +59160,53 @@
58618
59160
  }
58619
59161
  }
58620
59162
  },
59163
+ "/v1.0/employees/{slugIdOrEmail}/scope-grants": {
59164
+ "put": {
59165
+ "operationId": "SetEmployeeScopeGrants",
59166
+ "responses": {
59167
+ "200": {
59168
+ "description": "Ok",
59169
+ "content": {
59170
+ "application/json": {
59171
+ "schema": {
59172
+ "$ref": "#/components/schemas/SanityEmployee"
59173
+ }
59174
+ }
59175
+ }
59176
+ }
59177
+ },
59178
+ "tags": [
59179
+ "Employees"
59180
+ ],
59181
+ "security": [
59182
+ {
59183
+ "Implicit": [
59184
+ "WILL BE REPLACED"
59185
+ ]
59186
+ }
59187
+ ],
59188
+ "parameters": [
59189
+ {
59190
+ "in": "path",
59191
+ "name": "slugIdOrEmail",
59192
+ "required": true,
59193
+ "schema": {
59194
+ "type": "string"
59195
+ }
59196
+ }
59197
+ ],
59198
+ "requestBody": {
59199
+ "required": true,
59200
+ "content": {
59201
+ "application/json": {
59202
+ "schema": {
59203
+ "$ref": "#/components/schemas/SanitySetEmployeeScopeGrants"
59204
+ }
59205
+ }
59206
+ }
59207
+ }
59208
+ }
59209
+ },
58621
59210
  "/v1.0/documents": {
58622
59211
  "get": {
58623
59212
  "operationId": "GetDocuments",
@@ -58723,6 +59312,53 @@
58723
59312
  ]
58724
59313
  }
58725
59314
  },
59315
+ "/v1.0/dataset/content-signals": {
59316
+ "get": {
59317
+ "operationId": "GetContentSignals",
59318
+ "responses": {
59319
+ "200": {
59320
+ "description": "Ok",
59321
+ "content": {
59322
+ "application/json": {
59323
+ "schema": {
59324
+ "$ref": "#/components/schemas/SanityContentSignals"
59325
+ }
59326
+ }
59327
+ }
59328
+ }
59329
+ },
59330
+ "tags": [
59331
+ "Dataset"
59332
+ ],
59333
+ "security": [
59334
+ {
59335
+ "Implicit": [
59336
+ "WILL BE REPLACED"
59337
+ ]
59338
+ }
59339
+ ],
59340
+ "parameters": [
59341
+ {
59342
+ "in": "query",
59343
+ "name": "useCache",
59344
+ "required": false,
59345
+ "schema": {
59346
+ "default": false,
59347
+ "type": "boolean"
59348
+ }
59349
+ },
59350
+ {
59351
+ "in": "query",
59352
+ "name": "useCdn",
59353
+ "required": false,
59354
+ "schema": {
59355
+ "default": false,
59356
+ "type": "boolean"
59357
+ }
59358
+ }
59359
+ ]
59360
+ }
59361
+ },
58726
59362
  "/v1.0/customers": {
58727
59363
  "get": {
58728
59364
  "operationId": "GetCustomers",