syllable-sdk 1.0.7-rc.3 → 1.0.7-rc.4
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/bin/mcp-server.js +16 -24
- package/bin/mcp-server.js.map +7 -7
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/directory/README.md +8 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/directorymember.d.ts +13 -4
- package/models/components/directorymember.d.ts.map +1 -1
- package/models/components/directorymember.js +4 -4
- package/models/components/directorymember.js.map +1 -1
- package/models/components/directorymembercreate.d.ts +3 -4
- package/models/components/directorymembercreate.d.ts.map +1 -1
- package/models/components/directorymembercreate.js +0 -8
- package/models/components/directorymembercreate.js.map +1 -1
- package/openapi.json +64 -77
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/directorymember.ts +17 -10
- package/src/models/components/directorymembercreate.ts +3 -14
package/openapi.json
CHANGED
|
@@ -13707,7 +13707,7 @@
|
|
|
13707
13707
|
"title": "Batch Id",
|
|
13708
13708
|
"description": "Unique ID for conversation batch",
|
|
13709
13709
|
"examples": [
|
|
13710
|
-
"
|
|
13710
|
+
"20251028.9"
|
|
13711
13711
|
]
|
|
13712
13712
|
},
|
|
13713
13713
|
"campaign_id": {
|
|
@@ -13731,7 +13731,7 @@
|
|
|
13731
13731
|
"title": "Expires On",
|
|
13732
13732
|
"description": "Timestamp of batch expiration",
|
|
13733
13733
|
"examples": [
|
|
13734
|
-
"2025-10-
|
|
13734
|
+
"2025-10-29T00:00:00Z"
|
|
13735
13735
|
]
|
|
13736
13736
|
},
|
|
13737
13737
|
"paused": {
|
|
@@ -13784,7 +13784,7 @@
|
|
|
13784
13784
|
"title": "Created At",
|
|
13785
13785
|
"description": "Timestamp of batch creation",
|
|
13786
13786
|
"examples": [
|
|
13787
|
-
"2025-10-
|
|
13787
|
+
"2025-10-28T00:00:00Z"
|
|
13788
13788
|
]
|
|
13789
13789
|
},
|
|
13790
13790
|
"deleted_at": {
|
|
@@ -13800,7 +13800,7 @@
|
|
|
13800
13800
|
"title": "Deleted At",
|
|
13801
13801
|
"description": "Timestamp of batch deletion",
|
|
13802
13802
|
"examples": [
|
|
13803
|
-
"2025-10-
|
|
13803
|
+
"2025-10-28T00:00:00Z"
|
|
13804
13804
|
]
|
|
13805
13805
|
},
|
|
13806
13806
|
"deleted_reason": {
|
|
@@ -13831,7 +13831,7 @@
|
|
|
13831
13831
|
"title": "Last Updated At",
|
|
13832
13832
|
"description": "Timestamp of last change to batch",
|
|
13833
13833
|
"examples": [
|
|
13834
|
-
"2025-10-
|
|
13834
|
+
"2025-10-28T00:00:00Z"
|
|
13835
13835
|
]
|
|
13836
13836
|
},
|
|
13837
13837
|
"last_updated_by": {
|
|
@@ -14587,7 +14587,7 @@
|
|
|
14587
14587
|
"title": "Batch Id",
|
|
14588
14588
|
"description": "Unique ID for conversation batch",
|
|
14589
14589
|
"examples": [
|
|
14590
|
-
"
|
|
14590
|
+
"20251028.9"
|
|
14591
14591
|
]
|
|
14592
14592
|
},
|
|
14593
14593
|
"campaign_id": {
|
|
@@ -14611,7 +14611,7 @@
|
|
|
14611
14611
|
"title": "Expires On",
|
|
14612
14612
|
"description": "Timestamp of batch expiration",
|
|
14613
14613
|
"examples": [
|
|
14614
|
-
"2025-10-
|
|
14614
|
+
"2025-10-29T00:00:00Z"
|
|
14615
14615
|
]
|
|
14616
14616
|
},
|
|
14617
14617
|
"paused": {
|
|
@@ -14664,7 +14664,7 @@
|
|
|
14664
14664
|
"title": "Created At",
|
|
14665
14665
|
"description": "Timestamp of batch creation",
|
|
14666
14666
|
"examples": [
|
|
14667
|
-
"2025-10-
|
|
14667
|
+
"2025-10-28T00:00:00Z"
|
|
14668
14668
|
]
|
|
14669
14669
|
},
|
|
14670
14670
|
"deleted_at": {
|
|
@@ -14680,7 +14680,7 @@
|
|
|
14680
14680
|
"title": "Deleted At",
|
|
14681
14681
|
"description": "Timestamp of batch deletion",
|
|
14682
14682
|
"examples": [
|
|
14683
|
-
"2025-10-
|
|
14683
|
+
"2025-10-28T00:00:00Z"
|
|
14684
14684
|
]
|
|
14685
14685
|
},
|
|
14686
14686
|
"deleted_reason": {
|
|
@@ -14711,7 +14711,7 @@
|
|
|
14711
14711
|
"title": "Last Updated At",
|
|
14712
14712
|
"description": "Timestamp of last change to batch",
|
|
14713
14713
|
"examples": [
|
|
14714
|
-
"2025-10-
|
|
14714
|
+
"2025-10-28T00:00:00Z"
|
|
14715
14715
|
]
|
|
14716
14716
|
},
|
|
14717
14717
|
"last_updated_by": {
|
|
@@ -14754,7 +14754,7 @@
|
|
|
14754
14754
|
"title": "Batch Id",
|
|
14755
14755
|
"description": "Unique ID for conversation batch",
|
|
14756
14756
|
"examples": [
|
|
14757
|
-
"
|
|
14757
|
+
"20251028.9"
|
|
14758
14758
|
]
|
|
14759
14759
|
},
|
|
14760
14760
|
"campaign_id": {
|
|
@@ -14778,7 +14778,7 @@
|
|
|
14778
14778
|
"title": "Expires On",
|
|
14779
14779
|
"description": "Timestamp of batch expiration",
|
|
14780
14780
|
"examples": [
|
|
14781
|
-
"2025-10-
|
|
14781
|
+
"2025-10-29T00:00:00Z"
|
|
14782
14782
|
]
|
|
14783
14783
|
},
|
|
14784
14784
|
"paused": {
|
|
@@ -14927,7 +14927,7 @@
|
|
|
14927
14927
|
"title": "Created At",
|
|
14928
14928
|
"description": "Timestamp of request creation",
|
|
14929
14929
|
"examples": [
|
|
14930
|
-
"2025-10-
|
|
14930
|
+
"2025-10-27T00:00:00Z"
|
|
14931
14931
|
]
|
|
14932
14932
|
},
|
|
14933
14933
|
"sent_at": {
|
|
@@ -14943,7 +14943,7 @@
|
|
|
14943
14943
|
"title": "Sent At",
|
|
14944
14944
|
"description": "Timestamp at which request was sent",
|
|
14945
14945
|
"examples": [
|
|
14946
|
-
"2025-10-
|
|
14946
|
+
"2025-10-28T00:00:00Z"
|
|
14947
14947
|
]
|
|
14948
14948
|
},
|
|
14949
14949
|
"attempt_count": {
|
|
@@ -16516,20 +16516,37 @@
|
|
|
16516
16516
|
}
|
|
16517
16517
|
],
|
|
16518
16518
|
"title": "Contact Tags",
|
|
16519
|
-
"description": ""
|
|
16519
|
+
"description": "Tags for the directory member",
|
|
16520
|
+
"examples": [
|
|
16521
|
+
{
|
|
16522
|
+
"tag1": "value1",
|
|
16523
|
+
"tag2": "value2"
|
|
16524
|
+
}
|
|
16525
|
+
]
|
|
16520
16526
|
},
|
|
16521
|
-
"
|
|
16527
|
+
"id": {
|
|
16522
16528
|
"anyOf": [
|
|
16523
16529
|
{
|
|
16524
|
-
"type": "
|
|
16525
|
-
"format": "date-time"
|
|
16530
|
+
"type": "integer"
|
|
16526
16531
|
},
|
|
16527
16532
|
{
|
|
16528
16533
|
"type": "null"
|
|
16529
16534
|
}
|
|
16530
16535
|
],
|
|
16536
|
+
"title": "Id",
|
|
16537
|
+
"description": "Internal ID of the directory member",
|
|
16538
|
+
"examples": [
|
|
16539
|
+
1
|
|
16540
|
+
]
|
|
16541
|
+
},
|
|
16542
|
+
"updated_at": {
|
|
16543
|
+
"type": "string",
|
|
16544
|
+
"format": "date-time",
|
|
16531
16545
|
"title": "Updated At",
|
|
16532
|
-
"description": ""
|
|
16546
|
+
"description": "Timestamp of most recent update",
|
|
16547
|
+
"examples": [
|
|
16548
|
+
"2024-01-01T00:00:00Z"
|
|
16549
|
+
]
|
|
16533
16550
|
},
|
|
16534
16551
|
"last_updated_by": {
|
|
16535
16552
|
"anyOf": [
|
|
@@ -16541,28 +16558,17 @@
|
|
|
16541
16558
|
}
|
|
16542
16559
|
],
|
|
16543
16560
|
"title": "Last Updated By",
|
|
16544
|
-
"description": ""
|
|
16545
|
-
},
|
|
16546
|
-
"id": {
|
|
16547
|
-
"anyOf": [
|
|
16548
|
-
{
|
|
16549
|
-
"type": "integer"
|
|
16550
|
-
},
|
|
16551
|
-
{
|
|
16552
|
-
"type": "null"
|
|
16553
|
-
}
|
|
16554
|
-
],
|
|
16555
|
-
"title": "Id",
|
|
16556
|
-
"description": "Internal ID of the directory member",
|
|
16561
|
+
"description": "Email of the user who last updated the directory member",
|
|
16557
16562
|
"examples": [
|
|
16558
|
-
|
|
16563
|
+
"user@email.com"
|
|
16559
16564
|
]
|
|
16560
16565
|
}
|
|
16561
16566
|
},
|
|
16562
16567
|
"type": "object",
|
|
16563
16568
|
"required": [
|
|
16564
16569
|
"name",
|
|
16565
|
-
"type"
|
|
16570
|
+
"type",
|
|
16571
|
+
"updated_at"
|
|
16566
16572
|
],
|
|
16567
16573
|
"title": "DirectoryMember",
|
|
16568
16574
|
"description": "Model for a directory member (i.e. a contact)."
|
|
@@ -16627,32 +16633,13 @@
|
|
|
16627
16633
|
}
|
|
16628
16634
|
],
|
|
16629
16635
|
"title": "Contact Tags",
|
|
16630
|
-
"description": ""
|
|
16631
|
-
|
|
16632
|
-
"updated_at": {
|
|
16633
|
-
"anyOf": [
|
|
16634
|
-
{
|
|
16635
|
-
"type": "string",
|
|
16636
|
-
"format": "date-time"
|
|
16637
|
-
},
|
|
16638
|
-
{
|
|
16639
|
-
"type": "null"
|
|
16640
|
-
}
|
|
16641
|
-
],
|
|
16642
|
-
"title": "Updated At",
|
|
16643
|
-
"description": ""
|
|
16644
|
-
},
|
|
16645
|
-
"last_updated_by": {
|
|
16646
|
-
"anyOf": [
|
|
16647
|
-
{
|
|
16648
|
-
"type": "string"
|
|
16649
|
-
},
|
|
16636
|
+
"description": "Tags for the directory member",
|
|
16637
|
+
"examples": [
|
|
16650
16638
|
{
|
|
16651
|
-
"
|
|
16639
|
+
"tag1": "value1",
|
|
16640
|
+
"tag2": "value2"
|
|
16652
16641
|
}
|
|
16653
|
-
]
|
|
16654
|
-
"title": "Last Updated By",
|
|
16655
|
-
"description": ""
|
|
16642
|
+
]
|
|
16656
16643
|
}
|
|
16657
16644
|
},
|
|
16658
16645
|
"type": "object",
|
|
@@ -16885,7 +16872,7 @@
|
|
|
16885
16872
|
"title": "Created At",
|
|
16886
16873
|
"description": "Timestamp at which insight upload folder was created",
|
|
16887
16874
|
"examples": [
|
|
16888
|
-
"2025-10-
|
|
16875
|
+
"2025-10-27T00:00:00Z"
|
|
16889
16876
|
]
|
|
16890
16877
|
},
|
|
16891
16878
|
"updated_at": {
|
|
@@ -16894,7 +16881,7 @@
|
|
|
16894
16881
|
"title": "Updated At",
|
|
16895
16882
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16896
16883
|
"examples": [
|
|
16897
|
-
"2025-10-
|
|
16884
|
+
"2025-10-28T00:00:00Z"
|
|
16898
16885
|
]
|
|
16899
16886
|
},
|
|
16900
16887
|
"last_updated_by": {
|
|
@@ -17580,7 +17567,7 @@
|
|
|
17580
17567
|
"title": "Created At",
|
|
17581
17568
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
17582
17569
|
"examples": [
|
|
17583
|
-
"2025-10-
|
|
17570
|
+
"2025-10-27T00:00:00Z"
|
|
17584
17571
|
]
|
|
17585
17572
|
},
|
|
17586
17573
|
"updated_at": {
|
|
@@ -17589,7 +17576,7 @@
|
|
|
17589
17576
|
"title": "Updated At",
|
|
17590
17577
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
17591
17578
|
"examples": [
|
|
17592
|
-
"2025-10-
|
|
17579
|
+
"2025-10-28T00:00:00Z"
|
|
17593
17580
|
]
|
|
17594
17581
|
},
|
|
17595
17582
|
"last_updated_by": {
|
|
@@ -17970,7 +17957,7 @@
|
|
|
17970
17957
|
"title": "Start Datetime",
|
|
17971
17958
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17972
17959
|
"examples": [
|
|
17973
|
-
"2025-10-
|
|
17960
|
+
"2025-10-27T00:00:00Z"
|
|
17974
17961
|
]
|
|
17975
17962
|
},
|
|
17976
17963
|
"end_datetime": {
|
|
@@ -17986,7 +17973,7 @@
|
|
|
17986
17973
|
"title": "End Datetime",
|
|
17987
17974
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17988
17975
|
"examples": [
|
|
17989
|
-
"2025-10-
|
|
17976
|
+
"2025-10-28T00:00:00Z"
|
|
17990
17977
|
]
|
|
17991
17978
|
}
|
|
17992
17979
|
},
|
|
@@ -18061,7 +18048,7 @@
|
|
|
18061
18048
|
"title": "Start Datetime",
|
|
18062
18049
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
18063
18050
|
"examples": [
|
|
18064
|
-
"2025-10-
|
|
18051
|
+
"2025-10-27T00:00:00Z"
|
|
18065
18052
|
]
|
|
18066
18053
|
},
|
|
18067
18054
|
"end_datetime": {
|
|
@@ -18077,7 +18064,7 @@
|
|
|
18077
18064
|
"title": "End Datetime",
|
|
18078
18065
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
18079
18066
|
"examples": [
|
|
18080
|
-
"2025-10-
|
|
18067
|
+
"2025-10-28T00:00:00Z"
|
|
18081
18068
|
]
|
|
18082
18069
|
},
|
|
18083
18070
|
"id": {
|
|
@@ -18130,7 +18117,7 @@
|
|
|
18130
18117
|
"title": "Created At",
|
|
18131
18118
|
"description": "Timestamp at which the insight workflow was created",
|
|
18132
18119
|
"examples": [
|
|
18133
|
-
"2025-10-
|
|
18120
|
+
"2025-10-27T00:00:00Z"
|
|
18134
18121
|
]
|
|
18135
18122
|
},
|
|
18136
18123
|
"updated_at": {
|
|
@@ -18139,7 +18126,7 @@
|
|
|
18139
18126
|
"title": "Updated At",
|
|
18140
18127
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
18141
18128
|
"examples": [
|
|
18142
|
-
"2025-10-
|
|
18129
|
+
"2025-10-28T00:00:00Z"
|
|
18143
18130
|
]
|
|
18144
18131
|
},
|
|
18145
18132
|
"last_updated_by": {
|
|
@@ -18235,7 +18222,7 @@
|
|
|
18235
18222
|
"title": "Created At",
|
|
18236
18223
|
"description": "Timestamp at which insight upload folder was created",
|
|
18237
18224
|
"examples": [
|
|
18238
|
-
"2025-10-
|
|
18225
|
+
"2025-10-27T00:00:00Z"
|
|
18239
18226
|
]
|
|
18240
18227
|
},
|
|
18241
18228
|
"updated_at": {
|
|
@@ -18244,7 +18231,7 @@
|
|
|
18244
18231
|
"title": "Updated At",
|
|
18245
18232
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18246
18233
|
"examples": [
|
|
18247
|
-
"2025-10-
|
|
18234
|
+
"2025-10-28T00:00:00Z"
|
|
18248
18235
|
]
|
|
18249
18236
|
},
|
|
18250
18237
|
"last_updated_by": {
|
|
@@ -18479,7 +18466,7 @@
|
|
|
18479
18466
|
"title": "Created At",
|
|
18480
18467
|
"description": "Timestamp at which insight tool result was created",
|
|
18481
18468
|
"examples": [
|
|
18482
|
-
"2025-10-
|
|
18469
|
+
"2025-10-27T00:00:00Z"
|
|
18483
18470
|
]
|
|
18484
18471
|
},
|
|
18485
18472
|
"updated_at": {
|
|
@@ -18488,7 +18475,7 @@
|
|
|
18488
18475
|
"title": "Updated At",
|
|
18489
18476
|
"description": "Timestamp at which insight tool result was last updated",
|
|
18490
18477
|
"examples": [
|
|
18491
|
-
"2025-10-
|
|
18478
|
+
"2025-10-28T00:00:00Z"
|
|
18492
18479
|
]
|
|
18493
18480
|
},
|
|
18494
18481
|
"upload_file_metadata": {
|
|
@@ -18633,7 +18620,7 @@
|
|
|
18633
18620
|
"title": "Start Time",
|
|
18634
18621
|
"description": "Start time of the uploaded file",
|
|
18635
18622
|
"examples": [
|
|
18636
|
-
"2025-10-
|
|
18623
|
+
"2025-10-27T00:00:00Z"
|
|
18637
18624
|
]
|
|
18638
18625
|
},
|
|
18639
18626
|
"end_time": {
|
|
@@ -18649,7 +18636,7 @@
|
|
|
18649
18636
|
"title": "End Time",
|
|
18650
18637
|
"description": "End time of the uploaded file",
|
|
18651
18638
|
"examples": [
|
|
18652
|
-
"2025-10-
|
|
18639
|
+
"2025-10-28T00:00:00Z"
|
|
18653
18640
|
]
|
|
18654
18641
|
},
|
|
18655
18642
|
"error_message": {
|
|
@@ -18704,7 +18691,7 @@
|
|
|
18704
18691
|
"title": "Created At",
|
|
18705
18692
|
"description": "Timestamp at which insight upload file was created",
|
|
18706
18693
|
"examples": [
|
|
18707
|
-
"2025-10-
|
|
18694
|
+
"2025-10-27T00:00:00Z"
|
|
18708
18695
|
]
|
|
18709
18696
|
}
|
|
18710
18697
|
},
|
|
@@ -21877,7 +21864,7 @@
|
|
|
21877
21864
|
"title": "Created At",
|
|
21878
21865
|
"description": "Timestamp of campaign creation",
|
|
21879
21866
|
"examples": [
|
|
21880
|
-
"2025-10-
|
|
21867
|
+
"2025-10-28T00:00:00Z"
|
|
21881
21868
|
]
|
|
21882
21869
|
},
|
|
21883
21870
|
"updated_at": {
|
|
@@ -21886,7 +21873,7 @@
|
|
|
21886
21873
|
"title": "Updated At",
|
|
21887
21874
|
"description": "Timestamp of campaign update",
|
|
21888
21875
|
"examples": [
|
|
21889
|
-
"2025-10-
|
|
21876
|
+
"2025-10-28T00:00:00Z"
|
|
21890
21877
|
]
|
|
21891
21878
|
},
|
|
21892
21879
|
"last_updated_by": {
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "1.0.7-rc.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.
|
|
64
|
+
sdkVersion: "1.0.7-rc.4",
|
|
65
|
+
genVersion: "2.731.4",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.7-rc.4 2.731.4 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -32,13 +32,22 @@ export type DirectoryMember = {
|
|
|
32
32
|
* List of extensions for the directory member
|
|
33
33
|
*/
|
|
34
34
|
extensions?: Array<DirectoryExtension> | null | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Tags for the directory member
|
|
37
|
+
*/
|
|
35
38
|
contactTags?: ContactTags | null | undefined;
|
|
36
|
-
updatedAt?: Date | null | undefined;
|
|
37
|
-
lastUpdatedBy?: string | null | undefined;
|
|
38
39
|
/**
|
|
39
40
|
* Internal ID of the directory member
|
|
40
41
|
*/
|
|
41
42
|
id?: number | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Timestamp of most recent update
|
|
45
|
+
*/
|
|
46
|
+
updatedAt: Date;
|
|
47
|
+
/**
|
|
48
|
+
* Email of the user who last updated the directory member
|
|
49
|
+
*/
|
|
50
|
+
lastUpdatedBy?: string | null | undefined;
|
|
42
51
|
};
|
|
43
52
|
|
|
44
53
|
/** @internal */
|
|
@@ -95,11 +104,9 @@ export const DirectoryMember$inboundSchema: z.ZodType<
|
|
|
95
104
|
type: z.string(),
|
|
96
105
|
extensions: z.nullable(z.array(DirectoryExtension$inboundSchema)).optional(),
|
|
97
106
|
contact_tags: z.nullable(z.lazy(() => ContactTags$inboundSchema)).optional(),
|
|
98
|
-
updated_at: z.nullable(
|
|
99
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
100
|
-
).optional(),
|
|
101
|
-
last_updated_by: z.nullable(z.string()).optional(),
|
|
102
107
|
id: z.nullable(z.number().int()).optional(),
|
|
108
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
109
|
+
last_updated_by: z.nullable(z.string()).optional(),
|
|
103
110
|
}).transform((v) => {
|
|
104
111
|
return remap$(v, {
|
|
105
112
|
"contact_tags": "contactTags",
|
|
@@ -114,9 +121,9 @@ export type DirectoryMember$Outbound = {
|
|
|
114
121
|
type: string;
|
|
115
122
|
extensions?: Array<DirectoryExtension$Outbound> | null | undefined;
|
|
116
123
|
contact_tags?: ContactTags$Outbound | null | undefined;
|
|
117
|
-
updated_at?: string | null | undefined;
|
|
118
|
-
last_updated_by?: string | null | undefined;
|
|
119
124
|
id?: number | null | undefined;
|
|
125
|
+
updated_at: string;
|
|
126
|
+
last_updated_by?: string | null | undefined;
|
|
120
127
|
};
|
|
121
128
|
|
|
122
129
|
/** @internal */
|
|
@@ -129,9 +136,9 @@ export const DirectoryMember$outboundSchema: z.ZodType<
|
|
|
129
136
|
type: z.string(),
|
|
130
137
|
extensions: z.nullable(z.array(DirectoryExtension$outboundSchema)).optional(),
|
|
131
138
|
contactTags: z.nullable(z.lazy(() => ContactTags$outboundSchema)).optional(),
|
|
132
|
-
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
133
|
-
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
134
139
|
id: z.nullable(z.number().int()).optional(),
|
|
140
|
+
updatedAt: z.date().transform(v => v.toISOString()),
|
|
141
|
+
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
135
142
|
}).transform((v) => {
|
|
136
143
|
return remap$(v, {
|
|
137
144
|
contactTags: "contact_tags",
|
|
@@ -32,9 +32,10 @@ export type DirectoryMemberCreate = {
|
|
|
32
32
|
* List of extensions for the directory member
|
|
33
33
|
*/
|
|
34
34
|
extensions?: Array<DirectoryExtension> | null | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Tags for the directory member
|
|
37
|
+
*/
|
|
35
38
|
contactTags?: DirectoryMemberCreateContactTags | null | undefined;
|
|
36
|
-
updatedAt?: Date | null | undefined;
|
|
37
|
-
lastUpdatedBy?: string | null | undefined;
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/** @internal */
|
|
@@ -99,15 +100,9 @@ export const DirectoryMemberCreate$inboundSchema: z.ZodType<
|
|
|
99
100
|
contact_tags: z.nullable(
|
|
100
101
|
z.lazy(() => DirectoryMemberCreateContactTags$inboundSchema),
|
|
101
102
|
).optional(),
|
|
102
|
-
updated_at: z.nullable(
|
|
103
|
-
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
104
|
-
).optional(),
|
|
105
|
-
last_updated_by: z.nullable(z.string()).optional(),
|
|
106
103
|
}).transform((v) => {
|
|
107
104
|
return remap$(v, {
|
|
108
105
|
"contact_tags": "contactTags",
|
|
109
|
-
"updated_at": "updatedAt",
|
|
110
|
-
"last_updated_by": "lastUpdatedBy",
|
|
111
106
|
});
|
|
112
107
|
});
|
|
113
108
|
|
|
@@ -117,8 +112,6 @@ export type DirectoryMemberCreate$Outbound = {
|
|
|
117
112
|
type: string;
|
|
118
113
|
extensions?: Array<DirectoryExtension$Outbound> | null | undefined;
|
|
119
114
|
contact_tags?: DirectoryMemberCreateContactTags$Outbound | null | undefined;
|
|
120
|
-
updated_at?: string | null | undefined;
|
|
121
|
-
last_updated_by?: string | null | undefined;
|
|
122
115
|
};
|
|
123
116
|
|
|
124
117
|
/** @internal */
|
|
@@ -133,13 +126,9 @@ export const DirectoryMemberCreate$outboundSchema: z.ZodType<
|
|
|
133
126
|
contactTags: z.nullable(
|
|
134
127
|
z.lazy(() => DirectoryMemberCreateContactTags$outboundSchema),
|
|
135
128
|
).optional(),
|
|
136
|
-
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
137
|
-
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
138
129
|
}).transform((v) => {
|
|
139
130
|
return remap$(v, {
|
|
140
131
|
contactTags: "contact_tags",
|
|
141
|
-
updatedAt: "updated_at",
|
|
142
|
-
lastUpdatedBy: "last_updated_by",
|
|
143
132
|
});
|
|
144
133
|
});
|
|
145
134
|
|