@salesforce/lds-adapters-revenue-billing-batch 1.284.0 → 1.285.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 +418 -148
- package/dist/es/es2018/types/src/generated/adapters/postBatchInvoiceDocGen.d.ts +15 -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 +2 -1
- package/dist/es/es2018/types/src/generated/resources/postCommerceBillingInvoicesInvoiceBatchDocgenActionsRunByInvoiceBatchRunId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/BatchInvoiceDocGenErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/BatchInvoiceDocGenOutputRepresentation.d.ts +45 -0
- package/package.json +4 -4
- package/sfdc/index.js +422 -149
- package/src/raml/api.raml +43 -1
- package/src/raml/luvio.raml +10 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, 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_postCommerceBillingInvoicesInvoiceBatchDocgenActionsRunByInvoiceBatchRunId_ResourceRequestConfig } from '../resources/postCommerceBillingInvoicesInvoiceBatchDocgenActionsRunByInvoiceBatchRunId';
|
|
4
|
+
import { BatchInvoiceDocGenOutputRepresentation as types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation } from '../types/BatchInvoiceDocGenOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "postBatchInvoiceDocGen";
|
|
6
|
+
export declare const postBatchInvoiceDocGen_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const postBatchInvoiceDocGen_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface PostBatchInvoiceDocGenConfig {
|
|
9
|
+
invoiceBatchRunId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: PostBatchInvoiceDocGenConfig) => resources_postCommerceBillingInvoicesInvoiceBatchDocgenActionsRunByInvoiceBatchRunId_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostBatchInvoiceDocGenConfig>): adapter$45$utils_Untrusted<PostBatchInvoiceDocGenConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PostBatchInvoiceDocGenConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PostBatchInvoiceDocGenConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, any>>;
|
|
15
|
+
export declare const postBatchInvoiceDocGenAdapterFactory: $64$luvio_engine_AdapterFactory<PostBatchInvoiceDocGenConfig, types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { createPaymentsBatchSchedulerAdapterFactory } from '../adapters/createPaymentsBatchScheduler';
|
|
2
2
|
export { createInvoicesBatchSchedulerAdapterFactory } from '../adapters/createInvoicesBatchScheduler';
|
|
3
3
|
export { postBatchDraftInvoicesAdapterFactory } from '../adapters/postBatchDraftInvoices';
|
|
4
|
+
export { postBatchInvoiceDocGenAdapterFactory } from '../adapters/postBatchInvoiceDocGen';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare let createInvoicesBatchScheduler: any;
|
|
2
2
|
declare let createPaymentsBatchScheduler: any;
|
|
3
3
|
declare let postBatchDraftInvoices: any;
|
|
4
|
+
declare let postBatchInvoiceDocGen: any;
|
|
4
5
|
declare let postBatchDraftInvoices_imperative: any;
|
|
5
|
-
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchDraftInvoices_imperative, };
|
|
6
|
+
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchInvoiceDocGen, postBatchDraftInvoices_imperative, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { BatchInvoiceDocGenOutputRepresentation as types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation } from '../types/BatchInvoiceDocGenOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
invoiceBatchRunId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation): void;
|
|
10
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_BatchInvoiceDocGenOutputRepresentation_BatchInvoiceDocGenOutputRepresentation, any>;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "ae245aac2922b53e1ff758392e317d39";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: BatchInvoiceDocGenErrorRepresentation, existing: BatchInvoiceDocGenErrorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BatchInvoiceDocGenErrorRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: BatchInvoiceDocGenErrorRepresentationNormalized, incoming: BatchInvoiceDocGenErrorRepresentationNormalized): 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: BatchInvoiceDocGenErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Connect API representation for batch invoice doc gen error response.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface BatchInvoiceDocGenErrorRepresentationNormalized {
|
|
17
|
+
/** Error Code of the error thrown. */
|
|
18
|
+
errorCode: string;
|
|
19
|
+
/** Error Message of the error thrown. */
|
|
20
|
+
errorMessage: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Connect API representation for batch invoice doc gen error response.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface BatchInvoiceDocGenErrorRepresentation {
|
|
29
|
+
errorCode: string;
|
|
30
|
+
errorMessage: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BatchInvoiceDocGenErrorRepresentation as BatchInvoiceDocGenErrorRepresentation_BatchInvoiceDocGenErrorRepresentation } from './BatchInvoiceDocGenErrorRepresentation';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "1630988ffc3067417295a90783bd1812";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
requestIdentifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type BatchInvoiceDocGenOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialBatchInvoiceDocGenOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): BatchInvoiceDocGenOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: BatchInvoiceDocGenOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: BatchInvoiceDocGenOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: BatchInvoiceDocGenOutputRepresentation, existing: BatchInvoiceDocGenOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BatchInvoiceDocGenOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: BatchInvoiceDocGenOutputRepresentationNormalized, incoming: BatchInvoiceDocGenOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: BatchInvoiceDocGenOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Connect API representation for batch invoice doc gen output response.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* requestIdentifier (string): requestIdentifier
|
|
26
|
+
*/
|
|
27
|
+
export interface BatchInvoiceDocGenOutputRepresentationNormalized {
|
|
28
|
+
/** Error response if there were issues while enqueuing */
|
|
29
|
+
errors: Array<BatchInvoiceDocGenErrorRepresentation_BatchInvoiceDocGenErrorRepresentation>;
|
|
30
|
+
/** Unique request identifier that can be used to poll async request */
|
|
31
|
+
requestIdentifier: string;
|
|
32
|
+
/** Status of enqueuing Invoice PDF Generation job */
|
|
33
|
+
success: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Connect API representation for batch invoice doc gen output response.
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* requestIdentifier (string): requestIdentifier
|
|
40
|
+
*/
|
|
41
|
+
export interface BatchInvoiceDocGenOutputRepresentation {
|
|
42
|
+
errors: Array<BatchInvoiceDocGenErrorRepresentation_BatchInvoiceDocGenErrorRepresentation>;
|
|
43
|
+
requestIdentifier: string;
|
|
44
|
+
success: boolean;
|
|
45
|
+
}
|
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.285.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.285.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.285.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.285.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|