waldur-js-client 7.8.4 → 7.8.5-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.gen.d.ts +79 -1
- package/dist/sdk.gen.js +494 -0
- package/dist/types.gen.d.ts +513 -22
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -13458,6 +13458,29 @@ export const marketplaceProviderResourcesSetBackendMetadata = (options) => {
|
|
|
13458
13458
|
}
|
|
13459
13459
|
});
|
|
13460
13460
|
};
|
|
13461
|
+
/**
|
|
13462
|
+
* Set downscaled flag for resource.
|
|
13463
|
+
*/
|
|
13464
|
+
export const marketplaceProviderResourcesSetDownscaled = (options) => {
|
|
13465
|
+
return (options.client ?? _heyApiClient).post({
|
|
13466
|
+
security: [
|
|
13467
|
+
{
|
|
13468
|
+
name: 'Authorization',
|
|
13469
|
+
type: 'apiKey'
|
|
13470
|
+
},
|
|
13471
|
+
{
|
|
13472
|
+
scheme: 'bearer',
|
|
13473
|
+
type: 'http'
|
|
13474
|
+
}
|
|
13475
|
+
],
|
|
13476
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_downscaled/',
|
|
13477
|
+
...options,
|
|
13478
|
+
headers: {
|
|
13479
|
+
'Content-Type': 'application/json',
|
|
13480
|
+
...options.headers
|
|
13481
|
+
}
|
|
13482
|
+
});
|
|
13483
|
+
};
|
|
13461
13484
|
export const marketplaceProviderResourcesSetEndDateByProvider = (options) => {
|
|
13462
13485
|
return (options.client ?? _heyApiClient).post({
|
|
13463
13486
|
security: [
|
|
@@ -13521,6 +13544,52 @@ export const marketplaceProviderResourcesSetLimits = (options) => {
|
|
|
13521
13544
|
}
|
|
13522
13545
|
});
|
|
13523
13546
|
};
|
|
13547
|
+
/**
|
|
13548
|
+
* Set paused flag for resource.
|
|
13549
|
+
*/
|
|
13550
|
+
export const marketplaceProviderResourcesSetPaused = (options) => {
|
|
13551
|
+
return (options.client ?? _heyApiClient).post({
|
|
13552
|
+
security: [
|
|
13553
|
+
{
|
|
13554
|
+
name: 'Authorization',
|
|
13555
|
+
type: 'apiKey'
|
|
13556
|
+
},
|
|
13557
|
+
{
|
|
13558
|
+
scheme: 'bearer',
|
|
13559
|
+
type: 'http'
|
|
13560
|
+
}
|
|
13561
|
+
],
|
|
13562
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_paused/',
|
|
13563
|
+
...options,
|
|
13564
|
+
headers: {
|
|
13565
|
+
'Content-Type': 'application/json',
|
|
13566
|
+
...options.headers
|
|
13567
|
+
}
|
|
13568
|
+
});
|
|
13569
|
+
};
|
|
13570
|
+
/**
|
|
13571
|
+
* Set restrict_member_access flag for resource.
|
|
13572
|
+
*/
|
|
13573
|
+
export const marketplaceProviderResourcesSetRestrictMemberAccess = (options) => {
|
|
13574
|
+
return (options.client ?? _heyApiClient).post({
|
|
13575
|
+
security: [
|
|
13576
|
+
{
|
|
13577
|
+
name: 'Authorization',
|
|
13578
|
+
type: 'apiKey'
|
|
13579
|
+
},
|
|
13580
|
+
{
|
|
13581
|
+
scheme: 'bearer',
|
|
13582
|
+
type: 'http'
|
|
13583
|
+
}
|
|
13584
|
+
],
|
|
13585
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_restrict_member_access/',
|
|
13586
|
+
...options,
|
|
13587
|
+
headers: {
|
|
13588
|
+
'Content-Type': 'application/json',
|
|
13589
|
+
...options.headers
|
|
13590
|
+
}
|
|
13591
|
+
});
|
|
13592
|
+
};
|
|
13524
13593
|
/**
|
|
13525
13594
|
* Set slug for resource.
|
|
13526
13595
|
*/
|
|
@@ -14294,6 +14363,29 @@ export const marketplaceResourcesRenew = (options) => {
|
|
|
14294
14363
|
}
|
|
14295
14364
|
});
|
|
14296
14365
|
};
|
|
14366
|
+
/**
|
|
14367
|
+
* Set downscaled flag for resource.
|
|
14368
|
+
*/
|
|
14369
|
+
export const marketplaceResourcesSetDownscaled = (options) => {
|
|
14370
|
+
return (options.client ?? _heyApiClient).post({
|
|
14371
|
+
security: [
|
|
14372
|
+
{
|
|
14373
|
+
name: 'Authorization',
|
|
14374
|
+
type: 'apiKey'
|
|
14375
|
+
},
|
|
14376
|
+
{
|
|
14377
|
+
scheme: 'bearer',
|
|
14378
|
+
type: 'http'
|
|
14379
|
+
}
|
|
14380
|
+
],
|
|
14381
|
+
url: '/api/marketplace-resources/{uuid}/set_downscaled/',
|
|
14382
|
+
...options,
|
|
14383
|
+
headers: {
|
|
14384
|
+
'Content-Type': 'application/json',
|
|
14385
|
+
...options.headers
|
|
14386
|
+
}
|
|
14387
|
+
});
|
|
14388
|
+
};
|
|
14297
14389
|
/**
|
|
14298
14390
|
* Set end date of the resource by staff.
|
|
14299
14391
|
*/
|
|
@@ -14317,6 +14409,52 @@ export const marketplaceResourcesSetEndDateByStaff = (options) => {
|
|
|
14317
14409
|
}
|
|
14318
14410
|
});
|
|
14319
14411
|
};
|
|
14412
|
+
/**
|
|
14413
|
+
* Set paused flag for resource.
|
|
14414
|
+
*/
|
|
14415
|
+
export const marketplaceResourcesSetPaused = (options) => {
|
|
14416
|
+
return (options.client ?? _heyApiClient).post({
|
|
14417
|
+
security: [
|
|
14418
|
+
{
|
|
14419
|
+
name: 'Authorization',
|
|
14420
|
+
type: 'apiKey'
|
|
14421
|
+
},
|
|
14422
|
+
{
|
|
14423
|
+
scheme: 'bearer',
|
|
14424
|
+
type: 'http'
|
|
14425
|
+
}
|
|
14426
|
+
],
|
|
14427
|
+
url: '/api/marketplace-resources/{uuid}/set_paused/',
|
|
14428
|
+
...options,
|
|
14429
|
+
headers: {
|
|
14430
|
+
'Content-Type': 'application/json',
|
|
14431
|
+
...options.headers
|
|
14432
|
+
}
|
|
14433
|
+
});
|
|
14434
|
+
};
|
|
14435
|
+
/**
|
|
14436
|
+
* Set restrict_member_access flag for resource.
|
|
14437
|
+
*/
|
|
14438
|
+
export const marketplaceResourcesSetRestrictMemberAccess = (options) => {
|
|
14439
|
+
return (options.client ?? _heyApiClient).post({
|
|
14440
|
+
security: [
|
|
14441
|
+
{
|
|
14442
|
+
name: 'Authorization',
|
|
14443
|
+
type: 'apiKey'
|
|
14444
|
+
},
|
|
14445
|
+
{
|
|
14446
|
+
scheme: 'bearer',
|
|
14447
|
+
type: 'http'
|
|
14448
|
+
}
|
|
14449
|
+
],
|
|
14450
|
+
url: '/api/marketplace-resources/{uuid}/set_restrict_member_access/',
|
|
14451
|
+
...options,
|
|
14452
|
+
headers: {
|
|
14453
|
+
'Content-Type': 'application/json',
|
|
14454
|
+
...options.headers
|
|
14455
|
+
}
|
|
14456
|
+
});
|
|
14457
|
+
};
|
|
14320
14458
|
/**
|
|
14321
14459
|
* Set slug for resource.
|
|
14322
14460
|
*/
|
|
@@ -15699,6 +15837,316 @@ export const marketplaceServiceProvidersUpdateUser = (options) => {
|
|
|
15699
15837
|
}
|
|
15700
15838
|
});
|
|
15701
15839
|
};
|
|
15840
|
+
/**
|
|
15841
|
+
* Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
15842
|
+
*/
|
|
15843
|
+
export const marketplaceSiteAgentIdentitiesList = (options) => {
|
|
15844
|
+
return (options?.client ?? _heyApiClient).get({
|
|
15845
|
+
security: [
|
|
15846
|
+
{
|
|
15847
|
+
name: 'Authorization',
|
|
15848
|
+
type: 'apiKey'
|
|
15849
|
+
},
|
|
15850
|
+
{
|
|
15851
|
+
scheme: 'bearer',
|
|
15852
|
+
type: 'http'
|
|
15853
|
+
}
|
|
15854
|
+
],
|
|
15855
|
+
url: '/api/marketplace-site-agent-identities/',
|
|
15856
|
+
...options
|
|
15857
|
+
});
|
|
15858
|
+
};
|
|
15859
|
+
/**
|
|
15860
|
+
* Get number of items in the collection matching the request parameters.
|
|
15861
|
+
*/
|
|
15862
|
+
export const marketplaceSiteAgentIdentitiesCount = (options) => {
|
|
15863
|
+
return (options?.client ?? _heyApiClient).head({
|
|
15864
|
+
security: [
|
|
15865
|
+
{
|
|
15866
|
+
name: 'Authorization',
|
|
15867
|
+
type: 'apiKey'
|
|
15868
|
+
},
|
|
15869
|
+
{
|
|
15870
|
+
scheme: 'bearer',
|
|
15871
|
+
type: 'http'
|
|
15872
|
+
}
|
|
15873
|
+
],
|
|
15874
|
+
url: '/api/marketplace-site-agent-identities/',
|
|
15875
|
+
...options
|
|
15876
|
+
});
|
|
15877
|
+
};
|
|
15878
|
+
export const marketplaceSiteAgentIdentitiesCreate = (options) => {
|
|
15879
|
+
return (options.client ?? _heyApiClient).post({
|
|
15880
|
+
security: [
|
|
15881
|
+
{
|
|
15882
|
+
name: 'Authorization',
|
|
15883
|
+
type: 'apiKey'
|
|
15884
|
+
},
|
|
15885
|
+
{
|
|
15886
|
+
scheme: 'bearer',
|
|
15887
|
+
type: 'http'
|
|
15888
|
+
}
|
|
15889
|
+
],
|
|
15890
|
+
url: '/api/marketplace-site-agent-identities/',
|
|
15891
|
+
...options,
|
|
15892
|
+
headers: {
|
|
15893
|
+
'Content-Type': 'application/json',
|
|
15894
|
+
...options.headers
|
|
15895
|
+
}
|
|
15896
|
+
});
|
|
15897
|
+
};
|
|
15898
|
+
export const marketplaceSiteAgentIdentitiesDestroy = (options) => {
|
|
15899
|
+
return (options.client ?? _heyApiClient).delete({
|
|
15900
|
+
security: [
|
|
15901
|
+
{
|
|
15902
|
+
name: 'Authorization',
|
|
15903
|
+
type: 'apiKey'
|
|
15904
|
+
},
|
|
15905
|
+
{
|
|
15906
|
+
scheme: 'bearer',
|
|
15907
|
+
type: 'http'
|
|
15908
|
+
}
|
|
15909
|
+
],
|
|
15910
|
+
url: '/api/marketplace-site-agent-identities/{uuid}/',
|
|
15911
|
+
...options
|
|
15912
|
+
});
|
|
15913
|
+
};
|
|
15914
|
+
export const marketplaceSiteAgentIdentitiesRetrieve = (options) => {
|
|
15915
|
+
return (options.client ?? _heyApiClient).get({
|
|
15916
|
+
security: [
|
|
15917
|
+
{
|
|
15918
|
+
name: 'Authorization',
|
|
15919
|
+
type: 'apiKey'
|
|
15920
|
+
},
|
|
15921
|
+
{
|
|
15922
|
+
scheme: 'bearer',
|
|
15923
|
+
type: 'http'
|
|
15924
|
+
}
|
|
15925
|
+
],
|
|
15926
|
+
url: '/api/marketplace-site-agent-identities/{uuid}/',
|
|
15927
|
+
...options
|
|
15928
|
+
});
|
|
15929
|
+
};
|
|
15930
|
+
export const marketplaceSiteAgentIdentitiesUpdate = (options) => {
|
|
15931
|
+
return (options.client ?? _heyApiClient).put({
|
|
15932
|
+
security: [
|
|
15933
|
+
{
|
|
15934
|
+
name: 'Authorization',
|
|
15935
|
+
type: 'apiKey'
|
|
15936
|
+
},
|
|
15937
|
+
{
|
|
15938
|
+
scheme: 'bearer',
|
|
15939
|
+
type: 'http'
|
|
15940
|
+
}
|
|
15941
|
+
],
|
|
15942
|
+
url: '/api/marketplace-site-agent-identities/{uuid}/',
|
|
15943
|
+
...options,
|
|
15944
|
+
headers: {
|
|
15945
|
+
'Content-Type': 'application/json',
|
|
15946
|
+
...options.headers
|
|
15947
|
+
}
|
|
15948
|
+
});
|
|
15949
|
+
};
|
|
15950
|
+
/**
|
|
15951
|
+
* Register an event subscription for the specified agent identity and observable object type. Returns existing subscription if already exists.
|
|
15952
|
+
*/
|
|
15953
|
+
export const marketplaceSiteAgentIdentitiesRegisterEventSubscription = (options) => {
|
|
15954
|
+
return (options.client ?? _heyApiClient).post({
|
|
15955
|
+
security: [
|
|
15956
|
+
{
|
|
15957
|
+
name: 'Authorization',
|
|
15958
|
+
type: 'apiKey'
|
|
15959
|
+
},
|
|
15960
|
+
{
|
|
15961
|
+
scheme: 'bearer',
|
|
15962
|
+
type: 'http'
|
|
15963
|
+
}
|
|
15964
|
+
],
|
|
15965
|
+
url: '/api/marketplace-site-agent-identities/{uuid}/register_event_subscription/',
|
|
15966
|
+
...options,
|
|
15967
|
+
headers: {
|
|
15968
|
+
'Content-Type': 'application/json',
|
|
15969
|
+
...options.headers
|
|
15970
|
+
}
|
|
15971
|
+
});
|
|
15972
|
+
};
|
|
15973
|
+
/**
|
|
15974
|
+
* Register a new processor or get the existing one for the agent service
|
|
15975
|
+
*/
|
|
15976
|
+
export const marketplaceSiteAgentIdentitiesRegisterService = (options) => {
|
|
15977
|
+
return (options.client ?? _heyApiClient).post({
|
|
15978
|
+
security: [
|
|
15979
|
+
{
|
|
15980
|
+
name: 'Authorization',
|
|
15981
|
+
type: 'apiKey'
|
|
15982
|
+
},
|
|
15983
|
+
{
|
|
15984
|
+
scheme: 'bearer',
|
|
15985
|
+
type: 'http'
|
|
15986
|
+
}
|
|
15987
|
+
],
|
|
15988
|
+
url: '/api/marketplace-site-agent-identities/{uuid}/register_service/',
|
|
15989
|
+
...options,
|
|
15990
|
+
headers: {
|
|
15991
|
+
'Content-Type': 'application/json',
|
|
15992
|
+
...options.headers
|
|
15993
|
+
}
|
|
15994
|
+
});
|
|
15995
|
+
};
|
|
15996
|
+
/**
|
|
15997
|
+
* Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
15998
|
+
*/
|
|
15999
|
+
export const marketplaceSiteAgentProcessorsList = (options) => {
|
|
16000
|
+
return (options?.client ?? _heyApiClient).get({
|
|
16001
|
+
security: [
|
|
16002
|
+
{
|
|
16003
|
+
name: 'Authorization',
|
|
16004
|
+
type: 'apiKey'
|
|
16005
|
+
},
|
|
16006
|
+
{
|
|
16007
|
+
scheme: 'bearer',
|
|
16008
|
+
type: 'http'
|
|
16009
|
+
}
|
|
16010
|
+
],
|
|
16011
|
+
url: '/api/marketplace-site-agent-processors/',
|
|
16012
|
+
...options
|
|
16013
|
+
});
|
|
16014
|
+
};
|
|
16015
|
+
/**
|
|
16016
|
+
* Get number of items in the collection matching the request parameters.
|
|
16017
|
+
*/
|
|
16018
|
+
export const marketplaceSiteAgentProcessorsCount = (options) => {
|
|
16019
|
+
return (options?.client ?? _heyApiClient).head({
|
|
16020
|
+
security: [
|
|
16021
|
+
{
|
|
16022
|
+
name: 'Authorization',
|
|
16023
|
+
type: 'apiKey'
|
|
16024
|
+
},
|
|
16025
|
+
{
|
|
16026
|
+
scheme: 'bearer',
|
|
16027
|
+
type: 'http'
|
|
16028
|
+
}
|
|
16029
|
+
],
|
|
16030
|
+
url: '/api/marketplace-site-agent-processors/',
|
|
16031
|
+
...options
|
|
16032
|
+
});
|
|
16033
|
+
};
|
|
16034
|
+
export const marketplaceSiteAgentProcessorsRetrieve = (options) => {
|
|
16035
|
+
return (options.client ?? _heyApiClient).get({
|
|
16036
|
+
security: [
|
|
16037
|
+
{
|
|
16038
|
+
name: 'Authorization',
|
|
16039
|
+
type: 'apiKey'
|
|
16040
|
+
},
|
|
16041
|
+
{
|
|
16042
|
+
scheme: 'bearer',
|
|
16043
|
+
type: 'http'
|
|
16044
|
+
}
|
|
16045
|
+
],
|
|
16046
|
+
url: '/api/marketplace-site-agent-processors/{uuid}/',
|
|
16047
|
+
...options
|
|
16048
|
+
});
|
|
16049
|
+
};
|
|
16050
|
+
/**
|
|
16051
|
+
* Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
16052
|
+
*/
|
|
16053
|
+
export const marketplaceSiteAgentServicesList = (options) => {
|
|
16054
|
+
return (options?.client ?? _heyApiClient).get({
|
|
16055
|
+
security: [
|
|
16056
|
+
{
|
|
16057
|
+
name: 'Authorization',
|
|
16058
|
+
type: 'apiKey'
|
|
16059
|
+
},
|
|
16060
|
+
{
|
|
16061
|
+
scheme: 'bearer',
|
|
16062
|
+
type: 'http'
|
|
16063
|
+
}
|
|
16064
|
+
],
|
|
16065
|
+
url: '/api/marketplace-site-agent-services/',
|
|
16066
|
+
...options
|
|
16067
|
+
});
|
|
16068
|
+
};
|
|
16069
|
+
/**
|
|
16070
|
+
* Get number of items in the collection matching the request parameters.
|
|
16071
|
+
*/
|
|
16072
|
+
export const marketplaceSiteAgentServicesCount = (options) => {
|
|
16073
|
+
return (options?.client ?? _heyApiClient).head({
|
|
16074
|
+
security: [
|
|
16075
|
+
{
|
|
16076
|
+
name: 'Authorization',
|
|
16077
|
+
type: 'apiKey'
|
|
16078
|
+
},
|
|
16079
|
+
{
|
|
16080
|
+
scheme: 'bearer',
|
|
16081
|
+
type: 'http'
|
|
16082
|
+
}
|
|
16083
|
+
],
|
|
16084
|
+
url: '/api/marketplace-site-agent-services/',
|
|
16085
|
+
...options
|
|
16086
|
+
});
|
|
16087
|
+
};
|
|
16088
|
+
export const marketplaceSiteAgentServicesRetrieve = (options) => {
|
|
16089
|
+
return (options.client ?? _heyApiClient).get({
|
|
16090
|
+
security: [
|
|
16091
|
+
{
|
|
16092
|
+
name: 'Authorization',
|
|
16093
|
+
type: 'apiKey'
|
|
16094
|
+
},
|
|
16095
|
+
{
|
|
16096
|
+
scheme: 'bearer',
|
|
16097
|
+
type: 'http'
|
|
16098
|
+
}
|
|
16099
|
+
],
|
|
16100
|
+
url: '/api/marketplace-site-agent-services/{uuid}/',
|
|
16101
|
+
...options
|
|
16102
|
+
});
|
|
16103
|
+
};
|
|
16104
|
+
/**
|
|
16105
|
+
* Register a new processor for the agent service
|
|
16106
|
+
*/
|
|
16107
|
+
export const marketplaceSiteAgentServicesRegisterProcessor = (options) => {
|
|
16108
|
+
return (options.client ?? _heyApiClient).post({
|
|
16109
|
+
security: [
|
|
16110
|
+
{
|
|
16111
|
+
name: 'Authorization',
|
|
16112
|
+
type: 'apiKey'
|
|
16113
|
+
},
|
|
16114
|
+
{
|
|
16115
|
+
scheme: 'bearer',
|
|
16116
|
+
type: 'http'
|
|
16117
|
+
}
|
|
16118
|
+
],
|
|
16119
|
+
url: '/api/marketplace-site-agent-services/{uuid}/register_processor/',
|
|
16120
|
+
...options,
|
|
16121
|
+
headers: {
|
|
16122
|
+
'Content-Type': 'application/json',
|
|
16123
|
+
...options.headers
|
|
16124
|
+
}
|
|
16125
|
+
});
|
|
16126
|
+
};
|
|
16127
|
+
/**
|
|
16128
|
+
* Update statistics for the agent service
|
|
16129
|
+
*/
|
|
16130
|
+
export const marketplaceSiteAgentServicesSetStatistics = (options) => {
|
|
16131
|
+
return (options.client ?? _heyApiClient).post({
|
|
16132
|
+
security: [
|
|
16133
|
+
{
|
|
16134
|
+
name: 'Authorization',
|
|
16135
|
+
type: 'apiKey'
|
|
16136
|
+
},
|
|
16137
|
+
{
|
|
16138
|
+
scheme: 'bearer',
|
|
16139
|
+
type: 'http'
|
|
16140
|
+
}
|
|
16141
|
+
],
|
|
16142
|
+
url: '/api/marketplace-site-agent-services/{uuid}/set_statistics/',
|
|
16143
|
+
...options,
|
|
16144
|
+
headers: {
|
|
16145
|
+
'Content-Type': 'application/json',
|
|
16146
|
+
...options.headers
|
|
16147
|
+
}
|
|
16148
|
+
});
|
|
16149
|
+
};
|
|
15702
16150
|
/**
|
|
15703
16151
|
* Return component usages for current month.
|
|
15704
16152
|
*/
|
|
@@ -17145,6 +17593,29 @@ export const onboardingJustificationsUpdate = (options) => {
|
|
|
17145
17593
|
}
|
|
17146
17594
|
});
|
|
17147
17595
|
};
|
|
17596
|
+
/**
|
|
17597
|
+
* Approve justification and mark verification as VERIFIED.
|
|
17598
|
+
*/
|
|
17599
|
+
export const onboardingJustificationsApprove = (options) => {
|
|
17600
|
+
return (options.client ?? _heyApiClient).post({
|
|
17601
|
+
security: [
|
|
17602
|
+
{
|
|
17603
|
+
name: 'Authorization',
|
|
17604
|
+
type: 'apiKey'
|
|
17605
|
+
},
|
|
17606
|
+
{
|
|
17607
|
+
scheme: 'bearer',
|
|
17608
|
+
type: 'http'
|
|
17609
|
+
}
|
|
17610
|
+
],
|
|
17611
|
+
url: '/api/onboarding-justifications/{uuid}/approve/',
|
|
17612
|
+
...options,
|
|
17613
|
+
headers: {
|
|
17614
|
+
'Content-Type': 'application/json',
|
|
17615
|
+
...options.headers
|
|
17616
|
+
}
|
|
17617
|
+
});
|
|
17618
|
+
};
|
|
17148
17619
|
/**
|
|
17149
17620
|
* Attach supporting document to justification.
|
|
17150
17621
|
*/
|
|
@@ -17168,6 +17639,29 @@ export const onboardingJustificationsAttachDocument = (options) => {
|
|
|
17168
17639
|
}
|
|
17169
17640
|
});
|
|
17170
17641
|
};
|
|
17642
|
+
/**
|
|
17643
|
+
* Reject justification and mark verification as FAILED.
|
|
17644
|
+
*/
|
|
17645
|
+
export const onboardingJustificationsReject = (options) => {
|
|
17646
|
+
return (options.client ?? _heyApiClient).post({
|
|
17647
|
+
security: [
|
|
17648
|
+
{
|
|
17649
|
+
name: 'Authorization',
|
|
17650
|
+
type: 'apiKey'
|
|
17651
|
+
},
|
|
17652
|
+
{
|
|
17653
|
+
scheme: 'bearer',
|
|
17654
|
+
type: 'http'
|
|
17655
|
+
}
|
|
17656
|
+
],
|
|
17657
|
+
url: '/api/onboarding-justifications/{uuid}/reject/',
|
|
17658
|
+
...options,
|
|
17659
|
+
headers: {
|
|
17660
|
+
'Content-Type': 'application/json',
|
|
17661
|
+
...options.headers
|
|
17662
|
+
}
|
|
17663
|
+
});
|
|
17664
|
+
};
|
|
17171
17665
|
/**
|
|
17172
17666
|
* Create justification for failed verification.
|
|
17173
17667
|
*/
|