@or-sdk/idw 4.7.0-beta.1899.0 → 4.7.0-beta.1901.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.
@@ -1,4 +1,4 @@
1
- import { IDWBaseConfig, ListMemories, Memory, MemoryCreateData, MemoryUpdateData, SuggestedMemory } from '../types';
1
+ import { IDWBaseConfig, ListMemories, Memory, MemoryCreateData, MemoryUpdateData } from '../types';
2
2
  import { BaseApi } from './BaseApi';
3
3
  export declare class MemoryApi extends BaseApi {
4
4
  constructor(config: IDWBaseConfig);
@@ -8,6 +8,6 @@ export declare class MemoryApi extends BaseApi {
8
8
  deleteAllMemories(): Promise<void>;
9
9
  updateMemory(id: string, data: MemoryUpdateData): Promise<Memory>;
10
10
  createMemory(data: MemoryCreateData): Promise<Memory>;
11
- getSuggestedMemory(): Promise<SuggestedMemory>;
11
+ getSuggestedMemory(): Promise<ListMemories>;
12
12
  }
13
13
  //# sourceMappingURL=memoryApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memoryApi.d.ts","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,SAAU,SAAQ,OAAO;gBACxB,MAAM,EAAE,aAAa;IAQjC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYtC,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAUvC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAavC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYlC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAejE,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAWrD,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC;CAK/C"}
1
+ {"version":3,"file":"memoryApi.d.ts","sourceRoot":"","sources":["../../../src/api/memoryApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACnG,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,SAAU,SAAQ,OAAO;gBACxB,MAAM,EAAE,aAAa;IAQjC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYtC,cAAc,IAAI,OAAO,CAAC,YAAY,CAAC;IAUvC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAavC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYlC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAejE,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAWrD,kBAAkB,IAAI,OAAO,CAAC,YAAY,CAAC;CAK5C"}
@@ -5,5 +5,4 @@ export type Memory = Omit<SimpleNode, 'icon' | 'description'> & {
5
5
  export type ListMemories = Memory[];
6
6
  export type MemoryCreateData = Pick<Memory, 'id' | 'name' | 'serviceLink'>;
7
7
  export type MemoryUpdateData = Partial<MemoryCreateData>;
8
- export type SuggestedMemory = ListMemories;
9
8
  //# sourceMappingURL=memory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/types/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAC,aAAa,CAAC,GAAG;IAAC,WAAW,EAAE,MAAM,CAAC;CAAC,CAAC;AACrF,MAAM,MAAM,YAAY,GAAG,MAAM,EAAE,CAAC;AACpC,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,GAAG,MAAM,GAAE,aAAa,CAAC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACzD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../../src/types/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAC,aAAa,CAAC,GAAG;IAAC,WAAW,EAAE,MAAM,CAAC;CAAC,CAAC;AACrF,MAAM,MAAM,YAAY,GAAG,MAAM,EAAE,CAAC;AACpC,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,GAAG,MAAM,GAAE,aAAa,CAAC,CAAC;AAC1E,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.7.0-beta.1899.0",
2
+ "version": "4.7.0-beta.1901.0",
3
3
  "name": "@or-sdk/idw",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
@@ -1,4 +1,4 @@
1
- import { IDWBaseConfig, ListMemories, Memory, MemoryCreateData, MemoryUpdateData, SuggestedMemory } from '../types';
1
+ import { IDWBaseConfig, ListMemories, Memory, MemoryCreateData, MemoryUpdateData } from '../types';
2
2
  import { BaseApi } from './BaseApi';
3
3
 
4
4
  export class MemoryApi extends BaseApi {
@@ -83,7 +83,7 @@ export class MemoryApi extends BaseApi {
83
83
  /**
84
84
  * @description Get all suggested (unlinked) memory
85
85
  */
86
- getSuggestedMemory(): Promise<SuggestedMemory> {
86
+ getSuggestedMemory(): Promise<ListMemories> {
87
87
  return this.providers.makeRequest({
88
88
  route: this.buildRoute('memories/suggested'),
89
89
  });
@@ -4,4 +4,3 @@ export type Memory = Omit<SimpleNode, 'icon'|'description'> & {serviceLink: stri
4
4
  export type ListMemories = Memory[];
5
5
  export type MemoryCreateData = Pick<Memory, 'id' | 'name'| 'serviceLink'>;
6
6
  export type MemoryUpdateData = Partial<MemoryCreateData>;
7
- export type SuggestedMemory = ListMemories;