@or-sdk/hitl 0.34.51 → 0.34.52-beta.3093.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.
@@ -1,11 +1,11 @@
1
- import { DeleteSettingOptions, GetContactBookInfoSettingOptions, GetContactBookInfoSettingResponse, GetSettingsOptions, GetSettingsResponse, UpdateSettingsOptions, UpdateSettingsResponse } from '../types/settings';
1
+ import { DeleteSettingOptions, GetContactBookInfoSettingOptions, GetSettingsOptions, GetSettingsResponse, UpdateSettingsOptions, UpdateSettingsResponse, Settings as SettingsType } from '../types/settings';
2
2
  import { HITLBase } from './HITLBase';
3
3
  export declare class Settings extends HITLBase {
4
4
  protected static readonly MODULE_URL = "settings";
5
5
  protected static readonly CONTACT_BOOK_INFO_URL = "contact-book-info";
6
6
  protected static readonly IGNORE_RULE_TAGS_HEADER = "X-Ignore-Rule-Tags";
7
7
  static getSettings(options?: GetSettingsOptions): Promise<GetSettingsResponse>;
8
- static getContactBookInfoSetting(options?: GetContactBookInfoSettingOptions): Promise<GetContactBookInfoSettingResponse>;
8
+ static getContactBookInfoSetting(options?: GetContactBookInfoSettingOptions): Promise<SettingsType>;
9
9
  static updateSettings(options: UpdateSettingsOptions): Promise<UpdateSettingsResponse>;
10
10
  static deleteSetting(options: DeleteSettingOptions): Promise<GetSettingsResponse>;
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../src/api/Settings.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oBAAoB,EACpB,gCAAgC,EAChC,iCAAiC,EACjC,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,QAAS,SAAQ,QAAQ;IACpC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,cAAc;IAClD,SAAS,CAA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ions = ApiVersionOptions & NoAccountId<Settings.IGetSe
6
6
  export type GetSettingsResponse = Settings.IGetOrUpdateSettingsResponse;
7
7
  export type Settings = Settings.ISettings;
8
8
  export type GetContactBookInfoSettingOptions = ApiVersionOptions & NoAccountId<Settings.IGetContactBookInfoSettingQuery>;
9
- export type GetContactBookInfoSettingResponse = Settings.IGetContactBookInfoSettingResponse;
10
9
  export type UpdateSettingsOptions = ApiVersionOptions & NoAccountId<Settings.IUpdateSettingsQuery> & Settings.IUpdateSettingsBody;
11
10
  export type UpdateSettingsResponse = Settings.IGetOrUpdateSettingsResponse;
12
11
  export type DeleteSettingOptions = ApiVersionOptions & NoAccountId<Settings.IDeleteSettingQuery>;
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAC9C,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,GACvC;IAAE,cAAc,CAAC,EAAE,OAAO,CAAC;CAAE,CAAC;AAElC,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,4BAA4B,CAAC;AACxE,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC;AAE1C,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,GAC5D,WAAW,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC;AAE1D,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC,kCAAkC,CAAC;AAG5F,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GACjD,WAAW,CAAC,QAAQ,CAAC,oBAAoB,CAAC,GAC1C,QAAQ,CAAC,mBAAmB,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,4BAA4B,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/types/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAC9C,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,GACvC;IAAE,cAAc,CAAC,EAAE,OAAO,CAAC;CAAE,CAAC;AAElC,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,4BAA4B,CAAC;AACxE,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAC;AAE1C,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,GAC5D,WAAW,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC;AAG1D,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GACjD,WAAW,CAAC,QAAQ,CAAC,oBAAoB,CAAC,GAC1C,QAAQ,CAAC,mBAAmB,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,4BAA4B,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/hitl",
3
- "version": "0.34.51",
3
+ "version": "0.34.52-beta.3093.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -18,7 +18,7 @@
18
18
  "dev": "pnpm build:watch:esm"
19
19
  },
20
20
  "dependencies": {
21
- "@onereach/types-hitl-api": "0.0.70-rc.1",
21
+ "@onereach/types-hitl-api": "0.0.71-rc.1",
22
22
  "@or-sdk/base": "^0.39.2",
23
23
  "@types/lodash": "^4.14.191",
24
24
  "@types/urijs": "^1.19.18",
@@ -30,6 +30,5 @@
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
- },
34
- "gitHead": "932ddbcc891b9790f5fda036dac5a3c85f77fd9c"
33
+ }
35
34
  }
@@ -5,11 +5,11 @@ import { DEFAULT_OMIT_FIELDS } from '../constants';
5
5
  import {
6
6
  DeleteSettingOptions,
7
7
  GetContactBookInfoSettingOptions,
8
- GetContactBookInfoSettingResponse,
9
8
  GetSettingsOptions,
10
9
  GetSettingsResponse,
11
10
  UpdateSettingsOptions,
12
11
  UpdateSettingsResponse,
12
+ Settings as SettingsType,
13
13
  } from '../types/settings';
14
14
 
15
15
  import { HITLBase } from './HITLBase';
@@ -36,7 +36,7 @@ export class Settings extends HITLBase {
36
36
 
37
37
  public static async getContactBookInfoSetting(
38
38
  options: GetContactBookInfoSettingOptions = {}
39
- ): Promise<GetContactBookInfoSettingResponse> {
39
+ ): Promise<SettingsType> {
40
40
  const baseUrl = this.getBaseUrl(options);
41
41
  const route = new URI(baseUrl).segment(this.CONTACT_BOOK_INFO_URL).href();
42
42
  const params = _.omit(options, [...DEFAULT_OMIT_FIELDS, 'accountId']);
@@ -13,8 +13,6 @@ export type Settings = Settings.ISettings;
13
13
  export type GetContactBookInfoSettingOptions = ApiVersionOptions
14
14
  & NoAccountId<Settings.IGetContactBookInfoSettingQuery>;
15
15
 
16
- export type GetContactBookInfoSettingResponse = Settings.IGetContactBookInfoSettingResponse;
17
-
18
16
  /* eslint-disable @typescript-eslint/indent */
19
17
  export type UpdateSettingsOptions = ApiVersionOptions
20
18
  & NoAccountId<Settings.IUpdateSettingsQuery>