@sweepbright/api-client 0.42.0-pre.14 → 0.42.0-pre.15

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.
@@ -1,5 +1,17 @@
1
1
  import { Maybe } from '../common/types';
2
2
  import { ApiDataResponse } from '../types';
3
+ export interface Channel {
4
+ id: string;
5
+ slug: string;
6
+ name: string;
7
+ countries: string[];
8
+ url?: Maybe<string>;
9
+ type: string;
10
+ description?: Maybe<string>;
11
+ logo_url?: Maybe<string>;
12
+ allows_multiple_channels: boolean;
13
+ deprecated_at?: Maybe<string>;
14
+ }
3
15
  export interface ChannelAccount {
4
16
  id: string;
5
17
  name: string;
@@ -10,6 +22,6 @@ export interface ChannelAccount {
10
22
  channel_id: string;
11
23
  is_active: boolean;
12
24
  office_id: string | null;
13
- channel?: Maybe<ApiDataResponse<Record<string, unknown>> | Record<string, unknown>>;
25
+ channel?: Maybe<ApiDataResponse<Channel>>;
14
26
  public_api?: Maybe<ApiDataResponse<Record<string, unknown>> | Record<string, unknown>>;
15
27
  }
@@ -415,7 +415,7 @@ export interface LocationAttributes {
415
415
  district?: Maybe<string>;
416
416
  formatted_address?: Record<PropertyLocale, string | null>;
417
417
  formatted?: Maybe<string>;
418
- formatted_agency: Maybe<string>;
418
+ formatted_agency?: Maybe<string>;
419
419
  province_or_county?: Maybe<string>;
420
420
  public?: Maybe<boolean>;
421
421
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.42.0-pre.14",
2
+ "version": "0.42.0-pre.15",
3
3
  "license": "UNLICENCED",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "./dist/index.d.ts",