@salesforce/lds-adapters-revenue-billing-batch 1.273.1 → 1.275.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -632,7 +632,7 @@ const createInvoicesBatchSchedulerAdapterFactory = (luvio) => {
|
|
|
632
632
|
};
|
|
633
633
|
|
|
634
634
|
const TTL = 1000;
|
|
635
|
-
const VERSION = "
|
|
635
|
+
const VERSION = "1b89e7904345b50c1a8bfa0fc6e7dff0";
|
|
636
636
|
function validate(obj, path = 'InvoiceBatchDraftToPostedOutputRepresentation') {
|
|
637
637
|
const v_error = (() => {
|
|
638
638
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -643,11 +643,6 @@ function validate(obj, path = 'InvoiceBatchDraftToPostedOutputRepresentation') {
|
|
|
643
643
|
if (typeof obj_invoiceBatchDraftToPostedId !== 'string') {
|
|
644
644
|
return new TypeError('Expected "string" but received "' + typeof obj_invoiceBatchDraftToPostedId + '" (at "' + path_invoiceBatchDraftToPostedId + '")');
|
|
645
645
|
}
|
|
646
|
-
const obj_requestIdentifier = obj.requestIdentifier;
|
|
647
|
-
const path_requestIdentifier = path + '.requestIdentifier';
|
|
648
|
-
if (typeof obj_requestIdentifier !== 'string') {
|
|
649
|
-
return new TypeError('Expected "string" but received "' + typeof obj_requestIdentifier + '" (at "' + path_requestIdentifier + '")');
|
|
650
|
-
}
|
|
651
646
|
const obj_success = obj.success;
|
|
652
647
|
const path_success = path + '.success';
|
|
653
648
|
if (typeof obj_success !== 'boolean') {
|
|
@@ -670,10 +665,6 @@ const select$1 = function InvoiceBatchDraftToPostedOutputRepresentationSelect()
|
|
|
670
665
|
name: 'invoiceBatchDraftToPostedId',
|
|
671
666
|
kind: 'Scalar'
|
|
672
667
|
},
|
|
673
|
-
{
|
|
674
|
-
name: 'requestIdentifier',
|
|
675
|
-
kind: 'Scalar'
|
|
676
|
-
},
|
|
677
668
|
{
|
|
678
669
|
name: 'success',
|
|
679
670
|
kind: 'Scalar'
|
|
@@ -692,11 +683,6 @@ function equals(existing, incoming) {
|
|
|
692
683
|
if (!(existing_invoiceBatchDraftToPostedId === incoming_invoiceBatchDraftToPostedId)) {
|
|
693
684
|
return false;
|
|
694
685
|
}
|
|
695
|
-
const existing_requestIdentifier = existing.requestIdentifier;
|
|
696
|
-
const incoming_requestIdentifier = incoming.requestIdentifier;
|
|
697
|
-
if (!(existing_requestIdentifier === incoming_requestIdentifier)) {
|
|
698
|
-
return false;
|
|
699
|
-
}
|
|
700
686
|
return true;
|
|
701
687
|
}
|
|
702
688
|
const ingest = function InvoiceBatchDraftToPostedOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "1b89e7904345b50c1a8bfa0fc6e7dff0";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: InvoiceBatchDraftToPostedOutputRepresentation, existing: InvoiceBatchDraftToPostedOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InvoiceBatchDraftToPostedOutputRepresentationNormalized;
|
|
@@ -17,8 +17,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface InvoiceBatchDraftToPostedOutputRepresentationNormalized {
|
|
18
18
|
/** Invoice Batch Draft To Posted ID */
|
|
19
19
|
invoiceBatchDraftToPostedId: string;
|
|
20
|
-
/** Unique request identifier that can be used to poll async request */
|
|
21
|
-
requestIdentifier: string;
|
|
22
20
|
/** Flag indicating the overall enqueue status */
|
|
23
21
|
success: boolean;
|
|
24
22
|
}
|
|
@@ -30,6 +28,5 @@ export interface InvoiceBatchDraftToPostedOutputRepresentationNormalized {
|
|
|
30
28
|
*/
|
|
31
29
|
export interface InvoiceBatchDraftToPostedOutputRepresentation {
|
|
32
30
|
invoiceBatchDraftToPostedId: string;
|
|
33
|
-
requestIdentifier: string;
|
|
34
31
|
success: boolean;
|
|
35
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-revenue-billing-batch",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.275.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This API family is meant for all APIs required for Billing Batch.",
|
|
6
6
|
"main": "dist/es/es2018/revenue-billing-batch.js",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.275.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.275.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.275.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -642,7 +642,7 @@ const createPaymentsBatchSchedulerAdapterFactory = (luvio) => {
|
|
|
642
642
|
};
|
|
643
643
|
|
|
644
644
|
const TTL = 1000;
|
|
645
|
-
const VERSION = "
|
|
645
|
+
const VERSION = "1b89e7904345b50c1a8bfa0fc6e7dff0";
|
|
646
646
|
function validate(obj, path = 'InvoiceBatchDraftToPostedOutputRepresentation') {
|
|
647
647
|
const v_error = (() => {
|
|
648
648
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -653,11 +653,6 @@ function validate(obj, path = 'InvoiceBatchDraftToPostedOutputRepresentation') {
|
|
|
653
653
|
if (typeof obj_invoiceBatchDraftToPostedId !== 'string') {
|
|
654
654
|
return new TypeError('Expected "string" but received "' + typeof obj_invoiceBatchDraftToPostedId + '" (at "' + path_invoiceBatchDraftToPostedId + '")');
|
|
655
655
|
}
|
|
656
|
-
const obj_requestIdentifier = obj.requestIdentifier;
|
|
657
|
-
const path_requestIdentifier = path + '.requestIdentifier';
|
|
658
|
-
if (typeof obj_requestIdentifier !== 'string') {
|
|
659
|
-
return new TypeError('Expected "string" but received "' + typeof obj_requestIdentifier + '" (at "' + path_requestIdentifier + '")');
|
|
660
|
-
}
|
|
661
656
|
const obj_success = obj.success;
|
|
662
657
|
const path_success = path + '.success';
|
|
663
658
|
if (typeof obj_success !== 'boolean') {
|
|
@@ -680,10 +675,6 @@ const select$1 = function InvoiceBatchDraftToPostedOutputRepresentationSelect()
|
|
|
680
675
|
name: 'invoiceBatchDraftToPostedId',
|
|
681
676
|
kind: 'Scalar'
|
|
682
677
|
},
|
|
683
|
-
{
|
|
684
|
-
name: 'requestIdentifier',
|
|
685
|
-
kind: 'Scalar'
|
|
686
|
-
},
|
|
687
678
|
{
|
|
688
679
|
name: 'success',
|
|
689
680
|
kind: 'Scalar'
|
|
@@ -702,11 +693,6 @@ function equals(existing, incoming) {
|
|
|
702
693
|
if (!(existing_invoiceBatchDraftToPostedId === incoming_invoiceBatchDraftToPostedId)) {
|
|
703
694
|
return false;
|
|
704
695
|
}
|
|
705
|
-
const existing_requestIdentifier = existing.requestIdentifier;
|
|
706
|
-
const incoming_requestIdentifier = incoming.requestIdentifier;
|
|
707
|
-
if (!(existing_requestIdentifier === incoming_requestIdentifier)) {
|
|
708
|
-
return false;
|
|
709
|
-
}
|
|
710
696
|
return true;
|
|
711
697
|
}
|
|
712
698
|
const ingest = function InvoiceBatchDraftToPostedOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -906,4 +892,4 @@ withDefaultLuvio((luvio) => {
|
|
|
906
892
|
});
|
|
907
893
|
|
|
908
894
|
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchDraftInvoices_imperative };
|
|
909
|
-
// version: 1.
|
|
895
|
+
// version: 1.275.0-7ed4653a5
|
package/src/raml/api.raml
CHANGED
|
@@ -214,12 +214,6 @@ types:
|
|
|
214
214
|
invoiceBatchDraftToPostedId:
|
|
215
215
|
description: Invoice Batch Draft To Posted ID
|
|
216
216
|
type: string
|
|
217
|
-
requestIdentifier:
|
|
218
|
-
description: Unique request identifier that can be used to poll async request
|
|
219
|
-
type: string
|
|
220
|
-
#statusURL: # TODO handrolled W-13817376
|
|
221
|
-
#description: a StatusURL for tracking this operation
|
|
222
|
-
#type: string
|
|
223
217
|
success:
|
|
224
218
|
description: Flag indicating the overall enqueue status
|
|
225
219
|
type: boolean
|