@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/index.cjs
CHANGED
|
@@ -103,8 +103,10 @@ __export(index_exports, {
|
|
|
103
103
|
SeamHttpRequest: () => SeamHttpRequest,
|
|
104
104
|
SeamHttpSeamConsole: () => SeamHttpSeamConsole,
|
|
105
105
|
SeamHttpSeamConsoleV1: () => SeamHttpSeamConsoleV1,
|
|
106
|
+
SeamHttpSeamConsoleV1LynxMigration: () => SeamHttpSeamConsoleV1LynxMigration,
|
|
106
107
|
SeamHttpSeamConsoleV1Sites: () => SeamHttpSeamConsoleV1Sites,
|
|
107
108
|
SeamHttpSeamConsoleV1Timelines: () => SeamHttpSeamConsoleV1Timelines,
|
|
109
|
+
SeamHttpSeamConsoleV1WorkspaceFeatureFlags: () => SeamHttpSeamConsoleV1WorkspaceFeatureFlags,
|
|
108
110
|
SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
|
|
109
111
|
SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
|
|
110
112
|
SeamHttpSeamCustomerV1AccessMethods: () => SeamHttpSeamCustomerV1AccessMethods,
|
|
@@ -223,8 +225,10 @@ __export(connect_exports, {
|
|
|
223
225
|
SeamHttpRequest: () => SeamHttpRequest,
|
|
224
226
|
SeamHttpSeamConsole: () => SeamHttpSeamConsole,
|
|
225
227
|
SeamHttpSeamConsoleV1: () => SeamHttpSeamConsoleV1,
|
|
228
|
+
SeamHttpSeamConsoleV1LynxMigration: () => SeamHttpSeamConsoleV1LynxMigration,
|
|
226
229
|
SeamHttpSeamConsoleV1Sites: () => SeamHttpSeamConsoleV1Sites,
|
|
227
230
|
SeamHttpSeamConsoleV1Timelines: () => SeamHttpSeamConsoleV1Timelines,
|
|
231
|
+
SeamHttpSeamConsoleV1WorkspaceFeatureFlags: () => SeamHttpSeamConsoleV1WorkspaceFeatureFlags,
|
|
228
232
|
SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
|
|
229
233
|
SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
|
|
230
234
|
SeamHttpSeamCustomerV1AccessMethods: () => SeamHttpSeamCustomerV1AccessMethods,
|
|
@@ -6127,6 +6131,156 @@ var SeamHttpPhones = class _SeamHttpPhones {
|
|
|
6127
6131
|
}
|
|
6128
6132
|
};
|
|
6129
6133
|
|
|
6134
|
+
// src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts
|
|
6135
|
+
var SeamHttpSeamConsoleV1LynxMigration = class _SeamHttpSeamConsoleV1LynxMigration {
|
|
6136
|
+
client;
|
|
6137
|
+
defaults;
|
|
6138
|
+
ltsVersion = seamApiLtsVersion;
|
|
6139
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6140
|
+
constructor(apiKeyOrOptions = {}) {
|
|
6141
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
6142
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6143
|
+
throw new Error(
|
|
6144
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6145
|
+
);
|
|
6146
|
+
}
|
|
6147
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
6148
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6149
|
+
}
|
|
6150
|
+
static fromClient(client, options = {}) {
|
|
6151
|
+
const constructorOptions = { ...options, client };
|
|
6152
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
6153
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
6154
|
+
}
|
|
6155
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
6156
|
+
}
|
|
6157
|
+
static fromApiKey(apiKey, options = {}) {
|
|
6158
|
+
const constructorOptions = { ...options, apiKey };
|
|
6159
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
6160
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
6161
|
+
}
|
|
6162
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
6163
|
+
}
|
|
6164
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
6165
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
6166
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
6167
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
6168
|
+
}
|
|
6169
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
6170
|
+
}
|
|
6171
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
6172
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
6173
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
6174
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
6175
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6176
|
+
"The client option cannot be used with SeamHttpSeamConsoleV1LynxMigration.fromPublishableKey"
|
|
6177
|
+
);
|
|
6178
|
+
}
|
|
6179
|
+
const client = createClient(clientOptions);
|
|
6180
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
6181
|
+
const { token } = await clientSessions.getOrCreate({
|
|
6182
|
+
user_identifier_key: userIdentifierKey
|
|
6183
|
+
});
|
|
6184
|
+
return _SeamHttpSeamConsoleV1LynxMigration.fromClientSessionToken(
|
|
6185
|
+
token,
|
|
6186
|
+
options
|
|
6187
|
+
);
|
|
6188
|
+
}
|
|
6189
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
6190
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
6191
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
6192
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6193
|
+
"Missing consoleSessionToken or workspaceId"
|
|
6194
|
+
);
|
|
6195
|
+
}
|
|
6196
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
6197
|
+
}
|
|
6198
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
6199
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
6200
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
6201
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6202
|
+
"Missing personalAccessToken or workspaceId"
|
|
6203
|
+
);
|
|
6204
|
+
}
|
|
6205
|
+
return new _SeamHttpSeamConsoleV1LynxMigration(constructorOptions);
|
|
6206
|
+
}
|
|
6207
|
+
createPaginator(request) {
|
|
6208
|
+
return new SeamPaginator(this, request);
|
|
6209
|
+
}
|
|
6210
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
6211
|
+
const { headers } = this.client.defaults;
|
|
6212
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
6213
|
+
clientSessionToken
|
|
6214
|
+
});
|
|
6215
|
+
for (const key of Object.keys(authHeaders)) {
|
|
6216
|
+
if (headers[key] == null) {
|
|
6217
|
+
throw new Error(
|
|
6218
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
6219
|
+
);
|
|
6220
|
+
}
|
|
6221
|
+
}
|
|
6222
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
6223
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6224
|
+
await clientSessions.get();
|
|
6225
|
+
}
|
|
6226
|
+
getPropertyMigrationStatus(parameters, options = {}) {
|
|
6227
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6228
|
+
throw new Error(
|
|
6229
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6230
|
+
);
|
|
6231
|
+
}
|
|
6232
|
+
return new SeamHttpRequest(this, {
|
|
6233
|
+
pathname: "/seam/console/v1/lynx_migration/get_property_migration_status",
|
|
6234
|
+
method: "POST",
|
|
6235
|
+
body: parameters,
|
|
6236
|
+
responseKey: "lynx_migration_property_run",
|
|
6237
|
+
options
|
|
6238
|
+
});
|
|
6239
|
+
}
|
|
6240
|
+
getReservationMigrationStatus(parameters, options = {}) {
|
|
6241
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6242
|
+
throw new Error(
|
|
6243
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6244
|
+
);
|
|
6245
|
+
}
|
|
6246
|
+
return new SeamHttpRequest(this, {
|
|
6247
|
+
pathname: "/seam/console/v1/lynx_migration/get_reservation_migration_status",
|
|
6248
|
+
method: "POST",
|
|
6249
|
+
body: parameters,
|
|
6250
|
+
responseKey: "lynx_migration_reservation_run",
|
|
6251
|
+
options
|
|
6252
|
+
});
|
|
6253
|
+
}
|
|
6254
|
+
listPropertyReservations(parameters, options = {}) {
|
|
6255
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6256
|
+
throw new Error(
|
|
6257
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6258
|
+
);
|
|
6259
|
+
}
|
|
6260
|
+
return new SeamHttpRequest(this, {
|
|
6261
|
+
pathname: "/seam/console/v1/lynx_migration/list_property_reservations",
|
|
6262
|
+
method: "POST",
|
|
6263
|
+
body: parameters,
|
|
6264
|
+
responseKey: "lynx_migration_property_plan",
|
|
6265
|
+
options
|
|
6266
|
+
});
|
|
6267
|
+
}
|
|
6268
|
+
migrateProperty(parameters, options = {}) {
|
|
6269
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6270
|
+
throw new Error(
|
|
6271
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6272
|
+
);
|
|
6273
|
+
}
|
|
6274
|
+
return new SeamHttpRequest(this, {
|
|
6275
|
+
pathname: "/seam/console/v1/lynx_migration/migrate_property",
|
|
6276
|
+
method: "POST",
|
|
6277
|
+
body: parameters,
|
|
6278
|
+
responseKey: "lynx_migration_property_run",
|
|
6279
|
+
options
|
|
6280
|
+
});
|
|
6281
|
+
}
|
|
6282
|
+
};
|
|
6283
|
+
|
|
6130
6284
|
// src/lib/seam/connect/routes/seam/console/v1/sites/sites.ts
|
|
6131
6285
|
var SeamHttpSeamConsoleV1Sites = class _SeamHttpSeamConsoleV1Sites {
|
|
6132
6286
|
client;
|
|
@@ -6468,6 +6622,12 @@ var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
6468
6622
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6469
6623
|
await clientSessions.get();
|
|
6470
6624
|
}
|
|
6625
|
+
get lynxMigration() {
|
|
6626
|
+
return SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
6627
|
+
this.client,
|
|
6628
|
+
this.defaults
|
|
6629
|
+
);
|
|
6630
|
+
}
|
|
6471
6631
|
get sites() {
|
|
6472
6632
|
return SeamHttpSeamConsoleV1Sites.fromClient(this.client, this.defaults);
|
|
6473
6633
|
}
|
|
@@ -6490,6 +6650,128 @@ var SeamHttpSeamConsoleV1 = class _SeamHttpSeamConsoleV1 {
|
|
|
6490
6650
|
}
|
|
6491
6651
|
};
|
|
6492
6652
|
|
|
6653
|
+
// src/lib/seam/connect/routes/seam/console/v1/workspace/feature-flags/feature-flags.ts
|
|
6654
|
+
var SeamHttpSeamConsoleV1WorkspaceFeatureFlags = class _SeamHttpSeamConsoleV1WorkspaceFeatureFlags {
|
|
6655
|
+
client;
|
|
6656
|
+
defaults;
|
|
6657
|
+
ltsVersion = seamApiLtsVersion;
|
|
6658
|
+
static ltsVersion = seamApiLtsVersion;
|
|
6659
|
+
constructor(apiKeyOrOptions = {}) {
|
|
6660
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
6661
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
6662
|
+
throw new Error(
|
|
6663
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6664
|
+
);
|
|
6665
|
+
}
|
|
6666
|
+
this.client = "client" in options ? options.client : createClient(options);
|
|
6667
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
6668
|
+
}
|
|
6669
|
+
static fromClient(client, options = {}) {
|
|
6670
|
+
const constructorOptions = { ...options, client };
|
|
6671
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
6672
|
+
throw new SeamHttpInvalidOptionsError("Missing client");
|
|
6673
|
+
}
|
|
6674
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6675
|
+
}
|
|
6676
|
+
static fromApiKey(apiKey, options = {}) {
|
|
6677
|
+
const constructorOptions = { ...options, apiKey };
|
|
6678
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
6679
|
+
throw new SeamHttpInvalidOptionsError("Missing apiKey");
|
|
6680
|
+
}
|
|
6681
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6682
|
+
}
|
|
6683
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
6684
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
6685
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
6686
|
+
throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
|
|
6687
|
+
}
|
|
6688
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6689
|
+
}
|
|
6690
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
6691
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
6692
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
6693
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
6694
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6695
|
+
"The client option cannot be used with SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromPublishableKey"
|
|
6696
|
+
);
|
|
6697
|
+
}
|
|
6698
|
+
const client = createClient(clientOptions);
|
|
6699
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
6700
|
+
const { token } = await clientSessions.getOrCreate({
|
|
6701
|
+
user_identifier_key: userIdentifierKey
|
|
6702
|
+
});
|
|
6703
|
+
return _SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClientSessionToken(
|
|
6704
|
+
token,
|
|
6705
|
+
options
|
|
6706
|
+
);
|
|
6707
|
+
}
|
|
6708
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
6709
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
6710
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
6711
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6712
|
+
"Missing consoleSessionToken or workspaceId"
|
|
6713
|
+
);
|
|
6714
|
+
}
|
|
6715
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6716
|
+
}
|
|
6717
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
6718
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
6719
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
6720
|
+
throw new SeamHttpInvalidOptionsError(
|
|
6721
|
+
"Missing personalAccessToken or workspaceId"
|
|
6722
|
+
);
|
|
6723
|
+
}
|
|
6724
|
+
return new _SeamHttpSeamConsoleV1WorkspaceFeatureFlags(constructorOptions);
|
|
6725
|
+
}
|
|
6726
|
+
createPaginator(request) {
|
|
6727
|
+
return new SeamPaginator(this, request);
|
|
6728
|
+
}
|
|
6729
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
6730
|
+
const { headers } = this.client.defaults;
|
|
6731
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
6732
|
+
clientSessionToken
|
|
6733
|
+
});
|
|
6734
|
+
for (const key of Object.keys(authHeaders)) {
|
|
6735
|
+
if (headers[key] == null) {
|
|
6736
|
+
throw new Error(
|
|
6737
|
+
"Cannot update a clientSessionToken on a client created without a clientSessionToken"
|
|
6738
|
+
);
|
|
6739
|
+
}
|
|
6740
|
+
}
|
|
6741
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
6742
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
6743
|
+
await clientSessions.get();
|
|
6744
|
+
}
|
|
6745
|
+
list(parameters, options = {}) {
|
|
6746
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6747
|
+
throw new Error(
|
|
6748
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6749
|
+
);
|
|
6750
|
+
}
|
|
6751
|
+
return new SeamHttpRequest(this, {
|
|
6752
|
+
pathname: "/seam/console/v1/workspace/feature_flags/list",
|
|
6753
|
+
method: "GET",
|
|
6754
|
+
params: parameters,
|
|
6755
|
+
responseKey: "feature_flags",
|
|
6756
|
+
options
|
|
6757
|
+
});
|
|
6758
|
+
}
|
|
6759
|
+
update(parameters, options = {}) {
|
|
6760
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
6761
|
+
throw new Error(
|
|
6762
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
6763
|
+
);
|
|
6764
|
+
}
|
|
6765
|
+
return new SeamHttpRequest(this, {
|
|
6766
|
+
pathname: "/seam/console/v1/workspace/feature_flags/update",
|
|
6767
|
+
method: "POST",
|
|
6768
|
+
body: parameters,
|
|
6769
|
+
responseKey: "feature_flag",
|
|
6770
|
+
options
|
|
6771
|
+
});
|
|
6772
|
+
}
|
|
6773
|
+
};
|
|
6774
|
+
|
|
6493
6775
|
// src/lib/seam/connect/routes/seam/console/console.ts
|
|
6494
6776
|
var SeamHttpSeamConsole = class _SeamHttpSeamConsole {
|
|
6495
6777
|
client;
|
|
@@ -12564,6 +12846,66 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12564
12846
|
return seam.getResourceLocator(...args);
|
|
12565
12847
|
};
|
|
12566
12848
|
}
|
|
12849
|
+
get "/seam/console/v1/lynx_migration/get_property_migration_status"() {
|
|
12850
|
+
const { client, defaults } = this;
|
|
12851
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12852
|
+
throw new Error(
|
|
12853
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12854
|
+
);
|
|
12855
|
+
}
|
|
12856
|
+
return function seamConsoleV1LynxMigrationGetPropertyMigrationStatus(...args) {
|
|
12857
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12858
|
+
client,
|
|
12859
|
+
defaults
|
|
12860
|
+
);
|
|
12861
|
+
return seam.getPropertyMigrationStatus(...args);
|
|
12862
|
+
};
|
|
12863
|
+
}
|
|
12864
|
+
get "/seam/console/v1/lynx_migration/get_reservation_migration_status"() {
|
|
12865
|
+
const { client, defaults } = this;
|
|
12866
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12867
|
+
throw new Error(
|
|
12868
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12869
|
+
);
|
|
12870
|
+
}
|
|
12871
|
+
return function seamConsoleV1LynxMigrationGetReservationMigrationStatus(...args) {
|
|
12872
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12873
|
+
client,
|
|
12874
|
+
defaults
|
|
12875
|
+
);
|
|
12876
|
+
return seam.getReservationMigrationStatus(...args);
|
|
12877
|
+
};
|
|
12878
|
+
}
|
|
12879
|
+
get "/seam/console/v1/lynx_migration/list_property_reservations"() {
|
|
12880
|
+
const { client, defaults } = this;
|
|
12881
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12882
|
+
throw new Error(
|
|
12883
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12884
|
+
);
|
|
12885
|
+
}
|
|
12886
|
+
return function seamConsoleV1LynxMigrationListPropertyReservations(...args) {
|
|
12887
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12888
|
+
client,
|
|
12889
|
+
defaults
|
|
12890
|
+
);
|
|
12891
|
+
return seam.listPropertyReservations(...args);
|
|
12892
|
+
};
|
|
12893
|
+
}
|
|
12894
|
+
get "/seam/console/v1/lynx_migration/migrate_property"() {
|
|
12895
|
+
const { client, defaults } = this;
|
|
12896
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12897
|
+
throw new Error(
|
|
12898
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12899
|
+
);
|
|
12900
|
+
}
|
|
12901
|
+
return function seamConsoleV1LynxMigrationMigrateProperty(...args) {
|
|
12902
|
+
const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient(
|
|
12903
|
+
client,
|
|
12904
|
+
defaults
|
|
12905
|
+
);
|
|
12906
|
+
return seam.migrateProperty(...args);
|
|
12907
|
+
};
|
|
12908
|
+
}
|
|
12567
12909
|
get "/seam/console/v1/sites/create"() {
|
|
12568
12910
|
const { client, defaults } = this;
|
|
12569
12911
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -12624,6 +12966,36 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12624
12966
|
return seam.get(...args);
|
|
12625
12967
|
};
|
|
12626
12968
|
}
|
|
12969
|
+
get "/seam/console/v1/workspace/feature_flags/list"() {
|
|
12970
|
+
const { client, defaults } = this;
|
|
12971
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12972
|
+
throw new Error(
|
|
12973
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12974
|
+
);
|
|
12975
|
+
}
|
|
12976
|
+
return function seamConsoleV1WorkspaceFeatureFlagsList(...args) {
|
|
12977
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
12978
|
+
client,
|
|
12979
|
+
defaults
|
|
12980
|
+
);
|
|
12981
|
+
return seam.list(...args);
|
|
12982
|
+
};
|
|
12983
|
+
}
|
|
12984
|
+
get "/seam/console/v1/workspace/feature_flags/update"() {
|
|
12985
|
+
const { client, defaults } = this;
|
|
12986
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12987
|
+
throw new Error(
|
|
12988
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12989
|
+
);
|
|
12990
|
+
}
|
|
12991
|
+
return function seamConsoleV1WorkspaceFeatureFlagsUpdate(...args) {
|
|
12992
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
12993
|
+
client,
|
|
12994
|
+
defaults
|
|
12995
|
+
);
|
|
12996
|
+
return seam.update(...args);
|
|
12997
|
+
};
|
|
12998
|
+
}
|
|
12627
12999
|
get "/seam/customer/v1/access_grants/list"() {
|
|
12628
13000
|
const { client, defaults } = this;
|
|
12629
13001
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -13851,6 +14223,21 @@ var SeamHttpEndpointsWithoutWorkspace = class _SeamHttpEndpointsWithoutWorkspace
|
|
|
13851
14223
|
}
|
|
13852
14224
|
return new _SeamHttpEndpointsWithoutWorkspace(constructorOptions);
|
|
13853
14225
|
}
|
|
14226
|
+
get "/seam/console/v1/workspace/feature_flags/list"() {
|
|
14227
|
+
const { client, defaults } = this;
|
|
14228
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
14229
|
+
throw new Error(
|
|
14230
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
14231
|
+
);
|
|
14232
|
+
}
|
|
14233
|
+
return function seamConsoleV1WorkspaceFeatureFlagsList(...args) {
|
|
14234
|
+
const seam = SeamHttpSeamConsoleV1WorkspaceFeatureFlags.fromClient(
|
|
14235
|
+
client,
|
|
14236
|
+
defaults
|
|
14237
|
+
);
|
|
14238
|
+
return seam.list(...args);
|
|
14239
|
+
};
|
|
14240
|
+
}
|
|
13854
14241
|
get "/seam/customer/v1/connectors/authorize"() {
|
|
13855
14242
|
const { client, defaults } = this;
|
|
13856
14243
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -13985,8 +14372,10 @@ exports.SeamHttpPhonesSimulate = SeamHttpPhonesSimulate;
|
|
|
13985
14372
|
exports.SeamHttpRequest = SeamHttpRequest;
|
|
13986
14373
|
exports.SeamHttpSeamConsole = SeamHttpSeamConsole;
|
|
13987
14374
|
exports.SeamHttpSeamConsoleV1 = SeamHttpSeamConsoleV1;
|
|
14375
|
+
exports.SeamHttpSeamConsoleV1LynxMigration = SeamHttpSeamConsoleV1LynxMigration;
|
|
13988
14376
|
exports.SeamHttpSeamConsoleV1Sites = SeamHttpSeamConsoleV1Sites;
|
|
13989
14377
|
exports.SeamHttpSeamConsoleV1Timelines = SeamHttpSeamConsoleV1Timelines;
|
|
14378
|
+
exports.SeamHttpSeamConsoleV1WorkspaceFeatureFlags = SeamHttpSeamConsoleV1WorkspaceFeatureFlags;
|
|
13990
14379
|
exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
|
|
13991
14380
|
exports.SeamHttpSeamCustomerV1AccessGrants = SeamHttpSeamCustomerV1AccessGrants;
|
|
13992
14381
|
exports.SeamHttpSeamCustomerV1AccessMethods = SeamHttpSeamCustomerV1AccessMethods;
|