@model-match/api 3.105.0 → 3.106.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.
- package/RELEASE_NOTES.md +6 -0
- package/dist/{index-DZEhRXIv.d.mts → index-D5MQxc4l.d.mts} +627 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +48 -6
- package/dist/slim/index.mjs +146 -6
- package/dist/{src-D4jlOQcB.mjs → src-DlIVTyg4.mjs} +162 -4
- package/openapi.json +2164 -713
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -19719,6 +19719,10 @@
|
|
|
19719
19719
|
"nullable": true,
|
|
19720
19720
|
"type": "string"
|
|
19721
19721
|
},
|
|
19722
|
+
"actorEngagementId": {
|
|
19723
|
+
"nullable": true,
|
|
19724
|
+
"type": "string"
|
|
19725
|
+
},
|
|
19722
19726
|
"actorImage": {
|
|
19723
19727
|
"nullable": true,
|
|
19724
19728
|
"type": "string"
|
|
@@ -22569,6 +22573,10 @@
|
|
|
22569
22573
|
"nullable": true,
|
|
22570
22574
|
"type": "string"
|
|
22571
22575
|
},
|
|
22576
|
+
"actorEngagementId": {
|
|
22577
|
+
"nullable": true,
|
|
22578
|
+
"type": "string"
|
|
22579
|
+
},
|
|
22572
22580
|
"actorMode": {
|
|
22573
22581
|
"enum": [
|
|
22574
22582
|
"user",
|
|
@@ -22618,6 +22626,7 @@
|
|
|
22618
22626
|
"actorRunId",
|
|
22619
22627
|
"actorChatId",
|
|
22620
22628
|
"auditRef",
|
|
22629
|
+
"actorEngagementId",
|
|
22621
22630
|
"createdAt"
|
|
22622
22631
|
],
|
|
22623
22632
|
"type": "object"
|
|
@@ -27756,6 +27765,11 @@
|
|
|
27756
27765
|
"ownerId": {
|
|
27757
27766
|
"type": "string"
|
|
27758
27767
|
},
|
|
27768
|
+
"pinnedAt": {
|
|
27769
|
+
"description": "When you pinned the file; `null` when you have not. Pins are personal.",
|
|
27770
|
+
"nullable": true,
|
|
27771
|
+
"type": "string"
|
|
27772
|
+
},
|
|
27759
27773
|
"provenance": {
|
|
27760
27774
|
"additionalProperties": {
|
|
27761
27775
|
"type": "string"
|
|
@@ -27767,6 +27781,9 @@
|
|
|
27767
27781
|
"nullable": true,
|
|
27768
27782
|
"type": "string"
|
|
27769
27783
|
},
|
|
27784
|
+
"ref": {
|
|
27785
|
+
"$ref": "#/components/schemas/FileRef"
|
|
27786
|
+
},
|
|
27770
27787
|
"retainUntil": {
|
|
27771
27788
|
"nullable": true,
|
|
27772
27789
|
"type": "string"
|
|
@@ -27834,7 +27851,9 @@
|
|
|
27834
27851
|
"legalHold",
|
|
27835
27852
|
"createdAt",
|
|
27836
27853
|
"updatedAt",
|
|
27837
|
-
"readyAt"
|
|
27854
|
+
"readyAt",
|
|
27855
|
+
"ref",
|
|
27856
|
+
"pinnedAt"
|
|
27838
27857
|
],
|
|
27839
27858
|
"type": "object"
|
|
27840
27859
|
},
|
|
@@ -28007,7 +28026,7 @@
|
|
|
28007
28026
|
"FileError": {
|
|
28008
28027
|
"properties": {
|
|
28009
28028
|
"code": {
|
|
28010
|
-
"description": "Stable code: `not_found`, `forbidden`, `no_organization`, `unauthenticated`, `invalid_request`, `invalid_cursor`, `invalid_principal`, `principal_not_in_organization`, `invalid_link_target`, `link_target_not_supported`, `link_not_found`, `share_not_found`, `upload_missing`, `upload_rejected`, `size_mismatch`, `checksum_mismatch`, `not_ready`, `legal_hold`, `retention`, `protected_share_scope`, `agent_not_approved`, `human_required`, `not_protected`, `invalid_derived_from`, `malware`, `unscannable`, `file_busy`, `access_log_unavailable`, `scan_pending`, `revision_pending`, `storage_unavailable`, `membership_unavailable`.",
|
|
28029
|
+
"description": "Stable code: `not_found`, `forbidden`, `no_organization`, `unauthenticated`, `invalid_request`, `invalid_cursor`, `invalid_principal`, `principal_not_in_organization`, `invalid_link_target`, `link_target_not_supported`, `link_not_found`, `share_not_found`, `upload_missing`, `upload_rejected`, `size_mismatch`, `checksum_mismatch`, `not_ready`, `legal_hold`, `retention`, `protected_share_scope`, `agent_not_approved`, `human_required`, `not_protected`, `invalid_derived_from`, `malware`, `unscannable`, `file_busy`, `access_log_unavailable`, `scan_pending`, `revision_pending`, `storage_unavailable`, `membership_unavailable`, `no_content`, `not_reference`, `reference_not_supported`.",
|
|
28011
28030
|
"type": "string"
|
|
28012
28031
|
},
|
|
28013
28032
|
"error": {
|
|
@@ -28062,6 +28081,23 @@
|
|
|
28062
28081
|
"minLength": 1,
|
|
28063
28082
|
"type": "string"
|
|
28064
28083
|
},
|
|
28084
|
+
"ref": {
|
|
28085
|
+
"additionalProperties": false,
|
|
28086
|
+
"description": "A link entry only (owner or editor): where it opens now. Its app and id never change.",
|
|
28087
|
+
"properties": {
|
|
28088
|
+
"url": {
|
|
28089
|
+
"description": "Where to open it (http or https).",
|
|
28090
|
+
"example": "https://ask.modelmatch.com/dashboards/dash_123",
|
|
28091
|
+
"format": "uri",
|
|
28092
|
+
"maxLength": 2000,
|
|
28093
|
+
"type": "string"
|
|
28094
|
+
}
|
|
28095
|
+
},
|
|
28096
|
+
"required": [
|
|
28097
|
+
"url"
|
|
28098
|
+
],
|
|
28099
|
+
"type": "object"
|
|
28100
|
+
},
|
|
28065
28101
|
"retainUntil": {
|
|
28066
28102
|
"description": "Keep the file until this time (the owner or an organization admin); `null` clears it. The file cannot be deleted before then.",
|
|
28067
28103
|
"format": "date-time",
|
|
@@ -28071,6 +28107,94 @@
|
|
|
28071
28107
|
},
|
|
28072
28108
|
"type": "object"
|
|
28073
28109
|
},
|
|
28110
|
+
"FileRef": {
|
|
28111
|
+
"additionalProperties": false,
|
|
28112
|
+
"description": "Set when the entry is a link to something that lives in another app (a dashboard, chart or table that stays live there): the app, its id there, and where to open it. Such an entry has no contents (`sizeBytes` 0) unless a thumbnail image was put on it; `null` for an ordinary file.",
|
|
28113
|
+
"nullable": true,
|
|
28114
|
+
"properties": {
|
|
28115
|
+
"app": {
|
|
28116
|
+
"description": "The app the entry points into, e.g. `ask`.",
|
|
28117
|
+
"example": "ask",
|
|
28118
|
+
"pattern": "^[a-z][a-z0-9_]{0,31}$",
|
|
28119
|
+
"type": "string"
|
|
28120
|
+
},
|
|
28121
|
+
"id": {
|
|
28122
|
+
"description": "Its id in that app.",
|
|
28123
|
+
"example": "dash_123",
|
|
28124
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,200}$",
|
|
28125
|
+
"type": "string"
|
|
28126
|
+
},
|
|
28127
|
+
"url": {
|
|
28128
|
+
"description": "Where to open it (http or https).",
|
|
28129
|
+
"example": "https://ask.modelmatch.com/dashboards/dash_123",
|
|
28130
|
+
"format": "uri",
|
|
28131
|
+
"maxLength": 2000,
|
|
28132
|
+
"type": "string"
|
|
28133
|
+
}
|
|
28134
|
+
},
|
|
28135
|
+
"required": [
|
|
28136
|
+
"app",
|
|
28137
|
+
"id",
|
|
28138
|
+
"url"
|
|
28139
|
+
],
|
|
28140
|
+
"type": "object"
|
|
28141
|
+
},
|
|
28142
|
+
"FileReferenceCreate": {
|
|
28143
|
+
"additionalProperties": false,
|
|
28144
|
+
"properties": {
|
|
28145
|
+
"kind": {
|
|
28146
|
+
"description": "What it is: `dashboard`, `chart`, `table`…",
|
|
28147
|
+
"example": "dashboard",
|
|
28148
|
+
"pattern": "^[a-z][a-z0-9_]{0,31}$",
|
|
28149
|
+
"type": "string"
|
|
28150
|
+
},
|
|
28151
|
+
"links": {
|
|
28152
|
+
"items": {
|
|
28153
|
+
"description": "What the file belongs to, as `<type>:<id>`: `crm_record` (a CRM person or company, by its record id, e.g. `crm_record:lo:123`), `studio_table`, `ask_chat`, `ask_project` or `export_job`. You must be able to see a CRM record to link a file to it, and anyone who can see the record can view the standard files linked to it.",
|
|
28154
|
+
"example": "ask_chat:chat_123",
|
|
28155
|
+
"maxLength": 220,
|
|
28156
|
+
"minLength": 3,
|
|
28157
|
+
"type": "string"
|
|
28158
|
+
},
|
|
28159
|
+
"maxItems": 20,
|
|
28160
|
+
"type": "array"
|
|
28161
|
+
},
|
|
28162
|
+
"metadata": {
|
|
28163
|
+
"additionalProperties": {
|
|
28164
|
+
"nullable": true
|
|
28165
|
+
},
|
|
28166
|
+
"type": "object"
|
|
28167
|
+
},
|
|
28168
|
+
"name": {
|
|
28169
|
+
"description": "The title shown in the library.",
|
|
28170
|
+
"example": "Austin purchase volume",
|
|
28171
|
+
"maxLength": 255,
|
|
28172
|
+
"minLength": 1,
|
|
28173
|
+
"type": "string"
|
|
28174
|
+
},
|
|
28175
|
+
"origin": {
|
|
28176
|
+
"description": "Defaults to `app`.",
|
|
28177
|
+
"pattern": "^[a-z][a-z0-9_]{0,31}$",
|
|
28178
|
+
"type": "string"
|
|
28179
|
+
},
|
|
28180
|
+
"provenance": {
|
|
28181
|
+
"additionalProperties": {
|
|
28182
|
+
"maxLength": 200,
|
|
28183
|
+
"type": "string"
|
|
28184
|
+
},
|
|
28185
|
+
"type": "object"
|
|
28186
|
+
},
|
|
28187
|
+
"ref": {
|
|
28188
|
+
"$ref": "#/components/schemas/FileRef"
|
|
28189
|
+
}
|
|
28190
|
+
},
|
|
28191
|
+
"required": [
|
|
28192
|
+
"name",
|
|
28193
|
+
"kind",
|
|
28194
|
+
"ref"
|
|
28195
|
+
],
|
|
28196
|
+
"type": "object"
|
|
28197
|
+
},
|
|
28074
28198
|
"FileRevisionCreate": {
|
|
28075
28199
|
"additionalProperties": false,
|
|
28076
28200
|
"properties": {
|
|
@@ -47725,6 +47849,346 @@
|
|
|
47725
47849
|
],
|
|
47726
47850
|
"type": "object"
|
|
47727
47851
|
},
|
|
47852
|
+
"RecruitingActiveCall": {
|
|
47853
|
+
"nullable": true,
|
|
47854
|
+
"properties": {
|
|
47855
|
+
"engagementId": {
|
|
47856
|
+
"type": "string"
|
|
47857
|
+
},
|
|
47858
|
+
"entityId": {
|
|
47859
|
+
"type": "string"
|
|
47860
|
+
},
|
|
47861
|
+
"id": {
|
|
47862
|
+
"type": "string"
|
|
47863
|
+
},
|
|
47864
|
+
"organizationId": {
|
|
47865
|
+
"type": "string"
|
|
47866
|
+
},
|
|
47867
|
+
"recordName": {
|
|
47868
|
+
"nullable": true,
|
|
47869
|
+
"type": "string"
|
|
47870
|
+
},
|
|
47871
|
+
"toNumber": {
|
|
47872
|
+
"type": "string"
|
|
47873
|
+
},
|
|
47874
|
+
"workspace": {
|
|
47875
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
47876
|
+
}
|
|
47877
|
+
},
|
|
47878
|
+
"required": [
|
|
47879
|
+
"id",
|
|
47880
|
+
"organizationId",
|
|
47881
|
+
"entityId",
|
|
47882
|
+
"toNumber",
|
|
47883
|
+
"recordName",
|
|
47884
|
+
"workspace",
|
|
47885
|
+
"engagementId"
|
|
47886
|
+
],
|
|
47887
|
+
"type": "object"
|
|
47888
|
+
},
|
|
47889
|
+
"RecruitingActiveCallResult": {
|
|
47890
|
+
"properties": {
|
|
47891
|
+
"data": {
|
|
47892
|
+
"$ref": "#/components/schemas/RecruitingActiveCall"
|
|
47893
|
+
}
|
|
47894
|
+
},
|
|
47895
|
+
"required": [
|
|
47896
|
+
"data"
|
|
47897
|
+
],
|
|
47898
|
+
"type": "object"
|
|
47899
|
+
},
|
|
47900
|
+
"RecruitingEngagement": {
|
|
47901
|
+
"properties": {
|
|
47902
|
+
"engagementId": {
|
|
47903
|
+
"type": "string"
|
|
47904
|
+
},
|
|
47905
|
+
"engagementName": {
|
|
47906
|
+
"type": "string"
|
|
47907
|
+
},
|
|
47908
|
+
"kind": {
|
|
47909
|
+
"type": "string"
|
|
47910
|
+
},
|
|
47911
|
+
"role": {
|
|
47912
|
+
"type": "string"
|
|
47913
|
+
},
|
|
47914
|
+
"workspace": {
|
|
47915
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
47916
|
+
}
|
|
47917
|
+
},
|
|
47918
|
+
"required": [
|
|
47919
|
+
"engagementId",
|
|
47920
|
+
"engagementName",
|
|
47921
|
+
"kind",
|
|
47922
|
+
"role",
|
|
47923
|
+
"workspace"
|
|
47924
|
+
],
|
|
47925
|
+
"type": "object"
|
|
47926
|
+
},
|
|
47927
|
+
"RecruitingEngagementList": {
|
|
47928
|
+
"properties": {
|
|
47929
|
+
"data": {
|
|
47930
|
+
"items": {
|
|
47931
|
+
"$ref": "#/components/schemas/RecruitingEngagement"
|
|
47932
|
+
},
|
|
47933
|
+
"type": "array"
|
|
47934
|
+
}
|
|
47935
|
+
},
|
|
47936
|
+
"required": [
|
|
47937
|
+
"data"
|
|
47938
|
+
],
|
|
47939
|
+
"type": "object"
|
|
47940
|
+
},
|
|
47941
|
+
"RecruitingLists": {
|
|
47942
|
+
"properties": {
|
|
47943
|
+
"items": {
|
|
47944
|
+
"items": {
|
|
47945
|
+
"allOf": [
|
|
47946
|
+
{
|
|
47947
|
+
"$ref": "#/components/schemas/CrmList"
|
|
47948
|
+
},
|
|
47949
|
+
{
|
|
47950
|
+
"properties": {
|
|
47951
|
+
"engagementId": {
|
|
47952
|
+
"type": "string"
|
|
47953
|
+
},
|
|
47954
|
+
"workspace": {
|
|
47955
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
47956
|
+
}
|
|
47957
|
+
},
|
|
47958
|
+
"required": [
|
|
47959
|
+
"workspace",
|
|
47960
|
+
"engagementId"
|
|
47961
|
+
],
|
|
47962
|
+
"type": "object"
|
|
47963
|
+
}
|
|
47964
|
+
]
|
|
47965
|
+
},
|
|
47966
|
+
"type": "array"
|
|
47967
|
+
},
|
|
47968
|
+
"unavailable": {
|
|
47969
|
+
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
47970
|
+
"items": {
|
|
47971
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
47972
|
+
},
|
|
47973
|
+
"type": "array"
|
|
47974
|
+
}
|
|
47975
|
+
},
|
|
47976
|
+
"required": [
|
|
47977
|
+
"items",
|
|
47978
|
+
"unavailable"
|
|
47979
|
+
],
|
|
47980
|
+
"type": "object"
|
|
47981
|
+
},
|
|
47982
|
+
"RecruitingListsResult": {
|
|
47983
|
+
"properties": {
|
|
47984
|
+
"data": {
|
|
47985
|
+
"$ref": "#/components/schemas/RecruitingLists"
|
|
47986
|
+
}
|
|
47987
|
+
},
|
|
47988
|
+
"required": [
|
|
47989
|
+
"data"
|
|
47990
|
+
],
|
|
47991
|
+
"type": "object"
|
|
47992
|
+
},
|
|
47993
|
+
"RecruitingPeople": {
|
|
47994
|
+
"properties": {
|
|
47995
|
+
"items": {
|
|
47996
|
+
"items": {
|
|
47997
|
+
"allOf": [
|
|
47998
|
+
{
|
|
47999
|
+
"$ref": "#/components/schemas/CrmListMember"
|
|
48000
|
+
},
|
|
48001
|
+
{
|
|
48002
|
+
"properties": {
|
|
48003
|
+
"engagementId": {
|
|
48004
|
+
"type": "string"
|
|
48005
|
+
},
|
|
48006
|
+
"workspace": {
|
|
48007
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48008
|
+
}
|
|
48009
|
+
},
|
|
48010
|
+
"required": [
|
|
48011
|
+
"workspace",
|
|
48012
|
+
"engagementId"
|
|
48013
|
+
],
|
|
48014
|
+
"type": "object"
|
|
48015
|
+
}
|
|
48016
|
+
]
|
|
48017
|
+
},
|
|
48018
|
+
"type": "array"
|
|
48019
|
+
},
|
|
48020
|
+
"unavailable": {
|
|
48021
|
+
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
48022
|
+
"items": {
|
|
48023
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48024
|
+
},
|
|
48025
|
+
"type": "array"
|
|
48026
|
+
}
|
|
48027
|
+
},
|
|
48028
|
+
"required": [
|
|
48029
|
+
"items",
|
|
48030
|
+
"unavailable"
|
|
48031
|
+
],
|
|
48032
|
+
"type": "object"
|
|
48033
|
+
},
|
|
48034
|
+
"RecruitingPeopleResult": {
|
|
48035
|
+
"properties": {
|
|
48036
|
+
"data": {
|
|
48037
|
+
"$ref": "#/components/schemas/RecruitingPeople"
|
|
48038
|
+
}
|
|
48039
|
+
},
|
|
48040
|
+
"required": [
|
|
48041
|
+
"data"
|
|
48042
|
+
],
|
|
48043
|
+
"type": "object"
|
|
48044
|
+
},
|
|
48045
|
+
"RecruitingPeopleSearch": {
|
|
48046
|
+
"properties": {
|
|
48047
|
+
"items": {
|
|
48048
|
+
"items": {
|
|
48049
|
+
"allOf": [
|
|
48050
|
+
{
|
|
48051
|
+
"$ref": "#/components/schemas/CrmMentionRecord"
|
|
48052
|
+
},
|
|
48053
|
+
{
|
|
48054
|
+
"properties": {
|
|
48055
|
+
"engagementId": {
|
|
48056
|
+
"type": "string"
|
|
48057
|
+
},
|
|
48058
|
+
"workspace": {
|
|
48059
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48060
|
+
}
|
|
48061
|
+
},
|
|
48062
|
+
"required": [
|
|
48063
|
+
"workspace",
|
|
48064
|
+
"engagementId"
|
|
48065
|
+
],
|
|
48066
|
+
"type": "object"
|
|
48067
|
+
}
|
|
48068
|
+
]
|
|
48069
|
+
},
|
|
48070
|
+
"type": "array"
|
|
48071
|
+
},
|
|
48072
|
+
"unavailable": {
|
|
48073
|
+
"description": "Customers whose read failed; their rows are missing. Retry later.",
|
|
48074
|
+
"items": {
|
|
48075
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48076
|
+
},
|
|
48077
|
+
"type": "array"
|
|
48078
|
+
}
|
|
48079
|
+
},
|
|
48080
|
+
"required": [
|
|
48081
|
+
"items",
|
|
48082
|
+
"unavailable"
|
|
48083
|
+
],
|
|
48084
|
+
"type": "object"
|
|
48085
|
+
},
|
|
48086
|
+
"RecruitingPeopleSearchResult": {
|
|
48087
|
+
"properties": {
|
|
48088
|
+
"data": {
|
|
48089
|
+
"$ref": "#/components/schemas/RecruitingPeopleSearch"
|
|
48090
|
+
}
|
|
48091
|
+
},
|
|
48092
|
+
"required": [
|
|
48093
|
+
"data"
|
|
48094
|
+
],
|
|
48095
|
+
"type": "object"
|
|
48096
|
+
},
|
|
48097
|
+
"RecruitingQueue": {
|
|
48098
|
+
"properties": {
|
|
48099
|
+
"meetings": {
|
|
48100
|
+
"items": {
|
|
48101
|
+
"allOf": [
|
|
48102
|
+
{
|
|
48103
|
+
"$ref": "#/components/schemas/CrmWorkspaceMeeting"
|
|
48104
|
+
},
|
|
48105
|
+
{
|
|
48106
|
+
"properties": {
|
|
48107
|
+
"engagementId": {
|
|
48108
|
+
"type": "string"
|
|
48109
|
+
},
|
|
48110
|
+
"workspace": {
|
|
48111
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48112
|
+
}
|
|
48113
|
+
},
|
|
48114
|
+
"required": [
|
|
48115
|
+
"workspace",
|
|
48116
|
+
"engagementId"
|
|
48117
|
+
],
|
|
48118
|
+
"type": "object"
|
|
48119
|
+
}
|
|
48120
|
+
]
|
|
48121
|
+
},
|
|
48122
|
+
"type": "array"
|
|
48123
|
+
},
|
|
48124
|
+
"tasks": {
|
|
48125
|
+
"items": {
|
|
48126
|
+
"allOf": [
|
|
48127
|
+
{
|
|
48128
|
+
"$ref": "#/components/schemas/CrmWorkspaceTask"
|
|
48129
|
+
},
|
|
48130
|
+
{
|
|
48131
|
+
"properties": {
|
|
48132
|
+
"engagementId": {
|
|
48133
|
+
"type": "string"
|
|
48134
|
+
},
|
|
48135
|
+
"workspace": {
|
|
48136
|
+
"$ref": "#/components/schemas/RecruitingWorkspace"
|
|
48137
|
+
}
|
|
48138
|
+
},
|
|
48139
|
+
"required": [
|
|
48140
|
+
"workspace",
|
|
48141
|
+
"engagementId"
|
|
48142
|
+
],
|
|
48143
|
+
"type": "object"
|
|
48144
|
+
}
|
|
48145
|
+
]
|
|
48146
|
+
},
|
|
48147
|
+
"type": "array"
|
|
48148
|
+
}
|
|
48149
|
+
},
|
|
48150
|
+
"required": [
|
|
48151
|
+
"tasks",
|
|
48152
|
+
"meetings"
|
|
48153
|
+
],
|
|
48154
|
+
"type": "object"
|
|
48155
|
+
},
|
|
48156
|
+
"RecruitingQueueResult": {
|
|
48157
|
+
"properties": {
|
|
48158
|
+
"data": {
|
|
48159
|
+
"$ref": "#/components/schemas/RecruitingQueue"
|
|
48160
|
+
}
|
|
48161
|
+
},
|
|
48162
|
+
"required": [
|
|
48163
|
+
"data"
|
|
48164
|
+
],
|
|
48165
|
+
"type": "object"
|
|
48166
|
+
},
|
|
48167
|
+
"RecruitingWorkspace": {
|
|
48168
|
+
"properties": {
|
|
48169
|
+
"id": {
|
|
48170
|
+
"type": "string"
|
|
48171
|
+
},
|
|
48172
|
+
"logo": {
|
|
48173
|
+
"nullable": true,
|
|
48174
|
+
"type": "string"
|
|
48175
|
+
},
|
|
48176
|
+
"name": {
|
|
48177
|
+
"type": "string"
|
|
48178
|
+
},
|
|
48179
|
+
"slug": {
|
|
48180
|
+
"nullable": true,
|
|
48181
|
+
"type": "string"
|
|
48182
|
+
}
|
|
48183
|
+
},
|
|
48184
|
+
"required": [
|
|
48185
|
+
"id",
|
|
48186
|
+
"name",
|
|
48187
|
+
"slug",
|
|
48188
|
+
"logo"
|
|
48189
|
+
],
|
|
48190
|
+
"type": "object"
|
|
48191
|
+
},
|
|
47728
48192
|
"RelatedResponse": {
|
|
47729
48193
|
"properties": {
|
|
47730
48194
|
"data": {
|
|
@@ -52084,6 +52548,10 @@
|
|
|
52084
52548
|
"finishedAt": {
|
|
52085
52549
|
"type": "string"
|
|
52086
52550
|
},
|
|
52551
|
+
"free": {
|
|
52552
|
+
"description": "True: a monitor's run (a job with alert rules) that matched none, which is not charged.",
|
|
52553
|
+
"type": "boolean"
|
|
52554
|
+
},
|
|
52087
52555
|
"limits": {
|
|
52088
52556
|
"description": "The limits this run had.",
|
|
52089
52557
|
"properties": {
|
|
@@ -57767,7 +58235,7 @@
|
|
|
57767
58235
|
"info": {
|
|
57768
58236
|
"description": "ModelMatch API — mortgage and real-estate market data.\n\n## Bulk delivery limits\n\nThe `POST /{entity}/bulk-delivery` endpoints export a full result set to\nS3 as NDJSON, JSON, CSV, or Parquet.\n\n- **Up to 5,000 rows per delivery: no entitlement required.** Available to\n every authenticated caller.\n- **Above 5,000 rows: requires the entity's `bulk-delivery.{entity}`\n entitlement** (e.g. `bulk-delivery.loans`). The grant's scope sets your\n row ceiling and may also restrict which rows and fields you receive.\n\nA delivery that would exceed the limit available to you is rejected with\n`403 entitlement_missing`, reporting the matched row count and the ceiling\nthat applied. To stay under the limit, pass `limit` — the job then delivers\n(and bills for) only the first `limit` rows of a broader query.\n\n**Need a higher limit?** Email support@modelmatch.com to request the\nentitlement. Limits are raised per organization and per entity.\n\nBulk delivery is billed at 1 credit per delivered row whether or not\nan entitlement is held.\n\nInstead of a download, a delivery can be sent to a push target configured\non your workspace: pass `destination: { type: \"push-target\", targetId }`.\nThe same limits and billing apply.",
|
|
57769
58237
|
"title": "ModelMatch API",
|
|
57770
|
-
"version": "3.
|
|
58238
|
+
"version": "3.208.0"
|
|
57771
58239
|
},
|
|
57772
58240
|
"openapi": "3.1.0",
|
|
57773
58241
|
"paths": {
|
|
@@ -80577,71 +81045,1004 @@
|
|
|
80577
81045
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
80578
81046
|
}
|
|
80579
81047
|
},
|
|
80580
|
-
"summary": "Find an existing CRM record by NMLS id",
|
|
81048
|
+
"summary": "Find an existing CRM record by NMLS id",
|
|
81049
|
+
"tags": [
|
|
81050
|
+
"CRM"
|
|
81051
|
+
]
|
|
81052
|
+
}
|
|
81053
|
+
},
|
|
81054
|
+
"/v1/crm/records/connections": {
|
|
81055
|
+
"post": {
|
|
81056
|
+
"operationId": "getCrmRecordConnections",
|
|
81057
|
+
"requestBody": {
|
|
81058
|
+
"content": {
|
|
81059
|
+
"application/json": {
|
|
81060
|
+
"schema": {
|
|
81061
|
+
"properties": {
|
|
81062
|
+
"branchName": {
|
|
81063
|
+
"type": "string"
|
|
81064
|
+
},
|
|
81065
|
+
"branchNmlsId": {
|
|
81066
|
+
"type": "string"
|
|
81067
|
+
},
|
|
81068
|
+
"companyName": {
|
|
81069
|
+
"type": "string"
|
|
81070
|
+
},
|
|
81071
|
+
"companyNmlsId": {
|
|
81072
|
+
"type": "string"
|
|
81073
|
+
},
|
|
81074
|
+
"entityId": {
|
|
81075
|
+
"minLength": 1,
|
|
81076
|
+
"type": "string"
|
|
81077
|
+
},
|
|
81078
|
+
"entityType": {
|
|
81079
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81080
|
+
},
|
|
81081
|
+
"officeKey": {
|
|
81082
|
+
"type": "string"
|
|
81083
|
+
},
|
|
81084
|
+
"officeName": {
|
|
81085
|
+
"type": "string"
|
|
81086
|
+
},
|
|
81087
|
+
"partnerEntityIds": {
|
|
81088
|
+
"items": {
|
|
81089
|
+
"type": "string"
|
|
81090
|
+
},
|
|
81091
|
+
"type": "array"
|
|
81092
|
+
}
|
|
81093
|
+
},
|
|
81094
|
+
"required": [
|
|
81095
|
+
"entityId",
|
|
81096
|
+
"entityType"
|
|
81097
|
+
],
|
|
81098
|
+
"type": "object"
|
|
81099
|
+
}
|
|
81100
|
+
}
|
|
81101
|
+
}
|
|
81102
|
+
},
|
|
81103
|
+
"responses": {
|
|
81104
|
+
"200": {
|
|
81105
|
+
"content": {
|
|
81106
|
+
"application/json": {
|
|
81107
|
+
"schema": {
|
|
81108
|
+
"$ref": "#/components/schemas/CrmRecordConnections"
|
|
81109
|
+
}
|
|
81110
|
+
}
|
|
81111
|
+
},
|
|
81112
|
+
"description": "In-CRM partner ids + colleagues tagged with their list names."
|
|
81113
|
+
},
|
|
81114
|
+
"400": {
|
|
81115
|
+
"content": {
|
|
81116
|
+
"application/json": {
|
|
81117
|
+
"schema": {
|
|
81118
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81119
|
+
}
|
|
81120
|
+
}
|
|
81121
|
+
},
|
|
81122
|
+
"description": "Validation error"
|
|
81123
|
+
},
|
|
81124
|
+
"401": {
|
|
81125
|
+
"content": {
|
|
81126
|
+
"application/json": {
|
|
81127
|
+
"schema": {
|
|
81128
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81129
|
+
}
|
|
81130
|
+
}
|
|
81131
|
+
},
|
|
81132
|
+
"description": "Unauthorized"
|
|
81133
|
+
},
|
|
81134
|
+
"403": {
|
|
81135
|
+
"content": {
|
|
81136
|
+
"application/json": {
|
|
81137
|
+
"schema": {
|
|
81138
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81139
|
+
}
|
|
81140
|
+
}
|
|
81141
|
+
},
|
|
81142
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81143
|
+
},
|
|
81144
|
+
"404": {
|
|
81145
|
+
"content": {
|
|
81146
|
+
"application/json": {
|
|
81147
|
+
"schema": {
|
|
81148
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81149
|
+
}
|
|
81150
|
+
}
|
|
81151
|
+
},
|
|
81152
|
+
"description": "Not found"
|
|
81153
|
+
},
|
|
81154
|
+
"413": {
|
|
81155
|
+
"content": {
|
|
81156
|
+
"application/json": {
|
|
81157
|
+
"schema": {
|
|
81158
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81159
|
+
}
|
|
81160
|
+
}
|
|
81161
|
+
},
|
|
81162
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81163
|
+
},
|
|
81164
|
+
"503": {
|
|
81165
|
+
"content": {
|
|
81166
|
+
"application/json": {
|
|
81167
|
+
"schema": {
|
|
81168
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81169
|
+
}
|
|
81170
|
+
}
|
|
81171
|
+
},
|
|
81172
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81173
|
+
}
|
|
81174
|
+
},
|
|
81175
|
+
"summary": "Relationship cross-reference for a record (in-CRM partners + colleagues)",
|
|
81176
|
+
"tags": [
|
|
81177
|
+
"CRM"
|
|
81178
|
+
]
|
|
81179
|
+
}
|
|
81180
|
+
},
|
|
81181
|
+
"/v1/crm/records/create": {
|
|
81182
|
+
"post": {
|
|
81183
|
+
"operationId": "createCrmManualRecord",
|
|
81184
|
+
"requestBody": {
|
|
81185
|
+
"content": {
|
|
81186
|
+
"application/json": {
|
|
81187
|
+
"schema": {
|
|
81188
|
+
"properties": {
|
|
81189
|
+
"contacts": {
|
|
81190
|
+
"items": {
|
|
81191
|
+
"$ref": "#/components/schemas/CrmContactSeed"
|
|
81192
|
+
},
|
|
81193
|
+
"maxItems": 30,
|
|
81194
|
+
"type": "array"
|
|
81195
|
+
},
|
|
81196
|
+
"customValues": {
|
|
81197
|
+
"additionalProperties": {
|
|
81198
|
+
"$ref": "#/components/schemas/CrmCustomValue"
|
|
81199
|
+
},
|
|
81200
|
+
"type": "object"
|
|
81201
|
+
},
|
|
81202
|
+
"display": {
|
|
81203
|
+
"$ref": "#/components/schemas/CrmDisplay"
|
|
81204
|
+
},
|
|
81205
|
+
"entityType": {
|
|
81206
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81207
|
+
},
|
|
81208
|
+
"listId": {
|
|
81209
|
+
"type": "string"
|
|
81210
|
+
},
|
|
81211
|
+
"overrides": {
|
|
81212
|
+
"properties": {
|
|
81213
|
+
"city": {
|
|
81214
|
+
"type": "string"
|
|
81215
|
+
},
|
|
81216
|
+
"company": {
|
|
81217
|
+
"type": "string"
|
|
81218
|
+
},
|
|
81219
|
+
"companyNmlsId": {
|
|
81220
|
+
"type": "string"
|
|
81221
|
+
},
|
|
81222
|
+
"companyType": {
|
|
81223
|
+
"type": "string"
|
|
81224
|
+
},
|
|
81225
|
+
"firstName": {
|
|
81226
|
+
"type": "string"
|
|
81227
|
+
},
|
|
81228
|
+
"lastName": {
|
|
81229
|
+
"type": "string"
|
|
81230
|
+
},
|
|
81231
|
+
"location": {
|
|
81232
|
+
"type": "string"
|
|
81233
|
+
},
|
|
81234
|
+
"notes": {
|
|
81235
|
+
"type": "string"
|
|
81236
|
+
},
|
|
81237
|
+
"office": {
|
|
81238
|
+
"type": "string"
|
|
81239
|
+
},
|
|
81240
|
+
"state": {
|
|
81241
|
+
"type": "string"
|
|
81242
|
+
},
|
|
81243
|
+
"status": {
|
|
81244
|
+
"type": "string"
|
|
81245
|
+
},
|
|
81246
|
+
"title": {
|
|
81247
|
+
"type": "string"
|
|
81248
|
+
},
|
|
81249
|
+
"zip": {
|
|
81250
|
+
"type": "string"
|
|
81251
|
+
}
|
|
81252
|
+
},
|
|
81253
|
+
"type": "object"
|
|
81254
|
+
},
|
|
81255
|
+
"ownerUserId": {
|
|
81256
|
+
"type": "string"
|
|
81257
|
+
}
|
|
81258
|
+
},
|
|
81259
|
+
"required": [
|
|
81260
|
+
"entityType",
|
|
81261
|
+
"display"
|
|
81262
|
+
],
|
|
81263
|
+
"type": "object"
|
|
81264
|
+
}
|
|
81265
|
+
}
|
|
81266
|
+
}
|
|
81267
|
+
},
|
|
81268
|
+
"responses": {
|
|
81269
|
+
"201": {
|
|
81270
|
+
"content": {
|
|
81271
|
+
"application/json": {
|
|
81272
|
+
"schema": {
|
|
81273
|
+
"$ref": "#/components/schemas/CrmManualRecordResult"
|
|
81274
|
+
}
|
|
81275
|
+
}
|
|
81276
|
+
},
|
|
81277
|
+
"description": "The new record's id + whether it joined the given list."
|
|
81278
|
+
},
|
|
81279
|
+
"400": {
|
|
81280
|
+
"content": {
|
|
81281
|
+
"application/json": {
|
|
81282
|
+
"schema": {
|
|
81283
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81284
|
+
}
|
|
81285
|
+
}
|
|
81286
|
+
},
|
|
81287
|
+
"description": "Validation error"
|
|
81288
|
+
},
|
|
81289
|
+
"401": {
|
|
81290
|
+
"content": {
|
|
81291
|
+
"application/json": {
|
|
81292
|
+
"schema": {
|
|
81293
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81294
|
+
}
|
|
81295
|
+
}
|
|
81296
|
+
},
|
|
81297
|
+
"description": "Unauthorized"
|
|
81298
|
+
},
|
|
81299
|
+
"403": {
|
|
81300
|
+
"content": {
|
|
81301
|
+
"application/json": {
|
|
81302
|
+
"schema": {
|
|
81303
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81304
|
+
}
|
|
81305
|
+
}
|
|
81306
|
+
},
|
|
81307
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81308
|
+
},
|
|
81309
|
+
"404": {
|
|
81310
|
+
"content": {
|
|
81311
|
+
"application/json": {
|
|
81312
|
+
"schema": {
|
|
81313
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81314
|
+
}
|
|
81315
|
+
}
|
|
81316
|
+
},
|
|
81317
|
+
"description": "Not found"
|
|
81318
|
+
},
|
|
81319
|
+
"413": {
|
|
81320
|
+
"content": {
|
|
81321
|
+
"application/json": {
|
|
81322
|
+
"schema": {
|
|
81323
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81324
|
+
}
|
|
81325
|
+
}
|
|
81326
|
+
},
|
|
81327
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81328
|
+
},
|
|
81329
|
+
"503": {
|
|
81330
|
+
"content": {
|
|
81331
|
+
"application/json": {
|
|
81332
|
+
"schema": {
|
|
81333
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81334
|
+
}
|
|
81335
|
+
}
|
|
81336
|
+
},
|
|
81337
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81338
|
+
}
|
|
81339
|
+
},
|
|
81340
|
+
"summary": "Create a manual (unmatched) CRM record",
|
|
81341
|
+
"tags": [
|
|
81342
|
+
"CRM"
|
|
81343
|
+
]
|
|
81344
|
+
}
|
|
81345
|
+
},
|
|
81346
|
+
"/v1/crm/records/decline-mi-update": {
|
|
81347
|
+
"post": {
|
|
81348
|
+
"operationId": "declineCrmMiUpdate",
|
|
81349
|
+
"requestBody": {
|
|
81350
|
+
"content": {
|
|
81351
|
+
"application/json": {
|
|
81352
|
+
"schema": {
|
|
81353
|
+
"properties": {
|
|
81354
|
+
"entityId": {
|
|
81355
|
+
"type": "string"
|
|
81356
|
+
},
|
|
81357
|
+
"entityType": {
|
|
81358
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81359
|
+
},
|
|
81360
|
+
"fields": {
|
|
81361
|
+
"description": "The diverging override fields to keep, e.g. `[\"company\", \"location\"]`. Batched because the review dialog can select several rows at once. Only the fields the server still sees diverging are suppressed.",
|
|
81362
|
+
"items": {
|
|
81363
|
+
"maxLength": 64,
|
|
81364
|
+
"minLength": 1,
|
|
81365
|
+
"type": "string"
|
|
81366
|
+
},
|
|
81367
|
+
"maxItems": 16,
|
|
81368
|
+
"minItems": 1,
|
|
81369
|
+
"type": "array"
|
|
81370
|
+
}
|
|
81371
|
+
},
|
|
81372
|
+
"required": [
|
|
81373
|
+
"entityId",
|
|
81374
|
+
"entityType",
|
|
81375
|
+
"fields"
|
|
81376
|
+
],
|
|
81377
|
+
"type": "object"
|
|
81378
|
+
}
|
|
81379
|
+
}
|
|
81380
|
+
}
|
|
81381
|
+
},
|
|
81382
|
+
"responses": {
|
|
81383
|
+
"200": {
|
|
81384
|
+
"content": {
|
|
81385
|
+
"application/json": {
|
|
81386
|
+
"schema": {
|
|
81387
|
+
"$ref": "#/components/schemas/CrmDeclineMiUpdateResult"
|
|
81388
|
+
}
|
|
81389
|
+
}
|
|
81390
|
+
},
|
|
81391
|
+
"description": "The subset of the requested fields that actually diverged and are now suppressed. A field absent from this list no longer disagrees with MI, so there was nothing to decline."
|
|
81392
|
+
},
|
|
81393
|
+
"400": {
|
|
81394
|
+
"content": {
|
|
81395
|
+
"application/json": {
|
|
81396
|
+
"schema": {
|
|
81397
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81398
|
+
}
|
|
81399
|
+
}
|
|
81400
|
+
},
|
|
81401
|
+
"description": "Validation error"
|
|
81402
|
+
},
|
|
81403
|
+
"401": {
|
|
81404
|
+
"content": {
|
|
81405
|
+
"application/json": {
|
|
81406
|
+
"schema": {
|
|
81407
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81408
|
+
}
|
|
81409
|
+
}
|
|
81410
|
+
},
|
|
81411
|
+
"description": "Unauthorized"
|
|
81412
|
+
},
|
|
81413
|
+
"403": {
|
|
81414
|
+
"content": {
|
|
81415
|
+
"application/json": {
|
|
81416
|
+
"schema": {
|
|
81417
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81418
|
+
}
|
|
81419
|
+
}
|
|
81420
|
+
},
|
|
81421
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81422
|
+
},
|
|
81423
|
+
"404": {
|
|
81424
|
+
"content": {
|
|
81425
|
+
"application/json": {
|
|
81426
|
+
"schema": {
|
|
81427
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81428
|
+
}
|
|
81429
|
+
}
|
|
81430
|
+
},
|
|
81431
|
+
"description": "Not found"
|
|
81432
|
+
},
|
|
81433
|
+
"413": {
|
|
81434
|
+
"content": {
|
|
81435
|
+
"application/json": {
|
|
81436
|
+
"schema": {
|
|
81437
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81438
|
+
}
|
|
81439
|
+
}
|
|
81440
|
+
},
|
|
81441
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81442
|
+
},
|
|
81443
|
+
"503": {
|
|
81444
|
+
"content": {
|
|
81445
|
+
"application/json": {
|
|
81446
|
+
"schema": {
|
|
81447
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81448
|
+
}
|
|
81449
|
+
}
|
|
81450
|
+
},
|
|
81451
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81452
|
+
}
|
|
81453
|
+
},
|
|
81454
|
+
"summary": "Keep the pinned values — suppress divergence proposals",
|
|
81455
|
+
"tags": [
|
|
81456
|
+
"CRM"
|
|
81457
|
+
]
|
|
81458
|
+
}
|
|
81459
|
+
},
|
|
81460
|
+
"/v1/crm/records/delete": {
|
|
81461
|
+
"post": {
|
|
81462
|
+
"operationId": "deleteCrmRecords",
|
|
81463
|
+
"requestBody": {
|
|
81464
|
+
"content": {
|
|
81465
|
+
"application/json": {
|
|
81466
|
+
"schema": {
|
|
81467
|
+
"properties": {
|
|
81468
|
+
"entityIds": {
|
|
81469
|
+
"items": {
|
|
81470
|
+
"type": "string"
|
|
81471
|
+
},
|
|
81472
|
+
"minItems": 1,
|
|
81473
|
+
"type": "array"
|
|
81474
|
+
}
|
|
81475
|
+
},
|
|
81476
|
+
"required": [
|
|
81477
|
+
"entityIds"
|
|
81478
|
+
],
|
|
81479
|
+
"type": "object"
|
|
81480
|
+
}
|
|
81481
|
+
}
|
|
81482
|
+
}
|
|
81483
|
+
},
|
|
81484
|
+
"responses": {
|
|
81485
|
+
"200": {
|
|
81486
|
+
"content": {
|
|
81487
|
+
"application/json": {
|
|
81488
|
+
"schema": {
|
|
81489
|
+
"$ref": "#/components/schemas/CrmDeleteRecordsResult"
|
|
81490
|
+
}
|
|
81491
|
+
}
|
|
81492
|
+
},
|
|
81493
|
+
"description": "Ids actually removed vs. skipped (not owned / not found)."
|
|
81494
|
+
},
|
|
81495
|
+
"400": {
|
|
81496
|
+
"content": {
|
|
81497
|
+
"application/json": {
|
|
81498
|
+
"schema": {
|
|
81499
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81500
|
+
}
|
|
81501
|
+
}
|
|
81502
|
+
},
|
|
81503
|
+
"description": "Validation error"
|
|
81504
|
+
},
|
|
81505
|
+
"401": {
|
|
81506
|
+
"content": {
|
|
81507
|
+
"application/json": {
|
|
81508
|
+
"schema": {
|
|
81509
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81510
|
+
}
|
|
81511
|
+
}
|
|
81512
|
+
},
|
|
81513
|
+
"description": "Unauthorized"
|
|
81514
|
+
},
|
|
81515
|
+
"403": {
|
|
81516
|
+
"content": {
|
|
81517
|
+
"application/json": {
|
|
81518
|
+
"schema": {
|
|
81519
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81520
|
+
}
|
|
81521
|
+
}
|
|
81522
|
+
},
|
|
81523
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81524
|
+
},
|
|
81525
|
+
"404": {
|
|
81526
|
+
"content": {
|
|
81527
|
+
"application/json": {
|
|
81528
|
+
"schema": {
|
|
81529
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81530
|
+
}
|
|
81531
|
+
}
|
|
81532
|
+
},
|
|
81533
|
+
"description": "Not found"
|
|
81534
|
+
},
|
|
81535
|
+
"413": {
|
|
81536
|
+
"content": {
|
|
81537
|
+
"application/json": {
|
|
81538
|
+
"schema": {
|
|
81539
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81540
|
+
}
|
|
81541
|
+
}
|
|
81542
|
+
},
|
|
81543
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81544
|
+
},
|
|
81545
|
+
"503": {
|
|
81546
|
+
"content": {
|
|
81547
|
+
"application/json": {
|
|
81548
|
+
"schema": {
|
|
81549
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81550
|
+
}
|
|
81551
|
+
}
|
|
81552
|
+
},
|
|
81553
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81554
|
+
}
|
|
81555
|
+
},
|
|
81556
|
+
"summary": "Remove one or more records from the CRM",
|
|
81557
|
+
"tags": [
|
|
81558
|
+
"CRM"
|
|
81559
|
+
]
|
|
81560
|
+
}
|
|
81561
|
+
},
|
|
81562
|
+
"/v1/crm/records/describe-on-add": {
|
|
81563
|
+
"post": {
|
|
81564
|
+
"operationId": "describeCrmRecordsOnAdd",
|
|
81565
|
+
"requestBody": {
|
|
81566
|
+
"content": {
|
|
81567
|
+
"application/json": {
|
|
81568
|
+
"schema": {
|
|
81569
|
+
"properties": {
|
|
81570
|
+
"created": {
|
|
81571
|
+
"items": {
|
|
81572
|
+
"properties": {
|
|
81573
|
+
"entityId": {
|
|
81574
|
+
"type": "string"
|
|
81575
|
+
},
|
|
81576
|
+
"entityType": {
|
|
81577
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81578
|
+
}
|
|
81579
|
+
},
|
|
81580
|
+
"required": [
|
|
81581
|
+
"entityId",
|
|
81582
|
+
"entityType"
|
|
81583
|
+
],
|
|
81584
|
+
"type": "object"
|
|
81585
|
+
},
|
|
81586
|
+
"maxItems": 500,
|
|
81587
|
+
"minItems": 1,
|
|
81588
|
+
"type": "array"
|
|
81589
|
+
}
|
|
81590
|
+
},
|
|
81591
|
+
"required": [
|
|
81592
|
+
"created"
|
|
81593
|
+
],
|
|
81594
|
+
"type": "object"
|
|
81595
|
+
}
|
|
81596
|
+
}
|
|
81597
|
+
}
|
|
81598
|
+
},
|
|
81599
|
+
"responses": {
|
|
81600
|
+
"200": {
|
|
81601
|
+
"content": {
|
|
81602
|
+
"application/json": {
|
|
81603
|
+
"schema": {
|
|
81604
|
+
"$ref": "#/components/schemas/CrmDescribeOnAddResult"
|
|
81605
|
+
}
|
|
81606
|
+
}
|
|
81607
|
+
},
|
|
81608
|
+
"description": "The created entity ids that need a generate-description run (cache misses this caller claimed)."
|
|
81609
|
+
},
|
|
81610
|
+
"400": {
|
|
81611
|
+
"content": {
|
|
81612
|
+
"application/json": {
|
|
81613
|
+
"schema": {
|
|
81614
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81615
|
+
}
|
|
81616
|
+
}
|
|
81617
|
+
},
|
|
81618
|
+
"description": "Validation error"
|
|
81619
|
+
},
|
|
81620
|
+
"401": {
|
|
81621
|
+
"content": {
|
|
81622
|
+
"application/json": {
|
|
81623
|
+
"schema": {
|
|
81624
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81625
|
+
}
|
|
81626
|
+
}
|
|
81627
|
+
},
|
|
81628
|
+
"description": "Unauthorized"
|
|
81629
|
+
},
|
|
81630
|
+
"403": {
|
|
81631
|
+
"content": {
|
|
81632
|
+
"application/json": {
|
|
81633
|
+
"schema": {
|
|
81634
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81635
|
+
}
|
|
81636
|
+
}
|
|
81637
|
+
},
|
|
81638
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81639
|
+
},
|
|
81640
|
+
"404": {
|
|
81641
|
+
"content": {
|
|
81642
|
+
"application/json": {
|
|
81643
|
+
"schema": {
|
|
81644
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81645
|
+
}
|
|
81646
|
+
}
|
|
81647
|
+
},
|
|
81648
|
+
"description": "Not found"
|
|
81649
|
+
},
|
|
81650
|
+
"413": {
|
|
81651
|
+
"content": {
|
|
81652
|
+
"application/json": {
|
|
81653
|
+
"schema": {
|
|
81654
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81655
|
+
}
|
|
81656
|
+
}
|
|
81657
|
+
},
|
|
81658
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81659
|
+
},
|
|
81660
|
+
"503": {
|
|
81661
|
+
"content": {
|
|
81662
|
+
"application/json": {
|
|
81663
|
+
"schema": {
|
|
81664
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81665
|
+
}
|
|
81666
|
+
}
|
|
81667
|
+
},
|
|
81668
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81669
|
+
}
|
|
81670
|
+
},
|
|
81671
|
+
"summary": "Resolve descriptions for just-created records (cache-first)",
|
|
81672
|
+
"tags": [
|
|
81673
|
+
"CRM"
|
|
81674
|
+
]
|
|
81675
|
+
}
|
|
81676
|
+
},
|
|
81677
|
+
"/v1/crm/records/dismiss-mi-updates": {
|
|
81678
|
+
"post": {
|
|
81679
|
+
"operationId": "dismissCrmMiUpdates",
|
|
81680
|
+
"requestBody": {
|
|
81681
|
+
"content": {
|
|
81682
|
+
"application/json": {
|
|
81683
|
+
"schema": {
|
|
81684
|
+
"properties": {
|
|
81685
|
+
"entityId": {
|
|
81686
|
+
"type": "string"
|
|
81687
|
+
},
|
|
81688
|
+
"seen": {
|
|
81689
|
+
"additionalProperties": {
|
|
81690
|
+
"items": {
|
|
81691
|
+
"maxLength": 512,
|
|
81692
|
+
"type": "string"
|
|
81693
|
+
},
|
|
81694
|
+
"maxItems": 50,
|
|
81695
|
+
"type": "array"
|
|
81696
|
+
},
|
|
81697
|
+
"type": "object"
|
|
81698
|
+
}
|
|
81699
|
+
},
|
|
81700
|
+
"required": [
|
|
81701
|
+
"entityId"
|
|
81702
|
+
],
|
|
81703
|
+
"type": "object"
|
|
81704
|
+
}
|
|
81705
|
+
}
|
|
81706
|
+
}
|
|
81707
|
+
},
|
|
81708
|
+
"responses": {
|
|
81709
|
+
"200": {
|
|
81710
|
+
"content": {
|
|
81711
|
+
"application/json": {
|
|
81712
|
+
"schema": {
|
|
81713
|
+
"$ref": "#/components/schemas/CrmDismissMiUpdatesResult"
|
|
81714
|
+
}
|
|
81715
|
+
}
|
|
81716
|
+
},
|
|
81717
|
+
"description": "Confirmation the check window was restarted. The seen-ledger is untouched."
|
|
81718
|
+
},
|
|
81719
|
+
"400": {
|
|
81720
|
+
"content": {
|
|
81721
|
+
"application/json": {
|
|
81722
|
+
"schema": {
|
|
81723
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81724
|
+
}
|
|
81725
|
+
}
|
|
81726
|
+
},
|
|
81727
|
+
"description": "Validation error"
|
|
81728
|
+
},
|
|
81729
|
+
"401": {
|
|
81730
|
+
"content": {
|
|
81731
|
+
"application/json": {
|
|
81732
|
+
"schema": {
|
|
81733
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81734
|
+
}
|
|
81735
|
+
}
|
|
81736
|
+
},
|
|
81737
|
+
"description": "Unauthorized"
|
|
81738
|
+
},
|
|
81739
|
+
"403": {
|
|
81740
|
+
"content": {
|
|
81741
|
+
"application/json": {
|
|
81742
|
+
"schema": {
|
|
81743
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81744
|
+
}
|
|
81745
|
+
}
|
|
81746
|
+
},
|
|
81747
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81748
|
+
},
|
|
81749
|
+
"404": {
|
|
81750
|
+
"content": {
|
|
81751
|
+
"application/json": {
|
|
81752
|
+
"schema": {
|
|
81753
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81754
|
+
}
|
|
81755
|
+
}
|
|
81756
|
+
},
|
|
81757
|
+
"description": "Not found"
|
|
81758
|
+
},
|
|
81759
|
+
"413": {
|
|
81760
|
+
"content": {
|
|
81761
|
+
"application/json": {
|
|
81762
|
+
"schema": {
|
|
81763
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81764
|
+
}
|
|
81765
|
+
}
|
|
81766
|
+
},
|
|
81767
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81768
|
+
},
|
|
81769
|
+
"503": {
|
|
81770
|
+
"content": {
|
|
81771
|
+
"application/json": {
|
|
81772
|
+
"schema": {
|
|
81773
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81774
|
+
}
|
|
81775
|
+
}
|
|
81776
|
+
},
|
|
81777
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81778
|
+
}
|
|
81779
|
+
},
|
|
81780
|
+
"summary": "Snooze surfaced MI updates for the check window",
|
|
81781
|
+
"tags": [
|
|
81782
|
+
"CRM"
|
|
81783
|
+
]
|
|
81784
|
+
}
|
|
81785
|
+
},
|
|
81786
|
+
"/v1/crm/records/generate-description": {
|
|
81787
|
+
"post": {
|
|
81788
|
+
"operationId": "generateCrmRecordDescription",
|
|
81789
|
+
"requestBody": {
|
|
81790
|
+
"content": {
|
|
81791
|
+
"application/json": {
|
|
81792
|
+
"schema": {
|
|
81793
|
+
"properties": {
|
|
81794
|
+
"company": {
|
|
81795
|
+
"description": "Ignored.",
|
|
81796
|
+
"type": "string"
|
|
81797
|
+
},
|
|
81798
|
+
"entityId": {
|
|
81799
|
+
"type": "string"
|
|
81800
|
+
},
|
|
81801
|
+
"entityType": {
|
|
81802
|
+
"$ref": "#/components/schemas/CrmEntityType"
|
|
81803
|
+
},
|
|
81804
|
+
"location": {
|
|
81805
|
+
"description": "Ignored.",
|
|
81806
|
+
"type": "string"
|
|
81807
|
+
},
|
|
81808
|
+
"name": {
|
|
81809
|
+
"description": "Ignored. Who is researched comes from the market-data record, not the request.",
|
|
81810
|
+
"type": "string"
|
|
81811
|
+
},
|
|
81812
|
+
"title": {
|
|
81813
|
+
"description": "Ignored.",
|
|
81814
|
+
"type": "string"
|
|
81815
|
+
}
|
|
81816
|
+
},
|
|
81817
|
+
"required": [
|
|
81818
|
+
"entityId",
|
|
81819
|
+
"entityType"
|
|
81820
|
+
],
|
|
81821
|
+
"type": "object"
|
|
81822
|
+
}
|
|
81823
|
+
}
|
|
81824
|
+
}
|
|
81825
|
+
},
|
|
81826
|
+
"responses": {
|
|
81827
|
+
"200": {
|
|
81828
|
+
"content": {
|
|
81829
|
+
"application/json": {
|
|
81830
|
+
"schema": {
|
|
81831
|
+
"$ref": "#/components/schemas/CrmGenerateDescriptionResult"
|
|
81832
|
+
}
|
|
81833
|
+
}
|
|
81834
|
+
},
|
|
81835
|
+
"description": "The generated description, or null when no usable source was found."
|
|
81836
|
+
},
|
|
81837
|
+
"400": {
|
|
81838
|
+
"content": {
|
|
81839
|
+
"application/json": {
|
|
81840
|
+
"schema": {
|
|
81841
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81842
|
+
}
|
|
81843
|
+
}
|
|
81844
|
+
},
|
|
81845
|
+
"description": "Validation error"
|
|
81846
|
+
},
|
|
81847
|
+
"401": {
|
|
81848
|
+
"content": {
|
|
81849
|
+
"application/json": {
|
|
81850
|
+
"schema": {
|
|
81851
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81852
|
+
}
|
|
81853
|
+
}
|
|
81854
|
+
},
|
|
81855
|
+
"description": "Unauthorized"
|
|
81856
|
+
},
|
|
81857
|
+
"403": {
|
|
81858
|
+
"content": {
|
|
81859
|
+
"application/json": {
|
|
81860
|
+
"schema": {
|
|
81861
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81862
|
+
}
|
|
81863
|
+
}
|
|
81864
|
+
},
|
|
81865
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81866
|
+
},
|
|
81867
|
+
"404": {
|
|
81868
|
+
"content": {
|
|
81869
|
+
"application/json": {
|
|
81870
|
+
"schema": {
|
|
81871
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81872
|
+
}
|
|
81873
|
+
}
|
|
81874
|
+
},
|
|
81875
|
+
"description": "Not found"
|
|
81876
|
+
},
|
|
81877
|
+
"413": {
|
|
81878
|
+
"content": {
|
|
81879
|
+
"application/json": {
|
|
81880
|
+
"schema": {
|
|
81881
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81882
|
+
}
|
|
81883
|
+
}
|
|
81884
|
+
},
|
|
81885
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81886
|
+
},
|
|
81887
|
+
"429": {
|
|
81888
|
+
"content": {
|
|
81889
|
+
"application/json": {
|
|
81890
|
+
"schema": {
|
|
81891
|
+
"$ref": "#/components/schemas/RateLimited"
|
|
81892
|
+
}
|
|
81893
|
+
}
|
|
81894
|
+
},
|
|
81895
|
+
"description": "`rate_limited` — too many AI requests from this user in the last minute. Wait `retryAfterSeconds` (also sent as the `Retry-After` header)."
|
|
81896
|
+
},
|
|
81897
|
+
"503": {
|
|
81898
|
+
"content": {
|
|
81899
|
+
"application/json": {
|
|
81900
|
+
"schema": {
|
|
81901
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81902
|
+
}
|
|
81903
|
+
}
|
|
81904
|
+
},
|
|
81905
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81906
|
+
}
|
|
81907
|
+
},
|
|
81908
|
+
"summary": "Auto-generate a record's description from the web",
|
|
81909
|
+
"tags": [
|
|
81910
|
+
"CRM"
|
|
81911
|
+
]
|
|
81912
|
+
}
|
|
81913
|
+
},
|
|
81914
|
+
"/v1/crm/records/grant-access": {
|
|
81915
|
+
"post": {
|
|
81916
|
+
"operationId": "grantCrmRecordAccessRequest",
|
|
81917
|
+
"requestBody": {
|
|
81918
|
+
"content": {
|
|
81919
|
+
"application/json": {
|
|
81920
|
+
"schema": {
|
|
81921
|
+
"properties": {
|
|
81922
|
+
"requestId": {
|
|
81923
|
+
"minLength": 1,
|
|
81924
|
+
"type": "string"
|
|
81925
|
+
}
|
|
81926
|
+
},
|
|
81927
|
+
"required": [
|
|
81928
|
+
"requestId"
|
|
81929
|
+
],
|
|
81930
|
+
"type": "object"
|
|
81931
|
+
}
|
|
81932
|
+
}
|
|
81933
|
+
}
|
|
81934
|
+
},
|
|
81935
|
+
"responses": {
|
|
81936
|
+
"200": {
|
|
81937
|
+
"content": {
|
|
81938
|
+
"application/json": {
|
|
81939
|
+
"schema": {
|
|
81940
|
+
"$ref": "#/components/schemas/CrmGrantRecordAccessRequestResult"
|
|
81941
|
+
}
|
|
81942
|
+
}
|
|
81943
|
+
},
|
|
81944
|
+
"description": "The requester was granted access (idempotent) and the ask closed."
|
|
81945
|
+
},
|
|
81946
|
+
"400": {
|
|
81947
|
+
"content": {
|
|
81948
|
+
"application/json": {
|
|
81949
|
+
"schema": {
|
|
81950
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81951
|
+
}
|
|
81952
|
+
}
|
|
81953
|
+
},
|
|
81954
|
+
"description": "Validation error"
|
|
81955
|
+
},
|
|
81956
|
+
"401": {
|
|
81957
|
+
"content": {
|
|
81958
|
+
"application/json": {
|
|
81959
|
+
"schema": {
|
|
81960
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81961
|
+
}
|
|
81962
|
+
}
|
|
81963
|
+
},
|
|
81964
|
+
"description": "Unauthorized"
|
|
81965
|
+
},
|
|
81966
|
+
"403": {
|
|
81967
|
+
"content": {
|
|
81968
|
+
"application/json": {
|
|
81969
|
+
"schema": {
|
|
81970
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81971
|
+
}
|
|
81972
|
+
}
|
|
81973
|
+
},
|
|
81974
|
+
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81975
|
+
},
|
|
81976
|
+
"404": {
|
|
81977
|
+
"content": {
|
|
81978
|
+
"application/json": {
|
|
81979
|
+
"schema": {
|
|
81980
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81981
|
+
}
|
|
81982
|
+
}
|
|
81983
|
+
},
|
|
81984
|
+
"description": "Not found"
|
|
81985
|
+
},
|
|
81986
|
+
"413": {
|
|
81987
|
+
"content": {
|
|
81988
|
+
"application/json": {
|
|
81989
|
+
"schema": {
|
|
81990
|
+
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81991
|
+
}
|
|
81992
|
+
}
|
|
81993
|
+
},
|
|
81994
|
+
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81995
|
+
},
|
|
81996
|
+
"502": {
|
|
81997
|
+
"content": {
|
|
81998
|
+
"application/json": {
|
|
81999
|
+
"schema": {
|
|
82000
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82001
|
+
}
|
|
82002
|
+
}
|
|
82003
|
+
},
|
|
82004
|
+
"description": "Auth service unavailable (roster needed for the gate)."
|
|
82005
|
+
},
|
|
82006
|
+
"503": {
|
|
82007
|
+
"content": {
|
|
82008
|
+
"application/json": {
|
|
82009
|
+
"schema": {
|
|
82010
|
+
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82011
|
+
}
|
|
82012
|
+
}
|
|
82013
|
+
},
|
|
82014
|
+
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82015
|
+
}
|
|
82016
|
+
},
|
|
82017
|
+
"summary": "Grant a pending record access request (owner/admin, one tap)",
|
|
80581
82018
|
"tags": [
|
|
80582
82019
|
"CRM"
|
|
80583
82020
|
]
|
|
80584
82021
|
}
|
|
80585
82022
|
},
|
|
80586
|
-
"/v1/crm/records/
|
|
80587
|
-
"
|
|
80588
|
-
"operationId": "
|
|
80589
|
-
"
|
|
80590
|
-
|
|
80591
|
-
"
|
|
80592
|
-
|
|
80593
|
-
|
|
80594
|
-
|
|
80595
|
-
|
|
80596
|
-
},
|
|
80597
|
-
"branchNmlsId": {
|
|
80598
|
-
"type": "string"
|
|
80599
|
-
},
|
|
80600
|
-
"companyName": {
|
|
80601
|
-
"type": "string"
|
|
80602
|
-
},
|
|
80603
|
-
"companyNmlsId": {
|
|
80604
|
-
"type": "string"
|
|
80605
|
-
},
|
|
80606
|
-
"entityId": {
|
|
80607
|
-
"minLength": 1,
|
|
80608
|
-
"type": "string"
|
|
80609
|
-
},
|
|
80610
|
-
"entityType": {
|
|
80611
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
80612
|
-
},
|
|
80613
|
-
"officeKey": {
|
|
80614
|
-
"type": "string"
|
|
80615
|
-
},
|
|
80616
|
-
"officeName": {
|
|
80617
|
-
"type": "string"
|
|
80618
|
-
},
|
|
80619
|
-
"partnerEntityIds": {
|
|
80620
|
-
"items": {
|
|
80621
|
-
"type": "string"
|
|
80622
|
-
},
|
|
80623
|
-
"type": "array"
|
|
80624
|
-
}
|
|
80625
|
-
},
|
|
80626
|
-
"required": [
|
|
80627
|
-
"entityId",
|
|
80628
|
-
"entityType"
|
|
80629
|
-
],
|
|
80630
|
-
"type": "object"
|
|
80631
|
-
}
|
|
82023
|
+
"/v1/crm/records/member-ids": {
|
|
82024
|
+
"get": {
|
|
82025
|
+
"operationId": "getCrmRecordMemberIds",
|
|
82026
|
+
"parameters": [
|
|
82027
|
+
{
|
|
82028
|
+
"in": "query",
|
|
82029
|
+
"name": "objectType",
|
|
82030
|
+
"required": true,
|
|
82031
|
+
"schema": {
|
|
82032
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
80632
82033
|
}
|
|
80633
82034
|
}
|
|
80634
|
-
|
|
82035
|
+
],
|
|
80635
82036
|
"responses": {
|
|
80636
82037
|
"200": {
|
|
80637
82038
|
"content": {
|
|
80638
82039
|
"application/json": {
|
|
80639
82040
|
"schema": {
|
|
80640
|
-
"$ref": "#/components/schemas/
|
|
82041
|
+
"$ref": "#/components/schemas/CrmMemberIdsResult"
|
|
80641
82042
|
}
|
|
80642
82043
|
}
|
|
80643
82044
|
},
|
|
80644
|
-
"description": "
|
|
82045
|
+
"description": "Every workspace record id of the object type."
|
|
80645
82046
|
},
|
|
80646
82047
|
"400": {
|
|
80647
82048
|
"content": {
|
|
@@ -80704,109 +82105,40 @@
|
|
|
80704
82105
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
80705
82106
|
}
|
|
80706
82107
|
},
|
|
80707
|
-
"summary": "
|
|
82108
|
+
"summary": "List the workspace's record entity ids of an object type (ids only)",
|
|
80708
82109
|
"tags": [
|
|
80709
82110
|
"CRM"
|
|
80710
82111
|
]
|
|
80711
82112
|
}
|
|
80712
82113
|
},
|
|
80713
|
-
"/v1/crm/records/
|
|
82114
|
+
"/v1/crm/records/mention-search": {
|
|
80714
82115
|
"post": {
|
|
80715
|
-
"operationId": "
|
|
82116
|
+
"operationId": "searchCrmMentionRecords",
|
|
80716
82117
|
"requestBody": {
|
|
80717
82118
|
"content": {
|
|
80718
82119
|
"application/json": {
|
|
80719
82120
|
"schema": {
|
|
80720
82121
|
"properties": {
|
|
80721
|
-
"
|
|
80722
|
-
"
|
|
80723
|
-
"$ref": "#/components/schemas/CrmContactSeed"
|
|
80724
|
-
},
|
|
80725
|
-
"maxItems": 30,
|
|
80726
|
-
"type": "array"
|
|
80727
|
-
},
|
|
80728
|
-
"customValues": {
|
|
80729
|
-
"additionalProperties": {
|
|
80730
|
-
"$ref": "#/components/schemas/CrmCustomValue"
|
|
80731
|
-
},
|
|
80732
|
-
"type": "object"
|
|
80733
|
-
},
|
|
80734
|
-
"display": {
|
|
80735
|
-
"$ref": "#/components/schemas/CrmDisplay"
|
|
80736
|
-
},
|
|
80737
|
-
"entityType": {
|
|
80738
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
80739
|
-
},
|
|
80740
|
-
"listId": {
|
|
80741
|
-
"type": "string"
|
|
80742
|
-
},
|
|
80743
|
-
"overrides": {
|
|
80744
|
-
"properties": {
|
|
80745
|
-
"city": {
|
|
80746
|
-
"type": "string"
|
|
80747
|
-
},
|
|
80748
|
-
"company": {
|
|
80749
|
-
"type": "string"
|
|
80750
|
-
},
|
|
80751
|
-
"companyNmlsId": {
|
|
80752
|
-
"type": "string"
|
|
80753
|
-
},
|
|
80754
|
-
"companyType": {
|
|
80755
|
-
"type": "string"
|
|
80756
|
-
},
|
|
80757
|
-
"firstName": {
|
|
80758
|
-
"type": "string"
|
|
80759
|
-
},
|
|
80760
|
-
"lastName": {
|
|
80761
|
-
"type": "string"
|
|
80762
|
-
},
|
|
80763
|
-
"location": {
|
|
80764
|
-
"type": "string"
|
|
80765
|
-
},
|
|
80766
|
-
"notes": {
|
|
80767
|
-
"type": "string"
|
|
80768
|
-
},
|
|
80769
|
-
"office": {
|
|
80770
|
-
"type": "string"
|
|
80771
|
-
},
|
|
80772
|
-
"state": {
|
|
80773
|
-
"type": "string"
|
|
80774
|
-
},
|
|
80775
|
-
"status": {
|
|
80776
|
-
"type": "string"
|
|
80777
|
-
},
|
|
80778
|
-
"title": {
|
|
80779
|
-
"type": "string"
|
|
80780
|
-
},
|
|
80781
|
-
"zip": {
|
|
80782
|
-
"type": "string"
|
|
80783
|
-
}
|
|
80784
|
-
},
|
|
80785
|
-
"type": "object"
|
|
80786
|
-
},
|
|
80787
|
-
"ownerUserId": {
|
|
82122
|
+
"q": {
|
|
82123
|
+
"default": "",
|
|
80788
82124
|
"type": "string"
|
|
80789
82125
|
}
|
|
80790
82126
|
},
|
|
80791
|
-
"required": [
|
|
80792
|
-
"entityType",
|
|
80793
|
-
"display"
|
|
80794
|
-
],
|
|
80795
82127
|
"type": "object"
|
|
80796
82128
|
}
|
|
80797
82129
|
}
|
|
80798
82130
|
}
|
|
80799
82131
|
},
|
|
80800
82132
|
"responses": {
|
|
80801
|
-
"
|
|
82133
|
+
"200": {
|
|
80802
82134
|
"content": {
|
|
80803
82135
|
"application/json": {
|
|
80804
82136
|
"schema": {
|
|
80805
|
-
"$ref": "#/components/schemas/
|
|
82137
|
+
"$ref": "#/components/schemas/CrmMentionSearch"
|
|
80806
82138
|
}
|
|
80807
82139
|
}
|
|
80808
82140
|
},
|
|
80809
|
-
"description": "The
|
|
82141
|
+
"description": "The viewer-visible records matching the query (or recent)."
|
|
80810
82142
|
},
|
|
80811
82143
|
"400": {
|
|
80812
82144
|
"content": {
|
|
@@ -80869,42 +82201,32 @@
|
|
|
80869
82201
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
80870
82202
|
}
|
|
80871
82203
|
},
|
|
80872
|
-
"summary": "
|
|
82204
|
+
"summary": "Name-first search over visible CRM records for the mention picker",
|
|
80873
82205
|
"tags": [
|
|
80874
82206
|
"CRM"
|
|
80875
82207
|
]
|
|
80876
82208
|
}
|
|
80877
82209
|
},
|
|
80878
|
-
"/v1/crm/records/
|
|
82210
|
+
"/v1/crm/records/mi-updates": {
|
|
80879
82211
|
"post": {
|
|
80880
|
-
"operationId": "
|
|
82212
|
+
"operationId": "getCrmMiUpdates",
|
|
80881
82213
|
"requestBody": {
|
|
80882
82214
|
"content": {
|
|
80883
82215
|
"application/json": {
|
|
80884
82216
|
"schema": {
|
|
80885
82217
|
"properties": {
|
|
80886
82218
|
"entityId": {
|
|
82219
|
+
"maxLength": 128,
|
|
82220
|
+
"minLength": 1,
|
|
80887
82221
|
"type": "string"
|
|
80888
82222
|
},
|
|
80889
82223
|
"entityType": {
|
|
80890
82224
|
"$ref": "#/components/schemas/CrmEntityType"
|
|
80891
|
-
},
|
|
80892
|
-
"fields": {
|
|
80893
|
-
"description": "The diverging override fields to keep, e.g. `[\"company\", \"location\"]`. Batched because the review dialog can select several rows at once. Only the fields the server still sees diverging are suppressed.",
|
|
80894
|
-
"items": {
|
|
80895
|
-
"maxLength": 64,
|
|
80896
|
-
"minLength": 1,
|
|
80897
|
-
"type": "string"
|
|
80898
|
-
},
|
|
80899
|
-
"maxItems": 16,
|
|
80900
|
-
"minItems": 1,
|
|
80901
|
-
"type": "array"
|
|
80902
82225
|
}
|
|
80903
82226
|
},
|
|
80904
82227
|
"required": [
|
|
80905
82228
|
"entityId",
|
|
80906
|
-
"entityType"
|
|
80907
|
-
"fields"
|
|
82229
|
+
"entityType"
|
|
80908
82230
|
],
|
|
80909
82231
|
"type": "object"
|
|
80910
82232
|
}
|
|
@@ -80916,11 +82238,11 @@
|
|
|
80916
82238
|
"content": {
|
|
80917
82239
|
"application/json": {
|
|
80918
82240
|
"schema": {
|
|
80919
|
-
"$ref": "#/components/schemas/
|
|
82241
|
+
"$ref": "#/components/schemas/CrmMiUpdatesResult"
|
|
80920
82242
|
}
|
|
80921
82243
|
}
|
|
80922
82244
|
},
|
|
80923
|
-
"description": "The
|
|
82245
|
+
"description": "The available per-field updates + the check timestamp (null when skipped)."
|
|
80924
82246
|
},
|
|
80925
82247
|
"400": {
|
|
80926
82248
|
"content": {
|
|
@@ -80983,30 +82305,28 @@
|
|
|
80983
82305
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
80984
82306
|
}
|
|
80985
82307
|
},
|
|
80986
|
-
"summary": "
|
|
82308
|
+
"summary": "Compute which Market-Insights fields differ from a record snapshot",
|
|
80987
82309
|
"tags": [
|
|
80988
82310
|
"CRM"
|
|
80989
82311
|
]
|
|
80990
82312
|
}
|
|
80991
82313
|
},
|
|
80992
|
-
"/v1/crm/records/
|
|
82314
|
+
"/v1/crm/records/refresh-mirror": {
|
|
80993
82315
|
"post": {
|
|
80994
|
-
"operationId": "
|
|
82316
|
+
"operationId": "refreshCrmRecordMirror",
|
|
80995
82317
|
"requestBody": {
|
|
80996
82318
|
"content": {
|
|
80997
82319
|
"application/json": {
|
|
80998
82320
|
"schema": {
|
|
80999
82321
|
"properties": {
|
|
81000
|
-
"
|
|
81001
|
-
"
|
|
81002
|
-
|
|
81003
|
-
|
|
81004
|
-
"minItems": 1,
|
|
81005
|
-
"type": "array"
|
|
82322
|
+
"entityId": {
|
|
82323
|
+
"maxLength": 128,
|
|
82324
|
+
"minLength": 1,
|
|
82325
|
+
"type": "string"
|
|
81006
82326
|
}
|
|
81007
82327
|
},
|
|
81008
82328
|
"required": [
|
|
81009
|
-
"
|
|
82329
|
+
"entityId"
|
|
81010
82330
|
],
|
|
81011
82331
|
"type": "object"
|
|
81012
82332
|
}
|
|
@@ -81018,11 +82338,11 @@
|
|
|
81018
82338
|
"content": {
|
|
81019
82339
|
"application/json": {
|
|
81020
82340
|
"schema": {
|
|
81021
|
-
"$ref": "#/components/schemas/
|
|
82341
|
+
"$ref": "#/components/schemas/CrmRefreshMirrorResult"
|
|
81022
82342
|
}
|
|
81023
82343
|
}
|
|
81024
82344
|
},
|
|
81025
|
-
"description": "
|
|
82345
|
+
"description": "Whether the mirror moved, and the display after the attempt. Never errors on a record that cannot be refreshed."
|
|
81026
82346
|
},
|
|
81027
82347
|
"400": {
|
|
81028
82348
|
"content": {
|
|
@@ -81085,43 +82405,32 @@
|
|
|
81085
82405
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81086
82406
|
}
|
|
81087
82407
|
},
|
|
81088
|
-
"summary": "
|
|
82408
|
+
"summary": "Freshen a record's mirrored Market-Insights row on demand",
|
|
81089
82409
|
"tags": [
|
|
81090
82410
|
"CRM"
|
|
81091
82411
|
]
|
|
81092
82412
|
}
|
|
81093
82413
|
},
|
|
81094
|
-
"/v1/crm/records/
|
|
82414
|
+
"/v1/crm/records/request-access": {
|
|
81095
82415
|
"post": {
|
|
81096
|
-
"operationId": "
|
|
82416
|
+
"operationId": "requestCrmRecordAccess",
|
|
81097
82417
|
"requestBody": {
|
|
81098
82418
|
"content": {
|
|
81099
82419
|
"application/json": {
|
|
81100
82420
|
"schema": {
|
|
81101
82421
|
"properties": {
|
|
81102
|
-
"
|
|
81103
|
-
"
|
|
81104
|
-
|
|
81105
|
-
|
|
81106
|
-
|
|
81107
|
-
|
|
81108
|
-
|
|
81109
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
81110
|
-
}
|
|
81111
|
-
},
|
|
81112
|
-
"required": [
|
|
81113
|
-
"entityId",
|
|
81114
|
-
"entityType"
|
|
81115
|
-
],
|
|
81116
|
-
"type": "object"
|
|
81117
|
-
},
|
|
81118
|
-
"maxItems": 500,
|
|
81119
|
-
"minItems": 1,
|
|
81120
|
-
"type": "array"
|
|
82422
|
+
"entityId": {
|
|
82423
|
+
"minLength": 1,
|
|
82424
|
+
"type": "string"
|
|
82425
|
+
},
|
|
82426
|
+
"organizationId": {
|
|
82427
|
+
"minLength": 1,
|
|
82428
|
+
"type": "string"
|
|
81121
82429
|
}
|
|
81122
82430
|
},
|
|
81123
82431
|
"required": [
|
|
81124
|
-
"
|
|
82432
|
+
"organizationId",
|
|
82433
|
+
"entityId"
|
|
81125
82434
|
],
|
|
81126
82435
|
"type": "object"
|
|
81127
82436
|
}
|
|
@@ -81133,11 +82442,11 @@
|
|
|
81133
82442
|
"content": {
|
|
81134
82443
|
"application/json": {
|
|
81135
82444
|
"schema": {
|
|
81136
|
-
"$ref": "#/components/schemas/
|
|
82445
|
+
"$ref": "#/components/schemas/CrmRecordRequestAccessResult"
|
|
81137
82446
|
}
|
|
81138
82447
|
}
|
|
81139
82448
|
},
|
|
81140
|
-
"description": "The
|
|
82449
|
+
"description": "The owner was emailed, a recent request still stands, or the caller already has access."
|
|
81141
82450
|
},
|
|
81142
82451
|
"400": {
|
|
81143
82452
|
"content": {
|
|
@@ -81189,6 +82498,26 @@
|
|
|
81189
82498
|
},
|
|
81190
82499
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81191
82500
|
},
|
|
82501
|
+
"422": {
|
|
82502
|
+
"content": {
|
|
82503
|
+
"application/json": {
|
|
82504
|
+
"schema": {
|
|
82505
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82506
|
+
}
|
|
82507
|
+
}
|
|
82508
|
+
},
|
|
82509
|
+
"description": "The record has no owner/admin to notify."
|
|
82510
|
+
},
|
|
82511
|
+
"502": {
|
|
82512
|
+
"content": {
|
|
82513
|
+
"application/json": {
|
|
82514
|
+
"schema": {
|
|
82515
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
82516
|
+
}
|
|
82517
|
+
}
|
|
82518
|
+
},
|
|
82519
|
+
"description": "Owner-roster lookup or email send failed — safe to retry."
|
|
82520
|
+
},
|
|
81192
82521
|
"503": {
|
|
81193
82522
|
"content": {
|
|
81194
82523
|
"application/json": {
|
|
@@ -81200,37 +82529,35 @@
|
|
|
81200
82529
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81201
82530
|
}
|
|
81202
82531
|
},
|
|
81203
|
-
"summary": "
|
|
82532
|
+
"summary": "Ask a record's owner to share it (membership-gated, notify-only)",
|
|
81204
82533
|
"tags": [
|
|
81205
82534
|
"CRM"
|
|
81206
82535
|
]
|
|
81207
82536
|
}
|
|
81208
82537
|
},
|
|
81209
|
-
"/v1/crm/records/
|
|
82538
|
+
"/v1/crm/records/search": {
|
|
81210
82539
|
"post": {
|
|
81211
|
-
"operationId": "
|
|
82540
|
+
"operationId": "searchCrmRecords",
|
|
81212
82541
|
"requestBody": {
|
|
81213
82542
|
"content": {
|
|
81214
82543
|
"application/json": {
|
|
81215
82544
|
"schema": {
|
|
81216
82545
|
"properties": {
|
|
81217
|
-
"
|
|
82546
|
+
"listId": {
|
|
82547
|
+
"description": "Scope to one list's members; omit for the full CRM.",
|
|
81218
82548
|
"type": "string"
|
|
81219
82549
|
},
|
|
81220
|
-
"
|
|
81221
|
-
"
|
|
81222
|
-
|
|
81223
|
-
|
|
81224
|
-
|
|
81225
|
-
|
|
81226
|
-
"maxItems": 50,
|
|
81227
|
-
"type": "array"
|
|
81228
|
-
},
|
|
81229
|
-
"type": "object"
|
|
82550
|
+
"objectType": {
|
|
82551
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
82552
|
+
},
|
|
82553
|
+
"q": {
|
|
82554
|
+
"description": "Free-text query.",
|
|
82555
|
+
"type": "string"
|
|
81230
82556
|
}
|
|
81231
82557
|
},
|
|
81232
82558
|
"required": [
|
|
81233
|
-
"
|
|
82559
|
+
"objectType",
|
|
82560
|
+
"q"
|
|
81234
82561
|
],
|
|
81235
82562
|
"type": "object"
|
|
81236
82563
|
}
|
|
@@ -81242,11 +82569,11 @@
|
|
|
81242
82569
|
"content": {
|
|
81243
82570
|
"application/json": {
|
|
81244
82571
|
"schema": {
|
|
81245
|
-
"$ref": "#/components/schemas/
|
|
82572
|
+
"$ref": "#/components/schemas/CrmRecordSearchResult"
|
|
81246
82573
|
}
|
|
81247
82574
|
}
|
|
81248
82575
|
},
|
|
81249
|
-
"description": "
|
|
82576
|
+
"description": "The matching namespaced entity ids."
|
|
81250
82577
|
},
|
|
81251
82578
|
"400": {
|
|
81252
82579
|
"content": {
|
|
@@ -81309,62 +82636,25 @@
|
|
|
81309
82636
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81310
82637
|
}
|
|
81311
82638
|
},
|
|
81312
|
-
"summary": "
|
|
82639
|
+
"summary": "Free-text search over CRM records",
|
|
81313
82640
|
"tags": [
|
|
81314
82641
|
"CRM"
|
|
81315
82642
|
]
|
|
81316
82643
|
}
|
|
81317
82644
|
},
|
|
81318
|
-
"/v1/crm/
|
|
81319
|
-
"
|
|
81320
|
-
"operationId": "
|
|
81321
|
-
"requestBody": {
|
|
81322
|
-
"content": {
|
|
81323
|
-
"application/json": {
|
|
81324
|
-
"schema": {
|
|
81325
|
-
"properties": {
|
|
81326
|
-
"company": {
|
|
81327
|
-
"description": "Ignored.",
|
|
81328
|
-
"type": "string"
|
|
81329
|
-
},
|
|
81330
|
-
"entityId": {
|
|
81331
|
-
"type": "string"
|
|
81332
|
-
},
|
|
81333
|
-
"entityType": {
|
|
81334
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
81335
|
-
},
|
|
81336
|
-
"location": {
|
|
81337
|
-
"description": "Ignored.",
|
|
81338
|
-
"type": "string"
|
|
81339
|
-
},
|
|
81340
|
-
"name": {
|
|
81341
|
-
"description": "Ignored. Who is researched comes from the market-data record, not the request.",
|
|
81342
|
-
"type": "string"
|
|
81343
|
-
},
|
|
81344
|
-
"title": {
|
|
81345
|
-
"description": "Ignored.",
|
|
81346
|
-
"type": "string"
|
|
81347
|
-
}
|
|
81348
|
-
},
|
|
81349
|
-
"required": [
|
|
81350
|
-
"entityId",
|
|
81351
|
-
"entityType"
|
|
81352
|
-
],
|
|
81353
|
-
"type": "object"
|
|
81354
|
-
}
|
|
81355
|
-
}
|
|
81356
|
-
}
|
|
81357
|
-
},
|
|
82645
|
+
"/v1/crm/recruiting/calls/active": {
|
|
82646
|
+
"get": {
|
|
82647
|
+
"operationId": "getRecruitingActiveCall",
|
|
81358
82648
|
"responses": {
|
|
81359
82649
|
"200": {
|
|
81360
82650
|
"content": {
|
|
81361
82651
|
"application/json": {
|
|
81362
82652
|
"schema": {
|
|
81363
|
-
"$ref": "#/components/schemas/
|
|
82653
|
+
"$ref": "#/components/schemas/RecruitingActiveCallResult"
|
|
81364
82654
|
}
|
|
81365
82655
|
}
|
|
81366
82656
|
},
|
|
81367
|
-
"description": "The
|
|
82657
|
+
"description": "The most recent live call across my engagements, or null."
|
|
81368
82658
|
},
|
|
81369
82659
|
"400": {
|
|
81370
82660
|
"content": {
|
|
@@ -81416,15 +82706,15 @@
|
|
|
81416
82706
|
},
|
|
81417
82707
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81418
82708
|
},
|
|
81419
|
-
"
|
|
82709
|
+
"502": {
|
|
81420
82710
|
"content": {
|
|
81421
82711
|
"application/json": {
|
|
81422
82712
|
"schema": {
|
|
81423
|
-
"$ref": "#/components/schemas/
|
|
82713
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
81424
82714
|
}
|
|
81425
82715
|
}
|
|
81426
82716
|
},
|
|
81427
|
-
"description": "
|
|
82717
|
+
"description": "Auth service unavailable."
|
|
81428
82718
|
},
|
|
81429
82719
|
"503": {
|
|
81430
82720
|
"content": {
|
|
@@ -81437,43 +82727,25 @@
|
|
|
81437
82727
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81438
82728
|
}
|
|
81439
82729
|
},
|
|
81440
|
-
"summary": "
|
|
82730
|
+
"summary": "My still-live call in any customer workspace (reload resume)",
|
|
81441
82731
|
"tags": [
|
|
81442
82732
|
"CRM"
|
|
81443
82733
|
]
|
|
81444
82734
|
}
|
|
81445
82735
|
},
|
|
81446
|
-
"/v1/crm/
|
|
81447
|
-
"
|
|
81448
|
-
"operationId": "
|
|
81449
|
-
"requestBody": {
|
|
81450
|
-
"content": {
|
|
81451
|
-
"application/json": {
|
|
81452
|
-
"schema": {
|
|
81453
|
-
"properties": {
|
|
81454
|
-
"requestId": {
|
|
81455
|
-
"minLength": 1,
|
|
81456
|
-
"type": "string"
|
|
81457
|
-
}
|
|
81458
|
-
},
|
|
81459
|
-
"required": [
|
|
81460
|
-
"requestId"
|
|
81461
|
-
],
|
|
81462
|
-
"type": "object"
|
|
81463
|
-
}
|
|
81464
|
-
}
|
|
81465
|
-
}
|
|
81466
|
-
},
|
|
82736
|
+
"/v1/crm/recruiting/engagements": {
|
|
82737
|
+
"get": {
|
|
82738
|
+
"operationId": "listRecruitingEngagements",
|
|
81467
82739
|
"responses": {
|
|
81468
82740
|
"200": {
|
|
81469
82741
|
"content": {
|
|
81470
82742
|
"application/json": {
|
|
81471
82743
|
"schema": {
|
|
81472
|
-
"$ref": "#/components/schemas/
|
|
82744
|
+
"$ref": "#/components/schemas/RecruitingEngagementList"
|
|
81473
82745
|
}
|
|
81474
82746
|
}
|
|
81475
82747
|
},
|
|
81476
|
-
"description": "
|
|
82748
|
+
"description": "Active engagements, oldest first. Pass a `workspace.id` as `x-mm-organization-id` (MCP: `workspaceId`) to work that customer's CRM."
|
|
81477
82749
|
},
|
|
81478
82750
|
"400": {
|
|
81479
82751
|
"content": {
|
|
@@ -81533,7 +82805,7 @@
|
|
|
81533
82805
|
}
|
|
81534
82806
|
}
|
|
81535
82807
|
},
|
|
81536
|
-
"description": "Auth service unavailable
|
|
82808
|
+
"description": "Auth service unavailable."
|
|
81537
82809
|
},
|
|
81538
82810
|
"503": {
|
|
81539
82811
|
"content": {
|
|
@@ -81546,20 +82818,20 @@
|
|
|
81546
82818
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81547
82819
|
}
|
|
81548
82820
|
},
|
|
81549
|
-
"summary": "
|
|
82821
|
+
"summary": "Customer workspaces I can work through a service engagement",
|
|
81550
82822
|
"tags": [
|
|
81551
82823
|
"CRM"
|
|
81552
82824
|
]
|
|
81553
82825
|
}
|
|
81554
82826
|
},
|
|
81555
|
-
"/v1/crm/
|
|
82827
|
+
"/v1/crm/recruiting/lists": {
|
|
81556
82828
|
"get": {
|
|
81557
|
-
"operationId": "
|
|
82829
|
+
"operationId": "listRecruitingLists",
|
|
81558
82830
|
"parameters": [
|
|
81559
82831
|
{
|
|
81560
82832
|
"in": "query",
|
|
81561
82833
|
"name": "objectType",
|
|
81562
|
-
"required":
|
|
82834
|
+
"required": false,
|
|
81563
82835
|
"schema": {
|
|
81564
82836
|
"$ref": "#/components/schemas/CrmObjectType"
|
|
81565
82837
|
}
|
|
@@ -81570,11 +82842,11 @@
|
|
|
81570
82842
|
"content": {
|
|
81571
82843
|
"application/json": {
|
|
81572
82844
|
"schema": {
|
|
81573
|
-
"$ref": "#/components/schemas/
|
|
82845
|
+
"$ref": "#/components/schemas/RecruitingListsResult"
|
|
81574
82846
|
}
|
|
81575
82847
|
}
|
|
81576
82848
|
},
|
|
81577
|
-
"description": "
|
|
82849
|
+
"description": "The lists I can see in each customer, newest first, each tagged with its customer."
|
|
81578
82850
|
},
|
|
81579
82851
|
"400": {
|
|
81580
82852
|
"content": {
|
|
@@ -81626,83 +82898,7 @@
|
|
|
81626
82898
|
},
|
|
81627
82899
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81628
82900
|
},
|
|
81629
|
-
"
|
|
81630
|
-
"content": {
|
|
81631
|
-
"application/json": {
|
|
81632
|
-
"schema": {
|
|
81633
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
81634
|
-
}
|
|
81635
|
-
}
|
|
81636
|
-
},
|
|
81637
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81638
|
-
}
|
|
81639
|
-
},
|
|
81640
|
-
"summary": "List the workspace's record entity ids of an object type (ids only)",
|
|
81641
|
-
"tags": [
|
|
81642
|
-
"CRM"
|
|
81643
|
-
]
|
|
81644
|
-
}
|
|
81645
|
-
},
|
|
81646
|
-
"/v1/crm/records/mention-search": {
|
|
81647
|
-
"post": {
|
|
81648
|
-
"operationId": "searchCrmMentionRecords",
|
|
81649
|
-
"requestBody": {
|
|
81650
|
-
"content": {
|
|
81651
|
-
"application/json": {
|
|
81652
|
-
"schema": {
|
|
81653
|
-
"properties": {
|
|
81654
|
-
"q": {
|
|
81655
|
-
"default": "",
|
|
81656
|
-
"type": "string"
|
|
81657
|
-
}
|
|
81658
|
-
},
|
|
81659
|
-
"type": "object"
|
|
81660
|
-
}
|
|
81661
|
-
}
|
|
81662
|
-
}
|
|
81663
|
-
},
|
|
81664
|
-
"responses": {
|
|
81665
|
-
"200": {
|
|
81666
|
-
"content": {
|
|
81667
|
-
"application/json": {
|
|
81668
|
-
"schema": {
|
|
81669
|
-
"$ref": "#/components/schemas/CrmMentionSearch"
|
|
81670
|
-
}
|
|
81671
|
-
}
|
|
81672
|
-
},
|
|
81673
|
-
"description": "The viewer-visible records matching the query (or recent)."
|
|
81674
|
-
},
|
|
81675
|
-
"400": {
|
|
81676
|
-
"content": {
|
|
81677
|
-
"application/json": {
|
|
81678
|
-
"schema": {
|
|
81679
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
81680
|
-
}
|
|
81681
|
-
}
|
|
81682
|
-
},
|
|
81683
|
-
"description": "Validation error"
|
|
81684
|
-
},
|
|
81685
|
-
"401": {
|
|
81686
|
-
"content": {
|
|
81687
|
-
"application/json": {
|
|
81688
|
-
"schema": {
|
|
81689
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
81690
|
-
}
|
|
81691
|
-
}
|
|
81692
|
-
},
|
|
81693
|
-
"description": "Unauthorized"
|
|
81694
|
-
},
|
|
81695
|
-
"403": {
|
|
81696
|
-
"content": {
|
|
81697
|
-
"application/json": {
|
|
81698
|
-
"schema": {
|
|
81699
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
81700
|
-
}
|
|
81701
|
-
}
|
|
81702
|
-
},
|
|
81703
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
81704
|
-
},
|
|
81705
|
-
"404": {
|
|
82901
|
+
"502": {
|
|
81706
82902
|
"content": {
|
|
81707
82903
|
"application/json": {
|
|
81708
82904
|
"schema": {
|
|
@@ -81710,17 +82906,7 @@
|
|
|
81710
82906
|
}
|
|
81711
82907
|
}
|
|
81712
82908
|
},
|
|
81713
|
-
"description": "
|
|
81714
|
-
},
|
|
81715
|
-
"413": {
|
|
81716
|
-
"content": {
|
|
81717
|
-
"application/json": {
|
|
81718
|
-
"schema": {
|
|
81719
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
81720
|
-
}
|
|
81721
|
-
}
|
|
81722
|
-
},
|
|
81723
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82909
|
+
"description": "Auth service unavailable."
|
|
81724
82910
|
},
|
|
81725
82911
|
"503": {
|
|
81726
82912
|
"content": {
|
|
@@ -81733,48 +82919,35 @@
|
|
|
81733
82919
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81734
82920
|
}
|
|
81735
82921
|
},
|
|
81736
|
-
"summary": "
|
|
82922
|
+
"summary": "My lists across every customer I work",
|
|
81737
82923
|
"tags": [
|
|
81738
82924
|
"CRM"
|
|
81739
82925
|
]
|
|
81740
82926
|
}
|
|
81741
82927
|
},
|
|
81742
|
-
"/v1/crm/
|
|
81743
|
-
"
|
|
81744
|
-
"operationId": "
|
|
81745
|
-
"
|
|
81746
|
-
|
|
81747
|
-
"
|
|
81748
|
-
|
|
81749
|
-
|
|
81750
|
-
|
|
81751
|
-
|
|
81752
|
-
"minLength": 1,
|
|
81753
|
-
"type": "string"
|
|
81754
|
-
},
|
|
81755
|
-
"entityType": {
|
|
81756
|
-
"$ref": "#/components/schemas/CrmEntityType"
|
|
81757
|
-
}
|
|
81758
|
-
},
|
|
81759
|
-
"required": [
|
|
81760
|
-
"entityId",
|
|
81761
|
-
"entityType"
|
|
81762
|
-
],
|
|
81763
|
-
"type": "object"
|
|
81764
|
-
}
|
|
82928
|
+
"/v1/crm/recruiting/people": {
|
|
82929
|
+
"get": {
|
|
82930
|
+
"operationId": "listRecruitingPeople",
|
|
82931
|
+
"parameters": [
|
|
82932
|
+
{
|
|
82933
|
+
"in": "query",
|
|
82934
|
+
"name": "objectType",
|
|
82935
|
+
"required": false,
|
|
82936
|
+
"schema": {
|
|
82937
|
+
"$ref": "#/components/schemas/CrmObjectType"
|
|
81765
82938
|
}
|
|
81766
82939
|
}
|
|
81767
|
-
|
|
82940
|
+
],
|
|
81768
82941
|
"responses": {
|
|
81769
82942
|
"200": {
|
|
81770
82943
|
"content": {
|
|
81771
82944
|
"application/json": {
|
|
81772
82945
|
"schema": {
|
|
81773
|
-
"$ref": "#/components/schemas/
|
|
82946
|
+
"$ref": "#/components/schemas/RecruitingPeopleResult"
|
|
81774
82947
|
}
|
|
81775
82948
|
}
|
|
81776
82949
|
},
|
|
81777
|
-
"description": "
|
|
82950
|
+
"description": "Records whose working owner is me, most recently active first, each tagged with its customer."
|
|
81778
82951
|
},
|
|
81779
82952
|
"400": {
|
|
81780
82953
|
"content": {
|
|
@@ -81826,6 +82999,16 @@
|
|
|
81826
82999
|
},
|
|
81827
83000
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81828
83001
|
},
|
|
83002
|
+
"502": {
|
|
83003
|
+
"content": {
|
|
83004
|
+
"application/json": {
|
|
83005
|
+
"schema": {
|
|
83006
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
83007
|
+
}
|
|
83008
|
+
}
|
|
83009
|
+
},
|
|
83010
|
+
"description": "Auth service unavailable."
|
|
83011
|
+
},
|
|
81829
83012
|
"503": {
|
|
81830
83013
|
"content": {
|
|
81831
83014
|
"application/json": {
|
|
@@ -81837,28 +83020,28 @@
|
|
|
81837
83020
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81838
83021
|
}
|
|
81839
83022
|
},
|
|
81840
|
-
"summary": "
|
|
83023
|
+
"summary": "Records I own across every customer I work",
|
|
81841
83024
|
"tags": [
|
|
81842
83025
|
"CRM"
|
|
81843
83026
|
]
|
|
81844
83027
|
}
|
|
81845
83028
|
},
|
|
81846
|
-
"/v1/crm/
|
|
83029
|
+
"/v1/crm/recruiting/people/search": {
|
|
81847
83030
|
"post": {
|
|
81848
|
-
"operationId": "
|
|
83031
|
+
"operationId": "searchRecruitingPeople",
|
|
81849
83032
|
"requestBody": {
|
|
81850
83033
|
"content": {
|
|
81851
83034
|
"application/json": {
|
|
81852
83035
|
"schema": {
|
|
81853
83036
|
"properties": {
|
|
81854
|
-
"
|
|
81855
|
-
"maxLength":
|
|
83037
|
+
"q": {
|
|
83038
|
+
"maxLength": 200,
|
|
81856
83039
|
"minLength": 1,
|
|
81857
83040
|
"type": "string"
|
|
81858
83041
|
}
|
|
81859
83042
|
},
|
|
81860
83043
|
"required": [
|
|
81861
|
-
"
|
|
83044
|
+
"q"
|
|
81862
83045
|
],
|
|
81863
83046
|
"type": "object"
|
|
81864
83047
|
}
|
|
@@ -81870,11 +83053,11 @@
|
|
|
81870
83053
|
"content": {
|
|
81871
83054
|
"application/json": {
|
|
81872
83055
|
"schema": {
|
|
81873
|
-
"$ref": "#/components/schemas/
|
|
83056
|
+
"$ref": "#/components/schemas/RecruitingPeopleSearchResult"
|
|
81874
83057
|
}
|
|
81875
83058
|
}
|
|
81876
83059
|
},
|
|
81877
|
-
"description": "
|
|
83060
|
+
"description": "Name-first matches, up to 10 per customer, interleaved so no one customer crowds out the rest."
|
|
81878
83061
|
},
|
|
81879
83062
|
"400": {
|
|
81880
83063
|
"content": {
|
|
@@ -81926,6 +83109,16 @@
|
|
|
81926
83109
|
},
|
|
81927
83110
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
81928
83111
|
},
|
|
83112
|
+
"502": {
|
|
83113
|
+
"content": {
|
|
83114
|
+
"application/json": {
|
|
83115
|
+
"schema": {
|
|
83116
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
83117
|
+
}
|
|
83118
|
+
}
|
|
83119
|
+
},
|
|
83120
|
+
"description": "Auth service unavailable."
|
|
83121
|
+
},
|
|
81929
83122
|
"503": {
|
|
81930
83123
|
"content": {
|
|
81931
83124
|
"application/json": {
|
|
@@ -81937,48 +83130,25 @@
|
|
|
81937
83130
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
81938
83131
|
}
|
|
81939
83132
|
},
|
|
81940
|
-
"summary": "
|
|
83133
|
+
"summary": "Search the records I can see across every customer I work",
|
|
81941
83134
|
"tags": [
|
|
81942
83135
|
"CRM"
|
|
81943
83136
|
]
|
|
81944
83137
|
}
|
|
81945
83138
|
},
|
|
81946
|
-
"/v1/crm/
|
|
81947
|
-
"
|
|
81948
|
-
"operationId": "
|
|
81949
|
-
"requestBody": {
|
|
81950
|
-
"content": {
|
|
81951
|
-
"application/json": {
|
|
81952
|
-
"schema": {
|
|
81953
|
-
"properties": {
|
|
81954
|
-
"entityId": {
|
|
81955
|
-
"minLength": 1,
|
|
81956
|
-
"type": "string"
|
|
81957
|
-
},
|
|
81958
|
-
"organizationId": {
|
|
81959
|
-
"minLength": 1,
|
|
81960
|
-
"type": "string"
|
|
81961
|
-
}
|
|
81962
|
-
},
|
|
81963
|
-
"required": [
|
|
81964
|
-
"organizationId",
|
|
81965
|
-
"entityId"
|
|
81966
|
-
],
|
|
81967
|
-
"type": "object"
|
|
81968
|
-
}
|
|
81969
|
-
}
|
|
81970
|
-
}
|
|
81971
|
-
},
|
|
83139
|
+
"/v1/crm/recruiting/queue": {
|
|
83140
|
+
"get": {
|
|
83141
|
+
"operationId": "getRecruitingQueue",
|
|
81972
83142
|
"responses": {
|
|
81973
83143
|
"200": {
|
|
81974
83144
|
"content": {
|
|
81975
83145
|
"application/json": {
|
|
81976
83146
|
"schema": {
|
|
81977
|
-
"$ref": "#/components/schemas/
|
|
83147
|
+
"$ref": "#/components/schemas/RecruitingQueueResult"
|
|
81978
83148
|
}
|
|
81979
83149
|
}
|
|
81980
83150
|
},
|
|
81981
|
-
"description": "
|
|
83151
|
+
"description": "Open tasks assigned to me (due-soonest first) and meetings I organise that are still scheduled (soonest first), each tagged with its customer workspace."
|
|
81982
83152
|
},
|
|
81983
83153
|
"400": {
|
|
81984
83154
|
"content": {
|
|
@@ -82030,16 +83200,6 @@
|
|
|
82030
83200
|
},
|
|
82031
83201
|
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
82032
83202
|
},
|
|
82033
|
-
"422": {
|
|
82034
|
-
"content": {
|
|
82035
|
-
"application/json": {
|
|
82036
|
-
"schema": {
|
|
82037
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82038
|
-
}
|
|
82039
|
-
}
|
|
82040
|
-
},
|
|
82041
|
-
"description": "The record has no owner/admin to notify."
|
|
82042
|
-
},
|
|
82043
83203
|
"502": {
|
|
82044
83204
|
"content": {
|
|
82045
83205
|
"application/json": {
|
|
@@ -82048,114 +83208,7 @@
|
|
|
82048
83208
|
}
|
|
82049
83209
|
}
|
|
82050
83210
|
},
|
|
82051
|
-
"description": "
|
|
82052
|
-
},
|
|
82053
|
-
"503": {
|
|
82054
|
-
"content": {
|
|
82055
|
-
"application/json": {
|
|
82056
|
-
"schema": {
|
|
82057
|
-
"$ref": "#/components/schemas/SearchUnavailable"
|
|
82058
|
-
}
|
|
82059
|
-
}
|
|
82060
|
-
},
|
|
82061
|
-
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82062
|
-
}
|
|
82063
|
-
},
|
|
82064
|
-
"summary": "Ask a record's owner to share it (membership-gated, notify-only)",
|
|
82065
|
-
"tags": [
|
|
82066
|
-
"CRM"
|
|
82067
|
-
]
|
|
82068
|
-
}
|
|
82069
|
-
},
|
|
82070
|
-
"/v1/crm/records/search": {
|
|
82071
|
-
"post": {
|
|
82072
|
-
"operationId": "searchCrmRecords",
|
|
82073
|
-
"requestBody": {
|
|
82074
|
-
"content": {
|
|
82075
|
-
"application/json": {
|
|
82076
|
-
"schema": {
|
|
82077
|
-
"properties": {
|
|
82078
|
-
"listId": {
|
|
82079
|
-
"description": "Scope to one list's members; omit for the full CRM.",
|
|
82080
|
-
"type": "string"
|
|
82081
|
-
},
|
|
82082
|
-
"objectType": {
|
|
82083
|
-
"$ref": "#/components/schemas/CrmObjectType"
|
|
82084
|
-
},
|
|
82085
|
-
"q": {
|
|
82086
|
-
"description": "Free-text query.",
|
|
82087
|
-
"type": "string"
|
|
82088
|
-
}
|
|
82089
|
-
},
|
|
82090
|
-
"required": [
|
|
82091
|
-
"objectType",
|
|
82092
|
-
"q"
|
|
82093
|
-
],
|
|
82094
|
-
"type": "object"
|
|
82095
|
-
}
|
|
82096
|
-
}
|
|
82097
|
-
}
|
|
82098
|
-
},
|
|
82099
|
-
"responses": {
|
|
82100
|
-
"200": {
|
|
82101
|
-
"content": {
|
|
82102
|
-
"application/json": {
|
|
82103
|
-
"schema": {
|
|
82104
|
-
"$ref": "#/components/schemas/CrmRecordSearchResult"
|
|
82105
|
-
}
|
|
82106
|
-
}
|
|
82107
|
-
},
|
|
82108
|
-
"description": "The matching namespaced entity ids."
|
|
82109
|
-
},
|
|
82110
|
-
"400": {
|
|
82111
|
-
"content": {
|
|
82112
|
-
"application/json": {
|
|
82113
|
-
"schema": {
|
|
82114
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82115
|
-
}
|
|
82116
|
-
}
|
|
82117
|
-
},
|
|
82118
|
-
"description": "Validation error"
|
|
82119
|
-
},
|
|
82120
|
-
"401": {
|
|
82121
|
-
"content": {
|
|
82122
|
-
"application/json": {
|
|
82123
|
-
"schema": {
|
|
82124
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82125
|
-
}
|
|
82126
|
-
}
|
|
82127
|
-
},
|
|
82128
|
-
"description": "Unauthorized"
|
|
82129
|
-
},
|
|
82130
|
-
"403": {
|
|
82131
|
-
"content": {
|
|
82132
|
-
"application/json": {
|
|
82133
|
-
"schema": {
|
|
82134
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82135
|
-
}
|
|
82136
|
-
}
|
|
82137
|
-
},
|
|
82138
|
-
"description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
|
|
82139
|
-
},
|
|
82140
|
-
"404": {
|
|
82141
|
-
"content": {
|
|
82142
|
-
"application/json": {
|
|
82143
|
-
"schema": {
|
|
82144
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
82145
|
-
}
|
|
82146
|
-
}
|
|
82147
|
-
},
|
|
82148
|
-
"description": "Not found"
|
|
82149
|
-
},
|
|
82150
|
-
"413": {
|
|
82151
|
-
"content": {
|
|
82152
|
-
"application/json": {
|
|
82153
|
-
"schema": {
|
|
82154
|
-
"$ref": "#/components/schemas/PayloadTooLarge"
|
|
82155
|
-
}
|
|
82156
|
-
}
|
|
82157
|
-
},
|
|
82158
|
-
"description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
|
|
83211
|
+
"description": "Auth service unavailable."
|
|
82159
83212
|
},
|
|
82160
83213
|
"503": {
|
|
82161
83214
|
"content": {
|
|
@@ -82168,7 +83221,7 @@
|
|
|
82168
83221
|
"description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
|
|
82169
83222
|
}
|
|
82170
83223
|
},
|
|
82171
|
-
"summary": "
|
|
83224
|
+
"summary": "My open tasks and scheduled meetings across every customer I work",
|
|
82172
83225
|
"tags": [
|
|
82173
83226
|
"CRM"
|
|
82174
83227
|
]
|
|
@@ -84272,6 +85325,20 @@
|
|
|
84272
85325
|
"type": "string"
|
|
84273
85326
|
}
|
|
84274
85327
|
},
|
|
85328
|
+
{
|
|
85329
|
+
"description": "Only files you pinned.",
|
|
85330
|
+
"in": "query",
|
|
85331
|
+
"name": "pinned",
|
|
85332
|
+
"required": false,
|
|
85333
|
+
"schema": {
|
|
85334
|
+
"description": "Only files you pinned.",
|
|
85335
|
+
"enum": [
|
|
85336
|
+
"true",
|
|
85337
|
+
"false"
|
|
85338
|
+
],
|
|
85339
|
+
"type": "string"
|
|
85340
|
+
}
|
|
85341
|
+
},
|
|
84275
85342
|
{
|
|
84276
85343
|
"description": "`org` lists every file in the organization (organization admins only).",
|
|
84277
85344
|
"in": "query",
|
|
@@ -84876,6 +85943,144 @@
|
|
|
84876
85943
|
]
|
|
84877
85944
|
}
|
|
84878
85945
|
},
|
|
85946
|
+
"/v1/files/references": {
|
|
85947
|
+
"post": {
|
|
85948
|
+
"description": "Adds a library entry for something that stays live in another app (a dashboard, chart or table): its title, kind and where to open it (`ref`), not a copy of it. It is ready at once, has no contents, and is listed, searched, pinned, renamed, shared, linked and deleted like any file. Calling it again for the same `ref.app` and `ref.id` updates your entry (name, kind, URL, and metadata when sent; links sent are added) and answers `200` with the same id. To show a thumbnail, put an image on it with `POST /v1/files/{id}/revisions`; its contents are then that image. Free.",
|
|
85949
|
+
"operationId": "createFileReference",
|
|
85950
|
+
"requestBody": {
|
|
85951
|
+
"content": {
|
|
85952
|
+
"application/json": {
|
|
85953
|
+
"schema": {
|
|
85954
|
+
"$ref": "#/components/schemas/FileReferenceCreate"
|
|
85955
|
+
}
|
|
85956
|
+
}
|
|
85957
|
+
},
|
|
85958
|
+
"required": true
|
|
85959
|
+
},
|
|
85960
|
+
"responses": {
|
|
85961
|
+
"200": {
|
|
85962
|
+
"content": {
|
|
85963
|
+
"application/json": {
|
|
85964
|
+
"schema": {
|
|
85965
|
+
"properties": {
|
|
85966
|
+
"data": {
|
|
85967
|
+
"$ref": "#/components/schemas/File"
|
|
85968
|
+
}
|
|
85969
|
+
},
|
|
85970
|
+
"required": [
|
|
85971
|
+
"data"
|
|
85972
|
+
],
|
|
85973
|
+
"type": "object"
|
|
85974
|
+
}
|
|
85975
|
+
}
|
|
85976
|
+
},
|
|
85977
|
+
"description": "Your existing entry, updated"
|
|
85978
|
+
},
|
|
85979
|
+
"201": {
|
|
85980
|
+
"content": {
|
|
85981
|
+
"application/json": {
|
|
85982
|
+
"schema": {
|
|
85983
|
+
"properties": {
|
|
85984
|
+
"data": {
|
|
85985
|
+
"$ref": "#/components/schemas/File"
|
|
85986
|
+
}
|
|
85987
|
+
},
|
|
85988
|
+
"required": [
|
|
85989
|
+
"data"
|
|
85990
|
+
],
|
|
85991
|
+
"type": "object"
|
|
85992
|
+
}
|
|
85993
|
+
}
|
|
85994
|
+
},
|
|
85995
|
+
"description": "The new entry"
|
|
85996
|
+
},
|
|
85997
|
+
"400": {
|
|
85998
|
+
"content": {
|
|
85999
|
+
"application/json": {
|
|
86000
|
+
"schema": {
|
|
86001
|
+
"$ref": "#/components/schemas/FileError"
|
|
86002
|
+
}
|
|
86003
|
+
}
|
|
86004
|
+
},
|
|
86005
|
+
"description": "Invalid request"
|
|
86006
|
+
},
|
|
86007
|
+
"401": {
|
|
86008
|
+
"content": {
|
|
86009
|
+
"application/json": {
|
|
86010
|
+
"schema": {
|
|
86011
|
+
"$ref": "#/components/schemas/FileError"
|
|
86012
|
+
}
|
|
86013
|
+
}
|
|
86014
|
+
},
|
|
86015
|
+
"description": "Not signed in"
|
|
86016
|
+
},
|
|
86017
|
+
"403": {
|
|
86018
|
+
"content": {
|
|
86019
|
+
"application/json": {
|
|
86020
|
+
"schema": {
|
|
86021
|
+
"$ref": "#/components/schemas/FileError"
|
|
86022
|
+
}
|
|
86023
|
+
}
|
|
86024
|
+
},
|
|
86025
|
+
"description": "Not allowed"
|
|
86026
|
+
},
|
|
86027
|
+
"404": {
|
|
86028
|
+
"content": {
|
|
86029
|
+
"application/json": {
|
|
86030
|
+
"schema": {
|
|
86031
|
+
"$ref": "#/components/schemas/FileError"
|
|
86032
|
+
}
|
|
86033
|
+
}
|
|
86034
|
+
},
|
|
86035
|
+
"description": "No such file"
|
|
86036
|
+
},
|
|
86037
|
+
"409": {
|
|
86038
|
+
"content": {
|
|
86039
|
+
"application/json": {
|
|
86040
|
+
"schema": {
|
|
86041
|
+
"$ref": "#/components/schemas/FileError"
|
|
86042
|
+
}
|
|
86043
|
+
}
|
|
86044
|
+
},
|
|
86045
|
+
"description": "Conflicts with the file's state"
|
|
86046
|
+
},
|
|
86047
|
+
"422": {
|
|
86048
|
+
"content": {
|
|
86049
|
+
"application/json": {
|
|
86050
|
+
"schema": {
|
|
86051
|
+
"$ref": "#/components/schemas/FileError"
|
|
86052
|
+
}
|
|
86053
|
+
}
|
|
86054
|
+
},
|
|
86055
|
+
"description": "The upload did not match"
|
|
86056
|
+
},
|
|
86057
|
+
"502": {
|
|
86058
|
+
"content": {
|
|
86059
|
+
"application/json": {
|
|
86060
|
+
"schema": {
|
|
86061
|
+
"$ref": "#/components/schemas/FileError"
|
|
86062
|
+
}
|
|
86063
|
+
}
|
|
86064
|
+
},
|
|
86065
|
+
"description": "Could not check membership"
|
|
86066
|
+
},
|
|
86067
|
+
"503": {
|
|
86068
|
+
"content": {
|
|
86069
|
+
"application/json": {
|
|
86070
|
+
"schema": {
|
|
86071
|
+
"$ref": "#/components/schemas/FileError"
|
|
86072
|
+
}
|
|
86073
|
+
}
|
|
86074
|
+
},
|
|
86075
|
+
"description": "Storage or the access log unavailable"
|
|
86076
|
+
}
|
|
86077
|
+
},
|
|
86078
|
+
"summary": "Add a link to something in another app",
|
|
86079
|
+
"tags": [
|
|
86080
|
+
"Files"
|
|
86081
|
+
]
|
|
86082
|
+
}
|
|
86083
|
+
},
|
|
84879
86084
|
"/v1/files/search": {
|
|
84880
86085
|
"get": {
|
|
84881
86086
|
"description": "Files you can see whose name contains `q`, names that start with it first. Free.",
|
|
@@ -85306,7 +86511,7 @@
|
|
|
85306
86511
|
]
|
|
85307
86512
|
},
|
|
85308
86513
|
"patch": {
|
|
85309
|
-
"description": "The owner and editors can rename a file
|
|
86514
|
+
"description": "The owner and editors can rename a file, replace its `metadata`, or change where a link entry opens (`ref.url`). Free.",
|
|
85310
86515
|
"operationId": "updateFile",
|
|
85311
86516
|
"parameters": [
|
|
85312
86517
|
{
|
|
@@ -85584,16 +86789,312 @@
|
|
|
85584
86789
|
"description": "Storage or the access log unavailable"
|
|
85585
86790
|
}
|
|
85586
86791
|
},
|
|
85587
|
-
"summary": "A protected file's access log",
|
|
86792
|
+
"summary": "A protected file's access log",
|
|
86793
|
+
"tags": [
|
|
86794
|
+
"Files"
|
|
86795
|
+
]
|
|
86796
|
+
}
|
|
86797
|
+
},
|
|
86798
|
+
"/v1/files/{id}/agent-approvals": {
|
|
86799
|
+
"post": {
|
|
86800
|
+
"description": "You approve an agent to open this protected file in the conversation `chatId`, and nowhere else. Only you can approve, from your own session: an agent cannot approve itself. Each approval is recorded in the file's access log. Free.",
|
|
86801
|
+
"operationId": "approveFileForAgent",
|
|
86802
|
+
"parameters": [
|
|
86803
|
+
{
|
|
86804
|
+
"description": "The file's id.",
|
|
86805
|
+
"in": "path",
|
|
86806
|
+
"name": "id",
|
|
86807
|
+
"required": true,
|
|
86808
|
+
"schema": {
|
|
86809
|
+
"description": "The file's id.",
|
|
86810
|
+
"example": "file_3f2a…",
|
|
86811
|
+
"pattern": "^file_[0-9a-f]{32}$",
|
|
86812
|
+
"type": "string"
|
|
86813
|
+
}
|
|
86814
|
+
}
|
|
86815
|
+
],
|
|
86816
|
+
"requestBody": {
|
|
86817
|
+
"content": {
|
|
86818
|
+
"application/json": {
|
|
86819
|
+
"schema": {
|
|
86820
|
+
"$ref": "#/components/schemas/FileAgentApprovalCreate"
|
|
86821
|
+
}
|
|
86822
|
+
}
|
|
86823
|
+
},
|
|
86824
|
+
"required": true
|
|
86825
|
+
},
|
|
86826
|
+
"responses": {
|
|
86827
|
+
"201": {
|
|
86828
|
+
"content": {
|
|
86829
|
+
"application/json": {
|
|
86830
|
+
"schema": {
|
|
86831
|
+
"properties": {
|
|
86832
|
+
"data": {
|
|
86833
|
+
"properties": {
|
|
86834
|
+
"approvedAt": {
|
|
86835
|
+
"type": "string"
|
|
86836
|
+
},
|
|
86837
|
+
"chatId": {
|
|
86838
|
+
"type": "string"
|
|
86839
|
+
},
|
|
86840
|
+
"fileId": {
|
|
86841
|
+
"type": "string"
|
|
86842
|
+
},
|
|
86843
|
+
"userId": {
|
|
86844
|
+
"type": "string"
|
|
86845
|
+
}
|
|
86846
|
+
},
|
|
86847
|
+
"required": [
|
|
86848
|
+
"fileId",
|
|
86849
|
+
"chatId",
|
|
86850
|
+
"userId",
|
|
86851
|
+
"approvedAt"
|
|
86852
|
+
],
|
|
86853
|
+
"type": "object"
|
|
86854
|
+
}
|
|
86855
|
+
},
|
|
86856
|
+
"required": [
|
|
86857
|
+
"data"
|
|
86858
|
+
],
|
|
86859
|
+
"type": "object"
|
|
86860
|
+
}
|
|
86861
|
+
}
|
|
86862
|
+
},
|
|
86863
|
+
"description": "Approved"
|
|
86864
|
+
},
|
|
86865
|
+
"400": {
|
|
86866
|
+
"content": {
|
|
86867
|
+
"application/json": {
|
|
86868
|
+
"schema": {
|
|
86869
|
+
"$ref": "#/components/schemas/FileError"
|
|
86870
|
+
}
|
|
86871
|
+
}
|
|
86872
|
+
},
|
|
86873
|
+
"description": "Invalid request"
|
|
86874
|
+
},
|
|
86875
|
+
"401": {
|
|
86876
|
+
"content": {
|
|
86877
|
+
"application/json": {
|
|
86878
|
+
"schema": {
|
|
86879
|
+
"$ref": "#/components/schemas/FileError"
|
|
86880
|
+
}
|
|
86881
|
+
}
|
|
86882
|
+
},
|
|
86883
|
+
"description": "Not signed in"
|
|
86884
|
+
},
|
|
86885
|
+
"403": {
|
|
86886
|
+
"content": {
|
|
86887
|
+
"application/json": {
|
|
86888
|
+
"schema": {
|
|
86889
|
+
"$ref": "#/components/schemas/FileError"
|
|
86890
|
+
}
|
|
86891
|
+
}
|
|
86892
|
+
},
|
|
86893
|
+
"description": "Not allowed"
|
|
86894
|
+
},
|
|
86895
|
+
"404": {
|
|
86896
|
+
"content": {
|
|
86897
|
+
"application/json": {
|
|
86898
|
+
"schema": {
|
|
86899
|
+
"$ref": "#/components/schemas/FileError"
|
|
86900
|
+
}
|
|
86901
|
+
}
|
|
86902
|
+
},
|
|
86903
|
+
"description": "No such file"
|
|
86904
|
+
},
|
|
86905
|
+
"409": {
|
|
86906
|
+
"content": {
|
|
86907
|
+
"application/json": {
|
|
86908
|
+
"schema": {
|
|
86909
|
+
"$ref": "#/components/schemas/FileError"
|
|
86910
|
+
}
|
|
86911
|
+
}
|
|
86912
|
+
},
|
|
86913
|
+
"description": "Conflicts with the file's state"
|
|
86914
|
+
},
|
|
86915
|
+
"422": {
|
|
86916
|
+
"content": {
|
|
86917
|
+
"application/json": {
|
|
86918
|
+
"schema": {
|
|
86919
|
+
"$ref": "#/components/schemas/FileError"
|
|
86920
|
+
}
|
|
86921
|
+
}
|
|
86922
|
+
},
|
|
86923
|
+
"description": "The upload did not match"
|
|
86924
|
+
},
|
|
86925
|
+
"502": {
|
|
86926
|
+
"content": {
|
|
86927
|
+
"application/json": {
|
|
86928
|
+
"schema": {
|
|
86929
|
+
"$ref": "#/components/schemas/FileError"
|
|
86930
|
+
}
|
|
86931
|
+
}
|
|
86932
|
+
},
|
|
86933
|
+
"description": "Could not check membership"
|
|
86934
|
+
},
|
|
86935
|
+
"503": {
|
|
86936
|
+
"content": {
|
|
86937
|
+
"application/json": {
|
|
86938
|
+
"schema": {
|
|
86939
|
+
"$ref": "#/components/schemas/FileError"
|
|
86940
|
+
}
|
|
86941
|
+
}
|
|
86942
|
+
},
|
|
86943
|
+
"description": "Storage or the access log unavailable"
|
|
86944
|
+
}
|
|
86945
|
+
},
|
|
86946
|
+
"summary": "Let an agent open a protected file in one conversation",
|
|
86947
|
+
"tags": [
|
|
86948
|
+
"Files"
|
|
86949
|
+
]
|
|
86950
|
+
}
|
|
86951
|
+
},
|
|
86952
|
+
"/v1/files/{id}/complete": {
|
|
86953
|
+
"post": {
|
|
86954
|
+
"description": "Call after the bytes were PUT to the upload URL. The size and SHA-256 are checked (when no SHA-256 was declared it is computed now); a match makes the file ready (`200`), or `scanning` while it is checked for malware (`202`, call again shortly). A mismatch answers `422` and the upload must be started again. Calling it again is safe. Free.",
|
|
86955
|
+
"operationId": "completeFile",
|
|
86956
|
+
"parameters": [
|
|
86957
|
+
{
|
|
86958
|
+
"description": "The file's id.",
|
|
86959
|
+
"in": "path",
|
|
86960
|
+
"name": "id",
|
|
86961
|
+
"required": true,
|
|
86962
|
+
"schema": {
|
|
86963
|
+
"description": "The file's id.",
|
|
86964
|
+
"example": "file_3f2a…",
|
|
86965
|
+
"pattern": "^file_[0-9a-f]{32}$",
|
|
86966
|
+
"type": "string"
|
|
86967
|
+
}
|
|
86968
|
+
}
|
|
86969
|
+
],
|
|
86970
|
+
"responses": {
|
|
86971
|
+
"200": {
|
|
86972
|
+
"content": {
|
|
86973
|
+
"application/json": {
|
|
86974
|
+
"schema": {
|
|
86975
|
+
"properties": {
|
|
86976
|
+
"data": {
|
|
86977
|
+
"$ref": "#/components/schemas/File"
|
|
86978
|
+
}
|
|
86979
|
+
},
|
|
86980
|
+
"required": [
|
|
86981
|
+
"data"
|
|
86982
|
+
],
|
|
86983
|
+
"type": "object"
|
|
86984
|
+
}
|
|
86985
|
+
}
|
|
86986
|
+
},
|
|
86987
|
+
"description": "The file is ready"
|
|
86988
|
+
},
|
|
86989
|
+
"202": {
|
|
86990
|
+
"content": {
|
|
86991
|
+
"application/json": {
|
|
86992
|
+
"schema": {
|
|
86993
|
+
"properties": {
|
|
86994
|
+
"data": {
|
|
86995
|
+
"$ref": "#/components/schemas/File"
|
|
86996
|
+
}
|
|
86997
|
+
},
|
|
86998
|
+
"required": [
|
|
86999
|
+
"data"
|
|
87000
|
+
],
|
|
87001
|
+
"type": "object"
|
|
87002
|
+
}
|
|
87003
|
+
}
|
|
87004
|
+
},
|
|
87005
|
+
"description": "The file is being scanned"
|
|
87006
|
+
},
|
|
87007
|
+
"400": {
|
|
87008
|
+
"content": {
|
|
87009
|
+
"application/json": {
|
|
87010
|
+
"schema": {
|
|
87011
|
+
"$ref": "#/components/schemas/FileError"
|
|
87012
|
+
}
|
|
87013
|
+
}
|
|
87014
|
+
},
|
|
87015
|
+
"description": "Invalid request"
|
|
87016
|
+
},
|
|
87017
|
+
"401": {
|
|
87018
|
+
"content": {
|
|
87019
|
+
"application/json": {
|
|
87020
|
+
"schema": {
|
|
87021
|
+
"$ref": "#/components/schemas/FileError"
|
|
87022
|
+
}
|
|
87023
|
+
}
|
|
87024
|
+
},
|
|
87025
|
+
"description": "Not signed in"
|
|
87026
|
+
},
|
|
87027
|
+
"403": {
|
|
87028
|
+
"content": {
|
|
87029
|
+
"application/json": {
|
|
87030
|
+
"schema": {
|
|
87031
|
+
"$ref": "#/components/schemas/FileError"
|
|
87032
|
+
}
|
|
87033
|
+
}
|
|
87034
|
+
},
|
|
87035
|
+
"description": "Not allowed"
|
|
87036
|
+
},
|
|
87037
|
+
"404": {
|
|
87038
|
+
"content": {
|
|
87039
|
+
"application/json": {
|
|
87040
|
+
"schema": {
|
|
87041
|
+
"$ref": "#/components/schemas/FileError"
|
|
87042
|
+
}
|
|
87043
|
+
}
|
|
87044
|
+
},
|
|
87045
|
+
"description": "No such file"
|
|
87046
|
+
},
|
|
87047
|
+
"409": {
|
|
87048
|
+
"content": {
|
|
87049
|
+
"application/json": {
|
|
87050
|
+
"schema": {
|
|
87051
|
+
"$ref": "#/components/schemas/FileError"
|
|
87052
|
+
}
|
|
87053
|
+
}
|
|
87054
|
+
},
|
|
87055
|
+
"description": "Conflicts with the file's state"
|
|
87056
|
+
},
|
|
87057
|
+
"422": {
|
|
87058
|
+
"content": {
|
|
87059
|
+
"application/json": {
|
|
87060
|
+
"schema": {
|
|
87061
|
+
"$ref": "#/components/schemas/FileError"
|
|
87062
|
+
}
|
|
87063
|
+
}
|
|
87064
|
+
},
|
|
87065
|
+
"description": "The upload did not match"
|
|
87066
|
+
},
|
|
87067
|
+
"502": {
|
|
87068
|
+
"content": {
|
|
87069
|
+
"application/json": {
|
|
87070
|
+
"schema": {
|
|
87071
|
+
"$ref": "#/components/schemas/FileError"
|
|
87072
|
+
}
|
|
87073
|
+
}
|
|
87074
|
+
},
|
|
87075
|
+
"description": "Could not check membership"
|
|
87076
|
+
},
|
|
87077
|
+
"503": {
|
|
87078
|
+
"content": {
|
|
87079
|
+
"application/json": {
|
|
87080
|
+
"schema": {
|
|
87081
|
+
"$ref": "#/components/schemas/FileError"
|
|
87082
|
+
}
|
|
87083
|
+
}
|
|
87084
|
+
},
|
|
87085
|
+
"description": "Storage or the access log unavailable"
|
|
87086
|
+
}
|
|
87087
|
+
},
|
|
87088
|
+
"summary": "Finish an upload",
|
|
85588
87089
|
"tags": [
|
|
85589
87090
|
"Files"
|
|
85590
87091
|
]
|
|
85591
87092
|
}
|
|
85592
87093
|
},
|
|
85593
|
-
"/v1/files/{id}/
|
|
85594
|
-
"
|
|
85595
|
-
"description": "
|
|
85596
|
-
"operationId": "
|
|
87094
|
+
"/v1/files/{id}/content": {
|
|
87095
|
+
"get": {
|
|
87096
|
+
"description": "Redirects to a short-lived download link for a ready file. This path is the file's permanent link: it never expires, because each open is checked again. Pass `redirect=false` to get the link as JSON instead. Free.",
|
|
87097
|
+
"operationId": "getFileContent",
|
|
85597
87098
|
"parameters": [
|
|
85598
87099
|
{
|
|
85599
87100
|
"description": "The file's id.",
|
|
@@ -85606,44 +87107,59 @@
|
|
|
85606
87107
|
"pattern": "^file_[0-9a-f]{32}$",
|
|
85607
87108
|
"type": "string"
|
|
85608
87109
|
}
|
|
85609
|
-
}
|
|
85610
|
-
|
|
85611
|
-
|
|
85612
|
-
|
|
85613
|
-
"
|
|
85614
|
-
|
|
85615
|
-
|
|
85616
|
-
|
|
87110
|
+
},
|
|
87111
|
+
{
|
|
87112
|
+
"in": "query",
|
|
87113
|
+
"name": "disposition",
|
|
87114
|
+
"required": false,
|
|
87115
|
+
"schema": {
|
|
87116
|
+
"default": "attachment",
|
|
87117
|
+
"enum": [
|
|
87118
|
+
"inline",
|
|
87119
|
+
"attachment"
|
|
87120
|
+
],
|
|
87121
|
+
"type": "string"
|
|
85617
87122
|
}
|
|
85618
87123
|
},
|
|
85619
|
-
|
|
85620
|
-
|
|
87124
|
+
{
|
|
87125
|
+
"description": "`false` answers with the link as JSON instead of redirecting.",
|
|
87126
|
+
"in": "query",
|
|
87127
|
+
"name": "redirect",
|
|
87128
|
+
"required": false,
|
|
87129
|
+
"schema": {
|
|
87130
|
+
"default": "true",
|
|
87131
|
+
"description": "`false` answers with the link as JSON instead of redirecting.",
|
|
87132
|
+
"enum": [
|
|
87133
|
+
"true",
|
|
87134
|
+
"false"
|
|
87135
|
+
],
|
|
87136
|
+
"type": "string"
|
|
87137
|
+
}
|
|
87138
|
+
}
|
|
87139
|
+
],
|
|
85621
87140
|
"responses": {
|
|
85622
|
-
"
|
|
87141
|
+
"200": {
|
|
85623
87142
|
"content": {
|
|
85624
87143
|
"application/json": {
|
|
85625
87144
|
"schema": {
|
|
85626
87145
|
"properties": {
|
|
85627
87146
|
"data": {
|
|
85628
87147
|
"properties": {
|
|
85629
|
-
"
|
|
85630
|
-
"type": "string"
|
|
85631
|
-
},
|
|
85632
|
-
"chatId": {
|
|
87148
|
+
"expiresAt": {
|
|
85633
87149
|
"type": "string"
|
|
85634
87150
|
},
|
|
85635
|
-
"
|
|
85636
|
-
"
|
|
87151
|
+
"oneTime": {
|
|
87152
|
+
"description": "`true` for a protected file: the link opens once, within 5 minutes, and only for you.",
|
|
87153
|
+
"type": "boolean"
|
|
85637
87154
|
},
|
|
85638
|
-
"
|
|
87155
|
+
"url": {
|
|
85639
87156
|
"type": "string"
|
|
85640
87157
|
}
|
|
85641
87158
|
},
|
|
85642
87159
|
"required": [
|
|
85643
|
-
"
|
|
85644
|
-
"
|
|
85645
|
-
"
|
|
85646
|
-
"approvedAt"
|
|
87160
|
+
"url",
|
|
87161
|
+
"expiresAt",
|
|
87162
|
+
"oneTime"
|
|
85647
87163
|
],
|
|
85648
87164
|
"type": "object"
|
|
85649
87165
|
}
|
|
@@ -85655,7 +87171,18 @@
|
|
|
85655
87171
|
}
|
|
85656
87172
|
}
|
|
85657
87173
|
},
|
|
85658
|
-
"description": "
|
|
87174
|
+
"description": "The download link (with `redirect=false`)"
|
|
87175
|
+
},
|
|
87176
|
+
"302": {
|
|
87177
|
+
"description": "Redirect to the download link",
|
|
87178
|
+
"headers": {
|
|
87179
|
+
"location": {
|
|
87180
|
+
"required": true,
|
|
87181
|
+
"schema": {
|
|
87182
|
+
"type": "string"
|
|
87183
|
+
}
|
|
87184
|
+
}
|
|
87185
|
+
}
|
|
85659
87186
|
},
|
|
85660
87187
|
"400": {
|
|
85661
87188
|
"content": {
|
|
@@ -85738,16 +87265,16 @@
|
|
|
85738
87265
|
"description": "Storage or the access log unavailable"
|
|
85739
87266
|
}
|
|
85740
87267
|
},
|
|
85741
|
-
"summary": "
|
|
87268
|
+
"summary": "Open a file",
|
|
85742
87269
|
"tags": [
|
|
85743
87270
|
"Files"
|
|
85744
87271
|
]
|
|
85745
87272
|
}
|
|
85746
87273
|
},
|
|
85747
|
-
"/v1/files/{id}/
|
|
85748
|
-
"
|
|
85749
|
-
"description": "
|
|
85750
|
-
"operationId": "
|
|
87274
|
+
"/v1/files/{id}/links": {
|
|
87275
|
+
"delete": {
|
|
87276
|
+
"description": "The owner or an editor removes a link. Removing a CRM record link also needs you to be able to see the record. Free.",
|
|
87277
|
+
"operationId": "unlinkFile",
|
|
85751
87278
|
"parameters": [
|
|
85752
87279
|
{
|
|
85753
87280
|
"description": "The file's id.",
|
|
@@ -85760,6 +87287,19 @@
|
|
|
85760
87287
|
"pattern": "^file_[0-9a-f]{32}$",
|
|
85761
87288
|
"type": "string"
|
|
85762
87289
|
}
|
|
87290
|
+
},
|
|
87291
|
+
{
|
|
87292
|
+
"description": "What the file belongs to, as `<type>:<id>`: `crm_record` (a CRM person or company, by its record id, e.g. `crm_record:lo:123`), `studio_table`, `ask_chat`, `ask_project` or `export_job`. You must be able to see a CRM record to link a file to it, and anyone who can see the record can view the standard files linked to it.",
|
|
87293
|
+
"in": "query",
|
|
87294
|
+
"name": "target",
|
|
87295
|
+
"required": true,
|
|
87296
|
+
"schema": {
|
|
87297
|
+
"description": "What the file belongs to, as `<type>:<id>`: `crm_record` (a CRM person or company, by its record id, e.g. `crm_record:lo:123`), `studio_table`, `ask_chat`, `ask_project` or `export_job`. You must be able to see a CRM record to link a file to it, and anyone who can see the record can view the standard files linked to it.",
|
|
87298
|
+
"example": "ask_chat:chat_123",
|
|
87299
|
+
"maxLength": 220,
|
|
87300
|
+
"minLength": 3,
|
|
87301
|
+
"type": "string"
|
|
87302
|
+
}
|
|
85763
87303
|
}
|
|
85764
87304
|
],
|
|
85765
87305
|
"responses": {
|
|
@@ -85769,25 +87309,10 @@
|
|
|
85769
87309
|
"schema": {
|
|
85770
87310
|
"properties": {
|
|
85771
87311
|
"data": {
|
|
85772
|
-
"
|
|
85773
|
-
|
|
85774
|
-
|
|
85775
|
-
|
|
85776
|
-
"data"
|
|
85777
|
-
],
|
|
85778
|
-
"type": "object"
|
|
85779
|
-
}
|
|
85780
|
-
}
|
|
85781
|
-
},
|
|
85782
|
-
"description": "The file is ready"
|
|
85783
|
-
},
|
|
85784
|
-
"202": {
|
|
85785
|
-
"content": {
|
|
85786
|
-
"application/json": {
|
|
85787
|
-
"schema": {
|
|
85788
|
-
"properties": {
|
|
85789
|
-
"data": {
|
|
85790
|
-
"$ref": "#/components/schemas/File"
|
|
87312
|
+
"items": {
|
|
87313
|
+
"type": "string"
|
|
87314
|
+
},
|
|
87315
|
+
"type": "array"
|
|
85791
87316
|
}
|
|
85792
87317
|
},
|
|
85793
87318
|
"required": [
|
|
@@ -85797,7 +87322,7 @@
|
|
|
85797
87322
|
}
|
|
85798
87323
|
}
|
|
85799
87324
|
},
|
|
85800
|
-
"description": "The file
|
|
87325
|
+
"description": "The file's links"
|
|
85801
87326
|
},
|
|
85802
87327
|
"400": {
|
|
85803
87328
|
"content": {
|
|
@@ -85880,16 +87405,14 @@
|
|
|
85880
87405
|
"description": "Storage or the access log unavailable"
|
|
85881
87406
|
}
|
|
85882
87407
|
},
|
|
85883
|
-
"summary": "
|
|
87408
|
+
"summary": "Detach a file",
|
|
85884
87409
|
"tags": [
|
|
85885
87410
|
"Files"
|
|
85886
87411
|
]
|
|
85887
|
-
}
|
|
85888
|
-
|
|
85889
|
-
|
|
85890
|
-
|
|
85891
|
-
"description": "Redirects to a short-lived download link for a ready file. This path is the file's permanent link: it never expires, because each open is checked again. Pass `redirect=false` to get the link as JSON instead. Free.",
|
|
85892
|
-
"operationId": "getFileContent",
|
|
87412
|
+
},
|
|
87413
|
+
"post": {
|
|
87414
|
+
"description": "The owner or an editor attaches a file to a CRM record, a Studio table, a chat, a project or an export. Linking to a CRM record needs you to be able to see the record, and lets anyone who can see the record view the file if it is standard (a protected file stays shared person by person). Other links share the file with no one. Free.",
|
|
87415
|
+
"operationId": "linkFile",
|
|
85893
87416
|
"parameters": [
|
|
85894
87417
|
{
|
|
85895
87418
|
"description": "The file's id.",
|
|
@@ -85902,36 +87425,18 @@
|
|
|
85902
87425
|
"pattern": "^file_[0-9a-f]{32}$",
|
|
85903
87426
|
"type": "string"
|
|
85904
87427
|
}
|
|
85905
|
-
},
|
|
85906
|
-
{
|
|
85907
|
-
"in": "query",
|
|
85908
|
-
"name": "disposition",
|
|
85909
|
-
"required": false,
|
|
85910
|
-
"schema": {
|
|
85911
|
-
"default": "attachment",
|
|
85912
|
-
"enum": [
|
|
85913
|
-
"inline",
|
|
85914
|
-
"attachment"
|
|
85915
|
-
],
|
|
85916
|
-
"type": "string"
|
|
85917
|
-
}
|
|
85918
|
-
},
|
|
85919
|
-
{
|
|
85920
|
-
"description": "`false` answers with the link as JSON instead of redirecting.",
|
|
85921
|
-
"in": "query",
|
|
85922
|
-
"name": "redirect",
|
|
85923
|
-
"required": false,
|
|
85924
|
-
"schema": {
|
|
85925
|
-
"default": "true",
|
|
85926
|
-
"description": "`false` answers with the link as JSON instead of redirecting.",
|
|
85927
|
-
"enum": [
|
|
85928
|
-
"true",
|
|
85929
|
-
"false"
|
|
85930
|
-
],
|
|
85931
|
-
"type": "string"
|
|
85932
|
-
}
|
|
85933
87428
|
}
|
|
85934
87429
|
],
|
|
87430
|
+
"requestBody": {
|
|
87431
|
+
"content": {
|
|
87432
|
+
"application/json": {
|
|
87433
|
+
"schema": {
|
|
87434
|
+
"$ref": "#/components/schemas/FileLinkCreate"
|
|
87435
|
+
}
|
|
87436
|
+
}
|
|
87437
|
+
},
|
|
87438
|
+
"required": true
|
|
87439
|
+
},
|
|
85935
87440
|
"responses": {
|
|
85936
87441
|
"200": {
|
|
85937
87442
|
"content": {
|
|
@@ -85939,24 +87444,10 @@
|
|
|
85939
87444
|
"schema": {
|
|
85940
87445
|
"properties": {
|
|
85941
87446
|
"data": {
|
|
85942
|
-
"
|
|
85943
|
-
"
|
|
85944
|
-
"type": "string"
|
|
85945
|
-
},
|
|
85946
|
-
"oneTime": {
|
|
85947
|
-
"description": "`true` for a protected file: the link opens once, within 5 minutes, and only for you.",
|
|
85948
|
-
"type": "boolean"
|
|
85949
|
-
},
|
|
85950
|
-
"url": {
|
|
85951
|
-
"type": "string"
|
|
85952
|
-
}
|
|
87447
|
+
"items": {
|
|
87448
|
+
"type": "string"
|
|
85953
87449
|
},
|
|
85954
|
-
"
|
|
85955
|
-
"url",
|
|
85956
|
-
"expiresAt",
|
|
85957
|
-
"oneTime"
|
|
85958
|
-
],
|
|
85959
|
-
"type": "object"
|
|
87450
|
+
"type": "array"
|
|
85960
87451
|
}
|
|
85961
87452
|
},
|
|
85962
87453
|
"required": [
|
|
@@ -85966,18 +87457,7 @@
|
|
|
85966
87457
|
}
|
|
85967
87458
|
}
|
|
85968
87459
|
},
|
|
85969
|
-
"description": "The
|
|
85970
|
-
},
|
|
85971
|
-
"302": {
|
|
85972
|
-
"description": "Redirect to the download link",
|
|
85973
|
-
"headers": {
|
|
85974
|
-
"location": {
|
|
85975
|
-
"required": true,
|
|
85976
|
-
"schema": {
|
|
85977
|
-
"type": "string"
|
|
85978
|
-
}
|
|
85979
|
-
}
|
|
85980
|
-
}
|
|
87460
|
+
"description": "The file's links"
|
|
85981
87461
|
},
|
|
85982
87462
|
"400": {
|
|
85983
87463
|
"content": {
|
|
@@ -86060,16 +87540,16 @@
|
|
|
86060
87540
|
"description": "Storage or the access log unavailable"
|
|
86061
87541
|
}
|
|
86062
87542
|
},
|
|
86063
|
-
"summary": "
|
|
87543
|
+
"summary": "Attach a file to something",
|
|
86064
87544
|
"tags": [
|
|
86065
87545
|
"Files"
|
|
86066
87546
|
]
|
|
86067
87547
|
}
|
|
86068
87548
|
},
|
|
86069
|
-
"/v1/files/{id}/
|
|
87549
|
+
"/v1/files/{id}/pin": {
|
|
86070
87550
|
"delete": {
|
|
86071
|
-
"description": "
|
|
86072
|
-
"operationId": "
|
|
87551
|
+
"description": "Removes your pin. Succeeds when the file was not pinned. Free.",
|
|
87552
|
+
"operationId": "unpinFile",
|
|
86073
87553
|
"parameters": [
|
|
86074
87554
|
{
|
|
86075
87555
|
"description": "The file's id.",
|
|
@@ -86082,19 +87562,6 @@
|
|
|
86082
87562
|
"pattern": "^file_[0-9a-f]{32}$",
|
|
86083
87563
|
"type": "string"
|
|
86084
87564
|
}
|
|
86085
|
-
},
|
|
86086
|
-
{
|
|
86087
|
-
"description": "What the file belongs to, as `<type>:<id>`: `crm_record` (a CRM person or company, by its record id, e.g. `crm_record:lo:123`), `studio_table`, `ask_chat`, `ask_project` or `export_job`. You must be able to see a CRM record to link a file to it, and anyone who can see the record can view the standard files linked to it.",
|
|
86088
|
-
"in": "query",
|
|
86089
|
-
"name": "target",
|
|
86090
|
-
"required": true,
|
|
86091
|
-
"schema": {
|
|
86092
|
-
"description": "What the file belongs to, as `<type>:<id>`: `crm_record` (a CRM person or company, by its record id, e.g. `crm_record:lo:123`), `studio_table`, `ask_chat`, `ask_project` or `export_job`. You must be able to see a CRM record to link a file to it, and anyone who can see the record can view the standard files linked to it.",
|
|
86093
|
-
"example": "ask_chat:chat_123",
|
|
86094
|
-
"maxLength": 220,
|
|
86095
|
-
"minLength": 3,
|
|
86096
|
-
"type": "string"
|
|
86097
|
-
}
|
|
86098
87565
|
}
|
|
86099
87566
|
],
|
|
86100
87567
|
"responses": {
|
|
@@ -86104,10 +87571,7 @@
|
|
|
86104
87571
|
"schema": {
|
|
86105
87572
|
"properties": {
|
|
86106
87573
|
"data": {
|
|
86107
|
-
"
|
|
86108
|
-
"type": "string"
|
|
86109
|
-
},
|
|
86110
|
-
"type": "array"
|
|
87574
|
+
"$ref": "#/components/schemas/File"
|
|
86111
87575
|
}
|
|
86112
87576
|
},
|
|
86113
87577
|
"required": [
|
|
@@ -86117,7 +87581,7 @@
|
|
|
86117
87581
|
}
|
|
86118
87582
|
}
|
|
86119
87583
|
},
|
|
86120
|
-
"description": "The file
|
|
87584
|
+
"description": "The file"
|
|
86121
87585
|
},
|
|
86122
87586
|
"400": {
|
|
86123
87587
|
"content": {
|
|
@@ -86200,14 +87664,14 @@
|
|
|
86200
87664
|
"description": "Storage or the access log unavailable"
|
|
86201
87665
|
}
|
|
86202
87666
|
},
|
|
86203
|
-
"summary": "
|
|
87667
|
+
"summary": "Unpin a file",
|
|
86204
87668
|
"tags": [
|
|
86205
87669
|
"Files"
|
|
86206
87670
|
]
|
|
86207
87671
|
},
|
|
86208
|
-
"
|
|
86209
|
-
"description": "
|
|
86210
|
-
"operationId": "
|
|
87672
|
+
"put": {
|
|
87673
|
+
"description": "Pins a file you can see, for you only (anyone with a role on it can). Pinning again keeps the first pin time. List your pins with `pinned=true`. Free.",
|
|
87674
|
+
"operationId": "pinFile",
|
|
86211
87675
|
"parameters": [
|
|
86212
87676
|
{
|
|
86213
87677
|
"description": "The file's id.",
|
|
@@ -86222,16 +87686,6 @@
|
|
|
86222
87686
|
}
|
|
86223
87687
|
}
|
|
86224
87688
|
],
|
|
86225
|
-
"requestBody": {
|
|
86226
|
-
"content": {
|
|
86227
|
-
"application/json": {
|
|
86228
|
-
"schema": {
|
|
86229
|
-
"$ref": "#/components/schemas/FileLinkCreate"
|
|
86230
|
-
}
|
|
86231
|
-
}
|
|
86232
|
-
},
|
|
86233
|
-
"required": true
|
|
86234
|
-
},
|
|
86235
87689
|
"responses": {
|
|
86236
87690
|
"200": {
|
|
86237
87691
|
"content": {
|
|
@@ -86239,10 +87693,7 @@
|
|
|
86239
87693
|
"schema": {
|
|
86240
87694
|
"properties": {
|
|
86241
87695
|
"data": {
|
|
86242
|
-
"
|
|
86243
|
-
"type": "string"
|
|
86244
|
-
},
|
|
86245
|
-
"type": "array"
|
|
87696
|
+
"$ref": "#/components/schemas/File"
|
|
86246
87697
|
}
|
|
86247
87698
|
},
|
|
86248
87699
|
"required": [
|
|
@@ -86252,7 +87703,7 @@
|
|
|
86252
87703
|
}
|
|
86253
87704
|
}
|
|
86254
87705
|
},
|
|
86255
|
-
"description": "The file
|
|
87706
|
+
"description": "The file"
|
|
86256
87707
|
},
|
|
86257
87708
|
"400": {
|
|
86258
87709
|
"content": {
|
|
@@ -86335,7 +87786,7 @@
|
|
|
86335
87786
|
"description": "Storage or the access log unavailable"
|
|
86336
87787
|
}
|
|
86337
87788
|
},
|
|
86338
|
-
"summary": "
|
|
87789
|
+
"summary": "Pin a file",
|
|
86339
87790
|
"tags": [
|
|
86340
87791
|
"Files"
|
|
86341
87792
|
]
|
|
@@ -91638,7 +93089,7 @@
|
|
|
91638
93089
|
]
|
|
91639
93090
|
},
|
|
91640
93091
|
"post": {
|
|
91641
|
-
"description": "Set up a monitor. From a ModelMatch template: send `watch: { template, inputs, options }` (see `GET /v1/monitors/templates`); it checks once right away, so updates from the last 90 days arrive with its first run, then weekly. From your own query: send `watch: { sql, keys, schedule }`, a `name` and at least one rule. Results land in a table in your organization's workspace. Free to set up;
|
|
93092
|
+
"description": "Set up a monitor. From a ModelMatch template: send `watch: { template, inputs, options }` (see `GET /v1/monitors/templates`); it checks once right away, so updates from the last 90 days arrive with its first run, then weekly. From your own query: send `watch: { sql, keys, schedule }`, a `name` and at least one rule. Results land in a table in your organization's workspace. Free to set up; a monitor's run costs credits only when it finds something.",
|
|
91642
93093
|
"operationId": "createMonitor",
|
|
91643
93094
|
"requestBody": {
|
|
91644
93095
|
"content": {
|
|
@@ -101068,7 +102519,7 @@
|
|
|
101068
102519
|
]
|
|
101069
102520
|
},
|
|
101070
102521
|
"post": {
|
|
101071
|
-
"description": "Save a SQL question to run again: on a schedule (`daily`, `weekly`) or only when asked (`manual`). Each run stores its result as a table named after the job, which later questions — and later jobs — can query like any other table. Name the `keys` (the columns that identify one row) to get 'what changed since the last run', and add `alerts` to flag new rows, removed rows or a number crossing a threshold. When an alert matches on a scheduled run, the job's creator is emailed (once per hourly tick, every job of theirs in one email, also in their notifications); `notify: { email: false }` saves the job without those emails, and `updateStudioJob` changes it later. Webhooks are not available yet. The SQL is checked when the job is saved: an unknown table or column, or a key that is not in the result, is refused here rather than at the first run. Saving does not run the job. To start from an existing job, give `copyFrom` (one of your jobs) or `copyFromPublished` (the `mm_*` table of a job ModelMatch publishes) instead of `sql`: its SQL, keys, alerts and description are copied into an editable job of your own — anything the request gives overrides them — checked like any other, starting `manual`; the job keeps `copiedFrom`. A published table built by a program, or a published model (copy that with createStudioModel and `basedOnPublished`), cannot be copied as a job. Saving is free; each run that succeeds costs 10 credits,
|
|
102522
|
+
"description": "Save a SQL question to run again: on a schedule (`daily`, `weekly`) or only when asked (`manual`). Each run stores its result as a table named after the job, which later questions — and later jobs — can query like any other table. Name the `keys` (the columns that identify one row) to get 'what changed since the last run', and add `alerts` to flag new rows, removed rows or a number crossing a threshold. When an alert matches on a scheduled run, the job's creator is emailed (once per hourly tick, every job of theirs in one email, also in their notifications); `notify: { email: false }` saves the job without those emails, and `updateStudioJob` changes it later. Webhooks are not available yet. The SQL is checked when the job is saved: an unknown table or column, or a key that is not in the result, is refused here rather than at the first run. Saving does not run the job. To start from an existing job, give `copyFrom` (one of your jobs) or `copyFromPublished` (the `mm_*` table of a job ModelMatch publishes) instead of `sql`: its SQL, keys, alerts and description are copied into an editable job of your own — anything the request gives overrides them — checked like any other, starting `manual`; the job keeps `copiedFrom`. A published table built by a program, or a published model (copy that with createStudioModel and `basedOnPublished`), cannot be copied as a job. Saving is free; each run that succeeds costs 10 credits, scheduled runs included; with `alerts`, only a run where one matches. `size: heavy`: more time and rows per run (the catalog's `limits.heavyJobs`), 100 credits a run, for organizations with heavy runs enabled (`403 entitlement_missing` otherwise); the SQL rules are the same. A heavy run gets capacity of its own with more memory and takes minutes rather than seconds; the job's `limits` say how long a run may take. `perState: true` (heavy jobs only; off unless set) runs the SQL once for each state and puts the results together. It is correct ONLY when every row of the result depends on one state's data — a list of homes, a join per property. It is wrong for national rankings, totals or averages: a top 10 would become a top 10 in every state. SQL ending in `LIMIT` is refused for it. A state that fails is tried once more, and the run lists how each state went (`states`).",
|
|
101072
102523
|
"operationId": "createStudioJob",
|
|
101073
102524
|
"requestBody": {
|
|
101074
102525
|
"content": {
|
|
@@ -101534,7 +102985,7 @@
|
|
|
101534
102985
|
},
|
|
101535
102986
|
"/v1/studio/jobs/{name}/run": {
|
|
101536
102987
|
"post": {
|
|
101537
|
-
"description": "Run a saved job now. Answers `200` with the finished run (its row count, what changed and any alerts) when it ends within a few seconds; otherwise `202` with `status: running`, and the run carries on — read the job to see how it ended. A run that fails answers `422` with `code: job_failed` and the reason. One job runs at a time per organization. 10 credits for a run that succeeds (100 for a `heavy` job, which needs heavy runs enabled: `403 entitlement_missing` otherwise); a failed run is free. A run that has succeeded by the time this returns is charged now (`credits.charged`, with `credits.remaining`). One still running is charged when it finishes
|
|
102988
|
+
"description": "Run a saved job now. Answers `200` with the finished run (its row count, what changed and any alerts) when it ends within a few seconds; otherwise `202` with `status: running`, and the run carries on — read the job to see how it ended. A run that fails answers `422` with `code: job_failed` and the reason. One job runs at a time per organization. 10 credits for a run that succeeds (a job with `alerts`: only when one matches; 100 for a `heavy` job, which needs heavy runs enabled: `403 entitlement_missing` otherwise); a failed run is free. A run that has succeeded by the time this returns is charged now (`credits.charged`, with `credits.remaining`). One still running is charged when it finishes: `credits.charged` is 0 and `credits.pending` is the most it will cost.",
|
|
101538
102989
|
"operationId": "runStudioJob",
|
|
101539
102990
|
"parameters": [
|
|
101540
102991
|
{
|