scout-types 1.0.24 → 1.0.26

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.
@@ -29,7 +29,7 @@ export class Attachment {
29
29
  }
30
30
  static is(attachment) {
31
31
  return (attachment !== undefined &&
32
- typeof attachment.text === "string" &&
32
+ typeof attachment.type === "string" &&
33
33
  typeof attachment.filename === "string" &&
34
34
  typeof attachment.s3_filename === "string");
35
35
  }
@@ -10,7 +10,7 @@ export const office_classes_by_office_class_id = {
10
10
  type: "organization",
11
11
  office_id_template: "O-US",
12
12
  jurisdiction_level: JurisdictionLevel.NATION,
13
- jurisdictions_mutable: true,
13
+ jurisdictions_mutable: false,
14
14
  require_district: false,
15
15
  require_initial_jurisdiction: false
16
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scout-types",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -38,7 +38,7 @@ export class Attachment {
38
38
  static is(attachment : any) : attachment is Attachment {
39
39
  return (
40
40
  attachment !== undefined &&
41
- typeof attachment.text === "string" &&
41
+ typeof attachment.type === "string" &&
42
42
  typeof attachment.filename === "string" &&
43
43
  typeof attachment.s3_filename === "string"
44
44
  )
@@ -28,7 +28,7 @@ export const office_classes_by_office_class_id : Record<OfficeClassID, OfficeCla
28
28
  type : "organization",
29
29
  office_id_template : "O-US",
30
30
  jurisdiction_level : JurisdictionLevel.NATION,
31
- jurisdictions_mutable : true,
31
+ jurisdictions_mutable : false,
32
32
  require_district : false,
33
33
  require_initial_jurisdiction : false
34
34
  },