@randock/nameshift-api-client 0.0.198 → 0.0.199

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.
@@ -52,6 +52,8 @@ src/models/BuyerDto.ts
52
52
  src/models/BuyerLeadListItemDomainDto.ts
53
53
  src/models/BuyerLeadListItemDto.ts
54
54
  src/models/BuyerSecurityUserDto.ts
55
+ src/models/BuyerSubscriptionListItemDto.ts
56
+ src/models/BuyerSubscriptionListItemDtoDomainInformation.ts
55
57
  src/models/ChangeOrderStatusInput.ts
56
58
  src/models/ChangeSubscriptionStatusInput.ts
57
59
  src/models/ChartDataPoint.ts
@@ -100,6 +102,7 @@ src/models/GetAllOwnedDomains200Response.ts
100
102
  src/models/GetAllSubscriptions200Response.ts
101
103
  src/models/GetAllSubscriptions200Response1.ts
102
104
  src/models/GetBuyerLeads200Response.ts
105
+ src/models/GetBuyerSubscriptions200Response.ts
103
106
  src/models/GetBuyerTransfers200Response.ts
104
107
  src/models/HttpException.ts
105
108
  src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.198
1
+ ## @randock/nameshift-api-client@0.0.199
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.198 --save
39
+ npm install @randock/nameshift-api-client@0.0.199 --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
- 968e463282777dad51e838bac66fc8929a4207ecc6ea1111896c6b4db68f4ee75cca7fad82fedc24e6d1f728c024af2c
47
+ 8a9c6c60ce5babfa85725463d2777f12d3b47cb5d3d86a03e0f4214bd0489f7a7623f48a32dc0821a193c95614a8d79b
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSecurityUserDto, CreateBuyerLeadMessageInput, GetAllInvoices200Response, GetBuyerLeads200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
13
+ import type { BatchDeleteBuyerLeadsInput, BatchReadBuyerLeadMessageInput, BatchVerifyBuyerLeadsInput, BuyerDomainTransferAuthCodeDto, BuyerSecurityUserDto, CreateBuyerLeadMessageInput, GetAllInvoices200Response, GetBuyerLeads200Response, GetBuyerSubscriptions200Response, GetBuyerTransfers200Response, LeadDto, LeadMessageDto, ObjectId, PutBuyerLeadOfferInput, SetDomainTransferConfirmationInput, StoreBuyerLocaleInput } from '../models/index';
14
14
  export interface BuyersApiAcceptBuyerLeadOfferRequest {
15
15
  leadId: string;
16
16
  }
@@ -49,6 +49,12 @@ export interface BuyersApiGetBuyerLeadsRequest {
49
49
  limit?: number;
50
50
  sortBy?: Array<string>;
51
51
  }
52
+ export interface BuyersApiGetBuyerSubscriptionsRequest {
53
+ filter?: object;
54
+ page?: number;
55
+ limit?: number;
56
+ sortBy?: Array<string>;
57
+ }
52
58
  export interface BuyersApiGetBuyerTransfersRequest {
53
59
  filter?: object;
54
60
  page?: number;
@@ -164,6 +170,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
164
170
  *
165
171
  */
166
172
  getBuyerLeads(requestParameters?: BuyersApiGetBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerLeads200Response>;
173
+ /**
174
+ *
175
+ */
176
+ getBuyerSubscriptionsRaw(requestParameters: BuyersApiGetBuyerSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBuyerSubscriptions200Response>>;
177
+ /**
178
+ *
179
+ */
180
+ getBuyerSubscriptions(requestParameters?: BuyersApiGetBuyerSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerSubscriptions200Response>;
167
181
  /**
168
182
  *
169
183
  */
@@ -681,6 +681,69 @@ var BuyersApi = /** @class */ (function (_super) {
681
681
  });
682
682
  });
683
683
  };
684
+ /**
685
+ *
686
+ */
687
+ BuyersApi.prototype.getBuyerSubscriptionsRaw = function (requestParameters, initOverrides) {
688
+ return __awaiter(this, void 0, void 0, function () {
689
+ var queryParameters, headerParameters, token, tokenString, response;
690
+ return __generator(this, function (_a) {
691
+ switch (_a.label) {
692
+ case 0:
693
+ queryParameters = {};
694
+ if (requestParameters['filter'] != null) {
695
+ queryParameters['filter'] = requestParameters['filter'];
696
+ }
697
+ if (requestParameters['page'] != null) {
698
+ queryParameters['page'] = requestParameters['page'];
699
+ }
700
+ if (requestParameters['limit'] != null) {
701
+ queryParameters['limit'] = requestParameters['limit'];
702
+ }
703
+ if (requestParameters['sortBy'] != null) {
704
+ queryParameters['sortBy'] = requestParameters['sortBy'];
705
+ }
706
+ headerParameters = {};
707
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
708
+ token = this.configuration.accessToken;
709
+ return [4 /*yield*/, token("bearer", [])];
710
+ case 1:
711
+ tokenString = _a.sent();
712
+ if (tokenString) {
713
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
714
+ }
715
+ _a.label = 2;
716
+ case 2: return [4 /*yield*/, this.request({
717
+ path: "/buyers/private/subscriptions",
718
+ method: 'GET',
719
+ headers: headerParameters,
720
+ query: queryParameters,
721
+ }, initOverrides)];
722
+ case 3:
723
+ response = _a.sent();
724
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetBuyerSubscriptions200ResponseFromJSON)(jsonValue); })];
725
+ }
726
+ });
727
+ });
728
+ };
729
+ /**
730
+ *
731
+ */
732
+ BuyersApi.prototype.getBuyerSubscriptions = function () {
733
+ return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
734
+ var response;
735
+ if (requestParameters === void 0) { requestParameters = {}; }
736
+ return __generator(this, function (_a) {
737
+ switch (_a.label) {
738
+ case 0: return [4 /*yield*/, this.getBuyerSubscriptionsRaw(requestParameters, initOverrides)];
739
+ case 1:
740
+ response = _a.sent();
741
+ return [4 /*yield*/, response.value()];
742
+ case 2: return [2 /*return*/, _a.sent()];
743
+ }
744
+ });
745
+ });
746
+ };
684
747
  /**
685
748
  *
686
749
  */
