@d19n/youfibre-odin-sdk 2.0.37 → 2.0.39

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.
@@ -21,8 +21,8 @@ export interface CreatePaymentMethodMessage extends OdinRecordCreatedEvent<Creat
21
21
  /**
22
22
  * Properties for CreatePaymentMethod action
23
23
  *
24
- * @property Required fields: 2
25
- * @property Optional fields: 0
24
+ * @property Required fields: 0
25
+ * @property Optional fields: 2
26
26
  */
27
27
  export interface CreatePaymentMethodProperties {
28
28
  /**
@@ -30,17 +30,15 @@ export interface CreatePaymentMethodProperties {
30
30
  *
31
31
  * Private field use for forms creating the payment method. No data is stored here. (Finance - PaymentMethod)
32
32
  * @type {TEXT}
33
- * @required
34
33
  */
35
- _AccountNumber: string;
34
+ _AccountNumber?: string | null;
36
35
  /**
37
36
  * _BranchCode
38
37
  *
39
38
  * This is a private field used for creating a new payment method, no data is stored here. (Finance - PaymentMethod)
40
39
  * @type {TEXT}
41
- * @required
42
40
  */
43
- _BranchCode: string;
41
+ _BranchCode?: string | null;
44
42
  }
45
43
  /**
46
44
  * CreatePaymentMethod
@@ -315,7 +315,7 @@ export declare class PaymentMethodRecord<TProps = PaymentMethodProperties> {
315
315
  * const payload = record.createPaymentMethod({ ... }).dryRun();
316
316
  * ```
317
317
  */
318
- createPaymentMethod(properties: CreatePaymentMethodProperties, options?: {
318
+ createPaymentMethod(properties?: CreatePaymentMethodProperties, options?: {
319
319
  type?: string;
320
320
  journeyId?: string;
321
321
  stageKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -11,8 +11,8 @@
11
11
  "typescript": "4.8.4"
12
12
  },
13
13
  "dependencies": {
14
- "@d19n/odin-sdk-generator": "^3.0.231",
15
- "@d19n/odin-types": "^3.0.30"
14
+ "@d19n/odin-sdk-generator": "^3.0.232",
15
+ "@d19n/odin-types": "^3.0.31"
16
16
  },
17
17
  "scripts": {
18
18
  "release:beta": "rm -rf dist && tsc && npm version prerelease --preid=beta && git push && npm publish --tag beta",