@djangocfg/api 1.0.1 → 1.0.2
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/index.cjs +18173 -8526
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15000 -5567
- package/dist/index.d.ts +15000 -5567
- package/dist/index.mjs +17990 -8659
- package/dist/index.mjs.map +1 -1
- package/package.json +17 -17
- package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +6 -6
- package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +876 -0
- package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +6 -6
- package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +3 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +6 -6
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +3 -3
- package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +1 -1
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +171 -171
- package/src/cfg/generated/_utils/fetchers/cfg__payments__webhooks.ts +5 -5
- package/src/cfg/generated/_utils/fetchers/cfg__support.ts +12 -12
- package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +10 -10
- package/src/cfg/generated/_utils/fetchers/index.ts +1 -0
- package/src/cfg/generated/_utils/hooks/cfg__knowbase.ts +997 -0
- package/src/cfg/generated/_utils/hooks/index.ts +1 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItem.schema.ts +33 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItemChunk.schema.ts +29 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItemChunkDetail.schema.ts +30 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItemChunkRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItemDetail.schema.ts +35 -0
- package/src/cfg/generated/_utils/schemas/ArchiveItemRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/ArchiveProcessingResult.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/ArchiveSearchRequestRequest.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/ArchiveSearchResult.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/ArchiveStatistics.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/ChatHistory.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/ChatMessage.schema.ts +27 -0
- package/src/cfg/generated/_utils/schemas/ChatQueryRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/ChatResponse.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/ChatResponseRequest.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/ChatSession.schema.ts +29 -0
- package/src/cfg/generated/_utils/schemas/ChatSessionCreateRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/ChatSessionRequest.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/ChatSource.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ChatSourceRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ChunkRevectorizationRequestRequest.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/Document.schema.ts +32 -0
- package/src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts +44 -0
- package/src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts +48 -0
- package/src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts +35 -0
- package/src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/DocumentStats.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/PublicCategory.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/PublicDocument.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/index.ts +52 -0
- package/src/cfg/generated/cfg__accounts/client.ts +1 -1
- package/src/cfg/generated/cfg__accounts__auth/client.ts +1 -1
- package/src/cfg/generated/cfg__accounts__user_profile/client.ts +1 -1
- package/src/cfg/generated/cfg__endpoints/client.ts +1 -1
- package/src/cfg/generated/cfg__health/client.ts +1 -1
- package/src/cfg/generated/cfg__knowbase/client.ts +666 -0
- package/src/cfg/generated/cfg__knowbase/index.ts +2 -0
- package/src/cfg/generated/cfg__knowbase/models.ts +1120 -0
- package/src/cfg/generated/cfg__leads/client.ts +1 -1
- package/src/cfg/generated/cfg__leads__lead_submission/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__bulk_email/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__campaigns/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__logs/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__newsletters/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__subscriptions/client.ts +1 -1
- package/src/cfg/generated/cfg__newsletter__testing/client.ts +1 -1
- package/src/cfg/generated/cfg__payments/client.ts +1 -1
- package/src/cfg/generated/cfg__payments__webhooks/client.ts +1 -1
- package/src/cfg/generated/cfg__support/client.ts +1 -1
- package/src/cfg/generated/cfg__tasks/client.ts +1 -1
- package/src/cfg/generated/client.ts +57 -54
- package/src/cfg/generated/enums.ts +241 -0
- package/src/cfg/generated/index.ts +81 -27
- package/src/cfg/generated/schema.ts +10236 -4400
- package/src/index.ts +4 -1
|
@@ -99,7 +99,7 @@ import type { API } from '../../index'
|
|
|
99
99
|
* @method GET
|
|
100
100
|
* @path /cfg/payments/admin/api/payments/
|
|
101
101
|
*/
|
|
102
|
-
export async function getPaymentsAdminApiPaymentsList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string; user?: number }, client
|
|
102
|
+
export async function getPaymentsAdminApiPaymentsList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string; user?: number }, client?
|
|
103
103
|
): Promise<PaginatedAdminPaymentListList> {
|
|
104
104
|
const api = client || getAPIInstance()
|
|
105
105
|
const response = await api.cfg_payments.adminApiPaymentsList(params?.currency__code, params?.ordering, params?.page, params?.page_size, params?.provider, params?.search, params?.status, params?.user)
|
|
@@ -113,7 +113,7 @@ export async function getPaymentsAdminApiPaymentsList( params?: { currency__cod
|
|
|
113
113
|
* @method POST
|
|
114
114
|
* @path /cfg/payments/admin/api/payments/
|
|
115
115
|
*/
|
|
116
|
-
export async function createPaymentsAdminApiPaymentsCreate( data: AdminPaymentCreateRequest, client
|
|
116
|
+
export async function createPaymentsAdminApiPaymentsCreate( data: AdminPaymentCreateRequest, client?
|
|
117
117
|
): Promise<AdminPaymentCreate> {
|
|
118
118
|
const api = client || getAPIInstance()
|
|
119
119
|
const response = await api.cfg_payments.adminApiPaymentsCreate(data)
|
|
@@ -127,7 +127,7 @@ export async function createPaymentsAdminApiPaymentsCreate( data: AdminPaymentC
|
|
|
127
127
|
* @method GET
|
|
128
128
|
* @path /cfg/payments/admin/api/payments/{id}/
|
|
129
129
|
*/
|
|
130
|
-
export async function getPaymentsAdminApiPaymentsRetrieve( id: string, client
|
|
130
|
+
export async function getPaymentsAdminApiPaymentsRetrieve( id: string, client?
|
|
131
131
|
): Promise<AdminPaymentDetail> {
|
|
132
132
|
const api = client || getAPIInstance()
|
|
133
133
|
const response = await api.cfg_payments.adminApiPaymentsRetrieve(id)
|
|
@@ -141,7 +141,7 @@ export async function getPaymentsAdminApiPaymentsRetrieve( id: string, client?
|
|
|
141
141
|
* @method PUT
|
|
142
142
|
* @path /cfg/payments/admin/api/payments/{id}/
|
|
143
143
|
*/
|
|
144
|
-
export async function updatePaymentsAdminApiPaymentsUpdate( id: string, data: AdminPaymentUpdateRequest, client
|
|
144
|
+
export async function updatePaymentsAdminApiPaymentsUpdate( id: string, data: AdminPaymentUpdateRequest, client?
|
|
145
145
|
): Promise<AdminPaymentUpdate> {
|
|
146
146
|
const api = client || getAPIInstance()
|
|
147
147
|
const response = await api.cfg_payments.adminApiPaymentsUpdate(id, data)
|
|
@@ -155,7 +155,7 @@ export async function updatePaymentsAdminApiPaymentsUpdate( id: string, data: A
|
|
|
155
155
|
* @method PATCH
|
|
156
156
|
* @path /cfg/payments/admin/api/payments/{id}/
|
|
157
157
|
*/
|
|
158
|
-
export async function partialUpdatePaymentsAdminApiPaymentsPartialUpdate( id: string, data?: PatchedAdminPaymentUpdateRequest, client
|
|
158
|
+
export async function partialUpdatePaymentsAdminApiPaymentsPartialUpdate( id: string, data?: PatchedAdminPaymentUpdateRequest, client?
|
|
159
159
|
): Promise<AdminPaymentUpdate> {
|
|
160
160
|
const api = client || getAPIInstance()
|
|
161
161
|
const response = await api.cfg_payments.adminApiPaymentsPartialUpdate(id, data)
|
|
@@ -169,7 +169,7 @@ export async function partialUpdatePaymentsAdminApiPaymentsPartialUpdate( id: s
|
|
|
169
169
|
* @method DELETE
|
|
170
170
|
* @path /cfg/payments/admin/api/payments/{id}/
|
|
171
171
|
*/
|
|
172
|
-
export async function deletePaymentsAdminApiPaymentsDestroy( id: string, client
|
|
172
|
+
export async function deletePaymentsAdminApiPaymentsDestroy( id: string, client?
|
|
173
173
|
): Promise<void> {
|
|
174
174
|
const api = client || getAPIInstance()
|
|
175
175
|
const response = await api.cfg_payments.adminApiPaymentsDestroy(id)
|
|
@@ -183,7 +183,7 @@ export async function deletePaymentsAdminApiPaymentsDestroy( id: string, clien
|
|
|
183
183
|
* @method POST
|
|
184
184
|
* @path /cfg/payments/admin/api/payments/{id}/cancel/
|
|
185
185
|
*/
|
|
186
|
-
export async function createPaymentsAdminApiPaymentsCancelCreate( id: string, client
|
|
186
|
+
export async function createPaymentsAdminApiPaymentsCancelCreate( id: string, client?
|
|
187
187
|
): Promise<AdminPaymentDetail> {
|
|
188
188
|
const api = client || getAPIInstance()
|
|
189
189
|
const response = await api.cfg_payments.adminApiPaymentsCancelCreate(id)
|
|
@@ -197,7 +197,7 @@ export async function createPaymentsAdminApiPaymentsCancelCreate( id: string,
|
|
|
197
197
|
* @method POST
|
|
198
198
|
* @path /cfg/payments/admin/api/payments/{id}/refresh_status/
|
|
199
199
|
*/
|
|
200
|
-
export async function createPaymentsAdminApiPaymentsRefreshStatusCreate( id: string, client
|
|
200
|
+
export async function createPaymentsAdminApiPaymentsRefreshStatusCreate( id: string, client?
|
|
201
201
|
): Promise<AdminPaymentDetail> {
|
|
202
202
|
const api = client || getAPIInstance()
|
|
203
203
|
const response = await api.cfg_payments.adminApiPaymentsRefreshStatusCreate(id)
|
|
@@ -211,7 +211,7 @@ export async function createPaymentsAdminApiPaymentsRefreshStatusCreate( id: st
|
|
|
211
211
|
* @method POST
|
|
212
212
|
* @path /cfg/payments/admin/api/payments/{id}/refund/
|
|
213
213
|
*/
|
|
214
|
-
export async function createPaymentsAdminApiPaymentsRefundCreate( id: string, client
|
|
214
|
+
export async function createPaymentsAdminApiPaymentsRefundCreate( id: string, client?
|
|
215
215
|
): Promise<AdminPaymentDetail> {
|
|
216
216
|
const api = client || getAPIInstance()
|
|
217
217
|
const response = await api.cfg_payments.adminApiPaymentsRefundCreate(id)
|
|
@@ -225,7 +225,7 @@ export async function createPaymentsAdminApiPaymentsRefundCreate( id: string,
|
|
|
225
225
|
* @method GET
|
|
226
226
|
* @path /cfg/payments/admin/api/payments/stats/
|
|
227
227
|
*/
|
|
228
|
-
export async function getPaymentsAdminApiPaymentsStatsRetrieve( client
|
|
228
|
+
export async function getPaymentsAdminApiPaymentsStatsRetrieve( client?
|
|
229
229
|
): Promise<AdminPaymentStats> {
|
|
230
230
|
const api = client || getAPIInstance()
|
|
231
231
|
const response = await api.cfg_payments.adminApiPaymentsStatsRetrieve()
|
|
@@ -239,7 +239,7 @@ export async function getPaymentsAdminApiPaymentsStatsRetrieve( client?: API
|
|
|
239
239
|
* @method GET
|
|
240
240
|
* @path /cfg/payments/admin/api/stats/
|
|
241
241
|
*/
|
|
242
|
-
export async function getPaymentsAdminApiStatsList( params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
242
|
+
export async function getPaymentsAdminApiStatsList( params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
243
243
|
): Promise<PaginatedAdminPaymentStatsList> {
|
|
244
244
|
const api = client || getAPIInstance()
|
|
245
245
|
const response = await api.cfg_payments.adminApiStatsList(params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -253,7 +253,7 @@ export async function getPaymentsAdminApiStatsList( params?: { ordering?: strin
|
|
|
253
253
|
* @method GET
|
|
254
254
|
* @path /cfg/payments/admin/api/stats/{id}/
|
|
255
255
|
*/
|
|
256
|
-
export async function getPaymentsAdminApiStatsRetrieve( id: string, client
|
|
256
|
+
export async function getPaymentsAdminApiStatsRetrieve( id: string, client?
|
|
257
257
|
): Promise<AdminPaymentStats> {
|
|
258
258
|
const api = client || getAPIInstance()
|
|
259
259
|
const response = await api.cfg_payments.adminApiStatsRetrieve(id)
|
|
@@ -267,7 +267,7 @@ export async function getPaymentsAdminApiStatsRetrieve( id: string, client?: A
|
|
|
267
267
|
* @method GET
|
|
268
268
|
* @path /cfg/payments/admin/api/stats/payments/
|
|
269
269
|
*/
|
|
270
|
-
export async function getPaymentsAdminApiStatsPaymentsRetrieve( client
|
|
270
|
+
export async function getPaymentsAdminApiStatsPaymentsRetrieve( client?
|
|
271
271
|
): Promise<AdminPaymentStats> {
|
|
272
272
|
const api = client || getAPIInstance()
|
|
273
273
|
const response = await api.cfg_payments.adminApiStatsPaymentsRetrieve()
|
|
@@ -281,7 +281,7 @@ export async function getPaymentsAdminApiStatsPaymentsRetrieve( client?: API
|
|
|
281
281
|
* @method GET
|
|
282
282
|
* @path /cfg/payments/admin/api/stats/system/
|
|
283
283
|
*/
|
|
284
|
-
export async function getPaymentsAdminApiStatsSystemRetrieve( client
|
|
284
|
+
export async function getPaymentsAdminApiStatsSystemRetrieve( client?
|
|
285
285
|
): Promise<AdminPaymentStats> {
|
|
286
286
|
const api = client || getAPIInstance()
|
|
287
287
|
const response = await api.cfg_payments.adminApiStatsSystemRetrieve()
|
|
@@ -295,7 +295,7 @@ export async function getPaymentsAdminApiStatsSystemRetrieve( client?: API
|
|
|
295
295
|
* @method GET
|
|
296
296
|
* @path /cfg/payments/admin/api/stats/webhooks/
|
|
297
297
|
*/
|
|
298
|
-
export async function getPaymentsAdminApiStatsWebhooksRetrieve( client
|
|
298
|
+
export async function getPaymentsAdminApiStatsWebhooksRetrieve( client?
|
|
299
299
|
): Promise<AdminPaymentStats> {
|
|
300
300
|
const api = client || getAPIInstance()
|
|
301
301
|
const response = await api.cfg_payments.adminApiStatsWebhooksRetrieve()
|
|
@@ -309,7 +309,7 @@ export async function getPaymentsAdminApiStatsWebhooksRetrieve( client?: API
|
|
|
309
309
|
* @method GET
|
|
310
310
|
* @path /cfg/payments/admin/api/users/
|
|
311
311
|
*/
|
|
312
|
-
export async function getPaymentsAdminApiUsersList( params?: { is_active?: boolean; is_staff?: boolean; is_superuser?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
312
|
+
export async function getPaymentsAdminApiUsersList( params?: { is_active?: boolean; is_staff?: boolean; is_superuser?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
313
313
|
): Promise<PaginatedAdminUserList> {
|
|
314
314
|
const api = client || getAPIInstance()
|
|
315
315
|
const response = await api.cfg_payments.adminApiUsersList(params?.is_active, params?.is_staff, params?.is_superuser, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -323,7 +323,7 @@ export async function getPaymentsAdminApiUsersList( params?: { is_active?: bool
|
|
|
323
323
|
* @method GET
|
|
324
324
|
* @path /cfg/payments/admin/api/users/{id}/
|
|
325
325
|
*/
|
|
326
|
-
export async function getPaymentsAdminApiUsersRetrieve( id: number, client
|
|
326
|
+
export async function getPaymentsAdminApiUsersRetrieve( id: number, client?
|
|
327
327
|
): Promise<AdminUser> {
|
|
328
328
|
const api = client || getAPIInstance()
|
|
329
329
|
const response = await api.cfg_payments.adminApiUsersRetrieve(id)
|
|
@@ -337,7 +337,7 @@ export async function getPaymentsAdminApiUsersRetrieve( id: number, client?: A
|
|
|
337
337
|
* @method POST
|
|
338
338
|
* @path /cfg/payments/admin/api/webhook-test/test/
|
|
339
339
|
*/
|
|
340
|
-
export async function createPaymentsAdminApiWebhookTestTestCreate( data: WebhookStatsRequest, client
|
|
340
|
+
export async function createPaymentsAdminApiWebhookTestTestCreate( data: WebhookStatsRequest, client?
|
|
341
341
|
): Promise<WebhookStats> {
|
|
342
342
|
const api = client || getAPIInstance()
|
|
343
343
|
const response = await api.cfg_payments.adminApiWebhookTestTestCreate(data)
|
|
@@ -351,7 +351,7 @@ export async function createPaymentsAdminApiWebhookTestTestCreate( data: Webhoo
|
|
|
351
351
|
* @method GET
|
|
352
352
|
* @path /cfg/payments/admin/api/webhooks/
|
|
353
353
|
*/
|
|
354
|
-
export async function getPaymentsAdminApiWebhooksList( params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
354
|
+
export async function getPaymentsAdminApiWebhooksList( params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
355
355
|
): Promise<PaginatedWebhookStatsList> {
|
|
356
356
|
const api = client || getAPIInstance()
|
|
357
357
|
const response = await api.cfg_payments.adminApiWebhooksList(params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -365,7 +365,7 @@ export async function getPaymentsAdminApiWebhooksList( params?: { ordering?: st
|
|
|
365
365
|
* @method GET
|
|
366
366
|
* @path /cfg/payments/admin/api/webhooks/{id}/
|
|
367
367
|
*/
|
|
368
|
-
export async function getPaymentsAdminApiWebhooksRetrieve( id: string, client
|
|
368
|
+
export async function getPaymentsAdminApiWebhooksRetrieve( id: string, client?
|
|
369
369
|
): Promise<WebhookStats> {
|
|
370
370
|
const api = client || getAPIInstance()
|
|
371
371
|
const response = await api.cfg_payments.adminApiWebhooksRetrieve(id)
|
|
@@ -379,7 +379,7 @@ export async function getPaymentsAdminApiWebhooksRetrieve( id: string, client?
|
|
|
379
379
|
* @method GET
|
|
380
380
|
* @path /cfg/payments/admin/api/webhooks/{webhook_pk}/events/
|
|
381
381
|
*/
|
|
382
|
-
export async function getPaymentsAdminApiWebhooksEventsList( webhook_pk: string, params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
382
|
+
export async function getPaymentsAdminApiWebhooksEventsList( webhook_pk: string, params?: { ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
383
383
|
): Promise<PaginatedWebhookEventListList> {
|
|
384
384
|
const api = client || getAPIInstance()
|
|
385
385
|
const response = await api.cfg_payments.adminApiWebhooksEventsList(webhook_pk, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -393,7 +393,7 @@ export async function getPaymentsAdminApiWebhooksEventsList( webhook_pk: string
|
|
|
393
393
|
* @method GET
|
|
394
394
|
* @path /cfg/payments/admin/api/webhooks/{webhook_pk}/events/{id}/
|
|
395
395
|
*/
|
|
396
|
-
export async function getPaymentsAdminApiWebhooksEventsRetrieve( id: string, webhook_pk: string, client
|
|
396
|
+
export async function getPaymentsAdminApiWebhooksEventsRetrieve( id: string, webhook_pk: string, client?
|
|
397
397
|
): Promise<WebhookEventList> {
|
|
398
398
|
const api = client || getAPIInstance()
|
|
399
399
|
const response = await api.cfg_payments.adminApiWebhooksEventsRetrieve(id, webhook_pk)
|
|
@@ -407,7 +407,7 @@ export async function getPaymentsAdminApiWebhooksEventsRetrieve( id: string, we
|
|
|
407
407
|
* @method POST
|
|
408
408
|
* @path /cfg/payments/admin/api/webhooks/{webhook_pk}/events/{id}/retry/
|
|
409
409
|
*/
|
|
410
|
-
export async function createPaymentsAdminApiWebhooksEventsRetryCreate( id: string, webhook_pk: string, data: WebhookEventListRequest, client
|
|
410
|
+
export async function createPaymentsAdminApiWebhooksEventsRetryCreate( id: string, webhook_pk: string, data: WebhookEventListRequest, client?
|
|
411
411
|
): Promise<WebhookEventList> {
|
|
412
412
|
const api = client || getAPIInstance()
|
|
413
413
|
const response = await api.cfg_payments.adminApiWebhooksEventsRetryCreate(id, webhook_pk, data)
|
|
@@ -421,7 +421,7 @@ export async function createPaymentsAdminApiWebhooksEventsRetryCreate( id: stri
|
|
|
421
421
|
* @method POST
|
|
422
422
|
* @path /cfg/payments/admin/api/webhooks/{webhook_pk}/events/clear_all/
|
|
423
423
|
*/
|
|
424
|
-
export async function createPaymentsAdminApiWebhooksEventsClearAllCreate( webhook_pk: string, data: WebhookEventListRequest, client
|
|
424
|
+
export async function createPaymentsAdminApiWebhooksEventsClearAllCreate( webhook_pk: string, data: WebhookEventListRequest, client?
|
|
425
425
|
): Promise<WebhookEventList> {
|
|
426
426
|
const api = client || getAPIInstance()
|
|
427
427
|
const response = await api.cfg_payments.adminApiWebhooksEventsClearAllCreate(webhook_pk, data)
|
|
@@ -435,7 +435,7 @@ export async function createPaymentsAdminApiWebhooksEventsClearAllCreate( webho
|
|
|
435
435
|
* @method POST
|
|
436
436
|
* @path /cfg/payments/admin/api/webhooks/{webhook_pk}/events/retry_failed/
|
|
437
437
|
*/
|
|
438
|
-
export async function createPaymentsAdminApiWebhooksEventsRetryFailedCreate( webhook_pk: string, data: WebhookEventListRequest, client
|
|
438
|
+
export async function createPaymentsAdminApiWebhooksEventsRetryFailedCreate( webhook_pk: string, data: WebhookEventListRequest, client?
|
|
439
439
|
): Promise<WebhookEventList> {
|
|
440
440
|
const api = client || getAPIInstance()
|
|
441
441
|
const response = await api.cfg_payments.adminApiWebhooksEventsRetryFailedCreate(webhook_pk, data)
|
|
@@ -449,7 +449,7 @@ export async function createPaymentsAdminApiWebhooksEventsRetryFailedCreate( we
|
|
|
449
449
|
* @method GET
|
|
450
450
|
* @path /cfg/payments/admin/api/webhooks/stats/
|
|
451
451
|
*/
|
|
452
|
-
export async function getPaymentsAdminApiWebhooksStatsRetrieve( client
|
|
452
|
+
export async function getPaymentsAdminApiWebhooksStatsRetrieve( client?
|
|
453
453
|
): Promise<WebhookStats> {
|
|
454
454
|
const api = client || getAPIInstance()
|
|
455
455
|
const response = await api.cfg_payments.adminApiWebhooksStatsRetrieve()
|
|
@@ -463,7 +463,7 @@ export async function getPaymentsAdminApiWebhooksStatsRetrieve( client?: API
|
|
|
463
463
|
* @method GET
|
|
464
464
|
* @path /cfg/payments/api-keys/
|
|
465
465
|
*/
|
|
466
|
-
export async function getPaymentsApiKeysList( params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string; user?: number }, client
|
|
466
|
+
export async function getPaymentsApiKeysList( params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string; user?: number }, client?
|
|
467
467
|
): Promise<PaginatedAPIKeyListList> {
|
|
468
468
|
const api = client || getAPIInstance()
|
|
469
469
|
const response = await api.cfg_payments.apiKeysList(params?.is_active, params?.ordering, params?.page, params?.page_size, params?.search, params?.user)
|
|
@@ -477,7 +477,7 @@ export async function getPaymentsApiKeysList( params?: { is_active?: boolean; o
|
|
|
477
477
|
* @method POST
|
|
478
478
|
* @path /cfg/payments/api-keys/
|
|
479
479
|
*/
|
|
480
|
-
export async function createPaymentsApiKeysCreate( data: APIKeyCreateRequest, client
|
|
480
|
+
export async function createPaymentsApiKeysCreate( data: APIKeyCreateRequest, client?
|
|
481
481
|
): Promise<APIKeyCreate> {
|
|
482
482
|
const api = client || getAPIInstance()
|
|
483
483
|
const response = await api.cfg_payments.apiKeysCreate(data)
|
|
@@ -491,7 +491,7 @@ export async function createPaymentsApiKeysCreate( data: APIKeyCreateRequest,
|
|
|
491
491
|
* @method GET
|
|
492
492
|
* @path /cfg/payments/api-keys/{id}/
|
|
493
493
|
*/
|
|
494
|
-
export async function getPaymentsApiKeysRetrieve( id: string, client
|
|
494
|
+
export async function getPaymentsApiKeysRetrieve( id: string, client?
|
|
495
495
|
): Promise<APIKeyDetail> {
|
|
496
496
|
const api = client || getAPIInstance()
|
|
497
497
|
const response = await api.cfg_payments.apiKeysRetrieve(id)
|
|
@@ -505,7 +505,7 @@ export async function getPaymentsApiKeysRetrieve( id: string, client?: API
|
|
|
505
505
|
* @method PUT
|
|
506
506
|
* @path /cfg/payments/api-keys/{id}/
|
|
507
507
|
*/
|
|
508
|
-
export async function updatePaymentsApiKeysUpdate( id: string, data: APIKeyUpdateRequest, client
|
|
508
|
+
export async function updatePaymentsApiKeysUpdate( id: string, data: APIKeyUpdateRequest, client?
|
|
509
509
|
): Promise<APIKeyUpdate> {
|
|
510
510
|
const api = client || getAPIInstance()
|
|
511
511
|
const response = await api.cfg_payments.apiKeysUpdate(id, data)
|
|
@@ -519,7 +519,7 @@ export async function updatePaymentsApiKeysUpdate( id: string, data: APIKeyUpda
|
|
|
519
519
|
* @method PATCH
|
|
520
520
|
* @path /cfg/payments/api-keys/{id}/
|
|
521
521
|
*/
|
|
522
|
-
export async function partialUpdatePaymentsApiKeysPartialUpdate( id: string, data?: PatchedAPIKeyUpdateRequest, client
|
|
522
|
+
export async function partialUpdatePaymentsApiKeysPartialUpdate( id: string, data?: PatchedAPIKeyUpdateRequest, client?
|
|
523
523
|
): Promise<APIKeyUpdate> {
|
|
524
524
|
const api = client || getAPIInstance()
|
|
525
525
|
const response = await api.cfg_payments.apiKeysPartialUpdate(id, data)
|
|
@@ -533,7 +533,7 @@ export async function partialUpdatePaymentsApiKeysPartialUpdate( id: string, da
|
|
|
533
533
|
* @method DELETE
|
|
534
534
|
* @path /cfg/payments/api-keys/{id}/
|
|
535
535
|
*/
|
|
536
|
-
export async function deletePaymentsApiKeysDestroy( id: string, client
|
|
536
|
+
export async function deletePaymentsApiKeysDestroy( id: string, client?
|
|
537
537
|
): Promise<void> {
|
|
538
538
|
const api = client || getAPIInstance()
|
|
539
539
|
const response = await api.cfg_payments.apiKeysDestroy(id)
|
|
@@ -547,7 +547,7 @@ export async function deletePaymentsApiKeysDestroy( id: string, client?: API
|
|
|
547
547
|
* @method POST
|
|
548
548
|
* @path /cfg/payments/api-keys/{id}/perform_action/
|
|
549
549
|
*/
|
|
550
|
-
export async function createPaymentsApiKeysPerformActionCreate( id: string, client
|
|
550
|
+
export async function createPaymentsApiKeysPerformActionCreate( id: string, client?
|
|
551
551
|
): Promise<APIKeyDetail> {
|
|
552
552
|
const api = client || getAPIInstance()
|
|
553
553
|
const response = await api.cfg_payments.apiKeysPerformActionCreate(id)
|
|
@@ -561,7 +561,7 @@ export async function createPaymentsApiKeysPerformActionCreate( id: string, cl
|
|
|
561
561
|
* @method GET
|
|
562
562
|
* @path /cfg/payments/api-keys/analytics/
|
|
563
563
|
*/
|
|
564
|
-
export async function getPaymentsApiKeysAnalyticsRetrieve( client
|
|
564
|
+
export async function getPaymentsApiKeysAnalyticsRetrieve( client?
|
|
565
565
|
): Promise<APIKeyDetail> {
|
|
566
566
|
const api = client || getAPIInstance()
|
|
567
567
|
const response = await api.cfg_payments.apiKeysAnalyticsRetrieve()
|
|
@@ -575,7 +575,7 @@ export async function getPaymentsApiKeysAnalyticsRetrieve( client?: API
|
|
|
575
575
|
* @method GET
|
|
576
576
|
* @path /cfg/payments/api-keys/by_user/
|
|
577
577
|
*/
|
|
578
|
-
export async function getPaymentsApiKeysByUserRetrieve( client
|
|
578
|
+
export async function getPaymentsApiKeysByUserRetrieve( client?
|
|
579
579
|
): Promise<APIKeyDetail> {
|
|
580
580
|
const api = client || getAPIInstance()
|
|
581
581
|
const response = await api.cfg_payments.apiKeysByUserRetrieve()
|
|
@@ -589,7 +589,7 @@ export async function getPaymentsApiKeysByUserRetrieve( client?: API
|
|
|
589
589
|
* @method POST
|
|
590
590
|
* @path /cfg/payments/api-keys/create/
|
|
591
591
|
*/
|
|
592
|
-
export async function createPaymentsApiKeysCreateCreate( data: APIKeyCreateRequest, client
|
|
592
|
+
export async function createPaymentsApiKeysCreateCreate( data: APIKeyCreateRequest, client?
|
|
593
593
|
): Promise<APIKeyCreate> {
|
|
594
594
|
const api = client || getAPIInstance()
|
|
595
595
|
const response = await api.cfg_payments.apiKeysCreateCreate(data)
|
|
@@ -603,7 +603,7 @@ export async function createPaymentsApiKeysCreateCreate( data: APIKeyCreateRequ
|
|
|
603
603
|
* @method GET
|
|
604
604
|
* @path /cfg/payments/api-keys/expiring_soon/
|
|
605
605
|
*/
|
|
606
|
-
export async function getPaymentsApiKeysExpiringSoonRetrieve( client
|
|
606
|
+
export async function getPaymentsApiKeysExpiringSoonRetrieve( client?
|
|
607
607
|
): Promise<APIKeyDetail> {
|
|
608
608
|
const api = client || getAPIInstance()
|
|
609
609
|
const response = await api.cfg_payments.apiKeysExpiringSoonRetrieve()
|
|
@@ -617,7 +617,7 @@ export async function getPaymentsApiKeysExpiringSoonRetrieve( client?: API
|
|
|
617
617
|
* @method GET
|
|
618
618
|
* @path /cfg/payments/api-keys/health/
|
|
619
619
|
*/
|
|
620
|
-
export async function getPaymentsApiKeysHealthRetrieve( client
|
|
620
|
+
export async function getPaymentsApiKeysHealthRetrieve( client?
|
|
621
621
|
): Promise<APIKeyDetail> {
|
|
622
622
|
const api = client || getAPIInstance()
|
|
623
623
|
const response = await api.cfg_payments.apiKeysHealthRetrieve()
|
|
@@ -631,7 +631,7 @@ export async function getPaymentsApiKeysHealthRetrieve( client?: API
|
|
|
631
631
|
* @method GET
|
|
632
632
|
* @path /cfg/payments/api-keys/stats/
|
|
633
633
|
*/
|
|
634
|
-
export async function getPaymentsApiKeysStatsRetrieve( client
|
|
634
|
+
export async function getPaymentsApiKeysStatsRetrieve( client?
|
|
635
635
|
): Promise<APIKeyDetail> {
|
|
636
636
|
const api = client || getAPIInstance()
|
|
637
637
|
const response = await api.cfg_payments.apiKeysStatsRetrieve()
|
|
@@ -645,7 +645,7 @@ export async function getPaymentsApiKeysStatsRetrieve( client?: API
|
|
|
645
645
|
* @method POST
|
|
646
646
|
* @path /cfg/payments/api-keys/validate/
|
|
647
647
|
*/
|
|
648
|
-
export async function createPaymentsApiKeysValidateCreate( data: APIKeyValidationRequest, client
|
|
648
|
+
export async function createPaymentsApiKeysValidateCreate( data: APIKeyValidationRequest, client?
|
|
649
649
|
): Promise<APIKeyValidationResponse> {
|
|
650
650
|
const api = client || getAPIInstance()
|
|
651
651
|
const response = await api.cfg_payments.apiKeysValidateCreate(data)
|
|
@@ -659,7 +659,7 @@ export async function createPaymentsApiKeysValidateCreate( data: APIKeyValidati
|
|
|
659
659
|
* @method POST
|
|
660
660
|
* @path /cfg/payments/api-keys/validate_key/
|
|
661
661
|
*/
|
|
662
|
-
export async function createPaymentsApiKeysValidateKeyCreate( data: APIKeyValidationRequest, client
|
|
662
|
+
export async function createPaymentsApiKeysValidateKeyCreate( data: APIKeyValidationRequest, client?
|
|
663
663
|
): Promise<APIKeyValidationResponse> {
|
|
664
664
|
const api = client || getAPIInstance()
|
|
665
665
|
const response = await api.cfg_payments.apiKeysValidateKeyCreate(data)
|
|
@@ -673,7 +673,7 @@ export async function createPaymentsApiKeysValidateKeyCreate( data: APIKeyValid
|
|
|
673
673
|
* @method GET
|
|
674
674
|
* @path /cfg/payments/balances/
|
|
675
675
|
*/
|
|
676
|
-
export async function getPaymentsBalancesList( params?: { ordering?: string; page?: number; page_size?: number; search?: string; user?: number }, client
|
|
676
|
+
export async function getPaymentsBalancesList( params?: { ordering?: string; page?: number; page_size?: number; search?: string; user?: number }, client?
|
|
677
677
|
): Promise<PaginatedUserBalanceList> {
|
|
678
678
|
const api = client || getAPIInstance()
|
|
679
679
|
const response = await api.cfg_payments.balancesList(params?.ordering, params?.page, params?.page_size, params?.search, params?.user)
|
|
@@ -687,7 +687,7 @@ export async function getPaymentsBalancesList( params?: { ordering?: string; pa
|
|
|
687
687
|
* @method GET
|
|
688
688
|
* @path /cfg/payments/balances/{id}/
|
|
689
689
|
*/
|
|
690
|
-
export async function getPaymentsBalancesRetrieve( id: number, client
|
|
690
|
+
export async function getPaymentsBalancesRetrieve( id: number, client?
|
|
691
691
|
): Promise<UserBalance> {
|
|
692
692
|
const api = client || getAPIInstance()
|
|
693
693
|
const response = await api.cfg_payments.balancesRetrieve(id)
|
|
@@ -701,7 +701,7 @@ export async function getPaymentsBalancesRetrieve( id: number, client?: API
|
|
|
701
701
|
* @method GET
|
|
702
702
|
* @path /cfg/payments/balances/analytics/
|
|
703
703
|
*/
|
|
704
|
-
export async function getPaymentsBalancesAnalyticsRetrieve( client
|
|
704
|
+
export async function getPaymentsBalancesAnalyticsRetrieve( client?
|
|
705
705
|
): Promise<UserBalance> {
|
|
706
706
|
const api = client || getAPIInstance()
|
|
707
707
|
const response = await api.cfg_payments.balancesAnalyticsRetrieve()
|
|
@@ -715,7 +715,7 @@ export async function getPaymentsBalancesAnalyticsRetrieve( client?: API
|
|
|
715
715
|
* @method GET
|
|
716
716
|
* @path /cfg/payments/balances/health/
|
|
717
717
|
*/
|
|
718
|
-
export async function getPaymentsBalancesHealthRetrieve( client
|
|
718
|
+
export async function getPaymentsBalancesHealthRetrieve( client?
|
|
719
719
|
): Promise<UserBalance> {
|
|
720
720
|
const api = client || getAPIInstance()
|
|
721
721
|
const response = await api.cfg_payments.balancesHealthRetrieve()
|
|
@@ -729,7 +729,7 @@ export async function getPaymentsBalancesHealthRetrieve( client?: API
|
|
|
729
729
|
* @method GET
|
|
730
730
|
* @path /cfg/payments/balances/stats/
|
|
731
731
|
*/
|
|
732
|
-
export async function getPaymentsBalancesStatsRetrieve( client
|
|
732
|
+
export async function getPaymentsBalancesStatsRetrieve( client?
|
|
733
733
|
): Promise<UserBalance> {
|
|
734
734
|
const api = client || getAPIInstance()
|
|
735
735
|
const response = await api.cfg_payments.balancesStatsRetrieve()
|
|
@@ -743,7 +743,7 @@ export async function getPaymentsBalancesStatsRetrieve( client?: API
|
|
|
743
743
|
* @method GET
|
|
744
744
|
* @path /cfg/payments/balances/summary/
|
|
745
745
|
*/
|
|
746
|
-
export async function getPaymentsBalancesSummaryRetrieve( client
|
|
746
|
+
export async function getPaymentsBalancesSummaryRetrieve( client?
|
|
747
747
|
): Promise<UserBalance> {
|
|
748
748
|
const api = client || getAPIInstance()
|
|
749
749
|
const response = await api.cfg_payments.balancesSummaryRetrieve()
|
|
@@ -757,7 +757,7 @@ export async function getPaymentsBalancesSummaryRetrieve( client?: API
|
|
|
757
757
|
* @method GET
|
|
758
758
|
* @path /cfg/payments/currencies/
|
|
759
759
|
*/
|
|
760
|
-
export async function getPaymentsCurrenciesList( params?: { currency_type?: string; is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
760
|
+
export async function getPaymentsCurrenciesList( params?: { currency_type?: string; is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
761
761
|
): Promise<PaginatedCurrencyListList> {
|
|
762
762
|
const api = client || getAPIInstance()
|
|
763
763
|
const response = await api.cfg_payments.currenciesList(params?.currency_type, params?.is_active, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -771,7 +771,7 @@ export async function getPaymentsCurrenciesList( params?: { currency_type?: str
|
|
|
771
771
|
* @method POST
|
|
772
772
|
* @path /cfg/payments/currencies/
|
|
773
773
|
*/
|
|
774
|
-
export async function createPaymentsCurrenciesCreate( client
|
|
774
|
+
export async function createPaymentsCurrenciesCreate( client?
|
|
775
775
|
): Promise<Currency> {
|
|
776
776
|
const api = client || getAPIInstance()
|
|
777
777
|
const response = await api.cfg_payments.currenciesCreate()
|
|
@@ -785,7 +785,7 @@ export async function createPaymentsCurrenciesCreate( client?: API
|
|
|
785
785
|
* @method GET
|
|
786
786
|
* @path /cfg/payments/currencies/{id}/
|
|
787
787
|
*/
|
|
788
|
-
export async function getPaymentsCurrenciesRetrieve( id: number, client
|
|
788
|
+
export async function getPaymentsCurrenciesRetrieve( id: number, client?
|
|
789
789
|
): Promise<Currency> {
|
|
790
790
|
const api = client || getAPIInstance()
|
|
791
791
|
const response = await api.cfg_payments.currenciesRetrieve(id)
|
|
@@ -799,7 +799,7 @@ export async function getPaymentsCurrenciesRetrieve( id: number, client?: API
|
|
|
799
799
|
* @method GET
|
|
800
800
|
* @path /cfg/payments/currencies/{id}/networks/
|
|
801
801
|
*/
|
|
802
|
-
export async function getPaymentsCurrenciesNetworksRetrieve( id: number, client
|
|
802
|
+
export async function getPaymentsCurrenciesNetworksRetrieve( id: number, client?
|
|
803
803
|
): Promise<Currency> {
|
|
804
804
|
const api = client || getAPIInstance()
|
|
805
805
|
const response = await api.cfg_payments.currenciesNetworksRetrieve(id)
|
|
@@ -813,7 +813,7 @@ export async function getPaymentsCurrenciesNetworksRetrieve( id: number, clien
|
|
|
813
813
|
* @method GET
|
|
814
814
|
* @path /cfg/payments/currencies/{id}/providers/
|
|
815
815
|
*/
|
|
816
|
-
export async function getPaymentsCurrenciesProvidersRetrieve( id: number, client
|
|
816
|
+
export async function getPaymentsCurrenciesProvidersRetrieve( id: number, client?
|
|
817
817
|
): Promise<Currency> {
|
|
818
818
|
const api = client || getAPIInstance()
|
|
819
819
|
const response = await api.cfg_payments.currenciesProvidersRetrieve(id)
|
|
@@ -827,7 +827,7 @@ export async function getPaymentsCurrenciesProvidersRetrieve( id: number, clie
|
|
|
827
827
|
* @method POST
|
|
828
828
|
* @path /cfg/payments/currencies/convert/
|
|
829
829
|
*/
|
|
830
|
-
export async function createPaymentsCurrenciesConvertCreate( client
|
|
830
|
+
export async function createPaymentsCurrenciesConvertCreate( client?
|
|
831
831
|
): Promise<Currency> {
|
|
832
832
|
const api = client || getAPIInstance()
|
|
833
833
|
const response = await api.cfg_payments.currenciesConvertCreate()
|
|
@@ -841,7 +841,7 @@ export async function createPaymentsCurrenciesConvertCreate( client?: API
|
|
|
841
841
|
* @method GET
|
|
842
842
|
* @path /cfg/payments/currencies/crypto/
|
|
843
843
|
*/
|
|
844
|
-
export async function getPaymentsCurrenciesCryptoRetrieve( client
|
|
844
|
+
export async function getPaymentsCurrenciesCryptoRetrieve( client?
|
|
845
845
|
): Promise<Currency> {
|
|
846
846
|
const api = client || getAPIInstance()
|
|
847
847
|
const response = await api.cfg_payments.currenciesCryptoRetrieve()
|
|
@@ -855,7 +855,7 @@ export async function getPaymentsCurrenciesCryptoRetrieve( client?: API
|
|
|
855
855
|
* @method GET
|
|
856
856
|
* @path /cfg/payments/currencies/fiat/
|
|
857
857
|
*/
|
|
858
|
-
export async function getPaymentsCurrenciesFiatRetrieve( client
|
|
858
|
+
export async function getPaymentsCurrenciesFiatRetrieve( client?
|
|
859
859
|
): Promise<Currency> {
|
|
860
860
|
const api = client || getAPIInstance()
|
|
861
861
|
const response = await api.cfg_payments.currenciesFiatRetrieve()
|
|
@@ -869,7 +869,7 @@ export async function getPaymentsCurrenciesFiatRetrieve( client?: API
|
|
|
869
869
|
* @method GET
|
|
870
870
|
* @path /cfg/payments/currencies/health/
|
|
871
871
|
*/
|
|
872
|
-
export async function getPaymentsCurrenciesHealthRetrieve( client
|
|
872
|
+
export async function getPaymentsCurrenciesHealthRetrieve( client?
|
|
873
873
|
): Promise<Currency> {
|
|
874
874
|
const api = client || getAPIInstance()
|
|
875
875
|
const response = await api.cfg_payments.currenciesHealthRetrieve()
|
|
@@ -883,7 +883,7 @@ export async function getPaymentsCurrenciesHealthRetrieve( client?: API
|
|
|
883
883
|
* @method GET
|
|
884
884
|
* @path /cfg/payments/currencies/rates/
|
|
885
885
|
*/
|
|
886
|
-
export async function getPaymentsCurrenciesRatesRetrieve( params: { base_currency: string; currencies: string }, client
|
|
886
|
+
export async function getPaymentsCurrenciesRatesRetrieve( params: { base_currency: string; currencies: string }, client?
|
|
887
887
|
): Promise<Currency> {
|
|
888
888
|
const api = client || getAPIInstance()
|
|
889
889
|
const response = await api.cfg_payments.currenciesRatesRetrieve(params.base_currency, params.currencies)
|
|
@@ -897,7 +897,7 @@ export async function getPaymentsCurrenciesRatesRetrieve( params: { base_curren
|
|
|
897
897
|
* @method GET
|
|
898
898
|
* @path /cfg/payments/currencies/stable/
|
|
899
899
|
*/
|
|
900
|
-
export async function getPaymentsCurrenciesStableRetrieve( client
|
|
900
|
+
export async function getPaymentsCurrenciesStableRetrieve( client?
|
|
901
901
|
): Promise<Currency> {
|
|
902
902
|
const api = client || getAPIInstance()
|
|
903
903
|
const response = await api.cfg_payments.currenciesStableRetrieve()
|
|
@@ -911,7 +911,7 @@ export async function getPaymentsCurrenciesStableRetrieve( client?: API
|
|
|
911
911
|
* @method GET
|
|
912
912
|
* @path /cfg/payments/currencies/stats/
|
|
913
913
|
*/
|
|
914
|
-
export async function getPaymentsCurrenciesStatsRetrieve( client
|
|
914
|
+
export async function getPaymentsCurrenciesStatsRetrieve( client?
|
|
915
915
|
): Promise<Currency> {
|
|
916
916
|
const api = client || getAPIInstance()
|
|
917
917
|
const response = await api.cfg_payments.currenciesStatsRetrieve()
|
|
@@ -925,7 +925,7 @@ export async function getPaymentsCurrenciesStatsRetrieve( client?: API
|
|
|
925
925
|
* @method GET
|
|
926
926
|
* @path /cfg/payments/currencies/supported/
|
|
927
927
|
*/
|
|
928
|
-
export async function getPaymentsCurrenciesSupportedRetrieve( params?: { currency_type?: string; provider?: string }, client
|
|
928
|
+
export async function getPaymentsCurrenciesSupportedRetrieve( params?: { currency_type?: string; provider?: string }, client?
|
|
929
929
|
): Promise<Currency> {
|
|
930
930
|
const api = client || getAPIInstance()
|
|
931
931
|
const response = await api.cfg_payments.currenciesSupportedRetrieve(params?.currency_type, params?.provider)
|
|
@@ -939,7 +939,7 @@ export async function getPaymentsCurrenciesSupportedRetrieve( params?: { curren
|
|
|
939
939
|
* @method GET
|
|
940
940
|
* @path /cfg/payments/endpoint-groups/
|
|
941
941
|
*/
|
|
942
|
-
export async function getPaymentsEndpointGroupsList( params?: { is_enabled?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
942
|
+
export async function getPaymentsEndpointGroupsList( params?: { is_enabled?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
943
943
|
): Promise<PaginatedEndpointGroupList> {
|
|
944
944
|
const api = client || getAPIInstance()
|
|
945
945
|
const response = await api.cfg_payments.endpointGroupsList(params?.is_enabled, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -953,7 +953,7 @@ export async function getPaymentsEndpointGroupsList( params?: { is_enabled?: bo
|
|
|
953
953
|
* @method GET
|
|
954
954
|
* @path /cfg/payments/endpoint-groups/{id}/
|
|
955
955
|
*/
|
|
956
|
-
export async function getPaymentsEndpointGroupsRetrieve( id: number, client
|
|
956
|
+
export async function getPaymentsEndpointGroupsRetrieve( id: number, client?
|
|
957
957
|
): Promise<EndpointGroup> {
|
|
958
958
|
const api = client || getAPIInstance()
|
|
959
959
|
const response = await api.cfg_payments.endpointGroupsRetrieve(id)
|
|
@@ -967,7 +967,7 @@ export async function getPaymentsEndpointGroupsRetrieve( id: number, client?:
|
|
|
967
967
|
* @method GET
|
|
968
968
|
* @path /cfg/payments/endpoint-groups/available/
|
|
969
969
|
*/
|
|
970
|
-
export async function getPaymentsEndpointGroupsAvailableRetrieve( client
|
|
970
|
+
export async function getPaymentsEndpointGroupsAvailableRetrieve( client?
|
|
971
971
|
): Promise<EndpointGroup> {
|
|
972
972
|
const api = client || getAPIInstance()
|
|
973
973
|
const response = await api.cfg_payments.endpointGroupsAvailableRetrieve()
|
|
@@ -981,7 +981,7 @@ export async function getPaymentsEndpointGroupsAvailableRetrieve( client?: API
|
|
|
981
981
|
* @method GET
|
|
982
982
|
* @path /cfg/payments/endpoint-groups/health/
|
|
983
983
|
*/
|
|
984
|
-
export async function getPaymentsEndpointGroupsHealthRetrieve( client
|
|
984
|
+
export async function getPaymentsEndpointGroupsHealthRetrieve( client?
|
|
985
985
|
): Promise<EndpointGroup> {
|
|
986
986
|
const api = client || getAPIInstance()
|
|
987
987
|
const response = await api.cfg_payments.endpointGroupsHealthRetrieve()
|
|
@@ -995,7 +995,7 @@ export async function getPaymentsEndpointGroupsHealthRetrieve( client?: API
|
|
|
995
995
|
* @method GET
|
|
996
996
|
* @path /cfg/payments/endpoint-groups/stats/
|
|
997
997
|
*/
|
|
998
|
-
export async function getPaymentsEndpointGroupsStatsRetrieve( client
|
|
998
|
+
export async function getPaymentsEndpointGroupsStatsRetrieve( client?
|
|
999
999
|
): Promise<EndpointGroup> {
|
|
1000
1000
|
const api = client || getAPIInstance()
|
|
1001
1001
|
const response = await api.cfg_payments.endpointGroupsStatsRetrieve()
|
|
@@ -1009,7 +1009,7 @@ export async function getPaymentsEndpointGroupsStatsRetrieve( client?: API
|
|
|
1009
1009
|
* @method GET
|
|
1010
1010
|
* @path /cfg/payments/health/
|
|
1011
1011
|
*/
|
|
1012
|
-
export async function getPaymentsHealthRetrieve( client
|
|
1012
|
+
export async function getPaymentsHealthRetrieve( client?
|
|
1013
1013
|
): Promise<Payment> {
|
|
1014
1014
|
const api = client || getAPIInstance()
|
|
1015
1015
|
const response = await api.cfg_payments.healthRetrieve()
|
|
@@ -1023,7 +1023,7 @@ export async function getPaymentsHealthRetrieve( client?: API
|
|
|
1023
1023
|
* @method GET
|
|
1024
1024
|
* @path /cfg/payments/networks/
|
|
1025
1025
|
*/
|
|
1026
|
-
export async function getPaymentsNetworksList( params?: { is_active?: boolean; native_currency__code?: string; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
1026
|
+
export async function getPaymentsNetworksList( params?: { is_active?: boolean; native_currency__code?: string; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
1027
1027
|
): Promise<PaginatedNetworkList> {
|
|
1028
1028
|
const api = client || getAPIInstance()
|
|
1029
1029
|
const response = await api.cfg_payments.networksList(params?.is_active, params?.native_currency__code, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -1037,7 +1037,7 @@ export async function getPaymentsNetworksList( params?: { is_active?: boolean;
|
|
|
1037
1037
|
* @method GET
|
|
1038
1038
|
* @path /cfg/payments/networks/{id}/
|
|
1039
1039
|
*/
|
|
1040
|
-
export async function getPaymentsNetworksRetrieve( id: number, client
|
|
1040
|
+
export async function getPaymentsNetworksRetrieve( id: number, client?
|
|
1041
1041
|
): Promise<Network> {
|
|
1042
1042
|
const api = client || getAPIInstance()
|
|
1043
1043
|
const response = await api.cfg_payments.networksRetrieve(id)
|
|
@@ -1051,7 +1051,7 @@ export async function getPaymentsNetworksRetrieve( id: number, client?: API
|
|
|
1051
1051
|
* @method GET
|
|
1052
1052
|
* @path /cfg/payments/networks/by_currency/
|
|
1053
1053
|
*/
|
|
1054
|
-
export async function getPaymentsNetworksByCurrencyRetrieve( client
|
|
1054
|
+
export async function getPaymentsNetworksByCurrencyRetrieve( client?
|
|
1055
1055
|
): Promise<Network> {
|
|
1056
1056
|
const api = client || getAPIInstance()
|
|
1057
1057
|
const response = await api.cfg_payments.networksByCurrencyRetrieve()
|
|
@@ -1065,7 +1065,7 @@ export async function getPaymentsNetworksByCurrencyRetrieve( client?: API
|
|
|
1065
1065
|
* @method GET
|
|
1066
1066
|
* @path /cfg/payments/networks/health/
|
|
1067
1067
|
*/
|
|
1068
|
-
export async function getPaymentsNetworksHealthRetrieve( client
|
|
1068
|
+
export async function getPaymentsNetworksHealthRetrieve( client?
|
|
1069
1069
|
): Promise<Network> {
|
|
1070
1070
|
const api = client || getAPIInstance()
|
|
1071
1071
|
const response = await api.cfg_payments.networksHealthRetrieve()
|
|
@@ -1079,7 +1079,7 @@ export async function getPaymentsNetworksHealthRetrieve( client?: API
|
|
|
1079
1079
|
* @method GET
|
|
1080
1080
|
* @path /cfg/payments/networks/stats/
|
|
1081
1081
|
*/
|
|
1082
|
-
export async function getPaymentsNetworksStatsRetrieve( client
|
|
1082
|
+
export async function getPaymentsNetworksStatsRetrieve( client?
|
|
1083
1083
|
): Promise<Network> {
|
|
1084
1084
|
const api = client || getAPIInstance()
|
|
1085
1085
|
const response = await api.cfg_payments.networksStatsRetrieve()
|
|
@@ -1093,7 +1093,7 @@ export async function getPaymentsNetworksStatsRetrieve( client?: API
|
|
|
1093
1093
|
* @method GET
|
|
1094
1094
|
* @path /cfg/payments/overview/dashboard/api_keys_overview/
|
|
1095
1095
|
*/
|
|
1096
|
-
export async function getPaymentsOverviewDashboardApiKeysOverviewRetrieve( client
|
|
1096
|
+
export async function getPaymentsOverviewDashboardApiKeysOverviewRetrieve( client?
|
|
1097
1097
|
): Promise<APIKeysOverview> {
|
|
1098
1098
|
const api = client || getAPIInstance()
|
|
1099
1099
|
const response = await api.cfg_payments.overviewDashboardApiKeysOverviewRetrieve()
|
|
@@ -1107,7 +1107,7 @@ export async function getPaymentsOverviewDashboardApiKeysOverviewRetrieve( clie
|
|
|
1107
1107
|
* @method GET
|
|
1108
1108
|
* @path /cfg/payments/overview/dashboard/balance_overview/
|
|
1109
1109
|
*/
|
|
1110
|
-
export async function getPaymentsOverviewDashboardBalanceOverviewRetrieve( client
|
|
1110
|
+
export async function getPaymentsOverviewDashboardBalanceOverviewRetrieve( client?
|
|
1111
1111
|
): Promise<BalanceOverview> {
|
|
1112
1112
|
const api = client || getAPIInstance()
|
|
1113
1113
|
const response = await api.cfg_payments.overviewDashboardBalanceOverviewRetrieve()
|
|
@@ -1121,7 +1121,7 @@ export async function getPaymentsOverviewDashboardBalanceOverviewRetrieve( clie
|
|
|
1121
1121
|
* @method GET
|
|
1122
1122
|
* @path /cfg/payments/overview/dashboard/chart_data/
|
|
1123
1123
|
*/
|
|
1124
|
-
export async function getPaymentsOverviewDashboardChartDataRetrieve( params?: { period?: string }, client
|
|
1124
|
+
export async function getPaymentsOverviewDashboardChartDataRetrieve( params?: { period?: string }, client?
|
|
1125
1125
|
): Promise<PaymentsChartResponse> {
|
|
1126
1126
|
const api = client || getAPIInstance()
|
|
1127
1127
|
const response = await api.cfg_payments.overviewDashboardChartDataRetrieve(params?.period)
|
|
@@ -1135,7 +1135,7 @@ export async function getPaymentsOverviewDashboardChartDataRetrieve( params?: {
|
|
|
1135
1135
|
* @method GET
|
|
1136
1136
|
* @path /cfg/payments/overview/dashboard/metrics/
|
|
1137
1137
|
*/
|
|
1138
|
-
export async function getPaymentsOverviewDashboardMetricsRetrieve( client
|
|
1138
|
+
export async function getPaymentsOverviewDashboardMetricsRetrieve( client?
|
|
1139
1139
|
): Promise<PaymentsMetrics> {
|
|
1140
1140
|
const api = client || getAPIInstance()
|
|
1141
1141
|
const response = await api.cfg_payments.overviewDashboardMetricsRetrieve()
|
|
@@ -1149,7 +1149,7 @@ export async function getPaymentsOverviewDashboardMetricsRetrieve( client?: API
|
|
|
1149
1149
|
* @method GET
|
|
1150
1150
|
* @path /cfg/payments/overview/dashboard/overview/
|
|
1151
1151
|
*/
|
|
1152
|
-
export async function getPaymentsOverviewDashboardOverviewRetrieve( client
|
|
1152
|
+
export async function getPaymentsOverviewDashboardOverviewRetrieve( client?
|
|
1153
1153
|
): Promise<PaymentsDashboardOverview> {
|
|
1154
1154
|
const api = client || getAPIInstance()
|
|
1155
1155
|
const response = await api.cfg_payments.overviewDashboardOverviewRetrieve()
|
|
@@ -1163,7 +1163,7 @@ export async function getPaymentsOverviewDashboardOverviewRetrieve( client?: AP
|
|
|
1163
1163
|
* @method GET
|
|
1164
1164
|
* @path /cfg/payments/overview/dashboard/payment_analytics/
|
|
1165
1165
|
*/
|
|
1166
|
-
export async function getPaymentsOverviewDashboardPaymentAnalyticsRetrieve( params?: { limit?: number }, client
|
|
1166
|
+
export async function getPaymentsOverviewDashboardPaymentAnalyticsRetrieve( params?: { limit?: number }, client?
|
|
1167
1167
|
): Promise<PaymentAnalyticsResponse> {
|
|
1168
1168
|
const api = client || getAPIInstance()
|
|
1169
1169
|
const response = await api.cfg_payments.overviewDashboardPaymentAnalyticsRetrieve(params?.limit)
|
|
@@ -1177,7 +1177,7 @@ export async function getPaymentsOverviewDashboardPaymentAnalyticsRetrieve( par
|
|
|
1177
1177
|
* @method GET
|
|
1178
1178
|
* @path /cfg/payments/overview/dashboard/recent_payments/
|
|
1179
1179
|
*/
|
|
1180
|
-
export async function getPaymentsOverviewDashboardRecentPaymentsList( params?: { limit?: number; page?: number; page_size?: number }, client
|
|
1180
|
+
export async function getPaymentsOverviewDashboardRecentPaymentsList( params?: { limit?: number; page?: number; page_size?: number }, client?
|
|
1181
1181
|
): Promise<PaginatedRecentPaymentList> {
|
|
1182
1182
|
const api = client || getAPIInstance()
|
|
1183
1183
|
const response = await api.cfg_payments.overviewDashboardRecentPaymentsList(params?.limit, params?.page, params?.page_size)
|
|
@@ -1191,7 +1191,7 @@ export async function getPaymentsOverviewDashboardRecentPaymentsList( params?:
|
|
|
1191
1191
|
* @method GET
|
|
1192
1192
|
* @path /cfg/payments/overview/dashboard/recent_transactions/
|
|
1193
1193
|
*/
|
|
1194
|
-
export async function getPaymentsOverviewDashboardRecentTransactionsList( params?: { limit?: number; page?: number; page_size?: number }, client
|
|
1194
|
+
export async function getPaymentsOverviewDashboardRecentTransactionsList( params?: { limit?: number; page?: number; page_size?: number }, client?
|
|
1195
1195
|
): Promise<PaginatedRecentTransactionList> {
|
|
1196
1196
|
const api = client || getAPIInstance()
|
|
1197
1197
|
const response = await api.cfg_payments.overviewDashboardRecentTransactionsList(params?.limit, params?.page, params?.page_size)
|
|
@@ -1205,7 +1205,7 @@ export async function getPaymentsOverviewDashboardRecentTransactionsList( param
|
|
|
1205
1205
|
* @method GET
|
|
1206
1206
|
* @path /cfg/payments/overview/dashboard/subscription_overview/
|
|
1207
1207
|
*/
|
|
1208
|
-
export async function getPaymentsOverviewDashboardSubscriptionOverviewRetrieve( client
|
|
1208
|
+
export async function getPaymentsOverviewDashboardSubscriptionOverviewRetrieve( client?
|
|
1209
1209
|
): Promise<SubscriptionOverview> {
|
|
1210
1210
|
const api = client || getAPIInstance()
|
|
1211
1211
|
const response = await api.cfg_payments.overviewDashboardSubscriptionOverviewRetrieve()
|
|
@@ -1219,7 +1219,7 @@ export async function getPaymentsOverviewDashboardSubscriptionOverviewRetrieve(
|
|
|
1219
1219
|
* @method GET
|
|
1220
1220
|
* @path /cfg/payments/payment/
|
|
1221
1221
|
*/
|
|
1222
|
-
export async function getPaymentsPaymentList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string; user?: number }, client
|
|
1222
|
+
export async function getPaymentsPaymentList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string; user?: number }, client?
|
|
1223
1223
|
): Promise<PaginatedPaymentListList> {
|
|
1224
1224
|
const api = client || getAPIInstance()
|
|
1225
1225
|
const response = await api.cfg_payments.paymentList(params?.currency__code, params?.ordering, params?.page, params?.page_size, params?.provider, params?.search, params?.status, params?.user)
|
|
@@ -1233,7 +1233,7 @@ export async function getPaymentsPaymentList( params?: { currency__code?: strin
|
|
|
1233
1233
|
* @method POST
|
|
1234
1234
|
* @path /cfg/payments/payment/
|
|
1235
1235
|
*/
|
|
1236
|
-
export async function createPaymentsPaymentCreate( data: PaymentCreateRequest, client
|
|
1236
|
+
export async function createPaymentsPaymentCreate( data: PaymentCreateRequest, client?
|
|
1237
1237
|
): Promise<PaymentCreate> {
|
|
1238
1238
|
const api = client || getAPIInstance()
|
|
1239
1239
|
const response = await api.cfg_payments.paymentCreate(data)
|
|
@@ -1247,7 +1247,7 @@ export async function createPaymentsPaymentCreate( data: PaymentCreateRequest,
|
|
|
1247
1247
|
* @method GET
|
|
1248
1248
|
* @path /cfg/payments/payment/{id}/
|
|
1249
1249
|
*/
|
|
1250
|
-
export async function getPaymentsPaymentRetrieve( id: string, client
|
|
1250
|
+
export async function getPaymentsPaymentRetrieve( id: string, client?
|
|
1251
1251
|
): Promise<Payment> {
|
|
1252
1252
|
const api = client || getAPIInstance()
|
|
1253
1253
|
const response = await api.cfg_payments.paymentRetrieve(id)
|
|
@@ -1261,7 +1261,7 @@ export async function getPaymentsPaymentRetrieve( id: string, client?: API
|
|
|
1261
1261
|
* @method PUT
|
|
1262
1262
|
* @path /cfg/payments/payment/{id}/
|
|
1263
1263
|
*/
|
|
1264
|
-
export async function updatePaymentsPaymentUpdate( id: string, data: PaymentRequest, client
|
|
1264
|
+
export async function updatePaymentsPaymentUpdate( id: string, data: PaymentRequest, client?
|
|
1265
1265
|
): Promise<Payment> {
|
|
1266
1266
|
const api = client || getAPIInstance()
|
|
1267
1267
|
const response = await api.cfg_payments.paymentUpdate(id, data)
|
|
@@ -1275,7 +1275,7 @@ export async function updatePaymentsPaymentUpdate( id: string, data: PaymentReq
|
|
|
1275
1275
|
* @method PATCH
|
|
1276
1276
|
* @path /cfg/payments/payment/{id}/
|
|
1277
1277
|
*/
|
|
1278
|
-
export async function partialUpdatePaymentsPaymentPartialUpdate( id: string, data?: PatchedPaymentRequest, client
|
|
1278
|
+
export async function partialUpdatePaymentsPaymentPartialUpdate( id: string, data?: PatchedPaymentRequest, client?
|
|
1279
1279
|
): Promise<Payment> {
|
|
1280
1280
|
const api = client || getAPIInstance()
|
|
1281
1281
|
const response = await api.cfg_payments.paymentPartialUpdate(id, data)
|
|
@@ -1289,7 +1289,7 @@ export async function partialUpdatePaymentsPaymentPartialUpdate( id: string, da
|
|
|
1289
1289
|
* @method DELETE
|
|
1290
1290
|
* @path /cfg/payments/payment/{id}/
|
|
1291
1291
|
*/
|
|
1292
|
-
export async function deletePaymentsPaymentDestroy( id: string, client
|
|
1292
|
+
export async function deletePaymentsPaymentDestroy( id: string, client?
|
|
1293
1293
|
): Promise<void> {
|
|
1294
1294
|
const api = client || getAPIInstance()
|
|
1295
1295
|
const response = await api.cfg_payments.paymentDestroy(id)
|
|
@@ -1303,7 +1303,7 @@ export async function deletePaymentsPaymentDestroy( id: string, client?: API
|
|
|
1303
1303
|
* @method POST
|
|
1304
1304
|
* @path /cfg/payments/payment/{id}/cancel/
|
|
1305
1305
|
*/
|
|
1306
|
-
export async function createPaymentsPaymentCancelCreate( id: string, data: PaymentRequest, client
|
|
1306
|
+
export async function createPaymentsPaymentCancelCreate( id: string, data: PaymentRequest, client?
|
|
1307
1307
|
): Promise<Payment> {
|
|
1308
1308
|
const api = client || getAPIInstance()
|
|
1309
1309
|
const response = await api.cfg_payments.paymentCancelCreate(id, data)
|
|
@@ -1317,7 +1317,7 @@ export async function createPaymentsPaymentCancelCreate( id: string, data: Paym
|
|
|
1317
1317
|
* @method POST
|
|
1318
1318
|
* @path /cfg/payments/payment/{id}/check_status/
|
|
1319
1319
|
*/
|
|
1320
|
-
export async function createPaymentsPaymentCheckStatusCreate( id: string, data: PaymentRequest, client
|
|
1320
|
+
export async function createPaymentsPaymentCheckStatusCreate( id: string, data: PaymentRequest, client?
|
|
1321
1321
|
): Promise<Payment> {
|
|
1322
1322
|
const api = client || getAPIInstance()
|
|
1323
1323
|
const response = await api.cfg_payments.paymentCheckStatusCreate(id, data)
|
|
@@ -1331,7 +1331,7 @@ export async function createPaymentsPaymentCheckStatusCreate( id: string, data:
|
|
|
1331
1331
|
* @method GET
|
|
1332
1332
|
* @path /cfg/payments/payment/analytics/
|
|
1333
1333
|
*/
|
|
1334
|
-
export async function getPaymentsPaymentAnalyticsRetrieve( client
|
|
1334
|
+
export async function getPaymentsPaymentAnalyticsRetrieve( client?
|
|
1335
1335
|
): Promise<Payment> {
|
|
1336
1336
|
const api = client || getAPIInstance()
|
|
1337
1337
|
const response = await api.cfg_payments.paymentAnalyticsRetrieve()
|
|
@@ -1345,7 +1345,7 @@ export async function getPaymentsPaymentAnalyticsRetrieve( client?: API
|
|
|
1345
1345
|
* @method GET
|
|
1346
1346
|
* @path /cfg/payments/payment/by_provider/
|
|
1347
1347
|
*/
|
|
1348
|
-
export async function getPaymentsPaymentByProviderRetrieve( client
|
|
1348
|
+
export async function getPaymentsPaymentByProviderRetrieve( client?
|
|
1349
1349
|
): Promise<Payment> {
|
|
1350
1350
|
const api = client || getAPIInstance()
|
|
1351
1351
|
const response = await api.cfg_payments.paymentByProviderRetrieve()
|
|
@@ -1359,7 +1359,7 @@ export async function getPaymentsPaymentByProviderRetrieve( client?: API
|
|
|
1359
1359
|
* @method POST
|
|
1360
1360
|
* @path /cfg/payments/payment/create/
|
|
1361
1361
|
*/
|
|
1362
|
-
export async function createPaymentsPaymentCreateCreate( data: PaymentCreateRequest, client
|
|
1362
|
+
export async function createPaymentsPaymentCreateCreate( data: PaymentCreateRequest, client?
|
|
1363
1363
|
): Promise<PaymentCreate> {
|
|
1364
1364
|
const api = client || getAPIInstance()
|
|
1365
1365
|
const response = await api.cfg_payments.paymentCreateCreate(data)
|
|
@@ -1373,7 +1373,7 @@ export async function createPaymentsPaymentCreateCreate( data: PaymentCreateReq
|
|
|
1373
1373
|
* @method GET
|
|
1374
1374
|
* @path /cfg/payments/payment/health/
|
|
1375
1375
|
*/
|
|
1376
|
-
export async function getPaymentsPaymentHealthRetrieve( client
|
|
1376
|
+
export async function getPaymentsPaymentHealthRetrieve( client?
|
|
1377
1377
|
): Promise<Payment> {
|
|
1378
1378
|
const api = client || getAPIInstance()
|
|
1379
1379
|
const response = await api.cfg_payments.paymentHealthRetrieve()
|
|
@@ -1387,7 +1387,7 @@ export async function getPaymentsPaymentHealthRetrieve( client?: API
|
|
|
1387
1387
|
* @method GET
|
|
1388
1388
|
* @path /cfg/payments/payment/stats/
|
|
1389
1389
|
*/
|
|
1390
|
-
export async function getPaymentsPaymentStatsRetrieve( client
|
|
1390
|
+
export async function getPaymentsPaymentStatsRetrieve( client?
|
|
1391
1391
|
): Promise<Payment> {
|
|
1392
1392
|
const api = client || getAPIInstance()
|
|
1393
1393
|
const response = await api.cfg_payments.paymentStatsRetrieve()
|
|
@@ -1401,7 +1401,7 @@ export async function getPaymentsPaymentStatsRetrieve( client?: API
|
|
|
1401
1401
|
* @method GET
|
|
1402
1402
|
* @path /cfg/payments/payment/status/{id}/
|
|
1403
1403
|
*/
|
|
1404
|
-
export async function getPaymentsPaymentStatusRetrieve( id: string, client
|
|
1404
|
+
export async function getPaymentsPaymentStatusRetrieve( id: string, client?
|
|
1405
1405
|
): Promise<Payment> {
|
|
1406
1406
|
const api = client || getAPIInstance()
|
|
1407
1407
|
const response = await api.cfg_payments.paymentStatusRetrieve(id)
|
|
@@ -1415,7 +1415,7 @@ export async function getPaymentsPaymentStatusRetrieve( id: string, client?: A
|
|
|
1415
1415
|
* @method GET
|
|
1416
1416
|
* @path /cfg/payments/provider-currencies/
|
|
1417
1417
|
*/
|
|
1418
|
-
export async function getPaymentsProviderCurrenciesList( params?: { currency__code?: string; is_enabled?: boolean; network__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string }, client
|
|
1418
|
+
export async function getPaymentsProviderCurrenciesList( params?: { currency__code?: string; is_enabled?: boolean; network__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string }, client?
|
|
1419
1419
|
): Promise<PaginatedProviderCurrencyList> {
|
|
1420
1420
|
const api = client || getAPIInstance()
|
|
1421
1421
|
const response = await api.cfg_payments.providerCurrenciesList(params?.currency__code, params?.is_enabled, params?.network__code, params?.ordering, params?.page, params?.page_size, params?.provider, params?.search)
|
|
@@ -1429,7 +1429,7 @@ export async function getPaymentsProviderCurrenciesList( params?: { currency__c
|
|
|
1429
1429
|
* @method GET
|
|
1430
1430
|
* @path /cfg/payments/provider-currencies/{id}/
|
|
1431
1431
|
*/
|
|
1432
|
-
export async function getPaymentsProviderCurrenciesRetrieve( id: number, client
|
|
1432
|
+
export async function getPaymentsProviderCurrenciesRetrieve( id: number, client?
|
|
1433
1433
|
): Promise<ProviderCurrency> {
|
|
1434
1434
|
const api = client || getAPIInstance()
|
|
1435
1435
|
const response = await api.cfg_payments.providerCurrenciesRetrieve(id)
|
|
@@ -1443,7 +1443,7 @@ export async function getPaymentsProviderCurrenciesRetrieve( id: number, clien
|
|
|
1443
1443
|
* @method GET
|
|
1444
1444
|
* @path /cfg/payments/provider-currencies/by_provider/
|
|
1445
1445
|
*/
|
|
1446
|
-
export async function getPaymentsProviderCurrenciesByProviderRetrieve( params?: { provider?: string }, client
|
|
1446
|
+
export async function getPaymentsProviderCurrenciesByProviderRetrieve( params?: { provider?: string }, client?
|
|
1447
1447
|
): Promise<ProviderCurrency> {
|
|
1448
1448
|
const api = client || getAPIInstance()
|
|
1449
1449
|
const response = await api.cfg_payments.providerCurrenciesByProviderRetrieve(params?.provider)
|
|
@@ -1457,7 +1457,7 @@ export async function getPaymentsProviderCurrenciesByProviderRetrieve( params?:
|
|
|
1457
1457
|
* @method GET
|
|
1458
1458
|
* @path /cfg/payments/provider-currencies/health/
|
|
1459
1459
|
*/
|
|
1460
|
-
export async function getPaymentsProviderCurrenciesHealthRetrieve( client
|
|
1460
|
+
export async function getPaymentsProviderCurrenciesHealthRetrieve( client?
|
|
1461
1461
|
): Promise<ProviderCurrency> {
|
|
1462
1462
|
const api = client || getAPIInstance()
|
|
1463
1463
|
const response = await api.cfg_payments.providerCurrenciesHealthRetrieve()
|
|
@@ -1471,7 +1471,7 @@ export async function getPaymentsProviderCurrenciesHealthRetrieve( client?: API
|
|
|
1471
1471
|
* @method GET
|
|
1472
1472
|
* @path /cfg/payments/provider-currencies/limits/
|
|
1473
1473
|
*/
|
|
1474
|
-
export async function getPaymentsProviderCurrenciesLimitsRetrieve( client
|
|
1474
|
+
export async function getPaymentsProviderCurrenciesLimitsRetrieve( client?
|
|
1475
1475
|
): Promise<ProviderCurrency> {
|
|
1476
1476
|
const api = client || getAPIInstance()
|
|
1477
1477
|
const response = await api.cfg_payments.providerCurrenciesLimitsRetrieve()
|
|
@@ -1485,7 +1485,7 @@ export async function getPaymentsProviderCurrenciesLimitsRetrieve( client?: API
|
|
|
1485
1485
|
* @method GET
|
|
1486
1486
|
* @path /cfg/payments/provider-currencies/stats/
|
|
1487
1487
|
*/
|
|
1488
|
-
export async function getPaymentsProviderCurrenciesStatsRetrieve( client
|
|
1488
|
+
export async function getPaymentsProviderCurrenciesStatsRetrieve( client?
|
|
1489
1489
|
): Promise<ProviderCurrency> {
|
|
1490
1490
|
const api = client || getAPIInstance()
|
|
1491
1491
|
const response = await api.cfg_payments.providerCurrenciesStatsRetrieve()
|
|
@@ -1499,7 +1499,7 @@ export async function getPaymentsProviderCurrenciesStatsRetrieve( client?: API
|
|
|
1499
1499
|
* @method GET
|
|
1500
1500
|
* @path /cfg/payments/subscriptions/
|
|
1501
1501
|
*/
|
|
1502
|
-
export async function getPaymentsSubscriptionsList( params?: { ordering?: string; page?: number; page_size?: number; search?: string; status?: string; tier?: string; user?: number }, client
|
|
1502
|
+
export async function getPaymentsSubscriptionsList( params?: { ordering?: string; page?: number; page_size?: number; search?: string; status?: string; tier?: string; user?: number }, client?
|
|
1503
1503
|
): Promise<PaginatedSubscriptionListList> {
|
|
1504
1504
|
const api = client || getAPIInstance()
|
|
1505
1505
|
const response = await api.cfg_payments.subscriptionsList(params?.ordering, params?.page, params?.page_size, params?.search, params?.status, params?.tier, params?.user)
|
|
@@ -1513,7 +1513,7 @@ export async function getPaymentsSubscriptionsList( params?: { ordering?: strin
|
|
|
1513
1513
|
* @method POST
|
|
1514
1514
|
* @path /cfg/payments/subscriptions/
|
|
1515
1515
|
*/
|
|
1516
|
-
export async function createPaymentsSubscriptionsCreate( data: SubscriptionCreateRequest, client
|
|
1516
|
+
export async function createPaymentsSubscriptionsCreate( data: SubscriptionCreateRequest, client?
|
|
1517
1517
|
): Promise<SubscriptionCreate> {
|
|
1518
1518
|
const api = client || getAPIInstance()
|
|
1519
1519
|
const response = await api.cfg_payments.subscriptionsCreate(data)
|
|
@@ -1527,7 +1527,7 @@ export async function createPaymentsSubscriptionsCreate( data: SubscriptionCrea
|
|
|
1527
1527
|
* @method GET
|
|
1528
1528
|
* @path /cfg/payments/subscriptions/{id}/
|
|
1529
1529
|
*/
|
|
1530
|
-
export async function getPaymentsSubscriptionsRetrieve( id: string, client
|
|
1530
|
+
export async function getPaymentsSubscriptionsRetrieve( id: string, client?
|
|
1531
1531
|
): Promise<Subscription> {
|
|
1532
1532
|
const api = client || getAPIInstance()
|
|
1533
1533
|
const response = await api.cfg_payments.subscriptionsRetrieve(id)
|
|
@@ -1541,7 +1541,7 @@ export async function getPaymentsSubscriptionsRetrieve( id: string, client?: A
|
|
|
1541
1541
|
* @method PUT
|
|
1542
1542
|
* @path /cfg/payments/subscriptions/{id}/
|
|
1543
1543
|
*/
|
|
1544
|
-
export async function updatePaymentsSubscriptionsUpdate( id: string, data: SubscriptionRequest, client
|
|
1544
|
+
export async function updatePaymentsSubscriptionsUpdate( id: string, data: SubscriptionRequest, client?
|
|
1545
1545
|
): Promise<Subscription> {
|
|
1546
1546
|
const api = client || getAPIInstance()
|
|
1547
1547
|
const response = await api.cfg_payments.subscriptionsUpdate(id, data)
|
|
@@ -1555,7 +1555,7 @@ export async function updatePaymentsSubscriptionsUpdate( id: string, data: Subs
|
|
|
1555
1555
|
* @method PATCH
|
|
1556
1556
|
* @path /cfg/payments/subscriptions/{id}/
|
|
1557
1557
|
*/
|
|
1558
|
-
export async function partialUpdatePaymentsSubscriptionsPartialUpdate( id: string, data?: PatchedSubscriptionRequest, client
|
|
1558
|
+
export async function partialUpdatePaymentsSubscriptionsPartialUpdate( id: string, data?: PatchedSubscriptionRequest, client?
|
|
1559
1559
|
): Promise<Subscription> {
|
|
1560
1560
|
const api = client || getAPIInstance()
|
|
1561
1561
|
const response = await api.cfg_payments.subscriptionsPartialUpdate(id, data)
|
|
@@ -1569,7 +1569,7 @@ export async function partialUpdatePaymentsSubscriptionsPartialUpdate( id: stri
|
|
|
1569
1569
|
* @method DELETE
|
|
1570
1570
|
* @path /cfg/payments/subscriptions/{id}/
|
|
1571
1571
|
*/
|
|
1572
|
-
export async function deletePaymentsSubscriptionsDestroy( id: string, client
|
|
1572
|
+
export async function deletePaymentsSubscriptionsDestroy( id: string, client?
|
|
1573
1573
|
): Promise<void> {
|
|
1574
1574
|
const api = client || getAPIInstance()
|
|
1575
1575
|
const response = await api.cfg_payments.subscriptionsDestroy(id)
|
|
@@ -1583,7 +1583,7 @@ export async function deletePaymentsSubscriptionsDestroy( id: string, client?:
|
|
|
1583
1583
|
* @method POST
|
|
1584
1584
|
* @path /cfg/payments/subscriptions/{id}/increment_usage/
|
|
1585
1585
|
*/
|
|
1586
|
-
export async function createPaymentsSubscriptionsIncrementUsageCreate( id: string, data: SubscriptionRequest, client
|
|
1586
|
+
export async function createPaymentsSubscriptionsIncrementUsageCreate( id: string, data: SubscriptionRequest, client?
|
|
1587
1587
|
): Promise<Subscription> {
|
|
1588
1588
|
const api = client || getAPIInstance()
|
|
1589
1589
|
const response = await api.cfg_payments.subscriptionsIncrementUsageCreate(id, data)
|
|
@@ -1597,7 +1597,7 @@ export async function createPaymentsSubscriptionsIncrementUsageCreate( id: stri
|
|
|
1597
1597
|
* @method POST
|
|
1598
1598
|
* @path /cfg/payments/subscriptions/{id}/update_status/
|
|
1599
1599
|
*/
|
|
1600
|
-
export async function createPaymentsSubscriptionsUpdateStatusCreate( id: string, data: SubscriptionRequest, client
|
|
1600
|
+
export async function createPaymentsSubscriptionsUpdateStatusCreate( id: string, data: SubscriptionRequest, client?
|
|
1601
1601
|
): Promise<Subscription> {
|
|
1602
1602
|
const api = client || getAPIInstance()
|
|
1603
1603
|
const response = await api.cfg_payments.subscriptionsUpdateStatusCreate(id, data)
|
|
@@ -1611,7 +1611,7 @@ export async function createPaymentsSubscriptionsUpdateStatusCreate( id: string
|
|
|
1611
1611
|
* @method GET
|
|
1612
1612
|
* @path /cfg/payments/subscriptions/analytics/
|
|
1613
1613
|
*/
|
|
1614
|
-
export async function getPaymentsSubscriptionsAnalyticsRetrieve( client
|
|
1614
|
+
export async function getPaymentsSubscriptionsAnalyticsRetrieve( client?
|
|
1615
1615
|
): Promise<Subscription> {
|
|
1616
1616
|
const api = client || getAPIInstance()
|
|
1617
1617
|
const response = await api.cfg_payments.subscriptionsAnalyticsRetrieve()
|
|
@@ -1625,7 +1625,7 @@ export async function getPaymentsSubscriptionsAnalyticsRetrieve( client?: API
|
|
|
1625
1625
|
* @method GET
|
|
1626
1626
|
* @path /cfg/payments/subscriptions/by_status/
|
|
1627
1627
|
*/
|
|
1628
|
-
export async function getPaymentsSubscriptionsByStatusRetrieve( client
|
|
1628
|
+
export async function getPaymentsSubscriptionsByStatusRetrieve( client?
|
|
1629
1629
|
): Promise<Subscription> {
|
|
1630
1630
|
const api = client || getAPIInstance()
|
|
1631
1631
|
const response = await api.cfg_payments.subscriptionsByStatusRetrieve()
|
|
@@ -1639,7 +1639,7 @@ export async function getPaymentsSubscriptionsByStatusRetrieve( client?: API
|
|
|
1639
1639
|
* @method GET
|
|
1640
1640
|
* @path /cfg/payments/subscriptions/by_tier/
|
|
1641
1641
|
*/
|
|
1642
|
-
export async function getPaymentsSubscriptionsByTierRetrieve( client
|
|
1642
|
+
export async function getPaymentsSubscriptionsByTierRetrieve( client?
|
|
1643
1643
|
): Promise<Subscription> {
|
|
1644
1644
|
const api = client || getAPIInstance()
|
|
1645
1645
|
const response = await api.cfg_payments.subscriptionsByTierRetrieve()
|
|
@@ -1653,7 +1653,7 @@ export async function getPaymentsSubscriptionsByTierRetrieve( client?: API
|
|
|
1653
1653
|
* @method GET
|
|
1654
1654
|
* @path /cfg/payments/subscriptions/health/
|
|
1655
1655
|
*/
|
|
1656
|
-
export async function getPaymentsSubscriptionsHealthRetrieve( client
|
|
1656
|
+
export async function getPaymentsSubscriptionsHealthRetrieve( client?
|
|
1657
1657
|
): Promise<Subscription> {
|
|
1658
1658
|
const api = client || getAPIInstance()
|
|
1659
1659
|
const response = await api.cfg_payments.subscriptionsHealthRetrieve()
|
|
@@ -1667,7 +1667,7 @@ export async function getPaymentsSubscriptionsHealthRetrieve( client?: API
|
|
|
1667
1667
|
* @method GET
|
|
1668
1668
|
* @path /cfg/payments/subscriptions/stats/
|
|
1669
1669
|
*/
|
|
1670
|
-
export async function getPaymentsSubscriptionsStatsRetrieve( client
|
|
1670
|
+
export async function getPaymentsSubscriptionsStatsRetrieve( client?
|
|
1671
1671
|
): Promise<Subscription> {
|
|
1672
1672
|
const api = client || getAPIInstance()
|
|
1673
1673
|
const response = await api.cfg_payments.subscriptionsStatsRetrieve()
|
|
@@ -1681,7 +1681,7 @@ export async function getPaymentsSubscriptionsStatsRetrieve( client?: API
|
|
|
1681
1681
|
* @method GET
|
|
1682
1682
|
* @path /cfg/payments/tariffs/
|
|
1683
1683
|
*/
|
|
1684
|
-
export async function getPaymentsTariffsList( params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
1684
|
+
export async function getPaymentsTariffsList( params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
1685
1685
|
): Promise<PaginatedTariffList> {
|
|
1686
1686
|
const api = client || getAPIInstance()
|
|
1687
1687
|
const response = await api.cfg_payments.tariffsList(params?.is_active, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -1695,7 +1695,7 @@ export async function getPaymentsTariffsList( params?: { is_active?: boolean; o
|
|
|
1695
1695
|
* @method GET
|
|
1696
1696
|
* @path /cfg/payments/tariffs/{id}/
|
|
1697
1697
|
*/
|
|
1698
|
-
export async function getPaymentsTariffsRetrieve( id: number, client
|
|
1698
|
+
export async function getPaymentsTariffsRetrieve( id: number, client?
|
|
1699
1699
|
): Promise<Tariff> {
|
|
1700
1700
|
const api = client || getAPIInstance()
|
|
1701
1701
|
const response = await api.cfg_payments.tariffsRetrieve(id)
|
|
@@ -1709,7 +1709,7 @@ export async function getPaymentsTariffsRetrieve( id: number, client?: API
|
|
|
1709
1709
|
* @method GET
|
|
1710
1710
|
* @path /cfg/payments/tariffs/{id}/endpoint_groups/
|
|
1711
1711
|
*/
|
|
1712
|
-
export async function getPaymentsTariffsEndpointGroupsRetrieve( id: number, client
|
|
1712
|
+
export async function getPaymentsTariffsEndpointGroupsRetrieve( id: number, client?
|
|
1713
1713
|
): Promise<Tariff> {
|
|
1714
1714
|
const api = client || getAPIInstance()
|
|
1715
1715
|
const response = await api.cfg_payments.tariffsEndpointGroupsRetrieve(id)
|
|
@@ -1723,7 +1723,7 @@ export async function getPaymentsTariffsEndpointGroupsRetrieve( id: number, cl
|
|
|
1723
1723
|
* @method GET
|
|
1724
1724
|
* @path /cfg/payments/tariffs/free/
|
|
1725
1725
|
*/
|
|
1726
|
-
export async function getPaymentsTariffsFreeRetrieve( client
|
|
1726
|
+
export async function getPaymentsTariffsFreeRetrieve( client?
|
|
1727
1727
|
): Promise<Tariff> {
|
|
1728
1728
|
const api = client || getAPIInstance()
|
|
1729
1729
|
const response = await api.cfg_payments.tariffsFreeRetrieve()
|
|
@@ -1737,7 +1737,7 @@ export async function getPaymentsTariffsFreeRetrieve( client?: API
|
|
|
1737
1737
|
* @method GET
|
|
1738
1738
|
* @path /cfg/payments/tariffs/health/
|
|
1739
1739
|
*/
|
|
1740
|
-
export async function getPaymentsTariffsHealthRetrieve( client
|
|
1740
|
+
export async function getPaymentsTariffsHealthRetrieve( client?
|
|
1741
1741
|
): Promise<Tariff> {
|
|
1742
1742
|
const api = client || getAPIInstance()
|
|
1743
1743
|
const response = await api.cfg_payments.tariffsHealthRetrieve()
|
|
@@ -1751,7 +1751,7 @@ export async function getPaymentsTariffsHealthRetrieve( client?: API
|
|
|
1751
1751
|
* @method GET
|
|
1752
1752
|
* @path /cfg/payments/tariffs/paid/
|
|
1753
1753
|
*/
|
|
1754
|
-
export async function getPaymentsTariffsPaidRetrieve( client
|
|
1754
|
+
export async function getPaymentsTariffsPaidRetrieve( client?
|
|
1755
1755
|
): Promise<Tariff> {
|
|
1756
1756
|
const api = client || getAPIInstance()
|
|
1757
1757
|
const response = await api.cfg_payments.tariffsPaidRetrieve()
|
|
@@ -1765,7 +1765,7 @@ export async function getPaymentsTariffsPaidRetrieve( client?: API
|
|
|
1765
1765
|
* @method GET
|
|
1766
1766
|
* @path /cfg/payments/tariffs/stats/
|
|
1767
1767
|
*/
|
|
1768
|
-
export async function getPaymentsTariffsStatsRetrieve( client
|
|
1768
|
+
export async function getPaymentsTariffsStatsRetrieve( client?
|
|
1769
1769
|
): Promise<Tariff> {
|
|
1770
1770
|
const api = client || getAPIInstance()
|
|
1771
1771
|
const response = await api.cfg_payments.tariffsStatsRetrieve()
|
|
@@ -1779,7 +1779,7 @@ export async function getPaymentsTariffsStatsRetrieve( client?: API
|
|
|
1779
1779
|
* @method GET
|
|
1780
1780
|
* @path /cfg/payments/transactions/
|
|
1781
1781
|
*/
|
|
1782
|
-
export async function getPaymentsTransactionsList( params?: { ordering?: string; page?: number; page_size?: number; payment_id?: string; search?: string; transaction_type?: string; user?: number }, client
|
|
1782
|
+
export async function getPaymentsTransactionsList( params?: { ordering?: string; page?: number; page_size?: number; payment_id?: string; search?: string; transaction_type?: string; user?: number }, client?
|
|
1783
1783
|
): Promise<PaginatedTransactionList> {
|
|
1784
1784
|
const api = client || getAPIInstance()
|
|
1785
1785
|
const response = await api.cfg_payments.transactionsList(params?.ordering, params?.page, params?.page_size, params?.payment_id, params?.search, params?.transaction_type, params?.user)
|
|
@@ -1793,7 +1793,7 @@ export async function getPaymentsTransactionsList( params?: { ordering?: string
|
|
|
1793
1793
|
* @method GET
|
|
1794
1794
|
* @path /cfg/payments/transactions/{id}/
|
|
1795
1795
|
*/
|
|
1796
|
-
export async function getPaymentsTransactionsRetrieve( id: string, client
|
|
1796
|
+
export async function getPaymentsTransactionsRetrieve( id: string, client?
|
|
1797
1797
|
): Promise<Transaction> {
|
|
1798
1798
|
const api = client || getAPIInstance()
|
|
1799
1799
|
const response = await api.cfg_payments.transactionsRetrieve(id)
|
|
@@ -1807,7 +1807,7 @@ export async function getPaymentsTransactionsRetrieve( id: string, client?: AP
|
|
|
1807
1807
|
* @method GET
|
|
1808
1808
|
* @path /cfg/payments/transactions/by_type/
|
|
1809
1809
|
*/
|
|
1810
|
-
export async function getPaymentsTransactionsByTypeRetrieve( client
|
|
1810
|
+
export async function getPaymentsTransactionsByTypeRetrieve( client?
|
|
1811
1811
|
): Promise<Transaction> {
|
|
1812
1812
|
const api = client || getAPIInstance()
|
|
1813
1813
|
const response = await api.cfg_payments.transactionsByTypeRetrieve()
|
|
@@ -1821,7 +1821,7 @@ export async function getPaymentsTransactionsByTypeRetrieve( client?: API
|
|
|
1821
1821
|
* @method GET
|
|
1822
1822
|
* @path /cfg/payments/transactions/health/
|
|
1823
1823
|
*/
|
|
1824
|
-
export async function getPaymentsTransactionsHealthRetrieve( client
|
|
1824
|
+
export async function getPaymentsTransactionsHealthRetrieve( client?
|
|
1825
1825
|
): Promise<Transaction> {
|
|
1826
1826
|
const api = client || getAPIInstance()
|
|
1827
1827
|
const response = await api.cfg_payments.transactionsHealthRetrieve()
|
|
@@ -1835,7 +1835,7 @@ export async function getPaymentsTransactionsHealthRetrieve( client?: API
|
|
|
1835
1835
|
* @method GET
|
|
1836
1836
|
* @path /cfg/payments/transactions/recent/
|
|
1837
1837
|
*/
|
|
1838
|
-
export async function getPaymentsTransactionsRecentRetrieve( client
|
|
1838
|
+
export async function getPaymentsTransactionsRecentRetrieve( client?
|
|
1839
1839
|
): Promise<Transaction> {
|
|
1840
1840
|
const api = client || getAPIInstance()
|
|
1841
1841
|
const response = await api.cfg_payments.transactionsRecentRetrieve()
|
|
@@ -1849,7 +1849,7 @@ export async function getPaymentsTransactionsRecentRetrieve( client?: API
|
|
|
1849
1849
|
* @method GET
|
|
1850
1850
|
* @path /cfg/payments/transactions/stats/
|
|
1851
1851
|
*/
|
|
1852
|
-
export async function getPaymentsTransactionsStatsRetrieve( client
|
|
1852
|
+
export async function getPaymentsTransactionsStatsRetrieve( client?
|
|
1853
1853
|
): Promise<Transaction> {
|
|
1854
1854
|
const api = client || getAPIInstance()
|
|
1855
1855
|
const response = await api.cfg_payments.transactionsStatsRetrieve()
|
|
@@ -1863,7 +1863,7 @@ export async function getPaymentsTransactionsStatsRetrieve( client?: API
|
|
|
1863
1863
|
* @method GET
|
|
1864
1864
|
* @path /cfg/payments/users/
|
|
1865
1865
|
*/
|
|
1866
|
-
export async function getPaymentsUsersList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string }, client
|
|
1866
|
+
export async function getPaymentsUsersList( params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string }, client?
|
|
1867
1867
|
): Promise<PaginatedPaymentListList> {
|
|
1868
1868
|
const api = client || getAPIInstance()
|
|
1869
1869
|
const response = await api.cfg_payments.usersList(params?.currency__code, params?.ordering, params?.page, params?.page_size, params?.provider, params?.search, params?.status)
|
|
@@ -1877,7 +1877,7 @@ export async function getPaymentsUsersList( params?: { currency__code?: string;
|
|
|
1877
1877
|
* @method POST
|
|
1878
1878
|
* @path /cfg/payments/users/
|
|
1879
1879
|
*/
|
|
1880
|
-
export async function createPaymentsUsersCreate( data: PaymentCreateRequest, client
|
|
1880
|
+
export async function createPaymentsUsersCreate( data: PaymentCreateRequest, client?
|
|
1881
1881
|
): Promise<PaymentCreate> {
|
|
1882
1882
|
const api = client || getAPIInstance()
|
|
1883
1883
|
const response = await api.cfg_payments.usersCreate(data)
|
|
@@ -1891,7 +1891,7 @@ export async function createPaymentsUsersCreate( data: PaymentCreateRequest, c
|
|
|
1891
1891
|
* @method GET
|
|
1892
1892
|
* @path /cfg/payments/users/{id}/
|
|
1893
1893
|
*/
|
|
1894
|
-
export async function getPaymentsUsersRetrieve( id: string, client
|
|
1894
|
+
export async function getPaymentsUsersRetrieve( id: string, client?
|
|
1895
1895
|
): Promise<Payment> {
|
|
1896
1896
|
const api = client || getAPIInstance()
|
|
1897
1897
|
const response = await api.cfg_payments.usersRetrieve(id)
|
|
@@ -1905,7 +1905,7 @@ export async function getPaymentsUsersRetrieve( id: string, client?: API
|
|
|
1905
1905
|
* @method PUT
|
|
1906
1906
|
* @path /cfg/payments/users/{id}/
|
|
1907
1907
|
*/
|
|
1908
|
-
export async function updatePaymentsUsersUpdate( id: string, data: PaymentRequest, client
|
|
1908
|
+
export async function updatePaymentsUsersUpdate( id: string, data: PaymentRequest, client?
|
|
1909
1909
|
): Promise<Payment> {
|
|
1910
1910
|
const api = client || getAPIInstance()
|
|
1911
1911
|
const response = await api.cfg_payments.usersUpdate(id, data)
|
|
@@ -1919,7 +1919,7 @@ export async function updatePaymentsUsersUpdate( id: string, data: PaymentReque
|
|
|
1919
1919
|
* @method PATCH
|
|
1920
1920
|
* @path /cfg/payments/users/{id}/
|
|
1921
1921
|
*/
|
|
1922
|
-
export async function partialUpdatePaymentsUsersPartialUpdate( id: string, data?: PatchedPaymentRequest, client
|
|
1922
|
+
export async function partialUpdatePaymentsUsersPartialUpdate( id: string, data?: PatchedPaymentRequest, client?
|
|
1923
1923
|
): Promise<Payment> {
|
|
1924
1924
|
const api = client || getAPIInstance()
|
|
1925
1925
|
const response = await api.cfg_payments.usersPartialUpdate(id, data)
|
|
@@ -1933,7 +1933,7 @@ export async function partialUpdatePaymentsUsersPartialUpdate( id: string, data
|
|
|
1933
1933
|
* @method DELETE
|
|
1934
1934
|
* @path /cfg/payments/users/{id}/
|
|
1935
1935
|
*/
|
|
1936
|
-
export async function deletePaymentsUsersDestroy( id: string, client
|
|
1936
|
+
export async function deletePaymentsUsersDestroy( id: string, client?
|
|
1937
1937
|
): Promise<void> {
|
|
1938
1938
|
const api = client || getAPIInstance()
|
|
1939
1939
|
const response = await api.cfg_payments.usersDestroy(id)
|
|
@@ -1947,7 +1947,7 @@ export async function deletePaymentsUsersDestroy( id: string, client?: API
|
|
|
1947
1947
|
* @method POST
|
|
1948
1948
|
* @path /cfg/payments/users/{id}/cancel/
|
|
1949
1949
|
*/
|
|
1950
|
-
export async function createPaymentsUsersCancelCreate( id: string, data: PaymentRequest, client
|
|
1950
|
+
export async function createPaymentsUsersCancelCreate( id: string, data: PaymentRequest, client?
|
|
1951
1951
|
): Promise<Payment> {
|
|
1952
1952
|
const api = client || getAPIInstance()
|
|
1953
1953
|
const response = await api.cfg_payments.usersCancelCreate(id, data)
|
|
@@ -1961,7 +1961,7 @@ export async function createPaymentsUsersCancelCreate( id: string, data: Paymen
|
|
|
1961
1961
|
* @method POST
|
|
1962
1962
|
* @path /cfg/payments/users/{id}/check_status/
|
|
1963
1963
|
*/
|
|
1964
|
-
export async function createPaymentsUsersCheckStatusCreate( id: string, data: PaymentRequest, client
|
|
1964
|
+
export async function createPaymentsUsersCheckStatusCreate( id: string, data: PaymentRequest, client?
|
|
1965
1965
|
): Promise<Payment> {
|
|
1966
1966
|
const api = client || getAPIInstance()
|
|
1967
1967
|
const response = await api.cfg_payments.usersCheckStatusCreate(id, data)
|
|
@@ -1975,7 +1975,7 @@ export async function createPaymentsUsersCheckStatusCreate( id: string, data: P
|
|
|
1975
1975
|
* @method GET
|
|
1976
1976
|
* @path /cfg/payments/users/{user_pk}/api-keys/
|
|
1977
1977
|
*/
|
|
1978
|
-
export async function getPaymentsUsersApiKeysList( user_pk: number, params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client
|
|
1978
|
+
export async function getPaymentsUsersApiKeysList( user_pk: number, params?: { is_active?: boolean; ordering?: string; page?: number; page_size?: number; search?: string }, client?
|
|
1979
1979
|
): Promise<PaginatedAPIKeyListList> {
|
|
1980
1980
|
const api = client || getAPIInstance()
|
|
1981
1981
|
const response = await api.cfg_payments.usersApiKeysList(user_pk, params?.is_active, params?.ordering, params?.page, params?.page_size, params?.search)
|
|
@@ -1989,7 +1989,7 @@ export async function getPaymentsUsersApiKeysList( user_pk: number, params?: {
|
|
|
1989
1989
|
* @method POST
|
|
1990
1990
|
* @path /cfg/payments/users/{user_pk}/api-keys/
|
|
1991
1991
|
*/
|
|
1992
|
-
export async function createPaymentsUsersApiKeysCreate( user_pk: number, data: APIKeyCreateRequest, client
|
|
1992
|
+
export async function createPaymentsUsersApiKeysCreate( user_pk: number, data: APIKeyCreateRequest, client?
|
|
1993
1993
|
): Promise<APIKeyCreate> {
|
|
1994
1994
|
const api = client || getAPIInstance()
|
|
1995
1995
|
const response = await api.cfg_payments.usersApiKeysCreate(user_pk, data)
|
|
@@ -2003,7 +2003,7 @@ export async function createPaymentsUsersApiKeysCreate( user_pk: number, data:
|
|
|
2003
2003
|
* @method GET
|
|
2004
2004
|
* @path /cfg/payments/users/{user_pk}/api-keys/{id}/
|
|
2005
2005
|
*/
|
|
2006
|
-
export async function getPaymentsUsersApiKeysRetrieve( id: string, user_pk: number, client
|
|
2006
|
+
export async function getPaymentsUsersApiKeysRetrieve( id: string, user_pk: number, client?
|
|
2007
2007
|
): Promise<APIKeyDetail> {
|
|
2008
2008
|
const api = client || getAPIInstance()
|
|
2009
2009
|
const response = await api.cfg_payments.usersApiKeysRetrieve(id, user_pk)
|
|
@@ -2017,7 +2017,7 @@ export async function getPaymentsUsersApiKeysRetrieve( id: string, user_pk: num
|
|
|
2017
2017
|
* @method PUT
|
|
2018
2018
|
* @path /cfg/payments/users/{user_pk}/api-keys/{id}/
|
|
2019
2019
|
*/
|
|
2020
|
-
export async function updatePaymentsUsersApiKeysUpdate( id: string, user_pk: number, data: APIKeyUpdateRequest, client
|
|
2020
|
+
export async function updatePaymentsUsersApiKeysUpdate( id: string, user_pk: number, data: APIKeyUpdateRequest, client?
|
|
2021
2021
|
): Promise<APIKeyUpdate> {
|
|
2022
2022
|
const api = client || getAPIInstance()
|
|
2023
2023
|
const response = await api.cfg_payments.usersApiKeysUpdate(id, user_pk, data)
|
|
@@ -2031,7 +2031,7 @@ export async function updatePaymentsUsersApiKeysUpdate( id: string, user_pk: nu
|
|
|
2031
2031
|
* @method PATCH
|
|
2032
2032
|
* @path /cfg/payments/users/{user_pk}/api-keys/{id}/
|
|
2033
2033
|
*/
|
|
2034
|
-
export async function partialUpdatePaymentsUsersApiKeysPartialUpdate( id: string, user_pk: number, data?: PatchedAPIKeyUpdateRequest, client
|
|
2034
|
+
export async function partialUpdatePaymentsUsersApiKeysPartialUpdate( id: string, user_pk: number, data?: PatchedAPIKeyUpdateRequest, client?
|
|
2035
2035
|
): Promise<APIKeyUpdate> {
|
|
2036
2036
|
const api = client || getAPIInstance()
|
|
2037
2037
|
const response = await api.cfg_payments.usersApiKeysPartialUpdate(id, user_pk, data)
|
|
@@ -2045,7 +2045,7 @@ export async function partialUpdatePaymentsUsersApiKeysPartialUpdate( id: strin
|
|
|
2045
2045
|
* @method DELETE
|
|
2046
2046
|
* @path /cfg/payments/users/{user_pk}/api-keys/{id}/
|
|
2047
2047
|
*/
|
|
2048
|
-
export async function deletePaymentsUsersApiKeysDestroy( id: string, user_pk: number, client
|
|
2048
|
+
export async function deletePaymentsUsersApiKeysDestroy( id: string, user_pk: number, client?
|
|
2049
2049
|
): Promise<void> {
|
|
2050
2050
|
const api = client || getAPIInstance()
|
|
2051
2051
|
const response = await api.cfg_payments.usersApiKeysDestroy(id, user_pk)
|
|
@@ -2059,7 +2059,7 @@ export async function deletePaymentsUsersApiKeysDestroy( id: string, user_pk: n
|
|
|
2059
2059
|
* @method POST
|
|
2060
2060
|
* @path /cfg/payments/users/{user_pk}/api-keys/{id}/perform_action/
|
|
2061
2061
|
*/
|
|
2062
|
-
export async function createPaymentsUsersApiKeysPerformActionCreate( id: string, user_pk: number, client
|
|
2062
|
+
export async function createPaymentsUsersApiKeysPerformActionCreate( id: string, user_pk: number, client?
|
|
2063
2063
|
): Promise<APIKeyDetail> {
|
|
2064
2064
|
const api = client || getAPIInstance()
|
|
2065
2065
|
const response = await api.cfg_payments.usersApiKeysPerformActionCreate(id, user_pk)
|
|
@@ -2073,7 +2073,7 @@ export async function createPaymentsUsersApiKeysPerformActionCreate( id: string
|
|
|
2073
2073
|
* @method GET
|
|
2074
2074
|
* @path /cfg/payments/users/{user_pk}/api-keys/active/
|
|
2075
2075
|
*/
|
|
2076
|
-
export async function getPaymentsUsersApiKeysActiveRetrieve( user_pk: number, client
|
|
2076
|
+
export async function getPaymentsUsersApiKeysActiveRetrieve( user_pk: number, client?
|
|
2077
2077
|
): Promise<APIKeyDetail> {
|
|
2078
2078
|
const api = client || getAPIInstance()
|
|
2079
2079
|
const response = await api.cfg_payments.usersApiKeysActiveRetrieve(user_pk)
|
|
@@ -2087,7 +2087,7 @@ export async function getPaymentsUsersApiKeysActiveRetrieve( user_pk: number,
|
|
|
2087
2087
|
* @method GET
|
|
2088
2088
|
* @path /cfg/payments/users/{user_pk}/api-keys/health/
|
|
2089
2089
|
*/
|
|
2090
|
-
export async function getPaymentsUsersApiKeysHealthRetrieve( user_pk: number, client
|
|
2090
|
+
export async function getPaymentsUsersApiKeysHealthRetrieve( user_pk: number, client?
|
|
2091
2091
|
): Promise<APIKeyDetail> {
|
|
2092
2092
|
const api = client || getAPIInstance()
|
|
2093
2093
|
const response = await api.cfg_payments.usersApiKeysHealthRetrieve(user_pk)
|
|
@@ -2101,7 +2101,7 @@ export async function getPaymentsUsersApiKeysHealthRetrieve( user_pk: number,
|
|
|
2101
2101
|
* @method GET
|
|
2102
2102
|
* @path /cfg/payments/users/{user_pk}/api-keys/stats/
|
|
2103
2103
|
*/
|
|
2104
|
-
export async function getPaymentsUsersApiKeysStatsRetrieve( user_pk: number, client
|
|
2104
|
+
export async function getPaymentsUsersApiKeysStatsRetrieve( user_pk: number, client?
|
|
2105
2105
|
): Promise<APIKeyDetail> {
|
|
2106
2106
|
const api = client || getAPIInstance()
|
|
2107
2107
|
const response = await api.cfg_payments.usersApiKeysStatsRetrieve(user_pk)
|
|
@@ -2115,7 +2115,7 @@ export async function getPaymentsUsersApiKeysStatsRetrieve( user_pk: number, c
|
|
|
2115
2115
|
* @method GET
|
|
2116
2116
|
* @path /cfg/payments/users/{user_pk}/api-keys/summary/
|
|
2117
2117
|
*/
|
|
2118
|
-
export async function getPaymentsUsersApiKeysSummaryRetrieve( user_pk: number, client
|
|
2118
|
+
export async function getPaymentsUsersApiKeysSummaryRetrieve( user_pk: number, client?
|
|
2119
2119
|
): Promise<APIKeyDetail> {
|
|
2120
2120
|
const api = client || getAPIInstance()
|
|
2121
2121
|
const response = await api.cfg_payments.usersApiKeysSummaryRetrieve(user_pk)
|
|
@@ -2129,7 +2129,7 @@ export async function getPaymentsUsersApiKeysSummaryRetrieve( user_pk: number,
|
|
|
2129
2129
|
* @method GET
|
|
2130
2130
|
* @path /cfg/payments/users/{user_pk}/payment/
|
|
2131
2131
|
*/
|
|
2132
|
-
export async function getPaymentsUsersPaymentList( user_pk: number, params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string }, client
|
|
2132
|
+
export async function getPaymentsUsersPaymentList( user_pk: number, params?: { currency__code?: string; ordering?: string; page?: number; page_size?: number; provider?: string; search?: string; status?: string }, client?
|
|
2133
2133
|
): Promise<PaginatedPaymentListList> {
|
|
2134
2134
|
const api = client || getAPIInstance()
|
|
2135
2135
|
const response = await api.cfg_payments.usersPaymentList(user_pk, params?.currency__code, params?.ordering, params?.page, params?.page_size, params?.provider, params?.search, params?.status)
|
|
@@ -2143,7 +2143,7 @@ export async function getPaymentsUsersPaymentList( user_pk: number, params?: {
|
|
|
2143
2143
|
* @method POST
|
|
2144
2144
|
* @path /cfg/payments/users/{user_pk}/payment/
|
|
2145
2145
|
*/
|
|
2146
|
-
export async function createPaymentsUsersPaymentCreate( user_pk: number, data: PaymentCreateRequest, client
|
|
2146
|
+
export async function createPaymentsUsersPaymentCreate( user_pk: number, data: PaymentCreateRequest, client?
|
|
2147
2147
|
): Promise<PaymentCreate> {
|
|
2148
2148
|
const api = client || getAPIInstance()
|
|
2149
2149
|
const response = await api.cfg_payments.usersPaymentCreate(user_pk, data)
|
|
@@ -2157,7 +2157,7 @@ export async function createPaymentsUsersPaymentCreate( user_pk: number, data:
|
|
|
2157
2157
|
* @method GET
|
|
2158
2158
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/
|
|
2159
2159
|
*/
|
|
2160
|
-
export async function getPaymentsUsersPaymentRetrieve( id: string, user_pk: number, client
|
|
2160
|
+
export async function getPaymentsUsersPaymentRetrieve( id: string, user_pk: number, client?
|
|
2161
2161
|
): Promise<Payment> {
|
|
2162
2162
|
const api = client || getAPIInstance()
|
|
2163
2163
|
const response = await api.cfg_payments.usersPaymentRetrieve(id, user_pk)
|
|
@@ -2171,7 +2171,7 @@ export async function getPaymentsUsersPaymentRetrieve( id: string, user_pk: num
|
|
|
2171
2171
|
* @method PUT
|
|
2172
2172
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/
|
|
2173
2173
|
*/
|
|
2174
|
-
export async function updatePaymentsUsersPaymentUpdate( id: string, user_pk: number, data: PaymentRequest, client
|
|
2174
|
+
export async function updatePaymentsUsersPaymentUpdate( id: string, user_pk: number, data: PaymentRequest, client?
|
|
2175
2175
|
): Promise<Payment> {
|
|
2176
2176
|
const api = client || getAPIInstance()
|
|
2177
2177
|
const response = await api.cfg_payments.usersPaymentUpdate(id, user_pk, data)
|
|
@@ -2185,7 +2185,7 @@ export async function updatePaymentsUsersPaymentUpdate( id: string, user_pk: nu
|
|
|
2185
2185
|
* @method PATCH
|
|
2186
2186
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/
|
|
2187
2187
|
*/
|
|
2188
|
-
export async function partialUpdatePaymentsUsersPaymentPartialUpdate( id: string, user_pk: number, data?: PatchedPaymentRequest, client
|
|
2188
|
+
export async function partialUpdatePaymentsUsersPaymentPartialUpdate( id: string, user_pk: number, data?: PatchedPaymentRequest, client?
|
|
2189
2189
|
): Promise<Payment> {
|
|
2190
2190
|
const api = client || getAPIInstance()
|
|
2191
2191
|
const response = await api.cfg_payments.usersPaymentPartialUpdate(id, user_pk, data)
|
|
@@ -2199,7 +2199,7 @@ export async function partialUpdatePaymentsUsersPaymentPartialUpdate( id: strin
|
|
|
2199
2199
|
* @method DELETE
|
|
2200
2200
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/
|
|
2201
2201
|
*/
|
|
2202
|
-
export async function deletePaymentsUsersPaymentDestroy( id: string, user_pk: number, client
|
|
2202
|
+
export async function deletePaymentsUsersPaymentDestroy( id: string, user_pk: number, client?
|
|
2203
2203
|
): Promise<void> {
|
|
2204
2204
|
const api = client || getAPIInstance()
|
|
2205
2205
|
const response = await api.cfg_payments.usersPaymentDestroy(id, user_pk)
|
|
@@ -2213,7 +2213,7 @@ export async function deletePaymentsUsersPaymentDestroy( id: string, user_pk: n
|
|
|
2213
2213
|
* @method POST
|
|
2214
2214
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/cancel/
|
|
2215
2215
|
*/
|
|
2216
|
-
export async function createPaymentsUsersPaymentCancelCreate( id: string, user_pk: number, data: PaymentRequest, client
|
|
2216
|
+
export async function createPaymentsUsersPaymentCancelCreate( id: string, user_pk: number, data: PaymentRequest, client?
|
|
2217
2217
|
): Promise<Payment> {
|
|
2218
2218
|
const api = client || getAPIInstance()
|
|
2219
2219
|
const response = await api.cfg_payments.usersPaymentCancelCreate(id, user_pk, data)
|
|
@@ -2227,7 +2227,7 @@ export async function createPaymentsUsersPaymentCancelCreate( id: string, user_
|
|
|
2227
2227
|
* @method POST
|
|
2228
2228
|
* @path /cfg/payments/users/{user_pk}/payment/{id}/check_status/
|
|
2229
2229
|
*/
|
|
2230
|
-
export async function createPaymentsUsersPaymentCheckStatusCreate( id: string, user_pk: number, data: PaymentRequest, client
|
|
2230
|
+
export async function createPaymentsUsersPaymentCheckStatusCreate( id: string, user_pk: number, data: PaymentRequest, client?
|
|
2231
2231
|
): Promise<Payment> {
|
|
2232
2232
|
const api = client || getAPIInstance()
|
|
2233
2233
|
const response = await api.cfg_payments.usersPaymentCheckStatusCreate(id, user_pk, data)
|
|
@@ -2241,7 +2241,7 @@ export async function createPaymentsUsersPaymentCheckStatusCreate( id: string,
|
|
|
2241
2241
|
* @method GET
|
|
2242
2242
|
* @path /cfg/payments/users/{user_pk}/payment/health/
|
|
2243
2243
|
*/
|
|
2244
|
-
export async function getPaymentsUsersPaymentHealthRetrieve( user_pk: number, client
|
|
2244
|
+
export async function getPaymentsUsersPaymentHealthRetrieve( user_pk: number, client?
|
|
2245
2245
|
): Promise<Payment> {
|
|
2246
2246
|
const api = client || getAPIInstance()
|
|
2247
2247
|
const response = await api.cfg_payments.usersPaymentHealthRetrieve(user_pk)
|
|
@@ -2255,7 +2255,7 @@ export async function getPaymentsUsersPaymentHealthRetrieve( user_pk: number,
|
|
|
2255
2255
|
* @method GET
|
|
2256
2256
|
* @path /cfg/payments/users/{user_pk}/payment/stats/
|
|
2257
2257
|
*/
|
|
2258
|
-
export async function getPaymentsUsersPaymentStatsRetrieve( user_pk: number, client
|
|
2258
|
+
export async function getPaymentsUsersPaymentStatsRetrieve( user_pk: number, client?
|
|
2259
2259
|
): Promise<Payment> {
|
|
2260
2260
|
const api = client || getAPIInstance()
|
|
2261
2261
|
const response = await api.cfg_payments.usersPaymentStatsRetrieve(user_pk)
|
|
@@ -2269,7 +2269,7 @@ export async function getPaymentsUsersPaymentStatsRetrieve( user_pk: number, c
|
|
|
2269
2269
|
* @method GET
|
|
2270
2270
|
* @path /cfg/payments/users/{user_pk}/payment/summary/
|
|
2271
2271
|
*/
|
|
2272
|
-
export async function getPaymentsUsersPaymentSummaryRetrieve( user_pk: number, client
|
|
2272
|
+
export async function getPaymentsUsersPaymentSummaryRetrieve( user_pk: number, client?
|
|
2273
2273
|
): Promise<Payment> {
|
|
2274
2274
|
const api = client || getAPIInstance()
|
|
2275
2275
|
const response = await api.cfg_payments.usersPaymentSummaryRetrieve(user_pk)
|
|
@@ -2283,7 +2283,7 @@ export async function getPaymentsUsersPaymentSummaryRetrieve( user_pk: number,
|
|
|
2283
2283
|
* @method GET
|
|
2284
2284
|
* @path /cfg/payments/users/{user_pk}/subscriptions/
|
|
2285
2285
|
*/
|
|
2286
|
-
export async function getPaymentsUsersSubscriptionsList( user_pk: number, params?: { ordering?: string; page?: number; page_size?: number; search?: string; status?: string; tier?: string }, client
|
|
2286
|
+
export async function getPaymentsUsersSubscriptionsList( user_pk: number, params?: { ordering?: string; page?: number; page_size?: number; search?: string; status?: string; tier?: string }, client?
|
|
2287
2287
|
): Promise<PaginatedSubscriptionListList> {
|
|
2288
2288
|
const api = client || getAPIInstance()
|
|
2289
2289
|
const response = await api.cfg_payments.usersSubscriptionsList(user_pk, params?.ordering, params?.page, params?.page_size, params?.search, params?.status, params?.tier)
|
|
@@ -2297,7 +2297,7 @@ export async function getPaymentsUsersSubscriptionsList( user_pk: number, param
|
|
|
2297
2297
|
* @method POST
|
|
2298
2298
|
* @path /cfg/payments/users/{user_pk}/subscriptions/
|
|
2299
2299
|
*/
|
|
2300
|
-
export async function createPaymentsUsersSubscriptionsCreate( user_pk: number, data: SubscriptionCreateRequest, client
|
|
2300
|
+
export async function createPaymentsUsersSubscriptionsCreate( user_pk: number, data: SubscriptionCreateRequest, client?
|
|
2301
2301
|
): Promise<SubscriptionCreate> {
|
|
2302
2302
|
const api = client || getAPIInstance()
|
|
2303
2303
|
const response = await api.cfg_payments.usersSubscriptionsCreate(user_pk, data)
|
|
@@ -2311,7 +2311,7 @@ export async function createPaymentsUsersSubscriptionsCreate( user_pk: number,
|
|
|
2311
2311
|
* @method GET
|
|
2312
2312
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/
|
|
2313
2313
|
*/
|
|
2314
|
-
export async function getPaymentsUsersSubscriptionsRetrieve( id: string, user_pk: number, client
|
|
2314
|
+
export async function getPaymentsUsersSubscriptionsRetrieve( id: string, user_pk: number, client?
|
|
2315
2315
|
): Promise<Subscription> {
|
|
2316
2316
|
const api = client || getAPIInstance()
|
|
2317
2317
|
const response = await api.cfg_payments.usersSubscriptionsRetrieve(id, user_pk)
|
|
@@ -2325,7 +2325,7 @@ export async function getPaymentsUsersSubscriptionsRetrieve( id: string, user_p
|
|
|
2325
2325
|
* @method PUT
|
|
2326
2326
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/
|
|
2327
2327
|
*/
|
|
2328
|
-
export async function updatePaymentsUsersSubscriptionsUpdate( id: string, user_pk: number, data: SubscriptionRequest, client
|
|
2328
|
+
export async function updatePaymentsUsersSubscriptionsUpdate( id: string, user_pk: number, data: SubscriptionRequest, client?
|
|
2329
2329
|
): Promise<Subscription> {
|
|
2330
2330
|
const api = client || getAPIInstance()
|
|
2331
2331
|
const response = await api.cfg_payments.usersSubscriptionsUpdate(id, user_pk, data)
|
|
@@ -2339,7 +2339,7 @@ export async function updatePaymentsUsersSubscriptionsUpdate( id: string, user_
|
|
|
2339
2339
|
* @method PATCH
|
|
2340
2340
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/
|
|
2341
2341
|
*/
|
|
2342
|
-
export async function partialUpdatePaymentsUsersSubscriptionsPartialUpdate( id: string, user_pk: number, data?: PatchedSubscriptionRequest, client
|
|
2342
|
+
export async function partialUpdatePaymentsUsersSubscriptionsPartialUpdate( id: string, user_pk: number, data?: PatchedSubscriptionRequest, client?
|
|
2343
2343
|
): Promise<Subscription> {
|
|
2344
2344
|
const api = client || getAPIInstance()
|
|
2345
2345
|
const response = await api.cfg_payments.usersSubscriptionsPartialUpdate(id, user_pk, data)
|
|
@@ -2353,7 +2353,7 @@ export async function partialUpdatePaymentsUsersSubscriptionsPartialUpdate( id:
|
|
|
2353
2353
|
* @method DELETE
|
|
2354
2354
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/
|
|
2355
2355
|
*/
|
|
2356
|
-
export async function deletePaymentsUsersSubscriptionsDestroy( id: string, user_pk: number, client
|
|
2356
|
+
export async function deletePaymentsUsersSubscriptionsDestroy( id: string, user_pk: number, client?
|
|
2357
2357
|
): Promise<void> {
|
|
2358
2358
|
const api = client || getAPIInstance()
|
|
2359
2359
|
const response = await api.cfg_payments.usersSubscriptionsDestroy(id, user_pk)
|
|
@@ -2367,7 +2367,7 @@ export async function deletePaymentsUsersSubscriptionsDestroy( id: string, user
|
|
|
2367
2367
|
* @method POST
|
|
2368
2368
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/increment_usage/
|
|
2369
2369
|
*/
|
|
2370
|
-
export async function createPaymentsUsersSubscriptionsIncrementUsageCreate( id: string, user_pk: number, data: SubscriptionRequest, client
|
|
2370
|
+
export async function createPaymentsUsersSubscriptionsIncrementUsageCreate( id: string, user_pk: number, data: SubscriptionRequest, client?
|
|
2371
2371
|
): Promise<Subscription> {
|
|
2372
2372
|
const api = client || getAPIInstance()
|
|
2373
2373
|
const response = await api.cfg_payments.usersSubscriptionsIncrementUsageCreate(id, user_pk, data)
|
|
@@ -2381,7 +2381,7 @@ export async function createPaymentsUsersSubscriptionsIncrementUsageCreate( id:
|
|
|
2381
2381
|
* @method POST
|
|
2382
2382
|
* @path /cfg/payments/users/{user_pk}/subscriptions/{id}/update_status/
|
|
2383
2383
|
*/
|
|
2384
|
-
export async function createPaymentsUsersSubscriptionsUpdateStatusCreate( id: string, user_pk: number, data: SubscriptionRequest, client
|
|
2384
|
+
export async function createPaymentsUsersSubscriptionsUpdateStatusCreate( id: string, user_pk: number, data: SubscriptionRequest, client?
|
|
2385
2385
|
): Promise<Subscription> {
|
|
2386
2386
|
const api = client || getAPIInstance()
|
|
2387
2387
|
const response = await api.cfg_payments.usersSubscriptionsUpdateStatusCreate(id, user_pk, data)
|
|
@@ -2395,7 +2395,7 @@ export async function createPaymentsUsersSubscriptionsUpdateStatusCreate( id: s
|
|
|
2395
2395
|
* @method GET
|
|
2396
2396
|
* @path /cfg/payments/users/{user_pk}/subscriptions/active/
|
|
2397
2397
|
*/
|
|
2398
|
-
export async function getPaymentsUsersSubscriptionsActiveRetrieve( user_pk: number, client
|
|
2398
|
+
export async function getPaymentsUsersSubscriptionsActiveRetrieve( user_pk: number, client?
|
|
2399
2399
|
): Promise<Subscription> {
|
|
2400
2400
|
const api = client || getAPIInstance()
|
|
2401
2401
|
const response = await api.cfg_payments.usersSubscriptionsActiveRetrieve(user_pk)
|
|
@@ -2409,7 +2409,7 @@ export async function getPaymentsUsersSubscriptionsActiveRetrieve( user_pk: num
|
|
|
2409
2409
|
* @method GET
|
|
2410
2410
|
* @path /cfg/payments/users/{user_pk}/subscriptions/health/
|
|
2411
2411
|
*/
|
|
2412
|
-
export async function getPaymentsUsersSubscriptionsHealthRetrieve( user_pk: number, client
|
|
2412
|
+
export async function getPaymentsUsersSubscriptionsHealthRetrieve( user_pk: number, client?
|
|
2413
2413
|
): Promise<Subscription> {
|
|
2414
2414
|
const api = client || getAPIInstance()
|
|
2415
2415
|
const response = await api.cfg_payments.usersSubscriptionsHealthRetrieve(user_pk)
|
|
@@ -2423,7 +2423,7 @@ export async function getPaymentsUsersSubscriptionsHealthRetrieve( user_pk: num
|
|
|
2423
2423
|
* @method GET
|
|
2424
2424
|
* @path /cfg/payments/users/{user_pk}/subscriptions/stats/
|
|
2425
2425
|
*/
|
|
2426
|
-
export async function getPaymentsUsersSubscriptionsStatsRetrieve( user_pk: number, client
|
|
2426
|
+
export async function getPaymentsUsersSubscriptionsStatsRetrieve( user_pk: number, client?
|
|
2427
2427
|
): Promise<Subscription> {
|
|
2428
2428
|
const api = client || getAPIInstance()
|
|
2429
2429
|
const response = await api.cfg_payments.usersSubscriptionsStatsRetrieve(user_pk)
|
|
@@ -2437,7 +2437,7 @@ export async function getPaymentsUsersSubscriptionsStatsRetrieve( user_pk: numb
|
|
|
2437
2437
|
* @method GET
|
|
2438
2438
|
* @path /cfg/payments/users/{user_pk}/subscriptions/summary/
|
|
2439
2439
|
*/
|
|
2440
|
-
export async function getPaymentsUsersSubscriptionsSummaryRetrieve( user_pk: number, client
|
|
2440
|
+
export async function getPaymentsUsersSubscriptionsSummaryRetrieve( user_pk: number, client?
|
|
2441
2441
|
): Promise<Subscription> {
|
|
2442
2442
|
const api = client || getAPIInstance()
|
|
2443
2443
|
const response = await api.cfg_payments.usersSubscriptionsSummaryRetrieve(user_pk)
|
|
@@ -2451,7 +2451,7 @@ export async function getPaymentsUsersSubscriptionsSummaryRetrieve( user_pk: nu
|
|
|
2451
2451
|
* @method GET
|
|
2452
2452
|
* @path /cfg/payments/users/health/
|
|
2453
2453
|
*/
|
|
2454
|
-
export async function getPaymentsUsersHealthRetrieve( client
|
|
2454
|
+
export async function getPaymentsUsersHealthRetrieve( client?
|
|
2455
2455
|
): Promise<Payment> {
|
|
2456
2456
|
const api = client || getAPIInstance()
|
|
2457
2457
|
const response = await api.cfg_payments.usersHealthRetrieve()
|
|
@@ -2465,7 +2465,7 @@ export async function getPaymentsUsersHealthRetrieve( client?: API
|
|
|
2465
2465
|
* @method GET
|
|
2466
2466
|
* @path /cfg/payments/users/stats/
|
|
2467
2467
|
*/
|
|
2468
|
-
export async function getPaymentsUsersStatsRetrieve( client
|
|
2468
|
+
export async function getPaymentsUsersStatsRetrieve( client?
|
|
2469
2469
|
): Promise<Payment> {
|
|
2470
2470
|
const api = client || getAPIInstance()
|
|
2471
2471
|
const response = await api.cfg_payments.usersStatsRetrieve()
|
|
@@ -2479,7 +2479,7 @@ export async function getPaymentsUsersStatsRetrieve( client?: API
|
|
|
2479
2479
|
* @method GET
|
|
2480
2480
|
* @path /cfg/payments/users/summary/
|
|
2481
2481
|
*/
|
|
2482
|
-
export async function getPaymentsUsersSummaryRetrieve( client
|
|
2482
|
+
export async function getPaymentsUsersSummaryRetrieve( client?
|
|
2483
2483
|
): Promise<Payment> {
|
|
2484
2484
|
const api = client || getAPIInstance()
|
|
2485
2485
|
const response = await api.cfg_payments.usersSummaryRetrieve()
|