@escapenavigator/services 1.4.83 → 1.4.85

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.
@@ -5,11 +5,11 @@ import { getBookeoInfo } from './bookeo/get-bookeo-info';
5
5
  import { getBookeoIntegrationLink } from './bookeo/get-bookeo-integration-link';
6
6
  import { getBookeoOrders } from './bookeo/get-bookeo-orders';
7
7
  import { resyncBookeo } from './bookeo/resync-bookeo';
8
+ import { createPaymentMethodSession } from './subscription/create-payment-method-session';
8
9
  import { createSubscriptionSession } from './subscription/create-subscription-session';
9
10
  import { getPaymentSettings } from './subscription/get-payment-settings';
10
11
  import { getPrices } from './subscription/get-prices';
11
12
  import { getProfileInvoices } from './subscription/get-profile-invoices';
12
- import { getStripeSessionLink } from './subscription/get-stripe-session-link';
13
13
  import { paginateBills } from './subscription/paginate-bills';
14
14
  import { create } from './create';
15
15
  import { current } from './current';
@@ -35,7 +35,7 @@ declare type ApiDeclaration = {
35
35
  getPrices: typeof getPrices;
36
36
  createSubscriptionSession: typeof createSubscriptionSession;
37
37
  getPaymentSettings: typeof getPaymentSettings;
38
- getStripeSessionLink: typeof getStripeSessionLink;
38
+ createPaymentMethodSession: typeof createPaymentMethodSession;
39
39
  getProfileInvoices: typeof getProfileInvoices;
40
40
  initialCustomization: typeof initialCustomization;
41
41
  finalizeCurrent: typeof finalizeCurrent;
@@ -8,11 +8,11 @@ var get_bookeo_info_1 = require("./bookeo/get-bookeo-info");
8
8
  var get_bookeo_integration_link_1 = require("./bookeo/get-bookeo-integration-link");
9
9
  var get_bookeo_orders_1 = require("./bookeo/get-bookeo-orders");
10
10
  var resync_bookeo_1 = require("./bookeo/resync-bookeo");
11
+ var create_payment_method_session_1 = require("./subscription/create-payment-method-session");
11
12
  var create_subscription_session_1 = require("./subscription/create-subscription-session");
12
13
  var get_payment_settings_1 = require("./subscription/get-payment-settings");
13
14
  var get_prices_1 = require("./subscription/get-prices");
14
15
  var get_profile_invoices_1 = require("./subscription/get-profile-invoices");
15
- var get_stripe_session_link_1 = require("./subscription/get-stripe-session-link");
16
16
  var paginate_bills_1 = require("./subscription/paginate-bills");
17
17
  var create_1 = require("./create");
18
18
  var current_1 = require("./current");
@@ -36,7 +36,7 @@ exports.profilesApiDeclaration = {
36
36
  getPaymentSettings: get_payment_settings_1.getPaymentSettings,
37
37
  paginateBills: paginate_bills_1.paginateBills,
38
38
  getProfileInvoices: get_profile_invoices_1.getProfileInvoices,
39
- getStripeSessionLink: get_stripe_session_link_1.getStripeSessionLink,
39
+ createPaymentMethodSession: create_payment_method_session_1.createPaymentMethodSession,
40
40
  finalizeCurrent: finalize_current_1.finalizeCurrent,
41
41
  resyncBookeo: resync_bookeo_1.resyncBookeo,
42
42
  getBookeoOrders: get_bookeo_orders_1.getBookeoOrders,
@@ -1,5 +1,5 @@
1
1
  import { ApiMethodDeclaration } from '../..';
2
2
  declare type ParamsData = undefined;
3
3
  declare type ResponseData = string;
4
- export declare const getStripeSessionLink: ApiMethodDeclaration<ParamsData, ResponseData>;
4
+ export declare const createPaymentMethodSession: ApiMethodDeclaration<ParamsData, ResponseData>;
5
5
  export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPaymentMethodSession = void 0;
4
+ var createPaymentMethodSession = function () { return ({
5
+ url: '/subscription/create-payment-method-session',
6
+ method: 'GET',
7
+ }); };
8
+ exports.createPaymentMethodSession = createPaymentMethodSession;
@@ -1,6 +1,6 @@
1
- import { InvoiceRO } from '@escapenavigator/types/dist/profile/invoice.ro';
1
+ import { InvoicesListRO } from '@escapenavigator/types/dist/profile/invoices-list.ro';
2
2
  import { ApiMethodDeclaration } from '../..';
3
3
  declare type ParamsData = undefined;
4
- declare type ResponseData = InvoiceRO[];
4
+ declare type ResponseData = InvoicesListRO;
5
5
  export declare const getProfileInvoices: ApiMethodDeclaration<ParamsData, ResponseData>;
6
6
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/services",
3
- "version": "1.4.83",
3
+ "version": "1.4.85",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,10 +12,10 @@
12
12
  "scripts": {
13
13
  "build": "rm -rf dist && tsc --project tsconfig.json"
14
14
  },
15
- "gitHead": "a487b83fa9969e33854d06b3af8e5034a4bacc90",
15
+ "gitHead": "f9df523289b180ad41c5bfc59b570505eb18b299",
16
16
  "dependencies": {
17
- "@escapenavigator/types": "^1.4.81",
18
- "@escapenavigator/utils": "^1.4.83",
17
+ "@escapenavigator/types": "^1.4.83",
18
+ "@escapenavigator/utils": "^1.4.85",
19
19
  "axios": "^0.21.4",
20
20
  "class-transformer": "^0.5.1",
21
21
  "class-validator": "^0.13.1",
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getStripeSessionLink = void 0;
4
- var getStripeSessionLink = function () { return ({
5
- url: '/subscription/stripe/session-link',
6
- method: 'GET',
7
- }); };
8
- exports.getStripeSessionLink = getStripeSessionLink;