@vivocha/public-types
Advanced tools
Comparing version 1.0.0 to 2.0.0-beta.2
import { ActionMessage, AttachmentMessage, IsWritingMessage, LocationMessage, PostbackMessage, TextMessage } from './message'; | ||
export declare type BotMessageBody = TextMessage | PostbackMessage | AttachmentMessage | ActionMessage | IsWritingMessage | LocationMessage; | ||
export type BotMessageBody = TextMessage | PostbackMessage | AttachmentMessage | ActionMessage | IsWritingMessage | LocationMessage; | ||
export interface EnvironmentGeoIP { | ||
@@ -4,0 +4,0 @@ country_code?: string; |
@@ -84,3 +84,3 @@ import { ChannelAPITypes } from './channel'; | ||
} | ||
export declare type ContactDataCollectionField = BaseContactDataCollectionField | CheckboxContactDataCollectionField | ExtendedContactDataCollectionField; | ||
export type ContactDataCollectionField = BaseContactDataCollectionField | CheckboxContactDataCollectionField | ExtendedContactDataCollectionField; | ||
export interface ContactDataCollectionForm { | ||
@@ -91,3 +91,3 @@ name: string; | ||
} | ||
export declare type ContactDataCollection = ContactDataCollectionForm[]; | ||
export type ContactDataCollection = ContactDataCollectionForm[]; | ||
export interface ContactMediaSpec { | ||
@@ -94,0 +94,0 @@ tx: 'required' | 'optional' | 'off'; |
@@ -82,4 +82,4 @@ export interface AbstractField { | ||
} | ||
export declare type DataCollectionField = StringField | SelectField | NumberField | RatingField | BooleanField; | ||
export declare type ExtendedDataCollectionField = BreakMetaField | MessageMetaField | SectionMetaField | DataCollectionField; | ||
export type DataCollectionField = StringField | SelectField | NumberField | RatingField | BooleanField; | ||
export type ExtendedDataCollectionField = BreakMetaField | MessageMetaField | SectionMetaField | DataCollectionField; | ||
export interface DataCollection { | ||
@@ -86,0 +86,0 @@ id: string; |
import { OpenAPIV3 } from 'openapi-police'; | ||
export declare type ExtensionType = 'bot.agent' | 'bot.filter' | 'webhook' | 'extrouter' | 'mediahook' | 'channel' | 'asset_manager' | 'appointments_scheduler'; | ||
export declare type ExtensionIcon = string | { | ||
export type ExtensionType = 'bot.agent' | 'bot.filter' | 'webhook' | 'extrouter' | 'mediahook' | 'channel' | 'asset_manager' | 'appointments_scheduler'; | ||
export type ExtensionIcon = string | { | ||
default?: string; | ||
@@ -5,0 +5,0 @@ light?: string; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -10,3 +14,3 @@ if (k2 === undefined) k2 = k; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +17,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -160,4 +160,4 @@ import { Encryptable } from './encryptable'; | ||
} | ||
export declare type Message = TextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage; | ||
export declare type MessageExt = Message | JoinRawMessage | LeaveRawMessage | TransferRawMessage | DataRawMessage | PingRawMessage | EventRawMessage; | ||
export type Message = TextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage; | ||
export type MessageExt = Message | JoinRawMessage | LeaveRawMessage | TransferRawMessage | DataRawMessage | PingRawMessage | EventRawMessage; | ||
export interface GenericEvent { | ||
@@ -249,2 +249,2 @@ ts: Date; | ||
} | ||
export declare type Event = MessageEvent | NewEvent | JoinedEvent | LeftEvent | ClearedEvent | TransferredEvent | DeclinedEvent | SyncedEvent | AssignedEvent | DequeuedEvent | NewIdEvent; | ||
export type Event = MessageEvent | NewEvent | JoinedEvent | LeftEvent | ClearedEvent | TransferredEvent | DeclinedEvent | SyncedEvent | AssignedEvent | DequeuedEvent | NewIdEvent; |
{ | ||
"name": "@vivocha/public-types", | ||
"version": "1.0.0", | ||
"version": "2.0.0-beta.2", | ||
"description": "Vivocha public types", | ||
@@ -20,8 +20,8 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"openapi-police": "^1.1.5" | ||
"openapi-police": "^4.0.2" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^3.4.5" | ||
"typescript": "^5.2.2" | ||
}, | ||
"gitHead": "5cbe4030bf412596943e5fdda3ab90bc7c1f2261" | ||
"gitHead": "7b89c0d8964c24f43a18ad395fb805dc002d4226" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
30198
993
2
+ Addedjsonpolice@11.0.2(transitive)
+ Addedjsonref@8.0.8(transitive)
+ Addedopenapi-police@4.0.2(transitive)
- Removedjsonpolice@8.2.2(transitive)
- Removedjsonref@6.0.3(transitive)
- Removedopenapi-police@1.1.6(transitive)
Updatedopenapi-police@^4.0.2