@seamapi/types 1.688.0 → 1.689.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.
- package/dist/connect.cjs +40 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +49 -16
- package/dist/index.cjs +40 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +35 -15
- package/lib/seam/connect/openapi.js +39 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +40 -14
- package/src/lib/seam/connect/route-types.ts +14 -1
package/dist/connect.d.cts
CHANGED
|
@@ -98075,16 +98075,10 @@ declare const _default: {
|
|
|
98075
98075
|
};
|
|
98076
98076
|
security: ({
|
|
98077
98077
|
api_key: never[];
|
|
98078
|
-
client_session_with_customer?: never;
|
|
98079
|
-
console_session_with_workspace?: never;
|
|
98080
|
-
} | {
|
|
98081
|
-
client_session_with_customer: never[];
|
|
98082
|
-
api_key?: never;
|
|
98083
98078
|
console_session_with_workspace?: never;
|
|
98084
98079
|
} | {
|
|
98085
98080
|
console_session_with_workspace: never[];
|
|
98086
98081
|
api_key?: never;
|
|
98087
|
-
client_session_with_customer?: never;
|
|
98088
98082
|
})[];
|
|
98089
98083
|
summary: string;
|
|
98090
98084
|
tags: never[];
|
|
@@ -98105,11 +98099,23 @@ declare const _default: {
|
|
|
98105
98099
|
'application/json': {
|
|
98106
98100
|
schema: {
|
|
98107
98101
|
properties: {
|
|
98102
|
+
connector_customer_id: {
|
|
98103
|
+
type: string;
|
|
98104
|
+
};
|
|
98108
98105
|
connector_id: {
|
|
98109
98106
|
description: string;
|
|
98110
98107
|
minLength: number;
|
|
98111
98108
|
type: string;
|
|
98112
98109
|
};
|
|
98110
|
+
customer_id: {
|
|
98111
|
+
type: string;
|
|
98112
|
+
};
|
|
98113
|
+
customer_key: {
|
|
98114
|
+
type: string;
|
|
98115
|
+
};
|
|
98116
|
+
unique_provider_resource_key: {
|
|
98117
|
+
type: string;
|
|
98118
|
+
};
|
|
98113
98119
|
};
|
|
98114
98120
|
required: string[];
|
|
98115
98121
|
type: string;
|
|
@@ -98159,16 +98165,10 @@ declare const _default: {
|
|
|
98159
98165
|
};
|
|
98160
98166
|
security: ({
|
|
98161
98167
|
api_key: never[];
|
|
98162
|
-
client_session_with_customer?: never;
|
|
98163
|
-
console_session_with_workspace?: never;
|
|
98164
|
-
} | {
|
|
98165
|
-
client_session_with_customer: never[];
|
|
98166
|
-
api_key?: never;
|
|
98167
98168
|
console_session_with_workspace?: never;
|
|
98168
98169
|
} | {
|
|
98169
98170
|
console_session_with_workspace: never[];
|
|
98170
98171
|
api_key?: never;
|
|
98171
|
-
client_session_with_customer?: never;
|
|
98172
98172
|
})[];
|
|
98173
98173
|
summary: string;
|
|
98174
98174
|
tags: never[];
|
|
@@ -98351,11 +98351,34 @@ declare const _default: {
|
|
|
98351
98351
|
'application/json': {
|
|
98352
98352
|
schema: {
|
|
98353
98353
|
properties: {
|
|
98354
|
+
connector_customer_id: {
|
|
98355
|
+
description: string;
|
|
98356
|
+
format: string;
|
|
98357
|
+
nullable: boolean;
|
|
98358
|
+
type: string;
|
|
98359
|
+
};
|
|
98354
98360
|
connector_id: {
|
|
98355
98361
|
description: string;
|
|
98356
98362
|
format: string;
|
|
98357
98363
|
type: string;
|
|
98358
98364
|
};
|
|
98365
|
+
connector_type: {
|
|
98366
|
+
description: string;
|
|
98367
|
+
type: string;
|
|
98368
|
+
};
|
|
98369
|
+
customer_id: {
|
|
98370
|
+
description: string;
|
|
98371
|
+
type: string;
|
|
98372
|
+
};
|
|
98373
|
+
customer_key: {
|
|
98374
|
+
description: string;
|
|
98375
|
+
type: string;
|
|
98376
|
+
};
|
|
98377
|
+
unique_provider_resource_key: {
|
|
98378
|
+
description: string;
|
|
98379
|
+
nullable: boolean;
|
|
98380
|
+
type: string;
|
|
98381
|
+
};
|
|
98359
98382
|
};
|
|
98360
98383
|
required: string[];
|
|
98361
98384
|
type: string;
|
|
@@ -98371,9 +98394,6 @@ declare const _default: {
|
|
|
98371
98394
|
properties: {
|
|
98372
98395
|
connector_sync: {
|
|
98373
98396
|
properties: {
|
|
98374
|
-
connector_id: {
|
|
98375
|
-
type: string;
|
|
98376
|
-
};
|
|
98377
98397
|
message: {
|
|
98378
98398
|
type: string;
|
|
98379
98399
|
};
|
|
@@ -166839,6 +166859,10 @@ type Routes = {
|
|
|
166839
166859
|
jsonBody: {
|
|
166840
166860
|
/** ID of the connector to delete */
|
|
166841
166861
|
connector_id: string;
|
|
166862
|
+
customer_key?: string | undefined;
|
|
166863
|
+
customer_id?: string | undefined;
|
|
166864
|
+
connector_customer_id?: string | undefined;
|
|
166865
|
+
unique_provider_resource_key?: string | undefined;
|
|
166842
166866
|
};
|
|
166843
166867
|
commonParams: {};
|
|
166844
166868
|
formData: {};
|
|
@@ -166880,11 +166904,20 @@ type Routes = {
|
|
|
166880
166904
|
commonParams: {
|
|
166881
166905
|
/** ID of the connector to sync */
|
|
166882
166906
|
connector_id: string;
|
|
166907
|
+
/** Type of the connector to sync */
|
|
166908
|
+
connector_type: string;
|
|
166909
|
+
/** ID of the customer to sync */
|
|
166910
|
+
customer_id: string;
|
|
166911
|
+
/** Key of the customer to sync */
|
|
166912
|
+
customer_key: string;
|
|
166913
|
+
/** ID of the connector customer to sync */
|
|
166914
|
+
connector_customer_id: string | null;
|
|
166915
|
+
/** Unique provider resource key of the connector to sync */
|
|
166916
|
+
unique_provider_resource_key: string | null;
|
|
166883
166917
|
};
|
|
166884
166918
|
formData: {};
|
|
166885
166919
|
jsonResponse: {
|
|
166886
166920
|
connector_sync: {
|
|
166887
|
-
connector_id: string;
|
|
166888
166921
|
status: string;
|
|
166889
166922
|
message: string;
|
|
166890
166923
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -55773,7 +55773,7 @@ var openapi_default = {
|
|
|
55773
55773
|
},
|
|
55774
55774
|
"/seam/customer/v1/connectors/create": {
|
|
55775
55775
|
post: {
|
|
55776
|
-
description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API
|
|
55776
|
+
description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.",
|
|
55777
55777
|
operationId: "seamCustomerV1ConnectorsCreatePost",
|
|
55778
55778
|
requestBody: {
|
|
55779
55779
|
content: {
|
|
@@ -55861,11 +55861,7 @@ var openapi_default = {
|
|
|
55861
55861
|
400: { description: "Bad Request" },
|
|
55862
55862
|
401: { description: "Unauthorized" }
|
|
55863
55863
|
},
|
|
55864
|
-
security: [
|
|
55865
|
-
{ api_key: [] },
|
|
55866
|
-
{ client_session_with_customer: [] },
|
|
55867
|
-
{ console_session_with_workspace: [] }
|
|
55868
|
-
],
|
|
55864
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
55869
55865
|
summary: "/seam/customer/v1/connectors/create",
|
|
55870
55866
|
tags: [],
|
|
55871
55867
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
@@ -55885,11 +55881,15 @@ var openapi_default = {
|
|
|
55885
55881
|
"application/json": {
|
|
55886
55882
|
schema: {
|
|
55887
55883
|
properties: {
|
|
55884
|
+
connector_customer_id: { type: "string" },
|
|
55888
55885
|
connector_id: {
|
|
55889
55886
|
description: "ID of the connector to delete",
|
|
55890
55887
|
minLength: 1,
|
|
55891
55888
|
type: "string"
|
|
55892
|
-
}
|
|
55889
|
+
},
|
|
55890
|
+
customer_id: { type: "string" },
|
|
55891
|
+
customer_key: { type: "string" },
|
|
55892
|
+
unique_provider_resource_key: { type: "string" }
|
|
55893
55893
|
},
|
|
55894
55894
|
required: ["connector_id"],
|
|
55895
55895
|
type: "object"
|
|
@@ -55924,11 +55924,7 @@ var openapi_default = {
|
|
|
55924
55924
|
400: { description: "Bad Request" },
|
|
55925
55925
|
401: { description: "Unauthorized" }
|
|
55926
55926
|
},
|
|
55927
|
-
security: [
|
|
55928
|
-
{ api_key: [] },
|
|
55929
|
-
{ client_session_with_customer: [] },
|
|
55930
|
-
{ console_session_with_workspace: [] }
|
|
55931
|
-
],
|
|
55927
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
55932
55928
|
summary: "/seam/customer/v1/connectors/delete",
|
|
55933
55929
|
tags: [],
|
|
55934
55930
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
@@ -56080,13 +56076,43 @@ var openapi_default = {
|
|
|
56080
56076
|
"application/json": {
|
|
56081
56077
|
schema: {
|
|
56082
56078
|
properties: {
|
|
56079
|
+
connector_customer_id: {
|
|
56080
|
+
description: "ID of the connector customer to sync",
|
|
56081
|
+
format: "uuid",
|
|
56082
|
+
nullable: true,
|
|
56083
|
+
type: "string"
|
|
56084
|
+
},
|
|
56083
56085
|
connector_id: {
|
|
56084
56086
|
description: "ID of the connector to sync",
|
|
56085
56087
|
format: "uuid",
|
|
56086
56088
|
type: "string"
|
|
56089
|
+
},
|
|
56090
|
+
connector_type: {
|
|
56091
|
+
description: "Type of the connector to sync",
|
|
56092
|
+
type: "string"
|
|
56093
|
+
},
|
|
56094
|
+
customer_id: {
|
|
56095
|
+
description: "ID of the customer to sync",
|
|
56096
|
+
type: "string"
|
|
56097
|
+
},
|
|
56098
|
+
customer_key: {
|
|
56099
|
+
description: "Key of the customer to sync",
|
|
56100
|
+
type: "string"
|
|
56101
|
+
},
|
|
56102
|
+
unique_provider_resource_key: {
|
|
56103
|
+
description: "Unique provider resource key of the connector to sync",
|
|
56104
|
+
nullable: true,
|
|
56105
|
+
type: "string"
|
|
56087
56106
|
}
|
|
56088
56107
|
},
|
|
56089
|
-
required: [
|
|
56108
|
+
required: [
|
|
56109
|
+
"connector_id",
|
|
56110
|
+
"connector_type",
|
|
56111
|
+
"customer_id",
|
|
56112
|
+
"customer_key",
|
|
56113
|
+
"connector_customer_id",
|
|
56114
|
+
"unique_provider_resource_key"
|
|
56115
|
+
],
|
|
56090
56116
|
type: "object"
|
|
56091
56117
|
}
|
|
56092
56118
|
}
|
|
@@ -56100,11 +56126,10 @@ var openapi_default = {
|
|
|
56100
56126
|
properties: {
|
|
56101
56127
|
connector_sync: {
|
|
56102
56128
|
properties: {
|
|
56103
|
-
connector_id: { type: "string" },
|
|
56104
56129
|
message: { type: "string" },
|
|
56105
56130
|
status: { type: "string" }
|
|
56106
56131
|
},
|
|
56107
|
-
required: ["
|
|
56132
|
+
required: ["status", "message"],
|
|
56108
56133
|
type: "object"
|
|
56109
56134
|
},
|
|
56110
56135
|
ok: { type: "boolean" }
|