@nimee/shared-types 1.0.248 → 1.0.250

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.
@@ -2,6 +2,7 @@ import { IPostSQSTypeValues } from "../send-notification/sqs";
2
2
  import { IAutomationProvider } from "../crm/automation";
3
3
  import { ILanguageEnum } from "../common/common";
4
4
  import { IDynamicFieldDefinition } from "../common/dynamicFields";
5
+ import { ICalendarEventType } from "../crm/calendarEvent";
5
6
  export declare enum IMailProvider {
6
7
  sendgrid = "sendgrid",
7
8
  inforu = "inforu",
@@ -113,4 +114,6 @@ export interface IMarketPlace {
113
114
  currency?: string;
114
115
  supportWhatsapp?: string;
115
116
  disableMarketplaceFee?: boolean;
117
+ /** Optional array of supported calendar event types. Defaults to [ICalendarEventType.REGULAR, ICalendarEventType.WELLNESS, ICalendarEventType.TASK] */
118
+ supportedCalendarEventTypes?: ICalendarEventType[];
116
119
  }
@@ -1 +1 @@
1
- {"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;AAKA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,8BAAa,CAAA;AACf,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACf,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAQD,uEAAuE;AACvE,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
1
+ {"version":3,"file":"marketPlace.js","sourceRoot":"","sources":["../../src/account/marketPlace.ts"],"names":[],"mappings":";;;AAMA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,8BAAa,CAAA;AACf,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;IACjB,6BAAa,CAAA;AACf,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAQD,uEAAuE;AACvE,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -15,7 +15,7 @@ export interface IAutomationParamsCreateGroup {
15
15
  export interface IAutomationParamsCRMEvent {
16
16
  marketplaceId: string;
17
17
  sellerId: string;
18
- endUserId: string;
18
+ endUser: object;
19
19
  actionType: string;
20
20
  data: object;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.248",
3
+ "version": "1.0.250",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -2,6 +2,7 @@ import { IPostSQSTypeValues } from "../send-notification/sqs";
2
2
  import { IAutomationProvider } from "../crm/automation";
3
3
  import { ILanguageEnum } from "../common/common";
4
4
  import { IDynamicFieldDefinition } from "../common/dynamicFields";
5
+ import { ICalendarEventType } from "../crm/calendarEvent";
5
6
 
6
7
  export enum IMailProvider {
7
8
  sendgrid = "sendgrid",
@@ -118,4 +119,6 @@ export interface IMarketPlace {
118
119
  currency?: string;
119
120
  supportWhatsapp?: string;
120
121
  disableMarketplaceFee?: boolean;
122
+ /** Optional array of supported calendar event types. Defaults to [ICalendarEventType.REGULAR, ICalendarEventType.WELLNESS, ICalendarEventType.TASK] */
123
+ supportedCalendarEventTypes?: ICalendarEventType[];
121
124
  }
@@ -16,7 +16,7 @@ export interface IAutomationParamsCreateGroup {
16
16
  export interface IAutomationParamsCRMEvent {
17
17
  marketplaceId: string;
18
18
  sellerId: string;
19
- endUserId: string;
19
+ endUser: object;
20
20
  actionType: string;
21
21
  data: object;
22
22
  }