@salesforce/lds-adapters-revenue-billing-batch 1.314.0 → 1.316.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.
|
@@ -427,30 +427,36 @@ function validate$6(obj, path = 'ScheduleOptionsInputRepresentationForInvoice')
|
|
|
427
427
|
if (typeof obj_frequencyCadenceOptions !== 'object' || ArrayIsArray(obj_frequencyCadenceOptions) || obj_frequencyCadenceOptions === null) {
|
|
428
428
|
return new TypeError('Expected "object" but received "' + typeof obj_frequencyCadenceOptions + '" (at "' + path_frequencyCadenceOptions + '")');
|
|
429
429
|
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
430
|
+
if (obj.preferredTime !== undefined) {
|
|
431
|
+
const obj_preferredTime = obj.preferredTime;
|
|
432
|
+
const path_preferredTime = path + '.preferredTime';
|
|
433
|
+
if (typeof obj_preferredTime !== 'string') {
|
|
434
|
+
return new TypeError('Expected "string" but received "' + typeof obj_preferredTime + '" (at "' + path_preferredTime + '")');
|
|
435
|
+
}
|
|
434
436
|
}
|
|
435
437
|
const obj_schedulerName = obj.schedulerName;
|
|
436
438
|
const path_schedulerName = path + '.schedulerName';
|
|
437
439
|
if (typeof obj_schedulerName !== 'string') {
|
|
438
440
|
return new TypeError('Expected "string" but received "' + typeof obj_schedulerName + '" (at "' + path_schedulerName + '")');
|
|
439
441
|
}
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
if (obj.startDate !== undefined) {
|
|
443
|
+
const obj_startDate = obj.startDate;
|
|
444
|
+
const path_startDate = path + '.startDate';
|
|
445
|
+
if (typeof obj_startDate !== 'string') {
|
|
446
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
447
|
+
}
|
|
444
448
|
}
|
|
445
449
|
const obj_status = obj.status;
|
|
446
450
|
const path_status = path + '.status';
|
|
447
451
|
if (typeof obj_status !== 'string') {
|
|
448
452
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
449
453
|
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
+
if (obj.timezone !== undefined) {
|
|
455
|
+
const obj_timezone = obj.timezone;
|
|
456
|
+
const path_timezone = path + '.timezone';
|
|
457
|
+
if (typeof obj_timezone !== 'string') {
|
|
458
|
+
return new TypeError('Expected "string" but received "' + typeof obj_timezone + '" (at "' + path_timezone + '")');
|
|
459
|
+
}
|
|
454
460
|
}
|
|
455
461
|
})();
|
|
456
462
|
return v_error === undefined ? null : v_error;
|
package/dist/es/es2018/types/src/generated/types/ScheduleOptionsInputRepresentationForInvoice.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "98d5185790d4d3c8d138d53bd2efc4f2";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ScheduleOptionsInputRepresentationForInvoice, existing: ScheduleOptionsInputRepresentationForInvoiceNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ScheduleOptionsInputRepresentationForInvoiceNormalized;
|
|
@@ -21,15 +21,15 @@ export interface ScheduleOptionsInputRepresentationForInvoiceNormalized {
|
|
|
21
21
|
/** Frequency Cadence Options for Invoice Scheduler */
|
|
22
22
|
frequencyCadenceOptions: {};
|
|
23
23
|
/** Batch Job Preferred Run Time */
|
|
24
|
-
preferredTime
|
|
24
|
+
preferredTime?: string;
|
|
25
25
|
/** Name of the batch scheduler */
|
|
26
26
|
schedulerName: string;
|
|
27
27
|
/** Batch Job Start Date */
|
|
28
|
-
startDate
|
|
28
|
+
startDate?: string;
|
|
29
29
|
/** Scheduler Status for the Batch Job */
|
|
30
30
|
status: string;
|
|
31
31
|
/** Preferred Time Zone of the invoice Scheduler */
|
|
32
|
-
timezone
|
|
32
|
+
timezone?: string;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Batch Scheduler Options Input Representation
|
|
@@ -41,9 +41,9 @@ export interface ScheduleOptionsInputRepresentationForInvoice {
|
|
|
41
41
|
endDate?: string;
|
|
42
42
|
frequencyCadence: string;
|
|
43
43
|
frequencyCadenceOptions: {};
|
|
44
|
-
preferredTime
|
|
44
|
+
preferredTime?: string;
|
|
45
45
|
schedulerName: string;
|
|
46
|
-
startDate
|
|
46
|
+
startDate?: string;
|
|
47
47
|
status: string;
|
|
48
|
-
timezone
|
|
48
|
+
timezone?: string;
|
|
49
49
|
}
|
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.316.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.316.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.316.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.316.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -180,30 +180,36 @@ function validate$a(obj, path = 'ScheduleOptionsInputRepresentationForInvoice')
|
|
|
180
180
|
if (typeof obj_frequencyCadenceOptions !== 'object' || ArrayIsArray(obj_frequencyCadenceOptions) || obj_frequencyCadenceOptions === null) {
|
|
181
181
|
return new TypeError('Expected "object" but received "' + typeof obj_frequencyCadenceOptions + '" (at "' + path_frequencyCadenceOptions + '")');
|
|
182
182
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
183
|
+
if (obj.preferredTime !== undefined) {
|
|
184
|
+
const obj_preferredTime = obj.preferredTime;
|
|
185
|
+
const path_preferredTime = path + '.preferredTime';
|
|
186
|
+
if (typeof obj_preferredTime !== 'string') {
|
|
187
|
+
return new TypeError('Expected "string" but received "' + typeof obj_preferredTime + '" (at "' + path_preferredTime + '")');
|
|
188
|
+
}
|
|
187
189
|
}
|
|
188
190
|
const obj_schedulerName = obj.schedulerName;
|
|
189
191
|
const path_schedulerName = path + '.schedulerName';
|
|
190
192
|
if (typeof obj_schedulerName !== 'string') {
|
|
191
193
|
return new TypeError('Expected "string" but received "' + typeof obj_schedulerName + '" (at "' + path_schedulerName + '")');
|
|
192
194
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
if (obj.startDate !== undefined) {
|
|
196
|
+
const obj_startDate = obj.startDate;
|
|
197
|
+
const path_startDate = path + '.startDate';
|
|
198
|
+
if (typeof obj_startDate !== 'string') {
|
|
199
|
+
return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
|
|
200
|
+
}
|
|
197
201
|
}
|
|
198
202
|
const obj_status = obj.status;
|
|
199
203
|
const path_status = path + '.status';
|
|
200
204
|
if (typeof obj_status !== 'string') {
|
|
201
205
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
202
206
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
+
if (obj.timezone !== undefined) {
|
|
208
|
+
const obj_timezone = obj.timezone;
|
|
209
|
+
const path_timezone = path + '.timezone';
|
|
210
|
+
if (typeof obj_timezone !== 'string') {
|
|
211
|
+
return new TypeError('Expected "string" but received "' + typeof obj_timezone + '" (at "' + path_timezone + '")');
|
|
212
|
+
}
|
|
207
213
|
}
|
|
208
214
|
})();
|
|
209
215
|
return v_error === undefined ? null : v_error;
|
|
@@ -1350,4 +1356,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1350
1356
|
});
|
|
1351
1357
|
|
|
1352
1358
|
export { createInvoicesBatchScheduler, createPaymentsBatchScheduler, postBatchDraftInvoices, postBatchDraftInvoices_imperative, postBatchInvoiceDocGen, postCronExecutionDates };
|
|
1353
|
-
// version: 1.
|
|
1359
|
+
// version: 1.316.0-4453f1e2b6
|
package/src/raml/api.raml
CHANGED
|
@@ -184,12 +184,14 @@ types:
|
|
|
184
184
|
- Once
|
|
185
185
|
preferredTime:
|
|
186
186
|
description: Batch Job Preferred Run Time
|
|
187
|
+
required: false
|
|
187
188
|
type: string
|
|
188
189
|
schedulerName:
|
|
189
190
|
description: Name of the batch scheduler
|
|
190
191
|
type: string
|
|
191
192
|
startDate:
|
|
192
193
|
description: Batch Job Start Date
|
|
194
|
+
required: false
|
|
193
195
|
type: string
|
|
194
196
|
status:
|
|
195
197
|
description: Scheduler Status for the Batch Job
|
|
@@ -201,6 +203,7 @@ types:
|
|
|
201
203
|
- Inactive
|
|
202
204
|
timezone:
|
|
203
205
|
description: Preferred Time Zone of the invoice Scheduler
|
|
206
|
+
required: false
|
|
204
207
|
type: string
|
|
205
208
|
frequencyCadenceOptions:
|
|
206
209
|
description: Frequency Cadence Options for Invoice Scheduler
|