@@ -0,0 +1,89 @@
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 type { BuyerSubscriptionListItemDtoDomainInformation } from './BuyerSubscriptionListItemDtoDomainInformation';
13
+ import type { MoneyDto } from './MoneyDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BuyerSubscriptionListItemDto
18
+ */
19
+ export interface BuyerSubscriptionListItemDto {
20
+ /**
21
+ * The subscription ID
22
+ * @type {object}
23
+ * @memberof BuyerSubscriptionListItemDto
24
+ */
25
+ id: object;
26
+ /**
27
+ * The subscription status
28
+ * @type {string}
29
+ * @memberof BuyerSubscriptionListItemDto
30
+ */
31
+ status: BuyerSubscriptionListItemDtoStatusEnum;
32
+ /**
33
+ * The subscription type
34
+ * @type {string}
35
+ * @memberof BuyerSubscriptionListItemDto
36
+ */
37
+ type: BuyerSubscriptionListItemDtoTypeEnum;
38
+ /**
39
+ * The subscription start date
40
+ * @type {Date}
41
+ * @memberof BuyerSubscriptionListItemDto
42
+ */
43
+ startedAt: Date | null;
44
+ /**
45
+ * The subscription creation date
46
+ * @type {Date}
47
+ * @memberof BuyerSubscriptionListItemDto
48
+ */
49
+ createdAt: Date;
50
+ /**
51
+ * The subscription domain information
52
+ * @type {BuyerSubscriptionListItemDtoDomainInformation}
53
+ * @memberof BuyerSubscriptionListItemDto
54
+ */
55
+ domain: BuyerSubscriptionListItemDtoDomainInformation;
56
+ /**
57
+ * The subscription base price
58
+ * @type {MoneyDto}
59
+ * @memberof BuyerSubscriptionListItemDto
60
+ */
61
+ basePrice: MoneyDto | null;
62
+ }
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const BuyerSubscriptionListItemDtoStatusEnum: {
67
+ readonly DRAFT: "draft";
68
+ readonly ACTIVE: "active";
69
+ readonly PAUSED: "paused";
70
+ readonly CANCELLED: "cancelled";
71
+ readonly FINISHED: "finished";
72
+ };
73
+ export type BuyerSubscriptionListItemDtoStatusEnum = typeof BuyerSubscriptionListItemDtoStatusEnum[keyof typeof BuyerSubscriptionListItemDtoStatusEnum];
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const BuyerSubscriptionListItemDtoTypeEnum: {
78
+ readonly RENT: "rent";
79
+ readonly LEASE_TO_OWN: "lease_to_own";
80
+ };
81
+ export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
82
+ /**
83
+ * Check if a given object implements the BuyerSubscriptionListItemDto interface.
84
+ */
85
+ export declare function instanceOfBuyerSubscriptionListItemDto(value: object): value is BuyerSubscriptionListItemDto;
86
+ export declare function BuyerSubscriptionListItemDtoFromJSON(json: any): BuyerSubscriptionListItemDto;
87
+ export declare function BuyerSubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSubscriptionListItemDto;
88
+ export declare function BuyerSubscriptionListItemDtoToJSON(json: any): BuyerSubscriptionListItemDto;
89
+ export declare function BuyerSubscriptionListItemDtoToJSONTyped(value?: BuyerSubscriptionListItemDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,95 @@
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.BuyerSubscriptionListItemDtoTypeEnum = exports.BuyerSubscriptionListItemDtoStatusEnum = void 0;
17
+ exports.instanceOfBuyerSubscriptionListItemDto = instanceOfBuyerSubscriptionListItemDto;
18
+ exports.BuyerSubscriptionListItemDtoFromJSON = BuyerSubscriptionListItemDtoFromJSON;
19
+ exports.BuyerSubscriptionListItemDtoFromJSONTyped = BuyerSubscriptionListItemDtoFromJSONTyped;
20
+ exports.BuyerSubscriptionListItemDtoToJSON = BuyerSubscriptionListItemDtoToJSON;
21
+ exports.BuyerSubscriptionListItemDtoToJSONTyped = BuyerSubscriptionListItemDtoToJSONTyped;
22
+ var BuyerSubscriptionListItemDtoDomainInformation_1 = require("./BuyerSubscriptionListItemDtoDomainInformation");
23
+ var MoneyDto_1 = require("./MoneyDto");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.BuyerSubscriptionListItemDtoStatusEnum = {
28
+ DRAFT: 'draft',
29
+ ACTIVE: 'active',
30
+ PAUSED: 'paused',
31
+ CANCELLED: 'cancelled',
32
+ FINISHED: 'finished'
33
+ };
34
+ /**
35
+ * @export
36
+ */
37
+ exports.BuyerSubscriptionListItemDtoTypeEnum = {
38
+ RENT: 'rent',
39
+ LEASE_TO_OWN: 'lease_to_own'
40
+ };
41
+ /**
42
+ * Check if a given object implements the BuyerSubscriptionListItemDto interface.
43
+ */
44
+ function instanceOfBuyerSubscriptionListItemDto(value) {
45
+ if (!('id' in value) || value['id'] === undefined)
46
+ return false;
47
+ if (!('status' in value) || value['status'] === undefined)
48
+ return false;
49
+ if (!('type' in value) || value['type'] === undefined)
50
+ return false;
51
+ if (!('startedAt' in value) || value['startedAt'] === undefined)
52
+ return false;
53
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
54
+ return false;
55
+ if (!('domain' in value) || value['domain'] === undefined)
56
+ return false;
57
+ if (!('basePrice' in value) || value['basePrice'] === undefined)
58
+ return false;
59
+ return true;
60
+ }
61
+ function BuyerSubscriptionListItemDtoFromJSON(json) {
62
+ return BuyerSubscriptionListItemDtoFromJSONTyped(json, false);
63
+ }
64
+ function BuyerSubscriptionListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+ 'id': json['id'],
70
+ 'status': json['status'],
71
+ 'type': json['type'],
72
+ 'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
73
+ 'createdAt': (new Date(json['createdAt'])),
74
+ 'domain': (0, BuyerSubscriptionListItemDtoDomainInformation_1.BuyerSubscriptionListItemDtoDomainInformationFromJSON)(json['domain']),
75
+ 'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
76
+ };
77
+ }
78
+ function BuyerSubscriptionListItemDtoToJSON(json) {
79
+ return BuyerSubscriptionListItemDtoToJSONTyped(json, false);
80
+ }
81
+ function BuyerSubscriptionListItemDtoToJSONTyped(value, ignoreDiscriminator) {
82
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'id': value['id'],
88
+ 'status': value['status'],
89
+ 'type': value['type'],
90
+ 'startedAt': (value['startedAt'] == null ? null : value['startedAt'].toISOString()),
91
+ 'createdAt': ((value['createdAt']).toISOString()),
92
+ 'domain': (0, BuyerSubscriptionListItemDtoDomainInformation_1.BuyerSubscriptionListItemDtoDomainInformationToJSON)(value['domain']),
93
+ 'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
94
+ };
95
+ }
@@ -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 BuyerSubscriptionListItemDtoDomainInformation
16
+ */
17
+ export interface BuyerSubscriptionListItemDtoDomainInformation {
18
+ /**
19
+ * The subscription domain TLD
20
+ * @type {string}
21
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
22
+ */
23
+ tld: string;
24
+ /**
25
+ * The subscription domain name
26
+ * @type {string}
27
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
28
+ */
29
+ name: string;
30
+ /**
31
+ * The subscription domain name
32
+ * @type {string}
33
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
34
+ */
35
+ displayName: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the BuyerSubscriptionListItemDtoDomainInformation interface.
39
+ */
40
+ export declare function instanceOfBuyerSubscriptionListItemDtoDomainInformation(value: object): value is BuyerSubscriptionListItemDtoDomainInformation;
41
+ export declare function BuyerSubscriptionListItemDtoDomainInformationFromJSON(json: any): BuyerSubscriptionListItemDtoDomainInformation;
42
+ export declare function BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSubscriptionListItemDtoDomainInformation;
43
+ export declare function BuyerSubscriptionListItemDtoDomainInformationToJSON(json: any): BuyerSubscriptionListItemDtoDomainInformation;
44
+ export declare function BuyerSubscriptionListItemDtoDomainInformationToJSONTyped(value?: BuyerSubscriptionListItemDtoDomainInformation | 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.instanceOfBuyerSubscriptionListItemDtoDomainInformation = instanceOfBuyerSubscriptionListItemDtoDomainInformation;
17
+ exports.BuyerSubscriptionListItemDtoDomainInformationFromJSON = BuyerSubscriptionListItemDtoDomainInformationFromJSON;
18
+ exports.BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped = BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped;
19
+ exports.BuyerSubscriptionListItemDtoDomainInformationToJSON = BuyerSubscriptionListItemDtoDomainInformationToJSON;
20
+ exports.BuyerSubscriptionListItemDtoDomainInformationToJSONTyped = BuyerSubscriptionListItemDtoDomainInformationToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BuyerSubscriptionListItemDtoDomainInformation interface.
23
+ */
24
+ function instanceOfBuyerSubscriptionListItemDtoDomainInformation(value) {
25
+ if (!('tld' in value) || value['tld'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('displayName' in value) || value['displayName'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function BuyerSubscriptionListItemDtoDomainInformationFromJSON(json) {
34
+ return BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped(json, false);
35
+ }
36
+ function BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'tld': json['tld'],
42
+ 'name': json['name'],
43
+ 'displayName': json['displayName'],
44
+ };
45
+ }
46
+ function BuyerSubscriptionListItemDtoDomainInformationToJSON(json) {
47
+ return BuyerSubscriptionListItemDtoDomainInformationToJSONTyped(json, false);
48
+ }
49
+ function BuyerSubscriptionListItemDtoDomainInformationToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'tld': value['tld'],
56
+ 'name': value['name'],
57
+ 'displayName': value['displayName'],
58
+ };
59
+ }
@@ -0,0 +1,47 @@
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 type { PaginateResponseLinks } from './PaginateResponseLinks';
13
+ import type { BuyerSubscriptionListItemDto } from './BuyerSubscriptionListItemDto';
14
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface GetBuyerSubscriptions200Response
19
+ */
20
+ export interface GetBuyerSubscriptions200Response {
21
+ /**
22
+ *
23
+ * @type {Array<BuyerSubscriptionListItemDto>}
24
+ * @memberof GetBuyerSubscriptions200Response
25
+ */
26
+ data: Array<BuyerSubscriptionListItemDto>;
27
+ /**
28
+ *
29
+ * @type {PaginateResponseMeta}
30
+ * @memberof GetBuyerSubscriptions200Response
31
+ */
32
+ meta: PaginateResponseMeta;
33
+ /**
34
+ *
35
+ * @type {PaginateResponseLinks}
36
+ * @memberof GetBuyerSubscriptions200Response
37
+ */
38
+ links: PaginateResponseLinks;
39
+ }
40
+ /**
41
+ * Check if a given object implements the GetBuyerSubscriptions200Response interface.
42
+ */
43
+ export declare function instanceOfGetBuyerSubscriptions200Response(value: object): value is GetBuyerSubscriptions200Response;
44
+ export declare function GetBuyerSubscriptions200ResponseFromJSON(json: any): GetBuyerSubscriptions200Response;
45
+ export declare function GetBuyerSubscriptions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerSubscriptions200Response;
46
+ export declare function GetBuyerSubscriptions200ResponseToJSON(json: any): GetBuyerSubscriptions200Response;
47
+ export declare function GetBuyerSubscriptions200ResponseToJSONTyped(value?: GetBuyerSubscriptions200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfGetBuyerSubscriptions200Response = instanceOfGetBuyerSubscriptions200Response;
17
+ exports.GetBuyerSubscriptions200ResponseFromJSON = GetBuyerSubscriptions200ResponseFromJSON;
18
+ exports.GetBuyerSubscriptions200ResponseFromJSONTyped = GetBuyerSubscriptions200ResponseFromJSONTyped;
19
+ exports.GetBuyerSubscriptions200ResponseToJSON = GetBuyerSubscriptions200ResponseToJSON;
20
+ exports.GetBuyerSubscriptions200ResponseToJSONTyped = GetBuyerSubscriptions200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var BuyerSubscriptionListItemDto_1 = require("./BuyerSubscriptionListItemDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the GetBuyerSubscriptions200Response interface.
26
+ */
27
+ function instanceOfGetBuyerSubscriptions200Response(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function GetBuyerSubscriptions200ResponseFromJSON(json) {
37
+ return GetBuyerSubscriptions200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function GetBuyerSubscriptions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(BuyerSubscriptionListItemDto_1.BuyerSubscriptionListItemDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function GetBuyerSubscriptions200ResponseToJSON(json) {
50
+ return GetBuyerSubscriptions200ResponseToJSONTyped(json, false);
51
+ }
52
+ function GetBuyerSubscriptions200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(BuyerSubscriptionListItemDto_1.BuyerSubscriptionListItemDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -27,6 +27,8 @@ export * from './BuyerDto';
27
27
  export * from './BuyerLeadListItemDomainDto';
28
28
  export * from './BuyerLeadListItemDto';
29
29
  export * from './BuyerSecurityUserDto';
30
+ export * from './BuyerSubscriptionListItemDto';
31
+ export * from './BuyerSubscriptionListItemDtoDomainInformation';
30
32
  export * from './ChangeOrderStatusInput';
31
33
  export * from './ChangeSubscriptionStatusInput';
32
34
  export * from './ChartDataPoint';
@@ -75,6 +77,7 @@ export * from './GetAllOwnedDomains200Response';
75
77
  export * from './GetAllSubscriptions200Response';
76
78
  export * from './GetAllSubscriptions200Response1';
77
79
  export * from './GetBuyerLeads200Response';
80
+ export * from './GetBuyerSubscriptions200Response';
78
81
  export * from './GetBuyerTransfers200Response';
79
82
  export * from './HttpException';
80
83
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';
@@ -45,6 +45,8 @@ __exportStar(require("./BuyerDto"), exports);
45
45
  __exportStar(require("./BuyerLeadListItemDomainDto"), exports);
46
46
  __exportStar(require("./BuyerLeadListItemDto"), exports);
47
47
  __exportStar(require("./BuyerSecurityUserDto"), exports);
48
+ __exportStar(require("./BuyerSubscriptionListItemDto"), exports);
49
+ __exportStar(require("./BuyerSubscriptionListItemDtoDomainInformation"), exports);
48
50
  __exportStar(require("./ChangeOrderStatusInput"), exports);
49
51
  __exportStar(require("./ChangeSubscriptionStatusInput"), exports);
50
52
  __exportStar(require("./ChartDataPoint"), exports);
@@ -93,6 +95,7 @@ __exportStar(require("./GetAllOwnedDomains200Response"), exports);
93
95
  __exportStar(require("./GetAllSubscriptions200Response"), exports);
94
96
  __exportStar(require("./GetAllSubscriptions200Response1"), exports);
95
97
  __exportStar(require("./GetBuyerLeads200Response"), exports);
98
+ __exportStar(require("./GetBuyerSubscriptions200Response"), exports);
96
99
  __exportStar(require("./GetBuyerTransfers200Response"), exports);
97
100
  __exportStar(require("./HttpException"), exports);
98
101
  __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.198",
3
+ "version": "0.0.199",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,6 +24,7 @@ import type {
24
24
  CreateBuyerLeadMessageInput,
25
25
  GetAllInvoices200Response,
26
26
  GetBuyerLeads200Response,
27
+ GetBuyerSubscriptions200Response,
27
28
  GetBuyerTransfers200Response,
28
29
  LeadDto,
29
30
  LeadMessageDto,
@@ -54,6 +55,8 @@ import {
54
55
  GetAllInvoices200ResponseToJSON,
55
56
  GetBuyerLeads200ResponseFromJSON,
56
57
  GetBuyerLeads200ResponseToJSON,
58
+ GetBuyerSubscriptions200ResponseFromJSON,
59
+ GetBuyerSubscriptions200ResponseToJSON,
57
60
  GetBuyerTransfers200ResponseFromJSON,
58
61
  GetBuyerTransfers200ResponseToJSON,
59
62
  LeadDtoFromJSON,
@@ -124,6 +127,13 @@ export interface BuyersApiGetBuyerLeadsRequest {
124
127
  sortBy?: Array<string>;
125
128
  }
126
129
 
130
+ export interface BuyersApiGetBuyerSubscriptionsRequest {
131
+ filter?: object;
132
+ page?: number;
133
+ limit?: number;
134
+ sortBy?: Array<string>;
135
+ }
136
+
127
137
  export interface BuyersApiGetBuyerTransfersRequest {
128
138
  filter?: object;
129
139
  page?: number;
@@ -642,6 +652,56 @@ export class BuyersApi extends runtime.BaseAPI {
642
652
  return await response.value();
643
653
  }
644
654
 
655
+ /**
656
+ *
657
+ */
658
+ async getBuyerSubscriptionsRaw(requestParameters: BuyersApiGetBuyerSubscriptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetBuyerSubscriptions200Response>> {
659
+ const queryParameters: any = {};
660
+
661
+ if (requestParameters['filter'] != null) {
662
+ queryParameters['filter'] = requestParameters['filter'];
663
+ }
664
+
665
+ if (requestParameters['page'] != null) {
666
+ queryParameters['page'] = requestParameters['page'];
667
+ }
668
+
669
+ if (requestParameters['limit'] != null) {
670
+ queryParameters['limit'] = requestParameters['limit'];
671
+ }
672
+
673
+ if (requestParameters['sortBy'] != null) {
674
+ queryParameters['sortBy'] = requestParameters['sortBy'];
675
+ }
676
+
677
+ const headerParameters: runtime.HTTPHeaders = {};
678
+
679
+ if (this.configuration && this.configuration.accessToken) {
680
+ const token = this.configuration.accessToken;
681
+ const tokenString = await token("bearer", []);
682
+
683
+ if (tokenString) {
684
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
685
+ }
686
+ }
687
+ const response = await this.request({
688
+ path: `/buyers/private/subscriptions`,
689
+ method: 'GET',
690
+ headers: headerParameters,
691
+ query: queryParameters,
692
+ }, initOverrides);
693
+
694
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetBuyerSubscriptions200ResponseFromJSON(jsonValue));
695
+ }
696
+
697
+ /**
698
+ *
699
+ */
700
+ async getBuyerSubscriptions(requestParameters: BuyersApiGetBuyerSubscriptionsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetBuyerSubscriptions200Response> {
701
+ const response = await this.getBuyerSubscriptionsRaw(requestParameters, initOverrides);
702
+ return await response.value();
703
+ }
704
+
645
705
  /**
646
706
  *
647
707
  */
@@ -0,0 +1,158 @@
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 { BuyerSubscriptionListItemDtoDomainInformation } from './BuyerSubscriptionListItemDtoDomainInformation';
17
+ import {
18
+ BuyerSubscriptionListItemDtoDomainInformationFromJSON,
19
+ BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped,
20
+ BuyerSubscriptionListItemDtoDomainInformationToJSON,
21
+ BuyerSubscriptionListItemDtoDomainInformationToJSONTyped,
22
+ } from './BuyerSubscriptionListItemDtoDomainInformation';
23
+ import type { MoneyDto } from './MoneyDto';
24
+ import {
25
+ MoneyDtoFromJSON,
26
+ MoneyDtoFromJSONTyped,
27
+ MoneyDtoToJSON,
28
+ MoneyDtoToJSONTyped,
29
+ } from './MoneyDto';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface BuyerSubscriptionListItemDto
35
+ */
36
+ export interface BuyerSubscriptionListItemDto {
37
+ /**
38
+ * The subscription ID
39
+ * @type {object}
40
+ * @memberof BuyerSubscriptionListItemDto
41
+ */
42
+ id: object;
43
+ /**
44
+ * The subscription status
45
+ * @type {string}
46
+ * @memberof BuyerSubscriptionListItemDto
47
+ */
48
+ status: BuyerSubscriptionListItemDtoStatusEnum;
49
+ /**
50
+ * The subscription type
51
+ * @type {string}
52
+ * @memberof BuyerSubscriptionListItemDto
53
+ */
54
+ type: BuyerSubscriptionListItemDtoTypeEnum;
55
+ /**
56
+ * The subscription start date
57
+ * @type {Date}
58
+ * @memberof BuyerSubscriptionListItemDto
59
+ */
60
+ startedAt: Date | null;
61
+ /**
62
+ * The subscription creation date
63
+ * @type {Date}
64
+ * @memberof BuyerSubscriptionListItemDto
65
+ */
66
+ createdAt: Date;
67
+ /**
68
+ * The subscription domain information
69
+ * @type {BuyerSubscriptionListItemDtoDomainInformation}
70
+ * @memberof BuyerSubscriptionListItemDto
71
+ */
72
+ domain: BuyerSubscriptionListItemDtoDomainInformation;
73
+ /**
74
+ * The subscription base price
75
+ * @type {MoneyDto}
76
+ * @memberof BuyerSubscriptionListItemDto
77
+ */
78
+ basePrice: MoneyDto | null;
79
+ }
80
+
81
+
82
+ /**
83
+ * @export
84
+ */
85
+ export const BuyerSubscriptionListItemDtoStatusEnum = {
86
+ DRAFT: 'draft',
87
+ ACTIVE: 'active',
88
+ PAUSED: 'paused',
89
+ CANCELLED: 'cancelled',
90
+ FINISHED: 'finished'
91
+ } as const;
92
+ export type BuyerSubscriptionListItemDtoStatusEnum = typeof BuyerSubscriptionListItemDtoStatusEnum[keyof typeof BuyerSubscriptionListItemDtoStatusEnum];
93
+
94
+ /**
95
+ * @export
96
+ */
97
+ export const BuyerSubscriptionListItemDtoTypeEnum = {
98
+ RENT: 'rent',
99
+ LEASE_TO_OWN: 'lease_to_own'
100
+ } as const;
101
+ export type BuyerSubscriptionListItemDtoTypeEnum = typeof BuyerSubscriptionListItemDtoTypeEnum[keyof typeof BuyerSubscriptionListItemDtoTypeEnum];
102
+
103
+
104
+ /**
105
+ * Check if a given object implements the BuyerSubscriptionListItemDto interface.
106
+ */
107
+ export function instanceOfBuyerSubscriptionListItemDto(value: object): value is BuyerSubscriptionListItemDto {
108
+ if (!('id' in value) || value['id'] === undefined) return false;
109
+ if (!('status' in value) || value['status'] === undefined) return false;
110
+ if (!('type' in value) || value['type'] === undefined) return false;
111
+ if (!('startedAt' in value) || value['startedAt'] === undefined) return false;
112
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
113
+ if (!('domain' in value) || value['domain'] === undefined) return false;
114
+ if (!('basePrice' in value) || value['basePrice'] === undefined) return false;
115
+ return true;
116
+ }
117
+
118
+ export function BuyerSubscriptionListItemDtoFromJSON(json: any): BuyerSubscriptionListItemDto {
119
+ return BuyerSubscriptionListItemDtoFromJSONTyped(json, false);
120
+ }
121
+
122
+ export function BuyerSubscriptionListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSubscriptionListItemDto {
123
+ if (json == null) {
124
+ return json;
125
+ }
126
+ return {
127
+
128
+ 'id': json['id'],
129
+ 'status': json['status'],
130
+ 'type': json['type'],
131
+ 'startedAt': (json['startedAt'] == null ? null : new Date(json['startedAt'])),
132
+ 'createdAt': (new Date(json['createdAt'])),
133
+ 'domain': BuyerSubscriptionListItemDtoDomainInformationFromJSON(json['domain']),
134
+ 'basePrice': MoneyDtoFromJSON(json['basePrice']),
135
+ };
136
+ }
137
+
138
+ export function BuyerSubscriptionListItemDtoToJSON(json: any): BuyerSubscriptionListItemDto {
139
+ return BuyerSubscriptionListItemDtoToJSONTyped(json, false);
140
+ }
141
+
142
+ export function BuyerSubscriptionListItemDtoToJSONTyped(value?: BuyerSubscriptionListItemDto | null, ignoreDiscriminator: boolean = false): any {
143
+ if (value == null) {
144
+ return value;
145
+ }
146
+
147
+ return {
148
+
149
+ 'id': value['id'],
150
+ 'status': value['status'],
151
+ 'type': value['type'],
152
+ 'startedAt': (value['startedAt'] == null ? null : (value['startedAt'] as any).toISOString()),
153
+ 'createdAt': ((value['createdAt']).toISOString()),
154
+ 'domain': BuyerSubscriptionListItemDtoDomainInformationToJSON(value['domain']),
155
+ 'basePrice': MoneyDtoToJSON(value['basePrice']),
156
+ };
157
+ }
158
+
@@ -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 BuyerSubscriptionListItemDtoDomainInformation
20
+ */
21
+ export interface BuyerSubscriptionListItemDtoDomainInformation {
22
+ /**
23
+ * The subscription domain TLD
24
+ * @type {string}
25
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
26
+ */
27
+ tld: string;
28
+ /**
29
+ * The subscription domain name
30
+ * @type {string}
31
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
32
+ */
33
+ name: string;
34
+ /**
35
+ * The subscription domain name
36
+ * @type {string}
37
+ * @memberof BuyerSubscriptionListItemDtoDomainInformation
38
+ */
39
+ displayName: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the BuyerSubscriptionListItemDtoDomainInformation interface.
44
+ */
45
+ export function instanceOfBuyerSubscriptionListItemDtoDomainInformation(value: object): value is BuyerSubscriptionListItemDtoDomainInformation {
46
+ if (!('tld' in value) || value['tld'] === undefined) return false;
47
+ if (!('name' in value) || value['name'] === undefined) return false;
48
+ if (!('displayName' in value) || value['displayName'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function BuyerSubscriptionListItemDtoDomainInformationFromJSON(json: any): BuyerSubscriptionListItemDtoDomainInformation {
53
+ return BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function BuyerSubscriptionListItemDtoDomainInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerSubscriptionListItemDtoDomainInformation {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'tld': json['tld'],
63
+ 'name': json['name'],
64
+ 'displayName': json['displayName'],
65
+ };
66
+ }
67
+
68
+ export function BuyerSubscriptionListItemDtoDomainInformationToJSON(json: any): BuyerSubscriptionListItemDtoDomainInformation {
69
+ return BuyerSubscriptionListItemDtoDomainInformationToJSONTyped(json, false);
70
+ }
71
+
72
+ export function BuyerSubscriptionListItemDtoDomainInformationToJSONTyped(value?: BuyerSubscriptionListItemDtoDomainInformation | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'tld': value['tld'],
80
+ 'name': value['name'],
81
+ 'displayName': value['displayName'],
82
+ };
83
+ }
84
+
@@ -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 { BuyerSubscriptionListItemDto } from './BuyerSubscriptionListItemDto';
24
+ import {
25
+ BuyerSubscriptionListItemDtoFromJSON,
26
+ BuyerSubscriptionListItemDtoFromJSONTyped,
27
+ BuyerSubscriptionListItemDtoToJSON,
28
+ BuyerSubscriptionListItemDtoToJSONTyped,
29
+ } from './BuyerSubscriptionListItemDto';
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 GetBuyerSubscriptions200Response
42
+ */
43
+ export interface GetBuyerSubscriptions200Response {
44
+ /**
45
+ *
46
+ * @type {Array<BuyerSubscriptionListItemDto>}
47
+ * @memberof GetBuyerSubscriptions200Response
48
+ */
49
+ data: Array<BuyerSubscriptionListItemDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof GetBuyerSubscriptions200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof GetBuyerSubscriptions200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the GetBuyerSubscriptions200Response interface.
66
+ */
67
+ export function instanceOfGetBuyerSubscriptions200Response(value: object): value is GetBuyerSubscriptions200Response {
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 GetBuyerSubscriptions200ResponseFromJSON(json: any): GetBuyerSubscriptions200Response {
75
+ return GetBuyerSubscriptions200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function GetBuyerSubscriptions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBuyerSubscriptions200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(BuyerSubscriptionListItemDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function GetBuyerSubscriptions200ResponseToJSON(json: any): GetBuyerSubscriptions200Response {
91
+ return GetBuyerSubscriptions200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function GetBuyerSubscriptions200ResponseToJSONTyped(value?: GetBuyerSubscriptions200Response | 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(BuyerSubscriptionListItemDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -29,6 +29,8 @@ export * from './BuyerDto';
29
29
  export * from './BuyerLeadListItemDomainDto';
30
30
  export * from './BuyerLeadListItemDto';
31
31
  export * from './BuyerSecurityUserDto';
32
+ export * from './BuyerSubscriptionListItemDto';
33
+ export * from './BuyerSubscriptionListItemDtoDomainInformation';
32
34
  export * from './ChangeOrderStatusInput';
33
35
  export * from './ChangeSubscriptionStatusInput';
34
36
  export * from './ChartDataPoint';
@@ -77,6 +79,7 @@ export * from './GetAllOwnedDomains200Response';
77
79
  export * from './GetAllSubscriptions200Response';
78
80
  export * from './GetAllSubscriptions200Response1';
79
81
  export * from './GetBuyerLeads200Response';
82
+ export * from './GetBuyerSubscriptions200Response';
80
83
  export * from './GetBuyerTransfers200Response';
81
84
  export * from './HttpException';
82
85
  export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto';