@tammsyr/admin-api-client 1.3.6 → 1.3.8
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/Accounts.d.ts +3 -3
- package/dist/Accounts.js +2 -2
- package/dist/ActivityLogs.d.ts.map +1 -1
- package/dist/ActivityLogs.js.map +1 -1
- package/dist/AddressRegions.js.map +1 -1
- package/dist/AppVersion.js.map +1 -1
- package/dist/ApprovalPolicies.d.ts +2 -2
- package/dist/ApprovalPolicies.d.ts.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/Currencies.js.map +1 -1
- package/dist/Dlq.d.ts.map +1 -1
- package/dist/Dlq.js.map +1 -1
- package/dist/FeeConfigs.d.ts +5 -5
- package/dist/FeeConfigs.d.ts.map +1 -1
- package/dist/GlobalNotifications.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/Kyc.d.ts +3 -13
- package/dist/Kyc.d.ts.map +1 -1
- package/dist/Kyc.js +2 -17
- package/dist/Kyc.js.map +1 -1
- package/dist/MerchantCategories.d.ts.map +1 -1
- package/dist/MerchantCategories.js.map +1 -1
- package/dist/Notifications.d.ts.map +1 -1
- package/dist/Transactions.d.ts +3 -3
- package/dist/Transactions.d.ts.map +1 -1
- package/dist/Users.js.map +1 -1
- package/dist/data-contracts.d.ts +599 -388
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +15 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -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,EAC3B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAkD;YACjE,IAAI,E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+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,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,kBAAa,GAAG,CACd,EAAE,EAAE,EAAE,GAAG,KAAK,EAAuB,EACrC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAwC;YACvD,IAAI,EAAE,iBAAiB,EAAE,EAAE;YAC3B,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,qBAAgB,GAAG,CACjB,EAAE,EAAE,EAAE,GAAG,KAAK,EAA0B,EACxC,IAAyB,EACzB,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA8C;YAC7D,IAAI,EAAE,iBAAiB,EAAE,EAAE;YAC3B,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,qBAAgB,GAAG,CACjB,EAAE,EAAE,EAAE,GAAG,KAAK,EAA0B,EACxC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA8C;YAC7D,IAAI,EAAE,iBAAiB,EAAE,EAAE;YAC3B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,IAAI;YACZ,GAAG,MAAM;SACV,CAAC,CAAC;QAxGH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAwGF;AA7GD,kCA6GC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { CreateChargeDto, DeleteChargeParams, 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,EAGvB,aAAa,EACb,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Currencies.d.ts","sourceRoot":"","sources":["../Currencies.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,uBAAuB,EAGvB,aAAa,EACb,gBAAgB,EAGhB,YAAY,EACZ,uBAAuB,EACvB,cAAc,EAEf,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/Currencies.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Currencies.js","sourceRoot":"","sources":["../Currencies.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAeH,+CAAuE;AAEvE,MAAa,UAAU;IAGrB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,KAAmB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACzD,IAAI,CAAC,IAAI,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"Currencies.js","sourceRoot":"","sources":["../Currencies.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAeH,+CAAuE;AAEvE,MAAa,UAAU;IAGrB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,KAAmB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACzD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAiB;YAChC,IAAI,EAAE,aAAa;YACnB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KA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AAE,IAAI;YACZ,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QAlGH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAkGF;AAvGD,gCAuGC"}
|
package/dist/Dlq.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dlq.d.ts","sourceRoot":"","sources":["../Dlq.ts"],"names":[],"mappings":"AAYA,OAAO,
|
|
1
|
+
{"version":3,"file":"Dlq.d.ts","sourceRoot":"","sources":["../Dlq.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,eAAe,EAEf,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"}
|
package/dist/Dlq.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dlq.js","sourceRoot":"","sources":["../Dlq.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAYH,+CAAuE;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AAG,KAAK,EAAiB,EAC/B,IAA0B,EAC1B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,QAAQ,EAAE,UAAU;YAC1B,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;QA7EH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CA6EF;AAlFD,kBAkFC"}
|
package/dist/FeeConfigs.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare class FeeConfigs<SecurityDataType = unknown> {
|
|
|
12
12
|
* @request GET:/fee-configs
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
|
-
getFeeConfigs: (query: GetFeeConfigsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
15
|
+
getFeeConfigs: (query: GetFeeConfigsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<GetFeeConfigsData, any, {}>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description Creates a new fee rule for a given transaction type, currency, and amount range.
|
|
18
18
|
*
|
|
@@ -22,7 +22,7 @@ export declare class FeeConfigs<SecurityDataType = unknown> {
|
|
|
22
22
|
* @request POST:/fee-configs
|
|
23
23
|
* @secure
|
|
24
24
|
*/
|
|
25
|
-
createFeeConfig: (data: CreateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
25
|
+
createFeeConfig: (data: CreateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<CreateFeeConfigData, any, {}>>;
|
|
26
26
|
/**
|
|
27
27
|
* @description Updates an existing fee rule.
|
|
28
28
|
*
|
|
@@ -32,7 +32,7 @@ export declare class FeeConfigs<SecurityDataType = unknown> {
|
|
|
32
32
|
* @request PATCH:/fee-configs/{id}
|
|
33
33
|
* @secure
|
|
34
34
|
*/
|
|
35
|
-
updateFeeConfig: ({ id, ...query }: UpdateFeeConfigParams, data: UpdateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
35
|
+
updateFeeConfig: ({ id, ...query }: UpdateFeeConfigParams, data: UpdateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<UpdateFeeConfigData, any, {}>>;
|
|
36
36
|
/**
|
|
37
37
|
* @description Permanently removes a fee configuration rule.
|
|
38
38
|
*
|
|
@@ -42,7 +42,7 @@ export declare class FeeConfigs<SecurityDataType = unknown> {
|
|
|
42
42
|
* @request DELETE:/fee-configs/{id}
|
|
43
43
|
* @secure
|
|
44
44
|
*/
|
|
45
|
-
deleteFeeConfig: ({ id, ...query }: DeleteFeeConfigParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
45
|
+
deleteFeeConfig: ({ id, ...query }: DeleteFeeConfigParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<DeleteFeeConfigData, any, {}>>;
|
|
46
46
|
/**
|
|
47
47
|
* @description Calculates the fee for a given transaction type, currency, and amount without creating a transaction.
|
|
48
48
|
*
|
|
@@ -52,6 +52,6 @@ export declare class FeeConfigs<SecurityDataType = unknown> {
|
|
|
52
52
|
* @request GET:/fee-configs/calculate
|
|
53
53
|
* @secure
|
|
54
54
|
*/
|
|
55
|
-
calculateFee: (query: CalculateFeeParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
55
|
+
calculateFee: (query: CalculateFeeParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<CalculateFeeData, any, {}>>;
|
|
56
56
|
}
|
|
57
57
|
//# sourceMappingURL=FeeConfigs.d.ts.map
|
package/dist/FeeConfigs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeeConfigs.d.ts","sourceRoot":"","sources":["../FeeConfigs.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,kBAAkB,EAElB,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 +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,EAC9B,eAAe,EAIf,aAAa,EAEb,aAAa,EAGb,yBAAyB,EAGzB,cAAc,EAEd,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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,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,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"}
|
package/dist/Kyc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApproveParams, ApproveSubmissionRequestDto, CreateBusinessTypeRequestDto, CreateDocumentTypeRequestDto, CreateNationalityRequestDto, CreateRuleRequestDto, CreateVersionParams, GetParams, List2Data, List2Params, List3Data, List3Params, List4Data, List4Params, List5Data, List5Params, ListParams, ListVersionsParams, Patch2Params, Patch3Params, Patch4Params, PatchBusinessTypeRequestDto, PatchDocumentTypeRequestDto, PatchFieldsParams, PatchNationalityRequestDto, PatchParams, PatchRuleRequestDto, PreviewRequirementsRequestDto, RejectParams, RejectSubmissionRequestDto, Remove2Params, Remove3Params, Remove4Params, RemoveParams,
|
|
1
|
+
import { ApproveParams, ApproveSubmissionRequestDto, CreateBusinessTypeRequestDto, CreateDocumentTypeRequestDto, CreateNationalityRequestDto, CreateRuleRequestDto, CreateVersionParams, GetParams, List2Data, List2Params, List3Data, List3Params, List4Data, List4Params, List5Data, List5Params, ListParams, ListVersionsParams, Patch2Params, Patch3Params, Patch4Params, PatchBusinessTypeRequestDto, PatchDocumentTypeRequestDto, PatchFieldsParams, PatchNationalityRequestDto, PatchParams, PatchRuleRequestDto, PreviewRequirementsRequestDto, RejectParams, RejectSubmissionRequestDto, Remove2Params, Remove3Params, Remove4Params, RemoveParams, SubmitFieldsRequestDto } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class Kyc<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -34,17 +34,7 @@ export declare class Kyc<SecurityDataType = unknown> {
|
|
|
34
34
|
*/
|
|
35
35
|
get: ({ id, ...query }: GetParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").SubmissionDetailResponseDto, any, {}>>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @tags KYC - Submissions
|
|
40
|
-
* @name StartReview
|
|
41
|
-
* @summary UPLOADED → UNDER_REVIEW (claim the submission)
|
|
42
|
-
* @request POST:/kyc/submissions/{id}/start-review
|
|
43
|
-
* @secure
|
|
44
|
-
*/
|
|
45
|
-
startReview: ({ id, ...query }: StartReviewParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
46
|
-
/**
|
|
47
|
-
* No description
|
|
37
|
+
* @description Dual control: when the kyc.approve policy is enabled this defers — it records a pending approval (HTTP 202, X-Approval-Required header) and a second admin must co-sign before the approval actually runs. When the policy is disabled it executes immediately.
|
|
48
38
|
*
|
|
49
39
|
* @tags KYC - Submissions
|
|
50
40
|
* @name Approve
|
|
@@ -54,7 +44,7 @@ export declare class Kyc<SecurityDataType = unknown> {
|
|
|
54
44
|
*/
|
|
55
45
|
approve: ({ id, ...query }: ApproveParams, data: ApproveSubmissionRequestDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
56
46
|
/**
|
|
57
|
-
*
|
|
47
|
+
* @description Dual control: when the kyc.reject policy is enabled this defers — it records a pending approval (HTTP 202, X-Approval-Required header) and a second admin must co-sign before the rejection actually runs. When the policy is disabled it executes immediately.
|
|
58
48
|
*
|
|
59
49
|
* @tags KYC - Submissions
|
|
60
50
|
* @name Reject
|
package/dist/Kyc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kyc.d.ts","sourceRoot":"","sources":["../Kyc.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,aAAa,EACb,2BAA2B,EAI3B,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAE3B,oBAAoB,EAEpB,mBAAmB,EAEnB,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EAEX,UAAU,EAEV,kBAAkB,EAElB,YAAY,EAEZ,YAAY,EAEZ,YAAY,EACZ,2BAA2B,EAE3B,2BAA2B,EAE3B,iBAAiB,EACjB,0BAA0B,EAC1B,WAAW,EACX,mBAAmB,EAEnB,6BAA6B,EAE7B,YAAY,EACZ,0BAA0B,EAE1B,aAAa,EAEb,aAAa,EAEb,aAAa,EAEb,YAAY,EAEZ,
|
|
1
|
+
{"version":3,"file":"Kyc.d.ts","sourceRoot":"","sources":["../Kyc.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,aAAa,EACb,2BAA2B,EAI3B,4BAA4B,EAC5B,4BAA4B,EAC5B,2BAA2B,EAE3B,oBAAoB,EAEpB,mBAAmB,EAEnB,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EAEX,UAAU,EAEV,kBAAkB,EAElB,YAAY,EAEZ,YAAY,EAEZ,YAAY,EACZ,2BAA2B,EAE3B,2BAA2B,EAE3B,iBAAiB,EACjB,0BAA0B,EAC1B,WAAW,EACX,mBAAmB,EAEnB,6BAA6B,EAE7B,YAAY,EACZ,0BAA0B,EAE1B,aAAa,EAEb,aAAa,EAEb,aAAa,EAEb,YAAY,EAEZ,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,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-
*
|
|
69
|
-
*
|
|
70
|
-
* @tags KYC - Submissions
|
|
71
|
-
* @name StartReview
|
|
72
|
-
* @summary UPLOADED → UNDER_REVIEW (claim the submission)
|
|
73
|
-
* @request POST:/kyc/submissions/{id}/start-review
|
|
74
|
-
* @secure
|
|
75
|
-
*/
|
|
76
|
-
this.startReview = ({ id, ...query }, params = {}) => this.http.request({
|
|
77
|
-
path: `/kyc/submissions/${id}/start-review`,
|
|
78
|
-
method: "POST",
|
|
79
|
-
secure: true,
|
|
80
|
-
...params,
|
|
81
|
-
});
|
|
82
|
-
/**
|
|
83
|
-
* No description
|
|
68
|
+
* @description Dual control: when the kyc.approve policy is enabled this defers — it records a pending approval (HTTP 202, X-Approval-Required header) and a second admin must co-sign before the approval actually runs. When the policy is disabled it executes immediately.
|
|
84
69
|
*
|
|
85
70
|
* @tags KYC - Submissions
|
|
86
71
|
* @name Approve
|
|
@@ -97,7 +82,7 @@ class Kyc {
|
|
|
97
82
|
...params,
|
|
98
83
|
});
|
|
99
84
|
/**
|
|
100
|
-
*
|
|
85
|
+
* @description Dual control: when the kyc.reject policy is enabled this defers — it records a pending approval (HTTP 202, X-Approval-Required header) and a second admin must co-sign before the rejection actually runs. When the policy is disabled it executes immediately.
|
|
101
86
|
*
|
|
102
87
|
* @tags KYC - Submissions
|
|
103
88
|
* @name Reject
|