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
143
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.0 to 2.4.1

models/payment.d.ts

1

enums/document.d.ts

@@ -12,2 +12,3 @@ export declare enum AptlyDocumentType {

Receipt = "receipt",
PaymentReceipt = "payment-receipt",
ProductAttachment = "productAttachment",

@@ -14,0 +15,0 @@ SignedReceipt = "signedReceipt",

@@ -13,2 +13,3 @@ export var AptlyDocumentType;

AptlyDocumentType["Receipt"] = "receipt";
AptlyDocumentType["PaymentReceipt"] = "payment-receipt";
AptlyDocumentType["ProductAttachment"] = "productAttachment";

@@ -15,0 +16,0 @@ AptlyDocumentType["SignedReceipt"] = "signedReceipt";

@@ -18,2 +18,3 @@ export * from './algorithm.js';

export * from './page.js';
export * from './payment.js';
export * from './period.js';

@@ -20,0 +21,0 @@ export * from './producer.js';

@@ -18,2 +18,3 @@ export * from './algorithm.js';

export * from './page.js';
export * from './payment.js';
export * from './period.js';

@@ -20,0 +21,0 @@ export * from './producer.js';

26

models/order.d.ts

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

import { AptlyOrganizationAppConfigSchema, AptlyOrganizationSchema } from './organization.js';
import { AptlyPaymentSchema } from './payment.js';
import { AptlyProductSchema } from './product.js';

@@ -42,19 +43,14 @@ import { AptlyProject, AptlyProjectPeriodSchema, AptlyProjectSchema } from './project.js';

};
payment?: AptlyOrderPaymentSchema<DATE> | null;
paymentSession?: AptlyOrderPaymentSessionSchema<DATE> | null;
payment?: ID | AptlyPaymentSchema<ID, DATE>;
created: DATE;
}
export type AptlyOrderPayment = AptlyOrderPaymentSchema<string>;
export interface AptlyOrderPaymentSchema<DATE> {
export type AptlyOrderPaymentSession = AptlyOrderPaymentSessionSchema<string>;
export interface AptlyOrderPaymentSessionSchema<DATE> {
status: AptlyOrderPaymentStatus;
sessionId: string;
sessionAt: DATE | null;
url: string;
transactionId?: string;
transactionAt?: DATE;
captures: {
amount: number;
description?: string;
}[];
capturedAmount: number;
capturedAt?: DATE;
id: string;
at: DATE | null;
paidAt?: DATE | null;
capturedAt?: DATE | null;
}

@@ -152,6 +148,6 @@ export type AptlyOrderSignee = AptlyOrderSigneeSchema<string, string>;

user: AptlyUser;
signees: AptlyorderActionSignDataSignee[];
signees: AptlyOrderActionSignDataSignee[];
deadlineInDays?: number;
}
export interface AptlyorderActionSignDataSignee {
export interface AptlyOrderActionSignDataSignee {
user: AptlyUser;

@@ -158,0 +154,0 @@ signMethod?: string;

import { AptlyModules } from '../core/index.js';
import { AptlyOrganizationRoles, AptlyAppScope, AptlySignageSchema } from '../core/index.js';
import { AptlyOrganizationStatus, AptlyOrganizationType } from "../enums/index.js";
import { AptlyOrganizationStatus, AptlyOrganizationType } from '../enums/index.js';
import { AptlyModuleItemSchema } from './module.js';

@@ -22,2 +22,3 @@ import { AptlyUserSchema } from './user.js';

address: {
billing: AptlyAddress;
visit: AptlyAddress;

@@ -24,0 +25,0 @@ post: AptlyAddress;

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

import { AptlyProjectSchema } from './project.js';
import { AptlyHistorySchema } from './extends.js';
import { AptlyAddress, AptlyHistorySchema } from './extends.js';
import { AptlyUnitTemplateBaseSchema, AptlyUnitTemplateCategorySchema, AptlyUnitTemplateCategorySectionSchema, AptlyUnitTemplateSchema } from './unit-template';

@@ -14,2 +14,6 @@ import { AptlyIntegration, AptlyUnitItemParamKey, AptlyUnitStatus } from '../enums/index.js';

status: AptlyUnitStatus;
vat?: string;
shipping?: AptlyAddress;
billing?: AptlyAddress;
company?: AptlyUnitCompany;
rooms: AptlyUnitRoomSchema<ID>[];

@@ -237,2 +241,6 @@ selectedOptions: AptlyUnitSelectedOptionSchema<ID, DATE>[];

}
export interface AptlyUnitCompany {
name?: string;
vat?: string;
}
export {};
{
"name": "@aptly-as/types",
"version": "2.4.0",
"version": "2.4.1",
"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