@chrt-inc/typescript-sdk 0.0.170-d → 0.0.170-e

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.
Files changed (46) hide show
  1. package/dist/cjs/Client.d.ts +0 -3
  2. package/dist/cjs/Client.js +34 -39
  3. package/dist/cjs/api/resources/index.d.ts +0 -2
  4. package/dist/cjs/api/resources/index.js +1 -3
  5. package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -0
  6. package/dist/cjs/api/resources/notifications/client/Client.js +5 -0
  7. package/dist/cjs/api/resources/notifications/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/notifications/index.js +1 -0
  9. package/dist/cjs/api/resources/notifications/resources/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/notifications/resources/index.js +41 -0
  11. package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/Client.d.ts +14 -14
  12. package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/Client.js +13 -13
  13. package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +1 -1
  14. package/dist/cjs/version.d.ts +1 -1
  15. package/dist/cjs/version.js +1 -1
  16. package/dist/esm/Client.d.mts +0 -3
  17. package/dist/esm/Client.mjs +2 -7
  18. package/dist/esm/api/resources/index.d.mts +0 -2
  19. package/dist/esm/api/resources/index.mjs +0 -2
  20. package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -0
  21. package/dist/esm/api/resources/notifications/client/Client.mjs +5 -0
  22. package/dist/esm/api/resources/notifications/index.d.mts +1 -0
  23. package/dist/esm/api/resources/notifications/index.mjs +1 -0
  24. package/dist/esm/api/resources/notifications/resources/index.d.mts +2 -0
  25. package/dist/esm/api/resources/notifications/resources/index.mjs +2 -0
  26. package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/Client.d.mts +14 -14
  27. package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/Client.mjs +11 -11
  28. package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +1 -1
  29. package/dist/esm/version.d.mts +1 -1
  30. package/dist/esm/version.mjs +1 -1
  31. package/package.json +1 -1
  32. package/reference.md +122 -122
  33. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/index.d.ts +0 -0
  34. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/index.js +0 -0
  35. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.js +0 -0
  36. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/index.d.ts +0 -0
  37. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/index.js +0 -0
  38. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/index.d.ts +0 -0
  39. /package/dist/cjs/api/resources/{notificationsShipper → notifications/resources/shipper}/index.js +0 -0
  40. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/index.d.mts +0 -0
  41. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/index.mjs +0 -0
  42. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.mjs +0 -0
  43. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/index.d.mts +0 -0
  44. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/client/requests/index.mjs +0 -0
  45. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/index.d.mts +0 -0
  46. /package/dist/esm/api/resources/{notificationsShipper → notifications/resources/shipper}/index.mjs +0 -0
@@ -7,7 +7,6 @@ import { Root } from "./api/resources/root/client/Client.js";
7
7
  import { Dev } from "./api/resources/dev/client/Client.js";
8
8
  import { Directory } from "./api/resources/directory/client/Client.js";
9
9
  import { Notifications } from "./api/resources/notifications/client/Client.js";
10
- import { NotificationsShipper } from "./api/resources/notificationsShipper/client/Client.js";
11
10
  import { OortConnections } from "./api/resources/oortConnections/client/Client.js";
12
11
  import { OortCourierPayDriverLineItemGroups } from "./api/resources/oortCourierPayDriverLineItemGroups/client/Client.js";
13
12
  import { OortCourierPayDriverPayouts } from "./api/resources/oortCourierPayDriverPayouts/client/Client.js";
