Skip to content

Commit 820d389

Browse files
release: 0.1.1 (#3)
* chore: update SDK settings * chore: remove custom code * chore(internal): more robust bootstrap script * refactor(api): Rename submodules * chore: update SDK settings * chore: update SDK settings * chore: update SDK settings * release: 0.1.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent b9dc0ae commit 820d389

54 files changed

Lines changed: 259 additions & 250 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0"
2+
".": "0.1.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/unify%2Funify-17c3b84a98900702272afd48aea1815a914796c8b8d2ff9ac958f58b61397add.yml
33
openapi_spec_hash: 669c33d5b065c8cd22fc2c166214cbdc
4-
config_hash: 733f711df6a401fc87fd4c8a0957d89f
4+
config_hash: 2f910780c5b7c5ab1a829451f7ff9c44

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.1.1 (2026-04-23)
4+
5+
Full Changelog: [v0.1.0...v0.1.1](https://github.com/unifygtm/sdk-python/compare/v0.1.0...v0.1.1)
6+
7+
### Chores
8+
9+
* **internal:** more robust bootstrap script ([4298584](https://github.com/unifygtm/sdk-python/commit/4298584b2c540e4922857f559549d0239267d622))
10+
* remove custom code ([8732b35](https://github.com/unifygtm/sdk-python/commit/8732b35d6b69a3633456eaf39bac4b95ac0a4624))
11+
* update SDK settings ([3e248ae](https://github.com/unifygtm/sdk-python/commit/3e248aef5b390fe4d1efc63fdeb708160918ab0b))
12+
* update SDK settings ([3749447](https://github.com/unifygtm/sdk-python/commit/3749447ade477291d17a579a7f914346ca86b885))
13+
* update SDK settings ([c1ec78e](https://github.com/unifygtm/sdk-python/commit/c1ec78ec7bf427da4ebfdcf27f96944316cd5eb9))
14+
* update SDK settings ([606afb3](https://github.com/unifygtm/sdk-python/commit/606afb30547102c377e9a15e38448a20ab27371b))
15+
16+
17+
### Refactors
18+
19+
* **api:** Rename submodules ([06c4b2b](https://github.com/unifygtm/sdk-python/commit/06c4b2b5642c4cae801249d3e58c07a2bd7c6bea))
20+
321
## 0.1.0 (2026-04-22)
422

523
Full Changelog: [v0.0.1...v0.1.0](https://github.com/unifygtm/sdk-python/compare/v0.0.1...v0.1.0)

api.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -78,31 +78,31 @@ Types:
7878

7979
```python
8080
from unify.types.data import (
81-
UAddress,
82-
UBoolean,
83-
UCompanyAttributes,
84-
UCountry,
85-
UCurrency,
86-
UDate,
87-
UDatetime,
88-
UDecimal,
89-
UEmail,
90-
UInteger,
91-
UMultiselect,
92-
UOpportunityAttributes,
93-
UPersonAttributes,
94-
UPhoneNumber,
95-
URecord,
96-
URecordAttributes,
97-
UReferenceByID,
98-
UReferenceByMatch,
99-
UReferenceByUpsert,
100-
USelect,
101-
UText,
102-
UURL,
103-
UUuid,
104-
UValue,
81+
Address,
82+
Boolean,
83+
CompanyAttributes,
84+
Country,
85+
Currency,
86+
Date,
87+
Datetime,
88+
Decimal,
89+
Email,
90+
Integer,
91+
Multiselect,
92+
OpportunityAttributes,
93+
PersonAttributes,
94+
PhoneNumber,
95+
Record,
96+
RecordAttributes,
97+
ReferenceByID,
98+
ReferenceByMatch,
99+
ReferenceByUpsert,
100+
Select,
101+
Text,
102+
URL,
103+
Uuid,
105104
ValidationMode,
105+
Value,
106106
RecordCreateResponse,
107107
RecordRetrieveResponse,
108108
RecordUpdateResponse,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "unifygtm-sdk"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "The official Python library for the Unify API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

scripts/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7-
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
7+
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
88
brew bundle check >/dev/null 2>&1 || {
99
echo -n "==> Install Homebrew dependencies? (y/N): "
1010
read -r response

src/unify/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "unify"
4-
__version__ = "0.1.0" # x-release-please-version
4+
__version__ = "0.1.1" # x-release-please-version

src/unify/resources/data/records.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
from ...types.data.record_delete_response import RecordDeleteResponse
2828
from ...types.data.record_update_response import RecordUpdateResponse
2929
from ...types.data.record_upsert_response import RecordUpsertResponse
30+
from ...types.data.record_attributes_param import RecordAttributesParam
3031
from ...types.data.record_retrieve_response import RecordRetrieveResponse
31-
from ...types.data.u_record_attributes_param import URecordAttributesParam
3232
from ...types.data.record_find_unique_response import RecordFindUniqueResponse
3333

3434
__all__ = ["RecordsResource", "AsyncRecordsResource"]
@@ -58,7 +58,7 @@ def create(
5858
self,
5959
object_name: str,
6060
*,
61-
data: URecordAttributesParam,
61+
data: RecordAttributesParam,
6262
validation_mode: ValidationMode | Omit = omit,
6363
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6464
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -145,7 +145,7 @@ def update(
145145
record_id: str,
146146
*,
147147
object_name: str,
148-
data: URecordAttributesParam,
148+
data: RecordAttributesParam,
149149
validation_mode: ValidationMode | Omit = omit,
150150
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
151151
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -235,7 +235,7 @@ def find_unique(
235235
self,
236236
object_name: str,
237237
*,
238-
match: URecordAttributesParam,
238+
match: RecordAttributesParam,
239239
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
240240
# The extra values given here take precedence over values defined on the client or passed to this method.
241241
extra_headers: Headers | None = None,
@@ -270,13 +270,13 @@ def upsert(
270270
self,
271271
object_name: str,
272272
*,
273-
match: URecordAttributesParam,
273+
match: RecordAttributesParam,
274274
validation_mode: ValidationMode | Omit = omit,
275-
create: URecordAttributesParam | Omit = omit,
276-
create_or_update: URecordAttributesParam | Omit = omit,
277-
create_or_update_if_empty: URecordAttributesParam | Omit = omit,
278-
update: URecordAttributesParam | Omit = omit,
279-
update_if_empty: URecordAttributesParam | Omit = omit,
275+
create: RecordAttributesParam | Omit = omit,
276+
create_or_update: RecordAttributesParam | Omit = omit,
277+
create_or_update_if_empty: RecordAttributesParam | Omit = omit,
278+
update: RecordAttributesParam | Omit = omit,
279+
update_if_empty: RecordAttributesParam | Omit = omit,
280280
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
281281
# The extra values given here take precedence over values defined on the client or passed to this method.
282282
extra_headers: Headers | None = None,
@@ -366,7 +366,7 @@ async def create(
366366
self,
367367
object_name: str,
368368
*,
369-
data: URecordAttributesParam,
369+
data: RecordAttributesParam,
370370
validation_mode: ValidationMode | Omit = omit,
371371
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
372372
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -455,7 +455,7 @@ async def update(
455455
record_id: str,
456456
*,
457457
object_name: str,
458-
data: URecordAttributesParam,
458+
data: RecordAttributesParam,
459459
validation_mode: ValidationMode | Omit = omit,
460460
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
461461
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -547,7 +547,7 @@ async def find_unique(
547547
self,
548548
object_name: str,
549549
*,
550-
match: URecordAttributesParam,
550+
match: RecordAttributesParam,
551551
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
552552
# The extra values given here take precedence over values defined on the client or passed to this method.
553553
extra_headers: Headers | None = None,
@@ -582,13 +582,13 @@ async def upsert(
582582
self,
583583
object_name: str,
584584
*,
585-
match: URecordAttributesParam,
585+
match: RecordAttributesParam,
586586
validation_mode: ValidationMode | Omit = omit,
587-
create: URecordAttributesParam | Omit = omit,
588-
create_or_update: URecordAttributesParam | Omit = omit,
589-
create_or_update_if_empty: URecordAttributesParam | Omit = omit,
590-
update: URecordAttributesParam | Omit = omit,
591-
update_if_empty: URecordAttributesParam | Omit = omit,
587+
create: RecordAttributesParam | Omit = omit,
588+
create_or_update: RecordAttributesParam | Omit = omit,
589+
create_or_update_if_empty: RecordAttributesParam | Omit = omit,
590+
update: RecordAttributesParam | Omit = omit,
591+
update_if_empty: RecordAttributesParam | Omit = omit,
592592
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
593593
# The extra values given here take precedence over values defined on the client or passed to this method.
594594
extra_headers: Headers | None = None,

src/unify/types/data/__init__.py

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,43 @@
22

33
from __future__ import annotations
44

5-
from .u_url import UURL as UURL
6-
from .u_date import UDate as UDate
7-
from .u_text import UText as UText
8-
from .u_uuid import UUuid as UUuid
9-
from .u_email import UEmail as UEmail
10-
from .u_value import UValue as UValue
5+
from .url import URL as URL
6+
from .date import Date as Date
7+
from .text import Text as Text
8+
from .uuid import Uuid as Uuid
9+
from .email import Email as Email
10+
from .value import Value as Value
11+
from .record import Record as Record
12+
from .select import Select as Select
13+
from .address import Address as Address
14+
from .boolean import Boolean as Boolean
15+
from .country import Country as Country
16+
from .decimal import Decimal as Decimal
17+
from .integer import Integer as Integer
18+
from .currency import Currency as Currency
19+
from .datetime import Datetime as Datetime
1120
from .u_object import UObject as UObject
12-
from .u_record import URecord as URecord
13-
from .u_select import USelect as USelect
14-
from .u_address import UAddress as UAddress
15-
from .u_boolean import UBoolean as UBoolean
16-
from .u_country import UCountry as UCountry
17-
from .u_decimal import UDecimal as UDecimal
18-
from .u_integer import UInteger as UInteger
19-
from .u_currency import UCurrency as UCurrency
20-
from .u_datetime import UDatetime as UDatetime
21+
from .multiselect import Multiselect as Multiselect
2122
from .u_attribute import UAttribute as UAttribute
22-
from .u_multiselect import UMultiselect as UMultiselect
23-
from .u_value_param import UValueParam as UValueParam
24-
from .u_phone_number import UPhoneNumber as UPhoneNumber
25-
from .u_address_param import UAddressParam as UAddressParam
26-
from .u_country_param import UCountryParam as UCountryParam
23+
from .value_param import ValueParam as ValueParam
24+
from .phone_number import PhoneNumber as PhoneNumber
25+
from .address_param import AddressParam as AddressParam
26+
from .country_param import CountryParam as CountryParam
27+
from .currency_param import CurrencyParam as CurrencyParam
28+
from .reference_by_id import ReferenceByID as ReferenceByID
2729
from .validation_mode import ValidationMode as ValidationMode
28-
from .u_currency_param import UCurrencyParam as UCurrencyParam
30+
from .multiselect_param import MultiselectParam as MultiselectParam
31+
from .record_attributes import RecordAttributes as RecordAttributes
2932
from .u_attribute_param import UAttributeParam as UAttributeParam
30-
from .u_reference_by_id import UReferenceByID as UReferenceByID
31-
from .u_multiselect_param import UMultiselectParam as UMultiselectParam
32-
from .u_record_attributes import URecordAttributes as URecordAttributes
33+
from .reference_by_match import ReferenceByMatch as ReferenceByMatch
34+
from .reference_by_upsert import ReferenceByUpsert as ReferenceByUpsert
3335
from .object_create_params import ObjectCreateParams as ObjectCreateParams
3436
from .object_list_response import ObjectListResponse as ObjectListResponse
3537
from .object_update_params import ObjectUpdateParams as ObjectUpdateParams
3638
from .record_create_params import RecordCreateParams as RecordCreateParams
3739
from .record_update_params import RecordUpdateParams as RecordUpdateParams
3840
from .record_upsert_params import RecordUpsertParams as RecordUpsertParams
39-
from .u_reference_by_match import UReferenceByMatch as UReferenceByMatch
40-
from .u_reference_by_upsert import UReferenceByUpsert as UReferenceByUpsert
41+
from .reference_by_id_param import ReferenceByIDParam as ReferenceByIDParam
4142
from .object_create_response import ObjectCreateResponse as ObjectCreateResponse
4243
from .object_delete_response import ObjectDeleteResponse as ObjectDeleteResponse
4344
from .object_update_response import ObjectUpdateResponse as ObjectUpdateResponse
@@ -48,19 +49,18 @@
4849
from .attribute_create_params import AttributeCreateParams as AttributeCreateParams
4950
from .attribute_list_response import AttributeListResponse as AttributeListResponse
5051
from .attribute_update_params import AttributeUpdateParams as AttributeUpdateParams
51-
from .u_reference_by_id_param import UReferenceByIDParam as UReferenceByIDParam
52+
from .record_attributes_param import RecordAttributesParam as RecordAttributesParam
5253
from .u_reference_cardinality import UReferenceCardinality as UReferenceCardinality
5354
from .object_retrieve_response import ObjectRetrieveResponse as ObjectRetrieveResponse
5455
from .record_retrieve_response import RecordRetrieveResponse as RecordRetrieveResponse
56+
from .reference_by_match_param import ReferenceByMatchParam as ReferenceByMatchParam
5557
from .attribute_create_response import AttributeCreateResponse as AttributeCreateResponse
5658
from .attribute_delete_response import AttributeDeleteResponse as AttributeDeleteResponse
5759
from .attribute_update_response import AttributeUpdateResponse as AttributeUpdateResponse
5860
from .record_find_unique_params import RecordFindUniqueParams as RecordFindUniqueParams
59-
from .u_record_attributes_param import URecordAttributesParam as URecordAttributesParam
60-
from .u_reference_by_match_param import UReferenceByMatchParam as UReferenceByMatchParam
61+
from .reference_by_upsert_param import ReferenceByUpsertParam as ReferenceByUpsertParam
6162
from .attribute_retrieve_response import AttributeRetrieveResponse as AttributeRetrieveResponse
6263
from .record_find_unique_response import RecordFindUniqueResponse as RecordFindUniqueResponse
63-
from .u_reference_by_upsert_param import UReferenceByUpsertParam as UReferenceByUpsertParam
6464
from .u_related_reference_attribute import URelatedReferenceAttribute as URelatedReferenceAttribute
6565
from .u_related_reference_attribute_param import URelatedReferenceAttributeParam as URelatedReferenceAttributeParam
6666
from .u_attribute_option_update_item_param import UAttributeOptionUpdateItemParam as UAttributeOptionUpdateItemParam
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
from typing import Optional
44

5+
from .country import Country
56
from ..._models import BaseModel
6-
from .u_country import UCountry
77

8-
__all__ = ["UAddress"]
8+
__all__ = ["Address"]
99

1010

11-
class UAddress(BaseModel):
11+
class Address(BaseModel):
1212
"""Composite object representing a physical address."""
1313

1414
administrative_area: Optional[str] = None
1515
"""State, province, region, or territory."""
1616

17-
country: Optional[UCountry] = None
17+
country: Optional[Country] = None
1818
"""Composite object representing a country."""
1919

2020
dependent_locality: Optional[str] = None

0 commit comments

Comments
 (0)