@emilgroup/payment-sdk 1.22.1-beta.50 → 1.22.1-beta.51

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 (65) hide show
  1. package/.openapi-generator/FILES +0 -2
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +8 -8
  4. package/api/exceeding-credits-api.ts +0 -107
  5. package/api/payment-requests-api.ts +12 -12
  6. package/base.ts +15 -36
  7. package/configuration.ts +0 -11
  8. package/dist/api/bank-orders-api.d.ts +8 -8
  9. package/dist/api/bank-orders-api.js +6 -6
  10. package/dist/api/exceeding-credits-api.d.ts +0 -57
  11. package/dist/api/exceeding-credits-api.js +0 -93
  12. package/dist/api/payment-requests-api.d.ts +12 -12
  13. package/dist/api/payment-requests-api.js +9 -9
  14. package/dist/base.d.ts +0 -1
  15. package/dist/base.js +16 -36
  16. package/dist/configuration.d.ts +0 -9
  17. package/dist/configuration.js +0 -1
  18. package/dist/models/create-payment-order-dto.d.ts +1 -1
  19. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  20. package/dist/models/create-payment-request-dto.d.ts +1 -1
  21. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  22. package/dist/models/credit-allocation-class.d.ts +0 -6
  23. package/dist/models/credit-allocation-entity.d.ts +0 -6
  24. package/dist/models/index.d.ts +0 -2
  25. package/dist/models/index.js +0 -2
  26. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  27. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  28. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  29. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  30. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  31. package/dist/models/list-refunds-response-class.d.ts +18 -6
  32. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  33. package/dist/models/payment-class.d.ts +2 -2
  34. package/dist/models/payment-entity.d.ts +1 -1
  35. package/dist/models/payment-receipt-class.d.ts +1 -1
  36. package/dist/models/payment-request-class.d.ts +6 -12
  37. package/dist/models/shared-transaction-class.d.ts +0 -6
  38. package/dist/models/transaction-entity.d.ts +0 -6
  39. package/models/create-payment-order-dto.ts +1 -1
  40. package/models/create-payment-receipt-request-dto.ts +1 -1
  41. package/models/create-payment-request-dto.ts +1 -1
  42. package/models/create-payment-request-request-dto.ts +0 -6
  43. package/models/credit-allocation-class.ts +0 -6
  44. package/models/credit-allocation-entity.ts +0 -6
  45. package/models/index.ts +0 -2
  46. package/models/list-billing-addresses-response-class.ts +9 -9
  47. package/models/list-exceeding-credits-response-class.ts +18 -6
  48. package/models/list-payment-receipts-response-class.ts +9 -9
  49. package/models/list-payment-requests-response-class.ts +18 -6
  50. package/models/list-payout-methods-response-class.ts +9 -9
  51. package/models/list-refunds-response-class.ts +18 -6
  52. package/models/payment-class-without-expand-properties.ts +2 -2
  53. package/models/payment-class.ts +2 -2
  54. package/models/payment-entity.ts +1 -1
  55. package/models/payment-receipt-class.ts +1 -1
  56. package/models/payment-request-class.ts +6 -12
  57. package/models/shared-transaction-class.ts +0 -6
  58. package/models/transaction-entity.ts +0 -6
  59. package/package.json +1 -1
  60. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  61. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  62. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  63. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  64. package/models/create-exceeding-credit-request-dto.ts +0 -54
  65. package/models/create-exceeding-credit-response-class.ts +0 -31
@@ -16,18 +16,18 @@ import { BillingAddressClass } from './billing-address-class';
16
16
  * @interface ListBillingAddressesResponseClass
17
17
  */
18
18
  export interface ListBillingAddressesResponseClass {
19
- /**
20
- * The billing addresses
21
- * @type {Array<BillingAddressClass>}
22
- * @memberof ListBillingAddressesResponseClass
23
- */
24
- 'items': Array<BillingAddressClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListBillingAddressesResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListBillingAddressesResponseClass
29
+ */
30
+ 'totalItems': number;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListBillingAddressesResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total amount of items.
39
- * @type {number}
38
+ * The billing addresses
39
+ * @type {Array<BillingAddressClass>}
40
40
  * @memberof ListBillingAddressesResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<BillingAddressClass>;
43
43
  }
@@ -16,16 +16,28 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
16
16
  * @interface ListExceedingCreditsResponseClass
17
17
  */
18
18
  export interface ListExceedingCreditsResponseClass {
19
- /**
20
- * The list of exceeding credits.
21
- * @type {Array<ExceedingCreditClass>}
22
- * @memberof ListExceedingCreditsResponseClass
23
- */
24
- 'items': Array<ExceedingCreditClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListExceedingCreditsResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListExceedingCreditsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListExceedingCreditsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * The list of exceeding credits.
39
+ * @type {Array<ExceedingCreditClass>}
40
+ * @memberof ListExceedingCreditsResponseClass
41
+ */
42
+ 'items': Array<ExceedingCreditClass>;
31
43
  }
