@tammsyr/admin-api-client 1.3.4 → 1.3.6
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/dist/AccountProducts.d.ts +87 -0
- package/dist/AccountProducts.d.ts.map +1 -0
- package/dist/AccountProducts.js +157 -0
- package/dist/AccountProducts.js.map +1 -0
- package/dist/AccountTypes.d.ts +3 -3
- package/dist/AccountTypes.js.map +1 -1
- package/dist/ActivityLogs.d.ts.map +1 -1
- package/dist/AddressRegions.d.ts +73 -0
- package/dist/AddressRegions.d.ts.map +1 -0
- package/dist/AddressRegions.js +133 -0
- package/dist/AddressRegions.js.map +1 -0
- package/dist/AppVersion.d.ts +2 -2
- package/dist/AppVersion.d.ts.map +1 -1
- package/dist/AppVersion.js.map +1 -1
- package/dist/ApprovalPolicies.d.ts +3 -3
- package/dist/ApprovalPolicies.d.ts.map +1 -1
- package/dist/ApprovalPolicies.js.map +1 -1
- package/dist/BankBranches.d.ts +3 -3
- package/dist/BankBranches.js.map +1 -1
- package/dist/Currencies.d.ts +3 -3
- 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/GlobalNotifications.d.ts +2 -2
- package/dist/GlobalNotifications.d.ts.map +1 -1
- package/dist/GlobalNotifications.js.map +1 -1
- package/dist/MerchantCategories.d.ts +3 -3
- package/dist/MerchantCategories.d.ts.map +1 -1
- package/dist/MerchantCategories.js.map +1 -1
- package/dist/Policies.d.ts +6 -6
- package/dist/Policies.d.ts.map +1 -1
- package/dist/Policies.js +5 -0
- package/dist/Policies.js.map +1 -1
- package/dist/Transactions.d.ts.map +1 -1
- package/dist/Transactions.js.map +1 -1
- package/dist/Users.d.ts.map +1 -1
- package/dist/Users.js.map +1 -1
- package/dist/data-contracts.d.ts +509 -73
- package/dist/data-contracts.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ApproveParams2, CreateAccountProductDto, GetParams2, GrandfatherParams, ListParams2, ListResult, PublishVersionParams, RetireParams, UpdateAccountProductDto, UpdateParams6 } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
export declare class AccountProducts<SecurityDataType = unknown> {
|
|
4
|
+
http: HttpClient<SecurityDataType>;
|
|
5
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
6
|
+
/**
|
|
7
|
+
* @description List wallet product templates (all versions). Filter by status, type code, and product code.
|
|
8
|
+
*
|
|
9
|
+
* @tags Admin Account Products
|
|
10
|
+
* @name List
|
|
11
|
+
* @summary List account products
|
|
12
|
+
* @request GET:/account-products
|
|
13
|
+
* @secure
|
|
14
|
+
*/
|
|
15
|
+
list: (query: ListParams2, params?: RequestParams) => Promise<import("axios").AxiosResponse<ListResult, any, {}>>;
|
|
16
|
+
/**
|
|
17
|
+
* @description Author a brand-new product code at version 1 as a DRAFT. A second admin must approve it (four-eyes) before it goes ACTIVE.
|
|
18
|
+
*
|
|
19
|
+
* @tags Admin Account Products
|
|
20
|
+
* @name Create
|
|
21
|
+
* @summary Create a product (draft)
|
|
22
|
+
* @request POST:/account-products
|
|
23
|
+
* @secure
|
|
24
|
+
*/
|
|
25
|
+
create: (data: CreateAccountProductDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
26
|
+
/**
|
|
27
|
+
* @description Fetch a single product template by code + version.
|
|
28
|
+
*
|
|
29
|
+
* @tags Admin Account Products
|
|
30
|
+
* @name Get
|
|
31
|
+
* @summary Get an account product version
|
|
32
|
+
* @request GET:/account-products/{code}/versions/{version}
|
|
33
|
+
* @secure
|
|
34
|
+
*/
|
|
35
|
+
get: ({ code, version, ...query }: GetParams2, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
36
|
+
/**
|
|
37
|
+
* @description Full replace of a DRAFT version. Only DRAFT versions are editable — ACTIVE/GRANDFATHERED/RETIRED are immutable (publish a new version instead).
|
|
38
|
+
*
|
|
39
|
+
* @tags Admin Account Products
|
|
40
|
+
* @name Update
|
|
41
|
+
* @summary Edit a draft product
|
|
42
|
+
* @request PUT:/account-products/{code}/versions/{version}
|
|
43
|
+
* @secure
|
|
44
|
+
*/
|
|
45
|
+
update: ({ code, version, ...query }: UpdateParams6, data: UpdateAccountProductDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
46
|
+
/**
|
|
47
|
+
* @description Create a new DRAFT version of an existing product code (the server allocates the next version number). Requires no open draft for the code, and must then be approved (four-eyes).
|
|
48
|
+
*
|
|
49
|
+
* @tags Admin Account Products
|
|
50
|
+
* @name PublishVersion
|
|
51
|
+
* @summary Publish a new version
|
|
52
|
+
* @request POST:/account-products/{code}/versions
|
|
53
|
+
* @secure
|
|
54
|
+
*/
|
|
55
|
+
publishVersion: ({ code, ...query }: PublishVersionParams, data: UpdateAccountProductDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
56
|
+
/**
|
|
57
|
+
* @description Activate a DRAFT version. The account-service rejects self-approval (creator ≠ approver). Activating supersedes any other ACTIVE version of the same code (it becomes GRANDFATHERED).
|
|
58
|
+
*
|
|
59
|
+
* @tags Admin Account Products
|
|
60
|
+
* @name Approve
|
|
61
|
+
* @summary Approve a draft (four-eyes → ACTIVE)
|
|
62
|
+
* @request POST:/account-products/{code}/versions/{version}/approve
|
|
63
|
+
* @secure
|
|
64
|
+
*/
|
|
65
|
+
approve: ({ code, version, ...query }: ApproveParams2, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Close an ACTIVE version to new wallets (existing wallets keep it). ACTIVE → GRANDFATHERED.
|
|
68
|
+
*
|
|
69
|
+
* @tags Admin Account Products
|
|
70
|
+
* @name Grandfather
|
|
71
|
+
* @summary Grandfather an active product
|
|
72
|
+
* @request POST:/account-products/{code}/versions/{version}/grandfather
|
|
73
|
+
* @secure
|
|
74
|
+
*/
|
|
75
|
+
grandfather: ({ code, version, ...query }: GrandfatherParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
76
|
+
/**
|
|
77
|
+
* @description Permanently retire a version (terminal). Allowed from any non-retired state.
|
|
78
|
+
*
|
|
79
|
+
* @tags Admin Account Products
|
|
80
|
+
* @name Retire
|
|
81
|
+
* @summary Retire a product version
|
|
82
|
+
* @request POST:/account-products/{code}/versions/{version}/retire
|
|
83
|
+
* @secure
|
|
84
|
+
*/
|
|
85
|
+
retire: ({ code, version, ...query }: RetireParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountProductResponseDto, any, {}>>;
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=AccountProducts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountProducts.d.ts","sourceRoot":"","sources":["../AccountProducts.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,cAAc,EAEd,uBAAuB,EAEvB,UAAU,EAGV,iBAAiB,EACjB,WAAW,EACX,UAAU,EAEV,oBAAoB,EAEpB,YAAY,EACZ,uBAAuB,EACvB,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,eAAe,CAAC,gBAAgB,GAAG,OAAO;IACrD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,GAAI,OAAO,WAAW,EAAE,SAAQ,aAAkB,iEAQjD;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,uBAAuB,EAAE,SAAQ,aAAkB,2GAS9D;IACL;;;;;;;;OAQG;IACH,GAAG,GAAI,6BAA6B,UAAU,EAAE,SAAQ,aAAkB,2GAOrE;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,6BAA6B,aAAa,EAC1C,MAAM,uBAAuB,EAC7B,SAAQ,aAAkB,2GAUvB;IACL;;;;;;;;OAQG;IACH,cAAc,GACZ,oBAAoB,oBAAoB,EACxC,MAAM,uBAAuB,EAC7B,SAAQ,aAAkB,2GAUvB;IACL;;;;;;;;OAQG;IACH,OAAO,GACL,6BAA6B,cAAc,EAC3C,SAAQ,aAAkB,2GAQvB;IACL;;;;;;;;OAQG;IACH,WAAW,GACT,6BAA6B,iBAAiB,EAC9C,SAAQ,aAAkB,2GAQvB;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,6BAA6B,YAAY,EACzC,SAAQ,aAAkB,2GAQvB;CACN"}
|
|
@@ -0,0 +1,157 @@
|
|
|
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.AccountProducts = void 0;
|
|
15
|
+
const http_client_1 = require("./http-client");
|
|
16
|
+
class AccountProducts {
|
|
17
|
+
constructor(http) {
|
|
18
|
+
/**
|
|
19
|
+
* @description List wallet product templates (all versions). Filter by status, type code, and product code.
|
|
20
|
+
*
|
|
21
|
+
* @tags Admin Account Products
|
|
22
|
+
* @name List
|
|
23
|
+
* @summary List account products
|
|
24
|
+
* @request GET:/account-products
|
|
25
|
+
* @secure
|
|
26
|
+
*/
|
|
27
|
+
this.list = (query, params = {}) => this.http.request({
|
|
28
|
+
path: `/account-products`,
|
|
29
|
+
method: "GET",
|
|
30
|
+
query: query,
|
|
31
|
+
secure: true,
|
|
32
|
+
format: "json",
|
|
33
|
+
...params,
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* @description Author a brand-new product code at version 1 as a DRAFT. A second admin must approve it (four-eyes) before it goes ACTIVE.
|
|
37
|
+
*
|
|
38
|
+
* @tags Admin Account Products
|
|
39
|
+
* @name Create
|
|
40
|
+
* @summary Create a product (draft)
|
|
41
|
+
* @request POST:/account-products
|
|
42
|
+
* @secure
|
|
43
|
+
*/
|
|
44
|
+
this.create = (data, params = {}) => this.http.request({
|
|
45
|
+
path: `/account-products`,
|
|
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 Fetch a single product template by code + version.
|
|
55
|
+
*
|
|
56
|
+
* @tags Admin Account Products
|
|
57
|
+
* @name Get
|
|
58
|
+
* @summary Get an account product version
|
|
59
|
+
* @request GET:/account-products/{code}/versions/{version}
|
|
60
|
+
* @secure
|
|
61
|
+
*/
|
|
62
|
+
this.get = ({ code, version, ...query }, params = {}) => this.http.request({
|
|
63
|
+
path: `/account-products/${code}/versions/${version}`,
|
|
64
|
+
method: "GET",
|
|
65
|
+
secure: true,
|
|
66
|
+
format: "json",
|
|
67
|
+
...params,
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @description Full replace of a DRAFT version. Only DRAFT versions are editable — ACTIVE/GRANDFATHERED/RETIRED are immutable (publish a new version instead).
|
|
71
|
+
*
|
|
72
|
+
* @tags Admin Account Products
|
|
73
|
+
* @name Update
|
|
74
|
+
* @summary Edit a draft product
|
|
75
|
+
* @request PUT:/account-products/{code}/versions/{version}
|
|
76
|
+
* @secure
|
|
77
|
+
*/
|
|
78
|
+
this.update = ({ code, version, ...query }, data, params = {}) => this.http.request({
|
|
79
|
+
path: `/account-products/${code}/versions/${version}`,
|
|
80
|
+
method: "PUT",
|
|
81
|
+
body: data,
|
|
82
|
+
secure: true,
|
|
83
|
+
type: http_client_1.ContentType.Json,
|
|
84
|
+
format: "json",
|
|
85
|
+
...params,
|
|
86
|
+
});
|
|
87
|
+
/**
|
|
88
|
+
* @description Create a new DRAFT version of an existing product code (the server allocates the next version number). Requires no open draft for the code, and must then be approved (four-eyes).
|
|
89
|
+
*
|
|
90
|
+
* @tags Admin Account Products
|
|
91
|
+
* @name PublishVersion
|
|
92
|
+
* @summary Publish a new version
|
|
93
|
+
* @request POST:/account-products/{code}/versions
|
|
94
|
+
* @secure
|
|
95
|
+
*/
|
|
96
|
+
this.publishVersion = ({ code, ...query }, data, params = {}) => this.http.request({
|
|
97
|
+
path: `/account-products/${code}/versions`,
|
|
98
|
+
method: "POST",
|
|
99
|
+
body: data,
|
|
100
|
+
secure: true,
|
|
101
|
+
type: http_client_1.ContentType.Json,
|
|
102
|
+
format: "json",
|
|
103
|
+
...params,
|
|
104
|
+
});
|
|
105
|
+
/**
|
|
106
|
+
* @description Activate a DRAFT version. The account-service rejects self-approval (creator ≠ approver). Activating supersedes any other ACTIVE version of the same code (it becomes GRANDFATHERED).
|
|
107
|
+
*
|
|
108
|
+
* @tags Admin Account Products
|
|
109
|
+
* @name Approve
|
|
110
|
+
* @summary Approve a draft (four-eyes → ACTIVE)
|
|
111
|
+
* @request POST:/account-products/{code}/versions/{version}/approve
|
|
112
|
+
* @secure
|
|
113
|
+
*/
|
|
114
|
+
this.approve = ({ code, version, ...query }, params = {}) => this.http.request({
|
|
115
|
+
path: `/account-products/${code}/versions/${version}/approve`,
|
|
116
|
+
method: "POST",
|
|
117
|
+
secure: true,
|
|
118
|
+
format: "json",
|
|
119
|
+
...params,
|
|
120
|
+
});
|
|
121
|
+
/**
|
|
122
|
+
* @description Close an ACTIVE version to new wallets (existing wallets keep it). ACTIVE → GRANDFATHERED.
|
|
123
|
+
*
|
|
124
|
+
* @tags Admin Account Products
|
|
125
|
+
* @name Grandfather
|
|
126
|
+
* @summary Grandfather an active product
|
|
127
|
+
* @request POST:/account-products/{code}/versions/{version}/grandfather
|
|
128
|
+
* @secure
|
|
129
|
+
*/
|
|
130
|
+
this.grandfather = ({ code, version, ...query }, params = {}) => this.http.request({
|
|
131
|
+
path: `/account-products/${code}/versions/${version}/grandfather`,
|
|
132
|
+
method: "POST",
|
|
133
|
+
secure: true,
|
|
134
|
+
format: "json",
|
|
135
|
+
...params,
|
|
136
|
+
});
|
|
137
|
+
/**
|
|
138
|
+
* @description Permanently retire a version (terminal). Allowed from any non-retired state.
|
|
139
|
+
*
|
|
140
|
+
* @tags Admin Account Products
|
|
141
|
+
* @name Retire
|
|
142
|
+
* @summary Retire a product version
|
|
143
|
+
* @request POST:/account-products/{code}/versions/{version}/retire
|
|
144
|
+
* @secure
|
|
145
|
+
*/
|
|
146
|
+
this.retire = ({ code, version, ...query }, params = {}) => this.http.request({
|
|
147
|
+
path: `/account-products/${code}/versions/${version}/retire`,
|
|
148
|
+
method: "POST",
|
|
149
|
+
secure: true,
|
|
150
|
+
format: "json",
|
|
151
|
+
...params,
|
|
152
|
+
});
|
|
153
|
+
this.http = http;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.AccountProducts = AccountProducts;
|
|
157
|
+
//# sourceMappingURL=AccountProducts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountProducts.js","sourceRoot":"","sources":["../AccountProducts.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd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,OAAO,EAAE,GAAG,KAAK,EAAgB,EACzC,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,qBAAqB,IAAI,aAAa,OAAO,SAAS;YAC5D,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QAlKH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAkKF;AAvKD,0CAuKC"}
|
package/dist/AccountTypes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListParams9, UpdateAccountTypeDto, UpdateParams14 } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class AccountTypes<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -12,7 +12,7 @@ export declare class AccountTypes<SecurityDataType = unknown> {
|
|
|
12
12
|
* @request GET:/account-types
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
|
-
list: (query:
|
|
15
|
+
list: (query: ListParams9, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountTypesListResponseDto, any, {}>>;
|
|
16
16
|
/**
|
|
17
17
|
* No description
|
|
18
18
|
*
|
|
@@ -22,6 +22,6 @@ export declare class AccountTypes<SecurityDataType = unknown> {
|
|
|
22
22
|
* @request PATCH:/account-types/{code}
|
|
23
23
|
* @secure
|
|
24
24
|
*/
|
|
25
|
-
update: ({ code, ...query }:
|
|
25
|
+
update: ({ code, ...query }: UpdateParams14, data: UpdateAccountTypeDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AccountTypeResponseDto, any, {}>>;
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=AccountTypes.d.ts.map
|
package/dist/AccountTypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountTypes.js","sourceRoot":"","sources":["../AccountTypes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AASH,+CAAuE;AAEvE,MAAa,YAAY;IAGvB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,KAAkB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACxD,IAAI,CAAC,IAAI,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"AccountTypes.js","sourceRoot":"","sources":["../AccountTypes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AASH,+CAAuE;AAEvE,MAAa,YAAY;IAGvB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,KAAkB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACxD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CACP,EAAE,IAAI,EAAE,GAAG,KAAK,EAAkB,EAClC,IAA0B,EAC1B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAqB;YACpC,IAAI,EAAE,kBAAkB,IAAI,EAAE;YAC9B,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;QA3CH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CA2CF;AAhDD,oCAgDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityLogs.d.ts","sourceRoot":"","sources":["../ActivityLogs.ts"],"names":[],"mappings":"AAYA,OAAO,
|
|
1
|
+
{"version":3,"file":"ActivityLogs.d.ts","sourceRoot":"","sources":["../ActivityLogs.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,cAAc,EAAkB,MAAM,kBAAkB,CAAC;AAClE,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,OAAO,GAAI,OAAO,cAAc,EAAE,SAAQ,aAAkB,4GAQvD;CACN"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { CreateCountryDto, CreateProvinceDto, List2Params2, Update2Params, UpdateCountryDto, UpdateParams18, UpdateProvinceDto } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
export declare class AddressRegions<SecurityDataType = unknown> {
|
|
4
|
+
http: HttpClient<SecurityDataType>;
|
|
5
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
6
|
+
/**
|
|
7
|
+
* No description
|
|
8
|
+
*
|
|
9
|
+
* @tags Address Regions
|
|
10
|
+
* @name List
|
|
11
|
+
* @summary List all countries (including inactive)
|
|
12
|
+
* @request GET:/address-regions/countries
|
|
13
|
+
* @secure
|
|
14
|
+
*/
|
|
15
|
+
list: (params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CountryListResponseDto, any, {}>>;
|
|
16
|
+
/**
|
|
17
|
+
* @description Code is the ISO 3166-1 alpha-2 code and must be unique.
|
|
18
|
+
*
|
|
19
|
+
* @tags Address Regions
|
|
20
|
+
* @name Create
|
|
21
|
+
* @summary Create a country
|
|
22
|
+
* @request POST:/address-regions/countries
|
|
23
|
+
* @secure
|
|
24
|
+
*/
|
|
25
|
+
create: (data: CreateCountryDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CountryResponseDto, any, {}>>;
|
|
26
|
+
/**
|
|
27
|
+
* No description
|
|
28
|
+
*
|
|
29
|
+
* @tags Address Regions
|
|
30
|
+
* @name Update
|
|
31
|
+
* @summary Update a country name, code or active flag
|
|
32
|
+
* @request PATCH:/address-regions/countries/{id}
|
|
33
|
+
* @secure
|
|
34
|
+
*/
|
|
35
|
+
update: ({ id, ...query }: UpdateParams18, data: UpdateCountryDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CountryResponseDto, any, {}>>;
|
|
36
|
+
/**
|
|
37
|
+
* No description
|
|
38
|
+
*
|
|
39
|
+
* @tags Address Regions
|
|
40
|
+
* @name List2
|
|
41
|
+
* @summary List all provinces (including inactive), optionally by country
|
|
42
|
+
* @request GET:/address-regions/provinces
|
|
43
|
+
* @originalName list
|
|
44
|
+
* @duplicate
|
|
45
|
+
* @secure
|
|
46
|
+
*/
|
|
47
|
+
list2: (query: List2Params2, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ProvinceListResponseDto, any, {}>>;
|
|
48
|
+
/**
|
|
49
|
+
* @description The parent country must exist and be active.
|
|
50
|
+
*
|
|
51
|
+
* @tags Address Regions
|
|
52
|
+
* @name Create2
|
|
53
|
+
* @summary Create a province under a country
|
|
54
|
+
* @request POST:/address-regions/provinces
|
|
55
|
+
* @originalName create
|
|
56
|
+
* @duplicate
|
|
57
|
+
* @secure
|
|
58
|
+
*/
|
|
59
|
+
create2: (data: CreateProvinceDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ProvinceResponseDto, any, {}>>;
|
|
60
|
+
/**
|
|
61
|
+
* No description
|
|
62
|
+
*
|
|
63
|
+
* @tags Address Regions
|
|
64
|
+
* @name Update2
|
|
65
|
+
* @summary Update a province name or active flag
|
|
66
|
+
* @request PATCH:/address-regions/provinces/{id}
|
|
67
|
+
* @originalName update
|
|
68
|
+
* @duplicate
|
|
69
|
+
* @secure
|
|
70
|
+
*/
|
|
71
|
+
update2: ({ id, ...query }: Update2Params, data: UpdateProvinceDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ProvinceResponseDto, any, {}>>;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=AddressRegions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressRegions.d.ts","sourceRoot":"","sources":["../AddressRegions.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,gBAAgB,EAChB,iBAAiB,EAEjB,YAAY,EAIZ,aAAa,EACb,gBAAgB,EAEhB,cAAc,EACd,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,cAAc,CAAC,gBAAgB,GAAG,OAAO;IACpD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,GAAI,SAAQ,aAAkB,wGAO7B;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,gBAAgB,EAAE,SAAQ,aAAkB,oGASvD;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,kBAAkB,cAAc,EAChC,MAAM,gBAAgB,EACtB,SAAQ,aAAkB,oGAUvB;IACL;;;;;;;;;;OAUG;IACH,KAAK,GAAI,OAAO,YAAY,EAAE,SAAQ,aAAkB,yGAQnD;IACL;;;;;;;;;;OAUG;IACH,OAAO,GAAI,MAAM,iBAAiB,EAAE,SAAQ,aAAkB,qGASzD;IACL;;;;;;;;;;OAUG;IACH,OAAO,GACL,kBAAkB,aAAa,EAC/B,MAAM,iBAAiB,EACvB,SAAQ,aAAkB,qGAUvB;CACN"}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.AddressRegions = void 0;
|
|
15
|
+
const http_client_1 = require("./http-client");
|
|
16
|
+
class AddressRegions {
|
|
17
|
+
constructor(http) {
|
|
18
|
+
/**
|
|
19
|
+
* No description
|
|
20
|
+
*
|
|
21
|
+
* @tags Address Regions
|
|
22
|
+
* @name List
|
|
23
|
+
* @summary List all countries (including inactive)
|
|
24
|
+
* @request GET:/address-regions/countries
|
|
25
|
+
* @secure
|
|
26
|
+
*/
|
|
27
|
+
this.list = (params = {}) => this.http.request({
|
|
28
|
+
path: `/address-regions/countries`,
|
|
29
|
+
method: "GET",
|
|
30
|
+
secure: true,
|
|
31
|
+
format: "json",
|
|
32
|
+
...params,
|
|
33
|
+
});
|
|
34
|
+
/**
|
|
35
|
+
* @description Code is the ISO 3166-1 alpha-2 code and must be unique.
|
|
36
|
+
*
|
|
37
|
+
* @tags Address Regions
|
|
38
|
+
* @name Create
|
|
39
|
+
* @summary Create a country
|
|
40
|
+
* @request POST:/address-regions/countries
|
|
41
|
+
* @secure
|
|
42
|
+
*/
|
|
43
|
+
this.create = (data, params = {}) => this.http.request({
|
|
44
|
+
path: `/address-regions/countries`,
|
|
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 Address Regions
|
|
56
|
+
* @name Update
|
|
57
|
+
* @summary Update a country name, code or active flag
|
|
58
|
+
* @request PATCH:/address-regions/countries/{id}
|
|
59
|
+
* @secure
|
|
60
|
+
*/
|
|
61
|
+
this.update = ({ id, ...query }, data, params = {}) => this.http.request({
|
|
62
|
+
path: `/address-regions/countries/${id}`,
|
|
63
|
+
method: "PATCH",
|
|
64
|
+
body: data,
|
|
65
|
+
secure: true,
|
|
66
|
+
type: http_client_1.ContentType.Json,
|
|
67
|
+
format: "json",
|
|
68
|
+
...params,
|
|
69
|
+
});
|
|
70
|
+
/**
|
|
71
|
+
* No description
|
|
72
|
+
*
|
|
73
|
+
* @tags Address Regions
|
|
74
|
+
* @name List2
|
|
75
|
+
* @summary List all provinces (including inactive), optionally by country
|
|
76
|
+
* @request GET:/address-regions/provinces
|
|
77
|
+
* @originalName list
|
|
78
|
+
* @duplicate
|
|
79
|
+
* @secure
|
|
80
|
+
*/
|
|
81
|
+
this.list2 = (query, params = {}) => this.http.request({
|
|
82
|
+
path: `/address-regions/provinces`,
|
|
83
|
+
method: "GET",
|
|
84
|
+
query: query,
|
|
85
|
+
secure: true,
|
|
86
|
+
format: "json",
|
|
87
|
+
...params,
|
|
88
|
+
});
|
|
89
|
+
/**
|
|
90
|
+
* @description The parent country must exist and be active.
|
|
91
|
+
*
|
|
92
|
+
* @tags Address Regions
|
|
93
|
+
* @name Create2
|
|
94
|
+
* @summary Create a province under a country
|
|
95
|
+
* @request POST:/address-regions/provinces
|
|
96
|
+
* @originalName create
|
|
97
|
+
* @duplicate
|
|
98
|
+
* @secure
|
|
99
|
+
*/
|
|
100
|
+
this.create2 = (data, params = {}) => this.http.request({
|
|
101
|
+
path: `/address-regions/provinces`,
|
|
102
|
+
method: "POST",
|
|
103
|
+
body: data,
|
|
104
|
+
secure: true,
|
|
105
|
+
type: http_client_1.ContentType.Json,
|
|
106
|
+
format: "json",
|
|
107
|
+
...params,
|
|
108
|
+
});
|
|
109
|
+
/**
|
|
110
|
+
* No description
|
|
111
|
+
*
|
|
112
|
+
* @tags Address Regions
|
|
113
|
+
* @name Update2
|
|
114
|
+
* @summary Update a province name or active flag
|
|
115
|
+
* @request PATCH:/address-regions/provinces/{id}
|
|
116
|
+
* @originalName update
|
|
117
|
+
* @duplicate
|
|
118
|
+
* @secure
|
|
119
|
+
*/
|
|
120
|
+
this.update2 = ({ id, ...query }, data, params = {}) => this.http.request({
|
|
121
|
+
path: `/address-regions/provinces/${id}`,
|
|
122
|
+
method: "PATCH",
|
|
123
|
+
body: data,
|
|
124
|
+
secure: true,
|
|
125
|
+
type: http_client_1.ContentType.Json,
|
|
126
|
+
format: "json",
|
|
127
|
+
...params,
|
|
128
|
+
});
|
|
129
|
+
this.http = http;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.AddressRegions = AddressRegions;
|
|
133
|
+
//# sourceMappingURL=AddressRegions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressRegions.js","sourceRoot":"","sources":["../AddressRegions.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAiBH,+CAAuE;AAEvE,MAAa,cAAc;IAGzB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACpC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,4BAA4B;YAClC,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CAAC,IAAsB,EAAE,SAAwB,EAAE,EAAE,E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QACH,YAAO,GAAG,CACR,EAAE,EAAE,EAAE,GAAG,KAAK,EAAiB,EAC/B,IAAuB,EACvB,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,8BAA8B,EAAE,EAAE;YACxC,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;QA/HH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CA+HF;AApID,wCAoIC"}
|
package/dist/AppVersion.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetParams4, UpsertAppVersionPolicyBodyDto } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class AppVersion<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -32,6 +32,6 @@ export declare class AppVersion<SecurityDataType = unknown> {
|
|
|
32
32
|
* @request GET:/app-version/policies/{platform}
|
|
33
33
|
* @secure
|
|
34
34
|
*/
|
|
35
|
-
get: ({ platform, ...query }:
|
|
35
|
+
get: ({ platform, ...query }: GetParams4, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").AppVersionPolicyDto, any, {}>>;
|
|
36
36
|
}
|
|
37
37
|
//# sourceMappingURL=AppVersion.d.ts.map
|
package/dist/AppVersion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppVersion.d.ts","sourceRoot":"","sources":["../AppVersion.ts"],"names":[],"mappings":"AAYA,OAAO,
|
|
1
|
+
{"version":3,"file":"AppVersion.d.ts","sourceRoot":"","sources":["../AppVersion.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,UAAU,EAEV,6BAA6B,EAE9B,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,SAAQ,aAAkB,iHAO7B;IACL;;;;;;;;OAQG;IACH,MAAM,GAAI,MAAM,6BAA6B,EAAE,SAAQ,aAAkB,qGASpE;IACL;;;;;;;;OAQG;IACH,GAAG,GAAI,wBAAwB,UAAU,EAAE,SAAQ,aAAkB,qGAOhE;CACN"}
|
package/dist/AppVersion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppVersion.js","sourceRoot":"","sources":["../AppVersion.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AASH,+CAAuE;AAEvE,MAAa,UAAU;IAGrB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACpC,IAAI,CAAC,IAAI,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"AppVersion.js","sourceRoot":"","sources":["../AppVersion.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AASH,+CAAuE;AAEvE,MAAa,UAAU;IAGrB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACpC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,uBAAuB;YAC7B,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CAAC,IAAmC,EAAE,SAAwB,EAAE,EAAE,EAAE,CAC3E,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,uBAAuB;YAC7B,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,QAAG,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAc,EAAE,SAAwB,EAAE,EAAE,EAAE,CACvE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAkB;YACjC,IAAI,EAAE,yBAAyB,QAAQ,EAAE;YACzC,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QAvDH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAuDF;AA5DD,gCA4DC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListData1, UpdateApprovalPolicyDto, UpdateParams20 } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class ApprovalPolicies<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -12,7 +12,7 @@ export declare class ApprovalPolicies<SecurityDataType = unknown> {
|
|
|
12
12
|
* @request GET:/approval-policies
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
|
-
list: (params?: RequestParams) => Promise<import("axios").AxiosResponse<
|
|
15
|
+
list: (params?: RequestParams) => Promise<import("axios").AxiosResponse<ListData1, any, {}>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description Change quorum, TTL, self-approval or super-admin exemption for a gated action. Lowering quorum is a sensitive control change and is audited.
|
|
18
18
|
*
|
|
@@ -22,6 +22,6 @@ export declare class ApprovalPolicies<SecurityDataType = unknown> {
|
|
|
22
22
|
* @request PATCH:/approval-policies/{actionType}
|
|
23
23
|
* @secure
|
|
24
24
|
*/
|
|
25
|
-
update: ({ actionType, ...query }:
|
|
25
|
+
update: ({ actionType, ...query }: UpdateParams20, data: UpdateApprovalPolicyDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").ApprovalPolicyResponseDto, any, {}>>;
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=ApprovalPolicies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApprovalPolicies.d.ts","sourceRoot":"","sources":["../ApprovalPolicies.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ApprovalPolicies.d.ts","sourceRoot":"","sources":["../ApprovalPolicies.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAe,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,gBAAgB,CAAC,gBAAgB,GAAG,OAAO;IACtD,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAEvB,IAAI,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,GAAI,SAAQ,aAAkB,gEAO7B;IACL;;;;;;;;OAQG;IACH,MAAM,GACJ,0BAA0B,cAAc,EACxC,MAAM,uBAAuB,EAC7B,SAAQ,aAAkB,2GAUvB;CACN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApprovalPolicies.js","sourceRoot":"","sources":["../ApprovalPolicies.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAQH,+CAAuE;AAEvE,MAAa,gBAAgB;IAG3B,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACpC,IAAI,CAAC,IAAI,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"ApprovalPolicies.js","sourceRoot":"","sources":["../ApprovalPolicies.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAQH,+CAAuE;AAEvE,MAAa,gBAAgB;IAG3B,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,SAAwB,EAAE,EAAE,EAAE,CACpC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAiB;YAChC,IAAI,EAAE,oBAAoB;YAC1B,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MAAM;YACd,GAAG,MAAM;SACV,CAAC,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CACP,EAAE,UAAU,EAAE,GAAG,KAAK,EAAkB,EACxC,IAA6B,EAC7B,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAsB;YACrC,IAAI,EAAE,sBAAsB,UAAU,EAAE;YACxC,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;QA1CH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CA0CF;AA/CD,4CA+CC"}
|
package/dist/BankBranches.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateBankBranchDto, GetByCodeParams,
|
|
1
|
+
import { CreateBankBranchDto, GetByCodeParams, ListParams7, UpdateBankBranchDto, UpdateParams12 } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class BankBranches<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -12,7 +12,7 @@ export declare class BankBranches<SecurityDataType = unknown> {
|
|
|
12
12
|
* @request GET:/bank-branches
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
|
-
list: (query:
|
|
15
|
+
list: (query: ListParams7, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").BankBranchesListResponseDto, any, {}>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description Code is immutable once created — it appears inside every account number issued from this branch.
|
|
18
18
|
*
|
|
@@ -42,6 +42,6 @@ export declare class BankBranches<SecurityDataType = unknown> {
|
|
|
42
42
|
* @request PATCH:/bank-branches/{code}
|
|
43
43
|
* @secure
|
|
44
44
|
*/
|
|
45
|
-
update: ({ code, ...query }:
|
|
45
|
+
update: ({ code, ...query }: UpdateParams12, data: UpdateBankBranchDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").BankBranchResponseDto, any, {}>>;
|
|
46
46
|
}
|
|
47
47
|
//# sourceMappingURL=BankBranches.d.ts.map
|
package/dist/BankBranches.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BankBranches.js","sourceRoot":"","sources":["../BankBranches.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc;AACd;;;;;;;GAOG;;;AAaH,+CAAuE;AAEvE,MAAa,YAAY;IAGvB,YAAY,IAAkC;QAI9C;;;;;;;;WAQG;QACH,SAAI,GAAG,CAAC,KAAkB,EAAE,SAAwB,EAAE,EAAE,EAAE,CACxD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,MA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C,CAAC;QACL;;;;;;;;WAQG;QACH,WAAM,GAAG,CACP,EAAE,IAAI,EAAE,GAAG,KAAK,EAAkB,EAClC,IAAyB,EACzB,SAAwB,EAAE,EAC1B,EAAE,CACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAmB;YAClC,IAAI,EAAE,kBAAkB,IAAI,EAAE;YAC9B,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;QAlFH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CAkFF;AAvFD,oCAuFC"}
|
package/dist/Currencies.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateCurrencyConfigDto, DeleteParams6, GetByCodeParams2,
|
|
1
|
+
import { CreateCurrencyConfigDto, DeleteParams6, GetByCodeParams2, ListParams11, UpdateCurrencyConfigDto, UpdateParams16 } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
export declare class Currencies<SecurityDataType = unknown> {
|
|
4
4
|
http: HttpClient<SecurityDataType>;
|
|
@@ -12,7 +12,7 @@ export declare class Currencies<SecurityDataType = unknown> {
|
|
|
12
12
|
* @request GET:/currencies
|
|
13
13
|
* @secure
|
|
14
14
|
*/
|
|
15
|
-
list: (query:
|
|
15
|
+
list: (query: ListParams11, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CurrencyConfigListResponseDto, any, {}>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description Alpha-3 code and numeric code are immutable once created — they appear inside every account number minted in this currency.
|
|
18
18
|
*
|
|
@@ -52,6 +52,6 @@ export declare class Currencies<SecurityDataType = unknown> {
|
|
|
52
52
|
* @request PATCH:/currencies/{code}
|
|
53
53
|
* @secure
|
|
54
54
|
*/
|
|
55
|
-
update: ({ code, ...query }:
|
|
55
|
+
update: ({ code, ...query }: UpdateParams16, data: UpdateCurrencyConfigDto, params?: RequestParams) => Promise<import("axios").AxiosResponse<import("./data-contracts").CurrencyConfigResponseDto, any, {}>>;
|
|
56
56
|
}
|
|
57
57
|
//# sourceMappingURL=Currencies.d.ts.map
|
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,EAGvB,aAAa,EACb,gBAAgB,EAEhB,YAAY,EAEZ,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"}
|