@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.
Files changed (96) hide show
  1. package/dist/agents.cjs +1 -1
  2. package/dist/agents.cjs.map +1 -1
  3. package/dist/agents.js +1 -1
  4. package/dist/agents.js.map +1 -1
  5. package/dist/analytics.cjs +1 -1
  6. package/dist/analytics.cjs.map +1 -1
  7. package/dist/analytics.d.cts +136 -136
  8. package/dist/analytics.d.ts +136 -136
  9. package/dist/analytics.js +1 -1
  10. package/dist/analytics.js.map +1 -1
  11. package/dist/api-keys.cjs +1 -1
  12. package/dist/api-keys.cjs.map +1 -1
  13. package/dist/api-keys.d.cts +20 -20
  14. package/dist/api-keys.d.ts +20 -20
  15. package/dist/api-keys.js +1 -1
  16. package/dist/api-keys.js.map +1 -1
  17. package/dist/common.cjs +1 -1
  18. package/dist/common.cjs.map +1 -1
  19. package/dist/common.d.cts +1 -1
  20. package/dist/common.d.ts +1 -1
  21. package/dist/common.js +1 -1
  22. package/dist/common.js.map +1 -1
  23. package/dist/compliance.cjs +1 -1
  24. package/dist/compliance.cjs.map +1 -1
  25. package/dist/compliance.d.cts +4 -4
  26. package/dist/compliance.d.ts +4 -4
  27. package/dist/compliance.js +1 -1
  28. package/dist/compliance.js.map +1 -1
  29. package/dist/customers.cjs +1 -1
  30. package/dist/customers.cjs.map +1 -1
  31. package/dist/customers.d.cts +6 -6
  32. package/dist/customers.d.ts +6 -6
  33. package/dist/customers.js +1 -1
  34. package/dist/customers.js.map +1 -1
  35. package/dist/events.cjs +1 -1
  36. package/dist/events.cjs.map +1 -1
  37. package/dist/events.d.cts +1433 -1433
  38. package/dist/events.d.ts +1433 -1433
  39. package/dist/events.js +1 -1
  40. package/dist/events.js.map +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.cts +14 -14
  44. package/dist/index.d.ts +14 -14
  45. package/dist/index.js +1 -1
  46. package/dist/index.js.map +1 -1
  47. package/dist/invoices.cjs +1 -1
  48. package/dist/invoices.cjs.map +1 -1
  49. package/dist/invoices.d.cts +10 -10
  50. package/dist/invoices.d.ts +10 -10
  51. package/dist/invoices.js +1 -1
  52. package/dist/invoices.js.map +1 -1
  53. package/dist/merchants.cjs +1 -1
  54. package/dist/merchants.cjs.map +1 -1
  55. package/dist/merchants.d.cts +31 -31
  56. package/dist/merchants.d.ts +31 -31
  57. package/dist/merchants.js +1 -1
  58. package/dist/merchants.js.map +1 -1
  59. package/dist/payment-sessions.cjs +1 -1
  60. package/dist/payment-sessions.cjs.map +1 -1
  61. package/dist/payment-sessions.d.cts +16 -16
  62. package/dist/payment-sessions.d.ts +16 -16
  63. package/dist/payment-sessions.js +1 -1
  64. package/dist/payment-sessions.js.map +1 -1
  65. package/dist/refunds.cjs +1 -1
  66. package/dist/refunds.cjs.map +1 -1
  67. package/dist/refunds.d.cts +36 -36
  68. package/dist/refunds.d.ts +36 -36
  69. package/dist/refunds.js +1 -1
  70. package/dist/refunds.js.map +1 -1
  71. package/dist/storefronts.cjs +1 -1
  72. package/dist/storefronts.cjs.map +1 -1
  73. package/dist/storefronts.d.cts +27 -27
  74. package/dist/storefronts.d.ts +27 -27
  75. package/dist/storefronts.js +1 -1
  76. package/dist/storefronts.js.map +1 -1
  77. package/dist/subscriptions.cjs +1 -1
  78. package/dist/subscriptions.cjs.map +1 -1
  79. package/dist/subscriptions.d.cts +30 -30
  80. package/dist/subscriptions.d.ts +30 -30
  81. package/dist/subscriptions.js +1 -1
  82. package/dist/subscriptions.js.map +1 -1
  83. package/dist/transactions.cjs +1 -1
  84. package/dist/transactions.cjs.map +1 -1
  85. package/dist/transactions.d.cts +12 -12
  86. package/dist/transactions.d.ts +12 -12
  87. package/dist/transactions.js +1 -1
  88. package/dist/transactions.js.map +1 -1
  89. package/dist/webhooks.cjs +1 -1
  90. package/dist/webhooks.cjs.map +1 -1
  91. package/dist/webhooks.d.cts +22 -22
  92. package/dist/webhooks.d.ts +22 -22
  93. package/dist/webhooks.js +1 -1
  94. package/dist/webhooks.js.map +1 -1
  95. package/package.json +4 -4
  96. 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", "growth", "business", "enterprise"]);
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"]);