@seamapi/types 1.642.0 → 1.644.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.
@@ -84090,6 +84090,71 @@ declare const _default: {
84090
84090
  'x-title': string;
84091
84091
  };
84092
84092
  };
84093
+ '/connected_accounts/simulate/disconnect': {
84094
+ post: {
84095
+ description: string;
84096
+ operationId: string;
84097
+ requestBody: {
84098
+ content: {
84099
+ 'application/json': {
84100
+ schema: {
84101
+ properties: {
84102
+ connected_account_id: {
84103
+ format: string;
84104
+ type: string;
84105
+ };
84106
+ };
84107
+ required: string[];
84108
+ type: string;
84109
+ };
84110
+ };
84111
+ };
84112
+ };
84113
+ responses: {
84114
+ 200: {
84115
+ content: {
84116
+ 'application/json': {
84117
+ schema: {
84118
+ properties: {
84119
+ ok: {
84120
+ type: string;
84121
+ };
84122
+ };
84123
+ required: string[];
84124
+ type: string;
84125
+ };
84126
+ };
84127
+ };
84128
+ description: string;
84129
+ };
84130
+ 400: {
84131
+ description: string;
84132
+ };
84133
+ 401: {
84134
+ description: string;
84135
+ };
84136
+ };
84137
+ security: ({
84138
+ api_key: never[];
84139
+ pat_with_workspace?: never;
84140
+ console_session_with_workspace?: never;
84141
+ } | {
84142
+ pat_with_workspace: never[];
84143
+ api_key?: never;
84144
+ console_session_with_workspace?: never;
84145
+ } | {
84146
+ console_session_with_workspace: never[];
84147
+ api_key?: never;
84148
+ pat_with_workspace?: never;
84149
+ })[];
84150
+ summary: string;
84151
+ tags: string[];
84152
+ 'x-fern-sdk-group-name': string[];
84153
+ 'x-fern-sdk-method-name': string;
84154
+ 'x-response-key': null;
84155
+ 'x-title': string;
84156
+ };
84157
+ };
84093
84158
  '/connected_accounts/sync': {
84094
84159
  post: {
84095
84160
  description: string;
@@ -95801,6 +95866,180 @@ declare const _default: {
95801
95866
  'x-undocumented': string;
95802
95867
  };
95803
95868
  };
95869
+ '/seam/customer/v1/connectors/connector_types': {
95870
+ get: {
95871
+ description: string;
95872
+ operationId: string;
95873
+ responses: {
95874
+ 200: {
95875
+ content: {
95876
+ 'application/json': {
95877
+ schema: {
95878
+ properties: {
95879
+ connector_types: {
95880
+ items: {
95881
+ properties: {
95882
+ connector_type: {
95883
+ type: string;
95884
+ };
95885
+ description: {
95886
+ type: string;
95887
+ };
95888
+ display_name: {
95889
+ type: string;
95890
+ };
95891
+ instance_config_schema: {
95892
+ $ref: string;
95893
+ };
95894
+ static_config: {
95895
+ properties: {
95896
+ base_api_url: {
95897
+ type: string;
95898
+ };
95899
+ polling_enabled: {
95900
+ type: string;
95901
+ };
95902
+ polling_frequency_minutes: {
95903
+ format: string;
95904
+ type: string;
95905
+ };
95906
+ };
95907
+ required: string[];
95908
+ type: string;
95909
+ };
95910
+ };
95911
+ required: string[];
95912
+ type: string;
95913
+ };
95914
+ type: string;
95915
+ };
95916
+ ok: {
95917
+ type: string;
95918
+ };
95919
+ };
95920
+ required: string[];
95921
+ type: string;
95922
+ };
95923
+ };
95924
+ };
95925
+ description: string;
95926
+ };
95927
+ 400: {
95928
+ description: string;
95929
+ };
95930
+ 401: {
95931
+ description: string;
95932
+ };
95933
+ };
95934
+ security: ({
95935
+ api_key: never[];
95936
+ client_session?: never;
95937
+ console_session_with_workspace?: never;
95938
+ } | {
95939
+ client_session: never[];
95940
+ api_key?: never;
95941
+ console_session_with_workspace?: never;
95942
+ } | {
95943
+ console_session_with_workspace: never[];
95944
+ api_key?: never;
95945
+ client_session?: never;
95946
+ })[];
95947
+ summary: string;
95948
+ tags: never[];
95949
+ 'x-fern-sdk-group-name': string[];
95950
+ 'x-fern-sdk-method-name': string;
95951
+ 'x-fern-sdk-return-value': string;
95952
+ 'x-response-key': string;
95953
+ 'x-title': string;
95954
+ 'x-undocumented': string;
95955
+ };
95956
+ post: {
95957
+ description: string;
95958
+ operationId: string;
95959
+ responses: {
95960
+ 200: {
95961
+ content: {
95962
+ 'application/json': {
95963
+ schema: {
95964
+ properties: {
95965
+ connector_types: {
95966
+ items: {
95967
+ properties: {
95968
+ connector_type: {
95969
+ type: string;
95970
+ };
95971
+ description: {
95972
+ type: string;
95973
+ };
95974
+ display_name: {
95975
+ type: string;
95976
+ };
95977
+ instance_config_schema: {
95978
+ $ref: string;
95979
+ };
95980
+ static_config: {
95981
+ properties: {
95982
+ base_api_url: {
95983
+ type: string;
95984
+ };
95985
+ polling_enabled: {
95986
+ type: string;
95987
+ };
95988
+ polling_frequency_minutes: {
95989
+ format: string;
95990
+ type: string;
95991
+ };
95992
+ };
95993
+ required: string[];
95994
+ type: string;
95995
+ };
95996
+ };
95997
+ required: string[];
95998
+ type: string;
95999
+ };
96000
+ type: string;
96001
+ };
96002
+ ok: {
96003
+ type: string;
96004
+ };
96005
+ };
96006
+ required: string[];
96007
+ type: string;
96008
+ };
96009
+ };
96010
+ };
96011
+ description: string;
96012
+ };
96013
+ 400: {
96014
+ description: string;
96015
+ };
96016
+ 401: {
96017
+ description: string;
96018
+ };
96019
+ };
96020
+ security: ({
96021
+ api_key: never[];
96022
+ client_session?: never;
96023
+ console_session_with_workspace?: never;
96024
+ } | {
96025
+ client_session: never[];
96026
+ api_key?: never;
96027
+ console_session_with_workspace?: never;
96028
+ } | {
96029
+ console_session_with_workspace: never[];
96030
+ api_key?: never;
96031
+ client_session?: never;
96032
+ })[];
96033
+ summary: string;
96034
+ tags: never[];
96035
+ 'x-fern-sdk-group-name': string[];
96036
+ 'x-fern-sdk-method-name': string;
96037
+ 'x-fern-sdk-return-value': string;
96038
+ 'x-response-key': string;
96039
+ 'x-title': string;
96040
+ 'x-undocumented': string;
96041
+ };
96042
+ };
95804
96043
  '/seam/customer/v1/connectors/create': {
95805
96044
  post: {
95806
96045
  description: string;
@@ -95811,45 +96050,9 @@ declare const _default: {
95811
96050
  schema: {
95812
96051
  properties: {
95813
96052
  config: {
96053
+ additionalProperties: {};
95814
96054
  description: string;
95815
- oneOf: ({
95816
- properties: {
95817
- access_token: {
95818
- minLength: number;
95819
- type: string;
95820
- };
95821
- client: {
95822
- default: string;
95823
- minLength: number;
95824
- type: string;
95825
- };
95826
- client_token: {
95827
- minLength: number;
95828
- type: string;
95829
- };
95830
- enterprise_id: {
95831
- format: string;
95832
- type: string;
95833
- };
95834
- enterprise_ids: {
95835
- items: {
95836
- format: string;
95837
- type: string;
95838
- };
95839
- type: string;
95840
- };
95841
- };
95842
- type: string;
95843
- } | {
95844
- properties: {
95845
- access_token?: never;
95846
- client?: never;
95847
- client_token?: never;
95848
- enterprise_id?: never;
95849
- enterprise_ids?: never;
95850
- };
95851
- type: string;
95852
- })[];
96055
+ type: string;
95853
96056
  };
95854
96057
  connector_type: {
95855
96058
  description: string;
@@ -96291,6 +96494,19 @@ declare const _default: {
96291
96494
  config: {
96292
96495
  description: string;
96293
96496
  oneOf: ({
96497
+ properties: {
96498
+ access_token?: never;
96499
+ client?: never;
96500
+ client_token?: never;
96501
+ enterprise_id?: never;
96502
+ enterprise_ids?: never;
96503
+ client_id?: never;
96504
+ client_password?: never;
96505
+ property_id?: never;
96506
+ };
96507
+ type: string;
96508
+ required?: never;
96509
+ } | {
96294
96510
  properties: {
96295
96511
  access_token: {
96296
96512
  minLength: number;
@@ -96306,26 +96522,49 @@ declare const _default: {
96306
96522
  type: string;
96307
96523
  };
96308
96524
  enterprise_id: {
96309
- format: string;
96310
96525
  type: string;
96311
96526
  };
96312
96527
  enterprise_ids: {
96313
96528
  items: {
96314
- format: string;
96315
96529
  type: string;
96316
96530
  };
96317
96531
  type: string;
96318
96532
  };
96533
+ client_id?: never;
96534
+ client_password?: never;
96535
+ property_id?: never;
96319
96536
  };
96320
96537
  type: string;
96538
+ required?: never;
96321
96539
  } | {
96322
96540
  properties: {
96541
+ client_id: {
96542
+ description: string;
96543
+ minLength: number;
96544
+ type: string;
96545
+ };
96546
+ client_password: {
96547
+ description: string;
96548
+ minLength: number;
96549
+ type: string;
96550
+ };
96551
+ property_id: {
96552
+ description: string;
96553
+ oneOf: ({
96554
+ type: string;
96555
+ format?: never;
96556
+ } | {
96557
+ format: string;
96558
+ type: string;
96559
+ })[];
96560
+ };
96323
96561
  access_token?: never;
96324
96562
  client?: never;
96325
96563
  client_token?: never;
96326
96564
  enterprise_id?: never;
96327
96565
  enterprise_ids?: never;
96328
96566
  };
96567
+ required: string[];
96329
96568
  type: string;
96330
96569
  })[];
96331
96570
  };
@@ -143151,6 +143390,17 @@ type Routes = {
143151
143390
  };
143152
143391
  };
143153
143392
  };
143393
+ '/connected_accounts/simulate/disconnect': {
143394
+ route: '/connected_accounts/simulate/disconnect';
143395
+ method: 'POST';
143396
+ queryParams: {};
143397
+ jsonBody: {
143398
+ connected_account_id: string;
143399
+ };
143400
+ commonParams: {};
143401
+ formData: {};
143402
+ jsonResponse: {};
143403
+ };
143154
143404
  '/connected_accounts/sync': {
143155
143405
  route: '/connected_accounts/sync';
143156
143406
  method: 'POST';
@@ -168942,23 +169192,40 @@ type Routes = {
168942
169192
  formData: {};
168943
169193
  jsonResponse: {};
168944
169194
  };
169195
+ '/seam/customer/v1/connectors/connector_types': {
169196
+ route: '/seam/customer/v1/connectors/connector_types';
169197
+ method: 'GET' | 'POST';
169198
+ queryParams: {};
169199
+ jsonBody: {};
169200
+ commonParams: {};
169201
+ formData: {};
169202
+ jsonResponse: {
169203
+ connector_types: {
169204
+ connector_type: string;
169205
+ display_name: string;
169206
+ description?: string | undefined;
169207
+ instance_config_schema?: any;
169208
+ static_config: {
169209
+ base_api_url: string;
169210
+ polling_enabled: boolean;
169211
+ polling_frequency_minutes: number;
169212
+ };
169213
+ }[];
169214
+ };
169215
+ };
168945
169216
  '/seam/customer/v1/connectors/create': {
168946
169217
  route: '/seam/customer/v1/connectors/create';
168947
169218
  method: 'POST';
168948
169219
  queryParams: {};
168949
169220
  jsonBody: {
168950
169221
  /** Type of connector to create */
168951
- connector_type: 'mews' | 'mock';
169222
+ connector_type: 'mock' | 'mews' | 'rms';
168952
169223
  /** Key identifying the customer */
168953
169224
  customer_key?: string | undefined;
168954
169225
  /** Instance-specific configuration for the connector */
168955
169226
  config: {
168956
- client_token?: string | undefined;
168957
- access_token?: string | undefined;
168958
- client?: string;
168959
- enterprise_ids?: string[] | undefined;
168960
- enterprise_id?: string | undefined;
168961
- } | {};
169227
+ [x: string]: unknown;
169228
+ };
168962
169229
  };
168963
169230
  commonParams: {};
168964
169231
  formData: {};
@@ -169043,13 +169310,20 @@ type Routes = {
169043
169310
  /** Key identifying the customer */
169044
169311
  customer_key?: string | undefined;
169045
169312
  /** Instance-specific configuration for the connector */
169046
- config: {
169313
+ config: {} | {
169047
169314
  client_token?: string | undefined;
169048
169315
  access_token?: string | undefined;
169049
169316
  client?: string;
169050
169317
  enterprise_ids?: string[] | undefined;
169051
169318
  enterprise_id?: string | undefined;
169052
- } | {};
169319
+ } | {
169320
+ /** RMS client ID for authentication */
169321
+ client_id: string;
169322
+ /** RMS client password for authentication */
169323
+ client_password: string;
169324
+ /** Optional property ID for single-property connectors */
169325
+ property_id?: (string | number) | undefined;
169326
+ };
169053
169327
  };
169054
169328
  commonParams: {};
169055
169329
  formData: {};