@getlatedev/node 0.2.1160 → 0.2.1162

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.
@@ -9636,6 +9636,10 @@ export type Profile = {
9636
9636
  * IANA timezone new posts on this profile use when the request names no `timezone`. Null means UTC.
9637
9637
  */
9638
9638
  timezone?: (string) | null;
9639
+ /**
9640
+ * Your own identifier for this profile, set on create or update. Null when none is set.
9641
+ */
9642
+ externalId?: (string) | null;
9639
9643
  isDefault?: boolean;
9640
9644
  /**
9641
9645
  * Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
@@ -19222,6 +19226,10 @@ export type GetUserError = (ErrorResponse | unknown | {
19222
19226
 
19223
19227
  export type ListProfilesData = {
19224
19228
  query?: {
19229
+ /**
19230
+ * Exact-match filter on the externalId you set on the profile, to find the profile of one of your tenants without storing its Zernio id. Team members can each own a profile with the same externalId, so the result is a list.
19231
+ */
19232
+ externalId?: string;
19225
19233
  /**
19226
19234
  * When true, includes over-limit profiles (marked with isOverLimit: true).
19227
19235
  */
@@ -19254,6 +19262,10 @@ export type CreateProfileData = {
19254
19262
  * IANA timezone new posts on this profile use when they name no `timezone`. Omit to keep UTC. An unknown name returns 400.
19255
19263
  */
19256
19264
  timezone?: string;
19265
+ /**
19266
+ * Your own identifier for this profile, typically the id of the tenant or client it serves in your system (1 to 255 characters, trimmed). Unique among the profiles of the user who owns the profile: a duplicate returns 409 profile_external_id_conflict. Look a profile up by it with GET /v1/profiles?externalId=.
19267
+ */
19268
+ externalId?: string;
19257
19269
  };
19258
19270
  headers?: {
19259
19271
  /**
@@ -19346,6 +19358,10 @@ export type UpdateProfileData = {
19346
19358
  * IANA timezone new posts on this profile use when they name no `timezone`. Set to null to go back to UTC. An unknown name returns 400.
19347
19359
  */
19348
19360
  timezone?: (string) | null;
19361
+ /**
19362
+ * Your own identifier for this profile (1 to 255 characters, trimmed). Set to null to clear it. A value another profile of the same owner already holds returns 409 profile_external_id_conflict.
19363
+ */
19364
+ externalId?: (string) | null;
19349
19365
  isDefault?: boolean;
19350
19366
  };
19351
19367
  path: {
@@ -38745,7 +38761,7 @@ export type AddBroadcastRecipientsError = (unknown | ErrorResponse | {
38745
38761
  error?: string;
38746
38762
  });
38747
38763
 
38748
- export type CreateSupportRunData = {
38764
+ export type AskSupportQuestionData = {
38749
38765
  body: {
38750
38766
  /**
38751
38767
  * The question. Leading and trailing whitespace is trimmed.
@@ -38776,7 +38792,7 @@ export type CreateSupportRunData = {
38776
38792
  };
38777
38793
  };
38778
38794
 
38779
- export type CreateSupportRunResponse = ({
38795
+ export type AskSupportQuestionResponse = ({
38780
38796
  runId: string;
38781
38797
  threadId: string;
38782
38798
  status: 'queued';
@@ -38786,17 +38802,17 @@ export type CreateSupportRunResponse = ({
38786
38802
  pollAfterSeconds: number;
38787
38803
  });
38788
38804
 
38789
- export type CreateSupportRunError = (ErrorResponse);
38805
+ export type AskSupportQuestionError = (ErrorResponse);
38790
38806
 
38791
- export type GetSupportRunData = {
38807
+ export type GetSupportAnswerData = {
38792
38808
  path: {
38793
38809
  runId: string;
38794
38810
  };
38795
38811
  };
38796
38812
 
38797
- export type GetSupportRunResponse = (SupportRun);
38813
+ export type GetSupportAnswerResponse = (SupportRun);
38798
38814
 
38799
- export type GetSupportRunError = (ErrorResponse);
38815
+ export type GetSupportAnswerError = (ErrorResponse);
38800
38816
 
38801
38817
  export type ListWorkflowsData = {
38802
38818
  query?: {