edge-impulse-api 1.95.14 → 1.95.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/library/api.js +28 -0
- package/build/library/api.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.d.ts +5 -0
- package/build/library/sdk/api/organizationBlocksApi.js +16 -0
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/organizationsApi.d.ts +3 -97
- package/build/library/sdk/api/organizationsApi.js +3 -495
- package/build/library/sdk/api/organizationsApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +5 -5
- package/build/library/sdk/api/projectsApi.js +15 -15
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/model/addOrganizationExtensionBlockRequest.d.ts +2 -0
- package/build/library/sdk/model/addProjectApiKeyRequest.d.ts +1 -1
- package/build/library/sdk/model/apiKeyExtension.d.ts +1 -1
- package/build/library/sdk/model/extension.d.ts +5 -1
- package/build/library/sdk/model/extension.js +2 -0
- package/build/library/sdk/model/extension.js.map +1 -1
- package/build/library/sdk/model/extensionAuthMethod.d.ts +5 -0
- package/build/library/sdk/model/extensionAuthMethod.js +6 -0
- package/build/library/sdk/model/extensionAuthMethod.js.map +1 -0
- package/build/library/sdk/model/extensionWithId.d.ts +39 -0
- package/build/library/sdk/model/extensionWithId.js +6 -0
- package/build/library/sdk/model/extensionWithId.js.map +1 -0
- package/build/library/sdk/model/getCurrentApiKeyInfoResponse.d.ts +4 -0
- package/build/library/sdk/model/getOrganizationExtensionBlockResponse.d.ts +2 -2
- package/build/library/sdk/model/listOrganizationExtensionBlocksResponse.d.ts +2 -2
- package/build/library/sdk/model/listProjectAvailableExtensionsResponse.d.ts +2 -2
- package/build/library/sdk/model/models.d.ts +2 -2
- package/build/library/sdk/model/models.js +2 -2
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/monitoringEvent.d.ts +6 -0
- package/build/library/sdk/model/monitoringEvent.js.map +1 -1
- package/build/library/sdk/model/projectExtension.d.ts +7 -1
- package/build/library/sdk/model/projectExtension.js +2 -0
- package/build/library/sdk/model/projectExtension.js.map +1 -1
- package/build/library/sdk/model/updateOrganizationExtensionBlockRequest.d.ts +2 -0
- package/package.json +1 -1
- package/build/library/sdk/model/adminAddOrganizationApiKeyRequest.d.ts +0 -18
- package/build/library/sdk/model/adminAddOrganizationApiKeyRequest.js +0 -6
- package/build/library/sdk/model/adminAddOrganizationApiKeyRequest.js.map +0 -1
- package/build/library/sdk/model/adminAddProjectApiKeyRequest.d.ts +0 -15
- package/build/library/sdk/model/adminAddProjectApiKeyRequest.js +0 -4
- package/build/library/sdk/model/adminAddProjectApiKeyRequest.js.map +0 -1
|
@@ -15,10 +15,6 @@ import type { Response as UndiciResponse } from 'undici-types';
|
|
|
15
15
|
import { AddApiKeyResponse } from '../model/addApiKeyResponse';
|
|
16
16
|
import { AddMemberRequest } from '../model/addMemberRequest';
|
|
17
17
|
import { AddOrganizationApiKeyRequest } from '../model/addOrganizationApiKeyRequest';
|
|
18
|
-
import { AdminAddOrganizationApiKeyRequest } from '../model/adminAddOrganizationApiKeyRequest';
|
|
19
|
-
import { AdminAddOrganizationUserRequest } from '../model/adminAddOrganizationUserRequest';
|
|
20
|
-
import { AdminAddProjectApiKeyRequest } from '../model/adminAddProjectApiKeyRequest';
|
|
21
|
-
import { AdminAddProjectUserRequest } from '../model/adminAddProjectUserRequest';
|
|
22
18
|
import { AdminCreateOrganizationDataExportRequest } from '../model/adminCreateOrganizationDataExportRequest';
|
|
23
19
|
import { AdminCreateProjectRequest } from '../model/adminCreateProjectRequest';
|
|
24
20
|
import { AdminGetMetricsResponse } from '../model/adminGetMetricsResponse';
|
|
@@ -191,7 +187,7 @@ export declare class OrganizationsApi {
|
|
|
191
187
|
setApiKey(key: OrganizationsApiApiKeys, value: string | undefined): void;
|
|
192
188
|
set accessToken(token: string);
|
|
193
189
|
/**
|
|
194
|
-
* Add an API key.
|
|
190
|
+
* Add an API key. This API is only available through JWT token authentication.
|
|
195
191
|
* @summary Add API key
|
|
196
192
|
* @param organizationId Organization ID
|
|
197
193
|
* @param addOrganizationApiKeyRequest
|
|
@@ -358,7 +354,7 @@ export declare class OrganizationsApi {
|
|
|
358
354
|
}) => void;
|
|
359
355
|
}): Promise<GenericApiResponse>;
|
|
360
356
|
/**
|
|
361
|
-
* Retrieve all API keys. This does **not** return the full API key, but only a portion (for security purposes).
|
|
357
|
+
* Retrieve all API keys. This does **not** return the full API key, but only a portion (for security purposes). This API returns an empty array when not authenticating with JWT token authentication.
|
|
362
358
|
* @summary Get API keys
|
|
363
359
|
* @param organizationId Organization ID
|
|
364
360
|
*/
|
|
@@ -465,7 +461,7 @@ export declare class OrganizationsApi {
|
|
|
465
461
|
}) => void;
|
|
466
462
|
}): Promise<GenericApiResponse>;
|
|
467
463
|
/**
|
|
468
|
-
* Revoke an API key.
|
|
464
|
+
* Revoke an API key. This API is only available through JWT token authentication.
|
|
469
465
|
* @summary Revoke API key
|
|
470
466
|
* @param organizationId Organization ID
|
|
471
467
|
* @param apiKeyId API key ID
|
|
@@ -591,66 +587,6 @@ export declare class OrganizationsApi {
|
|
|
591
587
|
[name: string]: string;
|
|
592
588
|
}) => void;
|
|
593
589
|
}): Promise<EntityCreatedResponse>;
|
|
594
|
-
/**
|
|
595
|
-
* White label admin only API to add an API key to an organization. Add a temporary API key that can be used to make Organizations API (/api/organizations/{organizationId}/) requests on behalf of the organization. These API keys are not visible to the organization itself and have a customizable TTL defaulting to 1 minute.
|
|
596
|
-
* @summary White Label Admin - Add organization API key
|
|
597
|
-
* @param organizationId Organization ID
|
|
598
|
-
* @param innerOrganizationId Organization ID within the context of a white label
|
|
599
|
-
* @param adminAddOrganizationApiKeyRequest
|
|
600
|
-
*/
|
|
601
|
-
whitelabelAdminAddOrganizationApiKey(organizationId: number, innerOrganizationId: number, adminAddOrganizationApiKeyRequest: AdminAddOrganizationApiKeyRequest, options?: {
|
|
602
|
-
headers: {
|
|
603
|
-
[name: string]: string;
|
|
604
|
-
};
|
|
605
|
-
responseHeadersCallback?: (headers: {
|
|
606
|
-
[name: string]: string;
|
|
607
|
-
}) => void;
|
|
608
|
-
}): Promise<AddApiKeyResponse>;
|
|
609
|
-
/**
|
|
610
|
-
* White label admin only API to add an API key to a project. Add a temporary API key that can be used to make Projects API (/api/projects/{projectId}/) requests on behalf of the project admin. These API keys are not visible to the project itself and have a customizable TTL defaulting to 1 minute.
|
|
611
|
-
* @summary White Label Admin - Add Project API key
|
|
612
|
-
* @param organizationId Organization ID
|
|
613
|
-
* @param projectId Project ID
|
|
614
|
-
* @param adminAddProjectApiKeyRequest
|
|
615
|
-
*/
|
|
616
|
-
whitelabelAdminAddProjectApiKey(organizationId: number, projectId: number, adminAddProjectApiKeyRequest: AdminAddProjectApiKeyRequest, options?: {
|
|
617
|
-
headers: {
|
|
618
|
-
[name: string]: string;
|
|
619
|
-
};
|
|
620
|
-
responseHeadersCallback?: (headers: {
|
|
621
|
-
[name: string]: string;
|
|
622
|
-
}) => void;
|
|
623
|
-
}): Promise<AddApiKeyResponse>;
|
|
624
|
-
/**
|
|
625
|
-
* DEPRECATED. White label admin only API to add a user to an organization. If no user is provided, the current user is used.
|
|
626
|
-
* @summary White Label Admin - Add user to an organization
|
|
627
|
-
* @param organizationId Organization ID
|
|
628
|
-
* @param innerOrganizationId Organization ID within the context of a white label
|
|
629
|
-
* @param adminAddOrganizationUserRequest
|
|
630
|
-
*/
|
|
631
|
-
whitelabelAdminAddUserToOrganization(organizationId: number, innerOrganizationId: number, adminAddOrganizationUserRequest: AdminAddOrganizationUserRequest, options?: {
|
|
632
|
-
headers: {
|
|
633
|
-
[name: string]: string;
|
|
634
|
-
};
|
|
635
|
-
responseHeadersCallback?: (headers: {
|
|
636
|
-
[name: string]: string;
|
|
637
|
-
}) => void;
|
|
638
|
-
}): Promise<GenericApiResponse>;
|
|
639
|
-
/**
|
|
640
|
-
* DEPRECATED. White label admin only API to add a user to a project. If no user is provided, the current user is used.
|
|
641
|
-
* @summary White Label Admin - Add user to a project
|
|
642
|
-
* @param organizationId Organization ID
|
|
643
|
-
* @param projectId Project ID
|
|
644
|
-
* @param adminAddProjectUserRequest
|
|
645
|
-
*/
|
|
646
|
-
whitelabelAdminAddUserToProject(organizationId: number, projectId: number, adminAddProjectUserRequest: AdminAddProjectUserRequest, options?: {
|
|
647
|
-
headers: {
|
|
648
|
-
[name: string]: string;
|
|
649
|
-
};
|
|
650
|
-
responseHeadersCallback?: (headers: {
|
|
651
|
-
[name: string]: string;
|
|
652
|
-
}) => void;
|
|
653
|
-
}): Promise<GenericApiResponse>;
|
|
654
590
|
/**
|
|
655
591
|
* Create a new organization. This is an API only available to white label admins
|
|
656
592
|
* @summary White Label Admin - Create new organization within white label context
|
|
@@ -1095,36 +1031,6 @@ export declare class OrganizationsApi {
|
|
|
1095
1031
|
[name: string]: string;
|
|
1096
1032
|
}) => void;
|
|
1097
1033
|
}): Promise<GenericApiResponse>;
|
|
1098
|
-
/**
|
|
1099
|
-
* DEPRECATED. White label admin only API to remove a user from an organization.
|
|
1100
|
-
* @summary White Label Admin - Remove user from an organization
|
|
1101
|
-
* @param organizationId Organization ID
|
|
1102
|
-
* @param innerOrganizationId Organization ID within the context of a white label
|
|
1103
|
-
* @param userId User ID
|
|
1104
|
-
*/
|
|
1105
|
-
whitelabelAdminRemoveUserFromOrganization(organizationId: number, innerOrganizationId: number, userId: number, options?: {
|
|
1106
|
-
headers: {
|
|
1107
|
-
[name: string]: string;
|
|
1108
|
-
};
|
|
1109
|
-
responseHeadersCallback?: (headers: {
|
|
1110
|
-
[name: string]: string;
|
|
1111
|
-
}) => void;
|
|
1112
|
-
}): Promise<GenericApiResponse>;
|
|
1113
|
-
/**
|
|
1114
|
-
* DEPRECATED. White label admin only API to remove a user from a project.
|
|
1115
|
-
* @summary White Label Admin - Remove user from a project
|
|
1116
|
-
* @param organizationId Organization ID
|
|
1117
|
-
* @param projectId Project ID
|
|
1118
|
-
* @param userId User ID
|
|
1119
|
-
*/
|
|
1120
|
-
whitelabelAdminRemoveUserFromProject(organizationId: number, projectId: number, userId: number, options?: {
|
|
1121
|
-
headers: {
|
|
1122
|
-
[name: string]: string;
|
|
1123
|
-
};
|
|
1124
|
-
responseHeadersCallback?: (headers: {
|
|
1125
|
-
[name: string]: string;
|
|
1126
|
-
}) => void;
|
|
1127
|
-
}): Promise<GenericApiResponse>;
|
|
1128
1034
|
/**
|
|
1129
1035
|
* White label admin only API to restore a deleted organization. All organization projects sharing the same deletion date as that of the organization will also be restored. If this is a trial organization that was never upgraded to a paid plan then the organization will be restored to its original trial state.
|
|
1130
1036
|
* @summary White Label Admin - Restore an organization
|