@solarwinds/squadcast-sdk-typescript 1.0.0 → 1.1.0
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/README.md +86 -80
- package/dist/commonjs/funcs/incidentsBulkResolve.d.ts +1 -1
- package/dist/commonjs/funcs/incidentsBulkResolve.js +1 -1
- package/dist/commonjs/funcs/incidentsV3BulkAcknowledge.d.ts +1 -1
- package/dist/commonjs/funcs/incidentsV3BulkAcknowledge.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/encodings.d.ts +1 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +12 -1
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/lib/sdks.js +2 -2
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/sdk/incidents.d.ts +1 -1
- package/dist/commonjs/sdk/incidents.js +1 -1
- package/dist/commonjs/sdk/incidentsv3.d.ts +1 -1
- package/dist/commonjs/sdk/incidentsv3.js +1 -1
- package/dist/commonjs/types/enums.d.ts +1 -8
- package/dist/commonjs/types/enums.d.ts.map +1 -1
- package/dist/commonjs/types/enums.js +3 -21
- package/dist/commonjs/types/enums.js.map +1 -1
- package/dist/commonjs/types/index.d.ts +2 -1
- package/dist/commonjs/types/index.d.ts.map +1 -1
- package/dist/commonjs/types/index.js +15 -0
- package/dist/commonjs/types/index.js.map +1 -1
- package/dist/commonjs/types/unrecognized.d.ts +16 -0
- package/dist/commonjs/types/unrecognized.d.ts.map +1 -0
- package/dist/commonjs/types/unrecognized.js +34 -0
- package/dist/commonjs/types/unrecognized.js.map +1 -0
- package/dist/esm/funcs/incidentsBulkResolve.d.ts +1 -1
- package/dist/esm/funcs/incidentsBulkResolve.js +1 -1
- package/dist/esm/funcs/incidentsV3BulkAcknowledge.d.ts +1 -1
- package/dist/esm/funcs/incidentsV3BulkAcknowledge.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/encodings.d.ts +1 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +12 -1
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/lib/sdks.js +2 -2
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/sdk/incidents.d.ts +1 -1
- package/dist/esm/sdk/incidents.js +1 -1
- package/dist/esm/sdk/incidentsv3.d.ts +1 -1
- package/dist/esm/sdk/incidentsv3.js +1 -1
- package/dist/esm/types/enums.d.ts +1 -8
- package/dist/esm/types/enums.d.ts.map +1 -1
- package/dist/esm/types/enums.js +1 -18
- package/dist/esm/types/enums.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -1
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/unrecognized.d.ts +16 -0
- package/dist/esm/types/unrecognized.d.ts.map +1 -0
- package/dist/esm/types/unrecognized.js +31 -0
- package/dist/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/incidentsBulkResolve.ts +1 -1
- package/src/funcs/incidentsV3BulkAcknowledge.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/lib/sdks.ts +2 -2
- package/src/sdk/incidents.ts +1 -1
- package/src/sdk/incidentsv3.ts +1 -1
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +1 -2
package/README.md
CHANGED
|
@@ -9,12 +9,18 @@ Developer-friendly & type-safe Typescript SDK specifically catered to leverage *
|
|
|
9
9
|
</a>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
+
<!-- End Summary [summary] -->
|
|
13
|
+
|
|
14
|
+
<!-- Start Summary [summary] -->
|
|
15
|
+
## Summary
|
|
16
|
+
|
|
17
|
+
|
|
12
18
|
<!-- End Summary [summary] -->
|
|
13
19
|
|
|
14
20
|
<!-- Start Table of Contents [toc] -->
|
|
15
21
|
## Table of Contents
|
|
16
22
|
<!-- $toc-max-depth=2 -->
|
|
17
|
-
* [
|
|
23
|
+
* [Squadcast SDK for TypeScript](#squadcast-sdk-for-typescript)
|
|
18
24
|
* [SDK Installation](#sdk-installation)
|
|
19
25
|
* [Requirements](#requirements)
|
|
20
26
|
* [SDK Example Usage](#sdk-example-usage)
|
|
@@ -138,44 +144,44 @@ run();
|
|
|
138
144
|
<details open>
|
|
139
145
|
<summary>Available methods</summary>
|
|
140
146
|
|
|
141
|
-
### [
|
|
147
|
+
### [Analytics](docs/sdks/analytics/README.md)
|
|
142
148
|
|
|
143
149
|
* [getOrganization](docs/sdks/analytics/README.md#getorganization) - Get Org level analytics
|
|
144
150
|
* [getTeam](docs/sdks/analytics/README.md#getteam) - Get Team level analytics
|
|
145
151
|
|
|
146
|
-
### [
|
|
152
|
+
### [AuditLogs](docs/sdks/auditlogs/README.md)
|
|
147
153
|
|
|
148
154
|
* [list](docs/sdks/auditlogs/README.md#list) - List all Audit Logs
|
|
149
155
|
* [export](docs/sdks/auditlogs/README.md#export) - Initiate an asynchronous export of audit logs based on the provided filters. The export file will be generated and available for download. Use 'Get details of Audit Logs export history by ID' API to retrieve the download URL.
|
|
150
156
|
* [listExportHistory](docs/sdks/auditlogs/README.md#listexporthistory) - List all Audit Logs export history
|
|
151
157
|
* [getById](docs/sdks/auditlogs/README.md#getbyid) - Get audit log by ID
|
|
152
158
|
|
|
153
|
-
#### [
|
|
159
|
+
#### [AuditLogs.ExportHistory](docs/sdks/exporthistory/README.md)
|
|
154
160
|
|
|
155
161
|
* [get](docs/sdks/exporthistory/README.md#get) - Get details of Audit Logs export history by ID
|
|
156
162
|
|
|
157
|
-
### [
|
|
163
|
+
### [CommunicationCards](docs/sdks/communicationcards/README.md)
|
|
158
164
|
|
|
159
165
|
* [createSlackChannel](docs/sdks/communicationcards/README.md#createslackchannel) - Create Slack Channel in Communication Card
|
|
160
166
|
* [delete](docs/sdks/communicationcards/README.md#delete) - Delete Communication Card
|
|
161
167
|
|
|
162
|
-
### [
|
|
168
|
+
### [Components](docs/sdks/components/README.md)
|
|
163
169
|
|
|
164
170
|
* [list](docs/sdks/components/README.md#list) - List Components
|
|
165
171
|
* [deleteById](docs/sdks/components/README.md#deletebyid) - Delete Component By ID
|
|
166
172
|
|
|
167
|
-
### [
|
|
173
|
+
### [DedupKeyOverlays](docs/sdks/dedupkeyoverlays/README.md)
|
|
168
174
|
|
|
169
175
|
* [renderTemplate](docs/sdks/dedupkeyoverlays/README.md#rendertemplate) - Render Dedup Key template
|
|
170
176
|
* [getForAlertSource](docs/sdks/dedupkeyoverlays/README.md#getforalertsource) - Get Dedup Key Overlay for Alert Source
|
|
171
177
|
* [update](docs/sdks/dedupkeyoverlays/README.md#update) - Update Dedup Key Overlay
|
|
172
178
|
|
|
173
|
-
### [
|
|
179
|
+
### [DeduplicationRules](docs/sdks/deduplicationrules/README.md)
|
|
174
180
|
|
|
175
181
|
* [getRules](docs/sdks/deduplicationrules/README.md#getrules) - Get Deduplication Rules
|
|
176
182
|
* [createOrUpdate](docs/sdks/deduplicationrules/README.md#createorupdate) - Create or Update Deduplication Rules
|
|
177
183
|
|
|
178
|
-
### [
|
|
184
|
+
### [EscalationPolicies](docs/sdks/escalationpolicies/README.md)
|
|
179
185
|
|
|
180
186
|
* [listByTeam](docs/sdks/escalationpolicies/README.md#listbyteam) - Get Escalation Policy By team
|
|
181
187
|
* [create](docs/sdks/escalationpolicies/README.md#create) - Create Escalation Policies
|
|
@@ -183,24 +189,24 @@ run();
|
|
|
183
189
|
* [getById](docs/sdks/escalationpolicies/README.md#getbyid) - Get Escalation Policy By ID
|
|
184
190
|
* [update](docs/sdks/escalationpolicies/README.md#update) - Update Escalation Policy
|
|
185
191
|
|
|
186
|
-
### [
|
|
192
|
+
### [Exports](docs/sdks/exports/README.md)
|
|
187
193
|
|
|
188
194
|
* [getDetails](docs/sdks/exports/README.md#getdetails) - Get Export Details
|
|
189
195
|
|
|
190
|
-
### [
|
|
196
|
+
### [ExportSchedule](docs/sdks/exportschedule/README.md)
|
|
191
197
|
|
|
192
198
|
* [refreshIcalLink](docs/sdks/exportschedule/README.md#refreshicallink) - Refresh Schedule ICal Link
|
|
193
199
|
|
|
194
|
-
|
|
200
|
+
### [Extensions.Msteams](docs/sdks/extensionsmsteams/README.md)
|
|
195
201
|
|
|
196
202
|
* [getConfig](docs/sdks/extensionsmsteams/README.md#getconfig) - Get MSTeams Config
|
|
197
203
|
|
|
198
|
-
|
|
204
|
+
### [Extensions.Webhooks](docs/sdks/extensionswebhooks/README.md)
|
|
199
205
|
|
|
200
206
|
* [create](docs/sdks/extensionswebhooks/README.md#create) - Create Webhook
|
|
201
207
|
* [update](docs/sdks/extensionswebhooks/README.md#update) - Update Webhook
|
|
202
208
|
|
|
203
|
-
### [
|
|
209
|
+
### [GlobalEventRules](docs/sdks/globaleventrules/README.md)
|
|
204
210
|
|
|
205
211
|
* [list](docs/sdks/globaleventrules/README.md#list) - List Global Event Rules
|
|
206
212
|
* [create](docs/sdks/globaleventrules/README.md#create) - Create Global Event Rule
|
|
@@ -208,7 +214,7 @@ run();
|
|
|
208
214
|
* [getById](docs/sdks/globaleventrules/README.md#getbyid) - Get Global Event Rule by ID
|
|
209
215
|
* [updateById](docs/sdks/globaleventrules/README.md#updatebyid) - Update Global Event Rule by ID
|
|
210
216
|
|
|
211
|
-
#### [
|
|
217
|
+
#### [GlobalEventRules.Rulesets](docs/sdks/globaleventrulesrulesets/README.md)
|
|
212
218
|
|
|
213
219
|
* [create](docs/sdks/globaleventrulesrulesets/README.md#create) - Create Ruleset
|
|
214
220
|
* [get](docs/sdks/globaleventrulesrulesets/README.md#get) - Get Ruleset
|
|
@@ -218,23 +224,23 @@ run();
|
|
|
218
224
|
* [createRule](docs/sdks/globaleventrulesrulesets/README.md#createrule) - Create Rule
|
|
219
225
|
* [updateRule](docs/sdks/globaleventrulesrulesets/README.md#updaterule) - Update Rule by ID
|
|
220
226
|
|
|
221
|
-
|
|
227
|
+
##### [GlobalEventRules.Rulesets.Rules](docs/sdks/rulesetsrules/README.md)
|
|
222
228
|
|
|
223
229
|
* [get](docs/sdks/rulesetsrules/README.md#get) - Get Rule by ID
|
|
224
230
|
* [reorderByIndex](docs/sdks/rulesetsrules/README.md#reorderbyindex) - Reorder Ruleset By Index
|
|
225
231
|
|
|
226
|
-
### [
|
|
232
|
+
### [GlobalOncallReminderRules](docs/sdks/globaloncallreminderrules/README.md)
|
|
227
233
|
|
|
228
234
|
* [delete](docs/sdks/globaloncallreminderrules/README.md#delete) - Delete Global Oncall Reminder Rules
|
|
229
235
|
* [get](docs/sdks/globaloncallreminderrules/README.md#get) - Get Global Oncall Reminder Rules
|
|
230
236
|
* [create](docs/sdks/globaloncallreminderrules/README.md#create) - Create Global Oncall Reminder Rules
|
|
231
237
|
* [update](docs/sdks/globaloncallreminderrules/README.md#update) - Update Global Oncall Reminder Rules
|
|
232
238
|
|
|
233
|
-
|
|
239
|
+
### [IncidentActions.Circleci](docs/sdks/circleci/README.md)
|
|
234
240
|
|
|
235
241
|
* [rebuild](docs/sdks/circleci/README.md#rebuild) - Rebuild a Project In CircleCI
|
|
236
242
|
|
|
237
|
-
### [
|
|
243
|
+
### [Incidents](docs/sdks/incidents/README.md)
|
|
238
244
|
|
|
239
245
|
* [archiveSlackChannel](docs/sdks/incidents/README.md#archiveslackchannel) - Archive Slack Channel
|
|
240
246
|
* [getAllCommunicationCards](docs/sdks/incidents/README.md#getallcommunicationcards) - Get All Communication Card
|
|
@@ -260,86 +266,86 @@ run();
|
|
|
260
266
|
* [resolve](docs/sdks/incidents/README.md#resolve) - Resolve Incident
|
|
261
267
|
* [getStatusByRequestIds](docs/sdks/incidents/README.md#getstatusbyrequestids) - Get Incidents Status By RequestIDs
|
|
262
268
|
|
|
263
|
-
#### [
|
|
269
|
+
#### [Incidents.Actions.JiraCloud](docs/sdks/jiracloud/README.md)
|
|
264
270
|
|
|
265
271
|
* [createTicket](docs/sdks/jiracloud/README.md#createticket) - Create a Ticket on Jira Cloud
|
|
266
272
|
|
|
267
|
-
#### [
|
|
273
|
+
#### [Incidents.AdditionalResponders](docs/sdks/additionalresponders/README.md)
|
|
268
274
|
|
|
269
275
|
* [add](docs/sdks/additionalresponders/README.md#add) - Add Additional Responders
|
|
270
276
|
|
|
271
|
-
#### [
|
|
277
|
+
#### [Incidents.AutoPauseTransientAlerts](docs/sdks/autopausetransientalerts/README.md)
|
|
272
278
|
|
|
273
279
|
* [markAsNotTransient](docs/sdks/autopausetransientalerts/README.md#markasnottransient) - Mark as Not Transient
|
|
274
280
|
|
|
275
|
-
#### [
|
|
281
|
+
#### [Incidents.CommunicationCards](docs/sdks/incidentscommunicationcards/README.md)
|
|
276
282
|
|
|
277
283
|
* [create](docs/sdks/incidentscommunicationcards/README.md#create) - Create Communication Card
|
|
278
284
|
|
|
279
|
-
#### [
|
|
285
|
+
#### [Incidents.Events](docs/sdks/events/README.md)
|
|
280
286
|
|
|
281
287
|
* [list](docs/sdks/events/README.md#list) - Get Incident Events
|
|
282
288
|
|
|
283
|
-
#### [
|
|
289
|
+
#### [Incidents.Notes](docs/sdks/incidentsnotes/README.md)
|
|
284
290
|
|
|
285
291
|
* [create](docs/sdks/incidentsnotes/README.md#create) - Create Notes
|
|
286
292
|
* [list](docs/sdks/incidentsnotes/README.md#list) - Get All Notes
|
|
287
293
|
* [update](docs/sdks/incidentsnotes/README.md#update) - Update Note
|
|
288
294
|
|
|
289
|
-
#### [
|
|
295
|
+
#### [Incidents.Postmortems](docs/sdks/incidentspostmortems/README.md)
|
|
290
296
|
|
|
291
297
|
* [getAll](docs/sdks/incidentspostmortems/README.md#getall) - Get All Postmortems
|
|
292
298
|
* [getByIncident](docs/sdks/incidentspostmortems/README.md#getbyincident) - Get Postmortem By Incident
|
|
293
299
|
* [create](docs/sdks/incidentspostmortems/README.md#create) - Create Postmortem
|
|
294
300
|
|
|
295
|
-
#### [
|
|
301
|
+
#### [Incidents.Snooze](docs/sdks/snooze/README.md)
|
|
296
302
|
|
|
297
303
|
* [set](docs/sdks/snooze/README.md#set) - Snooze Incident Notifications
|
|
298
304
|
|
|
299
|
-
#### [
|
|
305
|
+
#### [Incidents.Tags](docs/sdks/tags/README.md)
|
|
300
306
|
|
|
301
307
|
* [update](docs/sdks/tags/README.md#update) - Update Tag
|
|
302
308
|
* [append](docs/sdks/tags/README.md#append) - Append Tag
|
|
303
309
|
|
|
304
|
-
### [
|
|
310
|
+
### [IncidentsV3](docs/sdks/incidentsv3/README.md)
|
|
305
311
|
|
|
306
312
|
* [bulkAcknowledge](docs/sdks/incidentsv3/README.md#bulkacknowledge) - Bulk Acknowledge Incidents
|
|
307
313
|
|
|
308
|
-
### [
|
|
314
|
+
### [Issues](docs/sdks/issues/README.md)
|
|
309
315
|
|
|
310
316
|
* [create](docs/sdks/issues/README.md#create) - Create Issue
|
|
311
317
|
* [delete](docs/sdks/issues/README.md#delete) - Delete Issue By ID
|
|
312
318
|
|
|
313
|
-
### [
|
|
319
|
+
### [IssueStates](docs/sdks/issuestates/README.md)
|
|
314
320
|
|
|
315
321
|
* [list](docs/sdks/issuestates/README.md#list) - List Status Page Issue States
|
|
316
322
|
|
|
317
|
-
### [
|
|
323
|
+
### [Maintenances](docs/sdks/maintenances/README.md)
|
|
318
324
|
|
|
319
325
|
* [create](docs/sdks/maintenances/README.md#create) - Create Maintenance
|
|
320
326
|
* [deleteById](docs/sdks/maintenances/README.md#deletebyid) - Delete Maintenance By ID
|
|
321
327
|
|
|
322
|
-
### [
|
|
328
|
+
### [Msteams](docs/sdks/msteams/README.md)
|
|
323
329
|
|
|
324
330
|
* [createOrUpdateConfiguration](docs/sdks/msteams/README.md#createorupdateconfiguration) - Create Or Update MSTeams Configuration
|
|
325
331
|
|
|
326
|
-
### [
|
|
332
|
+
### [Notes](docs/sdks/notes/README.md)
|
|
327
333
|
|
|
328
334
|
* [delete](docs/sdks/notes/README.md#delete) - Delete Note
|
|
329
335
|
|
|
330
|
-
### [
|
|
336
|
+
### [Overlays](docs/sdks/overlays/README.md)
|
|
331
337
|
|
|
332
338
|
* [getAllDedupKeysByService](docs/sdks/overlays/README.md#getalldedupkeysbyservice) - Get All Dedup Key Overlay by Service
|
|
333
339
|
|
|
334
|
-
### [
|
|
340
|
+
### [Overrides](docs/sdks/overrides/README.md)
|
|
335
341
|
|
|
336
342
|
* [list](docs/sdks/overrides/README.md#list) - List Overrides
|
|
337
343
|
|
|
338
|
-
### [
|
|
344
|
+
### [Postmortems](docs/sdks/postmortems/README.md)
|
|
339
345
|
|
|
340
346
|
* [deleteByIncident](docs/sdks/postmortems/README.md#deletebyincident) - Delete Postmortem By Incident
|
|
341
347
|
|
|
342
|
-
### [
|
|
348
|
+
### [Rotations](docs/sdks/rotations/README.md)
|
|
343
349
|
|
|
344
350
|
* [getScheduleRotations](docs/sdks/rotations/README.md#getschedulerotations) - List Schedule Rotations
|
|
345
351
|
* [delete](docs/sdks/rotations/README.md#delete) - Delete Rotation
|
|
@@ -347,20 +353,20 @@ run();
|
|
|
347
353
|
* [getParticipants](docs/sdks/rotations/README.md#getparticipants) - Get Rotation Participants
|
|
348
354
|
* [updateParticipants](docs/sdks/rotations/README.md#updateparticipants) - Update Rotation Participants
|
|
349
355
|
|
|
350
|
-
### [
|
|
356
|
+
### [RoutingRules](docs/sdks/routingrules/README.md)
|
|
351
357
|
|
|
352
358
|
* [get](docs/sdks/routingrules/README.md#get) - Get Routing Rules
|
|
353
359
|
* [createOrUpdate](docs/sdks/routingrules/README.md#createorupdate) - Create or Update Routing Rules
|
|
354
360
|
|
|
355
|
-
### [
|
|
361
|
+
### [Rules](docs/sdks/rules/README.md)
|
|
356
362
|
|
|
357
363
|
* [deleteById](docs/sdks/rules/README.md#deletebyid) - Delete Rule by ID
|
|
358
364
|
|
|
359
|
-
### [
|
|
365
|
+
### [Rulesets](docs/sdks/rulesets/README.md)
|
|
360
366
|
|
|
361
367
|
* [deleteById](docs/sdks/rulesets/README.md#deletebyid) - Delete GER Ruleset
|
|
362
368
|
|
|
363
|
-
### [
|
|
369
|
+
### [Runbooks](docs/sdks/runbooks/README.md)
|
|
364
370
|
|
|
365
371
|
* [listByTeam](docs/sdks/runbooks/README.md#listbyteam) - Get All Runbooks By Team
|
|
366
372
|
* [create](docs/sdks/runbooks/README.md#create) - Create Runbook
|
|
@@ -368,11 +374,11 @@ run();
|
|
|
368
374
|
* [getById](docs/sdks/runbooks/README.md#getbyid) - Get Runbook By ID
|
|
369
375
|
* [update](docs/sdks/runbooks/README.md#update) - Update Runbook
|
|
370
376
|
|
|
371
|
-
|
|
377
|
+
### [Schedule.Export](docs/sdks/scheduleexport/README.md)
|
|
372
378
|
|
|
373
379
|
* [deleteICalLink](docs/sdks/scheduleexport/README.md#deleteicallink) - Delete ICal Link
|
|
374
380
|
|
|
375
|
-
### [
|
|
381
|
+
### [Schedules](docs/sdks/schedules/README.md)
|
|
376
382
|
|
|
377
383
|
* [list](docs/sdks/schedules/README.md#list) - List Schedules
|
|
378
384
|
* [create](docs/sdks/schedules/README.md#create) - Create Schedule
|
|
@@ -386,24 +392,24 @@ run();
|
|
|
386
392
|
* [getOverrideById](docs/sdks/schedules/README.md#getoverridebyid) - Get Override by ID
|
|
387
393
|
* [createRotation](docs/sdks/schedules/README.md#createrotation) - Create Rotation
|
|
388
394
|
|
|
389
|
-
#### [
|
|
395
|
+
#### [Schedules.Actions](docs/sdks/schedulesactions/README.md)
|
|
390
396
|
|
|
391
397
|
* [pauseResume](docs/sdks/schedulesactions/README.md#pauseresume) - Pause/Resume Schedule
|
|
392
398
|
|
|
393
|
-
#### [
|
|
399
|
+
#### [Schedules.Export](docs/sdks/schedulesexport/README.md)
|
|
394
400
|
|
|
395
401
|
* [getIcalLink](docs/sdks/schedulesexport/README.md#geticallink) - Get Schedule ICal Link
|
|
396
402
|
|
|
397
|
-
#### [
|
|
403
|
+
#### [Schedules.Overrides](docs/sdks/schedulesoverrides/README.md)
|
|
398
404
|
|
|
399
405
|
* [create](docs/sdks/schedulesoverrides/README.md#create) - Create Schedule Override
|
|
400
406
|
* [update](docs/sdks/schedulesoverrides/README.md#update) - Update Schedule Override
|
|
401
407
|
|
|
402
|
-
#### [
|
|
408
|
+
#### [Schedules.Rotations](docs/sdks/schedulesrotations/README.md)
|
|
403
409
|
|
|
404
410
|
* [update](docs/sdks/schedulesrotations/README.md#update) - Update Rotation
|
|
405
411
|
|
|
406
|
-
### [
|
|
412
|
+
### [Services](docs/sdks/services/README.md)
|
|
407
413
|
|
|
408
414
|
* [list](docs/sdks/services/README.md#list) - Get All Services
|
|
409
415
|
* [create](docs/sdks/services/README.md#create) - Create Service
|
|
@@ -416,53 +422,53 @@ run();
|
|
|
416
422
|
* [updateSlackExtension](docs/sdks/services/README.md#updateslackextension) - Update Slack Extension
|
|
417
423
|
* [getCustomContentTemplates](docs/sdks/services/README.md#getcustomcontenttemplates) - Get All Custom Content Template Overlay by Service
|
|
418
424
|
|
|
419
|
-
|
|
425
|
+
### [Services.AptaConfig](docs/sdks/aptaconfig/README.md)
|
|
420
426
|
|
|
421
427
|
* [createOrUpdate](docs/sdks/aptaconfig/README.md#createorupdate) - Auto Pause Transient Alerts (APTA)
|
|
422
428
|
|
|
423
|
-
|
|
429
|
+
### [Services.Dependencies](docs/sdks/dependencies/README.md)
|
|
424
430
|
|
|
425
431
|
* [createOrUpdate](docs/sdks/dependencies/README.md#createorupdate) - Create or Update Dependencies
|
|
426
432
|
|
|
427
|
-
|
|
433
|
+
### [Services.Maintenance](docs/sdks/maintenance/README.md)
|
|
428
434
|
|
|
429
435
|
* [get](docs/sdks/maintenance/README.md#get) - Get Maintenance Mode
|
|
430
436
|
* [createOrUpdate](docs/sdks/maintenance/README.md#createorupdate) - Create or Update Maintenance Mode
|
|
431
437
|
|
|
432
|
-
|
|
438
|
+
### [Services.Overlay](docs/sdks/overlay/README.md)
|
|
433
439
|
|
|
434
440
|
* [getOptinForKeyBasedDeduplication](docs/sdks/overlay/README.md#getoptinforkeybaseddeduplication) - Get Opt-in for Key Based Deduplication for a service
|
|
435
441
|
|
|
436
|
-
|
|
442
|
+
### [Services.Overlays](docs/sdks/servicesoverlays/README.md)
|
|
437
443
|
|
|
438
444
|
* [optinKeyBasedDeduplication](docs/sdks/servicesoverlays/README.md#optinkeybaseddeduplication) - Opt-in for Key Based Deduplication for a service
|
|
439
445
|
* [renderCustomContent](docs/sdks/servicesoverlays/README.md#rendercustomcontent) - Render Custom Content Overlay
|
|
440
446
|
* [deleteCustomContent](docs/sdks/servicesoverlays/README.md#deletecustomcontent) - Delete Notification Template Overlay
|
|
441
447
|
* [getCustomContentTemplate](docs/sdks/servicesoverlays/README.md#getcustomcontenttemplate) - Get Custom Content Template Overlay
|
|
442
448
|
|
|
443
|
-
#### [
|
|
449
|
+
#### [Services.Overlays.CustomContent](docs/sdks/customcontent/README.md)
|
|
444
450
|
|
|
445
451
|
* [createOrUpdate](docs/sdks/customcontent/README.md#createorupdate) - Create or Update Notification Template Overlay
|
|
446
452
|
|
|
447
|
-
#### [
|
|
453
|
+
#### [Services.Overlays.DedupKey](docs/sdks/dedupkey/README.md)
|
|
448
454
|
|
|
449
455
|
* [delete](docs/sdks/dedupkey/README.md#delete) - Delete Dedup Key Overlay
|
|
450
456
|
|
|
451
|
-
|
|
457
|
+
### [Services.SuppressionRules](docs/sdks/suppressionrules/README.md)
|
|
452
458
|
|
|
453
459
|
* [list](docs/sdks/suppressionrules/README.md#list) - Get Suppression Rules
|
|
454
460
|
* [createOrUpdate](docs/sdks/suppressionrules/README.md#createorupdate) - Create or Update Suppression Rules
|
|
455
461
|
|
|
456
|
-
|
|
462
|
+
### [Services.TaggingRules](docs/sdks/taggingrules/README.md)
|
|
457
463
|
|
|
458
464
|
* [list](docs/sdks/taggingrules/README.md#list) - Get Tagging Rules
|
|
459
465
|
* [createOrUpdate](docs/sdks/taggingrules/README.md#createorupdate) - Create or Update Tagging Rules
|
|
460
466
|
|
|
461
|
-
### [
|
|
467
|
+
### [Slo](docs/sdks/slo/README.md)
|
|
462
468
|
|
|
463
469
|
* [markAffected](docs/sdks/slo/README.md#markaffected) - Mark SLO Affected
|
|
464
470
|
|
|
465
|
-
### [
|
|
471
|
+
### [Slos](docs/sdks/slos/README.md)
|
|
466
472
|
|
|
467
473
|
* [list](docs/sdks/slos/README.md#list) - Get All SLOs
|
|
468
474
|
* [create](docs/sdks/slos/README.md#create) - Create SLO
|
|
@@ -471,7 +477,7 @@ run();
|
|
|
471
477
|
* [getById](docs/sdks/slos/README.md#getbyid) - Get SLO By ID
|
|
472
478
|
* [markFalsePositive](docs/sdks/slos/README.md#markfalsepositive) - Mark SLO False Positive
|
|
473
479
|
|
|
474
|
-
### [
|
|
480
|
+
### [Squads](docs/sdks/squads/README.md)
|
|
475
481
|
|
|
476
482
|
* [list](docs/sdks/squads/README.md#list) - Get All Squads
|
|
477
483
|
* [createV4](docs/sdks/squads/README.md#createv4) - Create Squad
|
|
@@ -479,16 +485,16 @@ run();
|
|
|
479
485
|
* [updateName](docs/sdks/squads/README.md#updatename) - Update Squad Name
|
|
480
486
|
* [delete](docs/sdks/squads/README.md#delete) - Delete Squad
|
|
481
487
|
|
|
482
|
-
#### [
|
|
488
|
+
#### [Squads.Members](docs/sdks/squadsmembers/README.md)
|
|
483
489
|
|
|
484
490
|
* [remove](docs/sdks/squadsmembers/README.md#remove) - Remove Squad Member
|
|
485
491
|
|
|
486
|
-
### [
|
|
492
|
+
### [SquadsV4](docs/sdks/squadsv4/README.md)
|
|
487
493
|
|
|
488
494
|
* [getById](docs/sdks/squadsv4/README.md#getbyid) - Get Squad By ID
|
|
489
495
|
* [update](docs/sdks/squadsv4/README.md#update) - Update Squad
|
|
490
496
|
|
|
491
|
-
### [
|
|
497
|
+
### [StatusPages](docs/sdks/statuspages/README.md)
|
|
492
498
|
|
|
493
499
|
* [list](docs/sdks/statuspages/README.md#list) - List Status Pages
|
|
494
500
|
* [create](docs/sdks/statuspages/README.md#create) - Create Status Page
|
|
@@ -498,35 +504,35 @@ run();
|
|
|
498
504
|
* [getIssueById](docs/sdks/statuspages/README.md#getissuebyid) - Get Issue By ID
|
|
499
505
|
* [listStatuses](docs/sdks/statuspages/README.md#liststatuses) - List Status Page Statuses
|
|
500
506
|
|
|
501
|
-
#### [
|
|
507
|
+
#### [StatusPages.ComponentGroups](docs/sdks/componentgroups/README.md)
|
|
502
508
|
|
|
503
509
|
* [list](docs/sdks/componentgroups/README.md#list) - List Component Groups
|
|
504
510
|
* [create](docs/sdks/componentgroups/README.md#create) - Create Component Group
|
|
505
511
|
* [deleteById](docs/sdks/componentgroups/README.md#deletebyid) - Delete Component Group By ID
|
|
506
512
|
* [getById](docs/sdks/componentgroups/README.md#getbyid) - Get Component Group By ID
|
|
507
513
|
|
|
508
|
-
#### [
|
|
514
|
+
#### [StatusPages.Components](docs/sdks/statuspagescomponents/README.md)
|
|
509
515
|
|
|
510
516
|
* [create](docs/sdks/statuspagescomponents/README.md#create) - Create Component
|
|
511
517
|
* [getById](docs/sdks/statuspagescomponents/README.md#getbyid) - Get Component By ID
|
|
512
518
|
* [updateById](docs/sdks/statuspagescomponents/README.md#updatebyid) - Update Component By ID
|
|
513
519
|
|
|
514
|
-
#### [
|
|
520
|
+
#### [StatusPages.Issues](docs/sdks/statuspagesissues/README.md)
|
|
515
521
|
|
|
516
522
|
* [list](docs/sdks/statuspagesissues/README.md#list) - List Issues
|
|
517
523
|
* [update](docs/sdks/statuspagesissues/README.md#update) - Update Issue
|
|
518
524
|
|
|
519
|
-
#### [
|
|
525
|
+
#### [StatusPages.Maintenances](docs/sdks/statuspagesmaintenances/README.md)
|
|
520
526
|
|
|
521
527
|
* [list](docs/sdks/statuspagesmaintenances/README.md#list) - List Maintenances
|
|
522
528
|
* [getById](docs/sdks/statuspagesmaintenances/README.md#getbyid) - Get Maintenance By ID
|
|
523
529
|
* [updateById](docs/sdks/statuspagesmaintenances/README.md#updatebyid) - Update Maintenance By ID
|
|
524
530
|
|
|
525
|
-
### [
|
|
531
|
+
### [StatusPageSubscribers](docs/sdks/statuspagesubscribers/README.md)
|
|
526
532
|
|
|
527
533
|
* [list](docs/sdks/statuspagesubscribers/README.md#list) - List Subscribers
|
|
528
534
|
|
|
529
|
-
### [
|
|
535
|
+
### [Teams](docs/sdks/teams/README.md)
|
|
530
536
|
|
|
531
537
|
* [list](docs/sdks/teams/README.md#list) - Get All Teams
|
|
532
538
|
* [create](docs/sdks/teams/README.md#create) - Create Team
|
|
@@ -536,24 +542,24 @@ run();
|
|
|
536
542
|
* [listMembers](docs/sdks/teams/README.md#listmembers) - Get All Team Members
|
|
537
543
|
* [getRoles](docs/sdks/teams/README.md#getroles) - Get All Team Roles
|
|
538
544
|
|
|
539
|
-
|
|
545
|
+
### [Teams.Members](docs/sdks/teamsmembers/README.md)
|
|
540
546
|
|
|
541
547
|
* [add](docs/sdks/teamsmembers/README.md#add) - Add Team Member
|
|
542
548
|
* [bulkAdd](docs/sdks/teamsmembers/README.md#bulkadd) - Add Bulk Team Member
|
|
543
549
|
* [remove](docs/sdks/teamsmembers/README.md#remove) - Remove Team Member
|
|
544
550
|
* [update](docs/sdks/teamsmembers/README.md#update) - Update Team Member
|
|
545
551
|
|
|
546
|
-
|
|
552
|
+
### [Teams.Roles](docs/sdks/roles/README.md)
|
|
547
553
|
|
|
548
554
|
* [create](docs/sdks/roles/README.md#create) - Create Team Role
|
|
549
555
|
* [remove](docs/sdks/roles/README.md#remove) - Remove Team Role
|
|
550
556
|
* [update](docs/sdks/roles/README.md#update) - Update Team Role
|
|
551
557
|
|
|
552
|
-
### [
|
|
558
|
+
### [Tokens](docs/sdks/tokens/README.md)
|
|
553
559
|
|
|
554
560
|
* [create](docs/sdks/tokens/README.md#create) - Create Token
|
|
555
561
|
|
|
556
|
-
### [
|
|
562
|
+
### [Users](docs/sdks/users/README.md)
|
|
557
563
|
|
|
558
564
|
* [getAllTokens](docs/sdks/users/README.md#getalltokens) - Get All Tokens
|
|
559
565
|
* [removeToken](docs/sdks/users/README.md#removetoken) - Remove Token
|
|
@@ -566,7 +572,7 @@ run();
|
|
|
566
572
|
* [getById](docs/sdks/users/README.md#getbyid) - Get User By ID
|
|
567
573
|
* [updateById](docs/sdks/users/README.md#updatebyid) - Update User by userID
|
|
568
574
|
|
|
569
|
-
### [
|
|
575
|
+
### [Webforms](docs/sdks/webforms/README.md)
|
|
570
576
|
|
|
571
577
|
* [getAll](docs/sdks/webforms/README.md#getall) - Get All Webforms
|
|
572
578
|
* [create](docs/sdks/webforms/README.md#create) - Create Webform
|
|
@@ -574,21 +580,21 @@ run();
|
|
|
574
580
|
* [remove](docs/sdks/webforms/README.md#remove) - Remove Webform
|
|
575
581
|
* [getById](docs/sdks/webforms/README.md#getbyid) - Get Webform By ID
|
|
576
582
|
|
|
577
|
-
### [
|
|
583
|
+
### [Webhooks](docs/sdks/webhooks/README.md)
|
|
578
584
|
|
|
579
585
|
* [getAll](docs/sdks/webhooks/README.md#getall) - Get All Webhooks
|
|
580
586
|
* [delete](docs/sdks/webhooks/README.md#delete) - Delete Webhook
|
|
581
587
|
* [getById](docs/sdks/webhooks/README.md#getbyid) - Get Webhook By ID
|
|
582
588
|
|
|
583
|
-
### [
|
|
589
|
+
### [WorkflowActions](docs/sdks/workflowactions/README.md)
|
|
584
590
|
|
|
585
591
|
* [getById](docs/sdks/workflowactions/README.md#getbyid) - Get Workflow Action By ID
|
|
586
592
|
|
|
587
|
-
### [
|
|
593
|
+
### [WorkflowLogs](docs/sdks/workflowlogs/README.md)
|
|
588
594
|
|
|
589
595
|
* [get](docs/sdks/workflowlogs/README.md#get) - Get Workflow Logs
|
|
590
596
|
|
|
591
|
-
### [
|
|
597
|
+
### [Workflows](docs/sdks/workflows/README.md)
|
|
592
598
|
|
|
593
599
|
* [list](docs/sdks/workflows/README.md#list) - List Workflows
|
|
594
600
|
* [create](docs/sdks/workflows/README.md#create) - Create Workflow
|
|
@@ -601,7 +607,7 @@ run();
|
|
|
601
607
|
* [updateAction](docs/sdks/workflows/README.md#updateaction) - Update Workflow Action
|
|
602
608
|
* [enableDisable](docs/sdks/workflows/README.md#enabledisable) - Enable/Disable Workflow
|
|
603
609
|
|
|
604
|
-
|
|
610
|
+
### [Workflows.Actions](docs/sdks/workflowsactions/README.md)
|
|
605
611
|
|
|
606
612
|
* [create](docs/sdks/workflowsactions/README.md#create) - Create Action
|
|
607
613
|
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Bulk Resolve Incidents
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* - This endpoint is used to bulk resolve the incident by IDs.
|
|
16
|
+
* - This endpoint is used to bulk resolve the incident by IDs. The API can handle a maximum of 100 incident IDs in a single request with 10 such calls per minute."
|
|
17
17
|
* - Requires `access_token` as a `Bearer {{token}}` in the `Authorization` header.
|
|
18
18
|
*/
|
|
19
19
|
export declare function incidentsBulkResolve(client: SquadcastSDKCore, request: models.V3IncidentsBulkIncidentIDsRequest, options?: RequestOptions): APIPromise<Result<operations.IncidentsBulkResolveIncidentsResponse, errors.BadRequestError | errors.UnauthorizedError | errors.PaymentRequiredError | errors.ForbiddenError | errors.NotFoundError | errors.ConflictError | errors.UnprocessableEntityError | errors.InternalServerError | errors.BadGatewayError | errors.ServiceUnavailableError | errors.GatewayTimeoutError | SquadcastSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Bulk Resolve Incidents
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* - This endpoint is used to bulk resolve the incident by IDs.
|
|
54
|
+
* - This endpoint is used to bulk resolve the incident by IDs. The API can handle a maximum of 100 incident IDs in a single request with 10 such calls per minute."
|
|
55
55
|
* - Requires `access_token` as a `Bearer {{token}}` in the `Authorization` header.
|
|
56
56
|
*/
|
|
57
57
|
function incidentsBulkResolve(client, request, options) {
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Bulk Acknowledge Incidents
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* - This endpoint is used to bulk acknowledge the incident by IDs.
|
|
16
|
+
* - This endpoint is used to bulk acknowledge the incident by IDs. The API can handle a maximum of 100 incident IDs in a single request with 10 such calls per minute."
|
|
17
17
|
* - Requires `access_token` as a `Bearer {{token}}` in the `Authorization` header.
|
|
18
18
|
*/
|
|
19
19
|
export declare function incidentsV3BulkAcknowledge(client: SquadcastSDKCore, request: models.V3IncidentsBulkIncidentIDsRequest, options?: RequestOptions): APIPromise<Result<operations.IncidentsBulkAcknowledgeIncidentsResponse, errors.BadRequestError | errors.UnauthorizedError | errors.PaymentRequiredError | errors.ForbiddenError | errors.NotFoundError | errors.ConflictError | errors.UnprocessableEntityError | errors.InternalServerError | errors.BadGatewayError | errors.ServiceUnavailableError | errors.GatewayTimeoutError | SquadcastSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Bulk Acknowledge Incidents
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* - This endpoint is used to bulk acknowledge the incident by IDs.
|
|
54
|
+
* - This endpoint is used to bulk acknowledge the incident by IDs. The API can handle a maximum of 100 incident IDs in a single request with 10 such calls per minute."
|
|
55
55
|
* - Requires `access_token` as a `Bearer {{token}}` in the `Authorization` header.
|
|
56
56
|
*/
|
|
57
57
|
function incidentsV3BulkAcknowledge(client, request, options) {
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "1.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.
|
|
34
|
+
readonly sdkVersion: "1.1.0";
|
|
35
|
+
readonly genVersion: "2.801.2";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.1.0 2.801.2 1.0.0 @solarwinds/squadcast-sdk-typescript";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.0.0",
|
|
34
|
-
sdkVersion: "1.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.
|
|
34
|
+
sdkVersion: "1.1.0",
|
|
35
|
+
genVersion: "2.801.2",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.1.0 2.801.2 1.0.0 @solarwinds/squadcast-sdk-typescript",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -38,6 +38,7 @@ export declare function queryJoin(...args: (string | undefined)[]): string;
|
|
|
38
38
|
type QueryEncoderOptions = {
|
|
39
39
|
explode?: boolean;
|
|
40
40
|
charEncoding?: "percent" | "none";
|
|
41
|
+
allowEmptyValue?: string[];
|
|
41
42
|
};
|
|
42
43
|
type QueryEncoder = (key: string, value: unknown, options?: QueryEncoderOptions) => string | undefined;
|
|
43
44
|
type BulkQueryEncoder = (values: Record<string, unknown>, options?: QueryEncoderOptions) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encodings.d.ts","sourceRoot":"","sources":["../../../src/lib/encodings.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAc,SAAQ,KAAK;gBAC1B,OAAO,EAAE,MAAM;CAI5B;AAED,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,GACjE,MAAM,GAAG,SAAS,CAoDpB;AAED,wBAAgB,WAAW,CACzB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,EACd,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAAE,GACjE,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"encodings.d.ts","sourceRoot":"","sources":["../../../src/lib/encodings.ts"],"names":[],"mappings":"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"}
|
|
@@ -96,7 +96,9 @@ function encodeLabel(key, value, options) {
|
|
|
96
96
|
encValue = mapped?.join("").slice(1);
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
99
|
-
const k = options?.explode && (0, is_plain_object_js_1.isPlainObject)(value)
|
|
99
|
+
const k = options?.explode && (0, is_plain_object_js_1.isPlainObject)(value)
|
|
100
|
+
? `${encodeString(pk)}=`
|
|
101
|
+
: "";
|
|
100
102
|
encValue = `${k}${encodeValue(pv)}`;
|
|
101
103
|
}
|
|
102
104
|
out += encValue == null ? "" : `.${encValue}`;
|
|
@@ -339,7 +341,16 @@ function queryEncoder(f) {
|
|
|
339
341
|
explode: options?.explode ?? true,
|
|
340
342
|
charEncoding: options?.charEncoding ?? "percent",
|
|
341
343
|
};
|
|
344
|
+
const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
|
|
342
345
|
const encoded = Object.entries(values).map(([key, value]) => {
|
|
346
|
+
if (allowEmptySet.has(key)) {
|
|
347
|
+
if (value === undefined
|
|
348
|
+
|| value === null
|
|
349
|
+
|| value === ""
|
|
350
|
+
|| (Array.isArray(value) && value.length === 0)) {
|
|
351
|
+
return `${encodeURIComponent(key)}=`;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
343
354
|
return f(key, value, opts);
|
|
344
355
|
});
|
|
345
356
|
return queryJoin(...encoded);
|