@secondcloset/types 3.4.5 → 3.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondcloset/types",
3
- "version": "3.4.5",
3
+ "version": "3.5.0",
4
4
  "description": "secondcloset type declaration and definitions",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
@@ -12,6 +12,7 @@ export type FacilityCode =
12
12
  | "yvr2"
13
13
  | "yow1"
14
14
  | "yul1"
15
+ | "yul2"
15
16
  | "lax1"
16
17
  | "lax2"
17
18
  | "nyc1"
@@ -22,7 +23,13 @@ export type FacilityCode =
22
23
  | "atl2"
23
24
  | "unknown";
24
25
 
25
- export type DeprecatedFacilityCode = "yyz1" | "yyz2";
26
+ export type DeprecatedFacilityCode =
27
+ | "yyz1"
28
+ | "yyz2"
29
+ | "yyz3"
30
+ | "yyz4"
31
+ | "yvr1"
32
+ | "atl2";
26
33
 
27
34
  export type FacilityCity =
28
35
  | "Toronto"
@@ -4,6 +4,8 @@ import { BaseUser } from "./user";
4
4
  import { Carrier } from "../fulfillment";
5
5
  import { Facility } from "./facility";
6
6
 
7
+ export type OrganizationStatus = "active" | "paused" | "churned";
8
+
7
9
  export type OrganizationConfigKey =
8
10
  | "default_fulfilled_from"
9
11
  | "auto_fulfill_orders"
@@ -67,6 +69,7 @@ export interface BaseOrganization {
67
69
  packing_notes: string;
68
70
  phone_number: string;
69
71
  logo?: BaseImage;
72
+ status?: OrganizationStatus;
70
73
  }
71
74
 
72
75
  export interface Organization extends BaseOrganization {