@tammsyr/admin-api-client 1.3.7 → 1.3.9
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/README.md +0 -1
- package/dist/AccountProducts.d.ts.map +1 -1
- package/dist/AccountProducts.js.map +1 -1
- package/dist/AccountTypes.d.ts.map +1 -1
- package/dist/AccountTypes.js.map +1 -1
- package/dist/Accounts.d.ts +3 -3
- package/dist/Accounts.js +2 -2
- package/dist/AddressRegions.js.map +1 -1
- package/dist/ApprovalPolicies.d.ts +2 -2
- package/dist/ApprovalPolicies.d.ts.map +1 -1
- package/dist/ApprovalPolicies.js.map +1 -1
- package/dist/BankBranches.d.ts.map +1 -1
- package/dist/BankBranches.js.map +1 -1
- package/dist/ChargeDecisionRules.d.ts +57 -0
- package/dist/ChargeDecisionRules.d.ts.map +1 -0
- package/dist/ChargeDecisionRules.js +106 -0
- package/dist/ChargeDecisionRules.js.map +1 -0
- package/dist/ChargeSchemaItems.d.ts +57 -0
- package/dist/ChargeSchemaItems.d.ts.map +1 -0
- package/dist/ChargeSchemaItems.js +106 -0
- package/dist/ChargeSchemaItems.js.map +1 -0
- package/dist/ChargeSchemas.d.ts +57 -0
- package/dist/ChargeSchemas.d.ts.map +1 -0
- package/dist/ChargeSchemas.js +105 -0
- package/dist/ChargeSchemas.js.map +1 -0
- package/dist/ChargeTiers.d.ts +57 -0
- package/dist/ChargeTiers.d.ts.map +1 -0
- package/dist/ChargeTiers.js +106 -0
- package/dist/ChargeTiers.js.map +1 -0
- package/dist/Charges.d.ts +57 -0
- package/dist/Charges.d.ts.map +1 -0
- package/dist/Charges.js +106 -0
- package/dist/Charges.js.map +1 -0
- package/dist/Currencies.d.ts.map +1 -1
- package/dist/Dlq.d.ts.map +1 -1
- package/dist/GlobalNotifications.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/MerchantCategories.d.ts.map +1 -1
- package/dist/Seed.d.ts +0 -10
- package/dist/Seed.d.ts.map +1 -1
- package/dist/Seed.js +0 -15
- package/dist/Seed.js.map +1 -1
- package/dist/Transactions.d.ts +17 -17
- package/dist/Transactions.d.ts.map +1 -1
- package/dist/Transactions.js +19 -19
- package/dist/Transactions.js.map +1 -1
- package/dist/data-contracts.d.ts +591 -327
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +15 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/FeeConfigs.d.ts +0 -57
- package/dist/FeeConfigs.d.ts.map +0 -1
- package/dist/FeeConfigs.js +0 -107
- package/dist/FeeConfigs.js.map +0 -1
- package/dist/SystemConfigs.d.ts +0 -37
- package/dist/SystemConfigs.d.ts.map +0 -1
- package/dist/SystemConfigs.js +0 -72
- package/dist/SystemConfigs.js.map +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* ---------------------------------------------------------------
|
|
7
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
8
|
+
* ## ##
|
|
9
|
+
* ## AUTHOR: acacode ##
|
|
10
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
11
|
+
* ---------------------------------------------------------------
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ChargeSchemas = void 0;
|
|
15
|
+
const http_client_1 = require("./http-client");
|
|
16
|
+
class ChargeSchemas {
|
|
17
|
+
constructor(http) {
|
|
18
|
+
/**
|
|
19
|
+
* @description All fee packages the customer can be billed under.
|
|
20
|
+
*
|
|
21
|
+
* @tags Charge Schemas
|
|
22
|
+
* @name ListChargeSchemas
|
|
23
|
+
* @summary List charge schemas (packages)
|
|
24
|
+
* @request GET:/charge-schemas
|
|
25
|
+
* @secure
|
|
26
|
+
*/
|
|
27
|
+
this.listChargeSchemas = (params = {}) => this.http.request({
|
|
28
|
+
path: `/charge-schemas`,
|
|
29
|
+
method: "GET",
|
|
30
|
+
secure: true,
|
|
31
|
+
format: "json",
|
|
32
|
+
...params,
|
|
33
|
+
});
|
|
34
|
+
/**
|
|
35
|
+
* @description Adds a new package. Bundle charges into it via charge-schema-items.
|
|
36
|
+
*
|
|
37
|
+
* @tags Charge Schemas
|
|
38
|
+
* @name CreateChargeSchema
|
|
39
|
+
* @summary Create a charge schema
|
|
40
|
+
* @request POST:/charge-schemas
|
|
41
|
+
* @secure
|
|
42
|
+
*/
|
|
43
|
+
this.createChargeSchema = (data, params = {}) => this.http.request({
|
|
44
|
+
path: `/charge-schemas`,
|
|
45
|
+
method: "POST",
|
|
46
|
+
body: data,
|
|
47
|
+
secure: true,
|
|
48
|
+
type: http_client_1.ContentType.Json,
|
|
49
|
+
format: "json",
|
|
50
|
+
...params,
|
|
51
|
+
});
|
|
52
|
+
/**
|
|
53
|
+
* No description
|
|
54
|
+
*
|
|
55
|
+
* @tags Charge Schemas
|
|
56
|
+
* @name GetChargeSchema
|
|
57
|
+
* @summary Get a charge schema by code
|
|
58
|
+
* @request GET:/charge-schemas/{code}
|
|
59
|
+
* @secure
|
|
60
|
+
*/
|
|
61
|
+
this.getChargeSchema = ({ code, ...query }, params = {}) => this.http.request({
|
|
62
|
+
path: `/charge-schemas/${code}`,
|
|
63
|
+
method: "GET",
|
|
64
|
+
secure: true,
|
|
65
|
+
format: "json",
|
|
66
|
+
...params,
|
|
67
|
+
});
|
|
68
|
+
/**
|
|
69
|
+
* No description
|
|
70
|
+
*
|
|
71
|
+
* @tags Charge Schemas
|
|
72
|
+
* @name UpdateChargeSchema
|
|
73
|
+
* @summary Update a charge schema
|
|
74
|
+
* @request PATCH:/charge-schemas/{code}
|
|
75
|
+
* @secure
|
|
76
|
+
*/
|
|
77
|
+
this.updateChargeSchema = ({ code, ...query }, data, params = {}) => this.http.request({
|
|
78
|
+
path: `/charge-schemas/${code}`,
|
|
79
|
+
method: "PATCH",
|
|
80
|
+
body: data,
|
|
81
|
+
secure: true,
|
|
82
|
+
type: http_client_1.ContentType.Json,
|
|
83
|
+
format: "json",
|
|
84
|
+
...params,
|
|
85
|
+
});
|
|
86
|
+
/**
|
|
87
|
+
* @description Fails if the schema is still referenced by an item or decision rule.
|
|
88
|
+
*
|
|
89
|
+
* @tags Charge Schemas
|
|
90
|
+
* @name DeleteChargeSchema
|
|
91
|
+
* @summary Delete a charge schema
|
|
92
|
+
* @request DELETE:/charge-schemas/{code}
|
|
93
|
+
* @secure
|
|
94
|
+
*/
|
|
95
|
+
this.deleteChargeSchema = ({ code, ...query }, params = {}) => this.http.request({
|
|
96
|
+
path: `/charge-schemas/${code}`,
|
|
97
|
+
method: "DELETE",
|
|
98
|
+
secure: true,
|
|
99
|
+
...params,
|
|
100
|
+
});
|
|
101
|
+
this.http = http;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ChargeSchemas = ChargeSchemas;
|
|
105
|
+
//# sourceMappingURL=ChargeSchemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChargeSchemas.js","sourceRoot":"","sources":["../ChargeSchemas.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAkBH,+CAAuE;AAEvE,MAAa,aAAa;IAGxB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,sBAAiB,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACjD,IAAI,CAAC,IAAI,CAAC,OAAO,CAA6B;YAC5C,IAAI,EAAE,iBAAiB;YACvB,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,uBAAkB,GAAG,CACnB,IAA2B,EAC3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I,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAuGF;AA5GD,sCA4GC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { CreateChargeTierDto, DeleteChargeTierParams, GetChargeTierParams, ListChargeTiersParams, UpdateChargeTierDto, UpdateChargeTierParams } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
export declare class ChargeTiers<SecurityDataType = unknown> {
|
|
4
|
+
http: HttpClient<SecurityDataType>;
|
|
5
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
6
|
+
/**
|
|
7
|
+
* @description Tiers, optionally filtered by charge, currency and status.
|
|
8
|
+
*
|
|
9
|
+
* @tags Charge Tiers
|
|
10
|
+
* @name ListChargeTiers
|
|
11
|
+
* @summary List charge tiers (prices)
|
|
12
|
+
* @request GET:/charge-tiers
|
|
13
|
+
* @secure
|
|
14
|
+
*/
|
|
15
|
+
listChargeTiers: (query: ListChargeTiersParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeTierListResponseDto, any, {}>>;
|
|
16
|
+
/**
|
|
17
|
+
* @description Adds a price band. Affects every subsequent quote in that band.
|
|
18
|
+
*
|
|
19
|
+
* @tags Charge Tiers
|
|
20
|
+
* @name CreateChargeTier
|
|
21
|
+
* @summary Create a charge tier
|
|
22
|
+
* @request POST:/charge-tiers
|
|
23
|
+
* @secure
|
|
24
|
+
*/
|
|
25
|
+
createChargeTier: (data: CreateChargeTierDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeTierResponseDto, any, {}>>;
|
|
26
|
+
/**
|
|
27
|
+
* No description
|
|
28
|
+
*
|
|
29
|
+
* @tags Charge Tiers
|
|
30
|
+
* @name GetChargeTier
|
|
31
|
+
* @summary Get a charge tier by id
|
|
32
|
+
* @request GET:/charge-tiers/{id}
|
|
33
|
+
* @secure
|
|
34
|
+
*/
|
|
35
|
+
getChargeTier: ({ id, ...query }: GetChargeTierParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeTierResponseDto, any, {}>>;
|
|
36
|
+
/**
|
|
37
|
+
* No description
|
|
38
|
+
*
|
|
39
|
+
* @tags Charge Tiers
|
|
40
|
+
* @name UpdateChargeTier
|
|
41
|
+
* @summary Update a charge tier
|
|
42
|
+
* @request PATCH:/charge-tiers/{id}
|
|
43
|
+
* @secure
|
|
44
|
+
*/
|
|
45
|
+
updateChargeTier: ({ id, ...query }: UpdateChargeTierParams, data: UpdateChargeTierDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeTierResponseDto, any, {}>>;
|
|
46
|
+
/**
|
|
47
|
+
* No description
|
|
48
|
+
*
|
|
49
|
+
* @tags Charge Tiers
|
|
50
|
+
* @name DeleteChargeTier
|
|
51
|
+
* @summary Delete a charge tier
|
|
52
|
+
* @request DELETE:/charge-tiers/{id}
|
|
53
|
+
* @secure
|
|
54
|
+
*/
|
|
55
|
+
deleteChargeTier: ({ id, ...query }: DeleteChargeTierParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=ChargeTiers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChargeTiers.d.ts","sourceRoot":"","sources":["../ChargeTiers.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,mBAAmB,EAInB,sBAAsB,EAGtB,mBAAmB,EAEnB,qBAAqB,EAErB,mBAAmB,EAEnB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,WAAW,CAAC,gBAAgB,GAAG,OAAO;IACjD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,eAAe,GACb,OAAO,qBAAqB,EAC5B,SAAQ,aAAkB,2GASvB;IACL;;;;;;;;OAQG;IACH,gBAAgB,GAAI,MAAM,mBAAmB,EAAE,SAAQ,aAAkB,uGASpE;IACL;;;;;;;;OAQG;IACH,aAAa,GACX,kBAAkB,mBAAmB,EACrC,SAAQ,aAAkB,uGAQvB;IACL;;;;;;;;OAQG;IACH,gBAAgB,GACd,kBAAkB,sBAAsB,EACxC,MAAM,mBAAmB,EACzB,SAAQ,aAAkB,uGAUvB;IACL;;;;;;;;OAQG;IACH,gBAAgB,GACd,kBAAkB,sBAAsB,EACxC,SAAQ,aAAkB,0DAOvB;CACN"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* ---------------------------------------------------------------
|
|
7
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
8
|
+
* ## ##
|
|
9
|
+
* ## AUTHOR: acacode ##
|
|
10
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
11
|
+
* ---------------------------------------------------------------
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ChargeTiers = void 0;
|
|
15
|
+
const http_client_1 = require("./http-client");
|
|
16
|
+
class ChargeTiers {
|
|
17
|
+
constructor(http) {
|
|
18
|
+
/**
|
|
19
|
+
* @description Tiers, optionally filtered by charge, currency and status.
|
|
20
|
+
*
|
|
21
|
+
* @tags Charge Tiers
|
|
22
|
+
* @name ListChargeTiers
|
|
23
|
+
* @summary List charge tiers (prices)
|
|
24
|
+
* @request GET:/charge-tiers
|
|
25
|
+
* @secure
|
|
26
|
+
*/
|
|
27
|
+
this.listChargeTiers = (query, params = {}) => this.http.request({
|
|
28
|
+
path: `/charge-tiers`,
|
|
29
|
+
method: "GET",
|
|
30
|
+
query: query,
|
|
31
|
+
secure: true,
|
|
32
|
+
format: "json",
|
|
33
|
+
...params,
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* @description Adds a price band. Affects every subsequent quote in that band.
|
|
37
|
+
*
|
|
38
|
+
* @tags Charge Tiers
|
|
39
|
+
* @name CreateChargeTier
|
|
40
|
+
* @summary Create a charge tier
|
|
41
|
+
* @request POST:/charge-tiers
|
|
42
|
+
* @secure
|
|
43
|
+
*/
|
|
44
|
+
this.createChargeTier = (data, params = {}) => this.http.request({
|
|
45
|
+
path: `/charge-tiers`,
|
|
46
|
+
method: "POST",
|
|
47
|
+
body: data,
|
|
48
|
+
secure: true,
|
|
49
|
+
type: http_client_1.ContentType.Json,
|
|
50
|
+
format: "json",
|
|
51
|
+
...params,
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Charge Tiers
|
|
57
|
+
* @name GetChargeTier
|
|
58
|
+
* @summary Get a charge tier by id
|
|
59
|
+
* @request GET:/charge-tiers/{id}
|
|
60
|
+
* @secure
|
|
61
|
+
*/
|
|
62
|
+
this.getChargeTier = ({ id, ...query }, params = {}) => this.http.request({
|
|
63
|
+
path: `/charge-tiers/${id}`,
|
|
64
|
+
method: "GET",
|
|
65
|
+
secure: true,
|
|
66
|
+
format: "json",
|
|
67
|
+
...params,
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* No description
|
|
71
|
+
*
|
|
72
|
+
* @tags Charge Tiers
|
|
73
|
+
* @name UpdateChargeTier
|
|
74
|
+
* @summary Update a charge tier
|
|
75
|
+
* @request PATCH:/charge-tiers/{id}
|
|
76
|
+
* @secure
|
|
77
|
+
*/
|
|
78
|
+
this.updateChargeTier = ({ id, ...query }, data, params = {}) => this.http.request({
|
|
79
|
+
path: `/charge-tiers/${id}`,
|
|
80
|
+
method: "PATCH",
|
|
81
|
+
body: data,
|
|
82
|
+
secure: true,
|
|
83
|
+
type: http_client_1.ContentType.Json,
|
|
84
|
+
format: "json",
|
|
85
|
+
...params,
|
|
86
|
+
});
|
|
87
|
+
/**
|
|
88
|
+
* No description
|
|
89
|
+
*
|
|
90
|
+
* @tags Charge Tiers
|
|
91
|
+
* @name DeleteChargeTier
|
|
92
|
+
* @summary Delete a charge tier
|
|
93
|
+
* @request DELETE:/charge-tiers/{id}
|
|
94
|
+
* @secure
|
|
95
|
+
*/
|
|
96
|
+
this.deleteChargeTier = ({ id, ...query }, params = {}) => this.http.request({
|
|
97
|
+
path: `/charge-tiers/${id}`,
|
|
98
|
+
method: "DELETE",
|
|
99
|
+
secure: true,
|
|
100
|
+
...params,
|
|
101
|
+
});
|
|
102
|
+
this.http = http;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.ChargeTiers = ChargeTiers;
|
|
106
|
+
//# sourceMappingURL=ChargeTiers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChargeTiers.js","sourceRoot":"","sources":["../ChargeTiers.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAmBH,+CAAuE;AAEvE,MAAa,WAAW;IAGtB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,oBAAe,GAAG,CAChB,KAA4B,EAC5B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA2B;YAC1C,IAAI,EAAE,eAAe;YACrB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,qBAAgB,GAAG,CAAC,IAAyB,EAAE,SAAwB,EAAE,EAAE,EAAE,CAC3E,IAAI,CAAC,IAAI,CAAC,OAAO,CAA8C;YAC7D,IAAI,EAAE,eAAe;YACrB,MAAM,EAAE,MAA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eleteChargeParams, GetChargeParams, ListChargesParams, UpdateChargeDto, UpdateChargeParams } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
export declare class Charges<SecurityDataType = unknown> {
|
|
4
|
+
http: HttpClient<SecurityDataType>;
|
|
5
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
6
|
+
/**
|
|
7
|
+
* @description All charges, optionally filtered by category (FEE / TAX).
|
|
8
|
+
*
|
|
9
|
+
* @tags Charges
|
|
10
|
+
* @name ListCharges
|
|
11
|
+
* @summary List commission charges
|
|
12
|
+
* @request GET:/charges
|
|
13
|
+
* @secure
|
|
14
|
+
*/
|
|
15
|
+
listCharges: (query: ListChargesParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeListResponseDto, any, {}>>;
|
|
16
|
+
/**
|
|
17
|
+
* @description Adds a new atomic fee/tax. Affects every subsequent quote that uses it.
|
|
18
|
+
*
|
|
19
|
+
* @tags Charges
|
|
20
|
+
* @name CreateCharge
|
|
21
|
+
* @summary Create a charge
|
|
22
|
+
* @request POST:/charges
|
|
23
|
+
* @secure
|
|
24
|
+
*/
|
|
25
|
+
createCharge: (data: CreateChargeDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeResponseDto, any, {}>>;
|
|
26
|
+
/**
|
|
27
|
+
* No description
|
|
28
|
+
*
|
|
29
|
+
* @tags Charges
|
|
30
|
+
* @name GetCharge
|
|
31
|
+
* @summary Get a charge by code
|
|
32
|
+
* @request GET:/charges/{code}
|
|
33
|
+
* @secure
|
|
34
|
+
*/
|
|
35
|
+
getCharge: ({ code, ...query }: GetChargeParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeResponseDto, any, {}>>;
|
|
36
|
+
/**
|
|
37
|
+
* No description
|
|
38
|
+
*
|
|
39
|
+
* @tags Charges
|
|
40
|
+
* @name UpdateCharge
|
|
41
|
+
* @summary Update a charge
|
|
42
|
+
* @request PATCH:/charges/{code}
|
|
43
|
+
* @secure
|
|
44
|
+
*/
|
|
45
|
+
updateCharge: ({ code, ...query }: UpdateChargeParams, data: UpdateChargeDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ChargeResponseDto, any, {}>>;
|
|
46
|
+
/**
|
|
47
|
+
* @description Fails if the charge is still referenced by a tier or schema.
|
|
48
|
+
*
|
|
49
|
+
* @tags Charges
|
|
50
|
+
* @name DeleteCharge
|
|
51
|
+
* @summary Delete a charge
|
|
52
|
+
* @request DELETE:/charges/{code}
|
|
53
|
+
* @secure
|
|
54
|
+
*/
|
|
55
|
+
deleteCharge: ({ code, ...query }: DeleteChargeParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=Charges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Charges.d.ts","sourceRoot":"","sources":["../Charges.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,eAAe,EAIf,kBAAkB,EAGlB,eAAe,EAEf,iBAAiB,EAEjB,eAAe,EAEf,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,OAAO,CAAC,gBAAgB,GAAG,OAAO;IAC7C,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,WAAW,GAAI,OAAO,iBAAiB,EAAE,SAAQ,aAAkB,uGAQ9D;IACL;;;;;;;;OAQG;IACH,YAAY,GAAI,MAAM,eAAe,EAAE,SAAQ,aAAkB,mGAS5D;IACL;;;;;;;;OAQG;IACH,SAAS,GACP,oBAAoB,eAAe,EACnC,SAAQ,aAAkB,mGAQvB;IACL;;;;;;;;OAQG;IACH,YAAY,GACV,oBAAoB,kBAAkB,EACtC,MAAM,eAAe,EACrB,SAAQ,aAAkB,mGAUvB;IACL;;;;;;;;OAQG;IACH,YAAY,GACV,oBAAoB,kBAAkB,EACtC,SAAQ,aAAkB,0DAOvB;CACN"}
|
package/dist/Charges.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* ---------------------------------------------------------------
|
|
7
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
8
|
+
* ## ##
|
|
9
|
+
* ## AUTHOR: acacode ##
|
|
10
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
11
|
+
* ---------------------------------------------------------------
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Charges = void 0;
|
|
15
|
+
const http_client_1 = require("./http-client");
|
|
16
|
+
class Charges {
|
|
17
|
+
constructor(http) {
|
|
18
|
+
/**
|
|
19
|
+
* @description All charges, optionally filtered by category (FEE / TAX).
|
|
20
|
+
*
|
|
21
|
+
* @tags Charges
|
|
22
|
+
* @name ListCharges
|
|
23
|
+
* @summary List commission charges
|
|
24
|
+
* @request GET:/charges
|
|
25
|
+
* @secure
|
|
26
|
+
*/
|
|
27
|
+
this.listCharges = (query, params = {}) => this.http.request({
|
|
28
|
+
path: `/charges`,
|
|
29
|
+
method: "GET",
|
|
30
|
+
query: query,
|
|
31
|
+
secure: true,
|
|
32
|
+
format: "json",
|
|
33
|
+
...params,
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* @description Adds a new atomic fee/tax. Affects every subsequent quote that uses it.
|
|
37
|
+
*
|
|
38
|
+
* @tags Charges
|
|
39
|
+
* @name CreateCharge
|
|
40
|
+
* @summary Create a charge
|
|
41
|
+
* @request POST:/charges
|
|
42
|
+
* @secure
|
|
43
|
+
*/
|
|
44
|
+
this.createCharge = (data, params = {}) => this.http.request({
|
|
45
|
+
path: `/charges`,
|
|
46
|
+
method: "POST",
|
|
47
|
+
body: data,
|
|
48
|
+
secure: true,
|
|
49
|
+
type: http_client_1.ContentType.Json,
|
|
50
|
+
format: "json",
|
|
51
|
+
...params,
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags Charges
|
|
57
|
+
* @name GetCharge
|
|
58
|
+
* @summary Get a charge by code
|
|
59
|
+
* @request GET:/charges/{code}
|
|
60
|
+
* @secure
|
|
61
|
+
*/
|
|
62
|
+
this.getCharge = ({ code, ...query }, params = {}) => this.http.request({
|
|
63
|
+
path: `/charges/${code}`,
|
|
64
|
+
method: "GET",
|
|
65
|
+
secure: true,
|
|
66
|
+
format: "json",
|
|
67
|
+
...params,
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* No description
|
|
71
|
+
*
|
|
72
|
+
* @tags Charges
|
|
73
|
+
* @name UpdateCharge
|
|
74
|
+
* @summary Update a charge
|
|
75
|
+
* @request PATCH:/charges/{code}
|
|
76
|
+
* @secure
|
|
77
|
+
*/
|
|
78
|
+
this.updateCharge = ({ code, ...query }, data, params = {}) => this.http.request({
|
|
79
|
+
path: `/charges/${code}`,
|
|
80
|
+
method: "PATCH",
|
|
81
|
+
body: data,
|
|
82
|
+
secure: true,
|
|
83
|
+
type: http_client_1.ContentType.Json,
|
|
84
|
+
format: "json",
|
|
85
|
+
...params,
|
|
86
|
+
});
|
|
87
|
+
/**
|
|
88
|
+
* @description Fails if the charge is still referenced by a tier or schema.
|
|
89
|
+
*
|
|
90
|
+
* @tags Charges
|
|
91
|
+
* @name DeleteCharge
|
|
92
|
+
* @summary Delete a charge
|
|
93
|
+
* @request DELETE:/charges/{code}
|
|
94
|
+
* @secure
|
|
95
|
+
*/
|
|
96
|
+
this.deleteCharge = ({ code, ...query }, params = {}) => this.http.request({
|
|
97
|
+
path: `/charges/${code}`,
|
|
98
|
+
method: "DELETE",
|
|
99
|
+
secure: true,
|
|
100
|
+
...params,
|
|
101
|
+
});
|
|
102
|
+
this.http = http;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.Charges = Charges;
|
|
106
|
+
//# sourceMappingURL=Charges.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Charges.js","sourceRoot":"","sources":["../Charges.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAmBH,+CAAuE;AAEvE,MAAa,OAAO;IAGlB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,gBAAW,GAAG,CAAC,KAAwB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACrE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAuB;YACtC,IAAI,EAAE,UAAU;YAChB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,iBAAY,GAAG,CAAC,IAAqB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACnE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsC;YACrD,IAAI,EAAE,UAAU;YAChB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,cAAS,GAAG,CACV,EAAE,IAAI,EAAE,GAAG,KAAK,EAAmB,EACnC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAgC;YAC/C,IAAI,EAAE,YAAY,IAAI,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,iBAAY,GAAG,CACb,EAAE,IAAI,EAAE,GAAG,KAAK,EAAsB,EACtC,IAAqB,EACrB,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsC;YACrD,IAAI,EAAE,YAAY,IAAI,EAAE;YACxB,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,iBAAY,GAAG,CACb,EAAE,IAAI,EAAE,GAAG,KAAK,EAAsB,EACtC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsC;YACrD,IAAI,EAAE,YAAY,IAAI,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,IAAI;YACZ,GAAG,MAAM;SACV,CAAC,CAAC;QArGH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAqGF;AA1GD,0BA0GC"}
|
package/dist/Currencies.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Currencies.d.ts","sourceRoot":"","sources":["../Currencies.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"Currencies.d.ts","sourceRoot":"","sources":["../Currencies.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,uBAAuB,EAEvB,aAAa,EAEb,gBAAgB,EAGhB,YAAY,EACZ,uBAAuB,EAEvB,cAAc,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,UAAU,CAAC,gBAAgB,GAAG,OAAO;IAChD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,GAAI,OAAO,YAAY,EAAE,SAAQ,aAAkB,+GAQlD;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,uBAAuB,EAAE,SAAQ,aAAkB,2GAS9D;IACL;;;;;;;;OAQG;IACH,SAAS,GACP,oBAAoB,gBAAgB,EACpC,SAAQ,aAAkB,2GAQvB;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,oBAAoB,aAAa,EAAE,SAAQ,aAAkB,0DAMlE;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,oBAAoB,cAAc,EAClC,MAAM,uBAAuB,EAC7B,SAAQ,aAAkB,2GAUvB;CACN"}
|
package/dist/Dlq.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dlq.d.ts","sourceRoot":"","sources":["../Dlq.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,eAAe,
|
|
1
|
+
{"version":3,"file":"Dlq.d.ts","sourceRoot":"","sources":["../Dlq.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,eAAe,EACf,eAAe,EAEf,kBAAkB,EAElB,oBAAoB,EACpB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,GAAG,CAAC,gBAAgB,GAAG,OAAO;IACzC,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,OAAO,GAAI,OAAO,eAAe,EAAE,SAAQ,aAAkB,2GAQxD;IACL;;;;;;;;OAQG;IACH,cAAc,GAAI,SAAQ,aAAkB,yEAOvC;IACL;;;;;;;;OAQG;IACH,QAAQ,GAAI,kBAAkB,eAAe,EAAE,SAAQ,aAAkB,uGAOpE;IACL;;;;;;;;OAQG;IACH,OAAO,GACL,kBAAkB,aAAa,EAC/B,MAAM,oBAAoB,EAC1B,SAAQ,aAAkB,uGAUvB;CACN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalNotifications.d.ts","sourceRoot":"","sources":["../GlobalNotifications.ts"],"names":[],"mappings":"AAYA,OAAO,EAGL,8BAA8B,
|
|
1
|
+
{"version":3,"file":"GlobalNotifications.d.ts","sourceRoot":"","sources":["../GlobalNotifications.ts"],"names":[],"mappings":"AAYA,OAAO,EAGL,8BAA8B,EAE9B,eAAe,EAGf,aAAa,EAEb,aAAa,EAGb,yBAAyB,EAIzB,cAAc,EACd,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,mBAAmB,CAAC,gBAAgB,GAAG,OAAO;IACzD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,sBAAsB,GACpB,MAAM,yBAAyB,EAC/B,SAAQ,aAAkB,mHAUvB;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,8BAA8B,EAAE,SAAQ,aAAkB,kHASrE;IACL;;;;;;;;OAQG;IACH,OAAO,GAAI,OAAO,eAAe,EAAE,SAAQ,aAAkB,uHAQxD;IACL;;;;;;;;OAQG;IACH,OAAO,GAAI,kBAAkB,aAAa,EAAE,SAAQ,aAAkB,kHAOjE;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,kBAAkB,cAAc,EAChC,MAAM,8BAA8B,EACpC,SAAQ,aAAkB,kHAUvB;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,kBAAkB,aAAa,EAAE,SAAQ,aAAkB,0DAMhE;CACN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalNotifications.js","sourceRoot":"","sources":["../GlobalNotifications.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAsBH,+CAAuE;AAEvE,MAAa,mBAAmB;IAG9B,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,2BAAsB,GAAG,CACvB,IAA+B,EAC/B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA0D;YACzE,IAAI,EAAE,uBAAuB;YAC7B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CAAC,IAAoC,EAAE,SAAwB,EAAE,EAAE,EAAE,CAC5E,IAAI,CAAC,IAAI,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"GlobalNotifications.js","sourceRoot":"","sources":["../GlobalNotifications.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAsBH,+CAAuE;AAEvE,MAAa,mBAAmB;IAG9B,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,2BAAsB,GAAG,CACvB,IAA+B,EAC/B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA0D;YACzE,IAAI,EAAE,uBAAuB;YAC7B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;Q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V,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,KAAK,EAAiB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACvE,IAAI,CAAC,IAAI,CAAC,OAAO,CAA4B;YAC3C,IAAI,EAAE,mCAAmC,EAAE,EAAE;YAC7C,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,IAAI;YACZ,GAAG,MAAM;SACV,CAAC,CAAC;QArHH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAqHF;AA1HD,kDA0HC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchantCategories.d.ts","sourceRoot":"","sources":["../MerchantCategories.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,yBAAyB,EAEzB,WAAW,EACX,yBAAyB,
|
|
1
|
+
{"version":3,"file":"MerchantCategories.d.ts","sourceRoot":"","sources":["../MerchantCategories.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,yBAAyB,EAEzB,WAAW,EACX,yBAAyB,EACzB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,kBAAkB,CAAC,gBAAgB,GAAG,OAAO;IACxD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,GAAI,OAAO,WAAW,EAAE,SAAQ,aAAkB,mHAQjD;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,yBAAyB,EAAE,SAAQ,aAAkB,6GAShE;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,oBAAoB,aAAa,EACjC,MAAM,yBAAyB,EAC/B,SAAQ,aAAkB,6GAUvB;CACN"}
|
package/dist/Seed.d.ts
CHANGED
|
@@ -13,15 +13,5 @@ export declare class Seed<SecurityDataType = unknown> {
|
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
15
|
seedPermissionsAndRoles: (data: SeedPermissionsRolesRequestDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").SeedPermissionsRolesResponseDto, any, {}>>;
|
|
16
|
-
/**
|
|
17
|
-
* @description Populates default system configuration values (transaction limits) and zero-fee rules for all currencies and transaction types. Safe to call multiple times -- only inserts missing entries.
|
|
18
|
-
*
|
|
19
|
-
* @tags Admin Seed
|
|
20
|
-
* @name SeedConfigDefaults
|
|
21
|
-
* @summary Seed system config and fee config defaults
|
|
22
|
-
* @request POST:/seed/config-defaults
|
|
23
|
-
* @secure
|
|
24
|
-
*/
|
|
25
|
-
seedConfigDefaults: (params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
26
16
|
}
|
|
27
17
|
//# sourceMappingURL=Seed.d.ts.map
|
package/dist/Seed.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Seed.d.ts","sourceRoot":"","sources":["../Seed.ts"],"names":[],"mappings":"AAYA,OAAO,
|
|
1
|
+
{"version":3,"file":"Seed.d.ts","sourceRoot":"","sources":["../Seed.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,8BAA8B,EAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,IAAI,CAAC,gBAAgB,GAAG,OAAO;IAC1C,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,uBAAuB,GACrB,MAAM,8BAA8B,EACpC,SAAQ,aAAkB,iHAUvB;CACN"}
|
package/dist/Seed.js
CHANGED
|
@@ -33,21 +33,6 @@ class Seed {
|
|
|
33
33
|
format: "json",
|
|
34
34
|
...params,
|
|
35
35
|
});
|
|
36
|
-
/**
|
|
37
|
-
* @description Populates default system configuration values (transaction limits) and zero-fee rules for all currencies and transaction types. Safe to call multiple times -- only inserts missing entries.
|
|
38
|
-
*
|
|
39
|
-
* @tags Admin Seed
|
|
40
|
-
* @name SeedConfigDefaults
|
|
41
|
-
* @summary Seed system config and fee config defaults
|
|
42
|
-
* @request POST:/seed/config-defaults
|
|
43
|
-
* @secure
|
|
44
|
-
*/
|
|
45
|
-
this.seedConfigDefaults = (params = {}) => this.http.request({
|
|
46
|
-
path: `/seed/config-defaults`,
|
|
47
|
-
method: "POST",
|
|
48
|
-
secure: true,
|
|
49
|
-
...params,
|
|
50
|
-
});
|
|
51
36
|
this.http = http;
|
|
52
37
|
}
|
|
53
38
|
}
|
package/dist/Seed.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Seed.js","sourceRoot":"","sources":["../Seed.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;
|
|
1
|
+
{"version":3,"file":"Seed.js","sourceRoot":"","sources":["../Seed.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAMH,+CAAuE;AAEvE,MAAa,IAAI;IAGf,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,4BAAuB,GAAG,CACxB,IAAoC,EACpC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmC;YAClD,IAAI,EAAE,yBAAyB;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QAxBH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAwBF;AA7BD,oBA6BC"}
|
package/dist/Transactions.d.ts
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetTransactionDetailParams, GetTransactionStatisticsParams, ListTransactionsParams } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class Transactions<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
5
5
|
constructor(http: HttpClient<SecurityDataType>);
|
|
6
6
|
/**
|
|
7
|
-
* @description
|
|
7
|
+
* @description Paginated, filterable list of every transaction (business-event view). Filter by status, type, currency, account number (either side), date range, and free-text search; sort by createdAt / amount / status / type.
|
|
8
8
|
*
|
|
9
|
-
* @tags Transactions
|
|
10
|
-
* @name GetStatistics
|
|
11
|
-
* @summary Get transaction statistics
|
|
12
|
-
* @request GET:/transactions/statistics
|
|
13
|
-
* @secure
|
|
14
|
-
*/
|
|
15
|
-
getStatistics: (query: GetStatisticsParams3, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").TransactionStatisticsResponseDto, any, {}>>;
|
|
16
|
-
/**
|
|
17
|
-
* @description Retrieves all transactions with filtering, search, sorting, and pagination.
|
|
18
|
-
*
|
|
19
|
-
* @tags Transactions
|
|
9
|
+
* @tags Admin Transactions
|
|
20
10
|
* @name ListTransactions
|
|
21
11
|
* @summary List all transactions
|
|
22
12
|
* @request GET:/transactions
|
|
@@ -24,14 +14,24 @@ export declare class Transactions<SecurityDataType = unknown> {
|
|
|
24
14
|
*/
|
|
25
15
|
listTransactions: (query: ListTransactionsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AdminTransactionListResponseDto, any, {}>>;
|
|
26
16
|
/**
|
|
27
|
-
* @description
|
|
17
|
+
* @description Aggregate counts (total / completed / failed / reversed), per-currency volume / fees / average, and a per-type breakdown. Optional date-range + currency filters.
|
|
18
|
+
*
|
|
19
|
+
* @tags Admin Transactions
|
|
20
|
+
* @name GetTransactionStatistics
|
|
21
|
+
* @summary Transaction statistics
|
|
22
|
+
* @request GET:/transactions/statistics
|
|
23
|
+
* @secure
|
|
24
|
+
*/
|
|
25
|
+
getTransactionStatistics: (query: GetTransactionStatisticsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").TransactionStatisticsResponseDto, any, {}>>;
|
|
26
|
+
/**
|
|
27
|
+
* @description The transaction plus its ordered double-entry ledger lines.
|
|
28
28
|
*
|
|
29
|
-
* @tags Transactions
|
|
29
|
+
* @tags Admin Transactions
|
|
30
30
|
* @name GetTransactionDetail
|
|
31
31
|
* @summary Get transaction detail
|
|
32
|
-
* @request GET:/transactions/{
|
|
32
|
+
* @request GET:/transactions/{id}
|
|
33
33
|
* @secure
|
|
34
34
|
*/
|
|
35
|
-
getTransactionDetail: ({
|
|
35
|
+
getTransactionDetail: ({ id, ...query }: GetTransactionDetailParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AdminTransactionDetailResponseDto, any, {}>>;
|
|
36
36
|
}
|
|
37
37
|
//# sourceMappingURL=Transactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../Transactions.ts"],"names":[],"mappings":"AAYA,OAAO,
|
|
1
|
+
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../Transactions.ts"],"names":[],"mappings":"AAYA,OAAO,EAGL,0BAA0B,EAE1B,8BAA8B,EAE9B,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE1D,qBAAa,YAAY,CAAC,gBAAgB,GAAG,OAAO;IAClD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,gBAAgB,GACd,OAAO,sBAAsB,EAC7B,SAAQ,aAAkB,iHASvB;IACL;;;;;;;;OAQG;IACH,wBAAwB,GACtB,OAAO,8BAA8B,EACrC,SAAQ,aAAkB,kHASvB;IACL;;;;;;;;OAQG;IACH,oBAAoB,GAClB,kBAAkB,0BAA0B,EAC5C,SAAQ,aAAkB,mHAQvB;CACN"}
|