@edgeiq/edgeiq-api-js 1.4.4 → 1.4.5

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 (210) hide show
  1. package/README.md +55 -55
  2. package/dist/__tests__/auth.test.d.ts +1 -1
  3. package/dist/__tests__/auth.test.js +159 -159
  4. package/dist/__tests__/command.test.d.ts +1 -1
  5. package/dist/__tests__/command.test.js +212 -212
  6. package/dist/__tests__/companies.test.d.ts +1 -1
  7. package/dist/__tests__/companies.test.js +196 -196
  8. package/dist/__tests__/deviceErrors.test.d.ts +1 -1
  9. package/dist/__tests__/deviceErrors.test.js +72 -72
  10. package/dist/__tests__/deviceTypes.test.d.ts +1 -1
  11. package/dist/__tests__/deviceTypes.test.js +172 -172
  12. package/dist/__tests__/devices.test.d.ts +1 -1
  13. package/dist/__tests__/devices.test.js +232 -232
  14. package/dist/__tests__/discoveredDevice.test.d.ts +1 -1
  15. package/dist/__tests__/discoveredDevice.test.js +155 -155
  16. package/dist/__tests__/files.test.d.ts +1 -1
  17. package/dist/__tests__/files.test.js +162 -162
  18. package/dist/__tests__/ingestors.test.d.ts +1 -1
  19. package/dist/__tests__/ingestors.test.js +198 -198
  20. package/dist/__tests__/integrations.test.d.ts +1 -1
  21. package/dist/__tests__/integrations.test.js +211 -211
  22. package/dist/__tests__/lwm2m.test.d.ts +1 -1
  23. package/dist/__tests__/lwm2m.test.js +73 -73
  24. package/dist/__tests__/notifications.test.d.ts +1 -1
  25. package/dist/__tests__/notifications.test.js +72 -72
  26. package/dist/__tests__/pollableAttributes.test.d.ts +1 -1
  27. package/dist/__tests__/pollableAttributes.test.js +172 -172
  28. package/dist/__tests__/rules.test.d.ts +1 -1
  29. package/dist/__tests__/rules.test.js +172 -172
  30. package/dist/__tests__/testConstants.d.ts +7 -0
  31. package/dist/__tests__/testConstants.js +14 -0
  32. package/dist/__tests__/translators.test.d.ts +1 -1
  33. package/dist/__tests__/translators.test.js +172 -172
  34. package/dist/__tests__/users.test.d.ts +1 -1
  35. package/dist/__tests__/users.test.js +208 -208
  36. package/dist/auth/index.d.ts +9 -9
  37. package/dist/auth/index.js +183 -183
  38. package/dist/bulkResponses/index.d.ts +8 -8
  39. package/dist/bulkResponses/index.js +124 -124
  40. package/dist/bulkResponses/models.d.ts +45 -44
  41. package/dist/bulkResponses/models.js +2 -2
  42. package/dist/commandExecutions/index.d.ts +8 -8
  43. package/dist/commandExecutions/index.js +220 -220
  44. package/dist/commandExecutions/models.d.ts +26 -25
  45. package/dist/commandExecutions/models.js +2 -2
  46. package/dist/commands/index.d.ts +18 -18
  47. package/dist/commands/index.js +378 -378
  48. package/dist/commands/models.d.ts +40 -39
  49. package/dist/commands/models.js +16 -16
  50. package/dist/companies/index.d.ts +10 -10
  51. package/dist/companies/index.js +246 -246
  52. package/dist/companies/models.d.ts +110 -110
  53. package/dist/companies/models.js +2 -2
  54. package/dist/configurations/index.d.ts +9 -9
  55. package/dist/configurations/index.js +223 -223
  56. package/dist/configurations/models.d.ts +34 -34
  57. package/dist/configurations/models.js +2 -2
  58. package/dist/constants.d.ts +153 -153
  59. package/dist/constants.js +169 -169
  60. package/dist/core/ModelClass.d.ts +13 -13
  61. package/dist/core/ModelClass.js +19 -19
  62. package/dist/core/handleResponseError.d.ts +2 -2
  63. package/dist/core/handleResponseError.js +167 -167
  64. package/dist/core/index.d.ts +19 -19
  65. package/dist/core/index.js +63 -63
  66. package/dist/deviceConfigs/index.d.ts +9 -9
  67. package/dist/deviceConfigs/index.js +224 -224
  68. package/dist/deviceConfigs/models.d.ts +38 -38
  69. package/dist/deviceConfigs/models.js +2 -2
  70. package/dist/deviceErrors/index.d.ts +8 -8
  71. package/dist/deviceErrors/index.js +124 -124
  72. package/dist/deviceErrors/models.d.ts +19 -19
  73. package/dist/deviceErrors/models.js +2 -2
  74. package/dist/deviceLocationObservations/index.d.ts +5 -5
  75. package/dist/deviceLocationObservations/index.js +189 -189
  76. package/dist/deviceLocationObservations/models.d.ts +26 -26
  77. package/dist/deviceLocationObservations/models.js +2 -2
  78. package/dist/deviceTemplates/index.d.ts +9 -9
  79. package/dist/deviceTemplates/index.js +226 -226
  80. package/dist/deviceTemplates/models.d.ts +36 -36
  81. package/dist/deviceTemplates/models.js +2 -2
  82. package/dist/deviceTransferRequests/index.d.ts +10 -10
  83. package/dist/deviceTransferRequests/index.js +247 -247
  84. package/dist/deviceTransferRequests/models.d.ts +26 -26
  85. package/dist/deviceTransferRequests/models.js +2 -2
  86. package/dist/deviceTypes/index.d.ts +20 -20
  87. package/dist/deviceTypes/index.js +464 -464
  88. package/dist/deviceTypes/models.d.ts +109 -109
  89. package/dist/deviceTypes/models.js +2 -2
  90. package/dist/devices/index.d.ts +33 -32
  91. package/dist/devices/index.js +758 -730
  92. package/dist/devices/models.d.ts +128 -127
  93. package/dist/devices/models.js +2 -2
  94. package/dist/discoveredDevices/index.d.ts +15 -15
  95. package/dist/discoveredDevices/index.js +361 -361
  96. package/dist/discoveredDevices/models.d.ts +41 -41
  97. package/dist/discoveredDevices/models.js +2 -2
  98. package/dist/downstreamSystems/index.d.ts +7 -7
  99. package/dist/downstreamSystems/index.js +198 -198
  100. package/dist/downstreamSystems/models.d.ts +17 -17
  101. package/dist/downstreamSystems/models.js +2 -2
  102. package/dist/escrowDevices/index.d.ts +9 -9
  103. package/dist/escrowDevices/index.js +224 -224
  104. package/dist/escrowDevices/models.d.ts +32 -32
  105. package/dist/escrowDevices/models.js +2 -2
  106. package/dist/example/index.d.ts +1 -0
  107. package/dist/example/index.js +5 -0
  108. package/dist/files/index.d.ts +11 -11
  109. package/dist/files/index.js +278 -278
  110. package/dist/files/models.d.ts +20 -20
  111. package/dist/files/models.js +2 -2
  112. package/dist/filtersParser.d.ts +5 -5
  113. package/dist/filtersParser.js +54 -54
  114. package/dist/gatewayCommands/index.d.ts +9 -9
  115. package/dist/gatewayCommands/index.js +224 -224
  116. package/dist/gatewayCommands/models.d.ts +81 -81
  117. package/dist/gatewayCommands/models.js +2 -2
  118. package/dist/helpers.d.ts +3 -3
  119. package/dist/helpers.js +11 -11
  120. package/dist/index.d.ts +74 -74
  121. package/dist/index.js +124 -124
  122. package/dist/ingestors/index.d.ts +9 -9
  123. package/dist/ingestors/index.js +224 -224
  124. package/dist/ingestors/models.d.ts +97 -97
  125. package/dist/ingestors/models.js +2 -2
  126. package/dist/integrations/index.d.ts +10 -10
  127. package/dist/integrations/index.js +340 -340
  128. package/dist/integrations/models.d.ts +76 -76
  129. package/dist/integrations/models.js +2 -2
  130. package/dist/log/models.d.ts +6 -6
  131. package/dist/log/models.js +2 -2
  132. package/dist/lwm2m/index.d.ts +5 -5
  133. package/dist/lwm2m/index.js +84 -84
  134. package/dist/lwm2m/models.d.ts +68 -68
  135. package/dist/lwm2m/models.js +2 -2
  136. package/dist/lwm2mState/index.d.ts +5 -5
  137. package/dist/lwm2mState/index.js +71 -71
  138. package/dist/lwm2mState/models.d.ts +10 -10
  139. package/dist/lwm2mState/models.js +2 -2
  140. package/dist/models/index.d.ts +1896 -1893
  141. package/dist/models/index.js +2 -2
  142. package/dist/models.d.ts +67 -67
  143. package/dist/models.js +2 -2
  144. package/dist/notifications/index.d.ts +8 -8
  145. package/dist/notifications/index.js +124 -124
  146. package/dist/notifications/models.d.ts +19 -19
  147. package/dist/notifications/models.js +2 -2
  148. package/dist/pollableAttributes/index.d.ts +7 -7
  149. package/dist/pollableAttributes/index.js +198 -198
  150. package/dist/pollableAttributes/models.d.ts +49 -49
  151. package/dist/pollableAttributes/models.js +2 -2
  152. package/dist/regions/index.d.ts +5 -5
  153. package/dist/regions/index.js +173 -173
  154. package/dist/regions/models.d.ts +17 -17
  155. package/dist/regions/models.js +2 -2
  156. package/dist/reports/index.d.ts +8 -8
  157. package/dist/reports/index.js +199 -199
  158. package/dist/reports/models.d.ts +25 -25
  159. package/dist/reports/models.js +2 -2
  160. package/dist/rules/index.d.ts +12 -12
  161. package/dist/rules/index.js +272 -272
  162. package/dist/rules/models.d.ts +129 -129
  163. package/dist/rules/models.js +2 -2
  164. package/dist/secrets/index.d.ts +8 -8
  165. package/dist/secrets/index.js +199 -199
  166. package/dist/secrets/models.d.ts +18 -18
  167. package/dist/secrets/models.js +2 -2
  168. package/dist/settings/index.d.ts +7 -7
  169. package/dist/settings/index.js +198 -198
  170. package/dist/settings/models.d.ts +25 -25
  171. package/dist/settings/models.js +2 -2
  172. package/dist/settingsApplicationRecord/index.d.ts +6 -6
  173. package/dist/settingsApplicationRecord/index.js +79 -79
  174. package/dist/settingsApplicationRecord/models.d.ts +28 -28
  175. package/dist/settingsApplicationRecord/models.js +2 -2
  176. package/dist/softwareUpdates/index.d.ts +15 -15
  177. package/dist/softwareUpdates/index.js +374 -374
  178. package/dist/softwareUpdates/models.d.ts +31 -31
  179. package/dist/softwareUpdates/models.js +2 -2
  180. package/dist/stats/index.d.ts +9 -9
  181. package/dist/stats/index.js +140 -140
  182. package/dist/stats/models.d.ts +27 -27
  183. package/dist/stats/models.js +2 -2
  184. package/dist/systemCommandJobs/index.d.ts +5 -5
  185. package/dist/systemCommandJobs/index.js +173 -173
  186. package/dist/systemCommandJobs/models.d.ts +32 -32
  187. package/dist/systemCommandJobs/models.js +2 -2
  188. package/dist/systemCommands/index.d.ts +7 -7
  189. package/dist/systemCommands/index.js +198 -198
  190. package/dist/systemCommands/models.d.ts +32 -32
  191. package/dist/systemCommands/models.js +2 -2
  192. package/dist/testConstants.d.ts +50 -50
  193. package/dist/testConstants.js +332 -332
  194. package/dist/translators/index.d.ts +9 -9
  195. package/dist/translators/index.js +224 -224
  196. package/dist/translators/models.d.ts +21 -21
  197. package/dist/translators/models.js +2 -2
  198. package/dist/userTypes/index.d.ts +7 -7
  199. package/dist/userTypes/index.js +198 -198
  200. package/dist/userTypes/models.d.ts +79 -79
  201. package/dist/userTypes/models.js +2 -2
  202. package/dist/users/index.d.ts +12 -12
  203. package/dist/users/index.js +300 -300
  204. package/dist/users/models.d.ts +42 -42
  205. package/dist/users/models.js +2 -2
  206. package/package.json +56 -56
  207. package/dist/deviceFiles/index.d.ts +0 -9
  208. package/dist/deviceFiles/index.js +0 -278
  209. package/dist/deviceFiles/models.d.ts +0 -17
  210. package/dist/deviceFiles/models.js +0 -2
