ob-parking-sdk 0.0.35 → 0.0.37
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/api/api.ts +103 -6
- package/api/base.ts +1 -1
- package/api/common.ts +1 -1
- package/api/configuration.ts +1 -1
- package/api/index.ts +1 -1
- package/dist/api/api.d.ts +62 -4
- package/dist/api/api.js +69 -4
- package/dist/api/base.d.ts +1 -1
- package/dist/api/base.js +1 -1
- package/dist/api/common.d.ts +1 -1
- package/dist/api/common.js +1 -1
- package/dist/api/configuration.d.ts +1 -1
- package/dist/api/configuration.js +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.19.
|
|
7
|
+
* The version of the OpenAPI document: 1.19.10
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -370,6 +370,33 @@ export interface CampaignSequenceResponseData {
|
|
|
370
370
|
*/
|
|
371
371
|
export interface CampaignSequenceResponseUpdatedAt {
|
|
372
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @export
|
|
376
|
+
* @interface CmsParkingDetailRedeemBody
|
|
377
|
+
*/
|
|
378
|
+
export interface CmsParkingDetailRedeemBody {
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
383
|
+
*/
|
|
384
|
+
'parking_detail_id': string;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {RedeemType}
|
|
388
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
389
|
+
*/
|
|
390
|
+
'type': RedeemType;
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
395
|
+
*/
|
|
396
|
+
'custom_code'?: string;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
|
|
373
400
|
/**
|
|
374
401
|
*
|
|
375
402
|
* @export
|
|
@@ -2512,6 +2539,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2512
2539
|
options: localVarRequestOptions,
|
|
2513
2540
|
};
|
|
2514
2541
|
},
|
|
2542
|
+
/**
|
|
2543
|
+
*
|
|
2544
|
+
* @param {string} logId
|
|
2545
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
2546
|
+
* @param {*} [options] Override http request option.
|
|
2547
|
+
* @throws {RequiredError}
|
|
2548
|
+
*/
|
|
2549
|
+
cmsParkingDetailsRedeem: async (logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2550
|
+
// verify required parameter 'logId' is not null or undefined
|
|
2551
|
+
assertParamExists('cmsParkingDetailsRedeem', 'logId', logId)
|
|
2552
|
+
// verify required parameter 'cmsParkingDetailRedeemBody' is not null or undefined
|
|
2553
|
+
assertParamExists('cmsParkingDetailsRedeem', 'cmsParkingDetailRedeemBody', cmsParkingDetailRedeemBody)
|
|
2554
|
+
const localVarPath = `/cms/parking-details/{log_id}/redeem`
|
|
2555
|
+
.replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
|
|
2556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2558
|
+
let baseOptions;
|
|
2559
|
+
if (configuration) {
|
|
2560
|
+
baseOptions = configuration.baseOptions;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2564
|
+
const localVarHeaderParameter = {} as any;
|
|
2565
|
+
const localVarQueryParameter = {} as any;
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2570
|
+
|
|
2571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2573
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cmsParkingDetailRedeemBody, localVarRequestOptions, configuration)
|
|
2575
|
+
|
|
2576
|
+
return {
|
|
2577
|
+
url: toPathString(localVarUrlObj),
|
|
2578
|
+
options: localVarRequestOptions,
|
|
2579
|
+
};
|
|
2580
|
+
},
|
|
2515
2581
|
/**
|
|
2516
2582
|
*
|
|
2517
2583
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -2990,9 +3056,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2990
3056
|
}
|
|
2991
3057
|
|
|
2992
3058
|
if (updatedAt !== undefined) {
|
|
2993
|
-
localVarQueryParameter['updated_at'] =
|
|
2994
|
-
(updatedAt as any).toISOString() :
|
|
2995
|
-
updatedAt;
|
|
3059
|
+
localVarQueryParameter['updated_at'] = updatedAt;
|
|
2996
3060
|
}
|
|
2997
3061
|
|
|
2998
3062
|
if (propertyName !== undefined) {
|
|
@@ -3863,6 +3927,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3863
3927
|
const localVarAxiosArgs = await localVarAxiosParamCreator.campaignUpsert(upsertCampaign, options);
|
|
3864
3928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3865
3929
|
},
|
|
3930
|
+
/**
|
|
3931
|
+
*
|
|
3932
|
+
* @param {string} logId
|
|
3933
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
3934
|
+
* @param {*} [options] Override http request option.
|
|
3935
|
+
* @throws {RequiredError}
|
|
3936
|
+
*/
|
|
3937
|
+
async cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>> {
|
|
3938
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options);
|
|
3939
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3940
|
+
},
|
|
3866
3941
|
/**
|
|
3867
3942
|
*
|
|
3868
3943
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -3969,7 +4044,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3969
4044
|
* @param {*} [options] Override http request option.
|
|
3970
4045
|
* @throws {RequiredError}
|
|
3971
4046
|
*/
|
|
3972
|
-
async configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4047
|
+
async configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
3973
4048
|
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistExport(configStorewhitelistExport, options);
|
|
3974
4049
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3975
4050
|
},
|
|
@@ -4252,6 +4327,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4252
4327
|
campaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
|
|
4253
4328
|
return localVarFp.campaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
|
|
4254
4329
|
},
|
|
4330
|
+
/**
|
|
4331
|
+
*
|
|
4332
|
+
* @param {string} logId
|
|
4333
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
4334
|
+
* @param {*} [options] Override http request option.
|
|
4335
|
+
* @throws {RequiredError}
|
|
4336
|
+
*/
|
|
4337
|
+
cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: any): AxiosPromise<RedeemParkingDetailResponse> {
|
|
4338
|
+
return localVarFp.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options).then((request) => request(axios, basePath));
|
|
4339
|
+
},
|
|
4255
4340
|
/**
|
|
4256
4341
|
*
|
|
4257
4342
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -4348,7 +4433,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4348
4433
|
* @param {*} [options] Override http request option.
|
|
4349
4434
|
* @throws {RequiredError}
|
|
4350
4435
|
*/
|
|
4351
|
-
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: any): AxiosPromise<
|
|
4436
|
+
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: any): AxiosPromise<string> {
|
|
4352
4437
|
return localVarFp.configStoreWhitelistExport(configStorewhitelistExport, options).then((request) => request(axios, basePath));
|
|
4353
4438
|
},
|
|
4354
4439
|
/**
|
|
@@ -4614,6 +4699,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
4614
4699
|
return DefaultApiFp(this.configuration).campaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
|
|
4615
4700
|
}
|
|
4616
4701
|
|
|
4702
|
+
/**
|
|
4703
|
+
*
|
|
4704
|
+
* @param {string} logId
|
|
4705
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
4706
|
+
* @param {*} [options] Override http request option.
|
|
4707
|
+
* @throws {RequiredError}
|
|
4708
|
+
* @memberof DefaultApi
|
|
4709
|
+
*/
|
|
4710
|
+
public cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig) {
|
|
4711
|
+
return DefaultApiFp(this.configuration).cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options).then((request) => request(this.axios, this.basePath));
|
|
4712
|
+
}
|
|
4713
|
+
|
|
4617
4714
|
/**
|
|
4618
4715
|
*
|
|
4619
4716
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
package/api/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.19.
|
|
7
|
+
* The version of the OpenAPI document: 1.19.10
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.19.
|
|
7
|
+
* The version of the OpenAPI document: 1.19.10
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.19.
|
|
7
|
+
* The version of the OpenAPI document: 1.19.10
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* obk-parking
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.19.
|
|
7
|
+
* The version of the OpenAPI document: 1.19.10
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.19.
|
|
5
|
+
* The version of the OpenAPI document: 1.19.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -350,6 +350,31 @@ export interface CampaignSequenceResponseData {
|
|
|
350
350
|
*/
|
|
351
351
|
export interface CampaignSequenceResponseUpdatedAt {
|
|
352
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @export
|
|
356
|
+
* @interface CmsParkingDetailRedeemBody
|
|
357
|
+
*/
|
|
358
|
+
export interface CmsParkingDetailRedeemBody {
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {string}
|
|
362
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
363
|
+
*/
|
|
364
|
+
'parking_detail_id': string;
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @type {RedeemType}
|
|
368
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
369
|
+
*/
|
|
370
|
+
'type': RedeemType;
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof CmsParkingDetailRedeemBody
|
|
375
|
+
*/
|
|
376
|
+
'custom_code'?: string;
|
|
377
|
+
}
|
|
353
378
|
/**
|
|
354
379
|
*
|
|
355
380
|
* @export
|
|
@@ -2411,6 +2436,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2411
2436
|
* @throws {RequiredError}
|
|
2412
2437
|
*/
|
|
2413
2438
|
campaignUpsert: (upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2439
|
+
/**
|
|
2440
|
+
*
|
|
2441
|
+
* @param {string} logId
|
|
2442
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
2443
|
+
* @param {*} [options] Override http request option.
|
|
2444
|
+
* @throws {RequiredError}
|
|
2445
|
+
*/
|
|
2446
|
+
cmsParkingDetailsRedeem: (logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2414
2447
|
/**
|
|
2415
2448
|
*
|
|
2416
2449
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -2699,6 +2732,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2699
2732
|
* @throws {RequiredError}
|
|
2700
2733
|
*/
|
|
2701
2734
|
campaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>>;
|
|
2735
|
+
/**
|
|
2736
|
+
*
|
|
2737
|
+
* @param {string} logId
|
|
2738
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
2739
|
+
* @param {*} [options] Override http request option.
|
|
2740
|
+
* @throws {RequiredError}
|
|
2741
|
+
*/
|
|
2742
|
+
cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedeemParkingDetailResponse>>;
|
|
2702
2743
|
/**
|
|
2703
2744
|
*
|
|
2704
2745
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -2775,7 +2816,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2775
2816
|
* @param {*} [options] Override http request option.
|
|
2776
2817
|
* @throws {RequiredError}
|
|
2777
2818
|
*/
|
|
2778
|
-
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2819
|
+
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
2779
2820
|
/**
|
|
2780
2821
|
*
|
|
2781
2822
|
* @param {File} [file]
|
|
@@ -2987,6 +3028,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2987
3028
|
* @throws {RequiredError}
|
|
2988
3029
|
*/
|
|
2989
3030
|
campaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>>;
|
|
3031
|
+
/**
|
|
3032
|
+
*
|
|
3033
|
+
* @param {string} logId
|
|
3034
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
3035
|
+
* @param {*} [options] Override http request option.
|
|
3036
|
+
* @throws {RequiredError}
|
|
3037
|
+
*/
|
|
3038
|
+
cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: any): AxiosPromise<RedeemParkingDetailResponse>;
|
|
2990
3039
|
/**
|
|
2991
3040
|
*
|
|
2992
3041
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -3063,7 +3112,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3063
3112
|
* @param {*} [options] Override http request option.
|
|
3064
3113
|
* @throws {RequiredError}
|
|
3065
3114
|
*/
|
|
3066
|
-
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: any): AxiosPromise<
|
|
3115
|
+
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: any): AxiosPromise<string>;
|
|
3067
3116
|
/**
|
|
3068
3117
|
*
|
|
3069
3118
|
* @param {File} [file]
|
|
@@ -3279,6 +3328,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3279
3328
|
* @memberof DefaultApi
|
|
3280
3329
|
*/
|
|
3281
3330
|
campaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CampaignResponse[], any>>;
|
|
3331
|
+
/**
|
|
3332
|
+
*
|
|
3333
|
+
* @param {string} logId
|
|
3334
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
3335
|
+
* @param {*} [options] Override http request option.
|
|
3336
|
+
* @throws {RequiredError}
|
|
3337
|
+
* @memberof DefaultApi
|
|
3338
|
+
*/
|
|
3339
|
+
cmsParkingDetailsRedeem(logId: string, cmsParkingDetailRedeemBody: CmsParkingDetailRedeemBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RedeemParkingDetailResponse, any>>;
|
|
3282
3340
|
/**
|
|
3283
3341
|
*
|
|
3284
3342
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -3366,7 +3424,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3366
3424
|
* @throws {RequiredError}
|
|
3367
3425
|
* @memberof DefaultApi
|
|
3368
3426
|
*/
|
|
3369
|
-
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3427
|
+
configStoreWhitelistExport(configStorewhitelistExport: ConfigStorewhitelistExport, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
3370
3428
|
/**
|
|
3371
3429
|
*
|
|
3372
3430
|
* @param {File} [file]
|
package/dist/api/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.19.
|
|
8
|
+
* The version of the OpenAPI document: 1.19.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -143,6 +143,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
options: localVarRequestOptions,
|
|
144
144
|
};
|
|
145
145
|
}),
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @param {string} logId
|
|
149
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
cmsParkingDetailsRedeem: (logId, cmsParkingDetailRedeemBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
// verify required parameter 'logId' is not null or undefined
|
|
155
|
+
(0, common_1.assertParamExists)('cmsParkingDetailsRedeem', 'logId', logId);
|
|
156
|
+
// verify required parameter 'cmsParkingDetailRedeemBody' is not null or undefined
|
|
157
|
+
(0, common_1.assertParamExists)('cmsParkingDetailsRedeem', 'cmsParkingDetailRedeemBody', cmsParkingDetailRedeemBody);
|
|
158
|
+
const localVarPath = `/cms/parking-details/{log_id}/redeem`
|
|
159
|
+
.replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
|
|
160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
161
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
162
|
+
let baseOptions;
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
}
|
|
166
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
167
|
+
const localVarHeaderParameter = {};
|
|
168
|
+
const localVarQueryParameter = {};
|
|
169
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
171
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
172
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
173
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cmsParkingDetailRedeemBody, localVarRequestOptions, configuration);
|
|
174
|
+
return {
|
|
175
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
176
|
+
options: localVarRequestOptions,
|
|
177
|
+
};
|
|
178
|
+
}),
|
|
146
179
|
/**
|
|
147
180
|
*
|
|
148
181
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -543,9 +576,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
543
576
|
localVarQueryParameter['created_at'] = createdAt;
|
|
544
577
|
}
|
|
545
578
|
if (updatedAt !== undefined) {
|
|
546
|
-
localVarQueryParameter['updated_at'] =
|
|
547
|
-
updatedAt.toISOString() :
|
|
548
|
-
updatedAt;
|
|
579
|
+
localVarQueryParameter['updated_at'] = updatedAt;
|
|
549
580
|
}
|
|
550
581
|
if (propertyName !== undefined) {
|
|
551
582
|
localVarQueryParameter['property_name'] = propertyName;
|
|
@@ -1274,6 +1305,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
1274
1305
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1275
1306
|
});
|
|
1276
1307
|
},
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @param {string} logId
|
|
1311
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
1312
|
+
* @param {*} [options] Override http request option.
|
|
1313
|
+
* @throws {RequiredError}
|
|
1314
|
+
*/
|
|
1315
|
+
cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options) {
|
|
1316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options);
|
|
1318
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1319
|
+
});
|
|
1320
|
+
},
|
|
1277
1321
|
/**
|
|
1278
1322
|
*
|
|
1279
1323
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -1725,6 +1769,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1725
1769
|
campaignUpsert(upsertCampaign, options) {
|
|
1726
1770
|
return localVarFp.campaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
|
|
1727
1771
|
},
|
|
1772
|
+
/**
|
|
1773
|
+
*
|
|
1774
|
+
* @param {string} logId
|
|
1775
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
1776
|
+
* @param {*} [options] Override http request option.
|
|
1777
|
+
* @throws {RequiredError}
|
|
1778
|
+
*/
|
|
1779
|
+
cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options) {
|
|
1780
|
+
return localVarFp.cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options).then((request) => request(axios, basePath));
|
|
1781
|
+
},
|
|
1728
1782
|
/**
|
|
1729
1783
|
*
|
|
1730
1784
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
|
@@ -2085,6 +2139,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2085
2139
|
campaignUpsert(upsertCampaign, options) {
|
|
2086
2140
|
return (0, exports.DefaultApiFp)(this.configuration).campaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
|
|
2087
2141
|
}
|
|
2142
|
+
/**
|
|
2143
|
+
*
|
|
2144
|
+
* @param {string} logId
|
|
2145
|
+
* @param {CmsParkingDetailRedeemBody} cmsParkingDetailRedeemBody
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @throws {RequiredError}
|
|
2148
|
+
* @memberof DefaultApi
|
|
2149
|
+
*/
|
|
2150
|
+
cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options) {
|
|
2151
|
+
return (0, exports.DefaultApiFp)(this.configuration).cmsParkingDetailsRedeem(logId, cmsParkingDetailRedeemBody, options).then((request) => request(this.axios, this.basePath));
|
|
2152
|
+
}
|
|
2088
2153
|
/**
|
|
2089
2154
|
*
|
|
2090
2155
|
* @param {ConfigDocsTypeBody} configDocsTypeBody
|
package/dist/api/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.19.
|
|
5
|
+
* The version of the OpenAPI document: 1.19.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.19.
|
|
8
|
+
* The version of the OpenAPI document: 1.19.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.19.
|
|
5
|
+
* The version of the OpenAPI document: 1.19.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.19.
|
|
8
|
+
* The version of the OpenAPI document: 1.19.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.19.
|
|
5
|
+
* The version of the OpenAPI document: 1.19.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.19.
|
|
8
|
+
* The version of the OpenAPI document: 1.19.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* obk-parking
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.19.
|
|
5
|
+
* The version of the OpenAPI document: 1.19.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* obk-parking
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.19.
|
|
8
|
+
* The version of the OpenAPI document: 1.19.10
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|