syllable-sdk 1.0.7-rc.2 → 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 +17 -24
- package/bin/mcp-server.js.map +8 -8
- 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/models/components/directorymemberproperties.d.ts +3 -0
- package/models/components/directorymemberproperties.d.ts.map +1 -1
- package/models/components/directorymemberproperties.js +1 -0
- package/models/components/directorymemberproperties.js.map +1 -1
- package/openapi.json +65 -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/src/models/components/directorymemberproperties.ts +1 -0
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",
|
|
@@ -16668,6 +16655,7 @@
|
|
|
16668
16655
|
"enum": [
|
|
16669
16656
|
"id",
|
|
16670
16657
|
"name",
|
|
16658
|
+
"name_exact",
|
|
16671
16659
|
"type",
|
|
16672
16660
|
"extensions",
|
|
16673
16661
|
"contact_tags",
|
|
@@ -16884,7 +16872,7 @@
|
|
|
16884
16872
|
"title": "Created At",
|
|
16885
16873
|
"description": "Timestamp at which insight upload folder was created",
|
|
16886
16874
|
"examples": [
|
|
16887
|
-
"2025-10-
|
|
16875
|
+
"2025-10-27T00:00:00Z"
|
|
16888
16876
|
]
|
|
16889
16877
|
},
|
|
16890
16878
|
"updated_at": {
|
|
@@ -16893,7 +16881,7 @@
|
|
|
16893
16881
|
"title": "Updated At",
|
|
16894
16882
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16895
16883
|
"examples": [
|
|
16896
|
-
"2025-10-
|
|
16884
|
+
"2025-10-28T00:00:00Z"
|
|
16897
16885
|
]
|
|
16898
16886
|
},
|
|
16899
16887
|
"last_updated_by": {
|
|
@@ -17579,7 +17567,7 @@
|
|
|
17579
17567
|
"title": "Created At",
|
|
17580
17568
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
17581
17569
|
"examples": [
|
|
17582
|
-
"2025-10-
|
|
17570
|
+
"2025-10-27T00:00:00Z"
|
|
17583
17571
|
]
|
|
17584
17572
|
},
|
|
17585
17573
|
"updated_at": {
|
|
@@ -17588,7 +17576,7 @@
|
|
|
17588
17576
|
"title": "Updated At",
|
|
17589
17577
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
17590
17578
|
"examples": [
|
|
17591
|
-
"2025-10-
|
|
17579
|
+
"2025-10-28T00:00:00Z"
|
|
17592
17580
|
]
|
|
17593
17581
|
},
|
|
17594
17582
|
"last_updated_by": {
|
|
@@ -17969,7 +17957,7 @@
|
|
|
17969
17957
|
"title": "Start Datetime",
|
|
17970
17958
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17971
17959
|
"examples": [
|
|
17972
|
-
"2025-10-
|
|
17960
|
+
"2025-10-27T00:00:00Z"
|
|
17973
17961
|
]
|
|
17974
17962
|
},
|
|
17975
17963
|
"end_datetime": {
|
|
@@ -17985,7 +17973,7 @@
|
|
|
17985
17973
|
"title": "End Datetime",
|
|
17986
17974
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17987
17975
|
"examples": [
|
|
17988
|
-
"2025-10-
|
|
17976
|
+
"2025-10-28T00:00:00Z"
|
|
17989
17977
|
]
|
|
17990
17978
|
}
|
|
17991
17979
|
},
|
|
@@ -18060,7 +18048,7 @@
|
|
|
18060
18048
|
"title": "Start Datetime",
|
|
18061
18049
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
18062
18050
|
"examples": [
|
|
18063
|
-
"2025-10-
|
|
18051
|
+
"2025-10-27T00:00:00Z"
|
|
18064
18052
|
]
|
|
18065
18053
|
},
|
|
18066
18054
|
"end_datetime": {
|
|
@@ -18076,7 +18064,7 @@
|
|
|
18076
18064
|
"title": "End Datetime",
|
|
18077
18065
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
18078
18066
|
"examples": [
|
|
18079
|
-
"2025-10-
|
|
18067
|
+
"2025-10-28T00:00:00Z"
|
|
18080
18068
|
]
|
|
18081
18069
|
},
|
|
18082
18070
|
"id": {
|
|
@@ -18129,7 +18117,7 @@
|
|
|
18129
18117
|
"title": "Created At",
|
|
18130
18118
|
"description": "Timestamp at which the insight workflow was created",
|
|
18131
18119
|
"examples": [
|
|
18132
|
-
"2025-10-
|
|
18120
|
+
"2025-10-27T00:00:00Z"
|
|
18133
18121
|
]
|
|
18134
18122
|
},
|
|
18135
18123
|
"updated_at": {
|
|
@@ -18138,7 +18126,7 @@
|
|
|
18138
18126
|
"title": "Updated At",
|
|
18139
18127
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
18140
18128
|
"examples": [
|
|
18141
|
-
"2025-10-
|
|
18129
|
+
"2025-10-28T00:00:00Z"
|
|
18142
18130
|
]
|
|
18143
18131
|
},
|
|
18144
18132
|
"last_updated_by": {
|
|
@@ -18234,7 +18222,7 @@
|
|
|
18234
18222
|
"title": "Created At",
|
|
18235
18223
|
"description": "Timestamp at which insight upload folder was created",
|
|
18236
18224
|
"examples": [
|
|
18237
|
-
"2025-10-
|
|
18225
|
+
"2025-10-27T00:00:00Z"
|
|
18238
18226
|
]
|
|
18239
18227
|
},
|
|
18240
18228
|
"updated_at": {
|
|
@@ -18243,7 +18231,7 @@
|
|
|
18243
18231
|
"title": "Updated At",
|
|
18244
18232
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18245
18233
|
"examples": [
|
|
18246
|
-
"2025-10-
|
|
18234
|
+
"2025-10-28T00:00:00Z"
|
|
18247
18235
|
]
|
|
18248
18236
|
},
|
|
18249
18237
|
"last_updated_by": {
|
|
@@ -18478,7 +18466,7 @@
|
|
|
18478
18466
|
"title": "Created At",
|
|
18479
18467
|
"description": "Timestamp at which insight tool result was created",
|
|
18480
18468
|
"examples": [
|
|
18481
|
-
"2025-10-
|
|
18469
|
+
"2025-10-27T00:00:00Z"
|
|
18482
18470
|
]
|
|
18483
18471
|
},
|
|
18484
18472
|
"updated_at": {
|
|
@@ -18487,7 +18475,7 @@
|
|
|
18487
18475
|
"title": "Updated At",
|
|
18488
18476
|
"description": "Timestamp at which insight tool result was last updated",
|
|
18489
18477
|
"examples": [
|
|
18490
|
-
"2025-10-
|
|
18478
|
+
"2025-10-28T00:00:00Z"
|
|
18491
18479
|
]
|
|
18492
18480
|
},
|
|
18493
18481
|
"upload_file_metadata": {
|
|
@@ -18632,7 +18620,7 @@
|
|
|
18632
18620
|
"title": "Start Time",
|
|
18633
18621
|
"description": "Start time of the uploaded file",
|
|
18634
18622
|
"examples": [
|
|
18635
|
-
"2025-10-
|
|
18623
|
+
"2025-10-27T00:00:00Z"
|
|
18636
18624
|
]
|
|
18637
18625
|
},
|
|
18638
18626
|
"end_time": {
|
|
@@ -18648,7 +18636,7 @@
|
|
|
18648
18636
|
"title": "End Time",
|
|
18649
18637
|
"description": "End time of the uploaded file",
|
|
18650
18638
|
"examples": [
|
|
18651
|
-
"2025-10-
|
|
18639
|
+
"2025-10-28T00:00:00Z"
|
|
18652
18640
|
]
|
|
18653
18641
|
},
|
|
18654
18642
|
"error_message": {
|
|
@@ -18703,7 +18691,7 @@
|
|
|
18703
18691
|
"title": "Created At",
|
|
18704
18692
|
"description": "Timestamp at which insight upload file was created",
|
|
18705
18693
|
"examples": [
|
|
18706
|
-
"2025-10-
|
|
18694
|
+
"2025-10-27T00:00:00Z"
|
|
18707
18695
|
]
|
|
18708
18696
|
}
|
|
18709
18697
|
},
|
|
@@ -21876,7 +21864,7 @@
|
|
|
21876
21864
|
"title": "Created At",
|
|
21877
21865
|
"description": "Timestamp of campaign creation",
|
|
21878
21866
|
"examples": [
|
|
21879
|
-
"2025-10-
|
|
21867
|
+
"2025-10-28T00:00:00Z"
|
|
21880
21868
|
]
|
|
21881
21869
|
},
|
|
21882
21870
|
"updated_at": {
|
|
@@ -21885,7 +21873,7 @@
|
|
|
21885
21873
|
"title": "Updated At",
|
|
21886
21874
|
"description": "Timestamp of campaign update",
|
|
21887
21875
|
"examples": [
|
|
21888
|
-
"2025-10-
|
|
21876
|
+
"2025-10-28T00:00:00Z"
|
|
21889
21877
|
]
|
|
21890
21878
|
},
|
|
21891
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
|
|