ch-api-client-typescript2 5.1.6 → 5.1.7

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/lib/base.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAoB,EAAgB,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAErF,eAAO,MAAM,SAAS,QAAyC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED;;;;GAIG;AACH,qBAAa,OAAO;IAG2B,SAAS,CAAC,QAAQ,EAAE,MAAM;IAAc,SAAS,CAAC,KAAK,EAAE,aAAa;IAFjH,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;gBAEvC,aAAa,CAAC,EAAE,aAAa,EAAY,QAAQ,GAAE,MAAkB,EAAY,KAAK,GAAE,aAA2B;CAMlI;AAED;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAoB,EAAgB,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAErF,eAAO,MAAM,SAAS,QAAuD,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED;;;;GAIG;AACH,qBAAa,OAAO;IAG2B,SAAS,CAAC,QAAQ,EAAE,MAAM;IAAc,SAAS,CAAC,KAAK,EAAE,aAAa;IAFjH,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;gBAEvC,aAAa,CAAC,EAAE,aAAa,EAAY,QAAQ,GAAE,MAAkB,EAAY,KAAK,GAAE,aAA2B;CAMlI;AAED;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
package/lib/base.js CHANGED
@@ -35,7 +35,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
35
35
  // Some imports not used depending on template conditions
36
36
  // @ts-ignore
37
37
  var axios_1 = __importDefault(require("axios"));
38
- exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
38
+ exports.BASE_PATH = "https://int.icloudhospital.com".replace(/\/+$/, "");
39
39
  /**
40
40
  *
41
41
  * @export
@@ -71,6 +71,12 @@ export interface SurveyFormElementModel {
71
71
  * @memberof SurveyFormElementModel
72
72
  */
73
73
  'placeholder'?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof SurveyFormElementModel
78
+ */
79
+ 'description'?: string | null;
74
80
  /**
75
81
  *
76
82
  * @type {Array<SurveyFormElementOptionModel>}
@@ -1 +1 @@
1
- {"version":3,"file":"survey-form-element-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-element-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;CAC1D"}
1
+ {"version":3,"file":"survey-form-element-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-element-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAGlF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;CAC1D"}
@@ -27,6 +27,8 @@ export declare const SurveyFormElementTypes: {
27
27
  readonly Checkbox: "Checkbox";
28
28
  readonly Radio: "Radio";
29
29
  readonly File: "File";
30
+ readonly Countries: "Countries";
31
+ readonly Phone: "Phone";
30
32
  };
31
33
  export type SurveyFormElementTypes = typeof SurveyFormElementTypes[keyof typeof SurveyFormElementTypes];
32
34
  //# sourceMappingURL=survey-form-element-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"survey-form-element-types.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-element-types.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAazB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"survey-form-element-types.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-element-types.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;CAezB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
@@ -31,5 +31,7 @@ exports.SurveyFormElementTypes = {
31
31
  Select: 'Select',
32
32
  Checkbox: 'Checkbox',
33
33
  Radio: 'Radio',
34
- File: 'File'
34
+ File: 'File',
35
+ Countries: 'Countries',
36
+ Phone: 'Phone'
35
37
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/base.ts CHANGED
@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
18
18
  // @ts-ignore
19
19
  import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
20
20
 
21
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
21
+ export const BASE_PATH = "https://int.icloudhospital.com".replace(/\/+$/, "");
22
22
 
23
23
  /**
24
24
  *
@@ -80,6 +80,12 @@ export interface SurveyFormElementModel {
80
80
  * @memberof SurveyFormElementModel
81
81
  */
82
82
  'placeholder'?: string | null;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof SurveyFormElementModel
87
+ */
88
+ 'description'?: string | null;
83
89
  /**
84
90
  *
85
91
  * @type {Array<SurveyFormElementOptionModel>}
@@ -32,7 +32,9 @@ export const SurveyFormElementTypes = {
32
32
  Select: 'Select',
33
33
  Checkbox: 'Checkbox',
34
34
  Radio: 'Radio',
35
- File: 'File'
35
+ File: 'File',
36
+ Countries: 'Countries',
37
+ Phone: 'Phone'
36
38
  } as const;
37
39
 
38
40
  export type SurveyFormElementTypes = typeof SurveyFormElementTypes[keyof typeof SurveyFormElementTypes];