@randock/nameshift-api-client 0.0.479 → 0.0.481

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.
@@ -15,33 +15,33 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
17
17
  * @export
18
- * @interface ListRelatedLeads200Response
18
+ * @interface ListAdminRelatedLeads200Response
19
19
  */
20
- export interface ListRelatedLeads200Response {
20
+ export interface ListAdminRelatedLeads200Response {
21
21
  /**
22
22
  *
23
23
  * @type {Array<RelatedLeadDto>}
24
- * @memberof ListRelatedLeads200Response
24
+ * @memberof ListAdminRelatedLeads200Response
25
25
  */
26
26
  data: Array<RelatedLeadDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
30
- * @memberof ListRelatedLeads200Response
30
+ * @memberof ListAdminRelatedLeads200Response
31
31
  */
32
32
  meta: PaginateResponseMeta;
33
33
  /**
34
34
  *
35
35
  * @type {PaginateResponseLinks}
36
- * @memberof ListRelatedLeads200Response
36
+ * @memberof ListAdminRelatedLeads200Response
37
37
  */
38
38
  links: PaginateResponseLinks;
39
39
  }
40
40
  /**
41
- * Check if a given object implements the ListRelatedLeads200Response interface.
41
+ * Check if a given object implements the ListAdminRelatedLeads200Response interface.
42
42
  */
43
- export declare function instanceOfListRelatedLeads200Response(value: object): value is ListRelatedLeads200Response;
44
- export declare function ListRelatedLeads200ResponseFromJSON(json: any): ListRelatedLeads200Response;
45
- export declare function ListRelatedLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListRelatedLeads200Response;
46
- export declare function ListRelatedLeads200ResponseToJSON(json: any): ListRelatedLeads200Response;
47
- export declare function ListRelatedLeads200ResponseToJSONTyped(value?: ListRelatedLeads200Response | null, ignoreDiscriminator?: boolean): any;
43
+ export declare function instanceOfListAdminRelatedLeads200Response(value: object): value is ListAdminRelatedLeads200Response;
44
+ export declare function ListAdminRelatedLeads200ResponseFromJSON(json: any): ListAdminRelatedLeads200Response;
45
+ export declare function ListAdminRelatedLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAdminRelatedLeads200Response;
46
+ export declare function ListAdminRelatedLeads200ResponseToJSON(json: any): ListAdminRelatedLeads200Response;
47
+ export declare function ListAdminRelatedLeads200ResponseToJSONTyped(value?: ListAdminRelatedLeads200Response | null, ignoreDiscriminator?: boolean): any;
@@ -13,18 +13,18 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfListRelatedLeads200Response = instanceOfListRelatedLeads200Response;
17
- exports.ListRelatedLeads200ResponseFromJSON = ListRelatedLeads200ResponseFromJSON;
18
- exports.ListRelatedLeads200ResponseFromJSONTyped = ListRelatedLeads200ResponseFromJSONTyped;
19
- exports.ListRelatedLeads200ResponseToJSON = ListRelatedLeads200ResponseToJSON;
20
- exports.ListRelatedLeads200ResponseToJSONTyped = ListRelatedLeads200ResponseToJSONTyped;
16
+ exports.instanceOfListAdminRelatedLeads200Response = instanceOfListAdminRelatedLeads200Response;
17
+ exports.ListAdminRelatedLeads200ResponseFromJSON = ListAdminRelatedLeads200ResponseFromJSON;
18
+ exports.ListAdminRelatedLeads200ResponseFromJSONTyped = ListAdminRelatedLeads200ResponseFromJSONTyped;
19
+ exports.ListAdminRelatedLeads200ResponseToJSON = ListAdminRelatedLeads200ResponseToJSON;
20
+ exports.ListAdminRelatedLeads200ResponseToJSONTyped = ListAdminRelatedLeads200ResponseToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
22
  var RelatedLeadDto_1 = require("./RelatedLeadDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
- * Check if a given object implements the ListRelatedLeads200Response interface.
25
+ * Check if a given object implements the ListAdminRelatedLeads200Response interface.
26
26
  */
27
- function instanceOfListRelatedLeads200Response(value) {
27
+ function instanceOfListAdminRelatedLeads200Response(value) {
28
28
  if (!('data' in value) || value['data'] === undefined)
29
29
  return false;
30
30
  if (!('meta' in value) || value['meta'] === undefined)
@@ -33,10 +33,10 @@ function instanceOfListRelatedLeads200Response(value) {
33
33
  return false;
34
34
  return true;
35
35
  }
36
- function ListRelatedLeads200ResponseFromJSON(json) {
37
- return ListRelatedLeads200ResponseFromJSONTyped(json, false);
36
+ function ListAdminRelatedLeads200ResponseFromJSON(json) {
37
+ return ListAdminRelatedLeads200ResponseFromJSONTyped(json, false);
38
38
  }
39
- function ListRelatedLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ function ListAdminRelatedLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
40
  if (json == null) {
41
41
  return json;
42
42
  }
@@ -46,10 +46,10 @@ function ListRelatedLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
47
  };
48
48
  }
49
- function ListRelatedLeads200ResponseToJSON(json) {
50
- return ListRelatedLeads200ResponseToJSONTyped(json, false);
49
+ function ListAdminRelatedLeads200ResponseToJSON(json) {
50
+ return ListAdminRelatedLeads200ResponseToJSONTyped(json, false);
51
51
  }
52
- function ListRelatedLeads200ResponseToJSONTyped(value, ignoreDiscriminator) {
52
+ function ListAdminRelatedLeads200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
53
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
54
  if (value == null) {
55
55
  return value;
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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 NotificationsUnsubscribeResultDto
16
+ */
17
+ export interface NotificationsUnsubscribeResultDto {
18
+ /**
19
+ * What was unsubscribed: the notifications of one task, of one lead, or one notification setting.
20
+ * @type {string}
21
+ * @memberof NotificationsUnsubscribeResultDto
22
+ */
23
+ scope: NotificationsUnsubscribeResultDtoScopeEnum;
24
+ /**
25
+ * The notification setting that was disabled, when the scope is a setting.
26
+ * @type {string}
27
+ * @memberof NotificationsUnsubscribeResultDto
28
+ */
29
+ setting: NotificationsUnsubscribeResultDtoSettingEnum | null;
30
+ /**
31
+ * Whether the unsubscription was already in place before this request.
32
+ * @type {boolean}
33
+ * @memberof NotificationsUnsubscribeResultDto
34
+ */
35
+ alreadyUnsubscribed: boolean;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const NotificationsUnsubscribeResultDtoScopeEnum: {
41
+ readonly TASK: "task";
42
+ readonly LEAD: "lead";
43
+ readonly SETTING: "setting";
44
+ };
45
+ export type NotificationsUnsubscribeResultDtoScopeEnum = typeof NotificationsUnsubscribeResultDtoScopeEnum[keyof typeof NotificationsUnsubscribeResultDtoScopeEnum];
46
+ /**
47
+ * @export
48
+ */
49
+ export declare const NotificationsUnsubscribeResultDtoSettingEnum: {
50
+ readonly DOMAIN_SOLD: "domainSold";
51
+ readonly DOMAIN_TRANSFER_COMPLETED: "domainTransferCompleted";
52
+ readonly LEAD_CLOSED: "leadClosed";
53
+ readonly INVOICES: "invoices";
54
+ readonly PAYOUTS: "payouts";
55
+ readonly LEAD_TASKS: "leadTasks";
56
+ readonly DOMAIN_TRANSFER_TASKS: "domainTransferTasks";
57
+ readonly CHALLENGE_REWARD_TASKS: "challengeRewardTasks";
58
+ readonly LEAD_NEW_OFFER: "leadNewOffer";
59
+ readonly LEAD_NEW_MESSAGE: "leadNewMessage";
60
+ readonly LEAD_STATUS_CHANGED: "leadStatusChanged";
61
+ };
62
+ export type NotificationsUnsubscribeResultDtoSettingEnum = typeof NotificationsUnsubscribeResultDtoSettingEnum[keyof typeof NotificationsUnsubscribeResultDtoSettingEnum];
63
+ /**
64
+ * Check if a given object implements the NotificationsUnsubscribeResultDto interface.
65
+ */
66
+ export declare function instanceOfNotificationsUnsubscribeResultDto(value: object): value is NotificationsUnsubscribeResultDto;
67
+ export declare function NotificationsUnsubscribeResultDtoFromJSON(json: any): NotificationsUnsubscribeResultDto;
68
+ export declare function NotificationsUnsubscribeResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationsUnsubscribeResultDto;
69
+ export declare function NotificationsUnsubscribeResultDtoToJSON(json: any): NotificationsUnsubscribeResultDto;
70
+ export declare function NotificationsUnsubscribeResultDtoToJSONTyped(value?: NotificationsUnsubscribeResultDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.NotificationsUnsubscribeResultDtoSettingEnum = exports.NotificationsUnsubscribeResultDtoScopeEnum = void 0;
17
+ exports.instanceOfNotificationsUnsubscribeResultDto = instanceOfNotificationsUnsubscribeResultDto;
18
+ exports.NotificationsUnsubscribeResultDtoFromJSON = NotificationsUnsubscribeResultDtoFromJSON;
19
+ exports.NotificationsUnsubscribeResultDtoFromJSONTyped = NotificationsUnsubscribeResultDtoFromJSONTyped;
20
+ exports.NotificationsUnsubscribeResultDtoToJSON = NotificationsUnsubscribeResultDtoToJSON;
21
+ exports.NotificationsUnsubscribeResultDtoToJSONTyped = NotificationsUnsubscribeResultDtoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NotificationsUnsubscribeResultDtoScopeEnum = {
26
+ TASK: 'task',
27
+ LEAD: 'lead',
28
+ SETTING: 'setting'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.NotificationsUnsubscribeResultDtoSettingEnum = {
34
+ DOMAIN_SOLD: 'domainSold',
35
+ DOMAIN_TRANSFER_COMPLETED: 'domainTransferCompleted',
36
+ LEAD_CLOSED: 'leadClosed',
37
+ INVOICES: 'invoices',
38
+ PAYOUTS: 'payouts',
39
+ LEAD_TASKS: 'leadTasks',
40
+ DOMAIN_TRANSFER_TASKS: 'domainTransferTasks',
41
+ CHALLENGE_REWARD_TASKS: 'challengeRewardTasks',
42
+ LEAD_NEW_OFFER: 'leadNewOffer',
43
+ LEAD_NEW_MESSAGE: 'leadNewMessage',
44
+ LEAD_STATUS_CHANGED: 'leadStatusChanged'
45
+ };
46
+ /**
47
+ * Check if a given object implements the NotificationsUnsubscribeResultDto interface.
48
+ */
49
+ function instanceOfNotificationsUnsubscribeResultDto(value) {
50
+ if (!('scope' in value) || value['scope'] === undefined)
51
+ return false;
52
+ if (!('setting' in value) || value['setting'] === undefined)
53
+ return false;
54
+ if (!('alreadyUnsubscribed' in value) || value['alreadyUnsubscribed'] === undefined)
55
+ return false;
56
+ return true;
57
+ }
58
+ function NotificationsUnsubscribeResultDtoFromJSON(json) {
59
+ return NotificationsUnsubscribeResultDtoFromJSONTyped(json, false);
60
+ }
61
+ function NotificationsUnsubscribeResultDtoFromJSONTyped(json, ignoreDiscriminator) {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+ 'scope': json['scope'],
67
+ 'setting': json['setting'],
68
+ 'alreadyUnsubscribed': json['alreadyUnsubscribed'],
69
+ };
70
+ }
71
+ function NotificationsUnsubscribeResultDtoToJSON(json) {
72
+ return NotificationsUnsubscribeResultDtoToJSONTyped(json, false);
73
+ }
74
+ function NotificationsUnsubscribeResultDtoToJSONTyped(value, ignoreDiscriminator) {
75
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'scope': value['scope'],
81
+ 'setting': value['setting'],
82
+ 'alreadyUnsubscribed': value['alreadyUnsubscribed'],
83
+ };
84
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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 UserSignedTokenInput
16
+ */
17
+ export interface UserSignedTokenInput {
18
+ /**
19
+ * Signed token carried by the link in the email
20
+ * @type {string}
21
+ * @memberof UserSignedTokenInput
22
+ */
23
+ token: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UserSignedTokenInput interface.
27
+ */
28
+ export declare function instanceOfUserSignedTokenInput(value: object): value is UserSignedTokenInput;
29
+ export declare function UserSignedTokenInputFromJSON(json: any): UserSignedTokenInput;
30
+ export declare function UserSignedTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSignedTokenInput;
31
+ export declare function UserSignedTokenInputToJSON(json: any): UserSignedTokenInput;
32
+ export declare function UserSignedTokenInputToJSONTyped(value?: UserSignedTokenInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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.instanceOfUserSignedTokenInput = instanceOfUserSignedTokenInput;
17
+ exports.UserSignedTokenInputFromJSON = UserSignedTokenInputFromJSON;
18
+ exports.UserSignedTokenInputFromJSONTyped = UserSignedTokenInputFromJSONTyped;
19
+ exports.UserSignedTokenInputToJSON = UserSignedTokenInputToJSON;
20
+ exports.UserSignedTokenInputToJSONTyped = UserSignedTokenInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UserSignedTokenInput interface.
23
+ */
24
+ function instanceOfUserSignedTokenInput(value) {
25
+ if (!('token' in value) || value['token'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UserSignedTokenInputFromJSON(json) {
30
+ return UserSignedTokenInputFromJSONTyped(json, false);
31
+ }
32
+ function UserSignedTokenInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'token': json['token'],
38
+ };
39
+ }
40
+ function UserSignedTokenInputToJSON(json) {
41
+ return UserSignedTokenInputToJSONTyped(json, false);
42
+ }
43
+ function UserSignedTokenInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'token': value['token'],
50
+ };
51
+ }
@@ -350,6 +350,7 @@ export * from './ListAccountMetricsDto';
350
350
  export * from './ListAccountPortfolioSizeDto';
351
351
  export * from './ListAccountUserDto';
352
352
  export * from './ListAccounts200Response';
353
+ export * from './ListAdminRelatedLeads200Response';
353
354
  export * from './ListAuctions200Response';
354
355
  export * from './ListBankAccounts200Response';
355
356
  export * from './ListBankDeposits200Response';
@@ -363,7 +364,6 @@ export * from './ListLeadMessagesDto';
363
364
  export * from './ListLeads200Response';
364
365
  export * from './ListLeadsResultItem';
365
366
  export * from './ListNotifications200Response';
366
- export * from './ListRelatedLeads200Response';
367
367
  export * from './LockConfigurationInput';
368
368
  export * from './LockDurationDto';
369
369
  export * from './LockDurationInput';
@@ -382,6 +382,7 @@ export * from './MoneyDto';
382
382
  export * from './MoneyInput';
383
383
  export * from './MozMetrics';
384
384
  export * from './NotFoundException';
385
+ export * from './NotificationsUnsubscribeResultDto';
385
386
  export * from './NzBankAccountDetails';
386
387
  export * from './ObjectId';
387
388
  export * from './OrderCompanyInfoDto';
@@ -554,6 +555,7 @@ export * from './UserNotificationDto';
554
555
  export * from './UserNotificationListItemDto';
555
556
  export * from './UserNotificationSettingsDto';
556
557
  export * from './UserPasswordResetDto';
558
+ export * from './UserSignedTokenInput';
557
559
  export * from './ValidateTaxNumberDto';
558
560
  export * from './ValidateTaxNumberInput';
559
561
  export * from './ValidationError';
@@ -368,6 +368,7 @@ __exportStar(require("./ListAccountMetricsDto"), exports);
368
368
  __exportStar(require("./ListAccountPortfolioSizeDto"), exports);
369
369
  __exportStar(require("./ListAccountUserDto"), exports);
370
370
  __exportStar(require("./ListAccounts200Response"), exports);
371
+ __exportStar(require("./ListAdminRelatedLeads200Response"), exports);
371
372
  __exportStar(require("./ListAuctions200Response"), exports);
372
373
  __exportStar(require("./ListBankAccounts200Response"), exports);
373
374
  __exportStar(require("./ListBankDeposits200Response"), exports);
@@ -381,7 +382,6 @@ __exportStar(require("./ListLeadMessagesDto"), exports);
381
382
  __exportStar(require("./ListLeads200Response"), exports);
382
383
  __exportStar(require("./ListLeadsResultItem"), exports);
383
384
  __exportStar(require("./ListNotifications200Response"), exports);
384
- __exportStar(require("./ListRelatedLeads200Response"), exports);
385
385
  __exportStar(require("./LockConfigurationInput"), exports);
386
386
  __exportStar(require("./LockDurationDto"), exports);
387
387
  __exportStar(require("./LockDurationInput"), exports);
@@ -400,6 +400,7 @@ __exportStar(require("./MoneyDto"), exports);
400
400
  __exportStar(require("./MoneyInput"), exports);
401
401
  __exportStar(require("./MozMetrics"), exports);
402
402
  __exportStar(require("./NotFoundException"), exports);
403
+ __exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
403
404
  __exportStar(require("./NzBankAccountDetails"), exports);
404
405
  __exportStar(require("./ObjectId"), exports);
405
406
  __exportStar(require("./OrderCompanyInfoDto"), exports);
@@ -572,6 +573,7 @@ __exportStar(require("./UserNotificationDto"), exports);
572
573
  __exportStar(require("./UserNotificationListItemDto"), exports);
573
574
  __exportStar(require("./UserNotificationSettingsDto"), exports);
574
575
  __exportStar(require("./UserPasswordResetDto"), exports);
576
+ __exportStar(require("./UserSignedTokenInput"), exports);
575
577
  __exportStar(require("./ValidateTaxNumberDto"), exports);
576
578
  __exportStar(require("./ValidateTaxNumberInput"), exports);
577
579
  __exportStar(require("./ValidationError"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.479",
3
+ "version": "0.0.481",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {