@randock/nameshift-api-client 0.0.553 → 0.0.555

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 (60) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +1 -0
  4. package/dist/apis/AccountsApi.js +2 -1
  5. package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
  6. package/dist/models/AccountPaymentMethodProfileDto.js +2 -1
  7. package/dist/models/AutomationActionDelayDto.d.ts +45 -0
  8. package/dist/models/AutomationActionDelayDto.js +60 -0
  9. package/dist/models/AutomationActionDelayInput.d.ts +45 -0
  10. package/dist/models/AutomationActionDelayInput.js +60 -0
  11. package/dist/models/AutomationActionDelayUnitEnum.d.ts +25 -0
  12. package/dist/models/AutomationActionDelayUnitEnum.js +51 -0
  13. package/dist/models/AutomationActionDto.d.ts +7 -0
  14. package/dist/models/AutomationActionDto.js +5 -0
  15. package/dist/models/AutomationActionInput.d.ts +7 -0
  16. package/dist/models/AutomationActionInput.js +3 -0
  17. package/dist/models/AutomationActionStatusEnum.d.ts +2 -0
  18. package/dist/models/AutomationActionStatusEnum.js +3 -1
  19. package/dist/models/AutomationActionTypeEnum.d.ts +1 -0
  20. package/dist/models/AutomationActionTypeEnum.js +2 -1
  21. package/dist/models/AutomationCatalogActionDelayUnitDto.d.ts +45 -0
  22. package/dist/models/AutomationCatalogActionDelayUnitDto.js +60 -0
  23. package/dist/models/AutomationCatalogDto.d.ts +14 -0
  24. package/dist/models/AutomationCatalogDto.js +10 -0
  25. package/dist/models/AutomationRunActionDto.d.ts +7 -1
  26. package/dist/models/AutomationRunActionDto.js +4 -0
  27. package/dist/models/AutomationSimulationDelayedActionDto.d.ts +40 -0
  28. package/dist/models/AutomationSimulationDelayedActionDto.js +57 -0
  29. package/dist/models/AutomationSimulationDto.d.ts +7 -0
  30. package/dist/models/AutomationSimulationDto.js +5 -0
  31. package/dist/models/InvoiceDtoTransaction.d.ts +1 -0
  32. package/dist/models/InvoiceDtoTransaction.js +2 -1
  33. package/dist/models/InvoiceTransactionDto.d.ts +1 -0
  34. package/dist/models/InvoiceTransactionDto.js +2 -1
  35. package/dist/models/OrderListItemDtoTransaction.d.ts +1 -0
  36. package/dist/models/OrderListItemDtoTransaction.js +2 -1
  37. package/dist/models/SubscriptionListItemDtoTransaction.d.ts +1 -0
  38. package/dist/models/SubscriptionListItemDtoTransaction.js +2 -1
  39. package/dist/models/index.d.ts +5 -0
  40. package/dist/models/index.js +5 -0
  41. package/package.json +1 -1
  42. package/src/apis/AccountsApi.ts +2 -1
  43. package/src/models/AccountPaymentMethodProfileDto.ts +2 -1
  44. package/src/models/AutomationActionDelayDto.ts +94 -0
  45. package/src/models/AutomationActionDelayInput.ts +94 -0
  46. package/src/models/AutomationActionDelayUnitEnum.ts +53 -0
  47. package/src/models/AutomationActionDto.ts +16 -0
  48. package/src/models/AutomationActionInput.ts +15 -0
  49. package/src/models/AutomationActionStatusEnum.ts +3 -1
  50. package/src/models/AutomationActionTypeEnum.ts +2 -1
  51. package/src/models/AutomationCatalogActionDelayUnitDto.ts +94 -0
  52. package/src/models/AutomationCatalogDto.ts +32 -0
  53. package/src/models/AutomationRunActionDto.ts +10 -1
  54. package/src/models/AutomationSimulationDelayedActionDto.ts +92 -0
  55. package/src/models/AutomationSimulationDto.ts +16 -0
  56. package/src/models/InvoiceDtoTransaction.ts +2 -1
  57. package/src/models/InvoiceTransactionDto.ts +2 -1
  58. package/src/models/OrderListItemDtoTransaction.ts +2 -1
  59. package/src/models/SubscriptionListItemDtoTransaction.ts +2 -1
  60. package/src/models/index.ts +5 -0
