@altodia/microservices-common
Advanced tools
Comparing version 1.0.5 to 2.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EMAILS_SEND_EVENT = void 0; | ||
exports.EMAILS_SEND_EVENT = 'emails.sendEvent'; | ||
exports.EMAILS_DELETED = exports.EMAILS_CREATED = void 0; | ||
exports.EMAILS_CREATED = 'emails.created'; | ||
exports.EMAILS_DELETED = 'emails.deleted'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FILES_DELETE_BUCKET_EVENT = exports.FILES_CREATE_BUCKET_EVENT = void 0; | ||
exports.FILES_CREATE_BUCKET_EVENT = 'files.createBucketEvent'; | ||
exports.FILES_DELETE_BUCKET_EVENT = 'files.deleteBucketEvent'; | ||
exports.FILES_DELETED = exports.FILES_CREATED = exports.FILES_BUCKET_DELETED = exports.FILES_BUCKET_CREATED = void 0; | ||
exports.FILES_BUCKET_CREATED = 'files.bucketCreated'; | ||
exports.FILES_BUCKET_DELETED = 'files.bucketDeleted'; | ||
exports.FILES_CREATED = 'files.created'; | ||
exports.FILES_DELETED = 'files.deleted'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MESSAGES_DELETE_EVENT = exports.MESSAGES_SEND_EVENT = void 0; | ||
exports.MESSAGES_SEND_EVENT = 'messages.sendEvent'; | ||
exports.MESSAGES_DELETE_EVENT = 'messages.deleteEvent'; | ||
exports.MESSAGED_DELETED = exports.MESSAGES_CREATED = void 0; | ||
exports.MESSAGES_CREATED = 'messages.created'; | ||
exports.MESSAGED_DELETED = 'messages.deleted'; |
@@ -1,12 +0,13 @@ | ||
export declare const EMAILS_SEND_EVENT = "emails.sendEvent"; | ||
export interface EmailsSendParams { | ||
senderAddress: string; | ||
receiverAddress: string; | ||
subject: string; | ||
import { Base } from "../base"; | ||
export declare const EMAILS_CREATED = "emails.created"; | ||
export declare const EMAILS_DELETED = "emails.deleted"; | ||
export interface EmailsCreatedParams extends Base { | ||
senderAddress?: string; | ||
receiverAddress?: string; | ||
subject?: string; | ||
body?: string; | ||
replyTo?: string; | ||
cc?: string; | ||
bcc?: string; | ||
altText?: string; | ||
messageId?: string; | ||
} | ||
export interface EmailsDeletedParams extends EmailsCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,12 +0,25 @@ | ||
export declare const FILES_CREATE_BUCKET_EVENT = "files.createBucketEvent"; | ||
export declare const FILES_DELETE_BUCKET_EVENT = "files.deleteBucketEvent"; | ||
export interface CreateBucketParams { | ||
awsUserId: string; | ||
idToken: string; | ||
import { Base } from "../base"; | ||
export declare const FILES_BUCKET_CREATED = "files.bucketCreated"; | ||
export declare const FILES_BUCKET_DELETED = "files.bucketDeleted"; | ||
export declare const FILES_CREATED = "files.created"; | ||
export declare const FILES_DELETED = "files.deleted"; | ||
export interface BucketCreatedParams extends Base { | ||
bucketName: string; | ||
isPublic: boolean; | ||
} | ||
export interface DeleteBucketParams { | ||
idToken: string; | ||
ownerId: string; | ||
awsUserId: string; | ||
export interface BucketDeletedParams extends BucketCreatedParams { | ||
} | ||
export interface FilesCreatedParams extends Base { | ||
filename: string; | ||
awsETag?: string; | ||
status?: string; | ||
metadata?: string; | ||
ownerId?: string; | ||
uploadUrl?: string; | ||
downloadUrl: string; | ||
private?: boolean; | ||
bucketName?: string; | ||
} | ||
export interface FilesDeletedParams extends FilesCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,16 +0,13 @@ | ||
export declare const MESSAGES_SEND_EVENT = "messages.sendEvent"; | ||
export declare const MESSAGES_DELETE_EVENT = "messages.deleteEvent"; | ||
export interface MessagesSendParams { | ||
import { Base } from "../base"; | ||
export declare const MESSAGES_CREATED = "messages.created"; | ||
export declare const MESSAGED_DELETED = "messages.deleted"; | ||
export interface MessagesCreatedParams extends Base { | ||
senderNumber?: string; | ||
senderPlatform?: string; | ||
receiverNumber?: string; | ||
body: string; | ||
body?: string; | ||
awsMessageId?: string; | ||
} | ||
export interface MessagesDeleteParams { | ||
id: string; | ||
senderNumber?: string; | ||
senderPlatform?: string; | ||
receiverNumber?: string; | ||
body: string; | ||
export interface MessagesDeletedParams extends MessagesCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,2 @@ | ||
export const EMAILS_SEND_EVENT = 'emails.sendEvent'; | ||
export const EMAILS_CREATED = 'emails.created'; | ||
export const EMAILS_DELETED = 'emails.deleted'; |
@@ -1,2 +0,4 @@ | ||
export const FILES_CREATE_BUCKET_EVENT = 'files.createBucketEvent'; | ||
export const FILES_DELETE_BUCKET_EVENT = 'files.deleteBucketEvent'; | ||
export const FILES_BUCKET_CREATED = 'files.bucketCreated'; | ||
export const FILES_BUCKET_DELETED = 'files.bucketDeleted'; | ||
export const FILES_CREATED = 'files.created'; | ||
export const FILES_DELETED = 'files.deleted'; |
@@ -1,2 +0,2 @@ | ||
export const MESSAGES_SEND_EVENT = 'messages.sendEvent'; | ||
export const MESSAGES_DELETE_EVENT = 'messages.deleteEvent'; | ||
export const MESSAGES_CREATED = 'messages.created'; | ||
export const MESSAGED_DELETED = 'messages.deleted'; |
@@ -1,12 +0,13 @@ | ||
export declare const EMAILS_SEND_EVENT = "emails.sendEvent"; | ||
export interface EmailsSendParams { | ||
senderAddress: string; | ||
receiverAddress: string; | ||
subject: string; | ||
import { Base } from "../base"; | ||
export declare const EMAILS_CREATED = "emails.created"; | ||
export declare const EMAILS_DELETED = "emails.deleted"; | ||
export interface EmailsCreatedParams extends Base { | ||
senderAddress?: string; | ||
receiverAddress?: string; | ||
subject?: string; | ||
body?: string; | ||
replyTo?: string; | ||
cc?: string; | ||
bcc?: string; | ||
altText?: string; | ||
messageId?: string; | ||
} | ||
export interface EmailsDeletedParams extends EmailsCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,12 +0,25 @@ | ||
export declare const FILES_CREATE_BUCKET_EVENT = "files.createBucketEvent"; | ||
export declare const FILES_DELETE_BUCKET_EVENT = "files.deleteBucketEvent"; | ||
export interface CreateBucketParams { | ||
awsUserId: string; | ||
idToken: string; | ||
import { Base } from "../base"; | ||
export declare const FILES_BUCKET_CREATED = "files.bucketCreated"; | ||
export declare const FILES_BUCKET_DELETED = "files.bucketDeleted"; | ||
export declare const FILES_CREATED = "files.created"; | ||
export declare const FILES_DELETED = "files.deleted"; | ||
export interface BucketCreatedParams extends Base { | ||
bucketName: string; | ||
isPublic: boolean; | ||
} | ||
export interface DeleteBucketParams { | ||
idToken: string; | ||
ownerId: string; | ||
awsUserId: string; | ||
export interface BucketDeletedParams extends BucketCreatedParams { | ||
} | ||
export interface FilesCreatedParams extends Base { | ||
filename: string; | ||
awsETag?: string; | ||
status?: string; | ||
metadata?: string; | ||
ownerId?: string; | ||
uploadUrl?: string; | ||
downloadUrl: string; | ||
private?: boolean; | ||
bucketName?: string; | ||
} | ||
export interface FilesDeletedParams extends FilesCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,16 +0,13 @@ | ||
export declare const MESSAGES_SEND_EVENT = "messages.sendEvent"; | ||
export declare const MESSAGES_DELETE_EVENT = "messages.deleteEvent"; | ||
export interface MessagesSendParams { | ||
import { Base } from "../base"; | ||
export declare const MESSAGES_CREATED = "messages.created"; | ||
export declare const MESSAGED_DELETED = "messages.deleted"; | ||
export interface MessagesCreatedParams extends Base { | ||
senderNumber?: string; | ||
senderPlatform?: string; | ||
receiverNumber?: string; | ||
body: string; | ||
body?: string; | ||
awsMessageId?: string; | ||
} | ||
export interface MessagesDeleteParams { | ||
id: string; | ||
senderNumber?: string; | ||
senderPlatform?: string; | ||
receiverNumber?: string; | ||
body: string; | ||
export interface MessagesDeletedParams extends MessagesCreatedParams { | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@altodia/microservices-common", | ||
"version": "1.0.5", | ||
"version": "2.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11972
31
162