attio-ts-sdk 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -14916,7 +14916,7 @@ declare const zAttribute: z.ZodObject<{
14916
14916
  title: z.ZodString;
14917
14917
  description: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
14918
14918
  api_slug: z.ZodString;
14919
- type: z.ZodEnum<{
14919
+ type: z.ZodNullable<z.ZodEnum<{
14920
14920
  number: "number";
14921
14921
  date: "date";
14922
14922
  location: "location";
@@ -14934,7 +14934,7 @@ declare const zAttribute: z.ZodObject<{
14934
14934
  rating: "rating";
14935
14935
  select: "select";
14936
14936
  timestamp: "timestamp";
14937
- }>;
14937
+ }>>;
14938
14938
  is_system_attribute: z.ZodBoolean;
14939
14939
  is_writable: z.ZodBoolean;
14940
14940
  is_required: z.ZodBoolean;
@@ -14943,35 +14943,35 @@ declare const zAttribute: z.ZodObject<{
14943
14943
  is_default_value_enabled: z.ZodBoolean;
14944
14944
  is_archived: z.ZodBoolean;
14945
14945
  default_value: z.ZodUnion<readonly [z.ZodObject<{
14946
- type: z.ZodEnum<{
14946
+ type: z.ZodNullable<z.ZodEnum<{
14947
14947
  dynamic: "dynamic";
14948
- }>;
14949
- template: z.ZodUnion<readonly [z.ZodEnum<{
14948
+ }>>;
14949
+ template: z.ZodUnion<readonly [z.ZodNullable<z.ZodEnum<{
14950
14950
  "current-user": "current-user";
14951
- }>, z.ZodString]>;
14951
+ }>>, z.ZodString]>;
14952
14952
  }, z.core.$strip>, z.ZodObject<{
14953
- type: z.ZodEnum<{
14953
+ type: z.ZodNullable<z.ZodEnum<{
14954
14954
  static: "static";
14955
- }>;
14955
+ }>>;
14956
14956
  template: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14957
- referenced_actor_type: z.ZodEnum<{
14957
+ referenced_actor_type: z.ZodNullable<z.ZodEnum<{
14958
14958
  "api-token": "api-token";
14959
14959
  "workspace-member": "workspace-member";
14960
14960
  system: "system";
14961
14961
  app: "app";
14962
- }>;
14962
+ }>>;
14963
14963
  referenced_actor_id: z.ZodUnion<readonly [z.ZodUUID, z.ZodNull]>;
14964
- attribute_type: z.ZodEnum<{
14964
+ attribute_type: z.ZodNullable<z.ZodEnum<{
14965
14965
  "actor-reference": "actor-reference";
14966
- }>;
14966
+ }>>;
14967
14967
  }, z.core.$strip>, z.ZodObject<{
14968
14968
  value: z.ZodBoolean;
14969
- attribute_type: z.ZodEnum<{
14969
+ attribute_type: z.ZodNullable<z.ZodEnum<{
14970
14970
  checkbox: "checkbox";
14971
- }>;
14971
+ }>>;
14972
14972
  }, z.core.$strip>, z.ZodObject<{
14973
14973
  currency_value: z.ZodNumber;
14974
- currency_code: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14974
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodEnum<{
14975
14975
  ARS: "ARS";
14976
14976
  AUD: "AUD";
14977
14977
  BRL: "BRL";
@@ -15012,58 +15012,58 @@ declare const zAttribute: z.ZodObject<{
15012
15012
  AED: "AED";
15013
15013
  UYU: "UYU";
15014
15014
  USD: "USD";
15015
- }>>>;
15016
- attribute_type: z.ZodEnum<{
15015
+ }>>>>;
15016
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15017
15017
  currency: "currency";
15018
- }>;
15018
+ }>>;
15019
15019
  }, z.core.$strip>, z.ZodObject<{
15020
- attribute_type: z.ZodEnum<{
15020
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15021
15021
  date: "date";
15022
- }>;
15022
+ }>>;
15023
15023
  value: z.ZodString;
15024
15024
  }, z.core.$strip>, z.ZodObject<{
15025
15025
  domain: z.ZodString;
15026
15026
  root_domain: z.ZodString;
15027
- attribute_type: z.ZodEnum<{
15027
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15028
15028
  domain: "domain";
15029
- }>;
15029
+ }>>;
15030
15030
  }, z.core.$strip>, z.ZodObject<{
15031
15031
  original_email_address: z.ZodString;
15032
15032
  email_address: z.ZodString;
15033
15033
  email_domain: z.ZodString;
15034
15034
  email_root_domain: z.ZodString;
15035
15035
  email_local_specifier: z.ZodString;
15036
- attribute_type: z.ZodEnum<{
15036
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15037
15037
  "email-address": "email-address";
15038
- }>;
15038
+ }>>;
15039
15039
  }, z.core.$strip>, z.ZodObject<{
15040
15040
  target_object: z.ZodString;
15041
15041
  target_record_id: z.ZodUUID;
15042
- attribute_type: z.ZodEnum<{
15042
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15043
15043
  "record-reference": "record-reference";
15044
- }>;
15044
+ }>>;
15045
15045
  }, z.core.$strip>, z.ZodObject<{
15046
- interaction_type: z.ZodEnum<{
15046
+ interaction_type: z.ZodNullable<z.ZodEnum<{
15047
15047
  email: "email";
15048
15048
  "calendar-event": "calendar-event";
15049
15049
  call: "call";
15050
15050
  "chat-thread": "chat-thread";
15051
15051
  "in-person-meeting": "in-person-meeting";
15052
15052
  meeting: "meeting";
15053
- }>;
15053
+ }>>;
15054
15054
  interacted_at: z.ZodISODateTime;
15055
15055
  owner_actor: z.ZodObject<{
15056
15056
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15057
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15057
+ type: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodEnum<{
15058
15058
  "api-token": "api-token";
15059
15059
  "workspace-member": "workspace-member";
15060
15060
  system: "system";
15061
15061
  app: "app";
15062
- }>>>;
15062
+ }>>>>;
15063
15063
  }, z.core.$strip>;
