@nimee/shared-types 1.0.286 → 1.0.288

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.
@@ -171,6 +171,7 @@ export interface IAccountModel {
171
171
  walletDesign?: IWalletDesign;
172
172
  marketplaceDistributionId: string;
173
173
  isAllowSeasonTicket: boolean;
174
+ lockEndUserProfile?: boolean;
174
175
  seasonTicketGrantsEntrance: boolean;
175
176
  displaySplitPaymentEventConfiguration: boolean;
176
177
  showSellerHeader: boolean;
@@ -213,6 +214,7 @@ export interface IAccountModel {
213
214
  stripeCurrency?: string;
214
215
  stripeCountry?: string;
215
216
  platformFeePercent?: number;
217
+ allowInstallments?: boolean;
216
218
  }
217
219
  export interface IPaymeUpdateOrCreateSellerWebhookPayload {
218
220
  seller_payme_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/account/account.ts"],"names":[],"mappings":";;;AAMA,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,iEAAW,CAAA;IACX,iEAAW,CAAA;IACX,iEAAW,CAAA;IACX,mEAAY,CAAA;IACZ,+DAAU,CAAA;IACV,+DAAU,CAAA;IACV,iEAAW,CAAA;IACX,6DAAS,CAAA;IACT,6DAAS,CAAA;AACX,CAAC,EAVW,kBAAkB,kCAAlB,kBAAkB,QAU7B;AACD,IAAY,aAUX;AAVD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;AACvB,CAAC,EAVW,aAAa,6BAAb,aAAa,QAUxB;AACD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,kDAA6B,CAAA;IAC7B,sCAAiB,CAAA;IACjB,oCAAe,CAAA;IACf,sC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ACf,sCAAqB,CAAA;AACvB,CAAC,EAVW,aAAa,6BAAb,aAAa,QAUxB;AACD,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,kDAA6B,CAAA;IAC7B,sCAAiB,CAAA;IACjB,oCAAe,CAAA;IACf,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;AACvB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAgBD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAMD,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;AACnB,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,gDAA0B,CAAA;IAC1B,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;AACnB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AA8LD,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;IACjB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;AACrB,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B"}
@@ -151,4 +151,5 @@ export interface IEventModel {
151
151
  isBookable?: boolean;
152
152
  isBookableWithTickets?: boolean;
153
153
  isAllowSeasonTicket?: boolean;
154
+ maxInstallments?: number;
154
155
  }
@@ -108,7 +108,7 @@ export interface IEndUserSeasonTicketModel {
108
108
  familyTotalPrice?: number | null;
109
109
  imageUrl?: string | null;
110
110
  birth_date?: Date | null;
111
- idNumber?: string | null;
111
+ idOrPassport?: string | null;
112
112
  }
113
113
  export declare enum ISeasonTicketStatusType {
114
114
  ACTIVE = "active",// the season ticket is active
@@ -60,6 +60,7 @@ export interface IEventOrderModel {
60
60
  }>;
61
61
  createdByUserId?: string;
62
62
  createdByUserName?: string;
63
+ installments?: number;
63
64
  }
64
65
  export interface IBasketEventOrder extends IEventOrderModel {
65
66
  basketTicketsSummary?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.286",
3
+ "version": "1.0.288",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -172,6 +172,7 @@ export interface IAccountModel {
172
172
  walletDesign?: IWalletDesign;
173
173
  marketplaceDistributionId: string;
174
174
  isAllowSeasonTicket: boolean;
175
+ lockEndUserProfile?: boolean;
175
176
  seasonTicketGrantsEntrance: boolean;
176
177
  displaySplitPaymentEventConfiguration: boolean;
177
178
  showSellerHeader: boolean;
@@ -214,6 +215,7 @@ export interface IAccountModel {
214
215
  stripeCurrency?: string;
215
216
  stripeCountry?: string;
216
217
  platformFeePercent?: number;
218
+ allowInstallments?: boolean;
217
219
  }
218
220
  // {"payme_status":"success","status_error_code":0,"status_code":0,"seller_payme_id":"MPL16720-72349IAE-FRITPXY5-TFLDUEWF","seller_created":"2022-12-26 18:32:29","seller_first_name":"Ron","seller_last_name":"Dahan","seller_social_id":"205569163","seller_birthdate":"1994-07-01","seller_date_of_birth":"1994-07-01","seller_gender":0,"seller_email":"roncho1794@gmail.com","seller_contact_email":"roncho1794@gmail.com","seller_phone":"+972542323517","seller_contact_phone":"+972542323517","seller_address_city":"Tel Aviv","seller_address_street":"Tel Aviv","seller_address_street_number":"12","seller_address_country":"IL","seller_inc":0,"seller_inc_code":"12345","seller_merchant_name":"Ronen","seller_site_url":"www.no.co.il","seller_custom_details":"No existing Isracard MID","seller_active":true,"seller_approved":false,"seller_market_fee":0,"seller_currencies":,"fee_default_processing_fee":"1.50","fee_default_processing_charge":"0.100000000000000000","fee_default_discount_fee":"0.50","fee_foreign_processing_fee":"2.95","fee_foreign_processing_charge":"0.100000000000000000","fee_forcurr_processing_charge":"0.100000000000000000","seller_public_key":{"uuid":"b40a5251-9907-4db1-8f26-c015dd9466df","description":"PayMe-Public-Key","is_active":true},"notify_type":"seller-create"}
219
221
 
@@ -129,4 +129,5 @@ export interface IEventModel {
129
129
  isBookable?: boolean;
130
130
  isBookableWithTickets?: boolean;
131
131
  isAllowSeasonTicket?: boolean;
132
+ maxInstallments?: number;
132
133
  }
@@ -89,7 +89,7 @@ export interface IEndUserSeasonTicketModel {
89
89
  familyTotalPrice?: number | null; // only on parent - total recurring charge
90
90
  imageUrl?: string | null; // profile image for family members (stored on subscription, not endUser)
91
91
  birth_date?: Date | null; // birth date for family members (stored on subscription, not endUser)
92
- idNumber?: string | null; // ID number for family members (stored on subscription, not endUser)
92
+ idOrPassport?: string | null; // ID/passport. Adults: mirrors endUser.idOrPassport. Children: stored only here (no endUser).
93
93
  }
94
94
  export enum ISeasonTicketStatusType {
95
95
  ACTIVE = "active", // the season ticket is active
@@ -59,6 +59,7 @@ export interface IEventOrderModel {
59
59
  ticketPrices?: Array<{ ticketId: string; price: number }>;
60
60
  createdByUserId?: string;
61
61
  createdByUserName?: string;
62
+ installments?: number;
62
63
  }
63
64
 
64
65
  export interface IBasketEventOrder extends IEventOrderModel {