@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
@@ -17,6 +17,7 @@ src/apis/LeadsApi.ts
17
17
  src/apis/LeadsPublicApi.ts
18
18
  src/apis/OrdersPublicApi.ts
19
19
  src/apis/SalesPublicApi.ts
20
+ src/apis/StatsApi.ts
20
21
  src/apis/StripePublicApi.ts
21
22
  src/apis/SubscriptionsApi.ts
22
23
  src/apis/SubscriptionsPublicApi.ts
@@ -247,10 +248,14 @@ src/models/SellerDomainTransferListItemDto.ts
247
248
  src/models/SellerInvoiceDomainDto.ts
248
249
  src/models/SellerInvoiceDto.ts
249
250
  src/models/SellerInvoiceSellerAccountDto.ts
251
+ src/models/SellerPendingPayoutsByCurrencyStatsItemDto.ts
252
+ src/models/SellerSalesCountStatsItemDto.ts
250
253
  src/models/SellerSecurityUserAccountDto.ts
251
254
  src/models/SellerSecurityUserDto.ts
252
255
  src/models/SellerSubscriptionListItemDto.ts
253
256
  src/models/SellerSubscriptionListItemDtoDomainInformation.ts
257
+ src/models/SellerTotalEarningsByCurrencyOverTimeStatsItemDto.ts
258
+ src/models/SellerTotalEarningsByCurrencyStatsItemDto.ts
254
259
  src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts
255
260
  src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.ts
256
261
  src/models/SeoMetricsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.303
