@gooday_corp/gooday-api-client 1.2.43 → 1.2.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/api.ts +613 -0
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -2250,6 +2250,67 @@ export interface CreateCalendarPayload {
2250
2250
  */
2251
2251
  'name': string;
2252
2252
  }
2253
+ /**
2254
+ *
2255
+ * @export
2256
+ * @interface CreateCustomerPayloadDTO
2257
+ */
2258
+ export interface CreateCustomerPayloadDTO {
2259
+ /**
2260
+ *
2261
+ * @type {string}
2262
+ * @memberof CreateCustomerPayloadDTO
2263
+ */
2264
+ 'firstName'?: string;
2265
+ /**
2266
+ *
2267
+ * @type {string}
2268
+ * @memberof CreateCustomerPayloadDTO
2269
+ */
2270
+ 'lastName'?: string;
2271
+ /**
2272
+ *
2273
+ * @type {string}
2274
+ * @memberof CreateCustomerPayloadDTO
2275
+ */
2276
+ 'email'?: string;
2277
+ /**
2278
+ *
2279
+ * @type {string}
2280
+ * @memberof CreateCustomerPayloadDTO
2281
+ */
2282
+ 'mobileNumber'?: string;
2283
+ /**
2284
+ *
2285
+ * @type {string}
2286
+ * @memberof CreateCustomerPayloadDTO
2287
+ */
2288
+ 'notes'?: string;
2289
+ /**
2290
+ *
2291
+ * @type {string}
2292
+ * @memberof CreateCustomerPayloadDTO
2293
+ */
2294
+ 'goodayId'?: string;
2295
+ /**
2296
+ *
2297
+ * @type {Array<string>}
2298
+ * @memberof CreateCustomerPayloadDTO
2299
+ */
2300
+ 'tags'?: Array<string>;
2301
+ /**
2302
+ *
2303
+ * @type {string}
2304
+ * @memberof CreateCustomerPayloadDTO
2305
+ */
2306
+ 'business': string;
2307
+ /**
2308
+ *
2309
+ * @type {string}
2310
+ * @memberof CreateCustomerPayloadDTO
2311
+ */
2312
+ 'venue': string;
2313
+ }
2253
2314
  /**
2254
2315
  *
2255
2316
  * @export
@@ -2519,6 +2580,142 @@ export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
2519
2580
 
2520
2581
  export type CreateWaitlistBookingCustomerPayloadStatusEnum = typeof CreateWaitlistBookingCustomerPayloadStatusEnum[keyof typeof CreateWaitlistBookingCustomerPayloadStatusEnum];
2521
2582
 
2583
+ /**
2584
+ *
2585
+ * @export
2586
+ * @interface CustomerDeleteResponseDTO
2587
+ */
2588
+ export interface CustomerDeleteResponseDTO {
2589
+ /**
2590
+ * statusCode
2591
+ * @type {number}
2592
+ * @memberof CustomerDeleteResponseDTO
2593
+ */
2594
+ 'statusCode': number;
2595
+ /**
2596
+ *
2597
+ * @type {string}
2598
+ * @memberof CustomerDeleteResponseDTO
2599
+ */
2600
+ 'data': string;
2601
+ }
2602
+ /**
2603
+ *
2604
+ * @export
2605
+ * @interface CustomerEntity
2606
+ */
2607
+ export interface CustomerEntity {
2608
+ /**
2609
+ *
2610
+ * @type {string}
2611
+ * @memberof CustomerEntity
2612
+ */
2613
+ '_id': string;
2614
+ /**
2615
+ *
2616
+ * @type {string}
2617
+ * @memberof CustomerEntity
2618
+ */
2619
+ 'firstName': string;
2620
+ /**
2621
+ *
2622
+ * @type {string}
2623
+ * @memberof CustomerEntity
2624
+ */
2625
+ 'lastName': string;
2626
+ /**
2627
+ *
2628
+ * @type {string}
2629
+ * @memberof CustomerEntity
2630
+ */
2631
+ 'email': string;
2632
+ /**
2633
+ *
2634
+ * @type {string}
2635
+ * @memberof CustomerEntity
2636
+ */
2637
+ 'mobileNumber': string;
2638
+ /**
2639
+ *
2640
+ * @type {string}
2641
+ * @memberof CustomerEntity
2642
+ */
2643
+ 'notes': string;
2644
+ /**
2645
+ *
2646
+ * @type {string}
2647
+ * @memberof CustomerEntity
2648
+ */
2649
+ 'goodayId': string;
2650
+ /**
2651
+ *
2652
+ * @type {Array<TagsResponse>}
2653
+ * @memberof CustomerEntity
2654
+ */
2655
+ 'tags': Array<TagsResponse>;
2656
+ /**
2657
+ *
2658
+ * @type {BusinessEntity}
2659
+ * @memberof CustomerEntity
2660
+ */
2661
+ 'business': BusinessEntity;
2662
+ /**
2663
+ *
2664
+ * @type {BusinessVenueDetailsEntity}
2665
+ * @memberof CustomerEntity
2666
+ */
2667
+ 'venue': BusinessVenueDetailsEntity;
2668
+ }
2669
+ /**
2670
+ *
2671
+ * @export
2672
+ * @interface CustomerFilter
2673
+ */
2674
+ export interface CustomerFilter {
2675
+ /**
2676
+ *
2677
+ * @type {number}
2678
+ * @memberof CustomerFilter
2679
+ */
2680
+ 'page': number;
2681
+ /**
2682
+ *
2683
+ * @type {number}
2684
+ * @memberof CustomerFilter
2685
+ */
2686
+ 'pageSize': number;
2687
+ /**
2688
+ *
2689
+ * @type {string}
2690
+ * @memberof CustomerFilter
2691
+ */
2692
+ 'search'?: string;
2693
+ /**
2694
+ *
2695
+ * @type {string}
2696
+ * @memberof CustomerFilter
2697
+ */
2698
+ 'venue'?: string;
2699
+ }
2700
+ /**
2701
+ *
2702
+ * @export
2703
+ * @interface CustomerResponseDTO
2704
+ */
2705
+ export interface CustomerResponseDTO {
2706
+ /**
2707
+ * statusCode
2708
+ * @type {number}
2709
+ * @memberof CustomerResponseDTO
2710
+ */
2711
+ 'statusCode': number;
2712
+ /**
2713
+ * Customer response
2714
+ * @type {CustomerEntity}
2715
+ * @memberof CustomerResponseDTO
2716
+ */
2717
+ 'data': CustomerEntity;
2718
+ }
2522
2719
  /**
2523
2720
  *
2524
2721
  * @export
@@ -3003,6 +3200,25 @@ export interface FindWaitlistResponseDTO {
3003
3200
  */
