tuix-timesheets-api 0.6.26 → 0.6.28

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.
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TeamUpdateDTOToJSON = exports.TeamUpdateDTOFromJSONTyped = exports.TeamUpdateDTOFromJSON = exports.instanceOfTeamUpdateDTO = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const UserEnrollDTO_1 = require("./UserEnrollDTO");
19
+ /**
20
+ * Check if a given object implements the TeamUpdateDTO interface.
21
+ */
22
+ function instanceOfTeamUpdateDTO(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfTeamUpdateDTO = instanceOfTeamUpdateDTO;
27
+ function TeamUpdateDTOFromJSON(json) {
28
+ return TeamUpdateDTOFromJSONTyped(json, false);
29
+ }
30
+ exports.TeamUpdateDTOFromJSON = TeamUpdateDTOFromJSON;
31
+ function TeamUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'team': !(0, runtime_1.exists)(json, 'team') ? undefined : (json['team'].map(UserEnrollDTO_1.UserEnrollDTOFromJSON)),
37
+ };
38
+ }
39
+ exports.TeamUpdateDTOFromJSONTyped = TeamUpdateDTOFromJSONTyped;
40
+ function TeamUpdateDTOToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'team': value.team === undefined ? undefined : (value.team.map(UserEnrollDTO_1.UserEnrollDTOToJSON)),
49
+ };
50
+ }
51
+ exports.TeamUpdateDTOToJSON = TeamUpdateDTOToJSON;
52
+ //# sourceMappingURL=TeamUpdateDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TeamUpdateDTO.js","sourceRoot":"","sources":["TeamUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,mDAIyB;AAgBzB;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,0DAIC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;KACxG,CAAC;AACN,CAAC;AARD,gEAQC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,IAAmB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;KACvG,CAAC;AACN,CAAC;AAXD,kDAWC"}
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Services
5
+ * Tuix Services API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { UserEnrollDTO } from './UserEnrollDTO';
17
+ import {
18
+ UserEnrollDTOFromJSON,
19
+ UserEnrollDTOFromJSONTyped,
20
+ UserEnrollDTOToJSON,
21
+ } from './UserEnrollDTO';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface TeamUpdateDTO
27
+ */
28
+ export interface TeamUpdateDTO {
29
+ /**
30
+ *
31
+ * @type {Array<UserEnrollDTO>}
32
+ * @memberof TeamUpdateDTO
33
+ */
34
+ team?: Array<UserEnrollDTO>;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the TeamUpdateDTO interface.
39
+ */
40
+ export function instanceOfTeamUpdateDTO(value: object): boolean {
41
+ let isInstance = true;
42
+
43
+ return isInstance;
44
+ }
45
+
46
+ export function TeamUpdateDTOFromJSON(json: any): TeamUpdateDTO {
47
+ return TeamUpdateDTOFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function TeamUpdateDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): TeamUpdateDTO {
51
+ if ((json === undefined) || (json === null)) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'team': !exists(json, 'team') ? undefined : ((json['team'] as Array<any>).map(UserEnrollDTOFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function TeamUpdateDTOToJSON(value?: TeamUpdateDTO | null): any {
61
+ if (value === undefined) {
62
+ return undefined;
63
+ }
64
+ if (value === null) {
65
+ return null;
66
+ }
67
+ return {
68
+
69
+ 'team': value.team === undefined ? undefined : ((value.team as Array<any>).map(UserEnrollDTOToJSON)),
70
+ };
71
+ }
72
+
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Services
6
+ * Tuix Services API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UserEnrollDTOToJSON = exports.UserEnrollDTOFromJSONTyped = exports.UserEnrollDTOFromJSON = exports.instanceOfUserEnrollDTO = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the UserEnrollDTO interface.
20
+ */
21
+ function instanceOfUserEnrollDTO(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfUserEnrollDTO = instanceOfUserEnrollDTO;
26
+ function UserEnrollDTOFromJSON(json) {
27
+ return UserEnrollDTOFromJSONTyped(json, false);
28
+ }
29
+ exports.UserEnrollDTOFromJSON = UserEnrollDTOFromJSON;
30
+ function UserEnrollDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : json['createdAt'],
36
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
37
+ 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : json['updatedAt'],
38
+ };
39
+ }
40
+ exports.UserEnrollDTOFromJSONTyped = UserEnrollDTOFromJSONTyped;
41
+ function UserEnrollDTOToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'createdAt': value.createdAt,
50
+ 'id': value.id,
51
+ 'updatedAt': value.updatedAt,
52
+ };
53
+ }
54
+ exports.UserEnrollDTOToJSON = UserEnrollDTOToJSON;
55
+ //# sourceMappingURL=UserEnrollDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserEnrollDTO.js","sourceRoot":"","sources":["UserEnrollDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AA2B/C;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,0DAIC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,IAAI,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAClD,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;KAC1E,CAAC;AACN,CAAC;AAVD,gEAUC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN,CAAC;AAbD,kDAaC"}
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Services
5
+ * Tuix Services API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UserEnrollDTO
20
+ */
21
+ export interface UserEnrollDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof UserEnrollDTO
26
+ */
27
+ createdAt?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UserEnrollDTO
32
+ */
33
+ id?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UserEnrollDTO
38
+ */
39
+ updatedAt?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the UserEnrollDTO interface.
44
+ */
45
+ export function instanceOfUserEnrollDTO(value: object): boolean {
46
+ let isInstance = true;
47
+
48
+ return isInstance;
49
+ }
50
+
51
+ export function UserEnrollDTOFromJSON(json: any): UserEnrollDTO {
52
+ return UserEnrollDTOFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function UserEnrollDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserEnrollDTO {
56
+ if ((json === undefined) || (json === null)) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'createdAt': !exists(json, 'createdAt') ? undefined : json['createdAt'],
62
+ 'id': !exists(json, 'id') ? undefined : json['id'],
63
+ 'updatedAt': !exists(json, 'updatedAt') ? undefined : json['updatedAt'],
64
+ };
65
+ }
66
+
67
+ export function UserEnrollDTOToJSON(value?: UserEnrollDTO | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'createdAt': value.createdAt,
77
+ 'id': value.id,
78
+ 'updatedAt': value.updatedAt,
79
+ };
80
+ }
81
+
package/models/index.js CHANGED
@@ -25,6 +25,7 @@ __exportStar(require("./ErrorDTO"), exports);
25
25
  __exportStar(require("./PaginatedClients"), exports);