@@ -51,7 +50,6 @@ export declare class ChrtClient {
51
50
  protected _dev: Dev | undefined;
52
51
  protected _directory: Directory | undefined;
53
52
  protected _notifications: Notifications | undefined;
54
- protected _notificationsShipper: NotificationsShipper | undefined;
55
53
  protected _oortConnections: OortConnections | undefined;
56
54
  protected _oortCourierPayDriverLineItemGroups: OortCourierPayDriverLineItemGroups | undefined;
57
55
  protected _oortCourierPayDriverPayouts: OortCourierPayDriverPayouts | undefined;
@@ -73,7 +71,6 @@ export declare class ChrtClient {
73
71
  get dev(): Dev;
74
72
  get directory(): Directory;
75
73
  get notifications(): Notifications;
76
- get notificationsShipper(): NotificationsShipper;
77
74
  get oortConnections(): OortConnections;
78
75
  get oortCourierPayDriverLineItemGroups(): OortCourierPayDriverLineItemGroups;
79
76
  get oortCourierPayDriverPayouts(): OortCourierPayDriverPayouts;
@@ -43,30 +43,29 @@ const Client_js_1 = require("./api/resources/root/client/Client.js");
43
43
  const Client_js_2 = require("./api/resources/dev/client/Client.js");
44
44
  const Client_js_3 = require("./api/resources/directory/client/Client.js");
45
45
  const Client_js_4 = require("./api/resources/notifications/client/Client.js");
46
- const Client_js_5 = require("./api/resources/notificationsShipper/client/Client.js");
47
- const Client_js_6 = require("./api/resources/oortConnections/client/Client.js");
48
- const Client_js_7 = require("./api/resources/oortCourierPayDriverLineItemGroups/client/Client.js");
49
- const Client_js_8 = require("./api/resources/oortCourierPayDriverPayouts/client/Client.js");
50
- const Client_js_9 = require("./api/resources/oortCourierPayDriverRateSheets/client/Client.js");
51
- const Client_js_10 = require("./api/resources/oortDrivers/client/Client.js");
52
- const Client_js_11 = require("./api/resources/oortMilestoneNotificationPreferences/client/Client.js");
53
- const Client_js_12 = require("./api/resources/oortMilestones/client/Client.js");
54
- const Client_js_13 = require("./api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js");
55
- const Client_js_14 = require("./api/resources/oortOrders/client/Client.js");
56
- const Client_js_15 = require("./api/resources/oortOrgConnectionInfos/client/Client.js");
57
- const Client_js_16 = require("./api/resources/oortOrgProfiles/client/Client.js");
58
- const Client_js_17 = require("./api/resources/oortShipperContactInfo/client/Client.js");
59
- const Client_js_18 = require("./api/resources/oortTaskGroups/client/Client.js");
60
- const Client_js_19 = require("./api/resources/orgs/client/Client.js");
61
- const Client_js_20 = require("./api/resources/payments/client/Client.js");
62
- const Client_js_21 = require("./api/resources/users/client/Client.js");
46
+ const Client_js_5 = require("./api/resources/oortConnections/client/Client.js");
47
+ const Client_js_6 = require("./api/resources/oortCourierPayDriverLineItemGroups/client/Client.js");
48
+ const Client_js_7 = require("./api/resources/oortCourierPayDriverPayouts/client/Client.js");
49
+ const Client_js_8 = require("./api/resources/oortCourierPayDriverRateSheets/client/Client.js");
50
+ const Client_js_9 = require("./api/resources/oortDrivers/client/Client.js");
51
+ const Client_js_10 = require("./api/resources/oortMilestoneNotificationPreferences/client/Client.js");
52
+ const Client_js_11 = require("./api/resources/oortMilestones/client/Client.js");
53
+ const Client_js_12 = require("./api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js");
54
+ const Client_js_13 = require("./api/resources/oortOrders/client/Client.js");
55
+ const Client_js_14 = require("./api/resources/oortOrgConnectionInfos/client/Client.js");
56
+ const Client_js_15 = require("./api/resources/oortOrgProfiles/client/Client.js");
57
+ const Client_js_16 = require("./api/resources/oortShipperContactInfo/client/Client.js");
58
+ const Client_js_17 = require("./api/resources/oortTaskGroups/client/Client.js");
59
+ const Client_js_18 = require("./api/resources/orgs/client/Client.js");
60
+ const Client_js_19 = require("./api/resources/payments/client/Client.js");
61
+ const Client_js_20 = require("./api/resources/users/client/Client.js");
63
62
  class ChrtClient {
64
63
  constructor(_options = {}) {
65
64
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
66
65
  "X-Fern-Language": "JavaScript",
67
66
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
68
- "X-Fern-SDK-Version": "0.0.170-d",
69
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.170-d",
67
+ "X-Fern-SDK-Version": "0.0.170-e",
68
+ "User-Agent": "@chrt-inc/typescript-sdk/0.0.170-e",
70
69
  "X-Fern-Runtime": core.RUNTIME.type,
71
70
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
71
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -87,73 +86,69 @@ class ChrtClient {
87
86
  var _a;
88
87
  return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_4.Notifications(this._options)));
89
88
  }
90
- get notificationsShipper() {
91
- var _a;
92
- return ((_a = this._notificationsShipper) !== null && _a !== void 0 ? _a : (this._notificationsShipper = new Client_js_5.NotificationsShipper(this._options)));
93
- }
94
89
  get oortConnections() {
95
90
  var _a;
96
- return ((_a = this._oortConnections) !== null && _a !== void 0 ? _a : (this._oortConnections = new Client_js_6.OortConnections(this._options)));
91
+ return ((_a = this._oortConnections) !== null && _a !== void 0 ? _a : (this._oortConnections = new Client_js_5.OortConnections(this._options)));
97
92
  }
98
93
  get oortCourierPayDriverLineItemGroups() {
99
94
  var _a;
100
- return ((_a = this._oortCourierPayDriverLineItemGroups) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverLineItemGroups = new Client_js_7.OortCourierPayDriverLineItemGroups(this._options)));
95
+ return ((_a = this._oortCourierPayDriverLineItemGroups) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverLineItemGroups = new Client_js_6.OortCourierPayDriverLineItemGroups(this._options)));
101
96
  }
102
97
  get oortCourierPayDriverPayouts() {
103
98
  var _a;
104
- return ((_a = this._oortCourierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverPayouts = new Client_js_8.OortCourierPayDriverPayouts(this._options)));
99
+ return ((_a = this._oortCourierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverPayouts = new Client_js_7.OortCourierPayDriverPayouts(this._options)));
105
100
  }
106
101
  get oortCourierPayDriverRateSheets() {
107
102
  var _a;
108
- return ((_a = this._oortCourierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRateSheets = new Client_js_9.OortCourierPayDriverRateSheets(this._options)));
103
+ return ((_a = this._oortCourierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRateSheets = new Client_js_8.OortCourierPayDriverRateSheets(this._options)));
109
104
  }
110
105
  get oortDrivers() {
111
106
  var _a;
112
- return ((_a = this._oortDrivers) !== null && _a !== void 0 ? _a : (this._oortDrivers = new Client_js_10.OortDrivers(this._options)));
107
+ return ((_a = this._oortDrivers) !== null && _a !== void 0 ? _a : (this._oortDrivers = new Client_js_9.OortDrivers(this._options)));
113
108
  }
114
109
  get oortMilestoneNotificationPreferences() {
115
110
  var _a;
116
- return ((_a = this._oortMilestoneNotificationPreferences) !== null && _a !== void 0 ? _a : (this._oortMilestoneNotificationPreferences = new Client_js_11.OortMilestoneNotificationPreferences(this._options)));
111
+ return ((_a = this._oortMilestoneNotificationPreferences) !== null && _a !== void 0 ? _a : (this._oortMilestoneNotificationPreferences = new Client_js_10.OortMilestoneNotificationPreferences(this._options)));
117
112
  }
