@lssm/integration.providers-impls 0.0.0-canary-20251217083314 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +1 -42
- package/dist/calendar.js +1 -0
- package/dist/email.js +1 -0
- package/dist/embedding.js +1 -0
- package/dist/impls/elevenlabs-voice.js +1 -95
- package/dist/impls/gcs-storage.js +1 -88
- package/dist/impls/gmail-inbound.js +1 -200
- package/dist/impls/gmail-outbound.js +5 -104
- package/dist/impls/google-calendar.js +1 -154
- package/dist/impls/index.js +1 -16
- package/dist/impls/mistral-embedding.js +1 -41
- package/dist/impls/mistral-llm.js +1 -247
- package/dist/impls/postmark-email.js +1 -55
- package/dist/impls/powens-client.js +1 -171
- package/dist/impls/powens-openbanking.js +1 -218
- package/dist/impls/provider-factory.js +1 -142
- package/dist/impls/qdrant-vector.js +1 -69
- package/dist/impls/stripe-payments.js +1 -202
- package/dist/impls/twilio-sms.js +1 -58
- package/dist/index.js +1 -17
- package/dist/llm.js +1 -0
- package/dist/openbanking.js +1 -0
- package/dist/payments.js +1 -0
- package/dist/secrets/provider.js +1 -3
- package/dist/sms.js +1 -0
- package/dist/storage.js +1 -0
- package/dist/vector-store.js +1 -0
- package/dist/voice.js +1 -0
- package/package.json +33 -34
- package/dist/calendar.d.ts +0 -7
- package/dist/email.d.ts +0 -7
- package/dist/embedding.d.ts +0 -7
- package/dist/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/impls/gcs-storage.d.ts +0 -24
- package/dist/impls/gmail-inbound.d.ts +0 -26
- package/dist/impls/gmail-outbound.d.ts +0 -18
- package/dist/impls/google-calendar.d.ts +0 -23
- package/dist/impls/index.d.ts +0 -15
- package/dist/impls/mistral-embedding.d.ts +0 -23
- package/dist/impls/mistral-llm.d.ts +0 -31
- package/dist/impls/postmark-email.d.ts +0 -19
- package/dist/impls/powens-client.d.ts +0 -124
- package/dist/impls/powens-openbanking.d.ts +0 -27
- package/dist/impls/provider-factory.d.ts +0 -26
- package/dist/impls/qdrant-vector.d.ts +0 -24
- package/dist/impls/stripe-payments.d.ts +0 -28
- package/dist/impls/twilio-sms.d.ts +0 -20
- package/dist/index.d.ts +0 -43
- package/dist/llm.d.ts +0 -7
- package/dist/openbanking.d.ts +0 -7
- package/dist/payments.d.ts +0 -7
- package/dist/runtime/dist/secrets/provider.js +0 -58
- package/dist/runtime.d.ts +0 -2
- package/dist/secrets/provider.d.ts +0 -2
- package/dist/sms.d.ts +0 -7
- package/dist/storage.d.ts +0 -7
- package/dist/vector-store.d.ts +0 -7
- package/dist/voice.d.ts +0 -7
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { email_d_exports } from "../email.js";
|
|
2
|
-
import { ServerClient } from "postmark";
|
|
3
|
-
|
|
4
|
-
//#region src/impls/postmark-email.d.ts
|
|
5
|
-
interface PostmarkEmailProviderOptions {
|
|
6
|
-
serverToken: string;
|
|
7
|
-
defaultFromEmail?: string;
|
|
8
|
-
messageStream?: string;
|
|
9
|
-
client?: ServerClient;
|
|
10
|
-
}
|
|
11
|
-
declare class PostmarkEmailProvider implements email_d_exports.EmailOutboundProvider {
|
|
12
|
-
private readonly client;
|
|
13
|
-
private readonly defaultFromEmail?;
|
|
14
|
-
private readonly messageStream?;
|
|
15
|
-
constructor(options: PostmarkEmailProviderOptions);
|
|
16
|
-
sendEmail(message: email_d_exports.EmailOutboundMessage): Promise<email_d_exports.EmailOutboundResult>;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { PostmarkEmailProvider, PostmarkEmailProviderOptions };
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
//#region src/impls/powens-client.d.ts
|
|
2
|
-
type PowensEnvironment = 'sandbox' | 'production';
|
|
3
|
-
interface PowensClientOptions {
|
|
4
|
-
clientId: string;
|
|
5
|
-
clientSecret: string;
|
|
6
|
-
apiKey?: string;
|
|
7
|
-
environment: PowensEnvironment;
|
|
8
|
-
baseUrl?: string;
|
|
9
|
-
fetchImpl?: typeof fetch;
|
|
10
|
-
defaultTimeoutMs?: number;
|
|
11
|
-
logger?: {
|
|
12
|
-
debug?: (...args: unknown[]) => void;
|
|
13
|
-
warn?: (...args: unknown[]) => void;
|
|
14
|
-
error?: (...args: unknown[]) => void;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
interface PowensAccount {
|
|
18
|
-
uuid: string;
|
|
19
|
-
reference: string;
|
|
20
|
-
userUuid: string;
|
|
21
|
-
institution: {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
logoUrl?: string;
|
|
25
|
-
};
|
|
26
|
-
name: string;
|
|
27
|
-
iban?: string;
|
|
28
|
-
bic?: string;
|
|
29
|
-
currency?: string;
|
|
30
|
-
balance?: number;
|
|
31
|
-
availableBalance?: number;
|
|
32
|
-
type?: string;
|
|
33
|
-
status?: string;
|
|
34
|
-
metadata?: Record<string, unknown>;
|
|
35
|
-
}
|
|
36
|
-
interface PowensAccountListResponse {
|
|
37
|
-
accounts: PowensAccount[];
|
|
38
|
-
pagination?: {
|
|
39
|
-
nextCursor?: string;
|
|
40
|
-
hasMore?: boolean;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
interface PowensTransaction {
|
|
44
|
-
uuid: string;
|
|
45
|
-
accountUuid: string;
|
|
46
|
-
amount: number;
|
|
47
|
-
currency: string;
|
|
48
|
-
direction: 'credit' | 'debit';
|
|
49
|
-
description?: string;
|
|
50
|
-
category?: string;
|
|
51
|
-
rawLabel?: string;
|
|
52
|
-
bookingDate?: string;
|
|
53
|
-
valueDate?: string;
|
|
54
|
-
status?: string;
|
|
55
|
-
merchantName?: string;
|
|
56
|
-
merchantCategoryCode?: string;
|
|
57
|
-
counterpartyName?: string;
|
|
58
|
-
counterpartyAccount?: string;
|
|
59
|
-
metadata?: Record<string, unknown>;
|
|
60
|
-
}
|
|
61
|
-
interface PowensTransactionListResponse {
|
|
62
|
-
transactions: PowensTransaction[];
|
|
63
|
-
pagination?: {
|
|
64
|
-
nextCursor?: string;
|
|
65
|
-
hasMore?: boolean;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
interface PowensBalance {
|
|
69
|
-
accountUuid: string;
|
|
70
|
-
type: string;
|
|
71
|
-
amount: number;
|
|
72
|
-
currency: string;
|
|
73
|
-
updatedAt: string;
|
|
74
|
-
metadata?: Record<string, unknown>;
|
|
75
|
-
}
|
|
76
|
-
interface PowensConnectionStatusResponse {
|
|
77
|
-
connectionUuid: string;
|
|
78
|
-
status: 'healthy' | 'error' | 'revoked' | 'pending';
|
|
79
|
-
lastAttemptAt?: string;
|
|
80
|
-
errorCode?: string;
|
|
81
|
-
errorMessage?: string;
|
|
82
|
-
metadata?: Record<string, unknown>;
|
|
83
|
-
}
|
|
84
|
-
declare class PowensClientError extends Error {
|
|
85
|
-
readonly status: number;
|
|
86
|
-
readonly code?: string;
|
|
87
|
-
readonly requestId?: string;
|
|
88
|
-
readonly response?: unknown;
|
|
89
|
-
constructor(message: string, status: number, code?: string, requestId?: string, response?: unknown);
|
|
90
|
-
}
|
|
91
|
-
declare class PowensClient {
|
|
92
|
-
private readonly clientId;
|
|
93
|
-
private readonly clientSecret;
|
|
94
|
-
private readonly apiKey?;
|
|
95
|
-
private readonly fetchImpl;
|
|
96
|
-
private readonly logger?;
|
|
97
|
-
private readonly defaultTimeoutMs;
|
|
98
|
-
private token?;
|
|
99
|
-
private readonly baseUrl;
|
|
100
|
-
constructor(options: PowensClientOptions);
|
|
101
|
-
listAccounts(params: {
|
|
102
|
-
userUuid: string;
|
|
103
|
-
cursor?: string;
|
|
104
|
-
limit?: number;
|
|
105
|
-
includeBalances?: boolean;
|
|
106
|
-
institutionUuid?: string;
|
|
107
|
-
}): Promise<PowensAccountListResponse>;
|
|
108
|
-
getAccount(accountUuid: string): Promise<PowensAccount>;
|
|
109
|
-
listTransactions(params: {
|
|
110
|
-
accountUuid: string;
|
|
111
|
-
cursor?: string;
|
|
112
|
-
limit?: number;
|
|
113
|
-
from?: string;
|
|
114
|
-
to?: string;
|
|
115
|
-
includePending?: boolean;
|
|
116
|
-
}): Promise<PowensTransactionListResponse>;
|
|
117
|
-
getBalances(accountUuid: string): Promise<PowensBalance[]>;
|
|
118
|
-
getConnectionStatus(connectionUuid: string): Promise<PowensConnectionStatusResponse>;
|
|
119
|
-
private request;
|
|
120
|
-
private ensureAccessToken;
|
|
121
|
-
private fetchAccessToken;
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
export { PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensTransaction, PowensTransactionListResponse };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { openbanking_d_exports } from "../openbanking.js";
|
|
2
|
-
import { PowensClientOptions } from "./powens-client.js";
|
|
3
|
-
|
|
4
|
-
//#region src/impls/powens-openbanking.d.ts
|
|
5
|
-
interface PowensOpenBankingProviderOptions extends PowensClientOptions {}
|
|
6
|
-
declare class PowensOpenBankingProvider implements openbanking_d_exports.OpenBankingProvider {
|
|
7
|
-
private readonly client;
|
|
8
|
-
private readonly logger?;
|
|
9
|
-
constructor(options: PowensOpenBankingProviderOptions);
|
|
10
|
-
listAccounts(params: openbanking_d_exports.OpenBankingListAccountsParams): Promise<openbanking_d_exports.OpenBankingListAccountsResult>;
|
|
11
|
-
getAccountDetails(params: openbanking_d_exports.OpenBankingGetAccountDetailsParams): Promise<openbanking_d_exports.OpenBankingAccountDetails>;
|
|
12
|
-
listTransactions(params: openbanking_d_exports.OpenBankingListTransactionsParams): Promise<openbanking_d_exports.OpenBankingListTransactionsResult>;
|
|
13
|
-
getBalances(params: openbanking_d_exports.OpenBankingGetBalancesParams): Promise<openbanking_d_exports.OpenBankingAccountBalance[]>;
|
|
14
|
-
getConnectionStatus(params: openbanking_d_exports.OpenBankingGetConnectionStatusParams): Promise<openbanking_d_exports.OpenBankingConnectionStatus>;
|
|
15
|
-
private mapAccount;
|
|
16
|
-
private mapAccountDetails;
|
|
17
|
-
private mapTransaction;
|
|
18
|
-
private mapBalance;
|
|
19
|
-
private toContext;
|
|
20
|
-
private mapOwnership;
|
|
21
|
-
private mapAccountStatus;
|
|
22
|
-
private mapTransactionStatus;
|
|
23
|
-
private mapConnectionStatus;
|
|
24
|
-
private handleError;
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { PowensOpenBankingProvider, PowensOpenBankingProviderOptions };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { email_d_exports } from "../email.js";
|
|
2
|
-
import { embedding_d_exports } from "../embedding.js";
|
|
3
|
-
import { voice_d_exports } from "../voice.js";
|
|
4
|
-
import { storage_d_exports } from "../storage.js";
|
|
5
|
-
import { payments_d_exports } from "../payments.js";
|
|
6
|
-
import { sms_d_exports } from "../sms.js";
|
|
7
|
-
import { vector_store_d_exports } from "../vector-store.js";
|
|
8
|
-
import { llm_d_exports } from "../llm.js";
|
|
9
|
-
import { openbanking_d_exports } from "../openbanking.js";
|
|
10
|
-
import { IntegrationContext } from "@lssm/integration.runtime/runtime";
|
|
11
|
-
|
|
12
|
-
//#region src/impls/provider-factory.d.ts
|
|
13
|
-
declare class IntegrationProviderFactory {
|
|
14
|
-
createPaymentsProvider(context: IntegrationContext): Promise<payments_d_exports.PaymentsProvider>;
|
|
15
|
-
createEmailOutboundProvider(context: IntegrationContext): Promise<email_d_exports.EmailOutboundProvider>;
|
|
16
|
-
createSmsProvider(context: IntegrationContext): Promise<sms_d_exports.SmsProvider>;
|
|
17
|
-
createVectorStoreProvider(context: IntegrationContext): Promise<vector_store_d_exports.VectorStoreProvider>;
|
|
18
|
-
createObjectStorageProvider(context: IntegrationContext): Promise<storage_d_exports.ObjectStorageProvider>;
|
|
19
|
-
createVoiceProvider(context: IntegrationContext): Promise<voice_d_exports.VoiceProvider>;
|
|
20
|
-
createLlmProvider(context: IntegrationContext): Promise<llm_d_exports.LLMProvider>;
|
|
21
|
-
createEmbeddingProvider(context: IntegrationContext): Promise<embedding_d_exports.EmbeddingProvider>;
|
|
22
|
-
createOpenBankingProvider(context: IntegrationContext): Promise<openbanking_d_exports.OpenBankingProvider>;
|
|
23
|
-
private loadSecrets;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { IntegrationProviderFactory };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { vector_store_d_exports } from "../vector-store.js";
|
|
2
|
-
import { QdrantClient, QdrantClientParams } from "@qdrant/js-client-rest";
|
|
3
|
-
|
|
4
|
-
//#region src/impls/qdrant-vector.d.ts
|
|
5
|
-
interface QdrantVectorProviderOptions {
|
|
6
|
-
url: string;
|
|
7
|
-
apiKey?: string;
|
|
8
|
-
client?: QdrantClient;
|
|
9
|
-
createCollectionIfMissing?: boolean;
|
|
10
|
-
distance?: 'Cosine' | 'Euclid' | 'Dot' | 'Manhattan';
|
|
11
|
-
clientParams?: Omit<QdrantClientParams, 'url' | 'apiKey'>;
|
|
12
|
-
}
|
|
13
|
-
declare class QdrantVectorProvider implements vector_store_d_exports.VectorStoreProvider {
|
|
14
|
-
private readonly client;
|
|
15
|
-
private readonly createCollectionIfMissing;
|
|
16
|
-
private readonly distance;
|
|
17
|
-
constructor(options: QdrantVectorProviderOptions);
|
|
18
|
-
upsert(request: vector_store_d_exports.VectorUpsertRequest): Promise<void>;
|
|
19
|
-
search(query: vector_store_d_exports.VectorSearchQuery): Promise<vector_store_d_exports.VectorSearchResult[]>;
|
|
20
|
-
delete(request: vector_store_d_exports.VectorDeleteRequest): Promise<void>;
|
|
21
|
-
private ensureCollection;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { QdrantVectorProvider, QdrantVectorProviderOptions };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { payments_d_exports } from "../payments.js";
|
|
2
|
-
import Stripe from "stripe";
|
|
3
|
-
|
|
4
|
-
//#region src/impls/stripe-payments.d.ts
|
|
5
|
-
interface StripePaymentsProviderOptions {
|
|
6
|
-
apiKey: string;
|
|
7
|
-
stripe?: Stripe;
|
|
8
|
-
}
|
|
9
|
-
declare class StripePaymentsProvider implements payments_d_exports.PaymentsProvider {
|
|
10
|
-
private readonly stripe;
|
|
11
|
-
constructor(options: StripePaymentsProviderOptions);
|
|
12
|
-
createCustomer(input: payments_d_exports.CreateCustomerInput): Promise<payments_d_exports.PaymentCustomer>;
|
|
13
|
-
getCustomer(customerId: string): Promise<payments_d_exports.PaymentCustomer | null>;
|
|
14
|
-
createPaymentIntent(input: payments_d_exports.CreatePaymentIntentInput): Promise<payments_d_exports.PaymentIntent>;
|
|
15
|
-
capturePayment(paymentIntentId: string, input?: payments_d_exports.CapturePaymentInput): Promise<payments_d_exports.PaymentIntent>;
|
|
16
|
-
cancelPaymentIntent(paymentIntentId: string): Promise<payments_d_exports.PaymentIntent>;
|
|
17
|
-
refundPayment(input: payments_d_exports.RefundPaymentInput): Promise<payments_d_exports.PaymentRefund>;
|
|
18
|
-
listInvoices(query?: payments_d_exports.ListInvoicesQuery): Promise<payments_d_exports.PaymentInvoice[]>;
|
|
19
|
-
listTransactions(query?: payments_d_exports.ListTransactionsQuery): Promise<payments_d_exports.PaymentTransaction[]>;
|
|
20
|
-
private toCustomer;
|
|
21
|
-
private toPaymentIntent;
|
|
22
|
-
private toInvoice;
|
|
23
|
-
private toMoney;
|
|
24
|
-
private toMetadata;
|
|
25
|
-
private mergeMetadata;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { StripePaymentsProvider, StripePaymentsProviderOptions };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { sms_d_exports } from "../sms.js";
|
|
2
|
-
import Twilio from "twilio";
|
|
3
|
-
|
|
4
|
-
//#region src/impls/twilio-sms.d.ts
|
|
5
|
-
type TwilioClient = ReturnType<typeof Twilio>;
|
|
6
|
-
interface TwilioSmsProviderOptions {
|
|
7
|
-
accountSid: string;
|
|
8
|
-
authToken: string;
|
|
9
|
-
fromNumber?: string;
|
|
10
|
-
client?: TwilioClient;
|
|
11
|
-
}
|
|
12
|
-
declare class TwilioSmsProvider implements sms_d_exports.SmsProvider {
|
|
13
|
-
private readonly client;
|
|
14
|
-
private readonly fromNumber?;
|
|
15
|
-
constructor(options: TwilioSmsProviderOptions);
|
|
16
|
-
sendSms(input: sms_d_exports.SendSmsInput): Promise<sms_d_exports.SmsMessage>;
|
|
17
|
-
getDeliveryStatus(messageId: string): Promise<sms_d_exports.SmsDeliveryStatus>;
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
export { TwilioSmsProvider, TwilioSmsProviderOptions };
|
package/dist/index.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __export, __reExport } from "./_virtual/rolldown_runtime.js";
|
|
2
|
-
import { calendar_d_exports } from "./calendar.js";
|
|
3
|
-
import { email_d_exports } from "./email.js";
|
|
4
|
-
import { embedding_d_exports } from "./embedding.js";
|
|
5
|
-
import { voice_d_exports } from "./voice.js";
|
|
6
|
-
import { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions } from "./impls/elevenlabs-voice.js";
|
|
7
|
-
import { storage_d_exports } from "./storage.js";
|
|
8
|
-
import { GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions } from "./impls/gcs-storage.js";
|
|
9
|
-
import { GmailInboundProvider, GmailInboundProviderOptions } from "./impls/gmail-inbound.js";
|
|
10
|
-
import { GmailOutboundProvider, GmailOutboundProviderOptions } from "./impls/gmail-outbound.js";
|
|
11
|
-
import { GoogleCalendarProvider, GoogleCalendarProviderOptions } from "./impls/google-calendar.js";
|
|
12
|
-
import { payments_d_exports } from "./payments.js";
|
|
13
|
-
import { sms_d_exports } from "./sms.js";
|
|
14
|
-
import { vector_store_d_exports } from "./vector-store.js";
|
|
15
|
-
import { llm_d_exports } from "./llm.js";
|
|
16
|
-
import { openbanking_d_exports } from "./openbanking.js";
|
|
17
|
-
import { IntegrationProviderFactory } from "./impls/provider-factory.js";
|
|
18
|
-
import { MistralLLMProvider, MistralLLMProviderOptions } from "./impls/mistral-llm.js";
|
|
19
|
-
import { MistralEmbeddingProvider, MistralEmbeddingProviderOptions } from "./impls/mistral-embedding.js";
|
|
20
|
-
import { QdrantVectorProvider, QdrantVectorProviderOptions } from "./impls/qdrant-vector.js";
|
|
21
|
-
import { StripePaymentsProvider, StripePaymentsProviderOptions } from "./impls/stripe-payments.js";
|
|
22
|
-
import { PostmarkEmailProvider, PostmarkEmailProviderOptions } from "./impls/postmark-email.js";
|
|
23
|
-
import { TwilioSmsProvider, TwilioSmsProviderOptions } from "./impls/twilio-sms.js";
|
|
24
|
-
import { PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensTransaction, PowensTransactionListResponse } from "./impls/powens-client.js";
|
|
25
|
-
import { PowensOpenBankingProvider, PowensOpenBankingProviderOptions } from "./impls/powens-openbanking.js";
|
|
26
|
-
import "./impls/index.js";
|
|
27
|
-
export * from "@lssm/lib.contracts/integrations/providers/calendar";
|
|
28
|
-
export * from "@lssm/lib.contracts/integrations/providers/email";
|
|
29
|
-
export * from "@lssm/lib.contracts/integrations/providers/embedding";
|
|
30
|
-
export * from "@lssm/lib.contracts/integrations/providers/voice";
|
|
31
|
-
export * from "@lssm/lib.contracts/integrations/providers/storage";
|
|
32
|
-
export * from "@lssm/lib.contracts/integrations/providers/payments";
|
|
33
|
-
export * from "@lssm/lib.contracts/integrations/providers/sms";
|
|
34
|
-
export * from "@lssm/lib.contracts/integrations/providers/vector-store";
|
|
35
|
-
export * from "@lssm/lib.contracts/integrations/providers/llm";
|
|
36
|
-
export * from "@lssm/lib.contracts/integrations/providers/openbanking";
|
|
37
|
-
|
|
38
|
-
//#region src/index.d.ts
|
|
39
|
-
declare namespace index_d_exports {
|
|
40
|
-
export { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions, GmailInboundProvider, GmailInboundProviderOptions, GmailOutboundProvider, GmailOutboundProviderOptions, GoogleCalendarProvider, GoogleCalendarProviderOptions, GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions, IntegrationProviderFactory, MistralEmbeddingProvider, MistralEmbeddingProviderOptions, MistralLLMProvider, MistralLLMProviderOptions, PostmarkEmailProvider, PostmarkEmailProviderOptions, PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensOpenBankingProvider, PowensOpenBankingProviderOptions, PowensTransaction, PowensTransactionListResponse, QdrantVectorProvider, QdrantVectorProviderOptions, StripePaymentsProvider, StripePaymentsProviderOptions, TwilioSmsProvider, TwilioSmsProviderOptions };
|
|
41
|
-
}
|
|
42
|
-
//#endregion
|
|
43
|
-
export { ElevenLabsVoiceProvider, ElevenLabsVoiceProviderOptions, GmailInboundProvider, GmailInboundProviderOptions, GmailOutboundProvider, GmailOutboundProviderOptions, GoogleCalendarProvider, GoogleCalendarProviderOptions, GoogleCloudStorageProvider, GoogleCloudStorageProviderOptions, IntegrationProviderFactory, MistralEmbeddingProvider, MistralEmbeddingProviderOptions, MistralLLMProvider, MistralLLMProviderOptions, PostmarkEmailProvider, PostmarkEmailProviderOptions, PowensAccount, PowensAccountListResponse, PowensBalance, PowensClient, PowensClientError, PowensClientOptions, PowensConnectionStatusResponse, PowensEnvironment, PowensOpenBankingProvider, PowensOpenBankingProviderOptions, PowensTransaction, PowensTransactionListResponse, QdrantVectorProvider, QdrantVectorProviderOptions, StripePaymentsProvider, StripePaymentsProviderOptions, TwilioSmsProvider, TwilioSmsProviderOptions };
|
package/dist/llm.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/llm";
|
|
2
|
-
|
|
3
|
-
//#region src/llm.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_llm from "@lssm/lib.contracts/integrations/providers/llm";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_llm as llm_d_exports };
|
package/dist/openbanking.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/openbanking";
|
|
2
|
-
|
|
3
|
-
//#region src/openbanking.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_openbanking from "@lssm/lib.contracts/integrations/providers/openbanking";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_openbanking as openbanking_d_exports };
|
package/dist/payments.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/payments";
|
|
2
|
-
|
|
3
|
-
//#region src/payments.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_payments from "@lssm/lib.contracts/integrations/providers/payments";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_payments as payments_d_exports };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Buffer } from "node:buffer";
|
|
2
|
-
|
|
3
|
-
//#region ../runtime/dist/secrets/provider.js
|
|
4
|
-
var SecretProviderError = class extends Error {
|
|
5
|
-
provider;
|
|
6
|
-
reference;
|
|
7
|
-
code;
|
|
8
|
-
cause;
|
|
9
|
-
constructor(params) {
|
|
10
|
-
super(params.message);
|
|
11
|
-
this.name = "SecretProviderError";
|
|
12
|
-
this.provider = params.provider;
|
|
13
|
-
this.reference = params.reference;
|
|
14
|
-
this.code = params.code ?? "UNKNOWN";
|
|
15
|
-
this.cause = params.cause;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
function parseSecretUri(reference) {
|
|
19
|
-
if (!reference) throw new SecretProviderError({
|
|
20
|
-
message: "Secret reference cannot be empty",
|
|
21
|
-
provider: "unknown",
|
|
22
|
-
reference,
|
|
23
|
-
code: "INVALID"
|
|
24
|
-
});
|
|
25
|
-
const [scheme, rest] = reference.split("://");
|
|
26
|
-
if (!scheme || !rest) throw new SecretProviderError({
|
|
27
|
-
message: `Invalid secret reference: ${reference}`,
|
|
28
|
-
provider: "unknown",
|
|
29
|
-
reference,
|
|
30
|
-
code: "INVALID"
|
|
31
|
-
});
|
|
32
|
-
const queryIndex = rest.indexOf("?");
|
|
33
|
-
if (queryIndex === -1) return {
|
|
34
|
-
provider: scheme,
|
|
35
|
-
path: rest
|
|
36
|
-
};
|
|
37
|
-
const path = rest.slice(0, queryIndex);
|
|
38
|
-
const query = rest.slice(queryIndex + 1);
|
|
39
|
-
return {
|
|
40
|
-
provider: scheme,
|
|
41
|
-
path,
|
|
42
|
-
extras: Object.fromEntries(query.split("&").filter(Boolean).map((pair) => {
|
|
43
|
-
const [keyRaw, valueRaw] = pair.split("=");
|
|
44
|
-
const key = keyRaw ?? "";
|
|
45
|
-
const value = valueRaw ?? "";
|
|
46
|
-
return [decodeURIComponent(key), decodeURIComponent(value)];
|
|
47
|
-
}))
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function normalizeSecretPayload(payload) {
|
|
51
|
-
if (payload.data instanceof Uint8Array) return payload.data;
|
|
52
|
-
if (payload.encoding === "base64") return Buffer.from(payload.data, "base64");
|
|
53
|
-
if (payload.encoding === "binary") return Buffer.from(payload.data, "binary");
|
|
54
|
-
return Buffer.from(payload.data, "utf-8");
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//#endregion
|
|
58
|
-
export { SecretProviderError, normalizeSecretPayload, parseSecretUri };
|
package/dist/runtime.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { ParsedSecretUri, SecretFetchOptions, SecretPayloadEncoding, SecretProvider, SecretProviderError, SecretReference, SecretRotationResult, SecretValue, SecretWritePayload, normalizeSecretPayload, parseSecretUri } from "@lssm/integration.runtime/secrets/provider";
|
|
2
|
-
export { type ParsedSecretUri, type SecretFetchOptions, type SecretPayloadEncoding, type SecretProvider, SecretProviderError, type SecretReference, type SecretRotationResult, type SecretValue, type SecretWritePayload, normalizeSecretPayload, parseSecretUri };
|
package/dist/sms.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/sms";
|
|
2
|
-
|
|
3
|
-
//#region src/sms.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_sms from "@lssm/lib.contracts/integrations/providers/sms";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_sms as sms_d_exports };
|
package/dist/storage.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/storage";
|
|
2
|
-
|
|
3
|
-
//#region src/storage.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_storage from "@lssm/lib.contracts/integrations/providers/storage";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_storage as storage_d_exports };
|
package/dist/vector-store.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/vector-store";
|
|
2
|
-
|
|
3
|
-
//#region src/vector-store.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_vector_store from "@lssm/lib.contracts/integrations/providers/vector-store";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_vector_store as vector_store_d_exports };
|
package/dist/voice.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "@lssm/lib.contracts/integrations/providers/voice";
|
|
2
|
-
|
|
3
|
-
//#region src/voice.d.ts
|
|
4
|
-
|
|
5
|
-
import * as import___lssm_lib_contracts_integrations_providers_voice from "@lssm/lib.contracts/integrations/providers/voice";
|
|
6
|
-
//#endregion
|
|
7
|
-
export { import___lssm_lib_contracts_integrations_providers_voice as voice_d_exports };
|