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