@salesforce/lds-adapters-revenue-billing-batch 0.1.0-dev1

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.
Files changed (49) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/revenue-billing-batch.js +1737 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/batchInvoiceRunRecovery.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createInvoicesBatchScheduler.d.ts +16 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createPaymentsBatchScheduler.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/adapters/editInvoicesBatchScheduler.d.ts +17 -0
  8. package/dist/es/es2018/types/src/generated/adapters/postBatchDraftInvoices.d.ts +27 -0
  9. package/dist/es/es2018/types/src/generated/adapters/postBatchInvoiceDocGen.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/adapters/postCronExecutionDates.d.ts +20 -0
  11. package/dist/es/es2018/types/src/generated/adapters/updateInvoicesBatchScheduler.d.ts +17 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +8 -0
  13. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +10 -0
  14. package/dist/es/es2018/types/src/generated/resources/patchCommerceInvoicingInvoiceSchedulersByBillingBatchSchedulerId.d.ts +16 -0
  15. package/dist/es/es2018/types/src/generated/resources/postCommerceBillingInvoicesInvoiceBatchDocgenActionsByInvoiceBatchRunIdAndActionName.d.ts +13 -0
  16. package/dist/es/es2018/types/src/generated/resources/postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId.d.ts +16 -0
  17. package/dist/es/es2018/types/src/generated/resources/postCommerceInvoicingInvoiceBatchRunsActionsRecoverByInvoiceBatchRunId.d.ts +12 -0
  18. package/dist/es/es2018/types/src/generated/resources/postCommerceInvoicingInvoiceSchedulers.d.ts +13 -0
  19. package/dist/es/es2018/types/src/generated/resources/postCommercePaymentsPaymentSchedulers.d.ts +13 -0
  20. package/dist/es/es2018/types/src/generated/resources/postConnectBillingBatchCronExecutionDates.d.ts +17 -0
  21. package/dist/es/es2018/types/src/generated/resources/putCommerceInvoicingInvoiceSchedulersByBillingBatchSchedulerId.d.ts +16 -0
  22. package/dist/es/es2018/types/src/generated/types/BatchFilterCriteriaInputRepresentation.d.ts +34 -0
  23. package/dist/es/es2018/types/src/generated/types/BatchInvoiceDocGenErrorRepresentation.d.ts +31 -0
  24. package/dist/es/es2018/types/src/generated/types/BatchInvoiceDocGenOutputRepresentation.d.ts +45 -0
  25. package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerInputRepresentation.d.ts +29 -0
  26. package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerInputWrapperRepresentation.d.ts +28 -0
  27. package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateInputRepresentation.d.ts +28 -0
  28. package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateInputWrapperRepresentation.d.ts +28 -0
  29. package/dist/es/es2018/types/src/generated/types/BatchInvoiceSchedulerUpdateOutputRepresentation.d.ts +38 -0
  30. package/dist/es/es2018/types/src/generated/types/BillingBatchSchedulerRepresentation.d.ts +28 -0
  31. package/dist/es/es2018/types/src/generated/types/CronExecutionDatesInputRepresentation.d.ts +43 -0
  32. package/dist/es/es2018/types/src/generated/types/CronExecutionDatesOutputRepresentation.d.ts +38 -0
  33. package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedInputRepresentation.d.ts +25 -0
  34. package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedOutputRepresentation.d.ts +32 -0
  35. package/dist/es/es2018/types/src/generated/types/InvoiceBatchRunRecoveryOutputRepresentation.d.ts +38 -0
  36. package/dist/es/es2018/types/src/generated/types/InvoicesBatchSchedulerOutputRepresentation.d.ts +39 -0
  37. package/dist/es/es2018/types/src/generated/types/PaymentRunBatchFilterCriteriaInputRepresentation.d.ts +32 -0
  38. package/dist/es/es2018/types/src/generated/types/PaymentRunBatchFilterCriteriaInputRepresentations.d.ts +28 -0
  39. package/dist/es/es2018/types/src/generated/types/PaymentsBatchSchedulerInputRepresentation.d.ts +32 -0
  40. package/dist/es/es2018/types/src/generated/types/PaymentsBatchSchedulerInputWrapperRepresentation.d.ts +28 -0
  41. package/dist/es/es2018/types/src/generated/types/PaymentsBatchSchedulerOutputRepresentation.d.ts +39 -0
  42. package/dist/es/es2018/types/src/generated/types/ScheduleOptionsInputRepresentation.d.ts +46 -0
  43. package/dist/es/es2018/types/src/generated/types/ScheduleOptionsInputRepresentationForInvoice.d.ts +49 -0
  44. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  45. package/package.json +72 -0
  46. package/sfdc/index.d.ts +1 -0
  47. package/sfdc/index.js +1799 -0
  48. package/src/raml/api.raml +447 -0
  49. package/src/raml/luvio.raml +664 -0
