@vrplatform/api 1.3.1-stage.2502 → 1.3.1-stage.2503

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.
@@ -807,7 +807,8 @@ export interface paths {
807
807
  };
808
808
  /** @description Get flow configuration for a connection */
809
809
  get: operations["getFlowConnection"];
810
- put?: never;
810
+ /** @description Update flow status for a connection */
811
+ put: operations["setFlowStatus"];
811
812
  post?: never;
812
813
  delete?: never;
813
814
  options?: never;
@@ -13257,6 +13258,150 @@ export interface operations {
13257
13258
  connectionId: string;
13258
13259
  title: string;
13259
13260
  description: string | null;
13261
+ /** @enum {string} */
13262
+ status: "active" | "inactive";
13263
+ settings: {
13264
+ /** Format: uuid */
13265
+ id: string;
13266
+ /** Format: uuid */
13267
+ flowId: string;
13268
+ /** Format: uuid */
13269
+ connectionId: string;
13270
+ settingKey: string;
13271
+ title: string | null;
13272
+ description: string | null;
13273
+ type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
13274
+ filter: string | null;
13275
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
13276
+ value: {
13277
+ id: string | number;
13278
+ name: string;
13279
+ /**
13280
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
13281
+ * @enum {string}
13282
+ */
13283
+ type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
13284
+ };
13285
+ }[];
13286
+ };
13287
+ };
13288
+ };
13289
+ /** @description Bad request */
13290
+ 400: {
13291
+ headers: {
13292
+ [name: string]: unknown;
13293
+ };
13294
+ content: {
13295
+ "application/json": {
13296
+ code: string;
13297
+ message: string;
13298
+ issues?: {
13299
+ message: string;
13300
+ }[];
13301
+ context?: unknown;
13302
+ };
13303
+ };
13304
+ };
13305
+ /** @description Unauthorized */
13306
+ 401: {
13307
+ headers: {
13308
+ [name: string]: unknown;
13309
+ };
13310
+ content: {
13311
+ "application/json": {
13312
+ code: string;
13313
+ message: string;
13314
+ issues?: {
13315
+ message: string;
13316
+ }[];
13317
+ context?: unknown;
13318
+ };
13319
+ };
13320
+ };
13321
+ /** @description Forbidden */
13322
+ 403: {
13323
+ headers: {
13324
+ [name: string]: unknown;
13325
+ };
13326
+ content: {
13327
+ "application/json": {
13328
+ code: string;
13329
+ message: string;
13330
+ issues?: {
13331
+ message: string;
13332
+ }[];
13333
+ context?: unknown;
13334
+ };
13335
+ };
13336
+ };
13337
+ /** @description Not found */
13338
+ 404: {
13339
+ headers: {
13340
+ [name: string]: unknown;
13341
+ };
13342
+ content: {
13343
+ "application/json": {
13344
+ code: string;
13345
+ message: string;
13346
+ issues?: {
13347
+ message: string;
13348
+ }[];
13349
+ context?: unknown;
13350
+ };
13351
+ };
13352
+ };
13353
+ /** @description Internal server error */
13354
+ 500: {
13355
+ headers: {
13356
+ [name: string]: unknown;
13357
+ };
13358
+ content: {
13359
+ "application/json": {
13360
+ code: string;
13361
+ message: string;
13362
+ issues?: {
13363
+ message: string;
13364
+ }[];
13365
+ context?: unknown;
13366
+ };
13367
+ };
13368
+ };
13369
+ };
13370
+ };
13371
+ setFlowStatus: {
13372
+ parameters: {
13373
+ query?: never;
13374
+ header?: never;
13375
+ path: {
13376
+ id: string;
13377
+ connectionId: string;
13378
+ };
13379
+ cookie?: never;
13380
+ };
13381
+ requestBody?: {
13382
+ content: {
13383
+ "application/json": {
13384
+ /** @enum {string} */
13385
+ status: "active" | "inactive";
13386
+ };
13387
+ };
13388
+ };
13389
+ responses: {
13390
+ /** @description Successful response */
13391
+ 200: {
13392
+ headers: {
13393
+ [name: string]: unknown;
13394
+ };
13395
+ content: {
13396
+ "application/json": {
13397
+ /** Format: uuid */
13398
+ id: string;
13399
+ /** Format: uuid */
13400
+ connectionId: string;
13401
+ title: string;
13402
+ description: string | null;
13403
+ /** @enum {string} */
13404
+ status: "active" | "inactive";
13260
13405
  settings: {
13261
13406
  /** Format: uuid */
13262
13407
  id: string;