@or-sdk/invitations 1.1.0-beta.2601.0 → 1.1.0-beta.2604.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.
- package/dist/cjs/Invitations.js +8 -31
- package/dist/cjs/Invitations.js.map +1 -1
- package/dist/esm/Invitations.js +7 -14
- package/dist/esm/Invitations.js.map +1 -1
- package/dist/types/Invitations.d.ts +5 -4
- package/dist/types/Invitations.d.ts.map +1 -1
- package/dist/types/types.d.ts +0 -6
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/Invitations.ts +9 -16
- package/src/types.ts +0 -14
- package/dist/cjs/constants.js +0 -5
- package/dist/cjs/constants.js.map +0 -1
- package/dist/esm/constants.js +0 -2
- package/dist/esm/constants.js.map +0 -1
- package/dist/types/constants.d.ts +0 -2
- package/dist/types/constants.d.ts.map +0 -1
- package/src/constants.ts +0 -1
package/dist/cjs/Invitations.js
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -52,25 +37,17 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
52
37
|
};
|
|
53
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
39
|
exports.Invitations = void 0;
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var Invitations = (function (_super) {
|
|
58
|
-
__extends(Invitations, _super);
|
|
40
|
+
var users_1 = require("@or-sdk/users");
|
|
41
|
+
var Invitations = (function () {
|
|
59
42
|
function Invitations(params) {
|
|
60
|
-
|
|
61
|
-
return _super.call(this, {
|
|
62
|
-
token: token,
|
|
63
|
-
serviceUrl: usersUrl,
|
|
64
|
-
serviceKey: constants_1.SERVICE_KEY,
|
|
65
|
-
discoveryUrl: discoveryUrl,
|
|
66
|
-
}) || this;
|
|
43
|
+
this.users = new users_1.Users(params);
|
|
67
44
|
}
|
|
68
45
|
Invitations.prototype.createInvitation = function (payload) {
|
|
69
46
|
return __awaiter(this, void 0, void 0, function () {
|
|
70
47
|
var data;
|
|
71
48
|
return __generator(this, function (_a) {
|
|
72
49
|
switch (_a.label) {
|
|
73
|
-
case 0: return [4, this.
|
|
50
|
+
case 0: return [4, this.users.makeRequest({
|
|
74
51
|
method: 'POST',
|
|
75
52
|
route: '/invitation',
|
|
76
53
|
data: payload,
|
|
@@ -90,7 +67,7 @@ var Invitations = (function (_super) {
|
|
|
90
67
|
switch (_b.label) {
|
|
91
68
|
case 0:
|
|
92
69
|
_a = params.from, from = _a === void 0 ? 0 : _a, size = params.size, orderDirection = params.orderDirection, orderProperty = params.orderProperty, query = params.query;
|
|
93
|
-
return [4, this.
|
|
70
|
+
return [4, this.users.makeRequest({
|
|
94
71
|
method: 'GET',
|
|
95
72
|
route: '/invitations',
|
|
96
73
|
params: {
|
|
@@ -111,7 +88,7 @@ var Invitations = (function (_super) {
|
|
|
111
88
|
Invitations.prototype.approveInvitation = function (invitationId, payload) {
|
|
112
89
|
return __awaiter(this, void 0, void 0, function () {
|
|
113
90
|
return __generator(this, function (_a) {
|
|
114
|
-
return [2, this.
|
|
91
|
+
return [2, this.users.makeRequest({
|
|
115
92
|
method: 'PUT',
|
|
116
93
|
route: "/invitation/approve/".concat(invitationId),
|
|
117
94
|
data: payload,
|
|
@@ -123,7 +100,7 @@ var Invitations = (function (_super) {
|
|
|
123
100
|
return __awaiter(this, void 0, void 0, function () {
|
|
124
101
|
return __generator(this, function (_a) {
|
|
125
102
|
switch (_a.label) {
|
|
126
|
-
case 0: return [4, this.
|
|
103
|
+
case 0: return [4, this.users.makeRequest({
|
|
127
104
|
method: 'DELETE',
|
|
128
105
|
route: "/invitation/".concat(invitationId),
|
|
129
106
|
})];
|
|
@@ -135,6 +112,6 @@ var Invitations = (function (_super) {
|
|
|
135
112
|
});
|
|
136
113
|
};
|
|
137
114
|
return Invitations;
|
|
138
|
-
}(
|
|
115
|
+
}());
|
|
139
116
|
exports.Invitations = Invitations;
|
|
140
117
|
//# sourceMappingURL=Invitations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invitations.js","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Invitations.js","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAmD;AAenD;IAQE,qBAAY,MAAmB;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEY,sCAAgB,GAA7B,UAA8B,OAAgC;;;;;4BAC/C,WAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAqB;4BAC5D,MAAM,EAAE,MAAM;4BACd,KAAK,EAAE,aAAa;4BACpB,IAAI,EAAE,OAAO;yBACd,CAAC,EAAA;;wBAJI,IAAI,GAAG,SAIX;wBACF,WAAO,IAAI,EAAC;;;;KACb;IAEY,qCAAe,GAA5B,UAA6B,MAAoC;QAApC,uBAAA,EAAA,SAAS,EAA2B;;;;;;wBACvD,KAAyD,MAAM,KAAvD,EAAR,IAAI,mBAAG,CAAC,KAAA,EAAE,IAAI,GAA2C,MAAM,KAAjD,EAAE,cAAc,GAA2B,MAAM,eAAjC,EAAE,aAAa,GAAY,MAAM,cAAlB,EAAE,KAAK,GAAK,MAAM,MAAX,CAAY;wBAC3D,WAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAuB;gCAC9D,MAAM,EAAE,KAAK;gCACb,KAAK,EAAE,cAAc;gCACrB,MAAM,EAAE;oCACN,IAAI,MAAA;oCACJ,IAAI,MAAA;oCACJ,cAAc,gBAAA;oCACd,aAAa,eAAA;oCACb,KAAK,OAAA;iCACN;6BACF,CAAC,EAAA;;wBAVI,IAAI,GAAG,SAUX;wBACF,WAAO,IAAI,EAAC;;;;KACb;IAEY,uCAAiB,GAA9B,UACE,YAAoB,EACpB,OAAiC;;;gBAEjC,WAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;wBAC5B,MAAM,EAAE,KAAK;wBACb,KAAK,EAAE,8BAAuB,YAAY,CAAE;wBAC5C,IAAI,EAAE,OAAO;qBACd,CAAC,EAAC;;;KACJ;IAEY,sCAAgB,GAA7B,UAA8B,YAAoB;;;;4BAChD,WAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;4BAC3B,MAAM,EAAE,QAAQ;4BAChB,KAAK,EAAE,sBAAe,YAAY,CAAE;yBACrC,CAAC,EAAA;;wBAHF,SAGE,CAAC;;;;;KACJ;IACH,kBAAC;AAAD,CAAC,AAtDD,IAsDC;AAtDY,kCAAW"}
|
package/dist/esm/Invitations.js
CHANGED
|
@@ -7,21 +7,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
export class Invitations extends Base {
|
|
10
|
+
import { Users } from '@or-sdk/users';
|
|
11
|
+
export class Invitations {
|
|
13
12
|
constructor(params) {
|
|
14
|
-
|
|
15
|
-
super({
|
|
16
|
-
token,
|
|
17
|
-
serviceUrl: usersUrl,
|
|
18
|
-
serviceKey: SERVICE_KEY,
|
|
19
|
-
discoveryUrl,
|
|
20
|
-
});
|
|
13
|
+
this.users = new Users(params);
|
|
21
14
|
}
|
|
22
15
|
createInvitation(payload) {
|
|
23
16
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const data = yield this.
|
|
17
|
+
const data = yield this.users.makeRequest({
|
|
25
18
|
method: 'POST',
|
|
26
19
|
route: '/invitation',
|
|
27
20
|
data: payload,
|
|
@@ -32,7 +25,7 @@ export class Invitations extends Base {
|
|
|
32
25
|
listInvitations(params = {}) {
|
|
33
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
27
|
const { from = 0, size, orderDirection, orderProperty, query } = params;
|
|
35
|
-
const data = yield this.
|
|
28
|
+
const data = yield this.users.makeRequest({
|
|
36
29
|
method: 'GET',
|
|
37
30
|
route: '/invitations',
|
|
38
31
|
params: {
|
|
@@ -48,7 +41,7 @@ export class Invitations extends Base {
|
|
|
48
41
|
}
|
|
49
42
|
approveInvitation(invitationId, payload) {
|
|
50
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
-
return this.
|
|
44
|
+
return this.users.makeRequest({
|
|
52
45
|
method: 'PUT',
|
|
53
46
|
route: `/invitation/approve/${invitationId}`,
|
|
54
47
|
data: payload,
|
|
@@ -57,7 +50,7 @@ export class Invitations extends Base {
|
|
|
57
50
|
}
|
|
58
51
|
deleteInvitation(invitationId) {
|
|
59
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
yield this.
|
|
53
|
+
yield this.users.makeRequest({
|
|
61
54
|
method: 'DELETE',
|
|
62
55
|
route: `/invitation/${invitationId}`,
|
|
63
56
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invitations.js","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Invitations.js","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAe,MAAM,eAAe,CAAC;AAenD,MAAM,OAAO,WAAW;IAQtB,YAAY,MAAmB;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEY,gBAAgB,CAAC,OAAgC;;YAC5D,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAqB;gBAC5D,MAAM,EAAE,MAAM;gBACd,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;KAAA;IAEY,eAAe,CAAC,SAAS,EAA2B;;YAC/D,MAAM,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;YACxE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAuB;gBAC9D,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE;oBACN,IAAI;oBACJ,IAAI;oBACJ,cAAc;oBACd,aAAa;oBACb,KAAK;iBACN;aACF,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;KAAA;IAEY,iBAAiB,CAC5B,YAAoB,EACpB,OAAiC;;YAEjC,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;gBAC5B,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,uBAAuB,YAAY,EAAE;gBAC5C,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;QACL,CAAC;KAAA;IAEY,gBAAgB,CAAC,YAAoB;;YAChD,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,KAAK,EAAE,eAAe,YAAY,EAAE;aACrC,CAAC,CAAC;QACL,CAAC;KAAA;CACF"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class Invitations
|
|
4
|
-
|
|
1
|
+
import { UsersConfig } from '@or-sdk/users';
|
|
2
|
+
import { InvitationCreatePayload, InvitationResponse, ApproveInvitationPayload, ListInvitationsParams } from './types';
|
|
3
|
+
export declare class Invitations {
|
|
4
|
+
private readonly users;
|
|
5
|
+
constructor(params: UsersConfig);
|
|
5
6
|
createInvitation(payload: InvitationCreatePayload): Promise<InvitationResponse>;
|
|
6
7
|
listInvitations(params?: ListInvitationsParams): Promise<InvitationResponse[]>;
|
|
7
8
|
approveInvitation(invitationId: string, payload: ApproveInvitationPayload): Promise<InvitationResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invitations.d.ts","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Invitations.d.ts","sourceRoot":"","sources":["../../src/Invitations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AASjB,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;gBAOlB,MAAM,EAAE,WAAW;IAIlB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAS/E,eAAe,CAAC,MAAM,wBAA8B,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAgBpF,iBAAiB,CAC5B,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,kBAAkB,CAAC;IAQjB,gBAAgB,CAAC,YAAY,EAAE,MAAM;CAMnD"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,YAAY,EAAE,IAAI,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE;QACZ,KAAK,EAAE,MAAM,EAAE,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.1.0-beta.
|
|
2
|
+
"version": "1.1.0-beta.2604.0",
|
|
3
3
|
"name": "@or-sdk/invitations",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@or-sdk/base": "^0.32.0"
|
|
27
|
+
"@or-sdk/base": "^0.32.0",
|
|
28
|
+
"@or-sdk/users": "^2.4.9-beta.2604.0"
|
|
28
29
|
}
|
|
29
30
|
}
|
package/src/Invitations.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Users, UsersConfig } from '@or-sdk/users';
|
|
2
2
|
import {
|
|
3
|
-
InvitationsConfig,
|
|
4
3
|
InvitationCreatePayload,
|
|
5
4
|
InvitationResponse,
|
|
6
5
|
ApproveInvitationPayload,
|
|
7
6
|
ListInvitationsParams,
|
|
8
7
|
} from './types';
|
|
9
|
-
import { SERVICE_KEY } from './constants';
|
|
10
8
|
|
|
11
9
|
/**
|
|
12
10
|
* OneReach Invitations service client
|
|
@@ -15,25 +13,20 @@ import { SERVICE_KEY } from './constants';
|
|
|
15
13
|
* $ npm i @or-sdk/invitations
|
|
16
14
|
* ```
|
|
17
15
|
*/
|
|
18
|
-
export class Invitations
|
|
16
|
+
export class Invitations {
|
|
17
|
+
private readonly users: Users;
|
|
19
18
|
/**
|
|
20
19
|
* ```typescript
|
|
21
20
|
* import { Invitations } from '@or-sdk/invitations'
|
|
22
21
|
* const invitations = new Invitations({token: 'my-account-token-string', discoveryUrl: 'http://example.tables/endpoint'});
|
|
23
22
|
* ```
|
|
24
23
|
*/
|
|
25
|
-
constructor(params:
|
|
26
|
-
|
|
27
|
-
super({
|
|
28
|
-
token,
|
|
29
|
-
serviceUrl: usersUrl,
|
|
30
|
-
serviceKey: SERVICE_KEY,
|
|
31
|
-
discoveryUrl,
|
|
32
|
-
});
|
|
24
|
+
constructor(params: UsersConfig) {
|
|
25
|
+
this.users = new Users(params);
|
|
33
26
|
}
|
|
34
27
|
|
|
35
28
|
public async createInvitation(payload: InvitationCreatePayload): Promise<InvitationResponse> {
|
|
36
|
-
const data = await this.
|
|
29
|
+
const data = await this.users.makeRequest<InvitationResponse>({
|
|
37
30
|
method: 'POST',
|
|
38
31
|
route: '/invitation',
|
|
39
32
|
data: payload,
|
|
@@ -43,7 +36,7 @@ export class Invitations extends Base {
|
|
|
43
36
|
|
|
44
37
|
public async listInvitations(params = {} as ListInvitationsParams): Promise<InvitationResponse[]> {
|
|
45
38
|
const { from = 0, size, orderDirection, orderProperty, query } = params;
|
|
46
|
-
const data = await this.
|
|
39
|
+
const data = await this.users.makeRequest<InvitationResponse[]>({
|
|
47
40
|
method: 'GET',
|
|
48
41
|
route: '/invitations',
|
|
49
42
|
params: {
|
|
@@ -61,7 +54,7 @@ export class Invitations extends Base {
|
|
|
61
54
|
invitationId: string,
|
|
62
55
|
payload: ApproveInvitationPayload
|
|
63
56
|
): Promise<InvitationResponse> {
|
|
64
|
-
return this.
|
|
57
|
+
return this.users.makeRequest({
|
|
65
58
|
method: 'PUT',
|
|
66
59
|
route: `/invitation/approve/${invitationId}`,
|
|
67
60
|
data: payload,
|
|
@@ -69,7 +62,7 @@ export class Invitations extends Base {
|
|
|
69
62
|
}
|
|
70
63
|
|
|
71
64
|
public async deleteInvitation(invitationId: string) {
|
|
72
|
-
await this.
|
|
65
|
+
await this.users.makeRequest({
|
|
73
66
|
method: 'DELETE',
|
|
74
67
|
route: `/invitation/${invitationId}`,
|
|
75
68
|
});
|
package/src/types.ts
CHANGED
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { Token } from '@or-sdk/base';
|
|
2
|
-
|
|
3
|
-
export type InvitationsConfig = {
|
|
4
|
-
/**
|
|
5
|
-
* token
|
|
6
|
-
*/
|
|
7
|
-
token: Token;
|
|
8
|
-
/**
|
|
9
|
-
* function which return token
|
|
10
|
-
*/
|
|
11
|
-
usersUrl: string;
|
|
12
|
-
discoveryUrl?: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
1
|
export type InvitationCreatePayload = {
|
|
16
2
|
accountId: string;
|
|
17
3
|
email: string;
|
package/dist/cjs/constants.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,iBAAiB,CAAC"}
|
package/dist/esm/constants.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,oBAAoB,CAAC"}
|
package/src/constants.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const SERVICE_KEY = 'invitations-api';
|