randmar-api-client 1.2.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.
@@ -0,0 +1,13 @@
1
+ import { randmarApi } from './randmarApi';
2
+ const enhancedApi = randmarApi.enhanceEndpoints({
3
+ addTagTypes: ['Conversations'],
4
+ endpoints: {
5
+ getV4PartnerByApplicationIdBusinessDevelopmentConversations: {
6
+ providesTags: ['Conversations'],
7
+ },
8
+ putV4PartnerByApplicationIdBusinessDevelopment: {
9
+ invalidatesTags: ['Conversations'],
10
+ },
11
+ },
12
+ });
13
+ export { enhancedApi as randmarApiWithTags };
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "randmar-api-client",
3
+ "version": "1.2.0",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://dev.azure.com/randmar/Randmar%20Open%20Source/_git/RandmarApiClient"
17
+ },
18
+ "author": "Randmar Inc.",
19
+ "license": "MIT",
20
+ "homepage": "https://dev.azure.com/randmar/Randmar%20Open%20Source/_git/RandmarApiClient",
21
+ "publishConfig": {
22
+ "registry": "https://registry.npmjs.org/"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "scripts": {
28
+ "build": "tsc --project tsconfig.build.json",
29
+ "generate-api": "cross-env TS_NODE_PROJECT=tsconfig.codegen.json npx @rtk-query/codegen-openapi openapi-config.cts"
30
+ },
31
+ "devDependencies": {
32
+ "cross-env": "^7.0.3",
33
+ "typescript": "~5.7.2"
34
+ },
35
+ "dependencies": {
36
+ "@reduxjs/toolkit": "^2.6.1",
37
+ "@rtk-query/codegen-openapi": "^2.0.0",
38
+ "ts-node": "^10.9.2"
39
+ }
40
+ }