@channelpayments/node-sdk 1.51.0 → 1.52.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.
@@ -17,7 +17,6 @@ export * from './CreateBuyerDto';
17
17
  export * from './CreateBuyerDtoAddress';
18
18
  export * from './CreateCFeeDto';
19
19
  export * from './CreateCFeeRuleConditionDto';
20
- export * from './CreateFeatureDto';
21
20
  export * from './CreateMerchantAccountDto';
22
21
  export * from './CreateMerchantAccountDtoCFee';
23
22
  export * from './CreateMerchantAccountWithoutMerchantIdDto';
@@ -41,7 +40,6 @@ export * from './CreateTransactionDto';
41
40
  export * from './CreateTransactionDtoPaymentMethod';
42
41
  export * from './CreateUserDto';
43
42
  export * from './ErrorEntity';
44
- export * from './FeatureEntity';
45
43
  export * from './MerchantAccountEntity';
46
44
  export * from './MerchantAccountEntityCFee';
47
45
  export * from './MerchantAddressEntity';
@@ -74,7 +72,6 @@ export * from './UpdateAddressDto';
74
72
  export * from './UpdateBuyerDto';
75
73
  export * from './UpdateBuyerDtoAddress';
76
74
  export * from './UpdateCFeeDto';
77
- export * from './UpdateFeatureDto';
78
75
  export * from './UpdateMerchantAccountDto';
79
76
  export * from './UpdateMerchantAccountDtoCFee';
80
77
  export * from './UpdateMerchantAddressDto';
@@ -35,7 +35,6 @@ __exportStar(require("./CreateBuyerDto"), exports);
35
35
  __exportStar(require("./CreateBuyerDtoAddress"), exports);
36
36
  __exportStar(require("./CreateCFeeDto"), exports);
37
37
  __exportStar(require("./CreateCFeeRuleConditionDto"), exports);
38
- __exportStar(require("./CreateFeatureDto"), exports);
39
38
  __exportStar(require("./CreateMerchantAccountDto"), exports);
40
39
  __exportStar(require("./CreateMerchantAccountDtoCFee"), exports);
41
40
  __exportStar(require("./CreateMerchantAccountWithoutMerchantIdDto"), exports);
@@ -59,7 +58,6 @@ __exportStar(require("./CreateTransactionDto"), exports);
59
58
  __exportStar(require("./CreateTransactionDtoPaymentMethod"), exports);
60
59
  __exportStar(require("./CreateUserDto"), exports);
61
60
  __exportStar(require("./ErrorEntity"), exports);
62
- __exportStar(require("./FeatureEntity"), exports);
63
61
  __exportStar(require("./MerchantAccountEntity"), exports);
64
62
  __exportStar(require("./MerchantAccountEntityCFee"), exports);
65
63
  __exportStar(require("./MerchantAddressEntity"), exports);
@@ -92,7 +90,6 @@ __exportStar(require("./UpdateAddressDto"), exports);
92
90
  __exportStar(require("./UpdateBuyerDto"), exports);
93
91
  __exportStar(require("./UpdateBuyerDtoAddress"), exports);
94
92
  __exportStar(require("./UpdateCFeeDto"), exports);
95
- __exportStar(require("./UpdateFeatureDto"), exports);
96
93
  __exportStar(require("./UpdateMerchantAccountDto"), exports);
97
94
  __exportStar(require("./UpdateMerchantAccountDtoCFee"), exports);
98
95
  __exportStar(require("./UpdateMerchantAddressDto"), exports);
@@ -17,7 +17,6 @@ export * from './CreateBuyerDto';
17
17
  export * from './CreateBuyerDtoAddress';
18
18
  export * from './CreateCFeeDto';
19
19
  export * from './CreateCFeeRuleConditionDto';
20
- export * from './CreateFeatureDto';
21
20
  export * from './CreateMerchantAccountDto';
22
21
  export * from './CreateMerchantAccountDtoCFee';
23
22
  export * from './CreateMerchantAccountWithoutMerchantIdDto';
@@ -41,7 +40,6 @@ export * from './CreateTransactionDto';
41
40
  export * from './CreateTransactionDtoPaymentMethod';
42
41
  export * from './CreateUserDto';
43
42
  export * from './ErrorEntity';
44
- export * from './FeatureEntity';
45
43
  export * from './MerchantAccountEntity';
46
44
  export * from './MerchantAccountEntityCFee';
47
45
  export * from './MerchantAddressEntity';
