tuix-timesheets-api 0.63.0 → 0.65.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.
- package/.openapi-generator/FILES +0 -7
- package/apis/TuixTimesheetsClientApi.js +0 -295
- package/apis/TuixTimesheetsClientApi.js.map +1 -1
- package/apis/TuixTimesheetsClientApi.ts +0 -416
- package/models/ErrorDTO.js +2 -2
- package/models/ErrorDTO.js.map +1 -1
- package/models/ErrorDTO.ts +3 -2
- package/models/index.js +0 -7
- package/models/index.js.map +1 -1
- package/models/index.ts +0 -7
- package/package.json +1 -1
- package/models/CreateSubscriptionDTO.js +0 -53
- package/models/CreateSubscriptionDTO.js.map +0 -1
- package/models/CreateSubscriptionDTO.ts +0 -73
- package/models/EmailTemplateDTO.js +0 -57
- package/models/EmailTemplateDTO.js.map +0 -1
- package/models/EmailTemplateDTO.ts +0 -89
- package/models/PaginatedEmailTemplateDTO.js +0 -64
- package/models/PaginatedEmailTemplateDTO.js.map +0 -1
- package/models/PaginatedEmailTemplateDTO.ts +0 -109
- package/models/SendNewsletterDTO.js +0 -51
- package/models/SendNewsletterDTO.js.map +0 -1
- package/models/SendNewsletterDTO.ts +0 -65
- package/models/SubscriptionDTO.js +0 -59
- package/models/SubscriptionDTO.js.map +0 -1
- package/models/SubscriptionDTO.ts +0 -97
- package/models/SubscriptionSentDTO.js +0 -54
- package/models/SubscriptionSentDTO.js.map +0 -1
- package/models/SubscriptionSentDTO.ts +0 -80
- package/models/SubscriptionsSentResponseDTO.js +0 -52
- package/models/SubscriptionsSentResponseDTO.js.map +0 -1
- package/models/SubscriptionsSentResponseDTO.ts +0 -72
|
@@ -1,97 +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 SubscriptionDTO
|
|
20
|
-
*/
|
|
21
|
-
export interface SubscriptionDTO {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SubscriptionDTO
|
|
26
|
-
*/
|
|
27
|
-
createdAt?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SubscriptionDTO
|
|
32
|
-
*/
|
|
33
|
-
email?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SubscriptionDTO
|
|
38
|
-
*/
|
|
39
|
-
id?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SubscriptionDTO
|
|
44
|
-
*/
|
|
45
|
-
language?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof SubscriptionDTO
|
|
50
|
-
*/
|
|
51
|
-
updatedAt?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the SubscriptionDTO interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfSubscriptionDTO(value: object): boolean {
|
|
58
|
-
let isInstance = true;
|
|
59
|
-
|
|
60
|
-
return isInstance;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function SubscriptionDTOFromJSON(json: any): SubscriptionDTO {
|
|
64
|
-
return SubscriptionDTOFromJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function SubscriptionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDTO {
|
|
68
|
-
if ((json === undefined) || (json === null)) {
|
|
69
|
-
return json;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'createdAt': !exists(json, 'createdAt') ? undefined : json['createdAt'],
|
|
74
|
-
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
75
|
-
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
76
|
-
'language': !exists(json, 'language') ? undefined : json['language'],
|
|
77
|
-
'updatedAt': !exists(json, 'updatedAt') ? undefined : json['updatedAt'],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function SubscriptionDTOToJSON(value?: SubscriptionDTO | null): any {
|
|
82
|
-
if (value === undefined) {
|
|
83
|
-
return undefined;
|
|
84
|
-
}
|
|
85
|
-
if (value === null) {
|
|
86
|
-
return null;
|
|
87
|
-
}
|
|
88
|
-
return {
|
|
89
|
-
|
|
90
|
-
'createdAt': value.createdAt,
|
|
91
|
-
'email': value.email,
|
|
92
|
-
'id': value.id,
|
|
93
|
-
'language': value.language,
|
|
94
|
-
'updatedAt': value.updatedAt,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
|
|
@@ -1,54 +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.SubscriptionSentDTOToJSON = exports.SubscriptionSentDTOFromJSONTyped = exports.SubscriptionSentDTOFromJSON = exports.instanceOfSubscriptionSentDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
const SubscriptionDTO_1 = require("./SubscriptionDTO");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the SubscriptionSentDTO interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfSubscriptionSentDTO(value) {
|
|
23
|
-
let isInstance = true;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfSubscriptionSentDTO = instanceOfSubscriptionSentDTO;
|
|
27
|
-
function SubscriptionSentDTOFromJSON(json) {
|
|
28
|
-
return SubscriptionSentDTOFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.SubscriptionSentDTOFromJSON = SubscriptionSentDTOFromJSON;
|
|
31
|
-
function SubscriptionSentDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'emailSent': !(0, runtime_1.exists)(json, 'emailSent') ? undefined : json['emailSent'],
|
|
37
|
-
'subscription': !(0, runtime_1.exists)(json, 'subscription') ? undefined : (0, SubscriptionDTO_1.SubscriptionDTOFromJSON)(json['subscription']),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.SubscriptionSentDTOFromJSONTyped = SubscriptionSentDTOFromJSONTyped;
|
|
41
|
-
function SubscriptionSentDTOToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'emailSent': value.emailSent,
|
|
50
|
-
'subscription': (0, SubscriptionDTO_1.SubscriptionDTOToJSON)(value.subscription),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.SubscriptionSentDTOToJSON = SubscriptionSentDTOToJSON;
|
|
54
|
-
//# sourceMappingURL=SubscriptionSentDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionSentDTO.js","sourceRoot":"","sources":["SubscriptionSentDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,uDAI2B;AAsB3B;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,sEAIC;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,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,cAAc,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,yCAAuB,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC5G,CAAC;AACN,CAAC;AATD,4EASC;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,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,cAAc,EAAE,IAAA,uCAAqB,EAAC,KAAK,CAAC,YAAY,CAAC;KAC5D,CAAC;AACN,CAAC;AAZD,8DAYC"}
|
|
@@ -1,80 +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 { SubscriptionDTO } from './SubscriptionDTO';
|
|
17
|
-
import {
|
|
18
|
-
SubscriptionDTOFromJSON,
|
|
19
|
-
SubscriptionDTOFromJSONTyped,
|
|
20
|
-
SubscriptionDTOToJSON,
|
|
21
|
-
} from './SubscriptionDTO';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface SubscriptionSentDTO
|
|
27
|
-
*/
|
|
28
|
-
export interface SubscriptionSentDTO {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {boolean}
|
|
32
|
-
* @memberof SubscriptionSentDTO
|
|
33
|
-
*/
|
|
34
|
-
emailSent?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {SubscriptionDTO}
|
|
38
|
-
* @memberof SubscriptionSentDTO
|
|
39
|
-
*/
|
|
40
|
-
subscription?: SubscriptionDTO;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the SubscriptionSentDTO interface.
|
|
45
|
-
*/
|
|
46
|
-
export function instanceOfSubscriptionSentDTO(value: object): boolean {
|
|
47
|
-
let isInstance = true;
|
|
48
|
-
|
|
49
|
-
return isInstance;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function SubscriptionSentDTOFromJSON(json: any): SubscriptionSentDTO {
|
|
53
|
-
return SubscriptionSentDTOFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function SubscriptionSentDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionSentDTO {
|
|
57
|
-
if ((json === undefined) || (json === null)) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'emailSent': !exists(json, 'emailSent') ? undefined : json['emailSent'],
|
|
63
|
-
'subscription': !exists(json, 'subscription') ? undefined : SubscriptionDTOFromJSON(json['subscription']),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function SubscriptionSentDTOToJSON(value?: SubscriptionSentDTO | null): any {
|
|
68
|
-
if (value === undefined) {
|
|
69
|
-
return undefined;
|
|
70
|
-
}
|
|
71
|
-
if (value === null) {
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
|
|
76
|
-
'emailSent': value.emailSent,
|
|
77
|
-
'subscription': SubscriptionDTOToJSON(value.subscription),
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
@@ -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.SubscriptionsSentResponseDTOToJSON = exports.SubscriptionsSentResponseDTOFromJSONTyped = exports.SubscriptionsSentResponseDTOFromJSON = exports.instanceOfSubscriptionsSentResponseDTO = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
const SubscriptionSentDTO_1 = require("./SubscriptionSentDTO");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the SubscriptionsSentResponseDTO interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfSubscriptionsSentResponseDTO(value) {
|
|
23
|
-
let isInstance = true;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfSubscriptionsSentResponseDTO = instanceOfSubscriptionsSentResponseDTO;
|
|
27
|
-
function SubscriptionsSentResponseDTOFromJSON(json) {
|
|
28
|
-
return SubscriptionsSentResponseDTOFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.SubscriptionsSentResponseDTOFromJSON = SubscriptionsSentResponseDTOFromJSON;
|
|
31
|
-
function SubscriptionsSentResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'subscriptionsProcessed': !(0, runtime_1.exists)(json, 'subscriptionsProcessed') ? undefined : (json['subscriptionsProcessed'].map(SubscriptionSentDTO_1.SubscriptionSentDTOFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.SubscriptionsSentResponseDTOFromJSONTyped = SubscriptionsSentResponseDTOFromJSONTyped;
|
|
40
|
-
function SubscriptionsSentResponseDTOToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'subscriptionsProcessed': value.subscriptionsProcessed === undefined ? undefined : (value.subscriptionsProcessed.map(SubscriptionSentDTO_1.SubscriptionSentDTOToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.SubscriptionsSentResponseDTOToJSON = SubscriptionsSentResponseDTOToJSON;
|
|
52
|
-
//# sourceMappingURL=SubscriptionsSentResponseDTO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionsSentResponseDTO.js","sourceRoot":"","sources":["SubscriptionsSentResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAE/C,+DAI+B;AAgB/B;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,wFAIC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAFD,oFAEC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,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,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,wBAAwB,CAAgB,CAAC,GAAG,CAAC,iDAA2B,CAAC,CAAC;KACpK,CAAC;AACN,CAAC;AARD,8FAQC;AAED,SAAgB,kCAAkC,CAAC,KAA2C;IAC1F,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,KAAK,CAAC,sBAAsB,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,sBAAqC,CAAC,GAAG,CAAC,+CAAyB,CAAC,CAAC;KACnK,CAAC;AACN,CAAC;AAXD,gFAWC"}
|
|
@@ -1,72 +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 { SubscriptionSentDTO } from './SubscriptionSentDTO';
|
|
17
|
-
import {
|
|
18
|
-
SubscriptionSentDTOFromJSON,
|
|
19
|
-
SubscriptionSentDTOFromJSONTyped,
|
|
20
|
-
SubscriptionSentDTOToJSON,
|
|
21
|
-
} from './SubscriptionSentDTO';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface SubscriptionsSentResponseDTO
|
|
27
|
-
*/
|
|
28
|
-
export interface SubscriptionsSentResponseDTO {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<SubscriptionSentDTO>}
|
|
32
|
-
* @memberof SubscriptionsSentResponseDTO
|
|
33
|
-
*/
|
|
34
|
-
subscriptionsProcessed?: Array<SubscriptionSentDTO>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the SubscriptionsSentResponseDTO interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfSubscriptionsSentResponseDTO(value: object): boolean {
|
|
41
|
-
let isInstance = true;
|
|
42
|
-
|
|
43
|
-
return isInstance;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function SubscriptionsSentResponseDTOFromJSON(json: any): SubscriptionsSentResponseDTO {
|
|
47
|
-
return SubscriptionsSentResponseDTOFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function SubscriptionsSentResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsSentResponseDTO {
|
|
51
|
-
if ((json === undefined) || (json === null)) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
|
|
56
|
-
'subscriptionsProcessed': !exists(json, 'subscriptionsProcessed') ? undefined : ((json['subscriptionsProcessed'] as Array<any>).map(SubscriptionSentDTOFromJSON)),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SubscriptionsSentResponseDTOToJSON(value?: SubscriptionsSentResponseDTO | null): any {
|
|
61
|
-
if (value === undefined) {
|
|
62
|
-
return undefined;
|
|
63
|
-
}
|
|
64
|
-
if (value === null) {
|
|
65
|
-
return null;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'subscriptionsProcessed': value.subscriptionsProcessed === undefined ? undefined : ((value.subscriptionsProcessed as Array<any>).map(SubscriptionSentDTOToJSON)),
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|