@salesforce/lds-adapters-revenue-billing-batch 1.346.0 → 1.347.1
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/es/es2018/revenue-billing-batch.js +511 -176
- package/dist/es/es2018/types/src/generated/adapters/batchInvoiceRunRecovery.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/updateInvoicesBatchScheduler.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/patchCommerceInvoicingInvoiceSchedulersByBillingBatchSchedulerId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceInvoicingInvoiceBatchRunsActionsRecoverByInvoiceBatchRunId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/InvoiceBatchRunRecoveryOutputRepresentation.d.ts +38 -0
- package/package.json +4 -4
- package/sfdc/index.js +598 -257
- package/src/raml/api.raml +65 -1
- package/src/raml/luvio.raml +63 -1
package/src/raml/api.raml
CHANGED
|
@@ -232,6 +232,37 @@ types:
|
|
|
232
232
|
required: false # TODO handrolled W-9314597
|
|
233
233
|
items:
|
|
234
234
|
type: object
|
|
235
|
+
BatchInvoiceSchedulerUpdateInputWrapperRepresentation:
|
|
236
|
+
description: Wrapper for BatchInvoice Scheduler Update Input Representation
|
|
237
|
+
type: object
|
|
238
|
+
properties:
|
|
239
|
+
BatchInvoiceSchedulerUpdateInput:
|
|
240
|
+
type: BatchInvoiceSchedulerUpdateInputRepresentation
|
|
241
|
+
description: BatchInvoice Scheduler Update Input Representation
|
|
242
|
+
BatchInvoiceSchedulerUpdateInputRepresentation:
|
|
243
|
+
type: object
|
|
244
|
+
description: BatchInvoice Scheduler Update Input Representation
|
|
245
|
+
properties:
|
|
246
|
+
status:
|
|
247
|
+
description: Billing Batch Scheduler Status
|
|
248
|
+
type: string
|
|
249
|
+
enum:
|
|
250
|
+
- Active
|
|
251
|
+
- Canceled
|
|
252
|
+
- Draft
|
|
253
|
+
- Inactive
|
|
254
|
+
BatchInvoiceSchedulerUpdateOutputRepresentation:
|
|
255
|
+
type: object
|
|
256
|
+
description: BatchInvoice Scheduler Update Output Representation
|
|
257
|
+
properties:
|
|
258
|
+
status:
|
|
259
|
+
description: Status
|
|
260
|
+
type: string
|
|
261
|
+
enum:
|
|
262
|
+
- Active
|
|
263
|
+
- Canceled
|
|
264
|
+
- Draft
|
|
265
|
+
- Inactive
|
|
235
266
|
InvoiceBatchDraftToPostedInputRepresentation:
|
|
236
267
|
description: Invoice Batch Draft To Posted Input Representation
|
|
237
268
|
type: object
|
|
@@ -246,6 +277,13 @@ types:
|
|
|
246
277
|
success:
|
|
247
278
|
description: Flag indicating the overall enqueue status
|
|
248
279
|
type: boolean
|
|
280
|
+
InvoiceBatchRunRecoveryOutputRepresentation:
|
|
281
|
+
type: object
|
|
282
|
+
description: Invoice Batch Run Recovery Output Representation
|
|
283
|
+
properties:
|
|
284
|
+
invoiceBatchRunRecoveryId:
|
|
285
|
+
description: Invoice Batch Run Recovery ID
|
|
286
|
+
type: string
|
|
249
287
|
CronExecutionDatesInputRepresentation:
|
|
250
288
|
description: Cron Execution Dates Input Representation
|
|
251
289
|
type: object
|
|
@@ -324,6 +362,19 @@ types:
|
|
|
324
362
|
application/json:
|
|
325
363
|
type: BatchInvoiceSchedulerInputWrapperRepresentation
|
|
326
364
|
(oas-body-name): BatchInvoiceSchedulerInput
|
|
365
|
+
patch:
|
|
366
|
+
displayName: updateInvoicesBatchScheduler
|
|
367
|
+
description: Update Batch Invoice Job Scheduler
|
|
368
|
+
responses:
|
|
369
|
+
'200':
|
|
370
|
+
description: Success
|
|
371
|
+
body:
|
|
372
|
+
application/json:
|
|
373
|
+
type: BatchInvoiceSchedulerUpdateOutputRepresentation
|
|
374
|
+
body:
|
|
375
|
+
application/json:
|
|
376
|
+
type: BatchInvoiceSchedulerUpdateInputWrapperRepresentation
|
|
377
|
+
(oas-body-name): BatchInvoiceSchedulerUpdateInput
|
|
327
378
|
uriParameters:
|
|
328
379
|
billingBatchSchedulerId:
|
|
329
380
|
type: string
|
|
@@ -347,7 +398,20 @@ types:
|
|
|
347
398
|
invoiceBatchRunId:
|
|
348
399
|
type: string
|
|
349
400
|
required: true
|
|
350
|
-
|
|
401
|
+
/commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/recover:
|
|
402
|
+
post:
|
|
403
|
+
displayName: batchInvoiceRunRecovery
|
|
404
|
+
description: Trigger a BatchInvoiceRun recovery
|
|
405
|
+
responses:
|
|
406
|
+
'200':
|
|
407
|
+
description: Success
|
|
408
|
+
body:
|
|
409
|
+
application/json:
|
|
410
|
+
type: InvoiceBatchRunRecoveryOutputRepresentation
|
|
411
|
+
uriParameters:
|
|
412
|
+
invoiceBatchRunId:
|
|
413
|
+
type: string
|
|
414
|
+
required: true
|
|
351
415
|
# TODO Hand-rolled W-14972264 + W-15776899
|
|
352
416
|
/commerce:
|
|
353
417
|
/billing/invoices/invoice-batch-docgen/{invoiceBatchRunId}/actions/{actionName}:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -17,6 +17,15 @@ types:
|
|
|
17
17
|
(luvio.opaque): true
|
|
18
18
|
(luvio.key):
|
|
19
19
|
billingBatchSchedulerId: billingBatchScheduler.id
|
|
20
|
+
BatchInvoiceSchedulerUpdateOutputRepresentation:
|
|
21
|
+
(luvio.ttl): 1000
|
|
22
|
+
(luvio.opaque): true
|
|
23
|
+
(luvio.key):
|
|
24
|
+
status: status
|
|
25
|
+
InvoiceBatchRunRecoveryOutputRepresentation:
|
|
26
|
+
(luvio.ttl): 1000
|
|
27
|
+
(luvio.key):
|
|
28
|
+
invoiceBatchRunRecoveryId: invoiceBatchRunRecoveryId
|
|
20
29
|
InvoiceBatchDraftToPostedOutputRepresentation:
|
|
21
30
|
(luvio.ttl): 1000
|
|
22
31
|
BatchInvoiceDocGenOutputRepresentation:
|
|
@@ -584,13 +593,66 @@ types:
|
|
|
584
593
|
},
|
|
585
594
|
"billingBatchSchedulerId": "5BSxx0000004CoyGAE"
|
|
586
595
|
}
|
|
587
|
-
|
|
596
|
+
patch:
|
|
597
|
+
(luvio.adapter):
|
|
598
|
+
name: updateInvoicesBatchScheduler
|
|
599
|
+
tests:
|
|
600
|
+
validConfigs:
|
|
601
|
+
- |
|
|
602
|
+
{
|
|
603
|
+
"billingBatchSchedulerId": "5BSxx0000004CoyGAE",
|
|
604
|
+
"BatchInvoiceSchedulerUpdateInput":
|
|
605
|
+
{
|
|
606
|
+
"status": "Active"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
- |
|
|
610
|
+
{
|
|
611
|
+
"billingBatchSchedulerId": "5BSxx0000004CoyGAE",
|
|
612
|
+
"BatchInvoiceSchedulerUpdateInput":
|
|
613
|
+
{
|
|
614
|
+
"status": "Canceled"
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
- |
|
|
618
|
+
{
|
|
619
|
+
"billingBatchSchedulerId": "5BSxx0000004CoyGAE",
|
|
620
|
+
"BatchInvoiceSchedulerUpdateInput":
|
|
621
|
+
{
|
|
622
|
+
"status": "Draft"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
- |
|
|
626
|
+
{
|
|
627
|
+
"billingBatchSchedulerId": "5BSxx0000004CoyGAE",
|
|
628
|
+
"BatchInvoiceSchedulerUpdateInput":
|
|
629
|
+
{
|
|
630
|
+
"status": "Inactive"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
invalidConfigs:
|
|
634
|
+
- |
|
|
635
|
+
{
|
|
636
|
+
"billingBatchSchedulerId": "5BSxx0000004CoyGAE"
|
|
637
|
+
}
|
|
638
|
+
- |
|
|
639
|
+
{
|
|
640
|
+
"BatchInvoiceSchedulerUpdateInput":
|
|
641
|
+
{
|
|
642
|
+
"status": "Inactive"
|
|
643
|
+
}
|
|
644
|
+
}
|
|
588
645
|
/commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/draft-to-posted:
|
|
589
646
|
post:
|
|
590
647
|
(luvio.method): get
|
|
591
648
|
(luvio.adapter):
|
|
592
649
|
name: postBatchDraftInvoices
|
|
593
650
|
|
|
651
|
+
/commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/recover:
|
|
652
|
+
post:
|
|
653
|
+
(luvio.adapter):
|
|
654
|
+
name: batchInvoiceRunRecovery
|
|
655
|
+
|
|
594
656
|
/commerce:
|
|
595
657
|
/billing/invoices/invoice-batch-docgen/{invoiceBatchRunId}/actions/{actionName}:
|
|
596
658
|
post:
|