15064
- attribute_type: z.ZodEnum<{
15064
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15065
15065
  interaction: "interaction";
15066
- }>;
15066
+ }>>;
15067
15067
  }, z.core.$strip>, z.ZodObject<{
15068
15068
  line_1: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15069
15069
  line_2: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -15072,7 +15072,7 @@ declare const zAttribute: z.ZodObject<{
15072
15072
  locality: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15073
15073
  region: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15074
15074
  postcode: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15075
- country_code: z.ZodEnum<{
15075
+ country_code: z.ZodNullable<z.ZodEnum<{
15076
15076
  AF: "AF";
15077
15077
  AX: "AX";
15078
15078
  AL: "AL";
@@ -15325,27 +15325,27 @@ declare const zAttribute: z.ZodObject<{
15325
15325
  SX: "SX";
15326
15326
  XK: "XK";
15327
15327
  AC: "AC";
15328
- }>;
15328
+ }>>;
15329
15329
  latitude: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15330
15330
  longitude: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15331
- attribute_type: z.ZodEnum<{
15331
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15332
15332
  location: "location";
15333
- }>;
15333
+ }>>;
15334
15334
  }, z.core.$strip>, z.ZodObject<{
15335
15335
  value: z.ZodNumber;
15336
- attribute_type: z.ZodEnum<{
15336
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15337
15337
  number: "number";
15338
- }>;
15338
+ }>>;
15339
15339
  }, z.core.$strip>, z.ZodObject<{
15340
15340
  first_name: z.ZodString;
15341
15341
  last_name: z.ZodString;
15342
15342
  full_name: z.ZodString;
15343
- attribute_type: z.ZodEnum<{
15343
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15344
15344
  "personal-name": "personal-name";
15345
- }>;
15345
+ }>>;
15346
15346
  }, z.core.$strip>, z.ZodObject<{
15347
15347
  original_phone_number: z.ZodString;
15348
- country_code: z.ZodEnum<{
15348
+ country_code: z.ZodNullable<z.ZodEnum<{
15349
15349
  AF: "AF";
15350
15350
  AX: "AX";
15351
15351
  AL: "AL";
@@ -15598,16 +15598,16 @@ declare const zAttribute: z.ZodObject<{
15598
15598
  SX: "SX";
15599
15599
  XK: "XK";
15600
15600
  AC: "AC";
15601
- }>;
15601
+ }>>;
15602
15602
  phone_number: z.ZodString;
15603
- attribute_type: z.ZodEnum<{
15603
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15604
15604
  "phone-number": "phone-number";
15605
- }>;
15605
+ }>>;
15606
15606
  }, z.core.$strip>, z.ZodObject<{
15607
15607
  status: z.ZodUUID;
15608
- attribute_type: z.ZodEnum<{
15608
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15609
15609
  status: "status";
15610
- }>;
15610
+ }>>;
15611
15611
  }, z.core.$strip>, z.ZodObject<{
15612
15612
  status: z.ZodObject<{
15613
15613
  id: z.ZodObject<{
@@ -15621,19 +15621,19 @@ declare const zAttribute: z.ZodObject<{
15621
15621
  celebration_enabled: z.ZodBoolean;
15622
15622
  target_time_in_status: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
15623
15623
  }, z.core.$strip>;
15624
- attribute_type: z.ZodEnum<{
15624
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15625
15625
  status: "status";
15626
- }>;
15626
+ }>>;
15627
15627
  }, z.core.$strip>, z.ZodObject<{
15628
15628
  value: z.ZodNumber;
15629
- attribute_type: z.ZodEnum<{
15629
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15630
15630
  rating: "rating";
15631
- }>;
15631
+ }>>;
15632
15632
  }, z.core.$strip>, z.ZodObject<{
15633
15633
  option: z.ZodUUID;
15634
- attribute_type: z.ZodEnum<{
15634
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15635
15635
  select: "select";
15636
- }>;
15636
+ }>>;
15637
15637
  }, z.core.$strip>, z.ZodObject<{
15638
15638
  option: z.ZodObject<{
15639
15639
  id: z.ZodObject<{
@@ -15645,18 +15645,18 @@ declare const zAttribute: z.ZodObject<{
15645
15645
  title: z.ZodString;
15646
15646
  is_archived: z.ZodBoolean;
15647
15647
  }, z.core.$strip>;
15648
- attribute_type: z.ZodEnum<{
15648
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15649
15649
  select: "select";
15650
- }>;
15650
+ }>>;
15651
15651
  }, z.core.$strip>, z.ZodObject<{
15652
15652
  value: z.ZodString;
15653
- attribute_type: z.ZodEnum<{
15653
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15654
15654
  text: "text";
15655
- }>;
15655
+ }>>;
15656
15656
  }, z.core.$strip>, z.ZodObject<{
15657
- attribute_type: z.ZodEnum<{
15657
+ attribute_type: z.ZodNullable<z.ZodEnum<{
15658
15658
  timestamp: "timestamp";
15659
- }>;
15659
+ }>>;
15660
15660
  value: z.ZodISODateTime;
15661
15661
  }, z.core.$strip>]>>;
