@jealous-robot-dev/shared-types-responses 1.26.8 → 1.26.12

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.
@@ -1,3 +1,4 @@
1
+ import { PaymentInstruments } from "../payments";
1
2
  export interface EventCheckoutPhrases {
2
3
  title: string;
3
4
  common: {
@@ -60,6 +61,11 @@ export interface CheckoutEventDetails {
60
61
  order_id: string;
61
62
  duration: number;
62
63
  starts_at: string;
64
+ stripe: {
65
+ amount: number;
66
+ currency: string;
67
+ instruments: PaymentInstruments[];
68
+ };
63
69
  }
64
70
  export declare enum FeeChargingReponses {
65
71
  SUCCEDED = "SUCCEDED",
@@ -131,6 +131,8 @@ export interface ViewEventDatesCalendarPhrases {
131
131
  export interface ViewEventCommonDatePhrases {
132
132
  choose: string;
133
133
  person: string;
134
+ unavailable: string;
135
+ almost_sold: string;
134
136
  show_more_dates?: string;
135
137
  }
136
138
  export interface ViewEventDatesMatchesPhrases {
@@ -33,6 +33,7 @@ export interface MainUserData {
33
33
  export interface API {
34
34
  googleOAuthClient: string;
35
35
  fbAuthClient: string;
36
+ stripePK: string;
36
37
  }
37
38
  export interface CommonData {
38
39
  currentUser: MainUserData | null;
@@ -0,0 +1,12 @@
1
+ export declare enum PaymentInstruments {
2
+ CARD = "CARD",
3
+ SEPA = "SEPA",
4
+ IDEAL = "IDEAL",
5
+ SOFORT = "SOFORT",
6
+ APPLE_PAY = "APPLE_PAY",
7
+ GOOGLE_PAY = "GOOGLE_PAY"
8
+ }
9
+ export declare enum PaymentResult {
10
+ SUCCESS = "SUCCESS",
11
+ FAILURE = "FAILURE"
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentResult = exports.PaymentInstruments = void 0;
4
+ var PaymentInstruments;
5
+ (function (PaymentInstruments) {
6
+ PaymentInstruments["CARD"] = "CARD";
7
+ PaymentInstruments["SEPA"] = "SEPA";
8
+ PaymentInstruments["IDEAL"] = "IDEAL";
9
+ PaymentInstruments["SOFORT"] = "SOFORT";
10
+ PaymentInstruments["APPLE_PAY"] = "APPLE_PAY";
11
+ PaymentInstruments["GOOGLE_PAY"] = "GOOGLE_PAY";
12
+ })(PaymentInstruments = exports.PaymentInstruments || (exports.PaymentInstruments = {}));
13
+ var PaymentResult;
14
+ (function (PaymentResult) {
15
+ PaymentResult["SUCCESS"] = "SUCCESS";
16
+ PaymentResult["FAILURE"] = "FAILURE";
17
+ })(PaymentResult = exports.PaymentResult || (exports.PaymentResult = {}));
@@ -0,0 +1 @@
1
+ export * from './common';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./common"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.26.8",
3
+ "version": "1.26.12",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,13 +0,0 @@
1
- export declare enum PaymentOptions {
2
- PAYPAL = "BRAINTREE_PAYPAL",
3
- GOOGLE_PAY = "GOOGLE_PAY",
4
- DEBIT_CARD = "DEBIT_CARD"
5
- }
6
- export declare enum DebitCardFields {
7
- NAME_ON_CARD = "NAME_ON_CARD",
8
- CARD_NUMBER = "CARD_NUMBER",
9
- EXPIRATION = "EXPIRATION",
10
- CVV = "CVV",
11
- ZIP_CODE = "ZIP_CODE",
12
- COUNTRY = "COUNTRY"
13
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DebitCardFields = exports.PaymentOptions = void 0;
4
- var PaymentOptions;
5
- (function (PaymentOptions) {
6
- PaymentOptions["PAYPAL"] = "BRAINTREE_PAYPAL";
7
- PaymentOptions["GOOGLE_PAY"] = "GOOGLE_PAY";
8
- PaymentOptions["DEBIT_CARD"] = "DEBIT_CARD";
9
- })(PaymentOptions = exports.PaymentOptions || (exports.PaymentOptions = {}));
10
- var DebitCardFields;
11
- (function (DebitCardFields) {
12
- DebitCardFields["NAME_ON_CARD"] = "NAME_ON_CARD";
13
- DebitCardFields["CARD_NUMBER"] = "CARD_NUMBER";
14
- DebitCardFields["EXPIRATION"] = "EXPIRATION";
15
- DebitCardFields["CVV"] = "CVV";
16
- DebitCardFields["ZIP_CODE"] = "ZIP_CODE";
17
- DebitCardFields["COUNTRY"] = "COUNTRY";
18
- })(DebitCardFields = exports.DebitCardFields || (exports.DebitCardFields = {}));