syllable-sdk 0.1.0-alpha.243 → 0.1.0-alpha.250
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/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/workflows/README.md +8 -8
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/servicecreaterequest.d.ts +1 -1
- package/models/components/serviceupdaterequest.d.ts +1 -1
- package/openapi.json +35 -35
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/servicecreaterequest.ts +1 -1
- package/src/models/components/serviceupdaterequest.ts +1 -1
|
@@ -125,9 +125,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
125
125
|
|
|
126
126
|
async function run() {
|
|
127
127
|
const result = await syllableSDK.outbound.batches.create({
|
|
128
|
-
batchId: "
|
|
128
|
+
batchId: "20250827.9",
|
|
129
129
|
campaignId: 1,
|
|
130
|
-
expiresOn: new Date("2025-08-
|
|
130
|
+
expiresOn: new Date("2025-08-28T00:00:00Z"),
|
|
131
131
|
paused: true,
|
|
132
132
|
});
|
|
133
133
|
|
|
@@ -154,9 +154,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
154
154
|
|
|
155
155
|
async function run() {
|
|
156
156
|
const res = await outboundBatchesCreate(syllableSDK, {
|
|
157
|
-
batchId: "
|
|
157
|
+
batchId: "20250827.9",
|
|
158
158
|
campaignId: 1,
|
|
159
|
-
expiresOn: new Date("2025-08-
|
|
159
|
+
expiresOn: new Date("2025-08-28T00:00:00Z"),
|
|
160
160
|
paused: true,
|
|
161
161
|
});
|
|
162
162
|
|
|
@@ -150,8 +150,8 @@ async function run() {
|
|
|
150
150
|
"sheet_name": "Q1 Sales Data",
|
|
151
151
|
},
|
|
152
152
|
},
|
|
153
|
-
startDatetime: new Date("2025-08-
|
|
154
|
-
endDatetime: new Date("2025-08-
|
|
153
|
+
startDatetime: new Date("2025-08-26T00:00:00Z"),
|
|
154
|
+
endDatetime: new Date("2025-08-27T00:00:00Z"),
|
|
155
155
|
});
|
|
156
156
|
|
|
157
157
|
// Handle the result
|
|
@@ -203,8 +203,8 @@ async function run() {
|
|
|
203
203
|
"sheet_name": "Q1 Sales Data",
|
|
204
204
|
},
|
|
205
205
|
},
|
|
206
|
-
startDatetime: new Date("2025-08-
|
|
207
|
-
endDatetime: new Date("2025-08-
|
|
206
|
+
startDatetime: new Date("2025-08-26T00:00:00Z"),
|
|
207
|
+
endDatetime: new Date("2025-08-27T00:00:00Z"),
|
|
208
208
|
});
|
|
209
209
|
|
|
210
210
|
if (!res.ok) {
|
|
@@ -360,8 +360,8 @@ async function run() {
|
|
|
360
360
|
"sheet_name": "Q1 Sales Data",
|
|
361
361
|
},
|
|
362
362
|
},
|
|
363
|
-
startDatetime: new Date("2025-08-
|
|
364
|
-
endDatetime: new Date("2025-08-
|
|
363
|
+
startDatetime: new Date("2025-08-26T00:00:00Z"),
|
|
364
|
+
endDatetime: new Date("2025-08-27T00:00:00Z"),
|
|
365
365
|
},
|
|
366
366
|
});
|
|
367
367
|
|
|
@@ -416,8 +416,8 @@ async function run() {
|
|
|
416
416
|
"sheet_name": "Q1 Sales Data",
|
|
417
417
|
},
|
|
418
418
|
},
|
|
419
|
-
startDatetime: new Date("2025-08-
|
|
420
|
-
endDatetime: new Date("2025-08-
|
|
419
|
+
startDatetime: new Date("2025-08-26T00:00:00Z"),
|
|
420
|
+
endDatetime: new Date("2025-08-27T00:00:00Z"),
|
|
421
421
|
},
|
|
422
422
|
});
|
|
423
423
|
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.250";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.250 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.250",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.250 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -19,7 +19,7 @@ export type ServiceCreateRequest = {
|
|
|
19
19
|
*/
|
|
20
20
|
authType?: ToolAuthType | null | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer,
|
|
22
|
+
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or "client_id", "client_secret", and "auth_url" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
|
|
23
23
|
*/
|
|
24
24
|
authValues?: any | null | undefined;
|
|
25
25
|
};
|
|
@@ -19,7 +19,7 @@ export type ServiceUpdateRequest = {
|
|
|
19
19
|
*/
|
|
20
20
|
authType?: ToolAuthType | null | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer,
|
|
22
|
+
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or "client_id", "client_secret", and "auth_url" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
|
|
23
23
|
*/
|
|
24
24
|
authValues?: any | null | undefined;
|
|
25
25
|
/**
|
package/openapi.json
CHANGED
|
@@ -13032,7 +13032,7 @@
|
|
|
13032
13032
|
"title": "Batch Id",
|
|
13033
13033
|
"description": "Unique ID for conversation batch",
|
|
13034
13034
|
"examples": [
|
|
13035
|
-
"
|
|
13035
|
+
"20250827.9"
|
|
13036
13036
|
]
|
|
13037
13037
|
},
|
|
13038
13038
|
"campaign_id": {
|
|
@@ -13056,7 +13056,7 @@
|
|
|
13056
13056
|
"title": "Expires On",
|
|
13057
13057
|
"description": "Timestamp of batch expiration",
|
|
13058
13058
|
"examples": [
|
|
13059
|
-
"2025-08-
|
|
13059
|
+
"2025-08-28T00:00:00Z"
|
|
13060
13060
|
]
|
|
13061
13061
|
},
|
|
13062
13062
|
"paused": {
|
|
@@ -13109,7 +13109,7 @@
|
|
|
13109
13109
|
"title": "Created At",
|
|
13110
13110
|
"description": "Timestamp of batch creation",
|
|
13111
13111
|
"examples": [
|
|
13112
|
-
"2025-08-
|
|
13112
|
+
"2025-08-27T00:00:00Z"
|
|
13113
13113
|
]
|
|
13114
13114
|
},
|
|
13115
13115
|
"deleted_at": {
|
|
@@ -13125,7 +13125,7 @@
|
|
|
13125
13125
|
"title": "Deleted At",
|
|
13126
13126
|
"description": "Timestamp of batch deletion",
|
|
13127
13127
|
"examples": [
|
|
13128
|
-
"2025-08-
|
|
13128
|
+
"2025-08-27T00:00:00Z"
|
|
13129
13129
|
]
|
|
13130
13130
|
},
|
|
13131
13131
|
"deleted_reason": {
|
|
@@ -13156,7 +13156,7 @@
|
|
|
13156
13156
|
"title": "Last Updated At",
|
|
13157
13157
|
"description": "Timestamp of last change to batch",
|
|
13158
13158
|
"examples": [
|
|
13159
|
-
"2025-08-
|
|
13159
|
+
"2025-08-27T00:00:00Z"
|
|
13160
13160
|
]
|
|
13161
13161
|
},
|
|
13162
13162
|
"last_updated_by": {
|
|
@@ -13858,7 +13858,7 @@
|
|
|
13858
13858
|
"title": "Batch Id",
|
|
13859
13859
|
"description": "Unique ID for conversation batch",
|
|
13860
13860
|
"examples": [
|
|
13861
|
-
"
|
|
13861
|
+
"20250827.9"
|
|
13862
13862
|
]
|
|
13863
13863
|
},
|
|
13864
13864
|
"campaign_id": {
|
|
@@ -13882,7 +13882,7 @@
|
|
|
13882
13882
|
"title": "Expires On",
|
|
13883
13883
|
"description": "Timestamp of batch expiration",
|
|
13884
13884
|
"examples": [
|
|
13885
|
-
"2025-08-
|
|
13885
|
+
"2025-08-28T00:00:00Z"
|
|
13886
13886
|
]
|
|
13887
13887
|
},
|
|
13888
13888
|
"paused": {
|
|
@@ -13935,7 +13935,7 @@
|
|
|
13935
13935
|
"title": "Created At",
|
|
13936
13936
|
"description": "Timestamp of batch creation",
|
|
13937
13937
|
"examples": [
|
|
13938
|
-
"2025-08-
|
|
13938
|
+
"2025-08-27T00:00:00Z"
|
|
13939
13939
|
]
|
|
13940
13940
|
},
|
|
13941
13941
|
"deleted_at": {
|
|
@@ -13951,7 +13951,7 @@
|
|
|
13951
13951
|
"title": "Deleted At",
|
|
13952
13952
|
"description": "Timestamp of batch deletion",
|
|
13953
13953
|
"examples": [
|
|
13954
|
-
"2025-08-
|
|
13954
|
+
"2025-08-27T00:00:00Z"
|
|
13955
13955
|
]
|
|
13956
13956
|
},
|
|
13957
13957
|
"deleted_reason": {
|
|
@@ -13982,7 +13982,7 @@
|
|
|
13982
13982
|
"title": "Last Updated At",
|
|
13983
13983
|
"description": "Timestamp of last change to batch",
|
|
13984
13984
|
"examples": [
|
|
13985
|
-
"2025-08-
|
|
13985
|
+
"2025-08-27T00:00:00Z"
|
|
13986
13986
|
]
|
|
13987
13987
|
},
|
|
13988
13988
|
"last_updated_by": {
|
|
@@ -14025,7 +14025,7 @@
|
|
|
14025
14025
|
"title": "Batch Id",
|
|
14026
14026
|
"description": "Unique ID for conversation batch",
|
|
14027
14027
|
"examples": [
|
|
14028
|
-
"
|
|
14028
|
+
"20250827.9"
|
|
14029
14029
|
]
|
|
14030
14030
|
},
|
|
14031
14031
|
"campaign_id": {
|
|
@@ -14049,7 +14049,7 @@
|
|
|
14049
14049
|
"title": "Expires On",
|
|
14050
14050
|
"description": "Timestamp of batch expiration",
|
|
14051
14051
|
"examples": [
|
|
14052
|
-
"2025-08-
|
|
14052
|
+
"2025-08-28T00:00:00Z"
|
|
14053
14053
|
]
|
|
14054
14054
|
},
|
|
14055
14055
|
"paused": {
|
|
@@ -14198,7 +14198,7 @@
|
|
|
14198
14198
|
"title": "Created At",
|
|
14199
14199
|
"description": "Timestamp of request creation",
|
|
14200
14200
|
"examples": [
|
|
14201
|
-
"2025-08-
|
|
14201
|
+
"2025-08-26T00:00:00Z"
|
|
14202
14202
|
]
|
|
14203
14203
|
},
|
|
14204
14204
|
"sent_at": {
|
|
@@ -14214,7 +14214,7 @@
|
|
|
14214
14214
|
"title": "Sent At",
|
|
14215
14215
|
"description": "Timestamp at which request was sent",
|
|
14216
14216
|
"examples": [
|
|
14217
|
-
"2025-08-
|
|
14217
|
+
"2025-08-27T00:00:00Z"
|
|
14218
14218
|
]
|
|
14219
14219
|
},
|
|
14220
14220
|
"attempt_count": {
|
|
@@ -16130,7 +16130,7 @@
|
|
|
16130
16130
|
"title": "Created At",
|
|
16131
16131
|
"description": "Timestamp at which insight upload folder was created",
|
|
16132
16132
|
"examples": [
|
|
16133
|
-
"2025-08-
|
|
16133
|
+
"2025-08-26T00:00:00Z"
|
|
16134
16134
|
]
|
|
16135
16135
|
},
|
|
16136
16136
|
"updated_at": {
|
|
@@ -16139,7 +16139,7 @@
|
|
|
16139
16139
|
"title": "Updated At",
|
|
16140
16140
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
16141
16141
|
"examples": [
|
|
16142
|
-
"2025-08-
|
|
16142
|
+
"2025-08-27T00:00:00Z"
|
|
16143
16143
|
]
|
|
16144
16144
|
},
|
|
16145
16145
|
"last_updated_by": {
|
|
@@ -16854,7 +16854,7 @@
|
|
|
16854
16854
|
"title": "Created At",
|
|
16855
16855
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
16856
16856
|
"examples": [
|
|
16857
|
-
"2025-08-
|
|
16857
|
+
"2025-08-26T00:00:00Z"
|
|
16858
16858
|
]
|
|
16859
16859
|
},
|
|
16860
16860
|
"updated_at": {
|
|
@@ -16863,7 +16863,7 @@
|
|
|
16863
16863
|
"title": "Updated At",
|
|
16864
16864
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
16865
16865
|
"examples": [
|
|
16866
|
-
"2025-08-
|
|
16866
|
+
"2025-08-27T00:00:00Z"
|
|
16867
16867
|
]
|
|
16868
16868
|
},
|
|
16869
16869
|
"last_updated_by": {
|
|
@@ -17244,7 +17244,7 @@
|
|
|
17244
17244
|
"title": "Start Datetime",
|
|
17245
17245
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17246
17246
|
"examples": [
|
|
17247
|
-
"2025-08-
|
|
17247
|
+
"2025-08-26T00:00:00Z"
|
|
17248
17248
|
]
|
|
17249
17249
|
},
|
|
17250
17250
|
"end_datetime": {
|
|
@@ -17260,7 +17260,7 @@
|
|
|
17260
17260
|
"title": "End Datetime",
|
|
17261
17261
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17262
17262
|
"examples": [
|
|
17263
|
-
"2025-08-
|
|
17263
|
+
"2025-08-27T00:00:00Z"
|
|
17264
17264
|
]
|
|
17265
17265
|
}
|
|
17266
17266
|
},
|
|
@@ -17335,7 +17335,7 @@
|
|
|
17335
17335
|
"title": "Start Datetime",
|
|
17336
17336
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17337
17337
|
"examples": [
|
|
17338
|
-
"2025-08-
|
|
17338
|
+
"2025-08-26T00:00:00Z"
|
|
17339
17339
|
]
|
|
17340
17340
|
},
|
|
17341
17341
|
"end_datetime": {
|
|
@@ -17351,7 +17351,7 @@
|
|
|
17351
17351
|
"title": "End Datetime",
|
|
17352
17352
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17353
17353
|
"examples": [
|
|
17354
|
-
"2025-08-
|
|
17354
|
+
"2025-08-27T00:00:00Z"
|
|
17355
17355
|
]
|
|
17356
17356
|
},
|
|
17357
17357
|
"id": {
|
|
@@ -17404,7 +17404,7 @@
|
|
|
17404
17404
|
"title": "Created At",
|
|
17405
17405
|
"description": "Timestamp at which the insight workflow was created",
|
|
17406
17406
|
"examples": [
|
|
17407
|
-
"2025-08-
|
|
17407
|
+
"2025-08-26T00:00:00Z"
|
|
17408
17408
|
]
|
|
17409
17409
|
},
|
|
17410
17410
|
"updated_at": {
|
|
@@ -17413,7 +17413,7 @@
|
|
|
17413
17413
|
"title": "Updated At",
|
|
17414
17414
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
17415
17415
|
"examples": [
|
|
17416
|
-
"2025-08-
|
|
17416
|
+
"2025-08-27T00:00:00Z"
|
|
17417
17417
|
]
|
|
17418
17418
|
},
|
|
17419
17419
|
"last_updated_by": {
|
|
@@ -17509,7 +17509,7 @@
|
|
|
17509
17509
|
"title": "Created At",
|
|
17510
17510
|
"description": "Timestamp at which insight upload folder was created",
|
|
17511
17511
|
"examples": [
|
|
17512
|
-
"2025-08-
|
|
17512
|
+
"2025-08-26T00:00:00Z"
|
|
17513
17513
|
]
|
|
17514
17514
|
},
|
|
17515
17515
|
"updated_at": {
|
|
@@ -17518,7 +17518,7 @@
|
|
|
17518
17518
|
"title": "Updated At",
|
|
17519
17519
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17520
17520
|
"examples": [
|
|
17521
|
-
"2025-08-
|
|
17521
|
+
"2025-08-27T00:00:00Z"
|
|
17522
17522
|
]
|
|
17523
17523
|
},
|
|
17524
17524
|
"last_updated_by": {
|
|
@@ -17753,7 +17753,7 @@
|
|
|
17753
17753
|
"title": "Created At",
|
|
17754
17754
|
"description": "Timestamp at which insight tool result was created",
|
|
17755
17755
|
"examples": [
|
|
17756
|
-
"2025-08-
|
|
17756
|
+
"2025-08-26T00:00:00Z"
|
|
17757
17757
|
]
|
|
17758
17758
|
},
|
|
17759
17759
|
"updated_at": {
|
|
@@ -17762,7 +17762,7 @@
|
|
|
17762
17762
|
"title": "Updated At",
|
|
17763
17763
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17764
17764
|
"examples": [
|
|
17765
|
-
"2025-08-
|
|
17765
|
+
"2025-08-27T00:00:00Z"
|
|
17766
17766
|
]
|
|
17767
17767
|
}
|
|
17768
17768
|
},
|
|
@@ -17897,7 +17897,7 @@
|
|
|
17897
17897
|
"title": "Start Time",
|
|
17898
17898
|
"description": "Start time of the uploaded file",
|
|
17899
17899
|
"examples": [
|
|
17900
|
-
"2025-08-
|
|
17900
|
+
"2025-08-26T00:00:00Z"
|
|
17901
17901
|
]
|
|
17902
17902
|
},
|
|
17903
17903
|
"end_time": {
|
|
@@ -17913,7 +17913,7 @@
|
|
|
17913
17913
|
"title": "End Time",
|
|
17914
17914
|
"description": "End time of the uploaded file",
|
|
17915
17915
|
"examples": [
|
|
17916
|
-
"2025-08-
|
|
17916
|
+
"2025-08-27T00:00:00Z"
|
|
17917
17917
|
]
|
|
17918
17918
|
},
|
|
17919
17919
|
"error_message": {
|
|
@@ -17968,7 +17968,7 @@
|
|
|
17968
17968
|
"title": "Created At",
|
|
17969
17969
|
"description": "Timestamp at which insight upload file was created",
|
|
17970
17970
|
"examples": [
|
|
17971
|
-
"2025-08-
|
|
17971
|
+
"2025-08-26T00:00:00Z"
|
|
17972
17972
|
]
|
|
17973
17973
|
}
|
|
17974
17974
|
},
|
|
@@ -20861,7 +20861,7 @@
|
|
|
20861
20861
|
"title": "Created At",
|
|
20862
20862
|
"description": "Timestamp of campaign creation",
|
|
20863
20863
|
"examples": [
|
|
20864
|
-
"2025-08-
|
|
20864
|
+
"2025-08-27T00:00:00Z"
|
|
20865
20865
|
]
|
|
20866
20866
|
},
|
|
20867
20867
|
"updated_at": {
|
|
@@ -20870,7 +20870,7 @@
|
|
|
20870
20870
|
"title": "Updated At",
|
|
20871
20871
|
"description": "Timestamp of campaign update",
|
|
20872
20872
|
"examples": [
|
|
20873
|
-
"2025-08-
|
|
20873
|
+
"2025-08-27T00:00:00Z"
|
|
20874
20874
|
]
|
|
20875
20875
|
},
|
|
20876
20876
|
"last_updated_by": {
|
|
@@ -22120,7 +22120,7 @@
|
|
|
22120
22120
|
}
|
|
22121
22121
|
],
|
|
22122
22122
|
"title": "Auth Values",
|
|
22123
|
-
"description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer,
|
|
22123
|
+
"description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or \"client_id\", \"client_secret\", and \"auth_url\" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
|
|
22124
22124
|
"examples": [
|
|
22125
22125
|
{
|
|
22126
22126
|
"password": "my-password",
|
|
@@ -22309,7 +22309,7 @@
|
|
|
22309
22309
|
}
|
|
22310
22310
|
],
|
|
22311
22311
|
"title": "Auth Values",
|
|
22312
|
-
"description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer,
|
|
22312
|
+
"description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or \"client_id\", \"client_secret\", and \"auth_url\" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
|
|
22313
22313
|
"examples": [
|
|
22314
22314
|
{
|
|
22315
22315
|
"password": "my-password",
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.250",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.250 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -30,7 +30,7 @@ export type ServiceCreateRequest = {
|
|
|
30
30
|
*/
|
|
31
31
|
authType?: ToolAuthType | null | undefined;
|
|
32
32
|
/**
|
|
33
|
-
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer,
|
|
33
|
+
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or "client_id", "client_secret", and "auth_url" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
|
|
34
34
|
*/
|
|
35
35
|
authValues?: any | null | undefined;
|
|
36
36
|
};
|
|
@@ -30,7 +30,7 @@ export type ServiceUpdateRequest = {
|
|
|
30
30
|
*/
|
|
31
31
|
authType?: ToolAuthType | null | undefined;
|
|
32
32
|
/**
|
|
33
|
-
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer,
|
|
33
|
+
* The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, arbitrary header keys if auth type is custom_headers. or "client_id", "client_secret", and "auth_url" keys if auth type is oauth2. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
|
|
34
34
|
*/
|
|
35
35
|
authValues?: any | null | undefined;
|
|
36
36
|
/**
|