@commercelayer/sdk
Version:
Commerce Layer Javascript SDK
26 lines (23 loc) • 722 B
JavaScript
;
var chunkU22VLCMN_cjs = require('./chunk-U22VLCMN.cjs');
// src/resources/event_stores.ts
var EventStores = class _EventStores extends chunkU22VLCMN_cjs.ApiResource {
static TYPE = "event_stores";
isEventStore(resource) {
return resource.type && resource.type === _EventStores.TYPE;
}
relationship(id) {
return super.relationshipOneToOne(id);
}
relationshipToMany(...ids) {
return super.relationshipOneToMany(...ids);
}
type() {
return _EventStores.TYPE;
}
};
var instance = new EventStores();
var event_stores_default = instance;
exports.event_stores_default = event_stores_default;
//# sourceMappingURL=chunk-QGFAOPJG.cjs.map
//# sourceMappingURL=chunk-QGFAOPJG.cjs.map