@emilgroup/accounting-sdk-node 1.32.1-beta.104 → 1.32.1-beta.105

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 (38) hide show
  1. package/README.md +2 -2
  2. package/api/accounting-configs-api.ts +64 -24
  3. package/api/booking-entries-api.ts +40 -15
  4. package/api/commission-account-mappings-api.ts +64 -24
  5. package/api/financial-accounts-api.ts +40 -15
  6. package/api/financial-transactions-api.ts +16 -6
  7. package/api/health-api.ts +1 -1
  8. package/api/number-ranges-api.ts +32 -12
  9. package/api/personal-accounts-api.ts +32 -12
  10. package/api/product-account-mappings-api.ts +96 -36
  11. package/base.ts +4 -0
  12. package/common.ts +3 -2
  13. package/dist/api/accounting-configs-api.d.ts +8 -8
  14. package/dist/api/accounting-configs-api.js +120 -64
  15. package/dist/api/booking-entries-api.d.ts +5 -5
  16. package/dist/api/booking-entries-api.js +67 -38
  17. package/dist/api/commission-account-mappings-api.d.ts +8 -8
  18. package/dist/api/commission-account-mappings-api.js +108 -61
  19. package/dist/api/financial-accounts-api.d.ts +5 -5
  20. package/dist/api/financial-accounts-api.js +67 -38
  21. package/dist/api/financial-transactions-api.d.ts +2 -2
  22. package/dist/api/financial-transactions-api.js +22 -14
  23. package/dist/api/health-api.d.ts +1 -1
  24. package/dist/api/health-api.js +1 -1
  25. package/dist/api/number-ranges-api.d.ts +4 -4
  26. package/dist/api/number-ranges-api.js +52 -30
  27. package/dist/api/personal-accounts-api.d.ts +4 -4
  28. package/dist/api/personal-accounts-api.js +52 -30
  29. package/dist/api/product-account-mappings-api.d.ts +12 -12
  30. package/dist/api/product-account-mappings-api.js +172 -94
  31. package/dist/base.d.ts +1 -0
  32. package/dist/base.js +3 -0
  33. package/dist/common.d.ts +1 -1
  34. package/dist/common.js +1 -0
  35. package/dist/models/create-booking-entry-request-dto.d.ts +1 -7
  36. package/dist/models/create-booking-entry-request-dto.js +0 -6
  37. package/models/create-booking-entry-request-dto.ts +1 -7
  38. package/package.json +2 -2
package/dist/common.js CHANGED
@@ -234,6 +234,7 @@ exports.toPathString = toPathString;
234
234
  * @export
235
235
  */
236
236
  var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
237
+ // Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
237
238
  return function (axios, basePath) {
238
239
  if (axios === void 0) { axios = globalAxios; }
239
240
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -47,7 +47,7 @@ export interface CreateBookingEntryRequestDto {
47
47
  */
48
48
  'sourceEntityCode'?: string;
49
49
  /**
50
- * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
50
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand can only be typed manual: every other type is refused, since only its posting flow writes or reads it.
51
51
  * @type {string}
52
52
  * @memberof CreateBookingEntryRequestDto
53
53
  */
@@ -74,12 +74,6 @@ export interface CreateBookingEntryRequestDto {
74
74
  'financialTransactions': Array<FinancialTransactionDataDto>;
75
75
  }
76
76
  export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
- readonly Payment: "payment";
78
- readonly Credit: "credit";
79
- readonly CreditAllocation: "credit_allocation";
80
- readonly ClaimRegulation: "claim_regulation";
81
- readonly Commission: "commission";
82
- readonly PaymentReceipt: "payment_receipt";
83
77
  readonly Manual: "manual";
84
78
  };
85
79
  export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -15,11 +15,5 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
17
  exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
- Payment: 'payment',
19
- Credit: 'credit',
20
- CreditAllocation: 'credit_allocation',
21
- ClaimRegulation: 'claim_regulation',
22
- Commission: 'commission',
23
- PaymentReceipt: 'payment_receipt',
24
18
  Manual: 'manual'
25
19
  };
@@ -52,7 +52,7 @@ export interface CreateBookingEntryRequestDto {
52
52
  */
53
53
  'sourceEntityCode'?: string;
54
54
  /**
55
- * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
55
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand can only be typed manual: every other type is refused, since only its posting flow writes or reads it.
56
56
  * @type {string}
57
57
  * @memberof CreateBookingEntryRequestDto
58
58
  */
@@ -78,12 +78,6 @@ export interface CreateBookingEntryRequestDto {
78
78
  }
79
79
 
80
80
  export const CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
81
- Payment: 'payment',
82
- Credit: 'credit',
83
- CreditAllocation: 'credit_allocation',
84
- ClaimRegulation: 'claim_regulation',
85
- Commission: 'commission',
86
- PaymentReceipt: 'payment_receipt',
87
81
  Manual: 'manual'
88
82
  } as const;
89
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.32.1-beta.104",
3
+ "version": "1.32.1-beta.105",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.18.0",
21
+ "axios": "1.20.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },