@intlayer/api 6.0.0-canary.1 → 6.0.0-canary.2
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/getIntlayerAPI/ai.d.ts +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +0 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody,
|
|
3
|
+
import type { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, ChatCompletionRequestMessage, CustomQueryBody, TranslateJSONBody } from '../types';
|
|
4
4
|
export type AskDocQuestionBody = {
|
|
5
5
|
messages: ChatCompletionRequestMessage[];
|
|
6
6
|
discutionId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/ai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,gCAAgC,
|
|
1
|
+
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/ai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,gCAAgC,EAEhC,mCAAmC,EAGnC,YAAY,EAEZ,gBAAgB,EAEhB,4BAA4B,EAC5B,eAAe,EAEf,iBAAiB,EAElB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,4BAA4B,EAAE,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,YAAY,EAAE,oBAAoB,EAAE,CAAC;AAErC,eAAO,MAAM,QAAQ,GACnB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;yBAmBtB,eAAe,iBACR,cAAc;2BAkBrB,iBAAiB,iBACV,cAAc;qCAkBrB,2BAA2B,iBACpB,cAAc;0CAkBrB,gCAAgC,iBACzB,cAAc;6CAkBrB,mCAAmC,iBAC5B,cAAc;sBAkBrB,YAAY,iBACL,cAAc;4BAgCrB,kBAAkB,iBACX,cAAc;0BAuFrB,gBAAgB,iBACT,cAAc;CAsB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { AddDictionaryBody,
|
|
3
|
+
import type { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from '../types';
|
|
4
4
|
export declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
6
6
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/dictionary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,iBAAiB,
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/dictionary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,iBAAiB,EAEjB,qBAAqB,EAGrB,qBAAqB,EAGrB,mBAAmB,EACnB,kBAAkB,EAElB,oBAAoB,EAEpB,oBAAoB,EAErB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,gBAAgB,GAC3B,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;gCAkBnB,qBAAqB,iBACjB,cAAc;yCAcmB,cAAc;oDAW/C,cAAc;mCAcb,mBAAmB,CAAC,eAAe,CAAC,YACzC,kBAAkB,CAAC,SAAS,CAAC,iBACzB,cAAc;qCA8Bd,oBAAoB,CAAC,cAAc,CAAC,iBACpC,cAAc;0BAftB,iBAAiB,iBACT,cAAc;mCA+BhB,oBAAoB,iBAClB,cAAc;2BAiBxB,qBAAqB,CAAC,cAAc,CAAC,iBAC3B,cAAc;CAqB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { NewsletterSubscriptionBody,
|
|
3
|
+
import type { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from '../types';
|
|
4
4
|
export declare const getNewsletterAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
subscribeToNewsletter: (body: NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
6
6
|
unsubscribeFromNewsletter: (body: NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/newsletter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,0BAA0B,
|
|
1
|
+
{"version":3,"file":"newsletter.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/newsletter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,0BAA0B,EAE1B,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,gBAAgB,GAC3B,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;kCAmBvB,0BAA0B,iBAClB,cAAc;sCAkBtB,4BAA4B,iBACpB,cAAc;yCAgBmB,cAAc;CAehE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { FetcherOptions } from '../fetcher';
|
|
3
|
-
import { GetOAuth2TokenResult } from '../types';
|
|
4
3
|
export declare const getOAuthAPI: (intlayerConfig?: IntlayerConfig) => {
|
|
5
4
|
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
6
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/oAuth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAW,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"oAuth.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/oAuth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAW,MAAM,YAAY,CAAC;AAGrD,eAAO,MAAM,WAAW,GAAI,iBAAiB,cAAc;0CAeP,cAAc;CAqBjE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { AddOrganizationBody, AddOrganizationMemberBody,
|
|
3
|
+
import type { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMembersBody } from '../types';
|
|
4
4
|
export declare const getOrganizationAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
getOrganizations: (filters?: GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
6
6
|
getOrganization: (organizationId: GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/organization.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/organization.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAIzB,oBAAoB,EAEpB,sBAAsB,EAEtB,uBAAuB,EAGvB,sBAAsB,EACtB,6BAA6B,EAG9B,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,kBAAkB,GAC7B,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;iCAkBnB,sBAAsB,iBAClB,cAAc;sCAgBZ,oBAAoB,CAAC,gBAAgB,CAAC,iBACxC,cAAc;oCAad,mBAAmB,iBACnB,cAAc;kCAqDtB,yBAAyB,iBACjB,cAAc;uCArCd,sBAAsB,iBACtB,cAAc;sCAiBtB,6BAA6B,iBACrB,cAAc;wCAkCkB,cAAc;yCAe5C,uBAAuB,CAAC,gBAAgB,CAAC,iBAC3C,cAAc;0CAeoB,cAAc;CAqBjE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { AddNewAccessKeyBody,
|
|
3
|
+
import type { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, UpdateProjectBody, UpdateProjectMembersBody } from '../types';
|
|
4
4
|
export declare const getProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
getProjects: (filters?: GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
6
6
|
addProject: (project: AddProjectBody, otherOptions?: FetcherOptions) => Promise<AddProjectResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/project.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,mBAAmB,
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/project.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,mBAAmB,EAEnB,cAAc,EAEd,mBAAmB,EAGnB,iBAAiB,EAEjB,4BAA4B,EAE5B,oBAAoB,EAEpB,kBAAkB,EAGlB,iBAAiB,EACjB,wBAAwB,EAGzB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,aAAa,GACxB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;4BAkBnB,iBAAiB,iBACb,cAAc;0BAgBnB,cAAc,iBACT,cAAc;6BAiBnB,iBAAiB,iBACZ,cAAc;iCAiBtB,wBAAwB,iBAChB,cAAc;qDAgBN,4BAA4B,iBACpC,cAAc;mCAgBa,cAAc;+BAe5C,kBAAkB,CAAC,WAAW,CAAC,iBAC5B,cAAc;qCAee,cAAc;iCAiB9C,mBAAmB,iBAChB,cAAc;gCAmBlB,mBAAmB,CAAC,UAAU,CAAC,iBAC3B,cAAc;iCAmBlB,oBAAoB,CAAC,UAAU,CAAC,iBAC5B,cAAc;CAyB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { SearchDocUtilParams
|
|
3
|
+
import type { SearchDocUtilParams } from '../types';
|
|
4
4
|
export declare const getSearchAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/search.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/search.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAuB,MAAM,UAAU,CAAC;AAEzE,eAAO,MAAM,YAAY,GACvB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;yBAmBpB,mBAAmB,iBACd,cAAc;CAe/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { GetCheckoutSessionBody,
|
|
3
|
+
import type { GetCheckoutSessionBody, GetPricingBody } from '../types';
|
|
4
4
|
export declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
6
6
|
getSubscription: (body?: GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/stripe.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,sBAAsB,
|
|
1
|
+
{"version":3,"file":"stripe.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/stripe.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,sBAAsB,EAEtB,cAAc,EAEf,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,YAAY,GACvB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;wBAkBtB,cAAc,iBACP,cAAc;6BAiBrB,sBAAsB,iBACf,cAAc;wCAgBkB,cAAc;CAe/D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { AddTagBody,
|
|
3
|
+
import type { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from '../types';
|
|
4
4
|
export declare const getTagAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
6
6
|
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,EAEV,eAAe,EAEf,aAAa,EAEb,aAAa,EACb,eAAe,EAEhB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,SAAS,GACpB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;wBAkBnB,aAAa,iBACT,cAAc;kBAeH,UAAU,iBAAgB,cAAc;uBAgB1D,eAAe,CAAC,OAAO,CAAC,OAC1B,aAAa,iBACJ,cAAc;uBAiBrB,eAAe,CAAC,OAAO,CAAC,iBAEjB,cAAc;CAiB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type IntlayerConfig } from '@intlayer/config/client';
|
|
2
2
|
import { type FetcherOptions } from '../fetcher';
|
|
3
|
-
import type { CreateUserBody,
|
|
3
|
+
import type { CreateUserBody, GetUserByAccountParams, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from '../types';
|
|
4
4
|
export declare const getUserAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
5
5
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
6
6
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,cAAc,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/getIntlayerAPI/user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,KAAK,EACV,cAAc,EAEd,sBAAsB,EAEtB,oBAAoB,EAEpB,iBAAiB,EAEjB,cAAc,EAEd,cAAc,EAEd,OAAO,EACR,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,UAAU,GACrB,iBAAgB,cAAmB,EACnC,iBAAiB,cAAc;uBAmFvB,cAAc,iBACN,cAAc;yBAjElB,cAAc,iBACV,cAAc;0BAiBpB,iBAAiB,CAAC,QAAQ,CAAC,iBACrB,cAAc;0CA6BT,sBAAsB,CAAC,mBAAmB,CAAC,YACpD,sBAAsB,CAAC,UAAU,CAAC,iBAC9B,cAAc;4BAjBrB,oBAAoB,CAAC,OAAO,CAAC,iBACtB,cAAc;uBAiDtB,cAAc,iBACN,cAAc;yBAkBpB,MAAM,iBACA,cAAc;sCAgBW,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAahE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/api",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "SDK for interacting with the Intlayer API, enabling content auditing, and managing organizations, projects, and users.",
|
|
6
6
|
"keywords": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"./package.json"
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@intlayer/config": "6.0.0-canary.
|
|
58
|
+
"@intlayer/config": "6.0.0-canary.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@changesets/changelog-github": "0.5.1",
|
|
@@ -70,15 +70,15 @@
|
|
|
70
70
|
"tsup": "^8.5.0",
|
|
71
71
|
"typescript": "^5.9.2",
|
|
72
72
|
"vitest": "^3.2.4",
|
|
73
|
+
"@utils/eslint-config": "1.0.4",
|
|
73
74
|
"@utils/ts-config": "1.0.4",
|
|
74
|
-
"@utils/tsup-config": "1.0.4",
|
|
75
75
|
"@utils/ts-config-types": "1.0.4",
|
|
76
|
-
"@utils/
|
|
76
|
+
"@utils/tsup-config": "1.0.4"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@intlayer/config": "6.0.0-canary.
|
|
80
|
-
"@intlayer/backend": "6.0.0-canary.
|
|
81
|
-
"intlayer-editor": "6.0.0-canary.
|
|
79
|
+
"@intlayer/config": "6.0.0-canary.2",
|
|
80
|
+
"@intlayer/backend": "6.0.0-canary.2",
|
|
81
|
+
"intlayer-editor": "6.0.0-canary.2"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
84
|
"node": ">=14.18"
|