@drakkar.software/octobot-protocol 0.1.0

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 (86) hide show
  1. package/models/Account.ts +89 -0
  2. package/models/AccountActionResult.ts +63 -0
  3. package/models/AccountActionResultErrorMessage.ts +21 -0
  4. package/models/AccountDetails.ts +38 -0
  5. package/models/AccountReference.ts +38 -0
  6. package/models/AccountState.ts +49 -0
  7. package/models/AccountStatus.ts +21 -0
  8. package/models/AccountStatusMessage.ts +27 -0
  9. package/models/AccountType.ts +21 -0
  10. package/models/AccountsState.ts +46 -0
  11. package/models/Action.ts +90 -0
  12. package/models/ActionConfigurationType.ts +25 -0
  13. package/models/ActiveOrderSwapStrategy.ts +55 -0
  14. package/models/ActiveOrderSwapStrategyType.ts +20 -0
  15. package/models/Asset.ts +66 -0
  16. package/models/AutomationActionResult.ts +70 -0
  17. package/models/AutomationActionResultErrorMessage.ts +24 -0
  18. package/models/AutomationConfiguration.ts +75 -0
  19. package/models/AutomationMetadata.ts +59 -0
  20. package/models/AutomationState.ts +117 -0
  21. package/models/BlockchainAccount.ts +79 -0
  22. package/models/CancelPolicy.ts +48 -0
  23. package/models/CancelPolicyType.ts +20 -0
  24. package/models/CopiedAccount.ts +76 -0
  25. package/models/CopiedAsset.ts +59 -0
  26. package/models/CopyConfiguration.ts +51 -0
  27. package/models/CreateAccountConfiguration.ts +52 -0
  28. package/models/CreateAutomationConfiguration.ts +52 -0
  29. package/models/DCAConfiguration.ts +127 -0
  30. package/models/DeleteAccountConfiguration.ts +51 -0
  31. package/models/EMAMomentumEvaluatorConfiguration.ts +65 -0
  32. package/models/EditAccountConfiguration.ts +59 -0
  33. package/models/EditAutomationConfiguration.ts +59 -0
  34. package/models/EvaluatorConfiguration.ts +39 -0
  35. package/models/EvaluatorConfigurationConfiguration.ts +35 -0
  36. package/models/EvaluatorType.ts +20 -0
  37. package/models/ExchangeAccount.ts +119 -0
  38. package/models/GenericAccount.ts +52 -0
  39. package/models/GenericProcessConfiguration.ts +51 -0
  40. package/models/GenericWorkflowConfiguration.ts +52 -0
  41. package/models/GridConfiguration.ts +112 -0
  42. package/models/IndexCoin.ts +45 -0
  43. package/models/IndexConfiguration.ts +59 -0
  44. package/models/MarketMakingConfiguration.ts +52 -0
  45. package/models/MarketMakingFundsDistribution.ts +21 -0
  46. package/models/MarketMakingHedgingEngine.ts +86 -0
  47. package/models/MarketMakingOrderBookDepth.ts +45 -0
  48. package/models/MarketMakingOrdersDistribution.ts +19 -0
  49. package/models/MarketMakingReferencePair.ts +75 -0
  50. package/models/MarketMakingScheduledVolume.ts +59 -0
  51. package/models/MarketMakingStopConditions.ts +69 -0
  52. package/models/MarketMakingSymbolConfiguration.ts +171 -0
  53. package/models/Order.ts +172 -0
  54. package/models/OrderGroup.ts +56 -0
  55. package/models/OrderGroupType.ts +21 -0
  56. package/models/OrderStatus.ts +28 -0
  57. package/models/OrderSummary.ts +45 -0
  58. package/models/OrderType.ts +24 -0
  59. package/models/Position.ts +91 -0
  60. package/models/PositionStatus.ts +22 -0
  61. package/models/PositionSummary.ts +45 -0
  62. package/models/RSIMomentumEvaluatorConfiguration.ts +65 -0
  63. package/models/RefreshAccountsConfiguration.ts +51 -0
  64. package/models/Side.ts +20 -0
  65. package/models/StopAutomationConfiguration.ts +51 -0
  66. package/models/StrategiesState.ts +46 -0
  67. package/models/Strategy.ts +81 -0
  68. package/models/StrategyConfiguration.ts +50 -0
  69. package/models/StrategyReference.ts +52 -0
  70. package/models/TaskStatus.ts +24 -0
  71. package/models/TimeFrame.ts +30 -0
  72. package/models/Trade.ts +99 -0
  73. package/models/TradeSummary.ts +45 -0
  74. package/models/TradingType.ts +22 -0
  75. package/models/TrailingProfile.ts +48 -0
  76. package/models/TrailingProfileType.ts +19 -0
  77. package/models/UserAction.ts +78 -0
  78. package/models/UserActionConfiguration.ts +50 -0
  79. package/models/UserActionResult.ts +35 -0
  80. package/models/UserActionResultType.ts +20 -0
  81. package/models/UserActionStatus.ts +22 -0
  82. package/models/UserActionType.ts +25 -0
  83. package/models/UserActionsState.ts +46 -0
  84. package/models/UserDataState.ts +54 -0
  85. package/models/index.ts +84 -0
  86. package/package.json +9 -0
