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.2.0 to 2.2.1

core/job.d.ts

3

core/index.d.ts

@@ -6,4 +6,5 @@ import { AptlyDocumentS3 } from '../models/index.js';

export * from './cloudinary.js';
export * from './job.js';
export * from './redirect.js';
export * from './scope.js';
export * from './error.js';
export * from './fields.js';

@@ -10,0 +11,0 @@ export * from './signage.js';

export * from './api.js';
export * from './app.js';
export * from './cloudinary.js';
export * from './job.js';
export * from './redirect.js';
export * from './scope.js';
export * from './error.js';
export * from './fields.js';
export * from './signage.js';
export * from './webhook-event-data.js';
export * from './core/index.js';
export * from './enums/index.js';
export * from './error/index.js';
export * from './models/index.js';
export * from './core/index.js';
export * from './enums/index.js';
export * from './error/index.js';
export * from './models/index.js';

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

import { AptlyOrganizationSchema } from './organization.js';
import { AptlyProjectPeriodSchema, AptlyProjectSchema } from './project.js';
import { AptlyProject, AptlyProjectPeriodSchema, AptlyProjectSchema } from './project.js';
import { AptlyUnit, AptlyUnitItemParamSchema, AptlyUnitSchema } from './unit.js';

@@ -20,3 +20,3 @@ import { AptlyBaseSchema } from './extends.js';

receipt: ID | AptlyDocumentSchema<ID, DATE>;
signedReceipt?: ID;
signedReceipt?: ID | AptlyDocumentSchema<ID, DATE>;
attachments: ID[];

@@ -28,2 +28,3 @@ signage: AptlyOrderSignageSchema<ID, DATE>;

signees: AptlyOrderSigneeSchema<ID, DATE>[];
emailText?: string;
created: DATE;

@@ -93,7 +94,10 @@ }

export interface AptlyOrderActionSignData {
project: string;
project: Pick<AptlyProject, '_id' | 'name'> & {
theme: Pick<AptlyProject['theme'], 'contact'>;
};
unit: Pick<AptlyUnit, '_id' | 'name'>;
order: Pick<AptlyOrder, '_id' | 'orderNumber' | 'receipt'>;
users: Pick<AptlyUser, '_id' | 'firstName' | 'lastName' | 'fullName' | 'email' | 'phone'>[];
admins: Pick<AptlyUser, '_id' | 'firstName' | 'lastName' | 'fullName' | 'email' | 'phone'>[];
order: Pick<AptlyOrder, '_id' | 'orderNumber' | 'receipt' | 'period'>;
users: Pick<AptlyUser, '_id' | 'firstName' | 'lastName' | 'fullName' | 'email' | 'phone' | 'language' | 'profileImage'>[];
admins: Pick<AptlyUser, '_id' | 'firstName' | 'lastName' | 'fullName' | 'email' | 'phone' | 'language' | 'profileImage'>[];
emailText?: string;
}

@@ -30,3 +30,4 @@ import { AptlyOrganizationSchema } from './organization.js';

OrderCreated = "order-created",
OrderSigned = "order-signed"
OrderSigned = "order-signed",
OrderCompleted = "order-completed"
}

@@ -12,2 +12,3 @@ export var AptlyUnitEmailType;

AptlyUnitEmailType["OrderSigned"] = "order-signed";
AptlyUnitEmailType["OrderCompleted"] = "order-completed";
})(AptlyUnitEmailType || (AptlyUnitEmailType = {}));
import { AptlyUserRoles } from '../core/index.js';
import { AptlyBaseSchema } from './extends.js';
export declare enum AptlyLanguage {
English = "en",
Norwegian = "no",
NorwegianBokmal = "nb"
}
export type AptlyUser = AptlyUserSchema<string, string>;

@@ -12,2 +17,3 @@ export interface AptlyUserSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'archived' | 'name'> {

roles: AptlyUserRoles[];
language?: AptlyLanguage;
gdpr: boolean;

@@ -14,0 +20,0 @@ phone: string;

@@ -1,1 +0,6 @@

export {};
export var AptlyLanguage;
(function (AptlyLanguage) {
AptlyLanguage["English"] = "en";
AptlyLanguage["Norwegian"] = "no";
AptlyLanguage["NorwegianBokmal"] = "nb";
})(AptlyLanguage || (AptlyLanguage = {}));
{
"name": "@aptly-as/types",
"version": "2.2.0",
"version": "2.2.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