@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.
- package/lib/cjs/PublicApi.d.ts +1 -2
- package/lib/cjs/PublicApi.js +2 -3
- package/lib/mjs/PublicApi.d.ts +1 -2
- package/lib/mjs/PublicApi.js +2 -3
- package/package.json +1 -1
- package/src/PublicApi.ts +2 -11
package/lib/cjs/PublicApi.d.ts
CHANGED
|
@@ -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,
|
|
133
|
+
readInvitation(id: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
|
|
135
134
|
/**
|
|
136
135
|
*
|
|
137
136
|
* Get all repeat options
|
package/lib/cjs/PublicApi.js
CHANGED
|
@@ -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,
|
|
204
|
-
return this.api.get(`Public/ReadInvitation/${id}
|
|
202
|
+
readInvitation(id, payload) {
|
|
203
|
+
return this.api.get(`Public/ReadInvitation/${id}`, undefined, payload);
|
|
205
204
|
}
|
|
206
205
|
/**
|
|
207
206
|
*
|
package/lib/mjs/PublicApi.d.ts
CHANGED
|
@@ -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,
|
|
133
|
+
readInvitation(id: string, payload?: IApiPayload<MemberInvitationDto>): Promise<MemberInvitationDto | undefined>;
|
|
135
134
|
/**
|
|
136
135
|
*
|
|
137
136
|
* Get all repeat options
|
package/lib/mjs/PublicApi.js
CHANGED
|
@@ -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,
|
|
201
|
-
return this.api.get(`Public/ReadInvitation/${id}
|
|
199
|
+
readInvitation(id, payload) {
|
|
200
|
+
return this.api.get(`Public/ReadInvitation/${id}`, undefined, payload);
|
|
202
201
|
}
|
|
203
202
|
/**
|
|
204
203
|
*
|
package/package.json
CHANGED
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
|
|
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
|
/**
|