@nangohq/types 0.69.4 → 0.69.5

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.
@@ -38,6 +38,7 @@ export type PostConnectSessions = Endpoint<{
38
38
  Success: {
39
39
  data: {
40
40
  token: string;
41
+ connect_link: string;
41
42
  expires_at: string;
42
43
  };
43
44
  };
@@ -56,6 +57,7 @@ export type PostPublicConnectSessionsReconnect = Endpoint<{
56
57
  Success: {
57
58
  data: {
58
59
  token: string;
60
+ connect_link: string;
59
61
  expires_at: string;
60
62
  };
61
63
  };
@@ -43,11 +43,11 @@ export interface DBPlan extends Timestamps {
43
43
  * @default null
44
44
  */
45
45
  function_compute_gbms_max: number | null;
46
- /** Limit the number of external webhooks that can be triggered in a month
46
+ /** Limit the number of webhook forwards that can happen in a month
47
47
  * Set to null to remove limit
48
48
  * @default null
49
49
  */
50
- external_webhooks_max: number | null;
50
+ webhook_forwards_max: number | null;
51
51
  /** Limit the number of log entries in functions that can be created in a month
52
52
  * Set to null to remove limit
53
53
  * @default null
@@ -8,14 +8,15 @@ export type PostStripeCollectPayment = Endpoint<{
8
8
  };
9
9
  };
10
10
  }>;
11
+ export interface StripePaymentMethod {
12
+ id: string;
13
+ last4: string;
14
+ }
11
15
  export type GetStripePaymentMethods = Endpoint<{
12
16
  Method: 'GET';
13
17
  Path: '/api/v1/stripe/payment_methods';
14
18
  Success: {
15
- data: {
16
- id: string;
17
- last4: string;
18
- }[];
19
+ data: StripePaymentMethod[];
19
20
  };
20
21
  }>;
21
22
  export type DeleteStripePayment = Endpoint<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.69.4",
3
+ "version": "0.69.5",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",