@salesforce/lds-adapters-revenue-billing-batch 1.303.0 → 1.305.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 +7 -0
- package/dist/es/es2018/types/src/generated/adapters/postCronExecutionDates.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBillingBatchCronExecutionDates.d.ts +8 -2
- package/dist/es/es2018/types/src/generated/types/CronExecutionDatesInputRepresentation.d.ts +18 -4
- package/package.json +4 -4
- package/sfdc/index.js +8 -1
- package/src/raml/api.raml +21 -1
|
@@ -1240,12 +1240,19 @@ function createResourceRequest(config) {
|
|
|
1240
1240
|
const adapterName = 'postCronExecutionDates';
|
|
1241
1241
|
const postCronExecutionDates_ConfigPropertyMetadata = [
|
|
1242
1242
|
generateParamConfigMetadata('numberOfNextExecutionDates', true, 2 /* Body */, 3 /* Integer */),
|
|
1243
|
+
generateParamConfigMetadata('startDate', true, 2 /* Body */, 0 /* String */),
|
|
1244
|
+
generateParamConfigMetadata('timezone', true, 2 /* Body */, 0 /* String */),
|
|
1245
|
+
generateParamConfigMetadata('frequencyCadenceOptions', true, 2 /* Body */, 4 /* Unsupported */),
|
|
1246
|
+
generateParamConfigMetadata('frequencyCadence', true, 2 /* Body */, 0 /* String */),
|
|
1247
|
+
generateParamConfigMetadata('preferredTime', true, 2 /* Body */, 0 /* String */),
|
|
1243
1248
|
];
|
|
1244
1249
|
const postCronExecutionDates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postCronExecutionDates_ConfigPropertyMetadata);
|
|
1245
1250
|
const createResourceParams = /*#__PURE__*/ createResourceParams$5(postCronExecutionDates_ConfigPropertyMetadata);
|
|
1246
1251
|
function typeCheckConfig(untrustedConfig) {
|
|
1247
1252
|
const config = {};
|
|
1248
1253
|
typeCheckConfig$5(untrustedConfig, config, postCronExecutionDates_ConfigPropertyMetadata);
|
|
1254
|
+
const untrustedConfig_frequencyCadenceOptions = untrustedConfig.frequencyCadenceOptions;
|
|
1255
|
+
config.frequencyCadenceOptions = untrustedConfig_frequencyCadenceOptions;
|
|
1249
1256
|
return config;
|
|
1250
1257
|
}
|
|
1251
1258
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -7,6 +7,11 @@ export declare const postCronExecutionDates_ConfigPropertyMetadata: $64$luvio_en
|
|
|
7
7
|
export declare const postCronExecutionDates_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface PostCronExecutionDatesConfig {
|
|
9
9
|
numberOfNextExecutionDates: number;
|
|
10
|
+
startDate: string;
|
|
11
|
+
timezone: string;
|
|
12
|
+
frequencyCadenceOptions: unknown;
|
|
13
|
+
frequencyCadence: string;
|
|
14
|
+
preferredTime: string;
|
|
10
15
|
}
|
|
11
16
|
export declare const createResourceParams: (config: PostCronExecutionDatesConfig) => resources_postConnectBillingBatchCronExecutionDates_ResourceRequestConfig;
|
|
12
17
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostCronExecutionDatesConfig>): adapter$45$utils_Untrusted<PostCronExecutionDatesConfig>;
|
package/dist/es/es2018/types/src/generated/resources/postConnectBillingBatchCronExecutionDates.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { ScheduleOptionsInputRepresentation as types_ScheduleOptionsInputRepresentation_ScheduleOptionsInputRepresentation } from '../types/ScheduleOptionsInputRepresentation';
|
|
2
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';
|
|
3
2
|
import { CronExecutionDatesOutputRepresentation as types_CronExecutionDatesOutputRepresentation_CronExecutionDatesOutputRepresentation } from '../types/CronExecutionDatesOutputRepresentation';
|
|
4
3
|
export interface ResourceRequestConfig {
|
|
5
|
-
body:
|
|
4
|
+
body: {
|
|
5
|
+
numberOfNextExecutionDates: number;
|
|
6
|
+
startDate: string;
|
|
7
|
+
timezone: string;
|
|
8
|
+
frequencyCadenceOptions: unknown;
|
|
9
|
+
frequencyCadence: string;
|
|
10
|
+
preferredTime: string;
|
|
11
|
+
};
|
|
6
12
|
}
|
|
7
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
8
14
|
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CronExecutionDatesOutputRepresentation_CronExecutionDatesOutputRepresentation): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ScheduleOptionsInputRepresentation as ScheduleOptionsInputRepresentation_ScheduleOptionsInputRepresentation } from './ScheduleOptionsInputRepresentation';
|
|
2
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';
|
|
3
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "f2c42249e521662b4922de1d2621b812";
|
|
4
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
4
|
export declare const RepresentationType: string;
|
|
6
5
|
export declare function normalize(input: CronExecutionDatesInputRepresentation, existing: CronExecutionDatesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CronExecutionDatesInputRepresentationNormalized;
|
|
@@ -14,9 +13,19 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
13
|
* Keys:
|
|
15
14
|
* (none)
|
|
16
15
|
*/
|
|
17
|
-
export interface CronExecutionDatesInputRepresentationNormalized
|
|
16
|
+
export interface CronExecutionDatesInputRepresentationNormalized {
|
|
17
|
+
/** Frequency Cadence for the Batch Job */
|
|
18
|
+
frequencyCadence: string;
|
|
19
|
+
/** Frequency Cadence Options for Invoice Scheduler */
|
|
20
|
+
frequencyCadenceOptions: unknown;
|
|
18
21
|
/** Number of next execution dates to be returned for the Batch Job */
|
|
19
22
|
numberOfNextExecutionDates: number;
|
|
23
|
+
/** Batch Job Preferred Run Time */
|
|
24
|
+
preferredTime: string;
|
|
25
|
+
/** Batch Job Start Date */
|
|
26
|
+
startDate: string;
|
|
27
|
+
/** Preferred Time Zone of the invoice Scheduler */
|
|
28
|
+
timezone: string;
|
|
20
29
|
}
|
|
21
30
|
/**
|
|
22
31
|
* Cron Execution Dates Input Representation
|
|
@@ -24,6 +33,11 @@ export interface CronExecutionDatesInputRepresentationNormalized extends Schedul
|
|
|
24
33
|
* Keys:
|
|
25
34
|
* (none)
|
|
26
35
|
*/
|
|
27
|
-
export interface CronExecutionDatesInputRepresentation
|
|
36
|
+
export interface CronExecutionDatesInputRepresentation {
|
|
37
|
+
frequencyCadence: string;
|
|
38
|
+
frequencyCadenceOptions: unknown;
|
|
28
39
|
numberOfNextExecutionDates: number;
|
|
40
|
+
preferredTime: string;
|
|
41
|
+
startDate: string;
|
|
42
|
+
timezone: string;
|
|
29
43
|
}
|
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.305.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.305.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.305.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.305.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1250,12 +1250,19 @@ function createResourceRequest(config) {
|
|
|
1250
1250
|
const adapterName = 'postCronExecutionDates';
|
|
1251
1251
|
const postCronExecutionDates_ConfigPropertyMetadata = [
|
|
1252
1252
|
generateParamConfigMetadata('numberOfNextExecutionDates', true, 2 /* Body */, 3 /* Integer */),
|
|
1253
|
+
generateParamConfigMetadata('startDate', true, 2 /* Body */, 0 /* String */),
|
|
1254
|
+
generateParamConfigMetadata('timezone', true, 2 /* Body */, 0 /* String */),
|
|
1255
|
+
generateParamConfigMetadata('frequencyCadenceOptions', true, 2 /* Body */, 4 /* Unsupported */),
|
|
1256
|
+
generateParamConfigMetadata('frequencyCadence', true, 2 /* Body */, 0 /* String */),
|
|
1257
|
+
generateParamConfigMetadata('preferredTime', true, 2 /* Body */, 0 /* String */),
|
|
1253
1258
|
];
|
|
1254
1259
|
const postCronExecutionDates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postCronExecutionDates_ConfigPropertyMetadata);
|
|
1255
1260
|
const createResourceParams = /*#__PURE__*/ createResourceParams$5(postCronExecutionDates_ConfigPropertyMetadata);
|
|
1256
1261
|
function typeCheckConfig(untrustedConfig) {
|
|
1257
1262
|
const config = {};
|
|
1258
1263
|
typeCheckConfig$5(untrustedConfig, config, postCronExecutionDates_ConfigPropertyMetadata);
|
|
1264
|
+
const untrustedConfig_frequencyCadenceOptions = untrustedConfig.frequencyCadenceOptions;
|
|
1265
|
+
config.frequencyCadenceOptions = untrustedConfig_frequencyCadenceOptions;
|
|
1259
1266
|
return config;
|
|
1260
1267
|
}
|
|
1261
1268
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
|
@@ -1343,4 +1350,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1343
1350
|
});
|
|
1344
1351
|
|
|
1345
1352
|
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchDraftInvoices_imperative, postBatchInvoiceDocGen, postCronExecutionDates };
|
|
1346
|
-
// version: 1.
|
|
1353
|
+
// version: 1.305.0-ec92f7304c
|
package/src/raml/api.raml
CHANGED
|
@@ -245,11 +245,31 @@ types:
|
|
|
245
245
|
type: boolean
|
|
246
246
|
CronExecutionDatesInputRepresentation:
|
|
247
247
|
description: Cron Execution Dates Input Representation
|
|
248
|
-
type:
|
|
248
|
+
type: object
|
|
249
249
|
properties:
|
|
250
250
|
numberOfNextExecutionDates:
|
|
251
251
|
description: Number of next execution dates to be returned for the Batch Job
|
|
252
252
|
type: integer
|
|
253
|
+
startDate:
|
|
254
|
+
description: Batch Job Start Date
|
|
255
|
+
type: string
|
|
256
|
+
timezone:
|
|
257
|
+
description: Preferred Time Zone of the invoice Scheduler
|
|
258
|
+
type: string
|
|
259
|
+
frequencyCadenceOptions:
|
|
260
|
+
description: Frequency Cadence Options for Invoice Scheduler
|
|
261
|
+
type: any
|
|
262
|
+
frequencyCadence:
|
|
263
|
+
description: Frequency Cadence for the Batch Job
|
|
264
|
+
type: string
|
|
265
|
+
enum:
|
|
266
|
+
- Daily
|
|
267
|
+
- Monthly
|
|
268
|
+
- Once
|
|
269
|
+
- Weekly
|
|
270
|
+
preferredTime:
|
|
271
|
+
description: Batch Job Preferred Run Time
|
|
272
|
+
type: string
|
|
253
273
|
CronExecutionDatesOutputRepresentation:
|
|
254
274
|
description: Cron Execution Dates Output Representation
|
|
255
275
|
type: object
|