@seamapi/types 1.318.1 → 1.320.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.
@@ -2211,16 +2211,36 @@ declare const _default: {
2211
2211
  };
2212
2212
  warnings: {
2213
2213
  items: {
2214
- properties: {
2215
- message: {
2216
- type: string;
2214
+ description: string;
2215
+ oneOf: ({
2216
+ properties: {
2217
+ message: {
2218
+ type: string;
2219
+ };
2220
+ warning_code: {
2221
+ type: string;
2222
+ description?: never;
2223
+ enum?: never;
2224
+ };
2217
2225
  };
2218
- warning_code: {
2219
- type: string;
2226
+ required: string[];
2227
+ type: string;
2228
+ description?: never;
2229
+ } | {
2230
+ description: string;
2231
+ properties: {
2232
+ message: {
2233
+ type: string;
2234
+ };
2235
+ warning_code: {
2236
+ description: string;
2237
+ enum: string[];
2238
+ type: string;
2239
+ };
2220
2240
  };
2221
- };
2222
- required: string[];
2223
- type: string;
2241
+ required: string[];
2242
+ type: string;
2243
+ })[];
2224
2244
  };
2225
2245
  type: string;
2226
2246
  };
@@ -7085,6 +7105,11 @@ declare const _default: {
7085
7105
  scheme: string;
7086
7106
  type: string;
7087
7107
  };
7108
+ publishable_key: {
7109
+ in: string;
7110
+ name: string;
7111
+ type: string;
7112
+ };
7088
7113
  seam_client_session_token: {
7089
7114
  in: string;
7090
7115
  name: string;
@@ -14617,6 +14642,27 @@ declare const _default: {
14617
14642
  description: string;
14618
14643
  };
14619
14644
  };
14645
+ security: ({
14646
+ publishable_key: never[];
14647
+ api_key?: never;
14648
+ pat_with_workspace?: never;
14649
+ console_session_with_workspace?: never;
14650
+ } | {
14651
+ api_key: never[];
14652
+ publishable_key?: never;
14653
+ pat_with_workspace?: never;
14654
+ console_session_with_workspace?: never;
14655
+ } | {
14656
+ pat_with_workspace: never[];
14657
+ publishable_key?: never;
14658
+ api_key?: never;
14659
+ console_session_with_workspace?: never;
14660
+ } | {
14661
+ console_session_with_workspace: never[];
14662
+ publishable_key?: never;
14663
+ api_key?: never;
14664
+ pat_with_workspace?: never;
14665
+ })[];
14620
14666
  summary: string;
14621
14667
  tags: string[];
14622
14668
  'x-fern-sdk-group-name': string[];
@@ -14690,6 +14736,27 @@ declare const _default: {
14690
14736
  description: string;
14691
14737
  };
14692
14738
  };
14739
+ security: ({
14740
+ publishable_key: never[];
14741
+ api_key?: never;
14742
+ pat_with_workspace?: never;
14743
+ console_session_with_workspace?: never;
14744
+ } | {
14745
+ api_key: never[];
14746
+ publishable_key?: never;
14747
+ pat_with_workspace?: never;
14748
+ console_session_with_workspace?: never;
14749
+ } | {
14750
+ pat_with_workspace: never[];
14751
+ publishable_key?: never;
14752
+ api_key?: never;
14753
+ console_session_with_workspace?: never;
14754
+ } | {
14755
+ console_session_with_workspace: never[];
14756
+ publishable_key?: never;
14757
+ api_key?: never;
14758
+ pat_with_workspace?: never;
14759
+ })[];
14693
14760
  summary: string;
14694
14761
  tags: string[];
14695
14762
  'x-fern-ignore': boolean;
@@ -14902,6 +14969,27 @@ declare const _default: {
14902
14969
  description: string;
14903
14970
  };
14904
14971
  };
