@pax2pay/model-banking 0.0.32 → 0.0.33

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.
@@ -11,7 +11,7 @@ export class Notes extends rest.Collection<gracely.Error> {
11
11
  organization: string,
12
12
  account: string,
13
13
  transaction: string,
14
- note: Transaction.Note
14
+ note: Transaction.Note.Creatable
15
15
  ): Promise<Transaction | gracely.Error> {
16
16
  return this.client.post<Transaction>(`/transaction/${transaction}/note`, note, {
17
17
  organization: organization,
@@ -4,5 +4,5 @@ import * as rest from "cloudly-rest";
4
4
  import { Transaction } from "../../Transaction";
5
5
  export declare class Notes extends rest.Collection<gracely.Error> {
6
6
  constructor(client: http.Client);
7
- create(organization: string, account: string, transaction: string, note: Transaction.Note): Promise<Transaction | gracely.Error>;
7
+ create(organization: string, account: string, transaction: string, note: Transaction.Note.Creatable): Promise<Transaction | gracely.Error>;
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Notes.js","sourceRoot":"../","sources":["Client/Transactions/Notes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAGpC,MAAM,OAAO,KAAM,SAAQ,IAAI,CAAC,UAAyB;IACxD,YAAY,MAAmB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;IACd,CAAC;IACD,KAAK,CAAC,MAAM,CACX,YAAoB,EACpB,OAAe,EACf,WAAmB,EACnB,IAAsB;QAEtB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,gBAAgB,WAAW,OAAO,EAAE,IAAI,EAAE;YAC9E,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,OAAO;SAChB,CAAC,CAAA;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"Notes.js","sourceRoot":"../","sources":["Client/Transactions/Notes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAGpC,MAAM,OAAO,KAAM,SAAQ,IAAI,CAAC,UAAyB;IACxD,YAAY,MAAmB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;IACd,CAAC;IACD,KAAK,CAAC,MAAM,CACX,YAAoB,EACpB,OAAe,EACf,WAAmB,EACnB,IAAgC;QAEhC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,gBAAgB,WAAW,OAAO,EAAE,IAAI,EAAE;YAC9E,YAAY,EAAE,YAAY;YAC1B,OAAO,EAAE,OAAO;SAChB,CAAC,CAAA;IACH,CAAC;CACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",