ob-bms-sdk 0.0.71 → 0.0.73

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 CHANGED
@@ -72,12 +72,6 @@ export interface ACRequestBody {
72
72
  * @interface ACRequestQuery
73
73
  */
74
74
  export interface ACRequestQuery {
75
- /**
76
- *
77
- * @type {string}
78
- * @memberof ACRequestQuery
79
- */
80
- 'requester_id'?: string;
81
75
  /**
82
76
  *
83
77
  * @type {string}
@@ -102,12 +96,30 @@ export interface ACRequestQuery {
102
96
  * @memberof ACRequestQuery
103
97
  */
104
98
  'page_size'?: number;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof ACRequestQuery
103
+ */
104
+ 'to.gte'?: string;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof ACRequestQuery
109
+ */
110
+ 'to.lte'?: string;
105
111
  /**
106
112
  *
107
113
  * @type {ACRequestStatus}
108
114
  * @memberof ACRequestQuery
109
115
  */
110
116
  'status'?: ACRequestStatus;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof ACRequestQuery
121
+ */
122
+ 'requester_id'?: string;
111
123
  }
112
124
 
113
125
 
@@ -225,6 +237,12 @@ export interface ACRequestResponse {
225
237
  * @memberof ACRequestResponse
226
238
  */
227
239
  'requester': RequesterData;
240
+ /**
241
+ *
242
+ * @type {string}
243
+ * @memberof ACRequestResponse
244
+ */
245
+ 'references': string;
228
246
  }
229
247
  /**
230
248
  *
@@ -509,7 +527,7 @@ export interface CreateServiceRequestResponse {
509
527
  * @type {string}
510
528
  * @memberof CreateServiceRequestResponse
511
529
  */
512
- 'id': string;
530
+ 'references': string;
513
531
  }
514
532
  /**
515
533
  *
@@ -1847,6 +1865,12 @@ export interface ServiceRequestData {
1847
1865
  * @memberof ServiceRequestData
1848
1866
  */
1849
1867
  'created_at': string;
1868
+ /**
1869
+ *
1870
+ * @type {string}
1871
+ * @memberof ServiceRequestData
1872
+ */
1873
+ 'references': string;
1850
1874
  /**
1851
1875
  *
1852
1876
  * @type {string}
@@ -3694,16 +3718,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3694
3718
  },
3695
3719
  /**
3696
3720
  *
3697
- * @param {string} [requesterId]
3698
3721
  * @param {string} [orderBy]
3699
3722
  * @param {string} [orderDirection]
3700
3723
  * @param {number} [pageNumber]
3701
3724
  * @param {number} [pageSize]
3725
+ * @param {string} [toGte]
3726
+ * @param {string} [toLte]
3702
3727
  * @param {ACRequestStatus} [status]
3728
+ * @param {string} [requesterId]
3703
3729
  * @param {*} [options] Override http request option.
3704
3730
  * @throws {RequiredError}
3705
3731
  */
3706
- acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3732
+ acRequestIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3707
3733
  const localVarPath = `/ac_request`;
3708
3734
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3709
3735
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3716,10 +3742,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3716
3742
  const localVarHeaderParameter = {} as any;
3717
3743
  const localVarQueryParameter = {} as any;
3718
3744
 
3719
- if (requesterId !== undefined) {
3720
- localVarQueryParameter['requester_id'] = requesterId;
3721
- }
3722
-
3723
3745
  if (orderBy !== undefined) {
3724
3746
  localVarQueryParameter['order_by'] = orderBy;
3725
3747
  }
@@ -3736,10 +3758,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3736
3758
  localVarQueryParameter['page_size'] = pageSize;
3737
3759
  }
3738
3760
 
3761
+ if (toGte !== undefined) {
3762
+ localVarQueryParameter['to.gte'] = toGte;
3763
+ }
3764
+
3765
+ if (toLte !== undefined) {
3766
+ localVarQueryParameter['to.lte'] = toLte;
3767
+ }
3768
+
3739
3769
  if (status !== undefined) {
3740
3770
  localVarQueryParameter['status'] = status;
3741
3771
  }
3742
3772
 
3773
+ if (requesterId !== undefined) {
3774
+ localVarQueryParameter['requester_id'] = requesterId;
3775
+ }
3776
+
3743
3777
 
3744
3778
 
3745
3779
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4895,17 +4929,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4895
4929
  },
