@randock/nameshift-api-client 0.0.303 → 0.0.304

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 (27) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +3 -3
  3. package/dist/apis/StatsApi.d.ts +58 -0
  4. package/dist/apis/StatsApi.js +304 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  8. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  9. package/dist/models/SellerPendingPayoutsByCurrencyStatsItemDto.d.ts +38 -0
  10. package/dist/models/SellerPendingPayoutsByCurrencyStatsItemDto.js +55 -0
  11. package/dist/models/SellerSalesCountStatsItemDto.d.ts +44 -0
  12. package/dist/models/SellerSalesCountStatsItemDto.js +59 -0
  13. package/dist/models/SellerTotalEarningsByCurrencyOverTimeStatsItemDto.d.ts +50 -0
  14. package/dist/models/SellerTotalEarningsByCurrencyOverTimeStatsItemDto.js +63 -0
  15. package/dist/models/SellerTotalEarningsByCurrencyStatsItemDto.d.ts +44 -0
  16. package/dist/models/SellerTotalEarningsByCurrencyStatsItemDto.js +59 -0
  17. package/dist/models/index.d.ts +4 -0
  18. package/dist/models/index.js +4 -0
  19. package/package.json +1 -1
  20. package/src/apis/StatsApi.ts +235 -0
  21. package/src/apis/index.ts +1 -0
  22. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  23. package/src/models/SellerPendingPayoutsByCurrencyStatsItemDto.ts +75 -0
  24. package/src/models/SellerSalesCountStatsItemDto.ts +84 -0
  25. package/src/models/SellerTotalEarningsByCurrencyOverTimeStatsItemDto.ts +93 -0
  26. package/src/models/SellerTotalEarningsByCurrencyStatsItemDto.ts +84 -0
  27. package/src/models/index.ts +4 -0
@@ -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 SellerTotalEarningsByCurrencyOverTimeStatsItemDto
20
+ */
21
+ export interface SellerTotalEarningsByCurrencyOverTimeStatsItemDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SellerTotalEarningsByCurrencyOverTimeStatsItemDto
26
+ */
27
+ withoutCommissionAmount: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof SellerTotalEarningsByCurrencyOverTimeStatsItemDto
32
+ */
33
+ withCommissionAmount: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SellerTotalEarningsByCurrencyOverTimeStatsItemDto
38
+ */
39
+ currency: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SellerTotalEarningsByCurrencyOverTimeStatsItemDto
44
+ */
45
+ date: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SellerTotalEarningsByCurrencyOverTimeStatsItemDto interface.
50
+ */
51
+ export function instanceOfSellerTotalEarningsByCurrencyOverTimeStatsItemDto(value: object): value is SellerTotalEarningsByCurrencyOverTimeStatsItemDto {
52
+ if (!('withoutCommissionAmount' in value) || value['withoutCommissionAmount'] === undefined) return false;
53
+ if (!('withCommissionAmount' in value) || value['withCommissionAmount'] === undefined) return false;
54
+ if (!('currency' in value) || value['currency'] === undefined) return false;
55
+ if (!('date' in value) || value['date'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function SellerTotalEarningsByCurrencyOverTimeStatsItemDtoFromJSON(json: any): SellerTotalEarningsByCurrencyOverTimeStatsItemDto {
60
+ return SellerTotalEarningsByCurrencyOverTimeStatsItemDtoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function SellerTotalEarningsByCurrencyOverTimeStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerTotalEarningsByCurrencyOverTimeStatsItemDto {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'withoutCommissionAmount': json['withoutCommissionAmount'],
70
+ 'withCommissionAmount': json['withCommissionAmount'],
71
+ 'currency': json['currency'],
72
+ 'date': json['date'],
73
+ };
74
+ }
75
+
76
+ export function SellerTotalEarningsByCurrencyOverTimeStatsItemDtoToJSON(json: any): SellerTotalEarningsByCurrencyOverTimeStatsItemDto {
77
+ return SellerTotalEarningsByCurrencyOverTimeStatsItemDtoToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SellerTotalEarningsByCurrencyOverTimeStatsItemDtoToJSONTyped(value?: SellerTotalEarningsByCurrencyOverTimeStatsItemDto | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'withoutCommissionAmount': value['withoutCommissionAmount'],
88
+ 'withCommissionAmount': value['withCommissionAmount'],
89
+ 'currency': value['currency'],
90
+ 'date': value['date'],
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 SellerTotalEarningsByCurrencyStatsItemDto
20
+ */
21
+ export interface SellerTotalEarningsByCurrencyStatsItemDto {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof SellerTotalEarningsByCurrencyStatsItemDto
26
+ */
27
+ withoutCommissionAmount: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof SellerTotalEarningsByCurrencyStatsItemDto
32
+ */
33
+ withCommissionAmount: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SellerTotalEarningsByCurrencyStatsItemDto
38
+ */
39
+ currency: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SellerTotalEarningsByCurrencyStatsItemDto interface.
44
+ */
45
+ export function instanceOfSellerTotalEarningsByCurrencyStatsItemDto(value: object): value is SellerTotalEarningsByCurrencyStatsItemDto {
46
+ if (!('withoutCommissionAmount' in value) || value['withoutCommissionAmount'] === undefined) return false;
47
+ if (!('withCommissionAmount' in value) || value['withCommissionAmount'] === undefined) return false;
48
+ if (!('currency' in value) || value['currency'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function SellerTotalEarningsByCurrencyStatsItemDtoFromJSON(json: any): SellerTotalEarningsByCurrencyStatsItemDto {
53
+ return SellerTotalEarningsByCurrencyStatsItemDtoFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function SellerTotalEarningsByCurrencyStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerTotalEarningsByCurrencyStatsItemDto {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'withoutCommissionAmount': json['withoutCommissionAmount'],
63
+ 'withCommissionAmount': json['withCommissionAmount'],
64
+ 'currency': json['currency'],
65
+ };
66
+ }
67
+
68
+ export function SellerTotalEarningsByCurrencyStatsItemDtoToJSON(json: any): SellerTotalEarningsByCurrencyStatsItemDto {
69
+ return SellerTotalEarningsByCurrencyStatsItemDtoToJSONTyped(json, false);
70
+ }
71
+
72
+ export function SellerTotalEarningsByCurrencyStatsItemDtoToJSONTyped(value?: SellerTotalEarningsByCurrencyStatsItemDto | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'withoutCommissionAmount': value['withoutCommissionAmount'],
80
+ 'withCommissionAmount': value['withCommissionAmount'],
81
+ 'currency': value['currency'],
82
+ };
83
+ }
84
+
@@ -221,10 +221,14 @@ export * from './SellerDomainTransferListItemDto';
221
221
  export * from './SellerInvoiceDomainDto';
222
222
  export * from './SellerInvoiceDto';
223
223
  export * from './SellerInvoiceSellerAccountDto';
224
+ export * from './SellerPendingPayoutsByCurrencyStatsItemDto';
225
+ export * from './SellerSalesCountStatsItemDto';
224
226
  export * from './SellerSecurityUserAccountDto';
225
227
  export * from './SellerSecurityUserDto';
226
228
  export * from './SellerSubscriptionListItemDto';
227
229
  export * from './SellerSubscriptionListItemDtoDomainInformation';
230
+ export * from './SellerTotalEarningsByCurrencyOverTimeStatsItemDto';
231
+ export * from './SellerTotalEarningsByCurrencyStatsItemDto';
228
232
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInput';
229
233
  export * from './SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel';
230
234
  export * from './SeoMetricsDto';