1
+ ## @randock/nameshift-api-client@0.0.304
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.303 --save
39
+ npm install @randock/nameshift-api-client@0.0.304 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 601223b8bcfb50d2e9d14e759d04aae91e2a2fa98b35ebadb1364cd51d65f00df5ec11b2acc73685af9c4c7ef8ca50db
47
+ 242943c1d12d8bf8992766764607ae4209e3f1c7971c4e5c2a2e3634fad00f44bedc6229bdc97790b094ebdfc50c2848
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { SellerPendingPayoutsByCurrencyStatsItemDto, SellerSalesCountStatsItemDto, SellerTotalEarningsByCurrencyOverTimeStatsItemDto, SellerTotalEarningsByCurrencyStatsItemDto } from '../models/index';
14
+ export interface StatsApiGetSalesCountRequest {
15
+ startDate: Date;
16
+ endDate: Date;
17
+ }
18
+ export interface StatsApiGetTotalEarningsByCurrencyOverTimeRequest {
19
+ startDate: Date;
20
+ endDate: Date;
21
+ }
22
+ /**
23
+ *
24
+ */
25
+ export declare class StatsApi extends runtime.BaseAPI {
26
+ /**
27
+ *
28
+ */
29
+ getPendingPayoutsByCurrencyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SellerPendingPayoutsByCurrencyStatsItemDto>>>;
30
+ /**
31
+ *
32
+ */
33
+ getPendingPayoutsByCurrency(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SellerPendingPayoutsByCurrencyStatsItemDto>>;
34
+ /**
35
+ *
36
+ */
37
+ getSalesCountRaw(requestParameters: StatsApiGetSalesCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SellerSalesCountStatsItemDto>>>;
38
+ /**
39
+ *
40
+ */
41
+ getSalesCount(requestParameters: StatsApiGetSalesCountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SellerSalesCountStatsItemDto>>;
42
+ /**
43
+ *
44
+ */
45
+ getTotalEarningsByCurrencyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SellerTotalEarningsByCurrencyStatsItemDto>>>;
46
+ /**
47
+ *
48
+ */
49
+ getTotalEarningsByCurrency(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SellerTotalEarningsByCurrencyStatsItemDto>>;
50
+ /**
51
+ *
52
+ */
53
+ getTotalEarningsByCurrencyOverTimeRaw(requestParameters: StatsApiGetTotalEarningsByCurrencyOverTimeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SellerTotalEarningsByCurrencyOverTimeStatsItemDto>>>;
54
+ /**
55
+ *
56
+ */
57
+ getTotalEarningsByCurrencyOverTime(requestParameters: StatsApiGetTotalEarningsByCurrencyOverTimeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SellerTotalEarningsByCurrencyOverTimeStatsItemDto>>;
58
+ }
@@ -0,0 +1,304 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.StatsApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var StatsApi = /** @class */ (function (_super) {
74
+ __extends(StatsApi, _super);
75
+ function StatsApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ StatsApi.prototype.getPendingPayoutsByCurrencyRaw = function (initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ queryParameters = {};
88
+ headerParameters = {};
89
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
90
+ token = this.configuration.accessToken;
91
+ return [4 /*yield*/, token("bearer", [])];
92
+ case 1:
93
+ tokenString = _a.sent();
94
+ if (tokenString) {
95
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
96
+ }
97
+ _a.label = 2;
98
+ case 2: return [4 /*yield*/, this.request({
99
+ path: "/private/stats/pending-payouts-by-currency",
100
+ method: 'GET',
101
+ headers: headerParameters,
102
+ query: queryParameters,
103
+ }, initOverrides)];
104
+ case 3:
105
+ response = _a.sent();
106
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.SellerPendingPayoutsByCurrencyStatsItemDtoFromJSON); })];
107
+ }
108
+ });
109
+ });
110
+ };
111
+ /**
112
+ *
113
+ */
114
+ StatsApi.prototype.getPendingPayoutsByCurrency = function (initOverrides) {
115
+ return __awaiter(this, void 0, void 0, function () {
116
+ var response;
117
+ return __generator(this, function (_a) {
118
+ switch (_a.label) {
119
+ case 0: return [4 /*yield*/, this.getPendingPayoutsByCurrencyRaw(initOverrides)];
120
+ case 1:
121
+ response = _a.sent();
122
+ return [4 /*yield*/, response.value()];
123
+ case 2: return [2 /*return*/, _a.sent()];
124
+ }
125
+ });
126
+ });
127
+ };
128
+ /**
129
+ *
130
+ */
131
+ StatsApi.prototype.getSalesCountRaw = function (requestParameters, initOverrides) {
132
+ return __awaiter(this, void 0, void 0, function () {
133
+ var queryParameters, headerParameters, token, tokenString, response;
134
+ return __generator(this, function (_a) {
135
+ switch (_a.label) {
136
+ case 0:
137
+ if (requestParameters['startDate'] == null) {
138
+ throw new runtime.RequiredError('startDate', 'Required parameter "startDate" was null or undefined when calling getSalesCount().');
139
+ }
140
+ if (requestParameters['endDate'] == null) {
141
+ throw new runtime.RequiredError('endDate', 'Required parameter "endDate" was null or undefined when calling getSalesCount().');
142
+ }
143
+ queryParameters = {};
144
+ if (requestParameters['startDate'] != null) {
145
+ queryParameters['startDate'] = requestParameters['startDate'].toISOString();
146
+ }
147
+ if (requestParameters['endDate'] != null) {
148
+ queryParameters['endDate'] = requestParameters['endDate'].toISOString();
149
+ }
150
+ headerParameters = {};
151
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
152
+ token = this.configuration.accessToken;
153
+ return [4 /*yield*/, token("bearer", [])];
154
+ case 1:
155
+ tokenString = _a.sent();
156
+ if (tokenString) {
157
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
158
+ }
159
+ _a.label = 2;
160
+ case 2: return [4 /*yield*/, this.request({
161
+ path: "/private/stats/sales-count",
162
+ method: 'GET',
163
+ headers: headerParameters,
164
+ query: queryParameters,
165
+ }, initOverrides)];
166
+ case 3:
167
+ response = _a.sent();
168
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.SellerSalesCountStatsItemDtoFromJSON); })];
169
+ }
170
+ });
171
+ });
172
+ };
173
+ /**
174
+ *
175
+ */
176
+ StatsApi.prototype.getSalesCount = function (requestParameters, initOverrides) {
177
+ return __awaiter(this, void 0, void 0, function () {
178
+ var response;
179
+ return __generator(this, function (_a) {
180
+ switch (_a.label) {
181
+ case 0: return [4 /*yield*/, this.getSalesCountRaw(requestParameters, initOverrides)];
182
+ case 1:
183
+ response = _a.sent();
184
+ return [4 /*yield*/, response.value()];
185
+ case 2: return [2 /*return*/, _a.sent()];
186
+ }
187
+ });
188
+ });
189
+ };
190
+ /**
191
+ *
192
+ */
193
+ StatsApi.prototype.getTotalEarningsByCurrencyRaw = function (initOverrides) {
194
+ return __awaiter(this, void 0, void 0, function () {
195
+ var queryParameters, headerParameters, token, tokenString, response;
196
+ return __generator(this, function (_a) {
197
+ switch (_a.label) {
198
+ case 0:
199
+ queryParameters = {};
200
+ headerParameters = {};
201
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
202
+ token = this.configuration.accessToken;
203
+ return [4 /*yield*/, token("bearer", [])];
204
+ case 1:
205
+ tokenString = _a.sent();
206
+ if (tokenString) {
207
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
208
+ }
209
+ _a.label = 2;
210
+ case 2: return [4 /*yield*/, this.request({
211
+ path: "/private/stats/total-earnings-by-currency",
212
+ method: 'GET',
213
+ headers: headerParameters,
214
+ query: queryParameters,
215
+ }, initOverrides)];
216
+ case 3:
217
+ response = _a.sent();
218
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.SellerTotalEarningsByCurrencyStatsItemDtoFromJSON); })];
219
+ }
220
+ });
221
+ });
222
+ };
223
+ /**
224
+ *
225
+ */
226
+ StatsApi.prototype.getTotalEarningsByCurrency = function (initOverrides) {
227
+ return __awaiter(this, void 0, void 0, function () {
228
+ var response;
229
+ return __generator(this, function (_a) {
230
+ switch (_a.label) {
231
+ case 0: return [4 /*yield*/, this.getTotalEarningsByCurrencyRaw(initOverrides)];
232
+ case 1:
233
+ response = _a.sent();
234
+ return [4 /*yield*/, response.value()];
235
+ case 2: return [2 /*return*/, _a.sent()];
236
+ }
237
+ });
238
+ });
239
+ };
240
+ /**
241
+ *
242
+ */
243
+ StatsApi.prototype.getTotalEarningsByCurrencyOverTimeRaw = function (requestParameters, initOverrides) {
244
+ return __awaiter(this, void 0, void 0, function () {
245
+ var queryParameters, headerParameters, token, tokenString, response;
246
+ return __generator(this, function (_a) {
247
+ switch (_a.label) {
248
+ case 0:
249
+ if (requestParameters['startDate'] == null) {
250
+ throw new runtime.RequiredError('startDate', 'Required parameter "startDate" was null or undefined when calling getTotalEarningsByCurrencyOverTime().');
251
+ }
252
+ if (requestParameters['endDate'] == null) {
253
+ throw new runtime.RequiredError('endDate', 'Required parameter "endDate" was null or undefined when calling getTotalEarningsByCurrencyOverTime().');
254
+ }
255
+ queryParameters = {};
256
+ if (requestParameters['startDate'] != null) {
257
+ queryParameters['startDate'] = requestParameters['startDate'].toISOString();
258
+ }
259
+ if (requestParameters['endDate'] != null) {
260
+ queryParameters['endDate'] = requestParameters['endDate'].toISOString();
261
+ }
262
+ headerParameters = {};
263
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
264
+ token = this.configuration.accessToken;
265
+ return [4 /*yield*/, token("bearer", [])];
266
+ case 1:
267
+ tokenString = _a.sent();
268
+ if (tokenString) {
269
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
270
+ }
271
+ _a.label = 2;
272
+ case 2: return [4 /*yield*/, this.request({
273
+ path: "/private/stats/total-earnings-by-currency-over-time",
274
+ method: 'GET',
275
+ headers: headerParameters,
276
+ query: queryParameters,
277
+ }, initOverrides)];
278
+ case 3:
279
+ response = _a.sent();
280
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.SellerTotalEarningsByCurrencyOverTimeStatsItemDtoFromJSON); })];
281
+ }
282
+ });
283
+ });
284
+ };
285
+ /**
286
+ *
287
+ */
288
+ StatsApi.prototype.getTotalEarningsByCurrencyOverTime = function (requestParameters, initOverrides) {
289
+ return __awaiter(this, void 0, void 0, function () {
290
+ var response;
291
+ return __generator(this, function (_a) {
292
+ switch (_a.label) {
293
+ case 0: return [4 /*yield*/, this.getTotalEarningsByCurrencyOverTimeRaw(requestParameters, initOverrides)];
294
+ case 1:
295
+ response = _a.sent();
296
+ return [4 /*yield*/, response.value()];
297
+ case 2: return [2 /*return*/, _a.sent()];
298
+ }
299
+ });
300
+ });
301
+ };
302
+ return StatsApi;
303
+ }(runtime.BaseAPI));
304
+ exports.StatsApi = StatsApi;
@@ -12,6 +12,7 @@ export * from './LeadsApi';
12
12
  export * from './LeadsPublicApi';
