@randock/nameshift-api-client 0.0.336 → 0.0.338

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 (51) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AuctionsApi.d.ts +32 -0
  4. package/dist/apis/AuctionsApi.js +143 -0
  5. package/dist/apis/BuyersApi.d.ts +23 -1
  6. package/dist/apis/BuyersApi.js +117 -4
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AuctionBidDto.d.ts +6 -0
  10. package/dist/models/AuctionBidDto.js +4 -0
  11. package/dist/models/AuctionListItemDto.d.ts +8 -0
  12. package/dist/models/AuctionListItemDto.js +6 -0
  13. package/dist/models/BuyerAccessTokenDto.d.ts +32 -0
  14. package/dist/models/BuyerAccessTokenDto.js +51 -0
  15. package/dist/models/BuyerAuctionListItemDto.d.ts +125 -0
  16. package/dist/models/BuyerAuctionListItemDto.js +118 -0
  17. package/dist/models/BuyerAuctionListItemDtoDomainInformation.d.ts +44 -0
  18. package/dist/models/BuyerAuctionListItemDtoDomainInformation.js +59 -0
  19. package/dist/models/BuyerAuctionListItemDtoSellerAccount.d.ts +50 -0
  20. package/dist/models/BuyerAuctionListItemDtoSellerAccount.js +63 -0
  21. package/dist/models/BuyerSessionDto.d.ts +6 -0
  22. package/dist/models/BuyerSessionDto.js +4 -0
  23. package/dist/models/GetAllAuctions200Response1.d.ts +47 -0
  24. package/dist/models/GetAllAuctions200Response1.js +62 -0
  25. package/dist/models/GetBuyerAuctions200Response.d.ts +47 -0
  26. package/dist/models/GetBuyerAuctions200Response.js +62 -0
  27. package/dist/models/SellerAuctionListItemDto.d.ts +119 -0
  28. package/dist/models/SellerAuctionListItemDto.js +114 -0
  29. package/dist/models/SellerAuctionListItemDtoDomainInformation.d.ts +44 -0
  30. package/dist/models/SellerAuctionListItemDtoDomainInformation.js +59 -0
  31. package/dist/models/SellerAuctionListItemDtoSellerAccount.d.ts +50 -0
  32. package/dist/models/SellerAuctionListItemDtoSellerAccount.js +63 -0
  33. package/dist/models/index.d.ts +9 -0
  34. package/dist/models/index.js +9 -0
  35. package/package.json +1 -1
  36. package/src/apis/AuctionsApi.ts +90 -0
  37. package/src/apis/BuyersApi.ts +101 -4
  38. package/src/apis/index.ts +1 -0
  39. package/src/models/AuctionBidDto.ts +9 -0
  40. package/src/models/AuctionListItemDto.ts +17 -0
  41. package/src/models/BuyerAccessTokenDto.ts +66 -0
  42. package/src/models/BuyerAuctionListItemDto.ts +226 -0
  43. package/src/models/BuyerAuctionListItemDtoDomainInformation.ts +84 -0
  44. package/src/models/BuyerAuctionListItemDtoSellerAccount.ts +93 -0
  45. package/src/models/BuyerSessionDto.ts +9 -0
  46. package/src/models/GetAllAuctions200Response1.ts +106 -0
  47. package/src/models/GetBuyerAuctions200Response.ts +106 -0
  48. package/src/models/SellerAuctionListItemDto.ts +217 -0
  49. package/src/models/SellerAuctionListItemDtoDomainInformation.ts +84 -0
  50. package/src/models/SellerAuctionListItemDtoSellerAccount.ts +93 -0
  51. package/src/models/index.ts +9 -0
