Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-tender/types

Package Overview
Dependencies
Maintainers
2
Versions
398
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-tender/types - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

dist/cjs/types/api/deals.d.ts

6

dist/cjs/types/api/announcements.d.ts

@@ -1,2 +0,2 @@

import { DisplayPage } from '../global';
import { AuthType } from '../global';
export interface Announcement {

@@ -30,3 +30,3 @@ announcement_id: number;

duration_mobile: number;
page: DisplayPage;
page: AuthType;
show_arrows: boolean;

@@ -45,5 +45,5 @@ show_arrows_mobile: boolean;

entities: Announcements;
page: DisplayPage;
page: AuthType;
settings: AnnouncementSettings;
}
export declare type AnnouncementPages = Array<AnnouncementPage>;

@@ -1,2 +0,2 @@

import { DiscountType, DisplayPage, OrderType, ServiceType } from '../../global';
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global';
import { MenuItems } from '../menu';

@@ -17,3 +17,3 @@ import { OrderItemImage } from '../order';

amount: string;
auth_type: DisplayPage;
auth_type: AuthType;
dayparts: Array<DayPart>;

@@ -20,0 +20,0 @@ description: string;

@@ -136,1 +136,11 @@ import { RequestedAt } from '../datetimes';

export declare type SoldOut = number[];
export interface DiscountedItem {
id: number;
category_id: number;
name: string;
short_name: string;
}
export interface DiscountedItems {
items: Array<DiscountedItem>;
quantity: number;
}

@@ -39,2 +39,2 @@ export declare type Decimal = `${number}.${number}`;

export declare type PicklistOptions = PicklistOption[];
export declare type DisplayPage = 'GUEST' | 'ACCOUNT';
export declare type AuthType = 'GUEST' | 'ACCOUNT';

@@ -1,2 +0,2 @@

import { DisplayPage } from '../global';
import { AuthType } from '../global';
export interface Announcement {

@@ -30,3 +30,3 @@ announcement_id: number;

duration_mobile: number;
page: DisplayPage;
page: AuthType;
show_arrows: boolean;

@@ -45,5 +45,5 @@ show_arrows_mobile: boolean;

entities: Announcements;
page: DisplayPage;
page: AuthType;
settings: AnnouncementSettings;
}
export declare type AnnouncementPages = Array<AnnouncementPage>;

@@ -1,2 +0,2 @@

import { DiscountType, DisplayPage, OrderType, ServiceType } from '../../global';
import { DiscountType, AuthType, OrderType, ServiceType } from '../../global';
import { MenuItems } from '../menu';

@@ -17,3 +17,3 @@ import { OrderItemImage } from '../order';

amount: string;
auth_type: DisplayPage;
auth_type: AuthType;
dayparts: Array<DayPart>;

@@ -20,0 +20,0 @@ description: string;

@@ -136,1 +136,11 @@ import { RequestedAt } from '../datetimes';

export declare type SoldOut = number[];
export interface DiscountedItem {
id: number;
category_id: number;
name: string;
short_name: string;
}
export interface DiscountedItems {
items: Array<DiscountedItem>;
quantity: number;
}

@@ -39,2 +39,2 @@ export declare type Decimal = `${number}.${number}`;

export declare type PicklistOptions = PicklistOption[];
export declare type DisplayPage = 'GUEST' | 'ACCOUNT';
export declare type AuthType = 'GUEST' | 'ACCOUNT';
{
"name": "@open-tender/types",
"version": "0.0.11",
"version": "0.0.12",
"description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc