@strimz/shared-types 0.11.2 → 0.12.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/agents.cjs +1 -1
- package/dist/agents.cjs.map +1 -1
- package/dist/agents.js +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.d.cts +136 -136
- package/dist/analytics.d.ts +136 -136
- package/dist/analytics.js +1 -1
- package/dist/analytics.js.map +1 -1
- package/dist/api-keys.cjs +1 -1
- package/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.d.cts +20 -20
- package/dist/api-keys.d.ts +20 -20
- package/dist/api-keys.js +1 -1
- package/dist/api-keys.js.map +1 -1
- package/dist/common.cjs +1 -1
- package/dist/common.cjs.map +1 -1
- package/dist/common.d.cts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/common.js.map +1 -1
- package/dist/compliance.cjs +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 +1 -1
- package/dist/compliance.js.map +1 -1
- package/dist/customers.cjs +1 -1
- package/dist/customers.cjs.map +1 -1
- package/dist/customers.d.cts +6 -6
- package/dist/customers.d.ts +6 -6
- package/dist/customers.js +1 -1
- package/dist/customers.js.map +1 -1
- package/dist/events.cjs +1 -1
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +1433 -1433
- package/dist/events.d.ts +1433 -1433
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/invoices.cjs +1 -1
- package/dist/invoices.cjs.map +1 -1
- package/dist/invoices.d.cts +10 -10
- package/dist/invoices.d.ts +10 -10
- package/dist/invoices.js +1 -1
- package/dist/invoices.js.map +1 -1
- package/dist/merchants.cjs +1 -1
- package/dist/merchants.cjs.map +1 -1
- package/dist/merchants.d.cts +31 -31
- package/dist/merchants.d.ts +31 -31
- package/dist/merchants.js +1 -1
- package/dist/merchants.js.map +1 -1
- package/dist/payment-sessions.cjs +1 -1
- package/dist/payment-sessions.cjs.map +1 -1
- package/dist/payment-sessions.d.cts +16 -16
- package/dist/payment-sessions.d.ts +16 -16
- package/dist/payment-sessions.js +1 -1
- package/dist/payment-sessions.js.map +1 -1
- package/dist/refunds.cjs +1 -1
- package/dist/refunds.cjs.map +1 -1
- package/dist/refunds.d.cts +36 -36
- package/dist/refunds.d.ts +36 -36
- package/dist/refunds.js +1 -1
- package/dist/refunds.js.map +1 -1
- package/dist/storefronts.cjs +1 -1
- package/dist/storefronts.cjs.map +1 -1
- package/dist/storefronts.d.cts +27 -27
- package/dist/storefronts.d.ts +27 -27
- package/dist/storefronts.js +1 -1
- package/dist/storefronts.js.map +1 -1
- package/dist/subscriptions.cjs +1 -1
- package/dist/subscriptions.cjs.map +1 -1
- package/dist/subscriptions.d.cts +30 -30
- package/dist/subscriptions.d.ts +30 -30
- package/dist/subscriptions.js +1 -1
- package/dist/subscriptions.js.map +1 -1
- package/dist/transactions.cjs +1 -1
- package/dist/transactions.cjs.map +1 -1
- package/dist/transactions.d.cts +12 -12
- package/dist/transactions.d.ts +12 -12
- package/dist/transactions.js +1 -1
- package/dist/transactions.js.map +1 -1
- package/dist/webhooks.cjs +1 -1
- package/dist/webhooks.cjs.map +1 -1
- package/dist/webhooks.d.cts +22 -22
- package/dist/webhooks.d.ts +22 -22
- package/dist/webhooks.js +1 -1
- package/dist/webhooks.js.map +1 -1
- package/package.json +4 -4
- package/src/common.ts +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -129,15 +129,15 @@ declare const contactRequestInputSchema: z.ZodObject<{
|
|
|
129
129
|
turnstileToken: z.ZodOptional<z.ZodString>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
message: string;
|
|
132
|
-
name: string;
|
|
133
132
|
email: string;
|
|
133
|
+
name: string;
|
|
134
134
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
135
135
|
company?: string | undefined;
|
|
136
136
|
turnstileToken?: string | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
message: string;
|
|
139
|
-
name: string;
|
|
140
139
|
email: string;
|
|
140
|
+
name: string;
|
|
141
141
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
142
142
|
company?: string | undefined;
|
|
143
143
|
turnstileToken?: string | undefined;
|
|
@@ -208,8 +208,8 @@ declare const broadcastSchema: z.ZodObject<{
|
|
|
208
208
|
emailedAt: z.ZodNullable<z.ZodString>;
|
|
209
209
|
createdAt: z.ZodString;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
id: string;
|
|
212
211
|
merchantId: string | null;
|
|
212
|
+
id: string;
|
|
213
213
|
createdAt: string;
|
|
214
214
|
title: string;
|
|
215
215
|
body: string;
|
|
@@ -219,8 +219,8 @@ declare const broadcastSchema: z.ZodObject<{
|
|
|
219
219
|
senderEmail: string;
|
|
220
220
|
emailedAt: string | null;
|
|
221
221
|
}, {
|
|
222
|
-
id: string;
|
|
223
222
|
merchantId: string | null;
|
|
223
|
+
id: string;
|
|
224
224
|
createdAt: string;
|
|
225
225
|
title: string;
|
|
226
226
|
body: string;
|
|
@@ -244,8 +244,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
244
244
|
emailedAt: z.ZodNullable<z.ZodString>;
|
|
245
245
|
createdAt: z.ZodString;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
id: string;
|
|
248
247
|
merchantId: string | null;
|
|
248
|
+
id: string;
|
|
249
249
|
createdAt: string;
|
|
250
250
|
title: string;
|
|
251
251
|
body: string;
|
|
@@ -255,8 +255,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
255
255
|
senderEmail: string;
|
|
256
256
|
emailedAt: string | null;
|
|
257
257
|
}, {
|
|
258
|
-
id: string;
|
|
259
258
|
merchantId: string | null;
|
|
259
|
+
id: string;
|
|
260
260
|
createdAt: string;
|
|
261
261
|
title: string;
|
|
262
262
|
body: string;
|
|
@@ -268,8 +268,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
268
268
|
}>, "many">;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
data: {
|
|
271
|
-
id: string;
|
|
272
271
|
merchantId: string | null;
|
|
272
|
+
id: string;
|
|
273
273
|
createdAt: string;
|
|
274
274
|
title: string;
|
|
275
275
|
body: string;
|
|
@@ -281,8 +281,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
281
281
|
}[];
|
|
282
282
|
}, {
|
|
283
283
|
data: {
|
|
284
|
-
id: string;
|
|
285
284
|
merchantId: string | null;
|
|
285
|
+
id: string;
|
|
286
286
|
createdAt: string;
|
|
287
287
|
title: string;
|
|
288
288
|
body: string;
|
|
@@ -310,8 +310,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
310
310
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
id: string;
|
|
313
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
314
313
|
createdAt: string;
|
|
314
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
315
315
|
title: string;
|
|
316
316
|
detail: string;
|
|
317
317
|
href: string;
|
|
@@ -319,8 +319,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
319
319
|
sourceId?: string | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
id: string;
|
|
322
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
323
322
|
createdAt: string;
|
|
323
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
324
324
|
title: string;
|
|
325
325
|
detail: string;
|
|
326
326
|
href: string;
|
|
@@ -345,8 +345,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
345
345
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
|
347
347
|
id: string;
|
|
348
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
349
348
|
createdAt: string;
|
|
349
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
350
350
|
title: string;
|
|
351
351
|
detail: string;
|
|
352
352
|
href: string;
|
|
@@ -354,8 +354,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
354
354
|
sourceId?: string | undefined;
|
|
355
355
|
}, {
|
|
356
356
|
id: string;
|
|
357
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
358
357
|
createdAt: string;
|
|
358
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
359
359
|
title: string;
|
|
360
360
|
detail: string;
|
|
361
361
|
href: string;
|
|
@@ -367,8 +367,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
368
|
data: {
|
|
369
369
|
id: string;
|
|
370
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
371
370
|
createdAt: string;
|
|
371
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
372
372
|
title: string;
|
|
373
373
|
detail: string;
|
|
374
374
|
href: string;
|
|
@@ -380,8 +380,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
380
380
|
}, {
|
|
381
381
|
data: {
|
|
382
382
|
id: string;
|
|
383
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
384
383
|
createdAt: string;
|
|
384
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
385
385
|
title: string;
|
|
386
386
|
detail: string;
|
|
387
387
|
href: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -129,15 +129,15 @@ declare const contactRequestInputSchema: z.ZodObject<{
|
|
|
129
129
|
turnstileToken: z.ZodOptional<z.ZodString>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
message: string;
|
|
132
|
-
name: string;
|
|
133
132
|
email: string;
|
|
133
|
+
name: string;
|
|
134
134
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
135
135
|
company?: string | undefined;
|
|
136
136
|
turnstileToken?: string | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
message: string;
|
|
139
|
-
name: string;
|
|
140
139
|
email: string;
|
|
140
|
+
name: string;
|
|
141
141
|
topic: "other" | "sales" | "support" | "partnership" | "security";
|
|
142
142
|
company?: string | undefined;
|
|
143
143
|
turnstileToken?: string | undefined;
|
|
@@ -208,8 +208,8 @@ declare const broadcastSchema: z.ZodObject<{
|
|
|
208
208
|
emailedAt: z.ZodNullable<z.ZodString>;
|
|
209
209
|
createdAt: z.ZodString;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
id: string;
|
|
212
211
|
merchantId: string | null;
|
|
212
|
+
id: string;
|
|
213
213
|
createdAt: string;
|
|
214
214
|
title: string;
|
|
215
215
|
body: string;
|
|
@@ -219,8 +219,8 @@ declare const broadcastSchema: z.ZodObject<{
|
|
|
219
219
|
senderEmail: string;
|
|
220
220
|
emailedAt: string | null;
|
|
221
221
|
}, {
|
|
222
|
-
id: string;
|
|
223
222
|
merchantId: string | null;
|
|
223
|
+
id: string;
|
|
224
224
|
createdAt: string;
|
|
225
225
|
title: string;
|
|
226
226
|
body: string;
|
|
@@ -244,8 +244,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
244
244
|
emailedAt: z.ZodNullable<z.ZodString>;
|
|
245
245
|
createdAt: z.ZodString;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
id: string;
|
|
248
247
|
merchantId: string | null;
|
|
248
|
+
id: string;
|
|
249
249
|
createdAt: string;
|
|
250
250
|
title: string;
|
|
251
251
|
body: string;
|
|
@@ -255,8 +255,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
255
255
|
senderEmail: string;
|
|
256
256
|
emailedAt: string | null;
|
|
257
257
|
}, {
|
|
258
|
-
id: string;
|
|
259
258
|
merchantId: string | null;
|
|
259
|
+
id: string;
|
|
260
260
|
createdAt: string;
|
|
261
261
|
title: string;
|
|
262
262
|
body: string;
|
|
@@ -268,8 +268,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
268
268
|
}>, "many">;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
data: {
|
|
271
|
-
id: string;
|
|
272
271
|
merchantId: string | null;
|
|
272
|
+
id: string;
|
|
273
273
|
createdAt: string;
|
|
274
274
|
title: string;
|
|
275
275
|
body: string;
|
|
@@ -281,8 +281,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
|
|
|
281
281
|
}[];
|
|
282
282
|
}, {
|
|
283
283
|
data: {
|
|
284
|
-
id: string;
|
|
285
284
|
merchantId: string | null;
|
|
285
|
+
id: string;
|
|
286
286
|
createdAt: string;
|
|
287
287
|
title: string;
|
|
288
288
|
body: string;
|
|
@@ -310,8 +310,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
310
310
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
id: string;
|
|
313
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
314
313
|
createdAt: string;
|
|
314
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
315
315
|
title: string;
|
|
316
316
|
detail: string;
|
|
317
317
|
href: string;
|
|
@@ -319,8 +319,8 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
319
319
|
sourceId?: string | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
id: string;
|
|
322
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
323
322
|
createdAt: string;
|
|
323
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
324
324
|
title: string;
|
|
325
325
|
detail: string;
|
|
326
326
|
href: string;
|
|
@@ -345,8 +345,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
345
345
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
|
347
347
|
id: string;
|
|
348
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
349
348
|
createdAt: string;
|
|
349
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
350
350
|
title: string;
|
|
351
351
|
detail: string;
|
|
352
352
|
href: string;
|
|
@@ -354,8 +354,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
354
354
|
sourceId?: string | undefined;
|
|
355
355
|
}, {
|
|
356
356
|
id: string;
|
|
357
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
358
357
|
createdAt: string;
|
|
358
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
359
359
|
title: string;
|
|
360
360
|
detail: string;
|
|
361
361
|
href: string;
|
|
@@ -367,8 +367,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
368
|
data: {
|
|
369
369
|
id: string;
|
|
370
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
371
370
|
createdAt: string;
|
|
371
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
372
372
|
title: string;
|
|
373
373
|
detail: string;
|
|
374
374
|
href: string;
|
|
@@ -380,8 +380,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
380
380
|
}, {
|
|
381
381
|
data: {
|
|
382
382
|
id: string;
|
|
383
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
384
383
|
createdAt: string;
|
|
384
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
385
385
|
title: string;
|
|
386
386
|
detail: string;
|
|
387
387
|
href: string;
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var metadataSchema = z.record(
|
|
|
29
29
|
var modeSchema = z.enum(["test", "live"]);
|
|
30
30
|
var paymentCurrencySchema = z.enum(["USDC", "EURC"]);
|
|
31
31
|
var tokenSymbolSchema = z.enum(["USDC", "EURC", "USYC"]);
|
|
32
|
-
var merchantTierSchema = z.enum(["free", "
|
|
32
|
+
var merchantTierSchema = z.enum(["free", "starter", "growth", "enterprise"]);
|
|
33
33
|
var arcEnvironmentSchema = z.enum(["testnet", "mainnet"]);
|
|
34
34
|
var merchantStatusSchema = z.enum(["active", "suspended", "closed"]);
|
|
35
35
|
var merchantRoleSchema = z.enum(["owner", "admin", "developer", "read_only"]);
|