@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.
Files changed (61) hide show
  1. package/README.md +0 -1
  2. package/dist/AccountProducts.d.ts.map +1 -1
  3. package/dist/AccountProducts.js.map +1 -1
  4. package/dist/AccountTypes.d.ts.map +1 -1
  5. package/dist/AccountTypes.js.map +1 -1
  6. package/dist/Accounts.d.ts +3 -3
  7. package/dist/Accounts.js +2 -2
  8. package/dist/AddressRegions.js.map +1 -1
  9. package/dist/ApprovalPolicies.d.ts +2 -2
  10. package/dist/ApprovalPolicies.d.ts.map +1 -1
  11. package/dist/ApprovalPolicies.js.map +1 -1
  12. package/dist/BankBranches.d.ts.map +1 -1
  13. package/dist/BankBranches.js.map +1 -1
  14. package/dist/ChargeDecisionRules.d.ts +57 -0
  15. package/dist/ChargeDecisionRules.d.ts.map +1 -0
  16. package/dist/ChargeDecisionRules.js +106 -0
  17. package/dist/ChargeDecisionRules.js.map +1 -0
  18. package/dist/ChargeSchemaItems.d.ts +57 -0
  19. package/dist/ChargeSchemaItems.d.ts.map +1 -0
  20. package/dist/ChargeSchemaItems.js +106 -0
  21. package/dist/ChargeSchemaItems.js.map +1 -0
  22. package/dist/ChargeSchemas.d.ts +57 -0
  23. package/dist/ChargeSchemas.d.ts.map +1 -0
  24. package/dist/ChargeSchemas.js +105 -0
  25. package/dist/ChargeSchemas.js.map +1 -0
  26. package/dist/ChargeTiers.d.ts +57 -0
  27. package/dist/ChargeTiers.d.ts.map +1 -0
  28. package/dist/ChargeTiers.js +106 -0
  29. package/dist/ChargeTiers.js.map +1 -0
  30. package/dist/Charges.d.ts +57 -0
  31. package/dist/Charges.d.ts.map +1 -0
  32. package/dist/Charges.js +106 -0
  33. package/dist/Charges.js.map +1 -0
  34. package/dist/Currencies.d.ts.map +1 -1
  35. package/dist/Dlq.d.ts.map +1 -1
  36. package/dist/GlobalNotifications.d.ts.map +1 -1
  37. package/dist/GlobalNotifications.js.map +1 -1
  38. package/dist/MerchantCategories.d.ts.map +1 -1
  39. package/dist/Seed.d.ts +0 -10
  40. package/dist/Seed.d.ts.map +1 -1
  41. package/dist/Seed.js +0 -15
  42. package/dist/Seed.js.map +1 -1
  43. package/dist/Transactions.d.ts +17 -17
  44. package/dist/Transactions.d.ts.map +1 -1
  45. package/dist/Transactions.js +19 -19
  46. package/dist/Transactions.js.map +1 -1
  47. package/dist/data-contracts.d.ts +591 -327
  48. package/dist/data-contracts.d.ts.map +1 -1
  49. package/dist/index.d.ts +15 -9
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +21 -13
  52. package/dist/index.js.map +1 -1
  53. package/package.json +1 -1
  54. package/dist/FeeConfigs.d.ts +0 -57
  55. package/dist/FeeConfigs.d.ts.map +0 -1
  56. package/dist/FeeConfigs.js +0 -107
  57. package/dist/FeeConfigs.js.map +0 -1
  58. package/dist/SystemConfigs.d.ts +0 -37
  59. package/dist/SystemConfigs.d.ts.map +0 -1
  60. package/dist/SystemConfigs.js +0 -72
  61. package/dist/SystemConfigs.js.map +0 -1
