@gewis/sudosos-client 0.0.0-develop.e05135a → 0.0.0-develop.efea20e

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/api.d.ts CHANGED
@@ -1683,11 +1683,11 @@ export interface CreateContainerRequest {
1683
1683
  */
1684
1684
  'public': boolean;
1685
1685
  /**
1686
- * Id of the user who will own the container, if undefined it will default to the token ID.
1686
+ * Id of the organ that will own the container
1687
1687
  * @type {number}
1688
1688
  * @memberof CreateContainerRequest
1689
1689
  */
1690
- 'ownerId'?: number;
1690
+ 'ownerId': number;
1691
1691
  }
1692
1692
  /**
1693
1693
  *
@@ -5671,6 +5671,18 @@ export interface TransferSummaryResponse {
5671
5671
  * @memberof TransferSummaryResponse
5672
5672
  */
5673
5673
  'inactiveAdministrativeCosts': TransferAggregateResponse;
5674
+ /**
5675
+ *
5676
+ * @type {TransferAggregateResponse}
5677
+ * @memberof TransferSummaryResponse
5678
+ */
5679
+ 'manualCreations': TransferAggregateResponse;
5680
+ /**
5681
+ *
5682
+ * @type {TransferAggregateResponse}
5683
+ * @memberof TransferSummaryResponse
5684
+ */
5685
+ 'manualDeletions': TransferAggregateResponse;
5674
5686
  }
5675
5687
  /**
5676
5688
  *
@@ -11098,12 +11110,13 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
11098
11110
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
11099
11111
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
11100
11112
  * @param {string} [tillDate] End date for selected invoices (exclusive)
11113
+ * @param {string} [description] Filter invoices by description (partial match)
11101
11114
  * @param {number} [take] How many entries the endpoint should return
11102
11115
  * @param {number} [skip] How many entries should be skipped (for pagination)
11103
11116
  * @param {*} [options] Override http request option.
11104
11117
  * @throws {RequiredError}
11105
11118
  */
11106
- getAllInvoices: (toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11119
+ getAllInvoices: (toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11107
11120
  /**
11108
11121
  *
11109
11122
  * @summary Get eligible transactions for invoice creation.
@@ -11197,12 +11210,13 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
11197
11210
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
11198
11211
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
11199
11212
  * @param {string} [tillDate] End date for selected invoices (exclusive)
11213
+ * @param {string} [description] Filter invoices by description (partial match)
11200
11214
  * @param {number} [take] How many entries the endpoint should return
11201
11215
  * @param {number} [skip] How many entries should be skipped (for pagination)
11202
11216
  * @param {*} [options] Override http request option.
11203
11217
  * @throws {RequiredError}
11204
11218
  */
11205
- getAllInvoices(toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
11219
+ getAllInvoices(toId?: number, invoiceId?: number, currentState?: GetAllInvoicesCurrentStateEnum, returnEntries?: boolean, fromDate?: string, tillDate?: string, description?: string, take?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedInvoiceResponse>>;
11206
11220
  /**
11207
11221
  *
11208
11222
  * @summary Get eligible transactions for invoice creation.
@@ -11425,6 +11439,12 @@ export interface InvoicesApiGetAllInvoicesRequest {
11425
11439
  * @memberof InvoicesApiGetAllInvoices
11426
11440
  */
11427
11441
  readonly tillDate?: string;
11442
+ /**
11443
+ * Filter invoices by description (partial match)
11444
+ * @type {string}
11445
+ * @memberof InvoicesApiGetAllInvoices
11446
+ */
11447
+ readonly description?: string;
11428
11448
  /**
11429
11449
  * How many entries the endpoint should return
11430
11450
  * @type {number}
package/dist/api.js CHANGED
@@ -5808,12 +5808,13 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5808
5808
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
5809
5809
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
5810
5810
  * @param {string} [tillDate] End date for selected invoices (exclusive)
5811
+ * @param {string} [description] Filter invoices by description (partial match)
5811
5812
  * @param {number} [take] How many entries the endpoint should return
5812
5813
  * @param {number} [skip] How many entries should be skipped (for pagination)
5813
5814
  * @param {*} [options] Override http request option.
5814
5815
  * @throws {RequiredError}
5815
5816
  */
5816
- getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options = {}) => {
5817
+ getAllInvoices: async (toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options = {}) => {
5817
5818
  const localVarPath = `/invoices`;
5818
5819
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5819
5820
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -5845,6 +5846,9 @@ const InvoicesApiAxiosParamCreator = function (configuration) {
5845
5846
  if (tillDate !== undefined) {
5846
5847
  localVarQueryParameter['tillDate'] = tillDate;
5847
5848
  }
5849
+ if (description !== undefined) {
5850
+ localVarQueryParameter['description'] = description;
5851
+ }
5848
5852
  if (take !== undefined) {
5849
5853
  localVarQueryParameter['take'] = take;
5850
5854
  }
@@ -6139,13 +6143,14 @@ const InvoicesApiFp = function (configuration) {
6139
6143
  * @param {boolean} [returnEntries] Boolean if invoice entries should be returned
6140
6144
  * @param {string} [fromDate] Start date for selected invoices (inclusive)
6141
6145
  * @param {string} [tillDate] End date for selected invoices (exclusive)
6146
+ * @param {string} [description] Filter invoices by description (partial match)
6142
6147
  * @param {number} [take] How many entries the endpoint should return
6143
6148
  * @param {number} [skip] How many entries should be skipped (for pagination)
6144
6149
  * @param {*} [options] Override http request option.
6145
6150
  * @throws {RequiredError}
6146
6151
  */
6147
- async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options) {
6148
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, take, skip, options);
6152
+ async getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options) {
6153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllInvoices(toId, invoiceId, currentState, returnEntries, fromDate, tillDate, description, take, skip, options);
6149
6154
  const index = configuration?.serverIndex ?? 0;
6150
6155
  const operationBasePath = base_1.operationServerMap['InvoicesApi.getAllInvoices']?.[index]?.url;
6151
6156
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -6282,7 +6287,7 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
6282
6287
  * @throws {RequiredError}
6283
6288
  */
6284
6289
  getAllInvoices(requestParameters = {}, options) {
6285
- return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
6290
+ return localVarFp.getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(axios, basePath));
6286
6291
  },
6287
6292
  /**
6288
6293
  *
@@ -6396,7 +6401,7 @@ class InvoicesApi extends base_1.BaseAPI {
6396
6401
  * @memberof InvoicesApi
6397
6402
  */
6398
6403
  getAllInvoices(requestParameters = {}, options) {
6399
- return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
6404
+ return (0, exports.InvoicesApiFp)(this.configuration).getAllInvoices(requestParameters.toId, requestParameters.invoiceId, requestParameters.currentState, requestParameters.returnEntries, requestParameters.fromDate, requestParameters.tillDate, requestParameters.description, requestParameters.take, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
6400
6405
  }
6401
6406
  /**
6402
6407
  *
package/dist/common.d.ts CHANGED
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gewis/sudosos-client",
3
- "version": "0.0.0-develop.e05135a",
3
+ "version": "0.0.0-develop.efea20e",
4
4
  "description": "Auto-generated TypeScript-Axios client for the SudoSOS API",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@openapitools/openapi-generator-cli": "^2.7.0",
23
- "typescript": "~5.5.3"
23
+ "typescript": "~5.9.3"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",