14972
+ security: ({
14973
+ publishable_key: never[];
14974
+ api_key?: never;
14975
+ pat_with_workspace?: never;
14976
+ console_session_with_workspace?: never;
14977
+ } | {
14978
+ api_key: never[];
14979
+ publishable_key?: never;
14980
+ pat_with_workspace?: never;
14981
+ console_session_with_workspace?: never;
14982
+ } | {
14983
+ pat_with_workspace: never[];
14984
+ publishable_key?: never;
14985
+ api_key?: never;
14986
+ console_session_with_workspace?: never;
14987
+ } | {
14988
+ console_session_with_workspace: never[];
14989
+ publishable_key?: never;
14990
+ api_key?: never;
14991
+ pat_with_workspace?: never;
14992
+ })[];
14905
14993
  summary: string;
14906
14994
  tags: string[];
14907
14995
  'x-fern-sdk-group-name': string[];
@@ -14909,77 +14997,6 @@ declare const _default: {
14909
14997
  'x-fern-sdk-return-value': string;
14910
14998
  'x-response-key': string;
14911
14999
  };
14912
- put: {
14913
- operationId: string;
14914
- requestBody: {
14915
- content: {
14916
- 'application/json': {
14917
- schema: {
14918
- properties: {
14919
- connect_webview_ids: {
14920
- items: {
14921
- type: string;
14922
- };
14923
- type: string;
14924
- };
14925
- connected_account_ids: {
14926
- items: {
14927
- type: string;
14928
- };
14929
- type: string;
14930
- };
14931
- expires_at: {
14932
- format: string;
14933
- type: string;
14934
- };
14935
- user_identifier_key: {
14936
- minLength: number;
14937
- type: string;
14938
- };
14939
- user_identity_ids: {
14940
- items: {
14941
- type: string;
14942
- };
14943
- type: string;
14944
- };
14945
- };
14946
- type: string;
14947
- };
14948
- };
14949
- };
14950
- };
14951
- responses: {
14952
- 200: {
14953
- content: {
14954
- 'application/json': {
14955
- schema: {
14956
- properties: {
14957
- client_session: {
14958
- $ref: string;
14959
- };
14960
- ok: {
14961
- type: string;
14962
- };
14963
- };
14964
- required: string[];
14965
- type: string;
14966
- };
14967
- };
14968
- };
14969
- description: string;
14970
- };
14971
- 400: {
14972
- description: string;
14973
- };
14974
- 401: {
14975
- description: string;
14976
- };
14977
- };
14978
- summary: string;
14979
- tags: string[];
14980
- 'x-fern-ignore': boolean;
14981
- 'x-response-key': string;
14982
- };
14983
15000
  };
14984
15001
  '/client_sessions/grant_access': {
14985
15002
  patch: {
@@ -3919,12 +3919,30 @@ export default {
3919
3919
  },
3920
3920
  warnings: {
3921
3921
  items: {
3922
- properties: {
3923
- message: { type: 'string' },
3924
- warning_code: { type: 'string' },
3925
- },
3926
- required: ['message', 'warning_code'],
3927
- type: 'object',
3922
+ description: 'Warning associated with the `connected_account`.',
3923
+ oneOf: [
3924
+ {
3925
+ properties: {
3926
+ message: { type: 'string' },
3927
+ warning_code: { type: 'string' },
3928
+ },
3929
+ required: ['message', 'warning_code'],
3930
+ type: 'object',
3931
+ },
3932
+ {
3933
+ description: 'An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.',
3934
+ properties: {
3935
+ message: { type: 'string' },
3936
+ warning_code: {
3937
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
3938
+ enum: ['unknown_issue_with_connected_account'],
3939
+ type: 'string',
3940
+ },
3941
+ },
3942
+ required: ['message', 'warning_code'],
3943
+ type: 'object',
3944
+ },
3945
+ ],
3928
3946
  },
3929
3947
  type: 'array',
3930
3948
  },
@@ -10110,6 +10128,11 @@ export default {
10110
10128
  scheme: 'bearer',
10111
10129
  type: 'http',
10112
10130
  },
10131
+ publishable_key: {
10132
+ in: 'header',
10133
+ name: 'seam-publishable-key',
10134
+ type: 'apiKey',
10135
+ },
10113
10136
  seam_client_session_token: {
10114
10137
  in: 'header',
10115
10138
  name: 'seam-client-session-token',
@@ -16306,6 +16329,12 @@ export default {
16306
16329
  400: { description: 'Bad Request' },
16307
16330
  401: { description: 'Unauthorized' },
16308
16331
  },
16332
+ security: [
16333
+ { publishable_key: [] },
16334
+ { api_key: [] },
16335
+ { pat_with_workspace: [] },
16336
+ { console_session_with_workspace: [] },
16337
+ ],
16309
16338
  summary: '/client_sessions/create',
16310
16339
  tags: ['/client_sessions'],
16311
16340
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -16361,6 +16390,12 @@ export default {
16361
16390
  400: { description: 'Bad Request' },
16362
16391
  401: { description: 'Unauthorized' },
16363
16392
  },
16393
+ security: [
16394
+ { publishable_key: [] },
16395
+ { api_key: [] },
16396
+ { pat_with_workspace: [] },
16397
+ { console_session_with_workspace: [] },
16398
+ ],
16364
16399
  summary: '/client_sessions/create',
16365
16400
  tags: ['/client_sessions'],
16366
16401
  'x-fern-ignore': true,
@@ -16511,6 +16546,12 @@ export default {
16511
16546
  400: { description: 'Bad Request' },
16512
16547
  401: { description: 'Unauthorized' },
16513
16548
  },
16549
+ security: [
16550
+ { publishable_key: [] },
16551
+ { api_key: [] },
16552
+ { pat_with_workspace: [] },
16553
+ { console_session_with_workspace: [] },
16554
+ ],
16514
16555
  summary: '/client_sessions/get_or_create',
16515
16556
  tags: ['/client_sessions'],
16516
16557
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -16518,59 +16559,6 @@ export default {
16518
16559
  'x-fern-sdk-return-value': 'client_session',
16519
16560
  'x-response-key': 'client_session',
16520
16561
  },
16521
- put: {
16522
- operationId: 'clientSessionsGetOrCreatePut',
16523
- requestBody: {
16524
- content: {
16525
- 'application/json': {
16526
- schema: {
16527
- properties: {
16528
- connect_webview_ids: {
16529
- items: { type: 'string' },
16530
- type: 'array',
16531
- },
16532
- connected_account_ids: {
16533
- items: { type: 'string' },
16534
- type: 'array',
16535
- },
16536
- expires_at: { format: 'date-time', type: 'string' },
16537
- user_identifier_key: { minLength: 1, type: 'string' },
16538
- user_identity_ids: {
16539
- items: { type: 'string' },
16540
- type: 'array',
16541
- },
16542
- },
16543
- type: 'object',
16544
- },
16545
- },
16546
- },
16547
- },
16548
- responses: {
16549
- 200: {
16550
- content: {
16551
- 'application/json': {
16552
- schema: {
16553
- properties: {
16554
- client_session: {
16555
- $ref: '#/components/schemas/client_session',
16556
- },
16557
- ok: { type: 'boolean' },
16558
- },
16559
- required: ['client_session', 'ok'],
16560
- type: 'object',
16561
- },
16562
- },
16563
- },
16564
- description: 'OK',
16565
- },
16566
- 400: { description: 'Bad Request' },
16567
- 401: { description: 'Unauthorized' },
16568
- },
16569
- summary: '/client_sessions/get_or_create',
16570
- tags: ['/client_sessions'],
16571
- 'x-fern-ignore': true,
16572
- 'x-response-key': 'client_session',
16573
- },
16574
16562
  },
16575
16563
  '/client_sessions/grant_access': {
16576
16564
  patch: {