@chaosinsight/postoffice-portalclient 1.15.0 → 1.15.2

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.
@@ -18,9 +18,9 @@ export interface IProduct<T extends number | null> {
18
18
  Quantity: number | null;
19
19
  MaxQuantityPerOrder: number | null;
20
20
  QuantityOrdered?: number;
21
- TriggerPhrases: ITriggerPhrase[] | null;
21
+ TriggerPhrases: ITriggerPhrases | null;
22
22
  }
23
- export interface ITriggerPhrase {
23
+ export interface ITriggerPhrases {
24
24
  Phrases: string[];
25
25
  version: number;
26
26
  }
@@ -31,7 +31,7 @@ export interface IActiveProduct extends IProduct<number> {
31
31
  Quantity: number;
32
32
  MaxQuantityPerOrder: number;
33
33
  QuantityOrdered: number;
34
- TriggerPhrases: ITriggerPhrase[];
34
+ TriggerPhrases: ITriggerPhrases;
35
35
  }
36
36
  export interface IDeal<T extends IProduct<number | null>> {
37
37
  Name: string | null;
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ export { OrganizationRole, ServiceType } from "./extensions/organizations";
20
20
  export { ServiceConnectionType } from "./extensions/serviceConnections";
21
21
  export { FileStatus } from "./iFile";
22
22
  export type { IContentGroup, IPrivateContentGroup, } from "./extensions/contentGroups";
23
- export type { IActiveDeal, IActiveProduct, IDatedDeal, IDeal, IDealOverview, IDealReplies, IPickUpDeal, IPublicDeal, ISummeryDealPostStatistics, IPostDeal, IProduct, ITriggerPhrase } from "./extensions/deals";
23
+ export type { IActiveDeal, IActiveProduct, IDatedDeal, IDeal, IDealOverview, IDealReplies, IPickUpDeal, IPublicDeal, ISummeryDealPostStatistics, IPostDeal, IProduct, ITriggerPhrases } from "./extensions/deals";
24
24
  export type { IFilter } from "./extensions/filters";
25
25
  export type { ILocation, ILocationInvitation, ILocationWithServices } from "./extensions/locations";
26
26
  export type { IOrder, IOrderLine } from "./extensions/orders";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaosinsight/postoffice-portalclient",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "main": "./src/index.ts",
@@ -24,10 +24,10 @@ export interface IProduct<T extends number | null> {
24
24
  Quantity: number | null
25
25
  MaxQuantityPerOrder: number | null
26
26
  QuantityOrdered?: number
27
- TriggerPhrases: ITriggerPhrase[] | null
27
+ TriggerPhrases: ITriggerPhrases | null
28
28
  }
29
29
 
30
- export interface ITriggerPhrase {
30
+ export interface ITriggerPhrases {
31
31
  Phrases: string[]
32
32
  version: number
33
33
  }
@@ -39,7 +39,7 @@ export interface IActiveProduct extends IProduct<number> {
39
39
  Quantity: number
40
40
  MaxQuantityPerOrder: number
41
41
  QuantityOrdered: number
42
- TriggerPhrases: ITriggerPhrase[]
42
+ TriggerPhrases: ITriggerPhrases
43
43
  }
44
44
 
45
45
  export interface IDeal<T extends IProduct<number | null>> {
package/src/index.ts CHANGED
@@ -24,7 +24,7 @@ export {FileStatus} from "./iFile"
24
24
 
25
25
  export type {IContentGroup, IPrivateContentGroup, } from "./extensions/contentGroups"
26
26
  export type {IActiveDeal, IActiveProduct, IDatedDeal, IDeal, IDealOverview, IDealReplies, IPickUpDeal, IPublicDeal,
27
- ISummeryDealPostStatistics, IPostDeal, IProduct, ITriggerPhrase} from "./extensions/deals"
27
+ ISummeryDealPostStatistics, IPostDeal, IProduct, ITriggerPhrases} from "./extensions/deals"
28
28
  export type {IFilter} from "./extensions/filters"
29
29
  export type {ILocation, ILocationInvitation, ILocationWithServices} from "./extensions/locations"
30
30
  export type {IOrder, IOrderLine} from "./extensions/orders"