@randock/nameshift-api-client 0.0.248 → 0.0.250

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 (38) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +2 -5
  4. package/dist/apis/AccountsApi.js +4 -7
  5. package/dist/apis/BuyersApi.d.ts +8 -0
  6. package/dist/apis/BuyersApi.js +48 -0
  7. package/dist/models/AccountSettingsInput.d.ts +20 -0
  8. package/dist/models/AccountSettingsInput.js +8 -0
  9. package/dist/models/DomainDto.d.ts +1 -1
  10. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +1 -1
  11. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
  12. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationDto.d.ts +32 -0
  13. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationDto.js +51 -0
  14. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.d.ts +32 -0
  15. package/dist/models/LeadPriceNegotiatorAiAgentConfigurationInput.js +49 -0
  16. package/dist/models/TimeTableConfigurationDto.d.ts +38 -0
  17. package/dist/models/TimeTableConfigurationDto.js +55 -0
  18. package/dist/models/TimeTableConfigurationInput.d.ts +38 -0
  19. package/dist/models/TimeTableConfigurationInput.js +51 -0
  20. package/dist/models/UpdateDomainInput.d.ts +1 -1
  21. package/dist/models/WithSettingsInner.d.ts +20 -0
  22. package/dist/models/WithSettingsInner.js +14 -0
  23. package/dist/models/index.d.ts +4 -0
  24. package/dist/models/index.js +4 -0
  25. package/package.json +1 -1
  26. package/src/apis/AccountsApi.ts +4 -15
  27. package/src/apis/BuyersApi.ts +33 -0
  28. package/src/models/AccountSettingsInput.ts +38 -0
  29. package/src/models/DomainDto.ts +1 -1
  30. package/src/models/IntersectionDomainDtoWithAccountDto.ts +1 -1
  31. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +1 -1
  32. package/src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts +66 -0
  33. package/src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts +65 -0
  34. package/src/models/TimeTableConfigurationDto.ts +75 -0
  35. package/src/models/TimeTableConfigurationInput.ts +73 -0
  36. package/src/models/UpdateDomainInput.ts +1 -1
  37. package/src/models/WithSettingsInner.ts +41 -0
  38. package/src/models/index.ts +4 -0
@@ -148,6 +148,8 @@ src/models/LeadDto.ts
148
148
  src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
149
149
  src/models/LeadMessageData.ts
150
150
  src/models/LeadMessageDto.ts
151
+ src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts
152
+ src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts
151
153
  src/models/LeadStatusDto.ts
152
154
  src/models/LeaseToOwnConfigurationDto.ts
153
155
  src/models/LeaseToOwnConfigurationInput.ts
@@ -243,6 +245,8 @@ src/models/TaskListDomainDto.ts
243
245
  src/models/TaskListDomainTransferDto.ts
244
246
  src/models/TaskListLeadDto.ts
245
247
  src/models/ThrottlerException.ts
248
+ src/models/TimeTableConfigurationDto.ts
249
+ src/models/TimeTableConfigurationInput.ts
246
250
  src/models/UkBankAccountDetails.ts
247
251
  src/models/UpdateAccountBillingInformationInput.ts
248
252
  src/models/UpdateBuyerDomainTransferIpsTagInputDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.248
1
+ ## @randock/nameshift-api-client@0.0.250
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.248 --save
39
+ npm install @randock/nameshift-api-client@0.0.250 --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
- 09b23109c8cde7689abd6bfeadbaf33ed4c98741b1c0f5fa1d78817bec0f23405c8f82d0c869f27d81b563094ebe798f
47
+ 96344a49fb1cdc35cf722af6373ce5feb2378992673acfbe5fc53a2d4dfed31e0766cefd804216f6c3d466f74b9418dd
@@ -11,9 +11,6 @@
11
11
  */
12
12
  import * as runtime from '../runtime';
13
13
  import type { AccountOnboardingSessionDto, AccountSettingsDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, SetPayoutProviderInput, UpdateAccountBillingInformationInput } from '../models/index';
14
- export interface AccountsApiDeleteAccountRequest {
15
- accountId: string;
16
- }
17
14
  export interface AccountsApiGetAccountPaymentProviderSessionRequest {
18
15
  accountId: string;
19
16
  }
@@ -44,11 +41,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
44
41
  /**
45
42
  *
46
43
  */
