@amos.com/node 0.1.30 → 0.1.31

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
@@ -1897,15 +1897,14 @@ export interface components {
1897
1897
  CreatePaymentIntentRequest: {
1898
1898
  payment_intent: components["schemas"]["CreatePaymentIntentInput"];
1899
1899
  };
1900
- ConfirmPaymentIntentWithPaymentMethodInput: {
1901
- /** Format: uuid */
1902
- payment_method_id?: string;
1903
- payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
1904
- } | {
1900
+ ConfirmPaymentIntentWithPaymentMethodIdInput: {
1905
1901
  /** Format: uuid */
1906
1902
  payment_method_id: string;
1907
- payment_method?: components["schemas"]["EmbedConfirmPaymentMethodInput"];
1908
1903
  };
1904
+ ConfirmPaymentIntentWithEmbeddedPaymentMethodInput: {
1905
+ payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
1906
+ };
1907
+ ConfirmPaymentIntentWithPaymentMethodInput: components["schemas"]["ConfirmPaymentIntentWithPaymentMethodIdInput"] | components["schemas"]["ConfirmPaymentIntentWithEmbeddedPaymentMethodInput"];
1909
1908
  ConfirmPaymentIntentWithPaymentMethodRequest: {
1910
1909
  payment_intent: components["schemas"]["ConfirmPaymentIntentWithPaymentMethodInput"];
1911
1910
  };
@@ -2228,15 +2227,14 @@ export interface components {
2228
2227
  CreateSetupIntentRequest: {
2229
2228
  setup_intent: components["schemas"]["CreateSetupIntentInput"];
2230
2229
  };
2231
- ConfirmSetupIntentWithPaymentMethodInput: {
2232
- /** Format: uuid */
2233
- payment_method_id?: string;
2234
- payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2235
- } | {
2230
+ ConfirmSetupIntentWithPaymentMethodIdInput: {
2236
2231
  /** Format: uuid */
2237
2232
  payment_method_id: string;
2238
- payment_method?: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2239
2233
  };
2234
+ ConfirmSetupIntentWithEmbeddedPaymentMethodInput: {
2235
+ payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2236
+ };
2237
+ ConfirmSetupIntentWithPaymentMethodInput: components["schemas"]["ConfirmSetupIntentWithPaymentMethodIdInput"] | components["schemas"]["ConfirmSetupIntentWithEmbeddedPaymentMethodInput"];
2240
2238
  ConfirmSetupIntentWithPaymentMethodRequest: {
2241
2239
  setup_intent: components["schemas"]["ConfirmSetupIntentWithPaymentMethodInput"];
2242
2240
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",