@seamapi/types 1.694.0 → 1.696.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.
@@ -1,4 +1,48 @@
1
1
  import { z } from 'zod';
2
+ declare const access_grant_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
3
+ created_at: z.ZodString;
4
+ message: z.ZodString;
5
+ } & {
6
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
7
+ }, "strip", z.ZodTypeAny, {
8
+ message: string;
9
+ created_at: string;
10
+ error_code: "cannot_create_requested_access_methods";
11
+ }, {
12
+ message: string;
13
+ created_at: string;
14
+ error_code: "cannot_create_requested_access_methods";
15
+ }>]>;
16
+ export type AccessGrantError = z.infer<typeof access_grant_error>;
17
+ export declare const _access_grant_error_map: z.ZodObject<{
18
+ cannot_create_requested_access_methods: z.ZodNullable<z.ZodOptional<z.ZodObject<{
19
+ created_at: z.ZodString;
20
+ message: z.ZodString;
21
+ } & {
22
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
23
+ }, "strip", z.ZodTypeAny, {
24
+ message: string;
25
+ created_at: string;
26
+ error_code: "cannot_create_requested_access_methods";
27
+ }, {
28
+ message: string;
29
+ created_at: string;
30
+ error_code: "cannot_create_requested_access_methods";
31
+ }>>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ cannot_create_requested_access_methods?: {
34
+ message: string;
35
+ created_at: string;
36
+ error_code: "cannot_create_requested_access_methods";
37
+ } | null | undefined;
38
+ }, {
39
+ cannot_create_requested_access_methods?: {
40
+ message: string;
41
+ created_at: string;
42
+ error_code: "cannot_create_requested_access_methods";
43
+ } | null | undefined;
44
+ }>;
45
+ export type AccessGrantErrorMap = z.infer<typeof _access_grant_error_map>;
2
46
  declare const _access_grant_warning_map: z.ZodObject<{
3
47
  being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
48
  created_at: z.ZodString;
@@ -77,6 +121,20 @@ export declare const access_grant: z.ZodObject<{
77
121
  created_at: string;
78
122
  warning_code: "being_deleted";
79
123
  }>]>, "many">;
124
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
125
+ created_at: z.ZodString;
126
+ message: z.ZodString;
127
+ } & {
128
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
129
+ }, "strip", z.ZodTypeAny, {
130
+ message: string;
131
+ created_at: string;
132
+ error_code: "cannot_create_requested_access_methods";
133
+ }, {
134
+ message: string;
135
+ created_at: string;
136
+ error_code: "cannot_create_requested_access_methods";
137
+ }>]>, "many">;
80
138
  customization_profile_id: z.ZodOptional<z.ZodString>;
