@etsoo/smarterp-core 1.1.64 → 1.1.65

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.
@@ -127,11 +127,10 @@ export declare class PublicApi extends BaseApi {
127
127
  /**
128
128
  * Read member invitation
129
129
  * @param id Id
130
- * @param code Hashed code
131
130
  * @param payload Payload
132
131
  * @returns Result
133
132
  */
134
- readInvitation(id: string, code: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
133
+ readInvitation(id: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
135
134
  /**
136
135
  *
137
136
  * Get all repeat options
@@ -196,12 +196,11 @@ class PublicApi extends appscript_1.BaseApi {
196
196
  /**
197
197
  * Read member invitation
198
198
  * @param id Id
199
- * @param code Hashed code
200
199
  * @param payload Payload
201
200
  * @returns Result
202
201
  */
203
- readInvitation(id, code, payload) {
204
- return this.api.get(`Public/ReadInvitation/${id}?code=${code}`, undefined, payload);
202
+ readInvitation(id, payload) {
203
+ return this.api.get(`Public/ReadInvitation/${id}`, undefined, payload);
205
204
  }
206
205
  /**
207
206
  *
@@ -127,11 +127,10 @@ export declare class PublicApi extends BaseApi {
127
127
  /**
128
128
  * Read member invitation
129
129
  * @param id Id
130
- * @param code Hashed code
131
130
  * @param payload Payload
132
131
  * @returns Result
133
132
  */
134
- readInvitation(id: string, code: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
133
+ readInvitation(id: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
135
134
  /**
136
135
  *
137
136
  * Get all repeat options
@@ -193,12 +193,11 @@ export class PublicApi extends BaseApi {
193
193
  /**
194
194
  * Read member invitation
195
195
  * @param id Id
196
- * @param code Hashed code
197
196
  * @param payload Payload
198
197
  * @returns Result
199
198
  */
200
- readInvitation(id, code, payload) {
201
- return this.api.get(`Public/ReadInvitation/${id}?code=${code}`, undefined, payload);
199
+ readInvitation(id, payload) {
200
+ return this.api.get(`Public/ReadInvitation/${id}`, undefined, payload);
202
201
  }
203
202
  /**
204
203
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
package/src/PublicApi.ts CHANGED
@@ -258,20 +258,11 @@ export class PublicApi extends BaseApi {
258
258
  /**
259
259
  * Read member invitation
260
260
  * @param id Id
261
- * @param code Hashed code
262
261
  * @param payload Payload
263
262
  * @returns Result
264
263
  */
265
- readInvitation(
266
- id: string,
267
- code: string,
268
- payload?: IApiPayload<MemberInvitationDto>
269
- ) {
270
- return this.api.get(
271
- `Public/ReadInvitation/${id}?code=${code}`,
272
- undefined,
273
- payload
274
- );
264
+ readInvitation(id: string, payload?: IApiPayload<MemberInvitationDto>) {
265
+ return this.api.get(`Public/ReadInvitation/${id}`, undefined, payload);
275
266
  }
276
267
 
277
268
  /**