@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.
@@ -45141,6 +45141,215 @@ declare const _default: {
45141
45141
  'x-undocumented': string;
45142
45142
  };
45143
45143
  };
45144
+ '/seam/customer/v1/connector_customers/list': {
45145
+ get: {
45146
+ description: string;
45147
+ operationId: string;
45148
+ parameters: {
45149
+ in: string;
45150
+ name: string;
45151
+ schema: {
45152
+ description: string;
45153
+ format: string;
45154
+ type: string;
45155
+ };
45156
+ }[];
45157
+ responses: {
45158
+ 200: {
45159
+ content: {
45160
+ 'application/json': {
45161
+ schema: {
45162
+ properties: {
45163
+ connector_customers: {
45164
+ items: {
45165
+ properties: {
45166
+ connector_customer_id: {
45167
+ type: string;
45168
+ };
45169
+ connector_id: {
45170
+ type: string;
45171
+ };
45172
+ created_at: {
45173
+ type: string;
45174
+ };
45175
+ customer_key: {
45176
+ type: string;
45177
+ };
45178
+ initial_sync_completed: {
45179
+ type: string;
45180
+ };
45181
+ initial_sync_status: {
45182
+ nullable: boolean;
45183
+ type: string;
45184
+ };
45185
+ instance_config: {
45186
+ additionalProperties: {
45187
+ $ref: string;
45188
+ };
45189
+ nullable: boolean;
45190
+ type: string;
45191
+ };
45192
+ status: {
45193
+ nullable: boolean;
45194
+ type: string;
45195
+ };
45196
+ updated_at: {
45197
+ type: string;
45198
+ };
45199
+ };
45200
+ required: string[];
45201
+ type: string;
45202
+ };
45203
+ type: string;
45204
+ };
45205
+ ok: {
45206
+ type: string;
45207
+ };
45208
+ };
45209
+ required: string[];
45210
+ type: string;
45211
+ };
45212
+ };
45213
+ };
45214
+ description: string;
45215
+ };
45216
+ 400: {
45217
+ description: string;
45218
+ };
45219
+ 401: {
45220
+ description: string;
45221
+ };
45222
+ };
45223
+ security: ({
45224
+ api_key: never[];
45225
+ client_session_with_customer?: never;
45226
+ console_session_with_workspace?: never;
45227
+ } | {
45228
+ client_session_with_customer: never[];
45229
+ api_key?: never;
45230
+ console_session_with_workspace?: never;
45231
+ } | {
45232
+ console_session_with_workspace: never[];
45233
+ api_key?: never;
45234
+ client_session_with_customer?: never;
45235
+ })[];
45236
+ summary: string;
45237
+ tags: never[];
45238
+ 'x-fern-sdk-group-name': string[];
45239
+ 'x-fern-sdk-method-name': string;
45240
+ 'x-fern-sdk-return-value': string;
45241
+ 'x-response-key': string;
45242
+ 'x-title': string;
45243
+ 'x-undocumented': string;
45244
+ };
45245
+ post: {
45246
+ description: string;
45247
+ operationId: string;
45248
+ requestBody: {
45249
+ content: {
45250
+ 'application/json': {
45251
+ schema: {
45252
+ properties: {
45253
+ connector_id: {
45254
+ description: string;
45255
+ format: string;
45256
+ type: string;
45257
+ };
45258
+ };
45259
+ type: string;
45260
+ };
45261
+ };
45262
+ };
45263
+ };
45264
+ responses: {
45265
+ 200: {
45266
+ content: {
45267
+ 'application/json': {
45268
+ schema: {
45269
+ properties: {
45270
+ connector_customers: {
45271
+ items: {
45272
+ properties: {
45273
+ connector_customer_id: {
45274
+ type: string;
45275
+ };
45276
+ connector_id: {
45277
+ type: string;
45278
+ };
45279
+ created_at: {
45280
+ type: string;
45281
+ };
45282
+ customer_key: {
45283
+ type: string;
45284
+ };
45285
+ initial_sync_completed: {
45286
+ type: string;
45287
+ };
45288
+ initial_sync_status: {
45289
+ nullable: boolean;
45290
+ type: string;
45291
+ };
45292
+ instance_config: {
45293
+ additionalProperties: {
45294
+ $ref: string;
45295
+ };
45296
+ nullable: boolean;
45297
+ type: string;
45298
+ };
45299
+ status: {
45300
+ nullable: boolean;
45301
+ type: string;
45302
+ };
45303
+ updated_at: {
45304
+ type: string;
45305
+ };
45306
+ };
45307
+ required: string[];
45308
+ type: string;
45309
+ };
45310
+ type: string;
45311
+ };
45312
+ ok: {
45313
+ type: string;
45314
+ };
45315
+ };
45316
+ required: string[];
45317
+ type: string;
45318
+ };
45319
+ };
45320
+ };
45321
+ description: string;
45322
+ };
45323
+ 400: {
45324
+ description: string;
45325
+ };
45326
+ 401: {
45327
+ description: string;
45328
+ };
45329
+ };
45330
+ security: ({
45331
+ api_key: never[];
45332
+ client_session_with_customer?: never;
45333
+ console_session_with_workspace?: never;
45334
+ } | {
45335
+ client_session_with_customer: never[];
45336
+ api_key?: never;
45337
+ console_session_with_workspace?: never;
45338
+ } | {
45339
+ console_session_with_workspace: never[];
45340
+ api_key?: never;
45341
+ client_session_with_customer?: never;
45342
+ })[];
45343
+ summary: string;
45344
+ tags: never[];
45345
+ 'x-fern-sdk-group-name': string[];
45346
+ 'x-fern-sdk-method-name': string;
45347
+ 'x-fern-sdk-return-value': string;
45348
+ 'x-response-key': string;
45349
+ 'x-title': string;
45350
+ 'x-undocumented': string;
45351
+ };
45352
+ };
45144
45353
  '/seam/customer/v1/connectors/authorize': {
45145
45354
  get: {
45146
45355
  description: string;
@@ -50111,6 +50111,189 @@ export default {
50111
50111
  'x-undocumented': 'Internal endpoint for customer portals.',
50112
50112
  },
50113
50113
  },
50114
+ '/seam/customer/v1/connector_customers/list': {
50115
+ get: {
50116
+ description: 'Lists connector customers for a given connector.',
50117
+ operationId: 'seamCustomerV1ConnectorCustomersListGet',
50118
+ parameters: [
50119
+ {
50120
+ in: 'query',
50121
+ name: 'connector_id',
50122
+ schema: {
50123
+ description: 'ID of the connector.',
50124
+ format: 'uuid',
50125
+ type: 'string',
50126
+ },
50127
+ },
50128
+ ],
50129
+ responses: {
50130
+ 200: {
50131
+ content: {
50132
+ 'application/json': {
50133
+ schema: {
50134
+ properties: {
50135
+ connector_customers: {
50136
+ items: {
50137
+ properties: {
50138
+ connector_customer_id: { type: 'string' },
50139
+ connector_id: { type: 'string' },
50140
+ created_at: { type: 'string' },
50141
+ customer_key: { type: 'string' },
50142
+ initial_sync_completed: { type: 'boolean' },
50143
+ initial_sync_status: {
50144
+ nullable: true,
50145
+ type: 'string',
50146
+ },
50147
+ instance_config: {
50148
+ additionalProperties: {
50149
+ $ref: '#/components/schemas/access_code',
50150
+ },
50151
+ nullable: true,
50152
+ type: 'object',
50153
+ },
50154
+ status: { nullable: true, type: 'string' },
50155
+ updated_at: { type: 'string' },
50156
+ },
50157
+ required: [
50158
+ 'connector_customer_id',
50159
+ 'connector_id',
50160
+ 'customer_key',
50161
+ 'instance_config',
50162
+ 'initial_sync_completed',
50163
+ 'initial_sync_status',
50164
+ 'status',
50165
+ 'created_at',
50166
+ 'updated_at',
50167
+ ],
50168
+ type: 'object',
50169
+ },
50170
+ type: 'array',
50171
+ },
50172
+ ok: { type: 'boolean' },
50173
+ },
50174
+ required: ['connector_customers', 'ok'],
50175
+ type: 'object',
50176
+ },
50177
+ },
50178
+ },
50179
+ description: 'OK',
50180
+ },
50181
+ 400: { description: 'Bad Request' },
50182
+ 401: { description: 'Unauthorized' },
50183
+ },
50184
+ security: [
50185
+ { api_key: [] },
50186
+ { client_session_with_customer: [] },
50187
+ { console_session_with_workspace: [] },
50188
+ ],
50189
+ summary: '/seam/customer/v1/connector_customers/list',
50190
+ tags: [],
50191
+ 'x-fern-sdk-group-name': [
50192
+ 'seam',
50193
+ 'customer',
50194
+ 'v1',
50195
+ 'connector_customers',
50196
+ ],
50197
+ 'x-fern-sdk-method-name': 'list',
50198
+ 'x-fern-sdk-return-value': 'connector_customers',
50199
+ 'x-response-key': 'connector_customers',
50200
+ 'x-title': 'List Connector Customers',
50201
+ 'x-undocumented': 'Internal endpoint for Console.',
50202
+ },
50203
+ post: {
50204
+ description: 'Lists connector customers for a given connector.',
50205
+ operationId: 'seamCustomerV1ConnectorCustomersListPost',
50206
+ requestBody: {
50207
+ content: {
50208
+ 'application/json': {
50209
+ schema: {
50210
+ properties: {
50211
+ connector_id: {
50212
+ description: 'ID of the connector.',
50213
+ format: 'uuid',
50214
+ type: 'string',
50215
+ },
50216
+ },
50217
+ type: 'object',
50218
+ },
50219
+ },
50220
+ },
50221
+ },
50222
+ responses: {
50223
+ 200: {
50224
+ content: {
50225
+ 'application/json': {
50226
+ schema: {
50227
+ properties: {
50228
+ connector_customers: {
50229
+ items: {
50230
+ properties: {
50231
+ connector_customer_id: { type: 'string' },
50232
+ connector_id: { type: 'string' },
50233
+ created_at: { type: 'string' },
50234
+ customer_key: { type: 'string' },
50235
+ initial_sync_completed: { type: 'boolean' },
50236
+ initial_sync_status: {
50237
+ nullable: true,
50238
+ type: 'string',
50239
+ },
50240
+ instance_config: {
50241
+ additionalProperties: {
50242
+ $ref: '#/components/schemas/access_code',
50243
+ },
50244
+ nullable: true,
50245
+ type: 'object',
50246
+ },
50247
+ status: { nullable: true, type: 'string' },
50248
+ updated_at: { type: 'string' },
50249
+ },
50250
+ required: [
50251
+ 'connector_customer_id',
50252
+ 'connector_id',
50253
+ 'customer_key',
50254
+ 'instance_config',
50255
+ 'initial_sync_completed',
50256
+ 'initial_sync_status',
50257
+ 'status',
50258
+ 'created_at',
50259
+ 'updated_at',
50260
+ ],
50261
+ type: 'object',
50262
+ },
50263
+ type: 'array',
50264
+ },
50265
+ ok: { type: 'boolean' },
50266
+ },
50267
+ required: ['connector_customers', 'ok'],
50268
+ type: 'object',
50269
+ },
50270
+ },
50271
+ },
50272
+ description: 'OK',
50273
+ },
50274
+ 400: { description: 'Bad Request' },
50275
+ 401: { description: 'Unauthorized' },
50276
+ },
50277
+ security: [
50278
+ { api_key: [] },
50279
+ { client_session_with_customer: [] },
50280
+ { console_session_with_workspace: [] },
50281
+ ],
50282
+ summary: '/seam/customer/v1/connector_customers/list',
50283
+ tags: [],
50284
+ 'x-fern-sdk-group-name': [
50285
+ 'seam',
50286
+ 'customer',
50287
+ 'v1',
50288
+ 'connector_customers',
50289
+ ],
50290
+ 'x-fern-sdk-method-name': 'list',
50291
+ 'x-fern-sdk-return-value': 'connector_customers',
50292
+ 'x-response-key': 'connector_customers',
50293
+ 'x-title': 'List Connector Customers',
50294
+ 'x-undocumented': 'Internal endpoint for Console.',
50295
+ },
50296
+ },
50114
50297
  '/seam/customer/v1/connectors/authorize': {
50115
50298
  get: {
50116
50299
  description: 'Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).',