@@ -1,129 +1,129 @@
1
- import { Lwm2mRequest } from '../gatewayCommands/models';
2
- import { Base, Filter, Filters, Pagination } from '../models';
3
- export declare type RuleConditionType = 'true' | 'false' | 'equal' | 'not_equal' | 'less_than' | 'less_than_equal' | 'greater_than' | 'greater_than_equal' | 'in' | 'not_in' | 'moving_average' | 'value_changed' | 'device_error' | 'status_changed' | 'heartbeat_status_changed' | 'device_location_transition' | 'and' | 'or';
4
- export declare type DeviceErrorType = 'system' | 'rule_action' | 'config' | 'aws_iot' | 'aws_greengrass_iot' | 'azure_iot' | 'bluemix_iot';
5
- export declare type RuleActionType = 'aws_iot' | 'aws_iot_publish' | 'azure_iot' | 'create_device_health_status_event' | 'create_device_location_observation' | 'disable_data_restriction' | 'email' | 'enable_data_restriction' | 'greengrass_restart' | 'http_request' | 'mqtt' | 'notification' | 'relay' | 'sms' | 'tcp' | 'update_device_metadata' | 'workflow' | 'gateway_command';
6
- export declare type RuleActionBodyType = 'html' | 'text';
7
- export declare type LocationVia = 'gps' | 'cell_tower' | 'bluetooth' | 'wifi' | 'other';
8
- export declare type GeneratedAtFormat = 'rfc3339' | 'unix_timestamp';
9
- export declare type LocationTransitionDirectionType = 'arriving' | 'leaving';
10
- export declare type DerivedValuesTypes = 'count' | 'min' | 'max' | 'avg' | 'sum' | 'convert_indexed_keys';
11
- export declare type WhereConditionTypes = 'where' | 'or_where';
12
- export declare type WhereConditionOperators = 'equal' | 'not_equal' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'in' | 'not_in' | 'starts_with' | 'ends_with' | 'contains' | 'strict_contains' | 'length_equals' | 'length_not_equals' | 'length_greater_than' | 'length_greater_than_equal' | 'length_less_than' | 'length_less_than_equal';
13
- export interface CredentialData {
14
- type?: string;
15
- value: string;
16
- secret_id: string;
17
- }
18
- export interface Credentials {
19
- type: string;
20
- data: {
21
- [key: string]: CredentialData;
22
- };
23
- }
24
- export interface PRTGChannel {
25
- name?: string;
26
- value?: string;
27
- type?: string;
28
- default?: number;
29
- enum?: {
30
- [key: string]: number;
31
- };
32
- }
33
- export interface RuleAction {
34
- action_frequency?: unknown;
35
- body_template?: string;
36
- body_type?: RuleActionBodyType;
37
- clear?: boolean;
38
- client_id?: string;
39
- credentials?: Credentials;
40
- integration_id?: string;
41
- last_run?: string;
42
- password?: string;
43
- retries?: number;
44
- retry_timeout: number;
45
- send_to?: string;
46
- subject?: string;
47
- topic?: string;
48
- type: RuleActionType;
49
- url?: string;
50
- username?: string;
51
- will_topic?: string;
52
- keep_alive?: boolean;
53
- method?: string;
54
- headers?: {
55
- [key: string]: string;
56
- };
57
- from?: string;
58
- metadata_key?: string;
59
- health_status?: string;
60
- latitude_template?: string;
61
- longitude_template?: string;
62
- radius_template?: string;
63
- generated_at_template?: string;
64
- generated_at_format?: GeneratedAtFormat;
65
- location_via?: LocationVia;
66
- channels?: PRTGChannel[];
67
- definition_id?: string;
68
- request?: Lwm2mRequest;
69
- }
70
- export interface WhereCondition {
71
- type?: WhereConditionTypes;
72
- operator?: WhereConditionOperators;
73
- property?: string;
74
- value?: string | string[];
75
- }
76
- export interface DerivedValue {
77
- name?: string;
78
- type?: DerivedValuesTypes;
79
- property?: string;
80
- properties?: string[];
81
- data_set?: string;
82
- where_conditions?: WhereCondition[];
83
- }
84
- export interface RuleCondition {
85
- type: RuleConditionType;
86
- property?: string;
87
- value?: string[];
88
- value_type?: string;
89
- rule_conditions?: (RuleCondition | undefined)[];
90
- error_type?: DeviceErrorType;
91
- location_transition_evaluator?: LocationTransitionEvaluator;
92
- cold_start_trigger?: boolean;
93
- derived_values?: DerivedValue[];
94
- }
95
- export interface LocationTransitionEvaluator {
96
- region_id: string;
97
- direction: LocationTransitionDirectionType;
98
- num_observations_to_consider: number;
99
- required_num_breaching_observations: number;
100
- confidence_threshold: number;
101
- allow_breach_on_initial_observation: boolean;
102
- }
103
- export interface RuleInput {
104
- active: boolean;
105
- description: string;
106
- company_id: string;
107
- then_actions: (RuleAction | undefined)[];
108
- else_actions: (RuleAction | undefined)[];
109
- rule_condition: RuleCondition;
110
- cloud_rule: boolean;
111
- }
112
- export interface Rule extends Base, RuleInput {
113
- last_run_status: number;
114
- plain_english: string;
115
- pass_count: number;
116
- fail_count: number;
117
- scheduled_only?: boolean;
118
- schedule?: string;
119
- scheduler_job_id?: string;
120
- }
121
- export interface RulesFilters extends Filters {
122
- description?: Filter;
123
- active?: Filter;
124
- cloud_rule?: Filter;
125
- }
126
- export interface PaginatedRules {
127
- rules: Rule[];
128
- pagination: Pagination;
129
- }
1
+ import { Lwm2mRequest } from '../gatewayCommands/models';
2
+ import { Base, Filter, Filters, Pagination } from '../models';
3
+ export declare type RuleConditionType = 'true' | 'false' | 'equal' | 'not_equal' | 'less_than' | 'less_than_equal' | 'greater_than' | 'greater_than_equal' | 'in' | 'not_in' | 'moving_average' | 'value_changed' | 'device_error' | 'status_changed' | 'heartbeat_status_changed' | 'device_location_transition' | 'and' | 'or';
4
+ export declare type DeviceErrorType = 'system' | 'rule_action' | 'config' | 'aws_iot' | 'aws_greengrass_iot' | 'azure_iot' | 'bluemix_iot';
5
+ export declare type RuleActionType = 'aws_iot' | 'aws_iot_publish' | 'azure_iot' | 'create_device_health_status_event' | 'create_device_location_observation' | 'disable_data_restriction' | 'email' | 'enable_data_restriction' | 'greengrass_restart' | 'http_request' | 'mqtt' | 'notification' | 'relay' | 'sms' | 'tcp' | 'update_device_metadata' | 'workflow' | 'gateway_command';
6
+ export declare type RuleActionBodyType = 'html' | 'text';
7
+ export declare type LocationVia = 'gps' | 'cell_tower' | 'bluetooth' | 'wifi' | 'other';
8
+ export declare type GeneratedAtFormat = 'rfc3339' | 'unix_timestamp';
9
+ export declare type LocationTransitionDirectionType = 'arriving' | 'leaving';
10
+ export declare type DerivedValuesTypes = 'count' | 'min' | 'max' | 'avg' | 'sum' | 'convert_indexed_keys';
11
+ export declare type WhereConditionTypes = 'where' | 'or_where';
12
+ export declare type WhereConditionOperators = 'equal' | 'not_equal' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'in' | 'not_in' | 'starts_with' | 'ends_with' | 'contains' | 'strict_contains' | 'length_equals' | 'length_not_equals' | 'length_greater_than' | 'length_greater_than_equal' | 'length_less_than' | 'length_less_than_equal';
13
+ export interface CredentialData {
14
+ type?: string;
15
+ value: string;
16
+ secret_id: string;
17
+ }
18
+ export interface Credentials {
19
+ type: string;
20
+ data: {
21
+ [key: string]: CredentialData;
22
+ };
23
+ }
24
+ export interface PRTGChannel {
25
+ name?: string;
26
+ value?: string;
27
+ type?: string;
28
+ default?: number;
29
+ enum?: {
30
+ [key: string]: number;
31
+ };
32
+ }
33
+ export interface RuleAction {
34
+ action_frequency?: unknown;
35
+ body_template?: string;
36
+ body_type?: RuleActionBodyType;
37
+ clear?: boolean;
38
+ client_id?: string;
39
+ credentials?: Credentials;
40
+ integration_id?: string;
41
+ last_run?: string;
42
+ password?: string;
43
+ retries?: number;
44
+ retry_timeout: number;
45
+ send_to?: string;
46
+ subject?: string;
47
+ topic?: string;
48
+ type: RuleActionType;
49
+ url?: string;
50
+ username?: string;
51
+ will_topic?: string;
52
+ keep_alive?: boolean;
53
+ method?: string;
54
+ headers?: {
55
+ [key: string]: string;
56
+ };
57
+ from?: string;
58
+ metadata_key?: string;
59
+ health_status?: string;
60
+ latitude_template?: string;
61
+ longitude_template?: string;
62
+ radius_template?: string;
63
+ generated_at_template?: string;
64
+ generated_at_format?: GeneratedAtFormat;
65
+ location_via?: LocationVia;
66
+ channels?: PRTGChannel[];
67
+ definition_id?: string;
68
+ request?: Lwm2mRequest;
69
+ }
70
+ export interface WhereCondition {
71
+ type?: WhereConditionTypes;
72
+ operator?: WhereConditionOperators;
73
+ property?: string;
74
+ value?: string | string[];
75
+ }
76
+ export interface DerivedValue {
77
+ name?: string;
78
+ type?: DerivedValuesTypes;
79
+ property?: string;
80
+ properties?: string[];
81
+ data_set?: string;
82
+ where_conditions?: WhereCondition[];
83
+ }
84
+ export interface RuleCondition {
85
+ type: RuleConditionType;
86
+ property?: string;
87
+ value?: string[];
88
+ value_type?: string;
89
+ rule_conditions?: (RuleCondition | undefined)[];
90
+ error_type?: DeviceErrorType;
91
+ location_transition_evaluator?: LocationTransitionEvaluator;
92
+ cold_start_trigger?: boolean;
93
+ derived_values?: DerivedValue[];
94
+ }
95
+ export interface LocationTransitionEvaluator {
96
+ region_id: string;
97
+ direction: LocationTransitionDirectionType;
98
+ num_observations_to_consider: number;
99
+ required_num_breaching_observations: number;
100
+ confidence_threshold: number;
101
+ allow_breach_on_initial_observation: boolean;
102
+ }
103
+ export interface RuleInput {
104
+ active: boolean;
105
+ description: string;
106
+ company_id: string;
107
+ then_actions: (RuleAction | undefined)[];
108
+ else_actions: (RuleAction | undefined)[];
109
+ rule_condition: RuleCondition;
110
+ cloud_rule: boolean;
111
+ }
112
+ export interface Rule extends Base, RuleInput {
113
+ last_run_status: number;
114
+ plain_english: string;
115
+ pass_count: number;
116
+ fail_count: number;
117
+ scheduled_only?: boolean;
118
+ schedule?: string;
119
+ scheduler_job_id?: string;
120
+ }
121
+ export interface RulesFilters extends Filters {
122
+ description?: Filter;
123
+ active?: Filter;
124
+ cloud_rule?: Filter;
125
+ }
126
+ export interface PaginatedRules {
127
+ rules: Rule[];
128
+ pagination: Pagination;
129
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
- import { BaseModelInterface } from '../core/ModelClass';
2
- import { BulkActionResponse } from '../models';
3
- import { Secret, SecretInput, SecretsFilters, PaginatedSecrets } from './models';
4
- interface SecretsInterface extends BaseModelInterface<Secret, SecretInput, SecretsFilters, PaginatedSecrets> {
5
- deleteMultiple(ids: string[]): Promise<BulkActionResponse>;
6
- }
7
- export declare const Secrets: SecretsInterface;
8
- export {};
1
+ import { BaseModelInterface } from '../core/ModelClass';
2
+ import { BulkActionResponse } from '../models';
3
+ import { Secret, SecretInput, SecretsFilters, PaginatedSecrets } from './models';
4
+ interface SecretsInterface extends BaseModelInterface<Secret, SecretInput, SecretsFilters, PaginatedSecrets> {
5
+ deleteMultiple(ids: string[]): Promise<BulkActionResponse>;
6
+ }
7
+ export declare const Secrets: SecretsInterface;
8
+ export {};