@seamapi/http 1.41.0 → 1.42.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 +332 -16
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +131 -143
- package/lib/seam/connect/resolve-action-attempt.d.ts +32 -168
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +12 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -12
- package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -9
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +102 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +60 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +126 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +2 -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 +4 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +8 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +12 -6
- package/lib/seam/connect/routes/seam-http-endpoints.js +49 -7
- 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/access-methods/access-methods.ts +38 -0
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -39
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +215 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +303 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +2 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +16 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +128 -21
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -1619,6 +1619,15 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
|
1619
1619
|
options
|
|
1620
1620
|
});
|
|
1621
1621
|
}
|
|
1622
|
+
encode(parameters, options = {}) {
|
|
1623
|
+
return new SeamHttpRequest(this, {
|
|
1624
|
+
pathname: "/access_methods/encode",
|
|
1625
|
+
method: "POST",
|
|
1626
|
+
body: parameters,
|
|
1627
|
+
responseKey: "action_attempt",
|
|
1628
|
+
options
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1622
1631
|
get(parameters, options = {}) {
|
|
1623
1632
|
return new SeamHttpRequest(this, {
|
|
1624
1633
|
pathname: "/access_methods/get",
|
|
@@ -2621,15 +2630,6 @@ var _SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
|
|
|
2621
2630
|
get simulate() {
|
|
2622
2631
|
return SeamHttpAcsEncodersSimulate.fromClient(this.client, this.defaults);
|
|
2623
2632
|
}
|
|
2624
|
-
encodeAccessMethod(parameters, options = {}) {
|
|
2625
|
-
return new SeamHttpRequest(this, {
|
|
2626
|
-
pathname: "/acs/encoders/encode_access_method",
|
|
2627
|
-
method: "POST",
|
|
2628
|
-
body: parameters,
|
|
2629
|
-
responseKey: "action_attempt",
|
|
2630
|
-
options
|
|
2631
|
-
});
|
|
2632
|
-
}
|
|
2633
2633
|
encodeCredential(parameters, options = {}) {
|
|
2634
2634
|
return new SeamHttpRequest(this, {
|
|
2635
2635
|
pathname: "/acs/encoders/encode_credential",
|
|
@@ -5262,6 +5262,248 @@ var _SeamHttpPhones = class _SeamHttpPhones {
|
|
|
5262
5262
|
_SeamHttpPhones.ltsVersion = seamApiLtsVersion;
|
|
5263
5263
|
var SeamHttpPhones = _SeamHttpPhones;
|
|
5264
5264
|
|
|
5265
|
+
// src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts
|
|
5266
|
+
var _SeamHttpSeamCustomerV1AutomationRuns = class _SeamHttpSeamCustomerV1AutomationRuns {
|
|
5267
|
+
constructor(apiKeyOrOptions = {}) {
|
|
5268
|
+
this.ltsVersion = seamApiLtsVersion;
|
|
5269
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
5270
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
5271
|
+
throw new Error(
|
|
5272
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5273
|
+
);
|
|
5274
|
+
}
|
|
5275
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
5276
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
5277
|
+
}
|
|
5278
|
+
static fromClient(client, options = {}) {
|
|
5279
|
+
const constructorOptions = { ...options, client };
|
|
5280
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
5281
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
5282
|
+
}
|
|
5283
|
+
return new _SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
|
|
5284
|
+
}
|
|
5285
|
+
static fromApiKey(apiKey, options = {}) {
|
|
5286
|
+
const constructorOptions = { ...options, apiKey };
|
|
5287
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
5288
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
5289
|
+
}
|
|
5290
|
+
return new _SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
|
|
5291
|
+
}
|
|
5292
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
5293
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
5294
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
5295
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
5296
|
+
}
|
|
5297
|
+
return new _SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
|
|
5298
|
+
}
|
|
5299
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
5300
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
5301
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
5302
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
5303
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5304
|
+
"The client option cannot be used with SeamHttpSeamCustomerV1AutomationRuns.fromPublishableKey"
|
|
5305
|
+
);
|
|
5306
|
+
}
|
|
5307
|
+
const client = createClient(clientOptions);
|
|
5308
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
5309
|
+
const { token } = await clientSessions.getOrCreate({
|
|
5310
|
+
user_identifier_key: userIdentifierKey
|
|
5311
|
+
});
|
|
5312
|
+
return _SeamHttpSeamCustomerV1AutomationRuns.fromClientSessionToken(
|
|
5313
|
+
token,
|
|
5314
|
+
options
|
|
5315
|
+
);
|
|
5316
|
+
}
|
|
5317
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
5318
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
5319
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
5320
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5321
|
+
"Missing consoleSessionToken or workspaceId"
|
|
5322
|
+
);
|
|
5323
|
+
}
|
|
5324
|
+
return new _SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
|
|
5325
|
+
}
|
|
5326
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
5327
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
5328
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
5329
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5330
|
+
"Missing personalAccessToken or workspaceId"
|
|
5331
|
+
);
|
|
5332
|
+
}
|
|
5333
|
+
return new _SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
|
|
5334
|
+
}
|
|
5335
|
+
createPaginator(request) {
|
|
5336
|
+
return new SeamPaginator(this, request);
|
|
5337
|
+
}
|
|
5338
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
5339
|
+
const { headers } = this.client.defaults;
|
|
5340
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
5341
|
+
clientSessionToken
|
|
5342
|
+
});
|
|
5343
|
+
for (const key of Object.keys(authHeaders)) {
|
|
5344
|
+
if (headers[key] == null) {
|
|
5345
|
+
throw new Error(
|
|
5346
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
5347
|
+
);
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
5351
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5352
|
+
await clientSessions.get();
|
|
5353
|
+
}
|
|
5354
|
+
list(parameters, options = {}) {
|
|
5355
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5356
|
+
throw new Error(
|
|
5357
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5358
|
+
);
|
|
5359
|
+
}
|
|
5360
|
+
return new SeamHttpRequest(this, {
|
|
5361
|
+
pathname: "/seam/customer/v1/automation_runs/list",
|
|
5362
|
+
method: "POST",
|
|
5363
|
+
body: parameters,
|
|
5364
|
+
responseKey: "automation_runs",
|
|
5365
|
+
options
|
|
5366
|
+
});
|
|
5367
|
+
}
|
|
5368
|
+
};
|
|
5369
|
+
_SeamHttpSeamCustomerV1AutomationRuns.ltsVersion = seamApiLtsVersion;
|
|
5370
|
+
var SeamHttpSeamCustomerV1AutomationRuns = _SeamHttpSeamCustomerV1AutomationRuns;
|
|
5371
|
+
|
|
5372
|
+
// src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts
|
|
5373
|
+
var _SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations {
|
|
5374
|
+
constructor(apiKeyOrOptions = {}) {
|
|
5375
|
+
this.ltsVersion = seamApiLtsVersion;
|
|
5376
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
5377
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
5378
|
+
throw new Error(
|
|
5379
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5380
|
+
);
|
|
5381
|
+
}
|
|
5382
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
5383
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
5384
|
+
}
|
|
5385
|
+
static fromClient(client, options = {}) {
|
|
5386
|
+
const constructorOptions = { ...options, client };
|
|
5387
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
5388
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
5389
|
+
}
|
|
5390
|
+
return new _SeamHttpSeamCustomerV1Automations(constructorOptions);
|
|
5391
|
+
}
|
|
5392
|
+
static fromApiKey(apiKey, options = {}) {
|
|
5393
|
+
const constructorOptions = { ...options, apiKey };
|
|
5394
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
5395
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
5396
|
+
}
|
|
5397
|
+
return new _SeamHttpSeamCustomerV1Automations(constructorOptions);
|
|
5398
|
+
}
|
|
5399
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
5400
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
5401
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
5402
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
5403
|
+
}
|
|
5404
|
+
return new _SeamHttpSeamCustomerV1Automations(constructorOptions);
|
|
5405
|
+
}
|
|
5406
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
5407
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
5408
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
5409
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
5410
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5411
|
+
"The client option cannot be used with SeamHttpSeamCustomerV1Automations.fromPublishableKey"
|
|
5412
|
+
);
|
|
5413
|
+
}
|
|
5414
|
+
const client = createClient(clientOptions);
|
|
5415
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
5416
|
+
const { token } = await clientSessions.getOrCreate({
|
|
5417
|
+
user_identifier_key: userIdentifierKey
|
|
5418
|
+
});
|
|
5419
|
+
return _SeamHttpSeamCustomerV1Automations.fromClientSessionToken(
|
|
5420
|
+
token,
|
|
5421
|
+
options
|
|
5422
|
+
);
|
|
5423
|
+
}
|
|
5424
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
5425
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
5426
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
5427
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5428
|
+
"Missing consoleSessionToken or workspaceId"
|
|
5429
|
+
);
|
|
5430
|
+
}
|
|
5431
|
+
return new _SeamHttpSeamCustomerV1Automations(constructorOptions);
|
|
5432
|
+
}
|
|
5433
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
5434
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
5435
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
5436
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5437
|
+
"Missing personalAccessToken or workspaceId"
|
|
5438
|
+
);
|
|
5439
|
+
}
|
|
5440
|
+
return new _SeamHttpSeamCustomerV1Automations(constructorOptions);
|
|
5441
|
+
}
|
|
5442
|
+
createPaginator(request) {
|
|
5443
|
+
return new SeamPaginator(this, request);
|
|
5444
|
+
}
|
|
5445
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
5446
|
+
const { headers } = this.client.defaults;
|
|
5447
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
5448
|
+
clientSessionToken
|
|
5449
|
+
});
|
|
5450
|
+
for (const key of Object.keys(authHeaders)) {
|
|
5451
|
+
if (headers[key] == null) {
|
|
5452
|
+
throw new Error(
|
|
5453
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
5454
|
+
);
|
|
5455
|
+
}
|
|
5456
|
+
}
|
|
5457
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
5458
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5459
|
+
await clientSessions.get();
|
|
5460
|
+
}
|
|
5461
|
+
delete(parameters, options = {}) {
|
|
5462
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5463
|
+
throw new Error(
|
|
5464
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5465
|
+
);
|
|
5466
|
+
}
|
|
5467
|
+
return new SeamHttpRequest(this, {
|
|
5468
|
+
pathname: "/seam/customer/v1/automations/delete",
|
|
5469
|
+
method: "POST",
|
|
5470
|
+
body: parameters,
|
|
5471
|
+
responseKey: void 0,
|
|
5472
|
+
options
|
|
5473
|
+
});
|
|
5474
|
+
}
|
|
5475
|
+
get(parameters, options = {}) {
|
|
5476
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5477
|
+
throw new Error(
|
|
5478
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5479
|
+
);
|
|
5480
|
+
}
|
|
5481
|
+
return new SeamHttpRequest(this, {
|
|
5482
|
+
pathname: "/seam/customer/v1/automations/get",
|
|
5483
|
+
method: "GET",
|
|
5484
|
+
params: parameters,
|
|
5485
|
+
responseKey: void 0,
|
|
5486
|
+
options
|
|
5487
|
+
});
|
|
5488
|
+
}
|
|
5489
|
+
update(parameters, options = {}) {
|
|
5490
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5491
|
+
throw new Error(
|
|
5492
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5493
|
+
);
|
|
5494
|
+
}
|
|
5495
|
+
return new SeamHttpRequest(this, {
|
|
5496
|
+
pathname: "/seam/customer/v1/automations/update",
|
|
5497
|
+
method: "PATCH",
|
|
5498
|
+
body: parameters,
|
|
5499
|
+
responseKey: void 0,
|
|
5500
|
+
options
|
|
5501
|
+
});
|
|
5502
|
+
}
|
|
5503
|
+
};
|
|
5504
|
+
_SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
|
|
5505
|
+
var SeamHttpSeamCustomerV1Automations = _SeamHttpSeamCustomerV1Automations;
|
|
5506
|
+
|
|
5265
5507
|
// src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
|
|
5266
5508
|
var _SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
|
|
5267
5509
|
constructor(apiKeyOrOptions = {}) {
|
|
@@ -5556,6 +5798,18 @@ var _SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
|
|
|
5556
5798
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5557
5799
|
await clientSessions.get();
|
|
5558
5800
|
}
|
|
5801
|
+
get automationRuns() {
|
|
5802
|
+
return SeamHttpSeamCustomerV1AutomationRuns.fromClient(
|
|
5803
|
+
this.client,
|
|
5804
|
+
this.defaults
|
|
5805
|
+
);
|
|
5806
|
+
}
|
|
5807
|
+
get automations() {
|
|
5808
|
+
return SeamHttpSeamCustomerV1Automations.fromClient(
|
|
5809
|
+
this.client,
|
|
5810
|
+
this.defaults
|
|
5811
|
+
);
|
|
5812
|
+
}
|
|
5559
5813
|
get portals() {
|
|
5560
5814
|
return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
|
|
5561
5815
|
}
|
|
@@ -8249,6 +8503,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8249
8503
|
return seam.delete(...args);
|
|
8250
8504
|
};
|
|
8251
8505
|
}
|
|
8506
|
+
get ["/access_methods/encode"]() {
|
|
8507
|
+
const { client, defaults } = this;
|
|
8508
|
+
return function accessMethodsEncode(...args) {
|
|
8509
|
+
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8510
|
+
return seam.encode(...args);
|
|
8511
|
+
};
|
|
8512
|
+
}
|
|
8252
8513
|
get ["/access_methods/get"]() {
|
|
8253
8514
|
const { client, defaults } = this;
|
|
8254
8515
|
return function accessMethodsGet(...args) {
|
|
@@ -8448,13 +8709,6 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8448
8709
|
return seam.list(...args);
|
|
8449
8710
|
};
|
|
8450
8711
|
}
|
|
8451
|
-
get ["/acs/encoders/encode_access_method"]() {
|
|
8452
|
-
const { client, defaults } = this;
|
|
8453
|
-
return function acsEncodersEncodeAccessMethod(...args) {
|
|
8454
|
-
const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
|
|
8455
|
-
return seam.encodeAccessMethod(...args);
|
|
8456
|
-
};
|
|
8457
|
-
}
|
|
8458
8712
|
get ["/acs/encoders/encode_credential"]() {
|
|
8459
8713
|
const { client, defaults } = this;
|
|
8460
8714
|
return function acsEncodersEncodeCredential(...args) {
|
|
@@ -9089,6 +9343,66 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9089
9343
|
return seam.createSandboxPhone(...args);
|
|
9090
9344
|
};
|
|
9091
9345
|
}
|
|
9346
|
+
get ["/seam/customer/v1/automation_runs/list"]() {
|
|
9347
|
+
const { client, defaults } = this;
|
|
9348
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9349
|
+
throw new Error(
|
|
9350
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
9351
|
+
);
|
|
9352
|
+
}
|
|
9353
|
+
return function seamCustomerV1AutomationRunsList(...args) {
|
|
9354
|
+
const seam = SeamHttpSeamCustomerV1AutomationRuns.fromClient(
|
|
9355
|
+
client,
|
|
9356
|
+
defaults
|
|
9357
|
+
);
|
|
9358
|
+
return seam.list(...args);
|
|
9359
|
+
};
|
|
9360
|
+
}
|
|
9361
|
+
get ["/seam/customer/v1/automations/delete"]() {
|
|
9362
|
+
const { client, defaults } = this;
|
|
9363
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9364
|
+
throw new Error(
|
|
9365
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
9366
|
+
);
|
|
9367
|
+
}
|
|
9368
|
+
return function seamCustomerV1AutomationsDelete(...args) {
|
|
9369
|
+
const seam = SeamHttpSeamCustomerV1Automations.fromClient(
|
|
9370
|
+
client,
|
|
9371
|
+
defaults
|
|
9372
|
+
);
|
|
9373
|
+
return seam.delete(...args);
|
|
9374
|
+
};
|
|
9375
|
+
}
|
|
9376
|
+
get ["/seam/customer/v1/automations/get"]() {
|
|
9377
|
+
const { client, defaults } = this;
|
|
9378
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9379
|
+
throw new Error(
|
|
9380
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
9381
|
+
);
|
|
9382
|
+
}
|
|
9383
|
+
return function seamCustomerV1AutomationsGet(...args) {
|
|
9384
|
+
const seam = SeamHttpSeamCustomerV1Automations.fromClient(
|
|
9385
|
+
client,
|
|
9386
|
+
defaults
|
|
9387
|
+
);
|
|
9388
|
+
return seam.get(...args);
|
|
9389
|
+
};
|
|
9390
|
+
}
|
|
9391
|
+
get ["/seam/customer/v1/automations/update"]() {
|
|
9392
|
+
const { client, defaults } = this;
|
|
9393
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
9394
|
+
throw new Error(
|
|
9395
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
9396
|
+
);
|
|
9397
|
+
}
|
|
9398
|
+
return function seamCustomerV1AutomationsUpdate(...args) {
|
|
9399
|
+
const seam = SeamHttpSeamCustomerV1Automations.fromClient(
|
|
9400
|
+
client,
|
|
9401
|
+
defaults
|
|
9402
|
+
);
|
|
9403
|
+
return seam.update(...args);
|
|
9404
|
+
};
|
|
9405
|
+
}
|
|
9092
9406
|
get ["/seam/customer/v1/portals/get"]() {
|
|
9093
9407
|
const { client, defaults } = this;
|
|
9094
9408
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -9977,6 +10291,8 @@ exports.SeamHttpPhones = SeamHttpPhones;
|
|
|
9977
10291
|
exports.SeamHttpPhonesSimulate = SeamHttpPhonesSimulate;
|
|
9978
10292
|
exports.SeamHttpRequest = SeamHttpRequest;
|
|
9979
10293
|
exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
|
|
10294
|
+
exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationRuns;
|
|
10295
|
+
exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
|
|
9980
10296
|
exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
|
|
9981
10297
|
exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
|
|
9982
10298
|
exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
|