@graphlit/durable-agents-sdk 1.0.20260610016-dev → 1.0.20260611001-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/build-info.d.ts +1 -1
- package/dist/src/build-info.js +1 -1
- package/dist/src/generated/api/durable/billing/fundingRequests/index.d.ts +42 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/index.d.ts.map +1 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/index.js +41 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/index.js.map +1 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/index.d.ts +38 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/index.d.ts.map +1 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/index.js +36 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/index.js.map +1 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.d.ts +32 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.d.ts.map +1 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.js +30 -0
- package/dist/src/generated/api/durable/billing/fundingRequests/item/mpp/index.js.map +1 -0
- package/dist/src/generated/api/durable/billing/index.d.ts +5 -0
- package/dist/src/generated/api/durable/billing/index.d.ts.map +1 -1
- package/dist/src/generated/api/durable/billing/index.js +6 -0
- package/dist/src/generated/api/durable/billing/index.js.map +1 -1
- package/dist/src/generated/api/durable/content/index.d.ts.map +1 -1
- package/dist/src/generated/api/durable/content/index.js +2 -1
- package/dist/src/generated/api/durable/content/index.js.map +1 -1
- package/dist/src/generated/api/durable/content/item/index.d.ts +10 -1
- package/dist/src/generated/api/durable/content/item/index.d.ts.map +1 -1
- package/dist/src/generated/api/durable/content/item/index.js +10 -0
- package/dist/src/generated/api/durable/content/item/index.js.map +1 -1
- package/dist/src/generated/api/durable/content/item/inspect/index.d.ts +29 -0
- package/dist/src/generated/api/durable/content/item/inspect/index.d.ts.map +1 -0
- package/dist/src/generated/api/durable/content/item/inspect/index.js +26 -0
- package/dist/src/generated/api/durable/content/item/inspect/index.js.map +1 -0
- package/dist/src/generated/api/durable/vfs/search/index.d.ts +10 -1
- package/dist/src/generated/api/durable/vfs/search/index.d.ts.map +1 -1
- package/dist/src/generated/api/durable/vfs/search/index.js +6 -1
- package/dist/src/generated/api/durable/vfs/search/index.js.map +1 -1
- package/dist/src/generated/models/index.d.ts +926 -23
- package/dist/src/generated/models/index.d.ts.map +1 -1
- package/dist/src/generated/models/index.js +920 -7
- package/dist/src/generated/models/index.js.map +1 -1
- package/openapi/durable-agents.sdk.yaml +629 -1
- package/package.json +1 -1
|
@@ -93,6 +93,15 @@ export function createAgentListFromDiscriminatorValue(parseNode) {
|
|
|
93
93
|
export function createAgentPatchFromDiscriminatorValue(parseNode) {
|
|
94
94
|
return deserializeIntoAgentPatch;
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
98
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
99
|
+
* @returns {AgentTrigger}
|
|
100
|
+
*/
|
|
101
|
+
// @ts-ignore
|
|
102
|
+
export function createAgentTriggerFromDiscriminatorValue(parseNode) {
|
|
103
|
+
return deserializeIntoAgentTrigger;
|
|
104
|
+
}
|
|
96
105
|
/**
|
|
97
106
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
98
107
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -156,6 +165,150 @@ export function createAuditEventFromDiscriminatorValue(parseNode) {
|
|
|
156
165
|
export function createAuditEventListFromDiscriminatorValue(parseNode) {
|
|
157
166
|
return deserializeIntoAuditEventList;
|
|
158
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
170
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
171
|
+
* @returns {BillingFundingCompletion}
|
|
172
|
+
*/
|
|
173
|
+
// @ts-ignore
|
|
174
|
+
export function createBillingFundingCompletionFromDiscriminatorValue(parseNode) {
|
|
175
|
+
return deserializeIntoBillingFundingCompletion;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
179
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
180
|
+
* @returns {BillingFundingLineItem}
|
|
181
|
+
*/
|
|
182
|
+
// @ts-ignore
|
|
183
|
+
export function createBillingFundingLineItemFromDiscriminatorValue(parseNode) {
|
|
184
|
+
return deserializeIntoBillingFundingLineItem;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
188
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
189
|
+
* @returns {BillingFundingLinkCli_mpp_pay}
|
|
190
|
+
*/
|
|
191
|
+
// @ts-ignore
|
|
192
|
+
export function createBillingFundingLinkCli_mpp_payFromDiscriminatorValue(parseNode) {
|
|
193
|
+
return deserializeIntoBillingFundingLinkCli_mpp_pay;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
197
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
198
|
+
* @returns {BillingFundingLinkCli_spend_request_create}
|
|
199
|
+
*/
|
|
200
|
+
// @ts-ignore
|
|
201
|
+
export function createBillingFundingLinkCli_spend_request_createFromDiscriminatorValue(parseNode) {
|
|
202
|
+
return deserializeIntoBillingFundingLinkCli_spend_request_create;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
206
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
207
|
+
* @returns {BillingFundingLinkCli}
|
|
208
|
+
*/
|
|
209
|
+
// @ts-ignore
|
|
210
|
+
export function createBillingFundingLinkCliFromDiscriminatorValue(parseNode) {
|
|
211
|
+
return deserializeIntoBillingFundingLinkCli;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
215
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
216
|
+
* @returns {BillingFundingLinkMcp_mpp_pay_input_without_spend_request_id}
|
|
217
|
+
*/
|
|
218
|
+
// @ts-ignore
|
|
219
|
+
export function createBillingFundingLinkMcp_mpp_pay_input_without_spend_request_idFromDiscriminatorValue(parseNode) {
|
|
220
|
+
return deserializeIntoBillingFundingLinkMcp_mpp_pay_input_without_spend_request_id;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
224
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
225
|
+
* @returns {BillingFundingLinkMcp_spend_request_create_input_without_payment_method}
|
|
226
|
+
*/
|
|
227
|
+
// @ts-ignore
|
|
228
|
+
export function createBillingFundingLinkMcp_spend_request_create_input_without_payment_methodFromDiscriminatorValue(parseNode) {
|
|
229
|
+
return deserializeIntoBillingFundingLinkMcp_spend_request_create_input_without_payment_method;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
233
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
234
|
+
* @returns {BillingFundingLinkMcp}
|
|
235
|
+
*/
|
|
236
|
+
// @ts-ignore
|
|
237
|
+
export function createBillingFundingLinkMcpFromDiscriminatorValue(parseNode) {
|
|
238
|
+
return deserializeIntoBillingFundingLinkMcp;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
242
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
243
|
+
* @returns {BillingFundingMerchant}
|
|
244
|
+
*/
|
|
245
|
+
// @ts-ignore
|
|
246
|
+
export function createBillingFundingMerchantFromDiscriminatorValue(parseNode) {
|
|
247
|
+
return deserializeIntoBillingFundingMerchant;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
251
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
252
|
+
* @returns {BillingFundingMpp_body}
|
|
253
|
+
*/
|
|
254
|
+
// @ts-ignore
|
|
255
|
+
export function createBillingFundingMpp_bodyFromDiscriminatorValue(parseNode) {
|
|
256
|
+
return deserializeIntoBillingFundingMpp_body;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
260
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
261
|
+
* @returns {BillingFundingMppComplete}
|
|
262
|
+
*/
|
|
263
|
+
// @ts-ignore
|
|
264
|
+
export function createBillingFundingMppCompleteFromDiscriminatorValue(parseNode) {
|
|
265
|
+
return deserializeIntoBillingFundingMppComplete;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
269
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
270
|
+
* @returns {BillingFundingMpp}
|
|
271
|
+
*/
|
|
272
|
+
// @ts-ignore
|
|
273
|
+
export function createBillingFundingMppFromDiscriminatorValue(parseNode) {
|
|
274
|
+
return deserializeIntoBillingFundingMpp;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
278
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
279
|
+
* @returns {BillingFundingProviderResult}
|
|
280
|
+
*/
|
|
281
|
+
// @ts-ignore
|
|
282
|
+
export function createBillingFundingProviderResultFromDiscriminatorValue(parseNode) {
|
|
283
|
+
return deserializeIntoBillingFundingProviderResult;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
287
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
288
|
+
* @returns {BillingFundingRequestCreate}
|
|
289
|
+
*/
|
|
290
|
+
// @ts-ignore
|
|
291
|
+
export function createBillingFundingRequestCreateFromDiscriminatorValue(parseNode) {
|
|
292
|
+
return deserializeIntoBillingFundingRequestCreate;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
296
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
297
|
+
* @returns {BillingFundingRequest}
|
|
298
|
+
*/
|
|
299
|
+
// @ts-ignore
|
|
300
|
+
export function createBillingFundingRequestFromDiscriminatorValue(parseNode) {
|
|
301
|
+
return deserializeIntoBillingFundingRequest;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
305
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
306
|
+
* @returns {BillingFundingTotal}
|
|
307
|
+
*/
|
|
308
|
+
// @ts-ignore
|
|
309
|
+
export function createBillingFundingTotalFromDiscriminatorValue(parseNode) {
|
|
310
|
+
return deserializeIntoBillingFundingTotal;
|
|
311
|
+
}
|
|
159
312
|
/**
|
|
160
313
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
161
314
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -408,6 +561,51 @@ export function createContentCreateFromDiscriminatorValue(parseNode) {
|
|
|
408
561
|
export function createContentFromDiscriminatorValue(parseNode) {
|
|
409
562
|
return deserializeIntoContent;
|
|
410
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
566
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
567
|
+
* @returns {ContentInspection_metadata}
|
|
568
|
+
*/
|
|
569
|
+
// @ts-ignore
|
|
570
|
+
export function createContentInspection_metadataFromDiscriminatorValue(parseNode) {
|
|
571
|
+
return deserializeIntoContentInspection_metadata;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
575
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
576
|
+
* @returns {ContentInspectionCoverage}
|
|
577
|
+
*/
|
|
578
|
+
// @ts-ignore
|
|
579
|
+
export function createContentInspectionCoverageFromDiscriminatorValue(parseNode) {
|
|
580
|
+
return deserializeIntoContentInspectionCoverage;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
584
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
585
|
+
* @returns {ContentInspection}
|
|
586
|
+
*/
|
|
587
|
+
// @ts-ignore
|
|
588
|
+
export function createContentInspectionFromDiscriminatorValue(parseNode) {
|
|
589
|
+
return deserializeIntoContentInspection;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
593
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
594
|
+
* @returns {ContentInspectionProvenance}
|
|
595
|
+
*/
|
|
596
|
+
// @ts-ignore
|
|
597
|
+
export function createContentInspectionProvenanceFromDiscriminatorValue(parseNode) {
|
|
598
|
+
return deserializeIntoContentInspectionProvenance;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
602
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
603
|
+
* @returns {ContentInspectionRef}
|
|
604
|
+
*/
|
|
605
|
+
// @ts-ignore
|
|
606
|
+
export function createContentInspectionRefFromDiscriminatorValue(parseNode) {
|
|
607
|
+
return deserializeIntoContentInspectionRef;
|
|
608
|
+
}
|
|
411
609
|
/**
|
|
412
610
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
413
611
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1375,15 +1573,18 @@ export function deserializeIntoAgent(agent = {}) {
|
|
|
1375
1573
|
"created_at": n => { agent.createdAt = n.getDateValue(); },
|
|
1376
1574
|
"description": n => { agent.description = n.getStringValue(); },
|
|
1377
1575
|
"effort": n => { agent.effort = n.getEnumValue(EffortObject); },
|
|
1576
|
+
"focus": n => { agent.focus = n.getStringValue(); },
|
|
1378
1577
|
"heartbeat": n => { agent.heartbeat = n.getObjectValue(createHeartbeatFromDiscriminatorValue); },
|
|
1379
1578
|
"id": n => { agent.id = n.getStringValue(); },
|
|
1380
1579
|
"mode": n => { agent.mode = n.getEnumValue(AgentModeObject); },
|
|
1381
1580
|
"model": n => { agent.model = n.getStringValue(); },
|
|
1382
1581
|
"name": n => { agent.name = n.getStringValue(); },
|
|
1383
1582
|
"persona": n => { agent.persona = n.getObjectValue(createRefFromDiscriminatorValue); },
|
|
1583
|
+
"prompt": n => { agent.prompt = n.getStringValue(); },
|
|
1384
1584
|
"schedule": n => { agent.schedule = n.getObjectValue(createScheduleFromDiscriminatorValue); },
|
|
1385
1585
|
"state": n => { agent.state = n.getEnumValue(AgentMutableStateObject); },
|
|
1386
1586
|
"targets": n => { agent.targets = n.getCollectionOfObjectValues(createTargetInputFromDiscriminatorValue); },
|
|
1587
|
+
"trigger": n => { agent.trigger = n.getObjectValue(createAgentTriggerFromDiscriminatorValue); },
|
|
1387
1588
|
"updated_at": n => { agent.updatedAt = n.getDateValue(); },
|
|
1388
1589
|
"webhook_url": n => { agent.webhookUrl = n.getStringValue(); },
|
|
1389
1590
|
};
|
|
@@ -1399,13 +1600,16 @@ export function deserializeIntoAgentCreate(agentCreate = {}) {
|
|
|
1399
1600
|
"channels": n => { agentCreate.channels = n.getCollectionOfObjectValues(createChannelInputFromDiscriminatorValue); },
|
|
1400
1601
|
"description": n => { agentCreate.description = n.getStringValue(); },
|
|
1401
1602
|
"effort": n => { agentCreate.effort = n.getEnumValue(EffortObject); },
|
|
1603
|
+
"focus": n => { agentCreate.focus = n.getStringValue(); },
|
|
1402
1604
|
"heartbeat": n => { agentCreate.heartbeat = n.getObjectValue(createHeartbeatFromDiscriminatorValue); },
|
|
1403
1605
|
"mode": n => { agentCreate.mode = n.getEnumValue(AgentModeObject); },
|
|
1404
1606
|
"model": n => { agentCreate.model = n.getStringValue(); },
|
|
1405
1607
|
"name": n => { agentCreate.name = n.getStringValue(); },
|
|
1406
1608
|
"persona": n => { agentCreate.persona = n.getObjectValue(createRefFromDiscriminatorValue); },
|
|
1609
|
+
"prompt": n => { agentCreate.prompt = n.getStringValue(); },
|
|
1407
1610
|
"schedule": n => { agentCreate.schedule = n.getObjectValue(createScheduleFromDiscriminatorValue); },
|
|
1408
1611
|
"targets": n => { agentCreate.targets = n.getCollectionOfObjectValues(createTargetInputFromDiscriminatorValue); },
|
|
1612
|
+
"trigger": n => { agentCreate.trigger = n.getObjectValue(createAgentTriggerFromDiscriminatorValue); },
|
|
1409
1613
|
};
|
|
1410
1614
|
}
|
|
1411
1615
|
/**
|
|
@@ -1431,14 +1635,29 @@ export function deserializeIntoAgentPatch(agentPatch = {}) {
|
|
|
1431
1635
|
"channels": n => { agentPatch.channels = n.getCollectionOfObjectValues(createChannelFromDiscriminatorValue); },
|
|
1432
1636
|
"description": n => { agentPatch.description = n.getStringValue(); },
|
|
1433
1637
|
"effort": n => { agentPatch.effort = n.getEnumValue(EffortObject); },
|
|
1638
|
+
"focus": n => { agentPatch.focus = n.getStringValue(); },
|
|
1434
1639
|
"heartbeat": n => { agentPatch.heartbeat = n.getObjectValue(createHeartbeatFromDiscriminatorValue); },
|
|
1435
1640
|
"mode": n => { agentPatch.mode = n.getEnumValue(AgentModeObject); },
|
|
1436
1641
|
"model": n => { agentPatch.model = n.getStringValue(); },
|
|
1437
1642
|
"name": n => { agentPatch.name = n.getStringValue(); },
|
|
1438
1643
|
"persona": n => { agentPatch.persona = n.getObjectValue(createRefFromDiscriminatorValue); },
|
|
1644
|
+
"prompt": n => { agentPatch.prompt = n.getStringValue(); },
|
|
1439
1645
|
"schedule": n => { agentPatch.schedule = n.getObjectValue(createScheduleFromDiscriminatorValue); },
|
|
1440
1646
|
"state": n => { agentPatch.state = n.getEnumValue(AgentMutableStateObject); },
|
|
1441
1647
|
"targets": n => { agentPatch.targets = n.getCollectionOfObjectValues(createTargetFromDiscriminatorValue); },
|
|
1648
|
+
"trigger": n => { agentPatch.trigger = n.getObjectValue(createAgentTriggerFromDiscriminatorValue); },
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
/**
|
|
1652
|
+
* The deserialization information for the current model
|
|
1653
|
+
* @param AgentTrigger The instance to deserialize into.
|
|
1654
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1655
|
+
*/
|
|
1656
|
+
// @ts-ignore
|
|
1657
|
+
export function deserializeIntoAgentTrigger(agentTrigger = {}) {
|
|
1658
|
+
return {
|
|
1659
|
+
"kinds": n => { agentTrigger.kinds = n.getCollectionOfPrimitiveValues(); },
|
|
1660
|
+
"sources": n => { agentTrigger.sources = n.getCollectionOfObjectValues(createRefFromDiscriminatorValue); },
|
|
1442
1661
|
};
|
|
1443
1662
|
}
|
|
1444
1663
|
/**
|
|
@@ -1513,23 +1732,246 @@ export function deserializeIntoAuditEvent(auditEvent = {}) {
|
|
|
1513
1732
|
}
|
|
1514
1733
|
/**
|
|
1515
1734
|
* The deserialization information for the current model
|
|
1516
|
-
* @param AuditEvent_data The instance to deserialize into.
|
|
1735
|
+
* @param AuditEvent_data The instance to deserialize into.
|
|
1736
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1737
|
+
*/
|
|
1738
|
+
// @ts-ignore
|
|
1739
|
+
export function deserializeIntoAuditEvent_data(auditEvent_data = {}) {
|
|
1740
|
+
return {};
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* The deserialization information for the current model
|
|
1744
|
+
* @param AuditEventList The instance to deserialize into.
|
|
1745
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1746
|
+
*/
|
|
1747
|
+
// @ts-ignore
|
|
1748
|
+
export function deserializeIntoAuditEventList(auditEventList = {}) {
|
|
1749
|
+
return {
|
|
1750
|
+
"data": n => { auditEventList.data = n.getCollectionOfObjectValues(createAuditEventFromDiscriminatorValue); },
|
|
1751
|
+
"next_cursor": n => { auditEventList.nextCursor = n.getStringValue(); },
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* The deserialization information for the current model
|
|
1756
|
+
* @param BillingFundingCompletion The instance to deserialize into.
|
|
1757
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1758
|
+
*/
|
|
1759
|
+
// @ts-ignore
|
|
1760
|
+
export function deserializeIntoBillingFundingCompletion(billingFundingCompletion = {}) {
|
|
1761
|
+
return {
|
|
1762
|
+
"funding_request": n => { billingFundingCompletion.fundingRequest = n.getObjectValue(createBillingFundingRequestFromDiscriminatorValue); },
|
|
1763
|
+
"usage": n => { billingFundingCompletion.usage = n.getObjectValue(createBillingUsageFromDiscriminatorValue); },
|
|
1764
|
+
};
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* The deserialization information for the current model
|
|
1768
|
+
* @param BillingFundingLineItem The instance to deserialize into.
|
|
1769
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1770
|
+
*/
|
|
1771
|
+
// @ts-ignore
|
|
1772
|
+
export function deserializeIntoBillingFundingLineItem(billingFundingLineItem = {}) {
|
|
1773
|
+
return {
|
|
1774
|
+
"description": n => { billingFundingLineItem.description = n.getStringValue(); },
|
|
1775
|
+
"name": n => { billingFundingLineItem.name = n.getStringValue(); },
|
|
1776
|
+
"quantity": n => { billingFundingLineItem.quantity = n.getNumberValue(); },
|
|
1777
|
+
"unit_amount": n => { billingFundingLineItem.unitAmount = n.getNumberValue(); },
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* The deserialization information for the current model
|
|
1782
|
+
* @param BillingFundingLinkCli The instance to deserialize into.
|
|
1783
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1784
|
+
*/
|
|
1785
|
+
// @ts-ignore
|
|
1786
|
+
export function deserializeIntoBillingFundingLinkCli(billingFundingLinkCli = {}) {
|
|
1787
|
+
return {
|
|
1788
|
+
"mpp_pay": n => { billingFundingLinkCli.mppPay = n.getObjectValue(createBillingFundingLinkCli_mpp_payFromDiscriminatorValue); },
|
|
1789
|
+
"spend_request_create": n => { billingFundingLinkCli.spendRequestCreate = n.getObjectValue(createBillingFundingLinkCli_spend_request_createFromDiscriminatorValue); },
|
|
1790
|
+
};
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* The deserialization information for the current model
|
|
1794
|
+
* @param BillingFundingLinkCli_mpp_pay The instance to deserialize into.
|
|
1795
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1796
|
+
*/
|
|
1797
|
+
// @ts-ignore
|
|
1798
|
+
export function deserializeIntoBillingFundingLinkCli_mpp_pay(billingFundingLinkCli_mpp_pay = {}) {
|
|
1799
|
+
return {
|
|
1800
|
+
"args_without_spend_request_id": n => { billingFundingLinkCli_mpp_pay.argsWithoutSpendRequestId = n.getCollectionOfPrimitiveValues(); },
|
|
1801
|
+
"spend_request_id_required": n => { billingFundingLinkCli_mpp_pay.spendRequestIdRequired = n.getBooleanValue(); },
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* The deserialization information for the current model
|
|
1806
|
+
* @param BillingFundingLinkCli_spend_request_create The instance to deserialize into.
|
|
1807
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1808
|
+
*/
|
|
1809
|
+
// @ts-ignore
|
|
1810
|
+
export function deserializeIntoBillingFundingLinkCli_spend_request_create(billingFundingLinkCli_spend_request_create = {}) {
|
|
1811
|
+
return {
|
|
1812
|
+
"args_without_payment_method": n => { billingFundingLinkCli_spend_request_create.argsWithoutPaymentMethod = n.getCollectionOfPrimitiveValues(); },
|
|
1813
|
+
"payment_method_id_required": n => { billingFundingLinkCli_spend_request_create.paymentMethodIdRequired = n.getBooleanValue(); },
|
|
1814
|
+
};
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* The deserialization information for the current model
|
|
1818
|
+
* @param BillingFundingLinkMcp The instance to deserialize into.
|
|
1819
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1820
|
+
*/
|
|
1821
|
+
// @ts-ignore
|
|
1822
|
+
export function deserializeIntoBillingFundingLinkMcp(billingFundingLinkMcp = {}) {
|
|
1823
|
+
return {
|
|
1824
|
+
"mpp_pay_input_without_spend_request_id": n => { billingFundingLinkMcp.mppPayInputWithoutSpendRequestId = n.getObjectValue(createBillingFundingLinkMcp_mpp_pay_input_without_spend_request_idFromDiscriminatorValue); },
|
|
1825
|
+
"spend_request_create_input_without_payment_method": n => { billingFundingLinkMcp.spendRequestCreateInputWithoutPaymentMethod = n.getObjectValue(createBillingFundingLinkMcp_spend_request_create_input_without_payment_methodFromDiscriminatorValue); },
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* The deserialization information for the current model
|
|
1830
|
+
* @param BillingFundingLinkMcp_mpp_pay_input_without_spend_request_id The instance to deserialize into.
|
|
1831
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1832
|
+
*/
|
|
1833
|
+
// @ts-ignore
|
|
1834
|
+
export function deserializeIntoBillingFundingLinkMcp_mpp_pay_input_without_spend_request_id(billingFundingLinkMcp_mpp_pay_input_without_spend_request_id = {}) {
|
|
1835
|
+
return {
|
|
1836
|
+
"data": n => { billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.data = n.getStringValue(); },
|
|
1837
|
+
"method": n => { billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.method = n.getStringValue(); },
|
|
1838
|
+
"url": n => { billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.url = n.getStringValue(); },
|
|
1839
|
+
};
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* The deserialization information for the current model
|
|
1843
|
+
* @param BillingFundingLinkMcp_spend_request_create_input_without_payment_method The instance to deserialize into.
|
|
1844
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1845
|
+
*/
|
|
1846
|
+
// @ts-ignore
|
|
1847
|
+
export function deserializeIntoBillingFundingLinkMcp_spend_request_create_input_without_payment_method(billingFundingLinkMcp_spend_request_create_input_without_payment_method = {}) {
|
|
1848
|
+
return {
|
|
1849
|
+
"amount": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.amount = n.getNumberValue(); },
|
|
1850
|
+
"context": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.context = n.getStringValue(); },
|
|
1851
|
+
"credentialType": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.credentialType = n.getStringValue(); },
|
|
1852
|
+
"currency": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.currency = n.getStringValue(); },
|
|
1853
|
+
"lineItem": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.lineItem = n.getCollectionOfObjectValues(createBillingFundingLineItemFromDiscriminatorValue); },
|
|
1854
|
+
"networkId": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.networkId = n.getStringValue(); },
|
|
1855
|
+
"requestApproval": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.requestApproval = n.getBooleanValue(); },
|
|
1856
|
+
"total": n => { billingFundingLinkMcp_spend_request_create_input_without_payment_method.total = n.getCollectionOfObjectValues(createBillingFundingTotalFromDiscriminatorValue); },
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* The deserialization information for the current model
|
|
1861
|
+
* @param BillingFundingMerchant The instance to deserialize into.
|
|
1862
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1863
|
+
*/
|
|
1864
|
+
// @ts-ignore
|
|
1865
|
+
export function deserializeIntoBillingFundingMerchant(billingFundingMerchant = {}) {
|
|
1866
|
+
return {
|
|
1867
|
+
"name": n => { billingFundingMerchant.name = n.getStringValue(); },
|
|
1868
|
+
"url": n => { billingFundingMerchant.url = n.getStringValue(); },
|
|
1869
|
+
};
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
* The deserialization information for the current model
|
|
1873
|
+
* @param BillingFundingMpp The instance to deserialize into.
|
|
1874
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1875
|
+
*/
|
|
1876
|
+
// @ts-ignore
|
|
1877
|
+
export function deserializeIntoBillingFundingMpp(billingFundingMpp = {}) {
|
|
1878
|
+
return {
|
|
1879
|
+
"body": n => { billingFundingMpp.body = n.getObjectValue(createBillingFundingMpp_bodyFromDiscriminatorValue); },
|
|
1880
|
+
"challenge": n => { billingFundingMpp.challenge = n.getStringValue(); },
|
|
1881
|
+
"debug_decode_command": n => { billingFundingMpp.debugDecodeCommand = n.getStringValue(); },
|
|
1882
|
+
"method": n => { billingFundingMpp.method = n.getStringValue(); },
|
|
1883
|
+
"network_id": n => { billingFundingMpp.networkId = n.getStringValue(); },
|
|
1884
|
+
"pay_command": n => { billingFundingMpp.payCommand = n.getStringValue(); },
|
|
1885
|
+
"url": n => { billingFundingMpp.url = n.getStringValue(); },
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1888
|
+
/**
|
|
1889
|
+
* The deserialization information for the current model
|
|
1890
|
+
* @param BillingFundingMpp_body The instance to deserialize into.
|
|
1891
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1892
|
+
*/
|
|
1893
|
+
// @ts-ignore
|
|
1894
|
+
export function deserializeIntoBillingFundingMpp_body(billingFundingMpp_body = {}) {
|
|
1895
|
+
return {
|
|
1896
|
+
"funding_request_id": n => { billingFundingMpp_body.fundingRequestId = n.getStringValue(); },
|
|
1897
|
+
};
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* The deserialization information for the current model
|
|
1901
|
+
* @param BillingFundingMppComplete The instance to deserialize into.
|
|
1902
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1903
|
+
*/
|
|
1904
|
+
// @ts-ignore
|
|
1905
|
+
export function deserializeIntoBillingFundingMppComplete(billingFundingMppComplete = {}) {
|
|
1906
|
+
return {
|
|
1907
|
+
"funding_request_id": n => { billingFundingMppComplete.fundingRequestId = n.getStringValue(); },
|
|
1908
|
+
};
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* The deserialization information for the current model
|
|
1912
|
+
* @param BillingFundingProviderResult The instance to deserialize into.
|
|
1913
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1914
|
+
*/
|
|
1915
|
+
// @ts-ignore
|
|
1916
|
+
export function deserializeIntoBillingFundingProviderResult(billingFundingProviderResult = {}) {
|
|
1917
|
+
return {
|
|
1918
|
+
"charge_id": n => { billingFundingProviderResult.chargeId = n.getStringValue(); },
|
|
1919
|
+
"kind": n => { billingFundingProviderResult.kind = n.getStringValue(); },
|
|
1920
|
+
"payment_intent_id": n => { billingFundingProviderResult.paymentIntentId = n.getStringValue(); },
|
|
1921
|
+
};
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* The deserialization information for the current model
|
|
1925
|
+
* @param BillingFundingRequest The instance to deserialize into.
|
|
1926
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1927
|
+
*/
|
|
1928
|
+
// @ts-ignore
|
|
1929
|
+
export function deserializeIntoBillingFundingRequest(billingFundingRequest = {}) {
|
|
1930
|
+
return {
|
|
1931
|
+
"amount_cents": n => { billingFundingRequest.amountCents = n.getNumberValue(); },
|
|
1932
|
+
"completed_at": n => { billingFundingRequest.completedAt = n.getDateValue(); },
|
|
1933
|
+
"context": n => { billingFundingRequest.context = n.getStringValue(); },
|
|
1934
|
+
"created_at": n => { billingFundingRequest.createdAt = n.getDateValue(); },
|
|
1935
|
+
"credits": n => { billingFundingRequest.credits = n.getNumberValue(); },
|
|
1936
|
+
"currency": n => { billingFundingRequest.currency = n.getStringValue(); },
|
|
1937
|
+
"expires_at": n => { billingFundingRequest.expiresAt = n.getDateValue(); },
|
|
1938
|
+
"failure_code": n => { billingFundingRequest.failureCode = n.getStringValue(); },
|
|
1939
|
+
"failure_message": n => { billingFundingRequest.failureMessage = n.getStringValue(); },
|
|
1940
|
+
"id": n => { billingFundingRequest.id = n.getStringValue(); },
|
|
1941
|
+
"line_items": n => { billingFundingRequest.lineItems = n.getCollectionOfObjectValues(createBillingFundingLineItemFromDiscriminatorValue); },
|
|
1942
|
+
"link_cli": n => { billingFundingRequest.linkCli = n.getObjectValue(createBillingFundingLinkCliFromDiscriminatorValue); },
|
|
1943
|
+
"link_mcp": n => { billingFundingRequest.linkMcp = n.getObjectValue(createBillingFundingLinkMcpFromDiscriminatorValue); },
|
|
1944
|
+
"merchant": n => { billingFundingRequest.merchant = n.getObjectValue(createBillingFundingMerchantFromDiscriminatorValue); },
|
|
1945
|
+
"mpp": n => { billingFundingRequest.mpp = n.getObjectValue(createBillingFundingMppFromDiscriminatorValue); },
|
|
1946
|
+
"provider_result": n => { billingFundingRequest.providerResult = n.getObjectValue(createBillingFundingProviderResultFromDiscriminatorValue); },
|
|
1947
|
+
"status": n => { billingFundingRequest.status = n.getEnumValue(BillingFundingStatusObject); },
|
|
1948
|
+
"totals": n => { billingFundingRequest.totals = n.getCollectionOfObjectValues(createBillingFundingTotalFromDiscriminatorValue); },
|
|
1949
|
+
"updated_at": n => { billingFundingRequest.updatedAt = n.getDateValue(); },
|
|
1950
|
+
};
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
* The deserialization information for the current model
|
|
1954
|
+
* @param BillingFundingRequestCreate The instance to deserialize into.
|
|
1517
1955
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1518
1956
|
*/
|
|
1519
1957
|
// @ts-ignore
|
|
1520
|
-
export function
|
|
1521
|
-
return {
|
|
1958
|
+
export function deserializeIntoBillingFundingRequestCreate(billingFundingRequestCreate = {}) {
|
|
1959
|
+
return {
|
|
1960
|
+
"credits": n => { billingFundingRequestCreate.credits = n.getNumberValue(); },
|
|
1961
|
+
"payment_method": n => { billingFundingRequestCreate.paymentMethod = n.getStringValue(); },
|
|
1962
|
+
};
|
|
1522
1963
|
}
|
|
1523
1964
|
/**
|
|
1524
1965
|
* The deserialization information for the current model
|
|
1525
|
-
* @param
|
|
1966
|
+
* @param BillingFundingTotal The instance to deserialize into.
|
|
1526
1967
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1527
1968
|
*/
|
|
1528
1969
|
// @ts-ignore
|
|
1529
|
-
export function
|
|
1970
|
+
export function deserializeIntoBillingFundingTotal(billingFundingTotal = {}) {
|
|
1530
1971
|
return {
|
|
1531
|
-
"
|
|
1532
|
-
"
|
|
1972
|
+
"amount": n => { billingFundingTotal.amount = n.getNumberValue(); },
|
|
1973
|
+
"display_text": n => { billingFundingTotal.displayText = n.getStringValue(); },
|
|
1974
|
+
"type": n => { billingFundingTotal.type = n.getStringValue(); },
|
|
1533
1975
|
};
|
|
1534
1976
|
}
|
|
1535
1977
|
/**
|
|
@@ -1951,6 +2393,79 @@ export function deserializeIntoContentCreate(contentCreate = {}) {
|
|
|
1951
2393
|
"wait": n => { contentCreate.wait = n.getBooleanValue(); },
|
|
1952
2394
|
};
|
|
1953
2395
|
}
|
|
2396
|
+
/**
|
|
2397
|
+
* The deserialization information for the current model
|
|
2398
|
+
* @param ContentInspection The instance to deserialize into.
|
|
2399
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2400
|
+
*/
|
|
2401
|
+
// @ts-ignore
|
|
2402
|
+
export function deserializeIntoContentInspection(contentInspection = {}) {
|
|
2403
|
+
return {
|
|
2404
|
+
"children": n => { contentInspection.children = n.getCollectionOfObjectValues(createContentInspectionRefFromDiscriminatorValue); },
|
|
2405
|
+
"content": n => { contentInspection.content = n.getObjectValue(createContentFromDiscriminatorValue); },
|
|
2406
|
+
"coverage": n => { contentInspection.coverage = n.getObjectValue(createContentInspectionCoverageFromDiscriminatorValue); },
|
|
2407
|
+
"description": n => { contentInspection.description = n.getStringValue(); },
|
|
2408
|
+
"markdown": n => { contentInspection.markdown = n.getStringValue(); },
|
|
2409
|
+
"metadata": n => { contentInspection.metadata = n.getObjectValue(createContentInspection_metadataFromDiscriminatorValue); },
|
|
2410
|
+
"mime_type": n => { contentInspection.mimeType = n.getStringValue(); },
|
|
2411
|
+
"name": n => { contentInspection.name = n.getStringValue(); },
|
|
2412
|
+
"parent": n => { contentInspection.parent = n.getObjectValue(createContentInspectionRefFromDiscriminatorValue); },
|
|
2413
|
+
"provenance": n => { contentInspection.provenance = n.getObjectValue(createContentInspectionProvenanceFromDiscriminatorValue); },
|
|
2414
|
+
"resource_type": n => { contentInspection.resourceType = n.getEnumValue(ContentInspection_resource_typeObject); },
|
|
2415
|
+
"summary": n => { contentInspection.summary = n.getStringValue(); },
|
|
2416
|
+
"text": n => { contentInspection.text = n.getStringValue(); },
|
|
2417
|
+
"uri": n => { contentInspection.uri = n.getStringValue(); },
|
|
2418
|
+
};
|
|
2419
|
+
}
|
|
2420
|
+
/**
|
|
2421
|
+
* The deserialization information for the current model
|
|
2422
|
+
* @param ContentInspection_metadata The instance to deserialize into.
|
|
2423
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2424
|
+
*/
|
|
2425
|
+
// @ts-ignore
|
|
2426
|
+
export function deserializeIntoContentInspection_metadata(contentInspection_metadata = {}) {
|
|
2427
|
+
return {};
|
|
2428
|
+
}
|
|
2429
|
+
/**
|
|
2430
|
+
* The deserialization information for the current model
|
|
2431
|
+
* @param ContentInspectionCoverage The instance to deserialize into.
|
|
2432
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2433
|
+
*/
|
|
2434
|
+
// @ts-ignore
|
|
2435
|
+
export function deserializeIntoContentInspectionCoverage(contentInspectionCoverage = {}) {
|
|
2436
|
+
return {
|
|
2437
|
+
"full_text_available": n => { contentInspectionCoverage.fullTextAvailable = n.getBooleanValue(); },
|
|
2438
|
+
"returned_chars": n => { contentInspectionCoverage.returnedChars = n.getNumberValue(); },
|
|
2439
|
+
"source_kind": n => { contentInspectionCoverage.sourceKind = n.getEnumValue(ContentInspectionCoverage_source_kindObject); },
|
|
2440
|
+
"status": n => { contentInspectionCoverage.status = n.getEnumValue(ContentInspectionCoverage_statusObject); },
|
|
2441
|
+
"total_chars": n => { contentInspectionCoverage.totalChars = n.getNumberValue(); },
|
|
2442
|
+
"truncation_reason": n => { contentInspectionCoverage.truncationReason = n.getStringValue(); },
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
/**
|
|
2446
|
+
* The deserialization information for the current model
|
|
2447
|
+
* @param ContentInspectionProvenance The instance to deserialize into.
|
|
2448
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2449
|
+
*/
|
|
2450
|
+
// @ts-ignore
|
|
2451
|
+
export function deserializeIntoContentInspectionProvenance(contentInspectionProvenance = {}) {
|
|
2452
|
+
return {
|
|
2453
|
+
"reused_existing_data": n => { contentInspectionProvenance.reusedExistingData = n.getBooleanValue(); },
|
|
2454
|
+
"source": n => { contentInspectionProvenance.source = n.getEnumValue(ContentInspectionProvenance_sourceObject); },
|
|
2455
|
+
};
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* The deserialization information for the current model
|
|
2459
|
+
* @param ContentInspectionRef The instance to deserialize into.
|
|
2460
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2461
|
+
*/
|
|
2462
|
+
// @ts-ignore
|
|
2463
|
+
export function deserializeIntoContentInspectionRef(contentInspectionRef = {}) {
|
|
2464
|
+
return {
|
|
2465
|
+
"name": n => { contentInspectionRef.name = n.getStringValue(); },
|
|
2466
|
+
"uri": n => { contentInspectionRef.uri = n.getStringValue(); },
|
|
2467
|
+
};
|
|
2468
|
+
}
|
|
1954
2469
|
/**
|
|
1955
2470
|
* The deserialization information for the current model
|
|
1956
2471
|
* @param ContentList The instance to deserialize into.
|
|
@@ -2678,13 +3193,16 @@ export function deserializeIntoRun(run = {}) {
|
|
|
2678
3193
|
"agent": n => { run.agent = n.getObjectValue(createRefFromDiscriminatorValue); },
|
|
2679
3194
|
"completed_at": n => { run.completedAt = n.getDateValue(); },
|
|
2680
3195
|
"created_at": n => { run.createdAt = n.getDateValue(); },
|
|
3196
|
+
"current_execution_id": n => { run.currentExecutionId = n.getStringValue(); },
|
|
2681
3197
|
"error": n => { run.errorEscaped = n.getObjectValue(createRunErrorFromDiscriminatorValue); },
|
|
2682
3198
|
"id": n => { run.id = n.getStringValue(); },
|
|
2683
3199
|
"input": n => { run.input = n.getObjectValue(createRun_inputFromDiscriminatorValue); },
|
|
3200
|
+
"latest_execution_id": n => { run.latestExecutionId = n.getStringValue(); },
|
|
2684
3201
|
"mode": n => { run.mode = n.getEnumValue(RunModeObject); },
|
|
2685
3202
|
"output": n => { run.output = n.getObjectValue(createRun_outputFromDiscriminatorValue); },
|
|
2686
3203
|
"started_at": n => { run.startedAt = n.getDateValue(); },
|
|
2687
3204
|
"status": n => { run.status = n.getEnumValue(RunStatusObject); },
|
|
3205
|
+
"terminal_execution_id": n => { run.terminalExecutionId = n.getStringValue(); },
|
|
2688
3206
|
"updated_at": n => { run.updatedAt = n.getDateValue(); },
|
|
2689
3207
|
"usage": n => { run.usage = n.getObjectValue(createUsageSummaryFromDiscriminatorValue); },
|
|
2690
3208
|
};
|
|
@@ -3371,15 +3889,18 @@ export function serializeAgent(writer, agent = {}, isSerializingDerivedType = fa
|
|
|
3371
3889
|
writer.writeDateValue("created_at", agent.createdAt);
|
|
3372
3890
|
writer.writeStringValue("description", agent.description);
|
|
3373
3891
|
writer.writeEnumValue("effort", agent.effort);
|
|
3892
|
+
writer.writeStringValue("focus", agent.focus);
|
|
3374
3893
|
writer.writeObjectValue("heartbeat", agent.heartbeat, serializeHeartbeat);
|
|
3375
3894
|
writer.writeStringValue("id", agent.id);
|
|
3376
3895
|
writer.writeEnumValue("mode", agent.mode);
|
|
3377
3896
|
writer.writeStringValue("model", agent.model);
|
|
3378
3897
|
writer.writeStringValue("name", agent.name);
|
|
3379
3898
|
writer.writeObjectValue("persona", agent.persona, serializeRef);
|
|
3899
|
+
writer.writeStringValue("prompt", agent.prompt);
|
|
3380
3900
|
writer.writeObjectValue("schedule", agent.schedule, serializeSchedule);
|
|
3381
3901
|
writer.writeEnumValue("state", agent.state);
|
|
3382
3902
|
writer.writeCollectionOfObjectValues("targets", agent.targets, serializeTargetInput);
|
|
3903
|
+
writer.writeObjectValue("trigger", agent.trigger, serializeAgentTrigger);
|
|
3383
3904
|
writer.writeDateValue("updated_at", agent.updatedAt);
|
|
3384
3905
|
writer.writeStringValue("webhook_url", agent.webhookUrl);
|
|
3385
3906
|
}
|
|
@@ -3397,13 +3918,16 @@ export function serializeAgentCreate(writer, agentCreate = {}, isSerializingDeri
|
|
|
3397
3918
|
writer.writeCollectionOfObjectValues("channels", agentCreate.channels, serializeChannelInput);
|
|
3398
3919
|
writer.writeStringValue("description", agentCreate.description);
|
|
3399
3920
|
writer.writeEnumValue("effort", agentCreate.effort);
|
|
3921
|
+
writer.writeStringValue("focus", agentCreate.focus);
|
|
3400
3922
|
writer.writeObjectValue("heartbeat", agentCreate.heartbeat, serializeHeartbeat);
|
|
3401
3923
|
writer.writeEnumValue("mode", agentCreate.mode);
|
|
3402
3924
|
writer.writeStringValue("model", agentCreate.model);
|
|
3403
3925
|
writer.writeStringValue("name", agentCreate.name);
|
|
3404
3926
|
writer.writeObjectValue("persona", agentCreate.persona, serializeRef);
|
|
3927
|
+
writer.writeStringValue("prompt", agentCreate.prompt);
|
|
3405
3928
|
writer.writeObjectValue("schedule", agentCreate.schedule, serializeSchedule);
|
|
3406
3929
|
writer.writeCollectionOfObjectValues("targets", agentCreate.targets, serializeTargetInput);
|
|
3930
|
+
writer.writeObjectValue("trigger", agentCreate.trigger, serializeAgentTrigger);
|
|
3407
3931
|
}
|
|
3408
3932
|
/**
|
|
3409
3933
|
* Serializes information the current object
|
|
@@ -3433,14 +3957,31 @@ export function serializeAgentPatch(writer, agentPatch = {}, isSerializingDerive
|
|
|
3433
3957
|
writer.writeCollectionOfObjectValues("channels", agentPatch.channels, serializeChannel);
|
|
3434
3958
|
writer.writeStringValue("description", agentPatch.description);
|
|
3435
3959
|
writer.writeEnumValue("effort", agentPatch.effort);
|
|
3960
|
+
writer.writeStringValue("focus", agentPatch.focus);
|
|
3436
3961
|
writer.writeObjectValue("heartbeat", agentPatch.heartbeat, serializeHeartbeat);
|
|
3437
3962
|
writer.writeEnumValue("mode", agentPatch.mode);
|
|
3438
3963
|
writer.writeStringValue("model", agentPatch.model);
|
|
3439
3964
|
writer.writeStringValue("name", agentPatch.name);
|
|
3440
3965
|
writer.writeObjectValue("persona", agentPatch.persona, serializeRef);
|
|
3966
|
+
writer.writeStringValue("prompt", agentPatch.prompt);
|
|
3441
3967
|
writer.writeObjectValue("schedule", agentPatch.schedule, serializeSchedule);
|
|
3442
3968
|
writer.writeEnumValue("state", agentPatch.state);
|
|
3443
3969
|
writer.writeCollectionOfObjectValues("targets", agentPatch.targets, serializeTarget);
|
|
3970
|
+
writer.writeObjectValue("trigger", agentPatch.trigger, serializeAgentTrigger);
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* Serializes information the current object
|
|
3974
|
+
* @param AgentTrigger The instance to serialize from.
|
|
3975
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3976
|
+
* @param writer Serialization writer to use to serialize this model
|
|
3977
|
+
*/
|
|
3978
|
+
// @ts-ignore
|
|
3979
|
+
export function serializeAgentTrigger(writer, agentTrigger = {}, isSerializingDerivedType = false) {
|
|
3980
|
+
if (!agentTrigger || isSerializingDerivedType) {
|
|
3981
|
+
return;
|
|
3982
|
+
}
|
|
3983
|
+
writer.writeCollectionOfPrimitiveValues("kinds", agentTrigger.kinds);
|
|
3984
|
+
writer.writeCollectionOfObjectValues("sources", agentTrigger.sources, serializeRef);
|
|
3444
3985
|
}
|
|
3445
3986
|
/**
|
|
3446
3987
|
* Serializes information the current object
|
|
@@ -3549,6 +4090,261 @@ export function serializeAuditEventList(writer, auditEventList = {}, isSerializi
|
|
|
3549
4090
|
writer.writeCollectionOfObjectValues("data", auditEventList.data, serializeAuditEvent);
|
|
3550
4091
|
writer.writeStringValue("next_cursor", auditEventList.nextCursor);
|
|
3551
4092
|
}
|
|
4093
|
+
/**
|
|
4094
|
+
* Serializes information the current object
|
|
4095
|
+
* @param BillingFundingCompletion The instance to serialize from.
|
|
4096
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4097
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4098
|
+
*/
|
|
4099
|
+
// @ts-ignore
|
|
4100
|
+
export function serializeBillingFundingCompletion(writer, billingFundingCompletion = {}, isSerializingDerivedType = false) {
|
|
4101
|
+
if (!billingFundingCompletion || isSerializingDerivedType) {
|
|
4102
|
+
return;
|
|
4103
|
+
}
|
|
4104
|
+
writer.writeObjectValue("funding_request", billingFundingCompletion.fundingRequest, serializeBillingFundingRequest);
|
|
4105
|
+
writer.writeObjectValue("usage", billingFundingCompletion.usage, serializeBillingUsage);
|
|
4106
|
+
}
|
|
4107
|
+
/**
|
|
4108
|
+
* Serializes information the current object
|
|
4109
|
+
* @param BillingFundingLineItem The instance to serialize from.
|
|
4110
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4111
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4112
|
+
*/
|
|
4113
|
+
// @ts-ignore
|
|
4114
|
+
export function serializeBillingFundingLineItem(writer, billingFundingLineItem = {}, isSerializingDerivedType = false) {
|
|
4115
|
+
if (!billingFundingLineItem || isSerializingDerivedType) {
|
|
4116
|
+
return;
|
|
4117
|
+
}
|
|
4118
|
+
writer.writeStringValue("description", billingFundingLineItem.description);
|
|
4119
|
+
writer.writeStringValue("name", billingFundingLineItem.name);
|
|
4120
|
+
writer.writeNumberValue("quantity", billingFundingLineItem.quantity);
|
|
4121
|
+
writer.writeNumberValue("unit_amount", billingFundingLineItem.unitAmount);
|
|
4122
|
+
}
|
|
4123
|
+
/**
|
|
4124
|
+
* Serializes information the current object
|
|
4125
|
+
* @param BillingFundingLinkCli The instance to serialize from.
|
|
4126
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4127
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4128
|
+
*/
|
|
4129
|
+
// @ts-ignore
|
|
4130
|
+
export function serializeBillingFundingLinkCli(writer, billingFundingLinkCli = {}, isSerializingDerivedType = false) {
|
|
4131
|
+
if (!billingFundingLinkCli || isSerializingDerivedType) {
|
|
4132
|
+
return;
|
|
4133
|
+
}
|
|
4134
|
+
writer.writeObjectValue("mpp_pay", billingFundingLinkCli.mppPay, serializeBillingFundingLinkCli_mpp_pay);
|
|
4135
|
+
writer.writeObjectValue("spend_request_create", billingFundingLinkCli.spendRequestCreate, serializeBillingFundingLinkCli_spend_request_create);
|
|
4136
|
+
}
|
|
4137
|
+
/**
|
|
4138
|
+
* Serializes information the current object
|
|
4139
|
+
* @param BillingFundingLinkCli_mpp_pay The instance to serialize from.
|
|
4140
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4141
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4142
|
+
*/
|
|
4143
|
+
// @ts-ignore
|
|
4144
|
+
export function serializeBillingFundingLinkCli_mpp_pay(writer, billingFundingLinkCli_mpp_pay = {}, isSerializingDerivedType = false) {
|
|
4145
|
+
if (!billingFundingLinkCli_mpp_pay || isSerializingDerivedType) {
|
|
4146
|
+
return;
|
|
4147
|
+
}
|
|
4148
|
+
writer.writeCollectionOfPrimitiveValues("args_without_spend_request_id", billingFundingLinkCli_mpp_pay.argsWithoutSpendRequestId);
|
|
4149
|
+
writer.writeBooleanValue("spend_request_id_required", billingFundingLinkCli_mpp_pay.spendRequestIdRequired);
|
|
4150
|
+
}
|
|
4151
|
+
/**
|
|
4152
|
+
* Serializes information the current object
|
|
4153
|
+
* @param BillingFundingLinkCli_spend_request_create The instance to serialize from.
|
|
4154
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4155
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4156
|
+
*/
|
|
4157
|
+
// @ts-ignore
|
|
4158
|
+
export function serializeBillingFundingLinkCli_spend_request_create(writer, billingFundingLinkCli_spend_request_create = {}, isSerializingDerivedType = false) {
|
|
4159
|
+
if (!billingFundingLinkCli_spend_request_create || isSerializingDerivedType) {
|
|
4160
|
+
return;
|
|
4161
|
+
}
|
|
4162
|
+
writer.writeCollectionOfPrimitiveValues("args_without_payment_method", billingFundingLinkCli_spend_request_create.argsWithoutPaymentMethod);
|
|
4163
|
+
writer.writeBooleanValue("payment_method_id_required", billingFundingLinkCli_spend_request_create.paymentMethodIdRequired);
|
|
4164
|
+
}
|
|
4165
|
+
/**
|
|
4166
|
+
* Serializes information the current object
|
|
4167
|
+
* @param BillingFundingLinkMcp The instance to serialize from.
|
|
4168
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4169
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4170
|
+
*/
|
|
4171
|
+
// @ts-ignore
|
|
4172
|
+
export function serializeBillingFundingLinkMcp(writer, billingFundingLinkMcp = {}, isSerializingDerivedType = false) {
|
|
4173
|
+
if (!billingFundingLinkMcp || isSerializingDerivedType) {
|
|
4174
|
+
return;
|
|
4175
|
+
}
|
|
4176
|
+
writer.writeObjectValue("mpp_pay_input_without_spend_request_id", billingFundingLinkMcp.mppPayInputWithoutSpendRequestId, serializeBillingFundingLinkMcp_mpp_pay_input_without_spend_request_id);
|
|
4177
|
+
writer.writeObjectValue("spend_request_create_input_without_payment_method", billingFundingLinkMcp.spendRequestCreateInputWithoutPaymentMethod, serializeBillingFundingLinkMcp_spend_request_create_input_without_payment_method);
|
|
4178
|
+
}
|
|
4179
|
+
/**
|
|
4180
|
+
* Serializes information the current object
|
|
4181
|
+
* @param BillingFundingLinkMcp_mpp_pay_input_without_spend_request_id The instance to serialize from.
|
|
4182
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4183
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4184
|
+
*/
|
|
4185
|
+
// @ts-ignore
|
|
4186
|
+
export function serializeBillingFundingLinkMcp_mpp_pay_input_without_spend_request_id(writer, billingFundingLinkMcp_mpp_pay_input_without_spend_request_id = {}, isSerializingDerivedType = false) {
|
|
4187
|
+
if (!billingFundingLinkMcp_mpp_pay_input_without_spend_request_id || isSerializingDerivedType) {
|
|
4188
|
+
return;
|
|
4189
|
+
}
|
|
4190
|
+
writer.writeStringValue("data", billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.data);
|
|
4191
|
+
writer.writeStringValue("method", billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.method);
|
|
4192
|
+
writer.writeStringValue("url", billingFundingLinkMcp_mpp_pay_input_without_spend_request_id.url);
|
|
4193
|
+
}
|
|
4194
|
+
/**
|
|
4195
|
+
* Serializes information the current object
|
|
4196
|
+
* @param BillingFundingLinkMcp_spend_request_create_input_without_payment_method The instance to serialize from.
|
|
4197
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4198
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4199
|
+
*/
|
|
4200
|
+
// @ts-ignore
|
|
4201
|
+
export function serializeBillingFundingLinkMcp_spend_request_create_input_without_payment_method(writer, billingFundingLinkMcp_spend_request_create_input_without_payment_method = {}, isSerializingDerivedType = false) {
|
|
4202
|
+
if (!billingFundingLinkMcp_spend_request_create_input_without_payment_method || isSerializingDerivedType) {
|
|
4203
|
+
return;
|
|
4204
|
+
}
|
|
4205
|
+
writer.writeNumberValue("amount", billingFundingLinkMcp_spend_request_create_input_without_payment_method.amount);
|
|
4206
|
+
writer.writeStringValue("context", billingFundingLinkMcp_spend_request_create_input_without_payment_method.context);
|
|
4207
|
+
writer.writeStringValue("credentialType", billingFundingLinkMcp_spend_request_create_input_without_payment_method.credentialType);
|
|
4208
|
+
writer.writeStringValue("currency", billingFundingLinkMcp_spend_request_create_input_without_payment_method.currency);
|
|
4209
|
+
writer.writeCollectionOfObjectValues("lineItem", billingFundingLinkMcp_spend_request_create_input_without_payment_method.lineItem, serializeBillingFundingLineItem);
|
|
4210
|
+
writer.writeStringValue("networkId", billingFundingLinkMcp_spend_request_create_input_without_payment_method.networkId);
|
|
4211
|
+
writer.writeBooleanValue("requestApproval", billingFundingLinkMcp_spend_request_create_input_without_payment_method.requestApproval);
|
|
4212
|
+
writer.writeCollectionOfObjectValues("total", billingFundingLinkMcp_spend_request_create_input_without_payment_method.total, serializeBillingFundingTotal);
|
|
4213
|
+
}
|
|
4214
|
+
/**
|
|
4215
|
+
* Serializes information the current object
|
|
4216
|
+
* @param BillingFundingMerchant The instance to serialize from.
|
|
4217
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4218
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4219
|
+
*/
|
|
4220
|
+
// @ts-ignore
|
|
4221
|
+
export function serializeBillingFundingMerchant(writer, billingFundingMerchant = {}, isSerializingDerivedType = false) {
|
|
4222
|
+
if (!billingFundingMerchant || isSerializingDerivedType) {
|
|
4223
|
+
return;
|
|
4224
|
+
}
|
|
4225
|
+
writer.writeStringValue("name", billingFundingMerchant.name);
|
|
4226
|
+
writer.writeStringValue("url", billingFundingMerchant.url);
|
|
4227
|
+
}
|
|
4228
|
+
/**
|
|
4229
|
+
* Serializes information the current object
|
|
4230
|
+
* @param BillingFundingMpp The instance to serialize from.
|
|
4231
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4232
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4233
|
+
*/
|
|
4234
|
+
// @ts-ignore
|
|
4235
|
+
export function serializeBillingFundingMpp(writer, billingFundingMpp = {}, isSerializingDerivedType = false) {
|
|
4236
|
+
if (!billingFundingMpp || isSerializingDerivedType) {
|
|
4237
|
+
return;
|
|
4238
|
+
}
|
|
4239
|
+
writer.writeObjectValue("body", billingFundingMpp.body, serializeBillingFundingMpp_body);
|
|
4240
|
+
writer.writeStringValue("challenge", billingFundingMpp.challenge);
|
|
4241
|
+
writer.writeStringValue("debug_decode_command", billingFundingMpp.debugDecodeCommand);
|
|
4242
|
+
writer.writeStringValue("method", billingFundingMpp.method);
|
|
4243
|
+
writer.writeStringValue("network_id", billingFundingMpp.networkId);
|
|
4244
|
+
writer.writeStringValue("pay_command", billingFundingMpp.payCommand);
|
|
4245
|
+
writer.writeStringValue("url", billingFundingMpp.url);
|
|
4246
|
+
}
|
|
4247
|
+
/**
|
|
4248
|
+
* Serializes information the current object
|
|
4249
|
+
* @param BillingFundingMpp_body The instance to serialize from.
|
|
4250
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4251
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4252
|
+
*/
|
|
4253
|
+
// @ts-ignore
|
|
4254
|
+
export function serializeBillingFundingMpp_body(writer, billingFundingMpp_body = {}, isSerializingDerivedType = false) {
|
|
4255
|
+
if (!billingFundingMpp_body || isSerializingDerivedType) {
|
|
4256
|
+
return;
|
|
4257
|
+
}
|
|
4258
|
+
writer.writeStringValue("funding_request_id", billingFundingMpp_body.fundingRequestId);
|
|
4259
|
+
}
|
|
4260
|
+
/**
|
|
4261
|
+
* Serializes information the current object
|
|
4262
|
+
* @param BillingFundingMppComplete The instance to serialize from.
|
|
4263
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4264
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4265
|
+
*/
|
|
4266
|
+
// @ts-ignore
|
|
4267
|
+
export function serializeBillingFundingMppComplete(writer, billingFundingMppComplete = {}, isSerializingDerivedType = false) {
|
|
4268
|
+
if (!billingFundingMppComplete || isSerializingDerivedType) {
|
|
4269
|
+
return;
|
|
4270
|
+
}
|
|
4271
|
+
writer.writeStringValue("funding_request_id", billingFundingMppComplete.fundingRequestId);
|
|
4272
|
+
}
|
|
4273
|
+
/**
|
|
4274
|
+
* Serializes information the current object
|
|
4275
|
+
* @param BillingFundingProviderResult The instance to serialize from.
|
|
4276
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4277
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4278
|
+
*/
|
|
4279
|
+
// @ts-ignore
|
|
4280
|
+
export function serializeBillingFundingProviderResult(writer, billingFundingProviderResult = {}, isSerializingDerivedType = false) {
|
|
4281
|
+
if (!billingFundingProviderResult || isSerializingDerivedType) {
|
|
4282
|
+
return;
|
|
4283
|
+
}
|
|
4284
|
+
writer.writeStringValue("charge_id", billingFundingProviderResult.chargeId);
|
|
4285
|
+
writer.writeStringValue("kind", billingFundingProviderResult.kind);
|
|
4286
|
+
writer.writeStringValue("payment_intent_id", billingFundingProviderResult.paymentIntentId);
|
|
4287
|
+
}
|
|
4288
|
+
/**
|
|
4289
|
+
* Serializes information the current object
|
|
4290
|
+
* @param BillingFundingRequest The instance to serialize from.
|
|
4291
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4292
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4293
|
+
*/
|
|
4294
|
+
// @ts-ignore
|
|
4295
|
+
export function serializeBillingFundingRequest(writer, billingFundingRequest = {}, isSerializingDerivedType = false) {
|
|
4296
|
+
if (!billingFundingRequest || isSerializingDerivedType) {
|
|
4297
|
+
return;
|
|
4298
|
+
}
|
|
4299
|
+
writer.writeNumberValue("amount_cents", billingFundingRequest.amountCents);
|
|
4300
|
+
writer.writeDateValue("completed_at", billingFundingRequest.completedAt);
|
|
4301
|
+
writer.writeStringValue("context", billingFundingRequest.context);
|
|
4302
|
+
writer.writeDateValue("created_at", billingFundingRequest.createdAt);
|
|
4303
|
+
writer.writeNumberValue("credits", billingFundingRequest.credits);
|
|
4304
|
+
writer.writeStringValue("currency", billingFundingRequest.currency);
|
|
4305
|
+
writer.writeDateValue("expires_at", billingFundingRequest.expiresAt);
|
|
4306
|
+
writer.writeStringValue("failure_code", billingFundingRequest.failureCode);
|
|
4307
|
+
writer.writeStringValue("failure_message", billingFundingRequest.failureMessage);
|
|
4308
|
+
writer.writeStringValue("id", billingFundingRequest.id);
|
|
4309
|
+
writer.writeCollectionOfObjectValues("line_items", billingFundingRequest.lineItems, serializeBillingFundingLineItem);
|
|
4310
|
+
writer.writeObjectValue("link_cli", billingFundingRequest.linkCli, serializeBillingFundingLinkCli);
|
|
4311
|
+
writer.writeObjectValue("link_mcp", billingFundingRequest.linkMcp, serializeBillingFundingLinkMcp);
|
|
4312
|
+
writer.writeObjectValue("merchant", billingFundingRequest.merchant, serializeBillingFundingMerchant);
|
|
4313
|
+
writer.writeObjectValue("mpp", billingFundingRequest.mpp, serializeBillingFundingMpp);
|
|
4314
|
+
writer.writeObjectValue("provider_result", billingFundingRequest.providerResult, serializeBillingFundingProviderResult);
|
|
4315
|
+
writer.writeEnumValue("status", billingFundingRequest.status);
|
|
4316
|
+
writer.writeCollectionOfObjectValues("totals", billingFundingRequest.totals, serializeBillingFundingTotal);
|
|
4317
|
+
writer.writeDateValue("updated_at", billingFundingRequest.updatedAt);
|
|
4318
|
+
}
|
|
4319
|
+
/**
|
|
4320
|
+
* Serializes information the current object
|
|
4321
|
+
* @param BillingFundingRequestCreate The instance to serialize from.
|
|
4322
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4323
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4324
|
+
*/
|
|
4325
|
+
// @ts-ignore
|
|
4326
|
+
export function serializeBillingFundingRequestCreate(writer, billingFundingRequestCreate = {}, isSerializingDerivedType = false) {
|
|
4327
|
+
if (!billingFundingRequestCreate || isSerializingDerivedType) {
|
|
4328
|
+
return;
|
|
4329
|
+
}
|
|
4330
|
+
writer.writeNumberValue("credits", billingFundingRequestCreate.credits);
|
|
4331
|
+
writer.writeStringValue("payment_method", billingFundingRequestCreate.paymentMethod);
|
|
4332
|
+
}
|
|
4333
|
+
/**
|
|
4334
|
+
* Serializes information the current object
|
|
4335
|
+
* @param BillingFundingTotal The instance to serialize from.
|
|
4336
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4337
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4338
|
+
*/
|
|
4339
|
+
// @ts-ignore
|
|
4340
|
+
export function serializeBillingFundingTotal(writer, billingFundingTotal = {}, isSerializingDerivedType = false) {
|
|
4341
|
+
if (!billingFundingTotal || isSerializingDerivedType) {
|
|
4342
|
+
return;
|
|
4343
|
+
}
|
|
4344
|
+
writer.writeNumberValue("amount", billingFundingTotal.amount);
|
|
4345
|
+
writer.writeStringValue("display_text", billingFundingTotal.displayText);
|
|
4346
|
+
writer.writeStringValue("type", billingFundingTotal.type);
|
|
4347
|
+
}
|
|
3552
4348
|
/**
|
|
3553
4349
|
* Serializes information the current object
|
|
3554
4350
|
* @param BillingUsage The instance to serialize from.
|
|
@@ -4038,6 +4834,91 @@ export function serializeContentCreate(writer, contentCreate = {}, isSerializing
|
|
|
4038
4834
|
writer.writeStringValue("url", contentCreate.url);
|
|
4039
4835
|
writer.writeBooleanValue("wait", contentCreate.wait);
|
|
4040
4836
|
}
|
|
4837
|
+
/**
|
|
4838
|
+
* Serializes information the current object
|
|
4839
|
+
* @param ContentInspection The instance to serialize from.
|
|
4840
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4841
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4842
|
+
*/
|
|
4843
|
+
// @ts-ignore
|
|
4844
|
+
export function serializeContentInspection(writer, contentInspection = {}, isSerializingDerivedType = false) {
|
|
4845
|
+
if (!contentInspection || isSerializingDerivedType) {
|
|
4846
|
+
return;
|
|
4847
|
+
}
|
|
4848
|
+
writer.writeCollectionOfObjectValues("children", contentInspection.children, serializeContentInspectionRef);
|
|
4849
|
+
writer.writeObjectValue("content", contentInspection.content, serializeContent);
|
|
4850
|
+
writer.writeObjectValue("coverage", contentInspection.coverage, serializeContentInspectionCoverage);
|
|
4851
|
+
writer.writeStringValue("description", contentInspection.description);
|
|
4852
|
+
writer.writeStringValue("markdown", contentInspection.markdown);
|
|
4853
|
+
writer.writeObjectValue("metadata", contentInspection.metadata, serializeContentInspection_metadata);
|
|
4854
|
+
writer.writeStringValue("mime_type", contentInspection.mimeType);
|
|
4855
|
+
writer.writeStringValue("name", contentInspection.name);
|
|
4856
|
+
writer.writeObjectValue("parent", contentInspection.parent, serializeContentInspectionRef);
|
|
4857
|
+
writer.writeObjectValue("provenance", contentInspection.provenance, serializeContentInspectionProvenance);
|
|
4858
|
+
writer.writeEnumValue("resource_type", contentInspection.resourceType);
|
|
4859
|
+
writer.writeStringValue("summary", contentInspection.summary);
|
|
4860
|
+
writer.writeStringValue("text", contentInspection.text);
|
|
4861
|
+
writer.writeStringValue("uri", contentInspection.uri);
|
|
4862
|
+
}
|
|
4863
|
+
/**
|
|
4864
|
+
* Serializes information the current object
|
|
4865
|
+
* @param ContentInspection_metadata The instance to serialize from.
|
|
4866
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4867
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4868
|
+
*/
|
|
4869
|
+
// @ts-ignore
|
|
4870
|
+
export function serializeContentInspection_metadata(writer, contentInspection_metadata = {}, isSerializingDerivedType = false) {
|
|
4871
|
+
if (!contentInspection_metadata || isSerializingDerivedType) {
|
|
4872
|
+
return;
|
|
4873
|
+
}
|
|
4874
|
+
writer.writeAdditionalData(contentInspection_metadata.additionalData);
|
|
4875
|
+
}
|
|
4876
|
+
/**
|
|
4877
|
+
* Serializes information the current object
|
|
4878
|
+
* @param ContentInspectionCoverage The instance to serialize from.
|
|
4879
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4880
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4881
|
+
*/
|
|
4882
|
+
// @ts-ignore
|
|
4883
|
+
export function serializeContentInspectionCoverage(writer, contentInspectionCoverage = {}, isSerializingDerivedType = false) {
|
|
4884
|
+
if (!contentInspectionCoverage || isSerializingDerivedType) {
|
|
4885
|
+
return;
|
|
4886
|
+
}
|
|
4887
|
+
writer.writeBooleanValue("full_text_available", contentInspectionCoverage.fullTextAvailable);
|
|
4888
|
+
writer.writeNumberValue("returned_chars", contentInspectionCoverage.returnedChars);
|
|
4889
|
+
writer.writeEnumValue("source_kind", contentInspectionCoverage.sourceKind);
|
|
4890
|
+
writer.writeEnumValue("status", contentInspectionCoverage.status);
|
|
4891
|
+
writer.writeNumberValue("total_chars", contentInspectionCoverage.totalChars);
|
|
4892
|
+
writer.writeStringValue("truncation_reason", contentInspectionCoverage.truncationReason);
|
|
4893
|
+
}
|
|
4894
|
+
/**
|
|
4895
|
+
* Serializes information the current object
|
|
4896
|
+
* @param ContentInspectionProvenance The instance to serialize from.
|
|
4897
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4898
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4899
|
+
*/
|
|
4900
|
+
// @ts-ignore
|
|
4901
|
+
export function serializeContentInspectionProvenance(writer, contentInspectionProvenance = {}, isSerializingDerivedType = false) {
|
|
4902
|
+
if (!contentInspectionProvenance || isSerializingDerivedType) {
|
|
4903
|
+
return;
|
|
4904
|
+
}
|
|
4905
|
+
writer.writeBooleanValue("reused_existing_data", contentInspectionProvenance.reusedExistingData);
|
|
4906
|
+
writer.writeEnumValue("source", contentInspectionProvenance.source);
|
|
4907
|
+
}
|
|
4908
|
+
/**
|
|
4909
|
+
* Serializes information the current object
|
|
4910
|
+
* @param ContentInspectionRef The instance to serialize from.
|
|
4911
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4912
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4913
|
+
*/
|
|
4914
|
+
// @ts-ignore
|
|
4915
|
+
export function serializeContentInspectionRef(writer, contentInspectionRef = {}, isSerializingDerivedType = false) {
|
|
4916
|
+
if (!contentInspectionRef || isSerializingDerivedType) {
|
|
4917
|
+
return;
|
|
4918
|
+
}
|
|
4919
|
+
writer.writeStringValue("name", contentInspectionRef.name);
|
|
4920
|
+
writer.writeStringValue("uri", contentInspectionRef.uri);
|
|
4921
|
+
}
|
|
4041
4922
|
/**
|
|
4042
4923
|
* Serializes information the current object
|
|
4043
4924
|
* @param ContentList The instance to serialize from.
|
|
@@ -4882,13 +5763,16 @@ export function serializeRun(writer, run = {}, isSerializingDerivedType = false)
|
|
|
4882
5763
|
writer.writeObjectValue("agent", run.agent, serializeRef);
|
|
4883
5764
|
writer.writeDateValue("completed_at", run.completedAt);
|
|
4884
5765
|
writer.writeDateValue("created_at", run.createdAt);
|
|
5766
|
+
writer.writeStringValue("current_execution_id", run.currentExecutionId);
|
|
4885
5767
|
writer.writeObjectValue("error", run.errorEscaped, serializeRunError);
|
|
4886
5768
|
writer.writeStringValue("id", run.id);
|
|
4887
5769
|
writer.writeObjectValue("input", run.input, serializeRun_input);
|
|
5770
|
+
writer.writeStringValue("latest_execution_id", run.latestExecutionId);
|
|
4888
5771
|
writer.writeEnumValue("mode", run.mode);
|
|
4889
5772
|
writer.writeObjectValue("output", run.output, serializeRun_output);
|
|
4890
5773
|
writer.writeDateValue("started_at", run.startedAt);
|
|
4891
5774
|
writer.writeEnumValue("status", run.status);
|
|
5775
|
+
writer.writeStringValue("terminal_execution_id", run.terminalExecutionId);
|
|
4892
5776
|
writer.writeDateValue("updated_at", run.updatedAt);
|
|
4893
5777
|
writer.writeObjectValue("usage", run.usage, serializeUsageSummary);
|
|
4894
5778
|
}
|
|
@@ -5624,6 +6508,14 @@ export const AuditEvent_actorObject = {
|
|
|
5624
6508
|
Stripe: "stripe",
|
|
5625
6509
|
Webhook: "webhook",
|
|
5626
6510
|
};
|
|
6511
|
+
export const BillingFundingStatusObject = {
|
|
6512
|
+
Payment_required: "payment_required",
|
|
6513
|
+
Processing: "processing",
|
|
6514
|
+
Succeeded: "succeeded",
|
|
6515
|
+
Failed: "failed",
|
|
6516
|
+
Expired: "expired",
|
|
6517
|
+
Cancelled: "cancelled",
|
|
6518
|
+
};
|
|
5627
6519
|
export const BillingUsage_provider_kindObject = {
|
|
5628
6520
|
None: "none",
|
|
5629
6521
|
Stripe: "stripe",
|
|
@@ -5688,6 +6580,27 @@ export const ConnectorProviderObject = {
|
|
|
5688
6580
|
Google_chat: "google_chat",
|
|
5689
6581
|
Whatsapp: "whatsapp",
|
|
5690
6582
|
};
|
|
6583
|
+
export const ContentInspection_resource_typeObject = {
|
|
6584
|
+
Content: "content",
|
|
6585
|
+
};
|
|
6586
|
+
export const ContentInspectionCoverage_source_kindObject = {
|
|
6587
|
+
Inline_markdown: "inline_markdown",
|
|
6588
|
+
Stored_summary: "stored_summary",
|
|
6589
|
+
Stored_description: "stored_description",
|
|
6590
|
+
Resource_name: "resource_name",
|
|
6591
|
+
};
|
|
6592
|
+
export const ContentInspectionCoverage_statusObject = {
|
|
6593
|
+
Full: "full",
|
|
6594
|
+
Partial: "partial",
|
|
6595
|
+
Preview: "preview",
|
|
6596
|
+
Truncated: "truncated",
|
|
6597
|
+
};
|
|
6598
|
+
export const ContentInspectionProvenance_sourceObject = {
|
|
6599
|
+
Markdown: "markdown",
|
|
6600
|
+
Summary: "summary",
|
|
6601
|
+
Description: "description",
|
|
6602
|
+
Resource: "resource",
|
|
6603
|
+
};
|
|
5691
6604
|
export const ContentTypeObject = {
|
|
5692
6605
|
Commit: "commit",
|
|
5693
6606
|
Email: "email",
|