3004
3201
  'data': Array<WaitlistEntity>;
3005
3202
  }
3203
+ /**
3204
+ *
3205
+ * @export
3206
+ * @interface FineCustomerResponseDTO
3207
+ */
3208
+ export interface FineCustomerResponseDTO {
3209
+ /**
3210
+ * statusCode
3211
+ * @type {number}
3212
+ * @memberof FineCustomerResponseDTO
3213
+ */
3214
+ 'statusCode': number;
3215
+ /**
3216
+ * Customer response
3217
+ * @type {Array<CustomerEntity>}
3218
+ * @memberof FineCustomerResponseDTO
3219
+ */
3220
+ 'data': Array<CustomerEntity>;
3221
+ }
3006
3222
  /**
3007
3223
  *
3008
3224
  * @export
@@ -9980,6 +10196,403 @@ export const CalendarControllerListEventsViewEnum = {
9980
10196
  export type CalendarControllerListEventsViewEnum = typeof CalendarControllerListEventsViewEnum[keyof typeof CalendarControllerListEventsViewEnum];
9981
10197
 
9982
10198
 
10199
+ /**
10200
+ * CustomerApi - axios parameter creator
10201
+ * @export
10202
+ */
10203
+ export const CustomerApiAxiosParamCreator = function (configuration?: Configuration) {
10204
+ return {
10205
+ /**
10206
+ *
10207
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10208
+ * @param {*} [options] Override http request option.
10209
+ * @throws {RequiredError}
10210
+ */
10211
+ customerControllerAddCustomer: async (createCustomerPayloadDTO: CreateCustomerPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10212
+ // verify required parameter 'createCustomerPayloadDTO' is not null or undefined
10213
+ assertParamExists('customerControllerAddCustomer', 'createCustomerPayloadDTO', createCustomerPayloadDTO)
10214
+ const localVarPath = `/v2/customer`;
10215
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10216
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10217
+ let baseOptions;
10218
+ if (configuration) {
10219
+ baseOptions = configuration.baseOptions;
10220
+ }
10221
+
10222
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10223
+ const localVarHeaderParameter = {} as any;
10224
+ const localVarQueryParameter = {} as any;
10225
+
10226
+ // authentication bearer required
10227
+ // http bearer authentication required
10228
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10229
+
10230
+
10231
+
10232
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10233
+
10234
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10235
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10236
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10237
+ localVarRequestOptions.data = serializeDataIfNeeded(createCustomerPayloadDTO, localVarRequestOptions, configuration)
10238
+
10239
+ return {
10240
+ url: toPathString(localVarUrlObj),
10241
+ options: localVarRequestOptions,
10242
+ };
10243
+ },
10244
+ /**
10245
+ *
10246
+ * @param {string} id
10247
+ * @param {*} [options] Override http request option.
10248
+ * @throws {RequiredError}
10249
+ */
10250
+ customerControllerDeleteCustomer: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10251
+ // verify required parameter 'id' is not null or undefined
10252
+ assertParamExists('customerControllerDeleteCustomer', 'id', id)
10253
+ const localVarPath = `/v2/customer/{id}`
10254
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10257
+ let baseOptions;
10258
+ if (configuration) {
10259
+ baseOptions = configuration.baseOptions;
10260
+ }
10261
+
10262
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
10263
+ const localVarHeaderParameter = {} as any;
10264
+ const localVarQueryParameter = {} as any;
10265
+
10266
+ // authentication bearer required
10267
+ // http bearer authentication required
10268
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10269
+
10270
+
10271
+
10272
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10273
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10274
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10275
+
10276
+ return {
10277
+ url: toPathString(localVarUrlObj),
10278
+ options: localVarRequestOptions,
10279
+ };
10280
+ },
10281
+ /**
10282
+ *
10283
+ * @param {string} id
10284
+ * @param {*} [options] Override http request option.
10285
+ * @throws {RequiredError}
10286
+ */
10287
+ customerControllerFindCustomer: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10288
+ // verify required parameter 'id' is not null or undefined
10289
+ assertParamExists('customerControllerFindCustomer', 'id', id)
10290
+ const localVarPath = `/v2/customer/{id}`
10291
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10294
+ let baseOptions;
10295
+ if (configuration) {
10296
+ baseOptions = configuration.baseOptions;
10297
+ }
10298
+
10299
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10300
+ const localVarHeaderParameter = {} as any;
10301
+ const localVarQueryParameter = {} as any;
10302
+
10303
+ // authentication bearer required
10304
+ // http bearer authentication required
10305
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10306
+
10307
+
10308
+
10309
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10310
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10311
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10312
+
10313
+ return {
10314
+ url: toPathString(localVarUrlObj),
10315
+ options: localVarRequestOptions,
10316
+ };
10317
+ },
10318
+ /**
10319
+ *
10320
+ * @param {CustomerFilter} customerFilter
10321
+ * @param {*} [options] Override http request option.
10322
+ * @throws {RequiredError}
10323
+ */
10324
+ customerControllerFindCustomersList: async (customerFilter: CustomerFilter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10325
+ // verify required parameter 'customerFilter' is not null or undefined
10326
+ assertParamExists('customerControllerFindCustomersList', 'customerFilter', customerFilter)
10327
+ const localVarPath = `/v2/customer/list`;
10328
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10329
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10330
+ let baseOptions;
10331
+ if (configuration) {
10332
+ baseOptions = configuration.baseOptions;
10333
+ }
10334
+
10335
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10336
+ const localVarHeaderParameter = {} as any;
10337
+ const localVarQueryParameter = {} as any;
10338
+
10339
+ // authentication bearer required
10340
+ // http bearer authentication required
10341
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10342
+
10343
+
10344
+
10345
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10346
+
10347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10349
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10350
+ localVarRequestOptions.data = serializeDataIfNeeded(customerFilter, localVarRequestOptions, configuration)
10351
+
10352
+ return {
10353
+ url: toPathString(localVarUrlObj),
10354
+ options: localVarRequestOptions,
10355
+ };
10356
+ },
10357
+ /**
10358
+ *
10359
+ * @param {string} id
10360
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10361
+ * @param {*} [options] Override http request option.
10362
+ * @throws {RequiredError}
10363
+ */
10364
+ customerControllerUpdateCustomer: async (id: string, createCustomerPayloadDTO: CreateCustomerPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10365
+ // verify required parameter 'id' is not null or undefined
10366
+ assertParamExists('customerControllerUpdateCustomer', 'id', id)
10367
+ // verify required parameter 'createCustomerPayloadDTO' is not null or undefined
10368
+ assertParamExists('customerControllerUpdateCustomer', 'createCustomerPayloadDTO', createCustomerPayloadDTO)
10369
+ const localVarPath = `/v2/customer/{id}`
10370
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10371
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10372
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10373
+ let baseOptions;
10374
+ if (configuration) {
10375
+ baseOptions = configuration.baseOptions;
10376
+ }
10377
+
10378
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
10379
+ const localVarHeaderParameter = {} as any;
10380
+ const localVarQueryParameter = {} as any;
10381
+
10382
+ // authentication bearer required
10383
+ // http bearer authentication required
10384
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10385
+
10386
+
10387
+
10388
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10389
+
10390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10392
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10393
+ localVarRequestOptions.data = serializeDataIfNeeded(createCustomerPayloadDTO, localVarRequestOptions, configuration)
10394
+
10395
+ return {
10396
+ url: toPathString(localVarUrlObj),
10397
+ options: localVarRequestOptions,
10398
+ };
10399
+ },
10400
+ }
10401
+ };
10402
+
10403
+ /**
10404
+ * CustomerApi - functional programming interface
10405
+ * @export
10406
+ */
10407
+ export const CustomerApiFp = function(configuration?: Configuration) {
10408
+ const localVarAxiosParamCreator = CustomerApiAxiosParamCreator(configuration)
10409
+ return {
10410
+ /**
10411
+ *
10412
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10413
+ * @param {*} [options] Override http request option.
10414
+ * @throws {RequiredError}
10415
+ */
10416
+ async customerControllerAddCustomer(createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerResponseDTO>> {
10417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.customerControllerAddCustomer(createCustomerPayloadDTO, options);
10418
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10419
+ const localVarOperationServerBasePath = operationServerMap['CustomerApi.customerControllerAddCustomer']?.[localVarOperationServerIndex]?.url;
10420
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10421
+ },
10422
+ /**
10423
+ *
10424
+ * @param {string} id
10425
+ * @param {*} [options] Override http request option.
10426
+ * @throws {RequiredError}
10427
+ */
10428
+ async customerControllerDeleteCustomer(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerDeleteResponseDTO>> {
10429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.customerControllerDeleteCustomer(id, options);
10430
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10431
+ const localVarOperationServerBasePath = operationServerMap['CustomerApi.customerControllerDeleteCustomer']?.[localVarOperationServerIndex]?.url;
10432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10433
+ },
10434
+ /**
10435
+ *
10436
+ * @param {string} id
10437
+ * @param {*} [options] Override http request option.
10438
+ * @throws {RequiredError}
10439
+ */
10440
+ async customerControllerFindCustomer(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerResponseDTO>> {
10441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.customerControllerFindCustomer(id, options);
10442
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10443
+ const localVarOperationServerBasePath = operationServerMap['CustomerApi.customerControllerFindCustomer']?.[localVarOperationServerIndex]?.url;
10444
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10445
+ },
10446
+ /**
10447
+ *
10448
+ * @param {CustomerFilter} customerFilter
10449
+ * @param {*} [options] Override http request option.
10450
+ * @throws {RequiredError}
10451
+ */
10452
+ async customerControllerFindCustomersList(customerFilter: CustomerFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FineCustomerResponseDTO>> {
10453
+ const localVarAxiosArgs = await localVarAxiosParamCreator.customerControllerFindCustomersList(customerFilter, options);
10454
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10455
+ const localVarOperationServerBasePath = operationServerMap['CustomerApi.customerControllerFindCustomersList']?.[localVarOperationServerIndex]?.url;
10456
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10457
+ },
10458
+ /**
10459
+ *
10460
+ * @param {string} id
10461
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10462
+ * @param {*} [options] Override http request option.
10463
+ * @throws {RequiredError}
10464
+ */
10465
+ async customerControllerUpdateCustomer(id: string, createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerResponseDTO>> {
10466
+ const localVarAxiosArgs = await localVarAxiosParamCreator.customerControllerUpdateCustomer(id, createCustomerPayloadDTO, options);
10467
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10468
+ const localVarOperationServerBasePath = operationServerMap['CustomerApi.customerControllerUpdateCustomer']?.[localVarOperationServerIndex]?.url;
10469
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10470
+ },
10471
+ }
10472
+ };
10473
+
10474
+ /**
10475
+ * CustomerApi - factory interface
10476
+ * @export
10477
+ */
10478
+ export const CustomerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
10479
+ const localVarFp = CustomerApiFp(configuration)
10480
+ return {
10481
+ /**
10482
+ *
10483
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10484
+ * @param {*} [options] Override http request option.
10485
+ * @throws {RequiredError}
10486
+ */
10487
+ customerControllerAddCustomer(createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<CustomerResponseDTO> {
10488
+ return localVarFp.customerControllerAddCustomer(createCustomerPayloadDTO, options).then((request) => request(axios, basePath));
10489
+ },
10490
+ /**
10491
+ *
10492
+ * @param {string} id
10493
+ * @param {*} [options] Override http request option.
10494
+ * @throws {RequiredError}
10495
+ */
10496
+ customerControllerDeleteCustomer(id: string, options?: RawAxiosRequestConfig): AxiosPromise<CustomerDeleteResponseDTO> {
10497
+ return localVarFp.customerControllerDeleteCustomer(id, options).then((request) => request(axios, basePath));
10498
+ },
10499
+ /**
10500
+ *
10501
+ * @param {string} id
10502
+ * @param {*} [options] Override http request option.
10503
+ * @throws {RequiredError}
10504
+ */
10505
+ customerControllerFindCustomer(id: string, options?: RawAxiosRequestConfig): AxiosPromise<CustomerResponseDTO> {
10506
+ return localVarFp.customerControllerFindCustomer(id, options).then((request) => request(axios, basePath));
10507
+ },
10508
+ /**
10509
+ *
10510
+ * @param {CustomerFilter} customerFilter
10511
+ * @param {*} [options] Override http request option.
10512
+ * @throws {RequiredError}
10513
+ */
10514
+ customerControllerFindCustomersList(customerFilter: CustomerFilter, options?: RawAxiosRequestConfig): AxiosPromise<FineCustomerResponseDTO> {
10515
+ return localVarFp.customerControllerFindCustomersList(customerFilter, options).then((request) => request(axios, basePath));
10516
+ },
10517
+ /**
10518
+ *
10519
+ * @param {string} id
10520
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10521
+ * @param {*} [options] Override http request option.
10522
+ * @throws {RequiredError}
10523
+ */
10524
+ customerControllerUpdateCustomer(id: string, createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<CustomerResponseDTO> {
10525
+ return localVarFp.customerControllerUpdateCustomer(id, createCustomerPayloadDTO, options).then((request) => request(axios, basePath));
10526
+ },
10527
+ };
10528
+ };
10529
+
10530
+ /**
10531
+ * CustomerApi - object-oriented interface
10532
+ * @export
10533
+ * @class CustomerApi
10534
+ * @extends {BaseAPI}
10535
+ */
10536
+ export class CustomerApi extends BaseAPI {
10537
+ /**
10538
+ *
10539
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10540
+ * @param {*} [options] Override http request option.
10541
+ * @throws {RequiredError}
10542
+ * @memberof CustomerApi
10543
+ */
10544
+ public customerControllerAddCustomer(createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig) {
10545
+ return CustomerApiFp(this.configuration).customerControllerAddCustomer(createCustomerPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10546
+ }
10547
+
10548
+ /**
10549
+ *
10550
+ * @param {string} id
10551
+ * @param {*} [options] Override http request option.
10552
+ * @throws {RequiredError}
10553
+ * @memberof CustomerApi
10554
+ */
10555
+ public customerControllerDeleteCustomer(id: string, options?: RawAxiosRequestConfig) {
10556
+ return CustomerApiFp(this.configuration).customerControllerDeleteCustomer(id, options).then((request) => request(this.axios, this.basePath));
10557
+ }
10558
+
10559
+ /**
10560
+ *
10561
+ * @param {string} id
10562
+ * @param {*} [options] Override http request option.
10563
+ * @throws {RequiredError}
10564
+ * @memberof CustomerApi
10565
+ */
10566
+ public customerControllerFindCustomer(id: string, options?: RawAxiosRequestConfig) {
10567
+ return CustomerApiFp(this.configuration).customerControllerFindCustomer(id, options).then((request) => request(this.axios, this.basePath));
10568
+ }
10569
+
10570
+ /**
10571
+ *
10572
+ * @param {CustomerFilter} customerFilter
10573
+ * @param {*} [options] Override http request option.
10574
+ * @throws {RequiredError}
10575
+ * @memberof CustomerApi
10576
+ */
10577
+ public customerControllerFindCustomersList(customerFilter: CustomerFilter, options?: RawAxiosRequestConfig) {
10578
+ return CustomerApiFp(this.configuration).customerControllerFindCustomersList(customerFilter, options).then((request) => request(this.axios, this.basePath));
10579
+ }
10580
+
10581
+ /**
10582
+ *
10583
+ * @param {string} id
10584
+ * @param {CreateCustomerPayloadDTO} createCustomerPayloadDTO
10585
+ * @param {*} [options] Override http request option.
10586
+ * @throws {RequiredError}
10587
+ * @memberof CustomerApi
10588
+ */
10589
+ public customerControllerUpdateCustomer(id: string, createCustomerPayloadDTO: CreateCustomerPayloadDTO, options?: RawAxiosRequestConfig) {
10590
+ return CustomerApiFp(this.configuration).customerControllerUpdateCustomer(id, createCustomerPayloadDTO, options).then((request) => request(this.axios, this.basePath));
10591
+ }
10592
+ }
10593
+
10594
+
10595
+
9983
10596
  /**
9984
10597
  * DeviceApi - axios parameter creator
9985
10598
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.43",
3
+ "version": "1.2.44",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},