@connectedxm/admin 3.4.0 → 3.4.1

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/index.cjs CHANGED
@@ -16267,6 +16267,7 @@ var ReportType = /* @__PURE__ */ ((ReportType2) => {
16267
16267
  ReportType2["account"] = "account";
16268
16268
  ReportType2["revenue"] = "revenue";
16269
16269
  ReportType2["subscriptionProduct"] = "subscriptionProduct";
16270
+ ReportType2["series"] = "series";
16270
16271
  return ReportType2;
16271
16272
  })(ReportType || {});
16272
16273
  var EventReportDateType = /* @__PURE__ */ ((EventReportDateType2) => {
package/dist/index.d.cts CHANGED
@@ -912,6 +912,8 @@ interface BaseEvent {
912
912
  registrationEnd: string | null;
913
913
  createdAt: string;
914
914
  updatedAt: string;
915
+ seriesId: string | null;
916
+ series: BaseSeries | null;
915
917
  }
916
918
  interface Event extends BaseEvent {
917
919
  roundName: string | null;
@@ -937,8 +939,6 @@ interface Event extends BaseEvent {
937
939
  androidAppLink: string | null;
938
940
  newActivityCreatorEmailNotification: boolean;
939
941
  newActivityCreatorPushNotification: boolean;
940
- seriesId: string | null;
941
- series: BaseSeries | null;
942
942
  streamInputs: BaseStreamInput[];
943
943
  streamReplayId: string | null;
944
944
  streamReplay: BaseVideo | null;
@@ -2015,7 +2015,8 @@ declare enum ReportType {
2015
2015
  accounts = "accounts",
2016
2016
  account = "account",
2017
2017
  revenue = "revenue",
2018
- subscriptionProduct = "subscriptionProduct"
2018
+ subscriptionProduct = "subscriptionProduct",
2019
+ series = "series"
2019
2020
  }
2020
2021
  declare enum EventReportDateType {
2021
2022
  lifetime = "lifetime",
@@ -2032,6 +2033,7 @@ interface ReportFilters {
2032
2033
  surveyId?: string;
2033
2034
  subscriptionProductId?: string;
2034
2035
  sessionId?: string;
2036
+ seriesId?: string;
2035
2037
  }
2036
2038
  interface BaseStandardReport {
2037
2039
  id: string;
@@ -2084,10 +2086,15 @@ interface BaseSeries {
2084
2086
  slug: string;
2085
2087
  name: string;
2086
2088
  description: string | null;
2089
+ longDescription: string | null;
2090
+ startDate: string;
2091
+ endDate: string;
2087
2092
  imageId: string | null;
2088
2093
  image: BaseImage | null;
2089
2094
  }
2090
2095
  interface Series extends BaseSeries {
2096
+ templateId: string;
2097
+ template: BaseEvent;
2091
2098
  sortOrder: number;
2092
2099
  createdAt: string;
2093
2100
  updatedAt: string;
@@ -4988,15 +4995,21 @@ interface SeriesCreateInputs {
4988
4995
  name: string;
4989
4996
  slug?: string | null;
4990
4997
  description?: string | null;
4998
+ longDescription?: string | null;
4991
4999
  imageId?: string | null;
4992
- sortOrder?: number | string | null;
5000
+ templateId: string;
5001
+ startDate: string;
5002
+ endDate: string;
4993
5003
  }
4994
5004
  interface SeriesUpdateInputs {
4995
5005
  name?: string | null;
4996
5006
  slug?: string | null;
4997
5007
  description?: string | null;
5008
+ longDescription?: string | null;
4998
5009
  imageId?: string | null;
4999
- sortOrder?: number | string | null;
5010
+ templateId?: string;
5011
+ startDate?: string | null;
5012
+ endDate?: string | null;
5000
5013
  }
5001
5014
  interface LevelCreateInputs {
5002
5015
  name: string;
package/dist/index.d.ts CHANGED
@@ -912,6 +912,8 @@ interface BaseEvent {
912
912
  registrationEnd: string | null;
913
913
  createdAt: string;
914
914
  updatedAt: string;
915
+ seriesId: string | null;
916
+ series: BaseSeries | null;
915
917
  }
916
918
  interface Event extends BaseEvent {
917
919
  roundName: string | null;
@@ -937,8 +939,6 @@ interface Event extends BaseEvent {
937
939
  androidAppLink: string | null;
938
940
  newActivityCreatorEmailNotification: boolean;
939
941
  newActivityCreatorPushNotification: boolean;
940
- seriesId: string | null;
941
- series: BaseSeries | null;
942
942
  streamInputs: BaseStreamInput[];
943
943
  streamReplayId: string | null;
944
944
  streamReplay: BaseVideo | null;
@@ -2015,7 +2015,8 @@ declare enum ReportType {
2015
2015
  accounts = "accounts",
2016
2016
  account = "account",
2017
2017
  revenue = "revenue",
2018
- subscriptionProduct = "subscriptionProduct"
2018
+ subscriptionProduct = "subscriptionProduct",
2019
+ series = "series"
2019
2020
  }
2020
2021
  declare enum EventReportDateType {
2021
2022
  lifetime = "lifetime",
@@ -2032,6 +2033,7 @@ interface ReportFilters {
2032
2033
  surveyId?: string;
2033
2034
  subscriptionProductId?: string;
2034
2035
  sessionId?: string;
2036
+ seriesId?: string;
2035
2037
  }
2036
2038
  interface BaseStandardReport {
2037
2039
  id: string;
@@ -2084,10 +2086,15 @@ interface BaseSeries {
2084
2086
  slug: string;
2085
2087
  name: string;
2086
2088
  description: string | null;
2089
+ longDescription: string | null;
2090
+ startDate: string;
2091
+ endDate: string;
2087
2092
  imageId: string | null;
2088
2093
  image: BaseImage | null;
2089
2094
  }
2090
2095
  interface Series extends BaseSeries {
2096
+ templateId: string;
2097
+ template: BaseEvent;
2091
2098
  sortOrder: number;
2092
2099
  createdAt: string;
2093
2100
  updatedAt: string;
@@ -4988,15 +4995,21 @@ interface SeriesCreateInputs {
4988
4995
  name: string;
4989
4996
  slug?: string | null;
4990
4997
  description?: string | null;
4998
+ longDescription?: string | null;
4991
4999
  imageId?: string | null;
4992
- sortOrder?: number | string | null;
5000
+ templateId: string;
5001
+ startDate: string;
5002
+ endDate: string;
4993
5003
  }
4994
5004
  interface SeriesUpdateInputs {
4995
5005
  name?: string | null;
4996
5006
  slug?: string | null;
4997
5007
  description?: string | null;
5008
+ longDescription?: string | null;
4998
5009
  imageId?: string | null;
4999
- sortOrder?: number | string | null;
5010
+ templateId?: string;
5011
+ startDate?: string | null;
5012
+ endDate?: string | null;
5000
5013
  }
5001
5014
  interface LevelCreateInputs {
5002
5015
  name: string;
package/dist/index.js CHANGED
@@ -13141,6 +13141,7 @@ var ReportType = /* @__PURE__ */ ((ReportType2) => {
13141
13141
  ReportType2["account"] = "account";
13142
13142
  ReportType2["revenue"] = "revenue";
13143
13143
  ReportType2["subscriptionProduct"] = "subscriptionProduct";
13144
+ ReportType2["series"] = "series";
13144
13145
  return ReportType2;
13145
13146
  })(ReportType || {});
13146
13147
  var EventReportDateType = /* @__PURE__ */ ((EventReportDateType2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",