@keystrokehq/ramp 0.0.7 → 0.0.9
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/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/{accounting-i6txC-MI.mjs → accounting-Ceh5QgHA.mjs} +1 -1
- package/dist/accounting-fields.d.mts +8 -8
- package/dist/accounting-fields.mjs +10 -10
- package/dist/accounting-gl-accounts.d.mts +4 -4
- package/dist/accounting-gl-accounts.mjs +6 -6
- package/dist/accounting-subsidiaries.d.mts +4 -4
- package/dist/accounting-subsidiaries.mjs +6 -6
- package/dist/accounting-sync.d.mts +4 -4
- package/dist/accounting-sync.mjs +6 -6
- package/dist/accounting-tracking-categories.d.mts +3 -3
- package/dist/accounting-tracking-categories.mjs +5 -5
- package/dist/accounting-vendors.d.mts +4 -4
- package/dist/accounting-vendors.mjs +6 -6
- package/dist/applications.d.mts +6 -6
- package/dist/applications.mjs +5 -5
- package/dist/{bills-B8W9et3K.mjs → bills-D7vZ5JRH.mjs} +1 -1
- package/dist/bills.d.mts +24 -24
- package/dist/bills.mjs +10 -10
- package/dist/{business-CztnWUvt.mjs → business-DAD870OI.mjs} +1 -1
- package/dist/business.d.mts +2 -2
- package/dist/business.mjs +3 -3
- package/dist/card-programs.d.mts +4 -4
- package/dist/card-programs.mjs +6 -6
- package/dist/{cards-BfgPcR38.mjs → cards-DNZQtrd7.mjs} +1 -1
- package/dist/cards.d.mts +10 -10
- package/dist/cards.mjs +13 -13
- package/dist/cashbacks.d.mts +3 -3
- package/dist/cashbacks.mjs +5 -5
- package/dist/client.d.mts +2 -2
- package/dist/client.mjs +2 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +6 -6
- package/dist/departments.mjs +8 -8
- package/dist/dist-Bbp6t-WQ.mjs +74 -0
- package/dist/entities.d.mts +3 -3
- package/dist/entities.mjs +5 -5
- package/dist/{errors-Dm2DruuS.d.mts → errors-TrirAChI.d.mts} +1 -1
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-pbmCYnqr.mjs → factory-hiMPmrYD.mjs} +1 -2
- package/dist/{integration-D6jpX1pZ.d.mts → integration-BTjaW9hR.d.mts} +3 -4
- package/dist/{integration-8czEQ_pK.mjs → integration-BczMK0aE.mjs} +95 -3
- package/dist/limits.d.mts +6 -6
- package/dist/limits.mjs +8 -8
- package/dist/locations.d.mts +6 -6
- package/dist/locations.mjs +8 -8
- package/dist/memos.d.mts +3 -3
- package/dist/memos.mjs +5 -5
- package/dist/{new-resources-BBJsJEjT.mjs → new-resources-Cj_YECLc.mjs} +1 -1
- package/dist/{organization-BSaEpvBn.mjs → organization-BdyZhkYN.mjs} +1 -1
- package/dist/purchase-orders.d.mts +6 -6
- package/dist/purchase-orders.mjs +5 -5
- package/dist/receipt-integrations.d.mts +3 -3
- package/dist/receipt-integrations.mjs +4 -4
- package/dist/{receipts-STq41c2M.mjs → receipts-DKq5Kjhr.mjs} +1 -1
- package/dist/receipts.d.mts +4 -4
- package/dist/receipts.mjs +6 -6
- package/dist/{reimbursements-OknrZUMF.mjs → reimbursements--xBvXROu.mjs} +1 -1
- package/dist/reimbursements.d.mts +6 -6
- package/dist/reimbursements.mjs +5 -5
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +3 -3
- package/dist/spend-programs.mjs +5 -5
- package/dist/spend-requests.d.mts +4 -4
- package/dist/spend-requests.mjs +6 -6
- package/dist/statements.d.mts +3 -3
- package/dist/statements.mjs +5 -5
- package/dist/{transactions-Djd0oIGK.mjs → transactions-IIG8obly.mjs} +1 -1
- package/dist/transactions.d.mts +9 -9
- package/dist/transactions.mjs +6 -6
- package/dist/{transfers-WBQZVdGP.mjs → transfers-C-76qq3o.mjs} +1 -1
- package/dist/transfers.d.mts +9 -9
- package/dist/transfers.mjs +5 -5
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +3 -3
- package/dist/unified-requests.mjs +5 -5
- package/dist/{users-ufcXrfNK.mjs → users-Bx4SR4el.mjs} +1 -1
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +9 -9
- package/dist/vendor-bank-accounts.d.mts +6 -6
- package/dist/vendor-bank-accounts.mjs +8 -8
- package/dist/{vendors-gH-w9b_R.d.mts → vendors-De3fNIYJ.d.mts} +32 -32
- package/dist/{vendors-Bx1cgXwC.mjs → vendors-lAh0yain.mjs} +1 -1
- package/dist/vendors.d.mts +6 -6
- package/dist/vendors.mjs +8 -8
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CsbvcgrC.mjs → webhook-CzjBDCWU.mjs} +1 -1
- package/dist/{webhooks-mgmt-d1xgVpWx.mjs → webhooks-mgmt--fU1Uxfa.mjs} +1 -1
- package/dist/webhooks.d.mts +6 -6
- package/dist/webhooks.mjs +8 -8
- package/package.json +4 -4
- /package/dist/{common-CUpmNYXw.mjs → common-Dune7BHS.mjs} +0 -0
- /package/dist/{shared-CTTtP5gv.mjs → shared-3DudrK5L.mjs} +0 -0
- /package/dist/{webhook-Bp38YQE9.d.mts → webhook-sde3Ui2N.d.mts} +0 -0
|
@@ -3,13 +3,13 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/schemas/bills.d.ts
|
|
4
4
|
declare const rampBillStatusSchema: z.ZodEnum<{
|
|
5
5
|
PENDING: "PENDING";
|
|
6
|
-
OPEN: "OPEN";
|
|
7
|
-
DRAFT: "DRAFT";
|
|
8
6
|
APPROVED: "APPROVED";
|
|
9
7
|
REJECTED: "REJECTED";
|
|
10
8
|
PAID: "PAID";
|
|
11
9
|
CANCELED: "CANCELED";
|
|
10
|
+
DRAFT: "DRAFT";
|
|
12
11
|
FAILED: "FAILED";
|
|
12
|
+
OPEN: "OPEN";
|
|
13
13
|
SCHEDULED: "SCHEDULED";
|
|
14
14
|
}>;
|
|
15
15
|
declare const rampBillLineItemSchema: z.ZodObject<{
|
|
@@ -35,13 +35,13 @@ declare const rampBillSchema: z.ZodObject<{
|
|
|
35
35
|
memo: z.ZodOptional<z.ZodString>;
|
|
36
36
|
status: z.ZodOptional<z.ZodEnum<{
|
|
37
37
|
PENDING: "PENDING";
|
|
38
|
-
OPEN: "OPEN";
|
|
39
|
-
DRAFT: "DRAFT";
|
|
40
38
|
APPROVED: "APPROVED";
|
|
41
39
|
REJECTED: "REJECTED";
|
|
42
40
|
PAID: "PAID";
|
|
43
41
|
CANCELED: "CANCELED";
|
|
42
|
+
DRAFT: "DRAFT";
|
|
44
43
|
FAILED: "FAILED";
|
|
44
|
+
OPEN: "OPEN";
|
|
45
45
|
SCHEDULED: "SCHEDULED";
|
|
46
46
|
}>>;
|
|
47
47
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -71,13 +71,13 @@ declare const rampBillListInputSchema: z.ZodObject<{
|
|
|
71
71
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
72
72
|
status: z.ZodOptional<z.ZodEnum<{
|
|
73
73
|
PENDING: "PENDING";
|
|
74
|
-
OPEN: "OPEN";
|
|
75
|
-
DRAFT: "DRAFT";
|
|
76
74
|
APPROVED: "APPROVED";
|
|
77
75
|
REJECTED: "REJECTED";
|
|
78
76
|
PAID: "PAID";
|
|
79
77
|
CANCELED: "CANCELED";
|
|
78
|
+
DRAFT: "DRAFT";
|
|
80
79
|
FAILED: "FAILED";
|
|
80
|
+
OPEN: "OPEN";
|
|
81
81
|
SCHEDULED: "SCHEDULED";
|
|
82
82
|
}>>;
|
|
83
83
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -97,13 +97,13 @@ declare const rampBillListSchema: z.ZodObject<{
|
|
|
97
97
|
memo: z.ZodOptional<z.ZodString>;
|
|
98
98
|
status: z.ZodOptional<z.ZodEnum<{
|
|
99
99
|
PENDING: "PENDING";
|
|
100
|
-
OPEN: "OPEN";
|
|
101
|
-
DRAFT: "DRAFT";
|
|
102
100
|
APPROVED: "APPROVED";
|
|
103
101
|
REJECTED: "REJECTED";
|
|
104
102
|
PAID: "PAID";
|
|
105
103
|
CANCELED: "CANCELED";
|
|
104
|
+
DRAFT: "DRAFT";
|
|
106
105
|
FAILED: "FAILED";
|
|
106
|
+
OPEN: "OPEN";
|
|
107
107
|
SCHEDULED: "SCHEDULED";
|
|
108
108
|
}>>;
|
|
109
109
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -349,9 +349,9 @@ type RampSpendRequestComment = z.infer<typeof rampSpendRequestCommentSchema>;
|
|
|
349
349
|
*/
|
|
350
350
|
declare const rampPurchaseOrderStatusSchema: z.ZodEnum<{
|
|
351
351
|
PENDING: "PENDING";
|
|
352
|
-
DRAFT: "DRAFT";
|
|
353
352
|
APPROVED: "APPROVED";
|
|
354
353
|
CANCELED: "CANCELED";
|
|
354
|
+
DRAFT: "DRAFT";
|
|
355
355
|
DENIED: "DENIED";
|
|
356
356
|
CLOSED: "CLOSED";
|
|
357
357
|
}>;
|
|
@@ -360,9 +360,9 @@ declare const rampPurchaseOrderSchema: z.ZodObject<{
|
|
|
360
360
|
number: z.ZodOptional<z.ZodString>;
|
|
361
361
|
status: z.ZodOptional<z.ZodEnum<{
|
|
362
362
|
PENDING: "PENDING";
|
|
363
|
-
DRAFT: "DRAFT";
|
|
364
363
|
APPROVED: "APPROVED";
|
|
365
364
|
CANCELED: "CANCELED";
|
|
365
|
+
DRAFT: "DRAFT";
|
|
366
366
|
DENIED: "DENIED";
|
|
367
367
|
CLOSED: "CLOSED";
|
|
368
368
|
}>>;
|
|
@@ -379,9 +379,9 @@ type RampPurchaseOrder = z.infer<typeof rampPurchaseOrderSchema>;
|
|
|
379
379
|
declare const rampPurchaseOrderListInputSchema: z.ZodObject<{
|
|
380
380
|
status: z.ZodOptional<z.ZodEnum<{
|
|
381
381
|
PENDING: "PENDING";
|
|
382
|
-
DRAFT: "DRAFT";
|
|
383
382
|
APPROVED: "APPROVED";
|
|
384
383
|
CANCELED: "CANCELED";
|
|
384
|
+
DRAFT: "DRAFT";
|
|
385
385
|
DENIED: "DENIED";
|
|
386
386
|
CLOSED: "CLOSED";
|
|
387
387
|
}>>;
|
|
@@ -395,9 +395,9 @@ declare const rampPurchaseOrderListSchema: z.ZodObject<{
|
|
|
395
395
|
number: z.ZodOptional<z.ZodString>;
|
|
396
396
|
status: z.ZodOptional<z.ZodEnum<{
|
|
397
397
|
PENDING: "PENDING";
|
|
398
|
-
DRAFT: "DRAFT";
|
|
399
398
|
APPROVED: "APPROVED";
|
|
400
399
|
CANCELED: "CANCELED";
|
|
400
|
+
DRAFT: "DRAFT";
|
|
401
401
|
DENIED: "DENIED";
|
|
402
402
|
CLOSED: "CLOSED";
|
|
403
403
|
}>>;
|
|
@@ -419,9 +419,9 @@ declare const rampPurchaseOrderGetInputSchema: z.ZodObject<{
|
|
|
419
419
|
}, z.core.$strip>;
|
|
420
420
|
declare const rampApplicationStatusSchema: z.ZodEnum<{
|
|
421
421
|
PENDING: "PENDING";
|
|
422
|
-
DRAFT: "DRAFT";
|
|
423
422
|
APPROVED: "APPROVED";
|
|
424
423
|
CANCELED: "CANCELED";
|
|
424
|
+
DRAFT: "DRAFT";
|
|
425
425
|
DENIED: "DENIED";
|
|
426
426
|
}>;
|
|
427
427
|
declare const rampApplicationSchema: z.ZodObject<{
|
|
@@ -429,9 +429,9 @@ declare const rampApplicationSchema: z.ZodObject<{
|
|
|
429
429
|
applicant_user_id: z.ZodOptional<z.ZodString>;
|
|
430
430
|
status: z.ZodOptional<z.ZodEnum<{
|
|
431
431
|
PENDING: "PENDING";
|
|
432
|
-
DRAFT: "DRAFT";
|
|
433
432
|
APPROVED: "APPROVED";
|
|
434
433
|
CANCELED: "CANCELED";
|
|
434
|
+
DRAFT: "DRAFT";
|
|
435
435
|
DENIED: "DENIED";
|
|
436
436
|
}>>;
|
|
437
437
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -441,9 +441,9 @@ type RampApplication = z.infer<typeof rampApplicationSchema>;
|
|
|
441
441
|
declare const rampApplicationListInputSchema: z.ZodObject<{
|
|
442
442
|
status: z.ZodOptional<z.ZodEnum<{
|
|
443
443
|
PENDING: "PENDING";
|
|
444
|
-
DRAFT: "DRAFT";
|
|
445
444
|
APPROVED: "APPROVED";
|
|
446
445
|
CANCELED: "CANCELED";
|
|
446
|
+
DRAFT: "DRAFT";
|
|
447
447
|
DENIED: "DENIED";
|
|
448
448
|
}>>;
|
|
449
449
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -455,9 +455,9 @@ declare const rampApplicationListSchema: z.ZodObject<{
|
|
|
455
455
|
applicant_user_id: z.ZodOptional<z.ZodString>;
|
|
456
456
|
status: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
PENDING: "PENDING";
|
|
458
|
-
DRAFT: "DRAFT";
|
|
459
458
|
APPROVED: "APPROVED";
|
|
460
459
|
CANCELED: "CANCELED";
|
|
460
|
+
DRAFT: "DRAFT";
|
|
461
461
|
DENIED: "DENIED";
|
|
462
462
|
}>>;
|
|
463
463
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -535,11 +535,11 @@ declare const rampUnifiedRequestGetInputSchema: z.ZodObject<{
|
|
|
535
535
|
//#region src/schemas/reimbursements.d.ts
|
|
536
536
|
declare const rampReimbursementStateSchema: z.ZodEnum<{
|
|
537
537
|
PENDING: "PENDING";
|
|
538
|
-
DRAFT: "DRAFT";
|
|
539
538
|
APPROVED: "APPROVED";
|
|
540
539
|
REJECTED: "REJECTED";
|
|
541
540
|
PAID: "PAID";
|
|
542
541
|
CANCELED: "CANCELED";
|
|
542
|
+
DRAFT: "DRAFT";
|
|
543
543
|
}>;
|
|
544
544
|
declare const rampReimbursementSchema: z.ZodObject<{
|
|
545
545
|
id: z.ZodString;
|
|
@@ -554,11 +554,11 @@ declare const rampReimbursementSchema: z.ZodObject<{
|
|
|
554
554
|
memo: z.ZodOptional<z.ZodString>;
|
|
555
555
|
state: z.ZodOptional<z.ZodEnum<{
|
|
556
556
|
PENDING: "PENDING";
|
|
557
|
-
DRAFT: "DRAFT";
|
|
558
557
|
APPROVED: "APPROVED";
|
|
559
558
|
REJECTED: "REJECTED";
|
|
560
559
|
PAID: "PAID";
|
|
561
560
|
CANCELED: "CANCELED";
|
|
561
|
+
DRAFT: "DRAFT";
|
|
562
562
|
}>>;
|
|
563
563
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
564
564
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -572,11 +572,11 @@ declare const rampReimbursementListInputSchema: z.ZodObject<{
|
|
|
572
572
|
user_id: z.ZodOptional<z.ZodString>;
|
|
573
573
|
state: z.ZodOptional<z.ZodEnum<{
|
|
574
574
|
PENDING: "PENDING";
|
|
575
|
-
DRAFT: "DRAFT";
|
|
576
575
|
APPROVED: "APPROVED";
|
|
577
576
|
REJECTED: "REJECTED";
|
|
578
577
|
PAID: "PAID";
|
|
579
578
|
CANCELED: "CANCELED";
|
|
579
|
+
DRAFT: "DRAFT";
|
|
580
580
|
}>>;
|
|
581
581
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
582
582
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -597,11 +597,11 @@ declare const rampReimbursementListSchema: z.ZodObject<{
|
|
|
597
597
|
memo: z.ZodOptional<z.ZodString>;
|
|
598
598
|
state: z.ZodOptional<z.ZodEnum<{
|
|
599
599
|
PENDING: "PENDING";
|
|
600
|
-
DRAFT: "DRAFT";
|
|
601
600
|
APPROVED: "APPROVED";
|
|
602
601
|
REJECTED: "REJECTED";
|
|
603
602
|
PAID: "PAID";
|
|
604
603
|
CANCELED: "CANCELED";
|
|
604
|
+
DRAFT: "DRAFT";
|
|
605
605
|
}>>;
|
|
606
606
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -620,11 +620,11 @@ declare const rampReimbursementGetInputSchema: z.ZodObject<{
|
|
|
620
620
|
//#endregion
|
|
621
621
|
//#region src/schemas/transactions.d.ts
|
|
622
622
|
declare const rampTransactionStateSchema: z.ZodEnum<{
|
|
623
|
+
PENDING: "PENDING";
|
|
623
624
|
CLEARED: "CLEARED";
|
|
624
625
|
COMPLETION: "COMPLETION";
|
|
625
626
|
DECLINED: "DECLINED";
|
|
626
627
|
ERROR: "ERROR";
|
|
627
|
-
PENDING: "PENDING";
|
|
628
628
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
629
629
|
PROCESSING: "PROCESSING";
|
|
630
630
|
}>;
|
|
@@ -646,11 +646,11 @@ declare const rampTransactionSchema: z.ZodObject<{
|
|
|
646
646
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
647
647
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
648
648
|
state: z.ZodOptional<z.ZodEnum<{
|
|
649
|
+
PENDING: "PENDING";
|
|
649
650
|
CLEARED: "CLEARED";
|
|
650
651
|
COMPLETION: "COMPLETION";
|
|
651
652
|
DECLINED: "DECLINED";
|
|
652
653
|
ERROR: "ERROR";
|
|
653
|
-
PENDING: "PENDING";
|
|
654
654
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
655
655
|
PROCESSING: "PROCESSING";
|
|
656
656
|
}>>;
|
|
@@ -671,11 +671,11 @@ declare const rampTransactionListInputSchema: z.ZodObject<{
|
|
|
671
671
|
user_id: z.ZodOptional<z.ZodString>;
|
|
672
672
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
673
673
|
state: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
PENDING: "PENDING";
|
|
674
675
|
CLEARED: "CLEARED";
|
|
675
676
|
COMPLETION: "COMPLETION";
|
|
676
677
|
DECLINED: "DECLINED";
|
|
677
678
|
ERROR: "ERROR";
|
|
678
|
-
PENDING: "PENDING";
|
|
679
679
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
680
680
|
PROCESSING: "PROCESSING";
|
|
681
681
|
}>>;
|
|
@@ -709,11 +709,11 @@ declare const rampTransactionListSchema: z.ZodObject<{
|
|
|
709
709
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
710
710
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
711
711
|
state: z.ZodOptional<z.ZodEnum<{
|
|
712
|
+
PENDING: "PENDING";
|
|
712
713
|
CLEARED: "CLEARED";
|
|
713
714
|
COMPLETION: "COMPLETION";
|
|
714
715
|
DECLINED: "DECLINED";
|
|
715
716
|
ERROR: "ERROR";
|
|
716
|
-
PENDING: "PENDING";
|
|
717
717
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
718
718
|
PROCESSING: "PROCESSING";
|
|
719
719
|
}>>;
|
|
@@ -735,10 +735,10 @@ declare const rampTransactionGetInputSchema: z.ZodObject<{
|
|
|
735
735
|
//#region src/schemas/transfers.d.ts
|
|
736
736
|
declare const rampTransferStatusSchema: z.ZodEnum<{
|
|
737
737
|
PENDING: "PENDING";
|
|
738
|
-
PROCESSING: "PROCESSING";
|
|
739
738
|
CANCELED: "CANCELED";
|
|
740
|
-
|
|
739
|
+
PROCESSING: "PROCESSING";
|
|
741
740
|
COMPLETED: "COMPLETED";
|
|
741
|
+
FAILED: "FAILED";
|
|
742
742
|
}>;
|
|
743
743
|
declare const rampTransferSchema: z.ZodObject<{
|
|
744
744
|
id: z.ZodString;
|
|
@@ -748,10 +748,10 @@ declare const rampTransferSchema: z.ZodObject<{
|
|
|
748
748
|
}, z.core.$strip>>;
|
|
749
749
|
status: z.ZodOptional<z.ZodEnum<{
|
|
750
750
|
PENDING: "PENDING";
|
|
751
|
-
PROCESSING: "PROCESSING";
|
|
752
751
|
CANCELED: "CANCELED";
|
|
753
|
-
|
|
752
|
+
PROCESSING: "PROCESSING";
|
|
754
753
|
COMPLETED: "COMPLETED";
|
|
754
|
+
FAILED: "FAILED";
|
|
755
755
|
}>>;
|
|
756
756
|
created_at: z.ZodOptional<z.ZodString>;
|
|
757
757
|
settled_at: z.ZodOptional<z.ZodString>;
|
|
@@ -764,10 +764,10 @@ declare const rampTransferListInputSchema: z.ZodObject<{
|
|
|
764
764
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
765
765
|
status: z.ZodOptional<z.ZodEnum<{
|
|
766
766
|
PENDING: "PENDING";
|
|
767
|
-
PROCESSING: "PROCESSING";
|
|
768
767
|
CANCELED: "CANCELED";
|
|
769
|
-
|
|
768
|
+
PROCESSING: "PROCESSING";
|
|
770
769
|
COMPLETED: "COMPLETED";
|
|
770
|
+
FAILED: "FAILED";
|
|
771
771
|
}>>;
|
|
772
772
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
773
773
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -781,10 +781,10 @@ declare const rampTransferListSchema: z.ZodObject<{
|
|
|
781
781
|
}, z.core.$strip>>;
|
|
782
782
|
status: z.ZodOptional<z.ZodEnum<{
|
|
783
783
|
PENDING: "PENDING";
|
|
784
|
-
PROCESSING: "PROCESSING";
|
|
785
784
|
CANCELED: "CANCELED";
|
|
786
|
-
|
|
785
|
+
PROCESSING: "PROCESSING";
|
|
787
786
|
COMPLETED: "COMPLETED";
|
|
787
|
+
FAILED: "FAILED";
|
|
788
788
|
}>>;
|
|
789
789
|
created_at: z.ZodOptional<z.ZodString>;
|
|
790
790
|
settled_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/vendors.ts
|
package/dist/vendors.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/vendors.d.ts
|
|
@@ -25,7 +25,7 @@ declare const listVendors: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
25
|
page: z.ZodOptional<z.ZodObject<{
|
|
26
26
|
next: z.ZodOptional<z.ZodString>;
|
|
27
27
|
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
29
29
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
30
30
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
31
31
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -44,7 +44,7 @@ declare const getVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
44
44
|
address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
45
45
|
created_at: z.ZodOptional<z.ZodString>;
|
|
46
46
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
47
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
47
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
48
48
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
49
49
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
50
50
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -71,7 +71,7 @@ declare const createVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
71
71
|
address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
72
72
|
created_at: z.ZodOptional<z.ZodString>;
|
|
73
73
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
74
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
75
75
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
76
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
77
77
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -98,7 +98,7 @@ declare const updateVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
98
98
|
address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
99
99
|
created_at: z.ZodOptional<z.ZodString>;
|
|
100
100
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
101
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
101
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
102
102
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
103
103
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
104
104
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -107,7 +107,7 @@ declare const deleteVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
107
107
|
vendorId: z.ZodString;
|
|
108
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
109
|
success: z.ZodBoolean;
|
|
110
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
110
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
111
111
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
112
112
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
113
113
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/vendors.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, p as rampVendorSchema, u as rampVendorGetInputSchema } from "./vendors-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, p as rampVendorSchema, u as rampVendorGetInputSchema } from "./vendors-lAh0yain.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/vendors.ts
|
|
8
8
|
const listVendors = rampOperation({
|
|
9
|
-
id: "
|
|
9
|
+
id: "ramp.list-vendors",
|
|
10
10
|
name: "List Vendors",
|
|
11
11
|
description: "List Ramp vendors, optionally filtered by name or email.",
|
|
12
12
|
input: rampVendorListInputSchema,
|
|
@@ -23,7 +23,7 @@ const listVendors = rampOperation({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
const getVendor = rampOperation({
|
|
26
|
-
id: "
|
|
26
|
+
id: "ramp.get-vendor",
|
|
27
27
|
name: "Get Vendor",
|
|
28
28
|
description: "Fetch a Ramp vendor by id.",
|
|
29
29
|
input: rampVendorGetInputSchema,
|
|
@@ -34,7 +34,7 @@ const getVendor = rampOperation({
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
const createVendor = rampOperation({
|
|
37
|
-
id: "
|
|
37
|
+
id: "ramp.create-vendor",
|
|
38
38
|
name: "Create Vendor",
|
|
39
39
|
description: "Create a new Ramp vendor record.",
|
|
40
40
|
input: rampVendorCreateInputSchema,
|
|
@@ -51,7 +51,7 @@ const createVendor = rampOperation({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const updateVendor = rampOperation({
|
|
54
|
-
id: "
|
|
54
|
+
id: "ramp.update-vendor",
|
|
55
55
|
name: "Update Vendor",
|
|
56
56
|
description: "Update editable fields on an existing Ramp vendor.",
|
|
57
57
|
input: rampVendorUpdateInputSchema,
|
|
@@ -68,7 +68,7 @@ const updateVendor = rampOperation({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
const deleteVendor = rampOperation({
|
|
71
|
-
id: "
|
|
71
|
+
id: "ramp.delete-vendor",
|
|
72
72
|
name: "Delete Vendor",
|
|
73
73
|
description: "Delete a Ramp vendor by id.",
|
|
74
74
|
input: rampVendorDeleteInputSchema,
|
package/dist/verification.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/webhooks-mgmt.ts
|
package/dist/webhooks.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/webhooks.d.ts
|
|
@@ -18,7 +18,7 @@ declare const listWebhookSubscriptions: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
18
18
|
page: z.ZodOptional<z.ZodObject<{
|
|
19
19
|
next: z.ZodOptional<z.ZodString>;
|
|
20
20
|
}, z.core.$strip>>;
|
|
21
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
21
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
22
22
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
23
23
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
24
24
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -32,7 +32,7 @@ declare const getWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
32
32
|
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
33
|
created_at: z.ZodOptional<z.ZodString>;
|
|
34
34
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
35
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
35
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
36
36
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
37
37
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
38
38
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -48,7 +48,7 @@ declare const createWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
48
48
|
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
49
|
created_at: z.ZodOptional<z.ZodString>;
|
|
50
50
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
51
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
52
52
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
54
54
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -65,7 +65,7 @@ declare const updateWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
65
65
|
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
66
|
created_at: z.ZodOptional<z.ZodString>;
|
|
67
67
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
68
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
68
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
69
69
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
70
70
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
71
71
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -74,7 +74,7 @@ declare const deleteWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
74
74
|
webhookId: z.ZodString;
|
|
75
75
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
76
|
success: z.ZodBoolean;
|
|
77
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
77
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
78
78
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
79
79
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
80
80
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/webhooks.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "./webhooks-mgmt
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "./webhooks-mgmt--fU1Uxfa.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/webhooks.ts
|
|
8
8
|
const listWebhookSubscriptions = rampOperation({
|
|
9
|
-
id: "
|
|
9
|
+
id: "ramp.list-webhook-subscriptions",
|
|
10
10
|
name: "List Webhook Subscriptions",
|
|
11
11
|
description: "List webhook subscriptions registered on the connected Ramp app.",
|
|
12
12
|
input: rampWebhookSubscriptionListInputSchema,
|
|
@@ -20,7 +20,7 @@ const listWebhookSubscriptions = rampOperation({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
const getWebhookSubscription = rampOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "ramp.get-webhook-subscription",
|
|
24
24
|
name: "Get Webhook Subscription",
|
|
25
25
|
description: "Fetch a webhook subscription by id.",
|
|
26
26
|
input: rampWebhookSubscriptionGetInputSchema,
|
|
@@ -31,7 +31,7 @@ const getWebhookSubscription = rampOperation({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
const createWebhookSubscription = rampOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "ramp.create-webhook-subscription",
|
|
35
35
|
name: "Create Webhook Subscription",
|
|
36
36
|
description: "Register a new webhook subscription. Will trigger Ramp's URL-validation handshake.",
|
|
37
37
|
input: rampWebhookSubscriptionCreateInputSchema,
|
|
@@ -48,7 +48,7 @@ const createWebhookSubscription = rampOperation({
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
const updateWebhookSubscription = rampOperation({
|
|
51
|
-
id: "
|
|
51
|
+
id: "ramp.update-webhook-subscription",
|
|
52
52
|
name: "Update Webhook Subscription",
|
|
53
53
|
description: "Update URL, active state, or enabled events on an existing subscription.",
|
|
54
54
|
input: rampWebhookSubscriptionUpdateInputSchema,
|
|
@@ -65,7 +65,7 @@ const updateWebhookSubscription = rampOperation({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
const deleteWebhookSubscription = rampOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "ramp.delete-webhook-subscription",
|
|
69
69
|
name: "Delete Webhook Subscription",
|
|
70
70
|
description: "Delete a webhook subscription by id.",
|
|
71
71
|
input: rampWebhookSubscriptionDeleteInputSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/ramp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -176,7 +176,6 @@
|
|
|
176
176
|
"LICENSE"
|
|
177
177
|
],
|
|
178
178
|
"dependencies": {
|
|
179
|
-
"@keystrokehq/integration-authoring": "^0.0.7",
|
|
180
179
|
"zod": "^4.3.6"
|
|
181
180
|
},
|
|
182
181
|
"peerDependencies": {
|
|
@@ -187,9 +186,10 @@
|
|
|
187
186
|
"tsdown": "^0.20.3",
|
|
188
187
|
"typescript": "^5.9.3",
|
|
189
188
|
"vitest": "^4.0.18",
|
|
190
|
-
"@keystrokehq/core": "^0.0.
|
|
189
|
+
"@keystrokehq/core": "^0.0.12",
|
|
190
|
+
"@keystrokehq/typescript-config": "0.0.0",
|
|
191
191
|
"@keystrokehq/test-utils": "0.0.0",
|
|
192
|
-
"@keystrokehq/
|
|
192
|
+
"@keystrokehq/integration-authoring": "0.0.9"
|
|
193
193
|
},
|
|
194
194
|
"keywords": [
|
|
195
195
|
"ramp",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|