@@ -16,18 +16,18 @@ import { PaymentReceiptClass } from './payment-receipt-class';
16
16
  * @interface ListPaymentReceiptsResponseClass
17
17
  */
18
18
  export interface ListPaymentReceiptsResponseClass {
19
- /**
20
- * The list of payment receipts.
21
- * @type {Array<PaymentReceiptClass>}
22
- * @memberof ListPaymentReceiptsResponseClass
23
- */
24
- 'items': Array<PaymentReceiptClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPaymentReceiptsResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListPaymentReceiptsResponseClass
29
+ */
30
+ 'totalItems': number;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPaymentReceiptsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total amount of items.
39
- * @type {number}
38
+ * The list of payment receipts.
39
+ * @type {Array<PaymentReceiptClass>}
40
40
  * @memberof ListPaymentReceiptsResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<PaymentReceiptClass>;
43
43
  }
@@ -16,16 +16,28 @@ import { PaymentRequestClass } from './payment-request-class';
16
16
  * @interface ListPaymentRequestsResponseClass
17
17
  */
18
18
  export interface ListPaymentRequestsResponseClass {
19
- /**
20
- * The list of payment requests.
21
- * @type {Array<PaymentRequestClass>}
22
- * @memberof ListPaymentRequestsResponseClass
23
- */
24
- 'items': Array<PaymentRequestClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPaymentRequestsResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListPaymentRequestsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListPaymentRequestsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * The list of payment requests.
39
+ * @type {Array<PaymentRequestClass>}
40
+ * @memberof ListPaymentRequestsResponseClass
41
+ */
42
+ 'items': Array<PaymentRequestClass>;
31
43
  }
@@ -16,18 +16,18 @@ import { PayoutMethodClass } from './payout-method-class';
16
16
  * @interface ListPayoutMethodsResponseClass
17
17
  */
18
18
  export interface ListPayoutMethodsResponseClass {
19
- /**
20
- * The payout methods
21
- * @type {Array<PayoutMethodClass>}
22
- * @memberof ListPayoutMethodsResponseClass
23
- */
24
- 'items': Array<PayoutMethodClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPayoutMethodsResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListPayoutMethodsResponseClass
29
+ */
30
+ 'totalItems': number;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPayoutMethodsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total amount of items.
39
- * @type {number}
38
+ * The payout methods
39
+ * @type {Array<PayoutMethodClass>}
40
40
  * @memberof ListPayoutMethodsResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<PayoutMethodClass>;
43
43
  }
@@ -16,16 +16,28 @@ import { RefundClass } from './refund-class';
16
16
  * @interface ListRefundsResponseClass
17
17
  */
18
18
  export interface ListRefundsResponseClass {
19
- /**
20
- * The list of refunds.
21
- * @type {Array<RefundClass>}
22
- * @memberof ListRefundsResponseClass
23
- */
24
- 'items': Array<RefundClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListRefundsResponseClass
29
23
  */
30
24
  'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListRefundsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListRefundsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * The list of refunds.
39
+ * @type {Array<RefundClass>}
40
+ * @memberof ListRefundsResponseClass
41
+ */
42
+ 'items': Array<RefundClass>;
31
43
  }
