@neuralinnovations/dataisland-sdk 0.0.1-dev38 → 0.0.1-dev39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuralinnovations/dataisland-sdk",
3
- "version": "0.0.1-dev38",
3
+ "version": "0.0.1-dev39",
4
4
  "description": "SDK for DataIsland project",
5
5
  "licenses": [
6
6
  {
@@ -90,6 +90,6 @@ export declare abstract class Organization extends EventDispatcher<OrganizationE
90
90
  /**
91
91
  * Validate invite code for user
92
92
  */
93
- abstract validateInviteCode(code: number): Promise<void>;
93
+ abstract validateInviteCode(code: string): Promise<void>;
94
94
  }
95
95
  //# sourceMappingURL=organization.d.ts.map
@@ -37,6 +37,6 @@ export declare class OrganizationImpl extends Organization implements Disposable
37
37
  limitSegments(): Promise<SegmentData[]>;
38
38
  inviteUsers(emails: string[], accessGroups: string[]): Promise<void>;
39
39
  createInviteCode(accessGroups: string[]): Promise<string>;
40
- validateInviteCode(code: number): Promise<void>;
40
+ validateInviteCode(code: string): Promise<void>;
41
41
  }
42
42
  //# sourceMappingURL=organization.impl.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuralinnovations/dataisland-sdk",
3
- "version": "0.0.1-dev38",
3
+ "version": "0.0.1-dev39",
4
4
  "description": "SDK for DataIsland project",
5
5
  "licenses": [
6
6
  {
@@ -340,7 +340,7 @@ export class OrganizationImpl extends Organization implements Disposable {
340
340
  return code
341
341
  }
342
342
 
343
- async validateInviteCode(code: number): Promise<void> {
343
+ async validateInviteCode(code: string): Promise<void> {
344
344
  const response = await this.context
345
345
  .resolve(RpcService)
346
346
  ?.requestBuilder("api/v1/Invites/apply")
@@ -114,5 +114,5 @@ export abstract class Organization extends EventDispatcher<
114
114
  /**
115
115
  * Validate invite code for user
116
116
  */
117
- abstract validateInviteCode(code: number): Promise<void>
117
+ abstract validateInviteCode(code: string): Promise<void>
118
118
  }