@salesforce/lds-adapters-industries-program-mgmt 1.459.0 → 1.461.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.
@@ -508,7 +508,7 @@ function validate$1(obj, path = 'BenefitSessionDeleteList') {
508
508
  }
509
509
 
510
510
  const TTL = 100;
511
- const VERSION = "5821fdcb2a41b9e59a04ab5fa43ffe40";
511
+ const VERSION = "0f163441dabee5fba73c4428e300be41";
512
512
  function validate(obj, path = 'UpdateBenefitSessionsOutputRepresentation') {
513
513
  const v_error = (() => {
514
514
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -542,6 +542,20 @@ function validate(obj, path = 'UpdateBenefitSessionsOutputRepresentation') {
542
542
  return new TypeError('Expected "integer" but received "' + typeof obj_insertedSessionCount + '" (at "' + path_insertedSessionCount + '")');
543
543
  }
544
544
  }
545
+ if (obj.message !== undefined) {
546
+ const obj_message = obj.message;
547
+ const path_message = path + '.message';
548
+ if (typeof obj_message !== 'string') {
549
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
550
+ }
551
+ }
552
+ if (obj.queued !== undefined) {
553
+ const obj_queued = obj.queued;
554
+ const path_queued = path + '.queued';
555
+ if (typeof obj_queued !== 'boolean') {
556
+ return new TypeError('Expected "boolean" but received "' + typeof obj_queued + '" (at "' + path_queued + '")');
557
+ }
558
+ }
545
559
  const obj_success = obj.success;
546
560
  const path_success = path + '.success';
547
561
  if (typeof obj_success !== 'boolean') {
@@ -1,6 +1,6 @@
1
1
  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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  export declare const TTL = 100;
3
- export declare const VERSION = "5821fdcb2a41b9e59a04ab5fa43ffe40";
3
+ export declare const VERSION = "0f163441dabee5fba73c4428e300be41";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -32,6 +32,10 @@ export interface UpdateBenefitSessionsOutputRepresentationNormalized {
32
32
  insertedDisbursementCount?: number;
33
33
  /** Number of benefit sessions that were inserted */
34
34
  insertedSessionCount?: number;
35
+ /** An informational or error message describing the outcome of the request; populated when the request is queued for background processing or when additional context is useful to the caller */
36
+ message?: string;
37
+ /** Whether the request exceeded the synchronous size threshold and was queued for background processing; when true the counts are omitted and the caller is notified on completion */
38
+ queued?: boolean;
35
39
  /** Whether the update benefit sessions request succeeded */
36
40
  success: boolean;
37
41
  /** Number of benefit sessions that were updated */
@@ -48,6 +52,8 @@ export interface UpdateBenefitSessionsOutputRepresentation {
48
52
  deletedSessionCount?: number;
49
53
  insertedDisbursementCount?: number;
50
54
  insertedSessionCount?: number;
55
+ message?: string;
56
+ queued?: boolean;
51
57
  success: boolean;
52
58
  updatedSessionCount?: number;
53
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-program-mgmt",
3
- "version": "1.459.0",
3
+ "version": "1.461.0",
4
4
  "description": "This has files related to Program Management",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-program-mgmt.js",
@@ -41,10 +41,10 @@
41
41
  "test:unit:debug": "node --inspect-brk ../../node_modules/jest/bin/jest.js --config ./jest.config.js --runInBand"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.459.0"
44
+ "@salesforce/lds-bindings": "^1.461.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.459.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.461.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -517,7 +517,7 @@ function validate$1(obj, path = 'BenefitSessionDeleteList') {
517
517
  }
518
518
 
519
519
  const TTL = 100;
520
- const VERSION = "5821fdcb2a41b9e59a04ab5fa43ffe40";
520
+ const VERSION = "0f163441dabee5fba73c4428e300be41";
521
521
  function validate(obj, path = 'UpdateBenefitSessionsOutputRepresentation') {
522
522
  const v_error = (() => {
523
523
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -551,6 +551,20 @@ function validate(obj, path = 'UpdateBenefitSessionsOutputRepresentation') {
551
551
  return new TypeError('Expected "integer" but received "' + typeof obj_insertedSessionCount + '" (at "' + path_insertedSessionCount + '")');
552
552
  }
553
553
  }
554
+ if (obj.message !== undefined) {
555
+ const obj_message = obj.message;
556
+ const path_message = path + '.message';
557
+ if (typeof obj_message !== 'string') {
558
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
559
+ }
560
+ }
561
+ if (obj.queued !== undefined) {
562
+ const obj_queued = obj.queued;
563
+ const path_queued = path + '.queued';
564
+ if (typeof obj_queued !== 'boolean') {
565
+ return new TypeError('Expected "boolean" but received "' + typeof obj_queued + '" (at "' + path_queued + '")');
566
+ }
567
+ }
554
568
  const obj_success = obj.success;
555
569
  const path_success = path + '.success';
556
570
  if (typeof obj_success !== 'boolean') {
@@ -744,4 +758,4 @@ withDefaultLuvio((luvio) => {
744
758
  });
745
759
 
746
760
  export { postBenefitSessionsPreview, postTriggerBenefitSessionGeneration, postUpdateBenefitSessions };
747
- // version: 1.459.0-eda2fb69a9
761
+ // version: 1.461.0-55ae54e753
package/src/raml/api.raml CHANGED
@@ -176,6 +176,18 @@ types:
176
176
  description: Number of benefit disbursements that were deleted
177
177
  type: integer
178
178
  required: false
179
+ queued:
180
+ description: Whether the request exceeded the synchronous size threshold and
181
+ was queued for background processing; when true the counts are omitted and
182
+ the caller is notified on completion
183
+ type: boolean
184
+ required: false
185
+ message:
186
+ description: An informational or error message describing the outcome of the
187
+ request; populated when the request is queued for background processing or
188
+ when additional context is useful to the caller
189
+ type: string
190
+ required: false
179
191
  success:
180
192
  # NOTE: Connect's schema marks this required: false, but it is used as this
181
193
  # type's (luvio.key) for the POST adapter response, which the Luvio compiler