@@ -44,7 +44,7 @@ export interface PaymentClassWithoutExpandProperties {
44
44
  * @type {string}
45
45
  * @memberof PaymentClassWithoutExpandProperties
46
46
  */
47
- 'partnerCode': string;
47
+ 'partnerCode'?: string;
48
48
  /**
49
49
  * Amount to be paid in cents. 100 to charge 1€.
50
50
  * @type {number}
@@ -76,7 +76,7 @@ export interface PaymentClassWithoutExpandProperties {
76
76
  */
77
77
  'productSlug'?: string;
78
78
  /**
79
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
79
+ * Time at which the payment was actually received.
80
80
  * @type {string}
81
81
  * @memberof PaymentClassWithoutExpandProperties
82
82
  */
@@ -45,7 +45,7 @@ export interface PaymentClass {
45
45
  * @type {string}
46
46
  * @memberof PaymentClass
47
47
  */
48
- 'partnerCode': string;
48
+ 'partnerCode'?: string;
49
49
  /**
50
50
  * Amount to be paid in cents. 100 to charge 1€.
51
51
  * @type {number}
@@ -83,7 +83,7 @@ export interface PaymentClass {
83
83
  */
84
84
  'productSlug'?: string;
85
85
  /**
86
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
86
+ * Time at which the payment was actually received.
87
87
  * @type {string}
88
88
  * @memberof PaymentClass
89
89
  */
@@ -51,7 +51,7 @@ export interface PaymentEntity {
51
51
  * @type {string}
52
52
  * @memberof PaymentEntity
53
53
  */
54
- 'partnerCode': string;
54
+ 'partnerCode'?: string;
55
55
  /**
56
56
  *
57
57
  * @type {string}
@@ -46,7 +46,7 @@ export interface PaymentReceiptClass {
46
46
  */
47
47
  'direction': PaymentReceiptClassDirectionEnum;
48
48
  /**
49
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
49
+ * Date the payment was confirmed
50
50
  * @type {string}
51
51
  * @memberof PaymentReceiptClass
52
52
  */
@@ -94,18 +94,6 @@ export interface PaymentRequestClass {
94
94
  * @memberof PaymentRequestClass
95
95
  */
96
96
  'status': PaymentRequestClassStatusEnum;
97
- /**
98
- * Code of the settlement the payment request was created for.
99
- * @type {string}
100
- * @memberof PaymentRequestClass
101
- */
102
- 'settlementCode'?: string;
103
- /**
104
- * Code of the partner the payment request was created for.
105
- * @type {string}
106
- * @memberof PaymentRequestClass
107
- */
108
- 'partnerCode': string;
109
97
  /**
110
98
  * Code of the bank order that contains this payment request. Absent while the request is in no bank order.
111
99
  * @type {string}
@@ -124,6 +112,12 @@ export interface PaymentRequestClass {
124
112
  * @memberof PaymentRequestClass
125
113
  */
126
114
  'recipientHasBankDetails'?: boolean;
115
+ /**
116
+ * Code of the partner the payment request was created for.
117
+ * @type {string}
118
+ * @memberof PaymentRequestClass
119
+ */
120
+ 'partnerCode': string;
127
121
  /**
128
122
  * Code of the payment method used for this payment request.
129
123
  * @type {string}
@@ -69,10 +69,4 @@ export interface SharedTransactionClass {
69
69
  * @memberof SharedTransactionClass
70
70
  */
71
71
  'updatedBy': string;
72
- /**
73
- * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
74
- * @type {string}
75
- * @memberof SharedTransactionClass
76
- */
77
- 'bankTransactionCode'?: string;
78
72
  }
@@ -71,12 +71,6 @@ export interface TransactionEntity {
71
71
  * @memberof TransactionEntity
72
72
  */
73
73
  'bankTransactionId'?: number;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof TransactionEntity
78
- */
79
- 'bankTransactionCode'?: string;
80
74
  /**
81
75
  *
82
76
  * @type {string}
@@ -33,7 +33,7 @@ export interface CreatePaymentOrderDto {
33
33
  */
34
34
  'comment'?: string;
35
35
  /**
36
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
36
+ * Optional payment date.
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentOrderDto
39
39
  */
@@ -39,7 +39,7 @@ export interface CreatePaymentReceiptRequestDto {
39
39
  */
40
40
  'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
41
41
  /**
42
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
42
+ * Date the payment was confirmed
43
43
  * @type {string}
44
44
  * @memberof CreatePaymentReceiptRequestDto
45
45
  */
@@ -63,7 +63,7 @@ export interface CreatePaymentRequestDto {
63
63
  */
64
64
  'productSlug'?: string;
65
65
  /**
66
- * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
66
+ * Optional payment date.
67
67
  * @type {string}
68
68
  * @memberof CreatePaymentRequestDto
69
69
  */
@@ -74,12 +74,6 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
- /**
78
- * Code of the settlement the payment request was created for.
79
- * @type {string}
80
- * @memberof CreatePaymentRequestRequestDto
81
- */
82
- 'settlementCode'?: string;
83
77
  /**
84
78
  * Code of the partner the payment request was created for.
85
79
  * @type {string}
@@ -39,12 +39,6 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
- /**
43
- * Partner code derived from the policy related to the exceeding credits.
44
- * @type {string}
45
- * @memberof CreditAllocationClass
46
- */
47
- 'partnerCode': string;
48
42
  /**
49
43
  * Policy code associated with the credit.
50
44
  * @type {string}
@@ -33,12 +33,6 @@ export interface CreditAllocationEntity {
33
33
  * @memberof CreditAllocationEntity
34
34
  */
35
35
  'code': string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof CreditAllocationEntity
40
- */
41
- 'partnerCode': string;
42
36
  /**
43
37
  *
44
38
  * @type {string}
package/models/index.ts CHANGED
@@ -31,8 +31,6 @@ export * from './create-billing-address-request-dto';
31
31
  export * from './create-billing-address-response-class';
32
32
  export * from './create-credit-allocation-request-dto';
33
33
  export * from './create-credit-allocation-response-class';
34
- export * from './create-exceeding-credit-request-dto';
35
- export * from './create-exceeding-credit-response-class';
36
34
  export * from './create-payment-method-response-class';
37
35
  export * from './create-payment-order-dto';
38
36
  export * from './create-payment-order-request-dto';
@@ -21,18 +21,18 @@ import { BillingAddressClass } from './billing-address-class';
21
21
  * @interface ListBillingAddressesResponseClass
22
22
  */
23
23
  export interface ListBillingAddressesResponseClass {
24
- /**
25
- * The billing addresses
26
- * @type {Array<BillingAddressClass>}
27
- * @memberof ListBillingAddressesResponseClass
28
- */
29
- 'items': Array<BillingAddressClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListBillingAddressesResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListBillingAddressesResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The billing addresses
44
+ * @type {Array<BillingAddressClass>}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<BillingAddressClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
21
21
  * @interface ListExceedingCreditsResponseClass
22
22
  */
23
23
  export interface ListExceedingCreditsResponseClass {
24
- /**
25
- * The list of exceeding credits.
26
- * @type {Array<ExceedingCreditClass>}
27
- * @memberof ListExceedingCreditsResponseClass
28
- */
29
- 'items': Array<ExceedingCreditClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListExceedingCreditsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListExceedingCreditsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListExceedingCreditsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of exceeding credits.
44
+ * @type {Array<ExceedingCreditClass>}
45
+ * @memberof ListExceedingCreditsResponseClass
46
+ */
47
+ 'items': Array<ExceedingCreditClass>;
36
48
  }
37
49
 
@@ -21,18 +21,18 @@ import { PaymentReceiptClass } from './payment-receipt-class';
21
21
  * @interface ListPaymentReceiptsResponseClass
22
22
  */
23
23
  export interface ListPaymentReceiptsResponseClass {
24
- /**
25
- * The list of payment receipts.
26
- * @type {Array<PaymentReceiptClass>}
27
- * @memberof ListPaymentReceiptsResponseClass
28
- */
29
- 'items': Array<PaymentReceiptClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentReceiptsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPaymentReceiptsResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPaymentReceiptsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The list of payment receipts.
44
+ * @type {Array<PaymentReceiptClass>}
45
45
  * @memberof ListPaymentReceiptsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PaymentReceiptClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { PaymentRequestClass } from './payment-request-class';
21
21
  * @interface ListPaymentRequestsResponseClass
22
22
  */
23
23
  export interface ListPaymentRequestsResponseClass {
24
- /**
25
- * The list of payment requests.
26
- * @type {Array<PaymentRequestClass>}
27
- * @memberof ListPaymentRequestsResponseClass
28
- */
29
- 'items': Array<PaymentRequestClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentRequestsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPaymentRequestsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPaymentRequestsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of payment requests.
44
+ * @type {Array<PaymentRequestClass>}
45
+ * @memberof ListPaymentRequestsResponseClass
46
+ */
47
+ 'items': Array<PaymentRequestClass>;
36
48
  }
37
49
 
@@ -21,18 +21,18 @@ import { PayoutMethodClass } from './payout-method-class';
21
21
  * @interface ListPayoutMethodsResponseClass
22
22
  */
23
23
  export interface ListPayoutMethodsResponseClass {
24
- /**
25
- * The payout methods
26
- * @type {Array<PayoutMethodClass>}
27
- * @memberof ListPayoutMethodsResponseClass
28
- */
29
- 'items': Array<PayoutMethodClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPayoutMethodsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPayoutMethodsResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The payout methods
44
+ * @type {Array<PayoutMethodClass>}
45
45
  * @memberof ListPayoutMethodsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PayoutMethodClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
21
21
  * @interface ListRefundsResponseClass
22
22
  */
23
23
  export interface ListRefundsResponseClass {
24
- /**
25
- * The list of refunds.
26
- * @type {Array<RefundClass>}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'items': Array<RefundClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRefundsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListRefundsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of refunds.
44
+ * @type {Array<RefundClass>}
45
+ * @memberof ListRefundsResponseClass
46
+ */
47
+ 'items': Array<RefundClass>;
36
48
  }
37
49
 
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
49
49
  * @type {string}
50
50
  * @memberof PaymentClassWithoutExpandProperties
51
51
  */
52
- 'partnerCode': string;
52
+ 'partnerCode'?: string;
53
53
  /**
54
54
  * Amount to be paid in cents. 100 to charge 1€.
55
55
  * @type {number}
@@ -81,7 +81,7 @@ export interface PaymentClassWithoutExpandProperties {
81
81
  */
82
82
  'productSlug'?: string;
83
83
  /**
84
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
84
+ * Time at which the payment was actually received.
85
85
  * @type {string}
86
86
  * @memberof PaymentClassWithoutExpandProperties
87
87
  */