@iblai/web-utils 1.0.0 → 1.1.2
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/data-layer/src/features/core/api-slice.d.ts +110 -0
- package/dist/data-layer/src/features/credentials/api-slice.d.ts +44 -22
- package/dist/data-layer/src/features/mentor/api-slice.d.ts +70 -22
- package/dist/data-layer/src/features/stripe/api-slice.d.ts +22 -0
- package/dist/index.d.ts +24 -19
- package/dist/index.esm.js +13134 -13093
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13221 -13180
- package/dist/index.js.map +1 -1
- package/dist/package.json +5 -4
- package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +2 -2
- package/dist/web-utils/src/hooks/use-mentor-settings.d.ts +18 -15
- package/dist/web-utils/src/providers/mentor-provider.d.ts +2 -1
- package/dist/web-utils/src/providers/tenant-provider.d.ts +2 -1
- package/dist/web-utils/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -97,6 +97,7 @@ export declare const mentorApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
97
97
|
org: string;
|
|
98
98
|
departmentId?: number;
|
|
99
99
|
filterBy?: string;
|
|
100
|
+
isFeatured?: boolean;
|
|
100
101
|
metadataKey?: string;
|
|
101
102
|
metadataValue?: string;
|
|
102
103
|
returnSessionInformation?: boolean;
|
|
@@ -112,12 +113,14 @@ export declare const mentorApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
112
113
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").RecentlyAccessedMentor[], "mentorApiSlice", any>;
|
|
113
114
|
getModerationLogs: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
114
115
|
org: string;
|
|
115
|
-
|
|
116
|
+
endTime?: string;
|
|
117
|
+
mentor?: string;
|
|
116
118
|
ordering?: string;
|
|
117
119
|
page?: number;
|
|
118
120
|
pageSize?: number;
|
|
119
121
|
platformKey?: string;
|
|
120
122
|
search?: string;
|
|
123
|
+
startTime?: string;
|
|
121
124
|
targetSystem?: "Moderation System" | "Safety System";
|
|
122
125
|
username?: string;
|
|
123
126
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>;
|
|
@@ -4219,6 +4222,7 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
4219
4222
|
org: string;
|
|
4220
4223
|
departmentId?: number;
|
|
4221
4224
|
filterBy?: string;
|
|
4225
|
+
isFeatured?: boolean;
|
|
4222
4226
|
metadataKey?: string;
|
|
4223
4227
|
metadataValue?: string;
|
|
4224
4228
|
returnSessionInformation?: boolean;
|
|
@@ -4228,6 +4232,7 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
4228
4232
|
org: string;
|
|
4229
4233
|
departmentId?: number;
|
|
4230
4234
|
filterBy?: string;
|
|
4235
|
+
isFeatured?: boolean;
|
|
4231
4236
|
metadataKey?: string;
|
|
4232
4237
|
metadataValue?: string;
|
|
4233
4238
|
returnSessionInformation?: boolean;
|
|
@@ -4238,6 +4243,7 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
4238
4243
|
org: string;
|
|
4239
4244
|
departmentId?: number;
|
|
4240
4245
|
filterBy?: string;
|
|
4246
|
+
isFeatured?: boolean;
|
|
4241
4247
|
metadataKey?: string;
|
|
4242
4248
|
metadataValue?: string;
|
|
4243
4249
|
returnSessionInformation?: boolean;
|
|
@@ -5340,12 +5346,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5340
5346
|
isUninitialized: true;
|
|
5341
5347
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5342
5348
|
org: string;
|
|
5343
|
-
|
|
5349
|
+
endTime?: string;
|
|
5350
|
+
mentor?: string;
|
|
5344
5351
|
ordering?: string;
|
|
5345
5352
|
page?: number;
|
|
5346
5353
|
pageSize?: number;
|
|
5347
5354
|
platformKey?: string;
|
|
5348
5355
|
search?: string;
|
|
5356
|
+
startTime?: string;
|
|
5349
5357
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5350
5358
|
username?: string;
|
|
5351
5359
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5365,12 +5373,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5365
5373
|
error: undefined;
|
|
5366
5374
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5367
5375
|
org: string;
|
|
5368
|
-
|
|
5376
|
+
endTime?: string;
|
|
5377
|
+
mentor?: string;
|
|
5369
5378
|
ordering?: string;
|
|
5370
5379
|
page?: number;
|
|
5371
5380
|
pageSize?: number;
|
|
5372
5381
|
platformKey?: string;
|
|
5373
5382
|
search?: string;
|
|
5383
|
+
startTime?: string;
|
|
5374
5384
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5375
5385
|
username?: string;
|
|
5376
5386
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5386,12 +5396,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5386
5396
|
error: undefined;
|
|
5387
5397
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5388
5398
|
org: string;
|
|
5389
|
-
|
|
5399
|
+
endTime?: string;
|
|
5400
|
+
mentor?: string;
|
|
5390
5401
|
ordering?: string;
|
|
5391
5402
|
page?: number;
|
|
5392
5403
|
pageSize?: number;
|
|
5393
5404
|
platformKey?: string;
|
|
5394
5405
|
search?: string;
|
|
5406
|
+
startTime?: string;
|
|
5395
5407
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5396
5408
|
username?: string;
|
|
5397
5409
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5405,12 +5417,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5405
5417
|
isError: true;
|
|
5406
5418
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5407
5419
|
org: string;
|
|
5408
|
-
|
|
5420
|
+
endTime?: string;
|
|
5421
|
+
mentor?: string;
|
|
5409
5422
|
ordering?: string;
|
|
5410
5423
|
page?: number;
|
|
5411
5424
|
pageSize?: number;
|
|
5412
5425
|
platformKey?: string;
|
|
5413
5426
|
search?: string;
|
|
5427
|
+
startTime?: string;
|
|
5414
5428
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5415
5429
|
username?: string;
|
|
5416
5430
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5424,12 +5438,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5424
5438
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
5425
5439
|
}>(arg: {
|
|
5426
5440
|
org: string;
|
|
5427
|
-
|
|
5441
|
+
endTime?: string;
|
|
5442
|
+
mentor?: string;
|
|
5428
5443
|
ordering?: string;
|
|
5429
5444
|
page?: number;
|
|
5430
5445
|
pageSize?: number;
|
|
5431
5446
|
platformKey?: string;
|
|
5432
5447
|
search?: string;
|
|
5448
|
+
startTime?: string;
|
|
5433
5449
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5434
5450
|
username?: string;
|
|
5435
5451
|
} | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
@@ -5457,12 +5473,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5457
5473
|
isUninitialized: true;
|
|
5458
5474
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5459
5475
|
org: string;
|
|
5460
|
-
|
|
5476
|
+
endTime?: string;
|
|
5477
|
+
mentor?: string;
|
|
5461
5478
|
ordering?: string;
|
|
5462
5479
|
page?: number;
|
|
5463
5480
|
pageSize?: number;
|
|
5464
5481
|
platformKey?: string;
|
|
5465
5482
|
search?: string;
|
|
5483
|
+
startTime?: string;
|
|
5466
5484
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5467
5485
|
username?: string;
|
|
5468
5486
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5482,12 +5500,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5482
5500
|
error: undefined;
|
|
5483
5501
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5484
5502
|
org: string;
|
|
5485
|
-
|
|
5503
|
+
endTime?: string;
|
|
5504
|
+
mentor?: string;
|
|
5486
5505
|
ordering?: string;
|
|
5487
5506
|
page?: number;
|
|
5488
5507
|
pageSize?: number;
|
|
5489
5508
|
platformKey?: string;
|
|
5490
5509
|
search?: string;
|
|
5510
|
+
startTime?: string;
|
|
5491
5511
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5492
5512
|
username?: string;
|
|
5493
5513
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5503,12 +5523,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5503
5523
|
error: undefined;
|
|
5504
5524
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5505
5525
|
org: string;
|
|
5506
|
-
|
|
5526
|
+
endTime?: string;
|
|
5527
|
+
mentor?: string;
|
|
5507
5528
|
ordering?: string;
|
|
5508
5529
|
page?: number;
|
|
5509
5530
|
pageSize?: number;
|
|
5510
5531
|
platformKey?: string;
|
|
5511
5532
|
search?: string;
|
|
5533
|
+
startTime?: string;
|
|
5512
5534
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5513
5535
|
username?: string;
|
|
5514
5536
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5522,12 +5544,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5522
5544
|
isError: true;
|
|
5523
5545
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5524
5546
|
org: string;
|
|
5525
|
-
|
|
5547
|
+
endTime?: string;
|
|
5548
|
+
mentor?: string;
|
|
5526
5549
|
ordering?: string;
|
|
5527
5550
|
page?: number;
|
|
5528
5551
|
pageSize?: number;
|
|
5529
5552
|
platformKey?: string;
|
|
5530
5553
|
search?: string;
|
|
5554
|
+
startTime?: string;
|
|
5531
5555
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5532
5556
|
username?: string;
|
|
5533
5557
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5543,12 +5567,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5543
5567
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
5544
5568
|
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5545
5569
|
org: string;
|
|
5546
|
-
|
|
5570
|
+
endTime?: string;
|
|
5571
|
+
mentor?: string;
|
|
5547
5572
|
ordering?: string;
|
|
5548
5573
|
page?: number;
|
|
5549
5574
|
pageSize?: number;
|
|
5550
5575
|
platformKey?: string;
|
|
5551
5576
|
search?: string;
|
|
5577
|
+
startTime?: string;
|
|
5552
5578
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5553
5579
|
username?: string;
|
|
5554
5580
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>>;
|
|
@@ -5572,12 +5598,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5572
5598
|
isUninitialized: true;
|
|
5573
5599
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5574
5600
|
org: string;
|
|
5575
|
-
|
|
5601
|
+
endTime?: string;
|
|
5602
|
+
mentor?: string;
|
|
5576
5603
|
ordering?: string;
|
|
5577
5604
|
page?: number;
|
|
5578
5605
|
pageSize?: number;
|
|
5579
5606
|
platformKey?: string;
|
|
5580
5607
|
search?: string;
|
|
5608
|
+
startTime?: string;
|
|
5581
5609
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5582
5610
|
username?: string;
|
|
5583
5611
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5597,12 +5625,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5597
5625
|
error: undefined;
|
|
5598
5626
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5599
5627
|
org: string;
|
|
5600
|
-
|
|
5628
|
+
endTime?: string;
|
|
5629
|
+
mentor?: string;
|
|
5601
5630
|
ordering?: string;
|
|
5602
5631
|
page?: number;
|
|
5603
5632
|
pageSize?: number;
|
|
5604
5633
|
platformKey?: string;
|
|
5605
5634
|
search?: string;
|
|
5635
|
+
startTime?: string;
|
|
5606
5636
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5607
5637
|
username?: string;
|
|
5608
5638
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5618,12 +5648,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5618
5648
|
error: undefined;
|
|
5619
5649
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5620
5650
|
org: string;
|
|
5621
|
-
|
|
5651
|
+
endTime?: string;
|
|
5652
|
+
mentor?: string;
|
|
5622
5653
|
ordering?: string;
|
|
5623
5654
|
page?: number;
|
|
5624
5655
|
pageSize?: number;
|
|
5625
5656
|
platformKey?: string;
|
|
5626
5657
|
search?: string;
|
|
5658
|
+
startTime?: string;
|
|
5627
5659
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5628
5660
|
username?: string;
|
|
5629
5661
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5637,12 +5669,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5637
5669
|
isError: true;
|
|
5638
5670
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5639
5671
|
org: string;
|
|
5640
|
-
|
|
5672
|
+
endTime?: string;
|
|
5673
|
+
mentor?: string;
|
|
5641
5674
|
ordering?: string;
|
|
5642
5675
|
page?: number;
|
|
5643
5676
|
pageSize?: number;
|
|
5644
5677
|
platformKey?: string;
|
|
5645
5678
|
search?: string;
|
|
5679
|
+
startTime?: string;
|
|
5646
5680
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5647
5681
|
username?: string;
|
|
5648
5682
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5676,12 +5710,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5676
5710
|
isUninitialized: true;
|
|
5677
5711
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5678
5712
|
org: string;
|
|
5679
|
-
|
|
5713
|
+
endTime?: string;
|
|
5714
|
+
mentor?: string;
|
|
5680
5715
|
ordering?: string;
|
|
5681
5716
|
page?: number;
|
|
5682
5717
|
pageSize?: number;
|
|
5683
5718
|
platformKey?: string;
|
|
5684
5719
|
search?: string;
|
|
5720
|
+
startTime?: string;
|
|
5685
5721
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5686
5722
|
username?: string;
|
|
5687
5723
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5701,12 +5737,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5701
5737
|
error: undefined;
|
|
5702
5738
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5703
5739
|
org: string;
|
|
5704
|
-
|
|
5740
|
+
endTime?: string;
|
|
5741
|
+
mentor?: string;
|
|
5705
5742
|
ordering?: string;
|
|
5706
5743
|
page?: number;
|
|
5707
5744
|
pageSize?: number;
|
|
5708
5745
|
platformKey?: string;
|
|
5709
5746
|
search?: string;
|
|
5747
|
+
startTime?: string;
|
|
5710
5748
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5711
5749
|
username?: string;
|
|
5712
5750
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5722,12 +5760,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5722
5760
|
error: undefined;
|
|
5723
5761
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5724
5762
|
org: string;
|
|
5725
|
-
|
|
5763
|
+
endTime?: string;
|
|
5764
|
+
mentor?: string;
|
|
5726
5765
|
ordering?: string;
|
|
5727
5766
|
page?: number;
|
|
5728
5767
|
pageSize?: number;
|
|
5729
5768
|
platformKey?: string;
|
|
5730
5769
|
search?: string;
|
|
5770
|
+
startTime?: string;
|
|
5731
5771
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5732
5772
|
username?: string;
|
|
5733
5773
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5741,12 +5781,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5741
5781
|
isError: true;
|
|
5742
5782
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5743
5783
|
org: string;
|
|
5744
|
-
|
|
5784
|
+
endTime?: string;
|
|
5785
|
+
mentor?: string;
|
|
5745
5786
|
ordering?: string;
|
|
5746
5787
|
page?: number;
|
|
5747
5788
|
pageSize?: number;
|
|
5748
5789
|
platformKey?: string;
|
|
5749
5790
|
search?: string;
|
|
5791
|
+
startTime?: string;
|
|
5750
5792
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5751
5793
|
username?: string;
|
|
5752
5794
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>> & {
|
|
@@ -5761,22 +5803,26 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5761
5803
|
}) => R) | undefined;
|
|
5762
5804
|
}, "skip">) | undefined) => [(arg: {
|
|
5763
5805
|
org: string;
|
|
5764
|
-
|
|
5806
|
+
endTime?: string;
|
|
5807
|
+
mentor?: string;
|
|
5765
5808
|
ordering?: string;
|
|
5766
5809
|
page?: number;
|
|
5767
5810
|
pageSize?: number;
|
|
5768
5811
|
platformKey?: string;
|
|
5769
5812
|
search?: string;
|
|
5813
|
+
startTime?: string;
|
|
5770
5814
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5771
5815
|
username?: string;
|
|
5772
5816
|
}, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
5773
5817
|
org: string;
|
|
5774
|
-
|
|
5818
|
+
endTime?: string;
|
|
5819
|
+
mentor?: string;
|
|
5775
5820
|
ordering?: string;
|
|
5776
5821
|
page?: number;
|
|
5777
5822
|
pageSize?: number;
|
|
5778
5823
|
platformKey?: string;
|
|
5779
5824
|
search?: string;
|
|
5825
|
+
startTime?: string;
|
|
5780
5826
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5781
5827
|
username?: string;
|
|
5782
5828
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<any, unknown, unknown, {}, {}>, "mentor" | "mentors" | "mentorSettings" | "mentorPublicSettings" | "shareableLinks" | "publicMentors" | "moderationLogs", import("node_modules/@iblai/iblai-api/dist/types").PaginatedModerationLogList, "mentorApiSlice", any>>, [R][R extends any ? 0 : never] & {
|
|
@@ -5784,12 +5830,14 @@ export declare const useCreateMentorMutation: <R extends Record<string, any> = (
|
|
|
5784
5830
|
}, {
|
|
5785
5831
|
lastArg: {
|
|
5786
5832
|
org: string;
|
|
5787
|
-
|
|
5833
|
+
endTime?: string;
|
|
5834
|
+
mentor?: string;
|
|
5788
5835
|
ordering?: string;
|
|
5789
5836
|
page?: number;
|
|
5790
5837
|
pageSize?: number;
|
|
5791
5838
|
platformKey?: string;
|
|
5792
5839
|
search?: string;
|
|
5840
|
+
startTime?: string;
|
|
5793
5841
|
targetSystem?: "Moderation System" | "Safety System";
|
|
5794
5842
|
username?: string;
|
|
5795
5843
|
};
|
|
@@ -5,6 +5,7 @@ export declare const stripeApiSlice: import("@reduxjs/toolkit/query").Api<import
|
|
|
5
5
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>;
|
|
6
6
|
getStripePricingPageSession: import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
7
7
|
platform_key: string;
|
|
8
|
+
params: Record<string, any>;
|
|
8
9
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>;
|
|
9
10
|
createStripeCheckoutSession: import("@reduxjs/toolkit/query").MutationDefinition<StripeCheckoutSessionArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", Record<string, any>, "stripeApiSlice", unknown>;
|
|
10
11
|
}, "stripeApiSlice", "stripe-context", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
@@ -333,6 +334,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
333
334
|
isUninitialized: true;
|
|
334
335
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
335
336
|
platform_key: string;
|
|
337
|
+
params: Record<string, any>;
|
|
336
338
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
337
339
|
currentData?: StripeContextResponse | undefined;
|
|
338
340
|
isUninitialized: false;
|
|
@@ -350,6 +352,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
350
352
|
error: undefined;
|
|
351
353
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
352
354
|
platform_key: string;
|
|
355
|
+
params: Record<string, any>;
|
|
353
356
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
354
357
|
currentData?: StripeContextResponse | undefined;
|
|
355
358
|
isUninitialized: false;
|
|
@@ -363,6 +366,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
363
366
|
error: undefined;
|
|
364
367
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
365
368
|
platform_key: string;
|
|
369
|
+
params: Record<string, any>;
|
|
366
370
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
367
371
|
currentData?: StripeContextResponse | undefined;
|
|
368
372
|
isUninitialized: false;
|
|
@@ -374,6 +378,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
374
378
|
isError: true;
|
|
375
379
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
376
380
|
platform_key: string;
|
|
381
|
+
params: Record<string, any>;
|
|
377
382
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
378
383
|
currentData?: StripeContextResponse | undefined;
|
|
379
384
|
isUninitialized: false;
|
|
@@ -385,6 +390,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
385
390
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
386
391
|
}>(arg: {
|
|
387
392
|
platform_key: string;
|
|
393
|
+
params: Record<string, any>;
|
|
388
394
|
} | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
389
395
|
skip?: boolean;
|
|
390
396
|
refetchOnMountOrArgChange?: boolean | number;
|
|
@@ -410,6 +416,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
410
416
|
isUninitialized: true;
|
|
411
417
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
412
418
|
platform_key: string;
|
|
419
|
+
params: Record<string, any>;
|
|
413
420
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
414
421
|
currentData?: StripeContextResponse | undefined;
|
|
415
422
|
isUninitialized: false;
|
|
@@ -427,6 +434,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
427
434
|
error: undefined;
|
|
428
435
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
429
436
|
platform_key: string;
|
|
437
|
+
params: Record<string, any>;
|
|
430
438
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
431
439
|
currentData?: StripeContextResponse | undefined;
|
|
432
440
|
isUninitialized: false;
|
|
@@ -440,6 +448,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
440
448
|
error: undefined;
|
|
441
449
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
442
450
|
platform_key: string;
|
|
451
|
+
params: Record<string, any>;
|
|
443
452
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
444
453
|
currentData?: StripeContextResponse | undefined;
|
|
445
454
|
isUninitialized: false;
|
|
@@ -451,6 +460,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
451
460
|
isError: true;
|
|
452
461
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
453
462
|
platform_key: string;
|
|
463
|
+
params: Record<string, any>;
|
|
454
464
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
455
465
|
currentData?: StripeContextResponse | undefined;
|
|
456
466
|
isUninitialized: false;
|
|
@@ -464,6 +474,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
464
474
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
465
475
|
refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
466
476
|
platform_key: string;
|
|
477
|
+
params: Record<string, any>;
|
|
467
478
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>>;
|
|
468
479
|
}, useLazyGetStripePricingPageSessionQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
469
480
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
@@ -485,6 +496,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
485
496
|
isUninitialized: true;
|
|
486
497
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
487
498
|
platform_key: string;
|
|
499
|
+
params: Record<string, any>;
|
|
488
500
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
489
501
|
currentData?: StripeContextResponse | undefined;
|
|
490
502
|
isUninitialized: false;
|
|
@@ -502,6 +514,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
502
514
|
error: undefined;
|
|
503
515
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
504
516
|
platform_key: string;
|
|
517
|
+
params: Record<string, any>;
|
|
505
518
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
506
519
|
currentData?: StripeContextResponse | undefined;
|
|
507
520
|
isUninitialized: false;
|
|
@@ -515,6 +528,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
515
528
|
error: undefined;
|
|
516
529
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
517
530
|
platform_key: string;
|
|
531
|
+
params: Record<string, any>;
|
|
518
532
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
519
533
|
currentData?: StripeContextResponse | undefined;
|
|
520
534
|
isUninitialized: false;
|
|
@@ -526,6 +540,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
526
540
|
isError: true;
|
|
527
541
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
528
542
|
platform_key: string;
|
|
543
|
+
params: Record<string, any>;
|
|
529
544
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
530
545
|
currentData?: StripeContextResponse | undefined;
|
|
531
546
|
isUninitialized: false;
|
|
@@ -557,6 +572,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
557
572
|
isUninitialized: true;
|
|
558
573
|
}) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
559
574
|
platform_key: string;
|
|
575
|
+
params: Record<string, any>;
|
|
560
576
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
561
577
|
currentData?: StripeContextResponse | undefined;
|
|
562
578
|
isUninitialized: false;
|
|
@@ -574,6 +590,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
574
590
|
error: undefined;
|
|
575
591
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
576
592
|
platform_key: string;
|
|
593
|
+
params: Record<string, any>;
|
|
577
594
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
578
595
|
currentData?: StripeContextResponse | undefined;
|
|
579
596
|
isUninitialized: false;
|
|
@@ -587,6 +604,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
587
604
|
error: undefined;
|
|
588
605
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
589
606
|
platform_key: string;
|
|
607
|
+
params: Record<string, any>;
|
|
590
608
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
591
609
|
currentData?: StripeContextResponse | undefined;
|
|
592
610
|
isUninitialized: false;
|
|
@@ -598,6 +616,7 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
598
616
|
isError: true;
|
|
599
617
|
} & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
600
618
|
platform_key: string;
|
|
619
|
+
params: Record<string, any>;
|
|
601
620
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>> & {
|
|
602
621
|
currentData?: StripeContextResponse | undefined;
|
|
603
622
|
isUninitialized: false;
|
|
@@ -610,13 +629,16 @@ export declare const useGetStripeContextQuery: <R extends Record<string, any> =
|
|
|
610
629
|
}) => R) | undefined;
|
|
611
630
|
}, "skip">) | undefined) => [(arg: {
|
|
612
631
|
platform_key: string;
|
|
632
|
+
params: Record<string, any>;
|
|
613
633
|
}, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
614
634
|
platform_key: string;
|
|
635
|
+
params: Record<string, any>;
|
|
615
636
|
}, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, "stripe-context", StripeContextResponse, "stripeApiSlice", unknown>>, [R][R extends any ? 0 : never] & {
|
|
616
637
|
reset: () => void;
|
|
617
638
|
}, {
|
|
618
639
|
lastArg: {
|
|
619
640
|
platform_key: string;
|
|
641
|
+
params: Record<string, any>;
|
|
620
642
|
};
|
|
621
643
|
}], useCreateStripeCheckoutSessionMutation: <R extends Record<string, any> = ({
|
|
622
644
|
requestId?: undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -968,7 +968,7 @@ type Props$5 = {
|
|
|
968
968
|
isPreviewMode?: boolean;
|
|
969
969
|
mentorShareableToken?: string | null;
|
|
970
970
|
on402Error?: (message: Record<string, unknown>) => void;
|
|
971
|
-
cachedSessionId?: string
|
|
971
|
+
cachedSessionId?: Record<string, string>;
|
|
972
972
|
onStartNewChat?: (sessionId: string) => void;
|
|
973
973
|
};
|
|
974
974
|
declare function useAdvancedChat({ tenantKey, mentorId, username, token, wsUrl, stopGenerationWsUrl, redirectToAuthSpa, errorHandler, sendMessageToParentWebsite, isPreviewMode, mentorShareableToken, on402Error, cachedSessionId, onStartNewChat, }: Props$5): {
|
|
@@ -995,7 +995,7 @@ declare function useAdvancedChat({ tenantKey, mentorId, username, token, wsUrl,
|
|
|
995
995
|
isConnected: React__default.MutableRefObject<boolean>;
|
|
996
996
|
messageQueue: React__default.MutableRefObject<any[]>;
|
|
997
997
|
sessionIds: SessionIds;
|
|
998
|
-
enableSafetyDisclaimer:
|
|
998
|
+
enableSafetyDisclaimer: boolean;
|
|
999
999
|
resetConnection: () => void;
|
|
1000
1000
|
};
|
|
1001
1001
|
|
|
@@ -1119,22 +1119,25 @@ type Props$3 = {
|
|
|
1119
1119
|
tenantKey: string;
|
|
1120
1120
|
username: string;
|
|
1121
1121
|
};
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1122
|
+
type MentorSettingsData = {
|
|
1123
|
+
profileImage?: string | null;
|
|
1124
|
+
greetingMethod?: string | null;
|
|
1125
|
+
proactiveResponse?: string | null;
|
|
1126
|
+
llmProvider?: string | null;
|
|
1127
|
+
llmName?: string | null;
|
|
1128
|
+
mentorUniqueId?: string | null;
|
|
1129
|
+
mentorVisibility?: string | null | any;
|
|
1130
|
+
mentorName?: string | null;
|
|
1131
|
+
enableGuidedPrompts?: boolean | null;
|
|
1132
|
+
mentorSlug?: string | null;
|
|
1133
|
+
safetyDisclaimer: boolean;
|
|
1134
|
+
mentorTools?: any[] | null;
|
|
1135
|
+
allowAnonymous?: boolean | null;
|
|
1136
|
+
};
|
|
1137
|
+
type UseMentorSettingsReturn = {
|
|
1138
|
+
data: MentorSettingsData;
|
|
1137
1139
|
};
|
|
1140
|
+
declare function useMentorSettings({ mentorId, tenantKey, username, }: Props$3): UseMentorSettingsReturn;
|
|
1138
1141
|
|
|
1139
1142
|
/**
|
|
1140
1143
|
* Sync authentication state to cookies (web only)
|
|
@@ -1240,6 +1243,7 @@ type Props$1 = {
|
|
|
1240
1243
|
requestedMentorId?: string;
|
|
1241
1244
|
handleMentorNotFound?: () => Promise<void>;
|
|
1242
1245
|
forceDetermineMentor?: boolean;
|
|
1246
|
+
onComplete?: () => void;
|
|
1243
1247
|
};
|
|
1244
1248
|
/**
|
|
1245
1249
|
* MentorProvider Component
|
|
@@ -1250,7 +1254,7 @@ type Props$1 = {
|
|
|
1250
1254
|
* 3. Manages redirection based on mentor availability
|
|
1251
1255
|
* 4. Integrates with tenant context for access control
|
|
1252
1256
|
*/
|
|
1253
|
-
declare function MentorProvider({ children, fallback, onAuthSuccess, onAuthFailure, redirectToAuthSpa, redirectToMentor, onLoadMentorsPermissions, redirectToNoMentorsPage, redirectToCreateMentor, username, isAdmin, mainTenantKey, requestedMentorId, handleMentorNotFound, forceDetermineMentor, }: Props$1): React__default.ReactNode;
|
|
1257
|
+
declare function MentorProvider({ children, fallback, onAuthSuccess, onAuthFailure, redirectToAuthSpa, redirectToMentor, onLoadMentorsPermissions, redirectToNoMentorsPage, redirectToCreateMentor, username, isAdmin, mainTenantKey, requestedMentorId, handleMentorNotFound, forceDetermineMentor, onComplete, }: Props$1): React__default.ReactNode;
|
|
1254
1258
|
|
|
1255
1259
|
/**
|
|
1256
1260
|
* Type definition for the tenant context
|
|
@@ -1295,6 +1299,7 @@ type Props = {
|
|
|
1295
1299
|
saveTenant?: (tenant: string) => void;
|
|
1296
1300
|
onAutoJoinUserToTenant?: (platformName: string) => void;
|
|
1297
1301
|
redirectToAuthSpa?: (redirectTo?: string, platformKey?: string, logout?: boolean, saveRedirect?: boolean) => void;
|
|
1302
|
+
username?: string;
|
|
1298
1303
|
};
|
|
1299
1304
|
/**
|
|
1300
1305
|
* TenantProvider Component
|
|
@@ -1306,7 +1311,7 @@ type Props = {
|
|
|
1306
1311
|
* 4. Handles tenant-specific domain redirects
|
|
1307
1312
|
* 5. Maintains tenant access state
|
|
1308
1313
|
*/
|
|
1309
|
-
declare function TenantProvider({ children, fallback, onAuthSuccess, onAuthFailure, currentTenant, requestedTenant, saveCurrentTenant, saveUserTenants, handleTenantSwitch, saveVisitingTenant, removeVisitingTenant, saveUserTokens, saveTenant, onAutoJoinUserToTenant, redirectToAuthSpa, }: Props): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
1314
|
+
declare function TenantProvider({ children, fallback, onAuthSuccess, onAuthFailure, currentTenant, requestedTenant, saveCurrentTenant, saveUserTenants, handleTenantSwitch, saveVisitingTenant, removeVisitingTenant, saveUserTokens, saveTenant, onAutoJoinUserToTenant, redirectToAuthSpa, username, }: Props): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
1310
1315
|
|
|
1311
1316
|
/**
|
|
1312
1317
|
* Chat area size constants
|