@@ -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 SellerAuctionListItemDtoDomainInformation
20
+ */
21
+ export interface SellerAuctionListItemDtoDomainInformation {
22
+ /**
23
+ * Domain TLD
24
+ * @type {string}
25
+ * @memberof SellerAuctionListItemDtoDomainInformation
26
+ */
27
+ tld: string;
28
+ /**
29
+ * Domain name
30
+ * @type {string}
31
+ * @memberof SellerAuctionListItemDtoDomainInformation
32
+ */
33
+ name: string;
34
+ /**
35
+ * Domain display name
36
+ * @type {string}
37
+ * @memberof SellerAuctionListItemDtoDomainInformation
38
+ */
39
+ displayName: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the SellerAuctionListItemDtoDomainInformation interface.
44
+ */
45
+ export function instanceOfSellerAuctionListItemDtoDomainInformation(value: object): value is SellerAuctionListItemDtoDomainInformation {
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 SellerAuctionListItemDtoDomainInformationFromJSON(json: any): SellerAuctionListItemDtoDomainInformation {
53
+ return SellerAuctionListItemDtoDomainInformationFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function SellerAuctionListItemDtoDomainInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAuctionListItemDtoDomainInformation {
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 SellerAuctionListItemDtoDomainInformationToJSON(json: any): SellerAuctionListItemDtoDomainInformation {
69
+ return SellerAuctionListItemDtoDomainInformationToJSONTyped(json, false);
70
+ }
71
+
72
+ export function SellerAuctionListItemDtoDomainInformationToJSONTyped(value?: SellerAuctionListItemDtoDomainInformation | 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,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 SellerAuctionListItemDtoSellerAccount
20
+ */
21
+ export interface SellerAuctionListItemDtoSellerAccount {
22
+ /**
23
+ * Account ID
24
+ * @type {string}
25
+ * @memberof SellerAuctionListItemDtoSellerAccount
26
+ */
27
+ accountId: string;
28
+ /**
29
+ * Account identifier
30
+ * @type {string}
31
+ * @memberof SellerAuctionListItemDtoSellerAccount
32
+ */
33
+ identifier: string;
34
+ /**
35
+ * Account name
36
+ * @type {string}
37
+ * @memberof SellerAuctionListItemDtoSellerAccount
38
+ */
39
+ name: string | null;
40
+ /**
41
+ * Indicates if account is a business or not
42
+ * @type {boolean}
43
+ * @memberof SellerAuctionListItemDtoSellerAccount
44
+ */
45
+ isBusiness: boolean | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SellerAuctionListItemDtoSellerAccount interface.
50
+ */
51
+ export function instanceOfSellerAuctionListItemDtoSellerAccount(value: object): value is SellerAuctionListItemDtoSellerAccount {
52
+ if (!('accountId' in value) || value['accountId'] === undefined) return false;
53
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
54
+ if (!('name' in value) || value['name'] === undefined) return false;
55
+ if (!('isBusiness' in value) || value['isBusiness'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function SellerAuctionListItemDtoSellerAccountFromJSON(json: any): SellerAuctionListItemDtoSellerAccount {
60
+ return SellerAuctionListItemDtoSellerAccountFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function SellerAuctionListItemDtoSellerAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerAuctionListItemDtoSellerAccount {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'accountId': json['accountId'],
70
+ 'identifier': json['identifier'],
71
+ 'name': json['name'],
72
+ 'isBusiness': json['isBusiness'],
73
+ };
74
+ }
75
+
76
+ export function SellerAuctionListItemDtoSellerAccountToJSON(json: any): SellerAuctionListItemDtoSellerAccount {
77
+ return SellerAuctionListItemDtoSellerAccountToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SellerAuctionListItemDtoSellerAccountToJSONTyped(value?: SellerAuctionListItemDtoSellerAccount | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'accountId': value['accountId'],
88
+ 'identifier': value['identifier'],
89
+ 'name': value['name'],
90
+ 'isBusiness': value['isBusiness'],
91
+ };
92
+ }
93
+
@@ -61,6 +61,10 @@ export * from './BillingInformationDto';
61
61
  export * from './BulkMarkBuyerNotificationsAsReadInputDto';
62
62
  export * from './BulkMarkNotificationsAsReadInputDto';
63
63
  export * from './BulkUpdateDomainsWithFiltersInput';
64
+ export * from './BuyerAccessTokenDto';
65
+ export * from './BuyerAuctionListItemDto';
66
+ export * from './BuyerAuctionListItemDtoDomainInformation';
67
+ export * from './BuyerAuctionListItemDtoSellerAccount';
64
68
  export * from './BuyerDomainTransferAuthCodeDto';
65
69
  export * from './BuyerDomainTransferListItemDomainDto';
66
70
  export * from './BuyerDomainTransferListItemDto';
@@ -137,6 +141,7 @@ export * from './EppBatchUpdateInput';
137
141
  export * from './ForgotPasswordRequestInput';
138
142
  export * from './GetAllAffiliateCommissions200Response';
139
143
  export * from './GetAllAuctions200Response';
144
+ export * from './GetAllAuctions200Response1';
140
145
  export * from './GetAllDomainTransfers200Response';
141
146
  export * from './GetAllInvoices200Response';
142
147
  export * from './GetAllOrders200Response';
@@ -144,6 +149,7 @@ export * from './GetAllOwnedDomains200Response';
144
149
  export * from './GetAllReferrals200Response';
145
150
  export * from './GetAllSubscriptions200Response';
146
151
  export * from './GetAllSubscriptions200Response1';
152
+ export * from './GetBuyerAuctions200Response';
147
153
  export * from './GetBuyerInvoices200Response';
148
154
  export * from './GetBuyerLeads200Response';
149
155
  export * from './GetBuyerSubscriptions200Response';
@@ -249,6 +255,9 @@ export * from './RequestAccessTokenInput';
249
255
  export * from './RequestEmailOtpInput';
250
256
  export * from './SellerAccountReferralListItemDto';
251
257
  export * from './SellerAffiliateCommissionDto';
258
+ export * from './SellerAuctionListItemDto';
259
+ export * from './SellerAuctionListItemDtoDomainInformation';
260
+ export * from './SellerAuctionListItemDtoSellerAccount';
252
261
  export * from './SellerDomainAffiliateCommissionDto';
253
262
  export * from './SellerDomainAffiliateCommissionDtoDomain';
254
263
  export * from './SellerDomainTransferAuthCodeDto';