47
- deleteAccountRaw(requestParameters: AccountsApiDeleteAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
44
+ deleteMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
48
45
  /**
49
46
  *
50
47
  */
51
- deleteAccount(requestParameters: AccountsApiDeleteAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
48
+ deleteMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
52
49
  /**
53
50
  *
54
51
  */
@@ -78,15 +78,12 @@ var AccountsApi = /** @class */ (function (_super) {
78
78
  /**
79
79
  *
80
80
  */
81
- AccountsApi.prototype.deleteAccountRaw = function (requestParameters, initOverrides) {
81
+ AccountsApi.prototype.deleteMeRaw = function (initOverrides) {
82
82
  return __awaiter(this, void 0, void 0, function () {
83
83
  var queryParameters, headerParameters, token, tokenString, response;
84
84
  return __generator(this, function (_a) {
85
85
  switch (_a.label) {
86
86
  case 0:
87
- if (requestParameters['accountId'] == null) {
88
- throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling deleteAccount().');
89
- }
90
87
  queryParameters = {};
91
88
  headerParameters = {};
92
89
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
@@ -99,7 +96,7 @@ var AccountsApi = /** @class */ (function (_super) {
99
96
  }
100
97
  _a.label = 2;
101
98
  case 2: return [4 /*yield*/, this.request({
102
- path: "/private/accounts/{accountId}".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
99
+ path: "/private/accounts/me",
103
100
  method: 'DELETE',
104
101
  headers: headerParameters,
105
102
  query: queryParameters,
@@ -114,11 +111,11 @@ var AccountsApi = /** @class */ (function (_super) {
114
111
  /**
115
112
  *
116
113
  */
117
- AccountsApi.prototype.deleteAccount = function (requestParameters, initOverrides) {
114
+ AccountsApi.prototype.deleteMe = function (initOverrides) {
118
115
  return __awaiter(this, void 0, void 0, function () {
119
116
  return __generator(this, function (_a) {
120
117
  switch (_a.label) {
121
- case 0: return [4 /*yield*/, this.deleteAccountRaw(requestParameters, initOverrides)];
118
+ case 0: return [4 /*yield*/, this.deleteMeRaw(initOverrides)];
122
119
  case 1:
123
120
  _a.sent();
124
121
  return [2 /*return*/];
@@ -148,6 +148,14 @@ export declare class BuyersApi extends runtime.BaseAPI {
148
148
  *
149
149
  */
150
150
  deleteBuyerLeads(requestParameters: BuyersApiDeleteBuyerLeadsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
151
+ /**
152
+ *
153
+ */
154
+ deleteMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
155
+ /**
156
+ *
157
+ */
158
+ deleteMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
151
159
  /**
152
160
  *
153
161
  */
@@ -447,6 +447,54 @@ var BuyersApi = /** @class */ (function (_super) {
447
447
  });
448
448
  });
449
449
  };
450
+ /**
451
+ *
452
+ */
453
+ BuyersApi.prototype.deleteMeRaw = function (initOverrides) {
454
+ return __awaiter(this, void 0, void 0, function () {
455
+ var queryParameters, headerParameters, token, tokenString, response;
456
+ return __generator(this, function (_a) {
457
+ switch (_a.label) {
458
+ case 0:
459
+ queryParameters = {};
460
+ headerParameters = {};
461
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
462
+ token = this.configuration.accessToken;
463
+ return [4 /*yield*/, token("bearer", [])];
464
+ case 1:
465
+ tokenString = _a.sent();
466
+ if (tokenString) {
467
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
468
+ }
469
+ _a.label = 2;
470
+ case 2: return [4 /*yield*/, this.request({
471
+ path: "/buyers/private/me",
472
+ method: 'DELETE',
473
+ headers: headerParameters,
474
+ query: queryParameters,
475
+ }, initOverrides)];
476
+ case 3:
477
+ response = _a.sent();
478
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
479
+ }
480
+ });
481
+ });
482
+ };
483
+ /**
484
+ *
485
+ */
486
+ BuyersApi.prototype.deleteMe = function (initOverrides) {
487
+ return __awaiter(this, void 0, void 0, function () {
488
+ return __generator(this, function (_a) {
489
+ switch (_a.label) {
490
+ case 0: return [4 /*yield*/, this.deleteMeRaw(initOverrides)];
491
+ case 1:
492
+ _a.sent();
493
+ return [2 /*return*/];
494
+ }
495
+ });
496
+ });
497
+ };
450
498
  /**
451
499
  *
452
500
  */
@@ -11,6 +11,8 @@
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
13
  import type { LandingPageInput } from './LandingPageInput';
14
+ import type { TimeTableConfigurationInput } from './TimeTableConfigurationInput';
15
+ import type { LeadPriceNegotiatorAiAgentConfigurationInput } from './LeadPriceNegotiatorAiAgentConfigurationInput';
14
16
  import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
15
17
  /**
16
18
  *
@@ -60,6 +62,24 @@ export interface AccountSettingsInput {
60
62
  * @memberof AccountSettingsInput
61
63
  */
62
64
  allowThirdPartySalesDataSharing?: boolean;
65
+ /**
66
+ *
67
+ * @type {TimeTableConfigurationInput}
68
+ * @memberof AccountSettingsInput
69
+ */
70
+ timeTable?: TimeTableConfigurationInput;
71
+ /**
72
+ *
73
+ * @type {LeadPriceNegotiatorAiAgentConfigurationInput}
74
+ * @memberof AccountSettingsInput
75
+ */
76
+ leadPriceNegotiatorAiAgent?: LeadPriceNegotiatorAiAgentConfigurationInput;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof AccountSettingsInput
81
+ */
82
+ timezone?: string;
63
83
  }
64
84
  /**
65
85
  * Check if a given object implements the AccountSettingsInput interface.
@@ -20,6 +20,8 @@ exports.AccountSettingsInputToJSON = AccountSettingsInputToJSON;
20
20
  exports.AccountSettingsInputToJSONTyped = AccountSettingsInputToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
22
  var LandingPageInput_1 = require("./LandingPageInput");
23
+ var TimeTableConfigurationInput_1 = require("./TimeTableConfigurationInput");
24
+ var LeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./LeadPriceNegotiatorAiAgentConfigurationInput");
23
25
  var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
24
26
  /**
25
27
  * Check if a given object implements the AccountSettingsInput interface.
@@ -42,6 +44,9 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
42
44
  'leaseToOwn': json['leaseToOwn'] == null ? undefined : (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputFromJSON)(json['leaseToOwn']),
43
45
  'description': json['description'] == null ? undefined : json['description'],
44
46
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
47
+ 'timeTable': json['timeTable'] == null ? undefined : (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputFromJSON)(json['timeTable']),
48
+ 'leadPriceNegotiatorAiAgent': json['leadPriceNegotiatorAiAgent'] == null ? undefined : (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiatorAiAgent']),
49
+ 'timezone': json['timezone'] == null ? undefined : json['timezone'],
45
50
  };
46
51
  }
47
52
  function AccountSettingsInputToJSON(json) {
@@ -60,5 +65,8 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
60
65
  'leaseToOwn': (0, LeaseToOwnConfigurationInput_1.LeaseToOwnConfigurationInputToJSON)(value['leaseToOwn']),
61
66
  'description': value['description'],
62
67
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
68
+ 'timeTable': (0, TimeTableConfigurationInput_1.TimeTableConfigurationInputToJSON)(value['timeTable']),
69
+ 'leadPriceNegotiatorAiAgent': (0, LeadPriceNegotiatorAiAgentConfigurationInput_1.LeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiatorAiAgent']),
70
+ 'timezone': value['timezone'],
63
71
  };
64
72
  }
@@ -127,7 +127,7 @@ export interface DomainDto {
127
127
  * @type {boolean}
128
128
  * @memberof DomainDto
129
129
  */
130
- allowThirdPartySalesDataSharing: boolean;
130
+ allowThirdPartySalesDataSharing: boolean | null;
131
131
  }
132
132
  /**
133
133
  * Check if a given object implements the DomainDto interface.
@@ -128,7 +128,7 @@ export interface IntersectionDomainDtoWithAccountDto {
128
128
  * @type {boolean}
129
129
  * @memberof IntersectionDomainDtoWithAccountDto
130
130
  */
131
- allowThirdPartySalesDataSharing: boolean;
131
+ allowThirdPartySalesDataSharing: boolean | null;
132
132
  /**
133
133
  *
134
134
  * @type {AccountDto}
@@ -128,7 +128,7 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
128
128
  * @type {boolean}
129
129
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
130
130
  */
131
- allowThirdPartySalesDataSharing: boolean;
131
+ allowThirdPartySalesDataSharing: boolean | null;
132
132
  /**
133
133
  *
134
134
  * @type {AccountDto}
@@ -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 LeadPriceNegotiatorAiAgentConfigurationDto
16
+ */
17
+ export interface LeadPriceNegotiatorAiAgentConfigurationDto {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof LeadPriceNegotiatorAiAgentConfigurationDto
22
+ */
23
+ enabled: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationDto interface.
27
+ */
28
+ export declare function instanceOfLeadPriceNegotiatorAiAgentConfigurationDto(value: object): value is LeadPriceNegotiatorAiAgentConfigurationDto;
29
+ export declare function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json: any): LeadPriceNegotiatorAiAgentConfigurationDto;
30
+ export declare function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadPriceNegotiatorAiAgentConfigurationDto;
31
+ export declare function LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json: any): LeadPriceNegotiatorAiAgentConfigurationDto;
32
+ export declare function LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value?: LeadPriceNegotiatorAiAgentConfigurationDto | 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.instanceOfLeadPriceNegotiatorAiAgentConfigurationDto = instanceOfLeadPriceNegotiatorAiAgentConfigurationDto;
17
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON = LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON;
18
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped = LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped;
19
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoToJSON = LeadPriceNegotiatorAiAgentConfigurationDtoToJSON;
20
+ exports.LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped = LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationDto interface.
23
+ */
24
+ function instanceOfLeadPriceNegotiatorAiAgentConfigurationDto(value) {
25
+ if (!('enabled' in value) || value['enabled'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json) {
30
+ return LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, false);
31
+ }
32
+ function LeadPriceNegotiatorAiAgentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'enabled': json['enabled'],
38
+ };
39
+ }
40
+ function LeadPriceNegotiatorAiAgentConfigurationDtoToJSON(json) {
41
+ return LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(json, false);
42
+ }
43
+ function LeadPriceNegotiatorAiAgentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'enabled': value['enabled'],
50
+ };
51
+ }
@@ -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 LeadPriceNegotiatorAiAgentConfigurationInput
16
+ */
17
+ export interface LeadPriceNegotiatorAiAgentConfigurationInput {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof LeadPriceNegotiatorAiAgentConfigurationInput
22
+ */
23
+ enabled?: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationInput interface.
27
+ */
28
+ export declare function instanceOfLeadPriceNegotiatorAiAgentConfigurationInput(value: object): value is LeadPriceNegotiatorAiAgentConfigurationInput;
29
+ export declare function LeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json: any): LeadPriceNegotiatorAiAgentConfigurationInput;
30
+ export declare function LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadPriceNegotiatorAiAgentConfigurationInput;
31
+ export declare function LeadPriceNegotiatorAiAgentConfigurationInputToJSON(json: any): LeadPriceNegotiatorAiAgentConfigurationInput;
32
+ export declare function LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value?: LeadPriceNegotiatorAiAgentConfigurationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfLeadPriceNegotiatorAiAgentConfigurationInput = instanceOfLeadPriceNegotiatorAiAgentConfigurationInput;
17
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputFromJSON = LeadPriceNegotiatorAiAgentConfigurationInputFromJSON;
18
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped = LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped;
19
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputToJSON = LeadPriceNegotiatorAiAgentConfigurationInputToJSON;
20
+ exports.LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped = LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeadPriceNegotiatorAiAgentConfigurationInput interface.
23
+ */
24
+ function instanceOfLeadPriceNegotiatorAiAgentConfigurationInput(value) {
25
+ return true;
26
+ }
27
+ function LeadPriceNegotiatorAiAgentConfigurationInputFromJSON(json) {
28
+ return LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, false);
29
+ }
30
+ function LeadPriceNegotiatorAiAgentConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
+ };
37
+ }
38
+ function LeadPriceNegotiatorAiAgentConfigurationInputToJSON(json) {
39
+ return LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(json, false);
40
+ }
41
+ function LeadPriceNegotiatorAiAgentConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'enabled': value['enabled'],
48
+ };
49
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TimeTableConfigurationDto
16
+ */
17
+ export interface TimeTableConfigurationDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TimeTableConfigurationDto
22
+ */
23
+ startHour: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TimeTableConfigurationDto
28
+ */
29
+ endHour: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TimeTableConfigurationDto interface.
33
+ */
34
+ export declare function instanceOfTimeTableConfigurationDto(value: object): value is TimeTableConfigurationDto;
35
+ export declare function TimeTableConfigurationDtoFromJSON(json: any): TimeTableConfigurationDto;
36
+ export declare function TimeTableConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeTableConfigurationDto;
37
+ export declare function TimeTableConfigurationDtoToJSON(json: any): TimeTableConfigurationDto;
38
+ export declare function TimeTableConfigurationDtoToJSONTyped(value?: TimeTableConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTimeTableConfigurationDto = instanceOfTimeTableConfigurationDto;
17
+ exports.TimeTableConfigurationDtoFromJSON = TimeTableConfigurationDtoFromJSON;
18
+ exports.TimeTableConfigurationDtoFromJSONTyped = TimeTableConfigurationDtoFromJSONTyped;
19
+ exports.TimeTableConfigurationDtoToJSON = TimeTableConfigurationDtoToJSON;
20
+ exports.TimeTableConfigurationDtoToJSONTyped = TimeTableConfigurationDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TimeTableConfigurationDto interface.
23
+ */
24
+ function instanceOfTimeTableConfigurationDto(value) {
25
+ if (!('startHour' in value) || value['startHour'] === undefined)
26
+ return false;
27
+ if (!('endHour' in value) || value['endHour'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function TimeTableConfigurationDtoFromJSON(json) {
32
+ return TimeTableConfigurationDtoFromJSONTyped(json, false);
33
+ }
34
+ function TimeTableConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'startHour': json['startHour'],
40
+ 'endHour': json['endHour'],
41
+ };
42
+ }
43
+ function TimeTableConfigurationDtoToJSON(json) {
44
+ return TimeTableConfigurationDtoToJSONTyped(json, false);
45
+ }
46
+ function TimeTableConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'startHour': value['startHour'],
53
+ 'endHour': value['endHour'],
54
+ };
55
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TimeTableConfigurationInput
16
+ */
17
+ export interface TimeTableConfigurationInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TimeTableConfigurationInput
22
+ */
23
+ startHour?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TimeTableConfigurationInput
28
+ */
29
+ endHour?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TimeTableConfigurationInput interface.
33
+ */
34
+ export declare function instanceOfTimeTableConfigurationInput(value: object): value is TimeTableConfigurationInput;
35
+ export declare function TimeTableConfigurationInputFromJSON(json: any): TimeTableConfigurationInput;
36
+ export declare function TimeTableConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeTableConfigurationInput;
37
+ export declare function TimeTableConfigurationInputToJSON(json: any): TimeTableConfigurationInput;
38
+ export declare function TimeTableConfigurationInputToJSONTyped(value?: TimeTableConfigurationInput | 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.instanceOfTimeTableConfigurationInput = instanceOfTimeTableConfigurationInput;
17
+ exports.TimeTableConfigurationInputFromJSON = TimeTableConfigurationInputFromJSON;
18
+ exports.TimeTableConfigurationInputFromJSONTyped = TimeTableConfigurationInputFromJSONTyped;
19
+ exports.TimeTableConfigurationInputToJSON = TimeTableConfigurationInputToJSON;
20
+ exports.TimeTableConfigurationInputToJSONTyped = TimeTableConfigurationInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TimeTableConfigurationInput interface.
23
+ */
24
+ function instanceOfTimeTableConfigurationInput(value) {
25
+ return true;
26
+ }
27
+ function TimeTableConfigurationInputFromJSON(json) {
28
+ return TimeTableConfigurationInputFromJSONTyped(json, false);
29
+ }
30
+ function TimeTableConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'startHour': json['startHour'] == null ? undefined : json['startHour'],
36
+ 'endHour': json['endHour'] == null ? undefined : json['endHour'],
37
+ };
38
+ }
39
+ function TimeTableConfigurationInputToJSON(json) {
40
+ return TimeTableConfigurationInputToJSONTyped(json, false);
41
+ }
42
+ function TimeTableConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'startHour': value['startHour'],
49
+ 'endHour': value['endHour'],
50
+ };
51
+ }
@@ -60,7 +60,7 @@ export interface UpdateDomainInput {
60
60
  * @type {boolean}
61
61
  * @memberof UpdateDomainInput
62
62
  */
63
- allowThirdPartySalesDataSharing?: boolean;
63
+ allowThirdPartySalesDataSharing?: boolean | null;
64
64
  }
65
65
  /**
66
66
  * Check if a given object implements the UpdateDomainInput interface.