@lcdp/api-react-rest-client 2.14.6 → 2.14.7-LDS-4914-magic-cart-do-not-filter-sale-o.19359575032

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.14.6",
3
+ "version": "2.14.7-LDS-4914-magic-cart-do-not-filter-sale-o.19359575032",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -28,6 +28,8 @@ export interface GetSaleOffersRequest {
28
28
  refNeq?: Array<string>;
29
29
  ptEq?: string;
30
30
  sptEq?: string;
31
+ pstEq?: string;
32
+ pstNeq?: string;
31
33
  cdateGte?: Date;
32
34
  cdateLte?: Date;
33
35
  udateGte?: Date;
@@ -206,6 +206,12 @@ var SearchSaleOfferApi = /** @class */ (function (_super) {
206
206
  if (requestParameters['sptEq'] != null) {
207
207
  queryParameters['spt[eq]'] = requestParameters['sptEq'];
208
208
  }
209
+ if (requestParameters['pstEq'] != null) {
210
+ queryParameters['pst[eq]'] = requestParameters['pstEq'];
211
+ }
212
+ if (requestParameters['pstNeq'] != null) {
213
+ queryParameters['pst[neq]'] = requestParameters['pstNeq'];
214
+ }
209
215
  if (requestParameters['cdateGte'] != null) {
210
216
  queryParameters['cdate[gte]'] = requestParameters['cdateGte'].toISOString();
211
217
  }
@@ -21,14 +21,6 @@ export interface UserJournal {
21
21
  * @memberof UserJournal
22
22
  */
23
23
  archivedSaleOfferPageViewAt?: Date;
24
- /**
25
- * Deadline indicating that the user with the ACTIVE status on Mangopay (ScaEnrollmentStatus) pre-SCA is not required to enroll.
26
- * If this user starts the enrollment, this date is removed.
27
- *
28
- * @type {Date}
29
- * @memberof UserJournal
30
- */
31
- scaGracePeriod?: Date;
32
24
  }
33
25
  /**
34
26
  * Check if a given object implements the UserJournal interface.
@@ -31,7 +31,6 @@ function UserJournalFromJSONTyped(json, ignoreDiscriminator) {
31
31
  }
32
32
  return {
33
33
  'archivedSaleOfferPageViewAt': (json['archivedSaleOfferPageViewAt'] === null || json['archivedSaleOfferPageViewAt'] === undefined) ? json['archivedSaleOfferPageViewAt'] : new Date(json['archivedSaleOfferPageViewAt']),
34
- 'scaGracePeriod': (json['scaGracePeriod'] === null || json['scaGracePeriod'] === undefined) ? json['scaGracePeriod'] : new Date(json['scaGracePeriod']),
35
34
  };
36
35
  }
37
36
  exports.UserJournalFromJSONTyped = UserJournalFromJSONTyped;
@@ -41,7 +40,6 @@ function UserJournalToJSON(value) {
41
40
  }
42
41
  return {
43
42
  'archivedSaleOfferPageViewAt': (value['archivedSaleOfferPageViewAt'] === null || value['archivedSaleOfferPageViewAt'] === undefined) ? value['archivedSaleOfferPageViewAt'] : (value['archivedSaleOfferPageViewAt']).toISOString(),
44
- 'scaGracePeriod': (value['scaGracePeriod'] === null || value['scaGracePeriod'] === undefined) ? value['scaGracePeriod'] : (value['scaGracePeriod']).toISOString(),
45
43
  };
46
44
  }
47
45
  exports.UserJournalToJSON = UserJournalToJSON;