@seamapi/types 1.489.0 → 1.491.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27474,6 +27474,20 @@ declare const batch: z.ZodObject<{
27474
27474
  client_session_id: z.ZodString;
27475
27475
  user_identity_id: z.ZodString;
27476
27476
  expires_at: z.ZodString;
27477
+ customization_profile_id: z.ZodOptional<z.ZodString>;
27478
+ customization_profile: z.ZodOptional<z.ZodObject<{
27479
+ primary_color: z.ZodOptional<z.ZodString>;
27480
+ secondary_color: z.ZodOptional<z.ZodString>;
27481
+ logo_url: z.ZodOptional<z.ZodString>;
27482
+ }, "strip", z.ZodTypeAny, {
27483
+ primary_color?: string | undefined;
27484
+ secondary_color?: string | undefined;
27485
+ logo_url?: string | undefined;
27486
+ }, {
27487
+ primary_color?: string | undefined;
27488
+ secondary_color?: string | undefined;
27489
+ logo_url?: string | undefined;
27490
+ }>>;
27477
27491
  }, "strip", z.ZodTypeAny, {
27478
27492
  workspace_id: string;
27479
27493
  created_at: string;
@@ -27482,6 +27496,12 @@ declare const batch: z.ZodObject<{
27482
27496
  client_session_id: string;
27483
27497
  expires_at: string;
27484
27498
  instant_key_id: string;
27499
+ customization_profile_id?: string | undefined;
27500
+ customization_profile?: {
27501
+ primary_color?: string | undefined;
27502
+ secondary_color?: string | undefined;
27503
+ logo_url?: string | undefined;
27504
+ } | undefined;
27485
27505
  }, {
27486
27506
  workspace_id: string;
27487
27507
  created_at: string;
@@ -27490,6 +27510,12 @@ declare const batch: z.ZodObject<{
27490
27510
  client_session_id: string;
27491
27511
  expires_at: string;
27492
27512
  instant_key_id: string;
27513
+ customization_profile_id?: string | undefined;
27514
+ customization_profile?: {
27515
+ primary_color?: string | undefined;
27516
+ secondary_color?: string | undefined;
27517
+ logo_url?: string | undefined;
27518
+ } | undefined;
27493
27519
  }>, "many">>;
27494
27520
  }, "strip", z.ZodTypeAny, {
27495
27521
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
@@ -30696,6 +30722,12 @@ declare const batch: z.ZodObject<{
30696
30722
  client_session_id: string;
30697
30723
  expires_at: string;
30698
30724
  instant_key_id: string;
30725
+ customization_profile_id?: string | undefined;
30726
+ customization_profile?: {
30727
+ primary_color?: string | undefined;
30728
+ secondary_color?: string | undefined;
30729
+ logo_url?: string | undefined;
30730
+ } | undefined;
30699
30731
  }[] | undefined;
30700
30732
  }, {
30701
30733
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
@@ -33902,6 +33934,12 @@ declare const batch: z.ZodObject<{
33902
33934
  client_session_id: string;
33903
33935
  expires_at: string;
33904
33936
  instant_key_id: string;
33937
+ customization_profile_id?: string | undefined;
33938
+ customization_profile?: {
33939
+ primary_color?: string | undefined;
33940
+ secondary_color?: string | undefined;
33941
+ logo_url?: string | undefined;
33942
+ } | undefined;
33905
33943
  }[] | undefined;
33906
33944
  }>;
33907
33945
  type Batch = z.infer<typeof batch>;
@@ -34761,17 +34799,17 @@ declare const customization_profile: z.ZodObject<{
34761
34799
  workspace_id: string;
34762
34800
  created_at: string;
34763
34801
  customization_profile_id: string;
34764
- logo_url?: string | undefined;
34765
34802
  primary_color?: string | undefined;
34766
34803
  secondary_color?: string | undefined;
34804
+ logo_url?: string | undefined;
34767
34805
  }, {
34768
34806
  name: string | null;
34769
34807
  workspace_id: string;
34770
34808
  created_at: string;
34771
34809
  customization_profile_id: string;
34772
- logo_url?: string | undefined;
34773
34810
  primary_color?: string | undefined;
34774
34811
  secondary_color?: string | undefined;
34812
+ logo_url?: string | undefined;
34775
34813
  }>;
34776
34814
 
34777
34815
  declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
@@ -45857,6 +45895,20 @@ declare const instant_key: z.ZodObject<{
45857
45895
  client_session_id: z.ZodString;
45858
45896
  user_identity_id: z.ZodString;
45859
45897
  expires_at: z.ZodString;
45898
+ customization_profile_id: z.ZodOptional<z.ZodString>;
45899
+ customization_profile: z.ZodOptional<z.ZodObject<{
45900
+ primary_color: z.ZodOptional<z.ZodString>;
45901
+ secondary_color: z.ZodOptional<z.ZodString>;
45902
+ logo_url: z.ZodOptional<z.ZodString>;
45903
+ }, "strip", z.ZodTypeAny, {
45904
+ primary_color?: string | undefined;
45905
+ secondary_color?: string | undefined;
45906
+ logo_url?: string | undefined;
45907
+ }, {
45908
+ primary_color?: string | undefined;
45909
+ secondary_color?: string | undefined;
45910
+ logo_url?: string | undefined;
45911
+ }>>;
45860
45912
  }, "strip", z.ZodTypeAny, {
45861
45913
  workspace_id: string;
45862
45914
  created_at: string;
@@ -45865,6 +45917,12 @@ declare const instant_key: z.ZodObject<{
45865
45917
  client_session_id: string;
45866
45918
  expires_at: string;
45867
45919
  instant_key_id: string;
45920
+ customization_profile_id?: string | undefined;
45921
+ customization_profile?: {
45922
+ primary_color?: string | undefined;
45923
+ secondary_color?: string | undefined;
45924
+ logo_url?: string | undefined;
45925
+ } | undefined;
45868
45926
  }, {
45869
45927
  workspace_id: string;
45870
45928
  created_at: string;
@@ -45873,6 +45931,12 @@ declare const instant_key: z.ZodObject<{
45873
45931
  client_session_id: string;
45874
45932
  expires_at: string;
45875
45933
  instant_key_id: string;
45934
+ customization_profile_id?: string | undefined;
45935
+ customization_profile?: {
45936
+ primary_color?: string | undefined;
45937
+ secondary_color?: string | undefined;
45938
+ logo_url?: string | undefined;
45939
+ } | undefined;
45876
45940
  }>;
45877
45941
  type InstantKey = z.infer<typeof instant_key>;
45878
45942
 
@@ -56750,6 +56814,30 @@ declare const _default: {
56750
56814
  format: string;
56751
56815
  type: string;
56752
56816
  };
56817
+ customization_profile: {
56818
+ description: string;
56819
+ properties: {
56820
+ logo_url: {
56821
+ description: string;
56822
+ format: string;
56823
+ type: string;
56824
+ };
56825
+ primary_color: {
56826
+ description: string;
56827
+ type: string;
56828
+ };
56829
+ secondary_color: {
56830
+ description: string;
56831
+ type: string;
56832
+ };
56833
+ };
56834
+ type: string;
56835
+ };
56836
+ customization_profile_id: {
56837
+ description: string;
56838
+ format: string;
56839
+ type: string;
56840
+ };
56753
56841
  expires_at: {
56754
56842
  description: string;
56755
56843
  format: string;
@@ -92132,6 +92220,10 @@ declare const _default: {
92132
92220
  'application/json': {
92133
92221
  schema: {
92134
92222
  properties: {
92223
+ customization_profile_id: {
92224
+ format: string;
92225
+ type: string;
92226
+ };
92135
92227
  max_use_count: {
92136
92228
  default: number;
92137
92229
  description: string;
@@ -94972,7 +95064,7 @@ declare const _default: {
94972
95064
  'x-undocumented': string;
94973
95065
  };
94974
95066
  };
94975
- '/workspaces/find_resources': {
95067
+ '/workspaces/find_anything': {
94976
95068
  get: {
94977
95069
  description: string;
94978
95070
  operationId: string;
@@ -114999,6 +115091,17 @@ type Routes = {
114999
115091
  user_identity_id: string;
115000
115092
  /** Date and time at which the Instant Key expires. */
115001
115093
  expires_at: string;
115094
+ /** ID of the customization profile associated with the Instant Key. */
115095
+ customization_profile_id?: string | undefined;
115096
+ /** Customization profile associated with the Instant Key. */
115097
+ customization_profile?: {
115098
+ /** Primary color of the customization profile. */
115099
+ primary_color?: string | undefined;
115100
+ /** Secondary color of the customization profile. */
115101
+ secondary_color?: string | undefined;
115102
+ /** URL of the logo associated with the customization profile. */
115103
+ logo_url?: string | undefined;
115104
+ } | undefined;
115002
115105
  }[] | undefined;
115003
115106
  };
115004
115107
  };
@@ -133533,6 +133636,17 @@ type Routes = {
133533
133636
  user_identity_id: string;
133534
133637
  /** Date and time at which the Instant Key expires. */
133535
133638
  expires_at: string;
133639
+ /** ID of the customization profile associated with the Instant Key. */
133640
+ customization_profile_id?: string | undefined;
133641
+ /** Customization profile associated with the Instant Key. */
133642
+ customization_profile?: {
133643
+ /** Primary color of the customization profile. */
133644
+ primary_color?: string | undefined;
133645
+ /** Secondary color of the customization profile. */
133646
+ secondary_color?: string | undefined;
133647
+ /** URL of the logo associated with the customization profile. */
133648
+ logo_url?: string | undefined;
133649
+ } | undefined;
133536
133650
  };
133537
133651
  };
133538
133652
  };
@@ -133562,6 +133676,17 @@ type Routes = {
133562
133676
  user_identity_id: string;
133563
133677
  /** Date and time at which the Instant Key expires. */
133564
133678
  expires_at: string;
133679
+ /** ID of the customization profile associated with the Instant Key. */
133680
+ customization_profile_id?: string | undefined;
133681
+ /** Customization profile associated with the Instant Key. */
133682
+ customization_profile?: {
133683
+ /** Primary color of the customization profile. */
133684
+ primary_color?: string | undefined;
133685
+ /** Secondary color of the customization profile. */
133686
+ secondary_color?: string | undefined;
133687
+ /** URL of the logo associated with the customization profile. */
133688
+ logo_url?: string | undefined;
133689
+ } | undefined;
133565
133690
  }[];
133566
133691
  };
133567
133692
  };
@@ -170659,6 +170784,7 @@ type Routes = {
170659
170784
  queryParams: {};
170660
170785
  jsonBody: {};
170661
170786
  commonParams: {
170787
+ customization_profile_id?: string | undefined;
170662
170788
  /** ID of the user identity for which you want to generate an instant key. */
170663
170789
  user_identity_id: string;
170664
170790
  /** Maximum number of times the instant key can be used. Default: 1. */
@@ -170684,6 +170810,17 @@ type Routes = {
170684
170810
  user_identity_id: string;
170685
170811
  /** Date and time at which the Instant Key expires. */
170686
170812
  expires_at: string;
170813
+ /** ID of the customization profile associated with the Instant Key. */
170814
+ customization_profile_id?: string | undefined;
170815
+ /** Customization profile associated with the Instant Key. */
170816
+ customization_profile?: {
170817
+ /** Primary color of the customization profile. */
170818
+ primary_color?: string | undefined;
170819
+ /** Secondary color of the customization profile. */
170820
+ secondary_color?: string | undefined;
170821
+ /** URL of the logo associated with the customization profile. */
170822
+ logo_url?: string | undefined;
170823
+ } | undefined;
170687
170824
  };
170688
170825
  };
170689
170826
  };
@@ -173901,8 +174038,8 @@ type Routes = {
173901
174038
  formData: {};
173902
174039
  jsonResponse: {};
173903
174040
  };
173904
- '/workspaces/find_resources': {
173905
- route: '/workspaces/find_resources';
174041
+ '/workspaces/find_anything': {
174042
+ route: '/workspaces/find_anything';
173906
174043
  method: 'GET' | 'POST';
173907
174044
  queryParams: {
173908
174045
  search: string;
@@ -179813,6 +179950,17 @@ type Routes = {
179813
179950
  user_identity_id: string;
179814
179951
  /** Date and time at which the Instant Key expires. */
179815
179952
  expires_at: string;
179953
+ /** ID of the customization profile associated with the Instant Key. */
179954
+ customization_profile_id?: string | undefined;
179955
+ /** Customization profile associated with the Instant Key. */
179956
+ customization_profile?: {
179957
+ /** Primary color of the customization profile. */
179958
+ primary_color?: string | undefined;
179959
+ /** Secondary color of the customization profile. */
179960
+ secondary_color?: string | undefined;
179961
+ /** URL of the logo associated with the customization profile. */
179962
+ logo_url?: string | undefined;
179963
+ } | undefined;
179816
179964
  }[] | undefined;
179817
179965
  };
179818
179966
  };
package/dist/index.cjs CHANGED
@@ -5119,7 +5119,15 @@ var instant_key = zod.z.object({
5119
5119
  "ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key."
5120
5120
  ),
5121
5121
  user_identity_id: zod.z.string().uuid().describe("ID of the user identity associated with the Instant Key."),
5122
- expires_at: zod.z.string().datetime().describe("Date and time at which the Instant Key expires.")
5122
+ expires_at: zod.z.string().datetime().describe("Date and time at which the Instant Key expires."),
5123
+ customization_profile_id: zod.z.string().uuid().optional().describe(
5124
+ "ID of the customization profile associated with the Instant Key."
5125
+ ),
5126
+ customization_profile: zod.z.object({
5127
+ primary_color: zod.z.string().optional().describe("Primary color of the customization profile."),
5128
+ secondary_color: zod.z.string().optional().describe("Secondary color of the customization profile."),
5129
+ logo_url: zod.z.string().url().optional().describe("URL of the logo associated with the customization profile.")
5130
+ }).optional().describe("Customization profile associated with the Instant Key.")
5123
5131
  }).describe(`
5124
5132
  ---
5125
5133
  route_path: /instant_keys
@@ -22667,6 +22675,30 @@ var openapi_default = {
22667
22675
  format: "date-time",
22668
22676
  type: "string"
22669
22677
  },
22678
+ customization_profile: {
22679
+ description: "Customization profile associated with the Instant Key.",
22680
+ properties: {
22681
+ logo_url: {
22682
+ description: "URL of the logo associated with the customization profile.",
22683
+ format: "uri",
22684
+ type: "string"
22685
+ },
22686
+ primary_color: {
22687
+ description: "Primary color of the customization profile.",
22688
+ type: "string"
22689
+ },
22690
+ secondary_color: {
22691
+ description: "Secondary color of the customization profile.",
22692
+ type: "string"
22693
+ }
22694
+ },
22695
+ type: "object"
22696
+ },
22697
+ customization_profile_id: {
22698
+ description: "ID of the customization profile associated with the Instant Key.",
22699
+ format: "uuid",
22700
+ type: "string"
22701
+ },
22670
22702
  expires_at: {
22671
22703
  description: "Date and time at which the Instant Key expires.",
22672
22704
  format: "date-time",
@@ -55773,6 +55805,7 @@ var openapi_default = {
55773
55805
  "application/json": {
55774
55806
  schema: {
55775
55807
  properties: {
55808
+ customization_profile_id: { format: "uuid", type: "string" },
55776
55809
  max_use_count: {
55777
55810
  default: 1,
55778
55811
  description: "Maximum number of times the instant key can be used. Default: 1.",
@@ -57887,10 +57920,10 @@ var openapi_default = {
57887
57920
  "x-undocumented": "Internal form-data endpoint for Console and Customer Portal."
57888
57921
  }
57889
57922
  },
57890
- "/workspaces/find_resources": {
57923
+ "/workspaces/find_anything": {
57891
57924
  get: {
57892
57925
  description: "Search for resources inside a workspace.",
57893
- operationId: "workspacesFindResourcesGet",
57926
+ operationId: "workspacesFindAnythingGet",
57894
57927
  parameters: [
57895
57928
  {
57896
57929
  in: "query",
@@ -58040,11 +58073,11 @@ var openapi_default = {
58040
58073
  { console_session_with_workspace: [] },
58041
58074
  { api_key: [] }
58042
58075
  ],
58043
- summary: "/workspaces/find_resources",
58076
+ summary: "/workspaces/find_anything",
58044
58077
  tags: ["/workspaces"],
58045
58078
  "x-batch-type": "workspaces",
58046
58079
  "x-fern-sdk-group-name": ["workspaces"],
58047
- "x-fern-sdk-method-name": "find_resources",
58080
+ "x-fern-sdk-method-name": "find_anything",
58048
58081
  "x-fern-sdk-return-value": "batch",
58049
58082
  "x-response-key": "batch",
58050
58083
  "x-title": "Find Resources",
@@ -58052,7 +58085,7 @@ var openapi_default = {
58052
58085
  },
58053
58086
  post: {
58054
58087
  description: "Search for resources inside a workspace.",
58055
- operationId: "workspacesFindResourcesPost",
58088
+ operationId: "workspacesFindAnythingPost",
58056
58089
  parameters: [
58057
58090
  {
58058
58091
  in: "query",
@@ -58202,11 +58235,11 @@ var openapi_default = {
58202
58235
  { console_session_with_workspace: [] },
58203
58236
  { api_key: [] }
58204
58237
  ],
58205
- summary: "/workspaces/find_resources",
58238
+ summary: "/workspaces/find_anything",
58206
58239
  tags: ["/workspaces"],
58207
58240
  "x-batch-type": "workspaces",
58208
58241
  "x-fern-sdk-group-name": ["workspaces"],
58209
- "x-fern-sdk-method-name": "find_resources",
58242
+ "x-fern-sdk-method-name": "find_anything",
58210
58243
  "x-fern-sdk-return-value": "batch",
58211
58244
  "x-response-key": "batch",
58212
58245
  "x-title": "Find Resources",