13
13
  export * from './OrdersPublicApi';
14
14
  export * from './SalesPublicApi';
15
+ export * from './StatsApi';
15
16
  export * from './StripePublicApi';
16
17
  export * from './SubscriptionsApi';
17
18
  export * from './SubscriptionsPublicApi';
@@ -30,6 +30,7 @@ __exportStar(require("./LeadsApi"), exports);
30
30
  __exportStar(require("./LeadsPublicApi"), exports);
31
31
  __exportStar(require("./OrdersPublicApi"), exports);
32
32
  __exportStar(require("./SalesPublicApi"), exports);
33
+ __exportStar(require("./StatsApi"), exports);
33
34
  __exportStar(require("./StripePublicApi"), exports);
34
35
  __exportStar(require("./SubscriptionsApi"), exports);
35
36
  __exportStar(require("./SubscriptionsPublicApi"), exports);
@@ -99,6 +99,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
99
99
  readonly ZERO_COMMISSION: "ZERO_COMMISSION";
100
100
  readonly LEAD_PRICE_NEGOTIATOR_AI_AGENT: "LEAD_PRICE_NEGOTIATOR_AI_AGENT";
101
101
  readonly AFFILIATE_PROGRAM: "AFFILIATE_PROGRAM";
102
+ readonly SELLER_STATS_DASHBOARD: "SELLER_STATS_DASHBOARD";
102
103
  };
