tuix-subscription-service-client 0.0.1

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.
Files changed (46) hide show
  1. package/.openapi-generator/FILES +19 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +48 -0
  5. package/apis/ClientApi.js +167 -0
  6. package/apis/ClientApi.js.map +1 -0
  7. package/apis/ClientApi.ts +205 -0
  8. package/apis/index.js +20 -0
  9. package/apis/index.js.map +1 -0
  10. package/apis/index.ts +3 -0
  11. package/docs/ClientApi.md +286 -0
  12. package/docs/CreateSubscriptionDTO.md +36 -0
  13. package/docs/ErrorDTO.md +34 -0
  14. package/docs/SendNewsletterDTO.md +34 -0
  15. package/docs/SubscriptionDTO.md +42 -0
  16. package/docs/SubscriptionSentDTO.md +36 -0
  17. package/docs/SubscriptionsSentResponseDTO.md +34 -0
  18. package/index.js +22 -0
  19. package/index.js.map +1 -0
  20. package/index.ts +5 -0
  21. package/models/CreateSubscriptionDTO.js +51 -0
  22. package/models/CreateSubscriptionDTO.js.map +1 -0
  23. package/models/CreateSubscriptionDTO.ts +73 -0
  24. package/models/ErrorDTO.js +49 -0
  25. package/models/ErrorDTO.js.map +1 -0
  26. package/models/ErrorDTO.ts +65 -0
  27. package/models/SendNewsletterDTO.js +49 -0
  28. package/models/SendNewsletterDTO.js.map +1 -0
  29. package/models/SendNewsletterDTO.ts +65 -0
  30. package/models/SubscriptionDTO.js +57 -0
  31. package/models/SubscriptionDTO.js.map +1 -0
  32. package/models/SubscriptionDTO.ts +97 -0
  33. package/models/SubscriptionSentDTO.js +52 -0
  34. package/models/SubscriptionSentDTO.js.map +1 -0
  35. package/models/SubscriptionSentDTO.ts +81 -0
  36. package/models/SubscriptionsSentResponseDTO.js +50 -0
  37. package/models/SubscriptionsSentResponseDTO.js.map +1 -0
  38. package/models/SubscriptionsSentResponseDTO.ts +73 -0
  39. package/models/index.js +25 -0
  40. package/models/index.js.map +1 -0
  41. package/models/index.ts +8 -0
  42. package/package.json +17 -0
  43. package/runtime.js +330 -0
  44. package/runtime.js.map +1 -0
  45. package/runtime.ts +432 -0
  46. package/tsconfig.build.tsbuildinfo +1 -0
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Subscriptions Service
6
+ * Service to manage Tuix Subscriptions
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
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.instanceOfErrorDTO = instanceOfErrorDTO;
17
+ exports.ErrorDTOFromJSON = ErrorDTOFromJSON;
18
+ exports.ErrorDTOFromJSONTyped = ErrorDTOFromJSONTyped;
19
+ exports.ErrorDTOToJSON = ErrorDTOToJSON;
20
+ exports.ErrorDTOToJSONTyped = ErrorDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ErrorDTO interface.
23
+ */
24
+ function instanceOfErrorDTO(value) {
25
+ return true;
26
+ }
27
+ function ErrorDTOFromJSON(json) {
28
+ return ErrorDTOFromJSONTyped(json, false);
29
+ }
30
+ function ErrorDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'message': json['message'] == null ? undefined : json['message'],
36
+ };
37
+ }
38
+ function ErrorDTOToJSON(json) {
39
+ return ErrorDTOToJSONTyped(json, false);
40
+ }
41
+ function ErrorDTOToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'message': value['message'],
47
+ };
48
+ }
49
+ //# 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;;AAoBH,gDAEC;AAED,4CAEC;AAED,sDAQC;AAED,wCAEC;AAED,kDASC;AAlCD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,KAAa;IAC5C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACnE,CAAC;AACN,CAAC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,mBAAmB,CAAC,KAAuB,EAAE,sBAA+B,KAAK;IAC7F,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Subscriptions Service
5
+ * Service to manage Tuix Subscriptions
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
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 { mapValues } from '../runtime';
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
+
30
+ /**
31
+ * Check if a given object implements the ErrorDTO interface.
32
+ */
33
+ export function instanceOfErrorDTO(value: object): value is ErrorDTO {
34
+ return true;
35
+ }
36
+
37
+ export function ErrorDTOFromJSON(json: any): ErrorDTO {
38
+ return ErrorDTOFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDTO {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'message': json['message'] == null ? undefined : json['message'],
48
+ };
49
+ }
50
+
51
+ export function ErrorDTOToJSON(json: any): ErrorDTO {
52
+ return ErrorDTOToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ErrorDTOToJSONTyped(value?: ErrorDTO | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'message': value['message'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Subscriptions Service
6
+ * Service to manage Tuix Subscriptions
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
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.instanceOfSendNewsletterDTO = instanceOfSendNewsletterDTO;
17
+ exports.SendNewsletterDTOFromJSON = SendNewsletterDTOFromJSON;
18
+ exports.SendNewsletterDTOFromJSONTyped = SendNewsletterDTOFromJSONTyped;
19
+ exports.SendNewsletterDTOToJSON = SendNewsletterDTOToJSON;
20
+ exports.SendNewsletterDTOToJSONTyped = SendNewsletterDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SendNewsletterDTO interface.
23
+ */
24
+ function instanceOfSendNewsletterDTO(value) {
25
+ return true;
26
+ }
27
+ function SendNewsletterDTOFromJSON(json) {
28
+ return SendNewsletterDTOFromJSONTyped(json, false);
29
+ }
30
+ function SendNewsletterDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'templateId': json['templateId'] == null ? undefined : json['templateId'],
36
+ };
37
+ }
38
+ function SendNewsletterDTOToJSON(json) {
39
+ return SendNewsletterDTOToJSONTyped(json, false);
40
+ }
41
+ function SendNewsletterDTOToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'templateId': value['templateId'],
47
+ };
48
+ }
49
+ //# 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;;AAoBH,kEAEC;AAED,8DAEC;AAED,wEAQC;AAED,0DAEC;AAED,oEASC;AAlCD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;KAC5E,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Subscriptions Service
5
+ * Service to manage Tuix Subscriptions
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
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 { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SendNewsletterDTO
20
+ */
21
+ export interface SendNewsletterDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SendNewsletterDTO
26
+ */
27
+ templateId?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SendNewsletterDTO interface.
32
+ */
33
+ export function instanceOfSendNewsletterDTO(value: object): value is SendNewsletterDTO {
34
+ return true;
35
+ }
36
+
37
+ export function SendNewsletterDTOFromJSON(json: any): SendNewsletterDTO {
38
+ return SendNewsletterDTOFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function SendNewsletterDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendNewsletterDTO {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'templateId': json['templateId'] == null ? undefined : json['templateId'],
48
+ };
49
+ }
50
+
51
+ export function SendNewsletterDTOToJSON(json: any): SendNewsletterDTO {
52
+ return SendNewsletterDTOToJSONTyped(json, false);
53
+ }
54
+
55
+ export function SendNewsletterDTOToJSONTyped(value?: SendNewsletterDTO | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'templateId': value['templateId'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Subscriptions Service
6
+ * Service to manage Tuix Subscriptions
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
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.instanceOfSubscriptionDTO = instanceOfSubscriptionDTO;
17
+ exports.SubscriptionDTOFromJSON = SubscriptionDTOFromJSON;
18
+ exports.SubscriptionDTOFromJSONTyped = SubscriptionDTOFromJSONTyped;
19
+ exports.SubscriptionDTOToJSON = SubscriptionDTOToJSON;
20
+ exports.SubscriptionDTOToJSONTyped = SubscriptionDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SubscriptionDTO interface.
23
+ */
24
+ function instanceOfSubscriptionDTO(value) {
25
+ return true;
26
+ }
27
+ function SubscriptionDTOFromJSON(json) {
28
+ return SubscriptionDTOFromJSONTyped(json, false);
29
+ }
30
+ function SubscriptionDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
36
+ 'email': json['email'] == null ? undefined : json['email'],
37
+ 'id': json['id'] == null ? undefined : json['id'],
38
+ 'language': json['language'] == null ? undefined : json['language'],
39
+ 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
40
+ };
41
+ }
42
+ function SubscriptionDTOToJSON(json) {
43
+ return SubscriptionDTOToJSONTyped(json, false);
44
+ }
45
+ function SubscriptionDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'createdAt': value['createdAt'],
51
+ 'email': value['email'],
52
+ 'id': value['id'],
53
+ 'language': value['language'],
54
+ 'updatedAt': value['updatedAt'],
55
+ };
56
+ }
57
+ //# sourceMappingURL=SubscriptionDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionDTO.js","sourceRoot":"","sources":["SubscriptionDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,8DAEC;AAED,0DAEC;AAED,oEAYC;AAED,sDAEC;AAED,gEAaC;AA1CD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,KAAa;IACnD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;KACzE,CAAC;AACN,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,KAA8B,EAAE,sBAA+B,KAAK;IAC3G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
@@ -0,0 +1,97 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Subscriptions Service
5
+ * Service to manage Tuix Subscriptions
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
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 { 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): value is SubscriptionDTO {
58
+ return true;
59
+ }
60
+
61
+ export function SubscriptionDTOFromJSON(json: any): SubscriptionDTO {
62
+ return SubscriptionDTOFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function SubscriptionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDTO {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
72
+ 'email': json['email'] == null ? undefined : json['email'],
73
+ 'id': json['id'] == null ? undefined : json['id'],
74
+ 'language': json['language'] == null ? undefined : json['language'],
75
+ 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
76
+ };
77
+ }
78
+
79
+ export function SubscriptionDTOToJSON(json: any): SubscriptionDTO {
80
+ return SubscriptionDTOToJSONTyped(json, false);
81
+ }
82
+
83
+ export function SubscriptionDTOToJSONTyped(value?: SubscriptionDTO | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
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
+
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Subscriptions Service
6
+ * Service to manage Tuix Subscriptions
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
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.instanceOfSubscriptionSentDTO = instanceOfSubscriptionSentDTO;
17
+ exports.SubscriptionSentDTOFromJSON = SubscriptionSentDTOFromJSON;
18
+ exports.SubscriptionSentDTOFromJSONTyped = SubscriptionSentDTOFromJSONTyped;
19
+ exports.SubscriptionSentDTOToJSON = SubscriptionSentDTOToJSON;
20
+ exports.SubscriptionSentDTOToJSONTyped = SubscriptionSentDTOToJSONTyped;
21
+ const SubscriptionDTO_1 = require("./SubscriptionDTO");
22
+ /**
23
+ * Check if a given object implements the SubscriptionSentDTO interface.
24
+ */
25
+ function instanceOfSubscriptionSentDTO(value) {
26
+ return true;
27
+ }
28
+ function SubscriptionSentDTOFromJSON(json) {
29
+ return SubscriptionSentDTOFromJSONTyped(json, false);
30
+ }
31
+ function SubscriptionSentDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'emailSent': json['emailSent'] == null ? undefined : json['emailSent'],
37
+ 'subscription': json['subscription'] == null ? undefined : (0, SubscriptionDTO_1.SubscriptionDTOFromJSON)(json['subscription']),
38
+ };
39
+ }
40
+ function SubscriptionSentDTOToJSON(json) {
41
+ return SubscriptionSentDTOToJSONTyped(json, false);
42
+ }
43
+ function SubscriptionSentDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'emailSent': value['emailSent'],
49
+ 'subscription': (0, SubscriptionDTO_1.SubscriptionDTOToJSON)(value['subscription']),
50
+ };
51
+ }
52
+ //# 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;;AAkCH,sEAEC;AAED,kEAEC;AAED,4EASC;AAED,8DAEC;AAED,wEAUC;AA/DD,uDAK2B;AAsB3B;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,yCAAuB,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC3G,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,cAAc,EAAE,IAAA,uCAAqB,EAAC,KAAK,CAAC,cAAc,CAAC,CAAC;KAC/D,CAAC;AACN,CAAC"}
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Subscriptions Service
5
+ * Service to manage Tuix Subscriptions
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
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 { mapValues } from '../runtime';
16
+ import type { SubscriptionDTO } from './SubscriptionDTO';
17
+ import {
18
+ SubscriptionDTOFromJSON,
19
+ SubscriptionDTOFromJSONTyped,
20
+ SubscriptionDTOToJSON,
21
+ SubscriptionDTOToJSONTyped,
22
+ } from './SubscriptionDTO';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SubscriptionSentDTO
28
+ */
29
+ export interface SubscriptionSentDTO {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof SubscriptionSentDTO
34
+ */
35
+ emailSent?: boolean;
36
+ /**
37
+ *
38
+ * @type {SubscriptionDTO}
39
+ * @memberof SubscriptionSentDTO
40
+ */
41
+ subscription?: SubscriptionDTO;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the SubscriptionSentDTO interface.
46
+ */
47
+ export function instanceOfSubscriptionSentDTO(value: object): value is SubscriptionSentDTO {
48
+ return true;
49
+ }
50
+
51
+ export function SubscriptionSentDTOFromJSON(json: any): SubscriptionSentDTO {
52
+ return SubscriptionSentDTOFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function SubscriptionSentDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionSentDTO {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'emailSent': json['emailSent'] == null ? undefined : json['emailSent'],
62
+ 'subscription': json['subscription'] == null ? undefined : SubscriptionDTOFromJSON(json['subscription']),
63
+ };
64
+ }
65
+
66
+ export function SubscriptionSentDTOToJSON(json: any): SubscriptionSentDTO {
67
+ return SubscriptionSentDTOToJSONTyped(json, false);
68
+ }
69
+
70
+ export function SubscriptionSentDTOToJSONTyped(value?: SubscriptionSentDTO | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'emailSent': value['emailSent'],
78
+ 'subscription': SubscriptionDTOToJSON(value['subscription']),
79
+ };
80
+ }
81
+
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix Subscriptions Service
6
+ * Service to manage Tuix Subscriptions
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
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.instanceOfSubscriptionsSentResponseDTO = instanceOfSubscriptionsSentResponseDTO;
17
+ exports.SubscriptionsSentResponseDTOFromJSON = SubscriptionsSentResponseDTOFromJSON;
18
+ exports.SubscriptionsSentResponseDTOFromJSONTyped = SubscriptionsSentResponseDTOFromJSONTyped;
19
+ exports.SubscriptionsSentResponseDTOToJSON = SubscriptionsSentResponseDTOToJSON;
20
+ exports.SubscriptionsSentResponseDTOToJSONTyped = SubscriptionsSentResponseDTOToJSONTyped;
21
+ const SubscriptionSentDTO_1 = require("./SubscriptionSentDTO");
22
+ /**
23
+ * Check if a given object implements the SubscriptionsSentResponseDTO interface.
24
+ */
25
+ function instanceOfSubscriptionsSentResponseDTO(value) {
26
+ return true;
27
+ }
28
+ function SubscriptionsSentResponseDTOFromJSON(json) {
29
+ return SubscriptionsSentResponseDTOFromJSONTyped(json, false);
30
+ }
31
+ function SubscriptionsSentResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'subscriptionsProcessed': json['subscriptionsProcessed'] == null ? undefined : (json['subscriptionsProcessed'].map(SubscriptionSentDTO_1.SubscriptionSentDTOFromJSON)),
37
+ };
38
+ }
39
+ function SubscriptionsSentResponseDTOToJSON(json) {
40
+ return SubscriptionsSentResponseDTOToJSONTyped(json, false);
41
+ }
42
+ function SubscriptionsSentResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'subscriptionsProcessed': value['subscriptionsProcessed'] == null ? undefined : (value['subscriptionsProcessed'].map(SubscriptionSentDTO_1.SubscriptionSentDTOToJSON)),
48
+ };
49
+ }
50
+ //# sourceMappingURL=SubscriptionsSentResponseDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionsSentResponseDTO.js","sourceRoot":"","sources":["SubscriptionsSentResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,wFAEC;AAED,oFAEC;AAED,8FAQC;AAED,gFAEC;AAED,0FASC;AAvDD,+DAK+B;AAgB/B;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,wBAAwB,CAAgB,CAAC,GAAG,CAAC,iDAA2B,CAAC,CAAC;KACnK,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,wBAAwB,EAAE,KAAK,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,wBAAwB,CAAgB,CAAC,GAAG,CAAC,+CAAyB,CAAC,CAAC;KACnK,CAAC;AACN,CAAC"}
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix Subscriptions Service
5
+ * Service to manage Tuix Subscriptions
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
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 { mapValues } from '../runtime';
16
+ import type { SubscriptionSentDTO } from './SubscriptionSentDTO';
17
+ import {
18
+ SubscriptionSentDTOFromJSON,
19
+ SubscriptionSentDTOFromJSONTyped,
20
+ SubscriptionSentDTOToJSON,
21
+ SubscriptionSentDTOToJSONTyped,
22
+ } from './SubscriptionSentDTO';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SubscriptionsSentResponseDTO
28
+ */
29
+ export interface SubscriptionsSentResponseDTO {
30
+ /**
31
+ *
32
+ * @type {Array<SubscriptionSentDTO>}
33
+ * @memberof SubscriptionsSentResponseDTO
34
+ */
35
+ subscriptionsProcessed?: Array<SubscriptionSentDTO>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the SubscriptionsSentResponseDTO interface.
40
+ */
41
+ export function instanceOfSubscriptionsSentResponseDTO(value: object): value is SubscriptionsSentResponseDTO {
42
+ return true;
43
+ }
44
+
45
+ export function SubscriptionsSentResponseDTOFromJSON(json: any): SubscriptionsSentResponseDTO {
46
+ return SubscriptionsSentResponseDTOFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SubscriptionsSentResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionsSentResponseDTO {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'subscriptionsProcessed': json['subscriptionsProcessed'] == null ? undefined : ((json['subscriptionsProcessed'] as Array<any>).map(SubscriptionSentDTOFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function SubscriptionsSentResponseDTOToJSON(json: any): SubscriptionsSentResponseDTO {
60
+ return SubscriptionsSentResponseDTOToJSONTyped(json, false);
61
+ }
62
+
63
+ export function SubscriptionsSentResponseDTOToJSONTyped(value?: SubscriptionsSentResponseDTO | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'subscriptionsProcessed': value['subscriptionsProcessed'] == null ? undefined : ((value['subscriptionsProcessed'] as Array<any>).map(SubscriptionSentDTOToJSON)),
71
+ };
72
+ }
73
+