@seamapi/types 1.709.0 → 1.710.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.
@@ -98501,6 +98501,215 @@ declare const _default: {
98501
98501
  'x-undocumented': string;
98502
98502
  };
98503
98503
  };
98504
+ '/seam/customer/v1/connector_customers/list': {
98505
+ get: {
98506
+ description: string;
98507
+ operationId: string;
98508
+ parameters: {
98509
+ in: string;
98510
+ name: string;
98511
+ schema: {
98512
+ description: string;
98513
+ format: string;
98514
+ type: string;
98515
+ };
98516
+ }[];
98517
+ responses: {
98518
+ 200: {
98519
+ content: {
98520
+ 'application/json': {
98521
+ schema: {
98522
+ properties: {
98523
+ connector_customers: {
98524
+ items: {
98525
+ properties: {
98526
+ connector_customer_id: {
98527
+ type: string;
98528
+ };
98529
+ connector_id: {
98530
+ type: string;
98531
+ };
98532
+ created_at: {
98533
+ type: string;
98534
+ };
98535
+ customer_key: {
98536
+ type: string;
98537
+ };
98538
+ initial_sync_completed: {
98539
+ type: string;
98540
+ };
98541
+ initial_sync_status: {
98542
+ nullable: boolean;
98543
+ type: string;
98544
+ };
98545
+ instance_config: {
98546
+ additionalProperties: {
98547
+ $ref: string;
98548
+ };
98549
+ nullable: boolean;
98550
+ type: string;
98551
+ };
98552
+ status: {
98553
+ nullable: boolean;
98554
+ type: string;
98555
+ };
98556
+ updated_at: {
98557
+ type: string;
98558
+ };
98559
+ };
98560
+ required: string[];
98561
+ type: string;
98562
+ };
98563
+ type: string;
98564
+ };
98565
+ ok: {
98566
+ type: string;
98567
+ };
98568
+ };
98569
+ required: string[];
98570
+ type: string;
98571
+ };
98572
+ };
98573
+ };
98574
+ description: string;
98575
+ };
98576
+ 400: {
98577
+ description: string;
98578
+ };
98579
+ 401: {
98580
+ description: string;
98581
+ };
98582
+ };
98583
+ security: ({
98584
+ api_key: never[];
98585
+ client_session_with_customer?: never;
98586
+ console_session_with_workspace?: never;
98587
+ } | {
98588
+ client_session_with_customer: never[];
98589
+ api_key?: never;
98590
+ console_session_with_workspace?: never;
98591
+ } | {
98592
+ console_session_with_workspace: never[];
98593
+ api_key?: never;
98594
+ client_session_with_customer?: never;
98595
+ })[];
98596
+ summary: string;
98597
+ tags: never[];
98598
+ 'x-fern-sdk-group-name': string[];
98599
+ 'x-fern-sdk-method-name': string;
98600
+ 'x-fern-sdk-return-value': string;
98601
+ 'x-response-key': string;
98602
+ 'x-title': string;
98603
+ 'x-undocumented': string;
98604
+ };
98605
+ post: {
98606
+ description: string;
98607
+ operationId: string;
98608
+ requestBody: {
98609
+ content: {
98610
+ 'application/json': {
98611
+ schema: {
98612
+ properties: {
98613
+ connector_id: {
98614
+ description: string;
98615
+ format: string;
98616
+ type: string;
98617
+ };
98618
+ };
98619
+ type: string;
98620
+ };
98621
+ };
98622
+ };
98623
+ };
98624
+ responses: {
98625
+ 200: {
98626
+ content: {
98627
+ 'application/json': {
98628
+ schema: {
98629
+ properties: {
98630
+ connector_customers: {
98631
+ items: {
98632
+ properties: {
98633
+ connector_customer_id: {
98634
+ type: string;
98635
+ };
98636
+ connector_id: {
98637
+ type: string;
98638
+ };
98639
+ created_at: {
98640
+ type: string;
98641
+ };
98642
+ customer_key: {
98643
+ type: string;
98644
+ };
98645
+ initial_sync_completed: {
98646
+ type: string;
98647
+ };
98648
+ initial_sync_status: {
98649
+ nullable: boolean;
98650
+ type: string;
98651
+ };
98652
+ instance_config: {
98653
+ additionalProperties: {
98654
+ $ref: string;
98655
+ };
98656
+ nullable: boolean;
98657
+ type: string;
98658
+ };
98659
+ status: {
98660
+ nullable: boolean;
98661
+ type: string;
98662
+ };
98663
+ updated_at: {
98664
+ type: string;
98665
+ };
98666
+ };
98667
+ required: string[];
98668
+ type: string;
98669
+ };
98670
+ type: string;
98671
+ };
98672
+ ok: {
98673
+ type: string;
98674
+ };
98675
+ };
98676
+ required: string[];
98677
+ type: string;
98678
+ };
98679
+ };
98680
+ };
98681
+ description: string;
98682
+ };
98683
+ 400: {
98684
+ description: string;
98685
+ };
98686
+ 401: {
98687
+ description: string;
98688
+ };
98689
+ };
98690
+ security: ({
98691
+ api_key: never[];
98692
+ client_session_with_customer?: never;
98693
+ console_session_with_workspace?: never;
98694
+ } | {
98695
+ client_session_with_customer: never[];
98696
+ api_key?: never;
98697
+ console_session_with_workspace?: never;
98698
+ } | {
98699
+ console_session_with_workspace: never[];
98700
+ api_key?: never;
98701
+ client_session_with_customer?: never;
98702
+ })[];
98703
+ summary: string;
98704
+ tags: never[];
98705
+ 'x-fern-sdk-group-name': string[];
98706
+ 'x-fern-sdk-method-name': string;
98707
+ 'x-fern-sdk-return-value': string;
98708
+ 'x-response-key': string;
98709
+ 'x-title': string;
98710
+ 'x-undocumented': string;
98711
+ };
98712
+ };
98504
98713
  '/seam/customer/v1/connectors/authorize': {
98505
98714
  get: {
98506
98715
  description: string;
@@ -168945,6 +169154,33 @@ type Routes = {
168945
169154
  jsonResponse: {};
168946
169155
  maxDuration: undefined;
168947
169156
  };
169157
+ '/seam/customer/v1/connector_customers/list': {
169158
+ route: '/seam/customer/v1/connector_customers/list';
169159
+ method: 'GET' | 'POST';
169160
+ queryParams: {};
169161
+ jsonBody: {};
169162
+ commonParams: {
169163
+ /** ID of the connector. */
169164
+ connector_id?: string | undefined;
169165
+ };
169166
+ formData: {};
169167
+ jsonResponse: {
169168
+ connector_customers: {
169169
+ connector_customer_id: string;
169170
+ connector_id: string;
169171
+ customer_key: string;
169172
+ instance_config: {
169173
+ [x: string]: any;
169174
+ } | null;
169175
+ initial_sync_completed: boolean;
169176
+ initial_sync_status: string | null;
169177
+ status: string | null;
169178
+ created_at: string;
169179
+ updated_at: string;
169180
+ }[];
169181
+ };
169182
+ maxDuration: undefined;
169183
+ };
168948
169184
  '/seam/customer/v1/connectors/authorize': {
168949
169185
  route: '/seam/customer/v1/connectors/authorize';
168950
169186
  method: 'GET' | 'POST';
package/dist/index.cjs CHANGED
@@ -56120,6 +56120,189 @@ var openapi_default = {
56120
56120
  "x-undocumented": "Internal endpoint for customer portals."
56121
56121
  }
56122
56122
  },
56123
+ "/seam/customer/v1/connector_customers/list": {
56124
+ get: {
56125
+ description: "Lists connector customers for a given connector.",
56126
+ operationId: "seamCustomerV1ConnectorCustomersListGet",
56127
+ parameters: [
56128
+ {
56129
+ in: "query",
56130
+ name: "connector_id",
56131
+ schema: {
56132
+ description: "ID of the connector.",
56133
+ format: "uuid",
56134
+ type: "string"
56135
+ }
56136
+ }
56137
+ ],
56138
+ responses: {
56139
+ 200: {
56140
+ content: {
56141
+ "application/json": {
56142
+ schema: {
56143
+ properties: {
56144
+ connector_customers: {
56145
+ items: {
56146
+ properties: {
56147
+ connector_customer_id: { type: "string" },
56148
+ connector_id: { type: "string" },
56149
+ created_at: { type: "string" },
56150
+ customer_key: { type: "string" },
56151
+ initial_sync_completed: { type: "boolean" },
56152
+ initial_sync_status: {
56153
+ nullable: true,
56154
+ type: "string"
56155
+ },
56156
+ instance_config: {
56157
+ additionalProperties: {
56158
+ $ref: "#/components/schemas/access_code"
56159
+ },
56160
+ nullable: true,
56161
+ type: "object"
56162
+ },
56163
+ status: { nullable: true, type: "string" },
56164
+ updated_at: { type: "string" }
56165
+ },
56166
+ required: [
56167
+ "connector_customer_id",
56168
+ "connector_id",
56169
+ "customer_key",
56170
+ "instance_config",
56171
+ "initial_sync_completed",
56172
+ "initial_sync_status",
56173
+ "status",
56174
+ "created_at",
56175
+ "updated_at"
56176
+ ],
56177
+ type: "object"
56178
+ },
56179
+ type: "array"
56180
+ },
56181
+ ok: { type: "boolean" }
56182
+ },
56183
+ required: ["connector_customers", "ok"],
56184
+ type: "object"
56185
+ }
56186
+ }
56187
+ },
56188
+ description: "OK"
56189
+ },
56190
+ 400: { description: "Bad Request" },
56191
+ 401: { description: "Unauthorized" }
56192
+ },
56193
+ security: [
56194
+ { api_key: [] },
56195
+ { client_session_with_customer: [] },
56196
+ { console_session_with_workspace: [] }
56197
+ ],
56198
+ summary: "/seam/customer/v1/connector_customers/list",
56199
+ tags: [],
56200
+ "x-fern-sdk-group-name": [
56201
+ "seam",
56202
+ "customer",
56203
+ "v1",
56204
+ "connector_customers"
56205
+ ],
56206
+ "x-fern-sdk-method-name": "list",
56207
+ "x-fern-sdk-return-value": "connector_customers",
56208
+ "x-response-key": "connector_customers",
56209
+ "x-title": "List Connector Customers",
56210
+ "x-undocumented": "Internal endpoint for Console."
56211
+ },
56212
+ post: {
56213
+ description: "Lists connector customers for a given connector.",
56214
+ operationId: "seamCustomerV1ConnectorCustomersListPost",
56215
+ requestBody: {
56216
+ content: {
56217
+ "application/json": {
56218
+ schema: {
56219
+ properties: {
56220
+ connector_id: {
56221
+ description: "ID of the connector.",
56222
+ format: "uuid",
56223
+ type: "string"
56224
+ }
56225
+ },
56226
+ type: "object"
56227
+ }
56228
+ }
56229
+ }
56230
+ },
56231
+ responses: {
56232
+ 200: {
56233
+ content: {
56234
+ "application/json": {
56235
+ schema: {
56236
+ properties: {
56237
+ connector_customers: {
56238
+ items: {
56239
+ properties: {
56240
+ connector_customer_id: { type: "string" },
56241
+ connector_id: { type: "string" },
56242
+ created_at: { type: "string" },
56243
+ customer_key: { type: "string" },
56244
+ initial_sync_completed: { type: "boolean" },
56245
+ initial_sync_status: {
56246
+ nullable: true,
56247
+ type: "string"
56248
+ },
56249
+ instance_config: {
56250
+ additionalProperties: {
56251
+ $ref: "#/components/schemas/access_code"
56252
+ },
56253
+ nullable: true,
56254
+ type: "object"
56255
+ },
56256
+ status: { nullable: true, type: "string" },
56257
+ updated_at: { type: "string" }
56258
+ },
56259
+ required: [
56260
+ "connector_customer_id",
56261
+ "connector_id",
56262
+ "customer_key",
56263
+ "instance_config",
56264
+ "initial_sync_completed",
56265
+ "initial_sync_status",
56266
+ "status",
56267
+ "created_at",
56268
+ "updated_at"
56269
+ ],
56270
+ type: "object"
56271
+ },
56272
+ type: "array"
56273
+ },
56274
+ ok: { type: "boolean" }
56275
+ },
56276
+ required: ["connector_customers", "ok"],
56277
+ type: "object"
56278
+ }
56279
+ }
56280
+ },
56281
+ description: "OK"
56282
+ },
56283
+ 400: { description: "Bad Request" },
56284
+ 401: { description: "Unauthorized" }
56285
+ },
56286
+ security: [
56287
+ { api_key: [] },
56288
+ { client_session_with_customer: [] },
56289
+ { console_session_with_workspace: [] }
56290
+ ],
56291
+ summary: "/seam/customer/v1/connector_customers/list",
56292
+ tags: [],
56293
+ "x-fern-sdk-group-name": [
56294
+ "seam",
56295
+ "customer",
56296
+ "v1",
56297
+ "connector_customers"
56298
+ ],
56299
+ "x-fern-sdk-method-name": "list",
56300
+ "x-fern-sdk-return-value": "connector_customers",
56301
+ "x-response-key": "connector_customers",
56302
+ "x-title": "List Connector Customers",
56303
+ "x-undocumented": "Internal endpoint for Console."
56304
+ }
56305
+ },
56123
56306
  "/seam/customer/v1/connectors/authorize": {
56124
56307
  get: {
56125
56308
  description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",