4896
4930
  /**
4897
4931
  *
4898
- * @param {string} [requesterId]
4899
4932
  * @param {string} [orderBy]
4900
4933
  * @param {string} [orderDirection]
4901
4934
  * @param {number} [pageNumber]
4902
4935
  * @param {number} [pageSize]
4936
+ * @param {string} [toGte]
4937
+ * @param {string} [toLte]
4903
4938
  * @param {ACRequestStatus} [status]
4939
+ * @param {string} [requesterId]
4904
4940
  * @param {*} [options] Override http request option.
4905
4941
  * @throws {RequiredError}
4906
4942
  */
4907
- async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>> {
4908
- const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
4943
+ async acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>> {
4944
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options);
4909
4945
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4910
4946
  },
4911
4947
  /**
@@ -5248,17 +5284,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5248
5284
  },
5249
5285
  /**
5250
5286
  *
5251
- * @param {string} [requesterId]
5252
5287
  * @param {string} [orderBy]
5253
5288
  * @param {string} [orderDirection]
5254
5289
  * @param {number} [pageNumber]
5255
5290
  * @param {number} [pageSize]
5291
+ * @param {string} [toGte]
5292
+ * @param {string} [toLte]
5256
5293
  * @param {ACRequestStatus} [status]
5294
+ * @param {string} [requesterId]
5257
5295
  * @param {*} [options] Override http request option.
5258
5296
  * @throws {RequiredError}
5259
5297
  */
5260
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse> {
5261
- return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
5298
+ acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse> {
5299
+ return localVarFp.acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options).then((request) => request(axios, basePath));
5262
5300
  },
5263
5301
  /**
5264
5302
  *
@@ -5572,18 +5610,20 @@ export class DefaultApi extends BaseAPI {
5572
5610
 
5573
5611
  /**
5574
5612
  *
5575
- * @param {string} [requesterId]
5576
5613
  * @param {string} [orderBy]
5577
5614
  * @param {string} [orderDirection]
5578
5615
  * @param {number} [pageNumber]
5579
5616
  * @param {number} [pageSize]
5617
+ * @param {string} [toGte]
5618
+ * @param {string} [toLte]
5580
5619
  * @param {ACRequestStatus} [status]
5620
+ * @param {string} [requesterId]
5581
5621
  * @param {*} [options] Override http request option.
5582
5622
  * @throws {RequiredError}
5583
5623
  * @memberof DefaultApi
5584
5624
  */
5585
- public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) {
5586
- return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
5625
+ public acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: AxiosRequestConfig) {
5626
+ return DefaultApiFp(this.configuration).acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options).then((request) => request(this.axios, this.basePath));
5587
5627
  }
5588
5628
 
5589
5629
  /**
package/dist/api/api.d.ts CHANGED
@@ -62,12 +62,6 @@ export interface ACRequestBody {
62
62
  * @interface ACRequestQuery
63
63
  */
64
64
  export interface ACRequestQuery {
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof ACRequestQuery
69
- */
70
- 'requester_id'?: string;
71
65
  /**
72
66
  *
73
67
  * @type {string}
@@ -92,12 +86,30 @@ export interface ACRequestQuery {
92
86
  * @memberof ACRequestQuery
93
87
  */
94
88
  'page_size'?: number;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof ACRequestQuery
93
+ */
94
+ 'to.gte'?: string;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof ACRequestQuery
99
+ */
100
+ 'to.lte'?: string;
95
101
  /**
96
102
  *
97
103
  * @type {ACRequestStatus}
98
104
  * @memberof ACRequestQuery
99
105
  */
100
106
  'status'?: ACRequestStatus;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof ACRequestQuery
111
+ */
112
+ 'requester_id'?: string;
101
113
  }
102
114
  /**
103
115
  *
@@ -213,6 +225,12 @@ export interface ACRequestResponse {
213
225
  * @memberof ACRequestResponse
214
226
  */
215
227
  'requester': RequesterData;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof ACRequestResponse
232
+ */
233
+ 'references': string;
216
234
  }
217
235
  /**
218
236
  *
@@ -489,7 +507,7 @@ export interface CreateServiceRequestResponse {
489
507
  * @type {string}
490
508
  * @memberof CreateServiceRequestResponse
491
509
  */
492
- 'id': string;
510
+ 'references': string;
493
511
  }
494
512
  /**
495
513
  *
@@ -1816,6 +1834,12 @@ export interface ServiceRequestData {
1816
1834
  * @memberof ServiceRequestData
1817
1835
  */
1818
1836
  'created_at': string;
