@kittycad/lib 4.2.9 → 4.2.10
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/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts +4 -3
- package/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts.map +1 -1
- package/dist/types/src/api/service-accounts/delete_service_account_for_org.d.ts +4 -3
- package/dist/types/src/api/service-accounts/delete_service_account_for_org.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Client } from '../../client.js';
|
|
2
|
-
import { ApiTokenUuid } from '../../models.js';
|
|
3
2
|
interface DeleteApiTokenForUserInput {
|
|
4
3
|
client?: Client;
|
|
5
|
-
token:
|
|
4
|
+
token: string;
|
|
6
5
|
}
|
|
7
6
|
type DeleteApiTokenForUserReturn = void;
|
|
8
7
|
/**
|
|
@@ -12,11 +11,13 @@ type DeleteApiTokenForUserReturn = void;
|
|
|
12
11
|
*
|
|
13
12
|
* This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes.
|
|
14
13
|
*
|
|
14
|
+
* The token path parameter can be either the full API token (prefixed with `api-`) or the token's unique ID (a UUID).
|
|
15
|
+
*
|
|
15
16
|
* Tags: api-tokens
|
|
16
17
|
*
|
|
17
18
|
* @param params Function parameters.
|
|
18
19
|
* @property {Client} [client] Optional client with auth token.
|
|
19
|
-
* @property {
|
|
20
|
+
* @property {string} token The API token (prefixed with `api-`) or the token's unique ID (a UUID). (path)
|
|
20
21
|
* @returns {Promise<DeleteApiTokenForUserReturn>} successful deletion
|
|
21
22
|
*/
|
|
22
23
|
export default function delete_api_token_for_user({ client, token, }: DeleteApiTokenForUserInput): Promise<DeleteApiTokenForUserReturn>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/delete_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"delete_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/delete_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAKpD,UAAU,0BAA0B;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,KAAK,2BAA2B,GAAG,IAAI,CAAA;AAEvC;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,yBAAyB,CAAC,EACtD,MAAM,EACN,KAAK,GACN,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAoBnE"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Client } from '../../client.js';
|
|
2
|
-
import { ServiceAccountUuid } from '../../models.js';
|
|
3
2
|
interface DeleteServiceAccountForOrgInput {
|
|
4
3
|
client?: Client;
|
|
5
|
-
token:
|
|
4
|
+
token: string;
|
|
6
5
|
}
|
|
7
6
|
type DeleteServiceAccountForOrgReturn = void;
|
|
8
7
|
/**
|
|
@@ -12,11 +11,13 @@ type DeleteServiceAccountForOrgReturn = void;
|
|
|
12
11
|
*
|
|
13
12
|
* This endpoint does not actually delete the service account from the database. It merely marks the token as invalid. We still want to keep the service account in the database for historical purposes.
|
|
14
13
|
*
|
|
14
|
+
* The token path parameter can be either the full service account token (prefixed with `svc-`) or the token's unique ID (a UUID).
|
|
15
|
+
*
|
|
15
16
|
* Tags: service-accounts
|
|
16
17
|
*
|
|
17
18
|
* @param params Function parameters.
|
|
18
19
|
* @property {Client} [client] Optional client with auth token.
|
|
19
|
-
* @property {
|
|
20
|
+
* @property {string} token The service account token (prefixed with `svc-`) or the token's unique ID (a UUID). (path)
|
|
20
21
|
* @returns {Promise<DeleteServiceAccountForOrgReturn>} successful deletion
|
|
21
22
|
*/
|
|
22
23
|
export default function delete_service_account_for_org({ client, token, }: DeleteServiceAccountForOrgInput): Promise<DeleteServiceAccountForOrgReturn>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete_service_account_for_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/service-accounts/delete_service_account_for_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"delete_service_account_for_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/service-accounts/delete_service_account_for_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAKpD,UAAU,+BAA+B;IACvC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,KAAK,gCAAgC,GAAG,IAAI,CAAA;AAE5C;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,8BAA8B,CAAC,EAC3D,MAAM,EACN,KAAK,GACN,EAAE,+BAA+B,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAoB7E"}
|