@cinerino/sdk 3.162.0-alpha.6 → 3.162.0-alpha.7

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.
@@ -22,6 +22,12 @@ async function main() {
22
22
  auth: authClient
23
23
  });
24
24
 
25
+ const { data } = await projectService.search({
26
+ limit: 10
27
+ });
28
+ console.log(data);
29
+ console.log(data.length, 'projects found');
30
+
25
31
  const project = await projectService.findById({
26
32
  id: String(process.env.PROJECT_ID)
27
33
  });
@@ -64,6 +64,12 @@ export declare class EventService extends Service {
64
64
  update<T extends factory.eventType>(params: {
65
65
  id: string;
66
66
  attributes: factory.event.IUpdateParams<T> & IUnset;
67
+ qs: {
68
+ /**
69
+ * 関連リソースへの同期有無(2023-07-28~)
70
+ */
71
+ useSync?: boolean;
72
+ };
67
73
  }): Promise<void>;
68
74
  /**
69
75
  * イベント削除
@@ -225,6 +225,7 @@ var EventService = /** @class */ (function (_super) {
225
225
  uri: "/events/" + encodeURIComponent(String(params.id)),
226
226
  method: 'PUT',
227
227
  body: params.attributes,
228
+ qs: params.qs,
228
229
  expectedStatusCodes: [http_status_1.NO_CONTENT]
229
230
  })];
230
231
  case 1:
package/lib/bundle.js CHANGED
@@ -4172,6 +4172,7 @@ var EventService = /** @class */ (function (_super) {
4172
4172
  uri: "/events/" + encodeURIComponent(String(params.id)),
4173
4173
  method: 'PUT',
4174
4174
  body: params.attributes,
4175
+ qs: params.qs,
4175
4176
  expectedStatusCodes: [http_status_1.NO_CONTENT]
4176
4177
  })];
4177
4178
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.162.0-alpha.6",
3
+ "version": "3.162.0-alpha.7",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -97,7 +97,7 @@
97
97
  "watchify": "^3.11.1"
98
98
  },
99
99
  "dependencies": {
100
- "@chevre/factory": "4.316.0-alpha.6",
100
+ "@chevre/factory": "4.319.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",