@salesforce/lds-adapters-revenue-billing-batch 1.272.0 → 1.273.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/revenue-billing-batch.js +380 -89
- package/dist/es/es2018/types/src/generated/adapters/postBatchDraftInvoices.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedInputRepresentation.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedOutputRepresentation.d.ts +35 -0
- package/package.json +4 -4
- package/sfdc/index.js +399 -91
- package/src/raml/api.raml +41 -1
- package/src/raml/luvio.raml +9 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId_ResourceRequestConfig } from '../resources/postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId';
|
|
4
|
+
import { InvoiceBatchDraftToPostedOutputRepresentation as types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation } from '../types/InvoiceBatchDraftToPostedOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "postBatchDraftInvoices";
|
|
6
|
+
export declare const postBatchDraftInvoices_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const postBatchDraftInvoices_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface PostBatchDraftInvoicesConfig {
|
|
9
|
+
invoiceBatchRunId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: PostBatchDraftInvoicesConfig) => resources_postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostBatchDraftInvoicesConfig>): adapter$45$utils_Untrusted<PostBatchDraftInvoicesConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PostBatchDraftInvoicesConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig): $64$luvio_engine_Snapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig, resourceParams: resources_postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig, resourceParams: resources_postCommerceInvoicingInvoiceBatchRunsActionsDraftToPostedByInvoiceBatchRunId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PostBatchDraftInvoicesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: PostBatchDraftInvoicesConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>): $64$luvio_engine_Snapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>;
|
|
27
|
+
export declare const postBatchDraftInvoicesAdapterFactory: $64$luvio_engine_AdapterFactory<PostBatchDraftInvoicesConfig, types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { createPaymentsBatchSchedulerAdapterFactory } from '../adapters/createPaymentsBatchScheduler';
|
|
2
2
|
export { createInvoicesBatchSchedulerAdapterFactory } from '../adapters/createInvoicesBatchScheduler';
|
|
3
|
+
export { postBatchDraftInvoicesAdapterFactory } from '../adapters/postBatchDraftInvoices';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
declare let createInvoicesBatchScheduler: any;
|
|
2
2
|
declare let createPaymentsBatchScheduler: any;
|
|
3
|
-
|
|
3
|
+
declare let postBatchDraftInvoices: any;
|
|
4
|
+
declare let postBatchDraftInvoices_imperative: any;
|
|
5
|
+
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchDraftInvoices_imperative, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { InvoiceBatchDraftToPostedOutputRepresentation as types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation } from '../types/InvoiceBatchDraftToPostedOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
invoiceBatchRunId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_InvoiceBatchDraftToPostedOutputRepresentation_InvoiceBatchDraftToPostedOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
export declare const VERSION = "eadc81dd6799a43aad491b7958b8e7f2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: InvoiceBatchDraftToPostedInputRepresentation, existing: InvoiceBatchDraftToPostedInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InvoiceBatchDraftToPostedInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: InvoiceBatchDraftToPostedInputRepresentationNormalized, incoming: InvoiceBatchDraftToPostedInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: InvoiceBatchDraftToPostedInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Invoice Batch Draft To Posted Input Representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface InvoiceBatchDraftToPostedInputRepresentationNormalized {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Invoice Batch Draft To Posted Input Representation
|
|
20
|
+
*
|
|
21
|
+
* Keys:
|
|
22
|
+
* (none)
|
|
23
|
+
*/
|
|
24
|
+
export interface InvoiceBatchDraftToPostedInputRepresentation {
|
|
25
|
+
}
|
package/dist/es/es2018/types/src/generated/types/InvoiceBatchDraftToPostedOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
export declare const TTL = 1000;
|
|
3
|
+
export declare const VERSION = "4f294efd1302feb8c06cda89d151e387";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
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;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: InvoiceBatchDraftToPostedOutputRepresentationNormalized, incoming: InvoiceBatchDraftToPostedOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: InvoiceBatchDraftToPostedOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Invoice Batch Draft To Posted Output Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceBatchDraftToPostedOutputRepresentationNormalized {
|
|
18
|
+
/** Invoice Batch Draft To Posted ID */
|
|
19
|
+
invoiceBatchDraftToPostedId: string;
|
|
20
|
+
/** Unique request identifier that can be used to poll async request */
|
|
21
|
+
requestIdentifier: string;
|
|
22
|
+
/** Flag indicating the overall enqueue status */
|
|
23
|
+
success: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Invoice Batch Draft To Posted Output Representation
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface InvoiceBatchDraftToPostedOutputRepresentation {
|
|
32
|
+
invoiceBatchDraftToPostedId: string;
|
|
33
|
+
requestIdentifier: string;
|
|
34
|
+
success: boolean;
|
|
35
|
+
}
|
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.273.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.273.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.273.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.273.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|