@seamapi/types 1.622.0 → 1.623.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.
@@ -95295,6 +95295,7 @@ declare const _default: {
95295
95295
  type: string;
95296
95296
  };
95297
95297
  client: {
95298
+ default: string;
95298
95299
  minLength: number;
95299
95300
  type: string;
95300
95301
  };
@@ -95302,6 +95303,10 @@ declare const _default: {
95302
95303
  minLength: number;
95303
95304
  type: string;
95304
95305
  };
95306
+ enterprise_id: {
95307
+ format: string;
95308
+ type: string;
95309
+ };
95305
95310
  enterprise_ids: {
95306
95311
  items: {
95307
95312
  format: string;
@@ -95310,17 +95315,16 @@ declare const _default: {
95310
95315
  type: string;
95311
95316
  };
95312
95317
  };
95313
- required: string[];
95314
95318
  type: string;
95315
95319
  } | {
95316
95320
  properties: {
95317
95321
  access_token?: never;
95318
95322
  client?: never;
95319
95323
  client_token?: never;
95324
+ enterprise_id?: never;
95320
95325
  enterprise_ids?: never;
95321
95326
  };
95322
95327
  type: string;
95323
- required?: never;
95324
95328
  })[];
95325
95329
  };
95326
95330
  connector_type: {
@@ -97830,75 +97834,6 @@ declare const _default: {
97830
97834
  'x-undocumented': string;
97831
97835
  };
97832
97836
  };
97833
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
97834
- post: {
97835
- description: string;
97836
- operationId: string;
97837
- requestBody: {
97838
- content: {
97839
- 'application/json': {
97840
- schema: {
97841
- properties: {};
97842
- type: string;
97843
- };
97844
- };
97845
- };
97846
- };
97847
- responses: {
97848
- 200: {
97849
- content: {
97850
- 'application/json': {
97851
- schema: {
97852
- properties: {
97853
- error: {
97854
- type: string;
97855
- };
97856
- ok: {
97857
- type: string;
97858
- };
97859
- processed_events: {
97860
- format: string;
97861
- type: string;
97862
- };
97863
- success: {
97864
- type: string;
97865
- };
97866
- };
97867
- required: string[];
97868
- type: string;
97869
- };
97870
- };
97871
- };
97872
- description: string;
97873
- };
97874
- 400: {
97875
- description: string;
97876
- };
97877
- 401: {
97878
- description: string;
97879
- };
97880
- };
97881
- security: ({
97882
- pat_with_workspace: never[];
97883
- console_session_with_workspace?: never;
97884
- api_key?: never;
97885
- } | {
97886
- console_session_with_workspace: never[];
97887
- pat_with_workspace?: never;
97888
- api_key?: never;
97889
- } | {
97890
- api_key: never[];
97891
- pat_with_workspace?: never;
97892
- console_session_with_workspace?: never;
97893
- })[];
97894
- summary: string;
97895
- tags: string[];
97896
- 'x-fern-sdk-group-name': string[];
97897
- 'x-fern-sdk-method-name': string;
97898
- 'x-response-key': null;
97899
- 'x-title': string;
97900
- };
97901
- };
97902
97837
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
97903
97838
  post: {
97904
97839
  description: string;
@@ -167596,10 +167531,11 @@ type Routes = {
167596
167531
  customer_key: string;
167597
167532
  /** Instance-specific configuration for the connector */
167598
167533
  config: {
167599
- client_token: string;
167600
- access_token: string;
167601
- client: string;
167534
+ client_token?: string | undefined;
167535
+ access_token?: string | undefined;
167536
+ client?: string;
167602
167537
  enterprise_ids?: string[] | undefined;
167538
+ enterprise_id?: string | undefined;
167603
167539
  } | {};
167604
167540
  };
167605
167541
  commonParams: {};
@@ -169905,19 +169841,6 @@ type Routes = {
169905
169841
  };
169906
169842
  };
169907
169843
  };
169908
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
169909
- route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
169910
- method: 'POST';
169911
- queryParams: {};
169912
- jsonBody: {};
169913
- commonParams: {};
169914
- formData: {};
169915
- jsonResponse: {
169916
- success: boolean;
169917
- processed_events: number;
169918
- error?: string | undefined;
169919
- };
169920
- };
169921
169844
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
169922
169845
  route: '/seam/instant_key/v1/client_sessions/exchange_short_code';
169923
169846
  method: 'POST';
package/dist/index.cjs CHANGED
@@ -54164,14 +54164,18 @@ var openapi_default = {
54164
54164
  {
54165
54165
  properties: {
54166
54166
  access_token: { minLength: 1, type: "string" },
54167
- client: { minLength: 1, type: "string" },
54167
+ client: {
54168
+ default: "seam",
54169
+ minLength: 1,
54170
+ type: "string"
54171
+ },
54168
54172
  client_token: { minLength: 1, type: "string" },
54173
+ enterprise_id: { format: "uuid", type: "string" },
54169
54174
  enterprise_ids: {
54170
54175
  items: { format: "uuid", type: "string" },
54171
54176
  type: "array"
54172
54177
  }
54173
54178
  },
54174
- required: ["client_token", "access_token", "client"],
54175
54179
  type: "object"
54176
54180
  },
54177
54181
  { properties: {}, type: "object" }
@@ -56561,56 +56565,6 @@ var openapi_default = {
56561
56565
  "x-undocumented": "Internal endpoint for customer portals."
56562
56566
  }
56563
56567
  },
56564
- "/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]": {
56565
- post: {
56566
- description: "Receives webhook events from external connector APIs and processes them into partner resources.",
56567
- operationId: "seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost",
56568
- requestBody: {
56569
- content: {
56570
- "application/json": { schema: { properties: {}, type: "object" } }
56571
- }
56572
- },
56573
- responses: {
56574
- 200: {
56575
- content: {
56576
- "application/json": {
56577
- schema: {
56578
- properties: {
56579
- error: { type: "string" },
56580
- ok: { type: "boolean" },
56581
- processed_events: { format: "float", type: "number" },
56582
- success: { type: "boolean" }
56583
- },
56584
- required: ["success", "processed_events", "ok"],
56585
- type: "object"
56586
- }
56587
- }
56588
- },
56589
- description: "OK"
56590
- },
56591
- 400: { description: "Bad Request" },
56592
- 401: { description: "Unauthorized" }
56593
- },
56594
- security: [
56595
- { pat_with_workspace: [] },
56596
- { console_session_with_workspace: [] },
56597
- { api_key: [] }
56598
- ],
56599
- summary: "/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]",
56600
- tags: ["/webhooks"],
56601
- "x-fern-sdk-group-name": [
56602
- "seam",
56603
- "customer",
56604
- "v1",
56605
- "webhooks",
56606
- "connectors",
56607
- "[workspace_id]"
56608
- ],
56609
- "x-fern-sdk-method-name": "by_connector_id",
56610
- "x-response-key": null,
56611
- "x-title": "Connector Webhook Endpoint"
56612
- }
56613
- },
56614
56568
  "/seam/instant_key/v1/client_sessions/exchange_short_code": {
56615
56569
  post: {
56616
56570
  description: "Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.",