@strimz/shared-types 0.6.0 → 0.7.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/README.md +7 -4
- package/dist/agents.cjs.map +1 -1
- package/dist/agents.d.cts +7 -5
- package/dist/agents.d.ts +7 -5
- package/dist/agents.js.map +1 -1
- package/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.d.cts +11 -9
- package/dist/api-keys.d.ts +11 -9
- package/dist/api-keys.js.map +1 -1
- package/dist/common.cjs.map +1 -1
- package/dist/common.d.cts +3 -2
- package/dist/common.d.ts +3 -2
- package/dist/common.js.map +1 -1
- package/dist/compliance.cjs.map +1 -1
- package/dist/compliance.d.cts +4 -4
- package/dist/compliance.d.ts +4 -4
- package/dist/compliance.js.map +1 -1
- package/dist/customers.cjs.map +1 -1
- package/dist/customers.d.cts +5 -4
- package/dist/customers.d.ts +5 -4
- package/dist/customers.js.map +1 -1
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +276 -276
- package/dist/events.d.ts +276 -276
- package/dist/events.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -20
- package/dist/index.d.ts +22 -20
- package/dist/index.js.map +1 -1
- package/dist/invoices.cjs.map +1 -1
- package/dist/invoices.d.cts +5 -4
- package/dist/invoices.d.ts +5 -4
- package/dist/invoices.js.map +1 -1
- package/dist/merchants.cjs.map +1 -1
- package/dist/merchants.d.cts +19 -13
- package/dist/merchants.d.ts +19 -13
- package/dist/merchants.js.map +1 -1
- package/dist/payment-sessions.cjs.map +1 -1
- package/dist/payment-sessions.d.cts +5 -3
- package/dist/payment-sessions.d.ts +5 -3
- package/dist/payment-sessions.js.map +1 -1
- package/dist/refunds.cjs.map +1 -1
- package/dist/refunds.d.cts +5 -3
- package/dist/refunds.d.ts +5 -3
- package/dist/refunds.js.map +1 -1
- package/dist/storefronts.cjs.map +1 -1
- package/dist/storefronts.d.cts +11 -8
- package/dist/storefronts.d.ts +11 -8
- package/dist/storefronts.js.map +1 -1
- package/dist/subscriptions.cjs.map +1 -1
- package/dist/subscriptions.d.cts +11 -8
- package/dist/subscriptions.d.ts +11 -8
- package/dist/subscriptions.js.map +1 -1
- package/dist/transactions.cjs.map +1 -1
- package/dist/transactions.d.cts +4 -4
- package/dist/transactions.d.ts +4 -4
- package/dist/transactions.js.map +1 -1
- package/dist/webhooks.cjs.map +1 -1
- package/dist/webhooks.d.cts +11 -9
- package/dist/webhooks.d.ts +11 -9
- package/dist/webhooks.js.map +1 -1
- package/package.json +1 -1
- package/src/agents.ts +4 -2
- package/src/api-keys.ts +4 -2
- package/src/common.ts +2 -1
- package/src/contact.ts +2 -1
- package/src/customers.ts +2 -1
- package/src/invoices.ts +2 -1
- package/src/merchants.ts +12 -6
- package/src/notifications.ts +2 -1
- package/src/payment-sessions.ts +4 -2
- package/src/refunds.ts +4 -2
- package/src/storefronts.ts +6 -3
- package/src/subscriptions.ts +6 -3
- package/src/webhooks.ts +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier, Metadata, Mode, PaginationInput, PaymentCurrency, TokenAmount, TokenSymbol, arcEnvironmentSchema, countryCodeSchema, emailSchema, evmAddressSchema, evmTxHashSchema, httpUrlSchema, httpsUrlSchema, idSchema, isoTimestampSchema, makePaginatedSchema, merchantTierSchema, metadataSchema, modeSchema, paginationInputSchema, paymentCurrencySchema, tokenAmountSchema, tokenSymbolSchema, uintSchema } from './common.cjs';
|
|
2
|
-
export { ChangeTierInput, CreateMerchantInput, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, LoginInput, LoginOutput, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, UpdateMerchantInput, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.cjs';
|
|
3
|
-
export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, RotateApiKeyInput, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.cjs';
|
|
4
|
-
export { Customer, UpsertCustomerInput, customerSchema, upsertCustomerInputSchema } from './customers.cjs';
|
|
5
|
-
export { CreatePaymentSessionInput, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.cjs';
|
|
1
|
+
export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier, Metadata, Mode, PaginationInput, PaginationParsed, PaymentCurrency, TokenAmount, TokenSymbol, arcEnvironmentSchema, countryCodeSchema, emailSchema, evmAddressSchema, evmTxHashSchema, httpUrlSchema, httpsUrlSchema, idSchema, isoTimestampSchema, makePaginatedSchema, merchantTierSchema, metadataSchema, modeSchema, paginationInputSchema, paymentCurrencySchema, tokenAmountSchema, tokenSymbolSchema, uintSchema } from './common.cjs';
|
|
2
|
+
export { ChangeTierInput, ChangeTierParsed, CreateMerchantInput, CreateMerchantParsed, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, InviteMemberParsed, LoginInput, LoginOutput, LoginParsed, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, OnboardMerchantParsed, UpdateMerchantInput, UpdateMerchantParsed, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.cjs';
|
|
3
|
+
export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, CreateApiKeyParsed, RotateApiKeyInput, RotateApiKeyParsed, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.cjs';
|
|
4
|
+
export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.cjs';
|
|
5
|
+
export { CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.cjs';
|
|
6
6
|
export { Transaction, TransactionKind, TransactionStatus, transactionKindSchema, transactionSchema, transactionStatusSchema } from './transactions.cjs';
|
|
7
|
-
export { CancelSubscriptionInput, CreateSubscriptionInput, CreateSubscriptionPlanInput, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } from './subscriptions.cjs';
|
|
8
|
-
export { CreateRefundInput, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.cjs';
|
|
9
|
-
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, ReplayDeliveryInput, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.cjs';
|
|
7
|
+
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionInput, CreateSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } from './subscriptions.cjs';
|
|
8
|
+
export { CreateRefundInput, CreateRefundParsed, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, SubmitRefundSignatureParsed, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.cjs';
|
|
9
|
+
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, CreateWebhookEndpointParsed, ReplayDeliveryInput, ReplayDeliveryParsed, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.cjs';
|
|
10
10
|
export { ComplianceLog, ComplianceProvider, ComplianceScreeningContext, ComplianceStatus, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema } from './compliance.cjs';
|
|
11
|
-
export { AgentActionOutcome, AgentActionType, AgentActivityLog, AgentCapability, AgentIdentity, AgentJob, AgentJobStatus, AgentMerchantConfig, CreateAgentJobInput, UpdateAgentConfigInput, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, createAgentJobInputSchema, updateAgentConfigInputSchema } from './agents.cjs';
|
|
12
|
-
export { CreateStorefrontInput, CreateStorefrontProductInput, Storefront, StorefrontCheckoutInput, StorefrontCheckoutResponse, StorefrontProduct, StorefrontProductType, StorefrontStatus, createStorefrontInputSchema, createStorefrontProductInputSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema } from './storefronts.cjs';
|
|
13
|
-
export { CreateInvoiceInput, Invoice, InvoiceLineItem, InvoiceStatus, createInvoiceInputSchema, invoiceLineItemSchema, invoiceSchema, invoiceStatusSchema } from './invoices.cjs';
|
|
11
|
+
export { AgentActionOutcome, AgentActionType, AgentActivityLog, AgentCapability, AgentIdentity, AgentJob, AgentJobStatus, AgentMerchantConfig, CreateAgentJobInput, CreateAgentJobParsed, UpdateAgentConfigInput, UpdateAgentConfigParsed, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, createAgentJobInputSchema, updateAgentConfigInputSchema } from './agents.cjs';
|
|
12
|
+
export { CreateStorefrontInput, CreateStorefrontParsed, CreateStorefrontProductInput, CreateStorefrontProductParsed, Storefront, StorefrontCheckoutInput, StorefrontCheckoutParsed, StorefrontCheckoutResponse, StorefrontProduct, StorefrontProductType, StorefrontStatus, createStorefrontInputSchema, createStorefrontProductInputSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema } from './storefronts.cjs';
|
|
13
|
+
export { CreateInvoiceInput, CreateInvoiceParsed, Invoice, InvoiceLineItem, InvoiceStatus, createInvoiceInputSchema, invoiceLineItemSchema, invoiceSchema, invoiceStatusSchema } from './invoices.cjs';
|
|
14
14
|
export { AgentActionExecutedEvent, AgentJobCompletedEvent, AgentJobDisputedEvent, AgentJobProposedEvent, ComplianceWalletBlockedEvent, ComplianceWalletFlaggedEvent, InvoiceCreatedEvent, InvoiceOverdueEvent, InvoicePaidEvent, PaymentCompletedEvent, PaymentCreatedEvent, PaymentFailedEvent, RefundCompletedEvent, RefundCreatedEvent, RefundFailedEvent, StrimzWebhookEvent, SubscriptionCancelledEvent, SubscriptionChargeFailedEvent, SubscriptionChargedEvent, SubscriptionCreatedEvent, SubscriptionLapsedEvent, SubscriptionRecoveryAttemptEvent, SubscriptionRecoveryOutcomeEvent, agentActionExecutedEventSchema, agentJobCompletedEventSchema, agentJobDisputedEventSchema, agentJobProposedEventSchema, complianceWalletBlockedEventSchema, complianceWalletFlaggedEventSchema, invoiceCreatedEventSchema, invoiceOverdueEventSchema, invoicePaidEventSchema, paymentCompletedEventSchema, paymentCreatedEventSchema, paymentFailedEventSchema, refundCompletedEventSchema, refundCreatedEventSchema, refundFailedEventSchema, subscriptionCancelledEventSchema, subscriptionChargeFailedEventSchema, subscriptionChargedEventSchema, subscriptionCreatedEventSchema, subscriptionLapsedEventSchema, subscriptionRecoveryAttemptEventSchema, subscriptionRecoveryOutcomeEventSchema, webhookEventSchema } from './events.cjs';
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
|
|
@@ -138,7 +138,8 @@ declare const contactRequestInputSchema: z.ZodObject<{
|
|
|
138
138
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
139
139
|
company?: string | undefined;
|
|
140
140
|
}>;
|
|
141
|
-
type ContactRequestInput = z.
|
|
141
|
+
type ContactRequestInput = z.input<typeof contactRequestInputSchema>;
|
|
142
|
+
type ContactRequestParsed = z.output<typeof contactRequestInputSchema>;
|
|
142
143
|
declare const contactRequestOutputSchema: z.ZodObject<{
|
|
143
144
|
ok: z.ZodLiteral<true>;
|
|
144
145
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -189,7 +190,8 @@ declare const createBroadcastInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
189
190
|
merchantId?: string | undefined;
|
|
190
191
|
audience?: "merchant" | "all" | undefined;
|
|
191
192
|
}>;
|
|
192
|
-
type CreateBroadcastInput = z.
|
|
193
|
+
type CreateBroadcastInput = z.input<typeof createBroadcastInputSchema>;
|
|
194
|
+
type CreateBroadcastParsed = z.output<typeof createBroadcastInputSchema>;
|
|
193
195
|
declare const broadcastSchema: z.ZodObject<{
|
|
194
196
|
id: z.ZodString;
|
|
195
197
|
title: z.ZodString;
|
|
@@ -304,8 +306,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
304
306
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
305
307
|
}, "strip", z.ZodTypeAny, {
|
|
306
308
|
id: string;
|
|
307
|
-
createdAt: string;
|
|
308
309
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
310
|
+
createdAt: string;
|
|
309
311
|
title: string;
|
|
310
312
|
detail: string;
|
|
311
313
|
href: string;
|
|
@@ -313,8 +315,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
313
315
|
sourceId?: string | undefined;
|
|
314
316
|
}, {
|
|
315
317
|
id: string;
|
|
316
|
-
createdAt: string;
|
|
317
318
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
319
|
+
createdAt: string;
|
|
318
320
|
title: string;
|
|
319
321
|
detail: string;
|
|
320
322
|
href: string;
|
|
@@ -339,8 +341,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
339
341
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
340
342
|
}, "strip", z.ZodTypeAny, {
|
|
341
343
|
id: string;
|
|
342
|
-
createdAt: string;
|
|
343
344
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
345
|
+
createdAt: string;
|
|
344
346
|
title: string;
|
|
345
347
|
detail: string;
|
|
346
348
|
href: string;
|
|
@@ -348,8 +350,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
348
350
|
sourceId?: string | undefined;
|
|
349
351
|
}, {
|
|
350
352
|
id: string;
|
|
351
|
-
createdAt: string;
|
|
352
353
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
354
|
+
createdAt: string;
|
|
353
355
|
title: string;
|
|
354
356
|
detail: string;
|
|
355
357
|
href: string;
|
|
@@ -361,8 +363,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
361
363
|
}, "strip", z.ZodTypeAny, {
|
|
362
364
|
data: {
|
|
363
365
|
id: string;
|
|
364
|
-
createdAt: string;
|
|
365
366
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
367
|
+
createdAt: string;
|
|
366
368
|
title: string;
|
|
367
369
|
detail: string;
|
|
368
370
|
href: string;
|
|
@@ -374,8 +376,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
374
376
|
}, {
|
|
375
377
|
data: {
|
|
376
378
|
id: string;
|
|
377
|
-
createdAt: string;
|
|
378
379
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
380
|
+
createdAt: string;
|
|
379
381
|
title: string;
|
|
380
382
|
detail: string;
|
|
381
383
|
href: string;
|
|
@@ -395,4 +397,4 @@ declare const markNotificationsReadResponseSchema: z.ZodObject<{
|
|
|
395
397
|
}>;
|
|
396
398
|
type MarkNotificationsReadResponse = z.infer<typeof markNotificationsReadResponseSchema>;
|
|
397
399
|
|
|
398
|
-
export { type Broadcast, type BroadcastAudience, type BroadcastListResponse, type ContactRequestInput, type ContactRequestOutput, type ContactTopic, type CreateBroadcastInput, type MarkNotificationsReadResponse, type NotificationKind, type NotificationListResponse, type NotificationView, type TokenCapabilities, type TokenMetadata, type TokenPermitNonce, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, createBroadcastInputSchema, markNotificationsReadResponseSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema };
|
|
400
|
+
export { type Broadcast, type BroadcastAudience, type BroadcastListResponse, type ContactRequestInput, type ContactRequestOutput, type ContactRequestParsed, type ContactTopic, type CreateBroadcastInput, type CreateBroadcastParsed, type MarkNotificationsReadResponse, type NotificationKind, type NotificationListResponse, type NotificationView, type TokenCapabilities, type TokenMetadata, type TokenPermitNonce, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, createBroadcastInputSchema, markNotificationsReadResponseSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier, Metadata, Mode, PaginationInput, PaymentCurrency, TokenAmount, TokenSymbol, arcEnvironmentSchema, countryCodeSchema, emailSchema, evmAddressSchema, evmTxHashSchema, httpUrlSchema, httpsUrlSchema, idSchema, isoTimestampSchema, makePaginatedSchema, merchantTierSchema, metadataSchema, modeSchema, paginationInputSchema, paymentCurrencySchema, tokenAmountSchema, tokenSymbolSchema, uintSchema } from './common.js';
|
|
2
|
-
export { ChangeTierInput, CreateMerchantInput, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, LoginInput, LoginOutput, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, UpdateMerchantInput, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.js';
|
|
3
|
-
export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, RotateApiKeyInput, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.js';
|
|
4
|
-
export { Customer, UpsertCustomerInput, customerSchema, upsertCustomerInputSchema } from './customers.js';
|
|
5
|
-
export { CreatePaymentSessionInput, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.js';
|
|
1
|
+
export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier, Metadata, Mode, PaginationInput, PaginationParsed, PaymentCurrency, TokenAmount, TokenSymbol, arcEnvironmentSchema, countryCodeSchema, emailSchema, evmAddressSchema, evmTxHashSchema, httpUrlSchema, httpsUrlSchema, idSchema, isoTimestampSchema, makePaginatedSchema, merchantTierSchema, metadataSchema, modeSchema, paginationInputSchema, paymentCurrencySchema, tokenAmountSchema, tokenSymbolSchema, uintSchema } from './common.js';
|
|
2
|
+
export { ChangeTierInput, ChangeTierParsed, CreateMerchantInput, CreateMerchantParsed, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, InviteMemberParsed, LoginInput, LoginOutput, LoginParsed, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, OnboardMerchantParsed, UpdateMerchantInput, UpdateMerchantParsed, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.js';
|
|
3
|
+
export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, CreateApiKeyParsed, RotateApiKeyInput, RotateApiKeyParsed, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.js';
|
|
4
|
+
export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.js';
|
|
5
|
+
export { CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.js';
|
|
6
6
|
export { Transaction, TransactionKind, TransactionStatus, transactionKindSchema, transactionSchema, transactionStatusSchema } from './transactions.js';
|
|
7
|
-
export { CancelSubscriptionInput, CreateSubscriptionInput, CreateSubscriptionPlanInput, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } from './subscriptions.js';
|
|
8
|
-
export { CreateRefundInput, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.js';
|
|
9
|
-
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, ReplayDeliveryInput, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.js';
|
|
7
|
+
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionInput, CreateSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } from './subscriptions.js';
|
|
8
|
+
export { CreateRefundInput, CreateRefundParsed, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, SubmitRefundSignatureParsed, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.js';
|
|
9
|
+
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, CreateWebhookEndpointParsed, ReplayDeliveryInput, ReplayDeliveryParsed, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.js';
|
|
10
10
|
export { ComplianceLog, ComplianceProvider, ComplianceScreeningContext, ComplianceStatus, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema } from './compliance.js';
|
|
11
|
-
export { AgentActionOutcome, AgentActionType, AgentActivityLog, AgentCapability, AgentIdentity, AgentJob, AgentJobStatus, AgentMerchantConfig, CreateAgentJobInput, UpdateAgentConfigInput, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, createAgentJobInputSchema, updateAgentConfigInputSchema } from './agents.js';
|
|
12
|
-
export { CreateStorefrontInput, CreateStorefrontProductInput, Storefront, StorefrontCheckoutInput, StorefrontCheckoutResponse, StorefrontProduct, StorefrontProductType, StorefrontStatus, createStorefrontInputSchema, createStorefrontProductInputSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema } from './storefronts.js';
|
|
13
|
-
export { CreateInvoiceInput, Invoice, InvoiceLineItem, InvoiceStatus, createInvoiceInputSchema, invoiceLineItemSchema, invoiceSchema, invoiceStatusSchema } from './invoices.js';
|
|
11
|
+
export { AgentActionOutcome, AgentActionType, AgentActivityLog, AgentCapability, AgentIdentity, AgentJob, AgentJobStatus, AgentMerchantConfig, CreateAgentJobInput, CreateAgentJobParsed, UpdateAgentConfigInput, UpdateAgentConfigParsed, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, createAgentJobInputSchema, updateAgentConfigInputSchema } from './agents.js';
|
|
12
|
+
export { CreateStorefrontInput, CreateStorefrontParsed, CreateStorefrontProductInput, CreateStorefrontProductParsed, Storefront, StorefrontCheckoutInput, StorefrontCheckoutParsed, StorefrontCheckoutResponse, StorefrontProduct, StorefrontProductType, StorefrontStatus, createStorefrontInputSchema, createStorefrontProductInputSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema } from './storefronts.js';
|
|
13
|
+
export { CreateInvoiceInput, CreateInvoiceParsed, Invoice, InvoiceLineItem, InvoiceStatus, createInvoiceInputSchema, invoiceLineItemSchema, invoiceSchema, invoiceStatusSchema } from './invoices.js';
|
|
14
14
|
export { AgentActionExecutedEvent, AgentJobCompletedEvent, AgentJobDisputedEvent, AgentJobProposedEvent, ComplianceWalletBlockedEvent, ComplianceWalletFlaggedEvent, InvoiceCreatedEvent, InvoiceOverdueEvent, InvoicePaidEvent, PaymentCompletedEvent, PaymentCreatedEvent, PaymentFailedEvent, RefundCompletedEvent, RefundCreatedEvent, RefundFailedEvent, StrimzWebhookEvent, SubscriptionCancelledEvent, SubscriptionChargeFailedEvent, SubscriptionChargedEvent, SubscriptionCreatedEvent, SubscriptionLapsedEvent, SubscriptionRecoveryAttemptEvent, SubscriptionRecoveryOutcomeEvent, agentActionExecutedEventSchema, agentJobCompletedEventSchema, agentJobDisputedEventSchema, agentJobProposedEventSchema, complianceWalletBlockedEventSchema, complianceWalletFlaggedEventSchema, invoiceCreatedEventSchema, invoiceOverdueEventSchema, invoicePaidEventSchema, paymentCompletedEventSchema, paymentCreatedEventSchema, paymentFailedEventSchema, refundCompletedEventSchema, refundCreatedEventSchema, refundFailedEventSchema, subscriptionCancelledEventSchema, subscriptionChargeFailedEventSchema, subscriptionChargedEventSchema, subscriptionCreatedEventSchema, subscriptionLapsedEventSchema, subscriptionRecoveryAttemptEventSchema, subscriptionRecoveryOutcomeEventSchema, webhookEventSchema } from './events.js';
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
|
|
@@ -138,7 +138,8 @@ declare const contactRequestInputSchema: z.ZodObject<{
|
|
|
138
138
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
139
139
|
company?: string | undefined;
|
|
140
140
|
}>;
|
|
141
|
-
type ContactRequestInput = z.
|
|
141
|
+
type ContactRequestInput = z.input<typeof contactRequestInputSchema>;
|
|
142
|
+
type ContactRequestParsed = z.output<typeof contactRequestInputSchema>;
|
|
142
143
|
declare const contactRequestOutputSchema: z.ZodObject<{
|
|
143
144
|
ok: z.ZodLiteral<true>;
|
|
144
145
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -189,7 +190,8 @@ declare const createBroadcastInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
189
190
|
merchantId?: string | undefined;
|
|
190
191
|
audience?: "merchant" | "all" | undefined;
|
|
191
192
|
}>;
|
|
192
|
-
type CreateBroadcastInput = z.
|
|
193
|
+
type CreateBroadcastInput = z.input<typeof createBroadcastInputSchema>;
|
|
194
|
+
type CreateBroadcastParsed = z.output<typeof createBroadcastInputSchema>;
|
|
193
195
|
declare const broadcastSchema: z.ZodObject<{
|
|
194
196
|
id: z.ZodString;
|
|
195
197
|
title: z.ZodString;
|
|
@@ -304,8 +306,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
304
306
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
305
307
|
}, "strip", z.ZodTypeAny, {
|
|
306
308
|
id: string;
|
|
307
|
-
createdAt: string;
|
|
308
309
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
310
|
+
createdAt: string;
|
|
309
311
|
title: string;
|
|
310
312
|
detail: string;
|
|
311
313
|
href: string;
|
|
@@ -313,8 +315,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
313
315
|
sourceId?: string | undefined;
|
|
314
316
|
}, {
|
|
315
317
|
id: string;
|
|
316
|
-
createdAt: string;
|
|
317
318
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
319
|
+
createdAt: string;
|
|
318
320
|
title: string;
|
|
319
321
|
detail: string;
|
|
320
322
|
href: string;
|
|
@@ -339,8 +341,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
339
341
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
340
342
|
}, "strip", z.ZodTypeAny, {
|
|
341
343
|
id: string;
|
|
342
|
-
createdAt: string;
|
|
343
344
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
345
|
+
createdAt: string;
|
|
344
346
|
title: string;
|
|
345
347
|
detail: string;
|
|
346
348
|
href: string;
|
|
@@ -348,8 +350,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
348
350
|
sourceId?: string | undefined;
|
|
349
351
|
}, {
|
|
350
352
|
id: string;
|
|
351
|
-
createdAt: string;
|
|
352
353
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
354
|
+
createdAt: string;
|
|
353
355
|
title: string;
|
|
354
356
|
detail: string;
|
|
355
357
|
href: string;
|
|
@@ -361,8 +363,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
361
363
|
}, "strip", z.ZodTypeAny, {
|
|
362
364
|
data: {
|
|
363
365
|
id: string;
|
|
364
|
-
createdAt: string;
|
|
365
366
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
367
|
+
createdAt: string;
|
|
366
368
|
title: string;
|
|
367
369
|
detail: string;
|
|
368
370
|
href: string;
|
|
@@ -374,8 +376,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
374
376
|
}, {
|
|
375
377
|
data: {
|
|
376
378
|
id: string;
|
|
377
|
-
createdAt: string;
|
|
378
379
|
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
380
|
+
createdAt: string;
|
|
379
381
|
title: string;
|
|
380
382
|
detail: string;
|
|
381
383
|
href: string;
|
|
@@ -395,4 +397,4 @@ declare const markNotificationsReadResponseSchema: z.ZodObject<{
|
|
|
395
397
|
}>;
|
|
396
398
|
type MarkNotificationsReadResponse = z.infer<typeof markNotificationsReadResponseSchema>;
|
|
397
399
|
|
|
398
|
-
export { type Broadcast, type BroadcastAudience, type BroadcastListResponse, type ContactRequestInput, type ContactRequestOutput, type ContactTopic, type CreateBroadcastInput, type MarkNotificationsReadResponse, type NotificationKind, type NotificationListResponse, type NotificationView, type TokenCapabilities, type TokenMetadata, type TokenPermitNonce, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, createBroadcastInputSchema, markNotificationsReadResponseSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema };
|
|
400
|
+
export { type Broadcast, type BroadcastAudience, type BroadcastListResponse, type ContactRequestInput, type ContactRequestOutput, type ContactRequestParsed, type ContactTopic, type CreateBroadcastInput, type CreateBroadcastParsed, type MarkNotificationsReadResponse, type NotificationKind, type NotificationListResponse, type NotificationView, type TokenCapabilities, type TokenMetadata, type TokenPermitNonce, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, createBroadcastInputSchema, markNotificationsReadResponseSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema };
|