26
26
  __exportStar(require("./PaginatedEmployees"), exports);
27
27
  __exportStar(require("./PaginatedProjects"), exports);
28
+ __exportStar(require("./PaginatedUsers"), exports);
28
29
  __exportStar(require("./ProjectDTO"), exports);
29
30
  __exportStar(require("./ProjectInputDTO"), exports);
30
31
  __exportStar(require("./ProjectUpdateDTO"), exports);
@@ -34,5 +35,7 @@ __exportStar(require("./SendNewsletterDto"), exports);
34
35
  __exportStar(require("./Subscription"), exports);
35
36
  __exportStar(require("./SubscriptionSentDto"), exports);
36
37
  __exportStar(require("./SubscriptionsSentResponseDto"), exports);
38
+ __exportStar(require("./TeamUpdateDTO"), exports);
37
39
  __exportStar(require("./UserDTOSc"), exports);
40
+ __exportStar(require("./UserEnrollDTO"), exports);
38
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC;AACxC,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC;AACxC,mDAAiC;AACjC,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,mDAAiC;AACjC,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,kDAAgC;AAChC,8CAA4B;AAC5B,kDAAgC"}
package/models/index.ts CHANGED
@@ -9,6 +9,7 @@ export * from './ErrorDTO';
9
9
  export * from './PaginatedClients';
10
10
  export * from './PaginatedEmployees';
11
11
  export * from './PaginatedProjects';
12
+ export * from './PaginatedUsers';
12
13
  export * from './ProjectDTO';
13
14
  export * from './ProjectInputDTO';
14
15
  export * from './ProjectUpdateDTO';
@@ -18,4 +19,6 @@ export * from './SendNewsletterDto';
18
19
  export * from './Subscription';
19
20
  export * from './SubscriptionSentDto';
20
21
  export * from './SubscriptionsSentResponseDto';
22
+ export * from './TeamUpdateDTO';
21
23
  export * from './UserDTOSc';
24
+ export * from './UserEnrollDTO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-timesheets-api",
3
- "version": "0.6.26",
3
+ "version": "0.6.28",
4
4
  "description": "This package facilitates the client request to tuix timesheets api",
5
5
  "main": "index.js",
6
6
  "private": false,