@randock/nameshift-api-client 0.0.304 → 0.0.306

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.
@@ -0,0 +1,93 @@
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 SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto
20
+ */
21
+ export interface SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto
26
+ */
27
+ total: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto
32
+ */
33
+ remaining: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto
38
+ */
39
+ currency: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto
44
+ */
45
+ count: number;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto interface.
50
+ */
51
+ export function instanceOfSellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto(value: object): value is SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto {
52
+ if (!('total' in value) || value['total'] === undefined) return false;
53
+ if (!('remaining' in value) || value['remaining'] === undefined) return false;
54
+ if (!('currency' in value) || value['currency'] === undefined) return false;
55
+ if (!('count' in value) || value['count'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoFromJSON(json: any): SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto {
60
+ return SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'total': json['total'],
70
+ 'remaining': json['remaining'],
71
+ 'currency': json['currency'],
72
+ 'count': json['count'],
73
+ };
74
+ }
75
+
76
+ export function SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoToJSON(json: any): SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto {
77
+ return SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDtoToJSONTyped(value?: SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'total': value['total'],
88
+ 'remaining': value['remaining'],
89
+ 'currency': value['currency'],
90
+ 'count': value['count'],
91
+ };
92
+ }
93
+
@@ -0,0 +1,84 @@
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 SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto
20
+ */
21
+ export interface SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto
26
+ */
27
+ total: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto
32
+ */
33
+ currency: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto
38
+ */
39
+ count: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto interface.
44
+ */
45
+ export function instanceOfSellerTotalRentMonthlyIncomeByCurrencyStatsItemDto(value: object): value is SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto {
46
+ if (!('total' in value) || value['total'] === undefined) return false;
47
+ if (!('currency' in value) || value['currency'] === undefined) return false;
48
+ if (!('count' in value) || value['count'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoFromJSON(json: any): SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto {
53
+ return SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'total': json['total'],
63
+ 'currency': json['currency'],
64
+ 'count': json['count'],
65
+ };
66
+ }
67
+
68
+ export function SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoToJSON(json: any): SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto {
69
+ return SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function SellerTotalRentMonthlyIncomeByCurrencyStatsItemDtoToJSONTyped(value?: SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'total': value['total'],
80
+ 'currency': value['currency'],
81
+ 'count': value['count'],
82
+ };
83
+ }
84
+
@@ -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 StatsFilterInputDateRange
20
+ */
21
+ export interface StatsFilterInputDateRange {
22
+ /**
23
+ *
24
+ * @type {Date}
25
+ * @memberof StatsFilterInputDateRange
26
+ */
27
+ startDate: Date;
28
+ /**
29
+ *
30
+ * @type {Date}
31
+ * @memberof StatsFilterInputDateRange
32
+ */
33
+ endDate: Date;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the StatsFilterInputDateRange interface.
38
+ */
39
+ export function instanceOfStatsFilterInputDateRange(value: object): value is StatsFilterInputDateRange {
40
+ if (!('startDate' in value) || value['startDate'] === undefined) return false;
41
+ if (!('endDate' in value) || value['endDate'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function StatsFilterInputDateRangeFromJSON(json: any): StatsFilterInputDateRange {
46
+ return StatsFilterInputDateRangeFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function StatsFilterInputDateRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatsFilterInputDateRange {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'startDate': (new Date(json['startDate'])),
56
+ 'endDate': (new Date(json['endDate'])),
57
+ };
58
+ }
59
+
60
+ export function StatsFilterInputDateRangeToJSON(json: any): StatsFilterInputDateRange {
61
+ return StatsFilterInputDateRangeToJSONTyped(json, false);
62
+ }
63
+
64
+ export function StatsFilterInputDateRangeToJSONTyped(value?: StatsFilterInputDateRange | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'startDate': ((value['startDate']).toISOString()),
72
+ 'endDate': ((value['endDate']).toISOString()),
73
+ };
74
+ }
75
+
@@ -222,6 +222,7 @@ export * from './SellerInvoiceDomainDto';
222
222
  export * from './SellerInvoiceDto';
223
223
  export * from './SellerInvoiceSellerAccountDto';
224
224
  export * from './SellerPendingPayoutsByCurrencyStatsItemDto';
225
+ export * from './SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto';
225
226
  export * from './SellerSalesCountStatsItemDto';
226
227
  export * from './SellerSecurityUserAccountDto';
227
228
  export * from './SellerSecurityUserDto';
@@ -229,6 +230,7 @@ export * from './SellerSubscriptionListItemDto';
229
230
  export * from './SellerSubscriptionListItemDtoDomainInformation';
230
231
  export * from './SellerTotalEarningsByCurrencyOverTimeStatsItemDto';
231
232
  export * from './SellerTotalEarningsByCurrencyStatsItemDto';
233
+ export * from './SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto';
232
234
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
233
235
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
234
236
  export * from './SeoMetricsDto';
@@ -237,6 +239,7 @@ export * from './SetDomainTransferConfirmationInput';
237
239
  export * from './SetNewPasswordInput';
238
240
  export * from './SetPayoutProviderInput';
239
241
  export * from './SortDto';
242
+ export * from './StatsFilterInputDateRange';
240
243
  export * from './StoreBuyerLocaleInput';
241
244
  export * from './StoreUserLocaleInput';
242
245
  export * from './SubscriptionBillingPeriodicityDto';