tuix-timesheets-api 0.5.13 → 0.5.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.
- package/.openapi-generator/FILES +0 -12
- package/apis/TuixTimesheetsClientApi.js +336 -336
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +440 -440
- package/models/SubscriptionsSentResponseDto.js +3 -3
- package/models/SubscriptionsSentResponseDto.js.map +1 -1
- package/models/SubscriptionsSentResponseDto.ts +9 -9
- package/models/index.js +0 -12
- package/models/index.js.map +1 -1
- package/models/index.ts +0 -12
- package/package.json +1 -1
- package/models/ClientsGet200ResponseInner.js +0 -75
- package/models/ClientsGet200ResponseInner.js.map +0 -1
- package/models/ClientsGet200ResponseInner.ts +0 -161
- package/models/ClientsPost400Response.js +0 -51
- package/models/ClientsPost400Response.js.map +0 -1
- package/models/ClientsPost400Response.ts +0 -66
- package/models/CompaniesGet200ResponseInner.js +0 -99
- package/models/CompaniesGet200ResponseInner.js.map +0 -1
- package/models/CompaniesGet200ResponseInner.ts +0 -210
- package/models/CompaniesIdPatchRequest.js +0 -85
- package/models/CompaniesIdPatchRequest.js.map +0 -1
- package/models/CompaniesIdPatchRequest.ts +0 -201
- package/models/CompaniesPostRequest.js +0 -102
- package/models/CompaniesPostRequest.js.map +0 -1
- package/models/CompaniesPostRequest.ts +0 -219
- package/models/SubscriptionsGet200ResponseInner.js +0 -63
- package/models/SubscriptionsGet200ResponseInner.js.map +0 -1
- package/models/SubscriptionsGet200ResponseInner.ts +0 -102
- package/models/SubscriptionsNewsletterPost201Response.js +0 -52
- package/models/SubscriptionsNewsletterPost201Response.js.map +0 -1
- package/models/SubscriptionsNewsletterPost201Response.ts +0 -73
- package/models/SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js +0 -57
- package/models/SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.js.map +0 -1
- package/models/SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner.ts +0 -84
- package/models/SubscriptionsNewsletterPostRequest.js +0 -51
- package/models/SubscriptionsNewsletterPostRequest.js.map +0 -1
- package/models/SubscriptionsNewsletterPostRequest.ts +0 -66
- package/models/SubscriptionsPostRequest.js +0 -54
- package/models/SubscriptionsPostRequest.js.map +0 -1
- package/models/SubscriptionsPostRequest.ts +0 -75
- package/models/TemplatesGet200ResponseInner.js +0 -60
- package/models/TemplatesGet200ResponseInner.js.map +0 -1
- package/models/TemplatesGet200ResponseInner.ts +0 -93
- package/models/TestUsersGet200ResponseInner.js +0 -57
- package/models/TestUsersGet200ResponseInner.js.map +0 -1
- package/models/TestUsersGet200ResponseInner.ts +0 -89
|
@@ -1,219 +0,0 @@
|
|
|
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 CompaniesPostRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface CompaniesPostRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CompaniesPostRequest
|
|
26
|
-
*/
|
|
27
|
-
companyName: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CompaniesPostRequest
|
|
32
|
-
*/
|
|
33
|
-
email: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CompaniesPostRequest
|
|
38
|
-
*/
|
|
39
|
-
street: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof CompaniesPostRequest
|
|
44
|
-
*/
|
|
45
|
-
postalCode: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof CompaniesPostRequest
|
|
50
|
-
*/
|
|
51
|
-
houseNumber: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof CompaniesPostRequest
|
|
56
|
-
*/
|
|
57
|
-
city: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof CompaniesPostRequest
|
|
62
|
-
*/
|
|
63
|
-
country: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof CompaniesPostRequest
|
|
68
|
-
*/
|
|
69
|
-
phoneNumber: string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof CompaniesPostRequest
|
|
74
|
-
*/
|
|
75
|
-
vatNumber: string;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof CompaniesPostRequest
|
|
80
|
-
*/
|
|
81
|
-
taxNumber: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof CompaniesPostRequest
|
|
86
|
-
*/
|
|
87
|
-
iban: string;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof CompaniesPostRequest
|
|
92
|
-
*/
|
|
93
|
-
bankName: string;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof CompaniesPostRequest
|
|
98
|
-
*/
|
|
99
|
-
bankAddressStreet: string;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof CompaniesPostRequest
|
|
104
|
-
*/
|
|
105
|
-
bankAddressHouseNumber: string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof CompaniesPostRequest
|
|
110
|
-
*/
|
|
111
|
-
bankAddressPostalCode: string;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof CompaniesPostRequest
|
|
116
|
-
*/
|
|
117
|
-
bankAddressCity: string;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof CompaniesPostRequest
|
|
122
|
-
*/
|
|
123
|
-
bankSwiftCode: string;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof CompaniesPostRequest
|
|
128
|
-
*/
|
|
129
|
-
userId: string;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Check if a given object implements the CompaniesPostRequest interface.
|
|
134
|
-
*/
|
|
135
|
-
export function instanceOfCompaniesPostRequest(value: object): boolean {
|
|
136
|
-
let isInstance = true;
|
|
137
|
-
isInstance = isInstance && "companyName" in value;
|
|
138
|
-
isInstance = isInstance && "email" in value;
|
|
139
|
-
isInstance = isInstance && "street" in value;
|
|
140
|
-
isInstance = isInstance && "postalCode" in value;
|
|
141
|
-
isInstance = isInstance && "houseNumber" in value;
|
|
142
|
-
isInstance = isInstance && "city" in value;
|
|
143
|
-
isInstance = isInstance && "country" in value;
|
|
144
|
-
isInstance = isInstance && "phoneNumber" in value;
|
|
145
|
-
isInstance = isInstance && "vatNumber" in value;
|
|
146
|
-
isInstance = isInstance && "taxNumber" in value;
|
|
147
|
-
isInstance = isInstance && "iban" in value;
|
|
148
|
-
isInstance = isInstance && "bankName" in value;
|
|
149
|
-
isInstance = isInstance && "bankAddressStreet" in value;
|
|
150
|
-
isInstance = isInstance && "bankAddressHouseNumber" in value;
|
|
151
|
-
isInstance = isInstance && "bankAddressPostalCode" in value;
|
|
152
|
-
isInstance = isInstance && "bankAddressCity" in value;
|
|
153
|
-
isInstance = isInstance && "bankSwiftCode" in value;
|
|
154
|
-
isInstance = isInstance && "userId" in value;
|
|
155
|
-
|
|
156
|
-
return isInstance;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export function CompaniesPostRequestFromJSON(json: any): CompaniesPostRequest {
|
|
160
|
-
return CompaniesPostRequestFromJSONTyped(json, false);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export function CompaniesPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompaniesPostRequest {
|
|
164
|
-
if ((json === undefined) || (json === null)) {
|
|
165
|
-
return json;
|
|
166
|
-
}
|
|
167
|
-
return {
|
|
168
|
-
|
|
169
|
-
'companyName': json['companyName'],
|
|
170
|
-
'email': json['email'],
|
|
171
|
-
'street': json['street'],
|
|
172
|
-
'postalCode': json['postalCode'],
|
|
173
|
-
'houseNumber': json['houseNumber'],
|
|
174
|
-
'city': json['city'],
|
|
175
|
-
'country': json['country'],
|
|
176
|
-
'phoneNumber': json['phoneNumber'],
|
|
177
|
-
'vatNumber': json['vatNumber'],
|
|
178
|
-
'taxNumber': json['taxNumber'],
|
|
179
|
-
'iban': json['iban'],
|
|
180
|
-
'bankName': json['bankName'],
|
|
181
|
-
'bankAddressStreet': json['bankAddressStreet'],
|
|
182
|
-
'bankAddressHouseNumber': json['bankAddressHouseNumber'],
|
|
183
|
-
'bankAddressPostalCode': json['bankAddressPostalCode'],
|
|
184
|
-
'bankAddressCity': json['bankAddressCity'],
|
|
185
|
-
'bankSwiftCode': json['bankSwiftCode'],
|
|
186
|
-
'userId': json['userId'],
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export function CompaniesPostRequestToJSON(value?: CompaniesPostRequest | null): any {
|
|
191
|
-
if (value === undefined) {
|
|
192
|
-
return undefined;
|
|
193
|
-
}
|
|
194
|
-
if (value === null) {
|
|
195
|
-
return null;
|
|
196
|
-
}
|
|
197
|
-
return {
|
|
198
|
-
|
|
199
|
-
'companyName': value.companyName,
|
|
200
|
-
'email': value.email,
|
|
201
|
-
'street': value.street,
|
|
202
|
-
'postalCode': value.postalCode,
|
|
203
|
-
'houseNumber': value.houseNumber,
|
|
204
|
-
'city': value.city,
|
|
205
|
-
'country': value.country,
|
|
206
|
-
'phoneNumber': value.phoneNumber,
|
|
207
|
-
'vatNumber': value.vatNumber,
|
|
208
|
-
'taxNumber': value.taxNumber,
|
|
209
|
-
'iban': value.iban,
|
|
210
|
-
'bankName': value.bankName,
|
|
211
|
-
'bankAddressStreet': value.bankAddressStreet,
|
|
212
|
-
'bankAddressHouseNumber': value.bankAddressHouseNumber,
|
|
213
|
-
'bankAddressPostalCode': value.bankAddressPostalCode,
|
|
214
|
-
'bankAddressCity': value.bankAddressCity,
|
|
215
|
-
'bankSwiftCode': value.bankSwiftCode,
|
|
216
|
-
'userId': value.userId,
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,102 +0,0 @@
|
|
|
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 SubscriptionsGet200ResponseInner
|
|
20
|
-
*/
|
|
21
|
-
export interface SubscriptionsGet200ResponseInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SubscriptionsGet200ResponseInner
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Date}
|
|
31
|
-
* @memberof SubscriptionsGet200ResponseInner
|
|
32
|
-
*/
|
|
33
|
-
createdAt: Date;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Date}
|
|
37
|
-
* @memberof SubscriptionsGet200ResponseInner
|
|
38
|
-
*/
|
|
39
|
-
updatedAt: Date;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SubscriptionsGet200ResponseInner
|
|
44
|
-
*/
|
|
45
|
-
email: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof SubscriptionsGet200ResponseInner
|
|
50
|
-
*/
|
|
51
|
-
language: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the SubscriptionsGet200ResponseInner interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfSubscriptionsGet200ResponseInner(value: object): boolean {
|
|
58
|
-
let isInstance = true;
|
|
59
|
-
isInstance = isInstance && "id" in value;
|
|
60
|
-
isInstance = isInstance && "createdAt" in value;
|
|
61
|
-
isInstance = isInstance && "updatedAt" in value;
|
|
62
|
-
isInstance = isInstance && "email" in value;
|
|
63
|
-
isInstance = isInstance && "language" in value;
|
|
64
|
-
|
|
65
|
-
return isInstance;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function SubscriptionsGet200ResponseInnerFromJSON(json: any): SubscriptionsGet200ResponseInner {
|
|
69
|
-
return SubscriptionsGet200ResponseInnerFromJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function SubscriptionsGet200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsGet200ResponseInner {
|
|
73
|
-
if ((json === undefined) || (json === null)) {
|
|
74
|
-
return json;
|
|
75
|
-
}
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
'id': json['id'],
|
|
79
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
80
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
81
|
-
'email': json['email'],
|
|
82
|
-
'language': json['language'],
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function SubscriptionsGet200ResponseInnerToJSON(value?: SubscriptionsGet200ResponseInner | null): any {
|
|
87
|
-
if (value === undefined) {
|
|
88
|
-
return undefined;
|
|
89
|
-
}
|
|
90
|
-
if (value === null) {
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value.id,
|
|
96
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
97
|
-
'updatedAt': (value.updatedAt.toISOString()),
|
|
98
|
-
'email': value.email,
|
|
99
|
-
'language': value.language,
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,73 +0,0 @@
|
|
|
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 { SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner } from './SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner';
|
|
17
|
-
import {
|
|
18
|
-
SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON,
|
|
19
|
-
SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped,
|
|
20
|
-
SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON,
|
|
21
|
-
} from './SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface SubscriptionsNewsletterPost201Response
|
|
27
|
-
*/
|
|
28
|
-
export interface SubscriptionsNewsletterPost201Response {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner>}
|
|
32
|
-
* @memberof SubscriptionsNewsletterPost201Response
|
|
33
|
-
*/
|
|
34
|
-
subscriptionsProcessed: Array<SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the SubscriptionsNewsletterPost201Response interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfSubscriptionsNewsletterPost201Response(value: object): boolean {
|
|
41
|
-
let isInstance = true;
|
|
42
|
-
isInstance = isInstance && "subscriptionsProcessed" in value;
|
|
43
|
-
|
|
44
|
-
return isInstance;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function SubscriptionsNewsletterPost201ResponseFromJSON(json: any): SubscriptionsNewsletterPost201Response {
|
|
48
|
-
return SubscriptionsNewsletterPost201ResponseFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function SubscriptionsNewsletterPost201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsNewsletterPost201Response {
|
|
52
|
-
if ((json === undefined) || (json === null)) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
'subscriptionsProcessed': ((json['subscriptionsProcessed'] as Array<any>).map(SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function SubscriptionsNewsletterPost201ResponseToJSON(value?: SubscriptionsNewsletterPost201Response | null): any {
|
|
62
|
-
if (value === undefined) {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
if (value === null) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'subscriptionsProcessed': ((value.subscriptionsProcessed as Array<any>).map(SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,84 +0,0 @@
|
|
|
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 SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner
|
|
20
|
-
*/
|
|
21
|
-
export interface SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner
|
|
26
|
-
*/
|
|
27
|
-
email: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner
|
|
32
|
-
*/
|
|
33
|
-
language: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner
|
|
38
|
-
*/
|
|
39
|
-
isSent: boolean;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfSubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner(value: object): boolean {
|
|
46
|
-
let isInstance = true;
|
|
47
|
-
isInstance = isInstance && "email" in value;
|
|
48
|
-
isInstance = isInstance && "language" in value;
|
|
49
|
-
isInstance = isInstance && "isSent" in value;
|
|
50
|
-
|
|
51
|
-
return isInstance;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSON(json: any): SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner {
|
|
55
|
-
return SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner {
|
|
59
|
-
if ((json === undefined) || (json === null)) {
|
|
60
|
-
return json;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
|
|
64
|
-
'email': json['email'],
|
|
65
|
-
'language': json['language'],
|
|
66
|
-
'isSent': json['isSent'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInnerToJSON(value?: SubscriptionsNewsletterPost201ResponseSubscriptionsProcessedInner | null): any {
|
|
71
|
-
if (value === undefined) {
|
|
72
|
-
return undefined;
|
|
73
|
-
}
|
|
74
|
-
if (value === null) {
|
|
75
|
-
return null;
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'email': value.email,
|
|
80
|
-
'language': value.language,
|
|
81
|
-
'isSent': value.isSent,
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|