@randock/nameshift-api-client 0.0.552 → 0.0.554
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.
- package/.openapi-generator/FILES +39 -0
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +1 -0
- package/dist/apis/AccountsApi.js +2 -1
- package/dist/apis/AutomationsApi.d.ts +160 -0
- package/dist/apis/AutomationsApi.js +748 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
- package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
- package/dist/models/AutomationActionDto.d.ts +45 -0
- package/dist/models/AutomationActionDto.js +60 -0
- package/dist/models/AutomationActionInput.d.ts +45 -0
- package/dist/models/AutomationActionInput.js +56 -0
- package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
- package/dist/models/AutomationActionStatusEnum.js +52 -0
- package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
- package/dist/models/AutomationActionTypeEnum.js +53 -0
- package/dist/models/AutomationAggregateEnum.d.ts +24 -0
- package/dist/models/AutomationAggregateEnum.js +50 -0
- package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
- package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
- package/dist/models/AutomationCatalogDto.d.ts +77 -0
- package/dist/models/AutomationCatalogDto.js +82 -0
- package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
- package/dist/models/AutomationCatalogFactDto.js +67 -0
- package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
- package/dist/models/AutomationCatalogTriggerDto.js +71 -0
- package/dist/models/AutomationConditionDto.d.ts +65 -0
- package/dist/models/AutomationConditionDto.js +76 -0
- package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
- package/dist/models/AutomationConditionEvaluationDto.js +84 -0
- package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
- package/dist/models/AutomationConditionGroupDto.js +68 -0
- package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
- package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
- package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
- package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
- package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
- package/dist/models/AutomationConditionGroupInput.js +68 -0
- package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
- package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
- package/dist/models/AutomationConditionInput.d.ts +65 -0
- package/dist/models/AutomationConditionInput.js +74 -0
- package/dist/models/AutomationDelayDto.d.ts +39 -0
- package/dist/models/AutomationDelayDto.js +56 -0
- package/dist/models/AutomationDelayInput.d.ts +39 -0
- package/dist/models/AutomationDelayInput.js +56 -0
- package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
- package/dist/models/AutomationDelayUnitEnum.js +51 -0
- package/dist/models/AutomationDto.d.ts +96 -0
- package/dist/models/AutomationDto.js +95 -0
- package/dist/models/AutomationFactEnum.d.ts +36 -0
- package/dist/models/AutomationFactEnum.js +62 -0
- package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
- package/dist/models/AutomationFactGroupEnum.js +53 -0
- package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
- package/dist/models/AutomationFactValueTypeEnum.js +56 -0
- package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
- package/dist/models/AutomationGroupOperatorEnum.js +51 -0
- package/dist/models/AutomationInput.d.ts +66 -0
- package/dist/models/AutomationInput.js +71 -0
- package/dist/models/AutomationOperatorEnum.d.ts +37 -0
- package/dist/models/AutomationOperatorEnum.js +63 -0
- package/dist/models/AutomationRunActionDto.d.ts +46 -0
- package/dist/models/AutomationRunActionDto.js +61 -0
- package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
- package/dist/models/AutomationRunAutomationDto.js +69 -0
- package/dist/models/AutomationRunDto.d.ts +65 -0
- package/dist/models/AutomationRunDto.js +74 -0
- package/dist/models/AutomationRunLeadDto.d.ts +44 -0
- package/dist/models/AutomationRunLeadDto.js +59 -0
- package/dist/models/AutomationSimulationDto.d.ts +64 -0
- package/dist/models/AutomationSimulationDto.js +73 -0
- package/dist/models/AutomationStatusInput.d.ts +32 -0
- package/dist/models/AutomationStatusInput.js +51 -0
- package/dist/models/AutomationTriggerEnum.d.ts +28 -0
- package/dist/models/AutomationTriggerEnum.js +54 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
- package/dist/models/GetAutomationRuns200Response.js +62 -0
- package/dist/models/GetAutomations200Response.d.ts +47 -0
- package/dist/models/GetAutomations200Response.js +62 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/InvoiceDtoTransaction.d.ts +1 -0
- package/dist/models/InvoiceDtoTransaction.js +2 -1
- package/dist/models/InvoiceTransactionDto.d.ts +1 -0
- package/dist/models/InvoiceTransactionDto.js +2 -1
- package/dist/models/LeadMessageDto.d.ts +6 -0
- package/dist/models/LeadMessageDto.js +4 -0
- package/dist/models/OrderListItemDtoTransaction.d.ts +1 -0
- package/dist/models/OrderListItemDtoTransaction.js +2 -1
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SimulateAutomationsInput.d.ts +70 -0
- package/dist/models/SimulateAutomationsInput.js +69 -0
- package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
- package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
- package/dist/models/index.d.ts +38 -0
- package/dist/models/index.js +38 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +2 -1
- package/src/apis/AutomationsApi.ts +622 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
- package/src/models/AutomationActionDto.ts +94 -0
- package/src/models/AutomationActionInput.ts +92 -0
- package/src/models/AutomationActionStatusEnum.ts +54 -0
- package/src/models/AutomationActionTypeEnum.ts +55 -0
- package/src/models/AutomationAggregateEnum.ts +52 -0
- package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
- package/src/models/AutomationCatalogDto.ts +151 -0
- package/src/models/AutomationCatalogFactDto.ts +124 -0
- package/src/models/AutomationCatalogTriggerDto.ts +133 -0
- package/src/models/AutomationConditionDto.ts +127 -0
- package/src/models/AutomationConditionEvaluationDto.ts +145 -0
- package/src/models/AutomationConditionGroupDto.ts +109 -0
- package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
- package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
- package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
- package/src/models/AutomationConditionGroupInput.ts +109 -0
- package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
- package/src/models/AutomationConditionInput.ts +126 -0
- package/src/models/AutomationDelayDto.ts +85 -0
- package/src/models/AutomationDelayInput.ts +85 -0
- package/src/models/AutomationDelayUnitEnum.ts +53 -0
- package/src/models/AutomationDto.ts +187 -0
- package/src/models/AutomationFactEnum.ts +64 -0
- package/src/models/AutomationFactGroupEnum.ts +55 -0
- package/src/models/AutomationFactValueTypeEnum.ts +58 -0
- package/src/models/AutomationGroupOperatorEnum.ts +53 -0
- package/src/models/AutomationInput.ts +140 -0
- package/src/models/AutomationOperatorEnum.ts +65 -0
- package/src/models/AutomationRunActionDto.ts +101 -0
- package/src/models/AutomationRunAutomationDto.ts +117 -0
- package/src/models/AutomationRunDto.ts +135 -0
- package/src/models/AutomationRunLeadDto.ts +84 -0
- package/src/models/AutomationSimulationDto.ts +126 -0
- package/src/models/AutomationStatusInput.ts +66 -0
- package/src/models/AutomationTriggerEnum.ts +56 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/GetAutomationRuns200Response.ts +106 -0
- package/src/models/GetAutomations200Response.ts +106 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/InvoiceDtoTransaction.ts +2 -1
- package/src/models/InvoiceTransactionDto.ts +2 -1
- package/src/models/LeadMessageDto.ts +9 -0
- package/src/models/OrderListItemDtoTransaction.ts +2 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SimulateAutomationsInput.ts +133 -0
- package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
- package/src/models/index.ts +38 -0
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfAutomationRunActionDto = instanceOfAutomationRunActionDto;
|
|
17
|
+
exports.AutomationRunActionDtoFromJSON = AutomationRunActionDtoFromJSON;
|
|
18
|
+
exports.AutomationRunActionDtoFromJSONTyped = AutomationRunActionDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationRunActionDtoToJSON = AutomationRunActionDtoToJSON;
|
|
20
|
+
exports.AutomationRunActionDtoToJSONTyped = AutomationRunActionDtoToJSONTyped;
|
|
21
|
+
var AutomationActionStatusEnum_1 = require("./AutomationActionStatusEnum");
|
|
22
|
+
var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AutomationRunActionDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAutomationRunActionDto(value) {
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AutomationRunActionDtoFromJSON(json) {
|
|
36
|
+
return AutomationRunActionDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AutomationRunActionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
|
|
44
|
+
'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumFromJSON)(json['status']),
|
|
45
|
+
'reason': json['reason'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function AutomationRunActionDtoToJSON(json) {
|
|
49
|
+
return AutomationRunActionDtoToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function AutomationRunActionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
|
|
58
|
+
'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumToJSON)(value['status']),
|
|
59
|
+
'reason': value['reason'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
import type { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
|
|
13
|
+
import type { AutomationRunActionDto } from './AutomationRunActionDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationRunAutomationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationRunAutomationDto {
|
|
20
|
+
/**
|
|
21
|
+
* Id of the automation, which may no longer exist.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationRunAutomationDto
|
|
24
|
+
*/
|
|
25
|
+
automationId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Name the automation had when it ran.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AutomationRunAutomationDto
|
|
30
|
+
*/
|
|
31
|
+
automationName: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the conditions of the automation held.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AutomationRunAutomationDto
|
|
36
|
+
*/
|
|
37
|
+
matched: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* How each condition went, with the value its fact had.
|
|
40
|
+
* @type {AutomationConditionGroupEvaluationDto}
|
|
41
|
+
* @memberof AutomationRunAutomationDto
|
|
42
|
+
*/
|
|
43
|
+
conditions: AutomationConditionGroupEvaluationDto;
|
|
44
|
+
/**
|
|
45
|
+
* Actions of the automation and how each one ended.
|
|
46
|
+
* @type {Array<AutomationRunActionDto>}
|
|
47
|
+
* @memberof AutomationRunAutomationDto
|
|
48
|
+
*/
|
|
49
|
+
actions: Array<AutomationRunActionDto>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AutomationRunAutomationDto interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAutomationRunAutomationDto(value: object): value is AutomationRunAutomationDto;
|
|
55
|
+
export declare function AutomationRunAutomationDtoFromJSON(json: any): AutomationRunAutomationDto;
|
|
56
|
+
export declare function AutomationRunAutomationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunAutomationDto;
|
|
57
|
+
export declare function AutomationRunAutomationDtoToJSON(json: any): AutomationRunAutomationDto;
|
|
58
|
+
export declare function AutomationRunAutomationDtoToJSONTyped(value?: AutomationRunAutomationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.instanceOfAutomationRunAutomationDto = instanceOfAutomationRunAutomationDto;
|
|
17
|
+
exports.AutomationRunAutomationDtoFromJSON = AutomationRunAutomationDtoFromJSON;
|
|
18
|
+
exports.AutomationRunAutomationDtoFromJSONTyped = AutomationRunAutomationDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationRunAutomationDtoToJSON = AutomationRunAutomationDtoToJSON;
|
|
20
|
+
exports.AutomationRunAutomationDtoToJSONTyped = AutomationRunAutomationDtoToJSONTyped;
|
|
21
|
+
var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
|
|
22
|
+
var AutomationRunActionDto_1 = require("./AutomationRunActionDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AutomationRunAutomationDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAutomationRunAutomationDto(value) {
|
|
27
|
+
if (!('automationId' in value) || value['automationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('automationName' in value) || value['automationName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('matched' in value) || value['matched'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('conditions' in value) || value['conditions'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('actions' in value) || value['actions'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AutomationRunAutomationDtoFromJSON(json) {
|
|
40
|
+
return AutomationRunAutomationDtoFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AutomationRunAutomationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'automationId': json['automationId'],
|
|
48
|
+
'automationName': json['automationName'],
|
|
49
|
+
'matched': json['matched'],
|
|
50
|
+
'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSON)(json['conditions']),
|
|
51
|
+
'actions': (json['actions'].map(AutomationRunActionDto_1.AutomationRunActionDtoFromJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function AutomationRunAutomationDtoToJSON(json) {
|
|
55
|
+
return AutomationRunAutomationDtoToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function AutomationRunAutomationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'automationId': value['automationId'],
|
|
64
|
+
'automationName': value['automationName'],
|
|
65
|
+
'matched': value['matched'],
|
|
66
|
+
'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value['conditions']),
|
|
67
|
+
'actions': (value['actions'].map(AutomationRunActionDto_1.AutomationRunActionDtoToJSON)),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import type { AutomationTriggerEnum } from './AutomationTriggerEnum';
|
|
13
|
+
import type { AutomationRunAutomationDto } from './AutomationRunAutomationDto';
|
|
14
|
+
import type { AutomationRunLeadDto } from './AutomationRunLeadDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AutomationRunDto
|
|
19
|
+
*/
|
|
20
|
+
export interface AutomationRunDto {
|
|
21
|
+
/**
|
|
22
|
+
* Run id.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof AutomationRunDto
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* What made the automations be evaluated.
|
|
29
|
+
* @type {AutomationTriggerEnum}
|
|
30
|
+
* @memberof AutomationRunDto
|
|
31
|
+
*/
|
|
32
|
+
trigger: AutomationTriggerEnum;
|
|
33
|
+
/**
|
|
34
|
+
* Whether any automation of the run matched.
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof AutomationRunDto
|
|
37
|
+
*/
|
|
38
|
+
matched: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Lead the automations were evaluated for.
|
|
41
|
+
* @type {AutomationRunLeadDto}
|
|
42
|
+
* @memberof AutomationRunDto
|
|
43
|
+
*/
|
|
44
|
+
lead: AutomationRunLeadDto;
|
|
45
|
+
/**
|
|
46
|
+
* Automations evaluated in the run and how each one went.
|
|
47
|
+
* @type {Array<AutomationRunAutomationDto>}
|
|
48
|
+
* @memberof AutomationRunDto
|
|
49
|
+
*/
|
|
50
|
+
automations: Array<AutomationRunAutomationDto>;
|
|
51
|
+
/**
|
|
52
|
+
* When the automations were evaluated.
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof AutomationRunDto
|
|
55
|
+
*/
|
|
56
|
+
createdAt: Date;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the AutomationRunDto interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfAutomationRunDto(value: object): value is AutomationRunDto;
|
|
62
|
+
export declare function AutomationRunDtoFromJSON(json: any): AutomationRunDto;
|
|
63
|
+
export declare function AutomationRunDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunDto;
|
|
64
|
+
export declare function AutomationRunDtoToJSON(json: any): AutomationRunDto;
|
|
65
|
+
export declare function AutomationRunDtoToJSONTyped(value?: AutomationRunDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfAutomationRunDto = instanceOfAutomationRunDto;
|
|
17
|
+
exports.AutomationRunDtoFromJSON = AutomationRunDtoFromJSON;
|
|
18
|
+
exports.AutomationRunDtoFromJSONTyped = AutomationRunDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationRunDtoToJSON = AutomationRunDtoToJSON;
|
|
20
|
+
exports.AutomationRunDtoToJSONTyped = AutomationRunDtoToJSONTyped;
|
|
21
|
+
var AutomationTriggerEnum_1 = require("./AutomationTriggerEnum");
|
|
22
|
+
var AutomationRunAutomationDto_1 = require("./AutomationRunAutomationDto");
|
|
23
|
+
var AutomationRunLeadDto_1 = require("./AutomationRunLeadDto");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AutomationRunDto interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAutomationRunDto(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('trigger' in value) || value['trigger'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('matched' in value) || value['matched'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('lead' in value) || value['lead'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('automations' in value) || value['automations'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AutomationRunDtoFromJSON(json) {
|
|
43
|
+
return AutomationRunDtoFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AutomationRunDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumFromJSON)(json['trigger']),
|
|
52
|
+
'matched': json['matched'],
|
|
53
|
+
'lead': (0, AutomationRunLeadDto_1.AutomationRunLeadDtoFromJSON)(json['lead']),
|
|
54
|
+
'automations': (json['automations'].map(AutomationRunAutomationDto_1.AutomationRunAutomationDtoFromJSON)),
|
|
55
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AutomationRunDtoToJSON(json) {
|
|
59
|
+
return AutomationRunDtoToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AutomationRunDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'trigger': (0, AutomationTriggerEnum_1.AutomationTriggerEnumToJSON)(value['trigger']),
|
|
69
|
+
'matched': value['matched'],
|
|
70
|
+
'lead': (0, AutomationRunLeadDto_1.AutomationRunLeadDtoToJSON)(value['lead']),
|
|
71
|
+
'automations': (value['automations'].map(AutomationRunAutomationDto_1.AutomationRunAutomationDtoToJSON)),
|
|
72
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 AutomationRunLeadDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AutomationRunLeadDto {
|
|
18
|
+
/**
|
|
19
|
+
* Lead id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AutomationRunLeadDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the domain the lead is for.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AutomationRunLeadDto
|
|
28
|
+
*/
|
|
29
|
+
domainName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Email of the buyer of the lead.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AutomationRunLeadDto
|
|
34
|
+
*/
|
|
35
|
+
buyerEmail: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AutomationRunLeadDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfAutomationRunLeadDto(value: object): value is AutomationRunLeadDto;
|
|
41
|
+
export declare function AutomationRunLeadDtoFromJSON(json: any): AutomationRunLeadDto;
|
|
42
|
+
export declare function AutomationRunLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationRunLeadDto;
|
|
43
|
+
export declare function AutomationRunLeadDtoToJSON(json: any): AutomationRunLeadDto;
|
|
44
|
+
export declare function AutomationRunLeadDtoToJSONTyped(value?: AutomationRunLeadDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfAutomationRunLeadDto = instanceOfAutomationRunLeadDto;
|
|
17
|
+
exports.AutomationRunLeadDtoFromJSON = AutomationRunLeadDtoFromJSON;
|
|
18
|
+
exports.AutomationRunLeadDtoFromJSONTyped = AutomationRunLeadDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationRunLeadDtoToJSON = AutomationRunLeadDtoToJSON;
|
|
20
|
+
exports.AutomationRunLeadDtoToJSONTyped = AutomationRunLeadDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AutomationRunLeadDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAutomationRunLeadDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AutomationRunLeadDtoFromJSON(json) {
|
|
34
|
+
return AutomationRunLeadDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AutomationRunLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'domainName': json['domainName'],
|
|
43
|
+
'buyerEmail': json['buyerEmail'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AutomationRunLeadDtoToJSON(json) {
|
|
47
|
+
return AutomationRunLeadDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AutomationRunLeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'domainName': value['domainName'],
|
|
57
|
+
'buyerEmail': value['buyerEmail'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import type { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
|
|
13
|
+
import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AutomationSimulationDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AutomationSimulationDto {
|
|
20
|
+
/**
|
|
21
|
+
* Id of the automation.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AutomationSimulationDto
|
|
24
|
+
*/
|
|
25
|
+
automationId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Name of the automation.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AutomationSimulationDto
|
|
30
|
+
*/
|
|
31
|
+
automationName: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the automation is turned on.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AutomationSimulationDto
|
|
36
|
+
*/
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the conditions of the automation would hold.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof AutomationSimulationDto
|
|
42
|
+
*/
|
|
43
|
+
matched: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* How each condition would go, with the value its fact has.
|
|
46
|
+
* @type {AutomationConditionGroupEvaluationDto}
|
|
47
|
+
* @memberof AutomationSimulationDto
|
|
48
|
+
*/
|
|
49
|
+
conditions: AutomationConditionGroupEvaluationDto;
|
|
50
|
+
/**
|
|
51
|
+
* Actions of the automation.
|
|
52
|
+
* @type {Array<AutomationActionTypeEnum>}
|
|
53
|
+
* @memberof AutomationSimulationDto
|
|
54
|
+
*/
|
|
55
|
+
actions: Array<AutomationActionTypeEnum>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the AutomationSimulationDto interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfAutomationSimulationDto(value: object): value is AutomationSimulationDto;
|
|
61
|
+
export declare function AutomationSimulationDtoFromJSON(json: any): AutomationSimulationDto;
|
|
62
|
+
export declare function AutomationSimulationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSimulationDto;
|
|
63
|
+
export declare function AutomationSimulationDtoToJSON(json: any): AutomationSimulationDto;
|
|
64
|
+
export declare function AutomationSimulationDtoToJSONTyped(value?: AutomationSimulationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.instanceOfAutomationSimulationDto = instanceOfAutomationSimulationDto;
|
|
17
|
+
exports.AutomationSimulationDtoFromJSON = AutomationSimulationDtoFromJSON;
|
|
18
|
+
exports.AutomationSimulationDtoFromJSONTyped = AutomationSimulationDtoFromJSONTyped;
|
|
19
|
+
exports.AutomationSimulationDtoToJSON = AutomationSimulationDtoToJSON;
|
|
20
|
+
exports.AutomationSimulationDtoToJSONTyped = AutomationSimulationDtoToJSONTyped;
|
|
21
|
+
var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
|
|
22
|
+
var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AutomationSimulationDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAutomationSimulationDto(value) {
|
|
27
|
+
if (!('automationId' in value) || value['automationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('automationName' in value) || value['automationName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('matched' in value) || value['matched'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('conditions' in value) || value['conditions'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('actions' in value) || value['actions'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AutomationSimulationDtoFromJSON(json) {
|
|
42
|
+
return AutomationSimulationDtoFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AutomationSimulationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'automationId': json['automationId'],
|
|
50
|
+
'automationName': json['automationName'],
|
|
51
|
+
'enabled': json['enabled'],
|
|
52
|
+
'matched': json['matched'],
|
|
53
|
+
'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSON)(json['conditions']),
|
|
54
|
+
'actions': (json['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function AutomationSimulationDtoToJSON(json) {
|
|
58
|
+
return AutomationSimulationDtoToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function AutomationSimulationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'automationId': value['automationId'],
|
|
67
|
+
'automationName': value['automationName'],
|
|
68
|
+
'enabled': value['enabled'],
|
|
69
|
+
'matched': value['matched'],
|
|
70
|
+
'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value['conditions']),
|
|
71
|
+
'actions': (value['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -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 AutomationStatusInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AutomationStatusInput {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the automation is applied.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AutomationStatusInput
|
|
22
|
+
*/
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AutomationStatusInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAutomationStatusInput(value: object): value is AutomationStatusInput;
|
|
29
|
+
export declare function AutomationStatusInputFromJSON(json: any): AutomationStatusInput;
|
|
30
|
+
export declare function AutomationStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationStatusInput;
|
|
31
|
+
export declare function AutomationStatusInputToJSON(json: any): AutomationStatusInput;
|
|
32
|
+
export declare function AutomationStatusInputToJSONTyped(value?: AutomationStatusInput | 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.instanceOfAutomationStatusInput = instanceOfAutomationStatusInput;
|
|
17
|
+
exports.AutomationStatusInputFromJSON = AutomationStatusInputFromJSON;
|
|
18
|
+
exports.AutomationStatusInputFromJSONTyped = AutomationStatusInputFromJSONTyped;
|
|
19
|
+
exports.AutomationStatusInputToJSON = AutomationStatusInputToJSON;
|
|
20
|
+
exports.AutomationStatusInputToJSONTyped = AutomationStatusInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AutomationStatusInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAutomationStatusInput(value) {
|
|
25
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AutomationStatusInputFromJSON(json) {
|
|
30
|
+
return AutomationStatusInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AutomationStatusInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'enabled': json['enabled'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AutomationStatusInputToJSON(json) {
|
|
41
|
+
return AutomationStatusInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AutomationStatusInputToJSONTyped(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
|
+
}
|