@gizone/rrs-client 4.2.9-alpha.637 → 4.2.9-alpha.639

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 (94) hide show
  1. package/.openapi-generator/FILES +12 -1
  2. package/api.ts +0 -1
  3. package/apis/reimbursement-bill-api.ts +536 -6
  4. package/dist/api.d.ts +0 -1
  5. package/dist/api.js +0 -1
  6. package/dist/apis/reimbursement-bill-api.d.ts +272 -7
  7. package/dist/apis/reimbursement-bill-api.js +421 -4
  8. package/dist/esm/api.d.ts +0 -1
  9. package/dist/esm/api.js +0 -1
  10. package/dist/esm/apis/reimbursement-bill-api.d.ts +272 -7
  11. package/dist/esm/apis/reimbursement-bill-api.js +421 -4
  12. package/dist/esm/models/budget-balance-query-dto.d.ts +54 -0
  13. package/dist/esm/models/budget-balance-query-dto.js +14 -0
  14. package/dist/esm/models/budget-object.d.ts +30 -0
  15. package/dist/esm/models/budget-object.js +14 -0
  16. package/dist/esm/models/czy-budget-balance-vo.d.ts +48 -0
  17. package/dist/esm/models/czy-budget-balance-vo.js +14 -0
  18. package/dist/esm/models/czy-organization-cost-vo.d.ts +109 -0
  19. package/dist/esm/models/czy-organization-cost-vo.js +14 -0
  20. package/dist/esm/models/czy-system-organization-member-detail-vo.d.ts +176 -0
  21. package/dist/esm/models/czy-system-organization-member-detail-vo.js +14 -0
  22. package/dist/esm/models/index.d.ts +12 -0
  23. package/dist/esm/models/index.js +12 -0
  24. package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
  25. package/dist/esm/models/json-result-czy-budget-balance-vo.d.ts +62 -0
  26. package/dist/esm/models/json-result-czy-budget-balance-vo.js +14 -0
  27. package/dist/esm/models/json-result-czy-system-organization-member-detail-vo.d.ts +62 -0
  28. package/dist/esm/models/json-result-czy-system-organization-member-detail-vo.js +14 -0
  29. package/dist/esm/models/json-result-list-czy-organization-cost-vo.d.ts +62 -0
  30. package/dist/esm/models/json-result-list-czy-organization-cost-vo.js +14 -0
  31. package/dist/esm/models/json-result-list-reimbursement-bill-payer-vo.d.ts +62 -0
  32. package/dist/esm/models/json-result-list-reimbursement-bill-payer-vo.js +14 -0
  33. package/dist/esm/models/organization-object.d.ts +30 -0
  34. package/dist/esm/models/organization-object.js +14 -0
  35. package/dist/esm/models/perform-object.d.ts +30 -0
  36. package/dist/esm/models/perform-object.js +14 -0
  37. package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +6 -0
  38. package/dist/esm/models/reimbursement-bill-payer-vo.d.ts +30 -0
  39. package/dist/esm/models/reimbursement-bill-payer-vo.js +14 -0
  40. package/dist/esm/models/reimbursement-status-enum.d.ts +1 -0
  41. package/dist/esm/models/reimbursement-status-enum.js +1 -0
  42. package/dist/models/budget-balance-query-dto.d.ts +54 -0
  43. package/dist/models/budget-balance-query-dto.js +15 -0
  44. package/dist/models/budget-object.d.ts +30 -0
  45. package/dist/models/budget-object.js +15 -0
  46. package/dist/models/czy-budget-balance-vo.d.ts +48 -0
  47. package/dist/models/czy-budget-balance-vo.js +15 -0
  48. package/dist/models/czy-organization-cost-vo.d.ts +109 -0
  49. package/dist/models/czy-organization-cost-vo.js +15 -0
  50. package/dist/models/czy-system-organization-member-detail-vo.d.ts +176 -0
  51. package/dist/models/czy-system-organization-member-detail-vo.js +15 -0
  52. package/dist/models/index.d.ts +12 -0
  53. package/dist/models/index.js +12 -0
  54. package/dist/models/ipage-energy-cost-record-info-vo.d.ts +8 -8
  55. package/dist/models/json-result-czy-budget-balance-vo.d.ts +62 -0
  56. package/dist/models/json-result-czy-budget-balance-vo.js +15 -0
  57. package/dist/models/json-result-czy-system-organization-member-detail-vo.d.ts +62 -0
  58. package/dist/models/json-result-czy-system-organization-member-detail-vo.js +15 -0
  59. package/dist/models/json-result-list-czy-organization-cost-vo.d.ts +62 -0
  60. package/dist/models/json-result-list-czy-organization-cost-vo.js +15 -0
  61. package/dist/models/json-result-list-reimbursement-bill-payer-vo.d.ts +62 -0
  62. package/dist/models/json-result-list-reimbursement-bill-payer-vo.js +15 -0
  63. package/dist/models/organization-object.d.ts +30 -0
  64. package/dist/models/organization-object.js +15 -0
  65. package/dist/models/perform-object.d.ts +30 -0
  66. package/dist/models/perform-object.js +15 -0
  67. package/dist/models/reimbursement-bill-draft-dto.d.ts +6 -0
  68. package/dist/models/reimbursement-bill-payer-vo.d.ts +30 -0
  69. package/dist/models/reimbursement-bill-payer-vo.js +15 -0
  70. package/dist/models/reimbursement-status-enum.d.ts +1 -0
  71. package/dist/models/reimbursement-status-enum.js +1 -0
  72. package/models/budget-balance-query-dto.ts +60 -0
  73. package/models/budget-object.ts +36 -0
  74. package/models/czy-budget-balance-vo.ts +54 -0
  75. package/models/czy-organization-cost-vo.ts +117 -0
  76. package/models/czy-system-organization-member-detail-vo.ts +186 -0
  77. package/models/index.ts +12 -0
  78. package/models/ipage-energy-cost-record-info-vo.ts +8 -8
  79. package/models/json-result-czy-budget-balance-vo.ts +72 -0
  80. package/models/json-result-czy-system-organization-member-detail-vo.ts +72 -0
  81. package/models/json-result-list-czy-organization-cost-vo.ts +72 -0
  82. package/models/json-result-list-reimbursement-bill-payer-vo.ts +72 -0
  83. package/models/organization-object.ts +36 -0
  84. package/models/perform-object.ts +36 -0
  85. package/models/reimbursement-bill-draft-dto.ts +6 -0
  86. package/models/reimbursement-bill-payer-vo.ts +36 -0
  87. package/models/reimbursement-status-enum.ts +1 -0
  88. package/ossutil.log +1173 -1170
  89. package/package.json +1 -1
  90. package/apis/mdmapi.ts +0 -217
  91. package/dist/apis/mdmapi.d.ts +0 -117
  92. package/dist/apis/mdmapi.js +0 -200
  93. package/dist/esm/apis/mdmapi.d.ts +0 -117
  94. package/dist/esm/apis/mdmapi.js +0 -193
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.9-alpha.637",
3
+ "version": "4.2.9-alpha.639",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/apis/mdmapi.ts DELETED
@@ -1,217 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * OpenAPI definition
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import type { Configuration } from '../configuration';
17
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
- import globalAxios from 'axios';
19
- // Some imports not used depending on template conditions
20
- // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
- // @ts-ignore
23
- import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
- // @ts-ignore
25
- import type { JsonResultListMdmIncrementVendorBankAccountsVo } from '../models';
26
- // @ts-ignore
27
- import type { JsonResultListMdmIncrementVendorsVo } from '../models';
28
- /**
29
- * MDMApi - axios parameter creator
30
- * @export
31
- */
32
- export const MDMApiAxiosParamCreator = function (configuration?: Configuration) {
33
- return {
34
- /**
35
- *
36
- * @summary 获取供应商信息
37
- * @param {*} [options] Override http request option.
38
- * @throws {RequiredError}
39
- */
40
- mdmVendors: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41
- const localVarPath = `/mdm/vendors`;
42
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
- let baseOptions;
45
- if (configuration) {
46
- baseOptions = configuration.baseOptions;
47
- }
48
-
49
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
50
- const localVarHeaderParameter = {} as any;
51
- const localVarQueryParameter = {} as any;
52
-
53
- // authentication tokenScheme required
54
- // http bearer authentication required
55
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
56
-
57
-
58
-
59
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62
-
63
- return {
64
- url: toPathString(localVarUrlObj),
65
- options: localVarRequestOptions,
66
- };
67
- },
68
- /**
69
- *
70
- * @summary 通过供应商id获取供应商银行信息
71
- * @param {string} vendorId
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- mdmVendors1: async (vendorId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
76
- // verify required parameter 'vendorId' is not null or undefined
77
- assertParamExists('mdmVendors1', 'vendorId', vendorId)
78
- const localVarPath = `/mdm/vendors/{vendorId}/bank-accounts`
79
- .replace(`{${"vendorId"}}`, encodeURIComponent(String(vendorId)));
80
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
81
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
82
- let baseOptions;
83
- if (configuration) {
84
- baseOptions = configuration.baseOptions;
85
- }
86
-
87
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
88
- const localVarHeaderParameter = {} as any;
89
- const localVarQueryParameter = {} as any;
90
-
91
- // authentication tokenScheme required
92
- // http bearer authentication required
93
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
94
-
95
-
96
-
97
- setSearchParams(localVarUrlObj, localVarQueryParameter);
98
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100
-
101
- return {
102
- url: toPathString(localVarUrlObj),
103
- options: localVarRequestOptions,
104
- };
105
- },
106
- }
107
- };
108
-
109
- /**
110
- * MDMApi - functional programming interface
111
- * @export
112
- */
113
- export const MDMApiFp = function(configuration?: Configuration) {
114
- const localVarAxiosParamCreator = MDMApiAxiosParamCreator(configuration)
115
- return {
116
- /**
117
- *
118
- * @summary 获取供应商信息
119
- * @param {*} [options] Override http request option.
120
- * @throws {RequiredError}
121
- */
122
- async mdmVendors(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorsVo>> {
123
- const localVarAxiosArgs = await localVarAxiosParamCreator.mdmVendors(options);
124
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
125
- const localVarOperationServerBasePath = operationServerMap['MDMApi.mdmVendors']?.[localVarOperationServerIndex]?.url;
126
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
- },
128
- /**
129
- *
130
- * @summary 通过供应商id获取供应商银行信息
131
- * @param {string} vendorId
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- async mdmVendors1(vendorId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>> {
136
- const localVarAxiosArgs = await localVarAxiosParamCreator.mdmVendors1(vendorId, options);
137
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
138
- const localVarOperationServerBasePath = operationServerMap['MDMApi.mdmVendors1']?.[localVarOperationServerIndex]?.url;
139
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
140
- },
141
- }
142
- };
143
-
144
- /**
145
- * MDMApi - factory interface
146
- * @export
147
- */
148
- export const MDMApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
149
- const localVarFp = MDMApiFp(configuration)
150
- return {
151
- /**
152
- *
153
- * @summary 获取供应商信息
154
- * @param {*} [options] Override http request option.
155
- * @throws {RequiredError}
156
- */
157
- mdmVendors(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorsVo> {
158
- return localVarFp.mdmVendors(options).then((request) => request(axios, basePath));
159
- },
160
- /**
161
- *
162
- * @summary 通过供应商id获取供应商银行信息
163
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
164
- * @param {*} [options] Override http request option.
165
- * @throws {RequiredError}
166
- */
167
- mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo> {
168
- return localVarFp.mdmVendors1(requestParameters.vendorId, options).then((request) => request(axios, basePath));
169
- },
170
- };
171
- };
172
-
173
- /**
174
- * Request parameters for mdmVendors1 operation in MDMApi.
175
- * @export
176
- * @interface MDMApiMdmVendors1Request
177
- */
178
- export interface MDMApiMdmVendors1Request {
179
- /**
180
- *
181
- * @type {string}
182
- * @memberof MDMApiMdmVendors1
183
- */
184
- readonly vendorId: string
185
- }
186
-
187
- /**
188
- * MDMApi - object-oriented interface
189
- * @export
190
- * @class MDMApi
191
- * @extends {BaseAPI}
192
- */
193
- export class MDMApi extends BaseAPI {
194
- /**
195
- *
196
- * @summary 获取供应商信息
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- * @memberof MDMApi
200
- */
201
- public mdmVendors(options?: RawAxiosRequestConfig) {
202
- return MDMApiFp(this.configuration).mdmVendors(options).then((request) => request(this.axios, this.basePath));
203
- }
204
-
205
- /**
206
- *
207
- * @summary 通过供应商id获取供应商银行信息
208
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
209
- * @param {*} [options] Override http request option.
210
- * @throws {RequiredError}
211
- * @memberof MDMApi
212
- */
213
- public mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig) {
214
- return MDMApiFp(this.configuration).mdmVendors1(requestParameters.vendorId, options).then((request) => request(this.axios, this.basePath));
215
- }
216
- }
217
-
@@ -1,117 +0,0 @@
1
- /**
2
- * OpenAPI definition
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { type RequestArgs, BaseAPI } from '../base';
15
- import type { JsonResultListMdmIncrementVendorBankAccountsVo } from '../models';
16
- import type { JsonResultListMdmIncrementVendorsVo } from '../models';
17
- /**
18
- * MDMApi - axios parameter creator
19
- * @export
20
- */
21
- export declare const MDMApiAxiosParamCreator: (configuration?: Configuration) => {
22
- /**
23
- *
24
- * @summary 获取供应商信息
25
- * @param {*} [options] Override http request option.
26
- * @throws {RequiredError}
27
- */
28
- mdmVendors: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
- /**
30
- *
31
- * @summary 通过供应商id获取供应商银行信息
32
- * @param {string} vendorId
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- mdmVendors1: (vendorId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
- };
38
- /**
39
- * MDMApi - functional programming interface
40
- * @export
41
- */
42
- export declare const MDMApiFp: (configuration?: Configuration) => {
43
- /**
44
- *
45
- * @summary 获取供应商信息
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- mdmVendors(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorsVo>>;
50
- /**
51
- *
52
- * @summary 通过供应商id获取供应商银行信息
53
- * @param {string} vendorId
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- mdmVendors1(vendorId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>>;
58
- };
59
- /**
60
- * MDMApi - factory interface
61
- * @export
62
- */
63
- export declare const MDMApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
- /**
65
- *
66
- * @summary 获取供应商信息
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- mdmVendors(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorsVo>;
71
- /**
72
- *
73
- * @summary 通过供应商id获取供应商银行信息
74
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>;
79
- };
80
- /**
81
- * Request parameters for mdmVendors1 operation in MDMApi.
82
- * @export
83
- * @interface MDMApiMdmVendors1Request
84
- */
85
- export interface MDMApiMdmVendors1Request {
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof MDMApiMdmVendors1
90
- */
91
- readonly vendorId: string;
92
- }
93
- /**
94
- * MDMApi - object-oriented interface
95
- * @export
96
- * @class MDMApi
97
- * @extends {BaseAPI}
98
- */
99
- export declare class MDMApi extends BaseAPI {
100
- /**
101
- *
102
- * @summary 获取供应商信息
103
- * @param {*} [options] Override http request option.
104
- * @throws {RequiredError}
105
- * @memberof MDMApi
106
- */
107
- mdmVendors(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorsVo, any, {}>>;
108
- /**
109
- *
110
- * @summary 通过供应商id获取供应商银行信息
111
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- * @memberof MDMApi
115
- */
116
- mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorBankAccountsVo, any, {}>>;
117
- }
@@ -1,200 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * OpenAPI definition
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
- return new (P || (P = Promise))(function (resolve, reject) {
18
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
- step((generator = generator.apply(thisArg, _arguments || [])).next());
22
- });
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.MDMApi = exports.MDMApiFactory = exports.MDMApiFp = exports.MDMApiAxiosParamCreator = void 0;
26
- const axios_1 = require("axios");
27
- // Some imports not used depending on template conditions
28
- // @ts-ignore
29
- const common_1 = require("../common");
30
- // @ts-ignore
31
- const base_1 = require("../base");
32
- /**
33
- * MDMApi - axios parameter creator
34
- * @export
35
- */
36
- const MDMApiAxiosParamCreator = function (configuration) {
37
- return {
38
- /**
39
- *
40
- * @summary 获取供应商信息
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- mdmVendors: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
45
- const localVarPath = `/mdm/vendors`;
46
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
48
- let baseOptions;
49
- if (configuration) {
50
- baseOptions = configuration.baseOptions;
51
- }
52
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
53
- const localVarHeaderParameter = {};
54
- const localVarQueryParameter = {};
55
- // authentication tokenScheme required
56
- // http bearer authentication required
57
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
58
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
59
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
61
- return {
62
- url: (0, common_1.toPathString)(localVarUrlObj),
63
- options: localVarRequestOptions,
64
- };
65
- }),
66
- /**
67
- *
68
- * @summary 通过供应商id获取供应商银行信息
69
- * @param {string} vendorId
70
- * @param {*} [options] Override http request option.
71
- * @throws {RequiredError}
72
- */
73
- mdmVendors1: (vendorId_1, ...args_1) => __awaiter(this, [vendorId_1, ...args_1], void 0, function* (vendorId, options = {}) {
74
- // verify required parameter 'vendorId' is not null or undefined
75
- (0, common_1.assertParamExists)('mdmVendors1', 'vendorId', vendorId);
76
- const localVarPath = `/mdm/vendors/{vendorId}/bank-accounts`
77
- .replace(`{${"vendorId"}}`, encodeURIComponent(String(vendorId)));
78
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
79
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
80
- let baseOptions;
81
- if (configuration) {
82
- baseOptions = configuration.baseOptions;
83
- }
84
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
85
- const localVarHeaderParameter = {};
86
- const localVarQueryParameter = {};
87
- // authentication tokenScheme required
88
- // http bearer authentication required
89
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
90
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
91
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
92
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
93
- return {
94
- url: (0, common_1.toPathString)(localVarUrlObj),
95
- options: localVarRequestOptions,
96
- };
97
- }),
98
- };
99
- };
100
- exports.MDMApiAxiosParamCreator = MDMApiAxiosParamCreator;
101
- /**
102
- * MDMApi - functional programming interface
103
- * @export
104
- */
105
- const MDMApiFp = function (configuration) {
106
- const localVarAxiosParamCreator = (0, exports.MDMApiAxiosParamCreator)(configuration);
107
- return {
108
- /**
109
- *
110
- * @summary 获取供应商信息
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- */
114
- mdmVendors(options) {
115
- return __awaiter(this, void 0, void 0, function* () {
116
- var _a, _b, _c;
117
- const localVarAxiosArgs = yield localVarAxiosParamCreator.mdmVendors(options);
118
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
119
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MDMApi.mdmVendors']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
120
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
121
- });
122
- },
123
- /**
124
- *
125
- * @summary 通过供应商id获取供应商银行信息
126
- * @param {string} vendorId
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- mdmVendors1(vendorId, options) {
131
- return __awaiter(this, void 0, void 0, function* () {
132
- var _a, _b, _c;
133
- const localVarAxiosArgs = yield localVarAxiosParamCreator.mdmVendors1(vendorId, options);
134
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
135
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MDMApi.mdmVendors1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
136
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137
- });
138
- },
139
- };
140
- };
141
- exports.MDMApiFp = MDMApiFp;
142
- /**
143
- * MDMApi - factory interface
144
- * @export
145
- */
146
- const MDMApiFactory = function (configuration, basePath, axios) {
147
- const localVarFp = (0, exports.MDMApiFp)(configuration);
148
- return {
149
- /**
150
- *
151
- * @summary 获取供应商信息
152
- * @param {*} [options] Override http request option.
153
- * @throws {RequiredError}
154
- */
155
- mdmVendors(options) {
156
- return localVarFp.mdmVendors(options).then((request) => request(axios, basePath));
157
- },
158
- /**
159
- *
160
- * @summary 通过供应商id获取供应商银行信息
161
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
162
- * @param {*} [options] Override http request option.
163
- * @throws {RequiredError}
164
- */
165
- mdmVendors1(requestParameters, options) {
166
- return localVarFp.mdmVendors1(requestParameters.vendorId, options).then((request) => request(axios, basePath));
167
- },
168
- };
169
- };
170
- exports.MDMApiFactory = MDMApiFactory;
171
- /**
172
- * MDMApi - object-oriented interface
173
- * @export
174
- * @class MDMApi
175
- * @extends {BaseAPI}
176
- */
177
- class MDMApi extends base_1.BaseAPI {
178
- /**
179
- *
180
- * @summary 获取供应商信息
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- * @memberof MDMApi
184
- */
185
- mdmVendors(options) {
186
- return (0, exports.MDMApiFp)(this.configuration).mdmVendors(options).then((request) => request(this.axios, this.basePath));
187
- }
188
- /**
189
- *
190
- * @summary 通过供应商id获取供应商银行信息
191
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
192
- * @param {*} [options] Override http request option.
193
- * @throws {RequiredError}
194
- * @memberof MDMApi
195
- */
196
- mdmVendors1(requestParameters, options) {
197
- return (0, exports.MDMApiFp)(this.configuration).mdmVendors1(requestParameters.vendorId, options).then((request) => request(this.axios, this.basePath));
198
- }
199
- }
200
- exports.MDMApi = MDMApi;
@@ -1,117 +0,0 @@
1
- /**
2
- * OpenAPI definition
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { type RequestArgs, BaseAPI } from '../base';
15
- import type { JsonResultListMdmIncrementVendorBankAccountsVo } from '../models';
16
- import type { JsonResultListMdmIncrementVendorsVo } from '../models';
17
- /**
18
- * MDMApi - axios parameter creator
19
- * @export
20
- */
21
- export declare const MDMApiAxiosParamCreator: (configuration?: Configuration) => {
22
- /**
23
- *
24
- * @summary 获取供应商信息
25
- * @param {*} [options] Override http request option.
26
- * @throws {RequiredError}
27
- */
28
- mdmVendors: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
- /**
30
- *
31
- * @summary 通过供应商id获取供应商银行信息
32
- * @param {string} vendorId
33
- * @param {*} [options] Override http request option.
34
- * @throws {RequiredError}
35
- */
36
- mdmVendors1: (vendorId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
- };
38
- /**
39
- * MDMApi - functional programming interface
40
- * @export
41
- */
42
- export declare const MDMApiFp: (configuration?: Configuration) => {
43
- /**
44
- *
45
- * @summary 获取供应商信息
46
- * @param {*} [options] Override http request option.
47
- * @throws {RequiredError}
48
- */
49
- mdmVendors(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorsVo>>;
50
- /**
51
- *
52
- * @summary 通过供应商id获取供应商银行信息
53
- * @param {string} vendorId
54
- * @param {*} [options] Override http request option.
55
- * @throws {RequiredError}
56
- */
57
- mdmVendors1(vendorId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>>;
58
- };
59
- /**
60
- * MDMApi - factory interface
61
- * @export
62
- */
63
- export declare const MDMApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
- /**
65
- *
66
- * @summary 获取供应商信息
67
- * @param {*} [options] Override http request option.
68
- * @throws {RequiredError}
69
- */
70
- mdmVendors(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorsVo>;
71
- /**
72
- *
73
- * @summary 通过供应商id获取供应商银行信息
74
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMdmIncrementVendorBankAccountsVo>;
79
- };
80
- /**
81
- * Request parameters for mdmVendors1 operation in MDMApi.
82
- * @export
83
- * @interface MDMApiMdmVendors1Request
84
- */
85
- export interface MDMApiMdmVendors1Request {
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof MDMApiMdmVendors1
90
- */
91
- readonly vendorId: string;
92
- }
93
- /**
94
- * MDMApi - object-oriented interface
95
- * @export
96
- * @class MDMApi
97
- * @extends {BaseAPI}
98
- */
99
- export declare class MDMApi extends BaseAPI {
100
- /**
101
- *
102
- * @summary 获取供应商信息
103
- * @param {*} [options] Override http request option.
104
- * @throws {RequiredError}
105
- * @memberof MDMApi
106
- */
107
- mdmVendors(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorsVo, any, {}>>;
108
- /**
109
- *
110
- * @summary 通过供应商id获取供应商银行信息
111
- * @param {MDMApiMdmVendors1Request} requestParameters Request parameters.
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- * @memberof MDMApi
115
- */
116
- mdmVendors1(requestParameters: MDMApiMdmVendors1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListMdmIncrementVendorBankAccountsVo, any, {}>>;
117
- }