@@ -0,0 +1,664 @@
1
+ #%RAML 1.0 Overlay
2
+ extends: ./api.raml
3
+
4
+ uses:
5
+ luvio: luvio://annotations.raml
6
+
7
+ (luvio.keyPrefix): 'BillingBatch'
8
+
9
+ types:
10
+ PaymentsBatchSchedulerOutputRepresentation:
11
+ (luvio.ttl): 1000
12
+ (luvio.opaque): true
13
+ (luvio.key):
14
+ billingBatchSchedulerId: billingBatchScheduler.id
15
+ InvoicesBatchSchedulerOutputRepresentation:
16
+ (luvio.ttl): 1000
17
+ (luvio.opaque): true
18
+ (luvio.key):
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
29
+ InvoiceBatchDraftToPostedOutputRepresentation:
30
+ (luvio.ttl): 1000
31
+ BatchInvoiceDocGenOutputRepresentation:
32
+ (luvio.ttl): 1000
33
+ (luvio.key):
34
+ requestIdentifier: requestIdentifier
35
+ CronExecutionDatesOutputRepresentation:
36
+ (luvio.key):
37
+ executionDates: executionDates
38
+ (luvio.ttl): 1000
39
+
40
+ /commerce/payments/payment-schedulers:
41
+ post:
42
+ (luvio.adapter):
43
+ name: createPaymentsBatchScheduler
44
+ tests:
45
+ validConfigs:
46
+ - |
47
+ { "PaymentsBatchSchedulerInput":
48
+ {
49
+ "schedulerName": "Batch Scheduler",
50
+ "startDate": "2021-05-11",
51
+ "endDate": "2021-05-15",
52
+ "preferredTime": "10:00 AM",
53
+ "frequencyCadence": "Monthly",
54
+ "recursEveryMonthOnDay": "28",
55
+ "criteriaMatchType": "MatchAny",
56
+ "criteriaExpression": "1 OR 2",
57
+ "status" : "Active",
58
+ "filterCriteria":
59
+ [
60
+ {
61
+ "objectName": "PaymentScheduleItem",
62
+ "fieldName": "PaymentRunMatchingValue",
63
+ "operation": "Equals",
64
+ "value": "Batch1",
65
+ "criteriaSequence": 1
66
+ },
67
+ {
68
+ "objectName": "PaymentScheduleItem",
69
+ "fieldName": "PaymentRunMatchingValue",
70
+ "operation": "Equals",
71
+ "value": "Batch2",
72
+ "criteriaSequence": 2
73
+ }
74
+ ]
75
+ }
76
+ }
77
+ - |
78
+ { "PaymentsBatchSchedulerInput":
79
+ {
80
+ "schedulerName": "Batch Scheduler",
81
+ "startDate": "2021-05-11",
82
+ "endDate": "2021-05-15",
83
+ "preferredTime": "10:00 AM",
84
+ "frequencyCadence": "Daily",
85
+ "criteriaMatchType": "MatchAny",
86
+ "criteriaExpression": "1 OR 2",
87
+ "status": "Active",
88
+ "filterCriteria": []
89
+ }
90
+ }
91
+ invalidConfigs:
92
+ - |
93
+ {
94
+ "schedulerName": "Batch Scheduler"
95
+ }
96
+ - |
97
+ {
98
+ "schedulerName": "Batch Scheduler",
99
+ "startDate": "2021-05-11",
100
+ "endDate": "2021-05-15",
101
+ "preferredTime": "10:00 AM",
102
+ "frequencyCadence": "Daily",
103
+ "criteriaMatchType": "MatchAny",
104
+ "criteriaExpression": "1 OR 2",
105
+ "status": "Draft",
106
+ "filterCriteria": []
107
+ }
108
+ - |
109
+ { "PaymentsBatchSchedulerInput":
110
+ {
111
+ "schedulerName": "Batch Scheduler"
112
+ }
113
+ }
114
+ /commerce/invoicing/invoice-schedulers:
115
+ post:
116
+ (luvio.adapter):
117
+ name: createInvoicesBatchScheduler
118
+ tests:
119
+ validConfigs:
120
+ - |
121
+ { "BatchInvoiceSchedulerInput":
122
+ {
123
+ "schedulerName": "Invoice Batch Scheduler",
124
+ "startDate": "2021-05-11",
125
+ "endDate": "2021-05-15",
126
+ "preferredTime": "10:00 AM",
127
+ "frequencyCadence": "Monthly",
128
+ "timezone": "America/Los_Angeles",
129
+ "status" : "Active",
130
+ "frequencyCadenceOptions": {
131
+ "recurringSubType": "Every",
132
+ "recursOn": "First",
133
+ "recursOnDay": "Monday"
134
+ },
135
+ "filterCriteria":
136
+ [
137
+ {
138
+ "objectName": "BillingSchedule",
139
+ "fieldName": "Currency_Iso_code",
140
+ "operation": "Equals",
141
+ "value": "USD",
142
+ "criteriaSequence": 1
143
+ },
144
+ {
145
+ "objectName": "BillingSchedule",
146
+ "fieldName": "InvoiceRunBatch",
147
+ "operation": "Equals",
148
+ "value": "Batch1",
149
+ "criteriaSequence": 2
150
+ }
151
+ ]
152
+ }
153
+ }
154
+ - |
155
+ { "BatchInvoiceSchedulerInput":
156
+ {
157
+ "schedulerName": "Invoice Batch Scheduler",
158
+ "startDate": "2021-05-11",
159
+ "endDate": "2021-05-15",
160
+ "preferredTime": "10:00 AM",
161
+ "frequencyCadence": "Monthly",
162
+ "timezone": "America/Los_Angeles",
163
+ "status" : "Active",
164
+ "frequencyCadenceOptions": {
165
+ "recurringSubType": "SpecificDate",
166
+ "recursOnDate": "21"
167
+ },
168
+ "filterCriteria":
169
+ [
170
+ {
171
+ "objectName": "BillingSchedule",
172
+ "fieldName": "Currency_Iso_code",
173
+ "operation": "Equals",
174
+ "value": "USD",
175
+ "criteriaSequence": 1
176
+ },
177
+ {
178
+ "objectName": "BillingSchedule",
179
+ "fieldName": "InvoiceRunBatch",
180
+ "operation": "Equals",
181
+ "value": "Batch1",
182
+ "criteriaSequence": 2
183
+ }
184
+ ]
185
+ }
186
+ }
187
+ - |
188
+ { "BatchInvoiceSchedulerInput":
189
+ {
190
+ "schedulerName": "Invoice Batch Scheduler",
191
+ "startDate": "2021-05-11",
192
+ "endDate": "2021-05-15",
193
+ "preferredTime": "10:00 AM",
194
+ "frequencyCadence": "Daily",
195
+ "timezone": "America/Los_Angeles",
196
+ "status" : "Active",
197
+ "frequencyCadenceOptions": {
198
+ },
199
+ "filterCriteria":
200
+ [
201
+ {
202
+ "objectName": "BillingSchedule",
203
+ "fieldName": "Currency_Iso_code",
204
+ "operation": "Equals",
205
+ "value": "USD",
206
+ "criteriaSequence": 1
207
+ },
208
+ {
209
+ "objectName": "BillingSchedule",
210
+ "fieldName": "InvoiceRunBatch",
211
+ "operation": "Equals",
212
+ "value": "Batch1",
213
+ "criteriaSequence": 2
214
+ }
215
+ ]
216
+ }
217
+ }
218
+ - |
219
+ { "BatchInvoiceSchedulerInput":
220
+ {
221
+ "schedulerName": "Invoice Batch Scheduler",
222
+ "startDate": "2021-05-11",
223
+ "preferredTime": "10:00 AM",
224
+ "frequencyCadence": "Once",
225
+ "timezone": "America/Los_Angeles",
226
+ "status" : "Active",
227
+ "frequencyCadenceOptions": {
228
+ },
229
+ "filterCriteria":
230
+ [
231
+ {
232
+ "objectName": "BillingSchedule",
233
+ "fieldName": "Currency_Iso_code",
234
+ "operation": "Equals",
235
+ "value": "USD",
236
+ "criteriaSequence": 1
237
+ },
238
+ {
239
+ "objectName": "BillingSchedule",
240
+ "fieldName": "InvoiceRunBatch",
241
+ "operation": "Equals",
242
+ "value": "Batch1",
243
+ "criteriaSequence": 2
244
+ }
245
+ ]
246
+ }
247
+ }
248
+ - |
249
+ { "BatchInvoiceSchedulerInput":
250
+ {
251
+ "schedulerName": "Invoice Batch Scheduler",
252
+ "startDate": "2021-05-11",
253
+ "endDate": "2021-05-15",
254
+ "preferredTime": "10:00 AM",
255
+ "frequencyCadence": "Weekly",
256
+ "timezone": "America/Los_Angeles",
257
+ "status" : "Active",
258
+ "frequencyCadenceOptions": {
259
+ "recursOnDay": "Monday"
260
+ },
261
+ "filterCriteria":
262
+ [
263
+ {
264
+ "objectName": "BillingSchedule",
265
+ "fieldName": "Currency_Iso_code",
266
+ "operation": "Equals",
267
+ "value": "USD",
268
+ "criteriaSequence": 1
269
+ },
270
+ {
271
+ "objectName": "BillingSchedule",
272
+ "fieldName": "InvoiceRunBatch",
273
+ "operation": "Equals",
274
+ "value": "Batch1",
275
+ "criteriaSequence": 2
276
+ }
277
+ ]
278
+ }
279
+ }
280
+ - |
281
+ { "BatchInvoiceSchedulerInput":
282
+ {
283
+ "schedulerName": "Invoice Batch Scheduler",
284
+ "startDate": "2021-05-11",
285
+ "endDate": "2021-05-15",
286
+ "preferredTime": "10:00 AM",
287
+ "frequencyCadence": "Monthly",
288
+ "timezone": "America/Los_Angeles",
289
+ "status" : "Active",
290
+ "frequencyCadenceOptions": {
291
+ "recurringSubType": "Every",
292
+ "recursOn": "First",
293
+ "recursOnDay": "Monday"
294
+ },
295
+ "filterCriteria": []
296
+ }
297
+ }
298
+ invalidConfigs:
299
+ - |
300
+ {
301
+ "schedulerName": "Batch Scheduler"
302
+ }
303
+ - |
304
+ {
305
+ "schedulerName": "Batch Scheduler",
306
+ "startDate": "2021-05-11",
307
+ "endDate": "2021-05-15",
308
+ "preferredTime": "10:00 AM",
309
+ "frequencyCadence": "Daily",
310
+ "timezone": "America/Los_Angeles",
311
+ "status" : "Draft",
312
+ "frequencyCadenceOptions": {
313
+ "recurringSubType": "Every",
314
+ "recursOn": "First",
315
+ "recursOnDay": "Monday"
316
+ },
317
+ "filterCriteria": []
318
+ }
319
+ - |
320
+ {
321
+ "schedulerName": "Batch Scheduler",
322
+ "startDate": "2021-05-11",
323
+ "endDate": "2021-05-15",
324
+ "preferredTime": "10:00 AM",
325
+ "frequencyCadence": "Daily",
326
+ "timezone": "America/Los_Angeles",
327
+ "status" : "Draft",
328
+ "frequencyCadenceOptions": {
329
+ "recurringSubType": "Every",
330
+ "recursOn": "First",
331
+ "recursOnDate": "21",
332
+ "recursOnDay": "Monday"
333
+ },
334
+ "filterCriteria": []
335
+ }
336
+ - |
337
+ { "BatchInvoiceSchedulerInput":
338
+ {
339
+ "schedulerName": "Batch Scheduler"
340
+ }
341
+ }
342
+
343
+ /commerce/invoicing/invoice-schedulers/{billingBatchSchedulerId}:
344
+ put:
345
+ (luvio.adapter):
346
+ name: editInvoicesBatchScheduler
347
+ tests:
348
+ validConfigs:
349
+ - |
350
+ {
351
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
352
+ "BatchInvoiceSchedulerInput":
353
+ {
354
+ "schedulerName": "Invoice Batch Scheduler",
355
+ "startDate": "2021-05-11",
356
+ "endDate": "2021-05-15",
357
+ "preferredTime": "10:00 AM",
358
+ "frequencyCadence": "Monthly",
359
+ "timezone": "America/Los_Angeles",
360
+ "status" : "Active",
361
+ "frequencyCadenceOptions": {
362
+ "recurringSubType": "Every",
363
+ "recursOn": "First",
364
+ "recursOnDay": "Monday"
365
+ },
366
+ "filterCriteria":
367
+ [
368
+ {
369
+ "objectName": "BillingSchedule",
370
+ "fieldName": "Currency_Iso_code",
371
+ "operation": "Equals",
372
+ "value": "USD",
373
+ "criteriaSequence": 1
374
+ },
375
+ {
376
+ "objectName": "BillingSchedule",
377
+ "fieldName": "InvoiceRunBatch",
378
+ "operation": "Equals",
379
+ "value": "Batch1",
380
+ "criteriaSequence": 2
381
+ }
382
+ ]
383
+ }
384
+ }
385
+ - |
386
+ {
387
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
388
+ "BatchInvoiceSchedulerInput":
389
+ {
390
+ "schedulerName": "Invoice Batch Scheduler",
391
+ "startDate": "2021-05-11",
392
+ "endDate": "2021-05-15",
393
+ "preferredTime": "10:00 AM",
394
+ "frequencyCadence": "Monthly",
395
+ "timezone": "America/Los_Angeles",
396
+ "status" : "Active",
397
+ "frequencyCadenceOptions": {
398
+ "recurringSubType": "SpecificDate",
399
+ "recursOnDate": "21"
400
+ },
401
+ "filterCriteria":
402
+ [
403
+ {
404
+ "objectName": "BillingSchedule",
405
+ "fieldName": "Currency_Iso_code",
406
+ "operation": "Equals",
407
+ "value": "USD",
408
+ "criteriaSequence": 1
409
+ },
410
+ {
411
+ "objectName": "BillingSchedule",
412
+ "fieldName": "InvoiceRunBatch",
413
+ "operation": "Equals",
414
+ "value": "Batch1",
415
+ "criteriaSequence": 2
416
+ }
417
+ ]
418
+ }
419
+ }
420
+ - |
421
+ {
422
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
423
+ "BatchInvoiceSchedulerInput":
424
+ {
425
+ "schedulerName": "Invoice Batch Scheduler",
426
+ "startDate": "2021-05-11",
427
+ "endDate": "2021-05-15",
428
+ "preferredTime": "10:00 AM",
429
+ "frequencyCadence": "Daily",
430
+ "timezone": "America/Los_Angeles",
431
+ "status" : "Active",
432
+ "frequencyCadenceOptions": {
433
+ },
434
+ "filterCriteria":
435
+ [
436
+ {
437
+ "objectName": "BillingSchedule",
438
+ "fieldName": "Currency_Iso_code",
439
+ "operation": "Equals",
440
+ "value": "USD",
441
+ "criteriaSequence": 1
442
+ },
443
+ {
444
+ "objectName": "BillingSchedule",
445
+ "fieldName": "InvoiceRunBatch",
446
+ "operation": "Equals",
447
+ "value": "Batch1",
448
+ "criteriaSequence": 2
449
+ }
450
+ ]
451
+ }
452
+ }
453
+ - |
454
+ {
455
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
456
+ "BatchInvoiceSchedulerInput":
457
+ {
458
+ "schedulerName": "Invoice Batch Scheduler",
459
+ "startDate": "2021-05-11",
460
+ "preferredTime": "10:00 AM",
461
+ "frequencyCadence": "Once",
462
+ "timezone": "America/Los_Angeles",
463
+ "status" : "Active",
464
+ "frequencyCadenceOptions": {
465
+ },
466
+ "filterCriteria":
467
+ [
468
+ {
469
+ "objectName": "BillingSchedule",
470
+ "fieldName": "Currency_Iso_code",
471
+ "operation": "Equals",
472
+ "value": "USD",
473
+ "criteriaSequence": 1
474
+ },
475
+ {
476
+ "objectName": "BillingSchedule",
477
+ "fieldName": "InvoiceRunBatch",
478
+ "operation": "Equals",
479
+ "value": "Batch1",
480
+ "criteriaSequence": 2
481
+ }
482
+ ]
483
+ }
484
+ }
485
+ - |
486
+ {
487
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
488
+ "BatchInvoiceSchedulerInput":
489
+ {
490
+ "schedulerName": "Invoice Batch Scheduler",
491
+ "startDate": "2021-05-11",
492
+ "endDate": "2021-05-15",
493
+ "preferredTime": "10:00 AM",
494
+ "frequencyCadence": "Weekly",
495
+ "timezone": "America/Los_Angeles",
496
+ "status" : "Active",
497
+ "frequencyCadenceOptions": {
498
+ "recursOnDay": "Monday"
499
+ },
500
+ "filterCriteria":
501
+ [
502
+ {
503
+ "objectName": "BillingSchedule",
504
+ "fieldName": "Currency_Iso_code",
505
+ "operation": "Equals",
506
+ "value": "USD",
507
+ "criteriaSequence": 1
508
+ },
509
+ {
510
+ "objectName": "BillingSchedule",
511
+ "fieldName": "InvoiceRunBatch",
512
+ "operation": "Equals",
513
+ "value": "Batch1",
514
+ "criteriaSequence": 2
515
+ }
516
+ ]
517
+ }
518
+ }
519
+ - |
520
+ {
521
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE",
522
+ "BatchInvoiceSchedulerInput":
523
+ {
524
+ "schedulerName": "Invoice Batch Scheduler",
525
+ "startDate": "2021-05-11",
526
+ "endDate": "2021-05-15",
527
+ "preferredTime": "10:00 AM",
528
+ "frequencyCadence": "Monthly",
529
+ "timezone": "America/Los_Angeles",
530
+ "status" : "Active",
531
+ "frequencyCadenceOptions": {
532
+ "recurringSubType": "Every",
533
+ "recursOn": "First",
534
+ "recursOnDay": "Monday"
535
+ },
536
+ "filterCriteria": []
537
+ }
538
+ }
539
+ invalidConfigs:
540
+ - |
541
+ {
542
+ "schedulerName": "Batch Scheduler"
543
+ }
544
+ - |
545
+ {
546
+ "schedulerName": "Batch Scheduler",
547
+ "startDate": "2021-05-11",
548
+ "endDate": "2021-05-15",
549
+ "preferredTime": "10:00 AM",
550
+ "frequencyCadence": "Daily",
551
+ "timezone": "America/Los_Angeles",
552
+ "status" : "Draft",
553
+ "frequencyCadenceOptions": {
554
+ "recurringSubType": "Every",
555
+ "recursOn": "First",
556
+ "recursOnDay": "Monday"
557
+ },
558
+ "filterCriteria": []
559
+ }
560
+ - |
561
+ {
562
+ "schedulerName": "Batch Scheduler",
563
+ "startDate": "2021-05-11",
564
+ "endDate": "2021-05-15",
565
+ "preferredTime": "10:00 AM",
566
+ "frequencyCadence": "Daily",
567
+ "timezone": "America/Los_Angeles",
568
+ "status" : "Draft",
569
+ "frequencyCadenceOptions": {
570
+ "recurringSubType": "Every",
571
+ "recursOn": "First",
572
+ "recursOnDate": "21",
573
+ "recursOnDay": "Monday"
574
+ },
575
+ "filterCriteria": []
576
+ }
577
+ - |
578
+ {
579
+ "BatchInvoiceSchedulerInput":
580
+ {
581
+ "schedulerName": "Batch Scheduler"
582
+ }
583
+ }
584
+ - |
585
+ {
586
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE"
587
+ }
588
+ - |
589
+ {
590
+ "BatchInvoiceSchedulerInput":
591
+ {
592
+ "schedulerName": "Batch Scheduler"
593
+ },
594
+ "billingBatchSchedulerId": "5BSxx0000004CoyGAE"
595
+ }
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
+ }
645
+ /commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/draft-to-posted:
646
+ post:
647
+ (luvio.method): get
648
+ (luvio.adapter):
649
+ name: postBatchDraftInvoices
650
+
651
+ /commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/recover:
652
+ post:
653
+ (luvio.adapter):
654
+ name: batchInvoiceRunRecovery
655
+
656
+ /commerce:
657
+ /billing/invoices/invoice-batch-docgen/{invoiceBatchRunId}/actions/{actionName}:
658
+ post:
659
+ (luvio.adapter):
660
+ name: postBatchInvoiceDocGen
661
+ /connect/billing/batch/cron/execution-dates:
662
+ post:
663
+ (luvio.adapter):
664
+ name: postCronExecutionDates