@gymspace/sdk 1.2.19 → 1.2.21
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/invitations.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -1346,6 +1346,7 @@ declare class InvitationsResource extends BaseResource {
|
|
|
1346
1346
|
}>;
|
|
1347
1347
|
acceptInvitation(data: AcceptInvitationDto, options?: RequestOptions): Promise<void>;
|
|
1348
1348
|
cancelInvitation(id: string, options?: RequestOptions): Promise<void>;
|
|
1349
|
+
resendInvitation(id: string, options?: RequestOptions): Promise<void>;
|
|
1349
1350
|
}
|
|
1350
1351
|
|
|
1351
1352
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1346,6 +1346,7 @@ declare class InvitationsResource extends BaseResource {
|
|
|
1346
1346
|
}>;
|
|
1347
1347
|
acceptInvitation(data: AcceptInvitationDto, options?: RequestOptions): Promise<void>;
|
|
1348
1348
|
cancelInvitation(id: string, options?: RequestOptions): Promise<void>;
|
|
1349
|
+
resendInvitation(id: string, options?: RequestOptions): Promise<void>;
|
|
1349
1350
|
}
|
|
1350
1351
|
|
|
1351
1352
|
/**
|
package/dist/index.js
CHANGED
|
@@ -814,6 +814,9 @@ var InvitationsResource = class extends BaseResource {
|
|
|
814
814
|
async cancelInvitation(id, options) {
|
|
815
815
|
return this.client.put(`${this.basePath}/${id}/cancel`, void 0, options);
|
|
816
816
|
}
|
|
817
|
+
async resendInvitation(id, options) {
|
|
818
|
+
return this.client.post(`${this.basePath}/${id}/resend`, void 0, options);
|
|
819
|
+
}
|
|
817
820
|
};
|
|
818
821
|
|
|
819
822
|
// src/resources/assets.ts
|