@solidtime/api 0.0.2 → 0.0.3
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/index.d.ts +3 -1
- package/dist/solidtime-api.js +702 -698
- package/dist/solidtime-api.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiOf, ZodiosResponseByAlias, ZodiosBodyByAlias, ZodiosQueryParamsByAlias } from '@zodios/core';
|
|
2
|
+
import { createApiClient } from './openapi.json.client';
|
|
2
3
|
export type SolidTimeApi = ApiOf<typeof api>;
|
|
3
4
|
export type InvitationsIndexResponse = ZodiosResponseByAlias<SolidTimeApi, 'getInvitations'>;
|
|
4
5
|
export type CreateInvitationBody = ZodiosBodyByAlias<SolidTimeApi, 'invite'>;
|
|
@@ -41,7 +42,7 @@ export type Organization = ZodiosResponseByAlias<SolidTimeApi, 'getOrganization'
|
|
|
41
42
|
export type UpdateOrganizationBody = ZodiosBodyByAlias<SolidTimeApi, 'updateOrganization'>;
|
|
42
43
|
export type MyMemberships = ZodiosResponseByAlias<SolidTimeApi, 'getMyMemberships'>['data'];
|
|
43
44
|
export type MyMembership = MyMemberships[0];
|
|
44
|
-
|
|
45
|
+
declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
45
46
|
method: "get";
|
|
46
47
|
path: "/v1/organizations/:organization";
|
|
47
48
|
alias: "getOrganization";
|
|
@@ -7114,3 +7115,4 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
7114
7115
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
7115
7116
|
}];
|
|
7116
7117
|
}]>;
|
|
7118
|
+
export { createApiClient, api };
|