1837
+ /**
1838
+ *
1839
+ * @type {string}
1840
+ * @memberof ServiceRequestData
1841
+ */
1842
+ 'references': string;
1819
1843
  /**
1820
1844
  *
1821
1845
  * @type {string}
@@ -3610,16 +3634,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3610
3634
  acRequestCreate: (aCRequestBody: ACRequestBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3611
3635
  /**
3612
3636
  *
3613
- * @param {string} [requesterId]
3614
3637
  * @param {string} [orderBy]
3615
3638
  * @param {string} [orderDirection]
3616
3639
  * @param {number} [pageNumber]
3617
3640
  * @param {number} [pageSize]
3641
+ * @param {string} [toGte]
3642
+ * @param {string} [toLte]
3618
3643
  * @param {ACRequestStatus} [status]
3644
+ * @param {string} [requesterId]
3619
3645
  * @param {*} [options] Override http request option.
3620
3646
  * @throws {RequiredError}
3621
3647
  */
3622
- acRequestIndex: (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3648
+ acRequestIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3623
3649
  /**
3624
3650
  *
3625
3651
  * @param {string} id
@@ -3864,16 +3890,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3864
3890
  acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>>;
3865
3891
  /**
3866
3892
  *
3867
- * @param {string} [requesterId]
3868
3893
  * @param {string} [orderBy]
3869
3894
  * @param {string} [orderDirection]
3870
3895
  * @param {number} [pageNumber]
3871
3896
  * @param {number} [pageSize]
3897
+ * @param {string} [toGte]
3898
+ * @param {string} [toLte]
3872
3899
  * @param {ACRequestStatus} [status]
3900
+ * @param {string} [requesterId]
3873
3901
  * @param {*} [options] Override http request option.
3874
3902
  * @throws {RequiredError}
3875
3903
  */
3876
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>>;
3904
+ acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>>;
3877
3905
  /**
3878
3906
  *
3879
3907
  * @param {string} id
@@ -4118,16 +4146,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4118
4146
  acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean>;
4119
4147
  /**
4120
4148
  *
4121
- * @param {string} [requesterId]
4122
4149
  * @param {string} [orderBy]
4123
4150
  * @param {string} [orderDirection]
4124
4151
  * @param {number} [pageNumber]
4125
4152
  * @param {number} [pageSize]
4153
+ * @param {string} [toGte]
4154
+ * @param {string} [toLte]
4126
4155
  * @param {ACRequestStatus} [status]
4156
+ * @param {string} [requesterId]
4127
4157
  * @param {*} [options] Override http request option.
4128
4158
  * @throws {RequiredError}
4129
4159
  */
4130
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse>;
4160
+ acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse>;
4131
4161
  /**
4132
4162
  *
4133
4163
  * @param {string} id
@@ -4375,17 +4405,19 @@ export declare class DefaultApi extends BaseAPI {
4375
4405
  acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseBoolean, any>>;
4376
4406
  /**
4377
4407
  *
4378
- * @param {string} [requesterId]
4379
4408
  * @param {string} [orderBy]
4380
4409
  * @param {string} [orderDirection]
4381
4410
  * @param {number} [pageNumber]
4382
4411
  * @param {number} [pageSize]
4412
+ * @param {string} [toGte]
4413
+ * @param {string} [toLte]
4383
4414
  * @param {ACRequestStatus} [status]
4415
+ * @param {string} [requesterId]
4384
4416
  * @param {*} [options] Override http request option.
4385
4417
  * @throws {RequiredError}
4386
4418
  * @memberof DefaultApi
4387
4419
  */
4388
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACRequestResponse, any>>;
4420
+ acRequestIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACRequestResponse, any>>;
4389
4421
  /**
4390
4422
  *
4391
4423
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -157,16 +157,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
157
157
  }),
158
158
  /**
159
159
  *
160
- * @param {string} [requesterId]
161
160
  * @param {string} [orderBy]
162
161
  * @param {string} [orderDirection]
163
162
  * @param {number} [pageNumber]
164
163
  * @param {number} [pageSize]
164
+ * @param {string} [toGte]
165
+ * @param {string} [toLte]
165
166
  * @param {ACRequestStatus} [status]
167
+ * @param {string} [requesterId]
166
168
  * @param {*} [options] Override http request option.
167
169
  * @throws {RequiredError}
168
170
  */
169
- acRequestIndex: (requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
171
+ acRequestIndex: (orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
170
172
  const localVarPath = `/ac_request`;
171
173
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
172
174
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -177,9 +179,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
177
179
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
178
180
  const localVarHeaderParameter = {};
179
181
  const localVarQueryParameter = {};
180
- if (requesterId !== undefined) {
181
- localVarQueryParameter['requester_id'] = requesterId;
182
- }
183
182
  if (orderBy !== undefined) {
184
183
  localVarQueryParameter['order_by'] = orderBy;
185
184
  }
@@ -192,9 +191,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
192
191
  if (pageSize !== undefined) {
193
192
  localVarQueryParameter['page_size'] = pageSize;
194
193
  }
194
+ if (toGte !== undefined) {
195
+ localVarQueryParameter['to.gte'] = toGte;
196
+ }
197
+ if (toLte !== undefined) {
198
+ localVarQueryParameter['to.lte'] = toLte;
199
+ }
195
200
  if (status !== undefined) {
196
201
  localVarQueryParameter['status'] = status;
197
202
  }
203
+ if (requesterId !== undefined) {
204
+ localVarQueryParameter['requester_id'] = requesterId;
205
+ }
198
206
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
199
207
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
208
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1165,18 +1173,20 @@ const DefaultApiFp = function (configuration) {
1165
1173
  },
1166
1174
  /**
1167
1175
  *
1168
- * @param {string} [requesterId]
1169
1176
  * @param {string} [orderBy]
1170
1177
  * @param {string} [orderDirection]
1171
1178
  * @param {number} [pageNumber]
1172
1179
  * @param {number} [pageSize]
1180
+ * @param {string} [toGte]
1181
+ * @param {string} [toLte]
1173
1182
  * @param {ACRequestStatus} [status]
1183
+ * @param {string} [requesterId]
1174
1184
  * @param {*} [options] Override http request option.
1175
1185
  * @throws {RequiredError}
1176
1186
  */
1177
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1187
+ acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options) {
1178
1188
  return __awaiter(this, void 0, void 0, function* () {
1179
- const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
1189
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options);
1180
1190
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1181
1191
  });
1182
1192
  },
@@ -1580,17 +1590,19 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1580
1590
  },
