@randock/nameshift-api-client 0.0.380 → 0.0.382

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 +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +60 -1
  4. package/dist/apis/BuyersApi.js +277 -0
  5. package/dist/models/AddSubscriptionDomainRecordInput.d.ts +56 -0
  6. package/dist/models/AddSubscriptionDomainRecordInput.js +65 -0
  7. package/dist/models/BuyerDomainNameserverItemDto.d.ts +32 -0
  8. package/dist/models/BuyerDomainNameserverItemDto.js +51 -0
  9. package/dist/models/BuyerDomainRecordItemDto.d.ts +56 -0
  10. package/dist/models/BuyerDomainRecordItemDto.js +67 -0
  11. package/dist/models/BuyerDomainRecordsDto.d.ts +46 -0
  12. package/dist/models/BuyerDomainRecordsDto.js +61 -0
  13. package/dist/models/BuyerSubscriptionListItemDto.d.ts +6 -0
  14. package/dist/models/BuyerSubscriptionListItemDto.js +4 -0
  15. package/dist/models/DomainSellerDto.d.ts +6 -0
  16. package/dist/models/DomainSellerDto.js +4 -0
  17. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  18. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  19. package/dist/models/LandingPageInput.d.ts +6 -0
  20. package/dist/models/LandingPageInput.js +2 -0
  21. package/dist/models/LandingPageSettingsDto.d.ts +6 -0
  22. package/dist/models/LandingPageSettingsDto.js +4 -0
  23. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  24. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  25. package/dist/models/RemoveSubscriptionDomainRecordInput.d.ts +56 -0
  26. package/dist/models/RemoveSubscriptionDomainRecordInput.js +65 -0
  27. package/dist/models/SubscriptionDomainRecordInput.d.ts +56 -0
  28. package/dist/models/SubscriptionDomainRecordInput.js +65 -0
  29. package/dist/models/UpdateSubscriptionDomainNameserversInput.d.ts +32 -0
  30. package/dist/models/UpdateSubscriptionDomainNameserversInput.js +51 -0
  31. package/dist/models/UpdateSubscriptionDomainRecordInput.d.ts +39 -0
  32. package/dist/models/UpdateSubscriptionDomainRecordInput.js +56 -0
  33. package/dist/models/index.d.ts +8 -0
  34. package/dist/models/index.js +8 -0
  35. package/package.json +1 -1
  36. package/src/apis/BuyersApi.ts +280 -0
  37. package/src/models/AddSubscriptionDomainRecordInput.ts +101 -0
  38. package/src/models/BuyerDomainNameserverItemDto.ts +66 -0
  39. package/src/models/BuyerDomainRecordItemDto.ts +102 -0
  40. package/src/models/BuyerDomainRecordsDto.ts +99 -0
  41. package/src/models/BuyerSubscriptionListItemDto.ts +9 -0
  42. package/src/models/DomainSellerDto.ts +9 -0
  43. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  44. package/src/models/LandingPageInput.ts +8 -0
  45. package/src/models/LandingPageSettingsDto.ts +9 -0
  46. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  47. package/src/models/RemoveSubscriptionDomainRecordInput.ts +101 -0
  48. package/src/models/SubscriptionDomainRecordInput.ts +101 -0
  49. package/src/models/UpdateSubscriptionDomainNameserversInput.ts +66 -0
  50. package/src/models/UpdateSubscriptionDomainRecordInput.ts +83 -0
  51. package/src/models/index.ts +8 -0
