@espressif/rainmaker-admin-sdk 1.2.0 → 1.3.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 (91) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/README.md +2 -1
  3. package/dist/cjs/ESPRMBase.cjs +1 -0
  4. package/dist/cjs/ESPRMClaim.cjs +16 -0
  5. package/dist/cjs/entries/ESPRMAdminCommonCustomData.cjs +1 -0
  6. package/dist/cjs/entries/ESPRMAdminNode.cjs +1 -0
  7. package/dist/cjs/entries/ESPRMClaim.cjs +14 -0
  8. package/dist/cjs/index.cjs +7 -0
  9. package/dist/cjs/methods/ESPRMAdminCommonCustomData/DeleteCommonCustomData.cjs +24 -0
  10. package/dist/cjs/methods/ESPRMAdminCommonCustomData/SetCommonCustomData.cjs +7 -0
  11. package/dist/cjs/methods/ESPRMAdminNode/ActivateDeactivateNodes.cjs +11 -1
  12. package/dist/cjs/methods/ESPRMAdminNode/DeleteNode.cjs +24 -0
  13. package/dist/cjs/methods/ESPRMClaim/InitiateClaim.cjs +28 -0
  14. package/dist/cjs/methods/ESPRMClaim/VerifyClaim.cjs +28 -0
  15. package/dist/cjs/services/ESPRMAPIManager.cjs +15 -1
  16. package/dist/cjs/utils/constants.cjs +14 -0
  17. package/dist/cjs/utils/error/errorMessages.cjs +9 -0
  18. package/dist/cjs/utils/validator/ConfigValidator.cjs +9 -0
  19. package/dist/esm/ESPRMBase.js +1 -0
  20. package/dist/esm/ESPRMClaim.js +14 -0
  21. package/dist/esm/entries/ESPRMAdminCommonCustomData.js +1 -0
  22. package/dist/esm/entries/ESPRMAdminNode.js +1 -0
  23. package/dist/esm/entries/ESPRMClaim.js +8 -0
  24. package/dist/esm/index.js +6 -1
  25. package/dist/esm/methods/ESPRMAdminCommonCustomData/DeleteCommonCustomData.js +22 -0
  26. package/dist/esm/methods/ESPRMAdminCommonCustomData/SetCommonCustomData.js +8 -1
  27. package/dist/esm/methods/ESPRMAdminNode/ActivateDeactivateNodes.js +12 -2
  28. package/dist/esm/methods/ESPRMAdminNode/DeleteNode.js +22 -0
  29. package/dist/esm/methods/ESPRMClaim/InitiateClaim.js +26 -0
  30. package/dist/esm/methods/ESPRMClaim/VerifyClaim.js +26 -0
  31. package/dist/esm/services/ESPRMAPIManager.js +15 -1
  32. package/dist/esm/utils/constants.js +14 -1
  33. package/dist/esm/utils/error/errorMessages.js +9 -0
  34. package/dist/esm/utils/validator/ConfigValidator.js +9 -0
  35. package/dist/types/ESPRMClaim.d.ts +12 -0
  36. package/dist/types/entries/ESPRMClaim.d.ts +7 -0
  37. package/dist/types/methods/ESPRMAdminCommonCustomData/DeleteCommonCustomData.d.ts +22 -0
  38. package/dist/types/methods/ESPRMAdminCommonCustomData/SetCommonCustomData.d.ts +6 -1
  39. package/dist/types/methods/ESPRMAdminCommonCustomData/index.d.ts +1 -0
  40. package/dist/types/methods/ESPRMAdminEventFilter/UpdateEventFilter.d.ts +5 -0
  41. package/dist/types/methods/ESPRMAdminNode/ActivateDeactivateNodes.d.ts +9 -6
  42. package/dist/types/methods/ESPRMAdminNode/DeleteNode.d.ts +19 -0
  43. package/dist/types/methods/ESPRMAdminNode/index.d.ts +1 -0
  44. package/dist/types/methods/ESPRMAdminWebhook/GetWebhookIntegrations.d.ts +2 -1
  45. package/dist/types/methods/ESPRMClaim/InitiateClaim.d.ts +21 -0
  46. package/dist/types/methods/ESPRMClaim/VerifyClaim.d.ts +21 -0
  47. package/dist/types/methods/ESPRMClaim/index.d.ts +7 -0
  48. package/dist/types/methods/export.d.ts +1 -0
  49. package/dist/types/services/ESPRMAPIManager.d.ts +6 -0
  50. package/dist/types/types/claim.d.ts +45 -0
  51. package/dist/types/types/common_custom_data.d.ts +32 -5
  52. package/dist/types/types/config.d.ts +9 -0
  53. package/dist/types/types/event_filter.d.ts +17 -3
  54. package/dist/types/types/index.d.ts +1 -0
  55. package/dist/types/types/input.d.ts +2 -1
  56. package/dist/types/types/mainTypes.d.ts +2 -1
  57. package/dist/types/types/node.d.ts +33 -3
  58. package/dist/types/types/output.d.ts +2 -1
  59. package/dist/types/types/webhook.d.ts +5 -2
  60. package/dist/types/utils/constants.d.ts +14 -1
  61. package/dist/types/utils/error/errorMessages.d.ts +9 -0
  62. package/dist/types/utils/validator/ConfigValidator.d.ts +1 -0
  63. package/dist/types-cjs/ESPRMClaim.d.cts +12 -0
  64. package/dist/types-cjs/entries/ESPRMClaim.d.cts +7 -0
  65. package/dist/types-cjs/methods/ESPRMAdminCommonCustomData/DeleteCommonCustomData.d.cts +22 -0
  66. package/dist/types-cjs/methods/ESPRMAdminCommonCustomData/SetCommonCustomData.d.cts +6 -1
  67. package/dist/types-cjs/methods/ESPRMAdminCommonCustomData/index.d.cts +1 -0
  68. package/dist/types-cjs/methods/ESPRMAdminEventFilter/UpdateEventFilter.d.cts +5 -0
  69. package/dist/types-cjs/methods/ESPRMAdminNode/ActivateDeactivateNodes.d.cts +9 -6
  70. package/dist/types-cjs/methods/ESPRMAdminNode/DeleteNode.d.cts +19 -0
  71. package/dist/types-cjs/methods/ESPRMAdminNode/index.d.cts +1 -0
  72. package/dist/types-cjs/methods/ESPRMAdminWebhook/GetWebhookIntegrations.d.cts +2 -1
  73. package/dist/types-cjs/methods/ESPRMClaim/InitiateClaim.d.cts +21 -0
  74. package/dist/types-cjs/methods/ESPRMClaim/VerifyClaim.d.cts +21 -0
  75. package/dist/types-cjs/methods/ESPRMClaim/index.d.cts +7 -0
  76. package/dist/types-cjs/methods/export.d.cts +1 -0
  77. package/dist/types-cjs/services/ESPRMAPIManager.d.cts +6 -0
  78. package/dist/types-cjs/types/claim.d.cts +45 -0
  79. package/dist/types-cjs/types/common_custom_data.d.cts +32 -5
  80. package/dist/types-cjs/types/config.d.cts +9 -0
  81. package/dist/types-cjs/types/event_filter.d.cts +17 -3
  82. package/dist/types-cjs/types/index.d.cts +1 -0
  83. package/dist/types-cjs/types/input.d.cts +2 -1
  84. package/dist/types-cjs/types/mainTypes.d.cts +2 -1
  85. package/dist/types-cjs/types/node.d.cts +33 -3
  86. package/dist/types-cjs/types/output.d.cts +2 -1
  87. package/dist/types-cjs/types/webhook.d.cts +5 -2
  88. package/dist/types-cjs/utils/constants.d.cts +14 -1
  89. package/dist/types-cjs/utils/error/errorMessages.d.cts +9 -0
  90. package/dist/types-cjs/utils/validator/ConfigValidator.d.cts +1 -0
  91. package/package.json +11 -1