@@ -1,57 +0,0 @@
1
- import { CalculateFeeParams, CreateFeeConfigDto, DeleteFeeConfigParams, GetFeeConfigsParams, UpdateFeeConfigDto, UpdateFeeConfigParams } from "./data-contracts";
2
- import { HttpClient, RequestParams } from "./http-client";
3
- export declare class FeeConfigs<SecurityDataType = unknown> {
4
- http: HttpClient<SecurityDataType>;
5
- constructor(http: HttpClient<SecurityDataType>);
6
- /**
7
- * @description Returns all fee config rules with optional filters by transaction type and currency.
8
- *
9
- * @tags Fee Configuration
10
- * @name GetFeeConfigs
11
- * @summary List fee configurations
12
- * @request GET:/fee-configs
13
- * @secure
14
- */
15
- getFeeConfigs: (query: GetFeeConfigsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").FeeConfigListResponseDto, any, {}>>;
16
- /**
17
- * @description Creates a new fee rule for a given transaction type, currency, and amount range.
18
- *
19
- * @tags Fee Configuration
20
- * @name CreateFeeConfig
21
- * @summary Create a fee configuration rule
22
- * @request POST:/fee-configs
23
- * @secure
24
- */
25
- createFeeConfig: (data: CreateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").FeeConfigResponseDto, any, {}>>;
26
- /**
27
- * @description Updates an existing fee rule.
28
- *
29
- * @tags Fee Configuration
30
- * @name UpdateFeeConfig
31
- * @summary Update a fee configuration rule
32
- * @request PATCH:/fee-configs/{id}
33
- * @secure
34
- */
35
- updateFeeConfig: ({ id, ...query }: UpdateFeeConfigParams, data: UpdateFeeConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").FeeConfigResponseDto, any, {}>>;
36
- /**
37
- * @description Permanently removes a fee configuration rule.
38
- *
39
- * @tags Fee Configuration
40
- * @name DeleteFeeConfig
41
- * @summary Delete a fee configuration rule
42
- * @request DELETE:/fee-configs/{id}
43
- * @secure
44
- */
45
- deleteFeeConfig: ({ id, ...query }: DeleteFeeConfigParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
46
- /**
47
- * @description Calculates the fee for a given transaction type, currency, and amount without creating a transaction.
48
- *
49
- * @tags Fee Configuration
50
- * @name CalculateFee
51
- * @summary Preview fee calculation
52
- * @request GET:/fee-configs/calculate
53
- * @secure
54
- */
55
- calculateFee: (query: CalculateFeeParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CalculateFeeResponseDto, any, {}>>;
56
- }
57
- //# sourceMappingURL=FeeConfigs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FeeConfigs.d.ts","sourceRoot":"","sources":["../FeeConfigs.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,kBAAkB,EAElB,kBAAkB,EAGlB,qBAAqB,EAErB,mBAAmB,EAEnB,kBAAkB,EAElB,qBAAqB,EACtB,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,aAAa,GAAI,OAAO,mBAAmB,EAAE,SAAQ,aAAkB,0GAQlE;IACL;;;;;;;;OAQG;IACH,eAAe,GAAI,MAAM,kBAAkB,EAAE,SAAQ,aAAkB,sGASlE;IACL;;;;;;;;OAQG;IACH,eAAe,GACb,kBAAkB,qBAAqB,EACvC,MAAM,kBAAkB,EACxB,SAAQ,aAAkB,sGAUvB;IACL;;;;;;;;OAQG;IACH,eAAe,GACb,kBAAkB,qBAAqB,EACvC,SAAQ,aAAkB,0DAOvB;IACL;;;;;;;;OAQG;IACH,YAAY,GAAI,OAAO,kBAAkB,EAAE,SAAQ,aAAkB,yGAQhE;CACN"}
@@ -1,107 +0,0 @@
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.FeeConfigs = void 0;
15
- const http_client_1 = require("./http-client");
16
- class FeeConfigs {
17
- constructor(http) {
18
- /**
19
- * @description Returns all fee config rules with optional filters by transaction type and currency.
20
- *
21
- * @tags Fee Configuration
22
- * @name GetFeeConfigs
23
- * @summary List fee configurations
24
- * @request GET:/fee-configs
25
- * @secure
26
- */
27
- this.getFeeConfigs = (query, params = {}) => this.http.request({
28
- path: `/fee-configs`,
29
- method: "GET",
30
- query: query,
31
- secure: true,
32
- format: "json",
33
- ...params,
34
- });
35
- /**
36
- * @description Creates a new fee rule for a given transaction type, currency, and amount range.
37
- *
38
- * @tags Fee Configuration
39
- * @name CreateFeeConfig
40
- * @summary Create a fee configuration rule
41
- * @request POST:/fee-configs
42
- * @secure
43
- */
44
- this.createFeeConfig = (data, params = {}) => this.http.request({
45
- path: `/fee-configs`,
46
- method: "POST",
47
- body: data,
48
- secure: true,
49
- type: http_client_1.ContentType.Json,
50
- format: "json",
51
- ...params,
52
- });
53
- /**
54
- * @description Updates an existing fee rule.
55
- *
56
- * @tags Fee Configuration
57
- * @name UpdateFeeConfig
58
- * @summary Update a fee configuration rule
59
- * @request PATCH:/fee-configs/{id}
60
- * @secure
61
- */
62
- this.updateFeeConfig = ({ id, ...query }, data, params = {}) => this.http.request({
63
- path: `/fee-configs/${id}`,
64
- method: "PATCH",
65
- body: data,
66
- secure: true,
67
- type: http_client_1.ContentType.Json,
68
- format: "json",
69
- ...params,
70
- });
71
- /**
72
- * @description Permanently removes a fee configuration rule.
73
- *
74
- * @tags Fee Configuration
75
- * @name DeleteFeeConfig
76
- * @summary Delete a fee configuration rule
77
- * @request DELETE:/fee-configs/{id}
78
- * @secure
79
- */
80
- this.deleteFeeConfig = ({ id, ...query }, params = {}) => this.http.request({
81
- path: `/fee-configs/${id}`,
82
- method: "DELETE",
83
- secure: true,
84
- ...params,
85
- });
86
- /**
87
- * @description Calculates the fee for a given transaction type, currency, and amount without creating a transaction.
88
- *
89
- * @tags Fee Configuration
90
- * @name CalculateFee
91
- * @summary Preview fee calculation
92
- * @request GET:/fee-configs/calculate
93
- * @secure
94
- */
95
- this.calculateFee = (query, params = {}) => this.http.request({
96
- path: `/fee-configs/calculate`,
97
- method: "GET",
98
- query: query,
99
- secure: true,
100
- format: "json",
101
- ...params,
102
- });
103
- this.http = http;
104
- }
105
- }
106
- exports.FeeConfigs = FeeConfigs;
107
- //# sourceMappingURL=FeeConfigs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FeeConfigs.js","sourceRoot":"","sources":["../FeeConfigs.ts"],"names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,CAAC,OAAO,CAA4C;YAC3D,IAAI,EAAE,gBAAgB,EAAE,EAAE;YAC1B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,IAAI;YACZ,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,iBAAY,GAAG,CAAC,KAAyB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACvE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAwB;YACvC,IAAI,EAAE,wBAAwB;YAC9B,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QAnGH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAmGF;AAxGD,gCAwGC"}
@@ -1,37 +0,0 @@
1
- import { DeleteSystemConfigParams, GetSystemConfigsParams, UpsertSystemConfigDto } from "./data-contracts";
2
- import { HttpClient, RequestParams } from "./http-client";
3
- export declare class SystemConfigs<SecurityDataType = unknown> {
4
- http: HttpClient<SecurityDataType>;
5
- constructor(http: HttpClient<SecurityDataType>);
6
- /**
7
- * @description Returns all system config values with optional filters.
8
- *
9
- * @tags System Configuration
10
- * @name GetSystemConfigs
11
- * @summary List system configurations
12
- * @request GET:/system-configs
13
- * @secure
14
- */
15
- getSystemConfigs: (query: GetSystemConfigsParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").SystemConfigListResponseDto, any, {}>>;
16
- /**
17
- * @description Creates or updates a system configuration value for a given key and currency. Subject to four-eyes approval.
18
- *
19
- * @tags System Configuration
20
- * @name UpsertSystemConfig
21
- * @summary Upsert a system configuration
22
- * @request PUT:/system-configs
23
- * @secure
24
- */
25
- upsertSystemConfig: (data: UpsertSystemConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").SystemConfigResponseDto, any, {}>>;
26
- /**
27
- * @description Permanently removes a system configuration entry. Subject to four-eyes approval.
28
- *
29
- * @tags System Configuration
30
- * @name DeleteSystemConfig
31
- * @summary Delete a system configuration
32
- * @request DELETE:/system-configs/{id}
33
- * @secure
34
- */
35
- deleteSystemConfig: ({ id, ...query }: DeleteSystemConfigParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<any, any, {}>>;
36
- }
37
- //# sourceMappingURL=SystemConfigs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SystemConfigs.d.ts","sourceRoot":"","sources":["../SystemConfigs.ts"],"names":[],"mappings":"AAYA,OAAO,EAGL,wBAAwB,EAExB,sBAAsB,EAEtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,aAAa,CAAC,gBAAgB,GAAG,OAAO;IACnD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,gBAAgB,GACd,OAAO,sBAAsB,EAC7B,SAAQ,aAAkB,6GASvB;IACL;;;;;;;;OAQG;IACH,kBAAkB,GAChB,MAAM,qBAAqB,EAC3B,SAAQ,aAAkB,yGAUvB;IACL;;;;;;;;OAQG;IACH,kBAAkB,GAChB,kBAAkB,wBAAwB,EAC1C,SAAQ,aAAkB,0DAOvB;CACN"}
@@ -1,72 +0,0 @@
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.SystemConfigs = void 0;
15
- const http_client_1 = require("./http-client");
16
- class SystemConfigs {
17
- constructor(http) {
18
- /**
19
- * @description Returns all system config values with optional filters.
20
- *
21
- * @tags System Configuration
22
- * @name GetSystemConfigs
23
- * @summary List system configurations
24
- * @request GET:/system-configs
25
- * @secure
26
- */
27
- this.getSystemConfigs = (query, params = {}) => this.http.request({
28
- path: `/system-configs`,
29
- method: "GET",
30
- query: query,
31
- secure: true,
32
- format: "json",
33
- ...params,
34
- });
35
- /**
36
- * @description Creates or updates a system configuration value for a given key and currency. Subject to four-eyes approval.
37
- *
38
- * @tags System Configuration
39
- * @name UpsertSystemConfig
40
- * @summary Upsert a system configuration
41
- * @request PUT:/system-configs
42
- * @secure
43
- */
44
- this.upsertSystemConfig = (data, params = {}) => this.http.request({
45
- path: `/system-configs`,
46
- method: "PUT",
47
- body: data,
48
- secure: true,
49
- type: http_client_1.ContentType.Json,
50
- format: "json",
51
- ...params,
52
- });
53
- /**
54
- * @description Permanently removes a system configuration entry. Subject to four-eyes approval.
55
- *
56
- * @tags System Configuration
57
- * @name DeleteSystemConfig
58
- * @summary Delete a system configuration
59
- * @request DELETE:/system-configs/{id}
60
- * @secure
61
- */
62
- this.deleteSystemConfig = ({ id, ...query }, params = {}) => this.http.request({
63
- path: `/system-configs/${id}`,
64
- method: "DELETE",
65
- secure: true,
66
- ...params,
67
- });
68
- this.http = http;
69
- }
70
- }
71
- exports.SystemConfigs = SystemConfigs;
72
- //# sourceMappingURL=SystemConfigs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SystemConfigs.js","sourceRoot":"","sources":["../SystemConfigs.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAWH,+CAAuE;AAEvE,MAAa,aAAa;IAGxB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,qBAAgB,GAAG,CACjB,KAA6B,EAC7B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAA4B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,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,CAA8B;YAC7C,IAAI,EAAE,iBAAiB;YACvB,MAAM,EAAE,KAAK;YACb,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,uBAAkB,GAAG,CACnB,EAAE,EAAE,EAAE,GAAG,KAAK,EAA4B,EAC1C,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAkD;YACjE,IAAI,EAAE,mBAAmB,EAAE,EAAE;YAC7B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,IAAI;YACZ,GAAG,MAAM;SACV,CAAC,CAAC;QAhEH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAgEF;AArED,sCAqEC"}