@@ -74,7 +72,6 @@ export * from './UpdateAddressDto';
74
72
  export * from './UpdateBuyerDto';
75
73
  export * from './UpdateBuyerDtoAddress';
76
74
  export * from './UpdateCFeeDto';
77
- export * from './UpdateFeatureDto';
78
75
  export * from './UpdateMerchantAccountDto';
79
76
  export * from './UpdateMerchantAccountDtoCFee';
80
77
  export * from './UpdateMerchantAddressDto';
@@ -19,7 +19,6 @@ export * from './CreateBuyerDto';
19
19
  export * from './CreateBuyerDtoAddress';
20
20
  export * from './CreateCFeeDto';
21
21
  export * from './CreateCFeeRuleConditionDto';
22
- export * from './CreateFeatureDto';
23
22
  export * from './CreateMerchantAccountDto';
24
23
  export * from './CreateMerchantAccountDtoCFee';
25
24
  export * from './CreateMerchantAccountWithoutMerchantIdDto';
@@ -43,7 +42,6 @@ export * from './CreateTransactionDto';
43
42
  export * from './CreateTransactionDtoPaymentMethod';
44
43
  export * from './CreateUserDto';
45
44
  export * from './ErrorEntity';
46
- export * from './FeatureEntity';
47
45
  export * from './MerchantAccountEntity';
48
46
  export * from './MerchantAccountEntityCFee';
49
47
  export * from './MerchantAddressEntity';
@@ -76,7 +74,6 @@ export * from './UpdateAddressDto';
76
74
  export * from './UpdateBuyerDto';
77
75
  export * from './UpdateBuyerDtoAddress';
78
76
  export * from './UpdateCFeeDto';
79
- export * from './UpdateFeatureDto';
80
77
  export * from './UpdateMerchantAccountDto';
81
78
  export * from './UpdateMerchantAccountDtoCFee';
82
79
  export * from './UpdateMerchantAddressDto';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@channelpayments/node-sdk",
3
3
  "description": "Channel Payments nodejs sdk",
4
- "version": "1.51.0",
4
+ "version": "1.52.0",
5
5
  "author": "Channel Payments",
6
6
  "license": "ISC",
7
7
  "main": "dist/cjs/index.js",
