@nimee/shared-types 1.0.267 → 1.0.269
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/dist/account/marketPlace.d.ts +6 -0
- package/dist/account/marketPlace.js.map +1 -1
- package/dist/event/ticket.d.ts +6 -1
- package/dist/event/ticket.js +7 -0
- package/dist/event/ticket.js.map +1 -1
- package/package.json +1 -1
- package/src/account/marketPlace.ts +6 -0
- package/src/event/ticket.ts +7 -1
|
@@ -4,6 +4,7 @@ import { ILanguageEnum } from "../common/common";
|
|
|
4
4
|
import { IDynamicFieldDefinition } from "../common/dynamicFields";
|
|
5
5
|
import { ICalendarEventType } from "../crm/calendarEvent";
|
|
6
6
|
import { PaymentProviders } from "../payment/paymentProvider";
|
|
7
|
+
import { InvoiceProviderType, InvoiceDocTypeEnum } from "./account";
|
|
7
8
|
export declare enum IMailProvider {
|
|
8
9
|
sendgrid = "sendgrid",
|
|
9
10
|
inforu = "inforu",
|
|
@@ -135,4 +136,9 @@ export interface IMarketPlace {
|
|
|
135
136
|
supportedCalendarEventTypes?: ICalendarEventType[];
|
|
136
137
|
/** Custom "Powered By" text for email footers. Defaults to "Powered By nimi.co.il" if not set */
|
|
137
138
|
poweredByText?: string;
|
|
139
|
+
forceInvoiceOnSeller?: boolean;
|
|
140
|
+
shouldSendInvoice?: boolean;
|
|
141
|
+
invoiceProvider?: InvoiceProviderType;
|
|
142
|
+
invoiceProviderToken?: string;
|
|
143
|
+
invoiceDocType?: InvoiceDocTypeEnum;
|
|
138
144
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;AAQA,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,sDAAqC,CAAA;IACrC,8BAAa,CAAA;AACf,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACf,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA4BD,uEAAuE;AACvE,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
|
package/dist/event/ticket.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
export declare enum ITicketTypeEnum {
|
|
2
|
+
TICKET = "ticket",
|
|
3
|
+
SYSTEM_FREE_TICKET = "SystemFreeTicket",
|
|
4
|
+
SPECIAL = "special"
|
|
5
|
+
}
|
|
1
6
|
export interface ITicketModel {
|
|
2
7
|
name?: string;
|
|
3
8
|
description?: string;
|
|
4
|
-
type?:
|
|
9
|
+
type?: ITicketTypeEnum;
|
|
5
10
|
_id: string;
|
|
6
11
|
start_date?: Date;
|
|
7
12
|
end_date?: Date;
|
package/dist/event/ticket.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ITicketTypeEnum = void 0;
|
|
4
|
+
var ITicketTypeEnum;
|
|
5
|
+
(function (ITicketTypeEnum) {
|
|
6
|
+
ITicketTypeEnum["TICKET"] = "ticket";
|
|
7
|
+
ITicketTypeEnum["SYSTEM_FREE_TICKET"] = "SystemFreeTicket";
|
|
8
|
+
ITicketTypeEnum["SPECIAL"] = "special";
|
|
9
|
+
})(ITicketTypeEnum || (exports.ITicketTypeEnum = ITicketTypeEnum = {}));
|
|
3
10
|
//# sourceMappingURL=ticket.js.map
|
package/dist/event/ticket.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.js","sourceRoot":"","sources":["../../src/event/ticket.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ticket.js","sourceRoot":"","sources":["../../src/event/ticket.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,0DAAuC,CAAA;IACvC,sCAAmB,CAAA;AACrB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import { ILanguageEnum } from "../common/common";
|
|
|
4
4
|
import { IDynamicFieldDefinition } from "../common/dynamicFields";
|
|
5
5
|
import { ICalendarEventType } from "../crm/calendarEvent";
|
|
6
6
|
import { PaymentProviders } from "../payment/paymentProvider";
|
|
7
|
+
import { InvoiceProviderType, InvoiceDocTypeEnum } from "./account";
|
|
7
8
|
|
|
8
9
|
export enum IMailProvider {
|
|
9
10
|
sendgrid = "sendgrid",
|
|
@@ -147,4 +148,9 @@ export interface IMarketPlace {
|
|
|
147
148
|
supportedCalendarEventTypes?: ICalendarEventType[];
|
|
148
149
|
/** Custom "Powered By" text for email footers. Defaults to "Powered By nimi.co.il" if not set */
|
|
149
150
|
poweredByText?: string;
|
|
151
|
+
forceInvoiceOnSeller?: boolean;
|
|
152
|
+
shouldSendInvoice?: boolean;
|
|
153
|
+
invoiceProvider?: InvoiceProviderType;
|
|
154
|
+
invoiceProviderToken?: string;
|
|
155
|
+
invoiceDocType?: InvoiceDocTypeEnum;
|
|
150
156
|
}
|
package/src/event/ticket.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
export enum ITicketTypeEnum {
|
|
2
|
+
TICKET = "ticket",
|
|
3
|
+
SYSTEM_FREE_TICKET = "SystemFreeTicket",
|
|
4
|
+
SPECIAL = "special",
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
export interface ITicketModel {
|
|
2
8
|
name?: string;
|
|
3
9
|
description?: string;
|
|
4
|
-
type?:
|
|
10
|
+
type?: ITicketTypeEnum;
|
|
5
11
|
_id: string;
|
|
6
12
|
start_date?: Date;
|
|
7
13
|
end_date?: Date;
|