81
139
  }, "strip", z.ZodTypeAny, {
82
140
  name: string | null;
@@ -85,6 +143,11 @@ export declare const access_grant: z.ZodObject<{
85
143
  created_at: string;
86
144
  starts_at: string;
87
145
  ends_at: string | null;
146
+ errors: {
147
+ message: string;
148
+ created_at: string;
149
+ error_code: "cannot_create_requested_access_methods";
150
+ }[];
88
151
  warnings: {
89
152
  message: string;
90
153
  created_at: string;
@@ -114,6 +177,11 @@ export declare const access_grant: z.ZodObject<{
114
177
  created_at: string;
115
178
  starts_at: string;
116
179
  ends_at: string | null;
180
+ errors: {
181
+ message: string;
182
+ created_at: string;
183
+ error_code: "cannot_create_requested_access_methods";
184
+ }[];
117
185
  warnings: {
118
186
  message: string;
119
187
  created_at: string;
@@ -187,6 +255,20 @@ export declare const unmanaged_access_grant: z.ZodObject<Omit<{
187
255
  created_at: string;
188
256
  warning_code: "being_deleted";
189
257
  }>]>, "many">;
258
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
259
+ created_at: z.ZodString;
260
+ message: z.ZodString;
261
+ } & {
262
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
263
+ }, "strip", z.ZodTypeAny, {
264
+ message: string;
265
+ created_at: string;
266
+ error_code: "cannot_create_requested_access_methods";
267
+ }, {
268
+ message: string;
269
+ created_at: string;
270
+ error_code: "cannot_create_requested_access_methods";
271
+ }>]>, "many">;
190
272
  customization_profile_id: z.ZodOptional<z.ZodString>;
191
273
  }, "access_grant_key" | "user_identity_id" | "client_session_token" | "instant_key_url" | "customization_profile_id"> & {
192
274
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -197,6 +279,11 @@ export declare const unmanaged_access_grant: z.ZodObject<Omit<{
197
279
  created_at: string;
198
280
  starts_at: string;
199
281
  ends_at: string | null;
282
+ errors: {
283
+ message: string;
284
+ created_at: string;
285
+ error_code: "cannot_create_requested_access_methods";
286
+ }[];
200
287
  warnings: {
201
288
  message: string;
202
289
  created_at: string;
@@ -222,6 +309,11 @@ export declare const unmanaged_access_grant: z.ZodObject<Omit<{
222
309
  created_at: string;
223
310
  starts_at: string;
224
311
  ends_at: string | null;
312
+ errors: {
313
+ message: string;
314
+ created_at: string;
315
+ error_code: "cannot_create_requested_access_methods";
316
+ }[];
225
317
  warnings: {
226
318
  message: string;
227
319
  created_at: string;
@@ -1,5 +1,20 @@
1
1
  import { z } from 'zod';
2
2
  import { requested_access_method } from './requested-access-method.js';
3
+ const common_access_grant_error = z.object({
4
+ created_at: z
5
+ .string()
6
+ .datetime()
7
+ .describe('Date and time at which Seam created the error.'),
8
+ message: z
9
+ .string()
10
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
11
+ });
12
+ const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
13
+ const cannot_create_requested_access_methods_error = common_access_grant_error.extend({
14
+ error_code: z
15
+ .literal('cannot_create_requested_access_methods')
16
+ .describe(error_code_description),
17
+ });
3
18
  const common_access_grant_warning = z.object({
4
19
  created_at: z
5
20
  .string()
@@ -10,6 +25,12 @@ const common_access_grant_warning = z.object({
10
25
  .describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
11
26
  });
12
27
  const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
28
+ const access_grant_error = z.discriminatedUnion('error_code', [
29
+ cannot_create_requested_access_methods_error,
30
+ ]);
31
+ export const _access_grant_error_map = z.object({
32
+ cannot_create_requested_access_methods: cannot_create_requested_access_methods_error.optional().nullable(),
33
+ });
13
34
  const being_deleted = common_access_grant_warning
14
35
  .extend({
15
36
  warning_code: z.literal('being_deleted').describe(warning_code_description),
@@ -83,6 +104,9 @@ export const access_grant = z.object({
83
104
  warnings: z
84
105
  .array(access_grant_warning)
85
106
  .describe('Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).'),
107
+ errors: z
108
+ .array(access_grant_error)
109
+ .describe('Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).'),
86
110
  customization_profile_id: z
87
111
  .string()
88
112
  .uuid()
@@ -1 +1 @@
1
- {"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,aAAa,GAAG,2BAA2B;KAC9C,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CACP,kHAAkH,CACnH,CAAA;AAEH,MAAM,oBAAoB,GAAG,CAAC;KAC3B,kBAAkB,CAAC,cAAc,EAAE,CAAC,aAAa,CAAC,CAAC;KACnD,QAAQ,CAC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;IAC1B,eAAe,EAAE,IAAI;IACrB,wBAAwB,EAAE,IAAI;IAC9B,gBAAgB,EAAE,IAAI;IACtB,gBAAgB,EAAE,IAAI;CACvB,CAAC;KACD,MAAM,CAAC;IACN,gBAAgB,EAAE,YAAY,CAAC,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMX,CAAC,CAAA"}
@@ -15207,6 +15207,20 @@ export declare const batch: z.ZodObject<{
15207
15207
  created_at: string;
15208
15208
  warning_code: "being_deleted";
15209
15209
  }>]>, "many">;
15210
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
15211
+ created_at: z.ZodString;
15212
+ message: z.ZodString;
15213
+ } & {
15214
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
15215
+ }, "strip", z.ZodTypeAny, {
15216
+ message: string;
15217
+ created_at: string;
15218
+ error_code: "cannot_create_requested_access_methods";
15219
+ }, {
15220
+ message: string;
15221
+ created_at: string;
15222
+ error_code: "cannot_create_requested_access_methods";
15223
+ }>]>, "many">;
15210
15224
  customization_profile_id: z.ZodOptional<z.ZodString>;
15211
15225
  }, "strip", z.ZodTypeAny, {
15212
15226
  name: string | null;
@@ -15215,6 +15229,11 @@ export declare const batch: z.ZodObject<{
15215
15229
  created_at: string;
15216
15230
  starts_at: string;
15217
15231
  ends_at: string | null;
15232
+ errors: {
15233
+ message: string;
15234
+ created_at: string;
15235
+ error_code: "cannot_create_requested_access_methods";
15236
+ }[];
15218
15237
  warnings: {
15219
15238
  message: string;
15220
15239
  created_at: string;
@@ -15244,6 +15263,11 @@ export declare const batch: z.ZodObject<{
15244
15263
  created_at: string;
15245
15264
  starts_at: string;
15246
15265
  ends_at: string | null;
15266
+ errors: {
15267
+ message: string;
15268
+ created_at: string;
15269
+ error_code: "cannot_create_requested_access_methods";
15270
+ }[];
15247
15271
  warnings: {
15248
15272
  message: string;
15249
15273
  created_at: string;
@@ -24072,6 +24096,11 @@ export declare const batch: z.ZodObject<{
24072
24096
  created_at: string;
24073
24097
  starts_at: string;
24074
24098
  ends_at: string | null;
24099
+ errors: {
24100
+ message: string;
24101
+ created_at: string;
24102
+ error_code: "cannot_create_requested_access_methods";
24103
+ }[];
24075
24104
  warnings: {
24076
24105
  message: string;
24077
24106
  created_at: string;
@@ -28149,6 +28178,11 @@ export declare const batch: z.ZodObject<{
28149
28178
  created_at: string;
28150
28179
  starts_at: string;
28151
28180
  ends_at: string | null;
28181
+ errors: {
28182
+ message: string;
28183
+ created_at: string;
28184
+ error_code: "cannot_create_requested_access_methods";
28185
+ }[];
28152
28186
  warnings: {
28153
28187
  message: string;
28154
28188
  created_at: string;
@@ -421,6 +421,35 @@ declare const _default: {
421
421
  nullable: boolean;
422
422
  type: string;
423
423
  };
424
+ errors: {
425
+ description: string;
426
+ items: {
427
+ discriminator: {
428
+ propertyName: string;
429
+ };
430
+ oneOf: {
431
+ properties: {
432
+ created_at: {
433
+ description: string;
434
+ format: string;
435
+ type: string;
436
+ };
437
+ error_code: {
438
+ description: string;
439
+ enum: string[];
440
+ type: string;
441
+ };
442
+ message: {
443
+ description: string;
444
+ type: string;
445
+ };
446
+ };
447
+ required: string[];
448
+ type: string;
449
+ }[];
450
+ };
451
+ type: string;
452
+ };
424
453
  instant_key_url: {
425
454
  description: string;
426
455
  format: string;
@@ -19783,6 +19812,35 @@ declare const _default: {
19783
19812
  nullable: boolean;
19784
19813
  type: string;
19785
19814
  };
19815
+ errors: {
19816
+ description: string;
19817
+ items: {
19818
+ discriminator: {
19819
+ propertyName: string;
19820
+ };
19821
+ oneOf: {
19822
+ properties: {
19823
+ created_at: {
19824
+ description: string;
19825
+ format: string;
19826
+ type: string;
19827
+ };
19828
+ error_code: {
19829
+ description: string;
19830
+ enum: string[];
19831
+ type: string;
19832
+ };
19833
+ message: {
19834
+ description: string;
19835
+ type: string;
19836
+ };
19837
+ };
19838
+ required: string[];
19839
+ type: string;
19840
+ }[];
19841
+ };
19842
+ type: string;
19843
+ };
19786
19844
  location_ids: {
19787
19845
  deprecated: boolean;
19788
19846
  items: {
@@ -20005,6 +20063,35 @@ declare const _default: {
20005
20063
  nullable: boolean;
20006
20064
  type: string;
20007
20065
  };
20066
+ errors: {
20067
+ description: string;
20068
+ items: {
20069
+ discriminator: {
20070
+ propertyName: string;
20071
+ };
20072
+ oneOf: {
20073
+ properties: {
20074
+ created_at: {
20075
+ description: string;
20076
+ format: string;
20077
+ type: string;
20078
+ };
20079
+ error_code: {
20080
+ description: string;
20081
+ enum: string[];
20082
+ type: string;
20083
+ };
20084
+ message: {
20085
+ description: string;
20086
+ type: string;
20087
+ };
20088
+ };
20089
+ required: string[];
20090
+ type: string;
20091
+ }[];
20092
+ };
20093
+ type: string;
20094
+ };
20008
20095
  location_ids: {
20009
20096
  deprecated: boolean;
20010
20097
  items: {
@@ -20230,6 +20317,35 @@ declare const _default: {
20230
20317
  nullable: boolean;
20231
20318
  type: string;
20232
20319
  };
20320
+ errors: {
20321
+ description: string;
20322
+ items: {
20323
+ discriminator: {
20324
+ propertyName: string;
20325
+ };
20326
+ oneOf: {
20327
+ properties: {
20328
+ created_at: {
20329
+ description: string;
20330
+ format: string;
20331
+ type: string;
20332
+ };
20333
+ error_code: {
20334
+ description: string;
20335
+ enum: string[];
20336
+ type: string;
20337
+ };
20338
+ message: {
20339
+ description: string;
20340
+ type: string;
20341
+ };
20342
+ };
20343
+ required: string[];
20344
+ type: string;
20345
+ }[];
20346
+ };
20347
+ type: string;
20348
+ };
20233
20349
  location_ids: {
20234
20350
  deprecated: boolean;
20235
20351
  items: {
@@ -20468,6 +20584,35 @@ declare const _default: {
20468
20584
  nullable: boolean;
20469
20585
  type: string;
20470
20586
  };
20587
+ errors: {
20588
+ description: string;
20589
+ items: {
20590
+ discriminator: {
20591
+ propertyName: string;
20592
+ };
20593
+ oneOf: {
20594
+ properties: {
20595
+ created_at: {
20596
+ description: string;
20597
+ format: string;
20598
+ type: string;
20599
+ };
20600
+ error_code: {
20601
+ description: string;
20602
+ enum: string[];
20603
+ type: string;
20604
+ };
20605
+ message: {
20606
+ description: string;
20607
+ type: string;
20608
+ };
20609
+ };
20610
+ required: string[];
20611
+ type: string;
20612
+ }[];
20613
+ };
20614
+ type: string;
20615
+ };
20471
20616
  location_ids: {
20472
20617
  deprecated: boolean;
20473
20618
  items: {
@@ -45862,6 +46007,76 @@ declare const _default: {
45862
46007
  'x-undocumented': string;
45863
46008
  };
45864
46009
  };
46010
+ '/seam/customer/v1/customers/open_portal': {
46011
+ post: {
46012
+ description: string;
46013
+ operationId: string;
46014
+ requestBody: {
46015
+ content: {
46016
+ 'application/json': {
46017
+ schema: {
46018
+ properties: {
46019
+ customer_key: {
46020
+ description: string;
46021
+ type: string;
46022
+ };
46023
+ };
46024
+ required: string[];
46025
+ type: string;
46026
+ };
46027
+ };
46028
+ };
46029
+ };
46030
+ responses: {
46031
+ 200: {
46032
+ content: {
46033
+ 'application/json': {
46034
+ schema: {
46035
+ properties: {
46036
+ magic_link: {
46037
+ $ref: string;
46038
+ };
46039
+ ok: {
46040
+ type: string;
46041
+ };
46042
+ };
46043
+ required: string[];
46044
+ type: string;
46045
+ };
46046
+ };
46047
+ };
46048
+ description: string;
46049
+ };
46050
+ 400: {
46051
+ description: string;
46052
+ };
46053
+ 401: {
46054
+ description: string;
46055
+ };
46056
+ };
46057
+ security: ({
46058
+ pat_with_workspace: never[];
46059
+ console_session_with_workspace?: never;
46060
+ api_key?: never;
46061
+ } | {
46062
+ console_session_with_workspace: never[];
46063
+ pat_with_workspace?: never;
46064
+ api_key?: never;
46065
+ } | {
46066
+ api_key: never[];
46067
+ pat_with_workspace?: never;
46068
+ console_session_with_workspace?: never;
46069
+ })[];
46070
+ summary: string;
46071
+ tags: never[];
46072
+ 'x-fern-sdk-group-name': string[];
46073
+ 'x-fern-sdk-method-name': string;
46074
+ 'x-fern-sdk-return-value': string;
46075
+ 'x-response-key': string;
46076
+ 'x-title': string;
46077
+ 'x-undocumented': string;
46078
+ };
46079
+ };
45865
46080
  '/seam/customer/v1/events/list': {
45866
46081
  get: {
45867
46082
  description: string;