@keystrokehq/ramp 0.0.8 → 0.0.15
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 -7
- package/dist/_official/index.mjs +1 -1
- package/dist/accounting-fields.d.mts +7 -22
- package/dist/accounting-fields.mjs +1 -1
- package/dist/accounting-gl-accounts.d.mts +3 -10
- package/dist/accounting-gl-accounts.mjs +1 -1
- package/dist/accounting-subsidiaries.d.mts +3 -10
- package/dist/accounting-subsidiaries.mjs +1 -1
- package/dist/accounting-sync.d.mts +3 -10
- package/dist/accounting-sync.mjs +1 -1
- package/dist/accounting-tracking-categories.d.mts +2 -7
- package/dist/accounting-tracking-categories.mjs +1 -1
- package/dist/accounting-vendors.d.mts +3 -10
- package/dist/accounting-vendors.mjs +1 -1
- package/dist/applications.d.mts +8 -13
- package/dist/applications.mjs +1 -1
- package/dist/bills.d.mts +31 -46
- package/dist/bills.mjs +1 -1
- package/dist/business.d.mts +1 -4
- package/dist/business.mjs +1 -1
- package/dist/card-programs.d.mts +3 -10
- package/dist/card-programs.mjs +1 -1
- package/dist/cards.d.mts +9 -28
- package/dist/cards.mjs +1 -1
- package/dist/cashbacks.d.mts +2 -7
- package/dist/cashbacks.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +5 -16
- package/dist/departments.mjs +1 -1
- package/dist/entities.d.mts +2 -7
- package/dist/entities.mjs +1 -1
- package/dist/{factory-pbmCYnqr.mjs → factory-buRnGG7Q.mjs} +1 -1
- package/dist/{integration-8czEQ_pK.mjs → integration-BhMk85GK.mjs} +3 -11
- package/dist/{integration-D6jpX1pZ.d.mts → integration-DJ7sYLA2.d.mts} +2 -16
- package/dist/limits.d.mts +11 -22
- package/dist/limits.mjs +1 -1
- package/dist/locations.d.mts +5 -16
- package/dist/locations.mjs +1 -1
- package/dist/memos.d.mts +2 -7
- package/dist/memos.mjs +1 -1
- package/dist/purchase-orders.d.mts +8 -13
- package/dist/purchase-orders.mjs +1 -1
- package/dist/receipt-integrations.d.mts +2 -7
- package/dist/receipt-integrations.mjs +1 -1
- package/dist/receipts.d.mts +3 -10
- package/dist/receipts.mjs +1 -1
- package/dist/reimbursements.d.mts +8 -13
- package/dist/reimbursements.mjs +1 -1
- package/dist/schemas/index.d.mts +6 -6
- package/dist/spend-programs.d.mts +2 -7
- package/dist/spend-programs.mjs +1 -1
- package/dist/spend-requests.d.mts +6 -13
- package/dist/spend-requests.mjs +1 -1
- package/dist/statements.d.mts +2 -7
- package/dist/statements.mjs +1 -1
- package/dist/transactions.d.mts +13 -20
- package/dist/transactions.mjs +1 -1
- package/dist/transfers.d.mts +8 -13
- package/dist/transfers.mjs +1 -1
- package/dist/triggers/index.d.mts +2 -2
- package/dist/triggers/index.mjs +1 -1
- package/dist/unified-requests.d.mts +5 -10
- package/dist/unified-requests.mjs +1 -1
- package/dist/users.d.mts +6 -19
- package/dist/users.mjs +1 -1
- package/dist/vendor-bank-accounts.d.mts +5 -16
- package/dist/vendor-bank-accounts.mjs +1 -1
- package/dist/{vendors-oZvKUHvt.d.mts → vendors-gH-w9b_R.d.mts} +60 -60
- package/dist/vendors.d.mts +5 -16
- package/dist/vendors.mjs +1 -1
- package/dist/webhooks.d.mts +5 -16
- package/dist/webhooks.mjs +1 -1
- package/package.json +4 -4
|
@@ -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";
|
|
6
8
|
APPROVED: "APPROVED";
|
|
7
|
-
CANCELED: "CANCELED";
|
|
8
9
|
REJECTED: "REJECTED";
|
|
9
10
|
PAID: "PAID";
|
|
10
|
-
|
|
11
|
+
CANCELED: "CANCELED";
|
|
11
12
|
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";
|
|
38
40
|
APPROVED: "APPROVED";
|
|
39
|
-
CANCELED: "CANCELED";
|
|
40
41
|
REJECTED: "REJECTED";
|
|
41
42
|
PAID: "PAID";
|
|
42
|
-
|
|
43
|
+
CANCELED: "CANCELED";
|
|
43
44
|
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";
|
|
74
76
|
APPROVED: "APPROVED";
|
|
75
|
-
CANCELED: "CANCELED";
|
|
76
77
|
REJECTED: "REJECTED";
|
|
77
78
|
PAID: "PAID";
|
|
78
|
-
|
|
79
|
+
CANCELED: "CANCELED";
|
|
79
80
|
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";
|
|
100
102
|
APPROVED: "APPROVED";
|
|
101
|
-
CANCELED: "CANCELED";
|
|
102
103
|
REJECTED: "REJECTED";
|
|
103
104
|
PAID: "PAID";
|
|
104
|
-
|
|
105
|
+
CANCELED: "CANCELED";
|
|
105
106
|
FAILED: "FAILED";
|
|
106
|
-
OPEN: "OPEN";
|
|
107
107
|
SCHEDULED: "SCHEDULED";
|
|
108
108
|
}>>;
|
|
109
109
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -256,8 +256,8 @@ declare const rampSpendProgramGetInputSchema: z.ZodObject<{
|
|
|
256
256
|
declare const rampSpendRequestStatusSchema: z.ZodEnum<{
|
|
257
257
|
PENDING: "PENDING";
|
|
258
258
|
APPROVED: "APPROVED";
|
|
259
|
-
DENIED: "DENIED";
|
|
260
259
|
CANCELED: "CANCELED";
|
|
260
|
+
DENIED: "DENIED";
|
|
261
261
|
FULFILLED: "FULFILLED";
|
|
262
262
|
}>;
|
|
263
263
|
declare const rampSpendRequestSchema: z.ZodObject<{
|
|
@@ -266,8 +266,8 @@ declare const rampSpendRequestSchema: z.ZodObject<{
|
|
|
266
266
|
status: z.ZodOptional<z.ZodEnum<{
|
|
267
267
|
PENDING: "PENDING";
|
|
268
268
|
APPROVED: "APPROVED";
|
|
269
|
-
DENIED: "DENIED";
|
|
270
269
|
CANCELED: "CANCELED";
|
|
270
|
+
DENIED: "DENIED";
|
|
271
271
|
FULFILLED: "FULFILLED";
|
|
272
272
|
}>>;
|
|
273
273
|
justification: z.ZodOptional<z.ZodString>;
|
|
@@ -288,8 +288,8 @@ declare const rampSpendRequestListInputSchema: z.ZodObject<{
|
|
|
288
288
|
status: z.ZodOptional<z.ZodEnum<{
|
|
289
289
|
PENDING: "PENDING";
|
|
290
290
|
APPROVED: "APPROVED";
|
|
291
|
-
DENIED: "DENIED";
|
|
292
291
|
CANCELED: "CANCELED";
|
|
292
|
+
DENIED: "DENIED";
|
|
293
293
|
FULFILLED: "FULFILLED";
|
|
294
294
|
}>>;
|
|
295
295
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -303,8 +303,8 @@ declare const rampSpendRequestListSchema: z.ZodObject<{
|
|
|
303
303
|
status: z.ZodOptional<z.ZodEnum<{
|
|
304
304
|
PENDING: "PENDING";
|
|
305
305
|
APPROVED: "APPROVED";
|
|
306
|
-
DENIED: "DENIED";
|
|
307
306
|
CANCELED: "CANCELED";
|
|
307
|
+
DENIED: "DENIED";
|
|
308
308
|
FULFILLED: "FULFILLED";
|
|
309
309
|
}>>;
|
|
310
310
|
justification: z.ZodOptional<z.ZodString>;
|
|
@@ -349,10 +349,10 @@ type RampSpendRequestComment = z.infer<typeof rampSpendRequestCommentSchema>;
|
|
|
349
349
|
*/
|
|
350
350
|
declare const rampPurchaseOrderStatusSchema: z.ZodEnum<{
|
|
351
351
|
PENDING: "PENDING";
|
|
352
|
+
DRAFT: "DRAFT";
|
|
352
353
|
APPROVED: "APPROVED";
|
|
353
|
-
DENIED: "DENIED";
|
|
354
354
|
CANCELED: "CANCELED";
|
|
355
|
-
|
|
355
|
+
DENIED: "DENIED";
|
|
356
356
|
CLOSED: "CLOSED";
|
|
357
357
|
}>;
|
|
358
358
|
declare const rampPurchaseOrderSchema: z.ZodObject<{
|
|
@@ -360,10 +360,10 @@ 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";
|
|
363
364
|
APPROVED: "APPROVED";
|
|
364
|
-
DENIED: "DENIED";
|
|
365
365
|
CANCELED: "CANCELED";
|
|
366
|
-
|
|
366
|
+
DENIED: "DENIED";
|
|
367
367
|
CLOSED: "CLOSED";
|
|
368
368
|
}>>;
|
|
369
369
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -379,10 +379,10 @@ 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";
|
|
382
383
|
APPROVED: "APPROVED";
|
|
383
|
-
DENIED: "DENIED";
|
|
384
384
|
CANCELED: "CANCELED";
|
|
385
|
-
|
|
385
|
+
DENIED: "DENIED";
|
|
386
386
|
CLOSED: "CLOSED";
|
|
387
387
|
}>>;
|
|
388
388
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -395,10 +395,10 @@ 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";
|
|
398
399
|
APPROVED: "APPROVED";
|
|
399
|
-
DENIED: "DENIED";
|
|
400
400
|
CANCELED: "CANCELED";
|
|
401
|
-
|
|
401
|
+
DENIED: "DENIED";
|
|
402
402
|
CLOSED: "CLOSED";
|
|
403
403
|
}>>;
|
|
404
404
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -419,20 +419,20 @@ declare const rampPurchaseOrderGetInputSchema: z.ZodObject<{
|
|
|
419
419
|
}, z.core.$strip>;
|
|
420
420
|
declare const rampApplicationStatusSchema: z.ZodEnum<{
|
|
421
421
|
PENDING: "PENDING";
|
|
422
|
+
DRAFT: "DRAFT";
|
|
422
423
|
APPROVED: "APPROVED";
|
|
423
|
-
DENIED: "DENIED";
|
|
424
424
|
CANCELED: "CANCELED";
|
|
425
|
-
|
|
425
|
+
DENIED: "DENIED";
|
|
426
426
|
}>;
|
|
427
427
|
declare const rampApplicationSchema: z.ZodObject<{
|
|
428
428
|
id: z.ZodString;
|
|
429
429
|
applicant_user_id: z.ZodOptional<z.ZodString>;
|
|
430
430
|
status: z.ZodOptional<z.ZodEnum<{
|
|
431
431
|
PENDING: "PENDING";
|
|
432
|
+
DRAFT: "DRAFT";
|
|
432
433
|
APPROVED: "APPROVED";
|
|
433
|
-
DENIED: "DENIED";
|
|
434
434
|
CANCELED: "CANCELED";
|
|
435
|
-
|
|
435
|
+
DENIED: "DENIED";
|
|
436
436
|
}>>;
|
|
437
437
|
created_at: z.ZodOptional<z.ZodString>;
|
|
438
438
|
application_type: z.ZodOptional<z.ZodString>;
|
|
@@ -441,10 +441,10 @@ 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";
|
|
444
445
|
APPROVED: "APPROVED";
|
|
445
|
-
DENIED: "DENIED";
|
|
446
446
|
CANCELED: "CANCELED";
|
|
447
|
-
|
|
447
|
+
DENIED: "DENIED";
|
|
448
448
|
}>>;
|
|
449
449
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
450
450
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -455,10 +455,10 @@ 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";
|
|
458
459
|
APPROVED: "APPROVED";
|
|
459
|
-
DENIED: "DENIED";
|
|
460
460
|
CANCELED: "CANCELED";
|
|
461
|
-
|
|
461
|
+
DENIED: "DENIED";
|
|
462
462
|
}>>;
|
|
463
463
|
created_at: z.ZodOptional<z.ZodString>;
|
|
464
464
|
application_type: z.ZodOptional<z.ZodString>;
|
|
@@ -473,8 +473,8 @@ declare const rampApplicationGetInputSchema: z.ZodObject<{
|
|
|
473
473
|
declare const rampUnifiedRequestStatusSchema: z.ZodEnum<{
|
|
474
474
|
PENDING: "PENDING";
|
|
475
475
|
APPROVED: "APPROVED";
|
|
476
|
-
DENIED: "DENIED";
|
|
477
476
|
CANCELED: "CANCELED";
|
|
477
|
+
DENIED: "DENIED";
|
|
478
478
|
FULFILLED: "FULFILLED";
|
|
479
479
|
}>;
|
|
480
480
|
declare const rampUnifiedRequestSchema: z.ZodObject<{
|
|
@@ -482,8 +482,8 @@ declare const rampUnifiedRequestSchema: z.ZodObject<{
|
|
|
482
482
|
status: z.ZodOptional<z.ZodEnum<{
|
|
483
483
|
PENDING: "PENDING";
|
|
484
484
|
APPROVED: "APPROVED";
|
|
485
|
-
DENIED: "DENIED";
|
|
486
485
|
CANCELED: "CANCELED";
|
|
486
|
+
DENIED: "DENIED";
|
|
487
487
|
FULFILLED: "FULFILLED";
|
|
488
488
|
}>>;
|
|
489
489
|
request_type: z.ZodOptional<z.ZodString>;
|
|
@@ -498,8 +498,8 @@ declare const rampUnifiedRequestListInputSchema: z.ZodObject<{
|
|
|
498
498
|
status: z.ZodOptional<z.ZodEnum<{
|
|
499
499
|
PENDING: "PENDING";
|
|
500
500
|
APPROVED: "APPROVED";
|
|
501
|
-
DENIED: "DENIED";
|
|
502
501
|
CANCELED: "CANCELED";
|
|
502
|
+
DENIED: "DENIED";
|
|
503
503
|
FULFILLED: "FULFILLED";
|
|
504
504
|
}>>;
|
|
505
505
|
request_type: z.ZodOptional<z.ZodString>;
|
|
@@ -513,8 +513,8 @@ declare const rampUnifiedRequestListSchema: z.ZodObject<{
|
|
|
513
513
|
status: z.ZodOptional<z.ZodEnum<{
|
|
514
514
|
PENDING: "PENDING";
|
|
515
515
|
APPROVED: "APPROVED";
|
|
516
|
-
DENIED: "DENIED";
|
|
517
516
|
CANCELED: "CANCELED";
|
|
517
|
+
DENIED: "DENIED";
|
|
518
518
|
FULFILLED: "FULFILLED";
|
|
519
519
|
}>>;
|
|
520
520
|
request_type: 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";
|
|
538
539
|
APPROVED: "APPROVED";
|
|
539
|
-
CANCELED: "CANCELED";
|
|
540
540
|
REJECTED: "REJECTED";
|
|
541
541
|
PAID: "PAID";
|
|
542
|
-
|
|
542
|
+
CANCELED: "CANCELED";
|
|
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";
|
|
557
558
|
APPROVED: "APPROVED";
|
|
558
|
-
CANCELED: "CANCELED";
|
|
559
559
|
REJECTED: "REJECTED";
|
|
560
560
|
PAID: "PAID";
|
|
561
|
-
|
|
561
|
+
CANCELED: "CANCELED";
|
|
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";
|
|
575
576
|
APPROVED: "APPROVED";
|
|
576
|
-
CANCELED: "CANCELED";
|
|
577
577
|
REJECTED: "REJECTED";
|
|
578
578
|
PAID: "PAID";
|
|
579
|
-
|
|
579
|
+
CANCELED: "CANCELED";
|
|
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";
|
|
600
601
|
APPROVED: "APPROVED";
|
|
601
|
-
CANCELED: "CANCELED";
|
|
602
602
|
REJECTED: "REJECTED";
|
|
603
603
|
PAID: "PAID";
|
|
604
|
-
|
|
604
|
+
CANCELED: "CANCELED";
|
|
605
605
|
}>>;
|
|
606
606
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -620,13 +620,13 @@ 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";
|
|
624
|
-
PROCESSING: "PROCESSING";
|
|
625
623
|
CLEARED: "CLEARED";
|
|
626
624
|
COMPLETION: "COMPLETION";
|
|
627
625
|
DECLINED: "DECLINED";
|
|
628
626
|
ERROR: "ERROR";
|
|
627
|
+
PENDING: "PENDING";
|
|
629
628
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
629
|
+
PROCESSING: "PROCESSING";
|
|
630
630
|
}>;
|
|
631
631
|
declare const rampTransactionSchema: z.ZodObject<{
|
|
632
632
|
id: z.ZodString;
|
|
@@ -646,13 +646,13 @@ 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";
|
|
650
|
-
PROCESSING: "PROCESSING";
|
|
651
649
|
CLEARED: "CLEARED";
|
|
652
650
|
COMPLETION: "COMPLETION";
|
|
653
651
|
DECLINED: "DECLINED";
|
|
654
652
|
ERROR: "ERROR";
|
|
653
|
+
PENDING: "PENDING";
|
|
655
654
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
655
|
+
PROCESSING: "PROCESSING";
|
|
656
656
|
}>>;
|
|
657
657
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
658
658
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -671,13 +671,13 @@ 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";
|
|
675
|
-
PROCESSING: "PROCESSING";
|
|
676
674
|
CLEARED: "CLEARED";
|
|
677
675
|
COMPLETION: "COMPLETION";
|
|
678
676
|
DECLINED: "DECLINED";
|
|
679
677
|
ERROR: "ERROR";
|
|
678
|
+
PENDING: "PENDING";
|
|
680
679
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
680
|
+
PROCESSING: "PROCESSING";
|
|
681
681
|
}>>;
|
|
682
682
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
683
683
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -709,13 +709,13 @@ 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";
|
|
713
|
-
PROCESSING: "PROCESSING";
|
|
714
712
|
CLEARED: "CLEARED";
|
|
715
713
|
COMPLETION: "COMPLETION";
|
|
716
714
|
DECLINED: "DECLINED";
|
|
717
715
|
ERROR: "ERROR";
|
|
716
|
+
PENDING: "PENDING";
|
|
718
717
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
718
|
+
PROCESSING: "PROCESSING";
|
|
719
719
|
}>>;
|
|
720
720
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
721
721
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
-
CANCELED: "CANCELED";
|
|
739
738
|
PROCESSING: "PROCESSING";
|
|
740
|
-
|
|
739
|
+
CANCELED: "CANCELED";
|
|
741
740
|
FAILED: "FAILED";
|
|
741
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
CANCELED: "CANCELED";
|
|
752
751
|
PROCESSING: "PROCESSING";
|
|
753
|
-
|
|
752
|
+
CANCELED: "CANCELED";
|
|
754
753
|
FAILED: "FAILED";
|
|
754
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
CANCELED: "CANCELED";
|
|
768
767
|
PROCESSING: "PROCESSING";
|
|
769
|
-
|
|
768
|
+
CANCELED: "CANCELED";
|
|
770
769
|
FAILED: "FAILED";
|
|
770
|
+
COMPLETED: "COMPLETED";
|
|
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
|
-
CANCELED: "CANCELED";
|
|
785
784
|
PROCESSING: "PROCESSING";
|
|
786
|
-
|
|
785
|
+
CANCELED: "CANCELED";
|
|
787
786
|
FAILED: "FAILED";
|
|
787
|
+
COMPLETED: "COMPLETED";
|
|
788
788
|
}>>;
|
|
789
789
|
created_at: z.ZodOptional<z.ZodString>;
|
|
790
790
|
settled_at: z.ZodOptional<z.ZodString>;
|
package/dist/vendors.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/vendors.d.ts
|
|
6
5
|
declare const listVendors: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -27,9 +26,7 @@ declare const listVendors: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
27
26
|
}, z.core.$strip>>;
|
|
28
27
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
29
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
30
|
-
}, z.core.$strip
|
|
31
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, z.core.$strip>>], undefined>;
|
|
33
30
|
declare const getVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
34
31
|
vendorId: z.ZodString;
|
|
35
32
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -46,9 +43,7 @@ declare const getVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
46
43
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
47
44
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
48
45
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
49
|
-
}, z.core.$strip
|
|
50
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
52
47
|
declare const createVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
53
48
|
name: z.ZodString;
|
|
54
49
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -73,9 +68,7 @@ declare const createVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
73
68
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
74
69
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
75
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
}, z.core.$strip
|
|
77
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
79
72
|
declare const updateVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
80
73
|
vendorId: z.ZodString;
|
|
81
74
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -100,17 +93,13 @@ declare const updateVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
100
93
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
101
94
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
102
95
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
103
|
-
}, z.core.$strip
|
|
104
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
105
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
96
|
+
}, z.core.$strip>>], undefined>;
|
|
106
97
|
declare const deleteVendor: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
107
98
|
vendorId: z.ZodString;
|
|
108
99
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
100
|
success: z.ZodBoolean;
|
|
110
101
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
111
102
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
112
|
-
}, z.core.$strip
|
|
113
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
114
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
103
|
+
}, z.core.$strip>>], undefined>;
|
|
115
104
|
//#endregion
|
|
116
105
|
export { createVendor, deleteVendor, getVendor, listVendors, updateVendor };
|
package/dist/vendors.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
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-Bx1cgXwC.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/webhooks.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/webhooks.d.ts
|
|
6
5
|
declare const listWebhookSubscriptions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -20,9 +19,7 @@ declare const listWebhookSubscriptions: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
20
19
|
}, z.core.$strip>>;
|
|
21
20
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
22
21
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
23
|
-
}, z.core.$strip
|
|
24
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
22
|
+
}, z.core.$strip>>], undefined>;
|
|
26
23
|
declare const getWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
27
24
|
webhookId: z.ZodString;
|
|
28
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -34,9 +31,7 @@ declare const getWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
34
31
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
35
32
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
36
33
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
37
|
-
}, z.core.$strip
|
|
38
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
}, z.core.$strip>>], undefined>;
|
|
40
35
|
declare const createWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
41
36
|
url: z.ZodString;
|
|
42
37
|
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -50,9 +45,7 @@ declare const createWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
50
45
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
51
46
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
52
47
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
53
|
-
}, z.core.$strip
|
|
54
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
48
|
+
}, z.core.$strip>>], undefined>;
|
|
56
49
|
declare const updateWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
57
50
|
webhookId: z.ZodString;
|
|
58
51
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -67,17 +60,13 @@ declare const updateWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
67
60
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
68
61
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
69
62
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
70
|
-
}, z.core.$strip
|
|
71
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
63
|
+
}, z.core.$strip>>], undefined>;
|
|
73
64
|
declare const deleteWebhookSubscription: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
74
65
|
webhookId: z.ZodString;
|
|
75
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
67
|
success: z.ZodBoolean;
|
|
77
68
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
78
69
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
79
|
-
}, z.core.$strip
|
|
80
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
70
|
+
}, z.core.$strip>>], undefined>;
|
|
82
71
|
//#endregion
|
|
83
72
|
export { createWebhookSubscription, deleteWebhookSubscription, getWebhookSubscription, listWebhookSubscriptions, updateWebhookSubscription };
|
package/dist/webhooks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
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-d1xgVpWx.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/ramp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -176,18 +176,18 @@
|
|
|
176
176
|
"LICENSE"
|
|
177
177
|
],
|
|
178
178
|
"dependencies": {
|
|
179
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
179
|
+
"@keystrokehq/integration-authoring": "^0.0.9",
|
|
180
180
|
"zod": "^4.3.6"
|
|
181
181
|
},
|
|
182
182
|
"peerDependencies": {
|
|
183
|
-
"@keystrokehq/core": ">=0.0.
|
|
183
|
+
"@keystrokehq/core": ">=0.0.13 <0.1.0"
|
|
184
184
|
},
|
|
185
185
|
"devDependencies": {
|
|
186
186
|
"@types/node": "^22.19.11",
|
|
187
187
|
"tsdown": "^0.20.3",
|
|
188
188
|
"typescript": "^5.9.3",
|
|
189
189
|
"vitest": "^4.0.18",
|
|
190
|
-
"@keystrokehq/core": "^0.0.
|
|
190
|
+
"@keystrokehq/core": "^0.0.13",
|
|
191
191
|
"@keystrokehq/test-utils": "0.0.0",
|
|
192
192
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
193
193
|
},
|