@@ -19,6 +19,8 @@ exports.AutomationCatalogDtoFromJSONTyped = AutomationCatalogDtoFromJSONTyped;
19
19
  exports.AutomationCatalogDtoToJSON = AutomationCatalogDtoToJSON;
20
20
  exports.AutomationCatalogDtoToJSONTyped = AutomationCatalogDtoToJSONTyped;
21
21
  var AutomationCatalogTriggerDto_1 = require("./AutomationCatalogTriggerDto");
22
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
23
+ var AutomationCatalogActionDelayUnitDto_1 = require("./AutomationCatalogActionDelayUnitDto");
22
24
  var AutomationCatalogDelayUnitDto_1 = require("./AutomationCatalogDelayUnitDto");
23
25
  var QuickReplyVariableEnum_1 = require("./QuickReplyVariableEnum");
24
26
  /**
@@ -35,6 +37,10 @@ function instanceOfAutomationCatalogDto(value) {
35
37
  return false;
36
38
  if (!('delayUnits' in value) || value['delayUnits'] === undefined)
37
39
  return false;
40
+ if (!('delayableActions' in value) || value['delayableActions'] === undefined)
41
+ return false;
42
+ if (!('actionDelayUnits' in value) || value['actionDelayUnits'] === undefined)
43
+ return false;
38
44
  if (!('currencies' in value) || value['currencies'] === undefined)
39
45
  return false;
40
46
  if (!('messageVariables' in value) || value['messageVariables'] === undefined)
@@ -56,6 +62,8 @@ function AutomationCatalogDtoFromJSONTyped(json, ignoreDiscriminator) {
56
62
  'maxConditions': json['maxConditions'],
57
63
  'maxDepth': json['maxDepth'],
58
64
  'delayUnits': (json['delayUnits'].map(AutomationCatalogDelayUnitDto_1.AutomationCatalogDelayUnitDtoFromJSON)),
65
+ 'delayableActions': (json['delayableActions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)),
66
+ 'actionDelayUnits': (json['actionDelayUnits'].map(AutomationCatalogActionDelayUnitDto_1.AutomationCatalogActionDelayUnitDtoFromJSON)),
59
67
  'currencies': json['currencies'],
60
68
  'messageVariables': (json['messageVariables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumFromJSON)),
61
69
  'maxMessageLength': json['maxMessageLength'],
@@ -75,6 +83,8 @@ function AutomationCatalogDtoToJSONTyped(value, ignoreDiscriminator) {
75
83
  'maxConditions': value['maxConditions'],
76
84
  'maxDepth': value['maxDepth'],
77
85
  'delayUnits': (value['delayUnits'].map(AutomationCatalogDelayUnitDto_1.AutomationCatalogDelayUnitDtoToJSON)),
86
+ 'delayableActions': (value['delayableActions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)),
87
+ 'actionDelayUnits': (value['actionDelayUnits'].map(AutomationCatalogActionDelayUnitDto_1.AutomationCatalogActionDelayUnitDtoToJSON)),
78
88
  'currencies': value['currencies'],
79
89
  'messageVariables': (value['messageVariables'].map(QuickReplyVariableEnum_1.QuickReplyVariableEnumToJSON)),
80
90
  'maxMessageLength': value['maxMessageLength'],
@@ -30,11 +30,17 @@ export interface AutomationRunActionDto {
30
30
  */
31
31
  status: AutomationActionStatusEnum;
32
32
  /**
33
- * Code of why the action was skipped or failed.
33
+ * Code of why the action was skipped, failed or called off.
34
34
  * @type {string}
35
35
  * @memberof AutomationRunActionDto
36
36
  */
37
37
  reason: string | null;
38
+ /**
39
+ * When an action that waits was due.
40
+ * @type {Date}
41
+ * @memberof AutomationRunActionDto
42
+ */
43
+ scheduledFor: Date | null;
38
44
  }
39
45
  /**
40
46
  * Check if a given object implements the AutomationRunActionDto interface.
@@ -30,6 +30,8 @@ function instanceOfAutomationRunActionDto(value) {
30
30
  return false;
31
31
  if (!('reason' in value) || value['reason'] === undefined)
32
32
  return false;
33
+ if (!('scheduledFor' in value) || value['scheduledFor'] === undefined)
34
+ return false;
33
35
  return true;
34
36
  }
35
37
  function AutomationRunActionDtoFromJSON(json) {
@@ -43,6 +45,7 @@ function AutomationRunActionDtoFromJSONTyped(json, ignoreDiscriminator) {
43
45
  'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
44
46
  'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumFromJSON)(json['status']),
45
47
  'reason': json['reason'],
48
+ 'scheduledFor': (json['scheduledFor'] == null ? null : new Date(json['scheduledFor'])),
46
49
  };
47
50
  }
48
51
  function AutomationRunActionDtoToJSON(json) {
@@ -57,5 +60,6 @@ function AutomationRunActionDtoToJSONTyped(value, ignoreDiscriminator) {
57
60
  'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
58
61
  'status': (0, AutomationActionStatusEnum_1.AutomationActionStatusEnumToJSON)(value['status']),
59
62
  'reason': value['reason'],
63
+ 'scheduledFor': (value['scheduledFor'] == null ? null : value['scheduledFor'].toISOString()),
60
64
  };
61
65
  }
@@ -0,0 +1,40 @@
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 { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
13
+ import type { AutomationActionDelayDto } from './AutomationActionDelayDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AutomationSimulationDelayedActionDto
18
+ */
19
+ export interface AutomationSimulationDelayedActionDto {
20
+ /**
21
+ * Action that waits.
22
+ * @type {AutomationActionTypeEnum}
23
+ * @memberof AutomationSimulationDelayedActionDto
24
+ */
25
+ type: AutomationActionTypeEnum;
26
+ /**
27
+ * Time the action waits before it runs.
28
+ * @type {AutomationActionDelayDto}
29
+ * @memberof AutomationSimulationDelayedActionDto
30
+ */
31
+ delay: AutomationActionDelayDto;
32
+ }
33
+ /**
34
+ * Check if a given object implements the AutomationSimulationDelayedActionDto interface.
35
+ */
36
+ export declare function instanceOfAutomationSimulationDelayedActionDto(value: object): value is AutomationSimulationDelayedActionDto;
37
+ export declare function AutomationSimulationDelayedActionDtoFromJSON(json: any): AutomationSimulationDelayedActionDto;
38
+ export declare function AutomationSimulationDelayedActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSimulationDelayedActionDto;
39
+ export declare function AutomationSimulationDelayedActionDtoToJSON(json: any): AutomationSimulationDelayedActionDto;
40
+ export declare function AutomationSimulationDelayedActionDtoToJSONTyped(value?: AutomationSimulationDelayedActionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfAutomationSimulationDelayedActionDto = instanceOfAutomationSimulationDelayedActionDto;
17
+ exports.AutomationSimulationDelayedActionDtoFromJSON = AutomationSimulationDelayedActionDtoFromJSON;
18
+ exports.AutomationSimulationDelayedActionDtoFromJSONTyped = AutomationSimulationDelayedActionDtoFromJSONTyped;
19
+ exports.AutomationSimulationDelayedActionDtoToJSON = AutomationSimulationDelayedActionDtoToJSON;
20
+ exports.AutomationSimulationDelayedActionDtoToJSONTyped = AutomationSimulationDelayedActionDtoToJSONTyped;
21
+ var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
22
+ var AutomationActionDelayDto_1 = require("./AutomationActionDelayDto");
23
+ /**
24
+ * Check if a given object implements the AutomationSimulationDelayedActionDto interface.
25
+ */
26
+ function instanceOfAutomationSimulationDelayedActionDto(value) {
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ if (!('delay' in value) || value['delay'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AutomationSimulationDelayedActionDtoFromJSON(json) {
34
+ return AutomationSimulationDelayedActionDtoFromJSONTyped(json, false);
35
+ }
36
+ function AutomationSimulationDelayedActionDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)(json['type']),
42
+ 'delay': (0, AutomationActionDelayDto_1.AutomationActionDelayDtoFromJSON)(json['delay']),
43
+ };
44
+ }
45
+ function AutomationSimulationDelayedActionDtoToJSON(json) {
46
+ return AutomationSimulationDelayedActionDtoToJSONTyped(json, false);
47
+ }
48
+ function AutomationSimulationDelayedActionDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'type': (0, AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)(value['type']),
55
+ 'delay': (0, AutomationActionDelayDto_1.AutomationActionDelayDtoToJSON)(value['delay']),
56
+ };
57
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
13
13
  import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
14
+ import type { AutomationSimulationDelayedActionDto } from './AutomationSimulationDelayedActionDto';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -53,6 +54,12 @@ export interface AutomationSimulationDto {
53
54
  * @memberof AutomationSimulationDto
54
55
  */
55
56
  actions: Array<AutomationActionTypeEnum>;
57
+ /**
58
+ * The actions of the automation that wait before they run.
59
+ * @type {Array<AutomationSimulationDelayedActionDto>}
60
+ * @memberof AutomationSimulationDto
61
+ */
62
+ delayedActions: Array<AutomationSimulationDelayedActionDto>;
56
63
  }
57
64
  /**
58
65
  * Check if a given object implements the AutomationSimulationDto interface.
@@ -20,6 +20,7 @@ exports.AutomationSimulationDtoToJSON = AutomationSimulationDtoToJSON;
20
20
  exports.AutomationSimulationDtoToJSONTyped = AutomationSimulationDtoToJSONTyped;
21
21
  var AutomationConditionGroupEvaluationDto_1 = require("./AutomationConditionGroupEvaluationDto");
22
22
  var AutomationActionTypeEnum_1 = require("./AutomationActionTypeEnum");
23
+ var AutomationSimulationDelayedActionDto_1 = require("./AutomationSimulationDelayedActionDto");
23
24
  /**
24
25
  * Check if a given object implements the AutomationSimulationDto interface.
25
26
  */
@@ -36,6 +37,8 @@ function instanceOfAutomationSimulationDto(value) {
36
37
  return false;
37
38
  if (!('actions' in value) || value['actions'] === undefined)
38
39
  return false;
40
+ if (!('delayedActions' in value) || value['delayedActions'] === undefined)
41
+ return false;
39
42
  return true;
40
43
  }
41
44
  function AutomationSimulationDtoFromJSON(json) {
@@ -52,6 +55,7 @@ function AutomationSimulationDtoFromJSONTyped(json, ignoreDiscriminator) {
52
55
  'matched': json['matched'],
53
56
  'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoFromJSON)(json['conditions']),
54
57
  'actions': (json['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumFromJSON)),
58
+ 'delayedActions': (json['delayedActions'].map(AutomationSimulationDelayedActionDto_1.AutomationSimulationDelayedActionDtoFromJSON)),
55
59
  };
56
60
  }
57
61
  function AutomationSimulationDtoToJSON(json) {
@@ -69,5 +73,6 @@ function AutomationSimulationDtoToJSONTyped(value, ignoreDiscriminator) {
69
73
  'matched': value['matched'],
70
74
  'conditions': (0, AutomationConditionGroupEvaluationDto_1.AutomationConditionGroupEvaluationDtoToJSON)(value['conditions']),
71
75
  'actions': (value['actions'].map(AutomationActionTypeEnum_1.AutomationActionTypeEnumToJSON)),
76
+ 'delayedActions': (value['delayedActions'].map(AutomationSimulationDelayedActionDto_1.AutomationSimulationDelayedActionDtoToJSON)),
72
77
  };
73
78
  }
@@ -49,6 +49,7 @@ export declare const InvoiceDtoTransactionGatewayEnum: {
49
49
  readonly MOLLIE: "mollie";
50
50
  readonly NICKY: "nicky";
51
51
  readonly AIRWALLEX: "airwallex";
52
+ readonly RADOM: "radom";
52
53
  };
53
54
  export type InvoiceDtoTransactionGatewayEnum = typeof InvoiceDtoTransactionGatewayEnum[keyof typeof InvoiceDtoTransactionGatewayEnum];
54
55
  /**
@@ -27,7 +27,8 @@ exports.InvoiceDtoTransactionGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
28
  MOLLIE: 'mollie',
29
29
  NICKY: 'nicky',
30
- AIRWALLEX: 'airwallex'
30
+ AIRWALLEX: 'airwallex',
31
+ RADOM: 'radom'
31
32
  };
32
33
  /**
33
34
  * Check if a given object implements the InvoiceDtoTransaction interface.
@@ -79,6 +79,7 @@ export declare const InvoiceTransactionDtoGatewayEnum: {
79
79
  readonly MOLLIE: "mollie";
80
80
  readonly NICKY: "nicky";
81
81
  readonly AIRWALLEX: "airwallex";
82
+ readonly RADOM: "radom";
82
83
  };
83
84
  export type InvoiceTransactionDtoGatewayEnum = typeof InvoiceTransactionDtoGatewayEnum[keyof typeof InvoiceTransactionDtoGatewayEnum];
84
85
  /**
@@ -27,7 +27,8 @@ exports.InvoiceTransactionDtoGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
28
  MOLLIE: 'mollie',
29
29
  NICKY: 'nicky',
30
- AIRWALLEX: 'airwallex'
30
+ AIRWALLEX: 'airwallex',
31
+ RADOM: 'radom'
31
32
  };
32
33
  /**
33
34
  * @export
@@ -66,6 +66,7 @@ export declare const OrderListItemDtoTransactionGatewayEnum: {
66
66
  readonly MOLLIE: "mollie";
67
67
  readonly NICKY: "nicky";
68
68
  readonly AIRWALLEX: "airwallex";
69
+ readonly RADOM: "radom";
69
70
  };
70
71
  export type OrderListItemDtoTransactionGatewayEnum = typeof OrderListItemDtoTransactionGatewayEnum[keyof typeof OrderListItemDtoTransactionGatewayEnum];
71
72
  /**
@@ -37,7 +37,8 @@ exports.OrderListItemDtoTransactionGatewayEnum = {
37
37
  STRIPE: 'stripe',
38
38
  MOLLIE: 'mollie',
39
39
  NICKY: 'nicky',
40
- AIRWALLEX: 'airwallex'
40
+ AIRWALLEX: 'airwallex',
41
+ RADOM: 'radom'
41
42
  };
42
43
  /**
43
44
  * @export
@@ -42,6 +42,7 @@ export declare const SubscriptionListItemDtoTransactionGatewayEnum: {
42
42
  readonly MOLLIE: "mollie";
43
43
  readonly NICKY: "nicky";
44
44
  readonly AIRWALLEX: "airwallex";
45
+ readonly RADOM: "radom";
45
46
  };
46
47
  export type SubscriptionListItemDtoTransactionGatewayEnum = typeof SubscriptionListItemDtoTransactionGatewayEnum[keyof typeof SubscriptionListItemDtoTransactionGatewayEnum];
47
48
  /**
@@ -26,7 +26,8 @@ exports.SubscriptionListItemDtoTransactionGatewayEnum = {
26
26
  STRIPE: 'stripe',
27
27
  MOLLIE: 'mollie',
28
28
  NICKY: 'nicky',
29
- AIRWALLEX: 'airwallex'
29
+ AIRWALLEX: 'airwallex',
30
+ RADOM: 'radom'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the SubscriptionListItemDtoTransaction interface.
@@ -106,11 +106,15 @@ export * from './AuctionListItemDto';
106
106
  export * from './AuctionListItemDtoDomainInformation';
107
107
  export * from './AuctionListItemDtoSellerAccount';
108
108
  export * from './AuctionsStatsDto';
109
+ export * from './AutomationActionDelayDto';
110
+ export * from './AutomationActionDelayInput';
111
+ export * from './AutomationActionDelayUnitEnum';
109
112
  export * from './AutomationActionDto';
110
113
  export * from './AutomationActionInput';
111
114
  export * from './AutomationActionStatusEnum';
112
115
  export * from './AutomationActionTypeEnum';
113
116
  export * from './AutomationAggregateEnum';
117
+ export * from './AutomationCatalogActionDelayUnitDto';
114
118
  export * from './AutomationCatalogDelayUnitDto';
115
119
  export * from './AutomationCatalogDto';
116
120
  export * from './AutomationCatalogFactDto';
@@ -138,6 +142,7 @@ export * from './AutomationRunActionDto';
138
142
  export * from './AutomationRunAutomationDto';
139
143
  export * from './AutomationRunDto';
140
144
  export * from './AutomationRunLeadDto';
145
+ export * from './AutomationSimulationDelayedActionDto';
141
146
  export * from './AutomationSimulationDto';
142
147
  export * from './AutomationStatusInput';
143
148
  export * from './AutomationTriggerEnum';
@@ -124,11 +124,15 @@ __exportStar(require("./AuctionListItemDto"), exports);
124
124
  __exportStar(require("./AuctionListItemDtoDomainInformation"), exports);
125
125
  __exportStar(require("./AuctionListItemDtoSellerAccount"), exports);
126
126
  __exportStar(require("./AuctionsStatsDto"), exports);
127
+ __exportStar(require("./AutomationActionDelayDto"), exports);
128
+ __exportStar(require("./AutomationActionDelayInput"), exports);
129
+ __exportStar(require("./AutomationActionDelayUnitEnum"), exports);
127
130
  __exportStar(require("./AutomationActionDto"), exports);
128
131
  __exportStar(require("./AutomationActionInput"), exports);
129
132
  __exportStar(require("./AutomationActionStatusEnum"), exports);
130
133
  __exportStar(require("./AutomationActionTypeEnum"), exports);
131
134
  __exportStar(require("./AutomationAggregateEnum"), exports);
135
+ __exportStar(require("./AutomationCatalogActionDelayUnitDto"), exports);
132
136
  __exportStar(require("./AutomationCatalogDelayUnitDto"), exports);
133
137
  __exportStar(require("./AutomationCatalogDto"), exports);
134
138
  __exportStar(require("./AutomationCatalogFactDto"), exports);
@@ -156,6 +160,7 @@ __exportStar(require("./AutomationRunActionDto"), exports);
156
160
  __exportStar(require("./AutomationRunAutomationDto"), exports);
157
161
  __exportStar(require("./AutomationRunDto"), exports);
158
162
  __exportStar(require("./AutomationRunLeadDto"), exports);
163
+ __exportStar(require("./AutomationSimulationDelayedActionDto"), exports);
159
164
  __exportStar(require("./AutomationSimulationDto"), exports);
160
165
  __exportStar(require("./AutomationStatusInput"), exports);
161
166
  __exportStar(require("./AutomationTriggerEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.553",
3
+ "version": "0.0.555",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -1195,6 +1195,7 @@ export const GetAccountPaymentMethodsGatewayEnum = {
1195
1195
  STRIPE: 'stripe',
1196
1196
  MOLLIE: 'mollie',
1197
1197
  NICKY: 'nicky',
1198
- AIRWALLEX: 'airwallex'
1198
+ AIRWALLEX: 'airwallex',
1199
+ RADOM: 'radom'
1199
1200
  } as const;
1200
1201
  export type GetAccountPaymentMethodsGatewayEnum = typeof GetAccountPaymentMethodsGatewayEnum[keyof typeof GetAccountPaymentMethodsGatewayEnum];
@@ -73,7 +73,8 @@ export const AccountPaymentMethodProfileDtoGatewayEnum = {
73
73
  STRIPE: 'stripe',
74
74
  MOLLIE: 'mollie',
75
75
  NICKY: 'nicky',
76
- AIRWALLEX: 'airwallex'
76
+ AIRWALLEX: 'airwallex',
77
+ RADOM: 'radom'
77
78
  } as const;
78
79
  export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
79
80
 
@@ -0,0 +1,94 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
17
+ import {
18
+ AutomationActionDelayUnitEnumFromJSON,
19
+ AutomationActionDelayUnitEnumFromJSONTyped,
20
+ AutomationActionDelayUnitEnumToJSON,
21
+ AutomationActionDelayUnitEnumToJSONTyped,
22
+ } from './AutomationActionDelayUnitEnum';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AutomationActionDelayDto
28
+ */
29
+ export interface AutomationActionDelayDto {
30
+ /**
31
+ * Shortest time the action waits.
32
+ * @type {number}
33
+ * @memberof AutomationActionDelayDto
34
+ */
35
+ min: number;
36
+ /**
37
+ * Longest time the action waits; the same as the shortest for a fixed wait.
38
+ * @type {number}
39
+ * @memberof AutomationActionDelayDto
40
+ */
41
+ max: number;
42
+ /**
43
+ * Unit of both times.
44
+ * @type {AutomationActionDelayUnitEnum}
45
+ * @memberof AutomationActionDelayDto
46
+ */
47
+ unit: AutomationActionDelayUnitEnum;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the AutomationActionDelayDto interface.
54
+ */
55
+ export function instanceOfAutomationActionDelayDto(value: object): value is AutomationActionDelayDto {
56
+ if (!('min' in value) || value['min'] === undefined) return false;
57
+ if (!('max' in value) || value['max'] === undefined) return false;
58
+ if (!('unit' in value) || value['unit'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function AutomationActionDelayDtoFromJSON(json: any): AutomationActionDelayDto {
63
+ return AutomationActionDelayDtoFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function AutomationActionDelayDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayDto {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'min': json['min'],
73
+ 'max': json['max'],
74
+ 'unit': AutomationActionDelayUnitEnumFromJSON(json['unit']),
75
+ };
76
+ }
77
+
78
+ export function AutomationActionDelayDtoToJSON(json: any): AutomationActionDelayDto {
79
+ return AutomationActionDelayDtoToJSONTyped(json, false);
80
+ }
81
+
82
+ export function AutomationActionDelayDtoToJSONTyped(value?: AutomationActionDelayDto | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'min': value['min'],
90
+ 'max': value['max'],
91
+ 'unit': AutomationActionDelayUnitEnumToJSON(value['unit']),
92
+ };
93
+ }
94
+
@@ -0,0 +1,94 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AutomationActionDelayUnitEnum } from './AutomationActionDelayUnitEnum';
17
+ import {
18
+ AutomationActionDelayUnitEnumFromJSON,
19
+ AutomationActionDelayUnitEnumFromJSONTyped,
20
+ AutomationActionDelayUnitEnumToJSON,
21
+ AutomationActionDelayUnitEnumToJSONTyped,
22
+ } from './AutomationActionDelayUnitEnum';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AutomationActionDelayInput
28
+ */
29
+ export interface AutomationActionDelayInput {
30
+ /**
31
+ * Shortest time the action waits.
32
+ * @type {number}
33
+ * @memberof AutomationActionDelayInput
34
+ */
35
+ min: number;
36
+ /**
37
+ * Longest time the action waits; the same as the shortest for a fixed wait.
38
+ * @type {number}
39
+ * @memberof AutomationActionDelayInput
40
+ */
41
+ max: number;
42
+ /**
43
+ * Unit of both times.
44
+ * @type {AutomationActionDelayUnitEnum}
45
+ * @memberof AutomationActionDelayInput
46
+ */
47
+ unit: AutomationActionDelayUnitEnum;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the AutomationActionDelayInput interface.
54
+ */
55
+ export function instanceOfAutomationActionDelayInput(value: object): value is AutomationActionDelayInput {
56
+ if (!('min' in value) || value['min'] === undefined) return false;
57
+ if (!('max' in value) || value['max'] === undefined) return false;
58
+ if (!('unit' in value) || value['unit'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function AutomationActionDelayInputFromJSON(json: any): AutomationActionDelayInput {
63
+ return AutomationActionDelayInputFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function AutomationActionDelayInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayInput {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'min': json['min'],
73
+ 'max': json['max'],
74
+ 'unit': AutomationActionDelayUnitEnumFromJSON(json['unit']),
75
+ };
76
+ }
77
+
78
+ export function AutomationActionDelayInputToJSON(json: any): AutomationActionDelayInput {
79
+ return AutomationActionDelayInputToJSONTyped(json, false);
80
+ }
81
+
82
+ export function AutomationActionDelayInputToJSONTyped(value?: AutomationActionDelayInput | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'min': value['min'],
90
+ 'max': value['max'],
91
+ 'unit': AutomationActionDelayUnitEnumToJSON(value['unit']),
92
+ };
93
+ }
94
+
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * Unit of both times.
18
+ * @export
19
+ */
20
+ export const AutomationActionDelayUnitEnum = {
21
+ MINUTES: 'minutes',
22
+ HOURS: 'hours'
23
+ } as const;
24
+ export type AutomationActionDelayUnitEnum = typeof AutomationActionDelayUnitEnum[keyof typeof AutomationActionDelayUnitEnum];
25
+
26
+
27
+ export function instanceOfAutomationActionDelayUnitEnum(value: any): boolean {
28
+ for (const key in AutomationActionDelayUnitEnum) {
29
+ if (Object.prototype.hasOwnProperty.call(AutomationActionDelayUnitEnum, key)) {
30
+ if (AutomationActionDelayUnitEnum[key as keyof typeof AutomationActionDelayUnitEnum] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function AutomationActionDelayUnitEnumFromJSON(json: any): AutomationActionDelayUnitEnum {
39
+ return AutomationActionDelayUnitEnumFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function AutomationActionDelayUnitEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationActionDelayUnitEnum {
43
+ return json as AutomationActionDelayUnitEnum;
44
+ }
45
+
46
+ export function AutomationActionDelayUnitEnumToJSON(value?: AutomationActionDelayUnitEnum | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function AutomationActionDelayUnitEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationActionDelayUnitEnum {
51
+ return value as AutomationActionDelayUnitEnum;
52
+ }
53
+