diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index f9b008cbdf67..631efee97595 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -66233,7 +66233,7 @@ $.BaseEntity_counter = t1; t2 = clientContactId == null ? "" : clientContactId; t3 = vendorContactId == null ? "" : vendorContactId; - return A._$InvitationEntity$_(0, null, t2, 0, null, "", "", null, "" + t1, false, false, "", "", "", "", 0, t3, ""); + return A._$InvitationEntity$_(0, null, t2, 0, null, "", "", null, "" + t1, false, false, "", "", "", "", "", 0, t3, ""); }, _$InvoiceEntity$_(activities, amount, archivedAt, assignedUserId, autoBill, autoBillEnabled, balance, clientId, createdAt, createdUserId, customSurcharge1, customSurcharge2, customSurcharge3, customSurcharge4, customTaxes1, customTaxes2, customTaxes3, customTaxes4, customValue1, customValue2, customValue3, customValue4, date, designId, discount, documents, dueDate, dueDateDays, entityType, exchangeRate, expenseId, footer, frequencyId, id, idempotencyKey, invitations, invoiceId, isAmountDiscount, isChanged, isDeleted, lastSentDate, lineItems, loadedAt, nextSendDate, nextSendDatetime, number, paidToDate, partial, partialDueDate, poNumber, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, saveDefaultFooter, saveDefaultTerms, statusId, subscriptionId, taxAmount, taxData, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, terms, updatedAt, usesInclusiveTaxes, vendorId) { var _s13_ = "InvoiceEntity"; @@ -66318,7 +66318,7 @@ A.BuiltValueNullFieldError_checkNotNull(taxCategoryId, _s17_, "taxCategoryId"); return new A._$InvoiceItemEntity(productKey, notes, cost, productCost, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, typeId, customValue1, customValue2, customValue3, customValue4, discount, taskId, expenseId, createdAt, taxCategoryId); }, - _$InvitationEntity$_(archivedAt, assignedUserId, clientContactId, createdAt, createdUserId, emailError, emailStatus, entityType, id, isChanged, isDeleted, key, link, openedDate, sentDate, updatedAt, vendorContactId, viewedDate) { + _$InvitationEntity$_(archivedAt, assignedUserId, clientContactId, createdAt, createdUserId, emailError, emailStatus, entityType, id, isChanged, isDeleted, key, link, messageId, openedDate, sentDate, updatedAt, vendorContactId, viewedDate) { var _s16_ = "InvitationEntity"; A.BuiltValueNullFieldError_checkNotNull(key, _s16_, "key"); A.BuiltValueNullFieldError_checkNotNull(link, _s16_, "link"); @@ -66329,11 +66329,12 @@ A.BuiltValueNullFieldError_checkNotNull(openedDate, _s16_, "openedDate"); A.BuiltValueNullFieldError_checkNotNull(emailStatus, _s16_, "emailStatus"); A.BuiltValueNullFieldError_checkNotNull(emailError, _s16_, "emailError"); + A.BuiltValueNullFieldError_checkNotNull(messageId, _s16_, "messageId"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s16_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s16_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s16_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s16_, "id"); - return new A._$InvitationEntity(key, link, clientContactId, vendorContactId, sentDate, viewedDate, openedDate, emailStatus, emailError, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); + return new A._$InvitationEntity(key, link, clientContactId, vendorContactId, sentDate, viewedDate, openedDate, emailStatus, emailError, messageId, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, InvoiceListResponse: function InvoiceListResponse() { }, @@ -66580,7 +66581,7 @@ var _ = this; _._invoice_model$_taxCategoryId = _._invoice_model$_createdAt = _._expenseId = _._taskId = _._discount = _._invoice_model$_customValue4 = _._invoice_model$_customValue3 = _._invoice_model$_customValue2 = _._invoice_model$_customValue1 = _._invoice_model$_typeId = _._taxRate3 = _._taxName3 = _._taxRate2 = _._taxName2 = _._taxRate1 = _._taxName1 = _._invoice_model$_quantity = _._productCost = _._invoice_model$_cost = _._invoice_model$_notes = _._invoice_model$_productKey = _._invoice_model$_$v = null; }, - _$InvitationEntity: function _$InvitationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { + _$InvitationEntity: function _$InvitationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.key = t0; _.link = t1; @@ -66591,20 +66592,21 @@ _.openedDate = t6; _.emailStatus = t7; _.emailError = t8; - _.isChanged = t9; - _.createdAt = t10; - _.updatedAt = t11; - _.archivedAt = t12; - _.isDeleted = t13; - _.createdUserId = t14; - _.assignedUserId = t15; - _.entityType = t16; - _.id = t17; + _.messageId = t9; + _.isChanged = t10; + _.createdAt = t11; + _.updatedAt = t12; + _.archivedAt = t13; + _.isDeleted = t14; + _.createdUserId = t15; + _.assignedUserId = t16; + _.entityType = t17; + _.id = t18; _._invoice_model$__hashCode = null; }, InvitationEntityBuilder: function InvitationEntityBuilder() { var _ = this; - _._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._emailError = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._vendorContactId = _._invoice_model$_clientContactId = _._invoice_model$_link = _._invoice_model$_key = _._invoice_model$_$v = null; + _._invoice_model$_id = _._invoice_model$_entityType = _._invoice_model$_assignedUserId = _._invoice_model$_createdUserId = _._invoice_model$_isDeleted = _._invoice_model$_archivedAt = _._invoice_model$_updatedAt = _._invoice_model$_createdAt = _._invoice_model$_isChanged = _._messageId = _._emailError = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._vendorContactId = _._invoice_model$_clientContactId = _._invoice_model$_link = _._invoice_model$_key = _._invoice_model$_$v = null; }, _$InvoiceScheduleEntity: function _$InvoiceScheduleEntity(t0, t1) { this.sendDate = t0; @@ -372682,7 +372684,7 @@ }; A._$InvitationEntitySerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - var result = ["key", serializers.serialize$2$specifiedType(object.key, B.FullType_h8g), "link", serializers.serialize$2$specifiedType(object.link, B.FullType_h8g), "client_contact_id", serializers.serialize$2$specifiedType(object.clientContactId, B.FullType_h8g), "vendor_contact_id", serializers.serialize$2$specifiedType(object.vendorContactId, B.FullType_h8g), "sent_date", serializers.serialize$2$specifiedType(object.sentDate, B.FullType_h8g), "viewed_date", serializers.serialize$2$specifiedType(object.viewedDate, B.FullType_h8g), "opened_date", serializers.serialize$2$specifiedType(object.openedDate, B.FullType_h8g), "email_status", serializers.serialize$2$specifiedType(object.emailStatus, B.FullType_h8g), "email_error", serializers.serialize$2$specifiedType(object.emailError, B.FullType_h8g), "created_at", serializers.serialize$2$specifiedType(object.createdAt, B.FullType_kjq), "updated_at", serializers.serialize$2$specifiedType(object.updatedAt, B.FullType_kjq), "archived_at", serializers.serialize$2$specifiedType(object.archivedAt, B.FullType_kjq), "id", serializers.serialize$2$specifiedType(object.id, B.FullType_h8g)], + var result = ["key", serializers.serialize$2$specifiedType(object.key, B.FullType_h8g), "link", serializers.serialize$2$specifiedType(object.link, B.FullType_h8g), "client_contact_id", serializers.serialize$2$specifiedType(object.clientContactId, B.FullType_h8g), "vendor_contact_id", serializers.serialize$2$specifiedType(object.vendorContactId, B.FullType_h8g), "sent_date", serializers.serialize$2$specifiedType(object.sentDate, B.FullType_h8g), "viewed_date", serializers.serialize$2$specifiedType(object.viewedDate, B.FullType_h8g), "opened_date", serializers.serialize$2$specifiedType(object.openedDate, B.FullType_h8g), "email_status", serializers.serialize$2$specifiedType(object.emailStatus, B.FullType_h8g), "email_error", serializers.serialize$2$specifiedType(object.emailError, B.FullType_h8g), "message_id", serializers.serialize$2$specifiedType(object.messageId, B.FullType_h8g), "created_at", serializers.serialize$2$specifiedType(object.createdAt, B.FullType_kjq), "updated_at", serializers.serialize$2$specifiedType(object.updatedAt, B.FullType_kjq), "archived_at", serializers.serialize$2$specifiedType(object.archivedAt, B.FullType_kjq), "id", serializers.serialize$2$specifiedType(object.id, B.FullType_h8g)], value = object.isChanged; if (value != null) { result.push("isChanged"); @@ -372714,13 +372716,14 @@ return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var iterator, t1, t2, value, _$result, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, + var iterator, t1, t2, value, _$result, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _s16_ = "InvitationEntity", result = new A.InvitationEntityBuilder(); result.get$_invoice_model$_$this()._invoice_model$_clientContactId = ""; result.get$_invoice_model$_$this()._vendorContactId = ""; result.get$_invoice_model$_$this()._emailError = ""; result.get$_invoice_model$_$this()._emailStatus = ""; + result.get$_invoice_model$_$this()._messageId = ""; iterator = J.get$iterator$ax(serialized); for (t1 = type$.nullable_EntityType; iterator.moveNext$0();) { t2 = iterator.get$current(iterator); @@ -372783,6 +372786,12 @@ A._asString(t2); result.get$_invoice_model$_$this()._emailError = t2; break; + case "message_id": + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2.toString; + A._asString(t2); + result.get$_invoice_model$_$this()._messageId = t2; + break; case "isChanged": t2 = A._asBoolQ(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); result.get$_invoice_model$_$this()._invoice_model$_isChanged = t2; @@ -372840,13 +372849,14 @@ t7 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._openedDate, _s16_, "openedDate"); t8 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._emailStatus, _s16_, "emailStatus"); t9 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._emailError, _s16_, "emailError"); - t10 = result.get$_invoice_model$_$this()._invoice_model$_isChanged; - t11 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_createdAt, _s16_, "createdAt"); - t12 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_updatedAt, _s16_, "updatedAt"); - t13 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_archivedAt, _s16_, "archivedAt"); - t14 = result.get$_invoice_model$_$this()._invoice_model$_isDeleted; - t15 = result.get$_invoice_model$_$this()._invoice_model$_createdUserId; - _$result = A._$InvitationEntity$_(t13, result.get$_invoice_model$_$this()._invoice_model$_assignedUserId, t3, t11, t15, t9, t8, result.get$_invoice_model$_$this()._invoice_model$_entityType, A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_id, _s16_, "id"), t10, t14, t1, t2, t7, t5, t12, t4, t6); + t10 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._messageId, _s16_, "messageId"); + t11 = result.get$_invoice_model$_$this()._invoice_model$_isChanged; + t12 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_createdAt, _s16_, "createdAt"); + t13 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_updatedAt, _s16_, "updatedAt"); + t14 = A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_archivedAt, _s16_, "archivedAt"); + t15 = result.get$_invoice_model$_$this()._invoice_model$_isDeleted; + t16 = result.get$_invoice_model$_$this()._invoice_model$_createdUserId; + _$result = A._$InvitationEntity$_(t14, result.get$_invoice_model$_$this()._invoice_model$_assignedUserId, t3, t12, t16, t9, t8, result.get$_invoice_model$_$this()._invoice_model$_entityType, A.BuiltValueNullFieldError_checkNotNull(result.get$_invoice_model$_$this()._invoice_model$_id, _s16_, "id"), t11, t15, t1, t2, t10, t7, t5, t13, t4, t6); } A.ArgumentError_checkNotNull(_$result, "other"); return result._invoice_model$_$v = _$result; @@ -373707,6 +373717,7 @@ t2.add$2(t1, "openedDate", _this.openedDate); t2.add$2(t1, "emailStatus", _this.emailStatus); t2.add$2(t1, "emailError", _this.emailError); + t2.add$2(t1, "messageId", _this.messageId); t2.add$2(t1, "isChanged", _this.isChanged); t2.add$2(t1, "createdAt", _this.createdAt); t2.add$2(t1, "updatedAt", _this.updatedAt); @@ -373760,6 +373771,7 @@ _this._openedDate = $$v.openedDate; _this._emailStatus = $$v.emailStatus; _this._emailError = $$v.emailError; + _this._messageId = $$v.messageId; _this._invoice_model$_isChanged = $$v.isChanged; _this._invoice_model$_createdAt = $$v.createdAt; _this._invoice_model$_updatedAt = $$v.updatedAt; @@ -509708,6 +509720,10 @@ t7.push(new A.Padding(B.EdgeInsets_0_2_0_0, A.Text$(t2.lookup$1(t3.get$latestEmailStatus()) + " \u2022 " + A.formatDate(t3.get$latestEmailStatusDate(), context, true, true, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.bodySmall, _null, _null, _null), _null)); t2 = t4 ? _null : t3.emailError; if ((t2 == null ? "" : t2).length !== 0) + t2 = (t4 ? _null : t3.emailStatus) !== "delivered"; + else + t2 = false; + if (t2) t7.push(new A.Padding(B.EdgeInsets_0_8_0_0, A.Text$(t3.emailError, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.bodySmall, _null, _null, _null), _null)); t7.push(new A.SizedBox(_null, 8, _null, _null)); B.JSArray_methods.addAll$1(t1, t7);