From 889ced366e6520804e453d47a8be9db0522dd07b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 13 Jun 2026 01:07:12 +0000 Subject: [PATCH 1/2] =?UTF-8?q?##=20Typescript=20SDK=20Changes:=20*=20`att?= =?UTF-8?q?io.scimSchemas.list()`:=20**Removed**=20(Breaking=20=E2=9A=A0?= =?UTF-8?q?=EF=B8=8F)=20*=20`attio.scimUsers.list()`:=20**Removed**=20(Bre?= =?UTF-8?q?aking=20=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimUsers.create()`:?= =?UTF-8?q?=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`attio.s?= =?UTF-8?q?cimUsers.get()`:=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F?= =?UTF-8?q?)=20*=20`attio.scimUsers.patch()`:=20**Removed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimUsers.update()`:=20**Remov?= =?UTF-8?q?ed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimUsers.d?= =?UTF-8?q?elete()`:=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*?= =?UTF-8?q?=20`attio.scimGroups.list()`:=20**Removed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimGroups.create()`:=20**Remo?= =?UTF-8?q?ved**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimGroups?= =?UTF-8?q?.get()`:=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20?= =?UTF-8?q?`attio.scimGroups.patch()`:=20**Removed**=20(Breaking=20?= =?UTF-8?q?=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimGroups.update()`:=20**Remo?= =?UTF-8?q?ved**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*=20`attio.scimGroups?= =?UTF-8?q?.delete()`:=20**Removed**=20(Breaking=20=E2=9A=A0=EF=B8=8F)=20*?= =?UTF-8?q?=20`attio.attributes.listAll()`:=20=20`response.data[]`=20**Cha?= =?UTF-8?q?nged**=20*=20`attio.attributes.createNew()`:=20=20=20*=20=20`re?= =?UTF-8?q?quest.body.data.config.currency.defaultCurrencyCode.enum(try)`?= =?UTF-8?q?=20**Added**=20=20=20*=20=20`response.data`=20**Changed**=20*?= =?UTF-8?q?=20`attio.attributes.get()`:=20=20`response.data`=20**Changed**?= =?UTF-8?q?=20*=20`attio.attributes.update()`:=20=20=20*=20=20`request.bod?= =?UTF-8?q?y.data.config.currency.defaultCurrencyCode.enum(try)`=20**Added?= =?UTF-8?q?**=20=20=20*=20=20`response.data`=20**Changed**=20*=20`attio.re?= =?UTF-8?q?cords.query()`:=20=20`response.data[].values.Map>[?= =?UTF-8?q?].union(currency).currencyCode.enum(try)`=20**Added**=20*=20`at?= =?UTF-8?q?tio.records.create()`:=20=20`response.data.values.Map>[].union(currency).currencyCode.enum(try)`=20**Added**=20*?= =?UTF-8?q?=20`attio.records.assert()`:=20=20`response.data.values.Map>[].union(currency).currencyCode.enum(try)`=20**Added*?= =?UTF-8?q?*=20*=20`attio.records.get()`:=20=20`response.data.values.Map>[].union(currency).currencyCode.enum(try)`=20**Adde?= =?UTF-8?q?d**=20*=20`attio.records.update()`:=20=20`response.data.values.?= =?UTF-8?q?Map>[].union(currency).currencyCode.enum(try)`=20*?= =?UTF-8?q?*Added**=20*=20`attio.records.updateAppend()`:=20=20`response.d?= =?UTF-8?q?ata.values.Map>[].union(currency).currencyCode.enu?= =?UTF-8?q?m(try)`=20**Added**=20*=20`attio.records.listAttributeValues()`?= =?UTF-8?q?:=20=20`response.data[].union(currency).currencyCode.enum(try)`?= =?UTF-8?q?=20**Added**=20*=20`attio.entries.query()`:=20=20`response.data?= =?UTF-8?q?[].entryValues.Map>[].union(currency).curr?= =?UTF-8?q?encyCode.enum(try)`=20**Added**=20*=20`attio.entries.create()`:?= =?UTF-8?q?=20=20`response.data.entryValues.Map>[].un?= =?UTF-8?q?ion(currency).currencyCode.enum(try)`=20**Added**=20*=20`attio.?= =?UTF-8?q?entries.assert()`:=20=20`response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)`=20**Add?= =?UTF-8?q?ed**=20*=20`attio.entries.get()`:=20=20`response.data.entryValu?= =?UTF-8?q?es.Map>[].union(currency).currencyCode.enu?= =?UTF-8?q?m(try)`=20**Added**=20*=20`attio.entries.update()`:=20=20`respo?= =?UTF-8?q?nse.data.entryValues.Map>[].union(currency?= =?UTF-8?q?).currencyCode.enum(try)`=20**Added**=20*=20`attio.entries.upda?= =?UTF-8?q?teAppending()`:=20=20`response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)`=20**Added*?= =?UTF-8?q?*=20*=20`attio.entries.listAttributeValues()`:=20=20`response.d?= =?UTF-8?q?ata[].union(currency).currencyCode.enum(try)`=20**Added**?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .speakeasy/gen.lock | 293 ++---- .speakeasy/gen.yaml | 6 +- .speakeasy/outputs/attio.openapi.yaml | 862 +----------------- .speakeasy/workflow.lock | 12 +- README.md | 217 ++--- RELEASES.md | 12 +- docs/models/currency-code.md | 2 +- docs/models/default-currency-code.md | 2 +- .../operations/assert-entry-currency-code.md | 2 +- .../operations/assert-record-currency-code.md | 2 +- .../operations/create-entry-currency-code.md | 2 +- ...ate-new-attribute-default-currency-code.md | 2 +- .../operations/create-record-currency-code.md | 2 +- .../operations/create-scim-group-member.md | 19 - .../operations/create-scim-group-meta.md | 21 - .../operations/create-scim-group-response.md | 36 - .../operations/create-scim-user-email.md | 20 - .../operations/create-scim-user-meta.md | 21 - .../operations/create-scim-user-name.md | 19 - .../operations/create-scim-user-response.md | 45 - .../operations/create-scim-user-role.md | 19 - .../operations/delete-scim-group-request.md | 17 - .../operations/delete-scim-group-response.md | 16 - .../operations/delete-scim-user-request.md | 17 - .../operations/delete-scim-user-response.md | 16 - .../operations/get-entry-currency-code.md | 2 +- .../operations/get-record-currency-code.md | 2 +- .../operations/get-scim-group-member.md | 19 - docs/models/operations/get-scim-group-meta.md | 21 - .../operations/get-scim-group-request.md | 17 - .../operations/get-scim-group-response.md | 34 - docs/models/operations/get-scim-user-email.md | 19 - docs/models/operations/get-scim-user-meta.md | 21 - docs/models/operations/get-scim-user-name.md | 19 - .../operations/get-scim-user-request.md | 17 - .../operations/get-scim-user-response.md | 47 - docs/models/operations/get-scim-user-role.md | 19 - ...st-entry-attribute-values-currency-code.md | 2 +- ...t-record-attribute-values-currency-code.md | 2 +- .../operations/list-scim-groups-response.md | 27 - .../operations/list-scim-schemas-response.md | 31 - .../operations/list-scim-users-response.md | 31 - .../operations/patch-scim-group-member.md | 19 - .../operations/patch-scim-group-meta.md | 21 - .../operations/patch-scim-group-request.md | 17 - .../operations/patch-scim-group-response.md | 31 - .../operations/patch-scim-user-email.md | 20 - .../models/operations/patch-scim-user-meta.md | 21 - .../models/operations/patch-scim-user-name.md | 19 - .../operations/patch-scim-user-request.md | 17 - .../patch-scim-user-response-body1.md | 56 -- .../patch-scim-user-response-body2.md | 16 - .../operations/patch-scim-user-response.md | 48 - .../models/operations/patch-scim-user-role.md | 19 - .../operations/query-entries-currency-code.md | 2 +- .../operations/query-records-currency-code.md | 2 +- .../update-append-record-currency-code.md | 2 +- .../update-appending-entry-currency-code.md | 2 +- .../update-attribute-default-currency-code.md | 2 +- .../operations/update-entry-currency-code.md | 2 +- .../operations/update-record-currency-code.md | 2 +- .../operations/update-scim-group-member.md | 19 - .../operations/update-scim-group-meta.md | 21 - .../operations/update-scim-group-request.md | 17 - .../operations/update-scim-group-response.md | 33 - .../operations/update-scim-user-email.md | 20 - .../operations/update-scim-user-meta.md | 21 - .../operations/update-scim-user-name.md | 19 - .../operations/update-scim-user-request.md | 17 - .../update-scim-user-response-body1.md | 49 - .../update-scim-user-response-body2.md | 16 - .../operations/update-scim-user-response.md | 41 - .../operations/update-scim-user-role.md | 19 - docs/sdks/files/README.md | 2 +- docs/sdks/scimgroups/README.md | 452 --------- docs/sdks/scimschemas/README.md | 77 -- docs/sdks/scimusers/README.md | 452 --------- examples/package-lock.json | 2 +- jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/funcs/files-list.ts | 2 +- src/funcs/scim-groups-create.ts | 146 --- src/funcs/scim-groups-delete.ts | 171 ---- src/funcs/scim-groups-get.ts | 171 ---- src/funcs/scim-groups-list.ts | 146 --- src/funcs/scim-groups-patch.ts | 171 ---- src/funcs/scim-groups-update.ts | 171 ---- src/funcs/scim-schemas-list.ts | 146 --- src/funcs/scim-users-create.ts | 146 --- src/funcs/scim-users-delete.ts | 170 ---- src/funcs/scim-users-get.ts | 170 ---- src/funcs/scim-users-list.ts | 146 --- src/funcs/scim-users-patch.ts | 171 ---- src/funcs/scim-users-update.ts | 171 ---- src/hooks/types.ts | 1 + src/lib/config.ts | 6 +- src/lib/dlv.ts | 53 -- src/lib/encodings.ts | 2 +- src/lib/env.ts | 10 +- src/lib/is-plain-object.ts | 43 - src/lib/matchers.ts | 2 +- src/lib/primitives.ts | 16 + src/lib/sdks.ts | 71 +- src/models/attribute.ts | 1 + src/models/operations/assert-entry.ts | 1 + src/models/operations/assert-record.ts | 1 + src/models/operations/create-entry.ts | 1 + src/models/operations/create-new-attribute.ts | 1 + src/models/operations/create-record.ts | 1 + src/models/operations/create-scim-group.ts | 100 -- src/models/operations/create-scim-user.ts | 150 --- src/models/operations/delete-scim-group.ts | 62 -- src/models/operations/delete-scim-user.ts | 62 -- src/models/operations/get-entry.ts | 1 + src/models/operations/get-record.ts | 1 + src/models/operations/get-scim-group.ts | 132 --- src/models/operations/get-scim-user.ts | 179 ---- src/models/operations/index.ts | 13 - .../operations/list-entry-attribute-values.ts | 1 + .../list-record-attribute-values.ts | 1 + src/models/operations/list-scim-groups.ts | 50 - src/models/operations/list-scim-schemas.ts | 50 - src/models/operations/list-scim-users.ts | 50 - src/models/operations/patch-scim-group.ts | 132 --- src/models/operations/patch-scim-user.ts | 228 ----- src/models/operations/query-entries.ts | 1 + src/models/operations/query-records.ts | 1 + src/models/operations/update-append-record.ts | 1 + .../operations/update-appending-entry.ts | 1 + src/models/operations/update-attribute.ts | 1 + src/models/operations/update-entry.ts | 1 + src/models/operations/update-record.ts | 1 + src/models/operations/update-scim-group.ts | 132 --- src/models/operations/update-scim-user.ts | 228 ----- src/models/output-value.ts | 1 + src/sdk/files.ts | 2 +- src/sdk/scim-groups.ts | 125 --- src/sdk/scim-schemas.ts | 27 - src/sdk/scim-users.ts | 125 --- src/sdk/sdk.ts | 18 - src/types/async.ts | 15 +- src/types/primitives.ts | 26 - 143 files changed, 327 insertions(+), 7514 deletions(-) delete mode 100644 docs/models/operations/create-scim-group-member.md delete mode 100644 docs/models/operations/create-scim-group-meta.md delete mode 100644 docs/models/operations/create-scim-group-response.md delete mode 100644 docs/models/operations/create-scim-user-email.md delete mode 100644 docs/models/operations/create-scim-user-meta.md delete mode 100644 docs/models/operations/create-scim-user-name.md delete mode 100644 docs/models/operations/create-scim-user-response.md delete mode 100644 docs/models/operations/create-scim-user-role.md delete mode 100644 docs/models/operations/delete-scim-group-request.md delete mode 100644 docs/models/operations/delete-scim-group-response.md delete mode 100644 docs/models/operations/delete-scim-user-request.md delete mode 100644 docs/models/operations/delete-scim-user-response.md delete mode 100644 docs/models/operations/get-scim-group-member.md delete mode 100644 docs/models/operations/get-scim-group-meta.md delete mode 100644 docs/models/operations/get-scim-group-request.md delete mode 100644 docs/models/operations/get-scim-group-response.md delete mode 100644 docs/models/operations/get-scim-user-email.md delete mode 100644 docs/models/operations/get-scim-user-meta.md delete mode 100644 docs/models/operations/get-scim-user-name.md delete mode 100644 docs/models/operations/get-scim-user-request.md delete mode 100644 docs/models/operations/get-scim-user-response.md delete mode 100644 docs/models/operations/get-scim-user-role.md delete mode 100644 docs/models/operations/list-scim-groups-response.md delete mode 100644 docs/models/operations/list-scim-schemas-response.md delete mode 100644 docs/models/operations/list-scim-users-response.md delete mode 100644 docs/models/operations/patch-scim-group-member.md delete mode 100644 docs/models/operations/patch-scim-group-meta.md delete mode 100644 docs/models/operations/patch-scim-group-request.md delete mode 100644 docs/models/operations/patch-scim-group-response.md delete mode 100644 docs/models/operations/patch-scim-user-email.md delete mode 100644 docs/models/operations/patch-scim-user-meta.md delete mode 100644 docs/models/operations/patch-scim-user-name.md delete mode 100644 docs/models/operations/patch-scim-user-request.md delete mode 100644 docs/models/operations/patch-scim-user-response-body1.md delete mode 100644 docs/models/operations/patch-scim-user-response-body2.md delete mode 100644 docs/models/operations/patch-scim-user-response.md delete mode 100644 docs/models/operations/patch-scim-user-role.md delete mode 100644 docs/models/operations/update-scim-group-member.md delete mode 100644 docs/models/operations/update-scim-group-meta.md delete mode 100644 docs/models/operations/update-scim-group-request.md delete mode 100644 docs/models/operations/update-scim-group-response.md delete mode 100644 docs/models/operations/update-scim-user-email.md delete mode 100644 docs/models/operations/update-scim-user-meta.md delete mode 100644 docs/models/operations/update-scim-user-name.md delete mode 100644 docs/models/operations/update-scim-user-request.md delete mode 100644 docs/models/operations/update-scim-user-response-body1.md delete mode 100644 docs/models/operations/update-scim-user-response-body2.md delete mode 100644 docs/models/operations/update-scim-user-response.md delete mode 100644 docs/models/operations/update-scim-user-role.md delete mode 100644 docs/sdks/scimgroups/README.md delete mode 100644 docs/sdks/scimschemas/README.md delete mode 100644 docs/sdks/scimusers/README.md delete mode 100644 src/funcs/scim-groups-create.ts delete mode 100644 src/funcs/scim-groups-delete.ts delete mode 100644 src/funcs/scim-groups-get.ts delete mode 100644 src/funcs/scim-groups-list.ts delete mode 100644 src/funcs/scim-groups-patch.ts delete mode 100644 src/funcs/scim-groups-update.ts delete mode 100644 src/funcs/scim-schemas-list.ts delete mode 100644 src/funcs/scim-users-create.ts delete mode 100644 src/funcs/scim-users-delete.ts delete mode 100644 src/funcs/scim-users-get.ts delete mode 100644 src/funcs/scim-users-list.ts delete mode 100644 src/funcs/scim-users-patch.ts delete mode 100644 src/funcs/scim-users-update.ts delete mode 100644 src/lib/dlv.ts delete mode 100644 src/lib/is-plain-object.ts delete mode 100644 src/models/operations/create-scim-group.ts delete mode 100644 src/models/operations/create-scim-user.ts delete mode 100644 src/models/operations/delete-scim-group.ts delete mode 100644 src/models/operations/delete-scim-user.ts delete mode 100644 src/models/operations/get-scim-group.ts delete mode 100644 src/models/operations/get-scim-user.ts delete mode 100644 src/models/operations/list-scim-groups.ts delete mode 100644 src/models/operations/list-scim-schemas.ts delete mode 100644 src/models/operations/list-scim-users.ts delete mode 100644 src/models/operations/patch-scim-group.ts delete mode 100644 src/models/operations/patch-scim-user.ts delete mode 100644 src/models/operations/update-scim-group.ts delete mode 100644 src/models/operations/update-scim-user.ts delete mode 100644 src/sdk/scim-groups.ts delete mode 100644 src/sdk/scim-schemas.ts delete mode 100644 src/sdk/scim-users.ts diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8521054..3d7bdaa 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 794fcaa0-15b6-4542-ad50-1c9ffc9e2dde management: - docChecksum: 467ec143a95d83a77dce309f1d2d5537 + docChecksum: 66031616eddf9433c2512406850a2ca4 docVersion: 2.0.0 - speakeasyVersion: 1.763.1 - generationVersion: 2.884.4 - releaseVersion: 0.2.19 - configChecksum: 594bb92477188c839fb77e2e894e7967 + speakeasyVersion: 1.778.0 + generationVersion: 2.904.2 + releaseVersion: 0.3.0 + configChecksum: 93252009198713bb225b6b3a86c0f063 repoURL: https://github.com/interfere-inc/attio.git installationURL: https://github.com/interfere-inc/attio published: true @@ -18,7 +18,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.14 - core: 3.26.50 + core: 3.31.1 defaultEnabledRetries: 0.1.0 devContainers: 2.90.1 enumUnions: 0.1.0 @@ -137,7 +137,7 @@ trackedFiles: last_write_checksum: sha1:38b2bd8bf22d6429faec564341472f62dc9acdab docs/models/currency-code.md: id: 269c79bbd1f2 - last_write_checksum: sha1:e9f627e4292d869f693cf5ebb5b95d4cc1cfa5a1 + last_write_checksum: sha1:e6904420488849e64f138a3d8a68abff040a3dfe pristine_git_object: e4fe4a8ffe71858ac3b1801b88018a1c75cab3c6 docs/models/currency.md: id: e2c3e8f80fcd @@ -145,7 +145,7 @@ trackedFiles: pristine_git_object: 42b91e1821256a2910806d3ea29f66a8db51d257 docs/models/default-currency-code.md: id: d3a585f23498 - last_write_checksum: sha1:40c2c3c1d109ed7e22eb850073c5b519e586700e + last_write_checksum: sha1:9fa2a716628311e1065c0c45ba09357f210f3a00 pristine_git_object: c09115b3fbb901853a00fb8ed90dbd9036167357 docs/models/default-value-dynamic.md: id: 9862758dc7c7 @@ -600,7 +600,7 @@ trackedFiles: docs/models/operations/assert-entry-created-by-actor9.md: last_write_checksum: sha1:e2ff97aa2affa51dde207fe1b5401d5ed02641e6 docs/models/operations/assert-entry-currency-code.md: - last_write_checksum: sha1:6f309fabd1d35f8734bf2f0ddd450a0641510914 + last_write_checksum: sha1:2128e00dfddb2e43e4783f8d788ad5a5215fcb82 docs/models/operations/assert-entry-data-request.md: last_write_checksum: sha1:8c3a34c9515ee9dde7cc9652b0a1c0b72c5d32cb docs/models/operations/assert-entry-data-response.md: @@ -730,7 +730,7 @@ trackedFiles: docs/models/operations/assert-record-created-by-actor9.md: last_write_checksum: sha1:44427e90f6efef14ca6ba517d4479937e0234115 docs/models/operations/assert-record-currency-code.md: - last_write_checksum: sha1:4535fcd8a6e082d51a6138c6222f28340c8549b6 + last_write_checksum: sha1:538a680e64b35d007f153c786d57baea3528228a docs/models/operations/assert-record-data-request.md: last_write_checksum: sha1:aea112cfa96a01686dc8642f372c9f676fed4c4b docs/models/operations/assert-record-data-response.md: @@ -934,7 +934,7 @@ trackedFiles: docs/models/operations/create-entry-created-by-actor9.md: last_write_checksum: sha1:00c7fde0ff5ca29a20bc893a2aab01a9fbc26db8 docs/models/operations/create-entry-currency-code.md: - last_write_checksum: sha1:5db3a00b0d0b4ec9e0556157fa00ffc5768c1e0e + last_write_checksum: sha1:6e64703985d9dffb54fffd37b70473a328953320 docs/models/operations/create-entry-data-request.md: last_write_checksum: sha1:269ec370a2323dd7931fb65e5c33d201154e0f6b docs/models/operations/create-entry-data-response.md: @@ -1022,7 +1022,7 @@ trackedFiles: docs/models/operations/create-new-attribute-data.md: last_write_checksum: sha1:eb1e4ff03f04891736488bf017dcb58fa7fcc1a6 docs/models/operations/create-new-attribute-default-currency-code.md: - last_write_checksum: sha1:f7b440a61e727125195ab2781ed955cc71219089 + last_write_checksum: sha1:05c82adcb385c0537f2db7172f26a7e5d9ad45e2 docs/models/operations/create-new-attribute-default-value-dynamic.md: last_write_checksum: sha1:ab499a5efebd351e90f4530ee5eb9f754a8c086b docs/models/operations/create-new-attribute-default-value-static.md: @@ -1128,7 +1128,7 @@ trackedFiles: docs/models/operations/create-record-created-by-actor9.md: last_write_checksum: sha1:42a6864a11457cd7e550bc4798fa9b23a6422267 docs/models/operations/create-record-currency-code.md: - last_write_checksum: sha1:618c6cfd9488bd2f27884a5b59b77c81996af3d9 + last_write_checksum: sha1:951af67847f85b101245c7bcb431a83eedd31102 docs/models/operations/create-record-data-request.md: last_write_checksum: sha1:098643d8ab623ca8734182391d9f810633432363 docs/models/operations/create-record-data-response.md: @@ -1185,22 +1185,6 @@ trackedFiles: last_write_checksum: sha1:efb1e1784c9436bb9efe97e89f07a8bf8591d5da docs/models/operations/create-record-value-union.md: last_write_checksum: sha1:946eecd21cb32fc6252576d28f1135448fb72929 - docs/models/operations/create-scim-group-member.md: - last_write_checksum: sha1:61f9b2c39c5ca7e0057446e8fed1376c4cb96233 - docs/models/operations/create-scim-group-meta.md: - last_write_checksum: sha1:567ff18777743b5ff028db82892a04f2e94a361d - docs/models/operations/create-scim-group-response.md: - last_write_checksum: sha1:dd6e4ecb2a8eeab40a27ccf5dbb2a181411f243d - docs/models/operations/create-scim-user-email.md: - last_write_checksum: sha1:ff4d60ace9a45e5cca9fbcade9843d69a84fc604 - docs/models/operations/create-scim-user-meta.md: - last_write_checksum: sha1:b51ac82b6474e090c12eb60144b2ad73e17ab34b - docs/models/operations/create-scim-user-name.md: - last_write_checksum: sha1:1686d77978ca4ca4defee1361b20e1950daf62fb - docs/models/operations/create-scim-user-response.md: - last_write_checksum: sha1:dc4a73447aa49dec071ced490b90a3e0756a481b - docs/models/operations/create-scim-user-role.md: - last_write_checksum: sha1:39cf49954890d0a59859b143f3b93f535f2b09da docs/models/operations/create-task-assignee-union.md: last_write_checksum: sha1:8bca12580b904418e3b85073946b8217dcb9da51 docs/models/operations/create-task-assignee-workspace-member.md: @@ -1323,14 +1307,6 @@ trackedFiles: last_write_checksum: sha1:9cc4aa7fc9c39db9334ce7651fd5e4d2c49f2cc6 docs/models/operations/delete-record-response.md: last_write_checksum: sha1:aa5bed0dce018afa45cb4933648a0ea28cbfb9e2 - docs/models/operations/delete-scim-group-request.md: - last_write_checksum: sha1:f1d7d4235e2305408716f6a285187df9e7d7558e - docs/models/operations/delete-scim-group-response.md: - last_write_checksum: sha1:9529aa2f3daa540610919d8a51a8ce44eee8063c - docs/models/operations/delete-scim-user-request.md: - last_write_checksum: sha1:1a9ec6ac1197ce87ef9d43dd362f7d40b9e5e180 - docs/models/operations/delete-scim-user-response.md: - last_write_checksum: sha1:8b1db7d72b96dab060de78db9e50422e455836e9 docs/models/operations/delete-task-request.md: last_write_checksum: sha1:3b3adb434dbf617b4dfd512ec0c380d1f2a7b95b docs/models/operations/delete-task-response.md: @@ -1476,7 +1452,7 @@ trackedFiles: docs/models/operations/get-entry-created-by-actor9.md: last_write_checksum: sha1:425f5cd9132728bc8934f2a43eece9494cb4df6b docs/models/operations/get-entry-currency-code.md: - last_write_checksum: sha1:a8673c4b8e5b295c2d253bed99cb50d327eaedc8 + last_write_checksum: sha1:ea803efe831f74d8298d904befca62adf1cbeaa2 docs/models/operations/get-entry-data.md: last_write_checksum: sha1:26faf52e8e043edc34428c1db6ef4001f58c1288 docs/models/operations/get-entry-entry-value-actor-reference.md: @@ -1646,7 +1622,7 @@ trackedFiles: docs/models/operations/get-record-created-by-actor9.md: last_write_checksum: sha1:46cbf7cdf8b164d568188891caa184377d7ee8c3 docs/models/operations/get-record-currency-code.md: - last_write_checksum: sha1:f1fdf02b1e887a869b2ea288a8d08a198ba92c65 + last_write_checksum: sha1:37c1938f295c4ff4b880940f77157d86209a19eb docs/models/operations/get-record-data.md: last_write_checksum: sha1:55532ce2d08c780359e92fd9848185ccae84f62a docs/models/operations/get-record-id.md: @@ -1699,26 +1675,6 @@ trackedFiles: last_write_checksum: sha1:4ba74cb63cccd7c94efb89fb55bb9794eaff7041 docs/models/operations/get-record-value-union.md: last_write_checksum: sha1:7aae618c9d594376d228ec43d4e50019f5d73e09 - docs/models/operations/get-scim-group-member.md: - last_write_checksum: sha1:d4449d30802c034c12cf7025f41fe0d1e887e26b - docs/models/operations/get-scim-group-meta.md: - last_write_checksum: sha1:27fa12576f54e69cd165ebb775c96e5282db78b3 - docs/models/operations/get-scim-group-request.md: - last_write_checksum: sha1:48a543083419b7d8354da2daea39139a1023a8b1 - docs/models/operations/get-scim-group-response.md: - last_write_checksum: sha1:97ef743b849883c63b95662a10555ecec157e08b - docs/models/operations/get-scim-user-email.md: - last_write_checksum: sha1:0db09fb93ad877232b1059b6d7de5ed6a0131409 - docs/models/operations/get-scim-user-meta.md: - last_write_checksum: sha1:86d6a6d2b2889224603e1eb67c6fbb64892db25c - docs/models/operations/get-scim-user-name.md: - last_write_checksum: sha1:8e83daaca770b93e57f76921009a7db85fe668f3 - docs/models/operations/get-scim-user-request.md: - last_write_checksum: sha1:b18690e261657669139663fbcec15a6fc4bd5350 - docs/models/operations/get-scim-user-response.md: - last_write_checksum: sha1:b10b6e1040aaad887858febeb3a94728f3befe3b - docs/models/operations/get-scim-user-role.md: - last_write_checksum: sha1:c94f1dab45a5807a49535d3be759e1da106a0a8b docs/models/operations/get-task-request.md: last_write_checksum: sha1:780f295681072cf76b095deb899efb5c1118839f docs/models/operations/get-task-response.md: @@ -1878,7 +1834,7 @@ trackedFiles: docs/models/operations/list-entry-attribute-values-created-by-actor9.md: last_write_checksum: sha1:5025d9f90bfb725b8bb91b2b7b1e92ffed8952b1 docs/models/operations/list-entry-attribute-values-currency-code.md: - last_write_checksum: sha1:f60fb9ce80143887053baa8e1d3b0d6faf37b5f9 + last_write_checksum: sha1:8bd66005a191a5d4b2ef5586506293a268e4a847 docs/models/operations/list-entry-attribute-values-data-actor-reference.md: last_write_checksum: sha1:62971d4e1fa72071a27a39884d35d70f2cf55c2a docs/models/operations/list-entry-attribute-values-data-checkbox.md: @@ -2026,7 +1982,7 @@ trackedFiles: docs/models/operations/list-record-attribute-values-created-by-actor9.md: last_write_checksum: sha1:47805c99719cdf3551be0c8531a80ec1e1dc32b9 docs/models/operations/list-record-attribute-values-currency-code.md: - last_write_checksum: sha1:e5790173f6927ea7745cc45d1c2944b4e556330d + last_write_checksum: sha1:203b5c6451aa7053ad82ca9ff23eb7cce0bd7345 docs/models/operations/list-record-attribute-values-data-actor-reference.md: last_write_checksum: sha1:bbba93c9add93eca2aec109dd3b9510b4f3078de docs/models/operations/list-record-attribute-values-data-checkbox.md: @@ -2081,12 +2037,6 @@ trackedFiles: last_write_checksum: sha1:d641c1bb9240ac548311189a3f486c9ccd74d55e docs/models/operations/list-record-entries-response.md: last_write_checksum: sha1:82ab866dd52dd973063c47c0da32611302b31fee - docs/models/operations/list-scim-groups-response.md: - last_write_checksum: sha1:50d9eefbc72ac1992f02340fcfee7fb7357a9d27 - docs/models/operations/list-scim-schemas-response.md: - last_write_checksum: sha1:957c0d6687e8631a970cba41f3215ab08b33cae3 - docs/models/operations/list-scim-users-response.md: - last_write_checksum: sha1:4e1629c5191e064ca97ec80a17d4fd70b579d864 docs/models/operations/list-tasks-request.md: last_write_checksum: sha1:b3a404d096f0233343af3555d66c51201b9537a6 docs/models/operations/list-tasks-response.md: @@ -2139,30 +2089,6 @@ trackedFiles: id: 75c97d03d71c last_write_checksum: sha1:8ad8c34ba287ed3f7801ff31e563a4ad5ad8d3d1 pristine_git_object: 969d0084516f37800f824a2a224fd2c5ddd7cd3a - docs/models/operations/patch-scim-group-member.md: - last_write_checksum: sha1:d62e79172f101c5fe73c036498c37b94f9833f29 - docs/models/operations/patch-scim-group-meta.md: - last_write_checksum: sha1:04666da5e0b43dd9d0eec8438f4c90a6dee4d35a - docs/models/operations/patch-scim-group-request.md: - last_write_checksum: sha1:e6b2e0432f46ed6e67cb2253d1d9867ba7edb091 - docs/models/operations/patch-scim-group-response.md: - last_write_checksum: sha1:af782858f04eeca5de6aa0bdb93db397b9b604a6 - docs/models/operations/patch-scim-user-email.md: - last_write_checksum: sha1:5997e99d27bc44792f7d4b26bd4850e10b61342f - docs/models/operations/patch-scim-user-meta.md: - last_write_checksum: sha1:285ff1be4602324c30c8a5a234f94960b70cb0d0 - docs/models/operations/patch-scim-user-name.md: - last_write_checksum: sha1:0f3d00cb9c1b5471f3d21dc9c1376554d83c2384 - docs/models/operations/patch-scim-user-request.md: - last_write_checksum: sha1:353c743dc704e93991b41f1ab63f0780226bd902 - docs/models/operations/patch-scim-user-response-body1.md: - last_write_checksum: sha1:f2b2f379d0ab829a89bd517afab0b9d1c3bc77fc - docs/models/operations/patch-scim-user-response-body2.md: - last_write_checksum: sha1:2a48ab3266670806f42fdddb50470a6aa2ce97b3 - docs/models/operations/patch-scim-user-response.md: - last_write_checksum: sha1:ca601e9e4ae88ae134195754e439c9b5752a8511 - docs/models/operations/patch-scim-user-role.md: - last_write_checksum: sha1:bd3045414e1a1cbf111c9b4d8e33d36f77c91ace docs/models/operations/provider.md: id: c28b3c085f4e last_write_checksum: sha1:9176443687149a9b3b9d71a9c16332005d83e123 @@ -2240,7 +2166,7 @@ trackedFiles: docs/models/operations/query-entries-created-by-actor9.md: last_write_checksum: sha1:b7f0c677e25ab23b56538c9693b7b241925cc5ca docs/models/operations/query-entries-currency-code.md: - last_write_checksum: sha1:d757e5a17b4fb57143f8e83000e69d6c813150aa + last_write_checksum: sha1:0a11acb804a65c535b8f3e87e73850ca0dd0e5a8 docs/models/operations/query-entries-data.md: last_write_checksum: sha1:9a225a3d721a6ffa0ecacc0e8dcf6a7e6de7be08 docs/models/operations/query-entries-direction1.md: @@ -2378,7 +2304,7 @@ trackedFiles: docs/models/operations/query-records-created-by-actor9.md: last_write_checksum: sha1:75aca408d34547c4e877dd04cf3463ce29b66513 docs/models/operations/query-records-currency-code.md: - last_write_checksum: sha1:6a18dc5221f749f15c10001197ba7f778dac7ff9 + last_write_checksum: sha1:cdff7d13948d0981b2594810f88e232bf3d2eac0 docs/models/operations/query-records-data.md: last_write_checksum: sha1:e8bf53d19fef43307e588dd4c8842d6a6bd227cb docs/models/operations/query-records-direction1.md: @@ -2568,7 +2494,7 @@ trackedFiles: docs/models/operations/update-append-record-created-by-actor9.md: last_write_checksum: sha1:fdc001d97f372d5df3bea940087b2cf9acaa13a8 docs/models/operations/update-append-record-currency-code.md: - last_write_checksum: sha1:296da330aaa9e84dab7ba0557cf475b09b33e0a2 + last_write_checksum: sha1:86dbfd6f3e27a92a877b163d45cb865b175e68d2 docs/models/operations/update-append-record-data-request.md: last_write_checksum: sha1:82b958f0029d6d2271649af1b12ea00bf5d79fff docs/models/operations/update-append-record-data-response.md: @@ -2698,7 +2624,7 @@ trackedFiles: docs/models/operations/update-appending-entry-created-by-actor9.md: last_write_checksum: sha1:21b862da54700b519a30ccaac00abb4313c1d9e6 docs/models/operations/update-appending-entry-currency-code.md: - last_write_checksum: sha1:54bcb7624f90685b69039e17a77c5da5bc6936f5 + last_write_checksum: sha1:75e930c7b5b2838fc6418f9c16c2b0fac5829abb docs/models/operations/update-appending-entry-data-request.md: last_write_checksum: sha1:548c62ee4b604e97e62ab02000e4d2ee81cd64bd docs/models/operations/update-appending-entry-data-response.md: @@ -2762,7 +2688,7 @@ trackedFiles: docs/models/operations/update-attribute-data.md: last_write_checksum: sha1:70396b2db13bbb3916ed1ea78ca543ee9f4804e3 docs/models/operations/update-attribute-default-currency-code.md: - last_write_checksum: sha1:1bd6139b755e2be208e759561465174209033c0a + last_write_checksum: sha1:c51bbd0ad06c65d1e5a2acdea236b94d13a242a9 docs/models/operations/update-attribute-default-value-dynamic.md: last_write_checksum: sha1:4d8cf49f4186fe14a9832f3c5ac9b1498efa3902 docs/models/operations/update-attribute-default-value-static.md: @@ -2874,7 +2800,7 @@ trackedFiles: docs/models/operations/update-entry-created-by-actor9.md: last_write_checksum: sha1:d7def3e9df4f6f5e14b4f2cf2ff445bbd913a934 docs/models/operations/update-entry-currency-code.md: - last_write_checksum: sha1:b8737dbcde4059537c5d99c34ec4620d7d5e8faa + last_write_checksum: sha1:a3bc8a43aab68d111510a0aa30beb76e55dc680d docs/models/operations/update-entry-data-request.md: last_write_checksum: sha1:c56e590869721cb869baebaf0add5c7d7961690e docs/models/operations/update-entry-data-response.md: @@ -3026,7 +2952,7 @@ trackedFiles: docs/models/operations/update-record-created-by-actor9.md: last_write_checksum: sha1:85bb75d6127c68f75660960aef1506a02f4e2204 docs/models/operations/update-record-currency-code.md: - last_write_checksum: sha1:472986443b62c71260fb164bcdefd557cd9fc37b + last_write_checksum: sha1:ba9c7c2c67e2eb7d2d32431d21d5a7e4b04d8b77 docs/models/operations/update-record-data-request.md: last_write_checksum: sha1:a9952d7c6c8ecf11ec46dfface66fc03a53e7abe docs/models/operations/update-record-data-response.md: @@ -3083,30 +3009,6 @@ trackedFiles: last_write_checksum: sha1:df0afc64be32a2ac816be0940accc2e58345f43a docs/models/operations/update-record-value-union.md: last_write_checksum: sha1:cc5a7ff1339768b91f7e08ec541a1e715aace249 - docs/models/operations/update-scim-group-member.md: - last_write_checksum: sha1:0abcbc2469356c0a0bb57ec8a88bfbae47583a14 - docs/models/operations/update-scim-group-meta.md: - last_write_checksum: sha1:e45243a4dcce7c705f5499a11b97d363097e2caf - docs/models/operations/update-scim-group-request.md: - last_write_checksum: sha1:719f62ad4a81065e7f4a3e9c19fdb15c0ed63703 - docs/models/operations/update-scim-group-response.md: - last_write_checksum: sha1:c80b4fd4b569c3013cfac1f6ab77b115e23ffe04 - docs/models/operations/update-scim-user-email.md: - last_write_checksum: sha1:01ed0a53dd65644bff660d236b701f530fdab41f - docs/models/operations/update-scim-user-meta.md: - last_write_checksum: sha1:cc925591aa1fd1dc3c06a10ea1e29022ddeed227 - docs/models/operations/update-scim-user-name.md: - last_write_checksum: sha1:5bee4bf178e212c82d752cc9266567824e725f84 - docs/models/operations/update-scim-user-request.md: - last_write_checksum: sha1:a49b4b2df8123ba6ebd160e67d302b13f79e1a23 - docs/models/operations/update-scim-user-response-body1.md: - last_write_checksum: sha1:b9c9e37eebf6c96bc77202892fa431ac3514b5bc - docs/models/operations/update-scim-user-response-body2.md: - last_write_checksum: sha1:d2cb4bd2909360410241666a6229d15b879ab324 - docs/models/operations/update-scim-user-response.md: - last_write_checksum: sha1:21014241447d32da0af82556b6c64899cd18c046 - docs/models/operations/update-scim-user-role.md: - last_write_checksum: sha1:776c5f035aae6a7527be538a20b1089dabb4822b docs/models/operations/update-task-assignee-union.md: last_write_checksum: sha1:250ad02974aa03cb48fb7f26f9b874f154099f9f docs/models/operations/update-task-assignee-workspace-member.md: @@ -3430,7 +3332,7 @@ trackedFiles: last_write_checksum: sha1:198496ba66d1169b54fbe73934243433b0357700 pristine_git_object: f09072e8339fbacfe8baf9717380cdad6a532b25 docs/sdks/files/README.md: - last_write_checksum: sha1:9c7cdac0f038c6679f1ea269a5ae3ab2709caedc + last_write_checksum: sha1:b108114ec0294c457696dd0a371534a52013fe64 docs/sdks/lists/README.md: id: 2bf91000d730 last_write_checksum: sha1:76fda1baa7c1038770b76f32c0b10cc7ec081f27 @@ -3457,14 +3359,6 @@ trackedFiles: id: db86bab024d3 last_write_checksum: sha1:3402544a7309b3ffc10327bca13e24fc11a75c17 pristine_git_object: 3013817e3ba4092db933dc6605bc28f360878276 - docs/sdks/scimgroups/README.md: - last_write_checksum: sha1:db1d75c17c9ccdfabc4c386e808dfabb9f1e6551 - docs/sdks/scimschemas/README.md: - id: 128d02578a55 - last_write_checksum: sha1:4da89226c261ad24ed41ff8bb87b5335830c3e23 - pristine_git_object: f88d8bcaedac7ae73ef2a10a1422d18a95a160b2 - docs/sdks/scimusers/README.md: - last_write_checksum: sha1:8cb3547c03405ab65d5f2ec9440122658372f150 docs/sdks/tasks/README.md: id: 939441bde134 last_write_checksum: sha1:cb42a50347c96b468b3298c89ff54a42828284f2 @@ -3507,11 +3401,11 @@ trackedFiles: pristine_git_object: 4aac7f082ee4396f40475ecb18a68d391b316054 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:0dceff85dc65995ac5694d12264a9dd83a232b9c + last_write_checksum: sha1:c77102c7df5bcdd5ce8d0b470b1dfc15f89145d9 pristine_git_object: 3765d52f293dd40e215660e3eec0f095107c6299 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:d1ed276b18496660a48b5864ffd36fa6f14112ec + last_write_checksum: sha1:5afb200830727ff7814c291bc0b4c5ae66f5ac4c pristine_git_object: e2078100dc17afe81ba89a6439a3788096f2a176 src/core.ts: id: f431fdbcd144 @@ -3610,7 +3504,7 @@ trackedFiles: src/funcs/files-get.ts: last_write_checksum: sha1:d509081f4b8d5ad8dffb2678f36f2e5250b1edf0 src/funcs/files-list.ts: - last_write_checksum: sha1:3aa5c298996d5a2b318c02efe60c0d81f4be6a69 + last_write_checksum: sha1:5f6997619a407395f9416743aef75b7b12a6603e src/funcs/files-upload.ts: last_write_checksum: sha1:01c28f3ba2ea37474e1e370f46d27a48963b88f9 src/funcs/lists-create.ts: @@ -3715,34 +3609,6 @@ trackedFiles: id: 7d5e8c07c783 last_write_checksum: sha1:6bfe27c6cc314056124b7f0f039b66a125068306 pristine_git_object: 539abfa38f7bbced5256d7b9953eef8ec73eb4cf - src/funcs/scim-groups-create.ts: - last_write_checksum: sha1:bd7fdc7972b236be80d8dae3ebeef61542d07569 - src/funcs/scim-groups-delete.ts: - last_write_checksum: sha1:64ba54c783e978898ffe19351e9d8049d8366038 - src/funcs/scim-groups-get.ts: - last_write_checksum: sha1:4acfc8dcbc030f5e240f6cadddd231569f14ddad - src/funcs/scim-groups-list.ts: - last_write_checksum: sha1:9ebbb9c51bb1d17a7d40aa50ac3b27ccb658d949 - src/funcs/scim-groups-patch.ts: - last_write_checksum: sha1:77a8108bf9c19fdb2d89a572b5d6dbdd88521fec - src/funcs/scim-groups-update.ts: - last_write_checksum: sha1:61238ae25be6e8184846322a2ea2c1ede33b573e - src/funcs/scim-schemas-list.ts: - id: 9d10813c1a84 - last_write_checksum: sha1:e0bcc093122dbb62a3ed0d0ebd98881965d7e3b0 - pristine_git_object: e98cdbb9b2c1de414084f542838b7fae2589e7ca - src/funcs/scim-users-create.ts: - last_write_checksum: sha1:d061e11aada57b262d6e904252e0f4b375b76c75 - src/funcs/scim-users-delete.ts: - last_write_checksum: sha1:b60e1d1f08b648dbe1e1da58787177e70019654e - src/funcs/scim-users-get.ts: - last_write_checksum: sha1:6664f2751d1bf00b7d39e8da211c76a8f2a44f86 - src/funcs/scim-users-list.ts: - last_write_checksum: sha1:dd53fb1413cd095805906d89908a3744b6008e20 - src/funcs/scim-users-patch.ts: - last_write_checksum: sha1:bdb1ee233ae9a9c542a396bf0a170a2cdb431105 - src/funcs/scim-users-update.ts: - last_write_checksum: sha1:efa2e43339e73b5a1cdcea93ed8e6d64f5a47480 src/funcs/tasks-create.ts: id: 40c4c3ae75d4 last_write_checksum: sha1:60d752cd13a64ef69f5548f6baabcaa43510242b @@ -3813,7 +3679,7 @@ trackedFiles: pristine_git_object: 97ac89318862e96353a6ec7b4eeb7dbe45b844eb src/hooks/types.ts: id: 2a02d86ec24f - last_write_checksum: sha1:27a3444c4839bec58ae89820fd8c2483edafc3f4 + last_write_checksum: sha1:8e6a1813e04a0a32009cb07e9772e4166658be1b pristine_git_object: 9c36bf01332084f735909a71036c3544cc4c7e3a src/index.ts: id: c5fb850250c7 @@ -3825,19 +3691,15 @@ trackedFiles: pristine_git_object: 44be0eae8246521b230e8e711a88eff738fc015d src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:0421b445c3139e39c5467b8831d8780e09605d3c + last_write_checksum: sha1:26d756074b56d2427fb90a1511df1d1a77babea6 pristine_git_object: 5e129f5c009a3a571402fc9c45c1889a890edf54 - src/lib/dlv.ts: - id: b1988214835a - last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250 - pristine_git_object: e81091f5e536f82739f71379b1fddc2d147c49e2 src/lib/encodings.ts: id: 3bd8ead98afd - last_write_checksum: sha1:3e6784ec96431e0d8f98f67b3eae38d7b368264c + last_write_checksum: sha1:7533dcb79b22b8c84ac7b90aec94317d12bad5f8 pristine_git_object: 25d1d8032a69f56da1ac1df00a48ecf73457a1ef src/lib/env.ts: id: c52972a3b198 - last_write_checksum: sha1:bc3c5663c789055b3a60a6faa426047a83cb2e83 + last_write_checksum: sha1:aa41017a189c95e2ec340fa4ba1672856cce697a pristine_git_object: 95efc8dbddb16302c49f69cc591ff31ae0a2f4f4 src/lib/files.ts: id: e5efa54fcb95 @@ -3847,21 +3709,17 @@ trackedFiles: id: 63a80782d37e last_write_checksum: sha1:797cbf16d3c7c4d62d3ba0eedb08617524938457 pristine_git_object: 13cf1fd7894a89f727b8d2db2ad24313a94f68c7 - src/lib/is-plain-object.ts: - id: b9862591096a - last_write_checksum: sha1:df687f25a9590b6fd95d39df41a652ae3fd4e517 - pristine_git_object: 61070d3d7c7e5e95b1ed7e7ea21869eb0767db77 src/lib/logger.ts: id: 7ee7741a02bf last_write_checksum: sha1:0ec9d3a2a34c362746b767e4f9a746c055d57a7b pristine_git_object: d181f2937d4128afbe9b0327e0f81d1fa9c877b7 src/lib/matchers.ts: id: d54b2253b719 - last_write_checksum: sha1:ed19b6a3f84666c8513c2a20adb78c1a45ae3619 + last_write_checksum: sha1:8ec565d056443324229dd3d8c403e80c2d49d00e pristine_git_object: 237bfade931472e6e35f942c417f55c25b8efd90 src/lib/primitives.ts: id: 74859f750b28 - last_write_checksum: sha1:987869fc54790b9c22e9182099103d6aa7c67016 + last_write_checksum: sha1:fe3abb7d6b61596e346873519bcec9b2eaa61467 pristine_git_object: d21f1dc49affa4e6d324bdd60811b470fdfa7eb6 src/lib/retries.ts: id: b24a69d15639 @@ -3873,7 +3731,7 @@ trackedFiles: pristine_git_object: cf280491bf54dbd4d78e5c071c3b85cf5ca9e35e src/lib/sdks.ts: id: 8a6d91f1218d - last_write_checksum: sha1:4f517a862c2f91fc73342bf38eb8b63bef7df6fb + last_write_checksum: sha1:f0743d4e3827ae82d238be0b5f73d7824ebc89fd pristine_git_object: adb9e0a7ed39316c92f0d68490c54c5a9362a0be src/lib/security.ts: id: 0502afa7922e @@ -3885,7 +3743,7 @@ trackedFiles: pristine_git_object: f3a8de6c021de59c991707946cd294596cae954d src/models/attribute.ts: id: 672ea0c76df6 - last_write_checksum: sha1:73e00d01a1438be9c8a047052ae23ae0e9278003 + last_write_checksum: sha1:97376e1fadb4fbfe8e777186073eb896051f08c9 pristine_git_object: e6ad63809ac3e49f6bc1f6ca4744b5de3dea2f77 src/models/comment.ts: id: 31da50e38c51 @@ -4066,9 +3924,9 @@ trackedFiles: last_write_checksum: sha1:d72eaad518afb5eccc5d2953177c7092cd02195a pristine_git_object: 64bede8fc9f36634f34d6f0820fdd15474921b2c src/models/operations/assert-entry.ts: - last_write_checksum: sha1:ba4357724e27efe1631096b776ffcc57e2b6e755 + last_write_checksum: sha1:5f0bf805bea7048db18522efc1bfe7e0ce9356be src/models/operations/assert-record.ts: - last_write_checksum: sha1:885f0cb15a7480a93889b59dbf822996a21d8b4e + last_write_checksum: sha1:ad5a0cdbbbb54d171b57382307922d92faa9a13f src/models/operations/create-attribute-option.ts: last_write_checksum: sha1:aa2c54e7d2abda5696dfdbf4550edb4d2df9702f src/models/operations/create-attribute-status.ts: @@ -4078,23 +3936,19 @@ trackedFiles: src/models/operations/create-comment.ts: last_write_checksum: sha1:4a6f23bcbe6c1a2ca90ce6d913bf49f3d7d575ae src/models/operations/create-entry.ts: - last_write_checksum: sha1:c1299306e9cc92e2b8bd5135983ee036b1c61a11 + last_write_checksum: sha1:9e377ad633848ab51ef85533db474ab1553a6c89 src/models/operations/create-file.ts: last_write_checksum: sha1:50a81fa3d8c2450c94332c2b30de5ebbf05717e3 src/models/operations/create-list.ts: last_write_checksum: sha1:e59fcffb47e19753d89b0f4756cfdadba6a16a6e src/models/operations/create-new-attribute.ts: - last_write_checksum: sha1:1eb4dd94b9dd636482592cfa20c89ed5a83aedf6 + last_write_checksum: sha1:ade24f961bac94419d94f6974a9201b287bc4661 src/models/operations/create-note.ts: last_write_checksum: sha1:f87a9abc176a1ce16675c3b8490b97abbd6a0bc1 src/models/operations/create-object.ts: last_write_checksum: sha1:ecdc7b2bf5bc2383da3e82577348fdc73f2d3fd4 src/models/operations/create-record.ts: - last_write_checksum: sha1:ce5c0a181466dc20e4489f31657cb68ca3a2e1e6 - src/models/operations/create-scim-group.ts: - last_write_checksum: sha1:bd48b97842727b046672074d4d7b00c94b4842c8 - src/models/operations/create-scim-user.ts: - last_write_checksum: sha1:31bb869bac1fdc6cbe5a267ba71968f0935b570c + last_write_checksum: sha1:b853c03fcd6b88563327c2c95b6638c5063b26fc src/models/operations/create-task.ts: last_write_checksum: sha1:4a4970dfb80acd51fcb99b80f975e782d8c038fc src/models/operations/create-webhook.ts: @@ -4111,10 +3965,6 @@ trackedFiles: last_write_checksum: sha1:93c959d84d24e2c93ba34e088bd0d7bb230b28b0 src/models/operations/delete-record.ts: last_write_checksum: sha1:54174b55e881d4579eed54bc0f8f414ce5b7d444 - src/models/operations/delete-scim-group.ts: - last_write_checksum: sha1:6a32a135248b00da717359356b2b4b32b8ebaaa3 - src/models/operations/delete-scim-user.ts: - last_write_checksum: sha1:a3b08068cc6fe266b93c96548ec9ce4bec0c2327 src/models/operations/delete-task.ts: last_write_checksum: sha1:10a4d04cbaeb2ed8bb4830e01d52a6755708837c src/models/operations/delete-webhook.ts: @@ -4132,7 +3982,7 @@ trackedFiles: src/models/operations/get-comment.ts: last_write_checksum: sha1:67d7389b1fe28cb5bbb77721b82c20d0b02985c1 src/models/operations/get-entry.ts: - last_write_checksum: sha1:e305e1efda3cda4f00459ef9e00515e4acd00bce + last_write_checksum: sha1:502d18c5057e8a859e99976e066221b368e60395 src/models/operations/get-file.ts: last_write_checksum: sha1:d3e8547b26c81e746d31ecacc425b62f40f11a26 src/models/operations/get-list-views.ts: @@ -4148,11 +3998,7 @@ trackedFiles: src/models/operations/get-object.ts: last_write_checksum: sha1:ebeeaf5169c4e101ade06d8c1481f41c4e1c6829 src/models/operations/get-record.ts: - last_write_checksum: sha1:9bf5fccac48a8eaf26fee7dead39e5c773cbbd09 - src/models/operations/get-scim-group.ts: - last_write_checksum: sha1:173d66497d2123edf8ebf7de835ada673b3a1bed - src/models/operations/get-scim-user.ts: - last_write_checksum: sha1:aa3ed4c3f7933c7c068f0ce2ff6d04fd97b7cbbb + last_write_checksum: sha1:fd0be3ccbd43bc16e2eea081d3af596381435592 src/models/operations/get-task.ts: last_write_checksum: sha1:3943dc0de9d8f740e90c359737585072834b8671 src/models/operations/get-thread.ts: @@ -4165,7 +4011,7 @@ trackedFiles: last_write_checksum: sha1:3ef4495c01083ed80a2baf7c0280b340cec7a3c7 src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:1fc9165357f1da2abdf3d4be2c5fdd43a2b64db9 + last_write_checksum: sha1:e979f96d56298d7574d93476918a5168d1a94025 pristine_git_object: a9c10efc25eca66a20c60248f3b18033fd144111 src/models/operations/list-all-attributes.ts: last_write_checksum: sha1:3fc94d5b731123f506781e4234b4d922a9b6aa58 @@ -4178,7 +4024,7 @@ trackedFiles: src/models/operations/list-call-recordings.ts: last_write_checksum: sha1:2f416401f8784b3e1cb527d0078916db3cb41b8c src/models/operations/list-entry-attribute-values.ts: - last_write_checksum: sha1:bc90258be518eb450e929e1471a31eea5c13e2f3 + last_write_checksum: sha1:3fba4a3c2c74a1ac6eb6441b46468c26f2621622 src/models/operations/list-files.ts: last_write_checksum: sha1:f633f6f3d47baa5c3709aeb986e4675638b2468b src/models/operations/list-lists.ts: @@ -4190,53 +4036,39 @@ trackedFiles: src/models/operations/list-objects.ts: last_write_checksum: sha1:40cc6e6fb1ad1f87694a646df7eec68d366c1ae0 src/models/operations/list-record-attribute-values.ts: - last_write_checksum: sha1:6d59059a7c3669cd8592c5d55fc554a59a3020ed + last_write_checksum: sha1:c3fffb5844a29268a461a15993b72969d86f1e1c src/models/operations/list-record-entries.ts: last_write_checksum: sha1:c03c8bc708f64a6bd91da2a1b397c108fb86e95b - src/models/operations/list-scim-groups.ts: - last_write_checksum: sha1:dfcd41b51d819df7f4de3ca0d33fb72ca36993ee - src/models/operations/list-scim-schemas.ts: - last_write_checksum: sha1:b5b807682efb07fb79188f4ba2e665dde8fe5323 - src/models/operations/list-scim-users.ts: - last_write_checksum: sha1:0b463ffe36916bd859b1b5c97665da36d311b540 src/models/operations/list-tasks.ts: last_write_checksum: sha1:2b11adad427b69523e96548390387eec9596fb40 src/models/operations/list-webhooks.ts: last_write_checksum: sha1:0e9667ad6dd97f7e1bafd352bb3ddc80a5719d9e src/models/operations/list-workspace-members.ts: last_write_checksum: sha1:27571ccf00a8009e1f25eee77406782985ea5ef2 - src/models/operations/patch-scim-group.ts: - last_write_checksum: sha1:1221370183cfa4e85c8217896dab08d4e4736bd4 - src/models/operations/patch-scim-user.ts: - last_write_checksum: sha1:b79aac2c47ee51ecdd62a8a7e02505060ce8857e src/models/operations/query-entries.ts: - last_write_checksum: sha1:297467b4633de6c05dd86dfd61ec8b8d44bbb5a9 + last_write_checksum: sha1:9bc0b6b64401c1101b9b744b4c38ad7870a8fc8e src/models/operations/query-records.ts: - last_write_checksum: sha1:244912d28b9f8b8e9a1761c53170fba9113fd218 + last_write_checksum: sha1:6849bfff04880c6cacf76df8299297cd17c26bce src/models/operations/search-records.ts: last_write_checksum: sha1:c51ce2fb9749e94679f9b65c2b49fe2704f0093e src/models/operations/update-append-record.ts: - last_write_checksum: sha1:61ff399cc762704ee7a9d8270a2100f192e0b228 + last_write_checksum: sha1:179f7081034128c14d68e01f86b9b4a98c2d507e src/models/operations/update-appending-entry.ts: - last_write_checksum: sha1:5990d8cc4a79ae77c7f2c694006987ba9bee179c + last_write_checksum: sha1:811a6ef30fee2139abf180a3e7816ccf2542c76c src/models/operations/update-attribute-select-option.ts: last_write_checksum: sha1:8adde841dcef8d57034daaf262965077250889b7 src/models/operations/update-attribute-status.ts: last_write_checksum: sha1:5f7f972cd630fc98b46b940258dacf28f14d0060 src/models/operations/update-attribute.ts: - last_write_checksum: sha1:e0f5b289d256ccc2cf442f57029df9ccf21afdca + last_write_checksum: sha1:56719d31c31056611413cddfbc9a3496a324f782 src/models/operations/update-entry.ts: - last_write_checksum: sha1:c0b28e187beb4dfc95dbefe66740060463f9700f + last_write_checksum: sha1:394d725187f140838d8150584c53e4fb5f4c094d src/models/operations/update-list.ts: last_write_checksum: sha1:1bbdbf934bef1af88f04b7ba92bdb76a063b05af src/models/operations/update-object.ts: last_write_checksum: sha1:2ceec8f37e2256230a8a59a45b3516fa37c76f62 src/models/operations/update-record.ts: - last_write_checksum: sha1:5c3549d6a13fec6a899d3a5394916b484fe8678a - src/models/operations/update-scim-group.ts: - last_write_checksum: sha1:964e664e35dfb4b5e314d54152c97400f5df362e - src/models/operations/update-scim-user.ts: - last_write_checksum: sha1:57ea47101df9c8f7a4dd0c5303d3e8b61243a9c1 + last_write_checksum: sha1:1f3645c0dcd823cd67c63d7b8fd73c7076e47806 src/models/operations/update-task.ts: last_write_checksum: sha1:9d8e7e6a37df2f0624b85ed6ec0b692346f3b829 src/models/operations/update-webhook.ts: @@ -4245,7 +4077,7 @@ trackedFiles: last_write_checksum: sha1:ba6b75d8b0faa2f9de5e607722ac913b3eb1b4bb src/models/output-value.ts: id: f045782242ce - last_write_checksum: sha1:0028cd2b042e529cb2447df2774f379e63326c9b + last_write_checksum: sha1:07c9bc2a0283f68025e468be042e423d13e8594d pristine_git_object: 85ceb924c6cbb8fd5f59e9fabca1ccbd341723e9 src/models/security.ts: id: d90c6c784ca5 @@ -4288,7 +4120,7 @@ trackedFiles: last_write_checksum: sha1:581d51a8984b58a2bd4a1179be6ac0e0265a89b2 pristine_git_object: 745c57c0d52013946bf6897199ac7f3145f98a74 src/sdk/files.ts: - last_write_checksum: sha1:85f9e5449cdfc27fb3e215c0db2e41a6a172de42 + last_write_checksum: sha1:65c45d36c8862797bafc3a5f89178e639ecba42d src/sdk/index.ts: id: a857902a703f last_write_checksum: sha1:ed6d64f2a6135349aa8498b8d8cff9ba85c7fb8f @@ -4319,17 +4151,9 @@ trackedFiles: id: 6c95f11fdf04 last_write_checksum: sha1:1fb26b35802c12e449de6d3c4f7d8f450cd47eb9 pristine_git_object: 8cbcb4b3af7a1f6d9f6067eb0642ec83c23bd51b - src/sdk/scim-groups.ts: - last_write_checksum: sha1:31426c06cf53b670e21b621f8952a1f50c6de5ea - src/sdk/scim-schemas.ts: - id: 403c54f40969 - last_write_checksum: sha1:5031f000a816689d24318dcb655e50955c13990d - pristine_git_object: 148d94c2e39771038eb7d07ae4bba344cc79f103 - src/sdk/scim-users.ts: - last_write_checksum: sha1:f13dc41d6c4d1142da4d16bf68f4bd123964e34c src/sdk/sdk.ts: id: 784571af2f69 - last_write_checksum: sha1:f3c8ed7cbf1a0b78a86bd11484aaec7e266023f7 + last_write_checksum: sha1:fff846e4c3d920146633d412897b59922cd41c6e pristine_git_object: 14fc36b6bb2e59e5a2ade69dd3dc7a3e3362ec72 src/sdk/tasks.ts: id: 998c61887b99 @@ -4353,7 +4177,7 @@ trackedFiles: pristine_git_object: a2eed65b8dbb74b32d9ef70af5cf41ceac276c72 src/types/async.ts: id: fac8da972f86 - last_write_checksum: sha1:3ff07b3feaf390ec1aeb18ff938e139c6c4a9585 + last_write_checksum: sha1:675d04bb4b4081dc3482f18de98674f9b446e7b4 pristine_git_object: 689dba5de50e8769e5f3bb913e3f42a146d15bc1 src/types/blobs.ts: id: f8ab9b326c86 @@ -4389,7 +4213,7 @@ trackedFiles: pristine_git_object: beb81e10f0b9eee2ed398a853fe6f737b743f818 src/types/primitives.ts: id: 0cd7f4ac625d - last_write_checksum: sha1:c3ce85778bf82bc0f0d464067b04856d99ff4365 + last_write_checksum: sha1:a521a09fa18b1af857d29477d3aa7007b42583ed pristine_git_object: 6180991492b8b6afccb3bb808010d4a15823168f src/types/rfcdate.ts: id: 9eb64906dcd6 @@ -6457,3 +6281,4 @@ examples: "204": application/json: {} examplesVersion: 1.0.2 +releaseNotes: "## Typescript SDK Changes:\n* `attio.scimSchemas.list()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.list()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.create()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.get()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.patch()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.update()`: **Removed** (Breaking ⚠️)\n* `attio.scimUsers.delete()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.list()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.create()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.get()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.patch()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.update()`: **Removed** (Breaking ⚠️)\n* `attio.scimGroups.delete()`: **Removed** (Breaking ⚠️)\n* `attio.attributes.listAll()`: `response.data[]` **Changed**\n* `attio.attributes.createNew()`: \n * `request.body.data.config.currency.defaultCurrencyCode.enum(try)` **Added**\n * `response.data` **Changed**\n* `attio.attributes.get()`: `response.data` **Changed**\n* `attio.attributes.update()`: \n * `request.body.data.config.currency.defaultCurrencyCode.enum(try)` **Added**\n * `response.data` **Changed**\n* `attio.records.query()`: `response.data[].values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.create()`: `response.data.values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.assert()`: `response.data.values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.get()`: `response.data.values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.update()`: `response.data.values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.updateAppend()`: `response.data.values.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.records.listAttributeValues()`: `response.data[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.query()`: `response.data[].entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.create()`: `response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.assert()`: `response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.get()`: `response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.update()`: `response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.updateAppending()`: `response.data.entryValues.Map>[].union(currency).currencyCode.enum(try)` **Added**\n* `attio.entries.listAttributeValues()`: `response.data[].union(currency).currencyCode.enum(try)` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2013b8e..9b938e2 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -35,7 +35,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 0.2.19 + version: 0.3.0 acceptHeaderEnum: false additionalDependencies: dependencies: {} @@ -46,6 +46,7 @@ typescript: additionalScripts: prepublishOnly: node ./scripts/reorder-exports.mjs && npm run build alwaysIncludeInboundAndOutbound: false + apiPromiseHelpers: false author: Interfere, Inc. baseErrorName: AttioBaseError clientServerStatusCodesAsErrors: true @@ -56,6 +57,7 @@ typescript: enableReactQuery: false enumFormat: union envVarPrefix: ATTIO + eventStreamClassName: EventStream exportZodModelNamespace: false fixEnumNameSanitization: false flatAdditionalProperties: true @@ -87,6 +89,8 @@ typescript: packageName: '@interfere/attio' preApplyUnionDiscriminators: true preserveModelFieldNames: false + privateIdentifierPrefix: '#' + requestExtras: false responseFormat: flat sseFlatResponse: false templateVersion: v2 diff --git a/.speakeasy/outputs/attio.openapi.yaml b/.speakeasy/outputs/attio.openapi.yaml index 0db865a..75fa2be 100644 --- a/.speakeasy/outputs/attio.openapi.yaml +++ b/.speakeasy/outputs/attio.openapi.yaml @@ -781,6 +781,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -1140,6 +1141,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -2408,6 +2410,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -4115,6 +4118,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -5831,6 +5835,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -7522,6 +7527,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -9211,6 +9217,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -10988,6 +10995,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -12666,6 +12674,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -15340,6 +15349,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -17073,6 +17083,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -18830,6 +18841,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -20561,6 +20573,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -22290,6 +22303,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -24108,6 +24122,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -25821,6 +25836,7 @@ paths: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -30480,7 +30496,7 @@ paths: summary: "List files" operationId: listFiles description: |- - Lists internal files, externally connected files and folders across the workspace. Optional query parameters may be provided to filter results by object, record, storage provider or parent folder. + Lists internal files, externally connected files and folders for a specific record. Use the `object` and `record_id` query parameters to specify the record. Optional query parameters may be provided to filter results by storage provider or parent folder. This endpoint is in beta. We will aim to avoid breaking changes, but small updates may be made as we roll out to more users. @@ -30498,7 +30514,7 @@ paths: required: true schema: type: "string" - description: "Used to filter files to only those on a specific record." + description: "The record ID for the specific record whose files you want to list." format: "uuid" - name: "storage_provider" in: "query" @@ -30994,846 +31010,6 @@ paths: metadata: tag: "BETA" x-speakeasy-name-override: download - /scim/v2/Schemas: - get: - tags: - - "SCIM schemas" - summary: "List SCIM schemas" - operationId: listScimSchemas - description: |- - Lists the SCIM schemas supported by this service provider. - - Required scopes: `user_management:read`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "totalResults" - - "startIndex" - - "itemsPerPage" - - "Resources" - properties: - schemas: - type: "array" - items: - type: "string" - totalResults: - type: "number" - startIndex: - type: "number" - itemsPerPage: - type: "number" - Resources: - type: "array" - items: {} - security: - - oauth2: - - "user_management:read" - x-hidden: true - x-speakeasy-name-override: list - x-speakeasy-group: scimSchemas - /scim/v2/Users: - get: - tags: - - "SCIM users" - summary: "List SCIM users" - operationId: listScimUsers - description: |- - Lists SCIM users for the workspace. - - Required scopes: `user_management:read`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "totalResults" - - "startIndex" - - "itemsPerPage" - - "Resources" - properties: - schemas: - type: "array" - items: - type: "string" - totalResults: - type: "number" - startIndex: - type: "number" - itemsPerPage: - type: "number" - Resources: - type: "array" - items: {} - security: - - oauth2: - - "user_management:read" - x-hidden: true - x-speakeasy-name-override: list - x-speakeasy-group: scimUsers - post: - tags: - - "SCIM users" - summary: "Create SCIM user" - operationId: createScimUser - description: |- - Creates a SCIM user in the workspace. - - Required scopes: `user_management:read-write`. - responses: - 201: - description: "Created" - content: - application/json: - schema: - type: "object" - description: "Created" - required: - - "schemas" - - "id" - - "userName" - - "name" - - "emails" - - "roles" - - "active" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - userName: - type: "string" - name: - type: "object" - required: - - "givenName" - - "familyName" - properties: - givenName: - type: "string" - familyName: - type: "string" - emails: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - type: - type: "string" - value: - type: "string" - primary: - type: "boolean" - roles: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - value: - type: "string" - primary: - type: "boolean" - profileUrl: - type: "string" - active: - type: "boolean" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: create - x-speakeasy-group: scimUsers - /scim/v2/Groups: - get: - tags: - - "SCIM groups" - summary: "List SCIM groups" - operationId: listScimGroups - description: |- - Lists SCIM groups for the workspace. - - Required scopes: `user_management:read`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "totalResults" - - "startIndex" - - "itemsPerPage" - - "Resources" - properties: - schemas: - type: "array" - items: - type: "string" - totalResults: - type: "number" - startIndex: - type: "number" - itemsPerPage: - type: "number" - Resources: - type: "array" - items: {} - security: - - oauth2: - - "user_management:read" - x-hidden: true - x-speakeasy-name-override: list - x-speakeasy-group: scimGroups - post: - tags: - - "SCIM groups" - summary: "Create SCIM group" - operationId: createScimGroup - description: |- - Creates a SCIM group for the workspace. - - Required scopes: `user_management:read-write`. - responses: - 201: - description: "Created" - content: - application/json: - schema: - type: "object" - description: "Created" - required: - - "schemas" - - "id" - - "displayName" - - "members" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - displayName: - type: "string" - members: - type: "array" - items: - type: "object" - required: - - "value" - - "$ref" - properties: - $ref: - type: "string" - value: - type: "string" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: create - x-speakeasy-group: scimGroups - /scim/v2/Users/{user_id}: - parameters: - - name: user_id - in: path - required: true - schema: - type: string - get: - tags: - - "SCIM users" - summary: "Get SCIM user" - operationId: getScimUser - description: |- - Gets a SCIM user by ID. - - Required scopes: `user_management:read`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "userName" - - "name" - - "emails" - - "active" - - "roles" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - userName: - type: "string" - name: - type: "object" - required: - - "familyName" - - "givenName" - properties: - familyName: - type: "string" - givenName: - type: "string" - emails: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - value: - type: "string" - primary: - type: "boolean" - active: - type: "boolean" - roles: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - value: - type: "string" - primary: - type: "boolean" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read" - x-hidden: true - x-speakeasy-name-override: get - x-speakeasy-group: scimUsers - patch: - tags: - - "SCIM users" - summary: "Patch SCIM user" - operationId: patchScimUser - description: |- - Patches a SCIM user in the workspace. - - Required scopes: `user_management:read-write`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "userName" - - "name" - - "emails" - - "roles" - - "profileUrl" - - "active" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - userName: - type: "string" - name: - type: "object" - required: - - "givenName" - - "familyName" - properties: - givenName: - type: "string" - familyName: - type: "string" - emails: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - type: - type: "string" - value: - type: "string" - primary: - type: "boolean" - roles: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - value: - type: "string" - primary: - type: "boolean" - profileUrl: - type: - - "string" - - "null" - active: - type: "boolean" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - 204: - description: "No Content" - content: - application/json: - schema: - type: "object" - description: "No Content" - properties: {} - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: patch - x-speakeasy-group: scimUsers - put: - tags: - - "SCIM users" - summary: "Update SCIM user" - operationId: updateScimUser - description: |- - Updates a SCIM user in the workspace. - - Required scopes: `user_management:read-write`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "userName" - - "name" - - "emails" - - "roles" - - "profileUrl" - - "active" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - userName: - type: "string" - name: - type: "object" - required: - - "givenName" - - "familyName" - properties: - givenName: - type: "string" - familyName: - type: "string" - emails: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - type: - type: "string" - value: - type: "string" - primary: - type: "boolean" - roles: - type: "array" - items: - type: "object" - required: - - "value" - - "primary" - properties: - value: - type: "string" - primary: - type: "boolean" - profileUrl: - type: - - "string" - - "null" - active: - type: "boolean" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - 204: - description: "No Content" - content: - application/json: - schema: - type: "object" - description: "No Content" - properties: {} - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: update - x-speakeasy-group: scimUsers - delete: - tags: - - "SCIM users" - summary: "Delete SCIM user" - operationId: deleteScimUser - description: |- - Deletes a SCIM user from the workspace. - - Required scopes: `user_management:read-write`. - responses: - 204: - description: "No Content" - content: - application/json: - schema: - type: "object" - description: "No Content" - properties: {} - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: delete - x-speakeasy-group: scimUsers - /scim/v2/Groups/{workspace_team_id}: - parameters: - - name: workspace_team_id - in: path - required: true - schema: - type: string - get: - tags: - - "SCIM groups" - summary: "Get SCIM group" - operationId: getScimGroup - description: |- - Gets a SCIM group by ID. - - Required scopes: `user_management:read`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "displayName" - - "members" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - displayName: - type: "string" - members: - type: "array" - items: - type: "object" - required: - - "value" - - "$ref" - properties: - $ref: - type: "string" - value: - type: "string" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read" - x-hidden: true - x-speakeasy-name-override: get - x-speakeasy-group: scimGroups - patch: - tags: - - "SCIM groups" - summary: "Patch SCIM group" - operationId: patchScimGroup - description: |- - Patches a SCIM group in the workspace. - - Required scopes: `user_management:read-write`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "displayName" - - "members" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - displayName: - type: "string" - members: - type: "array" - items: - type: "object" - required: - - "value" - - "$ref" - properties: - $ref: - type: "string" - value: - type: "string" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: patch - x-speakeasy-group: scimGroups - put: - tags: - - "SCIM groups" - summary: "Update SCIM group" - operationId: updateScimGroup - description: |- - Updates a SCIM group in the workspace. - - Required scopes: `user_management:read-write`. - responses: - 200: - description: "Success" - content: - application/json: - schema: - type: "object" - description: "Success" - required: - - "schemas" - - "id" - - "displayName" - - "members" - - "meta" - properties: - schemas: - type: "array" - items: - type: "string" - id: - type: "string" - displayName: - type: "string" - members: - type: "array" - items: - type: "object" - required: - - "value" - - "$ref" - properties: - $ref: - type: "string" - value: - type: "string" - meta: - type: "object" - required: - - "resourceType" - - "created" - - "lastModified" - properties: - resourceType: - type: "string" - created: - type: "string" - lastModified: - type: "string" - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: update - x-speakeasy-group: scimGroups - delete: - tags: - - "SCIM groups" - summary: "Delete SCIM group" - operationId: deleteScimGroup - description: |- - Deletes a SCIM group from the workspace. - - Required scopes: `user_management:read-write`. - responses: - 204: - description: "No Content" - content: - application/json: - schema: - type: "object" - description: "No Content" - properties: {} - security: - - oauth2: - - "user_management:read-write" - x-hidden: true - x-speakeasy-name-override: delete - x-speakeasy-group: scimGroups /v2/webhooks: get: tags: @@ -34430,6 +33606,7 @@ components: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" @@ -35589,6 +34766,7 @@ components: - "SEK" - "CHF" - "THB" + - "TRY" - "AED" - "UYU" - "USD" diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index f48d149..c7981b3 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.763.1 +speakeasyVersion: 1.778.0 sources: Attio API: sourceNamespace: attio-api - sourceRevisionDigest: sha256:c3704bbae1d0cea46151186d7a2d0b28247d2f82d164f65cdbe2b73fb51f2830 - sourceBlobDigest: sha256:bc466503999c647ed5be9c13ff5ee0efa4cd09553ca183f23da4fba8a9fd02d3 + sourceRevisionDigest: sha256:28561c1d045bd067dcae18b6e408254bc0d2e7640269ea9dbf08a89a2106957c + sourceBlobDigest: sha256:83237836c553419b42ea10c98ab76d26a3367a55871e355dc2ec5881fc75e75e tags: - latest - 2.0.0 @@ -11,10 +11,10 @@ targets: attio: source: Attio API sourceNamespace: attio-api - sourceRevisionDigest: sha256:c3704bbae1d0cea46151186d7a2d0b28247d2f82d164f65cdbe2b73fb51f2830 - sourceBlobDigest: sha256:bc466503999c647ed5be9c13ff5ee0efa4cd09553ca183f23da4fba8a9fd02d3 + sourceRevisionDigest: sha256:28561c1d045bd067dcae18b6e408254bc0d2e7640269ea9dbf08a89a2106957c + sourceBlobDigest: sha256:83237836c553419b42ea10c98ab76d26a3367a55871e355dc2ec5881fc75e75e codeSamplesNamespace: attio-api-typescript-code-samples - codeSamplesRevisionDigest: sha256:a455c6de9f4c8fb4f133a1521618ee334fd282b5cf1bdbe48b8c51466cf46c26 + codeSamplesRevisionDigest: sha256:3cb0ef590dd832e93519254e7c66c31b944651508b944235d8ef2e1d72458427 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 66e7940..c805446 100644 --- a/README.md +++ b/README.md @@ -227,28 +227,6 @@ run(); * [listEntries](docs/sdks/records/README.md#listentries) - List record entries * [search](docs/sdks/records/README.md#search) - Search records -### [ScimGroups](docs/sdks/scimgroups/README.md) - -* [list](docs/sdks/scimgroups/README.md#list) - List SCIM groups -* [create](docs/sdks/scimgroups/README.md#create) - Create SCIM group -* [get](docs/sdks/scimgroups/README.md#get) - Get SCIM group -* [patch](docs/sdks/scimgroups/README.md#patch) - Patch SCIM group -* [update](docs/sdks/scimgroups/README.md#update) - Update SCIM group -* [delete](docs/sdks/scimgroups/README.md#delete) - Delete SCIM group - -### [ScimSchemas](docs/sdks/scimschemas/README.md) - -* [list](docs/sdks/scimschemas/README.md#list) - List SCIM schemas - -### [ScimUsers](docs/sdks/scimusers/README.md) - -* [list](docs/sdks/scimusers/README.md#list) - List SCIM users -* [create](docs/sdks/scimusers/README.md#create) - Create SCIM user -* [get](docs/sdks/scimusers/README.md#get) - Get SCIM user -* [patch](docs/sdks/scimusers/README.md#patch) - Patch SCIM user -* [update](docs/sdks/scimusers/README.md#update) - Update SCIM user -* [delete](docs/sdks/scimusers/README.md#delete) - Delete SCIM user - ### [Tasks](docs/sdks/tasks/README.md) * [list](docs/sdks/tasks/README.md#list) - List tasks @@ -356,19 +334,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`recordsSearch`](docs/sdks/records/README.md#search) - Search records - [`recordsUpdate`](docs/sdks/records/README.md#update) - Update a record (overwrite multiselect values) - [`recordsUpdateAppend`](docs/sdks/records/README.md#updateappend) - Update a record (append multiselect values) -- [`scimGroupsCreate`](docs/sdks/scimgroups/README.md#create) - Create SCIM group -- [`scimGroupsDelete`](docs/sdks/scimgroups/README.md#delete) - Delete SCIM group -- [`scimGroupsGet`](docs/sdks/scimgroups/README.md#get) - Get SCIM group -- [`scimGroupsList`](docs/sdks/scimgroups/README.md#list) - List SCIM groups -- [`scimGroupsPatch`](docs/sdks/scimgroups/README.md#patch) - Patch SCIM group -- [`scimGroupsUpdate`](docs/sdks/scimgroups/README.md#update) - Update SCIM group -- [`scimSchemasList`](docs/sdks/scimschemas/README.md#list) - List SCIM schemas -- [`scimUsersCreate`](docs/sdks/scimusers/README.md#create) - Create SCIM user -- [`scimUsersDelete`](docs/sdks/scimusers/README.md#delete) - Delete SCIM user -- [`scimUsersGet`](docs/sdks/scimusers/README.md#get) - Get SCIM user -- [`scimUsersList`](docs/sdks/scimusers/README.md#list) - List SCIM users -- [`scimUsersPatch`](docs/sdks/scimusers/README.md#patch) - Patch SCIM user -- [`scimUsersUpdate`](docs/sdks/scimusers/README.md#update) - Update SCIM user - [`tasksCreate`](docs/sdks/tasks/README.md#create) - Create a task - [`tasksDelete`](docs/sdks/tasks/README.md#delete) - Delete a task - [`tasksGet`](docs/sdks/tasks/README.md#get) - Get a task @@ -563,97 +528,97 @@ run(); **Inherit from [`AttioBaseError`](./src/models/errors/attio-base-error.ts)**: -* [`QuotaExceededError`](./src/models/errors/quota-exceeded-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateObjectValidationTypeError`](./src/models/errors/update-object-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateNewAttributeValidationTypeError`](./src/models/errors/create-new-attribute-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`SystemEditUnauthorizedError`](./src/models/errors/system-edit-unauthorized-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeSelectOptionValueNotFoundError`](./src/models/errors/update-attribute-select-option-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateAttributeStatusValidationTypeError`](./src/models/errors/create-attribute-status-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeStatusValueNotFoundError`](./src/models/errors/update-attribute-status-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`FilterError`](./src/models/errors/filter-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateRecordValueNotFoundError`](./src/models/errors/create-record-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`AssertRecordValueNotFoundError`](./src/models/errors/assert-record-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateRecordMissingValueError`](./src/models/errors/update-record-missing-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateAppendRecordMissingValueError`](./src/models/errors/update-append-record-missing-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`ListRecordAttributeValuesValidationTypeError`](./src/models/errors/list-record-attribute-values-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`SearchRecordsValueNotFoundError`](./src/models/errors/search-records-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateListValueNotFoundError`](./src/models/errors/create-list-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateListValueNotFoundError`](./src/models/errors/update-list-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateEntryValueNotFoundError`](./src/models/errors/create-entry-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`MultipleMatchResultsError`](./src/models/errors/multiple-match-results-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateEntryImmutableValueError`](./src/models/errors/update-entry-immutable-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateAppendingEntryImmutableValueError`](./src/models/errors/update-appending-entry-immutable-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateTaskValidationTypeError`](./src/models/errors/create-task-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`UpdateTaskValidationTypeError`](./src/models/errors/update-task-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateCommentValueNotFoundError`](./src/models/errors/create-comment-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`FindOrCreateMeetingValidationTypeError`](./src/models/errors/find-or-create-meeting-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateCallRecordingValidationTypeError`](./src/models/errors/create-call-recording-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateWebhookValidationTypeError`](./src/models/errors/create-webhook-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`CreateAttributeOptionValidationTypeError`](./src/models/errors/create-attribute-option-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 87 methods.* -* [`BillingError`](./src/models/errors/billing-error.ts): Forbidden. Status code `403`. Applicable to 1 of 87 methods.* -* [`AuthError`](./src/models/errors/auth-error.ts): Forbidden. Status code `403`. Applicable to 1 of 87 methods.* -* [`GetObjectNotFoundError`](./src/models/errors/get-object-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateObjectNotFoundError`](./src/models/errors/update-object-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetObjectViewsNotFoundError`](./src/models/errors/get-object-views-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateNewAttributeNotFoundError`](./src/models/errors/create-new-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetAttributeNotFoundError`](./src/models/errors/get-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeNotFoundError`](./src/models/errors/update-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeSelectOptionNotFoundError`](./src/models/errors/update-attribute-select-option-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`ListAttributeStatusesNotFoundError`](./src/models/errors/list-attribute-statuses-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateAttributeStatusNotFoundError`](./src/models/errors/create-attribute-status-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeStatusNotFoundError`](./src/models/errors/update-attribute-status-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`QueryRecordsNotFoundError`](./src/models/errors/query-records-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateRecordNotFoundError`](./src/models/errors/create-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`AssertRecordNotFoundError`](./src/models/errors/assert-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetRecordNotFoundError`](./src/models/errors/get-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateRecordNotFoundError`](./src/models/errors/update-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteRecordNotFoundError`](./src/models/errors/delete-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateAppendRecordNotFoundError`](./src/models/errors/update-append-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`ListRecordAttributeValuesNotFoundError`](./src/models/errors/list-record-attribute-values-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateListNotFoundError`](./src/models/errors/create-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetListNotFoundError`](./src/models/errors/get-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateListNotFoundError`](./src/models/errors/update-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetListViewsNotFoundError`](./src/models/errors/get-list-views-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`QueryEntriesNotFoundError`](./src/models/errors/query-entries-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateEntryNotFoundError`](./src/models/errors/create-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`AssertEntryNotFoundError`](./src/models/errors/assert-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetEntryNotFoundError`](./src/models/errors/get-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateEntryNotFoundError`](./src/models/errors/update-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteEntryNotFoundError`](./src/models/errors/delete-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateAppendingEntryNotFoundError`](./src/models/errors/update-appending-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`ListEntryAttributeValuesNotFoundError`](./src/models/errors/list-entry-attribute-values-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetWorkspaceMemberNotFoundError`](./src/models/errors/get-workspace-member-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`ListNotesNotFoundError`](./src/models/errors/list-notes-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateNoteNotFoundError`](./src/models/errors/create-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetNoteNotFoundError`](./src/models/errors/get-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteNoteNotFoundError`](./src/models/errors/delete-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateTaskNotFoundError`](./src/models/errors/create-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetTaskNotFoundError`](./src/models/errors/get-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteTaskNotFoundError`](./src/models/errors/delete-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateTaskNotFoundError`](./src/models/errors/update-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetThreadNotFoundError`](./src/models/errors/get-thread-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetCommentNotFoundError`](./src/models/errors/get-comment-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteCommentNotFoundError`](./src/models/errors/delete-comment-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetMeetingNotFoundError`](./src/models/errors/get-meeting-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateCallRecordingNotFoundError`](./src/models/errors/create-call-recording-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetCallRecordingNotFoundError`](./src/models/errors/get-call-recording-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteCallRecordingNotFoundError`](./src/models/errors/delete-call-recording-not-found-error.ts): Call recording not found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetFileNotFoundError`](./src/models/errors/get-file-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteFileNotFoundError`](./src/models/errors/delete-file-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`GetWebhookNotFoundError`](./src/models/errors/get-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`DeleteWebhookNotFoundError`](./src/models/errors/delete-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`UpdateWebhookNotFoundError`](./src/models/errors/update-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`ListAttributeOptionsNotFoundError`](./src/models/errors/list-attribute-options-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateAttributeOptionNotFoundError`](./src/models/errors/create-attribute-option-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 87 methods.* -* [`CreateObjectSlugConflictError`](./src/models/errors/create-object-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`UpdateObjectSlugConflictError`](./src/models/errors/update-object-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`CreateNewAttributeSlugConflictError`](./src/models/errors/create-new-attribute-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeSelectOptionSlugConflictError`](./src/models/errors/update-attribute-select-option-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`CreateAttributeStatusSlugConflictError`](./src/models/errors/create-attribute-status-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`UpdateAttributeStatusSlugConflictError`](./src/models/errors/update-attribute-status-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`CreateListSlugConflictError`](./src/models/errors/create-list-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`CreateAttributeOptionSlugConflictError`](./src/models/errors/create-attribute-option-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 87 methods.* -* [`CreateNoteValidationTypeError`](./src/models/errors/create-note-validation-type-error.ts): Content Too Large. Status code `413`. Applicable to 1 of 87 methods.* +* [`QuotaExceededError`](./src/models/errors/quota-exceeded-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateObjectValidationTypeError`](./src/models/errors/update-object-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateNewAttributeValidationTypeError`](./src/models/errors/create-new-attribute-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`SystemEditUnauthorizedError`](./src/models/errors/system-edit-unauthorized-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeSelectOptionValueNotFoundError`](./src/models/errors/update-attribute-select-option-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateAttributeStatusValidationTypeError`](./src/models/errors/create-attribute-status-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeStatusValueNotFoundError`](./src/models/errors/update-attribute-status-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`FilterError`](./src/models/errors/filter-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateRecordValueNotFoundError`](./src/models/errors/create-record-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`AssertRecordValueNotFoundError`](./src/models/errors/assert-record-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateRecordMissingValueError`](./src/models/errors/update-record-missing-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateAppendRecordMissingValueError`](./src/models/errors/update-append-record-missing-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`ListRecordAttributeValuesValidationTypeError`](./src/models/errors/list-record-attribute-values-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`SearchRecordsValueNotFoundError`](./src/models/errors/search-records-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateListValueNotFoundError`](./src/models/errors/create-list-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateListValueNotFoundError`](./src/models/errors/update-list-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateEntryValueNotFoundError`](./src/models/errors/create-entry-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`MultipleMatchResultsError`](./src/models/errors/multiple-match-results-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateEntryImmutableValueError`](./src/models/errors/update-entry-immutable-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateAppendingEntryImmutableValueError`](./src/models/errors/update-appending-entry-immutable-value-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateTaskValidationTypeError`](./src/models/errors/create-task-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`UpdateTaskValidationTypeError`](./src/models/errors/update-task-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateCommentValueNotFoundError`](./src/models/errors/create-comment-value-not-found-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`FindOrCreateMeetingValidationTypeError`](./src/models/errors/find-or-create-meeting-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateCallRecordingValidationTypeError`](./src/models/errors/create-call-recording-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateWebhookValidationTypeError`](./src/models/errors/create-webhook-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`CreateAttributeOptionValidationTypeError`](./src/models/errors/create-attribute-option-validation-type-error.ts): Bad Request. Status code `400`. Applicable to 1 of 74 methods.* +* [`BillingError`](./src/models/errors/billing-error.ts): Forbidden. Status code `403`. Applicable to 1 of 74 methods.* +* [`AuthError`](./src/models/errors/auth-error.ts): Forbidden. Status code `403`. Applicable to 1 of 74 methods.* +* [`GetObjectNotFoundError`](./src/models/errors/get-object-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateObjectNotFoundError`](./src/models/errors/update-object-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetObjectViewsNotFoundError`](./src/models/errors/get-object-views-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateNewAttributeNotFoundError`](./src/models/errors/create-new-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetAttributeNotFoundError`](./src/models/errors/get-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeNotFoundError`](./src/models/errors/update-attribute-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeSelectOptionNotFoundError`](./src/models/errors/update-attribute-select-option-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`ListAttributeStatusesNotFoundError`](./src/models/errors/list-attribute-statuses-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateAttributeStatusNotFoundError`](./src/models/errors/create-attribute-status-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeStatusNotFoundError`](./src/models/errors/update-attribute-status-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`QueryRecordsNotFoundError`](./src/models/errors/query-records-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateRecordNotFoundError`](./src/models/errors/create-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`AssertRecordNotFoundError`](./src/models/errors/assert-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetRecordNotFoundError`](./src/models/errors/get-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateRecordNotFoundError`](./src/models/errors/update-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteRecordNotFoundError`](./src/models/errors/delete-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateAppendRecordNotFoundError`](./src/models/errors/update-append-record-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`ListRecordAttributeValuesNotFoundError`](./src/models/errors/list-record-attribute-values-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateListNotFoundError`](./src/models/errors/create-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetListNotFoundError`](./src/models/errors/get-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateListNotFoundError`](./src/models/errors/update-list-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetListViewsNotFoundError`](./src/models/errors/get-list-views-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`QueryEntriesNotFoundError`](./src/models/errors/query-entries-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateEntryNotFoundError`](./src/models/errors/create-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`AssertEntryNotFoundError`](./src/models/errors/assert-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetEntryNotFoundError`](./src/models/errors/get-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateEntryNotFoundError`](./src/models/errors/update-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteEntryNotFoundError`](./src/models/errors/delete-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateAppendingEntryNotFoundError`](./src/models/errors/update-appending-entry-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`ListEntryAttributeValuesNotFoundError`](./src/models/errors/list-entry-attribute-values-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetWorkspaceMemberNotFoundError`](./src/models/errors/get-workspace-member-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`ListNotesNotFoundError`](./src/models/errors/list-notes-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateNoteNotFoundError`](./src/models/errors/create-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetNoteNotFoundError`](./src/models/errors/get-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteNoteNotFoundError`](./src/models/errors/delete-note-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateTaskNotFoundError`](./src/models/errors/create-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetTaskNotFoundError`](./src/models/errors/get-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteTaskNotFoundError`](./src/models/errors/delete-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateTaskNotFoundError`](./src/models/errors/update-task-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetThreadNotFoundError`](./src/models/errors/get-thread-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetCommentNotFoundError`](./src/models/errors/get-comment-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteCommentNotFoundError`](./src/models/errors/delete-comment-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetMeetingNotFoundError`](./src/models/errors/get-meeting-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateCallRecordingNotFoundError`](./src/models/errors/create-call-recording-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetCallRecordingNotFoundError`](./src/models/errors/get-call-recording-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteCallRecordingNotFoundError`](./src/models/errors/delete-call-recording-not-found-error.ts): Call recording not found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetFileNotFoundError`](./src/models/errors/get-file-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteFileNotFoundError`](./src/models/errors/delete-file-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`GetWebhookNotFoundError`](./src/models/errors/get-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`DeleteWebhookNotFoundError`](./src/models/errors/delete-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`UpdateWebhookNotFoundError`](./src/models/errors/update-webhook-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`ListAttributeOptionsNotFoundError`](./src/models/errors/list-attribute-options-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateAttributeOptionNotFoundError`](./src/models/errors/create-attribute-option-not-found-error.ts): Not Found. Status code `404`. Applicable to 1 of 74 methods.* +* [`CreateObjectSlugConflictError`](./src/models/errors/create-object-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`UpdateObjectSlugConflictError`](./src/models/errors/update-object-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`CreateNewAttributeSlugConflictError`](./src/models/errors/create-new-attribute-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeSelectOptionSlugConflictError`](./src/models/errors/update-attribute-select-option-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`CreateAttributeStatusSlugConflictError`](./src/models/errors/create-attribute-status-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`UpdateAttributeStatusSlugConflictError`](./src/models/errors/update-attribute-status-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`CreateListSlugConflictError`](./src/models/errors/create-list-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`CreateAttributeOptionSlugConflictError`](./src/models/errors/create-attribute-option-slug-conflict-error.ts): Conflict. Status code `409`. Applicable to 1 of 74 methods.* +* [`CreateNoteValidationTypeError`](./src/models/errors/create-note-validation-type-error.ts): Content Too Large. Status code `413`. Applicable to 1 of 74 methods.* * [`ResponseValidationError`](./src/models/errors/response-validation-error.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string. diff --git a/RELEASES.md b/RELEASES.md index 81b81c4..2cbe595 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -48,4 +48,14 @@ Based on: ### Generated - [typescript v0.2.17] . ### Releases -- [NPM v0.2.17] https://www.npmjs.com/package/@interfere/attio/v/0.2.17 - . \ No newline at end of file +- [NPM v0.2.17] https://www.npmjs.com/package/@interfere/attio/v/0.2.17 - . + +## 2026-06-13 01:05:44 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.778.0 (2.904.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.3.0] . +### Releases +- [NPM v0.3.0] https://www.npmjs.com/package/@interfere/attio/v/0.3.0 - . \ No newline at end of file diff --git a/docs/models/currency-code.md b/docs/models/currency-code.md index 82d5039..8460fe6 100644 --- a/docs/models/currency-code.md +++ b/docs/models/currency-code.md @@ -15,5 +15,5 @@ let value: CurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/default-currency-code.md b/docs/models/default-currency-code.md index 2052226..96f86d0 100644 --- a/docs/models/default-currency-code.md +++ b/docs/models/default-currency-code.md @@ -15,5 +15,5 @@ let value: DefaultCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/assert-entry-currency-code.md b/docs/models/operations/assert-entry-currency-code.md index eea7b44..22340b3 100644 --- a/docs/models/operations/assert-entry-currency-code.md +++ b/docs/models/operations/assert-entry-currency-code.md @@ -15,5 +15,5 @@ let value: AssertEntryCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/assert-record-currency-code.md b/docs/models/operations/assert-record-currency-code.md index 9f4c313..d146379 100644 --- a/docs/models/operations/assert-record-currency-code.md +++ b/docs/models/operations/assert-record-currency-code.md @@ -15,5 +15,5 @@ let value: AssertRecordCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/create-entry-currency-code.md b/docs/models/operations/create-entry-currency-code.md index aefddd8..ca9a987 100644 --- a/docs/models/operations/create-entry-currency-code.md +++ b/docs/models/operations/create-entry-currency-code.md @@ -15,5 +15,5 @@ let value: CreateEntryCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/create-new-attribute-default-currency-code.md b/docs/models/operations/create-new-attribute-default-currency-code.md index b42c36c..a7700bf 100644 --- a/docs/models/operations/create-new-attribute-default-currency-code.md +++ b/docs/models/operations/create-new-attribute-default-currency-code.md @@ -13,5 +13,5 @@ let value: CreateNewAttributeDefaultCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" ``` \ No newline at end of file diff --git a/docs/models/operations/create-record-currency-code.md b/docs/models/operations/create-record-currency-code.md index a35c1ca..75f0eb2 100644 --- a/docs/models/operations/create-record-currency-code.md +++ b/docs/models/operations/create-record-currency-code.md @@ -15,5 +15,5 @@ let value: CreateRecordCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/create-scim-group-member.md b/docs/models/operations/create-scim-group-member.md deleted file mode 100644 index c5a17da..0000000 --- a/docs/models/operations/create-scim-group-member.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateScimGroupMember - -## Example Usage - -```typescript -import { CreateScimGroupMember } from "@interfere/attio/models/operations"; - -let value: CreateScimGroupMember = { - dollarRef: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `dollarRef` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-group-meta.md b/docs/models/operations/create-scim-group-meta.md deleted file mode 100644 index f5c897b..0000000 --- a/docs/models/operations/create-scim-group-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateScimGroupMeta - -## Example Usage - -```typescript -import { CreateScimGroupMeta } from "@interfere/attio/models/operations"; - -let value: CreateScimGroupMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-group-response.md b/docs/models/operations/create-scim-group-response.md deleted file mode 100644 index 218989b..0000000 --- a/docs/models/operations/create-scim-group-response.md +++ /dev/null @@ -1,36 +0,0 @@ -# CreateScimGroupResponse - -Created - -## Example Usage - -```typescript -import { CreateScimGroupResponse } from "@interfere/attio/models/operations"; - -let value: CreateScimGroupResponse = { - schemas: [], - id: "", - displayName: "Kody_Kutch60", - members: [ - { - dollarRef: "", - value: "", - }, - ], - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `displayName` | *string* | :heavy_check_mark: | N/A | -| `members` | [operations.CreateScimGroupMember](../../models/operations/create-scim-group-member.md)[] | :heavy_check_mark: | N/A | -| `meta` | [operations.CreateScimGroupMeta](../../models/operations/create-scim-group-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-user-email.md b/docs/models/operations/create-scim-user-email.md deleted file mode 100644 index 2c5576e..0000000 --- a/docs/models/operations/create-scim-user-email.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateScimUserEmail - -## Example Usage - -```typescript -import { CreateScimUserEmail } from "@interfere/attio/models/operations"; - -let value: CreateScimUserEmail = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-user-meta.md b/docs/models/operations/create-scim-user-meta.md deleted file mode 100644 index e9952df..0000000 --- a/docs/models/operations/create-scim-user-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateScimUserMeta - -## Example Usage - -```typescript -import { CreateScimUserMeta } from "@interfere/attio/models/operations"; - -let value: CreateScimUserMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-user-name.md b/docs/models/operations/create-scim-user-name.md deleted file mode 100644 index 740ed5e..0000000 --- a/docs/models/operations/create-scim-user-name.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateScimUserName - -## Example Usage - -```typescript -import { CreateScimUserName } from "@interfere/attio/models/operations"; - -let value: CreateScimUserName = { - givenName: "", - familyName: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `givenName` | *string* | :heavy_check_mark: | N/A | -| `familyName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-user-response.md b/docs/models/operations/create-scim-user-response.md deleted file mode 100644 index 89b06e9..0000000 --- a/docs/models/operations/create-scim-user-response.md +++ /dev/null @@ -1,45 +0,0 @@ -# CreateScimUserResponse - -Created - -## Example Usage - -```typescript -import { CreateScimUserResponse } from "@interfere/attio/models/operations"; - -let value: CreateScimUserResponse = { - schemas: [ - "", - "", - "", - ], - id: "", - userName: "Reta.Kilback92", - name: { - givenName: "", - familyName: "", - }, - emails: [], - roles: [], - active: true, - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `userName` | *string* | :heavy_check_mark: | N/A | -| `name` | [operations.CreateScimUserName](../../models/operations/create-scim-user-name.md) | :heavy_check_mark: | N/A | -| `emails` | [operations.CreateScimUserEmail](../../models/operations/create-scim-user-email.md)[] | :heavy_check_mark: | N/A | -| `roles` | [operations.CreateScimUserRole](../../models/operations/create-scim-user-role.md)[] | :heavy_check_mark: | N/A | -| `profileUrl` | *string* | :heavy_minus_sign: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `meta` | [operations.CreateScimUserMeta](../../models/operations/create-scim-user-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/create-scim-user-role.md b/docs/models/operations/create-scim-user-role.md deleted file mode 100644 index d115eea..0000000 --- a/docs/models/operations/create-scim-user-role.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateScimUserRole - -## Example Usage - -```typescript -import { CreateScimUserRole } from "@interfere/attio/models/operations"; - -let value: CreateScimUserRole = { - value: "", - primary: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/delete-scim-group-request.md b/docs/models/operations/delete-scim-group-request.md deleted file mode 100644 index 4bc41cf..0000000 --- a/docs/models/operations/delete-scim-group-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteScimGroupRequest - -## Example Usage - -```typescript -import { DeleteScimGroupRequest } from "@interfere/attio/models/operations"; - -let value: DeleteScimGroupRequest = { - workspaceTeamId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `workspaceTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/delete-scim-group-response.md b/docs/models/operations/delete-scim-group-response.md deleted file mode 100644 index 24112a0..0000000 --- a/docs/models/operations/delete-scim-group-response.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteScimGroupResponse - -No Content - -## Example Usage - -```typescript -import { DeleteScimGroupResponse } from "@interfere/attio/models/operations"; - -let value: DeleteScimGroupResponse = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/delete-scim-user-request.md b/docs/models/operations/delete-scim-user-request.md deleted file mode 100644 index 5bc9740..0000000 --- a/docs/models/operations/delete-scim-user-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteScimUserRequest - -## Example Usage - -```typescript -import { DeleteScimUserRequest } from "@interfere/attio/models/operations"; - -let value: DeleteScimUserRequest = { - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/delete-scim-user-response.md b/docs/models/operations/delete-scim-user-response.md deleted file mode 100644 index 81e6c1a..0000000 --- a/docs/models/operations/delete-scim-user-response.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeleteScimUserResponse - -No Content - -## Example Usage - -```typescript -import { DeleteScimUserResponse } from "@interfere/attio/models/operations"; - -let value: DeleteScimUserResponse = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/get-entry-currency-code.md b/docs/models/operations/get-entry-currency-code.md index 49bcee0..030b2ea 100644 --- a/docs/models/operations/get-entry-currency-code.md +++ b/docs/models/operations/get-entry-currency-code.md @@ -15,5 +15,5 @@ let value: GetEntryCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/get-record-currency-code.md b/docs/models/operations/get-record-currency-code.md index c26ac1a..99cb64f 100644 --- a/docs/models/operations/get-record-currency-code.md +++ b/docs/models/operations/get-record-currency-code.md @@ -15,5 +15,5 @@ let value: GetRecordCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/get-scim-group-member.md b/docs/models/operations/get-scim-group-member.md deleted file mode 100644 index 0207237..0000000 --- a/docs/models/operations/get-scim-group-member.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetScimGroupMember - -## Example Usage - -```typescript -import { GetScimGroupMember } from "@interfere/attio/models/operations"; - -let value: GetScimGroupMember = { - dollarRef: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `dollarRef` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-group-meta.md b/docs/models/operations/get-scim-group-meta.md deleted file mode 100644 index 9416f1e..0000000 --- a/docs/models/operations/get-scim-group-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetScimGroupMeta - -## Example Usage - -```typescript -import { GetScimGroupMeta } from "@interfere/attio/models/operations"; - -let value: GetScimGroupMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-group-request.md b/docs/models/operations/get-scim-group-request.md deleted file mode 100644 index cf6c85f..0000000 --- a/docs/models/operations/get-scim-group-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetScimGroupRequest - -## Example Usage - -```typescript -import { GetScimGroupRequest } from "@interfere/attio/models/operations"; - -let value: GetScimGroupRequest = { - workspaceTeamId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `workspaceTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-group-response.md b/docs/models/operations/get-scim-group-response.md deleted file mode 100644 index 4ab3fd9..0000000 --- a/docs/models/operations/get-scim-group-response.md +++ /dev/null @@ -1,34 +0,0 @@ -# GetScimGroupResponse - -Success - -## Example Usage - -```typescript -import { GetScimGroupResponse } from "@interfere/attio/models/operations"; - -let value: GetScimGroupResponse = { - schemas: [ - "", - "", - ], - id: "", - displayName: "Selina.Raynor66", - members: [], - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `displayName` | *string* | :heavy_check_mark: | N/A | -| `members` | [operations.GetScimGroupMember](../../models/operations/get-scim-group-member.md)[] | :heavy_check_mark: | N/A | -| `meta` | [operations.GetScimGroupMeta](../../models/operations/get-scim-group-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-email.md b/docs/models/operations/get-scim-user-email.md deleted file mode 100644 index 67d396c..0000000 --- a/docs/models/operations/get-scim-user-email.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetScimUserEmail - -## Example Usage - -```typescript -import { GetScimUserEmail } from "@interfere/attio/models/operations"; - -let value: GetScimUserEmail = { - value: "", - primary: true, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-meta.md b/docs/models/operations/get-scim-user-meta.md deleted file mode 100644 index a5b5f5e..0000000 --- a/docs/models/operations/get-scim-user-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetScimUserMeta - -## Example Usage - -```typescript -import { GetScimUserMeta } from "@interfere/attio/models/operations"; - -let value: GetScimUserMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-name.md b/docs/models/operations/get-scim-user-name.md deleted file mode 100644 index 1d7bc2b..0000000 --- a/docs/models/operations/get-scim-user-name.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetScimUserName - -## Example Usage - -```typescript -import { GetScimUserName } from "@interfere/attio/models/operations"; - -let value: GetScimUserName = { - familyName: "", - givenName: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `familyName` | *string* | :heavy_check_mark: | N/A | -| `givenName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-request.md b/docs/models/operations/get-scim-user-request.md deleted file mode 100644 index 803490a..0000000 --- a/docs/models/operations/get-scim-user-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# GetScimUserRequest - -## Example Usage - -```typescript -import { GetScimUserRequest } from "@interfere/attio/models/operations"; - -let value: GetScimUserRequest = { - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-response.md b/docs/models/operations/get-scim-user-response.md deleted file mode 100644 index a565388..0000000 --- a/docs/models/operations/get-scim-user-response.md +++ /dev/null @@ -1,47 +0,0 @@ -# GetScimUserResponse - -Success - -## Example Usage - -```typescript -import { GetScimUserResponse } from "@interfere/attio/models/operations"; - -let value: GetScimUserResponse = { - schemas: [ - "", - ], - id: "", - userName: "Berta6", - name: { - familyName: "", - givenName: "", - }, - emails: [ - { - value: "", - primary: false, - }, - ], - active: true, - roles: [], - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `userName` | *string* | :heavy_check_mark: | N/A | -| `name` | [operations.GetScimUserName](../../models/operations/get-scim-user-name.md) | :heavy_check_mark: | N/A | -| `emails` | [operations.GetScimUserEmail](../../models/operations/get-scim-user-email.md)[] | :heavy_check_mark: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `roles` | [operations.GetScimUserRole](../../models/operations/get-scim-user-role.md)[] | :heavy_check_mark: | N/A | -| `meta` | [operations.GetScimUserMeta](../../models/operations/get-scim-user-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/get-scim-user-role.md b/docs/models/operations/get-scim-user-role.md deleted file mode 100644 index 9f8f5f0..0000000 --- a/docs/models/operations/get-scim-user-role.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetScimUserRole - -## Example Usage - -```typescript -import { GetScimUserRole } from "@interfere/attio/models/operations"; - -let value: GetScimUserRole = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/list-entry-attribute-values-currency-code.md b/docs/models/operations/list-entry-attribute-values-currency-code.md index 6988faf..e733c9b 100644 --- a/docs/models/operations/list-entry-attribute-values-currency-code.md +++ b/docs/models/operations/list-entry-attribute-values-currency-code.md @@ -15,5 +15,5 @@ let value: ListEntryAttributeValuesCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/list-record-attribute-values-currency-code.md b/docs/models/operations/list-record-attribute-values-currency-code.md index 13a5fa0..1bff78c 100644 --- a/docs/models/operations/list-record-attribute-values-currency-code.md +++ b/docs/models/operations/list-record-attribute-values-currency-code.md @@ -15,5 +15,5 @@ let value: ListRecordAttributeValuesCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/list-scim-groups-response.md b/docs/models/operations/list-scim-groups-response.md deleted file mode 100644 index e0995d3..0000000 --- a/docs/models/operations/list-scim-groups-response.md +++ /dev/null @@ -1,27 +0,0 @@ -# ListScimGroupsResponse - -Success - -## Example Usage - -```typescript -import { ListScimGroupsResponse } from "@interfere/attio/models/operations"; - -let value: ListScimGroupsResponse = { - schemas: [], - totalResults: 216.77, - startIndex: 1341.95, - itemsPerPage: 3015.31, - resources: [], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `totalResults` | *number* | :heavy_check_mark: | N/A | -| `startIndex` | *number* | :heavy_check_mark: | N/A | -| `itemsPerPage` | *number* | :heavy_check_mark: | N/A | -| `resources` | *any*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/list-scim-schemas-response.md b/docs/models/operations/list-scim-schemas-response.md deleted file mode 100644 index 600d43f..0000000 --- a/docs/models/operations/list-scim-schemas-response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListScimSchemasResponse - -Success - -## Example Usage - -```typescript -import { ListScimSchemasResponse } from "@interfere/attio/models/operations"; - -let value: ListScimSchemasResponse = { - schemas: [], - totalResults: 3396.56, - startIndex: 7077.5, - itemsPerPage: 801.12, - resources: [ - "", - "", - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `totalResults` | *number* | :heavy_check_mark: | N/A | -| `startIndex` | *number* | :heavy_check_mark: | N/A | -| `itemsPerPage` | *number* | :heavy_check_mark: | N/A | -| `resources` | *any*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/list-scim-users-response.md b/docs/models/operations/list-scim-users-response.md deleted file mode 100644 index f69569b..0000000 --- a/docs/models/operations/list-scim-users-response.md +++ /dev/null @@ -1,31 +0,0 @@ -# ListScimUsersResponse - -Success - -## Example Usage - -```typescript -import { ListScimUsersResponse } from "@interfere/attio/models/operations"; - -let value: ListScimUsersResponse = { - schemas: [ - "", - ], - totalResults: 8090.1, - startIndex: 5710.32, - itemsPerPage: 2455.51, - resources: [ - "", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `totalResults` | *number* | :heavy_check_mark: | N/A | -| `startIndex` | *number* | :heavy_check_mark: | N/A | -| `itemsPerPage` | *number* | :heavy_check_mark: | N/A | -| `resources` | *any*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-group-member.md b/docs/models/operations/patch-scim-group-member.md deleted file mode 100644 index 7557a0b..0000000 --- a/docs/models/operations/patch-scim-group-member.md +++ /dev/null @@ -1,19 +0,0 @@ -# PatchScimGroupMember - -## Example Usage - -```typescript -import { PatchScimGroupMember } from "@interfere/attio/models/operations"; - -let value: PatchScimGroupMember = { - dollarRef: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `dollarRef` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-group-meta.md b/docs/models/operations/patch-scim-group-meta.md deleted file mode 100644 index 6ad68ae..0000000 --- a/docs/models/operations/patch-scim-group-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# PatchScimGroupMeta - -## Example Usage - -```typescript -import { PatchScimGroupMeta } from "@interfere/attio/models/operations"; - -let value: PatchScimGroupMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-group-request.md b/docs/models/operations/patch-scim-group-request.md deleted file mode 100644 index abef5ef..0000000 --- a/docs/models/operations/patch-scim-group-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# PatchScimGroupRequest - -## Example Usage - -```typescript -import { PatchScimGroupRequest } from "@interfere/attio/models/operations"; - -let value: PatchScimGroupRequest = { - workspaceTeamId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `workspaceTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-group-response.md b/docs/models/operations/patch-scim-group-response.md deleted file mode 100644 index 820d526..0000000 --- a/docs/models/operations/patch-scim-group-response.md +++ /dev/null @@ -1,31 +0,0 @@ -# PatchScimGroupResponse - -Success - -## Example Usage - -```typescript -import { PatchScimGroupResponse } from "@interfere/attio/models/operations"; - -let value: PatchScimGroupResponse = { - schemas: [], - id: "", - displayName: "Alize_Bogan75", - members: [], - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `displayName` | *string* | :heavy_check_mark: | N/A | -| `members` | [operations.PatchScimGroupMember](../../models/operations/patch-scim-group-member.md)[] | :heavy_check_mark: | N/A | -| `meta` | [operations.PatchScimGroupMeta](../../models/operations/patch-scim-group-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-email.md b/docs/models/operations/patch-scim-user-email.md deleted file mode 100644 index d48bbb6..0000000 --- a/docs/models/operations/patch-scim-user-email.md +++ /dev/null @@ -1,20 +0,0 @@ -# PatchScimUserEmail - -## Example Usage - -```typescript -import { PatchScimUserEmail } from "@interfere/attio/models/operations"; - -let value: PatchScimUserEmail = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-meta.md b/docs/models/operations/patch-scim-user-meta.md deleted file mode 100644 index 34e2688..0000000 --- a/docs/models/operations/patch-scim-user-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# PatchScimUserMeta - -## Example Usage - -```typescript -import { PatchScimUserMeta } from "@interfere/attio/models/operations"; - -let value: PatchScimUserMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-name.md b/docs/models/operations/patch-scim-user-name.md deleted file mode 100644 index 871a6b5..0000000 --- a/docs/models/operations/patch-scim-user-name.md +++ /dev/null @@ -1,19 +0,0 @@ -# PatchScimUserName - -## Example Usage - -```typescript -import { PatchScimUserName } from "@interfere/attio/models/operations"; - -let value: PatchScimUserName = { - givenName: "", - familyName: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `givenName` | *string* | :heavy_check_mark: | N/A | -| `familyName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-request.md b/docs/models/operations/patch-scim-user-request.md deleted file mode 100644 index fa53a5f..0000000 --- a/docs/models/operations/patch-scim-user-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# PatchScimUserRequest - -## Example Usage - -```typescript -import { PatchScimUserRequest } from "@interfere/attio/models/operations"; - -let value: PatchScimUserRequest = { - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-response-body1.md b/docs/models/operations/patch-scim-user-response-body1.md deleted file mode 100644 index 53e0e23..0000000 --- a/docs/models/operations/patch-scim-user-response-body1.md +++ /dev/null @@ -1,56 +0,0 @@ -# PatchScimUserResponseBody1 - -Success - -## Example Usage - -```typescript -import { PatchScimUserResponseBody1 } from "@interfere/attio/models/operations"; - -let value: PatchScimUserResponseBody1 = { - schemas: [ - "", - "", - "", - ], - id: "", - userName: "Elena_Schuppe12", - name: { - givenName: "", - familyName: "", - }, - emails: [ - { - value: "", - primary: false, - }, - ], - roles: [ - { - value: "", - primary: false, - }, - ], - profileUrl: "https://immediate-peninsula.org", - active: false, - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `userName` | *string* | :heavy_check_mark: | N/A | -| `name` | [operations.PatchScimUserName](../../models/operations/patch-scim-user-name.md) | :heavy_check_mark: | N/A | -| `emails` | [operations.PatchScimUserEmail](../../models/operations/patch-scim-user-email.md)[] | :heavy_check_mark: | N/A | -| `roles` | [operations.PatchScimUserRole](../../models/operations/patch-scim-user-role.md)[] | :heavy_check_mark: | N/A | -| `profileUrl` | *string* | :heavy_check_mark: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `meta` | [operations.PatchScimUserMeta](../../models/operations/patch-scim-user-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-response-body2.md b/docs/models/operations/patch-scim-user-response-body2.md deleted file mode 100644 index c336e4b..0000000 --- a/docs/models/operations/patch-scim-user-response-body2.md +++ /dev/null @@ -1,16 +0,0 @@ -# PatchScimUserResponseBody2 - -No Content - -## Example Usage - -```typescript -import { PatchScimUserResponseBody2 } from "@interfere/attio/models/operations"; - -let value: PatchScimUserResponseBody2 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/patch-scim-user-response.md b/docs/models/operations/patch-scim-user-response.md deleted file mode 100644 index 9b4eaca..0000000 --- a/docs/models/operations/patch-scim-user-response.md +++ /dev/null @@ -1,48 +0,0 @@ -# PatchScimUserResponse - - -## Supported Types - -### `operations.PatchScimUserResponseBody1` - -```typescript -const value: operations.PatchScimUserResponseBody1 = { - schemas: [ - "", - "", - "", - ], - id: "", - userName: "Elena_Schuppe12", - name: { - givenName: "", - familyName: "", - }, - emails: [ - { - value: "", - primary: false, - }, - ], - roles: [ - { - value: "", - primary: false, - }, - ], - profileUrl: "https://immediate-peninsula.org", - active: false, - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -### `operations.PatchScimUserResponseBody2` - -```typescript -const value: operations.PatchScimUserResponseBody2 = {}; -``` - diff --git a/docs/models/operations/patch-scim-user-role.md b/docs/models/operations/patch-scim-user-role.md deleted file mode 100644 index 31af2e2..0000000 --- a/docs/models/operations/patch-scim-user-role.md +++ /dev/null @@ -1,19 +0,0 @@ -# PatchScimUserRole - -## Example Usage - -```typescript -import { PatchScimUserRole } from "@interfere/attio/models/operations"; - -let value: PatchScimUserRole = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/query-entries-currency-code.md b/docs/models/operations/query-entries-currency-code.md index 115ae02..72e3367 100644 --- a/docs/models/operations/query-entries-currency-code.md +++ b/docs/models/operations/query-entries-currency-code.md @@ -15,5 +15,5 @@ let value: QueryEntriesCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/query-records-currency-code.md b/docs/models/operations/query-records-currency-code.md index be07095..bdd779d 100644 --- a/docs/models/operations/query-records-currency-code.md +++ b/docs/models/operations/query-records-currency-code.md @@ -15,5 +15,5 @@ let value: QueryRecordsCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/update-append-record-currency-code.md b/docs/models/operations/update-append-record-currency-code.md index e39f673..cdcb4c4 100644 --- a/docs/models/operations/update-append-record-currency-code.md +++ b/docs/models/operations/update-append-record-currency-code.md @@ -15,5 +15,5 @@ let value: UpdateAppendRecordCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/update-appending-entry-currency-code.md b/docs/models/operations/update-appending-entry-currency-code.md index d3d00d5..d05934b 100644 --- a/docs/models/operations/update-appending-entry-currency-code.md +++ b/docs/models/operations/update-appending-entry-currency-code.md @@ -15,5 +15,5 @@ let value: UpdateAppendingEntryCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/update-attribute-default-currency-code.md b/docs/models/operations/update-attribute-default-currency-code.md index 244a535..9b8b5bf 100644 --- a/docs/models/operations/update-attribute-default-currency-code.md +++ b/docs/models/operations/update-attribute-default-currency-code.md @@ -13,5 +13,5 @@ let value: UpdateAttributeDefaultCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" ``` \ No newline at end of file diff --git a/docs/models/operations/update-entry-currency-code.md b/docs/models/operations/update-entry-currency-code.md index be83027..d654d85 100644 --- a/docs/models/operations/update-entry-currency-code.md +++ b/docs/models/operations/update-entry-currency-code.md @@ -15,5 +15,5 @@ let value: UpdateEntryCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/update-record-currency-code.md b/docs/models/operations/update-record-currency-code.md index 46571e2..198f495 100644 --- a/docs/models/operations/update-record-currency-code.md +++ b/docs/models/operations/update-record-currency-code.md @@ -15,5 +15,5 @@ let value: UpdateRecordCurrencyCode = "USD"; ## Values ```typescript -"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "AED" | "UYU" | "USD" | Unrecognized +"ARS" | "AUD" | "BRL" | "BGN" | "CAD" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "FJD" | "HKD" | "HUF" | "ISK" | "INR" | "ILS" | "JPY" | "KES" | "KRW" | "MYR" | "MXN" | "NTD" | "NZD" | "NGN" | "NOK" | "XPF" | "PEN" | "PHP" | "PLN" | "GBP" | "RWF" | "SAR" | "SGD" | "ZAR" | "SEK" | "CHF" | "THB" | "TRY" | "AED" | "UYU" | "USD" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/operations/update-scim-group-member.md b/docs/models/operations/update-scim-group-member.md deleted file mode 100644 index 8510668..0000000 --- a/docs/models/operations/update-scim-group-member.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateScimGroupMember - -## Example Usage - -```typescript -import { UpdateScimGroupMember } from "@interfere/attio/models/operations"; - -let value: UpdateScimGroupMember = { - dollarRef: "", - value: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `dollarRef` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-group-meta.md b/docs/models/operations/update-scim-group-meta.md deleted file mode 100644 index c5447de..0000000 --- a/docs/models/operations/update-scim-group-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateScimGroupMeta - -## Example Usage - -```typescript -import { UpdateScimGroupMeta } from "@interfere/attio/models/operations"; - -let value: UpdateScimGroupMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-group-request.md b/docs/models/operations/update-scim-group-request.md deleted file mode 100644 index d662228..0000000 --- a/docs/models/operations/update-scim-group-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateScimGroupRequest - -## Example Usage - -```typescript -import { UpdateScimGroupRequest } from "@interfere/attio/models/operations"; - -let value: UpdateScimGroupRequest = { - workspaceTeamId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `workspaceTeamId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-group-response.md b/docs/models/operations/update-scim-group-response.md deleted file mode 100644 index 467fcbf..0000000 --- a/docs/models/operations/update-scim-group-response.md +++ /dev/null @@ -1,33 +0,0 @@ -# UpdateScimGroupResponse - -Success - -## Example Usage - -```typescript -import { UpdateScimGroupResponse } from "@interfere/attio/models/operations"; - -let value: UpdateScimGroupResponse = { - schemas: [ - "", - ], - id: "", - displayName: "Luisa66", - members: [], - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `displayName` | *string* | :heavy_check_mark: | N/A | -| `members` | [operations.UpdateScimGroupMember](../../models/operations/update-scim-group-member.md)[] | :heavy_check_mark: | N/A | -| `meta` | [operations.UpdateScimGroupMeta](../../models/operations/update-scim-group-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-email.md b/docs/models/operations/update-scim-user-email.md deleted file mode 100644 index 249ec1d..0000000 --- a/docs/models/operations/update-scim-user-email.md +++ /dev/null @@ -1,20 +0,0 @@ -# UpdateScimUserEmail - -## Example Usage - -```typescript -import { UpdateScimUserEmail } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserEmail = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `type` | *string* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-meta.md b/docs/models/operations/update-scim-user-meta.md deleted file mode 100644 index eb38511..0000000 --- a/docs/models/operations/update-scim-user-meta.md +++ /dev/null @@ -1,21 +0,0 @@ -# UpdateScimUserMeta - -## Example Usage - -```typescript -import { UpdateScimUserMeta } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserMeta = { - resourceType: "", - created: "", - lastModified: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `resourceType` | *string* | :heavy_check_mark: | N/A | -| `created` | *string* | :heavy_check_mark: | N/A | -| `lastModified` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-name.md b/docs/models/operations/update-scim-user-name.md deleted file mode 100644 index 9b73f15..0000000 --- a/docs/models/operations/update-scim-user-name.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateScimUserName - -## Example Usage - -```typescript -import { UpdateScimUserName } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserName = { - givenName: "", - familyName: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `givenName` | *string* | :heavy_check_mark: | N/A | -| `familyName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-request.md b/docs/models/operations/update-scim-user-request.md deleted file mode 100644 index 5053aa8..0000000 --- a/docs/models/operations/update-scim-user-request.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateScimUserRequest - -## Example Usage - -```typescript -import { UpdateScimUserRequest } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserRequest = { - userId: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-response-body1.md b/docs/models/operations/update-scim-user-response-body1.md deleted file mode 100644 index ba6cc66..0000000 --- a/docs/models/operations/update-scim-user-response-body1.md +++ /dev/null @@ -1,49 +0,0 @@ -# UpdateScimUserResponseBody1 - -Success - -## Example Usage - -```typescript -import { UpdateScimUserResponseBody1 } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserResponseBody1 = { - schemas: [ - "", - ], - id: "", - userName: "Pascale_Hermiston", - name: { - givenName: "", - familyName: "", - }, - emails: [ - { - value: "", - primary: true, - }, - ], - roles: [], - profileUrl: "https://shimmering-agreement.info", - active: true, - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `schemas` | *string*[] | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `userName` | *string* | :heavy_check_mark: | N/A | -| `name` | [operations.UpdateScimUserName](../../models/operations/update-scim-user-name.md) | :heavy_check_mark: | N/A | -| `emails` | [operations.UpdateScimUserEmail](../../models/operations/update-scim-user-email.md)[] | :heavy_check_mark: | N/A | -| `roles` | [operations.UpdateScimUserRole](../../models/operations/update-scim-user-role.md)[] | :heavy_check_mark: | N/A | -| `profileUrl` | *string* | :heavy_check_mark: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `meta` | [operations.UpdateScimUserMeta](../../models/operations/update-scim-user-meta.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-response-body2.md b/docs/models/operations/update-scim-user-response-body2.md deleted file mode 100644 index 1c45e63..0000000 --- a/docs/models/operations/update-scim-user-response-body2.md +++ /dev/null @@ -1,16 +0,0 @@ -# UpdateScimUserResponseBody2 - -No Content - -## Example Usage - -```typescript -import { UpdateScimUserResponseBody2 } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserResponseBody2 = {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/update-scim-user-response.md b/docs/models/operations/update-scim-user-response.md deleted file mode 100644 index badc552..0000000 --- a/docs/models/operations/update-scim-user-response.md +++ /dev/null @@ -1,41 +0,0 @@ -# UpdateScimUserResponse - - -## Supported Types - -### `operations.UpdateScimUserResponseBody1` - -```typescript -const value: operations.UpdateScimUserResponseBody1 = { - schemas: [ - "", - ], - id: "", - userName: "Pascale_Hermiston", - name: { - givenName: "", - familyName: "", - }, - emails: [ - { - value: "", - primary: true, - }, - ], - roles: [], - profileUrl: "https://shimmering-agreement.info", - active: true, - meta: { - resourceType: "", - created: "", - lastModified: "", - }, -}; -``` - -### `operations.UpdateScimUserResponseBody2` - -```typescript -const value: operations.UpdateScimUserResponseBody2 = {}; -``` - diff --git a/docs/models/operations/update-scim-user-role.md b/docs/models/operations/update-scim-user-role.md deleted file mode 100644 index 141a2ba..0000000 --- a/docs/models/operations/update-scim-user-role.md +++ /dev/null @@ -1,19 +0,0 @@ -# UpdateScimUserRole - -## Example Usage - -```typescript -import { UpdateScimUserRole } from "@interfere/attio/models/operations"; - -let value: UpdateScimUserRole = { - value: "", - primary: false, -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `value` | *string* | :heavy_check_mark: | N/A | -| `primary` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/sdks/files/README.md b/docs/sdks/files/README.md index b6ac68a..9807d12 100644 --- a/docs/sdks/files/README.md +++ b/docs/sdks/files/README.md @@ -15,7 +15,7 @@ Files are documents and folders linked to records, stored either in Attio or con ## list -Lists internal files, externally connected files and folders across the workspace. Optional query parameters may be provided to filter results by object, record, storage provider or parent folder. +Lists internal files, externally connected files and folders for a specific record. Use the `object` and `record_id` query parameters to specify the record. Optional query parameters may be provided to filter results by storage provider or parent folder. This endpoint is in beta. We will aim to avoid breaking changes, but small updates may be made as we roll out to more users. diff --git a/docs/sdks/scimgroups/README.md b/docs/sdks/scimgroups/README.md deleted file mode 100644 index 479a9ac..0000000 --- a/docs/sdks/scimgroups/README.md +++ /dev/null @@ -1,452 +0,0 @@ -# ScimGroups - -## Overview - -### Available Operations - -* [list](#list) - List SCIM groups -* [create](#create) - Create SCIM group -* [get](#get) - Get SCIM group -* [patch](#patch) - Patch SCIM group -* [update](#update) - Update SCIM group -* [delete](#delete) - Delete SCIM group - -## list - -Lists SCIM groups for the workspace. - -Required scopes: `user_management:read`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.list(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsList } from "@interfere/attio/funcs/scim-groups-list.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsList(attio); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsList failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.ListScimGroupsResponse](../../models/operations/list-scim-groups-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## create - -Creates a SCIM group for the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.create(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsCreate } from "@interfere/attio/funcs/scim-groups-create.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsCreate(attio); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsCreate failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.CreateScimGroupResponse](../../models/operations/create-scim-group-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## get - -Gets a SCIM group by ID. - -Required scopes: `user_management:read`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.get({ - workspaceTeamId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsGet } from "@interfere/attio/funcs/scim-groups-get.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsGet(attio, { - workspaceTeamId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsGet failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetScimGroupRequest](../../models/operations/get-scim-group-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.GetScimGroupResponse](../../models/operations/get-scim-group-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## patch - -Patches a SCIM group in the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.patch({ - workspaceTeamId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsPatch } from "@interfere/attio/funcs/scim-groups-patch.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsPatch(attio, { - workspaceTeamId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsPatch failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PatchScimGroupRequest](../../models/operations/patch-scim-group-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.PatchScimGroupResponse](../../models/operations/patch-scim-group-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## update - -Updates a SCIM group in the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.update({ - workspaceTeamId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsUpdate } from "@interfere/attio/funcs/scim-groups-update.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsUpdate(attio, { - workspaceTeamId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsUpdate failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateScimGroupRequest](../../models/operations/update-scim-group-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.UpdateScimGroupResponse](../../models/operations/update-scim-group-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## delete - -Deletes a SCIM group from the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimGroups.delete({ - workspaceTeamId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimGroupsDelete } from "@interfere/attio/funcs/scim-groups-delete.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimGroupsDelete(attio, { - workspaceTeamId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimGroupsDelete failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteScimGroupRequest](../../models/operations/delete-scim-group-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.DeleteScimGroupResponse](../../models/operations/delete-scim-group-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/scimschemas/README.md b/docs/sdks/scimschemas/README.md deleted file mode 100644 index 61a9f71..0000000 --- a/docs/sdks/scimschemas/README.md +++ /dev/null @@ -1,77 +0,0 @@ -# ScimSchemas - -## Overview - -### Available Operations - -* [list](#list) - List SCIM schemas - -## list - -Lists the SCIM schemas supported by this service provider. - -Required scopes: `user_management:read`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimSchemas.list(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimSchemasList } from "@interfere/attio/funcs/scim-schemas-list.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimSchemasList(attio); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimSchemasList failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.ListScimSchemasResponse](../../models/operations/list-scim-schemas-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/scimusers/README.md b/docs/sdks/scimusers/README.md deleted file mode 100644 index 848b23e..0000000 --- a/docs/sdks/scimusers/README.md +++ /dev/null @@ -1,452 +0,0 @@ -# ScimUsers - -## Overview - -### Available Operations - -* [list](#list) - List SCIM users -* [create](#create) - Create SCIM user -* [get](#get) - Get SCIM user -* [patch](#patch) - Patch SCIM user -* [update](#update) - Update SCIM user -* [delete](#delete) - Delete SCIM user - -## list - -Lists SCIM users for the workspace. - -Required scopes: `user_management:read`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.list(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersList } from "@interfere/attio/funcs/scim-users-list.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersList(attio); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersList failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.ListScimUsersResponse](../../models/operations/list-scim-users-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## create - -Creates a SCIM user in the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.create(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersCreate } from "@interfere/attio/funcs/scim-users-create.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersCreate(attio); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersCreate failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.CreateScimUserResponse](../../models/operations/create-scim-user-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## get - -Gets a SCIM user by ID. - -Required scopes: `user_management:read`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.get({ - userId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersGet } from "@interfere/attio/funcs/scim-users-get.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersGet(attio, { - userId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersGet failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.GetScimUserRequest](../../models/operations/get-scim-user-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.GetScimUserResponse](../../models/operations/get-scim-user-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## patch - -Patches a SCIM user in the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.patch({ - userId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersPatch } from "@interfere/attio/funcs/scim-users-patch.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersPatch(attio, { - userId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersPatch failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.PatchScimUserRequest](../../models/operations/patch-scim-user-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.PatchScimUserResponse](../../models/operations/patch-scim-user-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## update - -Updates a SCIM user in the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.update({ - userId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersUpdate } from "@interfere/attio/funcs/scim-users-update.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersUpdate(attio, { - userId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersUpdate failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.UpdateScimUserRequest](../../models/operations/update-scim-user-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.UpdateScimUserResponse](../../models/operations/update-scim-user-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | - -## delete - -Deletes a SCIM user from the workspace. - -Required scopes: `user_management:read-write`. - -### Example Usage - - -```typescript -import { Attio } from "@interfere/attio"; - -const attio = new Attio({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const result = await attio.scimUsers.delete({ - userId: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { AttioCore } from "@interfere/attio/core.js"; -import { scimUsersDelete } from "@interfere/attio/funcs/scim-users-delete.js"; - -// Use `AttioCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const attio = new AttioCore({ - oauth2: process.env["ATTIO_OAUTH2"] ?? "", -}); - -async function run() { - const res = await scimUsersDelete(attio, { - userId: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("scimUsersDelete failed:", res.error); - } -} - -run(); -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [operations.DeleteScimUserRequest](../../models/operations/delete-scim-user-request.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[operations.DeleteScimUserResponse](../../models/operations/delete-scim-user-response.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.AttioError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/examples/package-lock.json b/examples/package-lock.json index 5f8a580..7213a88 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@interfere/attio", - "version": "0.2.18", + "version": "0.3.0", "dependencies": { "zod": "^3.25.65 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index 17e6a99..7fc5c1b 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@interfere/attio", - "version": "0.2.18", + "version": "0.3.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index d36fff7..99111a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@interfere/attio", - "version": "0.2.19", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@interfere/attio", - "version": "0.2.19", + "version": "0.3.0", "dependencies": { "zod": "^3.25.65 || ^4.0.0" }, diff --git a/package.json b/package.json index 762b908..37aa53e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@interfere/attio", - "version": "0.2.19", + "version": "0.3.0", "author": "Interfere, Inc. ", "private": false, "type": "module", diff --git a/src/funcs/files-list.ts b/src/funcs/files-list.ts index df0bee5..a3c9a63 100644 --- a/src/funcs/files-list.ts +++ b/src/funcs/files-list.ts @@ -30,7 +30,7 @@ import { Result } from "../types/fp.js"; * List files * * @remarks - * Lists internal files, externally connected files and folders across the workspace. Optional query parameters may be provided to filter results by object, record, storage provider or parent folder. + * Lists internal files, externally connected files and folders for a specific record. Use the `object` and `record_id` query parameters to specify the record. Optional query parameters may be provided to filter results by storage provider or parent folder. * * This endpoint is in beta. We will aim to avoid breaking changes, but small updates may be made as we roll out to more users. * diff --git a/src/funcs/scim-groups-create.ts b/src/funcs/scim-groups-create.ts deleted file mode 100644 index a826862..0000000 --- a/src/funcs/scim-groups-create.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { AttioCore } from "../core.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Create SCIM group - * - * @remarks - * Creates a SCIM group for the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimGroupsCreate( - client: AttioCore, - options?: RequestOptions, -): APIPromise< - Result< - operations.CreateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - options, - )); -} - -async function $do( - client: AttioCore, - options?: RequestOptions, -): Promise< - [ - Result< - operations.CreateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const path = pathToFunc("/scim/v2/Groups")(); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "createScimGroup", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "POST", - baseURL: options?.serverURL, - path: path, - headers: headers, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.CreateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(201, operations.CreateScimGroupResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-groups-delete.ts b/src/funcs/scim-groups-delete.ts deleted file mode 100644 index 7697aaa..0000000 --- a/src/funcs/scim-groups-delete.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Delete SCIM group - * - * @remarks - * Deletes a SCIM group from the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimGroupsDelete( - client: AttioCore, - request: operations.DeleteScimGroupRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.DeleteScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.DeleteScimGroupRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.DeleteScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.DeleteScimGroupRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - workspace_team_id: encodeSimple( - "workspace_team_id", - payload.workspace_team_id, - { explode: false, charEncoding: "percent" }, - ), - }; - const path = pathToFunc("/scim/v2/Groups/{workspace_team_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "deleteScimGroup", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "DELETE", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.DeleteScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(204, operations.DeleteScimGroupResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-groups-get.ts b/src/funcs/scim-groups-get.ts deleted file mode 100644 index e170bbf..0000000 --- a/src/funcs/scim-groups-get.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Get SCIM group - * - * @remarks - * Gets a SCIM group by ID. - * - * Required scopes: `user_management:read`. - */ -export function scimGroupsGet( - client: AttioCore, - request: operations.GetScimGroupRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.GetScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.GetScimGroupRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.GetScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.GetScimGroupRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - workspace_team_id: encodeSimple( - "workspace_team_id", - payload.workspace_team_id, - { explode: false, charEncoding: "percent" }, - ), - }; - const path = pathToFunc("/scim/v2/Groups/{workspace_team_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "getScimGroup", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "GET", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.GetScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.GetScimGroupResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-groups-list.ts b/src/funcs/scim-groups-list.ts deleted file mode 100644 index d0c3709..0000000 --- a/src/funcs/scim-groups-list.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { AttioCore } from "../core.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * List SCIM groups - * - * @remarks - * Lists SCIM groups for the workspace. - * - * Required scopes: `user_management:read`. - */ -export function scimGroupsList( - client: AttioCore, - options?: RequestOptions, -): APIPromise< - Result< - operations.ListScimGroupsResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - options, - )); -} - -async function $do( - client: AttioCore, - options?: RequestOptions, -): Promise< - [ - Result< - operations.ListScimGroupsResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const path = pathToFunc("/scim/v2/Groups")(); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "listScimGroups", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "GET", - baseURL: options?.serverURL, - path: path, - headers: headers, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.ListScimGroupsResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.ListScimGroupsResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-groups-patch.ts b/src/funcs/scim-groups-patch.ts deleted file mode 100644 index db460b2..0000000 --- a/src/funcs/scim-groups-patch.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Patch SCIM group - * - * @remarks - * Patches a SCIM group in the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimGroupsPatch( - client: AttioCore, - request: operations.PatchScimGroupRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.PatchScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.PatchScimGroupRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.PatchScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.PatchScimGroupRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - workspace_team_id: encodeSimple( - "workspace_team_id", - payload.workspace_team_id, - { explode: false, charEncoding: "percent" }, - ), - }; - const path = pathToFunc("/scim/v2/Groups/{workspace_team_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "patchScimGroup", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "PATCH", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.PatchScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.PatchScimGroupResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-groups-update.ts b/src/funcs/scim-groups-update.ts deleted file mode 100644 index 3ea6328..0000000 --- a/src/funcs/scim-groups-update.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Update SCIM group - * - * @remarks - * Updates a SCIM group in the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimGroupsUpdate( - client: AttioCore, - request: operations.UpdateScimGroupRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.UpdateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.UpdateScimGroupRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.UpdateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.UpdateScimGroupRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - workspace_team_id: encodeSimple( - "workspace_team_id", - payload.workspace_team_id, - { explode: false, charEncoding: "percent" }, - ), - }; - const path = pathToFunc("/scim/v2/Groups/{workspace_team_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "updateScimGroup", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "PUT", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.UpdateScimGroupResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.UpdateScimGroupResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-schemas-list.ts b/src/funcs/scim-schemas-list.ts deleted file mode 100644 index d792b40..0000000 --- a/src/funcs/scim-schemas-list.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { AttioCore } from "../core.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * List SCIM schemas - * - * @remarks - * Lists the SCIM schemas supported by this service provider. - * - * Required scopes: `user_management:read`. - */ -export function scimSchemasList( - client: AttioCore, - options?: RequestOptions, -): APIPromise< - Result< - operations.ListScimSchemasResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - options, - )); -} - -async function $do( - client: AttioCore, - options?: RequestOptions, -): Promise< - [ - Result< - operations.ListScimSchemasResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const path = pathToFunc("/scim/v2/Schemas")(); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "listScimSchemas", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "GET", - baseURL: options?.serverURL, - path: path, - headers: headers, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.ListScimSchemasResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.ListScimSchemasResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-create.ts b/src/funcs/scim-users-create.ts deleted file mode 100644 index 9833cbe..0000000 --- a/src/funcs/scim-users-create.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { AttioCore } from "../core.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Create SCIM user - * - * @remarks - * Creates a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimUsersCreate( - client: AttioCore, - options?: RequestOptions, -): APIPromise< - Result< - operations.CreateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - options, - )); -} - -async function $do( - client: AttioCore, - options?: RequestOptions, -): Promise< - [ - Result< - operations.CreateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const path = pathToFunc("/scim/v2/Users")(); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "createScimUser", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "POST", - baseURL: options?.serverURL, - path: path, - headers: headers, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.CreateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(201, operations.CreateScimUserResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-delete.ts b/src/funcs/scim-users-delete.ts deleted file mode 100644 index cce22fe..0000000 --- a/src/funcs/scim-users-delete.ts +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Delete SCIM user - * - * @remarks - * Deletes a SCIM user from the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimUsersDelete( - client: AttioCore, - request: operations.DeleteScimUserRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.DeleteScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.DeleteScimUserRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.DeleteScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.DeleteScimUserRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - user_id: encodeSimple("user_id", payload.user_id, { - explode: false, - charEncoding: "percent", - }), - }; - const path = pathToFunc("/scim/v2/Users/{user_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "deleteScimUser", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "DELETE", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.DeleteScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(204, operations.DeleteScimUserResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-get.ts b/src/funcs/scim-users-get.ts deleted file mode 100644 index 7317c09..0000000 --- a/src/funcs/scim-users-get.ts +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Get SCIM user - * - * @remarks - * Gets a SCIM user by ID. - * - * Required scopes: `user_management:read`. - */ -export function scimUsersGet( - client: AttioCore, - request: operations.GetScimUserRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.GetScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.GetScimUserRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.GetScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.GetScimUserRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - user_id: encodeSimple("user_id", payload.user_id, { - explode: false, - charEncoding: "percent", - }), - }; - const path = pathToFunc("/scim/v2/Users/{user_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "getScimUser", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "GET", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.GetScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.GetScimUserResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-list.ts b/src/funcs/scim-users-list.ts deleted file mode 100644 index 91241c7..0000000 --- a/src/funcs/scim-users-list.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { AttioCore } from "../core.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * List SCIM users - * - * @remarks - * Lists SCIM users for the workspace. - * - * Required scopes: `user_management:read`. - */ -export function scimUsersList( - client: AttioCore, - options?: RequestOptions, -): APIPromise< - Result< - operations.ListScimUsersResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - options, - )); -} - -async function $do( - client: AttioCore, - options?: RequestOptions, -): Promise< - [ - Result< - operations.ListScimUsersResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const path = pathToFunc("/scim/v2/Users")(); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "listScimUsers", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "GET", - baseURL: options?.serverURL, - path: path, - headers: headers, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.ListScimUsersResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.ListScimUsersResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-patch.ts b/src/funcs/scim-users-patch.ts deleted file mode 100644 index 69b5db3..0000000 --- a/src/funcs/scim-users-patch.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Patch SCIM user - * - * @remarks - * Patches a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimUsersPatch( - client: AttioCore, - request: operations.PatchScimUserRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.PatchScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.PatchScimUserRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.PatchScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.PatchScimUserRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - user_id: encodeSimple("user_id", payload.user_id, { - explode: false, - charEncoding: "percent", - }), - }; - const path = pathToFunc("/scim/v2/Users/{user_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "patchScimUser", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "PATCH", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.PatchScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.PatchScimUserResponse$inboundSchema), - M.json(204, operations.PatchScimUserResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/funcs/scim-users-update.ts b/src/funcs/scim-users-update.ts deleted file mode 100644 index 84422f0..0000000 --- a/src/funcs/scim-users-update.ts +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { AttioCore } from "../core.js"; -import { encodeSimple } from "../lib/encodings.js"; -import { matchStatusCode } from "../lib/http.js"; -import * as M from "../lib/matchers.js"; -import { compactMap } from "../lib/primitives.js"; -import { safeParse } from "../lib/schemas.js"; -import { RequestOptions } from "../lib/sdks.js"; -import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; -import { pathToFunc } from "../lib/url.js"; -import { AttioBaseError } from "../models/errors/attio-base-error.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/http-client-errors.js"; -import { ResponseValidationError } from "../models/errors/response-validation-error.js"; -import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; -import * as operations from "../models/operations/index.js"; -import { APICall, APIPromise } from "../types/async.js"; -import { Result } from "../types/fp.js"; - -/** - * Update SCIM user - * - * @remarks - * Updates a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ -export function scimUsersUpdate( - client: AttioCore, - request: operations.UpdateScimUserRequest, - options?: RequestOptions, -): APIPromise< - Result< - operations.UpdateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - > -> { - return new APIPromise($do( - client, - request, - options, - )); -} - -async function $do( - client: AttioCore, - request: operations.UpdateScimUserRequest, - options?: RequestOptions, -): Promise< - [ - Result< - operations.UpdateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >, - APICall, - ] -> { - const parsed = safeParse( - request, - (value) => z.parse(operations.UpdateScimUserRequest$outboundSchema, value), - "Input validation failed", - ); - if (!parsed.ok) { - return [parsed, { status: "invalid" }]; - } - const payload = parsed.value; - const body = null; - - const pathParams = { - user_id: encodeSimple("user_id", payload.user_id, { - explode: false, - charEncoding: "percent", - }), - }; - const path = pathToFunc("/scim/v2/Users/{user_id}")(pathParams); - - const headers = new Headers(compactMap({ - Accept: "application/json", - })); - - const secConfig = await extractSecurity(client._options.oauth2); - const securityInput = secConfig == null ? {} : { oauth2: secConfig }; - const requestSecurity = resolveGlobalSecurity(securityInput); - - const context = { - options: client._options, - baseURL: options?.serverURL ?? client._baseURL ?? "", - operationID: "updateScimUser", - oAuth2Scopes: null, - - resolvedSecurity: requestSecurity, - - securitySource: client._options.oauth2, - retryConfig: options?.retries - || client._options.retryConfig - || { strategy: "none" }, - retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], - }; - - const requestRes = client._createRequest(context, { - security: requestSecurity, - method: "PUT", - baseURL: options?.serverURL, - path: path, - headers: headers, - body: body, - userAgent: client._options.userAgent, - timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, - }, options); - if (!requestRes.ok) { - return [requestRes, { status: "invalid" }]; - } - const req = requestRes.value; - - const doResult = await client._do(req, { - context, - isErrorStatusCode: (statusCode: number) => - matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), - retryConfig: context.retryConfig, - retryCodes: context.retryCodes, - }); - if (!doResult.ok) { - return [doResult, { status: "request-error", request: req }]; - } - const response = doResult.value; - - const [result] = await M.match< - operations.UpdateScimUserResponse, - | AttioBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError - >( - M.json(200, operations.UpdateScimUserResponse$inboundSchema), - M.json(204, operations.UpdateScimUserResponse$inboundSchema), - M.fail("4XX"), - M.fail("5XX"), - )(response, req); - if (!result.ok) { - return [result, { status: "complete", request: req, response }]; - } - - return [result, { status: "complete", request: req, response }]; -} diff --git a/src/hooks/types.ts b/src/hooks/types.ts index 9c36bf0..a6aa5a2 100644 --- a/src/hooks/types.ts +++ b/src/hooks/types.ts @@ -15,6 +15,7 @@ export type HookContext = { retryConfig: RetryConfig; resolvedSecurity: SecurityState | null; options: SDKOptions; + timeoutMs?: number; }; export type Awaitable = T | Promise; diff --git a/src/lib/config.ts b/src/lib/config.ts index f7fe293..1788151 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "2.0.0", - sdkVersion: "0.2.18", - genVersion: "2.884.4", - userAgent: "speakeasy-sdk/typescript 0.2.18 2.884.4 2.0.0 @interfere/attio", + sdkVersion: "0.3.0", + genVersion: "2.904.2", + userAgent: "speakeasy-sdk/typescript 0.3.0 2.904.2 2.0.0 @interfere/attio", } as const; diff --git a/src/lib/dlv.ts b/src/lib/dlv.ts deleted file mode 100644 index e81091f..0000000 --- a/src/lib/dlv.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -/* -MIT License - -Copyright (c) 2024 Jason Miller (http://jasonformat.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -/** - * @param obj The object to walk - * @param key The key path to walk the object with - * @param def A default value to return if the result is undefined - * - * @example - * dlv(obj, "a.b.c.d") - * @example - * dlv(object, ["a", "b", "c", "d"]) - * @example - * dlv(object, "foo.bar.baz", "Hello, default value!") - */ -export function dlv( - obj: any, - key: string | string[], - def?: T, - p?: number, - undef?: never, -): T | undefined { - key = Array.isArray(key) ? key : key.split("."); - for (p = 0; p < key.length; p++) { - const k = key[p]; - obj = k != null && obj ? obj[k] : undef; - } - return obj === undef ? def : obj; -} diff --git a/src/lib/encodings.ts b/src/lib/encodings.ts index caeae54..194a5c5 100644 --- a/src/lib/encodings.ts +++ b/src/lib/encodings.ts @@ -3,7 +3,7 @@ */ import { bytesToBase64 } from "./base64.js"; -import { isPlainObject } from "./is-plain-object.js"; +import { isPlainObject } from "./primitives.js"; export class EncodingError extends Error { constructor(message: string) { diff --git a/src/lib/env.ts b/src/lib/env.ts index 95efc8d..8f92695 100644 --- a/src/lib/env.ts +++ b/src/lib/env.ts @@ -3,7 +3,6 @@ */ import * as z from "zod/v4-mini"; -import { dlv } from "./dlv.js"; export interface Env { ATTIO_OAUTH2?: string | undefined; @@ -38,11 +37,16 @@ export function env(): Env { return envMemo; } + const globals = globalThis as { + Deno?: { env?: { toObject?: () => Record } }; + process?: { env?: Record }; + }; + let envObject: Record = {}; if (isDeno()) { - envObject = (globalThis as any).Deno?.env?.toObject?.() ?? {}; + envObject = globals.Deno?.env?.toObject?.() ?? {}; } else { - envObject = dlv(globalThis, "process.env") ?? {}; + envObject = globals.process?.env ?? {}; } envMemo = envSchema.parse(envObject); diff --git a/src/lib/is-plain-object.ts b/src/lib/is-plain-object.ts deleted file mode 100644 index 61070d3..0000000 --- a/src/lib/is-plain-object.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -/* -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js - -export function isPlainObject(value: unknown): value is object { - if (typeof value !== "object" || value === null) { - return false; - } - - const prototype = Object.getPrototypeOf(value); - return ( - (prototype === null || - prototype === Object.prototype || - Object.getPrototypeOf(prototype) === null) && - !(Symbol.toStringTag in value) && - !(Symbol.iterator in value) - ); -} diff --git a/src/lib/matchers.ts b/src/lib/matchers.ts index 3f471d2..e0962d2 100644 --- a/src/lib/matchers.ts +++ b/src/lib/matchers.ts @@ -6,7 +6,7 @@ import { AttioError } from "../models/errors/attio-error.js"; import { ResponseValidationError } from "../models/errors/response-validation-error.js"; import { ERR, OK, Result } from "../types/fp.js"; import { matchResponse, matchStatusCode, StatusCodePredicate } from "./http.js"; -import { isPlainObject } from "./is-plain-object.js"; +import { isPlainObject } from "./primitives.js"; export type Encoding = | "jsonl" diff --git a/src/lib/primitives.ts b/src/lib/primitives.ts index d21f1dc..8ce65db 100644 --- a/src/lib/primitives.ts +++ b/src/lib/primitives.ts @@ -148,3 +148,19 @@ export function allRequired>( return v as ReturnType>; } + +export function isPlainObject( + value: unknown, +): value is Record { + if (value === null || typeof value !== "object") return false; + if (Object.prototype.toString.call(value) !== "[object Object]") return false; + const proto = Object.getPrototypeOf(value); + if (proto === null || proto === Object.prototype) return true; + // cross-realm plain objects (vm contexts, iframes) inherit from a + // different realm's Object.prototype, which itself has a null prototype + try { + return Object.getPrototypeOf(proto) === null; + } catch { + return false; + } +} diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts index 29f1069..b241a8e 100644 --- a/src/lib/sdks.ts +++ b/src/lib/sdks.ts @@ -24,6 +24,7 @@ import { matchContentType, } from "./http.js"; import { Logger } from "./logger.js"; +import { combineSignals } from "./primitives.js"; import { retry, RetryConfig } from "./retries.js"; import { SecurityState } from "./security.js"; @@ -131,27 +132,55 @@ export class ClientSDK { if (path) { baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/"; reqURL = new URL(path, baseURL); + if (!reqURL.search && baseURL.search) { + reqURL.search = baseURL.search; + } } else { reqURL = baseURL; } reqURL.hash = ""; - let finalQuery = query || ""; - - const secQuery: string[] = []; - for (const [k, v] of Object.entries(security?.queryParams || {})) { - const q = encodeForm(k, v, { charEncoding: "percent" }); - if (typeof q !== "undefined") { - secQuery.push(q); + // Appends already-encoded query pairs to a query string, replacing any + // existing pairs with the same key so later sources take precedence. + const mergeQuery = (current: string, additions: string): string => { + if (!additions) { + return current; } - } - if (secQuery.length) { - finalQuery += `&${secQuery.join("&")}`; - } + const additionKeys = new Set( + additions + .split("&") + .filter((pair) => pair !== "") + .map((pair) => pair.split("=")[0] ?? ""), + ); + const kept = current.split("&").filter((pair) => { + return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? ""); + }); + return [...kept, additions].join("&"); + }; + + const encodeQueryRecord = (record: Record): string => { + return Object.entries(record) + .map(([k, v]) => { + if (v == null) { + return undefined; + } + const value = v; + return encodeForm(k, value, { + explode: Array.isArray(value), + charEncoding: "percent", + }); + }) + .filter((pair): pair is string => typeof pair !== "undefined") + .join("&"); + }; + + const finalQuery = [ + query || "", + encodeQueryRecord(security?.queryParams || {}), + ].reduce(mergeQuery, reqURL.search.slice(1)); if (finalQuery) { - const q = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery; - reqURL.search = `?${q}`; + reqURL.search = `?${finalQuery}`; } const headers = new Headers(opHeaders); @@ -197,9 +226,8 @@ export class ClientSDK { ...options?.fetchOptions, ...options, }; - if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) { - const timeoutSignal = AbortSignal.timeout(conf.timeoutMs); - fetchOptions.signal = timeoutSignal; + if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) { + context.timeoutMs = conf.timeoutMs; } if (conf.body instanceof ReadableStream) { @@ -246,10 +274,19 @@ export class ClientSDK { > > { const { context, isErrorStatusCode } = options; + const timeoutMs = context.timeoutMs; return retry( async () => { - const req = await this.#hooks.beforeRequest(context, request.clone()); + const cloned = request.clone(); + let attempt = cloned; + if (timeoutMs != null && timeoutMs > 0) { + const timeoutSignal = AbortSignal.timeout(timeoutMs); + const combined = combineSignals(cloned.signal, timeoutSignal) + ?? timeoutSignal; + attempt = new Request(cloned, { signal: combined }); + } + const req = await this.#hooks.beforeRequest(context, attempt); await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e) ); diff --git a/src/models/attribute.ts b/src/models/attribute.ts index cb7396d..3a9e72c 100644 --- a/src/models/attribute.ts +++ b/src/models/attribute.ts @@ -154,6 +154,7 @@ export const DefaultCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/assert-entry.ts b/src/models/operations/assert-entry.ts index e966a1c..4e42382 100644 --- a/src/models/operations/assert-entry.ts +++ b/src/models/operations/assert-entry.ts @@ -1493,6 +1493,7 @@ export const AssertEntryCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/assert-record.ts b/src/models/operations/assert-record.ts index 4d21a6a..16c203d 100644 --- a/src/models/operations/assert-record.ts +++ b/src/models/operations/assert-record.ts @@ -1490,6 +1490,7 @@ export const AssertRecordCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/create-entry.ts b/src/models/operations/create-entry.ts index 4e956b2..fbf0cf3 100644 --- a/src/models/operations/create-entry.ts +++ b/src/models/operations/create-entry.ts @@ -1493,6 +1493,7 @@ export const CreateEntryCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/create-new-attribute.ts b/src/models/operations/create-new-attribute.ts index 34a43ba..43a4f8c 100644 --- a/src/models/operations/create-new-attribute.ts +++ b/src/models/operations/create-new-attribute.ts @@ -130,6 +130,7 @@ export const CreateNewAttributeDefaultCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/create-record.ts b/src/models/operations/create-record.ts index 82f37f2..57b7ddb 100644 --- a/src/models/operations/create-record.ts +++ b/src/models/operations/create-record.ts @@ -1489,6 +1489,7 @@ export const CreateRecordCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/create-scim-group.ts b/src/models/operations/create-scim-group.ts deleted file mode 100644 index da6aefd..0000000 --- a/src/models/operations/create-scim-group.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type CreateScimGroupMember = { - dollarRef: string; - value: string; -}; - -export type CreateScimGroupMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Created - */ -export type CreateScimGroupResponse = { - schemas: Array; - id: string; - displayName: string; - members: Array; - meta: CreateScimGroupMeta; -}; - -/** @internal */ -export const CreateScimGroupMember$inboundSchema: z.ZodMiniType< - CreateScimGroupMember, - unknown -> = z.pipe( - z.object({ - $ref: types.string(), - value: types.string(), - }), - z.transform((v) => { - return remap$(v, { - "$ref": "dollarRef", - }); - }), -); - -export function createScimGroupMemberFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimGroupMember$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimGroupMember' from JSON`, - ); -} - -/** @internal */ -export const CreateScimGroupMeta$inboundSchema: z.ZodMiniType< - CreateScimGroupMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function createScimGroupMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimGroupMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimGroupMeta' from JSON`, - ); -} - -/** @internal */ -export const CreateScimGroupResponse$inboundSchema: z.ZodMiniType< - CreateScimGroupResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - displayName: types.string(), - members: z.array(z.lazy(() => CreateScimGroupMember$inboundSchema)), - meta: z.lazy(() => CreateScimGroupMeta$inboundSchema), -}); - -export function createScimGroupResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimGroupResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimGroupResponse' from JSON`, - ); -} diff --git a/src/models/operations/create-scim-user.ts b/src/models/operations/create-scim-user.ts deleted file mode 100644 index 8156beb..0000000 --- a/src/models/operations/create-scim-user.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type CreateScimUserName = { - givenName: string; - familyName: string; -}; - -export type CreateScimUserEmail = { - type?: string | undefined; - value: string; - primary: boolean; -}; - -export type CreateScimUserRole = { - value: string; - primary: boolean; -}; - -export type CreateScimUserMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Created - */ -export type CreateScimUserResponse = { - schemas: Array; - id: string; - userName: string; - name: CreateScimUserName; - emails: Array; - roles: Array; - profileUrl?: string | undefined; - active: boolean; - meta: CreateScimUserMeta; -}; - -/** @internal */ -export const CreateScimUserName$inboundSchema: z.ZodMiniType< - CreateScimUserName, - unknown -> = z.object({ - givenName: types.string(), - familyName: types.string(), -}); - -export function createScimUserNameFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimUserName$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimUserName' from JSON`, - ); -} - -/** @internal */ -export const CreateScimUserEmail$inboundSchema: z.ZodMiniType< - CreateScimUserEmail, - unknown -> = z.object({ - type: types.optional(types.string()), - value: types.string(), - primary: types.boolean(), -}); - -export function createScimUserEmailFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimUserEmail$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimUserEmail' from JSON`, - ); -} - -/** @internal */ -export const CreateScimUserRole$inboundSchema: z.ZodMiniType< - CreateScimUserRole, - unknown -> = z.object({ - value: types.string(), - primary: types.boolean(), -}); - -export function createScimUserRoleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimUserRole$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimUserRole' from JSON`, - ); -} - -/** @internal */ -export const CreateScimUserMeta$inboundSchema: z.ZodMiniType< - CreateScimUserMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function createScimUserMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimUserMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimUserMeta' from JSON`, - ); -} - -/** @internal */ -export const CreateScimUserResponse$inboundSchema: z.ZodMiniType< - CreateScimUserResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - userName: types.string(), - name: z.lazy(() => CreateScimUserName$inboundSchema), - emails: z.array(z.lazy(() => CreateScimUserEmail$inboundSchema)), - roles: z.array(z.lazy(() => CreateScimUserRole$inboundSchema)), - profileUrl: types.optional(types.string()), - active: types.boolean(), - meta: z.lazy(() => CreateScimUserMeta$inboundSchema), -}); - -export function createScimUserResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateScimUserResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateScimUserResponse' from JSON`, - ); -} diff --git a/src/models/operations/delete-scim-group.ts b/src/models/operations/delete-scim-group.ts deleted file mode 100644 index 1862f1b..0000000 --- a/src/models/operations/delete-scim-group.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type DeleteScimGroupRequest = { - workspaceTeamId: string; -}; - -/** - * No Content - */ -export type DeleteScimGroupResponse = {}; - -/** @internal */ -export type DeleteScimGroupRequest$Outbound = { - workspace_team_id: string; -}; - -/** @internal */ -export const DeleteScimGroupRequest$outboundSchema: z.ZodMiniType< - DeleteScimGroupRequest$Outbound, - DeleteScimGroupRequest -> = z.pipe( - z.object({ - workspaceTeamId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - workspaceTeamId: "workspace_team_id", - }); - }), -); - -export function deleteScimGroupRequestToJSON( - deleteScimGroupRequest: DeleteScimGroupRequest, -): string { - return JSON.stringify( - DeleteScimGroupRequest$outboundSchema.parse(deleteScimGroupRequest), - ); -} - -/** @internal */ -export const DeleteScimGroupResponse$inboundSchema: z.ZodMiniType< - DeleteScimGroupResponse, - unknown -> = z.object({}); - -export function deleteScimGroupResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteScimGroupResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteScimGroupResponse' from JSON`, - ); -} diff --git a/src/models/operations/delete-scim-user.ts b/src/models/operations/delete-scim-user.ts deleted file mode 100644 index 69742f0..0000000 --- a/src/models/operations/delete-scim-user.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type DeleteScimUserRequest = { - userId: string; -}; - -/** - * No Content - */ -export type DeleteScimUserResponse = {}; - -/** @internal */ -export type DeleteScimUserRequest$Outbound = { - user_id: string; -}; - -/** @internal */ -export const DeleteScimUserRequest$outboundSchema: z.ZodMiniType< - DeleteScimUserRequest$Outbound, - DeleteScimUserRequest -> = z.pipe( - z.object({ - userId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - userId: "user_id", - }); - }), -); - -export function deleteScimUserRequestToJSON( - deleteScimUserRequest: DeleteScimUserRequest, -): string { - return JSON.stringify( - DeleteScimUserRequest$outboundSchema.parse(deleteScimUserRequest), - ); -} - -/** @internal */ -export const DeleteScimUserResponse$inboundSchema: z.ZodMiniType< - DeleteScimUserResponse, - unknown -> = z.object({}); - -export function deleteScimUserResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => DeleteScimUserResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeleteScimUserResponse' from JSON`, - ); -} diff --git a/src/models/operations/get-entry.ts b/src/models/operations/get-entry.ts index 6376f74..bed7841 100644 --- a/src/models/operations/get-entry.ts +++ b/src/models/operations/get-entry.ts @@ -1470,6 +1470,7 @@ export const GetEntryCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/get-record.ts b/src/models/operations/get-record.ts index d50b13b..375ef9f 100644 --- a/src/models/operations/get-record.ts +++ b/src/models/operations/get-record.ts @@ -1472,6 +1472,7 @@ export const GetRecordCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/get-scim-group.ts b/src/models/operations/get-scim-group.ts deleted file mode 100644 index 1509dcc..0000000 --- a/src/models/operations/get-scim-group.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type GetScimGroupRequest = { - workspaceTeamId: string; -}; - -export type GetScimGroupMember = { - dollarRef: string; - value: string; -}; - -export type GetScimGroupMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type GetScimGroupResponse = { - schemas: Array; - id: string; - displayName: string; - members: Array; - meta: GetScimGroupMeta; -}; - -/** @internal */ -export type GetScimGroupRequest$Outbound = { - workspace_team_id: string; -}; - -/** @internal */ -export const GetScimGroupRequest$outboundSchema: z.ZodMiniType< - GetScimGroupRequest$Outbound, - GetScimGroupRequest -> = z.pipe( - z.object({ - workspaceTeamId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - workspaceTeamId: "workspace_team_id", - }); - }), -); - -export function getScimGroupRequestToJSON( - getScimGroupRequest: GetScimGroupRequest, -): string { - return JSON.stringify( - GetScimGroupRequest$outboundSchema.parse(getScimGroupRequest), - ); -} - -/** @internal */ -export const GetScimGroupMember$inboundSchema: z.ZodMiniType< - GetScimGroupMember, - unknown -> = z.pipe( - z.object({ - $ref: types.string(), - value: types.string(), - }), - z.transform((v) => { - return remap$(v, { - "$ref": "dollarRef", - }); - }), -); - -export function getScimGroupMemberFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimGroupMember$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimGroupMember' from JSON`, - ); -} - -/** @internal */ -export const GetScimGroupMeta$inboundSchema: z.ZodMiniType< - GetScimGroupMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function getScimGroupMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimGroupMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimGroupMeta' from JSON`, - ); -} - -/** @internal */ -export const GetScimGroupResponse$inboundSchema: z.ZodMiniType< - GetScimGroupResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - displayName: types.string(), - members: z.array(z.lazy(() => GetScimGroupMember$inboundSchema)), - meta: z.lazy(() => GetScimGroupMeta$inboundSchema), -}); - -export function getScimGroupResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimGroupResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimGroupResponse' from JSON`, - ); -} diff --git a/src/models/operations/get-scim-user.ts b/src/models/operations/get-scim-user.ts deleted file mode 100644 index 507acd2..0000000 --- a/src/models/operations/get-scim-user.ts +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type GetScimUserRequest = { - userId: string; -}; - -export type GetScimUserName = { - familyName: string; - givenName: string; -}; - -export type GetScimUserEmail = { - value: string; - primary: boolean; -}; - -export type GetScimUserRole = { - value: string; - primary: boolean; -}; - -export type GetScimUserMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type GetScimUserResponse = { - schemas: Array; - id: string; - userName: string; - name: GetScimUserName; - emails: Array; - active: boolean; - roles: Array; - meta: GetScimUserMeta; -}; - -/** @internal */ -export type GetScimUserRequest$Outbound = { - user_id: string; -}; - -/** @internal */ -export const GetScimUserRequest$outboundSchema: z.ZodMiniType< - GetScimUserRequest$Outbound, - GetScimUserRequest -> = z.pipe( - z.object({ - userId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - userId: "user_id", - }); - }), -); - -export function getScimUserRequestToJSON( - getScimUserRequest: GetScimUserRequest, -): string { - return JSON.stringify( - GetScimUserRequest$outboundSchema.parse(getScimUserRequest), - ); -} - -/** @internal */ -export const GetScimUserName$inboundSchema: z.ZodMiniType< - GetScimUserName, - unknown -> = z.object({ - familyName: types.string(), - givenName: types.string(), -}); - -export function getScimUserNameFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimUserName$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimUserName' from JSON`, - ); -} - -/** @internal */ -export const GetScimUserEmail$inboundSchema: z.ZodMiniType< - GetScimUserEmail, - unknown -> = z.object({ - value: types.string(), - primary: types.boolean(), -}); - -export function getScimUserEmailFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimUserEmail$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimUserEmail' from JSON`, - ); -} - -/** @internal */ -export const GetScimUserRole$inboundSchema: z.ZodMiniType< - GetScimUserRole, - unknown -> = z.object({ - value: types.string(), - primary: types.boolean(), -}); - -export function getScimUserRoleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimUserRole$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimUserRole' from JSON`, - ); -} - -/** @internal */ -export const GetScimUserMeta$inboundSchema: z.ZodMiniType< - GetScimUserMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function getScimUserMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimUserMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimUserMeta' from JSON`, - ); -} - -/** @internal */ -export const GetScimUserResponse$inboundSchema: z.ZodMiniType< - GetScimUserResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - userName: types.string(), - name: z.lazy(() => GetScimUserName$inboundSchema), - emails: z.array(z.lazy(() => GetScimUserEmail$inboundSchema)), - active: types.boolean(), - roles: z.array(z.lazy(() => GetScimUserRole$inboundSchema)), - meta: z.lazy(() => GetScimUserMeta$inboundSchema), -}); - -export function getScimUserResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => GetScimUserResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetScimUserResponse' from JSON`, - ); -} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index a9b8724..ab516f1 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -15,8 +15,6 @@ export * from "./create-new-attribute.js"; export * from "./create-note.js"; export * from "./create-object.js"; export * from "./create-record.js"; -export * from "./create-scim-group.js"; -export * from "./create-scim-user.js"; export * from "./create-task.js"; export * from "./create-webhook.js"; export * from "./delete-call-recording.js"; @@ -25,8 +23,6 @@ export * from "./delete-entry.js"; export * from "./delete-file.js"; export * from "./delete-note.js"; export * from "./delete-record.js"; -export * from "./delete-scim-group.js"; -export * from "./delete-scim-user.js"; export * from "./delete-task.js"; export * from "./delete-webhook.js"; export * from "./download-file.js"; @@ -44,8 +40,6 @@ export * from "./get-note.js"; export * from "./get-object-views.js"; export * from "./get-object.js"; export * from "./get-record.js"; -export * from "./get-scim-group.js"; -export * from "./get-scim-user.js"; export * from "./get-task.js"; export * from "./get-thread.js"; export * from "./get-webhook.js"; @@ -64,14 +58,9 @@ export * from "./list-notes.js"; export * from "./list-objects.js"; export * from "./list-record-attribute-values.js"; export * from "./list-record-entries.js"; -export * from "./list-scim-groups.js"; -export * from "./list-scim-schemas.js"; -export * from "./list-scim-users.js"; export * from "./list-tasks.js"; export * from "./list-webhooks.js"; export * from "./list-workspace-members.js"; -export * from "./patch-scim-group.js"; -export * from "./patch-scim-user.js"; export * from "./query-entries.js"; export * from "./query-records.js"; export * from "./search-records.js"; @@ -84,8 +73,6 @@ export * from "./update-entry.js"; export * from "./update-list.js"; export * from "./update-object.js"; export * from "./update-record.js"; -export * from "./update-scim-group.js"; -export * from "./update-scim-user.js"; export * from "./update-task.js"; export * from "./update-webhook.js"; export * from "./upload-file.js"; diff --git a/src/models/operations/list-entry-attribute-values.ts b/src/models/operations/list-entry-attribute-values.ts index 6cdb870..d75aa49 100644 --- a/src/models/operations/list-entry-attribute-values.ts +++ b/src/models/operations/list-entry-attribute-values.ts @@ -1467,6 +1467,7 @@ export const ListEntryAttributeValuesCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/list-record-attribute-values.ts b/src/models/operations/list-record-attribute-values.ts index f7570dc..aa62732 100644 --- a/src/models/operations/list-record-attribute-values.ts +++ b/src/models/operations/list-record-attribute-values.ts @@ -1467,6 +1467,7 @@ export const ListRecordAttributeValuesCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/list-scim-groups.ts b/src/models/operations/list-scim-groups.ts deleted file mode 100644 index 919d2f2..0000000 --- a/src/models/operations/list-scim-groups.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -/** - * Success - */ -export type ListScimGroupsResponse = { - schemas: Array; - totalResults: number; - startIndex: number; - itemsPerPage: number; - resources: Array; -}; - -/** @internal */ -export const ListScimGroupsResponse$inboundSchema: z.ZodMiniType< - ListScimGroupsResponse, - unknown -> = z.pipe( - z.object({ - schemas: z.array(types.string()), - totalResults: types.number(), - startIndex: types.number(), - itemsPerPage: types.number(), - Resources: z.array(z.any()), - }), - z.transform((v) => { - return remap$(v, { - "Resources": "resources", - }); - }), -); - -export function listScimGroupsResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListScimGroupsResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListScimGroupsResponse' from JSON`, - ); -} diff --git a/src/models/operations/list-scim-schemas.ts b/src/models/operations/list-scim-schemas.ts deleted file mode 100644 index 3e4c875..0000000 --- a/src/models/operations/list-scim-schemas.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -/** - * Success - */ -export type ListScimSchemasResponse = { - schemas: Array; - totalResults: number; - startIndex: number; - itemsPerPage: number; - resources: Array; -}; - -/** @internal */ -export const ListScimSchemasResponse$inboundSchema: z.ZodMiniType< - ListScimSchemasResponse, - unknown -> = z.pipe( - z.object({ - schemas: z.array(types.string()), - totalResults: types.number(), - startIndex: types.number(), - itemsPerPage: types.number(), - Resources: z.array(z.any()), - }), - z.transform((v) => { - return remap$(v, { - "Resources": "resources", - }); - }), -); - -export function listScimSchemasResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListScimSchemasResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListScimSchemasResponse' from JSON`, - ); -} diff --git a/src/models/operations/list-scim-users.ts b/src/models/operations/list-scim-users.ts deleted file mode 100644 index 65f06e9..0000000 --- a/src/models/operations/list-scim-users.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -/** - * Success - */ -export type ListScimUsersResponse = { - schemas: Array; - totalResults: number; - startIndex: number; - itemsPerPage: number; - resources: Array; -}; - -/** @internal */ -export const ListScimUsersResponse$inboundSchema: z.ZodMiniType< - ListScimUsersResponse, - unknown -> = z.pipe( - z.object({ - schemas: z.array(types.string()), - totalResults: types.number(), - startIndex: types.number(), - itemsPerPage: types.number(), - Resources: z.array(z.any()), - }), - z.transform((v) => { - return remap$(v, { - "Resources": "resources", - }); - }), -); - -export function listScimUsersResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => ListScimUsersResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ListScimUsersResponse' from JSON`, - ); -} diff --git a/src/models/operations/patch-scim-group.ts b/src/models/operations/patch-scim-group.ts deleted file mode 100644 index 1b46953..0000000 --- a/src/models/operations/patch-scim-group.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type PatchScimGroupRequest = { - workspaceTeamId: string; -}; - -export type PatchScimGroupMember = { - dollarRef: string; - value: string; -}; - -export type PatchScimGroupMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type PatchScimGroupResponse = { - schemas: Array; - id: string; - displayName: string; - members: Array; - meta: PatchScimGroupMeta; -}; - -/** @internal */ -export type PatchScimGroupRequest$Outbound = { - workspace_team_id: string; -}; - -/** @internal */ -export const PatchScimGroupRequest$outboundSchema: z.ZodMiniType< - PatchScimGroupRequest$Outbound, - PatchScimGroupRequest -> = z.pipe( - z.object({ - workspaceTeamId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - workspaceTeamId: "workspace_team_id", - }); - }), -); - -export function patchScimGroupRequestToJSON( - patchScimGroupRequest: PatchScimGroupRequest, -): string { - return JSON.stringify( - PatchScimGroupRequest$outboundSchema.parse(patchScimGroupRequest), - ); -} - -/** @internal */ -export const PatchScimGroupMember$inboundSchema: z.ZodMiniType< - PatchScimGroupMember, - unknown -> = z.pipe( - z.object({ - $ref: types.string(), - value: types.string(), - }), - z.transform((v) => { - return remap$(v, { - "$ref": "dollarRef", - }); - }), -); - -export function patchScimGroupMemberFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimGroupMember$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimGroupMember' from JSON`, - ); -} - -/** @internal */ -export const PatchScimGroupMeta$inboundSchema: z.ZodMiniType< - PatchScimGroupMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function patchScimGroupMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimGroupMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimGroupMeta' from JSON`, - ); -} - -/** @internal */ -export const PatchScimGroupResponse$inboundSchema: z.ZodMiniType< - PatchScimGroupResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - displayName: types.string(), - members: z.array(z.lazy(() => PatchScimGroupMember$inboundSchema)), - meta: z.lazy(() => PatchScimGroupMeta$inboundSchema), -}); - -export function patchScimGroupResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimGroupResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimGroupResponse' from JSON`, - ); -} diff --git a/src/models/operations/patch-scim-user.ts b/src/models/operations/patch-scim-user.ts deleted file mode 100644 index 01105a5..0000000 --- a/src/models/operations/patch-scim-user.ts +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { smartUnion } from "../../types/smart-union.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type PatchScimUserRequest = { - userId: string; -}; - -/** - * No Content - */ -export type PatchScimUserResponseBody2 = {}; - -export type PatchScimUserName = { - givenName: string; - familyName: string; -}; - -export type PatchScimUserEmail = { - type?: string | undefined; - value: string; - primary: boolean; -}; - -export type PatchScimUserRole = { - value: string; - primary: boolean; -}; - -export type PatchScimUserMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type PatchScimUserResponseBody1 = { - schemas: Array; - id: string; - userName: string; - name: PatchScimUserName; - emails: Array; - roles: Array; - profileUrl: string | null; - active: boolean; - meta: PatchScimUserMeta; -}; - -export type PatchScimUserResponse = - | PatchScimUserResponseBody1 - | PatchScimUserResponseBody2; - -/** @internal */ -export type PatchScimUserRequest$Outbound = { - user_id: string; -}; - -/** @internal */ -export const PatchScimUserRequest$outboundSchema: z.ZodMiniType< - PatchScimUserRequest$Outbound, - PatchScimUserRequest -> = z.pipe( - z.object({ - userId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - userId: "user_id", - }); - }), -); - -export function patchScimUserRequestToJSON( - patchScimUserRequest: PatchScimUserRequest, -): string { - return JSON.stringify( - PatchScimUserRequest$outboundSchema.parse(patchScimUserRequest), - ); -} - -/** @internal */ -export const PatchScimUserResponseBody2$inboundSchema: z.ZodMiniType< - PatchScimUserResponseBody2, - unknown -> = z.object({}); - -export function patchScimUserResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserName$inboundSchema: z.ZodMiniType< - PatchScimUserName, - unknown -> = z.object({ - givenName: types.string(), - familyName: types.string(), -}); - -export function patchScimUserNameFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserName$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserName' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserEmail$inboundSchema: z.ZodMiniType< - PatchScimUserEmail, - unknown -> = z.object({ - type: types.optional(types.string()), - value: types.string(), - primary: types.boolean(), -}); - -export function patchScimUserEmailFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserEmail$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserEmail' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserRole$inboundSchema: z.ZodMiniType< - PatchScimUserRole, - unknown -> = z.object({ - value: types.string(), - primary: types.boolean(), -}); - -export function patchScimUserRoleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserRole$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserRole' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserMeta$inboundSchema: z.ZodMiniType< - PatchScimUserMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function patchScimUserMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserMeta' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserResponseBody1$inboundSchema: z.ZodMiniType< - PatchScimUserResponseBody1, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - userName: types.string(), - name: z.lazy(() => PatchScimUserName$inboundSchema), - emails: z.array(z.lazy(() => PatchScimUserEmail$inboundSchema)), - roles: z.array(z.lazy(() => PatchScimUserRole$inboundSchema)), - profileUrl: types.nullable(types.string()), - active: types.boolean(), - meta: z.lazy(() => PatchScimUserMeta$inboundSchema), -}); - -export function patchScimUserResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const PatchScimUserResponse$inboundSchema: z.ZodMiniType< - PatchScimUserResponse, - unknown -> = smartUnion([ - z.lazy(() => PatchScimUserResponseBody1$inboundSchema), - z.lazy(() => PatchScimUserResponseBody2$inboundSchema), -]); - -export function patchScimUserResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => PatchScimUserResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PatchScimUserResponse' from JSON`, - ); -} diff --git a/src/models/operations/query-entries.ts b/src/models/operations/query-entries.ts index 5cf79f2..04d1dec 100644 --- a/src/models/operations/query-entries.ts +++ b/src/models/operations/query-entries.ts @@ -1564,6 +1564,7 @@ export const QueryEntriesCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/query-records.ts b/src/models/operations/query-records.ts index 51d8199..62c74b3 100644 --- a/src/models/operations/query-records.ts +++ b/src/models/operations/query-records.ts @@ -1564,6 +1564,7 @@ export const QueryRecordsCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-append-record.ts b/src/models/operations/update-append-record.ts index d25acc7..43fd738 100644 --- a/src/models/operations/update-append-record.ts +++ b/src/models/operations/update-append-record.ts @@ -1490,6 +1490,7 @@ export const UpdateAppendRecordCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-appending-entry.ts b/src/models/operations/update-appending-entry.ts index e9d03b1..c58f81b 100644 --- a/src/models/operations/update-appending-entry.ts +++ b/src/models/operations/update-appending-entry.ts @@ -1490,6 +1490,7 @@ export const UpdateAppendingEntryCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-attribute.ts b/src/models/operations/update-attribute.ts index eb5f675..dd55090 100644 --- a/src/models/operations/update-attribute.ts +++ b/src/models/operations/update-attribute.ts @@ -81,6 +81,7 @@ export const UpdateAttributeDefaultCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-entry.ts b/src/models/operations/update-entry.ts index df87172..301a559 100644 --- a/src/models/operations/update-entry.ts +++ b/src/models/operations/update-entry.ts @@ -1486,6 +1486,7 @@ export const UpdateEntryCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-record.ts b/src/models/operations/update-record.ts index 40e3c5c..ce16b16 100644 --- a/src/models/operations/update-record.ts +++ b/src/models/operations/update-record.ts @@ -1490,6 +1490,7 @@ export const UpdateRecordCurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/models/operations/update-scim-group.ts b/src/models/operations/update-scim-group.ts deleted file mode 100644 index 637b928..0000000 --- a/src/models/operations/update-scim-group.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type UpdateScimGroupRequest = { - workspaceTeamId: string; -}; - -export type UpdateScimGroupMember = { - dollarRef: string; - value: string; -}; - -export type UpdateScimGroupMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type UpdateScimGroupResponse = { - schemas: Array; - id: string; - displayName: string; - members: Array; - meta: UpdateScimGroupMeta; -}; - -/** @internal */ -export type UpdateScimGroupRequest$Outbound = { - workspace_team_id: string; -}; - -/** @internal */ -export const UpdateScimGroupRequest$outboundSchema: z.ZodMiniType< - UpdateScimGroupRequest$Outbound, - UpdateScimGroupRequest -> = z.pipe( - z.object({ - workspaceTeamId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - workspaceTeamId: "workspace_team_id", - }); - }), -); - -export function updateScimGroupRequestToJSON( - updateScimGroupRequest: UpdateScimGroupRequest, -): string { - return JSON.stringify( - UpdateScimGroupRequest$outboundSchema.parse(updateScimGroupRequest), - ); -} - -/** @internal */ -export const UpdateScimGroupMember$inboundSchema: z.ZodMiniType< - UpdateScimGroupMember, - unknown -> = z.pipe( - z.object({ - $ref: types.string(), - value: types.string(), - }), - z.transform((v) => { - return remap$(v, { - "$ref": "dollarRef", - }); - }), -); - -export function updateScimGroupMemberFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimGroupMember$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimGroupMember' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimGroupMeta$inboundSchema: z.ZodMiniType< - UpdateScimGroupMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function updateScimGroupMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimGroupMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimGroupMeta' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimGroupResponse$inboundSchema: z.ZodMiniType< - UpdateScimGroupResponse, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - displayName: types.string(), - members: z.array(z.lazy(() => UpdateScimGroupMember$inboundSchema)), - meta: z.lazy(() => UpdateScimGroupMeta$inboundSchema), -}); - -export function updateScimGroupResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimGroupResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimGroupResponse' from JSON`, - ); -} diff --git a/src/models/operations/update-scim-user.ts b/src/models/operations/update-scim-user.ts deleted file mode 100644 index bb579fa..0000000 --- a/src/models/operations/update-scim-user.ts +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import * as z from "zod/v4-mini"; -import { remap as remap$ } from "../../lib/primitives.js"; -import { safeParse } from "../../lib/schemas.js"; -import { Result as SafeParseResult } from "../../types/fp.js"; -import * as types from "../../types/primitives.js"; -import { smartUnion } from "../../types/smart-union.js"; -import { SDKValidationError } from "../errors/sdk-validation-error.js"; - -export type UpdateScimUserRequest = { - userId: string; -}; - -/** - * No Content - */ -export type UpdateScimUserResponseBody2 = {}; - -export type UpdateScimUserName = { - givenName: string; - familyName: string; -}; - -export type UpdateScimUserEmail = { - type?: string | undefined; - value: string; - primary: boolean; -}; - -export type UpdateScimUserRole = { - value: string; - primary: boolean; -}; - -export type UpdateScimUserMeta = { - resourceType: string; - created: string; - lastModified: string; -}; - -/** - * Success - */ -export type UpdateScimUserResponseBody1 = { - schemas: Array; - id: string; - userName: string; - name: UpdateScimUserName; - emails: Array; - roles: Array; - profileUrl: string | null; - active: boolean; - meta: UpdateScimUserMeta; -}; - -export type UpdateScimUserResponse = - | UpdateScimUserResponseBody1 - | UpdateScimUserResponseBody2; - -/** @internal */ -export type UpdateScimUserRequest$Outbound = { - user_id: string; -}; - -/** @internal */ -export const UpdateScimUserRequest$outboundSchema: z.ZodMiniType< - UpdateScimUserRequest$Outbound, - UpdateScimUserRequest -> = z.pipe( - z.object({ - userId: z.string(), - }), - z.transform((v) => { - return remap$(v, { - userId: "user_id", - }); - }), -); - -export function updateScimUserRequestToJSON( - updateScimUserRequest: UpdateScimUserRequest, -): string { - return JSON.stringify( - UpdateScimUserRequest$outboundSchema.parse(updateScimUserRequest), - ); -} - -/** @internal */ -export const UpdateScimUserResponseBody2$inboundSchema: z.ZodMiniType< - UpdateScimUserResponseBody2, - unknown -> = z.object({}); - -export function updateScimUserResponseBody2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserResponseBody2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserResponseBody2' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserName$inboundSchema: z.ZodMiniType< - UpdateScimUserName, - unknown -> = z.object({ - givenName: types.string(), - familyName: types.string(), -}); - -export function updateScimUserNameFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserName$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserName' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserEmail$inboundSchema: z.ZodMiniType< - UpdateScimUserEmail, - unknown -> = z.object({ - type: types.optional(types.string()), - value: types.string(), - primary: types.boolean(), -}); - -export function updateScimUserEmailFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserEmail$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserEmail' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserRole$inboundSchema: z.ZodMiniType< - UpdateScimUserRole, - unknown -> = z.object({ - value: types.string(), - primary: types.boolean(), -}); - -export function updateScimUserRoleFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserRole$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserRole' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserMeta$inboundSchema: z.ZodMiniType< - UpdateScimUserMeta, - unknown -> = z.object({ - resourceType: types.string(), - created: types.string(), - lastModified: types.string(), -}); - -export function updateScimUserMetaFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserMeta$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserMeta' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserResponseBody1$inboundSchema: z.ZodMiniType< - UpdateScimUserResponseBody1, - unknown -> = z.object({ - schemas: z.array(types.string()), - id: types.string(), - userName: types.string(), - name: z.lazy(() => UpdateScimUserName$inboundSchema), - emails: z.array(z.lazy(() => UpdateScimUserEmail$inboundSchema)), - roles: z.array(z.lazy(() => UpdateScimUserRole$inboundSchema)), - profileUrl: types.nullable(types.string()), - active: types.boolean(), - meta: z.lazy(() => UpdateScimUserMeta$inboundSchema), -}); - -export function updateScimUserResponseBody1FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserResponseBody1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserResponseBody1' from JSON`, - ); -} - -/** @internal */ -export const UpdateScimUserResponse$inboundSchema: z.ZodMiniType< - UpdateScimUserResponse, - unknown -> = smartUnion([ - z.lazy(() => UpdateScimUserResponseBody1$inboundSchema), - z.lazy(() => UpdateScimUserResponseBody2$inboundSchema), -]); - -export function updateScimUserResponseFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => UpdateScimUserResponse$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateScimUserResponse' from JSON`, - ); -} diff --git a/src/models/output-value.ts b/src/models/output-value.ts index c3d5ebb..5a448af 100644 --- a/src/models/output-value.ts +++ b/src/models/output-value.ts @@ -860,6 +860,7 @@ export const CurrencyCode = { Sek: "SEK", Chf: "CHF", Thb: "THB", + Try: "TRY", Aed: "AED", Uyu: "UYU", Usd: "USD", diff --git a/src/sdk/files.ts b/src/sdk/files.ts index f5fc64f..7a6a110 100644 --- a/src/sdk/files.ts +++ b/src/sdk/files.ts @@ -17,7 +17,7 @@ export class Files extends ClientSDK { * List files * * @remarks - * Lists internal files, externally connected files and folders across the workspace. Optional query parameters may be provided to filter results by object, record, storage provider or parent folder. + * Lists internal files, externally connected files and folders for a specific record. Use the `object` and `record_id` query parameters to specify the record. Optional query parameters may be provided to filter results by storage provider or parent folder. * * This endpoint is in beta. We will aim to avoid breaking changes, but small updates may be made as we roll out to more users. * diff --git a/src/sdk/scim-groups.ts b/src/sdk/scim-groups.ts deleted file mode 100644 index 716bc03..0000000 --- a/src/sdk/scim-groups.ts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { scimGroupsCreate } from "../funcs/scim-groups-create.js"; -import { scimGroupsDelete } from "../funcs/scim-groups-delete.js"; -import { scimGroupsGet } from "../funcs/scim-groups-get.js"; -import { scimGroupsList } from "../funcs/scim-groups-list.js"; -import { scimGroupsPatch } from "../funcs/scim-groups-patch.js"; -import { scimGroupsUpdate } from "../funcs/scim-groups-update.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as operations from "../models/operations/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ScimGroups extends ClientSDK { - /** - * List SCIM groups - * - * @remarks - * Lists SCIM groups for the workspace. - * - * Required scopes: `user_management:read`. - */ - async list( - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsList( - this, - options, - )); - } - - /** - * Create SCIM group - * - * @remarks - * Creates a SCIM group for the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async create( - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsCreate( - this, - options, - )); - } - - /** - * Get SCIM group - * - * @remarks - * Gets a SCIM group by ID. - * - * Required scopes: `user_management:read`. - */ - async get( - request: operations.GetScimGroupRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsGet( - this, - request, - options, - )); - } - - /** - * Patch SCIM group - * - * @remarks - * Patches a SCIM group in the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async patch( - request: operations.PatchScimGroupRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsPatch( - this, - request, - options, - )); - } - - /** - * Update SCIM group - * - * @remarks - * Updates a SCIM group in the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async update( - request: operations.UpdateScimGroupRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsUpdate( - this, - request, - options, - )); - } - - /** - * Delete SCIM group - * - * @remarks - * Deletes a SCIM group from the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async delete( - request: operations.DeleteScimGroupRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimGroupsDelete( - this, - request, - options, - )); - } -} diff --git a/src/sdk/scim-schemas.ts b/src/sdk/scim-schemas.ts deleted file mode 100644 index 37fc9cc..0000000 --- a/src/sdk/scim-schemas.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { scimSchemasList } from "../funcs/scim-schemas-list.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as operations from "../models/operations/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ScimSchemas extends ClientSDK { - /** - * List SCIM schemas - * - * @remarks - * Lists the SCIM schemas supported by this service provider. - * - * Required scopes: `user_management:read`. - */ - async list( - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimSchemasList( - this, - options, - )); - } -} diff --git a/src/sdk/scim-users.ts b/src/sdk/scim-users.ts deleted file mode 100644 index 5677acc..0000000 --- a/src/sdk/scim-users.ts +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { scimUsersCreate } from "../funcs/scim-users-create.js"; -import { scimUsersDelete } from "../funcs/scim-users-delete.js"; -import { scimUsersGet } from "../funcs/scim-users-get.js"; -import { scimUsersList } from "../funcs/scim-users-list.js"; -import { scimUsersPatch } from "../funcs/scim-users-patch.js"; -import { scimUsersUpdate } from "../funcs/scim-users-update.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as operations from "../models/operations/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ScimUsers extends ClientSDK { - /** - * List SCIM users - * - * @remarks - * Lists SCIM users for the workspace. - * - * Required scopes: `user_management:read`. - */ - async list( - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersList( - this, - options, - )); - } - - /** - * Create SCIM user - * - * @remarks - * Creates a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async create( - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersCreate( - this, - options, - )); - } - - /** - * Get SCIM user - * - * @remarks - * Gets a SCIM user by ID. - * - * Required scopes: `user_management:read`. - */ - async get( - request: operations.GetScimUserRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersGet( - this, - request, - options, - )); - } - - /** - * Patch SCIM user - * - * @remarks - * Patches a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async patch( - request: operations.PatchScimUserRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersPatch( - this, - request, - options, - )); - } - - /** - * Update SCIM user - * - * @remarks - * Updates a SCIM user in the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async update( - request: operations.UpdateScimUserRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersUpdate( - this, - request, - options, - )); - } - - /** - * Delete SCIM user - * - * @remarks - * Deletes a SCIM user from the workspace. - * - * Required scopes: `user_management:read-write`. - */ - async delete( - request: operations.DeleteScimUserRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(scimUsersDelete( - this, - request, - options, - )); - } -} diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 2e8b9c1..989d397 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -14,9 +14,6 @@ import { Meta } from "./meta.js"; import { Notes } from "./notes.js"; import { Objects } from "./objects.js"; import { Records } from "./records.js"; -import { ScimGroups } from "./scim-groups.js"; -import { ScimSchemas } from "./scim-schemas.js"; -import { ScimUsers } from "./scim-users.js"; import { Tasks } from "./tasks.js"; import { Threads } from "./threads.js"; import { Transcripts } from "./transcripts.js"; @@ -94,21 +91,6 @@ export class Attio extends ClientSDK { return (this._files ??= new Files(this._options)); } - private _scimSchemas?: ScimSchemas; - get scimSchemas(): ScimSchemas { - return (this._scimSchemas ??= new ScimSchemas(this._options)); - } - - private _scimUsers?: ScimUsers; - get scimUsers(): ScimUsers { - return (this._scimUsers ??= new ScimUsers(this._options)); - } - - private _scimGroups?: ScimGroups; - get scimGroups(): ScimGroups { - return (this._scimGroups ??= new ScimGroups(this._options)); - } - private _webhooks?: Webhooks; get webhooks(): Webhooks { return (this._webhooks ??= new Webhooks(this._options)); diff --git a/src/types/async.ts b/src/types/async.ts index 689dba5..1543b95 100644 --- a/src/types/async.ts +++ b/src/types/async.ts @@ -21,16 +21,17 @@ export type APICall = export class APIPromise implements Promise { readonly #promise: Promise<[T, APICall]>; - readonly #unwrapped: Promise; + #unwrapped: Promise | null; readonly [Symbol.toStringTag] = "APIPromise"; constructor(p: [T, APICall] | Promise<[T, APICall]>) { this.#promise = p instanceof Promise ? p : Promise.resolve(p); - this.#unwrapped = - p instanceof Promise - ? this.#promise.then(([value]) => value) - : Promise.resolve(p[0]); + this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]); + } + + #getUnwrapped(): Promise { + return (this.#unwrapped ??= this.#promise.then(([value]) => value)); } then( @@ -55,11 +56,11 @@ export class APIPromise implements Promise { | null | undefined, ): Promise { - return this.#unwrapped.catch(onrejected); + return this.#getUnwrapped().catch(onrejected); } finally(onfinally?: (() => void) | null | undefined): Promise { - return this.#unwrapped.finally(onfinally); + return this.#getUnwrapped().finally(onfinally); } $inspect(): Promise<[T, APICall]> { diff --git a/src/types/primitives.ts b/src/types/primitives.ts index 3db7350..5c4e93d 100644 --- a/src/types/primitives.ts +++ b/src/types/primitives.ts @@ -70,28 +70,6 @@ export function number(): z.ZodMiniType { ]); } -export function bigint(): z.ZodMiniType { - return z.union([ - z.pipe( - z.string(), - z.transform((x, ctx) => { - try { - return BigInt(x); - } catch (error) { - ctx.issues.push({ - input: x, - code: "invalid_type", - expected: "bigint", - received: "string", - }); - return z.NEVER; - } - }), - ), - zodDefaultToZeroValue(0n), - ]); -} - export function date(): z.ZodMiniType { return z.union([ z.pipe( @@ -126,10 +104,6 @@ export function literal( return z.union([z.literal(value), zodDefaultToZeroValue(value)]); } -export function literalBigInt(value: T): z.ZodMiniType { - return z.pipe(z.literal(String(value)), z.transform((x) => BigInt(x))) as any; -} - export function optional(t: T) { return z.optional(z.union([ // Null -> undefined From be197afa01d6320378b29fd7502d4a5c5421a071 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2026 01:07:19 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow