@randock/nameshift-api-client 0.0.430 → 0.0.432
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 +5 -0
- package/README.md +3 -3
- package/dist/apis/MarketingApi.d.ts +40 -0
- package/dist/apis/MarketingApi.js +193 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BuyerNotificationDto.d.ts +2 -0
- package/dist/models/BuyerNotificationDto.js +2 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +2 -0
- package/dist/models/BuyerNotificationListItemDto.js +2 -0
- package/dist/models/GetMarketingSales200Response.d.ts +47 -0
- package/dist/models/GetMarketingSales200Response.js +62 -0
- package/dist/models/MarketingOrderListItemDto.d.ts +57 -0
- package/dist/models/MarketingOrderListItemDto.js +68 -0
- package/dist/models/MarketingSalesFiltersDto.d.ts +38 -0
- package/dist/models/MarketingSalesFiltersDto.js +55 -0
- package/dist/models/RentIndexationDto.d.ts +56 -0
- package/dist/models/RentIndexationDto.js +67 -0
- package/dist/models/SubscriptionDetailsDto.d.ts +53 -0
- package/dist/models/SubscriptionDetailsDto.js +44 -1
- package/dist/models/UserNotificationDto.d.ts +2 -0
- package/dist/models/UserNotificationDto.js +2 -0
- package/dist/models/UserNotificationListItemDto.d.ts +2 -0
- package/dist/models/UserNotificationListItemDto.js +2 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/MarketingApi.ts +127 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +2 -0
- package/src/models/BuyerNotificationListItemDto.ts +2 -0
- package/src/models/GetMarketingSales200Response.ts +106 -0
- package/src/models/MarketingOrderListItemDto.ts +110 -0
- package/src/models/MarketingSalesFiltersDto.ts +75 -0
- package/src/models/RentIndexationDto.ts +102 -0
- package/src/models/SubscriptionDetailsDto.ts +73 -0
- package/src/models/UserNotificationDto.ts +2 -0
- package/src/models/UserNotificationListItemDto.ts +2 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.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 { mapValues } from '../runtime';
|
|
16
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { MarketingOrderListItemDto } from './MarketingOrderListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
MarketingOrderListItemDtoFromJSON,
|
|
26
|
+
MarketingOrderListItemDtoFromJSONTyped,
|
|
27
|
+
MarketingOrderListItemDtoToJSON,
|
|
28
|
+
MarketingOrderListItemDtoToJSONTyped,
|
|
29
|
+
} from './MarketingOrderListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetMarketingSales200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface GetMarketingSales200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<MarketingOrderListItemDto>}
|
|
47
|
+
* @memberof GetMarketingSales200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<MarketingOrderListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof GetMarketingSales200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof GetMarketingSales200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetMarketingSales200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetMarketingSales200Response(value: object): value is GetMarketingSales200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetMarketingSales200ResponseFromJSON(json: any): GetMarketingSales200Response {
|
|
75
|
+
return GetMarketingSales200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetMarketingSales200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMarketingSales200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(MarketingOrderListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function GetMarketingSales200ResponseToJSON(json: any): GetMarketingSales200Response {
|
|
91
|
+
return GetMarketingSales200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function GetMarketingSales200ResponseToJSONTyped(value?: GetMarketingSales200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(MarketingOrderListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.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 { mapValues } from '../runtime';
|
|
16
|
+
import type { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MarketingOrderListItemDto
|
|
28
|
+
*/
|
|
29
|
+
export interface MarketingOrderListItemDto {
|
|
30
|
+
/**
|
|
31
|
+
* The order domain ID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MarketingOrderListItemDto
|
|
34
|
+
*/
|
|
35
|
+
domainId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The order domain name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MarketingOrderListItemDto
|
|
40
|
+
*/
|
|
41
|
+
domainName: string;
|
|
42
|
+
/**
|
|
43
|
+
* The order base price
|
|
44
|
+
* @type {MoneyDto}
|
|
45
|
+
* @memberof MarketingOrderListItemDto
|
|
46
|
+
*/
|
|
47
|
+
basePrice: MoneyDto;
|
|
48
|
+
/**
|
|
49
|
+
* The order base price converted to EUR
|
|
50
|
+
* @type {MoneyDto}
|
|
51
|
+
* @memberof MarketingOrderListItemDto
|
|
52
|
+
*/
|
|
53
|
+
basePriceEur: MoneyDto | null;
|
|
54
|
+
/**
|
|
55
|
+
* The buyer invoice paid date
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof MarketingOrderListItemDto
|
|
58
|
+
*/
|
|
59
|
+
paidAt: Date;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the MarketingOrderListItemDto interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfMarketingOrderListItemDto(value: object): value is MarketingOrderListItemDto {
|
|
66
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
67
|
+
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
68
|
+
if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
|
|
69
|
+
if (!('basePriceEur' in value) || value['basePriceEur'] === undefined) return false;
|
|
70
|
+
if (!('paidAt' in value) || value['paidAt'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function MarketingOrderListItemDtoFromJSON(json: any): MarketingOrderListItemDto {
|
|
75
|
+
return MarketingOrderListItemDtoFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function MarketingOrderListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketingOrderListItemDto {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'domainId': json['domainId'],
|
|
85
|
+
'domainName': json['domainName'],
|
|
86
|
+
'basePrice': MoneyDtoFromJSON(json['basePrice']),
|
|
87
|
+
'basePriceEur': MoneyDtoFromJSON(json['basePriceEur']),
|
|
88
|
+
'paidAt': (new Date(json['paidAt'])),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function MarketingOrderListItemDtoToJSON(json: any): MarketingOrderListItemDto {
|
|
93
|
+
return MarketingOrderListItemDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function MarketingOrderListItemDtoToJSONTyped(value?: MarketingOrderListItemDto | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'domainId': value['domainId'],
|
|
104
|
+
'domainName': value['domainName'],
|
|
105
|
+
'basePrice': MoneyDtoToJSON(value['basePrice']),
|
|
106
|
+
'basePriceEur': MoneyDtoToJSON(value['basePriceEur']),
|
|
107
|
+
'paidAt': ((value['paidAt']).toISOString()),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MarketingSalesFiltersDto
|
|
20
|
+
*/
|
|
21
|
+
export interface MarketingSalesFiltersDto {
|
|
22
|
+
/**
|
|
23
|
+
* List of existing TLDs in marketing sales
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof MarketingSalesFiltersDto
|
|
26
|
+
*/
|
|
27
|
+
existingTldList: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* List of existing currencies in marketing sales
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof MarketingSalesFiltersDto
|
|
32
|
+
*/
|
|
33
|
+
existingCurrencies: Array<string>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the MarketingSalesFiltersDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfMarketingSalesFiltersDto(value: object): value is MarketingSalesFiltersDto {
|
|
40
|
+
if (!('existingTldList' in value) || value['existingTldList'] === undefined) return false;
|
|
41
|
+
if (!('existingCurrencies' in value) || value['existingCurrencies'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function MarketingSalesFiltersDtoFromJSON(json: any): MarketingSalesFiltersDto {
|
|
46
|
+
return MarketingSalesFiltersDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function MarketingSalesFiltersDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketingSalesFiltersDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'existingTldList': json['existingTldList'],
|
|
56
|
+
'existingCurrencies': json['existingCurrencies'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MarketingSalesFiltersDtoToJSON(json: any): MarketingSalesFiltersDto {
|
|
61
|
+
return MarketingSalesFiltersDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MarketingSalesFiltersDtoToJSONTyped(value?: MarketingSalesFiltersDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'existingTldList': value['existingTldList'],
|
|
72
|
+
'existingCurrencies': value['existingCurrencies'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RentIndexationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface RentIndexationDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Date}
|
|
25
|
+
* @memberof RentIndexationDto
|
|
26
|
+
*/
|
|
27
|
+
appliedAt: Date | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof RentIndexationDto
|
|
32
|
+
*/
|
|
33
|
+
appliedRate: number | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof RentIndexationDto
|
|
38
|
+
*/
|
|
39
|
+
inflationYear: number | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof RentIndexationDto
|
|
44
|
+
*/
|
|
45
|
+
advanceNotifiedAt: Date | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof RentIndexationDto
|
|
50
|
+
*/
|
|
51
|
+
advanceNotifiedForYear: number | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the RentIndexationDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfRentIndexationDto(value: object): value is RentIndexationDto {
|
|
58
|
+
if (!('appliedAt' in value) || value['appliedAt'] === undefined) return false;
|
|
59
|
+
if (!('appliedRate' in value) || value['appliedRate'] === undefined) return false;
|
|
60
|
+
if (!('inflationYear' in value) || value['inflationYear'] === undefined) return false;
|
|
61
|
+
if (!('advanceNotifiedAt' in value) || value['advanceNotifiedAt'] === undefined) return false;
|
|
62
|
+
if (!('advanceNotifiedForYear' in value) || value['advanceNotifiedForYear'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function RentIndexationDtoFromJSON(json: any): RentIndexationDto {
|
|
67
|
+
return RentIndexationDtoFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function RentIndexationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RentIndexationDto {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'appliedAt': (json['appliedAt'] == null ? null : new Date(json['appliedAt'])),
|
|
77
|
+
'appliedRate': json['appliedRate'],
|
|
78
|
+
'inflationYear': json['inflationYear'],
|
|
79
|
+
'advanceNotifiedAt': (json['advanceNotifiedAt'] == null ? null : new Date(json['advanceNotifiedAt'])),
|
|
80
|
+
'advanceNotifiedForYear': json['advanceNotifiedForYear'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function RentIndexationDtoToJSON(json: any): RentIndexationDto {
|
|
85
|
+
return RentIndexationDtoToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function RentIndexationDtoToJSONTyped(value?: RentIndexationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'appliedAt': (value['appliedAt'] == null ? null : (value['appliedAt'] as any).toISOString()),
|
|
96
|
+
'appliedRate': value['appliedRate'],
|
|
97
|
+
'inflationYear': value['inflationYear'],
|
|
98
|
+
'advanceNotifiedAt': (value['advanceNotifiedAt'] == null ? null : (value['advanceNotifiedAt'] as any).toISOString()),
|
|
99
|
+
'advanceNotifiedForYear': value['advanceNotifiedForYear'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RentIndexationDto } from './RentIndexationDto';
|
|
17
|
+
import {
|
|
18
|
+
RentIndexationDtoFromJSON,
|
|
19
|
+
RentIndexationDtoFromJSONTyped,
|
|
20
|
+
RentIndexationDtoToJSON,
|
|
21
|
+
RentIndexationDtoToJSONTyped,
|
|
22
|
+
} from './RentIndexationDto';
|
|
16
23
|
import type { InvoiceItemDto } from './InvoiceItemDto';
|
|
17
24
|
import {
|
|
18
25
|
InvoiceItemDtoFromJSON,
|
|
@@ -268,6 +275,30 @@ export interface SubscriptionDetailsDto {
|
|
|
268
275
|
* @memberof SubscriptionDetailsDto
|
|
269
276
|
*/
|
|
270
277
|
scheduledCancellationReason: string | null;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {RentIndexationDto}
|
|
281
|
+
* @memberof SubscriptionDetailsDto
|
|
282
|
+
*/
|
|
283
|
+
lastRentIndexation: RentIndexationDto | null;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {Date}
|
|
287
|
+
* @memberof SubscriptionDetailsDto
|
|
288
|
+
*/
|
|
289
|
+
nextEligibleRentIndexationDate: Date | null;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof SubscriptionDetailsDto
|
|
294
|
+
*/
|
|
295
|
+
rentIndexationStatus: SubscriptionDetailsDtoRentIndexationStatusEnum;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof SubscriptionDetailsDto
|
|
300
|
+
*/
|
|
301
|
+
rentIndexationSkipReason: SubscriptionDetailsDtoRentIndexationSkipReasonEnum;
|
|
271
302
|
}
|
|
272
303
|
|
|
273
304
|
|
|
@@ -311,6 +342,36 @@ export const SubscriptionDetailsDtoRenewStatusReasonEnum = {
|
|
|
311
342
|
} as const;
|
|
312
343
|
export type SubscriptionDetailsDtoRenewStatusReasonEnum = typeof SubscriptionDetailsDtoRenewStatusReasonEnum[keyof typeof SubscriptionDetailsDtoRenewStatusReasonEnum];
|
|
313
344
|
|
|
345
|
+
/**
|
|
346
|
+
* @export
|
|
347
|
+
*/
|
|
348
|
+
export const SubscriptionDetailsDtoRentIndexationStatusEnum = {
|
|
349
|
+
ELIGIBLE: 'eligible',
|
|
350
|
+
NOT_ELIGIBLE: 'not_eligible',
|
|
351
|
+
INDEXED: 'indexed',
|
|
352
|
+
FAILED: 'failed',
|
|
353
|
+
PENDING_DATA: 'pending_data'
|
|
354
|
+
} as const;
|
|
355
|
+
export type SubscriptionDetailsDtoRentIndexationStatusEnum = typeof SubscriptionDetailsDtoRentIndexationStatusEnum[keyof typeof SubscriptionDetailsDtoRentIndexationStatusEnum];
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* @export
|
|
359
|
+
*/
|
|
360
|
+
export const SubscriptionDetailsDtoRentIndexationSkipReasonEnum = {
|
|
361
|
+
NOT_RENT: 'not_rent',
|
|
362
|
+
CONTRACT_TOO_OLD: 'contract_too_old',
|
|
363
|
+
NOT_ACTIVE: 'not_active',
|
|
364
|
+
SCHEDULED_CANCELLATION: 'scheduled_cancellation',
|
|
365
|
+
INSUFFICIENT_TENURE: 'insufficient_tenure',
|
|
366
|
+
ALREADY_INDEXED: 'already_indexed',
|
|
367
|
+
MISSING_COUNTRY: 'missing_country',
|
|
368
|
+
UNMAPPED_COUNTRY: 'unmapped_country',
|
|
369
|
+
MISSING_IMF_DATA: 'missing_imf_data',
|
|
370
|
+
OUTSIDE_INDEXATION_WINDOW: 'outside_indexation_window',
|
|
371
|
+
ADVANCE_ALREADY_NOTIFIED: 'advance_already_notified'
|
|
372
|
+
} as const;
|
|
373
|
+
export type SubscriptionDetailsDtoRentIndexationSkipReasonEnum = typeof SubscriptionDetailsDtoRentIndexationSkipReasonEnum[keyof typeof SubscriptionDetailsDtoRentIndexationSkipReasonEnum];
|
|
374
|
+
|
|
314
375
|
|
|
315
376
|
/**
|
|
316
377
|
* Check if a given object implements the SubscriptionDetailsDto interface.
|
|
@@ -348,6 +409,10 @@ export function instanceOfSubscriptionDetailsDto(value: object): value is Subscr
|
|
|
348
409
|
if (!('renewStatusReason' in value) || value['renewStatusReason'] === undefined) return false;
|
|
349
410
|
if (!('scheduledCancellationAt' in value) || value['scheduledCancellationAt'] === undefined) return false;
|
|
350
411
|
if (!('scheduledCancellationReason' in value) || value['scheduledCancellationReason'] === undefined) return false;
|
|
412
|
+
if (!('lastRentIndexation' in value) || value['lastRentIndexation'] === undefined) return false;
|
|
413
|
+
if (!('nextEligibleRentIndexationDate' in value) || value['nextEligibleRentIndexationDate'] === undefined) return false;
|
|
414
|
+
if (!('rentIndexationStatus' in value) || value['rentIndexationStatus'] === undefined) return false;
|
|
415
|
+
if (!('rentIndexationSkipReason' in value) || value['rentIndexationSkipReason'] === undefined) return false;
|
|
351
416
|
return true;
|
|
352
417
|
}
|
|
353
418
|
|
|
@@ -393,6 +458,10 @@ export function SubscriptionDetailsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
393
458
|
'renewStatusReason': json['renewStatusReason'],
|
|
394
459
|
'scheduledCancellationAt': (json['scheduledCancellationAt'] == null ? null : new Date(json['scheduledCancellationAt'])),
|
|
395
460
|
'scheduledCancellationReason': json['scheduledCancellationReason'],
|
|
461
|
+
'lastRentIndexation': RentIndexationDtoFromJSON(json['lastRentIndexation']),
|
|
462
|
+
'nextEligibleRentIndexationDate': (json['nextEligibleRentIndexationDate'] == null ? null : new Date(json['nextEligibleRentIndexationDate'])),
|
|
463
|
+
'rentIndexationStatus': json['rentIndexationStatus'],
|
|
464
|
+
'rentIndexationSkipReason': json['rentIndexationSkipReason'],
|
|
396
465
|
};
|
|
397
466
|
}
|
|
398
467
|
|
|
@@ -439,6 +508,10 @@ export function SubscriptionDetailsDtoToJSONTyped(value?: SubscriptionDetailsDto
|
|
|
439
508
|
'renewStatusReason': value['renewStatusReason'],
|
|
440
509
|
'scheduledCancellationAt': (value['scheduledCancellationAt'] == null ? null : (value['scheduledCancellationAt'] as any).toISOString()),
|
|
441
510
|
'scheduledCancellationReason': value['scheduledCancellationReason'],
|
|
511
|
+
'lastRentIndexation': RentIndexationDtoToJSON(value['lastRentIndexation']),
|
|
512
|
+
'nextEligibleRentIndexationDate': (value['nextEligibleRentIndexationDate'] == null ? null : (value['nextEligibleRentIndexationDate'] as any).toISOString()),
|
|
513
|
+
'rentIndexationStatus': value['rentIndexationStatus'],
|
|
514
|
+
'rentIndexationSkipReason': value['rentIndexationSkipReason'],
|
|
442
515
|
};
|
|
443
516
|
}
|
|
444
517
|
|
|
@@ -123,6 +123,8 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
123
123
|
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
124
124
|
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
125
125
|
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
126
|
+
RENT_SUBSCRIPTION_RENT_INDEXATION_ADVANCE_NOTICE: 'rent_subscription_rent_indexation_advance_notice',
|
|
127
|
+
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
126
128
|
PASSWORD_RESET: 'password_reset',
|
|
127
129
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
128
130
|
BUYER_INVOICE: 'buyer_invoice',
|
|
@@ -109,6 +109,8 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
109
109
|
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
110
110
|
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
111
111
|
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
112
|
+
RENT_SUBSCRIPTION_RENT_INDEXATION_ADVANCE_NOTICE: 'rent_subscription_rent_indexation_advance_notice',
|
|
113
|
+
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
112
114
|
PASSWORD_RESET: 'password_reset',
|
|
113
115
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
114
116
|
BUYER_INVOICE: 'buyer_invoice',
|
package/src/models/index.ts
CHANGED
|
@@ -229,6 +229,7 @@ export * from './GetBuyerLeads200Response';
|
|
|
229
229
|
export * from './GetBuyerSubscriptions200Response';
|
|
230
230
|
export * from './GetBuyerTransfers200Response';
|
|
231
231
|
export * from './GetInvoices200Response';
|
|
232
|
+
export * from './GetMarketingSales200Response';
|
|
232
233
|
export * from './GetSellerChallengesListDto';
|
|
233
234
|
export * from './GetSellerChallengesListDtoChallengesInner';
|
|
234
235
|
export * from './HistoricalMetrics';
|
|
@@ -300,6 +301,8 @@ export * from './MajesticMetrics';
|
|
|
300
301
|
export * from './MajesticTopicTrustFlow';
|
|
301
302
|
export * from './ManualLeadBuyerDto';
|
|
302
303
|
export * from './ManualLeadLeaseToOwnDto';
|
|
304
|
+
export * from './MarketingOrderListItemDto';
|
|
305
|
+
export * from './MarketingSalesFiltersDto';
|
|
303
306
|
export * from './MoneyDecimalDto';
|
|
304
307
|
export * from './MoneyDto';
|
|
305
308
|
export * from './MoneyInput';
|
|
@@ -354,6 +357,7 @@ export * from './RentConfigurationDto';
|
|
|
354
357
|
export * from './RentConfigurationInput';
|
|
355
358
|
export * from './RentConfigurationPresetsDto';
|
|
356
359
|
export * from './RentDto';
|
|
360
|
+
export * from './RentIndexationDto';
|
|
357
361
|
export * from './RequestAccessTokenInput';
|
|
358
362
|
export * from './RequestEmailOtpInput';
|
|
359
363
|
export * from './RequestUserEmailChangeOtpInput';
|