@seamapi/http 1.118.0 → 1.120.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 +385 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +122 -4
- package/dist/index.cjs +389 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/console/v1/index.d.ts +2 -0
- package/lib/seam/connect/routes/seam/console/v1/index.js +2 -0
- package/lib/seam/connect/routes/seam/console/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js +6 -0
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.d.ts +73 -0
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js +140 -0
- package/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.js.map +1 -0
- package/lib/seam/connect/routes/seam/console/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/console/v1/v1.js +4 -0
- package/lib/seam/connect/routes/seam/console/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.d.ts +47 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js +116 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.js.map +1 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js +6 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.js +6 -0
- package/lib/seam/connect/routes/seam/console/v1/workspace/index.js.map +1 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +3 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +11 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +10 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +62 -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/console/v1/index.ts +2 -0
- package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts +350 -0
- package/src/lib/seam/connect/routes/seam/console/v1/v1.ts +8 -0
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts +259 -0
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/console/v1/workspace/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +28 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +168 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -5850,6 +5850,156 @@ var SeamHttpPhones = class _SeamHttpPhones {
|
|
|
5850
5850
|
}
|
|
5851
5851
|
};
|
|
5852
5852
|
|
|
5853
|
+
// src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts
|
|
5854
|
+
var SeamHttpSeamConsoleV1LynxMigration = class _SeamHttpSeamConsoleV1LynxMigration {
|
|
5855
|
+
client;
|
|
5856
|
+
defaults;
|
|
5857
|
+
ltsVersion = seamApiLtsVersion;
|
|
5858
|
+
static ltsVersion = seamApiLtsVersion;
|
|
5859
|
+
constructor(apiKeyOrOptions = {}) {
|
|
5860
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
5861
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
5862
|
+
throw new Error(
|
|
5863
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5864
|
+
);
|
|
5865
|
+
}
|
|
5866
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
5867
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
5868
|
+
}
|
|
5869
|
+
static fromClient(client, options = {}) {
|
|
5870
|
+
const constructorOptions = { ...options, client };
|
|
5871
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
5872
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
5873
|
+
}
|
|
5874
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
5875
|
+
}
|
|
5876
|
+
static fromApiKey(apiKey, options = {}) {
|
|
5877
|
+
const constructorOptions = { ...options, apiKey };
|
|
5878
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
5879
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
5880
|
+
}
|
|
5881
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
5882
|
+
}
|
|
5883
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
5884
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
5885
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
5886
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
5887
|
+
}
|
|
5888
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
5889
|
+
}
|
|
5890
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
5891
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
5892
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
5893
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
5894
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5895
|
+
"The client option cannot be used with SeamHttpSeamConsoleV1LynxMigration.fromPublishableKey"
|
|
5896
|
+
);
|
|
5897
|
+
}
|
|
5898
|
+
const client = createClient(clientOptions);
|
|
5899
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
5900
|
+
const { token } = await clientSessions.getOrCreate({
|
|
5901
|
+
user_identifier_key: userIdentifierKey
|
|
5902
|
+
});
|
|
5903
|
+
return _SeamHttpSeamConsoleV1LynxMigration.fromClientSessionToken(
|
|
5904
|
+
token,
|
|
5905
|
+
options
|
|
5906
|
+
);
|
|
5907
|
+
}
|
|
5908
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
5909
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
5910
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
5911
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5912
|
+
"Missing consoleSessionToken or workspaceId"
|
|
5913
|
+
);
|
|
5914
|
+
}
|
|
5915
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
5916
|
+
}
|
|
5917
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
5918
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
5919
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
5920
|
+
throw new SeamHttpInvalidOptionsError(
|
|
5921
|
+
"Missing personalAccessToken or workspaceId"
|
|
5922
|
+
);
|
|
5923
|
+
}
|
|
5924
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
5925
|
+
}
|
|
5926
|
+
createPaginator(request) {
|
|
5927
|
+
return new SeamPaginator(this, request);
|
|
5928
|
+
}
|
|
5929
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
5930
|
+
const { headers } = this.client.defaults;
|
|
5931
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
5932
|
+
clientSessionToken
|
|
5933
|
+
});
|
|
5934
|
+
for (const key of Object.keys(authHeaders)) {
|
|
5935
|
+
if (headers[key] == null) {
|
|
5936
|
+
throw new Error(
|
|
5937
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
5938
|
+
);
|
|
5939
|
+
}
|
|
5940
|
+
}
|
|
5941
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
5942
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
5943
|
+
await clientSessions.get();
|
|
5944
|
+
}
|
|
5945
|
+
getPropertyMigrationStatus(parameters, options = {}) {
|
|
5946
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5947
|
+
throw new Error(
|
|
5948
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5949
|
+
);
|
|
5950
|
+
}
|
|
5951
|
+
return new SeamHttpRequest(this, {
|
|
5952
|
+
pathname: "/seam/console/v1/lynx_migration/get_property_migration_status",
|
|
5953
|
+
method: "POST",
|
|
5954
|
+
body: parameters,
|
|
5955
|
+
responseKey: "lynx_migration_property_run",
|
|
5956
|
+
options
|
|
5957
|
+
});
|
|
5958
|
+
}
|
|
5959
|
+
getReservationMigrationStatus(parameters, options = {}) {
|
|
5960
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5961
|
+
throw new Error(
|
|
5962
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5963
|
+
);
|
|
5964
|
+
}
|
|
5965
|
+
return new SeamHttpRequest(this, {
|
|
5966
|
+
pathname: "/seam/console/v1/lynx_migration/get_reservation_migration_status",
|
|
5967
|
+
method: "POST",
|
|
5968
|
+
body: parameters,
|
|
5969
|
+
responseKey: "lynx_migration_reservation_run",
|
|
5970
|
+
options
|
|
5971
|
+
});
|
|
5972
|
+
}
|
|
5973
|
+
listPropertyReservations(parameters, options = {}) {
|
|
5974
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5975
|
+
throw new Error(
|
|
5976
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5977
|
+
);
|
|
5978
|
+
}
|
|
5979
|
+
return new SeamHttpRequest(this, {
|
|
5980
|
+
pathname: "/seam/console/v1/lynx_migration/list_property_reservations",
|
|
5981
|
+
method: "POST",
|
|
5982
|
+
body: parameters,
|
|
5983
|
+
responseKey: "lynx_migration_property_plan",
|
|
5984
|
+
options
|
|
5985
|
+
});
|
|
5986
|
+
}
|
|
5987
|
+
migrateProperty(parameters, options = {}) {
|
|
5988
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
5989
|
+
throw new Error(
|
|
5990
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
5991
|
+
);
|
|
5992
|
+
}
|
|
5993
|
+
return new SeamHttpRequest(this, {
|
|
5994
|
+
pathname: "/seam/console/v1/lynx_migration/migrate_property",
|
|
5995
|
+
method: "POST",
|
|
5996
|
+
body: parameters,
|
|
5997
|
+
responseKey: "lynx_migration_property_run",
|
|
5998
|
+
options
|
|
5999
|
+
});
|
|
6000
|
+
}
|
|
6001
|
+
};
|
|
6002
|
+
|
|
5853
6003
|
// src/lib/seam/connect/routes/seam/console/v1/sites/sites.ts
|
|
5854
6004
|
var SeamHttpSeamConsoleV1Sites = class _SeamHttpSeamConsoleV1Sites {
|
|
5855
6005
|
client;
|
|
@@ -6191,6 +6341,12 @@ var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
6191
6341
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6192
6342
|
await clientSessions.get();
|
|
6193
6343
|
}
|
|
6344
|
+
get lynxMigration() {
|
|
6345
|
+
return SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
6346
|
+
this.client,
|
|
6347
|
+
this.defaults
|
|
6348
|
+
);
|
|
6349
|
+
}
|
|
6194
6350
|
get sites() {
|
|
6195
6351
|
return SeamHttpSeamConsoleV1Sites.fromClient(this.client, this.defaults);
|
|
6196
6352
|
}
|
|
@@ -6213,6 +6369,128 @@ var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
6213
6369
|
}
|
|
6214
6370
|
};
|
|
6215
6371
|
|
|
6372
|
+
// src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts
|
|
6373
|
+
var SeamHttpSeamConsoleV1WorkspaceFeatureFlags = class _SeamHttpSeamConsoleV1WorkspaceFeatureFlags {
|
|
6374
|
+
client;
|
|
6375
|
+
defaults;
|
|
6376
|
+
ltsVersion = seamApiLtsVersion;
|
|
6377
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6378
|
+
constructor(apiKeyOrOptions = {}) {
|
|
6379
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
6380
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6381
|
+
throw new Error(
|
|
6382
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6383
|
+
);
|
|
6384
|
+
}
|
|
6385
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
6386
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6387
|
+
}
|
|
6388
|
+
static fromClient(client, options = {}) {
|
|
6389
|
+
const constructorOptions = { ...options, client };
|
|
6390
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
6391
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
6392
|
+
}
|
|
6393
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6394
|
+
}
|
|
6395
|
+
static fromApiKey(apiKey, options = {}) {
|
|
6396
|
+
const constructorOptions = { ...options, apiKey };
|
|
6397
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
6398
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
6399
|
+
}
|
|
6400
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6401
|
+
}
|
|
6402
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
6403
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
6404
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
6405
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
6406
|
+
}
|
|
6407
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6408
|
+
}
|
|
6409
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
6410
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
6411
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
6412
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
6413
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6414
|
+
"The client option cannot be used with SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromPublishableKey"
|
|
6415
|
+
);
|
|
6416
|
+
}
|
|
6417
|
+
const client = createClient(clientOptions);
|
|
6418
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
6419
|
+
const { token } = await clientSessions.getOrCreate({
|
|
6420
|
+
user_identifier_key: userIdentifierKey
|
|
6421
|
+
});
|
|
6422
|
+
return _SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClientSessionToken(
|
|
6423
|
+
token,
|
|
6424
|
+
options
|
|
6425
|
+
);
|
|
6426
|
+
}
|
|
6427
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
6428
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
6429
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
6430
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6431
|
+
"Missing consoleSessionToken or workspaceId"
|
|
6432
|
+
);
|
|
6433
|
+
}
|
|
6434
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6435
|
+
}
|
|
6436
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
6437
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
6438
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
6439
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6440
|
+
"Missing personalAccessToken or workspaceId"
|
|
6441
|
+
);
|
|
6442
|
+
}
|
|
6443
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6444
|
+
}
|
|
6445
|
+
createPaginator(request) {
|
|
6446
|
+
return new SeamPaginator(this, request);
|
|
6447
|
+
}
|
|
6448
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
6449
|
+
const { headers } = this.client.defaults;
|
|
6450
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
6451
|
+
clientSessionToken
|
|
6452
|
+
});
|
|
6453
|
+
for (const key of Object.keys(authHeaders)) {
|
|
6454
|
+
if (headers[key] == null) {
|
|
6455
|
+
throw new Error(
|
|
6456
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
6457
|
+
);
|
|
6458
|
+
}
|
|
6459
|
+
}
|
|
6460
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
6461
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6462
|
+
await clientSessions.get();
|
|
6463
|
+
}
|
|
6464
|
+
list(parameters, options = {}) {
|
|
6465
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6466
|
+
throw new Error(
|
|
6467
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6468
|
+
);
|
|
6469
|
+
}
|
|
6470
|
+
return new SeamHttpRequest(this, {
|
|
6471
|
+
pathname: "/seam/console/v1/workspace/feature_flags/list",
|
|
6472
|
+
method: "GET",
|
|
6473
|
+
params: parameters,
|
|
6474
|
+
responseKey: "feature_flags",
|
|
6475
|
+
options
|
|
6476
|
+
});
|
|
6477
|
+
}
|
|
6478
|
+
update(parameters, options = {}) {
|
|
6479
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6480
|
+
throw new Error(
|
|
6481
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6482
|
+
);
|
|
6483
|
+
}
|
|
6484
|
+
return new SeamHttpRequest(this, {
|
|
6485
|
+
pathname: "/seam/console/v1/workspace/feature_flags/update",
|
|
6486
|
+
method: "POST",
|
|
6487
|
+
body: parameters,
|
|
6488
|
+
responseKey: "feature_flag",
|
|
6489
|
+
options
|
|
6490
|
+
});
|
|
6491
|
+
}
|
|
6492
|
+
};
|
|
6493
|
+
|
|
6216
6494
|
// src/lib/seam/connect/routes/seam/console/console.ts
|
|
6217
6495
|
var SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
6218
6496
|
client;
|
|
@@ -12287,6 +12565,66 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12287
12565
|
return seam.getResourceLocator(...args);
|
|
12288
12566
|
};
|
|
12289
12567
|
}
|
|
12568
|
+
get "/seam/console/v1/lynx_migration/get_property_migration_status"() {
|
|
12569
|
+
const { client, defaults } = this;
|
|
12570
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12571
|
+
throw new Error(
|
|
12572
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12573
|
+
);
|
|
12574
|
+
}
|
|
12575
|
+
return function seamConsoleV1LynxMigrationGetPropertyMigrationStatus(...args) {
|
|
12576
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12577
|
+
client,
|
|
12578
|
+
defaults
|
|
12579
|
+
);
|
|
12580
|
+
return seam.getPropertyMigrationStatus(...args);
|
|
12581
|
+
};
|
|
12582
|
+
}
|
|
12583
|
+
get "/seam/console/v1/lynx_migration/get_reservation_migration_status"() {
|
|
12584
|
+
const { client, defaults } = this;
|
|
12585
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12586
|
+
throw new Error(
|
|
12587
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12588
|
+
);
|
|
12589
|
+
}
|
|
12590
|
+
return function seamConsoleV1LynxMigrationGetReservationMigrationStatus(...args) {
|
|
12591
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12592
|
+
client,
|
|
12593
|
+
defaults
|
|
12594
|
+
);
|
|
12595
|
+
return seam.getReservationMigrationStatus(...args);
|
|
12596
|
+
};
|
|
12597
|
+
}
|
|
12598
|
+
get "/seam/console/v1/lynx_migration/list_property_reservations"() {
|
|
12599
|
+
const { client, defaults } = this;
|
|
12600
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12601
|
+
throw new Error(
|
|
12602
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12603
|
+
);
|
|
12604
|
+
}
|
|
12605
|
+
return function seamConsoleV1LynxMigrationListPropertyReservations(...args) {
|
|
12606
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12607
|
+
client,
|
|
12608
|
+
defaults
|
|
12609
|
+
);
|
|
12610
|
+
return seam.listPropertyReservations(...args);
|
|
12611
|
+
};
|
|
12612
|
+
}
|
|
12613
|
+
get "/seam/console/v1/lynx_migration/migrate_property"() {
|
|
12614
|
+
const { client, defaults } = this;
|
|
12615
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12616
|
+
throw new Error(
|
|
12617
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12618
|
+
);
|
|
12619
|
+
}
|
|
12620
|
+
return function seamConsoleV1LynxMigrationMigrateProperty(...args) {
|
|
12621
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12622
|
+
client,
|
|
12623
|
+
defaults
|
|
12624
|
+
);
|
|
12625
|
+
return seam.migrateProperty(...args);
|
|
12626
|
+
};
|
|
12627
|
+
}
|
|
12290
12628
|
get "/seam/console/v1/sites/create"() {
|
|
12291
12629
|
const { client, defaults } = this;
|
|
12292
12630
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -12347,6 +12685,36 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12347
12685
|
return seam.get(...args);
|
|
12348
12686
|
};
|
|
12349
12687
|
}
|
|
12688
|
+
get "/seam/console/v1/workspace/feature_flags/list"() {
|
|
12689
|
+
const { client, defaults } = this;
|
|
12690
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12691
|
+
throw new Error(
|
|
12692
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12693
|
+
);
|
|
12694
|
+
}
|
|
12695
|
+
return function seamConsoleV1WorkspaceFeatureFlagsList(...args) {
|
|
12696
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
12697
|
+
client,
|
|
12698
|
+
defaults
|
|
12699
|
+
);
|
|
12700
|
+
return seam.list(...args);
|
|
12701
|
+
};
|
|
12702
|
+
}
|
|
12703
|
+
get "/seam/console/v1/workspace/feature_flags/update"() {
|
|
12704
|
+
const { client, defaults } = this;
|
|
12705
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12706
|
+
throw new Error(
|
|
12707
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12708
|
+
);
|
|
12709
|
+
}
|
|
12710
|
+
return function seamConsoleV1WorkspaceFeatureFlagsUpdate(...args) {
|
|
12711
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
12712
|
+
client,
|
|
12713
|
+
defaults
|
|
12714
|
+
);
|
|
12715
|
+
return seam.update(...args);
|
|
12716
|
+
};
|
|
12717
|
+
}
|
|
12350
12718
|
get "/seam/customer/v1/access_grants/list"() {
|
|
12351
12719
|
const { client, defaults } = this;
|
|
12352
12720
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -13574,6 +13942,21 @@ var SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspace
|
|
|
13574
13942
|
}
|
|
13575
13943
|
return new _SeamHttpEndpointsWithoutWorkspace(constructorOptions);
|
|
13576
13944
|
}
|
|
13945
|
+
get "/seam/console/v1/workspace/feature_flags/list"() {
|
|
13946
|
+
const { client, defaults } = this;
|
|
13947
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
13948
|
+
throw new Error(
|
|
13949
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
13950
|
+
);
|
|
13951
|
+
}
|
|
13952
|
+
return function seamConsoleV1WorkspaceFeatureFlagsList(...args) {
|
|
13953
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
13954
|
+
client,
|
|
13955
|
+
defaults
|
|
13956
|
+
);
|
|
13957
|
+
return seam.list(...args);
|
|
13958
|
+
};
|
|
13959
|
+
}
|
|
13577
13960
|
get "/seam/customer/v1/connectors/authorize"() {
|
|
13578
13961
|
const { client, defaults } = this;
|
|
13579
13962
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -13702,8 +14085,10 @@ exports.SeamHttpPhonesSimulate = SeamHttpPhonesSimulate;
|
|
|
13702
14085
|
exports.SeamHttpRequest = SeamHttpRequest;
|
|
13703
14086
|
exports.SeamHttpSeamConsole = SeamHttpSeamConsole;
|
|
13704
14087
|
exports.SeamHttpSeamConsoleV1 = SeamHttpSeamConsoleV1;
|
|
14088
|
+
exports.SeamHttpSeamConsoleV1LynxMigration = SeamHttpSeamConsoleV1LynxMigration;
|
|
13705
14089
|
exports.SeamHttpSeamConsoleV1Sites = SeamHttpSeamConsoleV1Sites;
|
|
13706
14090
|
exports.SeamHttpSeamConsoleV1Timelines = SeamHttpSeamConsoleV1Timelines;
|
|
14091
|
+
exports.SeamHttpSeamConsoleV1WorkspaceFeatureFlags = SeamHttpSeamConsoleV1WorkspaceFeatureFlags;
|
|
13707
14092
|
exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
|
|
13708
14093
|
exports.SeamHttpSeamCustomerV1AccessGrants = SeamHttpSeamCustomerV1AccessGrants;
|
|
13709
14094
|
exports.SeamHttpSeamCustomerV1AccessMethods = SeamHttpSeamCustomerV1AccessMethods;
|