swoop-common 2.2.170 → 2.2.172

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,6 +18,8 @@ export type Partner = {
18
18
  depositType?: string;
19
19
  depositValue?: number;
20
20
  nonCommissionableAmount?: number;
21
+ emergencyTelephoneCustomer?: string | null;
22
+ emergencyEmailCustomer?: string | null;
21
23
  /**
22
24
  * The currencies used by this partner
23
25
  */
@@ -19,6 +19,8 @@ export type Partner_jsonld = (HydraItemBaseSchema & {
19
19
  depositType?: string;
20
20
  depositValue?: number;
21
21
  nonCommissionableAmount?: number;
22
+ emergencyTelephoneCustomer?: string | null;
23
+ emergencyEmailCustomer?: string | null;
22
24
  /**
23
25
  * The currencies used by this partner
24
26
  */
@@ -144,5 +144,22 @@ registerType("address", "Address", {
144
144
  required: ["line1", "city", "postcode"],
145
145
  }, {}, false);
146
146
  registerType("image", "Image", { type: "string" }, {}, false);
147
+ registerType("person", "Person (Swooper)", { type: "string" }, {
148
+ type: "object",
149
+ title: "Person Options",
150
+ properties: {
151
+ groups: {
152
+ type: "array",
153
+ title: "Filter by Groups",
154
+ description: "e.g. sales, manager, admin",
155
+ items: { type: "string" },
156
+ },
157
+ region: {
158
+ type: "string",
159
+ title: "Filter by Region",
160
+ enum: ["", "patagonia", "antarctica", "arctic"],
161
+ },
162
+ },
163
+ }, false);
147
164
  registerType("multiline", "Multiline", { type: "string" }, {}, false);
148
165
  registerType("testComp", "Test Component", { type: "object" }, {}, false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.2.170",
3
+ "version": "2.2.172",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {