merchi_sdk_ts 1.20.0 → 1.22.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.
@@ -21,6 +21,5 @@ import * as job_status from './job_status.js';
21
21
  import * as white_label_accessibilities from './white_label_accessibilities.js';
22
22
  import * as robots_meta_directives from './robots_meta_directives.js';
23
23
  import * as inventory_statuses from './inventory_statuses.js';
24
- import * as theme_foundations from './theme_foundations.js';
25
24
  import * as discount_types from './discount_types.js';
26
- export { discount_types, field_types, input_types, inventory_statuses, platform, robots_meta_directives, system_roles, theme_foundations, user_types, white_label_accessibilities, roles, notification_sections, notification_types, shipment_services, shipment_companies, auto_assign_production_on_actions, product_types, drafting_status, job_types, payment_status, production_status, shipment_status, call_to_actions, domain_types, job_status, };
25
+ export { discount_types, field_types, input_types, inventory_statuses, platform, robots_meta_directives, system_roles, user_types, white_label_accessibilities, roles, notification_sections, notification_types, shipment_services, shipment_companies, auto_assign_production_on_actions, product_types, drafting_status, job_types, payment_status, production_status, shipment_status, call_to_actions, domain_types, job_status, };
@@ -485,10 +485,6 @@ var Domain = /** @class */ (function (_super) {
485
485
  Domain.property({ arrayType: 'Company' }),
486
486
  __metadata("design:type", Array)
487
487
  ], Domain.prototype, "accessibleClientCompanies", void 0);