103
104
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
104
105
  /**
@@ -35,7 +35,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
35
35
  BANK_PAYOUTS: 'BANK_PAYOUTS',
36
36
  ZERO_COMMISSION: 'ZERO_COMMISSION',
37
37
  LEAD_PRICE_NEGOTIATOR_AI_AGENT: 'LEAD_PRICE_NEGOTIATOR_AI_AGENT',
38
- AFFILIATE_PROGRAM: 'AFFILIATE_PROGRAM'
38
+ AFFILIATE_PROGRAM: 'AFFILIATE_PROGRAM',
39
+ SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD'
39
40
  };
40
41
  /**
41
42
  * Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SellerPendingPayoutsByCurrencyStatsItemDto
16
+ */
17
+ export interface SellerPendingPayoutsByCurrencyStatsItemDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SellerPendingPayoutsByCurrencyStatsItemDto
22
+ */
23
+ amount: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SellerPendingPayoutsByCurrencyStatsItemDto
28
+ */
29
+ currency: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SellerPendingPayoutsByCurrencyStatsItemDto interface.
33
+ */
34
+ export declare function instanceOfSellerPendingPayoutsByCurrencyStatsItemDto(value: object): value is SellerPendingPayoutsByCurrencyStatsItemDto;
35
+ export declare function SellerPendingPayoutsByCurrencyStatsItemDtoFromJSON(json: any): SellerPendingPayoutsByCurrencyStatsItemDto;
36
+ export declare function SellerPendingPayoutsByCurrencyStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerPendingPayoutsByCurrencyStatsItemDto;
37
+ export declare function SellerPendingPayoutsByCurrencyStatsItemDtoToJSON(json: any): SellerPendingPayoutsByCurrencyStatsItemDto;
38
+ export declare function SellerPendingPayoutsByCurrencyStatsItemDtoToJSONTyped(value?: SellerPendingPayoutsByCurrencyStatsItemDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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.instanceOfSellerPendingPayoutsByCurrencyStatsItemDto = instanceOfSellerPendingPayoutsByCurrencyStatsItemDto;
17
+ exports.SellerPendingPayoutsByCurrencyStatsItemDtoFromJSON = SellerPendingPayoutsByCurrencyStatsItemDtoFromJSON;
18
+ exports.SellerPendingPayoutsByCurrencyStatsItemDtoFromJSONTyped = SellerPendingPayoutsByCurrencyStatsItemDtoFromJSONTyped;
19
+ exports.SellerPendingPayoutsByCurrencyStatsItemDtoToJSON = SellerPendingPayoutsByCurrencyStatsItemDtoToJSON;
20
+ exports.SellerPendingPayoutsByCurrencyStatsItemDtoToJSONTyped = SellerPendingPayoutsByCurrencyStatsItemDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SellerPendingPayoutsByCurrencyStatsItemDto interface.
23
+ */
24
+ function instanceOfSellerPendingPayoutsByCurrencyStatsItemDto(value) {
25
+ if (!('amount' in value) || value['amount'] === undefined)
26
+ return false;
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SellerPendingPayoutsByCurrencyStatsItemDtoFromJSON(json) {
32
+ return SellerPendingPayoutsByCurrencyStatsItemDtoFromJSONTyped(json, false);
33
+ }
34
+ function SellerPendingPayoutsByCurrencyStatsItemDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'amount': json['amount'],
40
+ 'currency': json['currency'],
41
+ };
42
+ }
43
+ function SellerPendingPayoutsByCurrencyStatsItemDtoToJSON(json) {
44
+ return SellerPendingPayoutsByCurrencyStatsItemDtoToJSONTyped(json, false);
45
+ }
46
+ function SellerPendingPayoutsByCurrencyStatsItemDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'amount': value['amount'],
53
+ 'currency': value['currency'],
54
+ };
55
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SellerSalesCountStatsItemDto
16
+ */
17
+ export interface SellerSalesCountStatsItemDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SellerSalesCountStatsItemDto
22
+ */
23
+ count: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SellerSalesCountStatsItemDto
28
+ */
29
+ date: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof SellerSalesCountStatsItemDto
34
+ */
35
+ hasLead: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SellerSalesCountStatsItemDto interface.
39
+ */
40
+ export declare function instanceOfSellerSalesCountStatsItemDto(value: object): value is SellerSalesCountStatsItemDto;
41
+ export declare function SellerSalesCountStatsItemDtoFromJSON(json: any): SellerSalesCountStatsItemDto;
42
+ export declare function SellerSalesCountStatsItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerSalesCountStatsItemDto;
43
+ export declare function SellerSalesCountStatsItemDtoToJSON(json: any): SellerSalesCountStatsItemDto;
44
+ export declare function SellerSalesCountStatsItemDtoToJSONTyped(value?: SellerSalesCountStatsItemDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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.instanceOfSellerSalesCountStatsItemDto = instanceOfSellerSalesCountStatsItemDto;
17
+ exports.SellerSalesCountStatsItemDtoFromJSON = SellerSalesCountStatsItemDtoFromJSON;
18
+ exports.SellerSalesCountStatsItemDtoFromJSONTyped = SellerSalesCountStatsItemDtoFromJSONTyped;
19
+ exports.SellerSalesCountStatsItemDtoToJSON = SellerSalesCountStatsItemDtoToJSON;
20
+ exports.SellerSalesCountStatsItemDtoToJSONTyped = SellerSalesCountStatsItemDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SellerSalesCountStatsItemDto interface.
23
+ */
24
+ function instanceOfSellerSalesCountStatsItemDto(value) {
25
+ if (!('count' in value) || value['count'] === undefined)
26
+ return false;
27
+ if (!('date' in value) || value['date'] === undefined)
28
+ return false;
29
+ if (!('hasLead' in value) || value['hasLead'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SellerSalesCountStatsItemDtoFromJSON(json) {
34
+ return SellerSalesCountStatsItemDtoFromJSONTyped(json, false);
35
+ }
36
+ function SellerSalesCountStatsItemDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'count': json['count'],
42
+ 'date': json['date'],
43
+ 'hasLead': json['hasLead'],
44
+ };
45
+ }
46
+ function SellerSalesCountStatsItemDtoToJSON(json) {
47
+ return SellerSalesCountStatsItemDtoToJSONTyped(json, false);
48
+ }
49
+ function SellerSalesCountStatsItemDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'count': value['count'],
56
+ 'date': value['date'],
57
+ 'hasLead': value['hasLead'],
58
+ };
59
+ }