@amos.com/node 0.1.29 → 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
  };
@@ -2001,6 +2000,7 @@ export interface components {
2001
2000
  id?: string;
2002
2001
  /** Format: uuid */
2003
2002
  organization_id?: string;
2003
+ organization_slug?: string;
2004
2004
  /** Format: uuid */
2005
2005
  account_id?: string;
2006
2006
  slug?: string;
@@ -2227,15 +2227,14 @@ export interface components {
2227
2227
  CreateSetupIntentRequest: {
2228
2228
  setup_intent: components["schemas"]["CreateSetupIntentInput"];
2229
2229
  };
2230
- ConfirmSetupIntentWithPaymentMethodInput: {
2231
- /** Format: uuid */
2232
- payment_method_id?: string;
2233
- payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2234
- } | {
2230
+ ConfirmSetupIntentWithPaymentMethodIdInput: {
2235
2231
  /** Format: uuid */
2236
2232
  payment_method_id: string;
2237
- payment_method?: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2238
2233
  };
2234
+ ConfirmSetupIntentWithEmbeddedPaymentMethodInput: {
2235
+ payment_method: components["schemas"]["EmbedConfirmPaymentMethodInput"];
2236
+ };
2237
+ ConfirmSetupIntentWithPaymentMethodInput: components["schemas"]["ConfirmSetupIntentWithPaymentMethodIdInput"] | components["schemas"]["ConfirmSetupIntentWithEmbeddedPaymentMethodInput"];
2239
2238
  ConfirmSetupIntentWithPaymentMethodRequest: {
2240
2239
  setup_intent: components["schemas"]["ConfirmSetupIntentWithPaymentMethodInput"];
2241
2240
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.29",
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",