@juhuu/sdk-ts 1.2.183 → 1.2.184

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -209,11 +209,16 @@ interface Person {
209
209
  phone: string;
210
210
  }
211
211
  interface Party extends Person {
212
- vat: string;
212
+ taxCodeArray: TaxCode[];
213
213
  address: Address;
214
214
  iban?: string;
215
215
  bic?: string;
216
216
  }
217
+ type TaxCode = {
218
+ code: string;
219
+ type: "VAT" | "GST" | "CNPJ" | "ABN" | "TIN";
220
+ countryCode: CountryCode;
221
+ };
217
222
  type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
218
223
  type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut" | "cancelled";
219
224
  type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "inTransitToProperty" | "payedOut" | "failed";
@@ -1214,7 +1219,7 @@ declare namespace JUHUU {
1214
1219
  billingAddress: DeepNullable<Address>;
1215
1220
  billingEmail: string | null;
1216
1221
  billingEmailVerified: boolean;
1217
- vat: string | null;
1222
+ taxCodeArray: TaxCode[];
1218
1223
  notifications: {
1219
1224
  email: {
1220
1225
  enabled: boolean;
@@ -1298,7 +1303,7 @@ declare namespace JUHUU {
1298
1303
  languageCode?: LanguageCode;
1299
1304
  appVersion?: string;
1300
1305
  billingAddress?: DeepNullable<Address>;
1301
- vat?: string | null;
1306
+ taxCodeArray?: TaxCode[];
1302
1307
  acceptedTermIdArray?: string[];
1303
1308
  group?: UserGroup;
1304
1309
  };
@@ -2189,7 +2194,7 @@ declare namespace JUHUU {
2189
2194
  legalName: string | null;
2190
2195
  emailSignature: string | null;
2191
2196
  billingAddress: Address | null;
2192
- vat: string;
2197
+ taxCodeArray: TaxCode[];
2193
2198
  invoiceImage: string;
2194
2199
  invoiceNumberPrefix: string;
2195
2200
  stripeConnectedAccountId: string | null;
@@ -2327,7 +2332,7 @@ declare namespace JUHUU {
2327
2332
  timeZone?: TimeZone;
2328
2333
  languageCode?: LanguageCode;
2329
2334
  emailSignature?: string;
2330
- vat?: string;
2335
+ taxCodeArray?: TaxCode[];
2331
2336
  };
2332
2337
  type Options = JUHUU.RequestOptions;
2333
2338
  type Response = {
@@ -2470,7 +2475,7 @@ declare namespace JUHUU {
2470
2475
  estimatedReadyForPayoutAt: Date | null;
2471
2476
  propertyId: string;
2472
2477
  payoutId: string | null;
2473
- vat: string | null;
2478
+ taxCodeArray: TaxCode[];
2474
2479
  accountingAreaId: string;
2475
2480
  currencyCode: CurrencyCode;
2476
2481
  serviceFee: number | null;
@@ -2586,7 +2591,7 @@ declare namespace JUHUU {
2586
2591
  transactionFee: number;
2587
2592
  serviceFee: number;
2588
2593
  billingAddress: DeepNullable<Address>;
2589
- vat: string | null;
2594
+ taxCodeArray: TaxCode[];
2590
2595
  accountingAreaId: string;
2591
2596
  estimatedArrivalAt: Date;
2592
2597
  postingRowArray: PostingRow[];
@@ -3758,4 +3763,4 @@ declare namespace JUHUU {
3758
3763
  }
3759
3764
  }
3760
3765
 
3761
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
3766
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.d.ts CHANGED
@@ -209,11 +209,16 @@ interface Person {
209
209
  phone: string;
210
210
  }
211
211
  interface Party extends Person {
212
- vat: string;
212
+ taxCodeArray: TaxCode[];
213
213
  address: Address;
214
214
  iban?: string;
215
215
  bic?: string;
216
216
  }
217
+ type TaxCode = {
218
+ code: string;
219
+ type: "VAT" | "GST" | "CNPJ" | "ABN" | "TIN";
220
+ countryCode: CountryCode;
221
+ };
217
222
  type VeloBrushDeviceDocumentUserManualStep = "prepareBike1" | "prepareBike2" | "chooseCycleType" | "openDoors1" | "extendBikeDrawer1" | "unfoldRamp1" | "placeBike1" | "fixBike1" | "fixBike2" | "retractBikeDrawer1" | "closeDoors1" | "selectWashProgram" | "waitForWashProgram" | "openDoors2" | "extendBikeDrawer2" | "dryBike1" | "dryBike2" | "releaseBike" | "unloadBike" | "retractBikeDrawer2" | "closeDoors2" | "lockDoors" | "error" | "emergencyStop" | "waitingForSession";
218
223
  type PaymentStatus = "waitingForConfirmation" | "waitingForAmountFinalization" | "waitingForCapture" | "waitingForTransitConfirmation" | "inTransitToProvider" | "captured" | "inTransitToProperty" | "payedOut" | "cancelled";
219
224
  type PaymentRefundStatus = "waitingForArrivalAtUser" | "waitingForPayout" | "inTransitToProperty" | "payedOut" | "failed";
@@ -1214,7 +1219,7 @@ declare namespace JUHUU {
1214
1219
  billingAddress: DeepNullable<Address>;
1215
1220
  billingEmail: string | null;
1216
1221
  billingEmailVerified: boolean;
1217
- vat: string | null;
1222
+ taxCodeArray: TaxCode[];
1218
1223
  notifications: {
1219
1224
  email: {
1220
1225
  enabled: boolean;
@@ -1298,7 +1303,7 @@ declare namespace JUHUU {
1298
1303
  languageCode?: LanguageCode;
1299
1304
  appVersion?: string;
1300
1305
  billingAddress?: DeepNullable<Address>;
1301
- vat?: string | null;
1306
+ taxCodeArray?: TaxCode[];
1302
1307
  acceptedTermIdArray?: string[];
1303
1308
  group?: UserGroup;
1304
1309
  };
@@ -2189,7 +2194,7 @@ declare namespace JUHUU {
2189
2194
  legalName: string | null;
2190
2195
  emailSignature: string | null;
2191
2196
  billingAddress: Address | null;
2192
- vat: string;
2197
+ taxCodeArray: TaxCode[];
2193
2198
  invoiceImage: string;
2194
2199
  invoiceNumberPrefix: string;
2195
2200
  stripeConnectedAccountId: string | null;
@@ -2327,7 +2332,7 @@ declare namespace JUHUU {
2327
2332
  timeZone?: TimeZone;
2328
2333
  languageCode?: LanguageCode;
2329
2334
  emailSignature?: string;
2330
- vat?: string;
2335
+ taxCodeArray?: TaxCode[];
2331
2336
  };
2332
2337
  type Options = JUHUU.RequestOptions;
2333
2338
  type Response = {
@@ -2470,7 +2475,7 @@ declare namespace JUHUU {
2470
2475
  estimatedReadyForPayoutAt: Date | null;
2471
2476
  propertyId: string;
2472
2477
  payoutId: string | null;
2473
- vat: string | null;
2478
+ taxCodeArray: TaxCode[];
2474
2479
  accountingAreaId: string;
2475
2480
  currencyCode: CurrencyCode;
2476
2481
  serviceFee: number | null;
@@ -2586,7 +2591,7 @@ declare namespace JUHUU {
2586
2591
  transactionFee: number;
2587
2592
  serviceFee: number;
2588
2593
  billingAddress: DeepNullable<Address>;
2589
- vat: string | null;
2594
+ taxCodeArray: TaxCode[];
2590
2595
  accountingAreaId: string;
2591
2596
  estimatedArrivalAt: Date;
2592
2597
  postingRowArray: PostingRow[];
@@ -3758,4 +3763,4 @@ declare namespace JUHUU {
3758
3763
  }
3759
3764
  }
3760
3765
 
3761
- export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
3766
+ export { type AccessControlListElement, type Address, type ApiKeyScope, type ApiKeyStatus, type AutoRenewMode, type BusinessType, type Capability, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type Frontend, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type License, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Party, type PaymentMethod, type PaymentReason, type PaymentRefundReason, type PaymentRefundStatus, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformString, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TaxCode, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
package/dist/index.js CHANGED
@@ -781,7 +781,7 @@ var UsersService = class extends Service {
781
781
  languageCode: UserUpdateParams?.languageCode,
782
782
  appVersion: UserUpdateParams?.appVersion,
783
783
  billingAddress: UserUpdateParams?.billingAddress,
784
- vat: UserUpdateParams?.vat,
784
+ taxCodeArray: UserUpdateParams?.taxCodeArray,
785
785
  acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
786
786
  group: UserUpdateParams?.group
787
787
  },
package/dist/index.mjs CHANGED
@@ -737,7 +737,7 @@ var UsersService = class extends Service {
737
737
  languageCode: UserUpdateParams?.languageCode,
738
738
  appVersion: UserUpdateParams?.appVersion,
739
739
  billingAddress: UserUpdateParams?.billingAddress,
740
- vat: UserUpdateParams?.vat,
740
+ taxCodeArray: UserUpdateParams?.taxCodeArray,
741
741
  acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
742
742
  group: UserUpdateParams?.group
743
743
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.183",
3
+ "version": "1.2.184",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",