@kinevolution/appwrite-functions-shared-utils 0.1.58 → 0.1.60

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.
@@ -147,12 +147,12 @@ export interface GetAllRequestsDataType {
147
147
  }
148
148
  export type GetAllRequestsResponse = Response<GetAllRequestsDataType>;
149
149
  export interface RemoveRequestsInput {
150
- requestId: string;
150
+ requestIds: string;
151
151
  }
152
152
  export declare const RemoveRequestsConfig: {
153
153
  method: "POST";
154
154
  fields: [{
155
- readonly key: "requestId";
155
+ readonly key: "requestIds";
156
156
  readonly type: "string";
157
157
  readonly required: true;
158
158
  }];
@@ -160,3 +160,12 @@ export declare const RemoveRequestsConfig: {
160
160
  export interface RemoveRequestsDataType {
161
161
  }
162
162
  export type RemoveRequestsResponse = Response<RemoveRequestsDataType>;
163
+ export interface MatchRequestsToCandidatesInput {
164
+ }
165
+ export declare const MatchRequestsToCandidatesConfig: {
166
+ method: "POST";
167
+ fields: [];
168
+ };
169
+ export interface MatchRequestsToCandidatesDataType {
170
+ }
171
+ export type MatchRequestsToCandidatesResponse = Response<MatchRequestsToCandidatesDataType>;
@@ -30,5 +30,9 @@ export const GetAllRequestsConfig = {
30
30
  };
31
31
  export const RemoveRequestsConfig = {
32
32
  method: 'POST',
33
- fields: [{ key: 'requestId', type: 'string', required: true }],
33
+ fields: [{ key: 'requestIds', type: 'string', required: true }],
34
+ };
35
+ export const MatchRequestsToCandidatesConfig = {
36
+ method: 'POST',
37
+ fields: [],
34
38
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.58",
6
+ "version": "0.1.60",
7
7
  "license": "ISC",
8
8
  "author": "Nicolas Forêt <nicolas4@gmail.com>",
9
9
  "description": "Shared utilities for Appwrite functions",
@@ -21,14 +21,13 @@
21
21
  "dist"
22
22
  ],
23
23
  "scripts": {
24
- "bat-update": "cd .. && shared-update.bat",
25
24
  "build": "node ./node_modules/typescript/bin/tsc -p tsconfig.json",
26
25
  "bump-version": "npm run bump-version:patch",
27
26
  "bump-version:major": "gulp bump-version --type=major",
28
27
  "bump-version:minor": "gulp bump-version --type=minor",
29
28
  "bump-version:patch": "gulp bump-version --type=patch",
30
- "deploy": "npm login && npm run build && npm run bump-version && npm publish --access public && npm run bat-update",
31
- "npm-update": "npx npkill && del package-lock.json && ncu -u && npm i"
29
+ "deploy": "npm login && npm run build && npm run bump-version && npm publish --access public",
30
+ "npm-update": "npx npkill -D -y && del package-lock.json && ncu -u && npm i"
32
31
  },
33
32
  "devDependencies": {
34
33
  "@types/node": "25.5.0",