@@ -31,7 +31,7 @@ export type { UploadLicenseFileRequest, GetLicenseFileParams } from "./license.j
31
31
  export type { GenerateNodeIdsRequest, GetNodeIdsParams, GetNodeCertificatesParams, RegisterNodeCertificatesRequest, GetNodeCertificateRegistrationParams, } from "./node_registration.js";
32
32
  export type { ChangeSuperAdminRequest } from "./super_admin.js";
33
33
  export type { ChangeSenderEmailRequest } from "./sender_email.js";
34
- export type { SetCommonCustomDataRequest, GetCommonCustomDataParams, } from "./common_custom_data.js";
34
+ export type { SetCommonCustomDataRequest, DeleteCommonCustomDataRequest, GetCommonCustomDataParams, } from "./common_custom_data.js";
35
35
  export type { GetDeploymentDetailsParams } from "./deployment_details.js";
36
36
  export type { UpdateDeploymentConfigRequest } from "./deployment_setting.js";
37
37
  export type { GetNotificationsParams, UpdateNotificationsRequest, } from "./configuration.js";
@@ -42,6 +42,7 @@ export type { CreateMobilePlatformRequest, UpdateMobilePlatformRequest, DeleteMo
42
42
  export type { PublishMessageQueryParams, PublishMessageRequest, } from "./publish_message.js";
43
43
  export type { CreatePassthroughConfigRequest, UpdatePassthroughConfigRequest, GetPassthroughConfigParams, } from "./passthrough.js";
44
44
  export type { UpdateNodeCACertificateRequest } from "./node_certificate_ca.js";
45
+ export type { InitiateClaimRequest, VerifyClaimRequest, VerifyClaimOptions, } from "./claim.js";
45
46
  export type { CreateWebhookIntegrationRequest, UpdateWebhookIntegrationRequest, GetWebhookIntegrationsParams, DeleteWebhookIntegrationParams, UpdateWebhookEventMappingRequest, GetWebhookEventMappingParams, DeleteWebhookEventMappingParams, } from "./webhook.js";
46
47
  export type { GetStatsInfoParams } from "./statistical_service.js";
47
48
  export type { GetMailFailuresParams } from "./mail_failure.js";
@@ -52,5 +52,6 @@ import { ESPRMAdminAPIStatistics } from "../ESPRMAdminAPIStatistics.js";
52
52
  import { ESPRMAdminMQTTStatistics } from "../ESPRMAdminMQTTStatistics.js";
53
53
  import { ESPRMAdminMatter } from "../ESPRMAdminMatter.js";
54
54
  import { ESPRMAdminNodeParams } from "../ESPRMAdminNodeParams.js";
55
+ import { ESPRMClaim } from "../ESPRMClaim.js";
55
56
  import "../methods/export.js";
56
- export { ESPRMAuth, ESPRMUser, ESPRMAdminUser, ESPRMAdminNode, ESPRMAdminOTAImage, ESPRMAdminOTAJob, ESPRMAdminGroup, ESPRMAdminTag, ESPRMAdminEventFilter, ESPRMAdminCustomData, ESPRMAdminRole, ESPRMAdminPolicy, ESPRMAdminUserRole, ESPRMAdminKey, ESPRMAdminSecureSign, ESPRMAdminFile, ESPRMAdminAPIInfo, ESPRMAdminDeploymentDetails, ESPRMAdminCognitoAppClient, ESPRMAdminCognitoDomain, ESPRMAdminIdentityProvider, ESPRMAdminMessageTemplate, ESPRMAdminDashboard, ESPRMAdminLicense, ESPRMAdminNodeRegistration, ESPRMAdminSuperAdmin, ESPRMAdminSenderEmail, ESPRMAdminCommonCustomData, ESPRMAdminDeploymentSetting, ESPRMAdminConfiguration, ESPRMAdminIoTDeviceRateLimit, ESPRMAdminAPIRateLimit, ESPRMAdminCustomMessageTemplate, ESPRMAdminMobilePlatform, ESPRMAdminPublishMessage, ESPRMAdminPassthrough, ESPRMAdminNodeCertificateCA, ESPRMAdminWebhook, ESPRMAdminStatisticalService, ESPRMAdminMailFailure, ESPRMAdminAPIGateway, ESPRMAdminTermsPolicy, ESPRMAdminCloudwatchLog, ESPRMAdminLogConfig, ESPRMAdminDeploymentCapability, ESPRMAdminAPIStatistics, ESPRMAdminMQTTStatistics, ESPRMAdminMatter, ESPRMAdminNodeParams, };
57
+ export { ESPRMAuth, ESPRMUser, ESPRMAdminUser, ESPRMAdminNode, ESPRMAdminOTAImage, ESPRMAdminOTAJob, ESPRMAdminGroup, ESPRMAdminTag, ESPRMAdminEventFilter, ESPRMAdminCustomData, ESPRMAdminRole, ESPRMAdminPolicy, ESPRMAdminUserRole, ESPRMAdminKey, ESPRMAdminSecureSign, ESPRMAdminFile, ESPRMAdminAPIInfo, ESPRMAdminDeploymentDetails, ESPRMAdminCognitoAppClient, ESPRMAdminCognitoDomain, ESPRMAdminIdentityProvider, ESPRMAdminMessageTemplate, ESPRMAdminDashboard, ESPRMAdminLicense, ESPRMAdminNodeRegistration, ESPRMAdminSuperAdmin, ESPRMAdminSenderEmail, ESPRMAdminCommonCustomData, ESPRMAdminDeploymentSetting, ESPRMAdminConfiguration, ESPRMAdminIoTDeviceRateLimit, ESPRMAdminAPIRateLimit, ESPRMAdminCustomMessageTemplate, ESPRMAdminMobilePlatform, ESPRMAdminPublishMessage, ESPRMAdminPassthrough, ESPRMAdminNodeCertificateCA, ESPRMAdminWebhook, ESPRMAdminStatisticalService, ESPRMAdminMailFailure, ESPRMAdminAPIGateway, ESPRMAdminTermsPolicy, ESPRMAdminCloudwatchLog, ESPRMAdminLogConfig, ESPRMAdminDeploymentCapability, ESPRMAdminAPIStatistics, ESPRMAdminMQTTStatistics, ESPRMAdminMatter, ESPRMAdminNodeParams, ESPRMClaim, };
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
+ import type { ESPAPISuccessResponse } from "./api.js";
6
7
  /** Parameters for listing admin nodes. */
7
8
  export interface GetAdminNodesParams {
8
9
  /** Maximum number of records to return. */
@@ -34,11 +35,40 @@ export interface GetAdminNodesParams {
34
35
  }
35
36
  /** Parameters for activating or deactivating nodes. */
36
37
  export interface ActivateDeactivateNodesParams {
37
- /** ID of the node to activate or deactivate. */
38
- node_id: string;
39
- /** Whether to activate (true) or deactivate (false) the node. */
38
+ /**
39
+ * IDs of the nodes to activate or deactivate. At most
40
+ * `MAX_NODE_ACTIVATION_BATCH_SIZE` (25) per request.
41
+ */
42
+ node_ids: string[];
43
+ /** Whether to activate (true) or deactivate (false) the nodes. */
40
44
  activate: boolean;
41
45
  }
46
+ /** Per-node success entry in a 207 activation response. */
47
+ export interface NodeActivationSuccessResult {
48
+ node_id: string;
49
+ status: "success";
50
+ description: string;
51
+ }
52
+ /** Per-node failure entry in a 207 activation response. */
53
+ export interface NodeActivationFailureResult {
54
+ node_id: string;
55
+ status: "failure";
56
+ error_code: number;
57
+ description: string;
58
+ }
59
+ /**
60
+ * 207 Multi-Status response from `PUT admin/nodes`, returned when the
61
+ * per-node outcomes differ.
62
+ */
63
+ export interface NodeActivationMultiStatusResponse {
64
+ responses: Array<NodeActivationSuccessResult | NodeActivationFailureResult>;
65
+ }
66
+ /**
67
+ * Response from `activateDeactivateNodes`. When every node has the same
68
+ * outcome the backend returns a single 200 success; otherwise 207 with
69
+ * per-node results. A uniform failure rejects with `ESPAPIError`.
70
+ */
71
+ export type ActivateDeactivateNodesResponse = ESPAPISuccessResponse | NodeActivationMultiStatusResponse;
42
72
  /** Parameters for listing node tags or tag values. */
43
73
  export interface GetNodeTagsParams {
44
74
  /** Filter by tag name to retrieve its associated tag values. */
@@ -29,7 +29,7 @@ export type { GetDashboardUpdateStatusResponse, GetDashboardVersionMappingRespon
29
29
  export type { LicenseFileInfo, GetLicenseFileResponse, GetLicenseQuotaResponse, } from "./license.js";
30
30
  export type { GenerateNodeIdsResponse, GetNodeIdsResponse, NodeCertificateInfo, GetNodeCertificatesResponse, NodeCertificateRegistrationStatusResponse, GetMQTTHostResponse, } from "./node_registration.js";
31
31
  export type { GetDeploymentDetailsResponse } from "./deployment_details.js";
32
- export type { GetCommonCustomDataResponse } from "./common_custom_data.js";
32
+ export type { CommonCustomDataItem, GetCommonCustomDataResponse, } from "./common_custom_data.js";
33
33
  export type { GetDeploymentSettingsResponse, GetRbacDeploymentSettingResponse, RbacConfigurationValue, } from "./deployment_setting.js";
34
34
  export type { GetNotificationsResponse } from "./configuration.js";
35
35
  export type { GetIoTDeviceRateRuleResponse } from "./iot_device_rate_limit.js";
@@ -38,6 +38,7 @@ export type { CustomMessageTemplateInfo, GetCustomMessageTemplatesResponse, } fr
38
38
  export type { MobilePlatformInfo, CreateMobilePlatformResponse, GetMobilePlatformsResponse, } from "./mobile_platform.js";
39
39
  export type { PassthroughConfigInfo, CreatePassthroughConfigResponse, GetPassthroughConfigResponse, } from "./passthrough.js";
40
40
  export type { GetNodeCACertificateResponse } from "./node_certificate_ca.js";
41
+ export type { InitiateClaimResponse, VerifyClaimResponse } from "./claim.js";
41
42
  export type { WebhookIntegrationInfo, GetWebhookIntegrationsResponse, WebhookEventMappingInfo, GetWebhookEventMappingResponse, } from "./webhook.js";
42
43
  export type { StatsCount, StatsObject, GetStatsInfoResponse, } from "./statistical_service.js";
43
44
  export type { MailFailureInfo, GetMailFailuresResponse } from "./mail_failure.js";
@@ -63,8 +63,11 @@ export interface WebhookIntegrationInfo {
63
63
  }
64
64
  /** Response containing a list of webhook integrations. */
65
65
  export interface GetWebhookIntegrationsResponse {
66
- /** Array of webhook integration details. */
67
- webhooks_endpoints?: WebhookIntegrationInfo[];
66
+ /**
67
+ * Array of webhook integration details.
68
+ * The backend returns `null` when no integrations are configured.
69
+ */
70
+ integration_info_list?: WebhookIntegrationInfo[] | null;
68
71
  }
69
72
  /** Details of a webhook event mapping. */
70
73
  export interface WebhookEventMappingInfo {
@@ -94,6 +94,8 @@ declare const APIEndpoints: {
94
94
  readonly ADMIN_MATTER_BATCH: "admin/matter/batch";
95
95
  readonly ADMIN_MATTER_BATCH_NODES: "admin/matter/batch/nodes";
96
96
  readonly ADMIN_MAIL_FAILURES: "admin/mail_failures";
97
+ readonly CLAIM_INITIATE: "claim/initiate";
98
+ readonly CLAIM_VERIFY: "claim/verify";
97
99
  };
98
100
  declare const StorageKeys: {
99
101
  readonly ACCESSTOKEN: "com.esprmbase.accessToken";
@@ -104,6 +106,8 @@ declare const ConfigErrorCodes: {
104
106
  readonly SDK_NOT_CONFIGURED: "SDK_NOT_CONFIGURED";
105
107
  readonly INVALID_CONFIG_OBJECT: "INVALID_CONFIG_OBJECT";
106
108
  readonly INVALID_BASE_URL: "INVALID_BASE_URL";
109
+ readonly INVALID_CLAIMING_BASE_URL: "INVALID_CLAIMING_BASE_URL";
110
+ readonly CLAIMING_NOT_CONFIGURED: "CLAIMING_NOT_CONFIGURED";
107
111
  };
108
112
  declare const ValidationErrorCodes: {
109
113
  readonly MISSING_LOGIN_PASSWORD: "MISSING_LOGIN_PASSWORD";
@@ -151,6 +155,13 @@ declare const APICallValidationErrorCodes: {
151
155
  readonly MISSING_BATCH_ID: "MISSING_BATCH_ID";
152
156
  readonly MISSING_CANCEL_COMMAND_SCOPE: "MISSING_CANCEL_COMMAND_SCOPE";
153
157
  readonly CMD_ID_REQUIRES_NODE_ID: "CMD_ID_REQUIRES_NODE_ID";
158
+ readonly MISSING_COMMON_CUSTOM_DATA_NAME: "MISSING_COMMON_CUSTOM_DATA_NAME";
159
+ readonly MISSING_COMMON_CUSTOM_DATA_VALUE: "MISSING_COMMON_CUSTOM_DATA_VALUE";
160
+ readonly MISSING_MAC_ADDRESS: "MISSING_MAC_ADDRESS";
161
+ readonly MISSING_CLAIM_PLATFORM: "MISSING_CLAIM_PLATFORM";
162
+ readonly MISSING_CSR: "MISSING_CSR";
163
+ readonly MISSING_NODE_IDS: "MISSING_NODE_IDS";
164
+ readonly TOO_MANY_NODE_IDS: "TOO_MANY_NODE_IDS";
154
165
  };
155
166
  declare const TokenErrorCodes: {
156
167
  readonly MISSING_ACCESS_TOKEN: "MISSING_ACCESS_TOKEN";
@@ -176,9 +187,11 @@ declare const DEFAULT_REST_API_VERSION = "v1";
176
187
  declare const DEFAULT_REQUEST_TIMEOUT_MS = 30000;
177
188
  /** Tokens expiring within this many seconds are refreshed proactively. */
178
189
  declare const TOKEN_EXPIRY_MARGIN_SECONDS = 30;
190
+ /** Backend limit on node IDs per `PUT admin/nodes` activation request. */
191
+ declare const MAX_NODE_ACTIVATION_BATCH_SIZE = 25;
179
192
  /** errorCode values the SDK itself sets on ESPAPIError for non-HTTP failures. */
180
193
  declare const APIErrorCodes: {
181
194
  readonly REQUEST_TIMEOUT: "REQUEST_TIMEOUT";
182
195
  readonly NETWORK_ERROR: "NETWORK_ERROR";
183
196
  };
184
- export { HTTPMethods, APIEndpoints, StorageKeys, ConfigErrorCodes, ValidationErrorCodes, StorageAdapterErrorCodes, APICallValidationErrorCodes, TokenErrorCodes, ErrorLabels, HTTPStatusCodes, AdditionalInfo, DEFAULT_REST_API_VERSION, DEFAULT_REQUEST_TIMEOUT_MS, TOKEN_EXPIRY_MARGIN_SECONDS, APIErrorCodes, };
197
+ export { HTTPMethods, APIEndpoints, StorageKeys, ConfigErrorCodes, ValidationErrorCodes, StorageAdapterErrorCodes, APICallValidationErrorCodes, TokenErrorCodes, ErrorLabels, HTTPStatusCodes, AdditionalInfo, DEFAULT_REST_API_VERSION, DEFAULT_REQUEST_TIMEOUT_MS, TOKEN_EXPIRY_MARGIN_SECONDS, APIErrorCodes, MAX_NODE_ACTIVATION_BATCH_SIZE, };
@@ -7,6 +7,8 @@ declare const configErrorMessages: {
7
7
  SDK_NOT_CONFIGURED: string;
8
8
  INVALID_CONFIG_OBJECT: string;
9
9
  INVALID_BASE_URL: string;
10
+ INVALID_CLAIMING_BASE_URL: string;
11
+ CLAIMING_NOT_CONFIGURED: string;
10
12
  };
11
13
  declare const validationErrorMessages: {
12
14
  MISSING_LOGIN_PASSWORD: string;
@@ -18,6 +20,8 @@ declare const storageAdapterErrorMessages: {
18
20
  };
19
21
  declare const apiCallValidationErrorMessages: {
20
22
  MISSING_NODE_ID: string;
23
+ MISSING_NODE_IDS: string;
24
+ TOO_MANY_NODE_IDS: string;
21
25
  MISSING_OTA_IMAGE_ID: string;
22
26
  MISSING_ARCHIVE_FLAG: string;
23
27
  MISSING_OTA_JOB_ID: string;
@@ -54,6 +58,11 @@ declare const apiCallValidationErrorMessages: {
54
58
  MISSING_BATCH_ID: string;
55
59
  MISSING_CANCEL_COMMAND_SCOPE: string;
56
60
  CMD_ID_REQUIRES_NODE_ID: string;
61
+ MISSING_COMMON_CUSTOM_DATA_NAME: string;
62
+ MISSING_COMMON_CUSTOM_DATA_VALUE: string;
63
+ MISSING_MAC_ADDRESS: string;
64
+ MISSING_CLAIM_PLATFORM: string;
65
+ MISSING_CSR: string;
57
66
  };
58
67
  declare const tokenErrorMessages: {
59
68
  MISSING_ACCESS_TOKEN: string;
@@ -7,5 +7,6 @@ import { ESPRMBaseConfig } from "../../types/config.js";
7
7
  export declare class ConfigValidator {
8
8
  static validateConfig(config: ESPRMBaseConfig): void;
9
9
  private static validateConfigObject;
10
+ private static validateClaimingBaseUrl;
10
11
  private static validateBaseUrl;
11
12
  }
@@ -0,0 +1,12 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Shell class for the standalone ESP RainMaker claiming service.
8
+ * Requires `claimingBaseUrl` in {@link ESPRMBase.configure}.
9
+ * Methods are added via prototype augmentation in methods/ESPRMClaim/*.
10
+ */
11
+ export declare class ESPRMClaim {
12
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import "../methods/ESPRMClaim/index.cjs";
7
+ export { ESPRMClaim } from "../ESPRMClaim.cjs";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { DeleteCommonCustomDataRequest } from "../../types/common_custom_data.cjs";
7
+ import { ESPAPISuccessResponse } from "../../types/api.cjs";
8
+ declare module "../../ESPRMAdminCommonCustomData.cjs" {
9
+ interface ESPRMAdminCommonCustomData {
10
+ /**
11
+ * Deletes a common custom data entry.
12
+ *
13
+ * The backend has no DELETE method for this resource; an entry is deleted
14
+ * by sending `PUT admin/common_custom_data` with `value: null`.
15
+ *
16
+ * @param params - The name of the entry to delete.
17
+ * @returns A success response confirming the entry was deleted.
18
+ * @throws ESPAPICallValidationError when `name` is empty.
19
+ */
20
+ deleteCommonCustomData(params: DeleteCommonCustomDataRequest): Promise<ESPAPISuccessResponse>;
21
+ }
22
+ }
@@ -8,10 +8,15 @@ import { ESPAPISuccessResponse } from "../../types/api.cjs";
8
8
  declare module "../../ESPRMAdminCommonCustomData.cjs" {
9
9
  interface ESPRMAdminCommonCustomData {
10
10
  /**
11
- * Sets or updates common custom data shared across users.
11
+ * Adds or updates a common custom data entry shared across users.
12
+ *
13
+ * JSON object values are deep merged into the stored object; other value
14
+ * types replace it. See {@link SetCommonCustomDataRequest}.
12
15
  *
13
16
  * @param params - The common custom data payload to set.
14
17
  * @returns A success response confirming the data was set.
18
+ * @throws ESPAPICallValidationError when `name` is empty, or when `value`
19
+ * is `null` or `undefined` (the backend would delete the entry).
15
20
  */
16
21
  setCommonCustomData(params: SetCommonCustomDataRequest): Promise<ESPAPISuccessResponse>;
17
22
  }
@@ -5,3 +5,4 @@
5
5
  */
6
6
  import "./SetCommonCustomData.cjs";
7
7
  import "./GetCommonCustomData.cjs";
8
+ import "./DeleteCommonCustomData.cjs";
@@ -10,6 +10,11 @@ declare module "../../ESPRMAdminEventFilter.cjs" {
10
10
  /**
11
11
  * Updates an existing event filter configuration.
12
12
  *
13
+ * `enabled_for_integrations` adds or removes integrations instead of
14
+ * replacing the stored list; see {@link UpdateEventFilterRequest}. Omit it
15
+ * to change only `enabled`. Fails with error code `113109` when the
16
+ * mapping does not exist (this call never creates one).
17
+ *
13
18
  * @param params - The updated event filter properties.
14
19
  * @returns A success response confirming the event filter was updated.
15
20
  */
@@ -3,16 +3,19 @@
3
3
  *
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { ActivateDeactivateNodesParams } from "../../types/node.cjs";
7
- import { ESPAPISuccessResponse } from "../../types/api.cjs";
6
+ import { ActivateDeactivateNodesParams, ActivateDeactivateNodesResponse } from "../../types/node.cjs";
8
7
  declare module "../../ESPRMAdminNode.cjs" {
9
8
  interface ESPRMAdminNode {
10
9
  /**
11
- * Activates or deactivates nodes based on the provided parameters.
10
+ * Activates or deactivates up to 25 nodes in one request. Supported only
11
+ * on private (customer) deployments.
12
12
  *
13
- * @param params - Parameters specifying which nodes to activate or deactivate.
14
- * @returns A success response confirming the operation.
13
+ * The backend returns a single success when every node has the same
14
+ * outcome, and a 207 response with per-node results when they differ.
15
+ *
16
+ * @param params - Node IDs and whether to activate or deactivate them.
17
+ * @returns A success response, or per-node results on mixed outcomes.
15
18
  */
16
- activateDeactivateNodes(params: ActivateDeactivateNodesParams): Promise<ESPAPISuccessResponse>;
19
+ activateDeactivateNodes(params: ActivateDeactivateNodesParams): Promise<ActivateDeactivateNodesResponse>;
17
20
  }
18
21
  }
@@ -0,0 +1,19 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { ESPAPISuccessResponse } from "../../types/api.cjs";
7
+ declare module "../../ESPRMAdminNode.cjs" {
8
+ interface ESPRMAdminNode {
9
+ /**
10
+ * Permanently deletes a node: its IoT certificates and thing, its data,
11
+ * and its user and group mappings. Cannot be undone. Supported only on
12
+ * public deployments; the backend accepts one node per request.
13
+ *
14
+ * @param nodeId - The ID of the node to delete.
15
+ * @returns A success response confirming the node was deleted.
16
+ */
17
+ deleteNode(nodeId: string): Promise<ESPAPISuccessResponse>;
18
+ }
19
+ }
@@ -7,6 +7,7 @@ import "./GetNodes.cjs";
7
7
  import "./ActivateDeactivateNodes.cjs";
8
8
  import "./AttachNodeTags.cjs";
9
9
  import "./RemoveNodeTags.cjs";
10
+ import "./DeleteNode.cjs";
10
11
  import "./GetNodeTags.cjs";
11
12
  import "./GetCommandRequests.cjs";
12
13
  import "./AddCommandRequest.cjs";
@@ -11,7 +11,8 @@ declare module "../../ESPRMAdminWebhook.cjs" {
11
11
  * Retrieves the list of configured webhook integrations.
12
12
  *
13
13
  * @param params - Optional filtering parameters for the webhook integrations query.
14
- * @returns The response containing webhook integration details.
14
+ * @returns The response containing webhook integration details in
15
+ * `integration_info_list`, which is `null` when none are configured.
15
16
  */
16
17
  getWebhookIntegrations(params?: GetWebhookIntegrationsParams): Promise<GetWebhookIntegrationsResponse>;
17
18
  }
@@ -0,0 +1,21 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { InitiateClaimRequest, InitiateClaimResponse } from "../../types/claim.cjs";
7
+ declare module "../../ESPRMClaim.cjs" {
8
+ interface ESPRMClaim {
9
+ /**
10
+ * Starts authenticated claiming of a node for the signed in user.
11
+ * The claim expires a few minutes after it is created, so call
12
+ * {@link ESPRMClaim.verifyClaim} promptly.
13
+ *
14
+ * @param params - MAC address and platform of the node.
15
+ * @returns The node ID assigned to the node.
16
+ * @throws ESPConfigError `CLAIMING_NOT_CONFIGURED` without `claimingBaseUrl`.
17
+ * @throws ESPAPICallValidationError when `mac_addr` or `platform` is empty.
18
+ */
19
+ initiateClaim(params: InitiateClaimRequest): Promise<InitiateClaimResponse>;
20
+ }
21
+ }
@@ -0,0 +1,21 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { VerifyClaimOptions, VerifyClaimRequest, VerifyClaimResponse } from "../../types/claim.cjs";
7
+ declare module "../../ESPRMClaim.cjs" {
8
+ interface ESPRMClaim {
9
+ /**
10
+ * Completes a claim started with {@link ESPRMClaim.initiateClaim} by
11
+ * submitting the node's CSR, and returns the signed node certificate.
12
+ *
13
+ * @param params - CSR plus optional node policies and MQTT host request.
14
+ * @param options - Matter and Matter test CA flags.
15
+ * @returns The node certificate, and MQTT hosts when requested.
16
+ * @throws ESPConfigError `CLAIMING_NOT_CONFIGURED` without `claimingBaseUrl`.
17
+ * @throws ESPAPICallValidationError when `csr` is empty.
18
+ */
19
+ verifyClaim(params: VerifyClaimRequest, options?: VerifyClaimOptions): Promise<VerifyClaimResponse>;
20
+ }
21
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import "./InitiateClaim.cjs";
7
+ import "./VerifyClaim.cjs";
@@ -40,6 +40,7 @@ import "./ESPRMAdminMobilePlatform/index.cjs";
40
40
  import "./ESPRMAdminPublishMessage/index.cjs";
41
41
  import "./ESPRMAdminPassthrough/index.cjs";
42
42
  import "./ESPRMAdminNodeCertificateCA/index.cjs";
43
+ import "./ESPRMClaim/index.cjs";
43
44
  import "./ESPRMAdminWebhook/index.cjs";
44
45
  import "./ESPRMAdminStatisticalService/index.cjs";
45
46
  import "./ESPRMAdminMailFailure/index.cjs";
@@ -13,6 +13,12 @@ export declare class ESPRMAPIManager {
13
13
  #private;
14
14
  private constructor();
15
15
  static initialize(config: ESPRMAPIManagerConfig): void;
16
+ /**
17
+ * Base URL of the claiming service set through `claimingBaseUrl`.
18
+ *
19
+ * @throws ESPConfigError `CLAIMING_NOT_CONFIGURED` when it was not configured.
20
+ */
21
+ static getClaimingBaseUrl(): string;
16
22
  /**
17
23
  * Send a request with the current user's access token in the
18
24
  * `Authorization` header, refreshing the token first if it has expired.
@@ -0,0 +1,45 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /** Request body for `POST claim/initiate` (authenticated claiming). */
7
+ export interface InitiateClaimRequest {
8
+ /** Node MAC address: 12 uppercase hex characters, no separators, e.g. `7CDFA100033B`. */
9
+ mac_addr: string;
10
+ /** Platform the node is claimed for, e.g. `ESP32` or `ESP32S3`. */
11
+ platform: string;
12
+ }
13
+ /** Response of `POST claim/initiate` for authenticated claiming. */
14
+ export interface InitiateClaimResponse {
15
+ /** Node ID assigned to the claimed node. */
16
+ node_id: string;
17
+ }
18
+ /** Request body for `POST claim/verify` (authenticated claiming). */
19
+ export interface VerifyClaimRequest {
20
+ /** PEM encoded certificate signing request for the node key, with `CN=<node_id>`. */
21
+ csr: string;
22
+ /** When true, the response also carries `mqtt_host` and `mqtt_cred_host`. */
23
+ send_mqtt_host?: boolean;
24
+ /**
25
+ * Comma separated node policies to attach, e.g. `videostream`. The
26
+ * `mqtt` policy is always attached by the backend.
27
+ */
28
+ node_policies?: string;
29
+ }
30
+ /** Query options for `POST claim/verify`. */
31
+ export interface VerifyClaimOptions {
32
+ /** Issue a Matter compliant node certificate. Defaults to false. */
33
+ matter?: boolean;
34
+ /** Use the Matter test CA. Only sent when `matter` is true. */
35
+ test?: boolean;
36
+ }
37
+ /** Response of `POST claim/verify`. */
38
+ export interface VerifyClaimResponse {
39
+ /** PEM encoded node certificate chain. */
40
+ certificate: string;
41
+ /** MQTT endpoint, present when `send_mqtt_host` was true. */
42
+ mqtt_host?: string;
43
+ /** MQTT credentials endpoint, present when `send_mqtt_host` was true. */
44
+ mqtt_cred_host?: string;
45
+ }
@@ -3,19 +3,46 @@
3
3
  *
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- /** Request body for setting a common custom data entry. */
6
+ /**
7
+ * Request body for adding or updating a common custom data entry.
8
+ *
9
+ * `PUT admin/common_custom_data` is an upsert with merge semantics:
10
+ * - When the stored value and `value` are both JSON objects, they are deep
11
+ * merged. Keys omitted from `value` are kept, and a nested `null` deletes
12
+ * that key.
13
+ * - Arrays, strings, numbers and booleans replace the stored value.
14
+ * - A `null` or missing `value` deletes the whole entry, so `value` must be
15
+ * defined here. Use `deleteCommonCustomData` to delete.
16
+ */
7
17
  export interface SetCommonCustomDataRequest {
8
18
  /** Name of the custom data entry. */
9
19
  name: string;
10
- /** Value to assign to the custom data entry. */
20
+ /** Value to assign to the custom data entry. Must not be `null` or `undefined`. */
11
21
  value: unknown;
12
22
  }
23
+ /** Request for deleting a common custom data entry. */
24
+ export interface DeleteCommonCustomDataRequest {
25
+ /** Name of the custom data entry to delete. */
26
+ name: string;
27
+ }
13
28
  /** Parameters for retrieving common custom data. */
14
29
  export interface GetCommonCustomDataParams {
15
30
  /** Name of the custom data entry to retrieve. */
16
31
  name?: string;
17
32
  }
18
- /** Response containing common custom data as dynamic key-value pairs. */
19
- export interface GetCommonCustomDataResponse {
20
- [key: string]: unknown;
33
+ /** A single common custom data entry. */
34
+ export interface CommonCustomDataItem {
35
+ /** Name of the custom data entry. */
36
+ name: string;
37
+ /** Stored value: a JSON object, array, string, number or boolean. */
38
+ value: unknown;
39
+ /** RBAC permissions attached to the entry, when any were set. */
40
+ perms?: unknown[];
21
41
  }
42
+ /**
43
+ * Response of `GET admin/common_custom_data`.
44
+ *
45
+ * Always an array: every entry when `name` is omitted, or a single-element
46
+ * array when `name` is given.
47
+ */
48
+ export type GetCommonCustomDataResponse = CommonCustomDataItem[];
@@ -21,12 +21,21 @@ export interface ESPRMBaseConfig {
21
21
  * `errorCode` is `REQUEST_TIMEOUT`. Defaults to 30000. Set to `0` to disable.
22
22
  */
23
23
  timeoutMs?: number;
24
+ /**
25
+ * Base URL of the standalone ESP RainMaker claiming service, e.g.
26
+ * `https://esp-claiming.rainmaker.espressif.com`. Required only for
27
+ * `ESPRMClaim`; the service is available on public deployments only.
28
+ * The user's access token is sent to this host, so only set it to a
29
+ * trusted Espressif claiming endpoint.
30
+ */
31
+ claimingBaseUrl?: string;
24
32
  }
25
33
  /** Configuration for the ESPRMAPIManager. */
26
34
  export interface ESPRMAPIManagerConfig {
27
35
  baseUrl: string;
28
36
  version: string;
29
37
  timeoutMs?: number;
38
+ claimingBaseUrl?: string;
30
39
  }
31
40
  /** Configuration for an API request made through ESPRMAPIManager. */
32
41
  export interface ESPRMRequestConfig {
@@ -24,10 +24,24 @@ export interface UpdateEventFilterRequest {
24
24
  entity_id: string;
25
25
  /** Type of entity. */
26
26
  entity_type: string;
27
- /** Whether this filter is enabled. */
27
+ /**
28
+ * Whether this filter is enabled. When `enabled_for_integrations` is
29
+ * omitted or empty, this value is stored as sent. When it is non-empty,
30
+ * the backend derives `enabled` itself (see `enabled_for_integrations`).
31
+ */
28
32
  enabled: boolean;
29
- /** Integration types this filter is enabled for. */
30
- enabled_for_integrations: string[];
33
+ /**
34
+ * Integrations to add or remove. This is **not** a replacement list:
35
+ * - omitted or `[]`: the stored list is kept unchanged.
36
+ * - with `enabled: true`: the listed integrations are added to the stored list.
37
+ * - with `enabled: false`: the listed integrations are removed from the stored list.
38
+ *
39
+ * When a non-empty list is sent, the backend overrides `enabled`: it becomes
40
+ * `false` if the resulting list is empty, otherwise `true`, except that a
41
+ * filter already stored as disabled (with a non-empty list) stays disabled.
42
+ * To set `enabled` explicitly, send a separate update without this field.
43
+ */
44
+ enabled_for_integrations?: string[];
31
45
  }
32
46
  /** Parameters for listing event filters. */
33
47
  export interface GetEventFiltersParams {
@@ -44,6 +44,7 @@ export * from "./mobile_platform.cjs";
44
44
  export * from "./publish_message.cjs";
45
45
  export * from "./passthrough.cjs";
46
46
  export * from "./node_certificate_ca.cjs";
47
+ export * from "./claim.cjs";
47
48
  export * from "./webhook.cjs";
48
49
  export * from "./statistical_service.cjs";
49
50
  export * from "./mail_failure.cjs";
@@ -31,7 +31,7 @@ export type { UploadLicenseFileRequest, GetLicenseFileParams } from "./license.c
31
31
  export type { GenerateNodeIdsRequest, GetNodeIdsParams, GetNodeCertificatesParams, RegisterNodeCertificatesRequest, GetNodeCertificateRegistrationParams, } from "./node_registration.cjs";
32
32
  export type { ChangeSuperAdminRequest } from "./super_admin.cjs";
33
33
  export type { ChangeSenderEmailRequest } from "./sender_email.cjs";
34
- export type { SetCommonCustomDataRequest, GetCommonCustomDataParams, } from "./common_custom_data.cjs";
34
+ export type { SetCommonCustomDataRequest, DeleteCommonCustomDataRequest, GetCommonCustomDataParams, } from "./common_custom_data.cjs";
35
35
  export type { GetDeploymentDetailsParams } from "./deployment_details.cjs";
36
36
  export type { UpdateDeploymentConfigRequest } from "./deployment_setting.cjs";
37
37
  export type { GetNotificationsParams, UpdateNotificationsRequest, } from "./configuration.cjs";
@@ -42,6 +42,7 @@ export type { CreateMobilePlatformRequest, UpdateMobilePlatformRequest, DeleteMo
42
42
  export type { PublishMessageQueryParams, PublishMessageRequest, } from "./publish_message.cjs";
43
43
  export type { CreatePassthroughConfigRequest, UpdatePassthroughConfigRequest, GetPassthroughConfigParams, } from "./passthrough.cjs";
44
44
  export type { UpdateNodeCACertificateRequest } from "./node_certificate_ca.cjs";
45
+ export type { InitiateClaimRequest, VerifyClaimRequest, VerifyClaimOptions, } from "./claim.cjs";
45
46
  export type { CreateWebhookIntegrationRequest, UpdateWebhookIntegrationRequest, GetWebhookIntegrationsParams, DeleteWebhookIntegrationParams, UpdateWebhookEventMappingRequest, GetWebhookEventMappingParams, DeleteWebhookEventMappingParams, } from "./webhook.cjs";
46
47
  export type { GetStatsInfoParams } from "./statistical_service.cjs";
47
48
  export type { GetMailFailuresParams } from "./mail_failure.cjs";
@@ -52,5 +52,6 @@ import { ESPRMAdminAPIStatistics } from "../ESPRMAdminAPIStatistics.cjs";
52
52
  import { ESPRMAdminMQTTStatistics } from "../ESPRMAdminMQTTStatistics.cjs";
53
53
  import { ESPRMAdminMatter } from "../ESPRMAdminMatter.cjs";
54
54
  import { ESPRMAdminNodeParams } from "../ESPRMAdminNodeParams.cjs";
55
+ import { ESPRMClaim } from "../ESPRMClaim.cjs";
55
56
  import "../methods/export.cjs";
56
- export { ESPRMAuth, ESPRMUser, ESPRMAdminUser, ESPRMAdminNode, ESPRMAdminOTAImage, ESPRMAdminOTAJob, ESPRMAdminGroup, ESPRMAdminTag, ESPRMAdminEventFilter, ESPRMAdminCustomData, ESPRMAdminRole, ESPRMAdminPolicy, ESPRMAdminUserRole, ESPRMAdminKey, ESPRMAdminSecureSign, ESPRMAdminFile, ESPRMAdminAPIInfo, ESPRMAdminDeploymentDetails, ESPRMAdminCognitoAppClient, ESPRMAdminCognitoDomain, ESPRMAdminIdentityProvider, ESPRMAdminMessageTemplate, ESPRMAdminDashboard, ESPRMAdminLicense, ESPRMAdminNodeRegistration, ESPRMAdminSuperAdmin, ESPRMAdminSenderEmail, ESPRMAdminCommonCustomData, ESPRMAdminDeploymentSetting, ESPRMAdminConfiguration, ESPRMAdminIoTDeviceRateLimit, ESPRMAdminAPIRateLimit, ESPRMAdminCustomMessageTemplate, ESPRMAdminMobilePlatform, ESPRMAdminPublishMessage, ESPRMAdminPassthrough, ESPRMAdminNodeCertificateCA, ESPRMAdminWebhook, ESPRMAdminStatisticalService, ESPRMAdminMailFailure, ESPRMAdminAPIGateway, ESPRMAdminTermsPolicy, ESPRMAdminCloudwatchLog, ESPRMAdminLogConfig, ESPRMAdminDeploymentCapability, ESPRMAdminAPIStatistics, ESPRMAdminMQTTStatistics, ESPRMAdminMatter, ESPRMAdminNodeParams, };
57
+ export { ESPRMAuth, ESPRMUser, ESPRMAdminUser, ESPRMAdminNode, ESPRMAdminOTAImage, ESPRMAdminOTAJob, ESPRMAdminGroup, ESPRMAdminTag, ESPRMAdminEventFilter, ESPRMAdminCustomData, ESPRMAdminRole, ESPRMAdminPolicy, ESPRMAdminUserRole, ESPRMAdminKey, ESPRMAdminSecureSign, ESPRMAdminFile, ESPRMAdminAPIInfo, ESPRMAdminDeploymentDetails, ESPRMAdminCognitoAppClient, ESPRMAdminCognitoDomain, ESPRMAdminIdentityProvider, ESPRMAdminMessageTemplate, ESPRMAdminDashboard, ESPRMAdminLicense, ESPRMAdminNodeRegistration, ESPRMAdminSuperAdmin, ESPRMAdminSenderEmail, ESPRMAdminCommonCustomData, ESPRMAdminDeploymentSetting, ESPRMAdminConfiguration, ESPRMAdminIoTDeviceRateLimit, ESPRMAdminAPIRateLimit, ESPRMAdminCustomMessageTemplate, ESPRMAdminMobilePlatform, ESPRMAdminPublishMessage, ESPRMAdminPassthrough, ESPRMAdminNodeCertificateCA, ESPRMAdminWebhook, ESPRMAdminStatisticalService, ESPRMAdminMailFailure, ESPRMAdminAPIGateway, ESPRMAdminTermsPolicy, ESPRMAdminCloudwatchLog, ESPRMAdminLogConfig, ESPRMAdminDeploymentCapability, ESPRMAdminAPIStatistics, ESPRMAdminMQTTStatistics, ESPRMAdminMatter, ESPRMAdminNodeParams, ESPRMClaim, };