118
113
  get oortMilestones() {
119
114
  var _a;
120
- return ((_a = this._oortMilestones) !== null && _a !== void 0 ? _a : (this._oortMilestones = new Client_js_12.OortMilestones(this._options)));
115
+ return ((_a = this._oortMilestones) !== null && _a !== void 0 ? _a : (this._oortMilestones = new Client_js_11.OortMilestones(this._options)));
121
116
  }
122
117
  get oortOffChrtShipperOrgConnectionInfo() {
123
118
  var _a;
124
- return ((_a = this._oortOffChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._oortOffChrtShipperOrgConnectionInfo = new Client_js_13.OortOffChrtShipperOrgConnectionInfo(this._options)));
119
+ return ((_a = this._oortOffChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._oortOffChrtShipperOrgConnectionInfo = new Client_js_12.OortOffChrtShipperOrgConnectionInfo(this._options)));
125
120
  }
126
121
  get oortOrders() {
127
122
  var _a;
128
- return ((_a = this._oortOrders) !== null && _a !== void 0 ? _a : (this._oortOrders = new Client_js_14.OortOrders(this._options)));
123
+ return ((_a = this._oortOrders) !== null && _a !== void 0 ? _a : (this._oortOrders = new Client_js_13.OortOrders(this._options)));
129
124
  }
130
125
  get oortOrgConnectionInfos() {
131
126
  var _a;
132
- return ((_a = this._oortOrgConnectionInfos) !== null && _a !== void 0 ? _a : (this._oortOrgConnectionInfos = new Client_js_15.OortOrgConnectionInfos(this._options)));
127
+ return ((_a = this._oortOrgConnectionInfos) !== null && _a !== void 0 ? _a : (this._oortOrgConnectionInfos = new Client_js_14.OortOrgConnectionInfos(this._options)));
133
128
  }
134
129
  get oortOrgProfiles() {
135
130
  var _a;
136
- return ((_a = this._oortOrgProfiles) !== null && _a !== void 0 ? _a : (this._oortOrgProfiles = new Client_js_16.OortOrgProfiles(this._options)));
131
+ return ((_a = this._oortOrgProfiles) !== null && _a !== void 0 ? _a : (this._oortOrgProfiles = new Client_js_15.OortOrgProfiles(this._options)));
137
132
  }
138
133
  get oortShipperContactInfo() {
139
134
  var _a;
140
- return ((_a = this._oortShipperContactInfo) !== null && _a !== void 0 ? _a : (this._oortShipperContactInfo = new Client_js_17.OortShipperContactInfo(this._options)));
135
+ return ((_a = this._oortShipperContactInfo) !== null && _a !== void 0 ? _a : (this._oortShipperContactInfo = new Client_js_16.OortShipperContactInfo(this._options)));
141
136
  }
142
137
  get oortTaskGroups() {
143
138
  var _a;
144
- return ((_a = this._oortTaskGroups) !== null && _a !== void 0 ? _a : (this._oortTaskGroups = new Client_js_18.OortTaskGroups(this._options)));
139
+ return ((_a = this._oortTaskGroups) !== null && _a !== void 0 ? _a : (this._oortTaskGroups = new Client_js_17.OortTaskGroups(this._options)));
145
140
  }
146
141
  get orgs() {
147
142
  var _a;
148
- return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_19.Orgs(this._options)));
143
+ return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_18.Orgs(this._options)));
149
144
  }
150
145
  get payments() {
151
146
  var _a;
152
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_20.Payments(this._options)));
147
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_19.Payments(this._options)));
153
148
  }
154
149
  get users() {
155
150
  var _a;
156
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_21.Users(this._options)));
151
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_20.Users(this._options)));
157
152
  }
158
153
  }
159
154
  exports.ChrtClient = ChrtClient;
@@ -3,7 +3,6 @@ export * from "./root/types/index.js";
3
3
  export * as dev from "./dev/index.js";
4
4
  export * as directory from "./directory/index.js";
5
5
  export * as notifications from "./notifications/index.js";
6
- export * as notificationsShipper from "./notificationsShipper/index.js";
7
6
  export * as oortConnections from "./oortConnections/index.js";
8
7
  export * as oortCourierPayDriverLineItemGroups from "./oortCourierPayDriverLineItemGroups/index.js";
9
8
  export * as oortCourierPayDriverPayouts from "./oortCourierPayDriverPayouts/index.js";
@@ -23,7 +22,6 @@ export * as users from "./users/index.js";
23
22
  export * from "./dev/client/requests/index.js";
24
23
  export * from "./directory/client/requests/index.js";
25
24
  export * from "./notifications/client/requests/index.js";
26
- export * from "./notificationsShipper/client/requests/index.js";
27
25
  export * from "./oortConnections/client/requests/index.js";
28
26
  export * from "./oortCourierPayDriverLineItemGroups/client/requests/index.js";
29
27
  export * from "./oortCourierPayDriverPayouts/client/requests/index.js";
