@seamapi/types 1.775.0 → 1.777.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 +94 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +123 -0
- package/dist/index.cjs +94 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +106 -0
- package/lib/seam/connect/openapi.js +94 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +94 -0
- package/src/lib/seam/connect/route-types.ts +19 -0
package/dist/connect.d.cts
CHANGED
|
@@ -112244,6 +112244,96 @@ declare const _default: {
|
|
|
112244
112244
|
'x-undocumented': string;
|
|
112245
112245
|
};
|
|
112246
112246
|
};
|
|
112247
|
+
'/seam/console/v1/workspace/feature_flags/list': {
|
|
112248
|
+
get: {
|
|
112249
|
+
description: string;
|
|
112250
|
+
operationId: string;
|
|
112251
|
+
responses: {
|
|
112252
|
+
200: {
|
|
112253
|
+
content: {
|
|
112254
|
+
'application/json': {
|
|
112255
|
+
schema: {
|
|
112256
|
+
properties: {
|
|
112257
|
+
feature_flags: {
|
|
112258
|
+
additionalProperties: {
|
|
112259
|
+
type: string;
|
|
112260
|
+
};
|
|
112261
|
+
type: string;
|
|
112262
|
+
};
|
|
112263
|
+
ok: {
|
|
112264
|
+
type: string;
|
|
112265
|
+
};
|
|
112266
|
+
};
|
|
112267
|
+
required: string[];
|
|
112268
|
+
type: string;
|
|
112269
|
+
};
|
|
112270
|
+
};
|
|
112271
|
+
};
|
|
112272
|
+
description: string;
|
|
112273
|
+
};
|
|
112274
|
+
400: {
|
|
112275
|
+
description: string;
|
|
112276
|
+
};
|
|
112277
|
+
401: {
|
|
112278
|
+
description: string;
|
|
112279
|
+
};
|
|
112280
|
+
};
|
|
112281
|
+
security: {
|
|
112282
|
+
console_session_with_workspace: never[];
|
|
112283
|
+
}[];
|
|
112284
|
+
summary: string;
|
|
112285
|
+
tags: never[];
|
|
112286
|
+
'x-fern-sdk-group-name': string[];
|
|
112287
|
+
'x-fern-sdk-method-name': string;
|
|
112288
|
+
'x-fern-sdk-return-value': string;
|
|
112289
|
+
'x-response-key': string;
|
|
112290
|
+
'x-undocumented': string;
|
|
112291
|
+
};
|
|
112292
|
+
post: {
|
|
112293
|
+
description: string;
|
|
112294
|
+
operationId: string;
|
|
112295
|
+
responses: {
|
|
112296
|
+
200: {
|
|
112297
|
+
content: {
|
|
112298
|
+
'application/json': {
|
|
112299
|
+
schema: {
|
|
112300
|
+
properties: {
|
|
112301
|
+
feature_flags: {
|
|
112302
|
+
additionalProperties: {
|
|
112303
|
+
type: string;
|
|
112304
|
+
};
|
|
112305
|
+
type: string;
|
|
112306
|
+
};
|
|
112307
|
+
ok: {
|
|
112308
|
+
type: string;
|
|
112309
|
+
};
|
|
112310
|
+
};
|
|
112311
|
+
required: string[];
|
|
112312
|
+
type: string;
|
|
112313
|
+
};
|
|
112314
|
+
};
|
|
112315
|
+
};
|
|
112316
|
+
description: string;
|
|
112317
|
+
};
|
|
112318
|
+
400: {
|
|
112319
|
+
description: string;
|
|
112320
|
+
};
|
|
112321
|
+
401: {
|
|
112322
|
+
description: string;
|
|
112323
|
+
};
|
|
112324
|
+
};
|
|
112325
|
+
security: {
|
|
112326
|
+
console_session_with_workspace: never[];
|
|
112327
|
+
}[];
|
|
112328
|
+
summary: string;
|
|
112329
|
+
tags: never[];
|
|
112330
|
+
'x-fern-sdk-group-name': string[];
|
|
112331
|
+
'x-fern-sdk-method-name': string;
|
|
112332
|
+
'x-fern-sdk-return-value': string;
|
|
112333
|
+
'x-response-key': string;
|
|
112334
|
+
'x-undocumented': string;
|
|
112335
|
+
};
|
|
112336
|
+
};
|
|
112247
112337
|
'/seam/customer/v1/access_grants/list': {
|
|
112248
112338
|
get: {
|
|
112249
112339
|
description: string;
|
|
@@ -117883,6 +117973,14 @@ declare const _default: {
|
|
|
117883
117973
|
description: string;
|
|
117884
117974
|
type: string;
|
|
117885
117975
|
};
|
|
117976
|
+
feature_flags: {
|
|
117977
|
+
properties: {
|
|
117978
|
+
RESERVATION_UI_V2: {
|
|
117979
|
+
type: string;
|
|
117980
|
+
};
|
|
117981
|
+
};
|
|
117982
|
+
type: string;
|
|
117983
|
+
};
|
|
117886
117984
|
features: {
|
|
117887
117985
|
default: {
|
|
117888
117986
|
$ref: string;
|
|
@@ -118371,6 +118469,14 @@ declare const _default: {
|
|
|
118371
118469
|
description: string;
|
|
118372
118470
|
type: string;
|
|
118373
118471
|
};
|
|
118472
|
+
feature_flags: {
|
|
118473
|
+
properties: {
|
|
118474
|
+
RESERVATION_UI_V2: {
|
|
118475
|
+
type: string;
|
|
118476
|
+
};
|
|
118477
|
+
};
|
|
118478
|
+
type: string;
|
|
118479
|
+
};
|
|
118374
118480
|
features: {
|
|
118375
118481
|
default: {
|
|
118376
118482
|
$ref: string;
|
|
@@ -196128,6 +196234,20 @@ type Routes = {
|
|
|
196128
196234
|
};
|
|
196129
196235
|
maxDuration: undefined;
|
|
196130
196236
|
};
|
|
196237
|
+
'/seam/console/v1/workspace/feature_flags/list': {
|
|
196238
|
+
route: '/seam/console/v1/workspace/feature_flags/list';
|
|
196239
|
+
method: 'GET' | 'POST';
|
|
196240
|
+
queryParams: {};
|
|
196241
|
+
jsonBody: {};
|
|
196242
|
+
commonParams: {};
|
|
196243
|
+
formData: {};
|
|
196244
|
+
jsonResponse: {
|
|
196245
|
+
feature_flags: {
|
|
196246
|
+
[x: string]: boolean;
|
|
196247
|
+
};
|
|
196248
|
+
};
|
|
196249
|
+
maxDuration: undefined;
|
|
196250
|
+
};
|
|
196131
196251
|
'/seam/customer/v1/access_grants/list': {
|
|
196132
196252
|
route: '/seam/customer/v1/access_grants/list';
|
|
196133
196253
|
method: 'GET' | 'POST';
|
|
@@ -201460,6 +201580,9 @@ type Routes = {
|
|
|
201460
201580
|
} | undefined;
|
|
201461
201581
|
/** Business vertical of the customer portal. */
|
|
201462
201582
|
business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
201583
|
+
feature_flags?: {
|
|
201584
|
+
RESERVATION_UI_V2?: boolean | undefined;
|
|
201585
|
+
} | undefined;
|
|
201463
201586
|
};
|
|
201464
201587
|
};
|
|
201465
201588
|
maxDuration: undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -62710,6 +62710,88 @@ var openapi_default = {
|
|
|
62710
62710
|
"x-undocumented": "Internal endpoint for Console"
|
|
62711
62711
|
}
|
|
62712
62712
|
},
|
|
62713
|
+
"/seam/console/v1/workspace/feature_flags/list": {
|
|
62714
|
+
get: {
|
|
62715
|
+
description: "Lists workspace feature flags.",
|
|
62716
|
+
operationId: "seamConsoleV1WorkspaceFeatureFlagsListGet",
|
|
62717
|
+
responses: {
|
|
62718
|
+
200: {
|
|
62719
|
+
content: {
|
|
62720
|
+
"application/json": {
|
|
62721
|
+
schema: {
|
|
62722
|
+
properties: {
|
|
62723
|
+
feature_flags: {
|
|
62724
|
+
additionalProperties: { type: "boolean" },
|
|
62725
|
+
type: "object"
|
|
62726
|
+
},
|
|
62727
|
+
ok: { type: "boolean" }
|
|
62728
|
+
},
|
|
62729
|
+
required: ["feature_flags", "ok"],
|
|
62730
|
+
type: "object"
|
|
62731
|
+
}
|
|
62732
|
+
}
|
|
62733
|
+
},
|
|
62734
|
+
description: "OK"
|
|
62735
|
+
},
|
|
62736
|
+
400: { description: "Bad Request" },
|
|
62737
|
+
401: { description: "Unauthorized" }
|
|
62738
|
+
},
|
|
62739
|
+
security: [{ console_session_with_workspace: [] }],
|
|
62740
|
+
summary: "/seam/console/v1/workspace/feature_flags/list",
|
|
62741
|
+
tags: [],
|
|
62742
|
+
"x-fern-sdk-group-name": [
|
|
62743
|
+
"seam",
|
|
62744
|
+
"console",
|
|
62745
|
+
"v1",
|
|
62746
|
+
"workspace",
|
|
62747
|
+
"feature_flags"
|
|
62748
|
+
],
|
|
62749
|
+
"x-fern-sdk-method-name": "list",
|
|
62750
|
+
"x-fern-sdk-return-value": "feature_flags",
|
|
62751
|
+
"x-response-key": "feature_flags",
|
|
62752
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
62753
|
+
},
|
|
62754
|
+
post: {
|
|
62755
|
+
description: "Lists workspace feature flags.",
|
|
62756
|
+
operationId: "seamConsoleV1WorkspaceFeatureFlagsListPost",
|
|
62757
|
+
responses: {
|
|
62758
|
+
200: {
|
|
62759
|
+
content: {
|
|
62760
|
+
"application/json": {
|
|
62761
|
+
schema: {
|
|
62762
|
+
properties: {
|
|
62763
|
+
feature_flags: {
|
|
62764
|
+
additionalProperties: { type: "boolean" },
|
|
62765
|
+
type: "object"
|
|
62766
|
+
},
|
|
62767
|
+
ok: { type: "boolean" }
|
|
62768
|
+
},
|
|
62769
|
+
required: ["feature_flags", "ok"],
|
|
62770
|
+
type: "object"
|
|
62771
|
+
}
|
|
62772
|
+
}
|
|
62773
|
+
},
|
|
62774
|
+
description: "OK"
|
|
62775
|
+
},
|
|
62776
|
+
400: { description: "Bad Request" },
|
|
62777
|
+
401: { description: "Unauthorized" }
|
|
62778
|
+
},
|
|
62779
|
+
security: [{ console_session_with_workspace: [] }],
|
|
62780
|
+
summary: "/seam/console/v1/workspace/feature_flags/list",
|
|
62781
|
+
tags: [],
|
|
62782
|
+
"x-fern-sdk-group-name": [
|
|
62783
|
+
"seam",
|
|
62784
|
+
"console",
|
|
62785
|
+
"v1",
|
|
62786
|
+
"workspace",
|
|
62787
|
+
"feature_flags"
|
|
62788
|
+
],
|
|
62789
|
+
"x-fern-sdk-method-name": "list",
|
|
62790
|
+
"x-fern-sdk-return-value": "feature_flags",
|
|
62791
|
+
"x-response-key": "feature_flags",
|
|
62792
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
62793
|
+
}
|
|
62794
|
+
},
|
|
62713
62795
|
"/seam/customer/v1/access_grants/list": {
|
|
62714
62796
|
get: {
|
|
62715
62797
|
description: "Gets an Access Grant.",
|
|
@@ -68205,6 +68287,12 @@ var openapi_default = {
|
|
|
68205
68287
|
description: "Whether to exclude the option to select a locale within the portal UI.",
|
|
68206
68288
|
type: "boolean"
|
|
68207
68289
|
},
|
|
68290
|
+
feature_flags: {
|
|
68291
|
+
properties: {
|
|
68292
|
+
RESERVATION_UI_V2: { type: "boolean" }
|
|
68293
|
+
},
|
|
68294
|
+
type: "object"
|
|
68295
|
+
},
|
|
68208
68296
|
features: {
|
|
68209
68297
|
default: { $ref: "#/components/schemas/access_code" },
|
|
68210
68298
|
properties: {
|
|
@@ -68579,6 +68667,12 @@ var openapi_default = {
|
|
|
68579
68667
|
description: "Whether to exclude the option to select a locale within the portal UI.",
|
|
68580
68668
|
type: "boolean"
|
|
68581
68669
|
},
|
|
68670
|
+
feature_flags: {
|
|
68671
|
+
properties: {
|
|
68672
|
+
RESERVATION_UI_V2: { type: "boolean" }
|
|
68673
|
+
},
|
|
68674
|
+
type: "object"
|
|
68675
|
+
},
|
|
68582
68676
|
features: {
|
|
68583
68677
|
default: { $ref: "#/components/schemas/access_code" },
|
|
68584
68678
|
properties: {
|