488
- __decorate([
489
- Domain.property({ arrayType: 'Menu' }),
490
- __metadata("design:type", Array)
491
- ], Domain.prototype, "menus", void 0);
492
488
  __decorate([
493
489
  Domain.property({ arrayType: 'Session' }),
494
490
  __metadata("design:type", Array)
@@ -537,10 +533,6 @@ var Domain = /** @class */ (function (_super) {
537
533
  Domain.property({ arrayType: 'DomainInvitation' }),
538
534
  __metadata("design:type", Array)
539
535
  ], Domain.prototype, "domainInvitations", void 0);
540
- __decorate([
541
- Domain.property({ arrayType: 'SeoDomainPage' }),
542
- __metadata("design:type", Array)
543
- ], Domain.prototype, "seoDomainPages", void 0);
544
536
  __decorate([
545
537
  Domain.property({ type: DomainChatSettings }),
546
538
  __metadata("design:type", Object)
@@ -105,14 +105,6 @@ var MerchiFile = /** @class */ (function (_super) {
105
105
  MerchiFile.property(),
106
106
  __metadata("design:type", String)
107
107
  ], MerchiFile.prototype, "downloadUrl", void 0);
108
- __decorate([
109
- MerchiFile.property({ arrayType: 'Component' }),
110
- __metadata("design:type", Array)
111
- ], MerchiFile.prototype, "components", void 0);
112
- __decorate([
113
- MerchiFile.property({ arrayType: 'Component' }),
114
- __metadata("design:type", Array)
115
- ], MerchiFile.prototype, "componentFeatureImages", void 0);
116
108
  __decorate([
117
109
  MerchiFile.property({ arrayType: 'DraftComment' }),
118
110
  __metadata("design:type", Array)
@@ -34,7 +34,6 @@ var __values = (this && this.__values) || function(o) {
34
34
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
35
35
  };
36
36
  import * as _ from 'lodash';
37
- import { Component } from './component.js';
38
37
  import { ProductForm } from './product_form.js';
39
38
  import { CountryTax } from './country_tax.js';
40
39
  import { Domain } from './domain.js';
@@ -184,23 +183,27 @@ var Product = /** @class */ (function (_super) {
184
183
  __metadata("design:type", Number)
185
184
  ], Product.prototype, "id", void 0);
186
185
  __decorate([
187
- Component.property({ type: Date }),
186
+ Product.property(),
187
+ __metadata("design:type", Number)
188
+ ], Product.prototype, "position", void 0);
189
+ __decorate([
190
+ Product.property({ type: Date }),
188
191
  __metadata("design:type", Date)
189
192
  ], Product.prototype, "created", void 0);
190
193
  __decorate([
191
- Component.property({ type: Date }),
194
+ Product.property({ type: Date }),
192
195
  __metadata("design:type", Date)
193
196
  ], Product.prototype, "updated", void 0);
194
197
  __decorate([
195
- Component.property({ type: 'User' }),
198
+ Product.property({ type: 'User' }),
196
199
  __metadata("design:type", Object)
197
200
  ], Product.prototype, "createdBy", void 0);
198
201
  __decorate([
199
- Component.property({ type: 'User' }),
202
+ Product.property({ type: 'User' }),
200
203
  __metadata("design:type", Object)
201
204
  ], Product.prototype, "designer", void 0);
202
205
  __decorate([
203
- Component.property({ type: 'User' }),
206
+ Product.property({ type: 'User' }),
204
207
  __metadata("design:type", Object)
205
208
  ], Product.prototype, "updatedBy", void 0);
206
209
  __decorate([
@@ -487,10 +490,6 @@ var Product = /** @class */ (function (_super) {
487
490
  Product.property({ arrayType: 'Product' }),
488
491
  __metadata("design:type", Array)
489
492
  ], Product.prototype, "chainedInventorySellerProducts", void 0);
490
- __decorate([
491
- Product.property({ type: Component }),
492
- __metadata("design:type", Object)
493
- ], Product.prototype, "component", void 0);
494
493
  __decorate([
495
494
  Product.property({ type: ProductForm }),
496
495
  __metadata("design:type", Object)
@@ -523,10 +522,6 @@ var Product = /** @class */ (function (_super) {
523
522
  Product.property({ arrayType: 'InternalTag' }),
524
523
  __metadata("design:type", Array)
525
524
  ], Product.prototype, "internalTags", void 0);
526
- __decorate([
527
- Product.property({ arrayType: 'SeoDomainPage' }),
528
- __metadata("design:type", Array)
529
- ], Product.prototype, "seoDomainPages", void 0);
530
525
  __decorate([
531
526
  Product.property({ type: MerchiFile }),
532
527
  __metadata("design:type", Object)
@@ -234,7 +234,6 @@ test('can list products with options set', function () {
234
234
  companyCustomerId: 99,
235
235
  companyId: 91,
236
236
  companySupplierId: 100,
237
- componentId: 37,
238
237
  conversationId: 1,
239
238
  dateFrom: new Date(0),
240
239
  dateTo: new Date(1),
@@ -244,7 +243,6 @@ test('can list products with options set', function () {
244
243
  embed: {},
245
244
  entityTypes: [0, 1],
246
245
  exclude: [8],
247
- excludeComponents: ['DomainInfo', 'DomainSettings'],
248
246
  excludeDomains: [0, 1],
249
247
  excludeJobs: [0, 1],
250
248
  groupBuyForJobId: 88,
@@ -282,7 +280,6 @@ test('can list products with options set', function () {
282
280
  receiverId: 86,
283
281
  userAsReceiver: 97,
284
282
  relatedAssignment: 1,
285
- relatedComponent: 1,
286
283
  relatedDraft: 1,
287
284
  relatedJob: 3,
288
285
  relatedJobs: [3, 5],
@@ -326,7 +323,6 @@ test('can list products with options set', function () {
326
323
  ['company_customer_id', '99'],
327
324
  ['company_id', '91'],
328
325
  ['company_supplier_id', '100'],
329
- ['component_id', '37'],
330
326
  ['date_from', '0'],
331
327
  ['date_to', '0'],
332
328
  ['does_not_have_admin_domain', 'false'],
@@ -335,7 +331,6 @@ test('can list products with options set', function () {
335
331
  ['embed', '{}'],
336
332
  ['entity_types', '0,1'],
337
333
  ['exclude', '8'],
338
- ['exclude_components', 'DomainInfo,DomainSettings'],
339
334
  ['exclude_domains', '0,1'],
340
335
  ['exclude_jobs', '0,1'],
341
336
  ['group_buy_for_job_id', '88'],
@@ -374,7 +369,6 @@ test('can list products with options set', function () {
374
369
  ['receiver_id', '86'],
375
370
  ['user_as_receiver', '97'],
376
371
  ['related_assignment', '1'],
377
- ['related_component', '1'],
378
372
  ['related_draft', '1'],
379
373
  ['related_job', '3'],
380
374
  ['related_jobs', '3,5'],
@@ -23,7 +23,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
23
23
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
24
24
  };
25
25
  import { Entity } from '../entity.js';
26
- import { MerchiFile } from './file.js';
27
26
  import { User } from './user.js';
28
27
  import { ThemeStatus } from '../constants/theme_status.js';
29
28
  var Theme = /** @class */ (function (_super) {
@@ -65,22 +64,6 @@ var Theme = /** @class */ (function (_super) {
65
64
  Theme.property(),
66
65
  __metadata("design:type", Number)
67
66
  ], Theme.prototype, "id", void 0);
68
- __decorate([
69
- Theme.property(),
70
- __metadata("design:type", Number)
71
- ], Theme.prototype, "foundation", void 0);
72
- __decorate([
73
- Theme.property({ arrayType: 'InternalTag' }),
74
- __metadata("design:type", Array)
75
- ], Theme.prototype, "internalTags", void 0);
76
- __decorate([
77
- Theme.property({ arrayType: 'Component' }),
78
- __metadata("design:type", Array)
79
- ], Theme.prototype, "components", void 0);
80
- __decorate([
81
- Theme.property({ arrayType: 'Component' }),
82
- __metadata("design:type", Array)
83
- ], Theme.prototype, "contextComponents", void 0);
84
67
  __decorate([
85
68
  Theme.property(),
86
69
  __metadata("design:type", Number)
@@ -97,214 +80,10 @@ var Theme = /** @class */ (function (_super) {
97
80
  Theme.property({ type: String }),
98
81
  __metadata("design:type", Object)
99
82
  ], Theme.prototype, "emailCssErrorMessage", void 0);
100
- __decorate([
101
- Theme.property(),
102
- __metadata("design:type", String)
103
- ], Theme.prototype, "name", void 0);
104
- __decorate([
105
- Theme.property(),
106
- __metadata("design:type", String)
107
- ], Theme.prototype, "description", void 0);
108
- __decorate([
109
- Theme.property(),
110
- __metadata("design:type", String)
111
- ], Theme.prototype, "jsBundle", void 0);
112
- __decorate([
113
- Theme.property(),
114
- __metadata("design:type", String)
115
- ], Theme.prototype, "headerTemplate", void 0);
116
- __decorate([
117
- Theme.property({ type: String }),
118
- __metadata("design:type", Object)
119
- ], Theme.prototype, "headerError", void 0);
120
- __decorate([
121
- Theme.property(),
122
- __metadata("design:type", String)
123
- ], Theme.prototype, "headerHtml", void 0);
124
- __decorate([
125
- Theme.property(),
126
- __metadata("design:type", String)
127
- ], Theme.prototype, "footerTemplate", void 0);
128
- __decorate([
129
- Theme.property({ type: String }),
130
- __metadata("design:type", Object)
131
- ], Theme.prototype, "footerError", void 0);
132
- __decorate([
133
- Theme.property(),
134
- __metadata("design:type", String)
135
- ], Theme.prototype, "footerHtml", void 0);
136
- __decorate([
137
- Theme.property(),
138
- __metadata("design:type", String)
139
- ], Theme.prototype, "indexPageTemplate", void 0);
140
- __decorate([
141
- Theme.property({ type: String }),
142
- __metadata("design:type", Object)
143
- ], Theme.prototype, "indexPageError", void 0);
144
- __decorate([
145
- Theme.property(),
146
- __metadata("design:type", String)
147
- ], Theme.prototype, "indexHtml", void 0);
148
- __decorate([
149
- Theme.property({ arrayType: 'Menu' }),
150
- __metadata("design:type", Array)
151
- ], Theme.prototype, "menus", void 0);
152
- __decorate([
153
- Theme.property(),
154
- __metadata("design:type", String)
155
- ], Theme.prototype, "productsPageTemplate", void 0);
156
- __decorate([
157
- Theme.property({ type: String }),
158
- __metadata("design:type", Object)
159
- ], Theme.prototype, "productsPageError", void 0);
160
- __decorate([
161
- Theme.property(),
162
- __metadata("design:type", String)
163
- ], Theme.prototype, "productsHtml", void 0);
164
- __decorate([
165
- Theme.property({ type: String }),
166
- __metadata("design:type", Object)
167
- ], Theme.prototype, "domainInvitePageTemplate", void 0);
168
- __decorate([
169
- Theme.property({ type: String }),
170
- __metadata("design:type", Object)
171
- ], Theme.prototype, "domainInvitePageError", void 0);
172
- __decorate([
173
- Theme.property(),
174
- __metadata("design:type", String)
175
- ], Theme.prototype, "domainInviteHtml", void 0);
176
- __decorate([
177
- Theme.property({ type: String }),
178
- __metadata("design:type", Object)
179
- ], Theme.prototype, "resetPasswordPageTemplate", void 0);
180
- __decorate([
181
- Theme.property({ type: String }),
182
- __metadata("design:type", Object)
183
- ], Theme.prototype, "resetPasswordPageError", void 0);
184
- __decorate([
185
- Theme.property(),
186
- __metadata("design:type", String)
187
- ], Theme.prototype, "passwordResetHtml", void 0);
188
- __decorate([
189
- Theme.property({ type: String }),
190
- __metadata("design:type", Object)
191
- ], Theme.prototype, "passwordChangePageTemplate", void 0);
192
- __decorate([
193
- Theme.property({ type: String }),
194
- __metadata("design:type", Object)
195
- ], Theme.prototype, "passwordChangePageError", void 0);
196
- __decorate([
197
- Theme.property(),
198
- __metadata("design:type", String)
199
- ], Theme.prototype, "passwordChangeHtml", void 0);
200
- __decorate([
201
- Theme.property({ type: String }),
202
- __metadata("design:type", Object)
203
- ], Theme.prototype, "jobDraftingPageTemplate", void 0);
204
- __decorate([
205
- Theme.property({ type: String }),
206
- __metadata("design:type", Object)
207
- ], Theme.prototype, "jobDraftingPageError", void 0);
208
- __decorate([
209
- Theme.property(),
210
- __metadata("design:type", String)
211
- ], Theme.prototype, "jobDraftingHtml", void 0);
212
- __decorate([
213
- Theme.property({ type: String }),
214
- __metadata("design:type", Object)
215
- ], Theme.prototype, "jobQuoteRequestedPageTemplate", void 0);
216
- __decorate([
217
- Theme.property({ type: String }),
218
- __metadata("design:type", Object)
219
- ], Theme.prototype, "jobQuoteRequestedPageError", void 0);
220
- __decorate([
221
- Theme.property(),
222
- __metadata("design:type", String)
223
- ], Theme.prototype, "jobQuoteRequestedHtml", void 0);
224
- __decorate([
225
- Theme.property({ type: String }),
226
- __metadata("design:type", Object)
227
- ], Theme.prototype, "invoicePageTemplate", void 0);
228
- __decorate([
229
- Theme.property({ type: String }),
230
- __metadata("design:type", Object)
231
- ], Theme.prototype, "invoicePageError", void 0);
232
- __decorate([
233
- Theme.property(),
234
- __metadata("design:type", String)
235
- ], Theme.prototype, "invoiceHtml", void 0);
236
- __decorate([
237
- Theme.property({ type: String }),
238
- __metadata("design:type", Object)
239
- ], Theme.prototype, "loginPageTemplate", void 0);
240
- __decorate([
241
- Theme.property({ type: String }),
242
- __metadata("design:type", Object)
243
- ], Theme.prototype, "loginPageError", void 0);
244
- __decorate([
245
- Theme.property(),
246
- __metadata("design:type", String)
247
- ], Theme.prototype, "loginPageHtml", void 0);
248
- __decorate([
249
- Theme.property({ type: String }),
250
- __metadata("design:type", Object)
251
- ], Theme.prototype, "errorPageTemplate", void 0);
252
- __decorate([
253
- Theme.property({ type: String }),
254
- __metadata("design:type", Object)
255
- ], Theme.prototype, "errorPageError", void 0);
256
- __decorate([
257
- Theme.property(),
258
- __metadata("design:type", String)
259
- ], Theme.prototype, "errorPageHtml", void 0);
260
- __decorate([
261
- Theme.property({ type: String }),
262
- __metadata("design:type", Object)
263
- ], Theme.prototype, "userProfilePageTemplate", void 0);
264
- __decorate([
265
- Theme.property({ type: String }),
266
- __metadata("design:type", Object)
267
- ], Theme.prototype, "userProfilePageError", void 0);
268
- __decorate([
269
- Theme.property(),
270
- __metadata("design:type", String)
271
- ], Theme.prototype, "userProfileHtml", void 0);
272
- __decorate([
273
- Theme.property({ type: String }),
274
- __metadata("design:type", Object)
275
- ], Theme.prototype, "productPageTemplate", void 0);
276
- __decorate([
277
- Theme.property({ type: String }),
278
- __metadata("design:type", Object)
279
- ], Theme.prototype, "productPageError", void 0);
280
- __decorate([
281
- Theme.property(),
282
- __metadata("design:type", String)
283
- ], Theme.prototype, "productHtml", void 0);
284
- __decorate([
285
- Theme.property({ type: String }),
286
- __metadata("design:type", Object)
287
- ], Theme.prototype, "invoicePaidPageTemplate", void 0);
288
- __decorate([
289
- Theme.property({ type: String }),
290
- __metadata("design:type", Object)
291
- ], Theme.prototype, "invoicePaidPageError", void 0);
292
- __decorate([
293
- Theme.property(),
294
- __metadata("design:type", String)
295
- ], Theme.prototype, "invoicePaidHtml", void 0);
296
83
  __decorate([
297
84
  Theme.property(),
298
85
  __metadata("design:type", Date)
299
86
  ], Theme.prototype, "lastUpdated", void 0);
300
- __decorate([
301
- Theme.property(),
302
- __metadata("design:type", Boolean)
303
- ], Theme.prototype, "public", void 0);
304
- __decorate([
305
- Theme.property({ type: String }),
306
- __metadata("design:type", String)
307
- ], Theme.prototype, "aiContext", void 0);
308
87
  __decorate([
309
88
  Theme.property({ embeddedByDefault: false, type: String }),
310
89
  __metadata("design:type", Object)
@@ -329,14 +108,6 @@ var Theme = /** @class */ (function (_super) {
329
108
  Theme.property({ embeddedByDefault: false, type: String }),
330
109
  __metadata("design:type", Object)
331
110
  ], Theme.prototype, "emailCssTemplateEditing", void 0);
332
- __decorate([
333
- Theme.property({ arrayType: 'MerchiFile' }),
334
- __metadata("design:type", Array)
335
- ], Theme.prototype, "cssImageFiles", void 0);
336
- __decorate([
337
- Theme.property({ type: MerchiFile }),
338
- __metadata("design:type", Object)
339
- ], Theme.prototype, "featureImage", void 0);
340
111
  __decorate([
341
112
  Theme.property({ type: 'Domain' }),
342
113
  __metadata("design:type", Object)
@@ -345,22 +116,10 @@ var Theme = /** @class */ (function (_super) {
345
116
  Theme.property({ type: User }),
346
117
  __metadata("design:type", Object)
347
118
  ], Theme.prototype, "author", void 0);
348
- __decorate([
349
- Theme.property({ arrayType: 'MerchiFile' }),
350
- __metadata("design:type", Array)
351
- ], Theme.prototype, "images", void 0);
352
119
  __decorate([
353
120
  Theme.property({ arrayType: 'Domain' }),
354
121
  __metadata("design:type", Array)
355
122
  ], Theme.prototype, "domains", void 0);
356
- __decorate([
357
- Theme.property({ arrayType: 'Page' }),
358
- __metadata("design:type", Array)
359
- ], Theme.prototype, "pages", void 0);
360
- __decorate([
361
- Theme.property({ type: Number }),
362
- __metadata("design:type", Object)
363
- ], Theme.prototype, "defaultForDomainType", void 0);
364
123
  return Theme;
365
124
  }(Entity));
366
125
  export { Theme };
package/dist/entity.js CHANGED
@@ -753,10 +753,6 @@ var Entity = /** @class */ (function () {
753
753
  fetchOptions.query.push(['original_of',
754
754
  options.originalOf.toString()]);
755
755
  }
756
- if (options.relatedComponent !== undefined) {
757
- fetchOptions.query.push(['related_component',
758
- options.relatedComponent.toString()]);
759
- }
760
756
  if (options.relatedAssignment !== undefined) {
761
757
  fetchOptions.query.push(['related_assignment',
762
758
  options.relatedAssignment.toString()]);
@@ -835,10 +831,6 @@ var Entity = /** @class */ (function () {
835
831
  if (options.companySupplierId !== undefined) {
836
832
  fetchOptions.query.push(['company_supplier_id', options.companySupplierId.toString()]);
837
833
  }
838
- if (options.componentId !== undefined) {
839
- fetchOptions.query.push(['component_id',
840
- options.componentId.toString()]);
841
- }
842
834
  if (options.conversationId !== undefined) {
843
835
  fetchOptions.query.push(['conversation_id',
844
836
  options.conversationId.toString()]);
@@ -881,9 +873,6 @@ var Entity = /** @class */ (function () {
881
873
  if (options.exclude !== undefined) {
882
874
  fetchOptions.query.push(['exclude', options.exclude.join(',')]);
883
875
  }
884
- if (options.excludeComponents !== undefined) {
885
- fetchOptions.query.push(['exclude_components', options.excludeComponents.join(',')]);
886
- }
887
876
  if (options.excludeDomains !== undefined) {
888
877
  fetchOptions.query.push(['exclude_domains', options.excludeDomains.join(',')]);
889
878
  }
package/dist/index.js CHANGED
@@ -17,9 +17,6 @@ import { CartShipmentQuote } from './entities/cart_shipment_quote.js';
17
17
  import { Category } from './entities/category.js';
18
18
  import { Company } from './entities/company.js';
19
19
  import { CompanyInvitation } from './entities/company_invitation.js';
20
- import { Component } from './entities/component.js';
21
- import { ComponentTag } from './entities/component_tag.js';
22
- import { ComponentVersion } from './entities/component_version.js';
23
20
  import { ProductForm } from './entities/product_form.js';
24
21
  import { ProductFormVersion } from './entities/product_form_version.js';
25
22
  import { CountryTax } from './entities/country_tax.js';
@@ -46,12 +43,9 @@ import { JobComment } from './entities/job_comment.js';
46
43
  import { JobNote } from './entities/job_note.js';
47
44
  import { JobOperationLog } from './entities/job_operation_log.js';
48
45
  import { MatchingInventory } from './entities/matching_inventory.js';
49
- import { Menu } from './entities/menu.js';
50
- import { MenuItem } from './entities/menu_item.js';
51
46
  import { Merchi } from './merchi.js';
52
47
  import { MerchiFile } from './entities/file.js';
53
48
  import { Notification } from './entities/notification.js';
54
- import { Page } from './entities/page.js';
55
49
  import { Payment } from './entities/payment.js';
56
50
  import { PaymentDevice } from './entities/payment_device.js';
57
51
  import { PhoneNumber } from './entities/phone_number.js';
@@ -89,4 +83,4 @@ import * as request from './request.js';
89
83
  import * as util from './util/index.js';
90
84
  import * as pricing from './pricing/index.js';
91
85
  import { toastNotifications } from './toasts.js';
92
- export { constants, request, util, pricing, toastNotifications, Address, AgentConversation, AgentTokenUsage, AgentSkill, AgentSkillVersion, AgentSkillApproval, DomainChatSettings, SupportConversation, SupportMessage, Assignment, AutomaticPaymentRelationship, Bank, Cart, CartItem, CartShipmentGroup, CartShipmentQuote, Category, Company, CompanyInvitation, Component, ComponentTag, ComponentVersion, ProductForm, ProductFormVersion, CountryTax, Discount, DiscountGroup, Domain, DomainInvitation, DomainTag, Draft, DraftComment, DraftTemplate, EmailAddress, EmailCounter, EnrolledDomain, Entity, ExchangeRate, InternalTag, Inventory, InventoryUnitVariation, Invoice, Item, Job, JobComment, JobNote, JobOperationLog, MatchingInventory, Menu, MenuItem, Merchi, MerchiFile, Notification, Page, Payment, PaymentDevice, PhoneNumber, Product, ProductReview, ProductionComment, Quote, QuoteItem, Reminder, apiFetch, apiFetchWithProgress, Session, Shipment, ShipmentLog, ShipmentItem, ShipmentItemFulfillment, ShipmentMethod, ShipmentMethodVariation, ShortUrl, SubscriptionPlan, SupplyDomain, SystemRole, Theme, ThemeCssSetting, User, UserCompany, Variation, VariationField, VariationFieldsOption, VariationOption, VariationsGroup, generateUUID, getCookie };
86
+ export { constants, request, util, pricing, toastNotifications, Address, AgentConversation, AgentTokenUsage, AgentSkill, AgentSkillVersion, AgentSkillApproval, DomainChatSettings, SupportConversation, SupportMessage, Assignment, AutomaticPaymentRelationship, Bank, Cart, CartItem, CartShipmentGroup, CartShipmentQuote, Category, Company, CompanyInvitation, ProductForm, ProductFormVersion, CountryTax, Discount, DiscountGroup, Domain, DomainInvitation, DomainTag, Draft, DraftComment, DraftTemplate, EmailAddress, EmailCounter, EnrolledDomain, Entity, ExchangeRate, InternalTag, Inventory, InventoryUnitVariation, Invoice, Item, Job, JobComment, JobNote, JobOperationLog, MatchingInventory, Merchi, MerchiFile, Notification, Payment, PaymentDevice, PhoneNumber, Product, ProductReview, ProductionComment, Quote, QuoteItem, Reminder, apiFetch, apiFetchWithProgress, Session, Shipment, ShipmentLog, ShipmentItem, ShipmentItemFulfillment, ShipmentMethod, ShipmentMethodVariation, ShortUrl, SubscriptionPlan, SupplyDomain, SystemRole, Theme, ThemeCssSetting, User, UserCompany, Variation, VariationField, VariationFieldsOption, VariationOption, VariationsGroup, generateUUID, getCookie };
package/dist/merchi.js CHANGED
@@ -17,7 +17,6 @@ import { JobOperationLog } from './entities/job_operation_log.js';
17
17
  import { Domain } from './entities/domain.js';
18
18
  import { ExchangeRate } from './entities/exchange_rate.js';
19
19
  import { Job } from './entities/job.js';
20
- import { Menu } from './entities/menu.js';
21
20
  import { VariationField } from './entities/variation_field.js';
22
21
  import { VariationOption } from './entities/variation_option.js';
23
22
  import { ProductionComment } from './entities/production_comment.js';
@@ -41,20 +40,16 @@ import { ShipmentMethod } from './entities/shipment_method.js';
41
40
  import { ShipmentMethodVariation } from './entities/shipment_method_variation.js';
42
41
  import { DomainInvitation } from './entities/domain_invitation.js';
43
42
  import { EmailCounter } from './entities/email_counter.js';
44
- import { MenuItem } from './entities/menu_item.js';
45
43
  import { SupplyDomain } from './entities/supply_domain.js';
46
44
  import { Cart } from './entities/cart.js';
47
45
  import { CartShipmentGroup } from './entities/cart_shipment_group.js';
48
46
  import { CartShipmentQuote } from './entities/cart_shipment_quote.js';
49
47
  import { Theme } from './entities/theme.js';
50
48
  import { ThemeCssSetting } from './entities/theme_css_setting.js';
51
- import { Component } from './entities/component.js';
52
- import { ComponentVersion } from './entities/component_version.js';
53
49
  import { ProductForm } from './entities/product_form.js';
54
50
  import { ProductFormVersion } from './entities/product_form_version.js';
55
51
  import { MerchiFile } from './entities/file.js';
56
52
  import { EmailAddress } from './entities/email_address.js';
57
- import { SeoDomainPage } from './entities/seo_domain_page.js';
58
53
  import { ShortUrl } from './entities/short_url.js';
59
54
  import { VariationsGroup } from './entities/variations_group.js';
60
55
  import { Quote } from './entities/quote.js';
@@ -67,7 +62,6 @@ import { Discount } from './entities/discount.js';
67
62
  import { DiscountGroup } from './entities/discount_group.js';
68
63
  import { User } from './entities/user.js';
69
64
  import { Company } from './entities/company.js';
70
- import { ComponentTag } from './entities/component_tag.js';
71
65
  import { EnrolledDomain } from './entities/enrolled_domain.js';
72
66
  import { CountryTax } from './entities/country_tax.js';
73
67
  import { Item } from './entities/item.js';
@@ -75,7 +69,6 @@ import { DomainTag } from './entities/domain_tag.js';
75
69
  import { DraftComment } from './entities/draft_comment.js';
76
70
  import { Notification } from './entities/notification.js';
77
71
  import { Payment } from './entities/payment.js';
78
- import { Page } from './entities/page.js';
79
72
  import { CompanyInvitation } from './entities/company_invitation.js';
80
73
  import { SystemRole } from './entities/system_role.js';
81
74
  import { PaymentDevice } from './entities/payment_device.js';
@@ -217,14 +210,11 @@ var Merchi = /** @class */ (function () {
217
210
  this.AutomaticPaymentRelationship = this.setupClass(AutomaticPaymentRelationship);
218
211
  this.Variation = this.setupClass(Variation);
219
212
  this.DraftComment = this.setupClass(DraftComment);
220
- this.Component = this.setupClass(Component);
221
- this.ComponentVersion = this.setupClass(ComponentVersion);
222
213
  this.ProductForm = this.setupClass(ProductForm);
223
214
  this.ProductFormVersion = this.setupClass(ProductFormVersion);
224
215
  this.Theme = this.setupClass(Theme);
225
216
  this.ThemeCssSetting = this.setupClass(ThemeCssSetting);
226
217
  this.Company = this.setupClass(Company);
227
- this.MenuItem = this.setupClass(MenuItem);
228
218
  this.InternalTag = this.setupClass(InternalTag);
229
219
  this.Inventory = this.setupClass(Inventory);
230
220
  this.InventoryGroup = this.setupClass(InventoryGroup);
@@ -239,13 +229,11 @@ var Merchi = /** @class */ (function () {
239
229
  this.ExchangeRate = this.setupClass(ExchangeRate);
240
230
  this.Invoice = this.setupClass(Invoice);
241
231
  this.Job = this.setupClass(Job);
242
- this.ComponentTag = this.setupClass(ComponentTag);
243
232
  this.Category = this.setupClass(Category);
244
233
  this.VariationField = this.setupClass(VariationField);
245
234
  this.InventoryUnitVariation = this.setupClass(InventoryUnitVariation);
246
235
  this.PhoneNumber = this.setupClass(PhoneNumber);
247
236
  this.QuoteItem = this.setupClass(QuoteItem);
248
- this.Menu = this.setupClass(Menu);
249
237
  this.Assignment = this.setupClass(Assignment);
250
238
  this.Draft = this.setupClass(Draft);
251
239
  this.DraftPreview = this.setupClass(DraftPreview);
@@ -257,7 +245,6 @@ var Merchi = /** @class */ (function () {
257
245
  this.Quote = this.setupClass(Quote);
258
246
  this.Reminder = this.setupClass(Reminder);
259
247
  this.EmailAddress = this.setupClass(EmailAddress);
260
- this.SeoDomainPage = this.setupClass(SeoDomainPage);
261
248
  this.ProductionComment = this.setupClass(ProductionComment);
262
249
  this.CountryTax = this.setupClass(CountryTax);
263
250
  this.ShortUrl = this.setupClass(ShortUrl);
@@ -287,7 +274,6 @@ var Merchi = /** @class */ (function () {
287
274
  this.DiscountGroup = this.setupClass(DiscountGroup);
288
275
  this.Payment = this.setupClass(Payment);
289
276
  this.PaymentDevice = this.setupClass(PaymentDevice);
290
- this.Page = this.setupClass(Page);
291
277
  this.Cart = this.setupClass(Cart);
292
278
  this.CartShipmentGroup = this.setupClass(CartShipmentGroup);
293
279
  this.CartShipmentQuote = this.setupClass(CartShipmentQuote);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.20.0",
3
+ "version": "1.22.0",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -21,7 +21,6 @@ import * as job_status from './job_status.js';
21
21
  import * as white_label_accessibilities from './white_label_accessibilities.js';
22
22
  import * as robots_meta_directives from './robots_meta_directives.js';
23
23
  import * as inventory_statuses from './inventory_statuses.js';
24
- import * as theme_foundations from './theme_foundations.js';
25
24
  import * as discount_types from './discount_types.js';
26
25
 
27
26
  export {
@@ -32,7 +31,6 @@ export {
32
31
  platform,
33
32
  robots_meta_directives,
34
33
  system_roles,
35
- theme_foundations,
36
34
  user_types,
37
35
  white_label_accessibilities,
38
36
  roles,
@@ -13,14 +13,12 @@ import { MerchiFile } from './file.js';
13
13
  import { InternalTag } from './internal_tag.js';
14
14
  import { Invoice } from './invoice.js';
15
15
  import { Job } from './job.js';
16
- import { Menu } from './menu.js';
17
16
  import { User } from './user.js';
18
17
  import { Notification } from './notification.js';
19
18
  import { Product } from './product.js';
20
19
  import { Reminder } from './reminder.js';
21
20
  import { Session } from './session.js';
22
21
  import { SupplyDomain } from './supply_domain.js';
23
- import { SeoDomainPage } from './seo_domain_page.js';
24
22
  import { DomainChatSettings } from './domain_chat_settings.js';
25
23
  import { Theme } from './theme.js';
26
24
  import { DomainType } from '../constants/domain_types.js';
@@ -610,9 +608,6 @@ export class Domain extends Entity {
610
608
  @Domain.property({arrayType: 'Company'})
611
609
  public accessibleClientCompanies?: Company[];
612
610
 
613
- @Domain.property({arrayType: 'Menu'})
614
- public menus?: Menu[];
615
-
616
611
  @Domain.property({arrayType: 'Session'})
617
612
  public sessions?: Session[];
618
613
 
@@ -649,9 +644,6 @@ export class Domain extends Entity {
649
644
  @Domain.property({arrayType: 'DomainInvitation'})
650
645
  public domainInvitations?: DomainInvitation[];
651
646
 
652
- @Domain.property({arrayType: 'SeoDomainPage'})
653
- public seoDomainPages?: SeoDomainPage[];
654
-
655
647
  @Domain.property({ type: DomainChatSettings })
656
648
  public domainChatSettings?: DomainChatSettings | null;
657
649