@@ -1,38 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface CreateFeatureDto
11
- */
12
- export interface CreateFeatureDto {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof CreateFeatureDto
17
- */
18
- name: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof CreateFeatureDto
23
- */
24
- description: string;
25
- /**
26
- *
27
- * @type {boolean}
28
- * @memberof CreateFeatureDto
29
- */
30
- enabled: boolean;
31
- }
32
- /**
33
- * Check if a given object implements the CreateFeatureDto interface.
34
- */
35
- export declare function instanceOfCreateFeatureDto(value: object): boolean;
36
- export declare function CreateFeatureDtoFromJSON(json: any): CreateFeatureDto;
37
- export declare function CreateFeatureDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFeatureDto;
38
- export declare function CreateFeatureDtoToJSON(value?: CreateFeatureDto | null): any;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Channel Payments API
6
- *
7
- * NOTE: This class is auto generated. Do not edit the class manually.
8
- *
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.CreateFeatureDtoToJSON = exports.CreateFeatureDtoFromJSONTyped = exports.CreateFeatureDtoFromJSON = exports.instanceOfCreateFeatureDto = void 0;
12
- const runtime_1 = require("../runtime");
13
- /**
14
- * Check if a given object implements the CreateFeatureDto interface.
15
- */
16
- function instanceOfCreateFeatureDto(value) {
17
- let isInstance = true;
18
- isInstance = isInstance && "name" in value;
19
- isInstance = isInstance && "description" in value;
20
- isInstance = isInstance && "enabled" in value;
21
- return isInstance;
22
- }
23
- exports.instanceOfCreateFeatureDto = instanceOfCreateFeatureDto;
24
- function CreateFeatureDtoFromJSON(json) {
25
- return CreateFeatureDtoFromJSONTyped(json, false);
26
- }
27
- exports.CreateFeatureDtoFromJSON = CreateFeatureDtoFromJSON;
28
- function CreateFeatureDtoFromJSONTyped(json, ignoreDiscriminator) {
29
- if ((json === undefined) || (json === null)) {
30
- return json;
31
- }
32
- const typed = {
33
- 'name': json['name'],
34
- 'description': json['description'],
35
- 'enabled': json['enabled'],
36
- };
37
- return (0, runtime_1.removeNullUndefined)(typed);
38
- }
39
- exports.CreateFeatureDtoFromJSONTyped = CreateFeatureDtoFromJSONTyped;
40
- function CreateFeatureDtoToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'name': value.name,
49
- 'description': value.description,
50
- 'enabled': value.enabled,
51
- };
52
- }
53
- exports.CreateFeatureDtoToJSON = CreateFeatureDtoToJSON;
@@ -1,56 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface FeatureEntity
11
- */
12
- export interface FeatureEntity {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof FeatureEntity
17
- */
18
- featureId: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof FeatureEntity
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof FeatureEntity
29
- */
30
- description: string;
31
- /**
32
- *
33
- * @type {boolean}
34
- * @memberof FeatureEntity
35
- */
36
- enabled: boolean;
37
- /**
38
- *
39
- * @type {Date}
40
- * @memberof FeatureEntity
41
- */
42
- createdAt: Date;
43
- /**
44
- *
45
- * @type {Date}
46
- * @memberof FeatureEntity
47
- */
48
- updatedAt: Date;
49
- }
50
- /**
51
- * Check if a given object implements the FeatureEntity interface.
52
- */
53
- export declare function instanceOfFeatureEntity(value: object): boolean;
54
- export declare function FeatureEntityFromJSON(json: any): FeatureEntity;
55
- export declare function FeatureEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureEntity;
56
- export declare function FeatureEntityToJSON(value?: FeatureEntity | null): any;
@@ -1,62 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Channel Payments API
6
- *
7
- * NOTE: This class is auto generated. Do not edit the class manually.
8
- *
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.FeatureEntityToJSON = exports.FeatureEntityFromJSONTyped = exports.FeatureEntityFromJSON = exports.instanceOfFeatureEntity = void 0;
12
- const runtime_1 = require("../runtime");
13
- /**
14
- * Check if a given object implements the FeatureEntity interface.
15
- */
16
- function instanceOfFeatureEntity(value) {
17
- let isInstance = true;
18
- isInstance = isInstance && "featureId" in value;
19
- isInstance = isInstance && "name" in value;
20
- isInstance = isInstance && "description" in value;
21
- isInstance = isInstance && "enabled" in value;
22
- isInstance = isInstance && "createdAt" in value;
23
- isInstance = isInstance && "updatedAt" in value;
24
- return isInstance;
25
- }
26
- exports.instanceOfFeatureEntity = instanceOfFeatureEntity;
27
- function FeatureEntityFromJSON(json) {
28
- return FeatureEntityFromJSONTyped(json, false);
29
- }
30
- exports.FeatureEntityFromJSON = FeatureEntityFromJSON;
31
- function FeatureEntityFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
33
- return json;
34
- }
35
- const typed = {
36
- 'featureId': json['featureId'],
37
- 'name': json['name'],
38
- 'description': json['description'],
39
- 'enabled': json['enabled'],
40
- 'createdAt': (new Date(json['createdAt'])),
41
- 'updatedAt': (new Date(json['updatedAt'])),
42
- };
43
- return (0, runtime_1.removeNullUndefined)(typed);
44
- }
45
- exports.FeatureEntityFromJSONTyped = FeatureEntityFromJSONTyped;
46
- function FeatureEntityToJSON(value) {
47
- if (value === undefined) {
48
- return undefined;
49
- }
50
- if (value === null) {
51
- return null;
52
- }
53
- return {
54
- 'featureId': value.featureId,
55
- 'name': value.name,
56
- 'description': value.description,
57
- 'enabled': value.enabled,
58
- 'createdAt': (value.createdAt.toISOString()),
59
- 'updatedAt': (value.updatedAt.toISOString()),
60
- };
61
- }
62
- exports.FeatureEntityToJSON = FeatureEntityToJSON;
@@ -1,44 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface UpdateFeatureDto
11
- */
12
- export interface UpdateFeatureDto {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof UpdateFeatureDto
17
- */
18
- featureId: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof UpdateFeatureDto
23
- */
24
- name?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof UpdateFeatureDto
29
- */
30
- description?: string;
31
- /**
32
- *
33
- * @type {boolean}
34
- * @memberof UpdateFeatureDto
35
- */
36
- enabled?: boolean;
37
- }
38
- /**
39
- * Check if a given object implements the UpdateFeatureDto interface.
40
- */
41
- export declare function instanceOfUpdateFeatureDto(value: object): boolean;
42
- export declare function UpdateFeatureDtoFromJSON(json: any): UpdateFeatureDto;
43
- export declare function UpdateFeatureDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFeatureDto;
44
- export declare function UpdateFeatureDtoToJSON(value?: UpdateFeatureDto | null): any;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Channel Payments API
6
- *
7
- * NOTE: This class is auto generated. Do not edit the class manually.
8
- *
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.UpdateFeatureDtoToJSON = exports.UpdateFeatureDtoFromJSONTyped = exports.UpdateFeatureDtoFromJSON = exports.instanceOfUpdateFeatureDto = void 0;
12
- const runtime_1 = require("../runtime");
13
- /**
14
- * Check if a given object implements the UpdateFeatureDto interface.
15
- */
16
- function instanceOfUpdateFeatureDto(value) {
17
- let isInstance = true;
18
- isInstance = isInstance && "featureId" in value;
19
- return isInstance;
20
- }
21
- exports.instanceOfUpdateFeatureDto = instanceOfUpdateFeatureDto;
22
- function UpdateFeatureDtoFromJSON(json) {
23
- return UpdateFeatureDtoFromJSONTyped(json, false);
24
- }
25
- exports.UpdateFeatureDtoFromJSON = UpdateFeatureDtoFromJSON;
26
- function UpdateFeatureDtoFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
28
- return json;
29
- }
30
- const typed = {
31
- 'featureId': json['featureId'],
32
- 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
33
- 'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
34
- 'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
35
- };
36
- return (0, runtime_1.removeNullUndefined)(typed);
37
- }
38
- exports.UpdateFeatureDtoFromJSONTyped = UpdateFeatureDtoFromJSONTyped;
39
- function UpdateFeatureDtoToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'featureId': value.featureId,
48
- 'name': value.name,
49
- 'description': value.description,
50
- 'enabled': value.enabled,
51
- };
52
- }
53
- exports.UpdateFeatureDtoToJSON = UpdateFeatureDtoToJSON;
@@ -1,38 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface CreateFeatureDto
11
- */
12
- export interface CreateFeatureDto {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof CreateFeatureDto
17
- */
18
- name: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof CreateFeatureDto
23
- */
24
- description: string;
25
- /**
26
- *
27
- * @type {boolean}
28
- * @memberof CreateFeatureDto
29
- */
30
- enabled: boolean;
31
- }
32
- /**
33
- * Check if a given object implements the CreateFeatureDto interface.
34
- */
35
- export declare function instanceOfCreateFeatureDto(value: object): boolean;
36
- export declare function CreateFeatureDtoFromJSON(json: any): CreateFeatureDto;
37
- export declare function CreateFeatureDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFeatureDto;
38
- export declare function CreateFeatureDtoToJSON(value?: CreateFeatureDto | null): any;
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Channel Payments API
5
- *
6
- * NOTE: This class is auto generated. Do not edit the class manually.
7
- *
8
- */
9
- import { removeNullUndefined } from '../runtime';
10
- /**
11
- * Check if a given object implements the CreateFeatureDto interface.
12
- */
13
- export function instanceOfCreateFeatureDto(value) {
14
- let isInstance = true;
15
- isInstance = isInstance && "name" in value;
16
- isInstance = isInstance && "description" in value;
17
- isInstance = isInstance && "enabled" in value;
18
- return isInstance;
19
- }
20
- export function CreateFeatureDtoFromJSON(json) {
21
- return CreateFeatureDtoFromJSONTyped(json, false);
22
- }
23
- export function CreateFeatureDtoFromJSONTyped(json, ignoreDiscriminator) {
24
- if ((json === undefined) || (json === null)) {
25
- return json;
26
- }
27
- const typed = {
28
- 'name': json['name'],
29
- 'description': json['description'],
30
- 'enabled': json['enabled'],
31
- };
32
- return removeNullUndefined(typed);
33
- }
34
- export function CreateFeatureDtoToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'name': value.name,
43
- 'description': value.description,
44
- 'enabled': value.enabled,
45
- };
46
- }
@@ -1,56 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface FeatureEntity
11
- */
12
- export interface FeatureEntity {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof FeatureEntity
17
- */
18
- featureId: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof FeatureEntity
23
- */
24
- name: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof FeatureEntity
29
- */
30
- description: string;
31
- /**
32
- *
33
- * @type {boolean}
34
- * @memberof FeatureEntity
35
- */
36
- enabled: boolean;
37
- /**
38
- *
39
- * @type {Date}
40
- * @memberof FeatureEntity
41
- */
42
- createdAt: Date;
43
- /**
44
- *
45
- * @type {Date}
46
- * @memberof FeatureEntity
47
- */
48
- updatedAt: Date;
49
- }
50
- /**
51
- * Check if a given object implements the FeatureEntity interface.
52
- */
53
- export declare function instanceOfFeatureEntity(value: object): boolean;
54
- export declare function FeatureEntityFromJSON(json: any): FeatureEntity;
55
- export declare function FeatureEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureEntity;
56
- export declare function FeatureEntityToJSON(value?: FeatureEntity | null): any;
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Channel Payments API
5
- *
6
- * NOTE: This class is auto generated. Do not edit the class manually.
7
- *
8
- */
9
- import { removeNullUndefined } from '../runtime';
10
- /**
11
- * Check if a given object implements the FeatureEntity interface.
12
- */
13
- export function instanceOfFeatureEntity(value) {
14
- let isInstance = true;
15
- isInstance = isInstance && "featureId" in value;
16
- isInstance = isInstance && "name" in value;
17
- isInstance = isInstance && "description" in value;
18
- isInstance = isInstance && "enabled" in value;
19
- isInstance = isInstance && "createdAt" in value;
20
- isInstance = isInstance && "updatedAt" in value;
21
- return isInstance;
22
- }
23
- export function FeatureEntityFromJSON(json) {
24
- return FeatureEntityFromJSONTyped(json, false);
25
- }
26
- export function FeatureEntityFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
28
- return json;
29
- }
30
- const typed = {
31
- 'featureId': json['featureId'],
32
- 'name': json['name'],
33
- 'description': json['description'],
34
- 'enabled': json['enabled'],
35
- 'createdAt': (new Date(json['createdAt'])),
36
- 'updatedAt': (new Date(json['updatedAt'])),
37
- };
38
- return removeNullUndefined(typed);
39
- }
40
- export function FeatureEntityToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'featureId': value.featureId,
49
- 'name': value.name,
50
- 'description': value.description,
51
- 'enabled': value.enabled,
52
- 'createdAt': (value.createdAt.toISOString()),
53
- 'updatedAt': (value.updatedAt.toISOString()),
54
- };
55
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Channel Payments API
3
- *
4
- * NOTE: This class is auto generated. Do not edit the class manually.
5
- *
6
- */
7
- /**
8
- *
9
- * @export
10
- * @interface UpdateFeatureDto
11
- */
12
- export interface UpdateFeatureDto {
13
- /**
14
- *
15
- * @type {string}
16
- * @memberof UpdateFeatureDto
17
- */
18
- featureId: string;
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof UpdateFeatureDto
23
- */
24
- name?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof UpdateFeatureDto
29
- */
30
- description?: string;
31
- /**
32
- *
33
- * @type {boolean}
34
- * @memberof UpdateFeatureDto
35
- */
36
- enabled?: boolean;
37
- }
38
- /**
39
- * Check if a given object implements the UpdateFeatureDto interface.
40
- */
41
- export declare function instanceOfUpdateFeatureDto(value: object): boolean;
42
- export declare function UpdateFeatureDtoFromJSON(json: any): UpdateFeatureDto;
43
- export declare function UpdateFeatureDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFeatureDto;
44
- export declare function UpdateFeatureDtoToJSON(value?: UpdateFeatureDto | null): any;
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Channel Payments API
5
- *
6
- * NOTE: This class is auto generated. Do not edit the class manually.
7
- *
8
- */
9
- import { exists, removeNullUndefined } from '../runtime';
10
- /**
11
- * Check if a given object implements the UpdateFeatureDto interface.
12
- */
13
- export function instanceOfUpdateFeatureDto(value) {
14
- let isInstance = true;
15
- isInstance = isInstance && "featureId" in value;
16
- return isInstance;
17
- }
18
- export function UpdateFeatureDtoFromJSON(json) {
19
- return UpdateFeatureDtoFromJSONTyped(json, false);
20
- }
21
- export function UpdateFeatureDtoFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- const typed = {
26
- 'featureId': json['featureId'],
27
- 'name': !exists(json, 'name') ? undefined : json['name'],
28
- 'description': !exists(json, 'description') ? undefined : json['description'],
29
- 'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
30
- };
31
- return removeNullUndefined(typed);
32
- }
33
- export function UpdateFeatureDtoToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
39
- }
40
- return {
41
- 'featureId': value.featureId,
42
- 'name': value.name,
43
- 'description': value.description,
44
- 'enabled': value.enabled,
45
- };
46
- }