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

@aptly-as/types

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aptly-as/types - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

1

enums/index.d.ts

@@ -139,2 +139,3 @@ export * from './document.js';

OrderPay = "order-pay",
OrderPayFailed = "order-pay-failed",
OrderPayed = "order-payed",

@@ -141,0 +142,0 @@ OrderReceipt = "order-receipt",

@@ -159,2 +159,3 @@ export * from './document.js';

AptlyEmailType["OrderPay"] = "order-pay";
AptlyEmailType["OrderPayFailed"] = "order-pay-failed";
AptlyEmailType["OrderPayed"] = "order-payed";

@@ -161,0 +162,0 @@ AptlyEmailType["OrderReceipt"] = "order-receipt";

27

models/order.d.ts

@@ -14,2 +14,3 @@ import { AptlyOrderStatus } from '../enums/index.js';

Pending = "PENDING",
OnHold = "ON_HOLD",
Authorized = "AUTHORIZED",

@@ -43,12 +44,16 @@ Captured = "CAPTURED"

};
paymentSession?: AptlyOrderPaymentSessionSchema<DATE> | null;
paymentSession?: AptlyOrderPaymentSessionSchema<ID, DATE> | null;
payment?: ID | AptlyPaymentSchema<ID, DATE>;
createdBy?: ID | AptlyUserSchema<ID, DATE>;
createdByAdmin?: boolean;
created: DATE;
}
export type AptlyOrderPaymentSession = AptlyOrderPaymentSessionSchema<string>;
export interface AptlyOrderPaymentSessionSchema<DATE> {
status: AptlyOrderPaymentStatus;
url: string;
id: string;
at: DATE | null;
export type AptlyOrderPaymentSession = AptlyOrderPaymentSessionSchema<string, string>;
export interface AptlyOrderPaymentSessionSchema<ID, DATE> {
status?: AptlyOrderPaymentStatus;
url?: string;
id?: string;
at?: DATE | null;
user?: ID | null;
expiresAt?: DATE | null;
paidAt?: DATE | null;

@@ -77,6 +82,10 @@ capturedAt?: DATE | null;

export interface AptlyOrderSignageSchema<ID, DATE> {
hasReceivedFile: boolean;
signed: boolean;
createdAt?: DATE | null;
expiresAt?: DATE | null;
signedAt?: DATE | null;
document?: ID | AptlyDocumentSchema<ID, DATE>;
hasReceivedFile?: boolean;
signedFile?: ID | AptlyDocumentSchema<ID, DATE>;
documentId?: ID;
signedFile?: ID | AptlyDocumentSchema<ID, DATE>;
documentCreationDate?: DATE;

@@ -83,0 +92,0 @@ expireDate?: DATE;

@@ -5,2 +5,3 @@ import { AptlyAppImplementationSetting } from './app.js';

AptlyOrderPaymentStatus["Pending"] = "PENDING";
AptlyOrderPaymentStatus["OnHold"] = "ON_HOLD";
AptlyOrderPaymentStatus["Authorized"] = "AUTHORIZED";

@@ -7,0 +8,0 @@ AptlyOrderPaymentStatus["Captured"] = "CAPTURED";

@@ -7,3 +7,3 @@ import { AptlyAppSchema } from './app.js';

import { AptlyProjectSchema } from './project.js';
import { AptlyUnitCompany, AptlyUnitSchema } from './unit.js';
import { AptlyUnitSchema } from './unit.js';
import { AptlyUserSchema } from './user.js';

@@ -64,3 +64,2 @@ export type AptlyPayment = AptlyPaymentSchema<string, string>;

phone?: string;
company?: AptlyUnitCompany;
}

@@ -93,3 +92,2 @@ export interface AptlyPaymentItemSchema<ID> {

phone?: string;
company?: AptlyUnitCompany;
};

@@ -96,0 +94,0 @@ card: AptlyPayment['card'];

@@ -16,3 +16,2 @@ import { AptlyOrderSchema } from './order.js';

billing?: AptlyAddress;
company?: AptlyUnitCompany;
rooms: AptlyUnitRoomSchema<ID>[];

@@ -232,5 +231,7 @@ selectedOptions: AptlyUnitSelectedOptionSchema<ID, DATE>[];

newOwner: boolean;
allowAsGuest?: boolean;
sendCount?: number;
claim: {
email: string;
fullName?: string;
claimed: boolean;

@@ -241,6 +242,2 @@ claimedBy: ID;

}
export interface AptlyUnitCompany {
name?: string;
vat?: string;
}
export {};

@@ -21,3 +21,4 @@ import { AptlyUserRoles } from '../core/index.js';

synced: DATE;
isGuest?: boolean;
created: DATE;
}
{
"name": "@aptly-as/types",
"version": "2.4.2",
"version": "2.4.3",
"description": "Aptly types and enums",

@@ -5,0 +5,0 @@ "type": "module",

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