@@ -0,0 +1,70 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { AutomationActionResultErrorMessage } from '../models/AutomationActionResultErrorMessage';
14
+ import { UserActionResultType } from '../models/UserActionResultType';
15
+
16
+ /**
17
+ * AutomationActionResult
18
+ */
19
+ export class AutomationActionResult {
20
+ 'updated_at': Date;
21
+ 'error_message'?: AutomationActionResultErrorMessage;
22
+ 'error_details'?: string;
23
+ 'created_automation_id'?: string;
24
+ 'result_type': UserActionResultType;
25
+
26
+ static readonly discriminator: string | undefined = undefined;
27
+
28
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
29
+
30
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
31
+ {
32
+ "name": "updated_at",
33
+ "baseName": "updated_at",
34
+ "type": "Date",
35
+ "format": "date-time"
36
+ },
37
+ {
38
+ "name": "error_message",
39
+ "baseName": "error_message",
40
+ "type": "AutomationActionResultErrorMessage",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "error_details",
45
+ "baseName": "error_details",
46
+ "type": "string",
47
+ "format": ""
48
+ },
49
+ {
50
+ "name": "created_automation_id",
51
+ "baseName": "created_automation_id",
52
+ "type": "string",
53
+ "format": ""
54
+ },
55
+ {
56
+ "name": "result_type",
57
+ "baseName": "result_type",
58
+ "type": "UserActionResultType",
59
+ "format": ""
60
+ } ];
61
+
62
+ static getAttributeTypeMap() {
63
+ return AutomationActionResult.attributeTypeMap;
64
+ }
65
+
66
+ public constructor() {
67
+ }
68
+ }
69
+
70
+
@@ -0,0 +1,24 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ /**
15
+ * AutomationActionResultErrorMessage
16
+ */
17
+ export enum AutomationActionResultErrorMessage {
18
+ AutomationNotFound = 'automation_not_found',
19
+ InvalidConfiguration = 'invalid_configuration',
20
+ StrategyNotFound = 'strategy_not_found',
21
+ StrategyVersionNotFound = 'strategy_version_not_found',
22
+ AccountNotFound = 'account_not_found',
23
+ InternalError = 'internal_error'
24
+ }
@@ -0,0 +1,75 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { AccountReference } from '../models/AccountReference';
14
+ import { StrategyReference } from '../models/StrategyReference';
15
+
16
+ /**
17
+ * AutomationConfiguration
18
+ */
19
+ export class AutomationConfiguration {
20
+ 'name': string;
21
+ 'description'?: string;
22
+ 'created_at': Date;
23
+ 'updated_at'?: Date;
24
+ 'strategy': StrategyReference;
25
+ 'accounts': Array<AccountReference>;
26
+
27
+ static readonly discriminator: string | undefined = undefined;
28
+
29
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
30
+
31
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32
+ {
33
+ "name": "name",
34
+ "baseName": "name",
35
+ "type": "string",
36
+ "format": ""
37
+ },
38
+ {
39
+ "name": "description",
40
+ "baseName": "description",
41
+ "type": "string",
42
+ "format": ""
43
+ },
44
+ {
45
+ "name": "created_at",
46
+ "baseName": "created_at",
47
+ "type": "Date",
48
+ "format": "date-time"
49
+ },
50
+ {
51
+ "name": "updated_at",
52
+ "baseName": "updated_at",
53
+ "type": "Date",
54
+ "format": "date-time"
55
+ },
56
+ {
57
+ "name": "strategy",
58
+ "baseName": "strategy",
59
+ "type": "StrategyReference",
60
+ "format": ""
61
+ },
62
+ {
63
+ "name": "accounts",
64
+ "baseName": "accounts",
65
+ "type": "Array<AccountReference>",
66
+ "format": ""
67
+ } ];
68
+
69
+ static getAttributeTypeMap() {
70
+ return AutomationConfiguration.attributeTypeMap;
71
+ }
72
+
73
+ public constructor() {
74
+ }
75
+ }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ /**
15
+ * AutomationMetadata
16
+ */
17
+ export class AutomationMetadata {
18
+ 'name': string;
19
+ 'description': string;
20
+ 'created_at'?: Date;
21
+ 'updated_at'?: Date;
22
+
23
+ static readonly discriminator: string | undefined = undefined;
24
+
25
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
26
+
27
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
28
+ {
29
+ "name": "name",
30
+ "baseName": "name",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "description",
36
+ "baseName": "description",
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "created_at",
42
+ "baseName": "created_at",
43
+ "type": "Date",
44
+ "format": "date-time"
45
+ },
46
+ {
47
+ "name": "updated_at",
48
+ "baseName": "updated_at",
49
+ "type": "Date",
50
+ "format": "date-time"
51
+ } ];
52
+
53
+ static getAttributeTypeMap() {
54
+ return AutomationMetadata.attributeTypeMap;
55
+ }
56
+
57
+ public constructor() {
58
+ }
59
+ }
@@ -0,0 +1,117 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { Action } from '../models/Action';
14
+ import { Asset } from '../models/Asset';
15
+ import { AutomationMetadata } from '../models/AutomationMetadata';
16
+ import { OrderSummary } from '../models/OrderSummary';
17
+ import { PositionSummary } from '../models/PositionSummary';
18
+ import { TaskStatus } from '../models/TaskStatus';
19
+ import { TradeSummary } from '../models/TradeSummary';
20
+
21
+ /**
22
+ * AutomationState
23
+ */
24
+ export class AutomationState {
25
+ 'id': string;
26
+ 'status': TaskStatus;
27
+ 'metadata': AutomationMetadata;
28
+ 'actions'?: Array<Action>;
29
+ 'priority_actions'?: Array<Action>;
30
+ 'exchanges'?: Array<string>;
31
+ 'exchange_account_ids'?: Array<string>;
32
+ 'assets'?: Array<Asset>;
33
+ 'orders'?: Array<OrderSummary>;
34
+ 'trades'?: Array<TradeSummary>;
35
+ 'positions'?: Array<PositionSummary>;
36
+
37
+ static readonly discriminator: string | undefined = undefined;
38
+
39
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
40
+
41
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
42
+ {
43
+ "name": "id",
44
+ "baseName": "id",
45
+ "type": "string",
46
+ "format": ""
47
+ },
48
+ {
49
+ "name": "status",
50
+ "baseName": "status",
51
+ "type": "TaskStatus",
52
+ "format": ""
53
+ },
54
+ {
55
+ "name": "metadata",
56
+ "baseName": "metadata",
57
+ "type": "AutomationMetadata",
58
+ "format": ""
59
+ },
60
+ {
61
+ "name": "actions",
62
+ "baseName": "actions",
63
+ "type": "Array<Action>",
64
+ "format": ""
65
+ },
66
+ {
67
+ "name": "priority_actions",
68
+ "baseName": "priority_actions",
69
+ "type": "Array<Action>",
70
+ "format": ""
71
+ },
72
+ {
73
+ "name": "exchanges",
74
+ "baseName": "exchanges",
75
+ "type": "Array<string>",
76
+ "format": ""
77
+ },
78
+ {
79
+ "name": "exchange_account_ids",
80
+ "baseName": "exchange_account_ids",
81
+ "type": "Array<string>",
82
+ "format": ""
83
+ },
84
+ {
85
+ "name": "assets",
86
+ "baseName": "assets",
87
+ "type": "Array<Asset>",
88
+ "format": ""
89
+ },
90
+ {
91
+ "name": "orders",
92
+ "baseName": "orders",
93
+ "type": "Array<OrderSummary>",
94
+ "format": ""
95
+ },
96
+ {
97
+ "name": "trades",
98
+ "baseName": "trades",
99
+ "type": "Array<TradeSummary>",
100
+ "format": ""
101
+ },
102
+ {
103
+ "name": "positions",
104
+ "baseName": "positions",
105
+ "type": "Array<PositionSummary>",
106
+ "format": ""
107
+ } ];
108
+
109
+ static getAttributeTypeMap() {
110
+ return AutomationState.attributeTypeMap;
111
+ }
112
+
113
+ public constructor() {
114
+ }
115
+ }
116
+
117
+
@@ -0,0 +1,79 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { AccountType } from '../models/AccountType';
14
+
15
+ /**
16
+ * BlockchainAccount
17
+ */
18
+ export class BlockchainAccount {
19
+ /**
20
+ * blockchain
21
+ */
22
+ 'account_type': AccountType;
23
+ 'blockchain': string;
24
+ 'network'?: string;
25
+ 'public_key'?: string;
26
+ 'private_key'?: string;
27
+ 'passphrase'?: string;
28
+
29
+ static readonly discriminator: string | undefined = undefined;
30
+
31
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
32
+
33
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
34
+ {
35
+ "name": "account_type",
36
+ "baseName": "account_type",
37
+ "type": "AccountType",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "blockchain",
42
+ "baseName": "blockchain",
43
+ "type": "string",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "network",
48
+ "baseName": "network",
49
+ "type": "string",
50
+ "format": ""
51
+ },
52
+ {
53
+ "name": "public_key",
54
+ "baseName": "public_key",
55
+ "type": "string",
56
+ "format": ""
57
+ },
58
+ {
59
+ "name": "private_key",
60
+ "baseName": "private_key",
61
+ "type": "string",
62
+ "format": ""
63
+ },
64
+ {
65
+ "name": "passphrase",
66
+ "baseName": "passphrase",
67
+ "type": "string",
68
+ "format": ""
69
+ } ];
70
+
71
+ static getAttributeTypeMap() {
72
+ return BlockchainAccount.attributeTypeMap;
73
+ }
74
+
75
+ public constructor() {
76
+ }
77
+ }
78
+
79
+
@@ -0,0 +1,48 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { CancelPolicyType } from '../models/CancelPolicyType';
14
+
15
+ /**
16
+ * CancelPolicy
17
+ */
18
+ export class CancelPolicy {
19
+ 'type': CancelPolicyType;
20
+ 'details'?: any;
21
+
22
+ static readonly discriminator: string | undefined = undefined;
23
+
24
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
25
+
26
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
27
+ {
28
+ "name": "type",
29
+ "baseName": "type",
30
+ "type": "CancelPolicyType",
31
+ "format": ""
32
+ },
33
+ {
34
+ "name": "details",
35
+ "baseName": "details",
36
+ "type": "any",
37
+ "format": ""
38
+ } ];
39
+
40
+ static getAttributeTypeMap() {
41
+ return CancelPolicy.attributeTypeMap;
42
+ }
43
+
44
+ public constructor() {
45
+ }
46
+ }
47
+
48
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ /**
15
+ * Cancel policy class name (mirrors octobot_trading cancel_policy_factory).
16
+ */
17
+ export enum CancelPolicyType {
18
+ ExpirationTimeOrderCancelPolicy = 'ExpirationTimeOrderCancelPolicy',
19
+ ChainedOrderFillingPriceOrderCancelPolicy = 'ChainedOrderFillingPriceOrderCancelPolicy'
20
+ }
@@ -0,0 +1,76 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { CopiedAsset } from '../models/CopiedAsset';
14
+ import { Order } from '../models/Order';
15
+ import { Position } from '../models/Position';
16
+
17
+ /**
18
+ * CopiedAccount
19
+ */
20
+ export class CopiedAccount {
21
+ 'version': string;
22
+ 'updated_at': number;
23
+ 'copied_assets': Array<CopiedAsset>;
24
+ 'orders'?: Array<Order>;
25
+ 'positions'?: Array<Position>;
26
+ 'historical_snapshots'?: Array<CopiedAccount>;
27
+
28
+ static readonly discriminator: string | undefined = undefined;
29
+
30
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
31
+
32
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
33
+ {
34
+ "name": "version",
35
+ "baseName": "version",
36
+ "type": "string",
37
+ "format": ""
38
+ },
39
+ {
40
+ "name": "updated_at",
41
+ "baseName": "updated_at",
42
+ "type": "number",
43
+ "format": ""
44
+ },
45
+ {
46
+ "name": "copied_assets",
47
+ "baseName": "copied_assets",
48
+ "type": "Array<CopiedAsset>",
49
+ "format": ""
50
+ },
51
+ {
52
+ "name": "orders",
53
+ "baseName": "orders",
54
+ "type": "Array<Order>",
55
+ "format": ""
56
+ },
57
+ {
58
+ "name": "positions",
59
+ "baseName": "positions",
60
+ "type": "Array<Position>",
61
+ "format": ""
62
+ },
63
+ {
64
+ "name": "historical_snapshots",
65
+ "baseName": "historical_snapshots",
66
+ "type": "Array<CopiedAccount>",
67
+ "format": ""
68
+ } ];
69
+
70
+ static getAttributeTypeMap() {
71
+ return CopiedAccount.attributeTypeMap;
72
+ }
73
+
74
+ public constructor() {
75
+ }
76
+ }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ /**
15
+ * CopiedAsset
16
+ */
17
+ export class CopiedAsset {
18
+ 'name': string;
19
+ 'total': number;
20
+ 'available': number;
21
+ 'ratio': number;
22
+
23
+ static readonly discriminator: string | undefined = undefined;
24
+
25
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
26
+
27
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
28
+ {
29
+ "name": "name",
30
+ "baseName": "name",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "total",
36
+ "baseName": "total",
37
+ "type": "number",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "available",
42
+ "baseName": "available",
43
+ "type": "number",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "ratio",
48
+ "baseName": "ratio",
49
+ "type": "number",
50
+ "format": ""
51
+ } ];
52
+
53
+ static getAttributeTypeMap() {
54
+ return CopiedAsset.attributeTypeMap;
55
+ }
56
+
57
+ public constructor() {
58
+ }
59
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * OctoBot protocol types
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.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
+ import { ActionConfigurationType } from '../models/ActionConfigurationType';
14
+
15
+ /**
16
+ * CopyConfiguration
17
+ */
18
+ export class CopyConfiguration {
19
+ /**
20
+ * copy
21
+ */
22
+ 'configuration_type': ActionConfigurationType;
23
+ 'strategy_id': string;
24
+
25
+ static readonly discriminator: string | undefined = undefined;
26
+
27
+ static readonly mapping: {[index: string]: string} | undefined = undefined;
28
+
29
+ static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
30
+ {
31
+ "name": "configuration_type",
32
+ "baseName": "configuration_type",
33
+ "type": "ActionConfigurationType",
34
+ "format": ""
35
+ },
36
+ {
37
+ "name": "strategy_id",
38
+ "baseName": "strategy_id",
39
+ "type": "string",
40
+ "format": ""
41
+ } ];
42
+
43
+ static getAttributeTypeMap() {
44
+ return CopyConfiguration.attributeTypeMap;
45
+ }
46
+
47
+ public constructor() {
48
+ }
49
+ }
50
+
51
+