@bloque/sdk-orgs 0.8.1 → 0.9.1
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/internal/wire-types.d.ts +6 -6
- package/dist/types.d.ts +1 -3
- package/package.json +2 -2
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* @internal
|
|
9
9
|
* Organization type
|
|
10
10
|
*/
|
|
11
|
-
export type OrgType = 'business' | '
|
|
11
|
+
export type OrgType = 'business' | 'dao';
|
|
12
12
|
/**
|
|
13
13
|
* @internal
|
|
14
14
|
* Organization status
|
|
15
15
|
*/
|
|
16
|
-
export type OrgStatus = 'awaiting_compliance_verification' | 'active' | '
|
|
16
|
+
export type OrgStatus = 'awaiting_compliance_verification' | 'active' | 'inactive' | 'suspended';
|
|
17
17
|
/**
|
|
18
18
|
* @internal
|
|
19
19
|
* Place/location for organization
|
|
@@ -22,9 +22,11 @@ export interface Place {
|
|
|
22
22
|
country_code: string;
|
|
23
23
|
state: string;
|
|
24
24
|
address_line1: string;
|
|
25
|
+
address_line2?: string;
|
|
25
26
|
postal_code: string;
|
|
26
27
|
city: string;
|
|
27
28
|
is_primary: boolean;
|
|
29
|
+
metadata: Record<string, string>;
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -36,7 +38,7 @@ export interface OrgProfile {
|
|
|
36
38
|
incorporation_date: string;
|
|
37
39
|
business_type: string;
|
|
38
40
|
incorporation_country_code: string;
|
|
39
|
-
incorporation_state
|
|
41
|
+
incorporation_state: string;
|
|
40
42
|
address_line1: string;
|
|
41
43
|
address_line2?: string;
|
|
42
44
|
postal_code: string;
|
|
@@ -217,7 +219,7 @@ export type InviteType = 'member' | 'team';
|
|
|
217
219
|
* @internal
|
|
218
220
|
* Invite status
|
|
219
221
|
*/
|
|
220
|
-
export type InviteStatus = 'pending' | 'accepted' | 'rejected' | 'expired'
|
|
222
|
+
export type InviteStatus = 'pending' | 'accepted' | 'rejected' | 'expired';
|
|
221
223
|
/**
|
|
222
224
|
* @internal
|
|
223
225
|
* Invite channel
|
|
@@ -277,8 +279,6 @@ export interface CreateInviteResponse {
|
|
|
277
279
|
export interface ListInvitesResponse {
|
|
278
280
|
data: Invite[];
|
|
279
281
|
total: number;
|
|
280
|
-
limit: number;
|
|
281
|
-
offset: number;
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
284
|
* @internal
|
package/dist/types.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface VerifySlugResult {
|
|
|
15
15
|
*/
|
|
16
16
|
export interface ListInvitesParams {
|
|
17
17
|
type?: 'member' | 'team';
|
|
18
|
-
status?: 'pending' | 'accepted' | 'rejected' | 'expired'
|
|
18
|
+
status?: 'pending' | 'accepted' | 'rejected' | 'expired';
|
|
19
19
|
channel?: 'email' | 'sms' | 'whatsapp' | 'identity';
|
|
20
20
|
orgUrn?: string;
|
|
21
21
|
teamUrn?: string;
|
|
@@ -30,8 +30,6 @@ export interface ListInvitesParams {
|
|
|
30
30
|
export interface ListInvitesResult {
|
|
31
31
|
data: import('./internal/wire-types').Invite[];
|
|
32
32
|
total: number;
|
|
33
|
-
limit: number;
|
|
34
|
-
offset: number;
|
|
35
33
|
}
|
|
36
34
|
/**
|
|
37
35
|
* Parameters for creating an invite
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloque/sdk-orgs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bloque",
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"node": ">=22"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@bloque/sdk-core": "0.
|
|
37
|
+
"@bloque/sdk-core": "0.9.1"
|
|
38
38
|
}
|
|
39
39
|
}
|