@pax2pay/model-banking 0.0.9 → 0.0.10
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/Client/Organizations.ts
CHANGED
|
@@ -8,7 +8,7 @@ export class Organizations extends rest.Collection<gracely.Error> {
|
|
|
8
8
|
super(client)
|
|
9
9
|
}
|
|
10
10
|
async list(): Promise<Organization[] | gracely.Error> {
|
|
11
|
-
return this.client.get<Organization[]>(`/organization
|
|
11
|
+
return this.client.get<Organization[]>(`/organization`)
|
|
12
12
|
}
|
|
13
13
|
async create(organization: Organization.Creatable): Promise<Organization | gracely.Error> {
|
|
14
14
|
return this.client.post<Organization>(`/organization`, organization)
|
|
@@ -4,7 +4,7 @@ export class Organizations extends rest.Collection {
|
|
|
4
4
|
super(client);
|
|
5
5
|
}
|
|
6
6
|
async list() {
|
|
7
|
-
return this.client.get(`/organization
|
|
7
|
+
return this.client.get(`/organization`);
|
|
8
8
|
}
|
|
9
9
|
async create(organization) {
|
|
10
10
|
return this.client.post(`/organization`, organization);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organizations.js","sourceRoot":"../","sources":["Client/Organizations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAGpC,MAAM,OAAO,aAAc,SAAQ,IAAI,CAAC,UAAyB;IAChE,YAAY,MAAmB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;IACd,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAiB,
|
|
1
|
+
{"version":3,"file":"Organizations.js","sourceRoot":"../","sources":["Client/Organizations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAGpC,MAAM,OAAO,aAAc,SAAQ,IAAI,CAAC,UAAyB;IAChE,YAAY,MAAmB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;IACd,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAiB,eAAe,CAAC,CAAA;IACxD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAAoC;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAe,eAAe,EAAE,YAAY,CAAC,CAAA;IACrE,CAAC;CACD"}
|