@compassdigital/sdk.typescript 4.969.0 → 4.970.0

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/lib/index.d.ts CHANGED
@@ -45,7 +45,7 @@ export declare class ServiceClient extends BaseServiceClient {
45
45
  * @param body
46
46
  * @param options - additional request options
47
47
  */
48
- post_payment_transaction(id: string, body?: PostPaymentTransactionBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionResponse>;
48
+ post_payment_transaction(id: string, body: PostPaymentTransactionBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionResponse>;
49
49
  /**
50
50
  * POST /payment/{id}/transaction/auth - This endpoint is used to only authorize a transaction. It will not charge the transaction.
51
51
  *
@@ -53,7 +53,7 @@ export declare class ServiceClient extends BaseServiceClient {
53
53
  * @param body
54
54
  * @param options - additional request options
55
55
  */
56
- post_payment_transaction_auth(id: string, body?: PostPaymentTransactionAuthBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionAuthResponse>;
56
+ post_payment_transaction_auth(id: string, body: PostPaymentTransactionAuthBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionAuthResponse>;
57
57
  /**
58
58
  * POST /payment/{id}/transaction/{transaction_id}/refund
59
59
  *
@@ -62,7 +62,7 @@ export declare class ServiceClient extends BaseServiceClient {
62
62
  * @param body
63
63
  * @param options - additional request options
64
64
  */
65
- post_payment_transaction_refund(id: string, transaction_id: string, body?: PostPaymentTransactionRefundBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionRefundResponse>;
65
+ post_payment_transaction_refund(id: string, transaction_id: string, body: PostPaymentTransactionRefundBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionRefundResponse>;
66
66
  /**
67
67
  * POST /payment/{id}/transaction/capture - This endpoint is used to capture a transaction that has been authorized already. So there won't be second authorization.
68
68
  *
@@ -70,7 +70,7 @@ export declare class ServiceClient extends BaseServiceClient {
70
70
  * @param body
71
71
  * @param options - additional request options
72
72
  */
73
- post_payment_transaction_capture(id: string, body?: PostPaymentTransactionCaptureBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionCaptureResponse>;
73
+ post_payment_transaction_capture(id: string, body: PostPaymentTransactionCaptureBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionCaptureResponse>;
74
74
  /**
75
75
  * POST /payment/{id}/transaction/void - This endpoint is used to void a transaction that has been authorized already.So user's auth will be voided faster instead of waiting for the auth to expire.
76
76
  *
@@ -78,7 +78,7 @@ export declare class ServiceClient extends BaseServiceClient {
78
78
  * @param body
79
79
  * @param options - additional request options
80
80
  */
81
- post_payment_transaction_void(id: string, body?: PostPaymentTransactionVoidBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionVoidResponse>;
81
+ post_payment_transaction_void(id: string, body: PostPaymentTransactionVoidBody, options?: RequestOptions): ResponsePromise<PostPaymentTransactionVoidResponse>;
82
82
  /**
83
83
  * GET /payment/{id}/clienttoken
84
84
  *
@@ -95,21 +95,21 @@ export declare class ServiceClient extends BaseServiceClient {
95
95
  * @param body
96
96
  * @param options - additional request options
97
97
  */
98
- post_payment_paymenttoken(id: string, body?: PostPaymentPaymenttokenBody, options?: RequestOptions): ResponsePromise<PostPaymentPaymenttokenResponse>;
98
+ post_payment_paymenttoken(id: string, body: PostPaymentPaymenttokenBody, options?: RequestOptions): ResponsePromise<PostPaymentPaymenttokenResponse>;
99
99
  /**
100
100
  * POST /payment/consumer
101
101
  *
102
102
  * @param body
103
103
  * @param options - additional request options
104
104
  */
105
- post_payment_consumer(body?: PostPaymentConsumerBody, options?: RequestOptions): ResponsePromise<PostPaymentConsumerResponse>;
105
+ post_payment_consumer(body: PostPaymentConsumerBody, options?: RequestOptions): ResponsePromise<PostPaymentConsumerResponse>;
106
106
  /**
107
107
  * POST /payment/method
108
108
  *
109
109
  * @param body
110
110
  * @param options - additional request options
111
111
  */
112
- post_payment_method(body?: PostPaymentMethodBody, options?: RequestOptions): ResponsePromise<PostPaymentMethodResponse>;
112
+ post_payment_method(body: PostPaymentMethodBody, options?: RequestOptions): ResponsePromise<PostPaymentMethodResponse>;
113
113
  /**
114
114
  * GET /payment/token
115
115
  *
@@ -124,21 +124,21 @@ export declare class ServiceClient extends BaseServiceClient {
124
124
  * @param body
125
125
  * @param options - additional request options
126
126
  */
127
- post_payment_token(body?: PostPaymentTokenBody, options?: RequestOptions): ResponsePromise<PostPaymentTokenResponse>;
127
+ post_payment_token(body: PostPaymentTokenBody, options?: RequestOptions): ResponsePromise<PostPaymentTokenResponse>;
128
128
  /**
129
129
  * PUT /payment/token
130
130
  *
131
131
  * @param body
132
132
  * @param options - additional request options
133
133
  */
134
- put_payment_token(body?: PutPaymentTokenBody, options?: RequestOptions): ResponsePromise<PutPaymentTokenResponse>;
134
+ put_payment_token(body: PutPaymentTokenBody, options?: RequestOptions): ResponsePromise<PutPaymentTokenResponse>;
135
135
  /**
136
136
  * DELETE /payment/token
137
137
  *
138
138
  * @param body
139
139
  * @param options - additional request options
140
140
  */
141
- delete_payment_token(body?: DeletePaymentTokenBody, options?: RequestOptions): ResponsePromise<DeletePaymentTokenResponse>;
141
+ delete_payment_token(body: DeletePaymentTokenBody, options?: RequestOptions): ResponsePromise<DeletePaymentTokenResponse>;
142
142
  /**
143
143
  * GET /payment/methods
144
144
  *
@@ -169,7 +169,7 @@ export declare class ServiceClient extends BaseServiceClient {
169
169
  * @param body
170
170
  * @param options - additional request options
171
171
  */
172
- post_payment_cashless(id: string, body?: PostPaymentCashlessBody, options?: RequestOptions): ResponsePromise<PostPaymentCashlessResponse>;
172
+ post_payment_cashless(id: string, body: PostPaymentCashlessBody, options?: RequestOptions): ResponsePromise<PostPaymentCashlessResponse>;
173
173
  /**
174
174
  * DELETE /payment/{id}/cashless
175
175
  *
@@ -184,14 +184,14 @@ export declare class ServiceClient extends BaseServiceClient {
184
184
  * @param body
185
185
  * @param options - additional request options
186
186
  */
187
- post_payment_configvalidate(body?: PostPaymentConfigvalidateBody, options?: RequestOptions): ResponsePromise<PostPaymentConfigvalidateResponse>;
187
+ post_payment_configvalidate(body: PostPaymentConfigvalidateBody, options?: RequestOptions): ResponsePromise<PostPaymentConfigvalidateResponse>;
188
188
  /**
189
189
  * POST /payment/validatemerchant
190
190
  *
191
191
  * @param body
192
192
  * @param options - additional request options
193
193
  */
194
- post_payment_validatemerchant(body?: PostPaymentValidatemerchantBody, options?: RequestOptions): ResponsePromise<PostPaymentValidatemerchantResponse>;
194
+ post_payment_validatemerchant(body: PostPaymentValidatemerchantBody, options?: RequestOptions): ResponsePromise<PostPaymentValidatemerchantResponse>;
195
195
  /**
196
196
  * GET /payment/ping
197
197
  *