@burdenoff/sdk-libs 2026.501.6
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/LICENSE +4 -0
- package/README.md +52 -0
- package/dist/chunk-NEREAHJ6.js +1 -0
- package/dist/chunk-YGVAZ3D7.js +2 -0
- package/dist/core/index.cjs +2 -0
- package/dist/core/index.d.cts +52 -0
- package/dist/core/index.d.ts +52 -0
- package/dist/core/index.js +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/module-JDbvil5h.d.cts +194 -0
- package/dist/module-JDbvil5h.d.ts +194 -0
- package/dist/modules/auth/index.cjs +71 -0
- package/dist/modules/auth/index.d.cts +94 -0
- package/dist/modules/auth/index.d.ts +94 -0
- package/dist/modules/auth/index.js +71 -0
- package/dist/modules/billing/index.cjs +203 -0
- package/dist/modules/billing/index.d.cts +377 -0
- package/dist/modules/billing/index.d.ts +377 -0
- package/dist/modules/billing/index.js +203 -0
- package/dist/modules/channels/index.cjs +108 -0
- package/dist/modules/channels/index.d.cts +146 -0
- package/dist/modules/channels/index.d.ts +146 -0
- package/dist/modules/channels/index.js +108 -0
- package/dist/modules/conversations/index.cjs +61 -0
- package/dist/modules/conversations/index.d.cts +112 -0
- package/dist/modules/conversations/index.d.ts +112 -0
- package/dist/modules/conversations/index.js +61 -0
- package/dist/modules/devportal/index.cjs +216 -0
- package/dist/modules/devportal/index.d.cts +303 -0
- package/dist/modules/devportal/index.d.ts +303 -0
- package/dist/modules/devportal/index.js +216 -0
- package/dist/modules/export/index.cjs +61 -0
- package/dist/modules/export/index.d.cts +169 -0
- package/dist/modules/export/index.d.ts +169 -0
- package/dist/modules/export/index.js +61 -0
- package/dist/modules/files/index.cjs +51 -0
- package/dist/modules/files/index.d.cts +102 -0
- package/dist/modules/files/index.d.ts +102 -0
- package/dist/modules/files/index.js +51 -0
- package/dist/modules/groups/index.cjs +80 -0
- package/dist/modules/groups/index.d.cts +168 -0
- package/dist/modules/groups/index.d.ts +168 -0
- package/dist/modules/groups/index.js +80 -0
- package/dist/modules/health/index.cjs +5 -0
- package/dist/modules/health/index.d.cts +18 -0
- package/dist/modules/health/index.d.ts +18 -0
- package/dist/modules/health/index.js +5 -0
- package/dist/modules/integrations/index.cjs +65 -0
- package/dist/modules/integrations/index.d.cts +120 -0
- package/dist/modules/integrations/index.d.ts +120 -0
- package/dist/modules/integrations/index.js +65 -0
- package/dist/modules/notifications/index.cjs +53 -0
- package/dist/modules/notifications/index.d.cts +140 -0
- package/dist/modules/notifications/index.d.ts +140 -0
- package/dist/modules/notifications/index.js +53 -0
- package/dist/modules/organizations/index.cjs +72 -0
- package/dist/modules/organizations/index.d.cts +88 -0
- package/dist/modules/organizations/index.d.ts +88 -0
- package/dist/modules/organizations/index.js +72 -0
- package/dist/modules/products/index.cjs +149 -0
- package/dist/modules/products/index.d.cts +361 -0
- package/dist/modules/products/index.d.ts +361 -0
- package/dist/modules/products/index.js +149 -0
- package/dist/modules/rbac/index.cjs +55 -0
- package/dist/modules/rbac/index.d.cts +100 -0
- package/dist/modules/rbac/index.d.ts +100 -0
- package/dist/modules/rbac/index.js +55 -0
- package/dist/modules/scheduler/index.cjs +61 -0
- package/dist/modules/scheduler/index.d.cts +121 -0
- package/dist/modules/scheduler/index.d.ts +121 -0
- package/dist/modules/scheduler/index.js +61 -0
- package/dist/modules/security/index.cjs +61 -0
- package/dist/modules/security/index.d.cts +110 -0
- package/dist/modules/security/index.d.ts +110 -0
- package/dist/modules/security/index.js +61 -0
- package/dist/modules/store/index.cjs +82 -0
- package/dist/modules/store/index.d.cts +139 -0
- package/dist/modules/store/index.d.ts +139 -0
- package/dist/modules/store/index.js +82 -0
- package/dist/modules/support/index.cjs +56 -0
- package/dist/modules/support/index.d.cts +147 -0
- package/dist/modules/support/index.d.ts +147 -0
- package/dist/modules/support/index.js +56 -0
- package/dist/modules/tags/index.cjs +55 -0
- package/dist/modules/tags/index.d.cts +131 -0
- package/dist/modules/tags/index.d.ts +131 -0
- package/dist/modules/tags/index.js +55 -0
- package/dist/modules/tours/index.cjs +37 -0
- package/dist/modules/tours/index.d.cts +61 -0
- package/dist/modules/tours/index.d.ts +61 -0
- package/dist/modules/tours/index.js +37 -0
- package/dist/modules/vibecontrols/index.cjs +1081 -0
- package/dist/modules/vibecontrols/index.d.cts +1483 -0
- package/dist/modules/vibecontrols/index.d.ts +1483 -0
- package/dist/modules/vibecontrols/index.js +1081 -0
- package/dist/modules/workspaces/index.cjs +91 -0
- package/dist/modules/workspaces/index.d.cts +128 -0
- package/dist/modules/workspaces/index.d.ts +128 -0
- package/dist/modules/workspaces/index.js +91 -0
- package/package.json +117 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type ProviderCategory = 'ANALYTICS' | 'CALENDAR' | 'CLOUD_STORAGE' | 'COMMUNICATION' | 'CRM' | 'CUSTOM' | 'DEVELOPMENT' | 'EMAIL' | 'PAYMENT' | 'PRODUCTIVITY' | 'SOCIAL';
|
|
5
|
+
type AuthType = 'API_KEY' | 'BASIC_AUTH' | 'BEARER_TOKEN' | 'CUSTOM' | 'OAUTH1' | 'OAUTH2';
|
|
6
|
+
type ConnectionStatus = 'ACTIVE' | 'ERROR' | 'EXPIRED' | 'INACTIVE' | 'PENDING_AUTH' | 'REVOKED';
|
|
7
|
+
type LogLevel = 'DEBUG' | 'ERROR' | 'INFO' | 'WARNING';
|
|
8
|
+
type LogAction = 'API_CALL' | 'AUTH_COMPLETED' | 'AUTH_FAILED' | 'AUTH_INITIATED' | 'CONNECTION_CREATED' | 'CONNECTION_DELETED' | 'CONNECTION_UPDATED' | 'CREDENTIAL_UPDATED' | 'PERMISSION_CHANGED' | 'TOKEN_EXPIRED' | 'TOKEN_REFRESHED' | 'TOKEN_REVOKED';
|
|
9
|
+
interface IntegrationProvider {
|
|
10
|
+
id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
name: string;
|
|
13
|
+
category: ProviderCategory;
|
|
14
|
+
authType: AuthType;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
icon?: string | null;
|
|
17
|
+
color?: string | null;
|
|
18
|
+
baseUrl?: string | null;
|
|
19
|
+
isEnabled: boolean;
|
|
20
|
+
isBuiltIn: boolean;
|
|
21
|
+
defaultScopes: string[];
|
|
22
|
+
supportedFeatures: string[];
|
|
23
|
+
connectionCount: number;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}
|
|
27
|
+
interface ProviderList {
|
|
28
|
+
items: IntegrationProvider[];
|
|
29
|
+
total: number;
|
|
30
|
+
hasMore: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface ProviderFilterInput {
|
|
33
|
+
authType?: AuthType;
|
|
34
|
+
category?: ProviderCategory;
|
|
35
|
+
isBuiltIn?: boolean;
|
|
36
|
+
isEnabled?: boolean;
|
|
37
|
+
search?: string;
|
|
38
|
+
}
|
|
39
|
+
interface IntegrationConnection {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
description?: string | null;
|
|
43
|
+
providerId: string;
|
|
44
|
+
status: ConnectionStatus;
|
|
45
|
+
config?: Json;
|
|
46
|
+
errorMessage?: string | null;
|
|
47
|
+
externalAccountEmail?: string | null;
|
|
48
|
+
externalAccountId?: string | null;
|
|
49
|
+
externalAccountName?: string | null;
|
|
50
|
+
grantedScopes: string[];
|
|
51
|
+
channelId?: string | null;
|
|
52
|
+
organizationId?: string | null;
|
|
53
|
+
workspaceId?: string | null;
|
|
54
|
+
createdBy: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
lastUsedAt?: string | null;
|
|
58
|
+
}
|
|
59
|
+
interface ConnectionList {
|
|
60
|
+
items: IntegrationConnection[];
|
|
61
|
+
total: number;
|
|
62
|
+
hasMore: boolean;
|
|
63
|
+
}
|
|
64
|
+
interface ConnectionFilterInput {
|
|
65
|
+
providerId?: string;
|
|
66
|
+
providerCategory?: ProviderCategory;
|
|
67
|
+
status?: ConnectionStatus;
|
|
68
|
+
search?: string;
|
|
69
|
+
}
|
|
70
|
+
interface CreateConnectionInput {
|
|
71
|
+
name: string;
|
|
72
|
+
providerId: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
config?: Json;
|
|
75
|
+
credentialSecretId?: string;
|
|
76
|
+
managedSecretName?: string;
|
|
77
|
+
vaultId?: string;
|
|
78
|
+
}
|
|
79
|
+
interface IntegrationLog {
|
|
80
|
+
id: string;
|
|
81
|
+
action: LogAction;
|
|
82
|
+
level: LogLevel;
|
|
83
|
+
message: string;
|
|
84
|
+
connectionId?: string | null;
|
|
85
|
+
actorId?: string | null;
|
|
86
|
+
metadata?: Json;
|
|
87
|
+
errorDetails?: Json;
|
|
88
|
+
createdAt: string;
|
|
89
|
+
}
|
|
90
|
+
interface LogList {
|
|
91
|
+
items: IntegrationLog[];
|
|
92
|
+
total: number;
|
|
93
|
+
hasMore: boolean;
|
|
94
|
+
}
|
|
95
|
+
interface IntegrationsPaginationInput {
|
|
96
|
+
cursor?: string;
|
|
97
|
+
limit?: number;
|
|
98
|
+
offset?: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
interface ConnectionsApi {
|
|
102
|
+
list(filter?: ConnectionFilterInput, pagination?: IntegrationsPaginationInput): Promise<ConnectionList>;
|
|
103
|
+
get(id: string): Promise<IntegrationConnection | null>;
|
|
104
|
+
add(input: CreateConnectionInput): Promise<IntegrationConnection>;
|
|
105
|
+
delete(id: string, deleteVaultSecret?: boolean): Promise<boolean>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
interface ProvidersApi {
|
|
109
|
+
list(filter?: ProviderFilterInput, pagination?: IntegrationsPaginationInput): Promise<ProviderList>;
|
|
110
|
+
get(id: string): Promise<IntegrationProvider | null>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
interface IntegrationsApi {
|
|
114
|
+
providers: ProvidersApi;
|
|
115
|
+
connections: ConnectionsApi;
|
|
116
|
+
logs(connectionId: string, pagination?: IntegrationsPaginationInput): Promise<LogList>;
|
|
117
|
+
}
|
|
118
|
+
declare const integrationsModule: SdkModule<IntegrationsApi>;
|
|
119
|
+
|
|
120
|
+
export { type AuthType, type ConnectionFilterInput, type ConnectionList, type ConnectionStatus, type ConnectionsApi, type CreateConnectionInput, type IntegrationConnection, type IntegrationLog, type IntegrationProvider, type IntegrationsApi, type IntegrationsPaginationInput, type LogAction, type LogLevel, type LogList, type ProviderCategory, type ProviderFilterInput, type ProviderList, type ProvidersApi, integrationsModule as default };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type ProviderCategory = 'ANALYTICS' | 'CALENDAR' | 'CLOUD_STORAGE' | 'COMMUNICATION' | 'CRM' | 'CUSTOM' | 'DEVELOPMENT' | 'EMAIL' | 'PAYMENT' | 'PRODUCTIVITY' | 'SOCIAL';
|
|
5
|
+
type AuthType = 'API_KEY' | 'BASIC_AUTH' | 'BEARER_TOKEN' | 'CUSTOM' | 'OAUTH1' | 'OAUTH2';
|
|
6
|
+
type ConnectionStatus = 'ACTIVE' | 'ERROR' | 'EXPIRED' | 'INACTIVE' | 'PENDING_AUTH' | 'REVOKED';
|
|
7
|
+
type LogLevel = 'DEBUG' | 'ERROR' | 'INFO' | 'WARNING';
|
|
8
|
+
type LogAction = 'API_CALL' | 'AUTH_COMPLETED' | 'AUTH_FAILED' | 'AUTH_INITIATED' | 'CONNECTION_CREATED' | 'CONNECTION_DELETED' | 'CONNECTION_UPDATED' | 'CREDENTIAL_UPDATED' | 'PERMISSION_CHANGED' | 'TOKEN_EXPIRED' | 'TOKEN_REFRESHED' | 'TOKEN_REVOKED';
|
|
9
|
+
interface IntegrationProvider {
|
|
10
|
+
id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
name: string;
|
|
13
|
+
category: ProviderCategory;
|
|
14
|
+
authType: AuthType;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
icon?: string | null;
|
|
17
|
+
color?: string | null;
|
|
18
|
+
baseUrl?: string | null;
|
|
19
|
+
isEnabled: boolean;
|
|
20
|
+
isBuiltIn: boolean;
|
|
21
|
+
defaultScopes: string[];
|
|
22
|
+
supportedFeatures: string[];
|
|
23
|
+
connectionCount: number;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}
|
|
27
|
+
interface ProviderList {
|
|
28
|
+
items: IntegrationProvider[];
|
|
29
|
+
total: number;
|
|
30
|
+
hasMore: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface ProviderFilterInput {
|
|
33
|
+
authType?: AuthType;
|
|
34
|
+
category?: ProviderCategory;
|
|
35
|
+
isBuiltIn?: boolean;
|
|
36
|
+
isEnabled?: boolean;
|
|
37
|
+
search?: string;
|
|
38
|
+
}
|
|
39
|
+
interface IntegrationConnection {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
description?: string | null;
|
|
43
|
+
providerId: string;
|
|
44
|
+
status: ConnectionStatus;
|
|
45
|
+
config?: Json;
|
|
46
|
+
errorMessage?: string | null;
|
|
47
|
+
externalAccountEmail?: string | null;
|
|
48
|
+
externalAccountId?: string | null;
|
|
49
|
+
externalAccountName?: string | null;
|
|
50
|
+
grantedScopes: string[];
|
|
51
|
+
channelId?: string | null;
|
|
52
|
+
organizationId?: string | null;
|
|
53
|
+
workspaceId?: string | null;
|
|
54
|
+
createdBy: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
lastUsedAt?: string | null;
|
|
58
|
+
}
|
|
59
|
+
interface ConnectionList {
|
|
60
|
+
items: IntegrationConnection[];
|
|
61
|
+
total: number;
|
|
62
|
+
hasMore: boolean;
|
|
63
|
+
}
|
|
64
|
+
interface ConnectionFilterInput {
|
|
65
|
+
providerId?: string;
|
|
66
|
+
providerCategory?: ProviderCategory;
|
|
67
|
+
status?: ConnectionStatus;
|
|
68
|
+
search?: string;
|
|
69
|
+
}
|
|
70
|
+
interface CreateConnectionInput {
|
|
71
|
+
name: string;
|
|
72
|
+
providerId: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
config?: Json;
|
|
75
|
+
credentialSecretId?: string;
|
|
76
|
+
managedSecretName?: string;
|
|
77
|
+
vaultId?: string;
|
|
78
|
+
}
|
|
79
|
+
interface IntegrationLog {
|
|
80
|
+
id: string;
|
|
81
|
+
action: LogAction;
|
|
82
|
+
level: LogLevel;
|
|
83
|
+
message: string;
|
|
84
|
+
connectionId?: string | null;
|
|
85
|
+
actorId?: string | null;
|
|
86
|
+
metadata?: Json;
|
|
87
|
+
errorDetails?: Json;
|
|
88
|
+
createdAt: string;
|
|
89
|
+
}
|
|
90
|
+
interface LogList {
|
|
91
|
+
items: IntegrationLog[];
|
|
92
|
+
total: number;
|
|
93
|
+
hasMore: boolean;
|
|
94
|
+
}
|
|
95
|
+
interface IntegrationsPaginationInput {
|
|
96
|
+
cursor?: string;
|
|
97
|
+
limit?: number;
|
|
98
|
+
offset?: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
interface ConnectionsApi {
|
|
102
|
+
list(filter?: ConnectionFilterInput, pagination?: IntegrationsPaginationInput): Promise<ConnectionList>;
|
|
103
|
+
get(id: string): Promise<IntegrationConnection | null>;
|
|
104
|
+
add(input: CreateConnectionInput): Promise<IntegrationConnection>;
|
|
105
|
+
delete(id: string, deleteVaultSecret?: boolean): Promise<boolean>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
interface ProvidersApi {
|
|
109
|
+
list(filter?: ProviderFilterInput, pagination?: IntegrationsPaginationInput): Promise<ProviderList>;
|
|
110
|
+
get(id: string): Promise<IntegrationProvider | null>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
interface IntegrationsApi {
|
|
114
|
+
providers: ProvidersApi;
|
|
115
|
+
connections: ConnectionsApi;
|
|
116
|
+
logs(connectionId: string, pagination?: IntegrationsPaginationInput): Promise<LogList>;
|
|
117
|
+
}
|
|
118
|
+
declare const integrationsModule: SdkModule<IntegrationsApi>;
|
|
119
|
+
|
|
120
|
+
export { type AuthType, type ConnectionFilterInput, type ConnectionList, type ConnectionStatus, type ConnectionsApi, type CreateConnectionInput, type IntegrationConnection, type IntegrationLog, type IntegrationProvider, type IntegrationsApi, type IntegrationsPaginationInput, type LogAction, type LogLevel, type LogList, type ProviderCategory, type ProviderFilterInput, type ProviderList, type ProvidersApi, integrationsModule as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var c=`
|
|
2
|
+
fragment IntegrationProviderFields on IntegrationProvider {
|
|
3
|
+
id key name category authType description icon color baseUrl
|
|
4
|
+
isEnabled isBuiltIn defaultScopes supportedFeatures connectionCount
|
|
5
|
+
createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,s=`
|
|
8
|
+
fragment IntegrationConnectionFields on IntegrationConnection {
|
|
9
|
+
id name description providerId status config errorMessage
|
|
10
|
+
externalAccountEmail externalAccountId externalAccountName
|
|
11
|
+
grantedScopes channelId organizationId workspaceId
|
|
12
|
+
createdBy createdAt updatedAt lastUsedAt
|
|
13
|
+
}
|
|
14
|
+
`,v=`
|
|
15
|
+
fragment IntegrationLogFields on IntegrationLog {
|
|
16
|
+
id action level message connectionId actorId
|
|
17
|
+
metadata errorDetails createdAt
|
|
18
|
+
}
|
|
19
|
+
`,d=`
|
|
20
|
+
${c}
|
|
21
|
+
query GetProviders($filter: ProviderFilterInput, $pagination: IntegrationsPaginationInput) {
|
|
22
|
+
getProviders(filter: $filter, pagination: $pagination) {
|
|
23
|
+
items { ...IntegrationProviderFields }
|
|
24
|
+
total
|
|
25
|
+
hasMore
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`,p=`
|
|
29
|
+
${c}
|
|
30
|
+
query GetProvider($id: ID!) {
|
|
31
|
+
getProvider(id: $id) { ...IntegrationProviderFields }
|
|
32
|
+
}
|
|
33
|
+
`,g=`
|
|
34
|
+
${s}
|
|
35
|
+
query GetConnections($filter: ConnectionFilterInput, $pagination: IntegrationsPaginationInput) {
|
|
36
|
+
getConnections(filter: $filter, pagination: $pagination) {
|
|
37
|
+
items { ...IntegrationConnectionFields }
|
|
38
|
+
total
|
|
39
|
+
hasMore
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`,I=`
|
|
43
|
+
${s}
|
|
44
|
+
query GetConnection($id: ID!) {
|
|
45
|
+
getConnection(id: $id) { ...IntegrationConnectionFields }
|
|
46
|
+
}
|
|
47
|
+
`,l=`
|
|
48
|
+
${s}
|
|
49
|
+
mutation CreateConnection($input: CreateConnectionInput!) {
|
|
50
|
+
createConnection(input: $input) { ...IntegrationConnectionFields }
|
|
51
|
+
}
|
|
52
|
+
`,C=`
|
|
53
|
+
mutation DeleteConnection($id: ID!, $deleteVaultSecret: Boolean) {
|
|
54
|
+
deleteConnection(id: $id, deleteVaultSecret: $deleteVaultSecret)
|
|
55
|
+
}
|
|
56
|
+
`,u=`
|
|
57
|
+
${v}
|
|
58
|
+
query GetConnectionLogs($connectionId: ID!, $pagination: IntegrationsPaginationInput) {
|
|
59
|
+
getConnectionLogs(connectionId: $connectionId, pagination: $pagination) {
|
|
60
|
+
items { ...IntegrationLogFields }
|
|
61
|
+
total
|
|
62
|
+
hasMore
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`;function P(o){let{workspace:e}=o.gql;return {async list(t,n){return (await e.request(g,{filter:t,pagination:n})).getConnections},async get(t){return (await e.request(I,{id:t})).getConnection},async add(t){return (await e.request(l,{input:t})).createConnection},async delete(t,n){return (await e.request(C,{id:t,deleteVaultSecret:n??null})).deleteConnection}}}function m(o){let{workspace:e}=o.gql;return {async list(t,n){return (await e.request(d,{filter:t,pagination:n})).getProviders},async get(t){return (await e.request(p,{id:t})).getProvider}}}var N={id:"integrations",version:"1.0.0",displayName:"Integrations",dependsOn:["auth"],attach(o){let{workspace:e}=o.gql;return {providers:m(o),connections:P(o),async logs(t,n){return (await e.request(u,{connectionId:t,pagination:n})).getConnectionLogs}}}},_=N;export{_ as default};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';var u=`
|
|
2
|
+
fragment NotificationFields on Notification {
|
|
3
|
+
id userId appName channel channelId status deliveryStatus priority type
|
|
4
|
+
title message subject htmlMessage redirectUrl isRead readAt archivedAt
|
|
5
|
+
triggeredAt sentAt deliveredAt failedAt expiresAt metadata data
|
|
6
|
+
createdAt updatedAt
|
|
7
|
+
}
|
|
8
|
+
`,n=`
|
|
9
|
+
fragment NotificationPreferenceFields on NotificationPreference {
|
|
10
|
+
id userId preferenceKey scope channel type topicId enabled frequency
|
|
11
|
+
quietHoursStart quietHoursEnd timezone metadata createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,c=`
|
|
14
|
+
${u}
|
|
15
|
+
query Notifications($filter: NotificationFilterInput, $limit: Int, $offset: Int) {
|
|
16
|
+
notifications(filter: $filter, limit: $limit, offset: $offset) {
|
|
17
|
+
items { ...NotificationFields }
|
|
18
|
+
total
|
|
19
|
+
hasMore
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`,f=`
|
|
23
|
+
mutation MarkNotificationsAsRead($notificationIds: [ID!]!) {
|
|
24
|
+
markNotificationsAsRead(notificationIds: $notificationIds) {
|
|
25
|
+
success
|
|
26
|
+
count
|
|
27
|
+
failedIds
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`,s=`
|
|
31
|
+
${n}
|
|
32
|
+
query NotificationPreferences(
|
|
33
|
+
$filter: NotificationPreferenceFilterInput
|
|
34
|
+
$limit: Int
|
|
35
|
+
$offset: Int
|
|
36
|
+
) {
|
|
37
|
+
notificationPreferences(filter: $filter, limit: $limit, offset: $offset) {
|
|
38
|
+
items { ...NotificationPreferenceFields }
|
|
39
|
+
total
|
|
40
|
+
hasMore
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`,N=`
|
|
44
|
+
${n}
|
|
45
|
+
mutation CreateNotificationPreference($input: CreateNotificationPreferenceInput!) {
|
|
46
|
+
createNotificationPreference(input: $input) { ...NotificationPreferenceFields }
|
|
47
|
+
}
|
|
48
|
+
`,p=`
|
|
49
|
+
${n}
|
|
50
|
+
mutation UpdateNotificationPreference($id: ID!, $input: UpdateNotificationPreferenceInput!) {
|
|
51
|
+
updateNotificationPreference(id: $id, input: $input) { ...NotificationPreferenceFields }
|
|
52
|
+
}
|
|
53
|
+
`;function d(o){let{global:i}=o.gql;return {async get(t,e){return (await i.request(s,{filter:t,limit:e?.limit,offset:e?.offset})).notificationPreferences},async set(t,e){return e?.id?(await i.request(p,{id:e.id,input:t})).updateNotificationPreference:(await i.request(N,{input:t})).createNotificationPreference}}}var I={id:"notifications",version:"1.0.0",displayName:"Notifications",dependsOn:["auth"],attach(o){let{global:i}=o.gql;return {async list(t,e){return (await i.request(c,{filter:t,limit:e?.limit,offset:e?.offset})).notifications},async read(t){return (await i.request(f,{notificationIds:t})).markNotificationsAsRead},preferences:d(o)}}},R=I;module.exports=R;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type NotificationChannel = 'DISCORD' | 'EMAIL' | 'IN_APP' | 'PUSH' | 'SLACK' | 'SMS' | 'TEAMS' | 'TELEGRAM' | 'WEBHOOK' | 'WHATSAPP';
|
|
5
|
+
type NotificationStatus = 'CANCELLED' | 'DELIVERED' | 'DRAFT' | 'EXPIRED' | 'FAILED' | 'PENDING' | 'READ' | 'SCHEDULED' | 'SENT' | 'TRIGGERED';
|
|
6
|
+
type NotificationPriority = 'HIGH' | 'LOW' | 'MEDIUM' | 'URGENT';
|
|
7
|
+
type NotificationType = 'ALERT' | 'MARKETING' | 'SYSTEM' | 'TRANSACTIONAL';
|
|
8
|
+
type NotificationDeliveryStatus = 'BOUNCED' | 'CLICKED' | 'COMPLAINED' | 'DELIVERED' | 'DELIVERING' | 'FAILED' | 'OPENED' | 'PENDING' | 'PROCESSING' | 'QUEUED' | 'RETRYING' | 'SENT' | 'UNSUBSCRIBED';
|
|
9
|
+
type NotificationPreferenceScope = 'CHANNEL' | 'GLOBAL' | 'TOPIC' | 'TYPE';
|
|
10
|
+
type NotificationPreferenceFrequency = 'DAILY_DIGEST' | 'IMMEDIATE' | 'NEVER' | 'WEEKLY_DIGEST';
|
|
11
|
+
interface Notification {
|
|
12
|
+
id: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
appName?: string | null;
|
|
15
|
+
channel: NotificationChannel;
|
|
16
|
+
channelId?: string | null;
|
|
17
|
+
status: NotificationStatus;
|
|
18
|
+
deliveryStatus?: NotificationDeliveryStatus | null;
|
|
19
|
+
priority: NotificationPriority;
|
|
20
|
+
type: NotificationType;
|
|
21
|
+
title: string;
|
|
22
|
+
message: string;
|
|
23
|
+
subject?: string | null;
|
|
24
|
+
htmlMessage?: string | null;
|
|
25
|
+
redirectUrl?: string | null;
|
|
26
|
+
isRead: boolean;
|
|
27
|
+
readAt?: string | null;
|
|
28
|
+
archivedAt?: string | null;
|
|
29
|
+
triggeredAt?: string | null;
|
|
30
|
+
sentAt?: string | null;
|
|
31
|
+
deliveredAt?: string | null;
|
|
32
|
+
failedAt?: string | null;
|
|
33
|
+
expiresAt?: string | null;
|
|
34
|
+
metadata?: Json;
|
|
35
|
+
data?: Json;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
}
|
|
39
|
+
interface NotificationList {
|
|
40
|
+
items: Notification[];
|
|
41
|
+
total: number;
|
|
42
|
+
hasMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface NotificationFilterInput {
|
|
45
|
+
appName?: string;
|
|
46
|
+
archived?: boolean;
|
|
47
|
+
channel?: NotificationChannel;
|
|
48
|
+
deliveryStatus?: NotificationDeliveryStatus;
|
|
49
|
+
endDate?: string;
|
|
50
|
+
isRead?: boolean;
|
|
51
|
+
priority?: NotificationPriority;
|
|
52
|
+
search?: string;
|
|
53
|
+
startDate?: string;
|
|
54
|
+
status?: NotificationStatus;
|
|
55
|
+
topicId?: string;
|
|
56
|
+
type?: NotificationType;
|
|
57
|
+
userId?: string;
|
|
58
|
+
}
|
|
59
|
+
interface BatchOperationResult {
|
|
60
|
+
success: boolean;
|
|
61
|
+
count: number;
|
|
62
|
+
failedIds?: string[] | null;
|
|
63
|
+
}
|
|
64
|
+
interface NotificationPreference {
|
|
65
|
+
id: string;
|
|
66
|
+
userId: string;
|
|
67
|
+
preferenceKey: string;
|
|
68
|
+
scope: NotificationPreferenceScope;
|
|
69
|
+
channel?: NotificationChannel | null;
|
|
70
|
+
type?: NotificationType | null;
|
|
71
|
+
topicId?: string | null;
|
|
72
|
+
enabled: boolean;
|
|
73
|
+
frequency: NotificationPreferenceFrequency;
|
|
74
|
+
quietHoursStart?: string | null;
|
|
75
|
+
quietHoursEnd?: string | null;
|
|
76
|
+
timezone?: string | null;
|
|
77
|
+
metadata?: Json;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
updatedAt: string;
|
|
80
|
+
}
|
|
81
|
+
interface NotificationPreferenceList {
|
|
82
|
+
items: NotificationPreference[];
|
|
83
|
+
total: number;
|
|
84
|
+
hasMore: boolean;
|
|
85
|
+
}
|
|
86
|
+
interface NotificationPreferenceFilterInput {
|
|
87
|
+
channel?: NotificationChannel;
|
|
88
|
+
enabled?: boolean;
|
|
89
|
+
scope?: NotificationPreferenceScope;
|
|
90
|
+
topicId?: string;
|
|
91
|
+
type?: NotificationType;
|
|
92
|
+
userId?: string;
|
|
93
|
+
}
|
|
94
|
+
interface CreateNotificationPreferenceInput {
|
|
95
|
+
scope: NotificationPreferenceScope;
|
|
96
|
+
channel?: NotificationChannel;
|
|
97
|
+
type?: NotificationType;
|
|
98
|
+
topicId?: string;
|
|
99
|
+
userId?: string;
|
|
100
|
+
enabled?: boolean;
|
|
101
|
+
frequency?: NotificationPreferenceFrequency;
|
|
102
|
+
quietHoursStart?: string;
|
|
103
|
+
quietHoursEnd?: string;
|
|
104
|
+
timezone?: string;
|
|
105
|
+
metadata?: Json;
|
|
106
|
+
}
|
|
107
|
+
interface UpdateNotificationPreferenceInput {
|
|
108
|
+
channel?: NotificationChannel;
|
|
109
|
+
type?: NotificationType;
|
|
110
|
+
topicId?: string;
|
|
111
|
+
enabled?: boolean;
|
|
112
|
+
frequency?: NotificationPreferenceFrequency;
|
|
113
|
+
quietHoursStart?: string;
|
|
114
|
+
quietHoursEnd?: string;
|
|
115
|
+
timezone?: string;
|
|
116
|
+
metadata?: Json;
|
|
117
|
+
scope?: NotificationPreferenceScope;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
interface PreferencesApi {
|
|
121
|
+
get(filter?: NotificationPreferenceFilterInput, opts?: {
|
|
122
|
+
limit?: number;
|
|
123
|
+
offset?: number;
|
|
124
|
+
}): Promise<NotificationPreferenceList>;
|
|
125
|
+
set(input: CreateNotificationPreferenceInput | UpdateNotificationPreferenceInput, opts?: {
|
|
126
|
+
id?: string;
|
|
127
|
+
}): Promise<NotificationPreference>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface NotificationsApi {
|
|
131
|
+
list(filter?: NotificationFilterInput, opts?: {
|
|
132
|
+
limit?: number;
|
|
133
|
+
offset?: number;
|
|
134
|
+
}): Promise<NotificationList>;
|
|
135
|
+
read(ids: string[]): Promise<BatchOperationResult>;
|
|
136
|
+
preferences: PreferencesApi;
|
|
137
|
+
}
|
|
138
|
+
declare const notificationsModule: SdkModule<NotificationsApi>;
|
|
139
|
+
|
|
140
|
+
export { type BatchOperationResult, type CreateNotificationPreferenceInput, type Notification, type NotificationChannel, type NotificationDeliveryStatus, type NotificationFilterInput, type NotificationList, type NotificationPreference, type NotificationPreferenceFilterInput, type NotificationPreferenceFrequency, type NotificationPreferenceList, type NotificationPreferenceScope, type NotificationPriority, type NotificationStatus, type NotificationType, type NotificationsApi, type PreferencesApi, type UpdateNotificationPreferenceInput, notificationsModule as default };
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type NotificationChannel = 'DISCORD' | 'EMAIL' | 'IN_APP' | 'PUSH' | 'SLACK' | 'SMS' | 'TEAMS' | 'TELEGRAM' | 'WEBHOOK' | 'WHATSAPP';
|
|
5
|
+
type NotificationStatus = 'CANCELLED' | 'DELIVERED' | 'DRAFT' | 'EXPIRED' | 'FAILED' | 'PENDING' | 'READ' | 'SCHEDULED' | 'SENT' | 'TRIGGERED';
|
|
6
|
+
type NotificationPriority = 'HIGH' | 'LOW' | 'MEDIUM' | 'URGENT';
|
|
7
|
+
type NotificationType = 'ALERT' | 'MARKETING' | 'SYSTEM' | 'TRANSACTIONAL';
|
|
8
|
+
type NotificationDeliveryStatus = 'BOUNCED' | 'CLICKED' | 'COMPLAINED' | 'DELIVERED' | 'DELIVERING' | 'FAILED' | 'OPENED' | 'PENDING' | 'PROCESSING' | 'QUEUED' | 'RETRYING' | 'SENT' | 'UNSUBSCRIBED';
|
|
9
|
+
type NotificationPreferenceScope = 'CHANNEL' | 'GLOBAL' | 'TOPIC' | 'TYPE';
|
|
10
|
+
type NotificationPreferenceFrequency = 'DAILY_DIGEST' | 'IMMEDIATE' | 'NEVER' | 'WEEKLY_DIGEST';
|
|
11
|
+
interface Notification {
|
|
12
|
+
id: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
appName?: string | null;
|
|
15
|
+
channel: NotificationChannel;
|
|
16
|
+
channelId?: string | null;
|
|
17
|
+
status: NotificationStatus;
|
|
18
|
+
deliveryStatus?: NotificationDeliveryStatus | null;
|
|
19
|
+
priority: NotificationPriority;
|
|
20
|
+
type: NotificationType;
|
|
21
|
+
title: string;
|
|
22
|
+
message: string;
|
|
23
|
+
subject?: string | null;
|
|
24
|
+
htmlMessage?: string | null;
|
|
25
|
+
redirectUrl?: string | null;
|
|
26
|
+
isRead: boolean;
|
|
27
|
+
readAt?: string | null;
|
|
28
|
+
archivedAt?: string | null;
|
|
29
|
+
triggeredAt?: string | null;
|
|
30
|
+
sentAt?: string | null;
|
|
31
|
+
deliveredAt?: string | null;
|
|
32
|
+
failedAt?: string | null;
|
|
33
|
+
expiresAt?: string | null;
|
|
34
|
+
metadata?: Json;
|
|
35
|
+
data?: Json;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
}
|
|
39
|
+
interface NotificationList {
|
|
40
|
+
items: Notification[];
|
|
41
|
+
total: number;
|
|
42
|
+
hasMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface NotificationFilterInput {
|
|
45
|
+
appName?: string;
|
|
46
|
+
archived?: boolean;
|
|
47
|
+
channel?: NotificationChannel;
|
|
48
|
+
deliveryStatus?: NotificationDeliveryStatus;
|
|
49
|
+
endDate?: string;
|
|
50
|
+
isRead?: boolean;
|
|
51
|
+
priority?: NotificationPriority;
|
|
52
|
+
search?: string;
|
|
53
|
+
startDate?: string;
|
|
54
|
+
status?: NotificationStatus;
|
|
55
|
+
topicId?: string;
|
|
56
|
+
type?: NotificationType;
|
|
57
|
+
userId?: string;
|
|
58
|
+
}
|
|
59
|
+
interface BatchOperationResult {
|
|
60
|
+
success: boolean;
|
|
61
|
+
count: number;
|
|
62
|
+
failedIds?: string[] | null;
|
|
63
|
+
}
|
|
64
|
+
interface NotificationPreference {
|
|
65
|
+
id: string;
|
|
66
|
+
userId: string;
|
|
67
|
+
preferenceKey: string;
|
|
68
|
+
scope: NotificationPreferenceScope;
|
|
69
|
+
channel?: NotificationChannel | null;
|
|
70
|
+
type?: NotificationType | null;
|
|
71
|
+
topicId?: string | null;
|
|
72
|
+
enabled: boolean;
|
|
73
|
+
frequency: NotificationPreferenceFrequency;
|
|
74
|
+
quietHoursStart?: string | null;
|
|
75
|
+
quietHoursEnd?: string | null;
|
|
76
|
+
timezone?: string | null;
|
|
77
|
+
metadata?: Json;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
updatedAt: string;
|
|
80
|
+
}
|
|
81
|
+
interface NotificationPreferenceList {
|
|
82
|
+
items: NotificationPreference[];
|
|
83
|
+
total: number;
|
|
84
|
+
hasMore: boolean;
|
|
85
|
+
}
|
|
86
|
+
interface NotificationPreferenceFilterInput {
|
|
87
|
+
channel?: NotificationChannel;
|
|
88
|
+
enabled?: boolean;
|
|
89
|
+
scope?: NotificationPreferenceScope;
|
|
90
|
+
topicId?: string;
|
|
91
|
+
type?: NotificationType;
|
|
92
|
+
userId?: string;
|
|
93
|
+
}
|
|
94
|
+
interface CreateNotificationPreferenceInput {
|
|
95
|
+
scope: NotificationPreferenceScope;
|
|
96
|
+
channel?: NotificationChannel;
|
|
97
|
+
type?: NotificationType;
|
|
98
|
+
topicId?: string;
|
|
99
|
+
userId?: string;
|
|
100
|
+
enabled?: boolean;
|
|
101
|
+
frequency?: NotificationPreferenceFrequency;
|
|
102
|
+
quietHoursStart?: string;
|
|
103
|
+
quietHoursEnd?: string;
|
|
104
|
+
timezone?: string;
|
|
105
|
+
metadata?: Json;
|
|
106
|
+
}
|
|
107
|
+
interface UpdateNotificationPreferenceInput {
|
|
108
|
+
channel?: NotificationChannel;
|
|
109
|
+
type?: NotificationType;
|
|
110
|
+
topicId?: string;
|
|
111
|
+
enabled?: boolean;
|
|
112
|
+
frequency?: NotificationPreferenceFrequency;
|
|
113
|
+
quietHoursStart?: string;
|
|
114
|
+
quietHoursEnd?: string;
|
|
115
|
+
timezone?: string;
|
|
116
|
+
metadata?: Json;
|
|
117
|
+
scope?: NotificationPreferenceScope;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
interface PreferencesApi {
|
|
121
|
+
get(filter?: NotificationPreferenceFilterInput, opts?: {
|
|
122
|
+
limit?: number;
|
|
123
|
+
offset?: number;
|
|
124
|
+
}): Promise<NotificationPreferenceList>;
|
|
125
|
+
set(input: CreateNotificationPreferenceInput | UpdateNotificationPreferenceInput, opts?: {
|
|
126
|
+
id?: string;
|
|
127
|
+
}): Promise<NotificationPreference>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface NotificationsApi {
|
|
131
|
+
list(filter?: NotificationFilterInput, opts?: {
|
|
132
|
+
limit?: number;
|
|
133
|
+
offset?: number;
|
|
134
|
+
}): Promise<NotificationList>;
|
|
135
|
+
read(ids: string[]): Promise<BatchOperationResult>;
|
|
136
|
+
preferences: PreferencesApi;
|
|
137
|
+
}
|
|
138
|
+
declare const notificationsModule: SdkModule<NotificationsApi>;
|
|
139
|
+
|
|
140
|
+
export { type BatchOperationResult, type CreateNotificationPreferenceInput, type Notification, type NotificationChannel, type NotificationDeliveryStatus, type NotificationFilterInput, type NotificationList, type NotificationPreference, type NotificationPreferenceFilterInput, type NotificationPreferenceFrequency, type NotificationPreferenceList, type NotificationPreferenceScope, type NotificationPriority, type NotificationStatus, type NotificationType, type NotificationsApi, type PreferencesApi, type UpdateNotificationPreferenceInput, notificationsModule as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var I=`
|
|
2
|
+
fragment NotificationFields on Notification {
|
|
3
|
+
id userId appName channel channelId status deliveryStatus priority type
|
|
4
|
+
title message subject htmlMessage redirectUrl isRead readAt archivedAt
|
|
5
|
+
triggeredAt sentAt deliveredAt failedAt expiresAt metadata data
|
|
6
|
+
createdAt updatedAt
|
|
7
|
+
}
|
|
8
|
+
`,n=`
|
|
9
|
+
fragment NotificationPreferenceFields on NotificationPreference {
|
|
10
|
+
id userId preferenceKey scope channel type topicId enabled frequency
|
|
11
|
+
quietHoursStart quietHoursEnd timezone metadata createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,f=`
|
|
14
|
+
${I}
|
|
15
|
+
query Notifications($filter: NotificationFilterInput, $limit: Int, $offset: Int) {
|
|
16
|
+
notifications(filter: $filter, limit: $limit, offset: $offset) {
|
|
17
|
+
items { ...NotificationFields }
|
|
18
|
+
total
|
|
19
|
+
hasMore
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`,s=`
|
|
23
|
+
mutation MarkNotificationsAsRead($notificationIds: [ID!]!) {
|
|
24
|
+
markNotificationsAsRead(notificationIds: $notificationIds) {
|
|
25
|
+
success
|
|
26
|
+
count
|
|
27
|
+
failedIds
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`,N=`
|
|
31
|
+
${n}
|
|
32
|
+
query NotificationPreferences(
|
|
33
|
+
$filter: NotificationPreferenceFilterInput
|
|
34
|
+
$limit: Int
|
|
35
|
+
$offset: Int
|
|
36
|
+
) {
|
|
37
|
+
notificationPreferences(filter: $filter, limit: $limit, offset: $offset) {
|
|
38
|
+
items { ...NotificationPreferenceFields }
|
|
39
|
+
total
|
|
40
|
+
hasMore
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`,p=`
|
|
44
|
+
${n}
|
|
45
|
+
mutation CreateNotificationPreference($input: CreateNotificationPreferenceInput!) {
|
|
46
|
+
createNotificationPreference(input: $input) { ...NotificationPreferenceFields }
|
|
47
|
+
}
|
|
48
|
+
`,d=`
|
|
49
|
+
${n}
|
|
50
|
+
mutation UpdateNotificationPreference($id: ID!, $input: UpdateNotificationPreferenceInput!) {
|
|
51
|
+
updateNotificationPreference(id: $id, input: $input) { ...NotificationPreferenceFields }
|
|
52
|
+
}
|
|
53
|
+
`;function u(o){let{global:i}=o.gql;return {async get(t,e){return (await i.request(N,{filter:t,limit:e?.limit,offset:e?.offset})).notificationPreferences},async set(t,e){return e?.id?(await i.request(d,{id:e.id,input:t})).updateNotificationPreference:(await i.request(p,{input:t})).createNotificationPreference}}}var l={id:"notifications",version:"1.0.0",displayName:"Notifications",dependsOn:["auth"],attach(o){let{global:i}=o.gql;return {async list(t,e){return (await i.request(f,{filter:t,limit:e?.limit,offset:e?.offset})).notifications},async read(t){return (await i.request(s,{notificationIds:t})).markNotificationsAsRead},preferences:u(o)}}},y=l;export{y as default};
|