@@ -36,13 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.users = exports.payments = exports.orgs = exports.oortTaskGroups = exports.oortShipperContactInfo = exports.oortOrgProfiles = exports.oortOrgConnectionInfos = exports.oortOrders = exports.oortOffChrtShipperOrgConnectionInfo = exports.oortMilestones = exports.oortMilestoneNotificationPreferences = exports.oortDrivers = exports.oortCourierPayDriverRateSheets = exports.oortCourierPayDriverPayouts = exports.oortCourierPayDriverLineItemGroups = exports.oortConnections = exports.notificationsShipper = exports.notifications = exports.directory = exports.dev = exports.root = void 0;
39
+ exports.users = exports.payments = exports.orgs = exports.oortTaskGroups = exports.oortShipperContactInfo = exports.oortOrgProfiles = exports.oortOrgConnectionInfos = exports.oortOrders = exports.oortOffChrtShipperOrgConnectionInfo = exports.oortMilestones = exports.oortMilestoneNotificationPreferences = exports.oortDrivers = exports.oortCourierPayDriverRateSheets = exports.oortCourierPayDriverPayouts = exports.oortCourierPayDriverLineItemGroups = exports.oortConnections = exports.notifications = exports.directory = exports.dev = exports.root = void 0;
40
40
  exports.root = __importStar(require("./root/index.js"));
41
41
  __exportStar(require("./root/types/index.js"), exports);
42
42
  exports.dev = __importStar(require("./dev/index.js"));
43
43
  exports.directory = __importStar(require("./directory/index.js"));
44
44
  exports.notifications = __importStar(require("./notifications/index.js"));
45
- exports.notificationsShipper = __importStar(require("./notificationsShipper/index.js"));
46
45
  exports.oortConnections = __importStar(require("./oortConnections/index.js"));
47
46
  exports.oortCourierPayDriverLineItemGroups = __importStar(require("./oortCourierPayDriverLineItemGroups/index.js"));
48
47
  exports.oortCourierPayDriverPayouts = __importStar(require("./oortCourierPayDriverPayouts/index.js"));
@@ -62,7 +61,6 @@ exports.users = __importStar(require("./users/index.js"));
62
61
  __exportStar(require("./dev/client/requests/index.js"), exports);
63
62
  __exportStar(require("./directory/client/requests/index.js"), exports);
64
63
  __exportStar(require("./notifications/client/requests/index.js"), exports);
65
- __exportStar(require("./notificationsShipper/client/requests/index.js"), exports);
66
64
  __exportStar(require("./oortConnections/client/requests/index.js"), exports);
67
65
  __exportStar(require("./oortCourierPayDriverLineItemGroups/client/requests/index.js"), exports);
68
66
  __exportStar(require("./oortCourierPayDriverPayouts/client/requests/index.js"), exports);
@@ -4,6 +4,7 @@
4
4
  import * as environments from "../../../../environments.js";
5
5
  import * as core from "../../../../core/index.js";
6
6
  import * as Chrt from "../../../index.js";
