repzo 1.0.23 → 1.0.24
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/changelog.md +1 -0
- package/lib/index.d.ts +624 -310
- package/lib/index.js +1424 -925
- package/lib/types/index.d.ts +4478 -4269
- package/package.json +1 -1
- package/src/index.ts +16 -0
- package/src/types/index.ts +15 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1934,4 +1934,20 @@ export default class Repzo {
|
|
|
1934
1934
|
return res;
|
|
1935
1935
|
},
|
|
1936
1936
|
};
|
|
1937
|
+
|
|
1938
|
+
updateIntegrationMeta = {
|
|
1939
|
+
_path: "/update-integration-meta",
|
|
1940
|
+
create: async (
|
|
1941
|
+
body: Service.UpdateIntegrationMeta.Create.Body,
|
|
1942
|
+
params?: Service.UpdateIntegrationMeta.Create.Params
|
|
1943
|
+
): Promise<Service.UpdateIntegrationMeta.Create.Result> => {
|
|
1944
|
+
let res = await this._create(
|
|
1945
|
+
this.svAPIEndpoint,
|
|
1946
|
+
this.updateIntegrationMeta._path,
|
|
1947
|
+
body,
|
|
1948
|
+
params
|
|
1949
|
+
);
|
|
1950
|
+
return res;
|
|
1951
|
+
},
|
|
1952
|
+
};
|
|
1937
1953
|
}
|
package/src/types/index.ts
CHANGED
|
@@ -4459,6 +4459,21 @@ export namespace Service {
|
|
|
4459
4459
|
};
|
|
4460
4460
|
}
|
|
4461
4461
|
}
|
|
4462
|
+
|
|
4463
|
+
export namespace UpdateIntegrationMeta {
|
|
4464
|
+
export namespace Create {
|
|
4465
|
+
export type Params = DefaultPaginationQueryParams & {
|
|
4466
|
+
_id: string;
|
|
4467
|
+
type: string;
|
|
4468
|
+
};
|
|
4469
|
+
export type Body =
|
|
4470
|
+
| { key: string; value: any }[]
|
|
4471
|
+
| { integration_meta_keys: { key: string; value: any }[] };
|
|
4472
|
+
export interface Result {
|
|
4473
|
+
[key: string]: any;
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4462
4477
|
}
|
|
4463
4478
|
|
|
4464
4479
|
export type StringId = string;
|