@seamapi/types 1.1193.0 → 1.1194.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.
|
@@ -104865,6 +104865,25 @@ export type Routes = {
|
|
|
104865
104865
|
jsonResponse: {};
|
|
104866
104866
|
maxDuration: undefined;
|
|
104867
104867
|
};
|
|
104868
|
+
'/seam/customer/v1/connector_customers/delete': {
|
|
104869
|
+
route: '/seam/customer/v1/connector_customers/delete';
|
|
104870
|
+
method: 'POST';
|
|
104871
|
+
queryParams: {};
|
|
104872
|
+
jsonBody: {
|
|
104873
|
+
/** ID of the connector customer to delete. */
|
|
104874
|
+
connector_customer_id: string;
|
|
104875
|
+
};
|
|
104876
|
+
commonParams: {};
|
|
104877
|
+
formData: {};
|
|
104878
|
+
jsonResponse: {
|
|
104879
|
+
connector_customer: {
|
|
104880
|
+
connector_customer_id: string;
|
|
104881
|
+
connector_id: string;
|
|
104882
|
+
status: 'deleted';
|
|
104883
|
+
};
|
|
104884
|
+
};
|
|
104885
|
+
maxDuration: undefined;
|
|
104886
|
+
};
|
|
104868
104887
|
'/seam/customer/v1/connector_customers/list': {
|
|
104869
104888
|
route: '/seam/customer/v1/connector_customers/list';
|
|
104870
104889
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -69829,6 +69829,75 @@ const openapi: OpenAPISpec = {
|
|
|
69829
69829
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
69830
69830
|
},
|
|
69831
69831
|
},
|
|
69832
|
+
'/seam/customer/v1/connector_customers/delete': {
|
|
69833
|
+
post: {
|
|
69834
|
+
description:
|
|
69835
|
+
"Removes one customer from a connector and deactivates that customer's connection. The connector and its other customers are kept, even when this was the connector's last customer. Reservations, spaces, and other resources already synced for the customer are not deleted.",
|
|
69836
|
+
operationId: 'seamCustomerV1ConnectorCustomersDeletePost',
|
|
69837
|
+
requestBody: {
|
|
69838
|
+
content: {
|
|
69839
|
+
'application/json': {
|
|
69840
|
+
schema: {
|
|
69841
|
+
properties: {
|
|
69842
|
+
connector_customer_id: {
|
|
69843
|
+
description: 'ID of the connector customer to delete.',
|
|
69844
|
+
format: 'uuid',
|
|
69845
|
+
type: 'string',
|
|
69846
|
+
},
|
|
69847
|
+
},
|
|
69848
|
+
required: ['connector_customer_id'],
|
|
69849
|
+
type: 'object',
|
|
69850
|
+
},
|
|
69851
|
+
},
|
|
69852
|
+
},
|
|
69853
|
+
},
|
|
69854
|
+
responses: {
|
|
69855
|
+
'200': {
|
|
69856
|
+
content: {
|
|
69857
|
+
'application/json': {
|
|
69858
|
+
schema: {
|
|
69859
|
+
properties: {
|
|
69860
|
+
connector_customer: {
|
|
69861
|
+
properties: {
|
|
69862
|
+
connector_customer_id: { type: 'string' },
|
|
69863
|
+
connector_id: { type: 'string' },
|
|
69864
|
+
status: { enum: ['deleted'], type: 'string' },
|
|
69865
|
+
},
|
|
69866
|
+
required: [
|
|
69867
|
+
'connector_customer_id',
|
|
69868
|
+
'connector_id',
|
|
69869
|
+
'status',
|
|
69870
|
+
],
|
|
69871
|
+
type: 'object',
|
|
69872
|
+
},
|
|
69873
|
+
ok: { type: 'boolean' },
|
|
69874
|
+
},
|
|
69875
|
+
required: ['connector_customer', 'ok'],
|
|
69876
|
+
type: 'object',
|
|
69877
|
+
},
|
|
69878
|
+
},
|
|
69879
|
+
},
|
|
69880
|
+
description: 'OK',
|
|
69881
|
+
},
|
|
69882
|
+
'400': { description: 'Bad Request' },
|
|
69883
|
+
'401': { description: 'Unauthorized' },
|
|
69884
|
+
},
|
|
69885
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
69886
|
+
summary: '/seam/customer/v1/connector_customers/delete',
|
|
69887
|
+
tags: [],
|
|
69888
|
+
'x-fern-sdk-group-name': [
|
|
69889
|
+
'seam',
|
|
69890
|
+
'customer',
|
|
69891
|
+
'v1',
|
|
69892
|
+
'connector_customers',
|
|
69893
|
+
],
|
|
69894
|
+
'x-fern-sdk-method-name': 'delete',
|
|
69895
|
+
'x-fern-sdk-return-value': 'connector_customer',
|
|
69896
|
+
'x-response-key': 'connector_customer',
|
|
69897
|
+
'x-title': 'Delete Connector Customer',
|
|
69898
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
69899
|
+
},
|
|
69900
|
+
},
|
|
69832
69901
|
'/seam/customer/v1/connector_customers/list': {
|
|
69833
69902
|
get: {
|
|
69834
69903
|
description: 'Lists connector customers for a given connector.',
|
|
@@ -125307,6 +125307,25 @@ export type Routes = {
|
|
|
125307
125307
|
jsonResponse: {}
|
|
125308
125308
|
maxDuration: undefined
|
|
125309
125309
|
}
|
|
125310
|
+
'/seam/customer/v1/connector_customers/delete': {
|
|
125311
|
+
route: '/seam/customer/v1/connector_customers/delete'
|
|
125312
|
+
method: 'POST'
|
|
125313
|
+
queryParams: {}
|
|
125314
|
+
jsonBody: {
|
|
125315
|
+
/** ID of the connector customer to delete. */
|
|
125316
|
+
connector_customer_id: string
|
|
125317
|
+
}
|
|
125318
|
+
commonParams: {}
|
|
125319
|
+
formData: {}
|
|
125320
|
+
jsonResponse: {
|
|
125321
|
+
connector_customer: {
|
|
125322
|
+
connector_customer_id: string
|
|
125323
|
+
connector_id: string
|
|
125324
|
+
status: 'deleted'
|
|
125325
|
+
}
|
|
125326
|
+
}
|
|
125327
|
+
maxDuration: undefined
|
|
125328
|
+
}
|
|
125310
125329
|
'/seam/customer/v1/connector_customers/list': {
|
|
125311
125330
|
route: '/seam/customer/v1/connector_customers/list'
|
|
125312
125331
|
method: 'GET' | 'POST'
|