7
+ import { Shipper } from "../resources/shipper/client/Client.js";
7
8
  export declare namespace Notifications {
8
9
  interface Options {
9
10
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -27,7 +28,9 @@ export declare namespace Notifications {
27
28
  }
28
29
  export declare class Notifications {
29
30
  protected readonly _options: Notifications.Options;
31
+ protected _shipper: Shipper | undefined;
30
32
  constructor(_options?: Notifications.Options);
33
+ get shipper(): Shipper;
31
34
  /**
32
35
  * Get notification preferences by org id from jwt
33
36
  *
@@ -51,10 +51,15 @@ const core = __importStar(require("../../../../core/index.js"));
51
51
  const Chrt = __importStar(require("../../../index.js"));
52
52
  const headers_js_1 = require("../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../errors/index.js"));
54
+ const Client_js_1 = require("../resources/shipper/client/Client.js");
54
55
  class Notifications {
55
56
  constructor(_options = {}) {
56
57
  this._options = _options;
57
58
  }
59
+ get shipper() {
60
+ var _a;
61
+ return ((_a = this._shipper) !== null && _a !== void 0 ? _a : (this._shipper = new Client_js_1.Shipper(this._options)));
62
+ }
58
63
  /**
59
64
  * Get notification preferences by org id from jwt
60
65
  *
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./resources/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./resources/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * as shipper from "./shipper/index.js";
2
+ export * from "./shipper/client/requests/index.js";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.shipper = void 0;
40
+ exports.shipper = __importStar(require("./shipper/index.js"));
41
+ __exportStar(require("./shipper/client/requests/index.js"), exports);
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as environments from "../../../../environments.js";
5
- import * as core from "../../../../core/index.js";
6
- import * as Chrt from "../../../index.js";
7
- export declare namespace NotificationsShipper {
4
+ import * as environments from "../../../../../../environments.js";
5
+ import * as core from "../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../index.js";
7
+ export declare namespace Shipper {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
@@ -25,33 +25,33 @@ export declare namespace NotificationsShipper {
25
25
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
26
  }
27
27
  }
28
- export declare class NotificationsShipper {
29
- protected readonly _options: NotificationsShipper.Options;
30
- constructor(_options?: NotificationsShipper.Options);
28
+ export declare class Shipper {
29
+ protected readonly _options: Shipper.Options;
30
+ constructor(_options?: Shipper.Options);
31
31
  /**
32
32
  * Get notification preferences by org id from jwt
33
33
  *
34
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
34
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
35
35
  *
36
36
  * @example
37
- * await client.notificationsShipper.getNotificationsPreferencesByOrgId()
37
+ * await client.notifications.shipper.getNotificationsPreferencesByOrgId()
38
38
  */
39
- getNotificationsPreferencesByOrgId(requestOptions?: NotificationsShipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperNotificationPreferences1>;
39
+ getNotificationsPreferencesByOrgId(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperNotificationPreferences1>;
40
40
  private __getNotificationsPreferencesByOrgId;
41
41
  /**
42
42
  * Create/Update notification preferences for org in jwt
43
43
  *
44
- * @param {Chrt.ShipperNotificationPreferencesClientCreate1} request
45
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
44
+ * @param {Chrt.notifications.ShipperNotificationPreferencesClientCreate1} request
45
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
46
46
  *
47
47
  * @throws {@link Chrt.UnprocessableEntityError}
48
48
  *
49
49
  * @example
50
- * await client.notificationsShipper.postNotificationsPreferencesByOrgId({
50
+ * await client.notifications.shipper.postNotificationsPreferencesByOrgId({
51
51
  * schema_version: 1
52
52
  * })
53
53
  */
54
- postNotificationsPreferencesByOrgId(request: Chrt.ShipperNotificationPreferencesClientCreate1, requestOptions?: NotificationsShipper.RequestOptions): core.HttpResponsePromise<string>;
54
+ postNotificationsPreferencesByOrgId(request: Chrt.notifications.ShipperNotificationPreferencesClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
55
55
  private __postNotificationsPreferencesByOrgId;
56
56
  protected _getAuthorizationHeader(): Promise<string | undefined>;
57
57
  }
@@ -45,23 +45,23 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
45
45
  });
46
46
  };
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.NotificationsShipper = void 0;
49
- const environments = __importStar(require("../../../../environments.js"));
50
- const core = __importStar(require("../../../../core/index.js"));
51
- const Chrt = __importStar(require("../../../index.js"));
52
- const headers_js_1 = require("../../../../core/headers.js");
53
- const errors = __importStar(require("../../../../errors/index.js"));
54
- class NotificationsShipper {
48
+ exports.Shipper = void 0;
49
+ const environments = __importStar(require("../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../errors/index.js"));
54
+ class Shipper {
55
55
  constructor(_options = {}) {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
59
  * Get notification preferences by org id from jwt
60
60
  *
61
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.notificationsShipper.getNotificationsPreferencesByOrgId()
64
+ * await client.notifications.shipper.getNotificationsPreferencesByOrgId()
65
65
  */
66
66
  getNotificationsPreferencesByOrgId(requestOptions) {
67
67
  return core.HttpResponsePromise.fromPromise(this.__getNotificationsPreferencesByOrgId(requestOptions));
@@ -107,13 +107,13 @@ class NotificationsShipper {
107
107
  /**
108
108
  * Create/Update notification preferences for org in jwt
109
109
  *
110
- * @param {Chrt.ShipperNotificationPreferencesClientCreate1} request
111
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
110
+ * @param {Chrt.notifications.ShipperNotificationPreferencesClientCreate1} request
111
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
112
112
  *
113
113
  * @throws {@link Chrt.UnprocessableEntityError}
114
114
  *
115
115
  * @example
116
- * await client.notificationsShipper.postNotificationsPreferencesByOrgId({
116
+ * await client.notifications.shipper.postNotificationsPreferencesByOrgId({
117
117
  * schema_version: 1
118
118
  * })
119
119
  */
@@ -176,4 +176,4 @@ class NotificationsShipper {
176
176
  });
177
177
  }
178
178
  }
179
- exports.NotificationsShipper = NotificationsShipper;
179
+ exports.Shipper = Shipper;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../index.js";
4
+ import * as Chrt from "../../../../../../index.js";
5
5
  /**
6
6
  * @example
7
7
  * {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.170-d";
1
+ export declare const SDK_VERSION = "0.0.170-e";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.170-d";
4
+ exports.SDK_VERSION = "0.0.170-e";
@@ -7,7 +7,6 @@ import { Root } from "./api/resources/root/client/Client.mjs";
7
7
  import { Dev } from "./api/resources/dev/client/Client.mjs";
8
8
  import { Directory } from "./api/resources/directory/client/Client.mjs";
9
9
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
10
- import { NotificationsShipper } from "./api/resources/notificationsShipper/client/Client.mjs";
11
10
  import { OortConnections } from "./api/resources/oortConnections/client/Client.mjs";
12
11
  import { OortCourierPayDriverLineItemGroups } from "./api/resources/oortCourierPayDriverLineItemGroups/client/Client.mjs";
13
12
  import { OortCourierPayDriverPayouts } from "./api/resources/oortCourierPayDriverPayouts/client/Client.mjs";
@@ -51,7 +50,6 @@ export declare class ChrtClient {
51
50
  protected _dev: Dev | undefined;
52
51
  protected _directory: Directory | undefined;
53
52
  protected _notifications: Notifications | undefined;
54
- protected _notificationsShipper: NotificationsShipper | undefined;
55
53
  protected _oortConnections: OortConnections | undefined;
56
54
  protected _oortCourierPayDriverLineItemGroups: OortCourierPayDriverLineItemGroups | undefined;
57
55
  protected _oortCourierPayDriverPayouts: OortCourierPayDriverPayouts | undefined;
@@ -73,7 +71,6 @@ export declare class ChrtClient {
73
71
  get dev(): Dev;
74
72
  get directory(): Directory;
75
73
  get notifications(): Notifications;
76
- get notificationsShipper(): NotificationsShipper;
77
74
  get oortConnections(): OortConnections;
78
75
  get oortCourierPayDriverLineItemGroups(): OortCourierPayDriverLineItemGroups;
79
76
  get oortCourierPayDriverPayouts(): OortCourierPayDriverPayouts;
@@ -7,7 +7,6 @@ import { Root } from "./api/resources/root/client/Client.mjs";
7
7
  import { Dev } from "./api/resources/dev/client/Client.mjs";
8
8
  import { Directory } from "./api/resources/directory/client/Client.mjs";
9
9
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
10
- import { NotificationsShipper } from "./api/resources/notificationsShipper/client/Client.mjs";
11
10
  import { OortConnections } from "./api/resources/oortConnections/client/Client.mjs";
12
11
  import { OortCourierPayDriverLineItemGroups } from "./api/resources/oortCourierPayDriverLineItemGroups/client/Client.mjs";
13
12
  import { OortCourierPayDriverPayouts } from "./api/resources/oortCourierPayDriverPayouts/client/Client.mjs";
@@ -29,8 +28,8 @@ export class ChrtClient {
29
28
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
30
29
  "X-Fern-Language": "JavaScript",
31
30
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
32
- "X-Fern-SDK-Version": "0.0.170-d",
33
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.170-d",
31
+ "X-Fern-SDK-Version": "0.0.170-e",
32
+ "User-Agent": "@chrt-inc/typescript-sdk/0.0.170-e",
34
33
  "X-Fern-Runtime": core.RUNTIME.type,
35
34
  "X-Fern-Runtime-Version": core.RUNTIME.version,
36
35
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -51,10 +50,6 @@ export class ChrtClient {
51
50
  var _a;
52
51
  return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Notifications(this._options)));
53
52
  }
54
- get notificationsShipper() {
55
- var _a;
56
- return ((_a = this._notificationsShipper) !== null && _a !== void 0 ? _a : (this._notificationsShipper = new NotificationsShipper(this._options)));
57
- }
58
53
  get oortConnections() {
59
54
  var _a;
60
55
  return ((_a = this._oortConnections) !== null && _a !== void 0 ? _a : (this._oortConnections = new OortConnections(this._options)));
@@ -3,7 +3,6 @@ export * from "./root/types/index.mjs";
3
3
  export * as dev from "./dev/index.mjs";
4
4
  export * as directory from "./directory/index.mjs";
5
5
  export * as notifications from "./notifications/index.mjs";
6
- export * as notificationsShipper from "./notificationsShipper/index.mjs";
7
6
  export * as oortConnections from "./oortConnections/index.mjs";
8
7
  export * as oortCourierPayDriverLineItemGroups from "./oortCourierPayDriverLineItemGroups/index.mjs";
9
8
  export * as oortCourierPayDriverPayouts from "./oortCourierPayDriverPayouts/index.mjs";
@@ -23,7 +22,6 @@ export * as users from "./users/index.mjs";
23
22
  export * from "./dev/client/requests/index.mjs";
24
23
  export * from "./directory/client/requests/index.mjs";
25
24
  export * from "./notifications/client/requests/index.mjs";
26
- export * from "./notificationsShipper/client/requests/index.mjs";
27
25
  export * from "./oortConnections/client/requests/index.mjs";
28
26
  export * from "./oortCourierPayDriverLineItemGroups/client/requests/index.mjs";
29
27
  export * from "./oortCourierPayDriverPayouts/client/requests/index.mjs";
@@ -3,7 +3,6 @@ export * from "./root/types/index.mjs";
3
3
  export * as dev from "./dev/index.mjs";
4
4
  export * as directory from "./directory/index.mjs";
5
5
  export * as notifications from "./notifications/index.mjs";
6
- export * as notificationsShipper from "./notificationsShipper/index.mjs";
7
6
  export * as oortConnections from "./oortConnections/index.mjs";
8
7
  export * as oortCourierPayDriverLineItemGroups from "./oortCourierPayDriverLineItemGroups/index.mjs";
9
8
  export * as oortCourierPayDriverPayouts from "./oortCourierPayDriverPayouts/index.mjs";
@@ -23,7 +22,6 @@ export * as users from "./users/index.mjs";
23
22
  export * from "./dev/client/requests/index.mjs";
24
23
  export * from "./directory/client/requests/index.mjs";
25
24
  export * from "./notifications/client/requests/index.mjs";
26
- export * from "./notificationsShipper/client/requests/index.mjs";
27
25
  export * from "./oortConnections/client/requests/index.mjs";
28
26
  export * from "./oortCourierPayDriverLineItemGroups/client/requests/index.mjs";
29
27
  export * from "./oortCourierPayDriverPayouts/client/requests/index.mjs";
@@ -4,6 +4,7 @@
4
4
  import * as environments from "../../../../environments.mjs";
5
5
  import * as core from "../../../../core/index.mjs";
6
6
  import * as Chrt from "../../../index.mjs";
7
+ import { Shipper } from "../resources/shipper/client/Client.mjs";
7
8
  export declare namespace Notifications {
8
9
  interface Options {
9
10
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -27,7 +28,9 @@ export declare namespace Notifications {
27
28
  }
28
29
  export declare class Notifications {
29
30
  protected readonly _options: Notifications.Options;
31
+ protected _shipper: Shipper | undefined;
30
32
  constructor(_options?: Notifications.Options);
33
+ get shipper(): Shipper;
31
34
  /**
32
35
  * Get notification preferences by org id from jwt
33
36
  *
@@ -15,10 +15,15 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ import { Shipper } from "../resources/shipper/client/Client.mjs";
18
19
  export class Notifications {
19
20
  constructor(_options = {}) {
20
21
  this._options = _options;
21
22
  }
23
+ get shipper() {
24
+ var _a;
25
+ return ((_a = this._shipper) !== null && _a !== void 0 ? _a : (this._shipper = new Shipper(this._options)));
26
+ }
22
27
  /**
23
28
  * Get notification preferences by org id from jwt
24
29
  *
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as shipper from "./shipper/index.mjs";
2
+ export * from "./shipper/client/requests/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as shipper from "./shipper/index.mjs";
2
+ export * from "./shipper/client/requests/index.mjs";
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as environments from "../../../../environments.mjs";
5
- import * as core from "../../../../core/index.mjs";
6
- import * as Chrt from "../../../index.mjs";
7
- export declare namespace NotificationsShipper {
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace Shipper {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
@@ -25,33 +25,33 @@ export declare namespace NotificationsShipper {
25
25
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
26
  }
27
27
  }
28
- export declare class NotificationsShipper {
29
- protected readonly _options: NotificationsShipper.Options;
30
- constructor(_options?: NotificationsShipper.Options);
28
+ export declare class Shipper {
29
+ protected readonly _options: Shipper.Options;
30
+ constructor(_options?: Shipper.Options);
31
31
  /**
32
32
  * Get notification preferences by org id from jwt
33
33
  *
34
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
34
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
35
35
  *
36
36
  * @example
37
- * await client.notificationsShipper.getNotificationsPreferencesByOrgId()
37
+ * await client.notifications.shipper.getNotificationsPreferencesByOrgId()
38
38
  */
39
- getNotificationsPreferencesByOrgId(requestOptions?: NotificationsShipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperNotificationPreferences1>;
39
+ getNotificationsPreferencesByOrgId(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperNotificationPreferences1>;
40
40
  private __getNotificationsPreferencesByOrgId;
41
41
  /**
42
42
  * Create/Update notification preferences for org in jwt
43
43
  *
44
- * @param {Chrt.ShipperNotificationPreferencesClientCreate1} request
45
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
44
+ * @param {Chrt.notifications.ShipperNotificationPreferencesClientCreate1} request
45
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
46
46
  *
47
47
  * @throws {@link Chrt.UnprocessableEntityError}
48
48
  *
49
49
  * @example
50
- * await client.notificationsShipper.postNotificationsPreferencesByOrgId({
50
+ * await client.notifications.shipper.postNotificationsPreferencesByOrgId({
51
51
  * schema_version: 1
52
52
  * })
53
53
  */
54
- postNotificationsPreferencesByOrgId(request: Chrt.ShipperNotificationPreferencesClientCreate1, requestOptions?: NotificationsShipper.RequestOptions): core.HttpResponsePromise<string>;
54
+ postNotificationsPreferencesByOrgId(request: Chrt.notifications.ShipperNotificationPreferencesClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
55
55
  private __postNotificationsPreferencesByOrgId;
56
56
  protected _getAuthorizationHeader(): Promise<string | undefined>;
57
57
  }
@@ -10,22 +10,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11
11
  });
12
12
  };
13
- import * as environments from "../../../../environments.mjs";
14
- import * as core from "../../../../core/index.mjs";
15
- import * as Chrt from "../../../index.mjs";
16
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
- import * as errors from "../../../../errors/index.mjs";
18
- export class NotificationsShipper {
13
+ import * as environments from "../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../errors/index.mjs";
18
+ export class Shipper {
19
19
  constructor(_options = {}) {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
23
  * Get notification preferences by org id from jwt
24
24
  *
25
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
25
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
26
26
  *
27
27
  * @example
28
- * await client.notificationsShipper.getNotificationsPreferencesByOrgId()
28
+ * await client.notifications.shipper.getNotificationsPreferencesByOrgId()
29
29
  */
30
30
  getNotificationsPreferencesByOrgId(requestOptions) {
31
31
  return core.HttpResponsePromise.fromPromise(this.__getNotificationsPreferencesByOrgId(requestOptions));
@@ -71,13 +71,13 @@ export class NotificationsShipper {
71
71
  /**
72
72
  * Create/Update notification preferences for org in jwt
73
73
  *
74
- * @param {Chrt.ShipperNotificationPreferencesClientCreate1} request
75
- * @param {NotificationsShipper.RequestOptions} requestOptions - Request-specific configuration.
74
+ * @param {Chrt.notifications.ShipperNotificationPreferencesClientCreate1} request
75
+ * @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Chrt.UnprocessableEntityError}
78
78
  *
79
79
  * @example
80
- * await client.notificationsShipper.postNotificationsPreferencesByOrgId({
80
+ * await client.notifications.shipper.postNotificationsPreferencesByOrgId({
81
81
  * schema_version: 1
82
82
  * })
83
83
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../index.mjs";
4
+ import * as Chrt from "../../../../../../index.mjs";
5
5
  /**
6
6
  * @example
7
7
  * {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.170-d";
1
+ export declare const SDK_VERSION = "0.0.170-e";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.170-d";
1
+ export const SDK_VERSION = "0.0.170-e";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "0.0.170-d",
3
+ "version": "0.0.170-e",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -728,128 +728,6 @@ await client.notifications.postCourierNotificationsPreferencesByOrgId({
728
728
  </dl>
729
729
  </details>
730
730
 
731
- ## NotificationsShipper
732
-
733
- <details><summary><code>client.notificationsShipper.<a href="/src/api/resources/notificationsShipper/client/Client.ts">getNotificationsPreferencesByOrgId</a>() -> Chrt.ShipperNotificationPreferences1</code></summary>
734
- <dl>
735
- <dd>
736
-
737
- #### 📝 Description
738
-
739
- <dl>
740
- <dd>
741
-
742
- <dl>
743
- <dd>
744
-
745
- Get notification preferences by org id from jwt
746
-
747
- </dd>
748
- </dl>
749
- </dd>
750
- </dl>
751
-
752
- #### 🔌 Usage
753
-
754
- <dl>
755
- <dd>
756
-
757
- <dl>
758
- <dd>
759
-
760
- ```typescript
761
- await client.notificationsShipper.getNotificationsPreferencesByOrgId();
762
- ```
763
-
764
- </dd>
765
- </dl>
766
- </dd>
767
- </dl>
768
-
769
- #### ⚙️ Parameters
770
-
771
- <dl>
772
- <dd>
773
-
774
- <dl>
775
- <dd>
776
-
777
- **requestOptions:** `NotificationsShipper.RequestOptions`
778
-
779
- </dd>
780
- </dl>
781
- </dd>
782
- </dl>
783
-
784
- </dd>
785
- </dl>
786
- </details>
787
-
788
- <details><summary><code>client.notificationsShipper.<a href="/src/api/resources/notificationsShipper/client/Client.ts">postNotificationsPreferencesByOrgId</a>({ ...params }) -> string</code></summary>
789
- <dl>
790
- <dd>
791
-
792
- #### 📝 Description
793
-
794
- <dl>
795
- <dd>
796
-
797
- <dl>
798
- <dd>
799
-
800
- Create/Update notification preferences for org in jwt
801
-
802
- </dd>
803
- </dl>
804
- </dd>
805
- </dl>
806
-
807
- #### 🔌 Usage
808
-
809
- <dl>
810
- <dd>
811
-
812
- <dl>
813
- <dd>
814
-
815
- ```typescript
816
- await client.notificationsShipper.postNotificationsPreferencesByOrgId({
817
- schema_version: 1,
818
- });
819
- ```
820
-
821
- </dd>
822
- </dl>
823
- </dd>
824
- </dl>
825
-
826
- #### ⚙️ Parameters
827
-
828
- <dl>
829
- <dd>
830
-
831
- <dl>
832
- <dd>
833
-
834
- **request:** `Chrt.ShipperNotificationPreferencesClientCreate1`
835
-
836
- </dd>
837
- </dl>
838
-
839
- <dl>
840
- <dd>
841
-
842
- **requestOptions:** `NotificationsShipper.RequestOptions`
843
-
844
- </dd>
845
- </dl>
846
- </dd>
847
- </dl>
848
-
849
- </dd>
850
- </dl>
851
- </details>
852
-
853
731
  ## OortConnections
854
732
 
855
733
  <details><summary><code>client.oortConnections.<a href="/src/api/resources/oortConnections/client/Client.ts">getConnectionsInfoForCouriers</a>() -> Chrt.ShipperOrgConnectionInfo1[]</code></summary>
@@ -5859,3 +5737,125 @@ await client.users.getUserPublicData();
5859
5737
  </dd>
5860
5738
  </dl>
5861
5739
  </details>
5740
+
5741
+ ## Notifications Shipper
5742
+
5743
+ <details><summary><code>client.notifications.shipper.<a href="/src/api/resources/notifications/resources/shipper/client/Client.ts">getNotificationsPreferencesByOrgId</a>() -> Chrt.ShipperNotificationPreferences1</code></summary>
5744
+ <dl>
5745
+ <dd>
5746
+
5747
+ #### 📝 Description
5748
+
5749
+ <dl>
5750
+ <dd>
5751
+
5752
+ <dl>
5753
+ <dd>
5754
+
5755
+ Get notification preferences by org id from jwt
5756
+
5757
+ </dd>
5758
+ </dl>
5759
+ </dd>
5760
+ </dl>
5761
+
5762
+ #### 🔌 Usage
5763
+
5764
+ <dl>
5765
+ <dd>
5766
+
5767
+ <dl>
5768
+ <dd>
5769
+
5770
+ ```typescript
5771
+ await client.notifications.shipper.getNotificationsPreferencesByOrgId();
5772
+ ```
5773
+
5774
+ </dd>
5775
+ </dl>
5776
+ </dd>
5777
+ </dl>
5778
+
5779
+ #### ⚙️ Parameters
5780
+
5781
+ <dl>
5782
+ <dd>
5783
+
5784
+ <dl>
5785
+ <dd>
5786
+
5787
+ **requestOptions:** `Shipper.RequestOptions`
5788
+
5789
+ </dd>
5790
+ </dl>
5791
+ </dd>
5792
+ </dl>
5793
+
5794
+ </dd>
5795
+ </dl>
5796
+ </details>
5797
+
5798
+ <details><summary><code>client.notifications.shipper.<a href="/src/api/resources/notifications/resources/shipper/client/Client.ts">postNotificationsPreferencesByOrgId</a>({ ...params }) -> string</code></summary>
5799
+ <dl>
5800
+ <dd>
5801
+
5802
+ #### 📝 Description
5803
+
5804
+ <dl>
5805
+ <dd>
5806
+
5807
+ <dl>
5808
+ <dd>
5809
+
5810
+ Create/Update notification preferences for org in jwt
5811
+
5812
+ </dd>
5813
+ </dl>
5814
+ </dd>
5815
+ </dl>
5816
+
5817
+ #### 🔌 Usage
5818
+
5819
+ <dl>
5820
+ <dd>
5821
+
5822
+ <dl>
5823
+ <dd>
5824
+
5825
+ ```typescript
5826
+ await client.notifications.shipper.postNotificationsPreferencesByOrgId({
5827
+ schema_version: 1,
5828
+ });
5829
+ ```
5830
+
5831
+ </dd>
5832
+ </dl>
5833
+ </dd>
5834
+ </dl>
5835
+
5836
+ #### ⚙️ Parameters
5837
+
5838
+ <dl>
5839
+ <dd>
5840
+
5841
+ <dl>
5842
+ <dd>
5843
+
5844
+ **request:** `Chrt.notifications.ShipperNotificationPreferencesClientCreate1`
5845
+
5846
+ </dd>
5847
+ </dl>
5848
+
5849
+ <dl>
5850
+ <dd>
5851
+
5852
+ **requestOptions:** `Shipper.RequestOptions`
5853
+
5854
+ </dd>
5855
+ </dl>
5856
+ </dd>
5857
+ </dl>
5858
+
5859
+ </dd>
5860
+ </dl>
5861
+ </details>