@connectedxm/admin 2.8.5 → 2.8.7
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.cjs +15 -14
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +15 -14
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15288,6 +15288,7 @@ var OrganizationModuleType = /* @__PURE__ */ ((OrganizationModuleType2) => {
|
|
|
15288
15288
|
OrganizationModuleType2["advertisements"] = "advertisements";
|
|
15289
15289
|
OrganizationModuleType2["subscriptions"] = "subscriptions";
|
|
15290
15290
|
OrganizationModuleType2["invoices"] = "invoices";
|
|
15291
|
+
OrganizationModuleType2["streams"] = "streams";
|
|
15291
15292
|
return OrganizationModuleType2;
|
|
15292
15293
|
})(OrganizationModuleType || {});
|
|
15293
15294
|
var Currency = /* @__PURE__ */ ((Currency2) => {
|
|
@@ -18984,7 +18985,7 @@ var useGetStreamInputs = (eventId, sessionId, params = {}, options = {}) => {
|
|
|
18984
18985
|
(params2) => GetStreamInputs({ ...params2, eventId, sessionId }),
|
|
18985
18986
|
params,
|
|
18986
18987
|
options,
|
|
18987
|
-
"
|
|
18988
|
+
"streams"
|
|
18988
18989
|
);
|
|
18989
18990
|
};
|
|
18990
18991
|
|
|
@@ -19012,7 +19013,7 @@ var useGetStreamInput = (streamId = "", options = {}) => {
|
|
|
19012
19013
|
...options,
|
|
19013
19014
|
enabled: !!streamId && (options?.enabled ?? true)
|
|
19014
19015
|
},
|
|
19015
|
-
"
|
|
19016
|
+
"streams"
|
|
19016
19017
|
);
|
|
19017
19018
|
};
|
|
19018
19019
|
|
|
@@ -19052,7 +19053,7 @@ var useGetStreamInputOutputs = (streamId = "", params = {}, options = {}) => {
|
|
|
19052
19053
|
...options,
|
|
19053
19054
|
enabled: !!streamId && (options.enabled ?? true)
|
|
19054
19055
|
},
|
|
19055
|
-
"
|
|
19056
|
+
"streams"
|
|
19056
19057
|
);
|
|
19057
19058
|
};
|
|
19058
19059
|
|
|
@@ -19078,7 +19079,7 @@ var useGetStreamInputOutput = (streamId = "", output = "", options = {}) => {
|
|
|
19078
19079
|
...options,
|
|
19079
19080
|
enabled: !!streamId && (options?.enabled ?? true)
|
|
19080
19081
|
},
|
|
19081
|
-
"
|
|
19082
|
+
"streams"
|
|
19082
19083
|
);
|
|
19083
19084
|
};
|
|
19084
19085
|
|
|
@@ -19121,7 +19122,7 @@ var useGetStreamThreads = (streamId, params = {}, options = {}) => {
|
|
|
19121
19122
|
...options,
|
|
19122
19123
|
enabled: !!streamId && (options.enabled ?? true)
|
|
19123
19124
|
},
|
|
19124
|
-
["
|
|
19125
|
+
["streams", "threads"]
|
|
19125
19126
|
);
|
|
19126
19127
|
};
|
|
19127
19128
|
|
|
@@ -19164,7 +19165,7 @@ var useGetStreamVideos = (streamId, params = {}, options = {}) => {
|
|
|
19164
19165
|
...options,
|
|
19165
19166
|
enabled: !!streamId && (options.enabled ?? true)
|
|
19166
19167
|
},
|
|
19167
|
-
["
|
|
19168
|
+
["streams", "storage"]
|
|
19168
19169
|
);
|
|
19169
19170
|
};
|
|
19170
19171
|
|
|
@@ -20333,7 +20334,7 @@ var useGetThreads = (type, params = {}, options = {}) => {
|
|
|
20333
20334
|
|
|
20334
20335
|
// src/queries/threads/useGetThread.ts
|
|
20335
20336
|
var THREAD_QUERY_KEY = (threadId) => [
|
|
20336
|
-
THREADS_QUERY_KEY(),
|
|
20337
|
+
...THREADS_QUERY_KEY(),
|
|
20337
20338
|
threadId
|
|
20338
20339
|
];
|
|
20339
20340
|
var SET_THREAD_QUERY_DATA = (client, keyParams, response, options) => {
|
|
@@ -36101,7 +36102,7 @@ var CreateStreamInput = async ({
|
|
|
36101
36102
|
};
|
|
36102
36103
|
var useCreateStreamInput = (options = {}) => {
|
|
36103
36104
|
return useConnectedMutation(CreateStreamInput, options, {
|
|
36104
|
-
domain: "
|
|
36105
|
+
domain: "streams",
|
|
36105
36106
|
type: "create"
|
|
36106
36107
|
});
|
|
36107
36108
|
};
|
|
@@ -36127,7 +36128,7 @@ var CreateStreamInputOutput = async ({
|
|
|
36127
36128
|
};
|
|
36128
36129
|
var useCreateStreamInputOutput = (options = {}) => {
|
|
36129
36130
|
return useConnectedMutation(CreateStreamInputOutput, options, {
|
|
36130
|
-
domain: "
|
|
36131
|
+
domain: "streams",
|
|
36131
36132
|
type: "create"
|
|
36132
36133
|
});
|
|
36133
36134
|
};
|
|
@@ -36150,7 +36151,7 @@ var DeleteStreamInput = async ({
|
|
|
36150
36151
|
};
|
|
36151
36152
|
var useDeleteStreamInput = (options = {}) => {
|
|
36152
36153
|
return useConnectedMutation(DeleteStreamInput, options, {
|
|
36153
|
-
domain: "
|
|
36154
|
+
domain: "streams",
|
|
36154
36155
|
type: "del"
|
|
36155
36156
|
});
|
|
36156
36157
|
};
|
|
@@ -36174,7 +36175,7 @@ var DeleteStreamInputOutput = async ({
|
|
|
36174
36175
|
};
|
|
36175
36176
|
var useDeleteStreamInputOutput = (options = {}) => {
|
|
36176
36177
|
return useConnectedMutation(DeleteStreamInputOutput, options, {
|
|
36177
|
-
domain: "
|
|
36178
|
+
domain: "streams",
|
|
36178
36179
|
type: "del"
|
|
36179
36180
|
});
|
|
36180
36181
|
};
|
|
@@ -36199,7 +36200,7 @@ var UpdateStreamConfig = async ({
|
|
|
36199
36200
|
};
|
|
36200
36201
|
var useUpdateStreamConfig = (options = {}) => {
|
|
36201
36202
|
return useConnectedMutation(UpdateStreamConfig, options, {
|
|
36202
|
-
domain: "
|
|
36203
|
+
domain: "streams",
|
|
36203
36204
|
type: "update"
|
|
36204
36205
|
});
|
|
36205
36206
|
};
|
|
@@ -36240,7 +36241,7 @@ var UpdateStream = async ({
|
|
|
36240
36241
|
};
|
|
36241
36242
|
var useUpdateStreamInput = (options = {}) => {
|
|
36242
36243
|
return useConnectedMutation(UpdateStream, options, {
|
|
36243
|
-
domain: "
|
|
36244
|
+
domain: "streams",
|
|
36244
36245
|
type: "update"
|
|
36245
36246
|
});
|
|
36246
36247
|
};
|
|
@@ -36265,7 +36266,7 @@ var UpdateStreamInputOutput = async ({
|
|
|
36265
36266
|
};
|
|
36266
36267
|
var useUpdateStreamInputOutput = (options = {}) => {
|
|
36267
36268
|
return useConnectedMutation(UpdateStreamInputOutput, options, {
|
|
36268
|
-
domain: "
|
|
36269
|
+
domain: "streams",
|
|
36269
36270
|
type: "update"
|
|
36270
36271
|
});
|
|
36271
36272
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -34,7 +34,8 @@ declare enum OrganizationModuleType {
|
|
|
34
34
|
interests = "interests",
|
|
35
35
|
advertisements = "advertisements",
|
|
36
36
|
subscriptions = "subscriptions",
|
|
37
|
-
invoices = "invoices"
|
|
37
|
+
invoices = "invoices",
|
|
38
|
+
streams = "streams"
|
|
38
39
|
}
|
|
39
40
|
interface BaseOrganizationModule {
|
|
40
41
|
id: string;
|
|
@@ -1341,6 +1342,7 @@ interface OrganizationMembership {
|
|
|
1341
1342
|
announcements: ModulePermissions;
|
|
1342
1343
|
bookings: ModulePermissions;
|
|
1343
1344
|
surveys: ModulePermissions;
|
|
1345
|
+
streams: ModulePermissions;
|
|
1344
1346
|
}
|
|
1345
1347
|
interface BaseOrganization {
|
|
1346
1348
|
id: string;
|
|
@@ -4406,6 +4408,7 @@ interface OrganizationMembershipUpdateInputs {
|
|
|
4406
4408
|
invoices: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4407
4409
|
announcements: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4408
4410
|
surveys: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4411
|
+
streams: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4409
4412
|
}
|
|
4410
4413
|
interface GroupTranslationUpdateInputs {
|
|
4411
4414
|
name?: string | null;
|
|
@@ -15777,7 +15780,7 @@ declare const useGetSurveys: (params?: Omit<InfiniteQueryParams, "pageParam" | "
|
|
|
15777
15780
|
* @category Keys
|
|
15778
15781
|
* @thread Threads
|
|
15779
15782
|
*/
|
|
15780
|
-
declare const THREAD_QUERY_KEY: (threadId: string) =>
|
|
15783
|
+
declare const THREAD_QUERY_KEY: (threadId: string) => string[];
|
|
15781
15784
|
/**
|
|
15782
15785
|
* @category Setters
|
|
15783
15786
|
* @thread Threads
|
|
@@ -15801,7 +15804,7 @@ declare const useGetThread: (threadId?: string, options?: SingleQueryOptions<Ret
|
|
|
15801
15804
|
* @category Keys
|
|
15802
15805
|
* @thread Thread Accounts
|
|
15803
15806
|
*/
|
|
15804
|
-
declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) =>
|
|
15807
|
+
declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => string[];
|
|
15805
15808
|
interface GetThreadAccountsProps extends InfiniteQueryParams {
|
|
15806
15809
|
threadId: string;
|
|
15807
15810
|
}
|
|
@@ -16020,7 +16023,7 @@ declare const useGetThreadMessages: (threadId?: string, params?: Omit<InfiniteQu
|
|
|
16020
16023
|
* @category Keys
|
|
16021
16024
|
* @thread Thread Viewers
|
|
16022
16025
|
*/
|
|
16023
|
-
declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) =>
|
|
16026
|
+
declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => string[];
|
|
16024
16027
|
interface GetThreadViewersProps extends InfiniteQueryParams {
|
|
16025
16028
|
threadId: string;
|
|
16026
16029
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,8 @@ declare enum OrganizationModuleType {
|
|
|
34
34
|
interests = "interests",
|
|
35
35
|
advertisements = "advertisements",
|
|
36
36
|
subscriptions = "subscriptions",
|
|
37
|
-
invoices = "invoices"
|
|
37
|
+
invoices = "invoices",
|
|
38
|
+
streams = "streams"
|
|
38
39
|
}
|
|
39
40
|
interface BaseOrganizationModule {
|
|
40
41
|
id: string;
|
|
@@ -1341,6 +1342,7 @@ interface OrganizationMembership {
|
|
|
1341
1342
|
announcements: ModulePermissions;
|
|
1342
1343
|
bookings: ModulePermissions;
|
|
1343
1344
|
surveys: ModulePermissions;
|
|
1345
|
+
streams: ModulePermissions;
|
|
1344
1346
|
}
|
|
1345
1347
|
interface BaseOrganization {
|
|
1346
1348
|
id: string;
|
|
@@ -4406,6 +4408,7 @@ interface OrganizationMembershipUpdateInputs {
|
|
|
4406
4408
|
invoices: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4407
4409
|
announcements: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4408
4410
|
surveys: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4411
|
+
streams: Omit<ModulePermissions, "superEnabled" | "enabled">;
|
|
4409
4412
|
}
|
|
4410
4413
|
interface GroupTranslationUpdateInputs {
|
|
4411
4414
|
name?: string | null;
|
|
@@ -15777,7 +15780,7 @@ declare const useGetSurveys: (params?: Omit<InfiniteQueryParams, "pageParam" | "
|
|
|
15777
15780
|
* @category Keys
|
|
15778
15781
|
* @thread Threads
|
|
15779
15782
|
*/
|
|
15780
|
-
declare const THREAD_QUERY_KEY: (threadId: string) =>
|
|
15783
|
+
declare const THREAD_QUERY_KEY: (threadId: string) => string[];
|
|
15781
15784
|
/**
|
|
15782
15785
|
* @category Setters
|
|
15783
15786
|
* @thread Threads
|
|
@@ -15801,7 +15804,7 @@ declare const useGetThread: (threadId?: string, options?: SingleQueryOptions<Ret
|
|
|
15801
15804
|
* @category Keys
|
|
15802
15805
|
* @thread Thread Accounts
|
|
15803
15806
|
*/
|
|
15804
|
-
declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) =>
|
|
15807
|
+
declare const THREAD_ACCOUNTS_QUERY_KEY: (threadId: string) => string[];
|
|
15805
15808
|
interface GetThreadAccountsProps extends InfiniteQueryParams {
|
|
15806
15809
|
threadId: string;
|
|
15807
15810
|
}
|
|
@@ -16020,7 +16023,7 @@ declare const useGetThreadMessages: (threadId?: string, params?: Omit<InfiniteQu
|
|
|
16020
16023
|
* @category Keys
|
|
16021
16024
|
* @thread Thread Viewers
|
|
16022
16025
|
*/
|
|
16023
|
-
declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) =>
|
|
16026
|
+
declare const THREAD_VIEWERS_QUERY_KEY: (threadId: string) => string[];
|
|
16024
16027
|
interface GetThreadViewersProps extends InfiniteQueryParams {
|
|
16025
16028
|
threadId: string;
|
|
16026
16029
|
}
|
package/dist/index.js
CHANGED
|
@@ -12295,6 +12295,7 @@ var OrganizationModuleType = /* @__PURE__ */ ((OrganizationModuleType2) => {
|
|
|
12295
12295
|
OrganizationModuleType2["advertisements"] = "advertisements";
|
|
12296
12296
|
OrganizationModuleType2["subscriptions"] = "subscriptions";
|
|
12297
12297
|
OrganizationModuleType2["invoices"] = "invoices";
|
|
12298
|
+
OrganizationModuleType2["streams"] = "streams";
|
|
12298
12299
|
return OrganizationModuleType2;
|
|
12299
12300
|
})(OrganizationModuleType || {});
|
|
12300
12301
|
var Currency = /* @__PURE__ */ ((Currency2) => {
|
|
@@ -15991,7 +15992,7 @@ var useGetStreamInputs = (eventId, sessionId, params = {}, options = {}) => {
|
|
|
15991
15992
|
(params2) => GetStreamInputs({ ...params2, eventId, sessionId }),
|
|
15992
15993
|
params,
|
|
15993
15994
|
options,
|
|
15994
|
-
"
|
|
15995
|
+
"streams"
|
|
15995
15996
|
);
|
|
15996
15997
|
};
|
|
15997
15998
|
|
|
@@ -16019,7 +16020,7 @@ var useGetStreamInput = (streamId = "", options = {}) => {
|
|
|
16019
16020
|
...options,
|
|
16020
16021
|
enabled: !!streamId && (options?.enabled ?? true)
|
|
16021
16022
|
},
|
|
16022
|
-
"
|
|
16023
|
+
"streams"
|
|
16023
16024
|
);
|
|
16024
16025
|
};
|
|
16025
16026
|
|
|
@@ -16059,7 +16060,7 @@ var useGetStreamInputOutputs = (streamId = "", params = {}, options = {}) => {
|
|
|
16059
16060
|
...options,
|
|
16060
16061
|
enabled: !!streamId && (options.enabled ?? true)
|
|
16061
16062
|
},
|
|
16062
|
-
"
|
|
16063
|
+
"streams"
|
|
16063
16064
|
);
|
|
16064
16065
|
};
|
|
16065
16066
|
|
|
@@ -16085,7 +16086,7 @@ var useGetStreamInputOutput = (streamId = "", output = "", options = {}) => {
|
|
|
16085
16086
|
...options,
|
|
16086
16087
|
enabled: !!streamId && (options?.enabled ?? true)
|
|
16087
16088
|
},
|
|
16088
|
-
"
|
|
16089
|
+
"streams"
|
|
16089
16090
|
);
|
|
16090
16091
|
};
|
|
16091
16092
|
|
|
@@ -16128,7 +16129,7 @@ var useGetStreamThreads = (streamId, params = {}, options = {}) => {
|
|
|
16128
16129
|
...options,
|
|
16129
16130
|
enabled: !!streamId && (options.enabled ?? true)
|
|
16130
16131
|
},
|
|
16131
|
-
["
|
|
16132
|
+
["streams", "threads"]
|
|
16132
16133
|
);
|
|
16133
16134
|
};
|
|
16134
16135
|
|
|
@@ -16171,7 +16172,7 @@ var useGetStreamVideos = (streamId, params = {}, options = {}) => {
|
|
|
16171
16172
|
...options,
|
|
16172
16173
|
enabled: !!streamId && (options.enabled ?? true)
|
|
16173
16174
|
},
|
|
16174
|
-
["
|
|
16175
|
+
["streams", "storage"]
|
|
16175
16176
|
);
|
|
16176
16177
|
};
|
|
16177
16178
|
|
|
@@ -17340,7 +17341,7 @@ var useGetThreads = (type, params = {}, options = {}) => {
|
|
|
17340
17341
|
|
|
17341
17342
|
// src/queries/threads/useGetThread.ts
|
|
17342
17343
|
var THREAD_QUERY_KEY = (threadId) => [
|
|
17343
|
-
THREADS_QUERY_KEY(),
|
|
17344
|
+
...THREADS_QUERY_KEY(),
|
|
17344
17345
|
threadId
|
|
17345
17346
|
];
|
|
17346
17347
|
var SET_THREAD_QUERY_DATA = (client, keyParams, response, options) => {
|
|
@@ -33111,7 +33112,7 @@ var CreateStreamInput = async ({
|
|
|
33111
33112
|
};
|
|
33112
33113
|
var useCreateStreamInput = (options = {}) => {
|
|
33113
33114
|
return useConnectedMutation(CreateStreamInput, options, {
|
|
33114
|
-
domain: "
|
|
33115
|
+
domain: "streams",
|
|
33115
33116
|
type: "create"
|
|
33116
33117
|
});
|
|
33117
33118
|
};
|
|
@@ -33137,7 +33138,7 @@ var CreateStreamInputOutput = async ({
|
|
|
33137
33138
|
};
|
|
33138
33139
|
var useCreateStreamInputOutput = (options = {}) => {
|
|
33139
33140
|
return useConnectedMutation(CreateStreamInputOutput, options, {
|
|
33140
|
-
domain: "
|
|
33141
|
+
domain: "streams",
|
|
33141
33142
|
type: "create"
|
|
33142
33143
|
});
|
|
33143
33144
|
};
|
|
@@ -33160,7 +33161,7 @@ var DeleteStreamInput = async ({
|
|
|
33160
33161
|
};
|
|
33161
33162
|
var useDeleteStreamInput = (options = {}) => {
|
|
33162
33163
|
return useConnectedMutation(DeleteStreamInput, options, {
|
|
33163
|
-
domain: "
|
|
33164
|
+
domain: "streams",
|
|
33164
33165
|
type: "del"
|
|
33165
33166
|
});
|
|
33166
33167
|
};
|
|
@@ -33184,7 +33185,7 @@ var DeleteStreamInputOutput = async ({
|
|
|
33184
33185
|
};
|
|
33185
33186
|
var useDeleteStreamInputOutput = (options = {}) => {
|
|
33186
33187
|
return useConnectedMutation(DeleteStreamInputOutput, options, {
|
|
33187
|
-
domain: "
|
|
33188
|
+
domain: "streams",
|
|
33188
33189
|
type: "del"
|
|
33189
33190
|
});
|
|
33190
33191
|
};
|
|
@@ -33209,7 +33210,7 @@ var UpdateStreamConfig = async ({
|
|
|
33209
33210
|
};
|
|
33210
33211
|
var useUpdateStreamConfig = (options = {}) => {
|
|
33211
33212
|
return useConnectedMutation(UpdateStreamConfig, options, {
|
|
33212
|
-
domain: "
|
|
33213
|
+
domain: "streams",
|
|
33213
33214
|
type: "update"
|
|
33214
33215
|
});
|
|
33215
33216
|
};
|
|
@@ -33250,7 +33251,7 @@ var UpdateStream = async ({
|
|
|
33250
33251
|
};
|
|
33251
33252
|
var useUpdateStreamInput = (options = {}) => {
|
|
33252
33253
|
return useConnectedMutation(UpdateStream, options, {
|
|
33253
|
-
domain: "
|
|
33254
|
+
domain: "streams",
|
|
33254
33255
|
type: "update"
|
|
33255
33256
|
});
|
|
33256
33257
|
};
|
|
@@ -33275,7 +33276,7 @@ var UpdateStreamInputOutput = async ({
|
|
|
33275
33276
|
};
|
|
33276
33277
|
var useUpdateStreamInputOutput = (options = {}) => {
|
|
33277
33278
|
return useConnectedMutation(UpdateStreamInputOutput, options, {
|
|
33278
|
-
domain: "
|
|
33279
|
+
domain: "streams",
|
|
33279
33280
|
type: "update"
|
|
33280
33281
|
});
|
|
33281
33282
|
};
|