@withone/platform-attio 0.0.0-stage → 0.1.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/dist/index.mjs ADDED
@@ -0,0 +1,1164 @@
1
+ // src/index.ts
2
+ import { Action as __Action, routeInput as __routeInput } from "@withone/sdk/codegen";
3
+ var __getViewCompaniesRouting = { "routes": [["connectionKey", "body"], ["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"]], "requiredParts": ["body"] };
4
+ function getViewCompanies(input) {
5
+ return new __Action({
6
+ systemId: "conn_mod_def::GGSN-Se_DVY::kKduVE_yTiGJDjkspa5ScQ",
7
+ method: "POST",
8
+ path: "/v1/attio/get-companies",
9
+ ...__routeInput(input, __getViewCompaniesRouting, { "headers": { "Content-Type": "application/json" } })
10
+ });
11
+ }
12
+ var __getViewDealsRouting = { "routes": [["connectionKey", "body"], ["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"]], "requiredParts": ["body"] };
13
+ function getViewDeals(input) {
14
+ return new __Action({
15
+ systemId: "conn_mod_def::GGSOEZziaXI::fPKHa9ClROeMQoOXcUzr0g",
16
+ method: "POST",
17
+ path: "/v1/attio/get-deals",
18
+ ...__routeInput(input, __getViewDealsRouting, { "headers": { "Content-Type": "application/json" } })
19
+ });
20
+ }
21
+ var __getViewPeopleRouting = { "routes": [["connectionKey", "body"], ["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"]], "requiredParts": ["body"] };
22
+ function getViewPeople(input) {
23
+ return new __Action({
24
+ systemId: "conn_mod_def::GGSOLgc5bQY::2Ou6Iu2sRf2TfK36ewCUJQ",
25
+ method: "POST",
26
+ path: "/v1/attio/get-people",
27
+ ...__routeInput(input, __getViewPeopleRouting, { "headers": { "Content-Type": "application/json" } })
28
+ });
29
+ }
30
+ var __getViewUsersRouting = { "routes": [["connectionKey", "body"], ["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"]], "requiredParts": ["body"] };
31
+ function getViewUsers(input) {
32
+ return new __Action({
33
+ systemId: "conn_mod_def::GGSOOU_-Eec::0XvOMZOPTe6CoI1RQI8FIA",
34
+ method: "POST",
35
+ path: "/v1/attio/get-users",
36
+ ...__routeInput(input, __getViewUsersRouting, { "headers": { "Content-Type": "application/json" } })
37
+ });
38
+ }
39
+ var __getCompaniesFromListRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
40
+ function getCompaniesFromList(input) {
41
+ return new __Action({
42
+ systemId: "conn_mod_def::GGiFEVkSEUc::Lufbcp0CSDG4yd9MQugAPA",
43
+ method: "POST",
44
+ path: "/v1/attio/get-list-companies",
45
+ ...__routeInput(input, __getCompaniesFromListRouting, { "headers": { "Content-Type": "application/json" } })
46
+ });
47
+ }
48
+ var __getDealsFromListRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
49
+ function getDealsFromList(input) {
50
+ return new __Action({
51
+ systemId: "conn_mod_def::GGiFI_VifuQ::cP4enfKkTJeVFRxxBn9lMA",
52
+ method: "POST",
53
+ path: "/v1/attio/get-list-deals",
54
+ ...__routeInput(input, __getDealsFromListRouting, { "headers": { "Content-Type": "application/json" } })
55
+ });
56
+ }
57
+ var __getPeopleFromListRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
58
+ function getPeopleFromList(input) {
59
+ return new __Action({
60
+ systemId: "conn_mod_def::GGiFLxY5wyc::93NuTco6Tl-FEnieqhSIdw",
61
+ method: "POST",
62
+ path: "/v1/attio/get-list-people",
63
+ ...__routeInput(input, __getPeopleFromListRouting, { "headers": { "Content-Type": "application/json" } })
64
+ });
65
+ }
66
+ var __getUsersFromListRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
67
+ function getUsersFromList(input) {
68
+ return new __Action({
69
+ systemId: "conn_mod_def::GGiFPh20xfA::CuhjPCxTT9CrIuItj_TRmg",
70
+ method: "POST",
71
+ path: "/v1/attio/get-list-users",
72
+ ...__routeInput(input, __getUsersFromListRouting, { "headers": { "Content-Type": "application/json" } })
73
+ });
74
+ }
75
+ var __getEntriesFromListsRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
76
+ function getEntriesFromLists(input) {
77
+ return new __Action({
78
+ systemId: "conn_mod_def::GGm_68dyqjI::5UitPXnKROiqueBdLKb7jQ",
79
+ method: "POST",
80
+ path: "/v1/attio/get-list-entries",
81
+ ...__routeInput(input, __getEntriesFromListsRouting, { "headers": { "Content-Type": "application/json" } })
82
+ });
83
+ }
84
+ var __getWorkspacesFromListRouting = { "routes": [["connectionKey", "body"], ["limit", "body"], ["listId", "body"], ["offset", "body"]], "requiredParts": ["body"] };
85
+ function getWorkspacesFromList(input) {
86
+ return new __Action({
87
+ systemId: "conn_mod_def::GHByDDuni5E::-Lpyx18BT06Api_TB7p4Aw",
88
+ method: "POST",
89
+ path: "/v1/attio/get-list-workspaces",
90
+ ...__routeInput(input, __getWorkspacesFromListRouting, { "headers": { "Content-Type": "application/json" } })
91
+ });
92
+ }
93
+ var __createSelectOptionObjectOrListAttributeRouting = { "routes": [["data", "body"], ["attribute", "path"], ["identifier", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
94
+ function createSelectOptionObjectOrListAttribute(input) {
95
+ return new __Action({
96
+ systemId: "conn_mod_def::GJ0CUN8EGo8::v01jLdktT9OdDkfDnJ8bnQ",
97
+ method: "POST",
98
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/options",
99
+ ...__routeInput(input, __createSelectOptionObjectOrListAttributeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
100
+ });
101
+ }
102
+ var __createStatusStatusAttributeObjectOrListRouting = { "routes": [["data", "body"], ["attribute", "path"], ["identifier", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
103
+ function createStatusStatusAttributeObjectOrList(input) {
104
+ return new __Action({
105
+ systemId: "conn_mod_def::GJ0CUWmQyCc::pHR2Z8VpQaqOk5QiNKAQuQ",
106
+ method: "POST",
107
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/statuses",
108
+ ...__routeInput(input, __createStatusStatusAttributeObjectOrListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
109
+ });
110
+ }
111
+ var __createAttributeObjectOrListRouting = { "routes": [["data", "body"], ["identifier", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
112
+ function createAttributeObjectOrList(input) {
113
+ return new __Action({
114
+ systemId: "conn_mod_def::GJ0CUfIvM9I::Jo3yMY0wS7GW6L1U0e-ffA",
115
+ method: "POST",
116
+ path: "/{{target}}/{{identifier}}/attributes",
117
+ ...__routeInput(input, __createAttributeObjectOrListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
118
+ });
119
+ }
120
+ var __getObjectOrListAttributeRouting = { "routes": [["attribute", "path"], ["identifier", "path"], ["target", "path"]], "requiredParts": ["path"] };
121
+ function getObjectOrListAttribute(input) {
122
+ return new __Action({
123
+ systemId: "conn_mod_def::GJ0CUmp3lo4::c2delD14T4Sv_Cfn5CYKoA",
124
+ method: "GET",
125
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}",
126
+ ...__routeInput(input, __getObjectOrListAttributeRouting, { "headers": { "Accept": "application/json" } })
127
+ });
128
+ }
129
+ var __listAttributesObjectOrListRouting = { "routes": [["identifier", "path"], ["target", "path"], ["limit", "query"], ["offset", "query"], ["show_archived", "query"]], "requiredParts": ["path"] };
130
+ function listAttributesObjectOrList(input) {
131
+ return new __Action({
132
+ systemId: "conn_mod_def::GJ0CUu2JX64::UwvrQXVcRTeJ00QHKWVKbQ",
133
+ method: "GET",
134
+ path: "/{{target}}/{{identifier}}/attributes",
135
+ ...__routeInput(input, __listAttributesObjectOrListRouting, { "headers": { "Accept": "application/json" } })
136
+ });
137
+ }
138
+ var __listSelectOptionsObjectOrListAttributeRouting = { "routes": [["attribute", "path"], ["identifier", "path"], ["target", "path"], ["show_archived", "query"]], "requiredParts": ["path"] };
139
+ function listSelectOptionsObjectOrListAttribute(input) {
140
+ return new __Action({
141
+ systemId: "conn_mod_def::GJ0CU3i5kLM::uuIQS96sRyqCxLNyqdj8bQ",
142
+ method: "GET",
143
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/options",
144
+ ...__routeInput(input, __listSelectOptionsObjectOrListAttributeRouting, { "headers": { "Accept": "application/json" } })
145
+ });
146
+ }
147
+ var __listStatusesStatusAttributeObjectOrListRouting = { "routes": [["attribute", "path"], ["identifier", "path"], ["target", "path"], ["show_archived", "query"]], "requiredParts": ["path"] };
148
+ function listStatusesStatusAttributeObjectOrList(input) {
149
+ return new __Action({
150
+ systemId: "conn_mod_def::GJ0CU_N6TA4::fMnKuHTPR22mPDHrl48npg",
151
+ method: "GET",
152
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/statuses",
153
+ ...__routeInput(input, __listStatusesStatusAttributeObjectOrListRouting, { "headers": { "Accept": "application/json" } })
154
+ });
155
+ }
156
+ var __updateSelectOptionObjectOrListAttributeRouting = { "routes": [["data", "body"], ["attribute", "path"], ["identifier", "path"], ["option", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
157
+ function updateSelectOptionObjectOrListAttribute(input) {
158
+ return new __Action({
159
+ systemId: "conn_mod_def::GJ0CVIxdwUg::loDvW6WmSAupwDX2tmpOqQ",
160
+ method: "PATCH",
161
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/options/{{option}}",
162
+ ...__routeInput(input, __updateSelectOptionObjectOrListAttributeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
163
+ });
164
+ }
165
+ var __updateStatusObjectOrListAttributeRouting = { "routes": [["data", "body"], ["attribute", "path"], ["identifier", "path"], ["status", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
166
+ function updateStatusObjectOrListAttribute(input) {
167
+ return new __Action({
168
+ systemId: "conn_mod_def::GJ0CVRUYfaQ::rL-A6sqlT56rWF0KssWqhg",
169
+ method: "PATCH",
170
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}/statuses/{{status}}",
171
+ ...__routeInput(input, __updateStatusObjectOrListAttributeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
172
+ });
173
+ }
174
+ var __updateObjectOrListAttributeRouting = { "routes": [["data", "body"], ["attribute", "path"], ["identifier", "path"], ["target", "path"]], "requiredParts": ["body", "path"] };
175
+ function updateObjectOrListAttribute(input) {
176
+ return new __Action({
177
+ systemId: "conn_mod_def::GJ0CVZpN0AY::0_8KlPx4T6Czqwbjjdz04w",
178
+ method: "PATCH",
179
+ path: "/{{target}}/{{identifier}}/attributes/{{attribute}}",
180
+ ...__routeInput(input, __updateObjectOrListAttributeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
181
+ });
182
+ }
183
+ var __createMeetingCallRecordingRouting = { "routes": [["data", "body"], ["meetingId", "path"]], "requiredParts": ["body", "path"] };
184
+ function createMeetingCallRecording(input) {
185
+ return new __Action({
186
+ systemId: "conn_mod_def::GJ0CVhUq_1U::4dTtQgDAQSeFV24ThaiXtw",
187
+ method: "POST",
188
+ path: "/meetings/{{meetingId}}/call_recordings",
189
+ ...__routeInput(input, __createMeetingCallRecordingRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
190
+ });
191
+ }
192
+ var __deleteMeetingsCallRecordingRouting = { "routes": [["callRecordingId", "path"], ["meetingId", "path"]], "requiredParts": ["path"] };
193
+ function deleteMeetingsCallRecording(input) {
194
+ return new __Action({
195
+ systemId: "conn_mod_def::GJ0CVo3LdPE::pCQ-D-bnS9m9wCWUFMJGjg",
196
+ method: "DELETE",
197
+ path: "/meetings/{{meetingId}}/call_recordings/{{callRecordingId}}",
198
+ ...__routeInput(input, __deleteMeetingsCallRecordingRouting, { "headers": { "Accept": "application/json" } })
199
+ });
200
+ }
201
+ var __getMeetingsCallRecordingRouting = { "routes": [["callRecordingId", "path"], ["meetingId", "path"]], "requiredParts": ["path"] };
202
+ function getMeetingsCallRecording(input) {
203
+ return new __Action({
204
+ systemId: "conn_mod_def::GJ0CVwePF4w::4NHyKnCYRU2OHGOg2sTByw",
205
+ method: "GET",
206
+ path: "/meetings/{{meetingId}}/call_recordings/{{callRecordingId}}",
207
+ ...__routeInput(input, __getMeetingsCallRecordingRouting, { "headers": { "Accept": "application/json" } })
208
+ });
209
+ }
210
+ var __listMeetingsCallRecordingsBetaRouting = { "routes": [["meetingId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
211
+ function listMeetingsCallRecordingsBeta(input) {
212
+ return new __Action({
213
+ systemId: "conn_mod_def::GJ0CV5PJZN0::3mWyLq4eTaSvrBCxrmn1rw",
214
+ method: "GET",
215
+ path: "/meetings/{{meetingId}}/call_recordings",
216
+ ...__routeInput(input, __listMeetingsCallRecordingsBetaRouting, { "headers": { "Accept": "application/json" } })
217
+ });
218
+ }
219
+ var __createCommentRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
220
+ function createComment(input) {
221
+ return new __Action({
222
+ systemId: "conn_mod_def::GJ0CWBe_p_8::4SnxG0VxSY-Vt_7s1Tbv7Q",
223
+ method: "POST",
224
+ path: "/comments",
225
+ ...__routeInput(input, __createCommentRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
226
+ });
227
+ }
228
+ var __deleteCommentRouting = { "routes": [["commentId", "path"]], "requiredParts": ["path"] };
229
+ function deleteComment(input) {
230
+ return new __Action({
231
+ systemId: "conn_mod_def::GJ0CWJYNLhg::ZCownl1kQBmfQTrJUVnmFQ",
232
+ method: "DELETE",
233
+ path: "/comments/{{commentId}}",
234
+ ...__routeInput(input, __deleteCommentRouting, { "headers": { "Accept": "application/json" } })
235
+ });
236
+ }
237
+ var __getCommentRouting = { "routes": [["commentId", "path"]], "requiredParts": ["path"] };
238
+ function getComment(input) {
239
+ return new __Action({
240
+ systemId: "conn_mod_def::GJ0CWQqunJA::ZyAR9jL5SjerY4PrDVT8Zg",
241
+ method: "GET",
242
+ path: "/comments/{{commentId}}",
243
+ ...__routeInput(input, __getCommentRouting, { "headers": { "Accept": "application/json" } })
244
+ });
245
+ }
246
+ var __assertListEntryParentCreateOrUpdateRouting = { "routes": [["data", "body"], ["list", "path"]], "requiredParts": ["body", "path"] };
247
+ function assertListEntryParentCreateOrUpdate(input) {
248
+ return new __Action({
249
+ systemId: "conn_mod_def::GJ0CWYp73sk::4ZNSUZzSTna0s-NVYaeMfw",
250
+ method: "PUT",
251
+ path: "/lists/{{list}}/entries",
252
+ ...__routeInput(input, __assertListEntryParentCreateOrUpdateRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
253
+ });
254
+ }
255
+ var __createListEntryAddRecordListRouting = { "routes": [["data", "body"], ["list", "path"]], "requiredParts": ["body", "path"] };
256
+ function createListEntryAddRecordList(input) {
257
+ return new __Action({
258
+ systemId: "conn_mod_def::GJ0CWgKBjg0::vDH4_yvrQymWm020xEcQyg",
259
+ method: "POST",
260
+ path: "/lists/{{list}}/entries",
261
+ ...__routeInput(input, __createListEntryAddRecordListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
262
+ });
263
+ }
264
+ var __deleteListEntryRouting = { "routes": [["entryId", "path"], ["list", "path"]], "requiredParts": ["path"] };
265
+ function deleteListEntry(input) {
266
+ return new __Action({
267
+ systemId: "conn_mod_def::GJ0CWnT-qXI::p1K-4ezDSe-ZuvwPhZ1SXQ",
268
+ method: "DELETE",
269
+ path: "/lists/{{list}}/entries/{{entryId}}",
270
+ ...__routeInput(input, __deleteListEntryRouting, { "headers": { "Accept": "application/json" } })
271
+ });
272
+ }
273
+ var __getListEntryRouting = { "routes": [["entryId", "path"], ["list", "path"]], "requiredParts": ["path"] };
274
+ function getListEntry(input) {
275
+ return new __Action({
276
+ systemId: "conn_mod_def::GJ0CWxdJmw4::iLVJOholRUCuGWQCYTi42Q",
277
+ method: "GET",
278
+ path: "/lists/{{list}}/entries/{{entryId}}",
279
+ ...__routeInput(input, __getListEntryRouting, { "headers": { "Accept": "application/json" } })
280
+ });
281
+ }
282
+ var __listAttributeValuesListEntryRouting = { "routes": [["attribute", "path"], ["entryId", "path"], ["list", "path"], ["limit", "query"], ["offset", "query"], ["show_historic", "query"]], "requiredParts": ["path"] };
283
+ function listAttributeValuesListEntry(input) {
284
+ return new __Action({
285
+ systemId: "conn_mod_def::GJ0CW9u3eJE::pztcDBupS9eMKevU_8Q5Bg",
286
+ method: "GET",
287
+ path: "/lists/{{list}}/entries/{{entryId}}/attributes/{{attribute}}/values",
288
+ ...__routeInput(input, __listAttributeValuesListEntryRouting, { "headers": { "Accept": "application/json" } })
289
+ });
290
+ }
291
+ var __listEntriesListQueryRouting = { "routes": [["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"], ["list", "path"]], "requiredParts": ["body", "path"] };
292
+ function listEntriesListQuery(input) {
293
+ return new __Action({
294
+ systemId: "conn_mod_def::GJ0CXH0rOkI::nXClWNV9RdS3ikhzhayzRA",
295
+ method: "POST",
296
+ path: "/lists/{{list}}/entries/query",
297
+ ...__routeInput(input, __listEntriesListQueryRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
298
+ });
299
+ }
300
+ var __appendMultiselectValuesListEntryRouting = { "routes": [["data", "body"], ["entryId", "path"], ["list", "path"]], "requiredParts": ["body", "path"] };
301
+ function appendMultiselectValuesListEntry(input) {
302
+ return new __Action({
303
+ systemId: "conn_mod_def::GJ0CXP_ASZo::kkc3ek2MShmPD3o2AszlzQ",
304
+ method: "PATCH",
305
+ path: "/lists/{{list}}/entries/{{entryId}}",
306
+ ...__routeInput(input, __appendMultiselectValuesListEntryRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
307
+ });
308
+ }
309
+ var __updateListEntryOverwriteMultiselectValuesRouting = { "routes": [["data", "body"], ["entryId", "path"], ["list", "path"]], "requiredParts": ["body", "path"] };
310
+ function updateListEntryOverwriteMultiselectValues(input) {
311
+ return new __Action({
312
+ systemId: "conn_mod_def::GJ0CXZ22bOs::edhQdPtsTc6PfkKSRkn3hg",
313
+ method: "PUT",
314
+ path: "/lists/{{list}}/entries/{{entryId}}",
315
+ ...__routeInput(input, __updateListEntryOverwriteMultiselectValuesRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
316
+ });
317
+ }
318
+ var __createFileEntryObjectRecordFolderOrConnectedFileFolderBetaRouting = { "routes": [["body", "body", null]], "requiredParts": [] };
319
+ function createFileEntryObjectRecordFolderOrConnectedFileFolderBeta(input) {
320
+ return new __Action({
321
+ systemId: "conn_mod_def::GJ0CXh7CSRQ::J7EcH3ZyR7-ueFoFteUeFA",
322
+ method: "POST",
323
+ path: "/files",
324
+ ...__routeInput(input, __createFileEntryObjectRecordFolderOrConnectedFileFolderBetaRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
325
+ });
326
+ }
327
+ var __deleteFileRouting = { "routes": [["fileId", "path"]], "requiredParts": ["path"] };
328
+ function deleteFile(input) {
329
+ return new __Action({
330
+ systemId: "conn_mod_def::GJ0CXqxTIv8::lR59A3O3TceaqNJkz4rnKQ",
331
+ method: "DELETE",
332
+ path: "/files/{{fileId}}",
333
+ ...__routeInput(input, __deleteFileRouting, { "headers": { "Accept": "application/json" } })
334
+ });
335
+ }
336
+ var __downloadFileRouting = { "routes": [["fileId", "path"]], "requiredParts": ["path"] };
337
+ function downloadFile(input) {
338
+ return new __Action({
339
+ systemId: "conn_mod_def::GJ0CXx9-RBs::477zCTJBSTiVLU4PqX6SLA",
340
+ method: "GET",
341
+ path: "/files/{{fileId}}/download",
342
+ ...__routeInput(input, __downloadFileRouting, { "headers": { "Accept": "application/json" } })
343
+ });
344
+ }
345
+ var __getFileRouting = { "routes": [["fileId", "path"]], "requiredParts": ["path"] };
346
+ function getFile(input) {
347
+ return new __Action({
348
+ systemId: "conn_mod_def::GJ0CX6bAxww::Ga4rG1JnRLyfC_hL5BYzZQ",
349
+ method: "GET",
350
+ path: "/files/{{fileId}}",
351
+ ...__routeInput(input, __getFileRouting, { "headers": { "Accept": "application/json" } })
352
+ });
353
+ }
354
+ var __listFilesRouting = { "routes": [["cursor", "query"], ["limit", "query"], ["object", "query"], ["parent_folder_id", "query"], ["record_id", "query"], ["storage_provider", "query"]], "requiredParts": ["query"] };
355
+ function listFiles(input) {
356
+ return new __Action({
357
+ systemId: "conn_mod_def::GJ0CYHF4d_M::WDfDmxcZS8qeAjzgDnrkDg",
358
+ method: "GET",
359
+ path: "/files",
360
+ ...__routeInput(input, __listFilesRouting, { "headers": { "Accept": "application/json" } })
361
+ });
362
+ }
363
+ var __uploadFileNativeStorageRecordRouting = { "routes": [["file", "body"], ["object", "body"], ["parent_folder_id", "body"], ["record_id", "body"]], "requiredParts": ["body"] };
364
+ function uploadFileNativeStorageRecord(input) {
365
+ return new __Action({
366
+ systemId: "conn_mod_def::GJ0CYPLcZBA::ulgoA9VfSheb_4N1BWyWRA",
367
+ method: "POST",
368
+ path: "/files/upload",
369
+ ...__routeInput(input, __uploadFileNativeStorageRecordRouting, { "headers": { "Accept": "application/json", "Content-Type": "multipart/form-data" } })
370
+ });
371
+ }
372
+ var __createListRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
373
+ function createList(input) {
374
+ return new __Action({
375
+ systemId: "conn_mod_def::GJ0CYYiDmhs::gNYcxXMSQq6ius8TNcNHSw",
376
+ method: "POST",
377
+ path: "/lists",
378
+ ...__routeInput(input, __createListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
379
+ });
380
+ }
381
+ var __getListRouting = { "routes": [["list", "path"]], "requiredParts": ["path"] };
382
+ function getList(input) {
383
+ return new __Action({
384
+ systemId: "conn_mod_def::GJ0CYfZk_gc::KvPUVDx-TOS4LAlgsvZMwA",
385
+ method: "GET",
386
+ path: "/lists/{{list}}",
387
+ ...__routeInput(input, __getListRouting, { "headers": { "Accept": "application/json" } })
388
+ });
389
+ }
390
+ var __listAllListsRouting = { "routes": [], "requiredParts": [] };
391
+ function listAllLists(input) {
392
+ return new __Action({
393
+ systemId: "conn_mod_def::GJ0CYmcwC0A::7MiuzFMUR3av7TJohbrp5Q",
394
+ method: "GET",
395
+ path: "/lists",
396
+ ...__routeInput(input, __listAllListsRouting, { "headers": { "Accept": "application/json" } })
397
+ });
398
+ }
399
+ var __updateListRouting = { "routes": [["data", "body"], ["list", "path"]], "requiredParts": ["body", "path"] };
400
+ function updateList(input) {
401
+ return new __Action({
402
+ systemId: "conn_mod_def::GJ0CYtuWftw::SDz6uvKeSy600fzQIqg2UA",
403
+ method: "PATCH",
404
+ path: "/lists/{{list}}",
405
+ ...__routeInput(input, __updateListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
406
+ });
407
+ }
408
+ var __findOrCreateMeetingRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
409
+ function findOrCreateMeeting(input) {
410
+ return new __Action({
411
+ systemId: "conn_mod_def::GJ0CY1U0Bcs::HbgV70noShO0cV4QBB6YjQ",
412
+ method: "POST",
413
+ path: "/meetings",
414
+ ...__routeInput(input, __findOrCreateMeetingRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
415
+ });
416
+ }
417
+ var __getMeetingRouting = { "routes": [["meetingId", "path"]], "requiredParts": ["path"] };
418
+ function getMeeting(input) {
419
+ return new __Action({
420
+ systemId: "conn_mod_def::GJ0CY8oMSi4::6AwQiHC6SziwAncVYvYe4Q",
421
+ method: "GET",
422
+ path: "/meetings/{{meetingId}}",
423
+ ...__routeInput(input, __getMeetingRouting, { "headers": { "Accept": "application/json" } })
424
+ });
425
+ }
426
+ var __listMeetingsRouting = { "routes": [["cursor", "query"], ["ends_from", "query"], ["limit", "query"], ["linked_object", "query"], ["linked_record_id", "query"], ["participants", "query"], ["sort", "query"], ["starts_before", "query"], ["timezone", "query"]], "requiredParts": [] };
427
+ function listMeetings(input) {
428
+ return new __Action({
429
+ systemId: "conn_mod_def::GJ0CZHCvIqI::POV65vr0QGK2PACpJ8XnBg",
430
+ method: "GET",
431
+ path: "/meetings",
432
+ ...__routeInput(input, __listMeetingsRouting, { "headers": { "Accept": "application/json" } })
433
+ });
434
+ }
435
+ var __identifyCurrentAccessTokenRouting = { "routes": [], "requiredParts": [] };
436
+ function identifyCurrentAccessToken(input) {
437
+ return new __Action({
438
+ systemId: "conn_mod_def::GJ0CZOTdelY::ijjli5InQJ2KQO7Ai3xgag",
439
+ method: "GET",
440
+ path: "/self",
441
+ ...__routeInput(input, __identifyCurrentAccessTokenRouting, { "headers": { "Accept": "application/json" } })
442
+ });
443
+ }
444
+ var __createNoteRecordRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
445
+ function createNoteRecord(input) {
446
+ return new __Action({
447
+ systemId: "conn_mod_def::GJ0CZWRtEuU::n-NZ0VSqT3ym9zT9fBrefQ",
448
+ method: "POST",
449
+ path: "/notes",
450
+ ...__routeInput(input, __createNoteRecordRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
451
+ });
452
+ }
453
+ var __getNoteRouting = { "routes": [["noteId", "path"]], "requiredParts": ["path"] };
454
+ function getNote(input) {
455
+ return new __Action({
456
+ systemId: "conn_mod_def::GJ0CZl2OhLs::1hB8984ySXu3WAzyBuduDA",
457
+ method: "GET",
458
+ path: "/notes/{{noteId}}",
459
+ ...__routeInput(input, __getNoteRouting, { "headers": { "Accept": "application/json" } })
460
+ });
461
+ }
462
+ var __listNotesRouting = { "routes": [["limit", "query"], ["offset", "query"], ["parent_object", "query"], ["parent_record_id", "query"]], "requiredParts": [] };
463
+ function listNotes(input) {
464
+ return new __Action({
465
+ systemId: "conn_mod_def::GJ0CZucANAI::qH4Oc4NvS1GWLSVnKugSCA",
466
+ method: "GET",
467
+ path: "/notes",
468
+ ...__routeInput(input, __listNotesRouting, { "headers": { "Accept": "application/json" } })
469
+ });
470
+ }
471
+ var __createCustomObjectRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
472
+ function createCustomObject(input) {
473
+ return new __Action({
474
+ systemId: "conn_mod_def::GJ0CZ2Uf33s::S-6wTL1eRBeVUDWjGmyilg",
475
+ method: "POST",
476
+ path: "/objects",
477
+ ...__routeInput(input, __createCustomObjectRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
478
+ });
479
+ }
480
+ var __getObjectRouting = { "routes": [["object", "path"]], "requiredParts": ["path"] };
481
+ function getObject(input) {
482
+ return new __Action({
483
+ systemId: "conn_mod_def::GJ0CZ9rez8M::_mwIFyJHTbe_22XWujOK5Q",
484
+ method: "GET",
485
+ path: "/objects/{{object}}",
486
+ ...__routeInput(input, __getObjectRouting, { "headers": { "Accept": "application/json" } })
487
+ });
488
+ }
489
+ var __updateObjectRouting = { "routes": [["data", "body"], ["object", "path"]], "requiredParts": ["body", "path"] };
490
+ function updateObject(input) {
491
+ return new __Action({
492
+ systemId: "conn_mod_def::GJ0CaRKDWnk::b1bE7YF3Rwq50Y5z7Ui20w",
493
+ method: "PATCH",
494
+ path: "/objects/{{object}}",
495
+ ...__routeInput(input, __updateObjectRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
496
+ });
497
+ }
498
+ var __assertRecordObjectCreateOrUpdateRouting = { "routes": [["data", "body"], ["object", "path"], ["matching_attribute", "query"]], "requiredParts": ["body", "path", "query"] };
499
+ function assertRecordObjectCreateOrUpdate(input) {
500
+ return new __Action({
501
+ systemId: "conn_mod_def::GJ0CaZyhaFQ::Kzy79dY6TWW-84Z-BA-awA",
502
+ method: "PUT",
503
+ path: "/objects/{{object}}/records",
504
+ ...__routeInput(input, __assertRecordObjectCreateOrUpdateRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
505
+ });
506
+ }
507
+ var __createObjectRecordRouting = { "routes": [["data", "body"], ["object", "path"]], "requiredParts": ["body", "path"] };
508
+ function createObjectRecord(input) {
509
+ return new __Action({
510
+ systemId: "conn_mod_def::GJ0CahFJ0zI::VSvEcoUpT22yxI7nWZLGRA",
511
+ method: "POST",
512
+ path: "/objects/{{object}}/records",
513
+ ...__routeInput(input, __createObjectRecordRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
514
+ });
515
+ }
516
+ var __getObjectRecordRouting = { "routes": [["object", "path"], ["recordId", "path"]], "requiredParts": ["path"] };
517
+ function getObjectRecord(input) {
518
+ return new __Action({
519
+ systemId: "conn_mod_def::GJ0CayGpK8E::0SAa1y4xRoGbzwDsI7n13w",
520
+ method: "GET",
521
+ path: "/objects/{{object}}/records/{{recordId}}",
522
+ ...__routeInput(input, __getObjectRecordRouting, { "headers": { "Accept": "application/json" } })
523
+ });
524
+ }
525
+ var __listRecordsAttributeValuesRouting = { "routes": [["attribute", "path"], ["object", "path"], ["recordId", "path"], ["limit", "query"], ["offset", "query"], ["show_historic", "query"]], "requiredParts": ["path"] };
526
+ function listRecordsAttributeValues(input) {
527
+ return new __Action({
528
+ systemId: "conn_mod_def::GJ0Ca7WiCS8::xAY0ZlVzTkuWFZ-Ok6EHFQ",
529
+ method: "GET",
530
+ path: "/objects/{{object}}/records/{{recordId}}/attributes/{{attribute}}/values",
531
+ ...__routeInput(input, __listRecordsAttributeValuesRouting, { "headers": { "Accept": "application/json" } })
532
+ });
533
+ }
534
+ var __listObjectRecordsEntriesRouting = { "routes": [["object", "path"], ["recordId", "path"], ["limit", "query"], ["offset", "query"]], "requiredParts": ["path"] };
535
+ function listObjectRecordsEntries(input) {
536
+ return new __Action({
537
+ systemId: "conn_mod_def::GJ0CbEm7Hrc::YiAjt-XBStODuOqe1eDYGQ",
538
+ method: "GET",
539
+ path: "/objects/{{object}}/records/{{recordId}}/entries",
540
+ ...__routeInput(input, __listObjectRecordsEntriesRouting, { "headers": { "Accept": "application/json" } })
541
+ });
542
+ }
543
+ var __listObjectsRecordsRouting = { "routes": [["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"], ["object", "path"]], "requiredParts": ["body", "path"] };
544
+ function listObjectsRecords(input) {
545
+ return new __Action({
546
+ systemId: "conn_mod_def::GJ0CbN-LPiU::A6h6M9QkS0Cs2Lt9CdPH7Q",
547
+ method: "POST",
548
+ path: "/objects/{{object}}/records/query",
549
+ ...__routeInput(input, __listObjectsRecordsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
550
+ });
551
+ }
552
+ var __searchRecordsAcrossObjectsRouting = { "routes": [["limit", "body"], ["objects", "body"], ["query", "body"], ["request_as", "body"]], "requiredParts": ["body"] };
553
+ function searchRecordsAcrossObjects(input) {
554
+ return new __Action({
555
+ systemId: "conn_mod_def::GJ0CbY6VDMk::bN2lStzmS0admyNa4K83hg",
556
+ method: "POST",
557
+ path: "/objects/records/search",
558
+ ...__routeInput(input, __searchRecordsAcrossObjectsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
559
+ });
560
+ }
561
+ var __updateRecordsMultiselectValuesAppendRouting = { "routes": [["data", "body"], ["object", "path"], ["recordId", "path"]], "requiredParts": ["body", "path"] };
562
+ function updateRecordsMultiselectValuesAppend(input) {
563
+ return new __Action({
564
+ systemId: "conn_mod_def::GJ0CbhNKEKY::69XucpCJReeZkxCh4RVaBw",
565
+ method: "PATCH",
566
+ path: "/objects/{{object}}/records/{{recordId}}",
567
+ ...__routeInput(input, __updateRecordsMultiselectValuesAppendRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
568
+ });
569
+ }
570
+ var __updateObjectRecordOverwriteMultiselectValuesRouting = { "routes": [["data", "body"], ["object", "path"], ["recordId", "path"]], "requiredParts": ["body", "path"] };
571
+ function updateObjectRecordOverwriteMultiselectValues(input) {
572
+ return new __Action({
573
+ systemId: "conn_mod_def::GJ0Cbp-eKbs::w_3vw3l8TgCzNXLWIyj7dw",
574
+ method: "PUT",
575
+ path: "/objects/{{object}}/records/{{recordId}}",
576
+ ...__routeInput(input, __updateObjectRecordOverwriteMultiselectValuesRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
577
+ });
578
+ }
579
+ var __listScimGroupsRouting = { "routes": [], "requiredParts": [] };
580
+ function listScimGroups(input) {
581
+ return new __Action({
582
+ systemId: "conn_mod_def::GJ0Cb6NpSmI::qiGXyeg1QmKAyvI_XRdD9g",
583
+ method: "GET",
584
+ path: "/scim/v2/Groups",
585
+ ...__routeInput(input, __listScimGroupsRouting, { "headers": { "Accept": "application/json" } })
586
+ });
587
+ }
588
+ var __listScimSchemasRouting = { "routes": [], "requiredParts": [] };
589
+ function listScimSchemas(input) {
590
+ return new __Action({
591
+ systemId: "conn_mod_def::GJ0CcC5j894::JHti3uClTb2mihuI4Wt-Eg",
592
+ method: "GET",
593
+ path: "/scim/v2/Schemas",
594
+ ...__routeInput(input, __listScimSchemasRouting, { "headers": { "Accept": "application/json" } })
595
+ });
596
+ }
597
+ var __createScimUserRouting = { "routes": [["active", "body"], ["emails", "body"], ["name", "body"], ["roles", "body"], ["schemas", "body"], ["userName", "body"]], "requiredParts": ["body"] };
598
+ function createScimUser(input) {
599
+ return new __Action({
600
+ systemId: "conn_mod_def::GJ0CcMhsqhM::bvTj8PacRY2Ily6-sEkljA",
601
+ method: "POST",
602
+ path: "/scim/v2/Users",
603
+ ...__routeInput(input, __createScimUserRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
604
+ });
605
+ }
606
+ var __createTaskRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
607
+ function createTask(input) {
608
+ return new __Action({
609
+ systemId: "conn_mod_def::GJ0CchbSRbc::m93snD2gRyC3NxGNhTSPEA",
610
+ method: "POST",
611
+ path: "/tasks",
612
+ ...__routeInput(input, __createTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
613
+ });
614
+ }
615
+ var __deleteTaskRouting = { "routes": [["taskId", "path"]], "requiredParts": ["path"] };
616
+ function deleteTask(input) {
617
+ return new __Action({
618
+ systemId: "conn_mod_def::GJ0Ccos4Lhc::h1loPlDFQFqNcOwJ9eM_zA",
619
+ method: "DELETE",
620
+ path: "/tasks/{{taskId}}",
621
+ ...__routeInput(input, __deleteTaskRouting, { "headers": { "Accept": "application/json" } })
622
+ });
623
+ }
624
+ var __getTaskRouting = { "routes": [["taskId", "path"]], "requiredParts": ["path"] };
625
+ function getTask(input) {
626
+ return new __Action({
627
+ systemId: "conn_mod_def::GJ0Ccwl-bVQ::z0HIE39FQISFuP_-mTSsgw",
628
+ method: "GET",
629
+ path: "/tasks/{{taskId}}",
630
+ ...__routeInput(input, __getTaskRouting, { "headers": { "Accept": "application/json" } })
631
+ });
632
+ }
633
+ var __listTasksRouting = { "routes": [["assignee", "query"], ["is_completed", "query"], ["limit", "query"], ["linked_object", "query"], ["linked_record_id", "query"], ["offset", "query"], ["sort", "query"]], "requiredParts": [] };
634
+ function listTasks(input) {
635
+ return new __Action({
636
+ systemId: "conn_mod_def::GJ0Cc6iLULw::1YxzDwT8TTiXbrIUP0V-HQ",
637
+ method: "GET",
638
+ path: "/tasks",
639
+ ...__routeInput(input, __listTasksRouting, { "headers": { "Accept": "application/json" } })
640
+ });
641
+ }
642
+ var __updateTaskRouting = { "routes": [["data", "body"], ["taskId", "path"]], "requiredParts": ["body", "path"] };
643
+ function updateTask(input) {
644
+ return new __Action({
645
+ systemId: "conn_mod_def::GJ0CdCS2_-M::aWIni2uxRwS4HeYJPqGtdg",
646
+ method: "PATCH",
647
+ path: "/tasks/{{taskId}}",
648
+ ...__routeInput(input, __updateTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
649
+ });
650
+ }
651
+ var __getThreadsCommentsRouting = { "routes": [["threadId", "path"]], "requiredParts": ["path"] };
652
+ function getThreadsComments(input) {
653
+ return new __Action({
654
+ systemId: "conn_mod_def::GJ0CdJ8n9xY::CiQ0m04EQwuYOT8fwNd0wA",
655
+ method: "GET",
656
+ path: "/threads/{{threadId}}",
657
+ ...__routeInput(input, __getThreadsCommentsRouting, { "headers": { "Accept": "application/json" } })
658
+ });
659
+ }
660
+ var __listThreadsRouting = { "routes": [["entry_id", "query"], ["limit", "query"], ["list", "query"], ["object", "query"], ["offset", "query"], ["record_id", "query"]], "requiredParts": [] };
661
+ function listThreads(input) {
662
+ return new __Action({
663
+ systemId: "conn_mod_def::GJ0CdThcgj4::ZDUkmhrtRM6UhblrDRIluQ",
664
+ method: "GET",
665
+ path: "/threads",
666
+ ...__routeInput(input, __listThreadsRouting, { "headers": { "Accept": "application/json" } })
667
+ });
668
+ }
669
+ var __getCallRecordingTranscriptMeetingRouting = { "routes": [["callRecordingId", "path"], ["meetingId", "path"], ["cursor", "query"]], "requiredParts": ["path"] };
670
+ function getCallRecordingTranscriptMeeting(input) {
671
+ return new __Action({
672
+ systemId: "conn_mod_def::GJ0CdcdXlyg::oQVMzPVIQmCz9FxsfeGHRw",
673
+ method: "GET",
674
+ path: "/meetings/{{meetingId}}/call_recordings/{{callRecordingId}}/transcript",
675
+ ...__routeInput(input, __getCallRecordingTranscriptMeetingRouting, { "headers": { "Accept": "application/json" } })
676
+ });
677
+ }
678
+ var __createWebhookRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
679
+ function createWebhook(input) {
680
+ return new __Action({
681
+ systemId: "conn_mod_def::GJ0Cdk9L2Nw::9CUiFWthR8-A5quAzRTOfQ",
682
+ method: "POST",
683
+ path: "/webhooks",
684
+ ...__routeInput(input, __createWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
685
+ });
686
+ }
687
+ var __deleteWebhookRouting = { "routes": [["webhookId", "path"]], "requiredParts": ["path"] };
688
+ function deleteWebhook(input) {
689
+ return new __Action({
690
+ systemId: "conn_mod_def::GJ0Cdr37Ca4::snnTwjQPTXi2sM9FqOLkKA",
691
+ method: "DELETE",
692
+ path: "/webhooks/{{webhookId}}",
693
+ ...__routeInput(input, __deleteWebhookRouting, { "headers": { "Accept": "application/json" } })
694
+ });
695
+ }
696
+ var __getWebhookRouting = { "routes": [["webhookId", "path"]], "requiredParts": ["path"] };
697
+ function getWebhook(input) {
698
+ return new __Action({
699
+ systemId: "conn_mod_def::GJ0Cdz0QZgw::6LAJTM17RdipzSM2SRguRg",
700
+ method: "GET",
701
+ path: "/webhooks/{{webhookId}}",
702
+ ...__routeInput(input, __getWebhookRouting, { "headers": { "Accept": "application/json" } })
703
+ });
704
+ }
705
+ var __listWebhooksRouting = { "routes": [["limit", "query"], ["offset", "query"]], "requiredParts": [] };
706
+ function listWebhooks(input) {
707
+ return new __Action({
708
+ systemId: "conn_mod_def::GJ0Cd7jQXts::5ILaVeWCSqOjTJbMlwJteQ",
709
+ method: "GET",
710
+ path: "/webhooks",
711
+ ...__routeInput(input, __listWebhooksRouting, { "headers": { "Accept": "application/json" } })
712
+ });
713
+ }
714
+ var __getWorkspaceMemberRouting = { "routes": [["workspaceMemberId", "path"]], "requiredParts": ["path"] };
715
+ function getWorkspaceMember(input) {
716
+ return new __Action({
717
+ systemId: "conn_mod_def::GJ0CeKS2AmU::Lzi4SzmJT3WUKRezJ261Fw",
718
+ method: "GET",
719
+ path: "/workspace_members/{{workspaceMemberId}}",
720
+ ...__routeInput(input, __getWorkspaceMemberRouting, { "headers": { "Accept": "application/json" } })
721
+ });
722
+ }
723
+ var __updateWebhookRouting = { "routes": [["data", "body"], ["webhookId", "path"]], "requiredParts": ["body", "path"] };
724
+ function updateWebhook(input) {
725
+ return new __Action({
726
+ systemId: "conn_mod_def::GJ0CeC7bwY0::1amUwsjRQmyUZdzWh75Oig",
727
+ method: "PATCH",
728
+ path: "/webhooks/{{webhookId}}",
729
+ ...__routeInput(input, __updateWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
730
+ });
731
+ }
732
+ var __listWorkspaceMembersRouting = { "routes": [], "requiredParts": [] };
733
+ function listWorkspaceMembers(input) {
734
+ return new __Action({
735
+ systemId: "conn_mod_def::GJ0CeRLXLe8::d1YyTzCzSAaXwneizHNzhg",
736
+ method: "GET",
737
+ path: "/workspace_members",
738
+ ...__routeInput(input, __listWorkspaceMembersRouting, { "headers": { "Accept": "application/json" } })
739
+ });
740
+ }
741
+ var __listScimUsersRouting = { "routes": [], "requiredParts": [] };
742
+ function listScimUsers(input) {
743
+ return new __Action({
744
+ systemId: "conn_mod_def::GJ0CpwVLdn0::Y9ZYlpzAR-aYs6SkybLbeQ",
745
+ method: "GET",
746
+ path: "/scim/v2/Users",
747
+ ...__routeInput(input, __listScimUsersRouting, { "headers": { "Accept": "application/json" } })
748
+ });
749
+ }
750
+ var __listObjectsRouting = { "routes": [], "requiredParts": [] };
751
+ function listObjects(input) {
752
+ return new __Action({
753
+ systemId: "conn_mod_def::GJ0CvYRgQDo::Qep--LtdQQmGlt1esKUBCw",
754
+ method: "GET",
755
+ path: "/objects",
756
+ ...__routeInput(input, __listObjectsRouting, { "headers": { "Accept": "application/json" } })
757
+ });
758
+ }
759
+ var __deleteNoteRouting = { "routes": [["noteId", "path"]], "requiredParts": ["path"] };
760
+ function deleteNote(input) {
761
+ return new __Action({
762
+ systemId: "conn_mod_def::GJ0CZd8ULi0::f27pc7gaQVOO6bnhDmiCdA",
763
+ method: "DELETE",
764
+ path: "/notes/{{noteId}}",
765
+ ...__routeInput(input, __deleteNoteRouting, { "headers": { "Accept": "application/json" } })
766
+ });
767
+ }
768
+ var __deleteObjectRecordRouting = { "routes": [["object", "path"], ["recordId", "path"]], "requiredParts": ["path"] };
769
+ function deleteObjectRecord(input) {
770
+ return new __Action({
771
+ systemId: "conn_mod_def::GJ0Cap_UXYI::XOxr6EvlR6eZuG69z3RjOg",
772
+ method: "DELETE",
773
+ path: "/objects/{{object}}/records/{{recordId}}",
774
+ ...__routeInput(input, __deleteObjectRecordRouting, { "headers": { "Accept": "application/json" } })
775
+ });
776
+ }
777
+ var __createScimGroupRouting = { "routes": [["displayName", "body"], ["members", "body"], ["schemas", "body"]], "requiredParts": ["body"] };
778
+ function createScimGroup(input) {
779
+ return new __Action({
780
+ systemId: "conn_mod_def::GJ0CbyFsryQ::JgVxuLH_TYO-A5mXxcTTLA",
781
+ method: "POST",
782
+ path: "/scim/v2/Groups",
783
+ ...__routeInput(input, __createScimGroupRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
784
+ });
785
+ }
786
+ var __getViewRecordsAnyObjectRouting = { "routes": [["connectionKey", "body"], ["filter", "body"], ["limit", "body"], ["object", "body"], ["offset", "body"], ["sorts", "body"]], "requiredParts": ["body"] };
787
+ function getViewRecordsAnyObject(input) {
788
+ return new __Action({
789
+ systemId: "conn_mod_def::GNV60l9OE9U::T-1_eOcNSUq9RwkRJJpbGg",
790
+ method: "POST",
791
+ path: "/v1/attio/get-records",
792
+ ...__routeInput(input, __getViewRecordsAnyObjectRouting, { "headers": { "Content-Type": "application/json" } })
793
+ });
794
+ }
795
+ var __getRecordAnyObjectRouting = { "routes": [["connectionKey", "body"], ["object", "body"], ["recordId", "body"]], "requiredParts": ["body"] };
796
+ function getRecordAnyObject(input) {
797
+ return new __Action({
798
+ systemId: "conn_mod_def::GNV607WcIi4::KA3za-UPTKqfA8voq3oYiA",
799
+ method: "POST",
800
+ path: "/v1/attio/get-record",
801
+ ...__routeInput(input, __getRecordAnyObjectRouting, { "headers": { "Content-Type": "application/json" } })
802
+ });
803
+ }
804
+ var __listActivitiesRouting = { "routes": [["cursor", "query"], ["limit", "query"]], "requiredParts": [] };
805
+ function listActivities(input) {
806
+ return new __Action({
807
+ systemId: "conn_mod_def::GOUetnRo68g::P-oHFO0YQhyAvalQLxVg1A",
808
+ method: "GET",
809
+ path: "/v2/activities",
810
+ ...__routeInput(input, __listActivitiesRouting)
811
+ });
812
+ }
813
+ var __mergeTwoRecordsObjectRouting = { "routes": [["data", "body"], ["object", "path"]], "requiredParts": ["body", "path"] };
814
+ function mergeTwoRecordsObject(input) {
815
+ return new __Action({
816
+ systemId: "conn_mod_def::GOUeuL-8RIg::8_TPCgS8RAGdy2S9-s7y8w",
817
+ method: "POST",
818
+ path: "/v2/objects/{{object}}/records/merge",
819
+ ...__routeInput(input, __mergeTwoRecordsObjectRouting, { "headers": { "Content-Type": "application/json" } })
820
+ });
821
+ }
822
+ var __appendLinkedRecordsMeetingRouting = { "routes": [["data", "body"], ["meetingId", "path"]], "requiredParts": ["body", "path"] };
823
+ function appendLinkedRecordsMeeting(input) {
824
+ return new __Action({
825
+ systemId: "conn_mod_def::GOUeuDlRcKg::VbGz748wQAKD8FLIFlDxfA",
826
+ method: "PATCH",
827
+ path: "/v2/meetings/{{meetingId}}",
828
+ ...__routeInput(input, __appendLinkedRecordsMeetingRouting, { "headers": { "Content-Type": "application/json" } })
829
+ });
830
+ }
831
+ var __updateActivityRouting = { "routes": [["data", "body"], ["activity", "path"]], "requiredParts": ["body", "path"] };
832
+ function updateActivity(input) {
833
+ return new __Action({
834
+ systemId: "conn_mod_def::GOUetkEYbmA::gzGp7oicSV2reiL-jCaWaA",
835
+ method: "PATCH",
836
+ path: "/v2/activities/{{activity}}",
837
+ ...__routeInput(input, __updateActivityRouting, { "headers": { "Content-Type": "application/json" } })
838
+ });
839
+ }
840
+ var __deleteObjectRouting = { "routes": [["object", "path"]], "requiredParts": ["path"] };
841
+ function deleteObject(input) {
842
+ return new __Action({
843
+ systemId: "conn_mod_def::GOUeuEQSTwg::sHQ8U2MYQduE7Im2Ng4Lgg",
844
+ method: "DELETE",
845
+ path: "/v2/objects/{{object}}",
846
+ ...__routeInput(input, __deleteObjectRouting)
847
+ });
848
+ }
849
+ var __getActivityRecordRouting = { "routes": [["activity", "path"], ["recordId", "path"]], "requiredParts": ["path"] };
850
+ function getActivityRecord(input) {
851
+ return new __Action({
852
+ systemId: "conn_mod_def::GOUetuunA3g::M2hSEpQtTxWoMlNLWvykfw",
853
+ method: "GET",
854
+ path: "/v2/activities/{{activity}}/records/{{recordId}}",
855
+ ...__routeInput(input, __getActivityRecordRouting)
856
+ });
857
+ }
858
+ var __listViewsListRouting = { "routes": [["list", "path"], ["cursor", "query"], ["limit", "query"], ["show_archived", "query"]], "requiredParts": ["path"] };
859
+ function listViewsList(input) {
860
+ return new __Action({
861
+ systemId: "conn_mod_def::GOUet6V8TTA::wV3W68z6T_O5KcalVA-2qA",
862
+ method: "GET",
863
+ path: "/v2/lists/{{list}}/views",
864
+ ...__routeInput(input, __listViewsListRouting)
865
+ });
866
+ }
867
+ var __upsertActivityRecordRouting = { "routes": [["data", "body"], ["activity", "path"], ["matching_attribute", "query"]], "requiredParts": ["body", "path", "query"] };
868
+ function upsertActivityRecord(input) {
869
+ return new __Action({
870
+ systemId: "conn_mod_def::GOUet8GJYKg::V0Mi8cGcRc64O1746SZ5Gg",
871
+ method: "PUT",
872
+ path: "/v2/activities/{{activity}}/records",
873
+ ...__routeInput(input, __upsertActivityRecordRouting, { "headers": { "Content-Type": "application/json" } })
874
+ });
875
+ }
876
+ var __createCustomActivityRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
877
+ function createCustomActivity(input) {
878
+ return new __Action({
879
+ systemId: "conn_mod_def::GOUetlGafXg::yExSPIH8RL6bnBbmvKjI0w",
880
+ method: "POST",
881
+ path: "/v2/activities",
882
+ ...__routeInput(input, __createCustomActivityRouting, { "headers": { "Content-Type": "application/json" } })
883
+ });
884
+ }
885
+ var __updateActivityRecordOverwriteMultiselectValuesRouting = { "routes": [["data", "body"], ["activity", "path"], ["recordId", "path"]], "requiredParts": ["body", "path"] };
886
+ function updateActivityRecordOverwriteMultiselectValues(input) {
887
+ return new __Action({
888
+ systemId: "conn_mod_def::GOUet6vVTTA::XxnehscdQD2xn4KpEjE1nw",
889
+ method: "PUT",
890
+ path: "/v2/activities/{{activity}}/records/{{recordId}}",
891
+ ...__routeInput(input, __updateActivityRecordOverwriteMultiselectValuesRouting, { "headers": { "Content-Type": "application/json" } })
892
+ });
893
+ }
894
+ var __deleteWorkspaceBlocklistAddressRouting = { "routes": [["address", "path"]], "requiredParts": ["path"] };
895
+ function deleteWorkspaceBlocklistAddress(input) {
896
+ return new __Action({
897
+ systemId: "conn_mod_def::GOUeuT7TcHA::bwSCFDlWSSKMZ22RjFUVhg",
898
+ method: "DELETE",
899
+ path: "/v2/workspace_blocklist_addresses/{{address}}",
900
+ ...__routeInput(input, __deleteWorkspaceBlocklistAddressRouting)
901
+ });
902
+ }
903
+ var __addEmailsSequenceUnsubscribeListRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
904
+ function addEmailsSequenceUnsubscribeList(input) {
905
+ return new __Action({
906
+ systemId: "conn_mod_def::GOUeuM3m1uA::RjJGD9ShRtyPUBByF_R9yA",
907
+ method: "POST",
908
+ path: "/v2/sequences/unsubscribed_emails",
909
+ ...__routeInput(input, __addEmailsSequenceUnsubscribeListRouting, { "headers": { "Content-Type": "application/json" } })
910
+ });
911
+ }
912
+ var __querySqlRouting = { "routes": [["parameters", "body"], ["sql", "body"]], "requiredParts": ["body"] };
913
+ function querySql(input) {
914
+ return new __Action({
915
+ systemId: "conn_mod_def::GOUeuLf94Fg::JZGjDJUgTN-DUXUS0HcY2g",
916
+ method: "POST",
917
+ path: "/v2/sql",
918
+ ...__routeInput(input, __querySqlRouting, { "headers": { "Content-Type": "application/json" } })
919
+ });
920
+ }
921
+ var __addOrUpdateWorkspaceBlocklistAddressesRouting = { "routes": [["data", "body"]], "requiredParts": ["body"] };
922
+ function addOrUpdateWorkspaceBlocklistAddresses(input) {
923
+ return new __Action({
924
+ systemId: "conn_mod_def::GOUeuUmjYjA::_LbjnDHIQdiw1lrpV7YvpA",
925
+ method: "PUT",
926
+ path: "/v2/workspace_blocklist_addresses",
927
+ ...__routeInput(input, __addOrUpdateWorkspaceBlocklistAddressesRouting, { "headers": { "Content-Type": "application/json" } })
928
+ });
929
+ }
930
+ var __updateMeetingsLinkedRecordsRouting = { "routes": [["data", "body"], ["meetingId", "path"]], "requiredParts": ["body", "path"] };
931
+ function updateMeetingsLinkedRecords(input) {
932
+ return new __Action({
933
+ systemId: "conn_mod_def::GOUeuEeFD2g::OniGYSFoSKe_pzzeOWv8kA",
934
+ method: "PUT",
935
+ path: "/v2/meetings/{{meetingId}}",
936
+ ...__routeInput(input, __updateMeetingsLinkedRecordsRouting, { "headers": { "Content-Type": "application/json" } })
937
+ });
938
+ }
939
+ var __replaceRecordAttributesValueHistoryRouting = { "routes": [["data", "body"], ["attribute", "path"], ["object", "path"], ["recordId", "path"]], "requiredParts": ["body", "path"] };
940
+ function replaceRecordAttributesValueHistory(input) {
941
+ return new __Action({
942
+ systemId: "conn_mod_def::GOUeuMo1Bfg::of-4bjl6QpCVThR4kac3PA",
943
+ method: "PUT",
944
+ path: "/v2/objects/{{object}}/records/{{recordId}}/attributes/{{attribute}}/values",
945
+ ...__routeInput(input, __replaceRecordAttributesValueHistoryRouting, { "headers": { "Content-Type": "application/json" } })
946
+ });
947
+ }
948
+ var __getActivityRouting = { "routes": [["activity", "path"]], "requiredParts": ["path"] };
949
+ function getActivity(input) {
950
+ return new __Action({
951
+ systemId: "conn_mod_def::GOUetmiKGkg::aEUycUBcS9C1-ztOwLAwtQ",
952
+ method: "GET",
953
+ path: "/v2/activities/{{activity}}",
954
+ ...__routeInput(input, __getActivityRouting)
955
+ });
956
+ }
957
+ var __deleteMeetingRouting = { "routes": [["meetingId", "path"]], "requiredParts": ["path"] };
958
+ function deleteMeeting(input) {
959
+ return new __Action({
960
+ systemId: "conn_mod_def::GOUeuC-PUSA::mQH9IggQRd-rOv3P5PkAOQ",
961
+ method: "DELETE",
962
+ path: "/v2/meetings/{{meetingId}}",
963
+ ...__routeInput(input, __deleteMeetingRouting)
964
+ });
965
+ }
966
+ var __listViewsObjectRouting = { "routes": [["object", "path"], ["cursor", "query"], ["limit", "query"], ["show_archived", "query"]], "requiredParts": ["path"] };
967
+ function listViewsObject(input) {
968
+ return new __Action({
969
+ systemId: "conn_mod_def::GOUeuMYStEg::KKQfhKa6RgKkdv3usd-Dqg",
970
+ method: "GET",
971
+ path: "/v2/objects/{{object}}/views",
972
+ ...__routeInput(input, __listViewsObjectRouting)
973
+ });
974
+ }
975
+ var __listEmailsRouting = { "routes": [["cursor", "query"], ["domain", "query"], ["exclude_automated_participants", "query"], ["limit", "query"], ["linked_object", "query"], ["linked_record_ids", "query"], ["participants", "query"], ["sent_after", "query"], ["sent_before", "query"]], "requiredParts": [] };
976
+ function listEmails(input) {
977
+ return new __Action({
978
+ systemId: "conn_mod_def::GOUet7BR6Cg::Tcxt6DtASPK5pUpjoVHK2g",
979
+ method: "GET",
980
+ path: "/v2/emails",
981
+ ...__routeInput(input, __listEmailsRouting)
982
+ });
983
+ }
984
+ var __createActivityRecordRouting = { "routes": [["data", "body"], ["activity", "path"]], "requiredParts": ["body", "path"] };
985
+ function createActivityRecord(input) {
986
+ return new __Action({
987
+ systemId: "conn_mod_def::GOUetuVEzBg::iV6Nn2LwS7K_-7CohtA4rg",
988
+ method: "POST",
989
+ path: "/v2/activities/{{activity}}/records",
990
+ ...__routeInput(input, __createActivityRecordRouting, { "headers": { "Content-Type": "application/json" } })
991
+ });
992
+ }
993
+ var __deleteActivityRouting = { "routes": [["activity", "path"]], "requiredParts": ["path"] };
994
+ function deleteActivity(input) {
995
+ return new __Action({
996
+ systemId: "conn_mod_def::GOUetkEu8Bg::mwjH_8rlTZW4cpmuDbmkRg",
997
+ method: "DELETE",
998
+ path: "/v2/activities/{{activity}}",
999
+ ...__routeInput(input, __deleteActivityRouting)
1000
+ });
1001
+ }
1002
+ var __listActivityRecordsActivityRouting = { "routes": [["filter", "body"], ["limit", "body"], ["offset", "body"], ["sorts", "body"], ["activity", "path"]], "requiredParts": ["body", "path"] };
1003
+ function listActivityRecordsActivity(input) {
1004
+ return new __Action({
1005
+ systemId: "conn_mod_def::GOUetuiobWA::4dETSTcQQTiVNo0R9BOOGQ",
1006
+ method: "POST",
1007
+ path: "/v2/activities/{{activity}}/records/query",
1008
+ ...__routeInput(input, __listActivityRecordsActivityRouting, { "headers": { "Content-Type": "application/json" } })
1009
+ });
1010
+ }
1011
+ var __deleteActivityRecordRouting = { "routes": [["activity", "path"], ["recordId", "path"]], "requiredParts": ["path"] };
1012
+ function deleteActivityRecord(input) {
1013
+ return new __Action({
1014
+ systemId: "conn_mod_def::GOUetujhing::iL9jHQevRj-W3tNW6gYpqg",
1015
+ method: "DELETE",
1016
+ path: "/v2/activities/{{activity}}/records/{{recordId}}",
1017
+ ...__routeInput(input, __deleteActivityRecordRouting)
1018
+ });
1019
+ }
1020
+ var __updateActivityRecordAppendMultiselectValuesRouting = { "routes": [["data", "body"], ["activity", "path"], ["recordId", "path"]], "requiredParts": ["body", "path"] };
1021
+ function updateActivityRecordAppendMultiselectValues(input) {
1022
+ return new __Action({
1023
+ systemId: "conn_mod_def::GOUetxgqGBg::yyMXOBl1QnyxgCWanZAGjQ",
1024
+ method: "PATCH",
1025
+ path: "/v2/activities/{{activity}}/records/{{recordId}}",
1026
+ ...__routeInput(input, __updateActivityRecordAppendMultiselectValuesRouting, { "headers": { "Content-Type": "application/json" } })
1027
+ });
1028
+ }
1029
+ var __updateNoteRouting = { "routes": [["data", "body"], ["noteId", "path"]], "requiredParts": ["body", "path"] };
1030
+ function updateNote(input) {
1031
+ return new __Action({
1032
+ systemId: "conn_mod_def::GOUeuDHsiqA::iPtB61NCS3WRtm2QdvsBQA",
1033
+ method: "PATCH",
1034
+ path: "/v2/notes/{{noteId}}",
1035
+ ...__routeInput(input, __updateNoteRouting, { "headers": { "Content-Type": "application/json" } })
1036
+ });
1037
+ }
1038
+ var __writeListEntryAttributesValueHistoryRouting = { "routes": [["data", "body"], ["attribute", "path"], ["entryId", "path"], ["list", "path"]], "requiredParts": ["body", "path"] };
1039
+ function writeListEntryAttributesValueHistory(input) {
1040
+ return new __Action({
1041
+ systemId: "conn_mod_def::GOUet6VxNVg::Bl_m-ZZNTsOorQbqFrNrhQ",
1042
+ method: "PUT",
1043
+ path: "/v2/lists/{{list}}/entries/{{entryId}}/attributes/{{attribute}}/values",
1044
+ ...__routeInput(input, __writeListEntryAttributesValueHistoryRouting, { "headers": { "Content-Type": "application/json" } })
1045
+ });
1046
+ }
1047
+ export {
1048
+ addEmailsSequenceUnsubscribeList,
1049
+ addOrUpdateWorkspaceBlocklistAddresses,
1050
+ appendLinkedRecordsMeeting,
1051
+ appendMultiselectValuesListEntry,
1052
+ assertListEntryParentCreateOrUpdate,
1053
+ assertRecordObjectCreateOrUpdate,
1054
+ createActivityRecord,
1055
+ createAttributeObjectOrList,
1056
+ createComment,
1057
+ createCustomActivity,
1058
+ createCustomObject,
1059
+ createFileEntryObjectRecordFolderOrConnectedFileFolderBeta,
1060
+ createList,
1061
+ createListEntryAddRecordList,
1062
+ createMeetingCallRecording,
1063
+ createNoteRecord,
1064
+ createObjectRecord,
1065
+ createScimGroup,
1066
+ createScimUser,
1067
+ createSelectOptionObjectOrListAttribute,
1068
+ createStatusStatusAttributeObjectOrList,
1069
+ createTask,
1070
+ createWebhook,
1071
+ deleteActivity,
1072
+ deleteActivityRecord,
1073
+ deleteComment,
1074
+ deleteFile,
1075
+ deleteListEntry,
1076
+ deleteMeeting,
1077
+ deleteMeetingsCallRecording,
1078
+ deleteNote,
1079
+ deleteObject,
1080
+ deleteObjectRecord,
1081
+ deleteTask,
1082
+ deleteWebhook,
1083
+ deleteWorkspaceBlocklistAddress,
1084
+ downloadFile,
1085
+ findOrCreateMeeting,
1086
+ getActivity,
1087
+ getActivityRecord,
1088
+ getCallRecordingTranscriptMeeting,
1089
+ getComment,
1090
+ getCompaniesFromList,
1091
+ getDealsFromList,
1092
+ getEntriesFromLists,
1093
+ getFile,
1094
+ getList,
1095
+ getListEntry,
1096
+ getMeeting,
1097
+ getMeetingsCallRecording,
1098
+ getNote,
1099
+ getObject,
1100
+ getObjectOrListAttribute,
1101
+ getObjectRecord,
1102
+ getPeopleFromList,
1103
+ getRecordAnyObject,
1104
+ getTask,
1105
+ getThreadsComments,
1106
+ getUsersFromList,
1107
+ getViewCompanies,
1108
+ getViewDeals,
1109
+ getViewPeople,
1110
+ getViewRecordsAnyObject,
1111
+ getViewUsers,
1112
+ getWebhook,
1113
+ getWorkspaceMember,
1114
+ getWorkspacesFromList,
1115
+ identifyCurrentAccessToken,
1116
+ listActivities,
1117
+ listActivityRecordsActivity,
1118
+ listAllLists,
1119
+ listAttributeValuesListEntry,
1120
+ listAttributesObjectOrList,
1121
+ listEmails,
1122
+ listEntriesListQuery,
1123
+ listFiles,
1124
+ listMeetings,
1125
+ listMeetingsCallRecordingsBeta,
1126
+ listNotes,
1127
+ listObjectRecordsEntries,
1128
+ listObjects,
1129
+ listObjectsRecords,
1130
+ listRecordsAttributeValues,
1131
+ listScimGroups,
1132
+ listScimSchemas,
1133
+ listScimUsers,
1134
+ listSelectOptionsObjectOrListAttribute,
1135
+ listStatusesStatusAttributeObjectOrList,
1136
+ listTasks,
1137
+ listThreads,
1138
+ listViewsList,
1139
+ listViewsObject,
1140
+ listWebhooks,
1141
+ listWorkspaceMembers,
1142
+ mergeTwoRecordsObject,
1143
+ querySql,
1144
+ replaceRecordAttributesValueHistory,
1145
+ searchRecordsAcrossObjects,
1146
+ updateActivity,
1147
+ updateActivityRecordAppendMultiselectValues,
1148
+ updateActivityRecordOverwriteMultiselectValues,
1149
+ updateList,
1150
+ updateListEntryOverwriteMultiselectValues,
1151
+ updateMeetingsLinkedRecords,
1152
+ updateNote,
1153
+ updateObject,
1154
+ updateObjectOrListAttribute,
1155
+ updateObjectRecordOverwriteMultiselectValues,
1156
+ updateRecordsMultiselectValuesAppend,
1157
+ updateSelectOptionObjectOrListAttribute,
1158
+ updateStatusObjectOrListAttribute,
1159
+ updateTask,
1160
+ updateWebhook,
1161
+ uploadFileNativeStorageRecord,
1162
+ upsertActivityRecord,
1163
+ writeListEntryAttributesValueHistory
1164
+ };