15662
15662
  }, z.core.$strip>, z.ZodNull]>;
@@ -15674,7 +15674,7 @@ declare const zAttribute: z.ZodObject<{
15674
15674
  created_at: z.ZodString;
15675
15675
  config: z.ZodObject<{
15676
15676
  currency: z.ZodObject<{
15677
- default_currency_code: z.ZodEnum<{
15677
+ default_currency_code: z.ZodNullable<z.ZodEnum<{
15678
15678
  ARS: "ARS";
15679
15679
  AUD: "AUD";
15680
15680
  BRL: "BRL";
@@ -15715,13 +15715,13 @@ declare const zAttribute: z.ZodObject<{
15715
15715
  AED: "AED";
15716
15716
  UYU: "UYU";
15717
15717
  USD: "USD";
15718
- }>;
15719
- display_type: z.ZodEnum<{
15718
+ }>>;
15719
+ display_type: z.ZodNullable<z.ZodEnum<{
15720
15720
  symbol: "symbol";
15721
15721
  name: "name";
15722
15722
  code: "code";
15723
15723
  narrowSymbol: "narrowSymbol";
15724
- }>;
15724
+ }>>;
15725
15725
  }, z.core.$strip>;
15726
15726
  record_reference: z.ZodObject<{
15727
15727
  allowed_object_ids: z.ZodUnion<readonly [z.ZodArray<z.ZodUUID>, z.ZodNull]>;
@@ -15741,22 +15741,22 @@ declare const zTask: z.ZodObject<{
15741
15741
  target_record_id: z.ZodUUID;
15742
15742
  }, z.core.$strip>>;
15743
15743
  assignees: z.ZodArray<z.ZodObject<{
15744
- referenced_actor_type: z.ZodEnum<{
15744
+ referenced_actor_type: z.ZodNullable<z.ZodEnum<{
15745
15745
  "api-token": "api-token";
15746
15746
  "workspace-member": "workspace-member";
15747
15747
  system: "system";
15748
15748
  app: "app";
15749
- }>;
15749
+ }>>;
15750
15750
  referenced_actor_id: z.ZodUUID;
15751
15751
  }, z.core.$strip>>;
15752
15752
  created_by_actor: z.ZodObject<{
15753
15753
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15754
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15754
+ type: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodEnum<{
15755
15755
  "api-token": "api-token";
15756
15756
  "workspace-member": "workspace-member";
15757
15757
  system: "system";
15758
15758
  app: "app";
15759
- }>>>;
15759
+ }>>>>;
15760
15760
  }, z.core.$strip>;
15761
15761
  created_at: z.ZodString;
15762
15762
  }, z.core.$strip>;