@seamapi/http 1.101.0 → 1.102.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 +130 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -2
- package/dist/index.cjs +132 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js +104 -0
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +3 -1
- package/lib/seam/connect/routes/seam-http-endpoints.js +11 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts +214 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +28 -0
- package/src/lib/version.ts +1 -1
|
@@ -36,6 +36,7 @@ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
|
|
|
36
36
|
import { SeamHttpSeamCustomerV1AccessGrants } from './access-grants/index.js'
|
|
37
37
|
import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js'
|
|
38
38
|
import { SeamHttpSeamCustomerV1Automations } from './automations/index.js'
|
|
39
|
+
import { SeamHttpSeamCustomerV1ConnectorCustomers } from './connector-customers/index.js'
|
|
39
40
|
import { SeamHttpSeamCustomerV1Connectors } from './connectors/index.js'
|
|
40
41
|
import { SeamHttpSeamCustomerV1Customers } from './customers/index.js'
|
|
41
42
|
import { SeamHttpSeamCustomerV1Events } from './events/index.js'
|
|
@@ -198,6 +199,13 @@ export class SeamHttpSeamCustomerV1 {
|
|
|
198
199
|
)
|
|
199
200
|
}
|
|
200
201
|
|
|
202
|
+
get connectorCustomers(): SeamHttpSeamCustomerV1ConnectorCustomers {
|
|
203
|
+
return SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
|
|
204
|
+
this.client,
|
|
205
|
+
this.defaults,
|
|
206
|
+
)
|
|
207
|
+
}
|
|
208
|
+
|
|
201
209
|
get connectors(): SeamHttpSeamCustomerV1Connectors {
|
|
202
210
|
return SeamHttpSeamCustomerV1Connectors.fromClient(
|
|
203
211
|
this.client,
|
|
@@ -617,6 +617,12 @@ import {
|
|
|
617
617
|
type SeamCustomerV1AutomationsUpdateRequest,
|
|
618
618
|
SeamHttpSeamCustomerV1Automations,
|
|
619
619
|
} from './seam/customer/v1/automations/index.js'
|
|
620
|
+
import {
|
|
621
|
+
type SeamCustomerV1ConnectorCustomersListOptions,
|
|
622
|
+
type SeamCustomerV1ConnectorCustomersListParameters,
|
|
623
|
+
type SeamCustomerV1ConnectorCustomersListRequest,
|
|
624
|
+
SeamHttpSeamCustomerV1ConnectorCustomers,
|
|
625
|
+
} from './seam/customer/v1/connector-customers/index.js'
|
|
620
626
|
import {
|
|
621
627
|
type SeamCustomerV1ConnectorsAuthorizeOptions,
|
|
622
628
|
type SeamCustomerV1ConnectorsAuthorizeParameters,
|
|
@@ -3229,6 +3235,27 @@ export class SeamHttpEndpoints {
|
|
|
3229
3235
|
}
|
|
3230
3236
|
}
|
|
3231
3237
|
|
|
3238
|
+
get '/seam/customer/v1/connector_customers/list'(): (
|
|
3239
|
+
parameters?: SeamCustomerV1ConnectorCustomersListParameters,
|
|
3240
|
+
options?: SeamCustomerV1ConnectorCustomersListOptions,
|
|
3241
|
+
) => SeamCustomerV1ConnectorCustomersListRequest {
|
|
3242
|
+
const { client, defaults } = this
|
|
3243
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3244
|
+
throw new Error(
|
|
3245
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3246
|
+
)
|
|
3247
|
+
}
|
|
3248
|
+
return function seamCustomerV1ConnectorCustomersList(
|
|
3249
|
+
...args: Parameters<SeamHttpSeamCustomerV1ConnectorCustomers['list']>
|
|
3250
|
+
): ReturnType<SeamHttpSeamCustomerV1ConnectorCustomers['list']> {
|
|
3251
|
+
const seam = SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
|
|
3252
|
+
client,
|
|
3253
|
+
defaults,
|
|
3254
|
+
)
|
|
3255
|
+
return seam.list(...args)
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3232
3259
|
get '/seam/customer/v1/connectors/authorize'(): (
|
|
3233
3260
|
parameters?: SeamCustomerV1ConnectorsAuthorizeParameters,
|
|
3234
3261
|
options?: SeamCustomerV1ConnectorsAuthorizeOptions,
|
|
@@ -4807,6 +4834,7 @@ export type SeamHttpEndpointQueryPaths =
|
|
|
4807
4834
|
| '/seam/customer/v1/access_grants/list'
|
|
4808
4835
|
| '/seam/customer/v1/automation_runs/list'
|
|
4809
4836
|
| '/seam/customer/v1/automations/get'
|
|
4837
|
+
| '/seam/customer/v1/connector_customers/list'
|
|
4810
4838
|
| '/seam/customer/v1/connectors/authorize'
|
|
4811
4839
|
| '/seam/customer/v1/connectors/connector_types'
|
|
4812
4840
|
| '/seam/customer/v1/connectors/list'
|
package/src/lib/version.ts
CHANGED