@amos.com/node 0.1.26 → 0.1.27

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/openapi/schema.ts CHANGED
@@ -487,23 +487,6 @@ export interface paths {
487
487
  patch?: never;
488
488
  trace?: never;
489
489
  };
490
- "/embed/payment_intents/{id}/confirm": {
491
- parameters: {
492
- query?: never;
493
- header?: never;
494
- path?: never;
495
- cookie?: never;
496
- };
497
- get?: never;
498
- put?: never;
499
- /** Confirm a payment intent */
500
- post: operations["ConfirmEmbedPaymentIntent"];
501
- delete?: never;
502
- options?: never;
503
- head?: never;
504
- patch?: never;
505
- trace?: never;
506
- };
507
490
  "/embed/payment_intents/{id}/confirm_with_payment_method": {
508
491
  parameters: {
509
492
  query?: never;
@@ -868,23 +851,6 @@ export interface paths {
868
851
  patch?: never;
869
852
  trace?: never;
870
853
  };
871
- "/embed/setup_intents/{id}/confirm": {
872
- parameters: {
873
- query?: never;
874
- header?: never;
875
- path?: never;
876
- cookie?: never;
877
- };
878
- get?: never;
879
- put?: never;
880
- /** Confirm a setup intent */
881
- post: operations["ConfirmSetupIntent"];
882
- delete?: never;
883
- options?: never;
884
- head?: never;
885
- patch?: never;
886
- trace?: never;
887
- };
888
854
  "/embed/setup_intents/{id}/confirm_with_payment_method": {
889
855
  parameters: {
890
856
  query?: never;
@@ -1906,22 +1872,14 @@ export interface components {
1906
1872
  CreatePaymentIntentRequest: {
1907
1873
  payment_intent: components["schemas"]["CreatePaymentIntentInput"];
1908
1874
  };
1909
- ConfirmPaymentIntentInput: {
1910
- moto?: boolean;
1875
+ ConfirmPaymentIntentWithPaymentMethodInput: {
1911
1876
  /** Format: uuid */
1912
1877
  payment_method_id?: string;
1913
- payment_method?: {
1914
- metadata?: components["schemas"]["Metadata"];
1915
- bank_account_profile_attributes?: components["schemas"]["BankAccountProfileInput"];
1916
- billing_address_attributes?: components["schemas"]["BillingAddressInput"];
1917
- card_profile_attributes?: components["schemas"]["CardProfileInput"];
1918
- };
1919
- };
1920
- ConfirmPaymentIntentRequest: {
1921
- payment_intent: components["schemas"]["ConfirmPaymentIntentInput"];
1922
- };
1923
- ConfirmPaymentIntentWithPaymentMethodInput: {
1924
1878
  payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
1879
+ } | {
1880
+ /** Format: uuid */
1881
+ payment_method_id: string;
1882
+ payment_method?: components["schemas"]["EmbedConfirmPaymentMethodInput"];
1925
1883
  };
1926
1884
  ConfirmPaymentIntentWithPaymentMethodRequest: {
1927
1885
  payment_intent: components["schemas"]["ConfirmPaymentIntentWithPaymentMethodInput"];
@@ -1964,6 +1922,7 @@ export interface components {
1964
1922
  };
1965
1923
  RecurringPayment: {
1966
1924
  network_transaction_id?: string;
1925
+ transaction_link_id?: string;
1967
1926
  };
1968
1927
  CreatePaymentLinkInput: {
1969
1928
  slug?: string;
@@ -2101,6 +2060,7 @@ export interface components {
2101
2060
  processor_transaction_id?: string;
2102
2061
  processor_reference?: string;
2103
2062
  network_transaction_id?: string;
2063
+ transaction_link_id?: string;
2104
2064
  /** @enum {string} */
2105
2065
  transaction_type?: "authorization" | "authorization_reversal" | "capture" | "credit" | "echeck_credit" | "echeck_sale" | "echeck_void" | "sale" | "void";
2106
2066
  /** Format: date-time */
@@ -2217,20 +2177,14 @@ export interface components {
2217
2177
  CreateSetupIntentRequest: {
2218
2178
  setup_intent: components["schemas"]["CreateSetupIntentInput"];
2219
2179
  };
2220
- ConfirmSetupIntentInput: {
2221
- moto?: boolean;
2222
- payment_method?: {
2223
- metadata?: components["schemas"]["Metadata"];
2224
- bank_account_profile_attributes?: components["schemas"]["BankAccountProfileInput"];
2225
- billing_address_attributes?: components["schemas"]["BillingAddressInput"];
2226
- card_profile_attributes?: components["schemas"]["CardProfileInput"];
2227
- };
2228
- };
2229
- ConfirmSetupIntentRequest: {
2230
- setup_intent: components["schemas"]["ConfirmSetupIntentInput"];
2231
- };
2232
2180
  ConfirmSetupIntentWithPaymentMethodInput: {
2181
+ /** Format: uuid */
2182
+ payment_method_id?: string;
2233
2183
  payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2184
+ } | {
2185
+ /** Format: uuid */
2186
+ payment_method_id: string;
2187
+ payment_method?: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2234
2188
  };
2235
2189
  ConfirmSetupIntentWithPaymentMethodRequest: {
2236
2190
  setup_intent: components["schemas"]["ConfirmSetupIntentWithPaymentMethodInput"];
@@ -3482,42 +3436,6 @@ export interface operations {
3482
3436
  };
3483
3437
  };
3484
3438
  };
3485
- ConfirmEmbedPaymentIntent: {
3486
- parameters: {
3487
- query?: never;
3488
- header?: never;
3489
- path: {
3490
- /** @description The ID of the payment intent to confirm */
3491
- id: string;
3492
- };
3493
- cookie?: never;
3494
- };
3495
- requestBody: {
3496
- content: {
3497
- "application/json": components["schemas"]["ConfirmPaymentIntentRequest"];
3498
- };
3499
- };
3500
- responses: {
3501
- /** @description Successful confirmation of payment intent */
3502
- 202: {
3503
- headers: {
3504
- [name: string]: unknown;
3505
- };
3506
- content: {
3507
- "application/json": components["schemas"]["PaymentIntent"];
3508
- };
3509
- };
3510
- /** @description Unprocessable entity */
3511
- 422: {
3512
- headers: {
3513
- [name: string]: unknown;
3514
- };
3515
- content: {
3516
- "application/json": components["schemas"]["Error"];
3517
- };
3518
- };
3519
- };
3520
- };
3521
3439
  ConfirmEmbedPaymentIntentWithPaymentMethod: {
3522
3440
  parameters: {
3523
3441
  query?: never;
@@ -4368,42 +4286,6 @@ export interface operations {
4368
4286
  };
4369
4287
  };
4370
4288
  };
4371
- ConfirmSetupIntent: {
4372
- parameters: {
4373
- query?: never;
4374
- header?: never;
4375
- path: {
4376
- /** @description The ID of the setup intent to confirm */
4377
- id: string;
4378
- };
4379
- cookie?: never;
4380
- };
4381
- requestBody: {
4382
- content: {
4383
- "application/json": components["schemas"]["ConfirmSetupIntentRequest"];
4384
- };
4385
- };
4386
- responses: {
4387
- /** @description Successful confirmation of setup intent */
4388
- 202: {
4389
- headers: {
4390
- [name: string]: unknown;
4391
- };
4392
- content: {
4393
- "application/json": components["schemas"]["SetupIntent"];
4394
- };
4395
- };
4396
- /** @description Unprocessable entity */
4397
- 422: {
4398
- headers: {
4399
- [name: string]: unknown;
4400
- };
4401
- content: {
4402
- "application/json": components["schemas"]["Error"];
4403
- };
4404
- };
4405
- };
4406
- };
4407
4289
  ConfirmSetupIntentWithPaymentMethod: {
4408
4290
  parameters: {
4409
4291
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -47,9 +47,9 @@
47
47
  "openapi-fetch": "0.17.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@biomejs/biome": "2.5.1",
51
- "@changesets/cli": "2.31.0",
52
- "@types/node": "26.0.0",
50
+ "@biomejs/biome": "2.5.5",
51
+ "@changesets/cli": "2.31.1",
52
+ "@types/node": "26.1.1",
53
53
  "openapi-typescript": "7.13.0",
54
54
  "tsup": "8.5.1",
55
55
  "typescript": "5.9.3"