tuix-timesheets-api 0.5.11 → 0.5.13
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/.openapi-generator/FILES +3 -7
- package/apis/TuixTimesheetsClientApi.js +784 -0
- package/apis/TuixTimesheetsClientApi.js.map +1 -0
- package/apis/TuixTimesheetsClientApi.ts +72 -36
- package/apis/index.js +20 -0
- package/apis/index.js.map +1 -0
- package/index.js +22 -0
- package/index.js.map +1 -0
- package/models/ClientDTO.js +75 -0
- package/models/ClientDTO.js.map +1 -0
- package/models/ClientsGet200ResponseInner.js +75 -0
- package/models/ClientsGet200ResponseInner.js.map +1 -0
- package/models/ClientsPost400Response.js +51 -0
- package/models/ClientsPost400Response.js.map +1 -0
- package/models/ClientsPost400Response.ts +3 -2
- package/models/CompaniesGet200ResponseInner.js +99 -0
- package/models/CompaniesGet200ResponseInner.js.map +1 -0
- package/models/CompaniesIdPatchRequest.js +85 -0
- package/models/CompaniesIdPatchRequest.js.map +1 -0
- package/models/CompaniesPostRequest.js +102 -0
- package/models/CompaniesPostRequest.js.map +1 -0
- package/models/Company.js +99 -0
- package/models/Company.js.map +1 -0
- package/models/CreateCompanyDTO.js +102 -0
- package/models/CreateCompanyDTO.js.map +1 -0
- package/models/CreateSubscriptionDTO.js +54 -0
- package/models/CreateSubscriptionDTO.js.map +1 -0
- package/models/EmailTemplates.js +60 -0
- package/models/EmailTemplates.js.map +1 -0
- package/models/EmailTemplates.ts +93 -0
- package/models/{ErrorDto.ts → ErrorDTO.js} +15 -30
- package/models/ErrorDTO.js.map +1 -0
- package/models/ErrorDTO.ts +3 -2
- package/models/SendNewsletterDto.js +51 -0
- package/models/SendNewsletterDto.js.map +1 -0
- package/models/Subscription.js +63 -0
- package/models/Subscription.js.map +1 -0
- package/models/SubscriptionSentDto.js +57 -0
- package/models/SubscriptionSentDto.js.map +1 -0
- package/models/SubscriptionsGet200ResponseInner.js +63 -0
- package/models/SubscriptionsGet200ResponseInner.js.map +1 -0
- package/models/{SubscriptionsGet200ResponseSubscriptionsInner.ts → SubscriptionsGet200ResponseInner.ts} +13 -13
- package/models/SubscriptionsNewsletterPost201Response.js +52 -0
- package/models/SubscriptionsNewsletterPost201Response.js.map +1 -0
- package/models/SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js +57 -0
- package/models/SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js.map +1 -0
- package/models/SubscriptionsNewsletterPostRequest.js +51 -0
- package/models/SubscriptionsNewsletterPostRequest.js.map +1 -0
- package/models/SubscriptionsPostRequest.js +54 -0
- package/models/SubscriptionsPostRequest.js.map +1 -0
- package/models/SubscriptionsSentResponseDto.js +52 -0
- package/models/SubscriptionsSentResponseDto.js.map +1 -0
- package/models/TemplatesGet200ResponseInner.js +60 -0
- package/models/TemplatesGet200ResponseInner.js.map +1 -0
- package/models/TemplatesGet200ResponseInner.ts +93 -0
- package/models/TestUsersGet200ResponseInner.js +57 -0
- package/models/TestUsersGet200ResponseInner.js.map +1 -0
- package/models/UpdateCompanyDto.js +85 -0
- package/models/UpdateCompanyDto.js.map +1 -0
- package/models/UserDTOSc.js +57 -0
- package/models/UserDTOSc.js.map +1 -0
- package/models/index.js +43 -0
- package/models/index.js.map +1 -0
- package/models/index.ts +3 -7
- package/package.json +1 -1
- package/runtime.js +326 -0
- package/runtime.js.map +1 -0
- package/models/EmailTemplateDto.ts +0 -66
- package/models/SubscriptionsArrayDto.ts +0 -73
- package/models/SubscriptionsGet200Response.ts +0 -73
- package/models/SubscriptionsGet500Response.ts +0 -66
- package/models/TemplatesPostRequest.ts +0 -66
|
@@ -0,0 +1,93 @@
|
|
|
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 EmailTemplates
|
|
20
|
+
*/
|
|
21
|
+
export interface EmailTemplates {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof EmailTemplates
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof EmailTemplates
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof EmailTemplates
|
|
38
|
+
*/
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof EmailTemplates
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the EmailTemplates interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfEmailTemplates(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "id" in value;
|
|
54
|
+
isInstance = isInstance && "createdAt" in value;
|
|
55
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
56
|
+
isInstance = isInstance && "name" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function EmailTemplatesFromJSON(json: any): EmailTemplates {
|
|
62
|
+
return EmailTemplatesFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function EmailTemplatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailTemplates {
|
|
66
|
+
if ((json === undefined) || (json === null)) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'],
|
|
72
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
73
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
74
|
+
'name': json['name'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function EmailTemplatesToJSON(value?: EmailTemplates | null): any {
|
|
79
|
+
if (value === undefined) {
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
if (value === null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'id': value.id,
|
|
88
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
89
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
90
|
+
'name': value.name,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -5,53 +6,37 @@
|
|
|
5
6
|
* Tuix Services API
|
|
6
7
|
*
|
|
7
8
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
+
*
|
|
9
10
|
*
|
|
10
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ErrorDto
|
|
20
|
-
*/
|
|
21
|
-
export interface ErrorDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ErrorDto
|
|
26
|
-
*/
|
|
27
|
-
message: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ErrorDTOToJSON = exports.ErrorDTOFromJSONTyped = exports.ErrorDTOFromJSON = exports.instanceOfErrorDTO = void 0;
|
|
30
17
|
/**
|
|
31
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the ErrorDTO interface.
|
|
32
19
|
*/
|
|
33
|
-
|
|
20
|
+
function instanceOfErrorDTO(value) {
|
|
34
21
|
let isInstance = true;
|
|
35
22
|
isInstance = isInstance && "message" in value;
|
|
36
|
-
|
|
37
23
|
return isInstance;
|
|
38
24
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return
|
|
25
|
+
exports.instanceOfErrorDTO = instanceOfErrorDTO;
|
|
26
|
+
function ErrorDTOFromJSON(json) {
|
|
27
|
+
return ErrorDTOFromJSONTyped(json, false);
|
|
42
28
|
}
|
|
43
|
-
|
|
44
|
-
|
|
29
|
+
exports.ErrorDTOFromJSON = ErrorDTOFromJSON;
|
|
30
|
+
function ErrorDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
31
|
if ((json === undefined) || (json === null)) {
|
|
46
32
|
return json;
|
|
47
33
|
}
|
|
48
34
|
return {
|
|
49
|
-
|
|
50
35
|
'message': json['message'],
|
|
51
36
|
};
|
|
52
37
|
}
|
|
53
|
-
|
|
54
|
-
|
|
38
|
+
exports.ErrorDTOFromJSONTyped = ErrorDTOFromJSONTyped;
|
|
39
|
+
function ErrorDTOToJSON(value) {
|
|
55
40
|
if (value === undefined) {
|
|
56
41
|
return undefined;
|
|
57
42
|
}
|
|
@@ -59,8 +44,8 @@ export function ErrorDtoToJSON(value?: ErrorDto | null): any {
|
|
|
59
44
|
return null;
|
|
60
45
|
}
|
|
61
46
|
return {
|
|
62
|
-
|
|
63
47
|
'message': value.message,
|
|
64
48
|
};
|
|
65
49
|
}
|
|
66
|
-
|
|
50
|
+
exports.ErrorDTOToJSON = ErrorDTOToJSON;
|
|
51
|
+
//# sourceMappingURL=ErrorDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorDTO.js","sourceRoot":"","sources":["ErrorDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC5C,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,gDAKC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAFD,4CAEC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AARD,sDAQC;AAED,SAAgB,cAAc,CAAC,KAAuB;IAClD,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,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAXD,wCAWC"}
|
package/models/ErrorDTO.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface ErrorDTO {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ErrorDTO
|
|
26
26
|
*/
|
|
27
|
-
message
|
|
27
|
+
message: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -32,6 +32,7 @@ export interface ErrorDTO {
|
|
|
32
32
|
*/
|
|
33
33
|
export function instanceOfErrorDTO(value: object): boolean {
|
|
34
34
|
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "message" in value;
|
|
35
36
|
|
|
36
37
|
return isInstance;
|
|
37
38
|
}
|
|
@@ -46,7 +47,7 @@ export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
|
|
49
|
-
'message':
|
|
50
|
+
'message': json['message'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -0,0 +1,51 @@
|
|
|
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.SendNewsletterDtoToJSON = exports.SendNewsletterDtoFromJSONTyped = exports.SendNewsletterDtoFromJSON = exports.instanceOfSendNewsletterDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SendNewsletterDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSendNewsletterDto(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "templateId" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSendNewsletterDto = instanceOfSendNewsletterDto;
|
|
26
|
+
function SendNewsletterDtoFromJSON(json) {
|
|
27
|
+
return SendNewsletterDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SendNewsletterDtoFromJSON = SendNewsletterDtoFromJSON;
|
|
30
|
+
function SendNewsletterDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'templateId': json['templateId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SendNewsletterDtoFromJSONTyped = SendNewsletterDtoFromJSONTyped;
|
|
39
|
+
function SendNewsletterDtoToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'templateId': value.templateId,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SendNewsletterDtoToJSON = SendNewsletterDtoToJSON;
|
|
51
|
+
//# sourceMappingURL=SendNewsletterDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendNewsletterDto.js","sourceRoot":"","sources":["SendNewsletterDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,YAAY,IAAI,KAAK,CAAC;IAEjD,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,kEAKC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAFD,8DAEC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AARD,wEAQC;AAED,SAAgB,uBAAuB,CAAC,KAAgC;IACpE,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,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN,CAAC;AAXD,0DAWC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.SubscriptionToJSON = exports.SubscriptionFromJSONTyped = exports.SubscriptionFromJSON = exports.instanceOfSubscription = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Subscription interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSubscription(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "createdAt" in value;
|
|
24
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
25
|
+
isInstance = isInstance && "email" in value;
|
|
26
|
+
isInstance = isInstance && "language" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfSubscription = instanceOfSubscription;
|
|
30
|
+
function SubscriptionFromJSON(json) {
|
|
31
|
+
return SubscriptionFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.SubscriptionFromJSON = SubscriptionFromJSON;
|
|
34
|
+
function SubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
41
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
42
|
+
'email': json['email'],
|
|
43
|
+
'language': json['language'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.SubscriptionFromJSONTyped = SubscriptionFromJSONTyped;
|
|
47
|
+
function SubscriptionToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value.id,
|
|
56
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
57
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
58
|
+
'email': value.email,
|
|
59
|
+
'language': value.language,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.SubscriptionToJSON = SubscriptionToJSON;
|
|
63
|
+
//# sourceMappingURL=Subscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["Subscription.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyCH;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,IAAI,IAAI,KAAK,CAAC;IACzC,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAE/C,OAAO,UAAU,CAAC;AACtB,CAAC;AATD,wDASC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAFD,oDAEC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1C,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1C,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC/B,CAAC;AACN,CAAC;AAZD,8DAYC;AAED,SAAgB,kBAAkB,CAAC,KAA2B;IAC1D,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,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAfD,gDAeC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.SubscriptionSentDtoToJSON = exports.SubscriptionSentDtoFromJSONTyped = exports.SubscriptionSentDtoFromJSON = exports.instanceOfSubscriptionSentDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SubscriptionSentDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSubscriptionSentDto(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
isInstance = isInstance && "language" in value;
|
|
24
|
+
isInstance = isInstance && "isSent" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfSubscriptionSentDto = instanceOfSubscriptionSentDto;
|
|
28
|
+
function SubscriptionSentDtoFromJSON(json) {
|
|
29
|
+
return SubscriptionSentDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.SubscriptionSentDtoFromJSON = SubscriptionSentDtoFromJSON;
|
|
32
|
+
function SubscriptionSentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'language': json['language'],
|
|
39
|
+
'isSent': json['isSent'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.SubscriptionSentDtoFromJSONTyped = SubscriptionSentDtoFromJSONTyped;
|
|
43
|
+
function SubscriptionSentDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'email': value.email,
|
|
52
|
+
'language': value.language,
|
|
53
|
+
'isSent': value.isSent,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.SubscriptionSentDtoToJSON = SubscriptionSentDtoToJSON;
|
|
57
|
+
//# sourceMappingURL=SubscriptionSentDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionSentDto.js","sourceRoot":"","sources":["SubscriptionSentDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6BH;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAPD,sEAOC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAFD,kEAEC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAVD,4EAUC;AAED,SAAgB,yBAAyB,CAAC,KAAkC;IACxE,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,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAbD,8DAaC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.SubscriptionsGet200ResponseInnerToJSON = exports.SubscriptionsGet200ResponseInnerFromJSONTyped = exports.SubscriptionsGet200ResponseInnerFromJSON = exports.instanceOfSubscriptionsGet200ResponseInner = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SubscriptionsGet200ResponseInner interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSubscriptionsGet200ResponseInner(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "createdAt" in value;
|
|
24
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
25
|
+
isInstance = isInstance && "email" in value;
|
|
26
|
+
isInstance = isInstance && "language" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfSubscriptionsGet200ResponseInner = instanceOfSubscriptionsGet200ResponseInner;
|
|
30
|
+
function SubscriptionsGet200ResponseInnerFromJSON(json) {
|
|
31
|
+
return SubscriptionsGet200ResponseInnerFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.SubscriptionsGet200ResponseInnerFromJSON = SubscriptionsGet200ResponseInnerFromJSON;
|
|
34
|
+
function SubscriptionsGet200ResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
41
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
42
|
+
'email': json['email'],
|
|
43
|
+
'language': json['language'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.SubscriptionsGet200ResponseInnerFromJSONTyped = SubscriptionsGet200ResponseInnerFromJSONTyped;
|
|
47
|
+
function SubscriptionsGet200ResponseInnerToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value.id,
|
|
56
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
57
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
58
|
+
'email': value.email,
|
|
59
|
+
'language': value.language,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.SubscriptionsGet200ResponseInnerToJSON = SubscriptionsGet200ResponseInnerToJSON;
|
|
63
|
+
//# sourceMappingURL=SubscriptionsGet200ResponseInner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionsGet200ResponseInner.js","sourceRoot":"","sources":["SubscriptionsGet200ResponseInner.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyCH;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,IAAI,IAAI,KAAK,CAAC;IACzC,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,WAAW,IAAI,KAAK,CAAC;IAChD,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAE/C,OAAO,UAAU,CAAC;AACtB,CAAC;AATD,gGASC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAFD,4FAEC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1C,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1C,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC/B,CAAC;AACN,CAAC;AAZD,sGAYC;AAED,SAAgB,sCAAsC,CAAC,KAA+C;IAClG,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,IAAI,EAAE,KAAK,CAAC,EAAE;QACd,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,WAAW,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5C,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;KAC7B,CAAC;AACN,CAAC;AAfD,wFAeC"}
|
|
@@ -16,45 +16,45 @@ import { exists, mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface SubscriptionsGet200ResponseInner
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface SubscriptionsGet200ResponseInner {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof SubscriptionsGet200ResponseInner
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {Date}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof SubscriptionsGet200ResponseInner
|
|
32
32
|
*/
|
|
33
33
|
createdAt: Date;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {Date}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof SubscriptionsGet200ResponseInner
|
|
38
38
|
*/
|
|
39
39
|
updatedAt: Date;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof SubscriptionsGet200ResponseInner
|
|
44
44
|
*/
|
|
45
45
|
email: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof SubscriptionsGet200ResponseInner
|
|
50
50
|
*/
|
|
51
51
|
language: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Check if a given object implements the
|
|
55
|
+
* Check if a given object implements the SubscriptionsGet200ResponseInner interface.
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
57
|
+
export function instanceOfSubscriptionsGet200ResponseInner(value: object): boolean {
|
|
58
58
|
let isInstance = true;
|
|
59
59
|
isInstance = isInstance && "id" in value;
|
|
60
60
|
isInstance = isInstance && "createdAt" in value;
|
|
@@ -65,11 +65,11 @@ export function instanceOfSubscriptionsGet200ResponseSubscriptionsInner(value: o
|
|
|
65
65
|
return isInstance;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
69
|
-
return
|
|
68
|
+
export function SubscriptionsGet200ResponseInnerFromJSON(json: any): SubscriptionsGet200ResponseInner {
|
|
69
|
+
return SubscriptionsGet200ResponseInnerFromJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function SubscriptionsGet200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsGet200ResponseInner {
|
|
73
73
|
if ((json === undefined) || (json === null)) {
|
|
74
74
|
return json;
|
|
75
75
|
}
|
|
@@ -83,7 +83,7 @@ export function SubscriptionsGet200ResponseSubscriptionsInnerFromJSONTyped(json:
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function
|
|
86
|
+
export function SubscriptionsGet200ResponseInnerToJSON(value?: SubscriptionsGet200ResponseInner | null): any {
|
|
87
87
|
if (value === undefined) {
|
|
88
88
|
return undefined;
|
|
89
89
|
}
|
|
@@ -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.SubscriptionsNewsletterPost201ResponseToJSON = exports.SubscriptionsNewsletterPost201ResponseFromJSONTyped = exports.SubscriptionsNewsletterPost201ResponseFromJSON = exports.instanceOfSubscriptionsNewsletterPost201Response = void 0;
|
|
17
|
+
const SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner_1 = require("./SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SubscriptionsNewsletterPost201Response interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSubscriptionsNewsletterPost201Response(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "subscriptionsProcessed" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSubscriptionsNewsletterPost201Response = instanceOfSubscriptionsNewsletterPost201Response;
|
|
27
|
+
function SubscriptionsNewsletterPost201ResponseFromJSON(json) {
|
|
28
|
+
return SubscriptionsNewsletterPost201ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.SubscriptionsNewsletterPost201ResponseFromJSON = SubscriptionsNewsletterPost201ResponseFromJSON;
|
|
31
|
+
function SubscriptionsNewsletterPost201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'subscriptionsProcessed': (json['subscriptionsProcessed'].map(SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner_1.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.SubscriptionsNewsletterPost201ResponseFromJSONTyped = SubscriptionsNewsletterPost201ResponseFromJSONTyped;
|
|
40
|
+
function SubscriptionsNewsletterPost201ResponseToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'subscriptionsProcessed': (value.subscriptionsProcessed.map(SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner_1.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.SubscriptionsNewsletterPost201ResponseToJSON = SubscriptionsNewsletterPost201ResponseToJSON;
|
|
52
|
+
//# sourceMappingURL=SubscriptionsNewsletterPost201Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionsNewsletterPost201Response.js","sourceRoot":"","sources":["SubscriptionsNewsletterPost201Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,2JAI6E;AAgB7E;;GAEG;AACH,SAAgB,gDAAgD,CAAC,KAAa;IAC1E,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,wBAAwB,IAAI,KAAK,CAAC;IAE7D,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,4GAKC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAFD,wGAEC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,wBAAwB,EAAE,CAAE,IAAI,CAAC,wBAAwB,CAAgB,CAAC,GAAG,CAAC,6IAAyE,CAAC,CAAC;KAC5J,CAAC;AACN,CAAC;AARD,kHAQC;AAED,SAAgB,4CAA4C,CAAC,KAAqD;IAC9G,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,wBAAwB,EAAE,CAAE,KAAK,CAAC,sBAAqC,CAAC,GAAG,CAAC,2IAAuE,CAAC,CAAC;KACxJ,CAAC;AACN,CAAC;AAXD,oGAWC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON = exports.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped = exports.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON = exports.instanceOfSubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
isInstance = isInstance && "language" in value;
|
|
24
|
+
isInstance = isInstance && "isSent" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfSubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner = instanceOfSubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner;
|
|
28
|
+
function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON(json) {
|
|
29
|
+
return SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON = SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON;
|
|
32
|
+
function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'language': json['language'],
|
|
39
|
+
'isSent': json['isSent'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped = SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped;
|
|
43
|
+
function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'email': value.email,
|
|
52
|
+
'language': value.language,
|
|
53
|
+
'isSent': value.isSent,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON = SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON;
|
|
57
|
+
//# sourceMappingURL=SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js","sourceRoot":"","sources":["SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6BH;;GAEG;AACH,SAAgB,2EAA2E,CAAC,KAAa;IACrG,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAC5C,UAAU,GAAG,UAAU,IAAI,UAAU,IAAI,KAAK,CAAC;IAC/C,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAPD,kKAOC;AAED,SAAgB,yEAAyE,CAAC,IAAS;IAC/F,OAAO,8EAA8E,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvG,CAAC;AAFD,8JAEC;AAED,SAAgB,8EAA8E,CAAC,IAAS,EAAE,mBAA4B;IAClI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAVD,wKAUC;AAED,SAAgB,uEAAuE,CAAC,KAAgF;IACpK,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,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAbD,0JAaC"}
|