Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@aptly-as/types

Package Overview
Dependencies
Maintainers
2
Versions
266
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
3.15.2
to
3.16.0
+2
-0
models/company.d.ts

@@ -8,2 +8,4 @@ import { AptlyAddress } from './address.js';

vat: string;
email: string;
phone: string;
shipping: AptlyAddress | null;

@@ -10,0 +12,0 @@ billing: AptlyAddress | null;

+2
-2
import { Populated } from '../core/mongoose.js';
import { AptlyAddress, AptlySearchAddress } from './address.js';
import { AptlyAllowance, AptlyAllowanceChargeSchema, AptlyExtensionAmount, AptlyLegalMonetaryTotal } from './algorithm.js';
import { AptlyCompanySchema } from './company.js';
import { AptlyCompany, AptlyCompanySchema } from './company.js';
import { AptlyCustomerData, AptlyCustomerDataSchema } from './customer.js';

@@ -90,3 +90,3 @@ import { AptlyDocumentSchema } from './document.js';

export interface AptlyOfferSendCompanyBody extends AptlyOfferSendInvoiceBody, Omit<AptlyCustomerData, 'fullName' | 'user'> {
company: Pick<AptlyOrganization, 'name' | 'vat' | 'address'>;
company: Pick<AptlyCompany, 'name' | 'vat' | 'email' | 'phone' | 'shipping' | 'billing'> & Pick<AptlyOrganization, 'address'>;
address: AptlyAddress;

@@ -93,0 +93,0 @@ }

@@ -22,2 +22,3 @@ import { AptlyModules, AptlyScopeSchema } from '../core/index.js';

slug: string;
slugs: string[];
number: string;

@@ -24,0 +25,0 @@ vat?: string;

import { AptlyBaseSchema } from './extends.js';
import { AptlyMediaSrcSchema } from './media.js';
import { AptlyModuleSchema } from './module.js';

@@ -17,4 +18,7 @@ import { AptlyOrganizationSchema } from './organization.js';

isDefaultFreeTier: boolean;
isDefaultSubscriptionTier: boolean;
slug: string;
info: string;
description: string;
media: AptlyMediaSrcSchema<ID, DATE> | null;
modules: (ID | AptlyModuleSchema<ID, DATE>)[];

@@ -25,4 +29,7 @@ listed: boolean;

copiedPlan: ID | null;
trialDays: number;
freeRecurringDays: number;
recurring: AptlyPlanRecurring;
recurringAt: DATE | null;
expiresAt: DATE | null;
subscription: {

@@ -44,2 +51,3 @@ monthly: number;

percent: number;
paymentPercent: number;
};

@@ -46,0 +54,0 @@ offer: {

{
"name": "@aptly-as/types",
"version": "3.15.2",
"version": "3.16.0",
"description": "Aptly types and enums",

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