@microsoft/agents-activity 1.3.0-beta.31.g024f219993 → 1.3.0-beta.39.gaaa34c719a
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/src/activity.d.ts +38 -38
- package/dist/src/activityTreatments.d.ts +0 -5
- package/dist/src/activityTreatments.js +1 -6
- package/dist/src/activityTreatments.js.map +1 -1
- package/dist/src/conversation/channelAccount.d.ts +2 -2
- package/dist/src/conversation/conversationAccount.d.ts +2 -2
- package/dist/src/conversation/conversationReference.d.ts +12 -12
- package/dist/src/conversation/membershipSource.d.ts +0 -26
- package/dist/src/conversation/membershipSource.js +0 -15
- package/dist/src/conversation/membershipSource.js.map +1 -1
- package/dist/src/conversation/membershipSourceTypes.d.ts +0 -5
- package/dist/src/conversation/membershipSourceTypes.js +1 -6
- package/dist/src/conversation/membershipSourceTypes.js.map +1 -1
- package/dist/src/conversation/membershipTypes.d.ts +0 -5
- package/dist/src/conversation/membershipTypes.js +1 -6
- package/dist/src/conversation/membershipTypes.js.map +1 -1
- package/dist/src/entity/productInfo.d.ts +0 -5
- package/package.json +1 -1
- package/src/activityTreatments.ts +0 -7
- package/src/conversation/membershipSource.ts +2 -15
- package/src/conversation/membershipSourceTypes.ts +0 -7
- package/src/conversation/membershipTypes.ts +0 -7
- package/src/entity/productInfo.ts +1 -1
package/dist/src/activity.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
id?: string | undefined;
|
|
44
44
|
name?: string | undefined;
|
|
45
|
-
tenantId?: string | undefined;
|
|
46
45
|
aadObjectId?: string | undefined;
|
|
46
|
+
tenantId?: string | undefined;
|
|
47
47
|
agenticUserId?: string | undefined;
|
|
48
48
|
agenticAppId?: string | undefined;
|
|
49
49
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -52,8 +52,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
52
52
|
}, {
|
|
53
53
|
id?: string | undefined;
|
|
54
54
|
name?: string | undefined;
|
|
55
|
-
tenantId?: string | undefined;
|
|
56
55
|
aadObjectId?: string | undefined;
|
|
56
|
+
tenantId?: string | undefined;
|
|
57
57
|
agenticUserId?: string | undefined;
|
|
58
58
|
agenticAppId?: string | undefined;
|
|
59
59
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -77,8 +77,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
id: string;
|
|
79
79
|
name?: string | undefined;
|
|
80
|
-
tenantId?: string | undefined;
|
|
81
80
|
aadObjectId?: string | undefined;
|
|
81
|
+
tenantId?: string | undefined;
|
|
82
82
|
role?: string | undefined;
|
|
83
83
|
properties?: unknown;
|
|
84
84
|
isGroup?: boolean | undefined;
|
|
@@ -86,8 +86,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
86
86
|
}, {
|
|
87
87
|
id: string;
|
|
88
88
|
name?: string | undefined;
|
|
89
|
-
tenantId?: string | undefined;
|
|
90
89
|
aadObjectId?: string | undefined;
|
|
90
|
+
tenantId?: string | undefined;
|
|
91
91
|
role?: string | undefined;
|
|
92
92
|
properties?: unknown;
|
|
93
93
|
isGroup?: boolean | undefined;
|
|
@@ -106,8 +106,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
107
|
id?: string | undefined;
|
|
108
108
|
name?: string | undefined;
|
|
109
|
-
tenantId?: string | undefined;
|
|
110
109
|
aadObjectId?: string | undefined;
|
|
110
|
+
tenantId?: string | undefined;
|
|
111
111
|
agenticUserId?: string | undefined;
|
|
112
112
|
agenticAppId?: string | undefined;
|
|
113
113
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
116
116
|
}, {
|
|
117
117
|
id?: string | undefined;
|
|
118
118
|
name?: string | undefined;
|
|
119
|
-
tenantId?: string | undefined;
|
|
120
119
|
aadObjectId?: string | undefined;
|
|
120
|
+
tenantId?: string | undefined;
|
|
121
121
|
agenticUserId?: string | undefined;
|
|
122
122
|
agenticAppId?: string | undefined;
|
|
123
123
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -139,8 +139,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
id?: string | undefined;
|
|
141
141
|
name?: string | undefined;
|
|
142
|
-
tenantId?: string | undefined;
|
|
143
142
|
aadObjectId?: string | undefined;
|
|
143
|
+
tenantId?: string | undefined;
|
|
144
144
|
agenticUserId?: string | undefined;
|
|
145
145
|
agenticAppId?: string | undefined;
|
|
146
146
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
149
149
|
}, {
|
|
150
150
|
id?: string | undefined;
|
|
151
151
|
name?: string | undefined;
|
|
152
|
-
tenantId?: string | undefined;
|
|
153
152
|
aadObjectId?: string | undefined;
|
|
153
|
+
tenantId?: string | undefined;
|
|
154
154
|
agenticUserId?: string | undefined;
|
|
155
155
|
agenticAppId?: string | undefined;
|
|
156
156
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -170,8 +170,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
id?: string | undefined;
|
|
172
172
|
name?: string | undefined;
|
|
173
|
-
tenantId?: string | undefined;
|
|
174
173
|
aadObjectId?: string | undefined;
|
|
174
|
+
tenantId?: string | undefined;
|
|
175
175
|
agenticUserId?: string | undefined;
|
|
176
176
|
agenticAppId?: string | undefined;
|
|
177
177
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -180,8 +180,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
180
180
|
}, {
|
|
181
181
|
id?: string | undefined;
|
|
182
182
|
name?: string | undefined;
|
|
183
|
-
tenantId?: string | undefined;
|
|
184
183
|
aadObjectId?: string | undefined;
|
|
184
|
+
tenantId?: string | undefined;
|
|
185
185
|
agenticUserId?: string | undefined;
|
|
186
186
|
agenticAppId?: string | undefined;
|
|
187
187
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -311,8 +311,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
id?: string | undefined;
|
|
313
313
|
name?: string | undefined;
|
|
314
|
-
tenantId?: string | undefined;
|
|
315
314
|
aadObjectId?: string | undefined;
|
|
315
|
+
tenantId?: string | undefined;
|
|
316
316
|
agenticUserId?: string | undefined;
|
|
317
317
|
agenticAppId?: string | undefined;
|
|
318
318
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -321,8 +321,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
321
321
|
}, {
|
|
322
322
|
id?: string | undefined;
|
|
323
323
|
name?: string | undefined;
|
|
324
|
-
tenantId?: string | undefined;
|
|
325
324
|
aadObjectId?: string | undefined;
|
|
325
|
+
tenantId?: string | undefined;
|
|
326
326
|
agenticUserId?: string | undefined;
|
|
327
327
|
agenticAppId?: string | undefined;
|
|
328
328
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -343,8 +343,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
id?: string | undefined;
|
|
345
345
|
name?: string | undefined;
|
|
346
|
-
tenantId?: string | undefined;
|
|
347
346
|
aadObjectId?: string | undefined;
|
|
347
|
+
tenantId?: string | undefined;
|
|
348
348
|
agenticUserId?: string | undefined;
|
|
349
349
|
agenticAppId?: string | undefined;
|
|
350
350
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -353,8 +353,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
353
353
|
}, {
|
|
354
354
|
id?: string | undefined;
|
|
355
355
|
name?: string | undefined;
|
|
356
|
-
tenantId?: string | undefined;
|
|
357
356
|
aadObjectId?: string | undefined;
|
|
357
|
+
tenantId?: string | undefined;
|
|
358
358
|
agenticUserId?: string | undefined;
|
|
359
359
|
agenticAppId?: string | undefined;
|
|
360
360
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -373,8 +373,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
373
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
374
|
id: string;
|
|
375
375
|
name?: string | undefined;
|
|
376
|
-
tenantId?: string | undefined;
|
|
377
376
|
aadObjectId?: string | undefined;
|
|
377
|
+
tenantId?: string | undefined;
|
|
378
378
|
role?: string | undefined;
|
|
379
379
|
properties?: unknown;
|
|
380
380
|
isGroup?: boolean | undefined;
|
|
@@ -382,8 +382,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
382
382
|
}, {
|
|
383
383
|
id: string;
|
|
384
384
|
name?: string | undefined;
|
|
385
|
-
tenantId?: string | undefined;
|
|
386
385
|
aadObjectId?: string | undefined;
|
|
386
|
+
tenantId?: string | undefined;
|
|
387
387
|
role?: string | undefined;
|
|
388
388
|
properties?: unknown;
|
|
389
389
|
isGroup?: boolean | undefined;
|
|
@@ -395,8 +395,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
395
395
|
conversation: {
|
|
396
396
|
id: string;
|
|
397
397
|
name?: string | undefined;
|
|
398
|
-
tenantId?: string | undefined;
|
|
399
398
|
aadObjectId?: string | undefined;
|
|
399
|
+
tenantId?: string | undefined;
|
|
400
400
|
role?: string | undefined;
|
|
401
401
|
properties?: unknown;
|
|
402
402
|
isGroup?: boolean | undefined;
|
|
@@ -406,8 +406,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
406
406
|
user?: {
|
|
407
407
|
id?: string | undefined;
|
|
408
408
|
name?: string | undefined;
|
|
409
|
-
tenantId?: string | undefined;
|
|
410
409
|
aadObjectId?: string | undefined;
|
|
410
|
+
tenantId?: string | undefined;
|
|
411
411
|
agenticUserId?: string | undefined;
|
|
412
412
|
agenticAppId?: string | undefined;
|
|
413
413
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -419,8 +419,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
419
419
|
agent?: {
|
|
420
420
|
id?: string | undefined;
|
|
421
421
|
name?: string | undefined;
|
|
422
|
-
tenantId?: string | undefined;
|
|
423
422
|
aadObjectId?: string | undefined;
|
|
423
|
+
tenantId?: string | undefined;
|
|
424
424
|
agenticUserId?: string | undefined;
|
|
425
425
|
agenticAppId?: string | undefined;
|
|
426
426
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -432,8 +432,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
432
432
|
conversation: {
|
|
433
433
|
id: string;
|
|
434
434
|
name?: string | undefined;
|
|
435
|
-
tenantId?: string | undefined;
|
|
436
435
|
aadObjectId?: string | undefined;
|
|
436
|
+
tenantId?: string | undefined;
|
|
437
437
|
role?: string | undefined;
|
|
438
438
|
properties?: unknown;
|
|
439
439
|
isGroup?: boolean | undefined;
|
|
@@ -443,8 +443,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
443
443
|
user?: {
|
|
444
444
|
id?: string | undefined;
|
|
445
445
|
name?: string | undefined;
|
|
446
|
-
tenantId?: string | undefined;
|
|
447
446
|
aadObjectId?: string | undefined;
|
|
447
|
+
tenantId?: string | undefined;
|
|
448
448
|
agenticUserId?: string | undefined;
|
|
449
449
|
agenticAppId?: string | undefined;
|
|
450
450
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -456,8 +456,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
456
456
|
agent?: {
|
|
457
457
|
id?: string | undefined;
|
|
458
458
|
name?: string | undefined;
|
|
459
|
-
tenantId?: string | undefined;
|
|
460
459
|
aadObjectId?: string | undefined;
|
|
460
|
+
tenantId?: string | undefined;
|
|
461
461
|
agenticUserId?: string | undefined;
|
|
462
462
|
agenticAppId?: string | undefined;
|
|
463
463
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -519,8 +519,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
519
519
|
conversation?: {
|
|
520
520
|
id: string;
|
|
521
521
|
name?: string | undefined;
|
|
522
|
-
tenantId?: string | undefined;
|
|
523
522
|
aadObjectId?: string | undefined;
|
|
523
|
+
tenantId?: string | undefined;
|
|
524
524
|
role?: string | undefined;
|
|
525
525
|
properties?: unknown;
|
|
526
526
|
isGroup?: boolean | undefined;
|
|
@@ -531,8 +531,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
531
531
|
from?: {
|
|
532
532
|
id?: string | undefined;
|
|
533
533
|
name?: string | undefined;
|
|
534
|
-
tenantId?: string | undefined;
|
|
535
534
|
aadObjectId?: string | undefined;
|
|
535
|
+
tenantId?: string | undefined;
|
|
536
536
|
agenticUserId?: string | undefined;
|
|
537
537
|
agenticAppId?: string | undefined;
|
|
538
538
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -546,8 +546,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
546
546
|
recipient?: {
|
|
547
547
|
id?: string | undefined;
|
|
548
548
|
name?: string | undefined;
|
|
549
|
-
tenantId?: string | undefined;
|
|
550
549
|
aadObjectId?: string | undefined;
|
|
550
|
+
tenantId?: string | undefined;
|
|
551
551
|
agenticUserId?: string | undefined;
|
|
552
552
|
agenticAppId?: string | undefined;
|
|
553
553
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -559,8 +559,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
559
559
|
membersAdded?: {
|
|
560
560
|
id?: string | undefined;
|
|
561
561
|
name?: string | undefined;
|
|
562
|
-
tenantId?: string | undefined;
|
|
563
562
|
aadObjectId?: string | undefined;
|
|
563
|
+
tenantId?: string | undefined;
|
|
564
564
|
agenticUserId?: string | undefined;
|
|
565
565
|
agenticAppId?: string | undefined;
|
|
566
566
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -570,8 +570,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
570
570
|
membersRemoved?: {
|
|
571
571
|
id?: string | undefined;
|
|
572
572
|
name?: string | undefined;
|
|
573
|
-
tenantId?: string | undefined;
|
|
574
573
|
aadObjectId?: string | undefined;
|
|
574
|
+
tenantId?: string | undefined;
|
|
575
575
|
agenticUserId?: string | undefined;
|
|
576
576
|
agenticAppId?: string | undefined;
|
|
577
577
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -617,8 +617,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
617
617
|
conversation: {
|
|
618
618
|
id: string;
|
|
619
619
|
name?: string | undefined;
|
|
620
|
-
tenantId?: string | undefined;
|
|
621
620
|
aadObjectId?: string | undefined;
|
|
621
|
+
tenantId?: string | undefined;
|
|
622
622
|
role?: string | undefined;
|
|
623
623
|
properties?: unknown;
|
|
624
624
|
isGroup?: boolean | undefined;
|
|
@@ -628,8 +628,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
628
628
|
user?: {
|
|
629
629
|
id?: string | undefined;
|
|
630
630
|
name?: string | undefined;
|
|
631
|
-
tenantId?: string | undefined;
|
|
632
631
|
aadObjectId?: string | undefined;
|
|
632
|
+
tenantId?: string | undefined;
|
|
633
633
|
agenticUserId?: string | undefined;
|
|
634
634
|
agenticAppId?: string | undefined;
|
|
635
635
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -641,8 +641,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
641
641
|
agent?: {
|
|
642
642
|
id?: string | undefined;
|
|
643
643
|
name?: string | undefined;
|
|
644
|
-
tenantId?: string | undefined;
|
|
645
644
|
aadObjectId?: string | undefined;
|
|
645
|
+
tenantId?: string | undefined;
|
|
646
646
|
agenticUserId?: string | undefined;
|
|
647
647
|
agenticAppId?: string | undefined;
|
|
648
648
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -681,8 +681,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
681
681
|
conversation?: {
|
|
682
682
|
id: string;
|
|
683
683
|
name?: string | undefined;
|
|
684
|
-
tenantId?: string | undefined;
|
|
685
684
|
aadObjectId?: string | undefined;
|
|
685
|
+
tenantId?: string | undefined;
|
|
686
686
|
role?: string | undefined;
|
|
687
687
|
properties?: unknown;
|
|
688
688
|
isGroup?: boolean | undefined;
|
|
@@ -693,8 +693,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
693
693
|
from?: {
|
|
694
694
|
id?: string | undefined;
|
|
695
695
|
name?: string | undefined;
|
|
696
|
-
tenantId?: string | undefined;
|
|
697
696
|
aadObjectId?: string | undefined;
|
|
697
|
+
tenantId?: string | undefined;
|
|
698
698
|
agenticUserId?: string | undefined;
|
|
699
699
|
agenticAppId?: string | undefined;
|
|
700
700
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -708,8 +708,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
708
708
|
recipient?: {
|
|
709
709
|
id?: string | undefined;
|
|
710
710
|
name?: string | undefined;
|
|
711
|
-
tenantId?: string | undefined;
|
|
712
711
|
aadObjectId?: string | undefined;
|
|
712
|
+
tenantId?: string | undefined;
|
|
713
713
|
agenticUserId?: string | undefined;
|
|
714
714
|
agenticAppId?: string | undefined;
|
|
715
715
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -721,8 +721,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
721
721
|
membersAdded?: {
|
|
722
722
|
id?: string | undefined;
|
|
723
723
|
name?: string | undefined;
|
|
724
|
-
tenantId?: string | undefined;
|
|
725
724
|
aadObjectId?: string | undefined;
|
|
725
|
+
tenantId?: string | undefined;
|
|
726
726
|
agenticUserId?: string | undefined;
|
|
727
727
|
agenticAppId?: string | undefined;
|
|
728
728
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -732,8 +732,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
732
732
|
membersRemoved?: {
|
|
733
733
|
id?: string | undefined;
|
|
734
734
|
name?: string | undefined;
|
|
735
|
-
tenantId?: string | undefined;
|
|
736
735
|
aadObjectId?: string | undefined;
|
|
736
|
+
tenantId?: string | undefined;
|
|
737
737
|
agenticUserId?: string | undefined;
|
|
738
738
|
agenticAppId?: string | undefined;
|
|
739
739
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -779,8 +779,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
779
779
|
conversation: {
|
|
780
780
|
id: string;
|
|
781
781
|
name?: string | undefined;
|
|
782
|
-
tenantId?: string | undefined;
|
|
783
782
|
aadObjectId?: string | undefined;
|
|
783
|
+
tenantId?: string | undefined;
|
|
784
784
|
role?: string | undefined;
|
|
785
785
|
properties?: unknown;
|
|
786
786
|
isGroup?: boolean | undefined;
|
|
@@ -790,8 +790,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
790
790
|
user?: {
|
|
791
791
|
id?: string | undefined;
|
|
792
792
|
name?: string | undefined;
|
|
793
|
-
tenantId?: string | undefined;
|
|
794
793
|
aadObjectId?: string | undefined;
|
|
794
|
+
tenantId?: string | undefined;
|
|
795
795
|
agenticUserId?: string | undefined;
|
|
796
796
|
agenticAppId?: string | undefined;
|
|
797
797
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -803,8 +803,8 @@ export declare const activityZodSchema: z.ZodObject<{
|
|
|
803
803
|
agent?: {
|
|
804
804
|
id?: string | undefined;
|
|
805
805
|
name?: string | undefined;
|
|
806
|
-
tenantId?: string | undefined;
|
|
807
806
|
aadObjectId?: string | undefined;
|
|
807
|
+
tenantId?: string | undefined;
|
|
808
808
|
agenticUserId?: string | undefined;
|
|
809
809
|
agenticAppId?: string | undefined;
|
|
810
810
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { z } from 'zod';
|
|
6
5
|
/**
|
|
7
6
|
* Enum representing treatment types for the activity.
|
|
8
7
|
*/
|
|
@@ -13,7 +12,3 @@ export declare enum ActivityTreatments {
|
|
|
13
12
|
*/
|
|
14
13
|
Targeted = "targeted"
|
|
15
14
|
}
|
|
16
|
-
/**
|
|
17
|
-
* Zod schema for validating an ActivityTreatments enum.
|
|
18
|
-
*/
|
|
19
|
-
export declare const activityTreatments: z.ZodNativeEnum<typeof ActivityTreatments>;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
const zod_1 = require("zod");
|
|
7
|
+
exports.ActivityTreatments = void 0;
|
|
9
8
|
/**
|
|
10
9
|
* Enum representing treatment types for the activity.
|
|
11
10
|
*/
|
|
@@ -17,8 +16,4 @@ var ActivityTreatments;
|
|
|
17
16
|
*/
|
|
18
17
|
ActivityTreatments["Targeted"] = "targeted";
|
|
19
18
|
})(ActivityTreatments || (exports.ActivityTreatments = ActivityTreatments = {}));
|
|
20
|
-
/**
|
|
21
|
-
* Zod schema for validating an ActivityTreatments enum.
|
|
22
|
-
*/
|
|
23
|
-
exports.activityTreatments = zod_1.z.nativeEnum(ActivityTreatments);
|
|
24
19
|
//# sourceMappingURL=activityTreatments.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityTreatments.js","sourceRoot":"","sources":["../../src/activityTreatments.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH
|
|
1
|
+
{"version":3,"file":"activityTreatments.js","sourceRoot":"","sources":["../../src/activityTreatments.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B;;;OAGG;IACH,2CAAqB,CAAA;AACvB,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B"}
|
|
@@ -66,8 +66,8 @@ export declare const channelAccountZodSchema: z.ZodObject<{
|
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
id?: string | undefined;
|
|
68
68
|
name?: string | undefined;
|
|
69
|
-
tenantId?: string | undefined;
|
|
70
69
|
aadObjectId?: string | undefined;
|
|
70
|
+
tenantId?: string | undefined;
|
|
71
71
|
agenticUserId?: string | undefined;
|
|
72
72
|
agenticAppId?: string | undefined;
|
|
73
73
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -76,8 +76,8 @@ export declare const channelAccountZodSchema: z.ZodObject<{
|
|
|
76
76
|
}, {
|
|
77
77
|
id?: string | undefined;
|
|
78
78
|
name?: string | undefined;
|
|
79
|
-
tenantId?: string | undefined;
|
|
80
79
|
aadObjectId?: string | undefined;
|
|
80
|
+
tenantId?: string | undefined;
|
|
81
81
|
agenticUserId?: string | undefined;
|
|
82
82
|
agenticAppId?: string | undefined;
|
|
83
83
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -56,8 +56,8 @@ export declare const conversationAccountZodSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
id: string;
|
|
58
58
|
name?: string | undefined;
|
|
59
|
-
tenantId?: string | undefined;
|
|
60
59
|
aadObjectId?: string | undefined;
|
|
60
|
+
tenantId?: string | undefined;
|
|
61
61
|
role?: string | undefined;
|
|
62
62
|
properties?: unknown;
|
|
63
63
|
isGroup?: boolean | undefined;
|
|
@@ -65,8 +65,8 @@ export declare const conversationAccountZodSchema: z.ZodObject<{
|
|
|
65
65
|
}, {
|
|
66
66
|
id: string;
|
|
67
67
|
name?: string | undefined;
|
|
68
|
-
tenantId?: string | undefined;
|
|
69
68
|
aadObjectId?: string | undefined;
|
|
69
|
+
tenantId?: string | undefined;
|
|
70
70
|
role?: string | undefined;
|
|
71
71
|
properties?: unknown;
|
|
72
72
|
isGroup?: boolean | undefined;
|
|
@@ -56,8 +56,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
id?: string | undefined;
|
|
58
58
|
name?: string | undefined;
|
|
59
|
-
tenantId?: string | undefined;
|
|
60
59
|
aadObjectId?: string | undefined;
|
|
60
|
+
tenantId?: string | undefined;
|
|
61
61
|
agenticUserId?: string | undefined;
|
|
62
62
|
agenticAppId?: string | undefined;
|
|
63
63
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -66,8 +66,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
66
66
|
}, {
|
|
67
67
|
id?: string | undefined;
|
|
68
68
|
name?: string | undefined;
|
|
69
|
-
tenantId?: string | undefined;
|
|
70
69
|
aadObjectId?: string | undefined;
|
|
70
|
+
tenantId?: string | undefined;
|
|
71
71
|
agenticUserId?: string | undefined;
|
|
72
72
|
agenticAppId?: string | undefined;
|
|
73
73
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -88,8 +88,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
id?: string | undefined;
|
|
90
90
|
name?: string | undefined;
|
|
91
|
-
tenantId?: string | undefined;
|
|
92
91
|
aadObjectId?: string | undefined;
|
|
92
|
+
tenantId?: string | undefined;
|
|
93
93
|
agenticUserId?: string | undefined;
|
|
94
94
|
agenticAppId?: string | undefined;
|
|
95
95
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -98,8 +98,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
98
98
|
}, {
|
|
99
99
|
id?: string | undefined;
|
|
100
100
|
name?: string | undefined;
|
|
101
|
-
tenantId?: string | undefined;
|
|
102
101
|
aadObjectId?: string | undefined;
|
|
102
|
+
tenantId?: string | undefined;
|
|
103
103
|
agenticUserId?: string | undefined;
|
|
104
104
|
agenticAppId?: string | undefined;
|
|
105
105
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -118,8 +118,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
id: string;
|
|
120
120
|
name?: string | undefined;
|
|
121
|
-
tenantId?: string | undefined;
|
|
122
121
|
aadObjectId?: string | undefined;
|
|
122
|
+
tenantId?: string | undefined;
|
|
123
123
|
role?: string | undefined;
|
|
124
124
|
properties?: unknown;
|
|
125
125
|
isGroup?: boolean | undefined;
|
|
@@ -127,8 +127,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
129
|
name?: string | undefined;
|
|
130
|
-
tenantId?: string | undefined;
|
|
131
130
|
aadObjectId?: string | undefined;
|
|
131
|
+
tenantId?: string | undefined;
|
|
132
132
|
role?: string | undefined;
|
|
133
133
|
properties?: unknown;
|
|
134
134
|
isGroup?: boolean | undefined;
|
|
@@ -140,8 +140,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
140
140
|
conversation: {
|
|
141
141
|
id: string;
|
|
142
142
|
name?: string | undefined;
|
|
143
|
-
tenantId?: string | undefined;
|
|
144
143
|
aadObjectId?: string | undefined;
|
|
144
|
+
tenantId?: string | undefined;
|
|
145
145
|
role?: string | undefined;
|
|
146
146
|
properties?: unknown;
|
|
147
147
|
isGroup?: boolean | undefined;
|
|
@@ -151,8 +151,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
151
151
|
user?: {
|
|
152
152
|
id?: string | undefined;
|
|
153
153
|
name?: string | undefined;
|
|
154
|
-
tenantId?: string | undefined;
|
|
155
154
|
aadObjectId?: string | undefined;
|
|
155
|
+
tenantId?: string | undefined;
|
|
156
156
|
agenticUserId?: string | undefined;
|
|
157
157
|
agenticAppId?: string | undefined;
|
|
158
158
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -164,8 +164,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
164
164
|
agent?: {
|
|
165
165
|
id?: string | undefined;
|
|
166
166
|
name?: string | undefined;
|
|
167
|
-
tenantId?: string | undefined;
|
|
168
167
|
aadObjectId?: string | undefined;
|
|
168
|
+
tenantId?: string | undefined;
|
|
169
169
|
agenticUserId?: string | undefined;
|
|
170
170
|
agenticAppId?: string | undefined;
|
|
171
171
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -177,8 +177,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
177
177
|
conversation: {
|
|
178
178
|
id: string;
|
|
179
179
|
name?: string | undefined;
|
|
180
|
-
tenantId?: string | undefined;
|
|
181
180
|
aadObjectId?: string | undefined;
|
|
181
|
+
tenantId?: string | undefined;
|
|
182
182
|
role?: string | undefined;
|
|
183
183
|
properties?: unknown;
|
|
184
184
|
isGroup?: boolean | undefined;
|
|
@@ -188,8 +188,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
188
188
|
user?: {
|
|
189
189
|
id?: string | undefined;
|
|
190
190
|
name?: string | undefined;
|
|
191
|
-
tenantId?: string | undefined;
|
|
192
191
|
aadObjectId?: string | undefined;
|
|
192
|
+
tenantId?: string | undefined;
|
|
193
193
|
agenticUserId?: string | undefined;
|
|
194
194
|
agenticAppId?: string | undefined;
|
|
195
195
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -201,8 +201,8 @@ export declare const conversationReferenceZodSchema: z.ZodObject<{
|
|
|
201
201
|
agent?: {
|
|
202
202
|
id?: string | undefined;
|
|
203
203
|
name?: string | undefined;
|
|
204
|
-
tenantId?: string | undefined;
|
|
205
204
|
aadObjectId?: string | undefined;
|
|
205
|
+
tenantId?: string | undefined;
|
|
206
206
|
agenticUserId?: string | undefined;
|
|
207
207
|
agenticAppId?: string | undefined;
|
|
208
208
|
agenticAppBlueprintId?: string | undefined;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { z } from 'zod';
|
|
6
5
|
import { MembershipSourceTypes } from './membershipSourceTypes';
|
|
7
6
|
import { MembershipTypes } from './membershipTypes';
|
|
8
7
|
/**
|
|
@@ -30,28 +29,3 @@ export interface MembershipSource {
|
|
|
30
29
|
*/
|
|
31
30
|
tenantId?: string;
|
|
32
31
|
}
|
|
33
|
-
/**
|
|
34
|
-
* Zod schema for validating a membership source.
|
|
35
|
-
*/
|
|
36
|
-
export declare const membershipSourceZodSchema: z.ZodObject<{
|
|
37
|
-
sourceType: z.ZodEnum<["channel", "team"]>;
|
|
38
|
-
id: z.ZodString;
|
|
39
|
-
name: z.ZodOptional<z.ZodString>;
|
|
40
|
-
membershipType: z.ZodEnum<["direct", "transitive"]>;
|
|
41
|
-
teamGroupId: z.ZodOptional<z.ZodString>;
|
|
42
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
id: string;
|
|
45
|
-
sourceType: "channel" | "team";
|
|
46
|
-
membershipType: "direct" | "transitive";
|
|
47
|
-
name?: string | undefined;
|
|
48
|
-
teamGroupId?: string | undefined;
|
|
49
|
-
tenantId?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
id: string;
|
|
52
|
-
sourceType: "channel" | "team";
|
|
53
|
-
membershipType: "direct" | "transitive";
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
teamGroupId?: string | undefined;
|
|
56
|
-
tenantId?: string | undefined;
|
|
57
|
-
}>;
|
|
@@ -4,19 +4,4 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.membershipSourceZodSchema = void 0;
|
|
8
|
-
const zod_1 = require("zod");
|
|
9
|
-
const membershipSourceTypes_1 = require("./membershipSourceTypes");
|
|
10
|
-
const membershipTypes_1 = require("./membershipTypes");
|
|
11
|
-
/**
|
|
12
|
-
* Zod schema for validating a membership source.
|
|
13
|
-
*/
|
|
14
|
-
exports.membershipSourceZodSchema = zod_1.z.object({
|
|
15
|
-
sourceType: membershipSourceTypes_1.membershipSourceTypeZodSchema,
|
|
16
|
-
id: zod_1.z.string().min(1),
|
|
17
|
-
name: zod_1.z.string().optional(),
|
|
18
|
-
membershipType: membershipTypes_1.membershipTypeZodSchema,
|
|
19
|
-
teamGroupId: zod_1.z.string().min(1).optional(),
|
|
20
|
-
tenantId: zod_1.z.string().min(1).optional(),
|
|
21
|
-
});
|
|
22
7
|
//# sourceMappingURL=membershipSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membershipSource.js","sourceRoot":"","sources":["../../../src/conversation/membershipSource.ts"],"names":[],"mappings":";AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"membershipSource.js","sourceRoot":"","sources":["../../../src/conversation/membershipSource.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { z } from 'zod';
|
|
6
5
|
/**
|
|
7
6
|
* Enum defining the type of roster the user is a member of.
|
|
8
7
|
*/
|
|
@@ -16,7 +15,3 @@ export declare enum MembershipSourceTypes {
|
|
|
16
15
|
*/
|
|
17
16
|
Team = "team"
|
|
18
17
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Zod schema for validating membership source types.
|
|
21
|
-
*/
|
|
22
|
-
export declare const membershipSourceTypeZodSchema: z.ZodEnum<["channel", "team"]>;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
const zod_1 = require("zod");
|
|
7
|
+
exports.MembershipSourceTypes = void 0;
|
|
9
8
|
/**
|
|
10
9
|
* Enum defining the type of roster the user is a member of.
|
|
11
10
|
*/
|
|
@@ -20,8 +19,4 @@ var MembershipSourceTypes;
|
|
|
20
19
|
*/
|
|
21
20
|
MembershipSourceTypes["Team"] = "team";
|
|
22
21
|
})(MembershipSourceTypes || (exports.MembershipSourceTypes = MembershipSourceTypes = {}));
|
|
23
|
-
/**
|
|
24
|
-
* Zod schema for validating membership source types.
|
|
25
|
-
*/
|
|
26
|
-
exports.membershipSourceTypeZodSchema = zod_1.z.enum(['channel', 'team']);
|
|
27
22
|
//# sourceMappingURL=membershipSourceTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membershipSourceTypes.js","sourceRoot":"","sources":["../../../src/conversation/membershipSourceTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH
|
|
1
|
+
{"version":3,"file":"membershipSourceTypes.js","sourceRoot":"","sources":["../../../src/conversation/membershipSourceTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,qBAUX;AAVD,WAAY,qBAAqB;IAC/B;;OAEG;IACH,4CAAmB,CAAA;IAEnB;;OAEG;IACH,sCAAa,CAAA;AACf,CAAC,EAVW,qBAAqB,qCAArB,qBAAqB,QAUhC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright(c) Microsoft Corporation.All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { z } from 'zod';
|
|
6
5
|
/**
|
|
7
6
|
* Enum expressing the users relationship to the current channel.
|
|
8
7
|
*/
|
|
@@ -16,7 +15,3 @@ export declare enum MembershipTypes {
|
|
|
16
15
|
*/
|
|
17
16
|
Transitive = "transitive"
|
|
18
17
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Zod schema for validating membership source types.
|
|
21
|
-
*/
|
|
22
|
-
export declare const membershipTypeZodSchema: z.ZodEnum<["direct", "transitive"]>;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
const zod_1 = require("zod");
|
|
7
|
+
exports.MembershipTypes = void 0;
|
|
9
8
|
/**
|
|
10
9
|
* Enum expressing the users relationship to the current channel.
|
|
11
10
|
*/
|
|
@@ -20,8 +19,4 @@ var MembershipTypes;
|
|
|
20
19
|
*/
|
|
21
20
|
MembershipTypes["Transitive"] = "transitive";
|
|
22
21
|
})(MembershipTypes || (exports.MembershipTypes = MembershipTypes = {}));
|
|
23
|
-
/**
|
|
24
|
-
* Zod schema for validating membership source types.
|
|
25
|
-
*/
|
|
26
|
-
exports.membershipTypeZodSchema = zod_1.z.enum(['direct', 'transitive']);
|
|
27
22
|
//# sourceMappingURL=membershipTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membershipTypes.js","sourceRoot":"","sources":["../../../src/conversation/membershipTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH
|
|
1
|
+
{"version":3,"file":"membershipTypes.js","sourceRoot":"","sources":["../../../src/conversation/membershipTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,eAUX;AAVD,WAAY,eAAe;IACzB;;OAEG;IACH,oCAAiB,CAAA;IAEjB;;OAEG;IACH,4CAAyB,CAAA;AAC3B,CAAC,EAVW,eAAe,+BAAf,eAAe,QAU1B"}
|
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import { Activity } from '../activity';
|
|
6
|
-
import { Entity } from './entity';
|
|
7
|
-
export interface ProductInfo extends Entity {
|
|
8
|
-
type: 'ProductInfo';
|
|
9
|
-
id: string;
|
|
10
|
-
}
|
|
11
6
|
/**
|
|
12
7
|
* Remove any ProductInfo entities from the activity
|
|
13
8
|
* @param activity
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@microsoft/agents-activity",
|
|
4
|
-
"version": "1.3.0-beta.
|
|
4
|
+
"version": "1.3.0-beta.39.gaaa34c719a",
|
|
5
5
|
"homepage": "https://github.com/microsoft/Agents-for-js",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { z } from 'zod'
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* Enum representing treatment types for the activity.
|
|
10
8
|
*/
|
|
@@ -15,8 +13,3 @@ export enum ActivityTreatments {
|
|
|
15
13
|
*/
|
|
16
14
|
Targeted = 'targeted',
|
|
17
15
|
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Zod schema for validating an ActivityTreatments enum.
|
|
21
|
-
*/
|
|
22
|
-
export const activityTreatments = z.nativeEnum(ActivityTreatments)
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { MembershipTypes, membershipTypeZodSchema } from './membershipTypes'
|
|
6
|
+
import { MembershipSourceTypes } from './membershipSourceTypes'
|
|
7
|
+
import { MembershipTypes } from './membershipTypes'
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Interface representing a membership source.
|
|
@@ -36,15 +35,3 @@ export interface MembershipSource {
|
|
|
36
35
|
*/
|
|
37
36
|
tenantId?: string
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Zod schema for validating a membership source.
|
|
42
|
-
*/
|
|
43
|
-
export const membershipSourceZodSchema = z.object({
|
|
44
|
-
sourceType: membershipSourceTypeZodSchema,
|
|
45
|
-
id: z.string().min(1),
|
|
46
|
-
name: z.string().optional(),
|
|
47
|
-
membershipType: membershipTypeZodSchema,
|
|
48
|
-
teamGroupId: z.string().min(1).optional(),
|
|
49
|
-
tenantId: z.string().min(1).optional(),
|
|
50
|
-
})
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { z } from 'zod'
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* Enum defining the type of roster the user is a member of.
|
|
10
8
|
*/
|
|
@@ -19,8 +17,3 @@ export enum MembershipSourceTypes {
|
|
|
19
17
|
*/
|
|
20
18
|
Team = 'team',
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Zod schema for validating membership source types.
|
|
25
|
-
*/
|
|
26
|
-
export const membershipSourceTypeZodSchema = z.enum(['channel', 'team'])
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { z } from 'zod'
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* Enum expressing the users relationship to the current channel.
|
|
10
8
|
*/
|
|
@@ -19,8 +17,3 @@ export enum MembershipTypes {
|
|
|
19
17
|
*/
|
|
20
18
|
Transitive = 'transitive',
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Zod schema for validating membership source types.
|
|
25
|
-
*/
|
|
26
|
-
export const membershipTypeZodSchema = z.enum(['direct', 'transitive'])
|