1581
1591
  /**
1582
1592
  *
1583
- * @param {string} [requesterId]
1584
1593
  * @param {string} [orderBy]
1585
1594
  * @param {string} [orderDirection]
1586
1595
  * @param {number} [pageNumber]
1587
1596
  * @param {number} [pageSize]
1597
+ * @param {string} [toGte]
1598
+ * @param {string} [toLte]
1588
1599
  * @param {ACRequestStatus} [status]
1600
+ * @param {string} [requesterId]
1589
1601
  * @param {*} [options] Override http request option.
1590
1602
  * @throws {RequiredError}
1591
1603
  */
1592
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1593
- return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
1604
+ acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options) {
1605
+ return localVarFp.acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options).then((request) => request(axios, basePath));
1594
1606
  },
1595
1607
  /**
1596
1608
  *
@@ -1903,18 +1915,20 @@ class DefaultApi extends base_1.BaseAPI {
1903
1915
  }
1904
1916
  /**
1905
1917
  *
1906
- * @param {string} [requesterId]
1907
1918
  * @param {string} [orderBy]
1908
1919
  * @param {string} [orderDirection]
1909
1920
  * @param {number} [pageNumber]
1910
1921
  * @param {number} [pageSize]
1922
+ * @param {string} [toGte]
1923
+ * @param {string} [toLte]
1911
1924
  * @param {ACRequestStatus} [status]
1925
+ * @param {string} [requesterId]
1912
1926
  * @param {*} [options] Override http request option.
1913
1927
  * @throws {RequiredError}
1914
1928
  * @memberof DefaultApi
1915
1929
  */
1916
- acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options) {
1917
- return (0, exports.DefaultApiFp)(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
1930
+ acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options) {
1931
+ return (0, exports.DefaultApiFp)(this.configuration).acRequestIndex(orderBy, orderDirection, pageNumber, pageSize, toGte, toLte, status, requesterId, options).then((request) => request(this.axios, this.basePath));
1918
1932
  }
1919
1933
  /**
1920
1934
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"
package/test.ts DELETED
@@ -1,19 +0,0 @@
1
- import * as OB_BMS_SDK from './dist';
2
-
3
- // OB_BMS_SDK.setAcessToken('789');
4
- OB_BMS_SDK.setBaseUrl('https://ob-bms.glorymtel.xyz');
5
-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WxsLCJhY2NvdW50X2lkIjoiODI0MjcwNWYtMzViNS00ZDcxLThlMTktYzVhNDFhYzJlMGE0IiwiYWNjb3VudF9ncm91cF9pZCI6bnVsbH0seyJpZCI6ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
7
- );
8
- (async () => {
9
- try {
10
- // const res = await OB_BMS_SDK.client.sensorsIndex(
11
- // 'f1140a6a-2923-4527-a126-27c8323bf5ee',
12
- // '72b292b5-e926-48d3-8b43-75f19eed6003',
13
- // );
14
- const res = await OB_BMS_SDK.client.serviceRequestsIndex();
15
- console.log({ data: res.data });
16
- } catch (err) {
17
- console.log(err);
18
- }
19
- })();