@intlayer/api 7.2.3 → 7.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.
package/README.md CHANGED
@@ -24,6 +24,8 @@
24
24
  <a href="https://github.com/aymericzip/intlayer/blob/main/LICENSE" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/license/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="license"/></a>
25
25
  <a href="https://github.com/aymericzip/intlayer/commits/main" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/github/last-commit/aymericzip/intlayer?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="last commit"/>
26
26
  </a>
27
+ <a href="https://bountyhub.dev/bounties?repo=intlayer" target="_blank" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/badge/Bounties-on%20BountyHub-yellow?style=for-the-badge&labelColor=000000&color=FFFFFF&logoColor=000000&cacheSeconds=86400" alt="Bounties on BountyHub"/>
28
+ </a>
27
29
  </p>
28
30
 
29
31
  ![Watch the video](https://github.com/aymericzip/intlayer/blob/main/docs/assets/demo_video.gif)
@@ -1,4 +1,4 @@
1
- import { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, ChatCompletionRequestMessage, CustomQueryBody, GetDiscussionsParams, TranslateJSONBody } from "../types.js";
1
+ import { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteBody, AutocompleteResponse, ChatCompletionRequestMessage, CustomQueryBody, CustomQueryResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "../types.js";
1
+ import { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { NewsletterSubscriptionBody, NewsletterUnsubscriptionBody } from "../types.js";
1
+ import { NewsletterSubscriptionBody, NewsletterSubscriptionResult, NewsletterUnsubscriptionBody } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,3 +1,4 @@
1
+ import { GetOAuth2TokenResult } from "../types.js";
1
2
  import { FetcherOptions } from "../fetcher.js";
2
3
  import { IntlayerConfig } from "@intlayer/types";
3
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"sourcesContent":[],"mappings":";;;;cAKa,+BAAgC;wCAeO,mBAAc,QAAA;AAflE,CAAA"}
1
+ {"version":3,"file":"oAuth.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/oAuth.ts"],"sourcesContent":[],"mappings":";;;;;cAKa,+BAAgC;wCAeO,mBAAc,QAAA;AAflE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { AddOrganizationBody, AddOrganizationMemberBody, GetOrganizationParam, GetOrganizationsParams, SelectOrganizationParam, UpdateOrganizationBody, UpdateOrganizationMembersBody } from "../types.js";
1
+ import { AddOrganizationBody, AddOrganizationMemberBody, AddOrganizationMemberResult, AddOrganizationResult, DeleteOrganizationResult, GetOrganizationParam, GetOrganizationResult, GetOrganizationsParams, GetOrganizationsResult, SelectOrganizationParam, SelectOrganizationResult, UnselectOrganizationResult, UpdateOrganizationBody, UpdateOrganizationMembersBody, UpdateOrganizationMembersResult, UpdateOrganizationResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { AddNewAccessKeyBody, AddProjectBody, DeleteAccessKeyBody, GetProjectsParams, PushProjectConfigurationBody, RefreshAccessKeyBody, SelectProjectParam, UpdateProjectBody, UpdateProjectMembersBody } from "../types.js";
1
+ import { AddNewAccessKeyBody, AddNewAccessKeyResponse, AddProjectBody, AddProjectResult, DeleteAccessKeyBody, DeleteAccessKeyResponse, DeleteProjectResult, GetProjectsParams, GetProjectsResult, PushProjectConfigurationBody, PushProjectConfigurationResult, RefreshAccessKeyBody, RefreshAccessKeyResponse, SelectProjectParam, SelectProjectResult, UnselectProjectResult, UpdateProjectBody, UpdateProjectMembersBody, UpdateProjectMembersResult, UpdateProjectResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { SearchDocUtilParams } from "../types.js";
1
+ import { SearchDocUtilParams, SearchDocUtilResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { GetCheckoutSessionBody, GetPricingBody } from "../types.js";
1
+ import { GetCheckoutSessionBody, GetCheckoutSessionResult, GetPricingBody, GetPricingResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "../types.js";
1
+ import { AddTagBody, AddTagResult, DeleteTagParams, DeleteTagResult, GetTagsParams, GetTagsResult, UpdateTagBody, UpdateTagParams, UpdateTagResult } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { CreateUserBody, GetUserByAccountParams, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from "../types.js";
1
+ import { CreateUserBody, CreateUserResult, GetUserByAccountParams, GetUserByEmailParams, GetUserByEmailResult, GetUserByIdParams, GetUserByIdResult, GetUsersParams, GetUsersResult, UpdateUserBody, UpdateUserResult, UserAPI } from "../types.js";
2
2
  import { FetcherOptions } from "../fetcher.js";
3
3
  import { IntlayerConfig } from "@intlayer/types";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/api",
3
- "version": "7.2.3",
3
+ "version": "7.3.0",
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": [
@@ -65,14 +65,14 @@
65
65
  "lint:fix": "biome lint --write .",
66
66
  "prepublish": "cp -f ../../../README.md ./README.md",
67
67
  "publish": "bun publish || true",
68
- "publish:canary": "bun publish --tag canary || true",
69
- "publish:latest": "bun publish --tag latest || true",
68
+ "publish:canary": "bun publish --access public --tag canary || true",
69
+ "publish:latest": "bun publish --access public --tag latest || true",
70
70
  "test": "vitest run",
71
71
  "test:watch": "vitest",
72
72
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
73
73
  },
74
74
  "dependencies": {
75
- "@intlayer/config": "7.2.3"
75
+ "@intlayer/config": "7.3.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@types/node": "24.10.1",
@@ -82,11 +82,11 @@
82
82
  "rimraf": "6.1.2",
83
83
  "tsdown": "0.16.6",
84
84
  "typescript": "5.9.3",
85
- "vitest": "4.0.12"
85
+ "vitest": "4.0.13"
86
86
  },
87
87
  "peerDependencies": {
88
- "@intlayer/backend": "7.2.3",
89
- "intlayer-editor": "7.2.3"
88
+ "@intlayer/backend": "7.3.0",
89
+ "intlayer-editor": "7.3.0"
90
90
  },
91
91
  "peerDependenciesMeta": {
92
92
  "@intlayer/backend": {