@@ -0,0 +1,65 @@
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.instanceOfSubscriptionDomainRecordInput = instanceOfSubscriptionDomainRecordInput;
17
+ exports.SubscriptionDomainRecordInputFromJSON = SubscriptionDomainRecordInputFromJSON;
18
+ exports.SubscriptionDomainRecordInputFromJSONTyped = SubscriptionDomainRecordInputFromJSONTyped;
19
+ exports.SubscriptionDomainRecordInputToJSON = SubscriptionDomainRecordInputToJSON;
20
+ exports.SubscriptionDomainRecordInputToJSONTyped = SubscriptionDomainRecordInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SubscriptionDomainRecordInput interface.
23
+ */
24
+ function instanceOfSubscriptionDomainRecordInput(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ if (!('value' in value) || value['value'] === undefined)
30
+ return false;
31
+ if (!('ttl' in value) || value['ttl'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SubscriptionDomainRecordInputFromJSON(json) {
36
+ return SubscriptionDomainRecordInputFromJSONTyped(json, false);
37
+ }
38
+ function SubscriptionDomainRecordInputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'name': json['name'],
44
+ 'type': json['type'],
45
+ 'value': json['value'],
46
+ 'ttl': json['ttl'],
47
+ 'priority': json['priority'] == null ? undefined : json['priority'],
48
+ };
49
+ }
50
+ function SubscriptionDomainRecordInputToJSON(json) {
51
+ return SubscriptionDomainRecordInputToJSONTyped(json, false);
52
+ }
53
+ function SubscriptionDomainRecordInputToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'name': value['name'],
60
+ 'type': value['type'],
61
+ 'value': value['value'],
62
+ 'ttl': value['ttl'],
63
+ 'priority': value['priority'],
64
+ };
65
+ }
@@ -0,0 +1,32 @@
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 UpdateSubscriptionDomainNameserversInput
16
+ */
17
+ export interface UpdateSubscriptionDomainNameserversInput {
18
+ /**
19
+ * List of nameserver hostnames to set for the domain
20
+ * @type {Array<string>}
21
+ * @memberof UpdateSubscriptionDomainNameserversInput
22
+ */
23
+ nameservers: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateSubscriptionDomainNameserversInput interface.
27
+ */
28
+ export declare function instanceOfUpdateSubscriptionDomainNameserversInput(value: object): value is UpdateSubscriptionDomainNameserversInput;
29
+ export declare function UpdateSubscriptionDomainNameserversInputFromJSON(json: any): UpdateSubscriptionDomainNameserversInput;
30
+ export declare function UpdateSubscriptionDomainNameserversInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionDomainNameserversInput;
31
+ export declare function UpdateSubscriptionDomainNameserversInputToJSON(json: any): UpdateSubscriptionDomainNameserversInput;
32
+ export declare function UpdateSubscriptionDomainNameserversInputToJSONTyped(value?: UpdateSubscriptionDomainNameserversInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfUpdateSubscriptionDomainNameserversInput = instanceOfUpdateSubscriptionDomainNameserversInput;
17
+ exports.UpdateSubscriptionDomainNameserversInputFromJSON = UpdateSubscriptionDomainNameserversInputFromJSON;
18
+ exports.UpdateSubscriptionDomainNameserversInputFromJSONTyped = UpdateSubscriptionDomainNameserversInputFromJSONTyped;
19
+ exports.UpdateSubscriptionDomainNameserversInputToJSON = UpdateSubscriptionDomainNameserversInputToJSON;
20
+ exports.UpdateSubscriptionDomainNameserversInputToJSONTyped = UpdateSubscriptionDomainNameserversInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateSubscriptionDomainNameserversInput interface.
23
+ */
24
+ function instanceOfUpdateSubscriptionDomainNameserversInput(value) {
25
+ if (!('nameservers' in value) || value['nameservers'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UpdateSubscriptionDomainNameserversInputFromJSON(json) {
30
+ return UpdateSubscriptionDomainNameserversInputFromJSONTyped(json, false);
31
+ }
32
+ function UpdateSubscriptionDomainNameserversInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'nameservers': json['nameservers'],
38
+ };
39
+ }
40
+ function UpdateSubscriptionDomainNameserversInputToJSON(json) {
41
+ return UpdateSubscriptionDomainNameserversInputToJSONTyped(json, false);
42
+ }
43
+ function UpdateSubscriptionDomainNameserversInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'nameservers': value['nameservers'],
50
+ };
51
+ }
@@ -0,0 +1,39 @@
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 { SubscriptionDomainRecordInput } from './SubscriptionDomainRecordInput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateSubscriptionDomainRecordInput
17
+ */
18
+ export interface UpdateSubscriptionDomainRecordInput {
19
+ /**
20
+ * The existing record to be updated (identifies the record)
21
+ * @type {SubscriptionDomainRecordInput}
22
+ * @memberof UpdateSubscriptionDomainRecordInput
23
+ */
24
+ original: SubscriptionDomainRecordInput;
25
+ /**
26
+ * The new record values
27
+ * @type {SubscriptionDomainRecordInput}
28
+ * @memberof UpdateSubscriptionDomainRecordInput
29
+ */
30
+ record: SubscriptionDomainRecordInput;
31
+ }
32
+ /**
33
+ * Check if a given object implements the UpdateSubscriptionDomainRecordInput interface.
34
+ */
35
+ export declare function instanceOfUpdateSubscriptionDomainRecordInput(value: object): value is UpdateSubscriptionDomainRecordInput;
36
+ export declare function UpdateSubscriptionDomainRecordInputFromJSON(json: any): UpdateSubscriptionDomainRecordInput;
37
+ export declare function UpdateSubscriptionDomainRecordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionDomainRecordInput;
38
+ export declare function UpdateSubscriptionDomainRecordInputToJSON(json: any): UpdateSubscriptionDomainRecordInput;
39
+ export declare function UpdateSubscriptionDomainRecordInputToJSONTyped(value?: UpdateSubscriptionDomainRecordInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfUpdateSubscriptionDomainRecordInput = instanceOfUpdateSubscriptionDomainRecordInput;
17
+ exports.UpdateSubscriptionDomainRecordInputFromJSON = UpdateSubscriptionDomainRecordInputFromJSON;
18
+ exports.UpdateSubscriptionDomainRecordInputFromJSONTyped = UpdateSubscriptionDomainRecordInputFromJSONTyped;
19
+ exports.UpdateSubscriptionDomainRecordInputToJSON = UpdateSubscriptionDomainRecordInputToJSON;
20
+ exports.UpdateSubscriptionDomainRecordInputToJSONTyped = UpdateSubscriptionDomainRecordInputToJSONTyped;
21
+ var SubscriptionDomainRecordInput_1 = require("./SubscriptionDomainRecordInput");
22
+ /**
23
+ * Check if a given object implements the UpdateSubscriptionDomainRecordInput interface.
24
+ */
25
+ function instanceOfUpdateSubscriptionDomainRecordInput(value) {
26
+ if (!('original' in value) || value['original'] === undefined)
27
+ return false;
28
+ if (!('record' in value) || value['record'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function UpdateSubscriptionDomainRecordInputFromJSON(json) {
33
+ return UpdateSubscriptionDomainRecordInputFromJSONTyped(json, false);
34
+ }
35
+ function UpdateSubscriptionDomainRecordInputFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'original': (0, SubscriptionDomainRecordInput_1.SubscriptionDomainRecordInputFromJSON)(json['original']),
41
+ 'record': (0, SubscriptionDomainRecordInput_1.SubscriptionDomainRecordInputFromJSON)(json['record']),
42
+ };
43
+ }
44
+ function UpdateSubscriptionDomainRecordInputToJSON(json) {
45
+ return UpdateSubscriptionDomainRecordInputToJSONTyped(json, false);
46
+ }
47
+ function UpdateSubscriptionDomainRecordInputToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'original': (0, SubscriptionDomainRecordInput_1.SubscriptionDomainRecordInputToJSON)(value['original']),
54
+ 'record': (0, SubscriptionDomainRecordInput_1.SubscriptionDomainRecordInputToJSON)(value['record']),
55
+ };
56
+ }
@@ -30,6 +30,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
30
30
  export * from './AccountSettingsRentConfigurationDto';
31
31
  export * from './AccountSettingsSidnDto';
32
32
  export * from './AccountsStatsDto';
33
+ export * from './AddSubscriptionDomainRecordInput';
33
34
  export * from './AddressDto';
34
35
  export * from './AdminAccountCommissionByDateRangeInput';
35
36
  export * from './AdminAccountLoginDto';
@@ -89,6 +90,9 @@ export * from './BuyerAuctionDetailDtoDomain';
89
90
  export * from './BuyerAuctionListItemDto';
90
91
  export * from './BuyerAuctionListItemDtoDomainInformation';
91
92
  export * from './BuyerAuctionListItemDtoSellerAccount';
93
+ export * from './BuyerDomainNameserverItemDto';
94
+ export * from './BuyerDomainRecordItemDto';
95
+ export * from './BuyerDomainRecordsDto';
92
96
  export * from './BuyerDomainTransferAuthCodeDto';
93
97
  export * from './BuyerDomainTransferListItemDomainDto';
94
98
  export * from './BuyerDomainTransferListItemDto';
@@ -320,6 +324,7 @@ export * from './RegisterAuctionBuyerPhoneInput';
320
324
  export * from './RegisterInput';
321
325
  export * from './RelatedDomainsDto';
322
326
  export * from './RelatedSellerDomain';
327
+ export * from './RemoveSubscriptionDomainRecordInput';
323
328
  export * from './RentConfigurationDto';
324
329
  export * from './RentConfigurationInput';
325
330
  export * from './RentConfigurationPresetsDto';
@@ -378,6 +383,7 @@ export * from './SubscriptionDetailsDomainSellerDto';
378
383
  export * from './SubscriptionDetailsDomainSellerUserDto';
379
384
  export * from './SubscriptionDetailsDto';
380
385
  export * from './SubscriptionDomainDto';
386
+ export * from './SubscriptionDomainRecordInput';
381
387
  export * from './SubscriptionDto';
382
388
  export * from './SubscriptionLeaseToOwnConfigurationDto';
383
389
  export * from './SubscriptionListItemBillingPeriodicityDto';
@@ -410,6 +416,8 @@ export * from './UpdateLeaseToOwnConfigurationDto';
410
416
  export * from './UpdateOrderInput';
411
417
  export * from './UpdateRentConfigurationDto';
412
418
  export * from './UpdateSubscriptionBillingPeriodicityInput';
419
+ export * from './UpdateSubscriptionDomainNameserversInput';
420
+ export * from './UpdateSubscriptionDomainRecordInput';
413
421
  export * from './UpdateSubscriptionInput';
414
422
  export * from './UpdateTaskMuteStatusForBuyerInput';
415
423
  export * from './UpdateTaskMuteStatusInput';
@@ -48,6 +48,7 @@ __exportStar(require("./AccountSettingsLeaseToOwnConfigurationDto"), exports);
48
48
  __exportStar(require("./AccountSettingsRentConfigurationDto"), exports);
49
49
  __exportStar(require("./AccountSettingsSidnDto"), exports);
50
50
  __exportStar(require("./AccountsStatsDto"), exports);
51
+ __exportStar(require("./AddSubscriptionDomainRecordInput"), exports);
51
52
  __exportStar(require("./AddressDto"), exports);
52
53
  __exportStar(require("./AdminAccountCommissionByDateRangeInput"), exports);
53
54
  __exportStar(require("./AdminAccountLoginDto"), exports);
@@ -107,6 +108,9 @@ __exportStar(require("./BuyerAuctionDetailDtoDomain"), exports);
107
108
  __exportStar(require("./BuyerAuctionListItemDto"), exports);
108
109
  __exportStar(require("./BuyerAuctionListItemDtoDomainInformation"), exports);
109
110
  __exportStar(require("./BuyerAuctionListItemDtoSellerAccount"), exports);
111
+ __exportStar(require("./BuyerDomainNameserverItemDto"), exports);
112
+ __exportStar(require("./BuyerDomainRecordItemDto"), exports);
113
+ __exportStar(require("./BuyerDomainRecordsDto"), exports);
110
114
  __exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
111
115
  __exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
112
116
  __exportStar(require("./BuyerDomainTransferListItemDto"), exports);
@@ -338,6 +342,7 @@ __exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
338
342
  __exportStar(require("./RegisterInput"), exports);
339
343
  __exportStar(require("./RelatedDomainsDto"), exports);
340
344
  __exportStar(require("./RelatedSellerDomain"), exports);
345
+ __exportStar(require("./RemoveSubscriptionDomainRecordInput"), exports);
341
346
  __exportStar(require("./RentConfigurationDto"), exports);
342
347
  __exportStar(require("./RentConfigurationInput"), exports);
343
348
  __exportStar(require("./RentConfigurationPresetsDto"), exports);
@@ -396,6 +401,7 @@ __exportStar(require("./SubscriptionDetailsDomainSellerDto"), exports);
396
401
  __exportStar(require("./SubscriptionDetailsDomainSellerUserDto"), exports);
397
402
  __exportStar(require("./SubscriptionDetailsDto"), exports);
398
403
  __exportStar(require("./SubscriptionDomainDto"), exports);
404
+ __exportStar(require("./SubscriptionDomainRecordInput"), exports);
399
405
  __exportStar(require("./SubscriptionDto"), exports);
400
406
  __exportStar(require("./SubscriptionLeaseToOwnConfigurationDto"), exports);
401
407
  __exportStar(require("./SubscriptionListItemBillingPeriodicityDto"), exports);
@@ -428,6 +434,8 @@ __exportStar(require("./UpdateLeaseToOwnConfigurationDto"), exports);
428
434
  __exportStar(require("./UpdateOrderInput"), exports);
429
435
  __exportStar(require("./UpdateRentConfigurationDto"), exports);
430
436
  __exportStar(require("./UpdateSubscriptionBillingPeriodicityInput"), exports);
437
+ __exportStar(require("./UpdateSubscriptionDomainNameserversInput"), exports);
438
+ __exportStar(require("./UpdateSubscriptionDomainRecordInput"), exports);
431
439
  __exportStar(require("./UpdateSubscriptionInput"), exports);
432
440
  __exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
433
441
  __exportStar(require("./UpdateTaskMuteStatusInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.380",
3
+ "version": "0.0.382",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {